/* lyphe.club, in the feel of Opal / one sec: a black page, one big phone per
   section with a soft glow in that feature's colour (the wheel's rings), pill
   labels, a statement that lights up as you read, a live counter of real hours.
   The new app's palette: black and white, brand green on the main action. */

:root {
  --ink: #fff;
  --muted: #8e8e93;
  --soft: rgba(255,255,255,.72);
  --card: #111113;
  --line: rgba(255,255,255,.1);
  --green: #115335;
  --green-hover: #187046;
  --live: #2dbe6c;
  --m: clamp(16px, 3vw, 40px);
  --ease: cubic-bezier(.22, 1, .36, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: #000; overflow-x: clip; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0; background: #000; color: var(--ink); overflow-x: clip;
  font: 400 17px/1.5 -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, "Helvetica Neue", Arial, sans-serif;
  letter-spacing: -.016em; -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 {
  margin: 0; font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", system-ui, "Helvetica Neue", Arial, sans-serif;
  font-weight: 600; letter-spacing: -.03em; line-height: 1.05; text-wrap: balance;
}
p { margin: 0; }
:focus-visible { outline: 2px solid var(--live); outline-offset: 3px; border-radius: 8px; }
a, button { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 999px; background: #fff; color: #000; font-weight: 600; transition: top .2s ease; }
.skip:focus { top: 80px; }

/* ---------- floating pill nav ---------- */
.nav { position: fixed; inset: 14px 0 auto; z-index: 50; padding: 0 var(--m); pointer-events: none; }
.nav-in {
  pointer-events: auto;
  max-width: 1080px; height: 56px; margin: 0 auto; padding: 0 10px 0 22px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  border-radius: 999px;
  background: rgba(22,22,24,.72);
  -webkit-backdrop-filter: saturate(180%) blur(22px); backdrop-filter: saturate(180%) blur(22px);
  box-shadow: inset 0 0 0 1px var(--line);
}
.nav-logo img { height: 21px; width: auto; }
.nav-links { display: flex; gap: clamp(18px, 2.6vw, 34px); list-style: none; margin: 0; padding: 0; font-size: 14px; }
.nav-links a { color: var(--soft); transition: color .2s ease; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: #fff; }
.nav-cta { display: flex; align-items: center; gap: 6px; }
.nav-get { font-size: 14px; font-weight: 600; padding: 9px 18px; border-radius: 999px; background: #fff; color: #000; transition: background-color .2s ease, transform .12s var(--ease); }
.nav-get:hover { background: #e5e5ea; }
.nav-get:active { transform: scale(.97); }
.nav-menu { display: none; width: 40px; height: 40px; border: 0; padding: 0; background: none; color: #fff; cursor: pointer; }
.nav-menu span { display: block; width: 18px; height: 1.5px; margin: 5px auto; background: currentColor; transition: transform .3s var(--ease); }
.nav.open .nav-menu span:first-child { transform: translateY(3.25px) rotate(45deg); }
.nav.open .nav-menu span:last-child { transform: translateY(-3.25px) rotate(-45deg); }
@media (max-width: 860px) {
  .nav-links {
    position: fixed; left: var(--m); right: var(--m); top: 78px;
    flex-direction: column; gap: 0; padding: 14px 24px; border-radius: 28px;
    background: #161618; box-shadow: inset 0 0 0 1px var(--line), 0 30px 60px rgba(0,0,0,.6);
    font-size: 24px; font-weight: 600; letter-spacing: -.02em;
    opacity: 0; visibility: hidden; transform: translateY(-8px) scale(.98);
    transition: opacity .25s ease, transform .3s var(--ease), visibility 0s .3s;
  }
  .nav-links a { display: block; padding: 12px 0; color: #fff; }
  .nav.open .nav-links { opacity: 1; visibility: visible; transform: none; transition: opacity .25s ease, transform .3s var(--ease); }
  .nav-menu { display: block; }
}

/* ---------- shared pieces ---------- */
.lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.45; color: var(--soft); max-width: 36ch; margin-inline: auto; }
.pill {
  display: inline-block; padding: 6px 14px; border-radius: 999px;
  font-size: 14px; font-weight: 500; color: #e5e5ea;
  background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px var(--line);
}
.badge {
  display: inline-flex; align-items: center; gap: 10px;
  height: 56px; padding: 0 22px 0 18px; border-radius: 14px;
  background: #fff; color: #000;
  transition: transform .12s var(--ease), background-color .2s ease;
}
.badge:hover { background: #e5e5ea; }
.badge:active { transform: scale(.97); }
.badge svg { width: 22px; height: 26px; fill: currentColor; margin-top: -3px; }
.badge span { display: grid; text-align: left; font-size: 21px; font-weight: 600; letter-spacing: -.02em; line-height: 1; }
.badge small { font-size: 11px; font-weight: 500; letter-spacing: 0; margin-bottom: 3px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 22px; border-radius: 999px; font-weight: 600; }
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: var(--green-hover); }
.btn-soon { background: #222224; color: var(--muted); cursor: default; }

/* ---------- the phone ---------- */
.phone {
  position: relative; margin: 0 auto;
  width: var(--w, 340px); aspect-ratio: 1206 / 2622;
  padding: calc(var(--w, 340px) * .03);
  border-radius: calc(var(--w, 340px) * .17);
  background: linear-gradient(#2c2c2e, #18181a);
  box-shadow: inset 0 0 0 1.5px #48484a, 0 40px 80px -30px rgba(0,0,0,.9);
}
.screen { position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: calc(var(--w, 340px) * .145); background: #000; }
.screen > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.screen > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; opacity: 0; transition: opacity .4s; }
.screen > video.playing { opacity: 1; }
.status {
  position: absolute; inset: 0 0 auto; height: 6.3%; z-index: 1;
  display: flex; align-items: center; justify-content: space-between; padding: 0 9% 0 12%;
  background-size: 100% 80000%; background-position: top;
  font: 600 calc(var(--w, 340px) * .044)/1 -apple-system, "SF Pro Text", system-ui, sans-serif; color: #fff;
}
.status svg { height: calc(var(--w, 340px) * .036); width: auto; fill: #fff; }
.island { position: absolute; z-index: 2; top: 1.7%; left: 50%; width: 31%; height: 3.6%; transform: translateX(-50%); border-radius: 99px; background: #000; }

/* the glow behind a phone */
.hero-art, .feature-art { position: relative; }
.hero-art::before, .feature-art::before {
  content: ""; position: absolute; z-index: -1; left: 50%; top: 50%; pointer-events: none;
  width: min(760px, 120vw); aspect-ratio: 1; transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, color-mix(in srgb, var(--glow) 46%, transparent), transparent 72%);
  filter: blur(10px);
}

/* ---------- hero ---------- */
.hero {
  position: relative; isolation: isolate;
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 22px;
  padding: clamp(140px, 18vh, 190px) var(--m) 0;
}
.hero h1 { font-size: clamp(52px, 8vw, 104px); letter-spacing: -.045em; }
.hero .badge { margin-top: 6px; }
.hero-art { margin-top: clamp(40px, 6vh, 64px); }
.hero-art .phone { --w: clamp(280px, 30vw, 380px); }

/* ---------- the statement ---------- */
.statement { max-width: 1000px; margin: 0 auto; padding: clamp(160px, 24vh, 260px) var(--m); text-align: center; }
.statement p { font-size: clamp(34px, 4.6vw, 60px); font-weight: 600; letter-spacing: -.035em; line-height: 1.12; text-wrap: balance; }
.statement .w { color: rgba(255,255,255,.18); transition: color .35s ease; }
.statement .w.on { color: #fff; }

/* ---------- features: one big phone each ---------- */
.feature {
  position: relative; isolation: isolate;
  max-width: 1100px; margin: 0 auto; padding: clamp(80px, 12vh, 140px) var(--m);
  display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(32px, 6vw, 96px);
}
.feature-art .phone { --w: clamp(270px, 28vw, 360px); }
.feature-copy { display: grid; justify-items: start; gap: 18px; }
.feature-copy .lead { margin: 0; }
.feature h2 { font-size: clamp(40px, 5vw, 64px); }
.feature:nth-of-type(odd) .feature-art { order: 2; }

/* ---------- numbers ---------- */
.numbers {
  max-width: 1100px; margin: clamp(60px, 10vh, 120px) auto 0; padding: 0 var(--m);
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
}
.numbers div { padding: clamp(28px, 4vw, 48px); border-radius: 32px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); text-align: center; }
.numbers b { display: block; font-size: clamp(56px, 8vw, 104px); font-weight: 600; letter-spacing: -.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.numbers span { display: block; margin-top: 10px; color: var(--muted); }

/* ---------- events ---------- */
.event-block { max-width: 1100px; margin: 0 auto; padding: clamp(140px, 20vh, 220px) var(--m) 0; text-align: center; display: grid; justify-items: center; gap: 20px; }
.event-block h2 { font-size: clamp(40px, 5vw, 64px); }
.ticket {
  margin-top: 24px; width: min(100%, 720px);
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px;
  padding: 20px 20px 20px 24px; border-radius: 28px; text-align: left;
  background: var(--card); box-shadow: inset 0 0 0 1px var(--line);
  transition: background-color .2s ease, transform .12s var(--ease);
}
.ticket:hover { background: #18181b; }
.ticket:active { transform: scale(.99); }
.t-date { display: grid; place-items: center; width: 76px; height: 76px; border-radius: 20px; background: var(--green); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .02em; }
.t-date b { font-size: 32px; line-height: 1; letter-spacing: -.03em; }
.t-body { display: grid; gap: 4px; color: var(--muted); font-size: 15px; }
.t-body b { color: #fff; font-size: 22px; font-weight: 600; letter-spacing: -.02em; }
.t-cta { padding: 10px 18px; border-radius: 999px; background: #fff; color: #000; font-size: 15px; font-weight: 600; white-space: nowrap; transition: transform .12s var(--ease); }
.ticket:hover .t-cta { transform: scale(1.03); }

/* ---------- final ---------- */
.final { position: relative; isolation: isolate; padding: clamp(120px, 16vh, 180px) var(--m) clamp(96px, 12vh, 140px); display: grid; justify-items: center; gap: 28px; text-align: center; }
.final::before { content: ""; position: absolute; z-index: -1; pointer-events: none; left: 50%; top: 40%; width: min(900px, 130vw); aspect-ratio: 1; transform: translate(-50%, -50%); background: radial-gradient(closest-side, color-mix(in srgb, var(--glow) 30%, transparent), transparent 72%); }
.final-tree { width: clamp(140px, 14vw, 190px); height: auto; }
.final h2 { font-size: clamp(48px, 7vw, 96px); letter-spacing: -.045em; }

/* ---------- inner pages ---------- */
.page-head { max-width: 980px; margin: 0 auto; padding: clamp(150px, 20vh, 200px) var(--m) clamp(48px, 6vw, 72px); text-align: center; display: grid; justify-items: center; gap: 18px; }
.page-head h1 { font-size: clamp(48px, 7vw, 88px); letter-spacing: -.045em; }
.events-list { max-width: 980px; margin: 0 auto; padding: 0 var(--m) 96px; }
.event { display: grid; grid-template-columns: 120px 1fr auto; gap: 28px; align-items: center; padding: 28px; border-radius: 32px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.event + .event { margin-top: 12px; }
.event .date { display: grid; place-items: center; aspect-ratio: 1; border-radius: 24px; background: var(--green); }
.event .date b { font-size: 48px; font-weight: 600; letter-spacing: -.03em; line-height: 1; }
.event .date span { font-size: 14px; font-weight: 600; margin-top: -14px; }
.event h2 { font-size: 30px; letter-spacing: -.02em; }
.event p { margin-top: 6px; color: var(--muted); }
.how { max-width: 980px; margin: 0 auto; padding: 40px var(--m) 140px; }
.how h2 { font-size: clamp(32px, 4vw, 48px); margin-bottom: 28px; text-align: center; }
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.how-grid div { padding: 28px; border-radius: 28px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.how-grid h3 { font-size: 21px; }
.how-grid p { margin-top: 8px; color: var(--muted); font-size: 15px; }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.foot-in { max-width: 1080px; margin: 0 auto; padding: 48px var(--m) 96px; }
.foot-logo { height: 26px; width: auto; }
.foot-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 40px 0; }
.foot-cols h3 { font-size: 14px; font-weight: 600; letter-spacing: -.01em; color: #fff; margin-bottom: 12px; }
.foot-cols ul { list-style: none; margin: 0; padding: 0; }
.foot-cols li + li { margin-top: 9px; }
.foot-cols a:hover { color: #fff; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; }

/* ---------- voices ---------- */
.voices { padding: clamp(96px, 12vw, 160px) 0 clamp(72px, 9vw, 120px); overflow-x: clip; }
.voices-head { display: grid; justify-items: center; gap: 18px; text-align: center; padding: 0 24px; margin-bottom: clamp(40px, 5vw, 64px); }
.voices-head h2 { max-width: 18ch; font-size: clamp(40px, 5vw, 64px); }
.voices-row {
  display: flex; gap: 32px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 4px max(24px, calc((100vw - 1200px) / 2)) 24px; cursor: grab;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.voices-row::-webkit-scrollbar { display: none; }
.voices-row.dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
/* the drifting row (site.js): cards ride an inner track moved by a transform */
.voices-row.looping { overflow: hidden; scroll-snap-type: none; cursor: default; }
.voices-row.looping::before, .voices-row.looping::after { display: none; }
.voices-track { display: flex; gap: 32px; flex: none; will-change: transform; }
.voice {
  position: relative; flex: none; width: clamp(260px, 24vw, 310px); aspect-ratio: 3 / 4.2;
  border-radius: 28px; overflow: hidden; scroll-snap-align: center; background: #161618;
  box-shadow: inset 0 0 0 1px var(--line);
}
.voice-pic { position: absolute; inset: 0; }
.voice-hours {
  position: absolute; z-index: 1; top: 16px; left: 16px; margin: 0;
  display: flex; align-items: center; padding: 7px 12px 7px 10px; border-radius: 999px;
  font-size: 13px; font-weight: 600; color: #fff; font-variant-numeric: tabular-nums;
  background: rgba(0,0,0,.45); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.14);
}
.voice-hours img { width: 18px; height: auto; margin-right: 7px; }
.voice-pic img { width: 100%; height: 100%; object-fit: cover; }
.voice-pic-sample { display: grid; place-items: start center; padding-top: 30%; background: linear-gradient(160deg, #2a2a2c, #1a1a1c); color: rgba(255,255,255,.28); font-size: 13px; letter-spacing: .02em; }
.voice-pic-tree { display: grid; place-items: start center; padding: 26% 22% 0; background: radial-gradient(120% 80% at 50% 20%, #1b6b45, #125435 55%, #0d3f28); }
.voice-pic-tree img { height: auto; object-fit: contain; }
.voice-body {
  position: absolute; z-index: 1; inset: auto 0 0; padding: 72px 22px 22px; display: grid; gap: 14px;
  background: linear-gradient(to top, rgba(0,0,0,.88) 30%, rgba(0,0,0,.55) 70%, transparent);
}
.voice-quote { margin: 0; font-size: 17px; line-height: 1.38; color: #fff; letter-spacing: -.005em; }
.voice-who { margin: 0; display: grid; gap: 2px; font-size: 14px; }
.voice-who b { color: #fff; font-weight: 600; }
.voice-who span { color: var(--soft); }

/* ---------- the live counter ---------- */
.counter {
  position: fixed; z-index: 40; left: 50%; bottom: 18px; transform: translateX(-50%);
  pointer-events: none; /* not a button: taps go through to the page */
  display: flex; align-items: center; white-space: nowrap;
  padding: 11px 18px; border-radius: 999px; font-size: 14px; color: var(--soft);
  background: rgba(22,22,24,.78);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  box-shadow: inset 0 0 0 1px var(--line);
  transition: opacity .35s ease, transform .35s var(--ease);
}
.counter.away { opacity: 0; transform: translate(-50%, 12px); pointer-events: none; }
.counter-n { color: #fff; font-weight: 600; font-variant-numeric: tabular-nums; }
.dot { width: 8px; height: 8px; margin-right: 10px; border-radius: 50%; background: var(--live); box-shadow: 0 0 0 0 rgba(45,190,108,.6); animation: live 2s infinite; }
@keyframes live { 70% { box-shadow: 0 0 0 8px rgba(45,190,108,0); } 100% { box-shadow: 0 0 0 0 rgba(45,190,108,0); } }

/* ---------- phones ---------- */
@media (max-width: 860px) {
  .feature { grid-template-columns: 1fr; text-align: center; padding-block: 72px; }
  .feature:nth-of-type(odd) .feature-art { order: 0; }
  .feature-copy { justify-items: center; }
  .feature-copy .lead { margin-inline: auto; }
  .numbers { grid-template-columns: 1fr; }
  .ticket { grid-template-columns: auto 1fr; }
  .t-cta { grid-column: 1 / -1; text-align: center; }
  .event { grid-template-columns: 88px 1fr; }
  .event .btn { grid-column: 1 / -1; }
  .how-grid { grid-template-columns: 1fr; }
  .foot-cols { grid-template-columns: 1fr 1fr; }
}

/* entrance: a short fade up, once */
.js .fade { opacity: 0; transform: translateY(28px); transition: opacity 1s ease, transform 1s var(--ease); }
.js .fade.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .fade { transform: none; transition: opacity .4s ease; }
  .statement .w { color: #fff; }
  .dot { animation: none; }
  .nav-links, .nav-menu span { transition: none; }
}

/* glows never widen the page */
.hero, .feature, .final { overflow-x: clip; }

/* the hero wheel ticks: a live clock laid over the screenshot's own */
.hero .screen { container-type: size; }
.live-clock { position: absolute; inset: 0; z-index: 1; pointer-events: none; font-family: ui-rounded, "SF Pro Rounded", -apple-system, system-ui, sans-serif; font-variant-numeric: tabular-nums; }
.live-clock span { position: absolute; left: 50%; transform: translate(-50%, -50%); white-space: nowrap; line-height: 1; }
.lc-top { top: 34.7%; font-size: 4.6cqh; font-weight: 500; color: #fff; letter-spacing: -.01em; }
.lc-bot { top: 40.75%; font-size: 2.9cqh; font-weight: 500; color: rgba(255,255,255,.78); }

/* ---------- legal pages ---------- */
.legal { max-width: 720px; margin: 0 auto; padding: clamp(140px, 18vh, 180px) var(--m) 120px; }
.legal h1 { font-size: clamp(44px, 6vw, 72px); letter-spacing: -.045em; }
.legal .updated { margin: 14px 0 40px; color: var(--muted); font-size: 15px; }
.legal h2 { margin: 48px 0 12px; font-size: clamp(24px, 2.6vw, 30px); letter-spacing: -.025em; }
.legal p, .legal li { color: var(--soft); font-size: 17px; line-height: 1.6; }
.legal p + p { margin-top: 14px; }
.legal ul { margin: 12px 0 0; padding-left: 20px; }
.legal li + li { margin-top: 10px; }
.legal b { color: #fff; font-weight: 600; }
.legal a { color: var(--live); text-decoration: underline; text-underline-offset: .2em; }

/* ---------- join (invite links land here) ---------- */
.join { position: relative; isolation: isolate; min-height: 100svh; display: grid; place-items: center; padding: 120px var(--m) 120px; }
.join::before { pointer-events: none; content: ""; position: absolute; z-index: -1; left: 50%; top: 32%; width: min(900px, 130vw); aspect-ratio: 1; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(45,190,108,.28), transparent 72%); }
.join-card { width: min(100%, 520px); display: grid; justify-items: center; gap: 18px; text-align: center; }
.join-tree { width: 120px; height: auto; margin-bottom: 6px; }
.join h1 { font-size: clamp(40px, 6vw, 60px); letter-spacing: -.04em; }
.code-box { width: 100%; margin-top: 10px; padding: 26px 24px; border-radius: 28px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.code-box[hidden] { display: none; }
.code-label { font-size: 14px; color: var(--muted); }
.code { margin-top: 8px; font-size: clamp(36px, 6vw, 48px); font-weight: 700; letter-spacing: .14em; font-variant-numeric: tabular-nums; }
.copy { margin-top: 14px; min-height: 40px; padding: 0 20px; border: 0; border-radius: 999px; background: #fff; color: #000; font: 600 15px/1 -apple-system, system-ui, sans-serif; cursor: pointer; transition: transform .12s var(--ease), background-color .2s ease; }
.copy:hover { background: #e5e5ea; }
.copy:active { transform: scale(.97); }
.join-steps { width: 100%; margin: 6px 0 8px; padding: 22px 24px 22px 44px; border-radius: 28px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); text-align: left; color: var(--soft); }
.join-steps li + li { margin-top: 10px; }
.join-steps b { color: #fff; font-weight: 600; }
.nowrap { white-space: nowrap; }
@media (max-width: 480px) {
  .voice { width: 80vw; aspect-ratio: 3 / 4.7; }
  .voice-quote { font-size: 15.5px; line-height: 1.36; }
  .voice-body { padding: 56px 18px 18px; gap: 12px; }
}

/* ---------- about ---------- */
.story { max-width: 760px; margin: 0 auto; padding: 24px var(--m) 96px; }
.story h2, .founders h2 { font-size: clamp(32px, 4vw, 48px); margin-bottom: 24px; text-align: center; }
.story-body p { font-size: clamp(18px, 1.6vw, 20px); line-height: 1.6; color: var(--soft); }
.story-body p + p { margin-top: 1em; }
.story-body .story-turn { color: #fff; font-weight: 600; font-size: clamp(20px, 1.9vw, 24px); letter-spacing: -.01em; }
.founder-role { margin-bottom: 0 !important; }
.placeholder { padding: 18px 20px; border-radius: 18px; border: 1px dashed rgba(255,255,255,.25); color: rgba(255,255,255,.45) !important; font-size: 15px !important; }
.believe { padding-bottom: 96px; }
.founders { max-width: 980px; margin: 0 auto; padding: 0 var(--m) 40px; }
.founders-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.founder { padding: 20px 20px 28px; border-radius: 32px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.founder-pic { aspect-ratio: 4 / 4.4; border-radius: 22px; overflow: hidden; margin-bottom: 20px; }
.founder-pic img { width: 100%; height: 100%; object-fit: cover; }
.founder-pic-sample { display: grid; place-items: center; background: linear-gradient(160deg, #2a2a2c, #1a1a1c); color: rgba(255,255,255,.28); font-size: 13px; }
.founder h3 { font-size: 24px; letter-spacing: -.02em; }
.founder-role { margin: 2px 0 14px; color: var(--muted); font-size: 15px; }
@media (max-width: 640px) { .founders-grid { grid-template-columns: 1fr; } }
.mission { max-width: 980px; margin: 0 auto; padding: clamp(120px, 16vw, 200px) var(--m) 0; text-align: center; display: grid; justify-items: center; gap: 20px; }
.mission h2 { font-size: clamp(44px, 6vw, 80px); letter-spacing: -.045em; max-width: 14ch; }
.mission .lead { max-width: 40ch; }
.mission-link { margin-top: 6px; font-weight: 600; color: #fff; border-bottom: 1px solid rgba(255,255,255,.3); padding-bottom: 2px; transition: border-color .2s ease; }
.mission-link:hover { border-color: #fff; }
.story-n { color: #fff; font-weight: 600; font-variant-numeric: tabular-nums; }
.story-body sup { font-size: .6em; line-height: 0; margin-left: 1px; }
.story-body sup a { color: inherit; text-decoration: none; }
.story-body .story-src { margin-top: 2.5em; font-size: 13px; line-height: 1.5; color: var(--soft); opacity: .7; }
.story-src a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.founders-photo { margin: 0 auto; max-width: 560px; border-radius: 32px; overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); }
.founders-photo img { display: block; width: 100%; height: auto; }
.founders-names { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; max-width: 560px; margin: 18px auto 0; padding: 0 8px; }
.founders-names p { display: grid; gap: 2px; }
.founders-names p + p { text-align: right; }
.founders-names b { font-size: 22px; font-weight: 600; letter-spacing: -.02em; color: #fff; }
.founders-names span { color: var(--muted); font-size: 15px; }
/* centre the row when every card fits; it still scrolls when they don't */
.voices-row::before, .voices-row::after { content: ""; flex: none; margin: auto; }

/* ---------- faq ---------- */
.faq { max-width: 760px; margin: 0 auto; padding: clamp(120px, 14vw, 180px) var(--m) 0; }
.faq h2 { font-size: clamp(40px, 5vw, 64px); text-align: center; margin-bottom: 36px; }
.faq-list { display: grid; gap: 10px; }
.faq-item { border-radius: 22px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; font-size: 18px; font-weight: 600; letter-spacing: -.01em; color: #fff; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; flex: none; font-size: 24px; font-weight: 400; line-height: 1; color: var(--soft); transition: transform .25s var(--ease); }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding: 0 22px 22px; margin: -4px 0 0; color: var(--soft); font-size: 16px; line-height: 1.55; }
.btn-white { background: #fff; color: #000; }
.btn-white:hover { background: #e8e8e8; }
.t-cta.t-cta-soon { background: #222224; color: var(--muted); }
.t-date-soon b, .date-soon b { opacity: .85; }
.t-date-soon b { font-size: 22px; letter-spacing: 0; }
.date-soon b { font-size: 34px; letter-spacing: 0; }

/* ---------- events: the launch leads the page ---------- */
.ev { --cream: #f2ebdc; --ev-green: #1f7a4d; position: relative; z-index: 1; max-width: 1080px; margin: 0 auto; padding: clamp(120px, 15vh, 160px) var(--m) clamp(80px, 10vw, 120px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(36px, 6vw, 88px); align-items: center; }
.ev::before { content: ""; position: absolute; z-index: -1; pointer-events: none; left: 26%; top: 48%; width: min(980px, 140vw); aspect-ratio: 1; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(31,122,77,.42), rgba(17,83,53,.14) 55%, transparent 74%); }
.ev-art { perspective: 1100px; animation: ev-float 7s ease-in-out infinite; }
@keyframes ev-float { 50% { transform: translateY(-8px); } }
.ev-tilt { position: relative; border-radius: 22px; transform: rotate(-2.5deg) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transform-style: preserve-3d; will-change: transform; box-shadow: 0 50px 90px -20px rgba(0,0,0,.75), 0 18px 36px -12px rgba(0,0,0,.6); }
.ev-flyer { display: block; width: 100%; height: auto; border-radius: inherit; }
.ev-sheen { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: var(--lo, 0); transition: opacity .5s ease; mix-blend-mode: screen; background: radial-gradient(circle at var(--lx, 30%) var(--ly, 20%), rgba(255,250,235,.28), rgba(255,250,235,.06) 35%, transparent 60%); box-shadow: inset 0 1px 0 rgba(255,255,255,.1); }
.ev-info { display: grid; justify-items: start; }
.ev-kicker { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--cream); opacity: .75; }
.ev-info h1 { margin-top: 12px; font-size: clamp(46px, 6.2vw, 80px); letter-spacing: -.045em; line-height: .98; }
.countdown { margin-top: 28px; display: grid; grid-template-columns: repeat(4, auto); gap: clamp(18px, 2.6vw, 30px); }
.countdown div { display: grid; gap: 4px; }
.countdown b { font-size: clamp(38px, 4.6vw, 56px); font-weight: 600; letter-spacing: -.03em; line-height: 1; color: var(--cream); font-variant-numeric: tabular-nums; perspective: 300px; }
.countdown b i { display: inline-block; font-style: normal; transform-origin: 50% 60%; backface-visibility: hidden; }
.countdown b i.flip { animation: ev-flip .5s cubic-bezier(.2,.9,.25,1.15); }
@keyframes ev-flip { from { transform: rotateX(-95deg) translateY(-10%); opacity: .15; } }
.countdown span { font-size: 13px; color: var(--muted); }
.countdown[hidden], .ev-now[hidden], .ev-going[hidden] { display: none; }
.ev-now { margin-top: 28px; font-size: 28px; font-weight: 600; color: var(--cream); }
.ev-details { list-style: none; margin: 34px 0 0; padding: 0; display: grid; gap: 18px; }
.ev-details li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: center; }
.ev-details svg { width: 44px; height: 44px; padding: 11px; border-radius: 14px; background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px var(--line); fill: none; stroke: #fff; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ev-details b { display: block; font-weight: 600; font-size: 17px; }
.ev-details span { display: block; color: var(--muted); font-size: 15px; margin-top: 1px; }
.ev-details a { color: #fff; border-bottom: 1px solid rgba(255,255,255,.3); transition: border-color .2s ease; }
.ev-details a:hover { border-color: #fff; }
.ev-going { margin-top: 26px; display: flex; align-items: center; gap: 12px; font-weight: 600; }
.ev-faces { display: flex; }
.ev-faces span { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 700; letter-spacing: .02em; color: var(--cream); background: var(--ev-green); box-shadow: 0 0 0 2.5px #000; }
.ev-faces span:nth-child(3n+2) { background: #2a2a2c; color: #fff; }
.ev-faces span:nth-child(3n) { background: var(--cream); color: #0d3a26; }
.ev-faces span + span { margin-left: -5px; }
.ev-faces span.pop { animation: ev-pop .6s cubic-bezier(.2,1.4,.4,1); }
@keyframes ev-pop { from { transform: scale(.2); opacity: 0; } }
.ev-rsvp.is-going.cheer { animation: ev-cheer .7s var(--ease); }
@keyframes ev-cheer { 30% { transform: scale(1.04); box-shadow: 0 0 0 6px rgba(45,190,108,.35); } }
.burst { position: absolute; width: 30px; height: auto; pointer-events: none; z-index: 5; }
.sheet-done h2 { animation: ev-rise .5s var(--ease); }
@keyframes ev-rise { from { transform: translateY(10px); opacity: 0; } }
.ev-cta { margin-top: 30px; width: 100%; }
.ev-rsvp { width: 100%; max-width: 360px; min-height: 58px; border: 0; border-radius: 999px; background: var(--live); color: #04180d; font: 600 18px/1 -apple-system, system-ui, sans-serif; letter-spacing: -.01em; cursor: pointer; box-shadow: 0 12px 30px -10px rgba(45,190,108,.55); transition: transform .12s var(--ease), background-color .2s ease, box-shadow .2s ease; }
.ev-rsvp:hover { background: #3fcf7c; }
.ev-rsvp:active { transform: scale(.98); }
.ev-rsvp.is-going { background: #1c1c1e; color: #fff; box-shadow: inset 0 0 0 1px var(--line); }

/* the RSVP sheet: a centred card, a bottom sheet on phones */
.sheet { width: min(440px, calc(100vw - 2 * var(--m))); padding: 0; border: 0; border-radius: 30px; background: #161618; color: #fff; box-shadow: inset 0 0 0 1px var(--line), 0 40px 100px rgba(0,0,0,.7); overflow: visible; }
.sheet::backdrop { background: rgba(0,0,0,.62); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.sheet[open] { animation: sheet-in .38s var(--ease); }
.sheet[open]::backdrop { animation: fade-in .3s ease; }
@keyframes sheet-in { from { opacity: 0; transform: translateY(16px) scale(.98); } }
@keyframes fade-in { from { opacity: 0; } }
.sheet-form, .sheet-done { position: relative; padding: 30px 26px 26px; display: grid; gap: 14px; }
.sheet-form[hidden], .sheet-done[hidden] { display: none; }
.sheet h2 { font-size: 30px; letter-spacing: -.03em; padding-right: 36px; }
.sheet-sub { margin-top: -6px; color: var(--soft); }
.field { display: grid; gap: 6px; font-size: 14px; color: var(--muted); }
.field input { width: 100%; min-height: 52px; padding: 0 16px; border: 0; border-radius: 16px; background: #222224; color: #fff; font: 400 17px/1.2 -apple-system, system-ui, sans-serif; box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .2s ease; }
.field input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--live); }
.field input[aria-invalid="true"] { box-shadow: inset 0 0 0 2px #ff453a; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.sheet-msg:empty { display: none; }
.sheet-msg { color: #ff453a; font-size: 15px; }
.sheet-btn { display: grid; place-items: center; text-decoration: none; width: 100%; min-height: 54px; margin-top: 4px; border: 0; border-radius: 999px; background: var(--live); color: #04180d; font: 600 17px/1 -apple-system, system-ui, sans-serif; cursor: pointer; transition: transform .12s var(--ease), opacity .2s ease, background-color .2s ease; }
.sheet-btn:active { transform: scale(.98); }
.sheet-btn:disabled { opacity: .6; cursor: default; }
.sheet-btn-white { background: #fff; color: #000; }
.sheet-wallet { display: flex; gap: 10px; background: #000; color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.28); }
.sheet-wallet[hidden] { display: none; }
.sheet-wallet svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.sheet-note { color: var(--muted); font-size: 12.5px; line-height: 1.45; text-align: center; }
.sheet-note a { color: var(--soft); text-decoration: underline; text-underline-offset: .15em; }
.sheet-link { justify-self: center; padding: 6px; border: 0; background: none; color: var(--soft); font: 500 15px/1.4 -apple-system, system-ui, sans-serif; cursor: pointer; }
.sheet-link:hover { color: #fff; }
.sheet-x { position: absolute; top: 18px; right: 18px; width: 36px; height: 36px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(255,255,255,.08); cursor: pointer; }
.sheet-x svg { width: 16px; height: 16px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; }

@media (max-width: 820px) {
  .ev { grid-template-columns: 1fr; padding-top: 100px; gap: 32px; }
  .ev::before { left: 50%; top: 22%; }
  .ev-art { width: min(62vw, 300px); justify-self: center; }
  .ev-flyer { border-radius: 18px; }
  .ev-cta { position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; margin: 0; padding: 14px var(--m) calc(14px + env(safe-area-inset-bottom)); background: linear-gradient(to top, rgba(0,0,0,.92) 55%, transparent); }
  .ev-rsvp { max-width: none; }
  .ev { padding-bottom: 150px; }
  .sheet { margin: auto auto 0; width: 100%; max-width: 100%; border-radius: 28px 28px 0 0; padding-bottom: env(safe-area-inset-bottom); }
  @keyframes sheet-in { from { transform: translateY(100%); } }
}
@media (prefers-reduced-motion: reduce) {
  .ev-art, .countdown b i.flip, .ev-faces span.pop, .ev-rsvp.cheer, .sheet-done h2 { animation: none; }
  .ev-tilt { transform: rotate(-2.5deg); }
  .sheet[open], .sheet[open]::backdrop { animation: none; }
}


/* ---------- promo banner (one line of markup per page; delete it and this still works) ---------- */
body:has(> .promo) { --promo: 36px; }
.promo {
  position: fixed; inset: 0 0 auto; z-index: 60; height: var(--promo);
  display: flex; align-items: center; justify-content: center; gap: 12px; padding: 0 var(--m);
  background: var(--green); color: #fff; font-size: 13.5px; white-space: nowrap; overflow: hidden;
  transition: background-color .2s ease;
}
.promo:hover { background: var(--green-hover); }
.promo b { font-weight: 600; }
.promo span:first-child { overflow: hidden; text-overflow: ellipsis; }
.promo-cta { font-weight: 600; flex: none; }
body:has(> .promo) .nav { top: calc(var(--promo) + 10px); }
body:has(> .promo) main { padding-top: var(--promo); }
body:has(> .promo) .skip:focus { top: calc(var(--promo) + 80px); }
@media (max-width: 400px) { .promo { font-size: 12.5px; gap: 8px; } }
