/* Layout concept: a dark studio reel. A tilted wall of live sites behind a condensed headline,
   then one chapter per project whose brand colour takes over the page while it is on screen. */
@property --live {
  syntax: "<color>";
  inherits: true;
  initial-value: #f5a524;
}

:root {
  --bg: #0b0b0d;
  --bg-2: #141418;
  --bg-3: #1c1c22;
  --ink: #f3efe6;
  --dim: rgba(243, 239, 230, 0.64);
  --faint: rgba(243, 239, 230, 0.36);
  --line: rgba(243, 239, 230, 0.1);
  --live: #f5a524;
  --a: var(--live);
  --display: "Bricolage Grotesque", "Arial Narrow", system-ui, sans-serif;
  --body: "Geist", "Segoe UI", system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, "Cascadia Mono", monospace;
  --gutter: clamp(16px, 4vw, 64px);
  --max: 1480px;
  --ease: cubic-bezier(0.16, 0.84, 0.24, 1);
  color-scheme: dark;
  transition: --live 0.9s ease;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1.0625rem/1.55 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
::selection { background: var(--live); color: var(--bg); }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 800; letter-spacing: -0.035em; line-height: 0.92; text-wrap: balance; }
p { margin: 0; }
ol, ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--live); outline-offset: 4px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 200; background: var(--ink); color: var(--bg); padding: 8px 14px; border-radius: 6px; }
.skip:focus { left: 8px; }

.label { font: 500 0.74rem/1.3 var(--mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--dim); display: inline-flex; align-items: center; gap: 10px; }
.label i { width: 4px; height: 4px; border-radius: 50%; background: var(--a); }

/* page-wide atmosphere, tinted by the project on screen */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60vw 50vh at 85% 0%, color-mix(in srgb, var(--live) 13%, transparent), transparent 70%),
    radial-gradient(50vw 60vh at 0% 100%, color-mix(in srgb, var(--live) 7%, transparent), transparent 70%);
}
.grain {
  position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: 0.06;
  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.85' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
@media (prefers-reduced-motion: no-preference) {
  .grain { animation: grain 1.2s steps(6) infinite; }
}
@keyframes grain { 0% { transform: translate(0, 0); } 33% { transform: translate(-3%, 2%); } 66% { transform: translate(2%, -3%); } 100% { transform: translate(0, 0); } }

/* ---------------- header ---------------- */
.top {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 12px var(--gutter);
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  backdrop-filter: blur(16px) saturate(1.5);
  border-bottom: 1px solid var(--line);
}
.top__brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.logo { display: inline-flex; align-items: flex-start; font-family: var(--display); font-size: 1.32rem; line-height: 1; letter-spacing: -0.02em; white-space: nowrap; }
.logo__get { font-weight: 500; opacity: 0.78; }
.logo__imp { font-weight: 800; }
.logo__arrow { width: 0.5em; height: 0.5em; margin-left: 0.06em; margin-top: 0.02em; }
.logo__arrow path { fill: none; stroke: var(--live); stroke-width: 3.4; stroke-linecap: round; stroke-linejoin: round; }
.bigmark { overflow: hidden; padding: clamp(20px, 4vw, 50px) var(--gutter) 0; border-top: 1px solid var(--line); }
.logo--big { display: flex; font-size: clamp(3.6rem, 17.5vw, 19rem); letter-spacing: -0.04em; line-height: 0.82; padding-bottom: 0.08em; }
.logo--big .logo__get { opacity: 0.32; }
.mono-mark {
  font: 800 1.05rem/1 var(--display); font-variation-settings: "wdth" 80; letter-spacing: 0.02em;
  padding: 7px 10px; border: 1.5px solid var(--ink); border-radius: 8px;
}
.mono-mark em { font-style: normal; color: var(--live); margin: 0 1px; }
.top__names { font: 500 0.78rem var(--mono); color: var(--dim); letter-spacing: 0.04em; }
.top__nav { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 34px); font-size: 0.94rem; }
.top__nav a { text-decoration: none; color: var(--dim); transition: color 0.2s; }
.top__nav a:hover { color: var(--ink); }
.top__nav .top__cta {
  display: inline-flex; align-items: center; gap: 9px;
  color: var(--bg); background: var(--ink); padding: 9px 16px 9px 14px; border-radius: 999px; font-weight: 600;
}
.top__nav .top__cta:hover { color: var(--bg); background: #fff; }
.pulse { position: relative; width: 8px; height: 8px; border-radius: 50%; background: #3ddc84; flex: none; }
@media (prefers-reduced-motion: no-preference) {
  .pulse::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #3ddc84; animation: pulse 2s ease-out infinite; }
}
@keyframes pulse { from { transform: scale(1); opacity: 0.7; } to { transform: scale(3.2); opacity: 0; } }
@media (max-width: 760px) {
  .top__names { display: none; }
  .top__nav a:not(.top__cta) { display: none; }
}

/* ---------------- buttons ---------------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border-radius: 999px;
  border: 1px solid var(--line); background: rgba(255, 255, 255, 0.04);
  font-weight: 600; text-decoration: none;
  transition: background 0.25s, transform 0.3s var(--ease), border-color 0.25s;
}
.btn:hover { background: rgba(255, 255, 255, 0.09); border-color: rgba(255, 255, 255, 0.22); transform: translateY(-2px); }
.btn--ink { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.btn--ink:hover { background: #fff; border-color: #fff; }
.tri { width: 0; height: 0; border-style: solid; border-width: 6px 0 6px 10px; border-color: transparent transparent transparent currentColor; }

/* ---------------- hero ---------------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: clamp(540px, 74vh, 820px);
  display: flex; align-items: flex-end;
  padding: clamp(90px, 11vh, 140px) var(--gutter) clamp(40px, 6vh, 64px);
}
.wall { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.wall::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, var(--bg) 0%, var(--bg) 40%, color-mix(in srgb, var(--bg) 70%, transparent) 56%, color-mix(in srgb, var(--bg) 22%, transparent) 72%, color-mix(in srgb, var(--bg) 50%, transparent) 100%),
    linear-gradient(0deg, var(--bg) 0%, transparent 35%, transparent 80%, color-mix(in srgb, var(--bg) 80%, transparent) 100%);
}
.wall__plane {
  position: absolute; top: -32%; right: -16%; width: 70%; height: 170%;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px;
  transform: perspective(1800px) rotateX(24deg) rotateY(-16deg) rotateZ(10deg);
  transform-origin: 60% 40%;
}
.wall__col { overflow: hidden; }
.wall__track { display: grid; gap: 18px; }
@media (prefers-reduced-motion: no-preference) {
  .wall__track { animation: wall-up 70s linear infinite; }
  .wall__col--b .wall__track { animation-duration: 90s; animation-direction: reverse; }
  .wall__col--c .wall__track { animation-duration: 60s; }
  .wall__col--d .wall__track { animation-duration: 100s; animation-direction: reverse; }
}
@keyframes wall-up { to { transform: translateY(calc(-50% - 9px)); } }
.wall__tile {
  position: relative; aspect-ratio: 16 / 10; border-radius: 10px; overflow: hidden; background: var(--bg-3);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 30px 60px -20px rgba(0, 0, 0, 0.8);
}
.wall__tile--phone { aspect-ratio: 390 / 700; }
.wall__tile img, .wall__tile video { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.wall__tile span {
  position: absolute; left: 10px; bottom: 10px; padding: 4px 9px; border-radius: 999px;
  font: 500 0.66rem var(--mono); letter-spacing: 0.06em; color: var(--bg); background: var(--a);
}

.hero__copy { width: 100%; max-width: var(--max); margin: 0 auto; }
.hero__label { color: var(--ink); }
.hero__title {
  margin-top: 26px;
  font-size: clamp(3.2rem, 8.8vw, 9.4rem);
  font-variation-settings: "wdth" 82;
  line-height: 0.9; letter-spacing: -0.012em;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: 0.04em; }
.hero__title .line > span { display: inline-block; }
@media (prefers-reduced-motion: no-preference) {
  .hero__title .line > span { animation: rise 1.1s var(--ease) both; }
  .hero__title .line:nth-child(2) > span { animation-delay: 0.08s; }
  .hero__title .line:nth-child(3) > span { animation-delay: 0.16s; }
}
@keyframes rise { from { transform: translateY(102%); } to { transform: none; } }
.cycle {
  font-style: normal; font-weight: 300; font-variation-settings: "wdth" 75;
  background: linear-gradient(90deg, #f5a524, #ec6aa8, #ff6a2b, #e8b730, #ef5a3c, #4ade80, #f5a524);
  background-size: 300% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
@media (prefers-reduced-motion: no-preference) { .cycle { animation: shift 12s linear infinite; } }
@keyframes shift { to { background-position: 300% 0; } }
.hero__foot { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px 60px; margin-top: clamp(30px, 5vh, 54px); }
.hero__lead { max-width: 34rem; font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: var(--dim); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 760px) {
  .hero { min-height: 0; padding-top: 96px; }
  .hide-sm { display: none; }
  .wall__plane { width: 150%; right: -60%; top: -10%; height: 130%; opacity: 0.55; transform: perspective(1200px) rotateX(20deg) rotateZ(8deg); }
  .wall::after { background: linear-gradient(0deg, var(--bg) 8%, color-mix(in srgb, var(--bg) 70%, transparent) 55%, color-mix(in srgb, var(--bg) 35%, transparent) 100%); }
  .hero__title { margin-top: 48px; }
  .hero { padding-bottom: 32px; }
  .hero__foot { margin-top: 22px; gap: 20px; }
}

/* ---------------- video grid ---------------- */
.vids { position: relative; z-index: 2; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.vids__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; padding-bottom: 18px; }
.vids__head .label { color: var(--ink); }
.vids__hint { font: 500 0.78rem var(--mono); color: var(--faint); letter-spacing: 0.04em; }
.rec { width: 9px; height: 9px; border-radius: 50%; background: #ff4d4d; box-shadow: 0 0 0 4px rgba(255, 77, 77, 0.18); }
@media (prefers-reduced-motion: no-preference) { .rec { animation: blink 1.4s steps(2, start) infinite; } }
@keyframes blink { to { visibility: hidden; } }
.vids__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(10px, 1.2vw, 18px); }
.vcard {
  position: relative; isolation: isolate; overflow: hidden; display: block; width: 100%;
  aspect-ratio: 16 / 10; border-radius: 16px; background: #000; text-align: left;
  box-shadow: 0 0 0 1px var(--line), 0 30px 70px -40px rgba(0, 0, 0, 0.9);
  transition: box-shadow 0.4s, transform 0.5s var(--ease);
}
.vcard:hover, .vcard:focus-visible { box-shadow: 0 0 0 2px var(--a), 0 40px 90px -40px color-mix(in srgb, var(--a) 60%, transparent); transform: translateY(-3px); }
.vcard > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.vcard:hover > video { transform: scale(1.045); }
.vcard__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, transparent 26%, transparent 38%, rgba(8, 8, 10, 0.94) 82%, rgba(8, 8, 10, 0.97) 100%); }
.vcard--reel .vcard__shade { background: linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, transparent 22%, transparent 50%, rgba(8, 8, 10, 0.9) 85%), linear-gradient(90deg, rgba(8, 8, 10, 0.6), transparent 60%); }
.vcard__top { position: absolute; top: 12px; left: 12px; right: 12px; display: flex; justify-content: space-between; gap: 8px; }
.vcard__tag { padding: 5px 10px; border-radius: 999px; background: var(--a); color: #0b0b0d; font: 600 0.66rem var(--mono); letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vcard__dur { padding: 5px 10px; border-radius: 999px; background: rgba(0, 0, 0, 0.55); backdrop-filter: blur(8px); font: 500 0.7rem var(--mono); color: var(--ink); font-variant-numeric: tabular-nums; }
.vcard__body { position: absolute; left: 16px; right: 70px; bottom: 14px; display: grid; gap: 4px; }
.vcard__title { font: 800 clamp(1.2rem, 1.7vw, 1.65rem)/1 var(--display); font-variation-settings: "wdth" 84; letter-spacing: -0.012em; color: #fff; }
.vcard__kind { font-size: 0.82rem; color: rgba(255, 255, 255, 0.72); line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.vcard__btn { position: absolute; right: 14px; bottom: 14px; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--a); color: #0b0b0d; transition: transform 0.4s var(--ease); }
.vcard__btn .tri { margin-left: 3px; }
.vcard:hover .vcard__btn { transform: scale(1.12); }
.vcard--reel { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.vcard--reel .vcard__body { left: clamp(18px, 2.4vw, 32px); bottom: clamp(18px, 2.4vw, 32px); right: 18px; gap: 16px; }
.vcard--reel .vcard__title { font-size: clamp(1.5rem, 2.4vw, 2.4rem); max-width: 18ch; text-wrap: balance; }
.vcard__play { display: inline-flex; align-items: center; gap: 10px; width: max-content; min-height: 48px; padding: 0 22px; border-radius: 999px; background: var(--ink); color: #0b0b0d; font-weight: 600; transition: transform 0.4s var(--ease); }
.vcard--reel:hover .vcard__play { transform: translateX(6px); }
.vids__grid .vcard:last-child:nth-child(4n + 4) { grid-column: span 2; aspect-ratio: auto; }
@media (max-width: 1100px) {
  .vids__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vcard--reel { grid-row: auto; aspect-ratio: 16 / 9; }
  .vids__grid .vcard:last-child:nth-child(4n + 4) { grid-column: auto; aspect-ratio: 16 / 10; }
  .vids__grid .vcard:last-child:nth-child(even) { grid-column: span 2; aspect-ratio: 16 / 7; }
}
@media (max-width: 600px) {
  .vids__grid { grid-template-columns: minmax(0, 1fr); }
  .vcard--reel, .vids__grid .vcard:last-child:nth-child(even) { grid-column: auto; aspect-ratio: 16 / 10; }
  .vcard--reel { aspect-ratio: 4 / 5; }
}
.chapters__head { max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: clamp(90px, 12vw, 160px) var(--gutter) 0; }

/* ---------------- ticker ---------------- */
.ticker { border-block: 1px solid var(--line); overflow: hidden; padding: 20px 0; margin-top: clamp(60px, 8vw, 110px); }
.ticker__track { display: flex; align-items: center; gap: 34px; width: max-content; }
@media (prefers-reduced-motion: no-preference) { .ticker__track { animation: marquee 48s linear infinite; } }
.ticker span { font: 700 clamp(1.5rem, 2.8vw, 2.5rem)/1 var(--display); font-variation-settings: "wdth" 78; letter-spacing: -0.02em; text-transform: uppercase; white-space: nowrap; }
.ticker i { width: 12px; height: 12px; border-radius: 50%; flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------------- reel ---------------- */
.reel { max-width: calc(var(--max) + 2 * var(--gutter)); margin: clamp(56px, 8vw, 110px) auto 0; padding-inline: var(--gutter); }
.reel__frame { position: relative; aspect-ratio: 16 / 9; max-width: 100%; border-radius: clamp(14px, 2vw, 26px); overflow: hidden; background: #000; box-shadow: 0 0 0 1px var(--line), 0 60px 140px -60px color-mix(in srgb, var(--live) 50%, transparent); }
.reel__frame > video, .reel__frame > img { width: 100%; height: 100%; object-fit: cover; }
.reel__shade { position: absolute; inset: 0; background: linear-gradient(20deg, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.2) 40%, transparent 65%); }
.reel__meta { position: absolute; left: clamp(18px, 3vw, 44px); bottom: clamp(18px, 3vw, 44px); display: grid; gap: 12px; }
.reel__meta .label { color: var(--ink); }
.reel__title { font: 700 clamp(1.4rem, 3.2vw, 3rem)/1 var(--display); letter-spacing: -0.03em; }
.badge.reel__badge { position: absolute; right: clamp(14px, 3vw, 44px); bottom: clamp(14px, 3vw, 44px); }
@media (max-width: 640px) {
  .reel__frame { aspect-ratio: 4 / 5; }
  .reel__title br { display: none; }
  .badge.reel__badge { top: 14px; bottom: auto; --size: 96px; }
}

/* rotating badge */
.badge {
  --size: clamp(104px, 10vw, 140px);
  position: relative; width: var(--size); height: var(--size); border-radius: 50%;
  display: grid; place-items: center;
  background: var(--a); color: var(--bg);
  box-shadow: 0 20px 50px -10px color-mix(in srgb, var(--a) 55%, transparent);
  transition: transform 0.4s var(--ease);
}
.badge:hover { transform: scale(1.08); }
.badge__ring { position: absolute; inset: 7%; width: 86%; height: 86%; overflow: visible; }
.badge__ring text { font: 600 10.5px var(--mono); letter-spacing: 3.2px; fill: currentColor; }
@media (prefers-reduced-motion: no-preference) { .badge__ring { animation: spin 16s linear infinite; } }
@keyframes spin { to { transform: rotate(1turn); } }
.badge__play { width: 0; height: 0; margin-left: 5px; border-style: solid; border-width: 11px 0 11px 18px; border-color: transparent transparent transparent currentColor; }

/* ---------------- section heads ---------------- */
.sec-head { display: grid; gap: 18px; margin-bottom: clamp(40px, 6vw, 80px); }
.sec-head h2 { font-size: clamp(2.6rem, 7.4vw, 6.6rem); font-variation-settings: "wdth" 82; letter-spacing: -0.015em; }
.sec-head h2 em { font-style: normal; font-weight: 300; font-variation-settings: "wdth" 75; color: var(--live); }

/* ---------------- index ---------------- */
.index, .services, .process { max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: clamp(100px, 13vw, 180px) var(--gutter) 0; }
.index__list { border-bottom: 1px solid var(--line); }
.index__list a {
  position: relative; isolation: isolate;
  display: grid; grid-template-columns: 70px minmax(0, 1.25fr) minmax(0, 1.3fr) minmax(0, 0.6fr) 40px; align-items: center; gap: 20px;
  padding: clamp(18px, 2.4vw, 30px) 8px; border-top: 1px solid var(--line); text-decoration: none;
}
.index__list a::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, color-mix(in srgb, var(--a) 16%, transparent), transparent 75%);
  transform: scaleY(0); transform-origin: bottom; transition: transform 0.45s var(--ease);
}
.index__list a:hover::before, .index__list a:focus-visible::before { transform: scaleY(1); }
.index__n { font: 500 0.82rem var(--mono); color: var(--faint); }
.index__name { font: 800 clamp(1.9rem, 4.6vw, 4.2rem)/0.95 var(--display); font-variation-settings: "wdth" 82; letter-spacing: -0.012em; transition: transform 0.45s var(--ease), color 0.3s; }
.index__what { color: var(--dim); }
.index__where { font: 500 0.78rem var(--mono); letter-spacing: 0.06em; color: var(--faint); text-transform: uppercase; }
.index__arrow { font-size: 1.6rem; color: var(--a); transition: transform 0.45s var(--ease); justify-self: end; }
.index__list a:hover .index__name { transform: translateX(14px); color: var(--a); }
.index__list a:hover .index__arrow { transform: translate(4px, 4px) rotate(-45deg); }
@media (max-width: 860px) {
  .index__list a { grid-template-columns: 40px minmax(0, 1fr) 28px; row-gap: 6px; }
  .index__what { grid-column: 2; grid-row: 2; font-size: 0.95rem; }
  .index__where { display: none; }
  .index__arrow { grid-column: 3; grid-row: 1; }
}

.peek {
  position: fixed; left: 0; top: 0; z-index: 60; pointer-events: none;
  width: clamp(260px, 24vw, 380px); aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden;
  box-shadow: 0 30px 80px -10px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.12);
  opacity: 0; transform: translate(var(--x, 0), var(--y, 0)) scale(0.85) rotate(-3deg);
  transition: opacity 0.25s, transform 0.5s var(--ease);
  background: #000;
}
.peek.on { opacity: 1; transform: translate(var(--x, 0), var(--y, 0)) scale(1) rotate(-3deg); }
.peek video { width: 100%; height: 100%; object-fit: cover; object-position: top; }
@media (hover: none), (pointer: coarse) { .peek { display: none; } }

/* ---------------- chapters ---------------- */
.chapters { margin-top: 0; }
.chapter {
  position: relative; isolation: isolate;
  max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto;
  padding: clamp(80px, 10vw, 150px) var(--gutter) clamp(70px, 9vw, 130px);
  border-top: 1px solid var(--line);
}
.chapter__glow { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(50% 40% at 70% 30%, color-mix(in srgb, var(--a) 14%, transparent), transparent 70%); }
.chapter__head { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: end; gap: clamp(20px, 3vw, 48px); }
.chapter__num {
  font: 800 clamp(6rem, 17vw, 16rem)/0.78 var(--display); font-variation-settings: "wdth" 75; letter-spacing: -0.06em;
  color: transparent; -webkit-text-stroke: 1.5px var(--a);
}
.chapter__title { display: grid; gap: 14px; padding-bottom: 0.4em; }
.chapter__title h3 { font-size: clamp(3rem, 8.4vw, 8rem); font-variation-settings: "wdth" 84; letter-spacing: -0.018em; }
.chapter__kind { font-weight: 600; font-size: clamp(1rem, 1.5vw, 1.2rem); color: var(--a); }
@media (max-width: 640px) {
  .chapter__head { grid-template-columns: 1fr; }
  .chapter__num { font-size: 5.4rem; }
}

.stage { position: relative; margin-top: clamp(40px, 6vw, 80px); padding-bottom: clamp(30px, 6vw, 70px); }
.stage__browser { width: min(88%, 1180px); }
.chapter:nth-child(even) .stage__browser { margin-left: auto; }
.stage__phone { position: absolute; right: 2%; bottom: 0; width: clamp(110px, 18%, 250px); }
.chapter:nth-child(even) .stage__phone { right: auto; left: 2%; }
.badge.stage__badge { position: absolute; top: clamp(-40px, -3vw, -20px); right: clamp(4%, 10vw, 14%); z-index: 2; }
.chapter:nth-child(even) .stage__badge { right: auto; left: clamp(4%, 10vw, 14%); }
@media (max-width: 760px) {
  .stage__browser { width: 100%; }
  .stage__phone { width: 30%; bottom: -6%; }
  .badge.stage__badge, .chapter:nth-child(even) .badge.stage__badge { --size: 88px; top: auto; bottom: -34px; left: 4%; right: auto; }
}

.browser {
  border-radius: 14px; overflow: hidden; background: #1b1b20;
  box-shadow: 0 60px 120px -40px rgba(0, 0, 0, 0.85), 0 0 0 1px var(--line), 0 0 160px -60px var(--a);
}
.browser__bar { display: flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; background: #202026; border-bottom: 1px solid var(--line); }
.browser__bar i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; opacity: 0.85; }
.browser__bar i:nth-child(2) { background: #febc2e; }
.browser__bar i:nth-child(3) { background: #28c840; }
.browser__bar span { margin: 0 auto; transform: translateX(-20px); padding: 4px 16px; border-radius: 999px; background: rgba(255, 255, 255, 0.06); font: 0.74rem var(--mono); color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 60%; }
.browser__screen { position: relative; aspect-ratio: 16 / 9; max-width: 100%; background: #000; }
.browser__screen video, .browser__screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.phone {
  aspect-ratio: 390 / 844; max-width: 100%; padding: 6px; border-radius: 30px;
  background: linear-gradient(145deg, #2c2c33, #101013);
  box-shadow: 0 40px 90px -20px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.13);
}
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 24px; }

.chapter__body { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(30px, 6vw, 100px); margin-top: clamp(50px, 7vw, 100px); }
.chapter__pitch { font: 500 clamp(1.45rem, 2.6vw, 2.35rem)/1.15 var(--display); letter-spacing: -0.02em; text-wrap: pretty; }
.chapter__side { display: grid; gap: 28px; align-content: start; }
.feats li { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 10px; padding: 14px 0; border-top: 1px solid var(--line); }
.feats li:last-child { border-bottom: 1px solid var(--line); }
.feats span { font: 500 0.78rem/1.9 var(--mono); color: var(--a); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { font: 0.76rem var(--mono); color: var(--dim); padding: 7px 13px; border-radius: 999px; border: 1px solid var(--line); }
@media (max-width: 860px) { .chapter__body { grid-template-columns: 1fr; } }

.strip {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(78%, 560px); gap: clamp(14px, 2vw, 24px);
  margin-top: clamp(50px, 7vw, 90px); padding-bottom: 14px;
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  scrollbar-width: thin; scrollbar-color: var(--a) transparent;
}
.strip__item { margin: 0; scroll-snap-align: start; display: grid; gap: 12px; }
.strip__img { aspect-ratio: 16 / 10; max-width: 100%; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: var(--bg-2); }
.strip__img img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 0.8s var(--ease); }
.strip__item:hover img { transform: scale(1.035); }
.strip figcaption { font: 500 0.74rem var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); }

/* ---------------- services ---------------- */
.svc { border-bottom: 1px solid var(--line); }
.svc li {
  position: relative; isolation: isolate;
  display: grid; grid-template-columns: 70px minmax(0, 1fr) minmax(0, 1fr) minmax(0, 0.55fr); gap: 24px; align-items: baseline;
  padding: clamp(24px, 3vw, 40px) 8px; border-top: 1px solid var(--line);
}
.svc li::before { content: ""; position: absolute; inset: 0; z-index: -1; background: color-mix(in srgb, var(--a) 10%, transparent); transform: scaleX(0); transform-origin: left; transition: transform 0.6s var(--ease); }
.svc li:hover::before { transform: scaleX(1); }
.svc__n { font: 500 0.82rem var(--mono); color: var(--a); }
.svc h3 { font-size: clamp(1.7rem, 3.4vw, 3rem); font-variation-settings: "wdth" 84; letter-spacing: -0.012em; transition: transform 0.5s var(--ease); }
.svc li:hover h3 { transform: translateX(10px); }
.svc p { color: var(--dim); max-width: 32rem; }
.svc__tag { font: 500 0.74rem var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); justify-self: end; text-align: right; }
@media (max-width: 860px) {
  .svc li { grid-template-columns: 40px minmax(0, 1fr); row-gap: 10px; }
  .svc p, .svc__tag { grid-column: 2; justify-self: start; text-align: left; }
}

/* ---------------- process ---------------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.steps li { position: relative; padding: 26px 24px 30px; border-radius: 18px; background: var(--bg-2); border: 1px solid var(--line); min-height: 260px; display: flex; flex-direction: column; }
.steps__n { font: 800 4.6rem/0.8 var(--display); font-variation-settings: "wdth" 75; color: transparent; -webkit-text-stroke: 1.2px var(--faint); }
.steps h3 { font-size: 1.7rem; letter-spacing: -0.03em; margin-top: auto; padding-top: 40px; }
.steps p { margin-top: 10px; color: var(--dim); font-size: 0.98rem; }
.steps li:not(:last-child)::after { content: "→"; position: absolute; right: -22px; top: 30px; color: var(--faint); font-size: 1.2rem; }
@media (max-width: 960px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps li::after { display: none; }
}
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } .steps li { min-height: 0; } }

/* ---------------- cta ---------------- */
.cta { margin-top: clamp(120px, 15vw, 200px); padding-bottom: clamp(70px, 10vw, 130px); border-top: 1px solid var(--line); overflow: hidden; }
.cta__marquee { padding: clamp(30px, 5vw, 60px) 0; }
.cta__track { display: flex; gap: 0.35em; width: max-content; font: 800 clamp(4.2rem, 13vw, 12.5rem)/1 var(--display); font-variation-settings: "wdth" 80; letter-spacing: -0.015em; white-space: nowrap; }
@media (prefers-reduced-motion: no-preference) { .cta__track { animation: marquee 34s linear infinite; } }
.cta__track .o { color: transparent; -webkit-text-stroke: 2px var(--live); }
.cta__body { max-width: 64rem; margin: 0 auto; padding-inline: var(--gutter); display: grid; justify-items: center; gap: 30px; text-align: center; }
.cta__lead { font-size: clamp(1.15rem, 1.8vw, 1.45rem); color: var(--dim); max-width: 36rem; }
.contact { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; width: 100%; max-width: 980px; text-align: left; }
.contact__card { display: grid; gap: 14px; align-content: start; padding: clamp(22px, 3vw, 32px); border-radius: 20px; background: var(--bg-2); border: 1px solid var(--line); position: relative; overflow: hidden; }
.contact__card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--a); }
.contact__card .label i { background: var(--a); }
.contact__value { font: 800 clamp(1.5rem, 3vw, 2.4rem)/1.05 var(--display); font-variation-settings: "wdth" 84; letter-spacing: -0.01em; user-select: all; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.contact__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.contact__actions .btn { min-height: 46px; padding: 0 18px; font-size: 0.95rem; }
@media (max-width: 760px) { .contact { grid-template-columns: minmax(0, 1fr); } }
.team { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.team li { display: inline-flex; align-items: center; gap: 12px; padding: 14px 22px 14px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg-2); font: 700 1.25rem var(--display); letter-spacing: -0.02em; }
.team li::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--a); }

.foot__legal { display: flex; flex-wrap: wrap; gap: 18px; }
.foot a { color: var(--dim); text-underline-offset: 3px; }
.foot a:hover { color: var(--ink); }
.foot__note { flex-basis: 100%; }
.legal { max-width: 46rem; margin: 0 auto; padding: clamp(60px, 9vw, 110px) var(--gutter) clamp(80px, 10vw, 130px); }
.legal h1 { font-size: clamp(2.6rem, 7vw, 4.6rem); font-variation-settings: "wdth" 84; letter-spacing: -0.015em; margin: 16px 0 clamp(30px, 5vw, 50px); }
.legal h2 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); font-variation-settings: "wdth" 90; letter-spacing: -0.01em; line-height: 1.15; margin: 44px 0 14px; }
.legal p, .legal li { color: var(--dim); max-width: 65ch; }
.legal p + p { margin-top: 12px; }
.legal ul { display: grid; gap: 8px; margin-top: 12px; padding-left: 1.1em; list-style: disc; }
.legal strong { color: var(--ink); font-weight: 600; }
.legal mark { background: #ffd34d; color: #111; padding: 0 4px; border-radius: 4px; }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding: 26px var(--gutter) calc(32px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); font-size: 0.85rem; color: var(--faint); }

/* ---------------- lightbox ---------------- */
.lightbox { width: min(1320px, 94vw); padding: 0; border: 0; border-radius: 16px; background: #000; overflow: visible; color: var(--ink); }
.lightbox::backdrop { background: rgba(4, 4, 6, 0.88); backdrop-filter: blur(8px); }
.lightbox video { width: 100%; aspect-ratio: 16 / 9; border-radius: 16px; }
.lightbox__close { position: absolute; top: -54px; right: 0; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.08); font-size: 1.6rem; line-height: 1; }
