/* ============================================================
   DELL CONSTRUCTIONS — STYLESHEET (v2, luxury theme)
   ============================================================ */

:root {
  --ink: #17181b;            /* near-black charcoal, primary text/dark bg */
  --panel: #1f2024;          /* slightly lighter dark, panel sections */
  --cream: #f8f5ee;          /* warm ivory, main background */
  --cream-dim: #efe9db;      /* deeper ivory, alt section bg */
  --gold: #b3893f;           /* primary gold accent */
  --gold-light: #d8b978;     /* lighter gold, hovers/highlights */
  --gold-pale: #eadfc4;      /* faint gold tint for borders/washes */
  --muted: #6f6a5e;          /* secondary text on cream */
  --muted-light: rgba(248,245,238,0.7); /* secondary text on dark */
  --line: rgba(23,24,27,0.12);
  --line-dark: rgba(248,245,238,0.14);

  --font-display: "Fraunces", serif;
  --font-body: "Jost", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  margin: 0;
}

h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 500; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); font-weight: 500; }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: 600; }

em { font-style: italic; color: var(--gold); }

p { margin: 0 0 1rem; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--gold);
  display: inline-block;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal-delay-1.in-view { transition-delay: 0.12s; }
.reveal-delay-2.in-view { transition-delay: 0.24s; }
.reveal-delay-3.in-view { transition-delay: 0.36s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- buttons ---------- */
.btn-primary, .btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 16px 30px;
  border-radius: 1px;
  transition: all 0.3s ease;
  position: relative;
}

.btn-primary {
  background: var(--gold);
  color: var(--ink);
  border: 1px solid var(--gold);
}
.btn-primary:hover { background: var(--gold-light); border-color: var(--gold-light); transform: translateY(-2px); }

.btn-ghost {
  background: transparent;
  color: inherit;
  border: 1px solid currentColor;
}
.btn-ghost:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); transform: translateY(-2px); }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(248,245,238,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
}
.brand img { height: 46px; width: auto; }
.brand .brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand .brand-text strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.brand .brand-text span {
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.main-nav a {
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, color 0.25s ease;
}
.main-nav a:hover,
.main-nav a.active { border-bottom-color: var(--gold); color: var(--gold); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span { width: 26px; height: 1px; background: var(--ink); }

@media (max-width: 820px) {
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    border-bottom: 1px solid var(--line);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .main-nav.open { max-height: 340px; }
  .main-nav a { width: 100%; padding: 16px 24px; border-bottom: 1px solid var(--line); }
  .nav-toggle { display: flex; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  overflow: hidden;
  padding: 100px 0 80px;
  background:
    radial-gradient(ellipse at 15% 15%, rgba(179,137,63,0.10), transparent 55%),
    radial-gradient(ellipse at 85% 85%, rgba(179,137,63,0.08), transparent 55%),
    var(--cream);
}

.hero .container {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 50px;
  align-items: center;
}

.hero-sub {
  max-width: 48ch;
  font-size: 1.12rem;
  color: var(--muted);
}

.hero-cta {
  display: flex;
  gap: 18px;
  margin: 30px 0 46px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  padding-top: 28px;
}
.hero-stats .stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--ink);
}
.hero-stats .stat small {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-art { position: relative; }
.hero-art svg { width: 100%; height: auto; }
.hero-art path, .hero-art line {
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1500;
  stroke-dashoffset: 1500;
  transition: stroke-dashoffset 2.4s ease;
}
.hero-art .gold-line { stroke: var(--gold); stroke-width: 2.2; }
.hero-art.drawn path, .hero-art.drawn line { stroke-dashoffset: 0; }

.hero-art .shine {
  stroke: url(#goldShine);
}

/* ============================================================
   FEATURE (single "what we build" section, image + text)
   ============================================================ */
.feature { padding: 110px 0; background: var(--cream); }
.feature .container {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 60px;
  align-items: center;
}
.feature-media {
  aspect-ratio: 4/5;
  background: var(--panel);
  overflow: hidden;
  position: relative;
}
.feature-media img { width: 100%; height: 100%; object-fit: cover; }
.feature-media .frame-note {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  text-align: center; color: var(--muted-light);
  font-size: 0.8rem; letter-spacing: 0.05em; padding: 30px;
}
.feature-media::after {
  content: "";
  position: absolute; inset: 14px;
  border: 1px solid rgba(216,185,120,0.5);
  pointer-events: none;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 26px 0 34px;
  display: grid;
  gap: 16px;
}
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 0.98rem;
}
.feature-list .mark {
  color: var(--gold);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1.4;
}

@media (max-width: 900px) {
  .feature .container { grid-template-columns: 1fr; }
  .feature-media { order: -1; }
}

/* ============================================================
   BEST PRACTICES
   ============================================================ */
.practices {
  padding: 100px 0;
  background: var(--ink);
  color: var(--cream);
  position: relative;
}
.practices .eyebrow { color: var(--gold-light); }
.practices .eyebrow::before { background: var(--gold-light); }
.practices h2 { color: var(--cream); }
.practices-sub { color: var(--muted-light); max-width: 56ch; margin-top: 16px; }

.practices-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line-dark);
  margin-top: 50px;
  border: 1px solid var(--line-dark);
}
.practice-card {
  background: var(--ink);
  padding: 38px 28px;
  transition: background 0.35s ease;
}
.practice-card:hover { background: #22242a; }
.practice-card .icon {
  width: 40px; height: 40px;
  color: var(--gold-light);
  margin-bottom: 20px;
}
.practice-card .icon svg { width: 100%; height: 100%; }
.practice-card h3 { color: var(--cream); font-size: 1.1rem; margin-bottom: 10px; }
.practice-card p { color: var(--muted-light); font-size: 0.92rem; margin: 0; }

@media (max-width: 900px) { .practices-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .practices-grid { grid-template-columns: 1fr; } }

/* ============================================================
   GALLERY
   ============================================================ */
.gallery { padding: 110px 0; }
.gallery-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 46px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.gallery-item {
  aspect-ratio: 4/3;
  overflow: hidden;
  position: relative;
  background: var(--cream-dim);
  border: 1px solid var(--line);
}
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s ease;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item .caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: linear-gradient(transparent, rgba(23,24,27,0.82));
  color: var(--cream);
  font-size: 0.8rem; letter-spacing: 0.03em;
  padding: 30px 16px 12px;
}
.gallery-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  text-align: center; font-size: 0.78rem; color: var(--muted);
  padding: 16px; letter-spacing: 0.02em;
}

@media (max-width: 900px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .gallery-grid { grid-template-columns: 1fr; } }

/* ============================================================
   REVIEWS
   ============================================================ */
.reviews { padding: 100px 0; background: var(--cream-dim); }

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 40px;
}
.review-card {
  background: var(--cream);
  border: 1px solid var(--line);
  padding: 32px 28px;
  position: relative;
}
.review-card .quote-mark {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 2.6rem;
  color: var(--gold-pale);
  line-height: 1;
  display: block;
  margin-bottom: 6px;
}
.review-card .stars { color: var(--gold); letter-spacing: 2px; margin-bottom: 14px; font-size: 0.9rem; }
.review-card p.text { font-size: 0.95rem; color: var(--ink); }
.review-card .reviewer {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-top: 16px;
}

@media (max-width: 900px) { .reviews-grid { grid-template-columns: 1fr; } }

/* ============================================================
   LOCATION
   ============================================================ */
.location { padding: 100px 0; }
.location .container {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 50px;
  align-items: center;
}
.location-detail { margin-bottom: 20px; }
.location-detail .label {
  font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 6px;
}
.map-embed {
  border: 1px solid var(--line);
  filter: grayscale(20%) contrast(1.02);
}
.map-embed iframe { width: 100%; height: 380px; border: 0; display: block; }

@media (max-width: 900px) { .location .container { grid-template-columns: 1fr; } }

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band {
  background: var(--ink);
  color: var(--cream);
  padding: 90px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(179,137,63,0.18), transparent 60%);
}
.cta-band .container { position: relative; }
.cta-band .eyebrow { color: var(--gold-light); }
.cta-band .eyebrow::before { background: var(--gold-light); }
.cta-band h2 { color: var(--cream); margin-bottom: 30px; }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.page-header {
  padding: 80px 0 50px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(ellipse at 90% 10%, rgba(179,137,63,0.10), transparent 55%),
    var(--cream);
}

.about-story { padding: 90px 0; }
.about-story .container { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
@media (max-width: 850px) { .about-story .container { grid-template-columns: 1fr; } }
.about-story .lede { font-size: 1.1rem; color: var(--muted); }

.values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 8px;
}
.value-card {
  border-left: 2px solid var(--gold);
  padding: 4px 0 4px 22px;
}

.process { padding: 100px 0; background: var(--ink); color: var(--cream); }
.process .eyebrow { color: var(--gold-light); }
.process .eyebrow::before { background: var(--gold-light); }
.process h2 { color: var(--cream); }
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 50px;
}
@media (max-width: 900px) { .process-steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .process-steps { grid-template-columns: 1fr; } }
.process-step .num {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--gold-light);
  font-size: 1.6rem;
  margin-bottom: 12px;
}
.process-step h3 { color: var(--cream); }
.process-step p { color: var(--muted-light); font-size: 0.92rem; }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-section { padding: 90px 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
@media (max-width: 850px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-details .detail {
  margin-bottom: 26px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
}
.contact-details .detail:last-child { border-bottom: none; }
.contact-details .detail .label {
  font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--gold); margin-bottom: 6px;
}

form.contact-form { display: flex; flex-direction: column; gap: 18px; }
.contact-form label {
  font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.08em;
  margin-bottom: 6px; display: block; color: var(--muted);
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--ink);
  background: var(--cream);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink);
  border-radius: 0;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--gold);
  outline-offset: 1px;
}
.contact-form textarea { min-height: 130px; resize: vertical; }
.contact-form button { align-self: flex-start; cursor: pointer; }
.form-note { font-size: 0.78rem; color: var(--muted); margin-top: 4px; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--ink); color: var(--cream); padding: 70px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 44px; }
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr; } }

.site-footer .brand { color: var(--cream); }
.site-footer .brand .brand-text span { color: var(--gold-light); }
.footer-grid h4 {
  font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--gold-light); margin-bottom: 16px;
}
.footer-grid a {
  display: block; text-decoration: none; color: var(--cream);
  opacity: 0.85; margin-bottom: 10px; font-size: 0.92rem;
}
.footer-grid a:hover { opacity: 1; color: var(--gold-light); }

.footer-bottom {
  border-top: 1px solid var(--line-dark);
  padding-top: 22px;
  font-size: 0.74rem;
  opacity: 0.6;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
}
