:root {
  color-scheme: light;
  --paper: #f5f3ee;
  --surface: #ffffff;
  --ink: #1d2730;
  --muted: #65717b;
  --rule: #d7d9d6;
  --accent: #b55332;
  --accent-soft: #f0e1d8;
  --max: 1120px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans", "Yu Gothic UI", sans-serif;
  line-height: 1.7;
}

.wrap { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }

.site-header {
  padding: 72px 0 44px;
  background: var(--surface);
  border-bottom: 1px solid var(--rule);
}

.eyebrow, .section-label {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .16em;
}

h1 { margin: 0; max-width: 900px; font-size: clamp(2.3rem, 6vw, 4.8rem); line-height: 1.12; letter-spacing: -.035em; }
.subtitle { margin: 16px 0 0; color: var(--muted); font-size: clamp(1rem, 2vw, 1.35rem); }
.lead { max-width: 740px; margin: 30px 0; font-size: 1.08rem; }
nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
a { color: var(--accent); text-underline-offset: 4px; }

main { padding-block: 52px 80px; }
section + section { margin-top: 76px; }
h2 { margin: 0 0 18px; font-size: clamp(1.7rem, 3vw, 2.5rem); line-height: 1.25; }

.summary { display: grid; grid-template-columns: 1.35fr 1fr; gap: 44px; align-items: start; }
.summary p { max-width: 670px; }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); margin: 0; border: 1px solid var(--rule); background: var(--surface); }
.facts div { padding: 20px; border: 1px solid var(--rule); }
.facts dt { color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; }
.facts dd { margin: 2px 0 0; font-size: 1.55rem; font-weight: 650; }
.note { color: var(--muted); }

.score-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.score-card { padding: 22px; background: var(--surface); border: 1px solid var(--rule); }
.score-card h3 { margin: 0 0 16px; font-size: 1.08rem; }
.score { display: grid; grid-template-columns: minmax(165px, 1fr) 1.2fr 54px; gap: 12px; align-items: center; margin-top: 10px; font-size: .84rem; }
.score-track { height: 8px; overflow: hidden; background: #eceae5; }
.score-track i { display: block; min-width: 2px; height: 100%; background: var(--accent); }
.score output { color: var(--muted); text-align: right; font-variant-numeric: tabular-nums; }
.score-note { margin: 18px 0 0; padding: 16px 18px; border-left: 3px solid var(--accent); background: var(--accent-soft); font-size: .9rem; }

.case { margin-top: 36px; padding: 24px; background: var(--surface); border: 1px solid var(--rule); }
.case header { display: flex; justify-content: space-between; gap: 18px; align-items: baseline; margin-bottom: 18px; }
.case h3 { margin: 0; font-size: 1.35rem; }
.case header p { margin: 0; color: var(--muted); font-variant-numeric: tabular-nums; }
.triptych { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
figure { margin: 0; min-width: 0; }
figure img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: contain; background: #eceae5; }
figcaption { margin-top: 7px; color: var(--muted); font-size: .82rem; }
.credit { margin: 14px 0 0; color: var(--muted); font-size: .76rem; }

.interpretation { max-width: 780px; padding-left: 24px; border-left: 4px solid var(--accent); }
.english { color: var(--muted); }
footer { padding: 30px 0; color: var(--muted); background: var(--surface); border-top: 1px solid var(--rule); font-size: .86rem; }
footer .wrap { display: flex; justify-content: space-between; gap: 24px; }

@media (max-width: 760px) {
  .site-header { padding-top: 48px; }
  .summary { grid-template-columns: 1fr; }
  .score-grid { grid-template-columns: 1fr; }
  .score { grid-template-columns: 1fr 1.2fr 50px; }
  .triptych { grid-template-columns: 1fr; }
  .case header, footer .wrap { display: block; }
  .case header p { margin-top: 5px; }
}
