/* ============================================================
   Amplifyd 2.0 — shared stylesheet
   Editorial brutalist: warm paper, teal ink, one gold accent,
   hard edges, 1px hairlines, Montserrat + JetBrains Mono.
   ============================================================ */

:root {
  --teal: #10455B;
  --teal-2: #0B3344;
  --teal-3: #061E29;
  --gold: #FFAF20;
  --gold-2: #FFC559;
  --paper: #F5F1EA;
  --paper-2: #EDE6DA;
  --paper-3: #E2D9C7;
  --ink: #10455B;
  --line: rgba(16, 69, 91, 0.18);
  --line-strong: rgba(16, 69, 91, 0.35);

  --sans: 'Montserrat', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--paper);
  color: var(--teal);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { color: inherit; }

/* ---------- keyframes ---------- */
@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: .35; }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- signature marker-pen highlight ---------- */
.hl {
  position: relative;
  padding: 0 .14em;
  color: var(--ink);
  background-image: linear-gradient(var(--gold), var(--gold));
  background-repeat: no-repeat;
  background-position: left bottom;
  background-size: 0% 62%;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  transition: background-size .72s cubic-bezier(.22, .61, .36, 1) var(--hl-delay, 0s);
}
.hl.hl-on { background-size: 100% 62%; }
@media (prefers-reduced-motion: reduce) {
  .hl { transition: none; background-size: 100% 62%; }
}

/* gold accent text (<< >> marker) */
.accent { color: var(--gold); }

/* ---------- reusable atoms ---------- */
.eyebrow {
  font-family: var(--mono);
  font-size: 13px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--teal); opacity: .65;
}
.eyebrow.light { color: var(--gold); opacity: 1; }
.mono {
  font-family: var(--mono);
  font-size: 12px; letter-spacing: .18em; color: var(--teal); opacity: .65;
}
.gold-text { color: var(--gold); }

.btn-primary {
  display: inline-block;
  background: var(--gold); color: var(--teal-3); border: 0;
  padding: 20px 32px; font-size: 16px; font-weight: 700;
  letter-spacing: .02em; cursor: pointer; font-family: var(--sans);
  text-decoration: none; line-height: 1;
}
.btn-secondary {
  font-family: var(--mono);
  font-size: 12px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--teal); cursor: pointer; text-decoration: none;
  border-bottom: 1px solid var(--teal); padding-bottom: 4px;
}
.link-arrow {
  display: inline-flex; align-items: center; align-self: flex-start;
  font-family: var(--mono); font-size: 13px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--teal); font-weight: 600;
  text-decoration: none; border-bottom: 2px solid var(--gold); padding-bottom: 6px;
}
.link-arrow span { margin-left: 8px; }

/* ============================================================
   NAV (shared)
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center;
  padding: 20px 48px; gap: 48px;
  background: rgba(245, 241, 234, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  font-family: var(--sans);
}
.nav__brand {
  font-size: 22px; font-weight: 800; letter-spacing: -0.02em;
  color: var(--teal); text-decoration: none; cursor: pointer; user-select: none;
}
.nav__brand i { color: var(--gold); font-style: normal; }
.nav__links { display: flex; gap: 36px; justify-content: center; }
.nav__link {
  font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  cursor: pointer; transition: color .2s; text-decoration: none; color: var(--teal);
}
.nav__link.is-active { color: var(--gold); }
.nav__cta {
  background: var(--teal); color: #fff; border: 0; text-decoration: none;
  padding: 14px 22px; font-size: 13px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; cursor: pointer; font-family: var(--sans);
}
.nav__cta span { margin-left: 8px; }

/* hamburger toggle — hidden on desktop, shown on mobile */
.nav__toggle {
  display: none;
  width: 44px; height: 44px; padding: 0; margin: 0;
  background: transparent; border: 0; cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav__toggle span {
  display: block; width: 24px; height: 2px; background: var(--teal);
  transition: transform .25s ease, opacity .2s ease;
}
.nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   Generic section wrappers
   ============================================================ */
.section { padding: 160px 64px; }
.section--alt { background: var(--paper-2); }
.section--hairline { border-top: 1px solid var(--line); }

.bg-glyph {
  position: absolute; font-family: var(--sans); font-weight: 900;
  line-height: .8; letter-spacing: -0.06em; color: rgba(255, 175, 32, 0.10);
  pointer-events: none; z-index: 0;
}

/* ============================================================
   HERO (homepage / case-studies index share most of this)
   ============================================================ */
.hero {
  position: relative; padding: 40px 64px 0;
  display: flex; flex-direction: column; overflow: hidden;
}
.hero__glyph { right: -120px; top: -80px; font-size: 1100px; }
.hero__topmeta {
  position: relative; z-index: 2; display: flex; justify-content: space-between;
  font-family: var(--mono); font-size: 12px; letter-spacing: .18em;
  color: var(--teal); opacity: .65; padding-top: 24px; padding-bottom: 40px;
}
.hero__eyebrow {
  position: relative; z-index: 2; margin-bottom: 36px;
  font-family: var(--mono); font-size: 13px; letter-spacing: .22em;
  text-transform: uppercase; color: var(--teal); opacity: .7;
}
.hero__h1 {
  position: relative; z-index: 2; font-family: var(--sans);
  font-weight: 900; font-size: clamp(56px, 9vw, 132px);
  line-height: .96; letter-spacing: -0.03em; margin: 0; color: var(--teal);
}
.hero__h1 .strike {
  text-decoration: line-through; text-decoration-color: rgba(16, 69, 91, 0.35);
  text-decoration-thickness: 6px;
}
.hero__bottom {
  position: relative; z-index: 2; display: grid; grid-template-columns: 1.4fr 1fr;
  gap: 64px; margin-top: 56px; align-items: flex-end;
}
.hero__lede {
  font-size: 22px; line-height: 1.45; color: var(--teal); font-weight: 500;
  margin: 0; max-width: 720px; font-family: var(--sans);
}
.hero__ctacol { display: flex; flex-direction: column; gap: 20px; align-items: flex-end; }
.hero__metacol { display: flex; gap: 32px; justify-content: flex-end; }
.hero__metaitem { display: flex; flex-direction: column; gap: 6px; align-items: flex-end; }
.hero__metanum {
  font-family: var(--sans); font-size: 56px; font-weight: 800;
  letter-spacing: -0.03em; color: var(--teal); line-height: 1;
}
.hero__metalbl { font-family: var(--mono); font-size: 10px; letter-spacing: .16em; color: var(--teal); opacity: .6; }

/* ticker marquee */
.marquee-wrap {
  position: relative; z-index: 2; margin-top: 64px; margin-left: -64px; margin-right: -64px;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  overflow: hidden; padding: 20px 0; background: rgba(255, 175, 32, 0.06);
}
.marquee { display: flex; white-space: nowrap; animation: ticker 40s linear infinite; }
.marquee__row {
  display: flex; align-items: center; gap: 40px; padding-right: 40px;
  font-family: var(--mono); font-size: 14px; letter-spacing: .16em;
  color: var(--teal); font-weight: 500;
}
.marquee__dot { color: var(--gold); }

/* ============================================================
   DIAGNOSIS (homepage)
   ============================================================ */
.diag__h2 {
  font-family: var(--sans); font-weight: 800; font-size: clamp(48px, 7vw, 96px);
  line-height: 1.0; letter-spacing: -0.02em; margin: 0; color: var(--teal); max-width: 1400px;
}
.diag__intro {
  font-size: 22px; line-height: 1.45; color: var(--teal); margin: 40px 0 80px;
  max-width: 900px; font-weight: 500; font-family: var(--sans);
}
.diag__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: #fff; border: 1px solid var(--line); padding: 36px;
  display: flex; flex-direction: column; gap: 16px;
}
.card__num { font-family: var(--mono); font-size: 13px; letter-spacing: .16em; color: var(--gold); }
.card__title {
  font-family: var(--sans); font-size: 28px; font-weight: 700; line-height: 1.15;
  margin: 0; color: var(--teal);
}
.card__body {
  font-family: var(--sans); font-size: 17px; line-height: 1.55; margin: 0;
  color: var(--teal); opacity: .82;
}

/* ============================================================
   MODEL (homepage) — intro, live system, brain constellation
   ============================================================ */
.model__head { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: flex-end; }
.model__h2 {
  font-family: var(--sans); font-weight: 800; font-size: clamp(48px, 7vw, 96px);
  line-height: 1.0; letter-spacing: -0.02em; margin: 0; color: var(--teal);
}
.model__intro {
  font-size: 20px; line-height: 1.5; color: var(--teal); font-weight: 500; margin: 0;
  max-width: 600px; font-family: var(--sans); padding-bottom: 12px;
}

/* two-halves live system */
.live { margin-top: 96px; }
.live__split { display: grid; grid-template-columns: 1fr 1.15fr; border: 1px solid var(--line); }
.live__humans { padding: 48px; background: #fff; }
.live__system { padding: 48px; background: var(--teal-2); color: #fff; }
.live__tag {
  font-family: var(--mono); font-size: 12px; letter-spacing: .18em; color: var(--teal);
  opacity: .7; margin-bottom: 24px;
}
.live__system .live__tag { color: var(--gold); opacity: .9; }
.live__title {
  font-family: var(--sans); font-size: 56px; font-weight: 800; letter-spacing: -0.02em;
  color: var(--teal); margin: 0 0 24px; line-height: 1;
}
.live__system .live__title { color: #fff; }
.live__title .gold-text { color: var(--gold); }
.live__body { font-family: var(--sans); font-size: 17px; line-height: 1.55; color: var(--teal); opacity: .85; margin: 0 0 32px; }
.live__system .live__body { color: rgba(255, 255, 255, 0.82); }

/* expand toggle — desktop shows all detail, so the button is hidden there */
.live__expand { display: none; }

/* per-card brain half — desktop uses the seam overlay instead, so hide here */
.live__brain { display: none; }

/* Brain illustration overlaid at the seam between the two halves */
.live__stage { position: relative; }
.seam-brain { position: absolute; inset: 0; z-index: 5; pointer-events: none; }
.seam-brain__anchor { position: absolute; left: 46.5%; top: 50%; transform: translate(-50%, -50%); }
.seam-brain__wrap { position: relative; width: 300px; height: 340px; }
.seam-brain__half {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain;
  filter: drop-shadow(0 6px 16px rgba(16, 69, 91, 0.18));
  transition: opacity .55s ease, filter .55s ease, transform .55s ease;
}
/* The brain is the focal point: both panels sit blurred at rest, and hovering
   a half brings only that side into focus while the other stays soft. */
.live__humans, .live__system {
  filter: blur(11px); opacity: .5;
  transition: filter .55s ease, opacity .55s ease;
}
.live__humans:hover, .live__system:hover { filter: none; opacity: 1; }
.live__stage:has(.live__humans:hover) .seam-brain__half--left { opacity: 0; filter: blur(10px); }
.live__stage:has(.live__humans:hover) .seam-brain__half--right { transform: scale(1.04); }
.live__stage:has(.live__system:hover) .seam-brain__half--right { opacity: 0; filter: blur(10px); }
.live__stage:has(.live__system:hover) .seam-brain__half--left { transform: scale(1.04); }

@media (hover: none) {
  .live__humans, .live__system { filter: none !important; opacity: 1 !important; }
}

.ini-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 28px; }
.ini-cell {
  aspect-ratio: 1; background: var(--paper); position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center; border: 1px solid var(--line);
}
.ini-cell img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; }

.note { background: var(--paper); border: 1px solid var(--line); padding: 14px 18px; display: flex; flex-direction: column; gap: 6px; margin-bottom: 28px; }
.note__tag { font-family: var(--mono); font-size: 10px; letter-spacing: .18em; opacity: .55; color: var(--teal); }
.note__text { font-family: var(--sans); font-size: 14px; line-height: 1.45; color: var(--teal); }

.creds { display: flex; flex-wrap: wrap; gap: 6px; }
.cred {
  font-family: var(--mono); font-size: 10px; letter-spacing: .12em; padding: 5px 9px;
  background: var(--paper); border: 1px solid var(--line); color: var(--teal); text-transform: uppercase;
}

.feed-panel { background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.12); padding: 18px; margin-bottom: 14px; }
.feed-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.feed-head__left { display: flex; align-items: center; gap: 8px; }
.feed-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); animation: pulse-dot 1.6s ease-in-out infinite; display: inline-block; }
.feed-head__label { font-family: var(--mono); font-size: 10px; letter-spacing: .16em; opacity: .75; color: #fff; }
.feed-head__meta { font-family: var(--mono); font-size: 10px; letter-spacing: .12em; opacity: .55; color: #fff; }
.feed-rows { display: flex; flex-direction: column; gap: 1px; }
.feed-row {
  display: grid; grid-template-columns: 88px 1fr 70px; gap: 12px; padding: 11px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08); align-items: baseline;
}
.feed-row.is-new { animation: rise .6s ease; }
.feed-row__tag { font-family: var(--mono); font-size: 10px; letter-spacing: .14em; color: rgba(255, 255, 255, 0.55); }
.feed-row__tag.is-anom { color: var(--gold); }
.feed-row__text { font-family: var(--sans); font-size: 13px; line-height: 1.4; color: #fff; }
.feed-row__ago { font-family: var(--mono); font-size: 10px; opacity: .45; text-align: right; color: #fff; }

.statrow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.stat-cell { background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.10); padding: 12px 14px; }
.stat-cell__key { font-family: var(--mono); font-size: 9px; letter-spacing: .16em; opacity: .55; margin-bottom: 6px; color: #fff; }
.stat-cell__val { font-family: var(--sans); font-size: 24px; font-weight: 700; letter-spacing: -0.02em; color: #fff; }
.stat-cell__desc { font-family: var(--sans); font-size: 11px; opacity: .55; font-weight: 400; }

/* teams pair under live system */
.teams2 { display: grid; grid-template-columns: 1fr 1.15fr; gap: 1px; margin-top: 24px; background: var(--line); border: 1px solid var(--line); }
.teams2__card { background: #fff; padding: 48px; display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.badge {
  font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  font-weight: 600; padding: 8px 12px; line-height: 1; display: inline-block; white-space: nowrap;
}
.badge--gold { background: var(--gold); color: var(--teal-3); }
.badge--teal { background: var(--teal); color: #fff; }
.badge--dark { background: rgba(255, 255, 255, 0.12); color: #fff; }
.teams2__title { font-family: var(--sans); font-size: 28px; font-weight: 700; color: var(--teal); margin: 0; letter-spacing: -0.01em; }
.teams2__body { font-family: var(--sans); font-size: 17px; line-height: 1.5; color: var(--teal); opacity: .82; margin: 0; }

/* brain constellation */
.brain-con { margin-top: 120px; }
.brain-con__h2 { font-family: var(--sans); font-weight: 800; font-size: clamp(48px, 7vw, 96px); line-height: 1.0; letter-spacing: -0.02em; margin: 0 0 72px; color: var(--teal); }
.brain-con__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.brain-stage { position: relative; min-width: 0; }
.brain-stage__img { display: block; width: 100%; height: auto; aspect-ratio: 1280 / 1024; border: 0; pointer-events: none; }
.brain-core {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 150px; height: 150px; border-radius: 50%; background: var(--teal); color: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; box-shadow: 0 0 0 10px rgba(16, 69, 91, 0.08);
}
.brain-core__title { font-family: var(--sans); font-size: 22px; font-weight: 800; letter-spacing: -0.01em; }
.brain-core__sub { font-family: var(--mono); font-size: 10px; letter-spacing: .12em; color: var(--gold); margin-top: 8px; }
.brain-mode {
  position: absolute; top: 50%; left: 50%; width: 138px; background: #fff;
  border: 1px solid var(--line-strong); padding: 13px 14px; text-align: center;
}
.brain-mode__title { font-family: var(--sans); font-size: 16px; font-weight: 700; color: var(--teal); }
.brain-con__copyhead { font-family: var(--sans); font-size: 30px; font-weight: 700; line-height: 1.2; color: var(--teal); margin: 0 0 22px; letter-spacing: -0.01em; }
.brain-con__copybody { font-family: var(--sans); font-size: 17px; line-height: 1.55; color: var(--teal); opacity: .85; margin: 0 0 22px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.chip {
  font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  padding: 6px 10px; line-height: 1; color: var(--teal); border: 1px solid var(--line-strong);
  background: transparent; white-space: nowrap;
}
.chip--gold { color: var(--teal-3); background: var(--gold); border-color: var(--gold); }
.cap-label { font-family: var(--mono); font-size: 11px; letter-spacing: .2em; color: var(--teal); opacity: .6; margin-bottom: 14px; }

/* ============================================================
   PILLARS (homepage + amplifai)
   ============================================================ */
.pillars__h2 {
  font-family: var(--sans); font-weight: 800; font-size: clamp(48px, 7vw, 96px);
  line-height: 1.0; letter-spacing: -0.02em; margin: 0 0 80px; color: var(--teal);
}
.pillars__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.pillar-col { border-top: 3px solid var(--teal); padding-top: 28px; display: flex; flex-direction: column; gap: 20px; }
.pillar-col__num { font-family: var(--mono); font-size: 13px; letter-spacing: .16em; color: var(--gold); font-weight: 600; }
.pillar-col__title { font-family: var(--sans); font-size: 30px; font-weight: 700; line-height: 1.15; margin: 0; color: var(--teal); }
.pillar-col__body { font-family: var(--sans); font-size: 16px; line-height: 1.55; color: var(--teal); opacity: .8; margin: 0; }
.pillars__result { margin-top: 80px; padding: 48px; background: var(--teal-2); display: grid; grid-template-columns: 180px 1fr; gap: 48px; align-items: center; }
.pillars__result-label { font-family: var(--mono); font-size: 14px; letter-spacing: .18em; color: var(--gold); }
.pillars__result-body { font-family: var(--sans); font-size: 24px; line-height: 1.4; color: #fff; font-weight: 500; margin: 0; }

/* amplifai pillars variant: card with teal top accent */
.pillars-intro { font-family: var(--sans); font-size: 21px; color: var(--teal); opacity: .8; font-weight: 500; margin: 28px 0 72px; }
.pillar-card { background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--teal); padding: 40px; display: flex; flex-direction: column; gap: 16px; }
.pillar-card__num { font-family: var(--mono); font-size: 13px; letter-spacing: .16em; color: var(--gold); font-weight: 600; }
.pillar-card__title { font-family: var(--sans); font-size: 28px; font-weight: 700; line-height: 1.15; color: var(--teal); margin: 0; letter-spacing: -0.01em; }
.pillar-card__body { font-family: var(--sans); font-size: 16.5px; line-height: 1.55; color: var(--teal); opacity: .82; margin: 0; }

/* shared marker used on amplifai headings */
.mark { background: var(--gold); color: var(--teal); padding: 0 10px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }

/* ============================================================
   PROOF (homepage)
   ============================================================ */
.proof__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 48px; flex-wrap: wrap; margin-bottom: 64px; }
.proof__h2 { font-family: var(--sans); font-weight: 800; font-size: clamp(48px, 7vw, 96px); line-height: 1.0; letter-spacing: -0.02em; margin: 0; color: var(--teal); }
.proof__tabs { display: flex; gap: 4px; border: 1px solid var(--line); padding: 4px; }
.proof__tab {
  font-family: var(--mono); font-size: 12px; letter-spacing: .16em; border: 0;
  padding: 14px 20px; cursor: pointer; font-weight: 600; background: transparent; color: var(--teal);
}
.proof__tab.is-active { background: var(--teal); color: #fff; }
.proof__body { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; animation: rise .5s ease-out; }
.proof__left { display: flex; flex-direction: column; gap: 24px; }
.proof__name { font-family: var(--sans); font-size: 84px; font-weight: 800; letter-spacing: -0.025em; margin: 0; color: var(--teal); line-height: .95; }
.proof__desc { font-family: var(--sans); font-size: 20px; line-height: 1.5; color: var(--teal); opacity: .85; margin: 0; max-width: 600px; }
.quote-block { padding: 28px; background: var(--paper-2); border-left: 4px solid var(--gold); margin-top: 8px; }
.quote-block__text { font-family: var(--sans); font-size: 18px; line-height: 1.4; color: var(--teal); font-style: italic; margin: 0; }
.quote-block__attr { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); opacity: .7; margin-top: 14px; }
.proof__right { display: flex; flex-direction: column; gap: 16px; }
.big-stat { background: var(--teal-2); color: #fff; padding: 36px; flex: 1; display: flex; flex-direction: column; justify-content: center; }
.big-stat__val { font-family: var(--sans); font-size: clamp(96px, 11vw, 160px); font-weight: 800; color: var(--gold); line-height: .92; letter-spacing: -0.025em; }
.big-stat__label { font-family: var(--mono); font-size: 13px; letter-spacing: .16em; color: #fff; opacity: .85; margin-top: 12px; text-transform: uppercase; }
.small-grid { display: grid; gap: 16px; grid-template-columns: repeat(2, 1fr); }
.small-stat { background: #fff; border: 1px solid var(--line); padding: 24px; }
.small-stat__val { font-family: var(--sans); font-size: 48px; font-weight: 800; color: var(--teal); line-height: 1; letter-spacing: -0.02em; }
.small-stat__label { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; color: var(--teal); opacity: .75; margin-top: 10px; text-transform: uppercase; }

/* ============================================================
   CLIENTS / PARTNERS logo walls
   ============================================================ */
.clients__head { margin-bottom: 64px; max-width: 1400px; }
.clients__h2 { font-family: var(--sans); font-weight: 800; font-size: clamp(48px, 7vw, 96px); line-height: 1.0; letter-spacing: -0.02em; margin: 0; color: var(--teal); }
.logo-wall { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-right: 0; border-bottom: 0; }
.logo-cell {
  height: 130px; display: flex; align-items: center; justify-content: center;
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  font-family: var(--sans); font-size: 22px; font-weight: 700; color: var(--teal);
  background: rgba(255, 255, 255, 0.4);
}
.logo-cell .serif { font-family: Georgia, serif; }
.logo-cell .chanel { font-family: Georgia, serif; letter-spacing: .18em; text-transform: uppercase; }
.logo-cell .coke { font-family: Georgia, serif; font-weight: 600; }

/* ============================================================
   PROCESS (homepage)
   ============================================================ */
.process__h2 { font-family: var(--sans); font-weight: 800; font-size: clamp(48px, 7vw, 96px); line-height: 1.0; letter-spacing: -0.02em; margin: 0; color: var(--teal); max-width: 1300px; }
.process__intro { font-family: var(--sans); font-size: 22px; line-height: 1.45; color: var(--teal); margin: 32px 0 80px; max-width: 1100px; font-weight: 500; }
.process__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.process__step { display: flex; flex-direction: column; gap: 14px; }
.process__rule { height: 3px; background: var(--teal); margin-bottom: 16px; }
.process__num { font-family: var(--mono); font-size: 14px; letter-spacing: .16em; color: var(--gold); font-weight: 600; }
.process__steptitle { font-family: var(--sans); font-size: 28px; font-weight: 700; line-height: 1.15; margin: 0; color: var(--teal); }
.process__stepbody { font-family: var(--sans); font-size: 17px; line-height: 1.55; color: var(--teal); opacity: .82; margin: 0; }
.outro-band { background: var(--teal); color: #fff; padding: 96px 64px; }
.process__outrotext { font-family: var(--sans); font-size: clamp(36px, 4.5vw, 64px); line-height: 1.12; font-weight: 800; color: #fff; margin: 0; letter-spacing: -0.02em; max-width: 1200px; }

/* ============================================================
   TRACK RECORD (homepage)
   ============================================================ */
.track__head { margin-bottom: 72px; max-width: 1400px; }
.track__h2 { font-family: var(--sans); font-weight: 800; font-size: clamp(48px, 7vw, 96px); line-height: 1.0; letter-spacing: -0.02em; margin: 0; color: var(--teal); }
.track__intro { font-family: var(--sans); font-size: 22px; line-height: 1.45; font-weight: 500; color: var(--teal); margin: 32px 0 0; max-width: 860px; }
.track__statgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-bottom: 72px; }
.track__stat { border-top: 3px solid var(--teal); padding-top: 24px; }
.track__statval { font-family: var(--sans); font-weight: 800; font-size: clamp(48px, 5vw, 68px); line-height: 1; letter-spacing: -0.03em; color: var(--teal); white-space: nowrap; }
.track__statlbl { font-family: var(--mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--teal); opacity: .7; margin-top: 16px; }
.track__certrow { display: flex; align-items: center; flex-wrap: wrap; gap: 18px 22px; padding-top: 32px; border-top: 1px solid var(--line); }
.track__certlead { font-family: var(--mono); font-size: 14px; letter-spacing: .2em; text-transform: uppercase; color: var(--teal); opacity: .5; margin-right: 8px; }
.track__cert { height: 90px; width: auto; display: block; object-fit: contain; }

/* ============================================================
   CTA + form (shared homepage / case studies / case study)
   ============================================================ */
.cta { position: relative; padding: 160px 64px 64px; background: var(--teal-2); color: #fff; overflow: hidden; }
.cta__glyph { left: -80px; bottom: -240px; font-size: 1100px; color: rgba(255, 175, 32, 0.08); }
.cta__gold { position: absolute; left: 0; right: 0; top: 0; height: 6px; background: var(--gold); }
.cta__eyebrow { font-family: var(--mono); font-size: 13px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin-bottom: 36px; position: relative; }
.cta__h2 { font-family: var(--sans); font-weight: 800; font-size: clamp(72px, 12vw, 200px); line-height: .92; letter-spacing: -0.025em; margin: 0; color: #fff; position: relative; }
.cta__lede { font-family: var(--sans); font-size: 22px; line-height: 1.45; color: #fff; opacity: .85; margin: 40px 0 80px; max-width: 900px; font-weight: 500; position: relative; }
.cta__formwrap { position: relative; display: grid; grid-template-columns: 1.4fr 1fr; gap: 64px; align-items: flex-end; }
.cta__form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.cta__field { display: flex; flex-direction: column; gap: 8px; }
.cta__label { font-family: var(--mono); font-size: 11px; letter-spacing: .18em; color: rgba(255, 255, 255, 0.6); }
.cta__input { background: transparent; border: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.4); color: #fff; padding: 12px 0; font-size: 18px; font-family: inherit; outline: none; }
.cta__field--wide { grid-column: 1 / -1; }
.cta__textarea { border: 1px solid rgba(255, 255, 255, 0.4); padding: 14px; min-height: 132px; line-height: 1.5; resize: vertical; font-size: 18px; }
.cta__textarea::placeholder { color: rgba(255, 255, 255, 0.45); }
.cta__submit { grid-column: span 2; border: 0; color: var(--teal-3); padding: 24px 32px; font-size: 18px; font-weight: 700; font-family: inherit; letter-spacing: -0.005em; transition: background .2s; margin-top: 12px; background: rgba(255, 175, 32, 0.3); cursor: not-allowed; }
.cta__submit.is-valid { background: var(--gold); cursor: pointer; }
.cta__success { grid-column: 1 / -1; padding: 36px; border: 1px solid var(--gold); background: rgba(255, 175, 32, 0.08); }
.cta__success-title { font-family: var(--sans); font-size: 36px; font-weight: 700; color: var(--gold); margin: 0; }
.cta__success-body { font-family: var(--sans); font-size: 18px; color: #fff; opacity: .85; margin: 12px 0 0; }
.cta__contact { display: flex; flex-direction: column; gap: 6px; align-items: flex-end; text-align: right; }
.cta__contact-line { font-family: var(--mono); font-size: 13px; letter-spacing: .16em; color: #fff; text-transform: uppercase; }
.cta__foot { position: relative; margin-top: 96px; padding-top: 36px; border-top: 1px solid rgba(255, 255, 255, 0.18); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; font-family: var(--mono); font-size: 12px; letter-spacing: .16em; color: rgba(255, 255, 255, 0.55); text-transform: uppercase; }
.cta__foot i { color: var(--gold); font-style: normal; }
.is-hidden { display: none !important; }

/* ============================================================
   AMPLIFAI — system flow
   ============================================================ */
.flow { position: relative; padding: 56px 64px 140px; overflow: hidden; }
.flow__glyph { right: -60px; top: -40px; font-size: 620px; color: rgba(255, 175, 32, 0.08); }
.flow__herohead { position: relative; z-index: 2; max-width: 1040px; margin: 0 auto; text-align: center; }
.flow__topmeta { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 12px; letter-spacing: .18em; color: var(--teal); opacity: .6; margin-bottom: 48px; }
.flow__h1 { font-family: var(--sans); font-weight: 900; font-size: clamp(40px, 5.4vw, 76px); line-height: 1.02; letter-spacing: -0.03em; margin: 0; color: var(--teal); }
.flow__mark { background: var(--gold); color: var(--teal); padding: 0 12px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.flow__lede { font-family: var(--sans); font-size: 21px; line-height: 1.5; font-weight: 500; color: var(--teal); opacity: .85; margin: 32px auto 0; max-width: 720px; }
.flow__tagline { font-family: var(--mono); font-size: 14px; letter-spacing: .08em; color: var(--teal); opacity: .8; margin-top: 28px; }
.flow__tagline .strike { text-decoration: line-through; text-decoration-color: var(--gold); text-decoration-thickness: 2px; opacity: .55; }
.flow__own { color: var(--gold); font-weight: 600; }

.flow__grid { position: relative; z-index: 2; max-width: 1180px; margin: 88px auto 0; display: grid; grid-template-columns: 56px 1fr; }
.rail { position: relative; display: flex; flex-direction: column; align-items: center; padding-top: 30px; }
.rail__arrow { font-family: var(--sans); font-size: 20px; color: var(--gold); font-weight: 700; margin-bottom: 14px; }
.rail__text { writing-mode: vertical-rl; transform: rotate(180deg); font-family: var(--mono); font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--teal); opacity: .5; white-space: nowrap; }
.rail__line { flex: 1; width: 1px; margin-top: 14px; background: var(--line-strong); }
.flow__col { min-width: 0; }

.stage-label { display: flex; align-items: center; gap: 16px; justify-content: center; font-family: var(--mono); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--teal); opacity: .7; margin-bottom: 20px; }
.stage-label__bar { height: 1px; flex: 1; max-width: 80px; background: var(--line-strong); }

.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

.flow-card {
  background: var(--teal-2); border: 1px solid var(--teal-2); padding: 22px 20px 24px;
  display: flex; flex-direction: column; min-height: 232px; will-change: transform;
  transition: background .35s ease, border-color .35s ease, transform .4s cubic-bezier(.22, .61, .36, 1), box-shadow .4s ease;
}
.flow-card__rule { height: 3px; width: 32px; background: var(--gold); margin-bottom: 18px; }
.flow-card__title { font-family: var(--sans); font-size: 19px; font-weight: 700; color: #fff; margin: 0; letter-spacing: -0.01em; transition: color .35s ease; }
.flow-card__sub { font-family: var(--sans); font-size: 13.5px; color: #fff; opacity: .55; margin-top: 6px; margin-bottom: 18px; line-height: 1.35; transition: color .35s ease, opacity .35s ease; }
.flow-card__chips { display: flex; flex-wrap: wrap; gap: 7px; opacity: 0; transform: translateY(10px); transition: opacity .4s ease .04s, transform .45s cubic-bezier(.22, .61, .36, 1) .04s; pointer-events: none; }
.flow-card__hint { font-family: var(--mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: #fff; font-weight: 500; margin-top: auto; padding-top: 16px; opacity: .45; transition: opacity .3s ease; }
.flow-card__hint span { color: var(--gold); }
.flow-card:hover {
  background: #fff; border-color: var(--gold); transform: translateY(-6px);
  box-shadow: 0 18px 38px rgba(16, 69, 91, 0.20);
}
.flow-card:hover .flow-card__title { color: var(--teal); }
.flow-card:hover .flow-card__sub { color: var(--teal); opacity: .65; }
.flow-card:hover .flow-card__chips { opacity: 1; transform: translateY(0); pointer-events: auto; }
.flow-card:hover .flow-card__hint { opacity: 0; }

/* Animated flow connectors between stages */
.flowline { position: relative; width: 100%; }
.flowline__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.flowline__path { stroke-width: 2.4; fill: none; stroke-dasharray: 7 9; animation: ampDash 1.05s linear infinite; animation-delay: var(--d, 0s); }
@keyframes ampDash { to { stroke-dashoffset: -32; } }
.flowline__pulse { display: none; position: absolute; inset: 0; align-items: stretch; justify-content: center; }
.flowline__rail { position: relative; width: 4px; height: 100%; margin: 0 auto; background: var(--line); overflow: hidden; }
.flowline__dot { position: absolute; left: -3px; right: -3px; height: 38px; border-radius: 4px; background: linear-gradient(to bottom, transparent, var(--gold) 50%, transparent); animation: ampFlowDown 1.6s linear infinite; }
@keyframes ampFlowDown { 0% { top: -42px; } 100% { top: 100%; } }
.flowline__label { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 2; background: var(--paper); padding: 3px 14px; font-family: var(--mono); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--teal); opacity: .75; white-space: nowrap; }

.layer-stack { display: grid; gap: 16px; }
.layer__tag { font-family: var(--mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--teal); opacity: .6; margin-bottom: 10px; text-align: center; }
.layer-tile-wide { background: #FEF6E6; border: 1px solid var(--gold); height: 92px; display: flex; align-items: center; justify-content: center; padding: 0 24px; }
.layer-tile-wide img { height: 44px; width: auto; object-fit: contain; }
.layer-grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.layer-tile { background: #FEF6E6; border: 1px solid var(--gold); height: 92px; display: flex; align-items: center; justify-content: center; padding: 0 16px; }
.layer-tile img { max-height: 52px; max-width: 100%; width: auto; object-fit: contain; }

.brain { background: var(--teal-2); color: #fff; padding: 40px; }
.brain__head { text-align: center; margin-bottom: 28px; }
.brain__tag { font-family: var(--mono); font-size: 12px; letter-spacing: .22em; color: var(--gold); margin-bottom: 14px; }
.brain__title { font-family: var(--sans); font-size: 34px; font-weight: 800; color: #fff; margin: 0; letter-spacing: -0.02em; }
.brain__split { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.brain__card { background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.18); padding: 26px; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.brain__card--gold { border-color: var(--gold); }
.brain__card-head { font-family: var(--sans); font-size: 20px; font-weight: 700; color: #fff; }
.brain__card--gold .brain__card-head { color: var(--gold); }
.brain__card-body { font-family: var(--sans); font-size: 15px; line-height: 1.5; color: rgba(255, 255, 255, 0.8); margin: 0; flex: 1; }

.circles { display: flex; justify-content: center; gap: 22px; flex-wrap: wrap; }
.circle {
  width: 158px; height: 158px; border-radius: 50%; border: 1.5px solid var(--teal);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 16px; background: var(--gold);
}
.circle__title { font-family: var(--sans); font-size: 19px; font-weight: 800; color: var(--teal); letter-spacing: -0.01em; }

.flow-teams { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.flow-team-card { background: #fff; border: 1px solid var(--line); padding: 32px; display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.flow-team-card__title { font-family: var(--sans); font-size: 24px; font-weight: 700; color: var(--teal); margin: 0; letter-spacing: -0.01em; }
.flow-team-card__body { font-family: var(--sans); font-size: 16px; line-height: 1.5; color: var(--teal); opacity: .8; margin: 0; }

/* ============================================================
   AMPLIFAI — capability sections (brain/protect/report)
   ============================================================ */
.cap__eyebrow { font-family: var(--mono); font-size: 13px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin-bottom: 28px; }
.cap__h2 { font-family: var(--sans); font-weight: 800; font-size: clamp(40px, 5.5vw, 76px); line-height: 1.0; letter-spacing: -0.025em; margin: 0 0 72px; color: var(--teal); }
.cap__grid { display: grid; grid-template-columns: 1.7fr 1fr; gap: 56px; align-items: start; }
.shot { margin: 0; min-width: 0; border: 1px solid var(--line-strong); background: #fff; display: flex; flex-direction: column; }
.shot__bar { display: flex; align-items: center; gap: 9px; padding: 14px 18px; border-bottom: 1px solid var(--line); background: var(--paper); }
.shot__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--gold); display: inline-block; }
.shot__dot.d2 { opacity: .55; }
.shot__dot.d3 { opacity: .3; }
.shot__label { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); opacity: .6; margin-left: 10px; }
.shot__img { display: block; width: 100%; height: auto; }
.benefits { display: flex; flex-direction: column; min-width: 0; }
.benefit { padding: 30px 0; border-top: 1px solid var(--line-strong); }
.benefit__stat { font-family: var(--sans); font-weight: 900; font-size: clamp(38px, 3.6vw, 56px); line-height: .95; letter-spacing: -0.03em; color: var(--teal); }
.benefit__label { font-family: var(--sans); font-weight: 700; font-size: 19px; color: var(--teal); margin: 14px 0 8px; letter-spacing: -0.01em; }
.benefit__sub { font-family: var(--sans); font-size: 15px; line-height: 1.5; color: var(--teal); opacity: .7; margin: 0; }

/* ============================================================
   AMPLIFAI — verticals + people
   ============================================================ */
.vert__h2 { font-family: var(--sans); font-weight: 800; font-size: clamp(44px, 6vw, 84px); line-height: 1.0; letter-spacing: -0.025em; margin: 0 0 64px; color: var(--teal); }
.vert__list { border-top: 1px solid var(--line-strong); }
.vert__row { display: grid; grid-template-columns: 220px 1fr; gap: 48px; padding: 40px 0; border-bottom: 1px solid var(--line-strong); align-items: start; }
.vert__tag { font-family: var(--mono); font-size: 15px; letter-spacing: .16em; color: var(--teal); font-weight: 600; }
.vert__body { font-family: var(--sans); font-size: 19px; line-height: 1.5; color: var(--teal); opacity: .88; margin: 0; max-width: 820px; }
.vert__flag { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; color: var(--teal); opacity: .7; margin-top: 18px; }

.people__h2 { font-family: var(--sans); font-weight: 800; font-size: clamp(44px, 6vw, 84px); line-height: 1.0; letter-spacing: -0.025em; margin: 0; color: var(--teal); }
.people__intro { font-family: var(--sans); font-size: 21px; line-height: 1.45; color: var(--teal); opacity: .8; font-weight: 500; margin: 28px 0 64px; max-width: 720px; }
.people__img { display: block; width: 100%; max-width: 1160px; height: auto; margin: 0; }

/* ============================================================
   AMPLIFAI — footer
   ============================================================ */
.foot { position: relative; padding: 140px 64px 56px; background: var(--teal-2); color: #fff; overflow: hidden; }
.foot__glyph { left: -40px; bottom: -160px; font-size: 620px; color: rgba(255, 175, 32, 0.08); }
.foot__gold { position: absolute; left: 0; right: 0; top: 0; height: 6px; background: var(--gold); }
.foot__eyebrow { font-family: var(--mono); font-size: 13px; letter-spacing: .22em; color: var(--gold); margin-bottom: 32px; position: relative; }
.foot__h2 { font-family: var(--sans); font-weight: 800; font-size: clamp(56px, 9vw, 140px); line-height: .95; letter-spacing: -0.025em; margin: 0; color: #fff; position: relative; }
.foot__lede { font-family: var(--sans); font-size: 21px; line-height: 1.45; color: #fff; opacity: .85; margin: 36px 0 48px; max-width: 820px; font-weight: 500; position: relative; }
.foot__ctarow { position: relative; display: flex; gap: 28px; align-items: center; flex-wrap: wrap; }
.foot__secondary { font-family: var(--mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, 0.5); padding-bottom: 4px; }
.foot__foot { position: relative; margin-top: 96px; padding-top: 36px; border-top: 1px solid rgba(255, 255, 255, 0.18); display: flex; justify-content: space-between; font-family: var(--mono); font-size: 12px; letter-spacing: .16em; color: rgba(255, 255, 255, 0.55); text-transform: uppercase; }
.foot__foot a { color: #fff; text-decoration: none; }
.foot__foot i { color: var(--gold); font-style: normal; }

/* ============================================================
   CASE STUDIES INDEX — featured + directory
   ============================================================ */
.feat__stack { display: flex; flex-direction: column; gap: 96px; }
.feat__row { display: grid; gap: 56px; align-items: center; grid-template-columns: 1.1fr 1fr; }
.feat__row.rev { grid-template-columns: 1fr 1.1fr; }
.feat__row.rev .feat__text { order: 2; }
.feat__row.rev .feat__statcol { order: 1; }
.feat__text { display: flex; flex-direction: column; gap: 22px; }
.feat__idx { font-family: var(--mono); font-size: 12px; letter-spacing: .16em; color: var(--gold); font-weight: 600; }
.feat__name { font-family: var(--sans); font-size: clamp(56px, 7vw, 96px); font-weight: 800; letter-spacing: -0.025em; margin: 0; color: var(--teal); line-height: .95; }
.feat__desc { font-family: var(--sans); font-size: 19px; line-height: 1.5; color: var(--teal); opacity: .85; margin: 0; max-width: 580px; }
.feat__read { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); cursor: pointer; border-bottom: 1px solid var(--teal); padding-bottom: 4px; align-self: flex-start; text-decoration: none; }
.feat__statcol { display: flex; flex-direction: column; gap: 12px; align-self: stretch; }
.feat__statcol .big-stat { min-height: 260px; padding: 40px; }
.feat__statcol .small-stat { padding: 22px; }
.feat__statcol .small-stat__val { font-size: 44px; }

.dir__head { margin-bottom: 64px; }
.dir__h2 { font-family: var(--sans); font-weight: 800; font-size: clamp(48px, 7vw, 96px); line-height: .98; letter-spacing: -0.025em; margin: 0; color: var(--teal); }
.dir__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.dir__card { display: flex; flex-direction: column; gap: 28px; padding: 32px; border: 1px solid var(--line); min-height: 240px; cursor: pointer; text-decoration: none; transition: background .25s ease; justify-content: space-between; background: #fff; }
.dir__card:hover { background: var(--teal); }
.dir__num { font-family: var(--mono); font-size: 13px; letter-spacing: .16em; font-weight: 600; color: var(--gold); transition: color .25s; }
.dir__card:hover .dir__num { color: rgba(255, 255, 255, 0.5); }
.dir__mid { display: flex; flex-direction: column; gap: 12px; }
.dir__name { font-family: var(--sans); font-size: 30px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; margin: 0; color: var(--teal); transition: color .25s; }
.dir__card:hover .dir__name { color: #fff; }
.dir__sector { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; opacity: .7; color: var(--teal); transition: color .25s; }
.dir__card:hover .dir__sector { color: rgba(255, 255, 255, 0.7); }
.dir__foot { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.dir__metric { font-family: var(--sans); font-size: 18px; font-weight: 800; letter-spacing: -0.01em; color: var(--teal); transition: color .25s; }
.dir__card:hover .dir__metric { color: var(--gold); }
.dir__read { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); opacity: .65; transition: color .25s, opacity .25s; margin-left: auto; }
.dir__card:hover .dir__read { color: var(--gold); opacity: 1; }
.dir__ghost { display: flex; align-items: center; justify-content: center; padding: 32px; min-height: 240px; border: 1px dashed var(--line-strong); background: transparent; }
.dir__ghost-text { font-family: var(--mono); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); opacity: .5; text-align: center; line-height: 1.6; }

/* partners (dark) */
.partners { position: relative; padding: 160px 64px; background: var(--teal-2); overflow: hidden; }
.partners__glyph { right: -40px; top: -120px; font-size: 640px; line-height: 1; color: rgba(255, 175, 32, 0.06); letter-spacing: 0; }
.partners__head { position: relative; margin-bottom: 64px; max-width: 1300px; }
.partners__eyebrow { font-family: var(--mono); font-size: 13px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin-bottom: 28px; }
.partners__h2 { font-family: var(--sans); font-weight: 800; font-size: clamp(40px, 5.5vw, 72px); line-height: 1.05; letter-spacing: -0.02em; margin: 0; color: #fff; }
.partners__grid { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); border: 1px solid rgba(255, 255, 255, 0.18); border-right: 0; border-bottom: 0; }
.partners__cell { height: 130px; display: flex; align-items: center; justify-content: center; border-right: 1px solid rgba(255, 255, 255, 0.18); border-bottom: 1px solid rgba(255, 255, 255, 0.18); font-family: var(--sans); font-size: 20px; font-weight: 700; color: rgba(255, 255, 255, 0.85); }
.partners__cell .serif { font-family: Georgia, serif; }
.partners__cell .chanel { font-family: Georgia, serif; letter-spacing: .18em; text-transform: uppercase; }
.partners__cell .coke { font-family: Georgia, serif; font-weight: 600; }

/* ============================================================
   CASE STUDY DETAIL
   ============================================================ */
.cs-hero { position: relative; padding: 32px 64px 0; overflow: hidden; }
.cs-hero__glyph { right: -80px; top: -140px; font-size: 1000px; color: rgba(255, 175, 32, 0.10); }
.cs-hero__back { position: relative; z-index: 2; display: inline-block; font-family: var(--mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--teal); opacity: .65; text-decoration: none; margin-bottom: 40px; padding-top: 8px; }
.cs-hero__inner { position: relative; z-index: 2; padding-bottom: 24px; }
.cs-hero__eyebrow { font-family: var(--mono); font-size: 13px; letter-spacing: .22em; text-transform: uppercase; color: var(--teal); opacity: .7; margin-bottom: 28px; }
.cs-hero__h1 { font-family: var(--sans); font-weight: 900; font-size: clamp(64px, 9vw, 150px); line-height: .9; letter-spacing: -0.04em; margin: 0; color: var(--teal); }
.cs-hero__lede { font-size: 22px; line-height: 1.45; color: var(--teal); font-weight: 500; margin: 32px 0 44px; max-width: 820px; font-family: var(--sans); }
.cs-hero__kpis { display: flex; gap: 40px; flex-wrap: wrap; }
.cs-hero__kpi { display: flex; flex-direction: column; gap: 8px; }
.cs-hero__kpival { font-family: var(--sans); font-size: clamp(40px, 4.5vw, 60px); font-weight: 800; letter-spacing: -0.03em; color: var(--teal); line-height: 1; }
.cs-hero__kpilbl { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); opacity: .65; }

.ov__grid { display: grid; grid-template-columns: 200px 1fr; gap: 64px; align-items: flex-start; }
.ov__eyebrow { font-family: var(--mono); font-size: 13px; letter-spacing: .22em; text-transform: uppercase; color: var(--teal); opacity: .65; padding-top: 12px; }
.ov__h2 { font-family: var(--sans); font-weight: 800; font-size: clamp(36px, 4.5vw, 64px); line-height: 1.05; letter-spacing: -0.02em; margin: 0 0 36px; color: var(--teal); max-width: 1000px; }
.ov__body { font-family: var(--sans); font-size: 19px; line-height: 1.55; color: var(--teal); opacity: .85; margin: 0 0 24px; max-width: 820px; }
.ov__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.ov__tag { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; padding: 8px 12px; line-height: 1; color: var(--teal); border: 1px solid var(--line-strong); }

.kpis { position: relative; padding: 120px 64px; background: var(--teal-2); color: #fff; overflow: hidden; }
.kpis__glyph { right: -40px; top: -120px; font-size: 560px; line-height: 1; color: rgba(255, 175, 32, 0.06); letter-spacing: 0; }
.kpis__head { position: relative; margin-bottom: 64px; }
.kpis__eyebrow { font-family: var(--mono); font-size: 13px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin-bottom: 24px; }
.kpis__h2 { font-family: var(--sans); font-weight: 800; font-size: clamp(40px, 5vw, 72px); line-height: 1.05; letter-spacing: -0.02em; margin: 0; }
.kpis__grid { position: relative; display: grid; gap: 1px; background: rgba(255, 255, 255, 0.18); border: 1px solid rgba(255, 255, 255, 0.18); }
.kpis__stat { background: var(--teal-2); padding: 44px 36px; }
.kpis__val { font-family: var(--sans); font-weight: 800; color: var(--gold); line-height: .92; letter-spacing: -0.03em; }
.kpis__val.big { font-size: clamp(64px, 8vw, 120px); }
.kpis__val.small { font-size: clamp(44px, 4.4vw, 76px); }
.kpis__lbl { font-family: var(--mono); font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: #fff; opacity: .85; margin-top: 18px; line-height: 1.5; }

.ap__head { margin-bottom: 72px; max-width: 1200px; }
.ap__eyebrow { font-family: var(--mono); font-size: 13px; letter-spacing: .22em; text-transform: uppercase; color: var(--teal); opacity: .65; margin-bottom: 28px; }
.ap__h2 { font-family: var(--sans); font-weight: 800; font-size: clamp(40px, 6vw, 88px); line-height: 1.0; letter-spacing: -0.02em; margin: 0; color: var(--teal); }
.ap__grid { display: grid; gap: 24px; }
.ap__card { background: #fff; border: 1px solid var(--line); padding: 36px; display: flex; flex-direction: column; gap: 16px; }
.ap__num { font-family: var(--mono); font-size: 13px; letter-spacing: .16em; color: var(--gold); font-weight: 600; }
.ap__title { font-family: var(--sans); font-size: 24px; font-weight: 700; line-height: 1.15; margin: 0; color: var(--teal); }
.ap__body { font-family: var(--sans); font-size: 16px; line-height: 1.55; margin: 0; color: var(--teal); opacity: .82; }

.frame { margin: 0; min-width: 0; border: 1px solid var(--line-strong); background: #fff; display: flex; flex-direction: column; }
.frame__bar { display: flex; align-items: center; gap: 9px; padding: 14px 18px; border-bottom: 1px solid var(--line); background: var(--paper); }
.frame__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--gold); display: inline-block; }
.frame__label { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); opacity: .6; margin-left: 4px; }
.frame img { display: block; width: 100%; height: auto; }

.review { padding: 140px 64px; }
.review__grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 64px; align-items: center; }
.review__eyebrow { font-family: var(--mono); font-size: 13px; letter-spacing: .22em; text-transform: uppercase; color: var(--teal); opacity: .65; margin-bottom: 32px; }
.review__quote { font-family: var(--sans); font-weight: 500; font-size: clamp(22px, 2.3vw, 34px); line-height: 1.34; letter-spacing: -0.01em; color: var(--teal); margin: 0; max-width: 720px; }
.review__attr { display: flex; flex-direction: column; gap: 6px; margin-top: 40px; padding-top: 24px; border-top: 3px solid var(--teal); max-width: 400px; }
.review__name { font-family: var(--sans); font-size: 22px; font-weight: 700; color: var(--teal); }
.review__role { font-family: var(--mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--teal); opacity: .65; }
.review--solo { padding: 120px 64px; }
.review__solo-inner { max-width: 900px; margin: 0 auto; }

/* ============================================================
   MOBILE — real responsive layer (≤768px)
   ============================================================ */
@media (max-width: 768px) {
  html, body { overflow-x: hidden; }

  .section { padding-left: 22px; padding-right: 22px; padding-top: 90px; padding-bottom: 90px; }
  .hero, .flow, .cs-hero { padding-left: 22px; padding-right: 22px; }
  .cta, .foot, .kpis, .partners, .review, .review--solo { padding-left: 22px; padding-right: 22px; }

  /* nav collapses into a hamburger: brand + toggle on row one, menu drops below */
  .nav {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
    gap: 14px; padding-left: 20px; padding-right: 20px;
  }
  .nav__brand { order: 1; }
  .nav__toggle { display: flex; order: 2; }

  /* collapsible menu panel — hidden until .is-open */
  .nav__links {
    order: 3; flex-basis: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    display: none;
  }
  .nav.is-open .nav__links { display: flex; }
  .nav__link {
    font-size: 15px; padding: 14px 2px; width: 100%;
    border-top: 1px solid var(--line);
  }
  .nav__cta {
    order: 4; flex-basis: 100%; text-align: center;
    display: none;
  }
  .nav.is-open .nav__cta { display: block; }

  /* stack multi-column grids */
  .hero__bottom, .model__head, .diag__grid, .pillars__grid, .proof__head, .proof__body,
  .live__split, .teams2, .brain-con__grid, .brain__split, .flow-teams, .cap__grid,
  .vert__row, .feat__row, .feat__row.rev, .dir__grid, .ov__grid, .review__grid,
  .cta__formwrap, .cta__form, .pillars__result, .process__grid, .track__statgrid,
  .ap__grid, .kpis__grid, .grid4, .layer-grid4, .statrow, .ini-grid, .small-grid {
    grid-template-columns: 1fr !important;
  }
  .hero__ctacol, .hero__metacol { align-items: flex-start; justify-content: flex-start; }

  /* reversed feature rows: keep the case text above its numbers when stacked */
  .feat__row.rev .feat__text { order: 1; }
  .feat__row.rev .feat__statcol { order: 2; }

  /* brain overlay is a desktop-only seam visual */
  .seam-brain { display: none; }
  .live__humans, .live__system { filter: none !important; opacity: 1 !important; }

  /* DIAGNOSIS: drop the card body on mobile — titles carry the point, saves space */
  .diag__grid .card__body { display: none; }

  /* MODEL: collapse each half to its core (tag + title + body); detail expands on tap */
  .live { margin-top: 56px; }
  .live__humans, .live__system { position: relative; padding: 24px 18px; }
  .live__tag { font-size: 11px; margin-bottom: 14px; }
  .live__title { font-size: clamp(28px, 8.5vw, 38px); margin-bottom: 16px; overflow-wrap: break-word; }
  .live__body { font-size: 15px; line-height: 1.5; margin-bottom: 18px; }

  /* brain half tucked into the top-right of each card, scaled to sit with the type */
  .live__brain {
    display: block; position: absolute; top: 18px; right: 14px;
    width: 56px; height: auto; pointer-events: none;
    filter: drop-shadow(0 4px 12px rgba(16, 69, 91, 0.18));
  }
  .live__tag, .live__title { position: relative; padding-right: 64px; }

  /* detail internals: drop fixed columns / oversized type so nothing overruns the card */
  .feed-panel { padding: 14px; }
  .feed-row { grid-template-columns: auto 1fr auto; gap: 10px; }
  .feed-row__text { font-size: 12px; }
  .stat-cell { padding: 10px 11px; }
  .stat-cell__val { font-size: 19px; }
  .stat-cell__desc { font-size: 10px; }
  .note__text { font-size: 13px; }
  .cred { font-size: 11px; }

  /* teams2 + brain copy: trim padding and let nowrap badges wrap inside the card */
  .teams2 { margin-top: 14px; }
  .teams2__card { padding: 24px 18px; }
  .teams2__title { font-size: 22px; }
  .badge { white-space: normal; }
  .brain-con { margin-top: 64px; }
  .brain-con__copyhead { font-size: 24px; }
  .live__detail {
    overflow: hidden; max-height: 0;
    opacity: 0; transition: max-height .35s ease, opacity .3s ease;
  }
  .live__humans.is-expanded .live__detail,
  .live__system.is-expanded .live__detail { max-height: 1200px; opacity: 1; }
  .live__expand {
    display: inline-flex; align-items: center; gap: 8px;
    margin-top: 24px; padding: 11px 18px;
    font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase;
    background: transparent; border: 1px solid var(--line); color: var(--teal);
    cursor: pointer; border-radius: 2px;
  }
  .live__humans.is-expanded .live__expand,
  .live__system.is-expanded .live__expand { margin-top: 28px; }
  .live__expand span { font-size: 16px; line-height: 1; transition: transform .25s ease; }
  .is-expanded > .live__expand span { transform: rotate(45deg); }
  .live__system .live__expand { color: #fff; border-color: rgba(255,255,255,.3); }

  /* brain architecture diagram scales to the column width on mobile */
  .brain-stage__img { width: 100%; max-width: 420px; margin: 0 auto; }

  /* keep small walls at 2-up */
  .ini-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .logo-wall { grid-template-columns: repeat(2, 1fr); }
  .partners__grid { grid-template-columns: repeat(2, 1fr); }
  /* keep long names (e.g. "Higher Ed Partners") centred and inside the cell */
  .partners__cell { height: 104px; padding: 0 12px; font-size: 16px; text-align: center; line-height: 1.25; }

  /* flow rail collapses */
  .flow__grid { grid-template-columns: 1fr; margin-top: 40px; }
  .rail { display: none; }
  .flow { padding: 40px 22px 72px; }

  /* flow connectors: drop the spread SVG, shrink to a short vertical pulse */
  .flowline__svg { display: none; }
  .flowline__pulse { display: flex; }
  .flowline { height: 72px !important; }

  /* (#2) input + agent cards go 2-up instead of one tall column */
  .grid4 { grid-template-columns: repeat(2, 1fr) !important; gap: 10px; }

  /* cards show just the title on mobile — centred, chips/sub/hint hidden */
  .flow-card {
    min-height: 116px; padding: 20px 14px;
    align-items: center; justify-content: center; text-align: center;
  }
  .flow-card__rule { margin-bottom: 12px; }
  .flow-card__title { font-size: 16px; }
  .flow-card__sub { display: none; }
  .flow-card__chips { display: none; }
  .flow-card__hint { display: none; }

  /* (#4) compact capability circles — tidy two rows instead of three */
  .circles { gap: 12px; }
  .circle { width: 102px; height: 102px; padding: 10px; }
  .circle__title { font-size: 15px; }

  /* trim oversized padding on the brain + team blocks */
  .brain { padding: 28px 20px; }
  .brain__title { font-size: 24px; }
  .flow-team-card { padding: 22px 18px; }
  /* breathing room between the stacked layers */
  .layer-stack { gap: 24px; }
  .layer-grid4 { grid-template-columns: repeat(2, 1fr) !important; gap: 12px; }

  /* cap display type */
  .hero__h1, .cs-hero__h1, .flow__h1 { font-size: clamp(32px, 10vw, 52px) !important; line-height: 1.04; }
  .diag__h2, .model__h2, .pillars__h2, .proof__h2, .clients__h2, .process__h2, .track__h2,
  .brain-con__h2, .cap__h2, .vert__h2, .people__h2, .dir__h2, .partners__h2, .ov__h2, .ap__h2,
  .kpis__h2, .foot__h2, .feat__name, .cta__h2 { font-size: clamp(26px, 7vw, 42px) !important; line-height: 1.08; }
  .card__title, .pillar-col__title, .pillar-card__title, .process__steptitle, .proof__name { font-size: clamp(20px, 6vw, 30px) !important; line-height: 1.12; }
  .proof__name { line-height: 1; }

  /* tame oversized decorative glyphs */
  .bg-glyph { font-size: 300px !important; }

  .marquee-wrap { margin-left: -22px; margin-right: -22px; }
  .cta__submit { grid-column: 1; }

  .outro-band { padding: 56px 22px; }

  /* certification logos: wrap to a tidy 2-up grid and scale down */
  .track__certrow { gap: 16px 18px; }
  .track__certlead { flex-basis: 100%; margin-right: 0; }
  .track__cert { height: 45px; max-width: 100%; }
}

@media (max-width: 420px) {
  .track__cert { height: 40px; }
}
