/* ============================================================
   ProDigital360 — Website redesign
   Modern B2B agency · red + white · clean sans-serif
   ============================================================ */

:root {
  /* Palette */
  --bg:           #FFFFFF;
  --bg-2:         #F7F7F5;          /* alt section bg */
  --bg-3:         #F0EFEB;          /* darker alt */
  --ink:          #0B0B0C;          /* primary text */
  --ink-2:        #2A2A2D;
  --ink-3:        #5C5C61;          /* muted */
  --line:         #E6E5E0;
  --line-2:       #EFEEEA;
  --red:          #DC2626;          /* primary accent */
  --red-2:        #B91C1C;
  --red-tint:     #FDF2F2;
  --red-soft:     #FEE2E2;

  /* Type */
  --sans:    "Inter Tight", "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --display: "Inter Tight", "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --mono:    "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* Radii */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --r-xl: 24px;

  /* Shadow */
  --sh-card:  0 1px 2px rgba(11,11,12,0.04), 0 4px 12px rgba(11,11,12,0.04);
  --sh-card2: 0 1px 2px rgba(11,11,12,0.05), 0 8px 28px rgba(11,11,12,0.08);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "cv11", "ss01", "kern";
  text-rendering: optimizeLegibility;
  letter-spacing: -0.005em;
}

::selection { background: var(--red); color: #fff; }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ============================================================
   LAYOUT
   ============================================================ */

.wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}

@media (max-width: 720px) {
  .wrap { padding: 0 20px; }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-3);
  padding: 6px 12px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  margin-bottom: 24px;
}
.eyebrow .dot {
  width: 6px;
  height: 6px;
  background: var(--red);
  border-radius: 50%;
}

.section-label {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-size: 13px;
  font-weight: 500;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
}
.section-label::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--red);
  display: inline-block;
}

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.025em;
  margin: 0;
  color: var(--ink);
}

/* ============================================================
   NAV
   ============================================================ */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  border-bottom: 1px solid var(--line);
}

.nav-row {
  display: flex;
  align-items: center;
  gap: 40px;
  height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.brand-mark {
  width: 30px;
  height: 30px;
  background: url(assets/logo-360-badge.png) center / contain no-repeat;
  flex-shrink: 0;
}
.brand-mark::after { content: none; }
/* Logo is full-colour on transparent — works on light and dark alike */
.brand-mark.inverse { background: url(assets/logo-360-white.png) center / contain no-repeat; }
.brand-mark.inverse::after { content: none; }

.brand .num { color: var(--red); font-weight: 700; }

.nav-links {
  display: flex;
  gap: 28px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
}
.nav-links a {
  position: relative;
  padding: 4px 0;
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--ink); }
.nav-links a.active::after {
  content: "";
  position: absolute;
  bottom: -24px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--red);
}

.nav-cta {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 12px;
}

@media (max-width: 900px) {
  .nav-links { display: none; }
}

/* ============================================================
   BUTTONS
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  padding: 12px 20px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #fff;
  border-radius: var(--r-md);
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.1s;
  letter-spacing: -0.005em;
}
.btn:hover { background: var(--red); border-color: var(--red); }
.btn:active { transform: translateY(1px); }
.btn .arrow { transition: transform 0.15s; }
.btn:hover .arrow { transform: translateX(3px); }

.btn.ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn.ghost:hover {
  background: var(--bg-2);
  color: var(--ink);
  border-color: var(--ink);
}

.btn.red {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}
.btn.red:hover { background: var(--red-2); border-color: var(--red-2); }

.btn.sm {
  padding: 9px 14px;
  font-size: 13px;
}
.btn.lg {
  padding: 16px 26px;
  font-size: 15px;
}

.btn.light {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}
.btn.light:hover { background: var(--red); color: #fff; border-color: var(--red); }

/* ============================================================
   HERO
   ============================================================ */

.hero {
  padding: 80px 0 96px;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(44px, 6vw, 78px);
  line-height: 1.0;
  letter-spacing: -0.035em;
  font-weight: 600;
  margin: 0 0 24px;
}
.hero h1 .accent {
  color: var(--red);
}
.hero h1 .underline {
  position: relative;
  white-space: nowrap;
}
.hero h1 .underline::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--red);
}

.hero-lede {
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink-3);
  max-width: 38ch;
  margin: 0 0 32px;
}

.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-proof {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink-3);
}
.hero-proof .pr-avatars {
  display: flex;
  gap: 0;
}
.hero-proof .pr-avatars div {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid #fff;
  margin-left: -8px;
  background: linear-gradient(135deg, #C8102E 0%, #831e1e 100%);
  font-size: 11px;
  font-weight: 600;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-proof .pr-avatars div:first-child { margin-left: 0; background: #1F2937; }
.hero-proof .pr-avatars div:nth-child(2) { background: #3B82F6; }
.hero-proof .pr-avatars div:nth-child(3) { background: #DC2626; }
.hero-proof .pr-avatars div:nth-child(4) { background: #059669; }
.hero-proof strong { color: var(--ink); font-weight: 600; }

/* Hero visual — dashboard card (real-feeling, not AI-y) */

.hero-visual {
  position: relative;
  aspect-ratio: 1/1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hv-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 20%, var(--red-soft) 0%, transparent 45%),
    radial-gradient(circle at 80% 80%, #FCE7E7 0%, transparent 50%),
    var(--bg-2);
  border-radius: var(--r-xl);
  border: 1px solid var(--line);
}

.hv-card {
  position: relative;
  width: 88%;
  background: #fff;
  border-radius: var(--r-lg);
  box-shadow: var(--sh-card2);
  padding: 22px 22px 18px;
  border: 1px solid var(--line);
}
.hv-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}
.hv-card-head .title {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}
.hv-card-head .meta {
  font-size: 11px;
  color: var(--ink-3);
  display: flex;
  align-items: center;
  gap: 6px;
}
.hv-card-head .meta .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #16A34A;
}
.hv-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 18px;
}
.hv-stat {
  background: var(--bg-2);
  border-radius: var(--r-md);
  padding: 12px 14px;
}
.hv-stat .l {
  font-size: 11px;
  color: var(--ink-3);
  margin-bottom: 4px;
}
.hv-stat .v {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.hv-stat .v.up { color: var(--red); }
.hv-stat .d {
  font-size: 11px;
  color: #16A34A;
  font-weight: 500;
  margin-top: 2px;
}

.hv-chart {
  height: 84px;
  position: relative;
  margin-top: 8px;
}
.hv-chart svg { width: 100%; height: 100%; display: block; }

.hv-pill {
  position: absolute;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--sh-card);
  padding: 10px 14px;
  border-radius: var(--r-md);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 8px;
}
.hv-pill.top {
  top: 10%;
  right: -4%;
}
.hv-pill.bot {
  bottom: 8%;
  left: -6%;
}
.hv-pill .badge {
  background: var(--red-soft);
  color: var(--red);
  font-size: 11px;
  padding: 2px 7px;
  border-radius: 4px;
  font-weight: 600;
}

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { max-width: 480px; margin: 0 auto; width: 100%; }
}

/* ============================================================
   LOGOS STRIP
   ============================================================ */

.logos {
  padding: 48px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
}
.logos-lbl {
  text-align: center;
  font-size: 13px;
  color: var(--ink-3);
  margin: 0 0 24px;
  font-weight: 500;
}
.logos-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 32px;
  align-items: center;
}
.logos-row .logo {
  font-family: var(--display);
  font-weight: 600;
  font-size: 17px;
  color: var(--ink-3);
  text-align: center;
  white-space: nowrap;
  letter-spacing: -0.01em;
  opacity: 0.75;
  transition: opacity 0.2s, color 0.2s;
}
.logos-row .logo:hover { opacity: 1; color: var(--ink); }
.logos-row .logo.it { font-style: italic; }
.logos-row .logo.bold { font-weight: 700; }
.logos-row .logo.mono { font-family: var(--mono); font-size: 14px; }

@media (max-width: 720px) {
  .logos-row { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}

/* ============================================================
   STATS BAND
   ============================================================ */

.stats {
  padding: 80px 0;
  background: var(--ink);
  color: #fff;
}
.stats-head {
  text-align: center;
  margin-bottom: 56px;
}
.stats-head h2 {
  font-size: clamp(32px, 4vw, 48px);
  color: #fff;
  max-width: 18ch;
  margin: 0 auto 12px;
  font-weight: 600;
  letter-spacing: -0.025em;
}
.stats-head h2 .accent { color: var(--red); }
.stats-head p {
  color: rgba(255,255,255,0.65);
  font-size: 16px;
  max-width: 52ch;
  margin: 0 auto;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.stat-card {
  padding: 0;
}
.stat-card .v {
  font-size: clamp(48px, 5.5vw, 68px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
  color: #fff;
  margin-bottom: 12px;
}
.stat-card .v .unit {
  color: var(--red);
}
.stat-card .l {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  line-height: 1.45;
  max-width: 22ch;
}

@media (max-width: 900px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
}

/* ============================================================
   WORK / CASE STUDIES
   ============================================================ */

.section {
  padding: 112px 0;
}
.section.alt {
  background: var(--bg-2);
}
.section.tight { padding: 80px 0; }

.section-head {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 56px;
}
.section-head h2 {
  font-size: clamp(36px, 4.5vw, 56px);
  line-height: 1.02;
  max-width: 16ch;
  font-weight: 600;
}
.section-head h2 .accent { color: var(--red); }
.section-head .lede {
  font-size: 17px;
  color: var(--ink-3);
  line-height: 1.55;
  max-width: 42ch;
  margin: 0;
}

@media (max-width: 900px) {
  .section-head { grid-template-columns: 1fr; gap: 16px; }
  .section { padding: 80px 0; }
}

/* Featured case cards */
.cases {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.case {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  cursor: pointer;
}
.case:hover {
  transform: translateY(-3px);
  box-shadow: var(--sh-card2);
  border-color: var(--ink-3);
}
.case-img {
  aspect-ratio: 16/10;
  background: var(--bg-3);
  position: relative;
  overflow: hidden;
}
.case-img .placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.case-tag-row {
  position: absolute;
  top: 16px;
  left: 16px;
  right: 16px;
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.95);
  z-index: 2;
}
.case-tag-row .tag {
  background: rgba(255,255,255,0.95);
  color: var(--ink);
  padding: 5px 10px;
  border-radius: 4px;
}
.case-tag-row .nda {
  background: rgba(11,11,12,0.9);
  color: #fff;
  padding: 5px 10px;
  border-radius: 4px;
}

.case-img.viz-1 {
  background: linear-gradient(135deg, #1F1B1B 0%, #2B1A1A 100%);
}
.case-img.viz-2 {
  background: linear-gradient(135deg, #FEE2E2 0%, #FDF2F2 100%);
}
.case-img.viz-3 {
  background: linear-gradient(135deg, #0B0B0C 0%, #1E2237 100%);
}
.case-img.viz-4 {
  background: linear-gradient(135deg, #F7F7F5 0%, #EFEEEA 100%);
}

.case-img .big {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 0.95;
  text-align: center;
}
.case-img .big .num {
  font-size: clamp(56px, 7vw, 96px);
}
.case-img .big .arrow {
  color: var(--red);
  font-size: 0.7em;
}
.case-img.viz-1 .big, .case-img.viz-3 .big { color: #fff; }
.case-img.viz-2 .big, .case-img.viz-4 .big { color: var(--ink); }

.case-img .sub {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
}
.case-img.viz-2 .sub, .case-img.viz-4 .sub { color: var(--ink-3); }

.case-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}
.case-client {
  font-size: 12px;
  font-weight: 600;
  color: var(--red);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.case h3 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0;
  color: var(--ink);
}
.case-body p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-3);
  margin: 0;
}
.case-foot {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
}
.case-foot .arrow { color: var(--red); transition: transform 0.15s; }
.case:hover .case-foot .arrow { transform: translateX(4px); }

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

.section-foot {
  margin-top: 48px;
  display: flex;
  justify-content: center;
}

/* ============================================================
   SERVICES
   ============================================================ */

.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: #fff;
}
.service {
  padding: 32px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: background 0.15s;
  cursor: pointer;
  position: relative;
}
.service:hover { background: var(--bg-2); }
.service:hover .svc-arrow { color: var(--red); transform: translateX(4px); }
.service:nth-child(3n) { border-right: none; }
.service:nth-last-child(-n+3) { border-bottom: none; }

.svc-icon {
  width: 44px;
  height: 44px;
  background: var(--red-tint);
  color: var(--red);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
}
.svc-icon svg { width: 22px; height: 22px; }

.service h3 {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--ink);
}
.service p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-3);
  margin: 0;
  flex: 1;
}
.svc-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
  transition: color 0.15s, transform 0.15s;
}

@media (max-width: 900px) {
  .services { grid-template-columns: repeat(2, 1fr); }
  .service { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .service:nth-child(2n) { border-right: none; }
  .service:last-child { border-bottom: none; }
}
@media (max-width: 560px) {
  .services { grid-template-columns: 1fr; }
  .service { border-right: none; border-bottom: 1px solid var(--line); }
  .service:last-child { border-bottom: none; }
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */

.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.tcard {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.tcard .quote-mark {
  color: var(--red);
  font-size: 40px;
  font-family: var(--display);
  font-weight: 700;
  line-height: 0.4;
  margin-bottom: 0;
}
.tcard blockquote {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  font-weight: 500;
}
.tcard .who {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  margin-top: auto;
}
.tcard .av {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  letter-spacing: -0.01em;
}
.tcard .who .name {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
.tcard .who .role {
  font-size: 12px;
  color: var(--ink-3);
}

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

/* ============================================================
   ABOUT / FOUNDER
   ============================================================ */

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-photo {
  position: relative;
  aspect-ratio: 4/5;
  background: var(--bg-3);
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
}
.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.05) contrast(1.02);
}
.about-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 -60px 80px -40px rgba(0,0,0,0.2);
  pointer-events: none;
}
.about-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
  padding: 12px 16px;
  border-radius: var(--r-md);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
}
.about-badge strong { display: block; font-size: 15px; margin-bottom: 2px; font-weight: 700; }
.about-badge small { color: var(--ink-3); font-weight: 500; }

.about-text h2 {
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.05;
  font-weight: 600;
  margin: 0 0 24px;
  max-width: 18ch;
}
.about-text h2 .accent { color: var(--red); }
.about-text p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-2);
  margin: 0 0 18px;
}
.about-text p strong { color: var(--ink); font-weight: 600; }

.about-creds {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.about-cred .v {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--red);
  line-height: 1;
  margin-bottom: 6px;
}
.about-cred .l {
  font-size: 13px;
  color: var(--ink-3);
}

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

/* ============================================================
   PARTNERS
   ============================================================ */

.partners-row {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 12px;
}
.partner {
  height: 96px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  transition: border-color 0.15s, transform 0.15s;
}
.partner:hover { border-color: var(--ink-3); transform: translateY(-2px); }
.partner img {
  max-height: 36px;
  max-width: 100%;
  width: auto;
  filter: grayscale(1) contrast(0.92);
  opacity: 0.78;
  transition: filter 0.2s, opacity 0.2s;
}
.partner:hover img { filter: none; opacity: 1; }

.partner.gp {
  background: linear-gradient(135deg, #fff 0%, var(--bg-2) 100%);
  flex-direction: column;
  gap: 6px;
  border-color: var(--line);
}
.partner.gp .gp-dots {
  display: flex;
  gap: 4px;
}
.partner.gp .gp-dots span {
  width: 8px; height: 8px; border-radius: 50%;
}
.partner.gp .gp-dots span:nth-child(1){ background: #4285F4; }
.partner.gp .gp-dots span:nth-child(2){ background: #EA4335; }
.partner.gp .gp-dots span:nth-child(3){ background: #FBBC05; }
.partner.gp .gp-dots span:nth-child(4){ background: #34A853; }
.partner.gp .gp-text {
  font-size: 11px;
  font-weight: 600;
  color: var(--ink);
}
.partner.gp small {
  font-size: 9px;
  color: var(--ink-3);
  letter-spacing: 0.04em;
}

@media (max-width: 900px) {
  .partners-row { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 520px) {
  .partners-row { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   FAQ
   ============================================================ */

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 64px;
}
.faq-head h2 {
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.05;
  font-weight: 600;
  margin: 0 0 20px;
  max-width: 14ch;
}
.faq-head h2 .accent { color: var(--red); }
.faq-head p {
  font-size: 15px;
  color: var(--ink-3);
  margin: 0;
  max-width: 36ch;
  line-height: 1.55;
}

.faq-items { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color 0.15s;
}
.faq-item[open] { border-color: var(--ink-3); }
.faq-item summary {
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .ico {
  margin-left: auto;
  width: 28px;
  height: 28px;
  background: var(--bg-2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  transition: transform 0.2s, background 0.2s, color 0.2s;
  flex-shrink: 0;
  font-size: 16px;
  line-height: 1;
}
.faq-item[open] summary .ico {
  background: var(--red);
  color: #fff;
  transform: rotate(45deg);
}
.faq-item .body {
  padding: 0 24px 22px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-3);
  max-width: 64ch;
}
.faq-item .body p { margin: 0; }

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

/* ============================================================
   CTA
   ============================================================ */

.cta-band {
  position: relative;
  padding: 96px 0;
  background: var(--ink);
  color: #fff;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--red);
}
.cta-band .cta-bg-glow {
  position: absolute;
  top: 50%; right: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(220,38,38,0.18) 0%, transparent 65%);
  border-radius: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}
.cta-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
}
.cta-grid h2 {
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.0;
  color: #fff;
  max-width: 16ch;
  font-weight: 600;
  letter-spacing: -0.03em;
}
.cta-grid h2 .accent { color: var(--red); }
.cta-side p {
  color: rgba(255,255,255,0.7);
  font-size: 16px;
  line-height: 1.6;
  margin: 0 0 28px;
  max-width: 38ch;
}
.cta-points {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cta-points li {
  font-size: 14px;
  color: rgba(255,255,255,0.85);
  display: flex;
  align-items: center;
  gap: 12px;
}
.cta-points li::before {
  content: "";
  width: 16px; height: 16px;
  background: var(--red);
  border-radius: 50%;
  flex-shrink: 0;
  position: relative;
  background-image: linear-gradient(45deg, transparent 38%, #fff 38%, #fff 44%, transparent 44%, transparent 56%, #fff 56%, #fff 62%, transparent 62%);
}

@media (max-width: 900px) {
  .cta-grid { grid-template-columns: 1fr; gap: 40px; }
  .cta-band { padding: 80px 0; }
}

/* ============================================================
   FOOTER
   ============================================================ */

footer {
  background: var(--bg-2);
  padding: 64px 0 32px;
  border-top: 1px solid var(--line);
}
.foot-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}
.foot-top h4 {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 18px;
}
.foot-top a {
  display: block;
  font-size: 14px;
  color: var(--ink-3);
  padding: 5px 0;
  transition: color 0.15s;
}
.foot-top a:hover { color: var(--red); }
.foot-brand .brand { margin-bottom: 16px; }
.foot-brand p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-3);
  max-width: 36ch;
  margin: 0 0 20px;
}
.foot-brand .badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.foot-brand .badge {
  font-size: 11px;
  font-weight: 600;
  padding: 6px 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--ink-2);
}
.foot-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--ink-3);
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 760px) {
  .foot-top { grid-template-columns: 1fr 1fr; gap: 32px; }
}

/* ============================================================
   WORK PAGE
   ============================================================ */

.page-hero {
  padding: 80px 0 64px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 100%);
}
.page-hero h1 {
  font-size: clamp(48px, 6.5vw, 84px);
  line-height: 1.0;
  margin: 16px 0 24px;
  font-weight: 600;
  letter-spacing: -0.035em;
  max-width: 16ch;
}
.page-hero h1 .accent { color: var(--red); }
.page-hero .lede {
  font-size: 18px;
  color: var(--ink-3);
  line-height: 1.55;
  max-width: 56ch;
  margin: 0;
}

.filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding: 24px 0;
  margin-top: 32px;
  border-top: 1px solid var(--line);
}
.filter-pill {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  padding: 8px 14px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink-2);
  cursor: pointer;
  border-radius: 999px;
  transition: all 0.15s;
}
.filter-pill:hover { border-color: var(--ink-3); }
.filter-pill.active { background: var(--ink); color: #fff; border-color: var(--ink); }

.work-grid {
  padding: 48px 0 96px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.work-grid .case {
  background: #fff;
}

@media (max-width: 1100px) {
  .work-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .work-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   CASE STUDY DETAIL
   ============================================================ */

.case-hero {
  padding: 56px 0 80px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 100%);
}
.case-hero .crumbs {
  font-size: 13px;
  color: var(--ink-3);
  margin-bottom: 32px;
}
.case-hero .crumbs a { color: var(--ink-3); }
.case-hero .crumbs a:hover { color: var(--red); }
.case-hero .crumbs .sep { margin: 0 8px; color: var(--line); }
.case-hero .crumbs span { color: var(--ink); font-weight: 500; }

.case-hero h1 {
  font-size: clamp(40px, 5.5vw, 72px);
  line-height: 1.02;
  font-weight: 600;
  letter-spacing: -0.03em;
  margin: 16px 0 28px;
  max-width: 18ch;
}
.case-hero h1 .accent { color: var(--red); }

.case-hero .lede {
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink-3);
  max-width: 56ch;
  margin: 0 0 40px;
}

.case-meta-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.case-meta-grid .k {
  font-size: 12px;
  color: var(--ink-3);
  font-weight: 500;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.case-meta-grid .v {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}

.case-results-band {
  padding: 56px 0;
  background: var(--ink);
  color: #fff;
}
.case-results-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.case-results-grid .stat-card .v {
  color: #fff;
  font-size: clamp(40px, 5vw, 60px);
}
.case-results-grid .stat-card .v .unit { color: var(--red); }

@media (max-width: 900px) {
  .case-meta-grid, .case-results-grid { grid-template-columns: repeat(2, 1fr); }
}

.case-narrative {
  padding: 96px 0;
}
.case-narrative.alt { background: var(--bg-2); }
.narrative-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 64px;
}
.narrative-grid h2 {
  font-size: 22px;
  font-weight: 600;
  margin: 0;
  padding-top: 4px;
}
.narrative-grid h2 .accent { color: var(--red); }
.narrative-body {
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-2);
}
.narrative-body p { margin: 0 0 18px; }
.narrative-body p:last-child { margin-bottom: 0; }
.narrative-body p strong { color: var(--ink); font-weight: 600; }
.narrative-body p em { font-style: normal; color: var(--red); font-weight: 500; }

@media (max-width: 900px) {
  .narrative-grid { grid-template-columns: 1fr; gap: 16px; }
  .case-narrative { padding: 72px 0; }
}

.timeline {
  padding: 96px 0;
}
.timeline-grid {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 64px;
}
.timeline-head h2 {
  font-size: 22px;
  font-weight: 600;
  margin: 0 0 12px;
}
.timeline-head p {
  font-size: 14px;
  color: var(--ink-3);
  margin: 0;
}
.timeline-items {
  display: flex;
  flex-direction: column;
  position: relative;
}
.timeline-item {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 32px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.timeline-item:last-child { border-bottom: 0; }
.timeline-item .week {
  font-size: 12px;
  font-weight: 600;
  color: var(--red);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.timeline-item .week-content h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 8px;
}
.timeline-item .week-content p {
  font-size: 14px;
  color: var(--ink-3);
  line-height: 1.55;
  margin: 0;
  max-width: 60ch;
}

@media (max-width: 900px) {
  .timeline-grid { grid-template-columns: 1fr; gap: 32px; }
  .timeline-item { grid-template-columns: 80px 1fr; gap: 16px; }
}

/* ============================================================
   TWEAKS PANEL
   ============================================================ */

#tweaks-panel {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 100;
  background: #fff;
  border: 1px solid var(--line);
  padding: 20px;
  font-family: var(--sans);
  width: 280px;
  border-radius: var(--r-lg);
  box-shadow: 0 18px 50px rgba(0,0,0,0.18);
  display: none;
}
#tweaks-panel.on { display: block; }
#tweaks-panel h4 {
  margin: 0 0 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
#tweaks-panel h4 .close {
  cursor: pointer;
  color: var(--ink-3);
  font-size: 18px;
  line-height: 1;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}
#tweaks-panel h4 .close:hover { background: var(--bg-2); color: var(--ink); }
#tweaks-panel .tk-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-3);
  margin: 18px 0 10px;
  display: block;
}
#tweaks-panel .swatch-row { display: flex; gap: 8px; flex-wrap: wrap; }
#tweaks-panel .swatch {
  width: 32px; height: 32px;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.15s, transform 0.15s;
}
#tweaks-panel .swatch.active { border-color: var(--ink); transform: scale(1.08); }
#tweaks-panel .tone-row { display: flex; gap: 6px; flex-wrap: wrap; }
#tweaks-panel .tone-pill {
  font-size: 12px;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  background: #fff;
  color: var(--ink-2);
  font-weight: 500;
  transition: all 0.15s;
}
#tweaks-panel .tone-pill.active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

/* ============================================================
   SERVICE PAGES
   ============================================================ */

.crumbs {
  font-size: 13px;
  color: var(--ink-3);
  margin-bottom: 28px;
}
.crumbs a { color: var(--ink-3); transition: color 0.15s; }
.crumbs a:hover { color: var(--red); }
.crumbs .sep { margin: 0 8px; color: var(--line); }
.crumbs span { color: var(--ink); font-weight: 500; }

.svc-hero {
  padding: 56px 0 64px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 100%);
}
.svc-hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  gap: 56px;
  align-items: center;
}
.svc-hero h1 {
  font-size: clamp(38px, 5vw, 66px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-weight: 600;
  margin: 16px 0 22px;
  max-width: 15ch;
}
.svc-hero h1 .accent { color: var(--red); }
.svc-hero .lede {
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink-3);
  max-width: 48ch;
  margin: 0 0 30px;
}
.svc-hero .hero-cta { margin-bottom: 0; }

/* hero proof card */
.svc-proofcard {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-card2);
  padding: 30px 30px 26px;
  position: relative;
  overflow: hidden;
}
.svc-proofcard::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--red);
}
.svc-proofcard .pc-client {
  font-size: 12px;
  font-weight: 600;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
}
.svc-proofcard .pc-big {
  font-family: var(--display);
  font-size: clamp(46px, 6vw, 72px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 0.95;
  color: var(--ink);
  margin-bottom: 12px;
}
.svc-proofcard .pc-big .arrow { color: var(--red); font-size: 0.6em; }
.svc-proofcard .pc-sub {
  font-size: 14px;
  color: var(--ink-3);
  line-height: 1.5;
  margin-bottom: 22px;
}
.svc-proofcard .pc-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  padding-top: 20px;
  border-top: 1px solid var(--line);
  width: 100%;
  justify-content: space-between;
}
.svc-proofcard .pc-link .arrow { color: var(--red); transition: transform 0.15s; }
.svc-proofcard:hover .pc-link .arrow { transform: translateX(4px); }

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

/* quick answer / GEO extractable block */
.answer-band {
  padding: 64px 0;
  border-bottom: 1px solid var(--line);
}
.answer-card {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 48px;
  align-items: start;
}
.answer-card .a-label {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding-top: 6px;
}
.answer-card .a-label::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--red);
  display: inline-block;
}
.answer-card .a-text {
  font-size: clamp(20px, 2.4vw, 26px);
  line-height: 1.5;
  color: var(--ink);
  font-weight: 500;
  letter-spacing: -0.015em;
  max-width: 46ch;
}
.answer-card .a-text strong { color: var(--red); font-weight: 600; }

/* headline stats pulled out of the prose */
.answer-card .a-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 36px;
  border-top: 1px solid var(--line);
}
.answer-card .a-stat {
  padding: 24px 28px 0 0;
  position: relative;
}
.answer-card .a-stat + .a-stat {
  padding-left: 28px;
  border-left: 1px solid var(--line);
}
.answer-card .as-v {
  font-family: var(--display, 'Inter Tight', sans-serif);
  font-size: clamp(30px, 3.6vw, 42px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--ink);
}
.answer-card .as-v span { color: var(--red); }
.answer-card .as-k {
  margin-top: 10px;
  font-size: 13.5px;
  line-height: 1.4;
  color: var(--ink-3, #6b6b70);
  font-weight: 500;
}

@media (max-width: 900px) {
  .answer-card { grid-template-columns: 1fr; gap: 20px; }
  .answer-card .a-stats { gap: 0; }
  .answer-card .a-stat { padding-right: 16px; }
  .answer-card .a-stat + .a-stat { padding-left: 16px; }
  .answer-card .as-v { font-size: clamp(26px, 8vw, 34px); }
}
@media (max-width: 560px) {
  .answer-card .a-stats { grid-template-columns: 1fr; border-top: none; }
  .answer-card .a-stat { padding: 18px 0; border-top: 1px solid var(--line); }
  .answer-card .a-stat + .a-stat { padding-left: 0; border-left: none; }
}

/* problem / prose two-col */
.svc-prose-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 64px;
}
.svc-prose-grid h2 {
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0;
  max-width: 12ch;
}
.svc-prose-grid h2 .accent { color: var(--red); }
.svc-prose-body {
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-2);
}
.svc-prose-body p { margin: 0 0 18px; }
.svc-prose-body p:last-child { margin-bottom: 0; }
.svc-prose-body strong { color: var(--ink); font-weight: 600; }
.svc-prose-body em { font-style: normal; color: var(--red); font-weight: 500; }

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

/* "what's included" grid */
.includes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: #fff;
}
.inc-item {
  padding: 32px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.inc-item:nth-child(2n) { border-right: none; }
.inc-item:nth-last-child(-n+2):nth-child(odd),
.inc-item:last-child { border-bottom: none; }
.inc-item .ic-num {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--red);
  font-weight: 500;
}
.inc-item h3 {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.inc-item p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-3);
  margin: 0;
}

@media (max-width: 640px) {
  .includes { grid-template-columns: 1fr; }
  .inc-item { border-right: none; }
}

/* key facts strip — extractable definition data */
.facts-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 36px 40px;
  background: var(--bg-2);
}
.fact .fk {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-3);
  font-weight: 500;
  margin-bottom: 8px;
}
.fact .fv {
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.fact .fv .accent { color: var(--red); }

@media (max-width: 760px) {
  .facts-strip { grid-template-columns: repeat(2, 1fr); gap: 28px; }
}

/* deliverable checklist */
.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 40px;
}
.checklist li {
  font-size: 15px;
  color: var(--ink-2);
  display: flex;
  gap: 12px;
  align-items: flex-start;
  line-height: 1.45;
}
.checklist li::before {
  content: "✓";
  color: var(--red);
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  background: var(--red-tint);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

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

/* service hub grid card link */
a.service { color: inherit; }

/* related services row */
.related-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.related-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: #fff;
  transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s;
}
.related-card:hover {
  border-color: var(--ink-3);
  transform: translateY(-2px);
  box-shadow: var(--sh-card);
}
.related-card .rc-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.related-card .rc-title .arrow { color: var(--red); transition: transform 0.15s; }
.related-card:hover .rc-title .arrow { transform: translateX(4px); }
.related-card p {
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-3);
  margin: 0;
}

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

/* services hub hero list */
.hub-intro {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: #fff;
  margin-top: 8px;
}
.hub-card {
  padding: 32px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: background 0.15s;
  color: inherit;
}
.hub-card:hover { background: var(--bg-2); }
.hub-card:hover .svc-arrow { color: var(--red); transform: translateX(4px); }
.hub-card:nth-child(3n) { border-right: none; }
.hub-card .hub-num {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-3);
  font-weight: 500;
}
.hub-card h3 {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.hub-card p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-3);
  margin: 0;
  flex: 1;
}

@media (max-width: 900px) {
  .hub-intro { grid-template-columns: repeat(2, 1fr); }
  .hub-card:nth-child(3n) { border-right: 1px solid var(--line); }
  .hub-card:nth-child(2n) { border-right: none; }
}
@media (max-width: 560px) {
  .hub-intro { grid-template-columns: 1fr; }
  .hub-card { border-right: none !important; }
}

/* ============================================================
   CASE STUDY — performance-agency layout
   ============================================================ */

.case-hero-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 900px) {
  .case-hero-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* hero key-result card with sparkline */
.case-keycard {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-card2);
  padding: 26px;
  position: relative;
  overflow: hidden;
}
.case-keycard::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--red);
}
.case-keycard .kc-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}
.case-keycard .kc-head .t { font-size: 13px; font-weight: 600; color: var(--ink); }
.case-keycard .kc-head .m {
  font-size: 11px; color: var(--ink-3);
  display: flex; align-items: center; gap: 6px;
}
.case-keycard .kc-head .m .dot { width: 6px; height: 6px; border-radius: 50%; background: #16A34A; }
.case-keycard .kc-big {
  font-family: var(--display);
  font-size: clamp(40px, 5vw, 56px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--ink);
  margin-bottom: 4px;
}
.case-keycard .kc-big .arrow { color: var(--red); font-size: 0.6em; }
.case-keycard .kc-cap { font-size: 13px; color: var(--ink-3); margin-bottom: 18px; }
.case-keycard .kc-spark { height: 72px; }
.case-keycard .kc-spark svg { width: 100%; height: 100%; display: block; }

/* ROAS recovery chart */
.chart-wrap {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 32px 32px 24px;
  box-shadow: var(--sh-card);
}
.chart-wrap svg { width: 100%; height: auto; display: block; }
.chart-foot {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.chart-foot .lg {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--ink-3); font-weight: 500;
}
.chart-foot .lg .sw { width: 18px; height: 3px; border-radius: 2px; }
.chart-foot .lg .sw.red { background: var(--red); }
.chart-foot .lg .sw.dash {
  background: repeating-linear-gradient(90deg, var(--ink-3) 0 4px, transparent 4px 7px);
}

/* challenge → approach → outcome summary */
.cao {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: #fff;
}
.cao-col { padding: 32px; border-right: 1px solid var(--line); }
.cao-col:last-child { border-right: none; }
.cao-col .lbl {
  font-size: 12px; font-weight: 600; color: var(--red);
  text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 14px;
}
.cao-col h3 { font-size: 17px; font-weight: 600; margin: 0 0 10px; letter-spacing: -0.01em; }
.cao-col p { font-size: 14px; line-height: 1.55; color: var(--ink-3); margin: 0; }
@media (max-width: 760px) {
  .cao { grid-template-columns: 1fr; }
  .cao-col { border-right: none; border-bottom: 1px solid var(--line); }
  .cao-col:last-child { border-bottom: none; }
}

/* approach pillars */
.pillars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.pillar {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 30px;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.pillar .p-num {
  font-family: var(--mono);
  font-size: 12px; color: var(--red); font-weight: 500;
}
.pillar h3 { font-size: 19px; font-weight: 600; letter-spacing: -0.02em; margin: 0; }
.pillar p { font-size: 14px; line-height: 1.6; color: var(--ink-3); margin: 0; }
@media (max-width: 760px) { .pillars { grid-template-columns: 1fr; } }

/* before / after comparison bars */
.ba-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px 56px;
}
.ba-item .ba-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 16px;
}
.ba-item .ba-name { font-size: 15px; font-weight: 600; color: var(--ink); }
.ba-item .ba-delta {
  font-size: 13px; font-weight: 700; color: var(--red);
  background: var(--red-tint); padding: 3px 9px; border-radius: 999px;
}
.ba-row { display: flex; align-items: center; gap: 14px; margin-bottom: 10px; }
.ba-row:last-child { margin-bottom: 0; }
.ba-row .ba-tag {
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em;
  width: 52px; color: var(--ink-3); font-weight: 600; flex-shrink: 0;
}
.ba-track { flex: 1; height: 30px; background: var(--bg-2); border-radius: var(--r-sm); overflow: hidden; }
.ba-fill { height: 100%; border-radius: var(--r-sm); }
.ba-fill.before { background: #CFCDC6; }
.ba-fill.after { background: var(--red); }
.ba-row .ba-val { font-size: 15px; font-weight: 700; width: 84px; text-align: right; flex-shrink: 0; color: var(--ink); letter-spacing: -0.01em; }
@media (max-width: 760px) { .ba-grid { grid-template-columns: 1fr; } }

/* deliverables checklist on dark */
.deliver-band { padding: 96px 0; background: var(--ink); color: #fff; }
.deliver-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; align-items: start; }
.deliver-grid h2 { font-size: clamp(28px, 3.4vw, 42px); color: #fff; font-weight: 600; line-height: 1.05; margin: 0 0 16px; max-width: 12ch; }
.deliver-grid h2 .accent { color: var(--red); }
.deliver-grid .d-lede { color: rgba(255,255,255,0.65); font-size: 15px; line-height: 1.6; margin: 0; max-width: 34ch; }
.deliver-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 18px 32px; }
.deliver-list li { display: flex; gap: 14px; align-items: flex-start; }
.deliver-list li .dk {
  width: 24px; height: 24px; flex-shrink: 0; border-radius: 50%;
  background: rgba(220,38,38,0.18); color: var(--red);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; margin-top: 1px;
}
.deliver-list li .dt { font-size: 14px; line-height: 1.45; }
.deliver-list li .dt strong { display: block; color: #fff; font-weight: 600; font-size: 15px; margin-bottom: 2px; }
.deliver-list li .dt span { color: rgba(255,255,255,0.6); }
@media (max-width: 900px) {
  .deliver-grid { grid-template-columns: 1fr; gap: 36px; }
  .deliver-list { grid-template-columns: 1fr; }
}

/* big pull quote */
.pullquote { padding: 96px 0; }
.pullquote .pq {
  max-width: 900px; margin: 0 auto; text-align: center;
}
.pullquote .pq .mark { font-family: var(--display); font-size: 64px; line-height: 0.4; color: var(--red); font-weight: 700; }
.pullquote .pq blockquote {
  margin: 24px 0 28px; font-family: var(--display);
  font-size: clamp(24px, 3.2vw, 36px); line-height: 1.32; font-weight: 600;
  letter-spacing: -0.02em; color: var(--ink);
}
.pullquote .pq .who { display: inline-flex; align-items: center; gap: 12px; }
.pullquote .pq .who .av {
  width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: #fff;
  font-weight: 600; display: flex; align-items: center; justify-content: center; font-size: 15px;
}
.pullquote .pq .who .meta { text-align: left; }
.pullquote .pq .who .meta .name { font-size: 14px; font-weight: 600; }
.pullquote .pq .who .meta .role { font-size: 13px; color: var(--ink-3); }

/* ============================================================
   WORK / CASE-STUDY INDEX — metric-forward results board
   ============================================================ */

/* aggregate proof bar under the hero */
.work-proof {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
}
.work-proof .wp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.wp-item {
  padding: 36px 36px;
  border-right: 1px solid var(--line);
}
.wp-item:first-child { padding-left: 0; }
.wp-item:last-child { border-right: none; }
.wp-v {
  font-family: var(--display);
  font-size: clamp(30px, 3.4vw, 44px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--ink);
}
.wp-v .accent { color: var(--red); }
.wp-v .unit { font-size: 0.5em; color: var(--ink-3); font-weight: 600; margin-left: 2px; }
.wp-k { font-size: 13px; color: var(--ink-3); margin-top: 10px; line-height: 1.4; }
@media (max-width: 760px) {
  .work-proof .wp-grid { grid-template-columns: repeat(2, 1fr); }
  .wp-item { padding: 28px 24px; }
  .wp-item:first-child { padding-left: 24px; }
  .wp-item:nth-child(2) { border-right: none; }
  .wp-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

/* featured case */
.work-featured { padding: 64px 0 8px; }
.feat-card {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--sh-card2);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.feat-card:hover { border-color: var(--ink-3); }
.feat-panel {
  position: relative;
  min-height: 360px;
  padding: 40px;
  background: linear-gradient(135deg, #1F1B1B 0%, #2B1A1A 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.feat-panel .fp-top { display: flex; gap: 10px; align-items: center; font-size: 11px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
.feat-panel .fp-top .tag { background: rgba(255,255,255,0.95); color: var(--ink); padding: 5px 10px; border-radius: 4px; white-space: nowrap; }
.feat-panel .fp-top .nda { background: var(--red); color: #fff; padding: 5px 10px; border-radius: 4px; white-space: nowrap; }
.feat-panel .fp-big {
  font-family: var(--display);
  font-size: clamp(48px, 6vw, 80px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 0.95;
  color: #fff;
}
.feat-panel .fp-big .arrow { color: var(--red); font-size: 0.62em; }
.feat-panel .fp-sub { font-size: 14px; color: rgba(255,255,255,0.72); font-weight: 500; }
.feat-body {
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.feat-body .fb-eyebrow {
  font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--red); margin-bottom: 16px; display: flex; align-items: center; gap: 10px;
}
.feat-body .fb-eyebrow::before { content: ""; width: 24px; height: 1px; background: var(--red); }
.feat-body h2 {
  font-size: clamp(26px, 2.8vw, 34px); font-weight: 600;
  letter-spacing: -0.02em; line-height: 1.1; margin: 0 0 16px;
}
.feat-body p { font-size: 16px; line-height: 1.6; color: var(--ink-3); margin: 0 0 28px; max-width: 44ch; }
.feat-body .fb-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600; color: var(--ink);
}
.feat-body .fb-link .arrow { color: var(--red); transition: transform 0.15s; }
.feat-card:hover .feat-body .fb-link .arrow { transform: translateX(4px); }
@media (max-width: 860px) {
  .feat-card { grid-template-columns: 1fr; }
  .feat-panel { min-height: 280px; }
  .feat-body { padding: 36px; }
}

/* results grid cards */
.work-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 24px; margin: 64px 0 28px; flex-wrap: wrap;
}
.work-head h2 { font-size: clamp(24px, 2.6vw, 32px); font-weight: 600; letter-spacing: -0.02em; margin: 0; }
.work-head .wh-count { font-size: 14px; color: var(--ink-3); }
.work-head .wh-count b { color: var(--ink); font-weight: 600; }

.result-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
}
.result-card:hover { transform: translateY(-3px); box-shadow: var(--sh-card2); border-color: var(--ink-3); }
.rc-accent { height: 4px; background: var(--red); }
.rc-inner { padding: 28px; display: flex; flex-direction: column; flex: 1; }
.rc-tagrow { display: flex; justify-content: space-between; align-items: center; margin-bottom: 26px; gap: 10px; }
.rc-tag {
  font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em;
  color: var(--ink-3); background: var(--bg-2); padding: 5px 11px; border-radius: 999px; white-space: nowrap;
}
.rc-nda {
  font-size: 10px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--red); background: var(--red-tint); padding: 4px 9px; border-radius: 999px; flex-shrink: 0;
}
.rc-metric {
  font-family: var(--display);
  font-size: clamp(38px, 4.4vw, 54px);
  font-weight: 600; letter-spacing: -0.035em; line-height: 0.98; color: var(--ink);
}
.rc-metric .arrow { color: var(--red); font-size: 0.6em; vertical-align: middle; margin: 0 1px; }
.rc-cap { font-size: 13px; color: var(--ink-3); margin-top: 12px; font-weight: 500; }
.rc-div { height: 1px; background: var(--line); margin: 24px 0 18px; }
.rc-client { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--red); margin-bottom: 9px; }
.rc-line { font-size: 14px; line-height: 1.55; color: var(--ink-2); margin: 0; }
.rc-foot {
  margin-top: auto; padding-top: 24px;
  display: flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600; color: var(--ink);
}
.rc-foot .arrow { color: var(--red); transition: transform 0.15s; }
.result-card:hover .rc-foot .arrow { transform: translateX(4px); }

/* ============================================================
   WORK — RESULTS LEDGER REDESIGN (approved mock)
   ============================================================ */
:root { --green: #16A34A; }

/* hero */
.lwork-hero { padding: 52px 0 36px; }
.lwh-grid { display: grid; grid-template-columns: 1.08fr 1fr; gap: 72px; align-items: center; }
.lwh-grid h1 {
  font-size: clamp(40px, 5.2vw, 68px);
  line-height: 1.0; letter-spacing: -0.035em; font-weight: 600;
  margin: 18px 0 24px;
}
.lwh-grid h1 .accent { color: var(--red); }
.lwh-grid .lede { font-size: 15px; line-height: 1.62; color: var(--ink-3); max-width: 46ch; margin: 0; }

.hero-proof { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px 20px; }
.hp-item .hp-ico { width: 26px; height: 26px; color: var(--red); margin-bottom: 20px; }
.hp-item .hp-ico svg { width: 100%; height: 100%; display: block; }
.hp-v { font-family: var(--display); font-size: clamp(26px, 2.6vw, 34px); font-weight: 600; letter-spacing: -0.02em; line-height: 1; color: var(--ink); }
.hp-v .unit { font-size: 0.55em; font-weight: 600; }
.hp-k { font-size: 12.5px; color: var(--ink-3); margin-top: 8px; line-height: 1.4; }
@media (max-width: 980px) {
  .lwh-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-proof { gap: 32px 24px; }
}

/* filter bar */
.ledger-filters {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 14px 0; flex-wrap: wrap;
}
.lf-pills { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.lf-pills .filter-pill { font-size: 13px; padding: 8px 16px; }
.lf-pills .filter-pill .caret { font-size: 10px; margin-left: 4px; opacity: 0.6; }
.lf-clear { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-3); cursor: pointer; background: none; border: none; font-family: var(--sans); white-space: nowrap; }
.lf-clear:hover { color: var(--ink); }
.lf-clear svg { width: 15px; height: 15px; }

/* ledger rows */
.ledger { margin-top: 4px; }
.ledger-row {
  display: grid;
  grid-template-columns: 38px minmax(0,1.12fr) minmax(0,0.72fr) minmax(0,1.46fr);
  gap: 36px;
  padding: 40px 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
}
.lr-num { font-family: var(--display); font-size: 17px; font-weight: 700; color: var(--red); padding-top: 2px; align-self: start; }
.lr-eyebrow { font-size: 10.5px; letter-spacing: 0.09em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; margin-bottom: 12px; }
.lr-client { font-size: clamp(21px, 2.3vw, 27px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; margin-bottom: 14px; color: var(--ink); }
.lr-summary { font-size: 14.5px; line-height: 1.55; color: var(--ink-2); margin: 0 0 22px; max-width: 32ch; }
.lr-meta { display: flex; gap: 26px; margin-bottom: 22px; flex-wrap: wrap; }
.lr-meta .mk { font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink-3); font-weight: 600; margin-bottom: 5px; display: flex; align-items: center; gap: 5px; }
.lr-meta .mk .heart { color: var(--red); }
.lr-meta .mv { font-size: 13px; color: var(--ink); line-height: 1.35; max-width: 16ch; }
.lr-link { display: inline-flex; align-items: center; gap: 7px; color: var(--red); font-weight: 600; font-size: 13px; }
.lr-link .arrow { transition: transform 0.15s; }
.ledger-row:hover .lr-link .arrow { transform: translateX(4px); }

/* metric column */
.lr-metrics { align-self: start; }
.lr-mlabel { font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink-3); font-weight: 600; margin-bottom: 9px; }
.lr-mbig { font-family: var(--display); font-size: clamp(26px, 2.7vw, 34px); font-weight: 600; letter-spacing: -0.025em; line-height: 1; color: var(--ink); }
.lr-mbig .arrow { color: var(--red); font-weight: 500; margin: 0 2px; }
.lr-mbig.green { color: var(--green); }
.lr-mnote { font-size: 12.5px; font-weight: 600; margin-top: 9px; }
.lr-mnote.green { color: var(--green); }
.lr-mnote.muted { color: var(--ink-3); font-weight: 500; }
.lr-mgap { margin-top: 26px; }

/* chart panels */
.cpanel { border: 1px solid var(--line); border-radius: 14px; background: #fff; padding: 20px 22px; }
.cpanel.dark { background: #0D0D0F; border-color: #0D0D0F; }
.cp-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.cp-title { font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; }
.cpanel.dark .cp-title { color: rgba(255,255,255,0.55); letter-spacing: 0.06em; }
.cp-sel { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; color: var(--ink-3); border: 1px solid var(--line); border-radius: 7px; padding: 5px 9px; font-weight: 500; }
.cpanel.dark .cp-sel { color: rgba(255,255,255,0.6); border-color: rgba(255,255,255,0.16); }
.cp-sel .caret { font-size: 9px; opacity: 0.7; }
.cpanel svg { width: 100%; height: auto; display: block; }

/* row 2 — bars + donut */
.lead-overview { display: grid; grid-template-columns: 1.55fr 1fr; gap: 18px; align-items: center; }
.donut-wrap { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.donut-legend { display: flex; flex-direction: column; gap: 8px; font-size: 12px; }
.donut-legend .dl { display: flex; align-items: center; gap: 8px; color: var(--ink-2); }
.donut-legend .sw { width: 10px; height: 10px; border-radius: 3px; }
.donut-legend .sw.q { background: var(--red); }
.donut-legend .sw.u { background: #E6E5E0; }

/* row 5 — three mini cards */
.mini-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.mini-card { border: 1px solid var(--line); border-radius: 12px; padding: 16px; background: #fff; }
.mini-card .mc-top { display: flex; align-items: center; gap: 7px; font-size: 12px; color: var(--ink-3); margin-bottom: 10px; }
.mini-card .mc-top svg { width: 14px; height: 14px; }
.mini-card .mc-v { font-family: var(--display); font-size: 22px; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 12px; }
.mini-card .mc-v.green { color: var(--green); }
.mini-card .mc-spark svg { width: 100%; height: 36px; }

/* show more */
.show-more {
  width: 100%; margin: 28px 0 0; padding: 18px;
  border: 1px solid var(--line); border-radius: 12px; background: #fff;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--sans); font-size: 14px; font-weight: 600; color: var(--ink);
  cursor: pointer; transition: background 0.15s, border-color 0.15s;
}
.show-more:hover { background: var(--bg-2); border-color: var(--ink-3); }
.show-more .arrow { color: var(--red); }

/* responsive ledger */
@media (max-width: 1080px) {
  .ledger-row { grid-template-columns: 30px 1fr 1fr; gap: 24px 28px; align-items: start; }
  .lr-chart { grid-column: 1 / -1; }
}
@media (max-width: 680px) {
  .ledger-row { grid-template-columns: 28px 1fr; }
  .lr-metrics { grid-column: 2 / -1; }
  .lr-chart { grid-column: 1 / -1; }
  .lead-overview { grid-template-columns: 1fr; }
}
.result-card[hidden] { display: none; }

/* ============================================================
   MOUSE-OVER MICRO-INTERACTIONS
   Extends the site's existing hover vocabulary (subtle lifts,
   red accents, arrow nudges) to elements that previously had
   no hover feedback. One shared easing, all motion is gated
   behind prefers-reduced-motion.
   ============================================================ */
:root { --ease-out: cubic-bezier(.2,.7,.3,1); }

/* --- baseline transitions so every interactive surface eases --- */
.brand-mark,
.answer-card .a-stat,
.cao-col,
.pillar,
.timeline-item,
.deliver-list li,
.platform-card,
.case-tagchips .chip,
.svc-chips a,
.oc-card,
.ledger-row,
.foot-brand .badge,
.kc-spark,
.pq .av,
.feat-panel img,
.related-card,
.hub-card,
.result-card,
.partner,
.svc-proofcard,
.service,
.case {
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out),
              border-color .2s var(--ease-out), background .2s var(--ease-out),
              color .2s var(--ease-out), opacity .2s var(--ease-out);
}

/* --- brand logo: the badge mark gives a tiny playful tilt --- */
.brand:hover .brand-mark { transform: rotate(-12deg) scale(1.08); }

/* --- "In short" pulled-out stats --- */
.answer-card .a-stat:hover { transform: translateY(-3px); }
.answer-card .a-stat .as-v { transition: color .2s var(--ease-out); }
.answer-card .a-stat:hover .as-v { color: var(--red); }
.answer-card .a-stat:hover .as-v span { color: var(--ink); }

/* --- challenge / approach / outcome columns --- */
.cao-col { border-radius: 12px; }
.cao-col:hover { background: var(--bg-2); transform: translateY(-2px); }

/* --- approach pillars --- */
.pillar { border-radius: 14px; }
.pillar .p-num { transition: color .2s var(--ease-out), transform .25s var(--ease-out); }
.pillar:hover { transform: translateY(-3px); }
.pillar:hover .p-num { color: var(--red); transform: translateY(-2px); }

/* --- week-by-week timeline --- */
.timeline-item { border-radius: 12px; padding: 24px 16px; margin: 0 -16px; }
.timeline-item .week { transition: color .2s var(--ease-out); }
.timeline-item:hover { background: #fff; box-shadow: var(--sh-card2); border-bottom-color: transparent; }
.timeline-item:hover .week { color: var(--red); }

/* --- deliverables list --- */
.deliver-list li:hover { transform: translateX(6px); }
.deliver-list li .dk { transition: transform .25s var(--ease-out); display: inline-block; }
.deliver-list li:hover .dk { transform: scale(1.25); }

/* --- platform chips / cards --- */
.platform-card:hover { transform: translateY(-3px); border-color: var(--red-soft, var(--ink-3)); box-shadow: var(--sh-card2); }
.platform-card img { transition: transform .25s var(--ease-out); }
.platform-card:hover img { transform: scale(1.1); }

/* --- tag chips --- */
.case-tagchips .chip:hover { transform: translateY(-2px); border-color: var(--ink-3); }

/* --- key-result sparkline card on case hero --- */
.kc-spark:hover { transform: scale(1.02); }

/* --- pull-quote avatar --- */
.pq .av:hover { transform: scale(1.08) rotate(-4deg); }

/* --- services framework: light each flow step on hover too --- */
.flow-step { cursor: default; }
.flow-step:hover .flow-ico {
  border-color: currentColor;
  box-shadow: 0 0 0 4px color-mix(in srgb, currentColor 12%, transparent);
  transform: translateY(-3px);
}
.flow-step .fs-t { transition: color .2s var(--ease-out); }
.flow-step:hover .fs-t { color: currentColor; }

/* --- services outcome rows --- */
.oc-card:hover { background: var(--bg-2); }

/* --- case ledger rows --- */
.ledger-row { border-radius: 12px; }
.ledger-row:hover { background: var(--bg-2); }

/* --- footer trust badges --- */
.foot-brand .badge:hover { border-color: var(--ink-3); transform: translateY(-2px); }

/* --- richer button feedback: gentle lift + shadow --- */
.btn:hover { box-shadow: 0 6px 18px -8px rgba(11,11,12,.45); transform: translateY(-1px); }
.btn:active { transform: translateY(1px); box-shadow: none; }
.btn.ghost:hover, .btn.light:hover { box-shadow: 0 6px 16px -10px rgba(11,11,12,.35); }

/* --- existing cards: add a touch more depth on the lift --- */
.feat-panel { overflow: hidden; }
.feat-panel img:hover { transform: scale(1.04); }

/* --- GRAPHS & CHARTS --- */
/* big case-study trajectory chart: line glows, data points swell */
.chart-wrap svg path[fill="none"] { transition: filter .3s var(--ease-out); }
.chart-wrap:hover svg path[fill="none"] {
  filter: drop-shadow(0 3px 9px color-mix(in srgb, var(--red) 50%, transparent));
}
.chart-wrap svg circle {
  transition: transform .25s var(--ease-out);
  transform-box: fill-box; transform-origin: center;
}
.chart-wrap:hover svg circle { transform: scale(1.35); }

/* case-ledger mini charts: gentle lift on the row's chart */
.lr-chart svg { transition: transform .3s var(--ease-out); transform-origin: center bottom; }
.ledger-row:hover .lr-chart svg { transform: scaleY(1.05); }

/* dark results band: the big numbers pop on hover */
.case-results-grid .stat-card .v { transition: transform .25s var(--ease-out), color .2s var(--ease-out); display: inline-block; }
.case-results-grid .stat-card:hover .v { transform: scale(1.05); }

/* before / after bars: lift the whole item, brighten the fill */
.ba-item { border-radius: 12px; padding: 10px; margin: -10px; transition: background .2s var(--ease-out), transform .25s var(--ease-out); }
.ba-item:hover { background: var(--bg-2); transform: translateY(-2px); }
.ba-fill { transition: filter .25s var(--ease-out); }
.ba-item:hover .ba-fill.after { filter: brightness(1.08) saturate(1.1); }

/* services outcome chart: subtle scale on hover */
.oc-chart { transition: transform .3s var(--ease-out); }
.oc-card:hover .oc-chart { transform: scale(1.015); }

/* services framework: each stage icon lifts on hover of the whole pipeline node */
.flow-step:hover .fs-s { color: var(--ink-2); }

/* --- inline section labels & eyebrows get a subtle dot pulse on hover of their card is overkill; keep links tidy --- */
.fw-link:hover, .pc-link:hover, .lr-link:hover, .rc-foot:hover { color: var(--red-2, var(--red)); }

/* --- accessible focus rings for keyboard users --- */
a:focus-visible, button:focus-visible, .btn:focus-visible,
.faq-q:focus-visible, .filter-pill:focus-visible, summary:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
  border-radius: 6px;
}

/* --- respect reduced-motion: kill transforms, keep color/opacity --- */
@media (prefers-reduced-motion: reduce) {
  .brand:hover .brand-mark,
  .answer-card .a-stat:hover,
  .cao-col:hover,
  .pillar:hover, .pillar:hover .p-num,
  .timeline-item:hover,
  .deliver-list li:hover, .deliver-list li:hover .dk,
  .platform-card:hover, .platform-card:hover img,
  .case-tagchips .chip:hover,
  .kc-spark:hover,
  .pq .av:hover,
  .flow-step:hover .flow-ico,
  .foot-brand .badge:hover,
  .btn:hover, .btn:active,
  .feat-panel img:hover,
  .chart-wrap:hover svg circle,
  .ledger-row:hover .lr-chart svg,
  .case-results-grid .stat-card:hover .v,
  .ba-item:hover,
  .oc-card:hover .oc-chart {
    transform: none !important;
  }
}

/* ============================================================
   MOBILE FIXES (600px and below)
   ============================================================ */

/* GENERAL — prevent horizontal overflow everywhere */
html, body { overflow-x: hidden; max-width: 100%; }

@media (max-width: 600px) {

  /* NAV — hide "Book a call", keep only audit button */
  .nav-cta .btn.sm:not(.ghost) { display: none; }
  .nav-cta .btn.ghost.sm { font-size: .78rem; padding: 8px 12px; }
  .nav-row { gap: 0; }

  /* HERO — tighter padding, hide dashboard visual */
  .hero { padding: 36px 0 48px; }
  .hero-visual { display: none; }
  .hero .hero-proof { display: flex !important; flex-direction: row !important; align-items: center !important; flex-wrap: wrap !important; gap: 12px !important; grid-template-columns: none !important; }
  .hero .hero-proof span { font-size: .875rem; }

  /* LOGOS — switch to 2-col grid, allow text to wrap */
  .logos-row {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px 16px;
  }
  .logos-row .logo { font-size: 14px; white-space: normal; word-break: break-word; }

  /* STATS — 1 column on small phones so numbers never clip */
  .stats-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 24px;
  }
  .stat-card .v { font-size: clamp(32px, 9vw, 48px) !important; }

  /* FOOTER — fix email overflow */
  .foot-top { grid-template-columns: 1fr 1fr !important; gap: 24px; }
  .foot-top > div { min-width: 0; overflow: hidden; }
  .foot-top a { word-break: break-all; overflow-wrap: anywhere; font-size: 13px; }
  .foot-top p { overflow-wrap: break-word; font-size: 13px; }
  .foot-bottom { flex-direction: column; gap: 6px; text-align: center; font-size: 12px; }

  /* SECTIONS — reduce large padding on mobile */
  .section { padding: 48px 0; }
  .stats { padding: 48px 0; }
}
}
