@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700&family=Prata&display=swap");

:root {
  --ink: #142f35;
  --ink-2: #204650;
  --paper: #f5f1e9;
  --paper-2: #fffdf8;
  --sand: #d8bd82;
  --accent: #bd5d3d;
  --muted: #69665f;
  --line: rgba(20, 47, 53, .16);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Manrope, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-underline-offset: 4px; }
a:focus-visible { outline: 3px solid var(--sand); outline-offset: 4px; }
.shell { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(255,255,255,.14);
  color: #fff;
  background: rgba(13,43,50,.96);
  backdrop-filter: blur(12px);
}
.header-inner { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 760; }
.brand-mark { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--sand); border-radius: 50%; color: var(--sand); font-size: 13px; }
.header-nav { display: flex; align-items: center; gap: 24px; font-size: 14px; font-weight: 700; }
.header-nav a { text-decoration: none; }
.header-cta { padding: 10px 16px; border: 1px solid var(--sand); border-radius: 999px; color: var(--sand); }
.breadcrumbs { padding-top: 34px; color: var(--muted); font-size: 14px; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.breadcrumbs li + li::before { content: "→"; margin-right: 8px; }
.hero { padding: 48px 0 72px; }
.eyebrow { margin: 0 0 18px; color: var(--accent); font-size: 12px; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
h1 { max-width: 960px; margin: 0; font-family: Prata, Georgia, serif; font-size: clamp(42px, 7vw, 82px); font-weight: 400; line-height: .98; letter-spacing: -.05em; }
.hero-lead { max-width: 820px; margin: 30px 0 0; color: #344b50; font-size: clamp(20px, 2.5vw, 27px); line-height: 1.42; }
.tags { display: flex; flex-wrap: wrap; gap: 9px; margin: 30px 0 0; padding: 0; list-style: none; }
.tags li { padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; color: #42575b; font-size: 13px; font-weight: 750; }
.summary { color: #fff; background: var(--ink); }
.summary-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 1px; background: rgba(255,255,255,.16); }
.summary-block { min-height: 220px; padding: 44px; background: var(--ink); }
.summary-block small, .section-label { display: block; margin-bottom: 15px; color: var(--sand); font-size: 12px; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.summary-block p { max-width: 720px; margin: 0; font-size: 20px; line-height: 1.55; }
.summary-block strong { display: block; color: var(--sand); font-family: Prata, Georgia, serif; font-size: clamp(32px, 5vw, 58px); font-weight: 400; line-height: 1.05; }
.summary-block span { display: block; margin-top: 12px; color: rgba(255,255,255,.72); }
.content { padding: 86px 0; }
.content-grid { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); gap: 72px; align-items: start; }
.story-section + .story-section { margin-top: 54px; }
.story-section h2 { margin: 0 0 18px; font-family: Prata, Georgia, serif; font-size: clamp(30px, 4vw, 48px); font-weight: 400; line-height: 1.05; letter-spacing: -.03em; }
.story-section p { margin: 0; }
.story-section ul, .result-list { margin: 0; padding: 0; list-style: none; }
.story-section li { position: relative; padding: 17px 0 17px 28px; border-top: 1px solid var(--line); }
.story-section li::before { content: "↳"; position: absolute; left: 0; color: var(--accent); font-weight: 800; }
.result-panel { position: sticky; top: 104px; padding: 40px; border: 1px solid var(--line); background: var(--paper-2); box-shadow: 0 24px 70px rgba(21,46,52,.08); }
.result-panel h2 { margin: 0 0 24px; font-family: Prata, Georgia, serif; font-size: 42px; font-weight: 400; line-height: 1; }
.result-list { counter-reset: result; }
.result-list li { counter-increment: result; display: grid; grid-template-columns: 42px 1fr; gap: 16px; padding: 20px 0; border-top: 1px solid var(--line); }
.result-list li::before { content: counter(result, decimal-leading-zero); color: var(--accent); font-size: 13px; font-weight: 850; letter-spacing: .08em; }
.proof { padding: 0 0 86px; }
.proof-card { display: grid; grid-template-columns: minmax(0,.95fr) minmax(0,1.05fr); overflow: hidden; color: #fff; background: var(--ink-2); }
.proof-copy { padding: 48px; align-self: center; }
.proof-copy blockquote { margin: 0; font-family: Prata, Georgia, serif; font-size: clamp(25px, 3.2vw, 40px); line-height: 1.25; }
.proof-copy p { margin: 24px 0 0; color: var(--sand); font-weight: 750; }
.proof-image { min-height: 330px; background: #fff; }
.proof-image img { display: block; width: 100%; height: 100%; object-fit: contain; }
.insight { padding: 72px 0; border-block: 1px solid var(--line); }
.insight blockquote { max-width: 980px; margin: 0; font-family: Prata, Georgia, serif; font-size: clamp(32px, 5vw, 62px); line-height: 1.08; letter-spacing: -.035em; }
.cta { padding: 86px 0; }
.cta-card { display: grid; grid-template-columns: 1.35fr .65fr; gap: 40px; padding: 48px; color: #fff; background: var(--ink); }
.cta h2 { margin: 0; font-family: Prata, Georgia, serif; font-size: clamp(34px, 4vw, 52px); font-weight: 400; line-height: 1.05; }
.cta p { margin: 18px 0 0; color: rgba(255,255,255,.74); }
.cta-actions { display: flex; flex-direction: column; justify-content: center; align-items: stretch; gap: 12px; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 50px; padding: 12px 20px; border: 1px solid var(--sand); border-radius: 999px; color: var(--ink); background: var(--sand); text-decoration: none; font-size: 14px; font-weight: 850; }
.button-secondary { color: #fff; background: transparent; border-color: rgba(255,255,255,.35); }
.related { padding-bottom: 84px; }
.related h2 { margin: 0 0 24px; font-family: Prata, Georgia, serif; font-size: 34px; font-weight: 400; }
.related-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
.related a { display: flex; flex-direction: column; min-height: 180px; padding: 24px; border: 1px solid var(--line); background: var(--paper-2); text-decoration: none; }
.related small { color: var(--accent); font-weight: 800; }
.related strong { margin-top: 20px; font-size: 19px; line-height: 1.25; }
.related span { margin-top: auto; padding-top: 20px; font-size: 14px; font-weight: 800; }
.cases-index-hero { padding: 84px 0 72px; }
.cases-index-section { padding: 0 0 96px; }
.cases-index-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.cases-index-card { display: flex; min-width: 0; min-height: 380px; flex-direction: column; padding: 36px; border: 1px solid var(--line); background: var(--paper-2); }
.cases-index-number { margin: 0 0 24px; color: var(--accent); font-size: 12px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.cases-index-card h2 { margin: 0 0 18px; font-family: Prata, Georgia, serif; font-size: clamp(28px, 3.4vw, 42px); font-weight: 400; line-height: 1.08; letter-spacing: -.03em; }
.cases-index-card > p:not(.cases-index-number) { margin: 0; color: #45565a; }
.cases-index-card .tags { margin-top: 26px; }
.cases-index-card > a { margin-top: auto; padding-top: 30px; color: var(--ink-2); font-weight: 800; text-decoration-thickness: 1px; }
.site-footer { padding: 34px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.footer-inner { display: flex; justify-content: space-between; gap: 24px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }
@media (max-width: 820px) {
  .header-nav a:not(.header-cta) { display: none; }
  .summary-grid, .content-grid, .proof-card, .cta-card { grid-template-columns: 1fr; }
  .content-grid { gap: 48px; }
  .result-panel { position: static; }
  .proof-image { min-height: 0; padding: 24px; }
  .proof-image img { height: auto; }
  .related-grid { grid-template-columns: 1fr; }
  .related a { min-height: 150px; }
  .cases-index-grid { grid-template-columns: 1fr; }
  .cases-index-card { min-height: 0; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .shell { width: min(calc(100% - 28px), var(--max)); }
  .brand b { display: none; }
  .hero { padding: 38px 0 52px; }
  .header-inner { gap: 12px; }
  h1 { font-size: clamp(36px, 10.8vw, 42px); }
  .summary-block, .result-panel, .proof-copy, .cta-card { padding: 28px; }
  .content { padding: 62px 0; }
  .cases-index-hero { padding: 52px 0; }
  .cases-index-section { padding-bottom: 68px; }
  .cases-index-card { padding: 28px; }
  .footer-inner { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
