/*
Theme Name: Aman Jha Portfolio
Theme URI: https://amanjha.co
Author: Aman Jha
Author URI: https://amanjha.co
Description: Premium dark portfolio theme for Aman Jha — SEO Expert & AI Visibility Strategist
Version: 2.0
License: Private
Text Domain: aman-jha
*/

/* ─────────────────────────────────────────────
   FONTS (loaded via functions.php enqueue)
───────────────────────────────────────────── */

/* ─────────────────────────────────────────────
   TOKENS
───────────────────────────────────────────── */
:root {
  --bg:        #080A0F;
  --surface:   #0F1117;
  --surface-2: #171B23;
  --line:      #1C2030;
  --line-soft: #14171F;
  --text:      #EDF0F4;
  --text-soft: #8A919E;
  --text-mute: #4E5462;
  --signal:    #00FF85;
  --signal-dim: rgba(0, 255, 133, 0.12);
  --accent:    #00FF85;
  --max-w:   1200px;
  --gutter:  clamp(20px, 5vw, 60px);
  --section-gap: clamp(96px, 11vw, 160px);
  --radius:  8px;
}

/* ─────────────────────────────────────────────
   RESET
───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ─────────────────────────────────────────────
   SKIP LINK
───────────────────────────────────────────── */
.skip-link {
  position: absolute; top: -100%; left: 1rem;
  background: var(--signal); color: var(--bg);
  padding: 0.5rem 1rem; border-radius: var(--radius);
  font-size: 14px; font-weight: 600; z-index: 9999; transition: top 0.1s;
}
.skip-link:focus { top: 1rem; }

/* ─────────────────────────────────────────────
   TYPE SCALE
───────────────────────────────────────────── */
.f-display {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-weight: 700;
  font-size: clamp(36px, 4.8vw, 64px);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.f-h2 {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-weight: 600;
  font-size: clamp(28px, 3.5vw, 44px);
  line-height: 1.15;
  letter-spacing: -0.015em;
}
.f-h3 {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: clamp(17px, 1.8vw, 20px);
  letter-spacing: -0.01em;
  line-height: 1.3;
}
.f-lead {
  font-family: 'Inter', sans-serif;
  font-size: clamp(17px, 1.8vw, 20px);
  line-height: 1.65;
  color: var(--text-soft);
}
.f-body {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-soft);
}
.f-metric-xl {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 500;
  font-size: clamp(40px, 5.5vw, 72px);
  letter-spacing: -0.03em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.f-metric-lg {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 500;
  font-size: clamp(28px, 3.5vw, 44px);
  letter-spacing: -0.02em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.f-metric-md {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 500;
  font-size: clamp(20px, 2.5vw, 28px);
  letter-spacing: -0.01em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.f-label {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 400;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  line-height: 1.4;
}
.f-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 400;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-mute);
}
.f-caption {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 400;
  font-size: 12px;
}
.f-h1-hero {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-weight: 700;
  font-size: clamp(36px, 4.8vw, 64px);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.f-h1-cs {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-weight: 700;
  font-size: clamp(28px, 3.5vw, 46px);
  letter-spacing: -0.02em;
  line-height: 1.12;
}

/* ─────────────────────────────────────────────
   LAYOUT
───────────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
  width: 100%;
}
.section { padding: var(--section-gap) 0; }
.section-sm { padding: clamp(48px, 6vw, 80px) 0; }

/* ─────────────────────────────────────────────
   LINKS
───────────────────────────────────────────── */
.link-signal, .link-accent {
  color: var(--signal);
  font-weight: 500;
  position: relative;
}
.link-signal::after, .link-accent::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 100%; height: 1px;
  background: var(--signal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 240ms cubic-bezier(0.22, 1, 0.36, 1);
}
.link-signal:hover::after, .link-accent:hover::after { transform: scaleX(1); }
.link-subtle { color: var(--text-soft); font-weight: 500; transition: color 160ms; }
.link-subtle:hover { color: var(--text); }

/* ─────────────────────────────────────────────
   BUTTONS
───────────────────────────────────────────── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--signal); color: #050709;
  font-family: 'Inter', sans-serif; font-weight: 700; font-size: 15px;
  letter-spacing: -0.01em; padding: 13px 24px; border-radius: 100px;
  transition: opacity 160ms, transform 160ms; white-space: nowrap;
}
.btn-primary:hover { opacity: 0.88; transform: translateY(-1px); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--text-soft);
  font-family: 'Inter', sans-serif; font-weight: 500; font-size: 15px;
  padding: 12px 20px; border: 1px solid var(--line); border-radius: 100px;
  transition: color 160ms, border-color 160ms; white-space: nowrap;
}
.btn-ghost:hover { color: var(--text); border-color: var(--text-mute); }

/* ─────────────────────────────────────────────
   REVEAL ANIMATION
───────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 560ms cubic-bezier(0.22, 1, 0.36, 1),
              transform 560ms cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-group > *:nth-child(1) { transition-delay: 0ms; }
.reveal-group > *:nth-child(2) { transition-delay: 80ms; }
.reveal-group > *:nth-child(3) { transition-delay: 160ms; }
.reveal-group > *:nth-child(4) { transition-delay: 240ms; }
.reveal-group > *:nth-child(5) { transition-delay: 320ms; }
.reveal-group > *:nth-child(6) { transition-delay: 400ms; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ─────────────────────────────────────────────
   FOCUS + SELECTION
───────────────────────────────────────────── */
:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; border-radius: 3px; }
::selection { background: var(--signal); color: var(--bg); }

/* ══════════════════════════════════════════
   NAV
══════════════════════════════════════════ */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(8, 10, 15, 0);
  backdrop-filter: blur(0px);
  border-bottom: 1px solid transparent;
  transition: background 300ms ease, backdrop-filter 300ms ease, border-color 300ms ease;
}
.nav.is-scrolled {
  background: rgba(8, 10, 15, 0.92);
  backdrop-filter: blur(20px);
  border-bottom-color: var(--line);
}
.nav__inner {
  display: flex; align-items: center; justify-content: space-between; height: 68px;
}
.nav__logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav__mark { flex-shrink: 0; }
.nav__wordmark {
  font-family: 'Inter', sans-serif; font-weight: 700; font-size: 16px;
  color: var(--text); letter-spacing: -0.025em;
}
.nav__links { display: flex; align-items: center; gap: 36px; }
.nav__link {
  font-family: 'Inter', sans-serif; font-weight: 500; font-size: 15px;
  color: var(--text-mute); transition: color 150ms; letter-spacing: -0.01em;
}
.nav__link:hover, .nav__link.is-active { color: var(--text); }
.nav__cta {
  font-family: 'Inter', sans-serif; font-weight: 600; font-size: 14px;
  color: var(--bg); background: var(--signal); padding: 8px 18px;
  border-radius: 100px; letter-spacing: -0.01em; transition: opacity 160ms; margin-left: -8px;
}
.nav__cta:hover { opacity: 0.85; }
.nav__burger {
  display: none; flex-direction: column; gap: 6px; padding: 8px; margin-right: -8px;
}
.nav__bar {
  display: block; width: 22px; height: 1.5px;
  background: var(--text); border-radius: 1px; transition: opacity 150ms;
}
.mobile-menu {
  position: fixed; inset: 0; background: var(--bg); z-index: 200;
  display: flex; flex-direction: column; padding: 24px var(--gutter);
}
.mobile-menu__close {
  align-self: flex-end; font-size: 20px;
  color: var(--text-soft); padding: 8px; margin-bottom: 40px;
}
.mobile-menu__links { display: flex; flex-direction: column; gap: 0; }
.mobile-menu__link {
  font-family: 'Space Grotesk', 'Inter', sans-serif; font-weight: 700;
  font-size: clamp(28px, 6vw, 36px); color: var(--text-soft);
  padding: 14px 0; border-bottom: 1px solid var(--line);
  letter-spacing: -0.02em; transition: color 150ms;
}
.mobile-menu__link:hover { color: var(--text); }
.mobile-menu__link--cta { color: var(--signal); border-bottom: none; margin-top: 16px; }
@media (max-width: 700px) {
  .nav__links { display: none; }
  .nav__burger { display: flex; }
}

/* ══════════════════════════════════════════
   FOOTER
══════════════════════════════════════════ */
.footer {
  background: var(--bg); border-top: 1px solid var(--line);
  padding-top: 80px; padding-bottom: 40px;
}
.footer__top { padding-bottom: 56px; }
.footer__cta-head {
  font-family: 'Inter', sans-serif; font-weight: 800;
  font-size: clamp(24px, 3vw, 36px); color: var(--text);
  margin-bottom: 12px; letter-spacing: -0.02em; line-height: 1.15;
}
.footer__cta-sub {
  font-size: 16px; color: var(--text-soft);
  max-width: 480px; line-height: 1.6; margin-bottom: 24px;
}
.footer__cta-link { font-size: 17px; }
.footer__rule { border-top: 1px solid var(--line); margin-bottom: 40px; }
.footer__cols {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  gap: 32px; align-items: start; margin-bottom: 40px;
}
.footer__brand { display: flex; flex-direction: column; gap: 8px; }
.footer__logo { display: flex; align-items: center; gap: 9px; margin-bottom: 4px; }
.footer__name {
  font-family: 'Inter', sans-serif; font-weight: 700; font-size: 16px;
  color: var(--text); letter-spacing: -0.02em;
}
.footer__title { color: var(--text-mute); }
.footer__loc { color: var(--text-mute); margin-top: 2px; }
.footer__nav { display: flex; flex-direction: column; gap: 10px; }
.footer__nav-link { font-size: 14px; color: var(--text-soft); transition: color 150ms; }
.footer__nav-link:hover { color: var(--text); }
.footer__social { display: flex; gap: 16px; justify-content: flex-end; }
.footer__social-link { color: var(--text-mute); transition: color 150ms; }
.footer__social-link:hover { color: var(--text); }
.footer__bottom { border-top: 1px solid var(--line); padding-top: 20px; }
.footer__copy { color: var(--text-mute); }
@media (max-width: 768px) {
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .footer__social { justify-content: flex-start; grid-column: 1 / -1; }
}
@media (max-width: 480px) { .footer__cols { grid-template-columns: 1fr; } }

/* ══════════════════════════════════════════
   HERO (HOME)
══════════════════════════════════════════ */
.hero {
  display: grid; grid-template-columns: 1fr 1fr;
  min-height: 100svh; overflow: hidden; position: relative;
}
.hero__left {
  grid-column: 1; display: flex; flex-direction: column; justify-content: center;
  padding: clamp(100px, 12vh, 140px) clamp(24px, 5vw, 80px) clamp(64px, 8vh, 96px);
  padding-left: max(var(--gutter), calc((100vw - var(--max-w)) / 2 + var(--gutter)));
  position: relative; z-index: 1;
}
.hero__h1 {
  font-family: 'Space Grotesk', 'Inter', sans-serif; font-weight: 700;
  font-size: clamp(32px, 4vw, 56px); letter-spacing: -0.02em; line-height: 1.08;
  color: var(--text); margin-bottom: 24px; font-style: normal;
}
.hero__accent { color: var(--signal); font-style: normal; }
.hero__lead {
  font-size: clamp(15px, 1.5vw, 17px); line-height: 1.7;
  color: var(--text-soft); max-width: 480px; margin-bottom: 36px;
}
.hero__metrics {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
  background: var(--line); border: 1px solid var(--line);
  border-radius: 12px; overflow: hidden; margin-bottom: 36px; max-width: 460px;
}
.hero__metric {
  display: flex; flex-direction: column; gap: 5px;
  padding: 20px 24px; background: var(--surface); transition: background 0.2s;
}
.hero__metric:hover { background: var(--surface-2); }
.hero__metric-val {
  font-family: 'Space Grotesk', 'Inter', sans-serif; font-weight: 700;
  font-size: clamp(22px, 2.5vw, 30px); color: var(--text);
  letter-spacing: -0.02em; line-height: 1;
}
.hero__metric-label { color: var(--text-mute); line-height: 1.3; }
.hero__actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.hero__right { grid-column: 2; position: relative; overflow: hidden; }
.hero__photo {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
}
.hero__fade { position: absolute; z-index: 1; pointer-events: none; }
.hero__fade--left {
  inset: 0 auto 0 0; width: 55%;
  background: linear-gradient(90deg, var(--bg) 0%, transparent 100%);
}
.hero__fade--bottom {
  inset: auto 0 0 0; height: 35%;
  background: linear-gradient(0deg, var(--bg) 0%, transparent 100%);
}

/* ══════════════════════════════════════════
   CLIENT STRIP
══════════════════════════════════════════ */
.clients {
  background: var(--surface); border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line); padding: 40px 0;
}
.clients__label { color: var(--text-mute); margin-bottom: 24px; display: block; }
.clients__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.clients__item {
  display: flex; flex-direction: column; gap: 4px; padding: 20px 28px;
  border-left: 1px solid var(--line); transition: background 0.2s;
}
.clients__item:first-child { border-left: none; }
.clients__item:hover { background: var(--surface-2); }
.clients__name {
  font-family: 'Space Grotesk', 'Inter', sans-serif; font-weight: 600;
  font-size: clamp(15px, 1.4vw, 18px); color: var(--text-soft);
  letter-spacing: -0.01em; line-height: 1.2; transition: color 0.2s;
}
.clients__item:hover .clients__name { color: var(--text); }
.clients__sub { color: var(--text-mute); }
.clients__grid .clients__item:nth-child(n+5) { border-top: 1px solid var(--line); }
.clients__grid .clients__item:nth-child(5) { border-left: none; }

/* ══════════════════════════════════════════
   AI SHIFT
══════════════════════════════════════════ */
.shift { background: var(--bg); }
.shift__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.shift__eyebrow { margin-bottom: 20px; display: block; }
.shift__h2 { margin-bottom: 24px; color: var(--text); }
.shift__h2-soft { color: var(--text-soft); }
.shift__body { font-size: clamp(15px, 1.5vw, 17px); color: var(--text-soft); line-height: 1.75; margin-bottom: 8px; }
.flow {
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
  padding: 32px 28px; display: flex; align-items: center; gap: 0;
  flex-wrap: wrap; row-gap: 20px; margin-bottom: 16px;
}
.flow__node {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  text-align: center; flex: 1; min-width: 80px;
}
.flow__node--you .flow__node-label { color: var(--text); }
.flow__node--cited .flow__node-label { color: var(--signal); }
.flow__node-icon {
  width: 40px; height: 40px; border-radius: 8px; background: var(--surface-2);
  border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; margin-bottom: 4px;
}
.flow__node--you .flow__node-icon,
.flow__node--cited .flow__node-icon { border-color: rgba(0,255,133,0.2); background: rgba(0,255,133,0.06); }
.flow__node-label { font-family: 'Inter', sans-serif; font-weight: 600; font-size: 12px; color: var(--text-soft); line-height: 1.3; }
.flow__node-sub { font-family: 'JetBrains Mono', monospace; font-size: 9px; color: var(--text-mute); letter-spacing: 0.08em; text-transform: uppercase; line-height: 1.3; }
.flow__arrow { flex-shrink: 0; display: flex; align-items: center; padding: 0 4px; margin-top: -16px; }
.flow__note { color: var(--text-mute); line-height: 1.6; font-size: 10px; }

/* ══════════════════════════════════════════
   CASE STUDY CARDS (HOME)
══════════════════════════════════════════ */
.work { background: var(--bg); }
.work__header {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; margin-bottom: 48px; flex-wrap: wrap;
}
.work__header .f-h2 { color: var(--text); }
.work__see-all { font-size: 15px; flex-shrink: 0; padding-bottom: 4px; }
.work__featured { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.work__secondary { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.work__card {
  display: flex; flex-direction: column; background: var(--surface);
  border: 1px solid var(--line); border-radius: 12px;
  transition: border-color 200ms, transform 220ms; overflow: hidden; text-decoration: none;
}
.work__card:hover { border-color: rgba(0,255,133,0.2); transform: translateY(-2px); }
.work__card--lg { padding: 36px; }
.work__card--sm { padding: 28px; }
.work__card-top { flex: 1; margin-bottom: 32px; }
.work__card-cat { color: var(--text-mute); display: block; margin-bottom: 12px; }
.work__card-title {
  font-family: 'Space Grotesk', 'Inter', sans-serif; font-weight: 700;
  font-size: clamp(20px, 2vw, 26px); color: var(--text);
  letter-spacing: -0.02em; line-height: 1.15; margin-bottom: 12px;
}
.work__card-title--sm { font-size: clamp(17px, 1.8vw, 22px); margin-bottom: 0; }
.work__card-desc { font-size: 15px; color: var(--text-soft); line-height: 1.6; }
.work__card-metric { margin-top: auto; }
.work__card-numbers { display: flex; align-items: center; gap: 16px; margin-bottom: 6px; }
.work__card-from {
  font-family: 'Space Grotesk', 'Inter', sans-serif; font-weight: 700;
  font-size: clamp(22px, 2.5vw, 32px); color: var(--text-soft); letter-spacing: -0.02em;
}
.work__card-to {
  font-family: 'Space Grotesk', 'Inter', sans-serif; font-weight: 700;
  font-size: clamp(22px, 2.5vw, 32px); color: var(--signal); letter-spacing: -0.02em;
}
.work__card-pair-label { color: var(--text-mute); display: block; margin-bottom: 16px; }
.work__card-link {
  display: inline-block; color: var(--signal);
  font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 500; transition: opacity 150ms;
}
.work__card:hover .work__card-link { opacity: 0.8; }

/* ══════════════════════════════════════════
   SERVICES
══════════════════════════════════════════ */
.services { background: var(--surface); }
.services__header { margin-bottom: 56px; }
.services__header .f-h2 { color: var(--text); }
.services__list { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.services__item {
  display: grid; grid-template-columns: 60px 1fr; gap: 32px;
  padding: 36px 0; border-bottom: 1px solid var(--line);
  align-items: start; transition: background 180ms;
}
.services__item:hover {
  background: var(--surface-2); padding-left: 16px; padding-right: 16px;
  margin: 0 -16px; border-radius: 8px; border-bottom-color: transparent;
}
.services__num { color: var(--text-mute); padding-top: 4px; }
.services__item-content { display: flex; flex-direction: column; gap: 12px; }
.services__title {
  font-family: 'Space Grotesk', 'Inter', sans-serif; font-weight: 700;
  font-size: clamp(18px, 2vw, 24px); color: var(--text); letter-spacing: -0.02em; line-height: 1.2;
}
.services__desc { font-size: 15px; color: var(--text-soft); line-height: 1.7; max-width: 620px; }
.services__tags { color: var(--text-mute); }

/* ══════════════════════════════════════════
   AUTHORITY (HOME)
══════════════════════════════════════════ */
.authority { background: var(--bg); }
.authority__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.authority__photo-col { display: flex; flex-direction: column; gap: 16px; }
.authority__photo { width: 100%; height: auto; border-radius: 12px; object-fit: cover; display: block; }
.authority__photo-cap { color: var(--text-mute); }
.authority__body { font-size: clamp(15px, 1.5vw, 17px); color: var(--text-soft); line-height: 1.75; margin-bottom: 16px; }

/* ══════════════════════════════════════════
   TESTIMONIALS
══════════════════════════════════════════ */
.quote-section { background: var(--surface); }
.quote-block {
  padding: 48px 0 56px; max-width: 840px; margin: 0 auto;
  text-align: center; border-bottom: 1px solid var(--line); margin-bottom: 48px;
}
.quote-block__mark { display: block; margin: 0 auto 28px; opacity: 0.4; }
.quote-block__text {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: clamp(18px, 2.2vw, 26px); font-weight: 600;
  color: var(--text); line-height: 1.45; letter-spacing: -0.015em; margin-bottom: 32px;
}
.quote-block__attr { display: flex; flex-direction: column; gap: 4px; align-items: center; }
.quote-block__name { font-family: 'Inter', sans-serif; font-weight: 600; font-size: 16px; color: var(--text); }
.quote-block__role { color: var(--text-mute); }
.quote-secondary { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.quote-card {
  background: var(--surface-2); border: 1px solid var(--line); border-radius: 12px;
  padding: 28px; display: flex; flex-direction: column; gap: 20px;
}
.quote-card__text { font-size: 15px; color: var(--text-soft); line-height: 1.7; flex: 1; }
.quote-card__attr { display: flex; flex-direction: column; gap: 4px; }
.quote-card__name { font-family: 'Inter', sans-serif; font-weight: 600; font-size: 15px; color: var(--text); }
.quote-card__role { color: var(--text-mute); }

/* ══════════════════════════════════════════
   CTA
══════════════════════════════════════════ */
.cta { background: var(--bg); }
.cta__inner {
  display: grid; grid-template-columns: 1fr auto; gap: 80px; align-items: center;
  padding: 64px 80px; background: var(--surface);
  border: 1px solid var(--line); border-radius: 20px;
}
.cta__head { font-size: clamp(40px, 5vw, 72px); color: var(--text); margin-bottom: 20px; }
.cta__sub { font-size: clamp(15px, 1.5vw, 17px); color: var(--text-soft); line-height: 1.7; max-width: 460px; }
.cta__actions { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; flex-shrink: 0; }
.cta__btn { font-size: 16px; padding: 15px 28px; }

/* ══════════════════════════════════════════
   ABOUT PAGE
══════════════════════════════════════════ */
.about { background: var(--bg); }
.about__hero { display: grid; grid-template-columns: 1fr 420px; gap: 72px; align-items: start; }
.about__name {
  font-family: 'Inter', sans-serif; font-weight: 800;
  font-size: clamp(32px, 4vw, 50px); color: var(--text);
  letter-spacing: -0.03em; margin-top: 16px; margin-bottom: 10px; line-height: 1.05;
}
.about__subtitle { color: var(--text-mute); display: block; margin-bottom: 40px; }
.about__p { color: var(--text-soft); margin-bottom: 20px; line-height: 1.75; }
.about__p--lead { color: var(--text); font-size: clamp(18px, 2vw, 21px); margin-bottom: 24px; }
.about__cta-row { display: flex; align-items: center; gap: 24px; margin-top: 32px; flex-wrap: wrap; }
.about__btn {
  display: inline-block; background: var(--signal); color: #0A0C10;
  font-family: 'Inter', sans-serif; font-weight: 700; font-size: 15px;
  padding: 12px 24px; border-radius: var(--radius); transition: opacity 180ms;
}
.about__btn:hover { opacity: 0.88; }
.about__photo-wrap { position: sticky; top: 88px; }
.about__photo { width: 100%; height: auto; border-radius: 12px; object-fit: cover; border: 1px solid var(--line); }
.about-authority {
  background: var(--surface); border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line); padding: clamp(56px, 7vw, 96px) 0;
}
.about-authority__inner { display: grid; grid-template-columns: 460px 1fr; gap: 72px; align-items: center; }
.about-authority__photo-wrap { border-radius: 12px; overflow: hidden; }
.about-authority__photo { width: 100%; height: auto; display: block; object-fit: cover; border-radius: 12px; }
.about-authority__eyebrow { display: block; margin-bottom: 16px; }
.about-authority__head {
  font-family: 'Inter', sans-serif; font-weight: 700;
  font-size: clamp(22px, 2.5vw, 32px); color: var(--text);
  letter-spacing: -0.02em; line-height: 1.2; margin-bottom: 20px;
}
.about-authority__p { color: var(--text-soft); margin-bottom: 16px; }
.timeline { background: var(--surface); }
.timeline__track { position: relative; padding-left: 24px; }
.timeline__track::before {
  content: ''; position: absolute; left: 0; top: 8px; bottom: 8px;
  width: 1px; background: var(--line);
}
.timeline__item { position: relative; padding: 0 0 36px 28px; }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__dot {
  position: absolute; left: -3px; top: 7px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--signal);
}
.timeline__range { color: var(--text-mute); margin-bottom: 4px; }
.timeline__role {
  font-family: 'Inter', sans-serif; font-weight: 600; font-size: 17px;
  color: var(--text); margin-bottom: 4px; line-height: 1.4;
}
.timeline__ctx { font-size: 15px; color: var(--text-soft); line-height: 1.65; }
.agency {
  background: var(--surface); border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line); padding: 48px 0;
}
.agency__head { color: var(--text-mute); display: block; margin-bottom: 28px; }
.agency__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.agency__item {
  padding: 0 24px; border-right: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 6px;
}
.agency__item:first-child { padding-left: 0; }
.agency__item:last-child { border-right: none; }
.agency__val { color: var(--signal); font-size: 13px; }
.agency__lbl { color: var(--text-mute); }
.brands { background: var(--bg); }
.brands__line { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.brands__name { color: var(--text-soft); font-size: 14px; }
.brands__dot { color: var(--line); font-size: 14px; }
.sr { position: relative; border-top: 1px solid var(--line); margin: 0; }
.sr__label {
  position: absolute; top: -1px; left: 0;
  transform: translateY(-50%); padding: 0 8px 0 0;
  color: var(--text-mute); white-space: nowrap;
}

/* ══════════════════════════════════════════
   CONTACT PAGE
══════════════════════════════════════════ */
.contact { background: var(--bg); }
.contact__grid { display: grid; grid-template-columns: 55fr 45fr; gap: 80px; align-items: start; }
.contact__h1 {
  font-family: 'Inter', sans-serif; font-weight: 800;
  font-size: clamp(32px, 4vw, 44px); letter-spacing: -0.03em;
  color: var(--text); margin-top: 16px; margin-bottom: 20px;
}
.contact__sub { color: var(--text-soft); margin-bottom: 16px; }
.contact__links { display: flex; flex-direction: column; gap: 14px; margin-top: 36px; }
.contact__link { display: flex; align-items: center; gap: 10px; font-size: 16px; }
.contact__icon { color: var(--signal); flex-shrink: 0; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.contact__card { padding: 32px; }
.contact__form { display: flex; flex-direction: column; gap: 20px; }
.contact__field { display: flex; flex-direction: column; gap: 6px; }
.contact__label { color: var(--text-mute); }
.contact__input {
  width: 100%; padding: 10px 14px;
  font-family: 'Inter', sans-serif; font-size: 15px;
  color: var(--text); background: var(--surface-2); border: 1px solid var(--line);
  border-radius: var(--radius); transition: border-color 150ms, box-shadow 150ms; outline: none;
}
.contact__input:focus { border-color: var(--signal); box-shadow: 0 0 0 3px rgba(0,255,133,0.12); }
.contact__input::placeholder { color: var(--text-mute); }
.contact__select { cursor: pointer; }
.contact__select option { background: var(--surface-2); }
.contact__textarea { resize: vertical; min-height: 120px; font-family: inherit; }
.contact__submit {
  width: 100%; background: var(--signal); color: var(--bg);
  font-family: 'Inter', sans-serif; font-weight: 600; font-size: 15px;
  padding: 12px; border-radius: var(--radius); border: none; cursor: pointer; transition: opacity 150ms;
}
.contact__submit:hover { opacity: 0.9; }
.contact__success { padding: 40px 0; text-align: center; }
.contact__success-text { font-size: 17px; color: var(--signal); }

/* ══════════════════════════════════════════
   BLOG
══════════════════════════════════════════ */
.blog { background: var(--bg); }
.blog__h1 {
  font-family: 'Space Grotesk', 'Inter', sans-serif; font-weight: 700;
  font-size: clamp(24px, 3.5vw, 42px); letter-spacing: -0.02em; line-height: 1.1;
  color: var(--text); margin-top: 16px; margin-bottom: 16px; max-width: 720px;
}
.blog__lead { color: var(--text-soft); margin-bottom: 56px; max-width: 520px; }
.blog__featured {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 32px; padding: 40px; background: var(--surface); border: 1px solid var(--line);
  border-radius: 14px; margin-bottom: 20px; text-decoration: none;
  transition: border-color 0.2s, transform 0.22s; position: relative; overflow: hidden;
}
.blog__featured::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(0,255,133,0.04) 0%, transparent 60%);
  pointer-events: none;
}
.blog__featured:hover { border-color: rgba(0,255,133,0.3); transform: translateY(-2px); }
.blog__featured-body { flex: 1; }
.blog__featured-title {
  font-family: 'Space Grotesk', 'Inter', sans-serif; font-weight: 700;
  font-size: clamp(20px, 2.5vw, 30px); color: var(--text); letter-spacing: -0.015em;
  line-height: 1.2; margin: 14px 0 16px; max-width: 680px;
}
.blog__featured-excerpt { font-size: 16px; color: var(--text-soft); line-height: 1.7; margin-bottom: 24px; max-width: 600px; }
.blog__featured-badge {
  flex-shrink: 0; background: rgba(0,255,133,0.1); border: 1px solid rgba(0,255,133,0.2);
  border-radius: 8px; padding: 10px 16px; color: var(--signal); align-self: flex-start; margin-top: 4px;
}
.blog__meta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.blog__cat { color: var(--signal); }
.blog__date { color: var(--text-mute); }
.blog__rt { color: var(--text-mute); }
.blog__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.blog__card {
  display: flex; flex-direction: column; padding: 32px; background: var(--surface);
  border: 1px solid var(--line); border-radius: 12px; text-decoration: none;
  transition: border-color 0.2s, transform 0.22s;
}
.blog__card:hover { border-color: rgba(0,255,133,0.25); transform: translateY(-2px); }
.blog__card-title {
  font-family: 'Space Grotesk', 'Inter', sans-serif; font-weight: 700;
  font-size: clamp(17px, 1.8vw, 22px); color: var(--text); letter-spacing: -0.01em;
  line-height: 1.25; margin: 14px 0 12px;
}
.blog__card-excerpt { font-size: 14px; color: var(--text-soft); line-height: 1.7; flex: 1; margin-bottom: 24px; }
.blog__card-footer {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: auto; padding-top: 20px; border-top: 1px solid var(--line);
}
.blog__card-cta { font-size: 14px; }

/* ══════════════════════════════════════════
   BLOG POST
══════════════════════════════════════════ */
.bp-bc { background: var(--surface); border-bottom: 1px solid var(--line); padding: 14px 0; }
.bp-bc__nav { display: flex; align-items: center; gap: 10px; }
.bp-bc__link { color: var(--text-mute); transition: color 0.2s; }
.bp-bc__link:hover { color: var(--text); }
.bp-bc__sep { color: var(--line); }
.bp-bc__cur { color: var(--text-soft); }
.bp-hero { background: var(--bg); padding-top: 56px; border-bottom: 1px solid var(--line); }
.bp-hero__inner { max-width: 780px; }
.bp-hero__cat { color: var(--signal); margin-bottom: 20px; display: block; }
.bp-hero__title {
  font-family: 'Space Grotesk', 'Inter', sans-serif; font-weight: 700;
  font-size: clamp(28px, 4vw, 52px); letter-spacing: -0.02em; line-height: 1.1;
  color: var(--text); margin-bottom: 24px;
}
.bp-hero__intro {
  font-size: clamp(16px, 1.7vw, 19px); line-height: 1.7;
  color: var(--text-soft); margin-bottom: 28px; max-width: 640px;
}
.bp-hero__meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding-bottom: 40px; }
.bp-hero__dot { width: 4px; height: 4px; border-radius: 50%; background: var(--text-mute); flex-shrink: 0; }
.bp-body { background: var(--bg); padding-top: 56px; }
.bp-body__inner { max-width: 780px; }
.bp-content h2 {
  font-family: 'Space Grotesk', 'Inter', sans-serif; font-weight: 700;
  font-size: clamp(20px, 2.5vw, 28px); color: var(--text);
  letter-spacing: -0.015em; margin: 48px 0 18px; line-height: 1.2;
}
.bp-content h3 {
  font-family: 'Space Grotesk', 'Inter', sans-serif; font-weight: 600;
  font-size: clamp(17px, 1.8vw, 21px); color: var(--text); letter-spacing: -0.01em; margin: 32px 0 12px;
}
.bp-content p { font-size: clamp(15px, 1.5vw, 17px); color: var(--text-soft); line-height: 1.8; margin-bottom: 20px; }
.bp-content a { color: var(--signal); border-bottom: 1px solid rgba(0,255,133,0.3); transition: border-color 0.2s; }
.bp-content a:hover { border-color: var(--signal); }
.bp-content ul, .bp-content ol { margin: 0 0 20px 0; display: flex; flex-direction: column; gap: 10px; }
.bp-content li { font-size: clamp(15px,1.5vw,17px); color: var(--text-soft); line-height: 1.7; padding-left: 24px; position: relative; }
.bp-content ul li::before {
  content: ''; position: absolute; left: 0; top: 10px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--signal);
}
.bp-content ol { counter-reset: li; }
.bp-content ol li::before {
  content: counter(li) "."; counter-increment: li; position: absolute; left: 0;
  color: var(--signal); font-weight: 600; font-size: 14px;
}
.bp-content blockquote {
  border-left: 3px solid var(--signal); margin: 32px 0; padding: 20px 28px;
  background: var(--surface); border-radius: 0 10px 10px 0;
}
.bp-content blockquote p { color: var(--text); font-style: italic; font-size: clamp(16px,1.7vw,19px); margin-bottom: 0; }
.bp-content hr { border: none; border-top: 1px solid var(--line); margin: 40px 0; }
.bp-content strong { color: var(--text); font-weight: 600; }
.bp-content code {
  font-family: 'JetBrains Mono', monospace; font-size: 13px;
  background: var(--surface-2); border: 1px solid var(--line);
  padding: 2px 7px; border-radius: 4px; color: var(--signal);
}
.bp-content .callout {
  background: var(--surface); border: 1px solid var(--line);
  border-left: 3px solid var(--signal); border-radius: 0 10px 10px 0;
  padding: 20px 24px; margin: 28px 0;
}
.bp-content .callout p { margin-bottom: 0; color: var(--text-soft); }
.bp-content .callout strong { color: var(--signal); }
.bp-author {
  display: flex; gap: 24px; align-items: flex-start; margin-top: 64px;
  padding: 32px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
}
.bp-author__photo {
  width: 64px; height: 64px; border-radius: 50%; object-fit: cover;
  flex-shrink: 0; border: 1px solid var(--line);
}
.bp-author__name { display: block; font-weight: 600; font-size: 16px; color: var(--text); margin-bottom: 4px; }
.bp-author__role { display: block; color: var(--text-mute); margin-bottom: 10px; }
.bp-author__bio { font-size: 14px; color: var(--text-soft); line-height: 1.65; margin-bottom: 14px; }
.bp-author__links { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.bp-author__cs { font-size: 14px; color: var(--text-mute); transition: color 0.2s; }
.bp-author__cs:hover { color: var(--text); }
.bp-nav { margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--line); }

/* ══════════════════════════════════════════
   CASE STUDIES INDEX
══════════════════════════════════════════ */
.cs-index { background: var(--bg); }
.cs-index__h1 {
  font-family: 'Inter', sans-serif; font-weight: 800;
  font-size: clamp(29px, 3.5vw, 44px); letter-spacing: -0.03em;
  color: var(--text); margin-top: 16px; margin-bottom: 20px; max-width: 680px;
}
.cs-index__lead { color: var(--text-soft); max-width: 560px; margin-bottom: 40px; }
.cs-index__rows { margin-top: 16px; }

/* CaseRow component */
.cr { display: grid; grid-template-columns: 60% 40%; gap: 0; padding: 40px 0; border-bottom: 1px solid var(--line); align-items: start; }
.cr:first-of-type { border-top: 1px solid var(--line); }
.cr__left { padding-right: 48px; display: flex; flex-direction: column; gap: 12px; }
.cr__cat { color: var(--text-mute); }
.cr__title { font-family: 'Inter', sans-serif; font-weight: 600; font-size: 22px; color: var(--text); line-height: 1.3; }
.cr__desc { font-size: 16px; color: var(--text-soft); line-height: 1.65; }
.cr__link { font-size: 15px; align-self: flex-start; margin-top: 4px; }
.cr__right { display: flex; flex-direction: column; gap: 24px; padding-left: 32px; border-left: 1px solid var(--line-soft); }
.cr__strip { padding-top: 20px; border-top: 1px solid var(--line-soft); }

/* TransitionPair */
.tp { display: inline-flex; flex-direction: column; gap: 10px; }
.tp__values { display: flex; align-items: center; gap: 16px; }
.tp__side { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.tp__side--result { align-items: flex-start; }
.tp__num {
  font-family: 'JetBrains Mono', 'Courier New', monospace; font-weight: 500;
  font-variant-numeric: tabular-nums; line-height: 1; white-space: nowrap;
}
.tp--lg .tp__num { font-size: clamp(38px, 5vw, 60px); letter-spacing: -0.02em; }
.tp--md .tp__num { font-size: clamp(26px, 3vw, 34px); }
.tp__num--from { color: var(--text-mute); }
.tp__num--to { color: var(--signal); }
.tp__sub { color: var(--text-mute); }
.tp__arrow-wrap { display: flex; flex-direction: column; align-items: center; gap: 6px; flex: 1; min-width: 60px; max-width: 160px; }
.tp__rule { display: flex; align-items: center; width: 100%; gap: 0; position: relative; }
.tp__rule-line { flex: 1; display: block; height: 1px; background: var(--signal); }
.tp__arrow-head { color: var(--signal); font-size: 14px; line-height: 1; flex-shrink: 0; }
.tp__duration { color: var(--text-mute); white-space: nowrap; }
.tp__label { color: var(--text-soft); }

/* MetricStrip */
.ms { display: flex; align-items: stretch; gap: 0; flex-wrap: wrap; row-gap: 20px; }
.ms--sm .ms__val {
  font-family: 'JetBrains Mono', 'Courier New', monospace; font-weight: 500;
  font-size: 20px; font-variant-numeric: tabular-nums; line-height: 1; color: var(--text);
}
.ms--md .ms__val { color: var(--text); }
.ms__div { width: 1px; background: var(--line); margin: 0 24px; align-self: stretch; flex-shrink: 0; }
.ms__item { display: flex; flex-direction: column; gap: 6px; }
.ms__lbl { color: var(--text-mute); }

/* ContextBlock */
.cb { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 0; }
.cb__row { display: grid; grid-template-columns: 96px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line-soft); align-items: baseline; }
.cb__row:first-child { padding-top: 0; }
.cb__row:last-child { border-bottom: none; padding-bottom: 0; }
.cb__label { color: var(--text-mute); flex-shrink: 0; }
.cb__value { font-size: 15px; color: var(--text-soft); line-height: 1.5; }

/* ══════════════════════════════════════════
   CASE STUDY DETAIL
══════════════════════════════════════════ */
.cs-bc { padding-top: 28px; }
.cs-bc__list { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.cs-bc__link { color: var(--text-mute); transition: color 150ms; }
.cs-bc__link:hover { color: var(--text-soft); }
.cs-bc__sep { color: var(--line); }
.cs-bc__cur { color: var(--text-mute); }
.cs-hero { background: var(--bg); }
.cs-hero__cat { display: block; margin-bottom: 16px; }
.cs-hero__title { color: var(--text); margin-bottom: 12px; }
.cs-hero__role { color: var(--text-mute); display: block; margin-bottom: 48px; }
.cs-hero__pair { margin-bottom: 40px; }
.cs-hero__strip { padding-top: 32px; border-top: 1px solid var(--line); }
.cs-body {
  background: #F7F8F9; color: #12151C;
  padding: clamp(48px, 6vw, 80px) 0;
}
.cs-body__inner { display: grid; grid-template-columns: 280px 1fr; gap: 64px; align-items: start; }
.cs-body__ctx { position: sticky; top: 80px; }
.cs-body__prose { max-width: 660px; }
.cs-body__prose h2 {
  font-family: 'Inter', sans-serif; font-weight: 600; font-size: 22px;
  color: #12151C; margin: 48px 0 16px; letter-spacing: -0.01em;
}
.cs-body__prose p { font-size: 17px; line-height: 1.75; color: #12151C; margin-bottom: 20px; }
.cs-body__prose hr { border: none; border-top: 1px solid #D1D5DB; margin: 40px 0; }
.cs-pull-quote { margin: 44px 0; padding-left: 20px; border-left: 3px solid #4ADE80; }
.cs-pull-quote__text {
  font-family: 'Inter', sans-serif; font-weight: 600;
  font-size: clamp(20px, 2.2vw, 26px); color: #12151C; line-height: 1.4; max-width: 780px; margin: 0;
}
.cs-results { background: var(--bg); padding: clamp(80px,10vw,140px) 0; border-top: 1px solid var(--line); }
.cs-results__pair { margin-bottom: 40px; }
.cs-results__strip { padding-top: 32px; border-top: 1px solid var(--line); margin-bottom: 32px; }
.cs-results__closing { font-size: 17px; color: var(--text-soft); max-width: 580px; line-height: 1.65; }
.cs-screenshot { margin: 36px 0; border-radius: 10px; overflow: hidden; border: 1px solid #D1D5DB; box-shadow: 0 4px 24px rgba(0,0,0,0.07); }
.cs-screenshot img { width: 100%; height: auto; display: block; }
.cs-screenshot figcaption {
  font-family: 'JetBrains Mono', 'Courier New', monospace; font-size: 11px;
  letter-spacing: 0.1em; text-transform: uppercase; color: #888E9B;
  padding: 9px 14px; background: #F0F1F3; border-top: 1px solid #D1D5DB;
}
.cs-screenshot--side-by-side { background: transparent; border: none; box-shadow: none; border-radius: 0; }
.cs-screenshot__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cs-screenshot__pair > div { border-radius: 10px; overflow: hidden; border: 1px solid #D1D5DB; box-shadow: 0 4px 24px rgba(0,0,0,0.07); }
.cs-screenshot__pair img { width: 100%; height: auto; display: block; }
.cs-screenshot__pair figcaption {
  font-family: 'JetBrains Mono', 'Courier New', monospace; font-size: 11px;
  letter-spacing: 0.1em; text-transform: uppercase; color: #888E9B;
  padding: 9px 14px; background: #F0F1F3; border-top: 1px solid #D1D5DB;
}
.cs-siblings { background: var(--bg); border-top: 1px solid var(--line); }
.cs-siblings__head { margin: 32px 0 8px; color: var(--text); }

/* ══════════════════════════════════════════
   HOME RESPONSIVE
══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 56% 44%; }
  .clients__grid { grid-template-columns: repeat(4, 1fr); }
  .shift__inner { gap: 48px; }
  .authority__inner { gap: 48px; }
}
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero__left { grid-column: 1; grid-row: 1; padding: 100px var(--gutter) 40px; }
  .hero__right { grid-column: 1; grid-row: 2; height: 60vw; min-height: 260px; max-height: 420px; }
  .hero__fade--left { width: 30%; }
  .hero__metrics { max-width: 100%; grid-template-columns: 1fr 1fr; }
  .clients__grid { grid-template-columns: repeat(2, 1fr); }
  .clients__item:nth-child(2n+1) { border-left: none; }
  .clients__item:nth-child(n+3) { border-top: 1px solid var(--line); }
  .shift__inner { grid-template-columns: 1fr; gap: 48px; }
  .work__featured { grid-template-columns: 1fr; }
  .work__secondary { grid-template-columns: 1fr; }
  .services__item { grid-template-columns: 1fr; gap: 8px; }
  .services__num { padding-top: 0; }
  .services__item:hover { margin: 0; padding: 36px 0; border-radius: 0; }
  .authority__inner { grid-template-columns: 1fr; gap: 40px; }
  .authority__photo { max-height: 340px; object-fit: cover; }
  .quote-secondary { grid-template-columns: 1fr; }
  .cta__inner { grid-template-columns: 1fr; gap: 40px; padding: 48px var(--gutter); }
  .flow { flex-direction: column; align-items: flex-start; }
  .flow__arrow { transform: rotate(90deg); margin: 0 0 0 16px; }
  .flow__node { align-items: flex-start; text-align: left; }
}
@media (max-width: 560px) {
  .hero__right { height: 72vw; }
  .hero__metrics { grid-template-columns: 1fr 1fr; }
  .clients__grid { grid-template-columns: 1fr 1fr; }
  .work__header { flex-direction: column; align-items: flex-start; }
  .quote-block { text-align: left; }
  .quote-block__mark { margin: 0 0 24px; }
  .quote-block__attr { align-items: flex-start; }
}
@media (max-width: 900px) {
  .about__hero { grid-template-columns: 1fr; gap: 40px; }
  .about__photo-wrap { position: static; order: -1; max-width: 380px; }
  .about-authority__inner { grid-template-columns: 1fr; gap: 40px; }
  .about-authority__photo-wrap { max-width: 420px; }
  .agency__grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .agency__item { border-right: none; padding: 0; }
}
@media (max-width: 768px) {
  .contact__grid { grid-template-columns: 1fr; gap: 40px; }
  .cr { grid-template-columns: 1fr; gap: 24px; }
  .cr__left { padding-right: 0; }
  .cr__right { padding-left: 0; border-left: none; border-top: 1px solid var(--line-soft); padding-top: 24px; }
}
@media (max-width: 700px) {
  .blog__featured { flex-direction: column; }
  .blog__featured-badge { align-self: flex-start; }
  .blog__grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .bp-author { flex-direction: column; gap: 16px; }
}
@media (max-width: 900px) {
  .cs-body__inner { grid-template-columns: 1fr; gap: 40px; }
  .cs-body__ctx { position: static; }
  .cs-body__prose { max-width: 100%; }
}
@media (max-width: 600px) {
  .cs-screenshot__pair { grid-template-columns: 1fr; }
}
