:root {
  --paper: #f7f1e8;
  --surface: #fffaf2;
  --ink: #2b2118;
  --muted: #6b5b4b;
  --accent: #c2562f;
  --gold: #e0a03a;
  --rust: color-mix(in srgb, var(--accent) 78%, var(--ink));
  --hover: color-mix(in srgb, var(--accent) 52%, var(--ink));
  --rule: color-mix(in srgb, var(--paper) 82%, var(--muted));
  --yellow: #ecd597;
  --green: #b9c8a7;
  --blue: #b8c9d6;
  --purple: #d3bed6;
  --radius: 12px;
  --title: "Fraunces", Georgia, serif;
  --text: "Inter", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 24px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--text); font-size: 16px; line-height: 1.6; }
[hidden] { display: none !important; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font: 700 48px/1.12 var(--title); letter-spacing: -.035em; }
h2 { font-size: 32px; }
h3 { font-size: 22px; font-weight: 600; letter-spacing: -.015em; }
p { max-width: 70ch; }
a { color: var(--rust); text-underline-offset: .2em; }
a:hover { color: var(--hover); }
:focus-visible { outline: 3px solid var(--rust); outline-offset: 4px; }
.skip { position: absolute; inset: 12px auto auto 12px; z-index: 5; transform: translateY(-160%); padding: 8px 16px; background: var(--surface); border-radius: var(--radius); }
.skip:focus { transform: none; }
.shell { width: min(100% - 48px, 1120px); margin-inline: auto; }
.masthead { background: var(--surface); border-bottom: 1px solid var(--rule); }
.masthead-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.masthead-inner { min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); text-decoration: none; font: 700 22px/1 var(--title); letter-spacing: -.045em; white-space: nowrap; }
.brand svg { display: block; width: 32px; height: 32px; }
.brand-accent { color: var(--rust); }
.masthead nav, .footer nav { display: flex; align-items: center; gap: 24px; }
.masthead nav a, .official, .footer nav a { display: inline-flex; min-height: 44px; align-items: center; color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 600; }
.masthead nav a:hover, .footer nav a:hover, .masthead nav a[aria-current] { color: var(--rust); text-decoration: underline; }
.official { gap: 8px; color: var(--rust); }
.official:hover { text-decoration: underline; }
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(268px, .51fr); gap: 48px; align-items: stretch; padding-block: 48px 32px; border-bottom: 1px solid var(--rule); }
.hero-copy { align-self: center; }
.hero h1 { max-width: 18ch; }
.hero-copy > p, .article-hero > p:not(.issue-label) { margin-top: 12px; font-size: 18px; color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 48px; padding: 8px 16px; border: 1px solid transparent; border-radius: var(--radius); text-decoration: none; font-size: 14px; font-weight: 700; }
.primary { color: white; background: var(--rust); }
.primary:hover { color: white; background: var(--hover); }
.secondary { color: var(--ink); border-color: color-mix(in srgb, var(--muted) 52%, var(--ink)); background: color-mix(in srgb, var(--rule) 38%, var(--surface)); }
.secondary:hover { color: var(--rust); border-color: var(--rust); }
.issue { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 24px; border: 1px solid var(--rule); border-radius: var(--radius); background: var(--surface); box-shadow: 0 1px 2px rgba(0,0,0,.06); }
.issue-copy { order: -1; }
.issue-label { color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .10em; }
.issue-number { color: var(--rust); font: 700 36px/1.25 var(--title); letter-spacing: -.06em; }
.issue time { display: block; margin-top: 4px; color: var(--muted); font-size: 14px; }
.issue-art { position: relative; flex: none; display: grid; grid-template-columns: 1fr 1fr; width: 104px; height: 104px; gap: 4px; transform: rotate(-7deg); color: var(--ink); }
.issue-art i { border: 1px solid var(--rule); border-radius: var(--radius); background: var(--yellow); }
.issue-art i:nth-child(2) { background: var(--green); }
.issue-art i:nth-child(3) { background: var(--blue); }
.issue-art i:nth-child(4) { background: var(--purple); }
.issue-art svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.edition-status { margin-top: 16px; padding: 12px 16px; border-left: 4px solid var(--accent); color: var(--ink); background: var(--surface); }
.clues, .solutions, .related, .faq, .editorial { margin-top: 48px; }
.section-heading { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-bottom: 16px; }
.section-heading > p { color: var(--muted); font-size: 14px; }
.clue-grid { display: grid; grid-template-columns: repeat(2,minmax(0, 1fr)); align-items: start; gap: 16px; }
.clue { --stripe: color-mix(in srgb, var(--swatch) 58%, var(--ink)); padding: 16px 24px; border: 1px solid var(--rule); border-left: 4px solid var(--stripe); border-radius: var(--radius); background: var(--surface); box-shadow: 0 1px 2px rgba(0,0,0,.06); }
.yellow { --swatch: var(--yellow); }
.green { --swatch: var(--green); }
.blue { --swatch: var(--blue); }
.purple { --swatch: var(--purple); }
.group-label { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.swatch { display: inline-block; flex: none; width: 12px; height: 12px; border: 1px solid color-mix(in srgb, var(--swatch) 58%, var(--ink)); border-radius: 3px; background: var(--swatch); }
.clue-line { margin: 8px 0 4px; }
summary { cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
.one-answer > summary, .all-answers > summary, .faq summary { display: flex; min-height: 44px; justify-content: space-between; align-items: center; gap: 12px; font-weight: 700; }
.one-answer > summary { margin-top: 4px; padding: 8px 10px; border-radius: 8px; color: var(--rust); font-size: 14px; transition: background-color 160ms ease; }
details > summary::after { content: "+"; display: inline-grid; flex: none; width: 26px; height: 26px; place-items: center; border: 1px solid color-mix(in srgb, var(--rust) 55%, transparent); border-radius: 50%; background: color-mix(in srgb, var(--accent) 10%, var(--surface)); color: var(--rust); line-height: 1; font-size: 18px; font-weight: 700; }
details[open] > summary::after { content: "−"; }
.answer-body, .all-body { border-top: 1px solid var(--rule); }
.answer-body { padding-top: 12px; }
.answer-body > p:last-child { margin-top: 8px; color: var(--muted); }
.words { margin-top: 4px; font-weight: 700; line-height: 1.6; }
.all-answers { border: 1px solid var(--rule); border-radius: var(--radius); background: var(--surface); }
.all-answers > summary { min-height: 56px; padding: 12px 16px; color: var(--rust); }
.all-answers > summary:hover, .one-answer > summary:hover { color: var(--hover); }
.one-answer > summary:hover { background: color-mix(in srgb, var(--accent) 9%, transparent); }
.all-body { padding-inline: 16px; }
.solution { display: grid; grid-template-columns: 112px 1fr; align-items: baseline; gap: 12px; padding-block: 12px; }
.solution + .solution { border-top: 1px solid var(--rule); }
.source { margin-top: 12px; color: var(--muted); font-size: 14px; }
.editorial { border-top: 1px solid var(--rule); padding-top: 32px; }
.prose { width: min(100%, 70ch); }
.prose > * + * { margin-top: 1.5rem; }
.prose p, .prose li { line-height: 1.75; }
.prose h2 { margin-top: 32px; font-size: 28px; }
.prose h2:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 24px; }
.prose li + li { margin-top: 8px; }
.related h2 { margin-bottom: 16px; }
.related-list { border-top: 1px solid var(--rule); }
.related-list > a { display: flex; justify-content: space-between; gap: 24px; align-items: center; padding: 16px 4px; border-bottom: 1px solid var(--rule); color: var(--ink); text-decoration: none; }
.related-list > a:hover strong { color: var(--rust); text-decoration: underline; }
.link-detail, .arrow { display: block; color: var(--muted); font-size: 14px; }
.arrow { color: var(--rust); font-size: 22px; }
.faq h2 { margin-bottom: 16px; }
.faq details { margin: 0; border-top: 1px solid var(--rule); }
.faq details:last-child { border-bottom: 1px solid var(--rule); }
.faq summary { padding-block: 12px; }
.faq details p { padding-bottom: 12px; color: var(--muted); }
.article-hero { padding-block: 48px 24px; }
.article-hero .issue-label { margin-bottom: 8px; }
.back { display: inline-block; margin-bottom: 16px; font-size: 14px; font-weight: 700; }
.standard .related-list { margin-top: 24px; }
.footer { margin-top: 64px; border-top: 1px solid var(--rule); background: var(--surface); }
.footer-inner { min-height: 112px; }
.footer p { margin-top: 8px; color: var(--muted); font-size: 14px; }
@media (max-width: 840px) {
  .hero { gap: 24px; }
  .issue-art { width: 72px; height: 72px; }
}
@media (max-width: 640px) {
  .shell { width: calc(100% - 32px); }
  h1 { font-size: 28px; letter-spacing: -.03em; }
  h2 { font-size: 24px; }
  .hero { grid-template-columns: 1fr; gap: 16px; padding-block: 24px; }
  .hero h1 { max-width: none; }
  .hero-copy > p { font-size: 16px; }
  .hero-actions { gap: 8px; margin-top: 16px; }
  .button { padding-inline: 12px; flex: 1 1 auto; }
  .issue { padding: 12px 16px; }
  .issue-copy { display: grid; grid-template-columns: auto 1fr; align-items: baseline; gap: 0 8px; }
  .issue-label { grid-column: 1/-1; }
  .issue-number { font-size: 24px; }
  .issue time { margin: 0; }
  .issue-art { width: 40px; height: 40px; }
  .issue-art i { border-radius: 4px; }
  .clue-grid { grid-template-columns: 1fr; gap: 16px; }
  .clue { padding: 12px 16px; }
  .masthead-inner { min-height: 0; flex-wrap: wrap; gap: 0 12px; padding-top: 8px; }
  .masthead nav { order: 1; width: 100%; gap: 4px 20px; }
  .masthead nav a { min-height: 40px; }
  .footer-inner { flex-wrap: wrap; padding-block: 24px; gap: 8px; }
  .clues, .solutions, .related, .faq, .editorial { margin-top: 32px; }
  .article-hero { padding-block: 32px 16px; }
  .solution { grid-template-columns: 1fr; gap: 4px; }
}
@media (max-width: 340px) {
  .issue-copy { display: block; }
  .masthead nav { gap: 16px; }
}


/* readability + mobile overflow fixes */
html, body { overflow-x: hidden; }
.prose { max-width: 68ch; }
.prose ul, .prose ol { padding-left: 1.35rem; }
.prose li { margin-bottom: .55rem; }
.prose li:last-child { margin-bottom: 0; }
.prose h2 { margin-top: 2.4rem; margin-bottom: .7rem; }
.prose h3 { margin-top: 1.8rem; margin-bottom: .55rem; font-size: 20px; }
@media (max-width: 640px) {
  h1 { font-size: 27px; line-height: 1.2; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 10px; }
  .hero-actions .button { width: 100%; justify-content: center; }
  .clue-grid, .clue-card, .one-answer, .all-answers { max-width: 100%; }
  .clue-card summary { gap: 10px; }
}
