/* AA On The Rocks · ontherocksstl.org
   Colours follow the group's brief: warm white for most of the page (60%), the midnight "Big Book" blue of the river
   and the logo for headers and dark bands (30%), and an antique gold from the flag's disc for actions (10%). No red.
   Fonts are served from this site (no Google calls), so a visitor's visit isn't shared with anyone. */

@font-face { font-family: 'Fraunces'; src: url(/fonts/fraunces.woff2) format('woff2'); font-weight: 300 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Fraunces'; src: url(/fonts/fraunces-italic.woff2) format('woff2'); font-weight: 300 600; font-style: italic; font-display: swap; }
@font-face { font-family: 'Inter'; src: url(/fonts/inter.woff2) format('woff2'); font-weight: 400 700; font-style: normal; font-display: swap; }

:root {
  --night: #060f22;
  --navy-950: #081530;
  --navy-900: #0b1a36;
  --navy-800: #0f2547;
  --navy-700: #163463;
  --river: #1f4e7a;
  --river-200: #a9c3e0;
  --gold: #c99a45;
  --gold-300: #e6c27b;
  --gold-600: #9a7330;
  --amber: #f3c47e;
  --paper: #f8f4ed;
  --paper-2: #f0e9dd;
  --card: #fffdf9;
  --ink: #18202c;
  --ink-2: #485263;
  --ink-3: #6b7484;
  --line: rgba(15, 37, 71, .12);
  --line-light: rgba(255, 255, 255, .14);
  --live: #3fae7a;
  --serif: 'Fraunces', 'Iowan Old Style', Georgia, serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --r: 22px;
  --r-sm: 14px;
  --shadow: 0 40px 90px -40px rgba(8, 21, 48, .45), 0 10px 30px -18px rgba(8, 21, 48, .25);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --top-h: 112px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 1.0625rem/1.65 var(--sans); font-feature-settings: 'cv11', 'ss01';
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 400; }
p { margin: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--gold-300); outline-offset: 3px; border-radius: 6px; }
.sprite { display: none; }
.ic { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.wrap { width: min(1200px, 100% - 48px); margin-inline: auto; }
.nowrap { white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--gold-300); color: var(--navy-900); border-radius: 10px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- Type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px; margin-bottom: 18px;
  font: 600 .75rem/1.2 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--gold-300);
}
.eyebrow::before { content: ''; width: 28px; height: 1px; background: currentColor; opacity: .7; }
.eyebrow-dark { color: var(--gold-600); }
h1, h2 { font-family: var(--serif); font-optical-sizing: auto; letter-spacing: -.02em; }
h1 em, h2 em, .foot-motto em, .anon em { font-style: italic; font-weight: 300; }
h2 { font-size: clamp(2.1rem, 4.2vw, 3.5rem); line-height: 1.06; color: var(--navy-900); text-wrap: balance; }
h2 em { color: var(--gold-600); }
h3 { font: 600 1.125rem/1.3 var(--sans); letter-spacing: -.01em; }
.lede { font-size: clamp(1.06rem, 1.4vw, 1.2rem); color: var(--ink-2); max-width: 60ch; }
.fine { font-size: .875rem; line-height: 1.5; color: var(--ink-3); }
.sec-head { margin-bottom: clamp(36px, 5vw, 60px); }
.sec-head h2 { margin-bottom: 18px; }
.sec-head.center { text-align: center; }
.sec-head.center .lede { margin-inline: auto; }
.link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--river); text-decoration: none; }
.link .ic { transition: transform .3s var(--ease); }
.link:hover .ic, a:hover > .link .ic { transform: translateX(3px); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px;
  border: 0; border-radius: 999px; cursor: pointer; text-decoration: none; white-space: nowrap;
  font: 600 1rem/1 var(--sans); letter-spacing: -.005em;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s, border-color .25s, color .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: .9375rem; }
.btn-gold {
  background: linear-gradient(180deg, #ecc985 0%, #d2a453 55%, #c4943f 100%); color: var(--navy-950);
  box-shadow: 0 14px 34px -14px rgba(201, 154, 69, .75), inset 0 1px 0 rgba(255, 255, 255, .45);
}
.btn-gold:hover { box-shadow: 0 20px 40px -14px rgba(201, 154, 69, .9), inset 0 1px 0 rgba(255, 255, 255, .5); }
.btn-glass {
  background: rgba(255, 255, 255, .08); color: #fff; border: 1px solid rgba(255, 255, 255, .26);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.btn-glass:hover { background: rgba(255, 255, 255, .16); }
.btn-navy { background: var(--navy-800); color: #fff; box-shadow: 0 14px 30px -16px rgba(15, 37, 71, .8); }
.btn-navy:hover { background: var(--navy-700); }
.btn-outline { background: transparent; color: var(--navy-800); border: 1.5px solid rgba(15, 37, 71, .22); }
.btn-outline:hover { border-color: var(--navy-800); background: rgba(15, 37, 71, .04); }

/* ---------- Header ---------- */
.top { position: fixed; inset: 0 0 auto; z-index: 50; color: #fff; transition: transform .45s var(--ease); }
.helpline {
  display: flex; justify-content: center; align-items: center; gap: 8px; height: 34px; padding: 0 16px;
  background: rgba(4, 11, 26, .72); border-bottom: 1px solid rgba(255, 255, 255, .06);
  font-size: .8125rem; color: rgba(255, 255, 255, .78); white-space: nowrap; overflow: hidden;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.helpline a { color: var(--gold-300); font-weight: 600; text-decoration: none; letter-spacing: .01em; }
.helpline a:hover { text-decoration: underline; }
.hl-short { display: none; }
.bar {
  display: flex; align-items: center; gap: 28px; height: 78px; padding: 0 max(24px, (100% - 1200px) / 2);
  transition: background-color .35s, height .35s var(--ease), box-shadow .35s;
}
.top.scrolled { transform: translateY(-34px); }
.top.scrolled .bar {
  height: 68px; background: rgba(8, 21, 48, .82); box-shadow: 0 10px 40px -20px rgba(0, 0, 0, .6);
  -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3);
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand img { width: 46px; height: 46px; border-radius: 50%; box-shadow: 0 0 0 2px rgba(230, 194, 123, .55), 0 6px 18px rgba(0, 0, 0, .35); }
.brand-name { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name strong { font: 500 1.25rem/1.1 var(--serif); letter-spacing: -.01em; }
.brand-name small { white-space: nowrap; font-size: .6875rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .62); margin-top: 3px; }
.nav { display: flex; gap: 4px; }
.nav a {
  position: relative; padding: 10px 12px; white-space: nowrap; border-radius: 10px; font-size: .9375rem; font-weight: 500;
  color: rgba(255, 255, 255, .82); text-decoration: none; transition: color .2s;
}
.nav a::after {
  content: ''; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 1.5px; background: var(--gold-300);
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.nav a:hover, .nav a[aria-current] { color: #fff; }
.nav a:hover::after, .nav a[aria-current]::after { transform: scaleX(1); }
.zoom-cta { gap: 8px; }
.live-dot { display: none; width: 8px; height: 8px; border-radius: 50%; background: var(--live); box-shadow: 0 0 0 0 rgba(63, 174, 122, .7); animation: pulse 1.8s infinite; }
.zoom-cta.is-live .live-dot { display: inline-block; }
.menu-btn { display: none; width: 46px; height: 46px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 50%; background: rgba(255, 255, 255, .06); cursor: pointer; place-items: center; }
.menu-btn .ic { width: 22px; height: 22px; }
/* The phone menu sits outside the header, so the header's slide never moves it, and it opens in a quarter second. */
.menu {
  position: fixed; inset: 0; z-index: 45; display: flex; flex-direction: column; justify-content: center; gap: 36px;
  padding: 110px 32px calc(48px + env(safe-area-inset-bottom)); color: #fff; overflow-y: auto; overscroll-behavior: contain;
  background: radial-gradient(120% 80% at 80% 100%, #3a3a5c 0%, var(--navy-950) 55%);
  animation: menu-in .22s ease-out;
}
.menu[hidden] { display: none; }
.menu nav { display: flex; flex-direction: column; }
.menu nav a {
  padding: 12px 0; border-bottom: 1px solid var(--line-light); text-decoration: none;
  font: 400 2rem/1.2 var(--serif); letter-spacing: -.01em;
  animation: menu-link .32s var(--ease) both;
}
.menu nav a:nth-child(2) { animation-delay: .02s; } .menu nav a:nth-child(3) { animation-delay: .04s; }
.menu nav a:nth-child(4) { animation-delay: .06s; } .menu nav a:nth-child(5) { animation-delay: .08s; }
.menu nav a:nth-child(6) { animation-delay: .1s; }
.menu-open .scene * { animation-play-state: paused !important; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: max(680px, 100svh); display: flex; align-items: center; overflow: hidden;
  background: var(--night); color: #fff; isolation: isolate;
}
.scene { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; z-index: -2; }
.hero-shade {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(5, 12, 28, .86) 0%, rgba(5, 12, 28, .62) 34%, rgba(5, 12, 28, .12) 58%, rgba(5, 12, 28, 0) 70%),
    linear-gradient(180deg, rgba(5, 12, 28, .55) 0%, rgba(5, 12, 28, 0) 22%);
}
.hero-in { padding: calc(var(--top-h) + 40px) 0 160px; }
.hero-copy { max-width: 620px; }
.hero h1 { font-size: clamp(2.6rem, 5.6vw, 4.9rem); line-height: 1.02; font-weight: 400; margin-bottom: 26px; text-wrap: balance; }
.hero h1 em { display: block; color: var(--gold-300); }
.hero .lede { color: rgba(255, 255, 255, .84); font-size: clamp(1.06rem, 1.5vw, 1.25rem); max-width: 52ch; margin-bottom: 26px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; }
.scroll-cue { position: absolute; left: 50%; bottom: 26px; width: 26px; height: 42px; margin-left: -13px; border: 1.5px solid rgba(255, 255, 255, .4); border-radius: 14px; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--gold-300); animation: cue 2.2s var(--ease) infinite; }

/* Live meeting status (filled in by site.js; reads "Every Wednesday" without it). */
.status {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 30px; padding: 9px 16px 9px 14px;
  border-radius: 999px; font-size: .9375rem; font-weight: 500; line-height: 1.3;
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .16); color: rgba(255, 255, 255, .9);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.status-dot { width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--gold-300); box-shadow: 0 0 12px var(--gold-300); }
.status.is-live .status-dot, .status.is-soon .status-dot { background: var(--live); box-shadow: 0 0 0 0 rgba(63, 174, 122, .7); animation: pulse 1.8s infinite; }
.status.is-live { border-color: rgba(63, 174, 122, .55); }
.status-light { background: var(--paper); border-color: var(--line); color: var(--ink); margin: 22px 0 22px; -webkit-backdrop-filter: none; backdrop-filter: none; }
.status-light .status-dot { background: var(--gold); box-shadow: none; }

/* Hero scene motion. Each layer breathes or drifts on its own, gently; all of it stops for anyone who asks for less
   motion, and while the hero is scrolled out of view. */
.scene .sun { animation: sunrise 3.6s var(--ease) both; }
.scene .glow { animation: glow-in 3.6s ease both, breathe 9s ease-in-out 3.6s infinite alternate; }
.scene .tw { animation: twinkle 4.5s ease-in-out infinite alternate; }
.scene .tw1 { animation-duration: 6.5s; animation-delay: -2s; }
.scene .tw2 { animation-duration: 5.2s; animation-delay: -4s; }
.scene .flicker { animation: flicker 7s steps(1) infinite; }
.scene .sh { animation: shimmer 2.6s ease-in-out infinite alternate; }
.scene .sh1 { animation-delay: -.9s; animation-duration: 3.1s; }
.scene .sh2 { animation-delay: -1.7s; animation-duration: 2.2s; }
.scene .ripples { animation: drift 9s ease-in-out infinite alternate; }
.scene .cloud { animation: cloud 80s linear infinite alternate; }
.scene .c1 { animation-duration: 110s; animation-direction: alternate-reverse; }
.scene .c2 { animation-duration: 95s; }
.scene [data-depth] { will-change: transform; }
.scene .archGroup { animation: arch-in 2.4s var(--ease) .2s both; }
.hero.paused .scene * { animation-play-state: paused !important; }

/* Hero copy arrives in order after the sun starts to rise. */
.js .hero-copy > * { opacity: 0; transform: translateY(18px); animation: rise .9s var(--ease) forwards; }
.js .hero-copy > :nth-child(1) { animation-delay: .25s; }
.js .hero-copy > :nth-child(2) { animation-delay: .4s; }
.js .hero-copy > :nth-child(3) { animation-delay: .52s; }
.js .hero-copy > :nth-child(4) { animation-delay: .7s; }
.js .hero-copy > :nth-child(5) { animation-delay: .84s; }

/* ---------- Meeting ---------- */
.meeting { position: relative; z-index: 2; padding-bottom: clamp(70px, 9vw, 120px); }
.meet-card {
  display: grid; grid-template-columns: 1.15fr 1fr 1fr; margin-top: -120px; border-radius: 28px; overflow: hidden;
  background: var(--card); box-shadow: var(--shadow); border: 1px solid rgba(255, 255, 255, .7);
}
.meet-card > div { padding: clamp(28px, 3.4vw, 44px); }
.meet-card > div + div { border-left: 1px solid var(--line); }
.meet-when { background: linear-gradient(160deg, #fffaf1 0%, #f6efe2 100%); position: relative; }
.meet-when::after {
  content: ''; position: absolute; right: -60px; bottom: -60px; width: 220px; height: 220px; border-radius: 50%;
  border: 1px solid rgba(201, 154, 69, .25); box-shadow: inset 0 0 0 26px rgba(201, 154, 69, .04); pointer-events: none;
}
.meet-day { font-size: clamp(2.2rem, 3.6vw, 3.1rem); line-height: 1; }
.meet-time { margin-top: 10px; font: 400 clamp(1.5rem, 2.4vw, 2rem)/1.2 var(--serif); color: var(--navy-700); }
.meet-time span { font: 600 .75rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3); margin-left: 6px; vertical-align: middle; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 18px 0 0; padding: 0; }
.tags li { padding: 6px 12px; border-radius: 999px; background: rgba(15, 37, 71, .06); font-size: .8125rem; font-weight: 600; color: var(--navy-800); }
.meet-when .fine { margin-top: 12px; max-width: 34ch; }
.way-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.way-head h3 { font: 500 1.5rem/1.2 var(--serif); color: var(--navy-900); letter-spacing: -.01em; }
.way-icon {
  display: grid; place-items: center; width: 46px; height: 46px; flex: none; border-radius: 14px;
  background: linear-gradient(160deg, var(--navy-700), var(--navy-900)); color: var(--gold-300);
  box-shadow: 0 10px 24px -12px rgba(15, 37, 71, .8);
}
.way-icon .ic { width: 22px; height: 22px; }
.place { font-size: 1.0625rem; line-height: 1.55; margin-bottom: 22px; }
.place strong { color: var(--navy-900); }
.meet-way .btn { margin-bottom: 16px; }
.zoom-ids { margin: 0 0 22px; display: grid; gap: 10px; }
.zoom-ids div { display: grid; grid-template-columns: 1fr auto; align-items: center; column-gap: 8px; padding: 10px 8px 10px 16px; border-radius: 14px; background: var(--paper); border: 1px solid var(--line); }
.zoom-ids dt { font-size: .6875rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); white-space: nowrap; }
.zoom-ids dd { display: contents; }
.zoom-ids dd span { grid-column: 1; font: 600 1.1875rem/1.3 var(--sans); font-variant-numeric: tabular-nums; letter-spacing: .02em; color: var(--navy-900); white-space: nowrap; }
.zoom-ids .copy { grid-column: 2; grid-row: 1 / span 2; }
.copy {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; border: 0; cursor: pointer;
  background: transparent; color: var(--river); transition: background-color .2s, color .2s;
}
.copy:hover { background: rgba(31, 78, 122, .1); }
.copy.done { color: var(--live); }
.zoom-qr { display: flex; align-items: center; gap: 14px; margin: 22px 0 0; padding-top: 20px; border-top: 1px dashed var(--line); }
.zoom-qr img { width: 88px; height: 88px; border-radius: 10px; box-shadow: 0 0 0 1px var(--line); }
.zoom-qr figcaption { font-size: .875rem; line-height: 1.45; color: var(--ink-3); }
.open-note { margin-top: 28px; text-align: center; color: var(--ink-2); font-size: 1rem; max-width: 75ch; margin-inline: auto; }
.open-note strong { color: var(--navy-900); }

/* ---------- First time ---------- */
.first { padding: clamp(80px, 10vw, 130px) 0; background: var(--paper-2); position: relative; }
.steps { list-style: none; margin: 0 0 clamp(48px, 6vw, 72px); padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; position: relative; }
.steps::before {
  content: ''; position: absolute; left: 4%; right: 4%; top: 31px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 154, 69, .6) 12%, rgba(201, 154, 69, .6) 88%, transparent);
}
.steps li { position: relative; padding: 0 6px; }
.step-icon {
  position: relative; display: grid; place-items: center; width: 62px; height: 62px; border-radius: 50%; margin-bottom: 22px;
  background: var(--card); color: var(--navy-800); box-shadow: 0 0 0 6px var(--paper-2), 0 0 0 7px rgba(201, 154, 69, .5), 0 18px 30px -16px rgba(15, 37, 71, .5);
}
.step-icon .ic { width: 26px; height: 26px; }
.step-n { display: block; font: 600 .75rem/1 var(--sans); letter-spacing: .2em; color: var(--gold-600); margin-bottom: 8px; }
.steps h3 { font: 500 1.4rem/1.2 var(--serif); color: var(--navy-900); margin-bottom: 10px; letter-spacing: -.01em; }
.steps p { color: var(--ink-2); font-size: 1rem; }
.first-grid { display: grid; grid-template-columns: 1fr 1.9fr; gap: clamp(20px, 3vw, 40px); align-items: start; }
.zoom-tips {
  position: sticky; top: 96px; padding: 34px; border-radius: var(--r); color: #fff;
  background: radial-gradient(120% 90% at 100% 0%, #24406d 0%, var(--navy-900) 60%); box-shadow: var(--shadow);
}
.zoom-tips .way-icon { background: rgba(255, 255, 255, .08); box-shadow: none; margin-bottom: 18px; }
.zoom-tips h3 { font: 500 1.6rem/1.2 var(--serif); margin-bottom: 14px; }
.zoom-tips ul { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 10px; }
.zoom-tips li { position: relative; padding-left: 22px; color: rgba(255, 255, 255, .84); font-size: 1rem; }
.zoom-tips li::before { content: ''; position: absolute; left: 0; top: .62em; width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid var(--gold-300); }
.zoom-tips .link { color: var(--gold-300); }
.faq { background: var(--card); border-radius: var(--r); padding: clamp(20px, 3vw, 34px) clamp(22px, 3.4vw, 40px); box-shadow: 0 24px 60px -40px rgba(8, 21, 48, .5); border: 1px solid var(--line); }
.faq-title { font: 500 1.6rem/1.2 var(--serif); color: var(--navy-900); margin: 6px 0 10px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:last-child { border-bottom: 0; }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 0; cursor: pointer; list-style: none;
  font-weight: 600; font-size: 1.0625rem; color: var(--navy-900);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid rgba(15, 37, 71, .2);
  background: no-repeat center/14px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f2547' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E");
  transition: transform .35s var(--ease), background-color .25s, border-color .25s;
}
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--gold-300); border-color: var(--gold-300); }
.faq summary:hover { color: var(--river); }
.faq details > div { padding: 0 48px 22px 0; color: var(--ink-2); display: grid; gap: 12px; }
.faq details[open] > div { animation: rise .45s var(--ease); }

/* ---------- Primary purpose ---------- */
.purpose {
  position: relative; overflow: hidden; padding: clamp(90px, 12vw, 150px) 0; color: #fff; text-align: center;
  background: radial-gradient(70% 120% at 50% 120%, rgba(201, 154, 69, .28) 0%, rgba(201, 154, 69, 0) 60%), linear-gradient(180deg, var(--navy-950), var(--navy-900));
}
.purpose figure { margin-inline: auto; max-width: 980px; position: relative; }
.purpose-mark { width: 64px; height: 64px; margin: 0 auto 34px; fill: none; stroke: var(--gold-300); stroke-width: 2.2; opacity: .9; }
.purpose blockquote { margin: 0; }
.purpose blockquote p { font: 300 clamp(1.9rem, 4.2vw, 3.4rem)/1.18 var(--serif); font-style: italic; letter-spacing: -.015em; text-wrap: balance; }
.purpose figcaption { margin-top: 30px; font-size: .8125rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-300); }
.purpose figcaption small { display: block; margin-top: 10px; font-weight: 400; letter-spacing: .02em; text-transform: none; font-size: .8125rem; color: rgba(255, 255, 255, .5); }
.purpose .word { display: inline-block; opacity: .18; transition: opacity .7s var(--ease), color .7s; }
.purpose .in .word { opacity: 1; }

/* ---------- Legacies ---------- */
.legacies { padding: clamp(80px, 10vw, 130px) 0; background: var(--paper); }
.legacy-stage { display: grid; grid-template-columns: .9fr 1.25fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.emblem-wrap { position: sticky; top: 100px; }
.emblem { width: 100%; max-width: 440px; margin-inline: auto; overflow: visible; }
.em-glow { fill: rgba(201, 154, 69, .05); stroke: none; }
.em-ring { fill: none; stroke: var(--navy-800); stroke-width: 3; stroke-dasharray: 100; stroke-dashoffset: 0; }
.em-line { fill: none; stroke: var(--navy-800); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 0; transition: stroke .4s, stroke-width .4s; }
.em-hit { fill: none; stroke: transparent; stroke-width: 44; cursor: pointer; pointer-events: stroke; }
.em-side text { font: 600 15px/1 var(--sans); letter-spacing: .3em; fill: var(--ink-3); text-anchor: middle; dominant-baseline: middle; transition: fill .4s; cursor: pointer; }
.em-side.on .em-line { stroke: var(--gold); stroke-width: 6; filter: drop-shadow(0 0 8px rgba(201, 154, 69, .6)); }
.em-side.on text { fill: var(--gold-600); }
.em-side:hover .em-line { stroke: var(--gold); }
.em-arch { fill: none; stroke: var(--gold); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 0; }
.em-num { font: 300 64px/1 var(--serif); fill: var(--navy-900); text-anchor: middle; }
.em-word { font: 600 13px/1 var(--sans); letter-spacing: .32em; fill: var(--gold-600); text-anchor: middle; }
.js .emblem-wrap:not(.in) .em-ring, .js .emblem-wrap:not(.in) .em-line, .js .emblem-wrap:not(.in) .em-arch { stroke-dashoffset: 100; }
.emblem-wrap.in .em-ring { transition: stroke-dashoffset 1.8s var(--ease); }
.emblem-wrap.in .em-line { transition: stroke-dashoffset 1.2s var(--ease) .6s, stroke .4s, stroke-width .4s; }
.emblem-wrap.in .em-side[data-legacy='service'] .em-line { transition-delay: .9s, 0s, 0s; }
.emblem-wrap.in .em-side[data-legacy='recovery'] .em-line { transition-delay: 1.2s, 0s, 0s; }
.emblem-wrap.in .em-arch { transition: stroke-dashoffset 1.4s var(--ease) 1.5s; }
.em-swap { animation: swap .5s var(--ease); }
.tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 6px; border-radius: 18px; background: var(--paper-2); margin-bottom: 30px; }
.tabs button {
  display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 14px 16px; border: 0; border-radius: 13px;
  background: transparent; cursor: pointer; text-align: left; transition: background-color .3s, box-shadow .3s;
}
.tabs button span { font: 500 1.25rem/1.1 var(--serif); color: var(--navy-900); }
.tabs button small { font-size: .8125rem; color: var(--ink-3); }
.tabs button[aria-selected='true'] { background: var(--card); box-shadow: 0 10px 24px -14px rgba(15, 37, 71, .45); }
.tabs button[aria-selected='true'] span { color: var(--gold-600); }
.panel { outline: none; }
.panel:not([hidden]) { animation: rise .55s var(--ease); }
.panel-intro { font-size: 1.125rem; color: var(--ink-2); margin-bottom: 26px; max-width: 60ch; }
.twelve { list-style: none; counter-reset: n; margin: 0; padding: 0; display: grid; gap: 2px; }
.twelve li {
  counter-increment: n; position: relative; padding: 14px 0 14px 64px; border-top: 1px solid var(--line);
  font: 400 1.125rem/1.5 var(--serif); color: var(--ink);
}
.twelve li::before {
  content: counter(n); position: absolute; left: 0; top: 10px; width: 44px; text-align: right;
  font: 300 1.8rem/1 var(--serif); color: var(--gold); font-variant-numeric: lining-nums;
}
.credit { margin-top: 18px; font-size: .8125rem; color: var(--ink-3); }
.service-list { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 14px; }
.service-list li { display: flex; gap: 16px; padding: 20px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); color: var(--ink-2); }
.service-list .ic { width: 26px; height: 26px; color: var(--gold-600); margin-top: 2px; }
.service-list strong { display: block; color: var(--navy-900); margin-bottom: 2px; }

/* ---------- Our group ---------- */
.group {
  position: relative; overflow: hidden; padding: clamp(80px, 10vw, 130px) 0; color: #fff;
  background: radial-gradient(90% 70% at 100% 0%, #1f3866 0%, rgba(31, 56, 102, 0) 60%), var(--navy-950);
}
.group::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background: repeating-linear-gradient(180deg, transparent 0 46px, rgba(255, 255, 255, .025) 46px 47px);
  -webkit-mask: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent); mask: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
}
.group-in { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; position: relative; }
.group h2 { color: #fff; }
.group h2 em { color: var(--gold-300); }
.group .lede { color: rgba(255, 255, 255, .78); }
.values { display: grid; gap: 14px; }
.values article { display: grid; grid-template-columns: auto 1fr; column-gap: 18px; padding: 22px; border-radius: 18px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line-light); transition: background-color .3s, border-color .3s; }
.values article:hover { background: rgba(255, 255, 255, .07); border-color: rgba(230, 194, 123, .35); }
.values .way-icon { grid-row: span 2; background: rgba(230, 194, 123, .12); box-shadow: none; }
.values h3 { margin-bottom: 4px; }
.values p { color: rgba(255, 255, 255, .72); font-size: 1rem; }
.group-photo { position: relative; margin: 0; border-radius: 28px; overflow: hidden; box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .8); aspect-ratio: 4 / 5; }
.group-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 52% 50%; transform: scale(1.08); transition: transform 1.6s var(--ease); }
.group-photo.in img { transform: scale(1); }
.group-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 21, 48, 0) 50%, rgba(8, 21, 48, .85) 100%); }
.group-photo figcaption { position: absolute; left: 28px; bottom: 24px; z-index: 1; font: 300 italic clamp(1.6rem, 2.6vw, 2.2rem)/1.1 var(--serif); }
.group-photo::before { content: ''; position: absolute; inset: 12px; z-index: 1; border: 1px solid rgba(230, 194, 123, .35); border-radius: 20px; pointer-events: none; }
.anon { margin: clamp(56px, 7vw, 90px) 0 0; padding: 34px 0 0; border-top: 1px solid var(--line-light); text-align: center; position: relative; }
.anon p { font: 300 clamp(1.5rem, 3vw, 2.4rem)/1.25 var(--serif); color: rgba(255, 255, 255, .9); max-width: 30ch; margin-inline: auto; text-wrap: balance; }
.anon em { color: var(--gold-300); }

/* ---------- Resources ---------- */
.resources { padding: clamp(80px, 10vw, 130px) 0; background: var(--paper); }
.res-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.res {
  position: relative; display: flex; flex-direction: column; padding: 28px; border-radius: var(--r); text-decoration: none;
  background: var(--card); border: 1px solid var(--line); box-shadow: 0 20px 50px -40px rgba(8, 21, 48, .6);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.res:hover { transform: translateY(-6px); box-shadow: 0 34px 70px -40px rgba(8, 21, 48, .65); border-color: rgba(201, 154, 69, .45); }
.res-qr { width: 104px; height: 104px; margin-bottom: 24px; border-radius: 12px; box-shadow: 0 0 0 1px var(--line), 0 12px 24px -16px rgba(15, 37, 71, .5); }
.res-kicker { font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-600); margin-bottom: 8px; }
.res h3 { font: 500 1.6rem/1.15 var(--serif); color: var(--navy-900); margin-bottom: 10px; letter-spacing: -.01em; }
.res p { color: var(--ink-2); font-size: .9875rem; margin-bottom: 20px; }
.res .link { margin-top: auto; }
.members {
  display: flex; gap: 22px; align-items: flex-start; margin-top: 22px; padding: 28px 30px; border-radius: var(--r);
  background: linear-gradient(120deg, var(--paper-2), #f6efe1); border: 1px dashed rgba(201, 154, 69, .55);
}
.members-icon { display: grid; place-items: center; width: 52px; height: 52px; flex: none; border-radius: 50%; background: var(--navy-800); color: var(--gold-300); }
.members-icon .ic { width: 22px; height: 22px; }
.members h3 { font: 500 1.4rem/1.2 var(--serif); color: var(--navy-900); margin-bottom: 6px; }
.members p { color: var(--ink-2); max-width: 80ch; }
.members a { color: var(--river); font-weight: 600; }
.more-aa { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; margin-top: 30px; font-size: .9375rem; color: var(--ink-3); }
.more-aa a { color: var(--river); font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(31, 78, 122, .25); }
.more-aa a:hover { border-color: var(--river); }

/* ---------- Contact ---------- */
.contact {
  position: relative; overflow: hidden; padding: clamp(90px, 11vw, 140px) 0; color: #fff;
  background:
    radial-gradient(80% 90% at 50% 125%, rgba(243, 196, 126, .5) 0%, rgba(201, 141, 120, .2) 35%, rgba(8, 21, 48, 0) 70%),
    linear-gradient(180deg, var(--navy-900) 0%, #142c55 100%);
}
.contact h2 { color: #fff; }
.contact h2 em { color: var(--gold-300); }
.contact .lede { color: rgba(255, 255, 255, .8); }
.contact .sec-head { text-align: center; }
.contact .sec-head .lede { margin-inline: auto; }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tile {
  display: flex; flex-direction: column; gap: 6px; padding: 28px; border-radius: var(--r); text-decoration: none;
  background: rgba(255, 255, 255, .06); border: 1px solid var(--line-light); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  transition: transform .35s var(--ease), background-color .35s, border-color .35s;
}
.tile:hover { transform: translateY(-4px); background: rgba(255, 255, 255, .1); border-color: rgba(230, 194, 123, .4); }
.tile .way-icon { background: rgba(230, 194, 123, .14); box-shadow: none; margin-bottom: 12px; }
.tile-label { font-size: .875rem; color: rgba(255, 255, 255, .66); }
.tile strong { font: 500 clamp(1.3rem, 2vw, 1.6rem)/1.2 var(--serif); letter-spacing: -.005em; overflow-wrap: anywhere; }
.tile-gold { background: linear-gradient(160deg, rgba(230, 194, 123, .22), rgba(230, 194, 123, .06)); border-color: rgba(230, 194, 123, .45); }
.tile-gold strong { color: var(--gold-300); }
.emergency { margin-top: 26px; text-align: center; font-size: .9375rem; color: rgba(255, 255, 255, .6); }

/* ---------- Footer ---------- */
.foot { background: var(--night); color: rgba(255, 255, 255, .7); padding: clamp(70px, 9vw, 110px) 0 calc(40px + env(safe-area-inset-bottom)); }
.foot-motto { font: 300 clamp(2.6rem, 7vw, 6rem)/1 var(--serif); letter-spacing: -.03em; color: #fff; text-align: center; margin-bottom: clamp(50px, 7vw, 80px); }
.foot-motto em { color: var(--gold-300); }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1.2fr 1fr .8fr; gap: 32px; padding: 40px 0; border-top: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); font-size: .9375rem; }
.foot h3 { font-size: .75rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-300); margin-bottom: 12px; }
.foot a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.foot a:hover { color: var(--gold-300); }
.foot-brand { display: flex; gap: 18px; align-items: center; }
.foot-brand img { width: 72px; height: 72px; border-radius: 50%; box-shadow: 0 0 0 2px rgba(230, 194, 123, .4); }
.foot-brand strong { color: #fff; font: 500 1.2rem/1.4 var(--serif); }
.fineprint { display: grid; gap: 10px; padding-top: 28px; font-size: .8125rem; line-height: 1.6; color: rgba(255, 255, 255, .5); max-width: 110ch; }

/* ---------- Phone quick actions ---------- */
.dock {
  position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 40;
  display: none; grid-template-columns: repeat(3, 1fr); padding: 6px; border-radius: 22px;
  background: rgba(8, 21, 48, .88); border: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 20px 40px -10px rgba(0, 0, 0, .5);
  -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4);
  transform: translateY(140%); transition: transform .5s var(--ease);
}
.dock.show { transform: none; }
.dock a { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 8px 4px; border-radius: 16px; color: #fff; text-decoration: none; font-size: .75rem; font-weight: 600; letter-spacing: .02em; }
.dock a:active { background: rgba(255, 255, 255, .08); }
.dock .ic { width: 22px; height: 22px; color: var(--gold-300); }

.toast {
  position: fixed; left: 50%; bottom: 100px; z-index: 60; padding: 12px 20px; border-radius: 999px; background: var(--navy-900); color: #fff;
  font-size: .9375rem; font-weight: 500; box-shadow: 0 20px 40px -12px rgba(0, 0, 0, .5);
  opacity: 0; transform: translate(-50%, 12px); pointer-events: none; transition: opacity .3s, transform .3s var(--ease);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Scroll reveals ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js [data-reveal].in { opacity: 1; transform: none; }
.js .steps li:nth-child(2) { transition-delay: .1s; } .js .steps li:nth-child(3) { transition-delay: .2s; } .js .steps li:nth-child(4) { transition-delay: .3s; }
.js .res-grid .res:nth-child(2) { transition-delay: .08s; } .js .res-grid .res:nth-child(3) { transition-delay: .16s; } .js .res-grid .res:nth-child(4) { transition-delay: .24s; }
.js .values article:nth-child(2) { transition-delay: .1s; } .js .values article:nth-child(3) { transition-delay: .2s; }
.js .contact-grid .tile:nth-child(2) { transition-delay: .1s; } .js .contact-grid .tile:nth-child(3) { transition-delay: .2s; }
.js .res[data-reveal].in:hover { transform: translateY(-6px); }
.js .tile[data-reveal].in:hover { transform: translateY(-4px); }

/* ---------- Page not found ---------- */
.lost { min-height: 100svh; display: grid; place-items: center; padding: 32px 16px; color: #fff; text-align: center; background: radial-gradient(80% 70% at 50% 110%, rgba(243, 196, 126, .45), rgba(8, 21, 48, 0) 65%), var(--navy-950); }
.lost-in { max-width: 640px; display: grid; justify-items: center; gap: 18px; }
.lost-in img { width: 110px; height: 110px; border-radius: 50%; box-shadow: 0 0 0 3px rgba(230, 194, 123, .5); }
.lost-in .eyebrow { margin: 6px 0 0; }
.lost-in h1 { font-size: clamp(2.2rem, 6vw, 3.6rem); line-height: 1.05; }
.lost-in h1 em { color: var(--gold-300); }
.lost-in .lede { color: rgba(255, 255, 255, .8); margin-bottom: 10px; }

/* ---------- Keyframes ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(63, 174, 122, .65); } 70% { box-shadow: 0 0 0 9px rgba(63, 174, 122, 0); } 100% { box-shadow: 0 0 0 0 rgba(63, 174, 122, 0); } }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
@keyframes sunrise { from { transform: translateY(90px); opacity: .2; } to { transform: none; opacity: 1; } }
@keyframes glow-in { from { opacity: .25; } to { opacity: 1; } }
@keyframes breathe { from { opacity: 1; } to { opacity: .8; } }
@keyframes twinkle { from { opacity: 1; } to { opacity: .35; } }
@keyframes flicker { 0%, 100% { opacity: 1; } 40% { opacity: .25; } 72% { opacity: .7; } }
@keyframes shimmer { from { opacity: 1; transform: translateX(0); } to { opacity: .35; transform: translateX(6px); } }
@keyframes drift { from { transform: translateX(-14px); } to { transform: translateX(14px); } }
@keyframes cloud { from { transform: translateX(-50px); } to { transform: translateX(50px); } }
@keyframes arch-in { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes menu-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes menu-link { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes swap { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ---------- Smaller screens ---------- */
@media (max-width: 1180px) {
  .nav, .bar > .zoom-cta { display: none; }
  .menu-btn { display: grid; }
}
@media (max-width: 1100px) {
  .res-grid { grid-template-columns: repeat(2, 1fr); }
  .meet-card { grid-template-columns: 1fr 1fr; }
  .meet-when { grid-column: 1 / -1; }
  .meet-card > .meet-way:nth-child(2) { border-left: 0; }
  .meet-card > div + div { border-top: 1px solid var(--line); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 940px) {
  .steps { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .steps::before { display: none; }
  .first-grid, .legacy-stage, .group-in { grid-template-columns: 1fr; }
  .zoom-tips, .emblem-wrap { position: static; }
  .emblem { max-width: 340px; }
  .group-photo { aspect-ratio: 16 / 10; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  /* On a phone the picture sits at the bottom of the hero, the Arch centred, with the words in the night sky above. */
  .hero { --sw: 150vw; align-items: flex-start; min-height: max(760px, 100svh); }
  .scene { inset: auto; left: calc(50% - var(--sw) * .6875); bottom: 0; width: var(--sw); height: calc(var(--sw) * 900 / 1600); }
  .hero-shade { background: linear-gradient(180deg, rgba(5, 12, 28, .6) 0%, rgba(5, 12, 28, .2) 45%, rgba(5, 12, 28, 0) 65%); }
  .hero-in { padding: calc(var(--top-h) + 18px) 0 calc(var(--sw) * 900 / 1600 * .8); }
  .desk-only { display: none !important; }
}
@media (max-width: 640px) {
  :root { --top-h: 100px; }
  body { font-size: 1rem; }
  .hero { --sw: 240vw; }
  .wrap { width: calc(100% - 32px); }
  .hl-long { display: none; }
  .hl-short { display: inline; }
  .eyebrow { letter-spacing: .16em; gap: 10px; }
  .eyebrow::before { width: 18px; }
  .bar { height: 66px; padding: 0 16px; }
  .top.scrolled .bar { height: 62px; }
  .brand img { width: 40px; height: 40px; }
  .brand-name strong { font-size: 1.125rem; }
  .hero h1 { font-size: clamp(2.3rem, 10.5vw, 3rem); }
  .cta-row .btn { flex: 1 1 100%; }
  .status { font-size: .875rem; }
  .meet-card { grid-template-columns: 1fr; margin-top: -70px; border-radius: 22px; }
  .meet-card > div + div { border-left: 0; }
  .meet-card .btn { width: 100%; }
  .steps { grid-template-columns: 1fr; row-gap: 30px; }
  .steps li { display: grid; grid-template-columns: auto 1fr; column-gap: 18px; }
  .step-icon { grid-row: span 3; width: 54px; height: 54px; margin: 0; }
  .faq details > div { padding-right: 0; }
  .tabs { grid-template-columns: 1fr; }
  .tabs button { flex-direction: row; align-items: baseline; justify-content: space-between; }
  .twelve li { padding-left: 48px; font-size: 1.0625rem; }
  .twelve li::before { width: 34px; font-size: 1.5rem; }
  .res-grid { grid-template-columns: 1fr; }
  .res { padding: 24px; }
  .res-qr { display: none; }
  .members { flex-direction: column; padding: 24px; }
  .foot-grid { grid-template-columns: 1fr; }
  .foot { padding-bottom: calc(110px + env(safe-area-inset-bottom)); }
  .dock { display: grid; }
  .group-photo figcaption { left: 22px; bottom: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .scene * { animation: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
