/* ============================================================
   FINYKI DIGITAL — B2B Marketing Studio
   Palette: Tango / Black / Charcoal / White
   ============================================================ */

:root {
  --tango: #F04E23;
  --tango-2: #EC5E24;
  --tango-soft: #FBE3D9;
  --black: #0A0A0A;
  --charcoal: #1F2023;
  --charcoal-2: #2A2C30;
  --charcoal-3: #3A3D42;
  --white: #FAFAFA;
  --paper: #F4EFE9;
  --line: rgba(10, 10, 10, 0.14);
  --line-light: rgba(250, 250, 250, 0.14);
  --max: 1360px;
  --gutter: clamp(20px, 4vw, 48px);
  --radius: 2px;
  --ease: cubic-bezier(.2,.7,.2,1);
  --font-display: "Fraunces", "Times New Roman", serif;
  --font-sans: "Inter", system-ui, -apple-system, "Helvetica Neue", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; }
*::selection { background: var(--tango); color: var(--white); }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--white);
  color: var(--black);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

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

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--black); color: var(--white);
  padding: 12px 20px; z-index: 1000;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  --bg: var(--black);
  --fg: var(--white);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  background: var(--bg);
  color: var(--fg);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  border: 1px solid var(--bg);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
  transition: transform .4s var(--ease);
  white-space: nowrap;
}
.btn svg { transition: transform .4s var(--ease); }
.btn:hover svg { transform: translateX(4px); }

.btn--primary { --bg: var(--tango); --fg: var(--white); border-color: var(--tango); }
.btn--solid { --bg: var(--black); }
.btn--ghost { --bg: transparent; --fg: var(--black); border-color: currentColor; }
.btn--xl { padding: 22px 34px; font-size: 15px; }

.btn:hover { transform: translateY(-2px); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250,250,250,.88);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.nav.is-scrolled { border-color: var(--line); }

.nav__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px var(--gutter);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -0.02em;
  color: var(--black);
}
.logo__mark { width: 30px; height: 30px; color: var(--black); }
.logo__dot { color: var(--tango); }
.logo--light { color: var(--white); }
.logo--light .logo__mark { color: var(--white); }

.nav__links {
  display: flex;
  justify-content: center;
  gap: 38px;
  font-size: 14px;
  font-weight: 500;
}
.nav__links a {
  position: relative;
  padding: 6px 0;
  color: var(--charcoal);
  transition: color .25s var(--ease);
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  height: 1px;
  width: 0;
  background: var(--tango);
  transition: width .3s var(--ease);
}
.nav__links a:hover { color: var(--black); }
.nav__links a:hover::after { width: 100%; }

.nav__cta { padding: 12px 18px; font-size: 12px; }

.nav__burger {
  display: none;
  width: 40px; height: 40px;
  border: 1px solid var(--line);
  background: transparent;
  flex-direction: column;
  gap: 5px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
}
.nav__burger span {
  display: block;
  width: 18px; height: 1.5px;
  background: var(--black);
  transition: transform .3s var(--ease);
}

@media (max-width: 900px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: flex; }
  .nav__inner {
    grid-template-columns: 1fr auto;
    grid-template-areas: "logo burger";
    justify-items: stretch;
    gap: 12px;
  }
  .logo { grid-area: logo; justify-self: start; min-width: 0; }
  .logo__text { font-size: 18px; }
  .nav__burger { grid-area: burger; justify-self: end; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 60px 0 80px;
  background: var(--white);
  overflow: hidden;
}
.hero__grid {
  position: absolute; inset: 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  pointer-events: none;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.hero__grid > div {
  border-right: 1px solid var(--line);
  opacity: .5;
}
.hero__grid > div:first-child { border-left: 1px solid var(--line); }

.hero__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 40px var(--gutter) 0;
  position: relative;
  z-index: 2;
}

.hero__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 60px;
  font-family: var(--font-mono);
  font-size: 12px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--black);
  color: var(--white);
  border-radius: 100px;
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 500;
  font-family: var(--font-sans);
}
.pill__dot {
  width: 7px; height: 7px;
  background: var(--tango);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(240,78,35,.3);
  animation: pulse 2s infinite var(--ease);
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(240,78,35,.3); }
  50% { box-shadow: 0 0 0 8px rgba(240,78,35,0); }
}

.ticker {
  overflow: hidden;
  white-space: nowrap;
  flex: 1;
  max-width: 50vw;
  color: var(--charcoal-3);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.ticker span {
  display: inline-block;
  animation: tickerSlide 35s linear infinite;
  padding-right: 40px;
}
@keyframes tickerSlide {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(52px, 11vw, 176px);
  line-height: 0.92;
  letter-spacing: -0.04em;
  margin: 0;
  max-width: 14ch;
}
.hero__title .line {
  display: block;
  overflow: hidden;
}
.hero__title .line em {
  font-style: italic;
  font-weight: 500;
  color: var(--tango);
}
.hero__title .mark {
  position: relative;
  font-style: italic;
  font-weight: 500;
}
.hero__title .mark::after {
  content: "";
  position: absolute;
  left: -2%; right: -2%;
  bottom: 0.08em;
  height: 0.14em;
  background: var(--tango);
  z-index: -1;
  opacity: .35;
}

.hero__foot {
  margin-top: 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: end;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}
.hero__lede {
  max-width: 52ch;
  font-size: clamp(16px, 1.4vw, 20px);
  line-height: 1.5;
  color: var(--charcoal);
  margin: 0;
}
.hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.hero__art {
  position: absolute;
  right: -60px;
  top: 10%;
  width: 42vw;
  max-width: 620px;
  opacity: .08;
  pointer-events: none;
  animation: slowSpin 80s linear infinite;
}
@keyframes slowSpin {
  to { transform: rotate(360deg); }
}

.hero__scroll {
  position: absolute;
  bottom: 30px; right: var(--gutter);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--charcoal-3);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}
.hero__scroll svg { animation: bounce 2s infinite var(--ease); }
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

@media (max-width: 900px) {
  .hero__foot { grid-template-columns: 1fr; gap: 30px; }
  .hero__actions { justify-content: flex-start; }
  .hero__scroll { display: none; }
  .hero__art { opacity: .05; }
}

/* ============================================================
   LOGOS MARQUEE
   ============================================================ */
.logos {
  background: var(--black);
  color: var(--white);
  padding: 28px 0;
  overflow: hidden;
  border-top: 1px solid var(--black);
  border-bottom: 1px solid var(--charcoal-2);
}
.logos__track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: logoScroll 40s linear infinite;
}
.logos__row {
  display: flex;
  gap: 0;
}
.logo-tile {
  display: inline-flex;
  flex-direction: column;
  padding: 0 44px;
  border-right: 1px solid var(--charcoal-2);
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  align-items: flex-start;
  justify-content: center;
  white-space: nowrap;
}
.logo-tile small {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--tango);
  margin-top: 2px;
}
@keyframes logoScroll {
  to { transform: translateX(-50%); }
}

/* ============================================================
   SHARED: eyebrow, section head
   ============================================================ */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--charcoal);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: var(--white);
}
.eyebrow__num {
  color: var(--tango);
  font-weight: 500;
}
.eyebrow--light {
  color: var(--white);
  border-color: var(--line-light);
  background: transparent;
}

.section-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 60px;
  align-items: end;
  margin-bottom: 80px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
}
.section-head__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(36px, 5.5vw, 72px);
  line-height: 1;
  letter-spacing: -0.03em;
  margin: 0;
  max-width: 16ch;
}
.section-head__lede {
  max-width: 34ch;
  color: var(--charcoal);
  font-size: 16px;
  margin: 0;
  line-height: 1.5;
}
.section-head__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-bottom: 1px solid currentColor;
  padding-bottom: 4px;
}
.section-head__link:hover { color: var(--tango); }
.section-head--light { color: var(--white); border-color: var(--line-light); }
.section-head--light .section-head__lede { color: rgba(250,250,250,.7); }

@media (max-width: 900px) {
  .section-head { grid-template-columns: 1fr; gap: 20px; align-items: start; }
}

/* ============================================================
   STATEMENT
   ============================================================ */
.statement {
  padding: 140px 0 120px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.statement__inner { max-width: 1200px; }
.statement__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(32px, 4.5vw, 60px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 30px 0 60px;
  max-width: 24ch;
}
.statement__title s {
  color: var(--charcoal-3);
  text-decoration-thickness: 2px;
  text-decoration-color: var(--tango);
  font-style: italic;
  font-weight: 500;
}
.statement__title em {
  font-style: italic;
  font-weight: 500;
  color: var(--tango);
}
.statement__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  max-width: 900px;
  margin-left: auto;
  color: var(--charcoal);
}
.statement__grid p { margin: 0; font-size: 17px; line-height: 1.6; }

@media (max-width: 700px) {
  .statement__grid { grid-template-columns: 1fr; gap: 20px; }
}

/* ============================================================
   SERVICES
   ============================================================ */
.services {
  padding: 140px 0;
  background: var(--white);
}
.services__list {
  list-style: none;
  margin: 0; padding: 0;
  border-top: 1px solid var(--line);
}
.service {
  display: grid;
  grid-template-columns: 80px 1fr 60px;
  gap: 40px;
  padding: 44px 0;
  border-bottom: 1px solid var(--line);
  position: relative;
  isolation: isolate;
  transition: background .4s var(--ease);
  cursor: pointer;
}
.service > * { position: relative; z-index: 1; }
.service::before {
  content: "";
  position: absolute;
  left: -100vw; right: -100vw;
  top: 0; bottom: 0;
  background: var(--black);
  opacity: 0;
  transition: opacity .4s var(--ease);
  z-index: 0;
  pointer-events: none;
}
.service:hover::before { opacity: 1; }
.service:hover { color: var(--white); }
.service:hover .service__num { color: var(--tango); }
.service:hover .service__tags li { border-color: var(--line-light); }

.service__num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--charcoal-3);
  padding-top: 8px;
  transition: color .3s var(--ease);
}
.service__body h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(28px, 4vw, 52px);
  line-height: 1;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
}
.service__body p {
  margin: 0 0 20px;
  max-width: 58ch;
  font-size: 16px;
  line-height: 1.55;
  color: inherit;
  opacity: .82;
}
.service__tags {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.service__tags li {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 100px;
}
.service__arrow {
  align-self: center;
  color: currentColor;
  transition: transform .4s var(--ease);
}
.service:hover .service__arrow { transform: translate(6px, -6px); color: var(--tango); }

@media (max-width: 700px) {
  .service { grid-template-columns: auto 1fr; gap: 20px; padding: 28px 0; }
  .service__arrow { grid-column: 1 / -1; }
}

/* ============================================================
   AI SHOWCASE
   ============================================================ */
.ai-showcase {
  padding: 140px 0;
  background: var(--charcoal);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.ai-showcase::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(240,78,35,.18), transparent 35%),
    radial-gradient(circle at 85% 80%, rgba(240,78,35,.12), transparent 40%);
  pointer-events: none;
}
.ai-showcase > .container { position: relative; }
.ai-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 30px;
}
.ai-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 0;
  background: var(--black);
  border: 1px solid var(--charcoal-2);
  overflow: hidden;
  transition: transform .4s var(--ease), border-color .3s var(--ease);
}
.ai-card:hover {
  transform: translateY(-4px);
  border-color: var(--tango);
}
.ai-card__diagram {
  background: var(--charcoal-2);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  border-right: 1px solid var(--charcoal-3);
}
.ai-card__diagram svg { width: 100%; height: auto; max-height: 200px; }
.ai-card__body { padding: 32px 28px; }
.ai-card__tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--tango);
  margin-bottom: 14px;
  padding: 4px 10px;
  border: 1px solid var(--charcoal-3);
  border-radius: 100px;
}
.ai-card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}
.ai-card p {
  margin: 0 0 20px;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(250,250,250,.72);
}
.ai-card__bullets {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  gap: 8px;
  border-top: 1px solid var(--charcoal-2);
  padding-top: 18px;
}
.ai-card__bullets li {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--white);
  padding-left: 20px;
  position: relative;
}
.ai-card__bullets li::before {
  content: "→";
  color: var(--tango);
  position: absolute;
  left: 0;
  top: 0;
}

@media (max-width: 1100px) {
  .ai-grid { grid-template-columns: 1fr; }
  .ai-card { grid-template-columns: 220px 1fr; }
}
@media (max-width: 700px) {
  .ai-card { grid-template-columns: 1fr; min-width: 0; }
  .ai-card__diagram {
    border-right: 0;
    border-bottom: 1px solid var(--charcoal-3);
    padding: 18px;
    min-width: 0;
  }
  .ai-card__diagram svg { max-width: 100%; max-height: 170px; }
  .ai-card__body { padding: 24px 20px; min-width: 0; }
}

/* ============================================================
   APPROACH
   ============================================================ */
.approach {
  padding: 140px 0;
  background: var(--black);
  color: var(--white);
}
.approach__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-left: 1px solid var(--line-light);
  border-top: 1px solid var(--line-light);
}
.phase {
  padding: 40px 32px;
  border-right: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
  transition: background .4s var(--ease);
  position: relative;
  overflow: hidden;
}
.phase::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--tango) 0%, transparent 60%);
  opacity: 0;
  transition: opacity .4s var(--ease);
}
.phase:hover::before { opacity: .1; }
.phase > * { position: relative; }
.phase header {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(250,250,250,.5);
  margin-bottom: 60px;
}
.phase__tag { color: var(--tango); }
.phase h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 40px;
  line-height: 1;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}
.phase p {
  font-size: 14px;
  line-height: 1.55;
  color: rgba(250,250,250,.72);
  margin: 0 0 40px;
}
.phase__bar {
  height: 2px;
  background: var(--charcoal-2);
  position: relative;
  overflow: hidden;
}
.phase__bar i {
  display: block;
  height: 100%;
  width: 0;
  background: var(--tango);
  transition: width 1.2s var(--ease);
}
.phase.is-visible .phase__bar i {
  width: var(--w);
}

@media (max-width: 900px) {
  .approach__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .approach__grid { grid-template-columns: 1fr; }
}

/* ============================================================
   WORK
   ============================================================ */
.work { padding: 140px 0; background: var(--white); }
.work__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.case {
  grid-column: span 1;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  transition: transform .4s var(--ease), background .4s var(--ease);
  position: relative;
}
.case--lg { grid-column: span 2; grid-row: span 1; }
.case--wide { grid-column: span 3; }
.case:hover { transform: translateY(-4px); }
.case__visual {
  aspect-ratio: 4/3;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border: 1px solid var(--line);
}
.case--wide .case__visual { aspect-ratio: 16/5; }
.case__visual--tango { background: var(--tango); }
.case__visual--dark { background: var(--charcoal); }
.case__visual--charcoal { background: var(--charcoal-2); }
.case__visual--light { background: var(--paper); }
.case__visual svg { width: 100%; height: 100%; }
.case__meta {
  display: flex;
  flex-direction: column;
  gap: 24px;
  flex: 1;
  justify-content: space-between;
}
.case__tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--tango);
  margin-bottom: 10px;
}
.case h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(24px, 2.5vw, 32px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
}
.case p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--charcoal);
  max-width: 48ch;
}
.case__kpis {
  list-style: none;
  margin: 0; padding-top: 20px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
  gap: 20px;
}
.case__kpis li { display: flex; flex-direction: column; }
.case__kpis strong {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 28px;
  letter-spacing: -0.02em;
  color: var(--black);
}
.case__kpis span {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--charcoal-3);
  margin-top: 2px;
}

@media (max-width: 1000px) {
  .work__grid { grid-template-columns: 1fr 1fr; }
  .case--lg, .case--wide { grid-column: span 2; }
}
@media (max-width: 640px) {
  .work__grid { grid-template-columns: 1fr; }
  .case, .case--lg, .case--wide { grid-column: span 1; }
}

/* ============================================================
   STATS
   ============================================================ */
.stats {
  padding: 120px 0;
  background: var(--charcoal);
  color: var(--white);
  border-top: 1px solid var(--charcoal-2);
  border-bottom: 1px solid var(--charcoal-2);
}
.stats__head {
  max-width: 820px;
  margin-bottom: 80px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line-light);
}
.stats__head h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin: 20px 0 0;
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin: 0;
}
.stats__grid > div {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-right: 20px;
  border-right: 1px solid var(--line-light);
}
.stats__grid > div:last-child { border-right: 0; }
.stats__grid dt {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(250,250,250,.5);
}
.stats__grid dd {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(48px, 6vw, 84px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--tango);
}
.stats__grid p {
  font-size: 14px;
  line-height: 1.5;
  color: rgba(250,250,250,.7);
  margin: 16px 0 0;
}
@media (max-width: 900px) {
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .stats__grid > div:nth-child(even) { border-right: 0; }
}
@media (max-width: 500px) {
  .stats__grid { grid-template-columns: 1fr; }
  .stats__grid > div { border-right: 0; border-bottom: 1px solid var(--line-light); padding-bottom: 24px; }
}

/* ============================================================
   TESTIMONIAL
   ============================================================ */
.testimonial {
  padding: 140px 0;
  background: var(--paper);
  position: relative;
}
.testimonial figure { margin: 40px 0 0; }
.testimonial blockquote {
  font-family: var(--font-display);
  font-weight: 500;
  font-style: italic;
  font-size: clamp(24px, 3.2vw, 44px);
  line-height: 1.25;
  letter-spacing: -0.015em;
  margin: 0 0 60px;
  max-width: 22ch;
  color: var(--black);
  position: relative;
}
.testimonial .quote {
  display: block;
  font-size: 160px;
  line-height: 0.3;
  color: var(--tango);
  margin-bottom: 30px;
}
.testimonial figcaption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 30px;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
  gap: 20px;
}
.testimonial__person { display: flex; align-items: center; gap: 16px; }
.testimonial__avatar {
  width: 52px; height: 52px;
  background: var(--black);
  color: var(--tango);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 600;
}
.testimonial__person strong { display: block; font-size: 16px; }
.testimonial__person span {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--charcoal-3);
  letter-spacing: 0.04em;
}
.testimonial__nav { display: flex; gap: 8px; }
.arrow {
  width: 44px; height: 44px;
  background: transparent;
  border: 1px solid var(--black);
  color: var(--black);
  display: grid;
  place-items: center;
  border-radius: 50%;
  transition: all .3s var(--ease);
}
.arrow:hover { background: var(--black); color: var(--white); }
.arrow--primary { background: var(--tango); border-color: var(--tango); color: var(--white); }
.arrow--primary:hover { background: var(--black); border-color: var(--black); }

/* ============================================================
   INSIGHTS
   ============================================================ */
.insights { padding: 140px 0 120px; background: var(--white); }
.insights__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.post {
  padding: 36px 30px 30px;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: all .4s var(--ease);
  min-height: 320px;
  position: relative;
}
.post:hover {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}
.post:hover .post__meta span { background: var(--tango); color: var(--white); border-color: var(--tango); }
.post:hover .post__link { color: var(--tango); }
.post__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.post__meta span {
  padding: 5px 12px;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: var(--paper);
  transition: all .3s var(--ease);
}
.post__meta time { color: var(--charcoal-3); }
.post h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0;
  flex: 1;
}
.post p { margin: 0; font-size: 14px; line-height: 1.55; opacity: .8; }
.post__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.post:hover .post__link { border-color: var(--line-light); }

@media (max-width: 900px) {
  .insights__grid { grid-template-columns: 1fr; }
  .post { min-height: auto; }
}

/* ============================================================
   CTA
   ============================================================ */
.cta {
  padding: 120px 0;
  background: var(--tango);
  color: var(--black);
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 30%, rgba(10,10,10,.18), transparent 40%),
              radial-gradient(circle at 10% 80%, rgba(250,250,250,.18), transparent 40%);
  pointer-events: none;
}
.cta__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 60px;
  position: relative;
}
.cta h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(44px, 7vw, 112px);
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin: 20px 0 30px;
}
.cta p { max-width: 48ch; font-size: 16px; line-height: 1.55; margin: 0; }
.cta__right { display: flex; flex-direction: column; align-items: flex-end; gap: 20px; }
.cta__email {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.02em;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}

@media (max-width: 900px) {
  .cta__inner { grid-template-columns: 1fr; }
  .cta__right { align-items: flex-start; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--black);
  color: var(--white);
  padding: 80px 0 20px;
  position: relative;
  overflow: hidden;
}
.footer__top {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 80px;
  padding-bottom: 80px;
  border-bottom: 1px solid var(--line-light);
}
.footer__brand p {
  margin: 20px 0 40px;
  color: rgba(250,250,250,.7);
  max-width: 36ch;
  font-size: 15px;
  line-height: 1.55;
}
.footer__newsletter form {
  display: flex;
  align-items: stretch;
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  max-width: 400px;
  margin-top: 12px;
  background: rgba(255,255,255,.03);
}
.footer__newsletter input {
  flex: 1;
  padding: 14px 16px;
  background: transparent;
  border: 0;
  color: var(--white);
  font-family: inherit;
  font-size: 14px;
  outline: none;
}
.footer__newsletter input::placeholder { color: rgba(250,250,250,.4); }
.footer__newsletter button {
  padding: 0 20px;
  background: var(--tango);
  color: var(--white);
  border: 0;
  display: grid;
  place-items: center;
  transition: background .3s var(--ease);
  font-size: 12px;
}
.footer__newsletter button:hover { background: var(--white); color: var(--tango); }
.footer__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.footer__cols h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--tango);
  margin: 0 0 20px;
  font-weight: 500;
}
.footer__cols ul {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer__cols a {
  font-size: 15px;
  color: rgba(250,250,250,.8);
  transition: color .2s var(--ease);
  position: relative;
}
.footer__cols a:hover { color: var(--tango); }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(250,250,250,.5);
  flex-wrap: wrap;
  gap: 20px;
}
.footer__bottom > div { display: flex; gap: 32px; flex-wrap: wrap; }
.footer__legal a:hover { color: var(--tango); }
.footer__mega {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(80px, 18vw, 280px);
  line-height: 0.85;
  letter-spacing: -0.04em;
  margin-top: 40px;
  color: transparent;
  -webkit-text-stroke: 1px var(--charcoal-3);
  white-space: nowrap;
  text-align: center;
  overflow: hidden;
}

@media (max-width: 900px) {
  .footer__top { grid-template-columns: 1fr; gap: 60px; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(24px); transition: all .9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.hero__title .line { transform: translateY(100%); transition: transform 1s var(--ease); }
.hero__title .line.is-visible,
body.loaded .hero__title .line { transform: translateY(0); }
.hero__title .line:nth-child(1) { transition-delay: .1s; }
.hero__title .line:nth-child(2) { transition-delay: .2s; }
.hero__title .line:nth-child(3) { transition-delay: .3s; }
.hero__title .line:nth-child(4) { transition-delay: .4s; }

/* ============================================================
   INNER PAGES — generic hero / layouts
   ============================================================ */
.page-hero {
  padding: 100px 0 80px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: relative;
}
.page-hero__inner { max-width: 1100px; }
.page-hero h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(48px, 8vw, 128px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin: 24px 0 30px;
  max-width: 15ch;
}
.page-hero h1 em { font-style: italic; color: var(--tango); font-weight: 500; }
.page-hero p {
  max-width: 58ch;
  font-size: 18px;
  line-height: 1.5;
  color: var(--charcoal);
}

.two-col {
  padding: 120px 0;
  display: grid;
  grid-template-columns: 1fr;
}
.two-col__grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  align-items: start;
}
.two-col h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1;
  letter-spacing: -0.02em;
  margin: 0;
  position: sticky;
  top: 120px;
}
.two-col__body > * + * { margin-top: 24px; }
.two-col__body p { font-size: 17px; line-height: 1.65; color: var(--charcoal); margin: 0; }

@media (max-width: 900px) {
  .two-col__grid { grid-template-columns: 1fr; gap: 30px; }
  .two-col h2 { position: static; }
}

/* Services inner blocks */
.caps {
  padding: 120px 0;
  background: var(--white);
}
.caps__item {
  display: grid;
  grid-template-columns: 80px 1fr 1fr;
  gap: 60px;
  padding: 60px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.caps__item:first-child { border-top: 1px solid var(--line); }
.caps__num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--tango);
  padding-top: 12px;
}
.caps__item h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(28px, 3.5vw, 44px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
}
.caps__item p { font-size: 16px; line-height: 1.6; color: var(--charcoal); margin: 0; }
.caps__list { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); padding-left: 30px; }
.caps__list li {
  font-size: 15px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.caps__list li::before {
  content: "→";
  color: var(--tango);
  font-family: var(--font-mono);
}
.caps__list li:last-child { border: 0; }

.caps__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  padding: 10px 18px;
  border: 1px solid currentColor;
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: all .3s var(--ease);
  align-self: flex-start;
}
.caps__link:hover { background: var(--tango); border-color: var(--tango); color: var(--white); }
.caps__link svg { transition: transform .3s var(--ease); }
.caps__link:hover svg { transform: translateX(4px); }

@media (max-width: 900px) {
  .caps__item { grid-template-columns: 1fr; gap: 24px; }
  .caps__list { padding-left: 0; border-left: 0; }
}

/* Team grid */
.team { padding: 120px 0; background: var(--paper); }
.team__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 60px;
}
.member {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 24px;
  transition: all .3s var(--ease);
}
.member:hover { background: var(--black); color: var(--white); }
.member:hover .member__role { color: var(--tango); }
.member__avatar {
  width: 100%;
  aspect-ratio: 1;
  background: var(--tango);
  color: var(--white);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 48px;
  margin-bottom: 20px;
}
.member h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  margin: 0 0 4px;
  letter-spacing: -0.01em;
}
.member__role {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--charcoal-3);
}
.member p { font-size: 14px; line-height: 1.5; margin: 16px 0 0; opacity: .85; }

@media (max-width: 900px) { .team__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .team__grid { grid-template-columns: 1fr; } }

/* Contact form */
.contact {
  padding: 60px 0 140px;
  display: grid;
  grid-template-columns: 1fr;
}
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
}
.contact__info h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 28px;
}
.contact__info p { color: var(--charcoal); font-size: 16px; line-height: 1.6; max-width: 36ch; }
.contact__info ul { list-style: none; margin: 40px 0 0; padding: 0; display: flex; flex-direction: column; gap: 20px; }
.contact__info ul strong {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--tango);
  display: block;
  margin-bottom: 4px;
}
.contact__info ul a { font-size: 16px; border-bottom: 1px solid var(--line); padding-bottom: 2px; }
.contact__info ul a:hover { border-color: var(--tango); color: var(--tango); }

.form {
  display: grid;
  gap: 24px;
  border: 1px solid var(--line);
  padding: 40px;
  background: var(--paper);
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form__field label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--charcoal);
  margin-bottom: 8px;
}
.form__field input,
.form__field select,
.form__field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  background: var(--white);
  font-family: inherit;
  font-size: 15px;
  color: var(--black);
  border-radius: var(--radius);
  transition: border-color .2s var(--ease);
}
.form__field textarea { resize: vertical; min-height: 140px; }
.form__field input:focus,
.form__field select:focus,
.form__field textarea:focus { outline: 0; border-color: var(--tango); }

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.chip {
  padding: 10px 16px;
  border: 1px solid var(--line);
  background: var(--white);
  font-size: 13px;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: 100px;
  cursor: pointer;
  transition: all .2s var(--ease);
}
.chip:hover { border-color: var(--black); }
.chip.is-active { background: var(--black); color: var(--white); border-color: var(--black); }
.chip.is-active::before { content: "✓ "; color: var(--tango); }

.form__submit { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; padding-top: 20px; border-top: 1px solid var(--line); }
.form__note { font-family: var(--font-mono); font-size: 11px; color: var(--charcoal-3); letter-spacing: 0.06em; }

@media (max-width: 900px) {
  .contact__grid { grid-template-columns: 1fr; gap: 40px; }
  .form__row { grid-template-columns: 1fr; }
  .form { padding: 24px; }
}

/* Work inner page */
.work-list { padding: 80px 0 120px; }
.work-filter {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 60px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--line);
}
.work-card {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  padding: 60px 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
}
.work-card:hover h3 { color: var(--tango); }
.work-card__visual {
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
}
.work-card__copy h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(28px, 4vw, 52px);
  line-height: 1;
  letter-spacing: -0.02em;
  margin: 16px 0 20px;
  transition: color .3s var(--ease);
}
.work-card__copy p { font-size: 16px; line-height: 1.55; color: var(--charcoal); margin: 0 0 30px; max-width: 58ch; }
.work-card__kpis {
  list-style: none;
  margin: 0 0 30px;
  padding: 0;
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}
.work-card__kpis li strong { font-family: var(--font-display); font-weight: 600; font-size: 28px; display: block; letter-spacing: -0.02em; }
.work-card__kpis li span { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--charcoal-3); }

@media (max-width: 900px) {
  .work-card { grid-template-columns: 1fr; gap: 30px; }
}

/* ============================================================
   SERVICE SUBPAGES
   ============================================================ */
.breadcrumb {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--charcoal-3);
  display: flex;
  align-items: center;
  gap: 10px;
}
.breadcrumb a { transition: color .2s var(--ease); }
.breadcrumb a:hover { color: var(--tango); }
.breadcrumb strong { color: var(--black); font-weight: 500; }
.breadcrumb__sep { opacity: .4; }

.service-hero {
  padding: 80px 0 100px;
  position: relative;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.service-hero--dark {
  background: var(--charcoal);
  color: var(--white);
  border-color: var(--charcoal-2);
}
.service-hero__inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 80px;
  align-items: end;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.service-hero h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(44px, 7.5vw, 120px);
  line-height: 0.95;
  letter-spacing: -0.035em;
  margin: 24px 0 0;
  max-width: 14ch;
}
.service-hero h1 em { font-style: italic; color: var(--tango); font-weight: 500; }
.service-hero__lede {
  font-size: clamp(16px, 1.4vw, 20px);
  line-height: 1.55;
  max-width: 44ch;
  margin: 0 0 28px;
  color: inherit;
  opacity: .85;
}
.service-hero__bullets {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 13px;
}
.service-hero__bullets li {
  padding: 12px 0;
  border-top: 1px solid currentColor;
  display: flex;
  justify-content: space-between;
  opacity: .9;
}
.service-hero__bullets li:last-child { border-bottom: 1px solid currentColor; }
.service-hero__bullets li span { opacity: .6; }

@media (max-width: 900px) {
  .service-hero__inner { grid-template-columns: 1fr; gap: 40px; }
}

.deliverables {
  padding: 120px 0;
}
.deliverables--dark {
  background: var(--charcoal);
  color: var(--white);
}
.deliverables-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 20px;
}
.deliverable {
  padding: 32px 28px;
  border: 1px solid var(--line);
  background: var(--paper);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: all .35s var(--ease);
  min-height: 240px;
}
.deliverables--dark .deliverable {
  background: var(--black);
  border-color: var(--charcoal-2);
  color: var(--white);
}
.deliverable:hover {
  background: var(--black);
  color: var(--white);
  border-color: var(--tango);
  transform: translateY(-3px);
}
.deliverables--dark .deliverable:hover { background: var(--charcoal-2); }
.deliverable__num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--tango);
  text-transform: uppercase;
}
.deliverable h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.01em;
  line-height: 1.12;
  margin: 0;
}
.deliverable p {
  font-size: 14px;
  line-height: 1.55;
  margin: 0;
  opacity: .82;
}
.deliverable ul {
  list-style: none;
  margin: auto 0 0;
  padding: 14px 0 0;
  border-top: 1px solid rgba(127,127,127,.2);
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.deliverable ul li {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border: 1px solid currentColor;
  border-radius: 100px;
  opacity: .7;
}

@media (max-width: 900px) { .deliverables-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .deliverables-grid { grid-template-columns: 1fr; } }

.stack {
  padding: 100px 0;
  background: var(--black);
  color: var(--white);
  border-top: 1px solid var(--charcoal-2);
  border-bottom: 1px solid var(--charcoal-2);
}
.stack-head { margin-bottom: 40px; max-width: 820px; }
.stack-head h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1;
  letter-spacing: -0.02em;
  margin: 20px 0 16px;
}
.stack-head p { color: rgba(250,250,250,.72); max-width: 52ch; margin: 0; font-size: 15px; }
.stack-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}
.stack-item {
  padding: 22px 20px;
  border: 1px solid var(--charcoal-2);
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: all .3s var(--ease);
}
.stack-item:hover { border-color: var(--tango); background: var(--charcoal-2); }
.stack-item strong {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.stack-item span {
  font-family: var(--font-mono);
  font-size: 10px;
  color: rgba(250,250,250,.55);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.related-services {
  padding: 120px 0;
  background: var(--paper);
  border-top: 1px solid var(--line);
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 30px;
}
.related-card {
  padding: 32px 28px;
  border: 1px solid var(--line);
  background: var(--white);
  transition: all .3s var(--ease);
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 220px;
}
.related-card:hover {
  transform: translateY(-3px);
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}
.related-card:hover .related-card__tag { color: var(--tango); }
.related-card__tag {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--tango);
}
.related-card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.01em;
  line-height: 1.12;
  margin: 0;
}
.related-card p {
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
  opacity: .82;
}
.related-card__arrow {
  margin-top: auto;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid rgba(127,127,127,.2);
}

@media (max-width: 900px) { .related-grid { grid-template-columns: 1fr; } }

.proof-strip {
  padding: 80px 0;
  background: var(--tango);
  color: var(--black);
  position: relative;
  overflow: hidden;
}
.proof-strip::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 90% 50%, rgba(10,10,10,.18), transparent 40%);
  pointer-events: none;
}
.proof-strip__inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  align-items: center;
  position: relative;
}
.proof-strip h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1;
  letter-spacing: -0.02em;
  margin: 10px 0 0;
}
.proof-strip__kpis {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 30px;
}
.proof-strip__kpis li { display: flex; flex-direction: column; gap: 4px; border-top: 1px solid var(--black); padding-top: 14px; }
.proof-strip__kpis strong {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(28px, 3.5vw, 44px);
  line-height: 1;
  letter-spacing: -0.02em;
}
.proof-strip__kpis span {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
@media (max-width: 800px) { .proof-strip__inner { grid-template-columns: 1fr; gap: 20px; } }

.process {
  padding: 120px 0;
  background: var(--white);
}
.process__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  margin-top: 30px;
}
.process__step {
  padding: 40px 32px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.process__step header {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--charcoal-3);
  margin-bottom: 40px;
}
.process__step header span:first-child { color: var(--tango); }
.process__step h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 30px;
  line-height: 1;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
}
.process__step p { font-size: 14px; line-height: 1.55; color: var(--charcoal); margin: 0; }
@media (max-width: 900px) { .process__steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .process__steps { grid-template-columns: 1fr; } }

/* ============================================================
   CASE STUDIES — AI USE CASES
   ============================================================ */
.usecases {
  padding: 60px 0 120px;
  background: var(--white);
}
.usecases__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.usecase {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 28px;
  padding: 36px 32px;
  border: 1px solid var(--line);
  background: var(--paper);
  transition: all .35s var(--ease);
  position: relative;
  overflow: hidden;
}
.usecase:hover {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
  transform: translateY(-3px);
}
.usecase:hover .usecase__num { color: var(--tango); }
.usecase:hover .usecase__tag { background: var(--tango); color: var(--white); border-color: var(--tango); }
.usecase:hover .usecase__stats { border-color: var(--line-light); }
.usecase:hover .usecase__cta {
  background: var(--tango);
  color: var(--white);
  border-color: var(--tango);
}
.usecase__num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 56px;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--charcoal-3);
  transition: color .3s var(--ease);
}
.usecase__body {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.usecase__icon {
  width: 48px; height: 48px;
  margin-bottom: 4px;
  display: grid;
  place-items: center;
  border: 1px solid currentColor;
  opacity: .85;
}
.usecase__icon svg { width: 24px; height: 24px; }
.usecase__tag {
  display: inline-flex;
  align-self: flex-start;
  padding: 5px 12px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--tango);
  transition: all .3s var(--ease);
}
.usecase h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0;
}
.usecase p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  opacity: .85;
}
.usecase__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  padding-top: 16px;
  margin-top: 8px;
  border-top: 1px solid rgba(127,127,127,.25);
  transition: border-color .3s var(--ease);
}
.usecase__stats dt {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: .6;
  margin-bottom: 4px;
}
.usecase__stats dd {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
}
.usecase__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: flex-start;
  padding: 12px 18px;
  margin-top: 8px;
  border: 1px solid currentColor;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: transparent;
  color: inherit;
  border-radius: var(--radius);
  transition: all .3s var(--ease);
  cursor: pointer;
  text-decoration: none;
}
.usecase__cta svg { transition: transform .3s var(--ease); }
.usecase__cta:hover svg { transform: translateX(4px); }

@media (max-width: 900px) {
  .usecases__grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .usecase { grid-template-columns: 1fr; gap: 20px; padding: 28px 24px; }
  .usecase__num { font-size: 42px; }
}

.usecase-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-bottom: 30px;
  margin-bottom: 30px;
  border-bottom: 1px solid var(--line);
}

.cs-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
}
.cs-tabs a.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.chip__count {
  font-size: 10px;
  opacity: .55;
  font-weight: normal;
  letter-spacing: 0.08em;
}

/* ============================================================
   BLOG INDEX
   ============================================================ */
.blog-index {
  padding: 40px 0 120px;
  background: var(--white);
}
.blog-topic {
  margin-top: 80px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}
.blog-topic:first-child { margin-top: 40px; border-top: 0; padding-top: 0; }
.blog-topic__head {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 40px;
}
.blog-topic__head h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1;
  letter-spacing: -0.02em;
  margin: 14px 0 0;
}
.blog-topic__head p {
  font-size: 16px;
  line-height: 1.55;
  color: var(--charcoal);
  margin: 0;
  max-width: 52ch;
}
@media (max-width: 900px) { .blog-topic__head { grid-template-columns: 1fr; gap: 16px; align-items: start; } }

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.blog-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 0;
  overflow: hidden;
  transition: all .35s var(--ease);
}
.blog-card:hover {
  transform: translateY(-4px);
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}
.blog-card:hover .blog-card__meta { color: var(--tango); }
.blog-card__visual {
  aspect-ratio: 16/10;
  background: var(--charcoal);
  overflow: hidden;
  display: grid;
  place-items: center;
  border-bottom: 1px solid var(--line);
}
.blog-card__visual svg { width: 100%; height: 100%; }
.blog-card__body {
  padding: 24px 24px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 14px;
}
.blog-card__meta {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--tango);
}
.blog-card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0;
}
.blog-card p {
  font-size: 14px;
  line-height: 1.55;
  margin: 0;
  opacity: .82;
  flex: 1;
}
.blog-card__foot {
  display: flex;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid rgba(127,127,127,.2);
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: .7;
}
@media (max-width: 900px) { .blog-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .blog-grid { grid-template-columns: 1fr; } }

/* ============================================================
   ARTICLE
   ============================================================ */
.article { background: var(--white); }
.article-hero {
  padding: 50px 0 60px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.article-hero__inner {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.article-hero__meta {
  display: flex;
  gap: 18px;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--charcoal-3);
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.article-hero__meta > span:first-child { color: var(--tango); }
.article-hero h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(34px, 5.5vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 0 0 24px;
}
.article-hero h1 em { font-style: italic; color: var(--tango); font-weight: 500; }
.article-hero__lede {
  font-size: clamp(16px, 1.6vw, 20px);
  line-height: 1.55;
  color: var(--charcoal);
  margin: 0 0 36px;
  max-width: 60ch;
}
.article-hero__byline {
  display: flex;
  gap: 14px;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.article-hero__avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--black);
  color: var(--tango);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
}
.article-hero__byline strong { display: block; font-size: 14px; }
.article-hero__byline span {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--charcoal-3);
  letter-spacing: 0.06em;
}

.article-visual {
  width: 100%;
  margin: 0 auto;
  aspect-ratio: 16/7;
  background: var(--charcoal);
  overflow: hidden;
  display: grid;
  place-items: center;
}
.article-visual svg { width: 100%; height: 100%; }

.article-body {
  max-width: 740px;
  margin: 0 auto;
  padding: 60px var(--gutter) 40px;
  font-size: 18px;
  line-height: 1.7;
  color: var(--charcoal);
}
.article-body h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--black);
  margin: 70px 0 20px;
}
.article-body h2:first-child { margin-top: 0; }
.article-body h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--black);
  margin: 40px 0 14px;
}
.article-body p { margin: 0 0 22px; }
.article-body a {
  color: var(--tango);
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
}
.article-body a:hover { color: var(--black); border-color: var(--black); }
.article-body ul, .article-body ol {
  padding-left: 22px;
  margin: 0 0 26px;
}
.article-body li { margin-bottom: 10px; }
.article-body li::marker { color: var(--tango); }
.article-body strong { color: var(--black); font-weight: 600; }

.tldr {
  background: var(--paper);
  border-left: 3px solid var(--tango);
  padding: 24px 28px;
  margin: 0 0 40px;
}
.tldr h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--tango);
  margin: 0 0 14px;
  font-weight: 500;
}
.tldr ul {
  margin: 0;
  padding-left: 18px;
}
.tldr ul li {
  font-size: 15px;
  line-height: 1.55;
  margin-bottom: 8px;
}

.pullquote {
  margin: 50px -20px;
  padding: 30px 0 30px 32px;
  border-left: 3px solid var(--tango);
}
.pullquote p {
  font-family: var(--font-display);
  font-weight: 500;
  font-style: italic;
  font-size: clamp(22px, 2.5vw, 30px);
  line-height: 1.3;
  color: var(--black);
  margin: 0;
  letter-spacing: -0.01em;
}

.callout {
  background: var(--black);
  color: var(--white);
  padding: 32px 34px;
  margin: 40px -20px;
  border-left: 3px solid var(--tango);
}
.callout h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--tango);
  margin: 0 0 12px;
  font-weight: 500;
}
.callout p {
  margin: 0;
  color: rgba(250,250,250,.85);
  font-size: 16px;
  line-height: 1.6;
}
.callout p + p { margin-top: 16px; }
.callout strong { color: var(--white); }
.callout a { color: var(--tango); }

.figure {
  margin: 40px -20px;
}
.figure__container {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 32px;
}
.figure__container--dark {
  background: var(--charcoal);
  border-color: var(--charcoal-2);
  color: var(--white);
}
.figure__container svg { width: 100%; height: auto; }
.figure figcaption {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--charcoal-3);
  text-align: center;
  margin-top: 14px;
}

.article-cta {
  max-width: 860px;
  margin: 40px auto 0;
  padding: 40px var(--gutter);
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}
.article-cta__text { flex: 1; min-width: 280px; }
.article-cta h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 26px;
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}
.article-cta p { font-size: 15px; margin: 0; color: var(--charcoal); }

.related-articles {
  background: var(--paper);
  padding: 80px 0;
  border-top: 1px solid var(--line);
}

/* simple chart classes reused inside SVGs */
.chart-bar { fill: var(--tango); }
.chart-bar-alt { fill: var(--charcoal); }

/* ============================================================
   ENHANCED ANIMATIONS
   ============================================================ */

/* Scroll progress bar */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0;
  background: var(--tango);
  z-index: 1000;
  transition: width .08s linear;
  pointer-events: none;
  box-shadow: 0 0 10px rgba(240,78,35,.5);
}

/* Custom cursor follower */
.cursor-dot {
  position: fixed;
  top: 0; left: 0;
  width: 10px; height: 10px;
  background: var(--tango);
  border: 1.5px solid var(--tango);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transition: width .3s var(--ease), height .3s var(--ease), opacity .3s, background .3s;
  will-change: transform;
  opacity: 0;
}
.cursor-dot.is-active { opacity: 1; }
.cursor-dot.is-hover {
  width: 44px; height: 44px;
  background: transparent;
}
@media (pointer: coarse), (prefers-reduced-motion: reduce) {
  .cursor-dot, .scroll-progress { display: none; }
}

/* Float + drift for decorative shapes */
.float {
  animation: floatY 6s ease-in-out infinite;
  will-change: transform;
}
.float-slow { animation: floatY 11s ease-in-out infinite; }
.float-delay-1 { animation-delay: -2s; }
.float-delay-2 { animation-delay: -4s; }
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-18px); }
}

.drift {
  animation: drift 40s ease-in-out infinite;
  will-change: transform;
}
@keyframes drift {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(12px, -10px) rotate(1.5deg); }
  50% { transform: translate(-8px, 14px) rotate(-1.5deg); }
  75% { transform: translate(10px, 8px) rotate(1deg); }
}

/* Gradient breathe on CTA */
.cta::before {
  animation: breathe 11s ease-in-out infinite;
}
@keyframes breathe {
  0%, 100% { opacity: 1; }
  50% { opacity: .55; }
}

/* Case card visual zoom on hover */
.case__visual,
.work-card__visual,
.blog-card__visual {
  overflow: hidden;
}
.case__visual svg,
.work-card__visual svg,
.blog-card__visual svg {
  transition: transform .9s cubic-bezier(.2,.7,.2,1);
  will-change: transform;
}
.case:hover .case__visual svg,
.work-card:hover .work-card__visual svg,
.blog-card:hover .blog-card__visual svg {
  transform: scale(1.06);
}

/* Button shimmer sweep on hover */
.btn::after {
  content: "";
  position: absolute;
  top: 0; left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.18), transparent);
  transition: left .8s ease;
  pointer-events: none;
}
.btn:hover::after { left: 130%; }
.btn--ghost::after { background: linear-gradient(100deg, transparent, rgba(10,10,10,.08), transparent); }

/* Magnetic buttons: JS drives transform, CSS handles smoothing */
.magnetic {
  transition: transform .35s cubic-bezier(.2,.8,.2,1);
  will-change: transform;
}
.magnetic:hover { transform: none; } /* let JS manage */

/* Staggered grid reveals */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal-stagger.is-visible > * {
  opacity: 1;
  transform: translateY(0);
}
.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: .00s; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: .08s; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: .16s; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: .24s; }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: .32s; }
.reveal-stagger.is-visible > *:nth-child(6) { transition-delay: .40s; }
.reveal-stagger.is-visible > *:nth-child(7) { transition-delay: .48s; }
.reveal-stagger.is-visible > *:nth-child(8) { transition-delay: .52s; }
.reveal-stagger.is-visible > *:nth-child(9) { transition-delay: .56s; }
.reveal-stagger.is-visible > *:nth-child(n+10) { transition-delay: .60s; }

/* Section heading fade up */
.section-head__title,
.article-hero h1,
.service-hero h1,
.page-hero h1 {
  opacity: 1;
}
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Smooth link underline reveal */
.article-body a {
  background-image: linear-gradient(var(--tango), var(--tango));
  background-position: 0 100%;
  background-repeat: no-repeat;
  background-size: 0 1px;
  border-bottom: 0;
  transition: background-size .3s var(--ease), color .2s var(--ease);
}
.article-body a:hover {
  background-size: 100% 1px;
  color: var(--black);
}

/* Case tags float on hover */
.case__tag, .work-card__copy .case__tag {
  transition: transform .3s var(--ease);
}
.case:hover .case__tag,
.work-card:hover .case__tag {
  transform: translateX(4px);
}

/* Service row arrow slide */
.service__arrow svg { transition: transform .4s var(--ease); }
.service:hover .service__arrow svg { transform: translate(4px, -4px); }

/* Nav link underline grow from center */
.nav__links a::after {
  left: 50%;
  transform: translateX(-50%);
  transition: width .35s var(--ease);
}
.nav__links a:hover::after { width: 100%; }

/* Pulse dot in pill (already exists, slightly enhanced) */
.pill__dot { animation-duration: 2.4s; }

/* Logo mark hover spin */
.logo:hover .logo__mark {
  animation: logoSpin .8s ease-in-out;
}
@keyframes logoSpin {
  0% { transform: rotate(0); }
  100% { transform: rotate(-90deg); }
}

/* Number counter anticipation */
[data-count] {
  display: inline-block;
  min-width: 2ch;
}

/* Floating abstract shapes (decorative) */
.floater {
  position: absolute;
  pointer-events: none;
  opacity: .4;
}
.floater--tl { top: 12%; left: 8%; }
.floater--tr { top: 18%; right: 12%; }
.floater--bl { bottom: 20%; left: 14%; }
.floater--br { bottom: 10%; right: 10%; }

/* Card lift transition (unified) */
.case, .work-card, .blog-card, .post, .member, .usecase, .related-card, .phase, .ai-card, .stack-item, .deliverable {
  will-change: transform, background-color;
}

/* Better scroll behavior */
html { scroll-padding-top: 100px; }

/* ============================================================
   RESPONSIVE — LARGE SCREENS (1600px+)
   ============================================================ */
@media (min-width: 1600px) {
  :root {
    --max: 1520px;
    --gutter: clamp(40px, 5vw, 72px);
  }
  body { font-size: 17px; }
  .hero__title { font-size: clamp(88px, 11vw, 200px); }
  .section-head__title { font-size: clamp(48px, 5.5vw, 88px); }
}

@media (min-width: 1920px) {
  :root { --max: 1680px; }
  body { font-size: 18px; }
}

/* ============================================================
   RESPONSIVE — MOBILE NAV MENU
   ============================================================ */
@media (max-width: 900px) {
  .nav {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: var(--white);
  }
  .nav.is-scrolled { background: rgba(250,250,250,.98); }
  body.menu-open .nav { background: var(--black); border-color: transparent; }
  body.menu-open .nav .logo { color: var(--white); }
  body.menu-open .nav .logo__mark { color: var(--white); }
  body.menu-open .nav__burger { border-color: rgba(250,250,250,.25); }
  body.menu-open .nav__burger span { background: var(--white); }

  .nav__inner { padding: 12px var(--gutter); }
  .nav__burger { z-index: 101; position: relative; background: transparent; }
  .nav__burger span { transition: transform .3s var(--ease), opacity .2s var(--ease); }
  .nav__burger.is-open { border-color: rgba(250,250,250,.25); }
  .nav__burger.is-open span { background: var(--white); }
  .nav__burger.is-open span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
  .nav__burger.is-open span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }

  .nav__cta { display: none !important; }

  .nav__links {
    position: fixed;
    inset: 0;
    background: var(--black);
    color: var(--white);
    display: none;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 88px var(--gutter) 32px;
    gap: 4px;
    z-index: 99;
    overflow-y: auto;
  }
  .nav__links.is-open { display: flex; }
  .nav__links a {
    color: var(--white);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(28px, 6.5vw, 42px);
    letter-spacing: -0.02em;
    line-height: 1.15;
    padding: 12px 0;
    width: 100%;
    border-bottom: 1px solid rgba(250,250,250,.08);
  }
  .nav__links a::after { display: none; }
  .nav__links a:hover,
  .nav__links a:focus { color: var(--tango); }
  .nav__links a[aria-current="page"] { color: var(--tango); }

  .nav__links a.nav__links__cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 28px;
    background: var(--tango);
    color: var(--white);
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 20px 28px;
    border-bottom: 0;
    width: auto;
    line-height: 1;
    align-self: flex-start;
  }
  .nav__links a.nav__links__cta:hover,
  .nav__links a.nav__links__cta:focus { background: var(--tango-2); color: var(--white); }
  .nav__links a.nav__links__email {
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: none;
    color: rgba(250,250,250,.55);
    margin-top: auto;
    padding: 24px 0 0;
    line-height: 1.3;
    text-decoration: none;
    width: 100%;
    border-bottom: 0;
  }
  .nav__links a.nav__links__email:hover,
  .nav__links a.nav__links__email:focus { color: var(--tango); }
}

/* Prevent body scroll when mobile menu is open */
body.menu-open { overflow: hidden; }

/* ============================================================
   RESPONSIVE — HERO
   ============================================================ */
@media (max-width: 900px) {
  .hero { min-height: auto; padding: 8px 0 56px; }
  .hero__grid { display: none; }
  .hero__inner { padding-top: 8px; }
  .hero__art { display: none; }
  .hero__scroll { display: none; }
  .hero__title { font-size: clamp(44px, 12vw, 88px); line-height: 0.95; max-width: none; }
}
@media (max-width: 700px) {
  .hero__meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 28px;
    padding-bottom: 14px;
  }
  .ticker { max-width: 100%; font-size: 11px; }
  .hero__foot {
    margin-top: 40px;
    padding-top: 24px;
    gap: 24px;
  }
  .hero__actions { width: 100%; flex-direction: column; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .hero__lede { font-size: 15px; }
}
@media (max-width: 440px) {
  .ticker { display: none; }
}

/* ============================================================
   RESPONSIVE — SECTION HEADERS
   ============================================================ */
@media (max-width: 900px) {
  .section-head {
    margin-bottom: 50px;
    padding-bottom: 30px;
    gap: 20px;
  }
  .section-head__title { font-size: clamp(28px, 7vw, 52px); }
  .section-head__lede { font-size: 15px; max-width: none; }
}

/* ============================================================
   RESPONSIVE — PAGE HERO (inner pages)
   ============================================================ */
@media (max-width: 900px) {
  .page-hero { padding: 28px 0 48px; }
  .page-hero h1 { font-size: clamp(42px, 13vw, 92px); margin-top: 14px; }
  .page-hero p { font-size: 16px; }
}

/* ============================================================
   RESPONSIVE — SERVICE HERO
   ============================================================ */
@media (max-width: 900px) {
  .service-hero { padding: 50px 0 70px; }
  .service-hero h1 { font-size: clamp(38px, 12vw, 80px); }
  .service-hero__lede { font-size: 15px; }
}

/* ============================================================
   RESPONSIVE — ARTICLE
   ============================================================ */
@media (max-width: 900px) {
  .article-hero { padding: 40px 0 50px; }
  .article-hero h1 { font-size: clamp(32px, 9vw, 56px); }
  .article-hero__lede { font-size: 16px; }
  .article-hero__meta { font-size: 10px; letter-spacing: 0.1em; gap: 14px; }
}
@media (max-width: 700px) {
  .article-body {
    padding: 48px var(--gutter) 30px;
    font-size: 17px;
    line-height: 1.65;
  }
  .article-body h2 { font-size: clamp(24px, 6.5vw, 32px); margin: 48px 0 14px; }
  .article-body h3 { font-size: 20px; margin: 32px 0 10px; }
  .article-visual { aspect-ratio: 4/3; }
  .tldr { padding: 20px 22px; margin-bottom: 32px; }
  .pullquote { margin: 36px -12px; padding: 18px 0 18px 22px; }
  .pullquote p { font-size: clamp(18px, 5vw, 22px); }
  .callout { padding: 24px 22px; margin: 32px -12px; }
  .callout p { font-size: 15px; }
  .figure { margin: 32px -12px; }
  .figure__container { padding: 22px 18px; }
  .article-cta {
    padding: 30px var(--gutter);
    gap: 24px;
    flex-direction: column;
    align-items: stretch;
  }
  .article-cta h3 { font-size: 22px; }
  .article-cta .btn { justify-content: center; }
}

/* ============================================================
   RESPONSIVE — FOOTER
   ============================================================ */
@media (max-width: 900px) {
  .footer { padding: 60px 0 20px; }
  .footer__top {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-bottom: 40px;
  }
  .footer__brand p { font-size: 14px; }
  .footer__newsletter { max-width: none; }
  .footer__cols { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding: 24px 0;
  }
  .footer__bottom > div { flex-direction: column; gap: 10px; }
  .footer__mega {
    font-size: clamp(60px, 22vw, 160px);
    margin-top: 30px;
  }
}
@media (max-width: 500px) {
  .footer__cols { grid-template-columns: 1fr; gap: 28px; }
}

/* ============================================================
   RESPONSIVE — CTA SECTIONS
   ============================================================ */
@media (max-width: 900px) {
  .cta { padding: 80px 0; }
  .cta__inner { grid-template-columns: 1fr; gap: 28px; }
  .cta h2 { font-size: clamp(36px, 11vw, 80px); }
  .cta__right { align-items: stretch; width: 100%; }
  .cta__right .btn { width: 100%; justify-content: center; }
}

/* ============================================================
   RESPONSIVE — TABS & CHIPS (horizontal scroll on mobile)
   ============================================================ */
@media (max-width: 760px) {
  .cs-tabs,
  .work-filter {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 20px 0 14px;
    margin: 0 calc(var(--gutter) * -1);
    padding-left: var(--gutter);
    padding-right: var(--gutter);
    scrollbar-width: none;
    border-bottom: 1px solid var(--line);
  }
  .cs-tabs::-webkit-scrollbar,
  .work-filter::-webkit-scrollbar { display: none; }
  .cs-tabs a,
  .cs-tabs > *,
  .work-filter > * {
    flex-shrink: 0;
    white-space: nowrap;
  }
}

/* ============================================================
   RESPONSIVE — USECASES GRID
   ============================================================ */
@media (max-width: 700px) {
  .usecase {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 28px 24px;
  }
  .usecase__num { font-size: 40px; }
  .usecase h3 { font-size: 20px; }
  .usecase__stats { grid-template-columns: 1fr; gap: 14px; }
}

/* ============================================================
   RESPONSIVE — AI SHOWCASE
   ============================================================ */
@media (max-width: 900px) {
  .ai-showcase { padding: 80px 0; }
  .ai-grid { gap: 16px; }
}
@media (max-width: 700px) {
  .ai-card { grid-template-columns: 1fr; }
  .ai-card__diagram {
    aspect-ratio: 2/1;
    padding: 22px;
    border-right: 0;
    border-bottom: 1px solid var(--charcoal-3);
  }
  .ai-card__body { padding: 26px 22px; }
  .ai-card h3 { font-size: 22px; }
}

/* ============================================================
   RESPONSIVE — WORK GRID & CASES
   ============================================================ */
@media (max-width: 900px) {
  .work__grid { grid-template-columns: 1fr; gap: 16px; }
  .case, .case--lg, .case--wide { grid-column: span 1; }
  .case { padding: 20px; gap: 18px; }
  .case__kpis { grid-template-columns: 1fr 1fr; gap: 14px; }
  .case__kpis strong { font-size: 24px; }
}
@media (max-width: 700px) {
  .work-card {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 40px 0;
  }
  .work-card__visual { aspect-ratio: 4/3; }
  .work-card__kpis {
    gap: 24px;
    margin-bottom: 24px;
  }
  .work-card__kpis li strong { font-size: 24px; }
}

/* ============================================================
   RESPONSIVE — SERVICES LIST
   ============================================================ */
@media (max-width: 900px) {
  .services { padding: 80px 0; }
  .service {
    grid-template-columns: auto 1fr;
    gap: 18px;
    padding: 30px 0;
  }
  .service__arrow { display: none; }
  .service__num { padding-top: 4px; }
  .service__body h3 { font-size: clamp(22px, 6vw, 36px); }
  .service__body p { font-size: 15px; }
}

/* ============================================================
   RESPONSIVE — APPROACH PHASES
   ============================================================ */
@media (max-width: 900px) {
  .approach { padding: 80px 0; }
  .approach__grid { grid-template-columns: 1fr 1fr; }
  .phase { padding: 30px 24px; }
  .phase header { margin-bottom: 30px; }
  .phase h3 { font-size: 30px; }
}
@media (max-width: 560px) {
  .approach__grid { grid-template-columns: 1fr; }
}

/* ============================================================
   RESPONSIVE — STATEMENT
   ============================================================ */
@media (max-width: 900px) {
  .statement { padding: 80px 0 70px; }
  .statement__title {
    font-size: clamp(26px, 7vw, 44px);
    margin: 20px 0 40px;
  }
  .statement__grid { gap: 24px; }
}

/* ============================================================
   RESPONSIVE — STATS
   ============================================================ */
@media (max-width: 900px) {
  .stats { padding: 80px 0; }
  .stats__head { margin-bottom: 50px; padding-bottom: 30px; }
  .stats__head h2 { font-size: clamp(28px, 7vw, 44px); }
  .stats__grid { gap: 24px; }
  .stats__grid dd { font-size: clamp(40px, 13vw, 72px); }
  .stats__grid p { font-size: 13px; }
}

/* ============================================================
   RESPONSIVE — TESTIMONIAL
   ============================================================ */
@media (max-width: 900px) {
  .testimonial { padding: 80px 0; }
  .testimonial blockquote {
    font-size: clamp(20px, 5.5vw, 30px);
    margin: 30px 0 40px;
    max-width: none;
  }
  .testimonial .quote { font-size: 110px; margin-bottom: 18px; }
  .testimonial figcaption {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
  .testimonial__nav { width: 100%; justify-content: flex-end; }
  .testimonial__avatar { width: 44px; height: 44px; font-size: 14px; }
}

/* ============================================================
   RESPONSIVE — INSIGHTS / BLOG CARDS
   ============================================================ */
@media (max-width: 900px) {
  .insights { padding: 80px 0; }
  .insights__grid { grid-template-columns: 1fr; gap: 14px; }
  .post {
    min-height: auto;
    padding: 28px 22px 24px;
  }
  .post h3 { font-size: 20px; }
}
@media (max-width: 900px) {
  .blog-index { padding: 30px 0 80px; }
  .blog-topic { margin-top: 50px; padding-top: 32px; }
  .blog-topic__head { grid-template-columns: 1fr; gap: 14px; }
  .blog-topic__head h2 { font-size: clamp(28px, 7vw, 44px); }
  .blog-grid { gap: 14px; }
  .blog-card__body { padding: 22px 22px 26px; }
  .blog-card h3 { font-size: 20px; }
}

/* ============================================================
   RESPONSIVE — CONTACT FORM
   ============================================================ */
@media (max-width: 900px) {
  .contact { padding: 40px 0 80px; }
  .contact__grid { gap: 32px; }
  .contact__info h2 { font-size: clamp(28px, 7vw, 42px); }
  .form { padding: 24px 20px; }
  .form__row { grid-template-columns: 1fr; gap: 16px; }
}
@media (max-width: 500px) {
  .form__submit {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }
  .form__submit .btn { width: 100%; justify-content: center; }
  .chips { gap: 8px; }
  .chip { font-size: 11px; padding: 9px 14px; }
}

/* ============================================================
   RESPONSIVE — TEAM GRID
   ============================================================ */
@media (max-width: 900px) {
  .team { padding: 80px 0; }
  .team__grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .member { padding: 20px; }
  .member__avatar { font-size: 36px; margin-bottom: 16px; }
}
@media (max-width: 500px) {
  .team__grid { grid-template-columns: 1fr; }
}

/* ============================================================
   RESPONSIVE — TWO-COL (About page)
   ============================================================ */
@media (max-width: 900px) {
  .two-col { padding: 80px 0; }
  .two-col__grid { grid-template-columns: 1fr; gap: 24px; }
  .two-col h2 {
    font-size: clamp(28px, 7vw, 44px);
    position: static;
  }
}

/* ============================================================
   RESPONSIVE — CAPS (Services pillars)
   ============================================================ */
@media (max-width: 900px) {
  .caps { padding: 80px 0; }
  .caps__item {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 44px 0;
  }
  .caps__item h3 { font-size: clamp(24px, 7vw, 36px); }
  .caps__num { font-size: 11px; }
  .caps__list { padding-left: 0; border-left: 0; }
  .caps__list li {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
    padding: 12px 0;
  }
  .caps__link { margin-top: 16px; font-size: 10px; padding: 10px 16px; }
}

/* ============================================================
   RESPONSIVE — DELIVERABLES (Service subpages)
   ============================================================ */
@media (max-width: 900px) {
  .deliverables { padding: 80px 0; }
  .deliverables-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .deliverable { min-height: auto; padding: 26px 22px; }
  .deliverable h3 { font-size: 20px; }
}
@media (max-width: 560px) {
  .deliverables-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   RESPONSIVE — STACK
   ============================================================ */
@media (max-width: 900px) {
  .stack { padding: 70px 0; }
  .stack-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stack-item { padding: 18px 16px; }
  .stack-item strong { font-size: 16px; }
}

/* ============================================================
   RESPONSIVE — RELATED SERVICES
   ============================================================ */
@media (max-width: 900px) {
  .related-services { padding: 70px 0; }
  .related-grid { grid-template-columns: 1fr; gap: 14px; }
  .related-card { min-height: auto; padding: 26px 22px; }
}

/* ============================================================
   RESPONSIVE — PROOF STRIP
   ============================================================ */
@media (max-width: 900px) {
  .proof-strip { padding: 60px 0; }
  .proof-strip__inner { grid-template-columns: 1fr; gap: 24px; }
  .proof-strip h2 { font-size: clamp(24px, 6vw, 40px); }
  .proof-strip__kpis { grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 20px; }
}

/* ============================================================
   RESPONSIVE — PROCESS STEPS (blog / service)
   ============================================================ */
@media (max-width: 900px) {
  .process { padding: 80px 0; }
  .process__steps { grid-template-columns: 1fr 1fr; }
  .process__step { padding: 30px 24px; }
  .process__step header { margin-bottom: 28px; }
  .process__step h3 { font-size: 26px; }
}
@media (max-width: 560px) {
  .process__steps { grid-template-columns: 1fr; }
}

/* ============================================================
   RESPONSIVE — LOGOS MARQUEE
   ============================================================ */
@media (max-width: 700px) {
  .logos { padding: 20px 0; }
  .logo-tile { padding: 0 24px; font-size: 18px; }
  .logo-tile small { font-size: 9px; }
}

/* ============================================================
   RESPONSIVE — BREADCRUMB
   ============================================================ */
@media (max-width: 700px) {
  .breadcrumb {
    font-size: 10px;
    letter-spacing: 0.08em;
    gap: 6px;
    padding: 14px 0;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
  }
  .breadcrumb::-webkit-scrollbar { display: none; }
}

/* ============================================================
   RESPONSIVE — SERVICE HERO INNER
   ============================================================ */
@media (max-width: 900px) {
  .service-hero__inner { gap: 30px; }
  .service-hero__bullets { font-size: 12px; }
  .service-hero__bullets li { padding: 10px 0; }
}

/* ============================================================
   TOUCH TARGETS + SMALL TWEAKS
   ============================================================ */
@media (pointer: coarse) {
  .btn { min-height: 44px; }
  .nav__links a { min-height: 44px; }
  .chip { min-height: 40px; display: inline-flex; align-items: center; }
  .footer__cols a,
  .footer__legal a { padding: 4px 0; }
}

/* Prevent horizontal overflow anywhere */
html, body { overflow-x: hidden; max-width: 100%; }
img, svg, video { max-width: 100%; height: auto; }

/* Better text wrapping on narrow screens */
h1, h2, h3, h4 { overflow-wrap: break-word; word-wrap: break-word; }

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .hero__title .line { transform: none !important; }
  .reveal-stagger > * { opacity: 1 !important; transform: none !important; }
  .cursor-dot, .scroll-progress { display: none !important; }
}

/* ============================================================
   AVAILABILITY STRIP (site-wide, above nav)
   ============================================================ */
.avail-strip {
  background: #0A0A0A;
  color: #FAFAFA;
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(250,250,250,.12);
}
.avail-strip__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 9px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  position: relative;
}
.avail-strip__dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--tango);
  box-shadow: 0 0 0 0 rgba(240,78,35,.6);
  animation: availPulse 2s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes availPulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(240,78,35,.55); }
  50%     { box-shadow: 0 0 0 6px rgba(240,78,35,0); }
}
.avail-strip__msg { opacity: .92; }
.avail-strip__msg strong { color: #FAFAFA; font-weight: 600; }
.avail-strip__cta {
  color: var(--tango);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.avail-strip__cta:hover { border-color: var(--tango); }
.avail-strip__close {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none; border: none;
  color: #FAFAFA;
  opacity: .5;
  cursor: pointer;
  padding: 6px 8px;
  font-size: 14px;
  line-height: 1;
  transition: opacity .2s ease;
}
.avail-strip__close:hover { opacity: 1; }
@media (max-width: 640px) {
  .avail-strip { font-size: 10.5px; }
  .avail-strip__inner {
    padding: 8px 36px 8px var(--gutter);
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 6px 12px;
    line-height: 1.35;
  }
  .avail-strip__dot { margin-top: 2px; }
  .avail-strip__cta { white-space: nowrap; }
}

/* ============================================================
   COOKIE BANNER
   ============================================================ */
.cookie-banner {
  position: fixed;
  left: 20px;
  bottom: 20px;
  right: auto;
  max-width: 380px;
  background: #0A0A0A;
  color: #FAFAFA;
  padding: 20px 22px;
  border-radius: 2px;
  box-shadow: 0 24px 60px -20px rgba(0,0,0,.45), 0 0 0 1px rgba(250,250,250,.08);
  z-index: 90;
  transform: translateY(calc(100% + 40px));
  transition: transform .5s var(--ease, cubic-bezier(.2,.8,.2,1));
}
.cookie-banner.is-visible { transform: translateY(0); }
.cookie-banner h4 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 6px;
}
.cookie-banner p {
  font-size: 13.5px;
  line-height: 1.55;
  margin: 0 0 14px;
  opacity: .78;
}
.cookie-banner a { color: var(--tango); text-decoration: underline; text-underline-offset: 3px; }
.cookie-banner__actions { display: flex; gap: 10px; }
.cookie-banner__btn {
  flex: 1;
  font-family: var(--font-mono, monospace);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 10px 14px;
  border: 1px solid rgba(250,250,250,.2);
  background: transparent;
  color: #FAFAFA;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.cookie-banner__btn:hover { border-color: rgba(250,250,250,.5); }
.cookie-banner__btn--primary {
  background: var(--tango);
  border-color: var(--tango);
}
.cookie-banner__btn--primary:hover { background: var(--tango-2); border-color: var(--tango-2); }
@media (max-width: 640px) {
  .cookie-banner { left: 12px; right: 12px; bottom: 12px; max-width: none; padding: 16px 18px; }
}

/* ============================================================
   SCROLL PROMPT (service + case-study pages)
   ============================================================ */
.scroll-prompt {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 340px;
  background: #FAFAFA;
  color: #0A0A0A;
  padding: 22px 24px 20px;
  box-shadow: 0 28px 60px -20px rgba(0,0,0,.35), 0 0 0 1px var(--line);
  z-index: 85;
  transform: translateY(calc(100% + 40px));
  opacity: 0;
  transition: transform .55s var(--ease, cubic-bezier(.2,.8,.2,1)), opacity .4s ease;
}
.scroll-prompt.is-visible { transform: translateY(0); opacity: 1; }
.scroll-prompt__eyebrow {
  font-family: var(--font-mono, monospace);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--tango);
  margin-bottom: 8px;
}
.scroll-prompt h4 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.25;
  margin: 0 0 14px;
}
.scroll-prompt__actions { display: flex; align-items: center; gap: 14px; }
.scroll-prompt__cta {
  background: #0A0A0A;
  color: #FAFAFA;
  text-decoration: none;
  font-family: var(--font-mono, monospace);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 11px 18px;
  display: inline-flex; align-items: center; gap: 8px;
  transition: background .2s ease;
}
.scroll-prompt__cta:hover { background: var(--tango); }
.scroll-prompt__dismiss {
  background: none; border: none; cursor: pointer;
  font-family: var(--font-mono, monospace);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(10,10,10,.5);
  padding: 6px 4px;
}
.scroll-prompt__dismiss:hover { color: var(--tango); }
.scroll-prompt__close {
  position: absolute;
  top: 10px; right: 10px;
  background: none; border: none; cursor: pointer;
  padding: 6px;
  color: rgba(10,10,10,.35);
  font-size: 14px; line-height: 1;
}
.scroll-prompt__close:hover { color: #0A0A0A; }
@media (max-width: 640px) {
  .scroll-prompt { left: 12px; right: 12px; bottom: 12px; width: auto; padding: 18px 18px 16px; }
}

/* ============================================================
   INQUIRY CONTEXT (contact.html, from ?service=)
   ============================================================ */
.inquiry-ctx {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: rgba(240,78,35,.06);
  border-left: 3px solid var(--tango);
  margin-bottom: 28px;
}
.inquiry-ctx__label {
  font-family: var(--font-mono, monospace);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--tango);
  flex-shrink: 0;
}
.inquiry-ctx__value {
  font-size: 14.5px;
  font-weight: 500;
  color: #0A0A0A;
}

/* ============================================================
   BLOG TOC (injected on article pages)
   ============================================================ */
.article-toc {
  position: sticky;
  top: 90px;
  align-self: start;
  max-width: 240px;
  padding: 20px 0 20px 20px;
  border-left: 1px solid var(--line);
}
.article-toc__label {
  font-family: var(--font-mono, monospace);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(10,10,10,.5);
  margin-bottom: 14px;
}
.article-toc ol {
  list-style: none;
  padding: 0; margin: 0;
  counter-reset: toc;
}
.article-toc li { counter-increment: toc; margin-bottom: 10px; }
.article-toc a {
  display: block;
  font-size: 13px;
  line-height: 1.45;
  color: rgba(10,10,10,.65);
  text-decoration: none;
  padding: 4px 0 4px 26px;
  position: relative;
  transition: color .15s ease;
}
.article-toc a::before {
  content: counter(toc, decimal-leading-zero);
  position: absolute;
  left: 0; top: 4px;
  font-family: var(--font-mono, monospace);
  font-size: 10.5px;
  color: rgba(10,10,10,.3);
}
.article-toc a:hover,
.article-toc a.is-active {
  color: var(--tango);
}
.article-toc a.is-active::before { color: var(--tango); }
@media (max-width: 1100px) {
  .article-toc {
    position: static;
    max-width: none;
    border-left: none;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 18px 0;
    margin: 0 0 28px;
  }
  .article-toc__label { margin-bottom: 10px; }
  .article-toc ol { column-count: 2; column-gap: 28px; }
  .article-toc li { break-inside: avoid; }
}
@media (max-width: 640px) {
  .article-toc ol { column-count: 1; }
}

/* ============================================================
   NEWSLETTER SIGNUP (blog)
   ============================================================ */
.newsletter {
  background: #0A0A0A;
  color: #FAFAFA;
  padding: 72px 0;
  border-top: 1px solid var(--line);
}
.newsletter__inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  text-align: center;
}
.newsletter__eyebrow {
  font-family: var(--font-mono, monospace);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--tango);
  margin-bottom: 16px;
}
.newsletter h2 {
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 600;
  margin: 0 0 16px;
}
.newsletter p {
  font-size: 16px;
  line-height: 1.55;
  opacity: .72;
  max-width: 540px;
  margin: 0 auto 28px;
}
.newsletter__form {
  display: flex;
  gap: 10px;
  max-width: 480px;
  margin: 0 auto;
}
.newsletter__form input[type="email"] {
  flex: 1;
  background: transparent;
  border: 1px solid rgba(250,250,250,.2);
  color: #FAFAFA;
  padding: 14px 16px;
  font-family: inherit;
  font-size: 15px;
  transition: border-color .2s ease;
}
.newsletter__form input[type="email"]:focus {
  outline: none;
  border-color: var(--tango);
}
.newsletter__form input::placeholder { color: rgba(250,250,250,.4); }
.newsletter__form button {
  background: var(--tango);
  color: #FAFAFA;
  border: none;
  padding: 14px 22px;
  font-family: var(--font-mono, monospace);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
  transition: background .2s ease;
}
.newsletter__form button:hover { background: var(--tango-2); }
.newsletter__note {
  font-family: var(--font-mono, monospace);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: .45;
  margin-top: 18px;
}
.newsletter__success {
  padding: 28px;
  border: 1px solid rgba(240,78,35,.4);
  background: rgba(240,78,35,.08);
  font-size: 15px;
  display: none;
}
.newsletter.is-sent .newsletter__form { display: none; }
.newsletter.is-sent .newsletter__success { display: block; }
@media (max-width: 640px) {
  .newsletter { padding: 56px 0; }
  .newsletter__form { flex-direction: column; }
}

/* ============================================================
   RELATED CASE STUDIES BLOCK
   ============================================================ */
.related-cases {
  padding: 88px 0;
  background: var(--paper);
  border-top: 1px solid var(--line);
}
.related-cases__head {
  max-width: var(--max);
  margin: 0 auto 40px;
  padding: 0 var(--gutter);
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.related-cases__head h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 600;
  margin: 0;
}
.related-cases__head .eyebrow { margin-bottom: 10px; }
.related-cases__grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.related-case {
  display: block;
  padding: 24px;
  background: #FAFAFA;
  border: 1px solid var(--line);
  text-decoration: none;
  color: #0A0A0A;
  transition: transform .3s var(--ease, cubic-bezier(.2,.8,.2,1)), border-color .2s ease;
}
.related-case:hover {
  transform: translateY(-4px);
  border-color: var(--tango);
}
.related-case__tag {
  font-family: var(--font-mono, monospace);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(10,10,10,.5);
  display: block;
  margin-bottom: 14px;
}
.related-case h3 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.25;
  margin: 0 0 10px;
}
.related-case p {
  font-size: 13.5px;
  line-height: 1.5;
  color: rgba(10,10,10,.65);
  margin: 0 0 16px;
}
.related-case__arrow {
  font-family: var(--font-mono, monospace);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--tango);
  display: inline-flex; align-items: center; gap: 6px;
}
@media (max-width: 1000px) {
  .related-cases__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .related-cases__grid { grid-template-columns: 1fr; }
  .related-cases { padding: 56px 0; }
}

/* ============================================================
   404 PAGE
   ============================================================ */
.page-404 {
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  padding: 80px 0;
  background: #0A0A0A;
  color: #FAFAFA;
}
.page-404__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}
.page-404__mark {
  font-family: var(--font-display);
  font-size: clamp(120px, 20vw, 260px);
  line-height: 0.9;
  letter-spacing: -0.04em;
  font-weight: 600;
  color: var(--tango);
  margin: 0 0 20px;
}
.page-404 h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  font-weight: 600;
  margin: 0 0 20px;
}
.page-404 p {
  font-size: 17px;
  line-height: 1.55;
  opacity: .75;
  margin: 0 0 32px;
  max-width: 460px;
}
.page-404__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.page-404__art {
  aspect-ratio: 1;
  max-width: 440px;
  margin-left: auto;
}
@media (max-width: 900px) {
  .page-404__inner { grid-template-columns: 1fr; gap: 40px; }
  .page-404__art { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .avail-strip__dot { animation: none; }
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

.form__honeypot {
  position: absolute !important;
  left: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
}

/* ============================================================
   FAQ (pillar page accordion)
   ============================================================ */
.faq { padding: 100px 0; background: var(--paper); border-top: 1px solid var(--line); }
.faq__list { max-width: 840px; margin: 40px auto 0; }
.faq-item {
  border-top: 1px solid var(--line);
  padding: 22px 0;
}
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-family: var(--font-display);
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.3;
  color: var(--black);
  padding: 2px 0;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "";
  width: 28px; height: 28px;
  flex-shrink: 0;
  background:
    linear-gradient(currentColor, currentColor) center/14px 2px no-repeat,
    linear-gradient(currentColor, currentColor) center/2px 14px no-repeat;
  transition: transform .3s var(--ease, cubic-bezier(.2,.8,.2,1)), color .2s ease;
  color: rgba(10,10,10,.4);
}
.faq-item[open] summary::after {
  background: linear-gradient(currentColor, currentColor) center/14px 2px no-repeat;
  transform: rotate(180deg);
  color: var(--tango);
}
.faq-item:hover summary { color: var(--tango); }
.faq-item__body {
  padding-top: 14px;
  font-size: 15.5px;
  line-height: 1.65;
  color: rgba(10,10,10,.72);
  max-width: 760px;
}
.faq-item__body p { margin: 0 0 10px; }
.faq-item__body p:last-child { margin: 0; }
.faq-item__body a { color: var(--tango); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 640px) {
  .faq { padding: 64px 0; }
  .faq-item { padding: 18px 0; }
  .faq-item summary { font-size: 16.5px; gap: 14px; }
  .faq-item summary::after { width: 22px; height: 22px; }
}

.form__done {
  border: 1px solid var(--tango);
  background: rgba(240,78,35,.05);
  padding: 32px 28px;
  margin-top: 4px;
}
.form__done-eyebrow {
  font-family: var(--font-mono, monospace);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--tango);
  margin-bottom: 14px;
}
.form__done h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin: 0 0 12px;
}
.form__done p {
  font-size: 14px;
  color: rgba(10,10,10,.65);
  margin: 0 0 14px;
}
.form__done pre {
  background: #0A0A0A;
  color: #FAFAFA;
  font-family: var(--font-mono, monospace);
  font-size: 12px;
  line-height: 1.7;
  padding: 18px 20px;
  overflow-x: auto;
  white-space: pre-wrap;
  word-break: break-word;
  margin: 0;
}
.form__done pre strong {
  color: var(--tango);
  font-weight: 600;
  margin-right: 8px;
}
.form__done em { color: rgba(250,250,250,.4); font-style: italic; }
