@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@700;800&family=DM+Sans:wght@400;500;600;700&family=DM+Mono:wght@400&display=swap');

/* ─────────────────────────────────────────
   TOKENS
───────────────────────────────────────── */
:root {
  --bg:          #12181F; /* Navy */
  --bg-alt:      #0F1419; /* Deep surface */
  --panel:       #161D26; /* Elevated */
  --panel-rich:  #1E1B4A; /* Violet Blue */
  --text:        #EEE8D5; /* Warm cream */
  --muted:       #8A94A6; /* Blue-gray — AA contrast on dark bg */
  --muted-bright:#6B8FC0; /* Soft Vandar Poel blue */
  --line:        rgba(238, 232, 213, 0.07);
  --accent:      #D4900A; /* Golden Yellow */
  --accent-glow: #D4621A; /* Apricot Orange */
  --accent-blue: #3D5F8A; /* Vandar Poel's */
  --ink-on-accent: #0A0500;
  --font-heading: "Barlow Condensed", sans-serif;
  --font-display: "DM Sans", sans-serif;
  --font-body:   "DM Sans", sans-serif;
  --font-mono:   "DM Mono", monospace;
  --max-width:   1160px;
  --radius:      14px;
  --radius-sm:   9px;
  --radius-xs:   5px;
  --shadow:      0 16px 48px rgba(0, 0, 0, 0.42), 0 2px 12px rgba(30, 27, 74, 0.35);
  --shadow-sm:   0 4px 16px rgba(0, 0, 0, 0.34);
}

/* ─────────────────────────────────────────
   ANIMATIONS
───────────────────────────────────────── */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * {
    animation: fade-up 0.65s cubic-bezier(0.16, 1, 0.3, 1) both;
  }
  .hero-copy > *:nth-child(1) { animation-delay: 0.05s; }
  .hero-copy > *:nth-child(2) { animation-delay: 0.12s; }
  .hero-copy > *:nth-child(3) { animation-delay: 0.19s; }
  .hero-copy > *:nth-child(4) { animation-delay: 0.25s; }
  .hero-copy > *:nth-child(5) { animation-delay: 0.31s; }
  .hero-copy > *:nth-child(6) { animation-delay: 0.37s; }
  .hero-panel,
  .vsl-card {
    animation: fade-up 0.65s cubic-bezier(0.16, 1, 0.3, 1) 0.22s both;
  }
}

/* ─────────────────────────────────────────
   RESET & BASE
───────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  font-weight: 400;
}

/* Grain noise overlay — breaks digital flatness */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
  background-repeat: repeat;
}

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

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

p, ul {
  margin: 0;
}

/* ─────────────────────────────────────────
   TYPOGRAPHY SCALE
───────────────────────────────────────── */
h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
}

h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.6rem, 5.2vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.0;
  max-width: 18ch;
  text-wrap: balance;
}

h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.1;
  max-width: 22ch;
  text-wrap: balance;
}

h3 {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.35;
}

h4 {
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.35;
}

/* ─────────────────────────────────────────
   UTILITIES
───────────────────────────────────────── */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  background: #fff;
  color: #000;
  padding: 0.75rem 1rem;
  z-index: 1000;
}

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

.container {
  width: min(var(--max-width), calc(100% - 2rem));
  margin: 0 auto;
}

.narrow {
  max-width: 860px;
}

.max-prose {
  max-width: 56ch;
}

.mt-sm {
  margin-top: 1.25rem;
}

.mt-md {
  margin-top: 1.5rem;
}

.mt-lg {
  margin-top: 2rem;
}

.card-grid-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.link-accent {
  color: var(--accent);
  transition: color 0.2s;
}

.link-accent:hover {
  color: var(--accent-glow);
}

/* ─────────────────────────────────────────
   LAYOUT — SECTIONS
───────────────────────────────────────── */
.section {
  padding: 6.5rem 0;
}

.section-alt {
  background: rgba(30, 27, 74, 0.18);
  border-block: 1px solid rgba(212, 144, 10, 0.10);
  background-image: radial-gradient(ellipse 55% 45% at 75% 35%, rgba(61, 95, 138, 0.16) 0%, transparent 65%);
}

/* ─────────────────────────────────────────
   TYPOGRAPHY — LABELS & LEADS
───────────────────────────────────────── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
  font-size: 0.6875rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  font-family: var(--font-body);
}

.eyebrow::before {
  content: "";
  display: block;
  width: 1.5rem;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
  flex-shrink: 0;
}

.eyebrow-light {
  color: var(--accent);
}

.section-heading {
  display: grid;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.section-heading p,
.section-lead,
.hero-lead,
.hero-support,
.card p,
.faq-item p,
.footer-copy,
.cta-note,
.cta-panel p,
.panel-block,
.issue-list,
.check-list,
.hero-points {
  color: var(--muted);
}

/* ─────────────────────────────────────────
   NAV
───────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(18, 24, 31, 0.9);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: 78px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-family: var(--font-display);
}

.brand-logo {
  width: clamp(132px, 16vw, 154px);
  height: auto;
  flex-shrink: 0;
  display: block;
}

.brand-mark {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  display: block;
  border-radius: 7px;
}

.nav-list,
.nav-dropdown,
.badge-list,
.hero-points,
.issue-list,
.check-list,
.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-nav {
  margin-left: auto;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav-list a,
.footer-list a {
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 300;
  transition: color 0.2s ease;
  font-family: var(--font-body);
}

.nav-list a:hover,
.footer-list a:hover,
.nav-list [aria-current="page"],
.footer-list [aria-current="page"] {
  color: var(--text);
}

/* Dropdown */
.nav-item-dropdown {
  position: relative;
}

.nav-item-dropdown > a::after {
  content: "";
  display: inline-block;
  margin-left: 0.35rem;
  width: 0.4rem;
  height: 0.4rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  opacity: 0.6;
}

.nav-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: -0.95rem;
  padding-top: 0.6rem;
  min-width: max-content;
  z-index: 100;
}

.nav-dropdown::before {
  content: "";
  position: absolute;
  top: 0.6rem;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  z-index: -1;
}

.nav-dropdown li {
  position: relative;
}

.nav-item-dropdown:hover .nav-dropdown,
.nav-item-dropdown:focus-within .nav-dropdown {
  display: block;
}

.nav-dropdown a {
  display: block;
  padding: 0.55rem 1rem;
  font-size: 0.85rem;
  white-space: nowrap;
  color: var(--muted);
  transition: color 0.2s, background 0.2s;
}

.nav-dropdown a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

/* ─────────────────────────────────────────
   BUTTONS
───────────────────────────────────────── */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3.25rem;
  padding: 0 1.5rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: -0.01em;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.2s ease,
              background-color 0.2s ease,
              color 0.2s ease,
              box-shadow 0.2s ease;
  cursor: pointer;
}

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

.button:active {
  transform: translateY(0) scale(0.97);
  transition-duration: 0.08s;
}

.button-primary {
  background: var(--accent);
  color: var(--ink-on-accent);
  box-shadow: 0 1px 0 rgba(255,255,255,0.12) inset;
}

.button-primary:hover {
  background: var(--accent-glow);
  color: var(--ink-on-accent);
  box-shadow: 0 6px 24px rgba(212, 144, 10, 0.28), 0 1px 0 rgba(255,255,255,0.12) inset;
}

.button-secondary {
  border-color: rgba(212, 144, 10, 0.32);
  background: rgba(212, 144, 10, 0.04);
  color: var(--accent);
}

.button-secondary:hover {
  border-color: rgba(212, 98, 26, 0.5);
  background: rgba(212, 98, 26, 0.08);
  color: var(--accent-glow);
}

.button-small {
  min-height: 2.75rem;
  padding-inline: 1.1rem;
  font-size: 0.875rem;
}

.button-on-dark {
  background: var(--text);
  color: var(--ink-on-accent);
}

.button-on-dark:hover {
  background: #ffffff;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25);
}

/* ─────────────────────────────────────────
   HERO
───────────────────────────────────────── */
.hero {
  padding-top: 5rem;
  padding-bottom: 5rem;
  position: relative;
  overflow: hidden;
}

/* Ambient teal glow behind the hero — adds depth without being loud */
.hero::before {
  content: '';
  position: absolute;
  top: -10%;
  left: -5%;
  width: 55%;
  height: 100%;
  background:
    radial-gradient(ellipse 60% 70% at 30% 40%, rgba(30, 27, 74, 0.55) 0%, transparent 65%),
    radial-gradient(ellipse 42% 40% at 8% 85%, rgba(212, 144, 10, 0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 1.5rem;
  align-items: start;
}

.vsl-hero-grid {
  grid-template-columns: minmax(280px, 0.72fr) minmax(560px, 1.45fr);
  align-items: center;
}

.hero-copy {
  display: grid;
  gap: 1.25rem;
}

.hero-lead {
  max-width: 48rem;
  font-size: 1.1rem;
}

.hero-support {
  max-width: 42rem;
  font-size: 0.975rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 0.75rem;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  margin-top: 1rem;
}

.hero-points li,
.badge-list li {
  padding: 0.6rem 0.9rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 0.875rem;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.hero-points li:hover,
.badge-list li:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
}

/* ─────────────────────────────────────────
   PANELS & CARDS
───────────────────────────────────────── */
.hero-panel,
.vsl-card,
.card,
.cta-panel {
  background: linear-gradient(150deg, rgba(22, 29, 38, 0.94) 0%, rgba(15, 20, 25, 0.97) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s cubic-bezier(0.16,1,0.3,1);
}

.card:hover {
  border-color: rgba(212, 144, 10, 0.24);
  box-shadow: var(--shadow), 0 0 0 1px rgba(212, 144, 10, 0.08);
  transform: translateY(-2px);
}

.hero-panel {
  padding: 1.5rem;
  display: grid;
  gap: 1.5rem;
}

.vsl-card {
  padding: 0.75rem;
  overflow: hidden;
  width: 100%;
}

.vsl-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: #05070a;
}

.vsl-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.vsl-placeholder {
  display: grid;
  place-items: center;
  padding: 2rem;
  background:
    linear-gradient(135deg, rgba(5, 7, 10, 0.86), rgba(22, 29, 38, 0.92)),
    radial-gradient(ellipse 52% 52% at 82% 12%, rgba(212, 144, 10, 0.18), transparent 64%);
}

.vsl-placeholder > div {
  display: grid;
  gap: 1rem;
  max-width: 30rem;
}

.vsl-placeholder h2 {
  max-width: 15ch;
}

.vsl-placeholder p:not(.eyebrow) {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.panel-block {
  display: grid;
  gap: 0.95rem;
}

.panel-label {
  color: var(--text);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-family: var(--font-display);
}

.card {
  padding: 1.6rem;
}

.card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.capability-card,
.proof-card,
.text-card,
.faq-item {
  display: grid;
  gap: 0.9rem;
}

.accent-card {
  border-color: rgba(212, 144, 10, 0.55);
  background: linear-gradient(150deg, rgba(30, 27, 74, 0.72) 0%, rgba(22, 29, 38, 0.95) 100%);
}

.legal-content {
  display: grid;
  gap: 1.15rem;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

.legal-content h2 {
  color: var(--text);
  font-size: clamp(1.45rem, 2.5vw, 2rem);
  margin-top: 1.5rem;
}

.legal-content h2:first-of-type {
  margin-top: 0.5rem;
}

.legal-content ul {
  display: grid;
  gap: 0.65rem;
  padding-left: 1.25rem;
}

.legal-content li {
  padding-left: 0.25rem;
}

/* ─────────────────────────────────────────
   GRIDS
───────────────────────────────────────── */
.card-grid {
  display: grid;
  gap: 1.5rem;
}

.card-grid-four {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: auto auto;
}

/* First card gets extra visual weight */
.card-grid-four > *:first-child {
  grid-column: 1;
  grid-row: 1;
}

.card-grid-two,
.split-grid,
.proof-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* ─────────────────────────────────────────
   POLISH — micro-refinements
───────────────────────────────────────── */

/* Compare columns — left = dimmed "before", right = bright "after" */
.compare-col:first-child .check-list li {
  opacity: 0.6;
}

.compare-col-right .check-list li {
  color: var(--text);
}

/* Card hover — subtle lift on boxed capability cards only */
#services .card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#services .card:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 56px rgba(0, 0, 0, 0.5), 0 2px 12px rgba(30, 27, 74, 0.4);
}

/* Why Calipso left-rule hover — brighten the border */
#why-calipso .card {
  transition: border-left-color 0.2s ease;
}

#why-calipso .card:hover {
  border-left-color: rgba(212, 144, 10, 0.7);
}

/* ─── Compare columns — bare two-column, no card chrome */
.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.compare-col {
  padding: 2rem 2.5rem;
}

.compare-col + .compare-col {
  border-left: 1px solid var(--line);
  background: rgba(212, 144, 10, 0.03);
}

.compare-col h3 {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.compare-col-right h3 {
  color: var(--accent);
}

/* ─── Proof row — table-strip, no boxes */
.proof-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  border-top: 2px solid rgba(212, 144, 10, 0.55);
  border-radius: var(--radius);
  overflow: hidden;
}

.proof-item {
  padding: 2rem;
  border-right: 1px solid var(--line);
}

.proof-item:last-child {
  border-right: none;
}

.proof-item h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.proof-item p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.65;
  margin: 0;
}

/* ─────────────────────────────────────────
   LISTS
───────────────────────────────────────── */
.badge-list,
.issue-list,
.check-list,
.faq-list {
  display: grid;
  gap: 0.8rem;
}

.issue-list li,
.check-list li {
  position: relative;
  padding-left: 1.35rem;
  font-size: 0.9rem;
}

.issue-list li::before,
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 999px;
  background: var(--accent);
}

/* ─────────────────────────────────────────
   PROCESS / STEPS
───────────────────────────────────────── */
.process-list {
  display: grid;
  gap: 1rem;
}

.process-step {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  column-gap: 1rem;
  gap: 0.9rem;
}

.process-step h3,
.process-step p {
  grid-column: 2;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--radius-xs);
  background: rgba(30, 27, 74, 0.72);
  border: 1px solid rgba(61, 95, 138, 0.38);
  color: var(--accent);
  font-weight: 700;
  font-family: var(--font-display);
  font-variant-numeric: tabular-nums;
  font-size: 0.875rem;
  flex-shrink: 0;
  letter-spacing: 0.01em;
}

/* Blog article date variant */
.article-date {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.04em;
  padding-top: 0.2rem;
  flex-shrink: 0;
}

/* ─────────────────────────────────────────
   CTA
───────────────────────────────────────── */
.cta-section {
  padding-bottom: 7rem;
  background-image: radial-gradient(ellipse 50% 60% at 50% 50%, rgba(212, 144, 10, 0.07) 0%, transparent 70%);
}

.cta-section h2 {
  color: var(--accent);
}

.cta-panel {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 1.5rem;
  align-items: center;
  padding: 2.5rem 2rem;
}

.cta-actions {
  display: grid;
  gap: 0.9rem;
  justify-items: start;
}

/* ─────────────────────────────────────────
   FOOTER
───────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 2.5rem 0 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 0.8fr;
  gap: 1.5rem;
  align-items: start;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-family: var(--font-display);
  margin-bottom: 1rem;
  transition: opacity 0.2s ease;
}

.footer-brand:hover {
  opacity: 0.8;
}

.brand:hover .brand-mark {
  filter: drop-shadow(0 0 7px rgba(212, 144, 10, 0.38));
  transition: filter 0.3s ease;
}

.footer-list {
  display: grid;
  gap: 0.65rem;
}

.site-footer h3 {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 1.1rem;
}

/* ─────────────────────────────────────────
   CASE STUDY — HERO
───────────────────────────────────────── */
.cs-hero {
  padding-top: 7rem;
  padding-bottom: 0;
}

.cs-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 2rem;
}

.cs-eyebrow::before {
  content: "";
  display: block;
  width: 2rem;
  height: 1px;
  background: var(--accent);
  flex-shrink: 0;
}

.cs-numbers {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.cs-number-block {
  padding: 3rem 3rem 3rem 0;
  border-right: 1px solid var(--line);
}

.cs-number-block:last-child {
  padding: 3rem 0 3rem 3rem;
  border-right: none;
}

.cs-number-label {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

.cs-number {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 5.5vw, 5rem);
  font-weight: 700;
  line-height: 1;
  color: var(--text);
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
}

.cs-number-accent {
  color: var(--accent);
}

.cs-number-context {
  font-size: 0.875rem;
  color: var(--muted);
  margin-top: 0.75rem;
}

.cs-overview {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 5rem;
  align-items: start;
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--line);
}

.cs-overview-body {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.8;
}

.cs-meta {
  border-left: 1px solid var(--line);
  padding-left: 2.5rem;
}

.cs-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  font-size: 0.875rem;
}

.cs-meta-row:last-child {
  border-bottom: none;
}

.cs-meta-label {
  color: var(--muted);
}

.cs-meta-value {
  color: var(--text);
  font-weight: 500;
  text-align: right;
}

/* Case study hero — single-column layout (no large number display) */
.cs-hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
  padding-top: 2rem;
  padding-bottom: 3rem;
}

.cs-hero-meta {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

/* ─────────────────────────────────────────
   CASE STUDY — STATS BAND
───────────────────────────────────────── */
.stats-band {
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 4rem 0;
}

.stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stats-inner-3 {
  grid-template-columns: repeat(3, 1fr);
}

.stat-block {
  padding: 0 2.5rem;
  border-right: 1px solid var(--line);
}

.stat-block:first-child {
  padding-left: 0;
}

.stat-block:last-child {
  border-right: none;
  padding-right: 0;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.5rem;
  letter-spacing: -0.005em;
  font-variant-numeric: tabular-nums;
}

.stat-label {
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

.stat-sub {
  font-size: 0.875rem;
  color: rgba(90, 100, 120, 0.72);
  line-height: 1.5;
}

/* ─────────────────────────────────────────
   CASE STUDY — CONTENT BODY
───────────────────────────────────────── */
.cs-body {
  padding: 0;
}

.cs-section {
  padding: 5rem 0;
  border-bottom: 1px solid var(--line);
}

.cs-section:last-child {
  border-bottom: none;
}

.section-num {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
  font-family: var(--font-display);
}

.cs-title {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 2rem;
  max-width: none;
}

.cs-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.cs-body-text p {
  color: var(--muted);
  margin-bottom: 1.25rem;
  font-size: 1rem;
  line-height: 1.8;
}

.cs-body-text p:last-child {
  margin-bottom: 0;
}

/* ─────────────────────────────────────────
   CASE STUDY — CALLOUTS & NOTES
───────────────────────────────────────── */
.callout {
  background: rgba(212, 144, 10, 0.07);
  border: 1px solid rgba(212, 144, 10, 0.22);
  padding: 1.5rem 2rem;
  margin-top: 1.5rem;
  border-radius: var(--radius-sm);
}

.callout p {
  font-size: 1rem;
  color: var(--text);
  line-height: 1.7;
  margin: 0;
}

.data-note {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--line);
  padding: 1.25rem 1.75rem;
  margin-top: 1.5rem;
  border-radius: var(--radius-sm);
}

.data-note p {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
}

.outcome-block {
  background: rgba(61, 95, 138, 0.12);
  border: 1px solid rgba(61, 95, 138, 0.38);
  padding: 2rem 2.5rem;
  border-radius: var(--radius-sm);
  margin-top: 2rem;
}

.outcome-block p {
  font-size: 1.05rem;
  color: var(--text);
  line-height: 1.75;
  margin: 0;
}

/* ─────────────────────────────────────────
   CASE STUDY — FUNNEL
───────────────────────────────────────── */
.funnel {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
}

.funnel-step {
  display: grid;
  grid-template-columns: 130px 1fr 110px;
  align-items: center;
  gap: 1.5rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.funnel-step:last-child {
  border-bottom: none;
}

.funnel-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.funnel-bar-track {
  height: 6px;
  background: var(--panel);
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  border-radius: 2px;
}

.funnel-bar-fill {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  background: var(--accent);
  opacity: 0.7;
  border-radius: 2px;
}

.funnel-value {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text);
  text-align: right;
}

.funnel-value.muted {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--muted);
}

/* ─────────────────────────────────────────
   CASE STUDY — TABLES
───────────────────────────────────────── */
.jobs-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1.5rem;
}

.jobs-table thead tr {
  border-bottom: 2px solid var(--line);
}

.jobs-table thead td {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0 0 0.75rem;
  font-family: var(--font-display);
}

.jobs-table thead td:last-child {
  text-align: right;
}

.jobs-table tbody tr {
  border-bottom: 1px solid var(--line);
}

.jobs-table tbody tr:last-child {
  border-bottom: 2px solid var(--line);
}

.jobs-table tbody td {
  padding: 0.9rem 0;
  font-size: 0.9375rem;
  color: var(--muted);
}

.jobs-table tbody td:last-child {
  text-align: right;
  font-weight: 500;
  color: var(--text);
}

.jobs-table tfoot td {
  padding: 1.1rem 0 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  font-family: var(--font-display);
}

.jobs-table tfoot td:last-child {
  text-align: right;
  font-size: 1.4rem;
  color: var(--accent);
}

.results-table {
  width: 100%;
  border-collapse: collapse;
}

.results-table tr {
  border-bottom: 1px solid var(--line);
}

.results-table tr.highlight td {
  color: var(--text);
  font-weight: 500;
}

.results-table td {
  padding: 0.85rem 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.results-table td:last-child {
  text-align: right;
  font-weight: 500;
  color: var(--text);
}

/* ─────────────────────────────────────────
   CASE STUDY — METRIC CARDS
───────────────────────────────────────── */
.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.metric-card {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  padding: 2rem 2.25rem;
  border-radius: var(--radius-sm);
}

.metric-card-label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
  font-family: var(--font-display);
}

.metric-card-number {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1;
  margin-bottom: 0.5rem;
  letter-spacing: -0.005em;
  font-variant-numeric: tabular-nums;
}

.metric-card-number.accent {
  color: var(--accent);
}

.metric-card-desc {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.55;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.metric-insight {
  grid-column: 1 / -1;
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 2rem 2.25rem;
  border-radius: var(--radius-sm);
}

.metric-insight p {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.75;
  margin: 0;
}

.metric-insight strong {
  color: var(--accent);
  font-weight: 500;
}

/* ─────────────────────────────────────────
   CASE STUDY — BUILT GRID & CARDS
───────────────────────────────────────── */
.cs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.cs-card {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  padding: 2rem;
  border-radius: var(--radius-sm);
}

.cs-card-title {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 1rem;
}

.cs-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.6rem;
}

.cs-card li {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.55;
  padding-left: 1.25rem;
  position: relative;
}

.cs-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  background: var(--accent);
}

/* ─────────────────────────────────────────
   CASE STUDY — DIFF & PRINCIPLES
───────────────────────────────────────── */
.diff-block {
  margin-top: 2rem;
}

.diff-stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.diff-stat {
  background: var(--bg-alt);
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.diff-stat .number {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.diff-body p {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 1rem;
}

.cs-principles {
  display: grid;
  gap: 1rem;
}

.principle-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
}

.principle-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 600;
  flex-shrink: 0;
  font-family: var(--font-display);
}

.principle-text {
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.65;
  padding-top: 0.2rem;
}

/* ─────────────────────────────────────────
   CASE STUDY — STEP CARDS (workflow)
───────────────────────────────────────── */
.step-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.step-card {
  background: var(--panel);
  padding: 2rem 1.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  position: relative;
  transition: border-color 0.2s;
}

.step-card:hover {
  border-color: rgba(212, 144, 10, 0.28);
}

.step-card::before {
  content: "";
  position: absolute;
  top: 1.75rem;
  right: 1.75rem;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.7;
}

.step-card-num {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  color: var(--accent);
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  font-family: var(--font-display);
}

.step-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.step-card p {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ─────────────────────────────────────────
   CASE STUDY — OUTPUT CARDS
───────────────────────────────────────── */
.output-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 2rem;
}

.output-card {
  background: var(--bg-alt);
  padding: 1.75rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s;
}

.output-card:hover {
  border-color: rgba(212, 144, 10, 0.28);
}

.output-icon {
  width: 2.25rem;
  height: 2.25rem;
  margin-bottom: 1rem;
  background: rgba(30, 27, 74, 0.72);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.output-icon svg {
  width: 1.1rem;
  height: 1.1rem;
  fill: none;
  stroke: var(--accent);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.output-card h3 {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.output-card p {
  font-size: 0.8125rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ─────────────────────────────────────────
   CASE STUDY — WORKFLOW VISUAL
───────────────────────────────────────── */
.workflow-visual {
  display: flex;
  flex-direction: column;
}

.wf-input {
  background: var(--panel);
  border: 1px solid rgba(212, 144, 10, 0.22);
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  padding: 1.25rem 1.5rem;
}

.wf-label {
  font-size: 0.6875rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.wf-input-title {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text);
}

.wf-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 2.75rem;
  position: relative;
}

.wf-connector::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: rgba(212, 144, 10, 0.22);
}

.wf-dot {
  width: 1.875rem;
  height: 1.875rem;
  border-radius: 50%;
  background: var(--accent);
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8125rem;
  color: var(--bg);
}

.wf-engine {
  background: var(--accent);
  padding: 0.875rem 1.5rem;
  text-align: center;
}

.wf-engine-label {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bg);
}

.wf-outputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin-top: 1px;
  background: var(--line);
}

.wf-out {
  background: var(--bg-alt);
  padding: 0.875rem 1rem;
}

.wf-out:last-child {
  grid-column: 1 / -1;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}

.wf-out-platform {
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.25rem;
}

.wf-out-desc {
  font-size: 0.8125rem;
  color: var(--text);
}

/* ─────────────────────────────────────────
   CASE STUDY — PROBLEM STATS & CASE STRIP
───────────────────────────────────────── */
.problem-stat {
  padding: 1rem 1.25rem;
  margin-bottom: 1rem;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.problem-stat:last-child {
  margin-bottom: 0;
}

.problem-stat-num {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1;
}

.problem-stat-desc {
  font-size: 0.875rem;
  color: var(--muted);
  margin-top: 0.35rem;
}

.case-strip {
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 5rem 0;
}

.case-strip-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3.75rem;
  align-items: center;
}

.case-strip h2 {
  margin-bottom: 1rem;
}

.case-strip p {
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.75;
  max-width: 540px;
}

.case-metrics {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  min-width: 200px;
}

.case-metric {
  background: var(--panel);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
}

.case-metric-num {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.case-metric-label {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 0.25rem;
}

/* ─────────────────────────────────────────
   MOBILE NAV
───────────────────────────────────────── */
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
  padding: 0;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius-xs);
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.nav-toggle:hover {
  border-color: rgba(212, 144, 10, 0.3);
  background: rgba(255, 255, 255, 0.04);
}

.hamburger-icon {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  pointer-events: none;
}

.hamburger-icon span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: currentColor;
  border-radius: 2px;
  transform-origin: center;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s;
}

.site-header.nav-open .hamburger-icon span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.site-header.nav-open .hamburger-icon span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.site-header.nav-open .hamburger-icon span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.mobile-nav {
  display: none;
  border-top: 1px solid var(--line);
  background: rgba(15, 20, 25, 0.98);
  backdrop-filter: blur(18px);
  padding: 1.25rem 0 1.75rem;
}

.site-header.nav-open .mobile-nav {
  display: block;
}

.mobile-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-nav-list li {
  border-bottom: 1px solid var(--line);
}

.mobile-nav-list a {
  display: block;
  padding: 0.9rem 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.15s;
  font-family: var(--font-body);
}

.mobile-nav-list a:hover,
.mobile-nav-list [aria-current="page"] {
  color: var(--text);
}

.mobile-nav-cta {
  margin-top: 1.25rem;
  width: 100%;
  justify-content: center;
}

/* ─────────────────────────────────────────
   SECTION-SPECIFIC CARD SHAPES
───────────────────────────────────────── */

/* Capability cards — numbered accent */
#services .card-grid-four {
  counter-reset: capability;
}

#services .capability-card {
  counter-increment: capability;
}

#services .capability-card::before {
  content: "0" counter(capability);
  display: block;
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--accent);
  opacity: 0.55;
  letter-spacing: -0.01em;
  line-height: 1;
  margin-bottom: 0.5rem;
}

/* Why Calipso cards — left-ruled, no box */
#why-calipso .card {
  background: transparent;
  border: none;
  border-left: 3px solid rgba(212, 144, 10, 0.35);
  border-radius: 0;
  padding: 0.75rem 0 0.75rem 1.5rem;
  box-shadow: none;
}

#why-calipso .card h3 {
  color: var(--text);
  font-size: 0.9375rem;
  font-weight: 600;
}

/* FAQ — editorial list, no cards */
#faq .faq-list {
  padding: 0;
}

#faq .faq-item {
  background: transparent;
  border: none;
  border-top: 1px solid var(--line);
  border-radius: 0;
  padding: 1.75rem 0;
  box-shadow: none;
}

#faq .faq-item:last-child {
  border-bottom: 1px solid var(--line);
}

#faq .faq-item h3 {
  color: var(--text);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

#faq .faq-item p {
  margin: 0;
}

/* ─────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-grid,
  .cta-panel,
  .card-grid-four,
  .card-grid-three,
  .card-grid-two,
  .split-grid,
  .proof-grid,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .card-grid-four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .vsl-hero-grid {
    grid-template-columns: 1fr;
  }

  .proof-row {
    grid-template-columns: 1fr 1fr;
  }

  .proof-row .proof-item:nth-child(2) {
    border-right: none;
  }

  .proof-row .proof-item:nth-child(3) {
    grid-column: 1 / -1;
    border-right: none;
    border-top: 1px solid var(--line);
  }

  .site-nav {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .header-cta {
    display: none;
  }

  .cs-overview {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .cs-meta {
    border-left: none;
    border-top: 1px solid var(--line);
    padding-left: 0;
    padding-top: 2rem;
  }

  .cs-hero-split {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

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

  .cs-number-block {
    padding: 2rem 0;
    border-right: none;
    border-bottom: 1px solid var(--line);
  }

  .cs-number-block:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  .cs-two-col {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .cs-grid {
    grid-template-columns: 1fr;
  }

  .step-cards {
    grid-template-columns: 1fr;
  }

  .output-grid {
    grid-template-columns: 1fr 1fr;
  }

  .stats-inner {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .stat-block {
    padding: 0;
    border-right: none;
    border-bottom: 1px solid var(--line);
    padding-bottom: 1.5rem;
  }

  .stat-block:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  .diff-stat-row {
    grid-template-columns: 1fr;
  }

  .case-strip-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .metric-grid {
    grid-template-columns: 1fr;
  }

  .funnel-step {
    grid-template-columns: 100px 1fr 80px;
  }
}

@media (max-width: 720px) {
  .section {
    padding: 4.5rem 0;
  }

  .hero.vsl-hero {
    padding-top: 2rem;
    padding-bottom: 3.25rem;
  }

  .vsl-hero-grid {
    gap: 1rem;
  }

  .vsl-hero-grid h1 {
    font-size: 2.35rem;
  }

  .vsl-hero-grid .hero-lead {
    font-size: 1rem;
  }

  .header-inner {
    flex-wrap: nowrap;
    padding: 0.75rem 0;
    align-items: center;
    min-height: 64px;
  }

  .hero-actions,
  .hero-points,
  .cta-actions {
    align-items: stretch;
  }

  .hero-grid,
  .cta-panel,
  .card-grid-four,
  .card-grid-three,
  .card-grid-two,
  .split-grid,
  .proof-grid,
  .compare-grid,
  .proof-row,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .compare-col + .compare-col {
    border-left: none;
    border-top: 1px solid var(--line);
  }

  .proof-item {
    border-right: none;
    border-bottom: 1px solid var(--line);
  }

  .proof-item:last-child {
    border-bottom: none;
  }

  .proof-row .proof-item:nth-child(3) {
    grid-column: auto;
    border-top: none;
  }

  .button,
  .button-small {
    width: 100%;
  }

  .cs-section {
    padding: 3.5rem 0;
  }

  .output-grid {
    grid-template-columns: 1fr;
  }

  .wf-out:last-child {
    grid-column: auto;
    border-radius: 0;
  }

  /* Founder strip — mobile */
  .founder-strip-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
  }

  .founder-strip-photo {
    width: 80px;
    height: 80px;
  }

  /* About page — founder hero */
  .founder-hero-grid {
    grid-template-columns: 1fr;
  }

  .founder-photo-wrap {
    display: none;
  }

  /* Stat grid */
  .stat-grid {
    grid-template-columns: 1fr 1fr;
  }

  /* Founder connect */
  .founder-connect-grid {
    grid-template-columns: 1fr;
  }
}

/* Shared page polish for service, proof, article, and case-study layouts */
.cs-hero,
.cs-section {
  background-image: none;
}

.cs-hero {
  padding-top: 6.5rem;
}

.cs-eyebrow,
.cs-number-label,
.metric-card-label,
.case-metric-label,
.card-kicker,
.article-date {
  color: var(--accent);
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
}

.cs-numbers,
.stats-band,
.case-strip,
.results-table {
  border-color: var(--line);
  background: transparent;
}

.cs-number-block,
.metric-card,
.case-metric,
.stat-block,
.funnel-step {
  border-color: var(--line);
}

.cs-number,
.metric-card-number,
.case-metric-num,
.proof-number,
.step-number,
.cs-number-accent {
  color: var(--accent);
}

.cs-card,
.metric-card,
.step-card,
.output-card,
.case-metric,
.funnel-step {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: none;
}

.cs-card,
.metric-card,
.step-card,
.output-card {
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.cs-card:hover,
.metric-card:hover,
.step-card:hover,
.output-card:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  background: #1b292b;
  box-shadow: none;
}

.step-card::before {
  background: var(--accent);
}

.wf-engine,
.wf-input,
.wf-out {
  background: var(--panel);
  border-color: var(--line);
  box-shadow: none;
}

.wf-engine {
  border-top-color: var(--accent);
}

.funnel-bar-track {
  background: rgba(243, 239, 228, 0.1);
}

.funnel-bar-fill {
  background: var(--accent);
}

#post-body,
.cs-body-text,
.legal-content {
  color: var(--muted-bright);
}

#post-body blockquote {
  border-left-color: var(--accent);
  color: var(--text);
}

@media (max-width: 720px) {
  .cs-hero {
    padding-top: 4.5rem;
  }
}

/* ─────────────────────────────────────────
   FOUNDER — HOMEPAGE STRIP
───────────────────────────────────────── */
.founder-strip {
  padding: 2.5rem 0;
}

.founder-strip-inner {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  flex-wrap: wrap;
}

.founder-strip-photo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 2px solid rgba(212, 144, 10, 0.28);
  flex-shrink: 0;
}

.founder-strip-copy {
  flex: 1;
  min-width: 200px;
}

.founder-strip-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 0.35rem;
}

.founder-strip-bio {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ─────────────────────────────────────────
   FOUNDER — ABOUT PAGE HERO
───────────────────────────────────────── */
.founder-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
}

.founder-photo-wrap {
  position: relative;
  align-self: stretch;
  display: flex;
  align-items: flex-start;
}

.founder-photo {
  width: 100%;
  max-width: 420px;
  height: auto;
  border-radius: var(--radius);
  object-fit: cover;
  object-position: center top;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: block;
}

.founder-photo-badge {
  position: absolute;
  bottom: 1.25rem;
  left: -1rem;
  background: var(--panel);
  border: 1px solid rgba(212, 144, 10, 0.22);
  border-radius: var(--radius-sm);
  padding: 0.65rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  box-shadow: var(--shadow-sm);
}

.badge-stat {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.01em;
  line-height: 1;
}

.badge-label {
  font-size: 0.7rem;
  color: var(--muted);
  font-weight: 300;
  letter-spacing: 0.04em;
}

/* ─────────────────────────────────────────
   STAT GRID — ABOUT PAGE
───────────────────────────────────────── */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}

.stat-card {
  display: grid;
  gap: 0.6rem;
  text-align: left;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.005em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.55;
}

/* ─────────────────────────────────────────
   FOUNDER CONNECT — ABOUT PAGE
───────────────────────────────────────── */
.founder-connect-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 3rem;
  align-items: start;
}

/* ─────────────────────────────────────────
   CALIPSO CLEANUP — editorial restraint
───────────────────────────────────────── */
:root {
  --bg: #101719;
  --bg-alt: #151e20;
  --panel: #182326;
  --panel-rich: #1b2c2e;
  --text: #f3efe4;
  --muted: #a5afa9;
  --muted-bright: #c7d1c9;
  --line: rgba(243, 239, 228, 0.14);
  --accent: #e6a23a;
  --accent-glow: #f0b85c;
  --accent-blue: #4d7773;
  --shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
  --shadow-sm: 0 5px 16px rgba(0, 0, 0, 0.15);
  --radius: 6px;
  --radius-sm: 4px;
  --radius-xs: 3px;
}

body::after {
  display: none;
}

body {
  line-height: 1.7;
}

.site-header {
  background: rgba(16, 23, 25, 0.96);
  backdrop-filter: none;
  border-bottom-color: var(--line);
}

.header-inner {
  min-height: 72px;
}

.nav-list {
  gap: 1.5rem;
}

.nav-list a,
.footer-list a {
  color: var(--muted-bright);
}

.section {
  padding: 7.25rem 0;
}

.section-alt {
  background: var(--bg-alt);
  border-block-color: var(--line);
  background-image: none;
}

.hero {
  padding-top: 6.75rem;
  padding-bottom: 7.25rem;
}

.hero::before {
  left: 52%;
  top: 8%;
  width: 48%;
  height: 78%;
  background: radial-gradient(ellipse at center, rgba(77, 119, 115, 0.16), transparent 68%);
}

.hero-grid {
  grid-template-columns: minmax(0, 1.12fr) minmax(300px, 0.78fr);
  gap: clamp(3rem, 7vw, 7rem);
  align-items: center;
}

.vsl-hero-grid {
  grid-template-columns: minmax(0, 1fr);
  gap: 2.75rem;
  align-items: start;
}

.vsl-hero-grid .hero-copy {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  justify-items: center;
}

.vsl-hero-grid h1,
.vsl-hero-grid .hero-lead,
.vsl-hero-grid .hero-support {
  margin-inline: auto;
}

.vsl-hero-grid .hero-points {
  width: min(100%, 720px);
  text-align: left;
}

.vsl-hero-grid .hero-actions {
  justify-content: center;
}

.vsl-hero-grid .vsl-card {
  width: min(100%, 960px);
  margin: 0 auto;
}

.hero-details {
  display: grid;
  gap: 1rem;
  width: min(100%, 760px);
  margin: 0 auto;
  text-align: center;
}

.hero-details .hero-points {
  width: min(100%, 680px);
  margin-inline: auto;
  text-align: left;
}

.hero-copy {
  gap: 1.1rem;
}

.hero-lead {
  max-width: 43rem;
  font-size: 1.12rem;
  color: var(--muted-bright);
}

.hero-support {
  color: var(--muted);
  font-size: 0.98rem;
}

.hero-actions {
  margin-top: 1rem;
}

.hero-points {
  display: grid;
  gap: 0.6rem;
  margin-top: 1.35rem;
}

.hero-points li,
.badge-list li {
  position: relative;
  padding: 0 0 0 1.15rem;
  background: transparent;
  border: 0;
  border-radius: 0;
  color: var(--muted-bright);
}

.hero-points li::before,
.badge-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

.hero-points li:hover,
.badge-list li:hover {
  background: transparent;
}

.hero-panel,
.vsl-card,
.card,
.cta-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: none;
}

.hero-panel {
  padding: clamp(1.5rem, 3vw, 2.25rem);
  gap: 2rem;
  border-top: 3px solid var(--accent);
}

.panel-block {
  gap: 0.8rem;
}

.panel-label {
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
}

.badge-list {
  display: grid;
  gap: 0.45rem;
}

.issue-list {
  display: grid;
  gap: 0.65rem;
}

.issue-list li {
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--line);
}

.issue-list li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.card {
  border-top: 2px solid rgba(230, 162, 58, 0.52);
  transition: border-color 180ms ease, transform 180ms ease, background-color 180ms ease;
}

.card:hover {
  border-color: var(--accent);
  background: #1b292b;
  box-shadow: none;
  transform: translateY(-2px);
}

.accent-card {
  background: var(--panel);
  border-color: var(--accent);
}

.compare-grid,
.proof-row {
  border: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-radius: 0;
}

.compare-col {
  padding: 2.25rem 2rem;
}

.compare-col + .compare-col {
  border-left: 1px solid var(--line);
  background: transparent;
}

.compare-col h3 {
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  text-transform: none;
}

.compare-col-right h3 {
  color: var(--accent);
}

.proof-row {
  border-top: 2px solid var(--accent);
}

.proof-item {
  padding: 2.25rem 2rem;
}

.cta-section {
  background-image: none;
}

.cta-panel {
  border-top: 3px solid var(--accent);
  padding: 2.75rem 2.5rem;
}

.cta-section h2 {
  color: var(--text);
}

.button {
  border-radius: 4px;
  min-height: 3.1rem;
}

.button-primary {
  box-shadow: none;
}

.button-primary:hover {
  box-shadow: 0 8px 20px rgba(230, 162, 58, 0.18);
}

.button-secondary {
  border-color: var(--line);
  background: transparent;
  color: var(--text);
}

.button-secondary:hover {
  border-color: var(--accent);
  background: rgba(230, 162, 58, 0.08);
  color: var(--text);
}

#services .card-grid-four > *:first-child {
  grid-column: auto;
  grid-row: auto;
}

#services .capability-card::before {
  color: var(--accent);
}

#why-calipso .card {
  border-left: 0;
  border-top: 1px solid var(--line);
  padding: 1.25rem 0;
}

#why-calipso .card:hover {
  border-top-color: var(--accent);
}

.site-footer {
  padding-top: 4rem;
  border-top-color: var(--line);
}

@media (max-width: 720px) {
  .section {
    padding: 5rem 0;
  }

  .hero {
    padding-top: 4.5rem;
    padding-bottom: 5rem;
  }

  .hero-grid {
    gap: 2.5rem;
  }

  .hero-panel {
    border-top-width: 2px;
  }

  .compare-col {
    padding: 1.75rem 0;
  }

  .compare-col + .compare-col {
    border-left: 0;
  }

  .cta-panel {
    padding: 2rem 1.25rem;
  }
}
