/* ============================================================
   soma.digital website
   Design tokens: 9 themes x light/dark, the same nine the
   app offers, so one choice answers for both.
   Mode lives UNDER the theme, per the 2026-09-15 decision.
   Every color in the site reads from these tokens, so the
   picker recolors the site AND the app demo from one place.
   ============================================================ */

/* ---------- Theme 1: Dayspring (brand candidate) ----------
   Deep indigo night into warm amber dawn. Grown out of the
   palette already on somadigital.org, lightened so the orange
   stops dominating. Expansive, adventure, joy.               */
:root,
[data-theme="dayspring"] {
  --bg:          #FBF7F0;
  --bg-alt:      #F3EDE2;
  --surface:     #FFFFFF;
  --ink:         #1B2340;
  --ink-soft:    #5A6484;
  --line:        #E4DCCC;
  --accent:      #F2922E;
  --accent-text: #9A500C;
  --accent-ink:  #1B2340;
  --accent-soft: #FDEBD2;
  --second:      #2E3A63;
  --grad-a:      #FFDFAC;
  --grad-b:      #F4A862;
  --grad-c:      #2E3A63;
  --hero-ink:    #FFFFFF;
  --hero-soft:   #D8DDF0;
}
[data-theme="dayspring"][data-mode="dark"] {
  --bg:          #0F1428;
  --bg-alt:      #141B34;
  --surface:     #1A2240;
  --ink:         #EDF0F8;
  --ink-soft:    #9BA5C4;
  --line:        #2A3459;
  --accent:      #FFB660;
  --accent-text: #FFB660;
  --accent-ink:  #241708;
  --accent-soft: #33280F;
  --second:      #8695CE;
  --grad-a:      #6B4A2A;
  --grad-b:      #2A3358;
  --grad-c:      #0F1428;
  --hero-ink:    #FFFFFF;
  --hero-soft:   #B9C1DC;
}

/* ---------- Theme 2: Ember ----------
   Replaces Meadow, which Humberto rejected. Two true dominants, not one
   colour with tints: a deep aubergine ink and a burnt terracotta. Warmer
   and heavier than Dayspring, still nowhere near pink. */
[data-theme="ember"] {
  --bg:          #FAF6F2;
  --bg-alt:      #F1E9E2;
  --surface:     #FFFFFF;
  --ink:         #2E1F2B;
  --ink-soft:    #6E5A66;
  --line:        #E3D6CC;
  --accent:      #C1522F;
  --accent-text: #AC492A;
  --accent-ink:  #FFFFFF;
  --accent-soft: #F7E2D8;
  --second:      #5E3B52;
  --grad-a:      #F0C9A8;
  --grad-b:      #C1522F;
  --grad-c:      #2E1F2B;
  --hero-ink:    #FFFFFF;
  --hero-soft:   #EBD9D0;
}
[data-theme="ember"][data-mode="dark"] {
  --bg:          #191016;
  --bg-alt:      #22161F;
  --surface:     #271A23;
  --ink:         #F4E9EE;
  --ink-soft:    #B39BA8;
  --line:        #3B2833;
  --accent:      #E6714A;
  --accent-text: #E6714A;
  --accent-ink:  #23100A;
  --accent-soft: #331D18;
  --second:      #B583A3;
  --grad-a:      #6B3320;
  --grad-b:      #35202C;
  --grad-c:      #191016;
  --hero-ink:    #FFFFFF;
  --hero-soft:   #D8C2CD;
}

/* ---------- Theme 3: Harbor ----------
   Calm teal with a warm sand accent. This is the cool/blue the
   client chose as default on 2026-06-04, warmed up so it stops
   reading cold.                                              */
[data-theme="harbor"] {
  --bg:          #F4F7F8;
  --bg-alt:      #E8EFF1;
  --surface:     #FFFFFF;
  --ink:         #102B33;
  --ink-soft:    #4E6B74;
  --line:        #D6E2E5;
  --accent:      #217C8D;
  --accent-text: #1F7383;
  --accent-ink:  #FFFFFF;
  --accent-soft: #DCEDF0;
  --second:      #C97A2B;
  --grad-a:      #E8C79A;
  --grad-b:      #2E8497;
  --grad-c:      #0E2B34;
  --hero-ink:    #FFFFFF;
  --hero-soft:   #CBE1E6;
}
[data-theme="harbor"][data-mode="dark"] {
  --bg:          #0B1A1F;
  --bg-alt:      #0F232A;
  --surface:     #13272E;
  --ink:         #E6F1F3;
  --ink-soft:    #93AFB6;
  --line:        #1F3B44;
  --accent:      #4FB6C8;
  --accent-text: #4FB6C8;
  --accent-ink:  #04191E;
  --accent-soft: #102C34;
  --second:      #F0B368;
  --grad-a:      #6B4526;
  --grad-b:      #123039;
  --grad-c:      #0B1A1F;
  --hero-ink:    #FFFFFF;
  --hero-soft:   #A9C8CF;
}

/* ============================================================
   Themes 4 to 9: the six palettes that also exist in the app.
   Ported from Malena's V7 prototype so the picker at the top of
   every page and the picker inside the app comparison offer the
   SAME nine names. Choosing Harvest here shows the client what
   Harvest does to the website AND to the app.

   Values are hers, remapped from her token names to ours:
   --bg-light becomes --bg, --card-bg becomes --surface,
   --text-dark becomes --ink, --text-muted becomes --ink-soft,
   --accent-warm becomes --accent, --accent-deep becomes
   --accent-text, --accent-cream-deep becomes --line.

   Two of ours are not in her set and are derived here:
   --second, a counterweight drawn from the theme's own family,
   and the three gradient stops the hero and the bands use.
   Several of her themes are deliberately one hue, so the
   two-dominant rule still belongs to the three brand
   candidates above, not to these six.
   ============================================================ */

/* ---------- Warm: the app's own default. Sand and deep navy. */
[data-theme="warm"] {
  --bg:          #F5F0EB;
  --bg-alt:      #F5ECE0;
  --surface:     #FFFFFF;
  --ink:         #2A2A2A;
  --ink-soft:    #625F5B;
  --line:        #E8D5B7;
  --accent:      #D4A574;
  --accent-text: #8A5A1E;
  --accent-ink:  #2A2116;
  --accent-soft: #F7EBD9;
  --second:      #1A1A2E;
  --grad-a:      #E8D5B7;
  --grad-b:      #C9934A;
  --grad-c:      #1A1A2E;
  --hero-ink:    #FFFFFF;
  --hero-soft:   #DAD6E2;
}
[data-theme="warm"][data-mode="dark"] {
  --bg:          #14142A;
  --bg-alt:      #1A1A2E;
  --surface:     #16213E;
  --ink:         #F2F2F4;
  --ink-soft:    #A6A6B8;
  --line:        #2B2B48;
  --accent:      #D4A574;
  --accent-text: #D4A574;
  --accent-ink:  #241A0C;
  --accent-soft: #2C2418;
  --second:      #E8D5B7;
  --grad-a:      #5A4126;
  --grad-b:      #22223C;
  --grad-c:      #14142A;
  --hero-ink:    #FFFFFF;
  --hero-soft:   #C6C3D6;
}

/* ---------- Cool: steel blue on warm stone. */
[data-theme="cool"] {
  --bg:          #FAF7F6;
  --bg-alt:      #EFEAE4;
  --surface:     #FFFFFF;
  --ink:         #2E2E2E;
  --ink-soft:    #64635F;
  --line:        #DCD9D4;
  --accent:      #285570;
  --accent-text: #1F4358;
  --accent-ink:  #FFFFFF;
  --accent-soft: #DDE8EF;
  --second:      #8C7B6B;
  --grad-a:      #D9E4EC;
  --grad-b:      #3D7191;
  --grad-c:      #1F4358;
  --hero-ink:    #FFFFFF;
  --hero-soft:   #CDDAE3;
}
[data-theme="cool"][data-mode="dark"] {
  --bg:          #090B0C;
  --bg-alt:      #151718;
  --surface:     #1A1C1D;
  --ink:         #EEF1F4;
  --ink-soft:    #9A9C9D;
  --line:        #2B2D2E;
  --accent:      #6DA3C4;
  --accent-text: #6DA3C4;
  --accent-ink:  #07161E;
  --accent-soft: #1B262D;
  --second:      #C7BDB1;
  --grad-a:      #2C4A5C;
  --grad-b:      #14191C;
  --grad-c:      #090B0C;
  --hero-ink:    #FFFFFF;
  --hero-soft:   #BFCBD4;
}

/* ---------- Open Door: clay and aubergine. */
[data-theme="open-door"] {
  --bg:          #FDF3EA;
  --bg-alt:      #F8EADF;
  --surface:     #FFFDFB;
  --ink:         #3A2F28;
  --ink-soft:    #705849;
  --line:        #F0E2D8;
  --accent:      #945547;
  --accent-text: #7A4438;
  --accent-ink:  #FFFFFF;
  --accent-soft: #FAE7E0;
  --second:      #5C3A62;
  --grad-a:      #F8E4D8;
  --grad-b:      #945547;
  --grad-c:      #3B2440;
  --hero-ink:    #FFFFFF;
  --hero-soft:   #EBD8D2;
}
[data-theme="open-door"][data-mode="dark"] {
  --bg:          #2A1A2E;
  --bg-alt:      #33203A;
  --surface:     #2C1D31;
  --ink:         #F3E9E6;
  --ink-soft:    #C6B2B9;
  --line:        #432B49;
  --accent:      #E8AB95;
  --accent-text: #E8AB95;
  --accent-ink:  #2B1509;
  --accent-soft: #3B2634;
  --second:      #C79ED2;
  --grad-a:      #6B3F55;
  --grad-b:      #33203A;
  --grad-c:      #2A1A2E;
  --hero-ink:    #FFFFFF;
  --hero-soft:   #DDCBD4;
}

/* ---------- Meadow: open water blue. */
[data-theme="meadow"] {
  --bg:          #F7FBFD;
  --bg-alt:      #EAF4F9;
  --surface:     #FFFFFF;
  --ink:         #2E3A42;
  --ink-soft:    #566670;
  --line:        #DCEAF1;
  --accent:      #367191;
  --accent-text: #2B5D78;
  --accent-ink:  #FFFFFF;
  --accent-soft: #DDF0F9;
  --second:      #1E4A63;
  --grad-a:      #DDF0F9;
  --grad-b:      #63B4DA;
  --grad-c:      #1E3A4A;
  --hero-ink:    #FFFFFF;
  --hero-soft:   #CFE4EE;
}
[data-theme="meadow"][data-mode="dark"] {
  --bg:          #101A21;
  --bg-alt:      #18262F;
  --surface:     #1A2831;
  --ink:         #E6F0F6;
  --ink-soft:    #96ABB7;
  --line:        #263944;
  --accent:      #8ECBE6;
  --accent-text: #8ECBE6;
  --accent-ink:  #0C1920;
  --accent-soft: #1D2F3A;
  --second:      #6FB0CD;
  --grad-a:      #2C5468;
  --grad-b:      #16242C;
  --grad-c:      #101A21;
  --hero-ink:    #FFFFFF;
  --hero-soft:   #BED3DE;
}

/* ---------- Harvest: amber and deep brown. */
[data-theme="harvest"] {
  --bg:          #FBF7EE;
  --bg-alt:      #F5ECD8;
  --surface:     #FFFEFA;
  --ink:         #302B21;
  --ink-soft:    #6C6350;
  --line:        #E9DCC0;
  --accent:      #8A6326;
  --accent-text: #6F4E1C;
  --accent-ink:  #FFFFFF;
  --accent-soft: #F9EFD8;
  --second:      #4A3A1E;
  --grad-a:      #F0DCAE;
  --grad-b:      #C4A058;
  --grad-c:      #302B21;
  --hero-ink:    #FFFFFF;
  --hero-soft:   #E6DCC4;
}
[data-theme="harvest"][data-mode="dark"] {
  --bg:          #151209;
  --bg-alt:      #1F1A10;
  --surface:     #221D12;
  --ink:         #F0EBDF;
  --ink-soft:    #A79A7F;
  --line:        #332C1C;
  --accent:      #E0BD72;
  --accent-text: #E0BD72;
  --accent-ink:  #221904;
  --accent-soft: #2E2716;
  --second:      #C4A058;
  --grad-a:      #5A4820;
  --grad-b:      #1E1A0F;
  --grad-c:      #151209;
  --hero-ink:    #FFFFFF;
  --hero-soft:   #D8CDB4;
}

/* ---------- Fernlight: quiet green. */
[data-theme="fernlight"] {
  --bg:          #F4F9F4;
  --bg-alt:      #E7F2EA;
  --surface:     #FDFFFD;
  --ink:         #23322A;
  --ink-soft:    #586B5F;
  --line:        #D3E5D8;
  --accent:      #3A7457;
  --accent-text: #2C5C44;
  --accent-ink:  #FFFFFF;
  --accent-soft: #EBF6EE;
  --second:      #1E4433;
  --grad-a:      #D6EEDE;
  --grad-b:      #3A7457;
  --grad-c:      #1E3A2C;
  --hero-ink:    #FFFFFF;
  --hero-soft:   #CFE3D6;
}
[data-theme="fernlight"][data-mode="dark"] {
  --bg:          #0E1611;
  --bg-alt:      #16221A;
  --surface:     #19251D;
  --ink:         #E6F0E9;
  --ink-soft:    #95AB9D;
  --line:        #243528;
  --accent:      #8CCFA5;
  --accent-text: #8CCFA5;
  --accent-ink:  #0B1A10;
  --accent-soft: #1C2D22;
  --second:      #6FB188;
  --grad-a:      #274A36;
  --grad-b:      #14201A;
  --grad-c:      #0E1611;
  --hero-ink:    #FFFFFF;
  --hero-soft:   #C4D8CB;
}

/* ============================================================
   Base
   ============================================================ */

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

html { scroll-behavior: smooth; scroll-padding-top: 130px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Source Sans 3", "Avenir Next", "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 1.125rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: background-color .45s ease, color .45s ease;
  overflow-x: clip;
}

h1, h2 {
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  line-height: 1.04;
  margin: 0 0 .4em;
  font-weight: 600;
  letter-spacing: -0.024em;
  text-wrap: balance;
}
h3 {
  font-family: "Source Sans 3", system-ui, sans-serif;
  line-height: 1.25;
  margin: 0 0 .35em;
  font-weight: 700;
}
h1 { font-size: clamp(2.6rem, 6.4vw, 5.4rem); }
h2 { font-size: clamp(1.9rem, 3.9vw, 3.1rem); }
h3 { font-size: clamp(1.1rem, 1.6vw, 1.3rem); }
p  { margin: 0 0 1em; text-wrap: pretty; }
a  { color: inherit; text-underline-offset: .18em; }
img, svg, video { max-width: 100%; }

/* Focus uses the ink, which clears 3:1 on every ground in all six palettes;
   the accent did not in Dayspring light (2.7:1). */
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 2px; }
.on-dark :focus-visible, .hero :focus-visible, .site-foot :focus-visible, .controls :focus-visible { outline-color: #fff; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 4px;
  font-weight: 700; text-decoration: none;
}
.skip:focus { top: 12px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Section labels borrow the one typographic asset that is genuinely theirs:
   the all-lowercase, letterspaced name on their letterhead. No rule before
   it, no ornament: the spacing is the device. */
.label {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--accent-text);
  margin: 0 0 1em;
}
/* On dark grounds the accent measured 3.1 to 3.8:1 in the light palettes;
   small labels there use the pale hero tone instead (8:1 and up). */
.on-dark .label { color: var(--hero-soft); }

.lede { font-size: clamp(1.1rem, 1.7vw, 1.3rem); line-height: 1.5; color: var(--ink-soft); max-width: 40ch; }
.soft { color: var(--ink-soft); }

/* ============================================================
   Layout. One content width with one left edge for every section,
   and the option to bleed to either side of the window.
   ============================================================ */
:root { --gutter: clamp(20px, 4.2vw, 64px); }
.ed {
  display: grid;
  grid-template-columns:
    [bleed-start] minmax(var(--gutter), 1fr)
    [wide-start] minmax(0, 1240px)
    [wide-end] minmax(var(--gutter), 1fr)
    [bleed-end];
}
.ed > * { grid-column: wide; min-width: 0; }
.ed > .to-right { grid-column: wide-start / bleed-end; }
.ed > .to-left  { grid-column: bleed-start / wide-end; }
.ed > .bleed    { grid-column: bleed; }
/* Absolutely positioned children of a grid use their grid AREA as the
   containing block. Backdrops reset, or they shrink to the content column. */
.ed > .hero-media, .ed > .hero-scrim, .ed > .bg { grid-column: auto; grid-row: auto; }

.shell { width: 100%; max-width: calc(1240px + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }

section { padding-block: clamp(72px, 9vw, 128px); }
.sec-tight { padding-block: clamp(48px, 6vw, 80px); }
.alt { background: var(--bg-alt); }

.head { max-width: 720px; margin-bottom: clamp(32px, 4vw, 52px); }
.head h2 { margin-bottom: .3em; }
.head .lede { margin-bottom: 0; }
.head-row { display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: end; justify-content: space-between; margin-bottom: clamp(28px, 3.5vw, 44px); }
.head-row .head { margin-bottom: 0; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.mt-s { margin-top: 18px; } .mt-m { margin-top: clamp(28px, 4vw, 48px); } .mb-0 { margin-bottom: 0; }

/* ---------- Buttons and links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 48px; padding: .72em 1.45em;
  border-radius: 999px; border: 1.5px solid transparent;
  font: inherit; font-weight: 700; font-size: 1rem; line-height: 1.2;
  text-decoration: none; cursor: pointer;
  transition: background-color .3s ease, color .3s ease, border-color .3s ease;
}
.btn .arr { display: inline-block; transition: transform .45s cubic-bezier(.2,.9,.3,1.3); }
.btn:hover .arr, .btn:focus-visible .arr { transform: translateX(5px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: color-mix(in srgb, var(--accent) 86%, var(--ink)); }
.btn-ghost { border-color: color-mix(in srgb, var(--ink) 35%, transparent); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-on-hero { border-color: rgba(255,255,255,.6); color: #fff; }
.btn-on-hero:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px 22px; align-items: center; }

.go {
  display: inline-block; font-weight: 700; text-decoration: none; color: var(--ink);
  background: linear-gradient(var(--accent), var(--accent)) 0 100% / 0 2px no-repeat;
  padding-block: 12px 4px; transition: background-size .5s cubic-bezier(.2,.8,.3,1);
}
.go::after { content: " \2192"; content: " \2192" / ""; color: var(--accent-text); }
.go:hover, .go:focus-visible { background-size: 100% 2px; }
.on-dark .go { color: #fff; }
.on-dark .go::after { color: var(--accent); }

/* Links that hand the visitor over to somadigital.org. A reviewer once
   clicked one, landed on the old live site and did not realise he had
   left. Outbound links now carry a diagonal arrow, open in a new tab,
   and say where they go. */
.out::after { content: " \2197"; content: " \2197" / ""; }
/* Buttons already carry an .arr glyph, swapped to the diagonal in the
   markup, so they must not also grow one from ::after. */
.btn.out::after { content: none; }
.btn.out .arr { transform: none; }
.out-note {
  display: block; margin-top: 10px; max-width: 42ch;
  font-size: .88rem; line-height: 1.5; color: var(--ink-soft);
}
.on-dark .out-note { color: rgba(255,255,255,.76); }

/* ============================================================
   Brand control bar (the decision hub, removed once chosen).
   Controls and header stick as ONE block.
   ============================================================ */
/* ============================================================
   Brand control bar (the decision hub - removed once chosen)
   ============================================================ */
/* The controls and the header stick as ONE block. Sticking them
   separately meant the header's fixed top offset stopped matching
   once the control bar wrapped to two rows, and they overlapped. */
.topbar {
  position: sticky;
  top: 0;
  z-index: 60;
}
.controls {
  background: var(--ink);
  color: var(--bg);
  font-size: .74rem;
}
.controls .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  padding-block: 5px;
}
.controls-label {
  font-weight: 800;
  letter-spacing: .04em;
  margin-right: auto;
  opacity: .82;
}
.ctl {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 700;
}
.ctl select,
.ctl button {
  font: inherit;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1.5px solid currentColor;
  background: transparent;
  color: inherit;
  cursor: pointer;
  line-height: 1.5;
}
/* The mode button said "Light" then "Dark" and the row jumped. */
.ctl button[data-ctl-mode] { min-width: 4.4em; text-align: center; }
/* The concept name is the widest thing in the bar and it changes on every
   click. Reserving the space keeps every control to its left still. */
[data-logo-name] { display: inline-flex; align-items: baseline; gap: 7px; }
.lg-name {
  display: inline-block; min-width: 11.5em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.lg-count { opacity: .62; font-variant-numeric: tabular-nums; }
@media (max-width: 900px) { .lg-name { min-width: 0; } }
.ctl select option { color: #111; background: #fff; }
.ctl button:hover,
.ctl select:hover { background: rgba(255,255,255,.14); }


.controls .shell { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; padding-block: 5px; }

/* ============================================================
   Header. Nine destinations, the logo is the home link.
   ============================================================ */
.site-head {
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  view-transition-name: site-head;
}
/* The bar is a fixed 80px. The logo files in logos/crop/ have their empty
   canvas cut away, so the mark itself fills the bar instead of floating in
   padding. Wide lockups are sized by height; stacked ones get more height so
   their wordmark stays legible. */
.site-head .shell { display: flex; align-items: center; gap: 22px; min-height: 80px; }
.brand { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; }
/* 16 Nov 2026: the final C4 lockup. Header: the mark beside the wordmark (both cut from
   logos/final/c4-lockup-stacked.svg, never redrawn). Footer: the stacked lockup in its light form. */
.site-head .brand { gap: 12px; }
.site-head .brand img { display: block; width: auto; }
.site-head .brand .brand-c4 { height: 50px; }
.site-head .brand .brand-word { height: 38px; margin-top: 2px; }
.site-foot .brand .brand-lockup { display: block; height: 128px; width: auto; }
@media (max-width: 560px) { .site-head .brand .brand-c4 { height: 42px; } .site-head .brand .brand-word { height: 32px; } }
.brand img.brand-mark { display: block; width: auto; object-fit: contain; object-position: left center; transition: height .35s cubic-bezier(.2,.8,.3,1); }
.site-head .brand img.wide { height: 56px; max-width: min(320px, 56vw); }
.site-head .brand img.tall { height: 72px; max-width: 130px; }


.site-nav { margin-left: auto; display: flex; align-items: center; gap: clamp(12px, 1.5vw, 24px); }
.site-nav a {
  position: relative; text-decoration: none; white-space: nowrap;
  font-size: .95rem; font-weight: 600; color: var(--ink-soft);
  padding-block: 12px; transition: color .2s ease;
}
.site-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 2px;
  background: var(--accent); transform: scaleX(0); transform-origin: left;
  transition: transform .4s cubic-bezier(.2,.8,.3,1);
}
.site-nav a:hover { color: var(--ink); }
.site-nav a:hover::after { transform: scaleX(1); }
.site-nav a[aria-current="page"] { color: var(--ink); }
.site-nav a[aria-current="page"]::after { transform: scaleX(1); }
.site-nav .tool { color: var(--ink-soft); }
.site-nav .sep { width: 1px; height: 20px; background: var(--line); }
.head-cta { flex-shrink: 0; }

/* The small-screen menu is a <details>, so it opens with no script. */
.menu { display: none; margin-left: auto; position: relative; }
.menu summary {
  list-style: none; cursor: pointer; min-height: 48px; min-width: 48px;
  display: inline-flex; align-items: center; gap: 8px; padding: 0 14px;
  border: 1.5px solid var(--line); border-radius: 999px; font-weight: 700; font-size: .95rem;
}
.menu summary::-webkit-details-marker { display: none; }
.menu summary .bars { width: 16px; height: 10px; position: relative; }
.menu summary .bars::before, .menu summary .bars::after {
  content: ""; position: absolute; left: 0; right: 0; height: 2px; background: currentColor;
  transition: transform .3s ease, top .3s ease;
}
.menu summary .bars::before { top: 0; }
.menu summary .bars::after { top: 8px; }
.menu[open] summary .bars::before { top: 4px; transform: rotate(45deg); }
.menu[open] summary .bars::after { top: 4px; transform: rotate(-45deg); }
.menu-panel {
  position: absolute; right: 0; top: calc(100% + 10px); z-index: 70;
  width: min(320px, calc(100vw - 36px));
  background: var(--surface); border: 1px solid var(--line); border-radius: 6px;
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.45);
  padding: 8px;
}
.menu-panel a {
  display: flex; justify-content: space-between; align-items: center;
  min-height: 48px; padding: 0 12px; border-radius: 4px;
  text-decoration: none; font-weight: 600; color: var(--ink);
}
.menu-panel a:hover, .menu-panel a[aria-current="page"] { background: var(--bg-alt); }
.menu-panel a small { color: var(--ink-soft); font-weight: 400; font-size: .85rem; }
.menu-panel .btn { width: 100%; justify-content: center; margin-top: 6px; }

@media (max-width: 1180px) {
  .site-nav, .head-cta { display: none; }
  .menu { display: block; }
}
@media (max-width: 620px) {
  .site-head .shell { min-height: 68px; }
  .site-head .brand img.wide { height: 44px; max-width: 58vw; }
  .site-head .brand img.tall { height: 58px; }
  .controls-label { display: none; }
}

/* Cross-page transitions. Browsers that support them fade the page and
   hold the header still; everyone else gets an ordinary page load. */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  ::view-transition-old(root), ::view-transition-new(root) { animation-duration: .32s; }
}

/* ============================================================
   Footer
   ============================================================ */
.site-foot { background: var(--ink); color: var(--bg); padding-block: clamp(56px, 7vw, 92px) 34px; font-size: .95rem; }
.site-foot a { color: inherit; text-decoration: none; }
.site-foot a:hover { text-decoration: underline; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }
.site-foot .brand img.wide { height: 56px; max-width: 300px; }
.site-foot .brand img.tall { height: 96px; max-width: 160px; }
.foot-tag { margin: 14px 0 0; opacity: .72; max-width: 30ch; letter-spacing: .02em; }
.foot-h { font-size: .88rem; letter-spacing: .18em; text-transform: lowercase; opacity: .7; margin: 0 0 12px; font-weight: 600; }
.foot-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.foot-list a { display: inline-block; padding-block: 6px; }
.foot-legal {
  margin-top: 54px; padding-top: 22px; border-top: 1px solid color-mix(in srgb, var(--bg) 18%, transparent);
  display: flex; flex-wrap: wrap; gap: 10px 30px; justify-content: space-between;
  font-size: .9rem; opacity: .78;
}
.foot-legal p { margin: 0; max-width: 70ch; }

/* The footer is a dark ground in both modes. In dark mode the ink is pale,
   so the footer sinks below the page instead. */
[data-mode="dark"] .site-foot { background: color-mix(in srgb, var(--bg) 55%, #000); color: var(--ink); border-top: 1px solid var(--line); }
[data-mode="dark"] .foot-legal { border-top-color: var(--line); }

/* ============================================================
   Home hero: the tagline set like a film title card, low and left.
   ============================================================ */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  color: var(--hero-ink);
  min-height: min(88vh, 900px);
  display: grid; align-content: end;
  padding-block: 150px clamp(72px, 9vw, 120px);
}
.hero-media { position: absolute; inset: 0; z-index: -2; background: var(--grad-c); }
.hero-media img, .hero-media video { width: 100%; height: 100%; object-fit: cover; display: block; }
/* The scrim exists to keep the headline readable, not to tint the film.
   It was heavy enough that Dayspring's deep indigo read as a purple wash
   over the whole hero. Lightened across every palette: enough weight stays
   at the left, where the text sits, and the footer of the frame, and the
   right two thirds of the picture is left alone. */
.hero-scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(100deg, color-mix(in srgb, var(--grad-c) 62%, transparent) 0%, color-mix(in srgb, var(--grad-c) 26%, transparent) 44%, transparent 72%),
    linear-gradient(to top, color-mix(in srgb, var(--grad-c) 46%, transparent) 0%, transparent 46%);
}
.hero h1 { font-size: clamp(3rem, 9vw, 8.2rem); line-height: .92; letter-spacing: -.035em; margin-bottom: .22em; max-width: 9ch; }
.hero h1 em { font-style: italic; font-weight: 500; color: var(--accent); }
.hero .sub { font-family: "Fraunces", Georgia, serif; font-size: clamp(1.3rem, 2.6vw, 2.1rem); line-height: 1.2; color: var(--hero-soft); margin: 0 0 1.4em; max-width: 22ch; }
.hero .kicker { font-size: 1rem; letter-spacing: .45em; color: var(--hero-soft); margin: 0 0 1.4em; }

/* The three initiatives hang off the bottom of the hero into the next band. */
/* Below the hero film, never over it: nothing sits in front of media. */
.ways-hang { position: relative; padding-top: clamp(28px, 4vw, 48px); }
.ways-hang ol {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  background: var(--surface); border: 1px solid var(--line); border-radius: 6px; overflow: hidden;
  box-shadow: 0 40px 80px -50px rgba(0,0,0,.5);
}
.ways-hang li + li { border-left: 1px solid var(--line); }
.ways-hang a { display: block; height: 100%; padding: 26px 28px 22px; text-decoration: none; color: var(--ink); transition: background-color .3s ease; }
.ways-hang a:hover { background: var(--bg-alt); }
.ways-hang .dot-name { font-family: "Fraunces", Georgia, serif; font-size: 1.5rem; font-weight: 600; }
.ways-hang .dot-name span { color: var(--accent-text); }
.ways-hang p { margin: 6px 0 10px; color: var(--ink-soft); font-size: 1rem; line-height: 1.45; }
.ways-hang .where { font-size: .95rem; font-weight: 700; }
.ways-hang .where::after { content: " \2192"; color: var(--accent-text); display: inline-block; transition: transform .4s cubic-bezier(.2,.9,.3,1.3); }
.ways-hang a:hover .where::after { transform: translateX(4px); }
@media (max-width: 860px) {
  .ways-hang ol { grid-template-columns: 1fr; }
  .ways-hang li + li { border-left: 0; border-top: 1px solid var(--line); }
}

/* ============================================================
   Inner-page header: the orb.
   A circle, the globe and the body made of many, holds each page's
   picture and runs off the right edge of the window. A slow orbit of
   small marks circles it. The dawn gradient the client liked rises
   behind it.
   ============================================================ */
.mast {
  position: relative; overflow: hidden; isolation: isolate;
  padding-block: clamp(40px, 6vw, 88px);
  background:
    radial-gradient(60% 90% at 88% 55%, color-mix(in srgb, var(--grad-a) 55%, transparent) 0%, transparent 70%),
    var(--bg);
}
.mast-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(24px, 4vw, 64px); align-items: center; grid-column: wide-start / bleed-end; }
.mast h1 { font-size: clamp(2.6rem, 5.6vw, 5rem); margin-bottom: .3em; }
.mast .lede { margin: 0; }
.mast .btn-row { margin-top: 26px; }
.orb-wrap { position: relative; justify-self: end; width: min(44vw, 640px); aspect-ratio: 1; margin-right: calc(-1 * min(3.5vw, 52px)); }
.orb { position: absolute; inset: 7%; border-radius: 50%; overflow: hidden; background: var(--grad-c); box-shadow: 0 50px 90px -60px rgba(0,0,0,.55); }
.orb img, .orb video, .orb canvas { width: 100%; height: 100%; object-fit: cover; display: block; }
.orbit { position: absolute; inset: 0; pointer-events: none; }
.orbit circle.path { fill: none; stroke: color-mix(in srgb, var(--ink) 18%, transparent); stroke-width: .35; }
.orbit .sat { fill: var(--accent); }
.orbit .sat.b { fill: var(--second); }
@media (prefers-reduced-motion: no-preference) {
  .orbit .ring { transform-origin: 50% 50%; animation: orbit 90s linear infinite; }
}
@keyframes orbit { to { transform: rotate(360deg); } }
@media (max-width: 860px) {
  .mast-in { grid-template-columns: 1fr; grid-column: wide; }
  .orb-wrap, .orb-wrap.whole { justify-self: center; width: min(86vw, 460px); margin: 8px 0 0; }
}

/* The logos page puts the current candidate inside the orb. */
.orb.logo-orb { background: var(--surface); display: grid; place-items: center; }
.orb.logo-orb .brand-mark { width: 70% !important; height: auto !important; max-width: none !important; max-height: 60%; }

/* Team page: the orb is made of the people. */
.people-orb { position: absolute; inset: 0; }
.people-orb .p {
  position: absolute; width: 22%; aspect-ratio: 1; border-radius: 50%; overflow: hidden;
  left: calc(50% + 40% * var(--x) - 11%); top: calc(50% + 40% * var(--y) - 11%);
  border: 3px solid var(--bg); box-shadow: 0 16px 30px -18px rgba(0,0,0,.6); background: var(--bg-alt);
}
.people-orb .p img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (prefers-reduced-motion: no-preference) {
  .people-orb { animation: orbit 160s linear infinite; }
  .people-orb .p { animation: orbit 160s linear infinite reverse; }
}

/* ============================================================
   Media rows: a picture or film with a short block of text BESIDE
   it. Nothing sits on top of the thing you came to watch.
   ============================================================ */
.media-row { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(28px, 4.5vw, 72px); align-items: center; }
.media-row.flip { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); }
.media-row.flip > .media { order: 2; }
.media-row .media { border-radius: 6px; overflow: hidden; background: var(--bg-alt); }
.media-row .media > img { width: 100%; display: block; aspect-ratio: 16 / 10; object-fit: cover; }
.media-text h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
.media-text p { color: var(--ink-soft); max-width: 38ch; }
@media (max-width: 860px) {
  .media-row, .media-row.flip { grid-template-columns: 1fr; }
  .media-row.flip > .media { order: 0; }
}

/* Photographs settle rather than appear: visible from the first frame,
   only the scale moves, so nothing can get stuck hidden. */
@media (prefers-reduced-motion: no-preference) {
  html.js .settle img, html.js .settle video { transform: scale(1.06); transition: transform 1.6s cubic-bezier(.16,.84,.3,1); }
  html.js .settle.in img, html.js .settle.in video { transform: none; }
}

/* ============================================================
   Home: journeys, three equal cards (the version Humberto liked)
   ============================================================ */
.journeys { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.2vw, 30px); }
@media (max-width: 860px) { .journeys { grid-template-columns: 1fr; } }
.journey .shot { position: relative; overflow: hidden; border-radius: 4px; aspect-ratio: 3 / 4; background: var(--bg-alt); }
.journey .shot img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.1s cubic-bezier(.16,.84,.3,1); }
.journey:hover .shot img { transform: scale(1.045); }
.journey .cap { padding: 16px 2px 0; }
.journey .place { font-size: 1rem; font-weight: 600; letter-spacing: .04em; color: var(--accent-text); margin: 0 0 .3em; }
.journey h3 { margin-bottom: .2em; }
.journey p { color: var(--ink-soft); font-size: 1rem; margin: 0; }

/* ============================================================
   Pull quotes with hanging punctuation
   ============================================================ */
.pull { margin: 0; max-width: 980px; }
.pull blockquote { margin: 0; }
.pull p {
  font-family: "Fraunces", Georgia, serif; font-style: italic; font-weight: 500;
  font-size: clamp(1.8rem, 4.2vw, 3.3rem); line-height: 1.12; letter-spacing: -.02em;
  text-indent: -.42em; margin: 0 0 .5em; color: var(--ink); text-wrap: balance;
}
.pull p mark { background: none; color: inherit; background-image: linear-gradient(color-mix(in srgb, var(--accent) 38%, transparent), color-mix(in srgb, var(--accent) 38%, transparent)); background-repeat: no-repeat; background-position: 0 88%; background-size: 100% .22em; }
@media (prefers-reduced-motion: no-preference) {
  html.js .pull p mark { background-size: 0% .22em; transition: background-size 1.2s cubic-bezier(.2,.8,.3,1) .2s; }
  html.js .pull.in p mark { background-size: 100% .22em; }
}
.pull figcaption { font-size: 1rem; color: var(--ink-soft); }
.pull figcaption b { color: var(--ink); }

/* ============================================================
   The 88: one hundred marks, shape as well as colour
   ============================================================ */
.world { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(30px, 6vw, 90px); align-items: center; }
@media (max-width: 860px) { .world { grid-template-columns: 1fr; } }
.big-n { font-family: "Fraunces", Georgia, serif; font-weight: 600; font-size: clamp(7rem, 20vw, 16rem); line-height: .78; letter-spacing: -.06em; color: color-mix(in srgb, var(--accent) 72%, var(--ink)); margin: 0 0 .12em -.05em; }
.big-n small { font-size: .38em; letter-spacing: -.02em; vertical-align: top; position: relative; top: .18em; margin-left: .04em; }
.world h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); max-width: 18ch; }
.dots { display: grid; grid-template-columns: repeat(10, 1fr); gap: clamp(6px, 1.1vw, 13px); max-width: 400px; margin-left: auto; }
.dots i { aspect-ratio: 1; border-radius: 50%; background: var(--second); display: block; transform: scale(.78); }
.dots i.us { background: transparent; box-shadow: inset 0 0 0 2px var(--ink-soft); }
@media (prefers-reduced-motion: no-preference) {
  html.js .dots.in i { animation: dot-breathe 1.1s cubic-bezier(.2,.8,.3,1) both; animation-delay: calc(var(--i) * 14ms); }
}
@keyframes dot-breathe { 0% { transform: scale(.78); } 35% { transform: scale(.4); } 100% { transform: scale(.78); } }
.legend { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 18px 0 0 auto; padding: 0; list-style: none; font-size: .95rem; color: var(--ink-soft); max-width: 400px; }
.legend li { display: flex; align-items: center; gap: 8px; }
.legend i { width: 12px; height: 12px; border-radius: 50%; background: var(--second); display: inline-block; }
.legend i.us { background: transparent; box-shadow: inset 0 0 0 2px var(--ink-soft); }
@media (max-width: 860px) { .dots, .legend { margin-left: 0; } }

/* ============================================================
   Stage rail: transportive, interactive, connective
   ============================================================ */
.rail { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); position: relative; }
.rail::before { content: ""; position: absolute; left: 0; right: 0; top: 13px; height: 1px; background: var(--line); }
.rail li { position: relative; padding: 46px 28px 0 0; }
.rail li::before { content: ""; position: absolute; left: 0; top: 6px; width: 15px; height: 15px; border-radius: 50%; background: var(--bg); box-shadow: inset 0 0 0 2px var(--ink-soft); }
.alt .rail li::before { background: var(--bg-alt); }
.rail li.here::before { background: var(--accent); box-shadow: 0 0 0 6px color-mix(in srgb, var(--accent) 22%, transparent); }
.rail .st-n { font-family: "Fraunces", Georgia, serif; font-size: 1rem; font-style: italic; color: var(--ink-soft); }
.rail h3 { font-family: "Fraunces", Georgia, serif; font-size: clamp(1.5rem, 2.5vw, 2rem); font-weight: 600; margin: .15em 0 .3em; }
.rail p { color: var(--ink-soft); font-size: 1rem; margin: 0 0 .8em; max-width: 30ch; }
.rail .flag { display: inline-block; font-size: .88rem; font-weight: 700; padding: 3px 10px; border-radius: 3px; border: 1px solid var(--line); color: var(--ink-soft); }
.rail li.here .flag { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
@media (prefers-reduced-motion: no-preference) { html.js .rail li.here::before { animation: here 2.8s ease-in-out infinite; } }
@keyframes here { 0%,100% { box-shadow: 0 0 0 6px color-mix(in srgb, var(--accent) 22%, transparent); } 50% { box-shadow: 0 0 0 12px color-mix(in srgb, var(--accent) 6%, transparent); } }
@media (max-width: 860px) {
  .rail { grid-template-columns: 1fr; }
  .rail::before { left: 7px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .rail li { padding: 0 0 34px 42px; }
}

/* ============================================================
   Video facades: a thumbnail and a real YouTube link; the player
   loads only when someone asks for it.
   ============================================================ */
/* the app trailer on Videos: a plain player, framed like the films */
.trailer { margin-top: clamp(20px, 3vw, 36px); }
.trailer video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: #0b0d18; border-radius: 6px; box-shadow: 0 18px 50px rgba(15, 20, 40, .14); }
.film { display: block; position: relative; text-decoration: none; color: #fff; background: #0b0d18; overflow: hidden; aspect-ratio: 16 / 9; border-radius: 6px; width: 100%; cursor: pointer; }
.film img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: .92; transition: opacity .4s ease, transform 1.2s cubic-bezier(.16,.84,.3,1); }
.film:hover img { opacity: 1; transform: scale(1.03); }
.film .play { position: absolute; left: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 10px; background: rgba(10,12,20,.82); color: #fff; padding: 7px 16px 7px 7px; border-radius: 999px; font-size: .95rem; font-weight: 700; }
.film .play::before { content: ""; width: 34px; height: 34px; border-radius: 50%; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M7 5l8 5-8 5z' fill='%231B2340'/%3E%3C/svg%3E") center / 18px no-repeat; flex-shrink: 0; transition: transform .35s cubic-bezier(.2,.9,.3,1.3); }
.film:hover .play::before { transform: scale(1.1); }
.film iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.film:focus-visible { outline: 3px solid #fff; outline-offset: -7px; box-shadow: inset 0 0 0 7px var(--ink); }
.film-title { margin: 14px 0 0; font-weight: 700; font-size: 1.1rem; }

/* A designed poster for the Lifeblood film, instead of a photograph. */
.film.poster { background: radial-gradient(110% 100% at 15% 120%, color-mix(in srgb, var(--accent) 70%, var(--grad-c)) 0%, color-mix(in srgb, var(--accent) 25%, var(--grad-c)) 40%, var(--grad-c) 80%); display: grid; place-items: center; }
.film.poster .word { font-family: "Fraunces", Georgia, serif; font-weight: 600; font-style: italic; font-size: clamp(2.4rem, 6vw, 5rem); letter-spacing: -.03em; color: #fff; }
.film.poster .word small { display: block; font-style: normal; font-family: "Source Sans 3", sans-serif; font-weight: 600; font-size: 1rem; letter-spacing: .06em; color: rgba(255,255,255,.85); text-align: center; margin-top: 6px; }

.films-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
@media (max-width: 760px) { .films-2 { grid-template-columns: 1fr; } }

/* Devotional strip: large enough to watch, buttons so nobody is stuck in
   a trackpad gesture, and no scrollbar floating mid-page. */
.strip { display: flex; gap: clamp(18px, 2vw, 28px); overflow-x: auto; list-style: none; margin: 0; padding: 0 var(--gutter) 6px 0; scrollbar-width: none; scroll-behavior: smooth; overscroll-behavior-x: contain; }
.strip::-webkit-scrollbar { display: none; }
.strip > li { flex: 0 0 min(640px, 82vw); }
.strip-ctl { display: flex; gap: 10px; }
.strip-ctl button { width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); font-size: 1.2rem; cursor: pointer; transition: border-color .2s ease, opacity .2s ease; }
.strip-ctl button:hover { border-color: var(--ink); }
.strip-ctl button:disabled { opacity: .35; cursor: default; }
@media (prefers-reduced-motion: reduce) { .strip { scroll-behavior: auto; } }

/* ============================================================
   Blog
   ============================================================ */
.feature-post .media > img { aspect-ratio: 4 / 3; }
.feature-post h2 a { text-decoration: none; }
.feature-post h2 a:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.byline { font-size: 1rem; color: var(--ink-soft); margin: 0 0 1em; }

.index { list-style: none; margin: 0; padding: 0; }
.index li + li { border-top: 1px solid var(--line); }
.index a { display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr) 2rem; gap: clamp(20px, 3vw, 40px); align-items: center; padding: 24px 0; text-decoration: none; color: var(--ink); }
.index .thumb { border-radius: 4px; overflow: hidden; aspect-ratio: 3 / 2; background: var(--bg-alt); }
.index .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .9s cubic-bezier(.16,.84,.3,1); }
.index a:hover .thumb img { transform: scale(1.05); }
.index time { display: block; font-size: .95rem; color: var(--ink-soft); margin-bottom: 4px; }
.index h3 { font-family: "Fraunces", Georgia, serif; font-size: clamp(1.35rem, 2.2vw, 1.8rem); font-weight: 600; letter-spacing: -.012em; margin: 0 0 .3em; transition: color .25s ease; }
.index p { margin: 0; color: var(--ink-soft); font-size: 1rem; max-width: 62ch; }
.index .arrow { color: var(--accent-text); font-size: 1.4rem; transition: transform .45s cubic-bezier(.2,.9,.3,1.3); justify-self: end; }
.index a:hover h3 { color: var(--accent-text); }
.index a:hover .arrow { transform: translate(4px, -4px); }
@media (max-width: 700px) { .index a { grid-template-columns: 1fr; gap: 14px; } .index .arrow { display: none; } }

/* ============================================================
   People
   ============================================================ */
.profile { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 64px); align-items: center; padding-block: clamp(30px, 4vw, 52px); }
.profile + .profile { border-top: 1px solid var(--line); }
.profile.flip { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); }
.profile.flip .portrait { order: 2; }
@media (max-width: 760px) { .profile, .profile.flip { grid-template-columns: 1fr; } .profile.flip .portrait { order: 0; } .portrait { max-width: 320px; } }
.portrait { margin: 0; border-radius: 6px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--bg-alt); }
.portrait img { width: 100%; height: 100%; object-fit: cover; display: block; }
.profile h3 { font-family: "Fraunces", Georgia, serif; font-size: clamp(1.8rem, 3.2vw, 2.5rem); font-weight: 600; letter-spacing: -.02em; line-height: 1.05; margin: 0 0 .25em; }
.role { font-size: 1rem; letter-spacing: .02em; color: var(--accent-text); margin: 0 0 1em; font-weight: 600; }
.profile p { max-width: 58ch; }

.board { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(30px, 3.5vw, 48px) clamp(24px, 3vw, 44px); }
@media (max-width: 960px) { .board { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .board { grid-template-columns: 1fr; } }
.board li { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 18px; align-items: start; }
.board .av { width: 96px; height: 96px; border-radius: 50%; overflow: hidden; background: var(--bg-alt); border: 2px solid var(--surface); box-shadow: 0 10px 24px -16px rgba(0,0,0,.5); }
.board .av img { width: 100%; height: 100%; object-fit: cover; display: block; }
.board h3 { font-size: 1.15rem; margin: 4px 0 .15em; }
.board .role { font-size: .95rem; margin-bottom: .5em; }
.board p { font-size: 1rem; color: var(--ink-soft); margin: 0; }

.emeritus { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.emeritus li { border: 1px solid var(--line); border-radius: 999px; padding: 8px 18px; font-size: 1rem; }
.emeritus b { font-weight: 700; }

.group-photo { border-radius: 6px; overflow: hidden; aspect-ratio: 21 / 9; }
.group-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; display: block; }

/* ============================================================
   About
   ============================================================ */
/* Three initiatives, each with a line drawing that acts out its idea. */
.emblems { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.2vw, 30px); list-style: none; margin: 0; padding: 0; }
@media (max-width: 860px) { .emblems { grid-template-columns: 1fr; } }
.emblem { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 28px 26px 26px; display: flex; flex-direction: column; transition: border-color .3s ease; }
.emblem:hover { border-color: color-mix(in srgb, var(--accent) 55%, var(--line)); }
.emblem svg { width: 120px; height: 120px; margin-bottom: 18px; overflow: visible; }
.emblem h3 { font-family: "Fraunces", Georgia, serif; font-size: 1.7rem; font-weight: 600; margin: 0 0 .25em; }
.emblem h3 span { color: var(--accent-text); }
.emblem p { color: var(--ink-soft); margin: 0 0 14px; flex: 1; }
.gl { fill: none; stroke: var(--ink-soft); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.gl.hot { stroke: var(--accent); }
.gl.fill { fill: var(--accent); stroke: none; }
@media (prefers-reduced-motion: no-preference) {
  .gl.ripple { transform-origin: 60px 60px; animation: ripple 3.2s ease-out infinite; }
  .gl.ripple.d2 { animation-delay: 1.07s; } .gl.ripple.d3 { animation-delay: 2.14s; }
  .gl.sun { animation: rise 6s ease-in-out infinite; }
  .gl.spin { transform-origin: 60px 60px; animation: squash 7s ease-in-out infinite; }
  .gl.draw { stroke-dasharray: var(--len); stroke-dashoffset: var(--len); }
  html.js .in .gl.draw, html.js .gl.draw.in { animation: draw 1.6s cubic-bezier(.2,.8,.3,1) forwards; }
  .gl.pulse { transform-origin: 80px 55px; animation: pulse 2.6s ease-out infinite; }
  .gl.pulse.d2 { animation-delay: .55s; } .gl.pulse.d3 { animation-delay: 1.1s; }
}
@keyframes ripple { 0% { transform: scale(.2); opacity: 0; } 20% { opacity: 1; } 100% { transform: scale(1); opacity: 0; } }
@keyframes rise { 0%,100% { transform: translateY(8px); } 50% { transform: translateY(-6px); } }
@keyframes squash { 0%,100% { transform: scaleX(1); } 50% { transform: scaleX(.18); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pulse { 0% { opacity: 0; transform: scale(.25); } 22% { opacity: .95; } 100% { opacity: 0; transform: scale(1.5); } }
/* Without motion the drawings still read: the draw lines are complete and
   the pulses sit at rest. */
@media (prefers-reduced-motion: reduce) { .gl.draw { stroke-dasharray: none; } .gl.pulse, .gl.ripple { opacity: .6; } }

.stages { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.2vw, 30px); list-style: none; margin: 0; padding: 0; }
@media (max-width: 860px) { .stages { grid-template-columns: 1fr; } }
.stage { border-top: 2px solid var(--line); padding-top: 22px; }
.stage.here { border-top-color: var(--accent); }
.stage svg { width: 160px; height: 110px; overflow: visible; margin-bottom: 12px; }
.stage .st-n { font-family: "Fraunces", Georgia, serif; font-style: italic; color: var(--ink-soft); }
.stage h3 { font-family: "Fraunces", Georgia, serif; font-size: 1.8rem; font-weight: 600; margin: .1em 0 .3em; }
.stage p { color: var(--ink-soft); margin: 0 0 12px; }
.stage .flag { display: inline-block; font-size: .88rem; font-weight: 700; padding: 3px 10px; border-radius: 3px; border: 1px solid var(--line); color: var(--ink-soft); }
.stage.here .flag { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.stage .flag a { color: inherit; }

.named { font-family: "Fraunces", Georgia, serif; font-size: clamp(1.5rem, 3.3vw, 2.6rem); line-height: 1.3; letter-spacing: -.015em; margin: 0; font-weight: 500; color: #fff; text-wrap: balance; max-width: 26ch; }
.named span { white-space: nowrap; }
.named span + span::before { content: " / "; content: " / " / ""; color: var(--accent); font-weight: 400; white-space: normal; }

.values { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 1000px) { .values { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .values { grid-template-columns: 1fr; } }
.values li { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 20px 18px; }
.values b { display: block; font-family: "Fraunces", Georgia, serif; font-size: 1.5rem; font-weight: 600; margin-bottom: .3em; color: var(--ink); }
.values p { margin: 0; color: var(--ink-soft); font-size: 1rem; line-height: 1.5; }
.statement { font-family: "Fraunces", Georgia, serif; font-size: clamp(1.5rem, 3vw, 2.3rem); line-height: 1.25; letter-spacing: -.012em; margin: 0; font-weight: 500; max-width: 30ch; }

.devices { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 20px 0 0; }
.devices li { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px 6px 10px; font-size: .95rem; font-weight: 600; }
.devices svg { width: 20px; height: 20px; }

/* ============================================================
   Dark bands
   ============================================================ */
.band { position: relative; isolation: isolate; color: var(--hero-ink); background: var(--grad-c); overflow: hidden; }
.band .bg { position: absolute; inset: 0; z-index: -2; }
.band .bg img, .band .bg video { width: 100%; height: 100%; object-fit: cover; display: block; }
.band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, color-mix(in srgb, var(--grad-c) 92%, transparent) 0%, color-mix(in srgb, var(--grad-c) 66%, transparent) 55%, color-mix(in srgb, var(--grad-c) 30%, transparent) 100%); }
.band.dawn { background: radial-gradient(80% 130% at 90% 130%, color-mix(in srgb, var(--accent) 62%, var(--grad-c)) 0%, color-mix(in srgb, var(--accent) 22%, var(--grad-c)) 38%, var(--grad-c) 72%); }
.band.dawn::after { content: none; }
.band h2 { color: #fff; }
.band .lede, .band p { color: var(--hero-soft); }

.story-lines { list-style: none; margin: 26px 0 0; padding: 0; max-width: 52ch; }
.story-lines li { padding: 14px 0; border-top: 1px solid color-mix(in srgb, #fff 18%, transparent); font-size: 1.12rem; color: #fff; }

/* ============================================================
   Partners, set in type
   ============================================================ */
.partners { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 0; }
.partners li { font-family: "Fraunces", Georgia, serif; font-size: clamp(1.15rem, 2vw, 1.55rem); font-weight: 500; }
.partners li:not(:last-child)::after { content: "\00B7"; content: "\00B7" / ""; color: var(--accent-text); margin: 0 .55em; }
.partners a { text-decoration: none; }
.partners a:hover { text-decoration: underline; }

/* ============================================================
   Forms and contact
   ============================================================ */
.form { display: grid; gap: 18px; }
/* the waitlist form sits in the page header: same fields, narrower, no card */
.wl-form { display: grid; gap: 14px; max-width: 460px; margin-top: 6px; }
.wl-form .btn-row { margin-top: 4px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 700; }
.field input, .field textarea {
  font: inherit; font-size: 1rem; color: var(--ink); background: var(--surface);
  border: 1.5px solid var(--ink-soft); border-radius: 6px; padding: 12px 14px; min-height: 48px; width: 100%;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; border-color: var(--ink); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #B42318; border-width: 2px; }
.field-error { color: #B42318; font-weight: 600; margin: 0; }
[data-mode="dark"] .field-error { color: #FF9C8F; }
[data-mode="dark"] .field input[aria-invalid="true"], [data-mode="dark"] .field textarea[aria-invalid="true"] { border-color: #FF9C8F; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; margin: 0; }
.chips legend { font-weight: 700; margin-bottom: 8px; padding: 0; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chips span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1.5px solid var(--ink-soft); border-radius: 999px; font-weight: 600; transition: all .2s ease; }
.chips span::before { content: ""; width: 10px; height: 10px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--ink-soft); margin-right: 9px; transition: all .2s ease; }
.chips input:checked + span { border-color: var(--ink); background: var(--bg-alt); }
.chips input:checked + span::before { background: var(--accent); box-shadow: none; }
.chips input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.form-status { color: var(--ink-soft); min-height: 1.5em; margin: 0; }

.contact-card { background: var(--bg-alt); border-radius: 8px; padding: clamp(24px, 3vw, 36px); }
.contact-card dl { margin: 0; display: grid; gap: 20px; }
.contact-card dt { font-size: 1rem; color: var(--accent-text); font-weight: 600; }
.contact-card dd { margin: 4px 0 0; font-size: 1.05rem; }
.socials { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.socials a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-weight: 600; background: var(--surface); }
.socials a:hover { border-color: var(--ink); }

/* ============================================================
   Support
   ============================================================ */
.ways-give { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.2vw, 30px); }
.ways-give li { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 26px; display: flex; flex-direction: column; }
.ways-give h3 { font-family: "Fraunces", Georgia, serif; font-size: 1.6rem; font-weight: 600; }
.ways-give p { color: var(--ink-soft); flex: 1; }
@media (max-width: 860px) { .ways-give { grid-template-columns: 1fr; } }

/* ============================================================
   App page
   ============================================================ */
.app-intro { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px 40px; margin-bottom: clamp(30px, 4vw, 52px); }
.app-intro h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); margin: 0; }
.app-intro p { margin: 0; max-width: 40ch; color: var(--ink-soft); font-size: 1.1rem; }
.app-intro-side { display: grid; gap: 10px; max-width: 46ch; }
.app-intro-side .soft { font-size: .95rem; line-height: 1.55; }
.feature-list { list-style: none; padding: 0; margin: 24px 0 30px; display: grid; border-top: 1px solid var(--line); max-width: 52ch; }
.feature-list li { display: grid; grid-template-columns: 7rem 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.feature-list b { font-family: "Fraunces", Georgia, serif; font-size: 1.2rem; font-weight: 600; }
.feature-list span { color: var(--ink-soft); }

/* The screens do something: the prayer timer counts, the feed scrolls. */
@property --p { syntax: "<percentage>"; inherits: false; initial-value: 100%; }
.pray-card .ring[data-countdown] {
  border: 3px solid transparent;
  background: linear-gradient(var(--surface), var(--surface)) padding-box, conic-gradient(var(--accent) var(--p), var(--line) 0) border-box;
}
@media (prefers-reduced-motion: no-preference) { .pray-card .ring[data-countdown] { animation: countdown 10s linear infinite; } }
@keyframes countdown { from { --p: 100%; } to { --p: 0%; } }
.ks-feed { height: 2.9em; overflow: hidden; position: relative; }
.ks-feed ul { list-style: none; margin: 0; padding: 0; }
.ks-feed li { height: 1.45em; line-height: 1.45em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (prefers-reduced-motion: no-preference) { .ks-feed ul { animation: feed 12s cubic-bezier(.7,0,.3,1) infinite; } }
@keyframes feed { 0%,20% { transform: translateY(0); } 25%,45% { transform: translateY(-1.45em); } 50%,70% { transform: translateY(-2.9em); } 75%,95% { transform: translateY(-4.35em); } 100% { transform: translateY(0); } }

.section-head { max-width: 62ch; margin-bottom: clamp(30px, 4vw, 52px); }

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

/* ============================================================
   Phone frame and app screens (home teaser and app.html)
   ============================================================ */
/* ============================================================
   Phone frame + app screens (shared with app.html)
   ============================================================ */
.phone {
  width: 300px;
  max-width: 100%;
  aspect-ratio: 300 / 620;
  background: var(--surface);
  border: 9px solid var(--ink);
  border-radius: 40px;
  box-shadow: 0 34px 62px -34px var(--ink);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  margin-inline: auto;
  transition: background-color .45s ease, border-color .45s ease;
}
.phone .notch {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 108px; height: 21px;
  background: var(--ink);
  border-radius: 0 0 13px 13px;
  z-index: 5;
}
.scr { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.scr-top {
  padding: 30px 16px 12px;
  background: linear-gradient(160deg, var(--grad-a), var(--grad-b));
  color: var(--hero-ink);
}
.scr-top .hi { font-size: .68rem; opacity: .88; margin: 0; }
.scr-top .nm { font-size: 1.02rem; font-weight: 800; margin: 0; }
.scr-body { flex: 1; padding: 13px; display: flex; flex-direction: column; gap: 9px; }
.scr-h { font-size: .74rem; font-weight: 800; margin: 2px 0 0; color: var(--ink); }

.path-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.path {
  background: var(--accent-soft);
  border-radius: 13px;
  padding: 11px 5px;
  text-align: center;
  font-size: .62rem;
  font-weight: 800;
  color: var(--accent);
}
.path b { display: block; font-size: 1.05rem; margin-bottom: 2px; }

.mini {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 11px 12px;
}
.mini .lbl { font-size: .56rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.mini .ttl { font-size: .76rem; font-weight: 800; margin: 3px 0 2px; }
.mini .txt { font-size: .66rem; color: var(--ink-soft); margin: 0; line-height: 1.5; }

.streak {
  background: linear-gradient(120deg, var(--accent), var(--second));
  color: #fff;
  border-radius: 13px;
  padding: 11px 12px;
  display: flex; align-items: center; gap: 9px;
}
.streak .big { font-size: 1.35rem; font-weight: 800; line-height: 1; }
.streak .sm { font-size: .6rem; opacity: .92; line-height: 1.35; }

.pray-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 12px;
  text-align: center;
}
.pray-card .who { font-size: .62rem; color: var(--ink-soft); margin: 0 0 5px; }
.pray-card .req { font-size: .72rem; line-height: 1.5; margin: 0 0 10px; }
.pray-card .ring {
  width: 44px; height: 44px; margin: 0 auto 9px;
  border-radius: 50%;
  border: 3px solid var(--accent);
  display: grid; place-items: center;
  font-size: .72rem; font-weight: 800; color: var(--accent);
}
.pray-btn {
  background: var(--accent); color: var(--accent-ink);
  border-radius: 999px; padding: 7px; font-size: .64rem; font-weight: 800;
}

.short {
  flex: 1;
  border-radius: 13px;
  background: linear-gradient(170deg, var(--grad-b), var(--grad-c));
  position: relative;
  display: flex; align-items: flex-end;
  padding: 12px;
  color: #fff;
  min-height: 150px;
}
.short .play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(255,255,255,.22);
  border: 2px solid rgba(255,255,255,.7);
  display: grid; place-items: center;
}
.short .meta { font-size: .64rem; line-height: 1.45; }
.short .meta b { display: block; font-size: .72rem; }

.scr-nav {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--line);
  background: var(--surface);
  padding: 7px 3px 10px;
}
.scr-nav div { text-align: center; font-size: .5rem; font-weight: 800; color: var(--ink-soft); }
.scr-nav div span { display: block; font-size: .82rem; margin-bottom: 1px; }
.scr-nav div.on { color: var(--accent); }
.scr-nav div.on span {
  background: var(--accent-soft);
  border-radius: 7px;
  padding: 1px 0;
}

/* ============================================================
   app.html only
   ============================================================ */
.screens {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(26px, 4vw, 48px);
  align-items: start;
}
@media (max-width: 980px) { .screens { grid-template-columns: 1fr; } }
.screen-note { text-align: center; margin-top: 20px; }
.screen-note h3 { margin-bottom: .3em; }
.screen-note p { color: var(--ink-soft); font-size: .92rem; margin: 0 auto; max-width: 34ch; }
/* ============================================================
   App preview: four screens, sized so the whole set is visible
   at once without scrolling a single phone out of frame.
   ============================================================ */
.screens { grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 1.8vw, 26px); }
@media (max-width: 1150px) { .screens { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .screens { grid-template-columns: 1fr; } }
.screens .phone {
  width: 100%; max-width: 232px;
  border-width: 7px; border-radius: 30px;
  aspect-ratio: 232 / 470;
}
.screens .phone .notch { width: 82px; height: 16px; border-radius: 0 0 10px 10px; }
.screens .scr-top { padding: 22px 11px 9px; }
.screens .scr-top .hi { font-size: .58rem; }
.screens .scr-top .nm { font-size: .82rem; }
.screens .scr-body { padding: 9px; gap: 6px; }
.screens .scr-h { font-size: .62rem; }
.screens .path { padding: 8px 3px; font-size: .53rem; border-radius: 10px; }
.screens .path b { font-size: .84rem; }
.screens .mini { padding: 8px 9px; border-radius: 10px; }
.screens .mini .lbl { font-size: .48rem; }
.screens .mini .ttl { font-size: .64rem; }
.screens .mini .txt { font-size: .55rem; }
.screens .streak { padding: 8px 9px; border-radius: 10px; }
.screens .streak .big { font-size: 1.05rem; }
.screens .streak .sm { font-size: .5rem; }
.screens .pray-card { padding: 9px; border-radius: 10px; }
.screens .pray-card .ring { width: 36px; height: 36px; font-size: .6rem; border-width: 2.5px; }
.screens .pray-card .who { font-size: .52rem; }
.screens .pray-card .req { font-size: .6rem; }
.screens .pray-btn { font-size: .54rem; padding: 6px; }
.screens .scr-nav { padding: 5px 2px 7px; }
.screens .scr-nav div { font-size: .42rem; }
.screens .scr-nav div span { font-size: .7rem; }
.screens .short { min-height: 108px; border-radius: 10px; }
.screens .short .play { width: 32px; height: 32px; }
.screens .short .meta { font-size: .54rem; }
.screens .short .meta b { font-size: .6rem; }
.screen-note h3 { font-size: 1rem; }
.screen-note p { font-size: .84rem; }

/* A devotional entry, which V5 shows on Reflect */
.dev {
  background: linear-gradient(150deg, var(--grad-a), var(--grad-b));
  color: var(--hero-ink); border-radius: 10px; padding: 10px;
}
.dev .ref { font-size: .5rem; opacity: .9; letter-spacing: .08em; text-transform: uppercase; }
.dev .vs { font-size: .62rem; line-height: 1.45; margin: 4px 0 0; }
.thread {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 10px; padding: 8px 9px;
}
.thread .who { font-size: .52rem; color: var(--ink-soft); }
.thread .txt { font-size: .6rem; margin: 3px 0 5px; line-height: 1.4; }
.thread .acts { display: flex; gap: 8px; font-size: .5rem; color: var(--accent); font-weight: 800; }
.stage svg, .emblem svg { display: block; }
.stage .st-n { display: block; }
/* People and logos are never cropped by the window edge. */
.orb-wrap.whole { margin-right: clamp(16px, 2.6vw, 48px); width: min(42vw, 560px); }
@media (max-width: 860px) { .orb-wrap.whole { width: min(86vw, 440px); } }
.orb.logo-orb .brand-mark { width: 62% !important; }
@media (max-width: 1100px) { .board { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .board { grid-template-columns: 1fr; } }
/* In dark mode the orb's own ground matched the page and the circle vanished. */
[data-mode="dark"] .orb { background: var(--surface); box-shadow: 0 0 0 1px var(--line), 0 50px 90px -60px rgba(0,0,0,.8); }
[data-mode="dark"] .orbit circle.path { stroke: color-mix(in srgb, var(--ink) 22%, transparent); }

/* ============================================================
   The motion switch (html.still). Mirrors prefers-reduced-motion: every
   loop ends at rest and nothing starts hidden.
   ============================================================ */
html.still *, html.still *::before, html.still *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
html.still .gl.draw { stroke-dasharray: none; }
html.still .gl.pulse, html.still .gl.ripple { animation: none !important; opacity: .6; }
html.still .settle img, html.still .settle video { transform: none !important; }
html.still .pull p mark { background-size: 100% .22em !important; }
html.still .pray-card .ring[data-countdown] { animation: none !important; }

.motion-toggle { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 14px 0 10px; border-radius: 999px; border: 1px solid color-mix(in srgb, currentColor 35%, transparent); background: transparent; color: inherit; font: inherit; font-size: .9rem; font-weight: 600; cursor: pointer; }
.motion-toggle:hover { border-color: currentColor; }
.motion-toggle:disabled { cursor: default; opacity: .8; }
.motion-toggle .ic { width: 12px; height: 12px; position: relative; }
.motion-toggle .ic::before, .motion-toggle .ic::after { content: ""; position: absolute; top: 0; bottom: 0; width: 4px; background: currentColor; border-radius: 1px; }
.motion-toggle .ic::before { left: 1px; } .motion-toggle .ic::after { right: 1px; }
.motion-toggle[aria-pressed="true"] .ic::after { display: none; }
.motion-toggle[aria-pressed="true"] .ic::before { left: 2px; width: 0; height: 0; background: none; border-left: 10px solid currentColor; border-top: 6px solid transparent; border-bottom: 6px solid transparent; border-radius: 0; }
.foot-legal { align-items: center; }
.hero-pause { position: absolute; right: var(--gutter); bottom: clamp(28px, 4vw, 48px); z-index: 2; width: 44px; padding: 0; justify-content: center; color: #fff; border-color: rgba(255,255,255,.5); background: rgba(10,12,20,.35); grid-column: auto; }
@media (max-width: 860px) { .hero-pause { top: 20px; bottom: auto; } }

/* At 400% zoom or on a short landscape phone the sticky bar would eat most of
   the screen. It scrolls away instead. */
@media (max-height: 520px) { .topbar { position: static; } html { scroll-padding-top: 0; } }
/* Tap targets on touch screens, the decision bar included. */
@media (pointer: coarse) { .ctl select, .ctl button { min-height: 44px; } }
.foot-list a { padding-block: 10px; }
main p { max-width: 72ch; }
.screen-note p { font-size: 1rem; }
/* App mockups: the greeting strip and verse card had white on pale peach.
   They now run from a warm mix of the accent into the deep ground. */
.scr-top, .dev { background: linear-gradient(150deg, color-mix(in srgb, var(--accent) 45%, var(--grad-c)), var(--grad-c)); color: #fff; }
.scr-top .hi, .dev .ref { opacity: 1; }
.screens .mini .lbl, .screens .scr-nav div { font-size: .56rem; }
.screens .mini .txt, .screens .thread .who, .screens .pray-card .who { font-size: .6rem; }
.controls { font-size: .85rem; }
.ctl button[aria-pressed="true"] { background: rgba(255,255,255,.22); }
.ways-hang .where, .devices li, .film .play, .board .role, .rail .flag, .stage .flag { font-size: 1rem; }

.mini .lbl, .scr-nav div.on, .thread .acts, .path { color: var(--accent-text); }
.pray-card .ring { color: var(--accent-text); }


/* ============================================================
   App theme comparison. One row, two sides, each with its own
   picker and its own Home + Connect pair.

   The frames run the REAL app (appdemo/index.html), driven by
   app-compare.js. They are 393x852, an iPhone 14 Pro, scaled
   down to fit rather than reflowed, so what you judge is the
   size someone actually holds.

   The dropdown lists the nine LIGHT themes only; the button
   beside it flips that side to the night twin. Eighteen entries
   made people scan a list instead of compare two designs.
   ============================================================ */
.cmp { --frame-w: 393px; --frame-h: 852px; --frame-scale: .52;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 36px); align-items: start; }
.cmp-side { background: var(--bg-alt); border: 1px solid var(--line); border-radius: 14px; padding: clamp(12px, 1.4vw, 18px); }
.cmp-bar { display: flex; gap: 10px; align-items: center; margin-bottom: 14px; }
.cmp-bar select {
  flex: 1 1 auto; min-width: 0; font: inherit; font-weight: 600; font-size: .95rem;
  padding: 9px 12px; border-radius: 9px; border: 1.5px solid var(--line);
  background: var(--surface); color: var(--ink); cursor: pointer;
}
.cmp-dark {
  flex: 0 0 auto; display: inline-flex; align-items: center; gap: 7px;
  font: inherit; font-weight: 700; font-size: .9rem; min-height: 44px;
  padding: 9px 14px; border-radius: 9px; cursor: pointer;
  border: 1.5px solid var(--line); background: var(--surface); color: var(--ink);
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.cmp-dark .ic { width: 15px; height: 15px; border-radius: 50%; border: 2px solid currentColor; background: linear-gradient(90deg, currentColor 0 50%, transparent 50% 100%); }
.cmp-dark[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.cmp-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(10px, 1.2vw, 16px); }
.cmp-cell { min-width: 0; }
.cmp-shell {
  position: relative; overflow: hidden; margin-inline: auto;
  width: calc(var(--frame-w) * var(--frame-scale));
  height: calc(var(--frame-h) * var(--frame-scale));
  max-width: 100%;
  border-radius: calc(26px * var(--frame-scale));
  background: var(--surface); border: 1px solid var(--line);
  box-shadow: 0 10px 26px -16px rgba(0,0,0,.5);
}
.cmp-shell iframe {
  width: var(--frame-w); height: var(--frame-h); border: 0;
  transform: scale(var(--frame-scale)); transform-origin: top left;
  position: absolute; top: 0; left: 0;
}
.cmp-status {
  position: absolute; inset: 0; display: grid; place-items: center; z-index: 2;
  background: var(--surface); color: var(--ink-soft); text-align: center;
  font-size: .82rem; padding: 12px; transition: opacity .3s ease;
}
.cmp-status.gone { opacity: 0; pointer-events: none; }
.cmp-status.err { color: var(--accent-text); }
.cmp-cap { margin: 10px 0 0; text-align: center; font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); }

@media (max-width: 1240px) { .cmp { --frame-scale: .42; } }
@media (max-width: 1040px) { .cmp { grid-template-columns: 1fr; --frame-scale: .52; } }
@media (max-width: 560px)  { .cmp { --frame-scale: .40; } .cmp-bar { flex-wrap: wrap; } }

/* ============================================================
   Blog post pages. Nine of them, one per post, so clicking a
   headline no longer drops the visitor onto the old site with
   no way of knowing they left.
   ============================================================ */
.post { padding-block: clamp(40px, 5vw, 76px); }
.post-head { max-width: 60ch; }
.post-head .label a { color: var(--accent-text); text-decoration: none; }
.post-head .label a:hover { text-decoration: underline; }
.post-head h1 { font-size: clamp(2rem, 4.2vw, 3.3rem); margin-bottom: .3em; }
.byline { color: var(--ink-soft); font-size: .95rem; margin: 0; }
.post-shot { margin: clamp(26px, 3.5vw, 44px) 0 0; border-radius: 4px; overflow: hidden; }
.post-shot img { width: 100%; height: auto; display: block; aspect-ratio: 3 / 2; object-fit: cover; }
.post-body { max-width: 66ch; margin-top: clamp(26px, 3.5vw, 44px); }
.post-body > p { font-size: 1.08rem; line-height: 1.72; margin: 0 0 1.15em; }
.post-body > h2 { font-size: clamp(1.4rem, 2.4vw, 1.85rem); margin: 1.7em 0 .5em; }
.post-body > h3 { font-size: 1.16rem; margin: 1.5em 0 .4em; }
.post-body ul { margin: 0 0 1.3em; padding-left: 1.2em; }
.post-body li { font-size: 1.05rem; line-height: 1.66; margin-bottom: .45em; }
.post-body blockquote {
  margin: 1.6em 0; padding-left: 20px; border-left: 3px solid var(--accent);
}
.post-body blockquote p { font-family: "Fraunces", Georgia, serif; font-size: 1.22rem; line-height: 1.45; margin: 0; }
.post-foot { max-width: 66ch; margin-top: clamp(30px, 4vw, 52px); padding-top: 24px; border-top: 1px solid var(--line); }
.post-src { color: var(--ink-soft); font-size: .9rem; margin: 0 0 18px; }
.post-src a { color: var(--accent-text); }

/* =====================================================================
   16 Nov 2026: motion from the app trailer (motion.js). Humberto: "A round of
   polish revisions and animation inspired by the animation video we did would
   be great." Nothing here hides content without html.js; under html.still
   (Pause motion, or the OS asking for less) every piece shows finished.
   ===================================================================== */

/* words rise into place, one after another (the film's supers). Never invisible: faded and low until seen */
html.js .kh .kw { display: inline-block; }
html.js:not(.still) .kh .kw { transition: opacity .7s cubic-bezier(.25,.6,.3,1), transform .9s cubic-bezier(.25,.6,.3,1); transition-delay: calc(var(--i) * 55ms); }
html.js:not(.still) .kh:not(.in) .kw { opacity: .3; transform: translateY(.42em); }

/* the three initiative icons, drawn by the same thread as the trailer's three doors */
.way-ic { display: block; height: 52px; width: auto; margin: 0 0 12px; overflow: visible; }
.way-ic .dl { fill: none; stroke: var(--second); stroke-width: 3.4; stroke-linecap: round; }
.way-ic .dot, .way-ic .sun { fill: var(--accent); }
.ways-hang li:nth-child(2) { --d: .25s; }
.ways-hang li:nth-child(3) { --d: .5s; }
.way-ic .d2 { --e: .15s; }
.way-ic .d3 { --e: .3s; }
html.js:not(.still) .ways-hang .way-ic .dl { stroke-dasharray: 1000; stroke-dashoffset: 1000; transition: stroke-dashoffset 1.3s cubic-bezier(.45,0,.2,1); transition-delay: calc(var(--d, 0s) + var(--e, 0s)); }
html.js:not(.still) .ways-hang.in .way-ic .dl { stroke-dashoffset: 0; }
html.js:not(.still) .ways-hang .way-ic .dot, html.js:not(.still) .ways-hang .way-ic .sun { transform-box: fill-box; transition: transform .7s cubic-bezier(.34,1.56,.64,1); transition-delay: calc(var(--d, 0s) + .95s); }
html.js:not(.still) .ways-hang .way-ic .dot { transform: scale(0); transform-origin: center; }
html.js:not(.still) .ways-hang .way-ic .sun { transform: scaleY(0); transform-origin: 50% 100%; }
html.js:not(.still) .ways-hang.in .way-ic .dot, html.js:not(.still) .ways-hang.in .way-ic .sun { transform: none; }

/* the 88: a turning world of lights. The dots grid stays as the picture without script */
.globe-wrap { max-width: 440px; margin-left: auto; }
.globe-wrap canvas { display: block; width: 100%; height: auto; aspect-ratio: 1; }
html.js .world .dots { display: none; }
@media (max-width: 860px) { .globe-wrap { margin-left: 0; max-width: 360px; } }

/* "People are.": people gather on a circle, threads join them, a stem grows, the dawn comes up */
.pull-row { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.constellation { display: block; width: 100%; height: auto; overflow: visible; }
@media (max-width: 760px) { .pull-row { grid-template-columns: 1fr; } .constellation { max-width: 260px; } }
.constellation .dl { fill: none; stroke: var(--accent-text); stroke-linecap: round; }
.constellation .c-ring { stroke-width: 3; }
.constellation .c-thread { stroke-width: 2; stroke-opacity: .45; }
.constellation .c-stem { stroke-width: 5; }
.constellation .c-leaf path { fill: var(--accent); }
.constellation .c-leaf .vein { fill: none; stroke: var(--accent-text); stroke-width: 2; opacity: .7; }
.constellation .c-person circle { fill: var(--second); }
.constellation .c-person.warm circle { fill: var(--accent); }
.constellation .c-person .halo { opacity: .15; }
.constellation .c-rays path { fill: var(--accent); opacity: .3; }
.constellation .c-glow { opacity: .9; }
.constellation .c-person, .constellation .c-leaf, .constellation .c-sun { transform-box: fill-box; }
.constellation .c-rays { transform-box: view-box; transform-origin: 300px 245px; }
html.js:not(.still) .constellation .dl { stroke-dasharray: 1000; stroke-dashoffset: 1000; }
html.js:not(.still) .constellation.in .dl { stroke-dashoffset: 0; }
html.js:not(.still) .constellation .c-ring { transition: stroke-dashoffset 1.4s cubic-bezier(.45,0,.2,1); }
html.js:not(.still) .constellation .c-thread { transition: stroke-dashoffset 1s cubic-bezier(.45,0,.2,1) calc(1.15s + var(--i) * 60ms); }
html.js:not(.still) .constellation .c-stem { transition: stroke-dashoffset 1.1s cubic-bezier(.45,0,.2,1) 2.2s; }
html.js:not(.still) .constellation .c-person { transform: scale(0); transform-origin: center; transition: transform .6s cubic-bezier(.34,1.56,.64,1) calc(.7s + var(--i) * 55ms); }
html.js:not(.still) .constellation .c-leaf { transform: scale(0); transform-origin: 0% 50%; transition: transform .6s cubic-bezier(.34,1.56,.64,1) calc(2.75s + var(--i) * 120ms); }
html.js:not(.still) .constellation .c-sun { transform: scale(0); transform-origin: center; transition: transform 1.1s cubic-bezier(.25,.6,.3,1) 3.1s; }
html.js:not(.still) .constellation .c-rays { opacity: 0; transition: opacity 1.2s ease 3.4s; }
html.js:not(.still) .constellation .c-glow { opacity: 0; transition: opacity 1.4s ease 1s; }
html.js:not(.still) .constellation.in .c-person, html.js:not(.still) .constellation.in .c-leaf, html.js:not(.still) .constellation.in .c-sun { transform: none; }
html.js:not(.still) .constellation.in .c-rays { opacity: 1; animation: c-turn 90s linear 3.4s infinite; }
html.js:not(.still) .constellation.in .c-glow { opacity: .9; }
html.js:not(.still) .constellation.in .c-person { animation: c-bob 5s ease-in-out infinite; animation-delay: calc(var(--i) * -.37s); }
@keyframes c-turn { to { transform: rotate(360deg); } }
@keyframes c-bob { 50% { translate: 0 -5px; } }

/* the app: the real screens, fanned out like the trailer's phones, with the mark turning behind them */
.app-show { position: relative; overflow: hidden; }
.app-show .markbehind { position: absolute; grid-column: auto; right: -14%; top: 50%; width: min(1000px, 82vw); height: auto; translate: 0 -50%; opacity: .06; filter: blur(5px); pointer-events: none; z-index: 0; }
html.js:not(.still) .app-show .markbehind { animation: mb-turn 180s linear infinite; }
@keyframes mb-turn { to { rotate: 360deg; } }
.app-show .split { position: relative; z-index: 1; }
.devices { position: relative; height: clamp(470px, 44vw, 650px); }
.device { position: absolute; left: 50%; top: 0; margin: 0; width: clamp(184px, 16.5vw, 262px); aspect-ratio: 393 / 852; padding: 8px; border-radius: 36px; background: linear-gradient(152deg, #2E3A63 0%, #1B2340 46%, #10162B 100%); box-shadow: 0 28px 60px rgba(15, 20, 40, .24), inset 0 1.5px 0 rgba(142, 160, 216, .5); transition: transform 1.2s cubic-bezier(.25,.6,.3,1); }
.device img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 28px; }
.d-mid { z-index: 2; transform: translateX(-50%); }
.d-left { z-index: 1; transform: translateX(-114%) translateY(9%) rotate(-7deg); }
.d-right { z-index: 1; transform: translateX(14%) translateY(9%) rotate(7deg); }
html.js:not(.still) .devices:not(.in) .d-left, html.js:not(.still) .devices:not(.in) .d-right { transform: translateX(-50%) translateY(4%) rotate(0deg); }
html.js:not(.still) .devices.in .device { animation: dev-float 7s ease-in-out 1.2s infinite; }
html.js:not(.still) .devices.in .d-left { animation-delay: -1.1s; }
html.js:not(.still) .devices.in .d-right { animation-delay: -3.4s; }
@keyframes dev-float { 50% { translate: 0 -10px; } }
@media (max-width: 860px) { .devices { height: clamp(380px, 96vw, 560px); } .device { width: clamp(150px, 37vw, 232px); } }

/* The floating "Ask us" chat button (chat.js) sits bottom right; leave room so it never covers the last footer line. */
.foot-legal { padding-bottom: 72px; }
