/* ============================================
   Kelvin Chow — Restaurant Unfiltered
   Design system: editorial service-business
   (see DESIGN.md for token rationale)
============================================ */

:root {
  /* Brand palette (client-supplied): Palladian, Oatmeal, Blue Fantastic,
     Burning Flame, Truffle Trouble, Abyssal Anchorfish Blue. Blue is the
     dominant tone now — see DESIGN.md Colors for the full rationale and
     the contrast math behind each mapping. */
  --bg: #1B2632;        /* Abyssal Anchorfish Blue — dominant page ground */
  --surface: #2C3B4D;   /* Blue Fantastic — card/panel fill, elevated */
  --surface-2: #2C3B4D; /* same as --surface; no separate light-card tier */
  --ink: #EEE9DF;       /* Palladian — primary text on the dark ground */
  --ink-soft: #2C3B4D;  /* Blue Fantastic — contrast-band fill */
  --body: #C9C1B1;      /* Oatmeal — paragraph copy */
  --muted: #C9C1B1;      /* Oatmeal — secondary/meta text */
  --faint: #C9C1B1;      /* Oatmeal — least-emphasis labels */
  --line: #2C3B4D;       /* Blue Fantastic — hairline dividers */
  --line-2: #2C3B4D;
  --accent: #FFB162;      /* Burning Flame */
  --accent-h: #FF9F3E;    /* derived hover-darken of Burning Flame */
  --accent-text: #FFB162; /* same as --accent — it already passes contrast
                              as text on the dark ground, no darkening needed */
  --accent-2: #A35139;    /* Truffle Trouble — secondary accent, decorative
                              use only (shadow-stack, borders) — too close
                              in value to the blues/Burning Flame to trust
                              as small text, see DESIGN.md Colors */
  --on-dark: #EEE9DF;     /* Palladian — text within contrast bands */
  --on-light: #1B2632;    /* Abyssal — dark text/icons on light or
                              accent-colored surfaces (buttons, badges,
                              frosted-glass slider controls) */

  --font-sans: "Switzer", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", "SF Mono", Consolas, monospace;

  --max-width: 1230px;
  --max-width-narrow: 660px;
  --radius: 4px;

  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 56px;
  --space-xl: 80px;
  --space-2xl: 128px;
  --space-3xl: 168px;

  --header-h: 102px;
}

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

html { scroll-behavior: smooth; }
html.nav-open { overflow: hidden; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }
em { font-style: normal; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.container.narrow { max-width: var(--max-width-narrow); }

/* -------- Eyebrow / index chip -------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 16px;
  display: block;
}

.index-chip {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
  transition: color 0.3s ease;
}

.index-chip.is-active { color: var(--accent-text); }

/* -------- Headlines -------- */
h1, h2, h3 { font-family: var(--font-sans); font-weight: 500; color: var(--ink); }

.h1 {
  font-size: clamp(34px, 6.2vw, 60px);
  line-height: 1.0;
  letter-spacing: -0.015em;
}

.h2 {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.3;
  letter-spacing: -0.03em;
  max-width: 16ch;
}

.section-sub {
  font-size: clamp(16px, 1.4vw, 18px);
  line-height: 1.55;
  color: var(--body);
  max-width: 56ch;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.section-head-text { max-width: 640px; }
.section-head .btn-primary { flex-shrink: 0; }

/* -------- Buttons -------- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  padding: 0 26px;
  background: var(--accent);
  color: var(--on-light);
  font-size: 18px;
  font-weight: 400;
  border-radius: 0;
  transition: background 0.22s ease, transform 250ms cubic-bezier(.2,.8,.4,1);
  white-space: nowrap;
}

.btn-primary:hover { background: var(--accent-h); transform: scale(1.1); }
.btn-primary:active { transform: scale(0.9); }

.text-link {
  position: relative;
  display: inline-block;
  font-size: 16px;
  color: var(--ink);
  padding-bottom: 4px;
}

.text-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0.35);
  transform-origin: left;
  transition: transform 0.26s ease;
}

.text-link:hover::after { transform: scaleX(1); }

.text-link-light { color: var(--on-dark); }

/* -------- Announcement bar -------- */
.announcement-bar {
  background: var(--ink-soft);
  color: var(--on-dark);
  height: 28px;
  overflow: hidden;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 101;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 24s linear infinite;
}

.marquee-track span {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  padding: 0 32px;
}

.announcement-bar:hover .marquee-track { animation-play-state: paused; }

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* -------- Header -------- */
.site-header {
  position: fixed;
  top: 28px;
  left: 0;
  right: 0;
  z-index: 100;
  height: 74px;
  display: flex;
  align-items: center;
  transition: transform 0.32s ease, background 0.32s ease, backdrop-filter 0.32s ease;
}

.site-header.hide { transform: translateY(-130%); }

.site-header.scrolled {
  background: rgba(27, 38, 50, 0.86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.logo {
  font-family: var(--font-sans);
  font-size: 22px;
  font-weight: 500;
  color: var(--on-dark);
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-mark {
  width: 20px;
  height: 20px;
  background: var(--accent);
  flex-shrink: 0;
}

.scrolled .logo,
.no-hero .logo { color: var(--ink); }

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

.nav-link {
  font-size: 16px;
  color: var(--on-dark);
  opacity: 0.85;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.scrolled .nav-link,
.no-hero .nav-link { color: var(--ink); opacity: 0.75; }

.nav-link:hover { opacity: 1; }
.nav-link-current { opacity: 1 !important; pointer-events: none; }

.nav-divider {
  width: 1px;
  height: 20px;
  background: currentColor;
  opacity: 0.25;
  color: var(--on-dark);
}

.scrolled .nav-divider,
.no-hero .nav-divider { color: var(--ink); }

/* .nav-cta is now a .btn-primary — always ink-on-orange, no header-state
   color swap needed (that was for the old text-link version). */

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 24px;
  padding: 4px;
}

.menu-toggle span {
  display: block;
  height: 1.5px;
  background: var(--on-dark);
  transition: transform 0.25s ease, opacity 0.25s ease, background 0.25s ease;
}

.scrolled .menu-toggle span,
.no-hero .menu-toggle span { background: var(--ink); }

.mobile-nav {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: var(--space-md);
  padding: var(--space-md);
  background: var(--ink-soft);
  position: fixed;
  inset: 0;
  z-index: 99;
}

.mobile-nav .nav-link {
  color: var(--on-dark);
  opacity: 1;
  font-size: 32px;
  font-weight: 500;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.mobile-nav.open .nav-link { opacity: 1; transform: translateY(0); }
.mobile-nav.open .nav-link:nth-child(1) { transition-delay: 0.05s; }
.mobile-nav.open .nav-link:nth-child(2) { transition-delay: 0.1s; }
.mobile-nav.open .nav-link:nth-child(3) { transition-delay: 0.15s; }
.mobile-nav.open .nav-link:nth-child(4) { transition-delay: 0.2s; }

.mobile-nav .btn-primary { margin-top: var(--space-md); align-self: flex-start; }
.mobile-nav.open { display: flex; }

.menu-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); background: var(--on-dark); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); background: var(--on-dark); }

/* -------- Sections --------
   Tighter than the reference template's original 88–168px clamp —
   see DESIGN.md Layout. Still viewport-scaled so it stays proportional
   on mobile rather than going flat. */
.section {
  padding: clamp(56px, 7vw, 104px) 0;
}

.section-tight { padding-bottom: 0; }

/* -------- Hero -------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-photo {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 35%;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(27,38,50,0.72) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-bottom: var(--space-2xl);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: var(--space-lg);
}

.hero-text { max-width: 660px; }

.hero-eyebrow { color: rgba(238,233,223,0.9); }

.hero-h1 {
  color: var(--on-dark);
  margin-bottom: var(--space-sm);
  max-width: 13ch;
}

.hero-lede {
  font-size: 18px;
  color: rgba(238,233,223,0.85);
  margin-bottom: var(--space-md);
  max-width: 46ch;
}

.hero-cta-row {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 24px;
  flex-shrink: 0;
}

.hero-stat {
  padding-left: 24px;
  border-left: 1px solid rgba(238,233,223,0.3);
}

.hero-stat:first-child { padding-left: 0; border-left: none; }

.hero-stat-value {
  font-size: 24px;
  font-weight: 500;
  color: var(--on-dark);
  margin-bottom: 4px;
}

.hero-stat-caption {
  font-size: 15px;
  color: rgba(238,233,223,0.7);
  line-height: 1.4;
  max-width: 14ch;
}

/* -------- Statement + comparison -------- */
.statement-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: start;
}

.statement-text { max-width: 480px; }

.statement-quote {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-2xl);
}

.statement-sub { color: var(--body); font-size: 16px; line-height: 1.55; margin-bottom: var(--space-sm); }

.comparison-label {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: right;
  margin-bottom: var(--space-sm);
}

.compare-frame {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  user-select: none;
  touch-action: pan-y;
}

.compare-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.compare-after { z-index: 1; }
.compare-before {
  z-index: 2;
  clip-path: inset(0 calc(100% - var(--pos, 50%)) 0 0);
}

.compare-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos, 50%);
  width: 2px;
  background: #fff;
  z-index: 3;
  transform: translateX(-1px);
}

.compare-handle {
  position: absolute;
  top: 50%;
  left: var(--pos, 50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transform: translate(-50%, -50%);
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: ew-resize;
  border: none;
}

.compare-handle::before {
  content: "";
  width: 14px;
  height: 14px;
  border-left: 2px solid var(--on-light);
  border-bottom: 2px solid var(--on-light);
  transform: rotate(45deg);
  margin-right: 6px;
}

.compare-handle::after {
  content: "";
  width: 14px;
  height: 14px;
  border-right: 2px solid var(--on-light);
  border-top: 2px solid var(--on-light);
  transform: rotate(45deg);
  margin-left: -20px;
}

.compare-chip {
  position: absolute;
  top: 16px;
  z-index: 3;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(4px);
  padding: 6px 12px;
  border-radius: 999px;
  color: var(--on-light);
}

.compare-chip-before { left: 16px; }
.compare-chip-after { right: 16px; }

/* -------- Services (interactive index) -------- */
.services-body {
  display: grid;
  grid-template-columns: 0.38fr 0.62fr;
  gap: 56px;
}

.services-list { border-top: 1px solid var(--line); }

.service-row {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  transition: border-color 0.3s ease;
}

.service-row.is-active { border-bottom-color: var(--accent); }

.service-arrow {
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  color: var(--accent-text);
  flex-shrink: 0;
}

.service-row.is-active .service-arrow { opacity: 1; transform: translateX(0); }

.service-name {
  font-size: 18px;
  color: var(--ink);
  flex-grow: 1;
  transition: color 0.3s ease;
}

.service-row.is-active .service-name { color: var(--accent-text); }

.services-panel {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
}

.services-panel-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.services-panel-img.is-active { opacity: 1; transform: scale(1); }

.services-panel-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(27,38,50,0.75) 100%);
  z-index: 1;
}

.services-panel-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  padding: var(--space-md);
  color: var(--on-dark);
}

.services-panel-caption-inner {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.services-panel-caption-inner.is-active { opacity: 1; transform: translateY(0); }

.services-panel-title { font-size: 22px; font-weight: 500; margin-bottom: 4px; }
.services-panel-week { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.8; margin-bottom: 8px; }
.services-panel-desc { font-size: 16px; opacity: 0.9; max-width: 46ch; }

/* -------- Process (3-card differentiators) -------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

/* Card interaction adapted from a Uiverse.io community snippet
   (by Javierrocadev), remapped onto brand tokens: the flat colour block
   became a photo, the pink price-badge became the accent-orange index
   badge, and the shadow-stack alternates ink/accent instead of the
   original's teal-and-blue. This is a deliberate, scoped exception to
   the system's normal "essentially no shadows" rule — see DESIGN.md
   Elevation & Depth. */
.process-card {
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-radius 0.4s ease, box-shadow 0.4s ease;
}

.process-card-img {
  position: relative;
  aspect-ratio: 4 / 3;
}

.process-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(.2,.8,.2,1);
}

.process-card-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--accent);
  color: var(--on-light);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  transition: transform 0.4s ease;
}

.process-card-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 28px;
  flex-grow: 1;
}

.process-card-title { font-size: 20px; font-weight: 500; color: var(--ink); max-width: 22ch; }
.process-card-desc { font-size: 15px; line-height: 1.55; color: var(--body); }

.process-card:hover { border-top-left-radius: 28px; box-shadow: 5px 5px 0 0 var(--accent), 10px 10px 0 0 var(--accent-2), 15px 15px 0 0 var(--accent); }
.process-card:hover .process-card-img img { transform: scale(1.04); }
.process-card:hover .process-card-badge { transform: scale(1.3) rotate(-30deg); }

/* -------- Pillars (locations-style stagger grid) -------- */
.pillars-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.pillars-grid .pillar-card:nth-child(2n) { margin-top: 200px; }

.pillar-card {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
}

.pillar-card-img { aspect-ratio: 16/10; border-radius: var(--radius); overflow: hidden; margin-bottom: var(--space-sm); }
.pillar-card-img img { width: 100%; height: 100%; object-fit: cover; }
.pillar-card:nth-child(odd) .pillar-card-img { order: 3; margin-bottom: 0; margin-top: var(--space-sm); }

.pillar-card .index-chip { display: block; margin-bottom: 12px; }

.pillar-card-name { font-size: 26px; font-weight: 500; margin-bottom: 6px; }
.pillar-card-desc { font-size: 16px; color: var(--muted); margin-bottom: var(--space-sm); }

.pillar-card-links {
  display: flex;
  justify-content: flex-end;
  gap: 24px;
}

/* -------- About + stats -------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
}

.about-copy p {
  font-size: 18px;
  color: var(--body);
  line-height: 1.55;
  margin-bottom: 24px;
}

.about-portrait {
  aspect-ratio: 4/5;
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: var(--space-lg);
}

.about-portrait img { width: 100%; height: 100%; object-fit: cover; }

.about-stats { display: flex; flex-direction: column; }

.about-stat {
  display: grid;
  grid-template-columns: 0.32fr 0.68fr;
  gap: var(--space-sm);
  align-items: center;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.about-stat:first-child { border-top: 1px solid var(--line); }

.about-stat-value {
  font-size: clamp(38px, 4.6vw, 56px);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.about-stat-caption { font-size: 16px; color: var(--body); line-height: 1.5; }

.placeholder-flag {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent-text);
  border: 1px solid var(--accent-text);
  border-radius: var(--radius);
  padding: 1px 6px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* -------- Blog / resources -------- */
.resources-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.resource-frame {
  position: relative;
  aspect-ratio: 3/4;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: var(--space-sm);
}

.resource-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(.2,.8,.2,1);
}

.resource-card:hover .resource-frame img { transform: scale(1.04); }

.resource-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(27,38,50,0.55) 0%, transparent 45%);
}

.resource-teaser {
  position: absolute;
  top: 0; left: 0;
  z-index: 1;
  padding: 28px;
  color: var(--on-dark);
  font-size: 30px;
  font-weight: 500;
  max-width: 80%;
}

.resource-date {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 8px;
}

.resource-title {
  font-size: 20px;
  font-weight: 500;
  color: var(--ink);
  transition: color 0.3s ease;
}

.resource-card:hover .resource-title { color: var(--accent-text); }

/* -------- FAQ accordion -------- */
.accordion { border-top: 1px solid var(--line); }

.accordion-item { border-bottom: 1px solid var(--line); }

.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 28px 0;
  text-align: left;
}

.accordion-icon {
  position: relative;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
}

.accordion-icon::before,
.accordion-icon::after {
  content: "";
  position: absolute;
  background: var(--ink);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.accordion-icon::before { top: 50%; left: 0; width: 100%; height: 1.5px; transform: translateY(-50%); }
.accordion-icon::after { left: 50%; top: 0; width: 1.5px; height: 100%; transform: translateX(-50%); }

.accordion-trigger[aria-expanded="true"] .accordion-icon { transform: rotate(45deg); }

.accordion-question { font-size: 20px; font-weight: 400; color: var(--ink); }

.accordion-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.38s ease;
}

.accordion-panel > div { overflow: hidden; }

.accordion-trigger[aria-expanded="true"] + .accordion-panel { grid-template-rows: 1fr; }

.accordion-answer {
  font-size: 16px;
  color: var(--body);
  line-height: 1.65;
  max-width: 78ch;
  padding: 0 0 28px 50px;
}

/* -------- Final CTA + footer (dark band) -------- */
.final-band {
  position: relative;
  background: var(--ink-soft);
  color: var(--on-dark);
  overflow: hidden;
}

.final-band-photo {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 35%;
}

.final-band-scrim {
  position: absolute;
  inset: 0;
  background: rgba(27,38,50,0.72);
}

.final-band-inner { position: relative; z-index: 1; }

.cta-band {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--space-lg);
  padding-top: 96px;
  flex-wrap: wrap;
}

.cta-band-sub { font-size: 18px; color: rgba(238,233,223,0.75); margin-top: var(--space-sm); max-width: 44ch; }
.cta-band-right { display: flex; flex-direction: column; align-items: flex-end; gap: var(--space-sm); flex-shrink: 0; }

.footer-band {
  display: flex;
  justify-content: space-between;
  gap: var(--space-lg);
  padding-top: 72px;
  flex-wrap: wrap;
}

.footer-brand-block { display: flex; align-items: center; gap: var(--space-md); }
.footer-logo { font-size: 32px; font-weight: 500; }
.footer-vrule { width: 1px; height: 44px; background: rgba(238,233,223,0.25); }

.footer-meta {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.6;
  color: rgba(238,233,223,0.7);
}

.footer-columns { display: flex; gap: 64px; }
.footer-col { text-align: right; }

.footer-col-heading {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(238,233,223,0.5);
  border-bottom: 1px solid rgba(238,233,223,0.25);
  padding-bottom: 8px;
  margin-bottom: 12px;
}

.footer-col a {
  display: block;
  font-size: 16px;
  color: var(--on-dark);
  padding: 5px 0;
  transition: color 0.2s ease;
}

.footer-col a:hover { color: var(--accent); }

.legal-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
  margin-top: 72px;
  padding: 28px 0;
  border-top: 1px solid rgba(238,233,223,0.2);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(238,233,223,0.6);
}

.legal-bar button { color: inherit; font: inherit; letter-spacing: inherit; text-transform: inherit; }
.legal-bar button:hover { color: var(--on-dark); }

/* -------- Motion: scroll reveal -------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  filter: blur(6px);
  transition: opacity 0.7s cubic-bezier(.16,1,.3,1), transform 0.7s cubic-bezier(.16,1,.3,1), filter 0.7s cubic-bezier(.16,1,.3,1);
  transition-delay: calc(var(--i, 0) * 80ms);
}

.js .reveal { opacity: 0; }
.reveal.in-view { opacity: 1; transform: translateY(0); filter: blur(0); }

.hero-content .reveal { transition-delay: calc(200ms + (var(--i, 0) * 100ms)); }

@media (prefers-reduced-motion: reduce) {
  .reveal, .js .reveal { opacity: 1; transform: none; filter: none; transition: none; }
  html { scroll-behavior: auto; }
  .marquee-track { animation: none; }
  .site-header { transform: none !important; }
}

/* ============================================
   Responsive
============================================ */
@media (max-width: 1199px) {
  .container { padding: 0 32px; }
  .statement-grid, .about-grid { gap: var(--space-lg); }
  .pillars-grid .pillar-card:nth-child(2n) { margin-top: 120px; }
}

@media (max-width: 899px) {
  .main-nav, .nav-cta, .nav-divider { display: none; }
  .menu-toggle { display: flex; }

  .hero-content { flex-direction: column; align-items: flex-start; gap: var(--space-md); }
  .hero-stats { width: 100%; justify-content: space-between; }
  .hero-stat { padding-left: 0; border-left: none; flex: 1; }

  .statement-grid, .services-body, .about-grid { grid-template-columns: 1fr; }
  .services-body { display: flex; flex-direction: column-reverse; }
  .process-grid { grid-template-columns: 1fr; }
  .pillars-grid { grid-template-columns: 1fr; }
  .pillars-grid .pillar-card:nth-child(2n) { margin-top: 0; }
  .pillar-card:nth-child(odd) .pillar-card-img { order: 0; margin-top: 0; margin-bottom: var(--space-sm); }
  .resources-grid { grid-template-columns: 1fr 1fr; }

  .section-head { flex-direction: column; align-items: flex-start; gap: var(--space-sm); }

  .cta-band { flex-direction: column; }
  .cta-band-right { align-items: flex-start; }
  .footer-band { flex-direction: column; gap: var(--space-md); }
  .footer-columns { gap: var(--space-lg); }
  .footer-col { text-align: left; }
  .legal-bar { flex-direction: column; align-items: flex-start; gap: var(--space-xs); }
}

@media (max-width: 639px) {
  .container { padding: 0 20px; }
  .hero { min-height: 88svh; }
  .eyebrow, .index-chip, .comparison-label { font-size: 12px; letter-spacing: 0.1em; }
  .resources-grid { grid-template-columns: 1fr; }
  .about-stat { grid-template-columns: 1fr; gap: 8px; }
  .btn-primary.full-mobile { width: 100%; }
  .accordion-answer { padding-left: 0; }
  .accordion-trigger { gap: 16px; }
}
