:root {
  --bg: #eeeeee;
  --ink: #111111;
  --muted: #7a7a7a;
  --line: rgba(0, 0, 0, .12);
  --dark: #050505;
  --light: #f2f2f2;
  --display: "Unbounded", "Helvetica Neue", Arial, sans-serif;
  --body: "Inter", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--bg); }
html.lenis, html.lenis body { height: auto; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
small {
  display: block;
  font-family: var(--body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Loader ------------------------------------------------------------ */
.loader {
  position: fixed; inset: 0; z-index: 100;
  background: var(--bg);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px;
  transition: opacity .9s ease, visibility .9s ease;
}
.loader.done { opacity: 0; visibility: hidden; }
.loader__brand { font-family: var(--display); font-weight: 200; font-size: 28px; letter-spacing: .5em; padding-left: .5em; }
.loader__bar { width: min(240px, 60vw); height: 1px; background: var(--line); overflow: hidden; }
.loader__bar span { display: block; height: 100%; width: 0; background: var(--ink); transition: width .2s; }
.loader__pct { font-size: 11px; letter-spacing: .2em; color: var(--muted); }

/* Nav ------------------------------------------------------------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px clamp(16px, 4vw, 48px);
  color: var(--ink);
}
.nav__logo { font-family: var(--display); font-weight: 300; letter-spacing: .4em; font-size: 14px; }
.nav__links { display: flex; gap: 36px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.nav__links a { opacity: .85; transition: opacity .3s; }
.nav__links a:hover { opacity: 1; }
.progress { position: fixed; left: 0; right: 0; bottom: 0; height: 2px; z-index: 50; }
.progress span { display: block; height: 100%; width: 0; background: #888; }

/* Scenes ---------------------------------------------------------- */
.scene { position: relative; }
/* Behind the dark scenes, so a mobile browser resizing its toolbar never reveals a pale strip. */
.scene--heart, .scene--precise { background: var(--dark); }
.sticky { position: sticky; top: 0; height: 100vh; height: 100lvh; overflow: hidden; }
.sticky.dark { background: var(--dark); color: var(--light); }
.seq { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }

/* Hero */
.hero__title {
  position: absolute; inset: 0; pointer-events: none;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(16px, 4vw, 64px);
  font-family: var(--display); font-weight: 200;
  font-size: clamp(90px, 17vw, 300px); line-height: 1; letter-spacing: -.02em;
  color: #1a1a1a;
}
.hero__model { position: absolute; left: clamp(16px, 4vw, 64px); bottom: 12vh; }
.hero__model strong { font-family: var(--display); font-weight: 300; font-size: 22px; letter-spacing: .06em; }
.hero__scroll {
  position: absolute; right: clamp(16px, 4vw, 64px); bottom: 12vh;
  font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted);
  display: flex; align-items: center; gap: 12px;
}
.hero__scroll i { width: 1px; height: 40px; background: var(--muted); display: block; animation: drip 1.8s ease-in-out infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(0); transform-origin: bottom; } }

.hero__lines {
  position: absolute; inset: 0; pointer-events: none;
  display: flex; flex-direction: column; justify-content: center;
  font-family: var(--display); font-weight: 300;
  font-size: clamp(52px, 11vw, 190px); line-height: .95; letter-spacing: -.01em;
  opacity: 0;
}
.line { white-space: nowrap; will-change: transform; }
.line:nth-child(1) { padding-left: 8vw; }
.line:nth-child(2) { padding-left: 34vw; }
.line:nth-child(3) { padding-left: 14vw; }
.line--solid { color: rgba(17, 17, 17, .9); }
.line--outline { color: transparent; -webkit-text-stroke: 1px rgba(17, 17, 17, .55); }

.hero__detail { position: absolute; inset: 0; pointer-events: none; opacity: 0; }
.hero__copy { position: absolute; left: clamp(16px, 5vw, 80px); top: 30vh; max-width: 290px; }
.hero__copy p { font-size: 14px; line-height: 1.7; margin-bottom: 14px; }
.hero__copy .muted { color: var(--muted); font-size: 12px; letter-spacing: .06em; }
.dots { display: flex; gap: 6px; margin-bottom: 22px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: #bbb; display: block; }
.dots i + i { background: #d6d6d6; }
.hero__vertical {
  position: absolute; right: clamp(16px, 6vw, 110px); top: 50%;
  font-family: var(--display); font-weight: 300;
  font-size: clamp(48px, 7vw, 120px); letter-spacing: .02em;
  transform: translateY(-50%) rotate(-90deg) translateX(0); transform-origin: center;
}

/* Anatomy */
.anat__head { position: absolute; left: clamp(16px, 4vw, 64px); top: 88px; z-index: 2; }
.anat__head h2 { font-family: var(--display); font-weight: 200; font-size: clamp(26px, 2.6vw, 42px); line-height: 1.1; margin-top: 12px; }
.anat__count { position: absolute; left: 50%; transform: translateX(-50%); top: 88px; font-family: var(--display); font-weight: 200; font-size: 22px; color: var(--muted); }
.anat__count span { color: var(--ink); font-size: 44px; }
.anat__labels { list-style: none; position: absolute; left: 0; right: 0; bottom: 12vh; height: 80px; }
.anat__labels li {
  position: absolute; left: 50%; transform: translate(-50%, 16px);
  opacity: 0; transition: opacity .6s ease, transform .6s ease;
  font-size: 12px; font-weight: 500; letter-spacing: .06em; text-align: center; white-space: nowrap;
}
.anat__labels li.on { opacity: 1; transform: translate(-50%, 0); }
.anat__labels li:nth-child(even) { top: 34px; }
.anat__labels li:nth-child(even)::before { height: 60px; margin-top: -34px; }
.anat__labels li::before { content: ""; display: block; width: 1px; height: 26px; background: var(--ink); opacity: .35; margin: 0 auto 10px; }
.anat__labels b { display: block; font-family: var(--display); font-weight: 300; font-size: 10px; color: var(--muted); margin-bottom: 4px; }
.anat__labels em { display: block; font-style: normal; font-weight: 300; color: var(--muted); font-size: 11px; margin-top: 3px; }

/* Heart */
.heart__img, .precise__img {
  position: absolute; inset: -6%;
  background-size: cover; background-position: center;
  will-change: transform, opacity;
}
.heart__img { background-position: 70% center; }
.heart__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,5,5,.92) 0%, rgba(5,5,5,.5) 40%, rgba(5,5,5,0) 70%); }
.heart__head { position: absolute; left: clamp(16px, 5vw, 80px); top: 20vh; max-width: 380px; }
.heart__head small { color: #8a8a8a; }
.heart__head h2 { font-family: var(--display); font-weight: 200; font-size: clamp(34px, 4.6vw, 72px); line-height: 1.02; margin: 18px 0 24px; letter-spacing: .02em; }
.heart__head p { font-size: 14px; line-height: 1.75; color: #a8a8a8; }
.heart__big {
  position: absolute; right: clamp(16px, 5vw, 80px); bottom: 8vh;
  font-family: var(--display); font-weight: 200; font-size: clamp(90px, 16vw, 260px); line-height: .9;
}
.heart__big sup { font-size: .3em; vertical-align: top; margin-left: 6px; color: #888; }
.heart__cap { position: absolute; right: clamp(16px, 5vw, 80px); bottom: calc(8vh - 26px); font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: #8a8a8a; }
.heart__stats { list-style: none; position: absolute; left: clamp(16px, 5vw, 80px); bottom: 10vh; display: flex; gap: clamp(20px, 4vw, 56px); }
.heart__stats b { display: block; font-family: var(--display); font-weight: 300; font-size: clamp(20px, 2.2vw, 32px); }
.heart__stats span { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: #8a8a8a; }
.heart__head, .heart__big, .heart__cap, .heart__stats { opacity: 0; will-change: opacity, transform; }

/* Precise */
.precise__words {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center;
  font-family: var(--display); font-weight: 300;
  font-size: clamp(58px, 12vw, 210px); line-height: .92; letter-spacing: -.01em;
  mix-blend-mode: screen;
}
.pw { white-space: nowrap; will-change: transform; color: #f0f0f0; }
.pw--outline { color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .75); }
#pw1 { padding-left: 6vw; }
#pw2 { padding-left: 2vw; }
#pw3 { padding-left: 18vw; }

/* Specs ----------------------------------------------------------- */
.specs {
  background: var(--dark); color: var(--light);
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 110px);
  padding: clamp(80px, 14vh, 160px) clamp(16px, 5vw, 80px);
  align-items: center;
}
.specs__img img { width: 100%; height: auto; display: block; border-radius: 4px; }
.specs small { color: #8a8a8a; }
.specs h2 { font-family: var(--display); font-weight: 200; font-size: clamp(30px, 3.6vw, 54px); line-height: 1.1; margin: 18px 0 44px; }
.specs dl > div { display: flex; justify-content: space-between; gap: 20px; padding: 16px 0; border-top: 1px solid rgba(255,255,255,.12); font-size: 14px; }
.specs dl > div:last-child { border-bottom: 1px solid rgba(255,255,255,.12); }
.specs dt { color: #8a8a8a; letter-spacing: .04em; }
.specs dd { text-align: right; }

/* Reveal ---------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s cubic-bezier(.2,.7,.2,1), transform 1s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
dl .reveal:nth-child(2) { transition-delay: .05s; } dl .reveal:nth-child(3) { transition-delay: .1s; }
dl .reveal:nth-child(4) { transition-delay: .15s; } dl .reveal:nth-child(5) { transition-delay: .2s; }
dl .reveal:nth-child(6) { transition-delay: .25s; } dl .reveal:nth-child(7) { transition-delay: .3s; }
dl .reveal:nth-child(8) { transition-delay: .35s; }

/* Mobile ---------------------------------------------------------- */
@media (max-width: 800px) {
  .nav__links { display: none; }
  .hero__title { align-items: flex-start; padding-top: 18vh; }
  /* Copy sits on a soft fade at the foot of the screen, clear of the watch. Extra bottom room for the browser bar. */
  .hero__copy {
    top: auto; left: 0; right: 0; bottom: 0; max-width: none;
    padding: 120px 20px calc(32px + 100lvh - 100svh);
    background: linear-gradient(to top, var(--bg) 0%, var(--bg) 58%, rgba(238, 238, 238, 0) 100%);
  }
  .hero__copy .dots { display: none; }
  .hero__copy p { font-size: 15px; line-height: 1.6; max-width: 34ch; margin-bottom: 10px; }
  .hero__copy .muted { font-size: 12px; letter-spacing: .02em; margin-bottom: 18px; }
  .hero__vertical { font-size: 44px; right: 0; top: 30vh; }
  .anat__labels {
    bottom: 9vh; height: auto; padding: 0 16px;
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px 10px;
  }
  .anat__labels li:nth-child(even) { top: auto; }
  .anat__labels li:nth-child(even)::before { height: 14px; margin-top: 0; }
  .anat__labels li { position: static; transform: translateY(16px); font-size: 11px; white-space: normal; }
  .anat__labels li.on { transform: none; }
  .anat__labels li::before { height: 14px; margin-bottom: 6px; }
  .anat__labels li em { display: none; }
  .heart__shade { background: linear-gradient(180deg, rgba(5,5,5,.96) 0%, rgba(5,5,5,.85) 38%, rgba(5,5,5,.25) 62%, rgba(5,5,5,.9) 100%); }
  .heart__head { top: 13vh; right: 16px; }
  .heart__stats { bottom: 26vh; }
  .heart__img { background-position: 72% center; }
  .specs { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}
