/* case-study.css — shared block library for all case study pages */

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

:root {
  --bg:          #f5f5f7;
  --white:       #ffffff;
  --black:       #1a1a1a;
  --cod-gray:    #121212;
  --mine-shaft:  #2b2b2b;
  --emperor:     #545454;
  --gray:        #828282;
  --alto:        #dedede;
  --gallery:     #f0f0f0;
  --blue:        #1569f2;
  --ease:        cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --cs-accent:   var(--blue);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, sans-serif;
  background: var(--bg);
  color: var(--black);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ─── PROGRESS BAR ─── */
#progress-bar {
  position: fixed; top: 0; left: 0; z-index: 300;
  height: 2px; width: 0%;
  background: rgba(0,0,0,0.2);
  transition: width 0.12s linear;
  pointer-events: none;
  border-radius: 0 2px 2px 0;
}

/* ─── NAV ─── */
nav {
  position: fixed; top: 20px; left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 12px 7px 9px;
  background: rgba(255,255,255,0.82);
  backdrop-filter: blur(40px) saturate(180%);
  -webkit-backdrop-filter: blur(40px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.6);
  border-radius: 100px;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.88) inset,
    0 -1px 0 rgba(0,0,0,0.04) inset,
    0 8px 32px rgba(0,0,0,0.08),
    0 2px 6px rgba(0,0,0,0.05);
  white-space: nowrap;
  animation: navDrop 0.9s var(--ease) 0.1s both;
  transition: box-shadow 0.7s var(--ease), background 0.7s var(--ease), backdrop-filter 0.7s var(--ease);
}
@keyframes navDrop {
  from { opacity: 0; transform: translateX(-50%) translateY(-10px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}
nav.scrolled {
  background: rgba(255,255,255,0.86);
  backdrop-filter: blur(44px) saturate(180%);
  -webkit-backdrop-filter: blur(44px) saturate(180%);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.92) inset,
    0 -1px 0 rgba(0,0,0,0.05) inset,
    0 12px 40px rgba(0,0,0,0.1),
    0 2px 8px rgba(0,0,0,0.07);
}
.nav-photo { width: 28px; height: 28px; border-radius: 50%; overflow: hidden; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.nav-photo img { width: 100%; height: 100%; object-fit: cover; }
.nav-photo-placeholder { width: 100%; height: 100%; background: linear-gradient(135deg, #c4c4ca, #9c9ca4); display: flex; align-items: center; justify-content: center; }
.nav-name { font-size: 13.5px; font-weight: 600; color: var(--black); text-decoration: none; padding: 0 5px 0 3px; letter-spacing: -0.015em; }
.nav-divider {
  width: 1px; height: 14px; background: rgba(0,0,0,0.09); margin: 0 2px;
  max-width: 10px; overflow: hidden;
  transition: max-width 0.6s var(--ease), opacity 0.45s var(--ease), margin 0.6s var(--ease);
  transition-delay: 0.12s;
}
.nav-links { display: flex; gap: 1px; list-style: none; max-width: 200px; overflow: hidden; transition: max-width 0.6s var(--ease), opacity 0.45s var(--ease); transition-delay: 0.12s; }
.nav-links a { font-size: 13.5px; font-weight: 500; color: var(--black); text-decoration: none; padding: 5px 11px; border-radius: 100px; transition: color 0.25s var(--ease); }
.nav-links a:hover { color: #666; }
.nav-dots { display: inline-flex; align-items: center; gap: 4px; width: 0; opacity: 0; overflow: hidden; flex-shrink: 0; padding: 5px 0 3px; transition: width 0.6s var(--ease), opacity 0.4s var(--ease); transition-delay: 0s; }
.nav-dots span { width: 5px; height: 5px; border-radius: 50%; flex-shrink: 0; background: var(--emperor); animation: dot-bob 1.3s ease-in-out infinite; }
.nav-dots span:nth-child(2) { animation-delay: 0.18s; }
.nav-dots span:nth-child(3) { animation-delay: 0.36s; }
@keyframes dot-bob {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.35; }
  30% { transform: translateY(-4px); opacity: 1; }
}
nav.compact .nav-divider { max-width: 0; opacity: 0; margin: 0; transition-delay: 0s; }
nav.compact .nav-links { max-width: 0; opacity: 0; transition-delay: 0s; }
nav.compact .nav-dots { width: 32px; opacity: 1; transition-delay: 0.26s; }

/* ─── FOOTER ─── */
footer { background: #0a0a0a; color: white; padding: 88px 48px 0; overflow: hidden; }
.footer-inner { max-width: 1160px; margin: 0 auto; }
.footer-cta { font-size: clamp(36px, 4.2vw, 60px); font-weight: 600; letter-spacing: -0.04em; line-height: 1.15; margin-bottom: 48px; }
.footer-cta > span:not(.footer-word) { color: #272730; }
.footer-word { display: inline-block; color: white; }
.footer-row { display: flex; justify-content: space-between; align-items: flex-end; padding: 30px 0; border-top: 1px solid rgba(255,255,255,0.07); }
.footer-label { font-size: 10px; font-weight: 500; letter-spacing: 0.09em; text-transform: uppercase; color: rgba(255,255,255,0.26); margin-bottom: 7px; }
.footer-email { font-size: 17px; font-weight: 400; letter-spacing: -0.02em; color: white; text-decoration: none; transition: color 0.25s var(--ease); }
.footer-email:hover { color: rgba(255,255,255,0.5); }
.footer-socials { display: flex; gap: 8px; }
.footer-socials a {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.09);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.6); text-decoration: none;
  transition: background 0.32s var(--ease), color 0.32s var(--ease), border-color 0.32s var(--ease), transform 0.4s var(--ease-spring);
}
.footer-socials a:hover { background: rgba(255,255,255,0.07); color: white; transform: translateY(-2px); border-color: rgba(255,255,255,0.18); }
.footer-meta { display: flex; justify-content: space-between; padding: 18px 0; border-top: 1px solid rgba(255,255,255,0.05); }
.footer-meta span { font-size: 11.5px; color: rgba(255,255,255,0.2); font-weight: 500; }
.footer-wordmark {
  font-size: clamp(50px, 10vw, 156px); font-weight: 700; letter-spacing: -0.04em;
  line-height: 0.9; color: white; white-space: nowrap;
  padding: 32px 0 0; will-change: transform; text-align: center;
}

/* ─── SCROLL REVEAL ─── */
@keyframes heroIn {
  from { opacity: 0; transform: translateY(12px); filter: blur(6px); }
  to   { opacity: 1; transform: translateY(0);    filter: blur(0);   }
}
.reveal { opacity: 0; transform: translateY(36px) scale(0.98); filter: blur(5px); transition: opacity 1.0s var(--ease), transform 1.0s var(--ease), filter 1.0s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
.reveal-d1 { --delay: 0.1s; }
.reveal-d2 { --delay: 0.2s; }
.reveal-d3 { --delay: 0.3s; }
.reveal-d1.in, .reveal-d2.in, .reveal-d3.in { transition-delay: var(--delay, 0s); }

/* ─── LAYOUT WRAPPERS ─── */
.cs-container { max-width: 1160px; margin: 0 auto; padding: 0 48px; }
.cs-narrow    { max-width: 760px; margin-left: auto; margin-right: auto; }

/* ─── HERO (default — centered, used by other pages) ─── */
.cs-hero {
  min-height: 100vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: flex-end;
  text-align: center;
  padding: 140px 48px 96px;
  position: relative; overflow: hidden;
  background: var(--bg);
}
.cs-hero-content { position: relative; z-index: 1; max-width: 900px; width: 100%; }
.cs-hero-visual {
  position: relative; z-index: 1;
  width: 100%; max-width: 900px;
  margin-top: 64px;
}
.cs-hero-visual img { width: 100%; border-radius: 24px; display: block; box-shadow: 0 24px 80px rgba(0,0,0,0.14); }
.cs-hero-placeholder {
  width: 100%; aspect-ratio: 16/9;
  border-radius: 24px;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 500; letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ─── HERO FULLSCREEN (image background, text bottom-left) ─── */
.cs-hero-fullscreen {
  height: 100vh; height: 100svh;
  min-height: 100vh;
  padding: 0; text-align: left;
  align-items: stretch; justify-content: flex-end;
  background: none;
}
.cs-hero-bg {
  position: absolute; inset: 0; z-index: 0; overflow: hidden;
}
.cs-hero-bg img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* Placeholder gradient shown until actual photo is added */
.cs-hero-bg-placeholder {
  width: 100%; height: 100%;
  background: radial-gradient(ellipse 75% 65% at 65% 30%, #f5f5f5 0%, #d8d8d8 30%, #909090 58%, #3a3a3a 78%, #101010 100%);
}
.cs-hero-overlay {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(to bottom, transparent 25%, rgba(0,0,0,0.35) 60%, rgba(0,0,0,0.76) 100%);
}
.cs-hero-bottom {
  position: relative; z-index: 2;
  padding: 0 48px 72px;
  width: 100%;
  max-width: calc(1160px + 96px);
  margin: 0 auto;
  animation: heroIn 0.9s var(--ease) 0.1s both;
}
.cs-hero-project {
  font-size: 14px; font-weight: 500;
  color: rgba(255,255,255,0.55);
  margin-bottom: 10px; letter-spacing: 0.01em;
}
.cs-hero-title {
  font-size: clamp(48px, 7vw, 96px);
  font-weight: 700; letter-spacing: -0.04em; line-height: 1.0;
  color: white; margin: 0;
}

/* ─── INTRO SECTION (two-tone text + flat meta) ─── */
.cs-intro-section { padding: 88px 0 0; }
.cs-intro-text {
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 600; letter-spacing: -0.03em; line-height: 1.35;
  max-width: 860px; margin-bottom: 56px; color: var(--black);
}
.cs-intro-muted { color: var(--gray); font-weight: 400; }
.cs-meta-flat {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding-top: 40px; border-top: 1px solid var(--alto);
  padding-bottom: 72px;
}
.cs-meta-flat .cs-meta-label {
  font-size: 11px; font-weight: 500; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--gray); margin-bottom: 8px;
}
.cs-meta-flat .cs-meta-value { font-size: 14px; font-weight: 600; color: var(--black); line-height: 1.6; }

/* ─── TYPOGRAPHY ─── */
.cs-eyebrow {
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gray); margin-bottom: 20px;
  animation: heroIn 0.9s var(--ease) 0.1s both;
}
.cs-title {
  font-size: clamp(40px, 6vw, 78px);
  font-weight: 700; letter-spacing: -0.04em;
  line-height: 1.0; color: var(--black);
  margin-bottom: 20px;
  animation: heroIn 0.9s var(--ease) 0.2s both;
}
.cs-subtitle {
  font-size: clamp(16px, 1.8vw, 20px);
  font-weight: 400; line-height: 1.55;
  color: var(--gray); max-width: 56ch; margin: 0 auto;
  animation: heroIn 0.9s var(--ease) 0.32s both;
}
.cs-heading {
  font-size: clamp(26px, 3.2vw, 44px);
  font-weight: 600; letter-spacing: -0.03em;
  line-height: 1.15; color: var(--black); margin-bottom: 20px;
}
.cs-body {
  font-size: 17px; font-weight: 400;
  line-height: 1.75; color: var(--emperor);
}
.cs-body + .cs-body { margin-top: 16px; }
.cs-caption {
  font-size: 13px; font-style: italic;
  color: var(--gray); margin-top: 10px;
  display: block; text-align: center;
}
.cs-label {
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gray); margin-bottom: 12px;
}

/* ─── META GRID ─── */
.cs-meta {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--alto); border-left: 1px solid var(--alto);
  margin: 80px 0;
}
.cs-meta-item {
  padding: 28px 24px;
  border-right: 1px solid var(--alto); border-bottom: 1px solid var(--alto);
}
.cs-meta-label {
  font-size: 10px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gray); margin-bottom: 10px;
}
.cs-meta-value { font-size: 14px; color: var(--black); line-height: 1.6; }
.cs-meta-value strong { font-weight: 600; display: block; }

/* ─── SECTION BLOCK ─── */
.cs-section { padding: 80px 0; }
.cs-section + .cs-section { padding-top: 0; }

/* ─── TWO COL ─── */
.cs-two-col {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; padding: 80px 0; align-items: center;
}
.cs-two-col.wide    { grid-template-columns: 1fr 1.5fr; }
.cs-two-col.wide-l  { grid-template-columns: 1.5fr 1fr; }
.cs-two-col.top     { align-items: start; }

/* ─── IMAGE ─── */
.cs-image { margin: 48px 0; }
.cs-image img { width: 100%; border-radius: 20px; display: block; }
.cs-image.shadowed img { box-shadow: 0 16px 56px rgba(0,0,0,0.12); }

/* ─── IMAGE GRID ─── */
.cs-image-grid { display: grid; gap: 16px; margin: 48px 0; }
.cs-image-grid.cols-2 { grid-template-columns: 1fr 1fr; }
.cs-image-grid.cols-3 { grid-template-columns: 1fr 1fr 1fr; }
.cs-image-grid img { width: 100%; border-radius: 14px; display: block; }

/* ─── PULL QUOTE ─── */
.cs-pullquote {
  padding: 72px 0; margin: 0;
  border-top: 1px solid var(--alto); border-bottom: 1px solid var(--alto);
}
.cs-pullquote p {
  font-size: clamp(22px, 2.8vw, 38px); font-weight: 500;
  letter-spacing: -0.025em; line-height: 1.35; color: var(--black);
  max-width: 760px;
}
.cs-pullquote.centered { text-align: center; }
.cs-pullquote.centered p { margin: 0 auto; }

/* ─── STAT ROW ─── */
.cs-stat-row {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--alto); border-left: 1px solid var(--alto);
  margin: 0 0 80px;
}
.cs-stat {
  padding: 32px 28px;
  border-right: 1px solid var(--alto); border-bottom: 1px solid var(--alto);
}
.cs-stat-number {
  font-size: clamp(30px, 3.6vw, 48px); font-weight: 700;
  letter-spacing: -0.04em; color: var(--black); line-height: 1; margin-bottom: 8px;
}
.cs-stat-number em { color: var(--cs-accent); font-style: normal; }
.cs-stat-label { font-size: 14px; color: var(--gray); line-height: 1.4; }

/* ─── DIVIDER ─── */
.cs-divider { height: 1px; background: var(--alto); margin: 80px 0; }

/* ─── DUAL-VALUE STATS ─── */
.cs-stat-abs   { font-size: clamp(28px, 3.8vw, 52px); font-weight: 700; letter-spacing: -0.04em; line-height: 1; color: var(--black); }
.cs-stat-delta {
  display: inline-block; font-size: 12px; font-weight: 600;
  color: var(--cs-accent);
  background: color-mix(in srgb, var(--cs-accent) 10%, transparent);
  padding: 2px 8px; border-radius: 100px; margin-top: 8px;
}
.cs-stat-delta.neg { color: #16a34a; background: rgba(22,163,74,0.1); }

/* ─── FEATURE LIST ─── */
.cs-feature-list { list-style: none; margin-top: 32px; border-top: 1px solid var(--alto); }
.cs-feature-item { padding: 18px 0; border-bottom: 1px solid var(--alto); }
.cs-feature-label { font-size: 15px; font-weight: 600; color: var(--black); margin-bottom: 4px; }
.cs-feature-desc  { font-size: 14px; color: var(--gray); line-height: 1.65; }

/* ─── DARK SECTION ─── */
.cs-section-dark { background: #0d1420; padding: 96px 0; }
.cs-section-dark .cs-label   { color: rgba(255,255,255,0.35); }
.cs-section-dark .cs-heading  { color: white; }
.cs-section-dark .cs-body    { color: rgba(255,255,255,0.62); }

/* ─── SCALABILITY GRID ─── */
.cs-scalability-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 48px; }
.cs-scalability-item { background: var(--gallery); border-radius: 20px; overflow: hidden; }
.cs-scalability-label {
  font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--gray); padding: 20px 22px 0;
}
.cs-scalability-desc { font-size: 13px; color: var(--emperor); line-height: 1.6; padding: 8px 22px 20px; }
.cs-scalability-img  {
  width: 100%; aspect-ratio: 4/3;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--gray); background: var(--gallery);
}
.cs-scalability-img img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ─── PHONE STRIP (3 phones in a row) ─── */
.cs-phone-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 48px 0; align-items: end; }
.cs-phone-strip .cs-phone-cell { display: flex; flex-direction: column; align-items: center; gap: 0; }
.cs-phone-cell .cs-phone-placeholder {
  width: 100%; aspect-ratio: 9/19;
  border-radius: 28px;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 500; letter-spacing: 0.05em; text-transform: uppercase;
  box-shadow: 0 16px 48px rgba(0,0,0,0.12);
}
.cs-phone-cell img { width: 100%; border-radius: 28px; box-shadow: 0 16px 48px rgba(0,0,0,0.12); display: block; }

/* ─── RESEARCH GRID ─── */
.cs-research-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--alto);
  border: 1px solid var(--alto); border-radius: 20px; overflow: hidden;
  margin: 40px 0;
}
.cs-research-item { background: var(--white); padding: 28px 24px; }
.cs-research-name { font-size: 15px; font-weight: 600; color: var(--black); margin-bottom: 6px; }
.cs-research-desc { font-size: 13px; color: var(--gray); line-height: 1.55; }

/* ─── PILLARS ─── */
.cs-pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 40px 0; }
.cs-pillar {
  background: var(--white); border: 1px solid var(--alto); border-radius: 20px; padding: 32px 28px;
}
.cs-pillar-num { font-size: 12px; font-weight: 600; color: var(--cs-accent); margin-bottom: 14px; letter-spacing: 0.06em; }
.cs-pillar-title { font-size: 18px; font-weight: 600; letter-spacing: -0.02em; color: var(--black); margin-bottom: 10px; }
.cs-pillar-body { font-size: 14px; color: var(--gray); line-height: 1.6; }

/* ─── MOCKUP FRAME ─── */
.cs-mockup {
  width: 100%; border-radius: 20px; overflow: hidden;
  box-shadow: 0 20px 64px rgba(0,0,0,0.13);
}
.cs-mockup img { width: 100%; display: block; }
.cs-mockup-placeholder {
  aspect-ratio: 9/16; width: 100%; max-width: 320px;
  border-radius: 32px; margin: 0 auto;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 500; letter-spacing: 0.05em; text-transform: uppercase;
  box-shadow: 0 20px 64px rgba(0,0,0,0.13);
}
.cs-mockup-wide-placeholder {
  width: 100%; aspect-ratio: 16/9;
  border-radius: 20px;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 500; letter-spacing: 0.05em; text-transform: uppercase;
  box-shadow: 0 16px 48px rgba(0,0,0,0.12);
}

/* ─── TAGS ─── */
.cs-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.cs-tag {
  display: inline-flex; align-items: center;
  padding: 5px 14px; border-radius: 100px;
  background: var(--gallery); color: var(--emperor);
  font-size: 12px; font-weight: 500;
}

/* ─── NEXT PROJECT ─── */
.cs-next { padding: 80px 0; border-top: 1px solid var(--alto); }
.cs-next-label { font-size: 11px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gray); margin-bottom: 28px; }
.cs-next-links { display: flex; gap: 16px; flex-wrap: wrap; }
.cs-next-card {
  flex: 1; min-width: 240px;
  background: var(--white); border: 1px solid var(--alto);
  border-radius: 20px; padding: 28px 32px;
  text-decoration: none; color: var(--black);
  display: flex; flex-direction: column; gap: 6px;
  transition: box-shadow 0.4s var(--ease), transform 0.4s var(--ease-spring), border-color 0.35s var(--ease);
}
.cs-next-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.08); transform: translateY(-3px); border-color: rgba(0,0,0,0.15); }
.cs-next-dir { font-size: 11px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gray); }
.cs-next-title { font-size: 20px; font-weight: 600; letter-spacing: -0.025em; margin-top: 2px; }
.cs-next-sub { font-size: 13px; color: var(--gray); margin-top: 2px; }

/* ─── BACK LINK ─── */
.cs-back {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 500; color: var(--gray);
  text-decoration: none; margin-bottom: 48px;
  transition: color 0.25s var(--ease);
}
.cs-back:hover { color: var(--black); }

/* ─── TABLET ─── */
@media (max-width: 900px) {
  .cs-meta   { grid-template-columns: 1fr 1fr; }
  .cs-two-col, .cs-two-col.wide, .cs-two-col.wide-l { grid-template-columns: 1fr; gap: 36px; padding: 56px 0; }
  .cs-stat-row { grid-template-columns: 1fr 1fr; }
  .cs-pillars  { grid-template-columns: 1fr; gap: 14px; }
  .cs-research-grid { grid-template-columns: 1fr 1fr; }
  .cs-next-links { flex-direction: column; }
  .cs-hero  { padding: 120px 32px 72px; }
  .cs-section { padding: 56px 0; }
  .cs-container { padding: 0 32px; }
  .cs-scalability-grid { grid-template-columns: 1fr; }
  .cs-phone-strip { grid-template-columns: 1fr 1fr; }
  .cs-hero-bottom { padding: 0 32px 56px; }
  .cs-meta-flat { grid-template-columns: 1fr 1fr; gap: 24px; }
  .cs-intro-section { padding: 64px 0 0; }
}

/* ─── MOBILE ─── */
@media (max-width: 599px) {
  nav { top: 14px; padding: 6px 10px 6px 8px; }
  .nav-name { font-size: 12.5px; padding: 0 4px 0 2px; }
  .nav-links a { font-size: 12.5px; padding: 4px 9px; }

  .cs-container { padding: 0 20px; }
  .cs-hero { padding: 100px 20px 56px; }
  .cs-section { padding: 48px 0; }
  .cs-meta { grid-template-columns: 1fr 1fr; margin: 48px 0; }
  .cs-meta-item { padding: 20px 16px; }
  .cs-meta-label { font-size: 9px; }
  .cs-meta-value { font-size: 13px; }
  .cs-stat-row { grid-template-columns: 1fr 1fr; margin: 0 0 48px; }
  .cs-stat { padding: 22px 18px; }
  .cs-research-grid { grid-template-columns: 1fr; }
  .cs-pillars { grid-template-columns: 1fr; }
  .cs-image-grid.cols-2, .cs-image-grid.cols-3 { grid-template-columns: 1fr; }
  .cs-pullquote { padding: 48px 0; }
  .cs-next { padding: 48px 0; }
  .cs-next-links { flex-direction: column; }
  .cs-mockup-placeholder { max-width: 240px; }
  .cs-scalability-grid { grid-template-columns: 1fr; gap: 12px; }
  .cs-section-dark { padding: 64px 0; }
  .cs-phone-strip { grid-template-columns: 1fr; }
  .cs-phone-strip .cs-phone-cell:nth-child(n+2) { display: none; }
  .cs-hero-bottom { padding: 0 20px 48px; }
  .cs-meta-flat { grid-template-columns: 1fr 1fr; gap: 20px; padding-bottom: 48px; }
  .cs-intro-section { padding: 48px 0 0; }
  .cs-intro-text { margin-bottom: 36px; }

  footer { padding: 52px 20px 0; }
  .footer-cta { font-size: clamp(22px, 7.5vw, 36px); margin-bottom: 32px; }
  .footer-row { flex-direction: column; align-items: flex-start; gap: 24px; padding: 24px 0; }
  .footer-row > div:last-child .footer-label { text-align: left; }
  .footer-email { font-size: 15px; }
  .footer-meta { flex-direction: column; gap: 4px; padding: 14px 0; }
  .footer-meta span { font-size: 11px; }
  .footer-wordmark { padding: 20px 0 0; font-size: 9vw; font-weight: 700; }
}
