* { box-sizing: border-box; }
:root { --ink: #193b4b; --paper: #fffdf8; --air: #e8f0ee; --blue: #c4dce0; --action: #174968; }
body { margin: 0; color: var(--ink); background: var(--air); font: 18px/1.5 Arial, sans-serif; }
.home { --paper: #fff; }
a { color: inherit; text-underline-offset: .2em; }
a:hover { color: #8e361e; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid #ad461e; outline-offset: 4px; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p { margin: 0; }
h1, h2 { font-family: Georgia, serif; font-weight: 500; line-height: 1.01; letter-spacing: -.035em; }
button, .button { display: inline-block; padding: 11px 18px; color: #fff; background: var(--action); border: 0; font: inherit; cursor: pointer; text-decoration: none; }
button:hover, .button:hover { background: #963e24; color: #fff; }
button:disabled { background: #d7e1e1; color: #465d61; cursor: default; }
button, .button, a, summary { transition: color .16s, background-color .16s, transform .16s; }
button:active:not(:disabled), .button:active { transform: translateY(2px); }
.home-nav, .home main, .back { padding-inline: clamp(16px, 2.2vw, 32px); }
.home-nav { display: flex; gap: 26px; max-width: 1500px; margin: auto; padding-block: 16px; }
.home-nav a { padding-block: 5px; }
.home main { max-width: 1500px; margin: auto; background: var(--air); position: relative; z-index: 1; }
.card { display: grid; padding: clamp(20px, 3.5vw, 54px); }
.card + .card { margin-top: clamp(72px, 10vw, 150px); }
.front { grid-template-columns: minmax(210px, .68fr) minmax(0, 1.32fr); gap: clamp(20px, 3vw, 48px); align-items: center; background: var(--paper); }
.front img { width: 100%; }
.invite h1 { font-size: clamp(52px, 5.8vw, 86px); }
.invite p { margin: 28px 0; max-width: 31ch; font-size: clamp(18px, 1.5vw, 22px); }
.story-pdf { display: inline-block; margin: 8px 0 8px 16px; white-space: nowrap; }
.workshop { grid-template-columns: 1fr 1.24fr; gap: clamp(24px, 8vw, 112px); background: var(--blue); }
.card h2, .back h2 { font-size: clamp(38px, 4.2vw, 64px); }
.section-lead p, .teacher-copy > p { margin: 24px 0 0; max-width: 37ch; }
.sheets-list h3 { font-size: 23px; }
.editions { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.editions > li { display: block; }
.edition-link { display: block; }
.edition-link img { width: 100%; margin-bottom: 8px; }
.edition-option .pdf-link { display: block; width: fit-content; }
ul { padding: 0; margin: 14px 0 0; list-style: none; }
li { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; padding: 4px 0; }
li a { display: inline-block; padding: 3px 0; }
.pdf-link { font-size: 16px; }
details { margin-top: 22px; }
summary { cursor: pointer; font-weight: 700; font-size: 20px; }
summary:hover { color: #8e361e; }
details p { margin: 14px 0; max-width: 49ch; }
.teacher-desk { grid-template-columns: minmax(0, 1.18fr) minmax(0, .82fr); gap: clamp(24px, 5vw, 76px); align-items: center; background: var(--paper); }
.teacher-art img { width: 100%; }
.bundle { margin-top: 16px; }
.back { margin-top: 110px; padding-block: 54px; color: var(--paper); background: var(--ink); text-align: center; }
.back p { margin-top: 18px; }
.back a:hover { color: #ffdba3; }
.arrived { animation: enter .42s ease-out both; }
.front img.arrived { animation: enter .65s ease-out both; }
@keyframes enter { from { opacity: .75; transform: translateY(13px); } to { opacity: 1; transform: none; } }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.kit-nav { max-width: 1160px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin: auto; padding: 12px 20px; font-size: 16px; }
.kit-nav a:first-child { margin-right: auto; font-weight: 700; }
.print-choice, .controls { display: none; }
.has-js .print-choice { display: inline; }
.presentation main { margin-inline: auto; }
.slide { position: relative; margin: 0 auto 28px; max-width: 1160px; min-height: 0; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: center; gap: 3%; padding: 24px 26px 47px; background: var(--paper); }
.slide img { width: 100%; }
.reverse .scene { order: 1; }
.reverse { grid-template-columns: minmax(0, .88fr) minmax(0, 1.62fr); }
.story-copy { padding: 18px 0; }
.story-copy h2 { font-size: clamp(34px, 4.2vw, 62px); }
.story-copy p { margin-top: 22px; font-size: clamp(21px, 2vw, 28px); line-height: 1.42; }
.slide footer, .sheet footer { position: absolute; left: 26px; right: 26px; bottom: 12px; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 12px; line-height: 1.25; }
.slide footer span, .sheet footer span:last-child { white-space: nowrap; }
.has-js .presentation:not(.show-all) .slide:not(.active) { display: none; }
.has-js .controls { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 12px; padding: 0 16px 14px; font-size: 16px; }
.workshop-next { display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; padding: 10px 16px 28px; font-size: 16px; }
.sheet { position: relative; width: 186mm; min-height: 252mm; padding: 10mm 8mm 17mm; margin: 0 auto 8mm; background: white; font: 11.25pt/1.38 Arial,sans-serif; }
.sheet h1 { margin: 0 0 5mm; font-size: 25pt; }
.sheet h2 { margin: 4mm 0 1.8mm; font-size: 15pt; }
.sheet p { margin: 0 0 3.2mm; }
.sheet code { font: inherit; overflow-wrap: anywhere; }
.sheet a { overflow-wrap: anywhere; }
@media (max-width: 840px) {
  .front { grid-template-columns: 1fr; }
  .invite { max-width: none; }
  .invite h1 { font-size: clamp(46px, 7vw, 60px); }
  .invite p { max-width: 48ch; margin: 16px 0 18px; }
  .workshop, .teacher-desk { grid-template-columns: 1fr 1fr; gap: 24px; }
  .slide { gap: 17px; padding-inline: 16px; }
  .story-copy h2 { font-size: 35px; }
  .story-copy p { margin-top: 14px; font-size: 21px; }
}
@media (max-width: 620px) {
  .home-nav { gap: 20px; padding-inline: 34px; font-size: 16px; }
  .card { padding: 18px; }
  .front { padding: 18px 18px 20px; }
  .workshop, .teacher-desk { grid-template-columns: 1fr; }
  .teacher-copy { grid-row: 1; }
  .card h2 { font-size: 38px; }
  .back { margin-top: 72px; padding-block: 36px; }
  .slide, .slide.reverse { display: flex; flex-direction: column; align-items: stretch; gap: 14px; margin-bottom: 20px; padding: 12px 14px 16px; }
  .reverse .scene { order: 0; }
  .story-copy { padding: 0 4px 6px; }
  .story-copy h2 { font-size: 32px; }
  .story-copy p { font-size: 20px; margin-top: 10px; }
  .slide footer, .sheet footer { position: static; margin: 6px 4px 0; font-size: 10px; }
  .kit-nav { padding: 10px 14px; gap: 10px; }
  .kit-nav button { padding: 8px 12px; }
  .controls button { padding: 10px 12px; }
  .sheet { width: 100%; min-height: 0; padding: 22px 18px; font-size: 16px; }
}
@media screen and (min-width: 621px) and (max-width: 725px) {
  .sheet { width: calc(100% - 16px); min-height: 0; padding: 24px 24px 56px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@page { size: letter; margin: 12mm; }
@media print {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  body { background: white; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .kit-nav, .controls, .workshop-next { display: none !important; }
  .slide, .has-js .presentation:not(.show-all) .slide:not(.active) { display: grid !important; }
  .slide { width: 12in; height: 6.75in; max-width: none; margin: 0; padding: 18pt 20pt 32pt; gap: 16pt; break-after: page; }
  .slide:last-child, .sheet:last-child { break-after: auto; }
  .story-copy { padding: 0; }
  .story-copy h2 { font-size: 31pt; }
  .story-copy p { margin-top: 14pt; font-size: 18.5pt; line-height: 1.38; }
  .slide footer { position: absolute; bottom: 10pt; left: 20pt; right: 20pt; margin: 0; font-size: 8pt; }
  .slide footer a { text-decoration: none; }
  .sheet { width: 186mm; min-height: 0; height: 251mm; margin: 0 auto; padding: 2mm 2mm 13mm; break-after: page; }
  .sheet footer { position: absolute; left: 2mm; right: 2mm; bottom: 3mm; font-size: 8pt; }
}
