@font-face {
  font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 300 800; font-stretch: 75% 100%; font-display: swap;
  src: url("fonts/bricolage-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 300 800; font-stretch: 75% 100%; font-display: swap;
  src: url("fonts/bricolage-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --night: #0A0E0C;     /* studio black from the film */
  --graphite: #141A17;
  --smoke: #8A918C;     /* secondary text on dark */
  --snow: #F2F4F1;
  --paper: #E8EBE6;
  --ink: #121614;
  --line-dark: rgba(242, 244, 241, .14);
  --line-light: rgba(18, 22, 20, .14);
  --leaf: #A9C77B;      /* the one accent: lit dots, focus, small highlights */

  /* device body, swapped by the colour picker */
  --body: #9A998F;
  --body-hi: #C4C3B9;
  --body-lo: #6E6D65;
  --logo: #F7F7F2;

  --font: "Bricolage Grotesque", system-ui, sans-serif;
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; background: var(--night); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0; overflow-x: clip;
  background: var(--night); color: var(--snow);
  font-family: var(--font); font-size: 1.125rem; line-height: 1.55;
  font-variation-settings: "opsz" 14;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.025em; line-height: 1.04; }
h2 { font-size: clamp(2.1rem, 5vw, 4rem); font-variation-settings: "opsz" 72, "wdth" 85; max-width: 15ch; }
h3 { font-size: 1.25rem; letter-spacing: -0.01em; line-height: 1.2; }
p { margin: 0; max-width: 60ch; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--leaf); outline-offset: 3px; border-radius: 4px; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--snow); color: var(--ink); padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; white-space: nowrap;
  font: inherit; font-weight: 600; font-size: 1rem;
  padding: 12px 24px; border-radius: 999px; border: 0;
  background: var(--snow); color: var(--ink); text-decoration: none; cursor: pointer;
  transition: background .2s, transform .2s;
}
.btn:hover { background: #fff; }
.btn:active { transform: scale(.97); }
.btn-small { padding: 7px 16px; font-size: .9375rem; }

/* Nav */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; gap: 32px;
  padding: 12px var(--gutter);
  background: rgba(10, 14, 12, .62);
  backdrop-filter: saturate(160%) blur(18px); -webkit-backdrop-filter: saturate(160%) blur(18px);
  border-bottom: 1px solid var(--line-dark);
}
.nav nav { display: flex; gap: 28px; margin-left: auto; }
.nav nav a { text-decoration: none; font-size: .9375rem; color: var(--smoke); transition: color .2s; }
.nav nav a:hover, .nav nav a[aria-current="true"] { color: var(--snow); }
.brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 1.0625rem; text-decoration: none; letter-spacing: -0.02em; }
.brand svg { width: 24px; height: 24px; }

/* ---------- Dot matrix (shared) ---------- */
.dm-row { display: inline-flex; gap: calc(var(--d) * 1.6); --d: clamp(5px, 0.85vw, 10px); }
.dm-small { --d: calc(var(--w) * .0105); gap: calc(var(--d) * 1.4); }
.dm-glyph { display: grid; grid-template-columns: repeat(var(--cols, 5), var(--d)); grid-auto-rows: var(--d); gap: calc(var(--d) * .45); }
.dm-glyph i { border-radius: 50%; background: rgba(242, 244, 241, .07); transition: background .25s, box-shadow .25s; }
.dm-glyph i.on { background: var(--snow); box-shadow: 0 0 calc(var(--d) * 1.2) rgba(242, 244, 241, .35); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 120px 0 120px; text-align: center; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -10% -10% auto; height: 90vh; pointer-events: none;
  background: radial-gradient(50% 60% at 50% 0%, rgba(169, 199, 123, .10), transparent 70%);
}
.hero-head { position: relative; padding: 0 var(--gutter); }
.hero-head p { margin-left: auto; margin-right: auto; }
.soon { color: var(--leaf); font-weight: 600; font-size: 1.0625rem; }
.wordmark {
  display: inline-flex; align-items: center; gap: .06em; justify-content: center;
  font-size: clamp(5.5rem, 16vw, 13rem); line-height: .9; font-weight: 800; letter-spacing: -0.06em;
  font-variation-settings: "opsz" 96, "wdth" 78;
  margin-top: 8px;
  background: linear-gradient(180deg, #FFFFFF 30%, #8C918D 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.wordmark-leaf { width: .62em; height: .62em; color: var(--snow); flex: none; margin-top: .06em; }
.lede { margin: 20px auto 0; font-size: clamp(1.2rem, 2vw, 1.6rem); color: var(--smoke); max-width: 28ch; line-height: 1.35; }

/* The film: scales up as it scrolls into place */
.film { position: relative; margin-top: clamp(40px, 6vw, 72px); padding: 0 var(--gutter); perspective: 1200px; }
.film-frame {
  --p: 0;
  position: relative; max-width: 1080px; margin: 0 auto; aspect-ratio: 16 / 9;
  border-radius: calc(32px - var(--p) * 14px);
  overflow: hidden; background: #000;
  transform: scale(calc(.84 + var(--p) * .16)) rotateX(calc((1 - var(--p)) * 10deg));
  transform-origin: 50% 0%;
  box-shadow: 0 0 0 1px var(--line-dark), 0 60px 120px -40px rgba(0, 0, 0, .9), 0 0 160px -40px rgba(169, 199, 123, calc(.12 + var(--p) * .1));
  will-change: transform;
}
.film-frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: contrast(1.06) saturate(1.05); }
/* film grain hides the upscaling softness of the 360p source */
.grain {
  position: absolute; inset: -50%; pointer-events: none; opacity: .14; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 1.2 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); }
}
.vignette { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(120% 90% at 50% 45%, transparent 55%, rgba(0, 0, 0, .55)); }
.film-toggle {
  position: absolute; left: 16px; bottom: 16px;
  font: inherit; font-size: .8125rem; font-weight: 600; color: var(--snow);
  background: rgba(10, 14, 12, .55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--line-dark); border-radius: 999px; padding: 6px 14px; cursor: pointer;
}

/* Launch countdown */
.launch { position: relative; margin-top: clamp(64px, 9vw, 110px); padding: 0 var(--gutter); display: flex; flex-direction: column; align-items: center; }
.launch-label { color: var(--smoke); font-size: 1.0625rem; }
.countdown { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(20px, 4vw, 56px); margin-top: 24px; }
.cd-unit { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.cd-unit small { font-size: .875rem; color: var(--smoke); }
.notify-form { margin-top: 44px; width: 100%; max-width: 460px; text-align: left; }
.field { display: flex; gap: 8px; padding: 6px; border-radius: 999px; background: rgba(242, 244, 241, .06); border: 1px solid var(--line-dark); transition: border-color .2s; }
.field:focus-within { border-color: var(--leaf); }
.field input { flex: 1; min-width: 0; font: inherit; font-size: 1rem; border: 0; background: transparent; padding: 8px 16px; color: var(--snow); }
.field input::placeholder { color: var(--smoke); }
.field input:focus { outline: none; }
.form-msg { margin-top: 12px; min-height: 1.6em; font-size: 1rem; color: var(--leaf); }
.form-msg.error { color: #F0A493; }

/* ---------- Statement ---------- */
.statement { position: relative; height: 240vh; }
.statement-sticky { position: sticky; top: 0; height: 100vh; display: grid; place-items: center; padding: 0 var(--gutter); }
.statement-text {
  max-width: 20ch; font-size: clamp(2.2rem, 6vw, 5.2rem); line-height: 1.06; font-weight: 600; letter-spacing: -0.035em;
  font-variation-settings: "opsz" 96, "wdth" 82;
}
.statement-text .w { color: rgba(242, 244, 241, .14); transition: color .35s; }
.statement-text .w.lit { color: var(--snow); }

/* ---------- Rear screen + device render ---------- */
.rear { padding: 120px 0 140px; background: linear-gradient(180deg, var(--night), var(--graphite) 30%); }
.rear-inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.rear-copy h2 + p { margin-top: 24px; color: var(--smoke); }
.device-sheen {
  position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.16) 46%, transparent 58%);
  background-size: 250% 100%; animation: sheen 7s ease-in-out infinite;
}
@keyframes sheen { 0%, 100% { background-position: 100% 0; } 50% { background-position: 0% 0; } }
.cam-module {
  position: absolute; top: 4.5%; left: 7%; width: 44%; aspect-ratio: 1;
  border-radius: 24%;
  background: linear-gradient(145deg, color-mix(in srgb, var(--body-hi) 80%, #fff), var(--body-lo) 70%);
  box-shadow:
    inset 0 0 0 calc(var(--w) * .008) rgba(255,255,255,.35),
    inset 0 0 0 calc(var(--w) * .028) color-mix(in srgb, var(--body) 85%, #000),
    0 calc(var(--w) * .02) calc(var(--w) * .05) rgba(0,0,0,.35);
}
.cam-module::before { /* inner dark plate */
  content: ""; position: absolute; inset: 7%; border-radius: 20%;
  background: linear-gradient(145deg, #2A2E2C, #0D0F0E);
  box-shadow: inset 0 1px 1px rgba(255,255,255,.15);
}
.lens {
  position: absolute; width: 44%; aspect-ratio: 1; border-radius: 50%;
  background:
    radial-gradient(circle at 36% 32%, rgba(190, 210, 255, .65) 0 4%, transparent 7%),
    radial-gradient(circle at 62% 66%, rgba(140, 110, 220, .45) 0 5%, transparent 10%),
    radial-gradient(circle at 50% 50%, #05070C 0 30%, #1D2840 36%, #080A10 44%, #222831 56%, transparent 57%),
    conic-gradient(from 30deg, #9B9C98, #3A3C3B, #D7D8D3, #4A4C4A, #A8A9A4, #3A3C3B, #9B9C98);
  box-shadow: 0 0 0 calc(var(--w) * .006) rgba(0,0,0,.6), 0 calc(var(--w) * .01) calc(var(--w) * .02) rgba(0,0,0,.6);
}
.lens-a { top: 12%; left: 12%; }
.lens-b { bottom: 12%; right: 12%; }
.sensor { position: absolute; bottom: 16%; left: 18%; width: 20%; aspect-ratio: 1; border-radius: 22%; background: radial-gradient(circle at 50% 50%, #3B4A6A 0 20%, #0B0D12 40%); box-shadow: 0 0 0 calc(var(--w) * .005) #444; }
.flash { position: absolute; top: 15%; right: 20%; width: 13%; height: 22%; border-radius: 99px; background: linear-gradient(180deg, #FFF8E2, #CFC6A6); box-shadow: inset 0 0 0 calc(var(--w) * .004) #8E8A78; }

.rear-screen {
  position: absolute; top: 6.5%; right: 7%; width: 40%; aspect-ratio: 1.22;
  border-radius: calc(var(--w) * .045);
  background: #030504; color: var(--snow); overflow: hidden;
  box-shadow: 0 0 0 calc(var(--w) * .006) rgba(0,0,0,.7), inset 0 0 0 1px rgba(255,255,255,.08), inset 0 calc(var(--w) * .04) calc(var(--w) * .06) rgba(255,255,255,.04);
}
.rear-screen::after { /* glass reflection */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(135deg, rgba(255,255,255,.14), transparent 40%);
}
.rs-status { position: absolute; top: 7%; left: 9%; right: 9%; display: flex; justify-content: space-between; align-items: center; font-size: calc(var(--w) * .026); color: var(--smoke); z-index: 2; }
.rs-batt { width: calc(var(--w) * .045); height: calc(var(--w) * .022); border: 1px solid var(--smoke); border-radius: 2px; padding: 1px; display: flex; }
.rs-batt i { width: 80%; background: var(--leaf); border-radius: 1px; }
.rs { position: absolute; inset: 0; display: none; flex-direction: column; align-items: center; justify-content: center; gap: 8%; text-align: center; padding-top: 8%; }
[data-rear="clock"] .rs-clock, [data-rear="selfie"] .rs-selfie, [data-rear="call"] .rs-call, [data-rear="music"] .rs-music { display: flex; }
.rs-line { width: 34%; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--snow) 40%, rgba(242,244,241,.2) 40%); }
.rs-selfie { background: radial-gradient(90% 70% at 50% 30%, #A9B9C4, #5E6E78 60%, #2E3439); padding: 0; }
.vf { position: absolute; inset: 14% 12%; border: 1px dashed rgba(255,255,255,.5); border-radius: 6px; }
.vf i { position: absolute; left: 50%; bottom: 0; width: 46%; height: 86%; transform: translateX(-50%);
  background: radial-gradient(circle at 50% 30%, #6B4A36 0 21%, transparent 22%), radial-gradient(75% 46% at 50% 100%, #24313F 0 99%, transparent 100%); }
.shutter { position: absolute; bottom: 6%; width: calc(var(--w) * .05); aspect-ratio: 1; border-radius: 50%; background: #fff; box-shadow: 0 0 0 2px rgba(255,255,255,.45); }
.rs-call { flex-direction: row; gap: 6%; padding: 8% 8% 0; justify-content: flex-start; text-align: left; flex-wrap: wrap; align-content: center; }
.rs-call .avatar { width: calc(var(--w) * .08); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; background: #5A7A4E; font-weight: 700; font-size: calc(var(--w) * .038); }
.rs-call-text, .rs-music-text { display: flex; flex-direction: column; line-height: 1.15; }
.rs b { font-size: calc(var(--w) * .042); font-weight: 600; }
.rs small { font-size: calc(var(--w) * .026); color: var(--smoke); }
.call-btns { display: flex; justify-content: space-between; width: 100%; margin-top: 8%; padding: 0 10%; }
.call-btns i { width: calc(var(--w) * .065); aspect-ratio: 1; border-radius: 50%; background: #D9534A; }
.call-btns i + i { background: #4CAF6A; }
.rs-music { flex-direction: row; gap: 7%; padding: 8% 9% 0; justify-content: flex-start; text-align: left; }
.rs-music .art { width: calc(var(--w) * .11); aspect-ratio: 1; border-radius: 6px; flex: none; background: radial-gradient(circle at 30% 30%, #A9C77B, #2F5A27 70%); }
.rs-music-text { flex: 1; }
.prog { height: 2px; background: rgba(242,244,241,.2); margin-top: 10%; display: block; }
.prog i { display: block; width: 38%; height: 100%; background: var(--snow); }

.device-logo {
  position: absolute; left: 16%; bottom: 22%;
  display: flex; align-items: center; gap: calc(var(--w) * .02);
  color: var(--logo); transform: rotate(90deg); transform-origin: left bottom;
  filter: drop-shadow(0 0 calc(var(--w) * .02) rgba(255,255,255,.35));
}
.device-logo svg { width: calc(var(--w) * .1); height: calc(var(--w) * .1); transform: rotate(-90deg); }
.device-logo span { font-weight: 800; font-size: calc(var(--w) * .085); letter-spacing: .02em; font-variation-settings: "opsz" 48, "wdth" 100; }

.picker-title { font-size: 1rem; margin: 40px 0 12px; color: var(--smoke); font-weight: 500; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  font: inherit; font-weight: 600; font-size: 1rem; cursor: pointer;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 9px 18px; border-radius: 999px;
  background: rgba(242, 244, 241, .06); color: var(--snow); border: 1px solid var(--line-dark);
  transition: background .2s, border-color .2s;
}
.chip:hover { background: rgba(242, 244, 241, .12); }
.chip[aria-checked="true"] { background: var(--snow); color: var(--ink); border-color: var(--snow); }
.swatch { padding-left: 8px; }
.swatch::before { content: ""; width: 24px; height: 24px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0,0,0,.25); }
.swatch-note { margin-top: 16px; color: var(--smoke); min-height: 1.6em; font-size: 1rem; }

/* ---------- Camera ---------- */
.camera-sec { padding: 140px 0; background: var(--night); }
.cam-head { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; }
.cam-head p { color: var(--smoke); }
.shot { margin: 56px 0 0; }
.shot svg { display: block; width: 100%; height: auto; border-radius: 28px; cursor: crosshair; touch-action: none; box-shadow: 0 0 0 1px var(--line-dark); }
.shot figcaption { margin-top: 14px; font-size: .9375rem; color: var(--smoke); }
.cam-specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin: 48px 0 0; }
.cam-specs div { border-top: 1px solid var(--line-dark); padding-top: 16px; }
.cam-specs dt { font-size: .9375rem; color: var(--smoke); }
.cam-specs dd { margin: 4px 0 0; font-weight: 600; font-size: 1.125rem; }

/* ---------- Light sections ---------- */
.battery, .weight, .build, .specs, .founder { background: var(--paper); color: var(--ink); }
.battery { padding: 140px 0 100px; border-radius: 40px 40px 0 0; }
.bat-lede { margin-top: 24px; color: #4A524D; }
.day { margin: 64px 0 0; }
.day-track { display: grid; grid-template-columns: repeat(24, 1fr); gap: clamp(3px, .6vw, 8px); }
.day-col { display: grid; grid-template-rows: repeat(6, 1fr); gap: clamp(3px, .6vw, 8px); }
.day-col i { aspect-ratio: 1; border-radius: 50%; background: rgba(18, 22, 20, .08); transition: background .4s; }
.battery.in .day-col.on i { background: var(--ink); transition-delay: calc(var(--i) * 45ms); }
.battery.in .day-col.last i { background: #6E9A47; }
.day-labels { display: grid; grid-template-columns: 6fr 6fr 6fr 3fr 3fr; margin-top: 14px; font-size: .9375rem; font-weight: 600; }
.day-labels span:last-child { text-align: right; }
.day figcaption { margin-top: 20px; font-size: .875rem; color: #5D6661; }

.weight { padding: 100px 0 120px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.split h2 + p { margin-top: 24px; color: #4A524D; }
.scale { margin: 0; display: grid; gap: 28px; }
.scale-row { display: grid; grid-template-columns: 9.5rem 1fr 4rem; align-items: center; gap: 16px; }
.scale-name { font-weight: 600; }
.scale-val { font-weight: 700; font-size: 1.25rem; text-align: right; font-variant-numeric: tabular-nums; }
.bar { height: 12px; border-radius: 99px; background: rgba(18, 22, 20, .08); overflow: hidden; }
.fill { display: block; height: 100%; width: 0; background: rgba(18, 22, 20, .3); border-radius: inherit; transition: width 1.2s cubic-bezier(.2, .7, .2, 1); }
.fill-leaf { background: var(--ink); }
.scale.in .fill { width: var(--w); }
.muted .scale-name, .muted .scale-val { opacity: .55; }
.scale figcaption { font-size: .875rem; color: #5D6661; }

.build { padding: 60px 0 120px; }
.split-reverse { grid-template-columns: 1fr 1.15fr; }
.titanium {
  position: relative; aspect-ratio: 4 / 5; border-radius: 36px; overflow: hidden;
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,.07) 0 1px, transparent 1px 3px),
    linear-gradient(115deg, #6E6D65 0%, #B9B8AE 38%, #8E8D84 52%, #CFCEC4 64%, #7A7970 100%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.4), 0 40px 80px -40px rgba(0,0,0,.45);
}
.titanium span { /* a screw head, for the repair story */
  position: absolute; right: 14%; bottom: 14%; width: 14%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #E6E5DD, #8C8B82 60%, #5F5E57);
  box-shadow: 0 2px 4px rgba(0,0,0,.4), inset 0 0 0 2px rgba(0,0,0,.15);
}
.titanium span::before, .titanium span::after { content: ""; position: absolute; left: 50%; top: 50%; width: 46%; height: 10%; background: #4A4943; border-radius: 2px; transform: translate(-50%, -50%) rotate(30deg); }
.titanium span::after { transform: translate(-50%, -50%) rotate(-30deg); }
.repair-title { margin-top: 44px; }
.steps { list-style: none; counter-reset: step; padding: 0; margin: 20px 0 0; display: grid; gap: 16px; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: baseline; max-width: 52ch; }
.steps li::before {
  content: counter(step); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  background: var(--ink); color: var(--paper); font-weight: 700; font-size: .875rem;
}
.steps strong { font-weight: 600; }

.specs { padding: 120px 0; border-top: 1px solid var(--line-light); }
.spec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 48px; margin-top: 56px; }
.spec-grid dl { margin: 0; }
.spec-grid dl > div { padding: 18px 0; border-top: 1px solid var(--line-light); }
.spec-grid dt { font-size: .875rem; color: #5D6661; }
.spec-grid dd { margin: 4px 0 0; font-weight: 600; font-size: 1.125rem; line-height: 1.35; }

.founder { padding: 40px 0 140px; border-radius: 0 0 40px 40px; }
.founder-inner { display: grid; grid-template-columns: auto 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.portrait {
  width: clamp(140px, 18vw, 220px); aspect-ratio: 1; border-radius: 50%;
  display: grid; place-items: center; background: var(--ink); color: var(--paper);
  font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 700; letter-spacing: -0.04em;
  font-variation-settings: "opsz" 96, "wdth" 80;
}
.founder-quote { margin: 0; }
.founder-quote blockquote { margin: 0; }
.founder-quote blockquote p { font-size: clamp(1.5rem, 2.8vw, 2.25rem); line-height: 1.25; letter-spacing: -0.015em; font-weight: 500; font-variation-settings: "opsz" 48; max-width: 34ch; }
.founder-quote figcaption { margin-top: 24px; display: flex; flex-direction: column; gap: 2px; }
.founder-quote figcaption span { color: #5D6661; font-size: 1rem; }

/* ---------- Notify ---------- */
.notify { padding: 140px 0; }
.notify-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; }
.notify-inner p { margin-top: 20px; color: var(--smoke); }
.notify label { display: block; font-weight: 600; margin-bottom: 10px; }
.notify .notify-form { margin-top: 0; }

.footer { padding: 36px 0; border-top: 1px solid var(--line-dark); color: var(--smoke); }
.footer .brand { color: var(--snow); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: .9375rem; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav nav { display: none; }
  .nav .btn-small { margin-left: auto; }
  .hero { padding: 104px 0 88px; }
  .film { padding: 0 12px; }
  .split, .split-reverse, .rear-inner, .cam-head, .notify-inner, .founder-inner { grid-template-columns: 1fr; }
  .titanium { aspect-ratio: 16 / 10; }
  .spec-grid, .cam-specs { grid-template-columns: 1fr; }
  .cam-specs { gap: 20px; }
  .rear, .camera-sec, .notify { padding: 96px 0; }
  .battery { padding: 96px 0 72px; border-radius: 28px 28px 0 0; }
  .weight { padding: 72px 0 88px; }
  .build { padding: 32px 0 88px; }
  .specs { padding: 88px 0; }
  .founder { padding: 24px 0 96px; border-radius: 0 0 28px 28px; }
  .statement { height: 200vh; }
}
@media (max-width: 480px) {
  .dm-row { --d: 4px; }
  .countdown { gap: 18px 24px; }
  .scale-row { grid-template-columns: 1fr 4rem; }
  .scale-row .bar { grid-column: 1 / -1; grid-row: 2; }
  .field { flex-direction: column; border-radius: 20px; }
  .field .btn { width: 100%; }
  .day-col { grid-template-rows: repeat(4, 1fr); }
  .day-labels span:nth-child(2), .day-labels span:nth-child(4) { visibility: hidden; }
}
@media (prefers-reduced-motion: reduce) {
  .grain, .device-sheen { animation: none; }
  .film-frame { transform: none; }
}

/* ---------- Finishing touches ---------- */
::selection { background: var(--leaf); color: var(--ink); }
html { scrollbar-color: #2A322D var(--night); }
section[id] { scroll-margin-top: 64px; }

/* text fallback for the countdown when the dot matrix isn't drawn */
.cd-fallback { font-size: 1.5rem; font-weight: 600; }
.js .cd-fallback { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.launch.is-live .countdown { display: none; }
.launch.is-live .cd-fallback { position: static; width: auto; height: auto; clip: auto; font-size: clamp(2rem, 5vw, 3.5rem); margin-top: 8px; }

/* one orchestrated load-in: heading, then film, then countdown */
.js .intro { opacity: 0; transform: translateY(24px); }
.js.is-loaded .intro { opacity: 1; transform: none; transition: opacity 1s cubic-bezier(.2, .7, .2, 1), transform 1.2s cubic-bezier(.2, .7, .2, 1); }
.js.is-loaded .film.intro { transition-delay: .25s; }
.js.is-loaded .launch.intro { transition-delay: .55s; }
.film-frame video { opacity: 0; transition: opacity .8s; }
.film-frame video.ready { opacity: 1; }
.film-frame { background: #000 url("media/leaf-poster.jpg") center / cover; }

/* mobile menu */
.menu-btn { display: none; }
@media (max-width: 900px) {
  .menu-btn {
    display: grid; place-content: center; gap: 6px; order: 3;
    width: 40px; height: 40px; margin-left: 4px; border: 0; background: none; cursor: pointer; padding: 0;
  }
  .menu-btn i { display: block; width: 20px; height: 1.5px; background: var(--snow); border-radius: 2px; transition: transform .3s; }
  .menu-btn[aria-expanded="true"] i:first-of-type { transform: translateY(3.75px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] i:last-of-type { transform: translateY(-3.75px) rotate(-45deg); }
  .nav nav {
    display: flex; flex-direction: column; gap: 0; margin: 0;
    position: absolute; top: 100%; left: 0; right: 0;
    padding: 8px var(--gutter) 20px;
    background: rgba(10, 14, 12, .96); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line-dark);
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .25s, transform .25s, visibility 0s .25s;
  }
  .nav.open nav { visibility: visible; opacity: 1; transform: none; transition: opacity .25s, transform .25s; }
  .nav nav a { font-size: 1.375rem; font-weight: 600; color: var(--snow); padding: 12px 0; border-bottom: 1px solid var(--line-dark); }
  .nav nav a:last-child { border-bottom: 0; }
}

.fineprint { font-size: .8125rem; color: #5F6762; padding-top: 20px; max-width: 90ch; }

@media (prefers-reduced-motion: reduce) {
  .js .intro { opacity: 1; transform: none; }
}

/* ---------- 3D device ---------- */
.device-col { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.device-stage {
  position: relative; width: 100%; height: calc(min(300px, 62vw) * 2.07 + 80px);
  display: grid; place-items: center;
  perspective: 1500px; perspective-origin: 50% 40%;
  cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none;
  border-radius: 24px;
}
.device-stage.dragging { cursor: grabbing; }
.device-stage:focus-visible { outline-offset: -2px; }
.device3d {
  --w: min(300px, 62vw);
  --h: calc(var(--w) * 2.07);
  --t: calc(var(--w) * .084);              /* 5.9 mm against a 70.4 mm width */
  --r: calc(var(--w) * .16);
  position: relative; width: var(--w); height: var(--h);
  transform-style: preserve-3d;
  transform: translateY(var(--bob, 0px)) rotateX(var(--rx, 8deg)) rotateY(var(--ry, -18deg)) rotateZ(var(--rz, 0deg));
  will-change: transform;
}
.d-face, .d-slice { position: absolute; inset: 0; border-radius: var(--r); }
.d-face { backface-visibility: hidden; -webkit-backface-visibility: hidden; transform-style: preserve-3d; }
.d-face > * { backface-visibility: hidden; -webkit-backface-visibility: hidden; }

/* titanium edge: stacked slices make a solid, rounded frame */
.d-slice {
  transform: translateZ(var(--z));
  background: color-mix(in srgb, var(--body-lo) calc(100% - var(--k) * 100%), #F4F4EE);
  transition: background .6s;
}

.d-back {
  transform: translateZ(calc(var(--t) / 2));
  background:
    radial-gradient(120% 60% at 20% 0%, rgba(255,255,255,.22), transparent 55%),
    linear-gradient(160deg, var(--body-hi) 0%, var(--body) 40%, var(--body-lo) 100%);
  box-shadow:
    inset 0 0 0 calc(var(--w) * .012) color-mix(in srgb, var(--body-hi) 70%, #fff),
    inset 0 0 0 calc(var(--w) * .022) var(--body-lo),
    inset 0 calc(var(--w) * -.04) calc(var(--w) * .12) rgba(0,0,0,.25);
  transition: background .6s, box-shadow .6s;
}
.d-back .device-sheen { transform: translateZ(.5px); animation: none; background-position: var(--sheen, 60%) 0; }
.d-back .cam-module { transform: translateZ(calc(var(--w) * .03)); transform-style: preserve-3d; }
.d-back .cam-module .lens { transform: translateZ(calc(var(--w) * .012)); }
.d-back .rear-screen { transform: translateZ(1px); }
.d-back .device-logo { transform: translateZ(1px) rotate(90deg); }
.bump-slice {
  position: absolute; top: 4.5%; left: 7%; width: 44%; aspect-ratio: 1; border-radius: 24%;
  transform: translateZ(var(--z));
  background: color-mix(in srgb, var(--body-lo) 75%, #000);
}

.d-front {
  transform: rotateY(180deg) translateZ(calc(var(--t) / 2));
  background: #030504;
  padding: calc(var(--w) * .03);
  box-shadow: inset 0 0 0 calc(var(--w) * .008) color-mix(in srgb, var(--body-hi) 60%, #000);
}
.d-screen {
  position: relative; width: 100%; height: 100%; overflow: hidden;
  border-radius: calc(var(--r) - var(--w) * .03);
  background:
    radial-gradient(90% 55% at 70% 85%, rgba(169, 199, 123, .55), transparent 70%),
    radial-gradient(80% 60% at 20% 30%, rgba(90, 120, 100, .45), transparent 70%),
    linear-gradient(180deg, #0E1712, #1F3326 60%, #3E5A3C);
  display: flex; flex-direction: column; align-items: center; color: var(--snow);
}
.d-island { width: 30%; height: 4.2%; border-radius: 99px; background: #000; margin-top: 5%; }
.d-date { margin-top: 12%; font-size: calc(var(--w) * .05); opacity: .85; }
.d-time { font-size: calc(var(--w) * .26); font-weight: 600; line-height: 1; letter-spacing: -0.04em; font-variation-settings: "opsz" 96, "wdth" 80; }
.d-glare { position: absolute; inset: 0; background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.12) 45%, transparent 60%); background-size: 260% 100%; background-position: var(--sheen, 60%) 0; }

.d-shadow {
  position: absolute; bottom: 14px; left: 50%; width: calc(min(300px, 62vw) * .9); height: 36px;
  border-radius: 50%; background: radial-gradient(closest-side, rgba(0,0,0,.75), transparent);
  transform: translateX(-50%) scaleX(var(--ss, 1)); filter: blur(4px); pointer-events: none;
}
.d-controls { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: center; }
.chip-sm { padding: 6px 14px; font-size: .875rem; }
.d-hint { font-size: .875rem; color: var(--smoke); }

@media (max-width: 900px) {
  .device-col { order: 2; }
}

/* ---------- Forms: consent, honeypot, sending ---------- */
.consent { margin-top: 10px; font-size: .8125rem; color: var(--smoke); }
.consent a { color: var(--snow); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notify-form.sending .btn { opacity: .6; pointer-events: none; }
.notify-form { position: relative; }

/* ---------- Footer links ---------- */
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-links a { text-decoration: none; color: var(--smoke); }
.footer-links a:hover, .footer-links a[aria-current="page"] { color: var(--snow); }

/* ---------- Animations ---------- */
/* scroll progress */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 60; background: var(--leaf); transform-origin: 0 50%; transform: scaleX(var(--sp, 0)); pointer-events: none; }

/* studio dust in the hero light */
.dust { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: .9; }
.hero > *:not(.dust) { position: relative; }

/* heading words rise out of a mask */
.js .rw { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.js .rw > span { display: inline-block; transform: translateY(105%); transition: transform 1s cubic-bezier(.2, .75, .15, 1); transition-delay: calc(var(--i) * 55ms); }
.js .in-view .rw > span, .js .rw-host.in-view .rw > span { transform: none; }

/* generic fade-up with stagger */
.js .rv { opacity: 0; transform: translateY(28px); transition: opacity .9s cubic-bezier(.2, .7, .2, 1), transform 1s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(var(--i, 0) * 70ms); }
.js .rv.in-view { opacity: 1; transform: none; }

/* dot-matrix: dots pop as they light */
.dm-glyph i.pop { animation: pop .45s cubic-bezier(.2, .7, .2, 1); }
@keyframes pop { 0% { transform: scale(.2); } 60% { transform: scale(1.35); } 100% { transform: scale(1); } }

/* button shine */
.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 35%, rgba(255,255,255,.65) 50%, transparent 65%); transform: translateX(-120%); }
.btn:hover::after { transform: translateX(120%); transition: transform .8s cubic-bezier(.2, .7, .2, 1); }

/* titanium reflection follows scroll */
.titanium::after { content: ""; position: absolute; inset: -20%; background: linear-gradient(115deg, transparent 40%, rgba(255,255,255,.45) 50%, transparent 60%); transform: translateX(calc(var(--ts, 0) * 80% - 40%)); pointer-events: none; mix-blend-mode: soft-light; }

/* founder portrait ring draws in */
@property --ring { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.portrait { position: relative; }
.portrait::after { content: ""; position: absolute; inset: -10px; border-radius: 50%; background: conic-gradient(from -90deg, #6E9A47 var(--ring), transparent 0); -webkit-mask: radial-gradient(closest-side, transparent calc(100% - 3px), #000 calc(100% - 2px)); mask: radial-gradient(closest-side, transparent calc(100% - 3px), #000 calc(100% - 2px)); transition: --ring 1.6s cubic-bezier(.4, 0, .2, 1) .2s; }
.portrait.in-view::after { --ring: 360deg; }

/* pointer spotlight on the closing section */
.notify { position: relative; overflow: hidden; }
.notify::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(500px circle at var(--mx, 70%) var(--my, 40%), rgba(169, 199, 123, .12), transparent 60%); transition: background .1s; }
.notify > * { position: relative; }

/* ---------- Legal pages ---------- */
.legal-nav { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px var(--gutter); background: rgba(10, 14, 12, .8); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border-bottom: 1px solid var(--line-dark); }
.legal-nav a.back { font-size: .9375rem; color: var(--smoke); text-decoration: none; }
.legal-nav a.back:hover { color: var(--snow); }
.legal { max-width: 760px; margin: 0 auto; padding: 72px var(--gutter) 120px; }
.legal h1 { font-size: clamp(2.4rem, 6vw, 4rem); font-variation-settings: "opsz" 96, "wdth" 82; letter-spacing: -0.035em; }
.legal .updated { margin-top: 16px; color: var(--smoke); font-size: .9375rem; }
.legal .summary { margin-top: 32px; padding: 24px; border-radius: 20px; background: rgba(242, 244, 241, .05); border: 1px solid var(--line-dark); }
.legal .summary p + p { margin-top: 10px; }
.legal h2 { font-size: 1.625rem; margin-top: 56px; max-width: none; font-variation-settings: "opsz" 48, "wdth" 90; scroll-margin-top: 80px; }
.legal h3 { font-size: 1.125rem; margin-top: 28px; }
.legal p, .legal li { color: #C9CFCB; }
.legal p { margin-top: 14px; }
.legal ul, .legal ol { margin: 14px 0 0; padding-left: 1.25em; }
.legal li { margin-top: 8px; }
.legal a { color: var(--snow); }
.legal strong { color: var(--snow); font-weight: 600; }
.toc { margin-top: 32px; }
.toc ol { columns: 2; column-gap: 32px; padding-left: 1.25em; }
.toc a { color: var(--smoke); text-decoration: none; }
.toc a:hover { color: var(--snow); }
.table-wrap { margin-top: 20px; overflow-x: auto; border: 1px solid var(--line-dark); border-radius: 16px; }
.data-table { width: 100%; border-collapse: collapse; font-size: .9375rem; min-width: 640px; }
.data-table th, .data-table td { text-align: left; vertical-align: top; padding: 14px 16px; border-bottom: 1px solid var(--line-dark); }
.data-table tr:last-child td { border-bottom: 0; }
.data-table th { font-weight: 600; color: var(--snow); background: rgba(242, 244, 241, .04); }
.data-table td { color: #C9CFCB; }
.data-table td:first-child { color: var(--snow); font-weight: 600; }
.none-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin-top: 20px; padding: 0; list-style: none; }
.none-list li { margin: 0; padding: 16px; border-radius: 14px; border: 1px solid var(--line-dark); }
.none-list b { display: block; color: var(--snow); }
@media (max-width: 600px) { .toc ol { columns: 1; } }

@media (prefers-reduced-motion: reduce) {
  .js .rw > span, .js .rv { transform: none; opacity: 1; transition: none; }
  .dm-glyph i.pop { animation: none; }
  .portrait::after { transition: none; --ring: 360deg; }
  .btn:hover::after { transition: none; }
  .dust { display: none; }
}

/* ---------- About page ---------- */
.about-hero { display: grid; grid-template-columns: auto 1fr; gap: 32px; align-items: center; margin-top: 40px; }
.about-hero .portrait { width: 140px; background: var(--snow); color: var(--ink); font-size: 2.5rem; }
.about-quote { margin: 0; }
.about-quote p { margin: 0; font-size: clamp(1.25rem, 2.4vw, 1.6rem); line-height: 1.3; color: var(--snow); font-weight: 500; }
.founder-link { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
@media (max-width: 600px) { .about-hero { grid-template-columns: 1fr; } }
