/* Rare State Marketing — landing */

:root {
  --ink: #111110;
  --ink-2: #1a1a18;
  --ink-3: #2a2a27;
  --ground: #0d0d0c;
  --paper: #f3f3f1;
  --paper-2: #e8e8e5;
  --card: #fafaf8;
  --grey-1: #d2d2cf;
  --grey-2: #6c6b65;
  --grey-3: #55544f;
  --muted-on-dark: #a8a79f;
  --accent: #ff5a1f;
  --accent-ink: #c93a09;

  --f-sans: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  --f-cond: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;

  --pad: clamp(20px, 4.2vw, 64px);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --grain: 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='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  --dots-dark: radial-gradient(circle at 1px 1px, rgba(17,17,16,.28) 1.2px, transparent 1.7px) 0 0 / 10px 10px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scrollbar-color: var(--grey-2) var(--ground); }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--f-sans);
  font-size: 15px;
  line-height: 1.55;
  font-variation-settings: "wdth" 90;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::selection { background: var(--accent); color: var(--ink); }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--accent); color: var(--ink); padding: 8px 14px; border-radius: 99px; }
.skip:focus { top: 12px; }

.page { max-width: 1680px; margin: 0 auto; padding: 0 clamp(8px, 1.1vw, 18px); }
.wrap { position: relative; z-index: 1; width: 100%; max-width: 1360px; margin: 0 auto; padding: 0 var(--pad); }

/* ---------- nav: its own floating bar, clearly above the hero ---------- */
.nav {
  position: sticky; top: 10px; z-index: 60;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  margin: 10px 0 10px;
  padding: 9px 9px 9px 24px;
  background: var(--paper); color: var(--ink);
  border-radius: 22px 22px 22px 6px;
  box-shadow: 0 10px 30px -12px rgba(0,0,0,.6);
}
.logo {
  font-family: var(--f-cond); font-weight: 900; font-size: 22px; letter-spacing: .02em;
  text-transform: uppercase; text-decoration: none; line-height: 1;
}
.logo span { color: var(--accent-ink); margin-left: .28em; }
.nav__links { display: flex; gap: clamp(18px, 3vw, 40px); }
.nav__links a { text-decoration: none; font-size: 14px; font-weight: 500; color: var(--grey-3); transition: color .2s; }
.nav__links a:hover { color: var(--ink); }
.nav__cta {
  background: var(--accent); color: var(--ink); text-decoration: none;
  font-weight: 600; font-size: 14px; padding: 12px 20px;
  border-radius: 16px 16px 16px 5px;
  transition: background-color .2s, color .2s;
}
.nav__cta:hover { background: var(--ink); color: var(--paper); }

/* ---------- sheets ---------- */
.sheet { position: relative; }
.sheet + .sheet { margin-top: -44px; padding-top: 44px; }
.sheet--light, .sheet--halftone, .sheet--grid { background: var(--paper); color: var(--ink); border-radius: 40px 40px 0 0; padding-bottom: clamp(72px, 9vw, 140px); }
.sheet--dark { background: var(--ink); color: var(--paper); }
.sheet--r1 { border-radius: 64px 14px 0 0 !important; }
.sheet--r2 { border-radius: 14px 64px 0 0 !important; }
.sheet--r3 { border-radius: 28px 28px 0 0 !important; }

.sheet--halftone { overflow: hidden; }
.sheet--halftone::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: var(--dots-dark);
  -webkit-mask-image: linear-gradient(to top right, transparent 25%, #000 100%);
          mask-image: linear-gradient(to top right, transparent 25%, #000 100%);
}
.sheet--grid {
  background-color: var(--paper-2);
  background-image:
    linear-gradient(rgba(17,17,16,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17,17,16,.07) 1px, transparent 1px);
  background-size: 56px 56px;
}
.sheet--accent { background: var(--accent); color: var(--ink); overflow: hidden; padding-bottom: clamp(72px, 9vw, 130px); }
.who__dots {
  position: absolute; inset: 0; background: var(--dots-dark); opacity: .55; pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 70%); mask-image: linear-gradient(to bottom, #000, transparent 70%);
}

h2 {
  font-size: clamp(2.3rem, 5.4vw, 5rem);
  line-height: 1;
  font-weight: 600;
  letter-spacing: -.038em;
  font-variation-settings: "wdth" 78, "opsz" 72;
  text-wrap: balance;
}
h3 { font-size: 1.35rem; line-height: 1.3; font-weight: 600; letter-spacing: -.025em; }

.sec-head { padding-top: clamp(64px, 8vw, 120px); margin-bottom: clamp(36px, 5vw, 72px); }
.sec-head h2 { max-width: 16ch; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 15px/1 var(--f-sans); letter-spacing: -.01em;
  padding: 17px 22px 17px 26px;
  border-radius: 999px 999px 999px 10px;
  text-decoration: none; border: 0; cursor: pointer;
  transition: transform .35s var(--ease), background-color .25s, color .25s;
}
.btn--accent { background: var(--accent); color: var(--ink); }
.btn--accent:hover { background: var(--paper); transform: translateY(-2px); }
.btn--ghost { background: var(--ink); color: var(--paper); }
.btn--ghost:hover { background: var(--accent); color: var(--ink); }
.btn--block { width: 100%; justify-content: space-between; padding: 19px 24px; }
.consult .btn--accent:hover, .form .btn--accent:hover { background: var(--ink); color: var(--paper); }

/* ================= HERO ================= */
.hero {
  background:
    radial-gradient(60% 55% at 78% 28%, rgba(255,90,31,.16), transparent 70%),
    var(--ink-2);
  color: var(--paper);
  min-height: clamp(660px, calc(100svh - 84px), 930px);
  border-radius: 30px 30px 0 0;
  overflow: hidden; isolation: isolate;
}
.hero__grain, .about__grain {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: var(--grain); opacity: .08; mix-blend-mode: screen;
}
.hero__wordmark {
  position: absolute; z-index: 0; left: 50%; top: 6%;
  transform: translateX(-50%);
  font-family: var(--f-cond); font-weight: 900;
  font-size: clamp(120px, 21.5vw, 380px);
  line-height: .8; white-space: nowrap;
  color: rgba(244,243,239,.05);
  user-select: none;
  transition: transform .8s var(--ease);
}
.hero__bars { position: absolute; z-index: 0; right: 0; bottom: 0; width: 62%; height: 66%; fill: rgba(255,255,255,.045); }
/* continuous growth arrow: starts on the hero baseline, passes behind the portrait */
.hero__rise { position: absolute; z-index: 1; top: 3%; left: 36%; right: 1.5%; height: 94%; }
.hero__rise svg { width: 100%; height: 100%; overflow: visible; }
.rise-line, .rise-head { fill: none; stroke: var(--accent); stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.rise-line { stroke-width: 9; animation: draw 1.8s var(--ease) .35s forwards; }
.rise-head { stroke-width: 9; animation: draw .5s var(--ease) 1.9s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* hero image slot: 4:5, bottom anchored. Fill via --hero-image + .is-filled */
.hero__plate {
  --hero-image: none;
  position: absolute; z-index: 3;
  right: clamp(16px, 9vw, 150px); top: 8%;
  width: clamp(320px, 50vw, 800px);
  aspect-ratio: 887 / 1599;
  background: var(--hero-image) center top / contain no-repeat;
}
.hero__plate.is-filled { filter: drop-shadow(0 24px 40px rgba(0,0,0,.5)); }
.hero__plate:not(.is-filled) {
  background:
    radial-gradient(circle at 1px 1px, rgba(255,255,255,.07) 1px, transparent 1.4px) 0 0 / 7px 7px,
    #3a3a36;
  border-radius: 46% 46% 0 0 / 30% 30% 0 0;
}

.hero__copy {
  position: absolute; z-index: 2; left: var(--pad); bottom: clamp(36px, 6vw, 72px);
  width: min(50%, 700px);
  display: grid; gap: 24px; justify-items: start;
}
.hero__title {
  font-size: clamp(2.4rem, 4.6vw, 4.8rem);
  line-height: 1.04; font-weight: 600; letter-spacing: -.015em;
  font-variation-settings: "wdth" 92, "opsz" 72;
  text-wrap: balance;
}
.hero__sub { font-size: clamp(15px, 1.2vw, 17px); line-height: 1.5; color: var(--muted-on-dark); max-width: 44ch; }

/* ================= NICHES ================= */
.bar { padding-bottom: 36px !important; margin-top: -30px; border-radius: 34px 34px 0 0; z-index: 2; }
.niches {
  max-width: 1360px; margin: 0 auto; padding: 52px var(--pad) 14px;
  display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.4fr); gap: clamp(28px, 5vw, 88px); align-items: start;
}
.niches h2 { font-size: clamp(2.6rem, 5vw, 4.6rem); max-width: 9ch; line-height: .98; }
.niches h2 em { font-style: normal; color: var(--accent-ink); }
.niche-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(20px, 3vw, 48px); border-top: 1.5px solid var(--ink); }
.niche-list li { padding: 12px 0; border-bottom: 1px solid var(--grey-1); font-size: clamp(1.05rem, 1.5vw, 1.35rem); font-weight: 600; letter-spacing: -.025em; line-height: 1.25; transition: padding-left .4s var(--ease), color .2s; }
.niche-list li:hover { padding-left: 8px; color: var(--accent-ink); }
@media (max-width: 860px) {
  .niches { grid-template-columns: 1fr; padding-top: 36px; }
}
@media (max-width: 520px) {
  .niche-list { grid-template-columns: 1fr; }
}

/* ================= SERVICES ================= */
.services { padding-bottom: clamp(80px, 10vw, 150px); overflow: hidden; isolation: isolate; }
.services::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(circle at 1px 1px, rgba(255,255,255,.14) 1px, transparent 1.5px) 0 0 / 22px 22px;
  -webkit-mask-image: radial-gradient(70% 60% at 50% 45%, #000, transparent 85%);
          mask-image: radial-gradient(70% 60% at 50% 45%, #000, transparent 85%);
}
.services::after {
  content: ""; position: absolute; z-index: 0; pointer-events: none;
  width: 95vw; height: 95vw; max-width: 1300px; max-height: 1300px; left: -26%; bottom: -52%;
  background: radial-gradient(circle, rgba(255,90,31,.3), transparent 65%);
}
.svc-grid {
  position: relative; display: grid; grid-template-columns: 1.08fr 1fr; gap: clamp(14px, 2vw, 28px); align-items: stretch;
  max-width: 1080px; margin-inline: auto; padding-bottom: 20px;
}
.svc-ghost {
  position: absolute; z-index: 0; pointer-events: none; user-select: none;
  font-family: var(--f-cond); font-weight: 900; line-height: .75;
  font-size: clamp(16rem, 34vw, 32rem);
  color: transparent; -webkit-text-stroke: 2px rgba(255,255,255,.1);
}
.svc-ghost--1 { left: -9%; top: -18%; }
.svc-ghost--2 { right: -8%; bottom: -14%; }

.svc {
  position: relative; z-index: 1;
  padding: clamp(20px, 2.4vw, 34px);
  display: grid; gap: 18px; align-content: start;
  transition: transform .6s var(--ease);
}
.svc--ads { background: var(--paper); color: var(--ink); border-radius: 56px 10px 56px 10px; }
.svc--auto {
  color: var(--paper);
  background-color: #22221f;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 28px 28px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 10px 56px 10px 56px;
}
.svc:hover { transform: translateY(-4px); }
.svc__tag { justify-self: start; font-size: 13px; font-weight: 600; padding: 6px 14px; border: 1.5px solid currentColor; border-radius: 999px 999px 999px 4px; }
.svc h3 { font-size: clamp(1.6rem, 2.7vw, 2.5rem); line-height: 1; letter-spacing: -.04em; max-width: 13ch; font-variation-settings: "wdth" 78, "opsz" 72; }
.svc__lead { font-size: 15px; line-height: 1.5; max-width: 46ch; }
.svc--ads .svc__lead { color: var(--grey-3); }
.svc--auto .svc__lead { color: var(--muted-on-dark); }

.svc__vis { border-radius: 22px 6px 22px 6px; padding: 12px; }
.svc__vis svg { width: 100%; height: auto; overflow: visible; }
.svc__vis--funnel { background: var(--ink); }
.svc__vis--graph { background: rgba(13,13,12,.55); border: 1px solid rgba(255,255,255,.1); }
.svc__vis--funnel .leads circle { animation: lead-pulse 2.4s var(--ease) infinite; transform-box: fill-box; transform-origin: center; }
.svc__vis--funnel .leads circle:nth-child(2) { animation-delay: .25s; }
.svc__vis--funnel .leads circle:nth-child(3) { animation-delay: .5s; }
@keyframes lead-pulse { 0%, 100% { transform: scale(1); } 40% { transform: scale(1.25); } }
.wires path { stroke-dasharray: 5 7; animation: flow 1.4s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -24; } }

.svc__list-h { font-weight: 600; margin-bottom: 6px; }
.svc__list ul { border-top: 1px solid currentColor; }
.svc--ads .svc__list ul { border-color: var(--grey-1); }
.svc--auto .svc__list ul { border-color: rgba(255,255,255,.16); }
.svc__list li {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 11px 0; font-size: 14.5px; border-bottom: 1px solid var(--grey-1);
  transition: padding-left .4s var(--ease), color .2s;
}
.svc--auto .svc__list li { border-color: rgba(255,255,255,.16); }
.svc__list li::after { content: "↗"; color: var(--accent); font-weight: 700; opacity: .5; transition: opacity .2s, transform .3s var(--ease); }
.svc__list li:hover { padding-left: 8px; }
.svc__list li:hover::after { opacity: 1; transform: translate(2px, -2px); }
.svc .btn { justify-self: start; margin-top: 8px; }

/* ---- after-launch cycle ---- */
.cycle {
  display: grid; grid-template-columns: minmax(0, 1fr) 230px minmax(0, 1fr); grid-template-rows: auto 230px auto;
  gap: 16px 20px; align-items: center; justify-items: center; margin: 4px 0;
}
.cycle svg { grid-column: 2; grid-row: 2; width: 230px; height: 230px; overflow: visible; }
.cycle__orbit { transform-origin: 130px 130px; animation: spin 9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.cycle__core { grid-column: 2; grid-row: 2; text-align: center; font-weight: 600; font-size: 15px; line-height: 1.2; letter-spacing: -.01em; pointer-events: none; }
.cy {
  background: var(--ink-3); color: var(--paper); font-weight: 600; font-size: 14px; white-space: nowrap;
  padding: 11px 16px; border-radius: 14px 14px 14px 4px; border: 1px solid rgba(255,255,255,.1);
}
.cy--t { grid-column: 2; grid-row: 1; }
.cy--b { grid-column: 2; grid-row: 3; }
.cy--l { grid-column: 1; grid-row: 2; justify-self: end; }
.cy--r { grid-column: 3; grid-row: 2; justify-self: start; }
.cy--hot { background: var(--accent); color: var(--ink); border-color: var(--accent); }


/* ================= ABOUT: timeline ================= */
.tl { position: relative; display: grid; gap: 18px; max-width: 1080px; margin-inline: auto; }
.tl > li { position: relative; display: grid; grid-template-columns: 68px minmax(0, 1fr); gap: clamp(14px, 2vw, 28px); }
.tl__rail { position: relative; display: flex; justify-content: center; padding-top: 4px; }
.tl > li:not(:last-child) .tl__rail::after {
  content: ""; position: absolute; left: 50%; top: 74px; bottom: -22px; width: 2px; transform: translateX(-1px);
  background: repeating-linear-gradient(to bottom, var(--accent) 0 8px, transparent 8px 14px);
}
.tl > li.tl__launch:not(:last-child) .tl__rail::after { top: -22px; bottom: -24px; background: var(--accent); }
.tl__n {
  position: relative; z-index: 1; width: 68px; height: 68px; border-radius: 50%;
  background: var(--paper); color: var(--ink); display: grid; place-content: center; text-align: center;
  font-family: var(--f-cond); font-weight: 900; font-size: 2rem; line-height: .8;
}
.tl__n small { font: 600 11px/1 var(--f-sans); letter-spacing: .04em; text-transform: uppercase; color: var(--grey-3); margin-bottom: 4px; }
.tl__body { background: var(--ink-2); border: 1px solid rgba(255,255,255,.08); padding: clamp(22px, 2.6vw, 36px); display: grid; gap: 22px; align-content: start; }
.tl > li:nth-child(1) .tl__body { border-radius: 36px 8px 8px 8px; }
.tl > li:nth-child(3) .tl__body { border-radius: 8px 8px 36px 8px; }
.tl h3 { font-size: clamp(1.5rem, 2.4vw, 2.1rem); }
.tl__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.tl__cards li {
  position: relative; background: var(--ink-3); border-radius: 18px 18px 18px 5px; padding: 18px 20px;
  display: grid; gap: 8px; align-content: start;
}
.tl__cards li:not(:last-child)::after { content: "→"; position: absolute; right: -13px; top: 50%; transform: translateY(-50%); z-index: 1; color: var(--accent); font-weight: 700; }
.tl__cards b { font-size: 1.1rem; letter-spacing: -.02em; }
.tl__cards span { color: var(--muted-on-dark); font-size: 14.5px; line-height: 1.45; }
.tl__launch { align-items: center; }
.tl__launch .tl__rail { padding: 0; align-self: stretch; }
.tl__launch .tl__body { background: var(--accent); color: var(--ink); border: 0; border-radius: 999px 999px 999px 10px; padding: 16px 28px; display: flex; align-items: center; gap: 16px; }
.tl__pill { font-family: var(--f-cond); font-weight: 900; font-size: 1.8rem; text-transform: uppercase; letter-spacing: .02em; line-height: 1; }
.tl__launch p { font-weight: 600; font-size: 1.05rem; }
/* cycle on top, paragraph below, both centred so the ring and its labels have room */
.tl__after { display: grid; grid-template-columns: 1fr; justify-items: center; gap: 22px; }
.tl__after .cycle { width: min(100%, 620px); }
.tl__after > p { color: var(--muted-on-dark); font-size: 15px; line-height: 1.6; max-width: 62ch; text-align: center; }

@media (max-width: 860px) {
  .tl > li { grid-template-columns: 48px minmax(0, 1fr); }
  .tl__n { width: 48px; height: 48px; font-size: 1.4rem; }
  .tl__n small { display: none; }
  .tl > li:not(:last-child) .tl__rail::after { top: 54px; }
  .tl > li.tl__launch:not(:last-child) .tl__rail::after { top: -22px; }
  .tl__cards, .tl__after { grid-template-columns: 1fr; }
  .tl__cards li:not(:last-child)::after { content: "↓"; right: auto; left: 22px; top: auto; bottom: -17px; transform: none; }
}

@media (max-width: 520px) {
  /* ring on top, the four steps as a tidy 2x2 grid beneath */
  .cycle { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto auto; gap: 10px; justify-items: stretch; }
  .cycle svg { grid-column: 1 / -1; grid-row: 1; justify-self: center; width: 200px; height: 200px; margin-bottom: 6px; }
  .cycle__core { grid-column: 1 / -1; grid-row: 1; justify-self: center; align-self: center; margin-bottom: 6px; }
  .cy { white-space: normal; text-align: center; font-size: 13.5px; padding: 11px 10px; justify-self: stretch; align-self: stretch; display: grid; place-items: center; }
  .cy--t { grid-column: 1; grid-row: 2; }
  .cy--r { grid-column: 2; grid-row: 2; }
  .cy--b { grid-column: 1; grid-row: 3; }
  .cy--l { grid-column: 2; grid-row: 3; }
  .tl > li { grid-template-columns: 38px minmax(0, 1fr); gap: 10px; }
  .tl__n { width: 38px; height: 38px; font-size: 1.15rem; }
  .tl > li:not(:last-child) .tl__rail::after { top: 46px; }
  .tl__body { padding: 18px 16px; }
  .tl__launch .tl__body { padding: 12px 18px; }
  .tl__pill { font-size: 1.4rem; }
}



/* ================= WHY ================= */
.why__rows { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; align-items: stretch; }
.why__row {
  display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 22px;
  background: var(--card);
  border-radius: 40px 8px 40px 8px;
  padding: 14px 14px clamp(22px, 2.4vw, 32px);
}
.why__row:nth-child(2) { border-radius: 8px 40px 8px 40px; }
.why__row:nth-child(3) { border-radius: 40px 40px 8px 40px; }
.why__text { padding: 0 clamp(8px, 1vw, 14px); display: grid; gap: 12px; align-content: start; }
.why__n { font-family: var(--f-cond); font-weight: 900; font-size: 2.6rem; line-height: .8; color: var(--accent-ink); }
.why__text h3 { font-size: clamp(1.4rem, 2vw, 1.8rem); line-height: 1.1; letter-spacing: -.035em; }
.why__text p { color: var(--grey-3); font-size: 15px; }

.why__vis {
  background: var(--ink); color: var(--paper);
  border-radius: 28px 6px 28px 6px;
  padding: clamp(20px, 2.4vw, 32px);
  min-height: 320px;
  display: grid; align-content: center;
}
.vis--bars { gap: 18px; }
.bar-row { display: grid; gap: 8px; }
.bar-row span { font-size: 13px; color: var(--muted-on-dark); }
.meter { display: block; height: 22px; border-radius: 99px 99px 99px 4px; }
.meter--target { width: 82%; border: 1.5px dashed rgba(255,255,255,.5); }
.meter--got { width: 82%; background: var(--accent); }
.lock { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--paper); margin-top: 6px; }
.lock svg { color: var(--accent); }

.vis--leads ul { display: grid; gap: 10px; }
.lead { display: grid; grid-template-columns: 34px 1fr 28px; align-items: center; gap: 14px; padding: 10px 14px; border-radius: 14px 14px 14px 4px; background: var(--ink-3); }
.lead i { width: 34px; height: 34px; border-radius: 50%; background: #55544f; }
.lead span { height: 10px; border-radius: 99px; background: rgba(255,255,255,.28); width: 70%; }
.lead em { font-style: normal; font-weight: 700; text-align: center; }
.lead--no { opacity: .55; }
.lead--no span { width: 40%; }
.lead--no em { color: var(--muted-on-dark); }
.lead--ok { background: var(--paper); color: var(--ink); }
.lead--ok i { background: var(--accent); }
.lead--ok span { background: rgba(17,17,16,.35); }
.lead--ok em { color: var(--accent-ink); }

.vis--days ol { display: flex; align-items: flex-end; gap: 10px; height: 230px; }
.vis--days li { flex: 1; border-radius: 14px 14px 4px 4px; background: var(--ink-3); display: flex; flex-direction: column; justify-content: space-between; padding: 10px; }
.vis--days li:nth-child(1) { height: 36%; } .vis--days li:nth-child(2) { height: 66%; }
.vis--days li:nth-child(3) { height: 100%; }
.vis--days b { font-family: var(--f-cond); font-weight: 800; font-size: 1.6rem; line-height: 1; color: var(--muted-on-dark); }
.vis--days .live { background: var(--accent); color: var(--ink); }
.vis--days .live b { color: var(--ink); font-size: 2.4rem; }
.vis--days small { font-weight: 600; font-size: 13px; }

/* ================= RESULTS ================= */
.carousel { position: relative; }
.cases {
  display: flex; gap: 14px; align-items: stretch;
  overflow-x: auto; scroll-snap-type: x proximity; scroll-behavior: smooth;
  scrollbar-width: none; -ms-overflow-style: none;
  margin: 0 calc(var(--pad) * -1); padding: 4px var(--pad) 8px; scroll-padding-inline: var(--pad);
}
.cases::-webkit-scrollbar { display: none; }
.cases:focus-visible { outline-offset: 2px; }
.cases { cursor: grab; }
.cases.is-dragging { cursor: grabbing; scroll-behavior: auto; scroll-snap-type: none; user-select: none; }
.cases.is-dragging .case { pointer-events: none; }
.carousel__progress { position: relative; height: 3px; margin: 22px auto 0; width: min(220px, 50%); background: var(--grey-1); border-radius: 99px; overflow: hidden; }
.carousel__progress i { position: absolute; left: 0; top: 0; bottom: 0; width: 40%; background: var(--ink); border-radius: 99px; transition: left .15s linear; }
.case { flex: 0 0 clamp(300px, 31vw, 420px); scroll-snap-align: start; align-content: start; display: grid; gap: 14px; background: var(--card); padding: 12px 12px clamp(16px, 1.8vw, 22px); text-decoration: none; color: var(--ink); }
.case--1 { border-radius: 40px 8px 40px 8px; transition: transform .5s var(--ease); }
.case--2 { border-radius: 8px 40px 8px 40px; }
.case--3 { border-radius: 8px 40px 8px 40px; }
.case--4 { border-radius: 40px 8px 40px 8px; }
.case--link:hover, .case--link:focus-visible { transform: translateY(-4px); }
.case__shot {
  --img: none;
  position: relative; aspect-ratio: 16 / 10; overflow: hidden;
  border-radius: 28px 6px 28px 6px;
  background:
    var(--img) var(--pos, 46% center) / cover no-repeat,
    linear-gradient(rgba(255,90,31,.9), rgba(255,90,31,.9)) 18px 118px / 38% 8px no-repeat,
    linear-gradient(rgba(255,255,255,.28), rgba(255,255,255,.28)) 18px 142px / 54% 8px no-repeat,
    linear-gradient(rgba(255,255,255,.18), rgba(255,255,255,.18)) 18px 166px / 46% 8px no-repeat,
    repeating-linear-gradient(to bottom, transparent 0 22px, rgba(255,255,255,.07) 22px 23px) 0 46px / 100% 100% no-repeat,
    var(--ink);
}
.case__bar { position: absolute; left: 0; right: 0; top: 0; height: 30px; background: var(--ink-3); display: flex; align-items: center; gap: 6px; padding: 0 14px; }
.case__bar i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.25); }
.case__bar i:first-child { background: var(--accent); }
.case__hover {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  background: rgba(13,13,12,.78); color: var(--paper);
  font-weight: 600; font-size: clamp(1.05rem, 1.5vw, 1.3rem); letter-spacing: -.02em; line-height: 1.2; text-align: center; padding: 20px;
  opacity: 0; transition: opacity .35s var(--ease);
}
.case__hover i { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: var(--ink); flex: none; transform: scale(.8); transition: transform .5s var(--ease); }
.case--link:hover .case__hover, .case--link:focus-visible .case__hover { opacity: 1; }
.case--link:hover .case__hover i, .case--link:focus-visible .case__hover i { transform: none; }
.case__niche { padding: 0 clamp(8px, 1vw, 14px); font-weight: 600; font-size: 1.05rem; letter-spacing: -.02em; line-height: 1.2; color: var(--ink); }
.case__line { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; padding: 0 clamp(8px, 1vw, 14px); margin-top: -4px; }
.case__line span { display: grid; gap: 2px; align-content: start; }
.case__line i { font-style: normal; font-size: 12px; line-height: 1.25; color: var(--grey-2); }
.case__line b { font-weight: 600; font-size: 14px; line-height: 1.25; letter-spacing: -.01em; color: var(--ink); }
.case__read { display: none; padding: 0 clamp(8px, 1vw, 14px); font-weight: 600; font-size: 14px; color: var(--accent-ink); }
@media (hover: none) { .case__read { display: inline-flex; align-items: center; gap: 8px; } }

.testi-h { margin: clamp(56px, 7vw, 96px) 0 20px; font-size: clamp(1.8rem, 3vw, 2.6rem); letter-spacing: -.035em; }
.testis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.testi {
  position: relative; overflow: hidden;
  background: var(--card); padding: clamp(22px, 2.4vw, 32px);
  display: grid; gap: 28px; align-content: space-between; min-height: 280px;
}
.testi:nth-child(1) { border-radius: 36px 8px 36px 8px; }
.testi:nth-child(2) { border-radius: 8px 36px 8px 36px; }
.testi:nth-child(3) { border-radius: 36px 36px 8px 36px; }
.testi__mark { font-family: var(--f-cond); font-weight: 900; font-size: 6rem; line-height: .6; color: var(--accent); height: 40px; }
.testi blockquote { font-size: 1.25rem; line-height: 1.3; letter-spacing: -.02em; font-weight: 500; color: var(--grey-2); }
.testi figcaption { display: grid; gap: 2px; padding-top: 16px; border-top: 1px solid var(--grey-1); }
.testi figcaption b { font-weight: 600; color: var(--grey-3); }
.testi figcaption span { font-size: 13px; color: var(--grey-2); }

/* ================= ABOUT ================= */
.about { padding-bottom: clamp(72px, 9vw, 130px); overflow: hidden; }
.about__head {
  display: grid; grid-template-columns: 1fr; gap: clamp(16px, 2vw, 26px); align-items: start;
  padding-top: clamp(80px, 9vw, 130px); margin-bottom: clamp(36px, 5vw, 64px);
}
.about__lead { font-size: clamp(1.1rem, 1.6vw, 1.45rem); line-height: 1.35; letter-spacing: -.02em; font-weight: 500; color: var(--muted-on-dark); max-width: 36ch; }

.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.a-card {
  background: var(--ink-2); border: 1px solid rgba(255,255,255,.08);
  padding: clamp(22px, 2.6vw, 36px); display: grid; gap: 22px; align-content: start;
}
.a-card p { color: var(--muted-on-dark); font-size: 14.5px; max-width: 60ch; }
.a-card h3 { font-size: clamp(1.4rem, 2vw, 1.8rem); }
.a-card--setup { border-radius: 40px 8px 8px 8px; }
.a-card--after { border-radius: 8px 40px 8px 8px; }
.a-card--dash { grid-column: 1 / -1; border-radius: 8px 8px 40px 8px; background: var(--ink-3); grid-template-columns: .8fr 1.2fr; gap: clamp(24px, 5vw, 72px); align-items: center; }
.dash__text { display: grid; gap: 16px; }

.flow { display: grid; gap: 22px; margin: 6px 0; }
.flow li { background: var(--ink-3); border-radius: 16px 16px 16px 4px; padding: 18px 20px; font-weight: 600; font-size: 1.05rem; display: flex; justify-content: space-between; align-items: center; gap: 16px; position: relative; }
.flow li:not(:last-child)::after { content: "↓"; position: absolute; left: 28px; bottom: -22px; height: 22px; line-height: 22px; color: var(--accent); font-weight: 700; }
.flow small { font-weight: 400; font-size: 13px; color: var(--muted-on-dark); text-align: right; }
.flow .go { background: var(--accent); color: var(--ink); }

.loop { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.loop li { display: flex; align-items: center; gap: 12px; background: var(--ink-3); border-radius: 14px 14px 14px 4px; padding: 14px 16px; font-weight: 600; }
.loop b { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); color: var(--accent); font-size: 15px; }
.loop .up { background: var(--accent); color: var(--ink); }
.loop .up b { background: var(--ink); color: var(--accent); }

.dash { background: var(--ink); border-radius: 18px 18px 18px 4px; padding: 14px; display: grid; gap: 14px; }
.dash__top { display: flex; gap: 6px; } .dash__top i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.18); }
.dash__top i:first-child { background: var(--accent); }
.dash__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; height: 220px; }
.dash__cols div { display: flex; flex-direction: column; justify-content: space-between; gap: 10px; }
.dash__cols span { font-size: 12px; line-height: 1.25; color: var(--muted-on-dark); min-height: 3em; }
.dash__cols b { display: block; height: var(--h); margin-top: auto; background: var(--accent); border-radius: 10px 10px 3px 3px; }
.dash__cols b.dim { background: #55544f; }
.dash__cols b.test { background: repeating-linear-gradient(135deg, var(--accent) 0 6px, transparent 6px 12px); outline: 1.5px solid var(--accent); outline-offset: -1.5px; }

.about__close {
  margin-top: clamp(56px, 8vw, 110px);
  font-size: clamp(1.8rem, 4.4vw, 4rem); line-height: 1.1; font-weight: 600; letter-spacing: -.038em;
  font-variation-settings: "wdth" 78, "opsz" 72; max-width: 18ch;
}
.circled { position: relative; display: inline-block; padding: 0 .22em; color: var(--accent); white-space: nowrap; }
.circled svg { position: absolute; inset: -22% -6%; width: 112%; height: 144%; overflow: visible; }
.circled path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.6s var(--ease) .2s; }
.is-in .circled path, .circled.is-in path { stroke-dashoffset: 0; }

/* ================= WHO ================= */
.who__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 14px; }
.pcard {
  position: relative; overflow: hidden; color: var(--paper); background: var(--ink);
  min-height: 300px; display: flex; flex-direction: column; justify-content: flex-end;
  text-align: left; font: inherit; border: 0; padding: 0; cursor: pointer;
  transition: transform .5s var(--ease);
}
.pcard:hover, .pcard:focus-visible { transform: translateY(-4px); }
.pcard:focus-visible { outline-offset: 4px; }
.pcard__img {
  position: absolute; inset: 0; overflow: hidden;
  background: linear-gradient(160deg, var(--ink-3), var(--ink));
}
.pcard__img::before {
  content: ""; position: absolute; inset: 0;
  background: var(--img, none) var(--pos, center) / cover no-repeat;
  transition: transform 1s var(--ease), filter .5s var(--ease);
}
.pcard__img::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 1px 1px, rgba(255,255,255,.09) 1px, transparent 1.4px) 0 0 / 5px 5px,
    linear-gradient(to top, rgba(13,13,12,.85) 0, rgba(13,13,12,.4) 40%, rgba(13,13,12,0) 80%);
}
.pcard:hover .pcard__img::before, .pcard:focus-visible .pcard__img::before { transform: scale(1.06); filter: grayscale(1) contrast(1.08) brightness(.9); }
.pcard__txt { position: relative; padding: clamp(20px, 2.2vw, 30px); display: grid; gap: 10px; width: 100%; }
.pcard h3 { font-size: clamp(1.5rem, 2.4vw, 2.1rem); line-height: 1.1; letter-spacing: -.035em; }
.pcard__more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.pcard__more > * { overflow: hidden; min-height: 0; }
.pcard__desc { font-size: 14px; line-height: 1.4; color: var(--muted-on-dark); opacity: 0; transition: opacity .35s var(--ease); }
.pcard__cta {
  display: inline-flex; align-items: center; gap: 8px; justify-self: start; width: max-content;
  background: var(--accent); color: var(--ink); font-weight: 600; font-size: 14px;
  padding: 12px 16px 12px 18px; border-radius: 999px 999px 999px 8px;
  opacity: 0; transform: translateY(8px); transition: opacity .35s var(--ease), transform .5s var(--ease);
}
.pcard:hover .pcard__more, .pcard:focus-visible .pcard__more { grid-template-rows: auto auto; }
.pcard:hover .pcard__desc, .pcard:focus-visible .pcard__desc { opacity: 1; }
.pcard:hover .pcard__cta, .pcard:focus-visible .pcard__cta { opacity: 1; transform: none; margin-top: 6px; }
@media (hover: none) {
  .pcard__more { grid-template-rows: auto auto; }
  .pcard__desc, .pcard__cta { opacity: 1; transform: none; }
  .pcard__cta { margin-top: 6px; }
}
.pcard--1 { grid-column: span 5; border-radius: 40px 8px 40px 8px; }
.pcard--2 { grid-column: span 4; border-radius: 8px 40px 8px 40px; }
.pcard--3 { grid-column: span 3; border-radius: 40px 40px 8px 40px; }
.pcard--4 { grid-column: span 4; border-radius: 8px 40px 8px 40px; }
.pcard--5 { grid-column: span 4; border-radius: 40px 8px 40px 8px; }
.pcard--cta {
  grid-column: span 4; border-radius: 8px 40px 40px 40px; cursor: auto;
  background: var(--accent); color: var(--ink);
  padding: clamp(24px, 2.6vw, 36px); justify-content: space-between; align-items: flex-start;
}
.pcard--cta:hover { transform: none; }
.pcard--cta h3 { font-size: clamp(1.8rem, 3vw, 2.8rem); max-width: 10ch; line-height: 1.02; }

/* ---- modal ---- */
.modal { border: 0; padding: 0; background: transparent; width: min(520px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); color: var(--ink); overflow: visible; }
.modal::backdrop { background: rgba(13,13,12,.72); backdrop-filter: blur(6px); }
.modal[open] { animation: pop .45s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(.97); } }
.modal .form { position: relative; box-shadow: 0 40px 80px -30px rgba(0,0,0,.8); max-height: calc(100dvh - 24px); overflow: auto; }
.modal h2 { font-size: clamp(2rem, 4vw, 2.8rem); }
.modal__niche { font-weight: 600; color: var(--accent-ink); font-size: 14px; }
.modal__niche:empty { display: none; }
.modal__close {
  position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%;
  border: 0; background: var(--paper-2); color: var(--ink); font-size: 24px; line-height: 1; cursor: pointer;
  transition: background-color .2s;
}
.modal__close:hover { background: var(--accent); }

/* ================= CONSULT ================= */
.consult { padding-bottom: clamp(48px, 6vw, 90px) !important; }
.consult__card {
  margin-top: clamp(24px, 4vw, 56px);
  background: var(--ink); color: var(--paper);
  border-radius: 56px 10px 56px 10px;
  padding: clamp(32px, 5vw, 72px);
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 80px); align-items: end;
  position: relative; overflow: hidden;
}
.consult__body { display: grid; gap: 14px; color: var(--muted-on-dark); position: relative; z-index: 1; }
.consult__body p:first-child { color: var(--paper); font-size: 1.2rem; line-height: 1.35; letter-spacing: -.02em; font-weight: 500; }
.consult__body .btn { justify-self: start; margin-top: 12px; }

/* ================= PROCESS: rising stairs ================= */
.stairs { position: relative; height: 620px; }
.stairs__steps { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; align-items: end; }
.stairs__steps li {
  height: calc(190px + var(--i) * 66px);
  padding: clamp(16px, 1.6vw, 24px);
  display: flex; flex-direction: column; gap: 10px; justify-content: flex-end;
  border-radius: 26px 26px 6px 6px;
  box-shadow: 0 18px 40px -26px rgba(17,17,16,.6);
}
.stairs__steps li:nth-child(1) { background: var(--card); }
.stairs__steps li:nth-child(2) { background: #ddddd8; border-radius: 6px 26px 6px 6px; }
.stairs__steps li:nth-child(3) { background: #a9a8a1; }
.stairs__steps li:nth-child(4) { background: var(--ink-3); color: var(--paper); border-radius: 6px 26px 6px 6px; }
.stairs__steps li:nth-child(5) { background: var(--accent); color: var(--ink); }
.stairs .n { font-family: var(--f-cond); font-weight: 900; font-size: clamp(2.6rem, 4vw, 4rem); line-height: .8; margin-bottom: auto; }
.stairs h3 { font-size: clamp(1.05rem, 1.5vw, 1.4rem); }
.stairs p { font-size: 14px; line-height: 1.4; }
.stairs__arrow { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.stairs__arrow svg { width: 100%; height: 100%; overflow: visible; }
.stairs__arrow path { fill: none; stroke: var(--ink); stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.8s var(--ease) .3s; }
.stairs__arrow .a-head { transition: stroke-dashoffset .5s var(--ease) 2s; }
.stairs.is-in .stairs__arrow path { stroke-dashoffset: 0; }

/* ================= CONTACT ================= */
.contact { padding-bottom: 28px; overflow: hidden; }
.contact__grid {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 96px);
  padding-top: clamp(80px, 9vw, 130px); padding-bottom: clamp(64px, 8vw, 110px); align-items: start;
}
.contact__intro h2 { font-size: clamp(3rem, 8vw, 6rem); }
.contact__lead { margin-top: 28px; font-size: clamp(1.1rem, 1.6vw, 1.4rem); line-height: 1.35; letter-spacing: -.02em; font-weight: 500; max-width: 34ch; }
.contact__muted { margin-top: 16px; color: var(--muted-on-dark); max-width: 44ch; }
.contact__chat { margin-top: 44px; display: flex; flex-wrap: wrap; gap: 12px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.14); }
.chat {
  display: inline-flex; align-items: center; gap: 12px; text-decoration: none;
  padding: 14px 22px 14px 18px; font-weight: 600; font-size: 16px;
  background: var(--ink-3); color: var(--paper);
  border-radius: 999px 999px 999px 10px;
  transition: background-color .25s, color .25s, transform .35s var(--ease);
}
.chat svg { color: var(--accent); transition: color .25s; }
.chat:hover, .chat:focus-visible { background: var(--accent); color: var(--ink); transform: translateY(-2px); }
.chat:hover svg, .chat:focus-visible svg { color: var(--ink); }

.form { position: relative; box-shadow: 0 40px 80px -30px rgba(0,0,0,.8); max-height: calc(100dvh - 24px); overflow: auto; }
.modal h2 { font-size: clamp(2rem, 4vw, 2.8rem); }
.modal__niche { font-weight: 600; color: var(--accent-ink); font-size: 14px; }
.modal__niche:empty { display: none; }
.modal__close {
  position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%;
  border: 0; background: var(--paper-2); color: var(--ink); font-size: 24px; line-height: 1; cursor: pointer;
  transition: background-color .2s;
}
.modal__close:hover { background: var(--accent); }

/* ================= CONSULT ================= */
.consult { padding-bottom: clamp(48px, 6vw, 90px) !important; }
.consult__card {
  margin-top: clamp(24px, 4vw, 56px);
  background: var(--ink); color: var(--paper);
  border-radius: 56px 10px 56px 10px;
  padding: clamp(32px, 5vw, 72px);
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 80px); align-items: end;
  position: relative; overflow: hidden;
}
.consult__body { display: grid; gap: 14px; color: var(--muted-on-dark); position: relative; z-index: 1; }
.consult__body p:first-child { color: var(--paper); font-size: 1.2rem; line-height: 1.35; letter-spacing: -.02em; font-weight: 500; }
.consult__body .btn { justify-self: start; margin-top: 12px; }

/* ================= PROCESS: rising stairs ================= */
.stairs { position: relative; height: 620px; }
.stairs__steps { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; align-items: end; }
.stairs__steps li {
  height: calc(190px + var(--i) * 66px);
  padding: clamp(16px, 1.6vw, 24px);
  display: flex; flex-direction: column; gap: 10px; justify-content: flex-end;
  border-radius: 26px 26px 6px 6px;
  box-shadow: 0 18px 40px -26px rgba(17,17,16,.6);
}
.stairs__steps li:nth-child(1) { background: var(--card); }
.stairs__steps li:nth-child(2) { background: #ddddd8; border-radius: 6px 26px 6px 6px; }
.stairs__steps li:nth-child(3) { background: #a9a8a1; }
.stairs__steps li:nth-child(4) { background: var(--ink-3); color: var(--paper); border-radius: 6px 26px 6px 6px; }
.stairs__steps li:nth-child(5) { background: var(--accent); color: var(--ink); }
.stairs .n { font-family: var(--f-cond); font-weight: 900; font-size: clamp(2.6rem, 4vw, 4rem); line-height: .8; margin-bottom: auto; }
.stairs h3 { font-size: clamp(1.05rem, 1.5vw, 1.4rem); }
.stairs p { font-size: 14px; line-height: 1.4; }
.stairs__arrow { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.stairs__arrow svg { width: 100%; height: 100%; overflow: visible; }
.stairs__arrow path { fill: none; stroke: var(--ink); stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.8s var(--ease) .3s; }
.stairs__arrow .a-head { transition: stroke-dashoffset .5s var(--ease) 2s; }
.stairs.is-in .stairs__arrow path { stroke-dashoffset: 0; }

/* ================= CONTACT ================= */
.contact { padding-bottom: 28px; overflow: hidden; }
.contact__grid {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 96px);
  padding-top: clamp(80px, 9vw, 130px); padding-bottom: clamp(64px, 8vw, 110px); align-items: start;
}
.contact__intro h2 { font-size: clamp(3rem, 8vw, 6rem); }
.contact__lead { margin-top: 28px; font-size: clamp(1.1rem, 1.6vw, 1.4rem); line-height: 1.35; letter-spacing: -.02em; font-weight: 500; max-width: 34ch; }
.contact__muted { margin-top: 16px; color: var(--muted-on-dark); max-width: 44ch; }
.contact__details { margin-top: 44px; display: grid; gap: 10px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.14); }
.contact__tel { font-family: var(--f-cond); font-weight: 800; font-size: clamp(2rem, 3.6vw, 3rem); text-decoration: none; line-height: 1; width: max-content; }
.contact__tel:hover, .contact__social a:hover { color: var(--accent); }
.contact__social { color: var(--muted-on-dark); }
.contact__social a { text-decoration: none; color: var(--paper); border-bottom: 1px solid rgba(255,255,255,.3); }
.contact__social i { font-style: normal; margin: 0 8px; opacity: .5; }

.form {
  background: var(--paper); color: var(--ink);
  border-radius: 48px 10px 48px 10px;
  padding: clamp(26px, 3.4vw, 46px);
  display: grid; gap: 20px;
}
.form__intro { font-size: 1.2rem; line-height: 1.3; letter-spacing: -.02em; font-weight: 600; max-width: 26ch; }
.field { display: grid; gap: 6px; }
.field label { font-size: 13px; font-weight: 600; color: var(--grey-3); }
.field label em { font-style: normal; font-weight: 400; color: var(--grey-2); }
.field abbr { text-decoration: none; color: var(--accent-ink); }
.field input, .field textarea {
  width: 100%; font: 500 17px/1.3 var(--f-sans); color: var(--ink);
  background: transparent; border: 0; border-bottom: 1.5px solid var(--ink);
  padding: 10px 0 12px; border-radius: 0; resize: vertical; caret-color: var(--accent);
  transition: border-color .2s, background-color .2s;
}
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--accent); background: rgba(255,90,31,.06); }
.field.is-bad input { border-bottom-color: var(--accent-ink); }
.field__err { font: 500 12px var(--f-sans); color: var(--accent-ink); }
.field__err:empty { display: none; }
.form__status { font-size: 14px; color: var(--grey-3); min-height: 1.2em; }
.form.is-done .field, .form.is-done .btn, .form.is-done .form__intro, .form.is-done h2 { display: none; }
.form.is-done .form__status { font-size: 1.4rem; color: var(--ink); font-weight: 600; letter-spacing: -.02em; }

.foot { display: flex; justify-content: space-between; gap: 16px; border-top: 1px solid rgba(255,255,255,.14); padding-top: 18px; padding-bottom: 8px; color: var(--muted-on-dark); font-size: 13px; }


/* ---------- reveal ---------- */
.js .rv { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .rv.is-in { opacity: 1; transform: none; }

/* ================= RESPONSIVE ================= */
@media (max-width: 1020px) {
  .about__grid { grid-template-columns: 1fr; }
  .svc-grid { grid-template-columns: 1fr; }
  .svc--auto { margin-top: 0; }
  .why__rows { grid-template-columns: 1fr; }
  .why__vis { min-height: 260px; }
  .a-card--dash { grid-template-columns: 1fr; }
  .about__head, .consult__card, .contact__grid { grid-template-columns: 1fr; }
  .testis { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  .nav__links { display: none; }
  .nav { padding-left: 18px; }
  .hero { min-height: 0; display: flex; flex-direction: column; padding-bottom: 60px; }
  .hero__copy { position: relative; left: auto; bottom: auto; width: auto; margin: 44px var(--pad) 0; z-index: 4; order: 1; }
  .hero__title { font-size: clamp(2.5rem, 11.5vw, 3.8rem); }
  .hero__plate { position: relative; right: auto; top: auto; bottom: auto; width: min(86vw, 460px); margin: -30px 2vw 0 auto; order: 2; max-height: 440px; overflow: hidden; background-position: center top; }
  .hero__rise { top: auto; bottom: 0; left: 0; right: 0; height: 62%; z-index: 1; }
  .hero__bars { width: 100%; height: 40%; }
  .hero__wordmark { top: 60px; font-size: 27vw; }

  .who__grid { grid-template-columns: 1fr 1fr; }
  .pcard--1, .pcard--2, .pcard--3, .pcard--4, .pcard--5 { grid-column: span 1; min-height: 240px; }
  .pcard--cta { grid-column: 1 / -1; min-height: 200px; }

  .stairs { height: auto; }
  .stairs__arrow { display: none; }
  .stairs__steps { position: relative; grid-template-columns: 1fr; }
  .stairs__steps li { height: auto; min-height: 150px; margin-left: calc((var(--i) - 1) * 4%); border-radius: 22px 22px 6px 22px !important; }
  .stairs .n { margin-bottom: 8px; }
  .foot { padding-bottom: 80px; }
}

@media (max-width: 600px) {
  .who__grid { grid-template-columns: 1fr; }
  .loop { grid-template-columns: 1fr; }
  .dash__cols { height: 220px; }
  .nav__cta { padding: 11px 16px; }
}

/* ================= TABLET (601–820) ================= */
@media (min-width: 601px) and (max-width: 820px) {
  /* hero: side by side again instead of stacked */
  .hero { display: block; min-height: 720px; padding-bottom: 0; }
  .hero__copy { position: absolute; left: var(--pad); bottom: 64px; width: 41%; margin: 0; }
  .hero__title { font-size: clamp(1.9rem, 5.2vw, 2.7rem); }
  .hero__sub { font-size: 15px; }
  .hero__plate { position: absolute; right: -2vw; top: 10%; width: 54vw; max-height: none; margin: 0; overflow: visible; }
  .hero__rise { top: 3%; bottom: auto; left: 30%; right: 1.5%; height: 94%; }
  .hero__wordmark { top: 6%; font-size: 24vw; }
  /* who: three across (5 cards + CTA = 3x2) */
  .who__grid { grid-template-columns: repeat(3, 1fr); }
  .pcard--cta { grid-column: span 1; min-height: 240px; }
  .pcard h3 { font-size: 1.35rem; }
  /* process: keep the rising staircase */
  .stairs { height: 560px; }
  .stairs__arrow { display: block; }
  .stairs__steps { position: absolute; grid-template-columns: repeat(5, 1fr); gap: 8px; }
  .stairs__steps li { height: calc(170px + var(--i) * 60px); min-height: 0; margin-left: 0; padding: 14px; border-radius: 22px 22px 6px 6px !important; }
  .stairs .n { margin-bottom: auto; font-size: 2.2rem; }
  .stairs h3 { font-size: 1rem; }
  .stairs p { font-size: 12.5px; }
}

/* ================= PHONE HERO (≤600) ================= */
@media (max-width: 600px) {
  .hero { display: flex; flex-direction: column; min-height: 0; padding-bottom: 52px; }
  .hero__copy { display: contents; }
  .hero__title { order: 1; position: relative; z-index: 2; margin: 34px var(--pad) 0; max-width: none; font-size: clamp(1.9rem, 8.6vw, 2.7rem); line-height: 1.06; letter-spacing: -.02em; }
  .hero__sub { order: 2; position: relative; z-index: 2; margin: 16px var(--pad) 0; max-width: 34ch; font-size: 15px; }
  .hero__plate {
    order: 3; position: relative; z-index: 3; right: auto; top: auto; bottom: auto; margin: 4px 0 0;
    width: 100%; height: 118vw; max-height: none; aspect-ratio: auto; overflow: hidden;
    background-size: 112% auto; background-position: 46% top;
    -webkit-mask-image: linear-gradient(to bottom, #000 72%, transparent 100%);
            mask-image: linear-gradient(to bottom, #000 72%, transparent 100%);
    filter: none;
  }
  .hero__copy .btn { order: 4; position: relative; z-index: 4; margin: -6px var(--pad) 0; justify-content: space-between; padding: 19px 22px 19px 26px; }
  .hero__rise { top: 170px; bottom: 90px; left: 0; right: 0; height: auto; z-index: 1; }
  .hero__wordmark { top: 150px; font-size: 30vw; }
  .hero__bars { width: 100%; height: 48%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .001ms !important; animation: none !important; }
  .js .rv { opacity: 1; transform: none; }
  .rise-line, .rise-head, .circled path, .stairs__arrow path { stroke-dashoffset: 0; }
  .cycle__orbit, .wires path, .leads circle { animation: none; }
}


/* ================= CASE PAGE ================= */
.cpage { padding-bottom: clamp(72px, 9vw, 130px); border-radius: 30px 30px 0 0; }
.cpage__back { display: inline-flex; gap: 8px; margin-top: clamp(40px, 6vw, 80px); font-weight: 600; text-decoration: none; color: var(--grey-3); }
.cpage__back:hover { color: var(--ink); }
.cpage h1 { font-size: clamp(2.6rem, 6.4vw, 6rem); line-height: .96; font-weight: 600; letter-spacing: -.04em; font-variation-settings: "wdth" 76, "opsz" 96; max-width: 16ch; margin: 18px 0 clamp(28px, 4vw, 52px); text-wrap: balance; }
.cpage__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 14px; }
.cpage__stats > div { background: var(--card); padding: clamp(20px, 2.4vw, 32px); display: grid; gap: 10px; }
.cpage__stats > div:nth-child(1) { border-radius: 40px 8px 8px 8px; }
.cpage__stats > div:nth-child(2) { border-radius: 8px; }
.cpage__stats > div:nth-child(3) { border-radius: 8px 40px 8px 8px; background: var(--ink); color: var(--paper); }
.cpage__stats b { font-family: var(--f-cond); font-weight: 900; font-size: clamp(3.4rem, 8vw, 7rem); line-height: .8; }
.cpage__stats > div:nth-child(3) b { color: var(--accent); }
.cpage__stats span { font-size: 14px; color: var(--grey-3); }
.cpage__stats > div:nth-child(3) span { color: var(--muted-on-dark); }
.cpage__shot { background: #fff; border: 1px solid var(--grey-1); border-radius: 28px 8px 28px 8px; overflow: hidden; margin-bottom: clamp(36px, 5vw, 72px); }
.cpage__shot img { width: 100%; height: auto; }
.cpage__body { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: clamp(20px, 4vw, 56px); }
.cpage__body h2 { font-size: clamp(1.5rem, 2.2vw, 2rem); margin-bottom: 12px; }
.cpage__body p { color: var(--grey-3); font-style: italic; }
.cpage__cta { margin-top: clamp(48px, 7vw, 96px); background: var(--ink); color: var(--paper); border-radius: 48px 10px 48px 10px; padding: clamp(28px, 4vw, 56px); display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; }
.cpage__cta h2 { font-size: clamp(1.8rem, 3.6vw, 3.2rem); }
@media (max-width: 820px) {
  .cpage__stats, .cpage__body, .cpage__cta { grid-template-columns: 1fr; }
}
