:root {
  --ink: #17242b;
  --ink-soft: #42535c;
  --paper: #ffffff;
  --mist: #f2f5f5;
  --line: #d9e0e1;
  --teal: #0d5c63;
  --teal-dark: #083f44;
  --teal-bright: #147c83;
  --aqua: #e3f1f1;
  --red: #9f2e3c;
  --red-dark: #76202c;
  --red-soft: #f6e9eb;
  --gold: #b28a4e;
  --gold-soft: #f5efe4;
  --max: 1180px;
  --shadow: 0 24px 70px rgba(23, 36, 43, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #fbfcfc;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 17px;
  line-height: 1.66;
  text-rendering: optimizeLegibility;
}
a { color: var(--teal); text-decoration-thickness: 1px; text-underline-offset: 4px; }
a:hover { color: var(--red); }
img { max-width: 100%; }
.skip-link { position: absolute; left: -9999px; top: 0; }
.skip-link:focus { left: 1rem; top: 1rem; z-index: 1000; background: #fff; padding: .7rem 1rem; }
.wrap { width: min(calc(100% - 2.4rem), var(--max)); margin-inline: auto; }
.site-header { border-top: 4px solid var(--red); border-bottom: 1px solid var(--line); background: rgba(255,255,255,.97); position: sticky; top: 0; z-index: 20; }
.header-row { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.identity { color: var(--ink); text-decoration: none; display: flex; align-items: center; gap: .8rem; }
.monogram { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--red); background: var(--red); color: #fff; font: 700 1rem Georgia, serif; }
.identity strong { font: 700 1.13rem Georgia, 'Times New Roman', serif; letter-spacing: .01em; }
.nav-toggle { display: none; border: 1px solid var(--line); background: #fff; padding: .5rem .75rem; color: var(--ink); font: inherit; }
.main-nav { display: flex; align-items: center; gap: 1.2rem; }
.main-nav a { color: var(--ink-soft); text-decoration: none; font-size: .86rem; font-weight: 700; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--red); box-shadow: inset 0 -2px 0 var(--gold); }
.main-nav .contact-link { border: 1px solid var(--red); padding: .55rem .82rem; background: var(--red); color: #fff; box-shadow: none; }
.main-nav .contact-link:hover, .main-nav .contact-link[aria-current="page"] { background: var(--red-dark); color: #fff; box-shadow: none; }
.hero { padding: clamp(3.8rem, 7vw, 6.5rem) 0 4.5rem; background: linear-gradient(115deg, var(--aqua) 0 58%, var(--teal-dark) 58% 100%); }
.hero-grid { display: grid; grid-template-columns: 1.12fr .88fr; gap: clamp(3rem, 6vw, 6rem); align-items: center; }
.hero-visual { position: relative; max-width: 520px; justify-self: end; padding-bottom: 7.5rem; }
.portrait-frame { margin: 0 0 0 2.7rem; border: 1px solid rgba(255,255,255,.3); border-left: 9px solid var(--gold); background: #d4d2d4; box-shadow: var(--shadow); }
.portrait-frame img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 38%; }
.eyebrow { margin: 0 0 1rem; color: var(--red); text-transform: uppercase; letter-spacing: .15em; font-size: .75rem; font-weight: 800; }
h1, h2, h3 { font-family: Georgia, 'Times New Roman', serif; color: var(--ink); line-height: 1.12; font-weight: 700; }
h1 { margin: 0; font-size: clamp(2.8rem, 6vw, 5.6rem); letter-spacing: -.035em; max-width: 900px; }
.hero h1 { border-left: 6px solid var(--red); padding-left: 1.15rem; }
h2 { font-size: clamp(2rem, 4vw, 3.4rem); letter-spacing: -.025em; margin: 0 0 1.4rem; }
h3 { font-size: 1.35rem; margin: 0 0 .65rem; }
.hero h1 span { display: block; color: var(--teal-dark); font-size: .58em; margin-top: .55rem; letter-spacing: -.015em; }
.lead { max-width: 740px; color: var(--ink-soft); font-size: clamp(1.12rem, 2vw, 1.35rem); line-height: 1.55; }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.button { display: inline-block; padding: .82rem 1.12rem; border: 1px solid var(--red); background: var(--red); color: white; text-decoration: none; font-weight: 700; font-size: .92rem; }
.button:hover { background: var(--red-dark); color: white; }
.button.secondary { background: transparent; color: var(--teal); }
.button.secondary { border-color: var(--teal); }
.button.secondary:hover { background: var(--teal); color: #fff; }
.credential-line { display: flex; flex-wrap: wrap; gap: .55rem 1.2rem; margin-top: 2.2rem; color: var(--ink-soft); font-size: .86rem; font-weight: 700; }
.credential-line span { position: relative; }
.credential-line span:not(:last-child)::after { content: ''; position: absolute; right: -.7rem; top: .55em; width: 3px; height: 3px; background: var(--gold); border-radius: 50%; }
.evidence-panel { position: absolute; left: 0; right: 2.7rem; bottom: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 1.4rem; background: linear-gradient(155deg, var(--ink) 0 62%, #213942 100%); color: #fff; padding: 1.35rem 1.5rem 1.5rem; box-shadow: var(--shadow); border-top: 6px solid var(--red); }
.evidence-panel h2 { grid-column: 1 / -1; color: #fff; font-size: 1rem; margin-bottom: .5rem; letter-spacing: .02em; }
.stat { padding: .75rem 0; border-top: 1px solid rgba(255,255,255,.16); }
.stat strong { display: block; color: #f0c983; font: 700 clamp(1.25rem, 2vw, 1.7rem) Georgia, serif; }
.stat span { display: block; color: #d8e3e5; font-size: .72rem; line-height: 1.35; }
.section { padding: clamp(4rem, 8vw, 7rem) 0; }
.section.mist { background: linear-gradient(105deg, var(--aqua), #f7fbfb 72%); }
.section.dark { background: var(--ink); color: #e8eeee; }
.section.dark h2, .section.dark h3 { color: #fff; }
.section.dark .eyebrow { color: #e7a7ae; }
.section-intro { max-width: 760px; color: var(--ink-soft); font-size: 1.13rem; margin-bottom: 2.6rem; }
.section.dark .section-intro { color: #cbd7da; }
.route-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.route { min-height: 305px; padding: 2rem 1.5rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; border-top: 5px solid transparent; transition: transform .18s ease, box-shadow .18s ease; }
.route:nth-child(1) { background: var(--aqua); border-top-color: var(--teal); }
.route:nth-child(2) { background: var(--red-soft); border-top-color: var(--red); }
.route:nth-child(3) { background: var(--gold-soft); border-top-color: var(--gold); }
.route:nth-child(4) { background: #edf0f2; border-top-color: var(--ink); }
.route:hover { transform: translateY(-4px); box-shadow: 0 15px 35px rgba(23,36,43,.11); position: relative; z-index: 2; }
.route-number { color: var(--red); font-weight: 800; font-size: .78rem; letter-spacing: .12em; }
.route p { color: var(--ink-soft); font-size: .94rem; }
.route a { margin-top: auto; font-weight: 700; font-size: .9rem; }
.results { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2.5rem, 7vw, 6rem); align-items: start; }
.result-list { border-top: 1px solid var(--line); }
.result-item { display: grid; grid-template-columns: 160px 1fr; gap: 1.2rem; padding: 1.4rem 0; border-bottom: 1px solid var(--line); }
.result-item strong { color: var(--teal-dark); font: 700 1.22rem Georgia, serif; }
.result-item p { margin: 0; color: var(--ink-soft); }
.quote { margin: 0; padding: 2rem; border-left: 5px solid var(--red); background: var(--red-soft); font: 700 clamp(1.55rem, 3vw, 2.45rem)/1.34 Georgia, serif; }
.quote cite { display: block; margin-top: 1.3rem; color: var(--ink-soft); font: 400 .88rem/1.5 Arial, sans-serif; }
.method { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.2rem; counter-reset: step; }
.method article { counter-increment: step; border-top: 5px solid var(--gold); padding: 1.5rem; background: var(--gold-soft); }
.method article:nth-child(1) { border-top-color: var(--teal); background: var(--aqua); }
.method article:nth-child(2) { border-top-color: var(--red); background: var(--red-soft); }
.method article::before { content: '0' counter(step); color: var(--red); font-weight: 800; font-size: .78rem; letter-spacing: .12em; }
.method p { color: var(--ink-soft); }
.split { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2.5rem, 7vw, 7rem); align-items: start; }
.plain-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.plain-list li { padding: 1rem 0; border-bottom: 1px solid var(--line); }
.page-hero { padding: clamp(3.7rem, 7vw, 6.6rem) 0 4rem; background: linear-gradient(120deg, var(--teal-dark) 0 68%, var(--red) 68% 76%, var(--ink) 76% 100%); border-bottom: 6px solid var(--gold); }
.page-hero h1 { font-size: clamp(2.7rem, 5vw, 4.8rem); max-width: 920px; }
.page-hero h1 { color: #fff; }
.page-hero .lead { margin-bottom: 0; color: #d9e8e9; }
.page-hero .eyebrow { color: #f0c983; }
.page-grid { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: clamp(3rem, 7vw, 7rem); align-items: start; }
.side-note { border-top: 5px solid var(--gold); padding: 1.5rem; position: sticky; top: 110px; background: var(--gold-soft); }
.side-note h2 { font-size: 1.25rem; letter-spacing: 0; }
.side-note p, .side-note li { font-size: .9rem; color: var(--ink-soft); }
.side-note ul { padding-left: 1.1rem; }
.content h2 { margin-top: 3.4rem; font-size: clamp(1.8rem, 3vw, 2.65rem); }
.content h2:first-child { margin-top: 0; }
.content h3 { margin-top: 2rem; }
.content p, .content li { color: var(--ink-soft); }
.content ul { padding-left: 1.2rem; }
.case { padding: 2.2rem 0; border-top: 1px solid var(--line); }
.case:last-child { border-bottom: 1px solid var(--line); }
.case-kicker { color: var(--red); font-size: .76rem; text-transform: uppercase; letter-spacing: .13em; font-weight: 800; }
.case h3 { font-size: 1.7rem; }
.case dl { display: grid; grid-template-columns: 130px 1fr; gap: .5rem 1.2rem; }
.case dt { font-weight: 800; color: var(--ink); }
.case dd { margin: 0; color: var(--ink-soft); }
.metric-strip { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--ink); color: #fff; }
.metric-strip div { padding: 2rem; border-right: 1px solid rgba(255,255,255,.14); }
.metric-strip div:last-child { border-right: 0; }
.metric-strip div:nth-child(1) { background: var(--teal-dark); }
.metric-strip div:nth-child(2) { background: var(--red); }
.metric-strip div:nth-child(3) { background: var(--gold); color: var(--ink); }
.metric-strip div:nth-child(3) span { color: #2e3437; }
.metric-strip div:nth-child(4) { background: var(--ink); }
.metric-strip strong { display: block; font: 700 1.9rem Georgia, serif; }
.metric-strip span { display: block; color: #cad7da; font-size: .82rem; line-height: 1.4; margin-top: .35rem; }
.book-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 2rem; border-top: 1px solid var(--line); }
.book { padding: 1rem; border-bottom: 1px solid var(--line); }
.book:nth-child(4n+1), .book:nth-child(4n+4) { background: var(--aqua); }
.book:nth-child(4n+2), .book:nth-child(4n+3) { background: var(--red-soft); }
.book em { font-family: Georgia, serif; color: var(--ink); }
.contact-panel { display: grid; grid-template-columns: 1fr 1fr; background: var(--teal-dark); color: #fff; border-top: 8px solid var(--gold); }
.contact-panel > div { padding: clamp(2rem, 5vw, 4.5rem); }
.contact-panel > div + div { background: var(--red-dark); }
.contact-panel h2, .contact-panel h3 { color: #fff; }
.contact-panel a { color: #fff; }
.contact-panel p { color: #d8e7e8; }
.site-footer { padding: 3.2rem 0; background: linear-gradient(110deg, #101b20 0 70%, var(--teal-dark) 70% 100%); color: #b9c5c8; font-size: .84rem; border-top: 4px solid var(--red); }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 2rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: .5rem 1rem; justify-content: flex-end; }
.site-footer a { color: #dfe8ea; }
.notice { margin-top: 1.2rem; font-size: .78rem; color: #8fa0a5; }

@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .main-nav { display: none; position: absolute; top: 78px; left: 0; right: 0; background: #fff; padding: 1.2rem; border-bottom: 1px solid var(--line); flex-direction: column; align-items: flex-start; }
  .main-nav.open { display: flex; }
  .hero { background: linear-gradient(180deg, var(--aqua) 0 70%, var(--teal-dark) 70% 100%); }
  .hero-grid, .results, .split, .page-grid { grid-template-columns: 1fr; }
  .hero-visual { justify-self: center; width: min(100%, 560px); }
  .route-grid { grid-template-columns: repeat(2, 1fr); }
  .side-note { position: static; }
  .metric-strip { grid-template-columns: repeat(2, 1fr); }
  .method { grid-template-columns: 1fr; }
  .page-hero { background: linear-gradient(135deg, var(--teal-dark) 0 82%, var(--red) 82% 100%); }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { width: min(calc(100% - 1.5rem), var(--max)); }
  .hero { padding-top: 3.5rem; }
  .route-grid, .metric-strip, .book-list, .contact-panel, .footer-grid { grid-template-columns: 1fr; }
  .hero-visual { padding-bottom: 0; }
  .portrait-frame { margin: 0; }
  .evidence-panel { position: static; grid-template-columns: 1fr 1fr; margin-top: 0; }
  .route { min-height: 0; }
  .metric-strip div { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.14); }
  .result-item { grid-template-columns: 1fr; gap: .25rem; }
  .footer-nav { justify-content: flex-start; }
  .case dl { grid-template-columns: 1fr; gap: .15rem; }
  .case dd { margin-bottom: .7rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
