/* ============================================================
   Jack Genesin · SEO Consultant — Design System
   ============================================================ */

:root {
  --ink: #14110D;
  --ink-2: #36302A;
  --ink-3: #6B6258;
  --ink-4: #9A9085;
  --rule: rgba(20, 17, 13, 0.14);
  --rule-soft: rgba(20, 17, 13, 0.07);
  --cream: #F4EADD;
  --cream-2: #EADFCE;
  --cream-3: #E0D2BC;
  --paper: #FBF6EE;
  --paper-pure: #FFFFFF;
  --accent: #B85A2E;
  --accent-ink: #8E3F1B;
  --accent-soft: rgba(184, 90, 46, 0.10);
  --accent-2: #2D5C3F;

  --container: 1240px;
  --gutter: 32px;
  --section-y: clamp(80px, 9.5vw, 140px);
  --rule-thin: 1px solid var(--rule);
  --rule-thick: 2px solid var(--ink);

  --font-sans: "Inter Tight", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", "SFMono-Regular", ui-monospace, Menlo, monospace;
}

* { box-sizing: border-box; }

html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-feature-settings: "ss01", "ss02", "cv11";
  font-size: 16.5px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--cream);
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }

img, svg { display: block; max-width: 100%; }

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

/* ---------------- Layout primitives ---------------- */
.wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section { padding: var(--section-y) 0; position: relative; }
.section--cream { background: var(--cream); }
.section--paper { background: var(--paper); }
.section--deep { background: var(--cream-2); }
.section + .section { border-top: var(--rule-thin); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
}
.eyebrow .num { color: var(--accent); font-variant-numeric: tabular-nums; white-space: nowrap; flex-shrink: 0; }
.eyebrow .marker {
  width: 8px; height: 8px;
  background: var(--accent);
  display: inline-block;
  flex-shrink: 0;
  transform: rotate(45deg);
}
.eyebrow .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  display: inline-block;
  box-shadow: 0 0 0 4px var(--accent-soft);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px var(--accent-soft); }
  50% { box-shadow: 0 0 0 7px rgba(184, 90, 46, 0.06); }
}

.section-head { margin-bottom: 56px; }
.section-head .eyebrow { margin-bottom: 28px; }

h1, h2, h3, h4, p { margin: 0; }

.h-sublabel {
  margin-top: 22px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.h-sublabel::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--accent);
  display: inline-block;
  flex-shrink: 0;
}

.h-display {
  font-size: clamp(42px, 4.6vw, 60px);
  line-height: 1.02;
  letter-spacing: -0.028em;
  font-weight: 600;
  color: var(--ink);
  text-wrap: balance;
}
.h-display .accent-word { color: var(--accent); font-style: normal; font-weight: 600; }
.h-section {
  font-size: clamp(34px, 3.6vw, 46px);
  line-height: 1.06;
  letter-spacing: -0.024em;
  font-weight: 600;
  text-wrap: balance;
}
.h-section .accent-word { color: var(--accent); font-style: normal; font-weight: 600; }
.h-sub {
  font-size: clamp(22px, 2vw, 26px);
  line-height: 1.25;
  letter-spacing: -0.014em;
  font-weight: 600;
}
.lede {
  font-size: clamp(18px, 1.45vw, 20px);
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 62ch;
  text-wrap: pretty;
  font-weight: 450;
}
p.body { color: var(--ink-2); max-width: 62ch; text-wrap: pretty; font-weight: 450; }
.muted { color: var(--ink-3); }
.mono { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0; }

.rule-h { height: 1px; background: var(--rule); width: 100%; }

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.005em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, background .2s ease, color .2s ease, border-color .2s ease, box-shadow .25s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 1px 0 rgba(255,255,255,0.10) inset, 0 8px 24px -8px rgba(20,17,13,0.40);
}
.btn-primary:hover { background: var(--accent); box-shadow: 0 12px 28px -8px rgba(184, 90, 46, 0.45); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
  border-bottom: 1.5px solid var(--ink);
  padding-bottom: 2px;
  transition: color .2s, border-color .2s;
}
.btn-link:hover { color: var(--accent); border-color: var(--accent); }
.btn .arrow { transition: transform .25s ease; }
.btn:hover .arrow { transform: translateX(4px); }
.btn-link:hover .arrow { transform: translateX(4px); }

/* ---------------- Nav ---------------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 234, 221, 0.85);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, background .25s;
}
.nav.scrolled { border-bottom-color: var(--rule); background: rgba(244, 234, 221, 0.94); }
.nav-inner {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  letter-spacing: -0.014em;
}
.brand-mark {
  width: 34px; height: 34px;
  border-radius: 9px;
  background: var(--ink);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 10px -3px rgba(20,17,13,0.35), inset 0 0 0 1px rgba(255,255,255,0.06);
}
.brand-name { font-size: 15.5px; }
.brand-meta { color: var(--ink-3); font-size: 13px; margin-left: 4px; font-weight: 450; }

/* SEEN SEO wordmark logo */
.brand-logo { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); }
.brand-arrow { width: 20px; height: 20px; flex-shrink: 0; }
.brand-stack { display: inline-flex; flex-direction: column; align-items: center; line-height: 1; }
.brand-word { font-weight: 800; font-size: 20px; letter-spacing: -0.02em; line-height: 0.95; white-space: nowrap; }
.brand-sub { font-weight: 600; font-size: 7.5px; letter-spacing: 0.30em; margin-top: 3px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  transition: color .2s;
}
.nav-links a:hover { color: var(--accent); }

/* Services dropdown */
.nav-dropdown { position: relative; display: inline-flex; }
.nav-dropdown-toggle {
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color .2s;
}
.nav-dropdown-toggle:hover,
.nav-dropdown.open .nav-dropdown-toggle { color: var(--accent); }
.nav-dropdown-toggle .chev { width: 13px; height: 13px; transition: transform .25s ease; }
.nav-dropdown.open .nav-dropdown-toggle .chev { transform: rotate(180deg); }

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 16px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  min-width: 224px;
  background: var(--paper-pure);
  border: var(--rule-thin);
  border-radius: 14px;
  padding: 8px;
  box-shadow: 0 22px 54px -18px rgba(20,17,13,0.32), 0 2px 6px rgba(20,17,13,0.06);
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
  z-index: 60;
}
/* hover bridge so the gap above the menu doesn't close it */
.nav-dropdown-menu::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: -16px;
  height: 16px;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown-menu a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  padding: 11px 14px;
  border-radius: 9px;
  white-space: nowrap;
  transition: background .18s, color .18s;
}
.nav-dropdown-menu a:hover { background: var(--cream); color: var(--accent); }

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

/* ---------------- Hero ---------------- */
.hero {
  padding-top: clamp(60px, 7vw, 96px);
  padding-bottom: clamp(80px, 9vw, 120px);
  background: var(--cream);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 72px;
  align-items: center;
}
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
}
.hero-text h1 { margin-top: 0; }
.hero-text .lede { margin-top: 24px; }
.hero-trust-line {
  margin-top: 22px;
  font-size: 14.5px;
  letter-spacing: 0.01em;
  color: var(--ink-2);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: rgba(184, 90, 46, 0.08);
  border-radius: 999px;
  border: 1px solid rgba(184, 90, 46, 0.20);
}
.hero-trust-line strong { color: var(--accent); font-weight: 700; }
.trust-marker {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  display: inline-block;
  flex-shrink: 0;
  box-shadow: 0 0 0 4px rgba(184, 90, 46, 0.15);
  animation: pulse 2.4s ease-in-out infinite;
}
.hero-ctas { margin-top: 36px; display: flex; gap: 14px; flex-wrap: wrap; }

.hero-portrait {
  position: relative;
  aspect-ratio: 4 / 5;
  max-width: 440px;
  width: 100%;
  margin: 0 0 0 auto;
  border-radius: 22px;
  overflow: hidden;
  background: var(--cream-2);
  box-shadow: 0 30px 80px -28px rgba(20,17,13,0.45);
}
.hero-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  display: block;
}
.hero-portrait .portrait-cap {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  padding: 12px 16px;
  background: rgba(20,17,13,0.74);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 12px;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
}
.hero-portrait .portrait-name {
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: -0.012em;
}
.hero-portrait .portrait-role {
  font-size: 11px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  font-weight: 500;
}
@media (max-width: 960px) {
  .hero-portrait { max-width: 380px; margin: 0 auto; }
}

.hero-trust {
  padding: 32px;
  background: var(--ink);
  color: #fff;
  border-radius: 22px;
  box-shadow: 0 24px 60px -24px rgba(20,17,13,0.45);
  position: relative;
  overflow: hidden;
}
.hero-trust::after {
  content: "";
  position: absolute;
  inset: -40% -40% auto auto;
  width: 220px; height: 220px;
  background: radial-gradient(circle, var(--accent) 0%, transparent 65%);
  opacity: 0.55;
  pointer-events: none;
}
.hero-trust .label {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  font-weight: 600;
}
.hero-trust .big {
  font-size: 72px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: -0.035em;
  margin: 18px 0 16px;
  color: #fff;
  font-variant-numeric: tabular-nums;
  position: relative;
}
.hero-trust .big em { font-style: normal; color: var(--accent); font-weight: 600; }
.hero-trust .desc {
  font-size: 15px;
  color: rgba(255,255,255,0.78);
  line-height: 1.55;
  font-weight: 450;
  position: relative;
}

/* ---------------- Stat strip ---------------- */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1.5px solid var(--ink);
  border-bottom: 1.5px solid var(--ink);
}
.stat {
  padding: 40px 28px;
  border-right: var(--rule-thin);
}
.stat:last-child { border-right: 0; }
.stat-ic {
  display: inline-flex;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 28px;
  border: 1.5px solid var(--ink);
  border-radius: 12px;
  background: var(--paper);
}
.stat-ic svg { width: 22px; height: 22px; }
.stat .v {
  font-size: clamp(40px, 3.8vw, 52px);
  font-weight: 600;
  letter-spacing: -0.030em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.stat .v em { font-style: normal; color: var(--accent); font-weight: 600; }
.stat .d {
  margin-top: 16px;
  font-size: 14.5px;
  color: var(--ink-2);
  line-height: 1.5;
  max-width: 30ch;
  font-weight: 450;
}
@media (max-width: 880px) {
  .stat-strip { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: var(--rule-thin); }
}

/* ---------------- Two-col text ---------------- */
.twocol {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}
@media (max-width: 960px) { .twocol { grid-template-columns: 1fr; gap: 32px; } }
.twocol .right p + p { margin-top: 16px; }

.x-list-head {
  font-size: 12.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 600;
  margin-bottom: 14px;
}

/* ---------------- Lists ---------------- */
.x-list { margin-top: 28px; }
.x-item {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-top: var(--rule-thin);
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.5;
  font-weight: 450;
}
.x-item:last-child { border-bottom: var(--rule-thin); }
.x-item .x {
  color: var(--ink-3);
  font-size: 14px;
  margin-top: 3px;
  font-weight: 600;
}
.x-item.outcome { color: var(--ink); font-weight: 600; }
.x-item.outcome .x { color: var(--accent); font-size: 16px; }

/* ---------------- Focus cards (Comparing/Deciding/Acting) ---------------- */
.focus-head {
  margin-top: 64px;
  padding-bottom: 14px;
  border-bottom: 1.5px solid var(--ink);
}
.focus-label {
  font-size: 12.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
}
.focus-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 0;
  border-bottom: 1.5px solid var(--ink);
}
.focus {
  padding: 44px 36px;
  border-right: var(--rule-thin);
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 260px;
  transition: background .25s ease;
}
.focus:last-child { border-right: 0; }
.focus:hover { background: var(--cream-2); }
.focus .step {
  font-size: 12.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.focus .step b { color: var(--accent); font-weight: 600; }
.focus h3 { font-size: 28px; font-weight: 600; letter-spacing: -0.020em; }
.focus h3 em { font-style: normal; color: var(--accent); font-weight: 600; }
.focus p { font-size: 15.5px; color: var(--ink-2); line-height: 1.5; font-weight: 450; }

/* ---------------- Quote (restrained) ---------------- */
@media (max-width: 880px) {
  .focus-grid { grid-template-columns: 1fr; }
  .focus { border-right: 0; border-bottom: var(--rule-thin); }
  .focus:last-child { border-bottom: 0; }
}

/* ---------------- Framework (process) ---------------- */
.process { margin-top: 24px; }
.process-row {
  display: grid;
  grid-template-columns: 80px 240px 1fr;
  gap: 40px;
  padding: 40px 0;
  border-top: var(--rule-thin);
  align-items: start;
}
.process-row:last-of-type { border-bottom: var(--rule-thin); }
.process-row .num {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  font-style: normal;
}
.process-row h3 {
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.020em;
  line-height: 1.1;
}
.process-row p {
  font-size: 16.5px;
  color: var(--ink-2);
  line-height: 1.55;
  max-width: 62ch;
  font-weight: 450;
}
@media (max-width: 880px) {
  .process-row { grid-template-columns: 1fr; gap: 12px; padding: 28px 0; }
}

.quote {
  margin-top: 56px;
  margin-bottom: 24px;
  padding: 28px 32px;
  background: var(--cream-2);
  border-radius: 16px;
  border-left: 3px solid var(--accent);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 32px;
  flex-wrap: wrap;
}
.quote p {
  font-size: clamp(20px, 1.7vw, 24px);
  font-weight: 600;
  letter-spacing: -0.016em;
  line-height: 1.3;
  max-width: 38ch;
}
.quote p em { font-style: normal; color: var(--accent); font-weight: 600; }
.quote .src { font-size: 12.5px; color: var(--ink-3); letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; }

/* ---------------- Working together (portrait) ---------------- */
.together-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: start;
}
@media (max-width: 960px) { .together-grid { grid-template-columns: 1fr; gap: 48px; } }

.portrait {
  aspect-ratio: 4 / 5;
  background: var(--cream-2);
  border: var(--rule-thin);
  border-radius: 22px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 60px -32px rgba(20,17,13,0.30);
}
.portrait img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
  display: block;
}
.portrait-cap {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  padding: 14px 18px;
  background: rgba(20,17,13,0.74);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 12px;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  flex-wrap: wrap;
}
.portrait-name {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.012em;
}
.portrait-role {
  font-size: 11.5px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  font-weight: 500;
}
.portrait .tag,
.portrait .corner,
.portrait .corner-r {
  display: none;
}

.check-list { margin-top: 32px; }
.check {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 14px;
  padding: 18px 0;
  border-top: var(--rule-thin);
}
.check:last-child { border-bottom: var(--rule-thin); }
.check .v {
  color: var(--accent);
  font-size: 16px;
  margin-top: 2px;
  font-weight: 700;
}
.check p { font-size: 16.5px; line-height: 1.5; font-weight: 500; }

.together-foot {
  margin-top: 40px;
  font-size: 16px;
  color: var(--ink-2);
  max-width: 60ch;
  line-height: 1.55;
}

/* ---------------- Data cards (4) ---------------- */
.data-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1.5px solid var(--ink);
  border-radius: 24px;
  overflow: hidden;
  margin-top: 56px;
  box-shadow: 0 24px 60px -32px rgba(20,17,13,0.30);
}
.data-card {
  background: var(--paper);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 300px;
  transition: background .25s ease;
}
.data-card:hover { background: var(--cream); }
.data-card .num {
  font-size: 12.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 600;
}
.data-card .num b { color: var(--accent); font-weight: 700; }
.data-card h3 { font-size: 22px; font-weight: 600; letter-spacing: -0.016em; margin-top: 28px; }
.data-card p { font-size: 14.5px; color: var(--ink-2); line-height: 1.5; font-weight: 450; }
@media (max-width: 960px) { .data-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .data-grid { grid-template-columns: 1fr; } }

/* ---------------- Attribution dashboard ---------------- */
.dash {
  margin-top: 64px;
  background: var(--paper);
  border: 1.5px solid var(--ink);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 30px 80px -32px rgba(20,17,13,0.35);
}
.dash-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: var(--rule-thin);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-3);
  background: var(--cream);
}
.dash-bar .dots { display: flex; gap: 6px; margin-right: 6px; }
.dash-bar .dots span { width: 10px; height: 10px; border-radius: 50%; background: rgba(14,17,22,0.12); }
.dash-bar .url { flex: 1; }
.dash-bar .tag-pill {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.dash-body { padding: 32px; }
.dash-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.dash-head h3 { font-size: 24px; font-weight: 600; letter-spacing: -0.018em; }
.dash-head .meta { font-size: 13px; color: var(--ink-3); font-weight: 500; }

.dash-sources {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-bottom: 36px;
}
@media (max-width: 720px) { .dash-sources { grid-template-columns: repeat(2, 1fr); } }
.source-pill {
  border: var(--rule-thin);
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 13px;
  color: var(--ink-2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.source-pill .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}
.source-pill.gp .dot { background: #2A6FDB; }
.source-pill.sc .dot { background: #0E1116; }
.source-pill.cr .dot { background: #9A6E3A; }
.source-pill.sh .dot { background: #5B606B; }

.dash-flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 18px;
  padding: 16px 0;
  border-top: var(--rule-thin);
  border-bottom: var(--rule-thin);
  align-items: center;
  font-size: 13px;
  color: var(--ink-2);
  margin-bottom: 24px;
}
.dash-flow .arrow {
  font-family: var(--font-mono);
  color: var(--ink-3);
}
.dash-flow b { font-weight: 500; color: var(--ink); }

.dash-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.dash-table th, .dash-table td {
  padding: 14px 4px;
  border-bottom: var(--rule-thin);
  font-size: 14px;
  text-align: left;
}
.dash-table th {
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.dash-table td.value { text-align: right; font-weight: 500; color: var(--ink); }
.dash-table tr:last-child td { border-bottom: 0; }
.dash-table .bar-cell { width: 35%; padding-right: 16px; }
.dash-table .bar {
  height: 6px;
  border-radius: 4px;
  background: var(--accent);
  opacity: 0.95;
}
.dash-table tr:nth-child(2) .bar { opacity: 0.78; }
.dash-table tr:nth-child(3) .bar { opacity: 0.62; }
.dash-table tr:nth-child(4) .bar { opacity: 0.5; }
.dash-table tr:nth-child(5) .bar { opacity: 0.4; }
.dash-table tr:nth-child(6) .bar { opacity: 0.3; }

/* ---------------- Services ---------------- */
.services {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1.5px solid var(--ink);
  border-bottom: 1.5px solid var(--ink);
  margin-top: 56px;
}
.service {
  padding: 44px;
  border-right: var(--rule-thin);
  border-bottom: var(--rule-thin);
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 300px;
  transition: background .25s ease;
  cursor: pointer;
  position: relative;
}
.service:nth-child(2n) { border-right: 0; }
.service:nth-last-child(-n+2) { border-bottom: 0; }
.service:hover { background: var(--cream-2); }
.service .label {
  font-size: 12.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.service .label b { color: var(--accent); font-weight: 700; }
.service h3 { font-size: 30px; font-weight: 600; letter-spacing: -0.022em; margin-top: 20px; line-height: 1.1; }
.service p { font-size: 15.5px; color: var(--ink-2); line-height: 1.55; flex: 1; font-weight: 450; }
.service .more {
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  margin-top: 12px;
}
.service:hover .more { color: var(--accent); }
.service .more .arrow { transition: transform .25s; }
.service:hover .more .arrow { transform: translateX(4px); }
@media (max-width: 720px) {
  .services { grid-template-columns: 1fr; }
  .service { border-right: 0; }
}

/* ---------------- Case studies ---------------- */
.cases {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 56px;
}
@media (max-width: 880px) { .cases { grid-template-columns: 1fr; } }
.case {
  background: var(--paper);
  border: 1.5px solid var(--ink);
  border-radius: 22px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .3s ease, box-shadow .3s ease;
  box-shadow: 0 1px 0 rgba(20,17,13,0.05);
}
.case:hover { transform: translateY(-4px); box-shadow: 0 24px 60px -24px rgba(20,17,13,0.30); }
.case-bar {
  background: var(--cream);
  padding: 12px 18px;
  border-bottom: var(--rule-thin);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-3);
  display: flex;
  align-items: center;
  gap: 10px;
}
.case-bar .dots span {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(14,17,22,0.14);
  margin-right: 4px;
}
.case-visual {
  padding: 28px;
  background: linear-gradient(180deg, var(--paper) 0%, var(--cream) 100%);
  border-bottom: var(--rule-thin);
  min-height: 220px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: flex-end;
}
.case-visual .title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 500;
}
.case-body { padding: 28px; display: flex; flex-direction: column; gap: 16px; flex: 1; }
.case-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 500;
}
.case-meta .tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ink);
}
.case-meta .tag .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.case h3 {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.020em;
  line-height: 1.18;
}
.case p { font-size: 15.5px; color: var(--ink-2); line-height: 1.5; font-weight: 450; }

/* Case visual variants */
.chart-line { height: 110px; width: 100%; }
.kpi-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.kpi {
  border: var(--rule-thin);
  border-radius: 8px;
  padding: 10px 12px;
  background: var(--paper);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.kpi .l { color: var(--ink-3); font-size: 10px; }
.kpi .v { color: var(--ink); font-weight: 500; font-size: 13px; letter-spacing: 0; text-transform: none; font-variant-numeric: tabular-nums; }
.kpi .v em { color: var(--accent); font-style: normal; }

.attrib-rows { display: flex; flex-direction: column; gap: 8px; }
.attrib-row {
  display: grid;
  grid-template-columns: 1fr 60px 50px;
  align-items: center;
  gap: 12px;
  font-size: 12px;
}
.attrib-row .name { color: var(--ink-2); }
.attrib-row .bar {
  height: 5px;
  border-radius: 4px;
  background: var(--accent);
}
.attrib-row .tag {
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  text-align: right;
}
.attrib-row.up .tag { color: var(--accent); }

.funnel-rows { display: flex; flex-direction: column; gap: 6px; }
.funnel-row {
  display: grid;
  grid-template-columns: 110px 1fr 32px;
  align-items: center;
  gap: 12px;
  font-size: 12px;
}
.funnel-row .name { color: var(--ink-2); }
.funnel-row .bar-wrap {
  background: var(--rule-soft);
  height: 18px;
  border-radius: 4px;
  overflow: hidden;
}
.funnel-row .bar {
  height: 100%;
  background: var(--ink);
  border-radius: 4px;
}
.funnel-row.lift .bar { background: var(--accent); }
.funnel-row .arrow { color: var(--accent); font-size: 13px; text-align: center; }

.audit-list { display: flex; flex-direction: column; gap: 8px; font-size: 12px; }
.audit-row {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 12px;
  padding: 8px 10px;
  border: var(--rule-thin);
  border-radius: 6px;
  background: var(--paper);
}
.audit-row .lbl {
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
}
.audit-row.crit .lbl { color: #B33D2A; }
.audit-row.warn .lbl { color: #9A6E3A; }
.audit-row.fix .lbl { color: var(--accent); }
.audit-row .desc { color: var(--ink-2); font-size: 12.5px; line-height: 1.4; }

.cases-foot {
  margin-top: 56px;
  padding: 32px 0 0;
  border-top: var(--rule-thin);
  display: flex;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  align-items: center;
}
.cases-foot .text { max-width: 56ch; }
.cases-foot h4 { font-size: 20px; font-weight: 500; letter-spacing: -0.012em; }
.cases-foot p { font-size: 15px; color: var(--ink-2); margin-top: 8px; }

/* ---------------- Comparison ---------------- */
.compare-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 2px solid var(--ink);
  border-bottom: var(--rule-thin);
  margin-top: 48px;
}
.compare-head > div {
  padding: 18px 28px;
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
}
.compare-head .a { color: var(--ink-3); border-right: var(--rule-thin); }
.compare-head .b { color: var(--accent); }

.compare-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: var(--rule-thin);
  transition: background .2s ease;
}
.compare-row:hover { background: var(--cream-2); }
.compare-row > div {
  padding: 24px 28px;
  font-size: 15.5px;
  line-height: 1.5;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-weight: 450;
}
.compare-row .a { color: var(--ink-3); border-right: var(--rule-thin); }
.compare-row .b { color: var(--ink); font-weight: 600; }
.compare-row .mark {
  width: 20px;
  font-size: 14px;
  flex-shrink: 0;
  margin-top: 2px;
  font-weight: 700;
}
.compare-row .a .mark { color: var(--ink-4); }
.compare-row .b .mark { color: var(--accent); font-size: 16px; }
@media (max-width: 720px) {
  .compare-head, .compare-row { grid-template-columns: 1fr; }
  .compare-head .a, .compare-row .a { border-right: 0; border-bottom: var(--rule-thin); }
}

.compare-close {
  margin-top: 56px;
  padding-top: 40px;
  border-top: 2px solid var(--ink);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.compare-close p {
  font-size: clamp(24px, 2vw, 30px);
  font-weight: 600;
  letter-spacing: -0.020em;
  line-height: 1.2;
}
.compare-close .b { color: var(--accent); font-style: normal; }
@media (max-width: 720px) { .compare-close { grid-template-columns: 1fr; } }

/* ---------------- FAQ ---------------- */
.faq-list { margin-top: 48px; }
.faq-item {
  border-top: var(--rule-thin);
}
.faq-item:last-child { border-bottom: var(--rule-thin); }
.faq-q {
  padding: 26px 0;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  cursor: pointer;
  background: transparent;
  border: 0;
  width: 100%;
  text-align: left;
  font: inherit;
  color: inherit;
}
.faq-q h3 {
  font-size: clamp(18px, 1.5vw, 21px);
  font-weight: 600;
  letter-spacing: -0.016em;
  transition: color .2s;
}
.faq-q:hover h3 { color: var(--accent); }
.faq-toggle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--ink);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  position: relative;
  transition: background .25s, border-color .25s;
}
.faq-q:hover .faq-toggle { border-color: var(--ink); }
.faq-toggle::before,
.faq-toggle::after {
  content: "";
  position: absolute;
  background: var(--ink);
  border-radius: 1px;
  transition: transform .3s cubic-bezier(.6,.2,.2,1), background .25s;
}
.faq-toggle::before { width: 14px; height: 2px; }
.faq-toggle::after { width: 2px; height: 14px; }
.faq-item.open .faq-toggle { background: var(--accent); border-color: var(--accent); }
.faq-item.open .faq-toggle::before,
.faq-item.open .faq-toggle::after { background: #fff; }
.faq-item.open .faq-toggle::after { transform: rotate(90deg); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s cubic-bezier(.6,.2,.2,1);
}
.faq-a-inner {
  padding: 0 0 28px 0;
  max-width: 70ch;
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.6;
}
.faq-a-inner p + p { margin-top: 12px; }

/* ---------------- Contact form ---------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: start;
}
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; gap: 48px; } }

.contact-left h2 { margin-top: 24px; }
.contact-left p.lede { margin-top: 24px; }

.next-list {
  margin-top: 48px;
  padding-top: 32px;
  border-top: var(--rule-thin);
}
.next-list .label {
  font-size: 12px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 500;
  margin-bottom: 20px;
}
.next-row {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 16px;
  padding: 16px 0;
  border-top: var(--rule-thin);
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-2);
}
.next-row:last-child { border-bottom: var(--rule-thin); }
.next-row .n {
  font-variant-numeric: tabular-nums;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--accent);
  font-weight: 500;
  padding-top: 2px;
}

.form-card {
  background: var(--paper);
  border: 1.5px solid var(--ink);
  border-radius: 22px;
  padding: 44px;
  box-shadow: 0 24px 60px -24px rgba(20,17,13,0.30);
}
.form-card .label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 600;
}
.form-card .label .dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--accent);
  animation: pulse 2.4s ease-in-out infinite;
}
.form-card h3 {
  margin-top: 16px;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.020em;
}
.form-card p.intro {
  margin-top: 12px;
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.5;
}
.form-fields { margin-top: 28px; display: flex; flex-direction: column; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 500;
}
.field input, .field textarea {
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  border: 0;
  border-bottom: 1px solid var(--rule);
  background: transparent;
  padding: 10px 0;
  transition: border-color .2s;
  resize: none;
  width: 100%;
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-4); }
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--accent); }
.field textarea { min-height: 90px; }
.field .hint { font-size: 12px; color: var(--ink-3); margin-top: 2px; }
.field .err { font-size: 12px; color: #B33D2A; margin-top: 2px; display: none; }
.field.invalid input, .field.invalid textarea { border-bottom-color: #B33D2A; }
.field.invalid .err { display: block; }

.form-foot {
  margin-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.form-foot p { font-size: 13px; color: var(--ink-3); max-width: 36ch; }

.thanks {
  display: none;
  margin-top: 24px;
  padding: 16px 18px;
  background: var(--accent-soft);
  border-radius: 10px;
  font-size: 14px;
  color: var(--accent-ink);
}
.form-card.sent .thanks { display: block; }
.form-card.sent .form-fields, .form-card.sent .form-foot { display: none; }

/* ---------------- Footer ---------------- */
.footer {
  background: var(--cream);
  padding: 80px 0 40px;
  border-top: var(--rule-thin);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 64px;
}
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-col h4 {
  font-size: 12px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 500;
  margin-bottom: 16px;
}
.footer-col p, .footer-col a {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.6;
  display: block;
}
.footer-col a:hover { color: var(--accent); }
.footer-brand { font-size: 18px; font-weight: 500; letter-spacing: -0.012em; color: var(--ink); }
.footer-tag { margin-top: 12px; font-size: 14px; color: var(--ink-2); max-width: 36ch; line-height: 1.5; }
.footer-bottom {
  border-top: var(--rule-thin);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--ink-3);
  letter-spacing: 0.04em;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------------- Tweaks panel (minimal) ---------------- */
.tweaks {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 280px;
  background: var(--paper);
  border: var(--rule-thin);
  border-radius: 16px;
  box-shadow: 0 20px 60px -20px rgba(14,17,22,0.20), 0 4px 12px -4px rgba(14,17,22,0.10);
  padding: 18px;
  z-index: 100;
  display: none;
  font-family: var(--font-sans);
}
.tweaks.active { display: block; }
.tweaks-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.tweaks-head h4 { font-size: 13px; letter-spacing: 0.10em; text-transform: uppercase; color: var(--ink-3); font-weight: 500; }
.tweaks-close {
  width: 24px; height: 24px; border-radius: 50%;
  border: var(--rule-thin); background: transparent;
  cursor: pointer;
  font-size: 14px;
  color: var(--ink-3);
  display: grid; place-items: center;
  line-height: 1;
}
.tweaks-close:hover { color: var(--ink); border-color: var(--ink); }
.tweaks-section { margin-bottom: 18px; }
.tweaks-section:last-child { margin-bottom: 0; }
.tweaks-section .l {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 8px;
  font-weight: 500;
}
.swatches { display: flex; gap: 8px; }
.swatch {
  width: 30px; height: 30px; border-radius: 50%;
  border: 2px solid var(--rule);
  cursor: pointer;
  padding: 0;
  transition: transform .15s ease, border-color .15s;
}
.swatch.active { border-color: var(--ink); transform: scale(1.05); }
.seg { display: flex; gap: 6px; }
.seg button {
  flex: 1;
  padding: 8px 10px;
  border-radius: 8px;
  border: var(--rule-thin);
  background: var(--paper);
  font-size: 12px;
  font-family: inherit;
  color: var(--ink-2);
  cursor: pointer;
  transition: all .15s;
}
.seg button:hover { color: var(--ink); }
.seg button.active { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------------- Reveal on scroll ---------------- */
.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ---------------- Checks row (working together USPs) ---------------- */
.checks-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 16px;
  border-top: 1.5px solid var(--ink);
  border-bottom: 1.5px solid var(--ink);
}
.check-card {
  padding: 36px 32px;
  border-right: var(--rule-thin);
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-height: 200px;
  transition: background .25s ease;
}
.check-card:last-child { border-right: 0; }
.check-card:hover { background: var(--cream-2); }
.check-num {
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.check-card h4 {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.014em;
  line-height: 1.25;
}
@media (max-width: 880px) {
  .checks-row { grid-template-columns: 1fr; }
  .check-card { border-right: 0; border-bottom: var(--rule-thin); }
  .check-card:last-child { border-bottom: 0; }
}

.together-foot {
  margin-top: 32px;
  font-size: 16px;
  color: var(--ink-2);
  max-width: 64ch;
  line-height: 1.55;
  font-weight: 450;
}

/* ---------------- Problem section: sticky left for balance ---------------- */
/* (replaced by redesigned diagnostic layout) */

/* ---------------- Problem section (redesigned) ---------------- */
.problem-lede {
  max-width: 64ch;
  font-size: clamp(20px, 1.7vw, 24px);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.014em;
  color: var(--ink);
}
.problem-lede p + p {
  margin-top: 20px;
  font-size: clamp(17px, 1.3vw, 19px);
  font-weight: 450;
  color: var(--ink-2);
  letter-spacing: 0;
}

.problem-diagnostic {
  margin-top: 64px;
  background: var(--ink);
  color: #fff;
  border-radius: 24px;
  padding: 44px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 80px -32px rgba(20,17,13,0.45);
}
.problem-diagnostic::after {
  content: "";
  position: absolute;
  inset: -30% -30% auto auto;
  width: 320px; height: 320px;
  background: radial-gradient(circle, var(--accent) 0%, transparent 65%);
  opacity: 0.40;
  pointer-events: none;
}
.diag-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
  position: relative;
}
.diag-marker {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.4);
  display: grid;
  place-items: center;
  color: var(--accent);
  font-size: 14px;
  font-weight: 600;
}
.diag-label {
  font-size: 12.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  font-weight: 600;
}
.diag-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.10);
  border-radius: 14px;
  overflow: hidden;
  position: relative;
}
.diag-card {
  background: var(--ink);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  min-height: 220px;
  transition: background .25s ease;
}
.diag-card:hover { background: #1F1A14; }
.diag-num {
  font-size: 12.5px;
  letter-spacing: 0.10em;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  color: var(--accent);
}
.diag-card p {
  font-size: 18px;
  color: rgba(255,255,255,0.92);
  line-height: 1.4;
  font-weight: 500;
  letter-spacing: -0.008em;
}
@media (max-width: 880px) {
  .diag-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .diag-grid { grid-template-columns: 1fr; }
  .problem-diagnostic { padding: 32px 24px; }
}
.diag-outcome {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.18);
  display: flex;
  align-items: baseline;
  gap: 16px;
  font-size: clamp(20px, 1.8vw, 26px);
  font-weight: 600;
  letter-spacing: -0.016em;
  line-height: 1.25;
  color: #fff;
  position: relative;
}
.diag-outcome .diag-arrow {
  color: var(--accent);
  font-size: 24px;
  flex-shrink: 0;
  line-height: 1;
}
.diag-outcome .accent-word { color: var(--accent); font-weight: 600; }

/* ---------------- Approach section (redesigned) ---------------- */
.approach-body {
  columns: 2;
  column-gap: 64px;
  max-width: 100%;
}
.approach-body p {
  font-size: clamp(17px, 1.3vw, 19px);
  color: var(--ink-2);
  line-height: 1.55;
  font-weight: 450;
  break-inside: avoid;
  margin-bottom: 18px;
}
.approach-body p:first-child {
  font-size: clamp(20px, 1.7vw, 24px);
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.014em;
  line-height: 1.35;
}
.approach-body .accent-word { color: var(--accent); font-weight: 600; }
@media (max-width: 880px) {
  .approach-body { columns: 1; }
}

.shift-block {
  margin-top: 64px;
  background: var(--cream);
  border-radius: 24px;
  padding: 48px;
  border: 1.5px solid var(--ink);
  overflow: hidden;
  box-shadow: 0 24px 60px -32px rgba(20,17,13,0.25);
}
.shift-quote {
  padding-bottom: 36px;
  margin-bottom: 36px;
  border-bottom: 1.5px solid var(--ink);
}
.shift-eyebrow {
  display: inline-block;
  font-size: 12.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 18px;
}
.shift-quote p {
  font-size: clamp(26px, 2.6vw, 36px);
  font-weight: 600;
  letter-spacing: -0.022em;
  line-height: 1.15;
  max-width: 24ch;
  color: var(--ink);
}
.shift-quote .accent-word { color: var(--accent); font-weight: 600; }

.shift-focus-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 24px;
  gap: 16px;
  flex-wrap: wrap;
}
.shift-focus-label {
  font-size: 12.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
}
.shift-focus-meta {
  font-size: 12.5px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 500;
}

.shift-focus .focus-grid {
  border-top: 1.5px solid var(--ink);
  border-bottom: 0;
  background: transparent;
}
.shift-focus .focus {
  background: transparent;
  padding: 32px 28px 8px;
  min-height: auto;
}
.shift-focus .focus:hover { background: rgba(20,17,13,0.04); }
@media (max-width: 520px) {
  .shift-block { padding: 32px 24px; }
}

/* Density tweak */
[data-density="compact"] { --section-y: clamp(56px, 6vw, 88px); }
[data-density="spacious"] { --section-y: clamp(96px, 11vw, 160px); }

/* ---------------- Google-style reviews ---------------- */
.gr-summary {
  display: flex; align-items: center; justify-content: center;
  gap: 22px;
  background: var(--paper-pure);
  border: var(--rule-thin);
  border-radius: 18px;
  padding: 26px 32px;
  margin-bottom: 30px;
}
.gr-score { font-size: clamp(44px, 5vw, 60px); font-weight: 700; letter-spacing: -0.03em; line-height: 1; color: var(--ink); }
.gr-summary-right { display: flex; flex-direction: column; gap: 6px; }
.gr-stars-lg { color: #FBBC04; font-size: 22px; letter-spacing: 3px; line-height: 1; }
.gr-summary-meta { display: flex; align-items: center; gap: 7px; font-size: 15px; color: var(--ink-2); font-weight: 500; }
.gr-google { font-weight: 600; font-size: 18px; letter-spacing: -0.01em; }
.gr-google .b { color: #4285F4; } .gr-google .r { color: #EA4335; } .gr-google .y { color: #FBBC04; } .gr-google .g { color: #34A853; }

.gr-slider { position: relative; display: flex; align-items: center; gap: 14px; }
.gr-viewport {
  overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  flex: 1 1 auto; min-width: 0;
}
.gr-viewport::-webkit-scrollbar { display: none; }
.gr-viewport:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 14px; }
.gr-track { display: flex; gap: 20px; }
.gr-card {
  scroll-snap-align: start;
  flex: 0 0 calc((100% - 60px) / 4);
  min-width: 0;
  background: var(--paper-pure);
  border: var(--rule-thin);
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 1px 2px rgba(20,17,13,0.04);
}
.gr-card-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.gr-avatar {
  position: relative;
  width: 44px; height: 44px;
  border-radius: 50%;
  display: grid; place-items: center;
  color: #fff; font-weight: 600; font-size: 18px;
  flex-shrink: 0;
}
.gr-gbadge {
  position: absolute; right: -3px; bottom: -3px;
  width: 19px; height: 19px;
  border-radius: 50%;
  background: #fff;
  display: grid; place-items: center;
  box-shadow: 0 0 0 2px var(--paper-pure), 0 1px 2px rgba(0,0,0,0.18);
}
.gr-gicon { width: 12px; height: 12px; }
.gr-id { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.gr-name { display: flex; align-items: center; gap: 5px; font-weight: 600; font-size: 15px; letter-spacing: -0.01em; color: var(--ink); }
.gr-verified { display: inline-flex; flex-shrink: 0; }
.gr-vicon { width: 14px; height: 14px; }
.gr-time { font-size: 12.5px; color: var(--ink-3); }
.gr-stars { color: #FBBC04; font-size: 15px; letter-spacing: 2px; margin-bottom: 12px; }
.gr-text { font-size: 14.5px; line-height: 1.55; color: var(--ink-2); }
.gr-body { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.gr-card.expanded .gr-body { -webkit-line-clamp: unset; overflow: visible; }
.gr-more { display: inline-block; margin-top: 8px; background: none; border: 0; padding: 0; color: #1a73e8; font-family: inherit; font-size: 14px; font-weight: 500; cursor: pointer; }
.gr-more:hover { text-decoration: underline; }

.gr-arrow {
  width: 46px; height: 46px; flex-shrink: 0;
  border-radius: 50%;
  border: 1.5px solid var(--ink);
  background: var(--paper-pure);
  color: var(--ink);
  cursor: pointer;
  display: grid; place-items: center;
  transition: background .2s, color .2s, transform .2s;
}
.gr-arrow svg { width: 20px; height: 20px; }
.gr-arrow:hover { background: var(--ink); color: #fff; }
.gr-arrow:active { transform: scale(0.94); }

.rev-dots { display: flex; justify-content: center; gap: 10px; margin-top: 26px; }
.rev-dot { width: 8px; height: 8px; border-radius: 50%; border: 0; padding: 0; cursor: pointer; background: var(--rule); transition: background .25s, width .25s, border-radius .25s; }
.rev-dot:hover { background: var(--ink-4); }
.rev-dot.active { background: var(--accent); width: 22px; border-radius: 4px; }

.gr-cta { display: flex; justify-content: center; margin-top: 34px; }

@media (max-width: 1080px) { .gr-card { flex-basis: calc((100% - 40px) / 3); } }
@media (max-width: 800px)  { .gr-card { flex-basis: calc((100% - 20px) / 2); } }
@media (max-width: 560px)  {
  .gr-arrow { display: none; }
  .gr-card { flex-basis: 86%; }
  .gr-summary { gap: 18px; padding: 22px 20px; }
}
