/* Layout: agency-style dark page (after the Rekolet reference): oversized uppercase type, rounded cards, numbered service rows; lime is the only signal colour, as in the meln.grow posts */
:root {
  color-scheme: dark;
  --bg: #080a08;
  --raise: #0e120d;
  --card: #111610;
  --line: rgba(236, 244, 226, 0.1);
  --line-lime: rgba(167, 223, 87, 0.28);
  --fg: #f0f3eb;
  --mute: #a4ad9b;
  --dim: #6f7968;
  --lime: #a7df57;
  --lime-wash: rgba(167, 223, 87, 0.08);
  --lime-glow: rgba(120, 196, 48, 0.32);
  --on-lime: #0a1205;
  --on-lime-mute: rgba(10, 18, 5, 0.72);

  --f-head: "Plus Jakarta Sans", "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "DM Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --t-mega: clamp(2.5rem, 0.9rem + 6.6vw, 8.2rem);
  --t-giant: clamp(3rem, 0.6rem + 9.6vw, 10.5rem);
  --t-h2: clamp(2.1rem, 1.1rem + 3.9vw, 5rem);
  --t-h3: clamp(1.15rem, 1.05rem + 0.4vw, 1.4rem);
  --t-body: 1.0625rem;
  --t-small: 0.875rem;
  --t-label: 0.72rem;

  --gutter: max(clamp(18px, 4vw, 40px), env(safe-area-inset-left, 0px));
  --gutter-r: max(clamp(18px, 4vw, 40px), env(safe-area-inset-right, 0px));
  --wrap: 1320px;
  --section: clamp(72px, 8vw, 124px);
  --r: 20px;
  --r-lg: clamp(22px, 2.4vw, 32px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: transparent;
  color: var(--fg);
  font-family: var(--f-body);
  font-size: var(--t-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  margin: 0;
}
[hidden] { display: none !important; }

/* page background: Anton's photo, a green glow rising from the bottom-left corner into black.
   The photo's edges away from the glow are pure black, so it is shown whole (contain) and black fills the rest of the screen. */
.bg { position: fixed; inset: 0; z-index: -2; pointer-events: none; background: #000 url("assets/bg.jpg") 0% 100% / contain no-repeat; }
html { background-color: #000; }

body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px);
  z-index: 30;
  background: var(--bg);
}
a { color: inherit; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 8px; }

.wrap {
  max-width: calc(var(--wrap) + 80px);
  margin-inline: auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter-r);
}

h1, h2, h3 { font-family: var(--f-head); font-weight: 800; margin: 0; text-wrap: balance; }
h1, h2 { text-transform: uppercase; letter-spacing: -0.045em; line-height: 0.98; }
h1 { line-height: 1.01; }
h3 { letter-spacing: -0.02em; line-height: 1.2; }
h1 em, h2 em, p em { font-style: normal; color: var(--lime); }
p { margin: 0; }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--f-mono);
  font-size: var(--t-label);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mute);
}
.tag i {
  font-style: normal;
  color: var(--lime);
  border: 1px solid var(--line-lime);
  border-radius: 999px;
  padding: 0.22rem 0.6rem;
  letter-spacing: 0.08em;
}
.label {
  font-family: var(--f-mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dim);
}
.lede { color: var(--mute); max-width: 54ch; font-size: clamp(1.02rem, 0.98rem + 0.25vw, 1.15rem); }

/* buttons: pill + round icon, as in the reference */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
  padding: 0.5rem 0.5rem 0.5rem 1.4rem;
  min-height: 56px;
  border-radius: 999px;
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: -0.01em;
  text-decoration: none;
  background: var(--lime);
  color: var(--on-lime);
  border: 1px solid var(--lime);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}
.btn .bi {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: none;
  background: var(--on-lime);
  color: var(--lime);
  transition: transform 0.25s ease;
}
.btn .bi svg { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -16px var(--lime-glow); }
.btn:hover .bi { transform: rotate(-45deg); }
.btn.ghost { background: transparent; color: var(--fg); border-color: var(--line); }
.btn.ghost .bi { background: var(--lime); color: var(--on-lime); }
.btn.ghost:hover { border-color: var(--lime); box-shadow: none; }
.btn.ghost:not(:has(.bi)) { padding: 0.5rem 1.5rem; }
.btn.dark { background: var(--on-lime); color: var(--lime); border-color: var(--on-lime); }
.btn.dark .bi { background: var(--lime); color: var(--on-lime); }
.btn.sm { min-height: 46px; padding: 0.35rem 0.35rem 0.35rem 1.1rem; font-size: 0.88rem; gap: 0.7rem; }
.btn.sm .bi { width: 34px; height: 34px; }
.btn.sm .bi svg { width: 15px; height: 15px; }

/* header */
.top {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 20;
  background: rgba(8, 10, 8, 0.72);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.top .wrap { display: flex; align-items: center; gap: 1rem; min-height: 76px; }
.brand {
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: -0.04em;
  text-decoration: none;
  white-space: nowrap;
}
.brand b { color: var(--lime); font-weight: 800; }
.nav {
  display: flex;
  gap: 0.25rem;
  margin-left: auto;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
}
.nav a {
  white-space: nowrap;
  color: var(--mute);
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 600;
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  transition: color 0.15s, background 0.15s;
}
.nav a:hover { color: var(--fg); background: rgba(255, 255, 255, 0.06); }
.top .spacer { flex: 1; }
.lang {
  display: inline-flex;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  gap: 2px;
}
.lang a, .lang button {
  font-family: var(--f-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  padding: 0.42rem 0.72rem;
  border-radius: 999px;
  border: 0;
  background: none;
  color: var(--mute);
  text-decoration: none;
  cursor: pointer;
  line-height: 1.2;
}
.lang a:hover, .lang button:hover { color: var(--fg); }
.lang [aria-current="page"], .lang [aria-pressed="true"] { background: var(--lime); color: var(--on-lime); }
@media (max-width: 1120px) { .nav { display: none; } }
@media (max-width: 560px) {
  .top .btn { display: none; }
  .top .wrap { min-height: 64px; }
  .brand { font-size: 1.2rem; }
}

@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

/* hero */
.hero { position: relative; overflow: hidden; }
/* knight with chopsticks ("ход конем") sits right of the headline; its black drops out over the page background */
.hero-art {
  position: absolute;
  z-index: 0;
  top: clamp(-110px, -6vw, -30px);
  right: max(-2vw, calc((100vw - 1400px) / 2));
  width: min(60vw, 860px);
  pointer-events: none;
  mix-blend-mode: screen;
  -webkit-mask-image: radial-gradient(ellipse 72% 72% at 70% 52%, #000 46%, transparent 100%);
  mask-image: radial-gradient(ellipse 72% 72% at 70% 52%, #000 46%, transparent 100%);
}
.hero-art img { width: 100%; height: auto; animation: float 12s ease-in-out infinite; }
.hero .wrap { position: relative; z-index: 1; padding-block: clamp(36px, 6vw, 72px) clamp(56px, 7vw, 96px); }
.hero-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; }
.who { display: inline-flex; align-items: center; gap: 0.7rem; padding: 4px 16px 4px 4px; border: 1px solid var(--line); border-radius: 999px; background: rgba(8, 10, 8, 0.5); }
.who img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.who b { font-family: var(--f-head); font-weight: 700; font-size: 0.95rem; }
.kicker { font-family: var(--f-mono); font-size: var(--t-label); letter-spacing: 0.14em; text-transform: uppercase; color: var(--mute); }
.hero h1 { font-size: var(--t-mega); margin-top: clamp(36px, 6vw, 72px); max-width: 15ch; }
.hero-foot {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem 3rem;
  align-items: end;
  margin-top: clamp(32px, 5vw, 56px);
  padding-top: clamp(24px, 3vw, 32px);
  border-top: 1px solid var(--line);
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; justify-content: flex-end; }
.hero-cta .note { flex-basis: 100%; text-align: right; font-size: var(--t-small); color: var(--dim); }
@media (max-width: 860px) {
  .hero-foot { grid-template-columns: 1fr; }
  .hero-cta { justify-content: flex-start; }
  .hero-cta .note { text-align: left; }
}
@media (max-width: 760px) {
  .hero-art { width: 112vw; right: -9vw; top: -24px; opacity: 0.7; }
}

/* marquee */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding-block: clamp(16px, 2vw, 24px); background: rgba(14, 18, 13, 0.55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.marquee .track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee .group { display: flex; align-items: center; gap: clamp(20px, 2.6vw, 40px); padding-right: clamp(20px, 2.6vw, 40px); }
.marquee .item {
  font-family: var(--f-head);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  font-size: clamp(1.3rem, 0.9rem + 1.8vw, 2.6rem);
  white-space: nowrap;
  line-height: 1;
}
.marquee .item:nth-child(4n + 3) { color: var(--dim); }
.marquee svg { width: clamp(18px, 2vw, 28px); height: clamp(18px, 2vw, 28px); color: var(--lime); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* stats */
.stats-sec { padding-block: clamp(48px, 6vw, 80px); }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stat { padding: 0 clamp(16px, 2.4vw, 32px); min-width: 0; display: grid; gap: 0.6rem; align-content: start; }
.stat:first-child { padding-left: 0; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat b {
  font-family: var(--f-head);
  font-weight: 800;
  font-size: clamp(2.2rem, 1.2rem + 3.4vw, 4.8rem);
  letter-spacing: -0.05em;
  line-height: 0.95;
  text-transform: uppercase;
  font-variant-numeric: tabular-nums;
}
.stat:nth-child(2) b { color: var(--lime); }
.stat > span { color: var(--mute); font-size: var(--t-small); max-width: 28ch; }
/* Meta + Google: two logo cards fanned like playing cards, tilted in 3D, right next to the word "Google".
   Sizes are in em of the heading, so the cards grow and shrink with the text. */
.stats-sec { overflow-x: clip; }
.duo-row { display: flex; align-items: flex-end; gap: 0.16em; font-size: clamp(2.2rem, 1.2rem + 3.4vw, 4.8rem); }
.stat-duo b { width: min-content; }
.duo { position: relative; flex: none; width: 1.7em; height: 1.78em; margin-bottom: 0.02em; perspective: 10em; pointer-events: none; }
.duo-in { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateX(14deg) rotateY(-20deg); animation: duo 9s ease-in-out infinite; }
.duo-card {
  position: absolute;
  width: 0.98em;
  height: 1.3em;
  border-radius: 0.22em;
  display: grid;
  place-items: center;
  background: linear-gradient(150deg, #ffffff 0%, #f1f4ee 55%, #dde3d6 100%);
  box-shadow: 0 0.3em 0.44em -0.15em rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.95);
  overflow: hidden;
}
.duo-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(125deg, rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0) 38%, rgba(0, 0, 0, 0) 70%, rgba(0, 0, 0, 0.08) 100%); }
.duo-card img { width: 66%; height: auto; }
.duo-card.google img { width: 58%; }
.duo-card.meta img { transform: translateX(-10%); }
.duo-card.meta { left: 0; top: 0.46em; transform: rotate(-12deg); }
.duo-card.google { left: 0.7em; top: 0; transform: translateZ(0.35em) rotate(10deg); }
@keyframes duo {
  0%, 100% { transform: rotateX(14deg) rotateY(-20deg) translateY(0); }
  50% { transform: rotateX(8deg) rotateY(-10deg) translateY(-0.08em); }
}
@media (prefers-reduced-motion: reduce) { .duo-in { animation: none; } }
@media (max-width: 1100px) { .duo { font-size: 0.86em; } }
@media (max-width: 920px) { .duo { font-size: 0.7em; } }
@media (max-width: 840px) { .duo { font-size: 0.56em; } }
@media (max-width: 760px) {
  .stats { grid-template-columns: 1fr; }
  .stat, .stat:first-child { padding: 1.4rem 0; border-left: 0 !important; border-bottom: 1px solid var(--line); }
  .stat:first-child { padding-top: 0; }
  .duo { font-size: 1.4em; margin-left: 0.04em; }
}

/* sections */
.sec { padding-block: var(--section); border-top: 1px solid var(--line); scroll-margin-top: 40px; }
.stack { display: grid; gap: 1.2rem; align-content: start; min-width: 0; }
.sec-head { display: grid; gap: 1.3rem; margin-bottom: clamp(40px, 5vw, 72px); }
.sec-head h2, .sec h2 { font-size: var(--t-h2); }
.sec-head h2 { max-width: 18ch; }
.sec-head.row { grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); align-items: end; gap: 1.5rem 3rem; }
@media (max-width: 900px) { .sec-head.row { grid-template-columns: 1fr; } }

/* services: numbered rows */
.svc-list { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--line); }
.svc {
  display: grid;
  grid-template-columns: 64px minmax(0, 1.05fr) minmax(0, 1fr) 52px;
  gap: 1.4rem clamp(16px, 2.4vw, 36px);
  align-items: center;
  padding: clamp(22px, 2.6vw, 34px) clamp(12px, 1.6vw, 24px);
  border-top: 1px solid var(--line);
  border-radius: 0;
  transition: background 0.3s ease, color 0.3s ease, border-radius 0.3s ease;
}
.svc .n { font-family: var(--f-mono); font-size: 0.85rem; color: var(--lime); letter-spacing: 0.06em; transition: color 0.3s; }
.svc h3 {
  font-size: clamp(1.35rem, 0.95rem + 1.6vw, 2.5rem);
  text-transform: uppercase;
  letter-spacing: -0.04em;
  line-height: 0.98;
}
.svc-body { display: grid; gap: 0.7rem; min-width: 0; }
.svc-body p { color: var(--mute); transition: color 0.3s; }
.svc .k { font-family: var(--f-mono); font-size: var(--t-label); letter-spacing: 0.1em; text-transform: uppercase; color: var(--lime); transition: color 0.3s; }
.svc .go {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--fg);
  transition: transform 0.3s ease, background 0.3s, color 0.3s, border-color 0.3s;
}
.svc .go svg { width: 20px; height: 20px; }
@media (hover: hover) {
  .svc:hover { background: var(--lime); color: var(--on-lime); border-radius: var(--r); }
  .svc:hover + .svc { border-top-color: transparent; }
  .svc:hover .n, .svc:hover .k { color: var(--on-lime); }
  .svc:hover .svc-body p { color: var(--on-lime-mute); }
  .svc:hover .go { background: var(--on-lime); color: var(--lime); border-color: var(--on-lime); transform: rotate(-45deg); }
}
@media (max-width: 820px) {
  .svc { grid-template-columns: 40px minmax(0, 1fr); padding-inline: 0; gap: 0.9rem 0.8rem; align-items: start; }
  .svc .n { padding-top: 0.35rem; }
  .svc-body { grid-column: 2; }
  .svc .go { display: none; }
}

/* lead: calculator + lime card */
.lead-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 16px; align-items: stretch; }
@media (max-width: 960px) { .lead-grid { grid-template-columns: 1fr; } }
.punch-card {
  border-radius: var(--r-lg);
  background: var(--lime);
  color: var(--on-lime);
  padding: clamp(24px, 3.4vw, 44px);
  display: grid;
  gap: 1.4rem;
  align-content: space-between;
  position: relative;
  overflow: hidden;
}
.punch-card::after {
  content: "";
  position: absolute;
  width: 70%;
  aspect-ratio: 1;
  right: -25%;
  top: -30%;
  border-radius: 50%;
  border: 1px solid rgba(10, 18, 5, 0.18);
  box-shadow: 0 0 0 40px rgba(10, 18, 5, 0.04), 0 0 0 80px rgba(10, 18, 5, 0.03);
  pointer-events: none;
}
.punch {
  font-family: var(--f-head);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.045em;
  line-height: 0.95;
  font-size: clamp(1.9rem, 1.2rem + 2.4vw, 3.3rem);
  text-wrap: balance;
  position: relative;
}
.punch em { font-style: normal; color: var(--on-lime); text-decoration: underline; text-decoration-thickness: 0.09em; text-underline-offset: 0.1em; }
.punch-card .verdict { color: var(--on-lime-mute); font-size: 1rem; min-height: 3em; margin: 0; position: relative; }
.punch-card .verdict em { color: var(--on-lime); font-weight: 800; font-style: normal; }
.punch-card .btn { justify-self: start; background: var(--on-lime); color: var(--lime); border-color: var(--on-lime); position: relative; }
.punch-card .btn .bi { background: var(--lime); color: var(--on-lime); }
.punch-card .btn { white-space: normal; }

/* audit: one large card, like a pricing tier */
.audit-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 80px);
  padding: clamp(24px, 4.4vw, 64px);
  border-radius: var(--r-lg);
  border: 1px solid var(--line-lime);
  background:
    radial-gradient(90% 70% at 0% 100%, rgba(120, 196, 48, 0.16), transparent 60%),
    var(--card);
}
.audit-card h2 { font-size: clamp(2rem, 1.1rem + 3vw, 4rem); }
.audit-card .btn { justify-self: start; margin-top: 0.4rem; }
@media (max-width: 920px) { .audit-card { grid-template-columns: 1fr; } }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chips span {
  font-family: var(--f-mono);
  font-size: var(--t-label);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mute);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
}
.ticks { list-style: none; margin: 0; padding: 0; }
.ticks li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 0 1rem; padding-block: 1.3rem; border-top: 1px solid var(--line); }
.ticks li:first-child { border-top: 0; padding-top: 0; }
.ticks .ic { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--lime); color: var(--on-lime); }
.ticks .ic svg { width: 16px; height: 16px; }
.ticks h3 { font-size: var(--t-h3); padding-top: 0.2rem; }
.ticks p { grid-column: 2; margin-top: 0.35rem; color: var(--mute); max-width: 54ch; }

/* process: four cards */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.step {
  display: grid;
  gap: 0.8rem;
  align-content: start;
  padding: clamp(22px, 2.4vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--raise);
  min-width: 0;
  transition: border-color 0.25s, transform 0.25s;
}
.step:hover { border-color: var(--lime); transform: translateY(-4px); }
.step .n {
  font-family: var(--f-head);
  font-weight: 800;
  font-size: clamp(3.2rem, 2.4rem + 2.6vw, 5.2rem);
  letter-spacing: -0.06em;
  line-height: 0.9;
  color: var(--lime);
  margin-bottom: clamp(16px, 3vw, 48px);
}
.step h3 { font-size: clamp(1.25rem, 1.05rem + 0.7vw, 1.6rem); text-transform: uppercase; letter-spacing: -0.03em; }
.step p { color: var(--mute); }
@media (max-width: 1040px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } .step .n { margin-bottom: 8px; } }

/* process: growth-curve video rises above the four steps */
.process { position: relative; overflow: hidden; }
.proc-media { position: absolute; left: 0; right: 0; top: 0; bottom: var(--media-b, 0px); z-index: -1; }
.proc-media video { width: 100%; height: 100%; object-fit: cover; object-position: 50% 100%; display: block; }
.proc-media {
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 24%, #000 84%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 24%, #000 84%, transparent 100%);
  mix-blend-mode: screen;   /* black of the video drops out, the dotted page background shows through */
}
.process .sec-head { margin-bottom: clamp(150px, 24vw, 340px); }
.process .step { transition: border-color 0.5s, transform 0.25s, box-shadow 0.5s; }
.process .step .n { transition: opacity 0.5s, text-shadow 0.5s; }
.process.play .step:not(.lit) .n { opacity: 0.3; }
.process .step.lit { border-color: var(--line-lime); box-shadow: 0 -18px 50px -30px var(--lime-glow); }
.process .step.lit .n { text-shadow: 0 0 28px rgba(167, 223, 87, 0.55); }
@media (max-width: 760px) {
  .proc-media { top: auto; height: min(100vw, 440px); }
  .proc-media video { object-position: 72% 100%; }
  .process .sec-head { margin-bottom: min(84vw, 340px); }
}

/* about */
.about-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
@media (max-width: 920px) { .about-grid { grid-template-columns: 1fr; } }
.photo { position: relative; margin: 0; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 557 / 672; width: 100%; max-width: 500px; background: var(--raise); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo figcaption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(8, 10, 8, 0.7);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.photo figcaption b { font-family: var(--f-head); font-size: 0.95rem; }
.photo figcaption span { font-family: var(--f-mono); font-size: var(--t-label); color: var(--lime); letter-spacing: 0.08em; }
.about h2 { font-size: var(--t-h2); }
.about .stack p { color: var(--mute); max-width: 58ch; }
.about .stack strong { color: var(--fg); font-weight: 700; }
.about .btn { justify-self: start; margin-top: 0.4rem; }

/* cases: four client results under "about" */
.cases { margin-top: clamp(64px, 8vw, 112px); scroll-margin-top: 90px; }
.cases-head { display: grid; gap: 0.9rem; margin-bottom: clamp(24px, 3vw, 36px); }
.cases-head h3 { font-size: clamp(1.9rem, 1.1rem + 2.8vw, 3.6rem); text-transform: uppercase; letter-spacing: -0.045em; line-height: 0.98; }
.cases-head h3 em { font-style: normal; color: var(--lime); }
.case-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 1100px) { .case-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .case-grid { grid-template-columns: 1fr; } }
.case {
  --pad: clamp(20px, 2.2vw, 28px);
  display: grid;
  grid-template-rows: auto auto auto 1fr;
  gap: 18px;
  padding: var(--pad);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: rgba(14, 18, 13, 0.82);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  min-width: 0;
  transition: border-color 0.2s, transform 0.2s;
}
.case:hover { border-color: var(--line-lime); transform: translateY(-2px); }
.case-img { position: relative; margin: calc(var(--pad) * -1) calc(var(--pad) * -1) 0; aspect-ratio: 4 / 3; overflow: hidden; border-radius: calc(var(--r-lg) - 1px) calc(var(--r-lg) - 1px) 0 0; background: var(--raise); }
.case-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
.case-img::after { content: ""; position: absolute; inset: auto 0 0; height: 38%; background: linear-gradient(to bottom, transparent, rgba(14, 18, 13, 0.82)); pointer-events: none; }
.case:hover .case-img img { transform: scale(1.04); }
@media (prefers-reduced-motion: reduce) { .case-img img { transition: none; } .case:hover .case-img img { transform: none; } }
.case header { display: grid; gap: 0.35rem; }
.case h3 { font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.55rem); text-transform: uppercase; letter-spacing: -0.03em; }
.case .loc { font-family: var(--f-mono); font-size: var(--t-label); letter-spacing: 0.1em; text-transform: uppercase; color: var(--mute); }
.case-hl { display: grid; gap: 0.2rem; margin: 0; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.case-hl b { font-family: var(--f-head); font-weight: 800; font-size: clamp(2.6rem, 2rem + 2vw, 3.7rem); line-height: 1; letter-spacing: -0.05em; color: var(--lime); }
.case-hl span { font-family: var(--f-mono); font-size: var(--t-label); letter-spacing: 0.14em; text-transform: uppercase; color: var(--mute); }
.case dl { margin: 0; display: grid; align-content: start; }
.case dl div { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: 9px 0; border-bottom: 1px solid var(--line); }
.case dl div:last-child { border-bottom: 0; }
.case dt { color: var(--mute); font-size: 0.9rem; }
.case dd { margin: 0; font-weight: 700; color: var(--fg); white-space: nowrap; font-variant-numeric: tabular-nums; }

/* fit */
.fit-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.fit-card { border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px, 3.4vw, 44px); display: grid; gap: 1.4rem; align-content: start; min-width: 0; background: var(--raise); }
.fit-card.yes { border-color: var(--line-lime); background: linear-gradient(160deg, var(--lime-wash), var(--raise) 70%); }
.fit-card h3 { font-size: clamp(1.3rem, 1.1rem + 0.8vw, 1.8rem); text-transform: uppercase; letter-spacing: -0.035em; }
.fit-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.fit-card li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 0.8rem; color: var(--mute); }
.fit-card li svg { width: 18px; height: 18px; margin-top: 0.22rem; }
.fit-card.yes li svg { color: var(--lime); }
.fit-card.no li svg { color: var(--dim); }
@media (max-width: 720px) { .fit-grid { grid-template-columns: 1fr; } }

/* bridge: wide 16:9 photo of Anton at the desk between "fit" and the consultation; soft edges, the lower part sits behind the consultation heading */
.bridge { position: relative; width: 100%; height: clamp(300px, 56.25vw, 860px); margin-bottom: calc(clamp(70px, 10vw, 200px) * -1); pointer-events: none; }
.bridge img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 40%;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 16%, #000 84%, transparent), linear-gradient(to bottom, transparent, #000 18%, #000 66%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent, #000 16%, #000 84%, transparent), linear-gradient(to bottom, transparent, #000 18%, #000 66%, transparent);
  mask-composite: intersect;
}
@media (max-width: 760px) {
  .bridge img {
    -webkit-mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent), linear-gradient(to bottom, transparent, #000 14%, #000 70%, transparent);
    mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent), linear-gradient(to bottom, transparent, #000 14%, #000 70%, transparent);
  }
}
.bridge + .final { border-top: 0; }

/* final / contact */
.final { position: relative; overflow: hidden; padding-block: var(--section); border-top: 1px solid var(--line); scroll-margin-top: 40px; }
/* question mark whose dot is an hourglass, right of "the question is still open"; its black drops out over the page background */
.final-head { position: relative; }
.final-art { position: absolute; right: 0; top: -26%; height: 150%; aspect-ratio: 760 / 1258; pointer-events: none; mix-blend-mode: screen; }
.final-art img { width: 100%; height: 100%; object-fit: contain; animation: float 12s ease-in-out infinite; }
@media (max-width: 640px) {
  .final-head { display: grid; grid-template-columns: minmax(0, 1fr) 30vw; align-items: center; gap: 0; }
  .final-head .giant { font-size: min(var(--t-giant), 10.2vw); }
  .final-art { position: relative; top: auto; right: auto; height: auto; width: 100%; }
}
.giant { font-size: var(--t-giant); line-height: 0.94; margin-block: clamp(20px, 3vw, 32px) clamp(28px, 4vw, 48px); max-width: 11ch; }
.final-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1rem 3rem; align-items: end; }
.final .choose { color: var(--fg); font-weight: 600; }
@media (max-width: 820px) { .final-row { grid-template-columns: 1fr; } }

/* footer */
.foot { border-top: 1px solid var(--line); padding-top: clamp(48px, 6vw, 80px); overflow: hidden; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 2rem 3rem; }
.foot-col { display: grid; gap: 0.7rem; align-content: start; min-width: 0; }
.foot-col p { color: var(--mute); max-width: 36ch; font-size: var(--t-small); }
.foot-col a:not(.brand) { color: var(--mute); text-decoration: none; font-size: 0.92rem; }
.foot-col a:not(.brand):hover { color: var(--lime); }
.foot-col .label { margin-bottom: 0.3rem; }
@media (max-width: 720px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-col:first-child { grid-column: 1 / -1; } }
.wordmark {
  font-family: var(--f-head);
  font-weight: 800;
  font-size: min(18vw, 15.4rem);
  letter-spacing: -0.065em;
  line-height: 1;
  white-space: nowrap;
  margin-top: clamp(40px, 6vw, 80px);
  background: linear-gradient(180deg, var(--fg) 10%, rgba(240, 243, 235, 0.06) 92%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  user-select: none;
  padding-bottom: 0.06em;
}
.wordmark b { font-weight: 800; color: var(--lime); -webkit-text-fill-color: var(--lime); }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 2rem; padding-block: 20px 28px; border-top: 1px solid var(--line); }
.foot-base p { color: var(--dim); font-size: 0.8rem; }

/* lead calculator */
.calc {
  background:
    radial-gradient(120% 90% at 0% 100%, rgba(120, 196, 48, 0.16), transparent 60%),
    var(--card);
  border: 1px solid var(--line-lime);
  border-radius: var(--r-lg);
  padding: clamp(18px, 3vw, 34px);
  box-shadow: 0 30px 80px -40px rgba(0, 0, 0, 0.8);
}
.calc-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.camp { display: grid; gap: 1.1rem; align-content: start; padding-right: clamp(12px, 2.4vw, 26px); min-width: 0; }
.camp + .camp { padding-right: 0; padding-left: clamp(12px, 2.4vw, 26px); border-left: 1px solid var(--line); }
.camp-h { display: flex; align-items: center; min-height: 20px; }
.label {
  font-family: var(--f-mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dim);
}
.badge {
  font-family: var(--f-mono);
  font-size: 0.64rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: var(--lime);
  color: var(--on-lime);
}
.field-in { display: grid; gap: 0.3rem; }
.field-in .row { display: flex; align-items: baseline; gap: 0.35rem; border-bottom: 1px solid var(--line); padding-bottom: 0.3rem; transition: border-color 0.15s; }
.field-in .row:focus-within { border-color: var(--lime); }
.field-in input {
  width: 100%;
  min-width: 0;
  flex: 1;
  background: transparent;
  border: 0;
  color: var(--fg);
  font-family: var(--f-head);
  font-weight: 800;
  font-size: clamp(1.3rem, 1rem + 1.2vw, 1.8rem);
  letter-spacing: -0.03em;
  padding: 0;
  font-variant-numeric: tabular-nums;
  -moz-appearance: textfield;
}
.field-in input:focus { outline: none; }
.field-in input::-webkit-outer-spin-button, .field-in input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.field-in i { font-style: normal; color: var(--mute); font-size: 0.9rem; white-space: nowrap; }
.yield { display: grid; gap: 0.15rem; color: var(--mute); font-size: 0.92rem; font-variant-numeric: tabular-nums; }
.yield b { color: var(--fg); font-weight: 600; }
.cps { display: grid; gap: 0.25rem; padding-top: 0.9rem; border-top: 1px solid var(--line); }
.cps output {
  font-family: var(--f-head);
  font-weight: 800;
  font-size: clamp(1.6rem, 1.1rem + 2vw, 2.5rem);
  letter-spacing: -0.04em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  transition: color 0.2s;
}
.camp.win .cps output { color: var(--lime); }
.cps .badge { justify-self: start; margin-top: 0.45rem; }
.budget {
  margin-top: clamp(20px, 3vw, 28px);
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
}
.budget output { font-family: var(--f-head); font-weight: 800; font-size: 1.15rem; font-variant-numeric: tabular-nums; min-width: 5.5ch; text-align: right; }
.budget input[type="range"] { width: 100%; accent-color: var(--lime); }
@media (max-width: 460px) {
  .budget { grid-template-columns: 1fr auto; }
  .budget input[type="range"] { grid-column: 1 / -1; grid-row: 2; }
}
.verdict { margin-top: 1rem; color: var(--mute); font-size: 0.95rem; min-height: 3em; }
.verdict em { font-weight: 700; }


/* language gate */
.gate {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: var(--bg);
  display: grid;
  place-items: center;
  overflow-y: auto;
  padding: calc(env(safe-area-inset-top, 0px) + 24px) var(--gutter-r) calc(env(safe-area-inset-bottom, 0px) + 24px) var(--gutter);
}
.gate[hidden] { display: none !important; }
.gate { background: #000 url("assets/bg.jpg") 0% 100% / contain no-repeat; }
.gate { isolation: isolate; }
.gate-in { width: min(100%, 640px); display: grid; gap: clamp(18px, 3vw, 26px); }
.gate-brand {
  font-family: var(--f-head);
  font-weight: 700;
  font-size: clamp(3rem, 2rem + 5vw, 5.2rem);
  letter-spacing: -0.05em;
  line-height: 1;
  margin-bottom: clamp(8px, 2vw, 18px);
}
.gate-brand b { color: var(--lime); font-weight: 800; }
.gate-opts { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
@media (max-width: 480px) { .gate-opts { grid-template-columns: 1fr; } }
.opt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 112px;
  padding: 24px;
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--fg);
  font: inherit;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.18s, transform 0.18s, background 0.18s, color 0.18s;
}
.opt .name { font-family: var(--f-head); font-weight: 800; font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.1rem); letter-spacing: -0.04em; line-height: 1.05; }
.opt svg { width: 24px; height: 24px; flex: none; color: var(--dim); transition: transform 0.18s, color 0.18s; }
.opt:hover { border-color: var(--lime); transform: translateY(-2px); }
.opt:hover svg { color: var(--lime); transform: translateX(3px); }
.opt.rec { border-color: var(--line-lime); background: linear-gradient(160deg, var(--lime-wash), var(--card) 70%); }

/* contact options */
.final-card .eyebrow { margin-bottom: 1.2rem; }
.final-card .choose { margin-top: clamp(28px, 4vw, 40px); color: var(--fg); font-weight: 600; }
.contacts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 1rem; }
@media (max-width: 1100px) { .contacts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .contacts { grid-template-columns: 1fr; } }
.contact {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  grid-template-rows: auto auto 1fr;
  gap: 0.25rem 1rem;
  align-items: center;
  padding: 20px;
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: rgba(8, 10, 8, 0.55);
  color: var(--fg);
  text-decoration: none;
  transition: border-color 0.18s, transform 0.18s, background 0.18s;
  min-width: 0;
}
a.contact:hover { border-color: var(--lime); transform: translateY(-2px); background: rgba(8, 10, 8, 0.75); }
.contact .ic {
  grid-row: span 2;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--lime);
  color: var(--on-lime);
}
.contact .ic svg { width: 22px; height: 22px; }
.contact .ic { background: none; border-radius: 0; }
.contact .ic img { width: 44px; height: 44px; display: block; }
.contact b { font-family: var(--f-head); font-weight: 700; font-size: 1.05rem; letter-spacing: -0.01em; }
.contact .v { font-family: var(--f-mono); font-size: 0.76rem; color: var(--mute); overflow-wrap: anywhere; }
.contact .act { grid-column: 1 / -1; align-self: end; margin-top: 0.75rem; padding-top: 0.75rem; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; font-weight: 600; font-size: 0.92rem; color: var(--lime); }
.contact .act svg { width: 18px; height: 18px; transition: transform 0.18s; }
a.contact:hover .act svg { transform: translateX(3px); }
.contact.soon { border-style: dashed; background: transparent; }
.contact.soon .ic { opacity: 0.45; }
.contact.soon .act { color: var(--dim); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
