:root {
  color-scheme: light;
  --cream: #f4ecd8;
  --cream-light: #faf4e3;
  --cream-card: #fbf5e3;
  --green: #2c3a30;
  --green-deep: #243029;
  --yellow: #d4f25b;
  --yellow-soft: rgba(212, 242, 91, 0.45);
  --yellow-band: rgba(212, 242, 91, 0.22);
  --lavender: #dadbf0;
  --peach: #f4dcd2;
  --ink: #2c3a30;
  --muted: #6b7268;
  --rule: rgba(44, 58, 48, 0.15);
  --serif: 'Cormorant Garamond', 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', Roboto, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.case-nav {
  padding: 22px 32px;
  border-bottom: 1px solid var(--rule);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  letter-spacing: 0.05em;
}
.case-nav .logo {
  font-family: var(--serif);
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 7px 12px;
  border: 1px solid var(--ink);
  border-radius: 2px;
  color: var(--ink);
  text-decoration: none;
}
.case-nav .back {
  color: var(--muted);
  text-decoration: none;
  font-style: italic;
  font-family: var(--serif);
  font-size: 15px;
}
.case-nav .back:hover { color: var(--ink); }

.case-study {
  max-width: 880px;
  margin: 0 auto;
  padding: 72px 32px 96px;
}

.eyebrow {
  display: inline-block;
  font-family: var(--serif);
  font-style: italic;
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green);
  border: 1.5px solid var(--green);
  border-radius: 999px;
  padding: 7px 16px;
  margin: 0 0 22px;
  transform: rotate(-2deg);
}
.client {
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  letter-spacing: 0.12em;
  color: var(--muted);
  text-transform: uppercase;
  margin: 0 0 14px;
}
h1.headline {
  font-family: var(--serif);
  font-size: 50px;
  line-height: 1.08;
  font-weight: 500;
  letter-spacing: -0.015em;
  margin: 0 0 44px;
  color: var(--ink);
  max-width: 860px;
}
h1.headline em {
  font-style: italic;
  background: linear-gradient(transparent 60%, var(--yellow) 60%);
  padding: 0 4px;
  color: var(--ink);
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: 0 0 56px;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.stat {
  padding: 28px 24px;
  border-right: 1px solid var(--rule);
}
.stat:last-child { border-right: 0; }
.stat .num {
  font-family: var(--serif);
  font-size: 44px;
  line-height: 1;
  font-weight: 500;
  color: var(--green);
  margin: 0 0 10px;
  font-style: italic;
}
.stat .num span.hl {
  background: var(--yellow);
  padding: 0 6px;
  font-style: italic;
}
.stat .label {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.45;
}

.chart-block {
  background: var(--cream-card);
  border: 1px solid var(--rule);
  border-radius: 8px;
  padding: 30px 30px 24px;
  margin: 0 0 32px;
  box-shadow: 0 1px 0 rgba(44,58,48,0.04);
}
.chart-kicker {
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--ink);
  font-weight: 500;
  margin: 0 0 6px;
  opacity: 0.9;
}
.chart-title {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 500;
  margin: 0 0 6px;
  line-height: 1.15;
}
.chart-title em {
  font-style: italic;
  background: linear-gradient(transparent 60%, var(--yellow-soft) 60%);
  padding: 0 4px;
}
.chart-sub {
  font-size: 14px;
  color: var(--muted);
  margin: 0 0 22px;
  line-height: 1.5;
}
.chart-legend {
  display: flex;
  gap: 22px;
  margin-top: 14px;
  font-size: 13px;
  color: var(--muted);
  flex-wrap: wrap;
  font-style: italic;
  font-family: var(--serif);
}
.chart-legend .dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  vertical-align: middle;
  margin-right: 6px;
}
.chart-legend .swatch {
  display: inline-block;
  width: 16px;
  height: 10px;
  border-radius: 2px;
  vertical-align: middle;
  margin-right: 6px;
  background: var(--yellow-band);
  border: 1px solid rgba(168, 192, 56, 0.7);
}
.chart-legend .dash {
  display: inline-block;
  width: 16px;
  height: 0;
  border-top: 1.5px dashed currentColor;
  vertical-align: middle;
  margin-right: 6px;
}

h2.section {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 500;
  margin: 56px 0 18px;
  color: var(--ink);
  line-height: 1.1;
  letter-spacing: -0.005em;
}
h2.section em {
  font-style: italic;
  color: var(--green);
}

p { margin: 0 0 18px; max-width: 740px; }
p em {
  font-style: italic;
  font-weight: 500;
  color: var(--ink);
  background: linear-gradient(transparent 65%, var(--yellow-soft) 65%);
  padding: 0 2px;
}

.playbook {
  background: var(--cream-card);
  border: 1px solid var(--rule);
  border-radius: 8px;
  overflow: hidden;
  margin: 8px 0 36px;
  box-shadow: 0 1px 0 rgba(44,58,48,0.04);
}
.play-step {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 22px;
  padding: 22px 26px;
  border-bottom: 1px solid var(--rule);
  align-items: center;
}
.play-step:last-child { border-bottom: 0; }
.play-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 44px;
  font-weight: 500;
  color: var(--green);
  line-height: 1;
  letter-spacing: -0.5px;
  position: relative;
}
.play-num::after {
  content: "";
  display: block;
  width: 28px;
  height: 4px;
  background: var(--yellow);
  margin-top: 10px;
}
.play-content { min-width: 0; }
.play-tag {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 500;
  color: var(--ink);
  margin: 0 0 4px;
  line-height: 1.25;
}
.play-tag em {
  font-style: italic;
  background: linear-gradient(transparent 65%, var(--yellow-soft) 65%);
  padding: 0 2px;
}
.play-body {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--muted);
  margin: 0;
}
.play-body em {
  font-style: italic;
  font-weight: 500;
  color: var(--ink);
  background: transparent;
}

.snapshot {
  margin: 36px 0 32px;
  background: var(--cream-card);
  border: 1px solid var(--rule);
  border-radius: 8px;
  padding: 30px 30px 24px;
  box-shadow: 0 1px 0 rgba(44,58,48,0.04);
}
.snap-kicker {
  font-family: var(--serif);
  font-style: italic;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted);
  font-weight: 500;
  margin: 0 0 6px;
}
.snap-title {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  margin: 0 0 22px;
  line-height: 1.2;
}
.snap-title em {
  font-style: italic;
  background: linear-gradient(transparent 60%, var(--yellow-soft) 60%);
  padding: 0 4px;
}
.snap-grid {
  display: grid;
  grid-template-columns: 1fr 32px 1fr;
  gap: 18px;
  align-items: stretch;
}
.snap-col {
  padding: 20px 22px;
  border-radius: 6px;
  background: var(--cream-light);
  border: 1px solid var(--rule);
}
.snap-col.after {
  background: var(--yellow-band);
  border-color: rgba(168, 192, 56, 0.55);
}
.snap-col-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted);
  font-weight: 700;
  margin: 0 0 14px;
  font-family: var(--sans);
}
.snap-col.after .snap-col-label { color: var(--green-deep); }
.snap-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 7px 0;
  border-bottom: 1px solid rgba(44,58,48,0.10);
}
.snap-row:last-child { border-bottom: 0; }
.snap-key {
  font-size: 13px;
  color: var(--muted);
}
.snap-val {
  font-family: var(--serif);
  font-size: 20px;
  color: var(--ink);
  font-weight: 500;
}
.snap-col.after .snap-val { color: var(--green); font-style: italic; }
.snap-arrow {
  align-self: center;
  text-align: center;
  color: var(--green);
  font-size: 26px;
  font-weight: 700;
  font-family: var(--serif);
}

.pullquote {
  border-left: 4px solid var(--yellow);
  background: var(--cream-light);
  padding: 22px 28px;
  margin: 40px 0;
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.4;
  color: var(--ink);
  font-style: italic;
  border-radius: 0 6px 6px 0;
}
.pullquote cite {
  display: block;
  margin-top: 16px;
  font-size: 13px;
  color: var(--muted);
  font-style: normal;
  letter-spacing: 0.05em;
  font-family: var(--sans);
}

.closing-note {
  margin: 36px 0 24px;
  padding: 28px 30px;
  background: var(--green);
  color: var(--cream);
  border-radius: 8px;
  font-size: 17px;
  line-height: 1.55;
  position: relative;
}
.closing-note::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 30px;
  width: 60px;
  height: 16px;
  background: var(--yellow);
  border-radius: 2px;
}
.closing-note em {
  font-style: italic;
  color: var(--yellow);
  font-weight: 500;
}

.engagement-footer {
  margin-top: 64px;
  padding: 32px 0 24px;
  border-top: 1px solid var(--rule);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.engagement-footer .meta-label {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--ink);
  margin: 0 0 6px;
  font-family: var(--serif);
  font-style: italic;
  opacity: 0.9;
}
.engagement-footer .meta-value {
  font-size: 15px;
  color: var(--ink);
  font-weight: 500;
}

.case-cta {
  margin-top: 64px;
  padding: 48px 40px;
  background: var(--green);
  color: var(--cream);
  border-radius: 10px;
  display: grid;
  grid-template-columns: 1.4fr auto;
  gap: 32px;
  align-items: center;
}
.case-cta h3 {
  font-family: var(--serif);
  font-size: 32px;
  line-height: 1.1;
  font-weight: 500;
  margin: 0;
}
.case-cta h3 em {
  font-style: italic;
  color: var(--yellow);
}
.case-cta .cta-btn {
  background: var(--yellow);
  color: var(--green);
  border: 1.5px solid var(--yellow);
  padding: 16px 28px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

@media (max-width: 720px) {
  .case-study { padding: 48px 22px 72px; }
  h1.headline { font-size: 32px; }
  h2.section { font-size: 26px; }
  .stat-row, .engagement-footer { grid-template-columns: 1fr; }
  .stat { padding: 22px 0; border-right: 0; border-bottom: 1px solid var(--rule); }
  .stat:last-child { border-bottom: 0; }
  .stat .num { font-size: 36px; }
  .chart-title { font-size: 20px; }
  .case-cta { grid-template-columns: 1fr; padding: 32px 26px; }
  .snap-grid { grid-template-columns: 1fr; }
  .snap-arrow { transform: rotate(90deg); padding: 4px 0; }
  .play-step { grid-template-columns: 64px 1fr; gap: 16px; padding: 18px 20px; }
  .play-num { font-size: 34px; }
}
