/* ==========================================================================
   Launch — site styles
   Same structural system as the Club Polis canary (sticky glass header,
   night hero, editorial sections, night CTA band) with its own identity:
   a dusk sky, a single flame accent, and a rising trajectory motif.
   ========================================================================== */

:root {
  /* Paper */
  color-scheme: light;
  --paper:        #f5f3ee;
  --paper-rgb:    245, 243, 238;
  --paper-2:      #ece9e1;
  --paper-3:      #e0dccf;
  --ink:          #10131c;
  --ink-soft:     #3b4152;
  --ink-mute:     #666b78;
  --line:         #dad6ca;
  --line-soft:    #e6e2d7;
  --surface:      #ffffff;   /* cards and sheets sitting on paper */

  /* Dusk */
  --night:        #0c1020;
  --night-2:      #131a30;
  --night-3:      #1c2442;
  --night-line:   #2a3354;

  /* Signal colors */
  --flame:        #f0643a;
  --flame-hi:     #ff8058;
  --flame-deep:   #b8421d;
  --sky:          #8fb0ff;
  --sky-soft:     rgba(143, 176, 255, .14);

  /* Type */
  --display: "Bricolage Grotesque", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --body: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Rhythm */
  --wrap: 1180px;
  --wrap-narrow: 760px;
  --section-y: clamp(4rem, 9vw, 7.5rem);
  --radius: 10px;
  --radius-sm: 6px;
  --ease: cubic-bezier(.2, .7, .3, 1);

  --shadow-sm: 0 1px 2px rgba(16, 19, 28, .06), 0 4px 12px rgba(16, 19, 28, .05);
  --shadow-md: 0 2px 6px rgba(16, 19, 28, .08), 0 18px 44px rgba(16, 19, 28, .12);
}

/* Dark theme: the paper sections go to a dusk slate one step lighter than
   the night bands (hero, CTA, footer), so those still read as separate
   bands. Follows the device setting unless the header toggle has set
   data-theme. The two blocks below are identical on purpose. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --paper: #131a2d; --paper-rgb: 19, 26, 45;
    --paper-2: #182038; --paper-3: #202a47;
    --surface: #1b2440;
    --ink: #eceef5; --ink-soft: #bcc2d2; --ink-mute: #8e96ab;
    --line: #2d3758; --line-soft: #232c49;
    --flame-deep: #ff8f6b;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .3), 0 4px 12px rgba(0, 0, 0, .2);
    --shadow-md: 0 2px 6px rgba(0, 0, 0, .35), 0 18px 44px rgba(0, 0, 0, .4);
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #131a2d; --paper-rgb: 19, 26, 45;
  --paper-2: #182038; --paper-3: #202a47;
  --surface: #1b2440;
  --ink: #eceef5; --ink-soft: #bcc2d2; --ink-mute: #8e96ab;
  --line: #2d3758; --line-soft: #232c49;
  --flame-deep: #ff8f6b;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .3), 0 4px 12px rgba(0, 0, 0, .2);
  --shadow-md: 0 2px 6px rgba(0, 0, 0, .35), 0 18px 44px rgba(0, 0, 0, .4);
}

/* --------------------------------------------------------------- Reset -- */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg, video { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.025em;
  margin: 0 0 .55em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 6vw, 4.25rem); font-weight: 800; }
h2 { font-size: clamp(1.95rem, 4vw, 2.85rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); letter-spacing: -0.015em; line-height: 1.2; }

p { margin: 0 0 1.2em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

a { color: var(--flame-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--flame);
  outline-offset: 3px;
  border-radius: 3px;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--night); color: #fff; padding: .75rem 1.25rem;
  font-size: .9rem; font-weight: 600;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* ------------------------------------------------------------ Utilities -- */

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.wrap-narrow { width: min(100% - 2.5rem, var(--wrap-narrow)); margin-inline: auto; }

.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(3rem, 6vw, 4.5rem); }
.band-paper { background: var(--paper-2); border-block: 1px solid var(--line-soft); }
.band-night { background: var(--night); color: #fff; }
.band-night h2 { color: #fff; margin-bottom: 0; }

.section-head { max-width: 44rem; margin-bottom: clamp(2.25rem, 5vw, 3.5rem); }
.section-head.center { margin-inline: auto; }
.section-head--split {
  max-width: none;
  display: flex; flex-wrap: wrap; gap: 1.5rem;
  align-items: end; justify-content: space-between;
}
.section-head--split h2 { margin-bottom: 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--body);
  font-size: .74rem; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--flame-deep);
  margin: 0 0 1.1rem;
  padding: 0;
}
/* The trajectory motif in miniature: a short rising stroke before each label. */
.eyebrow::before {
  content: ""; width: 18px; height: 8px; flex: none;
  background:
    radial-gradient(circle at 16px 2px, currentColor 2px, transparent 2.5px),
    linear-gradient(currentColor, currentColor) 0 100% / 12px 1.5px no-repeat;
  opacity: .9;
}
.eyebrow--onDark { color: var(--flame-hi); }
.eyebrow a { color: inherit; text-decoration: none; }
.eyebrow a:hover { color: #fff; }
.center .eyebrow { justify-content: center; }

.lede {
  font-size: clamp(1.09rem, 1.7vw, 1.26rem);
  line-height: 1.6;
  color: var(--ink-soft);
}
.center { text-align: center; }

/* Placeholder pill — content still to be supplied in site.config.js */
.tbd {
  display: inline-flex; align-items: center;
  font-family: var(--body);
  font-size: .72rem; font-weight: 600; font-style: normal;
  letter-spacing: .1em; text-transform: uppercase; line-height: 1.4;
  color: var(--flame-deep);
  background: rgba(240, 100, 58, .08);
  border: 1px dashed rgba(184, 66, 29, .45);
  border-radius: 100px;
  padding: .22rem .7rem;
  vertical-align: middle;
}
.hero .tbd, .page-hero .tbd, .card--night .tbd, .event-feature .tbd, .cta-band .tbd, .site-footer .tbd {
  color: var(--flame-hi);
  background: rgba(240, 100, 58, .1);
  border-color: rgba(255, 128, 88, .45);
}

/* ------------------------------------------------------------- Buttons -- */
/* Hover = the button lifts toward you and its light brightens. */

.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px;
  padding: .8rem 1.5rem;
  font-family: var(--body);
  font-size: .92rem; font-weight: 700; letter-spacing: .01em;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 100px;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease,
              transform .22s var(--ease), box-shadow .22s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); transition-duration: .06s; }
.btn--sm { min-height: 42px; padding: .6rem 1.2rem; font-size: .86rem; }

.btn--flame { background: var(--flame); color: var(--night); border-color: var(--flame); }
.btn--flame:hover {
  background: var(--flame-hi); border-color: var(--flame-hi); color: var(--night);
  box-shadow: 0 10px 26px -8px rgba(240, 100, 58, .65);
}
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn--ghostLight { background: transparent; color: #fff; border-color: rgba(255,255,255,.3); }
.btn--ghostLight:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.06); }

.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; }

.arrow-link {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .92rem; font-weight: 700;
  color: var(--ink); text-decoration: none;
  padding-bottom: .25rem;
  background: linear-gradient(var(--flame), var(--flame)) 0 100% / 100% 1.5px no-repeat;
  transition: gap .2s var(--ease), color .18s ease;
}
.arrow-link::after { content: "\2192"; transition: transform .2s var(--ease); }
.arrow-link[download]::after { content: "\2193"; }
.arrow-link:hover { color: var(--flame-deep); }
.arrow-link:hover::after { transform: translateX(3px); }
.arrow-link[download]:hover::after { transform: translateY(2px); }
.arrow-link--onDark { color: #fff; }
.arrow-link--onDark:hover { color: var(--flame-hi); }

/* -------------------------------------------------------------- Header -- */

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(var(--paper-rgb), .9);
  backdrop-filter: saturate(150%) blur(14px);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid var(--line-soft);
  transition: background-color .3s ease, border-color .3s ease;
}
/* Over a hero: transparent, fading in dusk-tinted glass as you scroll
   (--glass 0 -> 1, set by main.js). Past the hero: light glass. Both force
   position: fixed so the swap never changes the positioning model. */
.site-header.is-hero {
  position: fixed; inset: 0 0 auto 0;
  background: rgba(12, 16, 32, calc(var(--glass, 0) * .55));
  border-bottom-color: transparent;
}
@supports (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px)) {
  .site-header.is-hero {
    backdrop-filter: blur(calc(var(--glass, 0) * 14px)) saturate(calc(100% + var(--glass, 0) * 40%));
    -webkit-backdrop-filter: blur(calc(var(--glass, 0) * 14px)) saturate(calc(100% + var(--glass, 0) * 40%));
  }
}
.site-header.is-hero .brand { color: #fff; }
.site-header.is-hero .nav-toggle { border-color: rgba(255,255,255,.35); color: #fff; }
@media (min-width: 1001px) {
  .site-header.is-hero .nav__link { color: rgba(255,255,255,.78); }
  .site-header.is-hero .nav__link:hover { color: #fff; }
  .site-header.is-hero .nav__link[aria-current="page"] { color: #fff; }
}
.site-header.is-glass {
  position: fixed; inset: 0 0 auto 0;
  background: rgba(var(--paper-rgb), .78);
}
@supports (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px)) {
  .site-header.is-glass {
    background: rgba(var(--paper-rgb), .55);
    backdrop-filter: blur(16px) saturate(160%);
    -webkit-backdrop-filter: blur(16px) saturate(160%);
  }
}

.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; min-height: 72px;
}

.brand {
  display: inline-flex; align-items: center; gap: .65rem;
  text-decoration: none; color: var(--ink);
  flex: none;
  transition: color .3s ease;
}
.brand:hover { color: inherit; }
.mark { width: 34px; height: 34px; }
.mark circle:last-child { transition: transform .35s var(--ease); transform-origin: 27.2px 10.4px; }
.brand:hover .mark circle:last-child { transform: translate(1.5px, -1.5px); }
.brand__text {
  font-family: var(--display);
  font-size: 1.3rem; font-weight: 800;
  letter-spacing: -0.02em; line-height: 1;
}

.nav { display: flex; align-items: center; gap: 1.75rem; }
.nav__list { display: flex; align-items: center; gap: 1.45rem; list-style: none; margin: 0; padding: 0; }
/* Church-wide pages sit apart from the class's own, behind a hairline. */
.nav__church { padding-left: 1.45rem; border-left: 1px solid var(--line); }
.site-header.is-hero .nav__church { border-left-color: rgba(255,255,255,.22); }
.nav__link {
  position: relative;
  font-size: .92rem; font-weight: 600;
  color: var(--ink-soft); text-decoration: none;
  padding: .35rem 0;
  transition: color .16s ease;
}
.nav__link::after {
  content: ""; position: absolute; left: 50%; bottom: -2px;
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--flame);
  transform: translateX(-50%) scale(0);
  transition: transform .25s var(--ease);
}
.nav__link:hover { color: var(--ink); }
.nav__link[aria-current="page"] { color: var(--ink); }
.nav__link[aria-current="page"]::after { transform: translateX(-50%) scale(1); }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  background: none; border: 1px solid var(--line); border-radius: 50%;
  cursor: pointer; color: var(--ink);
  transition: color .3s ease, border-color .3s ease;
}
.nav-toggle svg { width: 20px; height: 20px; }

/* Theme toggle: shows the moon in light mode, the sun in dark. */
.theme-toggle {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 40px; height: 40px;
  background: none; border: 1px solid var(--line); border-radius: 50%;
  color: var(--ink); cursor: pointer;
  transition: color .3s ease, border-color .3s ease, transform .3s var(--ease);
}
.theme-toggle:hover { transform: rotate(-15deg); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .icon-sun { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .icon-sun { display: block; }
  :root:not([data-theme="light"]) .theme-toggle .icon-moon { display: none; }
}
:root[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
.site-header.is-hero .theme-toggle { border-color: rgba(255,255,255,.35); color: #fff; }
.site-header__inner { gap: 1rem; }
.site-header__inner .nav { margin-left: auto; }
@media (max-width: 1000px) { .theme-toggle { margin-left: auto; } }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 1000px) {
  .nav-toggle { display: inline-flex; }
  .nav__church { padding-left: 0; border-left: 0; margin-top: .75rem; }
  .nav__church .nav__link { border-top: 1px solid var(--line); }
  .nav {
    position: absolute; inset: 100% 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: .5rem 1.25rem 1.5rem;
    box-shadow: var(--shadow-md);
  }
  .nav[hidden] { display: none; }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__link {
    display: block; padding: .95rem .25rem;
    border-bottom: 1px solid var(--line-soft);
    font-size: 1rem;
  }
  .nav__link::after { left: auto; right: .5rem; top: 50%; bottom: auto; transform: translateY(-50%) scale(0); }
  .nav__link[aria-current="page"]::after { transform: translateY(-50%) scale(1); }
  .nav .btn { margin-top: 1.1rem; }
}

/* ---------------------------------------------------------------- Hero -- */

.hero {
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(120% 80% at 85% 0%, #1b2550 0%, transparent 60%),
    linear-gradient(180deg, var(--night) 0%, #10162c 70%, #151c36 100%);
  color: #fff;
  overflow: hidden;
}
/* When main.js floats the header over the hero, reserve its height. */
.hdr-float .hero { padding-top: 72px; }

/* The dusk sky: horizon, faint contour lines, and one trajectory drawn
   from the ground up to a point of light. The path draws once on load —
   it is the page's one "launch" moment — then stays still. */
.hero-sky {
  --px: 0px; --py: 0px; --lift: 0px;
  position: absolute; inset: 0; z-index: -1;
  pointer-events: none;
  transform: translate3d(var(--px), calc(var(--py) - var(--lift)), 0);
  will-change: transform;
}
.hero-sky svg { width: 100%; height: 100%; }
.hero-sky__stars circle { opacity: .5; }
/* Stars stay on the open right half of the sky, never behind the copy; on
   narrow screens the copy spans the full width, so they're dropped. */
@media (max-width: 899px) { .hero-sky__stars { display: none; } }
.hero-sky__contours { stroke-width: 1; opacity: .12; }
.hero-sky__horizon { stroke-width: 1; opacity: .35; }
.hero-sky__track { stroke-width: 1.4; opacity: .35; }
.hero-sky__path {
  stroke-width: 2.4; stroke-linecap: round;
  stroke-dasharray: 1; stroke-dashoffset: 1;
  animation: draw-path 1.8s .25s var(--ease) forwards;
}
.hero-sky__craft {
  opacity: 0; transform-box: fill-box; transform-origin: center;
  animation: craft-in .6s 1.7s ease-out forwards;
}
@keyframes draw-path { to { stroke-dashoffset: 0; } }
@keyframes craft-in { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: scale(1); } }
@media (prefers-reduced-motion: reduce) {
  .hero-sky { transform: none; }
  .hero-sky__path { animation: none; stroke-dashoffset: 0; }
  .hero-sky__craft { animation: none; opacity: 1; }
}

.hero__grid {
  display: grid; gap: clamp(2rem, 5vw, 4rem);
  grid-template-columns: 1fr;
  align-items: center;
  padding-block: clamp(3.5rem, 9vw, 7rem) clamp(4rem, 10vw, 8rem);
}
@media (min-width: 900px) {
  .hero__grid { grid-template-columns: 1.15fr .85fr; min-height: min(78vh, 760px); }
}

.hero__title {
  font-size: clamp(4rem, 13vw, 9.5rem);
  line-height: .9; letter-spacing: -0.05em;
  margin: 0 0 .25em;
  color: #fff;
}
.hero__title .tbd { font-size: 1rem; letter-spacing: .1em; }
.hero__dot { color: var(--flame); }
.hero__tagline {
  font-family: var(--display);
  font-size: clamp(1.35rem, 2.6vw, 1.85rem);
  font-weight: 500; line-height: 1.25; letter-spacing: -0.015em;
  color: #fff;
  max-width: 24em;
  margin-bottom: 1rem;
}
.hero__copy .lede { color: rgba(255,255,255,.72); max-width: 34em; }
.hero__btns { margin-top: 2rem; }

.hero__facts {
  display: flex; flex-wrap: wrap; gap: 1.25rem 2.5rem;
  margin: 2.5rem 0 0; padding-top: 1.4rem;
  border-top: 1px solid var(--night-line);
}
.hero__facts dt {
  font-size: .7rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: rgba(255,255,255,.5); margin-bottom: .3rem;
}
.hero__facts dd { margin: 0; font-weight: 500; color: rgba(255,255,255,.9); }

/* Right-hand side: a real photo, or the flight-plan card until photos exist. */
.hero__media--photo {
  position: relative; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,.6);
}
.hero__media--photo img { width: 100%; height: 100%; object-fit: cover; }
.hero__media--plan { display: flex; justify-content: center; perspective: 1200px; }

.plan-card {
  width: min(100%, 380px);
  background: linear-gradient(180deg, rgba(28,36,66,.92), rgba(19,26,48,.92));
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px;
  padding: 1.5rem 1.5rem 1.25rem;
  box-shadow: 0 30px 80px -24px rgba(0,0,0,.7), inset 0 1px 0 rgba(255,255,255,.08);
  transform: rotateY(-8deg) rotateX(4deg);
  transform-style: preserve-3d;
  transition: transform .5s var(--ease);
}
.plan-card:hover { transform: rotateY(-2deg) rotateX(1deg) translateZ(20px); }
.plan-card__head, .plan-card__foot {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  font-size: .7rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: rgba(255,255,255,.55);
}
.plan-card__head { padding-bottom: 1rem; border-bottom: 1px dashed rgba(255,255,255,.18); }
.plan-card__head span:last-child { color: var(--flame-hi); }
.plan-card__list { list-style: none; margin: 0; padding: .5rem 0; position: relative; }
.plan-card__list::before {
  content: ""; position: absolute; left: 1.05rem; top: 1.4rem; bottom: 1.4rem;
  border-left: 1px dashed rgba(143,176,255,.35);
}
.plan-card__list li {
  position: relative;
  display: flex; align-items: center; gap: 1rem;
  padding: .7rem 0;
  color: rgba(255,255,255,.88); font-weight: 500;
}
.plan-card__list li span:first-child {
  display: grid; place-items: center; flex: none;
  width: 2.1rem; height: 2.1rem; border-radius: 50%;
  background: var(--night-2); border: 1px solid rgba(143,176,255,.35);
  font-family: var(--display); font-size: .8rem; font-weight: 700; color: var(--sky);
}
.plan-card__list li.is-done { color: rgba(255,255,255,.45); }
.plan-card__list li.is-done span:first-child {
  background: rgba(240, 100, 58, .18); border-color: rgba(240, 100, 58, .45); color: var(--flame-hi);
}
.plan-card__list li.is-next { color: #fff; font-weight: 700; }
.plan-card__list li.is-next span:first-child {
  background: var(--flame); border-color: var(--flame); color: var(--night);
  box-shadow: 0 0 0 4px rgba(240, 100, 58, .2);
}
.plan-card__foot { padding-top: 1rem; border-top: 1px dashed rgba(255,255,255,.18); }
.plan-card__foot strong {
  font-family: var(--display); font-size: 1.35rem; font-weight: 700;
  letter-spacing: -0.01em; text-transform: none; color: #fff;
}
@media (max-width: 899px) {
  .plan-card, .plan-card:hover { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .plan-card:hover { transform: rotateY(-8deg) rotateX(4deg); }
}

/* Interior page hero — the same sky, compressed to a band. */
.page-hero {
  position: relative; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(90% 120% at 100% 0%, #1b2550 0%, transparent 60%),
    var(--night);
  color: #fff;
  padding-block: clamp(3rem, 6vw, 4.5rem) clamp(3.5rem, 7vw, 5rem);
}
.hdr-float .page-hero { padding-top: calc(72px + clamp(3rem, 6vw, 4.5rem)); }
.page-hero__lines {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(ellipse 70% 55% at 50% 135%, transparent 60%, rgba(143,176,255,.1) 60.2%, transparent 60.6%),
    radial-gradient(ellipse 90% 75% at 50% 140%, transparent 60%, rgba(143,176,255,.08) 60.2%, transparent 60.5%),
    radial-gradient(ellipse 115% 100% at 50% 145%, transparent 60%, rgba(143,176,255,.06) 60.15%, transparent 60.4%);
}
.page-hero h1 { color: #fff; max-width: 16em; }
.page-hero .lede { color: rgba(255,255,255,.72); max-width: 40em; }

/* ------------------------------------------------------------- Layouts -- */

.grid-2 {
  display: grid; gap: clamp(1.75rem, 4vw, 3.5rem);
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  align-items: center;
}
.grid-2--top { align-items: start; }
.grid-3 {
  display: grid; gap: clamp(1.5rem, 3vw, 2.25rem);
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
}
@media (min-width: 860px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

.pillar { border-top: 2px solid var(--ink); padding-top: 1.4rem; }
.pillar__num {
  display: block; margin-bottom: .7rem;
  font-family: var(--display); font-size: 1rem; font-weight: 800;
  color: var(--flame-deep);
}
.pillar p { color: var(--ink-soft); font-size: 1rem; margin: 0; }

/* ---------------------------------------------------------------- Cards -- */

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.6rem, 4vw, 2.5rem);
}
.card--night {
  background: var(--night-2);
  border-color: var(--night-line);
  color: rgba(255,255,255,.84);
}
.card--night h2, .card--night h3 { color: #fff; }
.h2--card { font-size: clamp(1.5rem, 3vw, 2rem); }

.detail-list { list-style: none; margin: 0; padding: 0; }
.detail-list li {
  display: grid; grid-template-columns: 7.5rem 1fr;
  gap: .4rem 1.25rem; align-items: baseline;
  padding: .95rem 0;
  border-bottom: 1px solid var(--line-soft);
}
.detail-list li:first-child { padding-top: 0; }
.detail-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.detail-list .dt {
  font-size: .7rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink-mute);
}
.detail-list .dd { font-size: 1.02rem; }
.card--night .detail-list li { border-color: var(--night-line); }
.card--night .detail-list .dt { color: rgba(255,255,255,.5); }
.card--night .detail-list a { color: var(--flame-hi); }
@media (max-width: 520px) {
  .detail-list li { grid-template-columns: 1fr; gap: .2rem; }
}

/* ---------------------------------------------------------- Flight path -- */
/* The series as waypoints on one route. The solid line runs from the
   first session to where the class is *today* (--progress, from the
   session dates): completed stops are lit, the next one is ringed. When it
   scrolls into view the line draws out to that point once — the one bit of
   motion here, and it shows progress through the series.
   Vertical on narrow screens. */

.flight-path {
  --progress: 0;
  --n: 6;
  position: relative;
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 1.75rem;
}
.flight-path::before, .flight-path::after {
  content: ""; position: absolute;
  left: 1.35rem; top: 1.35rem; bottom: 1.35rem; width: 0;
}
.flight-path::before { border-left: 1.5px dashed var(--line); }
.flight-path::after {
  border-left: 2px solid var(--flame);
  transform-origin: top; transform: scaleY(var(--progress));
  transition: transform 1.1s var(--ease);
}
/* Before the draw-in, hold completed stops unlit so they light as the
   line arrives (staggered by position). */
.flight-path.is-waiting .waypoint.is-done .waypoint__num {
  background: var(--paper-2); border-color: var(--line); color: var(--ink-mute);
}
.flight-path .waypoint.is-done .waypoint__num { transition-delay: calc(var(--i, 0) * 120ms); }
.waypoint {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 2.7rem 1fr; column-gap: 1.1rem;
  align-items: start; align-content: start;
}
.waypoint__num {
  grid-row: span 2;
  display: grid; place-items: center;
  width: 2.7rem; height: 2.7rem; border-radius: 50%;
  background: var(--paper-2);
  border: 1.5px solid var(--line);
  font-family: var(--display); font-weight: 800; font-size: .9rem;
  color: var(--ink-mute);
  transition: background-color .35s ease, border-color .35s ease, color .35s ease, transform .35s var(--ease);
}
.waypoint.is-done .waypoint__num {
  background: var(--flame); border-color: var(--flame); color: var(--night);
}
.waypoint.is-next .waypoint__num {
  background: var(--surface); border: 2px solid var(--flame); color: var(--flame-deep);
  box-shadow: 0 0 0 5px rgba(240, 100, 58, .16);
}
.waypoint.is-done .waypoint__title { color: var(--ink-soft); }
.waypoint__title { margin: .55rem 0 .35rem; font-size: 1.1rem; line-height: 1.25; }
.waypoint p { grid-column: 2; margin: 0; color: var(--ink-mute); font-size: .9rem; }
.waypoint.is-next p { color: var(--flame-deep); font-weight: 600; }
.waypoint.is-next p::before { content: "Next \00b7  "; }

@media (min-width: 820px) {
  .flight-path {
    grid-auto-columns: minmax(0, 1fr);
    grid-auto-flow: column; gap: 1.5rem;
  }
  .flight-path::before, .flight-path::after {
    /* End at the last waypoint's center, not the container's edge. */
    left: 1.35rem; top: 1.35rem; bottom: auto; height: 0; width: auto;
    right: calc((100% - (var(--n) - 1) * 1.5rem) / var(--n) - 1.35rem);
  }
  .flight-path::before { border-left: 0; border-top: 1.5px dashed var(--line); }
  .flight-path::after {
    border-left: 0; border-top: 2px solid var(--flame);
    transform-origin: left; transform: scaleX(var(--progress));
  }
  .waypoint { grid-template-columns: 1fr; }
  .waypoint__num { grid-row: auto; margin-bottom: 1.1rem; }
  .waypoint__title { margin-top: 0; }
  .waypoint p { grid-column: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .flight-path::after { transition: none; }
}

/* ------------------------------------------------------ Session cards -- */
/* Each session as a handout on a stack: the sheet beneath shows it's one
   of a set; hover lifts the top sheet toward you. */

.sessions {
  display: grid; gap: clamp(1.25rem, 3vw, 2rem);
  grid-template-columns: repeat(auto-fill, minmax(min(460px, 100%), 1fr));
}
.session { position: relative; padding: 0 0 8px 8px; }
.session__sheet {
  position: absolute; inset: 8px 0 0 8px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transform: rotate(1.4deg);
}
.session__card {
  position: relative;
  display: grid; grid-template-columns: auto 1fr; gap: 1.25rem;
  height: 100%;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.4rem, 3vw, 1.9rem);
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s ease;
}
.session:hover .session__card { transform: translate(-3px, -5px); box-shadow: var(--shadow-md); }
.session__num {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(2.6rem, 5vw, 3.4rem); line-height: .85; letter-spacing: -0.05em;
  color: var(--flame);
}
.session__label {
  display: block; margin-bottom: .45rem;
  font-size: .7rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--ink-mute);
}
.session h3 { margin-bottom: .45em; }
.session p { margin: 0; color: var(--ink-soft); font-size: .98rem; }
.session p + p { margin-top: .7rem; }
@media (prefers-reduced-motion: reduce) {
  .session:hover .session__card { transform: none; }
}
/* Where the class is: finished sessions quiet down, the next one is the
   top sheet on the pile. */
.session.is-done .session__num { color: var(--ink-mute); opacity: .55; }
.session.is-next .session__card { border-color: var(--flame); box-shadow: 0 16px 40px -18px rgba(240, 100, 58, .55); }
.session__badge:not(:empty) {
  display: inline-block; margin-left: .6rem; padding: .1rem .5rem;
  border-radius: 100px; background: var(--flame); color: var(--night);
  letter-spacing: .12em;
}
.session__related { font-size: .85rem !important; font-weight: 600; color: var(--flame-deep) !important; margin-bottom: .6rem !important; }
.session--quiet { padding: 0; }
.session--quiet .session__card { box-shadow: none; }
.session--quiet .session__num { font-size: 2rem; color: var(--ink-mute); }
.session--quiet:hover .session__card { transform: none; box-shadow: var(--shadow-sm); }

.series-head h2 { margin-bottom: .35em; }
.series-head .lede { max-width: 40em; }
.series-head__credit, .page-hero__note { margin-top: .9rem; font-size: .9rem; color: var(--ink-mute); }
.page-hero__note { color: rgba(255,255,255,.55); }

.notice {
  margin: 0 0 1.75rem; padding: .9rem 1.15rem;
  border: 1px dashed rgba(184, 66, 29, .45); border-radius: var(--radius-sm);
  background: rgba(240, 100, 58, .07); color: var(--ink-soft); font-size: .95rem;
}
.aside-link { margin-top: 2.5rem; color: var(--ink-mute); }
.aside-link a { font-weight: 600; white-space: nowrap; }

/* ------------------------------------------------------ Next class card -- */
/* The date as graphic design, over a faint sky grid. */

.event-feature {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--night-2);
  color: #fff;
  border: 1px solid var(--night-line);
  border-radius: var(--radius);
  padding: clamp(1.75rem, 4vw, 2.75rem);
  display: grid; grid-template-columns: auto 1fr;
  gap: clamp(1.5rem, 4vw, 2.75rem);
  align-items: start;
}
.event-feature__grid {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  opacity: .5;
  background-image:
    repeating-linear-gradient(0deg, var(--sky-soft) 0 1px, transparent 1px 40px),
    repeating-linear-gradient(90deg, var(--sky-soft) 0 1px, transparent 1px 40px);
  -webkit-mask-image: radial-gradient(120% 100% at 0% 0%, #000 20%, transparent 75%);
          mask-image: radial-gradient(120% 100% at 0% 0%, #000 20%, transparent 75%);
}
.event-feature__date {
  display: flex; flex-direction: column; align-items: flex-start;
  line-height: 1;
  padding-right: clamp(1.25rem, 3vw, 2.25rem);
  border-right: 1px solid var(--night-line);
}
.event-feature__kicker {
  font-size: .66rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  color: var(--flame-hi); margin-bottom: .7rem;
}
.event-feature__day {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(4rem, 9vw, 6.25rem); letter-spacing: -0.06em;
  color: #fff;
}
.event-feature__day--tba { color: rgba(255,255,255,.28); font-size: clamp(2.6rem, 6vw, 3.6rem); letter-spacing: -0.03em; }
.event-feature__month {
  margin-top: .35rem;
  font-size: .82rem; font-weight: 700; letter-spacing: .28em; text-transform: uppercase;
  color: rgba(255,255,255,.6);
}
.event-feature h3 { color: #fff; font-size: clamp(1.5rem, 3vw, 1.9rem); margin-bottom: 1.1rem; }
.event-feature__at { display: block; margin-top: .3rem; font-size: .6em; font-weight: 500; color: rgba(255,255,255,.65); letter-spacing: -0.01em; }
.event-feature__meta { list-style: none; margin: 0 0 1.75rem; padding: 0; display: grid; gap: .75rem; }
.event-feature__meta li { display: flex; align-items: flex-start; gap: .65rem; color: rgba(255,255,255,.82); }
.event-feature__meta svg { width: 18px; height: 18px; flex: none; margin-top: .25rem; color: var(--flame-hi); }
.event-feature__addr { color: rgba(255,255,255,.55); font-size: .92rem; }
.event-feature__actions { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.25rem; }
@media (max-width: 560px) {
  .event-feature { grid-template-columns: 1fr; }
  .event-feature__date {
    flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 0 .6rem;
    padding: 0 0 1.25rem; border-right: 0; border-bottom: 1px solid var(--night-line);
  }
  .event-feature__kicker { flex-basis: 100%; }
}

/* --------------------------------------------------------- Video player -- */
/* Click-to-play: a branded poster until the visitor presses play, so no
   YouTube code loads before then. */

.player {
  position: relative; aspect-ratio: 16 / 9;
  border-radius: var(--radius); overflow: hidden;
  background: var(--night);
  box-shadow: 0 30px 70px -30px rgba(12, 16, 32, .55);
}
.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.player__poster {
  position: absolute; inset: 0;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem;
  padding: clamp(1.25rem, 4vw, 2.5rem);
  color: #fff; text-decoration: none;
  background:
    radial-gradient(80% 90% at 80% 10%, #22306a 0%, transparent 60%),
    repeating-linear-gradient(0deg, rgba(143,176,255,.06) 0 1px, transparent 1px 44px),
    repeating-linear-gradient(90deg, rgba(143,176,255,.06) 0 1px, transparent 1px 44px),
    var(--night);
}
.player__poster:hover { color: #fff; }
.player__button {
  order: 2; flex: none;
  display: grid; place-items: center;
  width: clamp(64px, 9vw, 92px); height: clamp(64px, 9vw, 92px); border-radius: 50%;
  background: var(--flame); color: var(--night);
  box-shadow: 0 0 0 10px rgba(240, 100, 58, .16);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.player__button svg { width: 42%; height: 42%; margin-left: 6%; }
.player__poster svg { max-width: 48px; max-height: 48px; }
.player__poster:hover .player__button,
.player__poster:focus-visible .player__button { transform: scale(1.06); box-shadow: 0 0 0 16px rgba(240, 100, 58, .2); }
.player__label { display: grid; gap: .3rem; }
.player__label span { font-size: .75rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--flame-hi); }
.player__label strong { font-family: var(--display); font-size: clamp(1.6rem, 4vw, 2.6rem); line-height: 1; letter-spacing: -0.03em; }
.services-links { display: flex; flex-wrap: wrap; gap: 1rem 2rem; margin-top: 1.75rem; }

/* Church-wide page: a neutral band instead of the class's dusk sky, so it
   reads as the church's, not Launch's. */
.page-hero--church { background: linear-gradient(180deg, #1a1d26, #11131a); }

/* --------------------------------------------------------- Join / chats -- */

.join-grid { display: grid; gap: clamp(1.25rem, 3vw, 2rem); grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }
.join { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; }
.join h3 { margin: 0; font-size: 1.5rem; }
.join p { margin: 0; color: var(--ink-soft); }
.join__widget { min-height: 65px; }
.join__widget[hidden] { display: none; }
.join__status { font-size: .9rem; color: var(--ink-mute) !important; min-height: 1.4em; }
.join__status.is-err { color: var(--flame-deep) !important; }

/* ------------------------------------------------------------ Resources -- */

.stack { display: grid; gap: .9rem; }
/* Text on top, store icons in their own row underneath: room for any
   number of platforms without squeezing the description. */
.resource { padding: 1.25rem 1.4rem; }
.resource h3 { margin: 0 0 .25rem; font-size: 1.15rem; }
.resource p { margin: 0; font-size: .95rem; color: var(--ink-soft); }
.store-row {
  display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem;
  margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--line-soft);
}
.store-row__icons { display: flex; flex-wrap: wrap; gap: .5rem; }
.resource__platforms { font-size: .8rem; font-weight: 600; color: var(--ink-mute); }

/* Books: icons grouped by format, each group with a small label. */
.store-groups {
  display: flex; flex-wrap: wrap; gap: 1rem 1.75rem;
  margin-top: 1.1rem; padding-top: 1.1rem; border-top: 1px solid var(--line-soft);
}
.store-group { display: grid; gap: .45rem; }
.store-group__label {
  font-size: .68rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink-mute);
}
.store {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--paper-2); color: var(--ink);
  transition: background-color .2s ease, color .2s ease, transform .2s var(--ease);
}
.store:hover { background: var(--flame); color: var(--night); transform: translateY(-2px); }
.store svg { width: 20px; height: 20px; }

.books { display: grid; gap: 1.25rem; }
.book {
  display: grid; grid-template-columns: 14px 1fr; gap: 1.25rem;
  padding: 1.4rem 1.4rem 1.4rem 0; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  overflow: hidden;
}
.book__spine { background: linear-gradient(90deg, var(--night-3), var(--night-2)); border-right: 2px solid var(--flame); }
.book h3 { margin: 0 0 .15rem; font-size: 1.2rem; }
.book__author { margin: 0 0 .6rem; font-size: .9rem; font-weight: 600; color: var(--flame-deep); }
.book p:last-child { margin: 0; font-size: .95rem; color: var(--ink-soft); }

/* ------------------------------------------------------------ Calendar -- */

.embed-frame { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.embed-frame--calendar iframe { display: block; width: 100%; height: 560px; border: 0; }

.event-feature__week {
  display: block; margin-bottom: .5rem;
  font-size: .7rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: rgba(255,255,255,.55);
}
.next-class [hidden] { display: none; }

/* ---------------------------------------------------------------- Photos -- */

.gallery {
  display: grid; gap: clamp(.6rem, 1.4vw, 1rem);
  grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr));
}
.gallery__item {
  position: relative; display: block; width: 100%;
  margin: 0; padding: 0; border: 0;
  background: var(--paper-3);
  overflow: hidden;
  border-radius: var(--radius);
  cursor: zoom-in;
}
.gallery__item picture { display: block; }
.gallery__item img {
  display: block; width: 100%; height: auto;
  transition: transform .5s var(--ease);
}
.gallery__item:hover img { transform: scale(1.03); }
@media (prefers-reduced-motion: reduce) { .gallery__item:hover img { transform: none; } }

/* Gallery page: masonry columns, so each photo keeps its own shape — wide
   group shots stay wide instead of being cropped to a uniform tile. */
.gallery--masonry { display: block; columns: 3 320px; column-gap: clamp(.75rem, 1.6vw, 1.25rem); }
.gallery__cell { break-inside: avoid; margin: 0 0 clamp(.75rem, 1.6vw, 1.25rem); }
.gallery__cell figcaption {
  margin-top: .5rem; padding-left: .15rem;
  font-size: .85rem; font-weight: 600; color: var(--ink-mute);
}

/* Homepage strip: three wide shots at one shared shape. */
.gallery--strip { grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); margin-top: 2rem; }
.gallery--strip .gallery__item { cursor: pointer; aspect-ratio: 3 / 2; }
.gallery--strip .gallery__item picture { height: 100%; }
.gallery--strip .gallery__item img { height: 100%; object-fit: cover; }

/* Empty state: numbered frames waiting for prints. */
.photo-empty__note {
  display: flex; align-items: center; gap: 1rem;
  max-width: 40rem; margin-bottom: 2rem;
  color: var(--ink-soft);
}
.photo-empty__note svg { width: 36px; height: 36px; flex: none; color: var(--flame-deep); }
.photo-empty__note p { margin: 0; }
.photo-slot {
  aspect-ratio: 4 / 5;
  border: 1.5px dashed var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, transparent 49.6%, var(--line-soft) 49.6% 50.4%, transparent 50.4%),
    var(--paper-2);
  display: flex; align-items: flex-end; padding: 1rem;
}
.photo-slot span {
  font-family: var(--display); font-weight: 800; font-size: 1.1rem; color: var(--ink-mute);
}

.lightbox {
  position: fixed; inset: 0; z-index: 300;
  display: grid; place-items: center;
  background: rgba(8, 10, 20, .94);
  padding: clamp(1rem, 4vw, 3rem);
}
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; }
.lightbox img { max-width: 100%; max-height: 84vh; width: auto; object-fit: contain; border-radius: var(--radius-sm); }
.lightbox__caption { margin-top: 1rem; text-align: center; color: rgba(255,255,255,.7); font-size: .9rem; }
.lightbox__close, .lightbox__nav {
  position: absolute;
  width: 48px; height: 48px; display: grid; place-items: center;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.2);
  color: #fff; border-radius: 50%; cursor: pointer;
}
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(255,255,255,.2); }
.lightbox__close svg, .lightbox__nav svg { width: 20px; height: 20px; }
.lightbox__close { top: clamp(1rem, 3vw, 2rem); right: clamp(1rem, 3vw, 2rem); }
.lightbox__nav--prev { left: clamp(.5rem, 2vw, 2rem); top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: clamp(.5rem, 2vw, 2rem); top: 50%; transform: translateY(-50%); }

/* -------------------------------------------------------------- CTA band -- */

.cta-band {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--night); color: #fff; text-align: center;
  padding-block: clamp(3.5rem, 8vw, 6rem);
}
/* A single rising arc behind the CTA — the trajectory motif, closing the page. */
.cta-band::before {
  content: ""; position: absolute; z-index: -1;
  left: 50%; bottom: -60%; width: 140%; aspect-ratio: 2.2 / 1;
  transform: translateX(-50%);
  border-radius: 50%;
  border-top: 1px solid rgba(240, 100, 58, .35);
  box-shadow: 0 -40px 120px -40px rgba(240, 100, 58, .25);
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.72); max-width: 40em; margin-inline: auto; }
.cta-band .eyebrow { justify-content: center; }
.cta-band .btn-row { justify-content: center; margin-top: 2rem; }

/* ---------------------------------------------------------------- Footer -- */

.site-footer {
  background: #080b17; color: rgba(255,255,255,.6);
  padding-block: clamp(3rem, 6vw, 4.5rem) 2rem;
  font-size: .95rem;
}
.site-footer a { color: rgba(255,255,255,.8); text-decoration: none; }
.site-footer a:hover { color: var(--flame-hi); }
.footer__grid { display: grid; gap: 2.5rem; grid-template-columns: 1.4fr 1fr 1fr; }
@media (max-width: 760px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer__grid { grid-template-columns: 1fr; } }
.brand--footer { color: #fff; margin-bottom: 1rem; }
.brand--footer:hover { color: #fff; }
.footer__blurb { max-width: 30ch; }
.footer__head {
  font-size: .7rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--flame-hi); margin: 0 0 1rem;
}
.footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.footer__bottom {
  margin-top: clamp(2.5rem, 5vw, 3.5rem); padding-top: 1.6rem;
  border-top: 1px solid var(--night-line);
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between;
  font-size: .85rem; color: rgba(255,255,255,.45);
}
.footer__bottom--solo { margin-top: 0; border-top: 0; padding-top: 0; }
.footer__sig { font-family: var(--display); font-weight: 700; color: rgba(255,255,255,.6); }

/* ---------------------------------------------------------- Scroll reveal -- */
/* Content settles into place as it arrives — kept short so nothing waits. */

.js .reveal { opacity: 0; transform: translateY(14px); }
.reveal.is-in {
  opacity: 1; transform: none;
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------- 404 page -- */

.error-page {
  min-height: 62vh; display: grid; place-items: center; text-align: center;
  padding-block: var(--section-y);
}
.error-page .eyebrow { justify-content: center; }
.error-page__title { font-size: clamp(3rem, 9vw, 6rem); }
