/* ════════════════════════════════════════════════════════════
   NICOLAS ABITBOL — WAREHOUSE
   Coal · Bone · Safety Orange
   Anton · Inter Tight · JetBrains Mono
   ════════════════════════════════════════════════════════════ */

:root {
  --coal: #0e0e0e;
  --coal-2: #141414;
  --bone: #f5f1e8;
  --bone-2: #c8c2b5;
  --neutral: #a8a297;
  --safety: #2e7cd1;
  --safety-2: #4a9aef;
  --rule: #1a1a1a;
  --rule-strong: #2a2a2a;

  --display: 'Anton', 'Oswald', sans-serif;
  --body: 'Inter Tight', 'Inter', system-ui, sans-serif;
  --mono: 'Inter Tight', 'Inter', system-ui, sans-serif; /* small-caps label font, deliberately not monospace to avoid the tech vibe */

  --pad-x: clamp(20px, 4vw, 64px);
  --max: 1180px;
  --header-pad-x: clamp(28px, 6.5vw, 120px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; } /* Lenis owns smoothness — see index.html */
body {
  background: var(--coal);
  color: var(--bone);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  position: relative;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* === PRISON-BREAK BLUEPRINT LAYER ============================================
   One master architectural sheet (front elevation, side elevation, floor plan,
   roof plan, section, details, title block) tiled vertically and pinned behind
   every section. Subtle parallax via JS — see initBlueprintParallax() in
   index.html. Sits BELOW all content (z-index: 0) but ABOVE body bg (so dark
   sections show it through their transparent backgrounds). Sections that need
   to hide it (cinematic video, photo blocks) get their own opaque background.
=============================================================================== */
.blueprint-layer {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 100vh;
  width: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  /* Layered behind body content. body itself has bg --coal, but content
     wrappers will be transparent so the blueprint shows through. */
}
.blueprint-layer__sheet {
  position: absolute;
  top: 0; left: 50%;
  transform: translate(-50%, 0);
  width: min(1400px, 92vw);
  /* Repeat the sheet vertically so the entire scrollable height is covered. */
  height: 100vh;
  background: url('hero-blueprint-master.png') repeat-y center top;
  background-size: 100% auto;
  opacity: 0.18; /* daytime-readable — recessive but registered */
  will-change: transform;
}
@media (max-width: 880px) {
  .blueprint-layer__sheet {
    width: 140vw;
    opacity: 0.14;
  }
}
@media (prefers-reduced-motion: reduce) {
  .blueprint-layer__sheet { transition: none; }
}

/* All site content must sit ABOVE the blueprint layer */
.nav, main, footer, .sticky-cta { position: relative; z-index: 2; }

/* Sections that should HIDE the blueprint underneath get an opaque bg.
   Otherwise sections inherit the dark body bg and the blueprint shows. */

img, picture, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }
input, button { font-family: var(--body); }

::selection { background: var(--safety); color: var(--coal); }

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

/* Display + helper type */
h1, h2, h3, h4 { font-family: var(--display); font-weight: 400; letter-spacing: -0.01em; line-height: 0.96; color: var(--bone); }
.accent { color: var(--safety); }

.eyebrow {
  display: inline-block;
  font-family: var(--body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--safety);
  margin-bottom: 4px;
}

.rule { height: 1px; background: var(--rule); border: 0; }

/* ════════════════════════════════════════════════════════════
   NAV
   ════════════════════════════════════════════════════════════ */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px max(var(--pad-x), calc((100vw - var(--max)) / 2));
  background: rgba(14,14,14,0.0);
  border-bottom: 1px solid transparent;
  transition: background .25s ease, border-color .25s ease, padding .25s ease;
}
.site-nav.scrolled {
  border-bottom-color: rgba(42, 42, 42, 0.49);
  padding: 12px max(var(--pad-x), calc((100vw - var(--max)) / 2));
}
.site-nav.scrolled::before {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  top: -100vh;
  z-index: -1;
  pointer-events: none;
  background: rgba(14, 14, 14, 0.78);
  -webkit-backdrop-filter: blur(2px) saturate(140%);
  backdrop-filter: blur(2px) saturate(140%);
  will-change: backdrop-filter;
}
.site-nav.scrolled::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent 0%,
    rgba(245, 241, 232, 0.18) 50%,
    transparent 100%
  );
  pointer-events: none;
}
.nav-logo {
  display: flex; align-items: center; gap: 14px;
  text-decoration: none;
  color: var(--bone);
  /* aligned to --pad-x — the same left edge used by hero text and section
     content, so the brand reads on the same vertical rail as everything below */
}
.nav-logo-name {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--bone);
  line-height: 1; white-space: nowrap;
}
.nav-logo-divider {
  display: block;
  width: 1px; height: 28px; flex-shrink: 0;
  background: var(--safety);
}
.nav-logo-company {
  font-family: var(--body);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--neutral);
  line-height: 1.25; white-space: nowrap;
}
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bone-2);
  transition: color .15s ease;
}
.nav-links a:hover { color: var(--safety); }
.nav-links .nav-cta {
  background: var(--safety);
  color: var(--coal);
  padding: 10px 16px;
  letter-spacing: 0.12em;
  font-weight: 600;
  border-radius: 999px;
}
.nav-links .nav-cta:hover { color: var(--coal); background: var(--safety-2); }
.nav-links .nav-text-cta {
  color: var(--bone);
  border-left: 1px solid var(--rule);
  padding-left: 18px;
  margin-left: -10px;
}
.nav-links .nav-text-cta:hover { color: var(--safety); }
.nav-hamburger { display: none; width: 36px; height: 36px; align-items: center; justify-content: center; color: var(--bone); }
.nav-hamburger svg { width: 22px; height: 22px; stroke: currentColor; }

@media (max-width: 880px) {
  .nav-links { display: none; }
  .nav-hamburger { display: inline-flex; }
}

/* ════════════════════════════════════════════════════════════
   HERO
   ════════════════════════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: stretch;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.hero > * { position: relative; z-index: 2; }
/* Architectural blueprint backdrop — sits behind everything, anchored to the
   bottom edge to fill the empty black space below the photo and trust band.
   Confined to the bottom band only (top 45% is fully black) so the H1, meta,
   sub copy, and CTA remain on a clean dark canvas. */
/* Hero — no per-section blueprint anymore. The page-wide .blueprint-layer
   below carries the architectural drawings across every dark section. */
.hero-left, .hero-right { padding-top: 0; }
/* old .hero::before / .hero::after corner labels removed — ::before now
   carries the architectural blueprint backdrop (defined above). */
.hero-left {
  display: flex; flex-direction: column; justify-content: flex-start;
  padding: 104px var(--pad-x) 80px;
  border-right: 1px solid var(--rule);
  position: relative;
  /* old per-column blueprint removed — now full-bleed on .hero */
}
.hero-left h1 {
  font-family: var(--display);
  font-size: clamp(60px, 10vw, 144px);
  line-height: 0.92;
  letter-spacing: -0.025em;
  color: var(--bone);
  /* optical alignment: pull h1 left so the "I" stroke lines up with the
     header logo's "N" stroke (Anton has built-in glyph sidebearing) */
  margin-left: -0.18em;
}
.hero-left h1 .accent-word { color: var(--bone); }
.hero-left h1 .accent-word .tail { color: var(--safety); }
.hero-left h1 .name-line {
  display: block;
  margin-top: 28px;
  margin-left: 0; /* sit on the optical rail (Anton sidebearing already aligns) */
  font-family: var(--body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--neutral);
}
/* Body-font elements need to shift left to match the H1's optical left edge.
   The H1 has margin-left: -0.18em on Anton (font-size clamp(60px, 10vw, 144px)),
   which visually pulls it ~11-26px left depending on viewport width. We mirror
   that pull with a matching clamp so the meta line, sub copy, CTA pill, AND
   trust band ALL sit flush on the same left rail as "I" and "$120M+". */
:root {
  --hero-rail-pull: clamp(-26px, -1.8vw, -10px);
}
.hero-sub {
  margin-top: 32px;
  margin-left: var(--hero-rail-pull);
  font-size: 16px;
  line-height: 1.55;
  color: var(--bone-2);
  max-width: 460px;
}
.cta-row {
  display: flex; gap: 24px; align-items: center;
  margin-top: 40px;
  margin-left: var(--hero-rail-pull);
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--safety); color: var(--coal);
  padding: 18px 32px;
  font-family: var(--body);
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  white-space: nowrap;
  border-radius: 999px;
  transition: background .15s ease, transform .15s ease;
}
.btn-primary:hover { background: var(--safety-2); transform: translateX(2px); }
.btn-primary .arrow { font-size: 16px; }

.btn-secondary {
  display: inline-flex; align-items: center;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bone-2);
  padding: 18px 0;
  border-bottom: 1px solid var(--rule-strong);
  transition: color .15s ease, border-color .15s ease;
}
.btn-secondary:hover { color: var(--safety); border-bottom-color: var(--safety); }

.hero-trust {
  list-style: none;
  margin-top: 56px;
  margin-left: var(--hero-rail-pull); /* match H1 optical rail */
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  padding-top: 32px;
  max-width: 620px;
  position: relative;
  align-items: start;
}
.hero-trust::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 80px;
  height: 1px;
  background: var(--safety);
  opacity: 0.5;
}
.hero-trust li { display: flex; flex-direction: column; gap: 4px; }
.hero-trust-num {
  font-family: var(--display);
  font-size: 30px;
  letter-spacing: -0.01em;
  color: var(--safety);
  line-height: 1;
}
.hero-trust-lbl {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--neutral);
  white-space: nowrap;
}
@media (max-width: 880px) {
  .hero-trust { grid-template-columns: 1fr; gap: 18px; max-width: 100%; }
  .hero-trust-num { font-size: 24px; }
}

.hero-right {
  position: relative;
  overflow: hidden;
  background: var(--coal-2);
  border-radius: 28px;
  /* Photo sits flush with the navbar — no dead black band above the rounded card. */
  margin: 16px 16px 16px 0;
}
.hero-photo-wrap {
  position: absolute; inset: 0;
  display: flex; align-items: stretch; justify-content: stretch;
}
.hero-photo {
  position: absolute; inset: 0;
  background: var(--coal-2);
}
.hero-photo picture, .hero-photo img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 18%;
  filter: grayscale(0.15) contrast(1.05);
}
.hero-right .hero-vignette {
  position: absolute; left: 0; right: 0; bottom: 0; height: 40%;
  background: linear-gradient(to bottom, rgba(14,14,14,0) 0%, rgba(14,14,14,0.55) 100%);
  z-index: 2; pointer-events: none;
}
/* corner ticks removed — too tech-y */

.hero-meta {
  position: absolute; bottom: 16px; left: 16px; right: 16px; z-index: 3;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 10px 14px;
  background: rgba(14,14,14,0.78);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(245,241,232,0.12);
  border-radius: 14px;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--bone);
}
.hero-meta > * { display: flex; align-items: center; gap: 8px; min-width: 0; }
@media (max-width: 880px) {
  .hero-meta { font-size: 9px; padding: 8px 10px; }
}

@media (max-width: 880px) {
  .hero {
    grid-template-columns: 1fr;
    grid-template-areas: "photo" "text";
    min-height: auto;
  }
  .hero::before { top: 90px; font-size: 10px; letter-spacing: 0.18em; max-width: calc(100% - 32px); }
  .hero::after { top: 116px; left: var(--pad-x); right: auto; font-size: 10px; }
  .hero-left {
    grid-area: text;
    border-right: 0;
    padding: 32px var(--pad-x) 48px;
  }
  .hero-right {
    grid-area: photo;
    aspect-ratio: 4 / 5;
    margin: 16px;
  }
  .hero-photo picture, .hero-photo img { object-position: center 15%; }
}

/* ════════════════════════════════════════════════════════════
   SECTION FRAME
   ════════════════════════════════════════════════════════════ */
section { padding: 110px var(--pad-x); position: relative; }
.section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 56px; gap: 32px; flex-wrap: wrap;
  max-width: 760px;
}
.section-head .eyebrow { margin-bottom: 14px; }
.section-head h2 {
  font-family: var(--display);
  font-size: clamp(40px, 6vw, 76px);
  line-height: 1;
  letter-spacing: -0.015em;
  text-transform: none;
  color: var(--bone);
}
.section-head h2 em { font-style: normal; color: var(--safety); }
.section-lede {
  margin-top: 18px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--neutral);
  max-width: 560px;
}
/* Centered variant — header sits in the middle of its container with
   eyebrow, headline, and lede all center-aligned. Used on situations,
   proof, and faq so the page reads with a clean editorial axis. */
.section-head--center {
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
  justify-content: center;
  text-align: center;
}
.section-head--center > div { width: 100%; }
.section-head--center .section-lede { margin-left: auto; margin-right: auto; }

/* ════════════════════════════════════════════════════════════
   ABOUT
   ════════════════════════════════════════════════════════════ */
.about { background: transparent; }
.about-inner { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 280px 1fr; gap: 80px; }
.about-meta {
  padding-top: 24px;
}
.about-meta dl { display: grid; gap: 18px; }
.about-meta dt {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--neutral); margin-bottom: 4px;
}
.about-meta dd { font-family: var(--body); font-size: 14px; color: var(--bone); }
.about-body .eyebrow { margin-bottom: 18px; }
.about-body h2 {
  font-family: var(--display);
  font-size: clamp(56px, 9vw, 128px);
  line-height: 0.88;
  letter-spacing: -0.01em;
  margin-bottom: 32px;
}
.about-body h2 em { font-style: normal; color: var(--safety); }
.about-body p {
  font-size: 18px; line-height: 1.55;
  color: var(--bone); max-width: 640px;
  margin-bottom: 18px;
}
.about-body p + p { color: var(--bone-2); }
.about-sig {
  margin-top: 36px; padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  max-width: 640px;
}
.about-sig .name { font-family: var(--mono); font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--bone); }
.about-sig .loc { font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--neutral); }

@media (max-width: 880px) {
  .about-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-left { padding-bottom: 24px; }
  .about { padding-top: 40px; padding-bottom: 64px; }
  .about-meta { padding-top: 0; text-align: center; }
}

/* ════════════════════════════════════════════════════════════
   PROCESS
   ════════════════════════════════════════════════════════════ */
.process {
  background: transparent;
  scroll-margin-top: 80px;
}
.process-inner { max-width: var(--max); margin: 0 auto; }
.process .section-head h2 {
  font-size: clamp(40px, 5vw, 72px);
}
.process-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--rule);
}
.process-step {
  padding: 56px 36px;
  background: rgba(14, 14, 14, 0.82);
  position: relative;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.process-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 32px;
}
.process-step h3 {
  font-family: var(--display);
  font-size: 36px;
  line-height: 0.95;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin-bottom: 16px;
  color: var(--bone);
}
.process-step p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--bone-2);
}
.process-step-key {
  background:
    linear-gradient(180deg, rgba(46, 124, 209, 0.12) 0%, rgba(46, 124, 209, 0) 100%),
    rgba(14, 14, 14, 0.82);
  border-top: 2px solid var(--safety);
}

@media (max-width: 880px) {
  .process-list { grid-template-columns: 1fr; }
}

/* Quiet the process-section chrome - blue energy lives on h3 noun highlights */
.process .eyebrow,
.subpage-process .eyebrow,
.process .process-num,
.process-step-key .process-num {
  color: var(--bone);
}

/* ════════════════════════════════════════════════════════════
   SITUATIONS
   ════════════════════════════════════════════════════════════ */
.situations { background: transparent; }
.situations-inner { max-width: var(--max); margin: 0 auto; }
.situations-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
}
.situation {
  padding: 44px 28px;
  position: relative;
  background: rgba(14, 14, 14, 0.55);
  transition: background .15s ease;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.situation h4 {
  font-family: var(--display);
  font-size: 28px;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin-bottom: 12px;
  color: var(--bone);
}
.situation p { font-size: 14px; line-height: 1.55; color: var(--bone-2); max-width: 28ch; }
.situation:hover { background: var(--coal-2); }
.situation:hover h4 { color: var(--safety); }

@media (max-width: 880px) {
  .situations-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .situations-grid { grid-template-columns: 1fr; }
}

/* ════════════════════════════════════════════════════════════
   PROOF / DEAL LOG
   ════════════════════════════════════════════════════════════ */
.proof { background: transparent; }
.proof-inner { max-width: var(--max); margin: 0 auto; }
/* Photo card grid */
.deal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.deal-card {
  background: transparent;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s ease;
}
.deal-card:hover { transform: translateY(-3px); }
.deal-photo {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--coal-2);
}
.deal-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(0.15) contrast(1.05);
  transition: transform 0.7s ease;
}
.deal-card:hover .deal-photo img { transform: scale(1.03); }
.deal-ig-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  pointer-events: none;
}
.deal-body {
  padding: 22px 4px 0;
}
.deal-headline {
  font-family: var(--body);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: var(--bone);
  margin: 0;
}
.deal-divider {
  width: 36px;
  height: 2px;
  background: var(--safety);
  margin: 14px 0 14px;
  border-radius: 1px;
}
.deal-loc {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--bone-2);
  margin: 0 0 10px;
  letter-spacing: 0.005em;
}
.deal-loc svg {
  width: 14px;
  height: 14px;
  color: var(--safety);
  flex-shrink: 0;
}
.deal-story {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--neutral);
  margin: 0;
}

@media (max-width: 980px) {
  .deal-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}
@media (max-width: 640px) {
  .deal-grid { grid-template-columns: 1fr; gap: 28px; }
}

/* Operating company sign-off — centered, presence */
.nobu-signoff {
  margin-top: 96px;
  padding: 56px 32px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
}
.nobu-signoff-logo {
  width: 88px;
  height: 88px;
  flex-shrink: 0;
  border-radius: 6px;
  overflow: hidden;
  opacity: 1;
}
.nobu-signoff-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.nobu-signoff-divider {
  width: 56px;
  height: 2px;
  background: var(--safety);
  flex-shrink: 0;
  opacity: 1;
}
.nobu-signoff-copy {
  max-width: 640px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--neutral);
}
.nobu-signoff-copy strong {
  display: block;
  color: var(--bone);
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: 0.005em;
  line-height: 1.05;
  margin-bottom: 14px;
}
.nobu-signoff-label {
  display: block;
  font-family: var(--body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--safety);
  margin-bottom: 0;
}

.proof-foot {
  margin-top: 36px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--neutral);
}
.proof-foot a {
  color: var(--safety);
  text-decoration: none;
  border-bottom: 1px solid var(--safety);
  padding-bottom: 1px;
}

/* ════════════════════════════════════════════════════════════
   FAQ
   ════════════════════════════════════════════════════════════ */
.faq { background: transparent; }
.faq-inner { max-width: var(--max); margin: 0 auto; }
.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: grid;
  gap: 16px;
}

/* Each .faq-item is the Liquid Glass surface. Closed = pill (999px),
   open = card (24px). Backdrop-filter + static top-edge highlight via
   inset box-shadow parallel the .submit-form treatment. Conic rim
   pseudos were removed — they painted a horizontal seam on wide pills. */
.faq-item {
  position: relative;
  isolation: isolate;
  will-change: backdrop-filter;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(1px) saturate(180%);
  backdrop-filter: blur(1px) saturate(180%);
  border: 1px solid rgba(245, 241, 232, 0.25);
  border-radius: 999px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    inset 0 -1px 0 rgba(0, 0, 0, 0.25);
  /* Close direction: pure ease-out, no ease-in pause, synced to .faq-a */
  transition: border-color .3s cubic-bezier(0.22, 1, 0.36, 1);
  overflow: hidden;
}
.faq-item:hover { border-color: rgba(245, 241, 232, 0.55); }
.faq-item.open {
  border-color: var(--safety);
  /* Open direction: faster bezel flip during expansion */
  transition: border-color .25s ease;
}
/* Question row sits inside the glass — no border or radius of its own. */
.faq-q {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 22px 36px;
}
.faq-q h4 {
  font-family: var(--display);
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--bone);
  font-weight: 400;
  transition: color .15s ease;
}
.faq-toggle {
  font-family: var(--mono);
  font-size: 16px;
  color: var(--bone);
  /* Close: pure ease-out (easeOutQuint) — jumps into motion, no pause */
  transition: transform .3s cubic-bezier(0.22, 1, 0.36, 1), color .15s ease;
}
.faq-item.open .faq-q h4 { color: var(--safety); }
.faq-item.open .faq-toggle {
  transform: rotate(180deg); color: var(--safety);
  /* Open: same family, longer for fluid expansion */
  transition: transform .45s cubic-bezier(0.22, 1, 0.36, 1), color .15s ease;
}

/* Answer panel reveals INSIDE the glass card. Uses grid-template-rows
   0fr→1fr so the row tracks the ACTUAL content height — unlike max-height,
   which had to overshoot (480px) and left a dead-zone where the value was
   shrinking but visible height wasn't changing. That dead-zone read as lag
   and made the rounded corner snap inward at the end of the transition. */
.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  overflow: hidden;
  opacity: 0;
  padding: 0 36px;
  transition: grid-template-rows .3s cubic-bezier(0.22, 1, 0.36, 1),
              padding .3s cubic-bezier(0.22, 1, 0.36, 1),
              opacity .2s cubic-bezier(0.22, 1, 0.36, 1);
}
.faq-a > * { min-height: 0; }
.faq-a p {
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  color: var(--bone-2);
  text-transform: none;
  letter-spacing: 0;
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}
.faq-item.open .faq-a {
  grid-template-rows: 1fr;
  padding: 6px 36px 28px;
  opacity: 1;
  transition: grid-template-rows .45s cubic-bezier(0.22, 1, 0.36, 1),
              padding .45s cubic-bezier(0.22, 1, 0.36, 1),
              opacity .35s cubic-bezier(0.22, 1, 0.36, 1) .08s;
}

@media (max-width: 720px) {
  .faq-q { padding: 18px 24px; gap: 12px; }
  .faq-a { padding: 0 24px; }
  .faq-item.open .faq-a { padding: 6px 24px 24px; }
  .faq-list { gap: 12px; }
}

/* ════════════════════════════════════════════════════════════
   SUBMIT
   ════════════════════════════════════════════════════════════ */
.submit { background: transparent; }
.submit-inner {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
  align-items: start;
}
.submit-left .eyebrow { margin-bottom: 18px; }
.submit-left h2 {
  font-family: var(--display);
  font-size: clamp(56px, 9vw, 128px);
  line-height: 0.88;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.submit-left h2 em { font-style: normal; color: var(--safety); }
.submit-left > p {
  font-size: 17px;
  line-height: 1.55;
  color: var(--bone-2);
  max-width: 460px;
}
.submit-meta {
  margin-top: 20px;
  padding-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 28px 36px;
}
.submit-meta div {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em;
  text-transform: uppercase;
}
.submit-meta dt { color: var(--neutral); font-size: 10px; }
.submit-meta dd { color: var(--bone); font-size: 13px; letter-spacing: 0.14em; }

/* Shell owns the elastic translate. Splitting transform off the
   backdrop-filter element keeps the form's GPU compositing layer
   stable during scroll (was jittering the parallax blueprint).
   Transform is gated behind .in so it doesn't fight .reveal.in's
   transform: none reset (matched specificity, later source wins). */
.submit-form-shell {
  position: relative;
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  /* CTA anchor target, offset below sticky nav so the form lands centered, not behind the header */
  scroll-margin-top: 100px;
}
.submit-form-shell.in {
  transform: translate(var(--tx, 0px), var(--ty, 0px));
}
.submit-form {
  position: relative;
  isolation: isolate;
  will-change: backdrop-filter;
  background: rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(1px) saturate(180%);
  backdrop-filter: blur(1px) saturate(180%);
  border: 1px solid var(--safety);
  border-top: 3px solid var(--safety);
  padding: 40px 36px;
  display: grid; gap: 24px;
  border-radius: 24px;
  box-shadow: 0 24px 60px -20px rgba(46, 124, 209, 0.35),
              0 0 0 1px rgba(46, 124, 209, 0.12),
              inset 0 1px 0 rgba(255, 255, 255, 0.12),
              inset 0 -1px 0 rgba(0, 0, 0, 0.25);
}
@media (prefers-reduced-motion: reduce) {
  .submit-form-shell { transition: none; }
}
.submit-form .field { display: grid; gap: 8px; }
.submit-form label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--neutral);
}
.submit-form input {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--bone-2);
  padding: 12px 0;
  color: var(--bone);
  font-size: 16px;
  font-family: var(--body);
  outline: none;
  transition: border-color .15s ease;
}
.submit-form input:focus { border-bottom-color: var(--safety); }
.submit-form input::placeholder { color: var(--neutral); }
.submit-btn {
  margin-top: 8px;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  background: var(--safety); color: var(--coal);
  padding: 18px 28px;
  border-radius: 999px;
  font-family: var(--body);
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  transition: background .15s ease;
}
.submit-btn:hover { background: var(--safety-2); }

.submit-reassure {
  margin-top: 16px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--neutral);
  text-align: center;
  line-height: 1.6;
}

@media (max-width: 880px) {
  .submit-inner { grid-template-columns: 1fr; gap: 40px; }
  .nav-links .nav-text-cta { display: none; }
}

/* ════════════════════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════════════════════ */
footer {
  background: transparent;
  padding: 80px var(--pad-x) 32px;
}
.footer-inner { max-width: var(--max); margin: 0 auto; }
.footer-top {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 64px;
  padding-bottom: 56px;
}
.footer-logo {
  font-family: var(--display);
  font-size: 36px;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--bone);
  margin-bottom: 8px;
}
.footer-co {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--neutral);
  margin-bottom: 20px;
}
.footer-tagline {
  font-size: 14px;
  line-height: 1.55;
  color: var(--bone-2);
  margin-bottom: 24px;
}
.footer-social {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--safety);
}
.footer-social:hover { color: var(--safety-2); }

/* Instagram link + icon — used in hero meta, about meta, and footer */
.ig-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: inherit;
}
.ig-link:hover { color: var(--safety); }
.ig-icon {
  width: 1em;
  height: 1em;
  flex-shrink: 0;
  vertical-align: -0.125em;
}
.about-meta dd .ig-icon { width: 14px; height: 14px; }
.footer-social .ig-icon { width: 13px; height: 13px; }

/* Brand-gradient Instagram icon — sized up so the official IG colors
   actually catch the eye when scrolling past. Subtle drop-shadow keeps
   the gradient from disappearing into the dark page background. */
.ig-icon--brand {
  width: 22px;
  height: 22px;
  filter: drop-shadow(0 2px 6px rgba(214, 41, 118, 0.35));
  transition: transform .2s ease, filter .2s ease;
}
.about-meta dd .ig-icon--brand { width: 22px; height: 22px; }
.footer-social .ig-icon--brand { width: 22px; height: 22px; }
.ig-link:hover .ig-icon--brand {
  transform: scale(1.08);
  filter: drop-shadow(0 3px 10px rgba(214, 41, 118, 0.55));
}

.footer-columns { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.footer-col h4 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bone);
  margin-bottom: 16px;
  font-weight: 500;
}
.footer-col a {
  display: block;
  font-size: 13px;
  line-height: 1.9;
  color: var(--bone-2);
  transition: color .15s ease;
}
.footer-col a:hover { color: var(--safety); }
/* Region tags removed per request — the h4s now read as plain state names
   without the "Active / Expanding" pill. Kept the rules in case they're
   referenced elsewhere, but hidden so any stray markup stays invisible. */
.footer-col h4 .footer-tag-active,
.footer-col h4 .footer-tag-soon { display: none; }
.footer-col h4 ._unused-tag-old,
.footer-col h4 ._unused-tag-old-2 {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 6px;
  font-size: 9px;
  letter-spacing: 0.16em;
  border: 1px solid var(--rule-strong);
  color: var(--neutral);
  font-weight: 500;
  vertical-align: middle;
}
.footer-col h4 .footer-tag-active { color: var(--safety); border-color: var(--safety); }

.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 28px;
  /* leave room on the right so the floating sticky CTA doesn't sit on top
     of the meta line when the page is scrolled to the bottom */
  padding-right: 220px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--neutral);
  flex-wrap: wrap; gap: 12px;
}
@media (max-width: 880px) {
  .footer-bottom { padding-right: 0; }
}

@media (max-width: 880px) {
  .footer-top { grid-template-columns: 1fr; gap: 40px; padding-bottom: 40px; }
  .footer-columns { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 480px) {
  .footer-columns { grid-template-columns: 1fr; }
}

/* ════════════════════════════════════════════════════════════
   STICKY CTA
   ════════════════════════════════════════════════════════════ */
.sticky-cta {
  position: fixed; bottom: 24px; right: 24px; z-index: 90;
  opacity: 0; transform: translateY(8px); pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
}
body { padding-bottom: 0; }
@media (max-width: 880px) {
  body.cta-active { padding-bottom: 80px; }
}
.sticky-cta.visible { opacity: 1; transform: none; pointer-events: auto; }
.sticky-cta a {
  position: relative;
  isolation: isolate;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 18px 36px;
  background: rgba(35, 95, 165, 0.62);
  -webkit-backdrop-filter: blur(10px) saturate(200%);
  backdrop-filter: blur(10px) saturate(200%);
  will-change: backdrop-filter, transform;
  border: 1px solid rgba(255, 255, 255, 0.20);
  border-radius: 999px;
  color: #ffffff;
  font-family: var(--body);
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  text-decoration: none;
  box-shadow:
    0 12px 40px rgba(14, 14, 14, 0.50),
    0 2px 8px rgba(14, 14, 14, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    inset 0 -1px 0 rgba(0, 0, 0, 0.20);
  transition: background .2s ease, transform .2s ease, backdrop-filter .2s ease;
}
.sticky-cta a:hover {
  background: rgba(35, 95, 165, 0.74);
  -webkit-backdrop-filter: blur(8px) saturate(210%);
  backdrop-filter: blur(8px) saturate(210%);
  transform: translateY(-1px);
}

@media (max-width: 880px) {
  .sticky-cta {
    bottom: 16px; right: 16px; left: 16px;
  }
  .sticky-cta a {
    width: 100%;
    justify-content: center;
    padding: 16px;
    box-shadow:
      0 8px 28px rgba(14, 14, 14, 0.35),
      0 2px 6px rgba(14, 14, 14, 0.22),
      inset 0 1px 0 rgba(255, 255, 255, 0.28),
      inset 0 -1px 0 rgba(0, 0, 0, 0.20);
  }
}

/* Mobile nav menu (hamburger open) */
.nav-links.mobile-open {
  display: flex !important;
  flex-direction: column;
  position: absolute;
  top: 60px;
  right: var(--pad-x);
  background: var(--coal);
  border: 1px solid var(--rule);
  padding: 24px;
  gap: 18px;
  align-items: flex-start;
  min-width: 220px;
}

/* ============================================================
   CINEMATIC BAND — full-bleed video section
   ============================================================ */
.cine-band {
  position: relative;
  width: 100%;
  min-height: 560px;
  height: 72vh;
  max-height: 760px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
  margin: 0;
  background: var(--coal);
}
.cine-band-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: saturate(1.08) contrast(1.02) brightness(1.12);
  /* Pin to GPU layer — heavy video decode under Lenis-driven scroll is the most
     likely stutter source, even though the element itself isn't transformed. */
  transform: translate3d(0, 0, 0);
  will-change: transform;
}
.cine-band-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg,
      rgba(14,14,14,1) 0%,
      rgba(14,14,14,0.55) 12%,
      rgba(14,14,14,0.18) 30%,
      rgba(14,14,14,0.18) 70%,
      rgba(14,14,14,0.55) 88%,
      rgba(14,14,14,1) 100%),
    radial-gradient(ellipse at center, rgba(14,14,14,0) 0%, rgba(14,14,14,0.30) 100%);
  pointer-events: none;
}
.cine-band-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 880px;
  padding: 64px 32px;
  text-align: center;
  color: var(--bone);
}
.cine-band-eyebrow {
  display: inline-block;
  font-family: var(--body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--safety);
  margin-bottom: 22px;
  padding: 6px 12px;
  background: rgba(14,14,14,0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: 2px;
}
.cine-band-title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(36px, 6vw, 76px);
  line-height: 0.98;
  letter-spacing: -0.005em;
  color: var(--bone);
  margin: 0 0 22px;
  text-shadow: 0 2px 24px rgba(14,14,14,0.55);
}
.cine-band-title em {
  font-style: normal;
  color: var(--safety);
}
.cine-band-sub {
  max-width: 640px;
  margin: 0 auto 32px;
  font-size: 17px;
  line-height: 1.55;
  color: rgba(245,241,232,0.92);
  text-shadow: 0 1px 12px rgba(14,14,14,0.6);
}
.cine-band-meta {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 18px;
  padding: 12px 22px;
  background: rgba(14,14,14,0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 3px;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: rgba(245,241,232,0.85);
}
.cine-band-meta strong {
  color: var(--bone);
  font-weight: 600;
  margin-right: 4px;
}
.cine-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--safety);
  display: inline-block;
}
@media (max-width: 720px) {
  .cine-band { height: 68vh; min-height: 480px; }
  .cine-band-inner { padding: 48px 22px; }
  .cine-band-sub { font-size: 15px; }
  .cine-band-meta { font-size: 12px; gap: 10px 14px; padding: 10px 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .cine-band-video { display: none; }
  .cine-band { background: var(--coal) url('hero-band-poster.jpg') center/cover no-repeat; }
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-nav.scrolled { background: rgba(14, 14, 14, 0.88); }
  .sticky-cta a { background: rgba(35, 95, 165, 0.95); }
  .site-nav.scrolled::before,
  .site-nav.scrolled::after,
  .sticky-cta a::before,
  .sticky-cta a::after { display: none; }
}

/* ════════════════════════════════════════════════════════════
   SUBPAGE STYLES — city / county / situation SEO pages
   Native to coal/bone/safety palette. Lighter than the index hero,
   built for fast-load content reading. Reuses .eyebrow, .section-head,
   .submit, .footer-* from above.
   ════════════════════════════════════════════════════════════ */

.subpage-hero {
  padding: clamp(120px, 14vw, 180px) var(--header-pad-x) clamp(48px, 7vw, 72px);
  max-width: var(--max);
  margin: 0 auto;
}
.subpage-hero .eyebrow { margin-bottom: 18px; }
.subpage-hero h1 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(40px, 7vw, 84px);
  line-height: 0.96;
  letter-spacing: -0.01em;
  color: var(--bone);
  max-width: 880px;
  margin-bottom: 20px;
}
.subpage-hero h1 em { font-style: normal; color: var(--safety); }
.subpage-hero-sub {
  font-family: var(--body);
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.55;
  color: var(--bone-2);
  max-width: 720px;
  margin-bottom: 36px;
}
.subpage-hero-cta { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.subpage-hero-cta .secondary-link {
  color: var(--bone-2);
  font-size: 14px;
  letter-spacing: 0.02em;
  border-bottom: 1px solid var(--rule-strong);
  padding-bottom: 3px;
  text-decoration: none;
  transition: color .2s ease, border-color .2s ease;
}
.subpage-hero-cta .secondary-link:hover { color: var(--safety); border-bottom-color: var(--safety); }

.subpage-prose {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 var(--header-pad-x) clamp(56px, 8vw, 88px);
  position: relative; z-index: 2;
}
.subpage-prose h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(28px, 3.5vw, 44px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--bone);
  margin: clamp(40px, 5vw, 64px) 0 18px;
}
.subpage-prose h2 em { font-style: normal; color: var(--safety); }
.subpage-prose p {
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--bone-2);
  margin-bottom: 16px;
}
.subpage-prose p strong { color: var(--bone); font-weight: 500; }
.subpage-prose ul {
  list-style: none;
  padding: 0;
  margin: 12px 0 16px;
}
.subpage-prose li {
  font-family: var(--body);
  font-size: 15px;
  line-height: 1.65;
  color: var(--bone-2);
  padding-left: 22px;
  position: relative;
  margin-bottom: 8px;
}
.subpage-prose li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.7em;
  width: 12px; height: 1px;
  background: var(--safety);
}

/* ── Comp / proof grid (city pages) ─────────────────────────────────── */
.subpage-comp {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(40px, 6vw, 64px) var(--header-pad-x) clamp(56px, 8vw, 88px);
  position: relative; z-index: 2;
}
.subpage-comp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 36px;
}
.subpage-comp-card {
  background: var(--coal-2);
  border: 1px solid var(--rule-strong);
  border-radius: 4px;
  padding: 24px 22px;
  transition: border-color .25s ease, transform .25s ease;
}
.subpage-comp-card:hover { border-color: rgba(46, 124, 209, 0.4); transform: translateY(-2px); }
.subpage-comp-card .comp-loc {
  font-family: var(--body);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--safety);
  margin-bottom: 10px;
}
.subpage-comp-card h4 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 22px;
  line-height: 1.05;
  color: var(--bone);
  margin-bottom: 10px;
}
.subpage-comp-card p {
  font-family: var(--body);
  font-size: 14px;
  line-height: 1.55;
  color: var(--bone-2);
  margin: 0;
}
.subpage-comp-card .comp-divider {
  width: 32px; height: 1px;
  background: var(--rule-strong);
  margin: 14px 0;
}

/* ── Process strip (3-step) ─────────────────────────────────────────── */
.subpage-process {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(40px, 6vw, 64px) var(--header-pad-x);
  position: relative; z-index: 2;
}
.subpage-process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 36px;
}
.subpage-process-step {
  border-top: 1px solid var(--rule-strong);
  padding-top: 22px;
}
.subpage-process-step .step-num {
  font-family: var(--display);
  font-size: 14px;
  letter-spacing: 0.18em;
  color: var(--safety);
  margin-bottom: 10px;
}
.subpage-process-step h4 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 22px;
  line-height: 1.1;
  color: var(--bone);
  margin-bottom: 10px;
}
.subpage-process-step p {
  font-family: var(--body);
  font-size: 14px;
  line-height: 1.55;
  color: var(--bone-2);
}

/* ── State-specific block (situation pages: NJ/PA/MD) ────────────────── */
.subpage-states {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(40px, 6vw, 64px) var(--header-pad-x) clamp(56px, 8vw, 88px);
  position: relative; z-index: 2;
}
.subpage-state-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 36px;
}
.subpage-state-block {
  border: 1px solid var(--rule-strong);
  border-radius: 4px;
  padding: 26px 22px;
  background: var(--coal-2);
}
.subpage-state-block .state-tag {
  font-family: var(--body);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--safety);
  margin-bottom: 12px;
}
.subpage-state-block h4 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 22px;
  line-height: 1.1;
  color: var(--bone);
  margin-bottom: 12px;
}
.subpage-state-block p {
  font-family: var(--body);
  font-size: 14px;
  line-height: 1.65;
  color: var(--bone-2);
  margin-bottom: 10px;
}
.subpage-state-block p:last-child { margin-bottom: 0; }

/* ── Mistakes grid (situation pages) ────────────────────────────────── */
.subpage-mistakes {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(40px, 6vw, 64px) var(--header-pad-x);
  position: relative; z-index: 2;
}
.subpage-mistakes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 36px;
}
.subpage-mistake {
  border-left: 2px solid var(--safety);
  padding: 6px 0 6px 20px;
}
.subpage-mistake .mistake-num {
  font-family: var(--display);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--safety);
  margin-bottom: 8px;
}
.subpage-mistake h4 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 20px;
  line-height: 1.15;
  color: var(--bone);
  margin-bottom: 10px;
}
.subpage-mistake p {
  font-family: var(--body);
  font-size: 14px;
  line-height: 1.6;
  color: var(--bone-2);
}

/* ── Subpage FAQ (re-uses .faq-item but slightly tighter) ───────────── */
.subpage-faq {
  max-width: 920px;
  margin: 0 auto;
  padding: clamp(40px, 6vw, 64px) var(--header-pad-x) clamp(56px, 8vw, 88px);
  position: relative; z-index: 2;
}
.subpage-faq .section-head { margin-bottom: 28px; }
.subpage-faq .faq-list { border-top: 1px solid var(--rule-strong); }
.subpage-faq .faq-item {
  border-bottom: 1px solid var(--rule-strong);
  padding: 22px 0;
  cursor: pointer;
}
.subpage-faq .faq-q { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.subpage-faq .faq-q h4 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 20px;
  line-height: 1.15;
  color: var(--bone);
  letter-spacing: -0.005em;
}
.subpage-faq .faq-toggle {
  color: var(--safety);
  font-size: 18px;
  transition: transform .25s ease;
}
.subpage-faq .faq-item.open .faq-toggle { transform: rotate(180deg); }
.subpage-faq .faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease, margin-top .3s ease;
}
.subpage-faq .faq-item.open .faq-a { max-height: 320px; margin-top: 14px; }
.subpage-faq .faq-a p {
  font-family: var(--body);
  font-size: 15px;
  line-height: 1.65;
  color: var(--bone-2);
}

/* ── Nearby chips ────────────────────────────────────────────────────── */
.subpage-nearby {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(40px, 6vw, 64px) var(--header-pad-x);
  text-align: center;
  position: relative; z-index: 2;
}
.subpage-nearby .eyebrow { justify-content: center; display: inline-flex; }
.subpage-nearby-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 22px;
}
.subpage-nearby-chip {
  display: inline-block;
  padding: 10px 18px;
  border: 1px solid var(--rule-strong);
  border-radius: 4px;
  color: var(--bone-2);
  font-size: 13px;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: color .2s ease, border-color .2s ease;
}
.subpage-nearby-chip:hover { color: var(--safety); border-color: rgba(46, 124, 209, 0.5); }

/* ── Byline ──────────────────────────────────────────────────────────── */
.subpage-byline {
  max-width: var(--max);
  margin: 0 auto;
  padding: 24px var(--header-pad-x) 48px;
  font-family: var(--body);
  font-size: 13px;
  color: var(--bone-2);
  border-top: 1px solid var(--rule-strong);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  position: relative; z-index: 2;
}
.subpage-byline a { color: var(--bone); text-decoration: none; border-bottom: 1px solid var(--rule-strong); }
.subpage-byline a:hover { color: var(--safety); border-color: var(--safety); }
.subpage-byline time { color: rgba(245, 241, 232, 0.4); font-size: 12px; }

/* ── Subpage responsive ─────────────────────────────────────────────── */
@media (max-width: 900px) {
  .subpage-comp-grid,
  .subpage-process-grid,
  .subpage-state-grid,
  .subpage-mistakes-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .subpage-hero { padding-top: 110px; }
}

/* Submit form success/error states */
.submit-msg { padding: 48px 28px; border: 1px solid var(--rule);
  background: var(--coal-2); display: flex; flex-direction: column;
  align-items: center; text-align: center; gap: 16px; }
.submit-check, .submit-mark { width: 56px; height: 56px; border-radius: 50%;
  border: 1px solid var(--safety); display: flex; align-items: center;
  justify-content: center; font-size: 22px; font-family: var(--display);
  color: var(--safety); }
.submit-msg--error .submit-mark { border-color: var(--bone); color: var(--bone); }
.submit-msg h3 { font-family: var(--display); font-size: 32px;
  text-transform: uppercase; letter-spacing: 0.02em; margin: 0; }
.submit-msg p { font-family: var(--body); color: var(--bone); margin: 0;
  max-width: 320px; }
.submit-msg--success h3 { color: var(--safety); }
.submit-msg--error h3 { color: var(--bone); }
.submit-msg [data-reset] { margin-top: 8px; align-self: center; }
