/* Walk ideas: the hub (/walks/) and the guides under it (/walks/<slug>/).
   Builds on the page kit in site.css. The scavenger hunt's print sheet is at the end. */

/* ---------- shared ---------- */
.page-head h1 { text-wrap: balance; }
.walk-sec .prose > h2:first-child, .hunt-intro .prose > h2:first-child { margin-top: 0; }
.byline { margin-top: 18px; font-size: 14px; color: var(--ink-2); }
.byline span + span::before { content: '\00B7'; margin: 0 8px; }

.walk-sec + .walk-sec { margin-top: 96px; }
.walk-sec > h2, .walk-split h2 { font-size: clamp(30px, 3vw, 44px); line-height: 1.05; }
.walk-sub { margin-top: 12px; font-size: 18px; color: var(--ink-2); max-width: 32em; }
.walk-sec a:not(.tile):not(.store) { color: var(--ink); text-decoration-color: var(--leaf); text-decoration-thickness: 2px; text-underline-offset: 3px; }

.walk-end { margin-top: 88px; }
.hunt-sheet + .walk-sec { margin-top: 96px; }
.walk-note { margin-top: 28px; }
.walk-end .notice { max-width: 52rem; }
.notice strong { font-weight: 600; }

/* ---------- hub: the guide cards ---------- */
.walk-tiles { margin-top: 36px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 440px), 1fr)); gap: 32px; }
.walk-tiles .tile { height: 100%; display: flex; flex-direction: column; }
.walk-tiles .tile img { flex: none; height: auto; aspect-ratio: 16 / 10; }
.walk-tiles .tile-body { padding: 22px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.walk-tiles .tile h3 { font-size: clamp(26px, 2.3vw, 32px); line-height: 1.1; margin-top: 8px; }
.walk-tiles .tile p { font-size: 16px; line-height: 1.55; margin-top: 12px; max-width: 34em; }
.tile-go { margin-top: auto; padding-top: 18px; font-weight: 600; text-decoration: underline; text-decoration-color: var(--forest); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.tile-go::after { content: ' \2192'; }

/* ---------- hub: quick walks and the three rules ---------- */
.walk-split { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 72px; align-items: start; }
.quick-walks { margin-top: 0; }
.quick-walks > div { grid-template-columns: 190px 1fr; padding: 18px 0; }
.quick-walks dt { font-family: var(--display); font-weight: 600; font-variation-settings: 'opsz' 36, 'SOFT' 100; font-size: 20px; line-height: 1.25; }
.quick-walks dd { font-size: 16.5px; }

.walk-rules { margin-top: 40px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; }
.walk-rules > li { border-top: 1.5px solid var(--ink); padding-top: 6px; }
.walk-rules .step-n { margin: 14px 0 8px; font-size: 56px; }
.walk-rules h3 {
  font-family: var(--display); font-weight: 600; font-variation-settings: 'opsz' 36, 'SOFT' 100;
  font-size: 25px; line-height: 1.2; padding-bottom: 12px; margin-bottom: 12px; border-bottom: 1px solid var(--rule);
}
.walk-rules p { color: var(--ink-2); max-width: 26em; }

/* ---------- guides: article with a contents card ---------- */
.walk-layout > .walk-toc { grid-column: 2; grid-row: 1; }
.walk-layout > article { grid-column: 1; grid-row: 1; }
.walk-toc { padding: 22px 24px 24px; }
.walk-toc h2 { font-size: 22px; padding-bottom: 10px; border-bottom: 1.5px solid var(--ink); }
.toc-ideas { margin-top: 10px; counter-reset: toc; }
.toc-ideas li { counter-increment: toc; display: grid; grid-template-columns: 26px 1fr; font-size: 15px; line-height: 1.35; padding: 4px 0; }
.toc-ideas li::before { content: counter(toc); font-family: var(--display); font-style: italic; font-variation-settings: 'opsz' 14, 'SOFT' 100; color: var(--forest); }
.walk-toc a { color: var(--ink); text-decoration: none; }
.walk-toc a:hover { text-decoration: underline; text-decoration-color: var(--leaf); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.toc-more { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--rule); display: grid; gap: 6px; font-size: 15px; font-weight: 600; }
.toc-more a::after { content: ' \2192'; font-weight: 400; }

.walk-article { max-width: 46rem; }
.walk-article > h2 { scroll-margin-top: 24px; }
.walk-intro { font-size: 18.5px; }

/* the numbered ideas */
.prose .ideas { list-style: none; padding-left: 0; counter-reset: idea; margin-top: 28px; }
.prose .ideas > li { counter-increment: idea; position: relative; padding: 26px 0 0 66px; border-top: 1px solid var(--rule); scroll-margin-top: 24px; }
.prose .ideas > li + li { margin-top: 30px; }
.ideas > li::before {
  content: counter(idea); position: absolute; left: 0; top: 20px; width: 50px;
  font-family: var(--display); font-style: italic; font-weight: 400;
  font-variation-settings: 'opsz' 144, 'SOFT' 100, 'WONK' 1;
  font-size: 46px; line-height: 1; color: var(--forest);
}
.prose .ideas h3 {
  margin-top: 0; font-family: var(--display); font-weight: 600; font-variation-settings: 'opsz' 36, 'SOFT' 100;
  font-size: 26px; line-height: 1.15; letter-spacing: -0.01em;
}
.ideas > li > * + * { margin-top: 12px; }
.in-game { padding: 2px 0 2px 16px; border-left: 2px solid var(--leaf); font-size: 16px; color: var(--ink-2); }
.in-game b { display: block; margin-bottom: 2px; font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--forest); }

/* the Evergreen Hunt art, mounted like a print */
.walk-fig { margin: 22px 0 6px; }
.walk-mount { position: relative; background: var(--paper-hi); padding: 10px; border: 1px solid #E4DACA; transform: rotate(-1deg); box-shadow: 0 18px 34px -16px rgba(70, 52, 20, 0.35); }
.walk-mount img { width: 100%; height: auto; }
.walk-mount .date-stamp { font-size: 17px; right: -10px; bottom: -20px; }
.walk-fig figcaption { margin-top: 30px; }

/* the six rarity stamps with their odds */
.roll-strip { display: flex; flex-wrap: wrap; gap: 14px 22px; padding: 20px 22px 18px; background: var(--paper-hi); border: 1px solid #E4DACA; }
.prose .roll-strip { padding-left: 22px; }
.prose .roll-strip li { margin: 0; }
.prose .roll-strip li::before { content: none; }
.roll-strip li { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.roll-strip .pct { font-family: var(--display); font-variation-settings: 'opsz' 36, 'SOFT' 100; font-size: 19px; font-weight: 500; font-variant-numeric: tabular-nums; padding-left: 2px; }
.roll-note { font-size: 14px; color: var(--ink-2); }

/* the tips, on a taped card */
.kit-card {
  position: relative; margin-top: 28px;
  background: var(--paper-hi); border: 1px solid #E4DACA;
  padding: 30px 30px 24px;
  box-shadow: 0 18px 34px -20px rgba(70, 52, 20, 0.35);
}
.kit-card::before {
  content: ''; position: absolute; left: 50%; top: -12px; width: 110px; height: 26px; margin-left: -55px;
  background: rgba(232, 220, 200, 0.9); box-shadow: 0 1px 2px rgba(0,0,0,0.06); transform: rotate(-2deg);
}
.prose .kit-card ul { padding-left: 1.3em; }
.prose .kit-card li + li { margin-top: 0.9em; }
.kit-card strong { font-weight: 600; color: var(--ink); }

.walk-article table { margin-top: 18px; }
.walk-article tbody th { font-weight: 600; white-space: nowrap; }

/* ---------- scavenger hunt ---------- */
.hunt-intro { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 64px; align-items: start; }
.hunt-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 28px; }
.button-ghost { background: var(--paper-hi); border: 1.5px solid var(--ink); box-shadow: 0 3px 0 0 var(--ink); color: var(--ink); }
.button-ghost:hover { background: #fff; }
.button-ghost:active { box-shadow: 0 1px 0 0 var(--ink); }

.find-pile { position: relative; height: 640px; max-width: 480px; }
.find-pile .spec { --w: 212px; position: absolute; }
.find-pile .spec-photo { aspect-ratio: 1 / 1; }
.find-pile .spec-name { font-size: 17px; line-height: 1.2; }
.find-pile .spec-label { padding: 10px 2px 12px; }
.find-pile .spec-match { font-size: 13px; }
.find-a { left: 0; top: 12px; transform: rotate(-3deg); }
.find-b { left: 238px; top: 0; transform: rotate(2.5deg); }
.find-c { left: 112px; top: 330px; transform: rotate(-1.5deg); }
.find-note { position: absolute; left: 346px; top: 470px; width: 140px; font-size: 15px; }

/* the checklist sheet */
.hunt-sheet {
  margin-top: 72px; scroll-margin-top: 24px;
  background: var(--paper-hi); border: 1.5px solid var(--ink);
  box-shadow: 8px 8px 0 0 var(--sand);
  padding: 34px 40px 30px;
}
.sheet-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 8px 32px; padding-bottom: 14px; border-bottom: 1.5px solid var(--ink); }
.sheet-head h2 { font-size: clamp(28px, 2.8vw, 40px); }
.sheet-head p { font-family: var(--display); font-style: italic; font-variation-settings: 'opsz' 14, 'SOFT' 100; font-size: 16px; color: var(--ink-2); }
.sheet-fields { display: grid; grid-template-columns: 2fr 1fr 1.5fr; gap: 24px; margin-top: 20px; }
.sheet-fields span { display: block; padding-bottom: 22px; border-bottom: 1px solid var(--ink-2); font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-2); }
.sheet-groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px 44px; margin-top: 30px; }
.sheet-group { border: 0; margin: 0; padding: 0; min-width: 0; }
.sheet-group legend { padding: 0; width: 100%; font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--forest); }
.sheet-group legend span { color: var(--ink-2); font-weight: 500; letter-spacing: 0.06em; text-transform: none; font-size: 13px; }
.check-list { margin-top: 8px; border-top: 1px solid var(--rule); }
.check-list li { border-bottom: 1px solid var(--rule); }
.check-list label { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; padding: 9px 0; font-size: 16px; line-height: 1.35; cursor: pointer; }
.check-list input {
  -webkit-appearance: none; appearance: none; margin: 0; flex: none;
  width: 20px; height: 20px; border: 1.5px solid var(--ink); border-radius: 4px; background: var(--paper-hi);
  cursor: pointer;
}
.check-list input:checked {
  background: var(--leaf) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%231A1A2E' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round' d='M4.5 12.8l4.6 4.4L19.5 6.8'/%3E%3C/svg%3E") center / 15px 15px no-repeat;
  border-color: var(--leaf-dk);
}
.check-list input:checked + span { text-decoration: line-through; text-decoration-color: var(--leaf-dk); text-decoration-thickness: 2px; color: var(--ink-2); }
.check-list input:focus-visible { outline: 3px solid var(--forest); outline-offset: 2px; }
.check-list em { font-style: normal; color: var(--ink-2); }
.sheet-foot { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 16px 44px; margin-top: 26px; padding-top: 16px; border-top: 1.5px solid var(--ink); font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.sheet-foot strong { color: var(--ink); font-weight: 600; }
.sheet-foot .pair { white-space: nowrap; }
.sheet-foot .stamp { font-size: 9.5px; letter-spacing: 0.12em; padding: 4px 4px 3px 6px; border-width: 1.5px; margin: 0 2px; vertical-align: 1px; }

/* scoring */
.walk-split-even { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 64px; align-items: start; }
.score-card { margin-top: 8px; }
.score td.num { font-family: var(--display); font-variation-settings: 'opsz' 36, 'SOFT' 100; font-size: 20px; font-weight: 500; }
.score td.num + td.num { font-family: var(--display); font-size: 20px; color: var(--ink); }
.score tbody th { width: auto; }
.score th, .score td { padding-top: 13px; padding-bottom: 13px; }
.example { margin-top: 22px; padding: 16px 18px; background: var(--sand-lo); border: 1px solid #E2D6C1; font-size: 15.5px; color: #3E3E4A; }
.example .sum { white-space: nowrap; }
.example b { display: block; margin-bottom: 4px; font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--forest); }

/* ages and seasons as ruled cards */
.vary { margin-top: 36px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.vary > li { border-top: 1.5px solid var(--ink); padding-top: 14px; }
.vary h3 { font-family: var(--display); font-weight: 600; font-variation-settings: 'opsz' 36, 'SOFT' 100; font-size: 23px; line-height: 1.2; padding-bottom: 10px; margin-bottom: 10px; border-bottom: 1px solid var(--rule); }
.vary p { color: var(--ink-2); font-size: 16px; }
.vary p + p { margin-top: 10px; }

/* ---------- Christmas scavenger hunt: a second sheet, riddles, FAQ ---------- */
.hunt-sheet + .hunt-sheet { margin-top: 48px; }
.sheet-groups-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px 36px; }

.riddles { margin-top: 36px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 56px; counter-reset: riddle; border-bottom: 1px solid var(--rule); }
.riddles > li { counter-increment: riddle; position: relative; padding: 20px 0 18px 52px; border-top: 1px solid var(--rule); }
.riddles > li::before {
  content: counter(riddle); position: absolute; left: 0; top: 14px;
  font-family: var(--display); font-style: italic; font-weight: 500; font-variation-settings: 'opsz' 72, 'SOFT' 100;
  font-size: 34px; line-height: 1; color: var(--forest);
}
.riddles > li > p { font-family: var(--display); font-variation-settings: 'opsz' 36, 'SOFT' 100; font-size: 20px; line-height: 1.4; }
.riddles details { margin-top: 10px; font-size: 15.5px; }
.riddles summary { display: inline-block; cursor: pointer; font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--forest); }
.riddles summary::-webkit-details-marker { display: none; }
.riddles summary::after { content: ' \2193'; }
.riddles details[open] summary::after { content: ' \2191'; }
.riddles details p { margin-top: 4px; color: var(--ink-2); }

.walk-faq .faq-head h2 { font-size: clamp(30px, 3vw, 44px); line-height: 1.05; }
.photo-credits { margin-top: 18px; max-width: 52rem; font-size: 13px; line-height: 1.5; color: var(--ink-2); }
.photo-credits a { color: var(--ink-2); text-decoration-color: var(--rule); text-underline-offset: 2px; }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .sheet-groups-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vary { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 40px; }
  .find-pile { height: 640px; }
  .find-pile .spec { --w: 176px; }
  .find-pile .spec-name { font-size: 15px; }
  .find-pile .stamp { font-size: 10px; letter-spacing: 0.1em; padding: 5px 5px 4px 6px; }
  .find-b { left: 190px; }
  .find-c { left: 92px; top: 322px; }
  .find-note { left: 92px; top: 600px; width: 260px; }
}
@media (max-width: 980px) {
  .riddles { grid-template-columns: 1fr; }
  .walk-sec + .walk-sec { margin-top: 72px; }
  .walk-split, .walk-split-even, .hunt-intro { grid-template-columns: 1fr; gap: 36px; }
  .walk-rules { grid-template-columns: 1fr; gap: 32px; }
  .walk-layout > .walk-toc, .walk-layout > article { grid-column: 1; grid-row: auto; }
  .toc-ideas { columns: 2; column-gap: 24px; }
  .toc-ideas li { break-inside: avoid; }
  .find-pile { height: 640px; }
  .find-pile .spec { --w: 212px; }
  .find-pile .spec-name { font-size: 17px; }
  .find-pile .stamp { font-size: 11px; letter-spacing: 0.16em; padding: 6px 7px 5px 9px; }
  .find-b { left: 238px; }
  .find-c { left: 112px; top: 330px; }
  .find-note { left: 346px; top: 470px; width: 140px; }
  .sheet-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .walk-sec + .walk-sec { margin-top: 60px; }
  .walk-tiles { gap: 24px; }
  .walk-tiles .tile-body { padding: 18px 18px 22px; }
  .quick-walks > div { grid-template-columns: 1fr; gap: 4px; }
  .walk-rules .step-n { font-size: 48px; }
  .toc-ideas { columns: 1; }
  .walk-intro { font-size: 17px; }
  .prose .ideas > li { padding-left: 46px; }
  .ideas > li::before { font-size: 38px; top: 22px; }
  .prose .ideas h3 { font-size: 23px; }
  .walk-mount .date-stamp { font-size: 13px; right: -4px; bottom: -16px; }
  .roll-strip { gap: 14px 16px; padding: 16px; }
  .prose .roll-strip { padding-left: 16px; }
  .kit-card { padding: 26px 18px 20px; }
  .walk-article table { font-size: 14px; }
  .walk-article th, .walk-article td { padding: 9px 8px; }
  .walk-article tbody th { white-space: normal; }

  .find-pile { height: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: start; }
  .find-pile .spec { --w: auto; position: relative; left: auto; top: auto; padding: 7px 7px 0; }
  .find-pile .spec-name { font-size: 15px; }
  .find-pile .spec-label { padding: 8px 1px 10px; column-gap: 6px; }
  .find-pile .spec-no { font-size: 10px; letter-spacing: 0.04em; }
  .find-pile .stamp { font-size: 10px; letter-spacing: 0.1em; padding: 5px 5px 4px 6px; }
  .find-pile .spec-match { font-size: 12px; }
  .find-a { transform: rotate(-2deg); }
  .find-b { transform: rotate(2.5deg); top: 18px; }
  .find-c { display: none; }
  .find-note { position: static; grid-column: 1 / -1; width: auto; margin-top: 14px; font-size: 14px; }

  .hunt-sheet { padding: 24px 18px 22px; margin-left: -4px; margin-right: -4px; box-shadow: 5px 5px 0 0 var(--sand); }
  .sheet-fields { grid-template-columns: 1fr 1fr; gap: 16px 18px; }
  .sheet-fields span:first-child { grid-column: 1 / -1; }
  .sheet-groups, .sheet-groups-4 { grid-template-columns: 1fr; gap: 26px; }
  .riddles > li { padding-left: 40px; }
  .riddles > li::before { font-size: 28px; }
  .riddles > li > p { font-size: 18px; }
  .sheet-foot { grid-template-columns: 1fr; }
  .score th, .score td { padding: 11px 10px; }
  .score .stamp { font-size: 10px; letter-spacing: 0.12em; padding: 5px 5px 4px 7px; }
  .score td.num, .score td.num + td.num { font-size: 17px; }
  .vary { grid-template-columns: 1fr; gap: 28px; }
}

/* ---------- print: the scavenger hunt prints as the checklist sheet alone ---------- */
@media print {
  @page { margin: 0.45in; }
  body.print-sheet { background: #fff; font-size: 11pt; }
  .print-sheet .skip, .print-sheet .site-head, .print-sheet .site-foot,
  .print-sheet .page-head, .print-sheet .page-body .wrap > :not(.hunt-sheet) { display: none !important; }
  .print-sheet .page-body { padding: 0; }
  .print-sheet .wrap { max-width: none; padding: 0; }
  .print-sheet .hunt-sheet { margin: 0; padding: 0; border: 0; box-shadow: none; background: #fff; }
  .print-sheet .sheet-head h2 { font-size: 26pt; }
  .print-sheet .sheet-fields { grid-template-columns: 2fr 1fr 1.5fr; }
  .print-sheet .sheet-fields span { padding-bottom: 26px; border-bottom-color: #000; }
  .print-sheet .sheet-groups { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 28px; margin-top: 20px; }
  .print-sheet .sheet-group { break-inside: avoid; }
  .print-sheet .hunt-sheet ~ .hunt-sheet { break-before: page; }
  .print-sheet .sheet-groups-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .print-sheet .check-list label { padding: 8px 0; font-size: 10.5pt; }
  .print-sheet .check-list input { -webkit-print-color-adjust: exact; print-color-adjust: exact; background: #fff; }
  .print-sheet .check-list input:checked + span { text-decoration: none; color: var(--ink); }
  .print-sheet .sheet-foot { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); font-size: 9.5pt; color: #222; }
  .print-sheet .sheet-foot .pair { white-space: nowrap; }
.sheet-foot .stamp { -webkit-mask-image: none; mask-image: none; }
}
