@font-face {
  font-family: "General Sans";
  src: url("./assets/GeneralSans-Variable.woff2") format("woff2");
  font-weight: 200 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --page: #fdfdfc;
  --ink: #1b1b19;
  --line: #1b1b1921;
  --nav-height: 75px;
  background: var(--page);
  color: var(--ink);
  font: 16px/1.35 "General Sans", Arial, sans-serif;
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}
* { box-sizing: border-box; }
body, h1, h2, p { margin: 0; }
main { overflow: clip; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
a:focus-visible, button:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
section:focus { outline: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.site-header {
  position: fixed; z-index: 10; inset: 0 0 auto;
}
.site-header, .nav-mobile { font-family: "General Sans", Arial, sans-serif; font-weight: 400; }
.header-bar {
  position: relative; z-index: 1;
  height: var(--nav-height); padding-inline: clamp(24px, 4.17vw, 84px);
  display: flex; align-items: center; justify-content: space-between;
}
.brand { display: inline-flex; align-items: center; padding-block: 10px; }
.brand img { display: block; width: 84px; height: auto; filter: invert(1); }
.nav-desktop { display: flex; align-items: center; gap: clamp(22px, 2.2vw, 34px); }
.nav-link { display: inline-flex; align-items: flex-start; gap: 8px; font-weight: 400; }
.nav-link sup { margin-top: .18em; color: #686862; font: 400 11px/1.2 "General Sans", Arial, sans-serif; }
.rolling-text { overflow: hidden; display: inline-flex; line-height: 1.25; }
.glyph { display: block; height: 1.25em; }
.glyph > span { display: block; transition: transform 470ms cubic-bezier(.25,.8,.27,1) var(--delay); }
:is(.nav-link, .store-pill.order-jump, .discover-button):is(:hover,:focus-visible) .glyph > span { transform: translateY(-100%); }

.store-pill {
  display: inline-flex; align-items: center; justify-content: center; gap: .7rem;
  min-height: 44px; padding-inline: 22px;
  border: 1px solid var(--ink); border-radius: 999px;
  background: var(--ink); color: var(--page);
  font-weight: 550; letter-spacing: -.02em;
  transition: color .24s ease, background .24s ease;
}
.store-pill:is(:hover,:focus-visible) { background: var(--page); color: var(--ink); }
.store-pill:focus-visible { outline-color: var(--ink); }
.nav-toggle, .nav-mobile { display: none; }
@supports (mix-blend-mode: difference) {
  .site-header { color: #fff; mix-blend-mode: difference; }
  .site-header .brand img { filter: brightness(0) invert(1); }
  .site-header .nav-link sup { color: inherit; opacity: .72; }
  .nav-desktop .store-pill {
    background: transparent; border-color: currentColor; color: inherit; outline-color: currentColor;
  }
  .nav-desktop .store-pill:is(:hover,:focus-visible) { background: #fff; color: #000; border-color: #fff; outline-color: #fff; }
}
@supports not (mix-blend-mode: difference) {
  .site-header { background: var(--page); }
}

.title-screen {
  min-height: 100vh; min-height: 100svh;
  display: grid; align-items: center; justify-items: center;
  text-align: center; padding: 20px;
}
.title-screen :is(h1,h2) {
  font-size: clamp(3.35rem, 9.45vw, 10.5rem); line-height: .99; font-weight: 525;
  text-transform: uppercase; letter-spacing: -.073em;
}
.title-screen :is(h1,h2) span:not(.sr-only) { display: block; }
.outro .store-pill { margin-top: clamp(28px, 5vw, 58px); }
.photo-roll {
  --roll-surface: #202226;
  --roll-angle: -4deg;
  position: relative; overflow: clip; background: var(--roll-surface);
  padding-top: clamp(120px, 12svh, 180px);
  padding-bottom: clamp(88px, 9svh, 130px);
  clip-path: polygon(0 calc(100vw * tan(0deg - var(--roll-angle))), 100% 0, 100% calc(100% - 100vw * tan(0deg - var(--roll-angle))), 0 100%);
}
.roll-mask-track {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
}
.roll-mask {
  position: sticky; top: 0; height: 100vh; height: 100svh;
}
.roll-edge {
  position: absolute; top: 0; display: block; height: 100%;
  width: 18.9036vh; width: 18.9036svh;
  overflow: hidden; fill: var(--roll-surface);
}
.roll-edge-left { left: 0; }
.roll-edge-right { right: 0; }

.frame {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: grid; place-items: center; isolation: isolate; scroll-margin-top: calc(-1 * var(--nav-height));
}
.frame-art {
  position: absolute; inset: 8.5% -10%;
  transform: rotate(var(--roll-angle));
}
.frame-mask {
  position: absolute; inset: 0;
  background: #a7a6a1; overflow: hidden; contain: paint;
}
.frame-parallax {
  display: block; position: absolute; inset: -44% 0;
  transform: translateZ(0); will-change: transform;
}
.frame-image {
  width: 100%; height: 100%; display: block; object-fit: cover;
  object-position: var(--position);
}
.frame-mask::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at 50% 51%, #0007 0%, #0003 55%, #0000 83%);
}
.frame-content {
  position: relative; z-index: 1; color: #fff;
  text-align: center; width: 84%; padding-bottom: 1.5%;
}
.frame-content h2 {
  text-transform: uppercase; letter-spacing: -.066em;
  font-size: clamp(1.65rem, 6vw, 7.2rem); line-height: .99; font-weight: 520;
  text-shadow: 0 1px 25px #0008;
}
.frame-content p {
  margin-top: clamp(8px, 1vw, 14px); font-size: clamp(.88rem, 1.25vw, 1.2rem);
  font-weight: 550; text-shadow: 0 1px 12px #000b;
}
.frame-content :is(h2,p) {
  width: max-content; max-width: 100%; margin-inline: auto;
  filter: blur(var(--focus, 0px));
  opacity: var(--reveal, 1);
}
.frame-link {
  margin-top: clamp(25px, 3.5vw, 48px);
  min-height: 44px; border: 1px solid #fffe; border-radius: 999px;
  display: inline-flex; align-items: center; gap: 9px; padding: 5px 8px 5px 14px;
  background: #1b1b194a; color: #fff; font-weight: 550; letter-spacing: -.02em;
  transition: background .26s ease, color .26s ease;
}
.frame-link .arrow {
  display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%;
  background: #fff; color: #1b1b19;
  transition: transform .42s cubic-bezier(.2,.8,.25,1), background .26s ease, color .26s ease;
}
.frame-link:is(:hover,:focus-visible) { background: #fff; color: #1b1b19; }
.frame-link:is(:hover,:focus-visible) .arrow { transform: rotate(40deg); background: #1b1b19; color: #fff; }

@media (max-width: 900px) {
  :root { --nav-height: 72px; }
  :root.menu-open { overflow: hidden; }
  .header-bar { padding-inline: 16px; }
  .brand img { width: 74px; }
  .nav-desktop { display: none; }
  .nav-toggle {
    display: grid; place-content: center; width: 44px; height: 44px;
    position: relative; border: 0; background: none; cursor: pointer;
  }
  .nav-toggle span {
    position: absolute; width: 20px; height: 1.5px; background: currentColor; top: calc(50% - 1px); left: 12px;
    transform: translateY(-5px); transition: transform .38s cubic-bezier(.3,.8,.22,1);
  }
  .nav-toggle span + span { transform: translateY(5px); }
  [data-open="true"] .nav-toggle span { transform: rotate(45deg); }
  [data-open="true"] .nav-toggle span + span { transform: rotate(-45deg); }
  .nav-mobile {
    display: flex; flex-direction: column; position: fixed; inset: 0; z-index: 9;
    padding-top: calc(var(--nav-height) + clamp(18px, 5vh, 48px));
    background: var(--page); overflow-y: auto;
    clip-path: inset(0 0 100%); visibility: hidden; pointer-events: none;
    transition: clip-path .47s cubic-bezier(.26,.85,.24,1), visibility .47s;
  }
  .nav-mobile[data-open="true"] { clip-path: inset(0); visibility: visible; pointer-events: auto; }
  .nav-mobile a:not(.store-pill) {
    display: grid; place-items: center; padding: 16px 12px; min-height: 75px;
    border-bottom: 1px solid var(--line); font-size: clamp(1.25rem, 4.6vw, 1.75rem);
    text-transform: uppercase; font-weight: 500; letter-spacing: -.035em; overflow: hidden;
  }
  .nav-mobile a:not(.store-pill):focus-visible { outline-offset: -6px; }
  .nav-mobile .store-pill { margin: 40px 16px 22px; }
  .nav-mobile a > span, .nav-mobile .store-pill {
    transform: translateY(30px); opacity: 0;
    transition: transform .45s cubic-bezier(.26,.85,.24,1), opacity .27s ease;
  }
  .nav-mobile[data-open="true"] a > span, .nav-mobile[data-open="true"] .store-pill {
    transform: translateY(0); opacity: 1; transition-delay: calc(65ms + 32ms * var(--i));
  }
}
@media (max-width: 1199px) {
  .roll-edge { width: 13.2325vh; width: 13.2325svh; }
}
@media (max-width: 809px) {
  .title-screen :is(h1,h2) { font-size: clamp(2.35rem, 12.9vw, 5rem); }
  .frame { min-height: 50vh; min-height: 50svh; }
  .photo-roll {
    padding-top: 88px;
    --roll-edge-size: min(8.3vh, 18vw);
    --roll-edge-size: min(8.3svh, 18vw);
    --roll-edge-outset: clamp(8px, 3.2vw, 20px);
  }
  .roll-edge { width: var(--roll-edge-size); }
  .roll-edge-left { left: calc(-1 * var(--roll-edge-outset)); }
  .roll-edge-right { right: calc(-1 * var(--roll-edge-outset)); }
  .roll-mask::before, .roll-mask::after {
    content: ""; position: absolute; inset-block: 0; width: 4px; background: var(--roll-surface);
  }
  .roll-mask::before { left: 0; }
  .roll-mask::after { right: 0; }
  .frame-parallax { inset: -49% 0; }
  .frame-image {
    object-position: var(--position-mobile, var(--position));
    transform: perspective(1000px) rotateX(var(--roll-pitch, 0deg)) scale(1.07);
  }
  .frame-mask::after {
    background: linear-gradient(90deg, #0006, transparent 34% 66%, #0006),
                radial-gradient(ellipse at 50% 51%, #0007 0%, #0003 55%, #0000 83%);
  }
  .frame-content { width: min(82%, calc(100% - 2 * var(--roll-edge-size) - 2px)); }
  .frame-content h2 { font-size: clamp(1.2rem, 6vw, 2.85rem); }
  .frame-link { font-size: .88rem; }
}
@media (prefers-reduced-motion: no-preference) {
  .frame-content :is(h2,p) { will-change: filter, opacity; }
}
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  .photo-roll { --roll-angle: 0deg; }
  *, *::before, *::after { transition-duration: 0s !important; transition-delay: 0s !important; }
  .frame-content :is(h2,p) { filter: none; opacity: 1; }
  .roll-mask-track { display: none; }
  .frame-art { inset-inline: 4%; transform: none; }
  .frame-parallax { transform: none; }
  .frame-parallax { inset: 0; will-change: auto; }
  .frame-image { transform: none; }
}
/* Luno: squared outline, uppercase label and a 4px square that extends on hover. */
.store-pill, .frame-link, .discover-button {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 44px; padding: 10px 12px; border: 1px solid currentColor;
  border-radius: 0; background: #35363b; color: #fff; border-color: #35363b;
  font-size: 14px; line-height: 22px; font-weight: 400;
  letter-spacing: -.025em; text-transform: uppercase;
  transition: opacity .2s ease;
}
.store-pill::after, .frame-link::after {
  content: ''; display: block; flex: 0 0 auto; width: 4px; height: 4px;
  background: #d9ff5c;
  transition: width .55s cubic-bezier(.22, 1.3, .36, 1);
}
.store-pill:is(:hover,:focus-visible)::after,
.frame-link:is(:hover,:focus-visible)::after { width: 20px; }
.store-pill.order-jump { border-radius: 999px; padding-inline: 17px; }
.discover-arrow { color: var(--lime); flex-shrink: 0; transition: transform .45s cubic-bezier(.25,.8,.27,1); }
.discover-button:is(:hover,:focus-visible) .discover-arrow { transform: translateX(3px); }
.store-pill:is(:hover,:focus-visible), .frame-link:is(:hover,:focus-visible),
.nav-desktop .store-pill:is(:hover,:focus-visible) { background: #35363b; color: #fff; border-color: #35363b; }
.store-pill > svg, .frame-link .arrow { display: none; }
.frame-link { color: #fff; }
@media (prefers-reduced-motion: reduce) {
  .store-pill::after, .frame-link::after { transition: none; }
  :is(.nav-link, .store-pill.order-jump, .discover-button):is(:hover,:focus-visible) .glyph > span,
  .discover-button:is(:hover,:focus-visible) .discover-arrow { transform: none; }
}

/* Keep the colored CTA outside the inverted navigation compositing layer. */
.header-store { position: fixed; z-index: 11; top: calc((var(--nav-height) - 44px) / 2); right: clamp(24px, 4.17vw, 84px); }
.header-store-space { visibility: hidden; pointer-events: none; }
@media (max-width: 900px) { .header-store { display: none; } }

.calendar-hero {
  --hero-height: clamp(840px, 112vh, 1160px);
  --hero-height: clamp(840px, 112svh, 1160px);
  position: relative;
  display: grid;
  align-items: center;
  min-height: var(--hero-height);
  margin-bottom: clamp(80px, 8vw, 140px);
  overflow: clip;
  background: linear-gradient(180deg, #ededed 0 56%, var(--page) 100%);
}
.hero-copy {
  position: relative;
  z-index: 2;
  width: min(1440px, 100% - 96px);
  margin-inline: auto;
  padding-top: 100px;
  padding-bottom: 1.4%;
}
.hero-copy h1 {
  max-width: 51%;
  font-size: clamp(3.5rem, 6.2vw, 7.5rem);
  font-weight: 650;
  line-height: .98;
  letter-spacing: -.064em;
}
.hero-copy h1 span { display: block; }
.hero-copy h1 .hero-title-highlight {
  width: fit-content;
  background: linear-gradient(to bottom, transparent 64%, var(--lime) 64%, var(--lime) 97%, transparent 97%);
}
@media (max-width: 760px) {
  .hero-copy h1 .hero-title-highlight { margin-inline: auto; }
}
.hero-copy .discover-button { margin-top: clamp(28px, 3vw, 44px); }
.hero-visual {
  --visual-bleed: clamp(38px, 6vw, 116px);
  --right-bleed: 18px;
  --cover-width: min(70vw, 1400px, calc((var(--hero-height) - 260px) / .7));
  position: absolute;
  inset: clamp(160px, 19%, 210px) 0 0 auto;
  right: calc(-.15 * var(--cover-width) - var(--right-bleed));
  width: calc(var(--cover-width) + var(--visual-bleed) + var(--right-bleed));
  margin: 0;
  padding: 40px var(--right-bleed) 0 var(--visual-bleed);
  pointer-events: none;
  mask-image: linear-gradient(180deg, #000 0 48%, #000e 67%, #000b 86%, #0004 100%);
}
.hero-scene {
  position: relative;
  width: 100%;
  transform: translate3d(var(--cover-x, 0px), var(--cover-drift, 0px), 0);
}
.hero-deck {
  position: relative;
  aspect-ratio: 480 / 336;
  width: 100%;
  transform-style: preserve-3d;
  transform: none;
}
.hero-paper-stack, .hero-paper, .hero-face { position: absolute; inset: 0; }
.hero-paper-stack {
  --paper-x: -.8px;
  --paper-y: .9px;
  --paper-edge-shadow: inset .65px 0 #34373bc9, inset 0 -.65px #34373bc9;
  transform-style: preserve-3d;
}
.hero-paper {
  transform: translate3d(calc(var(--sheet) * var(--paper-x)), calc(var(--sheet) * var(--paper-y)), calc(var(--sheet) * -1px));
  background: #95999d;
  box-shadow: var(--paper-edge-shadow);
}
.hero-paper:nth-child(even) { background: #747a80; }
.hero-paper:last-child {
  box-shadow: var(--paper-edge-shadow), -4px 14px 29px #2d37493d;
}
.hero-face {
  transform: translateZ(0);
  overflow: hidden;
  background: #d3d8df;
  box-shadow: 0 0 0 1px #2121211a;
}
.hero-photo { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero-face::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #e7edf426, transparent 28%, #20273417 77%, #19243244);
}
.hero-spiral {
  position: absolute;
  top: 0;
  left: 2%;
  width: 96%;
  height: auto;
  transform: translate3d(0, -66.67%, 4px);
  overflow: visible;
}
.hero-mark {
  position: absolute;
  transform: translate3d(calc(var(--mark-x, 0px) * var(--shift)), calc(var(--mark-y, 0px) * var(--shift)), var(--lift));
}
.hero-mark img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 var(--shadow) var(--shadow) #172333b8);
}
.hero-mark--logo { --shift: .68; --lift: clamp(12px, 2vw, 30px); --shadow: 4px; --delay: .75s; }
.hero-mark--year { --shift: 1.25; --lift: clamp(22px, 4vw, 62px); --shadow: 8px; --delay: 1.05s; }
.hero-mark--address { --shift: .93; --lift: clamp(14px, 2.7vw, 40px); --shadow: 4px; --delay: 1.35s; }

@media (min-width: 761px) and (max-width: 1100px) {
  .calendar-hero { --hero-height: clamp(700px, 100vh, 850px); --hero-height: clamp(700px, 100svh, 850px); }
  .hero-copy { width: calc(100% - 64px); }
  .hero-copy h1 { max-width: 53%; }
  .hero-visual { top: 24%; }
}

@media (max-width: 760px) {
  .calendar-hero {
    display: block;
    min-height: max(700px, 94vh);
    min-height: max(700px, 94svh);
    padding-top: clamp(164px, 22svh, 204px);
    padding-bottom: 32px;
    margin-bottom: 64px;
  }
  .hero-copy { width: calc(100% - 40px); padding-block: 0; text-align: center; }
  .hero-copy h1 {
    max-width: none;
    font-size: clamp(2.6rem, 13vw, 5.6rem);
    line-height: .98;
  }
  .hero-visual {
    --visual-bleed: clamp(16px, 5.5vw, 25px);
    --cover-width: 112vw;
    position: relative;
    inset: auto;
    width: calc(var(--cover-width) + 2 * var(--visual-bleed));
    margin: clamp(24px, 6.7svh, 54px) 0 0 calc(50% - .5 * var(--cover-width) - var(--visual-bleed));
    padding: clamp(20px, 3vw, 26px) var(--visual-bleed) 82px;
    mask-image: linear-gradient(180deg, #000 0 56%, #000e 76%, transparent 100%);
  }
  .hero-scene { transform: translate3d(0, calc(var(--cover-drift, 0px) * .57), 0); }
  .hero-paper-stack { --paper-x: -.6px; --paper-y: .7px; }
  .hero-mark--logo { --lift: 13px; --shadow: 2px; }
  .hero-mark--year { --lift: 29px; --shadow: 4px; }
  .hero-mark--address { --lift: 18px; --shadow: 3px; }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-deck { animation: hero-cover-in 1.1s .4s both cubic-bezier(.22, 1, .36, 1); }
  @keyframes hero-cover-in {
    from { opacity: 0; transform: translateY(22px); }
    to { opacity: 1; transform: translateY(0); }
  }
  .hero-mark img { animation: hero-mark-in .72s both cubic-bezier(.19, .75, .26, 1) var(--delay); }
  @keyframes hero-mark-in {
    from { opacity: .38; transform: translateY(7px); }
    to { opacity: 1; transform: translateY(0); }
  }
}
@media (prefers-reduced-motion: reduce) {
  .calendar-hero { --cover-x: 0px !important; --cover-drift: 0px !important; --mark-x: 0px !important; --mark-y: 0px !important; }
}

/* Edition 3: bounded atmosphere, scroll perspective, independent text column. */
.calendar-hero { --cover-angle: 30deg; --unfold: 0; --cloud-spread: 0px; --cloud-opacity: .76; min-height: max(100svh, calc(min(65vw, 1300px) * .7 + 360px)); margin-bottom: 24px; }
.hero-visual { --cover-width: min(65vw, 1300px); width: var(--cover-width); left: calc(max(48px, (100vw - 1440px) / 2) + min(31vw, 600px) + 70px); right: auto; top: 170px; bottom: auto; padding: 60px 0 70px; mask-image: none; }
/* A separate painted veil avoids masking the animated 3D surface. */
.hero-haze {
 position: absolute; inset: 0; pointer-events: none; z-index: 1;
 background: linear-gradient(to bottom, #edededf5 0 10%, #efefef80 35%, transparent 65%);
 opacity: calc(1 - var(--unfold));
}
.hero-scene { perspective: 1800px; }
.hero-tilt { transform: rotateX(var(--cover-angle)); transform-style: preserve-3d; transform-origin: 50% 65%; }
.hero-clouds { z-index: 2; position: absolute; inset: 0 -10% 0; pointer-events: none; overflow: clip; contain: paint; mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent), linear-gradient(#000 0 86%, transparent 100%); mask-composite: intersect; }
.hero-clouds::after { content: ''; position: absolute; inset: 92% 0 0; background: linear-gradient(transparent, var(--page)); }
.cloud { position: absolute; width: 120%; height: 42%; left: -10%; bottom: -2%; opacity: var(--cloud-opacity); }
/* The texture supplies alpha only: white, stretched mist, without grey cloud contours.
   Only opacity and transforms animate; the mask is static and outside the 3D card. */
.cloud::before, .cloud::after {
 content: ''; position: absolute; inset: 0;
 background: #fff;
 mask: url('./assets/cloud-bank.webp') center / 100% 100% no-repeat;
 animation: mist-drift 16s ease-in-out infinite alternate;
}
.cloud::before { opacity: .55; inset: 12% -8% -12%; animation: mist-counter-drift 23s ease-in-out infinite alternate; }
.cloud--back { bottom: 6%; left: -18%; height: 34%; opacity: calc(var(--cloud-opacity) * .65); transform: translate3d(calc(-.65 * var(--cloud-spread)), 0, 0); }
.cloud--front { transform: translate3d(var(--cloud-spread), 0, 0); }
.cloud--top { top: 7%; bottom: auto; height: 24%; left: -2%; opacity: calc(.62 * (1 - var(--unfold))); transform: translate3d(calc(-1.2 * var(--cloud-spread)), 0, 0); }
.cloud--top::after { animation-duration: 19s; animation-delay: -7s; }
.cloud--back::after { animation-duration: 25s; animation-delay: -11s; animation-direction: alternate-reverse; }
.calendar-hero[data-moving="false"] .cloud::before,
.calendar-hero[data-moving="false"] .cloud::after { animation-play-state: paused; }
@keyframes mist-drift {
 from { transform: translate3d(-4%, 2%, 0) scale(1.03, .94); opacity: .78; }
 to { transform: translate3d(5%, -2%, 0) scale(1.1, 1.06); opacity: 1; }
}
@keyframes mist-counter-drift {
 from { transform: translate3d(6%, -3%, 0) scale(1.12, .8); opacity: .32; }
 to { transform: translate3d(-5%, 3%, 0) scale(1.02, 1.02); opacity: .56; }
}
@media (min-width: 761px) {
 .calendar-hero {
   --calendar-top: clamp(350px, 42svh, 540px);
   align-items: start;
   min-height: max(100svh, calc(var(--calendar-top) + min(65vw, 1300px) * .7 + 200px));
 }
 .hero-copy {
   position: sticky; top: clamp(150px, 20svh, 280px); align-self: start;
   margin-top: clamp(210px, 24svh, 345px); padding-block: 0;
   opacity: calc(1 - var(--copy-exit, 0)); filter: blur(calc(var(--copy-exit, 0) * 12px));
 }
 .hero-visual { top: var(--calendar-top); }
 /* Thin paper edges: six discrete sheets with soft light and narrow separators. */
 .hero-paper-stack { --paper-x: -1.05px; --paper-y: 1.1px; --paper-edge-shadow: inset .65px 0 #424a5299, inset 0 -.65px #41474fb3; }
 .hero-paper {
   transform: translate3d(calc(var(--sheet) * var(--paper-x)), calc(var(--sheet) * var(--paper-y)), calc(var(--sheet) * -.55px));
   background: linear-gradient(100deg, #969dA2, #d3d2ce 5%, #c8c9c7 88%, #939bA0);
 }
 .hero-paper:nth-child(even) { background: linear-gradient(100deg, #b8bdc0, #eeece7 5%, #deded9 88%, #adb4b8); }
 .hero-paper:last-child { box-shadow: var(--paper-edge-shadow), -4px 12px 25px #27354726; }
 /* Lower bank extends beyond the paper edge; address stays above its dense core. */
 .hero-clouds { left: -22%; right: -10%; mask-image: linear-gradient(to right, transparent, #000 8%, #000 90%, transparent), linear-gradient(#000 0 97%, transparent 100%); }
 .hero-clouds::before {
   content: ''; position: absolute; inset: 62% 0 0;
   background: radial-gradient(ellipse 18% 95% at 17% 100%, #fffffff2, #ffffff99 38%, transparent 80%), linear-gradient(transparent 20%, #ffffff18 42%, #ffffffa3 76%, #fff 98%);
   opacity: .88;
 }
 .cloud--front { height: 40%; bottom: -12%; opacity: calc(.88 - var(--unfold) * .16); }
 .cloud--back { height: 30%; bottom: -3%; opacity: calc(.62 - var(--unfold) * .12); }
 .cloud::after { animation-name: mist-desktop-drift; animation-duration: 11s; animation-delay: -3s; }
 .cloud::before { animation-name: mist-desktop-counter; animation-duration: 17s; animation-delay: -6s; }
 .cloud--top::after { animation-duration: 13s; animation-delay: -4s; }
 .cloud--back::after { animation-duration: 15s; animation-delay: -5s; }

}
@keyframes mist-desktop-drift {
 from { transform: translate3d(-8%, 4%, 0) scale(1.04, .92); opacity: .82; }
 to { transform: translate3d(9%, -4%, 0) scale(1.13, 1.08); opacity: 1; }
}
@keyframes mist-desktop-counter {
 from { transform: translate3d(9%, -4%, 0) scale(1.15, .84); opacity: .42; }
 to { transform: translate3d(-8%, 4%, 0) scale(1.04, 1.04); opacity: .7; }
}
@media (max-width: 760px) {
 .calendar-hero { --cover-angle: 40deg; min-height: auto; padding-block: 0; }
 .hero-copy { min-height: 100svh; padding-block: 110px 72px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
 .hero-visual {
   --cover-width: max(110vw, 121.4286svh);
   width: var(--cover-width); inset: auto;
   margin: 0 0 0 calc(50% - var(--cover-width) / 2); padding: 32px 0 48px;
 }
 .hero-mark { scale: .64; transform-origin: 50% 0; transform: none; }
 /* A single tilted plane on phones; avoid intersecting coplanar GPU layers. */
 .hero-deck { transform-style: flat; animation: none; }
 .hero-face { transform: none; }
 .hero-paper-stack { display: none; }
 .hero-spiral { transform: translate(0, -66.67%); }
 .hero-mark img { filter: none; }
 .hero-haze { background: linear-gradient(#edededfa 0 10%, #efefefad 35%, transparent 65%); }
 .calendar-hero[data-moving="true"] .hero-tilt { will-change: transform; }
 .calendar-hero[data-moving="true"] .hero-haze { will-change: opacity; }
 .hero-scene { perspective: 1100px; }
 .hero-mark--year { --shadow: 4px; }
 .hero-clouds {
   inset: 0 10% 48px;
   overflow: hidden;
   clip-path: inset(0);
   mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent), linear-gradient(#000 0 78%, transparent 100%);
 }
 .cloud--front { bottom: 0; }
 .cloud { width: 130%; height: 38%; left: -15%; bottom: 0; }
 .cloud--back { display: block; bottom: 10%; height: 28%; opacity: calc(var(--cloud-opacity) * .48); }
 .cloud--top { top: 8%; height: 26%; bottom: auto; opacity: calc(.65 * (1 - var(--unfold))); }
 .cloud::before { display: none; }
 .cloud::after { animation-duration: 22s; }
}
@media (prefers-reduced-motion: reduce) {
 .hero-visual { mask-image: none; }
 .hero-haze { display: none; }
 .hero-tilt { transform: none; }
 .cloud::before, .cloud::after { animation: none; }
 .cloud { transform: none; opacity: .18; }
 .cloud--top { opacity: 0; }
}

@media (max-width: 760px) and (prefers-reduced-motion: no-preference) {
 .hero-mark--logo { --mark-reveal: var(--reveal-logo, 0); }
 .hero-mark--year { --mark-reveal: var(--reveal-year, 0); }
 .hero-mark--address { --mark-reveal: var(--reveal-address, 0); }
 .hero-mark img { animation: none; opacity: var(--mark-reveal); transform: translateY(calc((1 - var(--mark-reveal)) * 14px)); transition: none; }
}

.roll-grain-track {
  position: absolute; inset: 0; z-index: 3; pointer-events: none;
}
.roll-grain {
  position: sticky; top: 0; height: 100vh; height: 100svh;
  overflow: hidden; pointer-events: none;
}
.roll-grain::before {
  content: ""; position: absolute; inset: -128px;
  background: url("./assets/film-grain.png") repeat;
  opacity: .075;
  animation: film-grain 1s steps(1, end) infinite;
  animation-play-state: paused;
}
.roll-grain-track[data-running="true"] .roll-grain::before { animation-play-state: running; }
@keyframes film-grain {
  0%, 100% { transform: translate(0, 0); }
  8.33% { transform: translate(-47px, 31px); }
  16.67% { transform: translate(59px, -73px); }
  25% { transform: translate(-83px, -19px); }
  33.33% { transform: translate(23px, 67px); }
  41.67% { transform: translate(-61px, 89px); }
  50% { transform: translate(91px, 43px); }
  58.33% { transform: translate(-29px, -97px); }
  66.67% { transform: translate(71px, -41px); }
  75% { transform: translate(-101px, 53px); }
  83.33% { transform: translate(37px, 103px); }
  91.67% { transform: translate(-13px, -59px); }
}
@media (prefers-reduced-motion: reduce) {
  .roll-grain::before { animation: none; }
}

:root { --lime: #d9ff5c; }
.product-story { position: relative; isolation: isolate; z-index: 1; background: var(--page); padding-bottom: clamp(64px, 8vw, 120px); }
.product-overview { width: min(1440px, calc(100% - 80px)); margin-inline: auto; padding: 64px 0 120px; }
.overview-lead { max-width: 760px; margin: 0 auto 80px; text-align: center; font-size: clamp(25px, 2.5vw, 36px); line-height: 1.3; letter-spacing: -.045em; font-weight: 500; }
.overview-facts { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; padding: 26px 0; border-block: 1px solid var(--line); }
.overview-fact { padding: 0 28px; border-left: 1px solid var(--line); }
.overview-fact:first-child { padding-left: 0; border-left: 0; }
.overview-fact dt { display: flex; align-items: flex-start; gap: 14px; font-size: clamp(17px, 1.4vw, 23px); font-weight: 650; letter-spacing: -.035em; }
.overview-fact dd { margin: 7px 0 0 38px; color: #72736e; font-size: 14px; }
.product-icon { width: 24px; height: 24px; flex-shrink: 0; }
.fact-icon { position: relative; display: inline-flex; isolation: isolate; }
.fact-icon::before { content: ''; position: absolute; z-index: -1; background: var(--lime); width: 18px; height: 11px; left: 10px; bottom: 0; }
.story-stack { width: min(1200px, calc(100% - 80px)); margin: auto; padding-bottom: 1px; }
.story-feature { --covered: 0; position: sticky; top: 96px; isolation: isolate; display: grid; grid-template-columns: 1fr 1fr; padding: 8px; min-height: min(720px, calc(100svh - 120px)); margin-bottom: 100px; border-radius: 24px; background: #707879; overflow: hidden; box-shadow: 0 -1px 0 #ffffff30; transform: scale(calc(1 - var(--covered) * .025)); transform-origin: center top; }
.story-feature:last-child { margin-bottom: 0; }
#terminarz { scroll-margin-top: 21px; }
.story-copy { position: relative; z-index: 2; grid-column: 1; grid-row: 1; display: flex; flex-direction: column; align-items: stretch; padding: clamp(28px, 3.4vw, 48px); background: #fff; border-radius: 16px 8px 8px 16px; }
.story-reversed .story-copy { grid-column: 2; border-radius: 8px 16px 16px 8px; }
.story-media-space { grid-column: 2; grid-row: 1; min-width: 0; }
.story-reversed .story-media-space { grid-column: 1; }
.story-tag { display: inline-flex; align-items: center; gap: 8px; border-radius: 30px; background: #eef0f2; padding: 5px 12px 5px 5px; font-size: 12px; }
.story-tag .product-icon { padding: 3px; width: 24px; height: 24px; background: var(--lime); border-radius: 50%; }
.story-copy h2 { font-size: clamp(30px, 3vw, 42px); font-weight: 450; letter-spacing: -.055em; line-height: 1.2; margin: 34px 0 26px; }
.story-copy h2 span { display: block; }
.story-description { max-width: 400px; color: #72736e; font-size: 16px; line-height: 1.65; }
.story-specs { display: grid; gap: 18px; margin: 26px 0 0; }
.story-specs dt { display: flex; align-items: center; gap: 10px; font-weight: 550; font-size: 15px; }
.story-specs .product-icon { width: 19px; height: 19px; }
.story-specs dd { margin: 5px 0 0 29px; max-width: 330px; color: #72736e; font-size: 13px; line-height: 1.5; }
.story-description strong, .story-specs strong { color: var(--ink); font-weight: 650; }
.story-highlight { background: linear-gradient(transparent 61%, var(--lime) 61%, var(--lime) 96%, transparent 96%); }
.story-footnote { display: flex; align-items: flex-start; gap: 10px; margin-top: auto; padding-top: 38px; color: #777a75; font-size: 12px; line-height: 1.5; }
.story-footnote > span { flex-shrink: 0; border: 1px solid #90958c; border-radius: 50%; font-size: 10px; width: 16px; height: 16px; display: grid; place-items: center; }
.story-photo, .story-video { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; display: block; object-fit: cover; }
.story-photo { left: 50%; width: 50%; }
.story-reversed .story-photo { left: 0; }
.story-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: var(--story-position, center); }
.story-video { filter: grayscale(1); }
.story-with-video::after { content: ''; position: absolute; inset: 0; z-index: 1; background: rgb(55 60 65 / 25%); pointer-events: none; }
@media (max-width: 1100px) {
  .product-overview, .story-stack { width: calc(100% - 48px); }
  .overview-fact { padding-inline: 16px; }
}
@media (max-width: 809px) {
  .product-overview { padding: 32px 0 72px; }
  .overview-lead { text-align: left; margin-bottom: 44px; }
  .overview-facts { grid-template-columns: 1fr 1fr; row-gap: 28px; padding-block: 24px; }
  .overview-fact { padding: 0 0 0 16px; }
  .overview-fact:nth-child(odd) { border: 0; padding-left: 0; }
  .overview-fact dt { font-size: 16px; gap: 9px; align-items: flex-start; }
  .overview-fact dd { margin-left: 0; font-size: 12px; }
  .overview-fact .product-icon { width: 21px; height: 21px; }
  .story-feature { position: relative; top: auto; display: flex; flex-direction: column; margin-bottom: 56px; border-radius: 22px; padding: 8px; transform: none; }
  .story-media-space { order: 0; min-height: 280px; }
  .story-copy, .story-reversed .story-copy { order: 1; padding: 28px 24px; border-radius: 9px 9px 15px 15px; min-height: 369px; }
  .story-photo, .story-reversed .story-photo { inset: 0 0 auto; width: 100%; height: 280px; }
  .story-photo img { object-position: var(--story-position-mobile, center); }
  .story-photo::after {
    content: '';
    position: absolute;
    inset: auto 0 -1px;
    height: clamp(60px, 20vw, 84px);
    background: linear-gradient(transparent, #707879 90%);
    backdrop-filter: blur(4px) brightness(.9);
    mask-image: linear-gradient(transparent, #000 65%);
    pointer-events: none;
  }
  .story-video { inset: 0 0 auto; height: 288px; object-position: 50% 80%; }
  .story-copy h2 { font-size: 31px; margin: 28px 0 22px; }
  .story-description { font-size: 14px; }
  .story-footnote { padding-top: 32px; }
  .story-specs { gap: 16px; margin-top: 22px; }
  .story-with-video::after { background: rgb(55 60 65 / 32%); }
}
@media (min-width: 810px) and (max-height: 649px) { .story-feature { position: relative; top: auto; min-height: 620px; } }
@media (prefers-reduced-motion: reduce) {
  .hero-copy [style*="opacity"], .header-bar, .header-store { opacity: 1 !important; transform: none !important; filter: none !important; }
  .story-feature { position: relative; top: auto; transform: none; }
  .product-story [style] { filter: none !important; opacity: 1 !important; }
}

.authors { padding: clamp(64px, 8vw, 120px) 0 72px; background: var(--page); }
.authors-heading { text-align: center; padding: 0 24px 44px; }
.authors-kicker { display: inline-block; font-size: 12px; text-transform: uppercase; letter-spacing: .13em; margin-bottom: 18px; }
.authors-heading h2 { font-size: clamp(30px, 4vw, 54px); font-weight: 480; letter-spacing: -.055em; }
.authors-track { --card-width: min(780px, 74vw); --track-padding: max(24px, calc((100vw - 1200px) / 2)); position: relative; display: flex; gap: 24px; padding: 0 var(--track-padding) 16px; overflow-x: auto; overscroll-behavior-x: contain; scroll-behavior: auto; scrollbar-width: none; }
.authors-track::-webkit-scrollbar { display: none; }
.author-card { position: relative; flex: 0 0 var(--card-width); display: grid; grid-template-columns: 1fr 190px; grid-template-rows: 80px auto auto; gap: 24px 36px; min-height: 470px; padding: 36px; border-radius: 24px; scroll-snap-align: start; color: #30342b; background: var(--lime); }
.author-michal { background: #dfd6cb; }
.author-damian { background: #d9e1e2; }
.author-number { font-size: 12px; letter-spacing: .12em; opacity: .55; }
.author-portrait { grid-column: 2; grid-row: 1 / 3; display: block; width: 190px; height: 245px; border-radius: 12px; object-fit: cover; }
.author-copy { grid-column: 1; grid-row: 2 / 4; align-self: end; }
.author-role { font-size: 12px; opacity: .65; margin-bottom: 12px; }
.author-copy h3 { font-size: clamp(23px, 2.5vw, 31px); letter-spacing: -.045em; font-weight: 550; line-height: 1.15; margin: 0 0 20px; }
.author-description { font-size: 16px; line-height: 1.6; max-width: 420px; }
.author-instagram { grid-column: 2; grid-row: 3; display: flex; gap: 8px; align-items: center; align-self: end; padding-top: 18px; border-top: 1px solid #30342b35; font-size: 13px; min-height: 44px; }
.author-instagram svg { width: 20px; height: 20px; flex-shrink: 0; transition: transform .35s; }
.ig-arrow { margin-left: auto; transition: transform .35s; }
.author-instagram:is(:hover,:focus-visible) svg { transform: rotate(-8deg) scale(1.1); }
.author-instagram:is(:hover,:focus-visible) .ig-arrow { transform: translate(3px,-3px); }
@media (hover: hover) and (pointer: fine) {
  .authors-track { cursor: grab; user-select: none; }
  .authors-track--dragging, .authors-track--dragging a { cursor: grabbing; }
}
@media (max-width: 809px) {
  .authors { padding-top: 64px; padding-bottom: 40px; }
  .authors-heading { text-align: left; padding-bottom: 30px; }
  .authors-track { --card-width: 84vw; --track-padding: 24px; gap: 16px; }
  .author-card { padding: 24px; border-radius: 20px; grid-template-columns: 1fr 116px; grid-template-rows: 154px 1fr auto; gap: 22px 16px; min-height: 490px; }
  .author-portrait { grid-row: 1; width: 116px; height: 150px; border-radius: 9px; }
  .author-copy { grid-column: 1 / -1; grid-row: 2; align-self: start; }
  .author-copy h3 { font-size: 25px; margin-bottom: 14px; }
  .author-description { font-size: 14px; line-height: 1.6; }
  .author-instagram { grid-column: 1 / -1; grid-row: 3; padding-top: 14px; }
}

.purchase { width: min(1440px, calc(100% - 96px)); margin-inline: auto; padding-block: clamp(88px, 9vw, 160px); display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: clamp(48px, 8vw, 140px); }
.purchase-label { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 24px; color: #666762; }
.purchase h2 { font-size: clamp(38px, 4.6vw, 72px); line-height: 1.08; font-weight: 600; letter-spacing: -.065em; }
.purchase-year { display: inline-block; color: inherit; background: linear-gradient(to bottom, transparent 64%, var(--lime, #d9ff5c) 64%, var(--lime, #d9ff5c) 97%, transparent 97%); }
.purchase-description { max-width: 35ch; margin-top: 24px; font-size: clamp(17px, 1.4vw, 21px); line-height: 1.55; color: #72736e; }
.purchase-price { font-size: clamp(44px, 4.1vw, 64px); line-height: 1; font-weight: 650; letter-spacing: -.06em; margin-bottom: 24px; }
.purchase-actions { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 12px; }
.purchase-button { position: relative; display: flex; justify-content: center; align-items: center; text-align: center; min-height: 54px; padding: 14px 40px; border: 1px solid #35363b; background: #35363b; color: #fff; font-size: 14px; font-weight: 550; white-space: nowrap; transition: background .25s, border-color .25s; }
.purchase-button:hover { background: #25262a; border-color: #25262a; }
.purchase-button > .order-arrow { position: absolute; right: 14px; color: #d9ff5c; }
.order-arrow { flex-shrink: 0; transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.purchase-button:is(:hover,:focus-visible) .order-arrow { transform: translate(3px, -3px); }
.order-jump:is(:hover,:focus-visible) .order-arrow { transform: translateY(3px); }
.purchase-button--allegro { background: #ff671d; color: #fff; border-color: #ff671d; }
.purchase-button--allegro > .order-arrow { color: #fff; }
.purchase-button--allegro:hover { background: #f9550a; border-color: #f9550a; }
.purchase-smart { position: relative; height: 56px; overflow: hidden; }
.purchase-smart img { position: absolute; left: 50%; width: 320px; max-width: none; height: auto; translate: -50% 0; }
.purchase-note { margin-top: 18px; color: #72736e; font-size: 16px; line-height: 1.6; }
.store-pill.order-jump::after { display: none; }
.store-pill.order-jump > .order-arrow { display: block; color: #d9ff5c; }
@media (max-width: 1100px) { .purchase { gap: 40px; grid-template-columns: 1fr 1.1fr; } }
@media (max-width: 809px) { .purchase { width: calc(100% - 48px); grid-template-columns: 1fr; gap: 40px; } .purchase h2 { font-size: clamp(38px, 8vw, 56px); } .purchase-actions { grid-template-columns: 1fr; } .purchase-button { min-height: 56px; font-size: 15px; } .purchase-smart { margin-top: 4px; } }
@media (prefers-reduced-motion: reduce) { .purchase-button, .order-arrow { transition: none; } }

.race-timeline { --race-lime:#d8ff5f; padding:0 0 90px; background:#fff; color:#1b1b19; }
.race-intro { padding:100px 0 28px; background:#202226; color:#fff; }
.race-intro .race-eyebrow { color:#b9bcb5; }
.race-intro .race-heading>p { color:#c1c4bd; }
.race-intro .race-toolbar { border-color:#ffffff26; }
.race-intro .race-months button { color:inherit; }
.race-intro .race-months button:focus-visible { outline-color:var(--race-lime); }
.race-heading,.race-toolbar,.race-footer { width:min(1320px,calc(100% - 96px)); margin-inline:auto; }
.race-heading { display:flex; align-items:flex-end; justify-content:space-between; gap:50px; margin-bottom:58px; }
.race-eyebrow { font-size:12px; letter-spacing:.12em; text-transform:uppercase; margin-bottom:24px; color:#777b71; }
.race-heading h2 { font-size:clamp(40px,4.5vw,72px); line-height:1.07; font-weight:550; letter-spacing:-.065em; }
.race-heading h2 span { display:block; }
.race-heading>p { max-width:390px; font-size:16px; color:#777b71; line-height:1.7; padding-bottom:4px; }
.race-toolbar { display:flex; justify-content:center; padding-block:14px; border-block:1px solid #e7e8e3; }
.race-months { position:relative; width:min(780px,100%); height:100px; overflow:hidden; touch-action:pan-y; user-select:none; cursor:grab; mask-image:linear-gradient(90deg,transparent,#000 12%,#000 88%,transparent); }
.race-months button { position:absolute; left:33.333333%; top:0; width:33.333333%; height:88px; border:0; background:transparent; padding:0 4px; cursor:inherit; font-weight:500; font-size:clamp(24px,3vw,38px); letter-spacing:-.04em; white-space:nowrap; transition:transform .6s cubic-bezier(.22,1,.36,1),filter .6s,opacity .6s; }
.race-months button:focus-visible { outline:1px solid #93a647; outline-offset:-10px; border-radius:12px; }
.race-month-number { display:inline-block; margin-right:10px; font-size:.42em; font-weight:350; letter-spacing:.02em; font-variant-numeric:tabular-nums; vertical-align:middle; }
.race-months--dragging { cursor:grabbing; }
.race-months--dragging button { transition:none; }
.race-viewport { overflow-x:auto; overflow-y:hidden; scrollbar-width:none; cursor:grab; overscroll-behavior-x:contain; touch-action:pan-x pan-y; -webkit-overflow-scrolling:touch; user-select:none; outline-offset:-5px; }
.race-viewport::-webkit-scrollbar { display:none; }
.race-viewport:focus-visible { outline:2px solid #73852f; }
.race-viewport.race-dragging,.race-dragging button { cursor:grabbing; }
.race-track { height:530px; position:relative; }
.race-road { position:absolute; inset:0; pointer-events:none; }
.race-road-fill { transition:stroke-dashoffset .65s cubic-bezier(.22,1,.36,1); }
.race-stop { position:absolute; top:0; width:0; height:530px; }
.race-stem { position:absolute; top:204px; height:calc(var(--route-y) - 204px); width:1px; background:#d5d8cf; }
.race-stop--lower .race-stem { top:var(--route-y); height:48px; }
.race-node { position:absolute; top:var(--route-y); left:0; transform:translate(-50%,-50%); width:13px; height:13px; border-radius:50%; background:#fff; border:2px solid #6b7064; transition:background .3s,border-color .3s; }
.race-stop--active .race-node { background:var(--race-lime); border-color:#343a29; box-shadow:0 0 0 9px #d8ff5f35; }
.race-stop--active .race-node>span { position:absolute; inset:-10px; border:1px solid #a5bd5c; border-radius:50%; animation:race-node-breathe 2.8s ease-in-out infinite; }
.race-card { position:absolute; left:-124px; top:auto; bottom:326px; width:248px; min-height:118px; display:flex; flex-direction:column; text-align:left; padding:16px 20px; border:1px solid #e1e4da; border-radius:12px; background:#fff; cursor:pointer; box-shadow:0 8px 22px #20271904; opacity:0; transform:translateY(10px); filter:blur(4px); transition:opacity .5s,transform .55s,filter .55s,border-color .3s,background .3s,box-shadow .3s; }
.race-stop--lower .race-card { top:calc(var(--route-y) + 48px); bottom:auto; }
.race-card.race-visible { opacity:1; transform:translateY(0); filter:blur(0); }
.race-stop--active .race-card { border-color:#35363b; box-shadow:0 12px 32px #20222618; background:#35363b; color:#fff; }
.race-stop--active .race-card-bottom { color:#e1e4da; }
.race-stop--active .race-date { color:var(--race-lime); }
.race-card:hover { border-color:#59683d; transform:translateY(-4px); }
.race-card-top { display:flex; align-items:center; justify-content:space-between; margin-bottom:12px; }
.race-date { font-size:26px; line-height:1; letter-spacing:-.06em; font-weight:550; }
.race-country { display:block; width:30px; height:18px; object-fit:cover; border-radius:3px; box-shadow:0 0 0 1px #19220e18,0 2px 4px #19220e12; }
.race-name { font-size:17px; letter-spacing:-.025em; font-weight:500; line-height:1.22; }
.race-card-bottom { display:flex; align-items:center; justify-content:space-between; gap:8px; margin-top:8px; padding-top:0; font-size:10px; color:#818777; }
.race-footer { display:grid; grid-template-columns:1fr auto; align-items:center; border-top:1px solid #e7e8e3; padding-top:26px; gap:22px; }
.race-current { display:flex; align-items:center; gap:30px; min-height:55px; }
.race-counter { font-size:30px; letter-spacing:-.06em; font-variant-numeric:tabular-nums; white-space:nowrap; }
.race-counter>span { font-size:14px; color:#9a9e93; }
.race-current-copy { display:grid; gap:5px; animation:race-copy-in .4s ease both; }
.race-current-copy strong { font-size:15px; font-weight:500; }
.race-current-copy>span { font-size:12px; color:#7a8072; }
.race-controls { display:flex; gap:8px; }
.race-controls button { width:46px; height:46px; display:grid; place-items:center; border:1px solid #dfe3d8; background:#fff; border-radius:50%; cursor:pointer; transition:background .2s; }
.race-controls button:last-child { background:var(--race-lime); border-color:var(--race-lime); }
.race-controls button:hover:not(:disabled) { background:#35363b; color:#fff; }
.race-controls button:disabled { opacity:.3; cursor:default; }
/* A continuous, native range keeps touch and keyboard control accessible. */
.race-scrub { grid-column:1/-1; height:70px; position:relative; display:block; color:#35363b; }
.race-scrub-road { position:absolute; bottom:10px; left:27px; right:27px; height:4px; background:repeating-linear-gradient(90deg,#35363b 0 14px,transparent 14px 21px); border-top:4px solid var(--race-lime); box-sizing:content-box; }
.race-endpoint { position:absolute; bottom:-2px; width:32px; height:32px; pointer-events:none; }
.race-endpoint--start { left:11px; }
.race-endpoint--finish { right:11px; }

.race-cyclist { position:absolute; width:54px; height:54px; object-fit:contain; bottom:12px; left:calc(51px + var(--race-position)*(100% - 156px)); pointer-events:none; }
.race-scrub input { appearance:none; position:absolute; inset:0 51px; width:calc(100% - 102px); height:70px; margin:0; background:transparent; cursor:ew-resize; touch-action:pan-y; outline:none!important; box-shadow:none!important; -webkit-tap-highlight-color:transparent; }
.race-scrub input::-webkit-slider-runnable-track { background:transparent; height:70px; }
.race-scrub input::-webkit-slider-thumb { appearance:none; width:54px; height:70px; background:transparent; border:0; }
.race-scrub input::-moz-range-track { background:transparent; height:70px; }
.race-scrub input::-moz-range-thumb { width:54px; height:70px; background:transparent; border:0; }
.race-scrub:has(input:focus-visible) .race-cyclist { filter:drop-shadow(0 -3px 2px #a7bd66); }
@keyframes race-node-breathe { 50% { transform:scale(1.3); opacity:.25; } }
@keyframes race-copy-in { from { opacity:.25; transform:translateY(4px); filter:blur(2px); } to { opacity:1; transform:translateY(0); filter:blur(0); } }
@media(max-width:809px) {
  .race-timeline { padding:0 0 54px; }
  .race-intro { padding:68px 0 20px; }
  .race-heading,.race-toolbar,.race-footer { width:calc(100% - 40px); }
  .race-heading { display:block; margin-bottom:32px; }
  .race-heading h2 { font-size:46px; }
  .race-heading>p { font-size:14px; margin-top:22px; }
  .race-eyebrow { font-size:10px; margin-bottom:20px; }
  .race-toolbar { padding-block:12px; }
  .race-months { width:100%; height:82px; }
  .race-months button { height:70px; font-size:clamp(18px,5.3vw,30px); }
  .race-month-number { display:block; margin:0 0 5px; font-size:11px; line-height:1; }
  .race-card { width:224px; min-height:108px; left:-112px; padding:14px 18px; }
  .race-date { font-size:23px; }
  .race-name { font-size:15.5px; }
  .race-card-top { margin-bottom:10px; }


  .race-current { gap:14px; align-items:flex-start; }
  .race-current-copy strong { font-size:13px; line-height:1.4; }
  .race-current-copy>span { font-size:11px; }
  .race-counter { font-size:23px; padding-top:1px; }
  .race-counter>span { font-size:11px; }
  .race-footer { gap:18px 12px; align-items:start; }
  .race-controls button { width:38px; height:38px; }
}
@media(prefers-reduced-motion:reduce) {
  .race-timeline *, .race-timeline *::before { animation:none!important; transition:none!important; }
  .race-card { opacity:1; filter:none; transform:none; }
}

.final-scene {
  position: relative;
  isolation: isolate;
  margin: 0;
  padding-top: clamp(128px, 14vw, 240px);
  overflow: hidden;
  background: #fff;
}
.final-wall {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 34% 22%, #d1d1d1 0%, #cacaca 52%, #c3c3c3 100%);
  /* 14vw keeps the top transparent across the 8-degree tilt. */
  mask-image: linear-gradient(172deg, transparent 14vw, #000 calc(14vw + clamp(145px, 12vw, 255px)));
  opacity: var(--wall, 1);
}
.final-wall::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("./assets/film-grain.png") repeat;
  mix-blend-mode: soft-light;
  opacity: .14;
}
.final-mist {
  --mist-travel: min(44vw, 760px);
  position: absolute;
  inset: calc(7vw + 9px) 0 auto;
  height: clamp(150px, 18vw, 310px);
  pointer-events: none;
  opacity: calc(.84 * var(--mist, 0));
}
.final-mist span {
  position: absolute;
  width: 81%;
  translate: calc(var(--mist-direction) * var(--mist-travel) * var(--mist-exit, 0)) 0;
}
.final-mist-veil {
  --mist-texture: url("./assets/final-mist-veil.webp");
  --mist-direction: -.66;
  --mist-angle: -8deg;
  --mist-period: 34s;
  --mist-delay: -14s;
  inset: 13% auto -4% 11%;
  opacity: .55;
}
.final-mist-left {
  --mist-texture: url("./assets/final-mist-bank.webp");
  --mist-direction: -1;
  --mist-angle: -6deg;
  --mist-period: 19s;
  --mist-delay: -7s;
  inset: 4% auto -9% -19%;
}
.final-mist-right {
  --mist-texture: url("./assets/final-mist-wisps.webp");
  --mist-direction: 1;
  --mist-angle: -10deg;
  --mist-period: 12s;
  --mist-delay: -3s;
  --mist-drift-direction: alternate-reverse;
  inset: -16% -12% 9% auto;
}
.final-mist span::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #fff;
  mask: var(--mist-texture) center / 100% 100% no-repeat;
  transform: rotate(var(--mist-angle));
  animation: final-mist-drift var(--mist-period) var(--mist-delay) ease-in-out infinite
    var(--mist-drift-direction, alternate) paused;
}
@media (min-width: 761px) {
  .final-mist-right { top: -27%; bottom: 14%; }
}
.final-scene[data-mist-moving] .final-mist span::before { animation-play-state: running; }
@keyframes final-mist-drift {
  from { translate: -5% 0; }
  to { translate: 5% 0; }
}
.final-art {
  position: relative;
  left: 50%;
  width: min(100%, 2500px);
  aspect-ratio: 2500 / 1383;
  translate: -50% 0;
}
.final-calendar, .final-bike {
  position: absolute;
  display: block;
  height: auto;
}
.final-calendar {
  /* The artwork includes the transparent margins of the supplied PNG. */
  top: 11.30%;
  left: 30.23%;
  width: 39.48%;
  opacity: var(--calendar, 1);
  transform: perspective(1100px) translateY(calc(7% * (1 - var(--calendar, 1))))
    rotateX(calc(7deg * (1 - var(--calendar, 1))));
}
.final-bike {
  inset: auto 0 0;
  width: 100%;
  opacity: var(--bike, 1);
  transform: translateY(calc(8% * (1 - var(--bike, 1))));
}
.final-calendar img, .final-bike img { display: block; width: 100%; height: auto; }
.final-footer {
  display: grid;
  place-items: center;
  gap: 8px;
  padding: calc(clamp(56px, 8vw, 96px) + .675em) 20px;
  background: #202226;
  color: #e5e5e5;
  font-size: 13px;
  text-align: center;
}
.final-footer a { text-decoration: underline; text-underline-offset: .18em; }
@media (max-width: 760px) {
  .final-art { left: 52%; width: clamp(100%, calc(1570px - 110vw), 178%); }
  .final-mist span { width: 96%; }
}
@media (prefers-reduced-motion: reduce) {
  .final-wall, .final-calendar, .final-bike { opacity: 1; transform: none; }
  .final-mist { display: none; }
}
