@font-face { font-family: 'Host Grotesk'; src: url(/fonts/HostGrotesk_400Regular.woff2) format('woff2'), url(/fonts/HostGrotesk_400Regular.ttf) format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Host Grotesk'; src: url(/fonts/HostGrotesk_500Medium.woff2) format('woff2'), url(/fonts/HostGrotesk_500Medium.ttf) format('truetype'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Host Grotesk'; src: url(/fonts/HostGrotesk_600SemiBold.woff2) format('woff2'), url(/fonts/HostGrotesk_600SemiBold.ttf) format('truetype'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Host Grotesk'; src: url(/fonts/HostGrotesk_700Bold.woff2) format('woff2'), url(/fonts/HostGrotesk_700Bold.ttf) format('truetype'); font-weight: 700; font-display: swap; }

/* The app's tokens (src/components/ui/colors.js): monochrome, plus Orbiteer blue for what is live, done or next. */
:root {
  --accent: #00AFFF; --accent-deep: #0096C7; --accent-soft: #5DCCFF; --accent-wash: rgba(0, 175, 255, .14);
  --night: #0E0F12; --sheet: #131519; --card: #16181C; --raised: #1D1F24;
  --line: #24262B; --line-strong: #3A3C42;
  --bone: #F2F2F0; --ash: #A6A8AE; --mist: #8E9099; --steel: #6E7077;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --sans: 'Host Grotesk', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --pad: clamp(20px, 5vw, 56px);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { background: var(--night); color: var(--bone); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; scroll-behavior: smooth; }
/* Clip sideways overflow on the page itself, never with overflow hidden on body: that makes body a scroll
   container and breaks every position: sticky (the header). */
html, body { overflow-x: clip; }
body { margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.55; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: rgba(0, 175, 255, .35); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--pad); }

/* Stars: two fixed layers of tiny dots, drifting very slowly. */
.sky { position: fixed; inset: 0; pointer-events: none; z-index: 0; }
.sky::before, .sky::after {
  content: ''; position: absolute; inset: -50%;
  background-image:
    radial-gradient(1px 1px at 20% 30%, rgba(242,242,240,.55) 50%, transparent 51%),
    radial-gradient(1px 1px at 70% 80%, rgba(242,242,240,.35) 50%, transparent 51%),
    radial-gradient(1.4px 1.4px at 40% 60%, rgba(242,242,240,.45) 50%, transparent 51%),
    radial-gradient(1px 1px at 85% 15%, rgba(242,242,240,.3) 50%, transparent 51%);
  background-size: 340px 340px, 260px 260px, 520px 520px, 410px 410px;
  animation: drift 180s linear infinite;
}
.sky::after { opacity: .5; background-size: 610px 610px, 470px 470px, 300px 300px, 720px 720px; animation-duration: 260s; animation-direction: reverse; }
main, header, footer { position: relative; z-index: 1; }

/* Type: Host Grotesk throughout, sentence case, no tracked caps. */
.eyebrow { font-size: 14px; font-weight: 500; color: var(--mist); }
h1, h2, h3 { font-weight: 600; letter-spacing: -0.025em; margin: 0; }
h1 { font-size: clamp(44px, 7.2vw, 92px); line-height: 0.98; letter-spacing: -0.04em; }
h2 { font-size: clamp(32px, 4.4vw, 56px); line-height: 1.04; }
h3 { font-size: 22px; line-height: 1.2; }
.dim { color: var(--ash); }
.lead { font-size: clamp(18px, 1.6vw, 21px); color: var(--ash); max-width: 34em; }

/* Pills, as in the app's buttons: solid bone with an arrow chip, or a ring. */
.btn { display: inline-flex; align-items: center; gap: 12px; height: 54px; padding: 0 8px 0 24px; border-radius: 999px; font-weight: 600; font-size: 16px; transition: transform .25s var(--ease), background-color .25s; white-space: nowrap; }
.btn.solid { background: var(--bone); color: var(--night); }
.btn.solid:hover { transform: translateY(-2px); }
.btn .chip { width: 38px; height: 38px; border-radius: 50%; background: var(--accent); color: var(--night); display: grid; place-items: center; transition: transform .35s var(--ease); }
.btn.solid:hover .chip { transform: rotate(-45deg); }
.btn.ghost { padding: 0 24px; border: 1px solid var(--line-strong); color: var(--bone); }
.btn.ghost:hover { background: var(--card); }
.btn.small { height: 42px; font-size: 14px; padding: 0 6px 0 18px; gap: 10px; }
.btn.small .chip { width: 30px; height: 30px; }
.out::after { content: '↗'; font-size: .85em; margin-left: 4px; color: var(--accent-soft); }

/* Header */
header { position: sticky; top: 0; z-index: 20; padding-top: env(safe-area-inset-top, 0px); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); background: rgba(14, 15, 18, .72); border-bottom: 1px solid transparent; transition: border-color .3s; }
/* #269: on iPhone Safari with the address bar at the top, the page scrolls on under the see-through top bar while the
   header pins just below it, so text showed in the strip above the header. A solid band above the header covers it. */
header::before { content: ''; position: absolute; left: 0; right: 0; bottom: 100%; height: 100vh; background: var(--night); pointer-events: none; }
header.scrolled { border-color: var(--line); }
.bar { display: flex; align-items: center; height: 72px; gap: 24px; }
.bar .brand { margin-right: auto; display: inline-flex; }
.nav-links { display: flex; align-items: center; gap: 28px; font-size: 15px; color: var(--ash); }
.nav-links a { position: relative; padding-block: 6px; transition: color .2s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--bone); }
.nav-links a[aria-current="page"]::after { content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; border-radius: 2px; background: var(--accent); }
@media (max-width: 760px) {
  .bar { flex-wrap: wrap; height: auto; padding-top: 12px; gap: 0 16px; row-gap: 6px; }
  .nav-links { order: 3; width: 100%; gap: 24px; height: 40px; font-size: 14px; }
}
@media (max-width: 420px) { .nav-links { gap: 0; justify-content: space-between; font-size: 13.5px; } }

/* Hero */
.hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; padding-block: clamp(40px, 8vh, 96px) clamp(48px, 9vh, 110px); min-height: calc(100svh - 72px); }
.hero .eyebrow { margin-bottom: 22px; display: inline-flex; align-items: center; gap: 10px; }
.live { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(0,175,255,.6); animation: ping 2.2s var(--ease) infinite; }
.hero .lead { margin: 26px 0 36px; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; }
/* Invite-only teaser under the hero CTA (#253): quiet, no pressure. */
.cta-note { margin-top: 16px; font-size: 14px; color: var(--mist); }
.cta-note[hidden] { display: none; }
.crowd { display: flex; align-items: center; gap: 16px; margin-top: 44px; color: var(--mist); font-size: 14px; }
.stack { display: flex; flex: none; }
.stack img { width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--night); background: var(--bone); margin-left: -10px; }
.stack img:first-child { margin-left: 0; }
@media (max-width: 960px) { .hero { grid-template-columns: 1fr; min-height: 0; } }
@media (max-width: 760px) { .hero { min-height: 0; } }

/* The orbit: HUGO at the centre, members riding three rings. */
.orbit { position: relative; width: min(100%, 560px); aspect-ratio: 1; margin-inline: auto; }
.ring { position: absolute; border-radius: 50%; border: 1px solid var(--line); }
.ring.r1 { inset: 0; }
.ring.r2 { inset: 15%; border-color: rgba(58, 60, 66, .7); }
.ring.r3 { inset: 30%; border-style: dashed; border-color: rgba(0, 175, 255, .28); }
.spin { position: absolute; inset: 0; animation: spin var(--t, 80s) linear infinite; }
.spin.s2 { inset: 15%; --t: 60s; animation-direction: reverse; }
.spin.s3 { inset: 30%; --t: 46s; }
.arm { position: absolute; inset: 0; transform: rotate(var(--a)); }
.pin { position: absolute; left: 50%; top: 0; width: var(--size, 64px); height: var(--size, 64px); transform: translate(-50%, -50%) rotate(calc(var(--a) * -1)); }
.face { width: 100%; height: 100%; border-radius: 50%; overflow: hidden; background: var(--bone); border: 3px solid var(--night); box-shadow: 0 0 0 1px var(--line-strong), 0 10px 30px rgba(0,0,0,.5); animation: spin var(--t, 80s) linear infinite reverse; }
.spin.s2 .face { animation-direction: normal; }
@media (max-width: 600px) {
  .pin { width: calc(var(--size, 64px) * .68); height: calc(var(--size, 64px) * .68); }
  .face { border-width: 2px; }
  .orbit { width: calc(100% - 24px); }
  .note { max-width: 220px; font-size: 12px; }
}
.core { position: absolute; inset: 39%; border-radius: 50%; background: radial-gradient(circle at 50% 35%, #2a2c32, var(--card) 70%); border: 1px solid var(--line-strong); display: grid; place-items: center; box-shadow: 0 0 90px 14px var(--accent-wash); }
.core img { width: 78%; border-radius: 50%; }
.core .tag { position: absolute; bottom: -14px; font-size: 12px; font-weight: 600; background: var(--accent); color: var(--night); padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.note { position: absolute; z-index: 3; max-width: 250px; display: flex; gap: 10px; align-items: center; padding: 8px 14px 8px 8px; border-radius: 999px; background: rgba(19, 21, 25, .92); border: 1px solid var(--line-strong); box-shadow: 0 12px 40px rgba(0,0,0,.45); font-size: 13px; line-height: 1.3; opacity: 0; transform: translateY(10px) scale(.96); transition: opacity .5s var(--ease), transform .6s var(--ease); pointer-events: none; }
.note.on { opacity: 1; transform: none; }
.note img { width: 30px; height: 30px; border-radius: 50%; background: var(--bone); flex: none; }
.note b { font-weight: 600; display: block; }
.note span { color: var(--ash); }
.caption { text-align: center; margin-top: 18px; font-size: 12px; color: var(--mist); }
/* #281 (Lighthouse a11y): 12 px captions need 4.5:1 (steel was 3.9, mist is 6.0), and a link inside one is underlined,
   since its colour alone is only 1.75:1 against the caption. */
.caption a { text-decoration: underline; text-underline-offset: 2px; }

/* Sections */
.section { padding-block: clamp(72px, 12vh, 140px); }
.head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 44px; }
.head .eyebrow { margin-bottom: 16px; }

/* Three things Orbiteer does, each with a small piece of the app. */
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 960px) { .grid3 { grid-template-columns: 1fr; } }
.card { border-radius: 28px; background: var(--card); border: 1px solid var(--line); padding: 28px; display: flex; flex-direction: column; gap: 14px; transition: border-color .3s, transform .4s var(--ease); }
.card:hover { border-color: var(--line-strong); transform: translateY(-4px); }
.card p { margin: 0; color: var(--ash); }
.mock { margin-top: auto; padding-top: 18px; }
.mini { border-radius: 18px; background: var(--raised); border: 1px solid var(--line); padding: 16px; }
.mini + .mini { margin-top: 10px; }
.date { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: rgba(14,15,18,.7); border: 1px solid var(--line-strong); font-weight: 600; line-height: 1; font-size: 18px; }
.date small { font-size: 10px; color: var(--ash); font-weight: 500; margin-top: 2px; }
.row { display: flex; align-items: center; gap: 12px; }
.meta { font-size: 13px; color: var(--mist); }
.pills { display: flex; gap: 8px; margin-top: 12px; }
.pill { height: 34px; padding: 0 14px; border-radius: 999px; display: inline-flex; align-items: center; font-size: 13px; font-weight: 600; }
.pill.on { background: var(--bone); color: var(--night); }
.pill.off { border: 1px solid var(--line-strong); }
.stack.sm img { width: 26px; height: 26px; margin-left: -8px; border-width: 2px; border-color: var(--raised); }

/* HUGO */
.hugo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
@media (max-width: 960px) { .hugo { grid-template-columns: 1fr; } }
.plan { border-radius: 28px; background: var(--card); border: 1px solid var(--line); padding: 26px; }
.segs { display: flex; gap: 6px; margin: 14px 0 18px; }
.segs i { flex: 1; height: 3px; border-radius: 2px; background: var(--line-strong); }
.segs i.done { background: var(--accent); }
.step { display: flex; gap: 14px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); }
.step:first-of-type { border-top: 0; }
.tick { width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--line-strong); flex: none; display: grid; place-items: center; color: var(--night); font-size: 14px; }
.tick.done { background: var(--accent); border-color: var(--accent); }
.step.done b { text-decoration: line-through; color: var(--mist); }
.step span { display: block; color: var(--mist); font-size: 13px; }
.bubble { display: flex; gap: 12px; align-items: flex-start; margin-top: 18px; }
.bubble img { width: 40px; height: 40px; border-radius: 50%; }
.bubble p { margin: 0; padding: 12px 16px; border-radius: 18px 18px 18px 6px; background: var(--raised); border: 1px solid var(--line); font-size: 15px; }
.links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* Where the Cosmic Futures team has worked: one quiet row of marks, right under the beta section. */
.worked-band { padding-bottom: 8px; }
.worked { border-top: 1px solid var(--line); padding-top: 28px; display: grid; gap: 24px; }
.worked h2 { margin: 0; font-size: 15px; font-weight: 500; letter-spacing: 0; line-height: 1.35; color: var(--mist); }
.marks { display: flex; flex-wrap: nowrap; align-items: center; justify-content: space-between; gap: clamp(14px, 1.6vw, 24px); }
.marks img { flex: none; height: 22px; width: auto; opacity: .62; transition: opacity .3s; }
.marks img.tall { height: 30px; }
.marks img.flat { height: 15px; }
.marks img:hover { opacity: 1; }
@media (max-width: 1180px) { .marks { flex-wrap: wrap; justify-content: center; gap: 24px 36px; } }
@media (max-width: 600px) { .marks { gap: 22px 28px; } .marks img { height: 20px; } .marks img.tall { height: 28px; } .marks img.flat { height: 13px; } }

/* Partners and a member's own words. */
.proof { display: grid; gap: 18px; }
.quote { margin: 0; border-radius: 28px; padding: clamp(22px, 3vw, 34px) clamp(22px, 3.4vw, 40px); background: radial-gradient(120% 90% at 0% 0%, rgba(0,175,255,.10), transparent 60%), var(--card); border: 1px solid var(--line); display: grid; grid-template-columns: auto 1fr; gap: 6px 20px; position: relative; }
.quote::before { content: '\201C'; font-size: 72px; line-height: .8; font-weight: 700; color: var(--accent); }
.quote .body { min-width: 0; }
.quote blockquote { margin: 0; font-size: clamp(16px, 1.2vw, 18px); line-height: 1.6; color: var(--bone); max-width: 70em; }
.quote blockquote.clamped { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
@media (max-width: 640px) { .quote { grid-template-columns: 1fr; } .quote::before { grid-row: auto; font-size: 56px; height: 30px; } .quote blockquote.clamped { -webkit-line-clamp: 4; } }
.more { margin-top: 8px; background: none; border: 0; padding: 4px 0; font: inherit; font-size: 14px; font-weight: 500; color: var(--accent-soft); cursor: pointer; }
.more:hover { color: var(--accent); }
.quote figcaption { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.quote figcaption img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px var(--night), 0 0 0 3px var(--accent-deep); }
.quote figcaption b { display: block; font-weight: 600; }
.quote figcaption span { color: var(--mist); font-size: 14px; }
.partners { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 760px) { .partners { grid-template-columns: 1fr; } }
.partner { border-radius: 28px; background: var(--card); border: 1px solid var(--line); padding: 26px 28px; display: flex; flex-direction: column; gap: 14px; transition: border-color .3s, transform .4s var(--ease); }
.partner:hover { border-color: rgba(0, 175, 255, .45); transform: translateY(-3px); }
.partner .logo { height: 44px; display: flex; align-items: center; }
.partner .logo img { max-height: 100%; width: auto; max-width: 240px; }
.partner p { margin: 0; color: var(--ash); font-size: 15px; }
.partner .meta { color: var(--accent-soft); }

/* Cosmic Futures band */
.made { border-radius: 32px; border: 1px solid var(--line); background: linear-gradient(135deg, var(--card), var(--sheet)); padding: clamp(28px, 5vw, 56px); display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: center; overflow: hidden; position: relative; }
.made::after { content: ''; position: absolute; right: -120px; top: -120px; width: 360px; height: 360px; border-radius: 50%; border: 1px solid var(--line); box-shadow: 0 0 0 60px rgba(36,38,43,.25), 0 0 0 120px rgba(36,38,43,.12); }
@media (max-width: 860px) { .made { grid-template-columns: 1fr; } }
.made > * { position: relative; z-index: 1; }
.made::after { pointer-events: none; }
.made p { color: var(--ash); margin: 16px 0 0; max-width: 32em; }

/* Last call and footer */
.final { text-align: center; }
.final .stack { justify-content: center; margin-bottom: 28px; }
.final .stack img { width: 52px; height: 52px; margin-left: -12px; }
.final .lead { margin: 20px auto 34px; }
footer { border-top: 1px solid var(--line); padding-block: 36px calc(36px + env(safe-area-inset-bottom, 0px)); color: var(--mist); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; align-items: center; }
footer nav { display: flex; gap: 22px; flex-wrap: wrap; }
footer a:hover { color: var(--bone); }

/* Sliders: a rail that starts on the page grid and runs off the right edge, snapping card by card. */
.side { display: flex; flex-direction: column; align-items: flex-end; gap: 22px; max-width: 30em; }
.side .lead { font-size: 17px; margin: 0; text-align: right; }
.arrows { display: flex; gap: 10px; }
.arrow { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line-strong); background: rgba(19, 21, 25, .6); color: var(--bone); display: grid; place-items: center; cursor: pointer; transition: background-color .25s, border-color .25s, opacity .25s, transform .25s var(--ease); }
.arrow svg { width: 20px; height: 20px; }
.arrow:hover:not(:disabled) { background: var(--bone); color: var(--night); border-color: var(--bone); }
.arrow:active:not(:disabled) { transform: scale(.94); }
.arrow:disabled { opacity: .32; cursor: default; }
.rail { --edge: max(var(--pad), calc((100% - 1200px) / 2 + var(--pad))); list-style: none; margin: 0; display: flex; gap: 16px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--edge); padding: 6px var(--edge) 22px; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.rail > li { flex: none; scroll-snap-align: start; display: flex; }
.rail:focus-visible { outline-offset: -3px; border-radius: 0; }
.foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 8px; }
.foot .caption { margin: 0; text-align: left; }
.foot .caption a { color: var(--accent-soft); }
.foot .caption a:hover { color: var(--accent); }
.progress { position: relative; flex: 0 1 220px; height: 2px; border-radius: 2px; background: var(--line); overflow: hidden; }
.progress i { position: absolute; inset: 0 auto 0 0; width: var(--w, 30%); background: var(--accent); border-radius: 2px; transform: translateX(var(--x, 0%)); transition: transform .2s linear; }
@media (max-width: 960px) { .side { align-items: flex-start; } .side .lead { text-align: left; } }
@media (max-width: 640px), (hover: none) and (pointer: coarse) { .arrows { display: none; } }

/* Event cards: a generated cover, the date tile riding its lower edge, then the facts. */
.ev { position: relative; width: clamp(272px, 78vw, 336px); border-radius: 26px; background: var(--card); border: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column; transition: border-color .3s, transform .45s var(--ease); }
.ev:hover, .co:hover { border-color: var(--line-strong); transform: translateY(-4px); }
.ev:focus-within, .co:focus-within { border-color: var(--accent); }
.cover { position: relative; height: 150px; background: radial-gradient(120% 120% at 80% 0%, #1f2a33, var(--sheet) 70%); }
.cover svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.cover .kind { position: absolute; left: 16px; top: 14px; font-size: 13px; font-weight: 600; padding: 5px 11px; border-radius: 999px; background: rgba(14, 15, 18, .62); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid rgba(242, 242, 240, .12); }
.ev .date { position: absolute; left: 16px; top: 124px; width: 54px; height: 54px; background: var(--bone); color: var(--night); border: 0; box-shadow: 0 0 0 4px var(--card); font-size: 20px; }
.ev .date small { color: #46484e; font-weight: 600; }
.ev-body { padding: 42px 20px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.ev-body .when { position: absolute; top: 160px; left: 84px; font-size: 13px; color: var(--mist); }
.ev h3 { font-size: 19px; line-height: 1.25; overflow-wrap: anywhere; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
.co h3 { overflow-wrap: anywhere; }
.ev h3 a::after, .co h3 a::after { content: ''; position: absolute; inset: 0; border-radius: inherit; }
.ev h3 a:focus-visible, .co h3 a:focus-visible { outline: none; }
.where { display: flex; align-items: center; gap: 7px; font-size: 14px; color: var(--ash); }
.where svg { width: 15px; height: 15px; flex: none; color: var(--mist); }
.ev-foot { margin-top: auto; padding-top: 16px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.badge { display: inline-flex; align-items: center; gap: 8px; min-width: 0; font-size: 13px; font-weight: 500; color: var(--bone); }
.badge > span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.badge .g { width: 26px; height: 26px; border-radius: 8px; background: var(--raised); border: 1px solid var(--line-strong); display: grid; place-items: center; flex: none; }
.badge .g svg { width: 15px; height: 15px; }
.badge.member { color: var(--ash); }
.tag { flex: none; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--ash); }
.tag.blue { border-color: rgba(0, 175, 255, .45); color: var(--accent-soft); background: var(--accent-wash); }

/* Community cards: wide, with a large glyph tile and what the group runs next. */
.co { position: relative; width: clamp(272px, 80vw, 372px); border-radius: 26px; background: linear-gradient(160deg, var(--raised), var(--card) 46%); border: 1px solid var(--line); padding: 22px; display: flex; flex-direction: column; gap: 12px; transition: border-color .3s, transform .45s var(--ease); }
.co-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.glyph { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; color: var(--bone); background: radial-gradient(circle at 30% 25%, rgba(0, 175, 255, .28), transparent 62%), var(--night); border: 1px solid var(--line-strong); box-shadow: inset 0 1px 0 rgba(242, 242, 240, .06); }
.glyph svg { width: 30px; height: 30px; }
.glyph.initial { font-size: 28px; font-weight: 600; letter-spacing: -0.02em; }
.co h3 { font-size: 21px; }
.co p { margin: 0; color: var(--ash); font-size: 15px; }
.next { margin-top: auto; padding: 12px 14px; border-radius: 16px; background: rgba(14, 15, 18, .55); border: 1px solid var(--line); font-size: 14px; line-height: 1.35; }
.next span { display: block; font-size: 12px; color: var(--mist); margin-bottom: 2px; }
.next.quiet { color: var(--ash); }
.socials { display: flex; flex-wrap: wrap; gap: 6px; }
.socials span { font-size: 12px; font-weight: 500; color: var(--ash); padding: 3px 9px; border-radius: 999px; background: rgba(242, 242, 240, .05); }
.co.start { background: radial-gradient(130% 90% at 100% 0%, rgba(0, 175, 255, .2), transparent 60%), var(--card); border-color: rgba(0, 175, 255, .35); }
.co.start ul { list-style: none; margin: 4px 0 8px; padding: 0; display: grid; gap: 8px; font-size: 14px; color: var(--ash); }
.co.start li { display: flex; gap: 10px; align-items: baseline; }
.co.start li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex: none; transform: translateY(-2px); }
.co.start .btn { margin-top: auto; align-self: flex-start; position: relative; z-index: 1; }
.traits { display: flex; flex-wrap: wrap; gap: 8px; margin: -20px auto 22px; }
.traits span { font-size: 13px; color: var(--bone); padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line-strong); background: rgba(19, 21, 25, .6); }

/* New in Orbiteer: a bento of the smaller things. */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.tile { border-radius: 28px; background: var(--card); border: 1px solid var(--line); padding: 26px; display: flex; flex-direction: column; gap: 10px; overflow: hidden; position: relative; min-width: 0; }
.tile h3 { font-size: 21px; }
.tile p { margin: 0; color: var(--ash); font-size: 15px; }
.tile.wide { grid-column: span 3; }
.tile.third { grid-column: span 2; }
@media (max-width: 1000px) { .tile.wide, .tile.third { grid-column: span 6; } .tile.third { grid-column: span 3; } .tile.third:last-child { grid-column: span 6; } }
@media (max-width: 680px) { .tile.third { grid-column: span 6; } }
.kbd { display: inline-grid; place-items: center; min-width: 26px; height: 24px; padding: 0 7px; border-radius: 7px; border: 1px solid var(--line-strong); border-bottom-width: 2px; font-size: 13px; font-weight: 600; color: var(--bone); background: var(--raised); vertical-align: 1px; }
.search { margin-top: 12px; border-radius: 20px; background: var(--night); border: 1px solid var(--line-strong); overflow: hidden; }
.field { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); font-size: 16px; }
.field svg { width: 18px; height: 18px; color: var(--mist); flex: none; }
.field .typed { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; }
.field .typed::after { content: ''; display: inline-block; width: 2px; height: 1.1em; margin-left: 2px; background: var(--accent); vertical-align: -3px; animation: caret 1s steps(1) infinite; }
.results { padding: 10px; display: grid; gap: 2px; }
.results .label { font-size: 12px; color: var(--steel); padding: 8px 8px 4px; }
.hit { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 12px; font-size: 14px; transition: opacity .4s var(--ease), transform .5s var(--ease); }
.hit:first-of-type { background: var(--raised); }
.hit img { width: 32px; height: 32px; border-radius: 50%; background: var(--bone); flex: none; }
.hit .s { width: 32px; height: 32px; border-radius: 10px; background: var(--accent-wash); color: var(--accent-soft); display: grid; place-items: center; flex: none; font-weight: 700; }
.hit b { font-weight: 600; display: block; }
.hit small { color: var(--mist); font-size: 13px; display: block; }
.hit mark { background: none; color: var(--accent-soft); }
.searching .hit { opacity: .25; transform: translateY(3px); }
.asks { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.ask { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; padding: 8px 14px 8px 10px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--raised); }
.ask svg { width: 16px; height: 16px; color: var(--accent-soft); }
.reply { display: flex; gap: 12px; align-items: flex-start; margin-top: 14px; }
.reply img { width: 40px; height: 40px; border-radius: 50%; flex: none; }
.reply .pick { flex: 1; min-width: 0; padding: 12px 14px; border-radius: 18px 18px 18px 6px; background: var(--raised); border: 1px solid var(--line); font-size: 14px; }
.reply .pick .row { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
.reply .pick .row img { width: 32px; height: 32px; background: var(--bone); }
.post { margin-top: auto; padding-top: 16px; }
.post .frame { border-radius: 18px; background: var(--raised); border: 1px solid var(--line); overflow: hidden; }
.post .thumb { height: 92px; position: relative; background: linear-gradient(135deg, #1b2733, #0f1216); display: grid; place-items: center; }
.post .thumb svg { width: 100%; height: 100%; position: absolute; inset: 0; }
.post .play { position: relative; width: 42px; height: 42px; border-radius: 50%; background: var(--bone); color: var(--night); display: grid; place-items: center; }
.post .src { padding: 10px 14px 0; font-size: 12px; color: var(--mist); }
.post .t { padding: 2px 14px 0; font-size: 14px; font-weight: 600; }
.acts { display: flex; gap: 6px; padding: 10px 10px 12px; }
.act { display: inline-flex; align-items: center; gap: 6px; font: inherit; font-size: 13px; font-weight: 500; color: var(--ash); padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-strong); background: none; cursor: pointer; transition: color .2s, border-color .2s, background-color .2s; }
.act svg { width: 15px; height: 15px; }
.act:hover { color: var(--bone); }
.act[aria-pressed="true"] { color: var(--night); background: var(--bone); border-color: var(--bone); }
.act[aria-pressed="true"] svg { fill: #ff5a6a; stroke: #ff5a6a; }
.heads { margin-top: auto; padding-top: 16px; display: flex; gap: 10px; overflow: hidden; mask: linear-gradient(90deg, #000 70%, transparent); -webkit-mask: linear-gradient(90deg, #000 70%, transparent); }
.heads figure { margin: 0; flex: none; width: 92px; border-radius: 18px; background: var(--raised); border: 1px solid var(--line); padding: 12px 8px 10px; text-align: center; font-size: 12px; color: var(--ash); }
.heads img { width: 48px; height: 48px; border-radius: 50%; background: var(--bone); margin: 0 auto 8px; }
.heads b { display: block; color: var(--bone); font-size: 13px; font-weight: 600; }
.ref { margin-top: auto; padding-top: 16px; }
.ref .frame { border-radius: 18px; background: var(--raised); border: 1px solid var(--line); padding: 14px; font-size: 14px; }
.ref q { display: block; color: var(--bone); quotes: none; }
.ref .by { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 13px; color: var(--mist); }
.ref .ok { width: 18px; height: 18px; border-radius: 50%; background: var(--accent); color: var(--night); display: grid; place-items: center; flex: none; }
.ref .ok svg { width: 11px; height: 11px; }

/* Claim your page: three steps steer a listed page through to "yours". */
.claim { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
@media (max-width: 960px) { .claim { grid-template-columns: 1fr; } }
.steps { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 4px; position: relative; }
.steps::before { content: ''; position: absolute; left: 21px; top: 26px; bottom: 26px; width: 1px; background: linear-gradient(var(--line-strong), var(--line-strong)) no-repeat, var(--line); }
.steps button { all: unset; box-sizing: border-box; width: 100%; display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 12px 14px 12px 0; border-radius: 18px; cursor: pointer; position: relative; }
.steps button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.steps .n { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 600; background: var(--night); border: 1px solid var(--line-strong); color: var(--ash); transition: background-color .35s, color .35s, border-color .35s, box-shadow .35s; }
.steps b { display: block; font-size: 19px; font-weight: 600; margin-top: 9px; color: var(--ash); transition: color .3s; }
.steps span.p { display: block; color: var(--mist); font-size: 15px; margin-top: 4px; }
.steps button[aria-pressed="true"] .n { background: var(--accent); border-color: var(--accent); color: var(--night); box-shadow: 0 0 0 6px var(--accent-wash); }
.steps button[aria-pressed="true"] b, .steps button:hover b { color: var(--bone); }
.own { display: flex; gap: 14px; align-items: center; margin-top: 26px; padding: 14px 18px 14px 14px; border-radius: 20px; border: 1px dashed var(--line-strong); font-size: 15px; color: var(--ash); }
.own b { color: var(--bone); font-weight: 600; }
.own .url { flex: none; width: 44px; height: 44px; border-radius: 14px; background: var(--raised); display: grid; place-items: center; color: var(--accent-soft); }
.own .url svg { width: 20px; height: 20px; }
.page { position: relative; border-radius: 30px; background: var(--card); border: 1px solid var(--line); overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7); }
.page .cover { height: 132px; }
.page .glyph { position: absolute; left: 24px; top: 96px; width: 72px; height: 72px; border-radius: 22px; box-shadow: 0 0 0 5px var(--card); }
.page .in { padding: 46px 24px 24px; }
.page h3 { font-size: 26px; }
.page .meta { margin-top: 4px; }
.state { margin-top: 18px; display: grid; }
.state > div { grid-area: 1 / 1; opacity: 0; transform: translateY(8px); transition: opacity .45s var(--ease), transform .55s var(--ease); pointer-events: none; }
.state > div.on { opacity: 1; transform: none; pointer-events: auto; }
.listed { padding: 14px 16px; border-radius: 18px; background: var(--raised); border: 1px solid var(--line); font-size: 14px; color: var(--ash); }
.listed b { color: var(--bone); font-weight: 600; display: block; margin-bottom: 2px; }
.page .pill { margin-top: 14px; }
.sent { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 18px; background: var(--accent-wash); border: 1px solid rgba(0, 175, 255, .35); font-size: 14px; }
.sent .ok, .owner .ok { width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: var(--night); display: grid; place-items: center; flex: none; }
.sent .ok svg, .owner .ok svg { width: 15px; height: 15px; }
.owner { display: grid; gap: 10px; }
.owner .row { gap: 10px; font-size: 14px; }
.tools { display: flex; flex-wrap: wrap; gap: 8px; }
.tools span { font-size: 13px; font-weight: 600; padding: 7px 12px; border-radius: 999px; background: var(--raised); border: 1px solid var(--line-strong); }
.ribbon { position: absolute; right: 18px; top: 16px; font-size: 13px; font-weight: 600; padding: 5px 12px; border-radius: 999px; background: rgba(14, 15, 18, .7); border: 1px solid rgba(242, 242, 240, .14); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: background-color .4s, color .4s; }
.ribbon.yours { background: var(--accent); color: var(--night); border-color: var(--accent); }

/* Make money: two panels, then the referral orbit across the foot. */
.earn { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 900px) { .earn { grid-template-columns: 1fr; } }
.panel { border-radius: 30px; border: 1px solid var(--line); background: var(--card); padding: clamp(24px, 3vw, 34px); display: flex; flex-direction: column; gap: 14px; position: relative; overflow: hidden; }
.panel::before { content: ''; position: absolute; width: 320px; height: 320px; border-radius: 50%; right: -150px; top: -170px; border: 1px solid var(--line); box-shadow: 0 0 0 46px rgba(36, 38, 43, .22), 0 0 0 92px rgba(36, 38, 43, .1); pointer-events: none; }
.panel > * { position: relative; }
.panel h3 { font-size: clamp(24px, 2.2vw, 30px); letter-spacing: -0.03em; }
.panel .who { font-size: 14px; font-weight: 600; color: var(--accent-soft); }
.ticks { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 10px; }
.ticks li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; color: var(--ash); font-size: 15px; }
.ticks li::before { content: ''; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%; background: var(--accent-wash) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235DCCFF' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 11px no-repeat; }
.ticks b { color: var(--bone); font-weight: 600; }
.offer { margin-top: 8px; border-radius: 22px; background: var(--raised); border: 1px solid var(--line); padding: 18px; }
.offer .row { justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.seg { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--night); border: 1px solid var(--line-strong); }
.seg button { font: inherit; font-size: 13px; font-weight: 600; color: var(--ash); background: none; border: 0; padding: 6px 12px; border-radius: 999px; cursor: pointer; transition: background-color .25s, color .25s; }
.seg button[aria-pressed="true"] { background: var(--bone); color: var(--night); }
.seg button:focus-visible { outline-offset: 1px; }
.price { font-size: 40px; font-weight: 600; letter-spacing: -0.03em; line-height: 1; margin-top: 16px; }
.price small { font-size: 16px; font-weight: 500; color: var(--mist); letter-spacing: 0; }
.offer .meta { margin-top: 8px; }
.soon { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 18px; border: 1px solid rgba(0, 175, 255, .35); background: var(--accent-wash); font-size: 14px; color: var(--bone); }
.soon .live { flex: none; margin-top: 6px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.chips span { font-size: 13px; padding: 5px 11px; border-radius: 999px; border: 1px solid var(--line-strong); }
.mins { display: flex; gap: 6px; margin-top: 12px; }
.mins span { flex: 1; text-align: center; font-size: 13px; font-weight: 600; padding: 8px 0; border-radius: 12px; border: 1px solid var(--line-strong); color: var(--ash); }
.mins span.on { background: var(--bone); color: var(--night); border-color: var(--bone); }
.panel .btn { align-self: flex-start; margin-top: auto; }
.perk { margin-top: 16px; border-radius: 30px; border: 1px solid var(--line); background: linear-gradient(120deg, var(--card), var(--sheet)); padding: clamp(24px, 3.4vw, 40px); display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
@media (max-width: 900px) { .perk { grid-template-columns: 1fr; } }
.perk h3 { font-size: clamp(24px, 2.4vw, 32px); letter-spacing: -0.03em; }
.perk p { color: var(--ash); margin: 12px 0 0; font-size: 15px; }
.tiers { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; position: relative; }
.tiers::before { content: ''; position: absolute; left: 16.66%; right: 16.66%; top: 37px; height: 2px; background: linear-gradient(90deg, var(--accent), var(--accent-soft)); transform-origin: left; transform: scaleX(var(--grow, 1)); transition: transform 1.4s var(--ease) .3s; border-radius: 2px; opacity: .55; }
.js .perk:not(.in) .tiers::before { --grow: 0; }
.tiers li { position: relative; text-align: center; display: grid; justify-items: center; gap: 4px; }
.tiers .dot { width: 74px; height: 74px; border-radius: 50%; display: grid; place-items: center; background: var(--night); border: 1px solid var(--line-strong); font-size: 26px; font-weight: 600; margin-bottom: 8px; }
.tiers li:nth-child(2) .dot { border-color: rgba(0, 175, 255, .5); }
.tiers li:nth-child(3) .dot { background: var(--accent); color: var(--night); border-color: var(--accent); }
.tiers b { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; }
.tiers span { font-size: 13px; color: var(--mist); line-height: 1.35; }
@media (max-width: 560px) {
  .tiers { grid-template-columns: 1fr; gap: 20px; }
  .tiers::before { left: 37px; right: auto; top: 20px; bottom: 20px; width: 2px; height: auto; transform-origin: top; transform: scaleY(var(--grow, 1)); background: linear-gradient(var(--accent), var(--accent-soft)); }
  .tiers li { grid-template-columns: 74px 1fr; justify-items: start; text-align: left; column-gap: 16px; align-items: center; }
  .tiers .dot { grid-row: span 2; margin: 0; }
  .tiers b { align-self: end; }
  .tiers span:not(.dot) { align-self: start; }
  .tiers br { display: none; }
}

/* Reveals: rise into place when scrolled to, in a stagger. */
.js [data-rise] { opacity: 0; transform: translateY(26px); filter: blur(6px); transition: opacity .8s var(--ease), transform 1s var(--ease), filter .8s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.js [data-rise].in { opacity: 1; transform: none; filter: none; }
.word { display: inline-block; opacity: 0; transform: translateY(.4em); filter: blur(8px); animation: word 1s var(--ease) forwards; animation-delay: calc(var(--i) * 70ms + 150ms); }
/* Hero tagline "Space connected, for you.": the first two words ("Space connected")
   sit a step lighter than "for you.". The headline JS rebuilds the h1 into per-word
   .word spans, so the weight is set on those; with JS off the line reads at the h1 weight. */
.tagline-h1 .word:nth-of-type(-n+2) { font-weight: 400; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes drift { to { transform: translate3d(-120px, -60px, 0); } }
@keyframes word { to { opacity: 1; transform: none; filter: none; } }
@keyframes caret { 50% { opacity: 0; } }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(0,175,255,.55); } 80%, 100% { box-shadow: 0 0 0 10px rgba(0,175,255,0); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .word, .js [data-rise] { opacity: 1; transform: none; filter: none; }
  .note.on { opacity: 1; }
}

/* ---------- Shared additions for the homepage, /communities and /mentors ---------- */
.label-ex { font-size: 12px; color: var(--steel); }
.btn.solid.blue { background: var(--accent); }
.btn.solid.blue .chip { background: var(--night); color: var(--accent); }

/* Find people to go with: a band hung off the events slider. */
.gowith { margin-top: clamp(40px, 6vw, 64px); position: relative; border-radius: 32px; border: 1px solid var(--line); background: radial-gradient(90% 120% at 100% 0%, rgba(0, 175, 255, .13), transparent 55%), linear-gradient(160deg, var(--card), var(--sheet)); padding: clamp(24px, 4vw, 48px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; overflow: hidden; }
.gowith::before { content: ''; position: absolute; left: -180px; bottom: -220px; width: 420px; height: 420px; border-radius: 50%; border: 1px dashed rgba(0, 175, 255, .22); pointer-events: none; }
.gowith > * { position: relative; min-width: 0; }
@media (max-width: 900px) { .gowith { grid-template-columns: 1fr; } }
.gw-kick { display: inline-flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 600; color: var(--accent-soft); }
.gw-kick img { width: 44px; height: 44px; border-radius: 50%; background: var(--raised); box-shadow: 0 0 0 1px var(--line-strong), 0 0 30px 4px var(--accent-wash); }
.gowith h3 { font-size: clamp(28px, 3.2vw, 40px); letter-spacing: -0.035em; line-height: 1.05; margin-top: 18px; }
.gowith > div > p { color: var(--ash); margin: 14px 0 0; max-width: 32em; }
.trio { list-style: none; counter-reset: s; margin: 24px 0 0; padding: 0; display: grid; gap: 12px; }
.trio li { counter-increment: s; display: grid; grid-template-columns: 30px 1fr; gap: 12px; font-size: 15px; color: var(--ash); }
.trio li::before { content: counter(s); width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 600; color: var(--bone); border: 1px solid var(--line-strong); background: var(--night); }
.trio b { color: var(--bone); font-weight: 600; }
.privacy { display: flex; gap: 10px; align-items: flex-start; margin-top: 22px; padding: 12px 14px; border-radius: 16px; background: rgba(14, 15, 18, .55); border: 1px solid var(--line); font-size: 14px; color: var(--ash); max-width: 34em; }
.privacy svg { width: 18px; height: 18px; flex: none; color: var(--accent-soft); margin-top: 1px; }
.chat { border-radius: 26px; background: var(--night); border: 1px solid var(--line-strong); padding: 18px; box-shadow: 0 40px 80px -36px rgba(0, 0, 0, .8); }
.chat-ev { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.chat-ev .date { width: 46px; height: 46px; font-size: 17px; background: var(--bone); color: var(--night); border: 0; }
.chat-ev .date small { color: #46484e; font-weight: 600; }
.chat-ev b { display: block; font-weight: 600; }
.chat-ev .tag { margin-left: auto; }
.say { display: flex; gap: 10px; align-items: flex-start; margin-top: 14px; }
.say img { width: 32px; height: 32px; border-radius: 50%; flex: none; }
.say p { margin: 0; padding: 10px 14px; border-radius: 16px 16px 16px 6px; background: var(--raised); border: 1px solid var(--line); font-size: 14px; }
.say.me { justify-content: flex-end; }
.say.me p { border-radius: 16px 16px 6px 16px; background: var(--accent-wash); border-color: rgba(0, 175, 255, .35); }
.wants { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 0 42px; }
.wants span { font-size: 13px; font-weight: 500; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--ash); }
.wants span.on { background: var(--bone); color: var(--night); border-color: var(--bone); }
.matches { margin-top: 16px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); padding: 6px 12px; }
.matches > span { display: block; font-size: 12px; color: var(--mist); padding: 8px 0 4px; }
.match { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 14px; opacity: 1; transform: none; transition: opacity .6s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--k, 0) * 140ms + 300ms); }
.match:first-of-type { border-top: 0; }
.js .gowith:not(.in) .match { opacity: 0; transform: translateX(14px); }
.match img { width: 36px; height: 36px; border-radius: 50%; background: var(--bone); flex: none; }
.match b { display: block; font-weight: 600; }
.match small { display: block; color: var(--mist); font-size: 13px; }
.match em { margin-left: auto; font-style: normal; font-size: 12px; font-weight: 600; color: var(--accent-soft); white-space: nowrap; }
.ev .with { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; font-size: 13px; font-weight: 500; color: var(--accent-soft); }
.ev .with svg { width: 14px; height: 14px; }

/* Teasers for the two deeper pages. */
.doors { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 860px) { .doors { grid-template-columns: 1fr; } }
.door { position: relative; display: flex; flex-direction: column; gap: 12px; min-height: 340px; padding: clamp(24px, 3.4vw, 40px); border-radius: 32px; border: 1px solid var(--line); background: var(--card); overflow: hidden; isolation: isolate; transition: border-color .35s, transform .5s var(--ease); }
.door:hover { border-color: rgba(0, 175, 255, .5); transform: translateY(-4px); }
.door:focus-visible { outline-offset: 4px; border-radius: 32px; }
.door .who { font-size: 14px; font-weight: 600; color: var(--accent-soft); }
.door h3 { font-size: clamp(28px, 3vw, 40px); letter-spacing: -0.035em; line-height: 1.04; max-width: 11em; }
.door p { margin: 0; color: var(--ash); max-width: 26em; }
.door .go { margin-top: auto; display: inline-flex; align-items: center; gap: 12px; font-weight: 600; }
.door .go .chip { width: 42px; height: 42px; border-radius: 50%; background: var(--bone); color: var(--night); display: grid; place-items: center; transition: transform .4s var(--ease), background-color .3s; }
.door:hover .go .chip { transform: translateX(4px) rotate(-45deg); background: var(--accent); }
.door > :not(.art) { max-width: 66%; }
@media (max-width: 520px) { .door > :not(.art) { max-width: none; } }
.door .art { position: absolute; right: -90px; bottom: -90px; width: 300px; height: 300px; z-index: -1; opacity: .9; pointer-events: none; }
.door .art i { position: absolute; border-radius: 50%; border: 1px solid var(--line-strong); inset: var(--in, 0); }
.door .art img { position: absolute; width: 46px; height: 46px; border-radius: 50%; background: var(--bone); border: 3px solid var(--card); }
@media (max-width: 520px) { .door .art { opacity: .35; } }
.aside-line { margin: 22px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font-size: 15px; color: var(--ash); }
.aside-line a { color: var(--accent-soft); font-weight: 500; }
.aside-line a:hover { color: var(--accent); }
.tile.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 20px; align-items: end; }
.tile.split .post, .tile.split .ref { margin: 0; padding: 0; }
@media (max-width: 680px) { .tile.split { grid-template-columns: 1fr; } }

/* Sub-page hero */
.phero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; padding-block: clamp(40px, 8vh, 96px) clamp(56px, 10vh, 120px); }
@media (max-width: 960px) { .phero { grid-template-columns: 1fr; } }
.phero h1 { font-size: clamp(42px, 5.8vw, 76px); }
.phero .lead { margin: 24px 0 34px; }
.crumb { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px; font-size: 14px; font-weight: 500; color: var(--mist); }
.crumb a:hover { color: var(--bone); }
.crumb i { width: 4px; height: 4px; border-radius: 50%; background: var(--line-strong); }
.crumb b { color: var(--accent-soft); font-weight: 500; }
.stage { position: relative; }
/* #299: the stage glow reaches 14% past the stage; on phones and tablets that is past the screen (body 419 px wide at
   390). html already clips it, so clipping at main, which spans the screen, changes nothing visible. */
main:has(> .phero) { overflow-x: clip; }
.stage::before { content: ''; position: absolute; inset: -8% -14% -8% -6%; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 175, 255, .14), transparent); pointer-events: none; }
.stage > * { position: relative; }
.float { position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px; border-radius: 18px; background: rgba(19, 21, 25, .94); border: 1px solid var(--line-strong); box-shadow: 0 20px 50px rgba(0, 0, 0, .5); font-size: 13px; line-height: 1.3; animation: bob 7s ease-in-out infinite; }
.float b { display: block; font-weight: 600; font-size: 14px; }
.float span { color: var(--ash); }
.float .ic { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; background: var(--accent-wash); color: var(--accent-soft); flex: none; }
.float .ic svg { width: 18px; height: 18px; }
@media (max-width: 600px) { .float { position: relative; inset: auto !important; margin-top: 12px; animation: none; } }
@keyframes bob { 50% { transform: translateY(-8px); } }

/* Anatomy: what a community is made of, in a staggered bento. */
.anat { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.anat .tile { grid-column: span 4; }
.anat .tile.big { grid-column: span 7; }
.anat .tile.mid { grid-column: span 5; }
@media (max-width: 960px) { .anat .tile, .anat .tile.big, .anat .tile.mid { grid-column: span 12; } }
.tile .ic { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--night); border: 1px solid var(--line-strong); color: var(--accent-soft); margin-bottom: 6px; }
.tile .ic svg { width: 22px; height: 22px; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 14px; }
.opts span { font-size: 13px; font-weight: 500; padding: 7px 13px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--bone); background: rgba(14, 15, 18, .5); }
.opts span.hi { border-color: rgba(0, 175, 255, .45); color: var(--accent-soft); background: var(--accent-wash); }

/* Numbered how-to, laid out as a horizontal path. */
.path { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: 16px; counter-reset: p; }
@media (max-width: 900px) { .path { grid-template-columns: 1fr; } }
.path li { counter-increment: p; position: relative; padding: 26px; border-radius: 26px; border: 1px solid var(--line); background: var(--card); }
.path li::before { content: counter(p, decimal-leading-zero); display: block; font-size: 44px; font-weight: 600; letter-spacing: -0.04em; line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--line-strong); margin-bottom: 18px; transition: -webkit-text-stroke-color .4s; }
.path li:hover::before { -webkit-text-stroke-color: var(--accent); }
.path h3 { font-size: 20px; }
.path p { margin: 8px 0 0; color: var(--ash); font-size: 15px; }

/* FAQ */
.faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
@media (max-width: 900px) { .faq { grid-template-columns: 1fr; } }
.qa { border-top: 1px solid var(--line); }
.qa details { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 4px; font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ''; flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-strong); background: linear-gradient(var(--bone), var(--bone)) center / 12px 1.6px no-repeat, linear-gradient(var(--bone), var(--bone)) center / 1.6px 12px no-repeat; transition: transform .35s var(--ease), background-color .3s; }
.qa details[open] summary::after { transform: rotate(45deg); background-color: var(--raised); }
.qa summary:hover::after { border-color: var(--accent); }
.qa summary:focus-visible { outline-offset: -2px; }
.qa details p { margin: 0 0 22px; padding-right: 48px; color: var(--ash); max-width: 40em; }

/* Mentors */
.apply { border-radius: 30px; background: var(--card); border: 1px solid var(--line); padding: clamp(20px, 3vw, 28px); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7); }
.apply .top { display: flex; align-items: center; gap: 12px; }
.apply .top img { width: 48px; height: 48px; border-radius: 50%; background: var(--bone); }
.apply .top b { display: block; font-weight: 600; font-size: 17px; }
.apply h4 { margin: 20px 0 0; font-size: 13px; font-weight: 500; color: var(--mist); }
.apply blockquote { margin: 8px 0 0; font-size: 15px; color: var(--bone); }
.prices { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.prices div { border-radius: 16px; background: var(--raised); border: 1px solid var(--line); padding: 12px 14px; }
.prices small { display: block; font-size: 12px; color: var(--mist); }
.prices b { font-size: 26px; font-weight: 600; letter-spacing: -0.03em; }
.mins button { all: unset; box-sizing: border-box; flex: 1; text-align: center; font-size: 13px; font-weight: 600; padding: 8px 0; border-radius: 12px; border: 1px solid var(--line-strong); color: var(--ash); cursor: pointer; transition: background-color .25s, color .25s, border-color .25s; }
.mins button:hover { color: var(--bone); }
.mins button[aria-pressed="true"] { background: var(--bone); color: var(--night); border-color: var(--bone); }
.mins button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 900px) { .two { grid-template-columns: 1fr; } }
.final .ctas { justify-content: center; }
.foot-links { display: flex; gap: 22px; flex-wrap: wrap; }
.tabs-mock { display: flex; gap: 18px; margin: 18px 0 12px; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--mist); }
.tabs-mock span { padding-bottom: 10px; }
.tabs-mock span.on { color: var(--bone); box-shadow: inset 0 -2px 0 var(--accent); }
.soon.big { padding: 20px 24px; border-radius: 24px; font-size: 16px; margin-top: -24px; }
.panel .heads { margin-top: 4px; padding-top: 0; }

/* events page: HUGO's questions on a phone, the three kinds, Rita's month, the sign and Settings. */
.phone { width: min(100%, 360px); margin-inline: auto; padding: 12px; border-radius: 42px; background: var(--night); border: 1px solid var(--line-strong); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .75); }
.screen { border-radius: 32px; background: var(--card); padding: 22px 18px; }
.screen .say { margin-top: 0; }
.screen h4 { margin: 18px 0 8px; font-size: 13px; font-weight: 500; color: var(--mist); }
.choose { display: flex; flex-wrap: wrap; gap: 6px; }
.choose span { font-size: 13px; font-weight: 500; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--ash); }
.choose span.on { background: var(--bone); color: var(--night); border-color: var(--bone); }
.choose.days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.choose.days span { text-align: center; padding-inline: 0; font-size: 12px; }
.next-q { display: block; margin-top: 20px; padding: 12px; border-radius: 999px; text-align: center; font-size: 14px; font-weight: 600; background: var(--accent); color: var(--night); }
.path .choose { margin-top: 14px; }
.kinds { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
@media (max-width: 960px) { .kinds { grid-template-columns: 1fr; } }
.kind { display: flex; flex-direction: column; gap: 12px; padding: clamp(22px, 3vw, 30px); border-radius: 30px; border: 1px solid var(--line); background: var(--card); }
.kind.ext { border-style: dashed; border-color: var(--line-strong); background: transparent; }
.kind.hugo-k { border-color: rgba(0, 175, 255, .4); background: radial-gradient(120% 80% at 100% 0%, rgba(0, 175, 255, .16), transparent 60%), var(--card); }
.kind p { margin: 0; color: var(--ash); font-size: 15px; }
.kind h4, .set-card dt { margin: 6px 0 0; font-size: 13px; font-weight: 500; color: var(--mist); }
.k-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.k-top .ic { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--night); border: 1px solid var(--line-strong); color: var(--accent-soft); }
.k-top .ic svg { width: 22px; height: 22px; }
.k-top img { width: 44px; height: 44px; border-radius: 50%; box-shadow: 0 0 0 1px var(--line-strong), 0 0 30px 4px var(--accent-wash); }
.k-label { align-self: flex-start; font-size: 13px; font-weight: 600; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--ash); }
.orb .k-label, .mcard:nth-child(2) .k-label { background: var(--bone); color: var(--night); border-color: var(--bone); }
.hugo-k .k-label, .meet .k-label { background: var(--accent); color: var(--night); border-color: var(--accent); }
.k-act { align-self: flex-start; margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--bone); }
.k-act.yes { background: var(--bone); color: var(--night); border-color: var(--bone); }
.k-act svg { width: 16px; height: 16px; }
.rita { display: flex; align-items: center; gap: 12px; max-width: 24em; font-size: 14px; }
.rita img { width: 52px; height: 52px; border-radius: 50%; background: var(--bone); flex: none; }
.rita b { display: block; font-size: 17px; font-weight: 600; }
.rita span { color: var(--ash); }
.flow { list-style: none; margin: 0 0 16px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.flow li { position: relative; padding: 14px 16px; border-radius: 18px; background: var(--sheet); border: 1px solid var(--line); font-size: 14px; }
.flow li:not(:last-child)::after { content: '→'; position: absolute; right: -8px; top: 50%; z-index: 1; width: 16px; text-align: center; transform: translateY(-50%); color: var(--accent-soft); font-size: 13px; }
.flow span { display: block; color: var(--mist); font-size: 13px; }
.flow b { font-weight: 600; }
.flow .go { border-color: rgba(0, 175, 255, .45); background: var(--accent-wash); }
@media (max-width: 900px) { .flow { grid-template-columns: 1fr 1fr; } .flow li:nth-child(2)::after { display: none; } }
@media (max-width: 520px) { .flow { grid-template-columns: 1fr; } .flow li::after { display: none; } }
.month { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
@media (max-width: 960px) { .month { grid-template-columns: 1fr; max-width: 520px; } }
.mcard { display: flex; flex-direction: column; gap: 10px; padding: 22px; border-radius: 30px; background: var(--card); border: 1px solid var(--line); min-width: 0; }
.mcard h3 { font-size: 21px; margin-top: 4px; }
.mcard .say { margin-top: 4px; }
.mcard .say p { font-size: 14px; }
.mcard .say img { width: 28px; height: 28px; }
.mcard .k-act { margin-top: 6px; }
.meet { border-color: rgba(0, 175, 255, .4); box-shadow: 0 40px 80px -40px rgba(0, 175, 255, .25); }
.sub { margin-top: auto; padding: 14px; border-radius: 20px; background: var(--night); border: 1px solid var(--line); }
.sub .say { margin-top: 10px; }
.sub.plain p { margin: 0; color: var(--ash); font-size: 14px; }
.sub-h { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--accent-soft); }
.sub-h svg { width: 14px; height: 14px; }
.going { margin-top: 12px; align-items: flex-start; font-size: 13px; color: var(--ash); }
.going .stack { padding-top: 2px; }
.meet .seg { align-self: flex-start; margin-top: 6px; }
.meet .state { margin-top: 4px; }
.votes { display: flex; gap: 6px; }
.votes i { flex: 1; height: 6px; border-radius: 3px; background: var(--line-strong); }
.votes i.y { background: var(--accent); }
.v-line { margin: 10px 0 0; font-size: 14px; color: var(--ash); }
.v-line b { color: var(--bone); font-weight: 600; }
.yn { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.yn .k-act { margin: 0; }
.who-yes { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.who-yes li { display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px 4px 4px; border-radius: 999px; background: var(--raised); font-size: 14px; font-weight: 500; }
.who-yes img { width: 32px; height: 32px; border-radius: 50%; background: var(--bone); }
.who-yes .init { width: 32px; height: 32px; border-radius: 50%; background: var(--bone); color: var(--night, #0b0d12); display: inline-grid; place-items: center; font-weight: 600; }
.signband { margin-top: clamp(40px, 6vw, 64px); display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); align-items: center; padding: clamp(24px, 4vw, 44px); border-radius: 32px; border: 1px solid var(--line); background: linear-gradient(120deg, var(--card), var(--sheet)); }
.signband h3 { font-size: clamp(26px, 3vw, 38px); letter-spacing: -0.035em; }
.signband p { margin: 12px 0 0; color: var(--ash); max-width: 34em; }
.sign { width: 168px; aspect-ratio: 9 / 17; border-radius: 30px; border: 6px solid var(--night); outline: 1px solid var(--line-strong); background: var(--accent); display: grid; place-items: center; align-content: center; gap: 14px; padding: 16px; transform: rotate(-6deg); box-shadow: 0 0 80px 10px var(--accent-wash); }
.sign img { width: 100%; height: auto; filter: brightness(0); }
.sign span { font-size: 13px; font-weight: 600; color: var(--night); }
@media (max-width: 600px) { .signband { grid-template-columns: 1fr; justify-items: center; text-align: center; } .sign { width: 132px; } }
.yours { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
@media (max-width: 900px) { .yours { grid-template-columns: 1fr; } }
.yours .ticks { margin-top: 28px; gap: 14px; }
.set-card { border-radius: 30px; background: var(--card); border: 1px solid var(--line); padding: clamp(20px, 3vw, 28px); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7); }
.set-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.set-row b { display: block; font-weight: 600; }
.set-row span { font-size: 13px; color: var(--accent-soft); }
.switch { flex: none; width: 52px; height: 30px; padding: 3px; border-radius: 999px; border: 0; background: var(--accent); cursor: pointer; transition: background-color .25s; }
.switch i { display: block; width: 24px; height: 24px; border-radius: 50%; background: var(--bone); transform: translateX(22px); transition: transform .3s var(--ease); }
.switch[aria-checked="false"] { background: var(--line-strong); }
.switch[aria-checked="false"] i { transform: none; }
.set-card dl { margin: 18px 0 0; border-top: 1px solid var(--line); transition: opacity .3s; }
.set-card dl div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.set-card dt { margin: 0; font-size: 14px; }
.set-card dd { margin: 0; font-size: 14px; text-align: right; }
.paused-note { display: none; align-items: flex-start; gap: 8px; margin: 14px 0 0; font-size: 14px; color: var(--ash); }
.paused-note svg { width: 18px; height: 18px; flex: none; color: var(--accent-soft); }
.set-card.paused dl { opacity: .4; }
.set-card.paused .paused-note { display: flex; }
.set-card.paused .set-row span { color: var(--mist); }
/* Homepage teaser for /events. */
.kinds-mini { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; gap: 12px; align-items: stretch; }
.kinds-mini li { padding: 16px 18px; border-radius: 20px; border: 1px solid var(--line); background: var(--card); font-size: 14px; color: var(--ash); }
.kinds-mini li b { display: block; color: var(--bone); font-weight: 600; font-size: 15px; margin-bottom: 2px; }
.kinds-mini li.to { display: flex; align-items: center; padding: 0; border: 0; background: none; }
@media (max-width: 900px) { .kinds-mini { grid-template-columns: 1fr; } }

/* #218/#221: the slim header on / and /companies: logo left; Events and Sign in right (plus "For individuals" on
   /companies). Every target is at least 44 px tall at every width (QA #1320). */
.nav-links.nav-slim a { display: inline-flex; align-items: center; min-height: 44px; padding-block: 0; }
.nav-links.nav-slim a[aria-current="page"]::after { bottom: 6px; }
.nav-slim ~ .btn.small { height: 44px; }
@media (max-width: 760px) {
  /* The header keeps its links beside Sign in instead of on a row of their own. */
  .nav-links.nav-slim { order: 0; width: auto; height: auto; gap: 18px; }
}
@media (max-width: 420px) {
  .bar:has(.nav-slim) { gap: 10px; }
  .nav-links.nav-slim { gap: 10px; font-size: 13.5px; }
  /* Sign in without its arrow chip, so "For individuals", Events and Sign in fit on one row at 360. */
  .nav-slim ~ .btn.small { padding: 0 16px; }
  .nav-slim ~ .btn.small .chip { display: none; }
}

/* #218: under the homepage hero buttons, one quiet line to /companies (Serge, #1322). Only the link is bone. */
.oh-co-line { margin: 20px 0 0; color: var(--ash); font-size: 14px; line-height: 1.4; }
.oh-co-line a { display: inline-flex; align-items: center; min-height: 44px; gap: 4px; color: var(--bone); font-weight: 600; }
.oh-co-line a:hover { color: var(--accent-soft); }
@media (max-width: 720px) { .oh-co-line { margin-top: 12px; } .oh-co-line a { min-height: 44px; } }

/* #218: heritage band under the homepage hero. One quiet row on desktop, a grid on phones. */
.heritage { --logo-h: 30px; padding-block: clamp(40px, 7vh, 72px); text-align: center; border-bottom: 1px solid var(--line); }
.heritage-h { font-size: clamp(18px, 1.6vw, 22px); font-weight: 600; letter-spacing: -.01em; }
.heritage-label { margin-top: 6px; color: var(--ash); font-size: 14px; }
/* #268 (Hugo) a slow carousel: two copies of the list side by side, each sliding its own width, so the loop has no
   seam (spacing is padding, not gap). Edges fade out; hover or focus pauses it. No JS. */
.heritage-marquee { display: flex; margin-top: 28px; overflow: hidden; outline: none; border-radius: 12px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.heritage-marquee:focus-visible { box-shadow: 0 0 0 2px var(--accent); }
/* Each copy is at least as wide as the row (logos spread evenly), so the next copy always fills the right edge. */
.heritage-logos { list-style: none; margin: 0; padding: 0; display: flex; flex: none; min-width: 100%; justify-content: space-around; align-items: center; animation: heritage-run 36s linear infinite; }
.heritage-marquee:hover .heritage-logos, .heritage-marquee:focus-within .heritage-logos { animation-play-state: paused; }
@keyframes heritage-run { to { transform: translateX(-100%); } }
.heritage-logos li { display: grid; place-items: center; height: calc(var(--logo-h) * 1.8); padding-inline: 22px; }
.heritage-logos img { display: block; width: auto; height: calc(var(--logo-h) * var(--k, 1)); max-width: 150px; object-fit: contain; opacity: .7; }
@media (max-width: 760px) {
  .heritage { --logo-h: 24px; }
  .heritage-logos li { padding-inline: 16px; }
  .heritage-logos img { max-width: 112px; }
}
/* Reduced motion: one still row of the seven, wrapped and centred; the copy is not shown. */
@media (prefers-reduced-motion: reduce) {
  .heritage-marquee { -webkit-mask-image: none; mask-image: none; }
  .heritage-logos { animation: none; flex: 1; flex-wrap: wrap; justify-content: center; row-gap: 6px; }
  .heritage-logos[aria-hidden] { display: none; }
}
