@property --accent { syntax: '<color>'; inherits: true; initial-value: #f2efe8; }
:root {
  --ink: #050505;          /* page */
  --ink-2: #0d0d0c;        /* raised */
  --line: rgba(242,239,232,.12);
  --bone: #f2efe8;         /* text */
  --mute: rgba(242,239,232,.56);
  --accent: #f2efe8;       /* NERO has no colour of its own: sections set it to the project in view */
  --sans: 'Host Grotesk', system-ui, sans-serif;
  --serif: 'Instrument Serif', Georgia, serif;
  --gut: clamp(16px, 3.2vw, 48px);
  --maxw: 1720px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--ink); transition: --accent .9s var(--ease); -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  background: var(--ink); color: var(--bone); font-family: var(--sans); font-weight: 400;
  font-size: 16px; line-height: 1.4; overflow-x: clip; -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--accent); color: var(--ink); }

/* type scale */
.t-giant { font-weight: 800; font-size: clamp(64px, 17vw, 340px); line-height: .82; letter-spacing: -.055em; }
.t-xl { font-weight: 700; font-size: clamp(44px, 8vw, 150px); line-height: .9; letter-spacing: -.045em; }
.t-l { font-weight: 600; font-size: clamp(30px, 4.4vw, 76px); line-height: .98; letter-spacing: -.035em; }
.t-m { font-weight: 500; font-size: clamp(20px, 1.9vw, 30px); line-height: 1.15; letter-spacing: -.015em; }
.t-s { font-size: clamp(14px, 1vw, 16px); color: var(--mute); }
.t-label { font-size: 13px; font-weight: 500; letter-spacing: -.005em; color: var(--mute); }
.serif { font-family: var(--serif); font-weight: 400; font-style: italic; letter-spacing: -.02em; }
.accent { color: var(--accent); }
.wrap { width: min(100% - var(--gut) * 2, var(--maxw)); margin-inline: auto; }

/* pill button */
.btn {
  display: inline-flex; align-items: center; gap: .6em; padding: 1em 1.5em; border-radius: 999px;
  background: var(--bone); color: var(--ink); font-weight: 600; font-size: 15px; letter-spacing: -.01em;
  transition: transform .5s var(--ease), background .3s;
}
.btn:hover { background: var(--accent); }
.btn--ghost { background: transparent; color: var(--bone); box-shadow: inset 0 0 0 1px var(--line); }
.btn--ghost:hover { background: var(--bone); color: var(--ink); }

/* iPhone frame: <div class="phone"><div class="phone-scr"><video|img></div></div>; size via width */
.phone { position: relative; aspect-ratio: 720 / 1560; border-radius: 16% / 7.4%; padding: 3.2%;
  background: linear-gradient(145deg, #5b5b5e, #1c1c1e 30%, #3a3a3c 55%, #111 80%, #4a4a4c);
  box-shadow: 0 0 0 1px rgba(255,255,255,.08) inset, 0 40px 80px -20px rgba(0,0,0,.8); }
.phone-scr { position: relative; width: 100%; height: 100%; border-radius: 13.6% / 6.3%; overflow: hidden; background: #000; }
.phone-scr > video, .phone-scr > img { width: 100%; height: 100%; object-fit: cover; }
.phone-scr::after { content: ''; position: absolute; top: 1.6%; left: 50%; width: 30%; height: 3.4%; transform: translateX(-50%);
  background: #000; border-radius: 99px; z-index: 2; }

/* desktop browser frame: <div class="browser"><div class="browser-bar"><i></i><i></i><i></i></div><div class="browser-scr"><video|img></div></div> */
.browser { border-radius: clamp(8px, 1vw, 14px); overflow: hidden; background: #161616; box-shadow: 0 0 0 1px rgba(255,255,255,.08) inset, 0 50px 120px -30px rgba(0,0,0,.9); }
.browser-bar { display: flex; gap: 6px; padding: 9px 12px; background: #1b1b1b; }
.browser-bar i { width: 9px; height: 9px; border-radius: 50%; background: #3a3a3a; }
.browser-scr { aspect-ratio: 16 / 10; background: #000; }
.browser-scr > video, .browser-scr > img { width: 100%; height: 100%; object-fit: cover; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }
