/*
  William Tackett "fight night" layer.

  Loaded after storefront.css on every William page. Marketing pages opt in with
  body.wt-page; account and form pages keep the light base and only pick up the header.
  Written mobile-first. Motion is progressive: scroll-driven animations run where the
  browser supports them, content is fully visible without them, and
  prefers-reduced-motion turns all of it off.
*/

@view-transition { navigation: auto; }

:root {
  --arena: #0b0c0e;
  --arena-raised: #15171b;
  --arena-high: #1d2025;
  --line: rgba(238, 240, 242, .1);
  --line-strong: rgba(238, 240, 242, .22);
  --chalk: #f2f3f4;
  --steel: #8f96a0;
  --red-lit: #ff3b30;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.76, 0, .24, 1);
  --header-height: 64px;
  --radius: 18px;
  --intro-delay: 0ms;
}

/* ---------- Canvas ---------- */

/* Every William page opts in (theme body_class), so the base palette tokens flip to
   the arena palette and the shared storefront components follow automatically. */
body.wt-page {
  --ink: var(--chalk); --paper: var(--arena); --surface: var(--arena-raised); --border: var(--line-strong);
  --muted: var(--steel); --action: var(--red-lit); --action-dark: #e5281e; --success: var(--red-lit); --disabled: #2a2d33;
  background: var(--arena); color: var(--chalk); -webkit-font-smoothing: antialiased;
}
/* Base rules that use ink as a dark background need it back after the flip. */
body.wt-page :is(.about-hero, .about-callout, .event-gallery-section, .content-masthead, .archive-masthead, .catalog-intro, .site-footer) { background-color: var(--arena); }
body.wt-page :is(.recent-media, .library-media, .video-shell, .product-media, .trailer-frame, .legacy-card-media, .product-preview, .media-placeholder) { background-color: var(--arena-raised); }
body.wt-page :is(.badge-dark, .support-routes article > span) { background-color: var(--arena-high); color: var(--chalk); }
body.wt-page .button-secondary { border-color: var(--line-strong); color: var(--chalk); }
body.wt-page .button-secondary:hover { background: var(--chalk); border-color: var(--chalk); color: var(--arena); }
body.wt-page .button-primary { box-shadow: none; color: #fff; }
body.wt-page .owned-line span { color: #fff; }
body.wt-page .eyebrow { color: var(--red-lit); }
body.wt-page .desktop-nav > .button { color: var(--arena); }
body.wt-page .desktop-nav > .button:hover { color: #fff; }
body.wt-page .article-category-pill { border-color: var(--line-strong); border-radius: 999px; color: var(--chalk); }
body.wt-page :is(.article-category-pill:hover, .article-category-pill:focus-visible, .article-category-pill.is-active) { background: var(--red-lit); border-color: var(--red-lit); color: #fff; }
body.wt-page .eyebrow-light { color: var(--steel); }
body.wt-page main { overflow-x: clip; }
/* The base styles hide horizontal overflow on both <html> and <body>, which makes <body> its
   own scroll container and stops the sticky header from sticking. Clip at the root instead. */
html:has(body.wt-page) { overflow-x: clip; }
body.wt-page { overflow-x: visible; }
body.wt-page h1, body.wt-page h2, body.wt-page h3 { color: var(--chalk); }
body.wt-page :focus-visible { outline: 2px solid var(--chalk); outline-offset: 3px; box-shadow: none; }
body.wt-page ::selection { background: var(--red-lit); color: #fff; }


/* ---------- Header ---------- */

.site-header {
  view-transition-name: site-header;
  background: rgba(11, 12, 14, .72);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background-color 400ms ease, border-color 400ms ease;
}
.site-header.is-scrolled { background: rgba(11, 12, 14, .86); border-bottom-color: var(--line); }
.wt-page:is(.wt-page-home, .wt-page-product) .site-header:not(.is-scrolled) { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.site-header .brand, .site-header .brand:hover { color: var(--chalk); font-size: 1.3rem; }
.site-header .brand-wordmark span { color: var(--red-lit); }
/* The wordmark never breaks: base text allows breaking anywhere, which split "Tackett". */
body.wt-page .brand-wordmark { gap: .3em; white-space: nowrap; overflow-wrap: normal; }
body.wt-page .site-footer .brand { font-size: 1.6rem; letter-spacing: .01em; }
body.wt-page .site-footer .brand-wordmark span { color: var(--red-lit); }
.desktop-nav { gap: 2px; padding: 0; background: transparent; border: 0; box-shadow: none; }
.desktop-nav::before { display: none; }
.desktop-nav > a:not(.button) { color: rgba(242, 243, 244, .7); font-size: .8rem; font-weight: 600; letter-spacing: .02em; text-transform: none; }
.desktop-nav > a:not(.button):hover, .desktop-nav > a:not(.button)[aria-current="page"] { background: transparent; color: var(--chalk); }
.desktop-nav > a:not(.button)[aria-current="page"]::after { right: 15px; bottom: 8px; left: 15px; height: 2px; background: var(--red-lit); opacity: 1; }
.desktop-nav > .button { min-height: 40px; margin-left: 10px; padding-inline: 18px; background: var(--chalk); border: 0; border-radius: 999px; color: var(--arena); font-size: .8rem; letter-spacing: 0; text-transform: none; }
.desktop-nav > .button:hover { background: var(--red-lit); color: #fff; }
.menu-toggle { min-width: 0; min-height: 44px; padding: 8px 16px; background: rgba(242, 243, 244, .08); border: 1px solid var(--line-strong); border-radius: 999px; box-shadow: none; letter-spacing: .04em; }
.mobile-menu-panel { background: var(--arena); }
.mobile-menu-heading { background: var(--arena); border-bottom: 1px solid var(--line); color: var(--chalk); }
.mobile-menu-heading .eyebrow { color: var(--steel); }
.menu-close { border-color: var(--line-strong); border-radius: 999px; color: var(--chalk); }
.mobile-menu-panel > a { border-bottom-color: var(--line); font-size: clamp(2.4rem, 12vw, 3.4rem); }
.mobile-menu-panel > a:hover, .mobile-menu-panel > a[aria-current="page"] { background: var(--arena-raised); }
.mobile-menu:not([hidden]) .mobile-menu-panel { animation: wt-panel-in 500ms var(--ease-out) both; }
.mobile-menu:not([hidden]) .mobile-menu-panel > a { animation: wt-rise 600ms var(--ease-out) both; }
.mobile-menu:not([hidden]) .mobile-menu-panel > a:nth-of-type(2) { animation-delay: 50ms; }
.mobile-menu:not([hidden]) .mobile-menu-panel > a:nth-of-type(3) { animation-delay: 100ms; }
.mobile-menu:not([hidden]) .mobile-menu-panel > a:nth-of-type(4) { animation-delay: 150ms; }
.mobile-menu:not([hidden]) .mobile-menu-panel > a:nth-of-type(5) { animation-delay: 200ms; }

/* ---------- Shared parts ---------- */

.wt-page .button { border-radius: 999px; }
.wt-cta, .pf-cta {
  position: relative; overflow: hidden; isolation: isolate; min-height: 56px; gap: 14px; padding: 0 28px;
  background: var(--red-lit); border: 0; box-shadow: 0 10px 40px -12px rgba(255, 59, 48, .7);
  color: #fff; font-size: 1rem; font-weight: 700; letter-spacing: -.005em;
  transition: transform 500ms var(--ease-out), box-shadow 400ms ease, background-color 300ms ease;
}
.wt-cta::after, .pf-cta::after {
  position: absolute; z-index: -1; inset: 0; content: "";
  background: linear-gradient(110deg, transparent 25%, rgba(255, 255, 255, .35) 50%, transparent 75%);
  transform: translateX(-120%);
}
.wt-cta:hover, .pf-cta:hover { background: var(--red-lit); color: #fff; box-shadow: 0 16px 50px -10px rgba(255, 59, 48, .85); }
.wt-cta:hover::after, .pf-cta:hover::after { transform: translateX(120%); transition: transform 800ms var(--ease-out); }
.wt-cta:active, .pf-cta:active { transform: scale(.97); }
.wt-cta-dark { background: var(--arena); box-shadow: none; }
.wt-cta-dark:hover { background: #000; box-shadow: none; }
.wt-ghost { min-height: 56px; padding: 0 26px; background: rgba(242, 243, 244, .06); border: 1px solid var(--line-strong); color: var(--chalk); }
.wt-ghost:hover { background: var(--chalk); border-color: var(--chalk); color: var(--arena); }
.wt-page .wt-h2, .wt-page .pf-h2 { font-size: clamp(2.6rem, 10vw, 5.4rem); line-height: .86; letter-spacing: -.015em; }
.wt-page .pf-eyebrow-title { margin-bottom: 28px; color: var(--steel); font: 600 1rem/1.2 var(--body); letter-spacing: 0; text-transform: none; }
.pf-muted { color: var(--steel); }
.wt-page .text-link, .pf-link { display: inline-flex; min-height: 44px; align-items: center; gap: 12px; color: var(--chalk); font-weight: 700; text-decoration: none; }
.wt-page .text-link::after, .pf-link::after { width: 28px; height: 2px; content: ""; background: var(--red-lit); transition: width 500ms var(--ease-out); }
.wt-page .text-link:hover, .pf-link:hover { color: var(--chalk); }
.wt-page .text-link:hover::after, .pf-link:hover::after { width: 52px; }
.wt-page .catalog-fixture-notice { background: rgba(242, 243, 244, .05); border-color: var(--line); border-left-color: var(--red-lit); color: var(--chalk); }
.wt-page .catalog-fixture-notice p { color: var(--steel); }
.wt-page .alert { background: var(--arena-raised); color: var(--chalk); }
.wt-page .purchase-help { color: var(--steel); font-size: .85rem; }

/* Word splitting for scroll-lit statements (JS wraps each word in .w). */
[data-words] .w { display: inline-block; white-space: pre; }

/* ---------- Home intro ---------- */

.wt-page-home { --intro-delay: 900ms; }
.wt-intro {
  position: fixed; z-index: 200; inset: 0; display: grid; place-items: center; overflow: hidden;
  background: var(--arena); pointer-events: none;
  animation: wt-curtain 900ms var(--ease-in-out) 750ms both;
}
.wt-intro-word {
  color: var(--chalk); font: 800 clamp(4rem, 22vw, 14rem)/.8 var(--display); letter-spacing: -.02em; text-transform: uppercase;
  animation: wt-intro-word 900ms var(--ease-out) both;
}

/* ---------- Home hero ---------- */

.wt-page-home .wt-hero {
  min-height: 100svh; margin-top: calc(-1 * var(--header-height)); padding: var(--header-height) 0 0;
  align-items: flex-end; border: 0; background: var(--arena);
}
.wt-hero-media img { transform-origin: 50% 30%; animation: wt-push-in 2600ms var(--ease-out) var(--intro-delay) both; }
.wt-page-home .hero-home-scrim {
  background: linear-gradient(180deg, rgba(11, 12, 14, .55) 0%, rgba(11, 12, 14, .05) 30%, rgba(11, 12, 14, .55) 62%, var(--arena) 100%);
}
.wt-hero-content { position: relative; z-index: 2; padding-bottom: clamp(110px, 26vw, 220px); }
.wt-hero-kicker {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; color: rgba(242, 243, 244, .8); font-size: .9rem; font-weight: 600;
  animation: wt-rise 900ms var(--ease-out) calc(var(--intro-delay) + 250ms) both;
}
.wt-hero-kicker::before { width: 8px; height: 8px; content: ""; border-radius: 50%; background: var(--red-lit); animation: wt-pulse 2s ease-out infinite; }
/* The bare <h1> is a deploy smoke-test contract, so it is styled through its parent. */
.wt-page .wt-hero-content > h1 {
  max-width: 11ch; font-size: clamp(3.3rem, min(14.5vw, 12svh), 8.2rem); line-height: .82; letter-spacing: -.025em;
  animation: wt-unblur 1200ms var(--ease-out) calc(var(--intro-delay) + 100ms) both;
}
.wt-page-home .hero-lead { max-width: 40ch; margin: 22px 0 28px; color: rgba(242, 243, 244, .78); font-size: 1.05rem; animation: wt-rise 900ms var(--ease-out) calc(var(--intro-delay) + 450ms) both; }
.wt-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; animation: wt-rise 900ms var(--ease-out) calc(var(--intro-delay) + 600ms) both; }
.wt-giant {
  position: absolute; z-index: 1; right: 0; bottom: 0; left: 0; margin: 0; overflow: hidden; pointer-events: none;
  color: transparent; font: 800 31vw/.74 var(--display); letter-spacing: -.03em; text-align: center; text-transform: uppercase;
  -webkit-text-stroke: 1px rgba(242, 243, 244, .28);
}
.wt-giant span { display: block; transform: translateY(18%); animation: wt-giant-in 1600ms var(--ease-out) calc(var(--intro-delay) + 200ms) both; }

/* ---------- Featured drop ---------- */

.wt-drop { position: relative; padding: 16px 0 clamp(64px, 12vw, 120px); }
.wt-drop-frame {
  position: relative; min-height: min(92svh, 880px); display: flex; align-items: flex-end; overflow: hidden;
  margin-inline: 12px; border-radius: var(--radius); background: var(--arena-raised); isolation: isolate;
}
.wt-drop-img { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.wt-drop-shade { position: absolute; z-index: -1; inset: 0; background: linear-gradient(180deg, rgba(11, 12, 14, .1) 20%, rgba(11, 12, 14, .7) 62%, rgba(11, 12, 14, .96) 100%); }
.wt-drop-copy { padding-block: 32px clamp(28px, 6vw, 64px); }
.wt-drop-label {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 16px; padding: 7px 14px 7px 12px;
  border: 1px solid var(--line-strong); border-radius: 999px; background: rgba(11, 12, 14, .45);
  color: var(--chalk); font-size: .8rem; font-weight: 700;
}
.wt-live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red-lit); animation: wt-pulse 2s ease-out infinite; }
.wt-page .wt-drop-title { max-width: 13ch; font-size: clamp(3rem, min(12.5vw, 11svh), 7.4rem); line-height: .84; letter-spacing: -.02em; }
.wt-drop-summary { max-width: 42ch; margin: 18px 0 26px; color: rgba(242, 243, 244, .8); font-size: 1.05rem; }
.wt-drop-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.wt-drop-price { margin: 0; color: var(--steel); font-size: .9rem; }
.wt-drop-price strong { margin-right: 8px; color: var(--chalk); font: 800 1.9rem/1 var(--display); vertical-align: -3px; }

/* ---------- Poster shelf ---------- */

.wt-shelf { position: relative; padding-block: clamp(56px, 10vw, 120px); }
.wt-shelf-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 32px; margin-bottom: 28px; }
.wt-shelf-head p { max-width: 36ch; margin: 0; color: var(--steel); }
.wt-rail {
  display: flex; grid-template-columns: none; gap: 14px; overflow-x: auto; overscroll-behavior-x: contain;
  padding: 12px max(var(--gutter), calc((100vw - 1280px) / 2)) 28px;
  scroll-padding-inline: max(var(--gutter), calc((100vw - 1280px) / 2));
  scroll-snap-type: x mandatory; scrollbar-width: none; perspective: 1200px;
}
.wt-rail::-webkit-scrollbar { display: none; }
.wt-rail > .wt-poster-card { flex: 0 0 min(74vw, 300px); scroll-snap-align: start; }
.wt-rail.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.wt-poster-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; perspective: 1400px; }

.wt-poster-card {
  --rx: 0deg; --ry: 0deg; --gx: 50%; --gy: 50%;
  position: relative; display: block; background: transparent; border: 0; box-shadow: none; transform-style: preserve-3d;
}
.wt-poster-card:hover { box-shadow: none; transform: none; }
.wt-poster-media {
  position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 14px; background: var(--arena-raised);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .9), 0 0 0 1px var(--line);
  transform: rotateX(var(--rx)) rotateY(var(--ry)); transition: transform 600ms var(--ease-out), box-shadow 400ms ease;
}
.wt-poster-card.is-tilting .wt-poster-media { transition: transform 120ms linear; }
.wt-poster-card:hover .wt-poster-media { box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .95), 0 0 0 1px var(--line-strong); }
.wt-poster-media img { transition: transform 1000ms var(--ease-out); }
.wt-poster-card:hover .wt-poster-media img { transform: scale(1.04); }
.wt-poster-glare {
  position: absolute; z-index: 2; inset: 0; pointer-events: none; mix-blend-mode: soft-light; opacity: 0;
  background: radial-gradient(circle at var(--gx) var(--gy), rgba(255, 255, 255, .7), transparent 55%);
  transition: opacity 400ms ease;
}
.wt-poster-card:hover .wt-poster-glare { opacity: 1; }
.wt-poster-card.is-unavailable .wt-poster-media img { filter: grayscale(.85) brightness(.6); }
.wt-badge { position: absolute; z-index: 3; top: 12px; left: 12px; background: var(--chalk); color: var(--arena); font-size: .7rem; letter-spacing: .02em; text-transform: none; }
.wt-badge-muted { background: rgba(11, 12, 14, .7); color: var(--chalk); border: 1px solid var(--line-strong); }
.wt-poster-body { padding: 14px 2px 0; }
.wt-page .wt-poster-body h3 { font: 600 .95rem/1.3 var(--body); letter-spacing: -.005em; text-transform: none; text-wrap: pretty; }
.wt-poster-body h3 a { color: var(--chalk); text-decoration: none; }
.wt-poster-link::after { position: absolute; z-index: 4; inset: 0; content: ""; }
.wt-poster-meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin: 6px 0 0; color: var(--steel); font-size: .8rem; }
.wt-poster-meta strong { color: var(--chalk); font: 800 1.35rem/1 var(--display); }
.wt-poster-meta span[aria-hidden] { color: var(--red-lit); }
.wt-poster-open { position: relative; z-index: 5; display: inline-flex; min-height: 44px; align-items: center; color: var(--chalk); font-weight: 700; font-size: .85rem; }

/* ---------- Proof ---------- */

.wt-proof { position: relative; padding-bottom: clamp(64px, 12vw, 140px); }
.wt-proof-media { position: relative; height: min(80svh, 760px); overflow: hidden; }
.wt-proof-media img { width: 100%; height: 115%; object-fit: cover; object-position: center 30%; }
.wt-proof-media::after { position: absolute; inset: 0; content: ""; background: linear-gradient(180deg, var(--arena) 0%, transparent 25%, transparent 50%, var(--arena) 100%); }
.wt-proof-copy { position: relative; z-index: 1; margin-top: -22svh; }
.wt-page .wt-statement { max-width: 9ch; font-size: clamp(3.6rem, 17vw, 10rem); line-height: .8; letter-spacing: -.03em; }
.wt-proof-list { display: grid; margin: 40px 0 0; padding: 0; list-style: none; }
.wt-proof-list li { display: grid; gap: 6px; padding: 22px 0; border-top: 1px solid var(--line); color: var(--steel); }
.wt-proof-list strong { color: var(--chalk); font: 800 1.6rem/1 var(--display); text-transform: uppercase; }

/* ---------- Story / watch ---------- */

.wt-story, .wt-watch { padding-block: clamp(56px, 10vw, 120px); }
.wt-story-grid, .wt-watch-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 36px; align-items: center; }
.wt-story-media, .wt-watch-media { margin: 0; overflow: hidden; border-radius: var(--radius); }
.wt-story-media img, .wt-watch-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.wt-story-copy > p, .wt-watch-copy > p { max-width: 52ch; margin: 22px 0 28px; color: var(--steel); font-size: 1.05rem; line-height: 1.65; }
.wt-page .athlete-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0 0 20px; background: none; border: 0; }
.wt-page .athlete-facts div { min-height: 0; justify-content: flex-start; padding: 16px 0 0; background: none; border: 0; border-top: 1px solid var(--line-strong); }
.wt-page .athlete-facts dt { color: var(--chalk); font: 800 clamp(2rem, 9vw, 3.6rem)/.9 var(--display); font-variant-numeric: tabular-nums; }
.wt-page .athlete-facts dd { margin: 8px 0 0; color: var(--steel); font-size: .8rem; font-weight: 500; letter-spacing: 0; line-height: 1.35; text-transform: none; }

/* ---------- Final call ---------- */

.wt-final { position: relative; overflow: hidden; padding-block: 0 clamp(80px, 14vw, 160px); background: var(--red-lit); color: #fff; }
.wt-final-marquee { padding-block: 26px; border-bottom: 1px solid rgba(0, 0, 0, .15); }
.wt-final-marquee .pf-marquee-track span { -webkit-text-stroke: 1px rgba(255, 255, 255, .55); }
.wt-final-marquee .pf-marquee-track span::after { background: #fff; }
.wt-final-inner { display: grid; justify-items: start; gap: 32px; padding-top: clamp(48px, 9vw, 96px); }
.wt-page .wt-final-title { max-width: 9ch; color: #fff; font-size: clamp(3.6rem, 16vw, 10rem); line-height: .8; letter-spacing: -.03em; }

/* ---------- Catalog ---------- */

.wt-catalog-intro { position: relative; overflow: hidden; padding-block: clamp(40px, 8vw, 100px) 24px; background: transparent; color: var(--chalk); }
.wt-catalog-intro-grid { gap: 28px; }
.wt-page .wt-kinetic { font-size: clamp(3.4rem, 15vw, 7rem); line-height: .82; letter-spacing: -.025em; overflow-wrap: normal; animation: wt-unblur 1100ms var(--ease-out) both; }
.wt-catalog-intro p:last-child { color: var(--steel); animation: wt-rise 900ms var(--ease-out) 300ms both; }
.wt-catalog-intro-media { border: 0; border-radius: var(--radius); animation: wt-reveal-media 1300ms var(--ease-in-out) 150ms both; }
.wt-shelf-grid { padding-top: 24px; }

/* ============ Instructional funnel ============ */

.wt-page-product main { padding-bottom: 88px; }
.pf-hero {
  position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end;
  margin-top: calc(-1 * var(--header-height)); overflow: hidden; isolation: isolate;
}
.pf-hero-media { position: absolute; z-index: -3; inset: 0; background: var(--arena-raised); }
.pf-hero-media picture { display: block; width: 100%; height: 100%; }
.pf-hero-img { width: 100%; height: 100%; object-fit: cover; animation: wt-push-in 2400ms var(--ease-out) both; }
.pf-hero-shade {
  position: absolute; z-index: -2; inset: 0;
  background:
    linear-gradient(180deg, rgba(11, 12, 14, .6) 0%, rgba(11, 12, 14, 0) 22%),
    linear-gradient(0deg, var(--arena) 2%, rgba(11, 12, 14, .88) 34%, rgba(11, 12, 14, .2) 64%, rgba(11, 12, 14, 0) 100%);
}
.pf-slash {
  position: absolute; z-index: -1; top: -10%; right: 14%; width: 3px; height: 130%; background: var(--red-lit);
  transform: rotate(18deg) scaleY(0); transform-origin: top; box-shadow: 0 0 30px rgba(255, 59, 48, .8);
  animation: wt-slash 1200ms var(--ease-in-out) 300ms both;
}
.pf-hero-copy { padding-top: calc(var(--header-height) + 24px); padding-bottom: 72px; }
.pf-kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 0 0 18px; color: rgba(242, 243, 244, .78); font-size: .85rem; font-weight: 600; animation: wt-rise 800ms var(--ease-out) 150ms both; }
.pf-pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border: 1px solid var(--line-strong); border-radius: 999px; background: rgba(11, 12, 14, .4); color: var(--chalk); font-weight: 700; }
.pf-pill-live::before { width: 7px; height: 7px; content: ""; border-radius: 50%; background: var(--red-lit); animation: wt-pulse 2s ease-out infinite; }
.pf-pill-owned { background: var(--chalk); border-color: var(--chalk); color: var(--arena); }
.wt-page .pf-title { max-width: 12ch; font-size: clamp(3.2rem, min(14vw, 11svh), 8.6rem); line-height: .84; letter-spacing: -.025em; }
.pf-word { display: inline-block; overflow: hidden; padding-bottom: .04em; margin-bottom: -.04em; vertical-align: top; }
.pf-word > span { display: inline-block; animation: wt-word 1000ms var(--ease-out) both; animation-delay: calc(200ms + var(--i, 0) * 70ms); }
.pf-lede { max-width: 38ch; margin: 20px 0 26px; color: rgba(242, 243, 244, .82); font-size: 1.08rem; line-height: 1.5; animation: wt-rise 900ms var(--ease-out) 650ms both; }
.pf-offer.purchase-panel { position: static; padding: 0; background: none; border: 0; animation: wt-rise 900ms var(--ease-out) 800ms both; }
.pf-offer-form { margin: 0; }
.pf-cta { width: 100%; justify-content: space-between; min-height: 62px; padding: 0 8px 0 26px; font-size: 1.05rem; }
.pf-cta-price { display: inline-grid; min-width: 64px; height: 46px; place-items: center; padding-inline: 14px; border-radius: 999px; background: rgba(0, 0, 0, .22); font: 800 1.45rem/1 var(--display); }
.pf-text-cta { display: inline-flex; min-height: 48px; align-items: center; gap: 12px; margin-top: 8px; color: var(--chalk); font-weight: 700; text-decoration: none; }
.pf-play { display: inline-grid; width: 36px; height: 36px; place-items: center; border: 1px solid var(--line-strong); border-radius: 50%; }
.pf-play::before { width: 0; height: 0; margin-left: 3px; content: ""; border-top: 6px solid transparent; border-bottom: 6px solid transparent; border-left: 9px solid currentColor; }
.pf-offer .purchase-help { margin: 14px 0 0; }
.pf-progress { margin-bottom: 18px; }
.pf-progress-track { display: block; height: 6px; overflow: hidden; border-radius: 3px; background: var(--line); }
.pf-progress-fill { display: block; width: calc(var(--progress, 0) * 1%); height: 100%; background: var(--red-lit); transition: width 1400ms var(--ease-out); }
.pf-progress p { margin: 10px 0 0; color: var(--steel); font-size: .875rem; }
.pf-scroll { position: absolute; bottom: 18px; left: 50%; width: 1px; height: 44px; overflow: hidden; background: var(--line); transform: translateX(-50%); }
.pf-scroll span { position: absolute; inset: 0; background: var(--chalk); animation: wt-scroll-line 2s var(--ease-in-out) infinite; }

/* Velocity marquee: the track scrolls with `translate`, so JS can skew it with
   `transform` from scroll speed without fighting the animation. */
.pf-marquee, .wt-final-marquee { overflow: hidden; padding-block: 22px; border-block: 1px solid var(--line); }
.pf-marquee-track { display: flex; width: max-content; animation: wt-marquee 40s linear infinite; will-change: translate, transform; }
.pf-marquee-track span {
  display: inline-flex; align-items: center; gap: 28px; padding-right: 28px; white-space: nowrap;
  color: transparent; font: 800 clamp(2.4rem, 9vw, 5rem)/1 var(--display); letter-spacing: -.01em; text-transform: uppercase;
  -webkit-text-stroke: 1px rgba(242, 243, 244, .4);
}
.pf-marquee-track span::after { width: 12px; height: 12px; flex: none; content: ""; border-radius: 50%; background: var(--red-lit); }

/* Sequence */
.pf-sequence { padding-block: clamp(72px, 14vw, 160px); }
.pf-steps { display: grid; gap: clamp(48px, 9vw, 96px); margin: 0; padding: 0; list-style: none; }
.pf-step { display: grid; gap: 10px; }
.pf-step-number { color: var(--red-lit); font: 800 1rem/1 var(--display); letter-spacing: .04em; }
.pf-step-text { max-width: 18ch; margin: 0; color: var(--chalk); font: 800 clamp(2.3rem, 9.5vw, 5.6rem)/.92 var(--display); letter-spacing: -.015em; text-transform: uppercase; }
.pf-description { max-width: 56ch; margin: clamp(56px, 10vw, 100px) 0 0; padding-top: 28px; border-top: 1px solid var(--line); color: var(--steel); font-size: 1.1rem; line-height: 1.65; }

/* Still / trailer */
.pf-trailer { padding-bottom: clamp(56px, 10vw, 120px); }
.pf-still { padding-bottom: clamp(56px, 10vw, 120px); }
.pf-still-frame { aspect-ratio: 4 / 5; max-height: 90svh; width: 100%; margin: 0; overflow: hidden; }
.pf-still-frame picture { display: block; width: 100%; height: 100%; }
.pf-still-frame img { width: 100%; height: 100%; object-fit: cover; }
.pf-screen { position: relative; overflow: hidden; aspect-ratio: 16 / 9; border-radius: var(--radius); background: #000; box-shadow: 0 0 0 1px var(--line), 0 60px 140px -50px rgba(255, 59, 48, .45); }
.pf-trailer-grid { display: grid; gap: 28px; align-items: center; }
.pf-screen .trailer-frame { position: absolute; inset: 0; width: auto; aspect-ratio: auto; }
.pf-screen iframe { width: 100%; height: 100%; border: 0; }
.pf-trailer.is-portrait .pf-screen { width: min(100%, 380px); aspect-ratio: 9 / 16; justify-self: center; border-radius: 32px; }

/* Chapters rail */
.pf-chapters { padding-block: clamp(56px, 10vw, 120px); timeline-scope: --rail; }
.pf-chapters-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 32px; margin-bottom: 28px; }
.pf-chapters-head p { margin: 0; }
.pf-rail {
  display: flex; gap: 14px; margin: 0; padding: 4px max(var(--gutter), calc((100vw - 1280px) / 2)) 24px; overflow-x: auto; list-style: none;
  scroll-padding-inline: max(var(--gutter), calc((100vw - 1280px) / 2)); scroll-snap-type: x mandatory; scrollbar-width: none;
  overscroll-behavior-x: contain; scroll-timeline: --rail x;
}
.pf-rail::-webkit-scrollbar { display: none; }
.pf-rail.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.pf-chapter {
  position: relative; flex: 0 0 min(80vw, 340px); min-height: 360px; display: flex; flex-direction: column; justify-content: space-between;
  overflow: hidden; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius);
  background: radial-gradient(120% 80% at 100% 0%, rgba(255, 59, 48, .14), transparent 55%), var(--arena-raised);
  scroll-snap-align: start;
}
.pf-chapter-number { color: transparent; font: 800 7.5rem/.8 var(--display); letter-spacing: -.04em; -webkit-text-stroke: 1px rgba(242, 243, 244, .35); }
.pf-chapter.is-complete .pf-chapter-number { -webkit-text-stroke-color: var(--red-lit); }
.wt-page .pf-chapter-body h3 { font-size: 1.9rem; line-height: .95; }
.pf-chapter-body h3 a { color: var(--chalk); text-decoration: none; }
.pf-chapter-body h3 a::after { position: absolute; inset: 0; content: ""; }
.pf-chapter-body p { margin: 12px 0 18px; color: var(--steel); font-size: .92rem; line-height: 1.5; }
.pf-chapter-meta { display: inline-flex; align-items: center; gap: 8px; color: var(--chalk); font-size: .8rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.pf-chapter-meta::before { width: 18px; height: 2px; content: ""; background: var(--red-lit); }
.pf-rail-progress { width: min(calc(100% - 2 * var(--gutter)), 1280px); height: 2px; margin: 4px auto 0; overflow: hidden; background: var(--line); }
.pf-rail-progress span { display: block; height: 100%; background: var(--red-lit); transform: scaleX(.08); transform-origin: left; }

/* Coach */
.pf-coach { position: relative; padding-block: clamp(56px, 10vw, 120px); overflow: hidden; }
.pf-coach-grid { display: grid; gap: 36px; align-items: center; }
.pf-coach-media { position: relative; margin: 0; }
.pf-coach-media picture { position: relative; z-index: 1; display: block; overflow: hidden; border-radius: var(--radius); }
.pf-coach-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 15%; }
.pf-coach-media figcaption {
  position: absolute; z-index: 2; bottom: -.12em; left: -.04em; color: transparent; pointer-events: none;
  font: 800 clamp(5rem, 26vw, 12rem)/.8 var(--display); letter-spacing: -.03em; text-transform: uppercase;
  -webkit-text-stroke: 1px rgba(242, 243, 244, .55);
}
.pf-coach-copy > p { max-width: 52ch; margin: 22px 0 28px; color: var(--steel); font-size: 1.05rem; line-height: 1.65; }
.pf-tape { display: grid; margin: 0 0 22px; }
.pf-tape div { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); }
.pf-tape div:last-child { border-bottom: 1px solid var(--line); }
.pf-tape dt { color: var(--steel); font-size: .9rem; }
.pf-tape dd { margin: 0; color: var(--chalk); font: 800 2.4rem/1 var(--display); font-variant-numeric: tabular-nums; text-transform: uppercase; }

/* Fit */
.pf-fit { padding-block: clamp(56px, 10vw, 120px); }
.pf-fit-copy { max-width: 24ch; margin: 0; color: var(--chalk); font: italic 400 clamp(2rem, 7.5vw, 3.8rem)/1.12 var(--reader); letter-spacing: -.01em; }

/* Ticket: the stub's edge circles read as punched notches against the page. */
.pf-ticket-section { padding-block: clamp(40px, 8vw, 100px); }
.pf-ticket {
  --notch: 18px;
  position: relative; display: grid; overflow: hidden; border-radius: var(--radius);
  background: radial-gradient(120% 90% at 0% 0%, rgba(255, 59, 48, .22), transparent 55%), var(--arena-high);
  box-shadow: inset 0 0 0 1px var(--line-strong);
}
.pf-ticket::after {
  position: absolute; inset: 0; pointer-events: none; content: "";
  background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, .1) 50%, transparent 65%);
  transform: translateX(-100%);
}
.pf-ticket-art { grid-column: 1 / -1; aspect-ratio: 16 / 9; overflow: hidden; }
.pf-ticket-art img, .pf-ticket-art .course-art { width: 100%; height: 100%; object-fit: cover; }
.pf-ticket-main { padding: 30px 26px 28px; }
.pf-ticket-label { margin: 0 0 14px; color: var(--red-lit); font-size: .85rem; font-weight: 700; }
.wt-page .pf-ticket h2 { font-size: clamp(2.4rem, 10vw, 4.4rem); line-height: .86; }
.pf-included { display: grid; margin: 24px 0 0; padding: 0; list-style: none; }
.pf-included li { position: relative; padding: 12px 0 12px 30px; border-top: 1px solid var(--line); color: rgba(242, 243, 244, .88); font-size: .95rem; }
.pf-included li::before { position: absolute; top: 17px; left: 3px; width: 12px; height: 7px; content: ""; border-bottom: 2px solid var(--red-lit); border-left: 2px solid var(--red-lit); transform: rotate(-45deg); }
.pf-ticket-stub { position: relative; display: grid; gap: 4px; padding: 30px 26px; border-top: 2px dashed var(--line-strong); text-align: center; }
.pf-ticket-stub::before, .pf-ticket-stub::after {
  position: absolute; top: calc(var(--notch) * -1 - 1px); width: calc(var(--notch) * 2); height: calc(var(--notch) * 2);
  content: ""; border-radius: 50%; background: var(--arena); box-shadow: inset 0 0 0 1px var(--line-strong);
}
.pf-ticket-stub::before { left: calc(var(--notch) * -1); }
.pf-ticket-stub::after { right: calc(var(--notch) * -1); }
.pf-ticket-price { display: flex; justify-content: center; margin: 0; color: var(--chalk); font: 800 clamp(6rem, 26vw, 9rem)/.8 var(--display); letter-spacing: -.03em; }
.pf-ticket-price span { margin-top: .1em; font-size: .38em; }
.pf-ticket-stub .pf-muted { margin: 6px 0 0; }
.pf-ticket-stub form { margin: 18px 0 6px; }
.pf-cta-block { justify-content: center; padding: 0 24px; }
.pf-fine { justify-self: center; display: inline-flex; min-height: 44px; align-items: center; color: var(--steel); font-size: .85rem; }
.pf-fine:hover { color: var(--chalk); }

/* FAQ: details animate open where ::details-content is supported. */
.pf-faq { padding-block: clamp(56px, 10vw, 120px); }
.pf-faq-grid { display: grid; gap: 28px; }
.wt-page .faq details { border-bottom: 1px solid var(--line); interpolate-size: allow-keywords; }
.wt-page .faq details:first-child { border-top: 1px solid var(--line); }
.wt-page .faq summary { min-height: 72px; color: var(--chalk); font-size: 1.08rem; font-weight: 600; }
.wt-page .faq summary::after { display: inline-grid; width: 32px; height: 32px; flex: none; place-items: center; content: "+"; border: 1px solid var(--line-strong); border-radius: 50%; color: var(--chalk); font-size: 1.2rem; transition: transform 500ms var(--ease-out), background-color 300ms ease; }
.wt-page .faq details[open] summary::after { content: "+"; background: var(--red-lit); border-color: var(--red-lit); transform: rotate(135deg); }
/* Spacing lives in padding, not margin: a bottom margin sits outside the box the open
   animation measures, so the answer would animate short and then jump by a line. */
.wt-page .faq details p { max-width: 62ch; margin: 0; padding: 0 0 22px; color: var(--steel); }
.wt-page .faq details::details-content { height: 0; overflow: clip; transition: height 500ms var(--ease-out), content-visibility 500ms allow-discrete; }
.wt-page .faq details[open]::details-content { height: auto; }

/* Dock: a floating pill on phones. */
.wt-page .purchase-dock {
  right: 10px; bottom: max(10px, env(safe-area-inset-bottom)); left: 10px; padding: 8px 8px 8px 20px;
  border: 1px solid var(--line-strong); border-radius: 999px; background: rgba(21, 23, 27, .82); color: var(--chalk);
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, .8); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  animation: wt-dock-in 600ms var(--ease-out) both; transition: transform 500ms var(--ease-out), opacity 300ms ease;
}
.wt-page .purchase-dock > div { flex: 1 1 auto; }
.wt-page .purchase-dock span { color: var(--steel); }
.wt-page .purchase-dock form { flex: none; margin: 0; }
.wt-page .purchase-dock .button { min-height: 48px; padding-inline: 22px; background: var(--red-lit); border: 0; box-shadow: none; }
.wt-page .purchase-dock.is-suppressed { opacity: 0; pointer-events: none; transform: translateY(140%); }

.wt-page .site-footer { background: #060708; border-top: 1px solid var(--line); }

/* ---------- Breakpoints ---------- */

@media (min-width: 768px) {
  :root { --header-height: 76px; }
  .wt-drop-frame { margin-inline: 20px; }
  .wt-poster-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 24px; }
  .wt-story-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); }
  .wt-watch-grid { grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); gap: clamp(40px, 6vw, 96px); }
  .pf-hero-copy { padding-bottom: 96px; }
  .pf-offer { max-width: 460px; }
  .pf-ticket-main { padding: 48px; }
  .pf-ticket { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
  .pf-ticket-art { display: none; }
  .pf-ticket-stub { align-content: center; padding: 48px 32px; border-top: 0; border-left: 2px dashed var(--line-strong); }
  .pf-ticket-stub::before { top: calc(var(--notch) * -1); left: calc(var(--notch) * -1 - 1px); right: auto; }
  .pf-ticket-stub::after { top: auto; bottom: calc(var(--notch) * -1); left: calc(var(--notch) * -1 - 1px); right: auto; }
  .pf-trailer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); }
  .pf-trailer.is-portrait .pf-trailer-grid { grid-template-columns: minmax(0, 1fr) 380px; }
  .pf-chapter { flex-basis: 360px; min-height: 400px; padding: 28px; }
  .pf-still-frame { aspect-ratio: 16 / 9; }
  /* Two-column catalog intro: "Instructionals" must fit its half of the row. */
  .wt-page .wt-catalog-intro .wt-kinetic { font-size: clamp(3rem, 6.6vw, 6rem); }
}

@media (min-width: 1024px) {
  .wt-rail > .wt-poster-card { flex-basis: 280px; }
  .pf-coach-grid { grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); gap: clamp(48px, 7vw, 120px); }
  .pf-faq-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
  .pf-steps { gap: 120px; }
  .pf-step { grid-template-columns: 120px minmax(0, 1fr); align-items: start; }
  .pf-step-number { padding-top: .6em; }
  .wt-proof-copy { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: end; }
  .wt-proof-list { margin: 0; }
  .wt-hero-content { padding-bottom: clamp(160px, 18vw, 260px); }
}

@media (max-width: 767px) {
  .pf-ticket-art + .pf-ticket-main h2 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .pf-slash { right: -4%; opacity: .6; }
  .wt-hero-actions .button, .wt-drop-actions .button { width: 100%; }
}

@media (max-width: 389px) {
  .pf-cta { padding-left: 20px; font-size: .95rem; }
}

/* ---------- Scroll-driven choreography ---------- */

/* Scroll-scrubbed effects only run for a mouse or trackpad. Phone browsers drive them from
   the main thread, so they trail the finger and read as jitter; touch screens get the
   one-shot reveals below instead. */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) and (hover: hover) and (pointer: fine) {
    .wt-hero-media, .pf-hero-media { animation: wt-hero-drift linear both; animation-timeline: scroll(root); animation-range: 0 100vh; }
    .wt-giant { animation: wt-giant-lift linear both; animation-timeline: scroll(root); animation-range: 0 90vh; }
    .pf-hero-copy, .wt-hero-content { animation: wt-copy-away linear both; animation-timeline: scroll(root); animation-range: 35vh 95vh; }

    .wt-drop-frame { animation: wt-expand linear both; animation-timeline: view(); animation-range: entry 0% cover 40%; }
    .wt-drop-img { animation: wt-settle linear both; animation-timeline: view(); animation-range: entry 0% exit 100%; }
    .wt-drop-copy > * { animation: wt-rise linear both; animation-timeline: view(); animation-range: entry 0% entry 100%; }

    .wt-rail > .wt-poster-card { animation: wt-coverflow linear both; animation-timeline: view(inline); }
    .wt-poster-grid > .wt-poster-card { animation: wt-card-in linear both; animation-timeline: view(); animation-range: entry 0% entry 80%; }
    .wt-poster-grid > .wt-poster-card:nth-child(even) { animation-range: entry 10% entry 90%; }

    .wt-proof-media img { animation: wt-parallax linear both; animation-timeline: view(); animation-range: cover; }
    .wt-story-media img, .wt-watch-media img, .pf-coach-media img { animation: wt-parallax-sm linear both; animation-timeline: view(); animation-range: cover; }
    .wt-story-media, .wt-watch-media, .pf-coach-media picture, .pf-screen { animation: wt-reveal linear both; animation-timeline: view(); animation-range: entry 0% cover 35%; }
    .pf-still-frame { animation: wt-still linear both; animation-timeline: view(); animation-range: entry 0% cover 50%; }
    .pf-still-frame img { animation: wt-settle linear both; animation-timeline: view(); animation-range: cover; }
    .pf-coach-media figcaption { animation: wt-slide-x linear both; animation-timeline: view(); animation-range: cover; }

    [data-words] .w { animation: wt-word-lit linear both; animation-timeline: view(); animation-range: cover 15% cover 35%; }
    .pf-step-number { animation: wt-rise linear both; animation-timeline: view(); animation-range: entry 40% cover 30%; }
    .wt-page :is(.wt-h2, .pf-h2), .wt-shelf-head p, .pf-chapters-head p, .pf-coach-copy > p, .wt-story-copy > p, .wt-watch-copy > p, .wt-proof-list li, .pf-tape div, .pf-description {
      animation: wt-rise linear both; animation-timeline: view(); animation-range: entry 0% entry 60%;
    }
    .pf-chapter { animation: wt-chapter linear both; animation-timeline: view(inline); }
    .pf-rail-progress span { animation: wt-rail-progress linear both; animation-timeline: --rail; }
    .pf-ticket { animation: wt-ticket-in linear both; animation-timeline: view(); animation-range: entry 0% cover 35%; }
    .pf-ticket::after { animation: wt-sheen linear both; animation-timeline: view(); animation-range: cover 25% cover 60%; }
    .wt-page .wt-final-title { animation: wt-slam linear both; animation-timeline: view(); animation-range: entry 10% cover 40%; }
  }
}

/* ---------- Touch-screen reveals ---------- */

/* JS adds .wt-reveal-ready on touch screens and marks sections with [data-reveal]; each plays
   once as it enters, as a timed transform/opacity transition the GPU runs smoothly. Without
   JS nothing is hidden. */
.wt-reveal-ready [data-reveal] {
  opacity: 0; transform: translate3d(0, 28px, 0);
  transition: opacity 700ms var(--ease-out), transform 900ms var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}
.wt-reveal-ready [data-reveal].is-in { opacity: 1; transform: none; }

/* Touch screens: no frosted blur on the header, which repaints while the finger is moving. */
@media (hover: none), (pointer: coarse) {
  .site-header, .site-header.is-scrolled { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .site-header.is-scrolled { background: rgba(11, 12, 14, .94); }

  /* Flat poster shelves: the tilt and glare only run with a mouse, but their 3D context,
     blend layer and blurred shadows still cost every scrolled frame on a phone. */
  .wt-rail, .wt-poster-grid { perspective: none; }
  .wt-poster-card { transform-style: flat; }
  .wt-poster-media { transform: none; transition: none; box-shadow: 0 0 0 1px var(--line); }
  .wt-poster-card:hover .wt-poster-media img { transform: none; }
  .wt-poster-glare { display: none; }
  .wt-page .purchase-dock { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(21, 23, 27, .97); }
  .wt-cta, .pf-cta { box-shadow: none; }
  .pf-keyart-frame, .pf-screen { box-shadow: 0 0 0 1px var(--line); }
}

/* ---------- Keyframes ---------- */

@keyframes wt-rise { from { opacity: 0; transform: translateY(32px); } to { opacity: 1; transform: none; } }
@keyframes wt-word { from { transform: translateY(105%) rotate(4deg); } to { transform: none; } }
@keyframes wt-unblur { from { opacity: 0; transform: translateY(40px) scale(1.04); } to { opacity: 1; transform: none; } }
@keyframes wt-push-in { from { transform: scale(1.18); opacity: 0; } to { transform: scale(1.02); opacity: 1; } }
@keyframes wt-hero-drift { to { transform: translateY(22vh) scale(1.08); opacity: .25; } }
@keyframes wt-copy-away { to { opacity: 0; transform: translateY(-8vh); } }
@keyframes wt-giant-in { from { transform: translateY(100%); } to { transform: translateY(18%); } }
@keyframes wt-giant-lift { to { opacity: 0; transform: translateY(-14vh); } }
@keyframes wt-curtain { to { transform: translateY(-100%); visibility: hidden; } }
@keyframes wt-intro-word { from { clip-path: inset(0 100% 0 0); transform: scale(1.1); } to { clip-path: inset(0 0 0 0); transform: none; } }
@keyframes wt-pulse { 0%, 100% { opacity: 1; transform: none; } 50% { opacity: .3; transform: scale(.7); } }
@keyframes wt-slash { to { transform: rotate(18deg) scaleY(1); } }
@keyframes wt-scroll-line { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }
@keyframes wt-marquee { to { translate: -50% 0; } }
@keyframes wt-expand { from { transform: scale(.9); opacity: .55; } to { transform: none; opacity: 1; } }
@keyframes wt-settle { from { transform: scale(1.25) translateY(-4%); } to { transform: scale(1) translateY(4%); } }
@keyframes wt-coverflow {
  0% { transform: rotateY(28deg) scale(.88); opacity: .5; }
  40%, 60% { transform: none; opacity: 1; }
  100% { transform: rotateY(-28deg) scale(.88); opacity: .5; }
}
@keyframes wt-chapter { 0% { opacity: .55; transform: scale(.95); } 25%, 75% { opacity: 1; transform: none; } 100% { opacity: .55; transform: scale(.95); } }
@keyframes wt-card-in { from { opacity: 0; transform: translateY(80px) rotateX(18deg); } to { opacity: 1; transform: none; } }
@keyframes wt-parallax { from { transform: translateY(-12%); } to { transform: translateY(0); } }
@keyframes wt-parallax-sm { from { transform: scale(1.18) translateY(-5%); } to { transform: scale(1.18) translateY(5%); } }
@keyframes wt-reveal { from { transform: scale(.86); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes wt-reveal-media { from { clip-path: inset(100% 0 0 0 round var(--radius)); } to { clip-path: inset(0 round var(--radius)); } }
@keyframes wt-slide-x { from { transform: translateX(-12%); } to { transform: translateX(8%); } }
@keyframes wt-word-lit { from { opacity: .14; } to { opacity: 1; } }
@keyframes wt-rail-progress { from { transform: scaleX(.08); } to { transform: scaleX(1); } }
@keyframes wt-ticket-in { from { opacity: 0; transform: perspective(1200px) rotateX(24deg) translateY(80px) scale(.94); } to { opacity: 1; transform: none; } }
@keyframes wt-still { from { transform: scale(.82); opacity: .4; } to { transform: none; opacity: 1; } }
@keyframes wt-sheen { to { transform: translateX(100%); } }
@keyframes wt-slam { from { opacity: 0; transform: scale(1.3); } to { opacity: 1; transform: none; } }
@keyframes wt-dock-in { from { opacity: 0; transform: translateY(140%); } to { opacity: 1; transform: none; } }
@keyframes wt-panel-in { from { transform: translateX(100%); } to { transform: none; } }

/* Cross-document morph between a poster and the instructional hero photo. */
@supports (view-transition-name: attr(data-vt type(<custom-ident>))) {
  [data-vt] { view-transition-name: attr(data-vt type(<custom-ident>)); }
}
::view-transition-group(*) { animation-duration: 650ms; animation-timing-function: var(--ease-out); }
::view-transition-old(root) { animation: 300ms ease both wt-vt-out; }
::view-transition-new(root) { animation: 500ms var(--ease-out) 100ms both wt-vt-in; }
@keyframes wt-vt-out { to { opacity: 0; transform: scale(.98); } }
@keyframes wt-vt-in { from { opacity: 0; transform: translateY(24px); } }

@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  *, *::before, *::after { animation: none !important; transition-duration: 1ms !important; }
  .wt-intro { display: none; }
}

/* ---------- Editorial pages (articles, archive) ---------- */

body.wt-page .content-body { color: rgba(242, 243, 244, .86); }
body.wt-page .content-body :is(h2, h3, h4, strong) { color: var(--chalk); }
body.wt-page .content-body a { color: var(--red-lit); }
body.wt-page :is(.content-featured-image img, .content-body img) { background: var(--arena-raised); border-radius: 12px; border-bottom: 0; box-shadow: none; }
body.wt-page :is(.content-masthead, .archive-masthead)::before { display: none; }
body.wt-page .content-masthead { background: radial-gradient(90% 70% at 100% 0%, rgba(255, 59, 48, .16), transparent 60%), var(--arena); }
body.wt-page .archive-page { background-image: none; }
body.wt-page .archive-card { overflow: hidden; border-color: var(--line); border-radius: var(--radius); box-shadow: none; transition: transform 500ms var(--ease-out), border-color 300ms ease; }
body.wt-page .archive-card:hover { border-color: var(--line-strong); box-shadow: none; transform: translateY(-4px); }
body.wt-page .archive-card-media { background: var(--arena-high); }
body.wt-page .archive-card-media img { transition: transform 900ms var(--ease-out); }
body.wt-page .archive-card:hover .archive-card-media img { transform: scale(1.04); }

/* ---------- Utility pages (auth, account, library, support, legal, player) ---------- */

body.wt-page:not(.wt-page-home):not(.wt-page-product) main {
  background: radial-gradient(70% 420px at 100% 0%, rgba(255, 59, 48, .13), transparent 70%) no-repeat;
}
body.wt-page :is(.page-intro, .support-intro, .legal-page, .compact-page, .auth-form-wrap, .auth-card) h1 {
  font-size: clamp(3rem, 13vw, 6rem); line-height: .86; letter-spacing: -.02em;
  animation: wt-unblur 900ms var(--ease-out) both;
}
body.wt-page :is(.page-intro, .support-intro, .legal-page, .compact-page, .auth-form-wrap, .auth-card) h1 ~ * { animation: wt-rise 800ms var(--ease-out) 150ms both; }
body.wt-page .auth-shell { background: transparent; }

body.wt-page .form-control {
  min-height: 54px; padding-inline: 16px; background: var(--arena-raised); border: 1px solid var(--line-strong); border-radius: 14px;
  color: var(--chalk); transition: border-color 200ms ease, box-shadow 200ms ease, background-color 200ms ease;
}
body.wt-page textarea.form-control { padding-block: 14px; }
body.wt-page .form-control::placeholder { color: var(--steel); }
body.wt-page .form-control:hover { border-color: rgba(242, 243, 244, .35); }
body.wt-page .form-control:focus { outline: none; background: var(--arena-high); border-color: var(--red-lit); box-shadow: 0 0 0 4px rgba(255, 59, 48, .2); }
body.wt-page .form-control:-webkit-autofill { -webkit-text-fill-color: var(--chalk); box-shadow: 0 0 0 100px var(--arena-high) inset; }
body.wt-page .field label, body.wt-page form > label { color: var(--chalk); font-size: .9rem; font-weight: 600; }
body.wt-page .password-control button { color: var(--steel); }

body.wt-page :is(.support-routes article, .support-form-card, .support-faq, .auth-card, .account-panel, .orders-table, .recent-card, .library-card, .lesson-sidebar, .skeleton-card) {
  overflow: hidden; background: var(--arena-raised); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: none;
}
body.wt-page :is(.support-routes article, .library-card, .recent-card) { transition: transform 500ms var(--ease-out), border-color 300ms ease; }
body.wt-page :is(.support-routes article, .library-card, .recent-card):hover { border-color: var(--line-strong); transform: translateY(-4px); }
body.wt-page .support-routes article > span { width: 10px; height: 10px; border-radius: 50%; background: var(--red-lit); }
body.wt-page .support-routes article { animation: wt-rise 800ms var(--ease-out) both; }
body.wt-page .support-routes article:nth-child(2) { animation-delay: 80ms; }
body.wt-page .support-routes article:nth-child(3) { animation-delay: 160ms; }
body.wt-page .orders-row { border-top-color: var(--line); }
body.wt-page .legal-page { max-width: 760px; }
body.wt-page .legal-summary { color: rgba(242, 243, 244, .86); }

/* Player: the lesson title shares a row with "Mark complete", so it stays moderate and the
   button never shrinks into a wrapped stack. */
body.wt-page .player-page h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
body.wt-page .lesson-heading-row #mark-complete { flex: none; white-space: nowrap; }
body.wt-page .video-shell { border-radius: var(--radius); box-shadow: 0 0 0 1px var(--line), 0 50px 120px -50px rgba(255, 59, 48, .4); }
/* The card styling above clips overflow; the lesson list must still scroll inside its
   sticky, height-capped panel on desktop. */
body.wt-page .player-layout .lesson-sidebar { overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--line-strong) transparent; }
body.wt-page .lesson-row { border-bottom-color: var(--line); }
body.wt-page .lesson-row.is-current { background: var(--arena-high); border-left-color: var(--red-lit); }
body.wt-page .lesson-row a { color: var(--chalk); }
body.wt-page .lesson-status { color: var(--steel); }
body.wt-page .is-complete .lesson-status { background: var(--red-lit); color: #fff; }
body.wt-page :is(.library-media, .recent-media) img { transition: transform 900ms var(--ease-out); }
body.wt-page :is(.library-card, .recent-card):hover :is(.library-media, .recent-media) img { transform: scale(1.04); }
body.wt-page .progress-track { background: var(--line); border-radius: 999px; }
body.wt-page .progress-track::-webkit-progress-bar { background: var(--line); border-radius: 999px; }
body.wt-page .progress-track::-webkit-progress-value { background: var(--red-lit); border-radius: 999px; }
body.wt-page .progress-track::-moz-progress-bar { background: var(--red-lit); border-radius: 999px; }

/* ---------- Typography: Anton display, Mona Sans text ---------- */

/* Anton ships one weight; never let the browser fake a bolder one for the 800/900
   weights the base styles ask for. */
body.wt-page { font-synthesis-weight: none; }
body.wt-page :is(.pf-kicker, .wt-hero-kicker, .pf-pill, .wt-drop-label, .pf-ticket-label, .wt-badge, .desktop-nav > a, .eyebrow, .pf-chapter-meta) {
  font-stretch: 110%;
}
body.wt-page :is(h1, h2) { letter-spacing: 0; word-spacing: .04em; }
/* Anton's capitals fill nearly the whole em, so anything under ~1.0 leading makes rows
   touch. One floor for every multi-line display style, after all the per-section sizes. */
body.wt-page :is(h1, h2, h3, .pf-step-text, .wt-statement, .wt-proof-list strong, .course-art-title) { line-height: 1.04; }
body.wt-page .pf-word { padding: .1em .02em .04em; margin: -.1em -.02em -.04em; }

/* Mobile menu: Anton is wide enough that "Instructionals" overflowed the panel. */
body.wt-page .mobile-menu-panel > a { min-height: 66px; font-size: clamp(1.9rem, 8.5vw, 2.6rem); line-height: 1.04; }
