*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #f2efe9;
  --hero: #080808;
  --text: #111110;
  --muted: #625f59;
  --faint: #9a9690;
  --border: #dedad3;
  --font: 'Space Grotesk', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ── HEADER ─────────────────────────────── */
header {
  background: var(--hero);
  padding: 28px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-name {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  text-decoration: none;
  transition: color 0.2s;
}

.header-name:hover { color: rgba(255,255,255,0.65); }

.header-cta {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  padding-bottom: 1px;
  transition: color 0.2s, border-color 0.2s;
}

.header-cta:hover {
  color: #fff;
  border-color: rgba(255,255,255,0.6);
}

/* ── CASE HERO ──────────────────────────── */
.case-hero {
  background: var(--hero);
  padding: 56px 40px 68px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.case-hero-inner {
  max-width: 720px;
  margin: 0 auto;
}

.case-eyebrow {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.22);
  margin-bottom: 20px;
}

.case-client {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 16px;
}

.case-hero h1 {
  font-size: clamp(1.3rem, 3vw, 1.9rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #fff;
  max-width: 580px;
}

/* ── TESTIMONIAL PULLQUOTE ──────────────── */
.case-quote {
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 36px;
  padding-top: 28px;
}

.case-summary-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.22);
  margin-bottom: 10px;
}

.case-summary {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.7;
  max-width: 560px;
}

/* ── CASE BODY ──────────────────────────── */
.case-body {
  padding: 64px 40px 80px;
}

.case-content {
  max-width: 720px;
  margin: 0 auto;
}

/* Section blocks */
.case-section {
  padding: 36px 0;
  border-bottom: 1px solid var(--border);
}

.case-section:first-child { padding-top: 0; }
.case-section:last-child { border-bottom: none; }

.case-section-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 16px;
}

.case-section h2 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}

.case-section p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 14px;
}

.case-section p:last-child { margin-bottom: 0; }

.case-section ul {
  list-style: none;
  margin: 10px 0 16px;
}

.case-section ul li {
  font-size: 0.925rem;
  color: var(--muted);
  line-height: 1.65;
  padding: 7px 0 7px 20px;
  border-bottom: 1px solid var(--border);
  position: relative;
}

.case-section ul li:first-child { border-top: 1px solid var(--border); }

.case-section ul li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--faint);
  font-size: 0.78rem;
  top: 8px;
}

/* Result highlight */
.result-list {
  list-style: none;
  margin-top: 10px;
}

.result-list li {
  font-size: 0.925rem;
  color: var(--text);
  font-weight: 500;
  line-height: 1.65;
  padding: 9px 0 9px 20px;
  border-bottom: 1px solid var(--border);
  position: relative;
}

.result-list li:first-child { border-top: 1px solid var(--border); }

.result-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--faint);
  font-size: 0.75rem;
  top: 10px;
}

/* ── RELATED ARTICLE ────────────────────── */
.related-article {
  border: 1px solid var(--border);
  padding: 28px 32px;
  margin-top: 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  text-decoration: none;
  transition: border-color 0.2s;
}

.related-article:hover { border-color: var(--text); }

.related-article-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 8px;
}

.related-article-title {
  font-size: 0.925rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
}

.related-article-arrow {
  font-size: 1.1rem;
  color: var(--faint);
  flex-shrink: 0;
}

/* ── MORE CASES ─────────────────────────── */
.more-cases {
  border-top: 1px solid var(--border);
  padding: 48px 40px;
}

.more-inner {
  max-width: 720px;
  margin: 0 auto;
}

.more-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.more-label::after {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--border);
}

.more-list {
  list-style: none;
}

.more-list li { border-bottom: 1px solid var(--border); }
.more-list li:first-child { border-top: 1px solid var(--border); }

.more-list a {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  text-decoration: none;
  padding: 16px 0;
  transition: color 0.2s;
}

.more-list a:hover .more-case-title { color: var(--text); }

.more-case-client {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
  flex-shrink: 0;
  width: 160px;
}

.more-case-title {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.45;
  flex: 1;
  transition: color 0.2s;
}

.more-list li.active a { pointer-events: none; cursor: default; }
.more-list li.active .more-case-title { color: var(--faint); }
.more-list li.active .more-case-client { color: var(--border); }

/* ── FINAL CTA ──────────────────────────── */
.final-cta {
  background: var(--hero);
  padding: 80px 40px;
}

.final-cta-inner {
  max-width: 720px;
  margin: 0 auto;
}

.final-cta h2 {
  font-size: clamp(1.35rem, 3vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: #fff;
  margin-bottom: 14px;
}

.final-cta p {
  font-size: 0.975rem;
  color: rgba(255,255,255,0.4);
  margin-bottom: 36px;
}

.cta-actions {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 13px 26px;
  transition: all 0.18s;
  font-family: var(--font);
}

.btn-primary {
  background: #fff;
  color: #080808;
}

.btn-primary:hover { background: #e5e2dd; }

.btn-ghost {
  color: rgba(255,255,255,0.4);
  font-weight: 400;
  padding: 13px 0;
}

.btn-ghost:hover { color: rgba(255,255,255,0.75); }

/* ── FOOTER ─────────────────────────────── */
footer {
  background: var(--hero);
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 30px 40px;
}

.footer-inner {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.footer-id p {
  font-size: 12.5px;
  font-weight: 500;
  color: rgba(255,255,255,0.35);
}

.footer-id span {
  font-size: 11px;
  color: rgba(255,255,255,0.18);
  display: block;
  margin-top: 3px;
}

.footer-location {
  font-size: 11px;
  color: rgba(255,255,255,0.18);
}

/* ── RESPONSIVE ─────────────────────────── */
@media (max-width: 640px) {
  header { padding: 18px 20px; }
  .header-name { font-size: 11px; }
  .header-cta { font-size: 11px; }

  .case-hero { padding: 40px 20px 48px; }
  .case-hero h1 { font-size: 1.35rem; }
  .case-client { font-size: 11px; }
  .case-quote { margin-top: 28px; padding-top: 24px; }
  .case-summary { font-size: 0.9rem; }

  .case-body { padding: 40px 20px 64px; }

  .case-section { padding: 28px 0; }

  .case-section p,
  .case-section ul li { font-size: 0.9rem; }

  .related-article {
    flex-direction: column;
    align-items: flex-start;
    padding: 22px 20px;
    gap: 10px;
  }

  .related-article-arrow { display: none; }

  .more-cases { padding: 40px 20px; }

  .more-list a { flex-direction: column; gap: 4px; }
  .more-case-client { width: auto; }

  .final-cta { padding: 52px 20px; }

  .final-cta h2 { font-size: 1.35rem; }

  .cta-actions { flex-direction: column; align-items: flex-start; gap: 10px; }

  footer { padding: 24px 20px; }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}
