/* sections.css — section-level layout and chrome
   Migrated from inline during Step 3. Will be overwritten section-by-section
   in subsequent steps (nav→Step 4, hero→Step 5, footer→Step 6, etc.). */

/* ─── HERO (brief Section 7 — Editorial Terminal) ─── */
.hero {
  position: relative;
  min-height: clamp(720px, 100vh, 900px);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  overflow: hidden;
  background: var(--ink-900);
  padding-top: var(--section-pad-y);
  padding-bottom: var(--section-pad-y);
}
.hero > .container { width: 100%; }
.hero-bg {
  position: absolute; inset: 0;
  background: url('/assets/img/bg-lounge.jpg') center/cover;
  filter: brightness(.35) saturate(.45) contrast(1.05);
  z-index: 0;
}
.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='160' height='160' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='1' cy='1' r='.5' fill='rgba(255,255,255,0.04)'/%3E%3C/svg%3E");
  background-size: 160px 160px;
  opacity: 0.6;
  pointer-events: none;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,14,26,.3), rgba(10,14,26,.85));
  z-index: 1;
}
.hero .container,
.hero-grid {
  position: relative;
  z-index: 2;
  align-items: center;
}
.hero-copy { grid-column: 1 / span 7; }
.hero-showcase {
  grid-column: 8 / span 5;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  will-change: transform;
  transform: translateY(12px);
}
/* CSS float only when JS parallax won't run (touch or reduced-motion) */
@media (hover: none) and (prefers-reduced-motion: no-preference) {
  .hero-showcase {
    animation: heroShowcaseFloat 7s ease-in-out infinite;
  }
}
@keyframes heroShowcaseFloat {
  0%, 100% { transform: translateY(12px); }
  50%      { transform: translateY(4px); }
}

/* Presence stack — 3 hubs cycling through top position */
.presence-stack {
  position: relative;
  width: 100%;
  max-width: 460px;
  min-height: 440px;
  perspective: 1200px;
}
.presence-card {
  position: absolute;
  top: 0; left: 0; right: 0;
  background: linear-gradient(180deg, rgba(18,23,38,0.94), rgba(12,16,32,0.9));
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 2.5vw, 32px) clamp(24px, 2.8vw, 36px);
  box-shadow:
    0 40px 80px rgba(0,0,0,0.55),
    inset 0 1px 0 rgba(255,255,255,0.04);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--ink-100);
  overflow: hidden;
  transform-origin: center center;
  transition:
    transform 1100ms var(--ease-out-expo),
    opacity 1100ms var(--ease-out-expo),
    filter 1100ms var(--ease-out-expo);
  will-change: transform, opacity;
}
.presence-card[data-state="0"] {
  transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
  opacity: 1;
  filter: blur(0) saturate(1);
  z-index: 3;
  pointer-events: auto;
}
.presence-card[data-state="1"] {
  transform: translate3d(-18px, 18px, -60px) rotate(-2.5deg) scale(0.96);
  opacity: 0.55;
  filter: blur(0.3px) saturate(0.9);
  z-index: 2;
  pointer-events: none;
}
.presence-card[data-state="2"] {
  transform: translate3d(-34px, 34px, -120px) rotate(-5deg) scale(0.92);
  opacity: 0.28;
  filter: blur(0.8px) saturate(0.8);
  z-index: 1;
  pointer-events: none;
}
/* Cycle-in state: top card gets an inner pulse when it lands */
.presence-card[data-state="0"].just-cycled {
  animation: presenceLand 900ms var(--ease-out-expo);
}
@keyframes presenceLand {
  0%   { transform: translate3d(20px, -6px, 0) rotate(2deg) scale(1.02); filter: brightness(1.15); }
  100% { transform: translate3d(0, 0, 0) rotate(0deg) scale(1); filter: brightness(1); }
}
@media (prefers-reduced-motion: reduce) {
  .presence-card { transition: opacity 300ms linear; }
  .presence-card[data-state="0"].just-cycled { animation: none; }
}
.presence-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(105,218,184,0.6), transparent);
  animation: presenceSweep 4.5s ease-in-out infinite;
}
@keyframes presenceSweep {
  0%, 100% { transform: translateX(-30%); opacity: 0.4; }
  50%      { transform: translateX(30%); opacity: 1; }
}
.presence-card-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 20px;
}
.live-dot-sm {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--terminal-green);
  box-shadow: 0 0 0 0 rgba(105,218,184,0.7);
  animation: liveDotSmPulse 2.4s ease-out infinite;
}
@keyframes liveDotSmPulse {
  0%   { box-shadow: 0 0 0 0 rgba(105,218,184,0.7); }
  70%  { box-shadow: 0 0 0 10px rgba(105,218,184,0); }
  100% { box-shadow: 0 0 0 0 rgba(105,218,184,0); }
}
.presence-card-hub {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--terminal-green);
  text-transform: uppercase;
}
.presence-card-flight {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 20px;
}
.align-right { text-align: right; }
.presence-card-label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--ink-500);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.presence-card-value {
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--amber-signal);
}
.presence-card-availability {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: baseline;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 24px;
}
.presence-card-small {
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--ink-300);
}
.presence-card-count {
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--ink-100);
  text-align: right;
}
.presence-card-count strong {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  font-size: 24px;
  color: var(--ink-100);
  margin-right: 6px;
  letter-spacing: -0.01em;
}
.presence-card-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.presence-card-stats > div {
  text-align: center;
  padding: 14px 8px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: var(--radius-sm);
}
.presence-card-stat-num {
  font-family: var(--font-serif);
  font-weight: 500;
  font-style: italic;
  font-size: 26px;
  color: var(--amber-signal);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 6px;
}
.presence-card-stats > div:last-child .presence-card-stat-num {
  color: var(--terminal-green);
}
.presence-card-stat-label {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: var(--ink-500);
  text-transform: uppercase;
}

/* Gold italic on hero headline emphasis (matches reference treatment) */
h1#hero-heading em {
  color: var(--amber-signal);
  font-style: italic;
  font-weight: 500;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.eyebrow-amber { color: var(--amber-signal); }
.eyebrow-bronze { color: var(--bronze-400); }

h1#hero-heading,
.display-xl {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2.75rem, 1.5rem + 5vw, 5.5rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink-100);
  font-variation-settings: "opsz" 144;
  margin-bottom: 32px;
  max-width: 14ch;
}
/* em color defined below with amber-signal — see presence-card block */
.hero-sub {
  font-family: var(--font-sans);
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink-300);
  max-width: 52ch;
  margin-bottom: 36px;
}
.hero-ctas {
  display: flex;
  gap: 12px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.cta-outline {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 20px;
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--ink-100);
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 14px;
  text-decoration: none;
  transition: border-color 180ms, color 180ms;
  overflow: hidden;
}
.cta-outline .mono {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--ink-300);
}
.cta-outline::before {
  content: '→';
  color: var(--amber-signal);
  opacity: 0;
  margin-right: -16px;
  transition: opacity 180ms, margin-right 180ms;
}
.cta-outline:hover,
.cta-outline:focus-visible {
  border-color: var(--amber-signal);
  color: var(--ink-100);
}
.cta-outline:hover::before,
.cta-outline:focus-visible::before {
  opacity: 1;
  margin-right: 4px;
}
.cta-outline:active { transform: scale(0.98); }

.hero-footnote {
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--ink-500);
  text-transform: uppercase;
}

/* Boarding-pass strip beneath the hero fold (brief 7.3) */
.hero-boarding-strip {
  position: relative;
  z-index: 2;
  margin-top: 48px;
  padding-top: 16px;
  padding-bottom: 16px;
  border-top: 1px solid var(--amber-signal);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--ink-300);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
}
.perforation {
  flex: 1;
  display: flex;
  justify-content: space-between;
  gap: 6px;
  padding-inline: 16px;
  overflow: hidden;
}
.perforation::before {
  content: '';
  display: block;
  width: 100%;
  height: 4px;
  background-image: radial-gradient(circle, var(--amber-signal) 1px, transparent 1.5px);
  background-size: 16px 4px;
  background-repeat: repeat-x;
  background-position: center;
}

/* Destination ticker / marquee (brief 7.4) */
.marquee,
.destination-ticker {
  padding: 20px 0;
  overflow: hidden;
  background: var(--ink-900);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
  border-top: 1px solid var(--ink-700);
  border-bottom: 1px solid var(--ink-700);
}
.marquee-inner {
  display: flex;
  gap: 28px;
  animation: tickerScroll 60s linear infinite;
  white-space: nowrap;
  font-family: var(--font-serif);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(18px, 3vw, 28px);
  color: var(--ink-500);
  align-items: center;
}
.marquee:hover .marquee-inner,
.destination-ticker:hover .marquee-inner {
  animation-play-state: paused;
}
@keyframes tickerScroll { to { transform: translateX(-50%); } }
.marquee-inner span { font-family: inherit; font-size: inherit; letter-spacing: normal; text-transform: none; opacity: 1; color: var(--ink-300); }
.marquee-inner .gold,
.marquee-inner .sep { color: var(--amber-signal); opacity: 1; font-size: 0.9em; margin: 0 4px; }

@media (prefers-reduced-motion: reduce) {
  .marquee-inner,
  .destination-ticker .marquee-inner { animation: none; }
}

/* Responsive — brief 14.2 */
@media (max-width: 1023px) {
  .hero-copy,
  .hero-showcase {
    grid-column: 1 / -1;
  }
  .hero-showcase {
    justify-content: center;
    margin-top: 40px;
    transform: none;
  }
  .presence-card { max-width: 520px; }
  .hero-boarding-strip { flex-direction: column; gap: 12px; align-items: flex-start; }
}
@media (max-width: 600px) {
  h1#hero-heading { font-size: 2.75rem; }
  .hero-sub { font-size: 16px; }
}

/* ─── STORY (brief Section 8 — editorial magazine treatment) ─── */
.story {
  padding: var(--section-pad-y) 0;
  background: var(--cream-50);
  position: relative;
  color: var(--cream-800);
}
.story-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: left;
  position: relative;
}
.story-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bronze-400);
  margin-bottom: 36px;
  display: block;
}
.story h2 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--cream-900);
  margin-bottom: 48px;
  font-variation-settings: "opsz" 144;
  max-width: 20ch;
}
.story h2 em {
  font-style: italic;
  font-weight: 500;
  color: var(--cream-900);
}
.story p {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 22px;
  line-height: 1.55;
  letter-spacing: -0.005em;
  color: var(--cream-800);
  margin-bottom: 28px;
}
.story p .lede {
  font-style: italic;
}
.story p strong {
  font-family: var(--font-sans);
  font-weight: 500;
  color: var(--cream-900);
  font-style: normal;
  letter-spacing: 0;
}
.story-line {
  display: none; /* replaced by story-close rules (brief 8.2) */
}
.story-close {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 28px;
  line-height: 1.35;
  color: var(--cream-900);
  text-align: center;
  padding-block: 48px;
  margin-top: 48px;
  margin-bottom: 0;
  border-top: 1px solid var(--amber-signal);
  border-bottom: 1px solid var(--amber-signal);
  font-style: normal;
}
.story-close span { color: var(--cream-900); }

/* Story lounge image (brief 8.3) */
.story-lounge {
  margin: 0;
  width: 100%;
  overflow: hidden;
}
.story-lounge img {
  width: 100%;
  height: clamp(320px, 50vh, 560px);
  object-fit: cover;
  display: block;
  filter: grayscale(15%) contrast(1.05) brightness(0.92);
}

@media (max-width: 600px) {
  .story p { font-size: 18px; }
  .story-close { font-size: 22px; padding-block: 32px; }
}

/* ─── PHOTO BREAK ─── */
.photo-break {
  position: relative;
  height: clamp(300px, 40vw, 500px);
  overflow: hidden;
}
.photo-break img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 40%;
  filter: brightness(.45) saturate(.5);
}
.photo-break-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, var(--navy), transparent 20%, transparent 80%, var(--navy));
}

/* ─── HOW IT WORKS (brief Section 9 — zigzag with bronze step numerals) ─── */
.how {
  position: relative;
  padding: var(--section-pad-y) 0;
  background: var(--ink-900);
}
.how::before {
  content: '';
  position: absolute;
  left: 50%;
  top: var(--section-pad-y);
  bottom: var(--section-pad-y);
  width: 1px;
  background-image: linear-gradient(to bottom, var(--ink-700) 50%, transparent 50%);
  background-size: 1px 6px;
  pointer-events: none;
  z-index: 0;
}
.how-intro-block {
  max-width: 48ch;
  margin-bottom: 96px;
}
.how-intro-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--bronze-400);
  text-transform: uppercase;
  margin-bottom: 16px;
  display: block;
}
.how-title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2.25rem, 1.5rem + 3vw, 3.75rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink-100);
  margin-bottom: 24px;
  font-variation-settings: "opsz" 144;
}
.how-body {
  font-family: var(--font-sans);
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink-300);
}
.how-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.how-step {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: var(--gutter);
  align-items: center;
  margin-block: clamp(80px, 10vw, 160px);
  position: relative;
  z-index: 1;
  padding: 0;
  border: none;
}
.how-step-odd .how-step-copy { grid-column: 1 / span 6; }
.how-step-odd .how-step-screen { grid-column: 8 / span 5; }
.how-step-even .how-step-copy { grid-column: 7 / span 6; grid-row: 1; }
.how-step-even .how-step-screen { grid-column: 1 / span 5; grid-row: 1; }

.step-numeral {
  display: flex;
  align-items: baseline;
  gap: 0.2em;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: clamp(4rem, 8vw, 7rem);
  color: var(--bronze-400);
  line-height: 1;
  margin-bottom: 16px;
}
.step-numeral .slash,
.step-numeral .label {
  font-size: 0.28em;
  letter-spacing: 0.18em;
  font-weight: 500;
}
.how-step-copy h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--ink-100);
  margin-bottom: 16px;
  max-width: 14ch;
}
.how-step-copy p {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-300);
  max-width: 42ch;
}
.how-step-screen {
  display: flex;
  justify-content: center;
}
.how-step-screen img {
  width: 100%;
  max-width: 320px;
  height: auto;
  border: 1px solid var(--ink-700);
  border-radius: var(--radius-lg);
  transition: transform 600ms var(--ease-out-expo), filter 400ms;
  filter: saturate(0.85) brightness(0.92);
  display: block;
}
.how-step-odd .how-step-screen img { transform: rotate(-3deg); }
.how-step-even .how-step-screen img { transform: rotate(3deg); }
.how-step-odd .how-step-screen img:hover,
.how-step-even .how-step-screen img:hover {
  transform: rotate(0);
  filter: saturate(1) brightness(1);
}

/* Amber dot between steps */
.how-step::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: calc(-1 * clamp(40px, 5vw, 80px));
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--amber-signal);
  transform: translateX(-50%);
  opacity: 0.6;
}
.how-step:last-child::after { display: none; }

@media (max-width: 1023px) {
  .how::before { display: none; }
  .how-step,
  .how-step-odd,
  .how-step-even {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-block: 64px;
  }
  .how-step-odd .how-step-copy,
  .how-step-odd .how-step-screen,
  .how-step-even .how-step-copy,
  .how-step-even .how-step-screen {
    grid-column: 1 / -1;
    grid-row: auto;
  }
  .how-step-odd .how-step-screen,
  .how-step-even .how-step-screen { grid-row: 1; }
  .how-step-odd .how-step-screen img,
  .how-step-even .how-step-screen img { transform: none; max-width: 240px; }
  .how-step::after { display: none; }
}

/* ─── FEATURES (brief Section 10 — chapter structure on cream) ─── */
.features {
  padding: var(--section-pad-y) 0;
  background: var(--cream-50);
  color: var(--cream-900);
  position: relative;
}
.features-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--bronze-400);
  text-transform: uppercase;
  display: block;
  margin-bottom: 24px;
}
.features-eyebrow .sep { color: var(--amber-signal); margin-inline: 0.5em; }
.features-title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2.25rem, 1.5rem + 3vw, 3.75rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--cream-900);
  margin-bottom: 20px;
  max-width: 18ch;
  font-variation-settings: "opsz" 144;
}
.features-subhead {
  font-family: var(--font-sans);
  font-size: 18px;
  line-height: 1.6;
  color: var(--cream-600);
  max-width: 60ch;
  margin-bottom: 96px;
}

.chapter {
  margin-block: 128px;
}
.chapter:first-of-type { margin-top: 0; }
.chapter-head {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 32px;
  margin-bottom: 64px;
}
.chapter-numeral {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(5rem, 10vw, 8rem);
  color: var(--bronze-400);
  line-height: 0.85;
  font-variation-settings: "opsz" 144;
}
.chapter-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.chapter-name {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: var(--cream-900);
  text-transform: uppercase;
  white-space: nowrap;
}
.chapter-bar {
  display: inline-block;
  width: 1px;
  height: 20px;
  background: var(--amber-signal);
}
.chapter-tag {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(18px, 2vw, 24px);
  color: var(--cream-900);
  line-height: 1.2;
}
.chapter-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 64px;
  row-gap: 80px;
}
.feat-card {
  background: none;
  border: none;
  box-shadow: none;
  padding: 0;
  transition: none;
}
.feat-card:hover {
  background: none;
  border: none;
  box-shadow: none;
  transform: none;
}
.feat-card .icon-frame {
  margin-bottom: 24px;
}
.feat-title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 20px;
  line-height: 1.3;
  color: var(--cream-900);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.feat-desc {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.6;
  color: var(--cream-600);
  margin-bottom: 16px;
}
.feat-rule {
  border: none;
  border-top: 1px solid var(--cream-200);
  margin: 16px 0 12px;
}
.feat-stat {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--bronze-400);
  text-transform: uppercase;
}
.chapter-sep {
  border: none;
  border-top: 1px solid var(--cream-200);
  margin: 0;
}

@media (max-width: 1023px) {
  .chapter-grid {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 32px;
    row-gap: 56px;
  }
  .chapter-head { gap: 20px; }
}
@media (max-width: 767px) {
  .chapter-grid { grid-template-columns: 1fr; row-gap: 48px; }
  .chapter { margin-block: 80px; }
  .chapter-head { grid-template-columns: 1fr; gap: 12px; margin-bottom: 40px; }
  .features-subhead { margin-bottom: 64px; }
}

/* ─── STATS → DESTINATION BOARD (brief Section 11) ─── */
.stats {
  position: relative;
  padding: var(--section-pad-y) 0;
  background: var(--ink-900);
  text-align: center;
  overflow: hidden;
  color: var(--ink-100);
}
.stats-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.3;
  filter: saturate(0.3) contrast(1.1);
}
.stats::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,14,26,0.85), rgba(10,14,26,0.7), rgba(10,14,26,0.9));
  z-index: 1;
}
.stats > .container { position: relative; z-index: 2; }

.destination-board {
  max-width: 960px;
  margin-inline: auto;
  background: var(--ink-800);
  border: 1px solid var(--ink-700);
  border-radius: var(--radius-md);
  padding: clamp(24px, 4vw, 40px);
  text-align: left;
}
.board-table {
  width: 100%;
  border-collapse: collapse;
}
.board-table caption { text-align: left; }
.board-table thead th {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--bronze-400);
  text-transform: uppercase;
  text-align: left;
  padding: 0 16px 20px 0;
  border-bottom: 1px solid var(--ink-700);
}
.board-table tbody th,
.board-table tbody td {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 14px;
  color: var(--ink-100);
  padding: 14px 16px 14px 0;
  text-align: left;
  letter-spacing: 0.04em;
}
.board-table tbody th {
  font-weight: 500;
  color: var(--ink-100);
}
.board-table tbody tr + tr th,
.board-table tbody tr + tr td {
  border-top: 1px solid var(--ink-700);
}
.board-table tbody th span {
  font-weight: 400;
  color: var(--ink-300);
  margin-left: 8px;
}
[data-local-time] {
  font-variant-numeric: tabular-nums;
  display: inline-block;
  min-width: 5ch;
}
.status-open {
  color: var(--terminal-green);
  font-weight: 500;
  letter-spacing: 0.2em;
}

.stats-cta {
  margin-top: 96px;
  text-align: center;
}
.stats-tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(22px, 2.5vw, 28px);
  color: var(--ink-100);
  line-height: 1.4;
  margin-bottom: 16px;
  max-width: 32ch;
  margin-inline: auto;
}
.stats-fine {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--bronze-400);
  text-transform: uppercase;
  margin-bottom: 32px;
}
.stats-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 767px) {
  .board-table tbody td:nth-child(2),
  .board-table thead th:nth-child(2) { display: none; }
  .stats-cta { margin-top: 64px; }
}

/* ─── FOOTER (brief Section 12 — boarding-pass stub) ─── */
.footer {
  position: relative;
  padding: 80px 0 40px;
  background: var(--ink-900);
}
.footer::before {
  content: '';
  display: block;
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: var(--amber-signal);
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--gutter);
  position: relative;
  padding-bottom: 64px;
}
.footer-grid::after {
  content: '';
  position: absolute;
  left: 66.666%;
  top: 0;
  bottom: 64px;
  width: 1px;
  background-image: linear-gradient(to bottom, var(--ink-700) 50%, transparent 50%);
  background-size: 1px 7px;
}
.footer-main { grid-column: 1 / span 8; padding-right: 48px; }
.footer-brand-logo {
  display: block;
  height: auto;
  width: clamp(96px, 9vw, 128px);
  margin-bottom: 28px;
  filter: drop-shadow(0 0 32px rgba(234, 194, 73, 0.2));
  transition: filter 400ms var(--ease-out-expo);
}
.footer-brand-logo:hover {
  filter: drop-shadow(0 0 40px rgba(234, 194, 73, 0.35));
}
.footer-tagline {
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--ink-300);
  line-height: 1.6;
  max-width: 48ch;
  margin-bottom: 40px;
}
.footer-link-groups {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 560px;
}
.footer-link-groups h5 {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--ink-500);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.footer-link-groups a {
  display: block;
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--ink-300);
  text-decoration: none;
  margin-bottom: 10px;
  transition: color 180ms;
}
.footer-link-groups a:hover,
.footer-link-groups a:focus-visible { color: var(--ink-100); }

.footer-stub { grid-column: 9 / span 4; padding-left: 48px; }
.footer-stub-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--ink-500);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.footer-serial {
  font-family: var(--font-mono);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--ink-100);
  margin-bottom: 32px;
}
.footer-copy {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--ink-500);
  text-transform: uppercase;
  line-height: 1.6;
  max-width: 32ch;
}
.footer-perforation {
  display: block;
  height: 4px;
  background-image: radial-gradient(circle, var(--ink-700) 1.2px, transparent 1.6px);
  background-size: 18px 4px;
  background-repeat: repeat-x;
  background-position: center;
  margin-top: 24px;
}

@media (max-width: 900px) {
  .footer-main,
  .footer-stub {
    grid-column: 1 / -1;
    padding: 0;
  }
  .footer-stub {
    margin-top: 48px;
    border-top: 1px solid var(--ink-700);
    padding-top: 32px;
  }
  .footer-grid::after { display: none; }
}
@media (max-width: 600px) {
  .footer-link-groups { grid-template-columns: 1fr; gap: 24px; }
}

/* ─── RESPONSIVE (brief 14.1 breakpoints adopted in later steps) ─── */
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; text-align: center; }
  .hero-content { max-width: 100%; }
  .hero-body { margin-left: auto; margin-right: auto; }
  .hero-badges { justify-content: center; }
  .hero-phone { margin-top: 40px; }
  .phone { width: 220px; }
  .how-step, .how-step.flip {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: 24px;
    text-align: center;
  }
  .how-step > * { direction: ltr; }
  .how-phone .phone { width: 200px; margin: 0 auto; }
  .fgrid { grid-template-columns: 1fr; }
  .foot-inner { grid-template-columns: 1fr 1fr; gap: 24px; }
}
@media (max-width: 600px) {
  .nav-links, .nav-stores { display: none; }
  .hamburger { display: block; }
  .hero h1 { font-size: 32px; }
  .hero-badges { flex-direction: column; align-items: center; }
  .fseg { padding: 28px 20px 24px; }
  .fseg-head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .fc { padding: 20px 16px; }
  .fc h3 { font-size: 16px; }
  .stats-grid { gap: 20px; }
  .stats .store-row { flex-direction: column; align-items: center; }
  .foot-inner { grid-template-columns: 1fr; }
}
