:root {
  --bg: oklch(98.1% 0.005 67.8);
  --surface: oklch(99.4% 0.003 67.8);
  --fg: oklch(29.1% 0.003 48.6);
  --muted: oklch(43.1% 0.000 89.9);
  --border: oklch(91.0% 0.018 26.1);
  --accent: oklch(72.9% 0.118 20.3);
  --accent-soft: oklch(94.5% 0.027 20.3);
  --paper: oklch(96.8% 0.008 67.8);
  --font-display: 'Cormorant Garamond', 'Iowan Old Style', 'Charter', Georgia, serif;
  --font-body: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
}

* { box-sizing: border-box; }

html {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(90deg, transparent 0, transparent calc(50% - 0.5px), color-mix(in oklch, var(--border), transparent 56%) 50%, transparent calc(50% + 0.5px)),
    var(--bg);
  color: var(--fg);
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.shell {
  width: min(100% - 72px, 1320px);
  margin: 0 auto;
}

.masthead {
  height: 108px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding-top: 10px;
  border-bottom: 1px solid var(--border);
}

.brand img { width: 188px; height: auto; }

.language {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.language a {
  position: relative;
  padding: 8px 0;
}

.language a.active { color: var(--fg); }

.language a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 1px;
  background: var(--accent);
}

.meta,
.eyebrow,
.caption,
.rail-title,
.score-label,
.footer-meta {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.14em;
  line-height: 1.5;
  text-transform: uppercase;
}

.article-hero { padding: 30px 0 0; }

.title-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 74px;
  align-items: end;
  padding: 42px 0 54px;
  border-bottom: 1px solid var(--border);
}

.eyebrow {
  color: var(--accent);
  margin-bottom: 18px;
}

h1,
h2,
h3,
.pullquote,
.verdict-line {
  font-family: var(--font-display);
  font-weight: 400;
}

h1 {
  margin: 0;
  font-size: clamp(40px, 4.2vw, 66px);
  line-height: 1.03;
  max-width: 760px;
  text-wrap: balance;
}

.dek {
  max-width: 460px;
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.85;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.article-meta span + span::before {
  content: "/";
  margin-right: 12px;
  color: color-mix(in oklch, var(--muted), transparent 45%);
}

.hero-image {
  position: relative;
  aspect-ratio: 16 / 8.2;
  overflow: hidden;
  background: var(--paper);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.hero-image img,
.wide-figure img,
.diptych img,
.related-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.88) contrast(0.98);
}

.hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 62%, rgba(38, 37, 36, 0.18));
  pointer-events: none;
}

.hero-caption {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 0 0;
}

.article-shell {
  display: grid;
  grid-template-columns: 210px minmax(0, 760px);
  gap: 70px;
  align-items: start;
  padding: 76px 0 96px;
}

.article-shell.no-toc {
  grid-template-columns: minmax(0, 760px);
  justify-content: center;
}

.review-rail {
  position: sticky;
  top: 28px;
  border-top: 1px solid var(--accent);
  padding-top: 18px;
}

.review-rail nav {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.review-rail a {
  position: relative;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
  transition: color 160ms ease;
}

.review-rail a:hover,
.review-rail a.is-active {
  color: var(--fg);
}

.review-rail a.is-active::before {
  content: "";
  position: absolute;
  left: -18px;
  top: 0.68em;
  width: 9px;
  height: 1px;
  background: var(--accent);
}

.quick-facts {
  margin: 64px 0 0;
  border-top: 1px solid var(--border);
  padding-top: 18px;
}

.fact {
  padding: 0 0 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--border);
}

.fact strong {
  display: block;
  margin-top: 6px;
  color: var(--fg);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.55;
}

.score {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  align-items: end;
  margin-bottom: 30px;
}

.score-value {
  font-family: var(--font-display);
  font-size: 64px;
  line-height: 0.9;
}

.score-copy {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.article-body { max-width: 760px; }

.article-body p,
.article-body li {
  color: color-mix(in oklch, var(--fg), var(--muted) 18%);
  font-size: 18px;
  line-height: 1.88;
}

.article-body p { margin: 0 0 26px; }

.article-body h2 {
  margin: 62px 0 18px;
  font-size: clamp(36px, 3.3vw, 52px);
  line-height: 1.03;
  text-wrap: balance;
}

.article-body ul {
  margin: 16px 0 34px;
  padding-left: 22px;
}

.article-body li + li { margin-top: 10px; }

.article-body blockquote {
  margin: 42px 0;
  padding: 0 0 0 28px;
  border-left: 1px solid var(--accent);
  color: var(--fg);
  font-family: var(--font-display);
  font-size: clamp(31px, 3vw, 44px);
  line-height: 1.13;
}

.article-body blockquote cite {
  display: block;
  margin-top: 16px;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 11px;
  font-style: normal;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.wide-figure {
  width: min(100vw - 72px, 1040px);
  margin: 52px 0 52px calc((760px - min(100vw - 72px, 1040px)) / 2);
}

.wide-figure .image {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--paper);
}

figcaption {
  margin-top: 11px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.08em;
  line-height: 1.55;
  text-transform: uppercase;
}

.diptych {
  width: min(100vw - 72px, 1040px);
  margin: 46px 0 50px calc((760px - min(100vw - 72px, 1040px)) / 2);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.diptych .image {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--paper);
}

.pullquote {
  margin: 58px 0;
  padding: 26px 0 0;
  border-top: 1px solid var(--accent);
  color: var(--fg);
  font-size: clamp(42px, 4.2vw, 66px);
  line-height: 0.98;
  text-wrap: balance;
}

.verdict {
  margin-top: 70px;
  padding-top: 30px;
  border-top: 1px solid var(--border);
}

.verdict-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 42px;
  align-items: start;
  margin-top: 20px;
}

.verdict-line {
  margin: 0;
  font-size: clamp(34px, 3.4vw, 52px);
  line-height: 1.04;
  text-wrap: balance;
}

.improvement {
  margin-top: 82px;
  padding: 34px 0 0;
  border-top: 1px solid var(--accent-soft);
}

.improvement h2 { margin-top: 0; }

.improvement-list {
  display: grid;
  gap: 0;
  margin-top: 28px;
  border-top: 1px solid var(--border);
}

.improvement-item {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 28px;
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
}

.author {
  margin-top: 82px;
  padding-top: 28px;
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 20px;
  border-top: 1px solid var(--border);
}

.profile-grid {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 34px;
  align-items: start;
}

.avatar {
  width: 54px;
  height: 54px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 24px;
}

.author p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

.related {
  padding: 76px 0 90px;
  border-top: 1px solid var(--border);
}

.related-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 32px;
  margin-bottom: 26px;
}

.related-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(38px, 4vw, 58px);
  font-weight: 400;
  line-height: 1;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px;
}

.related-card {
  border-top: 1px solid var(--border);
  padding-top: 18px;
}

.related-thumb {
  aspect-ratio: 1.42 / 1;
  overflow: hidden;
  margin-bottom: 18px;
  background: var(--paper);
}

.related-card h3 {
  margin: 10px 0 10px;
  font-size: 31px;
  line-height: 1.05;
  font-weight: 400;
  text-wrap: balance;
}

.related-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.footer {
  border-top: 1px solid var(--border);
  padding: 34px 0 48px;
  display: grid;
  grid-template-columns: 180px 1fr auto;
  align-items: center;
  gap: 42px;
}

.footer img {
  width: 142px;
  opacity: 0.88;
}

.footer-note {
  max-width: 560px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.75;
  margin: 0;
}

@media (max-width: 1120px) {
  .article-shell { grid-template-columns: 180px minmax(0, 760px); gap: 46px; }
  .review-rail { display: none; }
}

@media (max-width: 920px) {
  .shell { width: min(100% - 40px, 720px); }

  .masthead {
    height: 78px;
    padding-top: 8px;
  }

  .brand img { width: 152px; }

  .title-grid,
  .article-shell,
  .profile-grid,
  .verdict-grid,
  .related-grid,
  .footer {
    grid-template-columns: 1fr;
  }

  .article-hero { padding-top: 38px; }
  .quick-facts { position: static; }

  .wide-figure,
  .diptych {
    width: 100%;
    margin-left: 0;
  }

  .footer { gap: 18px; }
}

@media (max-width: 620px) {
  body { background: var(--bg); }
  h1 { font-size: clamp(40px, 12vw, 60px); }
  .hero-image { aspect-ratio: 4 / 3; }

  .diptych,
  .improvement-item {
    grid-template-columns: 1fr;
  }

  .article-body p,
  .article-body li {
    font-size: 16px;
    line-height: 1.82;
  }
}
