/* That's a WIN! printables: one stylesheet for screen and print.
   No web fonts, no external requests: the page loads nothing from anywhere else. */

:root {
  color-scheme: light;
  --navy: #1f2f57;
  --navy-soft: #43527a;
  --dandelion: #f2b705;
  --dandelion-pale: #fff4cc;
  --grass: #3f7d3a;
  --paper: #ffffff;
  --page: #f4f1e8;
  --ink: #1d2433;
  --muted: #5a6273;
  --rule: #c9c3b3;
  --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

[hidden] { display: none !important; }

/* the hidden <svg> that holds each page's <symbol> drawings */
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.5;
}

a { color: var(--navy); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--dandelion); outline-offset: 2px; }

/* ---------- screen chrome (never printed) ---------- */

.bar {
  background: var(--navy);
  color: #fff;
  padding: 12px 16px;
}
.bar-inner {
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  align-items: center;
  justify-content: space-between;
}
.bar a { color: #fff; font-weight: 600; text-decoration: none; }
.bar a:hover { text-decoration: underline; }

.btn {
  display: inline-block;
  border: 0;
  border-radius: 999px;
  background: var(--dandelion);
  color: var(--navy);
  font: 700 16px/1 var(--font);
  padding: 12px 20px;
  cursor: pointer;
  text-decoration: none;
}
.btn:hover { filter: brightness(0.95); }

.wrap { max-width: 880px; margin: 0 auto; padding: 24px 16px 48px; }

.hero h1 { color: var(--navy); font-size: 32px; line-height: 1.15; margin: 8px 0 8px; }
.hero p { margin: 0 0 12px; max-width: 62ch; }
.kicker { color: var(--muted); font-size: 14px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; margin: 0; }

.cards { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 14px;
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.card h2 { color: var(--navy); font-size: 20px; margin: 0; }
.card p { margin: 0; color: var(--muted); }
.card .btn { align-self: flex-start; margin-top: auto; }
.card svg { width: 48px; height: 48px; }

.note {
  margin-top: 28px;
  background: var(--dandelion-pale);
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 15px;
}
.site-foot { margin-top: 32px; color: var(--muted); font-size: 14px; }
.site-foot p { margin: 4px 0; }

/* ---------- the printable sheets ---------- */

.sheet {
  background: var(--paper);
  width: 100%;
  max-width: 8.5in;
  margin: 24px auto;
  padding: 0.5in;
  border: 1px solid var(--rule);
  box-shadow: 0 2px 10px rgba(29, 36, 51, 0.08);
}
.sheet h1 { color: var(--navy); font-size: 34px; line-height: 1.1; margin: 0 0 6px; }
.sheet h2 { color: var(--navy); font-size: 19px; margin: 18px 0 6px; }
.sheet p { margin: 0 0 8px; }
.sheet .sub { color: var(--muted); margin: 0 0 14px; }
.sheet .source { margin-top: 14px; color: var(--muted); font-size: 12px; }

.line { display: flex; gap: 8px; align-items: flex-end; margin: 14px 0; font-size: 18px; }
.line .blank { flex: 1; border-bottom: 2px solid var(--ink); min-width: 4em; height: 1.4em; }
.line .short { flex: 0 0 5em; }

.places, .wins { display: flex; flex-wrap: wrap; gap: 10px 14px; margin: 6px 0 4px; padding: 0; list-style: none; }
.places li, .wins li { display: flex; align-items: center; gap: 6px; font-size: 17px; }
.places svg { width: 34px; height: 34px; }
.tick { width: 22px; height: 22px; border: 2px solid var(--ink); border-radius: 4px; display: inline-block; }

.fence-row-svg { width: 100%; height: auto; display: block; margin: 12px 0 4px; }
.caption { text-align: center; color: var(--muted); font-size: 15px; margin: 0 0 10px; }

.sign { margin-top: 18px; }

/* ladder cards: a 2 x 3 grid, cut lines between */
.cards6 { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 2px dashed var(--rule); }
.lcard { padding: 12px 14px; border: 1px dashed var(--rule); font-size: 13px; line-height: 1.35; display: flex; flex-direction: column; gap: 4px; }
.lcard header { display: flex; align-items: center; gap: 8px; }
.lcard header svg { width: 34px; height: 34px; flex: 0 0 34px; }
.lcard h2 { margin: 0; font-size: 17px; }
.lcard .rung { display: block; color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.lcard .do { font-weight: 700; font-size: 14px; }
.lcard p { margin: 0; }
.lcard .foot { margin-top: auto; color: var(--muted); font-style: italic; }
.lcard .chant { background: var(--dandelion-pale); border-radius: 6px; padding: 4px 8px; font-weight: 600; }
.lcard.top { background: var(--dandelion-pale); }
.lcard.top ol { margin: 4px 0 0; padding-left: 18px; }

/* paper fence */
.fence-big svg { width: 100%; height: auto; display: block; }

/* dandelions to cut out: a 4 x 5 grid */
.cutouts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 8px; }
.cutouts div { border: 1px dashed var(--rule); display: flex; align-items: center; justify-content: center; padding: 6px 0; }
.cutouts svg { width: 70%; height: auto; }

/* first season */
.cols { columns: 2 260px; column-gap: 24px; }
.cols section { break-inside: avoid; margin-bottom: 10px; }
.cues { margin: 4px 0 8px; padding-left: 20px; }
.cues li { margin: 2px 0; }
.small { font-size: 14px; }

/* ---------- print ---------- */

@page { size: letter portrait; margin: 0.45in; }

@media print {
  body { background: #fff; font-size: 12pt; }
  .bar, .no-print { display: none !important; }
  .wrap { padding: 0; max-width: none; }
  .sheet { margin: 0; padding: 0; border: 0; box-shadow: none; max-width: none; break-after: page; }
  .sheet:last-of-type { break-after: auto; }
  .lcard { font-size: 10.5pt; min-height: 3in; }
  .cutouts div { height: 1.85in; }
  a { color: inherit; text-decoration: none; }
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .hero h1 { font-size: 26px; }
  .sheet { padding: 18px 14px; }
  .sheet h1 { font-size: 26px; }
  .cards6 { grid-template-columns: 1fr; }
}
