/* =========================================================
   Alfred Wong Kai Xiang, portfolio
   Plain CSS, no build step. Edit tokens in :root to retheme.
   ========================================================= */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("bricolage-grotesque-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}
@font-face {
  font-family: "Geist";
  src: url("geist-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}
/* lets the light that runs around the hero frame animate smoothly */
@property --angle { syntax: "<angle>"; initial-value: 0deg; inherits: false; }

:root {
  --bg: #0d0e11;
  --bg-2: #13141a;
  --bg-3: #1a1c23;
  --ink: #f2efe9;
  --ink-2: #b9b5ad;
  --ink-3: #8a877f;
  --accent: #ff6a3d;
  --accent-deep: #d94e26;
  --accent-ink: #1a0f0a;
  --accent-soft: rgba(255, 106, 61, 0.14);
  --line: rgba(242, 239, 233, 0.10);
  --line-strong: rgba(242, 239, 233, 0.2);

  --font-display: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Geist", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 16px;
  --pill: 999px;
  --nav-h: 68px;
  --container: 1240px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section: clamp(5rem, 10vw, 8.5rem);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  /* spring curves (CSS linear()), gentle overshoot and a livelier pop */
  --spring-soft: linear(0, 0.0442 2.5%, 0.1471 5%, 0.2756 7.5%, 0.4084 10%, 0.533 12.5%, 0.6427 15%, 0.7349 17.5%, 0.8096 20%, 0.8681 22.5%, 0.9125 25%, 0.9453 27.5%, 0.9686 30%, 0.9846 32.5%, 0.9951 35%, 1.0015 37.5%, 1.0051 40%, 1.0068 42.5%, 1.0072 45%, 1.0068 47.5%, 1.0061 50%, 1.0052 52.5%, 1.0042 55%, 1.0033 57.5%, 1.0025 60%, 1.0019 62.5%, 1.0013 65%, 1.0009 67.5%, 1.0006 70%, 1.0004 72.5%, 1.0002 75%, 1.0001 77.5%, 1);
  --spring-pop: linear(0, 0.0694 2.5%, 0.2338 5%, 0.4375 7.5%, 0.6401 10%, 0.8157 12.5%, 0.9514 15%, 1.0443 17.5%, 1.0978 20%, 1.1192 22.5%, 1.1175 25%, 1.1013 27.5%, 1.0778 30%, 1.0528 32.5%, 1.0301 35%, 1.0117 37.5%, 0.9985 40%, 0.9902 42.5%, 0.9862 45%, 0.9855 47.5%, 0.9868 50%, 0.9894 52.5%, 0.9924 55%, 0.9953 57.5%, 0.9978 60%, 0.9996 62.5%, 1.0009 65%, 1.0015 67.5%, 1.0018 70%, 1.0017 72.5%, 1.0014 75%, 1.0011 77.5%, 1.0007 80%, 1.0004 82.5%, 1.0001 85%, 1);
  --tone: var(--accent);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 12px);
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, dl, dd, figure { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }
/* visually hidden, still read by screen readers */
.sr {
  position: absolute; width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

/* film grain, fixed and inert */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  opacity: 0.055;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.5 0 0 0 0 0.5 0 0 0 0 0.5 0 0 0 1 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* ---------- layout primitives ---------- */
.wrap {
  width: min(var(--container), 100% - var(--gutter) * 2);
  margin-inline: auto;
}
.skip {
  position: absolute; left: 1rem; top: -3rem;
  padding: .6rem 1rem; background: var(--accent); color: var(--accent-ink);
  border-radius: var(--pill); z-index: 100; font-weight: 600;
}
.skip:focus { top: 1rem; }

/* ---------- type ---------- */
h1, h2, h3, .brand, .card__name, .facts dd, .marquee__track span, .stat__num, .footer__mark {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  line-height: 1.05;
}
h2 {
  font-size: clamp(2.1rem, 4.6vw, 3.6rem);
  font-weight: 650;
  max-width: 18ch;
  text-wrap: balance;
}
h3 {
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  font-weight: 600;
}
.eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.section-head {
  display: grid;
  gap: 1.1rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.section-head__sub {
  color: var(--ink-2);
  max-width: 60ch;
  font-size: 1.0625rem;
}
.hint-touch { display: none; }
@media (hover: none) {
  .hint-fine { display: none; }
  .hint-touch { display: inline; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: .95rem 1.5rem;
  border-radius: var(--pill);
  font-weight: 600;
  font-size: 0.975rem;
  line-height: 1;
  white-space: nowrap;
  border: 1px solid transparent;
  transition: transform .6s var(--spring-soft), background-color .3s, border-color .3s, color .3s;
  will-change: transform;
  position: relative;
  overflow: hidden;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: scale(0.98); }
.btn--primary {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 10px 30px -12px rgba(255, 106, 61, 0.55);
}
.btn--primary:hover { background: #ff7a52; }
.btn--primary::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 32%, rgba(255, 255, 255, 0.35) 50%, transparent 68%);
  transform: translateX(-130%);
  transition: transform .9s var(--ease);
  pointer-events: none;
}
.btn--primary:hover::after { transform: translateX(130%); }
.btn--ghost {
  border-color: var(--line-strong);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.02);
}
.btn--ghost:hover { border-color: var(--ink-2); background: rgba(255, 255, 255, 0.05); }
.btn--sm { padding: .7rem 1.1rem; font-size: .9rem; }
.btn--lg { padding: 1.1rem 1.7rem; font-size: 1.02rem; }
.btn svg { width: 1.15em; height: 1.15em; }

/* small pulsing "live" dot */
.pulse {
  position: relative;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
}
.pulse::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s var(--ease) infinite;
}
@keyframes pulse { from { transform: scale(1); opacity: .7; } to { transform: scale(3); opacity: 0; } }

/* ---------- cursor follower (desktop mouse only, decorative) ---------- */
.cursor {
  position: fixed;
  left: 0; top: 0;
  z-index: 70;
  width: 14px; height: 14px;
  margin: -7px 0 0 -7px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 106, 61, .85);
  display: grid; place-items: center;
  pointer-events: none;
  opacity: 0;
  transform: translate3d(var(--cx, -100px), var(--cy, -100px), 0);
  transition: opacity .3s, width .45s var(--ease), height .45s var(--ease), margin .45s var(--ease), background-color .3s, border-color .3s;
}
.cursor.is-on { opacity: 1; }
.cursor.is-hover { width: 44px; height: 44px; margin: -22px 0 0 -22px; background: var(--accent-soft); }
.cursor.is-big { width: 86px; height: 86px; margin: -43px 0 0 -43px; background: var(--accent); border-color: var(--accent); }
.cursor__label { font-size: .8rem; font-weight: 700; color: var(--accent-ink); opacity: 0; transition: opacity .2s; }
.cursor.is-big .cursor__label { opacity: 1; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ---------- nav ---------- */
.nav-sentinel { position: absolute; top: 0; height: 40px; width: 1px; pointer-events: none; }
/* ---------- background field (drawn by main.js) ---------- */
.dotfield {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1.6s var(--ease);
  /* calmer in the middle of the screen where text sits */
  -webkit-mask-image: radial-gradient(130% 95% at 50% 45%, rgba(0, 0, 0, .55), #000 85%);
  mask-image: radial-gradient(130% 95% at 50% 45%, rgba(0, 0, 0, .55), #000 85%);
}
.dotfield.is-on { opacity: 1; }
main, .footer { position: relative; z-index: 1; }
html.lenis, html.lenis body { height: auto; }
html.lenis { scroll-behavior: auto; }
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--nav-h);
  transition: background-color .4s, border-color .4s, backdrop-filter .4s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(13, 14, 17, 0.72);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
}
.nav__inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.brand {
  display: inline-flex; align-items: center; gap: .55rem;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  margin-right: auto;
}
.brand__dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.nav__links { display: none; gap: 1.75rem; }
.nav__links a {
  font-size: .95rem;
  color: var(--ink-2);
  transition: color .25s;
  position: relative;
}
.nav__links a::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -6px;
  height: 1px; background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--ease);
}
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { transform: scaleX(1); }
.nav__cta { display: none; }

.nav__toggle {
  width: 44px; height: 44px;
  display: grid; place-content: center; gap: 6px;
  margin-right: -10px;
}
.nav__toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--ink); border-radius: 2px;
  transition: transform .4s var(--ease), opacity .3s;
}
.nav.is-open .nav__toggle span:first-child { transform: translateY(4px) rotate(45deg); }
.nav.is-open .nav__toggle span:last-child { transform: translateY(-4px) rotate(-45deg); }

.nav__mobile {
  position: absolute;
  top: var(--nav-h); left: 0; right: 0;
  height: calc(100dvh - var(--nav-h));
  background: var(--bg);
  padding: 2rem var(--gutter) 3rem;
  display: flex; flex-direction: column; justify-content: space-between;
  opacity: 0; visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .35s, transform .45s var(--ease), visibility 0s .35s;
}
.nav.is-open .nav__mobile { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.nav.is-open { background: var(--bg); backdrop-filter: none; -webkit-backdrop-filter: none; border-bottom-color: var(--line); }
.nav__mobile nav { display: grid; gap: .25rem; }
.nav__mobile nav a {
  font-family: var(--font-display);
  font-size: clamp(2rem, 8vw, 2.75rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  padding: .5rem 0;
  border-bottom: 1px solid var(--line);
  opacity: 0; transform: translateY(12px);
  transition: opacity .5s var(--ease), transform .6s var(--ease);
  transition-delay: calc(var(--i, 0) * 60ms + 80ms);
}
.nav.is-open .nav__mobile nav a { opacity: 1; transform: none; }
.nav__mobile-foot { display: grid; gap: 1rem; justify-items: start; }
.nav__mobile-phone { color: var(--ink-2); font-size: 1.05rem; }

@media (min-width: 900px) {
  .nav__links { display: flex; }
  .nav__cta { display: inline-flex; }
  .nav__toggle, .nav__mobile { display: none; }
  /* desktop: the bar condenses into a floating pill once you scroll */
  .nav, .nav.is-scrolled { background: transparent; border-bottom-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; pointer-events: none; }
  .nav__inner {
    pointer-events: auto;
    width: calc(100% - var(--gutter) * 2);
    max-width: var(--container);
    height: var(--nav-h);
    border: 1px solid transparent;
    border-radius: var(--pill);
    transition: max-width .8s var(--spring-soft), height .5s var(--ease), margin-top .5s var(--ease), padding .5s var(--ease), background-color .5s, border-color .5s, box-shadow .5s;
  }
  .nav.is-scrolled .nav__inner {
    max-width: 860px;
    height: 54px;
    margin-top: 10px;
    padding: 0 .4rem 0 1.25rem;
    background: rgba(19, 20, 26, 0.72);
    backdrop-filter: blur(16px) saturate(140%);
    -webkit-backdrop-filter: blur(16px) saturate(140%);
    border-color: var(--line-strong);
    box-shadow: 0 24px 60px -32px rgba(0, 0, 0, 0.95);
    gap: 1.5rem;
  }
  .nav.is-scrolled .nav__links { gap: 1.35rem; }
  .nav.is-scrolled .nav__links a { font-size: .9rem; }
}

/* ---------- intro plate ---------- */
.intro {
  position: fixed;
  inset: 0;
  z-index: 90;
}
.intro.is-hidden { display: none; }
body.intro-active { overflow: hidden; }
.intro__plate {
  position: absolute;
  left: 0; right: 0;
  height: 50%;
  background: #07080a;
  transition: transform 1.1s var(--ease);
}
.intro__plate--top { top: 0; }
.intro__plate--bottom { bottom: 0; }
.intro.is-leaving .intro__plate--top { transform: translateY(-101%); }
.intro.is-leaving .intro__plate--bottom { transform: translateY(101%); }
.intro__text {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: center;
  gap: 2rem;
  width: min(var(--container), 100% - var(--gutter) * 2);
  margin-inline: auto;
  transition: opacity .4s;
}
.intro.is-leaving .intro__text { opacity: 0; }
.intro__line {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.4vw, 2.75rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  max-width: 26ch;
  min-height: 2.3em;
  color: var(--ink);
  text-wrap: balance;
}
.intro__line::after {
  content: "";
  display: inline-block;
  width: .45em; height: .95em;
  margin-left: .12em;
  vertical-align: -0.1em;
  background: var(--accent);
  animation: caret 1s steps(2, jump-none) infinite;
}
@keyframes caret { 50% { opacity: 0; } }
.intro__skip {
  position: absolute;
  right: var(--gutter); bottom: 2rem;
  padding: .6rem 1.1rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--pill);
  color: var(--ink-2);
  font-size: .875rem;
  background: rgba(255, 255, 255, 0.03);
  transition: color .3s, border-color .3s, opacity .4s;
}
.intro__skip:hover { color: var(--ink); border-color: var(--ink-2); }
.intro.is-leaving .intro__skip { opacity: 0; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 2rem) 0 5rem;
  overflow: clip;
  isolation: isolate;
  view-timeline: --hero block;
  view-timeline-inset: 0px;
}
.hero__layout {
  display: grid;
  gap: 2.75rem;
  align-items: center;
}
.hero__copy { position: relative; z-index: 2; }
/* a soft dark backing so the dot field never fights the text */
.hero__copy::before {
  content: "";
  position: absolute;
  inset: -14% -16% -16% -12%;
  z-index: -1;
  background: radial-gradient(closest-side, rgba(13, 14, 17, .9), rgba(13, 14, 17, .7) 55%, rgba(13, 14, 17, 0));
  pointer-events: none;
}
.hero__eyebrow { margin-bottom: 1.25rem; }
.hero__title {
  font-size: clamp(2.3rem, 9vw, 3.3rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
/* words rise out of a mask, one after another */
.hero__title .w {
  display: inline-block;
  overflow: clip;
  padding-bottom: .1em;
  margin-bottom: -.1em;
  vertical-align: top;
}
.hero__title .w__in {
  display: inline-block;
  white-space: pre;
  transform: translateY(105%);
}
.intro-done .hero__title .w__in {
  animation: word-up 1.1s var(--ease) forwards;
  animation-delay: calc(var(--i) * 60ms + 150ms);
}
@keyframes word-up { to { transform: none; } }
.hero__title .w--accent .w__in { color: var(--accent); }
.hero__title .w--accent { position: relative; }
.hero__title .w--accent::after {
  content: "";
  position: absolute;
  left: 0; right: .35em; bottom: .02em;
  height: .07em;
  border-radius: 1em;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
}
.intro-done .hero__title .w--accent::after { animation: underline 1s var(--ease) 1.4s forwards; }
@keyframes underline { to { transform: scaleX(1); } }

[data-rise] { opacity: 0; transform: translateY(18px); }
.intro-done [data-rise] {
  animation: rise .9s var(--ease) forwards;
  animation-delay: calc(var(--r, 0) * 80ms + 150ms);
}
@keyframes rise { to { opacity: 1; transform: none; } }
.hero__sub {
  margin-top: 1.5rem;
  color: var(--ink-2);
  font-size: clamp(1.02rem, 1.3vw, 1.18rem);
  max-width: 44ch;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.hero__facts {
  display: flex; flex-wrap: wrap;
  gap: .5rem 1.25rem;
  margin-top: 2.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  color: var(--ink-2);
  font-size: .9rem;
}
.hero__facts li { display: inline-flex; align-items: center; gap: .45rem; }
.hero__facts li + li::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--ink-3); margin-right: .8rem; }
.hero__facts strong { color: var(--ink); font-weight: 700; }

.hero__media {
  position: relative;
  order: -1;
  justify-self: end;
  width: min(62vw, 300px);
  margin-right: 4%;
  opacity: 0;
}
.intro-done .hero__media { animation: media-in 1.4s var(--ease) .15s forwards; }
@keyframes media-in {
  from { opacity: 0; transform: translateY(40px) scale(.96); }
  to { opacity: 1; transform: none; }
}
.hero__frame {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius);
  overflow: hidden;
  background: #0a0a0c;
  box-shadow: 0 60px 120px -40px rgba(0, 0, 0, .95), 0 0 0 1px rgba(0, 0, 0, .5);
  transform: perspective(1200px) rotateX(calc(var(--ty, 0) * 1deg)) rotateY(calc(var(--tx, 0) * 1deg));
  transition: transform .9s var(--ease);
}
.hero__still, .hero__video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero__frame-shine {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 62%, rgba(13, 14, 17, .55));
  pointer-events: none;
}
/* a thin line of light that travels around the frame */
.hero__frame::after {
  content: "";
  position: absolute; inset: 0;
  z-index: 2;
  border-radius: inherit;
  padding: 1.5px;
  background: conic-gradient(from var(--angle), rgba(242, 239, 233, .14) 0 62%, var(--accent) 76%, #ffd0bd 80%, rgba(242, 239, 233, .14) 90% 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  animation: travel 7s linear infinite;
  pointer-events: none;
}
@keyframes travel { to { --angle: 360deg; } }

.float {
  position: absolute;
  z-index: 3;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: var(--bg-3);
  box-shadow: 0 30px 60px -18px rgba(0, 0, 0, .9);
  translate: calc(var(--px, 0) * 1px) calc(var(--py, 0) * 1px);
  transition: translate 1s var(--ease);
  opacity: 0;
}
.intro-done .float { animation: float-in 1s var(--spring-pop) forwards, bob 7s ease-in-out 1.6s infinite alternate; }
.intro-done .float--browser { animation-delay: .9s, 1.9s; }
.intro-done .float--phone { animation-delay: 1.05s, 2.2s; }
.intro-done .float--chip { animation-delay: 1.2s, 2.5s; }
@keyframes float-in { from { opacity: 0; scale: .8; } to { opacity: 1; scale: 1; } }
@keyframes bob { from { transform: translateY(-6px) rotate(var(--rot, 0deg)); } to { transform: translateY(8px) rotate(var(--rot, 0deg)); } }
.float img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.float--phone {
  --rot: -6deg;
  left: -16%; top: 30%;
  width: 28%;
  aspect-ratio: 9 / 19.5;
  border-radius: 16px;
  border: 4px solid #23252c;
}
.float--browser {
  --rot: 3deg;
  display: none;
  left: -38%; bottom: 7%;
  width: 62%;
  padding-top: 18px;
  border-radius: 10px;
}
.float__bar { position: absolute; top: 6px; left: 8px; display: flex; gap: 4px; }
.float__bar i { width: 5px; height: 5px; border-radius: 50%; background: var(--line-strong); }
.float--browser img { aspect-ratio: 16 / 9; height: auto; }
.float--chip {
  --rot: 0deg;
  right: -10%; bottom: 14%;
  display: flex; align-items: center; gap: .55rem;
  padding: .55rem .85rem;
  border-radius: var(--pill);
  background: rgba(19, 20, 26, .82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: .78rem;
  color: var(--ink-2);
  white-space: nowrap;
}
.float--chip strong { color: var(--ink); font-weight: 600; }

/* speech bubble beside the portrait */
.hero__bubble {
  position: absolute;
  z-index: 4;
  right: 104%; top: 8%;
  width: max-content;
  max-width: 210px;
  margin: 0;
  padding: .65rem .85rem;
  background: var(--bg-3);
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  font-size: .84rem;
  line-height: 1.4;
  color: var(--ink);
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.9);
  opacity: 0;
  transform: translateY(8px) scale(0.96);
  transition: opacity .5s var(--ease), transform .8s var(--spring-pop);
  pointer-events: none;
}
.hero__bubble.is-on { opacity: 1; transform: none; }
.hero__bubble::after {
  content: "";
  position: absolute;
  right: -7px; top: 50%;
  width: 12px; height: 12px;
  margin-top: -6px;
  background: var(--bg-3);
  border-right: 1px solid var(--line-strong);
  border-top: 1px solid var(--line-strong);
  transform: rotate(45deg);
}
.hero__scroll { display: none; }

@media (max-width: 959px) {
  /* phones: the bubble sits over the top-left corner of the portrait so it never leaves the screen */
  .hero__bubble { right: auto; left: -28%; top: 3%; max-width: min(160px, 70%); font-size: .8rem; }
  .float--chip { right: auto; left: -20%; bottom: 6%; }
}
@media (min-width: 960px) {
  .hero { padding-bottom: 4rem; }
  .hero__layout { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 5vw, 5rem); }
  .hero__title { font-size: clamp(2.6rem, 4.25vw, 3.7rem); }
  .hero__media { order: 0; width: min(100%, 430px); margin-right: 0; }
  .float--browser { display: block; }
  .hero__scroll {
    display: block;
    position: absolute;
    left: 50%; bottom: 1.5rem;
    width: 26px; height: 42px;
    margin-left: -13px;
    border: 1.5px solid var(--line-strong);
    border-radius: var(--pill);
  }
  .hero__scroll span {
    position: absolute; left: 50%; top: 8px;
    width: 4px; height: 8px;
    margin-left: -2px;
    border-radius: 4px;
    background: var(--accent);
    animation: scroll-cue 2s var(--ease) infinite;
  }
  @keyframes scroll-cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }
}

/* ---------- proof: marquees and numbers ---------- */
.proof {
  padding: clamp(3rem, 6vw, 4.5rem) 0 var(--section);
  border-top: 1px solid var(--line);
}
.proof__label { color: var(--ink-3); font-size: .9rem; margin-bottom: 1.25rem; }
.marquee {
  overflow: hidden;
  padding: .35rem 0;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 48s linear infinite;
}
.marquee__track.is-driven { animation: none; will-change: transform; }
.marquee__track span {
  display: inline-flex;
  align-items: center;
  font-size: clamp(1.8rem, 4.4vw, 3.6rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--ink);
  white-space: nowrap;
  padding-right: 1.75rem;
}
.marquee__track span::after {
  content: "";
  width: .3em; height: .3em;
  margin-left: 1.75rem;
  border-radius: 50%;
  background: var(--accent);
}
.marquee--alt .marquee__track span {
  font-size: clamp(1.3rem, 3vw, 2.4rem);
  color: transparent;
  -webkit-text-stroke: 1px rgba(242, 239, 233, .35);
}
.marquee--alt .marquee__track span::after { background: transparent; box-shadow: inset 0 0 0 1px rgba(242, 239, 233, .35); }
@keyframes marquee { to { transform: translateX(-50%); } }

.stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.25rem 1.5rem;
  margin-top: clamp(3.5rem, 7vw, 5.5rem);
}
.stat { padding-top: 1.25rem; border-top: 1px solid var(--line-strong); }
.stat__num {
  font-size: clamp(3.2rem, 8vw, 5.75rem);
  font-weight: 700;
  line-height: .9;
  letter-spacing: -0.045em;
  background: linear-gradient(180deg, var(--ink) 30%, #8f8a82);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-variant-numeric: tabular-nums;
}
.stat:first-child .stat__num { background-image: linear-gradient(180deg, #ffb497, var(--accent) 70%); }
.stat__text { color: var(--ink-2); font-size: .95rem; margin-top: .9rem; max-width: 28ch; }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- sections ---------- */
.yours, .services, .process, .about, .quotes, .contact { padding-block: var(--section); }
.services, .about { border-top: 1px solid var(--line); }

/* ---------- work: horizontal reel ---------- */
.work { padding-top: var(--section); padding-bottom: clamp(3rem, 6vw, 5rem); border-top: 1px solid var(--line); }
.work__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; }
.work__head .section-head { margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.work__count {
  display: none;
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--ink-3);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.work__count span:first-child { color: var(--ink); }
@media (min-width: 900px) { .work__count { display: block; } }

.reel { position: relative; }
.reel__viewport {
  position: relative;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 1.5rem 0 2.5rem;
}
.reel__viewport::-webkit-scrollbar { display: none; }
.reel__track {
  display: flex;
  align-items: flex-start;
  gap: clamp(1.25rem, 3vw, 3rem);
  width: max-content;
  padding-inline: max(var(--gutter), calc((100vw - var(--container)) / 2));
}
.reel__rail { position: relative; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.reel__rail span { position: absolute; inset: 0; background: var(--accent); transform-origin: left; transform: scaleX(var(--p, 0)); }

/* pinned mode (computers, set by main.js): vertical scrolling slides the cards sideways.
   The stage, cards and progress line together, stays on screen for the whole slide. */
.reel.is-pinned .reel__stage {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  display: flex;
  flex-direction: column;
  padding: calc(var(--nav-h) + 1rem) 0 5vh;
}
.reel.is-pinned .reel__viewport {
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
  overflow: clip;
  display: flex;
  align-items: center;
  padding: 0;
  scroll-snap-type: none;
}
/* cards shrink on short screens so the progress line always fits underneath */
.reel.is-pinned .card:not(.card--next) { width: min(84vw, 960px, (100vh - 250px) * 1.65); }
.reel.is-pinned .reel__track { transform: translate3d(calc(var(--x, 0) * -1px), 0, 0); will-change: transform; }
.reel.is-pinned .reel__rail { flex: none; margin-top: 1.25rem; }

.card {
  position: relative;
  flex: none;
  width: min(84vw, 960px);
  scroll-snap-align: center;
  --rot: 0;
  --scale: 1;
}
.card::before {
  content: "";
  position: absolute;
  inset: 6% 12% 22% 6%;
  z-index: -1;
  background: radial-gradient(closest-side, var(--tone), transparent 72%);
  opacity: .22;
  filter: blur(50px);
  pointer-events: none;
  transition: opacity .6s;
}
.card:hover::before { opacity: .38; }
.card__shot { position: relative; display: block; padding: 0 7% 8% 0; }
.card__browser {
  display: block;
  border-radius: var(--radius);
  background: var(--bg-3);
  border: 1px solid var(--line-strong);
  overflow: hidden;
  box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .9), 0 0 0 1px rgba(0, 0, 0, .4);
  transform: perspective(1600px) rotateY(calc(var(--rot) * 1deg)) scale(var(--scale));
  transition: transform .6s var(--ease), border-color .4s;
}
.card__shot:hover .card__browser, .card__shot:focus-visible .card__browser { border-color: color-mix(in srgb, var(--tone) 55%, var(--line-strong)); }
.card__bar {
  display: grid;
  grid-template-columns: 4rem minmax(0, 1fr) 4rem;
  align-items: center;
  height: 36px;
  padding: 0 .9rem;
  border-bottom: 1px solid var(--line);
}
.card__dots { display: flex; gap: 5px; }
.card__dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--line-strong); }
.card__url {
  justify-self: center;
  max-width: 100%;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  padding: .22rem .9rem;
  border-radius: var(--pill);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .04);
  color: var(--ink-3);
  font-size: .72rem;
}
.card__screen { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #000; }
.card__img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 1.2s var(--ease); }
.card__shot:hover .card__img { transform: scale(1.02); }
/* full-length screenshot that scrolls while the pointer rests on the preview (added by main.js) */
.card__full {
  position: absolute; top: 0; left: 0;
  width: 100%; height: auto;
  z-index: 2;
  opacity: 0;
  transition: transform .9s var(--ease), opacity .5s var(--ease);
  will-change: transform;
}
.card__full.is-on { opacity: 1; }
.card__full.is-moving { transition-timing-function: cubic-bezier(.45, .05, .35, 1), var(--ease); }
.card__phone {
  position: absolute;
  right: 0; bottom: 0;
  width: 20%;
  aspect-ratio: 9 / 19.5;
  border-radius: 20px;
  border: 5px solid #23252c;
  background: #0a0a0c;
  overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .9);
  transition: transform .8s var(--spring-soft);
}
.card__shot:hover .card__phone { transform: translateY(-10px) rotate(-2deg); }
.card__phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.card__info {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between;
  gap: .4rem 2rem;
  margin-top: .75rem;
  padding-right: 7%;
}
.card__name {
  display: inline-flex; align-items: baseline; gap: .6rem;
  font-size: clamp(1.4rem, 2.8vw, 2.3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}
.card__name::before {
  content: "";
  width: .38em; height: .38em;
  border-radius: 50%;
  background: var(--tone);
  flex: none;
  transform: translateY(-.05em);
}
.card__meta { display: flex; flex-wrap: wrap; gap: .25rem 1rem; color: var(--ink-3); font-size: .95rem; }
.card__meta span::before { content: ""; display: inline-block; width: 1px; height: .8em; margin-right: 1rem; background: var(--line-strong); vertical-align: -1px; }

.card--next { width: min(84vw, 560px); align-self: stretch; display: flex; }
.card__next {
  display: grid; align-content: center; gap: 1.25rem;
  width: 100%;
  min-height: 100%;
  padding: clamp(2rem, 5vw, 3.5rem);
  border-radius: var(--radius);
  border: 1px dashed var(--line-strong);
  background:
    radial-gradient(80% 70% at 100% 0%, rgba(255, 106, 61, .16), transparent 70%),
    var(--bg-2);
}
.card__next h3 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 700; letter-spacing: -0.03em; max-width: 12ch; }
.card__next p { color: var(--ink-2); max-width: 34ch; }
.card__next-actions { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ---------- picture yours: live phone sketch ---------- */
.yours { background: rgba(19, 20, 26, .82); --c: #c53030; }
.yours__grid { display: grid; gap: 2.5rem; }
.yours__controls { display: grid; gap: 1.5rem; }
/* phones: controls, then the sketch, then the button. Desktop: button sits under the controls. */
.yours__go { justify-self: center; }
.choice { margin: 0; padding: 0; border: 0; min-width: 0; }
.choice legend { padding: 0; margin-bottom: .6rem; font-size: .9rem; font-weight: 600; color: var(--ink); }

.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip, .swatch { position: relative; cursor: pointer; }
.chip input, .swatch input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-block;
  padding: .6rem 1rem;
  border-radius: var(--pill);
  border: 1px solid var(--line-strong);
  color: var(--ink-2);
  font-size: .9rem;
  line-height: 1.2;
  transition: background-color .3s, border-color .3s, color .3s;
}
.chip:hover span { border-color: var(--ink-2); color: var(--ink); }
.chip input:checked + span { background: var(--accent-soft); border-color: var(--accent); color: var(--ink); }
.chip input:focus-visible + span,
.swatch input:focus-visible + .swatch__dot { outline: 2px solid var(--accent); outline-offset: 3px; }

.swatches { display: flex; flex-wrap: wrap; gap: .8rem; }
.swatch__dot {
  display: block;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--c);
  border: 1px solid var(--line-strong);
  transition: transform .6s var(--spring-pop), box-shadow .3s;
}
.swatch:hover .swatch__dot { transform: scale(1.08); }
.swatch input:checked + .swatch__dot { box-shadow: 0 0 0 3px var(--bg-2), 0 0 0 5px var(--ink); }

.yours__stage {
  position: relative;
  display: grid;
  place-items: center;
  padding: 1rem 0;
  isolation: isolate;
}
.yours__stage::before {
  content: "";
  position: absolute;
  inset: 4% 6%;
  z-index: -1;
  background: radial-gradient(closest-side, var(--c), transparent 72%);
  opacity: .32;
  filter: blur(40px);
  transition: background .8s var(--ease);
  pointer-events: none;
}

/* the phone: a depiction of a client site, so it uses the visitor's chosen colour on a light page */
.mock {
  width: min(300px, 78vw);
  aspect-ratio: 9 / 19.5;
  padding: 9px;
  border-radius: 40px;
  background: #0a0a0c;
  border: 1px solid var(--line-strong);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .9), inset 0 0 0 1px rgba(255, 255, 255, .05);
}
.mock__screen {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: 31px;
  background: #f7f5f0;
  color: #1c1b19;
  font-family: var(--font-body);
  font-size: 11px;
  line-height: 1.45;
}
.mock__screen::before {
  content: "";
  position: absolute; top: 9px; left: 50%;
  width: 74px; height: 20px;
  border-radius: var(--pill);
  background: #0a0a0c;
  transform: translateX(-50%);
  z-index: 3;
}
.mock__screen::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 44px;
  background: linear-gradient(rgba(247, 245, 240, 0), #f7f5f0);
  pointer-events: none;
}
.mock__top {
  position: relative;
  padding: 0 16px 20px;
  color: #fff;
  background:
    radial-gradient(120% 70% at 100% 0%, rgba(255, 255, 255, .22), transparent 60%),
    linear-gradient(160deg, var(--c), color-mix(in srgb, var(--c) 62%, #000));
}
.mock__status {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 10px 6px;
  font-size: 11px; font-weight: 600;
}
.mock__signal { display: flex; align-items: flex-end; gap: 2px; }
.mock__signal i { display: block; width: 3px; border-radius: 1px; background: currentColor; }
.mock__signal i:nth-child(1) { height: 5px; }
.mock__signal i:nth-child(2) { height: 7px; }
.mock__signal i:nth-child(3) { height: 9px; }
.mock__nav { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 0 20px; }
.mock__logo {
  font-family: var(--font-display);
  font-size: 14px; font-weight: 700;
  letter-spacing: -0.01em;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.mock__burger { display: grid; gap: 4px; flex: none; }
.mock__burger i { display: block; width: 16px; height: 2px; border-radius: 2px; background: currentColor; }
.mock__hero { transition: opacity .2s var(--ease); }
.mock.is-swapping .mock__hero, .mock.is-swapping .mock__list { opacity: 0; }
.mock__tag {
  margin-bottom: 8px;
  font-size: 9.5px; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  opacity: .85;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.mock__title {
  margin-bottom: 8px;
  font-family: var(--font-display);
  font-size: 22px; font-weight: 700;
  line-height: 1.08; letter-spacing: -0.02em;
  text-wrap: balance;
  overflow-wrap: anywhere;
}
.mock__sub { margin-bottom: 14px; opacity: .9; }
.mock__btns { display: flex; gap: 6px; }
.mock__btn {
  padding: 8px 12px;
  border-radius: var(--pill);
  background: #fff;
  color: color-mix(in srgb, var(--c) 80%, #000);
  font-size: 10.5px; font-weight: 700;
}
.mock__btn--ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .6); }
.mock__body { display: grid; gap: 10px; padding: 14px 12px 0; }
.mock__list { display: grid; gap: 6px; transition: opacity .2s var(--ease); }
.mock__list li {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 10px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, .06);
  font-weight: 600;
}
.mock__list li::before {
  content: "";
  flex: none;
  width: 22px; height: 22px;
  border-radius: 7px;
  background: color-mix(in srgb, var(--c) 16%, #fff);
}
.mock__list li::after {
  content: "";
  margin-left: auto;
  width: 6px; height: 6px;
  border-top: 1.5px solid #9a968e;
  border-right: 1.5px solid #9a968e;
  transform: rotate(45deg);
}
.mock__map { overflow: hidden; border-radius: 12px; background: #fff; border: 1px solid rgba(0, 0, 0, .06); }
.mock__map-art {
  position: relative;
  height: 84px;
  background-color: #ebe7de;
  background-image:
    linear-gradient(90deg, transparent 46%, #fff 46%, #fff 52%, transparent 52%),
    linear-gradient(0deg, transparent 38%, #fff 38%, #fff 45%, transparent 45%),
    linear-gradient(32deg, transparent 62%, #f6f3ec 62%, #f6f3ec 66%, transparent 66%);
}
.mock__pin {
  position: absolute; left: 50%; top: 42%;
  width: 18px; height: 18px;
  border-radius: 50% 50% 50% 0;
  background: var(--c);
  transform: translate(-50%, -50%) rotate(-45deg);
  box-shadow: 0 4px 10px rgba(0, 0, 0, .25);
}
.mock__pin::after { content: ""; position: absolute; inset: 5px; border-radius: 50%; background: #fff; }
.mock__map-info { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 8px 10px; }
.mock__map-info > div { min-width: 0; }
.mock__map-name { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mock__map-area { color: #6b675f; font-size: 10px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mock__dir {
  flex: none;
  padding: 4px 8px;
  border-radius: var(--pill);
  border: 1px solid currentColor;
  color: color-mix(in srgb, var(--c) 85%, #000);
  font-size: 10px; font-weight: 600;
}

@media (min-width: 900px) {
  .yours__grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    grid-template-rows: auto auto;
    column-gap: clamp(3rem, 6vw, 6rem);
    row-gap: 1.75rem;
  }
  .yours__copy { grid-column: 1; grid-row: 1; align-self: end; }
  .yours__go { grid-column: 1; grid-row: 2; align-self: start; justify-self: start; }
  .yours__stage { grid-column: 2; grid-row: 1 / 3; align-self: center; }
  .yours__copy .section-head { margin-bottom: 2.5rem; }
}

/* ---------- services bento ---------- */
.bento {
  display: grid;
  gap: 1.25rem;
}
.tile {
  position: relative;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg-2);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  overflow: hidden;
  isolation: isolate;
  --sx: 50%; --sy: 50%;
}
.bento .tile { transition: transform .8s var(--spring-soft), border-color .4s, opacity .9s var(--ease), filter .9s var(--ease); transition-delay: var(--d, 0s); }
/* cursor spotlight inside each tile */
.tile::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  background: radial-gradient(460px circle at var(--sx) var(--sy), rgba(255, 106, 61, 0.22), transparent 62%);
  opacity: 0;
  transition: opacity .5s;
  pointer-events: none;
  z-index: -1;
}
.tile--social::before { background: radial-gradient(460px circle at var(--sx) var(--sy), rgba(255, 255, 255, 0.28), transparent 62%); }
.bento .tile:hover { transform: translateY(-3px); border-color: var(--line-strong); }
.bento .tile:hover::before { opacity: 1; }
.tile h3 { margin-bottom: .9rem; }
.tile p { color: var(--ink-2); max-width: 52ch; }
.pills {
  display: flex; flex-wrap: wrap; gap: .5rem;
  margin-top: 1.5rem;
}
.pills li {
  font-size: .85rem;
  padding: .45rem .85rem;
  border-radius: var(--pill);
  border: 1px solid var(--line-strong);
  color: var(--ink);
}
.tile--web {
  display: grid;
  gap: 2rem;
  padding-bottom: 0;
}
.tile--web .tile__body { position: relative; z-index: 2; }
.tile--web::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 90px;
  background: linear-gradient(to bottom, transparent, rgba(19, 20, 26, 0.9));
  z-index: 3;
  pointer-events: none;
}
.tile__media {
  position: relative;
  height: clamp(220px, 34vw, 380px);
  margin: 0 calc(-1 * clamp(1.5rem, 3vw, 2.5rem));
  pointer-events: none;
}
.mini-browser {
  position: absolute;
  left: clamp(1.5rem, 3vw, 2.5rem); right: 18%; top: .5rem; bottom: -8%;
  border-radius: 12px 12px 0 0;
  border: 1px solid var(--line-strong);
  border-bottom: 0;
  background: var(--bg-3);
  padding-top: 26px;
  overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.9);
  transform: rotate(-2deg) translateY(10px);
  transform-origin: bottom left;
}
.mini-browser::before {
  content: "";
  position: absolute; top: 8px; left: 50%; transform: translateX(-50%);
  width: 40%; height: 10px; border-radius: var(--pill);
  background: rgba(255,255,255,.06);
}
/* fills whatever height the tile has; the full-length screenshot keeps it from looking zoomed in */
.mini-browser img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.mini-phone {
  position: absolute;
  right: 8%; bottom: -12%;
  width: 26%;
  max-width: 150px;
  aspect-ratio: 9 / 19.5;
  border-radius: 20px;
  border: 4px solid #23252c;
  background: #0a0a0c;
  overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.9);
  transform: rotate(4deg);
}
.mini-phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

.tile--social {
  display: grid;
  gap: 1.75rem;
  background:
    radial-gradient(120% 90% at 100% 0%, #ff8a63 0%, var(--accent) 45%, var(--accent-deep) 100%);
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--accent-ink);
}
.tile--social h3, .tile--social p { color: var(--accent-ink); }
.tile--social p { opacity: .85; }
.pills--onaccent li {
  border-color: rgba(26, 15, 10, 0.5);
  color: var(--accent-ink);
  background: rgba(255, 255, 255, 0.22);
}
/* example caption card inside the social tile */
.sample {
  margin-top: 1.5rem;
  padding: 1rem 1.15rem 1.15rem;
  border-radius: var(--radius);
  background: rgba(26, 15, 10, 0.88);
  color: var(--ink);
}
.sample__head {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: .6rem 1rem;
  margin-bottom: .8rem;
}
.tile--social .sample p { color: var(--ink); opacity: 1; max-width: none; }
.tile--social .sample .sample__label { color: var(--ink-2); font-size: .85rem; }
.sample__langs {
  display: inline-flex; gap: 3px;
  padding: 3px;
  border-radius: var(--pill);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
}
.sample__langs button {
  padding: .4rem .85rem;
  border-radius: var(--pill);
  font-size: .82rem; font-weight: 600;
  line-height: 1.2;
  color: var(--ink-2);
  transition: background-color .3s, color .3s;
}
.sample__langs button:hover { color: var(--ink); }
.sample__langs button[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); }
.sample__body { display: grid; gap: .7rem; }
.sample__text { font-size: .95rem; line-height: 1.6; }
.sample.is-live .sample__text { animation: step-in .45s var(--ease) both; }

/* a vertical clip in a phone, like a Reel */
.reelphone {
  position: relative;
  justify-self: center;
  width: min(230px, 66%);
  aspect-ratio: 9 / 16;
  border-radius: 28px;
  border: 6px solid #141518;
  overflow: hidden;
  background: #000;
  box-shadow: 0 40px 70px -30px rgba(26, 15, 10, .9);
  transform: rotate(2deg);
  transition: transform .8s var(--spring-soft);
}
.tile--social:hover .reelphone { transform: rotate(0deg) translateY(-4px); }
.reelphone img, .reelphone video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.reelphone__ui {
  position: absolute; left: 10px; top: 10px;
  display: flex; align-items: center; gap: 6px;
  padding: 4px 10px;
  border-radius: var(--pill);
  background: rgba(0, 0, 0, .5);
  color: #fff;
  font-size: .72rem; font-weight: 600;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.reelphone__rec { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: blink 1.6s steps(2, jump-none) infinite; }
@keyframes blink { 50% { opacity: .2; } }

.tile--extra { background: var(--bg-3); display: grid; align-content: start; gap: 0; }
.tile__foot {
  margin-top: auto;
  padding-top: 1.5rem;
  color: var(--ink-3);
  font-size: .95rem;
  max-width: 40ch;
}
.tile__foot a { color: var(--ink); border-bottom: 1px solid var(--line-strong); transition: color .3s, border-color .3s; }
.tile__foot a:hover { color: var(--accent); border-color: var(--accent); }
.checklist { display: grid; gap: .75rem; margin-top: .25rem; }
.checklist li {
  padding-left: 1.6rem;
  position: relative;
  color: var(--ink-2);
}
.checklist li::before {
  content: "";
  position: absolute; left: 0; top: .55em;
  width: 12px; height: 7px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}

@media (min-width: 900px) {
  .bento { grid-template-columns: repeat(12, 1fr); }
  .tile--web { grid-column: 1 / 8; grid-row: 1; grid-template-rows: auto 1fr; }
  .tile--social { grid-column: 8 / 13; grid-row: 1 / 3; align-content: start; }
  .tile--extra { grid-column: 1 / 8; grid-row: 2; }
  .tile__media { height: auto; min-height: 260px; }
}

/* ---------- services helper: three questions, one suggestion ---------- */
.helper {
  display: grid;
  gap: 1.75rem;
  margin-top: 1.25rem;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg-2);
}
.helper__intro h3 { margin-bottom: .75rem; }
.helper__intro p { color: var(--ink-2); max-width: 40ch; }
.helper__panel { min-height: 14rem; }
.helper__step { animation: step-in .55s var(--ease) both; }
@keyframes step-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.helper__progress { display: flex; gap: 6px; margin-bottom: 1rem; }
.helper__progress span {
  flex: 1; max-width: 48px; height: 3px;
  border-radius: 3px;
  background: var(--line-strong);
  transition: background-color .4s;
}
.helper__progress span.is-done { background: var(--accent); }
.helper__count { margin-bottom: .5rem; color: var(--ink-3); font-size: .9rem; }
.helper__q, .helper__pick {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.helper__q { margin-bottom: 1.25rem; font-size: clamp(1.3rem, 2vw, 1.6rem); }
.helper__pick { margin-bottom: .9rem; font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 700; }
.helper__q:focus, .helper__pick:focus { outline: none; }
.helper__options { display: flex; flex-wrap: wrap; gap: .6rem; }
.helper__opt {
  padding: .85rem 1.25rem;
  border-radius: var(--pill);
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.02);
  font-size: .95rem;
  line-height: 1.2;
  text-align: left;
  transition: border-color .3s, background-color .3s, transform .6s var(--spring-soft);
}
.helper__opt:hover, .helper__opt.is-picked { border-color: var(--accent); background: var(--accent-soft); }
.helper__opt:hover { transform: translateY(-1px); }
.helper__back {
  margin-top: 1.25rem;
  padding: .25rem 0;
  color: var(--ink-2);
  font-size: .9rem;
  border-bottom: 1px solid var(--line-strong);
  transition: color .3s, border-color .3s;
}
.helper__back:hover { color: var(--ink); border-color: var(--ink-2); }
.helper__why { margin-bottom: 1.5rem; color: var(--ink-2); max-width: 58ch; }
.helper__actions { display: flex; flex-wrap: wrap; gap: .75rem; }

@media (min-width: 900px) {
  .helper { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
}

/* ---------- process: steps light up as the line fills ---------- */
.process { background: rgba(19, 20, 26, .82); }
.process__grid { display: grid; gap: 1rem; }
.process__head .btn { justify-self: start; margin-top: .5rem; }
.steps { position: relative; display: grid; gap: 1rem; --p: 0; }
.steps::before, .steps::after {
  content: "";
  position: absolute;
  left: calc(clamp(1.25rem, 3vw, 1.75rem) + 25px);
  top: 3rem; bottom: 3rem;
  width: 2px;
  border-radius: 2px;
}
.steps::before { background: var(--line); }
.steps::after { background: var(--accent); transform: scaleY(var(--p)); transform-origin: top; }
.steps__item {
  position: relative;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  column-gap: 1.25rem;
  row-gap: .4rem;
  padding: clamp(1.25rem, 3vw, 1.75rem);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg);
  opacity: .7;
  transition: opacity .6s var(--ease), border-color .6s, transform .8s var(--spring-soft);
}
.steps__item.is-on { opacity: 1; border-color: var(--line-strong); }
.steps__icon {
  grid-row: span 2;
  position: relative; z-index: 1;
  width: 52px; height: 52px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--bg-3);
  border: 1px solid var(--line-strong);
  color: var(--ink-2);
  transition: background-color .5s, color .5s, border-color .5s, box-shadow .5s;
}
.steps__icon svg { width: 22px; height: 22px; }
.steps__item.is-on .steps__icon { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); box-shadow: 0 0 0 6px var(--accent-soft); }
.steps__item h3 { align-self: end; font-size: clamp(1.25rem, 1.8vw, 1.55rem); }
.steps__item p { color: var(--ink-2); max-width: 48ch; }
@media (min-width: 900px) {
  .process__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(3rem, 6vw, 6rem); align-items: start; }
  .process__head { position: sticky; top: calc(var(--nav-h) + 3rem); }
}

/* ---------- about ---------- */
.about__grid { display: grid; gap: 3rem; align-items: center; }
.about__film {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius);
  overflow: hidden;
  background: #0a0a0c;
  box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .9);
}
.about__film img, .about__film video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.about__film::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px var(--line-strong);
  background: linear-gradient(180deg, transparent 55%, rgba(13, 14, 17, .6));
  pointer-events: none;
}
.about__badge {
  position: absolute; left: 1rem; bottom: 1rem;
  z-index: 2;
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .5rem .9rem;
  border-radius: var(--pill);
  border: 1px solid var(--line-strong);
  background: rgba(13, 14, 17, .7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: .85rem;
}
.about__copy { display: grid; gap: 1.25rem; }
.about__copy p { color: var(--ink-2); max-width: 58ch; }
.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.5rem 2rem;
  margin-top: 1.25rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
}
.facts dt { color: var(--ink-3); font-size: .85rem; margin-bottom: .35rem; }
.facts dd { font-size: 1.35rem; font-weight: 600; letter-spacing: -0.02em; }
@media (min-width: 900px) {
  .about__grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(3rem, 6vw, 6rem); }
}

/* ---------- testimonials (hidden by default) ---------- */
.quotes { border-top: 1px solid var(--line); }
.quotes__grid { display: grid; gap: 1.25rem; }
.quote {
  margin: 0;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg-2);
  display: grid; gap: 1.25rem;
}
.quote p { font-family: var(--font-display); font-size: clamp(1.15rem, 1.6vw, 1.4rem); line-height: 1.35; letter-spacing: -0.01em; }
.quote footer { color: var(--ink-3); font-size: .9rem; }
@media (min-width: 900px) { .quotes__grid { grid-template-columns: 1fr 1fr; } }

/* ---------- contact ---------- */
.contact {
  position: relative;
  overflow: clip;
  isolation: isolate;
  border-top: 1px solid var(--line);
}
.contact__glow {
  position: absolute;
  left: -10%; right: -10%; bottom: -35%;
  height: 80%;
  z-index: -1;
  background: radial-gradient(closest-side, rgba(255, 106, 61, .16), transparent);
  filter: blur(20px);
  pointer-events: none;
}
.contact__grid { display: grid; gap: 3rem; }
.contact__copy { display: grid; gap: 1.5rem; align-content: start; }
.contact__title { font-size: clamp(2.4rem, 5.6vw, 4.4rem); max-width: 12ch; font-weight: 700; letter-spacing: -0.035em; }
.contact__copy > p { color: var(--ink-2); max-width: 46ch; }
.contact__wa { justify-self: start; }
.contact__list {
  display: grid;
  gap: 1rem;
  margin-top: .5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.contact__list div { display: grid; grid-template-columns: 6.5rem 1fr; gap: 1rem; align-items: baseline; }
.contact__list dt { color: var(--ink-3); font-size: .9rem; }
.contact__list dd a { border-bottom: 1px solid var(--line-strong); transition: border-color .3s, color .3s; }
.contact__list dd a:hover { color: var(--accent); border-color: var(--accent); }

.form {
  display: grid; gap: 1.25rem;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg-2);
  align-content: start;
}
.form__row { display: grid; gap: 1.25rem; }
.field { display: grid; gap: .5rem; }
.field label { font-size: .9rem; font-weight: 600; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  padding: .85rem 1rem;
  transition: border-color .3s, box-shadow .3s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23b9b5ad' stroke-width='1.6'><path d='m4 6 4 4 4-4'/></svg>");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.75rem;
}
.field select option { background: var(--bg-2); color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.form .btn { justify-self: start; }
.form__note { color: var(--ink-2); font-size: .875rem; }

/* live preview of the WhatsApp message */
.wa-preview {
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg);
}
.wa-preview__head {
  display: flex; align-items: center; gap: .55rem;
  padding: .75rem 1rem;
  border-bottom: 1px solid var(--line);
  color: var(--ink-2);
  font-size: .875rem;
}
.wa-preview__head svg { width: 16px; height: 16px; color: var(--ink-3); flex: none; }
.wa-preview__chat {
  display: flex; justify-content: flex-end;
  padding: 1rem;
  background-image: radial-gradient(rgba(242, 239, 233, 0.04) 1px, transparent 1px);
  background-size: 14px 14px;
}
.wa-preview__bubble {
  max-width: min(100%, 30rem);
  max-height: 20rem;
  overflow-y: auto;
  padding: .7rem .9rem .5rem;
  border-radius: var(--radius) 4px var(--radius) var(--radius);
  background: var(--accent-soft);
  border: 1px solid rgba(255, 106, 61, 0.35);
  font-size: .9rem;
  line-height: 1.5;
}
.wa-preview__text { display: block; white-space: pre-wrap; overflow-wrap: anywhere; color: var(--ink); }
.wa-preview__meta { display: block; margin-top: .3rem; text-align: right; font-size: .75rem; color: var(--ink-2); }

@media (min-width: 900px) {
  .contact__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(3rem, 6vw, 6rem); }
  .form__row { grid-template-columns: 1fr 1fr; }
}

/* ---------- footer ---------- */
.footer {
  border-top: 1px solid var(--line);
  padding: 1.5rem 0 2.5rem;
  color: var(--ink-3);
  font-size: .9rem;
  overflow: clip;
}
/* the name fills with colour as you reach the end of the page */
.footer__mark {
  margin: .5rem 0 2.5rem;
  font-size: min(15.2vw, 13.5rem);
  font-weight: 800;
  line-height: .9;
  letter-spacing: -0.055em;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px rgba(242, 239, 233, .22);
  background: linear-gradient(90deg, var(--accent), #ffb497) no-repeat;
  background-size: calc(var(--fill, 0) * 100%) 100%;
  -webkit-background-clip: text;
  background-clip: text;
  user-select: none;
}
.footer__inner { display: grid; gap: 1.75rem; }
.footer__brand { color: var(--ink); font-weight: 600; font-size: 1rem; }
.footer__tag { max-width: 40ch; margin-top: .25rem; }
.footer__links { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.footer__links a { transition: color .25s; }
.footer__links a:hover { color: var(--ink); }
@media (min-width: 900px) {
  .footer__inner { grid-template-columns: 1fr auto auto; align-items: end; gap: 3rem; }
}

/* ---------- speed: interactive bar chart of real measurements ---------- */
.speed { padding-block: var(--section); border-top: 1px solid var(--line); }
.chart {
  --chart-bar: var(--accent);
  --chart-grid: rgba(242, 239, 233, .07);
  --chart-label: var(--ink-3);
  position: relative;
  padding: clamp(1.25rem, 3vw, 2.25rem);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(19, 20, 26, .9);
}
.chart__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.25rem 2rem; margin-bottom: 1.75rem; }
.chart__big {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw, 3.8rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}
.chart__caption { margin-top: .5rem; color: var(--ink-2); font-size: .95rem; max-width: 40ch; }
.chart__toggle { display: inline-flex; gap: 3px; padding: 3px; border-radius: var(--pill); border: 1px solid var(--line-strong); }
.chart__toggle button { padding: .5rem 1rem; border-radius: var(--pill); font-size: .88rem; font-weight: 600; color: var(--ink-2); transition: background-color .25s, color .25s; }
.chart__toggle button:hover { color: var(--ink); }
.chart__toggle button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.chart__plot { position: relative; }
.chart__plot svg { display: block; width: 100%; height: auto; overflow: visible; }
.chart__plot text { font-family: var(--font-body); }
.chart__row { cursor: default; outline: none; }
.chart__row .bar { fill: var(--chart-bar); transition: opacity .3s; }
.chart__row .hit { fill: transparent; }
.chart__row .name { fill: var(--ink-2); font-size: 13px; transition: fill .3s; }
.chart__row .val { fill: var(--ink-2); font-size: 12.5px; font-variant-numeric: tabular-nums; transition: fill .3s; }
.chart__plot.is-hovering .chart__row .bar { opacity: .32; }
.chart__plot.is-hovering .chart__row.is-active .bar { opacity: 1; }
.chart__row.is-active .name, .chart__row.is-active .val { fill: var(--ink); }
.chart__row:focus-visible .name { fill: var(--ink); text-decoration: underline; }
.chart__grid line { stroke: var(--chart-grid); stroke-width: 1; }
.chart__grid text { fill: var(--chart-label); font-size: 11.5px; font-variant-numeric: tabular-nums; }
.chart__median line { stroke: var(--ink-3); stroke-width: 1; stroke-dasharray: 3 4; }
.chart__median text { fill: var(--ink-2); font-size: 11.5px; }
.chart__tip {
  position: absolute; z-index: 3;
  min-width: 190px;
  padding: .7rem .85rem;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: var(--bg-3);
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .9);
  font-size: .85rem;
  pointer-events: none;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .18s, transform .25s var(--ease);
}
.chart__tip.is-on { opacity: 1; transform: none; }
.chart__tip strong { display: block; margin-bottom: .35rem; font-weight: 600; color: var(--ink); }
.chart__tip span { display: flex; justify-content: space-between; gap: 1rem; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.chart__tip span b { color: var(--ink); font-weight: 600; }
.chart__note { margin-top: 1.5rem; color: var(--ink-3); font-size: .82rem; max-width: 80ch; }
.chart__table { width: 100%; border-collapse: collapse; font-size: .9rem; color: var(--ink-2); }
.chart__table caption { text-align: left; color: var(--ink-3); font-size: .85rem; padding-bottom: .75rem; }
.chart__table th, .chart__table td { text-align: left; padding: .45rem .75rem .45rem 0; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.chart__table th { color: var(--ink); font-weight: 600; }
/* once the chart is drawn, the table stays for screen readers only */
.chart__data { overflow-x: auto; }
.chart.is-live .chart__data {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* ---------- scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .9s var(--ease), transform 1s var(--ease), filter .9s var(--ease), clip-path 1.3s var(--ease);
  transition-delay: var(--d, 0s);
}
.reveal:not(.no-blur) { filter: blur(10px); }
.reveal.is-in { opacity: 1; transform: none; filter: blur(0); }
/* films open up from the middle */
.about__film.reveal { transform: none; clip-path: inset(10% 14% 10% 14% round var(--radius)); }
.about__film.reveal.is-in { clip-path: inset(0 0 0 0 round var(--radius)); }

/* section headings: words rise in sequence */
[data-words] .w {
  display: inline-block;
  white-space: pre;
  opacity: 0;
  transform: translateY(0.45em);
  filter: blur(6px);
  transition: opacity .7s var(--ease), transform .9s var(--spring-soft), filter .7s var(--ease);
  transition-delay: calc(var(--i, 0) * 45ms + 120ms);
}
[data-words].is-in .w { opacity: 1; transform: none; filter: blur(0); }

/* =========================================================
   Scroll-linked effects. Each is tied directly to the scroll position,
   so it plays forwards and backwards with the page. Browsers without
   CSS scroll-driven animations, and reduced motion, show the final state.
   ========================================================= */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    /* hero: everything drifts up and eases back as you leave */
    .hero__layout { animation: hero-out linear both; animation-timeline: --hero; animation-range: exit 0% exit 100%; }
    @keyframes hero-out { to { transform: translateY(-10vh) scale(.96); opacity: .15; } }

    /* proof: the big numbers rise into place */
    .stat__num { animation: num-rise linear both; animation-timeline: view(block 0px); animation-range: entry 0% cover 40%; }
    @keyframes num-rise { from { transform: translateY(60%); opacity: 0; } to { transform: none; opacity: 1; } }

    /* services: the browser mockup scrolls its page, the phone and the Reel drift */
    .tile--web { view-timeline: --webtile block; view-timeline-inset: 0px; }
    .mini-browser img { animation: page-scroll linear both; animation-timeline: --webtile; animation-range: cover 10% cover 90%; }
    @keyframes page-scroll { from { object-position: 50% 0%; } to { object-position: 50% 32%; } }
    .mini-phone { animation: phone-drift linear both; animation-timeline: --webtile; animation-range: cover 0% cover 100%; }
    @keyframes phone-drift { from { translate: 0 50px; } to { translate: 0 -40px; } }
    .tile--social { view-timeline: --socialtile block; view-timeline-inset: 0px; }
    .reelphone { animation: reel-tilt linear both; animation-timeline: --socialtile; animation-range: cover 0% cover 100%; }
    @keyframes reel-tilt { from { transform: translateY(60px) rotate(-6deg); } to { transform: translateY(-30px) rotate(3deg); } }

    /* picture yours: the phone tips up into place */
    .yours__stage { view-timeline: --sketch block; view-timeline-inset: 0px; }
    .mock { animation: tip-up linear both; animation-timeline: --sketch; animation-range: entry 0% cover 45%; }
    @keyframes tip-up { from { transform: perspective(1100px) rotateX(22deg) translateY(80px) scale(.92); opacity: .4; } to { transform: none; opacity: 1; } }

    /* about: the film slowly pulls back as it crosses the screen */
    .about__film { view-timeline: --film block; view-timeline-inset: 0px; }
    .about__film img, .about__film video { animation: film-pull linear both; animation-timeline: --film; animation-range: cover 0% cover 100%; }
    @keyframes film-pull { from { transform: scale(1.18); } to { transform: scale(1); } }

    /* contact: the heading slides in from the side as you arrive */
    .contact__title { animation: title-slide linear both; animation-timeline: view(block 0px); animation-range: entry 0% cover 35%; }
    @keyframes title-slide { from { transform: translateX(-6vw); } to { transform: none; } }
  }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  [data-rise], .hero__media, .float, .reveal { opacity: 1; transform: none; }
  .hero__title .w__in { transform: none; }
  .hero__title .w--accent::after { transform: scaleX(1); }
  .reveal, [data-words] .w { filter: none; opacity: 1; transform: none; clip-path: none; }
  .about__film.reveal { clip-path: none; }
  .progress { animation: none; }
  .hero__bubble { transition: none; }
  .intro__line::after { animation: none; }
  .hero__frame::after { animation: none; }
  .steps__item { opacity: 1; }
  .steps::after { transform: none; }
  /* still images instead of moving video */
  .hero__video, .reelphone video, .about__film video { display: none; }
  .marquee__track { animation: none; flex-wrap: wrap; width: 100%; justify-content: center; row-gap: .5rem; }
  .marquee--alt { display: none; }
}
