/* =========================================================
   ZENVIAX — every website starts as plain HTML.
   ========================================================= */

@font-face { font-family: "Bricolage"; src: url(../assets/fonts/bricolage.woff2) format("woff2-variations"), url(../assets/fonts/bricolage.woff2) format("woff2"); font-weight: 200 800; font-stretch: 75% 100%; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url(../assets/fonts/instrument-serif-italic.woff2) format("woff2"); font-style: italic; font-weight: 400; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url(../assets/fonts/instrument-serif.woff2) format("woff2"); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url(../assets/fonts/jetbrains-mono.woff2) format("woff2"); font-weight: 400; font-display: swap; }

:root {
  --cobalt: #2340ff;
  --cobalt-d: #1730d9;
  --cream: #f2eee3;
  --paper: #fbf9f4;
  --ink: #0e0e14;
  --lime: #d7ff3c;
  --muted-d: #a9acc4;
  --muted-l: #5d5f70;

  --sans: "Bricolage", "Helvetica Neue", Arial, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;

  --pad: clamp(1.1rem, 3.6vw, 3.25rem);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.83, 0, 0.17, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
::selection { background: var(--lime); color: var(--ink); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: 1480px; margin: 0 auto; padding: 0 var(--pad); }
.cmt { font-family: var(--mono); font-size: 0.82rem; letter-spacing: 0.02em; margin: 0 0 1.25rem; opacity: 0.6; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 52px; padding: 0 1.6rem; border-radius: 999px; border: 0; cursor: pointer;
  font-weight: 600; font-size: 1rem; text-decoration: none; white-space: nowrap;
  transition: transform 0.5s var(--ease), background 0.3s, color 0.3s, box-shadow 0.5s var(--ease);
}
.btn:hover { transform: translateY(-2px) rotate(-1deg); }
.btn--lime { background: var(--lime); color: var(--ink); box-shadow: 0 0 0 0 rgba(215, 255, 60, 0.5); }
.btn--lime:hover { box-shadow: 0 14px 40px -12px rgba(215, 255, 60, 0.75); }
.btn--line { box-shadow: inset 0 0 0 1.5px currentColor; }
.btn--line:hover { background: var(--cream); color: var(--cobalt); }
.btn--ink { background: var(--ink); color: var(--cream); }
.btn--ink:hover { background: var(--cobalt); }
.btn--xl { min-height: 64px; padding: 0 2rem; font-size: clamp(1rem, 1.5vw, 1.2rem); }

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: fixed; z-index: 80; top: 14px; left: 50%;
  display: flex; align-items: center; gap: 0.25rem;
  padding: 6px; border-radius: 999px;
  background: rgba(14, 14, 20, 0.78);
  backdrop-filter: blur(14px) saturate(160%); -webkit-backdrop-filter: blur(14px) saturate(160%);
  color: var(--cream); font-size: 0.92rem; font-weight: 500;
  transform: translate(-50%, -140%);
  transition: transform 0.8s var(--ease);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.4);
}
.nav.is-on { transform: translate(-50%, 0); }
.nav a { text-decoration: none; }
.nav__logo { display: flex; align-items: center; gap: 0.5rem; padding: 0 0.9rem 0 0.35rem; font-weight: 700; letter-spacing: -0.01em; }
.nav__z { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--cobalt); color: #fff; font-weight: 800; font-size: 0.9rem; }
.nav__links { display: flex; }
.nav__links a { padding: 0.55rem 0.85rem; border-radius: 999px; transition: background 0.3s; }
.nav__links a:hover { background: rgba(242, 238, 227, 0.1); }
.nav__cta { margin-left: 0.25rem; padding: 0.6rem 1.1rem; border-radius: 999px; background: var(--lime); color: var(--ink); font-weight: 600; }
@media (max-width: 720px) {
  .nav { left: 12px; right: 12px; transform: translateY(-140%); justify-content: space-between; }
  .nav.is-on { transform: none; }
  .nav__links { display: none; }
}

/* =========================================================
   01 · BUILD
   ========================================================= */
.build { position: relative; height: 820vh; background: #fff; }
.no-js .build, .reduce .build { height: auto; }
.no-js .build__sticky, .reduce .build__sticky { display: block; height: auto; position: relative; }
.no-js .build__cam, .reduce .build__cam { height: 100vh; height: 100svh; }
.no-js .dev, .reduce .dev, .no-js .note, .reduce .note { display: none; }
.no-js .wl, .reduce .wl { position: relative; visibility: visible; padding: 6rem 0 8rem; }
.no-js .wk__meta, .reduce .wk__meta { opacity: 1; transform: none; position: static; margin-top: 14px; }
.no-js .wl__cap, .reduce .wl__cap { opacity: 1; }
.no-js .wl__row, .reduce .wl__row { flex-wrap: wrap; }
.build__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; background: #fff; }
.no-js .build__sticky, .reduce .build__sticky { position: relative; }

.build__cam { position: relative; flex: 1 1 auto; min-width: 0; height: 100%; transform-origin: 50% 50%; will-change: transform; }

/* ---------- the page, raw (browser defaults) ---------- */
.page {
  position: absolute; inset: 0;
  container-type: inline-size;
  overflow: hidden;
  padding: 8px;
  background: #fff; color: #000;
  font-family: "Times New Roman", Times, serif; font-size: 16px; line-height: normal;
  transition: background-color 1s var(--ease), color 1s var(--ease), padding 1s var(--ease);
}
.page > * { transition: font-size 1s var(--ease), letter-spacing 1s var(--ease), line-height 1s var(--ease), color 1s var(--ease), max-width 1s var(--ease), margin 1s var(--ease), opacity 0.6s; }
.p-foot { margin: 0 0 1em; }
.p-foot small { font-size: smaller; }
.p-nav { margin: 0; }
.p-nav a, .p-link { color: #0000ee; text-decoration: underline; transition: color 1s var(--ease), text-decoration-color 1s; }
.p-title { margin: 0.67em 0; font-size: 2em; font-weight: bold; line-height: normal; }
.p-dot { transition: color 0.8s; }
.p-tag { margin: 1em 0; max-width: 60ch; }
.p-list { margin: 1em 0; padding-left: 40px; list-style: disc; }
.p-cta { margin: 1em 0; }
.p-btn {
  display: inline-block; padding: 1px 6px; color: #000; text-decoration: none;
  font: 13.33px Arial, sans-serif; background: #efefef; border: 2px outset #d6d6d6; border-radius: 0;
  transition: background 1s var(--ease), color 1s, padding 1s var(--ease), border-radius 1s var(--ease), font-size 1s var(--ease), border-color 1s;
}
.p-fig { margin: 1em 0; }
.p-img { display: inline-block; width: 120px; height: auto; margin-right: 4px; vertical-align: bottom; transition: border-radius 1s var(--ease), box-shadow 1s var(--ease), rotate 1s var(--ease), translate 1s var(--ease); }
.p-sticker { display: none; }
.p-cursor { display: none; }
.s5 .p-cursor { display: inline-block; width: 0.4em; height: 0.68em; margin-left: 0.04em; background: var(--lime); vertical-align: baseline; animation: blink 1s steps(1) infinite; }
.no-tr, .no-tr > *, .no-tr .p-img { transition: none !important; }

.note {
  position: absolute; z-index: 5; right: clamp(1rem, 6%, 5rem); top: 42%;
  margin: 0; max-width: 20rem; padding: 1.1rem 1.25rem;
  background: var(--lime); color: var(--ink);
  font-family: var(--serif); font-style: italic; font-size: clamp(1.25rem, 2vw, 1.6rem); line-height: 1.15;
  rotate: -4deg; box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.45);
  transition: opacity 0.6s, scale 0.8s var(--ease), rotate 0.8s var(--ease);
}
.note b { font-family: var(--sans); font-style: normal; font-weight: 700; }
.s1 .note { opacity: 0; scale: 0.6; rotate: -16deg; pointer-events: none; }

/* ---------- s1 · type ---------- */
.s1 .page { font-family: var(--sans); }
.s1 .p-title { font-size: 21cqw; font-weight: 800; letter-spacing: -0.065em; line-height: 0.8; margin: 0.12em 0 0.05em -0.04em; }
.s1 .p-tag { font-size: clamp(1.1rem, 2.5cqw, 2.4rem); line-height: 1.12; letter-spacing: -0.02em; max-width: 20ch; }
.s1 .p-tag em { font-size: 1.1em; }
.s1 .p-list { font-size: 0.95rem; }
.s1 .p-nav { font-size: 0.95rem; }
.s1 .p-foot { font-family: var(--mono); font-size: 0.75rem; }
.s1 .p-btn { font-family: var(--sans); font-size: 1rem; }

/* ---------- s2 · colour ---------- */
.s2 .page { background: var(--cobalt); color: var(--cream); }
.s2 .p-nav a, .s2 .p-link { color: var(--cream); text-decoration-color: rgba(242, 238, 227, 0.4); }
.s2 .p-btn { background: var(--lime); color: var(--ink); border-color: transparent; border-radius: 999px; padding: 0.9rem 1.5rem; font-weight: 600; }

/* ---------- s3 · layout ---------- */
.s3 .page {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: auto auto 1fr auto auto;
  column-gap: 1.25rem;
  padding: clamp(1rem, 2.4cqw, 2.5rem);
  padding-top: clamp(1rem, 2cqw, 2rem);
}
.s3 .p-foot { grid-column: 1 / 7; grid-row: 1; margin: 0; align-self: center; opacity: 0.75; }
.s3 .p-nav { grid-column: 7 / 13; grid-row: 1; justify-self: end; align-self: center; display: flex; gap: 1.2rem; }
.s3 .p-nav { font-size: 0; }
.s3 .p-nav a { font-size: 0.95rem; text-decoration: none; }
.s3 .p-tag { grid-column: 1 / 6; grid-row: 2; margin: 2.5cqw 0 0; }
.s3 .p-cta { grid-column: 1 / 6; grid-row: 3; align-self: start; margin: 1.5rem 0 0; display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; }
.s3 .p-list { grid-column: 10 / 13; grid-row: 2 / 4; margin: 2.5cqw 0 0; padding: 0; list-style: none; font-family: var(--mono); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.04em; counter-reset: li; align-self: start; }
.s3 .p-list li { counter-increment: li; padding: 0.55rem 0; border-top: 1px solid rgba(242, 238, 227, 0.25); }
.s3 .p-list li::before { content: "0" counter(li) "  "; white-space: pre; opacity: 0.55; }
.s3 .p-fig { grid-column: 6 / 10; grid-row: 2 / 5; position: relative; margin: 0; min-height: 0; }
.s3 .p-img { position: absolute; width: 54%; margin: 0; aspect-ratio: 4 / 5; height: auto; object-fit: cover; object-position: top; }
.s3 .p-img--1 { left: -4%; top: 16%; rotate: -9deg; }
.s3 .p-img--2 { left: 21%; top: 4%; z-index: 2; rotate: 3deg; }
.s3 .p-img--3 { left: 42%; top: 20%; rotate: 11deg; }
.s3 .p-title { grid-column: 1 / 13; grid-row: 5; margin: 0 0 -0.06em -0.04em; position: relative; z-index: 3; }

/* ---------- s4 · details ---------- */
.s4 .p-img { border-radius: 14px; box-shadow: 0 30px 60px -20px rgba(5, 10, 60, 0.55); }
.s4 .p-dot { color: var(--lime); }
.s4 .p-sticker {
  display: grid; place-items: center; position: absolute; z-index: 4;
  left: -12%; top: 62%; width: 30%; aspect-ratio: 1;
  animation: pop 0.9s var(--ease) both;
}
.p-sticker svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.p-sticker circle { fill: var(--lime); }
.p-sticker text { fill: var(--ink); font-family: var(--mono); font-size: 14.5px; letter-spacing: 0.08em; text-transform: uppercase; }
.p-sticker::before { content: ""; position: absolute; inset: 6%; border-radius: 50%; background: var(--lime); box-shadow: 0 16px 40px -14px rgba(0, 0, 0, 0.5); }
.p-sticker svg { z-index: 1; }
.p-sticker b { position: relative; z-index: 2; font-size: 2.6cqw; font-weight: 800; color: var(--cobalt); }
@keyframes pop { from { scale: 0; rotate: -90deg; } to { scale: 1; rotate: 0deg; } }

/* ---------- s5 · motion ---------- */
.s5 .p-sticker svg { animation: spin 14s linear infinite; }
.s5 .p-img--1 { animation: bob 6s ease-in-out infinite; }
.s5 .p-img--2 { animation: bob 6s ease-in-out -2s infinite; }
.s5 .p-img--3 { animation: bob 6s ease-in-out -4s infinite; }
@keyframes spin { to { rotate: 360deg; } }
@keyframes bob { 50% { translate: 0 -10px; } }
.zooming .p-img { animation: none !important; }
.zooming .p-img--2 { rotate: 0deg; transition: none; }

/* ---------- dev panel ---------- */
.dev {
  flex: 0 0 min(34vw, 500px); min-width: 0; height: 100%; overflow: hidden;
  display: flex; flex-direction: column;
  background: #15151d; color: #c9cbe0;
  font-family: var(--mono); font-size: 13px;
  border-left: 1px solid #2a2a36;
  transition: flex-basis 1.1s var(--ease-io);
}
.s5 .dev { flex-basis: 0; }
.dev__tabs { display: flex; gap: 2px; padding: 8px 8px 0; background: #101017; white-space: nowrap; }
.dev__tabs span { padding: 8px 14px; border-radius: 8px 8px 0 0; color: #7d8099; }
.dev__tabs .is-on { background: #15151d; color: #fff; }
.dev__tabs i { display: inline-block; width: 7px; height: 7px; margin-left: 6px; border-radius: 50%; background: var(--lime); vertical-align: middle; }
.dev__code { flex: 1; margin: 0; padding: 18px 20px; overflow: hidden; line-height: 1.75; white-space: pre-wrap; word-break: break-word; }
.dev__code .ln { display: block; padding-left: 2.6em; text-indent: -2.6em; }
.dev__code .no { display: inline-block; width: 2.6em; text-indent: 0; color: #4b4e63; }
.dev__code .c { color: #6b6f8a; }
.dev__code .s { color: #8fa2ff; }
.dev__code .p { color: #c9cbe0; }
.dev__code .v { color: var(--lime); }
.dev__code .k { color: #ff9e7a; }
.dev__code .caret { display: inline-block; width: 8px; height: 1.15em; vertical-align: text-bottom; background: var(--lime); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.dev__steps { list-style: none; margin: 0; padding: 14px 20px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; border-top: 1px solid #2a2a36; counter-reset: st; }
.dev__steps li { counter-increment: st; padding: 8px 0 0; border-top: 2px solid #2a2a36; color: #6b6f8a; font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em; transition: color 0.4s, border-color 0.4s; }
.dev__steps li::before { content: counter(st) " "; }
.dev__steps li.is-done { color: #fff; border-color: var(--lime); }
.dev__bar { display: flex; align-items: center; gap: 12px; padding: 0 20px 18px; }
.dev__bar i { flex: 1; height: 3px; background: #2a2a36; overflow: hidden; }
.dev__bar b { display: block; height: 100%; width: 100%; background: var(--lime); transform-origin: left; transform: scaleX(0); }
.dev__pct { min-width: 3.5em; color: #fff; }

/* ---------- work layer (after the zoom) ---------- */
.wl {
  position: absolute; inset: 0; z-index: 6;
  background: var(--ink); color: var(--cream);
  visibility: hidden;
  display: flex; flex-direction: column; justify-content: center;
}
.wl.is-on { visibility: visible; }
.wl__bg {
  position: absolute; inset: 0; margin: 0;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  font-weight: 800; font-size: clamp(5rem, 19vw, 22rem); line-height: 0.78; letter-spacing: -0.06em; text-transform: uppercase;
  color: #1c1c28; pointer-events: none;
}
.wl__bg em { text-transform: none; color: #1c1c28; font-size: 1.12em; }
.wl__row { position: relative; display: flex; justify-content: center; align-items: center; gap: clamp(1rem, 2.4vw, 2.5rem); }
.wk { position: relative; flex: 0 0 auto; width: min(27vw, 62vh); text-decoration: none; will-change: transform; }
.wk__frame { display: block; aspect-ratio: 4 / 3.9; overflow: hidden; border-radius: 16px; background: #222; }
.wk__frame img { width: 100%; height: auto; will-change: transform; }
.wk__meta { position: absolute; left: 0; right: 0; top: calc(100% + 14px); display: flex; flex-direction: column; gap: 2px; opacity: 0; transform: translateY(10px); transition: opacity 0.6s, transform 0.8s var(--ease); }
.wk__meta b { font-size: 1.05rem; font-weight: 600; letter-spacing: -0.01em; }
.wk__meta span { font-size: 0.88rem; color: var(--muted-d); }
.wk:hover .wk__frame { outline: 2px solid var(--lime); outline-offset: 4px; }
.wl.show-meta .wk__meta { opacity: 1; transform: none; }
.wl__cap { position: absolute; left: 0; right: 0; bottom: clamp(1rem, 4vh, 2.5rem); margin: 0; text-align: center; font-size: 0.95rem; color: var(--muted-d); opacity: 0; transition: opacity 0.6s; }
.wl__cap a { color: var(--lime); }
.wl.show-meta .wl__cap { opacity: 1; }

/* ---------- build: phones ---------- */
@media (max-width: 820px) {
  .build__sticky { flex-direction: column; }
  .dev { flex: 0 0 32%; border-left: 0; border-top: 1px solid #2a2a36; font-size: 11.5px; transition: flex-basis 1.1s var(--ease-io); }
  .dev__code { padding: 12px 14px; line-height: 1.6; }
  .dev__steps { padding: 10px 14px; }
  .dev__bar { padding: 0 14px 12px; }
  .note { left: 50%; right: auto; top: auto; bottom: 8%; translate: -50% 0; max-width: 17rem; font-size: 1.2rem; }

  .s1 .p-title { font-size: 25cqw; }
  .s3 .page { grid-template-columns: repeat(6, minmax(0, 1fr)); grid-template-rows: auto auto auto 1fr auto; column-gap: 0.75rem; }
  .s3 .p-foot { grid-column: 1 / 7; }
  .s3 .p-nav { display: none; }
  .s3 .p-tag { grid-column: 1 / 7; grid-row: 2; margin-top: 0.75rem; font-size: clamp(1.05rem, 5.4cqw, 1.6rem); }
  .s3 .p-cta { grid-column: 1 / 7; grid-row: 3; margin-top: 1rem; }
  .s3 .p-list { display: none; }
  .s3 .p-fig { grid-column: 1 / 7; grid-row: 4; margin: 0.5rem 0 0; }
  .s3 .p-img { width: 46%; }
  .s3 .p-img--1 { left: 2%; top: 10%; }
  .s3 .p-img--2 { left: 27%; top: 0; }
  .s3 .p-img--3 { left: 52%; top: 12%; }
  .s4 .p-sticker { width: 28%; right: 0; top: -6%; }
  .s4 .p-sticker b { font-size: 6cqw; }
  .p-sticker text { font-size: 16px; }
  .s3 .p-title { font-size: 25cqw; }
  .wk { width: 62vw; }
}

/* =========================================================
   03 · HELLO
   ========================================================= */
.hello { position: relative; overflow: hidden; padding: clamp(6rem, 16vw, 13rem) 0 clamp(5rem, 12vw, 10rem); background: var(--cream); }
.hello__text { margin: 0; max-width: 16em; font-weight: 600; font-size: clamp(2rem, 5.6vw, 6rem); line-height: 1; letter-spacing: -0.045em; }
.hello__text .ln { display: inline; }
.js .hello__text .w { display: inline-block; opacity: 0.12; transition: opacity 0.4s; }
.js .hello__text .w.on { opacity: 1; }
.hello__text em { font-size: 1.1em; color: var(--cobalt); }
.hello__text mark { background: linear-gradient(var(--lime), var(--lime)) no-repeat 0 85% / var(--mk, 0%) 0.42em; color: inherit; padding: 0 0.05em; }
.facts { list-style: none; margin: clamp(3.5rem, 8vw, 7rem) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.facts li { display: flex; flex-direction: column; gap: 0.4rem; padding-top: 1rem; border-top: 2px solid var(--ink); }
.facts b { font-size: 1.35rem; letter-spacing: -0.02em; }
.facts span { color: var(--muted-l); max-width: 30ch; }
.fl { position: absolute; z-index: 0; pointer-events: none; will-change: transform; font-weight: 700; }
.wrap { position: relative; z-index: 1; }
.fl--tag { top: 8%; right: 6%; font-family: var(--mono); font-size: clamp(2rem, 5vw, 4.5rem); color: var(--cobalt); rotate: 8deg; }
.fl--bubble { top: 40%; right: 3%; padding: 0.7rem 1.1rem; border-radius: 18px 18px 18px 4px; background: #fff; box-shadow: 0 14px 30px -14px rgba(0, 0, 0, 0.3); font-size: 1.05rem; font-weight: 500; rotate: -4deg; }
.fl--cursor { top: 66%; right: 16%; display: flex; align-items: flex-start; gap: 4px; }
.fl--cursor svg { width: 28px; height: 28px; fill: var(--cobalt); stroke: #fff; stroke-width: 1.5; }
.fl--cursor i { margin-top: 18px; padding: 2px 8px; border-radius: 6px; background: var(--cobalt); color: #fff; font-style: normal; font-size: 0.8rem; font-weight: 600; }
.fl--star { top: 22%; right: 16%; font-size: clamp(2.5rem, 6vw, 5rem); color: var(--lime); -webkit-text-stroke: 2px var(--ink); }
.fl--chip { bottom: 16%; left: 4%; padding: 0.4rem 0.8rem; border-radius: 999px; background: var(--ink); color: var(--lime); font-family: var(--mono); font-size: 0.85rem; rotate: -6deg; }
.fl--pill { bottom: 6%; right: 34%; padding: 0.5rem 1rem; border-radius: 999px; border: 2px solid var(--ink); font-size: 1rem; rotate: 5deg; background: var(--lime); }
@media (max-width: 820px) {
  .facts { grid-template-columns: 1fr; }
  .fl--bubble, .fl--pill { display: none; }
  .fl--cursor { top: auto; bottom: 4%; right: 8%; }
  .fl--star { top: 3%; right: 30%; }
}

.rv { opacity: 0; transform: translateY(40px); transition: opacity 0.9s var(--ease), transform 1.1s var(--ease); }
.rv.in { opacity: 1; transform: none; }
.no-js .rv, .reduce .rv { opacity: 1; transform: none; }

/* =========================================================
   04 · SERVICES (pinned, horizontal)
   ========================================================= */
.svc { position: relative; background: var(--ink); color: var(--cream); }
.svc__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; gap: clamp(1rem, 3vh, 2rem); }
.svc__head { display: flex; align-items: flex-end; gap: 1.5rem; flex-wrap: wrap; }
.svc__head .cmt { width: 100%; margin: 0; }
.svc__head h2 { margin: 0; font-size: clamp(2.6rem, 7vw, 6.5rem); font-weight: 800; line-height: 0.9; letter-spacing: -0.05em; }
.svc__head h2 em { color: var(--lime); font-size: 1.1em; }
.svc__count { margin: 0 0 0.6rem auto; font-family: var(--mono); color: var(--muted-d); }
.svc__track { display: flex; gap: clamp(1rem, 2vw, 2rem); padding: 0 var(--pad); width: max-content; will-change: transform; }
.card {
  position: relative; flex: 0 0 auto;
  width: min(78vw, 1180px); height: min(64vh, 620px);
  border-radius: 28px; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  will-change: transform;
}
.card--cobalt { background: var(--cobalt); color: var(--cream); }
.card--lime { background: var(--lime); color: var(--ink); }
.card--ink { background: #1c1c28; color: var(--cream); }
.card--cream { background: var(--cream); color: var(--ink); }
.card__text { padding: clamp(1.5rem, 3.4vw, 3rem); display: flex; flex-direction: column; gap: 1rem; }
.card__n { font-family: var(--mono); font-size: 0.85rem; opacity: 0.7; }
.card h3 { margin: auto 0 0; font-size: clamp(2.2rem, 4.6vw, 4.6rem); font-weight: 800; line-height: 0.9; letter-spacing: -0.05em; }
.card p { margin: 0; max-width: 34ch; opacity: 0.85; }
.card p b { opacity: 1; }
.card__tags { font-family: var(--mono); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.04em; opacity: 0.65 !important; }
.card__demo { position: relative; display: grid; place-items: center; padding: clamp(1rem, 3vw, 2.5rem); overflow: hidden; }
.card__demo > * { will-change: transform; }

/* demo: browser */
.demo-browser { width: 100%; max-width: 520px; border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 40px 80px -30px rgba(0, 0, 20, 0.6); }
.demo-browser__bar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; background: #eceef5; }
.demo-browser__bar i { width: 10px; height: 10px; border-radius: 50%; background: #c9ccd9; }
.demo-browser__bar span { margin-left: 10px; flex: 1; padding: 4px 10px; border-radius: 6px; background: #fff; font-family: var(--mono); font-size: 11px; color: #555; }
.demo-browser__view { height: clamp(220px, 34vh, 330px); overflow: hidden; }
.demo-site { animation: siteScroll 9s var(--ease-io) infinite alternate; color: #3a2618; font-family: var(--sans); }
@keyframes siteScroll { 0%, 15% { transform: translateY(0); } 85%, 100% { transform: translateY(-48%); } }
.ds-hero { display: flex; flex-direction: column; justify-content: flex-end; gap: 12px; height: 220px; padding: 22px; background: linear-gradient(135deg, #f6d9b4, #d9884a); }
.ds-hero b { font-size: 30px; line-height: 0.95; letter-spacing: -0.03em; }
.ds-hero em { color: #fff; }
.ds-btn { align-self: flex-start; padding: 8px 14px; border-radius: 99px; background: #3a2618; color: #fff; font-size: 12px; font-weight: 600; }
.ds-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 14px; background: #fbf4ea; }
.ds-row i { height: 90px; border-radius: 10px; background: #f0dcc4; }
.ds-row--2 { grid-template-columns: 1.4fr 1fr; }
.ds-band { padding: 16px; background: #3a2618; color: #f6d9b4; font-size: 13px; font-weight: 600; text-align: center; }
.ds-map { height: 120px; display: grid; place-items: center; background: repeating-linear-gradient(45deg, #e6efe0 0 12px, #dbe7d3 12px 24px); font-size: 13px; font-weight: 600; }
.ds-foot { padding: 14px; background: #fbf4ea; font-size: 12px; text-align: center; }

/* demo: shop */
.demo-shop { width: 100%; max-width: 500px; position: relative; padding: 18px; border-radius: 18px; background: #fff; color: var(--ink); box-shadow: 0 40px 80px -30px rgba(40, 60, 0, 0.5); }
.demo-shop__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.demo-shop__top b { font-size: 1.1rem; letter-spacing: -0.02em; }
.demo-shop__cart { padding: 6px 12px; border-radius: 99px; background: var(--ink); color: #fff; font-size: 0.85rem; }
.demo-shop__cart i { display: inline-grid; place-items: center; min-width: 20px; height: 20px; margin-left: 4px; border-radius: 99px; background: var(--lime); color: var(--ink); font-style: normal; font-weight: 700; font-size: 0.75rem; transition: transform 0.4s var(--ease); }
.demo-shop__cart i.bump { transform: scale(1.5); }
.demo-shop__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.prod { display: flex; flex-direction: column; gap: 4px; font-size: 0.8rem; }
.prod__img { aspect-ratio: 1; border-radius: 12px; margin-bottom: 4px; }
.prod__img--a { background: radial-gradient(circle at 35% 35%, #f1c48f, #b8692f); }
.prod__img--b { background: radial-gradient(circle at 60% 40%, #e9a259, #8b3f12); }
.prod__img--c { background: radial-gradient(circle at 50% 50%, #fde7b5 35%, #d99a52 36%); }
.prod b { font-size: 0.8rem; line-height: 1.2; }
.prod span { color: #666; }
.prod button { margin-top: 4px; min-height: 30px; border: 0; border-radius: 99px; background: var(--cobalt); color: #fff; font-size: 0.75rem; font-weight: 600; transition: transform 0.25s, background 0.3s; }
.prod button.press { transform: scale(0.9); background: var(--ink); }
.demo-shop__toast { position: absolute; left: 18px; right: 18px; bottom: -18px; padding: 10px 14px; border-radius: 12px; background: var(--ink); color: var(--lime); font-size: 0.85rem; font-weight: 600; opacity: 0; transform: translateY(10px); transition: opacity 0.4s, transform 0.5s var(--ease); }
.demo-shop__toast.on { opacity: 1; transform: none; }

/* demo: phone */
.demo-phone { width: clamp(200px, 22vw, 260px); aspect-ratio: 9 / 18.5; padding: 10px; border-radius: 40px; background: #05050a; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.8), inset 0 0 0 2px #2c2c3a; max-height: 54vh; }
.demo-phone__screen { position: relative; height: 100%; border-radius: 30px; overflow: hidden; background: var(--paper); color: var(--ink); padding: 34px 16px 16px; display: flex; flex-direction: column; gap: 8px; }
.dp-title { font-weight: 800; font-size: 1.25rem; letter-spacing: -0.03em; margin: 0; }
.dp-month { margin: 0; font-family: var(--mono); font-size: 0.72rem; color: #777; text-transform: uppercase; }
.dp-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.dp-days span { aspect-ratio: 1; display: grid; place-items: center; border-radius: 8px; font-size: 0.7rem; background: #ecebe5; transition: background 0.3s, color 0.3s, transform 0.3s; }
.dp-days span.off { opacity: 0.35; }
.dp-days span.on { background: var(--cobalt); color: #fff; transform: scale(1.12); }
.dp-slots { display: flex; gap: 6px; margin-top: 4px; }
.dp-slots span { flex: 1; text-align: center; padding: 7px 0; border-radius: 99px; border: 1px solid #ccc; font-size: 0.7rem; }
.dp-slots .is-on { background: var(--ink); color: #fff; border-color: var(--ink); }
.dp-toast { margin-top: auto; padding: 10px; border-radius: 12px; background: #1f8a4c; color: #fff; font-size: 0.75rem; font-weight: 600; text-align: center; opacity: 0; transform: translateY(8px); transition: opacity 0.4s, transform 0.5s var(--ease); }
.dp-toast.on { opacity: 1; transform: none; }

/* demo: chat */
.demo-chat { width: 100%; max-width: 440px; border-radius: 18px; overflow: hidden; background: #0b141a; color: #e9edef; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.5); }
.demo-chat__head { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: #202c33; }
.demo-chat__av { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--cobalt); font-weight: 800; }
.demo-chat__head small { color: #8696a0; margin-left: auto; font-size: 0.75rem; }
.demo-chat__body { display: flex; flex-direction: column; gap: 8px; padding: 16px 14px; min-height: 260px; }
.m { margin: 0; max-width: 82%; padding: 8px 12px; border-radius: 12px; font-size: 0.9rem; line-height: 1.35; opacity: 0; transform: translateY(10px) scale(0.96); transition: opacity 0.35s, transform 0.45s var(--ease); }
.m.on { opacity: 1; transform: none; }
.m--me { align-self: flex-end; background: #005c4b; border-top-right-radius: 3px; }
.m--bot { align-self: flex-start; background: #202c33; border-top-left-radius: 3px; }

@media (max-width: 820px) {
  .card { width: 86vw; height: min(76svh, 640px); grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr); }
  .card__text { gap: 0.6rem; padding-bottom: 0.5rem; }
  .card h3 { margin-top: 0.3rem; }
  .card p { font-size: 0.92rem; }
  .card__tags { display: none; }
  .card__demo { padding-top: 0.5rem; }
  .demo-browser__view { height: 200px; }
  .demo-phone { max-height: 38svh; width: auto; }
  .demo-chat__body { min-height: 0; }
  .svc__head h2 { font-size: clamp(2.4rem, 11vw, 3.4rem); }
}

/* =========================================================
   05 · STEPS (zoom through numbers)
   ========================================================= */
.steps { position: relative; height: 420vh; background: var(--cobalt); color: var(--cream); }
.steps__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.steps__cmt { position: absolute; top: clamp(5rem, 12vh, 7rem); left: var(--pad); z-index: 2; }
.steps__stage { position: absolute; inset: 0; }
.step { position: absolute; inset: 0; display: grid; place-items: center; }
.step__num {
  position: absolute; left: 50%; top: 50%;
  font-weight: 800; font-size: 78vh; line-height: 0.8; letter-spacing: -0.06em;
  color: transparent; -webkit-text-stroke: 2px rgba(242, 238, 227, 0.9);
  transform: translate(-50%, -50%) scale(0.3); opacity: 0;
  will-change: transform, opacity;
}
.step__txt { position: relative; z-index: 2; max-width: 34rem; padding: 0 var(--pad); text-align: center; opacity: 0; transform: translateY(30px); }
.step__txt h3 { margin: 0 0 0.8rem; font-size: clamp(2.4rem, 6vw, 5rem); font-weight: 800; line-height: 0.92; letter-spacing: -0.05em; }
.step__txt p { margin: 0; font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: rgba(242, 238, 227, 0.85); }
.steps__dots { position: absolute; left: 50%; bottom: clamp(1.5rem, 5vh, 3rem); translate: -50% 0; display: flex; gap: 8px; }
.steps__dots i { width: 28px; height: 4px; border-radius: 4px; background: rgba(242, 238, 227, 0.25); transition: background 0.3s, width 0.4s var(--ease); }
.steps__dots i.on { background: var(--lime); width: 48px; }
.no-js .steps, .reduce .steps { height: auto; }
.no-js .steps__sticky, .reduce .steps__sticky { position: relative; height: auto; padding: 6rem 0; }
.no-js .step, .reduce .step { position: relative; padding: 2rem 0; }
.no-js .step__txt, .reduce .step__txt { opacity: 1; transform: none; }

/* =========================================================
   06 · PRICING
   ========================================================= */
.price { position: relative; overflow: hidden; padding: clamp(6rem, 13vw, 11rem) 0; background: var(--ink); color: var(--cream); }
.price__wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.price h2 { margin: 0 0 1.5rem; font-size: clamp(3rem, 8vw, 7.5rem); font-weight: 800; line-height: 0.88; letter-spacing: -0.055em; }
.price h2 em { color: var(--lime); font-size: 1.08em; }
.price__copy p:not(.cmt) { max-width: 30rem; margin: 0 0 2rem; color: var(--muted-d); font-size: 1.15rem; }
.price__copy { position: sticky; top: 18vh; }
.price__coin { position: absolute; z-index: 0; display: grid; place-items: center; width: clamp(5rem, 11vw, 9rem); aspect-ratio: 1; border-radius: 50%; background: var(--lime); color: var(--ink); font-weight: 800; font-size: clamp(2.5rem, 5vw, 4.5rem); left: 6%; bottom: 8%; rotate: -12deg; box-shadow: inset 0 -8px 0 rgba(0, 0, 0, 0.15); }
.price__coin--2 { left: auto; right: 4%; top: 12%; bottom: auto; width: clamp(3.5rem, 7vw, 6rem); font-size: clamp(1.8rem, 3vw, 3rem); rotate: 18deg; background: var(--cobalt); color: var(--cream); }
.till { position: relative; z-index: 1; max-width: 430px; width: 100%; justify-self: center; }
.till__slot { height: 22px; border-radius: 12px; background: #2a2a38; box-shadow: inset 0 6px 8px rgba(0, 0, 0, 0.6); }
.till__clip { margin: -11px 18px 0; overflow: hidden; padding-bottom: 40px; }
.slip {
  --tear: 12px;
  background: #fffdf6; color: #1b1b1b;
  padding: 30px 26px 34px;
  font-family: var(--mono); font-size: 13.5px; line-height: 1.55;
  box-shadow: 0 30px 50px -20px rgba(0, 0, 0, 0.6);
  transform: translateY(-100%);
  will-change: transform;
  -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / var(--tear) 100%;
          mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / var(--tear) 100%;
}
.no-js .slip, .reduce .slip { transform: none; }
.slip p { margin: 0; }
.slip__c { text-align: center; }
.slip__c b { font-family: var(--sans); font-weight: 800; font-size: 1.6rem; letter-spacing: -0.03em; }
.slip__rule { margin: 12px 0 !important; border-top: 1.5px dashed #999; }
.slip__row { display: flex; justify-content: space-between; gap: 1rem; margin-top: 8px !important; }
.slip__row--h { color: #888; font-size: 12px; }
.slip__row--b { font-weight: 700; font-size: 15px; }
.slip__sub { color: #777; font-size: 12px; padding-left: 10px; }
.slip__barcode { height: 54px; margin: 16px 18px 8px !important; background: repeating-linear-gradient(90deg, #1b1b1b 0 2px, transparent 2px 4px, #1b1b1b 4px 7px, transparent 7px 8px, #1b1b1b 8px 9px, transparent 9px 12px); }
.slip__meta { font-size: 11px; color: #888; }
@media (max-width: 820px) {
  .price__wrap { grid-template-columns: 1fr; }
  .price__copy { position: static; }
}

/* =========================================================
   07 · FAQ (chat)
   ========================================================= */
.faq { padding: clamp(6rem, 13vw, 11rem) 0; background: var(--cream); }
.faq__wrap { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(2rem, 6vw, 6rem); }
.faq__side { position: sticky; top: 18vh; align-self: start; }
.faq h2 { margin: 0; font-size: clamp(2.6rem, 6.4vw, 6rem); font-weight: 800; line-height: 0.9; letter-spacing: -0.05em; }
.faq h2 em { color: #1f8a4c; font-size: 1.08em; }
.thread { display: flex; flex-direction: column; gap: 1.6rem; padding: clamp(1rem, 2.5vw, 2rem); border-radius: 28px; background: #0b141a; background-image: radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px); background-size: 18px 18px; }
.qa { display: flex; flex-direction: column; gap: 0.5rem; }
.b { position: relative; margin: 0; max-width: 85%; padding: 0.7rem 1rem 1.3rem; border-radius: 14px; font-size: 1rem; line-height: 1.45; color: #e9edef; }
.b small { position: absolute; right: 10px; bottom: 5px; font-size: 0.68rem; color: #8696a0; }
.b--in { align-self: flex-start; background: #202c33; border-top-left-radius: 3px; font-weight: 600; }
.b--out { align-self: flex-end; background: #005c4b; border-top-right-radius: 3px; }
.b--out small { color: #8fd3ff; }
@media (max-width: 820px) {
  .faq__wrap { grid-template-columns: 1fr; }
  .faq__side { position: static; }
}

/* =========================================================
   08 · TALK (zoom through the full stop)
   ========================================================= */
.talk { position: relative; height: 300vh; background: var(--cobalt); }
.talk__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.talk__behind { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; padding: 0 var(--pad); background: var(--cobalt); color: var(--cream); }
.talk__h { margin: 0 0 2.5rem; font-size: clamp(3.4rem, 12vw, 13rem); font-weight: 800; line-height: 0.85; letter-spacing: -0.06em; }
.talk__h em { color: var(--lime); font-size: 1.08em; }
.talk__ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.talk__behind > * { transform: translateY(40px); opacity: 0; transition: transform 1s var(--ease), opacity 0.8s; }
.talk.is-open .talk__behind > * { transform: none; opacity: 1; }
.talk.is-open .talk__behind > :nth-child(2) { transition-delay: 0.08s; }
.talk.is-open .talk__behind > :nth-child(3) { transition-delay: 0.16s; }
.talk__mask { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; will-change: transform; }
.talk__word { font-family: var(--sans); font-weight: 800; font-size: 250px; }
.no-js .talk, .reduce .talk { height: auto; }
.no-js .talk__sticky, .reduce .talk__sticky { position: relative; }
.no-js .talk__mask, .reduce .talk__mask { display: none; }
.no-js .talk__behind > *, .reduce .talk__behind > * { transform: none; opacity: 1; }

/* =========================================================
   FORM + FOOTER
   ========================================================= */
.form-sec { padding: clamp(4rem, 8vw, 7rem) 0; background: var(--cobalt); color: var(--cream); }
.form-sec__wrap { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(2rem, 6vw, 6rem); border-top: 1px solid rgba(242, 238, 227, 0.3); padding-top: 3rem; }
.form-sec__h { margin: 0 0 1rem; font-size: clamp(2rem, 4vw, 3.4rem); font-weight: 800; letter-spacing: -0.045em; line-height: 0.95; }
.form-sec__p { margin: 0; color: rgba(242, 238, 227, 0.8); max-width: 26rem; }
.cform { display: flex; flex-direction: column; gap: 1.1rem; padding: clamp(1.25rem, 3vw, 2.25rem); border-radius: 24px; background: var(--cream); color: var(--ink); }
.chips { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chips legend { width: 100%; margin-bottom: 0.6rem; font-family: var(--mono); font-size: 0.78rem; color: var(--muted-l); }
.chips label { position: relative; }
.chips input { position: absolute; inset: 0; opacity: 0; cursor: pointer; margin: 0; }
.chips span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 1.1rem; border-radius: 999px; border: 1.5px solid rgba(14, 14, 20, 0.2); font-weight: 500; transition: background 0.25s, border-color 0.25s, color 0.25s; }
.chips input:checked + span { background: var(--cobalt); border-color: var(--cobalt); color: #fff; }
.chips input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.cform__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem; }
.field { display: flex; flex-direction: column; gap: 0.35rem; }
.field span { font-family: var(--mono); font-size: 0.78rem; color: var(--muted-l); }
.field input, .field textarea { font: inherit; color: var(--ink); background: #fff; border: 1.5px solid rgba(14, 14, 20, 0.14); border-radius: 14px; padding: 0.8rem 1rem; min-height: 50px; resize: vertical; transition: border-color 0.25s, box-shadow 0.25s; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--cobalt); box-shadow: 0 0 0 4px rgba(35, 64, 255, 0.15); }
.cform__hp { position: absolute; left: -9999px; }
.cform__foot { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.cform__status { margin: 0; font-size: 0.95rem; }
.cform__status.is-ok { color: #1f8a4c; }
.cform__status.is-err { color: #c0341d; }
.cform button[disabled] { opacity: 0.6; pointer-events: none; }
@media (max-width: 820px) {
  .form-sec__wrap { grid-template-columns: 1fr; }
  .cform__row { grid-template-columns: 1fr; }
}

.foot { background: var(--ink); color: var(--muted-d); font-size: 0.88rem; }
.foot__wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; padding-top: 1.5rem; padding-bottom: 1.5rem; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--cream); }
.foot__off { min-height: 44px; padding: 0 1rem; border-radius: 999px; border: 1px dashed rgba(242, 238, 227, 0.35); background: none; color: var(--cream); cursor: pointer; font-family: var(--mono); font-size: 0.8rem; }
.foot__off:hover { border-color: var(--lime); color: var(--lime); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
