:root {
  --plum: #683e65;
  --plum-deep: #4a2948;
  --plum-soft: #f3edf2;
  --ink: #28333b;
  --muted: #65717a;
  --paper: #fbfafb;
  --white: #fff;
  --line: #ded6dd;
  --mint: #dce8e4;
  --gold: #e6c97a;
  --shadow: 0 18px 50px rgba(40, 51, 59, .10);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 16px; line-height: 1.68; }
a { color: inherit; }
.skip-link { position: fixed; top: .75rem; left: .75rem; z-index: 100; transform: translateY(-180%); padding: .65rem 1rem; border-radius: 999px; background: var(--ink); color: white; }
.skip-link:focus { transform: none; }
.topbar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; min-height: 68px; padding: 0 clamp(1rem, 4vw, 4.5rem); background: rgba(251,250,251,.92); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(104,62,101,.12); }
.wordmark { font-weight: 760; letter-spacing: -.02em; text-decoration: none; }
.topbar nav { display: flex; gap: 1.15rem; align-items: center; }
.topbar nav a { color: var(--muted); text-decoration: none; font-size: .9rem; font-weight: 700; }
.topbar nav a:hover { color: var(--plum); }
.contact-pill { padding: .55rem .9rem; border-radius: 999px; color: white !important; background: var(--plum); }
.case-shell { width: min(1180px, calc(100% - 2.5rem)); margin: 0 auto; }
.sample-nav { display: grid; grid-template-columns: repeat(6, 1fr); gap: .45rem; margin: 2rem auto 0; }
.sample-nav a { min-height: 42px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); background: white; text-decoration: none; font-size: .78rem; font-weight: 800; }
.sample-nav a:hover, .sample-nav a[aria-current="page"] { color: white; background: var(--plum); border-color: var(--plum); }
.case-hero { padding: clamp(4rem, 9vw, 8rem) 0 clamp(3rem, 6vw, 5rem); }
.kicker { margin: 0 0 1rem; color: var(--plum); font-size: .78rem; font-weight: 850; letter-spacing: .15em; text-transform: uppercase; }
h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; letter-spacing: -.03em; }
h1 { max-width: 980px; margin: 0; font-size: clamp(3rem, 7vw, 6.5rem); line-height: 1; font-weight: 500; }
.lede { max-width: 780px; margin: 1.6rem 0 0; color: #45515a; font-size: clamp(1.08rem, 1.8vw, 1.3rem); }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 2.8rem; overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: var(--line); }
.fact { padding: 1.2rem 1.35rem; background: white; }
.fact small { display: block; margin-bottom: .25rem; color: var(--plum); font-size: .7rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.fact span { color: var(--muted); }
.case-body { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(2rem, 7vw, 6rem); padding: clamp(2rem, 4vw, 4rem) 0 clamp(5rem, 8vw, 8rem); border-top: 1px solid var(--line); }
.main-column section + section { margin-top: 4rem; }
.main-column h2 { margin: 0 0 1rem; font-size: clamp(2rem, 4vw, 3.6rem); line-height: 1.08; font-weight: 500; }
.main-column h3 { margin: 2rem 0 .65rem; font-size: 1.45rem; font-weight: 500; }
.main-column p { max-width: 740px; color: #4e5b64; }
.main-column ul, .main-column ol { max-width: 760px; padding-left: 1.25rem; }
.main-column li { margin-bottom: .75rem; }
.side-rail { align-self: start; position: sticky; top: 98px; }
.rail-card { padding: 1.5rem; border: 1px solid rgba(104,62,101,.18); border-radius: 20px; background: var(--plum-soft); }
.rail-card h2 { margin: 0 0 1rem; color: var(--plum-deep); font-size: 1.4rem; }
.rail-card ul { margin: 0; padding-left: 1.1rem; color: #4e5b64; }
.rail-card li + li { margin-top: .8rem; }
.rail-card .pdf-link { display: inline-flex; margin-top: 1.2rem; color: var(--plum); font-weight: 800; }
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: .7rem; margin: 1.75rem 0; }
.process > div { min-height: 118px; padding: 1rem; border-radius: 16px; background: white; border: 1px solid var(--line); box-shadow: 0 8px 24px rgba(40,51,59,.06); }
.process b { display: block; color: var(--plum); font-family: Georgia, serif; font-size: 1.5rem; }
.process strong { display: block; margin-top: .4rem; }
.process span { color: var(--muted); font-size: .84rem; }
.callout { margin: 2rem 0; padding: 1.5rem; border-left: 4px solid var(--plum); border-radius: 0 16px 16px 0; background: var(--plum-soft); }
.callout strong { display: block; margin-bottom: .35rem; color: var(--plum-deep); }
.comparison { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; margin-top: 1.5rem; }
.comparison > div { padding: 1rem; border-radius: 16px; background: white; border: 1px solid var(--line); }
.comparison strong { display: block; color: var(--plum); }
.comparison span { color: var(--muted); font-size: .88rem; }
.result-band { margin-top: 3.5rem; padding: clamp(1.5rem, 4vw, 2.5rem); border-radius: 24px; color: white; background: var(--ink); }
.result-band small { color: var(--gold); font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.result-band p { margin-bottom: 0; color: #e2e7e9; font-size: 1.08rem; }
.case-grid { display: grid; gap: 1rem; }
.case-card { padding: 1.5rem; border: 1px solid var(--line); border-radius: 20px; background: white; }
.case-card h3 { margin-top: 0; }
.case-card dl { display: grid; grid-template-columns: 105px 1fr; gap: .55rem 1rem; margin-bottom: 0; }
.case-card dt { color: var(--plum); font-weight: 850; }
.case-card dd { margin: 0; color: var(--muted); }
.next-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; padding: 0 0 4rem; }
.next-nav a { display: flex; flex-direction: column; padding: 1.25rem; border: 1px solid var(--line); border-radius: 18px; background: white; text-decoration: none; }
.next-nav a:hover { border-color: var(--plum); box-shadow: var(--shadow); }
.next-nav small { color: var(--plum); font-weight: 850; text-transform: uppercase; letter-spacing: .08em; }
.next-nav strong { margin-top: .25rem; font-family: Georgia, serif; font-size: 1.3rem; }
footer { display: flex; justify-content: space-between; gap: 1rem; padding: 1.5rem clamp(1.25rem, 7vw, 8rem); border-top: 1px solid var(--line); color: var(--muted); font-size: .85rem; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
@media (max-width: 820px) {
  .topbar nav a:not(.contact-pill) { display: none; }
  .facts, .case-body { grid-template-columns: 1fr; }
  .side-rail { position: static; order: -1; }
  .process, .comparison { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .sample-nav { grid-template-columns: repeat(3, 1fr); }
  .facts, .process, .comparison, .next-nav { grid-template-columns: 1fr; }
  .case-card dl { grid-template-columns: 1fr; gap: .2rem; }
  .case-card dd + dt { margin-top: .7rem; }
  footer { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
