/* =============================================================
   Matrixe Zone — header only (vydera.com pattern)
   White bg · centered menu · 3-column grid
   ============================================================= */

:root {
  --bg:           #FFFFFF;
  --bg-alt:       #FAFAFA;
  --ink:          #0A0A0A;
  --ink-2:        #1F1F1F;
  --text-2:       #525252;
  --text-3:       #8A8A8A;
  --line:         rgba(10, 10, 10, 0.08);
  --line-2:       rgba(10, 10, 10, 0.16);
  --hover-bg:     rgba(10, 10, 10, 0.045);

  --lime:         #C8FF03;
  --lime-deep:    #B8EB1A;
  --lime-glow:    rgba(200, 255, 3, 0.45);
  --lime-soft:    rgba(200, 255, 3, 0.16);

  --container:    1400px;
  --gutter:       clamp(20px, 4vw, 48px);

  --r-sm:         10px;
  --r:            16px;
  --r-lg:         18px;
  --r-pill:       100px;

  --font-display: "Inter Tight", system-ui, -apple-system, sans-serif;
  --font-body:    "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-serif:   "Instrument Serif", Georgia, serif;
  --font-mono:    "JetBrains Mono", ui-monospace, monospace;

  --ease:         cubic-bezier(.22,1,.36,1);
  --ease-out:     cubic-bezier(.16,1,.3,1);
}

*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
img, svg { display: block; max-width: 100%; }
::selection { background: var(--ink); color: #fff; }

/* ---------- Header ---------- */
.hdr {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #F2F2F2;
  transition: background .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
  border-bottom: 1px solid transparent;
}
.hdr.is-scrolled {
  background: rgba(243, 241, 238, 0.88);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-bottom-color: var(--line);
}

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

/* ---- Brand (left) ---- */
.hdr__brand {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -0.025em;
  color: var(--ink);
  transition: opacity .25s var(--ease);
}
.hdr__brand:hover { opacity: 0.8; }
.hdr__brand:hover .hdr__mark { box-shadow: 0 4px 12px rgba(10,10,10,.18); }
.hdr__mark { transition: box-shadow .25s var(--ease); }

.hdr__mark {
  display: inline-flex;
  width: 40px;
  height: 40px;
  border-radius: 4px;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 1px 2px rgba(10,10,10,.08);
}
.hdr__mark img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.hdr__name {
  line-height: 1;
}

/* ---- Center nav ---- */
.hdr__nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 2px;
}

.hdr__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 15px;
  color: var(--ink);
  border-radius: 10px;
  transition: background .2s var(--ease), color .2s var(--ease);
  white-space: nowrap;
}
.hdr__link:hover { background: var(--hover-bg); }

.hdr__caret {
  opacity: 0.55;
  transition: transform .25s var(--ease), opacity .2s var(--ease);
}
.hdr__link:hover .hdr__caret { opacity: 1; }
.hdr__item--dd:hover .hdr__caret,
.hdr__item--dd:focus-within .hdr__caret { transform: rotate(180deg); opacity: 1; }

/* ---- Dropdown panels (vydera pattern) ---- */
.hdr__item { position: relative; }
/* invisible bridge so cursor doesn't lose hover when crossing the gap */
.hdr__item--dd::after {
  content: "";
  position: absolute;
  top: 100%; left: -20px; right: -20px;
  height: 16px;
  display: block;
}

.hdr__dd {
  position: absolute;
  top: calc(100% + 16px);
  left: 50%;
  transform: translate(-50%, 8px);
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow:
    0 30px 80px -20px rgba(10,10,10,.18),
    0 8px 24px -8px rgba(10,10,10,.10);
  padding: 18px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .25s var(--ease), transform .3s var(--ease), visibility .25s;
  z-index: 60;
  min-width: 600px;
}
.hdr__dd--solutions { width: 760px; }
.hdr__dd--results { width: 660px; }

.hdr__item--dd:hover .hdr__dd,
.hdr__item--dd:focus-within .hdr__dd {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.hdr__dd-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 24px;
  padding: 6px;
}
.hdr__dd--results .hdr__dd-grid { grid-template-columns: 1.3fr 1fr; }

.hdr__dd-col { display: flex; flex-direction: column; }
.hdr__dd-col--wide { }

.hdr__dd-tag {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-3);
  font-weight: 500;
  padding: 0 10px 12px;
}

.hdr__dd-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.hdr__dd-services {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 0;
}

.hdr__dd-link {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--ink);
  transition: background .2s var(--ease), transform .25s var(--ease);
  position: relative;
}
.hdr__dd-link:hover { background: var(--hover-bg); transform: translateX(2px); }

.hdr__dd-icon {
  width: 30px; height: 30px;
  border-radius: 8px;
  background: var(--hover-bg);
  color: var(--ink);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: background .2s var(--ease), color .2s var(--ease);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
}
.hdr__dd-icon svg { width: 15px; height: 15px; }
.hdr__dd-link:hover .hdr__dd-icon { background: var(--ink); color: #FFFFFF; }

.hdr__dd-icon--brand {
  background: var(--ink);
  color: #FFFFFF;
}
.hdr__dd-link:hover .hdr__dd-icon--brand {
  background: var(--ink);
  color: #FFFFFF;
}

.hdr__dd-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.3;
  padding-top: 2px;
}
.hdr__dd-content strong {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.hdr__dd-content em {
  font-style: normal;
  font-size: 12.5px;
  color: var(--text-3);
  line-height: 1.35;
}

/* KPI list (Results dropdown) */
.hdr__dd-kpis {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.hdr__dd-kpis li {
  padding: 12px 14px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.hdr__dd-kpis strong {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--ink);
  flex-shrink: 0;
  line-height: 1;
}
.hdr__dd-kpis span {
  font-size: 12px;
  color: var(--text-2);
  line-height: 1.4;
}

/* Bottom CTA bar */
.hdr__dd-bottom {
  margin-top: 12px;
  padding: 14px 16px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.hdr__dd-bottom-text { display: flex; flex-direction: column; line-height: 1.3; }
.hdr__dd-bottom-text span {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
}
.hdr__dd-bottom-text small {
  font-size: 12px;
  color: var(--text-3);
}
.hdr__dd-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  background: var(--ink);
  color: #FFFFFF;
  border-radius: var(--r-pill);
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  transition: background .25s var(--ease), transform .2s var(--ease);
}
.hdr__dd-cta:hover { background: var(--ink-2); transform: translateY(-1px); }

/* ---- Right: CTA ---- */
.hdr__right {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hdr__cta {
  display: inline-flex;
  align-items: center;
  padding: 12px 22px;
  background: var(--ink);
  color: #FFFFFF;
  border-radius: var(--r-pill);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
  transition: background .25s var(--ease), transform .2s var(--ease), box-shadow .25s var(--ease);
}
.hdr__cta:hover {
  background: var(--ink-2);
  transform: translateY(-1px);
  box-shadow: 0 8px 22px -8px rgba(10,10,10,.35);
}
.hdr__cta:active { transform: translateY(0); }

/* ---- Mobile burger (hidden on desktop) ---- */
.hdr__burger {
  display: none;
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: transparent;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  margin-left: 4px;
}
.hdr__burger span {
  width: 18px; height: 1.6px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .25s var(--ease);
}
.hdr__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(2.6px) rotate(45deg); }
.hdr__burger[aria-expanded="true"] span:nth-child(2) { transform: translateY(-2.4px) rotate(-45deg); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hdr__nav { display: none; }
  .hdr__burger { display: inline-flex; }
  .hdr__inner { grid-template-columns: auto 1fr; }
  .hdr__right { gap: 8px; }
  .hdr__cta { padding: 10px 16px; font-size: 13.5px; }

  .hdr.is-open .hdr__nav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: 100%; left: var(--gutter); right: var(--gutter);
    margin-top: 8px;
    padding: 10px;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: 0 24px 60px -16px rgba(10,10,10,.18);
    max-height: calc(100vh - 100px);
    overflow-y: auto;
  }
  .hdr.is-open .hdr__item { width: 100%; }
  .hdr.is-open .hdr__link {
    width: 100%;
    justify-content: space-between;
    padding: 14px 16px;
    border-radius: 10px;
  }
  /* On mobile, the dropdowns flatten into the menu */
  .hdr.is-open .hdr__dd {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    width: 100%;
    min-width: 0;
    box-shadow: none;
    border: 0;
    padding: 0 8px 12px;
    background: transparent;
  }
  .hdr.is-open .hdr__dd-grid { grid-template-columns: 1fr; gap: 16px; }
  .hdr.is-open .hdr__dd-services { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hdr__name { display: none; }
}

/* =============================================================
   HERO · Bento Mosaic
   ============================================================= */

.hero {
  padding-block: clamp(32px, 4vw, 56px) clamp(72px, 9vw, 130px);
}

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

/* Eyebrow tag above hero */
.hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  margin-bottom: clamp(20px, 2.4vw, 28px);
  background: rgba(10,10,10,.04);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .04em;
  color: var(--ink-2);
}
.hero__tag .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 10px var(--lime-glow);
  animation: pulseDot 1.8s var(--ease) infinite;
}

/* Top: split intro */
.hero__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: end;
  margin-bottom: clamp(36px, 5vw, 56px);
}
@media (max-width: 800px) {
  .hero__top { grid-template-columns: 1fr; gap: 28px; }
}

.hero__h1 {
  font-family: var(--font-display);
  font-size: clamp(38px, 5.6vw, 76px);
  line-height: 1.0;
  letter-spacing: -0.035em;
  font-weight: 500;
  margin: 0;
  color: var(--ink);
  text-wrap: balance;
  max-width: 22ch;
}
.hero__h1 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--text-2);
}

.hero__lead p {
  font-size: clamp(15px, 1.1vw, 16.5px);
  line-height: 1.55;
  color: var(--text-2);
  margin: 0 0 22px;
}
.hero__lead strong { color: var(--ink); font-weight: 600; }

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Buttons (hero context) */
.cta-ink {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  background: var(--ink);
  color: #FFFFFF;
  border-radius: var(--r-pill);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  transition: background .25s var(--ease), transform .2s var(--ease), box-shadow .25s var(--ease);
}
.cta-ink:hover {
  background: var(--ink-2);
  transform: translateY(-1px);
  box-shadow: 0 8px 22px -8px rgba(10,10,10,.35);
}
.cta-ink svg { transition: transform .25s var(--ease); }
.cta-ink:hover svg { transform: translate(2px, -2px); }

.cta-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-pill);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  transition: background .25s var(--ease), transform .2s var(--ease), border-color .25s var(--ease);
}
.cta-ghost:hover { background: var(--hover-bg); transform: translateY(-1px); }

/* =============================================================
   Bento grid
   ============================================================= */

.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 12px;
}
@media (max-width: 1100px) { .bento { gap: 10px; } }

.tile {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  overflow: hidden;
  transition: transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
}
.tile:hover {
  transform: translateY(-3px);
  border-color: var(--line-2);
  box-shadow: 0 24px 40px -20px rgba(10,10,10,.10);
}

.tile__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .04em;
  color: var(--text-3);
  text-transform: uppercase;
}

.tile__big {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--ink);
}

.tile__small {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.4;
}

/* Column spans */
.tile--chart  { grid-column: span 5; }
.tile--stat   { grid-column: span 3; background: var(--ink); color: #FFF; border-color: transparent; }
.tile--quote  { grid-column: span 4; }
.tile--agent  { grid-column: span 5; }
.tile--logos  { grid-column: span 3; }
.tile--mini   { grid-column: span 4; }

@media (max-width: 1100px) {
  .tile--chart, .tile--agent { grid-column: span 6; }
  .tile--stat, .tile--logos { grid-column: span 6; }
  .tile--quote, .tile--mini { grid-column: span 6; }
}
@media (max-width: 600px) {
  .tile--chart, .tile--stat, .tile--quote, .tile--agent, .tile--logos, .tile--mini {
    grid-column: span 12;
  }
}

/* Stat tile (dark) */
.tile--stat .tile__label { color: rgba(255,255,255,.5); }
.tile--stat .tile__big { color: var(--lime); }
.tile--stat .tile__small { color: rgba(255,255,255,.7); }
.tile--stat::after {
  content: "";
  position: absolute;
  right: -40px; top: -40px;
  width: 140px; height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200,255,3,.25), transparent 60%);
  filter: blur(20px);
  pointer-events: none;
}

/* Chart tile */
.tile__chart {
  margin-top: auto;
  height: 100px;
  position: relative;
}
.tile__chart svg { width: 100%; height: 100%; }
.tile__chart-line {
  stroke-dasharray: 800;
  stroke-dashoffset: 800;
  animation: drawLine 2.4s var(--ease-out) 0.3s forwards;
}
.tile__chart-end, .tile__chart-end-glow {
  opacity: 0;
  animation: dotShow .5s var(--ease-out) 2.5s forwards;
}
.tile__chart-end-glow {
  transform-origin: 320px 3px;
  animation: dotShow .5s var(--ease-out) 2.5s forwards, glowPulse 2.4s var(--ease) 3s infinite;
}
@keyframes drawLine { to { stroke-dashoffset: 0; } }
@keyframes dotShow { to { opacity: 1; } }
@keyframes glowPulse {
  0%, 100% { opacity: .4; transform: scale(1); }
  50%      { opacity: .15; transform: scale(1.4); }
}

/* Quote tile */
.tile--quote .tile__stars {
  color: var(--ink);
  font-size: 14px;
  letter-spacing: 3px;
}
.tile__quote {
  font-family: var(--font-display);
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.4;
  font-weight: 500;
  margin: 4px 0 14px;
  color: var(--ink);
}
.tile__by {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
}
.tile__by-av {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--lime);
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
}
.tile__by-name {
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.2;
}
.tile__by-role {
  font-size: 11px;
  color: var(--text-3);
  font-family: var(--font-mono);
  letter-spacing: .02em;
}

/* Agent tile */
.tile__agent {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-top: auto;
  box-shadow: 0 1px 2px rgba(10,10,10,.04);
}
.tile__agent-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 8px var(--lime-glow);
  flex-shrink: 0;
  animation: agentBlink 1.6s var(--ease) infinite;
}
@keyframes agentBlink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .55; transform: scale(.85); }
}
.tile__agent strong {
  display: block;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}
.tile__agent small {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-3);
  letter-spacing: .02em;
}

/* Operating-model tile · phrase fits where number used to */
.tile--agent .tile__big {
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
  max-width: 18ch;
}
.tile--agent .tile__big em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.005em;
  color: var(--ink);
}
.tile--agent .tile__small {
  max-width: 36ch;
}

/* Logos tile */
.tile__logos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px 12px;
  margin-top: auto;
}
.tile__logos span {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-2);
  letter-spacing: -0.015em;
  transition: color .2s var(--ease);
}
.tile__logos span:hover { color: var(--ink); }

/* =============================================================
   ABOUT / AGENTUR · Editorial Statement
   ============================================================= */

.about {
  background: #FFFFFF;
  padding-block: clamp(56px, 7vw, 100px);
  border-top: 1px solid var(--line);
}
.about__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.about__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--text-2);
  text-transform: uppercase;
  margin-bottom: 22px;
}
.about__eyebrow::before {
  content: "";
  width: 36px; height: 1px;
  background: var(--ink);
  display: inline-block;
}

.about__h2 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5.4vw, 72px);
  line-height: 1.0;
  letter-spacing: -0.035em;
  font-weight: 500;
  margin: 0 0 28px;
  max-width: 18ch;
  color: var(--ink);
  text-wrap: balance;
}
.about__h2 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--text-2);
}

.about__lead {
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.55;
  color: var(--text-2);
  max-width: 60ch;
  margin: 0 0 44px;
}
.about__lead strong {
  color: var(--ink);
  font-weight: 600;
}

.about__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  list-style: none;
  margin: 0;
  padding-inline: 0;
}
@media (max-width: 800px) {
  .about__stats { grid-template-columns: repeat(2, 1fr); gap: 28px 16px; }
}

.about__stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.about__stat strong {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 600;
  letter-spacing: -0.04em;
  color: var(--ink);
  line-height: 1;
}
/* Direct-child selector: only the descriptor span (not the .counter nested in strong) */
.about__stat > span {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--text-3);
}

/* =============================================================
   SPOTLIGHT · AI visibility (AEO showcase between Agency & Services)
   ============================================================= */
.spot {
  background: var(--ink);
  padding-block: clamp(56px, 7vw, 96px);
  position: relative;
  overflow: hidden;
}
.spot::after {
  content: "";
  position: absolute;
  inset: auto -8% -40% auto;
  width: 55%;
  height: 90%;
  background: radial-gradient(ellipse at center, var(--lime-soft), transparent 65%);
  pointer-events: none;
  opacity: .55;
}
.spot__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--gutter);
  position: relative;
  z-index: 1;
}
.spot__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 4.5vw, 64px);
  align-items: start;
}
@media (max-width: 900px) {
  .spot__grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ---------- LEFT: editorial copy ---------- */
.spot__copy { max-width: 52ch; }

.spot__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px;
  margin-bottom: 24px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r-pill);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .04em;
  color: rgba(255,255,255,.85);
}
.spot__eyebrow .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 10px var(--lime-glow);
  animation: pulseDot 1.8s var(--ease) infinite;
}

.spot__h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(32px, 4.4vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: #fff;
  margin: 0 0 22px;
  text-wrap: balance;
}
.spot__h2 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.015em;
  color: var(--lime);
}

.spot__lead {
  font-family: var(--font-body);
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.55;
  color: rgba(255,255,255,.65);
  margin: 0 0 28px;
}

.spot__cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 14.5px;
  font-weight: 500;
  color: var(--lime);
  text-decoration: none;
  padding-bottom: 4px;
  border-bottom: 1.5px solid var(--lime);
  transition: gap .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
/* Expand tap area on mobile without affecting visual layout */
@media (max-width: 700px) {
  .spot__cta::before {
    content: "";
    position: absolute;
    top: -10px;
    right: -10px;
    bottom: -12px;
    left: -10px;
  }
}
.spot__cta:hover {
  gap: 14px;
  color: #fff;
  border-bottom-color: #fff;
}
.spot__cta svg { transition: transform .25s var(--ease); }
.spot__cta:hover svg { transform: translateX(2px); }

/* ---------- RIGHT: tracker card ---------- */
.spot__viz {
  background: #fff;
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 24px;
  padding: clamp(20px, 2.4vw, 28px);
  box-shadow:
    0 1px 0 rgba(255,255,255,.04),
    0 40px 80px -30px rgba(0,0,0,.6),
    0 0 80px -20px rgba(200,255,3,.14);
  overflow: hidden;
}

.spot__viz-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 8px 18px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 8px;
}
.spot__viz-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-3);
}
.spot__viz-sample {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  background: rgba(10,10,10,.04);
  color: var(--text-3);
  border: 1px solid var(--line);
}

.spot__viz-table {
  display: grid;
  gap: 4px;
  padding: 8px 0 4px;
}

.spot__viz-thead {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 24px;
  padding: 0 8px 12px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 4px;
}
.spot__viz-thead span:nth-child(2),
.spot__viz-thead span:nth-child(3) { text-align: right; }

.spot__viz-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 24px;
  align-items: center;
  padding: 14px 8px;
  border-radius: 10px;
  transition: background .2s var(--ease);
}
.spot__viz-row:hover { background: var(--bg-alt); }

.spot__viz-name {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 15px;
  color: var(--ink);
}
.spot__viz-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--c, var(--ink));
  flex: none;
  box-shadow: 0 0 0 3px rgba(0,0,0,.04);
}
.spot__viz-num {
  font-family: var(--font-mono);
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: .01em;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.spot__viz-delta {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .02em;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(46, 160, 67, .1);
  color: #2ea043;
  white-space: nowrap;
  text-align: center;
  min-width: 60px;
}
.spot__viz-delta--lime {
  background: var(--lime);
  color: var(--ink);
  box-shadow: 0 0 14px rgba(200,255,3,.35);
}

@media (max-width: 540px) {
  .spot__viz-thead { display: none; }
  .spot__viz-name { font-size: 14px; gap: 10px; }
  .spot__viz-num { font-size: 13.5px; }
  .spot__viz-delta { font-size: 11px; padding: 3px 8px; min-width: 52px; }
}

/* =============================================================
   SERVICES · 7-card grid + featured AI Automation
   ============================================================= */

.svc {
  background: #FFFFFF;
  padding-block: clamp(72px, 9vw, 130px);
  border-top: 1px solid var(--line);
}
.svc__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.svc__head {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: end;
  margin-bottom: clamp(40px, 5vw, 64px);
}
@media (max-width: 800px) { .svc__head { grid-template-columns: 1fr; } }

.svc__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--text-2);
  text-transform: uppercase;
  margin-bottom: 18px;
}
.svc__eyebrow::before {
  content: "";
  width: 36px; height: 1px;
  background: var(--ink);
  display: inline-block;
}

.svc__h2 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-weight: 500;
  margin: 0;
  color: var(--ink);
  text-wrap: balance;
  max-width: 16ch;
}
.svc__h2 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--text-2);
}

.svc__lead {
  font-size: clamp(15px, 1.15vw, 17px);
  color: var(--text-2);
  line-height: 1.55;
  margin: 0;
}

.svc__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
@media (max-width: 1000px) { .svc__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .svc__grid { grid-template-columns: 1fr; } }

/* Service card — triptych design language (icon → meta → italic-mix headline → p → dashed stat) */
.svc-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 32px;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 22px;
  text-decoration: none;
  color: var(--ink);
  min-height: 420px;
  overflow: hidden;
  transition: transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
}
.svc-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-2);
  box-shadow: 0 24px 50px -20px rgba(10,10,10,.12);
}

.svc-card__icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: #FFFFFF;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--ink);
  transition: background .25s var(--ease), border-color .25s var(--ease), transform .35s var(--ease);
}
.svc-card__icon svg { width: 22px; height: 22px; }
.svc-card:hover .svc-card__icon {
  background: var(--lime);
  border-color: var(--lime);
  transform: rotate(-4deg) scale(1.04);
}

.svc-card__meta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .06em;
  color: var(--text-3);
  text-transform: uppercase;
}

.svc-card__h {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin: 0;
  color: var(--ink);
  text-wrap: balance;
}
.svc-card__h em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--text-2);
}

.svc-card__p {
  font-size: 14.5px;
  color: var(--text-2);
  margin: 0;
  line-height: 1.55;
}

.svc-card__stat {
  margin-top: auto;
  padding-top: 22px;
  border-top: 1px dashed var(--line-2);
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.svc-card__stat strong {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--ink);
  line-height: 1;
}
.svc-card__stat span {
  font-size: 12.5px;
  color: var(--text-3);
  line-height: 1.4;
}

/* Anchor card — dark + lime, sits in the middle of the grid */
.svc-card--ink {
  background: var(--ink);
  color: #F4F4F4;
  border-color: transparent;
}
.svc-card--ink::after {
  content: "";
  position: absolute;
  right: -50px; top: -50px;
  width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(200,255,3,.20), transparent 60%);
  filter: blur(20px);
  pointer-events: none;
}
.svc-card--ink .svc-card__meta { color: rgba(255,255,255,.5); }
.svc-card--ink .svc-card__h { color: #F4F4F4; }
.svc-card--ink .svc-card__h em { color: var(--lime); font-style: normal; }
.svc-card--ink .svc-card__p { color: rgba(255,255,255,.7); }
.svc-card--ink .svc-card__stat { border-top-color: rgba(255,255,255,.18); }
.svc-card--ink .svc-card__stat strong { color: var(--lime); }
.svc-card--ink .svc-card__stat span { color: rgba(255,255,255,.65); }

.svc-card__icon--lime {
  background: var(--lime);
  border-color: transparent;
  color: var(--ink);
}
.svc-card--ink:hover .svc-card__icon--lime { background: #FFFFFF; }

.svc-card__tag {
  position: absolute;
  top: 22px; right: 22px;
  z-index: 2;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  background: var(--lime);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* =============================================================
   PROCESS · 03 · How we work
   ============================================================= */

.proc {
  background: var(--bg-alt);
  padding-block: clamp(72px, 9vw, 130px);
  border-top: 1px solid var(--line);
}
.proc__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.proc__head {
  max-width: 820px;
  margin-bottom: clamp(40px, 5vw, 64px);
}

.proc__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--text-2);
  text-transform: uppercase;
  margin-bottom: 18px;
}
.proc__eyebrow::before {
  content: "";
  width: 36px; height: 1px;
  background: var(--ink);
  display: inline-block;
}

.proc__h2 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-weight: 500;
  margin: 0 0 16px;
  color: var(--ink);
  text-wrap: balance;
}
.proc__h2 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--text-2);
}

.proc__lead {
  font-size: clamp(15px, 1.15vw, 17px);
  color: var(--text-2);
  max-width: 60ch;
  line-height: 1.55;
  margin: 0;
}

/* Steps grid: 4 cols on desktop, 2 cols then 1 col responsive */
.proc__steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  position: relative;
}
@media (max-width: 1100px) { .proc__steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .proc__steps { grid-template-columns: 1fr; } }

/* Subtle horizontal connector behind step numbers (desktop only) */
.proc__steps::before {
  content: "";
  position: absolute;
  top: 78px; left: 4%; right: 4%;
  height: 1px;
  background: linear-gradient(90deg,
    transparent,
    var(--line-2) 8%,
    var(--line-2) 92%,
    transparent);
  z-index: 0;
  pointer-events: none;
}
@media (max-width: 1100px) { .proc__steps::before { display: none; } }

.proc__step {
  position: relative;
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 28px 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 380px;
  z-index: 1;
  transition: transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
}
.proc__step:hover {
  transform: translateY(-3px);
  border-color: var(--line-2);
  box-shadow: 0 24px 50px -22px rgba(10,10,10,.12);
}

.proc__step-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 4px;
}

.proc__step-num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(48px, 4.5vw, 64px);
  font-weight: 400;
  color: var(--ink);
  line-height: 0.9;
  letter-spacing: -0.04em;
}

.proc__step-when {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-2);
  padding: 5px 11px;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
}

.proc__step-h {
  font-family: var(--font-display);
  font-size: clamp(20px, 1.7vw, 24px);
  font-weight: 600;
  letter-spacing: -0.022em;
  line-height: 1.15;
  margin: 0;
  color: var(--ink);
  text-wrap: balance;
}
.proc__step-h em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--text-2);
}

.proc__step-p {
  font-size: 14px;
  color: var(--text-2);
  margin: 0;
  line-height: 1.55;
}

.proc__step-deliv {
  list-style: none;
  margin: auto 0 0;
  padding: 18px 0 0;
  border-top: 1px dashed var(--line-2);
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.proc__step-deliv li {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-2);
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: .01em;
}
.proc__step-deliv li::before {
  content: "";
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--lime);
  flex-shrink: 0;
  display: inline-grid;
  place-items: center;
  position: relative;
}
.proc__step-deliv li::after {
  content: "";
  position: absolute;
  width: 6px; height: 3px;
  border-left: 1.5px solid var(--ink);
  border-bottom: 1.5px solid var(--ink);
  transform: rotate(-45deg) translate(0, -1px);
  margin-left: 4px;
}

/* Step 4 — dark anchor */
.proc__step--ink {
  background: var(--ink);
  color: #F4F4F4;
  border-color: transparent;
  position: relative;
  overflow: hidden;
}
.proc__step--ink::after {
  content: "";
  position: absolute;
  right: -50px; top: -50px;
  width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(200,255,3,.18), transparent 60%);
  filter: blur(20px);
  pointer-events: none;
}
.proc__step--ink > * { position: relative; z-index: 1; }

.proc__step--ink .proc__step-num { color: var(--lime); }
.proc__step--ink .proc__step-when {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.12);
  color: rgba(255,255,255,.7);
}
.proc__step--ink .proc__step-h { color: #F4F4F4; }
.proc__step--ink .proc__step-h em { color: var(--lime); font-style: normal; }
.proc__step--ink .proc__step-p { color: rgba(255,255,255,.7); }
.proc__step--ink .proc__step-deliv { border-top-color: rgba(255,255,255,.18); }
.proc__step--ink .proc__step-deliv li { color: rgba(255,255,255,.78); }
.proc__step--ink .proc__step-deliv li::before { background: var(--lime); }

/* =============================================================
   PORTFOLIO · selected work
   ============================================================= */

.port {
  background: var(--bg-alt);
  padding-block: clamp(72px, 9vw, 130px);
  border-top: 1px solid var(--line);
}
.port__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

/* Header row: heading on left, filter pills on right */
.port__head {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: end;
  margin-bottom: clamp(36px, 5vw, 56px);
}
@media (max-width: 1000px) { .port__head { grid-template-columns: 1fr; } }

.port__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--text-2);
  text-transform: uppercase;
  margin-bottom: 18px;
}
.port__eyebrow::before {
  content: "";
  width: 36px; height: 1px;
  background: var(--ink);
  display: inline-block;
}

.port__h2 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-weight: 500;
  margin: 0 0 16px;
  color: var(--ink);
  text-wrap: balance;
}
.port__h2 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--text-2);
}

.port__lead {
  font-size: clamp(15px, 1.15vw, 17px);
  color: var(--text-2);
  max-width: 56ch;
  line-height: 1.55;
  margin: 0;
}

/* Filter tabs */
.port__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
}
@media (max-width: 1000px) { .port__filters { justify-content: flex-start; } }

.port__filter {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-pill);
  background: #FFFFFF;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .18s var(--ease);
  white-space: nowrap;
}
.port__filter:hover { border-color: var(--ink); transform: translateY(-1px); }
.port__filter.is-active {
  background: var(--ink);
  color: #FFFFFF;
  border-color: var(--ink);
}
.port__filter-n {
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 1px 6px;
  border-radius: 6px;
  background: rgba(10,10,10,.06);
  color: var(--text-3);
  margin-left: 2px;
}
.port__filter.is-active .port__filter-n {
  background: rgba(255,255,255,.12);
  color: rgba(255,255,255,.8);
}

/* Grid */
.port__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
@media (max-width: 800px) { .port__grid { grid-template-columns: 1fr; } }

.port__empty {
  text-align: center;
  font-size: 14px;
  color: var(--text-3);
  padding: 40px 0;
  margin: 24px 0 0;
  font-family: var(--font-mono);
  letter-spacing: .04em;
}

/* "View all case studies" CTA in section header */
.port__view-all {
  align-self: end;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  background: var(--ink);
  color: #fff;
  border: 1px solid var(--ink);
  border-radius: var(--r-pill);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: .005em;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
  position: relative;
  overflow: hidden;
}
.port__view-all::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--lime);
  transform: translateY(101%);
  transition: transform .35s var(--ease);
  z-index: 0;
}
.port__view-all > * { position: relative; z-index: 1; }
.port__view-all:hover { color: var(--ink); }
.port__view-all:hover::before { transform: translateY(0); }
.port__view-all svg { transition: transform .25s var(--ease); }
.port__view-all:hover svg { transform: translate(2px, -2px); }
@media (max-width: 800px) {
  .port__view-all { align-self: start; margin-top: 16px; }
}

/* ============== Case card ============== */
.case {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 22px;
  text-decoration: none;
  color: var(--ink);
  overflow: hidden;
  transition: transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease), opacity .35s var(--ease);
}
.case:hover {
  transform: translateY(-4px);
  border-color: var(--line-2);
  box-shadow: 0 28px 60px -22px rgba(10,10,10,.16);
}

/* Filter hide state */
.case.is-hidden {
  opacity: 0;
  transform: scale(.96);
  pointer-events: none;
  position: absolute;
  visibility: hidden;
  height: 0;
  margin: 0; padding: 0; border: 0;
  overflow: hidden;
}

/* Top visual area */
.case__visual {
  position: relative;
  padding: 28px;
  height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.case__tag {
  position: absolute;
  top: 22px; left: 22px;
  z-index: 3;
  padding: 5px 11px;
  border-radius: var(--r-pill);
  background: rgba(10,10,10,.06);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.case__tag--lime { background: var(--lime); color: var(--ink); }

.case__metric {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.case__metric strong {
  font-family: var(--font-display);
  font-size: clamp(48px, 6vw, 84px);
  font-weight: 600;
  letter-spacing: -0.045em;
  color: var(--ink);
  line-height: 0.95;
}
.case__metric strong small {
  font-size: 0.55em;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.case__metric span {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--text-2);
  text-transform: uppercase;
}

/* === Visual variants === */

/* SEO — chart line filling visual */
.case__visual--seo .case__chart {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.case__visual--seo .case__chart svg { width: 100%; height: 100%; }

/* SEO 2 — SERP rank visualization */
.case__visual--seo-2 { background: #FFFFFF; }
.case__serp {
  position: relative;
  z-index: 1;
  margin-bottom: auto;
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 320px;
}
.case__serp-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg-alt);
  font-size: 12px;
  font-family: var(--font-mono);
  color: var(--text-3);
}
.case__serp-row--top {
  background: var(--ink);
  color: #FFFFFF;
  border-color: transparent;
}
.case__serp-rank {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(10,10,10,.06);
  color: var(--ink);
  font-weight: 700;
  display: grid; place-items: center;
  font-size: 11px;
  flex-shrink: 0;
}
.case__serp-row--top .case__serp-rank {
  background: var(--lime);
  color: var(--ink);
}
.case__serp-text {
  font-size: 12px;
  letter-spacing: -0.005em;
}
.case__serp-bar {
  flex: 1;
  height: 6px;
  border-radius: 3px;
  background: rgba(10,10,10,.06);
}

/* AEO — LLM chips floating */
.case__visual--aeo { background: #F0EFEB; }
.case__chips {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: auto;
  margin-top: 32px;
  max-width: 340px;
}
.case__llm {
  padding: 6px 12px;
  border-radius: var(--r-pill);
  background: #FFFFFF;
  border: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .02em;
  color: var(--ink);
}
.case__llm--lime { background: var(--lime); border-color: var(--lime); }

/* AEO 2 — JSON schema preview */
.case__visual--aeo-2 { background: #FAFAFA; }
.case__schema {
  position: relative;
  z-index: 1;
  margin-bottom: auto;
  margin-top: 32px;
  padding: 14px 16px;
  background: var(--ink);
  border-radius: 10px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  line-height: 1.7;
  color: rgba(255,255,255,.55);
  max-width: 320px;
  box-shadow: 0 8px 22px -8px rgba(10,10,10,.20);
}
.case__schema code { display: block; }
.case__schema .hl { color: var(--lime); }

/* Google Ads — concentric rings */
.case__visual--ads { background: #F4F2EE; }
.case__deco {
  position: absolute;
  right: -40px; top: 50%;
  transform: translateY(-50%);
  width: 240px; height: 240px;
  pointer-events: none;
}

/* Google Ads 2 — bar chart */
.case__visual--ads-2 { background: #FFFFFF; }
.case__bars {
  position: relative;
  z-index: 1;
  margin-bottom: auto;
  margin-top: 32px;
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 100px;
  max-width: 280px;
}
.case__bars span {
  flex: 1;
  height: var(--h, 50%);
  background: rgba(10,10,10,.10);
  border-radius: 4px 4px 0 0;
  transition: height .6s var(--ease);
}
.case__bars span.lime { background: var(--lime); }

/* Web Design — color swatch row */
.case__visual--design { background: #F4EFEA; }
.case__swatch {
  position: relative;
  z-index: 1;
  margin-bottom: auto;
  margin-top: 32px;
  display: flex;
  gap: 8px;
}
.case__swatch span {
  width: 44px; height: 44px;
  border-radius: 12px;
  box-shadow: 0 4px 10px -4px rgba(10,10,10,.18);
}

/* Web Development — browser frame + Lighthouse */
.case__visual--dev { background: #F2F2F2; }
.case__browser {
  position: relative;
  z-index: 1;
  margin-bottom: auto;
  margin-top: 28px;
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  max-width: 320px;
  box-shadow: 0 8px 22px -8px rgba(10,10,10,.12);
}
.case__browser-bar {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 10px;
  border-bottom: 1px solid var(--line);
  background: #FAFAFA;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-3);
}
.case__browser-bar i {
  width: 7px; height: 7px;
  border-radius: 50%;
}
.case__browser-bar i:nth-child(1) { background: #FF5F57; }
.case__browser-bar i:nth-child(2) { background: #FEBC2E; }
.case__browser-bar i:nth-child(3) { background: #28C840; }
.case__browser-bar span { margin-left: 6px; }
.case__lh {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
}
.case__lh-ring {
  position: relative;
  width: 56px; height: 56px;
  flex-shrink: 0;
}
.case__lh-ring svg { width: 100%; height: 100%; }
.case__lh-ring span {
  position: absolute;
  inset: 0;
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  color: var(--ink);
}
.case__lh-meta strong {
  display: block;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
}
.case__lh-meta small {
  display: block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--text-3);
  letter-spacing: .04em;
}

/* Body */
.case__body {
  padding: 26px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.case__client {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .04em;
  color: var(--text-3);
  text-transform: uppercase;
}

.case__h {
  font-family: var(--font-display);
  font-size: clamp(20px, 1.8vw, 26px);
  font-weight: 600;
  letter-spacing: -0.022em;
  line-height: 1.15;
  margin: 0;
  color: var(--ink);
  text-wrap: balance;
}
.case__h em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--text-2);
}

.case__p {
  font-size: 14.5px;
  color: var(--text-2);
  margin: 0;
  line-height: 1.55;
}

.case__cta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: auto;
  padding-top: 8px;
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.case__cta span {
  display: inline-block;
  transition: transform .35s var(--ease);
}
.case:hover .case__cta span { transform: translateX(4px); }

/* === Anchor case (dark) === */
.case--ink {
  background: var(--ink);
  color: #F4F4F4;
  border-color: transparent;
}
.case--ink .case__visual {
  background: var(--ink-2);
  border-bottom-color: rgba(255,255,255,.08);
}
.case--ink .case__visual--seo .case__chart {
  /* keep lime line bright */
}
.case--ink .case__metric strong { color: #F4F4F4; }
.case--ink .case__metric span { color: rgba(255,255,255,.6); }
.case--ink .case__client { color: rgba(255,255,255,.5); }
.case--ink .case__h { color: #F4F4F4; }
.case--ink .case__h em { color: var(--lime); font-style: normal; }
.case--ink .case__p { color: rgba(255,255,255,.7); }
.case--ink .case__cta { color: var(--lime); }
.case--ink .case__tag { background: rgba(255,255,255,.10); color: #F4F4F4; }
.case--ink .case__tag--lime { background: var(--lime); color: var(--ink); }

/* =============================================================
   TESTIMONIALS · 04 · Voices
   ============================================================= */

.tts {
  background: #FFFFFF;
  padding-block: clamp(72px, 9vw, 130px);
  border-top: 1px solid var(--line);
}
.tts__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

/* Header: text-left, rating-right */
.tts__head {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: end;
  margin-bottom: clamp(40px, 5vw, 64px);
}
@media (max-width: 1000px) { .tts__head { grid-template-columns: 1fr; } }

.tts__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--text-2);
  text-transform: uppercase;
  margin-bottom: 18px;
}
.tts__eyebrow::before {
  content: "";
  width: 36px; height: 1px;
  background: var(--ink);
  display: inline-block;
}

.tts__h2 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-weight: 500;
  margin: 0 0 16px;
  color: var(--ink);
  text-wrap: balance;
  max-width: 16ch;
}
.tts__h2 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--text-2);
}

.tts__lead {
  font-size: clamp(15px, 1.15vw, 17px);
  color: var(--text-2);
  max-width: 56ch;
  line-height: 1.55;
  margin: 0;
}

/* Rating badge */
.tts__rating {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-self: end;
  min-width: 280px;
}
@media (max-width: 1000px) { .tts__rating { justify-self: start; min-width: 0; max-width: 360px; } }

.tts__rating-stars {
  color: var(--ink);
  font-size: 24px;
  letter-spacing: 6px;
  line-height: 1;
}

.tts__rating-text {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.tts__rating-text strong {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--ink);
  line-height: 1;
}
.tts__rating-text > span {
  font-size: 12.5px;
  color: var(--text-2);
}

.tts__rating-sources {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-3);
}
.tts__rating-sources .dot-sep {
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--text-3);
  display: inline-block;
}

/* Grid: 1 featured (full) + 4 standard (2x2) */
.tts__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
@media (max-width: 800px) { .tts__grid { grid-template-columns: 1fr; } }

/* Standard card */
.tts__card {
  position: relative;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
}
.tts__card:hover {
  transform: translateY(-4px);
  border-color: var(--line-2);
  box-shadow: 0 24px 50px -22px rgba(10,10,10,.12);
}

.tts__stars {
  color: var(--ink);
  font-size: 16px;
  letter-spacing: 4px;
  line-height: 1;
}

.tts__quote {
  font-family: var(--font-display);
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.4;
  letter-spacing: -0.018em;
  font-weight: 500;
  margin: 0;
  color: var(--ink);
  flex: 1;
}
.tts__quote em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.tts__by {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 22px;
  border-top: 1px dashed var(--line-2);
  flex-wrap: wrap;
}
.tts__by-av {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--lime);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.tts__by-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.tts__by-info strong {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.005em;
  line-height: 1.2;
}
.tts__by-info small {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .03em;
  color: var(--text-3);
  line-height: 1.3;
}
.tts__by-tag {
  margin-left: auto;
  padding: 5px 11px;
  background: rgba(10,10,10,.05);
  color: var(--text-2);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .06em;
  text-transform: uppercase;
  border-radius: var(--r-pill);
  font-weight: 500;
  white-space: nowrap;
}
.tts__by-result {
  padding: 5px 11px;
  background: var(--lime);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .04em;
  font-weight: 700;
  border-radius: var(--r-pill);
  white-space: nowrap;
}

/* Featured anchor — dark, full width */
.tts__card--feat {
  grid-column: 1 / -1;
  background: var(--ink);
  color: #F4F4F4;
  border-color: transparent;
  padding: clamp(36px, 4vw, 56px) clamp(32px, 4vw, 56px);
  position: relative;
  overflow: hidden;
}
.tts__card--feat::after {
  content: "";
  position: absolute;
  right: -100px; top: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(200,255,3,.16), transparent 60%);
  filter: blur(40px);
  pointer-events: none;
}
.tts__card--feat:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 60px -24px rgba(10,10,10,.30);
}

.tts__quote-mark {
  position: absolute;
  top: clamp(28px, 3vw, 40px);
  right: clamp(28px, 3vw, 48px);
  width: 56px; height: 42px;
  color: var(--lime);
  opacity: .9;
  z-index: 1;
}
.tts__quote-mark svg { width: 100%; height: 100%; }

.tts__quote--big {
  font-size: clamp(22px, 2.4vw, 34px);
  line-height: 1.3;
  letter-spacing: -0.025em;
  font-weight: 500;
  max-width: 30ch;
  color: #F4F4F4;
  position: relative;
  z-index: 1;
}
.tts__quote--big em {
  color: var(--lime);
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
}

.tts__card--feat .tts__by {
  border-top-color: rgba(255,255,255,.18);
  position: relative;
  z-index: 1;
}
.tts__card--feat .tts__by-av {
  background: var(--lime);
  color: var(--ink);
  width: 44px; height: 44px;
  font-size: 15px;
}
.tts__card--feat .tts__by-info strong { color: #F4F4F4; }
.tts__card--feat .tts__by-info small { color: rgba(255,255,255,.55); }
.tts__card--feat .tts__by-tag {
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.65);
}

/* =============================================================
   BLOG · 06 · Insights
   ============================================================= */

.blog {
  background: #FFFFFF;
  padding-block: clamp(72px, 9vw, 130px);
  border-top: 1px solid var(--line);
}
.blog__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

/* Header */
.blog__head {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: end;
  margin-bottom: clamp(40px, 5vw, 64px);
}
@media (max-width: 1000px) { .blog__head { grid-template-columns: 1fr; } }

.blog__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--text-2);
  text-transform: uppercase;
  margin-bottom: 18px;
}
.blog__eyebrow::before {
  content: "";
  width: 36px; height: 1px;
  background: var(--ink);
  display: inline-block;
}

.blog__h2 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-weight: 500;
  margin: 0 0 16px;
  color: var(--ink);
  text-wrap: balance;
}
.blog__h2 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--text-2);
}

.blog__lead {
  font-size: clamp(15px, 1.15vw, 17px);
  color: var(--text-2);
  max-width: 56ch;
  line-height: 1.55;
  margin: 0;
}

.blog__view-all {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 22px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-pill);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.005em;
  white-space: nowrap;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .2s var(--ease);
}
@media (max-width: 1000px) { .blog__view-all { justify-self: start; } }
.blog__view-all:hover {
  background: var(--ink);
  color: #FFFFFF;
  border-color: var(--ink);
  transform: translateY(-1px);
}
.blog__view-all-line {
  display: inline-block;
  width: 24px; height: 1.5px;
  background: currentColor;
  transition: width .35s var(--ease);
}
.blog__view-all:hover .blog__view-all-line { width: 36px; }
.blog__view-all-icon { display: inline-flex; transition: transform .35s var(--ease); }
.blog__view-all:hover .blog__view-all-icon { transform: translate(2px, -2px); }

/* Bento grid: featured(7) + trending(5) + 3x standard(4) */
.blog__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}
@media (max-width: 1100px) { .blog__grid { grid-template-columns: repeat(6, 1fr); } }
@media (max-width: 700px)  { .blog__grid { grid-template-columns: 1fr; } }

/* Standard post card */
.post {
  display: flex;
  flex-direction: column;
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 22px;
  text-decoration: none;
  color: var(--ink);
  overflow: hidden;
  grid-column: span 4;
  transition: transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
}
.post:hover {
  transform: translateY(-4px);
  border-color: var(--line-2);
  box-shadow: 0 24px 50px -22px rgba(10,10,10,.12);
}
@media (max-width: 1100px) { .post { grid-column: span 3; } }
@media (max-width: 700px)  { .post { grid-column: span 1; } }

.post__visual {
  position: relative;
  height: 180px;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  padding: 22px;
}

.post__visual-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 11px;
  background: rgba(255,255,255,.94);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .04em;
  color: var(--ink);
  text-transform: uppercase;
  font-weight: 500;
  position: absolute;
  top: 16px; left: 16px;
  z-index: 2;
}
.post__visual-tag .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 6px var(--lime-glow);
  display: inline-block;
}
.post__visual-tag--lime {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--ink);
}
.post__visual-tag--lime .dot { background: var(--ink); box-shadow: none; }

.post__body {
  padding: 24px 26px 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.post__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .04em;
  color: var(--text-3);
  text-transform: uppercase;
}
.post__cat {
  padding: 3px 9px;
  background: var(--bg-alt);
  border-radius: var(--r-pill);
  color: var(--ink);
  font-weight: 500;
}
.post__sep { opacity: .5; }

.post__h {
  font-family: var(--font-display);
  font-size: clamp(20px, 1.6vw, 24px);
  font-weight: 600;
  letter-spacing: -0.022em;
  line-height: 1.2;
  margin: 0;
  color: var(--ink);
  text-wrap: balance;
}
.post__h em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--text-2);
}

.post__excerpt {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.55;
  margin: 0;
  flex: 1;
}

.post__cta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: auto;
  padding-top: 8px;
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.post__cta span {
  display: inline-block;
  transition: transform .35s var(--ease);
}
.post:hover .post__cta span { transform: translateX(4px); }

/* === Featured · dark anchor, span 7 (visual left + body right) === */
.post--feat {
  grid-column: span 7;
  background: var(--ink);
  color: #F4F4F4;
  border-color: transparent;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}
@media (max-width: 1100px) { .post--feat { grid-column: span 6; grid-template-columns: 1fr; } }
@media (max-width: 700px)  { .post--feat { grid-column: span 1; } }

.post--feat .post__visual {
  height: auto;
  min-height: 280px;
  background: var(--ink-2);
  border-bottom: 0;
  border-right: 1px solid rgba(255,255,255,.06);
  padding: 0;
}
@media (max-width: 1100px) {
  .post--feat .post__visual { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.06); }
}

/* Photo variant — used in Direction C (mixed) for story-type articles.
   Edge-to-edge image · subtle bottom gradient · tag pinned bottom-left · zoom on hover */
.post__visual--photo {
  padding: 0;
}
.post__visual--photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s var(--ease);
}
.post:hover .post__visual--photo img {
  transform: scale(1.04);
}
.post__visual--photo::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 55%;
  background: linear-gradient(to bottom, transparent, rgba(0,0,0,.45));
  pointer-events: none;
  z-index: 1;
}
.post__visual--photo .post__visual-tag {
  top: auto;
  bottom: 16px;
  left: 16px;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-color: rgba(0,0,0,.06);
}
/* Featured (dark anchor) photo: keep dark-anchor brand look */
.post--feat .post__visual--photo .post__visual-tag {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.18);
  color: #fff;
}

.post__visual--chart {
  position: relative;
  padding: 0;
}
.post__visual--chart svg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
}

.post--feat .post__visual-tag {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.14);
  color: #F4F4F4;
  top: auto; bottom: 16px; left: 16px;
}
.post--feat .post__visual-tag .dot {
  background: var(--lime);
}

.post--feat .post__body {
  padding: clamp(28px, 3vw, 36px);
  gap: 14px;
}
.post--feat .post__meta { color: rgba(255,255,255,.5); }
.post--feat .post__cat {
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.85);
}
.post--feat .post__h {
  color: #F4F4F4;
  font-size: clamp(24px, 2.2vw, 32px);
}
.post--feat .post__h em { color: var(--lime); }
.post--feat .post__excerpt { color: rgba(255,255,255,.7); font-size: 15px; }

.post__by {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 22px;
  border-top: 1px dashed rgba(255,255,255,.18);
}
/* When the footer only has the CTA (no author block), right-align it */
.post__by > .post__cta:only-child {
  margin-left: auto;
}
.post__by-av {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.01em;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.post__by-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.post__by-info strong {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: #F4F4F4;
  line-height: 1.2;
}
.post__by-info small {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: rgba(255,255,255,.55);
  letter-spacing: .03em;
}
.post--feat .post__cta { margin-left: auto; color: var(--lime); padding-top: 0; }

/* === Trending · span 5 === */
.post--trend {
  grid-column: span 5;
  background: var(--bg-alt);
  position: relative;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 280px;
  overflow: hidden;
}
@media (max-width: 1100px) { .post--trend { grid-column: span 6; } }
@media (max-width: 700px)  { .post--trend { grid-column: span 1; } }

.post--trend .post__rank {
  position: absolute;
  top: 24px; right: 32px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(56px, 6vw, 80px);
  font-weight: 400;
  color: rgba(10,10,10,.10);
  line-height: 0.9;
  letter-spacing: -0.04em;
  pointer-events: none;
}

.post--trend .post__visual-tag {
  position: static;
  align-self: flex-start;
  margin-bottom: 4px;
}

.post__body--trend {
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

/* === Standard visual variants === */

/* AI workflow — node grid */
.post__visual--agents {
  background: linear-gradient(135deg, var(--bg-alt), #FFFFFF);
  display: grid;
  place-items: center;
}
.post__nodes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  width: 110px;
}
.post__nodes span {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: rgba(10,10,10,.12);
  position: relative;
}
.post__nodes span.lime {
  background: var(--lime);
  box-shadow: 0 0 14px var(--lime-glow);
}

/* AEO research — quote mark + LLM chips */
.post__visual--quote {
  background: linear-gradient(135deg, #F4F2EE, #FFFFFF);
  position: relative;
  display: flex;
  align-items: flex-end;
}
.post__qm {
  position: absolute;
  top: -20px; left: 14px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 140px;
  color: rgba(10,10,10,.10);
  line-height: 1;
  pointer-events: none;
}
.post__llms {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  position: relative;
  z-index: 1;
}
.post__llms span {
  padding: 5px 11px;
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .02em;
  color: var(--ink);
}
.post__llms span.lime {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--ink);
  font-weight: 500;
}

/* Field report — big metric on dark */
.post__visual--metric {
  background: var(--ink);
  color: #F4F4F4;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px;
  position: relative;
  overflow: hidden;
}
.post__visual--metric::after {
  content: "";
  position: absolute;
  right: -50px; top: -50px;
  width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(200,255,3,.20), transparent 60%);
  filter: blur(20px);
  pointer-events: none;
}
.post__big {
  font-family: var(--font-display);
  font-size: clamp(48px, 5vw, 64px);
  font-weight: 600;
  letter-spacing: -0.045em;
  color: var(--lime);
  line-height: 0.95;
  position: relative;
  z-index: 1;
}
.post__big small {
  font-size: 0.55em;
  font-weight: 600;
}
.post__big-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
  margin-top: 6px;
  position: relative;
  z-index: 1;
}

/* =============================================================
   FAQ · 07 · Questions
   ============================================================= */

.faq {
  background: var(--bg-alt);
  padding-block: clamp(72px, 9vw, 130px);
  border-top: 1px solid var(--line);
}
.faq__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.faq__head {
  max-width: 820px;
  margin-bottom: clamp(40px, 5vw, 64px);
}

.faq__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--text-2);
  text-transform: uppercase;
  margin-bottom: 18px;
}
.faq__eyebrow::before {
  content: "";
  width: 36px; height: 1px;
  background: var(--ink);
  display: inline-block;
}

.faq__h2 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-weight: 500;
  margin: 0 0 16px;
  color: var(--ink);
  text-wrap: balance;
}
.faq__h2 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--text-2);
}

.faq__lead {
  font-size: clamp(15px, 1.15vw, 17px);
  color: var(--text-2);
  max-width: 56ch;
  line-height: 1.55;
  margin: 0;
}

/* 2-col body: accordion left + sticky CTA right */
.faq__body {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: clamp(16px, 2.5vw, 32px);
  align-items: start;
}
@media (max-width: 1000px) { .faq__body { grid-template-columns: 1fr; } }

/* Accordion list */
.faq__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq__item {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.faq__item:hover { border-color: var(--line-2); }
.faq__item:has(.faq__d[open]) {
  border-color: var(--ink);
  box-shadow: 0 8px 24px -10px rgba(10,10,10,.08);
}

.faq__d {
  /* override browser default */
}
.faq__d > summary { list-style: none; }
.faq__d > summary::-webkit-details-marker { display: none; }

.faq__sum {
  cursor: pointer;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 22px 26px;
  user-select: none;
  transition: background .2s var(--ease);
}
.faq__sum:hover { background: var(--bg-alt); }

.faq__num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--text-3);
  font-weight: 500;
  transition: color .25s var(--ease);
}
.faq__d[open] .faq__num { color: var(--ink); }

.faq__q {
  font-family: var(--font-display);
  font-size: clamp(15.5px, 1.3vw, 18px);
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink);
  line-height: 1.3;
  text-wrap: balance;
}

.faq__icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--ink);
  flex-shrink: 0;
  transition: background .25s var(--ease), border-color .25s var(--ease), transform .35s var(--ease);
}
.faq__d[open] .faq__icon {
  background: var(--lime);
  border-color: var(--lime);
  transform: rotate(45deg);
}
.faq__sum:hover .faq__icon { border-color: var(--ink); }

/* Smooth expand using grid-template-rows trick */
.faq__a-wrap {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .35s var(--ease);
}
.faq__d[open] .faq__a-wrap {
  grid-template-rows: 1fr;
}
.faq__a {
  overflow: hidden;
  min-height: 0;
}
.faq__a p {
  padding: 0 26px 24px 60px;
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-2);
  max-width: 60ch;
}
.faq__a p strong {
  color: var(--ink);
  font-weight: 600;
}
@media (max-width: 600px) {
  .faq__a p { padding-left: 26px; }
}

/* Fallback for browsers without :has support — keep manual open behavior */
@supports not (selector(:has(*))) {
  .faq__item:has(.faq__d[open]) {
    /* no-op fallback */
  }
}

/* === Sticky dark CTA card === */
.faq__cta {
  position: sticky;
  top: 100px;
  align-self: start;
}
@media (max-width: 1000px) { .faq__cta { position: static; } }

.faq__cta-inner {
  background: var(--ink);
  color: #F4F4F4;
  border-radius: 22px;
  padding: clamp(28px, 3vw, 40px);
  position: relative;
  overflow: hidden;
}
.faq__cta-inner::after {
  content: "";
  position: absolute;
  right: -80px; top: -80px;
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(200,255,3,.20), transparent 60%);
  filter: blur(30px);
  pointer-events: none;
}
.faq__cta-inner > * { position: relative; z-index: 1; }

.faq__cta-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 12px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--r-pill);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .04em;
  color: rgba(255,255,255,.7);
  text-transform: uppercase;
  margin-bottom: 22px;
}
.faq__cta-tag .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 10px var(--lime-glow);
  animation: pulseDot 1.8s var(--ease) infinite;
}
@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .55; transform: scale(.85); }
}

.faq__cta-h {
  font-family: var(--font-display);
  font-size: clamp(26px, 2.8vw, 36px);
  line-height: 1.1;
  letter-spacing: -0.025em;
  font-weight: 500;
  margin: 0 0 14px;
  color: #F4F4F4;
  text-wrap: balance;
}
.faq__cta-h em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--lime);
}

.faq__cta-p {
  font-size: 14.5px;
  color: rgba(255,255,255,.7);
  line-height: 1.55;
  margin: 0 0 26px;
}

.faq__cta-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 26px;
}

.faq__cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 22px;
  background: var(--lime);
  color: var(--ink);
  border-radius: var(--r-pill);
  font-family: var(--font-display);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: -0.005em;
  transition: transform .2s var(--ease), background .25s var(--ease);
}
.faq__cta-btn:hover { background: #B8EB1A; transform: translateY(-1px); }
.faq__cta-btn svg { transition: transform .35s var(--ease); }
.faq__cta-btn:hover svg { transform: translate(2px, -2px); }

.faq__cta-mail {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .02em;
  color: rgba(255,255,255,.65);
  text-decoration: underline;
  text-decoration-color: rgba(255,255,255,.2);
  text-underline-offset: 4px;
  transition: color .2s var(--ease), text-decoration-color .2s var(--ease);
  text-align: center;
  padding: 6px 0;
}
.faq__cta-mail:hover {
  color: var(--lime);
  text-decoration-color: var(--lime);
}

.faq__cta-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.12);
}
.faq__cta-meta > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.faq__cta-meta strong {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--lime);
  line-height: 1;
}
.faq__cta-meta span {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .03em;
  color: rgba(255,255,255,.6);
}

/* =============================================================
   AGENCY PAGE
   ============================================================= */

/* active state for header nav (highlight current page) */
.hdr__link--active {
  background: rgba(10, 10, 10, 0.06);
  color: var(--ink) !important;
  position: relative;
}
.hdr__link--active::after {
  content: "";
  position: absolute;
  left: 50%; bottom: -2px;
  transform: translateX(-50%);
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 8px var(--lime-glow);
}

/* === Page hero === */
.ag-hero {
  background: #FFFFFF;
  padding-block: clamp(48px, 6vw, 80px) clamp(60px, 7vw, 100px);
  border-bottom: 1px solid var(--line);
}
.ag-hero__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.ag-hero__crumb {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--text-3);
  text-transform: uppercase;
  margin-bottom: 32px;
}
.ag-hero__crumb a {
  color: var(--text-3);
  text-decoration: none;
  transition: color .2s var(--ease);
}
.ag-hero__crumb a:hover { color: var(--ink); }
.ag-hero__crumb-sep { opacity: .4; }
.ag-hero__crumb > span:last-child { color: var(--ink); font-weight: 500; }

.ag-hero__h1 {
  font-family: var(--font-display);
  font-size: clamp(40px, 6.4vw, 96px);
  line-height: 0.98;
  letter-spacing: -0.04em;
  font-weight: 500;
  margin: 0 0 28px;
  color: var(--ink);
  text-wrap: balance;
  max-width: 22ch;
}
.ag-hero__h1 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--text-2);
}

.ag-hero__lead {
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.55;
  color: var(--text-2);
  max-width: 60ch;
  margin: 0 0 48px;
}
.ag-hero__lead strong { color: var(--ink); font-weight: 600; }

.ag-hero__stats {
  list-style: none;
  margin: 0;
  padding: 32px 0 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 800px) { .ag-hero__stats { grid-template-columns: repeat(2, 1fr); gap: 28px 16px; } }
.ag-hero__stats li {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.ag-hero__stats strong {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 600;
  letter-spacing: -0.04em;
  color: var(--ink);
  line-height: 1;
}
.ag-hero__stats > li > span {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--text-3);
}

/* === Story · sticky scroll 2-col === */
.ag-story {
  background: var(--bg-alt);
  padding-block: clamp(72px, 9vw, 130px);
  border-top: 1px solid var(--line);
}
.ag-story__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.ag-story__head { margin-bottom: clamp(40px, 5vw, 64px); max-width: 800px; }
.ag-story__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--text-2);
  text-transform: uppercase;
  margin-bottom: 18px;
}
.ag-story__eyebrow::before {
  content: "";
  width: 36px; height: 1px;
  background: var(--ink);
  display: inline-block;
}
.ag-story__h2 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-weight: 500;
  margin: 0;
  color: var(--ink);
  text-wrap: balance;
}
.ag-story__h2 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--text-2);
}

.ag-story__split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
@media (max-width: 1000px) { .ag-story__split { grid-template-columns: 1fr; } }

.ag-story__chapters {
  display: flex;
  flex-direction: column;
  gap: clamp(40px, 6vw, 72px);
}

.ag-chap {
  position: relative;
  padding-left: 28px;
}
.ag-chap::before {
  content: "";
  position: absolute;
  left: 0; top: 14px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 12px var(--lime-glow);
}
.ag-chap__num {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .06em;
  color: var(--text-3);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.ag-chap__h {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.6vw, 36px);
  line-height: 1.1;
  letter-spacing: -0.025em;
  font-weight: 600;
  margin: 0 0 14px;
  color: var(--ink);
  text-wrap: balance;
}
.ag-chap__h em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--text-2);
}
.ag-chap p {
  font-size: 15.5px;
  color: var(--text-2);
  line-height: 1.65;
  margin: 0;
  max-width: 50ch;
}

/* Sticky right column */
.ag-story__sticky {
  position: sticky;
  top: 100px;
}
@media (max-width: 1000px) { .ag-story__sticky { position: static; } }

.ag-sys {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: clamp(24px, 3vw, 36px);
  display: flex;
  flex-direction: column;
  gap: 22px;
  box-shadow: 0 24px 60px -30px rgba(10,10,10,.10);
}
.ag-sys__tag {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--text-2);
}
.ag-sys__tag .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 10px var(--lime-glow);
  animation: pulseDot 1.8s var(--ease) infinite;
}
.ag-sys__h {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 600;
  letter-spacing: -0.025em;
  margin: 0;
  color: var(--ink);
}

.ag-sys__nodes {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ag-sys__node {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  position: relative;
  transition: transform .25s var(--ease), border-color .25s var(--ease);
}
.ag-sys__node:hover { transform: translateX(2px); border-color: var(--line-2); }
.ag-sys__node + .ag-sys__node::before {
  content: "";
  position: absolute;
  top: -13px;
  left: 30px;
  width: 1px;
  height: 12px;
  background: var(--line-2);
}
.ag-sys__ic {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--ink);
  color: var(--lime);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.ag-sys__ic svg { width: 18px; height: 18px; }
.ag-sys__node strong { display: block; font-family: var(--font-display); font-size: 14px; font-weight: 600; color: var(--ink); }
.ag-sys__node small { display: block; font-family: var(--font-mono); font-size: 11px; color: var(--text-3); margin-top: 2px; letter-spacing: .03em; }

.ag-sys__foot {
  padding-top: 18px;
  border-top: 1px dashed var(--line-2);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--text-3);
  text-align: center;
}

/* === Principles === */
.ag-prin {
  background: #FFFFFF;
  padding-block: clamp(72px, 9vw, 130px);
  border-top: 1px solid var(--line);
}
.ag-prin__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--gutter);
}
.ag-prin__head { max-width: 800px; margin-bottom: clamp(40px, 5vw, 64px); }
.ag-prin__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--text-2);
  text-transform: uppercase;
  margin-bottom: 18px;
}
.ag-prin__eyebrow::before {
  content: "";
  width: 36px; height: 1px;
  background: var(--ink);
  display: inline-block;
}
.ag-prin__h2 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-weight: 500;
  margin: 0 0 16px;
  color: var(--ink);
  text-wrap: balance;
}
.ag-prin__h2 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--text-2);
}
.ag-prin__lead {
  font-size: clamp(15px, 1.15vw, 17px);
  color: var(--text-2);
  max-width: 56ch;
  line-height: 1.55;
  margin: 0;
}

.ag-prin__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
}
@media (max-width: 800px) { .ag-prin__grid { grid-template-columns: 1fr; } }

.ag-prin__card {
  background: #FFFFFF;
  padding: clamp(28px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: background .3s var(--ease);
}
.ag-prin__card:hover { background: var(--bg-alt); }

.ag-prin__num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(40px, 4vw, 56px);
  font-weight: 400;
  color: var(--ink);
  line-height: 0.9;
  letter-spacing: -0.04em;
  position: relative;
  display: inline-block;
}
.ag-prin__num::after {
  content: "";
  position: absolute;
  left: -4px; right: -4px; bottom: 4px;
  height: 0.18em;
  background: var(--lime);
  z-index: -1;
}

.ag-prin__c-h {
  font-family: var(--font-display);
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 600;
  letter-spacing: -0.022em;
  line-height: 1.15;
  margin: 0;
  color: var(--ink);
  text-wrap: balance;
}
.ag-prin__c-p {
  font-size: 14.5px;
  color: var(--text-2);
  line-height: 1.55;
  margin: 0;
  max-width: 50ch;
}

/* === Team === */
.ag-team {
  background: var(--bg-alt);
  padding-block: clamp(72px, 9vw, 130px);
  border-top: 1px solid var(--line);
}
.ag-team__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--gutter);
}
.ag-team__head { max-width: 800px; margin-bottom: clamp(40px, 5vw, 64px); }
.ag-team__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--text-2);
  text-transform: uppercase;
  margin-bottom: 18px;
}
.ag-team__eyebrow::before {
  content: "";
  width: 36px; height: 1px;
  background: var(--ink);
  display: inline-block;
}
.ag-team__h2 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-weight: 500;
  margin: 0 0 16px;
  color: var(--ink);
  text-wrap: balance;
}
.ag-team__h2 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--text-2);
}
.ag-team__lead {
  font-size: clamp(15px, 1.15vw, 17px);
  color: var(--text-2);
  max-width: 60ch;
  line-height: 1.55;
  margin: 0;
}

.ag-team__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 900px) { .ag-team__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .ag-team__grid { grid-template-columns: 1fr; } }

.ag-person {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
  overflow: hidden;
  isolation: isolate;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.ag-person:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -22px rgba(10,10,10,.18); }

/* Photo fills the tile as background */
.ag-person__photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  border-radius: inherit;
  pointer-events: none;
}
.ag-person__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  transition: transform .6s var(--ease), filter .35s var(--ease);
}
.ag-person:hover .ag-person__photo img { transform: scale(1.06); }

/* Color overlay per variant — gives the tile its brand identity over the photo */
.ag-person::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  border-radius: inherit;
  transition: opacity .35s var(--ease);
}

/* Bottom gradient for name legibility on every tile */
.ag-person::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 50%;
  z-index: 1;
  pointer-events: none;
  border-radius: 0 0 22px 22px;
}

/* Foreground content sits above photo + overlays */
.ag-person__mark,
.ag-person__meta {
  position: relative;
  z-index: 2;
}

.ag-person__mark {
  font-family: var(--font-display);
  font-size: clamp(48px, 5vw, 80px);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 0.9;
  align-self: flex-start;
}

.ag-person__meta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .04em;
  text-transform: uppercase;
  line-height: 1.35;
}
.ag-person__meta strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13.5px;
  letter-spacing: -0.005em;
  text-transform: none;
  margin-bottom: 2px;
}

/* === Ink variant (dark + lime initials) === */
.ag-person--ink   { background: var(--ink);    color: #F4F4F4; }
.ag-person--ink .ag-person__photo img {
  filter: grayscale(60%) brightness(0.62) contrast(1.05);
}
.ag-person--ink:hover .ag-person__photo img {
  filter: grayscale(35%) brightness(0.72) contrast(1.05);
}
.ag-person--ink::before {
  background: linear-gradient(180deg, rgba(10,10,10,.45) 0%, rgba(10,10,10,.65) 100%);
}
.ag-person--ink::after {
  background: linear-gradient(180deg, transparent 0%, rgba(10,10,10,.85) 100%);
}
.ag-person--ink .ag-person__mark {
  color: var(--lime);
  text-shadow: 0 2px 24px rgba(10,10,10,.4);
}
.ag-person--ink .ag-person__meta { color: rgba(255,255,255,.7); }
.ag-person--ink .ag-person__meta strong { color: #F4F4F4; }

/* === Lime variant === */
.ag-person--lime  { background: var(--lime);   color: var(--ink); }
.ag-person--lime .ag-person__photo img {
  filter: grayscale(80%) brightness(0.85) contrast(1.05);
}
.ag-person--lime:hover .ag-person__photo img {
  filter: grayscale(70%) brightness(0.9);
}
.ag-person--lime::before {
  background: var(--lime);
  opacity: 0.62;
  mix-blend-mode: hard-light;
}
.ag-person--lime::after {
  background: linear-gradient(180deg, transparent 0%, rgba(200,255,3,.45) 50%, rgba(168,210,8,.65) 100%);
}
.ag-person--lime .ag-person__mark {
  color: var(--ink);
  text-shadow: 0 2px 18px rgba(255,255,255,.25);
}
.ag-person--lime .ag-person__meta { color: rgba(10,10,10,.78); }
.ag-person--lime .ag-person__meta strong { color: var(--ink); }

/* === Cream variant === */
.ag-person--cream { background: #FFFFFF;       color: var(--ink); border: 1px solid var(--line); }
.ag-person--cream .ag-person__photo img {
  filter: grayscale(20%) brightness(1.02) contrast(1.02);
}
.ag-person--cream:hover .ag-person__photo img {
  filter: grayscale(0%) contrast(1.05);
}
.ag-person--cream::before {
  background: linear-gradient(180deg, rgba(255,255,255,.10) 0%, rgba(255,255,255,.20) 100%);
}
.ag-person--cream::after {
  background: linear-gradient(180deg, transparent 0%, rgba(255,255,255,.92) 100%);
}
.ag-person--cream .ag-person__mark {
  color: var(--ink);
  text-shadow: 0 2px 18px rgba(255,255,255,.6);
}
.ag-person--cream .ag-person__meta { color: var(--text-3); }
.ag-person--cream .ag-person__meta strong { color: var(--ink); }

/* === Gray variant === */
.ag-person--gray  { background: #ECEAE5;       color: var(--ink); }
.ag-person--gray .ag-person__photo img {
  filter: grayscale(60%) brightness(0.95) contrast(1.0);
}
.ag-person--gray:hover .ag-person__photo img {
  filter: grayscale(30%) brightness(1.0);
}
.ag-person--gray::before {
  background: linear-gradient(180deg, rgba(236,234,229,.20) 0%, rgba(236,234,229,.35) 100%);
}
.ag-person--gray::after {
  background: linear-gradient(180deg, transparent 0%, rgba(236,234,229,.92) 100%);
}
.ag-person--gray .ag-person__mark { color: var(--ink); }
.ag-person--gray .ag-person__meta { color: var(--text-3); }
.ag-person--gray .ag-person__meta strong { color: var(--ink); }

/* AI agents tile */
.ag-person--agents {
  background: linear-gradient(135deg, var(--ink), var(--ink-2));
  color: #F4F4F4;
  position: relative;
}
.ag-person--agents .ag-person__mark {
  color: var(--lime);
  font-family: var(--font-display);
  font-size: clamp(40px, 4.5vw, 64px);
}
.ag-person--agents .ag-person__meta { color: rgba(255,255,255,.65); }
.ag-person--agents .ag-person__meta strong { color: #F4F4F4; }
.ag-person--agents::before {
  content: "";
  position: absolute;
  right: -50px; top: -50px;
  width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(200,255,3,.22), transparent 60%);
  filter: blur(20px);
  pointer-events: none;
}
.ag-person__pulse {
  position: absolute;
  bottom: 22px; right: 22px;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 10px var(--lime-glow);
  animation: pulseDot 1.6s var(--ease) infinite;
}

/* === Numbers band === */
.ag-num {
  background: #FFFFFF;
  padding-block: clamp(72px, 9vw, 110px);
  border-top: 1px solid var(--line);
}
.ag-num__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--gutter);
}
.ag-num__head { margin-bottom: clamp(28px, 3vw, 40px); }
.ag-num__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--text-2);
  text-transform: uppercase;
}
.ag-num__eyebrow::before {
  content: "";
  width: 36px; height: 1px;
  background: var(--ink);
  display: inline-block;
}

.ag-num__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
}
@media (max-width: 900px) { .ag-num__grid { grid-template-columns: repeat(2, 1fr); } }

.ag-num__cell {
  background: #FFFFFF;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: background .3s var(--ease);
}
.ag-num__cell:hover { background: var(--bg-alt); }
.ag-num__cell strong {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--ink);
}
.ag-num__cell > span {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--text-3);
}
.ag-num__cell--lime {
  background: var(--lime);
}
.ag-num__cell--lime:hover { background: var(--lime); }
.ag-num__cell--lime strong { color: var(--ink); }
.ag-num__cell--lime span { color: rgba(10,10,10,.65); }

/* === Press / Recognition === */
.ag-press {
  background: var(--bg-alt);
  padding-block: clamp(72px, 9vw, 110px);
  border-top: 1px solid var(--line);
}
.ag-press__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--gutter);
}
.ag-press__head { margin-bottom: clamp(28px, 3vw, 40px); }
.ag-press__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--text-2);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.ag-press__eyebrow::before {
  content: "";
  width: 36px; height: 1px;
  background: var(--ink);
  display: inline-block;
}
.ag-press__h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  font-weight: 500;
  margin: 0;
  color: var(--ink);
}

.ag-press__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
}
@media (max-width: 1000px) { .ag-press__grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px)  { .ag-press__grid { grid-template-columns: repeat(2, 1fr); } }

.ag-press__grid li {
  background: #FFFFFF;
  padding: 24px 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-start;
  transition: background .3s var(--ease);
}
.ag-press__grid li:hover { background: var(--bg-alt); }
.ag-press__grid li span {
  font-family: var(--font-display);
  font-size: clamp(15px, 1.3vw, 17px);
  font-weight: 600;
  letter-spacing: -0.012em;
  color: var(--ink);
}
.ag-press__grid li small {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--text-3);
}

/* === Careers CTA card === */
.ag-careers {
  background: #FFFFFF;
  padding-block: clamp(72px, 9vw, 130px);
  border-top: 1px solid var(--line);
}
.ag-careers__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.ag-careers__card {
  background: var(--ink);
  color: #F4F4F4;
  border-radius: 24px;
  padding: clamp(36px, 4.5vw, 64px);
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
@media (max-width: 900px) { .ag-careers__card { grid-template-columns: 1fr; gap: 40px; } }

.ag-careers__card::after {
  content: "";
  position: absolute;
  right: -120px; top: -120px;
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(200,255,3,.18), transparent 60%);
  filter: blur(50px);
  pointer-events: none;
}
.ag-careers__card > * { position: relative; z-index: 1; }

.ag-careers__tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 12px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--r-pill);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .04em;
  color: rgba(255,255,255,.7);
  text-transform: uppercase;
  margin-bottom: 22px;
}
.ag-careers__tag .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 10px var(--lime-glow);
  animation: pulseDot 1.8s var(--ease) infinite;
}

.ag-careers__h {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.4vw, 56px);
  line-height: 1.0;
  letter-spacing: -0.035em;
  font-weight: 500;
  margin: 0 0 18px;
  color: #F4F4F4;
  text-wrap: balance;
}
.ag-careers__h em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--lime);
}

.ag-careers__p {
  font-size: 15.5px;
  line-height: 1.6;
  color: rgba(255,255,255,.7);
  margin: 0 0 28px;
  max-width: 48ch;
}

.ag-careers__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  background: var(--lime);
  color: var(--ink);
  border-radius: var(--r-pill);
  font-family: var(--font-display);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: -0.005em;
  transition: background .25s var(--ease), transform .2s var(--ease);
}
.ag-careers__btn:hover { background: #B8EB1A; transform: translateY(-1px); }
.ag-careers__btn svg { transition: transform .35s var(--ease); }
.ag-careers__btn:hover svg { transform: translate(2px, -2px); }

.ag-careers__roles {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: rgba(255,255,255,.10);
  border-radius: 16px;
  overflow: hidden;
}
.ag-careers__roles li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  background: rgba(255,255,255,.03);
  cursor: pointer;
  transition: background .25s var(--ease);
}
.ag-careers__roles li:hover { background: rgba(255,255,255,.08); }
.ag-careers__roles strong {
  display: block;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: #F4F4F4;
  letter-spacing: -0.005em;
  margin-bottom: 2px;
}
.ag-careers__roles small {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .03em;
  color: rgba(255,255,255,.55);
}
.ag-careers__roles li > span {
  font-size: 18px;
  color: rgba(255,255,255,.45);
  transition: color .25s var(--ease), transform .25s var(--ease);
}
.ag-careers__roles li:hover > span {
  color: var(--lime);
  transform: translateX(4px);
}

/* =============================================================
   AGENCY · Process (vertical timeline)
   ============================================================= */

.ag-proc {
  background: #FFFFFF;
  padding-block: clamp(72px, 9vw, 130px);
  border-top: 1px solid var(--line);
}
.ag-proc__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.ag-proc__head {
  max-width: 820px;
  margin-bottom: clamp(40px, 5vw, 72px);
}
.ag-proc__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--text-2);
  text-transform: uppercase;
  margin-bottom: 18px;
}
.ag-proc__eyebrow::before {
  content: "";
  width: 36px; height: 1px;
  background: var(--ink);
  display: inline-block;
}
.ag-proc__h2 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-weight: 500;
  margin: 0 0 16px;
  color: var(--ink);
  text-wrap: balance;
}
.ag-proc__h2 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--text-2);
}
.ag-proc__lead {
  font-size: clamp(15px, 1.15vw, 17px);
  color: var(--text-2);
  max-width: 60ch;
  line-height: 1.55;
  margin: 0;
}

/* Vertical timeline */
.ag-proc__timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ag-phase {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: clamp(28px, 3vw, 40px);
  position: relative;
  transition: border-color .35s var(--ease), box-shadow .35s var(--ease), transform .35s var(--ease);
}
.ag-phase:hover {
  border-color: var(--line-2);
  box-shadow: 0 24px 50px -22px rgba(10,10,10,.10);
}
@media (max-width: 800px) {
  .ag-phase { grid-template-columns: 1fr; gap: 8px; padding: 28px 24px; }
}

.ag-phase__lead {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}

.ag-phase__num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(72px, 8vw, 120px);
  font-weight: 400;
  color: var(--ink);
  line-height: 0.85;
  letter-spacing: -0.05em;
  position: relative;
  display: inline-block;
}
.ag-phase__num::after {
  content: "";
  position: absolute;
  left: -6px; right: -6px; bottom: 6px;
  height: 0.16em;
  background: var(--lime);
  z-index: -1;
}

.ag-phase__when {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 6px 12px;
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  color: var(--text-2);
}

.ag-phase__body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 12px;
}
@media (max-width: 800px) { .ag-phase__body { padding-top: 0; } }

.ag-phase__h {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.8vw, 38px);
  line-height: 1.05;
  letter-spacing: -0.028em;
  font-weight: 600;
  margin: 0;
  color: var(--ink);
  text-wrap: balance;
}
.ag-phase__h em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--text-2);
}

.ag-phase__p {
  font-size: 15.5px;
  color: var(--text-2);
  line-height: 1.6;
  margin: 0;
  max-width: 60ch;
}

/* Deliverables row — 3 small cards */
.ag-phase__deliv {
  list-style: none;
  margin: 18px 0 0;
  padding: 22px 0 0;
  border-top: 1px dashed var(--line-2);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
@media (max-width: 760px) { .ag-phase__deliv { grid-template-columns: 1fr; } }

.ag-phase__deliv li {
  position: relative;
  padding: 14px 16px 14px 32px;
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.ag-phase__deliv li::before {
  content: "";
  position: absolute;
  left: 14px; top: 19px;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 8px var(--lime-glow);
}
.ag-phase__deliv strong {
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--ink);
  line-height: 1.2;
}
.ag-phase__deliv span {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .02em;
  color: var(--text-3);
  line-height: 1.4;
}

/* Phase 04 — dark anchor */
.ag-phase--ink {
  background: var(--ink);
  color: #F4F4F4;
  border-color: transparent;
  position: relative;
  overflow: hidden;
}
.ag-phase--ink::after {
  content: "";
  position: absolute;
  right: -120px; top: -120px;
  width: 460px; height: 460px;
  background: radial-gradient(circle, rgba(200,255,3,.18), transparent 60%);
  filter: blur(50px);
  pointer-events: none;
}
.ag-phase--ink > * { position: relative; z-index: 1; }
.ag-phase--ink .ag-phase__num { color: var(--lime); }
.ag-phase--ink .ag-phase__num::after { background: rgba(200,255,3,.20); }
.ag-phase--ink .ag-phase__when {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.14);
  color: rgba(255,255,255,.78);
}
.ag-phase--ink .ag-phase__h { color: #F4F4F4; }
.ag-phase--ink .ag-phase__h em { color: var(--lime); font-style: normal; }
.ag-phase--ink .ag-phase__p { color: rgba(255,255,255,.72); }
.ag-phase--ink .ag-phase__deliv { border-top-color: rgba(255,255,255,.18); }
.ag-phase--ink .ag-phase__deliv li {
  background: rgba(255,255,255,.04);
  border-color: rgba(255,255,255,.10);
}
.ag-phase--ink .ag-phase__deliv strong { color: #F4F4F4; }
.ag-phase--ink .ag-phase__deliv span { color: rgba(255,255,255,.6); }

/* =============================================================
   SEO PAGE
   ============================================================= */

/* === Page hero === */
.seo-hero {
  background: #FFFFFF;
  padding-block: clamp(48px, 6vw, 80px) clamp(60px, 7vw, 110px);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.seo-hero__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.seo-hero__crumb {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--text-3);
  text-transform: uppercase;
  margin-bottom: 32px;
}
.seo-hero__crumb a { color: var(--text-3); transition: color .2s var(--ease); }
.seo-hero__crumb a:hover { color: var(--ink); }
.seo-hero__crumb-sep { opacity: .4; }
.seo-hero__crumb > span:last-child { color: var(--ink); font-weight: 500; }

.seo-hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
@media (max-width: 1000px) { .seo-hero__grid { grid-template-columns: 1fr; } }

.seo-hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--bg-alt);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--text-2);
  text-transform: uppercase;
  margin-bottom: 28px;
}
.seo-hero__tag .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 10px var(--lime-glow);
  animation: pulseDot 1.8s var(--ease) infinite;
}

.seo-hero__h1 {
  font-family: var(--font-display);
  font-size: clamp(44px, 6.4vw, 96px);
  line-height: 0.96;
  letter-spacing: -0.04em;
  font-weight: 500;
  margin: 0 0 24px;
  color: var(--ink);
  text-wrap: balance;
}
.seo-hero__h1 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--text-2);
  display: block;
}

.seo-hero__lead {
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.55;
  color: var(--text-2);
  max-width: 50ch;
  margin: 0 0 32px;
}
.seo-hero__lead strong { color: var(--ink); font-weight: 600; }

.seo-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}
.seo-hero__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: var(--r-pill);
  font-family: var(--font-display);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: -0.005em;
  transition: background .25s var(--ease), color .25s var(--ease), transform .2s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.seo-hero__btn--ink {
  background: var(--ink);
  color: #FFFFFF;
}
.seo-hero__btn--ink:hover {
  background: var(--ink-2);
  transform: translateY(-1px);
  box-shadow: 0 12px 28px -10px rgba(10,10,10,.35);
}
.seo-hero__btn--ink svg { transition: transform .35s var(--ease); }
.seo-hero__btn--ink:hover svg { transform: translate(2px, -2px); }
.seo-hero__btn--ghost {
  border: 1px solid var(--line-2);
  color: var(--ink);
}
.seo-hero__btn--ghost:hover { background: var(--bg-alt); border-color: var(--ink); }

.seo-hero__stats {
  list-style: none;
  margin: 0;
  padding: 28px 0 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 540px;
}
@media (max-width: 600px) { .seo-hero__stats { grid-template-columns: 1fr; gap: 18px; } }
.seo-hero__stats li {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.seo-hero__stats strong {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 44px);
  white-space: nowrap;
  font-weight: 600;
  letter-spacing: -0.04em;
  color: var(--ink);
  line-height: 1;
}
/* Word-based stats (e.g. "WCAG AA") need slightly smaller font so multi-word
   text fits in the column width without overflowing. */
.seo-hero__stats strong.is-word {
  font-size: clamp(22px, 2.6vw, 32px);
  letter-spacing: -0.02em;
}
/* Direct-child selector: only the descriptor span (not the .counter nested in strong) */
.seo-hero__stats > li > span {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--text-3);
}
/* Belt-and-suspenders: counter span inside <strong> always inherits from <strong>.
   Prevents the inheritance bug where a parent's "span" rule accidentally hits
   .counter and renders the number tiny when the strong has trailing text after it. */
strong .counter {
  font: inherit;
  letter-spacing: inherit;
  text-transform: none;
  color: inherit;
}

/* Hero visual: floating SERP + LLM cards over a grid bg */
.seo-hero__visual {
  position: relative;
  aspect-ratio: 5 / 4;
  min-height: 360px;
}
@media (max-width: 1000px) { .seo-hero__visual { aspect-ratio: 5 / 3; min-height: 320px; } }

.seo-hero__grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(10,10,10,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10,10,10,.04) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000 30%, transparent 80%);
  pointer-events: none;
}

.serp-card {
  position: absolute;
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 24px 50px -22px rgba(10,10,10,.18);
  width: 78%;
  font-family: var(--font-body);
  z-index: 1;
}
.serp-card--google {
  top: 0;
  left: 0;
  animation: floatA 6s ease-in-out infinite;
}
.serp-card--llm {
  bottom: 0;
  right: 0;
  background: var(--ink);
  color: #F4F4F4;
  border-color: transparent;
  z-index: 2;
  animation: floatB 6s ease-in-out infinite;
}
@keyframes floatA {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-6px); }
}
@keyframes floatB {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(6px); }
}

.serp-card__head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--text-3);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 14px;
}
.serp-card--llm .serp-card__head {
  color: rgba(255,255,255,.5);
  border-bottom-color: rgba(255,255,255,.10);
}
.serp-card__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--text-3);
}
.serp-card__dot--lime {
  background: var(--lime);
  box-shadow: 0 0 8px var(--lime-glow);
}

.serp-card__rank {
  position: absolute;
  top: -10px; right: -10px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--ink);
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
  border: 3px solid #FFFFFF;
}

.serp-row { margin-bottom: 12px; }
.serp-row--first {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.serp-row__url {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: #1f9d55;
  letter-spacing: -0.005em;
}
.serp-row__title {
  font-size: 14.5px;
  color: #1a0dab;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.3;
}
.serp-row__desc {
  font-size: 12px;
  color: var(--text-2);
  line-height: 1.45;
}
.serp-row__bar {
  display: block;
  width: 100%;
  height: 8px;
  background: var(--bg-alt);
  border-radius: 3px;
  margin-bottom: 6px;
}
.serp-row__bar--short { width: 60%; }

.serp-card__answer {
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255,255,255,.85);
  margin: 0 0 12px;
}
.serp-card__hl {
  background: var(--lime);
  color: var(--ink);
  padding: 1px 5px;
  border-radius: 4px;
  font-weight: 600;
}
.serp-card__cite {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: rgba(255,255,255,.06);
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(255,255,255,.7);
}
.serp-card__cite-num {
  color: var(--lime);
  font-weight: 600;
}

/* === Dual-SEO comparison === */
.seo-dual {
  background: var(--bg-alt);
  padding-block: clamp(72px, 9vw, 130px);
  border-top: 1px solid var(--line);
}
.seo-dual__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.seo-dual__head { max-width: 820px; margin-bottom: clamp(40px, 5vw, 64px); }
.seo-dual__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--text-2);
  text-transform: uppercase;
  margin-bottom: 18px;
}
.seo-dual__eyebrow::before {
  content: "";
  width: 36px; height: 1px;
  background: var(--ink);
  display: inline-block;
}
.seo-dual__h2 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-weight: 500;
  margin: 0 0 16px;
  color: var(--ink);
  text-wrap: balance;
}
.seo-dual__h2 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--text-2);
}
.seo-dual__lead {
  font-size: clamp(15px, 1.15vw, 17px);
  color: var(--text-2);
  max-width: 64ch;
  line-height: 1.55;
  margin: 0;
}
.seo-dual__lead strong { color: var(--ink); font-weight: 600; }

.seo-dual__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 800px) { .seo-dual__cols { grid-template-columns: 1fr; } }

.seo-dual__col {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: clamp(28px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform .35s var(--ease), border-color .35s var(--ease);
}
.seo-dual__col:hover { transform: translateY(-3px); border-color: var(--line-2); }

.seo-dual__col-tag {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .04em;
  color: var(--text-3);
  text-transform: uppercase;
  padding: 4px 10px;
  background: var(--bg-alt);
  border-radius: var(--r-pill);
  align-self: flex-start;
}
.seo-dual__col-h {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 600;
  letter-spacing: -0.025em;
  margin: 0;
  color: var(--ink);
  line-height: 1.15;
}
.seo-dual__col-p { font-size: 14.5px; color: var(--text-2); line-height: 1.6; margin: 0; }
.seo-dual__col-p strong { color: var(--ink); font-weight: 600; }

.seo-dual__col-list {
  list-style: none;
  margin: 12px 0 0;
  padding: 18px 0 0;
  border-top: 1px dashed var(--line-2);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.seo-dual__col-list li {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 14px;
  font-size: 13.5px;
  color: var(--text-2);
}
.seo-dual__col-list strong {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--text-3);
  font-weight: 500;
  padding-top: 2px;
}

.seo-dual__col--lime {
  background: var(--lime);
  border-color: var(--lime);
}
.seo-dual__col--lime .seo-dual__col-tag { background: rgba(10,10,10,.10); color: var(--ink); }
.seo-dual__col--lime .seo-dual__col-list { border-top-color: rgba(10,10,10,.18); }
.seo-dual__col--lime .seo-dual__col-list strong { color: rgba(10,10,10,.55); }
.seo-dual__col--lime .seo-dual__col-list li { color: var(--ink); }

.seo-dual__note {
  margin: clamp(28px, 4vw, 48px) 0 0;
  padding: 18px 24px;
  background: var(--ink);
  color: #F4F4F4;
  border-radius: var(--r-pill);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
}
.seo-dual__note-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 10px var(--lime-glow);
  flex-shrink: 0;
  animation: pulseDot 1.8s var(--ease) infinite;
}

/* === Deliverables bento === */
.seo-deliv {
  background: #FFFFFF;
  padding-block: clamp(72px, 9vw, 130px);
  border-top: 1px solid var(--line);
}
.seo-deliv__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--gutter);
}
.seo-deliv__head { max-width: 820px; margin-bottom: clamp(40px, 5vw, 64px); }
.seo-deliv__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--text-2);
  text-transform: uppercase;
  margin-bottom: 18px;
}
.seo-deliv__eyebrow::before {
  content: "";
  width: 36px; height: 1px;
  background: var(--ink);
  display: inline-block;
}
.seo-deliv__h2 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-weight: 500;
  margin: 0 0 16px;
  color: var(--ink);
  text-wrap: balance;
}
.seo-deliv__h2 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--text-2);
}
.seo-deliv__lead { font-size: clamp(15px, 1.15vw, 17px); color: var(--text-2); max-width: 60ch; line-height: 1.55; margin: 0; }

.seo-deliv__bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 12px;
}

.seo-tile {
  --col: span 4;
  grid-column: var(--col);
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 28px;
  text-decoration: none;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  overflow: hidden;
  min-height: 260px;
  transition: transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
}
.seo-tile:hover {
  transform: translateY(-4px);
  border-color: var(--line-2);
  box-shadow: 0 24px 50px -22px rgba(10,10,10,.12);
}
.seo-tile--feat { --col: span 6; min-height: 360px; }
@media (max-width: 1000px) { .seo-tile, .seo-tile--feat { --col: span 6; } }
@media (max-width: 600px)  { .seo-tile, .seo-tile--feat { --col: span 12; } }

.seo-tile__num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .06em;
  color: var(--text-3);
  text-transform: uppercase;
}
.seo-tile__icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: #FFFFFF;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--ink);
  transition: background .25s var(--ease), color .25s var(--ease), transform .35s var(--ease);
}
.seo-tile__icon svg { width: 20px; height: 20px; }
.seo-tile:hover .seo-tile__icon {
  background: var(--lime);
  border-color: var(--lime);
  transform: rotate(-4deg) scale(1.04);
}
.seo-tile__h {
  font-family: var(--font-display);
  font-size: clamp(20px, 1.9vw, 26px);
  font-weight: 600;
  letter-spacing: -0.022em;
  line-height: 1.15;
  margin: 0;
  text-wrap: balance;
}
.seo-tile__p { font-size: 14px; color: var(--text-2); line-height: 1.55; margin: 0; flex: 1; }

.seo-tile__chips {
  list-style: none;
  margin: 8px 0 0;
  padding: 14px 0 0;
  border-top: 1px dashed var(--line-2);
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.seo-tile__chips li {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .03em;
  padding: 5px 10px;
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  color: var(--text-2);
}

/* Tile variants */
.seo-tile--ink {
  background: var(--ink);
  color: #F4F4F4;
  border-color: transparent;
  position: relative;
}
.seo-tile--ink::after {
  content: "";
  position: absolute;
  right: -50px; top: -50px;
  width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(200,255,3,.18), transparent 60%);
  filter: blur(20px);
  pointer-events: none;
}
.seo-tile--ink > * { position: relative; z-index: 1; }
.seo-tile--ink .seo-tile__num { color: rgba(255,255,255,.5); }
.seo-tile--ink .seo-tile__icon {
  background: var(--lime);
  border-color: transparent;
  color: var(--ink);
}
.seo-tile--ink:hover .seo-tile__icon { background: #FFFFFF; }
.seo-tile--ink .seo-tile__p { color: rgba(255,255,255,.7); }
.seo-tile--ink .seo-tile__chips { border-top-color: rgba(255,255,255,.18); }
.seo-tile--ink .seo-tile__chips li {
  background: rgba(255,255,255,.04);
  border-color: rgba(255,255,255,.12);
  color: rgba(255,255,255,.78);
}

.seo-tile--lime {
  background: var(--lime);
  border-color: var(--lime);
}
.seo-tile--lime .seo-tile__num { color: rgba(10,10,10,.55); }
.seo-tile--lime .seo-tile__icon { background: var(--ink); color: var(--lime); border-color: transparent; }
.seo-tile--lime:hover .seo-tile__icon { background: #FFFFFF; color: var(--ink); }
.seo-tile--lime .seo-tile__p { color: rgba(10,10,10,.75); }

/* === Process steps (4-col) === */
.seo-proc {
  background: var(--bg-alt);
  padding-block: clamp(72px, 9vw, 130px);
  border-top: 1px solid var(--line);
}
.seo-proc__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--gutter);
}
.seo-proc__head { max-width: 820px; margin-bottom: clamp(40px, 5vw, 64px); }
.seo-proc__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--text-2);
  text-transform: uppercase;
  margin-bottom: 18px;
}
.seo-proc__eyebrow::before { content: ""; width: 36px; height: 1px; background: var(--ink); display: inline-block; }
.seo-proc__h2 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-weight: 500;
  margin: 0 0 16px;
  color: var(--ink);
  text-wrap: balance;
}
.seo-proc__h2 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--text-2);
}
.seo-proc__lead { font-size: clamp(15px, 1.15vw, 17px); color: var(--text-2); max-width: 60ch; line-height: 1.55; margin: 0; }

.seo-proc__steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
@media (max-width: 1000px) { .seo-proc__steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .seo-proc__steps { grid-template-columns: 1fr; } }

.seo-step {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  min-height: 240px;
  transition: transform .35s var(--ease), border-color .35s var(--ease);
}
.seo-step:hover { transform: translateY(-3px); border-color: var(--line-2); }

.seo-step__when {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-2);
  padding: 5px 11px;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  align-self: flex-start;
}
.seo-step__num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(48px, 5vw, 64px);
  font-weight: 400;
  color: var(--ink);
  line-height: 0.9;
  letter-spacing: -0.04em;
  position: relative;
  display: inline-block;
}
.seo-step__num::after {
  content: "";
  position: absolute;
  left: -4px; right: -4px; bottom: 4px;
  height: 0.18em;
  background: var(--lime);
  z-index: -1;
}
.seo-step__h {
  font-family: var(--font-display);
  font-size: clamp(20px, 2vw, 24px);
  font-weight: 600;
  letter-spacing: -0.022em;
  margin: 0;
  color: var(--ink);
}
.seo-step p { font-size: 14px; color: var(--text-2); line-height: 1.55; margin: 0; }

.seo-step--ink {
  background: var(--ink);
  color: #F4F4F4;
  border-color: transparent;
  position: relative;
  overflow: hidden;
}
.seo-step--ink::after {
  content: "";
  position: absolute;
  right: -50px; top: -50px;
  width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(200,255,3,.18), transparent 60%);
  filter: blur(20px);
}
.seo-step--ink > * { position: relative; z-index: 1; }
.seo-step--ink .seo-step__when {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.12);
  color: rgba(255,255,255,.7);
}
.seo-step--ink .seo-step__num { color: var(--lime); }
.seo-step--ink .seo-step__h { color: #F4F4F4; }
.seo-step--ink p { color: rgba(255,255,255,.7); }

/* === Stack === */
.seo-stack {
  background: #FFFFFF;
  padding-block: clamp(72px, 9vw, 110px);
  border-top: 1px solid var(--line);
}
.seo-stack__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--gutter);
}
.seo-stack__head { max-width: 820px; margin-bottom: clamp(36px, 4vw, 56px); }
.seo-stack__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--text-2);
  text-transform: uppercase;
  margin-bottom: 18px;
}
.seo-stack__eyebrow::before { content: ""; width: 36px; height: 1px; background: var(--ink); display: inline-block; }
.seo-stack__h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.4vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-weight: 500;
  margin: 0 0 14px;
  color: var(--ink);
}
.seo-stack__h2 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--text-2);
}
.seo-stack__lead { font-size: 15.5px; color: var(--text-2); max-width: 60ch; line-height: 1.55; margin: 0; }

.seo-stack__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
}
@media (max-width: 800px) { .seo-stack__grid { grid-template-columns: repeat(2, 1fr); } }

.seo-stack__group {
  background: #FFFFFF;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: background .25s var(--ease);
}
.seo-stack__group:hover { background: var(--bg-alt); }
.seo-stack__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .06em;
  color: var(--text-3);
  text-transform: uppercase;
}
.seo-stack__group ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.seo-stack__group li {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.012em;
  color: var(--ink);
}
.seo-stack__group--lime { background: var(--lime); }
.seo-stack__group--lime:hover { background: var(--lime); }
.seo-stack__group--lime .seo-stack__label { color: rgba(10,10,10,.6); }

/* === Selected SEO work === */
.seo-work {
  background: var(--bg-alt);
  padding-block: clamp(72px, 9vw, 130px);
  border-top: 1px solid var(--line);
}
.seo-work__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--gutter);
}
.seo-work__head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: clamp(36px, 5vw, 56px);
}
.seo-work__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--text-2);
  text-transform: uppercase;
  margin-bottom: 18px;
}
.seo-work__eyebrow::before { content: ""; width: 36px; height: 1px; background: var(--ink); display: inline-block; }
.seo-work__h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.4vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-weight: 500;
  margin: 0;
  color: var(--ink);
}
.seo-work__h2 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--text-2);
}
.seo-work__view-all {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 22px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-pill);
  background: #FFFFFF;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .2s var(--ease);
}
.seo-work__view-all:hover {
  background: var(--ink);
  color: #FFFFFF;
  border-color: var(--ink);
  transform: translateY(-1px);
}
.seo-work__view-all svg { transition: transform .35s var(--ease); }
.seo-work__view-all:hover svg { transform: translate(2px, -2px); }

.seo-work__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 16px;
}
@media (max-width: 1000px) { .seo-work__grid { grid-template-columns: 1fr; } }

.seo-case {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 28px;
  text-decoration: none;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 320px;
  position: relative;
  overflow: hidden;
  transition: transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
}
.seo-case:hover {
  transform: translateY(-4px);
  border-color: var(--line-2);
  box-shadow: 0 24px 50px -22px rgba(10,10,10,.12);
}

.seo-case__tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--text-3);
  align-self: flex-start;
  padding: 4px 10px;
  background: var(--bg-alt);
  border-radius: var(--r-pill);
}
/* Word-based metrics (e.g. "Compound", "Cited", "Live") need a smaller font
   to fit the card without overflowing the way short numbers do. */
.seo-case__metric--word {
  font-size: clamp(28px, 3vw, 42px) !important;
  letter-spacing: -.025em !important;
  line-height: 1.05 !important;
}
.seo-case__metric {
  font-family: var(--font-display);
  font-size: clamp(48px, 5.2vw, 76px);
  font-weight: 600;
  letter-spacing: -0.045em;
  color: var(--ink);
  line-height: 0.95;
  margin-top: 12px;
}
.seo-case__metric small { font-size: 0.5em; font-weight: 600; }
.seo-case__metric-label {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .04em;
  color: var(--text-3);
  text-transform: uppercase;
}
.seo-case__h {
  font-family: var(--font-display);
  font-size: clamp(20px, 1.8vw, 24px);
  font-weight: 600;
  letter-spacing: -0.022em;
  margin: 18px 0 0;
  padding-top: 20px;
  border-top: 1px dashed var(--line-2);
  color: var(--ink);
}
.seo-case__p { font-size: 14px; color: var(--text-2); line-height: 1.55; margin: 0; flex: 1; }
.seo-case__cta {
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  margin-top: auto;
  padding-top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.seo-case__cta span {
  display: inline-block;
  transition: transform .35s var(--ease);
}
.seo-case:hover .seo-case__cta span { transform: translateX(4px); }

.seo-case--feat { grid-column: span 1; }
@media (max-width: 1000px) { .seo-case--feat { grid-column: 1 / -1; } }

.seo-case--ink {
  background: var(--ink);
  color: #F4F4F4;
  border-color: transparent;
}
.seo-case--ink::after {
  content: "";
  position: absolute;
  right: -50px; top: -50px;
  width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(200,255,3,.18), transparent 60%);
  filter: blur(20px);
  pointer-events: none;
}
.seo-case--ink > * { position: relative; z-index: 1; }
.seo-case--ink .seo-case__tag { background: rgba(255,255,255,.06); color: rgba(255,255,255,.75); }
.seo-case--ink .seo-case__metric { color: var(--lime); }
.seo-case--ink .seo-case__metric-label { color: rgba(255,255,255,.6); }
.seo-case--ink .seo-case__h { color: #F4F4F4; border-top-color: rgba(255,255,255,.18); }
.seo-case--ink .seo-case__p { color: rgba(255,255,255,.7); }
.seo-case--ink .seo-case__cta { color: var(--lime); }

/* === Engagement card === */
.seo-eng {
  background: #FFFFFF;
  padding-block: clamp(72px, 9vw, 130px);
  border-top: 1px solid var(--line);
}
.seo-eng__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--gutter);
}
.seo-eng__card {
  background: var(--ink);
  color: #F4F4F4;
  border-radius: 24px;
  padding: clamp(36px, 4.5vw, 56px);
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
@media (max-width: 1000px) { .seo-eng__card { grid-template-columns: 1fr; } }
.seo-eng__card::after {
  content: "";
  position: absolute;
  right: -120px; top: -120px;
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(200,255,3,.18), transparent 60%);
  filter: blur(50px);
  pointer-events: none;
}
.seo-eng__card > * { position: relative; z-index: 1; }

.seo-eng__tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 12px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--r-pill);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .04em;
  color: rgba(255,255,255,.7);
  text-transform: uppercase;
  margin-bottom: 22px;
}
.seo-eng__tag .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 10px var(--lime-glow);
  animation: pulseDot 1.8s var(--ease) infinite;
}

.seo-eng__h {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.6vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 500;
  margin: 0 0 16px;
  color: #F4F4F4;
  text-wrap: balance;
}
.seo-eng__h em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--lime);
}
.seo-eng__p {
  font-size: 15px;
  color: rgba(255,255,255,.7);
  line-height: 1.6;
  margin: 0 0 28px;
  max-width: 46ch;
}
.seo-eng__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  background: var(--lime);
  color: var(--ink);
  border-radius: var(--r-pill);
  font-family: var(--font-display);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: -0.005em;
  transition: background .25s var(--ease), transform .2s var(--ease);
}
.seo-eng__btn:hover { background: #B8EB1A; transform: translateY(-1px); }
.seo-eng__btn svg { transition: transform .35s var(--ease); }
.seo-eng__btn:hover svg { transform: translate(2px, -2px); }

.seo-eng__plans {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 600px) { .seo-eng__plans { grid-template-columns: 1fr; } }

.seo-plan {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: background .25s var(--ease), border-color .25s var(--ease);
}
.seo-plan:hover { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.18); }
.seo-plan header {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-bottom: 14px;
  border-bottom: 1px dashed rgba(255,255,255,.18);
}
.seo-plan__tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
}
.seo-plan__price {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 600;
  letter-spacing: -0.025em;
  color: #F4F4F4;
}
.seo-plan ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.seo-plan li {
  position: relative;
  padding-left: 22px;
  font-size: 13px;
  color: rgba(255,255,255,.78);
  line-height: 1.4;
}
.seo-plan li::before {
  content: "";
  position: absolute;
  left: 0; top: 6px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 8px var(--lime-glow);
}
.seo-plan__foot {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px dashed rgba(255,255,255,.18);
}
.seo-plan--feat {
  background: var(--lime);
  border-color: var(--lime);
}
.seo-plan--feat:hover { background: #B8EB1A; border-color: #B8EB1A; }
.seo-plan--feat header { border-bottom-color: rgba(10,10,10,.18); }
.seo-plan--feat .seo-plan__tag { color: rgba(10,10,10,.6); }
.seo-plan--feat .seo-plan__price { color: var(--ink); }
.seo-plan--feat li { color: rgba(10,10,10,.78); }
.seo-plan--feat li::before { background: var(--ink); box-shadow: none; }
.seo-plan--feat .seo-plan__foot { color: rgba(10,10,10,.6); border-top-color: rgba(10,10,10,.18); }

/* =============================================================
   GOOGLE ADS PAGE · hero visual
   ============================================================= */

.ads-visual { position: relative; }

/* Campaign performance card (top-left) */
.ads-perf {
  position: absolute;
  top: 0; left: 0;
  width: 78%;
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 24px 50px -22px rgba(10,10,10,.18);
  z-index: 1;
  font-family: var(--font-body);
  animation: floatA 6s ease-in-out infinite;
}

.ads-perf__head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 14px;
}
.ads-perf__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 8px var(--lime-glow);
  animation: pulseDot 1.6s var(--ease) infinite;
}
.ads-perf__name {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.005em;
  flex: 1;
}
.ads-perf__pill {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: var(--r-pill);
  background: rgba(31, 157, 85, 0.12);
  color: #1f9d55;
  font-weight: 600;
}

.ads-perf__metric {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-bottom: 12px;
}
.ads-perf__label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--text-3);
}
.ads-perf__value {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 600;
  letter-spacing: -0.04em;
  color: var(--ink);
  line-height: 1;
}
.ads-perf__value small { font-size: 0.55em; font-weight: 600; }
.ads-perf__delta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .02em;
  color: #1f9d55;
}

.ads-perf__chart {
  height: 60px;
  margin-bottom: 12px;
}
.ads-perf__chart svg { width: 100%; height: 100%; }

.ads-perf__row {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px dashed var(--line-2);
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--text-3);
  letter-spacing: .02em;
}
.ads-perf__row span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.ads-perf__row strong {
  color: var(--ink);
  font-weight: 600;
}
.ads-perf__row i {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--text-3);
  display: inline-block;
}

/* Creative variants card (bottom-right) */
.ads-variants {
  position: absolute;
  bottom: 0; right: 0;
  width: 80%;
  background: var(--ink);
  color: #F4F4F4;
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 24px 50px -22px rgba(10,10,10,.30);
  z-index: 2;
  font-family: var(--font-body);
  animation: floatB 6s ease-in-out infinite;
}

.ads-variants__head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,.10);
  margin-bottom: 12px;
}
.ads-variants__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 8px var(--lime-glow);
  animation: pulseDot 1.6s var(--ease) infinite;
}
.ads-variants__name {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
}

.ads-variants__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ads-variants__row {
  display: grid;
  grid-template-columns: 22px 1fr 60px;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  background: rgba(255,255,255,.04);
  border-radius: 8px;
  position: relative;
}
.ads-variants__num {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,.5);
  text-align: center;
}
.ads-variants__copy {
  font-size: 12px;
  color: rgba(255,255,255,.78);
  letter-spacing: -0.005em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ads-variants__bar {
  position: relative;
  height: 6px;
  background: rgba(255,255,255,.08);
  border-radius: 100px;
  overflow: hidden;
}
.ads-variants__bar i {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: var(--w);
  background: rgba(255,255,255,.4);
  border-radius: 100px;
  animation: barfill 1.4s var(--ease-out) forwards;
}
@keyframes barfill {
  from { width: 0; }
}

.ads-variants__row--win {
  background: var(--lime);
  color: var(--ink);
}
.ads-variants__row--win .ads-variants__num { color: rgba(10,10,10,.6); }
.ads-variants__row--win .ads-variants__copy { color: var(--ink); font-weight: 500; }
.ads-variants__row--win .ads-variants__bar { background: rgba(10,10,10,.08); }
.ads-variants__row--win .ads-variants__bar i { background: var(--ink); }
.ads-variants__win {
  position: absolute;
  top: -8px; right: -8px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 3px 7px;
  background: var(--ink);
  color: var(--lime);
  border-radius: var(--r-pill);
  border: 2px solid var(--bg);
}

/* =============================================================
   AEO PAGE · hero visual
   ============================================================= */

.aeo-visual { position: relative; }

/* LLM answer card (top-left) */
.aeo-answer {
  position: absolute;
  top: 0; left: 0;
  width: 76%;
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 24px 50px -22px rgba(10,10,10,.18);
  z-index: 1;
  font-family: var(--font-body);
  animation: floatA 6s ease-in-out infinite;
}

.aeo-answer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 14px;
}
.aeo-answer__brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.aeo-answer__brand svg { color: var(--text-2); }
.aeo-answer__pill {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: var(--r-pill);
  background: var(--lime);
  color: var(--ink);
  font-weight: 700;
}

.aeo-answer__query,
.aeo-answer__a {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 14px;
}
.aeo-answer__q-label,
.aeo-answer__a-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--text-3);
}
.aeo-answer__q-text {
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink);
  margin: 0;
  line-height: 1.35;
  letter-spacing: -0.005em;
}
.aeo-answer__a-text {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.55;
  margin: 0;
}
.aeo-answer__hl {
  background: var(--lime);
  color: var(--ink);
  padding: 1px 5px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 13px;
}

.aeo-answer__sources {
  padding-top: 12px;
  border-top: 1px dashed var(--line-2);
}
.aeo-answer__src-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 8px;
}
.aeo-answer__sources ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.aeo-answer__sources li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px 5px 4px;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-2);
}
.aeo-answer__src-num {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--lime);
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 700;
}

/* Citation share tracker (bottom-right) */
.aeo-tracker {
  position: absolute;
  bottom: 0; right: 0;
  width: 76%;
  background: var(--ink);
  color: #F4F4F4;
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 24px 50px -22px rgba(10,10,10,.30);
  z-index: 2;
  font-family: var(--font-body);
  animation: floatB 6s ease-in-out infinite;
}

.aeo-tracker__head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,.10);
  margin-bottom: 14px;
}
.aeo-tracker__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 8px var(--lime-glow);
  animation: pulseDot 1.6s var(--ease) infinite;
}
.aeo-tracker__name {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
}

.aeo-tracker__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.aeo-tracker__row {
  display: grid;
  grid-template-columns: 75px 1fr 36px;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  background: rgba(255,255,255,.04);
  border-radius: 10px;
  position: relative;
  transition: background .25s var(--ease);
}
.aeo-tracker__llm {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,.8);
  letter-spacing: -0.005em;
}
.aeo-tracker__bar {
  position: relative;
  height: 6px;
  background: rgba(255,255,255,.08);
  border-radius: 100px;
  overflow: hidden;
}
.aeo-tracker__bar i {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: var(--w);
  background: rgba(255,255,255,.4);
  border-radius: 100px;
  animation: barfill 1.4s var(--ease-out) forwards;
}
.aeo-tracker__val {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,.7);
  text-align: right;
}

.aeo-tracker__row--top {
  background: var(--lime);
  color: var(--ink);
}
.aeo-tracker__row--top .aeo-tracker__llm { color: var(--ink); }
.aeo-tracker__row--top .aeo-tracker__bar { background: rgba(10,10,10,.10); }
.aeo-tracker__row--top .aeo-tracker__bar i { background: var(--ink); }
.aeo-tracker__row--top .aeo-tracker__val { color: var(--ink); }
.aeo-tracker__lead {
  position: absolute;
  top: -8px; right: -8px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 3px 7px;
  background: var(--ink);
  color: var(--lime);
  border-radius: var(--r-pill);
  border: 2px solid var(--bg);
}

/* =============================================================
   META ADS PAGE · hero visual
   ============================================================= */

.meta-visual { position: relative; }

/* Mobile phone mockup (top-left) */
.meta-phone {
  position: absolute;
  top: 0; left: 0;
  width: 44%;
  max-width: 200px;
  aspect-ratio: 9 / 18;
  background: #1A1A1A;
  border-radius: 28px;
  padding: 8px;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.08),
    0 28px 60px -24px rgba(10,10,10,.40);
  z-index: 1;
  font-family: var(--font-body);
  animation: floatA 6s ease-in-out infinite;
}

.meta-phone__notch {
  position: absolute;
  top: 18px; left: 50%;
  transform: translateX(-50%);
  width: 38px; height: 5px;
  background: #0A0A0A;
  border-radius: 100px;
  z-index: 3;
}

.meta-phone__screen {
  width: 100%;
  height: 100%;
  background: #FFFFFF;
  border-radius: 22px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.meta-phone__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px 6px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  color: var(--ink);
}
.meta-phone__icons {
  display: inline-flex;
  gap: 3px;
}
.meta-phone__icons i {
  width: 8px; height: 6px;
  background: var(--ink);
  border-radius: 1px;
  display: inline-block;
}

.meta-phone__app {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 0 8px;
}

.meta-phone__post-head {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 4px;
}
.meta-phone__avatar {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--lime);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  flex-shrink: 0;
}
.meta-phone__author {
  flex: 1;
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  min-width: 0;
}
.meta-phone__author strong {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 600;
  color: var(--ink);
}
.meta-phone__author small {
  font-family: var(--font-body);
  font-size: 8.5px;
  color: var(--text-3);
}
.meta-phone__loc { color: var(--text-2); }
.meta-phone__more {
  font-size: 14px;
  color: var(--text-3);
  line-height: 0.8;
}

.meta-phone__media {
  margin: 4px 0;
  border-radius: 6px;
  overflow: hidden;
  flex: 1;
  min-height: 0;
}
.meta-phone__creative {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 12px;
  background: var(--ink);
  overflow: hidden;
}
.meta-phone__creative-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 30%, rgba(200,255,3,.4), transparent 50%),
    radial-gradient(circle at 70% 70%, rgba(124,92,255,.25), transparent 50%);
}
.meta-phone__creative-tag {
  position: relative;
  z-index: 1;
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 3px 7px;
  border-radius: var(--r-pill);
  background: var(--lime);
  color: var(--ink);
  font-weight: 700;
  align-self: center;
  margin-bottom: 10px;
}
.meta-phone__creative-h {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: #FFFFFF;
  text-align: center;
  text-wrap: balance;
}

.meta-phone__actions {
  display: flex;
  gap: 10px;
  padding: 6px 4px 4px;
  font-size: 12px;
}
.meta-phone__icon {
  font-size: 11px;
  filter: grayscale(.3);
}

.meta-phone__cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 8px;
  margin: 4px 0 8px;
  background: var(--bg-alt);
  border-radius: 8px;
}
.meta-phone__cta-text {
  font-family: var(--font-body);
  font-size: 8.5px;
  font-weight: 500;
  color: var(--ink);
}
.meta-phone__cta-btn {
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: .03em;
  font-weight: 600;
  padding: 3px 8px;
  background: var(--ink);
  color: #FFFFFF;
  border-radius: 100px;
  white-space: nowrap;
}

/* Creative test ranking card (bottom-right) */
.meta-rank {
  position: absolute;
  bottom: 0; right: 0;
  width: 80%;
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 24px 50px -22px rgba(10,10,10,.18);
  z-index: 2;
  font-family: var(--font-body);
  animation: floatB 6s ease-in-out infinite;
}

.meta-rank__head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 12px;
}
.meta-rank__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 8px var(--lime-glow);
  animation: pulseDot 1.6s var(--ease) infinite;
}
.meta-rank__name {
  flex: 1;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--text-2);
}
.meta-rank__pill {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: var(--r-pill);
  background: var(--bg-alt);
  border: 1px solid var(--line);
  color: var(--text-2);
  font-weight: 500;
}

.meta-rank__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.meta-rank__row {
  display: grid;
  grid-template-columns: 32px 1fr 70px;
  align-items: center;
  gap: 10px;
  padding: 8px;
  background: var(--bg-alt);
  border-radius: 10px;
  position: relative;
}

.meta-rank__thumb {
  width: 28px; height: 28px;
  border-radius: 6px;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}
.meta-rank__thumb--a { background: linear-gradient(135deg, #FF6B3D, #C8FF03); }
.meta-rank__thumb--b { background: linear-gradient(135deg, #4F46E5, #7C5CFF); }
.meta-rank__thumb--c { background: linear-gradient(135deg, var(--ink), var(--lime)); }

.meta-rank__meta {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  min-width: 0;
}
.meta-rank__meta strong {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.meta-rank__meta small {
  font-family: var(--font-mono);
  font-size: 9.5px;
  color: var(--text-3);
  letter-spacing: .02em;
}

.meta-rank__bar {
  position: relative;
  height: 5px;
  background: rgba(10,10,10,.06);
  border-radius: 100px;
  overflow: hidden;
}
.meta-rank__bar i {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: var(--w);
  background: var(--text-3);
  border-radius: 100px;
  animation: barfill 1.4s var(--ease-out) forwards;
}

.meta-rank__row--win {
  background: var(--lime);
}
.meta-rank__row--win .meta-rank__meta strong { color: var(--ink); }
.meta-rank__row--win .meta-rank__meta small { color: rgba(10,10,10,.6); }
.meta-rank__row--win .meta-rank__bar { background: rgba(10,10,10,.12); }
.meta-rank__row--win .meta-rank__bar i { background: var(--ink); }
.meta-rank__badge {
  position: absolute;
  top: -8px; right: -8px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 3px 7px;
  background: var(--ink);
  color: var(--lime);
  border-radius: var(--r-pill);
  border: 2px solid var(--bg);
}

/* =============================================================
   WEB DESIGN PAGE · hero visual
   ============================================================= */

.wd-visual { position: relative; }

/* Type specimen card (top-left) */
.wd-type {
  position: absolute;
  top: 0; left: 0;
  width: 50%;
  aspect-ratio: 1 / 1.05;
  background: var(--ink);
  color: #F4F4F4;
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 24px 50px -22px rgba(10,10,10,.30);
  z-index: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: floatA 6s ease-in-out infinite;
}

.wd-type__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
  margin-bottom: 14px;
}
.wd-type__variant { color: var(--lime); }

.wd-type__sample {
  flex: 1;
  position: relative;
  display: grid;
  place-items: center;
  border-top: 1px solid rgba(255,255,255,.10);
  border-bottom: 1px solid rgba(255,255,255,.10);
  margin-bottom: 14px;
  overflow: hidden;
}
.wd-type__char {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(80px, 11vw, 150px);
  font-weight: 600;
  line-height: 0.85;
  color: #F4F4F4;
  letter-spacing: -0.06em;
  position: relative;
  z-index: 1;
}
.wd-type__bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 16px 16px;
  mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, #000 30%, transparent 80%);
  pointer-events: none;
}

.wd-type__weights {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(255,255,255,.4);
}
.wd-type__weights li {
  padding: 3px 7px;
  border-radius: var(--r-pill);
  transition: background .25s var(--ease), color .25s var(--ease);
}
.wd-type__weights--on {
  background: var(--lime);
  color: var(--ink) !important;
  font-weight: 600;
}

/* Brand system spec card (bottom-right) */
.wd-system {
  position: absolute;
  bottom: 0; right: 0;
  width: 76%;
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 24px 50px -22px rgba(10,10,10,.18);
  z-index: 2;
  font-family: var(--font-body);
  animation: floatB 6s ease-in-out infinite;
}

.wd-system__head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 14px;
}
.wd-system__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 8px var(--lime-glow);
  animation: pulseDot 1.6s var(--ease) infinite;
}
.wd-system__name {
  flex: 1;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--text-2);
}
.wd-system__pill {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: var(--r-pill);
  background: var(--bg-alt);
  border: 1px solid var(--line);
  color: var(--text-2);
  font-weight: 500;
}

.wd-system__row {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 12px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
}
.wd-system__row:last-child { border-bottom: 0; padding-bottom: 0; }
.wd-system__row:first-of-type { padding-top: 0; }

.wd-system__row-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--text-3);
}

/* Swatches */
.wd-system__swatches {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.wd-system__swatches li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-family: var(--font-mono);
  font-size: 8.5px;
  color: var(--text-3);
  letter-spacing: .02em;
}
.wd-system__swatch {
  width: 22px; height: 22px;
  border-radius: 50%;
  display: block;
  flex-shrink: 0;
}
.wd-system__swatch--lime {
  box-shadow: 0 0 12px var(--lime-glow);
}

/* Buttons preview */
.wd-system__btns {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.wd-system__btn {
  font-family: var(--font-display);
  font-size: 10.5px;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: var(--r-pill);
  background: #FFFFFF;
  border: 1px solid var(--line-2);
  color: var(--ink);
  letter-spacing: -0.005em;
}
.wd-system__btn--hover {
  background: var(--ink);
  color: #FFFFFF;
  border-color: var(--ink);
}
.wd-system__btn--lime {
  background: var(--lime);
  color: var(--ink);
  border-color: var(--lime);
}

/* Heading sample */
.wd-system__h-sample {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 0;
  line-height: 1;
}
.wd-system__h-sample em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--text-2);
}

/* =============================================================
   WEB DESIGN · Selected work · MAGAZINE LAYOUT (Direction C)
   1 featured (dark, horizontal split) + 2 small (vertical, photo top)
   ============================================================= */
.wd-mag {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}

.wd-mag a { color: inherit; text-decoration: none; }

.wd-mag__feat,
.wd-mag__small {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color .25s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease);
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}
.wd-mag__feat:hover,
.wd-mag__small:hover {
  border-color: var(--line-2);
  transform: translateY(-4px);
  box-shadow: 0 30px 60px -30px rgba(10,10,10,.18);
}

/* Featured · spans full row · horizontal split (photo left, body right) */
.wd-mag__feat {
  grid-column: span 12;
  display: grid;
  grid-template-columns: 7fr 5fr;
  align-items: stretch;
}
@media (max-width: 980px) {
  .wd-mag__feat { grid-template-columns: 1fr; }
}

/* Small · half-width vertical card (photo top, body below) */
.wd-mag__small {
  grid-column: span 6;
}
@media (max-width: 700px) {
  .wd-mag__small { grid-column: span 12; }
}

/* Photo container */
.wd-mag__photo {
  position: relative;
  overflow: hidden;
  background: var(--bg-alt);
  aspect-ratio: 16 / 10;
}
.wd-mag__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
  display: block;
}
.wd-mag__feat:hover .wd-mag__photo img,
.wd-mag__small:hover .wd-mag__photo img {
  transform: scale(1.04);
}

/* Featured card photo: stretches to full card height (horizontal split) */
.wd-mag__feat .wd-mag__photo {
  aspect-ratio: auto;
  min-height: 360px;
  height: 100%;
}
@media (max-width: 980px) {
  .wd-mag__feat .wd-mag__photo {
    min-height: 280px;
    aspect-ratio: 16 / 10;
  }
}

/* Photo gradient + bottom-left tag pin */
.wd-mag__photo::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 50%;
  background: linear-gradient(to bottom, transparent, rgba(0,0,0,.32));
  pointer-events: none;
  z-index: 1;
}

.wd-mag__pin {
  position: absolute;
  left: 14px; bottom: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: var(--r-pill);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink);
}
.wd-mag__pin .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 6px var(--lime-glow);
  display: inline-block;
}

/* Body */
.wd-mag__body {
  padding: 24px 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.wd-mag__feat .wd-mag__body {
  padding: clamp(28px, 3vw, 44px);
  gap: 14px;
}

.wd-mag__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-2);
}

.wd-mag__h {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: -.02em;
  color: var(--ink);
  margin: 4px 0 0;
}
.wd-mag__feat .wd-mag__h {
  font-size: clamp(26px, 2.6vw, 36px);
}
.wd-mag__h em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -.005em;
}

.wd-mag__excerpt {
  font-family: var(--font-body);
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--text-2);
  margin: 0;
}
.wd-mag__feat .wd-mag__excerpt {
  font-size: 15px;
  line-height: 1.6;
}

.wd-mag__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink);
  margin-top: auto;
  padding-top: 18px;
  transition: gap .2s var(--ease);
}
.wd-mag__feat:hover .wd-mag__cta,
.wd-mag__small:hover .wd-mag__cta {
  gap: 14px;
}

/* Featured DARK variant — anchor card */
.wd-mag__feat--ink {
  background: var(--ink);
  color: #fff;
  border-color: rgba(255,255,255,.08);
}
.wd-mag__feat--ink .wd-mag__tag { color: rgba(255,255,255,.55); }
.wd-mag__feat--ink .wd-mag__h { color: #fff; }
.wd-mag__feat--ink .wd-mag__h em { color: var(--lime); }
.wd-mag__feat--ink .wd-mag__excerpt { color: rgba(255,255,255,.7); }
.wd-mag__feat--ink .wd-mag__cta { color: var(--lime); }
/* On dark featured, the gradient flips to right-side fade since photo is on left */
.wd-mag__feat--ink .wd-mag__photo::after {
  background: linear-gradient(to right, transparent, rgba(0,0,0,.5));
}
@media (max-width: 980px) {
  .wd-mag__feat--ink .wd-mag__photo::after {
    background: linear-gradient(to bottom, transparent, rgba(0,0,0,.5));
  }
}

/* =============================================================
   TECH STACK · CODE-EDITOR MOCKUP (used on web-development.html · §04 Stack)
   Matches the hero's wdev-code aesthetic; each tech token is hoverable.
   ============================================================= */
.tsk {
  margin-top: clamp(36px, 4vw, 56px);
  background: #0E0E0E;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.06);
  overflow: hidden;
  box-shadow:
    0 1px 0 rgba(255,255,255,.04) inset,
    0 30px 60px -30px rgba(10,10,10,.4),
    0 0 80px -30px rgba(200,255,3,.10);
}

/* Chrome bar · traffic lights + filename + branch */
.tsk__chrome {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 18px;
  background: #161616;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.tsk__lights {
  display: inline-flex;
  gap: 6px;
  flex: none;
}
.tsk__lights i {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #FF5F56;
  display: inline-block;
}
.tsk__lights i:nth-child(2) { background: #FFBD2E; }
.tsk__lights i:nth-child(3) { background: #27C93F; }

.tsk__filename {
  flex: 1;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .04em;
  color: rgba(255,255,255,.55);
}

.tsk__branch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: none;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .02em;
  color: rgba(255,255,255,.45);
}
.tsk__branch svg { color: rgba(255,255,255,.55); flex: none; }

/* Body · code lines */
.tsk__body {
  padding: clamp(20px, 2.4vw, 28px) 0;
  font-family: var(--font-mono);
  font-size: clamp(12.5px, 1vw, 14.5px);
  line-height: 1.95;
  color: rgba(255,255,255,.85);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.tsk__line {
  display: flex;
  align-items: baseline;
  gap: 0;
  white-space: nowrap;
  padding-right: clamp(20px, 2.4vw, 32px);
}
.tsk__line--blank { min-height: 1.95em; }

.tsk__ln {
  display: inline-block;
  flex: none;
  width: 3.2em;
  padding-right: 16px;
  text-align: right;
  font-variant-numeric: tabular-nums;
  color: rgba(255,255,255,.22);
  user-select: none;
}

/* Token colors · syntax highlighting palette */
.tsk__cmt {
  color: rgba(255,255,255,.38);
  font-style: italic;
}
.tsk__key {
  color: var(--lime);
  font-weight: 500;
}
.tsk__brace {
  color: rgba(255,255,255,.55);
}
.tsk__str {
  color: #FFD580; /* warm yellow · string literal */
}
.tsk__fn {
  color: #88E1F2; /* cool cyan · function name */
}

/* Tech tokens · default white, lime-glow on hover */
.tsk__tech {
  color: #FFFFFF;
  position: relative;
  cursor: help;
  transition:
    color .25s var(--ease),
    text-shadow .25s var(--ease);
}
.tsk__tech:hover {
  color: var(--lime);
  text-shadow: 0 0 10px rgba(200,255,3,.5);
}

/* Foot · status bar */
.tsk__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 18px;
  background: #0A0A0A;
  border-top: 1px solid rgba(255,255,255,.06);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .04em;
  color: rgba(255,255,255,.45);
}
.tsk__status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.tsk__status .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 8px var(--lime-glow);
  animation: pulseDot 1.8s var(--ease) infinite;
}
.tsk__lang {
  text-transform: uppercase;
  font-size: 10.5px;
  letter-spacing: .12em;
}

@media (max-width: 700px) {
  .tsk__filename { display: none; } /* free up chrome bar room on mobile */
  .tsk__ln { width: 2.4em; padding-right: 12px; }
  .tsk__body { padding: 16px 0; }
}

/* Old pill-row styles kept for parity (unused on web-dev now,
   available if the same pattern is wanted on other service pages). */
.ts-stack {
  display: grid;
  gap: clamp(20px, 2.5vw, 32px);
  margin-top: clamp(36px, 4vw, 56px);
}

.ts-row {
  display: grid;
  grid-template-columns: minmax(160px, 220px) 1fr;
  gap: clamp(20px, 3vw, 48px);
  align-items: center;
  padding-bottom: clamp(20px, 2.5vw, 32px);
  border-bottom: 1px solid var(--line);
}
.ts-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
@media (max-width: 700px) {
  .ts-row {
    grid-template-columns: 1fr;
    gap: 14px;
    align-items: start;
  }
}

.ts-row__label {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(20px, 2vw, 26px);
  letter-spacing: -.02em;
  line-height: 1.1;
  color: var(--ink);
}

.ts-row__items {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ts-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 8px;
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: var(--r-pill);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -.005em;
  color: var(--ink);
  transition:
    border-color .25s var(--ease),
    background .25s var(--ease),
    transform .25s var(--ease),
    box-shadow .25s var(--ease);
  cursor: default;
  user-select: none;
}
.ts-pill:hover {
  border-color: var(--ink);
  transform: translateY(-1px);
  box-shadow: 0 8px 16px -8px rgba(10,10,10,.18);
}

.ts-pill__ic {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 600;
  display: grid;
  place-items: center;
  letter-spacing: 0;
  line-height: 1;
  transition: background .25s var(--ease), color .25s var(--ease);
}

/* AI agents row · lime accent (matches the brand's "lime = our agentic layer" pattern) */
.ts-pill--lime .ts-pill__ic {
  background: var(--lime);
  color: var(--ink);
  box-shadow: 0 0 8px var(--lime-glow);
  font-size: 14px;
}
.ts-pill--lime {
  background: rgba(200, 255, 3, .04);
  border-color: rgba(200, 255, 3, .35);
}
.ts-pill--lime:hover {
  background: rgba(200, 255, 3, .10);
  border-color: var(--lime-deep);
  box-shadow: 0 8px 18px -10px var(--lime-glow);
}

/* =============================================================
   WEB DEVELOPMENT PAGE · hero visual
   ============================================================= */

.wdev-visual { position: relative; }

/* Code editor card (top-left) */
.wdev-code {
  position: absolute;
  top: 0; left: 0;
  width: 78%;
  background: #0E0E0E;
  color: rgba(255,255,255,.78);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 14px;
  box-shadow: 0 24px 50px -22px rgba(10,10,10,.40);
  z-index: 1;
  font-family: var(--font-mono);
  overflow: hidden;
  animation: floatA 6s ease-in-out infinite;
}

.wdev-code__chrome {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 12px;
  background: #161616;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.wdev-code__dots { display: inline-flex; gap: 5px; flex-shrink: 0; }
.wdev-code__dots i {
  width: 9px; height: 9px;
  border-radius: 50%;
}
.wdev-code__dots i:nth-child(1) { background: #FF5F57; }
.wdev-code__dots i:nth-child(2) { background: #FEBC2E; }
.wdev-code__dots i:nth-child(3) { background: #28C840; }

.wdev-code__tabs {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-size: 11px;
  letter-spacing: .02em;
}
.wdev-code__tab {
  padding: 4px 10px;
  border-radius: 6px;
  color: rgba(255,255,255,.4);
  font-family: var(--font-mono);
}
.wdev-code__tab--on {
  background: #1F1F1F;
  color: var(--lime);
}

.wdev-code__body {
  margin: 0;
  padding: 14px 14px 14px 0;
  font-size: 11.5px;
  line-height: 1.65;
  white-space: pre;
  overflow: hidden;
  font-family: var(--font-mono);
}
.wdev-code__body code {
  display: block;
  white-space: pre;
}
.wdev-code__line {
  display: flex;
  align-items: baseline;
  padding-right: 12px;
}
.wdev-code__line--blank { min-height: 1.65em; }
.wdev-code__ln {
  display: inline-block;
  width: 30px;
  text-align: right;
  padding-right: 12px;
  margin-right: 4px;
  color: rgba(255,255,255,.22);
  flex-shrink: 0;
  font-size: 11px;
  user-select: none;
}
.wdev-code__key   { color: #C586C0; }   /* keyword */
.wdev-code__comp  { color: #4FC3F7; }   /* component / type */
.wdev-code__str   { color: #CE9178; }   /* string */
.wdev-code__prop  { color: #92C7FF; }   /* prop */
.wdev-code__brace { color: rgba(255,255,255,.55); }
.wdev-code__hl    { color: var(--lime); font-weight: 500; }
.wdev-code__caret {
  display: inline-block;
  width: 7px; height: 13px;
  background: var(--lime);
  vertical-align: middle;
  margin-left: 2px;
  animation: blink 1s steps(2) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

.wdev-code__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 14px;
  background: #161616;
  border-top: 1px solid rgba(255,255,255,.06);
  font-size: 10.5px;
  color: rgba(255,255,255,.5);
  letter-spacing: .02em;
}
.wdev-code__status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.wdev-code__status .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 6px var(--lime-glow);
  animation: pulseDot 1.6s var(--ease) infinite;
}
.wdev-code__branch {
  padding: 2px 8px;
  background: rgba(255,255,255,.05);
  border-radius: var(--r-pill);
  color: rgba(255,255,255,.6);
}

/* Lighthouse score card (bottom-right) */
.wdev-perf {
  position: absolute;
  bottom: 0; right: 0;
  width: 78%;
  background: var(--ink);
  color: #F4F4F4;
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 24px 50px -22px rgba(10,10,10,.40);
  z-index: 2;
  font-family: var(--font-body);
  animation: floatB 6s ease-in-out infinite;
}

.wdev-perf__head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,.10);
  margin-bottom: 14px;
}
.wdev-perf__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 8px var(--lime-glow);
  animation: pulseDot 1.6s var(--ease) infinite;
}
.wdev-perf__name {
  flex: 1;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
}
.wdev-perf__pill {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: var(--r-pill);
  background: rgba(200,255,3,.18);
  color: var(--lime);
  font-weight: 700;
}

.wdev-perf__rings {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.wdev-perf__rings li {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 12px 6px;
  background: rgba(255,255,255,.04);
  border-radius: 10px;
}
.wdev-perf__ring {
  width: 48px;
  height: 48px;
  filter: drop-shadow(0 0 6px var(--lime-glow));
}
.wdev-perf__ring circle:last-child {
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  animation: ringFill 1.4s var(--ease-out) forwards;
}
@keyframes ringFill {
  to { stroke-dashoffset: 0; }
}
.wdev-perf__rings strong {
  position: absolute;
  top: 26px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--lime);
  letter-spacing: -0.01em;
}
.wdev-perf__rings small {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .04em;
  color: rgba(255,255,255,.6);
  text-transform: uppercase;
}

.wdev-perf__foot {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding-top: 12px;
  margin-top: 12px;
  border-top: 1px dashed rgba(255,255,255,.18);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .02em;
  color: rgba(255,255,255,.55);
}
.wdev-perf__foot strong {
  color: var(--lime);
  font-weight: 600;
  margin-right: 4px;
}

/* =============================================================
   AI AUTOMATION PAGE · hero visual
   ============================================================= */

.ai-visual { position: relative; }

/* Live agent activity feed (top-left) */
.ai-feed {
  position: absolute;
  top: 0; left: 0;
  width: 78%;
  background: var(--ink);
  color: #F4F4F4;
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 24px 50px -22px rgba(10,10,10,.40);
  z-index: 1;
  font-family: var(--font-body);
  animation: floatA 6s ease-in-out infinite;
}

.ai-feed__head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,.10);
  margin-bottom: 12px;
}
.ai-feed__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 8px var(--lime-glow);
  animation: pulseDot 1.6s var(--ease) infinite;
}
.ai-feed__name {
  flex: 1;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
}
.ai-feed__pill {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: var(--r-pill);
  background: rgba(200,255,3,.18);
  color: var(--lime);
  font-weight: 700;
}

.ai-feed__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ai-feed__row {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 8px 10px;
  background: rgba(255,255,255,.04);
  border-radius: 10px;
  position: relative;
  transition: background .25s var(--ease);
}
.ai-feed__row:hover { background: rgba(255,255,255,.07); }

.ai-feed__avatar {
  width: 26px; height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: -0.01em;
  flex-shrink: 0;
}
.ai-feed__avatar--lime { background: var(--lime); color: var(--ink); }
.ai-feed__avatar--ink {
  background: rgba(255,255,255,.08);
  color: #F4F4F4;
  border: 1px solid rgba(255,255,255,.10);
}
.ai-feed__avatar--coral { background: #FF6B3D; color: #FFFFFF; }

.ai-feed__meta {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  min-width: 0;
}
.ai-feed__meta strong {
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 600;
  color: #F4F4F4;
  letter-spacing: -0.005em;
}
.ai-feed__meta small {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: rgba(255,255,255,.6);
  letter-spacing: .02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ai-feed__time {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .04em;
  color: rgba(255,255,255,.45);
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: var(--r-pill);
  background: rgba(255,255,255,.04);
  flex-shrink: 0;
}

/* Workflow node diagram (bottom-right) */
.ai-flow {
  position: absolute;
  bottom: 0; right: 0;
  width: 80%;
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 24px 50px -22px rgba(10,10,10,.18);
  z-index: 2;
  font-family: var(--font-body);
  animation: floatB 6s ease-in-out infinite;
}

.ai-flow__head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 18px;
}
.ai-flow__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 8px var(--lime-glow);
  animation: pulseDot 1.6s var(--ease) infinite;
}
.ai-flow__name {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--text-2);
}

.ai-flow__canvas {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 6px 0;
  position: relative;
}

.ai-flow__node {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 12px 8px;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 12px;
  position: relative;
  z-index: 1;
}

.ai-flow__node-icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 700;
}

.ai-flow__node-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--text-2);
  font-weight: 500;
}

.ai-flow__node--trigger {
  background: var(--ink);
  border-color: transparent;
}
.ai-flow__node--trigger .ai-flow__node-icon { background: var(--lime); color: var(--ink); }
.ai-flow__node--trigger .ai-flow__node-label { color: rgba(255,255,255,.85); }

.ai-flow__node--running {
  background: var(--lime);
  border-color: var(--lime);
  box-shadow: 0 0 0 4px rgba(200,255,3,.18), 0 0 20px var(--lime-glow);
}
.ai-flow__node--running .ai-flow__node-icon { background: var(--ink); color: var(--lime); }
.ai-flow__node--running .ai-flow__node-label { color: var(--ink); font-weight: 600; }

.ai-flow__node-pulse {
  position: absolute;
  inset: -4px;
  border-radius: 14px;
  border: 2px solid var(--lime);
  opacity: 0;
  animation: nodePulse 1.8s ease-out infinite;
  pointer-events: none;
}
@keyframes nodePulse {
  0%   { opacity: .6; transform: scale(1); }
  100% { opacity: 0;  transform: scale(1.18); }
}

.ai-flow__line {
  flex: 0 0 16px;
  height: 1px;
  background: var(--line-2);
  position: relative;
}
.ai-flow__line::before {
  content: "";
  position: absolute;
  top: -2px;
  right: -3px;
  width: 0; height: 0;
  border-left: 5px solid var(--line-2);
  border-top: 3px solid transparent;
  border-bottom: 3px solid transparent;
}

@media (max-width: 700px) {
  .ai-flow__canvas { flex-direction: column; gap: 6px; }
  .ai-flow__node { width: 100%; }
  .ai-flow__line {
    width: 1px;
    height: 12px;
    flex: 0 0 12px;
  }
  .ai-flow__line::before {
    top: auto;
    bottom: -3px;
    right: -2px;
    border-left: 3px solid transparent;
    border-right: 3px solid transparent;
    border-top: 5px solid var(--line-2);
    border-bottom: 0;
  }
}

/* =============================================================
   PORTFOLIO PAGE · work.html
   ============================================================= */

/* Hero — text-led, no right-side visual */
.wk-hero {
  background: #FFFFFF;
  padding-block: clamp(56px, 7vw, 100px) clamp(72px, 8vw, 120px);
  border-bottom: 1px solid var(--line);
}
.wk-hero__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.wk-hero__crumb {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--text-3);
  text-transform: uppercase;
  margin-bottom: 24px;
}
.wk-hero__crumb a { color: var(--text-3); transition: color .2s var(--ease); }
.wk-hero__crumb a:hover { color: var(--ink); }
.wk-hero__crumb-sep { opacity: .4; }
.wk-hero__crumb > span:last-child { color: var(--ink); font-weight: 500; }

.wk-hero__tag {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--bg-alt);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--text-2);
  text-transform: uppercase;
  margin-bottom: 28px;
}
.wk-hero__tag .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 10px var(--lime-glow);
  animation: pulseDot 1.8s var(--ease) infinite;
}

.wk-hero__h1 {
  font-family: var(--font-display);
  font-size: clamp(56px, 9.5vw, 156px);
  line-height: 0.94;
  letter-spacing: -0.045em;
  font-weight: 500;
  margin: 0 0 28px;
  color: var(--ink);
  text-wrap: balance;
}
.wk-hero__h1 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--text-2);
  display: block;
}

.wk-hero__lead {
  font-size: clamp(17px, 1.5vw, 22px);
  line-height: 1.55;
  color: var(--text-2);
  max-width: 56ch;
  margin: 0 0 56px;
}

.wk-hero__stats {
  list-style: none;
  margin: 0;
  padding: 36px 0 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
@media (max-width: 800px) { .wk-hero__stats { grid-template-columns: repeat(2, 1fr); gap: 32px 16px; } }
.wk-hero__stats li {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.wk-hero__stats strong {
  font-family: var(--font-display);
  font-size: clamp(40px, 5.5vw, 72px);
  font-weight: 600;
  letter-spacing: -0.045em;
  color: var(--ink);
  line-height: 1;
}
.wk-hero__stats > li > span {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--text-3);
}

/* === New case visual variants === */

/* AI Automation case · workflow nodes */
.case__visual--ai {
  background: var(--ink);
  color: #F4F4F4;
  position: relative;
  overflow: hidden;
}
.case__visual--ai::before {
  content: "";
  position: absolute;
  right: -50px; top: -50px;
  width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(200,255,3,.18), transparent 60%);
  filter: blur(20px);
  pointer-events: none;
}
.case__visual--ai .case__tag {
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.85);
}
.case__visual--ai .case__metric strong { color: var(--lime); }
.case__visual--ai .case__metric span { color: rgba(255,255,255,.6); }

.case__nodes {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: auto;
  margin-top: 32px;
}
.case__node {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 8px 14px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 100px;
  color: rgba(255,255,255,.85);
  font-weight: 500;
  white-space: nowrap;
}
.case__node--lime {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--ink);
  box-shadow: 0 0 16px var(--lime-glow);
}
.case__node-line {
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,.18);
  position: relative;
  margin: 0 4px;
}
.case__node-line::before {
  content: "";
  position: absolute;
  top: -2px; right: -3px;
  width: 0; height: 0;
  border-left: 5px solid rgba(255,255,255,.30);
  border-top: 3px solid transparent;
  border-bottom: 3px solid transparent;
}

/* Meta Ads case · creative variants */
.case__visual--meta {
  background: linear-gradient(135deg, #F4F2EE, #FFFFFF);
  position: relative;
}
.case__variants {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 8px;
  margin-bottom: auto;
  margin-top: 32px;
}
.case__variant {
  flex: 1;
  aspect-ratio: 9 / 12;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(124,92,255,.18), rgba(255,107,61,.18)),
    rgba(10,10,10,.06);
  border: 1px solid var(--line);
}
.case__variant--lime {
  background: var(--lime);
  border-color: var(--lime);
  box-shadow: 0 8px 24px -8px var(--lime-glow);
  transform: translateY(-4px);
}

/* === Featured deep-dive === */
.wk-feat {
  background: var(--bg-alt);
  padding-block: clamp(72px, 9vw, 130px);
  border-top: 1px solid var(--line);
}
.wk-feat__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.wk-feat__head {
  max-width: 880px;
  margin-bottom: clamp(40px, 5vw, 56px);
}
.wk-feat__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--text-2);
  text-transform: uppercase;
  margin-bottom: 18px;
}
.wk-feat__eyebrow::before {
  content: "";
  width: 36px; height: 1px;
  background: var(--ink);
  display: inline-block;
}
.wk-feat__h2 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-weight: 500;
  margin: 0;
  color: var(--ink);
  text-wrap: balance;
}
.wk-feat__h2 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--text-2);
}

.wk-feat__article {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: clamp(32px, 4vw, 56px);
}
@media (max-width: 1000px) { .wk-feat__article { grid-template-columns: 1fr; } }

/* Sidebar */
.wk-feat__side {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
@media (max-width: 1000px) { .wk-feat__side { position: static; } }

.wk-feat__client {
  padding-bottom: 22px;
  border-bottom: 1px dashed var(--line-2);
}
.wk-feat__client-tag {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .04em;
  color: var(--text-3);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.wk-feat__client strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(24px, 2.4vw, 30px);
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--ink);
  line-height: 1.05;
}
.wk-feat__client small {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .03em;
  color: var(--text-3);
}

.wk-feat__metrics {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.wk-feat__metrics li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-left: 14px;
  border-left: 2px solid var(--lime);
}
.wk-feat__metrics strong {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1;
}
.wk-feat__metrics span {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .04em;
  color: var(--text-3);
  text-transform: uppercase;
}

.wk-feat__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-top: 22px;
  border-top: 1px dashed var(--line-2);
}
.wk-feat__tags span {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .03em;
  padding: 5px 11px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  color: var(--text-2);
  background: var(--bg-alt);
}

/* Story */
.wk-feat__story {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-2);
}
.wk-feat__intro {
  font-family: var(--font-display);
  font-size: clamp(20px, 1.8vw, 24px);
  line-height: 1.4;
  letter-spacing: -0.012em;
  font-weight: 500;
  color: var(--ink);
  margin: 0 0 28px;
  text-wrap: pretty;
}
.wk-feat__intro em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--text-2);
}
.wk-feat__h3 {
  font-family: var(--font-display);
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 32px 0 14px;
  line-height: 1.15;
}
.wk-feat__story p {
  margin: 0 0 18px;
}
.wk-feat__story strong { color: var(--ink); font-weight: 600; }
.wk-feat__story em {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--ink);
}

.wk-feat__quote {
  position: relative;
  margin: 36px 0;
  padding: 28px clamp(28px, 3vw, 40px) 28px clamp(48px, 5vw, 72px);
  background: var(--ink);
  color: #F4F4F4;
  border-radius: 16px;
  overflow: hidden;
}
.wk-feat__quote::after {
  content: "";
  position: absolute;
  right: -100px; top: -100px;
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(200,255,3,.15), transparent 60%);
  filter: blur(40px);
  pointer-events: none;
}
.wk-feat__quote-mark {
  position: absolute;
  top: 16px;
  left: 18px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 56px;
  color: var(--lime);
  line-height: 1;
}
.wk-feat__quote p {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-size: clamp(18px, 1.8vw, 22px);
  line-height: 1.4;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: #F4F4F4;
  margin: 0 0 18px;
}
.wk-feat__quote p em {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--lime);
  font-weight: 400;
}
.wk-feat__quote footer {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.wk-feat__quote footer strong {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: #F4F4F4;
}
.wk-feat__quote footer small {
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(255,255,255,.6);
  letter-spacing: .03em;
}

.wk-feat__sig {
  margin: 28px 0 24px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--text-3);
  text-transform: uppercase;
  padding: 12px 16px;
  background: var(--bg-alt);
  border-radius: 8px;
  border-left: 3px solid var(--lime);
}

.wk-feat__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  background: var(--ink);
  color: #FFFFFF;
  border-radius: var(--r-pill);
  font-family: var(--font-display);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: -0.005em;
  text-decoration: none;
  transition: background .25s var(--ease), transform .2s var(--ease), box-shadow .25s var(--ease);
}
.wk-feat__cta:hover {
  background: var(--ink-2);
  transform: translateY(-1px);
  box-shadow: 0 12px 28px -10px rgba(10,10,10,.35);
}
.wk-feat__cta svg { transition: transform .35s var(--ease); }
.wk-feat__cta:hover svg { transform: translate(2px, -2px); }

/* === Industries band === */
.wk-ind {
  background: #FFFFFF;
  padding-block: clamp(72px, 9vw, 130px);
  border-top: 1px solid var(--line);
}
.wk-ind__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.wk-ind__head {
  max-width: 800px;
  margin-bottom: clamp(36px, 5vw, 56px);
}
.wk-ind__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--text-2);
  text-transform: uppercase;
  margin-bottom: 18px;
}
.wk-ind__eyebrow::before {
  content: "";
  width: 36px; height: 1px;
  background: var(--ink);
  display: inline-block;
}
.wk-ind__h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.4vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-weight: 500;
  margin: 0 0 14px;
  color: var(--ink);
  text-wrap: balance;
}
.wk-ind__h2 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--text-2);
}
.wk-ind__lead {
  font-size: 15.5px;
  color: var(--text-2);
  max-width: 60ch;
  line-height: 1.55;
  margin: 0;
}

.wk-ind__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
}
@media (max-width: 1000px) { .wk-ind__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .wk-ind__grid { grid-template-columns: 1fr; } }

.wk-ind__cell {
  background: #FFFFFF;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: background .3s var(--ease);
}
.wk-ind__cell:hover { background: var(--bg-alt); }

.wk-ind__count {
  font-family: var(--font-display);
  font-size: clamp(40px, 4.6vw, 60px);
  font-weight: 600;
  letter-spacing: -0.04em;
  color: var(--ink);
  line-height: 1;
}
.wk-ind__name {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.012em;
  color: var(--ink);
}
.wk-ind__cell small {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .04em;
  color: var(--text-3);
  text-transform: uppercase;
  margin-top: 4px;
}

.wk-ind__cell--lime {
  background: var(--lime);
}
.wk-ind__cell--lime:hover { background: var(--lime); }
.wk-ind__cell--lime .wk-ind__count,
.wk-ind__cell--lime .wk-ind__name { color: var(--ink); }
.wk-ind__cell--lime small { color: rgba(10,10,10,.65); }

/* =============================================================
   FOOTER · final CTA + brand + 4 cols + wordmark + legal
   ============================================================= */

.ftr {
  background: var(--ink);
  color: rgba(255,255,255,.72);
  position: relative;
  overflow: hidden;
}

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

/* === Final CTA strip === */
.ftr__cta {
  position: relative;
  padding-block: clamp(72px, 9vw, 130px);
  border-bottom: 1px solid rgba(255,255,255,.08);
  overflow: hidden;
}
.ftr__cta::before {
  content: "";
  position: absolute;
  right: -100px; top: -150px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(200,255,3,.18), transparent 60%);
  filter: blur(60px);
  pointer-events: none;
}
.ftr__cta::after {
  content: "";
  position: absolute;
  left: -200px; bottom: -200px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(124,92,255,.10), transparent 60%);
  filter: blur(50px);
  pointer-events: none;
}
.ftr__cta-inner {
  position: relative;
  z-index: 1;
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.ftr__cta-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--r-pill);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .04em;
  color: rgba(255,255,255,.7);
  text-transform: uppercase;
  margin-bottom: 28px;
}
.ftr__cta-tag .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 10px var(--lime-glow);
  animation: pulseDot 1.8s var(--ease) infinite;
}

.ftr__cta-h {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 88px);
  line-height: 0.98;
  letter-spacing: -0.04em;
  font-weight: 500;
  margin: 0 0 22px;
  color: #F4F4F4;
  max-width: 18ch;
  text-wrap: balance;
}
.ftr__cta-h em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--lime);
}

.ftr__cta-p {
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.55;
  color: rgba(255,255,255,.7);
  max-width: 56ch;
  margin: 0 0 36px;
}

.ftr__cta-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}

.ftr__cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  background: var(--lime);
  color: var(--ink);
  border-radius: var(--r-pill);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.005em;
  transition: background .25s var(--ease), transform .2s var(--ease), box-shadow .25s var(--ease);
}
.ftr__cta-btn:hover {
  background: #B8EB1A;
  transform: translateY(-1px);
  box-shadow: 0 12px 28px -10px var(--lime-glow);
}
.ftr__cta-btn svg { transition: transform .35s var(--ease); }
.ftr__cta-btn:hover svg { transform: translate(2px, -2px); }

.ftr__cta-mail {
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: .02em;
  color: rgba(255,255,255,.7);
  text-decoration: underline;
  text-decoration-color: rgba(255,255,255,.2);
  text-underline-offset: 5px;
  transition: color .2s var(--ease), text-decoration-color .2s var(--ease);
}
.ftr__cta-mail:hover {
  color: var(--lime);
  text-decoration-color: var(--lime);
}

/* === Main: brand + 4 link columns === */
.ftr__main {
  padding-block: clamp(60px, 7vw, 90px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.ftr__main .ftr__inner {
  display: grid;
  grid-template-columns: 1.3fr 2fr;
  gap: clamp(32px, 5vw, 80px);
}
@media (max-width: 1000px) { .ftr__main .ftr__inner { grid-template-columns: 1fr; } }

/* Brand column */
.ftr__brand-col {
  display: flex;
  flex-direction: column;
  gap: 22px;
  max-width: 380px;
}

.ftr__logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #F4F4F4;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.025em;
}
.ftr__logo-mark {
  display: inline-flex;
  width: 40px; height: 40px;
  border-radius: 9px;
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid rgba(255,255,255,.10);
}
.ftr__logo-mark img { width: 100%; height: 100%; object-fit: cover; }
.ftr__logo-dot {
  background: var(--lime);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.ftr__tagline {
  font-size: 14.5px;
  line-height: 1.55;
  color: rgba(255,255,255,.62);
  margin: 0;
}

.ftr__address {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-style: normal;
  font-size: 13.5px;
  line-height: 1.55;
  color: rgba(255,255,255,.62);
  margin: 0;
}
.ftr__address svg {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  color: var(--lime);
}

/* Newsletter */
.ftr__news {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px;
  background: rgba(255,255,255,.025);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
}

.ftr__news-label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}
.ftr__news-tag {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .05em;
  color: var(--lime);
  text-transform: uppercase;
  font-weight: 500;
}
.ftr__news-sub {
  font-size: 12.5px;
  color: rgba(255,255,255,.55);
  line-height: 1.4;
}

.ftr__news-input {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px;
  padding: 4px 4px 4px 14px;
  background: rgba(0,0,0,.35);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--r-pill);
  transition: border-color .25s var(--ease);
}
.ftr__news-input:focus-within {
  border-color: var(--lime);
}
.ftr__news-input input {
  background: transparent;
  border: 0;
  outline: 0;
  color: #F4F4F4;
  font: inherit;
  font-size: 13.5px;
  padding: 8px 0;
}
.ftr__news-input input::placeholder { color: rgba(255,255,255,.35); }
.ftr__news-input button {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--ink);
  display: grid;
  place-items: center;
  transition: background .2s var(--ease), transform .2s var(--ease);
}
.ftr__news-input button:hover {
  background: #B8EB1A;
  transform: scale(1.05);
}

.ftr__contact {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: rgba(255,255,255,.65);
}
.ftr__contact a {
  color: rgba(255,255,255,.85);
  text-decoration: none;
  transition: color .2s var(--ease);
}
.ftr__contact a:hover { color: var(--lime); }

/* Link columns */
.ftr__cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 2.5vw, 32px);
}
@media (max-width: 720px) { .ftr__cols { grid-template-columns: repeat(2, 1fr); gap: 32px 20px; } }

.ftr__col-h {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
  margin: 0 0 18px;
  font-weight: 500;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.ftr__col-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.ftr__col-list a {
  font-size: 14px;
  color: rgba(255,255,255,.72);
  text-decoration: none;
  letter-spacing: -0.005em;
  transition: color .2s var(--ease), padding-left .25s var(--ease);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.ftr__col-list a:hover {
  color: var(--lime);
  padding-left: 4px;
}

.ftr__col-feat {
  position: relative;
}
.ftr__col-tag {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 7px;
  border-radius: var(--r-pill);
  background: var(--lime);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-weight: 700;
  vertical-align: middle;
}

/* Social column */
.ftr__col-list--social a {
  justify-content: space-between;
  padding: 7px 12px;
  margin-left: -12px;
  border-radius: 10px;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.ftr__col-list--social a:hover {
  background: rgba(255,255,255,.06);
  padding-left: 12px;
  color: #F4F4F4;
}
.ftr__col-list--social a > span:first-of-type {
  flex: 1;
  margin-left: 4px;
}
.ftr__col-arrow {
  font-size: 12px;
  color: rgba(255,255,255,.4);
  transition: color .2s var(--ease), transform .25s var(--ease);
}
.ftr__col-list--social a:hover .ftr__col-arrow {
  color: var(--lime);
  transform: translate(2px, -2px);
}

/* === Big watermark wordmark === */
.ftr__wordmark {
  padding-block: clamp(36px, 5vw, 72px) 0;
  text-align: center;
  overflow: hidden;
  user-select: none;
}
.ftr__wordmark-text {
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(64px, 17vw, 280px);
  font-weight: 600;
  line-height: 0.85;
  letter-spacing: -0.06em;
  color: rgba(255,255,255,.06);
  -webkit-text-stroke: 1px rgba(255,255,255,.10);
  white-space: nowrap;
  background: linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.02));
  -webkit-background-clip: text;
  background-clip: text;
}
.ftr__wordmark-dot {
  background: linear-gradient(180deg, rgba(200,255,3,.50), rgba(200,255,3,.10));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-stroke: 1px rgba(200,255,3,.25);
}

/* === Legal row === */
.ftr__legal {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-block: 22px;
}
.ftr__legal-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--gutter);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  font-size: 12.5px;
  color: rgba(255,255,255,.5);
}
@media (max-width: 800px) {
  .ftr__legal-inner {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
    gap: 12px;
  }
}

.ftr__legal-left small,
.ftr__legal-build small {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .02em;
  color: rgba(255,255,255,.5);
}

.ftr__legal-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 18px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .04em;
}
.ftr__legal-links a {
  color: rgba(255,255,255,.55);
  text-decoration: none;
  text-transform: uppercase;
  transition: color .2s var(--ease);
}
.ftr__legal-links a:hover { color: var(--lime); }

.ftr__legal-build {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
@media (max-width: 800px) { .ftr__legal-build { justify-self: center; } }
.ftr__legal-build .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 8px var(--lime-glow);
  animation: pulseDot 1.8s var(--ease) infinite;
}

/* =============================================================
   Reveal on scroll (tiles + cards)
   ============================================================= */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
}
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.001ms !important; animation-duration: 0.001ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* =============================================================
   CONTACT PAGE — hero, form, sidebar, trust band
   ============================================================= */

/* ---------- Hero ---------- */
.ct-hero {
  background: #F3F1EE;
  padding: clamp(60px, 9vw, 110px) var(--gutter) clamp(40px, 6vw, 64px);
  position: relative;
  overflow: hidden;
}
.ct-hero::before {
  content: "";
  position: absolute;
  inset: auto -10% -40% auto;
  width: 60%;
  height: 80%;
  background: radial-gradient(ellipse at center, var(--lime-soft), transparent 60%);
  pointer-events: none;
  opacity: .55;
}
.ct-hero__inner {
  max-width: var(--container);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.ct-hero__crumb {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 28px;
}
.ct-hero__crumb a {
  color: var(--text-2);
  text-decoration: none;
  transition: color .2s var(--ease);
}
.ct-hero__crumb a:hover { color: var(--ink); }
.ct-hero__crumb-sep { color: var(--text-3); opacity: .6; }

.ct-hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  background: rgba(10,10,10,.04);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .04em;
  color: var(--ink-2);
  margin-bottom: 28px;
}
.ct-hero__tag .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 10px var(--lime-glow);
  animation: pulseDot 1.8s var(--ease) infinite;
}

.ct-hero__h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(44px, 7.4vw, 104px);
  line-height: .96;
  letter-spacing: -.035em;
  color: var(--ink);
  margin: 0 0 28px;
  max-width: 18ch;
}
.ct-hero__h1 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -.015em;
  color: var(--ink);
}

.ct-hero__lead {
  font-family: var(--font-body);
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.55;
  color: var(--text-2);
  max-width: 56ch;
  margin: 0 0 32px;
}

.ct-hero__pills {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.ct-hero__pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .02em;
  color: var(--ink-2);
}
.ct-hero__pill svg {
  color: var(--lime-deep);
  background: var(--ink);
  border-radius: 50%;
  padding: 2.5px;
  width: 16px;
  height: 16px;
  flex: none;
}

/* ---------- Body (form + sidebar) ---------- */
.ct-body {
  background: var(--bg);
  padding: clamp(60px, 8vw, 100px) var(--gutter) clamp(60px, 8vw, 100px);
}
.ct-body__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
}
@media (max-width: 980px) {
  .ct-body__inner { grid-template-columns: 1fr; gap: 40px; }
}

/* ---------- Form ---------- */
.ct-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: clamp(28px, 3.6vw, 48px);
  box-shadow: 0 1px 0 rgba(10,10,10,.02), 0 30px 60px -40px rgba(10,10,10,.1);
}

.ct-form__head {
  margin-bottom: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.ct-form__eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 14px;
}
.ct-form__h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.05;
  letter-spacing: -.025em;
  color: var(--ink);
  margin: 0 0 12px;
}
.ct-form__h2 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -.01em;
}
.ct-form__sub {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.5;
  color: var(--text-2);
  margin: 0;
  max-width: 50ch;
}

.ct-form__row {
  display: grid;
  gap: 16px;
  margin-bottom: 16px;
}
.ct-form__row--2 { grid-template-columns: 1fr 1fr; }
@media (max-width: 620px) {
  .ct-form__row--2 { grid-template-columns: 1fr; }
}

.ct-field {
  display: block;
  margin-bottom: 16px;
}
.ct-field > span {
  display: block;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-2);
  margin-bottom: 8px;
}
.ct-field input,
.ct-field select,
.ct-field textarea {
  display: block;
  width: 100%;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.4;
  color: var(--ink);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
  -webkit-appearance: none;
  appearance: none;
  outline: none;
}
.ct-field textarea {
  resize: vertical;
  min-height: 120px;
  font-family: var(--font-body);
}
.ct-field select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none' stroke='%230A0A0A' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><path d='M2 3l4 4 4-4'/></svg>");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 12px 8px;
  padding-right: 44px;
  cursor: pointer;
}
.ct-field input::placeholder,
.ct-field textarea::placeholder { color: var(--text-3); }
.ct-field input:hover,
.ct-field select:hover,
.ct-field textarea:hover { border-color: var(--ink-2); }
.ct-field input:focus,
.ct-field select:focus,
.ct-field textarea:focus {
  border-color: var(--ink);
  box-shadow: 0 0 0 4px rgba(10,10,10,.06);
}
.ct-field input:focus-visible,
.ct-field select:focus-visible,
.ct-field textarea:focus-visible {
  border-color: var(--ink);
}

.ct-form__foot {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 16px;
}

.ct-form__submit {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  padding: 14px 22px;
  background: var(--ink);
  color: #fff;
  border: 1px solid var(--ink);
  border-radius: var(--r-pill);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 14.5px;
  letter-spacing: .01em;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: background .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
}
.ct-form__submit::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--lime);
  transform: translateY(101%);
  transition: transform .35s var(--ease);
  z-index: 0;
}
.ct-form__submit > * { position: relative; z-index: 1; }
.ct-form__submit:hover { color: var(--ink); }
.ct-form__submit:hover::before { transform: translateY(0); }
.ct-form__submit svg { transition: transform .25s var(--ease); }
.ct-form__submit:hover svg { transform: translate(2px, -2px); }

.ct-form__legal {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .02em;
  line-height: 1.55;
  color: var(--text-3);
  margin: 0;
  max-width: 60ch;
}

/* Honeypots — visually hidden, still reachable by bots */
.ct-form__hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Privacy / GDPR consent checkbox */
.ct-form__privacy {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--text-2);
  cursor: pointer;
}
.ct-form__privacy input[type="checkbox"] {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--ink);
  cursor: pointer;
}
.ct-form__privacy a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
}
.ct-form__privacy a:hover { text-decoration-thickness: 2px; }
.ct-form__req { color: #d33; margin-left: 2px; }

/* Status messages after submit */
.ct-form__msg {
  padding: 14px 16px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.55;
  border: 1px solid transparent;
  animation: ctMsgIn .3s var(--ease);
}
.ct-form__msg[hidden] { display: none; }
.ct-form__msg--ok {
  background: rgba(200, 255, 3, 0.18);
  border-color: rgba(200, 255, 3, 0.5);
  color: var(--ink);
}
.ct-form__msg--ok strong { font-weight: 600; }
.ct-form__msg--err {
  background: #FFF1F1;
  border-color: #F5C2C2;
  color: #8B1F1F;
}
.ct-form__msg--err a { color: inherit; text-decoration: underline; }

@keyframes ctMsgIn {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Loading + disabled state for submit */
.ct-form__submit[disabled] {
  opacity: 0.6;
  cursor: progress;
}
.ct-form__submit.is-sending .ct-form__submit-label::after {
  content: "…";
  animation: ctDots 1.2s steps(3, end) infinite;
}
@keyframes ctDots {
  0%   { content: "."; }
  33%  { content: ".."; }
  66%  { content: "..."; }
  100% { content: ""; }
}

.ct-form__toast {
  margin-top: 4px;
  padding: 10px 14px;
  border-radius: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .02em;
}
.ct-form__toast--ok {
  background: rgba(200,255,3,.12);
  border: 1px solid rgba(200,255,3,.4);
  color: var(--ink);
}
.ct-form__toast--err {
  background: rgba(255,90,90,.08);
  border: 1px solid rgba(255,90,90,.3);
  color: #b04040;
}

/* ---------- Sidebar ---------- */
.ct-side {
  display: grid;
  gap: 20px;
  position: sticky;
  top: 100px;
}
@media (max-width: 980px) { .ct-side { position: static; } }

.ct-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: clamp(24px, 2.6vw, 32px);
  overflow: hidden;
  transition: border-color .25s var(--ease), transform .35s var(--ease);
}
.ct-card:hover { border-color: var(--line-2); }

.ct-card--ink {
  background: var(--ink);
  border-color: rgba(255,255,255,.08);
  color: #fff;
}
.ct-card--ink::after {
  content: "";
  position: absolute;
  inset: -30% -30% auto auto;
  width: 80%;
  height: 80%;
  background: radial-gradient(ellipse at center, var(--lime-soft), transparent 65%);
  pointer-events: none;
  opacity: .8;
}
.ct-card > * { position: relative; z-index: 1; }

.ct-card__tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
  margin-bottom: 18px;
}
.ct-card__tag .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 8px var(--lime-glow);
  animation: pulseDot 1.8s var(--ease) infinite;
}
.ct-card__tag-light {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 16px;
}

.ct-card__h {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.1;
  letter-spacing: -.02em;
  margin: 0 0 12px;
  color: inherit;
}
.ct-card--ink .ct-card__h { color: #fff; }
.ct-card__h em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -.005em;
  color: var(--lime);
}
.ct-card:not(.ct-card--ink) .ct-card__h em { color: var(--ink); }

.ct-card__p {
  font-family: var(--font-body);
  font-size: 14.5px;
  line-height: 1.55;
  color: rgba(255,255,255,.65);
  margin: 0 0 22px;
}
.ct-card:not(.ct-card--ink) .ct-card__p { color: var(--text-2); }

.ct-card__p-small {
  font-family: var(--font-body);
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--text-2);
  margin: 0 0 20px;
}

.ct-card__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: var(--lime);
  color: var(--ink);
  border-radius: var(--r-pill);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: .01em;
  text-decoration: none;
  margin-bottom: 22px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
  box-shadow: 0 0 0 0 var(--lime-glow);
}
.ct-card__btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 30px -10px var(--lime-glow);
}
.ct-card__btn svg { transition: transform .25s var(--ease); }
.ct-card__btn:hover svg { transform: translate(2px, -2px); }

.ct-card__slots {
  list-style: none;
  margin: 0;
  padding: 16px 0 0;
  border-top: 1px solid rgba(255,255,255,.08);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.ct-card__slots li {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .04em;
  color: rgba(255,255,255,.5);
  padding: 8px 12px;
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 8px;
  text-align: center;
}
.ct-card__slot--free {
  color: var(--lime) !important;
  border-color: rgba(200,255,3,.3) !important;
  background: rgba(200,255,3,.04);
}

.ct-card__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.ct-card__list li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.ct-card__list li:hover {
  border-color: var(--line-2);
  background: rgba(10,10,10,.02);
}

.ct-card__list-icon {
  flex: none;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(10,10,10,.04);
  color: var(--ink);
}
.ct-card__list-icon svg { width: 18px; height: 18px; }
.ct-card__list-icon--lime {
  background: var(--lime);
  color: var(--ink);
}

.ct-card__list-meta {
  display: grid;
  gap: 2px;
  min-width: 0;
}
.ct-card__list-meta small {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-3);
}
.ct-card__list-meta a {
  color: var(--ink);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 14.5px;
  letter-spacing: -.005em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color .2s var(--ease);
}
.ct-card__list-meta a:hover { color: var(--lime-deep); }

.ct-card__locs {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.ct-card__locs li {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .02em;
  color: var(--ink-2);
  padding: 7px 12px;
  background: rgba(10,10,10,.04);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
}
.ct-card__loc--lime {
  background: var(--lime) !important;
  border-color: var(--lime-deep) !important;
  color: var(--ink) !important;
}

/* ---------- Trust band ---------- */
.ct-trust {
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: clamp(40px, 5vw, 64px) var(--gutter);
}
.ct-trust__inner {
  max-width: var(--container);
  margin: 0 auto;
}
.ct-trust__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 800px) {
  .ct-trust__grid { grid-template-columns: 1fr 1fr; }
}
.ct-trust__cell {
  padding: 24px clamp(16px, 2.4vw, 32px);
  border-right: 1px solid var(--line);
  display: grid;
  gap: 6px;
}
.ct-trust__cell:last-child { border-right: none; }
@media (max-width: 800px) {
  .ct-trust__cell:nth-child(2n) { border-right: none; }
  .ct-trust__cell:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
.ct-trust__cell strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(28px, 3.2vw, 40px);
  letter-spacing: -.025em;
  line-height: 1;
  color: var(--ink);
}
.ct-trust__cell > span {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .04em;
  color: var(--text-2);
}
.ct-trust__cell--lime {
  background: var(--lime);
  border-right-color: var(--lime-deep) !important;
  margin: -1px;
  padding: 25px clamp(17px, 2.4vw, 33px);
  position: relative;
}
.ct-trust__cell--lime strong,
.ct-trust__cell--lime span { color: var(--ink); }
.ct-trust__cell--lime .counter { color: var(--ink); }

/* =============================================================
   LEGAL PAGES — privacy / terms / cookies / imprint
   ============================================================= */

/* ---------- Hero (compact variant of .ct-hero) ---------- */
.lg-hero {
  background: #F3F1EE;
  padding: clamp(60px, 8vw, 96px) var(--gutter) clamp(36px, 4vw, 56px);
  position: relative;
  overflow: hidden;
}
.lg-hero::before {
  content: "";
  position: absolute;
  inset: auto -10% -50% auto;
  width: 50%;
  height: 70%;
  background: radial-gradient(ellipse at center, var(--lime-soft), transparent 60%);
  pointer-events: none;
  opacity: .5;
}
.lg-hero__inner {
  max-width: var(--container);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.lg-hero__crumb {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 24px;
}
.lg-hero__crumb a {
  color: var(--text-2);
  text-decoration: none;
  transition: color .2s var(--ease);
}
.lg-hero__crumb a:hover { color: var(--ink); }
.lg-hero__crumb-sep { color: var(--text-3); opacity: .6; }

.lg-hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  background: rgba(10,10,10,.04);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin-bottom: 24px;
}
.lg-hero__h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(40px, 6vw, 80px);
  line-height: .98;
  letter-spacing: -.035em;
  color: var(--ink);
  margin: 0 0 24px;
  max-width: 22ch;
}
.lg-hero__h1 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -.015em;
}
.lg-hero__lead {
  font-family: var(--font-body);
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.55;
  color: var(--text-2);
  max-width: 60ch;
  margin: 0 0 24px;
}
.lg-hero__meta {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .04em;
  color: var(--text-2);
}
.lg-hero__meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.lg-hero__meta-item strong {
  color: var(--ink);
  font-weight: 500;
}
.lg-hero__meta-sep {
  color: var(--text-3);
  opacity: .5;
}

/* ---------- Body (TOC sidebar + content) ---------- */
.lg-body {
  background: var(--bg);
  padding: clamp(40px, 6vw, 80px) var(--gutter) clamp(60px, 8vw, 100px);
  border-top: 1px solid var(--line);
}
.lg-body__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  gap: clamp(36px, 5vw, 80px);
  align-items: start;
}
@media (max-width: 900px) {
  .lg-body__inner { grid-template-columns: 1fr; gap: 36px; }
}

/* ---------- Sticky table of contents ---------- */
.lg-toc {
  position: sticky;
  top: 100px;
  align-self: start;
}
@media (max-width: 900px) { .lg-toc { position: static; } }
.lg-toc__title {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 16px;
}
.lg-toc__list {
  list-style: none;
  margin: 0;
  padding: 0 0 0 0;
  border-left: 1px solid var(--line);
  display: grid;
}
.lg-toc__list a {
  display: block;
  padding: 9px 14px;
  margin-left: -1px;
  border-left: 2px solid transparent;
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 400;
  color: var(--text-2);
  text-decoration: none;
  letter-spacing: -.005em;
  line-height: 1.4;
  transition: color .2s var(--ease), border-color .2s var(--ease), background .2s var(--ease);
}
.lg-toc__list a:hover {
  color: var(--ink);
  background: rgba(10,10,10,.02);
}
.lg-toc__list a.is-active {
  color: var(--ink);
  border-left-color: var(--lime-deep);
  font-weight: 500;
}
.lg-toc__num {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .08em;
  color: var(--text-3);
  margin-right: 8px;
}

/* ---------- Content ---------- */
.lg-content {
  max-width: 72ch;
  font-family: var(--font-body);
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--ink-2);
}
.lg-content > section + section {
  margin-top: clamp(40px, 5vw, 64px);
  padding-top: clamp(28px, 3vw, 40px);
  border-top: 1px solid var(--line);
}
.lg-content section { scroll-margin-top: 100px; }

.lg-content h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1.1;
  letter-spacing: -.025em;
  color: var(--ink);
  margin: 0 0 18px;
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
}
.lg-content h2 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
}
.lg-content h2 .lg-content__num {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .08em;
  color: var(--lime-deep);
  background: rgba(200,255,3,.08);
  border: 1px solid rgba(200,255,3,.3);
  padding: 4px 9px;
  border-radius: 6px;
  letter-spacing: .12em;
  flex: none;
}
.lg-content h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 17px;
  line-height: 1.3;
  letter-spacing: -.01em;
  color: var(--ink);
  margin: 28px 0 12px;
}

.lg-content p {
  margin: 0 0 14px;
}
.lg-content p strong { color: var(--ink); font-weight: 500; }
.lg-content a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--lime-deep);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
  transition: text-decoration-color .2s var(--ease), color .2s var(--ease);
}
.lg-content a:hover {
  color: var(--lime-deep);
  text-decoration-color: var(--ink);
}

.lg-content ul,
.lg-content ol {
  margin: 0 0 16px;
  padding-left: 22px;
}
.lg-content li { margin-bottom: 6px; }
.lg-content ul li::marker { color: var(--lime-deep); }
.lg-content ol li::marker { color: var(--text-3); font-family: var(--font-mono); font-size: .85em; }

/* Highlighted keyword inline */
.lg-content mark {
  background: rgba(200,255,3,.18);
  color: var(--ink);
  padding: 2px 5px;
  border-radius: 4px;
  font-weight: 500;
}

/* Cookie / facts table */
.lg-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 24px;
  font-size: 13.5px;
  font-family: var(--font-body);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.lg-content table thead {
  background: var(--bg-alt);
}
.lg-content table th {
  text-align: left;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-2);
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
}
.lg-content table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-2);
  vertical-align: top;
}
.lg-content table tr:last-child td { border-bottom: none; }
.lg-content table td code {
  font-family: var(--font-mono);
  font-size: 12px;
  background: rgba(10,10,10,.04);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--ink);
}

/* Definition list (used in imprint) */
.lg-content dl {
  display: grid;
  grid-template-columns: minmax(140px, 200px) 1fr;
  gap: 8px 24px;
  margin: 0 0 20px;
  padding: 18px 20px;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.lg-content dt {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .04em;
  color: var(--text-3);
  text-transform: uppercase;
}
.lg-content dd {
  margin: 0;
  color: var(--ink-2);
  font-size: 14.5px;
}
@media (max-width: 600px) {
  .lg-content dl { grid-template-columns: 1fr; gap: 4px; padding: 16px; }
  .lg-content dt { padding-top: 8px; }
}

/* Inline call-out / important box */
.lg-callout {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 18px;
  background: rgba(200,255,3,.06);
  border: 1px solid rgba(200,255,3,.3);
  border-left: 3px solid var(--lime-deep);
  border-radius: 10px;
  margin: 16px 0 24px;
  font-size: 14.5px;
  color: var(--ink-2);
}
.lg-callout strong { color: var(--ink); font-weight: 500; }
.lg-callout svg {
  flex: none;
  width: 18px;
  height: 18px;
  color: var(--ink);
  margin-top: 1px;
}

/* "Questions?" CTA card at bottom of content */
.lg-cta {
  margin-top: clamp(48px, 6vw, 72px);
  position: relative;
  background: var(--ink);
  color: #fff;
  border-radius: 24px;
  padding: clamp(28px, 3.6vw, 44px);
  overflow: hidden;
}
.lg-cta::after {
  content: "";
  position: absolute;
  inset: -30% -30% auto auto;
  width: 70%;
  height: 80%;
  background: radial-gradient(ellipse at center, var(--lime-soft), transparent 65%);
  pointer-events: none;
  opacity: .8;
}
.lg-cta > * { position: relative; z-index: 1; }
.lg-cta__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
  margin-bottom: 14px;
}
.lg-cta__tag .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 8px var(--lime-glow);
  animation: pulseDot 1.8s var(--ease) infinite;
}
.lg-cta__h {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.1;
  letter-spacing: -.02em;
  color: #fff;
  margin: 0 0 12px;
  max-width: 28ch;
}
.lg-cta__h em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--lime);
}
.lg-cta__p {
  font-family: var(--font-body);
  font-size: 14.5px;
  line-height: 1.55;
  color: rgba(255,255,255,.65);
  margin: 0 0 22px;
  max-width: 56ch;
}
.lg-cta__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}
.lg-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: var(--lime);
  color: var(--ink);
  border-radius: var(--r-pill);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: .01em;
  text-decoration: none;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
  box-shadow: 0 0 0 0 var(--lime-glow);
}
.lg-cta__btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 30px -10px var(--lime-glow);
}
.lg-cta__btn svg { transition: transform .25s var(--ease); }
.lg-cta__btn:hover svg { transform: translate(2px, -2px); }
.lg-cta__mail {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .02em;
  color: rgba(255,255,255,.7);
  text-decoration: none;
  transition: color .2s var(--ease);
}
.lg-cta__mail:hover { color: var(--lime); }

