/* ============================================================
   VISTA DEL MAR — styles.css  (Coastal edition)
   Bright California coastal / architectural / institutional luxury.
   Palette: warm white · mist blue · coastal blue · deep navy · accent blue
   Type:    Cormorant Garamond (display) · Inter (body) · Spline Sans Mono (data)
   ============================================================ */

:root {
  /* color — coastal system */
  --bg:        #F7FAFC;   /* primary background (warm white) */
  --coastal:   #EEF5F8;   /* soft coastal blue section */
  --mist:      #E6F0F4;   /* mist blue section */
  --white:     #FFFFFF;
  --navy:      #071B33;   /* deep navy — primary text */
  --navy-2:    #0B2745;   /* pacific navy */
  --charcoal:  #111827;   /* charcoal — contrast only */
  --slate:     #5F6B7A;   /* slate gray — labels / secondary text */
  --slate-2:   #8A95A2;   /* lighter slate — tertiary */
  --border:    #DCE6EB;   /* hairline borders */
  --accent:    #3A6F8F;   /* accent blue */
  --accent-2:  #527C96;   /* lighter accent */
  --loss:      #B45B43;   /* warm clay — total-loss tags (muted, coastal) */
  --intact:    #5C8A6A;   /* coastal green — intact tags */
  --shadow:    0 18px 48px -24px rgba(7, 27, 51, 0.28);
  --shadow-sm: 0 6px 20px -12px rgba(7, 27, 51, 0.22);

  /* type */
  --display: "Lora", Georgia, "Times New Roman", serif;
  --body:    "Inter", system-ui, -apple-system, sans-serif;
  --mono:    "Spline Sans Mono", ui-monospace, monospace;

  /* layout */
  --maxw: 1180px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius: 8px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background: var(--bg);
  color: var(--navy);
  font-family: var(--body);
  font-weight: 400;
  line-height: 1.6;
  font-size: 16px;
  letter-spacing: 0.005em;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ---------- shared layout ---------- */
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: 820px; }

.section { padding: clamp(72px, 11vw, 148px) 0; position: relative; }
.section--mist    { background: var(--mist); }
.section--coastal { background: var(--coastal); }
.section__head { max-width: 880px; margin-bottom: clamp(36px, 6vw, 60px); }

.section__index {
  display: inline-block;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}
.section__index::before {
  content: "";
  display: inline-block;
  width: 26px; height: 1px;
  background: var(--accent);
  vertical-align: middle;
  margin-right: 13px;
  opacity: 0.8;
}

.section__title {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(25px, 3.6vw, 41px);
  line-height: 1.16;
  letter-spacing: -0.005em;
  color: var(--navy);
}
.section__lead {
  max-width: 720px;
  color: var(--slate);
  font-size: clamp(15px, 1.6vw, 18px);
  margin-bottom: clamp(32px, 5vw, 50px);
}

.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--body);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 15px 30px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
/* Primary: deep navy bg, white text */
.btn--primary {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn--primary:hover {
  background: var(--navy-2);
  border-color: var(--navy-2);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
/* Secondary: transparent/white, navy border */
.btn--secondary {
  background: rgba(255, 255, 255, 0.72);
  color: var(--navy);
  border-color: var(--navy);
  backdrop-filter: blur(4px);
}
.btn--secondary:hover {
  background: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.4s ease, backdrop-filter 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(247, 250, 252, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--border);
  box-shadow: 0 1px 0 rgba(255,255,255,0.6);
}
.nav__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 16px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.nav__brand { display: flex; align-items: center; gap: 12px; }
.nav__brand-mark {
  font-family: var(--display);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: 0.05em;
  color: var(--navy);
  border: 1px solid var(--navy);
  padding: 4px 9px;
  border-radius: 4px;
}
.nav__brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.nav__brand-name {
  font-family: var(--display);
  font-size: 16px;
  font-weight: 500;
  color: var(--navy);
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.nav__brand-sub {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate-2);
}
.nav__links { display: flex; align-items: center; gap: 15px; }
.nav__links a {
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--slate);
  transition: color 0.25s ease;
  position: relative;
  white-space: nowrap;
}
.nav__links a:not(.nav__cta)::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 1.5px;
  background: var(--accent);
  transition: width 0.3s ease;
}
.nav__links a:not(.nav__cta):hover { color: var(--navy); }
.nav__links a:not(.nav__cta):hover::after { width: 100%; }
.nav__cta {
  background: var(--navy);
  color: var(--white) !important;
  padding: 9px 20px;
  border-radius: 6px;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.06em;
  transition: all 0.28s ease;
}
.nav__cta:hover { background: var(--navy-2); transform: translateY(-1px); }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none; border: none; cursor: pointer; padding: 6px;
}
.nav__toggle span {
  width: 24px; height: 2px; border-radius: 2px;
  background: var(--navy);
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO — full-screen drone video, light coastal overlay
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 132px var(--gutter) 0;
  overflow: hidden;
}
/* full-bleed video / fallback image layer */
.hero__media {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;          /* fills without aggressive cropping at common ratios */
  object-position: center 42%;/* bias toward horizon/coastline, not foreground */
  z-index: 0;
}
/* SOFT coastal overlay (NOT black): white→mist scrim on the left for text legibility,
   plus a gentle top white fade for nav, and a light bottom fade. Video stays visible. */
.hero__overlay {
  position: absolute; inset: 0;
  z-index: 1;
  background:
    linear-gradient(100deg,
      rgba(247, 250, 252, 0.94) 0%,
      rgba(238, 245, 248, 0.78) 32%,
      rgba(230, 240, 244, 0.30) 58%,
      rgba(230, 240, 244, 0.06) 78%,
      rgba(255, 255, 255, 0.00) 100%),
    linear-gradient(180deg,
      rgba(247, 250, 252, 0.55) 0%,
      rgba(247, 250, 252, 0.00) 22%,
      rgba(247, 250, 252, 0.00) 78%,
      rgba(231, 240, 244, 0.45) 100%);
}
.hero__content { position: relative; z-index: 2; max-width: 760px; }
.hero__content .eyebrow { margin-bottom: 22px; }
.hero__title {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(36px, 5.4vw, 66px);
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--navy);
  margin-bottom: 22px;
}
.hero__title-accent { color: var(--accent); font-style: italic; font-weight: 400; }
.hero__sub {
  max-width: 540px;
  font-size: clamp(16px, 1.8vw, 20px);
  color: var(--navy-2);
  margin-bottom: 14px;
}
.hero__loc {
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 32px;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__stats {
  position: relative;
  z-index: 2;
  margin-top: clamp(44px, 7vw, 84px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.hero__stat {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(6px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 24px;
  box-shadow: var(--shadow-sm);
}
.hero__stat-num {
  display: block;
  font-family: var(--display);
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 500;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 8px;
}
.hero__stat-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--slate);
}

.hero__scroll { position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 2; }
.hero__scroll-line {
  display: block; width: 1px; height: 44px;
  background: linear-gradient(180deg, var(--accent), transparent);
  position: relative; overflow: hidden;
}
.hero__scroll-line::after {
  content: ""; position: absolute; top: -44px; left: 0;
  width: 1px; height: 44px; background: var(--accent);
  animation: scrollPulse 2.4s ease-in-out infinite;
}
@keyframes scrollPulse { 0% { top: -44px; } 60%,100% { top: 44px; } }

/* ============================================================
   OVERVIEW
   ============================================================ */
.overview__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(36px, 6vw, 76px);
  align-items: center;
}
.overview__copy p { color: var(--slate); margin-bottom: 20px; font-size: 17px; }
.overview__copy strong { color: var(--navy); font-weight: 600; }
.overview__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.ocard {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  min-height: 130px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
}
.ocard__num {
  font-family: var(--display);
  font-size: 40px;
  font-weight: 500;
  color: var(--accent);
  line-height: 1;
}
.ocard__label { font-size: 13px; letter-spacing: 0.02em; color: var(--slate); }

/* ============================================================
   RECONSTRUCTION SEQUENCE — "From Fire Loss to Restored Residences"
   Animation-ready: each .rstage carries data-stage; a future scroll
   script can pin/advance these without restructuring the markup.
   ============================================================ */
.rebuild__intro { max-width: 760px; margin-bottom: clamp(32px, 5vw, 48px); }
.rebuild__intro p { color: var(--slate); font-size: 17px; }
.rebuild__intro strong { color: var(--navy); font-weight: 600; }

/* progress rail */
.rebuild__track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.rebuild__track::before {
  content: "";
  position: absolute;
  top: 18px; left: 4%; right: 4%;
  height: 2px;
  background: linear-gradient(90deg, var(--loss), var(--accent-2) 55%, var(--intact));
  opacity: 0.5;
}
.rstage {
  position: relative;
  display: flex;
  flex-direction: column;
}
.rstage__dot {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--accent);
  color: var(--navy);
  font-family: var(--mono);
  font-size: 13px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  position: relative; z-index: 2;
  box-shadow: 0 0 0 5px var(--bg);
}
.rstage[data-stage="1"] .rstage__dot { border-color: var(--loss); }
.rstage[data-stage="5"] .rstage__dot { border-color: var(--intact); }
.rstage__media {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--mist);
  box-shadow: var(--shadow-sm);
  margin-bottom: 16px;
}
.rstage__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.rstage:hover .rstage__media img { transform: scale(1.04); }
.rstage__title {
  font-family: var(--display);
  font-size: 21px;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 8px;
}
.rstage__desc { font-size: 13.5px; color: var(--slate); }

.rebuild__note {
  margin-top: clamp(34px, 5vw, 48px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.rebuild__note > div {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 22px 24px;
  box-shadow: var(--shadow-sm);
}
.rebuild__note h4 {
  font-family: var(--body);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}
.rebuild__note p { font-size: 14.5px; color: var(--slate); }
.rebuild__note strong { color: var(--navy); font-weight: 600; }

/* ============================================================
   REBUILD VISION — full-width conceptual rendering
   ============================================================ */
.vision__intro { max-width: 760px; margin-bottom: clamp(30px, 5vw, 44px); }
.vision__intro p { color: var(--slate); font-size: 17px; }
.vision__figure {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
}
.vision__figure img { width: 100%; display: block; }
.vision__figure figcaption {
  padding: 16px 24px;
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: 0.02em;
  color: var(--slate-2);
  background: var(--white);
  border-top: 1px solid var(--border);
}
/* full-bleed variant: rendering breaks out of the container to edge-to-edge */
.vision__bleed {
  position: relative;
  left: 50%; right: 50%;
  margin-left: -50vw; margin-right: -50vw;
  width: 100vw;
  margin-top: clamp(8px, 2vw, 20px);
  margin-bottom: clamp(28px, 5vw, 48px);
}
.vision__bleed .vision__figure { border-radius: 0; border-left: none; border-right: none; }

.vision__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.vision__col {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 28px;
  box-shadow: var(--shadow-sm);
}
.vision__col--shows  { border-top: 3px solid var(--intact); }
.vision__col--notrep { border-top: 3px solid var(--loss); }
.vision__col h3 {
  font-family: var(--display);
  font-size: 21px;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 16px;
}
.vision__col ul { list-style: none; }
.vision__col li {
  font-size: 14.5px;
  color: var(--slate);
  padding: 9px 0 9px 26px;
  position: relative;
  border-bottom: 1px solid var(--border);
}
.vision__col li:last-child { border-bottom: none; }
.vision__col--shows li::before {
  content: "+";
  position: absolute; left: 4px; top: 8px;
  color: var(--intact); font-weight: 600;
}
.vision__col--notrep li::before {
  content: "–";
  position: absolute; left: 5px; top: 8px;
  color: var(--loss); font-weight: 600;
}

/* ============================================================
   SITE PLAN
   ============================================================ */
.siteplan__figure {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  position: relative;
  box-shadow: var(--shadow);
}
.siteplan__figure img {
  width: 100%;
  display: block;
  /* real scan on white — light, clean, no inversion */
  background: var(--white);
}
.siteplan__figure figcaption {
  padding: 16px 24px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.03em;
  color: var(--slate);
  background: var(--white);
  border-top: 1px solid var(--border);
}

.clusters {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
.cluster {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 20px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.cluster__tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 3px;
  margin-bottom: 14px;
}
.cluster--loss   .cluster__tag { color: var(--loss);   background: rgba(180, 91, 67, 0.1);  }
.cluster--intact .cluster__tag { color: var(--intact); background: rgba(92, 138, 106, 0.12); }
.cluster--loss   { border-top: 3px solid var(--loss); }
.cluster--intact { border-top: 3px solid var(--intact); }
.cluster__name {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 10px;
}
.cluster__units {
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.7;
  color: var(--slate);
}

/* ============================================================
   UNIT MIX
   ============================================================ */
.unitmix__table-wrap {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.unitmix__table { width: 100%; border-collapse: collapse; }
.unitmix__table th,
.unitmix__table td {
  padding: 17px 22px;
  text-align: right;
  border-bottom: 1px solid var(--border);
}
.unitmix__table th:first-child,
.unitmix__table td:first-child { text-align: left; }
.unitmix__table thead th {
  background: var(--navy);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #C7D6E2;
}
.unitmix__table tbody td { font-size: 16px; color: var(--navy); }
.unitmix__table tbody tr:nth-child(even) td { background: var(--coastal); }
.unitmix__table tbody tr:hover td { background: var(--mist); }
.unitmix__table tbody td:first-child {
  font-family: var(--display);
  font-size: 22px;
  color: var(--accent);
}
.unitmix__table tfoot td {
  background: var(--mist);
  font-weight: 700;
  font-size: 16px;
  color: var(--navy);
  border-bottom: none;
}
.unitmix__table tfoot td:first-child { font-family: var(--display); font-size: 18px; }

.unitmix__cards {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
.ucard {
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent-2);
  border-radius: var(--radius);
  padding: 24px 20px;
  background: var(--white);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.ucard:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.ucard__type {
  display: block;
  font-family: var(--display);
  font-size: 40px;
  font-weight: 500;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 12px;
}
.ucard__count { display: block; font-size: 14px; color: var(--navy); margin-bottom: 4px; }
.ucard__size { display: block; font-family: var(--mono); font-size: 12px; color: var(--slate); }

/* ============================================================
   DOCUMENTS — real scans on white, clean architectural look
   ============================================================ */
.docs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.doc {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.doc:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.doc img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  background: var(--white);
  /* light, true-to-scan rendering — no inversion on the bright theme */
  filter: contrast(1.04) brightness(1.01);
}
.doc figcaption {
  padding: 15px 20px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
  border-top: 1px solid var(--border);
}

/* ============================================================
   FINANCIALS
   ============================================================ */
.fin__cost {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  padding: clamp(26px, 4vw, 38px);
  margin-bottom: 26px;
  max-width: 640px;
  box-shadow: var(--shadow-sm);
}
.fin__cost-title {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.fin__cost-list { list-style: none; }
.fin__cost-list li {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  color: var(--slate);
  font-size: 16px;
}
.fin__cost-list li span:last-child { font-family: var(--mono); color: var(--navy); }
.fin__cost-total { margin-top: 4px; padding-top: 16px !important; border-bottom: none !important; }
.fin__cost-total span { color: var(--navy) !important; font-weight: 700; font-size: 19px !important; }

.scenarios {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.scenario {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  padding: 30px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.scenario:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.scenario--base {
  border-color: var(--accent);
  border-top: 3px solid var(--accent);
  background: linear-gradient(180deg, rgba(58,111,143,0.06), var(--white) 55%);
}
.scenario__badge {
  position: absolute;
  top: -11px; left: 28px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--accent);
  padding: 5px 12px;
  border-radius: 4px;
}
.scenario__head {
  display: flex; flex-direction: column; gap: 4px;
  padding-bottom: 20px; margin-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.scenario__name {
  font-family: var(--display);
  font-size: 26px; font-weight: 500;
  color: var(--navy);
}
.scenario__psf { font-family: var(--mono); font-size: 13px; color: var(--accent); letter-spacing: 0.03em; }
.scenario__data { display: flex; flex-direction: column; gap: 15px; }
.scenario__data > div { display: flex; justify-content: space-between; align-items: baseline; }
.scenario__data dt { font-size: 13px; color: var(--slate); }
.scenario__data dd { font-family: var(--mono); font-size: 16px; color: var(--navy); }
.scenario__roi { color: var(--accent) !important; font-size: 22px !important; font-weight: 500; }

.disclaimer {
  margin-top: 26px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--slate-2);
  max-width: 760px;
  padding-left: 18px;
  border-left: 3px solid var(--border);
}

/* ============================================================
   FEATURES (Market Context + Why)
   ============================================================ */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.feature {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.feature h3 {
  font-family: var(--display);
  font-size: 22px; font-weight: 500;
  color: var(--navy);
  margin-bottom: 10px;
}
.feature p { font-size: 14.5px; color: var(--slate); }

/* ============================================================
   TIMELINE
   ============================================================ */
.timeline {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  position: relative;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 8px; left: 0; right: 0;
  height: 2px;
  background: var(--border);
}
.tl { position: relative; padding: 34px 22px 0 0; }
.tl::before {
  content: "";
  position: absolute; top: 2px; left: 0;
  width: 13px; height: 13px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--accent);
}
.tl::after {
  content: "";
  position: absolute; top: 6px; left: 4px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent);
}
.tl__phase {
  display: block;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 12px;
}
.tl__title {
  font-family: var(--display);
  font-size: 21px; font-weight: 500;
  color: var(--navy);
  margin-bottom: 8px;
}
.tl__desc { font-size: 13.5px; color: var(--slate); padding-right: 6px; }

/* ============================================================
   DILIGENCE
   ============================================================ */
.diligence {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.diligence li {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  font-size: 15px;
  color: var(--navy);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.diligence li:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.diligence__n {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--accent);
  flex-shrink: 0;
  padding-top: 2px;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq { border-top: 1px solid var(--border); }
.faq__item { border-bottom: 1px solid var(--border); }
.faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: 26px 44px 26px 0;
  position: relative;
  font-family: var(--display);
  font-size: clamp(19px, 2.4vw, 25px);
  font-weight: 500;
  color: var(--navy);
  transition: color 0.25s ease;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  position: absolute; right: 4px; top: 50%;
  transform: translateY(-50%);
  font-family: var(--body); font-weight: 300; font-size: 28px;
  color: var(--accent);
  transition: transform 0.3s ease;
}
.faq__item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq__item summary:hover { color: var(--accent); }
.faq__item p { padding: 0 44px 28px 0; color: var(--slate); font-size: 16px; max-width: 680px; }

/* ============================================================
   CONTACT FORM
   ============================================================ */
.form { display: flex; flex-direction: column; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form__field { display: flex; flex-direction: column; gap: 8px; }
.form__field span {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate);
}
.form__field input,
.form__field textarea {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  color: var(--navy);
  font-family: var(--body);
  font-size: 15px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  resize: vertical;
}
.form__field input::placeholder, .form__field textarea::placeholder { color: var(--slate-2); }
.form__field input:focus, .form__field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(58, 111, 143, 0.12);
}
.form__submit { align-self: flex-start; margin-top: 4px; }
.form__note { font-size: 13px; color: var(--accent); font-family: var(--mono); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--navy); color: #C7D6E2; padding: 60px 0 38px; }
.footer__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer__brand { display: flex; gap: 16px; align-items: flex-start; }
.footer__mark {
  font-family: var(--display);
  font-weight: 600; font-size: 22px;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.4);
  padding: 6px 11px;
  border-radius: 4px;
}
.footer__name { font-family: var(--display); font-size: 19px; color: var(--white); margin-bottom: 4px; }
.footer__loc { font-size: 13px; color: #9FB3C4; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 12px 26px; max-width: 440px; }
.footer__nav a { font-size: 13px; color: #9FB3C4; transition: color 0.25s ease; }
.footer__nav a:hover { color: var(--white); }
.footer__disclaimer {
  margin: 28px 0 16px;
  font-size: 12px;
  line-height: 1.7;
  color: #7E92A5;
  max-width: 920px;
}
.footer__copy { font-family: var(--mono); font-size: 11px; color: #6B8095; letter-spacing: 0.04em; }

/* ============================================================
   REVEAL-ON-SCROLL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   LANGUAGE SWITCHER
   ============================================================ */
.lang {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  margin-left: 8px;
  padding: 3px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255,255,255,0.6);
}
.lang__btn {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--slate);
  background: transparent;
  border: none;
  border-radius: 999px;
  padding: 5px 10px;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease;
  line-height: 1;
}
.lang__btn:hover { color: var(--navy); }
.lang__btn.is-active { background: var(--navy); color: var(--white); }

/* ============================================================
   CONTACT INFO (direct details)
   ============================================================ */
.contactinfo {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 4px 0 34px;
}
.contactinfo__item {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
a.contactinfo__item:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.contactinfo__label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}
.contactinfo__value { font-size: 14px; color: var(--navy); word-break: break-word; }

.footer__contact { margin-top: 8px; font-size: 13px; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.footer__contact a { color: #9FB3C4; transition: color 0.25s ease; }
.footer__contact a:hover { color: var(--white); }
.footer__contact span { color: #5E7387; }

.form__hp { position: absolute; left: -9999px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .clusters { grid-template-columns: repeat(3, 1fr); }
  .unitmix__cards { grid-template-columns: repeat(3, 1fr); }
  .features { grid-template-columns: repeat(2, 1fr); }
  .diligence { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: repeat(2, 1fr); gap: 36px 24px; }
  .timeline::before { display: none; }
  .tl { padding-right: 0; }
  .rebuild__track { grid-template-columns: repeat(3, 1fr); gap: 24px 16px; }
  .rebuild__track::before { display: none; }
}

@media (max-width: 760px) {
  .nav__links {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: min(80vw, 330px);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 22px;
    padding: 0 40px;
    background: rgba(247, 250, 252, 0.98);
    backdrop-filter: blur(16px);
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    border-left: 1px solid var(--border);
    box-shadow: -20px 0 50px -30px rgba(7,27,51,0.4);
  }
  .nav.is-open .nav__links { transform: translateX(0); }
  .nav__links a { font-size: 18px; }
  .nav__toggle { display: flex; }

  .hero { padding-top: 120px; }
  .hero__overlay {
    /* on mobile, strengthen the top scrim so navy text stays readable over bright video */
    background:
      linear-gradient(180deg,
        rgba(247,250,252,0.92) 0%,
        rgba(238,245,248,0.72) 30%,
        rgba(230,240,244,0.30) 60%,
        rgba(231,240,244,0.55) 100%);
  }
  .hero__stats { grid-template-columns: 1fr 1fr; }
  .overview__grid { grid-template-columns: 1fr; }
  .overview__cards { grid-template-columns: 1fr 1fr; }
  .clusters { grid-template-columns: 1fr 1fr; }
  .unitmix__cards { grid-template-columns: 1fr 1fr; }
  .scenarios { grid-template-columns: 1fr; }
  .docs { grid-template-columns: 1fr 1fr; }
  .features { grid-template-columns: 1fr; }
  .diligence { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; }
  .rebuild__track { grid-template-columns: 1fr 1fr; }
  .rebuild__note { grid-template-columns: 1fr; }
  .vision__cols { grid-template-columns: 1fr; }
  .contactinfo { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .lang { margin: 8px 0 0 0; }

  /* unit-mix table → stacked cards */
  .unitmix__table, .unitmix__table thead, .unitmix__table tbody,
  .unitmix__table tfoot, .unitmix__table tr, .unitmix__table th,
  .unitmix__table td { display: block; }
  .unitmix__table thead { display: none; }
  .unitmix__table tr { border-bottom: 1px solid var(--border); padding: 6px 0; }
  .unitmix__table td {
    display: flex; justify-content: space-between;
    text-align: right !important; border: none; padding: 8px 22px;
  }
  .unitmix__table td::before {
    content: attr(data-label);
    font-family: var(--mono); font-size: 11px;
    letter-spacing: 0.08em; text-transform: uppercase; color: var(--slate);
  }
  .unitmix__table tbody td:first-child::before { content: "Type"; }
}

@media (max-width: 420px) {
  .hero__stats { grid-template-columns: 1fr; }
  .overview__cards { grid-template-columns: 1fr; }
  .clusters, .unitmix__cards, .docs, .rebuild__track { grid-template-columns: 1fr; }
}

/* ============================================================
   ACCESSIBILITY — reduced motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

a:focus-visible, button:focus-visible,
input:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
