/* ============================================================
   BEST WAY INTERIOR DESIGN — Brand system
   Night blue #10182D · Gold #C8A96A · Editorial white · Warm sand #F7F3EA
   Display: Cormorant Garamond · Body: Montserrat
   ============================================================ */

:root {
  --night:      #10182D;
  --night-2:    #161F3A;
  --night-3:    #1E2848;
  --gold:       #C8A96A;
  --gold-soft:  #DBC79B;
  --gold-deep:  #A98C4F;
  --white:      #FFFFFF;
  --sand:       #F7F3EA;
  --sand-2:     #EDE6D6;
  --ink:        #161B28;
  --ink-soft:   #5C6173;
  --ink-faint:  #8A8F9E;

  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans:  'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;

  --maxw: 1320px;
  --gutter: clamp(1.5rem, 5vw, 5rem);
  --section-y: clamp(5.5rem, 12vh, 9.5rem);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }

body {
  font-family: var(--sans);
  background: var(--sand);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }

/* ---------- Layout helpers ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }
.wrap-wide { max-width: 1620px; margin: 0 auto; padding-inline: var(--gutter); }

section { position: relative; }

.section-pad { padding-block: var(--section-y); }

/* ---------- Typography ---------- */
.eyebrow {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-deep);
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
}
.eyebrow::before {
  content: "";
  width: 2.4rem;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}
.eyebrow.center::after {
  content: "";
  width: 2.4rem;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}
.eyebrow.no-rule::before { display: none; }

h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.04; letter-spacing: -0.01em; }
.split .h2 { margin-bottom: 1.5rem; }

.display {
  font-size: clamp(3rem, 8.5vw, 7rem);
  font-weight: 500;
  line-height: 0.98;
}
.h2 {
  font-size: clamp(2.1rem, 4.4vw, 3.7rem);
  line-height: 1.05;
}
.h3 {
  font-size: clamp(1.5rem, 2.4vw, 2.1rem);
}
.lead {
  font-family: var(--sans);
  font-size: clamp(1rem, 1.25vw, 1.18rem);
  line-height: 1.85;
  color: var(--ink-soft);
  font-weight: 400;
}
.muted { color: var(--ink-soft); }
.gold-text { color: var(--gold-deep); }
em.serif-em { font-style: italic; color: var(--gold-deep); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 1.05rem 2.1rem;
  border: 1px solid var(--gold);
  color: var(--ink);
  background: transparent;
  cursor: pointer;
  transition: all 0.5s var(--ease);
  position: relative;
  overflow: hidden;
}
.btn .arr { transition: transform 0.5s var(--ease); }
.btn:hover .arr { transform: translateX(5px); }
.btn-fill { background: var(--gold); border-color: var(--gold); color: var(--night); }
.btn-fill:hover { background: var(--gold-deep); border-color: var(--gold-deep); }
.btn-gold-line { border-color: var(--gold); color: var(--gold-deep); }
.btn-gold-line:hover { background: var(--gold); color: var(--night); }
.btn-on-dark { color: var(--sand); border-color: rgba(200,169,106,0.55); }
.btn-on-dark:hover { background: var(--gold); border-color: var(--gold); color: var(--night); }

/* text link with underline sweep */
.tlink {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-deep);
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(169,140,79,0.4);
  transition: border-color 0.4s var(--ease), gap 0.4s var(--ease);
}
.tlink:hover { gap: 0.95rem; border-color: var(--gold); }
.tlink.on-dark { color: var(--gold-soft); border-color: rgba(219,199,155,0.4); }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.6rem var(--gutter);
  background: var(--night);
  transition: background 0.5s var(--ease), padding 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.site-header.scrolled {
  background: rgba(16,24,45,0.94);
  backdrop-filter: blur(14px);
  padding-block: 1rem;
  box-shadow: 0 1px 0 rgba(200,169,106,0.18);
}
/* light header variant for light-hero pages */
.site-header.on-light:not(.scrolled) .nav-link,
.site-header.on-light:not(.scrolled) .brand-name,
.site-header.on-light:not(.scrolled) .brand-desc { color: var(--ink); }
.site-header.on-light:not(.scrolled) .brand-desc { color: var(--ink-soft); }

.brand { display: flex; align-items: center; gap: 0.85rem; }
.brand .mono {
  width: 42px; height: 42px;
  flex: none;
  display: grid; place-items: center;
  border: 1px solid var(--gold);
  border-radius: 50%;
}
.brand .mono svg { width: 22px; height: 26px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-family: var(--serif);
  font-size: 1.32rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--white);
}
.brand-desc {
  font-family: var(--sans);
  font-size: 0.52rem;
  font-weight: 600;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-top: 4px;
}

.nav { display: flex; align-items: center; gap: clamp(1.4rem, 2.5vw, 2.6rem); }
.nav-links { display: flex; gap: clamp(1.4rem, 2.4vw, 2.5rem); list-style: none; }
.nav-link {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sand);
  position: relative;
  padding: 4px 0;
  transition: color 0.35s var(--ease);
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.4s var(--ease);
}
.nav-link:hover, .nav-link.active { color: var(--gold-soft); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

.nav-cta {
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.8rem 1.5rem;
  border: 1px solid var(--gold);
  color: var(--gold-soft);
  transition: all 0.4s var(--ease);
}
.nav-cta:hover { background: var(--gold); color: var(--night); }
.site-header.on-light:not(.scrolled) .nav-cta { color: var(--gold-deep); }

.burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.burger span { width: 26px; height: 1.5px; background: var(--sand); transition: 0.4s var(--ease); }
.site-header.on-light:not(.scrolled) .burger span { background: var(--ink); }

/* mobile drawer */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--night);
  z-index: 200;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1.8rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s var(--ease);
}
.mobile-nav.open { opacity: 1; pointer-events: auto; }
.mobile-nav a {
  font-family: var(--serif);
  font-size: 2.4rem;
  color: var(--sand);
  font-weight: 500;
}
.mobile-nav a:hover { color: var(--gold); }
.mobile-close { position: absolute; top: 1.8rem; right: var(--gutter); background: none; border: none; color: var(--gold-soft); font-size: 2rem; cursor: pointer; font-family: var(--sans); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  background: var(--night);
  overflow: hidden;
}
/* left: text panel */
.hero-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(7rem, 14vh, 10rem) clamp(1.5rem, 4vw, 4rem) clamp(3rem, 7vh, 5rem) var(--gutter);
  position: relative;
  z-index: 2;
}
/* right: dedicated project image space */
.hero-figure {
  position: relative;
  overflow: hidden;
  background: var(--night-2);
}
.hero-figure image-slot { width: 100%; height: 100%; }
.hero-figure::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(16,24,45,0.45) 0%, rgba(16,24,45,0) 32%);
  pointer-events: none;
  z-index: 1;
}
.hero-figure .figure-cap {
  position: absolute;
  left: clamp(1.4rem, 2.5vw, 2.4rem);
  bottom: clamp(1.4rem, 2.5vw, 2.4rem);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-family: var(--sans);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--sand);
  background: rgba(16,24,45,0.55);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(200,169,106,0.35);
  padding: 0.7rem 1.1rem;
}
.hero-figure .figure-cap::before {
  content: "";
  width: 1.8rem; height: 1px; background: var(--gold);
}
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media image-slot { width: 100%; height: 100%; }
.hero-media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(16,24,45,0.55) 0%, rgba(16,24,45,0.25) 38%, rgba(16,24,45,0.86) 100%);
  z-index: 1;
}
.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-bottom: clamp(4rem, 9vh, 7rem);
  padding-top: 9rem;
}
.hero .eyebrow { color: var(--gold-soft); }
.hero .display { color: var(--white); margin: 1.6rem 0 1.6rem; max-width: 12ch; font-size: clamp(2.6rem, 5.4vw, 4.8rem); line-height: 1.02; }
.hero .display .serif-em { color: var(--gold-soft); }
.hero-sub { color: rgba(247,243,234,0.78); font-size: clamp(1rem, 1.3vw, 1.2rem); max-width: 42ch; line-height: 1.8; }
.hero-actions { display: flex; gap: 1.1rem; margin-top: 2.6rem; flex-wrap: wrap; }

.scroll-cue {
  position: absolute;
  right: var(--gutter);
  bottom: clamp(4rem, 9vh, 7rem);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  writing-mode: vertical-rl;
  font-family: var(--sans);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-soft);
}
.scroll-cue .line { width: 1px; height: 56px; background: linear-gradient(var(--gold), transparent); animation: cueGrow 2.4s var(--ease) infinite; transform-origin: top; }
@keyframes cueGrow { 0%,100%{ transform: scaleY(0.35); opacity:0.4;} 50%{transform: scaleY(1); opacity:1;} }

/* page hero (internal pages) */
.page-hero {
  background: var(--night);
  color: var(--white);
  padding-top: clamp(10rem, 20vh, 14rem);
  padding-bottom: clamp(5rem, 11vh, 8rem);
  position: relative;
  overflow: hidden;
}
.page-hero-media { position: absolute; inset: 0; z-index: 0; }
.page-hero-media image-slot { width: 100%; height: 100%; }
.page-hero-media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(16,24,45,0.74) 0%, rgba(16,24,45,0.80) 45%, rgba(16,24,45,0.94) 100%);
  z-index: 1;
}
.page-hero > .wrap { position: relative; z-index: 2; }
.page-hero .eyebrow { color: var(--gold-soft); }
.page-hero h1 { color: var(--white); margin: 1.4rem 0 1.2rem; }
.page-hero .lead { color: rgba(247,243,234,0.72); max-width: 52ch; }
.breadcrumb { font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-soft); display: flex; gap: 0.6rem; }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span { opacity: 0.5; }

/* ============================================================
   SECTIONS — generic
   ============================================================ */
.dark { background: var(--night); color: var(--sand); }
.dark .lead { color: rgba(247,243,234,0.72); }
.dark .h2, .dark h2, .dark h3 { color: var(--white); }
.dark .eyebrow { color: var(--gold-soft); }
.light { background: var(--sand); color: var(--ink); }
.cream { background: var(--white); color: var(--ink); }

.section-head { max-width: 60ch; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .h2 { margin: 1.2rem 0 1.3rem; }

/* two-column intro */
.split {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}
.split.media-left { grid-template-columns: 1.1fr 1fr; }
.split-media image-slot, .split-media .ph { width: 100%; aspect-ratio: 4/5; }

/* stats row */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 3rem; }
.stat .num { font-family: var(--serif); font-size: clamp(2.6rem, 5vw, 4rem); color: var(--gold-deep); line-height: 1; }
.dark .stat .num { color: var(--gold); }
.stat .label { font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-soft); margin-top: 0.6rem; }
.dark .stat .label { color: var(--gold-soft); }

/* ---------- Projects ---------- */
.projects-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(1.2rem, 2vw, 2rem); }
.project-card { position: relative; overflow: hidden; cursor: pointer; }
.project-card image-slot, .project-card .ph { width: 100%; height: 100%; transition: transform 1.1s var(--ease); }
.project-card:hover image-slot, .project-card:hover .ph { transform: scale(1.05); }
.project-card .overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(16,24,45,0) 35%, rgba(16,24,45,0.82) 100%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: clamp(1.6rem, 2.5vw, 2.4rem);
  z-index: 2;
}
.project-card .p-cat { font-size: 0.64rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold-soft); }
.project-card .p-title { font-family: var(--serif); font-size: clamp(1.5rem, 2.2vw, 2.1rem); color: var(--white); margin-top: 0.5rem; }
.project-card .p-link {
  font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--sand);
  margin-top: 1rem; display: inline-flex; gap: 0.5rem; align-items: center;
  opacity: 0; transform: translateY(10px); transition: all 0.5s var(--ease);
}
.project-card:hover .p-link { opacity: 1; transform: translateY(0); }
.project-card .p-link .arr { transition: transform 0.4s var(--ease); }
.project-card:hover .p-link .arr { transform: translateX(5px); }

.col-7 { grid-column: span 7; }
.col-5 { grid-column: span 5; }
.col-6 { grid-column: span 6; }
.col-4 { grid-column: span 4; }
.col-12 { grid-column: span 12; }

/* project filter bar */
.filter-bar { display: flex; gap: 0.7rem; flex-wrap: wrap; margin-top: 2rem; }
.filter-btn {
  font-family: var(--sans);
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  padding: 0.7rem 1.3rem; border: 1px solid var(--sand-2); background: transparent; color: var(--ink-soft);
  cursor: pointer; transition: all 0.4s var(--ease);
}
.filter-btn:hover { border-color: var(--gold); color: var(--ink); }
.filter-btn.active { background: var(--night); border-color: var(--night); color: var(--sand); }
.tall { aspect-ratio: 4/5; }
.wide { aspect-ratio: 16/11; }
.square { aspect-ratio: 1/1; }

/* ---------- Process / services list ---------- */
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 3vw, 3rem); }
.process-item { padding-top: 2rem; border-top: 1px solid rgba(200,169,106,0.4); }
.process-item .pnum { font-family: var(--serif); font-size: 1rem; color: var(--gold-deep); letter-spacing: 0.1em; }
.dark .process-item .pnum { color: var(--gold); }
.dark .process-item { border-color: rgba(200,169,106,0.3); }
.process-item h3 { margin: 1rem 0 0.9rem; }
.process-item p { font-size: 0.96rem; line-height: 1.8; color: var(--ink-soft); }
.dark .process-item p { color: rgba(247,243,234,0.7); }

/* service rows (services page) */
.svc-row {
  display: grid;
  grid-template-columns: 0.5fr 1.2fr 1.4fr;
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: start;
  padding: clamp(2.2rem, 4vw, 3.4rem) 0;
  border-top: 1px solid var(--sand-2);
}
.svc-row:last-child { border-bottom: 1px solid var(--sand-2); }
.svc-row .svc-num { font-family: var(--serif); font-size: 2rem; color: var(--gold-deep); }
.svc-row h3 { font-size: clamp(1.6rem, 2.4vw, 2.2rem); }
.svc-row .svc-tags { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.4rem; }
.svc-tag { font-size: 0.64rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-soft); border: 1px solid var(--sand-2); padding: 0.5rem 0.9rem; }
.svc-row p { color: var(--ink-soft); line-height: 1.85; }

/* ---------- Feature alternating ---------- */
.feature { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; min-height: 78vh; }
.feature .feature-media image-slot, .feature .feature-media .ph { width: 100%; height: 100%; min-height: 50vh; }
.feature .feature-body { display: flex; flex-direction: column; justify-content: center; padding: clamp(3rem, 8vw, 7rem); }
.feature.flip .feature-media { order: 2; }

/* ---------- Quote / values ---------- */
.values { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.5rem; }
.value-item { text-align: center; }
.value-item .v-mark { font-family: var(--serif); font-size: 2rem; color: var(--gold-deep); }
.dark .value-item .v-mark { color: var(--gold); }
.value-item h4 { font-family: var(--serif); font-size: 1.4rem; font-weight: 500; margin: 0.6rem 0 0.5rem; }
.value-item p { font-size: 0.84rem; color: var(--ink-soft); line-height: 1.7; }
.dark .value-item p { color: rgba(247,243,234,0.65); }

.bigquote {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3.6vw, 3.2rem);
  line-height: 1.28;
  font-weight: 500;
  letter-spacing: -0.01em;
  max-width: 22ch;
}
.bigquote .serif-em { color: var(--gold); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--night); color: var(--sand); text-align: center; position: relative; overflow: hidden; }
.cta-band .h2 { color: var(--white); margin: 1.3rem auto; max-width: 18ch; }
.cta-band .lead { color: rgba(247,243,234,0.7); max-width: 50ch; margin: 0 auto 2.4rem; }
.cta-band .mono-watermark {
  position: absolute; right: -4%; bottom: -22%;
  font-family: var(--serif); font-size: 38vw; color: rgba(200,169,106,0.05);
  line-height: 1; pointer-events: none; user-select: none;
}

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 6rem); }
.field { margin-bottom: 1.6rem; }
.field label { display: block; font-size: 0.66rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 0.6rem; }
.field input, .field textarea, .field select {
  width: 100%;
  font-family: var(--sans);
  font-size: 0.95rem;
  color: var(--ink);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--sand-2);
  padding: 0.7rem 0;
  transition: border-color 0.4s var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--gold); }
.field textarea { resize: vertical; min-height: 90px; }
.contact-info-item { padding: 1.4rem 0; border-top: 1px solid var(--sand-2); }
.contact-info-item .ci-label { font-size: 0.64rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-deep); }
.contact-info-item .ci-val { font-family: var(--serif); font-size: 1.5rem; margin-top: 0.5rem; }
.form-note { font-size: 0.78rem; color: var(--ink-soft); margin-top: 1rem; }
.form-success { color: var(--gold-deep); font-weight: 600; font-size: 0.85rem; letter-spacing: 0.05em; margin-top: 1rem; display: none; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--night); color: var(--sand); padding-top: clamp(4rem, 8vh, 6rem); }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: clamp(2rem, 4vw, 3.5rem); padding-bottom: 4rem; border-bottom: 1px solid rgba(200,169,106,0.18); }
.footer-brand .brand-name { font-size: 1.7rem; }
.footer-brand p { color: rgba(247,243,234,0.6); font-size: 0.9rem; line-height: 1.8; margin-top: 1.3rem; max-width: 32ch; }
.footer-col h5 { font-size: 0.66rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-soft); margin-bottom: 1.4rem; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.85rem; }
.footer-col a, .footer-col li { font-size: 0.88rem; color: rgba(247,243,234,0.72); transition: color 0.35s var(--ease); }
.footer-col a:hover { color: var(--gold); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-block: 1.8rem; flex-wrap: wrap; gap: 1rem; }
.footer-bottom p { font-size: 0.74rem; color: rgba(247,243,234,0.5); letter-spacing: 0.04em; }
.footer-social { display: flex; gap: 1.4rem; }
.footer-social a { font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(247,243,234,0.7); }
.footer-social a:hover { color: var(--gold); }

/* ============================================================
   IMAGE PLACEHOLDERS (striped, with mono label)
   ============================================================ */
.ph {
  position: relative;
  background-color: var(--night-2);
  background-image: repeating-linear-gradient(45deg, rgba(200,169,106,0.06) 0 2px, transparent 2px 11px);
  display: grid; place-items: center;
  overflow: hidden;
}
.ph.light-ph { background-color: var(--sand-2); background-image: repeating-linear-gradient(45deg, rgba(169,140,79,0.1) 0 2px, transparent 2px 11px); }
.ph .ph-label {
  font-family: 'Courier New', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-soft);
  border: 1px solid rgba(200,169,106,0.4);
  padding: 0.5rem 0.85rem;
  background: rgba(16,24,45,0.4);
}
.ph.light-ph .ph-label { color: var(--gold-deep); background: rgba(247,243,234,0.5); border-color: rgba(169,140,79,0.3); }

/* image-slot brand styling */
image-slot { --slot-bg: var(--night-2); }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
/* Progressive enhancement: content is visible by default.
   The entrance animation only engages when <html class="reveal-on"> is set
   by the inline head script — so if JS/animation is unavailable (or a tool
   pauses transitions), all content still shows. */
.reveal { opacity: 1; transform: none; }
html.reveal-on .reveal { opacity: 0; transform: translateY(34px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
html.reveal-on .reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.1s; }
.reveal.d2 { transition-delay: 0.2s; }
.reveal.d3 { transition-delay: 0.3s; }
.reveal.d4 { transition-delay: 0.4s; }
@media (prefers-reduced-motion: reduce) {
  html.reveal-on .reveal { opacity: 1; transform: none; transition: none; }
  .scroll-cue .line { animation: none; }
}

/* line reveal for headlines */
.line-mask { overflow: hidden; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .hero { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav-links, .nav-cta { display: none; }
  .burger { display: flex; }
  .split, .feature, .contact-grid { grid-template-columns: 1fr; }
  .feature { min-height: auto; }
  .feature.flip .feature-media { order: 0; }
  .process-grid { grid-template-columns: 1fr; }
  .values { grid-template-columns: repeat(2, 1fr); gap: 2.4rem; }
  .stats { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
  .projects-grid > * { grid-column: span 12 !important; }
  .svc-row { grid-template-columns: 1fr; gap: 1rem; }
  .feature .feature-media image-slot, .feature .feature-media .ph { min-height: 60vh; }
  /* stacked hero: image first (visible without scroll), text below */
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-figure { order: -1; min-height: 46vh; }
  .hero-text { padding: clamp(2.5rem,6vh,3.5rem) var(--gutter) clamp(3rem,7vh,4rem); }
  .scroll-cue { display: none; }
}
@media (max-width: 480px) {
  .values { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .footer-top { grid-template-columns: 1fr; }
}
