/* =============================================================
   DEVPOOL — stylesheet
   One idea: warm editorial paper. One accent. One grid.
   Written from scratch · 2026-04-24
   ============================================================= */


/* ─────────────────────────────────────────────────────────────
   01 · TOKENS
   ───────────────────────────────────────────────────────────── */

:root {
  /* Paper & ink — devpool.su identity (r20): claude.ai-inspired warm
   * cream for a calmer, editorial feel across the whole ecosystem. */
  --paper:       #F7F4EE;
  --paper-deep:  #EFEAE0;     /* slightly darker wash for alt bands */
  --ink:         #1A1916;
  --ink-80:      rgba(26, 25, 22, 0.82);
  --ink-60:      rgba(26, 25, 22, 0.62);
  --ink-45:      rgba(26, 25, 22, 0.45);
  --ink-25:      rgba(26, 25, 22, 0.24);
  --ink-12:      rgba(26, 25, 22, 0.12);
  --ink-06:      rgba(26, 25, 22, 0.06);

  /* One accent — Anthropic-style terracotta (devpool.su / app.devpool). */
  --mark:        #CC785C;   /* terracotta — main accent */
  --mark-soft:   #F2D9CD;   /* tinted wash for hovers */
  --mark-deep:   #B5614A;   /* darker mark for deep hovers */
  --mark-rgb:    204, 120, 92; /* for rgba() helpers */

  /* Avatar tones (restrained, editorial) */
  --tone-a:      #E8D9C6;
  --tone-b:      #D8DDD0;
  --tone-c:      #E6CFC4;

  /* Shadows — minimal, only where earned */
  --shadow-1:    0 1px 2px rgba(17, 16, 16, 0.05);
  --shadow-2:    0 8px 32px -12px rgba(17, 16, 16, 0.18);

  /* Type */
  --font-serif:  "Instrument Serif", "PP Editorial Old", Georgia, serif;
  --font-sans:   "Instrument Sans", system-ui, -apple-system, sans-serif;
  --font-mono:   "JetBrains Mono", ui-monospace, Menlo, monospace;

  /* Measures */
  --container:   1440px;
  --gutter:      clamp(24px, 5vw, 72px);
  --section-y:   clamp(88px, 12vh, 160px);
  --gap:         clamp(32px, 4vw, 64px);
  --header-h:    72px;

  /* Motion */
  --ease-out:    cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-inout:  cubic-bezier(0.65, 0, 0.35, 1);
  --dur-fast:    240ms;
  --dur-med:     500ms;
  --dur-slow:    900ms;
}


/* ─────────────────────────────────────────────────────────────
   02 · RESET & BASE
   ───────────────────────────────────────────────────────────── */

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

html {
  background: var(--paper);
  color: var(--ink);
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  /* devpool.su parity: block pinch / double-tap zoom on touch. */
  touch-action: manipulation;
  -ms-content-zooming: none;
}

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

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.55;
  letter-spacing: -0.005em;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
button { font: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }

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


/* ─────────────────────────────────────────────────────────────
   03 · TYPOGRAPHY
   ───────────────────────────────────────────────────────────── */

em, .italic {
  font-style: italic;
  font-family: var(--font-serif);
  font-weight: 400;
  letter-spacing: -0.01em;
}

/* Typographic refinements — tabular figures for measured numbers,
   proportional oldstyle for display headings. */
.side-meta dd,
.reviews-count,
.foot-base,
[data-clock],
[data-clock-utc],
.stat-l,
.sec-kicker,
.svc-n,
.val-n,
.case-kicker,
.rev-num,
.rev-role,
.price-kicker,
.svc-extra-k,
.foot-label,
.mnav-n {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}
.hero-title,
.sec-title,
.studio-title,
.cta-title,
.stat-n,
.step-n,
.foot-wordmark,
.svc-price em {
  font-variant-numeric: proportional-nums;
  font-feature-settings: "pnum" 1, "kern" 1, "liga" 1;
}

.mono {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-60);
}


/* ─────────────────────────────────────────────────────────────
   04 · LAYOUT PRIMITIVES
   ───────────────────────────────────────────────────────────── */

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute;
  inset: 8px auto auto 8px;
  padding: 8px 14px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 12px;
  transform: translateY(-200%);
  transition: transform 0.2s;
  z-index: 1000;
}
.skip-link:focus { transform: translateY(0); }


/* Scroll progress — top-of-page thin signature line */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 100;
  pointer-events: none;
  background: transparent;
}
.scroll-progress-bar {
  height: 100%;
  width: 0;
  background: var(--mark);
  transform-origin: left center;
  will-change: width;
}

/* Paper grain — subtle warmth, reinforces editorial metaphor */
.grain {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.038;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.92' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.067  0 0 0 0 0.063  0 0 0 0 0.063  0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}
@media (prefers-reduced-motion: reduce) {
  .grain { opacity: 0.025; }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 24px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-60);
}
.eyebrow .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mark);
  box-shadow: 0 0 0 0 var(--mark);
  animation: pulse 2.2s var(--ease-inout) infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(204, 120, 92, 0.4); }
  60%  { box-shadow: 0 0 0 10px rgba(204, 120, 92, 0); }
  100% { box-shadow: 0 0 0 0 rgba(204, 120, 92, 0); }
}


/* Section header */
.sec-head {
  display: grid;
  grid-template-columns: minmax(120px, 180px) 1fr;
  gap: var(--gutter);
  align-items: baseline;
  margin-bottom: clamp(56px, 8vh, 96px);
  padding-bottom: clamp(32px, 4vh, 48px);
  border-bottom: 1px solid var(--ink-12);
}
.sec-kicker {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-60);
}
.sec-title {
  margin: 0;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(32px, 4.8vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--ink);
  max-width: 22ch;
}
.sec-title em {
  font-style: normal;
  font-family: var(--font-sans);
  font-weight: 400;
  letter-spacing: -0.02em;
}

.mark {
  color: var(--mark);
  font-style: italic;
  font-family: var(--font-serif);
  font-weight: 400;
  white-space: nowrap;
}


/* ─────────────────────────────────────────────────────────────
   05 · BUTTONS
   ───────────────────────────────────────────────────────────── */

.btn {
  --btn-bg: var(--ink);
  --btn-fg: var(--paper);
  --btn-bd: var(--ink);

  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.005em;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1px solid var(--btn-bd);
  border-radius: 999px;
  cursor: pointer;
  transition:
    background var(--dur-fast) var(--ease-out),
    color var(--dur-fast) var(--ease-out),
    border-color var(--dur-fast) var(--ease-out),
    transform var(--dur-fast) var(--ease-out);
  will-change: transform;
}
.btn:hover {
  --btn-bg: var(--mark);
  --btn-bd: var(--mark);
}
.btn:focus-visible {
  outline: 2px solid var(--mark);
  outline-offset: 3px;
}
.btn svg { flex: none; transition: transform var(--dur-fast) var(--ease-out); }
.btn:hover svg { transform: translateX(3px); }

.btn-ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  --btn-bd: var(--ink-25);
}
.btn-ghost:hover {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  --btn-bd: var(--ink);
}

.btn-small {
  padding: 10px 16px;
  font-size: 13px;
}

.btn-lg {
  padding: 18px 28px;
  font-size: 16px;
}


/* ─────────────────────────────────────────────────────────────
   06 · REVEAL ANIMATIONS
   ───────────────────────────────────────────────────────────── */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 800ms var(--ease-out),
    transform 800ms var(--ease-out);
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}
.reveal.is-in.delay-1 { transition-delay: 100ms; }
.reveal.is-in.delay-2 { transition-delay: 200ms; }
.reveal.is-in.delay-3 { transition-delay: 300ms; }


/* ─────────────────────────────────────────────────────────────
   07 · HEADER
   ───────────────────────────────────────────────────────────── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  /* Solid opaque — color-mix() is unsupported in the Telegram WebView
   * (renders transparent → sticky header bled the scrolling page through
   * it = the "глитч при листании, закрывает всё"). No backdrop-filter:
   * sticky + backdrop blur smears on iOS/in-app browsers. */
  background: var(--paper);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur-fast) var(--ease-out);
}
.site-header.is-scrolled {
  border-bottom-color: var(--ink-12);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.brand .brand-mark { font-weight: 800; }
.brand em {
  color: var(--mark);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 22px;
  margin-left: 1px;
  line-height: 0;
  transform: translateY(2px);
}

.nav {
  display: flex;
  gap: 28px;
  align-items: center;
}
.nav a {
  position: relative;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-80);
  transition: color var(--dur-fast) var(--ease-out);
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: -6px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-fast) var(--ease-out);
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after { transform: scaleX(1); }

.header-meta {
  display: flex;
  align-items: center;
  gap: 20px;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-60);
}
.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mark);
  animation: pulse 2.2s var(--ease-inout) infinite;
}


/* Mobile nav toggle (hamburger) */
.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--ink-25);
  background: transparent;
  border-radius: 999px;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: var(--ink);
  transition:
    background var(--dur-fast) var(--ease-out),
    border-color var(--dur-fast) var(--ease-out),
    color var(--dur-fast) var(--ease-out);
}
.nav-toggle:hover {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.nav-toggle:focus-visible {
  outline: 2px solid var(--mark);
  outline-offset: 3px;
}
.nav-toggle-line {
  display: block;
  width: 15px;
  height: 1.4px;
  background: currentColor;
  transform-origin: center;
  transition:
    transform var(--dur-fast) var(--ease-inout),
    opacity var(--dur-fast) var(--ease-out);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(1) {
  transform: translateY(5.4px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0.1);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(3) {
  transform: translateY(-5.4px) rotate(-45deg);
}


/* Mobile nav overlay */
.mobile-nav {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 45;
  background: var(--paper);
  padding: clamp(32px, 8vh, 64px) var(--gutter) 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  visibility: hidden;
  transition:
    opacity 360ms var(--ease-out),
    transform 500ms var(--ease-inout),
    visibility 0s linear 360ms;
  overflow-y: auto;
}
.mobile-nav.is-open {
  opacity: 1;
  transform: none;
  pointer-events: auto;
  visibility: visible;
  transition:
    opacity 280ms var(--ease-out),
    transform 420ms var(--ease-inout),
    visibility 0s linear 0s;
}
.mobile-nav nav {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--ink-12);
}
.mobile-nav nav a {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 24px;
  padding: clamp(16px, 2.8vh, 26px) 0;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(32px, 9vw, 56px);
  line-height: 1;
  letter-spacing: -0.025em;
  color: var(--ink);
  border-bottom: 1px solid var(--ink-12);
  transition: color var(--dur-fast) var(--ease-out), padding-left var(--dur-med) var(--ease-out);
}
.mobile-nav nav a::after {
  content: "→";
  margin-left: auto;
  font-family: var(--font-sans);
  font-style: normal;
  font-size: 22px;
  color: var(--ink-45);
  transition: color var(--dur-fast) var(--ease-out), transform var(--dur-med) var(--ease-out);
}
.mobile-nav nav a:hover,
.mobile-nav nav a:active {
  color: var(--mark);
  padding-left: 8px;
}
.mobile-nav nav a:hover::after {
  color: var(--mark);
  transform: translateX(6px);
}
.mobile-nav .mnav-n {
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-45);
  flex-shrink: 0;
  padding-top: 14px;
}

.mobile-nav-foot {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--ink-12);
}
.mobile-nav-foot > div {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  color: var(--ink-80);
}
.mobile-nav-foot a {
  color: var(--ink);
  font-weight: 500;
  transition: color var(--dur-fast) var(--ease-out);
}
.mobile-nav-foot a:hover { color: var(--mark); }
.mobile-nav-foot .mnav-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-45);
  margin-bottom: 2px;
}

body.nav-open { overflow: hidden; }


/* ─────────────────────────────────────────────────────────────
   08 · HERO
   ───────────────────────────────────────────────────────────── */

.hero {
  position: relative;
  padding-top: clamp(56px, 9vh, 120px);
  padding-bottom: clamp(56px, 9vh, 120px);
  min-height: calc(100vh - var(--header-h));
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 300px);
  gap: var(--gutter);
  align-items: end;
}

.hero-copy { min-width: 0; }

.hero-title {
  margin: 0 0 clamp(32px, 4.5vh, 56px);
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: clamp(42px, 6.8vw, 108px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  color: var(--ink);
  text-wrap: balance;
}
.hero-title .line {
  display: block;
  overflow: visible;
}
.hero-title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
}
.hero-title .mark {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--mark);
}

.hero-lede {
  max-width: 60ch;
  margin: 0 0 clamp(32px, 4vh, 48px);
  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1.5;
  color: var(--ink-80);
}
.hero-lede strong {
  font-weight: 500;
  color: var(--ink);
  border-bottom: 1px solid var(--mark);
  padding-bottom: 1px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

/* Side meta panel */
.hero-side {
  border-top: 1px solid var(--ink-12);
  padding-top: 20px;
}
.side-meta {
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
.side-meta > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  border-bottom: 1px solid var(--ink-06);
  padding-bottom: 14px;
}
.side-meta > div:last-child { border-bottom: 0; padding-bottom: 0; }
.side-meta dt {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-60);
}
.side-meta dd {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  text-align: right;
}

.hero-rule {
  margin-top: var(--section-y);
  height: 1px;
  background: var(--ink-12);
}


/* ─────────────────────────────────────────────────────────────
   09 · PROOF
   ───────────────────────────────────────────────────────────── */

.proof {
  padding: clamp(48px, 7vh, 80px) 0;
}
.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gutter);
}
.stat {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px 0;
  border-top: 1px solid var(--ink-12);
}
.stat-n {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(48px, 6.5vw, 88px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.stat-n em { color: var(--mark); font-style: italic; }
.stat-l {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-60);
}


/* ─────────────────────────────────────────────────────────────
   10 · SERVICES
   ───────────────────────────────────────────────────────────── */

.services {
  padding: var(--section-y) 0;
}

.svc-list {
  border-top: 1px solid var(--ink-12);
}
.svc-row {
  position: relative;
  border-bottom: 1px solid var(--ink-12);
  isolation: isolate;
}
.svc-link {
  position: relative;
  display: grid;
  grid-template-columns: 64px minmax(240px, 1fr) minmax(0, 1.3fr) 240px 32px;
  gap: 32px;
  align-items: center;
  padding: clamp(28px, 4vh, 42px) 0;
  color: var(--ink);
  transition: color 420ms var(--ease-out);
}
/* Extended hover fill — bleeds slightly beyond the text so the
   hover feels generous without shifting the grid columns. */
.svc-link::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -24px;
  right: -24px;
  background: var(--mark);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 700ms var(--ease-inout);
  z-index: -1;
}
.svc-row:hover .svc-link,
.svc-row:focus-within .svc-link {
  color: var(--paper);
}
.svc-row:hover .svc-link::before,
.svc-row:focus-within .svc-link::before {
  transform: scaleX(1);
}
.svc-row:hover .svc-arrow,
.svc-row:focus-within .svc-arrow {
  transform: translateX(8px);
}

.svc-n {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--ink-60);
  transition: color var(--dur-med) var(--ease-out);
}
.svc-row:hover .svc-n { color: var(--paper); }

.svc-title {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: clamp(26px, 3.2vw, 42px);
  line-height: 1;
  letter-spacing: -0.025em;
}
.svc-title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--mark);
  transition: color var(--dur-med) var(--ease-out);
}
.svc-row:hover .svc-title em { color: var(--paper); }

.svc-desc {
  font-size: 15px;
  line-height: 1.45;
  color: var(--ink-60);
  transition: color var(--dur-med) var(--ease-out);
}
.svc-row:hover .svc-desc { color: rgba(243, 239, 231, 0.82); }

.svc-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: right;
}
.svc-price {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 18px;
  color: var(--ink);
  transition: color var(--dur-med) var(--ease-out);
}
.svc-price em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 22px;
}
.svc-row:hover .svc-price { color: var(--paper); }
.svc-time {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--ink-60);
  transition: color var(--dur-med) var(--ease-out);
}
.svc-row:hover .svc-time { color: rgba(243, 239, 231, 0.8); }

.svc-arrow {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 26px;
  color: var(--ink-45);
  justify-self: end;
  transition:
    color var(--dur-med) var(--ease-out),
    transform var(--dur-med) var(--ease-out);
}
.svc-row:hover .svc-arrow { color: var(--paper); }


/* ─────────────────────────────────────────────────────────────
   11 · PROCESS
   ───────────────────────────────────────────────────────────── */

.process {
  padding: var(--section-y) 0;
  background: var(--paper-deep);
  margin-inline: calc(-1 * var(--gutter));
  padding-inline: var(--gutter);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gutter);
  counter-reset: step;
}
.step {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-top: 28px;
  border-top: 1px solid var(--ink-25);
}
.step-n {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(56px, 5vw, 88px);
  line-height: 0.9;
  color: var(--mark);
  letter-spacing: -0.03em;
}
.step-t {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.step-p {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-60);
}


/* ─────────────────────────────────────────────────────────────
   12 · WORK
   ───────────────────────────────────────────────────────────── */

.work {
  padding: var(--section-y) 0;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(32px, 4vw, 56px);
}

.case {
  display: flex;
  flex-direction: column;
  gap: 24px;
  cursor: pointer;
}
.case-visual {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 4px;
  overflow: hidden;
  background: var(--paper-deep);
  transition: transform 700ms var(--ease-out);
}
.case:hover .case-visual {
  transform: translateY(-6px);
}
.case-visual::before,
.case-visual::after {
  content: "";
  position: absolute;
  inset: 0;
}
/* Art: bot */
.case-visual[data-case-art="bot"]::before {
  background:
    radial-gradient(circle at 30% 30%, var(--mark) 0 70px, transparent 71px),
    radial-gradient(circle at 70% 60%, rgba(17,16,16,0.92) 0 90px, transparent 91px);
}
.case-visual[data-case-art="bot"]::after {
  background: linear-gradient(135deg, transparent 62%, var(--ink-06) 62% 63%, transparent 63%),
              linear-gradient(135deg, transparent 70%, var(--ink-06) 70% 71%, transparent 71%);
}
/* Art: site */
.case-visual[data-case-art="site"]::before {
  background:
    linear-gradient(180deg, var(--ink) 0 52%, transparent 52%),
    linear-gradient(90deg, transparent 0 10%, var(--mark) 10% 11%, transparent 11%);
}
.case-visual[data-case-art="site"]::after {
  top: 58%; left: 10%; right: 10%; bottom: 14%;
  background:
    linear-gradient(var(--ink-12), var(--ink-12)) 0 0/100% 1px no-repeat,
    linear-gradient(var(--ink-12), var(--ink-12)) 0 28%/60% 1px no-repeat,
    linear-gradient(var(--ink-12), var(--ink-12)) 0 56%/80% 1px no-repeat,
    linear-gradient(var(--ink-12), var(--ink-12)) 0 84%/45% 1px no-repeat;
}
/* Art: app */
.case-visual[data-case-art="app"]::before {
  background:
    linear-gradient(90deg, var(--ink) 0 22%, transparent 22%),
    linear-gradient(180deg, var(--ink-06) 0 12%, transparent 12%);
}
.case-visual[data-case-art="app"]::after {
  top: 22%; right: 12%; left: 32%; bottom: 16%;
  background:
    linear-gradient(var(--mark), var(--mark)) 0 0/36% 36% no-repeat,
    linear-gradient(var(--ink-12), var(--ink-12)) 0 52%/90% 1px no-repeat,
    linear-gradient(var(--ink-12), var(--ink-12)) 0 72%/60% 1px no-repeat;
}
/* Art: dash */
.case-visual[data-case-art="dash"]::before {
  background:
    linear-gradient(180deg, var(--ink) 0 16%, transparent 16%),
    linear-gradient(90deg, transparent 0 68%, var(--mark) 68% 72%, transparent 72%);
}
.case-visual[data-case-art="dash"]::after {
  top: 24%; left: 10%; right: 10%; bottom: 14%;
  background:
    conic-gradient(var(--mark) 0 25%, transparent 25% 100%) right center / 30% 100% no-repeat,
    linear-gradient(var(--ink-12), var(--ink-12)) 0 6%/46% 1px no-repeat,
    linear-gradient(var(--ink-12), var(--ink-12)) 0 30%/60% 1px no-repeat,
    linear-gradient(var(--ink-12), var(--ink-12)) 0 54%/35% 1px no-repeat,
    linear-gradient(var(--ink-12), var(--ink-12)) 0 78%/52% 1px no-repeat;
}

.case-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.case-kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-60);
}
.case-t {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.case-p {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink-60);
  max-width: 46ch;
}
.case-meta {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--ink-45);
}
.case-meta em {
  font-style: italic;
  font-family: var(--font-mono);
}


/* ─────────────────────────────────────────────────────────────
   13 · PRICING
   ───────────────────────────────────────────────────────────── */

.pricing {
  padding: var(--section-y) 0;
  background: var(--paper-deep);
  margin-inline: calc(-1 * var(--gutter));
  padding-inline: var(--gutter);
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gutter);
}
.price-card {
  padding: 36px 32px;
  background: var(--paper);
  border: 1px solid var(--ink-12);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform var(--dur-med) var(--ease-out), border-color var(--dur-med) var(--ease-out);
}
.price-card:hover {
  transform: translateY(-4px);
  border-color: var(--ink);
}
.price-kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mark);
}
.price-body {
  margin: 0;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(20px, 1.8vw, 26px);
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.pricing-note {
  margin: 48px auto 0;
  max-width: 56ch;
  text-align: center;
  font-size: 14px;
  color: var(--ink-60);
}


/* ─────────────────────────────────────────────────────────────
   14 · FAQ
   ───────────────────────────────────────────────────────────── */

.faq {
  padding: var(--section-y) 0;
}
.faq-wrap { max-width: 980px; }

.faq-list {
  border-top: 1px solid var(--ink-12);
}
.faq-item {
  border-bottom: 1px solid var(--ink-12);
}
.faq-item details { padding: 0; }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  cursor: pointer;
  list-style: none;
  color: var(--ink);
  transition: color var(--dur-fast) var(--ease-out);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--mark); }

.faq-q {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: clamp(18px, 1.6vw, 22px);
  letter-spacing: -0.015em;
  line-height: 1.35;
}

.faq-plus {
  position: relative;
  width: 18px;
  height: 18px;
  flex: none;
  transition: transform var(--dur-med) var(--ease-inout);
}
.faq-plus::before,
.faq-plus::after {
  content: "";
  position: absolute;
  inset: 50% 0 auto 0;
  height: 1.5px;
  background: currentColor;
  transform: translateY(-50%);
}
.faq-plus::after {
  transform: translateY(-50%) rotate(90deg);
  transition: transform var(--dur-med) var(--ease-inout);
}
.faq-item details[open] .faq-plus::after {
  transform: translateY(-50%) rotate(0deg);
}

.faq-a {
  padding: 0 0 28px;
  max-width: 64ch;
  animation: faq-in 500ms var(--ease-out) both;
}
.faq-a p {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-60);
}
@keyframes faq-in {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: none; }
}


/* ─────────────────────────────────────────────────────────────
   15 · CTA
   ───────────────────────────────────────────────────────────── */

.cta {
  padding: var(--section-y) 0;
  text-align: center;
}
.cta-wrap {
  max-width: 820px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.cta-title {
  margin: 0;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(72px, 14vw, 200px);
  line-height: 0.92;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.cta-title em {
  position: relative;
  font-style: italic;
}
/* Decorative pulse dot removed per design request — the period in the
   typography carries the sentence ending on its own. */
.cta-lede {
  margin: 28px 0 40px;
  max-width: 52ch;
  font-size: clamp(17px, 1.4vw, 19px);
  line-height: 1.55;
  color: var(--ink-60);
}
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}


/* ─────────────────────────────────────────────────────────────
   16 · FOOTER
   ───────────────────────────────────────────────────────────── */

.footer {
  background: var(--ink);
  color: var(--paper);
  padding: 80px 0 40px;
  margin-top: 0;
}
.foot-wrap {
  display: flex;
  flex-direction: column;
  gap: 56px;
}
.foot-wordmark {
  display: block;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: clamp(64px, 14.5vw, 208px);
  line-height: 1;
  letter-spacing: -0.015em;
  /* Filled white by default. Hover turns the whole mark orange. */
  color: var(--paper);
  -webkit-text-stroke: 0;
  user-select: none;
  cursor: pointer;
  transition:
    color 600ms var(--ease-inout),
    letter-spacing 600ms var(--ease-out);
  font-optical-sizing: auto;
  font-kerning: normal;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
.foot-wordmark span {
  display: inline-block;
  padding-bottom: 0.08em;
}
.foot-wordmark em {
  color: var(--paper);
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  display: inline-block;
  transform: translateY(0) scale(1);
  transition:
    color 600ms var(--ease-inout),
    transform 600ms var(--ease-inout);
}
.foot-wordmark:hover,
.foot-wordmark:focus-visible {
  color: var(--mark);
  letter-spacing: -0.008em;
}
.foot-wordmark:hover em,
.foot-wordmark:focus-visible em {
  color: var(--mark);
  transform: translateY(1px) scale(1.08);
}

.foot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gutter);
  padding-top: 40px;
  border-top: 1px solid rgba(243, 239, 231, 0.14);
}
.foot-col { display: flex; flex-direction: column; gap: 16px; }
.foot-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(243, 239, 231, 0.5);
}
.foot-col ul { display: flex; flex-direction: column; gap: 8px; }
.foot-col li { font-size: 15px; color: rgba(243, 239, 231, 0.8); }
.foot-col a { position: relative; transition: color var(--dur-fast) var(--ease-out); }
.foot-col a:hover { color: var(--mark); }

.foot-base {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid rgba(243, 239, 231, 0.1);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(243, 239, 231, 0.4);
}


/* ─────────────────────────────────────────────────────────────
   09a · MARQUEE STRIP
   ───────────────────────────────────────────────────────────── */

.marquee {
  overflow: hidden;
  padding: clamp(20px, 3vh, 32px) 0;
  margin-inline: calc(-1 * var(--gutter));
  border-top: 1px solid var(--ink-12);
  border-bottom: 1px solid var(--ink-12);
  background: var(--paper-deep);
  position: relative;
  user-select: none;
}
.marquee::before,
.marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: clamp(40px, 8vw, 120px);
  z-index: 2;
  pointer-events: none;
}
.marquee::before {
  left: 0;
  background: linear-gradient(90deg, var(--paper-deep), transparent);
}
.marquee::after {
  right: 0;
  background: linear-gradient(270deg, var(--paper-deep), transparent);
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: clamp(24px, 3vw, 40px);
  white-space: nowrap;
  width: max-content;
  animation: marquee 48s linear infinite;
  will-change: transform;
}
.marquee:hover .marquee-track {
  animation-play-state: paused;
}
.marquee-item {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: clamp(26px, 3.6vw, 46px);
  line-height: 1;
  letter-spacing: -0.025em;
  color: var(--ink);
  flex-shrink: 0;
}
.marquee-item em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--mark);
  letter-spacing: -0.015em;
}
.marquee-dot {
  flex-shrink: 0;
  font-size: clamp(14px, 1.6vw, 20px);
  color: var(--mark);
  line-height: 1;
  transform: translateY(-2px);
}
@keyframes marquee {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; transform: none; }
}


/* ─────────────────────────────────────────────────────────────
   16a · STUDIO / MANIFESTO
   ───────────────────────────────────────────────────────────── */

.studio {
  padding: var(--section-y) 0;
  border-top: 1px solid var(--ink-12);
  border-bottom: 1px solid var(--ink-12);
}

.studio-grid {
  display: grid;
  grid-template-columns: minmax(260px, 380px) 1fr;
  gap: clamp(48px, 6vw, 96px);
  align-items: start;
}

.studio-head {
  position: sticky;
  top: calc(var(--header-h) + 32px);
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.studio-title {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: clamp(28px, 3.4vw, 46px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.studio-title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--mark);
  letter-spacing: -0.015em;
}

.studio-body {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 62ch;
  margin-bottom: clamp(48px, 7vh, 96px);
}
/* Collapsible bio: clamped to ~5 main lines with a soft fade; the toggle
   button reveals the rest. The clamp uses max-height (not line-clamp,
   because content spans multiple <p>s). */
.bio-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  max-height: calc(1.55em * 5 + 0.3em);
  overflow: hidden;
  transition: max-height 720ms var(--ease-inout);
}
.bio-content p {
  margin: 0;
  font-size: clamp(17px, 1.35vw, 20px);
  line-height: 1.55;
  color: var(--ink-80);
}
.bio-content strong {
  font-weight: 500;
  color: var(--ink);
  border-bottom: 1px solid var(--mark);
  padding-bottom: 1px;
}
/* Fade mask tells the eye "there is more". Fades out when expanded. */
.bio-content::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 5.2em;
  background: linear-gradient(to bottom,
    rgba(245, 241, 233, 0) 0%,
    rgba(245, 241, 233, 0.92) 72%,
    var(--paper) 100%);
  pointer-events: none;
  transition: opacity 360ms var(--ease-out);
}
.studio-body.is-expanded .bio-content {
  max-height: 4000px;
}
.studio-body.is-expanded .bio-content::after { opacity: 0; }

.bio-toggle {
  align-self: flex-start;
  margin-top: 22px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px 10px 18px;
  background: transparent;
  border: 1px solid var(--ink-25);
  border-radius: 999px;
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    background var(--dur-fast) var(--ease-out),
    border-color var(--dur-fast) var(--ease-out),
    color var(--dur-fast) var(--ease-out),
    transform var(--dur-fast) var(--ease-out);
}
.bio-toggle:hover {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
  transform: translateY(-1px);
}
.bio-toggle:focus-visible {
  outline: 2px solid var(--mark);
  outline-offset: 3px;
}
.bio-toggle-icon {
  display: inline-flex;
  transition: transform 460ms var(--ease-inout);
}
.studio-body.is-expanded .bio-toggle-icon { transform: rotate(180deg); }

.values {
  grid-column: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding-top: 32px;
  border-top: 1px solid var(--ink-12);
}
.values li {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.val-n {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mark);
}
.val-t {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 17px;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.val-p {
  font-size: 14px;
  line-height: 1.45;
  color: var(--ink-60);
}


/* ─────────────────────────────────────────────────────────────
   10a · SERVICES EXTRAS
   ───────────────────────────────────────────────────────────── */

.svc-extras {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gutter);
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px dashed var(--ink-12);
}
.svc-extra {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.svc-extra-k {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mark);
}
.svc-extra p {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-80);
}


/* ─────────────────────────────────────────────────────────────
   12a · REVIEWS (TESTIMONIALS SLIDER)
   ───────────────────────────────────────────────────────────── */

.reviews {
  padding: var(--section-y) 0 calc(var(--section-y) * 0.6);
  background: var(--paper-deep);
  margin-inline: calc(-1 * var(--gutter));
  padding-inline: var(--gutter);
  overflow: hidden;
}
.reviews-top { margin-bottom: clamp(40px, 6vh, 72px); }

.reviews-shell {
  margin: 0 calc(-1 * var(--gutter));
  padding: 8px 0;
  overflow: hidden;
  cursor: grab;
  /* Card width (calculated once — used for center-padding below). */
  --rev-card-w: min(780px, calc(100vw - var(--gutter) * 2));
}
.reviews-shell.is-dragging { cursor: grabbing; }

.reviews-track {
  display: flex;
  /* Breathing room between cards. Narrower than before so the centered
     card sits obviously in the centre of the viewport. */
  gap: clamp(32px, 4vw, 64px);
  /* Center-snap: leading/trailing gutter equals "(viewport − card) / 2"
     so every card lands dead-centre of the viewport when snapped. */
  padding-inline: calc((100vw - var(--rev-card-w)) / 2);
  scroll-snap-type: x mandatory;
  scroll-snap-stop: always;
  scroll-padding-inline: calc((100vw - var(--rev-card-w)) / 2);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  /* JS owns the animation — prevent the browser's own smooth-scroll
     from fighting it. */
  scroll-behavior: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.reviews-track::-webkit-scrollbar { display: none; }
/* While the JS tween is running, turn snap off — otherwise mandatory
   mode re-snaps after every frame's scrollLeft write and the animation
   collapses into an instant jump. Snap comes back the moment the
   tween ends, locking the final position. */
.reviews-track.is-tweening {
  scroll-snap-type: none;
}

.review {
  flex: 0 0 auto;
  /* Card fills the pre-computed width — same value used for the
     gutter arithmetic above, so the card centres exactly. */
  width: var(--rev-card-w);
  max-width: 780px;
  margin: 0;
  padding: clamp(40px, 5vh, 72px) clamp(32px, 5vw, 64px) clamp(32px, 4vh, 56px);
  background: var(--paper);
  border: 1px solid var(--ink-12);
  /* Centered snap — card stops at viewport centre. */
  scroll-snap-align: center;
  display: flex;
  flex-direction: column;
  gap: 32px;
  position: relative;
  /* Long, cinematic transitions so the card "wakes up" as it centers. */
  transition:
    transform 900ms var(--ease-inout),
    opacity 900ms var(--ease-inout),
    border-color 900ms var(--ease-out),
    box-shadow 900ms var(--ease-out);
  will-change: transform, opacity;
}
.review:hover {
  transform: translateY(-4px);
  border-color: var(--ink);
}
.rev-quote {
  position: absolute;
  top: 12px;
  left: 28px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 120px;
  line-height: 1;
  color: var(--mark);
  opacity: 0.2;
  pointer-events: none;
}
.rev-body {
  margin: 0;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(20px, 1.8vw, 26px);
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.rev-cite {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 22px;
  border-top: 1px solid var(--ink-12);
}
.rev-cite-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.rev-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--tone-a);
  color: var(--ink);
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 22px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  letter-spacing: -0.02em;
  padding-bottom: 2px;
  user-select: none;
}
.rev-avatar[data-tone="a"] { background: var(--tone-a); }
.rev-avatar[data-tone="b"] { background: var(--tone-b); }
.rev-avatar[data-tone="c"] { background: var(--tone-c); }
.rev-name {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.rev-role {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--ink-60);
}
.rev-num {
  position: absolute;
  top: 32px;
  right: 32px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--ink-45);
}

.reviews-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--ink-12);
}
.reviews-count {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--ink);
}
.reviews-count [data-rev-total] { color: var(--ink-45); }
.reviews-count-sep { margin: 0 4px; color: var(--ink-45); }

.reviews-buttons {
  display: flex;
  gap: 10px;
}
.rev-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid var(--ink-25);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--dur-fast), color var(--dur-fast), border-color var(--dur-fast), transform var(--dur-fast);
}
.rev-btn:hover {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
  transform: translateY(-2px);
}
.rev-btn:focus-visible {
  outline: 2px solid var(--mark);
  outline-offset: 3px;
}
.rev-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  transform: none;
}


/* ─────────────────────────────────────────────────────────────
   16b · CUSTOM CURSOR (dot + label)
   A fine-pointer-only enhancement. The default cursor is hidden
   via body.has-cursor; the dot follows the real pointer with a
   short lerp, the label appears on [data-label] targets.
   ───────────────────────────────────────────────────────────── */

.cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 80;
  pointer-events: none;
  display: none;
  width: 0;
  height: 0;
  mix-blend-mode: difference;
  transition: opacity var(--dur-fast) var(--ease-out);
}
body.has-cursor .cursor { display: block; }
body.has-cursor,
body.has-cursor a,
body.has-cursor button,
body.has-cursor summary,
body.has-cursor [data-magnetic],
body.has-cursor [data-label],
body.has-cursor .rev-btn,
body.has-cursor .nav-toggle { cursor: none; }

.cursor.is-hidden { opacity: 0; }

.cursor-dot {
  position: absolute;
  top: 0; left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ffffff;     /* white + mix-blend-mode: difference on parent
                              gives near-black on light bg, near-white on dark bg */
  transform: translate(-50%, -50%);
  transition:
    width var(--dur-med) var(--ease-out),
    height var(--dur-med) var(--ease-out),
    background var(--dur-fast) var(--ease-out);
}
.cursor.is-active .cursor-dot {
  width: 84px;
  height: 84px;
  background: #ffffff;
}

.cursor-label {
  position: absolute;
  top: 0; left: 0;
  transform: translate(-50%, -50%) scale(0.7);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #000000;          /* inside difference: renders as the inverse */
  white-space: nowrap;
  opacity: 0;
  transition:
    opacity var(--dur-fast) var(--ease-out),
    transform var(--dur-med) var(--ease-out);
  pointer-events: none;
}
.cursor.is-active .cursor-label {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}


/* ─────────────────────────────────────────────────────────────
   08a · HERO SPOTLIGHT
   A radial gradient follows the pointer and lifts the title
   mask slightly toward the accent. The CSS vars are set in JS.
   ───────────────────────────────────────────────────────────── */

.hero-title[data-spotlight] {
  --mx: 50%;
  --my: 50%;
  --active: 0;
  position: relative;
  background-image:
    radial-gradient(
      circle at var(--mx) var(--my),
      var(--mark) 0,
      var(--mark) 80px,
      var(--ink) 320px
    );
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  transition: background-position var(--dur-fast) var(--ease-out);
}
.hero-title[data-spotlight] em {
  -webkit-text-fill-color: transparent;
  background: inherit;
  background-clip: text;
  -webkit-background-clip: text;
}
.hero-title[data-spotlight] .mark {
  -webkit-text-fill-color: var(--mark);
  background: none;
  color: var(--mark);
}
@media (hover: none), (pointer: coarse) {
  .hero-title[data-spotlight] {
    background: none;
    -webkit-text-fill-color: var(--ink);
    color: var(--ink);
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-title[data-spotlight] {
    background: none;
    -webkit-text-fill-color: var(--ink);
    color: var(--ink);
  }
}


/* ─────────────────────────────────────────────────────────────
   10b · SERVICES PREVIEW (SVG on hover)
   ───────────────────────────────────────────────────────────── */

.svc-link {
  grid-template-columns: 64px minmax(240px, 1fr) minmax(0, 1.3fr) 180px 240px 32px;
}
.svc-preview {
  display: block;
  width: 180px;
  height: 72px;
  color: var(--ink);
  opacity: 0;
  transform: translateX(-12px);
  transition:
    opacity 500ms var(--ease-out),
    transform 600ms var(--ease-out),
    color var(--dur-med) var(--ease-out);
  pointer-events: none;
}
.svc-preview svg { width: 100%; height: 100%; }
.svc-row:hover .svc-preview,
.svc-row:focus-within .svc-preview {
  opacity: 1;
  transform: translateX(0);
  color: var(--paper);
  transition-delay: 120ms;
}


/* ─────────────────────────────────────────────────────────────
   11b · PROCESS TIMELINE
   Two-column layout: left rail with dot that tracks scroll;
   right column with four steps. Step .is-active lights up.
   ───────────────────────────────────────────────────────────── */

/* Process — full-bleed, big, long. Each of the four steps fills almost a
   viewport in height. Numbers are display-size italic serif. Titles are
   editorial display. Rail and dot retained and still driven by JS. */
.process-lede {
  max-width: 72ch;
  margin: 0 0 clamp(64px, 10vh, 120px);
  font-size: clamp(20px, 1.7vw, 26px);
  line-height: 1.55;
  color: var(--ink-80);
  letter-spacing: -0.005em;
}
.process-lede em {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--ink);
}

.process-stage {
  position: relative;
  display: grid;
  grid-template-columns: clamp(40px, 5vw, 88px) 1fr;
  gap: clamp(28px, 3.5vw, 64px);
  padding-block: clamp(8px, 1vh, 16px);
}

.process-rail {
  position: relative;
  width: 2px;
  justify-self: center;
  align-self: stretch;
}
.process-rail-line {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 100%;
  background: linear-gradient(to bottom,
    rgba(15, 15, 14, 0.08) 0%,
    var(--ink-25) 8%,
    var(--ink-25) 92%,
    rgba(15, 15, 14, 0.08) 100%);
}
.process-rail-dot {
  position: absolute;
  top: 0;
  left: 50%;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--mark);
  transform: translate3d(-50%, 0, 0);
  will-change: transform;
  box-shadow:
    0 0 0 7px rgba(204, 120, 92, 0.12),
    0 0 0 16px rgba(204, 120, 92, 0.05);
}
.process-rail-dot::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: var(--paper-deep);
}

.process-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Each pstep owns a near-full-viewport of space. Large typography,
   generous rhythm, explicit grid for number + copy columns. */
.pstep {
  position: relative;
  display: grid;
  grid-template-columns: minmax(180px, 22%) 1fr;
  column-gap: clamp(32px, 4.5vw, 80px);
  row-gap: clamp(20px, 2.5vh, 32px);
  align-content: center;
  min-height: clamp(72vh, 88vh, 100vh);
  padding-block: clamp(72px, 12vh, 140px);
  border-top: 1px solid var(--ink-12);
  opacity: 0.55;
  transition:
    opacity var(--dur-slow) var(--ease-out),
    transform var(--dur-slow) var(--ease-out);
}
.pstep:first-child {
  border-top: none;
  padding-top: clamp(40px, 6vh, 80px);
}
.pstep.is-active { opacity: 1; }

/* Flatten the head wrapper so number, title, duration become direct
   grid children of .pstep. */
.pstep-head { display: contents; }

.pstep-n {
  grid-column: 1;
  grid-row: 1 / span 3;
  align-self: start;
  justify-self: start;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(140px, 16vw, 260px);
  line-height: 0.82;
  letter-spacing: -0.04em;
  color: var(--ink-25);
  transition: color var(--dur-slow) var(--ease-out);
}
.pstep.is-active .pstep-n { color: var(--mark); }

.pstep-t {
  grid-column: 2;
  grid-row: 1;
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: clamp(40px, 5.4vw, 96px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--ink);
  text-wrap: balance;
  max-width: 20ch;
}
.pstep-t em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--mark);
}

.pstep-dur {
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
  align-self: start;
  font-family: var(--font-mono);
  font-size: clamp(11px, 0.85vw, 13px);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-60);
  white-space: nowrap;
  padding: 8px 14px;
  border: 1px solid var(--ink-12);
  border-radius: 999px;
  background: var(--paper);
}

.pstep-p {
  grid-column: 2;
  grid-row: 2;
  margin: clamp(16px, 2vh, 28px) 0 0;
  max-width: 62ch;
  font-size: clamp(19px, 1.55vw, 26px);
  line-height: 1.5;
  color: var(--ink-80);
  letter-spacing: -0.008em;
}
.pstep-p em {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--ink);
}
.pstep-list {
  grid-column: 2;
  grid-row: 3;
  display: flex;
  flex-direction: column;
  gap: clamp(12px, 1.4vh, 18px);
  max-width: 70ch;
  margin-top: clamp(12px, 1.8vh, 24px);
  padding-top: clamp(20px, 2.4vh, 32px);
  border-top: 1px solid var(--ink-12);
}
.pstep-list li {
  position: relative;
  padding-left: 28px;
  font-size: clamp(15px, 1.1vw, 18px);
  line-height: 1.5;
  color: var(--ink-60);
}
.pstep-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 16px;
  height: 1px;
  background: var(--mark);
}

/* Mobile: stack, bigger-but-bounded numbers, no sticky columns. */
@media (max-width: 780px) {
  .process-stage {
    grid-template-columns: 2px 1fr;
    gap: clamp(16px, 4vw, 28px);
  }
  .pstep {
    grid-template-columns: 1fr;
    column-gap: 0;
    row-gap: 18px;
    min-height: auto;
    padding-block: clamp(52px, 9vh, 96px);
  }
  .pstep-n {
    grid-column: 1;
    grid-row: auto;
    font-size: clamp(88px, 26vw, 160px);
    line-height: 0.85;
  }
  .pstep-t {
    grid-column: 1;
    grid-row: auto;
    font-size: clamp(32px, 8.2vw, 52px);
    max-width: none;
  }
  .pstep-dur {
    grid-column: 1;
    grid-row: auto;
    justify-self: start;
  }
  .pstep-p {
    grid-column: 1;
    grid-row: auto;
    font-size: clamp(17px, 4.4vw, 20px);
  }
  .pstep-list {
    grid-column: 1;
    grid-row: auto;
  }
}


/* ─────────────────────────────────────────────────────────────
   11c · STAMPS — native horizontal scroll
   No pin, no scroll hijack. .stamps-wrap is a normal overflow-x
   container with scroll-snap; on desktop it's also drag-to-scroll.
   Vertical page scroll is never intercepted.
   ───────────────────────────────────────────────────────────── */

.stamps {
  background: var(--ink);
  color: var(--paper);
  margin-inline: calc(-1 * var(--gutter));
  padding-inline: var(--gutter);
  position: relative;
}
/* Base (mobile + reduced-motion fallback): native horizontal scroll,
   no pin, no scroll hijack. Desktop override below activates pin-scroll. */
.stamps-outer {
  position: relative;
  padding-block: clamp(64px, 9vh, 104px) clamp(40px, 6vh, 64px);
}
.stamps-pin {
  display: grid;
  grid-template-rows: auto auto auto;
  gap: clamp(32px, 5vh, 48px);
}

.stamps-head {
  display: grid;
  grid-template-columns: minmax(120px, 180px) 1fr;
  gap: var(--gutter);
  align-items: baseline;
  padding-bottom: clamp(32px, 4vh, 48px);
  border-bottom: 1px solid rgba(243, 239, 231, 0.14);
}
.stamps-head .sec-kicker { color: rgba(243, 239, 231, 0.5); }
.stamps-head .sec-title {
  color: var(--paper);
  max-width: 22ch;
}
.stamps-head .sec-title em { color: var(--mark); }
.stamps-lede {
  grid-column: 2;
  margin: 16px 0 0;
  max-width: 68ch;
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.6;
  color: rgba(243, 239, 231, 0.72);
}

.stamps-wrap {
  position: relative;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  cursor: grab;
  padding-block: clamp(24px, 4vh, 40px);
}
.stamps-wrap::-webkit-scrollbar { display: none; }
.stamps-wrap.is-dragging { cursor: grabbing; }
.stamps-track {
  display: flex;
  gap: clamp(20px, 2.2vw, 32px);
  padding-inline: 4px;
  width: max-content;
}
.stamp { scroll-snap-align: start; }
/* Right-edge spacer so the last card can fully scroll-snap into view */
.stamps-track::after {
  content: "";
  flex: 0 0 clamp(24px, 4vw, 56px);
}

/* Minimal card: one outer frame, logo + title + paragraph — nothing else.
   No dividers, no badges, no decorative lines. */
.stamp {
  flex: 0 0 auto;
  width: clamp(300px, 30vw, 380px);
  min-height: clamp(360px, 48vh, 440px);
  padding: 36px 32px 32px;
  background: transparent;
  border: 1px solid rgba(243, 239, 231, 0.24);
  color: var(--paper);
  display: flex;
  flex-direction: column;
  gap: 28px;
  position: relative;
  isolation: isolate;
  overflow: visible;
  transition:
    transform 520ms var(--ease-inout),
    border-color 420ms var(--ease-out),
    background 420ms var(--ease-out);
}

.stamp:hover {
  border-color: var(--mark);
  transform: translateY(-4px);
  background: rgba(204, 120, 92, 0.06);
}
.stamp:hover .stamp-t { color: var(--mark); }
.stamp:hover .stamp-logo { color: var(--mark); opacity: 1; }

.stamp-logo {
  width: 56px;
  height: 56px;
  color: var(--paper);
  opacity: 0.9;
  transition:
    color var(--dur-med) var(--ease-out),
    opacity var(--dur-med) var(--ease-out),
    transform var(--dur-med) var(--ease-out);
}
.stamp-logo svg { width: 100%; height: 100%; display: block; }
.stamp:hover .stamp-logo { transform: scale(1.06); opacity: 1; }

.stamp-t {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: clamp(26px, 2.6vw, 34px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--paper);
  transition: color var(--dur-med) var(--ease-out);
}
.stamp-p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(243, 239, 231, 0.78);
}

.stamps-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding-top: clamp(20px, 3vh, 32px);
  border-top: 1px solid rgba(243, 239, 231, 0.14);
}
.stamps-hint {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(243, 239, 231, 0.5);
}
.stamps-hint-line {
  display: inline-block;
  width: 32px;
  height: 1px;
  background: var(--mark);
}
.stamps-counter {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--paper);
}

/* Track edge padding so first/last cards can align to viewport edge */
.stamps-track { padding-inline: var(--gutter); }

/* ─────────────────────────────────────────────────────────────
   11c-desktop · STAMPS PIN-SCROLL (desktop only)
   Vertical wheel drives horizontal translation of the track.
   The outer's height is set by JS to exactly match the overflow
   distance, so entry/exit are precise — no dead zones, no extra
   vertical scroll wasted. Page scroll resumes naturally once the
   track reaches its end.
   ───────────────────────────────────────────────────────────── */
@media (hover: hover) and (pointer: fine) and (min-width: 900px) {
  .stamps-outer.is-pinned {
    padding-block: 0;
    /* height inline-styled by JS to pinZone + 100vh */
  }
  .stamps-outer.is-pinned .stamps-pin {
    position: sticky;
    top: 0;
    height: 100vh;
    grid-template-rows: auto 1fr auto;
    gap: clamp(20px, 3vh, 36px);
    padding-block: clamp(56px, 7vh, 88px) clamp(24px, 3vh, 40px);
    box-sizing: border-box;
  }
  .stamps-outer.is-pinned .stamps-head {
    padding-bottom: clamp(20px, 3vh, 32px);
  }
  .stamps-outer.is-pinned .stamps-wrap {
    overflow: hidden;
    cursor: auto;
    scroll-snap-type: none;
    padding-block: 0;
    align-self: center;
  }
  .stamps-outer.is-pinned .stamps-wrap::-webkit-scrollbar { display: none; }
  .stamps-outer.is-pinned .stamps-track {
    will-change: transform;
    padding-inline: var(--gutter);
  }
  .stamps-outer.is-pinned .stamps-track::after { flex-basis: var(--gutter); }
}
@media (prefers-reduced-motion: reduce) {
  .stamps-outer.is-pinned { padding-block: clamp(64px, 9vh, 104px) clamp(40px, 6vh, 64px) !important; height: auto !important; }
  .stamps-outer.is-pinned .stamps-pin { position: static; height: auto; grid-template-rows: auto auto auto; padding-block: 0; }
  .stamps-outer.is-pinned .stamps-wrap { overflow-x: auto; scroll-snap-type: x mandatory; cursor: grab; padding-block: clamp(24px, 4vh, 40px); }
  .stamps-outer.is-pinned .stamps-track { transform: none !important; }
}


/* ─────────────────────────────────────────────────────────────
   12b · WORK FILTER (animated tab switch)
   ───────────────────────────────────────────────────────────── */

.work-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 clamp(40px, 6vh, 64px);
  padding: 8px;
  background: var(--paper-deep);
  border: 1px solid var(--ink-12);
  border-radius: 999px;
  width: fit-content;
  max-width: 100%;
}
.work-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px 10px 14px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
  background: transparent;
  color: var(--ink-60);
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  transition:
    background var(--dur-fast) var(--ease-out),
    color var(--dur-fast) var(--ease-out),
    border-color var(--dur-fast) var(--ease-out),
    transform var(--dur-fast) var(--ease-out);
  will-change: transform;
}
.work-filter-btn:hover { color: var(--ink); transform: translateY(-1px); }
.work-filter-btn.is-active {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.work-filter-btn.is-active .wfb-n { color: var(--mark); }
.work-filter-btn:focus-visible {
  outline: 2px solid var(--mark);
  outline-offset: 3px;
}
.wfb-n {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--ink-45);
  transition: color var(--dur-fast) var(--ease-out);
}

/* Animate cases in on filter change */
.case.is-out { display: none; }
.case.is-in {
  animation: case-in 540ms var(--ease-out) both;
}
@keyframes case-in {
  from { opacity: 0; transform: scale(0.96) translateY(12px); }
  to   { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .case.is-in { animation: none; }
}


/* ─────────────────────────────────────────────────────────────
   13b · PRICING — dark 3D hover
   Parent gets perspective so the tilt reads as depth, not a flat
   transform. Card inverts to ink + accent border.
   ───────────────────────────────────────────────────────────── */

.pricing-grid { perspective: 1400px; }
.price-card {
  transform-style: preserve-3d;
  transition:
    background var(--dur-med) var(--ease-out),
    color var(--dur-med) var(--ease-out),
    border-color var(--dur-med) var(--ease-out),
    transform 620ms var(--ease-inout),
    box-shadow var(--dur-med) var(--ease-out);
}
.price-card:hover {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--mark);
  transform: translateY(-8px) rotateY(-4deg) rotateX(2deg);
  box-shadow: 0 40px 60px -30px rgba(17, 16, 16, 0.45);
}
.price-card:hover .price-kicker { color: var(--mark); }
.price-card:hover .price-body { color: var(--paper); }
.price-card .price-body {
  transition: color var(--dur-med) var(--ease-out);
}
.price-card .price-kicker {
  transition: color var(--dur-med) var(--ease-out);
}


/* ─────────────────────────────────────────────────────────────
   05b · CTA BUTTON GLOW + ICON WOBBLE
   ───────────────────────────────────────────────────────────── */

.btn-primary {
  position: relative;
}
.btn-primary:hover {
  box-shadow:
    0 24px 48px -16px rgba(204, 120, 92, 0.55),
    0 0 0 1px rgba(204, 120, 92, 0.2);
  transform: translateY(-2px);
}
.btn-primary:hover svg {
  animation: btn-wobble 720ms var(--ease-inout);
}
@keyframes btn-wobble {
  0%   { transform: translateX(0); }
  30%  { transform: translateX(5px) rotate(-6deg); }
  55%  { transform: translateX(2px) rotate(3deg); }
  80%  { transform: translateX(4px) rotate(-2deg); }
  100% { transform: translateX(3px); }
}
@media (prefers-reduced-motion: reduce) {
  .btn-primary:hover svg { animation: none; }
}


/* ─────────────────────────────────────────────────────────────
   17 · RESPONSIVE
   ───────────────────────────────────────────────────────────── */

/* Anti-overflow safety across the board */
.hero-title,
.sec-title,
.studio-title,
.cta-title,
.rev-body,
.svc-title,
.case-t,
.step-t,
.faq-q,
.price-body,
.foot-wordmark {
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: auto;
}

@media (max-width: 1180px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: start;
  }
  .hero-side { max-width: 420px; }

  .studio-grid { grid-template-columns: 1fr; gap: 40px; }
  .studio-head { position: static; }
  .values { grid-column: 1; grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1024px) {
  .nav { display: none; }
  .nav-toggle { display: inline-flex; }

  .proof-grid { grid-template-columns: repeat(2, 1fr); }

  .svc-link {
    grid-template-columns: 48px 1fr 200px 24px;
    grid-template-rows: auto auto;
    gap: 12px 24px;
  }
  .svc-desc { grid-column: 2 / span 2; }
  .svc-preview { display: none; }
  .svc-arrow { grid-row: 1 / span 2; align-self: center; }

  .steps { grid-template-columns: repeat(2, 1fr); }

  .pricing-grid { grid-template-columns: 1fr; gap: 20px; }
  .price-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 40px -20px rgba(17, 16, 16, 0.3);
  }

  .work-grid { grid-template-columns: 1fr; }

  .foot-grid { grid-template-columns: repeat(2, 1fr); }

  .svc-extras { grid-template-columns: 1fr; gap: 28px; }

  /* Process on tablet */
  .process-stage { grid-template-columns: 64px 1fr; gap: 32px; }

  /* Stamps header */
  .stamps-head {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .stamps-lede { grid-column: 1; }
}

@media (max-width: 760px) {
  .review { padding: 36px 28px 28px; gap: 24px; }
  .rev-quote { font-size: 90px; left: 20px; }
  .rev-num { top: 24px; right: 24px; }
  .rev-avatar { width: 38px; height: 38px; font-size: 19px; }

  .marquee { padding: 18px 0; }
  .marquee-item { font-size: clamp(22px, 7vw, 36px); }
  .marquee-track { animation-duration: 36s; gap: 28px; }

  .mobile-nav-foot { grid-template-columns: 1fr; gap: 20px; }
}

@media (max-width: 900px) {
  /* Process compact rail */
  .process-stage { grid-template-columns: 40px 1fr; gap: 20px; }
  .process-rail-dot { width: 14px; height: 14px; }

  /* Hero spotlight is a touch-device no-op already, but ensure */
  .hero-title[data-spotlight] {
    background: none;
    -webkit-text-fill-color: var(--ink);
    color: var(--ink);
  }
}

@media (max-width: 640px) {
  :root { --gutter: 20px; }

  .header-row { gap: 12px; }
  .header-meta .status { display: none; }
  .btn-small { padding: 9px 13px; font-size: 12px; }
  .brand-mark { font-size: 17px; }

  .sec-head {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .hero { padding-top: 40px; padding-bottom: 40px; min-height: auto; }
  .hero-title { font-size: clamp(38px, 12vw, 62px); line-height: 1.0; letter-spacing: -0.03em; }
  .hero-lede { font-size: 16px; }
  .hero-side { margin-top: 12px; }

  .proof-grid { grid-template-columns: 1fr; gap: 0; }
  .stat { padding: 18px 0; border-top: 1px solid var(--ink-12); }
  .stat-n { font-size: clamp(42px, 16vw, 64px); }

  .studio-title { font-size: clamp(24px, 7.5vw, 34px); }
  .studio-body p { font-size: 15px; }
  .values { grid-template-columns: 1fr; gap: 18px; }

  .svc-link {
    grid-template-columns: 36px 1fr;
    grid-template-rows: auto auto auto;
    gap: 6px 14px;
    padding: 22px 0;
  }
  .svc-row:hover .svc-link { padding-left: 10px; padding-right: 10px; }
  .svc-title { font-size: clamp(22px, 6.8vw, 30px); }
  .svc-desc { grid-column: 1 / -1; font-size: 14px; }
  .svc-meta {
    grid-column: 1 / -1;
    flex-direction: row;
    justify-content: space-between;
    align-items: baseline;
    text-align: left;
    flex-wrap: wrap;
    gap: 4px 16px;
  }
  .svc-price { font-size: 16px; }
  .svc-price em { font-size: 18px; }
  .svc-time { font-size: 11px; }
  .svc-arrow { display: none; }

  .svc-extras { margin-top: 40px; padding-top: 28px; }

  .steps { grid-template-columns: 1fr; gap: 36px; }
  .step-n { font-size: clamp(52px, 16vw, 76px); }

  /* Process steps: compact, tighter header */
  .pstep-head {
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    gap: 8px 14px;
  }
  .pstep-dur {
    grid-column: 2;
    justify-self: start;
    font-size: 10px;
    padding: 5px 8px;
  }
  .pstep-t { font-size: clamp(22px, 6.5vw, 28px); }

  /* Work filter: tighter padding */
  .work-filter {
    padding: 6px;
    gap: 4px;
    overflow-x: auto;
    flex-wrap: nowrap;
    scrollbar-width: none;
    max-width: 100%;
  }
  .work-filter::-webkit-scrollbar { display: none; }
  .work-filter-btn {
    padding: 8px 14px 8px 10px;
    font-size: 13px;
    white-space: nowrap;
    flex: none;
  }

  /* Stamps */
  .stamp { width: 82vw; min-height: 320px; }

  .work-grid { gap: 36px; }
  .case-t { font-size: clamp(20px, 6vw, 26px); }

  .price-card { padding: 28px 22px; }
  .price-body { font-size: 18px; }

  .faq-q { font-size: 16px; line-height: 1.35; }
  .faq-a p { font-size: 15px; }

  .foot-grid { grid-template-columns: 1fr; gap: 28px; }
  .foot-base { flex-direction: column; gap: 8px; }
  .foot-wordmark { font-size: clamp(56px, 22vw, 92px); letter-spacing: -0.02em; }

  .cta-title {
    font-size: clamp(52px, 18vw, 84px);
    line-height: 0.95;
  }
  .cta-lede { font-size: 15px; }
  .cta-actions .btn { flex: 1 1 140px; justify-content: center; }

  .reviews { padding-left: 20px; padding-right: 20px; margin-inline: -20px; }
  .review { padding: 28px 22px 24px; gap: 20px; }
  .rev-body { font-size: 17px; }
  .rev-quote { font-size: 70px; left: 16px; top: 4px; }
  .rev-num { top: 20px; right: 18px; font-size: 11px; }
  .rev-avatar { width: 34px; height: 34px; font-size: 17px; }

  .reviews-nav { flex-direction: row; gap: 16px; }
  .rev-btn { width: 42px; height: 42px; }

  .marquee { padding: 14px 0; }
  .marquee-item { font-size: clamp(20px, 6.4vw, 30px); }
  .marquee-dot { font-size: 11px; }
  .marquee-track { animation-duration: 28s; gap: 22px; }

  .mobile-nav { padding-top: 24px; }
  .mobile-nav nav a { font-size: clamp(34px, 10vw, 48px); gap: 16px; }
  .mobile-nav nav a::after { font-size: 18px; }
}


/* ─────────────────────────────────────────────────────────────
   17.5 · MOBILE TYPOGRAPHY GUARDS
   No hyphens, no mid-word breaks, clean wrapping everywhere.
   User requirement: "весь текст был виден без всяких тире и переносов".
   ───────────────────────────────────────────────────────────── */

html { hyphens: none; -webkit-hyphens: none; }
h1, h2, h3, h4, h5, h6,
p, li, dd, dt, span, a, blockquote, summary, strong, em {
  hyphens: none;
  -webkit-hyphens: none;
  word-break: normal;
  overflow-wrap: break-word;
}
/* Never allow the big display copy to hyphenate or break mid-word. */
.hero-title,
.sec-title,
.studio-title,
.cta-title,
.pstep-t,
.svc-title,
.stamp-t,
.case-t {
  hyphens: none !important;
  -webkit-hyphens: none !important;
  word-break: keep-all;
  overflow-wrap: normal;
  text-wrap: balance;
}

@media (max-width: 760px) {
  body { font-size: 16px; line-height: 1.58; }

  .hero-title { text-wrap: balance; }
  .sec-title { text-wrap: balance; }
  .hero-lede { font-size: 17px; line-height: 1.55; }
  .studio-body p { font-size: 16px; line-height: 1.6; }
  .process-lede { font-size: 17px; line-height: 1.55; }
  .stamps-lede { font-size: 17px; line-height: 1.55; }
  .pstep-p { font-size: 16px; line-height: 1.6; }
  .pstep-list { font-size: 15px; line-height: 1.5; }

  .val-p { font-size: 15px; line-height: 1.5; }
  .svc-desc { font-size: 15px; line-height: 1.5; }
  .case-p { font-size: 15px; line-height: 1.5; }

  /* Reviews on mobile — slightly bigger body text for legibility. */
  .rev-body { font-size: 19px; line-height: 1.4; }
  .rev-name { font-size: 15px; }
  .rev-role { font-size: 12px; }

  /* Stamps — give the description room to breathe. */
  .stamp-p { font-size: 15px; line-height: 1.55; }
  .stamp-t { font-size: clamp(24px, 6vw, 30px); }

  /* FAQ mobile sizes. */
  .faq-q { font-size: 16px; line-height: 1.4; }
  .faq-a p { font-size: 15px; line-height: 1.6; }
}

@media (max-width: 480px) {
  body { font-size: 16px; }
  .hero-title { font-size: clamp(36px, 11vw, 56px); line-height: 1.02; letter-spacing: -0.025em; }
  .sec-title { font-size: clamp(26px, 8vw, 38px); line-height: 1.08; }
  .studio-title { font-size: clamp(22px, 7vw, 30px); line-height: 1.15; }
  .cta-title { font-size: clamp(44px, 16vw, 68px); }

  /* Every text block gets natural wrapping — nothing overflows. */
  .hero, .studio, .services, .process,
  .work, .reviews, .pricing, .faq, .cta {
    overflow: hidden;
  }
}


/* ─────────────────────────────────────────────────────────────
   18 · A11Y & FINE TUNING
   ───────────────────────────────────────────────────────────── */

a:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--mark);
  outline-offset: 3px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .status-dot,
  .eyebrow .dot,
  .cta-title em::after { animation: none; }
}


/* ════════════════════════════════════════════════════════════════
   v210 — GLITCH FIX PASS (общая стабилизация)
   Бьёт по типичным источникам визуальных артефактов:
   horizontal overflow, splash sticking, jank от backdrop-filter,
   зависшие reveal-анимации, cursor follower на тач-устройствах.
   ════════════════════════════════════════════════════════════════ */

/* 1. Никакого горизонтального скролла */
html, body {
  overflow-x: hidden !important;
  max-width: 100vw !important;
  overscroll-behavior-x: none !important;
}
* { max-width: 100% !important; }
img, svg, video, iframe, canvas { max-width: 100% !important; height: auto; }

/* 2. GPU-ускорение для движущихся декораций */
.orb, .grain, .splash, .splash-overlay, .marquee-track,
.cursor, .cursor-ring, .cursor-dot, .splash-video,
.bg-orbs, .bg-orbs .orb {
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

/* 3. Cursor follower — только на десктопе */
@media (pointer: coarse), (hover: none) {
  .cursor, [data-cursor], .cursor-label { display: none !important; }
}

/* 4. Облегчаем мобилу: backdrop-filter + тяжёлые blur жрут FPS */
@media (max-width: 720px) {
  .hdr, .site-header, .appbar, .header-row,
  .modal-shade, .drawer-shade {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
  .orb, .bg-orbs .orb { filter: blur(40px) !important; opacity: 0.32 !important; }
  .grain { opacity: 0.025 !important; }
  /* Pause infinite animations on mobile, чтобы не нагружать батарею */
  .splash-text, .splash-dot, .pulse, .hdr-status-dot {
    animation-duration: 2.4s !important;
  }
}

/* 5. Splash overlay — bullet-proof dismiss
   Если JS не успел/упал — через 3.5 сек сам исчезает анимацией */
.splash, .splash-overlay {
  pointer-events: auto;
  animation: splashAutoHide 3.5s linear forwards;
}
.splash.is-gone, .splash-overlay.is-gone {
  animation: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}
@keyframes splashAutoHide {
  0%, 92% { opacity: 1; }
  100% { opacity: 0; visibility: hidden; pointer-events: none; }
}

/* 6. Reveal-анимации — fallback если IntersectionObserver не сработал */
[data-reveal]:not(.is-in) {
  animation: revealAutoShow 0.4s ease-out 1.8s forwards;
}
.reveal:not(.is-in) {
  animation: revealAutoShow 0.4s ease-out 1.8s forwards;
}
@keyframes revealAutoShow {
  to { opacity: 1; transform: none; }
}

/* 7. Шрифты swap чтобы не было FOIT */
@font-face { font-display: swap !important; }

/* 8. Модалка/drawer не должна сдвигать контент при открытии */
html { scrollbar-gutter: stable; }

/* 9. prefers-reduced-motion — выключить всю движуху */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01s !important;
  }
  .splash, .splash-overlay, .orb, .grain, .cursor { display: none !important; }
}

/* 10. Убрать тап-флэш на мобилках */
* { -webkit-tap-highlight-color: transparent !important; }

/* 11. Marquee — bullet-proof loop, без визуальных скачков */
.marquee-track, .marquee { will-change: transform; }
.marquee-track { animation-fill-mode: both !important; }

/* 12. Iframe внутри редактора (canvas-frame) — не должен ломать layout */
.canvas-frame, iframe {
  border: 0;
  display: block;
}


/* ════════════════════════════════════════════════════════════════
   v220 — BOLD WORDMARK RESTORE
   Возвращаем «жирный» логотип dev. — раньше он рендерился толстым,
   потом прочистка CSS уронила вес шрифта до 500. Принудительно
   тянем 900 на всех уровнях, чтобы восстановить ту самую «жирную»
   массу букв в шапке и футере.
   ════════════════════════════════════════════════════════════════ */
.brand,
.brand .brand-mark,
.brand-mark,
a.brand,
.site-header .brand,
.site-header .brand-mark {
  font-weight: 900 !important;
  font-stretch: 110% !important;
  letter-spacing: -0.045em !important;
  -webkit-font-smoothing: antialiased;
}
.brand .brand-mark { font-size: 22px !important; }
.brand em,
.brand .brand-mark em,
.brand-mark em {
  font-weight: 900 !important;
  font-style: italic;
  font-size: 1.15em !important;
  transform: translateY(2px);
}

/* Footer wordmark — тоже жирная масса */
.foot-wordmark,
.footer-wordmark,
.foot-mark {
  font-weight: 900 !important;
  letter-spacing: -0.04em !important;
}

/* SVG-логотип (если используется второй вариант) — поднимаем до 900 */
.brand-svg-text {
  font-weight: 900 !important;
  font-stretch: 110% !important;
  letter-spacing: -0.05em !important;
}


/* ════════════════════════════════════════════════════════════════
   v230 — GLITCH FIX RELAX (откат перебора v210/v220)
   ════════════════════════════════════════════════════════════════ */
*:not(img):not(svg):not(video):not(iframe):not(canvas):not(picture):not(embed):not(object) {
  max-width: none !important;
}
html, body { max-width: 100vw !important; }
.brand-svg-text, svg text { font-stretch: normal !important; }

.grid, .flex, .row, .col,
[class*="grid-"], [class*="flex-"],
.hero, .hero-row, .hero-grid,
.cards, .card, .card-grid,
.section, .container, .wrap,
.feature-grid, .stat-grid, .pricing-grid,
.steps, .pstep,
.toolbar, .menu, .drawer, .sidebar,
.foot-grid, .foot-base, .marquee, .marquee-track {
  max-width: none !important;
  min-width: 0;
}

input, textarea, select, button { max-width: none !important; min-width: 0; }

@media (max-width: 480px) {
  .brand, .brand-mark, .brand-svg-text { letter-spacing: -0.03em !important; }
}


/* ════════════════════════════════════════════════════════════════
   v240 — REVERTED (см. app.css v240 комментарий).
   ════════════════════════════════════════════════════════════════ */
.orb, .bg-orbs, .bg-orbs *, .grain, .noise, .grid-bg, .bg-grid,
.cursor, .cursor-dot, .cursor-ring, .cursor-label, [data-cursor],
.scroll-progress, .scroll-progress-bar,
.particles, .particle, .ray, .rays, .beam {
  display: none !important;
}
* {
  -webkit-tap-highlight-color: transparent !important;
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
}

/* ════════════════════════════════════════════════════════════════
   v241 — RESTORE NATIVE CURSOR
   The custom cursor dot is disabled (display:none above), but the
   has-cursor rules still set `cursor:none` on the page → no cursor at
   all on desktop. Force the real pointer back everywhere.
   ════════════════════════════════════════════════════════════════ */
html, body,
body.has-cursor,
body.has-cursor a,
body.has-cursor button,
body.has-cursor summary,
body.has-cursor [data-magnetic],
body.has-cursor [data-label],
body.has-cursor .rev-btn,
body.has-cursor .nav-toggle { cursor: auto !important; }

a, button, summary, label[for], [role="button"],
.btn, .nav-toggle, .rev-btn, [data-magnetic], [data-label],
details summary, .faq-item summary { cursor: pointer !important; }

input, textarea, [contenteditable="true"] { cursor: text !important; }
select { cursor: pointer !important; }
[disabled], .is-disabled { cursor: not-allowed !important; }

/* ════════════════════════════════════════════════════════════════
   v242 — KILL HERO SPOTLIGHT (text was invisible + scroll glitch)
   data-spotlight painted the title with a transparent text-clipped
   radial gradient → the emphasised <em> ("стать.") rendered invisible
   at the default centre state, and the clipped-gradient + transition
   repainted on scroll (the "глитч при листании"). Make the title a
   plain SOLID heading — always visible, zero repaint, no JS.
   ════════════════════════════════════════════════════════════════ */
.hero-title[data-spotlight],
.hero-title[data-spotlight] em,
.hero-title[data-spotlight] .mark,
.hero-title[data-spotlight] .line {
  background: none !important;
  background-image: none !important;
  -webkit-background-clip: border-box !important;
  background-clip: border-box !important;
  transition: none !important;
}
.hero-title[data-spotlight] {
  color: var(--ink) !important;
  -webkit-text-fill-color: var(--ink) !important;
}
.hero-title[data-spotlight] em,
.hero-title[data-spotlight] .mark {
  color: var(--mark) !important;
  -webkit-text-fill-color: var(--mark) !important;
}