/* The Wellness Moves: city pages.
   Brand: one cream canvas, one coral accent, Fraunces + DM Sans (tokens from content/_template/moves.css).
   No gradients, no sun graphic, no emoji, no text over photos.
   Signature: a coral run-route line that draws itself down the page, one mile marker per section. */

:root {
  --cream: #FBF6EE;
  --sand: #F1E6D6;
  --line: #E6D9C6;
  --ink: #2A1A1F;
  --soft: #7A6A64;
  --coral: #EE5A6F;

  --bg: var(--cream);
  --fill: var(--sand);
  --rule: var(--line);
  --text: var(--ink);
  --muted: var(--soft);
  --body: #5E4F4A;
  --accent: var(--coral);
  --accent-text: #C2334E;
  --accent-muted: rgba(238, 90, 111, .16);
  --btn-bg: var(--ink);
  --btn-text: var(--cream);
  --nav-bg: rgba(251, 246, 238, .86);
  --palm: #2A1A1F;
  --palm-op: .055;

  --c-run: #2F7A85;      --t-run: #E4EEEB;
  --c-fitness: #A8682A;  --t-fitness: #F4E6D3;
  --c-mind: #7560A6;     --t-mind: #ECE5EE;
  --c-wellness: #567F52; --t-wellness: #E7EDDF;
  --c-race: #44649C;     --t-race: #E5E8EE;
  --ct-run: #1F5C64; --ct-fitness: #7E4A16; --ct-mind: #5A4590; --ct-wellness: #3F6539; --ct-race: #33507F;
  --card: #FFFDF9;
  --chip: #F1E6D6;
  --card-line: #EADFCF;
  --card-shadow: 0 1px 2px rgba(42, 26, 31, .05), 0 12px 32px -20px rgba(42, 26, 31, .28);

  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --gutter: 16px;
  --max: 1040px;
  --nav-h: 0px;
  --bar-h: 120px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1C1216;
    --fill: #2A1D22;
    --rule: #3B2A31;
    --text: #F7EFE4;
    --muted: #C5B4AC;
    --body: #E6DAD2;
    --accent-text: #F47C8E;
    --accent-muted: rgba(238, 90, 111, .22);
    --btn-bg: #F7EFE4;
    --btn-text: #2A1A1F;
    --nav-bg: rgba(28, 18, 22, .84);
    --palm: #F7EFE4;
    --palm-op: .045;
    --c-run: #6DB2BB;      --t-run: #1C3A3E;
    --c-fitness: #D9A25F;  --t-fitness: #43301A;
    --c-mind: #AE9AD8;     --t-mind: #352A4D;
    --c-wellness: #93BA8B; --t-wellness: #273D24;
    --c-race: #8EA9D8;     --t-race: #222F4A;
    --ct-run: #8FD0D8; --ct-fitness: #EBBE84; --ct-mind: #CDBDF0; --ct-wellness: #B4D7AC; --ct-race: #B3C8EE;
    --card: #2A1C22;
    --chip: #3D2B33;
    --card-line: #45313A;
    --card-shadow: 0 14px 34px -20px rgba(0, 0, 0, .7);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; overflow-x: hidden; overflow-x: clip; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 500 16px/1.5 var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  overflow-x: clip;
}
h1, h2, h3, h4, p, ol, ul, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; }
button, select, input { font: inherit; color: inherit; }
img { display: block; max-width: 100%; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
[hidden] { display: none !important; }

:focus { outline: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
main:focus { outline: none; }

.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 60; padding: 10px 16px; background: var(--btn-bg); color: var(--btn-text); border-radius: 999px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 8px; }

.label { font: 700 12px/1.2 var(--sans); letter-spacing: .16em; text-transform: uppercase; }
.kicker { color: var(--accent-text); }
em { font-style: italic; font-weight: 500; color: var(--accent); }

/* ---------- the environment: palm shadows on cream ---------- */
.env { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.palm { position: absolute; width: 62vmax; color: var(--palm); opacity: var(--palm-op); filter: blur(6px); will-change: transform; }
.palm svg { display: block; width: 100%; height: auto; fill: currentColor; }
.p1 { top: -18vmax; left: -20vmax; --t0: rotate(28deg); --t1: rotate(36deg) translate(2vmax, 1vmax); animation: sway 78s var(--ease-io) -14s infinite alternate; }
.p2 { top: 18vh; right: -30vmax; --t0: scaleX(-1) rotate(4deg); --t1: scaleX(-1) rotate(-6deg) translate(-1vmax, 2vmax); animation: sway 92s var(--ease-io) -40s infinite alternate; }
.p3 { bottom: -34vmax; left: 8vw; --t0: rotate(-62deg); --t1: rotate(-54deg) translate(3vmax, 0); animation: sway 84s var(--ease-io) -22s infinite alternate; width: 52vmax; }
.p4 { top: -24vmax; right: 14vw; --t0: scaleX(-1) rotate(-40deg); --t1: scaleX(-1) rotate(-32deg) translate(1vmax, 2vmax); animation: sway 100s var(--ease-io) -60s infinite alternate; width: 44vmax; opacity: calc(var(--palm-op) * .8); }
@keyframes sway { from { transform: var(--t0); } to { transform: var(--t1); } }
.env::after {
  content: ''; position: absolute; inset: 0; opacity: .5; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .17  0 0 0 0 .1  0 0 0 0 .12  0 0 0 .09 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
@media (prefers-color-scheme: dark) { .env::after { mix-blend-mode: screen; opacity: .25; } }
body.paused *, body.paused *::before, body.paused *::after { animation-play-state: paused !important; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 48px; padding: 0 22px; border-radius: 999px;
  font: 600 15px/1 var(--sans); letter-spacing: .01em; text-decoration: none; white-space: nowrap;
  border: 1.5px solid var(--btn-bg); background: var(--btn-bg); color: var(--btn-text);
  cursor: pointer; transition: background-color .3s var(--ease-out), color .3s var(--ease-out), border-color .3s var(--ease-out), transform .3s var(--ease-out);
}
.btn:hover { background: var(--accent-text); border-color: var(--accent-text); color: #FFF; }
.btn:active { transform: scale(.98); }
.btn.ghost { background: transparent; color: var(--text); border-color: var(--rule); }
.btn.ghost:hover { border-color: var(--text); background: transparent; color: var(--text); }
.btn svg { width: 17px; height: 17px; flex: none; }
.btn-sm { min-height: 38px; padding: 0 16px; font-size: 14px; }
.btn-lg { min-height: 58px; padding: 0 30px; font-size: 16.5px; }
@media (pointer: coarse) { .btn-sm { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; } }

/* ---------- nav ---------- */
.nav { position: relative; z-index: 40; }
.nav-in { display: flex; align-items: center; gap: 16px; max-width: calc(1240px + 2 * var(--gutter)); margin: 0 auto; padding: 14px var(--gutter); }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; margin-right: auto; min-width: 0; }
.brand img { width: 40px; height: 40px; border-radius: 50%; flex: none; }
.brand span { font: 600 14.5px/1.2 var(--sans); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand b { color: var(--muted); font-weight: 600; }
.nav-links { display: flex; gap: 22px; }
.nav-links a { font: 600 14.5px/1 var(--sans); text-decoration: none; color: var(--text); padding: 12px 0; position: relative; white-space: nowrap; }
.nav-links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 6px; height: 1.5px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease-out); }
.nav-links a:hover::after { transform: scaleX(1); }
.hide-sm { display: none; }

/* ---------- hero: full-bleed footage with the copy over it ----------
   Scrub mode is the default; the five static gates below swap in a still.
   Legibility, in four layers: a base scrim on the footage, a per-band scrim that deepens with --k,
   a text-shadow token, and frosted chips behind small text. Audited against the worst frames. */
:root {
  --on-media: #FFF6EC;
  --on-media-soft: rgba(255, 246, 236, .9);
  --media-em: #FFB8C0;
  --scrim: 22, 11, 15;
  --tshadow: 0 1px 2px rgba(22, 11, 15, .9), 0 3px 14px rgba(22, 11, 15, .6), 0 10px 44px rgba(22, 11, 15, .55);
}
.hero { position: relative; height: 450vh; margin-top: calc(-1 * var(--nav-h)); }
.stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: #2A1A1F; color: var(--on-media); }
.media { position: absolute; inset: 0; margin: 0; }
.media img, .media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.media video { opacity: 0; transition: opacity .8s var(--ease-out); transform: translateZ(0); will-change: transform; }
.stage.video-ready .media video { opacity: 1; }
.scrim {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(var(--scrim), .6) 0%, rgba(var(--scrim), .44) 32%, rgba(var(--scrim), .14) 56%, rgba(var(--scrim), 0) 72%),
    linear-gradient(to top, rgba(var(--scrim), .66) 0%, rgba(var(--scrim), .22) 40%, rgba(var(--scrim), 0) 60%),
    linear-gradient(to bottom, rgba(var(--scrim), .42) 0%, rgba(var(--scrim), 0) 16%),
    radial-gradient(ellipse 120% 90% at 50% 45%, rgba(var(--scrim), 0) 40%, rgba(var(--scrim), .38) 100%);
}

.hero-in { position: absolute; inset: 0; max-width: calc(1240px + 2 * var(--gutter)); margin: 0 auto; pointer-events: none; }
.captions { position: absolute; left: var(--gutter); right: var(--gutter); bottom: clamp(96px, 14vh, 160px); }
.band { position: absolute; left: 0; bottom: 0; width: min(760px, 100%); opacity: 0; --k: 0; isolation: isolate; text-shadow: var(--tshadow); }
.band.b1 { opacity: 1; }
.band::before {
  content: ''; position: absolute; inset: -42% -34% -40% -26%; z-index: -1; pointer-events: none;
  opacity: calc(.25 + .75 * var(--k));
  background: radial-gradient(ellipse 60% 56% at var(--sc-at, 40% 56%), rgba(var(--scrim), var(--sc-peak, .62)) 0%, rgba(var(--scrim), calc(var(--sc-peak, .62) * .66)) 46%, rgba(var(--scrim), 0) 76%);
}
.b2 { --sc-peak: .7; --sc-at: 42% 50%; }
.b3 { --sc-peak: .72; --sc-at: 40% 38%; }
.band .cta { pointer-events: auto; }
.display { font: 600 clamp(52px, 7vw, 118px)/.94 var(--serif); letter-spacing: -.035em; font-variation-settings: 'opsz' 144; margin-top: 18px; max-width: 12ch; color: var(--on-media); }
.hero .display em { color: var(--media-em); }
.b3 .display { max-width: none; }
.sub { margin-top: 20px; font: 500 clamp(17px, 1.4vw, 20px)/1.5 var(--sans); color: var(--on-media-soft); max-width: 32em; }
.hero .kicker, .hero .meta > span:not(:empty) {
  display: inline-flex; align-items: center; padding: 7px 12px; border-radius: 999px; text-shadow: none;
  background: rgba(var(--scrim), .45); border: 1px solid rgba(255, 246, 236, .16);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.hero .kicker { color: var(--on-media); }
.band .kicker { opacity: clamp(0, calc(var(--k) * 3), 1); }
.b1 .sub, .b2 .sub { --ks: clamp(0, calc((var(--k) - .35) * 2.6), 1); opacity: var(--ks); transform: translateY(calc((1 - var(--ks)) * 14px)); }
.b3 .s3 { --ks: clamp(0, calc((var(--k) - .62) * 4), 1); opacity: var(--ks); transform: translateY(calc((1 - var(--ks)) * 14px)); }
.b3 .c3, .b3 .m3 { --kb: clamp(0, calc((var(--k) - .76) * 5), 1); opacity: var(--kb); transform: translateY(calc((1 - var(--kb)) * 14px)); }
.cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.hero .btn { text-shadow: none; background: var(--on-media); border-color: var(--on-media); color: #2A1A1F; }
.hero .btn:hover { background: #FFFFFF; border-color: #FFFFFF; color: #2A1A1F; }
.hero .btn-glass { background: rgba(255, 246, 236, .12); border-color: rgba(255, 246, 236, .55); color: var(--on-media); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.hero .btn-glass:hover { background: rgba(255, 246, 236, .24); border-color: var(--on-media); color: var(--on-media); }
.meta { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; font: 500 13.5px/1.2 var(--sans); color: var(--on-media-soft); }
.meta .live:empty { display: none; }
.meta .live b { font: 600 15px/1 var(--serif); color: var(--media-em); margin-right: 4px; }

/* split text: words animate with transform and opacity only, scrubbed off the band's --k */
.split .w { display: inline-block; }
.split .wv { position: relative; display: inline-block; }
[data-fx="drift"] .w { --kc: clamp(0, calc((var(--k) - var(--th, 0)) * 2.8), 1); opacity: var(--kc); transform: translateY(calc((1 - var(--kc)) * -30px)); }
[data-fx="rise"] .w { --kc: clamp(0, calc((var(--k) - var(--th, 0)) * 3.2), 1); opacity: var(--kc); transform: translateY(calc((1 - var(--kc)) * 42px)); }
[data-fx="blur"] .sharp, [data-fx="blur"] .soft { display: block; }
[data-fx="blur"] .sharp { opacity: var(--k); }
[data-fx="blur"] .soft { position: absolute; inset: 0; filter: blur(12px); opacity: calc(1 - var(--k)); transform: scale(calc(1.04 - var(--k) * .04)); pointer-events: none; }

.hero-foot { position: absolute; left: 0; right: 0; bottom: 0; max-width: calc(1240px + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter) 30px; display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; pointer-events: none; }
.wcap { display: inline-flex; align-items: center; gap: 10px; font: 700 11px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--on-media-soft); text-shadow: var(--tshadow); }
.wcap .dot-sep { opacity: .6; }
.ring { width: 18px; height: 18px; color: var(--on-media); transform: rotate(-90deg); transition: opacity .6s; }
.ring circle { transition: stroke-dashoffset .2s linear; }
.stage.video-ready .ring, .stage.video-failed .ring { opacity: 0; }
.cue { display: flex; align-items: center; gap: 12px; color: var(--on-media); text-shadow: var(--tshadow); transition: opacity .5s; }
.cue-line { position: relative; width: 1.5px; height: 44px; background: rgba(255, 246, 236, .35); overflow: hidden; }
.cue-line::after { content: ''; position: absolute; left: 0; top: 0; width: 100%; height: 40%; background: var(--on-media); animation: cue 2.4s var(--ease-io) -0.6s infinite; }
@keyframes cue { from { transform: translateY(-100%); } to { transform: translateY(260%); } }
.stage.past-start .cue { opacity: 0; }

/* The nav floats over the footage while the hero is on screen. */
.nav { transition: background-color .4s, border-color .4s; }
.nav.on-hero, .nav.on-hero.scrolled { background: transparent; border-bottom-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
.nav.on-hero .brand span, .nav.on-hero .nav-links a { color: var(--on-media); text-shadow: 0 1px 10px rgba(22, 11, 15, .5); }
.nav.on-hero .brand b { color: rgba(255, 246, 236, .72); }
.nav.on-hero .btn-sm { background: var(--on-media); border-color: var(--on-media); color: #2A1A1F; }
.nav.on-hero .nav-links a::after { background: var(--on-media); }

/* The five static-hero gates. Character-for-character the same strings as GATES in site.js. */
@media (max-width: 720px), (orientation: portrait) and (max-width: 1024px), (orientation: portrait) and (pointer: coarse), (orientation: landscape) and (pointer: coarse) and (max-height: 560px), (prefers-reduced-motion: reduce) {
  .hero { height: auto; }
  .stage { position: relative; height: 100vh; height: 100svh; min-height: 560px; }
  /* No journey here: open on the question (band 1 headline) with the closing band's copy and buttons under it. */
  .band { position: relative; opacity: 1 !important; visibility: visible !important; --k: 1 !important; }
  .band.b2, .cue, .b1 .sub, .b3 .kicker, .b3 .display { display: none; }
  .media video { display: none; }
  .stage .media .still { object-position: var(--still-pos, 50% 50%); }
}
@media (max-width: 720px) {
  #week .panel { padding-top: 14px; }
  #panel-agenda .day:first-of-type { margin-top: 16px; }
  .captions { bottom: 28px; }
  .display { font-size: clamp(42px, 11.4vw, 56px); margin-top: 14px; }
  .sub { font-size: 16px; margin-top: 14px; }
  .cta { margin-top: 20px; }
  .cta .btn { flex: 1 1 auto; }
  .meta { margin-top: 14px; }
  .meta .live { display: none !important; }
  .hero-foot { display: none; }
  .nav-in { gap: 10px; padding-top: 12px; padding-bottom: 12px; }
  .brand { gap: 9px; }
  .brand img { width: 36px; height: 36px; }
  .brand span { font-size: 13px; }
  .nav-links a { font-size: 13.5px; }
}
@media (max-width: 899px) {
  .nav { position: absolute; top: 0; left: 0; right: 0; }
}

/* ---------- route line (desktop margin) ---------- */
main { position: relative; display: block; }
.route { position: absolute; left: 0; top: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; z-index: 0; display: none; }
#route-path { stroke: var(--accent); stroke-width: 2.2; stroke-linecap: round; stroke-dasharray: .1 9; }

/* ---------- sections ---------- */
.sec { position: relative; z-index: 1; padding: 72px 0; scroll-margin-top: var(--nav-h); }
.sec-head { display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: 12px; position: relative; }
.sec-head > :not(.mile):not(.kicker) { grid-column: 1 / -1; }
.mile {
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  border: 1.5px solid var(--accent); background: var(--bg); color: var(--accent-text);
  font: 700 11.5px/1 var(--sans); letter-spacing: .04em;
}
.sec-head h2 { margin-top: 14px; font: 600 clamp(38px, 6.4vw, 66px)/1 var(--serif); letter-spacing: -.035em; font-variation-settings: 'opsz' 144; }
.sec-head .lead { margin-top: 16px; font: 500 17px/1.55 var(--sans); color: var(--body); max-width: 32em; }

/* reveal on scroll (only when JS is running) */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- 01 calendar ---------- */
.sec-week { padding-top: 40px; padding-bottom: 8px; }
.week-head { display: none; }
.bar {
  position: sticky; top: var(--nav-h); z-index: 20;
  background: var(--bg);
  border-bottom: 1px solid var(--rule);
  border-top: 1px solid var(--rule);
}
.bar .wrap { padding-top: 4px; padding-bottom: 10px; }
.tabs { display: flex; gap: 4px; margin: 0 -10px; }
.tab { position: relative; min-height: 44px; padding: 0 10px; border: 0; background: none; cursor: pointer; font: 600 15px/1 var(--sans); color: var(--muted); }
.tab[aria-selected="true"] { color: var(--text); }
.tab[aria-selected="true"]::after { content: ''; position: absolute; left: 10px; right: 10px; bottom: 6px; height: 2px; border-radius: 2px; background: var(--accent); }
.tab:hover { color: var(--text); }
.filters {
  display: flex; gap: 8px; align-items: center; margin: 4px calc(-1 * var(--gutter)) 0; padding: 2px var(--gutter);
  overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain;
}
.filters::-webkit-scrollbar { display: none; }
.chip {
  flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border-radius: 999px;
  border: 1px solid var(--rule); background: transparent; cursor: pointer; font: 600 14px/1 var(--sans); color: var(--text); white-space: nowrap;
  transition: background-color .25s var(--ease-out), border-color .25s, color .25s;
}
.chip:hover { border-color: var(--muted); }
.chip[aria-pressed="true"] { background: var(--btn-bg); border-color: var(--btn-bg); color: var(--btn-text); }
.dot { width: 8px; height: 8px; border-radius: 50%; flex: none; background: var(--c, var(--muted)); }
.area { flex: none; position: relative; display: inline-flex; }
.area select {
  appearance: none; -webkit-appearance: none; min-height: 40px; padding: 0 36px 0 14px; border-radius: 999px;
  border: 1px solid var(--rule); background: var(--fill); cursor: pointer; font: 600 14px/1 var(--sans); color: var(--text);
}
.area svg { position: absolute; right: 13px; top: 50%; width: 12px; height: 12px; margin-top: -6px; pointer-events: none; color: var(--muted); }
.sep { flex: none; width: 1px; height: 22px; background: var(--rule); }

.panel { padding: 22px 0 32px; }
.summary { font: 500 14px/1.5 var(--sans); color: var(--muted); }
.summary b { font: 600 17px/1 var(--serif); color: var(--accent-text); }
.intro { font: 500 15px/1.5 var(--sans); color: var(--body); max-width: 36em; }
.day { margin-top: 34px; scroll-margin-top: calc(var(--nav-h) + var(--bar-h) + 12px); }
.day > ol { display: grid; gap: 12px; margin-top: 14px; }
.day:focus { outline: none; }
.day-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; }
.day-title { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 10px; font: 600 24px/1.15 var(--serif); letter-spacing: -.02em; }
.day-title .dd { color: var(--muted); font-weight: 500; }
.pill { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px; background: var(--accent); color: #2A1A1F; font: 700 10.5px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.pill.soon { background: transparent; color: var(--accent-text); box-shadow: inset 0 0 0 1.5px currentColor; }
.sun { font: 500 13px/1.3 var(--sans); color: var(--muted); white-space: nowrap; }
.sun span + span::before { content: '·'; margin: 0 7px; }

/* Each event is its own card: a photo, then the time, title and details. */
.ev {
  position: relative; display: block; overflow: hidden;
  background: var(--card); border: 1px solid var(--card-line); border-radius: 18px; box-shadow: var(--card-shadow);
}
.ev-ph { position: relative; margin: 0; aspect-ratio: 2 / 1; overflow: hidden; background: var(--fill); }
.ev-ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out); }
.ev-ph::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--c); }
.ev:hover .ev-ph img { transform: scale(1.04); }
.ev-main { padding: 16px 18px 18px; min-width: 0; }
.ev-time { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 6px; margin-bottom: 8px; color: var(--text); }
.ev-time b { font: 700 17px/1 var(--sans); letter-spacing: .005em; }
.ev-time span { font: 700 11.5px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.ev-time .ev-end { font-weight: 600; letter-spacing: .02em; text-transform: none; font-size: 13px; }
.ev h4 { font: 600 20px/1.2 var(--serif); letter-spacing: -.015em; color: var(--text); }
.ev-where { display: flex; align-items: flex-start; gap: 6px; margin-top: 7px; font: 500 14.5px/1.4 var(--sans); color: var(--muted); }
.ev-where svg { width: 15px; height: 15px; flex: none; margin-top: 2px; color: var(--c); }
.ev-notes { margin-top: 10px; font: 500 15px/1.55 var(--sans); color: var(--body); max-width: 40em; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.tag { display: inline-flex; align-items: center; gap: 7px; min-height: 28px; padding: 0 11px; border-radius: 999px; background: var(--chip); font: 600 12.5px/1 var(--sans); color: var(--text); }
.tag.cat { background: var(--t); color: var(--ct); }
.ev-people { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--card-line); font: 500 14px/1.6 var(--sans); color: var(--muted); }
.ev-people a { padding: 10px 0; font-weight: 600; color: var(--text); text-decoration: underline 1px var(--rule); text-underline-offset: 4px; }
.ev-people a.host { color: var(--accent-text); }
.ev-people a:hover { text-decoration-color: var(--accent); }
.ev-signup { margin-top: 2px; font: 500 14px/1.5 var(--sans); color: var(--muted); }
.links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; }
.links a {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 15px; border-radius: 999px;
  border: 1px solid var(--card-line); background: var(--bg); text-decoration: none; color: var(--text);
  font: 600 13.5px/1 var(--sans); transition: border-color .2s, background-color .2s;
}
.links a:hover { border-color: var(--accent); background: var(--accent-muted); }

.cat-run { --c: var(--c-run); --t: var(--t-run); --ct: var(--ct-run); }
.cat-fitness { --c: var(--c-fitness); --t: var(--t-fitness); --ct: var(--ct-fitness); }
.cat-mind { --c: var(--c-mind); --t: var(--t-mind); --ct: var(--ct-mind); }
.cat-wellness { --c: var(--c-wellness); --t: var(--t-wellness); --ct: var(--ct-wellness); }
.cat-race { --c: var(--c-race); --t: var(--t-race); --ct: var(--ct-race); }

.more { display: flex; justify-content: center; margin-top: 28px; }
.empty { margin-top: 26px; padding: 28px 22px; border-radius: 20px; background: var(--fill); text-align: center; }
.empty h3 { font: 600 22px/1.2 var(--serif); letter-spacing: -.02em; }
.empty p { margin: 8px auto 16px; max-width: 28em; color: var(--body); font-size: 15px; }
.empty .btn { margin: 4px; }
.ev.flash { animation: flash 2.2s var(--ease-out); }
@keyframes flash { 0%, 30% { background: var(--accent-muted); border-color: var(--accent); } 100% { background: var(--card); border-color: var(--card-line); } }

.sk { display: grid; grid-template-columns: 56px 1fr; gap: 16px; margin-top: 12px; padding: 18px 20px; border-radius: 16px; background: var(--card); border: 1px solid var(--card-line); }
.sk i { display: block; border-radius: 8px; background: var(--fill); animation: pulse 1.4s ease-in-out infinite; }
.sk .c { width: 56px; height: 22px; }
.sk .l { height: 12px; width: 30%; margin: 4px 0 10px; }
.sk .t { height: 20px; width: 70%; }
.sk .s { height: 12px; width: 50%; margin-top: 10px; }
@keyframes pulse { 50% { opacity: .5; } }

.month-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.month-head h2 { font: 600 26px/1.1 var(--serif); letter-spacing: -.02em; }
.month-nav { display: flex; gap: 6px; }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--rule); background: transparent; cursor: pointer; color: var(--text); }
.icon-btn:hover:not(:disabled) { border-color: var(--text); }
.icon-btn:disabled { opacity: .35; cursor: default; }
.icon-btn svg { width: 16px; height: 16px; }
.grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); margin-top: 16px; border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); }
.wd { padding: 8px 0; text-align: center; color: var(--muted); border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); font-size: 10.5px; letter-spacing: .12em; }
.cell { position: relative; min-height: 56px; padding: 6px 4px 8px; border: 0; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); background: transparent; text-align: left; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 5px; }
.cell.blank { cursor: default; }
.cell:not(.blank):hover { background: var(--fill); }
.cell[aria-pressed="true"] { background: var(--fill); box-shadow: inset 0 0 0 2px var(--text); }
.cell .n { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; font: 600 14px/1 var(--sans); }
.cell.past .n { color: var(--muted); font-weight: 500; }
.cell.today .n { box-shadow: inset 0 0 0 2px var(--accent); color: var(--accent-text); }
.cell .dots { display: flex; flex-wrap: wrap; justify-content: center; gap: 3px; max-width: 34px; }
.cell .dots .dot { width: 6px; height: 6px; }
.cell .items { display: none; }
.cell.past .dots, .cell.past .items { opacity: .55; }
.day-list { margin-top: 8px; }
.hint { margin-top: 20px; }
.wk-count { font: 500 14px/1 var(--sans); color: var(--muted); }

/* ---------- 02 find my move ---------- */
.find-grid { display: grid; gap: 32px; }
.finder fieldset + fieldset { margin-top: 22px; }
.finder legend { color: var(--muted); margin-bottom: 12px; padding: 0; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opt { position: relative; }
.opt input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.opt span {
  display: inline-flex; align-items: center; min-height: 46px; padding: 0 20px; border-radius: 999px;
  border: 1px solid var(--rule); font: 600 15px/1 var(--sans); transition: background-color .3s var(--ease-out), color .3s, border-color .3s, transform .3s var(--ease-out);
}
.opt:hover span { border-color: var(--muted); }
.opt input:checked + span { background: var(--btn-bg); border-color: var(--btn-bg); color: var(--btn-text); }
.opt input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 3px; }
.opt input:active + span { transform: scale(.97); }
.picks { margin-top: 28px; border-top: 2px solid var(--rule); min-height: 120px; }
.pick { display: grid; grid-template-columns: 76px 1fr auto; align-items: center; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--rule); text-decoration: none; color: inherit; cursor: pointer; background: none; border-left: 0; border-right: 0; border-top: 0; width: 100%; text-align: left; }
.pick .pd { text-align: center; }
.pick .pd b { display: block; font: 600 46px/.9 var(--serif); letter-spacing: -.03em; color: var(--accent); }
.pick .pd span { display: block; margin-top: 6px; color: var(--muted); }
.pick .pi { min-width: 0; }
.pick .pt { display: block; font: 600 21px/1.15 var(--serif); letter-spacing: -.02em; }
.pick .pm { display: block; margin-top: 5px; font: 500 14px/1.4 var(--sans); color: var(--muted); }
.pick .go { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--rule); transition: transform .4s var(--ease-out), border-color .3s, background-color .3s; }
.pick .go svg { width: 15px; height: 15px; }
.pick:hover .go { transform: translateX(4px); border-color: var(--accent); background: var(--accent-muted); }
.pick { opacity: 0; transform: translateY(14px); animation: pickIn .7s var(--ease-out) forwards; }
.pick:nth-child(2) { animation-delay: .08s; }
.pick:nth-child(3) { animation-delay: .16s; }
@keyframes pickIn { to { opacity: 1; transform: none; } }
.picks-empty { padding: 22px 0; color: var(--body); }
.picks-more { display: inline-flex; margin-top: 16px; font: 600 14px/1 var(--sans); color: var(--accent-text); text-decoration: underline 1px; text-underline-offset: 4px; background: none; border: 0; padding: 10px 0; cursor: pointer; }

/* ---------- 03 what we cover ---------- */
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 14px; margin-top: 32px; }
.tile { display: flex; flex-direction: column; align-items: flex-start; width: 100%; padding: 0; border: 0; background: none; text-align: left; cursor: pointer; color: inherit; }
.tile .ph { display: block; width: 100%; aspect-ratio: 4 / 5; border-radius: 22px; overflow: hidden; background: var(--fill); }
.tile .ph img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.001); transition: transform 1.4s var(--ease-out); }
.tile:hover .ph img { transform: scale(1.05); }
.t-name { margin-top: 14px; font: 600 20px/1.15 var(--serif); letter-spacing: -.02em; display: flex; align-items: center; gap: 8px; }
.t-name::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--c); flex: none; }
.t-desc { margin-top: 6px; font: 500 14px/1.45 var(--sans); color: var(--body); }
.t-count { margin-top: 10px; font: 700 11.5px/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--accent-text); }
.t-count:empty { display: none; }
.js .tiles.reveal li { opacity: 0; transform: translateY(30px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); }
.js .tiles.reveal.in li { opacity: 1; transform: none; }
.js .tiles.reveal.in li:nth-child(2) { transition-delay: .1s; }
.js .tiles.reveal.in li:nth-child(3) { transition-delay: .2s; }
.js .tiles.reveal.in li:nth-child(4) { transition-delay: .3s; }
.js .tiles.reveal.done li:nth-child(n) { transition-delay: 0s; }
.js .tiles.reveal { opacity: 1; transform: none; }

/* ---------- 04 how it works ---------- */
.steps { display: grid; gap: 34px; margin-top: 36px; }
.step { position: relative; padding-top: 22px; border-top: 2px solid var(--rule); }
.step-ic { width: 52px; height: 52px; fill: none; stroke: var(--text); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.step-ic * { stroke-dasharray: 1; stroke-dashoffset: 0; }
.js .steps.reveal .step-ic * { stroke-dashoffset: 1; transition: stroke-dashoffset 1.6s var(--ease-out); }
.js .steps.reveal.in .step-ic * { stroke-dashoffset: 0; }
.js .steps.reveal.in .step:nth-child(2) .step-ic * { transition-delay: .15s; }
.js .steps.reveal.in .step:nth-child(3) .step-ic * { transition-delay: .3s; }
.step-n { position: absolute; right: 0; top: 18px; font: 600 54px/1 var(--serif); letter-spacing: -.03em; color: var(--accent); }
.step h3 { margin-top: 18px; font: 600 23px/1.15 var(--serif); letter-spacing: -.02em; }
.step p { margin-top: 8px; font: 500 15.5px/1.55 var(--sans); color: var(--body); max-width: 26em; }

/* ---------- 05 faq ---------- */
.faq-grid { display: grid; gap: 30px; }
.faq-ph { margin-top: 28px; border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--fill); }
.faq-ph img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 72%; }
.faq-list { border-top: 2px solid var(--rule); }
.qa { border-bottom: 1px solid var(--rule); }
.qa summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 64px; padding: 16px 0; font: 600 21px/1.2 var(--serif); letter-spacing: -.02em;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: ''; flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--rule);
  background:
    linear-gradient(var(--text), var(--text)) center / 12px 1.6px no-repeat,
    linear-gradient(var(--text), var(--text)) center / 1.6px 12px no-repeat;
  transition: transform .45s var(--ease-out), border-color .3s;
}
.qa[open] summary::after { transform: rotate(45deg); border-color: var(--accent); }
.qa summary:hover::after { border-color: var(--muted); }
.qa-a { padding: 0 48px 22px 0; }
.qa-a p { font: 500 16px/1.6 var(--sans); color: var(--body); }
.qa[open] .qa-a { animation: qaIn .55s var(--ease-out); }
@keyframes qaIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* ---------- list + host ---------- */
.block .kicker + h2 { margin-top: 14px; }
.block h2 { font: 600 clamp(38px, 6.4vw, 66px)/1 var(--serif); letter-spacing: -.035em; }
.block .lead { margin-top: 16px; font: 500 17px/1.55 var(--sans); color: var(--body); }
.host-grid { display: grid; gap: 32px; }
.mail { margin-top: 26px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.addr { font: 600 17px/1.2 var(--sans); user-select: all; -webkit-user-select: all; word-break: break-all; }
.facts { border-top: 2px solid var(--rule); }
.facts-h { color: var(--muted); padding: 16px 0 6px; }
.fact { display: grid; grid-template-columns: 112px 1fr; align-items: baseline; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--rule); }
.fact .label { color: var(--muted); font-size: 11px; }
.fact div { font: 600 16px/1.35 var(--sans); }

/* ---------- close ---------- */
.sec-close { padding: 96px 0 104px; text-align: center; }
.close-in { display: flex; flex-direction: column; align-items: center; }
.close-logo { width: 88px; height: 88px; border-radius: 50%; }
.sec-close h2 { margin-top: 28px; font: 600 clamp(54px, 11vw, 128px)/.94 var(--serif); letter-spacing: -.04em; font-variation-settings: 'opsz' 144; }
.close-steps { display: flex; flex-direction: column; gap: 0; margin: 34px 0 34px; width: 100%; max-width: 640px; border-top: 2px solid var(--rule); }
.close-steps li { display: flex; align-items: baseline; gap: 16px; padding: 16px 4px; border-bottom: 1px solid var(--rule); font: 600 17px/1.3 var(--sans); text-align: left; }
.close-steps .label { color: var(--accent-text); }

/* ---------- footer ---------- */
.foot { position: relative; z-index: 1; padding: 32px 0 48px; border-top: 1px solid var(--rule); color: var(--muted); font: 500 14px/1.55 var(--sans); }
.foot p + p { margin-top: 12px; }
.foot .row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; }
.foot a { color: var(--text); font-weight: 600; text-decoration: none; }
.foot a:hover { color: var(--accent-text); }

/* ---------- 404 ---------- */
.lost { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: 48px 0; }
.lost h1 { margin-top: 28px; font: 600 clamp(40px, 10vw, 72px)/1 var(--serif); letter-spacing: -.035em; }
.lost p { margin: 14px 0 24px; color: var(--body); max-width: 30em; }
.lost .brand { margin-right: 0; }
.lost .brand img { width: 56px; height: 56px; }

/* ---------- larger screens ---------- */
@media (min-width: 640px) {
  :root { --gutter: 32px; }
  .brand span { font-size: 15.5px; }
  .bar .wrap { position: relative; padding-top: 6px; padding-bottom: 12px; }
  .tabs { margin: 0 -10px; padding-right: 200px; }
  .filters { flex-wrap: wrap; overflow: visible; margin: 4px 0 0; padding: 0; }
  .area { position: absolute; right: var(--gutter); top: 8px; }
  .sep { display: none; }
  .week-head { display: grid; margin-bottom: 28px; }
  .sec-week { padding-top: 88px; }
  .day-title { font-size: 28px; }
  .ev { display: grid; grid-template-columns: minmax(220px, 34%) minmax(0, 1fr); }
  .ev-ph { aspect-ratio: auto; min-height: 236px; }
  .ev-ph img { position: absolute; inset: 0; }
  .ev-ph::after { left: auto; top: 0; width: 4px; height: auto; }
  .ev-main { padding: 22px 26px 22px; }
  .ev-time { margin-bottom: 10px; }
  .ev-time b { font: 600 28px/1 var(--serif); letter-spacing: -.02em; }
  .ev-time.wordy b { font: 600 20px/1.15 var(--serif); }
  .ev h4 { font-size: 24px; }
  .sk { grid-template-columns: 96px 1fr; }
  .sk .c { width: 70px; height: 28px; }
  .cell { min-height: 108px; align-items: stretch; padding: 6px 6px 8px; }
  .cell .n { width: 26px; height: 26px; font-size: 13px; }
  .cell .dots { display: none; }
  .cell .items { display: flex; flex-direction: column; gap: 3px; width: 100%; }
  .cell .it { display: block; padding: 3px 6px 3px 7px; border-radius: 5px; background: var(--t); box-shadow: inset 2px 0 0 var(--c); font: 600 11.5px/1.25 var(--sans); color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .cell .plus { font: 600 11px/1.2 var(--sans); color: var(--muted); padding-left: 2px; }
  .wd { font-size: 11px; }
  .sec { padding: 112px 0; }
  .fact { grid-template-columns: 140px 1fr; }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
  .close-steps { flex-direction: row; }
  .close-steps li { flex: 1; flex-direction: column; gap: 10px; padding: 18px 16px; border-bottom: 0; text-align: center; align-items: center; }
  .close-steps li + li { border-left: 1px solid var(--rule); }
}

@media (min-width: 900px) {
  :root { --nav-h: 68px; }
  .nav { position: sticky; top: 0; background: var(--nav-bg); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .4s; }
  .nav.scrolled { border-bottom-color: var(--rule); }
  .nav-in { height: var(--nav-h); padding-top: 0; padding-bottom: 0; }
  .hide-sm { display: inline-flex; }
  .nav-links { margin-right: 6px; }
  .find-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; }
  .find-grid .sec-head { position: sticky; top: calc(var(--nav-h) + 40px); }
  .tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
  .faq-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; }
  .faq-side { position: sticky; top: calc(var(--nav-h) + 40px); }
  .faq-list { margin-top: 6px; }
  .host-grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 64px; align-items: start; }
  .facts { margin-top: 6px; }
}

/* Margin route: markers move out to the left margin and the line connects them. */
@media (min-width: 1240px) {
  .route { display: block; }
  .sec-head { grid-template-columns: 1fr; }
  .sec-head > .kicker { grid-column: 1; }
  .mile { position: absolute; left: -92px; top: -6px; width: 46px; height: 46px; font-size: 13px; box-shadow: 0 0 0 6px var(--bg); }
  .sec-close .mile { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; transition-delay: 0s !important; }
  .js .reveal, .js .tiles.reveal li { opacity: 1 !important; transform: none !important; }
  .js .steps.reveal .step-ic * { stroke-dashoffset: 0 !important; }
  .pick { opacity: 1; transform: none; }
  .palm { animation: none !important; transform: var(--t0); }
}
