/* Bridge: second visual loop, mirroring lassie.ai's styling (see REFERENCES.md). Still not a brand: no logo,
   free fonts, CSS-made photographs. Families warm, study teams cool, patient groups meadow-neutral.
   One accent, a bright orange, on the action and on every bridge. */
:root {
  --paper: #f9f8f5;
  --surface: #ffffff;
  --ink: #120c08;
  --muted: #5d5751;
  --line: #e7e3dc;
  --accent: #ff740a;
  --accent-hover: #ff8a2e;
  --warm-ink: #a8501b;
  --cool-ink: #2f6474;
  --serif: "Newsreader", Georgia, serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 17px/1.55 var(--sans); color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; margin: 0; text-wrap: balance; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.6rem, 6.4vw, 5rem); line-height: 1.02; }
h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); line-height: 1.06; }
h3 { font-size: clamp(1.5rem, 2.2vw, 1.9rem); line-height: 1.12; }
em { font-style: italic; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; }

.wrap { max-width: 1160px; margin-left: auto; margin-right: auto; padding-left: 20px; padding-right: 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.eyebrow { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.warm-ink { color: var(--warm-ink); }
.cool-ink { color: var(--cool-ink); }
.muted { color: var(--muted); }

/* ---------- Photographs, made in CSS: soft colour fields, motion-blur streaks, grain, a slow drift ---------- */
.photo { position: relative; overflow: hidden; isolation: isolate; border-radius: 44px; background: var(--base); }
.photo::before {
  content: ""; position: absolute; inset: -25%; z-index: -2;
  background: var(--fields), var(--streaks);
  filter: blur(var(--blur, 26px)) saturate(1.08);
  transform: rotate(var(--tilt, -14deg));
  animation: drift 26s ease-in-out infinite alternate;
}
.photo::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"),
    radial-gradient(120% 90% at 50% 40%, transparent 55%, rgb(0 0 0 / 0.18));
  mix-blend-mode: soft-light;
}
/* Generated photographs sit on top of the CSS fallback and breathe slowly */
.photo-img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transform-origin: 50% 40%; animation: breathe 28s ease-in-out infinite alternate; }
.photo:has(.photo-img)::before { display: none; }
/* Photos behind white type are toned down so the words hold 4.5:1 */
.hero-video { opacity: 0; transition: opacity 0.9s ease; }
.hero-video.on { opacity: 1; }
.hero-photo .photo-img, .close-photo .photo-img { filter: brightness(0.74) saturate(1.2) contrast(0.92); }
@keyframes breathe { from { transform: scale(1.02) translate3d(-1%, 0, 0); } to { transform: scale(1.09) translate3d(1%, -1%, 0); } }
@keyframes drift { from { transform: rotate(var(--tilt, -14deg)) translate3d(-2%, 0, 0) scale(1.02); } to { transform: rotate(var(--tilt, -14deg)) translate3d(2%, -1.5%, 0) scale(1.08); } }

/* Golden hour through a window: the families' side */
.photo--dusk {
  --base: #c98a62;
  --fields:
    radial-gradient(30% 22% at 28% 30%, #ffe2b8 0%, transparent 70%),
    radial-gradient(34% 26% at 70% 62%, #f3a46f 0%, transparent 70%),
    radial-gradient(40% 30% at 20% 78%, #8a5a47 0%, transparent 70%),
    radial-gradient(30% 24% at 82% 20%, #f7c99a 0%, transparent 70%);
  --streaks: repeating-linear-gradient(68deg, rgb(255 236 210 / 0.22) 0 5%, transparent 5% 14%, rgb(120 70 45 / 0.16) 14% 17%, transparent 17% 29%);
  --blur: 34px;
}
/* Clinic window light: the studies' side */
.photo--sky {
  --base: #9db9c4;
  --fields:
    radial-gradient(34% 26% at 30% 30%, #eef5f6 0%, transparent 70%),
    radial-gradient(36% 28% at 72% 64%, #6f97a6 0%, transparent 70%),
    radial-gradient(30% 22% at 82% 22%, #d6e6ea 0%, transparent 70%);
  --streaks: repeating-linear-gradient(72deg, rgb(255 255 255 / 0.22) 0 5%, transparent 5% 15%);
  --tilt: -6deg;
}
/* Foliage in motion, as on Lassie: the studies' feature */
.photo--leaf {
  --base: #7f9c78;
  --fields:
    radial-gradient(26% 20% at 62% 22%, #f2f4ef 0%, transparent 70%),
    radial-gradient(24% 18% at 74% 58%, #e9efe8 0%, transparent 70%),
    radial-gradient(30% 22% at 40% 82%, #e3e9e2 0%, transparent 70%),
    radial-gradient(40% 30% at 18% 40%, #4f6f4c 0%, transparent 70%),
    radial-gradient(36% 26% at 90% 90%, #3e5a3f 0%, transparent 70%);
  --streaks: repeating-linear-gradient(64deg, rgb(225 235 210 / 0.3) 0 3%, transparent 3% 8%, rgb(40 70 40 / 0.26) 8% 11%, transparent 11% 18%);
  --tilt: -18deg;
}
/* Meadow with a little lavender: the groups' feature */
.photo--meadow {
  --base: #a9ad8c;
  --fields:
    radial-gradient(30% 22% at 30% 26%, #f4f1e4 0%, transparent 70%),
    radial-gradient(28% 20% at 72% 40%, #c8bfd8 0%, transparent 70%),
    radial-gradient(40% 30% at 50% 86%, #6f7a52 0%, transparent 70%);
  --streaks: repeating-linear-gradient(66deg, rgb(250 248 230 / 0.28) 0 3%, transparent 3% 10%);
  --tilt: -10deg;
}
/* Poppies against a blue sky, as on Lassie's last band */
.photo--poppy {
  --base: #8fb0cf;
  --fields:
    radial-gradient(30% 22% at 22% 70%, #ffb23f 0%, transparent 70%),
    radial-gradient(24% 18% at 38% 84%, #ff8a1f 0%, transparent 70%),
    radial-gradient(22% 16% at 78% 76%, #ffc95a 0%, transparent 70%),
    radial-gradient(50% 40% at 60% 20%, #d7e6f2 0%, transparent 70%),
    radial-gradient(40% 30% at 85% 40%, #6e95bd 0%, transparent 70%);
  --streaks: repeating-linear-gradient(90deg, rgb(255 255 255 / 0.18) 0 3%, transparent 3% 10%);
  --tilt: -4deg; --blur: 30px;
}

/* ---------- Nav: Lassie's pill group ---------- */
.nav { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: center; padding: 14px 20px; }
.pills { display: inline-flex; gap: 4px; padding: 4px; border-radius: 14px; background: rgb(255 255 255 / 0.55); box-shadow: 0 0 0 1px rgb(18 12 8 / 0.06), 0 6px 20px rgb(18 12 8 / 0.06); backdrop-filter: blur(12px); }
.pill { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border-radius: 10px; background: var(--surface); text-decoration: none; font-size: 0.93rem; transition: background-color 0.2s; }
.pill:hover { background: #f3f1ec; }
.pill.mark { padding: 0 14px; }
.brand-word { display: block; height: 36px; width: auto; }
.brand-foot { display: inline-block; height: 28px; vertical-align: middle; }
.logo-dot { width: 14px; height: 14px; border-radius: 50%; border: 1.5px dashed currentColor; display: inline-block; flex: none; }
.logo-dot.cool, .logo-dot.neutral { color: var(--muted); }
.nav-cta { position: absolute; right: 20px; top: 16px; transition: background-color 0.25s, box-shadow 0.25s; }
.nav.on-hero .nav-cta { background: #fff; box-shadow: 0 6px 20px rgb(18 12 8 / 0.12); }
.nav.on-hero .nav-cta:hover { background: #f3f1ec; }

/* ---------- Buttons and forms ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px;
  border: 0; border-radius: 12px; background: var(--accent); color: var(--ink);
  font: 600 1rem/1 var(--sans); text-decoration: none; cursor: pointer;
  transition: background-color 0.2s, transform 0.2s var(--ease);
}
.btn:hover { background: var(--accent-hover); }
.btn:active { transform: scale(0.98); }
.role span:hover { background: rgb(255 255 255 / 0.82); }
.btn:active { transform: scale(0.98); }
.btn:focus-visible, input:focus-visible, .pill:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.btn-small { min-height: 44px; padding: 0 16px; font-size: 0.93rem; }

.join { margin-top: 28px; width: 100%; max-width: 520px; }
.bar { display: flex; gap: 6px; padding: 6px; border-radius: 16px; background: rgb(255 255 255 / 0.92); box-shadow: 0 10px 30px rgb(18 12 8 / 0.15); }
.bar input { flex: 1; min-width: 0; min-height: 48px; padding: 0 14px; border: 0; border-radius: 10px; background: transparent; font: inherit; color: var(--ink); }
.bar input::placeholder { color: #8a837b; }
.form-note { min-height: 1.4em; margin-top: 10px; font-size: 0.92rem; }
.form-note.ok { font-weight: 600; }

.role { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; border: 0; padding: 0; margin: 0 0 10px; }
.role label { position: relative; display: inline-flex; }
.role input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.role span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 999px; cursor: pointer;
  font-size: 0.93rem; color: var(--ink); background: rgb(255 255 255 / 0.6); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.7);
  backdrop-filter: blur(6px); transition: background-color 0.2s, color 0.2s;
}
.role input:checked + span { background: #fff; color: var(--ink); font-weight: 600; box-shadow: 0 0 0 2px var(--ink); }
.role input:focus-visible + span { outline: 3px solid #fff; outline-offset: 2px; }

/* ---------- Hero ---------- */
.hero { padding: 0 12px; margin-top: -72px; }
.hero-photo { min-height: min(92svh, 860px); border-radius: 0 0 44px 44px; display: flex; align-items: center; justify-content: center; }
.hero-inner { background: radial-gradient(60% 55% at 50% 45%, rgb(60 28 12 / 0.38), transparent 78%); }
.close-inner { background: radial-gradient(60% 55% at 50% 50%, rgb(20 40 70 / 0.34), transparent 78%); }
.close-inner { background: radial-gradient(60% 55% at 50% 50%, rgb(20 40 70 / 0.3), transparent 75%); }
.hero-inner { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 140px 20px 64px; color: #fff; width: 100%; }
.hero h1 { color: #fff; text-shadow: 0 2px 30px rgb(60 30 10 / 0.25); }
.hero-sub { margin-top: 26px; font-size: 1.25rem; line-height: 1.45; max-width: 36ch; color: #fff; text-shadow: 0 1px 14px rgb(60 28 12 / 0.45); }
.hero .form-note { color: #fff; text-shadow: 0 1px 8px rgb(0 0 0 / 0.3); }

/* Ticker: four finished tasks that tick in one by one, then rest */
.ticker-tag { margin-top: 30px; }
.ticker-tag .tag { background: rgb(255 255 255 / 0.85); color: var(--ink); }
.ticker { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 6px; justify-items: center; }
.ticker li {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 8px; border-radius: 999px;
  background: rgb(18 12 8 / 0.26); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.24); backdrop-filter: blur(8px);
  font-size: 0.88rem; color: #fff; opacity: 0; transform: translateY(8px);
  animation: tick 0.7s var(--ease) forwards; animation-delay: calc(0.5s + var(--i) * 0.55s);
}
.ticker li:nth-child(1) { --i: 0; } .ticker li:nth-child(2) { --i: 1; } .ticker li:nth-child(3) { --i: 2; } .ticker li:nth-child(4) { --i: 3; }
.ticker .ico { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: rgb(255 255 255 / 0.9); color: var(--warm-ink); font-size: 0.65rem; font-weight: 600; }
.ticker li:last-child .ico { background: var(--accent); color: var(--ink); }
@keyframes tick { to { opacity: 1; transform: none; } }

/* ---------- Statement and the gap ---------- */
section { padding: 120px 0; }
.statement { text-align: center; }
.mark-lg { display: block; width: 44px; height: 44px; margin: 0 auto 26px; border-radius: 50%; border: 2px dashed #b9b1a6; }
.mark-lg.light { border-color: rgb(255 255 255 / 0.7); }
.statement h2 em { color: var(--muted); }
.gap { display: grid; gap: 16px; align-items: center; margin-top: 48px; }
.scene { display: grid; place-items: center; padding: 20px; }
.mini {
  display: grid; gap: 3px; min-width: 250px; padding: 16px 18px; border-radius: 14px; background: var(--surface);
  box-shadow: 0 14px 40px rgb(18 12 8 / 0.18); font-size: 0.86rem; color: var(--muted); text-align: left;
}
.mini b { color: var(--ink); font-weight: 600; font-size: 1.1rem; }
.mini .tag { justify-self: start; margin: 0 0 6px; }
.gap figure { margin: 0; }
.scene { min-height: 260px; border-radius: 36px; }
.gap figcaption { margin-top: 14px; font-family: var(--serif); font-size: 1.25rem; }
.broken { display: flex; align-items: center; justify-content: center; height: 48px; }
.broken i { display: block; width: 40%; border-top: 4px dashed var(--ink); opacity: 0.8; }
.broken i:first-child { border-radius: 2px; } .broken i:last-child { border-radius: 2px; }
.broken b { display: block; width: 20%; }

/* ---------- Features: photo + live UI, a callout beside it ---------- */
.features { display: grid; gap: 96px; padding-top: 24px; }
.feature { display: grid; gap: 28px; align-items: center; }
.stack { position: relative; padding-bottom: 18px; }
.stack::after { /* the darker card peeking out underneath, as on Lassie */
  content: ""; position: absolute; left: 7%; right: 7%; bottom: 0; height: 40%; z-index: -1; border-radius: 44px;
  background: #6d6457; opacity: 0.6;
}
.stack:has(.photo--dusk)::after { background: #7d4c33; }
.stack:has(.photo--leaf)::after { background: #3f5a3d; }
.stack:has(.photo--meadow)::after { background: #5d6346; }
.shot { min-height: 400px; display: grid; place-items: center; padding: 28px; }
.callout h3 { margin-bottom: 12px; font-size: clamp(1.8rem, 2.8vw, 2.4rem); }
.callout p:last-child { font-size: 1.08rem; }
.callout { max-width: 36ch; }
.callout p:last-child { color: var(--muted); }

/* The UI cards */
.ui {
  width: min(400px, 100%); background: var(--surface); border-radius: 14px; padding: 16px;
  box-shadow: 0 1px 0 rgb(18 12 8 / 0.04), 0 18px 50px rgb(18 12 8 / 0.22); font-size: 0.8rem; color: var(--ink);
  display: grid; gap: 10px;
}
.ui-head { display: flex; align-items: center; gap: 8px; font-weight: 500; font-size: 0.86rem; }
.tag { margin-left: auto; padding: 2px 8px; border-radius: 999px; background: #f2efe9; color: var(--muted); font-size: 0.78rem; font-weight: 500; }
.ui-row { display: flex; align-items: center; gap: 8px; color: var(--muted); }
.ui-card { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; border-radius: 10px; background: #faf9f6; box-shadow: inset 0 0 0 1px var(--line); }
.ui-card b { display: block; font-weight: 600; font-size: 0.82rem; }
.ui-card span { color: var(--muted); }
.ui-card span b { color: var(--ink); }
.ui-card em { font-style: normal; font-weight: 600; font-size: 0.78rem; padding: 3px 9px; border-radius: 999px; background: #efece6; color: var(--ink); white-space: nowrap; }
.ui-card em.go { background: var(--ink); color: #fff; }
.ui-foot { color: var(--muted); font-size: 0.78rem; }
.spin { width: 12px; height: 12px; border-radius: 50%; border: 2px solid #e4ded5; border-top-color: var(--ink); animation: spin 0.9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.meter { display: inline-flex; gap: 3px; }
.meter i, .meter s { width: 12px; height: 7px; border-radius: 4px; display: block; }
.meter i { background: var(--ink); }
.meter s { box-shadow: inset 0 0 0 1px #c9c1b6; }
.ui-bar { height: 4px; border-radius: 4px; background: #efebe5; overflow: hidden; }
.ui-bar i { display: block; height: 100%; width: 0; background: var(--ink); border-radius: 4px; }
.ui-field { display: flex; align-items: center; min-height: 38px; padding: 0 12px; border-radius: 10px; box-shadow: inset 0 0 0 1px #d9d3ca; font-size: 0.86rem; }
.typed { display: inline-block; overflow: hidden; white-space: nowrap; width: 0; }
.caret { width: 1.5px; height: 16px; background: var(--ink); margin-left: 1px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* Each card plays a short loop once it's on screen. Start state is hidden; .play runs it. */
/* Hidden start states apply only once motion.js has set html.motion, so without JS every card shows its finished state. */
.motion .ui .r1, .motion .ui .r2, .motion .ui .s1, .motion .ui .s2, .motion .ui .s3, .motion .ui .g1 { opacity: 0; transform: translateY(8px); }
html:not(.motion) .ui-bar i { width: 100%; }
html:not(.motion) .typed { width: auto; }
.play .ui--watch .r1 { animation: show 9s var(--ease) infinite; animation-delay: 0.2s; }
.play .ui--watch .r2 { animation: show 9s var(--ease) infinite; animation-delay: 2.2s; }
.play .ui--watch .ui-bar i { animation: fill 9s var(--ease) infinite; animation-delay: 0.2s; }
.play .ui--inbox .s1 { animation: show 9s var(--ease) infinite; animation-delay: 0.3s; }
.play .ui--inbox .s2 { animation: show 9s var(--ease) infinite; animation-delay: 1.4s; }
.play .ui--inbox .s3 { animation: show 9s var(--ease) infinite; animation-delay: 2.5s; }
.play .ui--embed .typed { animation: type 9s steps(28) infinite; animation-delay: 0.3s; }
.play .ui--embed .g1 { animation: show 9s var(--ease) infinite; animation-delay: 2.6s; }
@keyframes show { 0% { opacity: 0; transform: translateY(8px); } 6%, 80% { opacity: 1; transform: none; } 88%, 100% { opacity: 0; transform: translateY(-4px); } }
@keyframes fill { 0% { width: 0; } 30% { width: 100%; } 80% { width: 100%; opacity: 1; } 90%, 100% { width: 100%; opacity: 0; } }
@keyframes type { 0% { width: 0; } 25%, 82% { width: 15.5em; } 92%, 100% { width: 0; } }

/* ---------- Map ---------- */
.mapsec { text-align: center; }
.key { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin-top: 18px; font-size: 0.9rem; }
.key span { display: inline-flex; align-items: center; gap: 8px; }
.map { margin: 28px auto 0; max-width: 820px; }
.map svg { width: 100%; height: auto; display: block; }
.map figcaption { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin-top: 18px; font-size: 0.88rem; }
.map figcaption span { display: inline-flex; align-items: center; gap: 8px; }
.k { display: inline-block; width: 10px; height: 10px; border-radius: 50%; }
.k-person { background: var(--ink); }
.k-study { box-shadow: inset 0 0 0 2px var(--ink); }
.k-link { width: 20px; height: 9px; border-radius: 12px 12px 0 0; border: 3px solid var(--accent); border-bottom: 0; background: none; }
#map .land { fill: #e3ded6; }
#map .person { fill: var(--ink); transform-box: fill-box; transform-origin: center; }
html:not(.motion) #map .person.met { fill: var(--accent); }
.motion #map .person, .motion #map .study { transform: scale(0); }
#map .study { fill: none; stroke: var(--ink); stroke-width: 2.5; transform-box: fill-box; transform-origin: center; }
#map .link { fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.motion #map .link { stroke-dashoffset: 1; }
#map.play .person { animation: pop 0.6s var(--ease) forwards; }
#map.play .study { animation: pop 0.7s var(--ease) forwards; }
#map.play .link { animation: draw 1s var(--ease) forwards; }
#map.play .person.met { animation: pop 0.6s var(--ease) forwards, meet 0.6s var(--ease) forwards; }
@keyframes pop { to { transform: scale(1); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes meet { to { fill: var(--accent); } }

/* ---------- Promises ---------- */
.promises { display: grid; gap: 28px; padding-top: 40px; border-top: 1px solid var(--line); }
.promises div { display: flex; align-items: center; gap: 14px; }
.promises h3 { font-size: 1.35rem; }
.dot { display: inline-grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 50%; background: var(--surface); box-shadow: 0 0 0 1px var(--line), 0 4px 14px rgb(18 12 8 / 0.06); font-size: 0.85rem; font-weight: 600; }

/* ---------- Close ---------- */
.closing { padding: 40px 12px 12px; }
.close-photo { min-height: 640px; display: flex; align-items: center; justify-content: center; }
.close-inner { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 80px 20px; color: #fff; width: 100%; }
.closing h2 { color: #fff; text-shadow: 0 2px 24px rgb(20 40 70 / 0.3); }
.closing .form-note { color: #fff; text-shadow: 0 1px 8px rgb(0 0 0 / 0.3); }

.footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding-top: 28px; padding-bottom: 40px; color: var(--muted); font-size: 0.9rem; }

/* ---------- Wider screens ---------- */
@media (min-width: 900px) {
  section { padding: 160px 0; }
  .hero, .closing { padding-left: 16px; padding-right: 16px; }
  .gap { grid-template-columns: 1fr 160px 1fr; }
  .scene { min-height: 360px; }
  .broken { margin-bottom: 40px; }
  .feature { grid-template-columns: 7fr 4fr; gap: 56px; }
  .feature.flip { grid-template-columns: 4fr 7fr; }
  .feature.flip .stack { order: 2; }
  .shot { min-height: 520px; }
  .promises { grid-template-columns: repeat(3, 1fr); padding-bottom: 80px; }
  .promises div { justify-content: center; }
}
@media (max-width: 640px) {
  .hide-sm { display: none; }
  .nav { justify-content: flex-start; }
  .pills .pill:not(.mark) { padding: 0 10px; font-size: 0.85rem; }
  .nav-cta { top: 16px; right: 12px; }
  .nav-cta { padding: 0 12px; }
  .pills .pill:not(.mark) { display: none; }
  .role { flex-direction: column; align-items: stretch; width: 100%; }
  .role label, .role span { width: 100%; justify-content: center; }
}

/* Reduced motion: everything shows its finished state, nothing loops */
@media (prefers-reduced-motion: reduce) {
  .photo-img { animation: none; }
  html { scroll-behavior: auto; }
  .photo::before, .spin, .caret { animation: none !important; }
  .ticker li { animation: none; opacity: 1; transform: none; }
  .ui .r1, .ui .r2, .ui .s1, .ui .s2, .ui .s3, .ui .g1 { opacity: 1; transform: none; animation: none !important; }
  .ui-bar i { width: 100%; animation: none !important; }
  .typed { width: auto; animation: none !important; }
  #map .person, #map .study { transform: none; animation: none !important; }
  #map .link { stroke-dashoffset: 0; animation: none !important; }
  #map .person.met { fill: var(--accent); }
}
