/* Coach Busra — black, white and glass (Apple-like glassmorphism, after the moto-card references).
   Home: 3D carousel → light sheet (who coaches you + approach) → black pricing → challenges → globe of the runs + run overview → light onboarding with a black card → footer.
   Subpages share a lens-like hero, split sections, cards, the FAQ and the footer; Tim floats on his cloud above everything. */
:root {
  --bg: #000000;
  --fg: #DCE0E5;
  --fg-dim: rgba(220, 224, 229, .62);
  --fg-faint: rgba(220, 224, 229, .45);
  --line: rgba(220, 224, 229, .14);
  --paper: #E8EAE6;
  --light: #F5F5F7;
  --hi: #FFFFFF;
  --hi-2: #B9BEC5;
  --hi-grad: linear-gradient(90deg, rgba(255, 255, 255, .35), #FFFFFF);
  --glass-dark: rgba(34, 37, 43, .5);
  --glass-light: rgba(255, 255, 255, .86);
  --ink: #121517;
  --ink-dim: #4A5057;
  --line-ink: rgba(18, 21, 23, .12);
  --accent: #C3CAD2;
  --accent-ink: #55606B;
  --flash: #F6F7F9;
  --steel-grad: linear-gradient(135deg, #7F878F 0%, #D5DAE0 38%, #9AA2AB 52%, #E4E8EC 100%);
  --glass: rgba(255, 255, 255, .07);
  --glass-edge: rgba(255, 255, 255, .16);
  --glass-top: rgba(255, 255, 255, .28);
  --display: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --sans: "Jost", "Futura", "Avenir Next", system-ui, sans-serif;
  --gutter: clamp(20px, 5vw, 72px);
  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
body { overflow-x: clip; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 400 1rem/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--display); font-weight: 400; margin: 0; font-optical-sizing: auto; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: 16px; z-index: 300; padding: 12px 18px; border-radius: 999px; background: var(--fg); color: var(--ink); font-weight: 600; transform: translateY(-180%); transition: transform .3s var(--ease); }
.skip:focus-visible { transform: none; }
.eyebrow { font: 500 .74rem/1.4 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--fg-dim); }
.wrap { max-width: 1240px; margin: 0 auto; }
.wrap--narrow { max-width: 880px; }
.ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.is-transitioning a, .is-transitioning button { pointer-events: none; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.cta-row--center { justify-content: center; margin-top: clamp(40px, 7vh, 64px); }
.ico-check { width: 18px; height: 18px; flex: none; }

/* motion text: hidden until split, then revealed line by line / char by char */
.js [data-motion-text] { visibility: hidden; }
.js [data-motion-fade] { opacity: 0; }
.ln, .wrd, .chr { will-change: transform; }

/* film grain */
.grain { position: fixed; inset: 0; z-index: 120; pointer-events: none; opacity: .055; background-size: 260px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0.6 0 0 0 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* progress: steel into sunrise */
.progress { position: fixed; top: env(safe-area-inset-top, 0px); left: 0; right: 0; height: 2px; background: linear-gradient(90deg, rgba(255, 255, 255, .25), #FFFFFF); transform-origin: 0 50%; transform: scaleX(0); z-index: 115; }

/* nav */
.nav { --nav-h: 54px; position: fixed; top: 0; left: 0; right: 0; z-index: 110; display: flex; justify-content: center; padding: calc(14px + env(safe-area-inset-top, 0px)) var(--gutter) 0; pointer-events: none; }
.nav-end { position: absolute; right: var(--gutter); top: calc(14px + env(safe-area-inset-top, 0px)); height: var(--nav-h); display: flex; align-items: center; gap: 10px; pointer-events: auto; }
.nav-pill { pointer-events: auto; display: flex; align-items: center; min-height: var(--nav-h); gap: clamp(12px, 2.4vw, 30px); padding: 6px 24px; border-radius: 999px;
  background: rgba(10, 11, 13, .5); backdrop-filter: blur(22px) saturate(160%); -webkit-backdrop-filter: blur(22px) saturate(160%);
  border: 1px solid var(--glass-edge); box-shadow: inset 0 1px 0 var(--glass-top), 0 10px 40px rgba(0, 0, 0, .28); transition: background .5s, border-color .5s, box-shadow .5s; }
.js .nav > * { opacity: 0; transform: translateY(-16px); }
.nav.is-scrolled .nav-pill { background: rgba(10, 11, 13, .7); }
.nav-links { display: flex; gap: clamp(10px, 2vw, 24px); }
.nav-links a { font: 500 .8rem/1 var(--sans); color: var(--fg-dim); position: relative; padding: 10px 2px; transition: color .3s; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 5px; height: 1px; background: var(--hi); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--fg); }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.menu-btn { display: none; align-items: center; min-height: 38px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--glass-edge); background: var(--glass-dark); backdrop-filter: blur(20px) saturate(160%); -webkit-backdrop-filter: blur(20px) saturate(160%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14); color: var(--fg); font: 500 .8rem/1 var(--sans); cursor: pointer; transition: color .5s, border-color .5s, background-color .5s; }
/* over the warm sections the glass turns light */
.nav.is-light .nav-pill { background: rgba(255, 255, 255, .62); border-color: rgba(18, 21, 23, .1); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), 0 10px 40px rgba(0, 0, 0, .1); }
.nav.is-light .menu-btn { color: var(--ink); }
.nav.is-light .menu-btn { border-color: rgba(18, 21, 23, .18); }
.nav.is-light .nav-links a { color: var(--ink-dim); }
.nav.is-light .nav-links a:hover, .nav.is-light .nav-links a[aria-current="page"] { color: var(--ink); }
.nav.is-light .nav-links a::after { background: var(--ink); }
.nav.is-light .nav-cta { background: rgba(17, 19, 22, .86); border-color: rgba(17, 19, 22, .2); }
.nav.is-light .menu-btn { background: rgba(255, 255, 255, .6); }
@media (max-width: 760px) { .nav-pill { display: none; } .menu-btn { display: inline-flex; } }
.menu { position: fixed; inset: 0; z-index: 105; display: grid; place-items: center; align-content: center; gap: 40px; padding: var(--gutter); background: rgba(0, 0, 0, .86); backdrop-filter: blur(24px) saturate(140%); -webkit-backdrop-filter: blur(24px) saturate(140%); }
.menu nav { display: grid; gap: 14px; text-align: center; }
.menu nav a { font-family: var(--display); font-style: italic; font-size: clamp(2.2rem, 9vw, 3.4rem); line-height: 1.1; color: var(--fg); transition: letter-spacing .5s var(--ease), color .3s; }
.menu nav a:hover { letter-spacing: .05em; }
.menu a[aria-current="page"] { color: var(--fg-dim); }
.menu-small { display: flex; gap: 22px; justify-content: center; font-size: .85rem; color: var(--fg-dim); }

/* buttons: brushed steel with a gleam that moves on hover */
.btn { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 24px; border-radius: 999px; font: 500 .88rem/1 var(--sans); letter-spacing: .01em; cursor: pointer; border: 1px solid transparent; -webkit-tap-highlight-color: transparent; will-change: transform;
  transition: background-color .35s, border-color .35s, color .3s, box-shadow .35s; }
.btn svg { width: 14px; height: 14px; margin-right: -4px; transition: transform .4s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-solid { color: #0B0B0C; background: var(--glass-light); border-color: rgba(255, 255, 255, .7); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .95), 0 12px 30px -14px rgba(0, 0, 0, .6);
  backdrop-filter: blur(20px) saturate(180%); -webkit-backdrop-filter: blur(20px) saturate(180%); }
.btn-solid:hover { background-color: #FFFFFF; box-shadow: inset 0 1px 0 #FFFFFF, 0 16px 40px -14px rgba(255, 255, 255, .28); }
.btn-ghost { color: #FFFFFF; background: var(--glass-dark); border-color: rgba(255, 255, 255, .16); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), 0 12px 30px -16px rgba(0, 0, 0, .7);
  backdrop-filter: blur(22px) saturate(170%); -webkit-backdrop-filter: blur(22px) saturate(170%); }
.btn-ghost:hover { background-color: rgba(64, 69, 79, .58); border-color: rgba(255, 255, 255, .3); }
.btn-ink { background: var(--ink); color: #F6EFE6; box-shadow: 0 14px 30px -14px rgba(18, 21, 23, .7); }
.btn-ink:hover { background: #000; }
.btn-line { color: var(--ink); border-color: rgba(18, 21, 23, .22); background: transparent; }
.btn-line:hover { border-color: var(--ink); }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: .8rem; }
@media (hover: none) { .btn:active { transform: scale(.97); } }
.link-arrow { display: inline-flex; gap: 10px; align-items: center; font-weight: 500; padding-bottom: 6px; border-bottom: 1px solid var(--line); transition: border-color .3s, gap .45s var(--ease); }
.link-arrow svg { width: 14px; height: 14px; }
.link-arrow:hover { gap: 16px; border-color: var(--hi); }

/* custom cursor (fine pointers only) */
html.has-cursor body, html.has-cursor a, html.has-cursor button, html.has-cursor label, html.has-cursor summary { cursor: none; }
.cursor { position: fixed; inset: 0; z-index: 140; pointer-events: none; opacity: 0; transition: opacity .3s; mix-blend-mode: difference; }
.cursor.is-on { opacity: 1; }
.cursor.is-field { opacity: 0; }
.cursor-ring, .cursor-dot { position: fixed; left: 0; top: 0; border-radius: 50%; }
.cursor-ring { width: 36px; height: 36px; margin: -18px 0 0 -18px; border: 1px solid #fff; display: grid; place-items: center; transition: width .45s var(--ease), height .45s var(--ease), margin .45s var(--ease), background-color .3s, scale .3s var(--ease); }
.cursor-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: #fff; transition: opacity .2s; }
.cursor.is-link .cursor-ring { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: #fff; }
.cursor.is-link .cursor-dot, .cursor.is-label .cursor-dot { opacity: 0; }
.cursor.is-label .cursor-ring { width: 96px; height: 96px; margin: -48px 0 0 -48px; background: #fff; }
.cursor-label { font: 600 .66rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: #000; opacity: 0; transition: opacity .2s; }
.cursor.is-label .cursor-label { opacity: 1; }
.cursor.is-down .cursor-ring { scale: .85; }

/* pages */
.page { position: relative; min-height: 100vh; min-height: 100svh; background: var(--bg); overflow-x: clip; }
.page-in { position: relative; min-height: 100vh; min-height: 100svh; }
.sheet { will-change: transform; }
.sec { position: relative; padding: clamp(100px, 14vh, 170px) var(--gutter); }
.sec--tight { padding-block: clamp(70px, 10vh, 120px); }
.sec-head { display: grid; gap: 14px; margin-bottom: clamp(40px, 7vh, 72px); max-width: 780px; }
.sec-title { font: italic 400 clamp(2.3rem, 4.8vw, 4.4rem)/1.02 var(--display); letter-spacing: -.02em; }
.sec-lead { color: var(--fg-dim); max-width: 58ch; line-height: 1.65; font-size: 1.05rem; }
.sec-note { margin-top: 40px; color: var(--fg-dim); }
.sec-note a { color: var(--fg); text-decoration: underline; text-underline-offset: 3px; }

/* 01 hero: on-scroll 3D carousel with the four photos; the stage leans towards the pointer */
.scene3d { --cw: min(400px, 68vw); --ch: min(500px, 85vw); --r: calc(var(--cw) * 1.25);
  position: relative; height: 100vh; height: 100svh; perspective: 900px; overflow: hidden; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 0 var(--gutter); }
.scene-copy { position: relative; z-index: 10; display: flex; flex-direction: column; align-items: center; gap: 18px; will-change: transform, opacity; }
.scene-copy::before { content: ""; position: absolute; inset: -20% -14%; z-index: -1; background: radial-gradient(closest-side, rgba(0, 0, 0, .55), rgba(0, 0, 0, 0)); pointer-events: none; }
.scene-title { font-size: clamp(2.4rem, 6vw, 5.6rem); font-style: italic; line-height: 1.05; letter-spacing: -.02em; max-width: 15ch; text-wrap: balance; text-shadow: 0 2px 30px rgba(0, 0, 0, .6); }
.scene-lead { max-width: 44ch; color: rgba(236, 239, 242, .88); font-size: clamp(1rem, 1.25vw, 1.15rem); line-height: 1.55; text-shadow: 0 1px 18px rgba(0, 0, 0, .8); }
.stage3d { position: absolute; inset: 0; transform-style: preserve-3d; will-change: transform; }
.carousel { position: absolute; width: var(--cw); height: var(--ch); top: 50%; left: 50%; margin: calc(var(--ch) / -2) 0 0 calc(var(--cw) / -2); transform-style: preserve-3d; will-change: transform; transform: translateZ(-550px); }
.cell { position: absolute; left: 6%; top: 8%; width: 88%; height: 84%; transform-style: preserve-3d; }
.cell:nth-child(1) { transform: rotateY(0deg) translateZ(var(--r)); }
.cell:nth-child(2) { transform: rotateY(90deg) translateZ(var(--r)); }
.cell:nth-child(3) { transform: rotateY(180deg) translateZ(var(--r)); }
.cell:nth-child(4) { transform: rotateY(270deg) translateZ(var(--r)); }
.ccard { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; will-change: transform, filter; }
.face { position: absolute; inset: 0; border-radius: 10px; overflow: hidden; backface-visibility: hidden; -webkit-backface-visibility: hidden; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.face.back { transform: rotateY(180deg); }
.chip { position: absolute; z-index: 9; display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 999px; background: rgba(10, 11, 13, .45); border: 1px solid var(--glass-edge);
  backdrop-filter: blur(18px) saturate(150%); -webkit-backdrop-filter: blur(18px) saturate(150%); box-shadow: inset 0 1px 0 var(--glass-top), 0 12px 40px rgba(0, 0, 0, .35); font: 500 .78rem/1 var(--sans); letter-spacing: .04em; will-change: transform; }
.chip b { font: italic 400 1.35rem/1 var(--display); color: var(--hi); }
.chip--a { left: 8%; top: 24%; }
.chip--b { right: 7%; bottom: 18%; }
.chip-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--hi); }
.scroll-cue { position: absolute; left: 50%; bottom: calc(22px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); z-index: 10; display: flex; flex-direction: column; align-items: center; gap: 10px; font: 500 .66rem/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--fg-dim); pointer-events: none; }
.scroll-cue i { position: relative; width: 1px; height: 42px; overflow: hidden; background: linear-gradient(rgba(220, 224, 229, .35), transparent); }
.scroll-cue i::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--hi); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { to { top: 110%; } }
@media (max-width: 760px) { .chip { display: none; } }

/* 01 light sheet over the stage: who coaches you (same introduction as on the program page) */
.on-paper { background: var(--light); color: var(--ink); }
.on-paper .eyebrow { color: var(--ink-dim); }
.ansatz { position: relative; z-index: 2; margin-top: -40px; border-radius: 40px 40px 0 0; padding: clamp(100px, 14vh, 180px) var(--gutter) clamp(140px, 18vh, 210px); }
.split--inset { padding: 0; max-width: none; }
.on-paper .media { background: #DCDFE3; box-shadow: 0 50px 90px -50px rgba(18, 21, 23, .45); }
.on-paper .split-copy p:not(.eyebrow) { color: var(--ink-dim); }
.on-paper .link-arrow { border-color: var(--line-ink); }
.on-paper .link-arrow:hover { border-color: var(--ink); }


/* preise: black stage with two glass price cards */
.preise { position: relative; z-index: 3; min-height: 100vh; min-height: 100svh; overflow: hidden; background: var(--bg); margin-top: -40px; border-radius: 40px 40px 0 0; }
.preise--page { margin-top: 0; border-radius: 0; background: radial-gradient(70% 55% at 50% 0%, rgba(255, 255, 255, .14), rgba(255, 255, 255, 0) 70%), var(--bg); }
.preise-in { position: relative; z-index: 2; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: clamp(28px, 5vh, 48px); padding: calc(120px + env(safe-area-inset-top, 0px)) var(--gutter) calc(100px + env(safe-area-inset-bottom, 0px)); }
.preise-head { display: grid; gap: 14px; }
.preise-title { font-size: clamp(2.6rem, 6.4vw, 6rem); line-height: 1; letter-spacing: -.02em; font-style: italic; }
.plans { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; perspective: 1200px; }
.plan { position: relative; overflow: hidden; width: min(100%, 330px); display: flex; flex-direction: column; gap: 10px; padding: 28px; border-radius: 22px; text-align: left; will-change: transform, opacity; transform-style: preserve-3d;
  background: rgba(8, 9, 11, .58); border: 1px solid var(--glass-edge); box-shadow: inset 0 1px 0 var(--glass-top), 0 30px 60px rgba(0, 0, 0, .45);
  backdrop-filter: blur(22px) saturate(140%); -webkit-backdrop-filter: blur(22px) saturate(140%); }
.plan > * { position: relative; }
.plan::before, .card::before, .stat::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .5s;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .14), transparent 60%); }
.plan:hover::before, .card:hover::before, .stat:hover::before { opacity: 1; }
.plan--primary { border-color: rgba(255, 255, 255, .34); box-shadow: inset 0 1px 0 var(--glass-top), 0 30px 60px rgba(0, 0, 0, .45), 0 0 70px -30px rgba(255, 255, 255, .3); }
.js .plan { opacity: 0; }
.plan-name { display: flex; align-items: center; justify-content: space-between; gap: 10px; font: 500 .74rem/1.4 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--fg-dim); }
.plan-badge { padding: 5px 9px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .35); color: var(--fg); font-size: .6rem; letter-spacing: .14em; }
.plan-price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-top: 6px; }
.plan-price .amount { font-family: var(--display); font-size: clamp(2.6rem, 4.6vw, 3.6rem); line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.plan-price .per { color: var(--fg-dim); font-size: .95rem; }
.plan-note { color: var(--fg-dim); line-height: 1.5; min-height: 3em; }
.plan .btn { align-self: flex-start; margin-top: 8px; }
.preise-note { color: var(--fg-dim); font-size: .9rem; display: flex; flex-wrap: wrap; gap: 8px 12px; justify-content: center; align-items: center; }
.preise-note a { text-decoration: underline; text-underline-offset: 3px; color: var(--fg); }
.free-tag { padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .5); color: var(--hi); font-weight: 500; font-size: .78rem; letter-spacing: .06em; }
.preise-lead { max-width: 36ch; margin: 4px auto 0; color: var(--fg-dim); line-height: 1.55; }
/* Ort: the meeting point on a glass card with a fine grid, next to photos from the park */
.spot { width: min(100%, 1100px); display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: repeat(2, clamp(170px, 21vw, 250px)); gap: 14px; text-align: left; }
.spot-map { grid-row: 1 / 3; position: relative; overflow: hidden; border-radius: 24px; border: 1px solid var(--glass-edge); box-shadow: inset 0 1px 0 var(--glass-top), 0 30px 60px rgba(0, 0, 0, .45);
  background: radial-gradient(55% 55% at 50% 45%, rgba(255, 255, 255, .1), rgba(255, 255, 255, 0) 70%), linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px) 0 0 / 34px 34px, linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px) 0 0 / 34px 34px, #08090B; }
.spot-ph { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 24px; text-align: center; }
.spot-k { font: 500 .74rem/1.4 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--fg-dim); }
.spot-addr { font: italic 400 clamp(1.7rem, 3vw, 2.5rem)/1.1 var(--display); letter-spacing: -.01em; }
.spot-img { position: relative; margin: 0; overflow: hidden; border-radius: 24px; border: 1px solid var(--glass-edge); background: #0c0d0f; }
.spot-img img { position: absolute; left: 0; top: -10%; width: 100%; height: 120%; object-fit: cover; will-change: transform; }
.spot-img--tall { grid-row: 1 / 3; }
@media (max-width: 760px) {
  .spot { grid-template-columns: 1fr 1fr; grid-template-rows: none; }
  .spot-map { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 1 / 1; }
  .spot-img, .spot-img--tall { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 4 / 5; }
}

/* 03 coach */
.coach { position: relative; z-index: 3; background: var(--bg); }
.coach-body { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 6vw, 100px); align-items: start; padding: clamp(100px, 14vh, 160px) var(--gutter); }
.coach-text { display: grid; gap: 16px; }
.coach-lead { font: italic 400 clamp(2rem, 3.6vw, 3.4rem)/1.08 var(--display); letter-spacing: -.015em; margin-bottom: 12px; max-width: 18ch; }
.coach-text > p:not(.coach-lead) { color: var(--fg-dim); max-width: 52ch; line-height: 1.7; }
.coach-text .cta-row { margin-top: 14px; }
/* the leap: his first 85 km next to the 330 km that come next */
.leap { display: grid; gap: 16px; max-width: 540px; margin: 12px 0 10px; }
.leap-row { display: grid; grid-template-columns: 150px minmax(0, 1fr) auto; align-items: center; gap: 18px; }
.leap-l { display: grid; gap: 4px; font: 500 .95rem/1.2 var(--sans); color: var(--fg); }
.leap-l em { font: 500 .66rem/1.2 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--fg-faint); }
.leap-bar { position: relative; height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.leap-bar i { position: absolute; left: 0; top: 0; bottom: 0; width: calc(var(--w) * 100%); border-radius: inherit; background: rgba(255, 255, 255, .7); transform-origin: 0 50%; }
.leap-row--next .leap-bar i { background: linear-gradient(90deg, rgba(255, 255, 255, .5), #FFFFFF); box-shadow: 0 0 18px rgba(255, 255, 255, .45); }
.leap-v { min-width: 3.4em; text-align: right; font: italic 400 1.55rem/1 var(--display); letter-spacing: -.01em; color: #FFFFFF; font-variant-numeric: tabular-nums; }
@media (max-width: 520px) { .leap-row { grid-template-columns: minmax(0, 1fr) auto; row-gap: 10px; } .leap-bar { grid-column: 1 / -1; order: 3; } }

/* stats: odometer numbers on glass tiles */
.stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 14px; }
.stat { position: relative; overflow: hidden; min-height: 180px; padding: 26px 24px; border-radius: 20px; display: flex; flex-direction: column; justify-content: space-between; background: linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .015)); border: 1px solid var(--line); will-change: transform; }
.stat-v { font: 400 clamp(2.6rem, 4.4vw, 4.2rem)/1 var(--display); letter-spacing: -.02em; display: flex; align-items: flex-start; }
.stat-v sup { font-size: .45em; color: var(--hi); margin-left: 3px; line-height: 1; }
.stat-v small { align-self: flex-end; font: 500 .9rem/1 var(--sans); margin: 0 0 .35em 8px; color: var(--fg-dim); letter-spacing: .08em; }
.stat-v em { font-size: clamp(1.7rem, 2.3vw, 2.35rem); line-height: 1.1; overflow-wrap: anywhere; }
.stat-l { color: var(--fg-dim); font-size: .92rem; line-height: 1.45; margin-top: 18px; }
.odo { display: inline-flex; line-height: 1; }
.odo-d { display: inline-block; height: 1.05em; overflow: hidden; }
.odo-s { display: flex; flex-direction: column; will-change: transform; }
.odo-s > span { display: block; height: 1.05em; line-height: 1.05; }

/* 04 runs: a night earth inside a ring of running photos, pinned; the texts change with the camera */
.journey { position: relative; z-index: 3; background: #000; }
.journey-pin { position: relative; height: 100vh; height: 100svh; overflow: hidden; }
.journey-stage { position: absolute; inset: 0; }
.earth-gl, .earth-ui { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.earth-gl { opacity: 0; transition: opacity 1.6s var(--ease); }
.journey.is-ready .earth-gl { opacity: 1; }
.journey-fade { position: absolute; left: 0; right: 0; bottom: 0; height: 34%; background: linear-gradient(to top, #000 16%, rgba(0, 0, 0, 0)); pointer-events: none; }
.jv, .journey-stops .stop { position: absolute; z-index: 2; pointer-events: none; text-shadow: 0 2px 30px rgba(0, 0, 0, .85); }
.jv a { pointer-events: auto; text-shadow: none; }
.jv--intro { top: calc(100px + 6vh); left: 50%; width: min(92vw, 980px); transform: translateX(-50%); display: grid; gap: 14px; justify-items: center; text-align: center; }
.jv-title { font: italic 400 clamp(2.4rem, 5.6vw, 5.4rem)/1 var(--display); letter-spacing: -.02em; }
.jv--ring, .jv--outro { left: var(--gutter); top: 50%; transform: translateY(-50%); max-width: min(460px, 40vw); display: grid; gap: 16px; justify-items: start; }
.jv--ring { top: calc(104px + 6vh); transform: none; max-width: min(520px, 46vw); }
.jv-big { font: italic 400 clamp(2.2rem, 4.4vw, 4.2rem)/1.02 var(--display); letter-spacing: -.02em; }
.jv-sub { color: var(--fg-dim); line-height: 1.6; max-width: 36ch; }
.jv--outro .btn { margin-top: 6px; }
.journey-stops { list-style: none; margin: 0; padding: 0; }
.journey-stops .stop { top: 50%; width: min(420px, 34vw); transform: translateY(-50%); }
.journey-stops .stop:nth-child(odd) { left: var(--gutter); }
.journey-stops .stop:nth-child(even) { right: var(--gutter); text-align: right; }
.journey-stops .stop:nth-child(even) .stop-meta, .journey-stops .stop:nth-child(even) .stop-fig--big { justify-content: flex-end; }
.journey-stops .stop:nth-child(even) .stop-text { margin-left: auto; }
.stop-meta { display: flex; gap: 14px; align-items: center; font: 500 .72rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--fg-dim); }
.stop-tag { padding: 7px 12px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .2); background: rgba(34, 37, 43, .45); color: #FFFFFF; letter-spacing: .14em; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); text-shadow: none; }
.stop-place { font: italic 400 clamp(3rem, 6.2vw, 6.2rem)/.95 var(--display); letter-spacing: -.03em; margin: 18px 0 16px; }
.stop-text { color: rgba(236, 239, 242, .78); max-width: 34ch; line-height: 1.65; font-size: 1.02rem; }
.stop-fig { margin-top: 22px; font: 500 .78rem/1 var(--sans); letter-spacing: .16em; color: var(--fg-faint); }
.stop-fig--big { margin-top: 4px; font: 400 clamp(2.4rem, 3.8vw, 3.4rem)/1 var(--display); letter-spacing: -.02em; color: #FFFFFF; display: flex; align-items: baseline; gap: 10px; }
.stop-facts { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.journey-stops .stop:nth-child(even) .stop-facts { justify-content: flex-end; }
.stop-facts li, .jpill { display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; color: #FFFFFF; white-space: nowrap; text-shadow: none;
  background: rgba(24, 26, 31, .5); border: 1px solid rgba(255, 255, 255, .14); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 16px 40px -18px rgba(0, 0, 0, .8);
  backdrop-filter: blur(20px) saturate(160%); -webkit-backdrop-filter: blur(20px) saturate(160%); }
.stop-facts li { padding: 9px 14px 9px 10px; font: 500 .82rem/1 var(--sans); }
.stop-facts .ico-check { width: 16px; height: 16px; opacity: .85; }
.jpill { position: absolute; left: 0; top: 0; z-index: 2; padding: 12px 20px 12px 14px; font: 400 .95rem/1 var(--sans); pointer-events: none; opacity: 0; transition: opacity .35s; will-change: transform; }
.jpill.is-on { opacity: 1; }
.jpill .ico-check, .jpill .ico-next { width: 20px; height: 20px; }
.jpill .ico-next, .jpill.is-next .ico-check { display: none; }
.jpill.is-next .ico-next { display: block; }
.stop--next .stop-tag { border-style: dashed; border-color: rgba(255, 255, 255, .5); }
.js .journey:not(.is-static) :is(.jv, .stop) { opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.js .journey:not(.is-static) :is(.jv, .stop) > * { transform: translateY(26px); transition: transform .9s var(--ease); }
.js .journey:not(.is-static) :is(.jv, .stop).is-on { opacity: 1; visibility: visible; transition: opacity .6s .15s, visibility 0s .15s; }
.js .journey:not(.is-static) :is(.jv, .stop).is-on > * { transform: none; }
.journey :is(.jv, .stop).is-on > :nth-child(1) { transition-delay: .15s; } .journey :is(.jv, .stop).is-on > :nth-child(2) { transition-delay: .21s; }
.journey :is(.jv, .stop).is-on > :nth-child(3) { transition-delay: .27s; } .journey :is(.jv, .stop).is-on > :nth-child(4) { transition-delay: .33s; } .journey :is(.jv, .stop).is-on > :nth-child(5) { transition-delay: .39s; }
.journey-hud { position: absolute; z-index: 2; left: 50%; bottom: calc(26px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); width: min(300px, 52vw); display: grid; gap: 10px; justify-items: center; pointer-events: none; }
.journey-pct { font: 500 .66rem/1 var(--sans); letter-spacing: .24em; color: var(--fg-faint); font-variant-numeric: tabular-nums; }
.journey-rail { position: relative; width: 100%; height: 1px; background: var(--line); }
.journey-rail i { position: absolute; inset: 0; background: var(--hi-grad); transform-origin: 0 50%; transform: scaleX(0); }
.journey-rail span { position: absolute; top: -3px; width: 7px; height: 7px; margin-left: -3.5px; border-radius: 50%; background: #2a2d31; transition: background-color .4s, box-shadow .4s; }
.journey-rail span.is-on { background: var(--hi); box-shadow: 0 0 0 4px rgba(255, 255, 255, .2); }
.journey-rail span.rail-next { background: #000; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .45); }
.journey-rail span.rail-next.is-on { background: #000; box-shadow: inset 0 0 0 1.5px #FFFFFF, 0 0 0 4px rgba(255, 255, 255, .2); }

/* all races at a glance, right under the globe */
.runs-list { position: relative; z-index: 3; background: var(--bg); padding: clamp(80px, 12vh, 140px) var(--gutter) clamp(110px, 15vh, 170px); }
.rl-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 28px 40px; margin-bottom: clamp(36px, 6vh, 60px); }
.rl-title { display: grid; gap: 14px; }
.rl-sum { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.rl-sum li { display: grid; gap: 8px; min-width: 132px; padding: 16px 20px 15px; border-radius: 18px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08); }
.rl-sum b { font: italic 400 clamp(1.8rem, 2.6vw, 2.4rem)/1 var(--display); letter-spacing: -.02em; color: #FFFFFF; }
.rl-sum span { font: 500 .66rem/1.3 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--fg-faint); }
.rl-cols, .rl-row { display: grid; grid-template-columns: 64px minmax(0, 1.25fr) minmax(0, 2fr); align-items: center; gap: 24px; }
.rl-cols { padding: 0 22px 14px; border-bottom: 1px solid var(--line); font: 500 .66rem/1.3 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--fg-faint); }
.rl-cols-d, .rl-data { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.rl { list-style: none; margin: 0; padding: 0; }
.rl-row { position: relative; padding: 24px 22px; border-bottom: 1px solid var(--line); transition: background-color .4s; }
.rl-row:hover { background: rgba(255, 255, 255, .025); }
.rl-n { font: 500 .78rem/1 var(--sans); letter-spacing: .18em; color: var(--fg-faint); font-variant-numeric: tabular-nums; transition: color .3s; }
.rl-row:hover .rl-n { color: #FFFFFF; }
.rl-name h3 { font: italic 400 clamp(1.7rem, 2.5vw, 2.3rem)/1.05 var(--display); letter-spacing: -.02em; transition: transform .6s var(--ease); }
.rl-row:hover .rl-name h3 { transform: translateX(8px); }
.rl-name p { margin-top: 6px; color: var(--fg-dim); font-size: .9rem; }
.rl-tag { display: inline-flex; align-items: center; gap: 7px; margin-top: 12px; padding: 6px 12px 6px 7px; border-radius: 999px; border: 1px dashed rgba(255, 255, 255, .45); font: 500 .66rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: #FFFFFF; }
.rl-tag svg { width: 16px; height: 16px; }
.rl-data { margin: 0; }
.rl-data div { display: grid; gap: 6px; align-content: center; }
.rl-data dt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.rl-data dd { margin: 0; display: flex; align-items: baseline; gap: 6px; font: 400 clamp(1.3rem, 1.9vw, 1.75rem)/1 var(--display); letter-spacing: -.01em; color: #FFFFFF; font-variant-numeric: tabular-nums; }
.rl-data dd small { font: 500 .74rem/1 var(--sans); letter-spacing: .06em; color: var(--fg-faint); }
.rl-data .rl-na { color: rgba(220, 224, 229, .42); }
.rl-row--next { margin-top: 12px; border: 0; border-radius: 20px; background: linear-gradient(90deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .015)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14), inset 0 1px 0 rgba(255, 255, 255, .12); }
.rl-row--next:hover { background: linear-gradient(90deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .025)); }

@media (max-width: 760px) {
  .rl-cols { display: none; }
  .rl-row { grid-template-columns: 36px minmax(0, 1fr); gap: 14px 10px; align-items: start; padding: 22px 6px; }
  .rl-n { padding-top: 10px; }
  .rl-data { grid-column: 2; gap: 10px; }
  .rl-data dt { position: static; width: auto; height: auto; overflow: visible; clip: auto; font: 500 .6rem/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--fg-faint); }
  .rl-data dd { font-size: 1.2rem; }
  .rl-row--next { padding: 22px 14px; }
  .rl-sum { width: 100%; }
  .rl-sum li { flex: 1; min-width: 0; padding: 14px 12px 12px; }
  .rl-sum span { font-size: .58rem; letter-spacing: .1em; }

}
/* reduced motion and no JavaScript: the globe stands still, all texts are listed */
.journey.is-static .journey-pin, html:not(.js) .journey-pin { height: auto; overflow: visible; display: grid; gap: 40px; padding: 110px var(--gutter) 90px; }
.journey.is-static .journey-stage, html:not(.js) .journey-stage { position: relative; height: 64vh; }
.journey.is-static :is(.jv, .stop), html:not(.js) .journey :is(.jv, .stop) { position: static; transform: none; width: auto; max-width: none; text-align: left; }
.journey.is-static .journey-stops, html:not(.js) .journey-stops { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; }
.journey.is-static :is(.journey-hud, .journey-fade, .jpill), html:not(.js) .journey :is(.journey-hud, .journey-fade, .jpill) { display: none; }

/* 05 start: light sheet with the onboarding in a black card */
.start { position: relative; z-index: 3; margin-top: -40px; border-radius: 40px 40px 0 0; padding: clamp(110px, 15vh, 190px) var(--gutter) clamp(130px, 17vh, 210px); }
.start--page { margin-top: 0; border-radius: 0; min-height: 100vh; min-height: 100svh; padding-top: calc(130px + env(safe-area-inset-top, 0px)); }
.start-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 6vw, 110px); align-items: start; }
.start-copy { position: sticky; top: 120px; }
.start-title { font-size: clamp(2.6rem, 6vw, 5.6rem); line-height: 1; letter-spacing: -.02em; margin: 18px 0 22px; font-style: italic; }
.start-lead { color: var(--ink-dim); font-size: 1.08rem; line-height: 1.6; max-width: 40ch; }
.start-points { list-style: none; margin: 30px 0; padding: 0; display: grid; gap: 12px; }
.start-points li { display: flex; gap: 12px; align-items: center; font-weight: 500; }
.start-points .ico-check { width: 22px; height: 22px; color: var(--ink); }
.start-mail { color: var(--ink-dim); }
.start-mail a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* onboarding wizard: a black card on the light sheet */
.wiz { position: relative; padding: clamp(22px, 3vw, 38px); border-radius: 28px; color: var(--fg); color-scheme: dark; background: linear-gradient(180deg, #121417, #070809); border: 1px solid rgba(255, 255, 255, .08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 60px 110px -50px rgba(0, 0, 0, .6), 0 24px 48px -30px rgba(0, 0, 0, .45); }
.wiz-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; }
.wiz-count { font: 500 .74rem/1.4 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--fg-dim); }
.wiz-count b { color: #FFFFFF; font-weight: 600; }
.wiz-pct { font: italic 400 clamp(2.6rem, 4.6vw, 3.9rem)/.9 var(--display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; color: #FFFFFF; }
.wiz-pct-u { font-size: .45em; margin-left: 4px; }
.wiz-bar { height: 4px; margin: 16px 0 30px; border-radius: 4px; overflow: hidden; background: rgba(255, 255, 255, .1); }
.wiz-bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, rgba(255, 255, 255, .55), #FFFFFF); transform-origin: 0 50%; transform: scaleX(0); }
.wiz-steps { position: relative; }
.wiz-step { border: 0; margin: 0; padding: 0; min-width: 0; }
.js .wiz-step:not(.is-active) { display: none; }
html:not(.js) .wiz-step + .wiz-step { margin-top: 36px; }
.wiz-q { display: block; padding: 0; margin-bottom: 22px; font: italic 400 clamp(1.7rem, 2.6vw, 2.4rem)/1.1 var(--display); letter-spacing: -.01em; outline: none; }
.wiz-sub { color: var(--fg-dim); margin: -12px 0 16px; font-size: .92rem; }
.field { display: grid; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.lbl { font: 500 .7rem/1.4 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--fg-dim); padding: 0; }
.wiz .lbl { color: var(--fg-dim); }
.opt-in { text-transform: none; letter-spacing: .02em; opacity: .7; }
.grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 16px; }
.wiz input[type="text"], .wiz input[type="date"], .wiz textarea { width: 100%; min-height: 52px; padding: 14px 16px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .05); color: #FFFFFF; font: 400 1rem/1.4 var(--sans); color-scheme: dark; transition: border-color .3s, box-shadow .3s, background .3s; }
.wiz textarea { resize: vertical; }
.wiz :is(input, textarea):focus-visible { outline: none; border-color: rgba(255, 255, 255, .6); box-shadow: 0 0 0 4px rgba(255, 255, 255, .1); background: rgba(255, 255, 255, .08); }
.wiz .field + .field, .wiz .pills + .field { margin-top: 18px; }
.opts { display: grid; gap: 10px; }
.opts input, .pills input { position: absolute; opacity: 0; pointer-events: none; }
.opt { position: relative; display: grid; grid-template-columns: 1fr auto; grid-template-areas: "top price" "note note"; gap: 6px 12px; padding: 18px 20px; border-radius: 18px; border: 1px solid rgba(255, 255, 255, .12); background: rgba(255, 255, 255, .035); cursor: pointer;
  transition: border-color .3s, background .3s, box-shadow .3s, transform .15s; }
.opt-top { grid-area: top; display: flex; gap: 10px; align-items: center; }
.opt-top b { font-weight: 600; }
.opt-top em { font: normal 600 .6rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; padding: 5px 8px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .3); color: #FFFFFF; }
.opt-price { grid-area: price; font: italic 400 1.35rem/1 var(--display); }
.opt-note { grid-area: note; color: var(--fg-dim); font-size: .88rem; }
.opt:hover { border-color: rgba(255, 255, 255, .3); }
.opt:active { transform: scale(.99); }
.opts input:checked + .opt { border-color: #FFFFFF; background: rgba(255, 255, 255, .09); box-shadow: 0 0 0 1px #FFFFFF, 0 16px 30px -18px rgba(0, 0, 0, .8); }
.opts input:focus-visible + .opt { outline: 2px solid #FFFFFF; outline-offset: 3px; }
.opt--quiet { background: transparent; border-style: dashed; }
.wiz-hint { color: var(--fg-dim); font-size: .88rem; line-height: 1.5; margin-top: 14px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills label { padding: 12px 16px; border-radius: 999px; border: 1px solid var(--glass-edge); background: var(--glass); font: 500 .85rem/1 var(--sans); cursor: pointer; user-select: none; transition: background .3s, color .3s, border-color .3s, transform .12s; }
.pills label:active { transform: scale(.96); }
.pills input:focus-visible + label { outline: 2px solid var(--accent); outline-offset: 3px; }
.wiz .pills label { border-color: rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .04); color: #FFFFFF; }
.wiz .pills label:hover { border-color: rgba(255, 255, 255, .4); }
.wiz .pills input:checked + label { background: #F5F5F7; color: var(--ink); border-color: #F5F5F7; }
.wiz .pills input:focus-visible + label { outline-color: #FFFFFF; }
.wiz-date { margin-top: 18px; }
.js .wiz-date:not(.is-on) { display: none; }
.wiz-error { min-height: 1.4em; margin-top: 16px; color: #FF9B8F; font-size: .9rem; font-weight: 500; }
.wiz-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 8px; }
.wiz .btn-ink { color: #0B0B0C; background: #F5F5F7; box-shadow: inset 0 1px 0 #FFFFFF, 0 14px 30px -16px rgba(255, 255, 255, .3); }
.wiz .btn-ink:hover { background: #FFFFFF; }
.wiz .btn-line { color: #FFFFFF; border-color: rgba(255, 255, 255, .22); }
.wiz .btn-line:hover { border-color: rgba(255, 255, 255, .6); }
.wiz-send, html:not(.js) .wiz-mail { display: none; }
html:not(.js) .wiz-back, html:not(.js) .wiz-next { display: none; }
html:not(.js) .wiz-send { display: inline-flex; margin-left: auto; }
.js .wiz.is-first .wiz-back { visibility: hidden; }
.js .wiz.is-last .wiz-next { display: none; }
/* the finished mail: address and subject with their own copy buttons, the text in a quiet field, one big copy button */
.wiz-mail-top { display: flex; align-items: center; gap: 14px; margin-bottom: 10px; }
.wiz-mail-top .wiz-q { margin: 0; }
.wiz-check { flex: none; width: 44px; height: 44px; color: #FFFFFF; }
.wiz-mail .wiz-sub { margin: 0 0 20px; line-height: 1.55; }
.mailcard { overflow: hidden; border-radius: 20px; background: rgba(255, 255, 255, .045); border: 1px solid rgba(255, 255, 255, .1); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08); }
.mail-row { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 8px 8px 8px 18px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.mail-k { font: 500 .64rem/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--fg-faint); }
.mail-v { font-weight: 500; overflow-wrap: anywhere; }
.mail-copy { width: 44px; height: 44px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .12); background: rgba(255, 255, 255, .04); color: #FFFFFF; display: grid; place-items: center; cursor: pointer; transition: background-color .3s, border-color .3s, color .3s, transform .15s; }
.mail-copy:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .3); }
.mail-copy:active { transform: scale(.94); }
.mail-copy svg { width: 16px; height: 16px; }
.mail-copy.is-copied { background: #F5F5F7; border-color: #F5F5F7; color: var(--ink); }
.wiz .mail-body { display: block; min-height: 250px; max-height: 360px; padding: 18px; border: 0; border-radius: 0; background: transparent; color: rgba(236, 239, 242, .92); font: 400 .95rem/1.65 var(--sans); resize: vertical; }
.wiz .mail-body:focus-visible { box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .45); background: transparent; }
.mail-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.mail-actions .btn svg { width: 16px; height: 16px; }
.mail-main svg { margin: 0 2px 0 -6px; }
.btn.mail-main:hover svg { transform: none; }
.mail-main.is-copied { background: #FFFFFF; }
.mail-status { min-height: 1.4em; margin-top: 12px; color: var(--fg-dim); font-size: .88rem; }
@media (max-width: 520px) { .mail-row { grid-template-columns: minmax(0, 1fr) auto; row-gap: 2px; } .mail-k { grid-column: 1 / -1; padding-top: 6px; } .mail-actions .btn { flex: 1 1 100%; justify-content: center; } }

/* footer: same pages as the nav plus legal pages; the wordmark rises at the end */
.foot { position: relative; z-index: 4; margin-top: -40px; border-radius: 40px 40px 0 0; overflow: hidden; background: #050506; padding: clamp(90px, 13vh, 150px) var(--gutter) 0; }
.foot::before { content: ""; position: absolute; left: -10%; right: -10%; bottom: -25%; height: 75%; background: radial-gradient(60% 60% at 50% 100%, rgba(255, 255, 255, .26), rgba(255, 255, 255, 0) 70%); pointer-events: none; }
.foot-in { position: relative; display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(40px, 6vw, 100px); max-width: 1240px; margin: 0 auto; }
.foot-title { font: italic 400 clamp(2.4rem, 5vw, 4.8rem)/1.02 var(--display); letter-spacing: -.02em; margin: 16px 0 30px; max-width: 14ch; }
.foot-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; align-content: start; padding-top: 6px; }
.foot-col { display: grid; gap: 10px; align-content: start; }
.foot-h { font: 500 .7rem/1.4 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--fg-faint); margin-bottom: 6px; }
.foot-col a { position: relative; width: fit-content; color: var(--fg-dim); transition: color .3s; }
.foot-col a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: var(--hi); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.foot-col a:hover, .foot-col a[aria-current="page"] { color: var(--fg); }
.foot-col a:hover::after { transform: scaleX(1); transform-origin: left; }
.foot-clock { color: var(--fg-dim); font-variant-numeric: tabular-nums; }
.clock { color: var(--fg); }
.foot-mark { position: relative; display: flex; justify-content: center; overflow: hidden; margin: clamp(60px, 10vh, 120px) 0 0; font: 600 clamp(3rem, 15.5vw, 17rem)/.86 var(--sans); letter-spacing: -.05em; user-select: none; }
.foot-mark span { display: inline-block; will-change: transform; color: transparent; background: linear-gradient(90deg, #FFFFFF, #D4D7DC 45%, #7E848C); background-size: 800% 100%; background-position: calc(var(--i, 0) * 100% / (var(--n, 8) - 1)) 0; -webkit-background-clip: text; background-clip: text; }
.foot-base { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 16px; max-width: 1240px; margin: 0 auto; padding: 18px 84px calc(18px + env(safe-area-inset-bottom, 0px)) 0; border-top: 1px solid var(--line); color: var(--fg-faint); font-size: .85rem; }
.to-top { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0; background: none; border: 0; color: var(--fg-dim); font: 500 .85rem/1 var(--sans); cursor: pointer; transition: color .3s; }
.to-top svg { width: 14px; height: 14px; transition: transform .4s var(--ease); }
.to-top:hover { color: var(--fg); }
.to-top:hover svg { transform: translateY(-3px); }

/* subpage hero: warm glow, big title, image that opens like a lens */
.phero { position: relative; padding: calc(150px + env(safe-area-inset-top, 0px)) var(--gutter) 0; background: radial-gradient(70% 55% at 50% 0%, rgba(255, 255, 255, .16), rgba(255, 255, 255, 0) 70%), var(--bg); }
.phero-in { position: relative; max-width: 1240px; margin: 0 auto; display: grid; gap: 22px; justify-items: start; will-change: transform, opacity; }
.phero-title { font: italic 400 clamp(3.4rem, 10vw, 9.5rem)/.92 var(--display); letter-spacing: -.03em; max-width: 12ch; }
.phero-lead { max-width: 48ch; color: var(--fg-dim); font-size: clamp(1.02rem, 1.3vw, 1.2rem); line-height: 1.6; }
.phero-media { position: relative; margin: clamp(56px, 9vh, 100px) auto 0; width: 100%; max-width: 1400px; height: min(78vh, 760px); border-radius: 28px; overflow: hidden; will-change: transform; }
.js .phero-media { clip-path: inset(100% 0% 0% 0% round 28px); }
.phero-media img { width: 100%; height: 114%; margin-top: -7%; object-fit: cover; will-change: transform; }
.phero .scroll-cue { left: auto; right: var(--gutter); transform: none; top: calc(170px + env(safe-area-inset-top, 0px)); bottom: auto; }
@media (max-width: 760px) { .phero .scroll-cue { display: none; } }

/* split: image + text */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 110px); align-items: center; max-width: 1400px; margin: 0 auto; padding: clamp(100px, 14vh, 170px) var(--gutter); }
.split--flip .media { order: 2; }
.media { position: relative; margin: 0; aspect-ratio: 4 / 5; border-radius: 24px; overflow: hidden; background: #0c0d0f; }
.media img { position: absolute; left: 0; top: -10%; width: 100%; height: 120%; object-fit: cover; will-change: transform; }
.js [data-reveal] { clip-path: inset(100% 0% 0% 0% round 24px); }
.split-copy { display: grid; gap: 18px; justify-items: start; max-width: 520px; }
.split-copy p:not(.eyebrow) { color: var(--fg-dim); line-height: 1.7; }
.split-copy .link-arrow { margin-top: 8px; }

/* cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cards--4 { grid-template-columns: repeat(4, 1fr); }
.card { position: relative; overflow: hidden; min-height: 250px; padding: 30px 26px 32px; border-radius: 22px; display: flex; flex-direction: column; background: linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .015)); border: 1px solid var(--line); will-change: transform; }
.card-n { font: 500 .72rem/1 var(--sans); letter-spacing: .2em; color: var(--hi); }
.card-t { margin: auto 0 12px; padding-top: 56px; font: italic 400 clamp(1.6rem, 2.2vw, 2rem)/1.1 var(--display); }
.card-p { color: var(--fg-dim); line-height: 1.6; }

/* about: chapters with a held image */
.chapters { position: relative; max-width: 1400px; margin: 0 auto; padding: 110px var(--gutter) 0; }
.chap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 110px); min-height: 130vh; align-items: start; }
.chap-fig { position: sticky; top: 12vh; height: 76vh; margin: 0; border-radius: 24px; overflow: hidden; background: #0c0d0f; will-change: transform, opacity; }
.chap-fig img { width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.chap-copy { display: grid; gap: 16px; max-width: 480px; padding-top: 38vh; }
.chap-n { font: 500 .74rem/1 var(--sans); letter-spacing: .2em; color: var(--hi); }
.chap-t { font: italic 400 clamp(2.6rem, 5vw, 4.8rem)/1 var(--display); letter-spacing: -.02em; }
.chap-copy p:not(.chap-n) { color: var(--fg-dim); line-height: 1.7; font-size: 1.05rem; }
.manifest { font: italic 400 clamp(2rem, 4.4vw, 4.2rem)/1.12 var(--display); letter-spacing: -.02em; text-wrap: balance; }

/* program: modules list with a floating image */
.mods { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.mod { border-bottom: 1px solid var(--line); }
.mod-h { margin: 0; font: inherit; }
.mod-btn { width: 100%; display: grid; grid-template-columns: 70px 1fr 40px; align-items: center; gap: 12px; padding: clamp(22px, 3.6vh, 34px) 0; background: none; border: 0; color: var(--fg); text-align: left; font: inherit; cursor: pointer; }
.mod-n { font: 500 .78rem/1 var(--sans); letter-spacing: .18em; color: var(--fg-faint); transition: color .3s; }
.mod-t { font: italic 400 clamp(1.9rem, 4.2vw, 3.8rem)/1 var(--display); letter-spacing: -.02em; transition: transform .6s var(--ease); }
.mod-btn:hover .mod-t, .mod.is-open .mod-t { transform: translateX(14px); }
.mod-btn:hover .mod-n, .mod.is-open .mod-n { color: var(--hi); }
.mod-i { position: relative; width: 22px; height: 22px; justify-self: end; }
.mod-i::before, .mod-i::after, .faq-item summary i::before, .faq-item summary i::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; margin-top: -.75px; background: currentColor; transition: transform .5s var(--ease); }
.mod-i::after, .faq-item summary i::after { transform: rotate(90deg); }
.mod.is-open .mod-i::after, .faq-item[open] summary i::after { transform: rotate(0deg); }
.js .mod-body { display: none; overflow: hidden; }
.js .mod.is-open .mod-body { display: block; }
.mod-in { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 40px; padding: 0 0 34px 82px; color: var(--fg-dim); line-height: 1.65; }
.mod-in ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.mod-in li { display: flex; gap: 10px; align-items: flex-start; color: var(--fg); }
.mod-in .ico-check, .compare .ico-check { color: var(--hi); }
.mod-in .ico-check { margin-top: 3px; }
.mods-float { position: fixed; left: 0; top: 0; z-index: 60; width: 280px; height: 360px; border-radius: 18px; overflow: hidden; pointer-events: none; opacity: 0; visibility: hidden; transform: scale(.6); box-shadow: 0 30px 60px rgba(0, 0, 0, .5); }
.mods-float img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; }
.goals { display: flex; flex-wrap: wrap; gap: 12px; }
.goal { display: inline-flex; align-items: center; gap: 12px; padding: 16px 26px; border-radius: 999px; border: 1px solid var(--glass-edge); background: var(--glass); font: italic 400 clamp(1.3rem, 2.4vw, 2rem)/1 var(--display); will-change: transform; transition: background-color .4s, color .4s, border-color .4s; }
.goal::after { content: "→"; font: 400 1rem/1 var(--sans); opacity: 0; transform: translateX(-6px); transition: opacity .3s, transform .4s var(--ease); }
.goal:hover { background: var(--hi); color: var(--ink); border-color: var(--hi); }
.goal:hover::after { opacity: 1; transform: none; }
.steps { --fill: 0; position: relative; list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(36px, 6vh, 56px); }
.steps::before, .steps::after { content: ""; position: absolute; left: 21.5px; top: 8px; bottom: 8px; width: 1px; background: var(--line); }
.steps::after { background: linear-gradient(var(--hi), var(--hi-2)); transform-origin: 50% 0; transform: scaleY(var(--fill)); }
.step { position: relative; z-index: 1; display: grid; grid-template-columns: 44px 1fr; gap: 26px; align-items: start; }
.step-n { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); border: 1px solid var(--line); font: italic 400 1.2rem/1 var(--display); color: var(--fg-dim); transition: background-color .5s, color .5s, border-color .5s, box-shadow .5s; }
.step.is-on .step-n { background: var(--hi); color: var(--ink); border-color: var(--hi); box-shadow: 0 0 0 6px rgba(255, 255, 255, .15); }
.step h3 { margin: 4px 0 8px; font: italic 400 clamp(1.6rem, 2.6vw, 2.3rem)/1.1 var(--display); }
.step p { color: var(--fg-dim); line-height: 1.65; max-width: 52ch; }

/* pricing page: comparison, FAQ */
.compare { border-radius: 24px; border: 1px solid var(--line); background: rgba(255, 255, 255, .025); overflow-x: auto; }
.compare table { width: 100%; min-width: 560px; border-collapse: collapse; }
.compare th, .compare td { padding: 20px 24px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
.compare thead th { font: 500 .74rem/1.4 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--fg-dim); }
.compare thead th:nth-child(2) { color: var(--hi); }
.compare tbody th { font-weight: 400; }
.compare td { color: var(--fg-dim); font-variant-numeric: tabular-nums; }
.compare td:nth-child(2) { background: rgba(255, 255, 255, .05); color: var(--fg); }
.compare .ico-check { width: 20px; height: 20px; }
.compare tfoot td { border-bottom: 0; padding-block: 24px; }
.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 26px 0; cursor: pointer; list-style: none; font: italic 400 clamp(1.3rem, 2.2vw, 1.8rem)/1.2 var(--display); transition: color .3s; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: #fff; }
.faq-item summary i { position: relative; flex: none; width: 16px; height: 16px; color: var(--hi); }
.faq-a { overflow: hidden; display: grid; gap: 10px; max-width: 64ch; color: var(--fg-dim); line-height: 1.7; }
.faq-a > :last-child { margin-bottom: 26px; }
.faq-a a { color: var(--fg); text-decoration: underline; text-underline-offset: 3px; }
.faq-a ul { margin: 0; padding-left: 1.1em; display: grid; gap: 6px; }
.faq-a b { color: var(--fg); font-weight: 500; }

/* drag gallery */
.drag { position: relative; padding: clamp(100px, 14vh, 170px) 0; overflow: hidden; }
.drag .wrap { padding: 0 var(--gutter); }
.drag-view { overflow: hidden; cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.drag-view.is-grabbing { cursor: grabbing; }
.drag-track { display: flex; gap: clamp(12px, 1.6vw, 22px); width: max-content; padding: 0 var(--gutter); will-change: transform; }
.drag-track:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; }
.drag-item { flex: none; margin: 0; height: clamp(300px, 34vw, 480px); aspect-ratio: 3 / 4; border-radius: 20px; overflow: hidden; background: #0c0d0f; will-change: transform; }
.drag-item--w { aspect-ratio: 3 / 2; }
.drag-item img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; -webkit-user-drag: none; }

/* Tim floating on his cloud */
.tim-drift { position: fixed; left: 0; top: 0; z-index: 90; width: clamp(92px, 7.4vw, 116px); pointer-events: none; will-change: transform; }
.tim-link { display: block; pointer-events: auto; border-radius: 40%; }
.tim-fig { display: block; will-change: transform; }
.tim-svg { display: block; width: 100%; height: auto; overflow: visible; filter: drop-shadow(0 18px 26px rgba(0, 0, 0, .35)); }
.tim-bubble { position: absolute; bottom: 86%; right: 58%; width: max-content; max-width: 230px; padding: 12px 16px; border-radius: 18px 18px 4px 18px; background: rgba(255, 255, 255, .94); color: var(--ink); font: 500 .86rem/1.4 var(--sans);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .35); opacity: 0; visibility: hidden; pointer-events: none; transform-origin: 100% 100%; }
.tim-drift[data-side="left"] .tim-bubble { right: auto; left: 58%; border-radius: 18px 18px 18px 4px; transform-origin: 0 100%; }
.tim-close { position: absolute; top: -4px; right: -4px; width: 28px; height: 28px; padding: 0; border-radius: 50%; border: 1px solid var(--glass-edge); background: rgba(10, 11, 13, .75); color: var(--fg); display: grid; place-items: center; cursor: pointer; pointer-events: auto; opacity: 0; transform: scale(.7); transition: opacity .25s, transform .3s var(--ease); }
.tim-close svg { width: 10px; height: 10px; }
.tim-drift:hover .tim-close, .tim-close:focus-visible { opacity: 1; transform: none; }
@media (max-width: 1023px), (hover: none) { .tim-drift { display: none !important; } }
/* the launcher follows the mouse (GSAP moves it with transform); its states use translate/scale so both can work together */
.tim-launch { position: fixed; right: max(18px, env(safe-area-inset-right, 0px)); bottom: max(18px, env(safe-area-inset-bottom, 0px)); z-index: 95; display: inline-flex; align-items: center; height: 60px; padding: 0 6px; border-radius: 999px; color: var(--fg);
  background: rgba(10, 11, 13, .62); border: 1px solid var(--glass-edge); box-shadow: inset 0 1px 0 var(--glass-top), 0 16px 40px rgba(0, 0, 0, .4); backdrop-filter: blur(20px) saturate(160%); -webkit-backdrop-filter: blur(20px) saturate(160%);
  transition: opacity .4s, visibility .4s, translate .5s var(--ease), scale .5s var(--ease), border-color .3s; will-change: transform; }
.tim-launch:hover { border-color: rgba(255, 255, 255, .55); }
.tim-launch:active { scale: .96; }
.tim-launch-ico { position: relative; flex: none; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 40% 30%, #2C3036, #0E1013); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12); }
.tim-launch-ico svg { width: 44px; height: 44px; overflow: visible; transition: transform .5s var(--ease); }
.tim-launch-ico::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid var(--hi); opacity: 0; animation: ping 4.5s var(--ease) 2s infinite; }
@keyframes ping { 0% { transform: scale(.9); opacity: .9; } 55%, 100% { transform: scale(1.5); opacity: 0; } }
.tim-launch-txt { max-width: 0; overflow: hidden; white-space: nowrap; opacity: 0; font: 500 .85rem/1 var(--sans); letter-spacing: .02em; transition: max-width .6s var(--ease), padding .6s var(--ease), opacity .3s; }
.tim-launch:hover .tim-launch-txt, .tim-launch:focus-visible .tim-launch-txt { max-width: 120px; padding: 0 16px 0 12px; opacity: 1; }
.tim-launch:hover .tim-launch-ico svg { transform: scale(1.08); }
body[data-page="tim"] .tim-launch { opacity: 0; visibility: hidden; translate: 0 20px; scale: .9; }
@media (max-width: 760px) { .tim-launch { height: 56px; } .tim-launch-ico { width: 44px; height: 44px; } .tim-launch-ico svg { width: 40px; height: 40px; } }

/* Tim's page: the chat */
.timpage { position: relative; overflow: hidden; min-height: 100vh; min-height: 100svh; padding: calc(120px + env(safe-area-inset-top, 0px)) var(--gutter) 60px;
  background: radial-gradient(38% 42% at 76% 46%, rgba(255, 255, 255, .07), rgba(255, 255, 255, 0) 70%), radial-gradient(55% 50% at 22% 62%, rgba(255, 255, 255, .16), rgba(255, 255, 255, 0) 70%), var(--bg); }
.timpage-grid { max-width: 1280px; min-height: calc(100svh - 180px); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 80px); align-items: center; }
.timpage-hero { display: grid; gap: 18px; justify-items: start; }
.timpage-title { font: italic 400 clamp(3.4rem, 8vw, 7.5rem)/.92 var(--display); letter-spacing: -.03em; }
.timpage-lead { max-width: 40ch; color: var(--fg-dim); line-height: 1.6; font-size: 1.08rem; }
.timpage-figure { width: min(340px, 70%); margin-top: 6px; }
.tim-stage { display: block; cursor: pointer; }
/* the chat: a layered glass card with a light edge, messages sit at the bottom like in a messenger, one pill to type in */
.chat { position: relative; isolation: isolate; display: flex; flex-direction: column; height: min(680px, 76svh); overflow: hidden; border-radius: 32px; border: 1px solid transparent;
  background: linear-gradient(180deg, rgba(26, 28, 33, .82), rgba(9, 10, 12, .92)) padding-box, linear-gradient(180deg, rgba(255, 255, 255, .34), rgba(255, 255, 255, .06) 32%, rgba(255, 255, 255, .03) 70%, rgba(255, 255, 255, .16)) border-box;
  box-shadow: 0 70px 120px -50px rgba(0, 0, 0, .85), 0 30px 60px -30px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .12); backdrop-filter: blur(30px) saturate(160%); -webkit-backdrop-filter: blur(30px) saturate(160%); }
.chat::before { content: ""; position: absolute; inset: 0 0 auto; height: 180px; z-index: -1; pointer-events: none; background: radial-gradient(80% 100% at 24% 0%, rgba(255, 255, 255, .09), rgba(255, 255, 255, 0) 70%); }
html:not(.js) .chat { display: none; }
.chat-head { display: flex; gap: 14px; align-items: center; padding: 18px 18px 16px 20px; border-bottom: 1px solid rgba(255, 255, 255, .07); }
.chat-ava { position: relative; flex: none; width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 40% 30%, #2C3036, #0E1013); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 0 0 1px rgba(255, 255, 255, .1); }
.chat-ava svg { width: 44px; height: 44px; }
.chat-ava::after { content: ""; position: absolute; right: 1px; bottom: 2px; width: 11px; height: 11px; border-radius: 50%; background: #7DDC9A; box-shadow: 0 0 0 2.5px #121417; }
.chat-id { flex: 1; min-width: 0; }
.chat-name { font: italic 400 1.5rem/1 var(--display); letter-spacing: -.01em; }
.chat-status { margin-top: 6px; font: 500 .74rem/1.2 var(--sans); letter-spacing: .04em; color: var(--fg-dim); }
.chat-status i { display: none; }
.chat-mail { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: #FFFFFF; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); transition: background-color .3s, border-color .3s; }
.chat-mail:hover { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .3); }
.chat-mail svg { width: 18px; height: 18px; }
.chat-log { flex: 1; overflow-y: auto; overscroll-behavior: contain; display: flex; flex-direction: column; gap: 10px; padding: 30px 22px 18px; scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .18) transparent;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 40px); mask-image: linear-gradient(to bottom, transparent 0, #000 40px); }
.chat-day { margin: auto 0 8px; align-self: center; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .05); font: 500 .62rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--fg-faint); }
.msg { display: flex; max-width: 84%; }
.msg-b { padding: 12px 16px; border-radius: 22px; line-height: 1.55; font-size: .95rem; }
.msg--tim { align-self: flex-start; }
.msg--tim .msg-b { background: linear-gradient(180deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .05)); border: 1px solid rgba(255, 255, 255, .08); border-bottom-left-radius: 8px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06); }
.msg--me { align-self: flex-end; }
.msg--me .msg-b { background: #F5F5F7; color: var(--ink); font-weight: 500; border-bottom-right-radius: 8px; box-shadow: 0 12px 30px -16px rgba(255, 255, 255, .4); }
.msg--me + .msg--tim, .msg--tim + .msg--me { margin-top: 8px; }
.msg-b a { color: var(--hi); text-decoration: underline; text-underline-offset: 3px; }
.msg-b ul { margin: 4px 0; padding-left: 1.1em; display: grid; gap: 4px; }
.msg-b p + p, .msg-b ul + p { margin-top: 8px; }
.msg-b b { font-weight: 600; }
.msg.is-typing .msg-b { display: flex; gap: 5px; padding: 17px 18px; }
.msg.is-typing .msg-b span { width: 7px; height: 7px; border-radius: 50%; background: var(--fg-dim); animation: typing 1.1s ease-in-out infinite; }
.msg.is-typing .msg-b span:nth-child(2) { animation-delay: .15s; }
.msg.is-typing .msg-b span:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 60%, 100% { transform: translateY(0); opacity: .4; } 30% { transform: translateY(-5px); opacity: 1; } }
.chat-foot { padding: 12px 16px 14px; border-top: 1px solid rgba(255, 255, 255, .07); }
/* suggestions wrap into rows: every chip stays whole and visible */
.chat-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 2px 0 12px; }
.chat-chip { flex: none; display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 0 15px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .12); background: rgba(255, 255, 255, .05); color: #FFFFFF; font: 500 .8rem/1 var(--sans); white-space: nowrap; cursor: pointer; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06); transition: background-color .3s, border-color .3s, transform .15s; }
.chat-chip:hover { border-color: rgba(255, 255, 255, .4); background: rgba(255, 255, 255, .1); }
.chat-chip:active { transform: scale(.96); }
.chat-chip svg { width: 15px; height: 15px; }
.chat-chip--mail { background: #F5F5F7; border-color: #F5F5F7; color: var(--ink); }
.chat-chip--mail:hover { background: #FFFFFF; border-color: #FFFFFF; }
.chat-form { display: flex; align-items: center; gap: 8px; padding: 6px 6px 6px 20px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06); transition: border-color .3s, box-shadow .3s, background-color .3s; }
.chat-form:focus-within { border-color: rgba(255, 255, 255, .45); background: rgba(255, 255, 255, .08); box-shadow: 0 0 0 4px rgba(255, 255, 255, .08); }
.chat-form input { flex: 1; min-width: 0; min-height: 44px; padding: 0; border: 0; background: transparent; color: #FFFFFF; font: 400 1rem/1 var(--sans); outline: none; }
.chat-form input::placeholder { color: var(--fg-faint); }
.chat-send { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 0; display: grid; place-items: center; background: rgba(255, 255, 255, .14); color: rgba(255, 255, 255, .7); cursor: pointer; transition: background-color .3s, color .3s, transform .2s; }
.chat-form.has-text .chat-send { background: #FFFFFF; color: var(--ink); }
.chat-send:active { transform: scale(.92); }
.chat-send svg { width: 16px; height: 16px; }
.chat-note { padding: 10px 6px 0; text-align: center; font-size: .74rem; color: var(--fg-faint); }
.chat-note a { text-decoration: underline; text-underline-offset: 3px; }

/* legal pages (content follows) */
.legal { max-width: 1240px; min-height: 80vh; min-height: 80svh; margin: 0 auto; display: flex; flex-direction: column; justify-content: center; gap: 20px; padding: calc(140px + env(safe-area-inset-top, 0px)) var(--gutter) 140px; }
.legal-title { font: italic 400 clamp(3.4rem, 11vw, 10rem)/.92 var(--display); letter-spacing: -.03em; }
.legal-note { color: var(--fg-dim); font-size: 1.1rem; }
.legal-list { display: grid; max-width: 820px; margin: 18px 0 0; border-top: 1px solid var(--line); }
.legal-list div { display: grid; grid-template-columns: minmax(0, 240px) minmax(0, 1fr); gap: 6px 32px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.legal-list dt { padding-top: 5px; font: 500 .7rem/1.6 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--fg-faint); }
.legal-list dd { margin: 0; font-size: 1.15rem; line-height: 1.65; color: var(--fg); }
.legal-list a { text-decoration: underline; text-underline-offset: 3px; transition: color .3s; }
.legal-list a:hover { color: #FFFFFF; }
@media (max-width: 600px) { .legal-list div { grid-template-columns: minmax(0, 1fr); } }

/* intro: light ground, a black bar loads to 100 %, the black wordmark rises and drops away, then the curtain lifts (reference loader) */
.intro { display: none; position: fixed; inset: 0; z-index: 200; background: var(--light); overflow: hidden; }
.js .intro { display: block; }
.intro p { margin: 0; font: 500 .78rem/1.3 var(--sans); text-transform: uppercase; letter-spacing: .12em; }
.intro-hero { position: absolute; inset: 0; background: #000; clip-path: polygon(0% 45%, 0% 45%, 0% 55%, 0% 55%); }
.intro-progress { position: absolute; top: 50%; left: 0; transform: translateY(-50%); width: 25vw; padding: 2em; display: flex; justify-content: space-between; align-items: center; color: var(--accent); z-index: 3; }
.intro-logo { position: absolute; bottom: 0; left: 50%; padding: 1.2em 1.5em; display: flex; color: #000000; z-index: 3; font: 600 clamp(1.5rem, 3vw, 2.4rem)/1 var(--sans); letter-spacing: .04em; will-change: transform; }
.intro-logo .char { overflow: hidden; }
.intro-logo .ch { display: block; will-change: transform; }
@media (max-width: 900px) {
  .intro-progress { justify-content: flex-end; }
  .intro-progress p:first-child { display: none; }
}

/* transition layer: white noise dissolve on a WebGL quad */
#webgl { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 100; pointer-events: none; visibility: hidden; display: block; }

/* responsive */
@media (max-width: 1000px) {
  .cards--4 { grid-template-columns: repeat(2, 1fr); }
  .coach-body, .start-grid, .foot-in { grid-template-columns: 1fr; }
  .start-copy { position: static; }
}
@media (max-width: 860px) {
  .split, .chap, .timpage-grid { grid-template-columns: 1fr; }
  .split--flip .media { order: 0; }
  .media { aspect-ratio: 4 / 3; }
  .chap { min-height: 0; padding: 30px 0 60px; gap: 28px; }
  .chap-fig { position: relative; top: 0; height: 62vh; }
  .chap-copy { padding-top: 0; }
  .mod-btn { grid-template-columns: 44px 1fr 30px; }
  .mod-in { grid-template-columns: 1fr; padding-left: 0; }
  .mods-float { display: none; }
  .timpage-grid { min-height: 0; }
  .timpage-figure { width: 150px; }
  .chat { height: 72svh; }
  .foot-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .cards, .cards--4 { grid-template-columns: 1fr; }
  .foot-base { flex-direction: column; align-items: flex-start; gap: 4px; }
  .compare th, .compare td { padding: 16px; }
  .wiz-sum div { grid-template-columns: 1fr; gap: 4px; }
}
@media (max-width: 760px) {
  .jv--intro { top: calc(92px + 3vh); }
  .jv--ring, .jv--outro, .journey-stops .stop { left: var(--gutter); right: var(--gutter); top: auto; bottom: calc(84px + env(safe-area-inset-bottom, 0px)); transform: none; width: auto; max-width: none; }
  .journey-stops .stop:nth-child(odd), .journey-stops .stop:nth-child(even) { left: var(--gutter); right: var(--gutter); text-align: left; }
  .journey-stops .stop:nth-child(even) :is(.stop-meta, .stop-fig--big, .stop-facts) { justify-content: flex-start; }
  .journey-stops .stop:nth-child(even) .stop-text { margin-left: 0; }
  .stop-place { font-size: 2.7rem; margin: 10px 0 8px; }
  .journey-pin::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 52%; z-index: 1; pointer-events: none; background: linear-gradient(to top, rgba(0, 0, 0, .9), rgba(0, 0, 0, 0)); }
}
@media (max-width: 520px) {
  .opt { grid-template-columns: 1fr; grid-template-areas: "top" "price" "note"; }
  .opt-price { font-size: 1.25rem; }
}

@media (prefers-reduced-motion: reduce) {
  .js .nav > * { transform: none; opacity: 1; }
  .js .plan { opacity: 1; }
  .js [data-reveal], .js .phero-media { clip-path: none; }
  .scroll-cue i::after, .tim-launch-ico::after, .msg.is-typing .msg-b span { animation: none; }
  .btn, .nav-links a::after, .nav-pill, .menu a, .pills label, .plan::before, .card::before, .stat::before, .cursor-ring, .opt, .goal, .goal::after, .mod-t, .mod-i::after, .tim-launch, .tim-launch-txt, .step-n, .foot-col a::after, .skip { transition: none; }
  .js .journey:not(.is-static) :is(.jv, .stop), .js .journey:not(.is-static) :is(.jv, .stop) > * { transition: none; }
}
@media (prefers-reduced-transparency: reduce) {
  .nav-pill, .menu, .menu-btn, .plan, .btn-ghost, .chip, .tim-launch, .stop-tag, .stop-facts li, .jpill { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(14, 17, 20, .96); }
  .chat { backdrop-filter: none; -webkit-backdrop-filter: none; background: #0E1013; border-color: rgba(255, 255, 255, .16); }
  .btn-solid { backdrop-filter: none; -webkit-backdrop-filter: none; background: #FFFFFF; }
  .nav.is-light .nav-pill { background: rgba(255, 255, 255, .96); }
}
