/* =========================================================
   Pairbuilt — v2 (editorial studio)
   ========================================================= */

/* ============ TOKENS ============ */
:root {
  --bg: #F3F0E8;
  --bg-2: #EAE6DB;
  --surface: #FAF8F3;
  --ink: #121211;
  --ink-2: #3B3A36;
  --muted: #6F6B62;
  --line: #D6D0C2;
  --accent: #8C94FF;
  --accent-ink: #0E0E10;
  --accent-soft: rgba(140, 148, 255, 0.2);
  --accent-text: #555DE0; /* deeper shade of the purple, readable as text on cream */
  --hot: #E8501C;
  --ok: #13894D;
  --ok-bg: rgba(31, 184, 106, 0.14);
  --warn: #9A6200;
  --warn-bg: rgba(255, 170, 0, 0.18);

  --sans: "Inter Tight", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --mono: "DM Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --ease-io: cubic-bezier(0.7, 0, 0.2, 1);
  --pad: clamp(16px, 4vw, 48px);
  --max: 1360px;
  --gutter: max(var(--pad), calc((100vw - var(--max)) / 2 + var(--pad)));
  color-scheme: light;
}

:root[data-theme="dark"] {
  --bg: #0E0E10;
  --bg-2: #151518;
  --surface: #1A1A1E;
  --ink: #F1EEE6;
  --ink-2: #CFCAC0;
  --muted: #8F8B82;
  --line: #2B2B31;
  --accent: #8C94FF;
  --accent-ink: #0E0E10;
  --accent-soft: rgba(140, 148, 255, 0.14);
  --accent-text: #8C94FF;
  --hot: #FF7A45;
  --ok: #4ADE80;
  --ok-bg: rgba(74, 222, 128, 0.14);
  --warn: #FBBF24;
  --warn-bg: rgba(251, 191, 36, 0.14);
  color-scheme: dark;
}

/* ============ BASE ============ */
*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* paper grain */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  opacity: 0.07;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
:root[data-theme="dark"] body::after { opacity: 0.05; filter: invert(1); }

html.theme-anim,
html.theme-anim *,
html.theme-anim *::before,
html.theme-anim *::after {
  transition: background-color 0.5s var(--ease), color 0.5s var(--ease), border-color 0.5s var(--ease), fill 0.5s, stroke 0.5s !important;
}

[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
img, svg, canvas { display: block; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--pad); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip {
  position: fixed; left: 12px; top: -80px; z-index: 2000;
  background: var(--ink); color: var(--bg);
  padding: 10px 16px; border-radius: 8px; font-weight: 500;
  transition: top 0.2s;
}
.skip:focus { top: 12px; }

/* ============ TYPE ============ */
h2 {
  font-size: clamp(38px, 5.4vw, 80px);
  line-height: 0.98;
  letter-spacing: -0.045em;
  font-weight: 500;
  text-wrap: balance;
}
h2 em, h3 em, .hero-title em, .manifesto em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.015em;
}
h2 em { color: var(--accent-text); }

.tag {
  display: flex; gap: 10px;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--muted);
}
.tag b { color: var(--accent-text); font-weight: 400; }

.lede { margin-top: 24px; max-width: 560px; font-size: clamp(17px, 1.35vw, 19px); color: var(--ink-2); }

/* ============ BUTTONS & LINKS ============ */
.btn {
  --b: var(--ink); --f: var(--bg);
  --h: var(--accent); --hf: var(--accent-ink);
  position: relative;
  display: inline-flex; align-items: center; gap: 12px;
  padding: 17px 28px;
  border: 0; border-radius: 999px;
  background: var(--b); color: var(--f);
  font: 500 16px/1 var(--sans);
  letter-spacing: -0.01em;
  white-space: nowrap;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: color 0.45s var(--ease-io), transform 0.6s var(--ease);
}
.btn::before {
  content: "";
  position: absolute; inset: 0;
  background: var(--h);
  border-radius: inherit;
  transform: translateY(101%);
  transition: transform 0.5s var(--ease-io);
  z-index: -1;
}
.btn:hover, .btn:focus-visible { color: var(--hf); }
.btn:hover::before, .btn:focus-visible::before { transform: translateY(0); }
.btn:disabled { opacity: 0.6; cursor: progress; }
.btn-accent { --b: var(--accent); --f: var(--accent-ink); --h: var(--ink); --hf: var(--bg); }
.btn-light  { --b: var(--bg); --f: var(--ink); --h: var(--ink); --hf: var(--bg); }
.btn-sm { padding: 12px 20px; font-size: 14.5px; }
.arr { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.btn .arr { transform: rotate(-45deg); transition: transform 0.5s var(--ease-io); }
.btn:hover .arr { transform: rotate(0); }

.link {
  position: relative;
  display: inline-flex; align-items: center; gap: 8px;
  padding-bottom: 3px;
  font-weight: 500;
  background: none; border: 0; cursor: pointer;
}
.link::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: currentColor;
  transform-origin: right;
}
.link:hover::after { animation: underline 0.8s var(--ease-io); }
@keyframes underline {
  0% { transform: scaleX(1); transform-origin: right; }
  50% { transform: scaleX(0); transform-origin: right; }
  51% { transform: scaleX(0); transform-origin: left; }
  100% { transform: scaleX(1); transform-origin: left; }
}

/* ============ LOADER ============ */
.loader { display: none; }
html.js .loader {
  position: fixed; inset: 0; z-index: 1000;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: var(--pad);
  background: var(--ink); color: var(--bg);
  transition: transform 1s var(--ease-io);
  animation: loaderFailsafe 0s 4s forwards;
}
html.loaded .loader { transform: translateY(-100%); }
@keyframes loaderFailsafe { to { visibility: hidden; } }
.loader-top {
  display: flex; justify-content: space-between; gap: 16px;
  font: 13px var(--mono); text-transform: uppercase; letter-spacing: 0.02em;
}
.loader-count {
  align-self: flex-end;
  font-size: clamp(110px, 24vw, 340px);
  font-weight: 500;
  line-height: 0.8;
  letter-spacing: -0.06em;
  font-variant-numeric: tabular-nums;
}
.loader-count sup { font-size: 0.22em; vertical-align: top; margin-left: 0.1em; letter-spacing: 0; }

/* ============ PROGRESS & CURSOR ============ */
.progress {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: 2px; background: var(--accent);
  transform: scaleX(0); transform-origin: left;
}

.cursor { display: none; }
html.has-cursor .cursor {
  position: fixed; left: 0; top: 0; z-index: 950;
  display: grid; place-items: center;
  width: 34px; height: 34px; margin: -17px 0 0 -17px;
  border: 1px solid #fff; border-radius: 50%;
  mix-blend-mode: difference;
  pointer-events: none;
  opacity: 0;
  transition: width 0.35s var(--ease), height 0.35s var(--ease), margin 0.35s var(--ease), background-color 0.3s, border-color 0.3s, opacity 0.3s;
}
.cursor.is-hover { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: #fff; }
.cursor.is-label {
  width: 88px; height: 88px; margin: -44px 0 0 -44px;
  background: var(--accent); border-color: var(--accent);
  mix-blend-mode: normal;
}
.cursor.is-text { opacity: 0 !important; }
.cursor span { font: 12px var(--mono); text-transform: uppercase; color: var(--accent-ink); opacity: 0; transition: opacity 0.2s; }
.cursor.is-label span { opacity: 1; }

/* ============ NAV ============ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 18px var(--pad);
  border-bottom: 1px solid transparent;
  transition: transform 0.55s var(--ease), background-color 0.4s, border-color 0.4s, padding 0.4s var(--ease);
}
.nav.scrolled {
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  backdrop-filter: blur(16px) saturate(1.4);
  border-bottom-color: var(--line);
  padding-block: 12px;
}
.nav.hidden { transform: translateY(-100%); }

.brand { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 600; letter-spacing: -0.03em; white-space: nowrap; }
.mark { width: 28px; height: 28px; flex-shrink: 0; transition: transform 0.6s var(--ease); }
.mark-b { fill: var(--accent); }
.brand:hover .mark { transform: rotate(90deg); }

.nav-links {
  display: flex; gap: 2px; padding: 5px;
  border: 1px solid var(--line); border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 55%, transparent);
}
.nav-links a {
  padding: 7px 15px; border-radius: 999px;
  font-size: 14.5px; color: var(--ink-2);
  transition: background-color 0.25s, color 0.25s;
}
.nav-links a:hover { background: var(--bg-2); color: var(--ink); }
.nav-links a.active { background: var(--ink); color: var(--bg); }

.nav-right { display: flex; align-items: center; gap: 10px; }
.icon-btn {
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--line); background: transparent;
  cursor: pointer;
  transition: background-color 0.25s, transform 0.6s var(--ease);
}
.icon-btn:hover { background: var(--bg-2); transform: rotate(20deg); }
.icon-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon-sun { display: none; }
[data-theme="dark"] .icon-sun { display: block; }
[data-theme="dark"] .icon-moon { display: none; }

.menu-btn {
  display: none; position: relative;
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--line); background: transparent; cursor: pointer;
}
.menu-btn span {
  position: absolute; left: 12px; right: 12px; height: 1.5px; background: currentColor;
  transition: transform 0.45s var(--ease), top 0.45s var(--ease);
}
.menu-btn span:first-child { top: 16px; }
.menu-btn span:last-child { top: 24px; }
.menu-btn[aria-expanded="true"] span:first-child { top: 20px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { top: 20px; transform: rotate(-45deg); }

/* nav over open menu */
html.menu-open .nav { color: var(--bg); background: transparent; border-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; transform: none; }
html.menu-open .nav .icon-btn,
html.menu-open .nav .menu-btn { border-color: color-mix(in srgb, var(--bg) 25%, transparent); }
html.menu-open .nav-cta { opacity: 0; pointer-events: none; }

/* ============ MENU (mobile) ============ */
.menu {
  position: fixed; inset: 0; z-index: 90;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 100px var(--pad) 32px;
  background: var(--ink); color: var(--bg);
  clip-path: circle(0 at calc(100% - var(--pad) - 21px) 39px);
  visibility: hidden;
  transition: clip-path 0.8s var(--ease-io), visibility 0s 0.8s;
  overflow-y: auto;
}
.menu.open {
  clip-path: circle(150vmax at calc(100% - var(--pad) - 21px) 39px);
  visibility: visible;
  transition: clip-path 0.8s var(--ease-io), visibility 0s;
}
.menu nav { display: grid; }
.menu nav a {
  display: flex; align-items: baseline; gap: 16px;
  padding-block: 8px;
  border-bottom: 1px solid color-mix(in srgb, var(--bg) 14%, transparent);
  font-size: clamp(34px, 9vw, 64px); font-weight: 500; letter-spacing: -0.05em; line-height: 1.05;
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.5s var(--ease), transform 0.7s var(--ease);
}
.menu.open nav a { opacity: 1; transform: none; transition-delay: calc(0.18s + var(--i, 0) * 0.045s); }
.menu nav small { font: 12px var(--mono); letter-spacing: 0; opacity: 0.55; }
.menu-foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 32px; font: 13px var(--mono); opacity: 0.8; }

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column;
  padding-top: 80px;
}
.hero-meta, .hero-foot {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font: 12.5px var(--mono); text-transform: uppercase; letter-spacing: 0.03em; color: var(--muted);
}
.hero-meta { padding-block: 18px; border-bottom: 1px solid var(--line); }
.hero-foot { padding-block: 20px 26px; border-top: 1px solid var(--line); }
.status { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); }
.status i { width: 8px; height: 8px; border-radius: 50%; background: #1FB86A; animation: ping 2s infinite; }
@keyframes ping {
  0% { box-shadow: 0 0 0 0 rgba(31, 184, 106, 0.55); }
  70%, 100% { box-shadow: 0 0 0 9px rgba(31, 184, 106, 0); }
}

.hero-grid {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
  padding-block: clamp(32px, 5vh, 64px);
}
.hero-title {
  font-size: clamp(44px, 6.6vw, 104px);
  line-height: 0.93;
  letter-spacing: -0.052em;
  font-weight: 500;
  text-wrap: balance;
}
.hero-title em { color: var(--accent-text); }
.hero-sub { max-width: 490px; margin-top: 32px; font-size: clamp(17px, 1.35vw, 19px); color: var(--ink-2); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; margin-top: 40px; }

.hero-figure {
  position: relative;
  width: min(100%, 68vh);
  aspect-ratio: 1;
  margin-left: auto;
  background:
    radial-gradient(circle at 50% 50%, var(--accent-soft), transparent 62%),
    linear-gradient(var(--line), var(--line)) center / 100% 1px no-repeat,
    linear-gradient(var(--line), var(--line)) center / 1px 100% no-repeat;
}
#orb { width: 100%; height: 100%; cursor: pointer; touch-action: pan-y; }
.corner { position: absolute; width: 14px; height: 14px; border: 0 solid var(--ink); opacity: 0.55; pointer-events: none; }
.corner.tl { top: 0; left: 0; border-top-width: 1px; border-left-width: 1px; }
.corner.tr { top: 0; right: 0; border-top-width: 1px; border-right-width: 1px; }
.corner.bl { bottom: 0; left: 0; border-bottom-width: 1px; border-left-width: 1px; }
.corner.br { bottom: 0; right: 0; border-bottom-width: 1px; border-right-width: 1px; }
.orb-nav { position: absolute; top: 10px; right: 12px; display: flex; gap: 2px; }
.orb-nav button {
  width: 22px; height: 22px; padding: 0; border: 0; background: none; cursor: pointer;
  display: grid; place-items: center;
}
.orb-nav button::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  border: 1px solid var(--ink);
  transition: background-color 0.3s, transform 0.4s var(--ease);
}
.orb-nav button:hover::before { transform: scale(1.3); }
.orb-nav button[aria-pressed="true"]::before { background: var(--ink); transform: scale(1.25); }
.orb-caption {
  position: absolute; left: 14px; right: 14px; bottom: 10px;
  display: flex; justify-content: space-between; gap: 12px;
  font: 11.5px var(--mono); text-transform: uppercase; letter-spacing: 0.03em; color: var(--muted);
  pointer-events: none;
}
.orb-caption b { font-weight: 400; color: var(--ink); transition: opacity 0.25s; }

.scroll-cue { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); }
.scroll-cue span { position: relative; width: 1px; height: 30px; background: var(--line); overflow: hidden; }
.scroll-cue span::after {
  content: ""; position: absolute; left: 0; top: -50%; width: 100%; height: 50%;
  background: var(--ink);
  animation: cue 1.8s var(--ease-io) infinite;
}
@keyframes cue { to { top: 100%; } }

/* ============ SPLIT TEXT & REVEAL ============ */
.w { display: inline-block; vertical-align: top; overflow: hidden; padding-bottom: 0.1em; margin-bottom: -0.1em; }
em .w { padding-right: 0.07em; margin-right: -0.07em; }
.w > span { display: inline-block; }
html.js [data-split] .w > span { transform: translateY(112%); transition: transform 1.1s var(--ease); }
html.js [data-split].in .w > span { transform: none; }

html.js .rv {
  opacity: 0; transform: translateY(28px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
  transition-delay: var(--d, 0ms);
}
html.js .rv.in { opacity: 1; transform: none; }

/* ============ TICKER ============ */
.ticker { overflow: hidden; padding-block: clamp(22px, 3.5vw, 44px); border-bottom: 1px solid var(--line); }
.ticker-track {
  display: flex; align-items: center; gap: clamp(22px, 3vw, 48px);
  width: max-content;
  font-size: clamp(54px, 9.5vw, 160px);
  font-weight: 500; line-height: 1; letter-spacing: -0.055em;
  white-space: nowrap;
  will-change: transform;
}
.ticker-track span { padding-right: 0.04em; }
.ticker-track .o { color: transparent; -webkit-text-stroke: 1.5px var(--ink); }
.ticker-track .s { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.02em; }
.ast { width: 0.42em; height: 0.42em; flex-shrink: 0; stroke: var(--accent); stroke-width: 4.5; stroke-linecap: round; animation: spin 9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ============ SECTIONS ============ */
.sec { position: relative; padding-block: clamp(96px, 12vw, 176px); }
.sec-alt { background: var(--bg-2); }
.sec-head {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr);
  gap: 24px 48px; align-items: start;
  margin-bottom: clamp(48px, 6vw, 88px);
}
.sec-head .tag { padding-top: 0.9em; }

/* ============ INTRO ============ */
.intro-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr); gap: 24px 48px; }
.intro-grid .tag { padding-top: 0.6em; }
.manifesto {
  font-size: clamp(28px, 3.6vw, 54px);
  line-height: 1.12;
  letter-spacing: -0.035em;
  font-weight: 500;
  text-wrap: pretty;
}
.manifesto em { color: var(--accent-text); }
.mw { transition: opacity 0.35s linear; }
html.js .manifesto .mw { opacity: 0.14; }
html.js .manifesto .mw.on { opacity: 1; }

.principles {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(64px, 8vw, 120px);
  border-top: 1px solid var(--line);
}
.principles > div { padding: 28px 28px 0 0; }
.principles > div + div { padding-left: 28px; border-left: 1px solid var(--line); }
.principles small { font: 12.5px var(--mono); color: var(--accent-text); }
.principles h3 { margin: 18px 0 8px; font-size: 26px; font-weight: 500; letter-spacing: -0.035em; }
.principles p { color: var(--ink-2); max-width: 340px; }

/* ============ SERVICES — horizontal scroll ============ */
/* follows the theme: light in light mode, dark in dark mode */
.hs {
  --on: var(--ink);
  --ln: color-mix(in srgb, var(--ink) 14%, transparent);
  --hs-bg: var(--bg-2);
  position: relative;
  background: var(--hs-bg); color: var(--on);
  border-block: 1px solid var(--line);
}
.hs .tag { color: color-mix(in srgb, var(--on) 60%, transparent); }
.hs .tag b { color: inherit; }
.hs h2 em { color: inherit; }
.hs-sticky {
  display: flex; flex-direction: column; justify-content: center;
  gap: clamp(28px, 4vh, 52px);
  padding-block: clamp(96px, 12vw, 160px);
}
.hs-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; }
.hs-progress { display: flex; align-items: center; gap: 18px; width: min(440px, 50%); font: 13px var(--mono); white-space: nowrap; }
.hs-progress b { font-weight: 400; }
.hs-bar { position: relative; flex: 1; height: 1px; background: var(--ln); }
.hs-bar i { position: absolute; inset: 0; background: var(--on); transform: scaleX(0); transform-origin: left; }

/* arrow buttons */
.hs-btns { display: flex; gap: 8px; }
.hs-btn, .hs-edge {
  display: grid; place-items: center;
  border-radius: 50%; cursor: pointer;
  transition: background-color 0.3s, color 0.3s, border-color 0.3s, opacity 0.3s, transform 0.4s var(--ease);
}
.hs-btn svg, .hs-edge svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hs-btn { width: 48px; height: 48px; border: 1px solid var(--ln); background: transparent; color: var(--on); }
.hs-btn svg { width: 20px; height: 20px; }
.hs-btn:hover:not(:disabled) { background: var(--on); color: var(--hs-bg); border-color: var(--on); }
.hs-btn:disabled { opacity: 0.3; cursor: default; }
.hs .hs-btn:focus-visible, .hs .hs-edge:focus-visible { outline-color: var(--accent); }

.hs-viewport { position: relative; }
.hs-viewport::after {
  content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: min(180px, 22vw);
  background: linear-gradient(90deg, transparent, var(--hs-bg) 85%);
  pointer-events: none; transition: opacity 0.4s;
}
.hs-viewport.at-end::after { opacity: 0; }
.hs-edge {
  position: absolute; top: 50%; z-index: 2;
  width: 76px; height: 76px; margin-top: -38px;
  border: 0; background: var(--accent); color: var(--accent-ink);
  box-shadow: 0 14px 34px -10px rgba(0, 0, 0, 0.55);
}
.hs-edge svg { width: 28px; height: 28px; }
.hs-edge span { position: absolute; top: calc(100% + 10px); font: 12px var(--mono); text-transform: uppercase; letter-spacing: 0.04em; color: var(--on); }
.hs-edge:hover { transform: scale(1.08); }
.hs-edge-next { right: var(--pad); animation: edgePulse 2.4s var(--ease) infinite; }
.hs-edge-prev { left: var(--pad); width: 56px; height: 56px; margin-top: -28px; background: var(--on); color: var(--hs-bg); }
.hs-edge-prev svg { width: 22px; height: 22px; }
.hs-edge.off { opacity: 0; pointer-events: none; transform: scale(0.7); }
@keyframes edgePulse {
  0%, 100% { box-shadow: 0 14px 34px -10px rgba(0, 0, 0, 0.55), 0 0 0 0 color-mix(in srgb, var(--accent) 55%, transparent); }
  60% { box-shadow: 0 14px 34px -10px rgba(0, 0, 0, 0.55), 0 0 0 16px color-mix(in srgb, var(--accent) 0%, transparent); }
}
@media (max-width: 700px) {
  .hs-edge-next { top: 110px; width: 60px; height: 60px; margin-top: 0; right: 14px; }
  .hs-edge-prev { display: none; }
  .hs-edge span { display: none; }
}

.hs-track {
  display: flex; gap: 18px;
  padding-inline: var(--gutter);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}
.hs-track::-webkit-scrollbar { display: none; }

/* pinned (desktop) — enabled by JS */
.hs.pinned .hs-sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; padding-block: 88px 40px; }
.hs.pinned .hs-track { width: max-content; overflow: visible; will-change: transform; }

.svc {
  position: relative;
  flex: 0 0 auto;
  width: min(82vw, 380px);
  height: clamp(420px, 58vh, 540px);
  display: flex; flex-direction: column;
  padding: 26px;
  border: 1px solid var(--ln); border-radius: 22px;
  scroll-snap-align: start;
  transition: background-color 0.5s var(--ease), color 0.5s var(--ease), border-color 0.5s var(--ease);
}
.hs.pinned .svc { width: clamp(300px, 27vw, 390px); }
.svc:hover { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.svc-top { display: flex; justify-content: space-between; font: 12.5px var(--mono); text-transform: uppercase; opacity: 0.65; }
.svc-glyph {
  width: 92px; height: 92px; margin-block: auto;
  fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round;
  transition: transform 0.9s var(--ease);
}
.svc:hover .svc-glyph { transform: rotate(-8deg) scale(1.08); }
.svc h3 { font-size: clamp(26px, 2.1vw, 32px); line-height: 1.02; letter-spacing: -0.04em; font-weight: 500; }
.svc p { margin-top: 12px; font-size: 15.5px; line-height: 1.5; opacity: 0.72; }
.svc-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 20px; }
.svc-tags span { padding: 5px 10px; border: 1px solid var(--ln); border-radius: 999px; font: 12px var(--mono); transition: border-color 0.5s; }
.svc-ask {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 18px; padding-bottom: 2px;
  border-bottom: 1px solid currentColor;
  font-size: 15px; font-weight: 500;
}
.svc-ask span { transition: transform 0.4s var(--ease); }
.svc-ask:hover span, .svc-ask:focus-visible span { transform: translateX(5px); }
.svc:hover .svc-tags span { border-color: color-mix(in srgb, var(--accent-ink) 35%, transparent); }

.svc-intro { justify-content: space-between; border-color: transparent; background: color-mix(in srgb, var(--on) 7%, transparent); }
.svc-intro:hover { background: color-mix(in srgb, var(--on) 7%, transparent); color: var(--on); border-color: transparent; }
.svc-intro h3 { font-size: clamp(40px, 3.6vw, 56px); line-height: 0.95; letter-spacing: -0.05em; }
.svc-intro p { max-width: 300px; }
.svc-hint { font: 13px var(--mono); text-transform: uppercase; opacity: 0.7 !important; }
.svc-hint span { display: inline-block; animation: nudge 1.6s var(--ease) infinite; }
@keyframes nudge { 50% { transform: translateX(6px); } }

/* ============ INDUSTRIES ============ */
.ind-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.ind-list { border-top: 1px solid var(--line); }
.ind-tab, .ind-list [role="tab"] {
  position: relative;
  width: 100%;
  display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 12px;
  padding: 24px 0;
  border: 0; border-bottom: 1px solid var(--line);
  background: none;
  font: 500 clamp(22px, 2.3vw, 34px)/1.1 var(--sans);
  letter-spacing: -0.035em;
  text-align: left;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.4s;
}
.ind-list [role="tab"] small { font: 12.5px var(--mono); letter-spacing: 0; }
.ind-list [role="tab"] .arr { width: 24px; height: 24px; opacity: 0; transform: translateX(-10px); transition: opacity 0.4s, transform 0.5s var(--ease); }
.ind-list [role="tab"]:hover { color: var(--ink); }
.ind-list [role="tab"][aria-selected="true"] { color: var(--ink); }
.ind-list [role="tab"][aria-selected="true"] .arr { opacity: 1; transform: none; }
.ind-list [role="tab"]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
  background: var(--ink); transform: scaleX(0); transform-origin: left;
}
.ind-list:not(.auto) [role="tab"][aria-selected="true"]::after { transform: scaleX(1); transition: transform 0.6s var(--ease); }
.ind-list.auto [role="tab"][aria-selected="true"]::after { animation: indprog 7s linear forwards; }
.ind-list.auto.paused [role="tab"][aria-selected="true"]::after { animation-play-state: paused; }
@keyframes indprog { to { transform: scaleX(1); } }

.ind-panel {
  padding: clamp(24px, 3vw, 44px);
  border: 1px solid var(--line); border-radius: 28px;
  background: var(--surface);
}
.ind-panel + .ind-panel { margin-top: 16px; }
.ind-panel[hidden] { display: none; }
.ind-panel.enter { animation: panelIn 0.7s var(--ease); }
@keyframes panelIn { from { opacity: 0; transform: translateY(18px); } }
.ind-panel h3 { font-size: clamp(28px, 2.8vw, 42px); line-height: 1.02; letter-spacing: -0.045em; font-weight: 500; text-wrap: balance; }
.ind-panel h3 em { color: var(--accent-text); }
.ind-panel > p { margin-top: 14px; max-width: 520px; color: var(--ink-2); }
.ind-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 28px; }
.ind-chips span { padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; font: 12.5px var(--mono); }

/* mock UIs */
.mock { overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: var(--bg); font-size: 14px; }
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--line); font: 12px var(--mono); color: var(--muted); }
.mock-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.mock-bar span { margin-left: 8px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mock-body { display: grid; gap: 10px; padding: 16px; }
.mock-row {
  display: grid; grid-template-columns: 64px 1fr auto; align-items: center; gap: 12px;
  padding: 10px 12px;
  border: 1px solid var(--line); border-radius: 10px;
  background: var(--surface);
  animation: rowIn 0.5s var(--ease) both;
  animation-delay: calc(var(--n, 0) * 90ms);
}
.mock-row b { font: 500 13px var(--mono); }
.mock-row span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@keyframes rowIn { from { opacity: 0; transform: translateX(-10px); } }
.pill { padding: 4px 9px; border-radius: 999px; font: normal 11.5px var(--mono); white-space: nowrap; }
.pill.ok { background: var(--ok-bg); color: var(--ok); }
.pill.wait { background: var(--warn-bg); color: var(--warn); }
.pill.live { background: var(--accent-soft); color: var(--accent-text); }

.mock-prog { display: grid; grid-template-columns: 96px 1fr 40px; align-items: center; gap: 12px; padding: 6px 0; }
.mock-prog b { font: 500 13px var(--mono); text-align: right; }
.bar { height: 8px; border-radius: 99px; background: var(--bg-2); overflow: hidden; }
.bar i { display: block; width: var(--v); height: 100%; border-radius: inherit; background: var(--accent); transform-origin: left; animation: grow 1.3s var(--ease) both; }
@keyframes grow { from { transform: scaleX(0); } }

.mock-chart { display: flex; align-items: flex-end; gap: 10px; height: 132px; padding-top: 8px; border-bottom: 1px solid var(--line); }
.mock-chart i {
  flex: 1; height: var(--h);
  border-radius: 6px 6px 0 0;
  background: var(--ink);
  transform-origin: bottom;
  animation: rise 1s var(--ease) both;
  animation-delay: calc(var(--n) * 70ms);
}
.mock-chart i:last-child { background: var(--accent); }
@keyframes rise { from { transform: scaleY(0); } }
.mock-days { display: flex; gap: 10px; font: 11px var(--mono); color: var(--muted); }
.mock-days span { flex: 1; text-align: center; }
.mock-alert { padding: 10px 12px; border-radius: 10px; background: color-mix(in srgb, var(--hot) 12%, transparent); color: var(--hot); font-size: 13.5px; }

.mock-map { width: 100%; height: auto; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); }
.mock-map .road { fill: none; stroke: var(--bg-2); stroke-width: 12; }
.mock-map .route { fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-dasharray: 6 6; animation: dash 0.9s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -12; } }
.mock-map .stop { fill: var(--ink); }
.mock-map .stop.end { fill: none; stroke: var(--ink); stroke-width: 2; }
.mock-map .truck { fill: var(--hot); }

.mock-log > div {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--line); border-radius: 10px;
  background: var(--surface);
  animation: rowIn 0.5s var(--ease) both;
  animation-delay: calc(var(--n) * 260ms);
}
.mock-log i { flex: 0 0 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: var(--ok-bg); color: var(--ok); font: normal 11px var(--mono); }
.mock-log time { margin-left: auto; padding-left: 10px; font: 11.5px var(--mono); color: var(--muted); white-space: nowrap; }

/* ============ COMPARE ============ */
.cmp-wrap { overflow-x: auto; margin-inline: calc(var(--pad) * -1); padding-inline: var(--pad); scrollbar-width: thin; }
.cmp { width: 100%; min-width: 660px; border-collapse: separate; border-spacing: 0; }
.cmp th, .cmp td { padding: 20px 16px; border-bottom: 1px solid var(--line); text-align: center; vertical-align: middle; }
.cmp tbody th {
  padding-left: 0; text-align: left;
  font-size: clamp(16px, 1.45vw, 20px); font-weight: 500; letter-spacing: -0.02em;
}
.cmp thead th { font: 12.5px var(--mono); text-transform: uppercase; letter-spacing: 0.02em; color: var(--muted); font-weight: 400; vertical-align: bottom; width: 17%; }
.cmp thead th:first-child { width: auto; }
.cmp .us { background: var(--ink); color: var(--bg); border-bottom-color: color-mix(in srgb, var(--bg) 14%, transparent); }
.cmp thead .us { padding-top: 26px; border-radius: 18px 18px 0 0; color: var(--bg); font: 600 15px var(--sans); text-transform: none; letter-spacing: -0.02em; }
.cmp tbody tr:last-child .us { border-radius: 0 0 18px 18px; border-bottom-color: transparent; }
.cmp tbody tr:hover th, .cmp tbody tr:hover td:not(.us) { background: color-mix(in srgb, var(--ink) 4%, transparent); }
.yes, .no { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; vertical-align: middle; }
.yes { border: 1px solid var(--ink-2); }
.yes::before { content: ""; width: 10px; height: 5px; margin-top: -3px; border: solid var(--ink); border-width: 0 0 1.5px 1.5px; transform: rotate(-45deg); }
.no { border: 1px solid var(--line); }
.no::before { content: "×"; font-size: 17px; line-height: 1; color: var(--muted); }
.us .yes { border: 0; background: var(--accent); }
.us .yes::before { border-color: var(--accent-ink); border-width: 0 0 2px 2px; }
.meh { font: 12.5px var(--mono); color: var(--muted); }
.us .meh { color: inherit; }

/* ============ PROCESS ============ */
.proc-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 110px); }
.proc-side { position: sticky; top: 110px; align-self: start; }
.proc-side h2 { margin-top: 20px; }
.proc-big {
  height: 0.84em; margin-top: 36px; overflow: hidden;
  font-family: var(--serif); font-style: italic;
  font-size: clamp(120px, 15vw, 240px); line-height: 0.84; letter-spacing: -0.04em;
  color: var(--accent-text);
}
.proc-big span { display: block; }
.proc-big span.roll { animation: roll 0.7s var(--ease); }
@keyframes roll { from { transform: translateY(70%); opacity: 0; } }

.timeline { position: relative; padding-left: 48px; }
.timeline::before, .tl-fill { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 1px; background: var(--line); }
.tl-fill { background: var(--accent); transform: scaleY(0); transform-origin: top; }
.tl-list { list-style: none; }
.tl-step { position: relative; padding-bottom: clamp(48px, 7vw, 92px); transition: opacity 0.5s; }
.tl-step:last-child { padding-bottom: 0; }
html.js .tl-step { opacity: 0.32; }
html.js .tl-step.on { opacity: 1; }
.tl-step::before {
  content: ""; position: absolute; left: -48px; top: 5px;
  width: 15px; height: 15px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--bg);
  transition: background-color 0.4s, border-color 0.4s, box-shadow 0.4s;
}
.tl-step.on::before { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 6px var(--accent-soft); }
.tl-step small { font: 12.5px var(--mono); text-transform: uppercase; color: var(--muted); }
.tl-step h3 { margin: 8px 0 12px; font-size: clamp(30px, 3.2vw, 46px); line-height: 1.02; letter-spacing: -0.045em; font-weight: 500; }
.tl-step p { max-width: 540px; color: var(--ink-2); }
.tl-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.tl-meta span { padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; font: 12px var(--mono); }
.tl-meta span:last-child { border-color: transparent; background: var(--accent-soft); color: var(--accent-text); }

/* ============ STACK ============ */
.stack {
  list-style: none;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  border-top: 1px solid var(--line); border-left: 1px solid var(--line);
}
.stack li {
  display: flex; flex-direction: column; justify-content: space-between; gap: 28px;
  min-height: 128px; padding: 20px;
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  transition: background-color 0.35s, color 0.35s;
}
.stack li:hover { background: var(--ink); color: var(--bg); }
.stack small { font: 11.5px var(--mono); text-transform: uppercase; letter-spacing: 0.03em; color: var(--muted); transition: color 0.35s; }
.stack li:hover small { color: color-mix(in srgb, var(--bg) 60%, transparent); }
.stack b { font-size: clamp(20px, 1.7vw, 24px); font-weight: 500; letter-spacing: -0.035em; }

/* ============ ENGAGE ============ */
.eng-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.eng {
  --ln: var(--line);
  display: flex; flex-direction: column;
  min-height: 560px; padding: 30px;
  border: 1px solid var(--line); border-radius: 26px;
  background: var(--surface);
  transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease), opacity 1s var(--ease);
}
.eng:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px color-mix(in srgb, var(--ink) 30%, transparent); }
.eng.feat { --ln: color-mix(in srgb, var(--accent-ink) 25%, transparent); background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.eng-top { display: flex; justify-content: space-between; font: 12.5px var(--mono); text-transform: uppercase; opacity: 0.7; }
.eng h3 { margin: 56px 0 10px; font-size: clamp(28px, 2.5vw, 36px); line-height: 1; letter-spacing: -0.045em; font-weight: 500; }
.eng .best { font-size: 15.5px; opacity: 0.75; }
.eng ul { list-style: none; display: grid; gap: 12px; margin: 28px 0; padding-top: 24px; border-top: 1px solid var(--ln); }
.eng li { position: relative; padding-left: 26px; font-size: 15.5px; }
.eng li::before { content: ""; position: absolute; left: 2px; top: 7px; width: 10px; height: 5px; border: solid currentColor; border-width: 0 0 1.5px 1.5px; transform: rotate(-45deg); }
.eng .price { margin-top: auto; font-family: var(--serif); font-style: italic; font-size: 30px; line-height: 1.1; }
.eng .btn { margin-top: 20px; justify-content: center; }

/* ============ FAQ ============ */
.faq-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 110px); align-items: start; }
.faq-grid > div:first-child h2 { margin-top: 20px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 26px 0;
  border: 0; background: none; cursor: pointer; text-align: left;
  font: 500 clamp(19px, 1.7vw, 24px)/1.25 var(--sans); letter-spacing: -0.025em;
}
.faq-ic { position: relative; flex: 0 0 36px; height: 36px; border: 1px solid var(--line); border-radius: 50%; transition: background-color 0.3s, border-color 0.3s, transform 0.5s var(--ease); }
.faq-ic::before, .faq-ic::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; margin: -0.75px 0 0 -6px; background: var(--ink); transition: background-color 0.3s; }
.faq-ic::after { transform: rotate(90deg); }
.faq-q:hover .faq-ic { border-color: var(--ink); }
.faq-q[aria-expanded="true"] .faq-ic { background: var(--ink); border-color: var(--ink); transform: rotate(135deg); }
.faq-q[aria-expanded="true"] .faq-ic::before, .faq-q[aria-expanded="true"] .faq-ic::after { background: var(--bg); }
.faq-a { display: grid; grid-template-rows: 1fr; transition: grid-template-rows 0.5s var(--ease); }
html.js .faq-q[aria-expanded="false"] + .faq-a { grid-template-rows: 0fr; }
.faq-a > div { overflow: hidden; }
.faq-a p { max-width: 620px; padding: 0 56px 26px 0; color: var(--ink-2); }

/* ============ CONTACT ============ */
.contact {
  --ln: color-mix(in srgb, var(--accent-ink) 25%, transparent);
  background: var(--accent); color: var(--accent-ink);
}
.contact :focus-visible { outline-color: var(--accent-ink); }
.contact .tag { color: color-mix(in srgb, var(--accent-ink) 72%, transparent); }
.contact .tag b { color: inherit; }
.contact h2 { margin-top: 20px; font-size: clamp(44px, 6vw, 96px); }
.contact h2 em { color: inherit; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact-copy { position: sticky; top: 110px; }
.mail-big {
  display: inline-block; margin-top: 36px;
  padding-bottom: 4px; border-bottom: 1px solid currentColor;
  font-size: clamp(20px, 2.2vw, 30px); font-weight: 500; letter-spacing: -0.03em;
  word-break: break-all;
  transition: opacity 0.3s;
}
.mail-big:hover { opacity: 0.7; }
.next { list-style: none; margin-top: 48px; }
.next li { display: grid; grid-template-columns: 44px 1fr; padding: 16px 0; border-top: 1px solid var(--ln); font-size: 17px; }
.next small { font: 12.5px var(--mono); opacity: 0.7; padding-top: 3px; }

.brief {
  display: grid; gap: 30px;
  padding: clamp(22px, 3vw, 44px);
  border-radius: 28px;
  background: var(--bg); color: var(--ink);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.45);
}
.brief :focus-visible { outline-color: var(--accent); }
.brief fieldset { min-width: 0; border: 0; display: grid; gap: 18px; }
.brief legend { padding: 0; margin-bottom: 14px; font: 600 clamp(17px, 1.4vw, 19px)/1.3 var(--sans); letter-spacing: -0.015em; color: var(--ink); }
.brief legend em { font-style: normal; font-weight: 400; font-size: 0.85em; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 10px 16px;
  border: 1px solid var(--line); border-radius: 999px;
  background: transparent;
  font: 500 14.5px/1.2 var(--sans);
  cursor: pointer;
  transition: background-color 0.25s, color 0.25s, border-color 0.25s, transform 0.2s;
}
.chip:hover { border-color: var(--ink); }
.chip:active { transform: scale(0.96); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.row2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 28px; }
.field { display: grid; gap: 4px; }
.field > span { font: 500 15px/1.3 var(--sans); color: var(--ink); }
.field > span em { font-style: normal; font-weight: 400; color: var(--muted); }
.field input, .field textarea {
  width: 100%;
  padding: 10px 0;
  border: 0; border-bottom: 1px solid var(--line); border-radius: 0;
  background: transparent; color: var(--ink);
  font: 17px/1.4 var(--sans);
  outline: none;
  transition: border-color 0.3s;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field textarea:focus { border-color: var(--accent); }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); opacity: 0.6; }
.honey { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.brief-intro { padding: 14px 16px; border-radius: 14px; background: var(--accent-soft); font-size: 15px; color: var(--ink-2); }
.brief-intro strong { color: var(--ink); font-weight: 600; }
.field.invalid input, .field.invalid textarea { border-color: var(--hot); }
.brief-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.form-status { flex: 1 1 220px; font-size: 14.5px; color: var(--muted); }
.form-status.ok { color: var(--ok); }
.form-status.err { color: var(--hot); }
.copy-btn { font-size: 14.5px; }

/* ============ FOOTER ============ */
.footer { background: var(--ink); color: var(--bg); padding-top: clamp(72px, 9vw, 128px); overflow: hidden; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: 40px 32px; }
.foot-lead { max-width: 440px; font-size: clamp(22px, 2.1vw, 30px); line-height: 1.15; letter-spacing: -0.035em; font-weight: 500; }
.foot-mail { margin-top: 24px; font-size: 17px; }
.foot-grid h4 { margin-bottom: 16px; font: 400 12.5px var(--mono); text-transform: uppercase; letter-spacing: 0.03em; opacity: 0.55; }
.foot-grid ul { list-style: none; display: grid; gap: 10px; justify-items: start; }
.foot-grid ul .link { font-weight: 400; }
.wm-box { margin-top: clamp(64px, 9vw, 140px); }
.wordmark { display: inline-block; font-size: 17vw; font-weight: 600; line-height: 0.9; letter-spacing: -0.065em; white-space: nowrap; }
.foot-bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px 24px;
  margin-top: 28px; padding-block: 22px 28px;
  border-top: 1px solid color-mix(in srgb, var(--bg) 15%, transparent);
  font: 12.5px var(--mono); color: color-mix(in srgb, var(--bg) 70%, transparent);
}
.foot-bottom .link { font-weight: 400; }

/* ============ QUICK CONTACT BAR (phones) ============ */
.quick-cta { display: none; }
@media (max-width: 700px) {
  .quick-cta {
    position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 80;
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 10px 10px 10px 18px;
    border-radius: 999px;
    background: var(--ink); color: var(--bg);
    font-size: 14.5px; font-weight: 500;
    box-shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.45);
    transform: translateY(calc(100% + 24px));
    transition: transform 0.5s var(--ease);
  }
  .quick-cta.show { transform: none; }
  html.menu-open .quick-cta { transform: translateY(calc(100% + 24px)); }
  .footer { padding-bottom: 72px; }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1100px) {
  .nav-links { display: none; }
  .menu-btn { display: block; }
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-figure { width: min(100%, 480px); margin-inline: auto; }
  .sec-head, .intro-grid { grid-template-columns: 1fr; }
  .sec-head .tag, .intro-grid .tag { padding-top: 0; }
  .principles { grid-template-columns: 1fr; }
  .principles > div, .principles > div + div { padding: 24px 0; border-left: 0; }
  .principles > div + div { border-top: 1px solid var(--line); }
  .hs-head { flex-direction: column; align-items: flex-start; }
  .hs-progress { width: 100%; }
  .ind-grid, .proc-grid, .faq-grid, .contact-grid { grid-template-columns: 1fr; }
  .proc-side, .contact-copy { position: static; }
  .proc-big { display: none; }
  .eng-grid { grid-template-columns: 1fr; }
  .eng { min-height: 0; }
  .eng h3 { margin-top: 36px; }
  .eng .price { margin-top: 8px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 700px) {
  .row2 { grid-template-columns: 1fr; }
  .hide-sm { display: none; }
  .nav-cta { display: none; }
  .hero-meta { font-size: 11.5px; }
  .ind-list [role="tab"] { padding: 18px 0; grid-template-columns: 36px 1fr auto; }
  .ind-panel { padding: 20px; border-radius: 22px; }
  .mock-body { padding: 10px; gap: 8px; }
  .mock-row { grid-template-columns: 42px 1fr auto; gap: 8px; padding: 9px 10px; font-size: 13px; }
  .mock-row b { font-size: 12px; }
  .mock-log > div { font-size: 13px; }
  .mock-prog { grid-template-columns: 76px 1fr 36px; }
  .faq-a p { padding-right: 0; }
  .brand span { font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  html.js .rv { opacity: 1; transform: none; }
  html.js [data-split] .w > span { transform: none; }
}
