/* ==========================================================================
   TORIS — pure black cinema, monumental type, real studio photography.
   One stylesheet for the landing page and the legal pages.
   ========================================================================== */

:root {
  --bg: #000000;
  --s1: #0b0c0f;
  --line: rgba(255, 255, 255, 0.14);
  --line-soft: rgba(255, 255, 255, 0.08);
  --text: #ffffff;
  --silver: #b8bdc7;
  --silver-2: #8e94a0;
  --gold: #e8c57b;
  --gold-hi: #f3d593;
  --gold-blaze: #f2cc7e;
  --gold-soft: rgba(232, 197, 123, 0.1);
  --gold-line: rgba(232, 197, 123, 0.45);
  --em: #34d399;
  --amber: #f5a524;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
  --serif: "Instrument Serif", "New York", ui-serif, Georgia, serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --max-w: 1240px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --spring: cubic-bezier(0.34, 1.45, 0.64, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  overflow-x: clip;
}

body { margin: 0; min-height: 100vh; overflow-x: clip; line-height: 1.55; background: var(--bg); }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
::selection { background: rgba(232, 197, 123, 0.35); color: #fff; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 8px; }
[id] { scroll-margin-top: 80px; }
section[id] { scroll-margin-top: 76px; }

.wrap { max-width: var(--max-w); margin: 0 auto; padding: 0 28px; }
.wrap-narrow { max-width: 760px; margin: 0 auto; padding: 0 24px; }
.num { font-variant-numeric: tabular-nums; }

html[lang="de"] [data-lang="en"],
html:not([lang="de"]) [data-lang="de"] { display: none !important; }

/* ==========================================================================
   Navigation (shared with legal pages)
   ========================================================================== */
header { position: sticky; top: 0; z-index: 60; padding: 12px 16px 0; pointer-events: none; }
.home .site-head { position: fixed; left: 0; right: 0; }

header .nav {
  pointer-events: auto;
  max-width: 1080px;
  height: 56px;
  margin: 0 auto;
  padding: 0 8px 0 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-radius: 999px;
  border: 1px solid var(--line-soft);
  background: rgba(10, 10, 12, 0.62);
  -webkit-backdrop-filter: blur(22px) saturate(170%);
  backdrop-filter: blur(22px) saturate(170%);
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease);
}
.site-head.scrolled .nav { background: rgba(8, 8, 10, 0.8); border-color: rgba(255, 255, 255, 0.11); }

.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 700; font-size: 13px; letter-spacing: 0.3em; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.nav-links { display: flex; gap: 2px; font-size: 14px; font-weight: 500; color: var(--silver); }
.nav-links a { padding: 8px 14px; border-radius: 999px; transition: color 0.2s, background 0.2s; }
.nav-links a:hover { color: #fff; background: rgba(255, 255, 255, 0.06); }
.nav-right { display: flex; align-items: center; gap: 8px; }

.lang-toggle { display: inline-flex; padding: 3px; border-radius: 999px; background: rgba(255, 255, 255, 0.04); }
.lang-toggle button { border: 0; background: transparent; color: var(--silver-2); font-size: 12px; font-weight: 600; padding: 5px 10px; border-radius: 999px; cursor: pointer; transition: color 0.2s, background 0.2s; }
.lang-toggle button:hover { color: #fff; }
.lang-toggle button.active { color: #fff; background: rgba(255, 255, 255, 0.12); }

.nav-cta {
  padding: 9px 16px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--gold-hi), var(--gold));
  color: #140f05;
  font-size: 13.5px;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 0 24px -6px rgba(242, 204, 126, 0.55);
  transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}
.nav-cta:hover { box-shadow: 0 0 34px -4px rgba(242, 204, 126, 0.8); transform: translateY(-1px); }

/* ==========================================================================
   Shared type, buttons, reveals, photo melting
   ========================================================================== */
.home h1, .home h2 { margin: 0; font-weight: 700; letter-spacing: -0.042em; line-height: 0.98; overflow-wrap: break-word; }
.home h1 em, .home h2 em {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--gold-blaze);
  font-size: 1.06em;
  line-height: 1.02;
  text-shadow: 0 0 42px rgba(242, 204, 126, 0.3);
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 28px 0 24px;
  border-radius: 999px;
  overflow: hidden;
  background: linear-gradient(180deg, #f7dda2, var(--gold));
  color: #140f05;
  font-size: 16px;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 16px 44px -14px rgba(242, 204, 126, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.55);
  transition: transform 0.4s var(--spring), box-shadow 0.4s var(--ease);
}
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, 0.6) 50%, transparent 62%);
  background-size: 260% 100%;
  background-position: 130% 0;
  animation: shine 6.5s var(--ease) 2.2s infinite;
  pointer-events: none;
}
.btn:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 22px 54px -14px rgba(242, 204, 126, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.55); }
.btn .apple { width: 18px; height: 18px; margin-top: -2px; }
@keyframes shine { 0% { background-position: 130% 0; } 28%, 100% { background-position: -30% 0; } }

.link { color: var(--silver); font-size: 15.5px; font-weight: 500; transition: color 0.2s; }
.link:hover { color: #fff; }

/* Reveal on scroll: rise, sharpen, settle */
html.js .reveal {
  opacity: 0;
  transform: translateY(44px) scale(0.985);
  filter: blur(10px);
  transition: opacity 1s var(--ease) var(--d, 0s), transform 1.3s var(--ease) var(--d, 0s), filter 1s var(--ease) var(--d, 0s);
}
html.js .reveal.in { opacity: 1; transform: none; filter: none; }

/* Hero entrance on load */
.pop { animation: popIn 1.3s var(--ease) var(--d, 0s) both; }
@keyframes popIn { from { opacity: 0; transform: translateY(36px); filter: blur(10px); } to { opacity: 1; transform: none; filter: none; } }

/* Studio photography: edges are pure black, feathered into the canvas, no boxes */
.melt {
  mix-blend-mode: lighten;
  -webkit-mask-image:
    linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent),
    linear-gradient(180deg, transparent, #000 7%, #000 93%, transparent);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent),
    linear-gradient(180deg, transparent, #000 7%, #000 93%, transparent);
  mask-composite: intersect;
}

.halo { position: absolute; border-radius: 50%; pointer-events: none; }

/* ==========================================================================
   Live devices — animated OLED (layer 1) under the real chassis PNG (layer 2).
   The rig keeps the PNG's native pixel space; app.js scales it to the wrapper.
   ========================================================================== */
.live-iphone, .live-watch { position: relative; overflow: hidden; }
.live-iphone { aspect-ratio: 896 / 1200; }
.live-watch { aspect-ratio: 1 / 1; }
.device-rig { position: absolute; top: 0; left: 0; transform-origin: 0 0; }
.live-iphone .device-rig { width: 896px; height: 1200px; }
.live-watch .device-rig { width: 1024px; height: 1024px; }
.chassis { position: absolute; inset: 0; z-index: 20; width: 100%; height: 100%; max-width: none; pointer-events: none; user-select: none; }
.oled { position: absolute; left: 0; top: 0; z-index: 1; overflow: hidden; transform-origin: 0 0; color: #fff; font-family: var(--sans); line-height: 1.2; letter-spacing: -0.01em; }
.oled p { margin: 0; }
.oled .set-ex { margin-top: 40px; }
.oled .set-load { margin-top: 8px; }
.oled .ws-ex { margin-top: 6px; }
.oled .ws-load { margin-top: 18px; }
.oled .ws-reps { margin-top: 10px; }
.oled .ico { width: 1em; height: 1em; }
.iphone-oled { width: 360px; height: 780px; background: #050608; transform: matrix3d(1.0517589, 0.1693595, 0, 0.0001152, 0, 1.2230769, 0, 0, 0, 0, 1, 0, 290, 114, 0, 1); }
.watch-oled { width: 292px; height: 444px; background: #000; transform: matrix3d(0.9831544, -0.0080217, 0, -0.0000309, 0, 0.990991, 0, 0, 0, 0, 1, 0, 254, 260, 0, 1); }
.glass { position: absolute; inset: 0; z-index: 9; pointer-events: none; background: linear-gradient(128deg, rgba(255, 255, 255, 0.09) 0%, rgba(255, 255, 255, 0.02) 34%, transparent 35%); }
.island { position: absolute; z-index: 10; top: 18px; left: 50%; width: 106px; height: 30px; margin-left: -53px; border-radius: 999px; background: #000; }

/* iOS chrome */
.ios-status { position: absolute; z-index: 8; left: 0; right: 0; top: 21px; display: flex; align-items: center; justify-content: space-between; padding: 0 28px 0 38px; font-size: 15px; font-weight: 600; }
.ios-status svg { width: 62px; height: 13px; }
.ios-dots { position: absolute; z-index: 8; left: 0; right: 0; bottom: 34px; display: flex; justify-content: center; gap: 7px; }
.ios-dots i { position: relative; width: 6px; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, 0.26); cursor: pointer; transition: width 0.5s var(--ease), background 0.5s; }
.ios-dots i::after { content: ""; position: absolute; inset: -14px -4px; }
.ios-dots i.on { width: 18px; background: #fff; }
.ios-home { position: absolute; z-index: 8; bottom: 10px; left: 50%; width: 124px; height: 5px; margin-left: -62px; border-radius: 3px; background: rgba(255, 255, 255, 0.6); }

/* Pager: waiting right → on → out left (iOS spring) */
.ios-pages { position: absolute; inset: 0; }
.ios-slide { position: absolute; inset: 0; display: flex; flex-direction: column; padding: 66px 22px 58px; visibility: hidden; transform: translate3d(100%, 0, 0); }
.ios-slide.on { visibility: visible; transform: none; transition: transform 0.8s cubic-bezier(0.32, 0.72, 0, 1); }
.ios-slide.out { visibility: visible; transform: translate3d(-100%, 0, 0); transition: transform 0.8s cubic-bezier(0.32, 0.72, 0, 1); }

.ios-head { display: flex; justify-content: space-between; font-size: 12px; font-weight: 600; letter-spacing: 0.26em; color: var(--silver-2); }
.ios-brand { color: var(--gold-blaze); }
.tile { padding: 14px; border-radius: 20px; background: linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07); }
.t-lab { display: block; font-size: 10.5px; font-weight: 600; letter-spacing: 0.17em; color: var(--silver-2); white-space: nowrap; }
.tile b { display: block; margin-top: 8px; font-size: 28px; font-weight: 700; letter-spacing: -0.04em; line-height: 1; }
.tile b small { font-size: 14px; font-weight: 500; letter-spacing: 0; color: var(--silver); }
.ios-card { padding: 4px 16px; border-radius: 20px; background: linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07); }
.ios-pill { position: relative; display: flex; align-items: center; justify-content: center; gap: 10px; height: 52px; margin-top: auto; border-radius: 999px; overflow: hidden; font-size: 16px; font-weight: 650; color: #140f05; background: linear-gradient(180deg, #f7dda2, #e8c57b); box-shadow: 0 0 30px -6px rgba(242, 204, 126, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.6); }

/* Slide 1 — Today / Readiness */
.ring-wrap { position: relative; width: 244px; height: 244px; margin: 26px auto 0; flex: none; }
.ring-photo { position: absolute; left: 50%; top: 50%; width: 136px; height: 136px; margin: -68px 0 0 -68px; border-radius: 50%; overflow: hidden; }
.ring-photo img { width: 100%; height: 100%; max-width: none; object-fit: cover; transform: scale(1.3); }
.ring-photo::after { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: inset 0 0 22px 6px #050608; }
.rings { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; transform: rotate(-90deg); }
.rings circle { fill: none; stroke-width: 9; }
.rings .trk { stroke: rgba(255, 255, 255, 0.07); }
.rings .rg { stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; opacity: 0; }
.rings .r1 { stroke: #f0c875; filter: drop-shadow(0 0 5px rgba(240, 200, 117, 0.6)); }
.rings .r2 { stroke: #34d399; filter: drop-shadow(0 0 5px rgba(52, 211, 153, 0.6)); }
.rings .r3 { stroke: #f7dda2; }
.s-today.play .rg { opacity: 1; transition: stroke-dashoffset 1.7s cubic-bezier(0.22, 1, 0.36, 1) 0.35s, opacity 0.2s 0.35s; }
.s-today.play .r1 { stroke-dashoffset: 6; }
.s-today.play .r2 { stroke-dashoffset: 13; transition-delay: 0.47s; }
.s-today.play .r3 { stroke-dashoffset: 21; transition-delay: 0.59s; }
.s-today.play .ring-photo img { transform: scale(1.38); transition: transform 4.2s linear; }
.ready { margin-top: 16px; text-align: center; }
.ready b { display: block; font-size: 66px; font-weight: 700; line-height: 1; letter-spacing: -0.055em; }
.ready > span { display: block; margin-top: 6px; font-size: 11.5px; font-weight: 600; letter-spacing: 0.28em; color: var(--silver-2); }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 24px; }
.t-up { display: block; margin-top: 9px; font-size: 12.5px; font-weight: 600; color: var(--em); }
.t-bar { display: block; height: 5px; margin-top: 13px; border-radius: 3px; overflow: hidden; background: rgba(255, 255, 255, 0.08); }
.t-bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #c9a15a, #f0c875 60%, #f7dda2); box-shadow: 0 0 8px rgba(240, 200, 117, 0.8); transform: scaleX(0); transform-origin: left; }
.s-today .tile { opacity: 0; transform: translateY(14px); }
.s-today.play .tile { opacity: 1; transform: none; transition: opacity 0.5s var(--ease) 0.55s, transform 0.7s var(--spring) 0.55s; }
.s-today.play .tile + .tile { transition-delay: 0.65s; }
.s-today.play .t-bar i { transform: scaleX(0.93); transition: transform 1.4s var(--ease) 0.8s; }
.jdot { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: #140f05; color: #f0c875; font-family: var(--serif); font-size: 17px; }
.s-today.play .ios-pill { animation: pillGlow 2.4s ease-in-out 1s infinite; }
@keyframes pillGlow { 50% { box-shadow: 0 0 44px -2px rgba(242, 204, 126, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.6); } }

/* Slide 2 — Coach Jim live */
.jim-head { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid rgba(255, 255, 255, 0.07); }
.jim-av { width: 42px; height: 42px; flex: none; display: grid; place-items: center; border-radius: 50%; background: radial-gradient(circle at 35% 28%, #f7dda2, #c9a15a 58%, #6f5427); color: #140f05; font-family: var(--serif); font-size: 25px; box-shadow: 0 0 18px rgba(240, 200, 117, 0.45); }
.jim-head b { display: block; font-size: 17px; font-weight: 650; }
.jim-head small { display: flex; align-items: center; gap: 6px; margin-top: 2px; font-size: 12.5px; color: var(--em); }
.jim-head small i { width: 6px; height: 6px; border-radius: 50%; background: var(--em); box-shadow: 0 0 8px var(--em); }
.chat { display: flex; flex-direction: column; gap: 10px; margin-top: auto; }
.stamp { align-self: center; margin: 4px 0 0; font-size: 11.5px; font-weight: 600; color: var(--silver-2); }
.s-jim .bub.old, .s-jim.play .bub.old { opacity: 0.42; transform: none; transition: none; }
.s-jim .swaps { margin-top: 14px; }
.s-jim .ios-pill { margin-top: 16px; }
.bub { max-width: 82%; padding: 12px 16px; border-radius: 22px; font-size: 16px; font-weight: 500; line-height: 1.3; opacity: 0; transform: translateY(14px) scale(0.94); }
.bub.me { align-self: flex-end; border-bottom-right-radius: 7px; background: linear-gradient(180deg, #f7dda2, #e8c57b); color: #140f05; transform-origin: 100% 100%; }
.bub.jim { align-self: flex-start; border-bottom-left-radius: 7px; background: rgba(255, 255, 255, 0.09); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08); transform-origin: 0 100%; }
.s-jim.play .bub { opacity: 1; transform: none; transition: opacity 0.4s var(--ease) 0.3s, transform 0.6s var(--spring) 0.3s; }
.s-jim.play .bub.jim { transition-delay: 0.85s; }
.swaps { opacity: 0; transform: translateY(14px); }
.s-jim.play .swaps { opacity: 1; transform: none; transition: opacity 0.5s var(--ease) 1.25s, transform 0.7s var(--spring) 1.25s; }
.sw { display: flex; align-items: center; gap: 12px; padding: 14px 0; font-size: 15.5px; font-weight: 600; }
.sw + .sw { border-top: 1px solid rgba(255, 255, 255, 0.07); }
.sw .ico { font-size: 18px; flex: none; }
.sw-n { position: relative; flex: 1; min-width: 0; white-space: nowrap; }
.sw-s { font-family: var(--mono); font-size: 13px; color: var(--silver); }
.sw.out .ico { color: var(--silver-2); }
.sw.out .sw-n > span::after { content: ""; position: absolute; left: -2px; top: 54%; width: calc(100% + 4px); height: 2px; border-radius: 2px; background: var(--amber); transform: scaleX(0); transform-origin: left; }
.sw.out .sw-n > span { position: relative; }
.s-jim.play .sw.out { opacity: 0.55; transition: opacity 0.5s 2s; }
.s-jim.play .sw.out .ico { color: var(--amber); transition: color 0.3s 1.55s; }
.s-jim.play .sw.out .sw-n > span::after { transform: scaleX(1); transition: transform 0.45s var(--ease) 1.6s; }
.sw.in { opacity: 0; transform: translateX(-14px); }
.sw.in .ico, .sw.in .sw-s { color: var(--em); }
.s-jim.play .sw.in { opacity: 1; transform: none; transition: opacity 0.5s var(--ease) 2s, transform 0.7s var(--spring) 2s; }
.s-jim.play .sw.in .sw-n { animation: emGlow 1.6s var(--ease) 2.05s both; }
.apply { display: grid; place-items: center; }
.apply::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(180deg, #6eeec0, #34d399); opacity: 0; }
.apply > span { position: relative; grid-area: 1 / 1; display: inline-flex; align-items: center; gap: 7px; }
.apply .ap-b { color: #03150e; opacity: 0; transform: translateY(12px); }
.apply .ap-b .ico { font-size: 19px; }
.s-jim.play .apply { animation: tap 0.4s ease-in-out 2.55s both; box-shadow: 0 0 34px -4px rgba(52, 211, 153, 0.9); transition: box-shadow 0.5s 2.75s; }
.s-jim.play .apply::before { opacity: 1; transition: opacity 0.45s 2.7s; }
.s-jim.play .ap-a { opacity: 0; transform: translateY(-12px); transition: opacity 0.3s 2.7s, transform 0.45s var(--ease) 2.7s; }
.s-jim.play .ap-b { opacity: 1; transform: none; transition: opacity 0.35s 2.8s, transform 0.55s var(--spring) 2.8s; }
@keyframes tap { 50% { transform: scale(0.95); } }

/* Slide 3 — Live gym session */
.set-head { display: flex; justify-content: space-between; align-items: center; font-size: 14px; font-weight: 600; color: var(--silver); }
.live { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; letter-spacing: 0.22em; color: var(--em); }
.live i { width: 8px; height: 8px; border-radius: 50%; background: var(--em); box-shadow: 0 0 10px var(--em); animation: dot 1.2s ease-in-out infinite; }
.set-ex { font-size: 14px; font-weight: 650; letter-spacing: 0.24em; color: var(--gold-blaze); }
.set-load { display: flex; align-items: baseline; gap: 8px; line-height: 0.92; }
.set-load b { font-size: 112px; font-weight: 700; letter-spacing: -0.065em; }
.set-load small { font-size: 22px; font-weight: 650; color: var(--silver); }
.set-load span { margin-left: 6px; font-size: 42px; font-weight: 650; letter-spacing: -0.035em; }
.set-meta { display: flex; justify-content: space-between; align-items: center; margin-top: 20px; font-size: 12.5px; font-weight: 600; letter-spacing: 0.16em; color: var(--silver); }
.pips { display: flex; gap: 5px; }
.pips i { width: 24px; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, 0.12); }
.pips .d { background: var(--gold-blaze); }
.pips .cur { background: var(--em); box-shadow: 0 0 10px var(--em); animation: dot 1.4s ease-in-out infinite; }
.set-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 22px; }
.rest { margin-top: 14px; padding: 18px 16px 16px; }
.rest-top { display: flex; justify-content: space-between; align-items: baseline; }
.rest-top span { font-size: 12px; font-weight: 650; letter-spacing: 0.22em; color: var(--em); }
.rest-top b { font-size: 48px; font-weight: 700; letter-spacing: -0.045em; line-height: 1; }
.up-next { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: 6px 12px; margin-top: auto; padding: 14px 16px; }
.up-next .t-lab { grid-column: 1 / -1; }
.up-next b { font-size: 16px; font-weight: 600; white-space: nowrap; }
.rest-bar { display: block; height: 8px; margin-top: 12px; border-radius: 4px; overflow: hidden; background: rgba(52, 211, 153, 0.13); }
.rest-bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #1fae7e, #34d399 70%, #8af2cc); box-shadow: 0 0 12px rgba(52, 211, 153, 0.85); transform: scaleX(0.9); transform-origin: left; }
.rest small { display: flex; align-items: center; gap: 7px; margin-top: 12px; font-size: 12.5px; color: var(--silver-2); }
.rest small .ico { font-size: 15px; color: var(--em); }
.s-set .set-ex, .s-set .set-load, .s-set .set-meta, .s-set .set-grid, .s-set .rest, .s-set .up-next { opacity: 0; transform: translateY(16px); }
.s-set.play .set-ex, .s-set.play .set-load, .s-set.play .set-meta, .s-set.play .set-grid, .s-set.play .rest, .s-set.play .up-next { opacity: 1; transform: none; transition: opacity 0.5s var(--ease) 0.3s, transform 0.7s var(--spring) 0.3s; }
.s-set.play .set-load { transition-delay: 0.38s; }
.s-set.play .set-meta { transition-delay: 0.46s; }
.s-set.play .set-grid { transition-delay: 0.54s; }
.s-set.play .rest { transition-delay: 0.62s; }
.s-set.play .up-next { transition-delay: 0.7s; }

/* Slide 4 — Fitness Age */
.s-age { padding: 0; }
.s-age img { position: absolute; left: 0; top: 50px; width: 100%; height: calc(100% - 50px); max-width: none; object-fit: cover; object-position: 50% 0; }
.s-age.play img { transform: scale(1.035); transition: transform 4.2s linear; }
.sweep { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(112deg, transparent 36%, rgba(255, 255, 255, 0.13) 48%, rgba(255, 255, 255, 0.03) 55%, transparent 62%); transform: translateX(-120%); }
.s-age.play .sweep { animation: sweepX 1.7s var(--ease) 0.75s both; }
@keyframes sweepX { to { transform: translateX(120%); } }

/* Apple Watch Ultra faces */
.wf { position: absolute; inset: 0; padding: 40px 30px 36px; }
.wf-top { display: flex; justify-content: space-between; align-items: center; padding: 0 8px; font-size: 17px; font-weight: 700; }
.wf-top .num { font-weight: 600; color: var(--silver); }
.wf-lab { letter-spacing: 0.06em; color: var(--em); }
.wf-ring { position: relative; width: 202px; height: 202px; margin: 12px auto 0; }
.wf-ring svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; transform: rotate(-90deg); }
.wf-ring circle { fill: none; stroke-width: 17; }
.wf-ring .trk { stroke: rgba(52, 211, 153, 0.17); }
.wf-ring .arc { stroke: var(--em); stroke-linecap: round; stroke-dasharray: 1; filter: drop-shadow(0 0 7px rgba(52, 211, 153, 0.75)); transition: stroke-dashoffset 0.5s cubic-bezier(0.34, 1.3, 0.64, 1); }
.wf-ring b { position: absolute; inset: 0; display: grid; place-items: center; font-size: 58px; font-weight: 700; letter-spacing: -0.045em; }
.wf-hr { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 10px; font-size: 19px; font-weight: 650; color: #ff5e73; }
.wf-hr .ico { font-size: 18px; animation: beat 0.87s ease-in-out infinite; }
@keyframes beat { 0%, 100% { transform: scale(1); } 14% { transform: scale(1.22); } 28% { transform: scale(1); } 42% { transform: scale(1.12); } 60% { transform: scale(1); } }
.wf-foot { display: flex; justify-content: space-between; margin-top: 10px; padding: 0 12px; font-size: 23px; font-weight: 700; letter-spacing: -0.03em; }

/* Act 4 watch: rest → haptic → active set → logged */
.gym-wf { padding: 0; }
.wf-view { position: absolute; inset: 0; padding: 40px 30px 36px; transition: transform 0.65s cubic-bezier(0.32, 0.72, 0, 1), opacity 0.5s var(--ease); }
.wf-set { opacity: 0; transform: translate3d(0, 100%, 0); }
.gym-wf.set .wf-rest { opacity: 0; transform: translate3d(0, -100%, 0); }
.gym-wf.set .wf-set { opacity: 1; transform: none; }
.gym-wf .wf-ring { width: 212px; height: 212px; margin-top: 14px; }
.gym-wf .wf-foot { margin-top: 20px; }
.ws-ex { padding-left: 6px; font-size: 16.5px; font-weight: 700; letter-spacing: 0.08em; color: var(--gold-blaze); }
.ws-load { font-size: 90px; font-weight: 700; line-height: 0.88; letter-spacing: -0.065em; }
.ws-load small { margin-left: 6px; font-size: 28px; letter-spacing: 0; color: var(--silver); }
.ws-reps { font-size: 26px; font-weight: 650; letter-spacing: -0.02em; }
.ws-row { display: flex; justify-content: space-between; align-items: center; margin-top: 18px; font-size: 20px; font-weight: 650; color: var(--silver); }
.ws-row .wf-hr { margin: 0; }
.ws-log { position: absolute; left: 26px; right: 26px; bottom: 38px; height: 52px; display: grid; place-items: center; border-radius: 26px; overflow: hidden; background: rgba(255, 255, 255, 0.1); font-size: 16px; font-weight: 700; }
.ws-log::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, #6eeec0, #34d399); opacity: 0; }
.ws-log > span { position: relative; grid-area: 1 / 1; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.ws-log .l-b { font-size: 14.5px; letter-spacing: 0.02em; color: #03150e; opacity: 0; transform: translateY(12px); }
.ws-log .l-b .ico { font-size: 18px; }
.gym-wf.set .ws-log { box-shadow: 0 0 30px -2px rgba(52, 211, 153, 0.85); transition: box-shadow 0.5s 2.4s; }
.gym-wf.set .ws-log::before { opacity: 1; transition: opacity 0.45s 2.3s; }
.gym-wf.set .l-a { opacity: 0; transform: translateY(-12px); transition: opacity 0.3s 2.3s, transform 0.45s var(--ease) 2.3s; }
.gym-wf.set .l-b { opacity: 1; transform: none; transition: opacity 0.35s 2.4s, transform 0.55s var(--spring) 2.4s; }
.wf-flash { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 50% 42%, rgba(52, 211, 153, 0.42), rgba(52, 211, 153, 0.08) 55%, transparent 75%); opacity: 0; }
.gym-wf.buzz .wf-flash { animation: flash 0.6s ease-out both; }
.gym-wf.buzz .trk { animation: ringFlash 0.6s ease-out both; }
@keyframes flash { 0% { opacity: 0; } 18% { opacity: 1; } 100% { opacity: 0; } }
@keyframes ringFlash { 0% { stroke: rgba(52, 211, 153, 0.17); } 20% { stroke: #6eeec0; filter: drop-shadow(0 0 14px rgba(52, 211, 153, 1)); } 100% { stroke: rgba(52, 211, 153, 0.17); } }
.gym-watch.buzz { animation: buzz 0.6s linear both; }
@keyframes buzz {
  0%, 100% { translate: 0 0; }
  10% { translate: -2px 0; } 20% { translate: 2px 0; } 30% { translate: -2px 0; } 40% { translate: 2px 0; }
  50% { translate: -1.5px 0; } 60% { translate: 1.5px 0; } 70% { translate: -1px 0; } 80% { translate: 1px 0; } 90% { translate: 0 0; }
}

/* ==========================================================================
   ACT 1 — Hero
   ========================================================================== */
.hero { position: relative; z-index: 1; min-height: 100svh; display: flex; align-items: center; padding: 112px 0 72px; }
/* Aura lives inside the stage so the lighten-blended photos always melt into it */
.hero-aura { position: absolute; inset: 0; pointer-events: none; }
.hero-aura i { position: absolute; border-radius: 50%; aspect-ratio: 1; translate: -50% -50%; }
.aura-gold {
  left: 46%;
  top: 50%;
  width: min(920px, 130vw);
  background: radial-gradient(circle closest-side, rgba(232, 197, 123, 0.2), rgba(232, 197, 123, 0.07) 42%, transparent 100%);
  animation: breathe 9s ease-in-out infinite;
}
.aura-em {
  left: 74%;
  top: 72%;
  width: min(560px, 90vw);
  background: radial-gradient(circle closest-side, rgba(52, 211, 153, 0.13), rgba(52, 211, 153, 0.04) 45%, transparent 100%);
  animation: breathe 11s ease-in-out -4s infinite;
}
@keyframes breathe { 0%, 100% { opacity: 0.65; scale: 0.92; } 50% { opacity: 1; scale: 1.06; } }

.hero-grid { position: relative; width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 620px); align-items: center; gap: 40px; }
.hero-copy { max-width: 600px; will-change: transform, opacity; }
.eyebrow { margin: 0 0 26px; font-size: 15px; font-weight: 500; letter-spacing: 0.01em; color: var(--silver); }
.hero h1 { font-size: clamp(48px, 6.8vw, 86px); }
.lead { margin: 30px 0 0; max-width: 29em; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.55; color: var(--silver); }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 30px; margin-top: 42px; }

.stage {
  position: relative;
  width: min(620px, 100%, calc((100svh - 170px) * 1.033));
  aspect-ratio: 620 / 600;
  margin-left: auto;
  animation: stageIn 1.8s var(--ease) 0.15s both;
}
@keyframes stageIn { from { opacity: 0; transform: translateY(70px) scale(0.93); } to { opacity: 1; transform: none; } }
.stage-phone { position: absolute; left: 0; top: 3.3%; height: 93.3%; width: auto; max-width: none; will-change: transform; }
.stage-watch { position: absolute; left: 51.6%; top: 46.7%; width: 48.4%; will-change: transform; }

/* ==========================================================================
   ACT 2 — Iron manifesto (scroll-scrubbed word illumination)
   ========================================================================== */
.manifesto {
  position: relative;
  z-index: 2;
  height: 195svh;
  min-height: 110svh;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0, #000 28vh);
}
.manifesto-pin { position: sticky; top: 0; height: 100svh; display: grid; place-items: center; overflow: hidden; }
.manifesto-pin::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 62% 46% at 50% 50%, rgba(0, 0, 0, 0.6), transparent 100%);
  pointer-events: none;
}
.iron {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 62% 50%;
  opacity: 0.55;
  will-change: transform, opacity;
  -webkit-mask-image:
    linear-gradient(180deg, transparent, #000 24%, #000 76%, transparent),
    linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(180deg, transparent, #000 24%, #000 76%, transparent),
    linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-composite: intersect;
}
.manifesto-text { position: relative; z-index: 1; max-width: 1120px; text-align: center; }
.mline { margin: 0 0 0.16em; font-size: clamp(32px, 5vw, 62px); font-weight: 650; line-height: 1.08; letter-spacing: -0.038em; color: #fff; }
.mline.gold {
  margin: 0.34em 0 0;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(42px, 6.6vw, 88px);
  letter-spacing: -0.01em;
  color: var(--gold-blaze);
  text-shadow: 0 0 50px rgba(242, 204, 126, 0.5);
}
.mline .w { opacity: 0.16; }

/* ==========================================================================
   ACT 3 — Coach Jim: one-screen keynote split (copy + tabs | live execution card)
   ========================================================================== */
.theater { position: relative; padding: clamp(64px, 7.5vh, 96px) 0; overflow-x: clip; }
.theater-ambient { position: absolute; inset: 0; pointer-events: none; }
.theater-ambient i { position: absolute; border-radius: 50%; aspect-ratio: 1; translate: -50% -50%; }
.amb-gold { left: 26%; top: 58%; width: min(980px, 150vw); background: radial-gradient(circle closest-side, rgba(232, 197, 123, 0.12), rgba(232, 197, 123, 0.035) 45%, transparent 100%); animation: breathe 10s ease-in-out infinite; }
.amb-em { left: 76%; top: 62%; width: min(760px, 120vw); background: radial-gradient(circle closest-side, rgba(52, 211, 153, 0.075), transparent 100%); animation: breathe 12s ease-in-out -5s infinite; }
.theater .wrap { position: relative; }

@keyframes dot { 50% { opacity: 0.35; } }

.coach-split { display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); align-items: center; gap: clamp(32px, 4.5vw, 72px); }
.coach-eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 16px; font-size: 15px; font-weight: 500; color: var(--silver); }
.coach-eyebrow i { width: 7px; height: 7px; border-radius: 50%; background: var(--gold-blaze); box-shadow: 0 0 12px var(--gold-blaze); }
.coach-copy h2 { font-size: clamp(32px, 3.5vw, 48px); line-height: 1.04; }
.coach-copy h2 em { line-height: 1.04; }
.coach-lead { margin: 16px 0 0; max-width: 32em; font-size: 16px; line-height: 1.55; color: var(--silver); }

/* Scenario tabs — vertical list, live 4 s progress along the active row */
.chapters { display: grid; gap: 6px; margin-top: 24px; }
.chapters button { position: relative; display: grid; gap: 2px; padding: 11px 16px 13px; border: 1px solid transparent; border-radius: 16px; overflow: hidden; background: transparent; text-align: left; color: var(--silver-2); cursor: pointer; transition: background 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease); }
.chapters b { font-size: 15.5px; font-weight: 600; letter-spacing: -0.01em; color: var(--silver); transition: color 0.3s; }
.chapters small { font-size: 13.5px; line-height: 1.4; }
.chapters button:hover { background: rgba(255, 255, 255, 0.025); }
.chapters button:hover b, .chapters button.active b { color: #fff; }
.chapters button.active { background: rgba(255, 255, 255, 0.055); border-color: rgba(232, 197, 123, 0.26); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 18px 40px -26px rgba(242, 204, 126, 0.4); color: var(--silver); }
.chapters .bar { position: absolute; left: 16px; right: 16px; bottom: 0; height: 2px; border-radius: 2px; overflow: hidden; background: rgba(255, 255, 255, 0.07); opacity: 0; transition: opacity 0.3s; }
.chapters .active .bar { opacity: 1; }
.chapters .bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--gold), var(--gold-hi)); box-shadow: 0 0 10px rgba(242, 204, 126, 0.9); transform: scaleX(0); transform-origin: left; }
html:not(.js) .chapters .active .bar i { transform: none; }

/* Live Coaching Execution Card */
.exec {
  position: relative;
  isolation: isolate;
  padding: 26px 28px;
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.018) 40%, rgba(255, 255, 255, 0.01)), #08090b;
  box-shadow: 0 50px 110px -50px #000, 0 30px 90px -60px rgba(242, 204, 126, 0.35);
}
.exec::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  padding: 1px;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.06) 42%, rgba(232, 197, 123, 0.12));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  pointer-events: none;
}
.exec::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(60% 45% at 10% 0%, rgba(242, 204, 126, 0.11), transparent 70%), radial-gradient(55% 45% at 100% 100%, rgba(52, 211, 153, 0.08), transparent 70%);
  pointer-events: none;
}
.exec-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--line-soft); }
.exec-id { display: inline-flex; align-items: center; gap: 9px; font-size: 14px; }
.exec-id i { width: 7px; height: 7px; border-radius: 50%; background: var(--gold-blaze); box-shadow: 0 0 10px var(--gold-blaze); transition: box-shadow 0.4s; }
.theater.speaking .exec-id i { box-shadow: 0 0 16px 2px var(--gold-blaze); }
.exec-id b { font-weight: 600; letter-spacing: -0.01em; }
.exec-id small { font-size: 13px; color: var(--silver-2); }
.exec-sync { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 500; white-space: nowrap; color: var(--em); }
.exec-sync .ico { width: 15px; height: 15px; }

.dialog { display: grid; align-items: start; }
.scene { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity 0.35s var(--ease), visibility 0s linear 0.35s; }
.scene.on { opacity: 1; visibility: visible; transition: opacity 0.45s var(--ease); }

.who { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 6px; font-size: 13px; font-weight: 500; color: var(--silver-2); }

.q, .payload { opacity: 0; transform: translateY(14px); }
.q p { margin: 0; font-family: var(--serif); font-style: italic; font-size: clamp(22px, 2vw, 28px); line-height: 1.2; color: #f2f3f5; }
.reply { margin: 18px 0 0; font-size: 16.5px; font-weight: 500; line-height: 1.45; letter-spacing: -0.012em; color: var(--silver); }
.reply .w { display: inline-block; opacity: 0; transform: translateY(0.3em); filter: blur(4px); }

.scene.play .q { opacity: 1; transform: none; transition: opacity 0.35s var(--ease) 0.02s, transform 0.5s var(--ease) 0.02s; }
.scene.play .payload { opacity: 1; transform: none; transition: opacity 0.45s var(--ease) 0.14s, transform 0.55s var(--spring) 0.14s; }
.scene.play .reply .w { opacity: 1; transform: none; filter: none; transition: opacity 0.28s var(--ease), transform 0.38s var(--ease), filter 0.28s var(--ease); transition-delay: calc(0.28s + var(--i, 0) * 14ms); }

/* Recessed obsidian stage for the 1-second visual proof inside the glass card */
.payload {
  position: relative;
  margin: 18px 0 0;
  padding: 18px 20px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.48);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.55);
}
.ico { width: 18px; height: 18px; flex: none; }
.payload .spec { font-family: var(--mono); font-size: 15px; font-weight: 600; letter-spacing: -0.01em; color: #fff; }
.chip { display: inline-flex; align-items: center; gap: 6px; font-size: 14.5px; font-weight: 600; white-space: nowrap; }
.chip .ico { width: 15px; height: 15px; }
.chip.em { color: var(--em); }
.muted { color: var(--silver-2); font-size: 13.5px; }

/* Scene 1: Clean editorial swap (no translucent pills) */
.swap { display: grid; }
.swap-card { display: flex; align-items: center; gap: 14px; padding: 14px 4px; }
.swap-card + .swap-card { border-top: 1px solid var(--line-soft); }
.swap-card .name { flex: 1; font-size: 18px; font-weight: 650; letter-spacing: -0.02em; color: #fff; }
.swap-card .pill { font-size: 14.5px; font-weight: 650; white-space: nowrap; }
.swap-card .pill.warn { color: var(--amber); }
.swap-card .pill.ok { color: var(--em); }
.swap-card.out { opacity: 0.6; }
.swap-card.out .ico { color: var(--amber); }
.swap-card.out .name { color: var(--silver); text-decoration: line-through; text-decoration-color: rgba(245, 165, 36, 0.7); text-decoration-thickness: 2px; }
.swap-card.in { opacity: 0; transform: translateY(8px); }
.swap-card.in .ico { color: var(--em); }
.scene.play .swap-card.in { opacity: 1; transform: none; transition: opacity 0.4s var(--ease) 0.35s, transform 0.55s var(--spring) 0.35s; }

/* Scene 2: Big 55 min -> 28 min visual */
.cmp-hero { display: flex; align-items: baseline; gap: 14px; }
.cmp-old { font-size: 24px; font-weight: 600; color: var(--silver-2); text-decoration: line-through; text-decoration-thickness: 2px; }
.cmp-arr { font-size: 22px; color: var(--silver-2); }
.cmp-num { font-size: clamp(42px, 3.6vw, 54px); font-weight: 700; letter-spacing: -0.05em; line-height: 1; color: var(--em); text-shadow: 0 0 28px rgba(52, 211, 153, 0.35); }
.cmp-num small { font-size: 0.38em; font-weight: 600; letter-spacing: 0; color: var(--silver); }
.cmp-track { position: relative; height: 12px; margin: 18px 0 16px; border-radius: 999px; background: rgba(255, 255, 255, 0.06); overflow: hidden; }
.cmp-track i { position: absolute; inset: 0; border-radius: inherit; }
.cmp-ghost { background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.1) 0 6px, transparent 6px 11px); }
.cmp-fill { background: linear-gradient(90deg, var(--em), var(--gold-blaze)); box-shadow: 0 0 18px rgba(242, 204, 126, 0.55); transform-origin: left; }
.scene.play .cmp-fill { transform: scaleX(0.509); transition: transform 0.7s cubic-bezier(0.65, 0, 0.35, 1) 0.25s; }
.cmp-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.compress .chip, .trend .chip { opacity: 0; transform: scale(0.9); }
.scene.play .compress .chip, .scene.play .trend .chip { opacity: 1; transform: none; transition: opacity 0.4s var(--ease) 0.45s, transform 0.55s var(--spring) 0.45s; }

/* Scene 3: Huge 0 kg fat verdict + clear trend chart */
.trend-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.trend-verdict { font-size: clamp(32px, 2.8vw, 42px); font-weight: 700; letter-spacing: -0.045em; line-height: 1; color: var(--em); text-shadow: 0 0 24px rgba(52, 211, 153, 0.35); }
.chart { display: block; width: 100%; height: auto; margin: 12px 0 8px; overflow: visible; }
.chart .grid { stroke: rgba(255, 255, 255, 0.07); stroke-width: 1; }
.chart .daily { fill: none; stroke: rgba(255, 255, 255, 0.36); stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.chart .trendline { fill: none; stroke: var(--gold-blaze); stroke-width: 3.4; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; filter: drop-shadow(0 0 6px rgba(242, 204, 126, 0.7)); }
.chart .end { fill: var(--em); opacity: 0; filter: drop-shadow(0 0 8px rgba(52, 211, 153, 0.95)); transform-box: fill-box; transform-origin: center; transform: scale(0); }
.scene.play .chart .daily { stroke-dashoffset: 0; transition: stroke-dashoffset 0.65s cubic-bezier(0.45, 0, 0.2, 1) 0.2s; }
.scene.play .chart .trendline { stroke-dashoffset: 0; transition: stroke-dashoffset 0.65s cubic-bezier(0.45, 0, 0.2, 1) 0.26s; }
.scene.play .chart .end { opacity: 1; transform: none; transition: opacity 0.2s 0.7s, transform 0.5s var(--spring) 0.7s; }
.trend-foot { display: flex; align-items: center; gap: 10px; }

/* Scene 4: Clean 3-exercise hotel checklist */
.rebuild-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; font-size: 15px; font-weight: 600; color: var(--silver); }
.rebuild { list-style: none; margin: 0; padding: 0; }
.rebuild li { display: grid; grid-template-columns: 20px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 11px 0; opacity: 0; transform: translateX(14px); }
.rebuild li + li { border-top: 1px solid var(--line-soft); }
.rebuild .ico { color: var(--em); }
.rebuild .name { font-size: 17px; font-weight: 600; letter-spacing: -0.015em; color: #fff; }
.scene.play .rebuild li { opacity: 1; transform: none; transition: opacity 0.45s var(--ease), transform 0.65s var(--spring); transition-delay: calc(0.22s + var(--i) * 0.1s); }

/* ==========================================================================
   Acts 4–6 — shared chapter layout
   ========================================================================== */
.act { position: relative; padding: clamp(64px, 8.5vh, 108px) 0; overflow-x: clip; }
.act-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); align-items: center; gap: clamp(40px, 6vw, 100px); }
.act-grid.wide { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr); }
.flip .act-visual { order: -1; }
.act-copy { max-width: 540px; }
.act h2 { font-size: clamp(42px, 5.4vw, 74px); }
.act-copy > p { margin: 28px 0 0; max-width: 28em; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.55; color: var(--silver); }
.act-visual { position: relative; }

/* ACT 4 — Apple Watch Ultra scroll-zoom */
.gym-rig { position: relative; width: min(500px, 100%); aspect-ratio: 1; margin: 0 auto; will-change: transform; }
.gym-rig .halo {
  left: 43%;
  top: 49%;
  width: 74%;
  aspect-ratio: 1;
  translate: -50% -50%;
  background: radial-gradient(circle closest-side, rgba(52, 211, 153, 0.3), rgba(52, 211, 153, 0.09) 48%, transparent 100%);
  animation: halo 5.5s ease-in-out infinite;
}
.gym-watch { position: relative; width: 100%; }
@keyframes halo { 0%, 100% { opacity: 0.55; scale: 0.9; } 50% { opacity: 1; scale: 1.08; } }

/* ACT 5: Meal vision */
.meal { position: relative; width: 100%; max-width: 680px; margin: 0 auto; will-change: transform; }
.meal-img {
  width: 100%;
  filter: contrast(1.04);
  -webkit-mask-image:
    linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent),
    linear-gradient(180deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent),
    linear-gradient(180deg, transparent, #000 6%, #000 94%, transparent);
  mask-composite: intersect;
}
.scan-field { position: absolute; left: 14%; right: 14%; top: 20%; bottom: 25%; pointer-events: none; }
.rt { position: absolute; width: clamp(18px, 3vw, 30px); aspect-ratio: 1; border: 1.5px solid var(--gold-blaze); opacity: 0; transform: scale(1.5); filter: drop-shadow(0 0 6px rgba(242, 204, 126, 0.7)); }
.rt.tl { left: 0; top: 0; border-right: 0; border-bottom: 0; border-top-left-radius: 6px; transform-origin: 0 0; }
.rt.tr { right: 0; top: 0; border-left: 0; border-bottom: 0; border-top-right-radius: 6px; transform-origin: 100% 0; }
.rt.bl { left: 0; bottom: 0; border-right: 0; border-top: 0; border-bottom-left-radius: 6px; transform-origin: 0 100%; }
.rt.br { right: 0; bottom: 0; border-left: 0; border-top: 0; border-bottom-right-radius: 6px; transform-origin: 100% 100%; }
.scanning .rt { opacity: 1; transform: none; transition: opacity 0.5s var(--ease) 0.1s, transform 0.9s var(--spring) 0.1s; }
.beam {
  position: absolute;
  left: -6%;
  right: -6%;
  top: 0;
  height: 2px;
  opacity: 0;
  background: linear-gradient(90deg, transparent, rgba(242, 204, 126, 0.9) 18%, #fff6df 50%, rgba(242, 204, 126, 0.9) 82%, transparent);
}
.beam::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 90px;
  background: linear-gradient(0deg, rgba(242, 204, 126, 0.24), rgba(242, 204, 126, 0));
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 22%, #000 78%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 22%, #000 78%, transparent);
}
.scanning .beam { animation: sweep 6.5s cubic-bezier(0.45, 0, 0.2, 1) 0.35s infinite; }
@keyframes sweep {
  0% { top: 0; opacity: 0; }
  5% { opacity: 1; }
  38% { top: 100%; opacity: 1; }
  46%, 100% { top: 100%; opacity: 0; }
}

.telemetry { display: flex; justify-content: center; margin: -4px 0 0; }
.telemetry > div { padding: 2px clamp(16px, 3vw, 42px); text-align: center; }
.telemetry > div + div { border-left: 1px solid var(--line); }
.telemetry dt { margin-bottom: 6px; font-size: 14px; color: var(--silver-2); }
.telemetry dd { margin: 0; font-size: clamp(30px, 3.4vw, 48px); font-weight: 650; line-height: 1; letter-spacing: -0.04em; white-space: nowrap; }
.telemetry dd small { margin-left: 4px; font-size: 0.4em; font-weight: 500; letter-spacing: 0; color: var(--silver); }

/* ACT 6 — Anatomy sculpture */
.sculpt { position: relative; width: min(540px, 100%); aspect-ratio: 1; margin: 0 auto; will-change: transform; }
.sculpt .halo.em {
  left: 50%;
  top: 46%;
  width: 78%;
  aspect-ratio: 1;
  translate: -50% -50%;
  background: radial-gradient(circle closest-side, rgba(52, 211, 153, 0.2), rgba(52, 211, 153, 0.06) 50%, transparent 100%);
  animation: halo 6s ease-in-out infinite;
}
.sculpt-img { position: relative; width: 100%; }
.breath {
  position: absolute;
  left: 49%;
  top: 44%;
  width: 52%;
  aspect-ratio: 1.5;
  translate: -50% -50%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(52, 211, 153, 0.95), rgba(52, 211, 153, 0.3) 55%, transparent 100%);
  mix-blend-mode: overlay;
  pointer-events: none;
  animation: breathGlow 4.8s ease-in-out infinite;
}
@keyframes breathGlow { 0%, 100% { opacity: 0.25; } 50% { opacity: 0.9; } }

.stats { display: flex; margin: 46px 0 0; }
.stats > div { display: flex; flex-direction: column-reverse; padding: 0 clamp(16px, 2.6vw, 38px); }
.stats > div:first-child { padding-left: 0; }
.stats > div + div { border-left: 1px solid var(--line); }
.stats dd { margin: 0; font-size: clamp(46px, 5.4vw, 80px); font-weight: 650; line-height: 1; letter-spacing: -0.05em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.stats dd small { margin-left: 6px; font-size: 0.3em; font-weight: 500; letter-spacing: 0; color: var(--silver); }
.stats > div:nth-child(2) dd { color: var(--em); text-shadow: 0 0 34px rgba(52, 211, 153, 0.35); }
.stats > div:nth-child(3) dd { color: var(--gold-blaze); text-shadow: 0 0 34px rgba(242, 204, 126, 0.35); }
.stats dt { margin-top: 12px; font-size: 14.5px; color: var(--silver); }

/* ==========================================================================
   ACT 7: Privacy & finale
   ========================================================================== */
.finale { position: relative; padding: clamp(56px, 8vh, 96px) 0 clamp(72px, 10vh, 116px); text-align: center; overflow-x: clip; }
.trust-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; margin: 0 auto clamp(64px, 9vh, 104px); padding-top: 28px; border-top: 1px solid var(--line-soft); text-align: left; }
.trust-card { padding: 0; }
.trust-card h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; font-size: 19px; font-weight: 650; letter-spacing: -0.02em; color: #fff; }
.trust-card h3::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--em); }
.trust-card p { margin: 0; font-size: 15.5px; line-height: 1.55; color: var(--silver); }

.finale-core { position: relative; }
.emblem-wrap { position: relative; width: 124px; height: 124px; margin: 0 auto 52px; }
.emblem-aura {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 360px;
  aspect-ratio: 1;
  translate: -50% -50%;
  border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(232, 197, 123, 0), rgba(242, 204, 126, 0.65) 14%, rgba(232, 197, 123, 0) 30%, rgba(52, 211, 153, 0.22) 48%, rgba(232, 197, 123, 0) 62%, rgba(243, 213, 147, 0.5) 80%, rgba(232, 197, 123, 0));
  -webkit-mask-image: radial-gradient(circle closest-side, #000 28%, transparent 100%);
  mask-image: radial-gradient(circle closest-side, #000 28%, transparent 100%);
  filter: blur(24px);
  animation: spin 16s linear infinite;
  pointer-events: none;
}
@keyframes spin { to { rotate: 360deg; } }
.emblem { position: relative; width: 124px; height: 124px; border-radius: 28px; }
.finale h2 { font-size: clamp(48px, 7vw, 98px); }

.store-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 52px;
  padding: 11px 28px 11px 20px;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(180deg, #f7dda2, var(--gold));
  color: #140f05;
  text-align: left;
  box-shadow: 0 22px 60px -18px rgba(242, 204, 126, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.55);
  transition: transform 0.4s var(--spring), box-shadow 0.4s var(--ease);
}
.store-badge::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, 0.6) 50%, transparent 62%); background-size: 260% 100%; background-position: 130% 0; animation: shine 6.5s var(--ease) 1s infinite; pointer-events: none; }
.store-badge:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 28px 70px -16px rgba(242, 204, 126, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.55); }
.store-badge .apple { width: 30px; height: 30px; margin-top: -3px; }
.sb-text small { display: block; font-size: 12.5px; font-weight: 500; line-height: 1.2; opacity: 0.78; }
.sb-text b { display: block; font-size: 23px; font-weight: 650; line-height: 1.1; letter-spacing: -0.025em; }
.upgrade-line { max-width: 36em; margin: 28px auto 0; font-size: 15.5px; color: var(--silver-2); }

/* ==========================================================================
   Legal & prose pages
   ========================================================================== */
.prose { padding: 72px 0 100px; }
.prose h1 { margin: 0 0 14px; font-size: clamp(34px, 5vw, 52px); font-weight: 700; line-height: 1.05; letter-spacing: -0.04em; color: #fff; }
.prose .updated { margin-bottom: 40px; padding-bottom: 26px; border-bottom: 1px solid var(--line-soft); font-size: 13.5px; color: var(--silver); }
.prose h2 { margin: 44px 0 12px; font-size: 21px; font-weight: 600; letter-spacing: -0.02em; color: var(--gold); }
.prose p, .prose li { font-size: 16px; line-height: 1.75; color: var(--silver); }
.prose strong { color: #fff; font-weight: 600; }
.prose em { color: #fff; }
.prose ul { padding-left: 20px; }
.prose li { margin-bottom: 6px; }
.prose li::marker { color: var(--gold); }
.prose a { color: var(--gold); text-decoration: underline; text-decoration-color: var(--gold-line); text-underline-offset: 3px; }
.prose a:hover { text-decoration-color: var(--gold); }
.callout { margin: 28px 0; padding: 22px 24px; border-radius: 20px; border: 1px solid var(--line); border-left: 3px solid var(--gold); background: var(--s1); font-size: 15.5px; line-height: 1.7; color: #fff; }

/* ==========================================================================
   Footer (shared)
   ========================================================================== */
footer { padding: 36px 0 48px; border-top: 1px solid var(--line-soft); font-size: 14px; color: var(--silver); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.footer-inner a:hover { color: #fff; }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 22px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 900px) {
  .hero { min-height: 0; padding: 104px 0 40px; }
  .hero-grid, .act-grid, .act-grid.wide, .coach-split, .trust-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-grid { gap: 36px; }
  .stage { width: min(520px, 100%); margin: 0 auto; }
  .flip .act-visual { order: 0; }
  .act-copy { max-width: 640px; }
  .coach-split { gap: 28px; }
  .trust-grid { gap: 14px; }
  .manifesto { height: 180svh; }
}

@media (max-width: 760px) {
  .nav-links { display: none; }
  .wrap { padding: 0 22px; }
  header { padding: 10px 10px 0; }
  .eyebrow { font-size: 14px; }
  .cta-row .btn { width: 100%; }
  .act { padding: clamp(60px, 9vh, 90px) 0; }
  .act-grid { gap: 44px; }
  .exec { padding: 20px 18px; border-radius: 24px; }
  .payload { padding: 14px 16px; border-radius: 16px; }
  .swap-card { padding: 12px 14px; gap: 10px; }
  .swap-card .name { font-size: 16px; }
  .rebuild .name { font-size: 16px; }
  .telemetry > div { padding: 2px 14px; }
  .telemetry dd { font-size: 28px; }
  .stats > div { padding: 0 14px; }
  .stats dd { font-size: clamp(40px, 11vw, 54px); }
  .trust-card { padding: 20px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 440px) {
  .brand span { display: none; }
  .nav-cta { padding: 9px 14px; font-size: 13px; }
  .stats > div { padding: 0 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 0.001ms !important; transition-delay: 0s !important; }
  html.js .reveal { opacity: 1; transform: none; filter: none; }
  .manifesto { height: auto; min-height: 110svh; }
  .manifesto-pin { position: relative; min-height: 110svh; height: auto; padding: 80px 0; }
  .mline .w { opacity: 1; }
  .rt { opacity: 1; transform: none; }
}
