/* Business of Space hub, v4.
   Space black base, a single cool accent, entity colors only as hairlines.
   Type roles per Canon: Inter for structure and reading, General Sans for labels (self-host at launch),
   IBM Plex Serif italic for the lede and boxed callouts.
   Contrast: every text color below is at least 4.5:1 on --bg (checked). */
:root {
  color-scheme: dark;
  --bg: #05070F;          /* space black, blue cast */
  --bg-2: #0A0E1F;        /* raised surface */
  --ink: #EEF1FA;         /* 17.5:1 on bg */
  --soft: #CDD3E8;        /* 12.8:1 */
  --muted: #9AA3C2;       /* 7.6:1 */
  --line: rgba(205, 211, 232, 0.16);
  --card: rgba(255, 255, 255, 0.035);
  --card-2: rgba(255, 255, 255, 0.07);
  --accent: #B9C7F5;      /* ice blue, 12:1 */
  --on-accent: #05070F;
  --glow: #5B3FA8;        /* the indigo purple, used only as light */
  --group: #7D93F2;       /* hairlines and small marks only */
  --iai: #B19BEA;
  --bosa: #9FDDEE;
  --rail: 232px;
  --radius: 14px;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-label: "General Sans", "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-lead: "IBM Plex Serif", Georgia, "Times New Roman", serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; background: var(--bg); color: var(--ink); font-family: var(--font-body); font-size: 1.0625rem; font-weight: 300; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
/* (old starfield rule removed; .sky is now the earthrise set) */
.wrap { width: 100%; max-width: 1180px; margin-inline: auto; padding-left: max(28px, env(safe-area-inset-left, 0px)); padding-right: max(28px, env(safe-area-inset-right, 0px)); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 20; background: var(--accent); color: var(--on-accent); padding: 8px 14px; border-radius: 8px; font-weight: 600; }
.skip:focus { left: 12px; }

/* ---------- Side rail (the gutter) ---------- */
.rail { position: fixed; inset: 0 auto 0 0; width: var(--rail); z-index: 10; display: flex; flex-direction: column; gap: 38px;
  padding: max(30px, env(safe-area-inset-top, 0px)) 22px 28px max(26px, env(safe-area-inset-left, 0px));
  background: linear-gradient(180deg, rgba(5,7,15,0.72), rgba(5,7,15,0.55)); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-right: 1px solid rgba(205,211,232,0.08); }
.brand { display: inline-block; line-height: 0; }
.rail .brand img { width: 142px; height: auto; }
.nav { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.nav a { display: inline-block; padding: 7px 0; font-family: var(--font-label); font-weight: 500; font-size: 0.95rem; line-height: 1.3; color: var(--soft); text-decoration: none; border-bottom: 1px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { color: #fff; border-bottom-color: var(--accent); }
.nav .ext { font-size: 0.78em; opacity: 0.7; }
.nav .sep { height: 1px; background: var(--line); margin: 10px 0; }
.page { margin-left: var(--rail); min-height: 100vh; display: flex; flex-direction: column; }
.page main { flex: 1; }

/* ---------- Type ---------- */
.eyebrow, .mono { font-family: var(--font-label); font-weight: 500; text-transform: uppercase; letter-spacing: 0.16em; }
.eyebrow { font-size: 0.74rem; color: var(--accent); margin: 0 0 14px; }
h1 { font-weight: 500; font-size: clamp(2.2rem, 4.6vw, 3.9rem); line-height: 1.04; letter-spacing: -0.02em; margin: 0 0 18px; text-wrap: balance; }
h1 .hl { color: var(--accent); }
h2 { font-weight: 500; }
.lede { font-family: var(--font-lead); font-style: italic; font-weight: 300; font-size: 1.22rem; line-height: 1.55; max-width: 50ch; color: var(--soft); margin: 0 0 26px; }
.links { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; min-height: 46px; padding: 11px 22px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-weight: 600; font-size: 0.95rem; text-decoration: none; border: 1.5px solid var(--accent); transition: background .15s, border-color .15s; }
.btn:hover { background: #fff; border-color: #fff; }
.btn.ghost { background: rgba(5,7,15,0.35); color: #fff; border-color: rgba(238,241,250,0.5); }
.btn.ghost:hover { background: rgba(255,255,255,0.1); border-color: #fff; }

/* ---------- Home hero: the earthrise ---------- */
.earth-hero { position: relative; min-height: max(640px, 100vh); display: grid; align-items: end; isolation: isolate; overflow: hidden; }
.earth-hero::before { content: ""; position: absolute; inset: 0; z-index: -2;
  background: url("assets/photos/earthrise-wide.jpg") center top / cover no-repeat; }
.earth-hero::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(900px 520px at 72% 62%, rgba(91,63,168,0.22), transparent 70%),
    linear-gradient(180deg, rgba(5,7,15,0.15) 0%, rgba(5,7,15,0.05) 30%, rgba(5,7,15,0.55) 62%, var(--bg) 100%); }
.earth-in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr); gap: 32px; align-items: end; padding-block: 0 clamp(48px, 9vh, 96px); }
.earth-copy h1, .earth-copy .lede { text-shadow: 0 2px 24px rgba(5,7,15,0.85); }

/* ---------- Orbit Venn: three hairline rings, you at the center ---------- */
.orbits { margin: 0; }
.orbits svg { width: 100%; height: auto; display: block; overflow: visible; }
.orbits .ring { fill: none; stroke-width: 1.4; transition: stroke-width .2s, fill-opacity .2s; }
.orbits .halo { fill-opacity: 0.07; }
.orbits .r-group { stroke: var(--group); } .orbits .h-group { fill: var(--group); }
.orbits .r-iai { stroke: var(--iai); }     .orbits .h-iai { fill: var(--iai); }
.orbits .r-bosa { stroke: var(--bosa); }   .orbits .h-bosa { fill: var(--bosa); }
.orbits a { text-decoration: none; }
.orbits a:hover .ring, .orbits a:focus-visible .ring { stroke-width: 2.6; }
.orbits a:hover .halo, .orbits a:focus-visible .halo { fill-opacity: 0.16; }
.orbits .name { font-family: var(--font-label); font-weight: 500; font-size: 17px; fill: var(--ink); }
.orbits .role { font-family: var(--font-label); font-weight: 500; font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; fill: var(--muted); }
.orbits .you-core { fill: #fff; }
.orbits .you-halo { fill: url(#youGlow); }
.orbits .you-label { font-family: var(--font-label); font-weight: 600; font-size: 15px; fill: #fff; letter-spacing: 0.04em; }
.orbits .pulse { animation: pulse 4s ease-in-out infinite; transform-origin: center; transform-box: fill-box; }
@keyframes pulse { 0%, 100% { opacity: .9; transform: scale(1); } 50% { opacity: .5; transform: scale(1.25); } }
.orbits figcaption { margin-top: 6px; text-align: center; font-size: 0.85rem; color: var(--muted); }
@media (prefers-reduced-motion: reduce) { .orbits .pulse { animation: none; } html { scroll-behavior: auto; } }

/* ---------- Inner pages ---------- */
.hero { padding-block: clamp(44px, 8vh, 84px) 20px; }
.hero.centred { text-align: center; }
.hero.centred .lede { margin-inline: auto; }
.row { margin-top: 18px; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.align-start { align-items: start; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; min-width: 0; }
.strip { padding: 14px 20px; display: flex; flex-direction: column; gap: 2px; border-bottom: 1px solid var(--line); }
.strip h3 { margin: 0; font-weight: 500; font-size: 1.15rem; }
.strip .mono { font-size: 0.68rem; color: var(--muted); }
.strip.bosa { border-top: 3px solid var(--bosa); } .strip.group { border-top: 3px solid var(--group); } .strip.iai { border-top: 3px solid var(--iai); }
.desc { margin: 0; padding: 16px 20px 14px; }
.kv { display: grid; grid-template-columns: 5.2rem minmax(0, 1fr); gap: 12px; padding: 10px 20px; border-top: 1px solid var(--line); align-items: baseline; }
.kv .k { font-family: var(--font-label); font-weight: 500; font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.kv .v { font-weight: 500; }
.note { margin: 0; padding: 4px 20px 12px; font-size: 0.92rem; color: var(--muted); }
.visit { padding: 12px 20px 16px; border-top: 1px solid var(--line); }
.visit a { font-weight: 600; color: var(--accent); text-decoration: none; border-bottom: 1px solid var(--accent); }
.visit a:hover { color: #fff; border-bottom-color: #fff; }
details > summary { list-style: none; cursor: pointer; }
details > summary::-webkit-details-marker { display: none; }
.panel > summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; font-family: var(--font-label); font-weight: 500; font-size: 1.1rem; line-height: 1.35; }
.panel > summary:hover { background: var(--card-2); }
.panel > summary::after { content: "+"; font-weight: 400; font-size: 1.3rem; line-height: 1; color: var(--accent); flex: none; }
details[open].panel > summary::after { content: "\2212"; }
.panel .inner { padding: 4px 24px 24px; }
.formal { margin: 0 0 20px; font-family: var(--font-lead); font-style: italic; font-weight: 300; font-size: 1.04rem; line-height: 1.6; color: var(--soft); background: var(--card); border: 1px solid var(--line); border-left: 2px solid var(--accent); padding: 14px 18px; border-radius: 4px; }
.formal.wide { max-width: 70ch; }
.formal strong { font-weight: 400; color: #fff; }
.triad { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.triad .word { font-family: var(--font-label); font-weight: 500; font-size: 1.25rem; display: block; margin-bottom: 4px; }
.triad p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.zone { padding: 22px 24px; border-top: 2px solid var(--accent); }
.zone .mono { font-size: 0.7rem; color: var(--accent); }
.zone .big { margin: 8px 0 0; font-family: var(--font-label); font-weight: 500; font-size: clamp(1.3rem, 2.3vw, 1.75rem); line-height: 1.2; }
.zones { align-items: stretch; }
.text-card { padding: 22px 24px; }
.text-card h2 { margin: 0 0 10px; font-size: 1.35rem; line-height: 1.3; text-wrap: balance; }
.text-card p { margin: 0; color: var(--soft); }
.closer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 28px; padding-block: 22px 4px; }
.statement { margin: 0; padding-left: 20px; border-left: 2px solid var(--accent); font-family: var(--font-label); font-weight: 500; font-size: clamp(1.3rem, 2.5vw, 1.85rem); line-height: 1.25; text-wrap: balance; max-width: 34ch; }
.centre-orbits { max-width: 620px; margin: 8px auto 0; }

/* Photo bands, faded at every edge */
.photo-band { margin: 28px 0 0; height: clamp(180px, 24vw, 300px); overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 22%, #000 78%, transparent), linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-composite: source-in; mask-image: linear-gradient(180deg, transparent, #000 22%, #000 78%, transparent), linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-composite: intersect; }
.photo-band.tall { height: clamp(220px, 32vw, 420px); }
.photo-band img { width: 100%; height: 100%; object-fit: cover; display: block; filter: saturate(0.85) brightness(0.8); }

/* Partners page */
.partner-grid { list-style: none; margin: 0 auto; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; max-width: 1000px; }
.partner-grid li { flex: 0 1 230px; }
.partner-grid li { display: flex; align-items: center; justify-content: center; min-height: 140px; padding: 26px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.partner-grid img { max-height: 54px; width: auto; opacity: 0.9; }
.partner-grid li.tall img { max-height: 76px; }

/* Podcast */
.search input { width: min(100%, 420px); min-height: 46px; padding: 12px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--card-2); color: var(--ink); font: inherit; font-weight: 400; }
.search input::placeholder { color: var(--muted); }
.ep-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 18px; }
.ep { display: flex; flex-direction: column; gap: 6px; text-decoration: none; border-radius: 10px; }
.ep img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); transition: transform .2s, border-color .2s; }
.ep:hover img { transform: translateY(-3px); border-color: rgba(255,255,255,0.4); }
.ep-date { font-family: var(--font-label); font-weight: 500; font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.ep-title { font-weight: 500; font-size: 0.98rem; line-height: 1.35; }
.none { color: var(--muted); }
.episode { padding-block: 40px 10px; }
.back { display: inline-block; margin-bottom: 18px; color: var(--accent); text-decoration: none; font-weight: 600; font-size: 0.92rem; }
.ep-main { display: grid; grid-template-columns: minmax(0, 400px) minmax(0, 1fr); gap: 40px; align-items: start; }
.ep-art { width: 100%; height: auto; border-radius: var(--radius); border: 1px solid var(--line); }
.ep-body h1 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.prose { margin-top: 22px; max-width: 64ch; }
.prose p { margin: 0 0 14px; color: var(--soft); }
.ep-links { margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line); }
.ep-links .mono { font-size: 0.68rem; color: var(--muted); }
.ep-links ul { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.ep-links a { color: var(--accent); font-size: 0.92rem; }
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 30px; }
.pn { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; font-weight: 500; line-height: 1.35; }
.pn:hover { background: var(--card-2); }
.pn .mono { font-size: 0.66rem; color: var(--accent); }
.pn.next { grid-column: 2; text-align: right; }

/* Footer */
.foot { margin-top: 56px; padding-block: 28px 26px; border-top: 1px solid var(--line); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; align-items: start; }
.legal p { margin: 0 0 6px; font-size: 0.82rem; line-height: 1.5; color: var(--muted); max-width: 64ch; }
.foot-links { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, auto); gap: 6px 28px; font-size: 0.86rem; }
.foot-links a { color: var(--soft); text-decoration: none; }
.foot-links a:hover { color: #fff; text-decoration: underline; }
.home .foot { margin-top: 0; }

@media (max-width: 1080px) {
  .earth-in { grid-template-columns: minmax(0, 1fr); align-items: start; padding-top: 34vh; }
  .orbits.hero-orbits { max-width: 460px; }
}
@media (max-width: 900px) {
  .rail { position: sticky; top: 0; inset: auto; width: auto; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 10px 22px; padding: 14px max(20px, env(safe-area-inset-right, 0px)) 12px max(20px, env(safe-area-inset-left, 0px)); border-right: 0; border-bottom: 1px solid var(--line); }
  .rail .brand img { width: 88px; }
  .nav { flex-direction: row; flex-wrap: wrap; gap: 0 16px; }
  .nav a { font-size: 0.86rem; padding: 6px 0; }
  .nav .sep { display: none; }
  .page { margin-left: 0; }
  .wrap { padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
  .earth-hero { min-height: auto; }
  .earth-in { padding-top: 40vw; }
  .earth-hero::before { background-position: 22% top; background-size: 180% auto; }
  .grid3, .grid2, .foot-grid { grid-template-columns: minmax(0, 1fr); }
  .ep-main { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .ep-art { max-width: 420px; }
}
@media (max-width: 640px) {
  .triad { grid-template-columns: minmax(0, 1fr); }
  .ep-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .pager { grid-template-columns: minmax(0, 1fr); } .pn.next { grid-column: 1; text-align: left; }
}

/* ---------- v4.1: horizontal top bar, footer of entity disclaimers ---------- */
.rail { display: none; }
.page { margin-left: 0; }
.top { display: block; position: relative; z-index: 10; }
.home .top { position: absolute; inset: 0 0 auto 0; }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 10px 32px; flex-wrap: wrap; padding-block: max(18px, env(safe-area-inset-top, 0px)) 10px; }
.top .brand img { height: 56px; width: auto; }
.top .nav { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 4px 24px; }
.top .nav a { font-size: 0.92rem; padding: 6px 0; text-shadow: 0 1px 12px rgba(5,7,15,0.8); }
.top .nav .sep { width: 1px; height: 18px; margin: 0 4px; background: var(--line); }

/* Landing page fits one screen: hero fills what the footer leaves */
.home .page { height: 100vh; height: 100svh; min-height: 640px; }
.home .page main { display: flex; flex-direction: column; min-height: 0; }
.home .earth-hero { flex: 1; min-height: 0; }
.home .earth-in { padding-block: 110px clamp(20px, 4vh, 44px); }
.home .orbits.hero-orbits svg { max-height: calc(100vh - 300px); max-height: calc(100svh - 300px); }
.home .foot { margin-top: 0; border-top: 0; background: var(--bg); }

.foot { margin-top: 56px; padding-block: 18px 20px; border-top: 1px solid var(--line); }
.entities { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 36px; }
.entities li { min-width: 0; padding-left: 14px; border-left: 2px solid var(--line); }
.entities li:has(.group) { border-left-color: var(--group); }
.entities li:has(.iai) { border-left-color: var(--iai); }
.entities li:has(.bosa) { border-left-color: var(--bosa); }
.ent-name { display: block; font-family: var(--font-label); font-weight: 500; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--soft); margin-bottom: 4px; }
.entities p { margin: 0; font-size: 0.8rem; line-height: 1.5; color: var(--muted); }

@media (max-width: 1080px) { .home .page { height: auto; min-height: 100vh; } .home .earth-in { padding-top: 34vh; } }
@media (max-width: 900px) {
  .top .brand img { height: 44px; }
  .top .nav { gap: 0 16px; } .top .nav a { font-size: 0.86rem; } .top .nav .sep { display: none; }
  .home .earth-in { padding-top: 52vw; }
  .entities { grid-template-columns: minmax(0, 1fr); }
}

/* v4.2: footer is a single copyright line */
.foot { margin-top: 48px; padding-block: 14px 18px; border-top: 0; }
.copy { margin: 0; text-align: center; font-size: 0.8rem; color: var(--muted); letter-spacing: 0.02em; }
.home .foot { padding-block: 10px 14px; background: transparent; }

/* v4.3: text-only landing */
.earth-in.solo { grid-template-columns: minmax(0, 720px); }
.home .earth-in.solo { padding-bottom: clamp(56px, 12vh, 140px); }
.earth-in.solo .links { flex-direction: row; }

/* v4.4: footer privacy link, privacy page */
.copy .dot { margin: 0 10px; }
.copy a { color: var(--soft); text-decoration: underline; text-underline-offset: 3px; }
.copy a:hover { color: var(--ink); }
.updated { margin: 0; font-size: 0.85rem; color: var(--muted); }
.legal-text { max-width: 72ch; display: flex; flex-direction: column; gap: 6px; }
.legal-text h2 { margin: 14px 0 0; font-size: 1.1rem; }
.legal-text h2:first-child { margin-top: 0; }

/* v4.5: foundation line, quiet emphasis on access and opportunity */
.found { margin: -4px 0 26px; padding-left: 14px; border-left: 2px solid var(--accent); font-family: var(--font-body); font-size: 0.98rem; font-weight: 300; color: var(--muted); max-width: 60ch; }
.found .w { color: var(--ink); font-weight: 500; letter-spacing: 0.01em; }
.found .ln { display: block; }
.found { line-height: 1.7; }
@media (max-width: 640px) {
  .home .earth-in.solo { padding-bottom: 24px; }
  .found { font-size: 0.9rem; line-height: 1.6; margin-bottom: 20px; }
}

/* ================= v5: the journey. One earthrise, many framings. ================= */
@view-transition { navigation: auto; }

/* The set */
.sky { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.sky-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top;
  transform-origin: 50% 50%; view-transition-name: earth; }
.sky-scrim { position: absolute; inset: 0; view-transition-name: scrim;
  background:
    radial-gradient(900px 520px at 72% 62%, rgba(91,63,168,0.22), transparent 70%),
    linear-gradient(90deg, rgba(5,7,15,0.55) 0%, rgba(5,7,15,0.15) 50%, rgba(5,7,15,0) 75%),
    linear-gradient(180deg, rgba(5,7,15,0.15) 0%, rgba(5,7,15,0.05) 30%, rgba(5,7,15,0.55) 62%, rgba(5,7,15,0.9) 100%); }
.sky-dim { position: absolute; inset: 0; z-index: 1; background: var(--bg); opacity: 0; }

/* The shots: where the camera sits on each page */
.shot-story .sky-img { transform: translate(45%, 20.4%) scale(1.9); filter: brightness(1.08) saturate(1.1); }
.shot-fit .sky-img { transform: translate(35%, -35%) scale(1.7); filter: brightness(1.12) saturate(1.05); }

/* Home now uses the shared set instead of its own background */
.home .earth-hero::before, .home .earth-hero::after { content: none; }
.home .earth-hero { background: transparent; }

/* Header stays put across pages */
.top { view-transition-name: topbar; }
.journey .top { position: absolute; inset: 0 0 auto 0; }

/* Journey pages: the arrival fills the first screen, the detail waits below */
.journey .page, .home .page { background: transparent; }
.journey-hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end;
  padding-block: 140px clamp(64px, 14vh, 150px); }
.journey-hero .arrive { max-width: 720px; }
.journey-hero .formal.wide { max-width: 640px; }
.cue { position: absolute; left: 50%; bottom: 22px; width: 1px; height: 40px; background: linear-gradient(var(--accent), transparent); opacity: 0.7; }

/* Arrival: text rises in after the camera settles */
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.arrive > * { animation: rise 700ms cubic-bezier(.2,.7,.2,1) both; }
.arrive > *:nth-child(1) { animation-delay: 120ms; }
.arrive > *:nth-child(2) { animation-delay: 200ms; }
.arrive > *:nth-child(3) { animation-delay: 280ms; }
.arrive > *:nth-child(4) { animation-delay: 360ms; }
.arrive > *:nth-child(5) { animation-delay: 440ms; }
html.vt .arrive > *:nth-child(1) { animation-delay: 1050ms; }
html.vt .arrive > *:nth-child(2) { animation-delay: 1130ms; }
html.vt .arrive > *:nth-child(3) { animation-delay: 1210ms; }
html.vt .arrive > *:nth-child(4) { animation-delay: 1290ms; }
html.vt .arrive > *:nth-child(5) { animation-delay: 1370ms; }

/* The camera move */
::view-transition-group(earth) { animation-duration: 1500ms; animation-timing-function: cubic-bezier(.65,0,.25,1); }
::view-transition-old(earth), ::view-transition-new(earth) { animation-duration: 1500ms; height: 100%; }
::view-transition-old(earth):only-child { animation-duration: 450ms; }
::view-transition-new(earth):only-child { animation-duration: 600ms; }
::view-transition-old(root) { animation: 320ms ease both vt-out; }
::view-transition-new(root) { animation: 420ms ease 160ms both vt-in; }
::view-transition-group(topbar) { animation-duration: 0s; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; } }

/* Arrival content */
.landing-photo { margin: 0; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); }
.landing-photo img { display: block; width: 100%; height: clamp(240px, 42vw, 520px); object-fit: cover; object-position: center 55%; }
.orgs { align-items: stretch; }
.org { display: flex; flex-direction: column; background: rgba(10,13,26,0.78); backdrop-filter: blur(6px); }
.org .desc { flex: 1; }
.org .kv { grid-template-columns: 6.5rem minmax(0, 1fr); }
.people { display: grid; grid-template-columns: 1.15fr 1fr; gap: 16px; }
.people figure { margin: 0; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); }
.people img { display: block; width: 100%; height: clamp(220px, 30vw, 420px); object-fit: cover; }
.journey .card { background-color: rgba(10,13,26,0.72); }
.journey .foot { background: transparent; }

@media (max-width: 900px) {
  .sky-img { object-position: 22% top; }
  .people { grid-template-columns: minmax(0, 1fr); }
  .journey-hero { padding-top: 120px; }
}
@media (max-width: 640px) {
  .journey-hero { padding-bottom: 64px; }
}
@media (prefers-reduced-motion: reduce) {
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation-duration: 250ms !important; animation-delay: 0s !important; }
  ::view-transition-group(earth) { animation-duration: 0s !important; }
  .arrive > * { animation: none !important; }
}

::view-transition-group(scrim) { animation-duration: 0s; }
.org .kv { flex: 1; align-items: start; }
.org .note { margin-top: -4px; }

/* v5.1: scroll arrow */
.cue { position: absolute; left: 50%; bottom: 18px; width: 44px; height: 44px; margin-left: -22px; height: auto; background: none;
  display: grid; place-items: center; color: var(--accent); opacity: 0.8; text-decoration: none; border-radius: 50%;
  animation: cue 2.4s ease-in-out infinite; }
.cue:hover, .cue:focus-visible { opacity: 1; animation-play-state: paused; }
@keyframes cue { 0%, 100% { opacity: 0.25; transform: translateY(0); } 50% { opacity: 0.9; transform: translateY(6px); } }
#zones, #venn { scroll-margin-top: 24px; }
html { scroll-behavior: smooth; }

/* v5.1: the Venn is the card set */
.vstage { position: relative; max-width: 640px; margin: 8px auto 0; transition: min-height .3s ease; }
.vstage .orbits svg { transition: opacity .4s ease, filter .4s ease; }
.vstage .orb { cursor: pointer; outline: none; }
.vstage .orb:hover .ring, .vstage .orb:focus-visible .ring { stroke-width: 2.6; }
.vstage .orb:hover .halo, .vstage .orb:focus-visible .halo { fill-opacity: 0.16; }
.vstage .orb:focus-visible .ring { stroke-dasharray: 4 4; }
.vstage.open .orbits svg { opacity: 0.28; filter: blur(1px); }

/* Without script the cards simply sit under the rings */
.vstage .orb-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.vstage .orb-close { display: none; }
@media (max-width: 900px) { .vstage .orb-cards { grid-template-columns: minmax(0, 1fr); } }

/* With script: each card lives inside its ring until opened */
.vstage.js .orb-cards { display: block; margin: 0; }
.vstage.js .org { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(440px, 92%); z-index: 3;
  box-shadow: 0 24px 60px rgba(0,0,0,0.55); background: rgba(10,13,26,0.94); }
.vstage.js .org[hidden] { display: none; }
.vstage.js .org:focus { outline: none; }
.vstage.js .orb-close { display: grid; place-items: center; position: absolute; top: 8px; right: 8px; width: 40px; height: 40px;
  border: 0; border-radius: 50%; background: rgba(0,0,0,0.18); color: inherit; font-size: 1.5rem; line-height: 1; cursor: pointer; }
.vstage.js .orb-close:hover { background: rgba(0,0,0,0.32); }
.vstage.js .orb-close:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.vstage.js .org .strip { position: relative; padding-right: 56px; }
@media (prefers-reduced-motion: reduce) { .cue { animation: none; opacity: 0.8; } html { scroll-behavior: auto; } }
.vstage.js .orb circle { pointer-events: visibleFill; }
.cue { width: 44px; height: 68px; margin-left: -22px; bottom: 14px; border-radius: 22px; }

/* v5.2: orbits with capsules; cards sit beside their orbit */
.vstage .echo { fill: none; stroke-width: 0.8; opacity: 0.45; }
.vstage .capsule .body { stroke: none; }
.vstage .capsule .trail { fill: none; stroke-width: 1.2; stroke-linecap: round; opacity: 0.55; }
.vstage .c-group .body { fill: #C9D3FF; } .vstage .c-group .trail { stroke: var(--group); }
.vstage .c-iai .body { fill: #DCCFFF; }   .vstage .c-iai .trail { stroke: var(--iai); }
.vstage .c-bosa .body { fill: #D6F4FB; }  .vstage .c-bosa .trail { stroke: var(--bosa); }
.vstage .orb, .vstage .you { transition: opacity .4s ease; }
.vstage.open .orbits svg { opacity: 1; filter: none; }
.vstage.open .orb:not(.active) { opacity: 0.22; }
.vstage.open .you { opacity: 0.35; }
.vstage.open .orb.active .ring { stroke-width: 2.4; }
.vstage.open .orb.active .halo { fill-opacity: 0.14; }
.vstage.js .org { left: 0; top: 0; transform: none; width: min(400px, 92%); }
@media (max-width: 899px) { .vstage.js .org { width: min(420px, 94%); } }
.vstage .capsule .trail { stroke-width: 1.6; opacity: 0.75; }
.vstage .capsule .glow { opacity: 0.35; }
.vstage .c-group .glow { fill: var(--group); } .vstage .c-iai .glow { fill: var(--iai); } .vstage .c-bosa .glow { fill: var(--bosa); }
.vstage .capsule { filter: drop-shadow(0 0 4px rgba(185,199,245,0.6)); }

/* v5.3: a photo inside each organization card */
.org-photo { margin: 0; position: relative; border-bottom: 1px solid var(--line); background: #070A14; }
.org-photo img { display: block; width: 100%; height: 170px; object-fit: cover; }
.org-photo.fit-contain img { object-fit: contain; padding: 12px 0; background: radial-gradient(closest-side, rgba(185,199,245,0.10), transparent); }
.org-photo figcaption { position: absolute; right: 8px; bottom: 6px; font-size: 0.68rem; color: rgba(255,255,255,0.78); background: rgba(5,7,15,0.55); padding: 2px 6px; border-radius: 4px; }
@media (max-width: 640px) { .org-photo img { height: 130px; } }

/* v5.4: You opens the community page */
.vstage .you { cursor: pointer; }
.vstage .you-hit { fill: transparent; }
.vstage .you-ring { fill: none; stroke: #fff; stroke-opacity: 0.55; stroke-width: 1.2; transform-box: fill-box; transform-origin: center; animation: youring 2.8s ease-out infinite; }
@keyframes youring { 0% { transform: scale(0.5); stroke-opacity: 0.8; } 100% { transform: scale(2.4); stroke-opacity: 0; } }
.vstage .you:hover .you-halo, .vstage .you:focus-visible .you-halo { transform: scale(1.25); }
.vstage .you:focus-visible { outline: none; }
.vstage .you:focus-visible .you-core { stroke: var(--accent); stroke-width: 3; }
.vstage .you-halo { transition: transform .3s ease; }
.vstage.open .you { opacity: 0.35; }
.you-burst { position: fixed; z-index: 50; width: 12px; height: 12px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, #fff 0%, #DDE4FF 30%, var(--accent) 55%, rgba(185,199,245,0) 72%); }
@media (prefers-reduced-motion: reduce) { .vstage .you-ring { animation: none; stroke-opacity: 0.4; } }

.shot-you .sky-img { transform: translate(60%, -60%) scale(2.2); filter: brightness(1.15) saturate(1.05); }

.hub-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.hub-head h2 { margin: 0; font-weight: 500; font-size: clamp(1.5rem, 2.6vw, 2rem); }
.hub-sub { margin: 4px 0 16px; color: var(--muted); font-family: var(--font-lead); font-style: italic; }
.more-link { color: var(--accent); font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--accent); }
.more-link:hover { color: #fff; border-bottom-color: #fff; }
.hub-eps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hub-pair .text-card p { margin-top: 6px; }
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.gallery .gm { margin: 0; position: relative; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); }
.gallery .gm.wide { grid-column: span 2; }
.gallery img { display: block; width: 100%; height: 220px; object-fit: cover; }
.gallery figcaption { position: absolute; left: 8px; bottom: 6px; font-size: 0.7rem; color: rgba(255,255,255,0.85); background: rgba(5,7,15,0.6); padding: 2px 6px; border-radius: 4px; }
@media (max-width: 900px) { .hub-eps { grid-template-columns: repeat(2, minmax(0, 1fr)); } .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .hub-eps { grid-template-columns: minmax(0, 1fr); } .gallery { grid-template-columns: minmax(0, 1fr); } .gallery .gm.wide { grid-column: auto; } }
.closer.end { justify-content: flex-end; }

/* v5.5: You page shows and media types */
.shows { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 16px; }
.show { display: flex; flex-direction: column; justify-content: space-between; gap: 18px; min-height: 120px; padding: 20px 22px;
  border-radius: 14px; border: 1px solid var(--line); background: rgba(10,13,26,0.72); text-decoration: none; color: var(--ink);
  transition: border-color .2s, background .2s, transform .2s; }
.show:hover, .show:focus-visible { border-color: var(--accent); background: rgba(185,199,245,0.08); transform: translateY(-2px); }
.show-name { font-weight: 500; font-size: 1.25rem; line-height: 1.25; }
.show-meta { font-size: 0.82rem; color: var(--muted); letter-spacing: 0.02em; }
.media-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 16px; }
.media-tabs button { font: inherit; font-weight: 600; font-size: 0.92rem; padding: 9px 18px; min-height: 42px; border-radius: 999px; cursor: pointer;
  color: var(--soft); background: transparent; border: 1.5px solid var(--line); }
.media-tabs button:hover { border-color: rgba(255,255,255,0.5); color: #fff; }
.media-tabs button[aria-selected="true"] { background: var(--accent); border-color: var(--accent); color: #0B0E1F; }
.media-tabs button:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.media-panel .gallery { margin-top: 0; }
.media-panel .text-card h3 { margin: 0 0 8px; font-weight: 500; font-size: 1.15rem; }
@media (max-width: 760px) { .shows { grid-template-columns: minmax(0, 1fr); } .show { min-height: 0; } }

/* v6: the mirror. The You page is a reflecting pool: the scene meets its reflection at a waterline. */
:root { --water: 58%; }
.sky.mirror .reflect { position: absolute; inset: 0; transform-origin: 50% var(--water); transform: scaleY(-1);
  clip-path: inset(0 0 calc(100% - var(--water)) 0); filter: url(#ripple) brightness(0.5) saturate(0.9) blur(0.6px);
  animation: pool-in 1.4s ease 0.2s both; }
html.vt .sky.mirror .reflect { animation-delay: 1.3s; }
.sky.mirror .reflect-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; transform-origin: 50% 50%; }
.shot-you .reflect-img { transform: translate(60%, -60%) scale(2.2); }
.sky.mirror .waterline { position: absolute; left: 0; right: 0; top: var(--water); height: 1px; z-index: 1;
  background: linear-gradient(90deg, transparent, rgba(220,228,255,0.75) 30%, rgba(255,255,255,0.95) 50%, rgba(220,228,255,0.75) 70%, transparent);
  box-shadow: 0 0 18px 2px rgba(185,199,245,0.45); animation: line-in 1.2s ease 0.1s both; transform-origin: center; }
html.vt .sky.mirror .waterline { animation-delay: 1.15s; }
.ripple-defs { position: absolute; }
@keyframes pool-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes line-in { from { opacity: 0; transform: scaleX(0.1); } to { opacity: 1; transform: scaleX(1); } }
/* the scrim on the You page should not muddy the pool */
.shot-you .sky-scrim { background: linear-gradient(180deg, rgba(5,7,15,0.25) 0%, rgba(5,7,15,0) 30%, rgba(5,7,15,0) 70%, rgba(5,7,15,0.6) 100%); }

.mirror-hero { position: relative; height: 100vh; height: 100svh; min-height: 560px; }
.mirror-copy { position: absolute; left: 0; right: 0; bottom: calc(100% - var(--water) + 18px); }
.mirror-copy .arrive { max-width: 760px; }
.mirror-copy h1 { margin: 0; }
.mirror-echo { position: absolute; left: 0; right: 0; top: calc(var(--water) + 18px); pointer-events: none; }
.echo-h { margin: 0; max-width: 760px; font-weight: 500; font-size: clamp(2.1rem, 4.6vw, 3.6rem); line-height: 1.06; letter-spacing: -0.01em; text-wrap: balance;
  color: var(--ink); transform: scaleY(-1); transform-origin: 50% 0; opacity: 0.2; filter: blur(0.8px) url(#ripple);
  -webkit-mask-image: linear-gradient(0deg, rgba(0,0,0,0.9), transparent 85%); mask-image: linear-gradient(0deg, rgba(0,0,0,0.9), transparent 85%);
  animation: pool-in 1.4s ease 0.6s both; }
html.vt .echo-h { animation-delay: 1.6s; }
.echo-h .hl { color: var(--accent); }

/* the mirror that answers back */
.mirror-ask h2 { margin: 0; font-weight: 500; font-size: clamp(1.6rem, 3vw, 2.3rem); text-wrap: balance; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 8px; }
.chip { font: inherit; font-weight: 500; font-size: 0.98rem; padding: 10px 20px; min-height: 46px; border-radius: 999px; cursor: pointer;
  color: var(--ink); background: rgba(10,13,26,0.6); border: 1.5px solid rgba(255,255,255,0.28); transition: background .2s, border-color .2s, color .2s; }
.chip:hover { border-color: rgba(255,255,255,0.6); }
.chip[aria-checked="true"] { background: var(--accent); border-color: var(--accent); color: #0B0E1F; }
.chip:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.mreflect { margin-top: 14px; }
.mpanel { padding: 22px 24px; border-radius: 14px; border: 1px solid var(--line); background: rgba(10,13,26,0.78);
  box-shadow: 0 -1px 0 rgba(220,228,255,0.35) inset; }
.mpanel.in { animation: reflect-in 520ms cubic-bezier(.2,.8,.2,1) both; }
@keyframes reflect-in { from { opacity: 0; transform: translateY(10px) scaleY(0.96); } to { opacity: 1; transform: none; } }
.mfor { margin: 0; font-size: 0.75rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.mline { margin: 8px 0 0; font-family: var(--font-lead); font-style: italic; font-size: 1.2rem; color: var(--soft); max-width: 60ch; }
.mlinks { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; margin-top: 16px; }
.mlink { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; border-radius: 10px; border: 1px solid var(--line); text-decoration: none; color: var(--ink); background: rgba(255,255,255,0.03); }
.mlink:hover, .mlink:focus-visible { border-color: var(--accent); background: rgba(185,199,245,0.08); }
.mlink-meta { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.mlink-name { font-weight: 500; }
@media (max-width: 900px) { :root { --water: 56%; } .sky.mirror .reflect-img { object-position: 22% top; } }
@media (prefers-reduced-motion: reduce) {
  .sky.mirror .reflect, .echo-h { filter: brightness(0.5) blur(0.6px); animation: none; }
  .echo-h { filter: blur(0.8px); }
  .sky.mirror .waterline { animation: none; }
  .mpanel.in { animation: none; }
}
/* v6.1 fixes: sun sits on the waterline at left, words sit to the right; reflection flips downward */
.shot-you .sky-img, .shot-you .reflect-img { transform: translate(60%, -58%) scale(2.2); }
.sky.mirror .reflect { inset: -40px 0; transform-origin: 50% calc(var(--water) + 40px); clip-path: inset(0 0 calc(100% - var(--water) - 40px) 0); }
.mirror-copy .arrive, .mirror-echo .echo-h { margin-left: auto; max-width: 620px; }
.echo-h { transform-origin: 50% 50%; }
@media (max-width: 900px) {
  .mirror-copy .arrive, .mirror-echo .echo-h { margin-left: 0; }
}
/* v6.2: sun on the waterline; reflection mirrors exactly at the line */
.shot-you .sky-img, .shot-you .reflect-img { transform: translate(60%, -45%) scale(2.2); }
.sky.mirror .reflect { inset: 0; transform-origin: 50% var(--water); clip-path: inset(0 0 calc(100% - var(--water)) 0); }
.echo-h { opacity: 0.14; }
.mirror-copy h1 { text-shadow: 0 2px 24px rgba(5,7,15,0.55); }
.echo-h { opacity: 0.1; }
.sky.mirror .reflect { filter: url(#ripple) brightness(0.5) saturate(0.9) blur(1.4px); }
@media (max-width: 900px) {
  .shot-you .sky-scrim { background: linear-gradient(180deg, rgba(5,7,15,0.45) 0%, rgba(5,7,15,0.55) 35%, rgba(5,7,15,0.35) 56%, rgba(5,7,15,0.1) 70%, rgba(5,7,15,0.6) 100%); }
  .mirror-copy h1 { text-shadow: 0 2px 18px rgba(5,7,15,0.9); }
}
@media (prefers-reduced-motion: reduce) { .sky.mirror .reflect { filter: brightness(0.5) blur(1.4px); } }

/* v6.3: transition layering. Everything that dresses the earth travels with it, above the page,
   so nothing flashes when you leave a page you have scrolled. */
.sky-dim { view-transition-name: dim; }
.sky.mirror .reflect { view-transition-name: pool; }
.sky.mirror .waterline { view-transition-name: waterline; }
.you-burst { view-transition-name: burst; }
::view-transition-group(earth) { z-index: 1; }
::view-transition-group(pool) { z-index: 2; }
::view-transition-group(waterline) { z-index: 3; }
::view-transition-group(scrim) { z-index: 4; }
::view-transition-group(dim) { z-index: 5; animation-duration: 0s; }
::view-transition-group(topbar) { z-index: 6; }
::view-transition-group(burst) { z-index: 7; animation-duration: 0s; }
::view-transition-old(dim), ::view-transition-new(dim) { animation-duration: 700ms; animation-timing-function: ease-out; }
::view-transition-old(burst) { animation: 700ms ease-out both vt-out; }
::view-transition-old(pool), ::view-transition-old(waterline) { animation: 500ms ease both vt-out; }
::view-transition-new(pool), ::view-transition-new(waterline) { animation: none; }
html.vt .sky.mirror .reflect { animation-delay: 1.5s; }
html.vt .sky.mirror .waterline { animation-delay: 1.35s; }
/* leaving the earth for a plain page (or arriving from one): earth and its scrim fade together */
::view-transition-old(earth):only-child, ::view-transition-old(scrim):only-child, ::view-transition-old(dim):only-child { animation: 320ms ease both vt-out; }
::view-transition-new(earth):only-child, ::view-transition-new(scrim):only-child { animation: 600ms ease both vt-in; }
/* journey page to journey page: the camera pulls back to orbit, then flies in to the new place; text waits for it */
html.vt-cross .arrive > *:nth-child(1) { animation-delay: 1950ms; }
html.vt-cross .arrive > *:nth-child(2) { animation-delay: 2030ms; }
html.vt-cross .arrive > *:nth-child(3) { animation-delay: 2110ms; }
html.vt-cross .arrive > *:nth-child(4) { animation-delay: 2190ms; }
html.vt-cross .sky.mirror .reflect { animation-delay: 2.3s; }
html.vt-cross .sky.mirror .waterline { animation-delay: 2.15s; }
html.vt-cross .echo-h { animation-delay: 2.5s; }

/* v6.4: the button's words fly to become the next page's title */
.btn .bl { display: inline-block; }
.arrive > .morph-in { animation: none; }
::view-transition-group(morph) { z-index: 8; animation-duration: 1500ms; animation-timing-function: cubic-bezier(.65,0,.25,1); }
::view-transition-image-pair(morph) { isolation: auto; }
::view-transition-old(morph), ::view-transition-new(morph) { height: 100%; width: 100%; object-fit: fill; mix-blend-mode: normal; animation-duration: 1500ms; }
::view-transition-old(morph) { animation-name: morph-out; }
::view-transition-new(morph) { animation-name: morph-in; }
@keyframes morph-out { 0% { opacity: 1; } 55% { opacity: 0; } 100% { opacity: 0; } }
@keyframes morph-in { 0% { opacity: 0; } 45% { opacity: 0; } 100% { opacity: 1; } }
/* steadier crossfade: the words never dim mid-flight */
::view-transition-image-pair(morph) { isolation: isolate; }
::view-transition-old(morph), ::view-transition-new(morph) { mix-blend-mode: plus-lighter; }
@keyframes morph-out { 0%, 30% { opacity: 1; } 70%, 100% { opacity: 0; } }
@keyframes morph-in { 0%, 30% { opacity: 0; } 70%, 100% { opacity: 1; } }

/* v6.5: words travel as live text (replaces the bitmap morph) */
.word-flight { position: fixed; inset: 0; z-index: 60; pointer-events: none; view-transition-name: wordflight; }
.word-flight .fly { position: absolute; transform-origin: 0 0; white-space: nowrap; color: var(--ink); will-change: transform; }
.word-flight .fly.hl { color: var(--accent); }
h1.morph-in { opacity: 0; }
h1.morph-in.morph-done { opacity: 1; }
.arrive > h1.morph-in { animation: none; }
::view-transition-group(wordflight) { z-index: 9; animation: none; }
::view-transition-new(wordflight) { animation: none; }

/* v6.6: the landing page fades in gently on every fresh load (first visit, refresh, or the logo).
   Arriving from another page keeps the camera move instead. */
@keyframes intro-sky { from { opacity: 0; } to { opacity: 1; } }
@keyframes intro-soft { from { opacity: 0; } to { opacity: 1; } }
@keyframes intro-rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
html.intro .home .sky { animation: intro-sky 1800ms ease-out both; }
html.intro .home .top, html.intro .home .foot { animation: intro-soft 900ms ease-out 500ms both; }
html.intro .home .arrive > * { animation: intro-rise 900ms cubic-bezier(.2,.7,.2,1) both; }
html.intro .home .arrive > *:nth-child(1) { animation-delay: 900ms; }
html.intro .home .arrive > *:nth-child(2) { animation-delay: 1050ms; }
html.intro .home .arrive > *:nth-child(3) { animation-delay: 1200ms; }
html.intro .home .arrive > *:nth-child(4) { animation-delay: 1350ms; }
html.intro .home .arrive > *:nth-child(5) { animation-delay: 1500ms; }
@media (prefers-reduced-motion: reduce) {
  html.intro .home .sky { animation-duration: 600ms; }
  html.intro .home .arrive > *, html.intro .home .top, html.intro .home .foot { animation: intro-soft 500ms ease-out both; }
}

/* v6.7: stacked nav labels */
.top .nav a { display: inline-flex; align-items: flex-end; gap: 4px; line-height: 1.15; padding-block: 4px; }
.top .nav .stack { display: inline-flex; flex-direction: column; }
.top .nav .nl { display: block; white-space: nowrap; }
.top .nav .ext { line-height: 1; margin-bottom: 2px; }
.top .nav .sep { align-self: stretch; }
/* v6.8: keep the landing page to one screen on shorter windows */
@media (max-height: 820px) and (min-width: 641px) {
  .home .earth-in.solo { padding-bottom: 24px; }
  .home .lede { margin-bottom: 12px; }
  .home .found { margin-bottom: 18px; }
  .home h1 { font-size: clamp(2rem, 5.6vh, 3.4rem); }
}
@media (max-width: 640px) and (max-height: 720px) {
  .home h1 { font-size: 1.85rem; margin-bottom: 10px; }
  .home .lede { font-size: 0.95rem; line-height: 1.5; margin-bottom: 10px; }
  .home .found { font-size: 0.82rem; line-height: 1.5; margin-bottom: 14px; }
  .home .eyebrow { margin-bottom: 8px; }
  .home .earth-in { padding-top: 18vw; }
  .home .btn { padding: 10px 16px; min-height: 44px; }
}

/* ===== v7: the mirror on the water. The dot becomes the sun; the waterline runs through it; you see your word. ===== */
:root { --sunx: 39%; }
.mirror-hero { position: relative; height: 100vh; height: 100svh; min-height: 600px; }
.sun-core { position: absolute; left: var(--sunx); top: var(--water); width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%;
  background: #fff; box-shadow: 0 0 14px 6px rgba(255,255,255,0.75), 0 0 46px 16px rgba(185,199,245,0.45); z-index: 2; pointer-events: none; }
.sun-core::after { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.6); animation: youring 3.2s ease-out infinite; }
html.sun-flight .sun-core { opacity: 0; }
html.sun-flight.sun-landed .sun-core { opacity: 1; transition: opacity .2s; }
.fly-dot { position: absolute; width: 12px; height: 12px; border-radius: 50%; background: #fff;
  box-shadow: 0 0 14px 6px rgba(255,255,255,0.8), 0 0 46px 16px rgba(185,199,245,0.5); }

/* the waterline grows outward from the sun */
.sky.mirror .waterline { transform-origin: var(--sunx) 50%; }
html.vt-cross .sky.mirror .waterline { animation-delay: 2.25s; }
html.vt-cross .sky.mirror .reflect { animation-delay: 2.45s; }

.mirror-above { position: absolute; left: 0; right: 0; bottom: calc(100% - var(--water)); }
.mirror-below { position: absolute; left: 0; right: 0; top: var(--water); }
.mirror-col { margin-left: auto; max-width: 600px; }
.mirror-above h1 { margin: 0 0 6px; font-size: clamp(1.5rem, 2.7vw, 2.3rem); font-weight: 500; }
.mdef { margin: 0; font-family: var(--font-lead); font-style: italic; font-size: 1.02rem; line-height: 1.5; color: var(--soft); max-width: 48ch; }
.mword { margin: 14px 0 0; font-weight: 500; font-size: clamp(3.2rem, 8vw, 6.4rem); line-height: 0.9; letter-spacing: -0.025em; color: #fff;
  text-shadow: 0 0 28px rgba(185,199,245,0.35); padding-bottom: 6px; }
.mirror-hero.long .mword { font-size: clamp(2.2rem, 5vw, 4.2rem); }
.mword.echo { margin: 0; padding: 6px 0 0; transform: scaleY(-1); opacity: 0.34; color: #DDE4FF; text-shadow: none;
  filter: url(#ripple) blur(0.6px);
  -webkit-mask-image: linear-gradient(to top, #000 15%, transparent 95%); mask-image: linear-gradient(to top, #000 15%, transparent 95%); }
.mirror-below .chips { margin: 18px 0 0; }
.mirror-below .chip { background: rgba(10,13,26,0.55); backdrop-filter: blur(4px); }
html.vt .mirror-below, html.vt .mword { animation: intro-soft 900ms ease-out 1.6s both; }
html.vt-cross .mirror-below, html.vt-cross .mword { animation-delay: 2.5s; }
@media (max-width: 900px) {
  .mirror-col { margin-left: 0; max-width: none; }
  .mword { font-size: clamp(2.6rem, 13vw, 4rem); }
  .mirror-hero.long .mword { font-size: clamp(1.8rem, 8vw, 2.6rem); }
  .mirror-above h1 { font-size: 1.35rem; }
  .mdef { font-size: 0.92rem; }
  .mirror-below .chip { padding: 8px 14px; min-height: 40px; font-size: 0.9rem; }
  .sun-core { display: none; }
}
@media (prefers-reduced-motion: reduce) { .sun-core::after { animation: none; } .mword.echo { filter: blur(0.6px); } }
.mirror-below .chip[aria-checked="true"] { background: var(--accent); border-color: var(--accent); color: #0B0E1F; }
.mirror-hero.long .mword { font-size: clamp(2rem, 4.2vw, 3.6rem); white-space: nowrap; }
@media (max-width: 900px) { .mirror-hero.long .mword { font-size: clamp(1.5rem, 7.2vw, 2.4rem); } }
.mirror-hero.long .mword { font-size: clamp(1.9rem, 3.3vw, 3rem); }
@media (max-width: 900px) { .mirror-hero.long .mword { font-size: clamp(1.4rem, 6.6vw, 2.3rem); } }
.mintro { margin: 0 0 22px; max-width: 64ch; font-family: var(--font-lead); font-style: italic; font-size: clamp(1.1rem, 1.6vw, 1.35rem); line-height: 1.6; color: var(--soft); }
.mdef { max-width: 52ch; }
/* v7.1: the waterline position in pixels, shared by the fixed sky and the hero text */
.sky.mirror .waterline { top: var(--waterpx, 58vh); }
.sky.mirror .reflect { transform-origin: 50% var(--waterpx, 58vh); clip-path: inset(0 0 calc(100% - var(--waterpx, 58vh)) 0); }
.sun-core { top: var(--waterpx, 58vh); }
.mirror-above { bottom: auto; top: 0; height: var(--waterpx, 58vh); display: flex; align-items: flex-end; }
.mirror-above > .mirror-col { width: 100%; }
.mirror-below { top: var(--waterpx, 58vh); }
@media (max-height: 820px) and (min-width: 901px) {
  .mword { font-size: clamp(2.8rem, 8.5vh, 6rem); margin-top: 8px; }
  .mirror-below .chips { margin-top: 12px; }
  .mirror-below .chip { padding: 8px 16px; min-height: 40px; }
}
@media (min-width: 901px) { .mirror-above > .mirror-col { margin-left: auto; max-width: 600px; } }
.sun-core { top: var(--sunypx, var(--waterpx, 58vh)); }

/* v7.2: the word on the waterline never reflows. One fixed line; long words scale down to fit; old and new crossfade in place. */
.mword, .mirror-hero.long .mword { position: relative; height: 1.04em; line-height: 1; white-space: nowrap; font-size: clamp(3.2rem, 8vw, 6.4rem); }
@media (max-height: 820px) and (min-width: 901px) { .mword, .mirror-hero.long .mword { font-size: clamp(2.8rem, 8.5vh, 6rem); } }
@media (max-width: 900px) { .mword, .mirror-hero.long .mword { font-size: clamp(2.6rem, 13vw, 4rem); } }
.mword .mw-text { position: absolute; left: 0; bottom: 0.06em; transform-origin: 0 100%; white-space: nowrap; }
.mword.echo { padding: 0; }
.formal .diff { display: block; margin-bottom: 8px; font-style: normal; font-family: var(--font-body); font-weight: 500; color: var(--ink); }

/* v8: the You page is centered on the sun. The camera puts the sun mid-screen on the waterline; the word sits on it. */
.mirror-col, .mirror-above > .mirror-col, .mirror-below > .mirror-col { margin-left: auto; margin-right: auto; max-width: 720px; text-align: center; }
@media (min-width: 901px) { .mirror-above > .mirror-col { margin-left: auto; margin-right: auto; max-width: 720px; } }
.mdef { margin-left: auto; margin-right: auto; }
.mirror-below .chips { justify-content: center; }
.mword .mw-text { left: 50%; transform-origin: 50% 100%; }
.sun-core { display: block; }
/* lift the words off the sun's glare a little */
.mirror-above h1, .mdef { text-shadow: 0 1px 18px rgba(5,7,15,0.85), 0 0 2px rgba(5,7,15,0.6); }
.shot-you .sky-scrim { background: radial-gradient(60% 45% at 50% 30%, rgba(5,7,15,0.55), rgba(5,7,15,0) 70%), linear-gradient(180deg, rgba(5,7,15,0.35) 0%, rgba(5,7,15,0) 30%, rgba(5,7,15,0) 70%, rgba(5,7,15,0.6) 100%); }

/* v8.1: spacecraft on each orbit. Bolden Group flies a data center, the Institute a space station, the Association a broadband train. */
.vstage .craft .wing { fill: rgba(120,150,235,0.55); stroke: rgba(205,215,250,0.85); stroke-width: .6; }
.vstage .craft .strut { stroke: rgba(225,232,255,0.85); stroke-width: 1.1; stroke-linecap: round; }
.vstage .craft .rack { stroke: rgba(11,14,31,0.45); stroke-width: .8; }
.vstage .craft .rad { fill: rgba(240,244,255,0.9); }
.vstage .craft .led { fill: #fff; }
.vstage .c-bosa.craft .glow { opacity: 0.25; }

/* v8.2: each organization's mark sits on its photo, like a watermark. */
.org-photo { position: relative; }
.org-photo .org-mark { position: absolute; left: 12px; bottom: 12px; width: auto; height: 34%; max-height: 64px; max-width: 46%;
  object-fit: contain; opacity: .82; pointer-events: none; filter: drop-shadow(0 1px 8px rgba(5,7,15,0.7)); }
.org-photo figcaption ~ .org-mark, .org-photo .org-mark { z-index: 1; }
.org-photo .mark-group, .org-photo .mark-iai, .org-photo .mark-bosa { height: 40%; max-height: 74px; }
.org-photo .org-mark { filter: brightness(0) invert(1) drop-shadow(0 1px 6px rgba(5,7,15,0.8)); opacity: .78; }
.vstage .craft .trail { stroke-width: .8; }

/* You page: readable definition over the sun glare, and the three everyday examples. */
.mirror-above .mdef { display: inline-block; font-weight: 400; color: rgba(244,246,255,0.96); background: rgba(5,7,15,0.5); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); padding: 10px 18px; border-radius: 14px; text-shadow: 0 1px 6px rgba(5,7,15,0.7); }
.mintro-block { margin: 0 0 28px; }
.mexamples { margin: 6px 0 18px; }
.mexamples .card p { margin: 10px 0 0; line-height: 1.55; color: var(--soft); }
.mclose { margin: 0; font-size: clamp(1.15rem, 1.8vw, 1.45rem); color: #fff; }

/* You page: the sky scrolls with the page, so the sun stays under "You". */
.shot-you .sky.mirror { position: absolute; top: 0; left: 0; right: 0; bottom: auto; height: 100vh; }

/* You page: into the sun. The page lives in white light; dark text; the mirror reflects your type. */
.whiteout { position: fixed; inset: 0; z-index: -1; background: #FCFCFE; opacity: 0; pointer-events: none; view-transition-name: whiteout; }
.bloom { position: fixed; z-index: -1; left: 50%; top: 50%; width: 70vmax; height: 70vmax; border-radius: 50%; opacity: 0; pointer-events: none;
  background: radial-gradient(circle, #fff 0%, #fff 22%, rgba(255,255,255,0.85) 40%, rgba(235,240,255,0.35) 62%, rgba(235,240,255,0) 72%); transform: translate(-50%,-50%); }
html.whited .whiteout { opacity: 1; }
::view-transition-group(whiteout) { z-index: 5; animation-duration: 0s; }
::view-transition-old(whiteout) { animation: 900ms cubic-bezier(.4,0,.2,1) both vt-out; }
::view-transition-new(whiteout) { animation: none; }
html.you-pre .mirror-above, html.you-pre .mirror-below, html.you-pre .mirror-hero .cue { opacity: 0 !important; }
html.you-pre .sun-core { opacity: 0 !important; }
.mirror-above, .mirror-below, .mirror-hero .cue { transition: opacity 900ms ease-out; }
html.whited { color-scheme: light; --bg: #FCFCFE; --bg-2: #F1F3F9; --ink: #0B0F1E; --soft: #2C3352; --muted: #586080;
  --line: rgba(11,15,30,0.14); --card: rgba(11,15,30,0.03); --card-2: rgba(11,15,30,0.06); --accent: #24307A; --on-accent: #fff; }
html.whited body { background: var(--bg); }
html.whited .sun-core, html.whited .sky.mirror .waterline { visibility: hidden; }
html.whited .nav a, html.whited .top .nav a { color: var(--soft); text-shadow: none; }
html.whited .nav a:hover { color: var(--ink); }
html.whited .nav .sep { background: var(--line); }
html.whited .mirror-above h1, html.whited .mdef { text-shadow: none; }
html.whited .mirror-above .mdef { background: none; -webkit-backdrop-filter: none; backdrop-filter: none; color: var(--soft); padding: 0; }
html.whited .mword { color: var(--ink); text-shadow: none; }
html.whited .mword.echo { color: rgba(11,15,30,0.16); opacity: 1; filter: blur(0.5px);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, rgba(0,0,0,0.35) 70%, transparent 100%); mask-image: linear-gradient(to bottom, #000 0%, rgba(0,0,0,0.35) 70%, transparent 100%); }
html.whited .mirror-hero::after { content: ""; position: absolute; left: 10%; right: 10%; top: var(--waterpx, 58vh); height: 1px; pointer-events: none;
  background: linear-gradient(90deg, rgba(11,15,30,0), rgba(11,15,30,0.22) 30%, rgba(11,15,30,0.22) 70%, rgba(11,15,30,0)); }
html.whited .chip { background: #fff; color: var(--ink); border-color: rgba(11,15,30,0.2); }
html.whited .chip:hover { border-color: rgba(11,15,30,0.5); }
html.whited .mirror-below .chip[aria-checked="true"], html.whited .chip[aria-checked="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
html.whited .btn:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
html.whited .btn.ghost { background: transparent; color: var(--ink); border-color: rgba(11,15,30,0.35); }
html.whited .btn.ghost:hover { background: rgba(11,15,30,0.05); }
html.whited .mclose { color: var(--ink); }
html.whited .cue { color: var(--muted); }
html.you-pre .sky.mirror .reflect { opacity: 0 !important; animation: none !important; }
html.whited .journey .card, html.whited .card, html.whited .mpanel, html.whited .show { background: #fff; border-color: var(--line); box-shadow: 0 1px 2px rgba(11,15,30,0.05); }
html.whited .mlink { background: var(--bg-2); border-color: var(--line); }
html.whited .show:hover, html.whited .show:focus-visible, html.whited .mlink:hover, html.whited .mlink:focus-visible { background: #F4F6FC; border-color: var(--accent); }
html.whited .media-tabs button[aria-selected="true"] { color: #fff; }

/* Warp: thin light streaks radiating from the sun, stretched by the push. */
.shot-you .sky-img { will-change: transform; }
.warp { position: fixed; z-index: -1; left: 50%; top: 50%; width: 170vmax; height: 170vmax; opacity: 0; pointer-events: none; will-change: transform, opacity;
  background:
    repeating-conic-gradient(from 3deg, rgba(255,255,255,0) 0deg 2.1deg, rgba(235,242,255,0.75) 2.3deg, rgba(255,255,255,0) 2.6deg 5.3deg),
    repeating-conic-gradient(from 0deg, rgba(255,255,255,0) 0deg 3.4deg, rgba(200,214,255,0.5) 3.6deg, rgba(255,255,255,0) 4deg 7.1deg);
  -webkit-mask-image: radial-gradient(circle, transparent 0%, transparent 5%, #000 18%, rgba(0,0,0,0.6) 40%, transparent 62%);
  mask-image: radial-gradient(circle, transparent 0%, transparent 5%, #000 18%, rgba(0,0,0,0.6) 40%, transparent 62%);
  transform: translate(-50%,-50%); }
.bloom { will-change: transform, opacity; }
html.you-pre .mirror-above, html.you-pre .mirror-below { transition: none; }

/* Leaving the You page: no camera pull through grey. The white collapses into the sun and the orbit view is already there. */
html.leaving .sky.mirror .sky-img { view-transition-name: none; }
@property --wr { syntax: '<percentage>'; inherits: false; initial-value: 150%; }
@keyframes whiteout-close { from { --wr: 150%; } to { --wr: 0%; } }
::view-transition-old(whiteout) { animation: whiteout-close 1000ms cubic-bezier(.55,0,.25,1) both;
  -webkit-mask-image: radial-gradient(circle at 50% 56%, #000 calc(var(--wr) - 14%), transparent var(--wr));
  mask-image: radial-gradient(circle at 50% 56%, #000 calc(var(--wr) - 14%), transparent var(--wr)); }
html.from-you::view-transition-new(earth), html.from-you::view-transition-new(earth):only-child,
html.from-you::view-transition-new(scrim), html.from-you::view-transition-new(scrim):only-child { animation: none; }
html.from-you::view-transition-old(scrim), html.from-you::view-transition-old(dim), html.from-you::view-transition-old(pool), html.from-you::view-transition-old(waterline) { animation: 1ms both vt-out; }
html.you-pre .sky.mirror .waterline { visibility: hidden; }

html.whited #mirror .hub-head { align-items: center; padding-top: 8px; border-top: 1px solid var(--line); }

/* Arrival into the sun runs as one transition: the whiteout and topbar are animated by script, the mirror layers sit out. */
::view-transition-new(whiteout) { animation: 2800ms linear both whiteout-burst;
  -webkit-mask-image: radial-gradient(circle at 50% var(--sunyp, 56%), #000 calc(var(--wr) - 22%), transparent var(--wr));
  mask-image: radial-gradient(circle at 50% var(--sunyp, 56%), #000 calc(var(--wr) - 22%), transparent var(--wr)); }
html.whited .sky.mirror .reflect, html.whited .sky.mirror .waterline { view-transition-name: none; }
html.you-pre .mirror-hero .cue { opacity: 0 !important; }

/* Waking into the dream. */
@property --wake { syntax: '<percentage>'; inherits: false; initial-value: 130%; }
.wake-veil { position: fixed; inset: 0; z-index: 40; pointer-events: none; --wake: -40%;
  background: #FCFCFE; }
html:not(.whited) .wake-veil { display: none; }
/* The older entrance animations stand down on the white page so nothing fights the wake. */
html.whited .mirror-hero .arrive > *, html.whited .mirror-hero .mword, html.whited .mirror-below, html.whited .mirror-hero .cue { animation: none !important; }
html.whited .mirror-above, html.whited .mirror-below, html.whited .mirror-hero .cue { transition: none; }
@keyframes whiteout-burst { 0% { --wr: 0%; } 64% { --wr: 0%; animation-timing-function: cubic-bezier(.55,0,.15,1); } 100% { --wr: 175%; } }
html.whited .sky.mirror .sky-scrim, html.whited .sky.mirror .sky-dim { view-transition-name: none; }

/* You page as a single screen: the front door. */
.mdesc { position: relative; min-height: 3.2em; margin: 14px auto 0; max-width: 46ch; font-family: var(--font-lead); font-style: italic; font-weight: 400; font-size: clamp(1rem, 1.5vw, 1.18rem); line-height: 1.5; color: var(--soft); }
.mdesc .md-text { position: absolute; left: 0; right: 0; top: 0; }
.you-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; padding: 14px 0 18px; }
.you-bar-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.you-bar .copy { margin: 0; font-size: 0.82rem; color: var(--muted); }
.you-bar .copy a { color: inherit; }
.you-bar .links { display: flex; gap: 10px; }
.you-bar .btn { min-height: 40px; padding: 8px 18px; font-size: 0.9rem; }
html.whited .you-bar { background: linear-gradient(to top, rgba(252,252,254,0.96), rgba(252,252,254,0)); }
html.you-pre .you-bar { opacity: 0; }
@media (max-width: 640px) { .you-bar .copy { order: 2; width: 100%; text-align: center; } .you-bar .links { width: 100%; justify-content: center; } }
body.shot-you .page, body.shot-you main { padding-bottom: 0; margin-bottom: 0; }
body.shot-you .mirror-hero { margin-bottom: 0; }

/* Snap out of the You page. */
@keyframes tv-off { 0% { transform: scale(1, 1); filter: brightness(1); opacity: 1; } 42% { transform: scale(1, 0.005); filter: brightness(5); opacity: 1; } 72% { transform: scale(0.004, 0.005); filter: brightness(6); opacity: 1; } 100% { transform: scale(0, 0); filter: brightness(6); opacity: 0; } }
html.tv-off { background: #000; }
html.tv-off body { background: #FCFCFE; transform-origin: 50% 50%; animation: tv-off 380ms cubic-bezier(.55,0,.85,.35) both; }
/* Coming back on: nothing from the old screen survives, and the new view starts whole. */
html.from-you::view-transition-old(*) { animation: none; opacity: 0; }
html.from-you::view-transition-new(*) { animation: none; }
html.from-you::view-transition-new(root) { animation: 950ms linear both tv-hold; }
@keyframes tv-hold { from { opacity: 1; } to { opacity: 1; } }
html.from-you::view-transition { background: #000; }
html.from-you .arrive > *:nth-child(1) { animation-delay: 620ms; }
html.from-you .arrive > *:nth-child(2) { animation-delay: 680ms; }
html.from-you .arrive > *:nth-child(3) { animation-delay: 740ms; }
html.from-you .arrive > *:nth-child(4) { animation-delay: 800ms; }
html.from-you .arrive > *:nth-child(5) { animation-delay: 860ms; }

/* Story page: three doorways over the Discovery dinner. */
.lands-stage { position: relative; margin: 48px 0; padding: clamp(56px, 9vw, 120px) 0; overflow: hidden; }
.lands-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 45%; z-index: 0; }
.lands-stage::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(5,7,15,0.88) 0%, rgba(5,7,15,0.45) 30%, rgba(5,7,15,0.5) 70%, rgba(5,7,15,0.92) 100%); }
.lands-in { position: relative; z-index: 2; }
.lands .land { display: flex; flex-direction: column; text-decoration: none; color: inherit; background: rgba(8,11,24,0.62); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-color: rgba(205,211,232,0.22); transition: transform .3s ease, border-color .3s ease, background .3s ease; }
.lands .land:hover, .lands .land:focus-visible { transform: translateY(-4px); border-color: var(--accent); background: rgba(12,16,34,0.78); }
.lands .big { margin-bottom: 22px; }
.lands .eg { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); }
.eg-k { display: block; font-family: var(--font-label); font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.eg-h { margin: 8px 0 14px; font-family: var(--font-lead); font-style: italic; font-size: 1.12rem; line-height: 1.4; color: var(--ink); }
.door-go { font-size: 0.9rem; font-weight: 500; color: var(--accent); }
.lands-close { margin: 28px 0 0; font-family: var(--font-lead); font-style: italic; font-size: clamp(1.2rem, 2vw, 1.5rem); color: var(--ink); text-shadow: 0 1px 14px rgba(5,7,15,0.8); }
.land-page .eg-k { margin-top: 18px; }
.land-body { max-width: 56ch; margin: 10px 0 0; font-size: 1.05rem; line-height: 1.65; color: var(--soft); }

/* Story page: the mission as the reason for the ecosystem, one beat. */
.beat-card { padding: clamp(28px, 4vw, 48px); }
.beat-card h2 { margin: 6px 0 14px; font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.25; max-width: 30ch; }
.beat-text { max-width: 62ch; margin: 0 0 26px; font-size: 1.05rem; line-height: 1.65; color: var(--soft); }
.beat-card .triad { margin-top: 0; padding-top: 22px; border-top: 1px solid var(--line); }

/* Story page: one turn, from where value lands to who carries it home. */
.home-beat { display: block; text-align: left; padding-top: clamp(24px, 4vw, 48px); }
.home-beat h2 { margin: 0 0 14px; font-size: clamp(1.7rem, 3.4vw, 2.6rem); line-height: 1.18; max-width: 22ch; }
.home-beat .beat-text { max-width: 58ch; margin: 0 0 28px; font-size: 1.1rem; line-height: 1.65; color: var(--soft); }
.home-beat .links { justify-content: flex-start; }
/* Shorter doorways; the photo sits high so the library group shows below the cards. */
.lands .land { padding: 22px 24px 20px; }
.lands .big { font-size: clamp(1.25rem, 1.9vw, 1.6rem); line-height: 1.22; margin-bottom: 14px; }
.lands .eg { padding-top: 12px; }
.lands .eg-h { margin: 6px 0 10px; font-size: 1.04rem; }
.lands-photo { object-position: center 4%; }
.lands-stage { padding: 14px 0 calc(clamp(170px, 22vw, 300px) + clamp(40px, 6vw, 80px) - 14px); }
.lands-stage::before { background: linear-gradient(180deg, rgba(5,7,15,0.9) 0%, rgba(5,7,15,0.5) 28%, rgba(5,7,15,0.18) 62%, rgba(5,7,15,0.1) 86%, rgba(5,7,15,0.75) 100%); }

/* Doorway pages: three everyday examples each. */
.exs .ex { display: flex; flex-direction: column; padding: 24px; }
.exs .eg-t { margin: 0 0 16px; font-size: 0.98rem; line-height: 1.6; color: var(--soft); }
.ex-src { margin-top: auto; font-size: 0.82rem; color: var(--muted); text-decoration: none; }
.ex-src:hover { color: var(--accent); }
.land-hero { min-height: 62vh; }

/* What's here for you (ecosystem page) */
.here > .eg-k { margin: 0 0 14px; font-size: 0.8rem; }
.here .ex-src { margin-top: auto; font-weight: 500; }
.here-more { margin: 14px 0 0; font-size: 0.9rem; color: var(--muted); }
