@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Merriweather:wght@400;700;900&display=swap");

:root {
  color-scheme: light;
  --ink: #162436;
  --muted: #526070;
  --paper: #f7f5f0;
  --surface: #fffdf9;
  --line: #d8ddd9;
  --accent: #a03931;
  --accent-dark: #71231e;
  --navy: #102235;
  --serif: "Merriweather", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); line-height: 1.6; }
a { color: var(--accent-dark); text-underline-offset: 3px; }
a:hover { color: var(--accent); }
a:focus-visible { outline: 3px solid #e3a368; outline-offset: 4px; }
img { max-width: 100%; }
.skip-link { position: absolute; top: -100px; left: 14px; z-index: 20; padding: 9px 13px; background: white; }
.skip-link:focus { top: 12px; }
.shell { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.site-header { background: var(--navy); color: #fff; }
.site-header__top { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-header__brand { display: inline-flex; align-items: center; text-decoration: none; }
.site-header__brand img { width: 194px; height: auto; }
.site-header__label { color: #d6dedf; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; }
.site-nav { border-top: 1px solid #334559; }
.site-nav .shell { display: flex; flex-wrap: wrap; gap: 12px 26px; padding-block: 13px; }
.site-nav a { color: #e9eff3; font-size: .86rem; font-weight: 700; text-decoration: none; }
.site-nav a:hover, .site-nav a:focus-visible { color: #fff; text-decoration: underline; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 9px; align-items: center; color: var(--muted); font-size: .82rem; }
.breadcrumb a { color: inherit; }
.eyebrow { margin: 0 0 14px; color: var(--accent-dark); font-size: .76rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.22; }
h1 { font-size: clamp(2.4rem, 5.4vw, 5.1rem); letter-spacing: -.045em; }
h2 { font-size: clamp(1.65rem, 2.6vw, 2.35rem); }
h3 { font-size: 1.2rem; }
.lead { max-width: 750px; color: #35465a; font-size: clamp(1.06rem, 1.6vw, 1.31rem); line-height: 1.67; }
.section-hero { position: relative; overflow: hidden; padding: 42px 0 80px; background: linear-gradient(145deg, #f9f7f2, #ecf0ed); border-bottom: 1px solid var(--line); }
.section-hero::after { content: "W"; position: absolute; right: max(-30px, calc((100vw - 1200px)/2)); bottom: -168px; color: #dfe5df; font: 900 clamp(20rem, 41vw, 39rem)/1 var(--serif); pointer-events: none; opacity: .58; }
.section-hero .shell { position: relative; z-index: 1; }
.section-hero .breadcrumb { margin-bottom: 65px; }
.section-hero h1 { max-width: 850px; margin-bottom: 26px; }
.section-hero .lead { margin-bottom: 30px; }
.section-hero__notes { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { display: inline-block; padding: 8px 13px; border: 1px solid #c7d2d0; border-radius: 999px; background: #fffdf8c9; color: #344557; font-size: .77rem; font-weight: 700; }
.collection { padding: 68px 0 48px; }
.collection-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 25px; }
.collection-heading p { max-width: 380px; color: var(--muted); margin-bottom: 5px; }
.collection-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 310px), 1fr)); gap: 22px; }
.wiki-card { overflow: hidden; border: 1px solid var(--line); border-radius: 15px; background: var(--surface); box-shadow: 0 14px 40px #14243a0d; transition: transform .2s ease, box-shadow .2s ease; }
.wiki-card:hover { transform: translateY(-4px); box-shadow: 0 18px 44px #14243a1a; }
.wiki-card > a { display: block; height: 100%; padding: 0 0 28px; color: inherit; text-decoration: none; }
.wiki-card__art { height: 178px; display: flex; align-items: center; justify-content: center; background: radial-gradient(circle at 80% 20%, #d8d9cf 0 10%, transparent 11%), linear-gradient(135deg, #19374a, #0c2133 65%, #654335); color: #f0dbb5; font: 900 6.5rem/1 var(--serif); letter-spacing: -.1em; }
.wiki-card__art--cornejo { background: radial-gradient(circle at 21% 75%, #c7b799 0 9%, transparent 10%), linear-gradient(135deg, #234353, #173248 58%, #74624c); color: #f8e2bb; }
.wiki-card__body { padding: 26px 28px 0; }
.wiki-card__meta { display: block; margin-bottom: 13px; color: var(--accent-dark); font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.wiki-card h3 { margin-bottom: 12px; font-size: 1.55rem; }
.wiki-card p { color: var(--muted); }
.wiki-card__action { display: inline-block; margin-top: 10px; color: var(--accent-dark); font-weight: 700; }
.method { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(240px, .8fr); gap: 55px; margin: 30px auto 80px; padding: 44px; border: 1px solid var(--line); border-radius: 14px; background: #f0efe8; }
.method p { color: #405064; }
.method ul { margin: 0; padding-left: 21px; color: #405064; }
.method li + li { margin-top: 10px; }
.article-hero { padding: 40px 0 55px; background: linear-gradient(135deg, #f9f7f1, #edf0eb); border-bottom: 1px solid var(--line); }
.article-hero .breadcrumb { margin-bottom: 50px; }
.article-hero__grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(250px, .45fr); align-items: end; gap: 36px; }
.article-hero h1 { max-width: 850px; margin-bottom: 24px; }
.article-hero .lead { margin-bottom: 26px; }
.source-button { display: inline-flex; align-items: center; gap: 10px; padding: 13px 18px; border-radius: 6px; background: var(--accent-dark); color: #fff; font-size: .9rem; font-weight: 700; text-decoration: none; }
.source-button:hover { background: var(--accent); color: #fff; }
.hero-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.hero-facts div { min-height: 105px; padding: 18px; border: 1px solid #bfc9c7; background: #fffaf3c8; }
.hero-facts strong { display: block; font: 900 1.7rem/1.2 var(--serif); }
.hero-facts span { display: block; margin-top: 8px; color: var(--muted); font-size: .77rem; }
.article-layout { display: grid; grid-template-columns: 210px minmax(0, 760px); gap: clamp(30px, 7vw, 90px); padding-block: 55px 85px; }
.toc { align-self: start; position: sticky; top: 25px; padding-top: 11px; border-top: 2px solid var(--accent); }
.toc strong { display: block; margin-bottom: 12px; font-size: .73rem; letter-spacing: .12em; text-transform: uppercase; }
.toc a { display: block; margin: 8px 0; color: var(--muted); font-size: .85rem; text-decoration: none; }
.toc a:hover { color: var(--accent-dark); text-decoration: underline; }
.article-body { min-width: 0; font-family: var(--serif); font-size: 1.05rem; line-height: 1.88; }
.article-body > p:first-child::first-letter { float: left; margin: .07em .09em 0 0; color: var(--accent-dark); font: 900 3.65rem/.9 var(--serif); }
.article-body p { margin-bottom: 1.35em; }
.article-body h2 { margin: 2.1em 0 .65em; padding-top: .55em; border-top: 1px solid var(--line); scroll-margin-top: 25px; }
.article-body h3 { margin: 1.65em 0 .55em; }
.article-body .editor-note { font-family: var(--sans); font-size: .95rem; }
.source-break { margin: 36px 0; padding: 24px 28px; border-left: 4px solid var(--accent); background: #eeece4; font-family: var(--sans); font-size: .9rem; }
.source-break strong { display: block; margin-bottom: 5px; }
.source-break p { margin-bottom: 0; }
.filmography { width: 100%; border-collapse: collapse; font-family: var(--sans); font-size: .86rem; }
.filmography th, .filmography td { padding: 13px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.filmography th { background: #e9edea; }
.source-list { padding-left: 20px; font-family: var(--sans); font-size: .88rem; }
.source-list li + li { margin-top: 11px; }
.attribution { margin-top: 50px; padding: 25px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); font-family: var(--sans); font-size: .88rem; line-height: 1.7; }
.attribution h2 { margin: 0 0 13px; padding: 0; border: 0; font-size: 1.25rem; }
.attribution p:last-child { margin-bottom: 0; }
.back-link { display: inline-block; margin-top: 40px; font-family: var(--sans); font-size: .9rem; font-weight: 700; }
.site-footer { padding: 34px 0; background: var(--navy); color: #dbe4ea; font-size: .85rem; }
.site-footer .shell { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; }
.site-footer a { color: #f6e8df; }

@media (max-width: 760px) {
  .site-header__top { min-height: 76px; }
  .site-header__brand img { width: 158px; }
  .site-header__label { display: none; }
  .site-nav .shell { gap: 8px 17px; }
  .section-hero { padding-bottom: 57px; }
  .section-hero .breadcrumb, .article-hero .breadcrumb { margin-bottom: 42px; }
  .section-hero::after { right: -60px; bottom: -95px; }
  .collection { padding-top: 48px; }
  .collection-heading { display: block; }
  .method { grid-template-columns: 1fr; gap: 10px; padding: 28px; }
  .article-hero__grid { grid-template-columns: 1fr; }
  .hero-facts { max-width: 430px; }
  .article-layout { grid-template-columns: 1fr; padding-top: 30px; }
  .toc { position: static; display: flex; flex-wrap: wrap; gap: 3px 15px; padding-bottom: 13px; border-bottom: 1px solid var(--line); }
  .toc strong { flex-basis: 100%; margin-bottom: 2px; }
  .article-body { font-size: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .wiki-card { transition: none; }
}
