/* ==========================================================================
   ByInay: style.css
   Tokens → base → components → sections → responsive → reduced motion
   ========================================================================== */

@property --spin {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

:root {
  /* color */
  --ink: #0F0D0B;
  --ink-2: #1A1714;
  --night: #070B1F;
  --night-2: #0C1230;
  --cream: #F3ECE1;
  --paper: #FBF7F1;
  --text-dark: #16130F;
  --text-light: #F3ECE1;
  --muted-light: #A39B90;
  --muted-dark: #6B6358;
  --tangerine: #FF5B1F;
  --tangerine-soft: #FF8A4C;
  --tangerine-ink: #C43A07;
  --signal-blue: #3D6BFF;
  --blue-ink: #2B55E6;
  --cyan-glow: #7FD8FF;
  --success: #38D98A;
  --line-light: rgba(243, 236, 225, .14);
  --line-dark: rgba(22, 19, 15, .14);
  --glass: rgba(15, 13, 11, .55);

  /* type */
  --font-display: "Bricolage Grotesque", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --fs-mega: clamp(4rem, 15vw, 16rem);
  --fs-hero: clamp(3.2rem, 10vw, 11rem);
  --fs-h1: clamp(2.6rem, 6.5vw, 7rem);
  --fs-h2: clamp(2rem, 4.5vw, 4.5rem);
  --fs-h3: clamp(1.4rem, 2.2vw, 2.2rem);
  --fs-lead: clamp(1.15rem, 1.6vw, 1.5rem);
  --fs-body: clamp(1rem, 1.05vw, 1.125rem);
  --fs-label: .78rem;

  /* shape + space */
  --r-sm: 10px;
  --r-md: 20px;
  --r-lg: 32px;
  --gutter: clamp(16px, 4vw, 56px);

  /* motion */
  --ease-cinema: cubic-bezier(.77, 0, .175, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-play: cubic-bezier(.34, 1.56, .64, 1);
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--text-light);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.55;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg, canvas, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
strong { font-weight: 600; }

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

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

.wrap {
  width: min(100% - 2 * var(--gutter), 1440px);
  margin-inline: auto;
}

.skip {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 10000;
  padding: .7em 1.1em;
  border-radius: 999px;
  background: var(--tangerine);
  color: var(--ink);
  font-weight: 600;
  transform: translateY(-200%);
}
.skip:focus { transform: none; }

.i {
  width: 1.15em;
  height: 1.15em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Film grain */
.grain {
  position: fixed;
  inset: -50%;
  z-index: 9000;
  pointer-events: none;
  opacity: .07;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1.4 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1s steps(6) infinite;
}
@keyframes grain {
  0%   { transform: translate(0, 0); }
  20%  { transform: translate(-3%, 2%); }
  40%  { transform: translate(2%, -3%); }
  60%  { transform: translate(-2%, -1%); }
  80%  { transform: translate(3%, 3%); }
  100% { transform: translate(0, 0); }
}

/* Scroll progress */
.progress {
  position: fixed;
  inset: 0 0 auto;
  height: 2px;
  z-index: 200;
  pointer-events: none;
}
.progress span {
  display: block;
  height: 100%;
  background: var(--tangerine);
  transform: scaleX(0);
  transform-origin: 0 50%;
}

/* --------------------------------------------------------------------------
   Components
   -------------------------------------------------------------------------- */
.label {
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted-light);
}
.label--accent { color: var(--tangerine); }
.label--blue { color: var(--cyan-glow); }

.h1 {
  font-family: var(--font-display);
  font-size: var(--fs-h1);
  font-weight: 800;
  line-height: .92;
  letter-spacing: -.04em;
  text-wrap: balance;
  margin-top: .3em;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: .6em;
  padding: .5em .95em;
  border: 1px solid var(--line-light);
  border-radius: 999px;
  background: rgba(15, 13, 11, .4);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  letter-spacing: .06em;
  text-transform: uppercase;
}
.chip--soft { background: rgba(243, 236, 225, .05); }

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--tangerine);
}

.live {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: .6em;
  border-radius: 50%;
  background: var(--success);
  vertical-align: .05em;
  box-shadow: 0 0 0 0 rgba(56, 217, 138, .6);
  animation: live 2s infinite;
}
.live--blue { background: var(--cyan-glow); box-shadow: 0 0 0 0 rgba(127, 216, 255, .6); }
@keyframes live {
  70%  { box-shadow: 0 0 0 10px rgba(56, 217, 138, 0); }
  100% { box-shadow: 0 0 0 0 rgba(56, 217, 138, 0); }
}

/* Buttons */
.btn {
  --from: 101%;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6em;
  min-height: 54px;
  padding: .85em 1.5em;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
  transition: color .45s var(--ease-out), border-color .45s var(--ease-out);
}
.btn::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  transform: translateY(var(--from));
  transition: transform .55s var(--ease-cinema);
}
.btn:hover::before, .btn:focus-visible::before { transform: translateY(0); }
.btn .i { transition: transform .45s var(--ease-out); }
.btn:hover .i:last-child { transform: translateX(3px); }

.btn--primary { background: var(--tangerine); color: var(--ink); }
.btn--primary::before { background: var(--cream); }

.btn--ghost {
  border: 1px solid rgba(243, 236, 225, .35);
  color: var(--cream);
  background: rgba(15, 13, 11, .25);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.btn--ghost::before { background: var(--cream); }
.btn--ghost:hover, .btn--ghost:focus-visible { color: var(--ink); border-color: var(--cream); }

.btn--sm { min-height: 44px; padding: .7em 1.1em; font-size: .92rem; }
.btn--xl {
  min-height: clamp(64px, 8vw, 104px);
  padding-inline: clamp(1.4em, 3vw, 2.2em);
  font-size: clamp(1.1rem, 2vw, 1.8rem);
}

.tags { display: flex; flex-wrap: wrap; gap: .5rem; }
.tag {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .04em;
  padding: .45em .85em;
  border: 1px solid var(--line-light);
  border-radius: 999px;
  color: var(--muted-light);
}

.sticker--pill {
  position: absolute;
  top: -14px;
  right: 20px;
  padding: .5em .9em;
  border-radius: 999px;
  background: var(--tangerine);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  transform: rotate(5deg);
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem 3rem;
  flex-wrap: wrap;
  margin-bottom: clamp(40px, 5vw, 80px);
}
.section-head__sub {
  max-width: 34ch;
  font-size: var(--fs-lead);
  color: var(--muted-light);
}

/* Split-text helpers */
.split-line { overflow: clip; padding-bottom: .08em; margin-bottom: -.08em; }

/* Custom cursor */
.cursor { display: none; }
.has-cursor .cursor { display: block; }
.has-cursor, .has-cursor * { cursor: none !important; }
.cursor__dot, .cursor__ring {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9500;
  pointer-events: none;
  border-radius: 50%;
}
.cursor__dot {
  width: 8px;
  height: 8px;
  margin: -4px 0 0 -4px;
  background: var(--tangerine);
}
.cursor__ring {
  width: 40px;
  height: 40px;
  margin: -20px 0 0 -20px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(243, 236, 225, .45);
  transition: width .45s var(--ease-out), height .45s var(--ease-out), margin .45s var(--ease-out), background-color .35s, border-color .35s;
}
.cursor__label {
  font-family: var(--font-mono);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink);
  opacity: 0;
  transition: opacity .25s;
}
.cursor.is-label .cursor__ring {
  width: 84px;
  height: 84px;
  margin: -42px 0 0 -42px;
  background: var(--tangerine);
  border-color: transparent;
}
.cursor.is-label .cursor__label { opacity: 1; }
.cursor.is-label .cursor__dot { opacity: 0; }
.cursor.is-hover .cursor__ring { width: 64px; height: 64px; margin: -32px 0 0 -32px; border-color: var(--tangerine); }
.cursor.is-down .cursor__ring { transform: scale(.85); }

/* Toast */
.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 9600;
  padding: .9em 1.3em;
  border-radius: 999px;
  background: var(--cream);
  color: var(--ink);
  font-weight: 600;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .4);
  transform: translate(-50%, calc(100% + 60px));
  visibility: hidden;
  transition: transform .6s var(--ease-play), visibility 0s .6s;
  max-width: calc(100vw - 32px);
  text-align: center;
}
.toast.is-on { transform: translate(-50%, 0); visibility: visible; transition: transform .6s var(--ease-play); }

/* --------------------------------------------------------------------------
   Loader
   -------------------------------------------------------------------------- */
.loader { display: none; }
.js .loader {
  position: fixed;
  inset: 0;
  z-index: 9800;
  display: grid;
  place-items: center;
  background: var(--ink);
}
.skip-loader .loader, .no-gsap .loader { display: none; }
.loader__inner {
  position: relative;
  width: min(56vw, 240px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}
.loader svg { position: absolute; inset: 0; transform: rotate(-90deg); overflow: visible; }
.loader circle { fill: none; stroke-width: 2; }
.loader__track { stroke: var(--line-light); }
.loader__arc {
  stroke: var(--tangerine);
  stroke-linecap: round;
  stroke-dasharray: 360;
  stroke-dashoffset: 360;
}
.loader__count {
  font-family: var(--font-display);
  font-size: clamp(3rem, 12vw, 5rem);
  font-weight: 800;
  letter-spacing: -.04em;
  font-variant-numeric: tabular-nums;
}
.loader__label {
  position: absolute;
  bottom: -3rem;
  left: 50%;
  translate: -50% 0;
  white-space: nowrap;
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted-light);
}

/* --------------------------------------------------------------------------
   Nav + menu
   -------------------------------------------------------------------------- */
.nav {
  position: fixed;
  top: 12px;
  left: var(--gutter);
  right: var(--gutter);
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition: transform .6s var(--ease-cinema);
}
.nav.is-hidden { transform: translateY(-150%); }

.nav__brand,
.nav__links,
.nav__menu {
  background: var(--glass);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
  border: 1px solid var(--line-light);
}

.nav__brand {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 1.05em;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -.035em;
}
.nav__brand span { color: var(--tangerine); }

.nav__links {
  position: absolute;
  left: 50%;
  translate: -50% 0;
  display: flex;
  gap: .15rem;
  padding: 5px;
  border-radius: 999px;
}
.nav__links a {
  position: relative;
  z-index: 1;
  padding: .6em 1.1em;
  border-radius: 999px;
  font-size: .92rem;
  font-weight: 500;
  color: var(--muted-light);
  transition: color .3s;
}
.nav__links a:hover, .nav__links a.is-active { color: var(--cream); }
.nav__pill {
  position: absolute;
  top: 5px;
  bottom: 5px;
  left: 0;
  width: 0;
  border-radius: 999px;
  background: rgba(243, 236, 225, .1);
  opacity: 0;
  transition: left .5s var(--ease-out), width .5s var(--ease-out), opacity .3s;
}

.nav__right { display: flex; align-items: center; gap: .5rem; }

.nav__menu {
  display: none;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  position: relative;
}
.nav__menu span {
  position: absolute;
  left: 15px;
  right: 15px;
  height: 2px;
  border-radius: 2px;
  background: var(--cream);
  transition: transform .45s var(--ease-cinema);
}
.nav__menu span:first-child { transform: translateY(-4px); }
.nav__menu span:last-child { transform: translateY(4px); }
.nav__menu[aria-expanded="true"] span:first-child { transform: rotate(45deg); }
.nav__menu[aria-expanded="true"] span:last-child { transform: rotate(-45deg); }

.menu {
  position: fixed;
  inset: 0;
  z-index: 250;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
  padding: 110px var(--gutter) max(32px, env(safe-area-inset-bottom));
  background: var(--ink);
  clip-path: circle(0% at calc(100% - 40px) 36px);
  transition: clip-path .8s var(--ease-cinema);
}
.menu[hidden] { display: flex; visibility: hidden; }
.menu.is-open { clip-path: circle(150% at calc(100% - 40px) 36px); visibility: visible; }
.menu__links { display: grid; gap: .2rem; }
.menu__links a {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  font-family: var(--font-display);
  font-size: clamp(3rem, 15vw, 6rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.04em;
}
.menu__links a:hover { color: var(--tangerine); }
.menu__foot { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }

/* --------------------------------------------------------------------------
   Scenes (canvas)
   -------------------------------------------------------------------------- */
.scene {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.shade { position: absolute; inset: 0; pointer-events: none; }

/* --------------------------------------------------------------------------
   1 · Hero
   -------------------------------------------------------------------------- */
.hero { position: relative; height: 100vh; height: 100svh; background: var(--ink); }
.motion .hero { height: 350vh; }

.hero__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
}
.hero__stage { position: absolute; inset: 0; will-change: transform; }
.hero__wash {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, #FFF1E2 0%, #FFD9B8 60%, #FFB27A 100%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.shade--hero {
  background:
    linear-gradient(180deg, rgba(15, 13, 11, .6) 0%, rgba(15, 13, 11, 0) 22%),
    linear-gradient(0deg, rgba(15, 13, 11, .92) 0%, rgba(15, 13, 11, .55) 32%, rgba(15, 13, 11, 0) 60%),
    linear-gradient(90deg, rgba(15, 13, 11, .55) 0%, rgba(15, 13, 11, 0) 55%);
}

.hero__content {
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  bottom: clamp(84px, 12vh, 140px);
  will-change: transform, opacity;
}

.hero__title {
  margin: .3em 0 .35em;
  font-family: var(--font-display);
  font-size: var(--fs-hero);
  font-weight: 800;
  line-height: .86;
  letter-spacing: -.05em;
  font-variation-settings: "opsz" 96;
}
.line { display: block; }
.js .line { overflow: clip; padding-bottom: .1em; margin-bottom: -.1em; }
.js .hero__title.is-revealed .line { overflow: visible; }
.line__inner { display: block; }

.deg {
  position: relative;
  display: inline-block;
  color: var(--tangerine);
  isolation: isolate;
}
.ring {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 1.75em;
  height: 1.75em;
  translate: -50% -50%;
  z-index: -1;
  overflow: visible;
  pointer-events: none;
}
.ring text {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
  fill: rgba(243, 236, 225, .7);
}

.hero__row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem 3rem;
  flex-wrap: wrap;
}
.hero__sub {
  max-width: 44ch;
  font-size: var(--fs-lead);
  line-height: 1.45;
  color: rgba(243, 236, 225, .82);
}
.hero__ctas { display: flex; flex-wrap: wrap; gap: .75rem; }

.hero__corners { position: absolute; inset: 0; pointer-events: none; }
.hero__corner {
  position: absolute;
  bottom: 24px;
  margin: 0;
}
.hero__corner--l { left: var(--gutter); }
.hero__corner--r { right: var(--gutter); }
.bob { display: inline-block; animation: bob 1.8s var(--ease-cinema) infinite; }
@keyframes bob { 50% { transform: translateY(5px); } }

.hero__handoff {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: var(--gutter);
  text-align: center;
  font-family: var(--font-display);
  font-size: var(--fs-h1);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: .95;
  color: var(--ink);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   2 · Stats + marquee
   -------------------------------------------------------------------------- */
.stats {
  position: relative;
  background: var(--ink);
  padding-top: clamp(64px, 8vw, 120px);
  border-top: 1px solid rgba(255, 91, 31, .45);
  border-bottom: 1px solid rgba(255, 91, 31, .45);
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.stat {
  display: flex;
  flex-direction: column;
  gap: .9rem;
  padding: 0 clamp(12px, 2vw, 36px);
  border-left: 1px solid var(--line-light);
}
.stat:first-child { border-left: 0; padding-left: 0; }
.stat__num {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 7vw, 7.5rem);
  font-weight: 800;
  line-height: .85;
  letter-spacing: -.045em;
  font-variant-numeric: tabular-nums;
  color: var(--cream);
}
.stat:first-child .stat__num { color: var(--tangerine); }
.stat__label { max-width: 24ch; font-size: .95rem; color: var(--muted-light); }

.marquee {
  margin-top: clamp(64px, 8vw, 110px);
  padding-block: clamp(18px, 2.4vw, 32px);
  border-top: 1px solid var(--line-light);
  overflow: hidden;
}
.marquee__track { display: flex; width: max-content; will-change: transform; }
.marquee__list { display: flex; flex: none; }
.marquee__item {
  display: flex;
  align-items: center;
  gap: .45em;
  padding-right: .45em;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5.5vw, 5rem);
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: 1.05;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px rgba(243, 236, 225, .42);
  transition: color .4s, -webkit-text-stroke-color .4s;
}
.marquee__item::after {
  content: "";
  width: .2em;
  height: .2em;
  border-radius: 50%;
  background: var(--tangerine);
}
.marquee__item:hover { color: var(--cream); -webkit-text-stroke-color: var(--cream); }

/* --------------------------------------------------------------------------
   3 · Mission
   -------------------------------------------------------------------------- */
.mission {
  position: relative;
  background: var(--cream);
  color: var(--text-dark);
  padding-block: clamp(110px, 16vw, 230px);
  overflow: hidden;
}
.mission .label { color: var(--muted-dark); }
.mission__text {
  max-width: 28ch;
  margin-top: 1.4rem;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 4rem);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -.03em;
  text-wrap: pretty;
}
.mission__text strong { font-weight: 700; color: var(--tangerine-ink); }

.mission__big {
  margin-top: clamp(90px, 13vw, 200px);
  font-family: var(--font-display);
  font-size: clamp(3rem, 9.4vw, 10rem);
  font-weight: 800;
  line-height: .9;
  letter-spacing: -.05em;
}
.mline { display: block; }
.mline--2 { padding-left: clamp(0px, 12vw, 220px); }
.scribble { position: relative; display: inline-block; }
.scribble svg {
  position: absolute;
  left: -16%;
  top: -14%;
  width: 132%;
  height: 128%;
  overflow: visible;
  pointer-events: none;
}
.scribble path {
  fill: none;
  stroke: var(--tangerine);
  stroke-width: 5;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
}
.squash {
  display: inline-block;
  color: var(--tangerine-ink);
  transform-origin: 50% 88%;
}

/* --------------------------------------------------------------------------
   4 · Pillars
   -------------------------------------------------------------------------- */
.pillars { position: relative; background: var(--ink); }
.pillars__stage {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
}
.shade--pillars {
  background:
    linear-gradient(90deg, rgba(15, 13, 11, .9) 0%, rgba(15, 13, 11, .5) 48%, rgba(15, 13, 11, .72) 100%),
    linear-gradient(0deg, rgba(15, 13, 11, .6), rgba(15, 13, 11, 0) 40%);
}
.pillars__body {
  position: relative;
  margin-top: -100vh;
  margin-top: -100svh;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(24px, 6vw, 110px);
  padding-block: 22vh 26vh;
}
.pillars__head { position: sticky; top: 22vh; align-self: start; }
.pillars__title { max-width: 9ch; margin-block: .35em .6em; }
.pillars__steps { display: flex; flex-wrap: wrap; gap: .5rem; }
.pillars__steps li {
  padding: .5em .9em;
  border: 1px solid var(--line-light);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted-light);
  transition: background-color .4s, color .4s, border-color .4s;
}
.pillars__steps li.is-active { background: var(--tangerine); border-color: var(--tangerine); color: var(--ink); }
.pillars__steps li.is-active:last-child { background: var(--signal-blue); border-color: var(--signal-blue); color: #fff; }

.pillar { min-height: 78vh; display: flex; align-items: center; }
.pillar__card {
  position: relative;
  width: 100%;
  padding: clamp(26px, 3.5vw, 52px);
  border-radius: var(--r-lg);
  border: 1px solid var(--line-light);
  background: rgba(26, 23, 20, .7);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  transition: border-color .6s, opacity .6s;
  opacity: .55;
}
.pillar.is-active .pillar__card { border-color: rgba(255, 91, 31, .55); opacity: 1; }
.pillar--auto.is-active .pillar__card { border-color: rgba(61, 107, 255, .7); }
.no-js .pillar__card, .reduced .pillar__card { opacity: 1; }

.pillar__num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(4rem, 8vw, 8rem);
  font-weight: 800;
  line-height: .8;
  letter-spacing: -.05em;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(243, 236, 225, .45);
  transition: color .6s, -webkit-text-stroke-color .6s;
}
.pillar.is-active .pillar__num { color: var(--tangerine); -webkit-text-stroke-color: var(--tangerine); }
.pillar--auto.is-active .pillar__num { color: var(--signal-blue); -webkit-text-stroke-color: var(--signal-blue); }
.pillar__kicker { margin-top: 1.6rem; color: var(--tangerine); }
.pillar--auto .pillar__kicker { color: var(--cyan-glow); }
.pillar__title {
  margin-top: .5rem;
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -.025em;
  text-wrap: balance;
}
.pillar__text { margin: 1rem 0 1.6rem; max-width: 52ch; color: rgba(243, 236, 225, .78); }
.pillar__text strong { color: var(--cream); }

/* --------------------------------------------------------------------------
   5 · Story
   -------------------------------------------------------------------------- */
.story {
  position: relative;
  background: var(--cream);
  color: var(--text-dark);
}
.story__bar { display: none; }
.story__track { display: flex; flex-direction: column; }

.story__panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 10vw, 120px) var(--gutter);
  border-top: 1px solid color-mix(in srgb, currentColor 14%, transparent);
}
.story__panel--intro {
  flex-direction: row;
  align-items: center;
  flex-wrap: wrap;
  gap: 48px clamp(32px, 6vw, 110px);
  border-top: 0;
}
.story__intro-text { flex: 1 1 320px; }
.story .label { color: var(--muted-dark); }
.story__title { max-width: 9ch; }
.story__lead { margin-top: 1.4rem; max-width: 30ch; font-size: var(--fs-lead); color: var(--muted-dark); }

.portrait {
  position: relative;
  flex: none;
  width: clamp(220px, 26vw, 400px);
  aspect-ratio: 4 / 5;
  transform-style: preserve-3d;
}
.portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--r-lg);
  box-shadow: 0 40px 80px -30px rgba(22, 19, 15, .45);
}
.sticker--round {
  position: absolute;
  right: -14%;
  bottom: -10%;
  width: clamp(112px, 11vw, 160px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--tangerine);
  color: var(--ink);
  font-size: 1.6rem;
  transform: rotate(-8deg);
}
.sticker--round svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 14s linear infinite; }
.sticker--round text {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  fill: var(--ink);
}
@keyframes spin { to { transform: rotate(360deg); } }

.chapter__num { margin-bottom: .6rem; }
.chapter__word {
  font-family: var(--font-display);
  font-size: clamp(4rem, 12vw, 12rem);
  font-weight: 800;
  line-height: .85;
  letter-spacing: -.055em;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1.5px color-mix(in srgb, currentColor 55%, transparent);
}
.chapter .chapter__word { -webkit-text-stroke-color: rgba(22, 19, 15, .5); }
.chapter:last-child .chapter__word { color: var(--tangerine); -webkit-text-stroke-color: var(--tangerine); }
.chapter__title {
  margin-top: clamp(20px, 3vw, 40px);
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-weight: 700;
  letter-spacing: -.025em;
}
.chapter__text {
  margin-top: .8rem;
  max-width: 36ch;
  font-size: var(--fs-lead);
  line-height: 1.45;
}
.chapter__text strong { color: var(--tangerine-ink); }

/* Horizontal mode (enabled by JS on wide screens) */
.story--h .story__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
}
.story--h .story__bar {
  display: block;
  position: absolute;
  top: clamp(84px, 11vh, 120px);
  left: var(--gutter);
  right: var(--gutter);
  height: 2px;
  background: color-mix(in srgb, currentColor 14%, transparent);
  z-index: 2;
}
.story--h .story__bar span {
  display: block;
  height: 100%;
  background: var(--tangerine);
  transform: scaleX(0);
  transform-origin: 0 50%;
}
.story--h .story__track {
  flex-direction: row;
  height: 100%;
  width: max-content;
  will-change: transform;
}
.story--h .story__panel {
  flex: none;
  width: min(72vw, 940px);
  height: 100%;
  padding: clamp(140px, 18vh, 200px) clamp(32px, 4vw, 72px) clamp(48px, 8vh, 96px);
  border-top: 0;
  border-left: 1px solid color-mix(in srgb, currentColor 14%, transparent);
}
.story--h .story__panel--intro {
  width: 100vw;
  flex-wrap: nowrap;
  padding-left: var(--gutter);
  padding-right: clamp(48px, 8vw, 140px);
  border-left: 0;
}

/* --------------------------------------------------------------------------
   6 · Services (night + offers + playground)
   -------------------------------------------------------------------------- */
.services { position: relative; background: var(--night); color: var(--text-light); }

.night { position: relative; }
.night__sticky { position: relative; height: 100vh; height: 100svh; overflow: hidden; }
.motion .night { height: 320vh; }
.motion .night__sticky { position: sticky; top: 0; }

.shade--night {
  background:
    radial-gradient(ellipse 70% 60% at 50% 50%, rgba(7, 11, 31, .7) 0%, rgba(7, 11, 31, .25) 75%),
    linear-gradient(0deg, var(--night) 0%, rgba(7, 11, 31, 0) 25%),
    linear-gradient(180deg, var(--night) 0%, rgba(7, 11, 31, 0) 18%);
}
.night__captions {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: var(--gutter);
  text-align: center;
}
.caption {
  grid-area: 1 / 1;
  display: grid;
  justify-items: center;
  gap: 1rem;
  opacity: 0;
}
.no-js .caption--end, .static .caption--end { opacity: 1; }
.caption__time { color: var(--cyan-glow); }
.caption__text {
  font-family: var(--font-display);
  font-size: var(--fs-h1);
  font-weight: 800;
  line-height: .92;
  letter-spacing: -.045em;
  max-width: 13ch;
  text-wrap: balance;
  text-shadow: 0 10px 50px rgba(7, 11, 31, .9);
}
.caption__text em { font-style: normal; color: var(--tangerine); }

.offers { padding-block: clamp(90px, 11vw, 170px) clamp(56px, 7vw, 110px); }
.offers .section-head__sub { color: rgba(243, 236, 225, .7); }
.offers__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  padding-top: 16px;
}
.offer {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-height: 440px;
  padding: clamp(24px, 2.4vw, 34px);
  border-radius: var(--r-lg);
  border: 1px solid rgba(243, 236, 225, .1);
  background: rgba(243, 236, 225, .035);
  transition: translate .6s var(--ease-out), border-color .4s, background-color .4s;
}
.offer:hover { translate: 0 -6px; border-color: rgba(127, 216, 255, .35); background: rgba(243, 236, 225, .06); }
.offer__for { color: rgba(243, 236, 225, .6); }
.offer__name {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 3.2vw, 3.2rem);
  font-weight: 800;
  line-height: .95;
  letter-spacing: -.04em;
}
.offer__list { display: grid; gap: .7rem; margin-top: .4rem; }
.offer__list li {
  position: relative;
  padding-left: 1.4em;
  font-size: .98rem;
  line-height: 1.4;
  color: rgba(243, 236, 225, .82);
}
.offer__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .5em;
  width: .5em;
  height: .5em;
  border-radius: 50%;
  border: 1.5px solid var(--cyan-glow);
}
.offer__cta {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  min-height: 44px;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid rgba(243, 236, 225, .1);
  font-weight: 600;
}
.offer__cta .i { transition: transform .4s var(--ease-out); }
.offer__cta:hover .i { transform: translateX(5px); }

.offer--featured {
  border-color: rgba(255, 91, 31, .7);
  background: linear-gradient(180deg, rgba(255, 91, 31, .16), rgba(255, 91, 31, .02) 70%);
}
.offer--featured::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1.5px;
  background: conic-gradient(from var(--spin), transparent 0 70%, var(--tangerine-soft) 85%, transparent 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 exclude, linear-gradient(#000 0 0);
  animation: orbit 5s linear infinite;
  pointer-events: none;
}
@keyframes orbit { to { --spin: 360deg; } }
.offer--featured .offer__list li::before { border-color: var(--tangerine); }
.offer--featured .offer__cta { color: var(--tangerine-soft); }

/* Playground */
.pg { padding-bottom: clamp(100px, 12vw, 180px); }
.pg__box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(24px, 3.5vw, 56px);
  padding: clamp(22px, 4vw, 56px);
  border-radius: var(--r-lg);
  border: 1px solid rgba(127, 216, 255, .18);
  background:
    radial-gradient(120% 90% at 0% 0%, rgba(61, 107, 255, .2), rgba(61, 107, 255, 0) 60%),
    rgba(243, 236, 225, .025);
}
.pg__title {
  margin-top: .6rem;
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  font-weight: 800;
  line-height: .95;
  letter-spacing: -.04em;
}
.pg__text { margin: 1rem 0 1.6rem; max-width: 40ch; color: rgba(243, 236, 225, .75); }
.pg__btn[disabled] { opacity: .6; pointer-events: none; }
.pg__counter { margin-top: 1.6rem; color: rgba(243, 236, 225, .75); }
.pg__counter strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 4vw, 3.6rem);
  font-weight: 800;
  line-height: 1;
  color: var(--tangerine);
}

.pg__flow { display: flex; flex-direction: column; justify-content: center; }
.pg__node {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(243, 236, 225, .1);
  background: rgba(7, 11, 31, .7);
  font-size: .96rem;
  transition: border-color .4s, box-shadow .5s, transform .5s var(--ease-play);
}
.pg__node + .pg__node { margin-top: 22px; }
.pg__node + .pg__node::before,
.pg__node + .pg__node::after {
  content: "";
  position: absolute;
  left: 30px;
  top: -23px;
  width: 2px;
  height: 22px;
  background: rgba(127, 216, 255, .15);
}
.pg__node + .pg__node::after {
  background: var(--cyan-glow);
  transform: scaleY(0);
  transform-origin: 50% 0;
  transition: transform .35s linear;
}
.pg__node.is-on::after { transform: scaleY(1); }
.pg__node.is-on {
  border-color: rgba(127, 216, 255, .6);
  box-shadow: 0 0 0 4px rgba(61, 107, 255, .14), 0 0 36px rgba(61, 107, 255, .3);
  transform: translateX(6px);
}
.pg__icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(243, 236, 225, .07);
  transition: background-color .4s;
}
.pg__icon .i { width: 18px; height: 18px; }
.pg__node.is-on .pg__icon { background: var(--blue-ink); }
.pg__state { margin-left: auto; font-size: .66rem; color: rgba(243, 236, 225, .5); }
.pg__node.is-on .pg__state { color: var(--cyan-glow); }

.pg__chat {
  display: flex;
  flex-direction: column;
  min-height: 380px;
  border-radius: 22px;
  border: 1px solid rgba(243, 236, 225, .08);
  background: var(--night-2);
  overflow: hidden;
}
.pg__chat-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(243, 236, 225, .08);
}
.pg__chat-head .label { color: rgba(243, 236, 225, .7); font-size: .7rem; }
.pg__log {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
  padding: 18px;
  overflow: hidden;
}
.msg {
  max-width: 86%;
  padding: .7em 1em;
  border-radius: 18px;
  font-size: .95rem;
  line-height: 1.4;
}
.msg--hint { align-self: center; color: rgba(243, 236, 225, .5); font-size: .88rem; text-align: center; }
.msg--in { align-self: flex-start; background: rgba(243, 236, 225, .09); border-bottom-left-radius: 6px; }
.msg--out { align-self: flex-end; background: var(--blue-ink); color: #fff; border-bottom-right-radius: 6px; }
.msg--typing { display: inline-flex; gap: 4px; padding: .9em 1em; }
.msg--typing i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  opacity: .5;
  animation: typing 1s infinite;
}
.msg--typing i:nth-child(2) { animation-delay: .15s; }
.msg--typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 50% { opacity: 1; transform: translateY(-3px); } }

.pg__caption {
  min-height: 1.6em;
  margin-top: 1.2rem;
  text-align: center;
  font-family: var(--font-mono);
  font-size: .85rem;
  letter-spacing: .04em;
  color: var(--cyan-glow);
}

/* --------------------------------------------------------------------------
   7 · Work
   -------------------------------------------------------------------------- */
.work { background: var(--ink); padding-block: clamp(100px, 12vw, 180px); }
.work__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 28px);
  align-items: start;
  perspective: 1400px;
}
.work__card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--r-lg);
  border: 1px solid var(--line-light);
  background: var(--ink-2);
  overflow: hidden;
  transform-style: preserve-3d;
  transition: border-color .4s;
}
.work__card:nth-child(even) { margin-top: clamp(0px, 8vw, 130px); }
.work__card:hover { border-color: rgba(255, 91, 31, .5); }
.work__visual {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  transition: transform .9s var(--ease-out);
}
.work__card:hover .work__visual { transform: scale(1.04); }
.work__meta { display: grid; gap: .6rem; padding: clamp(20px, 2.4vw, 32px); }
.work__title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.6vw, 2.5rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.03em;
}
.work__result { color: rgba(243, 236, 225, .75); }
.work__result strong { color: var(--tangerine); }
.work__foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: .6rem; }
.work__arrow {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid var(--line-light);
  transition: transform .6s var(--ease-play), background-color .4s, color .4s, border-color .4s;
}
.work__card:hover .work__arrow { transform: rotate(-45deg); background: var(--tangerine); border-color: var(--tangerine); color: var(--ink); }

/* Project art */
.art { display: grid; place-items: center; }
.art--serp { background: radial-gradient(80% 80% at 70% 20%, rgba(255, 91, 31, .35), transparent 60%), #1d1712; }
.serp {
  display: grid;
  gap: 9px;
  width: 64%;
  padding: 18px;
  border-radius: 18px;
  background: rgba(251, 247, 241, .06);
  border: 1px solid var(--line-light);
}
.serp__bar { height: 26px; border-radius: 999px; background: rgba(251, 247, 241, .14); margin-bottom: 6px; }
.serp__row { height: 18px; border-radius: 6px; background: rgba(251, 247, 241, .08); }
.serp__row--hit {
  position: relative;
  height: 30px;
  background: var(--tangerine);
  transform: translateX(-10px) scale(1.04);
  box-shadow: 0 12px 30px rgba(255, 91, 31, .45);
}
.serp__row--hit b {
  position: absolute;
  right: 10px;
  top: 50%;
  translate: 0 -50%;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--ink);
}

.art--ui { background: linear-gradient(135deg, #231a14, #11162e); }
.ui {
  position: absolute;
  border-radius: 18px;
  border: 1px solid var(--line-light);
  background: rgba(251, 247, 241, .07);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  animation: floaty 6s ease-in-out infinite;
}
.ui--a { width: 46%; height: 52%; left: 12%; top: 18%; background: linear-gradient(160deg, rgba(255, 91, 31, .5), rgba(255, 91, 31, .08)); }
.ui--b { width: 34%; height: 40%; left: 48%; top: 34%; animation-delay: -2s; }
.ui--c { width: 22%; height: 14%; left: 62%; top: 16%; border-radius: 999px; background: var(--cream); animation-delay: -4s; }
.ui__cursor {
  position: absolute;
  left: 66%;
  top: 66%;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid var(--cream);
  animation: floaty 4s ease-in-out infinite reverse;
}
@keyframes floaty { 50% { transform: translateY(-10px); } }

.art--flow {
  grid-template-columns: repeat(4, auto);
  justify-content: center;
  gap: clamp(22px, 4vw, 48px);
  background: radial-gradient(70% 70% at 50% 60%, rgba(61, 107, 255, .35), transparent 70%), var(--night);
}
.fnode {
  position: relative;
  width: clamp(28px, 3.6vw, 44px);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 2px solid var(--cyan-glow);
  background: rgba(61, 107, 255, .3);
  animation: pulse 2.4s ease-in-out infinite;
}
.fnode:nth-child(2) { animation-delay: .3s; }
.fnode:nth-child(3) { animation-delay: .6s; }
.fnode:nth-child(4) { animation-delay: .9s; background: var(--tangerine); border-color: var(--tangerine-soft); }
.fnode + .fnode::before {
  content: "";
  position: absolute;
  right: 100%;
  top: 50%;
  width: clamp(22px, 4vw, 48px);
  height: 2px;
  background: linear-gradient(90deg, rgba(127, 216, 255, .2), var(--cyan-glow));
}
@keyframes pulse { 50% { box-shadow: 0 0 0 10px rgba(127, 216, 255, 0), 0 0 30px rgba(61, 107, 255, .8); } }

.art--brand { background: linear-gradient(120deg, #2a160c 0%, #0F0D0B 50%, #0b1233 100%); }
.brand-ring {
  position: absolute;
  width: 58%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 2px dashed rgba(255, 91, 31, .6);
  animation: spin 24s linear infinite;
}
.brand-word {
  position: relative;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 5.5rem);
  font-weight: 800;
  letter-spacing: -.05em;
}

/* Extra project art */
.art--audit { background: radial-gradient(80% 80% at 30% 30%, rgba(61, 107, 255, .32), transparent 60%), #10131f; }
.audit {
  display: grid;
  grid-template-columns: auto auto auto;
  align-items: center;
  gap: .35em .45em;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.04em;
}
.audit__num { color: rgba(243, 236, 225, .35); text-decoration: line-through; text-decoration-thickness: 3px; }
.audit__num--hit { color: var(--tangerine); text-decoration: none; }
.audit__arrow { font-size: .6em; color: var(--cyan-glow); }
.audit__cap {
  grid-column: 1 / -1;
  text-align: center;
  font-family: var(--font-mono);
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted-light);
}

.art--menu { background: linear-gradient(140deg, #2a1a10, #0F0D0B 70%); }
.emenu {
  display: grid;
  gap: 10px;
  width: 50%;
  padding: 16px;
  border-radius: 18px;
  background: var(--paper);
  transform: rotate(-4deg);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6);
}
.emenu__row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.emenu__row i { flex: 1; height: 10px; border-radius: 4px; background: rgba(22, 19, 15, .15); }
.emenu__row b { width: 32px; height: 10px; border-radius: 4px; background: rgba(22, 19, 15, .3); }
.emenu__row--hit i { background: rgba(255, 91, 31, .35); }
.emenu__row--hit b { background: var(--tangerine); }
.emenu__pay {
  margin-top: 4px;
  padding: .55em;
  border-radius: 999px;
  background: var(--ink);
  color: var(--cream);
  text-align: center;
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   8 · Certificates
   -------------------------------------------------------------------------- */
.certs {
  position: relative;
  background: var(--cream);
  color: var(--text-dark);
  padding-block: clamp(100px, 12vw, 180px);
}
.certs .label { color: var(--muted-dark); }
.certs .section-head__sub { color: var(--muted-dark); }
.certs__side { display: grid; justify-items: start; gap: 1.2rem; max-width: 40ch; }
.certs__hint { display: block; margin-top: .5rem; color: var(--text-dark); font-weight: 500; }
.certs__shuffle[hidden] { display: none; }

.btn--dark { background: var(--ink); color: var(--cream); }
.btn--dark::before { background: var(--tangerine); }
.btn--dark:hover, .btn--dark:focus-visible { color: var(--ink); }

/* Default (no JS / reduced motion): tidy grid */
.certs__board {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}
.cert {
  display: block;
  padding: 8px 8px 0;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 1px 0 rgba(22, 19, 15, .08), 0 18px 40px -18px rgba(22, 19, 15, .45);
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out);
}
.cert img { width: 100%; height: auto; border-radius: 3px; pointer-events: none; user-select: none; }
.cert__tag {
  display: block;
  padding: .6em .2em .65em;
  overflow: hidden;
  font-family: var(--font-mono);
  font-size: .62rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--muted-dark);
}
.cert:hover { transform: translateY(-4px); box-shadow: 0 1px 0 rgba(22, 19, 15, .08), 0 30px 60px -20px rgba(22, 19, 15, .5); }

/* Scatter mode (enabled by JS) */
.certs__board.is-scatter {
  display: block;
  position: relative;
  height: clamp(620px, 84vh, 880px);
  border-radius: var(--r-lg);
  border: 1px solid var(--line-dark);
  background:
    radial-gradient(circle at 1px 1px, rgba(22, 19, 15, .16) 1px, transparent 0) 0 0 / 22px 22px,
    var(--paper);
  box-shadow: inset 0 2px 40px rgba(22, 19, 15, .07);
  overflow: hidden;
  -webkit-user-select: none;
  user-select: none;
}
.is-scatter .cert-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: clamp(150px, 16vw, 236px);
  will-change: transform;
}
.is-scatter .cert { -webkit-user-drag: none; }
.has-cursor .is-scatter .cert:hover { transform: translateY(-6px) scale(1.03); }
.is-scatter .cert-wrap.is-dragging .cert {
  transform: none;
  box-shadow: 0 1px 0 rgba(22, 19, 15, .08), 0 44px 80px -24px rgba(22, 19, 15, .6);
}

/* Lightbox */
.lightbox {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 16px;
  border: 0;
  background: transparent;
  color: var(--cream);
  overflow: hidden;
}
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: rgba(10, 8, 6, .84); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.has-cursor .lightbox, .has-cursor .lightbox * { cursor: auto !important; }
.has-cursor .lightbox button { cursor: pointer !important; }
.lightbox__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 300px);
  align-items: center;
  gap: clamp(20px, 3vw, 40px);
  width: min(1200px, 100%);
  max-height: calc(100svh - 32px);
  padding: clamp(16px, 2.5vw, 32px);
  border-radius: var(--r-lg);
  border: 1px solid var(--line-light);
  background: var(--ink-2);
  box-shadow: 0 60px 120px -40px rgba(0, 0, 0, .8);
}
.lightbox__figure { display: grid; place-items: center; min-height: 0; }
.lightbox__img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: calc(100svh - 110px);
  border-radius: 8px;
  background: #fff;
}
.lightbox__title {
  margin: .6rem 0 .5rem;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.4vw, 2.2rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -.025em;
  text-wrap: balance;
}
.lightbox__issuer { color: var(--muted-light); }
.lightbox__nav { display: flex; gap: .5rem; margin-top: 1.6rem; }
.lightbox__btn,
.lightbox__close {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid var(--line-light);
  background: rgba(15, 13, 11, .6);
  color: var(--cream);
  transition: background-color .3s, color .3s, border-color .3s;
}
.lightbox__btn:hover,
.lightbox__close:hover { background: var(--tangerine); border-color: var(--tangerine); color: var(--ink); }
.lightbox__close { position: absolute; top: 14px; right: 14px; }

@media (max-width: 860px) {
  .lightbox__inner { grid-template-columns: minmax(0, 1fr); gap: 14px; padding-top: 76px; }
  .lightbox__img { max-height: 58svh; }
  .lightbox__nav { margin-top: 1rem; }
}
@media (max-width: 760px) {
  .certs__board.is-scatter { height: 680px; }
  .is-scatter .cert-wrap { width: 138px; }
  .certs__board { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* --------------------------------------------------------------------------
   8 · Final CTA
   -------------------------------------------------------------------------- */
.contact {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: clamp(120px, 14vw, 200px) var(--gutter);
  overflow: hidden;
  background: var(--night);
  text-align: center;
}
.contact__bg { position: absolute; inset: 0; will-change: transform; }
.shade--contact {
  background:
    radial-gradient(ellipse 60% 55% at 50% 50%, rgba(7, 11, 31, .78), rgba(7, 11, 31, .35) 100%),
    linear-gradient(180deg, var(--night) 0%, rgba(7, 11, 31, 0) 25%, rgba(7, 11, 31, 0) 75%, var(--night) 100%);
}
.contact__inner { position: relative; display: grid; justify-items: center; }
.contact__title {
  margin: .4em 0 .35em;
  font-family: var(--font-display);
  font-size: clamp(2.9rem, 9vw, 10rem);
  font-weight: 800;
  line-height: .88;
  letter-spacing: -.05em;
}
.cline { display: block; }
.contact__title .accent { color: var(--tangerine); }
.contact__title .char { display: inline-block; will-change: transform; }
.contact__sub {
  max-width: 44ch;
  font-size: var(--fs-lead);
  color: rgba(243, 236, 225, .8);
}
.contact__ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(10px, 1.5vw, 20px);
  margin-top: clamp(32px, 4vw, 56px);
}

/* --------------------------------------------------------------------------
   9 · Footer
   -------------------------------------------------------------------------- */
.footer {
  position: relative;
  padding-top: clamp(72px, 9vw, 130px);
  background: var(--ink);
  overflow: hidden;
}
.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
  gap: 40px 32px;
}
.footer__lead {
  max-width: 24ch;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.4vw, 2.2rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.025em;
}
.footer__time { margin-top: 1.4rem; }
.footer__time span { color: var(--cream); }
.footer h3 { margin-bottom: 1rem; }
.footer__links { display: grid; gap: .15rem; }
.footer__links a, .footer__links li {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  color: rgba(243, 236, 225, .82);
}
.footer__links a { background: linear-gradient(currentColor, currentColor) 0 78% / 0 1px no-repeat; transition: background-size .45s var(--ease-out), color .3s; width: fit-content; }
.footer__links a:hover { color: var(--tangerine); background-size: 100% 1px; }
.footer__links--plain li { color: var(--muted-light); }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: clamp(56px, 7vw, 100px);
  padding-block: 24px;
  border-top: 1px solid var(--line-light);
  font-size: .9rem;
  color: var(--muted-light);
}
.totop {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  min-height: 44px;
  color: var(--cream);
  font-weight: 500;
}
.totop__ring {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid var(--tangerine);
  border-right-color: transparent;
  animation: spin 3s linear infinite;
}
.footer__mark {
  font-family: var(--font-display);
  font-size: clamp(5rem, 24.5vw, 30rem);
  font-weight: 800;
  line-height: .8;
  letter-spacing: -.065em;
  text-align: center;
  white-space: nowrap;
  color: var(--cream);
  padding: .04em 0 clamp(20px, 3vw, 44px);
  user-select: none;
}

/* Mobile CTA bar */
.mbar {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: max(12px, env(safe-area-inset-bottom));
  z-index: 280;
  display: none;
  gap: 8px;
  padding: 7px;
  border-radius: 999px;
  border: 1px solid var(--line-light);
  background: rgba(15, 13, 11, .82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  transform: translateY(160%);
  transition: transform .6s var(--ease-cinema);
}
.mbar.is-visible { transform: none; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1180px) {
  .offers__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pg__box { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .pg__head { grid-column: 1 / -1; }
  .footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__intro { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__menu { display: grid; }

  .pillars__body { grid-template-columns: minmax(0, 1fr); padding-block: 14vh 18vh; gap: 0; }
  .pillars__head { position: relative; top: 0; margin-bottom: 4vh; }
  .pillar { min-height: 0; padding-block: 4vh; }
  .pillar__card { opacity: 1; }

  .stats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 48px; }
  .stat:nth-child(odd) { border-left: 0; padding-left: 0; }
}

@media (max-width: 760px) {
  .motion .hero { height: 250vh; }
  .motion .night { height: 240vh; }
  .hero__corner--r { display: none; }
  .hero__content { bottom: 72px; }
  .hero__ctas { width: 100%; }
  .hero__ctas .btn { flex: 1 1 140px; }

  .offers__grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 12px;
    margin-inline: calc(-1 * var(--gutter));
    padding: 18px var(--gutter) 8px;
    scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
  }
  .offers__grid::-webkit-scrollbar { display: none; }
  .offer { flex: 0 0 84%; min-height: 420px; scroll-snap-align: start; }
  .offer:hover { translate: none; }

  .pg__box { grid-template-columns: minmax(0, 1fr); }
  .pg__chat { min-height: 320px; }

  .work__list { grid-template-columns: minmax(0, 1fr); }
  .work__card:nth-child(even) { margin-top: 0; }

  .contact__ctas { width: 100%; }
  .contact__ctas .btn { flex: 1 1 100%; }

  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__grid > div:last-child { grid-column: 1 / -1; }
  .footer__bottom { padding-bottom: 96px; }

  .mbar { display: grid; grid-template-columns: 1fr 1fr; }
  .mbar .btn { width: 100%; }

  .sticker--round { right: -8%; }
  .mline--2 { padding-left: 0; }
}

@media (max-width: 420px) {
  .nav__cta { padding-inline: .9em; }
  .nav__cta .i { display: none; }
  .stat__label { font-size: .88rem; }
}

@media (hover: none) {
  .work__card:hover .work__visual { transform: none; }
}

/* --------------------------------------------------------------------------
   Reduced motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .grain { animation: none; }
  .night__captions { display: flex; flex-direction: column; justify-content: center; gap: 2rem; }
  .caption { opacity: 1; }
  .caption:not(.caption--end) .caption__text { font-size: var(--fs-h3); }
}

/* --------------------------------------------------------------------------
   Case study popup
   -------------------------------------------------------------------------- */
.case {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: clamp(12px, 2.5vw, 32px);
  border: 0;
  background: transparent;
  color: var(--cream);
  overflow: hidden;
}
.case[open] { display: grid; place-items: center; }
.case::backdrop { background: rgba(8, 7, 6, .82); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.has-cursor .case, .has-cursor .case * { cursor: auto !important; }
.has-cursor .case :is(a, button, .dmap__pin) { cursor: pointer !important; }

.case__inner {
  position: relative;
  width: min(1280px, 100%);
  height: min(780px, 100%);
  border-radius: var(--r-lg);
  border: 1px solid var(--line-light);
  background: var(--ink-2);
  box-shadow: 0 60px 140px -40px rgba(0, 0, 0, .85);
  overflow: hidden;
}
.case__item {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  height: 100%;
}
.case__item[hidden] { display: none; }

.case__media {
  position: relative;
  min-height: 0;
  overflow: hidden;
  background:
    radial-gradient(90% 70% at 20% 10%, rgba(61, 107, 255, .28), transparent 60%),
    radial-gradient(70% 60% at 90% 100%, rgba(255, 91, 31, .18), transparent 60%),
    var(--night);
  container-type: size;
}

.case__body {
  display: flex;
  flex-direction: column;
  min-height: 0;
  border-left: 1px solid var(--line-light);
}
.case__scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: clamp(28px, 4vw, 56px) clamp(24px, 3.5vw, 52px) 28px;
  scrollbar-width: thin;
  scrollbar-color: rgba(243, 236, 225, .2) transparent;
}
.case__kicker { padding-right: 56px; }
.case__title {
  margin: .7rem 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.1vw, 3rem);
  font-weight: 800;
  line-height: .98;
  letter-spacing: -.035em;
  text-wrap: balance;
}
.case__lead { font-size: var(--fs-lead); line-height: 1.45; color: rgba(243, 236, 225, .82); }

.case__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 1.6rem;
}
.case__stat {
  display: grid;
  gap: .3rem;
  padding: 16px 18px;
  border-radius: var(--r-md);
  border: 1px solid var(--line-light);
  background: rgba(243, 236, 225, .03);
}
.case__stat-num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 800;
  line-height: .9;
  letter-spacing: -.04em;
}
.case__stat + .case__stat .case__stat-num { color: var(--tangerine); }
.case__stat-cap { font-size: .88rem; color: var(--muted-light); }

.case__block { margin-top: 1.8rem; }
.case__h {
  margin: 0 0 .8rem;
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--cyan-glow);
}
.case__steps { display: grid; gap: .8rem; counter-reset: step; }
.case__steps li {
  position: relative;
  padding-left: 2.4rem;
  line-height: 1.5;
  color: rgba(243, 236, 225, .86);
  counter-increment: step;
}
.case__steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: .1em;
  font-family: var(--font-mono);
  font-size: .78rem;
  color: var(--tangerine);
}

.case__result {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-top: 1.8rem;
  padding: 16px 18px;
  border-radius: var(--r-md);
  background: rgba(255, 91, 31, .1);
  border: 1px solid rgba(255, 91, 31, .35);
  font-weight: 500;
}
.case__result-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--tangerine);
  color: var(--ink);
}
.case__result-icon .i { width: 16px; height: 16px; stroke-width: 2.6; }
.case__note {
  margin-top: 1rem;
  padding-left: 14px;
  border-left: 2px solid var(--cyan-glow);
  font-size: .92rem;
  color: var(--muted-light);
}
.case__tags { margin-top: 1.4rem; }

.case__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px clamp(24px, 3.5vw, 52px);
  border-top: 1px solid var(--line-light);
  background: var(--ink-2);
}
.case__nav { display: flex; align-items: center; gap: 10px; }
.case__navbtn, .case__close {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--line-light);
  background: rgba(15, 13, 11, .6);
  color: var(--cream);
  transition: background-color .3s, color .3s, border-color .3s;
}
.case__navbtn:hover, .case__close:hover { background: var(--tangerine); border-color: var(--tangerine); color: var(--ink); }
.case__close { position: absolute; top: 14px; right: 14px; z-index: 5; }
.case__count { white-space: nowrap; }

.case__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Demo primitives (sized from the media container) */
.demo {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.1em;
  padding: 7cqh 7cqw;
  font-size: clamp(9px, min(2.15cqh, 2.7cqw), 15px);
  line-height: 1.3;
}
.dpanel {
  border-radius: 1.1em;
  border: 1px solid rgba(243, 236, 225, .12);
  background: rgba(12, 18, 48, .78);
  padding: 1em 1.2em;
}
.dlabel {
  font-family: var(--font-mono);
  font-size: .78em;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(243, 236, 225, .6);
}

/* Demo 1 · SEO */
.dseo__top { display: grid; grid-template-columns: auto 1fr; gap: 1em; }
.dseo__gauge { position: relative; display: grid; justify-items: center; gap: .4em; padding: 1em 1.4em; }
.dseo__gauge svg { width: 6.4em; height: 6.4em; transform: rotate(-90deg); }
.dseo__gauge circle { fill: none; stroke-width: 9; }
.dseo__track { stroke: rgba(243, 236, 225, .1); }
.dseo__arc { stroke: #FF4D4D; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 60; }
.dseo__score {
  position: absolute;
  top: .455em; /* 1em of the panel, in this element's 2.2em font size */
  left: 0;
  right: 0;
  height: 2.91em; /* matches the 6.4em gauge */
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 2.2em;
  font-weight: 800;
  color: #FF6B6B;
}
.dseo__cap { font-size: .8em; text-align: center; color: rgba(243, 236, 225, .6); }
.dseo__site { display: grid; gap: .8em; align-content: start; }
.dseo__row { display: flex; justify-content: space-between; align-items: center; gap: .5em; }
.dseo__status {
  padding: .2em .7em;
  border-radius: 999px;
  background: rgba(255, 77, 77, .18);
  color: #FF8080;
  font-weight: 600;
  font-size: .85em;
  transition: background-color .4s, color .4s;
}
.dseo__status.is-ok { background: rgba(56, 217, 138, .18); color: var(--success); }
.dseo__hero {
  position: relative;
  height: 5.6em;
  border-radius: .7em;
  background: #fff;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.dseo__blank { color: #9a9a9a; font-size: .85em; }
.dseo__img {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(15, 13, 11, .75) 0 45%, transparent 70%),
    radial-gradient(60% 90% at 80% 40%, #FF8A4C, #7a2f10 70%);
  opacity: 0;
  transition: opacity .6s;
}
.dseo__img::before, .dseo__img::after {
  content: "";
  position: absolute;
  left: 8%;
  height: .55em;
  border-radius: 1em;
  background: rgba(255, 255, 255, .85);
}
.dseo__img::before { top: 30%; width: 34%; }
.dseo__img::after { top: 52%; width: 22%; background: var(--tangerine); height: .9em; }
.dseo__hero.is-fixed .dseo__img { opacity: 1; }

.dseo__checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6em 1em; }
.dseo__checks li {
  display: flex;
  align-items: center;
  gap: .6em;
  color: rgba(243, 236, 225, .45);
  transition: color .4s;
}
.dseo__checks li:last-child { grid-column: 1 / -1; }
.dseo__checks i {
  flex: none;
  width: 1.2em;
  height: 1.2em;
  border-radius: 50%;
  border: 1.5px solid rgba(243, 236, 225, .3);
  transition: background-color .3s, border-color .3s;
}
.dseo__checks li.is-done { color: var(--cream); }
.dseo__checks li.is-done i {
  border-color: var(--success);
  background: var(--success) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4L18 8' fill='none' stroke='%230F0D0B' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 80% no-repeat;
}

.dseo__serp { display: grid; gap: .8em; }
.dseo__search {
  padding: .5em 1em;
  border-radius: 999px;
  background: rgba(243, 236, 225, .1);
  font-size: .9em;
  color: rgba(243, 236, 225, .8);
}
.dseo__results { --pos: 4; position: relative; display: grid; grid-template-rows: repeat(5, 1.7em); gap: .35em; }
.dseo__results span { border-radius: .4em; background: rgba(243, 236, 225, .08); }
.dseo__hit {
  position: absolute;
  left: -.3em;
  right: -.3em;
  top: calc(var(--pos) * 2.05em);
  height: 1.7em;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 .8em;
  border-radius: .45em;
  background: var(--tangerine);
  color: var(--ink);
  font-size: 1em;
  font-weight: 700;
  box-shadow: 0 .6em 1.6em rgba(255, 91, 31, .4);
}
.dseo__hit em { font-style: normal; font-family: var(--font-display); font-weight: 800; }

/* Demo 2 · Redirects */
.drd__head { display: flex; align-items: center; justify-content: center; gap: 1.2em; text-align: center; }
.drd__count { display: grid; gap: .2em; }
.drd__num {
  font-family: var(--font-display);
  font-size: 3.4em;
  font-weight: 800;
  line-height: .9;
  letter-spacing: -.04em;
  color: #FF6B6B;
  font-variant-numeric: tabular-nums;
}
.drd__num--hit { color: var(--success); }
.drd__arrow { font-size: 2em; color: var(--cyan-glow); }
.drd__board {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .8fr);
  gap: 4em;
  align-items: center;
  padding: 1.2em;
}
.drd__lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.drd__lines path {
  fill: none;
  stroke: var(--cyan-glow);
  stroke-width: 1.5;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  opacity: .7;
}
.drd__col { display: grid; gap: .45em; position: relative; }
.drd__col li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5em;
  padding: .45em .7em;
  border-radius: .5em;
  background: rgba(243, 236, 225, .06);
  border: 1px solid rgba(243, 236, 225, .08);
  white-space: nowrap;
  overflow: hidden;
}
.drd__col code {
  font-family: var(--font-mono);
  font-size: .82em;
  overflow: hidden;
  text-overflow: ellipsis;
  color: rgba(243, 236, 225, .85);
}
.drd__col--old b {
  flex: none;
  padding: .1em .45em;
  border-radius: .35em;
  font-family: var(--font-mono);
  font-size: .75em;
  background: rgba(255, 77, 77, .2);
  color: #FF8080;
  transition: background-color .3s, color .3s;
}
.drd__col--old b.is-301 { background: rgba(127, 216, 255, .18); color: var(--cyan-glow); }
.drd__col--new li { border-color: rgba(56, 217, 138, .35); background: rgba(56, 217, 138, .08); }
.drd__col--new li.is-hit { box-shadow: 0 0 0 2px rgba(56, 217, 138, .5); }
.drd__foot { text-align: center; }

/* Demo 3 · Map */
.demo-map { padding: 0; gap: 0; }
.dmap__svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.dmap__land circle { fill: #5A5BC2; }
.dmap__pin { outline: none; }
.dmap__pin .dmap__halo { fill: currentColor; opacity: .25; transform-box: fill-box; transform-origin: center; animation: pinpulse 2.2s ease-out infinite; }
.dmap__pin .dmap__core { fill: currentColor; stroke: #fff; stroke-width: 1.4; }
.dmap__pin:hover .dmap__core, .dmap__pin:focus-visible .dmap__core, .dmap__pin.is-active .dmap__core { stroke-width: 2.4; }
.dmap__pin--hq { color: var(--tangerine); }
.dmap__pin--branch { color: #3FD6B5; }
.dmap__pin--partner { color: #E8455A; }
@keyframes pinpulse { 0% { transform: scale(.6); opacity: .5; } 100% { transform: scale(2.4); opacity: 0; } }
.dmap__legend {
  position: absolute;
  top: 1.4em;
  left: 1.6em;
  display: flex;
  flex-wrap: wrap;
  gap: .5em 1.1em;
  padding-right: 4.5em;
  font-size: .95em;
}
.dmap__legend span { display: inline-flex; align-items: center; gap: .45em; }
.dmap__dot { width: .7em; height: .7em; border-radius: 50%; }
.dmap__dot--hq { background: var(--tangerine); }
.dmap__dot--branch { background: #3FD6B5; }
.dmap__dot--partner { background: #E8455A; }
.dmap__hint { position: absolute; right: 1.6em; bottom: 1.4em; }
.dmap__card {
  position: absolute;
  left: 1.4em;
  bottom: 1.4em;
  width: min(22em, calc(100% - 2.8em));
  padding: 1.1em 1.2em;
  border-radius: .9em;
  background: #fff;
  color: #1c1b3a;
  box-shadow: 0 1.5em 3em rgba(0, 0, 0, .35);
}
.dmap__card[hidden] { display: none; }
.dmap__type { color: #1aa68b; font-weight: 600; }
.dmap__city { margin: .35em 0; font-family: var(--font-body); font-size: 1.2em; font-weight: 700; }
.dmap__addr { font-size: .92em; color: #55546e; }
.dmap__ctrl { display: flex; align-items: center; gap: .5em; margin-top: .9em; }
.dmap__btn, .dmap__reset {
  display: grid;
  place-items: center;
  min-width: 2.6em;
  height: 2.6em;
  border-radius: 999px;
  border: 1px solid #d6d5e6;
  color: #1c1b3a;
  font-size: 1em;
  line-height: 1;
}
.dmap__reset { margin-left: auto; padding: 0 1em; font-size: .9em; color: #55546e; }
.dmap__btn:hover, .dmap__reset:hover { background: #1c1b3a; color: #fff; border-color: #1c1b3a; }

/* Demo 4 · Lead routing */
.demo-lead { gap: 0; }
.dld__form { display: grid; gap: .55em; }
.dld__field {
  display: grid;
  grid-template-columns: 6em 1fr;
  align-items: center;
  gap: .6em;
  padding: .5em .7em;
  border-radius: .55em;
  background: rgba(243, 236, 225, .06);
  border: 1px solid rgba(243, 236, 225, .08);
}
.dld__lbl { font-size: .8em; color: rgba(243, 236, 225, .55); }
.dld__val { min-height: 1.3em; color: var(--cream); white-space: nowrap; overflow: hidden; }
.dld__val::after { content: ""; display: inline-block; width: 1px; height: 1em; margin-left: 1px; vertical-align: -.15em; background: transparent; }
.dld__val.is-typing::after { background: var(--cream); }
.dld__submit, .dmn__cta {
  justify-self: start;
  padding: .55em 1.3em;
  border-radius: 999px;
  background: var(--tangerine);
  color: var(--ink);
  font-weight: 700;
  transition: transform .2s;
}
.dld__submit.is-press, .dmn__cta.is-press { transform: scale(.92); }
.dld__hub { position: relative; height: 4.6em; display: grid; place-items: center; }
.dld__wire {
  position: absolute;
  top: 0;
  bottom: 50%;
  left: 50%;
  width: 2px;
  background: rgba(127, 216, 255, .2);
}
.dld__split {
  position: absolute;
  top: 50%;
  bottom: 0;
  left: 25%;
  right: 25%;
  border: 2px solid rgba(127, 216, 255, .2);
  border-bottom: 0;
  border-radius: .8em .8em 0 0;
}
.dld__node {
  position: relative;
  z-index: 1;
  padding: .35em 1em;
  border-radius: 999px;
  background: #EA4B71;
  color: #fff;
  font-family: var(--font-mono);
  font-weight: 600;
  transition: box-shadow .4s;
}
.demo-lead.is-flow .dld__wire, .demo-lead.is-flow .dld__split { background-color: var(--cyan-glow); border-color: var(--cyan-glow); }
.demo-lead.is-flow .dld__split { background: transparent; }
.demo-lead.is-flow .dld__node { box-shadow: 0 0 0 .4em rgba(234, 75, 113, .25), 0 0 2em rgba(234, 75, 113, .6); }
.dld__outs { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 1em; }
.dld__wa, .dld__sheet { display: grid; gap: .6em; align-content: start; min-height: 11em; }
.dld__icon { display: inline-block; width: .8em; height: .8em; margin-right: .45em; border-radius: .2em; vertical-align: -.05em; }
.dld__icon--wa { background: #25D366; border-radius: 50%; }
.dld__icon--sheet { background: #0F9D58; }
.dld__msgs { display: grid; gap: .45em; }
.dld__msg {
  justify-self: start;
  max-width: 100%;
  padding: .5em .75em;
  border-radius: .8em .8em .8em .2em;
  background: #1F3B2C;
  border: 1px solid rgba(37, 211, 102, .35);
  font-size: .88em;
}
.dld__msg b { display: block; color: #6EF0A1; font-size: .85em; }
.dld__table { display: grid; gap: .25em; font-size: .85em; }
.dld__tr { display: grid; grid-template-columns: .9fr 1.3fr 1fr; gap: .4em; padding: .35em .5em; border-radius: .3em; background: rgba(243, 236, 225, .05); }
.dld__tr span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dld__th { background: rgba(15, 157, 88, .25); font-weight: 600; }
.dld__rows { display: grid; gap: .25em; }
.dld__rows .dld__tr.is-new { background: rgba(15, 157, 88, .18); }

/* Demo 5 · Restaurant checkout */
.demo-menu { flex-direction: row; align-items: center; justify-content: center; gap: 2em; }
.dmn__phone {
  flex: none;
  width: 17em;
  height: 30em;
  max-height: 100%;
  /* bezel as a border so overflow clips the sliding screens inside it */
  border-radius: 2.2em;
  background: var(--paper);
  border: .7em solid #0b0a09;
  outline: 2px solid rgba(243, 236, 225, .18);
  box-shadow: 0 2em 4em rgba(0, 0, 0, .5);
  overflow: hidden;
}
.dmn__track { display: flex; width: 300%; height: 100%; }
.dmn__screen {
  flex: 0 0 33.3333%;
  display: flex;
  flex-direction: column;
  gap: .6em;
  padding: 1.1em .9em;
  background: var(--paper);
  color: var(--text-dark);
}
.dmn__screen .dlabel { color: var(--muted-dark); }
.dmn__tiers { display: flex; gap: .4em; }
.dmn__tiers span { padding: .25em .7em; border-radius: 999px; border: 1px solid rgba(22, 19, 15, .15); font-size: .8em; }
.dmn__tiers .is-on { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.dmn__item {
  display: grid;
  grid-template-columns: 2.6em 1fr auto;
  align-items: center;
  gap: .6em;
  padding: .45em;
  border-radius: .8em;
  border: 1.5px solid transparent;
  background: #fff;
  transition: border-color .3s, box-shadow .3s;
}
.dmn__item.is-picked { border-color: var(--tangerine); box-shadow: 0 .4em 1em rgba(255, 91, 31, .2); }
.dmn__thumb { width: 2.6em; height: 2.6em; border-radius: .6em; background: radial-gradient(circle at 35% 35%, #FFD08A, #E07A2E); }
.dmn__thumb--b { background: radial-gradient(circle at 35% 35%, #9fb4ff, #3D6BFF); }
.dmn__thumb--c { background: radial-gradient(circle at 35% 35%, #b5f0c8, #2FAE63); }
.dmn__name { display: grid; font-size: .88em; font-weight: 600; line-height: 1.2; }
.dmn__name small { font-weight: 400; color: var(--muted-dark); }
.dmn__qty {
  min-width: 1.8em;
  height: 1.8em;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(22, 19, 15, .08);
  font-size: .85em;
  font-weight: 700;
}
.dmn__item.is-picked .dmn__qty { background: var(--tangerine); color: var(--ink); }
.dmn__cta { margin-top: auto; justify-self: stretch; text-align: center; }
.dmn__screen .dld__field { background: #fff; border-color: rgba(22, 19, 15, .1); grid-template-columns: 3.6em 1fr; }
.dmn__screen .dld__lbl { color: var(--muted-dark); }
.dmn__screen .dld__val { color: var(--text-dark); }
.dmn__screen .dld__val.is-typing::after { background: var(--text-dark); }
.dmn__summary { display: flex; justify-content: space-between; gap: .5em; padding: .6em .2em; border-top: 1px dashed rgba(22, 19, 15, .2); font-size: .9em; }
.dmn__screen--done { align-items: center; justify-content: center; text-align: center; }
.dmn__tick { display: grid; place-items: center; width: 4.4em; height: 4.4em; border-radius: 50%; background: var(--success); }
.dmn__tick svg { width: 60%; fill: none; stroke: #0F0D0B; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.dmn__done { font-family: var(--font-display); font-size: 1.4em; font-weight: 800; }
.dmn__dash { width: 15em; display: grid; gap: .6em; }
.dmn__orders { display: grid; gap: .4em; }
.dmn__order {
  display: flex;
  justify-content: space-between;
  gap: .5em;
  padding: .5em .6em;
  border-radius: .5em;
  background: rgba(243, 236, 225, .06);
  font-size: .82em;
}
.dmn__order b { color: var(--success); }
.dmn__order.is-new { background: rgba(56, 217, 138, .14); }

/* Tablet: media on top, text below */
@media (max-width: 1024px) {
  .case__inner { height: 100%; }
  .case__item { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(260px, 46%) minmax(0, 1fr); }
  .case__body { border-left: 0; border-top: 1px solid var(--line-light); }
  .case__close { background: rgba(15, 13, 11, .75); }
  /* keep demo content clear of the close button */
  .demo:not(.demo-map) { padding-top: max(7cqh, 64px); }
}

/* Phone: full screen sheet */
@media (max-width: 600px) {
  .case { padding: 0; }
  .case__inner { width: 100%; height: 100%; border-radius: 0; border: 0; }
  .case__item { grid-template-rows: minmax(270px, 46%) minmax(0, 1fr); }
  .demo:not(.demo-map) { padding-top: 60px; padding-bottom: 5cqh; }
  .demo-seo { gap: .7em; font-size: clamp(8px, min(1.9cqh, 2.5cqw), 13px); }
  .dseo__search { display: none; }
  .case__foot { padding: 12px 16px max(12px, env(safe-area-inset-bottom)); }
  .case__foot .btn { flex: 1; min-height: 48px; padding-inline: 1em; }
  .case__nav { gap: 6px; }
  .case__count { display: none; }
  .case__navbtn { width: 44px; height: 44px; }
  .case__stats { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .demo-menu .dmn__dash { display: none; }
  .demo-lead .dld__sheet .dld__tr { grid-template-columns: 1fr 1.2fr; }
  .demo-lead .dld__tr span:nth-child(3) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .dmap__pin .dmap__halo { animation: none; }
}
