/* ==========================================================================
   Patch Fitness: the website. One stylesheet.
   Palette and type from Patch's own brand (research: ../patch-fitness-funnel/research/BRAND.md):
   ink navy #1B1F2A, ice blue #ADCDDB, off-white #F6F6F6, stone #D6D1C7, Poppins.
   The amber is the LED strip light behind the rigs in every photo of the gym, used only as glow.
   The slant (--slant) is the angle of the two blades in the Patch "P".
   ========================================================================== */

@font-face { font-family: Poppins; font-weight: 300; font-display: swap; src: url(../fonts/poppins-300.woff2) format('woff2'); }
@font-face { font-family: Poppins; font-weight: 400; font-display: swap; src: url(../fonts/poppins-400.woff2) format('woff2'); }
@font-face { font-family: Poppins; font-weight: 500; font-display: swap; src: url(../fonts/poppins-500.woff2) format('woff2'); }
@font-face { font-family: Poppins; font-weight: 600; font-display: swap; src: url(../fonts/poppins-600.woff2) format('woff2'); }
@font-face { font-family: Poppins; font-weight: 700; font-display: swap; src: url(../fonts/poppins-700.woff2) format('woff2'); }
@font-face { font-family: Poppins; font-weight: 800; font-display: swap; src: url(../fonts/poppins-800.woff2) format('woff2'); }

:root {
  --ink: #1B1F2A;
  --ink-deep: #12151D;
  --ink-raise: #232837;
  --ink-line: rgba(246, 246, 246, .12);
  --ice: #ADCDDB;
  --ice-soft: #D3E6EE;
  --ice-deep: #2F5A6D;  /* ice for text on stone/paper: 4.9:1 */
  --paper: #F6F6F6;
  --stone: #D6D1C7;
  --stone-soft: #ECE9E3;
  --mute: #A9AEBA;      /* on ink: 7.3:1 */
  --mute-ink: #4A505C;  /* on stone: 5.3:1, on paper: 7.5:1 */
  --amber: #F2A93B;
  --radius: 6.4px;      /* Patch's own button corner */
  --slant: 22deg;
  --wrap: 1240px;
  --gut: clamp(20px, 4vw, 48px);
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --head-h: 76px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--head-h) + 16px); }
body {
  margin: 0; background: var(--ink); color: var(--paper);
  font: 400 17px/1.7 Poppins, system-ui, -apple-system, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.08; letter-spacing: -.025em; text-wrap: balance; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--ice); outline-offset: 3px; border-radius: 4px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--ice); color: var(--ink); padding: 10px 16px; border-radius: var(--radius); font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
.wrap { width: min(100% - 2 * var(--gut), var(--wrap)); margin-inline: auto; }
.wrap-narrow { width: min(100% - 2 * var(--gut), 820px); margin-inline: auto; }

/* ---------- type ---------- */
.display { font-size: clamp(2.7rem, 7.4vw, 6.6rem); font-weight: 800; line-height: .96; letter-spacing: -.045em; }
.h2 { font-size: clamp(2.1rem, 4.6vw, 4rem); font-weight: 800; line-height: 1; letter-spacing: -.04em; }
.h3 { font-size: clamp(1.35rem, 2vw, 1.7rem); font-weight: 700; letter-spacing: -.02em; line-height: 1.2; }
.light { font-weight: 300; letter-spacing: -.03em; }
.ice { color: var(--ice); }
.lead { font-size: clamp(1.06rem, 1.35vw, 1.25rem); line-height: 1.65; color: var(--mute); max-width: 36em; font-weight: 400; }
.on-light .lead, .lead.on-light { color: var(--mute-ink); }
.small { font-size: .88rem; }
.muted { color: var(--mute); }
.on-light .muted { color: var(--mute-ink); }

/* The wordmark's two weights, used as the section label: wide, light caps. */
.kicker {
  display: inline-flex; align-items: center; gap: 14px; margin: 0 0 22px;
  font-size: .74rem; font-weight: 400; letter-spacing: .34em; text-transform: uppercase; color: var(--ice);
}
.kicker .t { font-weight: 700; letter-spacing: .08em; padding: 4px 9px 4px 10px; border: 1px solid currentColor; border-radius: 99px; font-variant-numeric: tabular-nums; }
.on-light .kicker { color: var(--ink); }
.on-light .kicker .t { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--ice); --fg: var(--ink); --fill: var(--paper);
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; padding: 14px 26px; border: 0; border-radius: var(--radius);
  background: var(--bg); color: var(--fg); text-decoration: none;
  font-size: .98rem; font-weight: 600; letter-spacing: .01em; line-height: 1.2;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.btn::before { /* a slanted fill that sweeps through: the P's blade */
  content: ''; position: absolute; inset: -2px -30%; z-index: -1; background: var(--fill);
  transform: translateX(-110%) skewX(calc(-1 * var(--slant))); transition: transform .55s var(--ease);
}
.btn:hover::before, .btn:focus-visible::before { transform: translateX(0) skewX(calc(-1 * var(--slant))); }
.btn:hover { box-shadow: 0 14px 34px -14px rgba(173, 205, 219, .55); }
.btn .arr { width: 18px; height: 18px; flex: none; transition: transform .4s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn-ink { --bg: var(--ink); --fg: var(--paper); --fill: #2C3346; }
.btn-ghost { --bg: transparent; --fg: var(--paper); --fill: rgba(246, 246, 246, .1); box-shadow: inset 0 0 0 1.5px rgba(246, 246, 246, .4); }
.on-light .btn-ghost { --fg: var(--ink); --fill: rgba(27, 31, 42, .07); box-shadow: inset 0 0 0 1.5px rgba(27, 31, 42, .35); }
.btn-big { min-height: 60px; padding: 18px 32px; font-size: 1.04rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.note { display: block; margin-top: 14px; font-size: .86rem; color: var(--mute); }
.on-light .note { color: var(--mute-ink); }
.link { color: var(--ice); text-decoration: none; font-weight: 600; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; transition: background-size .4s var(--ease); padding-bottom: 2px; }
.link:hover { background-size: 100% 1.5px; }
.on-light .link { color: var(--ink); }

/* ---------- header ---------- */
.head { position: fixed; inset: 0 0 auto; z-index: 60; height: var(--head-h); transition: background .4s, box-shadow .4s, transform .45s var(--ease); }
.head.solid { background: rgba(18, 21, 29, .86); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); box-shadow: 0 1px 0 var(--ink-line); }
.head.away { transform: translateY(-100%); }
.head-in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--paper); }
.brand-mark { width: 40px; height: 40px; flex: none; }
.wm { display: grid; line-height: 1; }
.wm b { font-weight: 700; font-size: 1.02rem; letter-spacing: .3em; margin-right: -.3em; }
.wm i { font-style: normal; font-weight: 300; font-size: .56rem; letter-spacing: .82em; margin-top: 5px; margin-right: -.82em; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a:not(.btn) { position: relative; padding: 10px 14px; font-size: .9rem; font-weight: 500; text-decoration: none; color: rgba(246, 246, 246, .82); transition: color .25s; }
.nav a:not(.btn):hover, .nav a[aria-current] { color: var(--paper); }
.nav a:not(.btn)::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; background: var(--ice); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.nav a:not(.btn):hover::after, .nav a[aria-current]::after { transform: scaleX(1); }
.nav .btn { min-height: 44px; padding: 10px 18px; margin-left: 10px; font-size: .9rem; }
.burger { display: none; width: 48px; height: 48px; border: 0; background: transparent; padding: 12px; margin-right: -12px; }
.burger i { display: block; height: 2px; background: var(--paper); margin: 6px 0; transition: transform .4s var(--ease), opacity .3s; }
.burger[aria-expanded="true"] i:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger[aria-expanded="true"] i:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] i:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
.drawer {
  position: fixed; inset: 0; z-index: 55; background: var(--ink-deep); padding: calc(var(--head-h) + 20px) var(--gut) 32px;
  display: flex; flex-direction: column; gap: 4px; overflow-y: auto;
  clip-path: polygon(0 0, 100% 0, 100% 0, 0 0); transition: clip-path .6s var(--ease-io); visibility: hidden;
}
.drawer.open { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); visibility: visible; }
.drawer a.d { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--ink-line); font-size: 1.7rem; font-weight: 700; letter-spacing: -.03em; text-decoration: none; }
.drawer a.d span { font-size: .72rem; font-weight: 400; letter-spacing: .3em; color: var(--ice); }
.drawer .btn { margin-top: 22px; }
.drawer .d-meta { margin-top: 24px; color: var(--mute); font-size: .9rem; }
@media (max-width: 1020px) { .nav { display: none; } .burger { display: block; } }

/* ---------- sections ---------- */
.sec { position: relative; padding: clamp(84px, 11vw, 150px) 0; }
.sec-tight { padding: clamp(60px, 7vw, 96px) 0; }
.sec-deep { background: var(--ink-deep); }
.sec-stone { background: var(--stone); color: var(--ink); }
.sec-paper { background: var(--paper); color: var(--ink); }
.sec-ice { background: var(--ice); color: var(--ink); }
.on-light { color: var(--ink); }
.sec-head { display: grid; gap: 18px; margin-bottom: clamp(40px, 5vw, 64px); max-width: 860px; }
.sec-head .lead { margin: 0; }
.sec-head.split { max-width: none; grid-template-columns: 1.1fr .9fr; align-items: end; gap: 40px; }
@media (max-width: 860px) { .sec-head.split { grid-template-columns: 1fr; gap: 18px; } }
.glow::before { /* amber LED glow, like the strips behind the rigs */
  content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background: radial-gradient(60% 50% at 85% 10%, rgba(242, 169, 59, .12), transparent 70%), radial-gradient(50% 50% at 0% 100%, rgba(173, 205, 219, .08), transparent 70%);
}
.glow > * { position: relative; z-index: 1; }

/* ---------- hero (home): the film plays inside the P ---------- */
.hero { position: relative; min-height: 100svh; padding: calc(var(--head-h) + 24px) 0 56px; display: flex; align-items: center; overflow: hidden; background: var(--ink-deep); }
.hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(48% 60% at 72% 46%, rgba(242, 169, 59, .16), transparent 70%), radial-gradient(40% 40% at 10% 90%, rgba(173, 205, 219, .1), transparent 70%); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1fr 1.02fr; gap: clamp(24px, 4vw, 64px); align-items: center; }
.hero h1 { display: grid; gap: 22px; }
.eyebrow { font-size: .78rem; font-weight: 400; letter-spacing: .3em; text-transform: uppercase; color: var(--ice); line-height: 1.6; }
.eyebrow span { white-space: nowrap; }
.eyebrow span + span::before { content: '·'; margin: 0 .7em; }
@media (max-width: 560px) { .eyebrow span { display: block; } .eyebrow span + span::before { content: none; } }
.hero .lead { margin: 26px 0 32px; }
.proof { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 34px; font-size: .88rem; color: var(--mute); }
.proof b { color: var(--paper); font-weight: 600; }
.stars { color: var(--amber); letter-spacing: .12em; }
.pfilm { position: relative; width: 100%; aspect-ratio: 1.12; }
.pfilm-clip { position: absolute; inset: 0; clip-path: url(#pclip); -webkit-clip-path: url(#pclip); background: #000; }
.pfilm video, .pfilm img { width: 100%; height: 100%; object-fit: cover; }
.pfilm-clip::after { content: ''; position: absolute; inset: 0; background: linear-gradient(200deg, rgba(242, 169, 59, .12), rgba(18, 21, 29, .25)); }
.pfilm-ghost { position: absolute; inset: 0; color: rgba(173, 205, 219, .14); transform: translate(-3.5%, 3%); pointer-events: none; }
.pfilm-ghost svg { width: 100%; height: 100%; }
.film-toggle { position: absolute; right: 2%; bottom: 0; z-index: 3; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--ink-line); background: rgba(18, 21, 29, .6); display: grid; place-items: center; color: var(--paper); }
.film-toggle svg { width: 14px; height: 14px; }
.scrollcue { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); display: grid; justify-items: center; gap: 8px; font-size: .66rem; letter-spacing: .32em; text-transform: uppercase; color: var(--mute); }
.scrollcue i { width: 1px; height: 38px; background: linear-gradient(var(--ice), transparent); animation: cue 2.2s var(--ease-io) infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
@media (max-width: 900px) {
  .hero { align-items: flex-start; padding-top: calc(var(--head-h) + 8px); }
  .hero-grid { grid-template-columns: 1fr; gap: 10px; }
  .hero-media { order: -1; width: min(86vw, 440px); margin: 0 auto; }
  .scrollcue { display: none; }
}

/* ---------- page heads (inner pages) ---------- */
.phead { position: relative; padding: calc(var(--head-h) + clamp(48px, 8vw, 110px)) 0 clamp(56px, 7vw, 96px); overflow: hidden; background: var(--ink-deep); }
.phead-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 5vw, 72px); align-items: end; }
.phead h1 { font-size: clamp(2.4rem, 5.6vw, 5rem); font-weight: 800; letter-spacing: -.045em; line-height: .98; }
.phead .lead { margin-top: 24px; }
.phead .btn-row { margin-top: 30px; }
.phead-media { position: relative; }
.phead-media .blade-img { aspect-ratio: 4 / 5; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 26px; padding: 0; list-style: none; font-size: .78rem; color: var(--mute); }
.crumbs li + li::before { content: '/'; margin-right: 8px; opacity: .5; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--paper); }
@media (max-width: 860px) { .phead-grid { grid-template-columns: 1fr; } .phead-media { max-width: 420px; } }

/* ---------- images: the blade frame + blade wipe reveal ---------- */
.blade-img { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--ink-raise); }
.blade-img img { width: 100%; height: 100%; object-fit: cover; }
.slant { clip-path: polygon(9% 0, 100% 0, 91% 100%, 0 100%); border-radius: 0; }
[data-blade] { clip-path: polygon(0 100%, 0 100%, -40% 100%, -40% 100%); }
[data-blade].in { clip-path: polygon(-40% 0, 140% 0, 140% 100%, -40% 100%); transition: clip-path 1.25s var(--ease-io) var(--d, 0s); }
[data-blade].slant.in { clip-path: polygon(9% 0, 100% 0, 91% 100%, 0 100%); }
[data-blade] img { transform: scale(1.12); transition: transform 1.8s var(--ease) var(--d, 0s); }
[data-blade].in img { transform: scale(1); }
.pll { will-change: transform; }

/* ---------- reveals ---------- */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease) var(--d, 0s), transform .9s var(--ease) var(--d, 0s); }
[data-reveal].in { opacity: 1; transform: none; }
[data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
[data-split] .w > span { display: inline-block; transform: translateY(105%); transition: transform 1s var(--ease) var(--d, 0s); }
[data-split].in .w > span { transform: none; }
.js-off [data-reveal], .js-off [data-split] .w > span { opacity: 1; transform: none; }
.js-off [data-blade] { clip-path: none; }

/* ---------- marquee ---------- */
.marquee { overflow: hidden; background: var(--ice); color: var(--ink); padding: 18px 0; border-block: 1px solid rgba(27, 31, 42, .15); }
.marquee-track { display: flex; width: max-content; will-change: transform; }
.marquee-track span { display: inline-flex; align-items: center; gap: 28px; padding-right: 28px; white-space: nowrap; font-size: clamp(1.1rem, 2.2vw, 1.7rem); font-weight: 700; letter-spacing: -.02em; }
.marquee-track svg { width: 26px; height: 24px; flex: none; }

/* ---------- manifesto (scroll-lit words) ---------- */
.manifesto { font-size: clamp(1.7rem, 3.6vw, 3.2rem); font-weight: 600; line-height: 1.22; letter-spacing: -.035em; max-width: 19em; }
.manifesto .mw { color: rgba(246, 246, 246, .16); transition: color .35s; }
.manifesto .mw.lit { color: var(--paper); }
.manifesto .mw.hot.lit { color: var(--ice); }
.sign { display: flex; align-items: center; gap: 14px; margin-top: 40px; color: var(--mute); font-size: .92rem; }
.sign img { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; }

/* ---------- who it's for ---------- */
.who { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.who-card { position: relative; padding: 28px 26px 26px; border-radius: 10px; background: var(--paper); color: var(--ink); display: flex; flex-direction: column; gap: 14px; min-height: 280px; transition: transform .5s var(--ease), box-shadow .5s var(--ease); overflow: hidden; }
.who-card:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -30px rgba(0, 0, 0, .6); }
.who-card h3 { font-size: 1.28rem; max-width: 12em; padding-top: 4px; }
.who-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
/* the member's film, cut on the slant of the P's blades; a silent preview plays on hover */
.who-thumb {
  position: relative; flex: none; width: 112px; aspect-ratio: 4 / 5; margin: -6px -8px 0 0; padding: 0; border: 0;
  background: var(--ink); overflow: hidden; clip-path: polygon(16% 0, 100% 0, 84% 100%, 0 100%);
  transition: transform .6s var(--ease), clip-path .6s var(--ease);
}
.who-thumb img, .who-thumb video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.who-thumb video { opacity: 0; transition: opacity .4s; }
.who-thumb.playing video { opacity: 1; }
.who-thumb::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(18, 21, 29, .7), transparent 55%); }
.who-thumb .play { position: absolute; z-index: 2; left: 50%; top: 46%; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; background: var(--ice); color: var(--ink); display: grid; place-items: center; transition: transform .4s var(--ease), opacity .3s; }
.who-thumb .play svg { width: 10px; height: 10px; margin-left: 2px; }
.who-thumb .dur { position: absolute; z-index: 2; left: 0; right: 0; bottom: 7px; text-align: center; font-size: .66rem; font-weight: 600; letter-spacing: .06em; color: var(--paper); }
.who-card:hover .who-thumb { transform: scale(1.06); clip-path: polygon(8% 0, 100% 0, 92% 100%, 0 100%); }
.who-card:hover .who-thumb .play, .who-thumb.playing .play { transform: scale(.8); opacity: 0; }
.who-thumb:focus-visible { outline: none; }
.who-thumb:focus-visible .play { box-shadow: 0 0 0 3px var(--ink), 0 0 0 5px var(--ice); }
.who-card blockquote { margin: auto 0 0; font-size: .98rem; line-height: 1.55; color: #3A4050; }
.who-card cite { display: block; margin-top: 10px; font-style: normal; font-size: .8rem; font-weight: 600; letter-spacing: .04em; color: var(--ink); }
.who-card .film-link { margin-top: 4px; font-size: .84rem; font-weight: 600; color: var(--ink); background: none; border: 0; padding: 0; text-align: left; display: inline-flex; gap: 8px; align-items: center; }
.who-card .film-link svg { width: 22px; height: 22px; }
@media (max-width: 960px) { .who { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .who { grid-template-columns: 1fr; } .who-card { min-height: 0; } .who-thumb { width: 96px; } }

/* ---------- answer block (AI search: question as heading, answer first) ---------- */
.answer { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.answer .first { font-size: clamp(1.15rem, 1.6vw, 1.4rem); line-height: 1.55; font-weight: 500; color: var(--paper); }
.on-light .answer .first, .answer.on-light .first { color: var(--ink); }
@media (max-width: 900px) { .answer { grid-template-columns: 1fr; } }

/* ---------- pillars ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pillar { display: grid; gap: 20px; align-content: start; }
.pillar .blade-img { aspect-ratio: 4 / 5; }
.pillar .n { font-size: .74rem; letter-spacing: .32em; color: var(--ice); text-transform: uppercase; }
.on-light .pillar .n { color: var(--ice-deep); }
.pillar h3 { font-size: 1.45rem; }
.pillar p { color: var(--mute); margin: 0; }
.on-light .pillar p { color: var(--mute-ink); }
@media (max-width: 900px) { .pillars { grid-template-columns: 1fr; } .pillar { grid-template-columns: 1fr 1.3fr; align-items: center; } .pillar .blade-img { aspect-ratio: 1; } }
@media (max-width: 560px) { .pillar { grid-template-columns: 1fr; } .pillar .blade-img { aspect-ratio: 16 / 10; } }

/* ---------- the hour: a session timeline that fills as you scroll ---------- */
.hour { position: relative; margin-top: 10px; }
.hour-bar { position: relative; height: 4px; border-radius: 4px; background: var(--ink-line); overflow: hidden; }
.on-light .hour-bar { background: rgba(27, 31, 42, .15); }
.hour-bar i { position: absolute; inset: 0; background: linear-gradient(90deg, var(--ice), var(--amber)); transform-origin: left; transform: scaleX(var(--hp, 0)); }
.hour-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; margin-top: 28px; }
.hour-step { position: relative; padding-top: 18px; }
.hour-step::before { content: ''; position: absolute; left: 0; top: 0; width: 28px; height: 4px; border-radius: 3px; background: var(--ink-line); transform: skewX(calc(-1 * var(--slant))); transition: background .5s, width .5s var(--ease); }
.on-light .hour-step::before { background: rgba(27, 31, 42, .15); }
.hour-step.on::before { background: var(--ice); width: 46px; }
.on-light .hour-step.on::before { background: var(--ink); }
.hour-step .tm { font-size: .78rem; font-weight: 700; letter-spacing: .08em; color: var(--ice); font-variant-numeric: tabular-nums; }
.on-light .hour-step .tm { color: var(--ice-deep); }
.hour-step h3 { font-size: 1.12rem; margin: 6px 0 8px; }
.hour-step p { font-size: .92rem; color: var(--mute); margin: 0; }
.on-light .hour-step p { color: var(--mute-ink); }
@media (max-width: 900px) { .hour-steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .hour-steps { grid-template-columns: 1fr; } }

/* ---------- four-week block ladder (sticky counter) ---------- */
.ladder { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 90px); }
.ladder-stick { position: sticky; top: calc(var(--head-h) + 40px); align-self: start; }
.ladder-count { font-size: clamp(5rem, 13vw, 11rem); font-weight: 800; letter-spacing: -.06em; line-height: .85; font-variant-numeric: tabular-nums; }
.ladder-count small { font-size: .2em; letter-spacing: .3em; font-weight: 400; display: block; margin-bottom: 14px; color: var(--ice); text-transform: uppercase; }
.on-light .ladder-count small { color: var(--ice-deep); }
.ladder-bars { display: flex; gap: 8px; margin-top: 26px; }
.ladder-bars i { flex: 1; height: 8px; border-radius: 3px; background: rgba(27, 31, 42, .14); transform: skewX(calc(-1 * var(--slant))); transition: background .5s; }
.ladder-bars i.on { background: var(--ink); }
.rung { position: relative; padding: 34px 0 34px 26px; border-top: 1px solid rgba(27, 31, 42, .18); }
.rung::before { content: ''; position: absolute; left: 0; top: 34px; bottom: 34px; width: 4px; border-radius: 3px; background: rgba(27, 31, 42, .12); transition: background .5s; }
.rung.on::before { background: var(--ink); }
.rung h3 { transition: color .5s; color: var(--mute-ink); }
.rung.on h3 { color: var(--ink); }
.rung h3 { font-size: 1.6rem; margin-bottom: 10px; }
.rung p { margin: 0; color: var(--mute-ink); max-width: 34em; }
@media (max-width: 820px) { .ladder { grid-template-columns: 1fr; } .ladder-stick { position: static; } .rung h3 { color: var(--ink); } }

/* ---------- films ---------- */
.rail-wrap { position: relative; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(220px, 23vw, 290px); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px var(--gut) 24px; margin: 0 calc(-1 * var(--gut)); scrollbar-width: none; cursor: grab; }
.rail::-webkit-scrollbar { display: none; }
.rail.drag { cursor: grabbing; scroll-snap-type: none; }
.rail > * { scroll-snap-align: start; }
.rail-ctrl { display: flex; gap: 10px; }
.rail-ctrl button { width: 50px; height: 50px; border-radius: 50%; border: 1px solid var(--ink-line); background: transparent; display: grid; place-items: center; transition: background .3s, color .3s; }
.on-light .rail-ctrl button { border-color: rgba(27, 31, 42, .25); }
.rail-ctrl button:hover { background: var(--ice); color: var(--ink); border-color: var(--ice); }
.rail-ctrl svg { width: 18px; height: 18px; }
.film { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: 10px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--ink-raise); text-align: left; color: var(--paper); transform: perspective(900px) rotateX(var(--rx, 0)) rotateY(var(--ry, 0)); transition: transform .5s var(--ease); }
.film img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.film:hover img { transform: scale(1.05); }
.film::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(18, 21, 29, .96) 8%, rgba(18, 21, 29, .55) 42%, transparent 66%); }
.film .meta { position: absolute; z-index: 2; left: 18px; right: 18px; bottom: 16px; }
.film .name, .film .line { display: block; }
.film .name { font-size: 1.16rem; font-weight: 700; letter-spacing: -.01em; }
.film .line { margin-top: 4px; font-size: .84rem; line-height: 1.45; color: rgba(246, 246, 246, .8); }
.film .play { position: absolute; z-index: 2; top: 14px; right: 14px; width: 46px; height: 46px; border-radius: 50%; background: var(--ice); color: var(--ink); display: grid; place-items: center; transition: transform .4s var(--ease); }
.film:hover .play { transform: scale(1.12); }
.film .play svg { width: 14px; height: 14px; margin-left: 2px; }
.film .dur { position: absolute; z-index: 2; top: 18px; left: 16px; font-size: .72rem; font-weight: 600; letter-spacing: .08em; padding: 3px 8px; border-radius: 99px; background: rgba(18, 21, 29, .65); }
.films-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.chip { min-height: 42px; padding: 8px 16px; border-radius: 99px; border: 1px solid var(--ink-line); background: transparent; font-size: .88rem; font-weight: 500; transition: background .3s, color .3s, border-color .3s; }
.chip[aria-pressed="true"], .chip[aria-selected="true"], .chip:hover { background: var(--ice); color: var(--ink); border-color: var(--ice); }
.on-light .chip { border-color: rgba(27, 31, 42, .25); }

/* film lightbox */
.lb { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; background: rgba(10, 12, 17, .92); opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s; }
.lb.open { opacity: 1; visibility: visible; }
.lb-box { position: relative; width: min(92vw, calc(84svh * 9 / 16)); aspect-ratio: 9 / 16; border-radius: 12px; overflow: hidden; background: #000; transform: scale(.94); transition: transform .45s var(--ease); }
.lb.open .lb-box { transform: none; }
.lb-box video { width: 100%; height: 100%; object-fit: cover; }
.lb-x, .lb-nav { position: absolute; z-index: 2; width: 50px; height: 50px; border-radius: 50%; border: 0; background: var(--paper); color: var(--ink); display: grid; place-items: center; }
.lb-x { top: 16px; right: 16px; }
.lb-nav svg, .lb-x svg { width: 18px; height: 18px; }
.lb-prev { left: max(16px, calc(50% - min(46vw, 42svh * 9 / 16) - 70px)); top: 50%; transform: translateY(-50%); }
.lb-next { right: max(16px, calc(50% - min(46vw, 42svh * 9 / 16) - 70px)); top: 50%; transform: translateY(-50%); }
.lb-cap { position: absolute; left: 0; right: 0; bottom: 18px; text-align: center; font-size: .9rem; color: var(--mute); }
@media (max-width: 700px) { .lb-nav { top: auto; bottom: 14px; transform: none; } .lb-prev { left: 16px; } .lb-next { right: 16px; } .lb-cap { bottom: 78px; } }

/* ---------- numbers ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink-line); }
.on-light .stats { border-color: rgba(27, 31, 42, .18); }
.stat { padding: 30px 22px 6px 0; }
.stat + .stat { padding-left: 22px; border-left: 1px solid var(--ink-line); }
.on-light .stat + .stat { border-color: rgba(27, 31, 42, .18); }
.stat .num { font-size: clamp(2.6rem, 5vw, 4.4rem); font-weight: 800; letter-spacing: -.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat .num sup { font-size: .45em; vertical-align: top; position: relative; top: .25em; color: var(--ice); }
.on-light .stat .num sup { color: var(--ice-deep); }
.stat p { margin: 10px 0 0; font-size: .86rem; color: var(--mute); line-height: 1.45; max-width: 15em; }
.on-light .stat p { color: var(--mute-ink); }
@media (max-width: 760px) { .stats { grid-template-columns: 1fr 1fr; } .stat:nth-child(3) { padding-left: 0; border-left: 0; } .stat { border-top: 1px solid var(--ink-line); } }

/* ---------- reviews ---------- */
.rv-rows { display: grid; gap: 16px; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.rv-track { display: flex; gap: 16px; width: max-content; animation: rv 120s linear infinite; }
.rv-track.rev { animation-direction: reverse; animation-duration: 140s; }
.rv-rows:hover .rv-track, .rv-rows:focus-within .rv-track { animation-play-state: paused; }
@keyframes rv { to { transform: translateX(-50%); } }
.rv { flex: none; width: 380px; padding: 24px 24px 22px; border-radius: 10px; background: var(--paper); color: var(--ink); display: flex; flex-direction: column; gap: 12px; }
.rv p { margin: 0; font-size: .95rem; line-height: 1.6; color: #343A48; }
.rv footer { margin-top: auto; display: flex; justify-content: space-between; align-items: center; font-size: .82rem; font-weight: 600; }
.rv footer span { font-weight: 400; color: var(--mute-ink); }
.rv .stars { font-size: .82rem; }
.g-badge { display: inline-flex; align-items: center; gap: 14px; padding: 12px 18px 12px 14px; border-radius: 99px; background: var(--ink-raise); font-size: .9rem; text-decoration: none; }
.on-light .g-badge { background: var(--paper); }
.g-badge b { font-size: 1.2rem; }
.g-badge svg { width: 30px; height: 30px; flex: none; }
.rv-wall { columns: 3 320px; column-gap: 16px; }
.rv-wall .rv { width: auto; break-inside: avoid; margin-bottom: 16px; border: 1px solid rgba(27, 31, 42, .08); }
@media (max-width: 520px) { .rv { width: 300px; } }

/* ---------- photo collage ---------- */
.collage { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: clamp(60px, 7vw, 96px); gap: 14px; }
.collage .blade-img:nth-child(1) { grid-column: 1 / 6; grid-row: 1 / 6; }
.collage .blade-img:nth-child(2) { grid-column: 6 / 10; grid-row: 1 / 4; }
.collage .blade-img:nth-child(3) { grid-column: 10 / 13; grid-row: 1 / 5; }
.collage .blade-img:nth-child(4) { grid-column: 6 / 10; grid-row: 4 / 7; }
.collage .blade-img:nth-child(5) { grid-column: 10 / 13; grid-row: 5 / 7; }
@media (max-width: 760px) {
  .collage { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; }
  .collage .blade-img:nth-child(n) { grid-column: auto; grid-row: span 1; }
  .collage .blade-img:nth-child(1) { grid-column: 1 / 3; grid-row: span 2; }
}

/* ---------- list of moments (community) ---------- */
.moments { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 48px; margin-top: 48px; }
.moment { display: grid; grid-template-columns: 92px 1fr; gap: 18px; padding: 22px 0; border-top: 1px solid var(--ink-line); }
.on-light .moment { border-color: rgba(27, 31, 42, .16); }
.moment .when { font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ice); padding-top: 4px; }
.on-light .moment .when { color: var(--ice-deep); }
.moment h3 { font-size: 1.08rem; margin-bottom: 4px; }
.moment p { margin: 0; color: var(--mute); font-size: .94rem; }
.on-light .moment p { color: var(--mute-ink); }
@media (max-width: 760px) { .moments { grid-template-columns: 1fr; } }

/* ---------- the offer ---------- */
.offer { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.incl { list-style: none; margin: 28px 0 32px; padding: 0; display: grid; gap: 2px; }
.incl li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--ink-line); font-size: 1.04rem; }
.on-light .incl li { border-color: rgba(27, 31, 42, .15); }
.incl svg { width: 26px; height: 26px; color: var(--ice); }
.on-light .incl svg { color: var(--ink); }
.offer-media { position: relative; }
.offer-media .blade-img { aspect-ratio: 4 / 5; }
.badge-spin { position: absolute; left: -38px; bottom: 40px; width: 132px; height: 132px; border-radius: 50%; background: var(--ice); color: var(--ink); display: grid; place-items: center; text-align: center; font-weight: 800; line-height: 1; box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .6); }
.badge-spin b { font-size: 2.6rem; letter-spacing: -.05em; display: block; }
.badge-spin span { font-size: .68rem; letter-spacing: .26em; text-transform: uppercase; font-weight: 600; }
.badge-spin svg { position: absolute; inset: 6px; width: calc(100% - 12px); height: calc(100% - 12px); animation: spin 22s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 900px) { .offer { grid-template-columns: 1fr; } .badge-spin { left: 12px; bottom: 12px; width: 112px; height: 112px; } .badge-spin b { font-size: 2.1rem; } }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: s; }
.step { position: relative; padding: 30px 24px 28px; border-radius: 10px; background: var(--ink-raise); }
.on-light .step { background: var(--paper); }
.step .no { display: inline-grid; place-items: center; width: 44px; height: 44px; margin-bottom: 18px; border-radius: 50%; background: var(--ice); color: var(--ink); font-weight: 800; }
.step h3 { font-size: 1.15rem; margin-bottom: 8px; }
.step p { margin: 0; font-size: .94rem; color: var(--mute); }
.on-light .step p { color: var(--mute-ink); }
@media (max-width: 960px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--ink-line); }
.on-light .faq { border-color: rgba(27, 31, 42, .18); }
.faq details { border-bottom: 1px solid var(--ink-line); }
.on-light .faq details { border-color: rgba(27, 31, 42, .18); }
.faq summary { list-style: none; display: flex; justify-content: space-between; gap: 24px; align-items: center; padding: 24px 0; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { font-size: clamp(1.06rem, 1.5vw, 1.24rem); font-weight: 600; letter-spacing: -.01em; }
.faq summary .pm { position: relative; flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid currentColor; opacity: .7; transition: transform .45s var(--ease), background .3s; }
.faq summary .pm::before, .faq summary .pm::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); }
.faq summary .pm::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .45s var(--ease); }
.faq details[open] .pm { transform: rotate(180deg); }
.faq details[open] .pm::after { transform: translate(-50%, -50%) rotate(0); }
.faq .a { padding: 0 60px 26px 0; color: var(--mute); max-width: 52em; }
.on-light .faq .a { color: var(--mute-ink); }
.faq .a p:last-child { margin: 0; }
.faq-group + .faq-group { margin-top: 56px; }
.faq-group > h2 { font-size: 1.1rem; letter-spacing: .3em; text-transform: uppercase; font-weight: 400; margin-bottom: 14px; color: var(--ice); }
.on-light .faq-group > h2 { color: var(--ice-deep); }

/* ---------- team ---------- */
.team { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 18px; }
.coach { display: grid; gap: 14px; align-content: start; }
.coach .blade-img { aspect-ratio: 4 / 5; }
.coach .blade-img img { filter: grayscale(.25) contrast(1.04); transition: filter .5s, transform 1s var(--ease); }
.coach:hover .blade-img img { filter: none; transform: scale(1.04); }
.coach h3 { font-size: 1.12rem; }
.coach .role { font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ice); margin-top: 2px; }
.on-light .coach .role { color: var(--ice-deep); }
.coach p { margin: 0; font-size: .9rem; color: var(--mute); line-height: 1.55; }
.on-light .coach p { color: var(--mute-ink); }

/* ---------- timeline (about) ---------- */
.tl { position: relative; display: grid; gap: 0; padding-left: 34px; }
.tl::before { content: ''; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: var(--ink-line); }
.tl::after { content: ''; position: absolute; left: 7px; top: 8px; width: 2px; height: calc(var(--tp, 0) * (100% - 16px)); background: var(--ice); }
.tl-item { position: relative; padding: 0 0 38px; }
.tl-item::before { content: ''; position: absolute; left: -34px; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--ink-deep); border: 2px solid var(--ice); }
.tl-item .when { font-size: .76rem; font-weight: 700; letter-spacing: .16em; color: var(--ice); text-transform: uppercase; }
.tl-item h3 { font-size: 1.3rem; margin: 6px 0 8px; }
.tl-item p { margin: 0; color: var(--mute); max-width: 40em; }

/* ---------- space / features ---------- */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.feature + .feature { margin-top: clamp(64px, 9vw, 120px); }
.feature.flip > :first-child { order: 2; }
.feature .blade-img { aspect-ratio: 5 / 4; }
.feature .h2 { font-size: clamp(1.9rem, 3.4vw, 3rem); }
.feature p { color: var(--mute); }
.on-light .feature p { color: var(--mute-ink); }
@media (max-width: 860px) { .feature { grid-template-columns: 1fr; } .feature.flip > :first-child { order: 0; } }
.partners { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.partner { padding: 28px; border-radius: 10px; background: var(--paper); }
.partner h3 { font-size: 1.2rem; margin-bottom: 8px; }
.partner p { margin: 0; color: var(--mute-ink); font-size: .95rem; }
@media (max-width: 800px) { .partners { grid-template-columns: 1fr; } }

/* ---------- comparison table ---------- */
.compare { width: 100%; border-collapse: collapse; font-size: .96rem; }
.compare th, .compare td { padding: 16px 14px; text-align: left; border-bottom: 1px solid rgba(27, 31, 42, .15); vertical-align: top; }
.compare thead th { font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; color: var(--mute-ink); }
.compare thead th.us { color: var(--ink); }
.compare td.us { background: rgba(173, 205, 219, .35); font-weight: 600; }
.compare tbody th { font-weight: 600; width: 26%; }
.table-scroll { overflow-x: auto; }
@media (max-width: 640px) { .compare { min-width: 600px; } }

/* ---------- timetable ---------- */
.tt-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.tt-day { display: none; }
.tt-day.on { display: block; }
.js-off .tt-day { display: block; margin-bottom: 40px; }
.tt-day h2 { font-size: 1.4rem; margin-bottom: 16px; }
.tt-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.tt-list li { display: grid; grid-template-columns: 74px 1fr; gap: 10px; align-items: center; padding: 14px 16px; border-radius: 8px; background: var(--paper); border-left: 4px solid var(--ice); }
.tt-list li.cls { border-left-color: var(--stone); background: var(--stone-soft); }
.tt-list .tm { font-weight: 700; font-variant-numeric: tabular-nums; }
.tt-list .what { font-size: .92rem; line-height: 1.3; }
.tt-list .what small { display: block; color: var(--mute-ink); font-size: .78rem; }
.legend { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 18px; font-size: .86rem; color: var(--mute-ink); }
.legend i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; background: var(--ice); }
.legend i.cls { background: var(--stone); }
.class-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.class-card { padding: 22px; border-radius: 10px; background: var(--ink-raise); }
.class-card h3 { font-size: 1.1rem; }
.class-card .len { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ice); }
.class-card p { margin: 8px 0 0; font-size: .92rem; color: var(--mute); }

/* ---------- location ---------- */
.where { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 72px); align-items: stretch; }
.map { position: relative; min-height: 380px; border-radius: 10px; overflow: hidden; background: var(--ink-raise); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.4) contrast(1.05); }
.nap { font-style: normal; display: grid; gap: 16px; margin: 26px 0 30px; }
.nap div { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; }
.nap svg { width: 22px; height: 22px; color: var(--ice); margin-top: 3px; }
.on-light .nap svg { color: var(--ink); }
.nap a { text-decoration: none; }
.nap a:hover { text-decoration: underline; }
@media (max-width: 860px) { .where { grid-template-columns: 1fr; } }

/* ---------- forms ---------- */
.form { display: grid; gap: 14px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .form .row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; }
.field label, .q-label { font-size: .82rem; font-weight: 600; letter-spacing: .02em; }
.field input, .field textarea, .field select {
  width: 100%; min-height: 54px; padding: 14px 16px; border-radius: var(--radius); border: 1.5px solid rgba(27, 31, 42, .2);
  background: #fff; color: var(--ink); font: 400 1rem/1.4 Poppins, system-ui, sans-serif; transition: border-color .25s, box-shadow .25s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(173, 205, 219, .6); }
.field input[aria-invalid="true"] { border-color: #B3261E; }
.err { color: #B3261E; font-size: .82rem; min-height: 0; }
.consent { font-size: .78rem; color: var(--mute-ink); line-height: 1.5; margin: 4px 0 0; }
.consent a { color: inherit; }
.form-card { padding: clamp(24px, 4vw, 40px); border-radius: 12px; background: var(--paper); color: var(--ink); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .5); }
.form-card h2, .form-card h3 { color: var(--ink); }
.done { display: none; text-align: left; }
.done.on { display: block; }
.done .tick { width: 56px; height: 56px; border-radius: 50%; background: var(--ice); color: var(--ink); display: grid; place-items: center; margin-bottom: 18px; }
.done .tick svg { width: 26px; height: 26px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chips span { display: inline-flex; min-height: 44px; align-items: center; padding: 9px 16px; border-radius: 99px; border: 1.5px solid rgba(27, 31, 42, .22); font-size: .9rem; font-weight: 500; transition: background .25s, border-color .25s, color .25s; }
.chips input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.chips input:focus-visible + span { box-shadow: 0 0 0 3px var(--ice); }

/* trial modal */
.modal { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 16px; background: rgba(10, 12, 17, .78); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s; }
.modal.open { opacity: 1; visibility: visible; }
.modal-box { position: relative; width: min(100%, 560px); max-height: calc(100svh - 32px); overflow-y: auto; border-radius: 14px; background: var(--paper); color: var(--ink); padding: clamp(26px, 4vw, 40px); transform: translateY(24px) scale(.98); transition: transform .5s var(--ease); }
.modal.open .modal-box { transform: none; }
.modal-x { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(27, 31, 42, .07); display: grid; place-items: center; color: var(--ink); }
.modal-x svg { width: 16px; height: 16px; }
.modal h2 { font-size: clamp(1.6rem, 3vw, 2rem); letter-spacing: -.035em; margin: 6px 0 8px; padding-right: 40px; }
.modal .sub { color: var(--mute-ink); margin-bottom: 22px; font-size: .96rem; }
.modal .kicker { margin-bottom: 8px; color: var(--ice-deep); }
.stepper { display: flex; gap: 6px; margin-bottom: 18px; }
.stepper i { height: 4px; flex: 1; border-radius: 4px; background: rgba(27, 31, 42, .12); transform: skewX(calc(-1 * var(--slant))); }
.stepper i.on { background: var(--ink); }
.pane { display: none; }
.pane.on { display: block; animation: paneIn .5s var(--ease); }
@keyframes paneIn { from { opacity: 0; transform: translateX(14px); } }
.q { margin-bottom: 20px; }
.q .q-label { display: block; margin-bottom: 10px; font-size: .95rem; }
.modal .btn { width: 100%; }
.modal .btn-ink { --fill: #2C3346; }
.modal .btn-ghost, .form-card:not([style]) .btn-ghost { --fg: var(--ink); --fill: rgba(27, 31, 42, .07); box-shadow: inset 0 0 0 1.5px rgba(27, 31, 42, .35); }
.modal .skipq { display: block; margin: 12px auto 0; background: none; border: 0; font-size: .86rem; color: var(--mute-ink); text-decoration: underline; }

/* ---------- prose (blog, privacy) ---------- */
.prose { font-size: 1.08rem; line-height: 1.8; color: #2F3441; }
.prose h2, .prose h3, .prose h4 { color: var(--ink); margin: 1.9em 0 .6em; letter-spacing: -.02em; }
.prose h2 { font-size: 1.8rem; }
.prose h3 { font-size: 1.4rem; }
.prose h4 { font-size: 1.15rem; }
.prose a { color: var(--ink); text-decoration-color: var(--ice-deep); text-underline-offset: 3px; text-decoration-thickness: 2px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin: .35em 0; }
.prose li p { margin: 0; }
.prose img { border-radius: 10px; margin: 1.6em 0; }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 22px; border-left: 4px solid var(--ice); font-size: 1.2rem; color: var(--ink); }
.post-head { padding: calc(var(--head-h) + clamp(40px, 7vw, 90px)) 0 0; background: var(--ink-deep); }
.post-head h1 { font-size: clamp(2.1rem, 4.8vw, 4rem); font-weight: 800; letter-spacing: -.04em; line-height: 1.02; max-width: 20em; }
.post-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 22px; color: var(--mute); font-size: .88rem; }
.post-cover { margin-top: clamp(36px, 5vw, 60px); transform: translateY(clamp(40px, 6vw, 80px)); }
.post-cover .blade-img { aspect-ratio: 16 / 8; }
.post-body { padding-top: clamp(90px, 12vw, 160px); }
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px 20px; }
.post-card { display: grid; gap: 14px; align-content: start; text-decoration: none; color: inherit; }
.post-card .blade-img { aspect-ratio: 4 / 3; }
.post-card .blade-img img { transition: transform 1s var(--ease); }
.post-card:hover .blade-img img { transform: scale(1.05); }
.post-card .date { font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ice); }
.on-light .post-card .date { color: var(--ice-deep); }
.post-card h3 { font-size: 1.2rem; line-height: 1.25; }
.post-card p { margin: 0; color: var(--mute); font-size: .92rem; line-height: 1.55; }
.on-light .post-card p { color: var(--mute-ink); }
.post-card.big { grid-column: span 2; }
.post-card.big .blade-img { aspect-ratio: 16 / 9; }
.post-card.big h3 { font-size: 1.7rem; }
@media (max-width: 900px) { .posts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .posts { grid-template-columns: 1fr; } .post-card.big { grid-column: auto; } }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; padding: clamp(100px, 13vw, 180px) 0; text-align: center; background: var(--ink-deep); }
.cta-band .bg { position: absolute; inset: -10% 0; }
.cta-band .bg img { width: 100%; height: 100%; object-fit: cover; opacity: .32; }
.cta-band::after { content: ''; position: absolute; inset: 0; background: radial-gradient(60% 70% at 50% 50%, rgba(18, 21, 29, .2), rgba(18, 21, 29, .92)); }
.cta-band .wrap { position: relative; z-index: 2; display: grid; justify-items: center; gap: 22px; }
.cta-band .display { font-size: clamp(2.6rem, 7vw, 6rem); }
.cta-band .lead { margin: 0 auto; }

/* ---------- footer ---------- */
.foot { background: var(--ink-deep); padding: clamp(70px, 9vw, 110px) 0 calc(36px + env(safe-area-inset-bottom)); border-top: 1px solid var(--ink-line); }
.foot-top { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 36px; }
.foot h2 { font-size: .74rem; letter-spacing: .3em; text-transform: uppercase; font-weight: 400; color: var(--ice); margin-bottom: 16px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot a { text-decoration: none; color: rgba(246, 246, 246, .8); font-size: .94rem; }
.foot a:hover { color: var(--paper); }
.foot address { font-style: normal; color: rgba(246, 246, 246, .8); font-size: .94rem; line-height: 1.7; }
.foot-word { margin: clamp(56px, 8vw, 90px) 0 30px; display: flex; align-items: center; gap: clamp(16px, 3vw, 36px); }
.foot-word svg { width: clamp(60px, 9vw, 120px); height: auto; flex: none; color: var(--ice); }
.foot-word .wm b { font-size: clamp(2.6rem, 9vw, 8.4rem); letter-spacing: .22em; margin-right: -.22em; }
.foot-word .wm i { font-size: clamp(.8rem, 2.6vw, 2.4rem); letter-spacing: .95em; margin-top: .5em; margin-right: -.95em; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; border-top: 1px solid var(--ink-line); font-size: .8rem; color: var(--mute); }
.foot-base a { font-size: .8rem; }
.social { display: flex; gap: 10px; margin-top: 18px; }
.social a { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--ink-line); display: grid; place-items: center; }
.social a:hover { background: var(--ice); color: var(--ink); border-color: var(--ice); }
.social svg { width: 18px; height: 18px; }
@media (max-width: 900px) { .foot-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-top { grid-template-columns: 1fr; } }

/* ---------- the session clock (desktop) and dock (phones) ---------- */
.clock { position: fixed; left: 22px; bottom: 22px; z-index: 50; display: flex; align-items: center; gap: 12px; padding: 8px 16px 8px 8px; border-radius: 99px; background: rgba(18, 21, 29, .78); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid var(--ink-line); color: var(--paper); font-size: .76rem; opacity: 0; transform: translateY(10px); transition: opacity .5s, transform .5s var(--ease); pointer-events: none; }
.clock.on { opacity: 1; transform: none; }
.clock svg { width: 38px; height: 38px; transform: rotate(-90deg); }
.clock .tr { fill: none; stroke: var(--ink-line); stroke-width: 3; }
.clock .pg { fill: none; stroke: var(--ice); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: calc(100 - var(--cp, 0) * 100); }
.clock .tm { font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: .04em; font-size: .86rem; display: block; }
.clock .ph { color: var(--mute); letter-spacing: .2em; text-transform: uppercase; font-size: .62rem; }
@media (max-width: 1020px), (pointer: coarse) { .clock { display: none; } }
.bar-top { position: fixed; left: 0; top: 0; z-index: 70; height: 3px; width: 100%; background: var(--ice); transform-origin: left; transform: scaleX(var(--sp, 0)); pointer-events: none; }
.dock { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 58; display: none; gap: 8px; transform: translateY(140%); transition: transform .5s var(--ease); }
.dock.on { transform: none; }
.dock .btn { flex: 1; min-height: 54px; box-shadow: 0 18px 30px -12px rgba(0, 0, 0, .6); }
.dock .call { flex: none; width: 54px; padding: 0; }
.dock .call svg { width: 20px; height: 20px; }
@media (max-width: 760px) { .dock { display: flex; } .foot { padding-bottom: calc(100px + env(safe-area-inset-bottom)); } }

/* ---------- loader: the two blades of the P come together ---------- */
.loader { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; background: var(--ink-deep); transition: clip-path .9s var(--ease-io); clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
.loader.done { clip-path: polygon(0 0, 100% 0, 100% 0, 0 0); }
.loader svg { width: 96px; height: 90px; color: var(--paper); overflow: visible; }
.loader .b1 { animation: b1 .8s var(--ease) both; }
.loader .b2 { animation: b2 .8s .08s var(--ease) both; color: var(--ice); }
@keyframes b1 { from { transform: translate(-60px, 60px); opacity: 0; } }
@keyframes b2 { from { transform: translate(60px, -60px); opacity: 0; } }

/* misc */
.center { text-align: center; }
.mt-0 { margin-top: 0; } .mt-s { margin-top: 18px; } .mt-m { margin-top: 36px; } .mt-l { margin-top: 64px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
@media (max-width: 860px) { .two { grid-template-columns: 1fr; } }
.quote-big { font-size: clamp(1.5rem, 3vw, 2.4rem); font-weight: 600; line-height: 1.25; letter-spacing: -.03em; margin: 0; }
.quote-big + cite { display: block; margin-top: 18px; font-style: normal; color: var(--mute); }
.on-light .quote-big + cite { color: var(--mute-ink); }
.tag { display: inline-block; padding: 4px 10px; border-radius: 99px; background: rgba(173, 205, 219, .18); color: var(--ice); font-size: .74rem; font-weight: 600; letter-spacing: .06em; }
.on-light .tag { background: rgba(27, 31, 42, .08); color: var(--ink); }
.dog { display: grid; grid-template-columns: 1fr 1.2fr; gap: 28px; align-items: center; margin-top: 56px; padding: 18px; border-radius: 12px; background: var(--ink-raise); }
.dog .blade-img { aspect-ratio: 3 / 2; }
@media (max-width: 700px) { .dog { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  [data-reveal], [data-split] .w > span { opacity: 1 !important; transform: none !important; }
  [data-blade] { clip-path: none !important; }
  [data-blade] img { transform: none !important; }
  .rv-track { animation: none; }
  .rv-rows { overflow-x: auto; }
}
