/* NGNS — No Guilt No Shame
   Glass look from the ChatGPT demo, rebuilt mobile-first in the sky-blue system.
   Dark is the default; [data-theme="light"] flips the tokens. */

/* Palette: #007571 -> #18FF85 greens lead; bright aqua is ONLY for calls to action. */
:root {
  --forest: #007571;        /* deep teal-green: primary surfaces (Chris's pick) */
  --forest-deep: #004D4A;
  --leaf: #18FF85;          /* bright green: text accents on dark (Chris's pick) */
  --leaf-soft: #7DFFB8;
  --teal: #0CBA7B;          /* midpoint of the two */
  --dark-to-light: linear-gradient(100deg, #007571, #18FF85);
  --cta: #22E6F2;           /* buttons + links: bright aqua pulled from the #007571 -> #18FF85 family, bluer so it pops */
  --cta-hi: #67F0F8;
  --cta-ink: #022624;
  --link: #5EEAF5;
  --link-line: #22E6F2;
  --cta-edge: transparent;
  --sun: #FDE68A;

  --bg: #02130F;
  --bg-2: #06261F;
  --ink: #EAF7EF;
  --muted: #A9C6B5;
  --faint: #6F8F7D;
  --line: rgba(24, 255, 133, .13);
  --glass: linear-gradient(145deg, rgba(24,255,133,.08), rgba(0,117,113,.06));
  --glass-solid: rgba(4, 30, 25, .84);
  --glass-edge: rgba(24, 255, 133, .18);
  --shadow: 0 24px 60px rgba(0, 12, 6, .5);
  --glow-a: rgba(0,117,113,.6);
  --glow-b: rgba(24,255,133,.16);
  --glow-c: rgba(0,117,113,.42);
  --grad: linear-gradient(100deg, #0A9A8E, #18FF85);
  --btn: linear-gradient(135deg, #22E6F2, #4FF0D0);
  --btn-ink: var(--cta-ink);
  --btn-shadow: rgba(34,230,242,.32);
  --tint: rgba(24,255,133,.09);
  --open: #18FF85;
  --members: #C4B5FD;
  --partner: #F9A8D4;
  --live: #F87171;

  --display: "Fraunces", Georgia, serif;
  --sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;

  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 28px;
  --shell: min(1160px, calc(100% - 40px));
  --header-h: 68px;
  color-scheme: dark;
}

[data-theme="light"] {
  --leaf: #007571;
  --leaf-soft: #005C59;
  --teal: #00936B;
  --dark-to-light: linear-gradient(100deg, #007571, #10C26E);
  --cta: #14C8D6;
  --cta-hi: #22E6F2;
  --cta-ink: #022624;
  --link: #00727F;
  --link-line: #14C8D6;
  --cta-edge: #0B9AA6;
  --bg: #EDF8F4;
  --bg-2: #D9F2E8;
  --ink: #08291F;
  --muted: #3D5C4C;
  --faint: #6A8577;
  --line: rgba(0, 117, 113, .16);
  --glass: linear-gradient(145deg, rgba(255,255,255,.82), rgba(236,253,245,.6));
  --glass-solid: rgba(240, 253, 244, .92);
  --glass-edge: rgba(0, 117, 113, .18);
  --shadow: 0 20px 50px rgba(0, 77, 74, .14);
  --glow-a: rgba(24,255,133,.3);
  --glow-b: rgba(0,117,113,.2);
  --glow-c: rgba(24,255,133,.18);
  --grad: linear-gradient(100deg, #007571, #00A86B);
  --btn: linear-gradient(135deg, #14C8D6, #3DE3C4);
  --btn-shadow: rgba(11,154,166,.30);
  --tint: rgba(0,117,113,.08);
  --open: #007571;
  --members: #6D28D9;
  --partner: #BE185D;
  --live: #DC2626;
  color-scheme: light;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.08; }
h1, h2 { font-family: var(--display); font-variation-settings: "opsz" 120; letter-spacing: -.02em; }
h3 { font-size: 1.15rem; letter-spacing: -.01em; }
em.grad, h1 em, h2 em {
  font-style: italic;
  font-weight: 500;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  padding-right: .06em;
}
.shell { width: var(--shell); margin-inline: auto; }
.mono { font-family: var(--mono); }
.muted { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--cta-hi); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--cta); color: var(--cta-ink); padding: 10px 16px; border-radius: 10px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }

/* ambient background glows (fixed, clipped — no sideways scroll on phones) */
.ambient { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none;
  background: radial-gradient(120% 80% at 50% -10%, var(--bg-2), var(--bg) 60%); }
.ambient span { position: absolute; border-radius: 50%; filter: blur(80px); }
.ambient .a { width: 60vmax; height: 60vmax; background: var(--glow-a); top: -25vmax; right: -25vmax; opacity: .55; }
.ambient .b { width: 45vmax; height: 45vmax; background: var(--glow-b); top: 35vh; left: -25vmax; opacity: .5; }
.ambient .c { width: 50vmax; height: 50vmax; background: var(--glow-c); bottom: -30vmax; right: -15vmax; opacity: .45; }

.glass {
  background: var(--glass);
  border: 1px solid var(--glass-edge);
  box-shadow: inset 0 1px rgba(255,255,255,.08), var(--shadow);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
}

/* ---------- buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 50px; padding: 0 22px; border-radius: 14px;
  background: var(--btn); color: var(--btn-ink);
  font-weight: 600; font-size: 1rem; text-decoration: none; border: 0; cursor: pointer;
  box-shadow: 0 12px 30px var(--btn-shadow), inset 0 1px rgba(255,255,255,.3);
  transition: transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 38px var(--btn-shadow), inset 0 1px rgba(255,255,255,.3); filter: brightness(1.06); }
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--glass-edge); box-shadow: none; }
.btn.ghost { border-color: color-mix(in srgb, var(--cta) 55%, transparent); }
.btn.ghost:hover { border-color: var(--cta); color: var(--link); }
.btn.small { min-height: 42px; padding: 0 16px; font-size: .92rem; border-radius: 12px; }
.btn .ico { font-size: 1.05em; line-height: 1; }
.link { display: inline-flex; align-items: center; gap: .45em; color: var(--link); font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--link-line); padding-bottom: 3px; }
.link:hover { border-bottom-width: 3px; }
.lede a, .answer a, .legend a, .prose a, .muted a, .crisis a { color: var(--link); text-decoration-color: var(--link-line); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; }

/* aqua CTAs */
.btn:not(.ghost) { border: 2px solid var(--cta-edge); font-weight: 700; }
.btn.ghost { color: var(--ink); border: 2px solid var(--cta); }
.btn.ghost:hover { color: var(--ink); background: color-mix(in srgb, var(--cta) 14%, transparent); }
[data-theme="light"] .btn.ghost { border-color: var(--cta-edge); }
[data-theme="light"] .tile .go { color: var(--link); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.site-header .shell { height: 100%; display: flex; align-items: center; gap: 16px; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand-mark {
  width: 42px; height: 42px; border-radius: 13px; flex: none;
  display: grid; place-content: center;
  background: linear-gradient(145deg, #007571, #0CBA7B); color: #ECFDF3;
  border: 1px solid var(--glass-edge);
  font-family: var(--mono); font-weight: 500; font-size: .66rem; line-height: .95; letter-spacing: .1em; text-align: center;
}
.brand-name { font-family: var(--display); font-size: 1.02rem; line-height: 1.02; }
.brand-name b { display: block; font-weight: 600; color: var(--leaf); }
.nav { display: none; }
.nav a { text-decoration: none; color: var(--muted); font-weight: 500; font-size: .95rem; padding: 8px 2px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"] { box-shadow: inset 0 -2px var(--leaf); }
.header-cta { display: none; }
.icon-btn {
  width: 44px; height: 44px; border-radius: 12px; flex: none;
  display: grid; place-items: center;
  background: transparent; color: var(--ink); border: 1px solid var(--glass-edge); cursor: pointer; font-size: 1.1rem;
}
.icon-btn:hover { border-color: var(--cta); }
.theme-toggle .sun { display: none; }
[data-theme="light"] .theme-toggle .sun { display: inline; }
[data-theme="light"] .theme-toggle .moon { display: none; }
.menu-btn span, .menu-btn::before, .menu-btn::after { content: ""; display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .25s, opacity .2s; }
.menu-btn { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.menu-open .menu-btn::before { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-btn span { opacity: 0; }
.menu-open .menu-btn::after { transform: translateY(-6px) rotate(-45deg); }

/* mobile menu sheet */
.mobile-nav {
  position: fixed; inset: var(--header-h) 0 auto 0; z-index: 49;
  max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
  background: var(--glass-solid);
  backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px);
  border-bottom: 1px solid var(--line);
  padding: 8px 20px 24px;
  transform: translateY(-8px); opacity: 0; visibility: hidden;
  transition: opacity .2s, transform .2s, visibility .2s;
}
.menu-open .mobile-nav { opacity: 1; transform: none; visibility: visible; }
.mobile-nav a.row { display: flex; align-items: center; gap: 14px; padding: 14px 4px; border-bottom: 1px solid var(--line); text-decoration: none; font-size: 1.1rem; font-weight: 500; }
.mobile-nav a.row span { width: 28px; text-align: center; }
.mobile-nav .btn { width: 100%; margin-top: 18px; }

@media (min-width: 900px) {
  :root { --header-h: 80px; }
  .nav { display: flex; gap: 28px; }
  .header-cta { display: inline-flex; }
  .menu-btn, .mobile-nav { display: none; }
  .brand { margin-right: 0; }
  .site-header .shell { justify-content: space-between; }
}

/* ---------- sections ---------- */
section { position: relative; }
.section { padding-block: 52px; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: .82rem; color: var(--leaf); margin-bottom: 14px; }
.kicker::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 14px var(--teal); }
.section h2 { font-size: clamp(2.1rem, 8vw, 3.6rem); }
.section-head { display: grid; gap: 14px; margin-bottom: 34px; }
.section-head p { color: var(--muted); max-width: 56ch; margin: 0; }
@media (min-width: 900px) {
  .section { padding-block: 110px; }
  .section-head { grid-template-columns: 1fr 1fr; align-items: end; gap: 40px; margin-bottom: 48px; }
}

/* ---------- hero ---------- */
.hero { padding-block: 28px 56px; display: grid; gap: 36px; }
.hero h1 { font-size: clamp(3.3rem, 15vw, 7rem); line-height: .95; margin: 12px 0 22px; }
.hero h1 em { display: block; }
.hero-lede { font-size: 1.15rem; color: var(--muted); max-width: 34ch; margin-bottom: 28px; }
.hero .actions .btn { flex: 1 1 auto; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.chip { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 999px; font-size: .86rem; border: 1px solid var(--line); color: var(--muted); }

.hero-art { position: relative; height: 360px; margin: 0 4px 24px; display: grid; place-items: center; isolation: isolate; }
.emoji-sky span { position: absolute; font-size: 1.5rem; animation: drift 9s ease-in-out infinite; z-index: 1; }
.emoji-sky span:nth-child(1) { top: 4%; left: 8%; }
.emoji-sky span:nth-child(2) { top: 10%; right: 10%; animation-delay: -2s; }
.emoji-sky span:nth-child(3) { top: 46%; left: 0; animation-delay: -4s; }
.emoji-sky span:nth-child(4) { top: 40%; right: 0; animation-delay: -1s; }
.emoji-sky span:nth-child(5) { bottom: 6%; left: 16%; animation-delay: -6s; }
.emoji-sky span:nth-child(6) { bottom: 2%; right: 20%; animation-delay: -3s; }
.emoji-sky span:nth-child(7) { top: 0; left: 46%; animation-delay: -5s; }
.orbit { position: absolute; border-radius: 50%; border: 1px dashed var(--glass-edge); animation: spin 40s linear infinite; z-index: -1; }
.orbit.o1 { width: 300px; height: 300px; }
.orbit.o2 { width: 220px; height: 220px; animation-direction: reverse; animation-duration: 28s; border-style: solid; border-color: var(--line); }
.orbit.o1::after, .orbit.o2::after { content: ""; position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; border-radius: 50%; background: var(--leaf); box-shadow: 0 0 16px var(--leaf); }
.orbit.o2::after { background: var(--teal); box-shadow: 0 0 16px var(--teal); top: auto; bottom: -5px; }
.hero-card {
  width: 210px; aspect-ratio: .84; position: relative; z-index: 2; overflow: hidden;
  border-radius: 48% 48% 28% 28% / 40% 40% 24% 24%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  transform: rotate(2deg);
}
.hero-card p { font-family: var(--display); font-size: 1.32rem; line-height: 1.2; margin: 0; }
.hero-card strong { color: var(--leaf); font-weight: 600; }
.pulse { position: absolute; top: 24px; display: flex; gap: 5px; }
.pulse i { width: 6px; height: 6px; border-radius: 50%; background: var(--leaf); animation: blink 1.6s ease-in-out infinite; }
.pulse i:nth-child(2) { background: var(--teal); animation-delay: .2s; }
.pulse i:nth-child(3) { background: var(--leaf-soft); animation-delay: .4s; }
.faces { position: absolute; bottom: 20px; display: flex; }
.faces img { width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--bg); margin-left: -8px; object-fit: cover; }
.faces img:first-child { margin-left: 0; }
.note {
  position: absolute; z-index: 3; padding: 10px 14px; border-radius: 16px;
  font-size: .78rem; line-height: 1.35; color: var(--muted); max-width: 170px;
  animation: bob 6s ease-in-out infinite;
}
.note b { display: block; color: var(--ink); font-size: .88rem; }
.note.n1 { top: 4%; left: 0; }
.note.n2 { bottom: -7%; right: 0; animation-delay: -3s; }

@media (min-width: 900px) {
  .hero { grid-template-columns: 1.05fr .95fr; align-items: center; gap: 48px; padding-block: 40px 40px; }
  .hero .actions .btn { flex: 0 0 auto; }
  .hero-lede { font-size: 1.25rem; }
  .hero-art { height: 540px; }
  .orbit.o1 { width: 470px; height: 470px; }
  .orbit.o2 { width: 340px; height: 340px; }
  .hero-card { width: 330px; }
  .hero-card p { font-size: 2.05rem; }
  .emoji-sky span { font-size: 2rem; }
  .note { font-size: .86rem; max-width: 210px; padding: 14px 18px; }
  .note b { font-size: 1rem; }
  .note.n1 { top: 16%; left: -2%; }
  .note.n2 { bottom: 12%; right: -2%; }
  .faces img { width: 40px; height: 40px; }
}

/* ---------- meetings ---------- */
.next-up {
  border-radius: var(--r-lg); padding: 22px; display: grid; gap: 16px; margin-bottom: 22px;
  position: relative; overflow: hidden;
}
.next-up::before { content: ""; position: absolute; inset: 0; background: radial-gradient(80% 120% at 100% 0%, rgba(24,255,133,.14), transparent 60%); pointer-events: none; }
.next-up .label { font-family: var(--mono); font-size: .82rem; color: var(--muted); display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.next-up h3 { font-family: var(--display); font-size: clamp(1.7rem, 7vw, 2.4rem); font-weight: 600; }
.next-up .when { font-family: var(--mono); font-size: 1rem; color: var(--leaf); }
.next-up .when small { display: block; color: var(--muted); font-size: .82rem; margin-top: 2px; }
.next-up p { margin: 0; color: var(--muted); }
.next-up .btn { justify-self: start; }
.countdown { font-family: var(--mono); color: var(--ink); background: var(--tint); padding: 3px 9px; border-radius: 8px; }
.live-dot { display: inline-flex; align-items: center; gap: 7px; color: var(--live); font-weight: 600; font-family: var(--mono); }
.live-dot::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--live); animation: ping 1.4s ease-out infinite; }
@media (min-width: 760px) {
  .next-up { grid-template-columns: 1fr auto; align-items: end; padding: 32px 36px; }
  .next-up .btn { justify-self: end; }
}

.filters { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 12px; margin: 0 -2px 10px; scrollbar-width: none; }
.filters::-webkit-scrollbar { display: none; }
.filter {
  flex: none; min-height: 40px; padding: 0 14px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line); background: transparent; color: var(--muted); font: inherit; font-size: .92rem; font-weight: 500;
}
.filter[aria-pressed="true"] { background: var(--dark-to-light); border-color: transparent; color: #02130F; }

.meeting-list { display: grid; gap: 10px; }
.meeting {
  display: grid; grid-template-columns: 58px 1fr; gap: 4px 14px; align-items: start;
  padding: 16px; border-radius: var(--r-md); text-decoration: none; color: inherit;
  transition: border-color .2s, transform .2s;
}
.meeting:hover { border-color: color-mix(in srgb, var(--leaf) 60%, transparent); }
.meeting .day { grid-row: span 3; display: grid; place-items: center; align-content: center; gap: 2px; width: 58px; height: 58px; border-radius: 16px; background: var(--tint); border: 1px solid var(--line); font-family: var(--mono); line-height: 1; }
.meeting .day b { font-size: .95rem; font-weight: 500; }
.meeting .day span { font-size: 1.15rem; }
.meeting .time { font-family: var(--mono); font-size: .86rem; color: var(--leaf); display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; }
.meeting .time .local { color: var(--muted); }
.meeting h3 { font-size: 1.08rem; }
.meeting p { margin: 2px 0 0; color: var(--muted); font-size: .95rem; }
.meeting .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; grid-column: 2; }
.meeting .go { grid-column: 1 / -1; margin-top: 10px; }
.meeting .go .btn { width: 100%; }
.meeting.is-live { border-color: var(--live); }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: .78rem; font-weight: 600; border: 1px solid currentColor; line-height: 1.5; }
.pill.open { color: var(--open); }
.pill.members { color: var(--members); }
.pill.partner { color: var(--partner); }
.pill.platform { color: var(--muted); border-color: var(--line); font-weight: 500; }
.pill.hiatus { color: var(--sun); }
.is-hiatus { opacity: .72; }
.is-hiatus .hiatus-note { color: var(--sun); font-weight: 600; }
@media (min-width: 760px) {
  .meeting { grid-template-columns: 64px 1fr auto; padding: 18px 22px; align-items: center; }
  .meeting .day { width: 64px; height: 64px; }
  .meeting .tags { grid-column: 2; }
  .meeting .go { grid-column: 3; grid-row: 1 / span 3; margin: 0; }
  .meeting .go .btn { width: auto; }
}
.week-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; align-items: center; margin-top: 22px; color: var(--muted); font-size: .9rem; }

/* full meetings page */
.day-group { margin-top: 30px; }
.day-group h2.day-title { font-size: 1.5rem; display: flex; align-items: baseline; gap: 12px; margin-bottom: 12px; }
.day-group h2.day-title small { font-family: var(--mono); font-size: .8rem; color: var(--muted); font-weight: 400; }
.meeting-full { padding: 20px; border-radius: var(--r-md); display: grid; gap: 10px; }
.meeting-full + .meeting-full { margin-top: 10px; }
.meeting-full header { display: grid; gap: 6px; }
.meeting-full h3 { font-family: var(--display); font-size: 1.45rem; }
.meeting-full .time { font-family: var(--mono); color: var(--leaf); font-size: .92rem; display: flex; flex-wrap: wrap; gap: 4px 12px; }
.meeting-full .time .local { color: var(--muted); }
.meeting-full .body p { color: var(--muted); margin-bottom: .6em; max-width: 68ch; }
.meeting-full .row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 4px; }
.meeting-full .row .btn { flex: 1 1 220px; }
.meeting-full.is-live { border-color: var(--live); }
.vault { border-left: 3px solid var(--teal); padding: 12px 14px; border-radius: 0 12px 12px 0; background: var(--tint); }
.vault h4 { font-family: var(--mono); font-weight: 500; font-size: .86rem; color: var(--teal); margin-bottom: 6px; }
.vault ul { margin: 0; padding-left: 18px; color: var(--muted); font-size: .95rem; }
.vault li + li { margin-top: 4px; }
.legend { display: grid; gap: 10px; margin: 26px 0 0; }
.legend div { display: flex; gap: 12px; align-items: flex-start; color: var(--muted); font-size: .95rem; }
.legend .pill { flex: none; margin-top: 2px; }
@media (min-width: 760px) { .legend { grid-template-columns: repeat(3, 1fr); } }
.updated { font-family: var(--mono); font-size: .82rem; color: var(--faint); }

/* ---------- strengths (flip cards) ---------- */
.intro-copy p { color: var(--muted); font-size: 1.08rem; max-width: 58ch; }
.flip-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 30px; }
.flip { perspective: 1200px; min-height: 190px; cursor: pointer; border-radius: var(--r-md); }
.flip-inner { position: relative; height: 100%; min-height: inherit; transition: transform .7s cubic-bezier(.2,.7,.2,1); transform-style: preserve-3d; }
.flip.is-flipped .flip-inner { transform: rotateY(180deg); }
.flip-face { position: absolute; inset: 0; border-radius: var(--r-md); padding: 16px; display: flex; flex-direction: column; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.flip-back { transform: rotateY(180deg); justify-content: center; }
.flip-face .em { font-size: 1.9rem; line-height: 1; margin-bottom: auto; }
.flip-face h3 { font-family: var(--display); font-size: 1.12rem; line-height: 1.15; }
.flip-back p { margin: 0; font-size: .93rem; color: var(--ink); }
.flip-hint { position: absolute; right: 14px; top: 12px; font-size: .9rem; color: var(--faint); }
.flip.wide { grid-column: 1 / -1; min-height: 150px; }
@media (min-width: 900px) {
  .flip-grid { grid-template-columns: repeat(5, 1fr); gap: 14px; }
  .flip, .flip.wide { min-height: 250px; grid-column: auto; }
  .flip-face { padding: 22px; }
  .flip-face h3 { font-size: 1.3rem; }
  @media (hover: hover) { .flip:hover .flip-inner { transform: rotateY(180deg); } }
}

/* ---------- stories ---------- */
.stories { display: grid; gap: 16px; }
.quote-card { border-radius: var(--r-lg); padding: 26px 22px; position: relative; }
.quote-card .mark { font-family: var(--display); font-size: 4.5rem; line-height: .6; color: var(--leaf); height: 30px; }
.quote-card blockquote { margin: 0 0 22px; font-family: var(--display); font-size: clamp(1.18rem, 4.6vw, 1.7rem); line-height: 1.35; }
.person { display: flex; align-items: center; gap: 12px; }
.person img, .person .initial { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; border: 2px solid var(--glass-edge); flex: none; }
.person .initial { display: grid; place-items: center; background: var(--dark-to-light); color: #ECFDF3; font-weight: 700; font-family: var(--display); font-size: 1.2rem; }
.person b { display: block; }
.person small { color: var(--muted); }
.carousel { position: relative; }
.carousel-track { display: grid; align-items: start; grid-auto-flow: column; grid-auto-columns: 100%; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track > * { scroll-snap-align: start; }
.dots { display: flex; justify-content: center; gap: 4px; margin-top: 14px; }
.dots button { width: 34px; height: 34px; border: 0; background: none; padding: 0; cursor: pointer; display: grid; place-items: center; }
.dots button::before { content: ""; width: 9px; height: 9px; border-radius: 99px; background: var(--line); transition: width .25s, background .25s; }
.dots button[aria-current="true"]::before { width: 26px; background: var(--leaf); }
@media (min-width: 900px) { .carousel-track { grid-auto-columns: calc(50% - 7px); } .quote-card { padding: 36px; } }
.story-full { border-radius: var(--r-lg); padding: 24px; }
.story-full p { color: var(--muted); }
.story-full .person { margin-top: 18px; }
.story-grid { display: grid; gap: 16px; }
@media (min-width: 900px) { .story-grid { grid-template-columns: 1fr 1fr; align-items: start; } .story-full { padding: 34px; } }

/* ---------- guidelines ---------- */
.principles { display: grid; gap: 12px; }
.principle { border-radius: var(--r-md); padding: 20px; display: grid; grid-template-columns: auto 1fr; gap: 14px; }
.principle .n { font-family: var(--mono); color: var(--leaf); font-size: .9rem; padding-top: 3px; }
.principle h3 { margin-bottom: 4px; }
.principle p { margin: 0; color: var(--muted); }
@media (min-width: 900px) { .principles.three { grid-template-columns: repeat(3, 1fr); } .principles.three .principle { grid-template-columns: 1fr; } }
.rules { counter-reset: rule; list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.rules li { counter-increment: rule; position: relative; padding: 20px 20px 20px 64px; border-radius: var(--r-md); }
.rules li::before { content: counter(rule, decimal-leading-zero); position: absolute; left: 20px; top: 21px; font-family: var(--mono); color: var(--leaf); }
.rules li h3 { margin-bottom: 6px; }
.rules li p { margin: 0 0 .5em; color: var(--muted); }
.rules li p:last-child { margin: 0; }
.steps { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.steps span { font-size: .85rem; padding: 4px 10px; border-radius: 99px; border: 1px solid var(--line); color: var(--ink); }

/* ---------- faq ---------- */
.faq-grid { display: grid; gap: 30px; }
@media (min-width: 900px) { .faq-grid { grid-template-columns: .8fr 1.2fr; gap: 60px; } .faq-grid .sticky { position: sticky; top: calc(var(--header-h) + 30px); align-self: start; } }
.accordion { display: grid; gap: 10px; }
.accordion details { border-radius: var(--r-md); padding: 0 20px; }
.accordion summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 18px 0; font-weight: 600; font-size: 1.04rem; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; font-family: var(--mono); font-size: 1.4rem; color: var(--leaf); transition: transform .25s; flex: none; }
.accordion details[open] summary::after { transform: rotate(45deg); }
.accordion .answer { padding-bottom: 18px; color: var(--muted); }
.accordion .answer p:last-child { margin-bottom: 0; }

/* ---------- tiles (resources / page links) ---------- */
.tiles { display: grid; gap: 12px; }
@media (min-width: 760px) { .tiles { grid-template-columns: repeat(3, 1fr); gap: 16px; } .tiles.two { grid-template-columns: 1fr 1fr; } }
.tile { display: grid; gap: 8px; padding: 22px; border-radius: var(--r-md); text-decoration: none; color: inherit; transition: border-color .2s, transform .2s; }
.tile:hover { border-color: color-mix(in srgb, var(--cta) 60%, transparent); transform: translateY(-3px); }
.tile .em { font-size: 1.8rem; }
.tile h3 { font-family: var(--display); font-size: 1.3rem; }
.tile p { margin: 0; color: var(--muted); font-size: .96rem; }
.tile .go { color: var(--link); font-weight: 600; font-size: .92rem; margin-top: 4px; }

/* ---------- cta band ---------- */
.cta-band { border-radius: var(--r-lg); padding: 40px 24px; text-align: center; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: -40%; background: conic-gradient(from 0deg, transparent, rgba(0,117,113,.38), transparent 30%, rgba(24,255,133,.14), transparent 60%); animation: spin 26s linear infinite; z-index: -1; }
.cta-band h2 { font-size: clamp(2.3rem, 10vw, 4.4rem); margin-bottom: 14px; }
.cta-band p { color: var(--muted); max-width: 48ch; margin: 0 auto 26px; }
.cta-band .actions { justify-content: center; }
@media (min-width: 900px) { .cta-band { padding: 80px 40px; } }

/* ---------- page heads & prose ---------- */
.page-head { padding-block: 40px 20px; }
.page-head h1 { font-size: clamp(2.7rem, 12vw, 5.2rem); line-height: .98; margin-bottom: 18px; }
.page-head p.lede { font-size: 1.15rem; color: var(--muted); max-width: 52ch; }
@media (min-width: 900px) { .page-head { padding-block: 80px 30px; } }
.prose { max-width: 68ch; }
.prose p, .prose li { color: var(--muted); }
.prose h2 { font-size: clamp(1.8rem, 6vw, 2.5rem); margin: 1.6em 0 .5em; }
.prose h3 { margin: 1.4em 0 .4em; font-size: 1.2rem; }
.prose strong { color: var(--ink); }
.prose blockquote { margin: 1.5em 0; padding-left: 18px; border-left: 3px solid var(--leaf); font-family: var(--display); font-size: 1.25rem; color: var(--ink); }
.split { display: grid; gap: 30px; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; } }
.photo-card { border-radius: var(--r-lg); overflow: hidden; padding: 10px; }
.photo-card img { border-radius: calc(var(--r-lg) - 8px); width: 100%; aspect-ratio: 1; object-fit: cover; }
.photo-card figcaption { padding: 12px 8px 4px; font-size: .9rem; color: var(--muted); }

/* donations */
.money { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .money { grid-template-columns: repeat(3, 1fr); } }
.money .tile b { font-family: var(--mono); font-size: 1.6rem; font-weight: 500; color: var(--leaf); }
.bars { display: grid; gap: 14px; margin-top: 10px; }
.bar { display: grid; gap: 6px; }
.bar .top { display: flex; justify-content: space-between; font-family: var(--mono); font-size: .9rem; }
.bar .track { height: 12px; border-radius: 99px; background: var(--line); overflow: hidden; }
.bar .fill { height: 100%; border-radius: 99px; background: var(--dark-to-light); }

/* forms-ish contact list */
.contact-list { display: grid; gap: 12px; }
@media (min-width: 760px) { .contact-list { grid-template-columns: 1fr 1fr; } }

/* ---------- footer ---------- */
.site-footer { margin-top: 40px; border-top: 1px solid var(--line); padding-block: 44px calc(30px + env(safe-area-inset-bottom)); }
.foot-grid { display: grid; gap: 26px 20px; grid-template-columns: 1fr 1fr; }
.foot-grid > :first-child { grid-column: 1 / -1; }
.foot-grid h4 { font-family: var(--mono); font-weight: 500; font-size: .82rem; color: var(--faint); margin-bottom: 10px; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.foot-grid a { text-decoration: none; color: var(--muted); display: inline-block; padding: 5px 0; }
.foot-grid a:hover { color: var(--ink); }
.foot-blurb { color: var(--muted); max-width: 36ch; margin-top: 14px; font-size: .95rem; }
.crisis { margin-top: 30px; padding: 16px 18px; border-radius: var(--r-md); font-size: .95rem; color: var(--muted); }
.crisis b { color: var(--ink); }
.crisis a { color: var(--link); }
.foot-bottom { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; font-size: .88rem; color: var(--faint); }
@media (min-width: 900px) { .foot-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } .foot-grid > :first-child { grid-column: auto; } }

/* ---------- motion ---------- */
@keyframes drift { 0%,100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-14px) rotate(8deg); } }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes blink { 0%,100% { opacity: .35; } 50% { opacity: 1; } }
@keyframes ping { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--live) 70%, transparent); } 100% { box-shadow: 0 0 0 10px transparent; } }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- meeting pages ---------- */
.mlink { color: inherit; text-decoration: none; }
.mlink:hover { text-decoration: underline; text-decoration-color: var(--cta); text-underline-offset: 4px; }
.kicker a { color: inherit; text-decoration: none; }
.mini-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); margin-top: 14px; }
.mini { display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; align-items: center; padding: 14px 16px; text-decoration: none; color: var(--ink); border-radius: 18px; }
.mini span { grid-row: span 2; font-size: 1.6rem; }
.mini small { color: var(--muted); font-family: var(--mono); font-size: .75rem; }
.mini:hover { border-color: var(--cta); }

/* ---------- Tool Shed ---------- */
.ts-bar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; padding: 12px 14px; border-radius: 18px; margin-bottom: 18px; position: sticky; top: 76px; z-index: 5; }
.ts-crumbs { font-family: var(--mono); font-size: .85rem; display: flex; flex-wrap: wrap; gap: 4px; }
.ts-crumbs a { color: var(--link); text-decoration: none; }
.ts-crumbs a:last-child { color: var(--ink); font-weight: 600; }
.ts-search { display: flex; align-items: center; gap: 8px; flex: 1 1 220px; max-width: 360px; background: color-mix(in srgb, var(--ink) 6%, transparent); border-radius: 999px; padding: 8px 14px; }
.ts-search input { flex: 1; background: none; border: 0; color: var(--ink); font: inherit; outline: none; min-width: 0; }
.ts-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
.ts-card { display: flex; flex-direction: column; gap: 6px; text-align: left; padding: 10px 10px 14px; border-radius: 18px; cursor: pointer; color: var(--ink); font: inherit; }
.ts-card:hover, .ts-card:focus-visible { border-color: var(--cta); transform: translateY(-2px); }
.ts-card b { font-size: .95rem; line-height: 1.3; padding: 0 4px; overflow-wrap: anywhere; }
.ts-card small { color: var(--muted); font-family: var(--mono); font-size: .72rem; padding: 0 4px; }
.ts-thumb { position: relative; aspect-ratio: 4/3; border-radius: 12px; overflow: hidden; background: color-mix(in srgb, var(--accent, #18FF85) 8%, transparent); display: grid; place-items: center; }
.ts-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ts-thumb .ts-ico { font-size: 2.2rem; }
.ts-thumb img + .ts-ico { position: absolute; right: 8px; bottom: 6px; font-size: 1.2rem; filter: drop-shadow(0 1px 3px rgba(0,0,0,.5)); }
.ts-folder { justify-content: center; min-height: 140px; }
.ts-folder .ts-ico { font-size: 2.6rem; padding: 4px; }
.ts-where { opacity: .8; }
.ts-viewer { width: min(1000px, 96vw); height: min(88vh, 900px); padding: 0; border: 1px solid var(--glass-edge); border-radius: 20px; background: var(--bg, #02130F); color: var(--ink); overflow: hidden; }
.ts-viewer::backdrop { background: rgba(0,0,0,.65); backdrop-filter: blur(4px); }
.ts-viewer[open] { display: flex; flex-direction: column; }
.ts-viewer-bar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; padding: 10px 14px; border-bottom: 1px solid var(--glass-edge); }
.ts-viewer-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.ts-viewer iframe { flex: 1; width: 100%; border: 0; background: #fff; }
@media (max-width: 640px) { .ts-grid { grid-template-columns: repeat(2, 1fr); } .ts-bar { top: 64px; } .ts-viewer { width: 100vw; height: 100dvh; max-height: 100dvh; max-width: 100vw; border-radius: 0; } }
.single-meeting .meeting-full h3, .single-meeting .meeting-full .row > .link { display: none; }
