:root {
  --ink: #17201e;
  --paper: #eee8dc;
  --paper-pale: #f8f4eb;
  --brick: #b6422f;
  --yellow: #e8b237;
  --blue: #2d6974;
  --line: rgba(23, 32, 30, .3);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color-scheme: light;
  font-family: var(--sans);
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-size: 17px; line-height: 1.65; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: .08em; text-underline-offset: .2em; }
a:hover { text-decoration-color: var(--brick); }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 4px; }
.skip-link { position: fixed; z-index: 20; top: .75rem; left: .75rem; padding: .7rem 1rem; background: #fff; transform: translateY(-180%); }
.skip-link:focus { transform: none; }
.topbar, .site-foot { display: flex; justify-content: space-between; align-items: center; gap: 2rem; min-height: 72px; padding: 1rem clamp(1rem, 5vw, 5rem); border-bottom: 1px solid var(--ink); font-size: .75rem; font-weight: 800; text-transform: uppercase; }
.topbar p, .site-foot p { margin: 0; }
.eyebrow { margin: 0 0 1rem; color: var(--brick); font-size: .7rem; font-weight: 850; text-transform: uppercase; }
.number { margin: .3rem 0 0; color: var(--brick); font-size: .85rem; font-weight: 900; }

.opening { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(280px, .6fr); gap: clamp(2rem, 8vw, 9rem); align-items: end; min-height: 66vh; padding: clamp(4rem, 10vw, 10rem) clamp(1rem, 7vw, 8rem); }
.opening h1 { max-width: 960px; margin: 0; font: 400 clamp(4rem, 9vw, 9rem)/.88 var(--serif); letter-spacing: 0; }
.opening > p { max-width: 560px; margin: 0; font-size: clamp(1.05rem, 1.7vw, 1.35rem); }

.instructions, .explanation { display: grid; grid-template-columns: 80px minmax(0, 1fr); gap: 2rem; padding: clamp(4rem, 8vw, 8rem) clamp(1rem, 7vw, 8rem); border-top: 1px solid var(--ink); }
.instructions > div, .explanation > div { max-width: 1120px; }
.instructions h2, .explanation h2, .fallback h2 { max-width: 980px; margin: 0; font: 400 clamp(2.8rem, 6vw, 6rem)/.94 var(--serif); letter-spacing: 0; }
.instructions ol { display: grid; grid-template-columns: repeat(4, 1fr); margin: 3rem 0 0; padding: 0; border: 1px solid var(--ink); list-style: none; }
.instructions li { min-height: 180px; padding: 1.4rem; border-right: 1px solid var(--ink); }
.instructions li:last-child { border-right: 0; }
.instructions strong { display: block; margin-bottom: 3rem; color: var(--brick); }
.practical { margin: 1.25rem 0 0; font-size: .8rem; font-weight: 750; }

.stereo { margin: 0; padding: clamp(1rem, 3vw, 3rem); background: var(--ink); color: var(--paper-pale); }
.stereo > a { display: block; max-width: 1440px; margin: auto; border: 1px solid rgba(255, 255, 255, .45); }
.stereo img { width: 100%; }
.stereo figcaption { display: flex; justify-content: space-between; gap: 2rem; max-width: 1440px; margin: 1rem auto 0; font-size: .72rem; font-weight: 800; text-transform: uppercase; }

.explanation { background: var(--yellow); }
.explanation .eyebrow, .explanation .number { color: var(--ink); }
.explanation p:not(.eyebrow) { max-width: 750px; margin: 2rem 0 0 auto; }

.fallback { display: grid; grid-template-columns: minmax(280px, .75fr) minmax(0, 1.25fr); gap: clamp(3rem, 8vw, 9rem); padding: clamp(5rem, 10vw, 10rem) clamp(1rem, 7vw, 8rem); background: var(--blue); color: var(--paper-pale); }
.fallback .eyebrow { color: #ffd86b; }
.fallback > div { align-self: center; }
.fallback details { align-self: start; border-top: 1px solid currentColor; border-bottom: 1px solid currentColor; }
.fallback summary { cursor: pointer; padding: 1.25rem 0; font-size: .78rem; font-weight: 850; text-transform: uppercase; }
.fallback details img { margin-bottom: 1.25rem; border: 1px solid rgba(255, 255, 255, .45); }
.site-foot { border-top: 0; border-bottom: 0; }

@media (max-width: 820px) {
  body { font-size: 16px; overflow-x: hidden; }
  .topbar, .site-foot, .opening, .fallback { display: block; }
  .topbar p, .site-foot p { margin-top: .35rem; }
  .opening { min-height: 0; padding: 4rem 1rem; }
  .opening h1 { font-size: clamp(3.2rem, 15vw, 5.4rem); overflow-wrap: anywhere; }
  .opening > p { margin-top: 2.5rem; }
  .instructions, .explanation { grid-template-columns: 36px minmax(0, 1fr); gap: 1rem; padding: 4rem 1rem; }
  .instructions h2, .explanation h2, .fallback h2 { font-size: clamp(2.6rem, 12vw, 4.5rem); }
  .instructions ol { display: block; }
  .instructions li { min-height: 0; border-right: 0; border-bottom: 1px solid var(--ink); }
  .instructions li:last-child { border-bottom: 0; }
  .instructions strong { margin-bottom: .75rem; }
  .stereo { padding: 1rem; }
  .stereo figcaption { display: block; }
  .stereo figcaption a { display: block; margin-top: .5rem; }
  .explanation p:not(.eyebrow) { margin-left: 0; }
  .fallback { padding: 4rem 1rem; }
  .fallback details { margin-top: 3rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
