/* =========================================================
   Dawn Studio · Variant A · "Midnight Collage"
   ========================================================= */

:root {
  --ink: #0b0b0d;
  --ink-2: #131316;
  --ink-3: #1a1a1e;
  --line: #2a2a2f;
  --paper: #efeae2;
  --mute: #a09b93;
  --dim: #3b3a37;
  --sun: #ff5a1f;
  --sun-soft: #ff8a4c;
  --blue: #93a6ff;
  --violet: #8c6bff;
  --violet-text: #b3a1ff;
  --mint: #a8e6c8;
  --cream: #f4efe6;

  --f-display: "Bricolage Grotesque", "Instrument Sans", system-ui, sans-serif;
  --f-body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-hand: "Caveat", "Comic Sans MS", cursive;
  --f-serif: "Instrument Serif", Georgia, serif;

  --pad: clamp(20px, 6.5vw, 104px);
  --nav-h: 72px;
  --ease-out: cubic-bezier(.2, .8, .2, 1);

  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  background: var(--ink);
  color: var(--paper);
  font-family: var(--f-body);
  font-size: 18px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  text-rendering: optimizeLegibility;
}

/* film grain, very light */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 300;
  pointer-events: none;
  opacity: .055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' 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 .6 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
em { font-style: normal; }

::selection { background: var(--sun); color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--sun);
  outline-offset: 3px;
  border-radius: 6px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: fixed;
  left: 16px; top: 12px;
  z-index: 400;
  padding: 12px 18px;
  background: var(--sun);
  color: var(--ink);
  font-weight: 600;
  border-radius: 999px;
  transform: translateY(-160%);
  transition: transform .3s var(--ease-out);
}
.skip-link:focus-visible { transform: none; outline-color: var(--paper); }

/* ---------- shared bits ---------- */

.doodle { fill: none; stroke: var(--sun); stroke-linecap: round; stroke-linejoin: round; overflow: visible; max-width: none; }

.margin-note {
  font-family: var(--f-hand);
  font-weight: 500;
  font-size: 24px;
  line-height: 1;
  color: rgba(239, 234, 226, .82);
}
.margin-note svg { fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 14px;
  letter-spacing: .02em;
  color: var(--mute);
  background: rgba(11, 11, 13, .5);
}
.tag__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 0 rgba(255, 90, 31, .6); animation: pulse 2.4s infinite; }
.tag__dot--violet { background: var(--violet); box-shadow: 0 0 0 0 rgba(140, 107, 255, .6); animation-name: pulse-v; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(255, 90, 31, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 90, 31, 0); } }
@keyframes pulse-v { 70% { box-shadow: 0 0 0 9px rgba(140, 107, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(140, 107, 255, 0); } }

.caps-lines span {
  display: block;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: .12em;
  line-height: 1.9;
  text-transform: uppercase;
  color: var(--paper);
  text-wrap: balance;
}

.outline-title {
  font-family: var(--f-display);
  font-weight: 700;
  font-style: italic;
  font-size: clamp(42px, 7.4vw, 124px);
  line-height: .98;
  letter-spacing: -.02em;
  color: var(--ink);
  -webkit-text-stroke: 3px var(--sun);
  paint-order: stroke fill;
}
@supports not (paint-order: stroke fill) {
  .outline-title { color: transparent; -webkit-text-stroke-width: 1.5px; }
}

/* hero entrance: hidden only while JS is about to animate it (removed by site.js or a 4s failsafe) */
.motion-pending [data-hero],
.motion-pending .hero__haze,
.motion-pending .nav { opacity: 0; }

/* split helpers (created by site.js) */
.line { display: block; overflow: hidden; padding: 0 .12em .12em 0; margin: 0 -.12em -.12em 0; }
.line__in { display: inline-block; will-change: transform; }
.w { display: inline-block; overflow: hidden; vertical-align: top; padding: .1em .14em .14em .06em; margin: -.1em -.14em -.14em -.06em; }
.wi { display: inline-block; }

/* ---------- app icons ---------- */

.app-icon {
  --s: 96px;
  position: relative;
  display: grid;
  place-items: center;
  width: var(--s);
  height: var(--s);
  border-radius: 23%;
  background: linear-gradient(160deg, var(--c1), var(--c2));
  box-shadow:
    inset 0 2px 1px rgba(255, 255, 255, .5),
    inset 0 -8px 16px rgba(0, 0, 0, .22),
    0 22px 34px -14px rgba(0, 0, 0, .85),
    0 0 0 1px rgba(255, 255, 255, .06);
  overflow: hidden;
  isolation: isolate;
}
.app-icon::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: radial-gradient(130% 62% at 28% -4%, rgba(255, 255, 255, .62), rgba(255, 255, 255, 0) 56%);
  pointer-events: none;
}
.app-icon svg { width: 60%; height: 60%; position: relative; z-index: 1; filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .18)); }
.app-icon--app1 { --c1: #ffa25a; --c2: #ff4f17; }
.app-icon--app2  { --c1: #8d74ff; --c2: #2c1f78; }
.app-icon--app3 { --c1: #fff1cf; --c2: #f0bf62; }
.app-icon--app4   { --c1: #c4f3dc; --c2: #5cc99a; }
.app-icon--app5 { --c1: #4cbf7e; --c2: #155438; }
.app-icon--app6 { --c1: #ff9d8a; --c2: #ff5f6d; }

/* =========================================================
   NAV
   ========================================================= */

.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: background-color .45s ease, border-color .45s ease, backdrop-filter .45s ease;
}
.nav.is-scrolled {
  background: rgba(11, 11, 13, .74);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
  border-bottom-color: rgba(255, 255, 255, .06);
}
.nav__inner {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 var(--pad);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: -.015em;
  color: var(--paper);
}
.brand__mark { width: 32px; height: auto; color: var(--paper); }

.nav__links ul { display: flex; gap: 2px; }
.nav__links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 13px;
  font-size: 15px;
  letter-spacing: .01em;
  color: rgba(239, 234, 226, .78);
  transition: color .25s ease;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 13px; right: 13px; bottom: 9px;
  height: 1.5px;
  background: var(--sun);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .4s var(--ease-out);
}
.nav__links a:hover { color: var(--paper); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }

.nav__toggle {
  display: none;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  min-width: 44px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  font-size: 15px;
  background: rgba(11, 11, 13, .4);
}
.nav__toggle-icon { position: relative; width: 16px; height: 10px; }
.nav__toggle-icon i { position: absolute; left: 0; width: 100%; height: 1.6px; background: currentColor; border-radius: 2px; transition: transform .4s var(--ease-out), top .4s var(--ease-out); }
.nav__toggle-icon i:first-child { top: 1px; }
.nav__toggle-icon i:last-child { top: 7.5px; }
.nav__toggle[aria-expanded="true"] .nav__toggle-icon i:first-child { top: 4.2px; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] .nav__toggle-icon i:last-child { top: 4.2px; transform: rotate(-45deg); }

.menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--nav-h) + 24px) var(--pad) 40px;
  background: var(--ink);
  overflow: hidden;
}
.menu[hidden] { display: none; }
.menu__nav a {
  display: flex;
  align-items: baseline;
  gap: 16px;
  min-height: 44px;
  padding: 4px 0;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(42px, 11vw, 72px);
  line-height: 1.08;
  letter-spacing: -.035em;
}
.menu__no { font-family: var(--f-body); font-size: 14px; font-weight: 500; letter-spacing: .1em; color: var(--sun); transform: translateY(-1.2em); }
.menu__foot { margin-top: 40px; font-size: 18px; color: var(--mute); }
.menu__foot a { display: inline-flex; align-items: center; min-height: 44px; border-bottom: 1px solid var(--line); }
.menu__sun { position: absolute; right: -60px; bottom: -14px; width: 280px; opacity: .95; }

/* =========================================================
   HERO
   ========================================================= */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: calc(var(--nav-h) + 6vh) var(--pad) 16vh;
  overflow: clip;
  isolation: isolate;
}
.hero__haze {
  position: absolute;
  inset: -12% -10% -2%;
  z-index: -2;
  background:
    radial-gradient(46% 50% at 50% 44%, rgba(150, 168, 158, .27), rgba(110, 122, 126, .12) 48%, transparent 74%),
    radial-gradient(34% 40% at 78% 30%, rgba(160, 150, 190, .10), transparent 70%),
    radial-gradient(64% 26% at 50% 104%, rgba(255, 106, 40, .22), transparent 72%);
}

.hero__copy { position: relative; z-index: 2; max-width: 1000px; text-align: center; }
.hero__title {
  font-family: var(--f-display);
  font-weight: 560;
  font-size: clamp(40px, 4.7vw, 78px);
  line-height: 1.04;
  letter-spacing: -.032em;
}
.hero__title em { color: var(--sun); }
.hero__lede {
  max-width: 31rem;
  margin: 30px auto 0;
  font-size: clamp(17px, 1.25vw, 19px);
  line-height: 1.6;
  color: var(--mute);
  text-align: justify;
  text-align-last: center;
  hyphens: auto;
}

.hero__collage { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.piece { position: absolute; }
.piece__m, .piece__in { display: block; }
.piece--rooster { left: -1.6vw; top: 15%; width: clamp(130px, 22vw, 370px); }
.piece--rooster .piece__in { rotate: -3deg; }
.piece--phone { right: -1.5vw; bottom: -16%; width: clamp(150px, 19vw, 300px); }
.piece--phone .piece__in { rotate: -7deg; }

.phonehand { position: relative; }
.phonehand__screen {
  position: absolute;
  left: 12.5%; top: 1.6%;
  width: 49.4%; height: 65.4%;
  border-radius: 12% / 6%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8%;
  background: radial-gradient(90% 60% at 50% 100%, rgba(255, 90, 31, .18), transparent 70%), #f3ede3;
}
.phonehand__screen svg { width: 52%; }
.phonehand__screen span {
  font-family: var(--f-hand);
  font-size: clamp(14px, 1.5vw, 24px);
  line-height: .95;
  text-align: center;
  color: #2a2620;
}

.piece--i1 { right: 15%; top: 16%; }
.piece--i1 .app-icon { --s: clamp(56px, 6.2vw, 96px); rotate: 12deg; }
.piece--i2 { left: 14%; bottom: 17%; }
.piece--i2 .app-icon { --s: clamp(50px, 5.4vw, 84px); rotate: -14deg; }
.piece--i3 { left: 30%; top: 15%; }
.piece--i3 .app-icon { --s: clamp(34px, 3.3vw, 52px); rotate: -9deg; }
.piece--i4 { right: 27%; bottom: 11%; }
.piece--i4 .app-icon { --s: clamp(40px, 4.2vw, 66px); rotate: 17deg; }

.doodle--scribble { position: absolute; right: 25%; top: 59%; width: clamp(60px, 6vw, 96px); stroke-width: 4; }
.margin-note--rooster { position: absolute; left: 17.5vw; top: 9%; rotate: -6deg; }
.margin-note--rooster svg { width: 46px; margin: 4px 0 0 -6px; }

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 22px;
  z-index: 2;
  translate: -50% 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  min-width: 44px;
  padding: 6px 8px;
  font-size: 13px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--mute);
}
.scroll-cue__line { position: relative; width: 1px; height: 44px; overflow: hidden; background: rgba(239, 234, 226, .14); }
.scroll-cue__line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--sun);
  transform: translateY(-100%);
  animation: cue 2.2s cubic-bezier(.6, 0, .3, 1) infinite;
}
@keyframes cue { 0% { transform: translateY(-100%); } 55% { transform: translateY(0); } 100% { transform: translateY(100%); } }

/* =========================================================
   STATEMENT
   ========================================================= */

.statement {
  position: relative;
  display: grid;
  justify-items: center;
  padding: 18vh var(--pad) 16vh;
  text-align: center;
}
.doodle--asterisk { width: clamp(84px, 10vw, 150px); stroke-width: 19; margin-bottom: 5vh; }
.statement__body {
  max-width: 36rem;
  margin-top: 6vh;
  font-size: clamp(19px, 1.55vw, 23px);
  line-height: 1.55;
  color: var(--mute);
  text-align: left;
}
.tint { color: var(--blue); }
.tint--alt { color: var(--violet-text); }
.statement__kicker {
  justify-self: end;
  margin-top: 3vh;
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(22px, 2vw, 30px);
  letter-spacing: -.01em;
  color: var(--paper);
}

/* =========================================================
   APPS INTRO
   ========================================================= */

.apps-intro {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 40rem) minmax(0, 1fr);
  align-items: end;
  padding: 12vh var(--pad) 8vh;
}
.apps-intro__inner { grid-column: 2; }
.apps-intro__title {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(30px, 2.8vw, 44px);
  letter-spacing: -.02em;
  margin-bottom: 26px;
}
.doodle--arrow { grid-column: 3; justify-self: start; width: clamp(64px, 6.5vw, 104px); stroke-width: 4.5; margin: 0 0 -6vh 2vw; }

/* =========================================================
   SHOWCASES
   ========================================================= */

.show { position: relative; isolation: isolate; overflow: clip; }

/* ---- App1 ---- */
.show--app1 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  column-gap: 4vw;
  min-height: 100vh;
  min-height: 100svh;
  padding: 16vh var(--pad) 14vh;
}
.show__ghost {
  position: absolute;
  inset: 0;
  z-index: -1;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.show__ghost span {
  font-family: var(--f-serif);
  font-weight: 400;
  font-size: clamp(130px, 29vw, 520px);
  line-height: 1;
  letter-spacing: -.02em;
  white-space: nowrap;
  color: rgba(239, 234, 226, .085);
  translate: 0 6%;
}
.app1__sun {
  position: absolute;
  left: 50%;
  bottom: -3%;
  z-index: -1;
  width: min(68vw, 860px);
  translate: -50% 0;
  opacity: .34;
  pointer-events: none;
}
.app1__meta { justify-self: start; align-self: center; max-width: 24rem; }
.show__name {
  margin-top: 22px;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(40px, 3.6vw, 56px);
  line-height: 1;
  letter-spacing: -.035em;
  white-space: nowrap;
}
.show__tagline { margin-top: 10px; font-size: 19px; color: var(--mute); }

.app1__stage { position: relative; grid-column: 2; }
.show--app1 .caps-lines { grid-column: 1 / -1; margin-top: 8vh; text-align: center; }

.phone {
  --pw: clamp(228px, 17.5vw, 272px);
  position: relative;
  width: var(--pw);
  aspect-ratio: 300 / 620;
  padding: 9px;
  border-radius: calc(var(--pw) * .16);
  background: linear-gradient(150deg, #34343b, #121215 40%, #1d1d22);
  box-shadow:
    inset 0 0 0 1.5px #3c3c43,
    0 60px 90px -30px rgba(0, 0, 0, .9),
    0 0 0 1px rgba(255, 255, 255, .05);
  container-type: inline-size;
}
.phone__screen {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: calc(var(--pw) * .13);
  padding: 5cqw 7cqw 0;
  background: #f6f1e8;
  color: #19160f;
  font-size: 4.7cqw;
  line-height: 1.3;
}
.ui-status { display: flex; justify-content: space-between; align-items: center; font-weight: 600; font-size: .92em; padding: 0 .3em; }
.ui-status__r { display: flex; gap: .45em; align-items: center; }
.ui-status .sig { width: 1.05em; height: .7em; background: linear-gradient(90deg, currentColor 0 18%, transparent 18% 27%, currentColor 27% 45%, transparent 45% 54%, currentColor 54% 72%, transparent 72% 81%, currentColor 81%); clip-path: polygon(0 100%, 100% 0, 100% 100%); }
.ui-status .bat { position: relative; width: 1.6em; height: .78em; border: 1.5px solid currentColor; border-radius: .25em; }
.ui-status .bat::after { content: ""; position: absolute; inset: 1.5px; right: 30%; background: currentColor; border-radius: 1px; }
.pb-date { margin-top: 1.3em; font-size: .78em; letter-spacing: .12em; text-transform: uppercase; color: #8b857a; }
.pb-hello { font-family: var(--f-display); font-weight: 600; font-size: 1.75em; letter-spacing: -.03em; line-height: 1.05; }
.pb-week { display: grid; grid-template-columns: repeat(7, 1fr); gap: .2em; margin-top: 1em; }
.pb-week li { position: relative; display: grid; place-items: center; height: 2.05em; border-radius: 999px; font-size: .78em; font-weight: 600; color: #8b857a; }
.pb-week .done::after { content: ""; position: absolute; bottom: .05em; width: .38em; height: .38em; border-radius: 50%; background: var(--sun); }
.pb-week .today { background: #19160f; color: #f6f1e8; }
.pb-rings { position: relative; width: 60%; margin: 1.1em auto .7em; }
.pb-rings svg { width: 100%; transform: rotate(-90deg); overflow: visible; }
.pb-rings .rb { fill: none; stroke: #e8dfd1; stroke-width: 9; }
.pb-rings .rr { fill: none; stroke-width: 9; stroke-linecap: round; stroke-dasharray: 100 200; }
.pb-rings .r1 { stroke: var(--sun); stroke-dashoffset: 18; }
.pb-rings .r2 { stroke: #2aa673; stroke-dashoffset: 42; }
.pb-rings .r3 { stroke: #7a5cff; stroke-dashoffset: 66; }
.pb-rings__n { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--f-display); font-weight: 600; font-size: 1.05em; color: #8b857a; }
.pb-rings__n b { font-size: 1.9em; color: #19160f; letter-spacing: -.04em; }
.pb-rings__n { grid-auto-flow: column; align-content: center; justify-content: center; align-items: baseline; }
.pb-list li { display: flex; align-items: center; gap: .65em; margin-top: .42em; padding: .52em .7em; background: #fff; border-radius: .95em; font-size: .9em; font-weight: 500; box-shadow: 0 1px 0 rgba(25, 22, 15, .05); }
.peb { flex: none; width: 1.45em; height: 1.05em; border-radius: 48% 52% 46% 54% / 58% 55% 45% 42%; }
.peb--a { background: #ffb38a; }
.peb--b { background: #9fe3c1; }
.peb--c { background: #c7b9ff; }
.ck { position: relative; flex: none; margin-left: auto; width: 1.4em; height: 1.4em; border-radius: 50%; border: 2px solid #ddd3c4; }
.ck--on { background: var(--sun); border-color: var(--sun); }
.ck--on::after { content: ""; position: absolute; left: .38em; top: .17em; width: .3em; height: .58em; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.pb-btn { margin-top: .95em; padding: .9em; border-radius: 999px; background: var(--sun); color: #1a0c05; text-align: center; font-weight: 700; font-size: 1em; box-shadow: 0 .6em 1.2em -.5em rgba(255, 90, 31, .8); }
.ui-home { position: absolute; left: 50%; bottom: .55em; width: 34%; height: .28em; translate: -50% 0; border-radius: 99px; background: #19160f; }

.doodle--sparkle { position: absolute; stroke-width: 4.5; }
.sp1 { width: 58px; top: -5%; right: -26%; }
.sp2 { width: 30px; top: 9%; right: -38%; }
.sp3 { width: 42px; bottom: 30%; left: -30%; }
.margin-note--app1 { position: absolute; left: 112%; bottom: 7%; width: max-content; rotate: -4deg; }
.margin-note--app1 svg { width: 58px; margin: 6px 0 0 -30px; }

/* ---- App2 ---- */
.show--app2 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  min-height: 118vh;
  min-height: 118svh;
  padding: 16vh var(--pad);
}
.app2__glow {
  position: absolute;
  left: 2%;
  top: 4%;
  z-index: -2;
  width: min(84vw, 1200px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(124, 92, 255, .52), rgba(110, 80, 240, .2) 46%, rgba(90, 60, 220, 0) 76%);
  pointer-events: none;
}
.app2__grid-wrap {
  position: absolute;
  left: -4vw;
  top: -10%;
  z-index: -1;
  width: 56vw;
  height: 120%;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-mask-image: linear-gradient(180deg, transparent 4%, #000 20%, #000 80%, transparent 96%);
  mask-image: linear-gradient(180deg, transparent 4%, #000 20%, #000 80%, transparent 96%);
}
.app2__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4vw;
  width: 44vw;
  rotate: 14deg;
}
.ng-col { display: flex; flex-direction: column; gap: 1.4vw; container-type: inline-size; }
.ng-col:nth-child(2) { margin-top: 10vw; }
.ng-col:nth-child(3) { margin-top: 3vw; }

.nc {
  position: relative;
  aspect-ratio: 3 / 4.4;
  overflow: hidden;
  padding: 9cqw;
  border-radius: 10cqw;
  background: #16142c;
  color: #ecebff;
  font-size: 7.4cqw;
  line-height: 1.3;
  box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .85), inset 0 0 0 1px rgba(255, 255, 255, .07);
}
.nc-h { font-family: var(--f-display); font-weight: 600; font-size: 1.05em; letter-spacing: -.01em; }
.nc-cap { position: absolute; left: 9cqw; bottom: 9cqw; z-index: 2; font-family: var(--f-display); font-weight: 600; font-size: 1.15em; letter-spacing: -.01em; }
.nc-sub { font-size: .8em; color: #aaa6d4; margin-top: .3em; }
.nc-sub--c { position: absolute; left: 0; right: 0; bottom: 9cqw; text-align: center; }
.nc-big { font-family: var(--f-display); font-weight: 600; font-size: 3.2em; letter-spacing: -.05em; line-height: 1; margin-top: .35em; }
.nc-big small { font-size: .3em; letter-spacing: 0; margin-left: .2em; color: #aaa6d4; }
.nc svg { width: 100%; }

.nc--moon { background: radial-gradient(circle at 72% 26%, #40368f, #1c1844 58%, #0f0d25); }
.nc-moon { position: absolute; top: 15%; right: 16%; width: 30cqw; aspect-ratio: 1; border-radius: 50%; background: #f5ecd6; box-shadow: 0 0 14cqw rgba(245, 236, 214, .35), inset -4cqw -2cqw 0 rgba(200, 180, 140, .35); }
.nc-stars { position: absolute; inset: 0; background-image:
  radial-gradient(1.5px 1.5px at 18% 22%, #fff, transparent),
  radial-gradient(1px 1px at 36% 48%, #fff, transparent),
  radial-gradient(1.5px 1.5px at 22% 64%, #fff, transparent),
  radial-gradient(1px 1px at 58% 70%, #fff, transparent),
  radial-gradient(1px 1px at 80% 58%, #fff, transparent),
  radial-gradient(1.5px 1.5px at 46% 14%, #fff, transparent),
  radial-gradient(1px 1px at 66% 40%, #fff, transparent); opacity: .85; }
.nc-stars--dense { background-size: 50% 40%; }

.nc--mixer { background: #17152e; }
.mx { margin-top: 1.05em; }
.mx span { font-size: .82em; color: #b9b6dc; }
.mx i { position: relative; display: block; height: 2.4cqw; margin-top: .45em; border-radius: 9px; background: linear-gradient(90deg, #8c6bff calc(var(--v) * 100%), #2d2a52 0); }
.mx i::after { content: ""; position: absolute; top: 50%; left: calc(var(--v) * 100%); width: 7cqw; height: 7cqw; border-radius: 50%; background: #fff; translate: -50% -50%; box-shadow: 0 2px 6px rgba(0, 0, 0, .4); }
.nc-pill { position: absolute; left: 9cqw; right: 9cqw; bottom: 9cqw; padding: .7em; border-radius: 999px; background: #8c6bff; color: #0d0b1e; text-align: center; font-weight: 600; font-size: .9em; }

.nc--rain {
  background:
    radial-gradient(circle at 26% 72%, rgba(255, 170, 90, .7) 0 3%, transparent 6%),
    radial-gradient(circle at 64% 80%, rgba(255, 200, 120, .55) 0 2.4%, transparent 5%),
    radial-gradient(circle at 80% 62%, rgba(255, 140, 80, .45) 0 3.4%, transparent 7%),
    radial-gradient(circle at 44% 58%, rgba(255, 220, 160, .35) 0 2%, transparent 4.5%),
    repeating-linear-gradient(104deg, transparent 0 11px, rgba(190, 210, 255, .16) 11px 12px),
    linear-gradient(180deg, #1c2747, #0d1326);
}

.nc--alarm { background: #1b1736; }
.nc-toggle { position: absolute; top: 9cqw; right: 9cqw; width: 17cqw; height: 9.6cqw; border-radius: 99px; background: #8c6bff; }
.nc-toggle::after { content: ""; position: absolute; right: 1.2cqw; top: 1.2cqw; width: 7.2cqw; height: 7.2cqw; border-radius: 50%; background: #fff; }
.nc--alarm .nc-big { margin-top: 1.1em; }

.nc--timer { background: #12102a; }
.nc--timer svg { width: 74%; margin: 1.1em auto 0; transform: rotate(-90deg); }
.t-bg { fill: none; stroke: #2b2752; stroke-width: 7; }
.t-fg { fill: none; stroke: var(--mint); stroke-width: 7; stroke-linecap: round; stroke-dasharray: 100 200; stroke-dashoffset: 25; }
.nc--timer .nc-big { position: absolute; left: 0; right: 0; top: 41%; text-align: center; font-size: 2.3em; margin: 0; }
.nc--timer .nc-sub { position: absolute; left: 0; right: 0; bottom: 9cqw; text-align: center; }

.nc--hills { padding: 0; background: linear-gradient(180deg, #1c1745, #4a347f 62%, #8c5a86); }
.nc--hills svg, .nc--sea svg, .nc--stars svg { position: absolute; inset: 0; height: 100%; }

.nc--breathe { background: radial-gradient(circle at 50% 52%, #17384a, #0d1b25 70%); }
.br { position: absolute; left: 50%; top: 52%; border-radius: 50%; translate: -50% -50%; }
.br1 { width: 74cqw; height: 74cqw; background: rgba(168, 230, 200, .1); animation: breathe 7s ease-in-out infinite; }
.br2 { width: 52cqw; height: 52cqw; background: rgba(168, 230, 200, .18); animation: breathe 7s ease-in-out .3s infinite; }
.br3 { width: 30cqw; height: 30cqw; background: rgba(168, 230, 200, .55); }
@keyframes breathe { 0%, 100% { transform: scale(.86); } 45% { transform: scale(1.06); } }

.nc--tiles { background: #17152e; }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 4cqw; margin-top: .9em; }
.tiles li { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .3em; aspect-ratio: 1 / .86; border-radius: 6cqw; background: #25224b; font-size: .72em; color: #cfc9f5; }
.tiles svg { width: 34%; fill: none; stroke: #cfc6ff; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.nc--playing { background: linear-gradient(180deg, #2a2262, #14122d 70%); }
.pl-art { display: block; width: 100%; aspect-ratio: 1.25; margin-top: .8em; border-radius: 6cqw; background: radial-gradient(circle at 32% 70%, #ffb27a, #ff6a2c 22%, #7c3b8e 55%, #1d1846 85%); }
.pl-t { margin-top: .7em; font-family: var(--f-display); font-weight: 600; font-size: 1.1em; }
.pl-wave { display: flex; align-items: center; gap: 2cqw; height: 9cqw; margin-top: .6em; }
.pl-wave i { flex: 1; border-radius: 2px; background: #8c6bff; height: 40%; }
.pl-wave i:nth-child(3n) { height: 90%; }
.pl-wave i:nth-child(4n+1) { height: 65%; }
.pl-wave i:nth-child(n+8) { background: #3a3566; }
.pl-ctrl { position: absolute; left: 0; right: 0; bottom: 8cqw; display: flex; justify-content: center; align-items: center; gap: 9cqw; }
.pl-ctrl i { display: block; }
.pl-play { width: 15cqw; height: 15cqw; border-radius: 50%; background: #fff; position: relative; }
.pl-play::after { content: ""; position: absolute; left: 40%; top: 50%; translate: 0 -50%; border-left: 5cqw solid #14122d; border-top: 3.2cqw solid transparent; border-bottom: 3.2cqw solid transparent; }
.pl-prev, .pl-next { width: 6cqw; height: 6cqw; border-top: 2px solid #cfc9f5; border-right: 2px solid #cfc9f5; }
.pl-prev { transform: rotate(-135deg); }
.pl-next { transform: rotate(45deg); }

.nc--sea { padding: 0; background: linear-gradient(180deg, #121c40, #23336a 55%, #101a3a); }
.nc--lamp { background: radial-gradient(circle at 50% 40%, #6e4020 0, #2b1b14 42%, #120d0c 76%); }
.lamp-glow { position: absolute; left: 50%; top: 40%; width: 120cqw; height: 120cqw; translate: -50% -50%; background: radial-gradient(closest-side, rgba(255, 190, 110, .45), transparent); }
.lamp { position: absolute; left: 50%; top: 22%; width: 40cqw; height: 24cqw; translate: -50% 0; background: linear-gradient(180deg, #ffd9a0, #f0a860); clip-path: polygon(22% 0, 78% 0, 100% 100%, 0 100%); }
.lamp::after { content: ""; position: absolute; left: 47%; top: 100%; width: 6%; height: 60cqw; background: #c98d52; }
.nc--stars { padding: 0; background: radial-gradient(circle at 30% 20%, #1e1a44, #0c0b1d 70%); }

.app2__copy { grid-column: 2; position: relative; z-index: 2; text-align: right; }
.app2__word {
  margin-top: 22px;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(64px, 9vw, 150px);
  line-height: .88;
  letter-spacing: -.03em;
  margin-right: -.04em;
}
.app2__word .ch { display: inline-block; }
.app2__sub { margin-top: 14px; font-family: var(--f-display); font-weight: 500; font-size: clamp(20px, 1.8vw, 28px); letter-spacing: -.01em; }
.caps-lines--right { margin-top: 6vh; }
.squiggled { position: relative; display: inline-block !important; }
.doodle--squiggle { position: absolute; left: -3%; bottom: -.62em; width: 106%; height: .8em; stroke-width: 3; }
.doodle--squiggle path { vector-effect: non-scaling-stroke; }

/* =========================================================
   MORE
   ========================================================= */

.more { position: relative; padding: 18vh var(--pad) 10vh; }
.more__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px 40px; }
.outline-title--md { font-size: clamp(42px, 6.4vw, 108px); }
.more__aside { font-style: italic; font-size: clamp(19px, 1.6vw, 24px); color: var(--mute); padding-bottom: .6em; }
.icon-row {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 2vw;
  margin-top: 9vh;
}
.icon-row li { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.icon-row .app-icon { --s: clamp(76px, 8.2vw, 132px); transition: transform .55s var(--ease-out), box-shadow .55s var(--ease-out); }
.icon-row li:nth-child(odd) .app-icon { --tilt: -5deg; }
.icon-row li:nth-child(even) .app-icon { --tilt: 5deg; }
.icon-row li:hover .app-icon { transform: translateY(-12px) rotate(var(--tilt)); box-shadow: inset 0 2px 1px rgba(255, 255, 255, .5), inset 0 -8px 16px rgba(0, 0, 0, .22), 0 34px 40px -16px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .08); }
.icon-name { font-size: 16px; font-weight: 500; color: var(--paper); }
.more__caption { margin-top: 7vh; text-align: center; font-size: 16px; color: var(--mute); }
.circle-link {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: .4em;
  min-height: 44px;
  margin: 3.5vh auto 0;
  padding: 10px 14px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  transition: color .3s ease;
}
.circled { position: relative; color: var(--sun); }
.doodle--circle { position: absolute; left: -24%; top: -52%; width: 148%; height: 204%; stroke-width: 2.4; }
.doodle--circle path { vector-effect: non-scaling-stroke; }
.circle-link:hover { color: var(--sun); }

/* =========================================================
   NUMBERS
   ========================================================= */

.numbers { position: relative; padding: 14vh 0 6vh; overflow: clip; isolation: isolate; }
.numbers__star {
  position: absolute;
  right: -15vw;
  top: 2vh;
  z-index: -1;
  width: min(54vw, 860px);
  pointer-events: none;
}
.numbers__inner { padding: 0 var(--pad); }
.numbers__big {
  font-family: var(--f-display);
  font-weight: 700;
  font-stretch: 90%;
  font-size: clamp(72px, 12vw, 208px);
  line-height: .92;
  letter-spacing: .005em;
}
.numbers__big .line { padding-bottom: .06em; }
.numbers__second { margin-top: .12em; font-size: .5em; font-weight: 600; letter-spacing: 0; }
.numbers__second .count { color: var(--sun); }
.numbers__line { margin-top: 4.5vh; font-size: clamp(18px, 1.5vw, 22px); color: var(--mute); }

.promises { position: relative; margin-top: 13vh; }
.promises__title { padding: 0 var(--pad); font-size: 16px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
.marquee {
  margin-top: 26px;
  padding: 6px 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.marquee:focus-visible { outline-offset: -2px; border-radius: 0; }
.marquee__track { display: flex; width: max-content; animation: marquee 56s linear infinite; }
.marquee:hover .marquee__track,
.marquee:focus-within .marquee__track { animation-play-state: paused; }
.marquee__list { display: flex; gap: 16px; padding-right: 16px; }
@keyframes marquee { to { transform: translateX(-50%); } }
.pcard {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 26px;
  width: 300px;
  min-height: 156px;
  padding: 20px 22px 22px;
  border-radius: 16px;
  background: #151518;
  border: 1px solid #232328;
}
.pcard__no { font-size: 14px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--sun); }
.pcard__t { font-size: 18px; font-weight: 500; line-height: 1.35; color: var(--paper); }
.margin-note--promises { margin-top: 30px; padding: 0 var(--pad); text-align: center; font-size: 26px; color: var(--mute); rotate: -1.5deg; }

/* =========================================================
   TRAY · the signature moment
   One pinned viewport: a waiter's arm glides in from the right with a tray,
   three ingredients side by side, tags pin on one by one.
   Static by default (JS off, GSAP blocked, reduced motion); site.js adds
   html.motion to turn the track tall and the stage sticky.
   ========================================================= */

.tray-scene { position: relative; }
.tray-scene__track { position: relative; }
.motion .tray-scene__track { height: 270vh; height: 270svh; }
.tray-scene__stage {
  /* rig geometry: --rig-w is the arm image width (tray = 73% of it, sleeve exits its right edge);
     the tray's left edge sits at --rig-x; --rig-y is where the image's vertical centre lands */
  --rig-w: min(65vw, 128vh);
  --rig-x: 45vw;
  --rig-y: 56%;
  --tag-fs: clamp(18px, 1.85vw, 30px);
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 600px;
  overflow: clip;
}
.motion .tray-scene__stage { position: sticky; top: 0; }

.tray-scene__head {
  position: absolute;
  left: var(--pad);
  top: 47%;
  translate: 0 -50%;
  max-width: 9em;
  font-family: var(--f-body);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(38px, 4.4vw, 74px);
  line-height: 1.04;
  letter-spacing: -.025em;
  color: var(--blue);
}

/* no CSS transform on the rig: GSAP owns its transform (x + settle rotation) */
.tray-rig {
  position: absolute;
  left: var(--rig-x);
  top: calc(var(--rig-y) - var(--rig-w) * .232);
  width: var(--rig-w);
  aspect-ratio: 1373 / 637;
}
.tray-rig__arm { width: 100%; height: auto; max-width: none; }

/* the three ingredients stand on the tray's top surface, side by side, bases on one line */
.tray-rig__items {
  position: absolute;
  left: 6.5%;
  width: 61%;
  bottom: 80.5%;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}
.tray-item { position: relative; flex: none; }
.tray-item img { width: 100%; height: auto; max-width: none; }
.tray-item--cup   { width: 31%; }
.tray-item--beans { width: 27.5%; margin-bottom: 1.2%; }
.tray-item--jug   { width: 25%; }
.tray-item--cup .tray-tag   { left: 20%; top: 54%; rotate: -6deg; }
.tray-item--beans .tray-tag { left: 14%; top: 66%; rotate: 4deg; }
.tray-item--jug .tray-tag   { left: 6%;  top: 38%; rotate: -3deg; }

.tray-tag {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: .34em;
  padding: .1em .34em .16em .3em;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: var(--tag-fs, 28px);
  line-height: 1;
  letter-spacing: -.03em;
  white-space: nowrap;
  color: var(--ink);
  background: var(--sun);
  border-radius: .12em .3em .3em .12em;
  box-shadow: 0 .14em 0 rgba(0, 0, 0, .4);
  transform-origin: 20% 50%;
}
/* punched eyelet: reads as a paper tag */
.tray-tag::before {
  content: "";
  flex: none;
  width: .24em;
  height: .24em;
  border-radius: 50%;
  background: var(--paper);
  box-shadow: 0 0 0 .05em rgba(11, 11, 13, .75), inset 0 .03em .03em rgba(0, 0, 0, .35);
}

.tray-sp { position: absolute; stroke-width: 4.5; }
.tray-sp--1 { left: 1.5%; top: -26%; width: 4.2%; }
.tray-sp--2 { left: 31%;  top: -36%; width: 2.4%; }
.tray-sp--3 { left: 68%;  top: -24%; width: 3.4%; }

/* =========================================================
   ABOUT / PRINCIPLES
   ========================================================= */

.about { padding: 20vh var(--pad) 18vh; max-width: calc(40rem + 2 * var(--pad)); }
.eyebrow { font-size: 15px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.about__lead {
  margin-top: 22px;
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(26px, 2.5vw, 38px);
  line-height: 1.2;
  letter-spacing: -.02em;
  color: var(--sun);
}
.about__body { margin-top: 26px; font-size: 18px; line-height: 1.65; color: var(--mute); }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  margin-top: 24px;
  font-weight: 500;
  color: var(--paper);
  background: linear-gradient(var(--sun), var(--sun)) left 82% / 100% 1px no-repeat;
  transition: color .3s ease, background-size .4s var(--ease-out);
}
.text-link:hover { color: var(--sun); }

/* =========================================================
   CTA
   ========================================================= */

.cta { position: relative; padding: 11vh var(--pad); color: var(--ink); overflow: clip; isolation: isolate; }
.cta__bg { position: absolute; inset: 0; z-index: -1; background: var(--cream); transform-origin: 0 50%; }
.cta__inner { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 40px; }
.cta__title {
  font-family: var(--f-display);
  font-weight: 700;
  font-style: italic;
  font-size: clamp(72px, 11.5vw, 196px);
  line-height: .9;
  letter-spacing: -.02em;
}
.cta__word { display: inline-block; padding-right: .08em; }
.cta__link {
  display: inline-flex;
  align-items: flex-end;
  gap: 12px;
  min-height: 44px;
  padding: 6px 4px;
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 1.4vw;
}
.cta__link svg { width: 54px; fill: none; stroke: var(--ink); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.cta__link span { background: linear-gradient(var(--ink), var(--ink)) left 100% / 0 1.5px no-repeat; transition: background-size .45s var(--ease-out); }
.cta__link:hover span { background-size: 100% 1.5px; }
.cta :focus-visible { outline-color: var(--ink); }

/* =========================================================
   FOOTER
   ========================================================= */

.footer { padding: 12vh var(--pad) 5vh; background: var(--ink); }
.footer__top { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 3fr); gap: 40px 6vw; }
.footer__brand p { margin-top: 14px; color: var(--mute); font-size: 17px; }
.footer__cols { display: grid; grid-template-columns: repeat(5, auto); justify-content: space-between; gap: 32px 3vw; }
.footer__cols h2 { margin-bottom: 10px; font-size: 14px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
.footer__cols a { display: inline-flex; align-items: center; min-height: 44px; font-size: 16px; color: var(--paper); transition: color .25s ease; }
.footer__cols a:hover { color: var(--sun); }
.footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 11vh; padding-top: 24px; border-top: 1px solid var(--line); font-size: 15px; color: var(--mute); }

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1100px) {
  .footer__top { grid-template-columns: 1fr; }
}

@media (max-width: 1024px) {
  .show--app1 { grid-template-columns: minmax(0, 1fr) auto minmax(0, .6fr); }
  .margin-note--app1 { display: none; }
  .tray-scene__stage { --rig-x: 47vw; --rig-w: min(66vw, 120vh); }
  .tray-scene__head { font-size: clamp(36px, 4.6vw, 52px); }
  .icon-row { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 6vh; max-width: 640px; margin-inline: auto; }
  .apps-intro { grid-template-columns: minmax(0, 1fr); justify-items: center; }
  .apps-intro__inner { grid-column: 1; width: min(100%, 40rem); }
  .doodle--arrow { grid-column: 1; justify-self: end; margin: 2vh 8vw -6vh 0; }
}

@media (max-width: 860px) {
  :root { --nav-h: 64px; }
  .js .nav__links { display: none; }
  .js .nav__toggle { display: inline-flex; }
  html:not(.js) .nav__inner { height: auto; min-height: var(--nav-h); flex-wrap: wrap; padding-block: 8px; }
  html:not(.js) .nav__links ul { flex-wrap: wrap; }

  .hero__title { font-size: clamp(40px, 7.4vw, 60px); }
  .piece--rooster { top: calc(var(--nav-h) + 8px); width: 20vw; }
  .piece--phone { width: 27vw; bottom: -8%; }
  .margin-note--rooster { left: 21vw; top: 6.5%; }

  .show--app1 { grid-template-columns: 1fr; justify-items: center; text-align: center; row-gap: 7vh; }
  .app1__meta { justify-self: center; max-width: none; }
  .app1__stage { grid-column: 1; }
  .show--app1 .caps-lines { margin-top: 24px; position: relative; z-index: 1; }
  .app1__sun { width: 128vw; }

  .show--app2 { grid-template-columns: 1fr; padding-top: 0; min-height: 0; }
  .app2__grid-wrap { position: relative; left: auto; top: auto; width: auto; height: 118vw; margin: 0 calc(var(--pad) * -1); overflow: visible; }
  .app2__grid { width: 96vw; gap: 3vw; }
  .ng-col { gap: 3vw; }
  .ng-col:nth-child(2) { margin-top: 20vw; }
  .ng-col:nth-child(3) { margin-top: 6vw; }
  .app2__glow { left: -30%; top: 0; width: 150vw; }
  .app2__copy { grid-column: 1; text-align: left; margin-top: 2vh; }
  .app2__word { font-size: clamp(64px, 19vw, 120px); }
  .doodle--squiggle { left: 0; width: 100%; }

  .numbers { padding-top: 36vw; }
  .numbers__star { top: -6vw; right: -26vw; width: 76vw; }

  /* tray scene re-composed: headline on top, tray enters below it from the right */
  .tray-scene__stage { --rig-w: 104vw; --rig-x: 6vw; --rig-y: 64%; --tag-fs: clamp(16px, 4.6vw, 28px); }
  .tray-scene__head { top: 20%; translate: none; max-width: none; font-size: clamp(34px, 9.6vw, 64px); }

  .footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); justify-content: start; }
}

@media (max-width: 640px) {
  body { font-size: 17px; }
  .hero { padding: calc(var(--nav-h) + 150px) 20px 150px; place-items: center; }
  .hero__lede { font-size: 17px; text-align: center; hyphens: manual; text-wrap: pretty; }
  .piece--rooster { left: -14px; top: calc(var(--nav-h) + 6px); width: 128px; }
  .piece--phone { right: -26px; bottom: -64px; width: 148px; }
  .piece--i1 { right: 9%; top: calc(var(--nav-h) + 30px); }
  .piece--i1 .app-icon { --s: 60px; }
  .piece--i2 { left: 7%; bottom: 7%; }
  .piece--i2 .app-icon { --s: 52px; }
  .piece--i3 { left: auto; right: 38%; top: calc(var(--nav-h) + 92px); }
  .piece--i3 .app-icon { --s: 34px; }
  .piece--i4 { right: auto; left: 34%; bottom: 3.5%; }
  .piece--i4 .app-icon { --s: 40px; }
  .margin-note--rooster { display: none; }
  .doodle--scribble { right: 6%; top: auto; bottom: 21%; width: 56px; }
  .scroll-cue { display: none; }

  .statement { padding: 14vh 20px 12vh; }
  .statement .outline-title { font-size: clamp(40px, 13.6vw, 64px); -webkit-text-stroke-width: 2.4px; }
  .statement__kicker { margin-right: 0; }

  .apps-intro { grid-template-columns: 1fr; padding-top: 10vh; }
  .apps-intro__inner { grid-column: 1; }
  .doodle--arrow { grid-column: 1; justify-self: end; width: 58px; margin: 2vh 6vw -6vh 0; }
  .caps-lines span { font-size: 16px; letter-spacing: .09em; line-height: 1.75; }

  .show--app1 { padding: 12vh 20px 10vh; }
  .show__ghost span { font-size: 40vw; }
  .sp1 { right: -20%; width: 44px; }
  .sp2 { right: -24%; width: 24px; top: 14%; }
  .sp3 { left: -20%; width: 32px; }

  .more { padding: 14vh 20px 8vh; }
  .numbers { padding-top: 46vw; }
  .numbers__star { top: -12vw; width: 62vw; }
  .more__head { flex-direction: column; align-items: flex-start; }
  .icon-row { gap: 5vh 10px; }
  .icon-row .app-icon { --s: 84px; }

  .pcard { width: 264px; }

  .tray-scene__stage { --rig-w: 124vw; --rig-x: 4vw; --rig-y: 66%; }
  .tray-scene__head { top: 25%; }

  .about { padding: 16vh 20px 14vh; }
  .cta { padding: 9vh 20px 10vh; }
  .cta__inner { flex-direction: column; align-items: flex-start; }
  .footer { padding-top: 10vh; }
}

/* ---------- reduced motion: everything static and visible ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .marquee__list[aria-hidden="true"] { display: none; }
  .marquee__track { padding: 0 var(--pad); }
  .marquee__list { padding-right: 0; }

}
