:root {
  --paper: #fffbf1;
  --ink: #30251f;
  --accent: #7a2338;
  --tint: #f3e6d9;
  --line: #d9c8b7;
  --muted: #65564d;
  --type: "Trebuchet MS", Arial, sans-serif;
}
body.winter {
  --ink: #203931;
  --accent: #214f42;
  --tint: #e6ecdf;
  --paper: #fbfaf2;
  --line: #c7d0c0;
  --muted: #53645a;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 1rem; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 1rem/1.6 var(--type); }
img { display: block; max-width: 100%; }
a { color: var(--accent); font-weight: 700; text-underline-offset: .23em; text-decoration-thickness: .09em; }
button { font: inherit; cursor: pointer; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible { outline: 3px solid #a56814; outline-offset: 4px; }
[hidden] { display: none !important; }
.skip { position: absolute; left: -100rem; top: .7rem; z-index: 2; padding: .5rem 1rem; background: white; }
.skip:focus { left: 1rem; }
.wrap { width: min(1120px, calc(100% - 3rem)); margin-inline: auto; }
header { border-bottom: 1px solid var(--line); }
.mast, .mark, .mast nav, footer .wrap, .actions, .copyline { display: flex; align-items: center; }
.mast { justify-content: space-between; gap: 1rem; min-height: 4.6rem; }
.mast nav, .actions, .copyline { gap: .7rem 1rem; flex-wrap: wrap; }
.mark { gap: .6rem; color: var(--ink); font: normal clamp(1.1rem, 2.3vw, 1.55rem)/1.1 Georgia, serif; text-decoration: none; }
.mark img { width: 2.25rem; height: 2.25rem; border-radius: 50%; }
.mast nav a { font-size: .925rem; }
.lead { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); margin-block: clamp(1.5rem, 4vw, 3.2rem); border: 1px solid var(--line); background: var(--tint); }
.lead-copy { align-self: center; padding: clamp(1.5rem, 4.2vw, 3.7rem); }
.lead figure { margin: 0; min-height: 15rem; }
.lead img { width: 100%; height: 100%; object-fit: cover; }
.tag, .eyebrow { font-weight: bold; text-transform: uppercase; letter-spacing: .12em; font-size: .81rem; color: var(--accent); }
h1, h2, h3 { text-wrap: balance; }
h1, h2 { font-family: Georgia, "Times New Roman", serif; font-weight: normal; line-height: 1.05; letter-spacing: -.046em; }
h1 { margin: .3rem 0 1.15rem; font-size: clamp(2.55rem, 5.7vw, 4.9rem); }
h2 { margin: .2rem 0 1.1rem; font-size: clamp(1.95rem, 4vw, 2.8rem); }
h3 { margin: 1rem 0 .4rem; font-size: 1.14rem; }
p { margin: .5rem 0 1.05rem; }
.lead p:not(.tag) { max-width: 36ch; }
.small, .helper { color: var(--muted); font-size: .925rem; }
.mainline, .subline, .copy, .print { display: inline-flex; align-items:center; justify-content: center; padding: .65rem 1.05rem; border-radius: .35rem; border: 1px solid var(--accent); font: bold 1rem/1.35 var(--type); text-decoration: none; }
.mainline { background: var(--accent); color: white; }
.subline, .copy, .print { background: var(--paper); color: var(--accent); }
.actions { margin-top: 1.4rem; }
.work { display: grid; grid-template-columns: minmax(11rem, .32fr) minmax(0, 1fr); gap: clamp(1.3rem, 5.5vw, 5rem); align-items: start; }
aside { position: sticky; top: 1rem; border-top: 3px double var(--accent); padding-top: 1rem; }
aside nav { display: grid; gap: .48rem; margin: .6rem 0 1.1rem; }
progress { width: 100%; accent-color: var(--accent); height: .55rem; }
.progress { border-top: 1px solid var(--line); padding-top: 1rem; }
.progress p { margin: .25rem 0; }
.steps { min-width: 0; }
section { border-top: 1px solid var(--line); padding: clamp(1.5rem, 3vw, 2.1rem) 0; }
.eyebrow { margin: 0 0 .5rem; }
.sample { margin: 1.1rem 0; padding: 1.2rem 1.4rem; border-left: 3px solid var(--accent); background: var(--tint); }
.sample dl, .sample dd { margin: 0; }
.sample dt:not(:first-child) { margin-top: .8rem; }
.sample dt { color: var(--muted); font-weight: bold; font-size: .875rem; }
.sample dd { overflow-wrap: anywhere; }
.copyline { align-items: start; justify-content: space-between; }
.copyline p { margin: 0; }
.copy { font-size: .875rem; padding: .45rem .7rem; }
.track { display:flex; align-items: flex-start; gap: .65rem; width: fit-content; font-weight: bold; cursor: pointer; margin-block: 1rem .2rem; }
.track input { flex: none; width: 1.2rem; height: 1.2rem; margin: .2rem 0 0; accent-color: var(--accent); }
details { border-block-end: 1px solid var(--line); padding: .7rem .2rem; }
details:first-of-type { border-block-start: 1px solid var(--line); }
summary { cursor: pointer; color: var(--accent); font-weight: bold; padding: .3rem .15rem; font-size: 1.06rem; }
details[open] summary { margin-bottom: .6rem; }
details p, details ol { margin-block: .4rem .65rem; }
ol { padding-left: 1.45rem; }
li { padding-left: .15rem; margin-block: .35rem; }
.schedule { list-style: none; padding: 0; }
.schedule li { display: grid; grid-template-columns: 4.8rem minmax(0, 1fr); gap: 1rem; padding: .8rem 0; border-top: 1px solid var(--line); }
.schedule img { width: 4.8rem; aspect-ratio: 4/5; object-fit: cover; }
.schedule small { color: var(--muted); font-size: .86rem; }
.schedule p { margin: .18rem 0; }
.schedule h3 { margin: 0; }
.sources { margin: 1.5rem 0 0; }
.sources a { font-size: .91rem; }
.toast:not(:empty) { position: fixed; bottom: 1rem; left: 50%; transform: translateX(-50%); z-index: 2; background: var(--ink); color: white; border-radius: .4rem; padding: .7rem 1rem; width: max-content; max-width: 90vw; }
footer { margin-top: 1.2rem; padding: 1.5rem 0; border-top: 1px solid var(--line); }
footer .wrap { gap: 1rem; justify-content: space-between; flex-wrap: wrap; }
footer a { font-size: .92rem; }
@media (max-width: 760px) {
  .wrap { width: min(100% - 2rem, 42rem); }
  .mast { min-height: 3.8rem; }
  .lead { grid-template-columns: 1fr; }
  .lead figure { min-height: 0; height: clamp(8rem, 41vw, 14rem); }
  .lead-copy { padding: 1.4rem; }
  .work { grid-template-columns: 1fr; }
  aside { position: static; }
  aside nav { display: flex; flex-wrap: wrap; gap: .4rem 1.1rem; }
  .progress { display: grid; grid-template-columns: auto minmax(7rem, 1fr); gap: .25rem .9rem; align-items: center; }
  .progress small { grid-column: 1 / -1; }
}
@media (max-width: 400px) {
  .mast nav a { font-size: .87rem; }
  .mark { max-width: 10.5rem; }
  .actions a { width: 100%; }
}
@media print {
  :root, body.winter { --ink: #111; --accent: #111; --paper: white; }
  .wrap { width: 100%; }
  body { font: 10.5pt/1.4 Arial, sans-serif; }
  a { color: black; }
  .lead, .work { display: block; }
  .lead { border: 0; margin: 0; }
  .lead-copy { padding: 0; }
  .lead figure, aside, .actions, .mast nav, .copy, .print, .toast, .skip, footer { display: none !important; }
  header, .sample { border: 0; }
  .sample { padding: .2rem 0; }
  section { padding: .6rem 0; }
  details, .schedule li { break-inside: avoid; }
  h1 { font-size: 28pt; }
  h2 { font-size: 20pt; }
  h2, h3 { break-after: avoid; }
  .track { margin: .3rem 0; }
}
