/* ============================================================
   LuxDNC — Luxury Design & Construction
   Warm Texas estate aesthetic. Mobile-first.
============================================================ */

:root {
  /* Palette — travertine / sand / terracotta / espresso / sage / brass */
  --bone: #F5EFE6;
  --travertine: #EBE2D3;
  --sand: #D9C9AE;
  --terracotta: #B2553A;
  --terracotta-deep: #8E3F2A;
  --espresso: #2A221C;
  --espresso-soft: #3D332B;
  --char: #1A1410;
  --sage: #6B7A5A;
  --brass: #A87E4B;
  --brass-soft: #C79E6B;
  --line: rgba(42, 34, 28, 0.14);
  --line-strong: rgba(42, 34, 28, 0.28);
  --muted: #7A6E62;

  /* Type */
  --serif: 'Cormorant Garamond', 'Canela', 'Playfair Display', Georgia, serif;
  --display: 'Fraunces', 'Canela', 'Playfair Display', Georgia, serif;
  --sans: 'Inter Tight', 'Neue Haas Grotesk', 'Helvetica Neue', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;

  /* Scale */
  --r-xs: 2px;
  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 14px;

  /* Content width */
  --maxw: 1320px;
  --gutter: 24px;
}

/* We'll use Fraunces + Inter Tight from Google Fonts — feels editorial + warm,
   not generic. Fraunces has optical sizing which reads luxury. */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--espresso);
  background: var(--bone);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "cv11";
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

::selection { background: var(--terracotta); color: var(--bone); }

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ============================================================
   NAV
============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 239, 230, 0.92);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 12px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-weight: 500;
  font-size: 18px;
  letter-spacing: -0.01em;
  color: var(--espresso);
  min-width: 0;
}
.brand-mark {
  width: 30px;
  height: 30px;
  border: 1.5px solid var(--espresso);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}
.brand-full { display: flex; flex-direction: column; line-height: 1; min-width: 0; }
.brand-full .sub {
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 4px;
  display: none;
}
@media (min-width: 420px) { .brand-full .sub { display: block; } }
@media (min-width: 980px) { .nav-inner { height: 88px; gap: 24px; } .brand { font-size: 20px; } .brand-mark { width: 32px; height: 32px; } }

.nav-links {
  display: none;
  gap: 28px;
  align-items: center;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--espresso-soft);
  letter-spacing: 0.01em;
  transition: color .2s;
  position: relative;
}
.nav-links a:hover { color: var(--terracotta); }
.nav-links a.active { color: var(--terracotta); }
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--terracotta);
}

.nav-cta {
  display: none;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--espresso);
  padding: 10px 16px;
  border: 1px solid var(--espresso);
  border-radius: 999px;
  transition: all .2s;
}
.nav-cta:hover { background: var(--espresso); color: var(--bone); }
.nav-cta svg { width: 14px; height: 14px; }

.nav-phone-mobile {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--bone);
  padding: 8px 12px;
  background: var(--espresso);
  border-radius: 999px;
  white-space: nowrap;
  flex-shrink: 0;
}
.nav-phone-mobile svg { width: 12px; height: 12px; }

.burger {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: transparent;
  flex-shrink: 0;
}
.burger span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--espresso);
  position: relative;
}
.burger span::before, .burger span::after {
  content: '';
  position: absolute;
  left: 0;
  width: 16px;
  height: 1.5px;
  background: var(--espresso);
}
.burger span::before { top: -5px; }
.burger span::after { top: 5px; }

@media (min-width: 980px) {
  .nav-inner { height: 88px; }
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; white-space: nowrap; }
  .burger, .nav-phone-mobile { display: none; }
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--bone);
  z-index: 200;
  transform: translateY(-100%);
  transition: transform .4s cubic-bezier(.4,0,.2,1);
  display: flex;
  flex-direction: column;
  padding: 24px var(--gutter);
}
.mobile-menu.open { transform: translateY(0); }
.mobile-menu-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 48px;
}
.mobile-menu-close {
  width: 40px;
  height: 40px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: transparent;
  font-size: 22px;
  line-height: 1;
  color: var(--espresso);
}
.mobile-menu-links {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.mobile-menu-links a {
  font-family: var(--display);
  font-size: 42px;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--espresso);
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.mobile-menu-links a::after {
  content: '→';
  font-size: 22px;
  color: var(--muted);
}
.mobile-menu-foot {
  margin-top: auto;
  padding: 24px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.mobile-menu-foot .phone-big {
  font-family: var(--display);
  font-size: 32px;
  font-weight: 400;
  letter-spacing: -0.01em;
}
.mobile-menu-foot .hours { font-size: 13px; color: var(--muted); }

/* ============================================================
   HERO (editorial — no video)
============================================================ */
.hero {
  padding: 24px var(--gutter) 56px;
  position: relative;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 20px;
}
.hero-eyebrow::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--terracotta);
}
.hero-headline {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(44px, 13vw, 96px);
  line-height: 0.96;
  letter-spacing: -0.025em;
  color: var(--espresso);
  margin: 0;
  font-variation-settings: "SOFT" 30, "WONK" 0, "opsz" 144;
  overflow-wrap: break-word;
}
.hero-headline em {
  font-style: italic;
  font-weight: 300;
  color: var(--terracotta-deep);
  font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144;
}
.hero-sub {
  margin-top: 20px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--espresso-soft);
  max-width: 44ch;
}
.hero-ctas {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.hero-media {
  margin-top: 48px;
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--sand);
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-media-caption {
  position: absolute;
  left: 16px;
  bottom: 16px;
  right: 16px;
  color: var(--bone);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
}

@media (min-width: 900px) {
  .hero {
    padding: 64px var(--gutter) 96px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: end;
  }
  .hero-text { padding-bottom: 32px; }
  .hero-media {
    margin-top: 0;
    aspect-ratio: 3 / 4;
  }
}

/* ============================================================
   BUTTONS
============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: all .2s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--espresso);
  color: var(--bone);
}
.btn-primary:hover { background: var(--terracotta); }
.btn-ghost {
  background: transparent;
  color: var(--espresso);
  border-color: var(--line-strong);
}
.btn-ghost:hover { border-color: var(--espresso); }
.btn-accent {
  background: var(--terracotta);
  color: var(--bone);
}
.btn-accent:hover { background: var(--terracotta-deep); }
.btn svg { width: 14px; height: 14px; }

/* ============================================================
   SECTIONS
============================================================ */
section { padding: 64px 0; }
@media (min-width: 900px) { section { padding: 96px 0; } }

.section-label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 24px;
}
.section-label .num {
  font-family: var(--mono);
  color: var(--terracotta);
}
.section-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--line);
  max-width: 80px;
}
.section-head {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 40px;
}
.section-head h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(32px, 6vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 0;
  max-width: 18ch;
  font-variation-settings: "SOFT" 30, "opsz" 144;
}
.section-head h2 em { font-style: italic; color: var(--terracotta-deep); font-weight: 300; }
.section-head p {
  font-size: 16px;
  color: var(--espresso-soft);
  max-width: 48ch;
  margin: 0;
  line-height: 1.55;
}
@media (min-width: 900px) {
  .section-head {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
    gap: 64px;
    margin-bottom: 56px;
  }
  .section-head p { text-align: left; }
}

/* ============================================================
   SERVICES
============================================================ */
.services {
  background: var(--travertine);
}
.service-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
}
@media (min-width: 700px) { .service-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .service-grid { grid-template-columns: repeat(3, 1fr); } }

.service {
  background: var(--travertine);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 320px;
  transition: background .3s;
  position: relative;
}
.service:hover { background: var(--bone); }
.service-num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--terracotta);
  letter-spacing: 0.1em;
}
.service-icon {
  width: 48px;
  height: 48px;
  color: var(--espresso);
  margin-bottom: 8px;
}
.service h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 28px;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0;
  font-variation-settings: "SOFT" 30, "opsz" 144;
}
.service p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--espresso-soft);
  margin: 0;
}
.service-link {
  margin-top: auto;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--espresso);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.service-link::after {
  content: '→';
  transition: transform .2s;
}
.service:hover .service-link::after { transform: translateX(4px); }

/* ============================================================
   PROJECTS / PORTFOLIO
============================================================ */
.projects-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 700px) {
  .projects-grid {
    grid-template-columns: repeat(12, 1fr);
    gap: 24px 24px;
  }
  .p-tall { grid-column: span 6; grid-row: span 2; }
  .p-wide { grid-column: span 6; }
  .p-sq   { grid-column: span 6; }
  .p-third { grid-column: span 4; }
  .p-twothirds { grid-column: span 8; }
}

.project {
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--sand);
  display: block;
}
.project-img {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  position: relative;
}
.p-wide .project-img, .p-twothirds .project-img { aspect-ratio: 16 / 10; }
.p-sq .project-img { aspect-ratio: 1 / 1; }
.project-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s cubic-bezier(.2,.6,.2,1);
}
.project:hover .project-img img { transform: scale(1.04); }
.project-meta {
  padding: 16px 4px 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}
.project-meta h4 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 22px;
  letter-spacing: -0.01em;
  margin: 0;
  font-variation-settings: "SOFT" 30, "opsz" 144;
}
.project-meta .tag {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
  padding-top: 6px;
}
.project-loc {
  font-size: 13px;
  color: var(--muted);
  margin-top: 4px;
}

/* ============================================================
   STATS / TRUST
============================================================ */
.stats {
  background: var(--espresso);
  color: var(--bone);
}
.stats .section-head h2 { color: var(--bone); }
.stats .section-head p { color: rgba(245, 239, 230, 0.7); }
.stats .section-label { color: rgba(245, 239, 230, 0.6); }
.stats .section-label::after { background: rgba(245, 239, 230, 0.2); }

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(245, 239, 230, 0.12);
  border: 1px solid rgba(245, 239, 230, 0.12);
}
@media (min-width: 900px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }
.stat {
  background: var(--espresso);
  padding: 40px 24px;
}
.stat-num {
  font-family: var(--display);
  font-size: clamp(48px, 8vw, 72px);
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--brass-soft);
  font-variation-settings: "SOFT" 30, "opsz" 144;
}
.stat-num sup {
  font-size: 0.45em;
  font-feature-settings: "sups";
  vertical-align: super;
  margin-left: 2px;
}
.stat-label {
  margin-top: 12px;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245, 239, 230, 0.72);
}

/* ============================================================
   PROCESS
============================================================ */
.process-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--line-strong);
}
.step {
  padding: 32px 0;
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
@media (min-width: 900px) {
  .step {
    grid-template-columns: 100px 280px 1fr 160px;
    gap: 40px;
    padding: 40px 0;
    align-items: baseline;
  }
}
.step-num {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--terracotta);
  letter-spacing: 0.1em;
}
.step h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(24px, 3.5vw, 32px);
  letter-spacing: -0.01em;
  margin: 0;
  font-variation-settings: "SOFT" 30, "opsz" 144;
  grid-column: 2 / -1;
}
@media (min-width: 900px) { .step h3 { grid-column: 2 / 3; } }
.step p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--espresso-soft);
  grid-column: 2 / -1;
  max-width: 56ch;
}
@media (min-width: 900px) { .step p { grid-column: 3 / 4; } }
.step-time {
  grid-column: 2 / -1;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
@media (min-width: 900px) {
  .step-time { grid-column: 4 / 5; text-align: right; }
}

/* ============================================================
   TESTIMONIAL
============================================================ */
.testimonial {
  background: var(--travertine);
}
.quote-big {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(28px, 4.5vw, 48px);
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--espresso);
  max-width: 22ch;
  margin: 0 0 40px;
  font-variation-settings: "SOFT" 60, "opsz" 144;
}
.quote-big::before {
  content: '"';
  font-family: var(--display);
  color: var(--terracotta);
  font-size: 1em;
  font-style: italic;
}
.quote-attrib {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 14px;
}
.quote-attrib .avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--sand);
  overflow: hidden;
}
.quote-attrib .avatar img { width: 100%; height: 100%; object-fit: cover; }
.quote-attrib .name { font-weight: 600; color: var(--espresso); }
.quote-attrib .loc { color: var(--muted); font-size: 13px; }

/* ============================================================
   CTA BAND
============================================================ */
.cta-band {
  background: var(--espresso);
  color: var(--bone);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 10% 20%, rgba(178, 85, 58, 0.15), transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(168, 126, 75, 0.1), transparent 50%);
  pointer-events: none;
}
.cta-band-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.cta-band h2 {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(36px, 7vw, 72px);
  line-height: 1;
  letter-spacing: -0.025em;
  margin: 0;
  max-width: 16ch;
  font-variation-settings: "SOFT" 60, "opsz" 144;
}
.cta-band h2 em { font-style: italic; color: var(--brass-soft); font-weight: 300; }
.cta-band .phone {
  font-family: var(--display);
  font-size: clamp(32px, 6vw, 56px);
  font-weight: 300;
  letter-spacing: -0.01em;
  color: var(--bone);
  display: inline-block;
  border-bottom: 1px solid rgba(245, 239, 230, 0.3);
  padding-bottom: 4px;
  transition: border-color .2s, color .2s;
}
.cta-band .phone:hover { border-color: var(--brass-soft); color: var(--brass-soft); }
.cta-band-sub {
  font-size: 14px;
  color: rgba(245, 239, 230, 0.7);
  letter-spacing: 0.02em;
}
.cta-band-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.cta-band .btn-primary {
  background: var(--terracotta);
  color: var(--bone);
}
.cta-band .btn-primary:hover { background: var(--terracotta-deep); }
.cta-band .btn-ghost {
  color: var(--bone);
  border-color: rgba(245, 239, 230, 0.3);
}
.cta-band .btn-ghost:hover { border-color: var(--bone); }

@media (min-width: 900px) {
  .cta-band { padding: 120px 0; }
  .cta-band-inner {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: end;
  }
}

/* ============================================================
   FOOTER
============================================================ */
.footer {
  background: var(--char);
  color: rgba(245, 239, 230, 0.7);
  padding: 64px 0 32px;
  font-size: 14px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(245, 239, 230, 0.1);
}
@media (min-width: 700px) {
  .footer-top { grid-template-columns: 2fr 1fr 1fr 1fr; }
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 40ch;
}
.footer-brand .brand { color: var(--bone); font-size: 22px; }
.footer-brand .brand-mark { border-color: var(--bone); color: var(--bone); }
.footer-brand p { line-height: 1.6; margin: 0; }

.footer-col h5 {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(245, 239, 230, 0.5);
  margin: 0 0 16px;
}
.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col a { color: rgba(245, 239, 230, 0.8); transition: color .2s; }
.footer-col a:hover { color: var(--brass-soft); }

.footer-bot {
  padding-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 12px;
  letter-spacing: 0.02em;
  color: rgba(245, 239, 230, 0.5);
}
@media (min-width: 700px) {
  .footer-bot { flex-direction: row; justify-content: space-between; }
}
.footer-badges {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-badge {
  padding: 4px 10px;
  border: 1px solid rgba(245, 239, 230, 0.15);
  border-radius: 2px;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ============================================================
   UTIL
============================================================ */
.kicker {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--terracotta);
}

/* reveal */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .8s ease, transform .8s ease;
}
.reveal.in {
  opacity: 1;
  transform: none;
}
