/* ============================================================================
   OnCore Longevity, Regina. The site's one stylesheet, Direction D (Biograph-led, client pick 2026-09-10).

   THESIS      A longevity centre that sells a measurement, presented with the calm of a
               private clinic. It refuses the gym default: loud colour, bodies mid-effort,
               invented proof.
   WORLD       Near-black #111214 bands alternating with white, warm low-lit photography
               fading to black at its edges. Albert Sans at regular weight throughout, prices
               included; frosted pills for highlights. 16px cards, 8px buttons.
   THE LIGHT   OnCore's orange (#F5740D) appears as one small light at a time: the tick in the
               logo, the main booking buttons, one mark on the dial. Never type, never a surface.
   STORY       She sees a place that measures, understands the four measures and the
               week-twelve rescore, trusts it because it names its instruments and publishes
               its price, and books the free assessment.
   SIGNATURE   The blank biological clock: a precision dial whose reading is empty until
               she is measured.

   Every page links this file. tools/build.mjs inlines it for the single-file artifact build;
   tools/build-web.mjs copies it with a content hash for Vercel.
   ========================================================================== */

:root{
  --paper:#FFFFFF; --mist:#F4F4F3; --ink:#27272C; --ink-2:#45454B; --stone:#6B6B71;
  --line:#E4E4E6; --night:#111214; --black:#000000;
  --on:#FFFFFF; --on-2:rgba(255,255,255,.74); --on-3:rgba(255,255,255,.52);
  --line-d:rgba(255,255,255,.10); --card-d:rgba(255,255,255,.035);
  --orange:#F5740D; /* the light: OnCore's own orange, used once per screen */
  --sans:"Albert Sans",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
  --wrap:1320px; --pad:clamp(20px,4.2vw,60px); --band:clamp(88px,10vw,140px);
  --h2:clamp(34px,3.9vw,54px); /* section heads, and the prices that share their size */
  --rail:max(var(--pad),calc((100vw - var(--wrap)) / 2 + var(--pad)));
  --r-card:16px; --r-btn:8px; --r-thumb:10px;
  --ease:cubic-bezier(.2,.7,.2,1);
  color-scheme:light;
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--sans);font-size:18px;line-height:1.55;font-weight:400;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-variant-numeric:tabular-nums}
img{display:block;max-width:100%;height:auto}
a{color:inherit}
p{margin:0}
h1,h2,h3,h4{margin:0;font-weight:400;text-wrap:balance}
h1{font-size:clamp(36px,5.1vw,70px);line-height:.98;letter-spacing:-.046em}
h2{font-size:var(--h2);line-height:1.03;letter-spacing:-.02em}
h3{font-size:20px;line-height:1.3;font-weight:400;letter-spacing:-.005em}
.ln{display:block} /* one sentence per line, each balanced on its own */
:focus-visible{outline:2px solid currentColor;outline-offset:3px;border-radius:4px}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.skip{position:absolute;left:12px;top:-64px;z-index:100;background:#fff;color:var(--ink);padding:12px 16px;border-radius:8px;text-decoration:none}
.skip:focus{top:12px}
.wrap{max-width:var(--wrap);margin:0 auto;padding:0 var(--pad)}
.label{font-size:12px;font-weight:600;letter-spacing:.24em;text-transform:uppercase}
.lead{font-size:clamp(18px,1.45vw,20px);line-height:1.55;color:var(--stone);text-wrap:balance}
.band{position:relative;padding:var(--band) 0}
.light{background:var(--paper);color:var(--ink)}
.mist{background:var(--mist);color:var(--ink)}
.dark{background:var(--night);color:var(--on)}
.dark .lead{color:var(--on-2)}
.dark .label{font-weight:500} /* light on dark reads heavier; one step down keeps the labels even */
.head{max-width:780px;margin:0 auto;padding:0 var(--pad);text-align:center;display:flex;flex-direction:column;align-items:center;gap:18px;position:relative;z-index:2}
.head .lead{max-width:620px}
.ic{width:16px;height:16px;flex:none;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}

/* buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:52px;padding:0 24px;border-radius:var(--r-btn);font:500 17px/1.1 var(--sans);letter-spacing:-.005em;text-align:center;text-decoration:none;border:0;cursor:pointer;transition:background .25s var(--ease),color .25s var(--ease)}
.btn .ic{width:18px;height:18px}
.btn-dark{background:var(--night);color:#fff}
.btn-dark:hover{background:#000}
.btn-light{background:#fff;color:var(--ink)}
.btn-light:hover{background:#E9E9EA}
.btn-quiet{background:rgba(255,255,255,.1);color:#fff;box-shadow:inset 0 0 0 1px rgba(255,255,255,.22)}
.btn-quiet:hover{background:rgba(255,255,255,.17)}
.btn-orange{background:var(--orange);color:var(--night)} /* the main booking buttons only: hero, close, booking bar. Dark text: white on this orange fails contrast */
.btn-orange:hover{background:#E36A0A}
.btn-row{display:flex;flex-wrap:wrap;gap:12px}

/* frosted highlight pills, after Oura */
.pill{display:inline-flex;align-items:center;gap:8px;min-height:34px;padding:0 14px;border-radius:999px;font:500 14px/1.2 var(--sans);white-space:nowrap}
.pill .ic{width:15px;height:15px}
.pill-glass{background:rgba(255,255,255,.16);color:#fff;-webkit-backdrop-filter:blur(16px) saturate(1.3);backdrop-filter:blur(16px) saturate(1.3);box-shadow:inset 0 0 0 1px rgba(255,255,255,.18)}
.pill-dark{background:rgba(17,18,20,.72);color:#fff;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);box-shadow:inset 0 0 0 1px rgba(255,255,255,.12)}
.pill-soft{background:rgba(39,39,44,.07);color:var(--ink-2)}
.pill-line{box-shadow:inset 0 0 0 1px var(--line-d);color:var(--on-2)}
.todo{display:inline-flex;align-items:center;min-height:26px;padding:0 10px;border-radius:999px;font:600 12px/1 var(--sans);letter-spacing:.06em;text-transform:uppercase;background:rgba(39,39,44,.07);color:var(--ink-2)}
.dark .todo,.hero .todo,.hero-sub .todo{background:rgba(255,255,255,.1);color:var(--on-2)} /* every night ground, the heroes included */

/* the wordmark: the power-button O carries the logo's one orange, then live text */
.wordmark{font:400 16px/1 var(--sans);--ls:.44em;letter-spacing:var(--ls);text-decoration:none;margin-right:auto;white-space:nowrap}
.power-o{display:inline-block;width:.721em;height:.721em;vertical-align:-.011em;margin-right:calc(var(--ls) + .035em);overflow:visible}
.power-o .tick{fill:var(--orange)}

/* navigation */
.nav{position:fixed;top:0;left:0;right:0;z-index:50;height:68px;color:#fff;transition:background .35s var(--ease),color .35s var(--ease),box-shadow .35s var(--ease)}
.nav-in{height:100%;max-width:var(--wrap);margin:0 auto;padding:0 var(--pad);display:flex;align-items:center;gap:30px}
.nav-links{display:flex;align-items:center;gap:28px;font-size:15px}
.nav-links a{text-decoration:none;opacity:.86}
.nav-links a:hover,.nav-links a[aria-current]{opacity:1}
.nav .btn{min-height:40px;padding:0 16px;font-size:15px}
.btn-nav{background:#fff;color:var(--ink)}
.nav.is-dark{background:rgba(17,18,20,.8);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);box-shadow:0 1px 0 var(--line-d)}
.nav.is-light{background:rgba(255,255,255,.9);color:var(--ink);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);box-shadow:0 1px 0 var(--line)}
.nav.is-light .btn-nav{background:var(--night);color:#fff}
/* the four pillars open on hover or focus; a bridge under the link keeps the menu open on the way down */
.dd{position:relative}
.dd > a{display:inline-flex;align-items:center;gap:6px}
.dd > a .ic{width:12px;height:12px;stroke-width:2}
.dd::after{content:"";position:absolute;left:0;right:0;top:100%;height:14px}
.dd-menu{position:absolute;left:-12px;top:calc(100% + 12px);min-width:230px;padding:8px;border-radius:12px;background:rgba(17,18,20,.96);color:#fff;box-shadow:inset 0 0 0 1px var(--line-d);display:none;flex-direction:column}
.dd:hover .dd-menu,.dd:focus-within .dd-menu{display:flex}
.dd-menu a{padding:10px 12px;border-radius:8px}
.dd-menu a:hover{background:rgba(255,255,255,.08)}
.nav.is-light .dd-menu{background:rgba(255,255,255,.97);color:var(--ink);box-shadow:0 0 0 1px var(--line),0 16px 34px -18px rgba(0,0,0,.3)}
.nav.is-light .dd-menu a:hover{background:var(--mist)}
/* on phones and tablets the links fold into a full-screen sheet under the same button */
.menu-btn{display:none;align-items:center;gap:8px;min-height:40px;padding:0 4px 0 12px;border:0;background:none;color:inherit;font:500 15px/1 var(--sans);cursor:pointer}
.menu-btn .ic{width:20px;height:20px}
.sheet{position:fixed;inset:0;z-index:45;background:var(--night);color:#fff;padding:96px var(--pad) 40px;display:none;flex-direction:column;overflow:auto}
.sheet.open{display:flex}
.sheet a{font-size:26px;line-height:1.2;padding:14px 0;text-decoration:none;border-bottom:1px solid var(--line-d)}
.sheet .sub{display:flex;flex-direction:column}
.sheet .sub a{font-size:20px;color:var(--on-2);padding:11px 0 11px 18px}
.sheet .label{margin:26px 0 4px;color:var(--on-3);font-weight:500}
.sheet .btn{margin-top:28px;align-self:flex-start}
.nav.menu-open{background:var(--night);color:#fff;box-shadow:none}
.nav.menu-open .btn-nav{background:#fff;color:var(--ink)}

/* hero */
.hero{position:relative;min-height:clamp(600px,100svh,1000px);display:flex;align-items:flex-end;background:var(--night);color:#fff;overflow:hidden;isolation:isolate}
.hero-img{position:absolute;inset:0;width:100%;height:100%;max-width:none;object-fit:cover;object-position:62% 50%;filter:brightness(.9);-webkit-mask-image:linear-gradient(90deg,transparent,#000 12%,#000 88%,transparent),linear-gradient(#000 62%,transparent 97%);-webkit-mask-composite:source-in;mask-image:linear-gradient(90deg,transparent,#000 12%,#000 88%,transparent),linear-gradient(#000 62%,transparent 97%);mask-composite:intersect;z-index:-2;animation:settle 2.6s var(--ease) both} /* the room sits right and high over its own floor and always spans the width: on screens narrower than the photograph the crop takes the shadowed left, on wider ones a little ceiling and floor, with the machines held above the headline; the wall runs off the left edge into the long dissolve and the lit end of the room dissolves before the right edge */
@keyframes settle{from{transform:scale(1.045)}to{transform:none}}
.fade{position:absolute;pointer-events:none;z-index:-1}
.fade-top{inset:0 0 auto 0;height:130px;background:linear-gradient(var(--night),rgba(17,18,20,.66) 45%,rgba(17,18,20,0))}
.fade-left{inset:0 auto 0 0;width:62%;background:linear-gradient(90deg,rgba(17,18,20,.95) 0%,rgba(17,18,20,.64) 38%,rgba(17,18,20,.24) 72%,rgba(17,18,20,0) 100%)} /* one long dissolve over the photograph, clear by about 60% of the frame, as on the bar */
.fade-bottom{inset:auto 0 0 0;height:56%;background:linear-gradient(rgba(17,18,20,0),rgba(17,18,20,.5) 24%,rgba(17,18,20,.84) 46%,var(--night) 62%)} /* the headline sits on floor already dark and still dissolving; night before the photograph ends */
@media (max-height:820px) and (min-width:761px){.hero-img{inset:0;height:100%}} /* short laptop screens: the room steps up to stay clear of the headline */
.hero-copy{width:100%;max-width:var(--wrap);margin:0 auto;padding:150px var(--pad) clamp(48px,5vw,72px);display:flex;flex-direction:column;align-items:flex-start;gap:22px}
.hero h1{max-width:16em}
.hero .lead{color:var(--on-2);max-width:36em;font-size:18px} /* 18px under a 70px display: about 3.9 times, as on the bar */
.hero .btn-row{margin-top:6px}
.where{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:8px 12px;font-size:15px;color:var(--on-2);text-wrap:balance}
.where .ic{width:15px;height:15px}
.hero .where{justify-content:flex-start;margin-top:-4px}

/* subpage hero: a shorter night band, with the page's photograph dissolving in from the right */
.hero-sub{position:relative;background:var(--night);color:#fff;padding:calc(68px + clamp(64px,8vw,112px)) 0 clamp(56px,7vw,96px);overflow:hidden;isolation:isolate}
.hero-sub .wrap{display:flex;flex-direction:column;align-items:flex-start;gap:20px;position:relative;z-index:1}
.hero-sub h1{max-width:13em}
.hero-sub .lead{color:var(--on-2);max-width:34em;font-size:18px}
.hero-sub .side{position:absolute;right:0;top:0;bottom:0;width:52%;height:100%;object-fit:cover;object-position:50% 40%;z-index:0;opacity:.72;-webkit-mask-image:linear-gradient(90deg,transparent,#000 45%),linear-gradient(#000 55%,transparent);-webkit-mask-composite:source-in;mask-image:linear-gradient(90deg,transparent,#000 45%),linear-gradient(#000 55%,transparent);mask-composite:intersect}
.hero-sub .btn-row{margin-top:6px}

/* one visit, four measures */
.float{position:absolute;z-index:1;width:clamp(84px,9vw,150px);height:auto;mix-blend-mode:multiply;pointer-events:none;animation:drift 9s ease-in-out infinite alternate}
.float.a{top:clamp(40px,6vw,90px);left:max(3vw,calc(50% - 620px))}
.float.b{top:clamp(100px,10vw,160px);right:max(3vw,calc(50% - 620px));width:clamp(70px,7vw,120px);animation-delay:-4s}
@keyframes drift{from{transform:translateY(-6px) rotate(-3deg)}to{transform:translateY(8px) rotate(3deg)}}
.measures{margin-top:clamp(48px,6vw,72px);display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:40px} /* one row of four: the measures read as one set */
.measure{display:flex;flex-direction:column;align-items:center;gap:20px;text-align:center} /* each instrument floats alone on the white band, above its name and one line */
.measure img{width:min(250px,100%);height:auto;aspect-ratio:1;object-fit:contain;mix-blend-mode:multiply} /* each instrument at one scale, multiplied onto the white: no tile, no mat */
.measure h3{font-size:22px}
.measure .t{display:flex;flex-direction:column;align-items:center;gap:5px}
.measure p{max-width:240px;font-size:18px;line-height:1.5;color:var(--stone);text-wrap:balance} /* one measure for all four: each breaks to three lines, so the captions end on one baseline */
.after-note{margin-top:28px;text-align:center;font-size:16px;color:var(--stone);text-wrap:balance}
.after-note .todo{margin-left:8px;vertical-align:middle}
.after-cta{margin-top:clamp(40px,5vw,56px);display:flex;justify-content:center} /* the section's one button, centred under its content */
section > .after-cta{padding:0 var(--pad)} /* outside a wrap the button keeps the page's side gutter, so on phones it never touches the screen edges */

/* the blank clock */
.clock{overflow:hidden;isolation:isolate}
/* the ring render is the dial's own halo: one object, masked to a ring around the face, on plain night */
.dial .halo{position:absolute;left:50%;top:50%;width:130%;height:130%;max-width:none;transform:translate(-50%,-50%);object-fit:cover;z-index:-2;opacity:.6;mix-blend-mode:screen;pointer-events:none;-webkit-mask-image:radial-gradient(closest-side,#000 58%,transparent 100%);mask-image:radial-gradient(closest-side,#000 58%,transparent 100%)}
.dial{position:relative;width:min(440px,72vw);aspect-ratio:1;margin:clamp(64px,8vw,112px) auto 0}
/* a dark instrument face, so the light rings behind read as a halo instead of crossing the ticks */
.dial::before{content:"";position:absolute;inset:-16%;z-index:-1;border-radius:50%;background:radial-gradient(closest-side,var(--night) 58%,rgba(17,18,20,.72) 78%,rgba(17,18,20,0))}
.dial > svg{position:absolute;inset:0;width:100%;height:100%;overflow:visible}
.dial .ring{fill:none;stroke:rgba(255,255,255,.16);stroke-width:1}
.dial .tk{stroke:rgba(255,255,255,.26);stroke-width:1}
.dial .tk.mj{stroke:rgba(255,255,255,.74);stroke-width:1.4}
.dial .tk.lt{stroke:var(--orange);stroke-width:2.2} /* the light: the one mark at twelve */
.dial .beam{position:absolute;inset:4%;border-radius:50%;background:conic-gradient(from 0deg,rgba(255,255,255,0) 0deg,rgba(255,255,255,.15) 46deg,rgba(255,255,255,0) 46.5deg);-webkit-mask-image:radial-gradient(closest-side,transparent 62%,#000 80%);mask-image:radial-gradient(closest-side,transparent 62%,#000 80%);animation:scan 8s linear infinite} /* the beam sweeps the scale only, never the reading at the centre */
@keyframes scan{to{transform:rotate(360deg)}}
.dial-read{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;text-align:center}
.dial-read .label{color:var(--on-2)}
.dial .pill-glass{background:#37383A;-webkit-backdrop-filter:none;backdrop-filter:none} /* solid, in the glass pill's own mid grey on night, so the moving beam never shows through */
.blank{display:flex;gap:14px;height:clamp(72px,9vw,110px);align-items:flex-end}
.blank i{display:block;width:clamp(44px,5.4vw,64px);height:2px;background:rgba(255,255,255,.85);animation:breathe 2.6s ease-in-out infinite} /* the two dashes breathe together, in one white */
@keyframes breathe{50%{opacity:.35}}
.facts{margin:clamp(44px,5vw,64px) auto 0;max-width:980px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}
.facts div{padding:22px 26px;border-top:1px solid var(--line-d);text-align:center;display:flex;flex-direction:column;align-items:center}
.facts div+div{border-left:1px solid var(--line-d)}
.facts b{display:block;font-weight:400;font-size:22px;line-height:1.3;letter-spacing:-.005em;margin-bottom:8px}
.facts span{font-size:18px;line-height:1.5;color:var(--on-2)}
.facts .todo{margin-top:12px}
.facts.four{max-width:1180px;padding:0 var(--pad);grid-template-columns:repeat(4,minmax(0,1fr))}
.facts.four div{border-top:1px solid var(--line-d)}
/* the technology, in EGYM's own product photographs: three night cards, each photograph dimmed a step and dissolving into its card */
.tech{max-width:1180px;margin:clamp(44px,5vw,64px) auto 0;padding:0 var(--pad);display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.tech-card{border-radius:var(--r-card);background:var(--card-d);box-shadow:inset 0 0 0 1px var(--line-d);overflow:hidden;display:flex;flex-direction:column}
.tech-card figure{margin:0;aspect-ratio:3/2;overflow:hidden}
.tech-card img{width:100%;height:100%;object-fit:cover;filter:brightness(.82);-webkit-mask-image:linear-gradient(#000 62%,transparent);mask-image:linear-gradient(#000 62%,transparent)}
.tech-card .t{padding:6px 26px 28px;display:flex;flex-direction:column;align-items:flex-start;gap:8px}
.tech-card b{font-weight:400;font-size:22px;line-height:1.3;letter-spacing:-.005em}
.tech-card span{font-size:17px;line-height:1.5;color:var(--on-2)}
.tech-card .todo{margin-top:4px;font-size:12px;color:var(--on-2)}
.credit{max-width:1180px;margin:18px auto 0;padding:0 var(--pad);font-size:14px;color:var(--on-3)}

/* four pillars: four across, each a card with its sphere, one result, one line on how, and its page */
.pillars-band{border-top:1px solid var(--line-d)} /* the night run continues from the dial: a hairline, not a new band */
.pillars{margin:clamp(48px,6vw,72px) auto 0;max-width:var(--wrap);padding:0 var(--pad);display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.pillar{border-radius:var(--r-card);background:var(--card-d);box-shadow:inset 0 0 0 1px var(--line-d);display:flex;flex-direction:column;padding:24px 26px 26px;transition:background .3s var(--ease)}
.pillar:hover{background:rgba(255,255,255,.06)}
.pillar .pill{align-self:flex-start}
.pillar .orb{width:60%;height:auto;aspect-ratio:1;margin:22px auto 24px;object-fit:cover;-webkit-mask-image:radial-gradient(closest-side,#000 76.8%,transparent 77.6%);mask-image:radial-gradient(closest-side,#000 76.8%,transparent 77.6%)} /* each sphere fills about 80% of its square; one hard circle cut just inside every edge gives all four one diameter and keeps their shadowed sides */
.pillar h3{font-size:22px}
.pillar p{margin-top:8px;font-size:16px;line-height:1.5;color:var(--on-2)}
.pillar .more{margin-top:auto;padding-top:20px;display:inline-flex;align-items:center;gap:8px;font-size:15px;font-weight:500;color:#fff;text-decoration:none}
.pillar .more .ic{width:16px;height:16px;transition:transform .3s var(--ease)}
.pillar:hover .more .ic{transform:translateX(3px)}

/* four steps */
.steps{margin-top:clamp(48px,6vw,72px);display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.step figure{margin:0;position:relative;border-radius:var(--r-card);overflow:hidden;aspect-ratio:4/5;background:#e7e7e8}
.step figure img{width:100%;height:100%;object-fit:cover;transition:transform 1.2s var(--ease)}
.step:hover figure img{transform:scale(1.035)}
.step .pill{position:absolute;left:14px;top:14px}
.step h3{margin-top:18px;font-size:22px} /* one title size across the measures, steps and BioAge columns */
.step p{margin-top:6px;font-size:18px;line-height:1.5;color:var(--stone)}

/* next to a gym and a trainer */
.compare{margin:clamp(48px,6vw,72px) auto 0;max-width:1080px;padding:0 var(--pad);overflow-x:auto}
.compare table{width:100%;min-width:720px;border-collapse:separate;border-spacing:0;font-size:16px}
.compare th,.compare td{padding:17px 20px;text-align:left;vertical-align:middle;border-bottom:1px solid var(--line)}
.compare thead th{font-size:15px;font-weight:500;color:var(--stone)}
.compare tbody th{font-weight:500;color:var(--ink);width:34%}
.compare td{color:var(--stone)}
.compare .us{background:var(--mist);color:var(--ink)}
.compare thead .us{color:var(--ink);font-weight:500;border-radius:var(--r-card) var(--r-card) 0 0}
.compare tbody tr:last-child .us{border-radius:0 0 var(--r-card) var(--r-card);border-bottom:0}
.yes{display:inline-flex;align-items:center;gap:8px}
.yes .ic{width:18px;height:18px}
.compare-note{margin-top:18px;text-align:center;font-size:15px;color:var(--stone)}

/* the room */
.room{overflow:hidden} /* plain night: only the two photographs carry colour */
.room-cards{margin:clamp(40px,5vw,60px) auto 0;max-width:1080px;padding:0 var(--pad);display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
/* photographs inside a dark band dissolve into it at every edge, after Biograph; the caption sits under the finished fade */
.room-card{display:flex;flex-direction:column}
.room-card img{width:100%;height:auto;aspect-ratio:4/5;object-fit:cover;-webkit-mask-image:linear-gradient(90deg,transparent 4%,#000 44%,#000 56%,transparent 96%),linear-gradient(transparent 2%,#000 40%,#000 52%,transparent 94%);-webkit-mask-composite:source-in;mask-image:linear-gradient(90deg,transparent 4%,#000 44%,#000 56%,transparent 96%),linear-gradient(transparent 2%,#000 40%,#000 52%,transparent 94%);mask-composite:intersect}
.room-card .cap{position:relative;margin-top:-52px;padding:0 6%;display:flex;justify-content:space-between;align-items:flex-end;gap:12px}
.room-card .cap p{font-size:15px;color:var(--on-2);margin-top:4px}

/* the team */
.team{margin:clamp(48px,6vw,72px) auto 0;max-width:1000px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.member figure{margin:0;position:relative;border-radius:var(--r-card);overflow:hidden;aspect-ratio:4/5;background:#e7e7e8}
.member img{width:100%;height:100%;object-fit:cover}
.member .pill{position:absolute;left:12px;bottom:12px}
.member h3{margin-top:16px;font-size:18px}
.member p{font-size:16px;color:var(--stone);margin-top:2px}
/* a note from the owner: a small framed portrait beside a few sentences in his voice */
.owner{max-width:1000px;margin:clamp(40px,5vw,56px) auto 0;padding:0 var(--pad);display:grid;grid-template-columns:200px minmax(0,1fr);gap:32px;align-items:center}
.owner figure{margin:0;position:relative;border-radius:var(--r-card);overflow:hidden;aspect-ratio:4/5;background:#e7e7e8}
.owner img{width:100%;height:100%;object-fit:cover}
.owner .pill{position:absolute;left:12px;bottom:12px}
.owner blockquote{margin:0;font-size:clamp(20px,1.8vw,24px);line-height:1.35;letter-spacing:-.01em;text-wrap:pretty}
.owner cite{display:block;margin-top:14px;font-style:normal;font-size:16px;color:var(--stone)}
.owner .todo{margin-top:14px}
.dark .owner cite{color:var(--on-2)}

/* pricing */
.plans{margin:clamp(48px,6vw,72px) auto 0;max-width:1080px;padding:0 var(--pad);display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.plan{border-radius:var(--r-card);padding:clamp(28px,3vw,40px);display:flex;flex-direction:column;gap:18px}
.plan-light{background:var(--paper)}
.plan-dark{background:var(--night);color:#fff}
.plan .price{display:flex;align-items:baseline;gap:10px;margin-top:4px}
.plan .price b{font-weight:400;font-size:var(--h2);line-height:1;letter-spacing:-.02em} /* section-head size above 760px; 24px on phones, below */
.plan .price span,.plan .sub{font-size:17px;color:var(--stone)}
.plan-dark .price span,.plan-dark .sub{color:var(--on-2)}
.plan ul{list-style:none;margin:4px 0 8px;padding:20px 0 0;border-top:1px solid var(--line);display:flex;flex-direction:column;gap:12px}
.plan-dark ul{border-top-color:var(--line-d)}
.plan .todo{align-self:flex-start}
.plan-dark .todo{background:rgba(255,255,255,.1);color:var(--on-2)}
.plan li{display:grid;grid-template-columns:20px minmax(0,1fr);gap:12px;font-size:18px;line-height:1.45;text-wrap:pretty} /* the checklists are body copy: 18px, the floor */
.plan li .ic{width:18px;height:18px;margin-top:4px}
.plan .btn{margin-top:auto;width:100%}
.guarantee{max-width:760px;margin:30px auto 0;padding:0 var(--pad);text-align:center;font-size:18px;color:var(--stone);display:flex;flex-direction:column;align-items:center;gap:14px}
.guarantee p{text-wrap:balance}
.guarantee .markers{display:flex;flex-wrap:wrap;justify-content:center;gap:8px}
.guarantee .more{font-size:16px;color:var(--ink)}

/* questions */
.faq{max-width:860px;margin:clamp(40px,5vw,64px) auto 0;padding:0 var(--pad)}
.faq details{border-bottom:1px solid var(--line)}
.faq details:first-child{border-top:1px solid var(--line)}
.faq summary{list-style:none;display:flex;justify-content:space-between;align-items:center;gap:20px;padding:24px 4px;cursor:pointer;font-size:19px;text-wrap:balance}
.faq summary::-webkit-details-marker{display:none}
.faq .x{flex:none;width:22px;height:22px;position:relative}
.faq .x::before,.faq .x::after{content:"";position:absolute;left:50%;top:50%;width:14px;height:1.5px;background:currentColor;transform:translate(-50%,-50%);transition:transform .3s var(--ease)}
.faq .x::after{transform:translate(-50%,-50%) rotate(90deg)}
.faq details[open] .x::after{transform:translate(-50%,-50%) rotate(0deg)}
.faq .a{padding:0 4px 26px;max-width:680px;color:var(--stone);font-size:17px;display:flex;flex-direction:column;gap:12px;align-items:flex-start}
.dark .faq details,.dark .faq details:first-child{border-color:var(--line-d)}
.dark .faq .a{color:var(--on-2)}

/* subpage building blocks */
.prose{max-width:720px;font-size:18px;line-height:1.6;color:var(--ink-2)}
.prose p+p{margin-top:16px}
.dark .prose{color:var(--on-2)}
.prose .todo{margin-left:8px;vertical-align:middle}
.cols{max-width:var(--wrap);margin:clamp(40px,5vw,56px) auto 0;padding:0 var(--pad);display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.cols.two{grid-template-columns:repeat(2,minmax(0,1fr));max-width:1080px}
.cols.four{grid-template-columns:repeat(4,minmax(0,1fr))}
.card{border-radius:var(--r-card);padding:26px 28px 28px;background:var(--mist);display:flex;flex-direction:column;gap:8px}
.light .card{background:var(--mist)}
.mist .card{background:var(--paper)}
.dark .card{background:var(--card-d);box-shadow:inset 0 0 0 1px var(--line-d)}
.card .num{font-size:12px;font-weight:600;letter-spacing:.24em;text-transform:uppercase;color:var(--stone);margin-bottom:6px}
.dark .card .num{color:var(--on-3);font-weight:500}
.card h3{font-size:20px}
.card p{font-size:17px;line-height:1.5;color:var(--stone)}
.dark .card p{color:var(--on-2)}
.card .todo{align-self:flex-start;margin-top:6px}
.card .ic.big{width:26px;height:26px;margin-bottom:10px;stroke-width:1.4}
.split{max-width:1080px;margin:clamp(40px,5vw,56px) auto 0;padding:0 var(--pad);display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(28px,5vw,64px);align-items:center}
.split figure{margin:0;position:relative;border-radius:var(--r-card);overflow:hidden;aspect-ratio:4/5;background:#e7e7e8}
.split img{width:100%;height:100%;object-fit:cover}
.split .pill{position:absolute;left:14px;top:14px}
.split .label{display:block;margin-bottom:14px}
.split h2{font-size:clamp(28px,2.8vw,40px)}
.split figure.wide{aspect-ratio:3/2}
.split figure.tall{aspect-ratio:4/5}
.dark .split img.dim,.hero-sub .side.dim{filter:brightness(.8)} /* EGYM's studio photographs are lit for white pages: on night they come down a step before they dissolve */
.split .prose{margin-top:16px}
.dark .split figure{border-radius:0;background:none;overflow:visible}
.dark .split img{-webkit-mask-image:linear-gradient(90deg,transparent 4%,#000 44%,#000 56%,transparent 96%),linear-gradient(transparent 2%,#000 40%,#000 52%,transparent 94%);-webkit-mask-composite:source-in;mask-image:linear-gradient(90deg,transparent 4%,#000 44%,#000 56%,transparent 96%),linear-gradient(transparent 2%,#000 40%,#000 52%,transparent 94%);mask-composite:intersect}
.list{list-style:none;margin:20px 0 0;padding:0;display:flex;flex-direction:column;gap:12px}
.list li{display:grid;grid-template-columns:20px minmax(0,1fr);gap:12px;font-size:18px;line-height:1.45;text-wrap:pretty}
.list .ic{width:18px;height:18px;margin-top:4px}
.notice{background:var(--mist);color:var(--ink-2);font-size:15px;line-height:1.5}
.notice .wrap{display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px;padding-top:14px;padding-bottom:14px}
.placeholder{border-radius:var(--r-card);background:var(--mist);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;text-align:center;color:var(--stone);padding:32px}
.placeholder .ic{width:28px;height:28px;stroke-width:1.4}
.placeholder b{font-weight:500;color:var(--ink);font-size:19px}
.placeholder p{max-width:34em;font-size:16px}
.map-ph{aspect-ratio:16/9;max-width:1080px;margin:clamp(40px,5vw,56px) auto 0}
.cal-ph{min-height:460px;max-width:860px;margin:clamp(40px,5vw,56px) auto 0}
.details{max-width:1080px;margin:clamp(40px,5vw,56px) auto 0;padding:0 var(--pad);display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.details div{border-top:1px solid var(--line);padding-top:16px}
.dark .details div{border-color:var(--line-d)}
.details h3{font-size:12px;font-weight:600;letter-spacing:.24em;text-transform:uppercase;color:var(--stone);margin-bottom:10px}
.dark .details h3{color:var(--on-3);font-weight:500}
.details p{font-size:18px;line-height:1.5}
.details a{text-decoration:none}
.details .todo{margin-top:10px}
.legal{max-width:760px;margin:0 auto;padding:0 var(--pad)}
.legal h2{font-size:26px;margin-top:44px;letter-spacing:-.015em}
.legal p{margin-top:12px;color:var(--ink-2);line-height:1.6}
.legal .todo{margin-top:14px}
.news{max-width:860px;margin:clamp(40px,5vw,56px) auto 0;padding:0 var(--pad)}
.news article{border-top:1px solid var(--line);padding:24px 0}
.news time{display:block;font-size:14px;color:var(--stone);margin-bottom:8px}
.news h3{font-size:22px}
.news p{margin-top:8px;color:var(--stone)}
/* the franchise page's five steps, one under the other */
.path{list-style:none;max-width:760px;margin:clamp(32px,4vw,48px) auto 0;padding:0 var(--pad)}
.path li{display:grid;grid-template-columns:56px minmax(0,1fr);gap:16px;padding:22px 0;border-top:1px solid var(--line)}
.path li:last-child{border-bottom:1px solid var(--line)}
.path b{font-size:24px;font-weight:400;line-height:1.1;color:var(--stone)}
.path h3{font-size:20px}
.path p{margin-top:6px;color:var(--stone)}
.placeholder .btn-row{justify-content:center}
.placeholder .todo{margin-top:6px}

/* close */
/* a night band with the photograph rising out of it, so the words sit in the dark and the two walkers stay in view */
.close{position:relative;min-height:clamp(640px,62vw,880px);display:flex;align-items:flex-start;justify-content:center;padding-top:clamp(80px,9vw,128px);text-align:center;color:#fff;overflow:hidden;isolation:isolate;background:var(--night)}
.close-img{position:absolute;left:0;right:0;bottom:0;width:100%;height:68%;object-fit:cover;object-position:50% 72%;z-index:-2}
.close::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(var(--night) 32%,rgba(17,18,20,.5) 50%,rgba(17,18,20,.1) 72%,rgba(17,18,20,.5))}
.close .lead{color:var(--on-2)}
.close h2{font-size:clamp(36px,5.1vw,70px);line-height:.98;letter-spacing:-.024em} /* the hero's display size: a bookend */
.close .todo{background:rgba(255,255,255,.1);color:var(--on-2)}
.close-sub{min-height:0;padding:var(--band) 0} /* on the other pages the close is plain night: the words and the one orange button */
.close-sub::before{display:none}
.close-sub h2{font-size:var(--h2);letter-spacing:-.02em}

/* footer */
.foot{background:var(--paper);color:var(--ink);padding:72px 0 128px;border-top:1px solid var(--line)}
.foot-grid{display:grid;grid-template-columns:1.4fr repeat(4,minmax(0,1fr));gap:32px}
.foot .wordmark{font-size:15px}
.foot .tag{margin-top:14px;font-size:16px;color:var(--stone)}
.foot address{font-style:normal;margin-top:14px;font-size:16px;line-height:1.6;color:var(--stone)}
.foot address a{text-decoration:none}
.foot h4{margin:0 0 16px;font-size:12px;font-weight:600;letter-spacing:.24em;text-transform:uppercase}
.foot ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px;font-size:16px;color:var(--stone)}
.foot a{text-decoration:none}
.foot a:hover{color:var(--ink)}
.fine{margin-top:56px;padding-top:24px;border-top:1px solid var(--line);font-size:14px;line-height:1.6;color:var(--stone);max-width:900px}

/* pinned booking bar, after Neko */
.bookbar{position:fixed;left:50%;bottom:18px;z-index:60;transform:translate(-50%,160%);display:flex;align-items:center;gap:18px;padding:7px 7px 7px 20px;border-radius:var(--r-card);background:rgba(17,18,20,.97);color:#fff;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);box-shadow:inset 0 0 0 1px rgba(255,255,255,.1);transition:transform .5s var(--ease);font-size:15px;white-space:nowrap}
.bookbar.show{transform:translate(-50%,0)}
.bookbar .what{display:flex;align-items:center;gap:8px}
.bookbar .dim{color:var(--on-2)}
.bookbar .btn{min-height:42px;padding:0 18px;font-size:15px} /* the 8px radius of every other button */
.bookbar[hidden]{display:none} /* the booking page and the company pages carry no bar */

@media (max-width:1100px){
  .steps,.pillars{grid-template-columns:repeat(2,minmax(0,1fr))}
  .tech{grid-template-columns:repeat(2,minmax(0,1fr))}
  .measures{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:56px}
  .foot-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .facts.four{grid-template-columns:repeat(2,minmax(0,1fr))}
  .facts.four div:nth-child(3){border-left:0}
  .cols,.cols.four{grid-template-columns:repeat(2,minmax(0,1fr))}
  .details{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:900px){
  .nav-links{display:none}
  .menu-btn{display:inline-flex}
  .hero-sub .side{width:100%;opacity:.4;-webkit-mask-image:linear-gradient(#000 40%,transparent);mask-image:linear-gradient(#000 40%,transparent)}
}
@media (max-width:760px){
  :root{--h2:clamp(24px,calc(8.6vw - 3.4px),34px)} /* the longest one-sentence line, "Rescored at week twelve." (11.13em), holds at every phone width: 29px at 375 */
  .plan .price b{font-size:24px} /* on phones the price steps between the 29px heading and the 18px plan name: 36 / 29 / 24 / 18 */
  .plan h3{font-size:18px} /* the plan name at body size, so the price still leads its card */
  .plans,.room-cards,.split,.cols.two{grid-template-columns:1fr}
  .facts,.facts.four{grid-template-columns:1fr}
  .facts div+div,.facts.four div:nth-child(3){border-left:0}
  .float{display:none}
  .hero-copy{padding-bottom:52px}
  .hero-img{inset:0 0 auto 0;width:100%;height:82%;object-fit:cover;object-position:56% 0;filter:none;-webkit-mask-image:none;mask-image:none} /* the two right-hand machines centred as a pair above the headline, the lit end of the room at the right edge, and nothing cut mid-machine (the user's pick, 2026-09-16) */
  .fade-left{width:100%;background:linear-gradient(90deg,rgba(17,18,20,.5),rgba(17,18,20,0) 70%)}
  .fade-top{height:20%;background:linear-gradient(var(--night),rgba(17,18,20,.6) 40%,rgba(17,18,20,0))}
  .fade-bottom{height:70%}
  .close{min-height:700px}
  .close-sub{min-height:0}
  .plan{padding:26px 24px}
  .bookbar{display:none} /* no bar on phones: the buttons under the measures, the pillars, the steps and the questions do its job */
  .owner{grid-template-columns:1fr}
  .owner figure{max-width:200px}
  .split figure{max-width:420px}
}
@media (max-width:640px){
  .steps,.team,.pillars{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:80%;overflow-x:auto;scroll-snap-type:x mandatory;margin-inline:calc(var(--pad) * -1);padding:0 var(--pad);scroll-padding-inline:var(--pad);scrollbar-width:none}
  .pillars{margin-inline:auto;padding-bottom:6px}
  .steps::-webkit-scrollbar,.team::-webkit-scrollbar,.pillars::-webkit-scrollbar{display:none}
  .step,.member,.pillar{scroll-snap-align:start}
  .foot-grid,.cols,.cols.four,.details,.tech{grid-template-columns:1fr}
  .wordmark{--ls:.34em}
  .btn{padding:0 16px;font-size:16px;gap:8px}
  .measures{grid-template-columns:1fr;gap:28px}
  .measure{display:grid;grid-template-columns:96px minmax(0,1fr);gap:16px;align-items:center;text-align:left} /* on phones, a list: each render beside its name and line */
  .measure img{width:96px}
  .measure .t{align-items:flex-start}
  .measure p{max-width:none}
  .after-cta .btn{width:100%} /* on phones it runs the list's full width */
  /* the comparison stacks into one block per row, so the OnCore answer is never cut off */
  .compare table{min-width:0}
  .compare thead{display:none}
  .compare table,.compare tbody,.compare tr,.compare th,.compare td{display:block}
  .compare tr{padding:20px 0;border-bottom:1px solid var(--line)}
  .compare tbody th{width:auto;padding:0 0 12px;border:0;font-size:18px;font-weight:400;text-wrap:balance} /* on phones each row head leads its block like an item title: regular, set apart by size */
  .compare td{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:10px 14px;border:0;font-size:15px;text-align:right}
  .compare td::before{content:attr(data-label);text-align:left;color:var(--stone)}
  .compare .us{border-radius:var(--r-card)}
  .compare .us::before{color:var(--stone)}
  .compare tbody tr:last-child .us{border-radius:var(--r-card)}
}
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
}

/* ---- the client's call, 2026-09-23: descriptor, locations menu, the fee step, the example reading ---- */
.wordmark .wm-2{font-size:12px;letter-spacing:.3em;text-transform:uppercase;margin-left:.15em;vertical-align:.1em} /* the second word of the name, small, as on their logo */
@media (max-width:900px){.nav .wm-2{display:none}} /* on phones the nav shows the one word */
.dd-h{padding:10px 12px 4px;font:600 12px/1 var(--sans);letter-spacing:.14em;text-transform:uppercase;color:var(--on-3)}
.dd-menu a em{display:block;font-style:normal;font-size:13px;line-height:1.3;color:var(--on-3);margin-top:2px}
.pillar .todo{align-self:flex-start;margin-top:12px}
.plan .then{padding:16px 18px;border-radius:12px;background:rgba(255,255,255,.07);display:flex;flex-direction:column;gap:4px;font-size:16px;line-height:1.45;color:var(--on-2)}
.plan .then b{font-weight:500;font-size:18px;line-height:1.35;color:#fff}
.dial .num{display:block;font-size:clamp(72px,9vw,110px);line-height:1;letter-spacing:-.03em;font-weight:400;font-variant-numeric:tabular-nums;color:#fff}
.dial.example .blank{display:none}
.dial.example .num{display:block}
.head .todo{align-self:center}
.card .pill{align-self:flex-start;margin-bottom:4px}
.notice a{color:inherit;font-weight:500}

/* ---- 2026-09-23, second pass: the dial's ticker and badge, the map ---- */
@keyframes rise{from{opacity:0;transform:translateY(6px)}}
.map{max-width:1080px;margin:clamp(40px,5vw,56px) auto 0;padding:0 var(--pad)}
.map iframe{display:block;width:100%;aspect-ratio:16/8;border:0;border-radius:var(--r-card);background:var(--mist);filter:grayscale(1)}
@media (max-width:760px){.map iframe{aspect-ratio:4/3}}
/* the reading: the big number with the green change beside it, in the dashboard idiom; the week pill sits beneath */
.dial .reading{display:none;position:relative;align-items:center;justify-content:center}
.dial.example .reading{display:inline-flex}
.dial .delta{display:inline-flex;visibility:hidden;position:absolute;left:100%;top:50%;margin-left:12px;transform:translateY(-50%);white-space:nowrap;align-items:center;gap:4px;height:26px;padding:0 8px 0 6px;border-radius:6px;background:rgba(92,201,138,.16);color:#5CC98A;font-size:13px;font-weight:500;letter-spacing:0;line-height:1} /* the change, as a small dashboard badge beside the number; its room is held before it lands, so nothing shifts */
.dial .delta .ic{width:12px;height:12px;stroke:currentColor;stroke-width:2.4}
.dial .in{display:block;visibility:hidden;margin-top:-4px;font-size:16px;line-height:1.3;color:var(--on-2)} /* "in 12 weeks", under the number; its line is held from the start */
.dial.done .in{visibility:visible;animation:rise .5s var(--ease) both}
.dial.done .delta{visibility:visible;animation:riseAbs .5s var(--ease) both}
@keyframes riseAbs{from{opacity:0;transform:translateY(calc(-50% + 6px))}to{opacity:1;transform:translateY(-50%)}}
@media (max-width:760px){.dial .reading{flex-direction:column;gap:10px}.dial .delta{position:static;transform:none;margin-left:0}.dial.done .delta{animation:rise .5s var(--ease) both}.dial .blank{margin-bottom:36px}.dial .in{margin-top:0}} /* phones: the badge under the number, and the dashes hold the same room */

/* ---- the 2026-09-25 call: the pillar O marks, the enquiry form ---- */
.pillar .quad{display:block;width:44%;aspect-ratio:1;margin:30px auto 32px;overflow:visible} /* the OnCore O cut into four arcs; each pillar lights its own */
.pillar .quad path{fill:none;stroke:rgba(255,255,255,.16);stroke-width:6;transition:stroke .3s var(--ease)}
.pillar .quad path.on{stroke:#fff}
.pillar:hover .quad path:not(.on){stroke:rgba(255,255,255,.26)}
.pillar .quad .tick{fill:var(--orange)}
.enquire{width:min(440px,calc(100vw - 32px));max-height:calc(100dvh - 32px);padding:0;border:0;border-radius:var(--r-card);background:var(--paper);color:var(--ink)}
.enquire::backdrop{background:rgba(17,18,20,.72)}
.enquire-form,.enquire-done{position:relative;display:flex;flex-direction:column;gap:14px;padding:32px 28px 28px}
.enquire-form[hidden],.enquire-done[hidden]{display:none}
.enquire h2{font-size:28px;font-weight:400;letter-spacing:-.02em;line-height:1.15;padding-right:36px}
.enquire .sub{font-size:16px;line-height:1.5;color:var(--stone);margin-bottom:4px}
.enquire label{display:flex;flex-direction:column;gap:6px;font-size:15px;font-weight:500;color:var(--ink-2)}
.enquire input{height:48px;padding:0 14px;border:1px solid var(--line);border-radius:8px;font:400 18px var(--sans);color:var(--ink);background:var(--paper)}
.enquire input:focus{outline:2px solid var(--ink);outline-offset:1px}
.enquire .btn{margin-top:6px;width:100%}
.enquire-x{position:absolute;right:14px;top:14px;width:40px;height:40px;border:0;background:transparent;border-radius:8px;cursor:pointer;color:var(--ink-2);display:grid;place-items:center}
.enquire-x:hover{background:var(--mist)}
.enquire-x .ic{width:20px;height:20px}

/* ---- EGYM's video (2026-09-26): click to play, privacy-enhanced YouTube ---- */
.video-band{border-top:1px solid var(--line-d)} /* the night run continues from the hero: a hairline, not a new band */
.video-wrap{max-width:1080px;margin:clamp(40px,5vw,56px) auto 0;padding:0 var(--pad)}
.video{position:relative;aspect-ratio:16/9;border-radius:var(--r-card);overflow:hidden;background:#000}
.video iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.video-poster{position:absolute;inset:0;display:block;color:#fff;text-decoration:none}
.video-poster img{width:100%;height:100%;object-fit:cover;filter:brightness(.8);transition:filter .3s var(--ease)}
.video-poster:hover img{filter:brightness(.9)}
.video-poster::after{content:"";position:absolute;inset:auto 0 0 0;height:45%;background:linear-gradient(to top,rgba(0,0,0,.6),rgba(0,0,0,0));pointer-events:none}
.video-poster:focus-visible{outline:2px solid #fff;outline-offset:-4px;border-radius:var(--r-card)}
.video-play{flex:none;width:64px;height:64px;border-radius:50%;background:rgba(255,255,255,.16);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);box-shadow:inset 0 0 0 1px rgba(255,255,255,.32);display:grid;place-items:center;transition:transform .3s var(--ease),background .3s var(--ease)}
.video-poster:hover .video-play,.video-poster:focus-visible .video-play{transform:scale(1.06);background:rgba(255,255,255,.24)}
.video-play .ic{width:24px;height:24px;fill:#fff;stroke:none;margin-left:3px}
.video-cap{position:absolute;left:24px;bottom:24px;z-index:1;display:flex;align-items:center;gap:16px}
.video-t{display:flex;flex-direction:column;gap:2px}
.video-cap b{font-weight:500;font-size:18px}
.video-t span{font-size:15px;color:var(--on-2)}
.video-alt{margin-top:14px;text-align:center;font-size:15px}
.video-alt a{color:var(--on-2)}
.tech-video{max-width:1180px;margin:24px auto 0;padding:0 var(--pad)}
.tech-video a{display:inline-flex;align-items:center;gap:12px;color:#fff;text-decoration:none;font-size:17px;font-weight:500}
.tech-video .pl{width:40px;height:40px;border-radius:50%;background:rgba(255,255,255,.08);box-shadow:inset 0 0 0 1px var(--line-d);display:grid;place-items:center;transition:background .3s var(--ease)}
.tech-video a:hover .pl{background:rgba(255,255,255,.16)}
.tech-video .pl .ic{width:16px;height:16px;fill:#fff;stroke:none;margin-left:2px}
.tech-video em{font-style:normal;font-weight:400;color:var(--on-3)}
.video-dlg{width:min(1080px,calc(100vw - 32px));max-width:none;padding:0;border:0;background:transparent;overflow:visible}
.video-dlg::backdrop{background:rgba(0,0,0,.86)}
.video-x{position:absolute;right:0;top:-54px;width:44px;height:44px;border:0;border-radius:50%;background:rgba(255,255,255,.14);color:#fff;cursor:pointer;display:grid;place-items:center}
.video-x .ic{width:20px;height:20px}
@media (max-width:760px){.video-play{width:44px;height:44px}.video-play .ic{width:18px;height:18px;margin-left:2px}.video-cap{left:14px;bottom:12px;gap:12px}.video-cap b{font-size:15px}.video-t span{font-size:14px}}
