/* Shared supporting pages: studio notes and site policies (plus a small phone-menu script). */
@font-face {
  font-family: 'Archivo';
  src: url('/fonts/archivo-latin-variable.woff2') format('woff2');
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: 'Archivo Black';
  src: url('/fonts/archivo-black-latin.woff2') format('woff2');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
:root {
  --cream: #f6f0e5;
  --paper: #fffaf1;
  --ink: #101010;
  --ink-soft: #4a463f;
  --orange: #ff4b24;
  --moss: #496d3c;
  --river-paper: #edf2e7;
  --quiet-rule: rgb(73 109 60 / 26%);
  --studio-font: 'Archivo', Arial, sans-serif;
  --display: 'Archivo Black', 'Arial Black', Arial, sans-serif;
  --pad: clamp(22px, 3.4vw, 48px);
}
* { box-sizing: border-box; }
html { background: var(--cream); color: var(--ink); -webkit-text-size-adjust: 100%; }
body.info-page { margin: 0; min-width: 280px; font: 400 16px/1.65 var(--studio-font); }
a { color: var(--ink); text-underline-offset: 4px; text-decoration-thickness: 1px; }
a:hover { color: var(--moss); }
a:focus-visible { outline: 3px solid var(--ink); outline-offset: 5px; }
img { display: block; max-width: 100%; height: auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 10; top: 12px; left: 12px; padding: 12px 18px; background: var(--ink); color: var(--cream); transform: translateY(-170%); }
.skip-link:focus { transform: none; color: var(--cream); }
.info-header, .info-footer { width: min(calc(1440px - 2 * var(--pad)), calc(100% - 2 * var(--pad))); margin-inline: auto; }
/* The same header as the homepage and the puzzle pages: column, logo sizes,
   centred navigation, and the phone menu (info-nav.js). */
.info-header { display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: calc(56px + 26px); padding-top: 26px; }
.info-logo { flex: 0 0 auto; display: inline-flex; align-items: center; min-height: 44px; }
.info-logo img { width: clamp(165px, 16vw, 220px); height: auto; }
.info-header__aside { min-width: 184px; }
.info-menu-toggle { display: none; }
.info-header .info-nav { margin-inline: auto; justify-content: center; gap: 4px clamp(20px, 2.5vw, 36px); }
.info-nav, .info-links { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 26px; }
.info-nav a, .info-links a { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; font-weight: 500; text-decoration: none; }
.info-nav a:hover, .info-links a:hover { text-decoration: underline; }
.info-nav a[aria-current='page'], .info-links a[aria-current='page'] { color: var(--moss); text-decoration: underline; }
.info-main { width: min(760px, calc(100% - 80px)); margin: 64px auto 80px; }
.info-main--wide { width: min(1040px, calc(100% - 80px)); }
.info-intro { margin-bottom: 38px; }
.eyebrow { margin: 0 0 14px; color: var(--moss); font-size: 13px; font-weight: 500; }
h1 { margin: 0 0 20px; font: 400 clamp(36px, 5.2vw, 64px)/1.08 var(--display); letter-spacing: -.045em; text-wrap: balance; }
.info-meta { margin: 0 0 22px; color: var(--ink-soft); font-size: 13px; }
.info-lead { margin: 0; max-width: 65ch; font-size: 18px; line-height: 1.65; color: var(--ink-soft); }
.info-prose { color: var(--ink-soft); }
.info-prose > section { margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--quiet-rule); }
.info-prose h2 { margin: 0 0 12px; color: var(--ink); font-size: 21px; line-height: 1.35; font-weight: 600; letter-spacing: -.025em; }
.info-prose h3 { margin: 24px 0 10px; color: var(--ink); font-size: 17px; line-height: 1.4; }
.info-prose p { margin: 0 0 14px; max-width: 76ch; }
.info-prose p:last-child { margin-bottom: 0; }
.info-prose ul, .info-prose ol { margin: 12px 0 0; padding-left: 23px; }
.info-prose li { margin-block: 8px; padding-left: 3px; }
.info-prose a { overflow-wrap: anywhere; }
.info-prose address { font-style: normal; }
.notice { margin: 28px 0; padding: 20px 24px; background: var(--river-paper); border: 1px solid var(--quiet-rule); color: var(--ink-soft); }
.notice p { margin: 0 0 12px; }
.notice p:last-child { margin-bottom: 0; }
.notice strong { color: var(--ink); font-weight: 600; }
/* Privacy "In short": four labelled answers above the full notice, which stays unchanged below. */
.info-summary { margin: 0 0 8px; padding: 18px 24px 0; }
.info-summary h2 { margin: 0 0 4px; color: var(--ink); font-size: 17px; line-height: 1.35; font-weight: 600; letter-spacing: -.02em; }
.info-summary dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; margin: 0; }
.info-summary dl > div { padding: 12px 0 14px; border-top: 1px solid var(--quiet-rule); }
.info-summary dt { color: var(--ink); font-weight: 600; }
.info-summary dd { margin: 2px 0 0; font-size: 15px; line-height: 1.55; }
.notice .info-summary__note { margin: 0; padding: 10px 0 14px; border-top: 1px solid var(--quiet-rule); font-size: 13px; }
/* Terms: two short lists. The tick and cross are decorative; the h3 headings carry the meaning. */
.info-split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 32px; }
.info-prose .info-split h3 { margin: 4px 0 6px; font-size: 15px; }
.info-prose .info-checks { margin: 0; padding: 0; list-style: none; }
.info-prose .info-checks li { margin: 0; padding: 9px 0 9px 28px; border-top: 1px solid var(--quiet-rule); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23496d3c' stroke-width='1.6' stroke-linecap='square'%3E%3Cpath d='M5 12.5l4.2 4.2L19 7'/%3E%3C/svg%3E") no-repeat 0 13px / 18px 18px; }
.info-prose .info-checks--dont li { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234a463f' stroke-width='1.6' stroke-linecap='square'%3E%3Cpath d='M6.5 6.5l11 11M17.5 6.5l-11 11'/%3E%3C/svg%3E"); }
/* Devlog: plain facts in labelled rows (.info-facts--compact, below; not chips) and a quiet next-step list (not links). */
/* Each item leads with a moss dot; the list is shifted left under its clipped dd, so a
   dot that starts a line is hidden and wrapped lines stay flush. */
.info-prose .info-inline { display: flex; flex-wrap: wrap; margin: 0 0 0 -26px; padding: 0; list-style: none; }
.info-prose .info-inline li { margin: 0; padding: 0; }
.info-inline li::before { content: ''; display: inline-block; width: 4px; height: 4px; margin: 0 11px; background: var(--moss); vertical-align: middle; }
.info-prose .info-list { padding-left: 20px; list-style: square; }
.info-list li::marker { color: var(--moss); }
.info-prose .info-list + p { margin-top: 14px; }
.info-actions { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: center; margin-top: 24px; }
.info-button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 11px 18px; border: 1px solid var(--ink); border-radius: 2px; background: transparent; color: var(--ink); font-size: 14px; font-weight: 500; line-height: 1.4; text-decoration: none; }
.info-button:hover { background: var(--river-paper); color: var(--ink); }
.info-button--primary { background: var(--orange); border-color: var(--orange); }
.info-button svg { width: 14px; height: 14px; margin-left: 10px; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: square; flex-shrink: 0; }
.info-button > span[aria-hidden='true'] { margin-left: 8px; }
.info-button--primary:hover { background: #e9421e; border-color: #e9421e; }
.figure-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-block: 28px; }
.figure-grid figure, .info-figure { min-width: 0; margin: 0; }
.figure-grid img, .info-figure img { width: 100%; background: var(--paper); border: 1px solid var(--quiet-rule); }
.figure-grid figcaption, .info-figure figcaption, .info-caption { margin: 0; padding-top: 10px; font-size: 13px; line-height: 1.6; color: var(--ink-soft); }
.info-divider { border: 0; border-top: 1px solid var(--quiet-rule); margin-block: 32px; }
.info-facts { margin: 20px 0; }
.info-facts > div { display: grid; grid-template-columns: minmax(140px, .65fr) minmax(0, 1.5fr); gap: 12px 28px; padding-block: 14px; border-top: 1px solid var(--quiet-rule); }
.info-facts dt { color: var(--ink); font-weight: 600; }
.info-facts dd { margin: 0; overflow-wrap: anywhere; }
.info-facts--compact > div { grid-template-columns: 150px minmax(0, 1fr); }
.info-facts--compact dd { overflow: hidden; }
@media (max-width: 899px) {
  .info-prose .info-inline { display: block; margin-left: 0; }
  .info-inline li::before { content: none; }
}
.info-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 28px; padding-block: 20px 28px; border-top: 1px solid var(--quiet-rule); color: var(--ink-soft); font-size: 13px; }
.info-footer p { margin: 0; }
.info-error { min-height: 48vh; display: flex; flex-direction: column; justify-content: center; }
.info-error .info-intro { margin-bottom: 0; }
/* Site 404: three homepage sprites on one baseline at the homepage's desktop scale
   (three quarters of their pixels). Decorative and static; the hen stands in the
   rocks' front grass. */
.info-vignette { position: relative; width: 212px; height: 82px; margin-bottom: 18px; }
.info-vignette img { position: absolute; bottom: 0; max-width: none; image-rendering: pixelated; }
.info-vignette__rocks { left: 0; width: 120px; }
.info-vignette__fern { left: 116px; width: 96px; }
.info-vignette__hen { left: 82px; width: 36px; }
/* Wide screens are often 1x displays, where a 3/4 scale breaks the pixel grid: draw the sprites at their own size. */
@media (min-width: 640px) {
  .info-vignette { width: 283px; height: 109px; }
  .info-vignette__rocks { width: 160px; }
  .info-vignette__fern { left: 155px; width: 128px; }
  .info-vignette__hen { left: 109px; width: 48px; }
}
@media (min-width: 720px) and (max-width: 1099.98px) and (min-height: 500.02px), (min-width: 720px) and (max-width: 1099.98px) and (orientation: portrait) {
  .info-header { flex-wrap: wrap; gap: 8px 20px; }
  .info-logo img { width: 160px; }
  .info-header .info-nav { order: 3; width: 100%; justify-content: flex-start; gap: 4px 28px; margin: 0; padding-top: 8px; border-top: 1px solid var(--quiet-rule); }
  .info-header__aside { display: none; }
}
@media (max-width: 719.98px), (max-width: 1099.98px) and (max-height: 500px) and (orientation: landscape) {
  .info-header { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0 16px; min-height: calc(52px + 22px); padding-top: 22px; }
  .info-logo img { width: clamp(162px, 47vw, 192px); }
  .info-header__aside { display: none; }
  .info-menu-toggle { grid-column: 2; grid-row: 1; display: grid; place-items: center; width: 44px; height: 44px; border: 0; padding: 8px; background: transparent; color: var(--ink); cursor: pointer; }
  .info-menu-toggle[hidden] { display: none; }
  .info-menu-toggle svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.7; }
  .info-menu-toggle:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
  .info-header .info-nav { grid-column: 1 / -1; flex-direction: column; align-items: stretch; gap: 0; margin: 12px 0 0; padding: 4px 0; border-top: 1px solid rgb(16 16 16 / 22%); }
  .info-header .info-nav a { min-height: 50px; font-size: 16px; border-bottom: 1px solid rgb(73 109 60 / 18%); }
  .info-header .info-nav a:last-child { border-bottom: 0; }
  /* Without the script the links stay visible as the list above. */
  .info-header.has-menu:not([data-menu-open]) .info-nav { display: none; }
}
.menu-toggle__close { display: none; }
[aria-expanded='true'] > svg .menu-toggle__open { display: none; }
[aria-expanded='true'] > svg .menu-toggle__close { display: inline; }
@media (max-width: 639px) {
  .info-footer, .info-main, .info-main--wide { width: calc(100% - 2 * var(--pad)); }
  .info-links { column-gap: 22px; }
  .info-links a { font-size: 13px; }
  .info-main { margin-block: 38px 52px; }
  .info-intro { margin-bottom: 28px; }
  .info-lead { font-size: 17px; }
  .info-prose > section { margin-top: 24px; padding-top: 22px; }
  .notice { padding: 18px; }
  .info-summary { padding: 14px 18px 0; }
  .info-summary dl, .info-split { grid-template-columns: minmax(0, 1fr); }
  .info-summary dl > div { padding: 10px 0 11px; font-size: 15px; line-height: 1.55; }
  .info-summary dt { display: inline; margin-right: 6px; }
  .info-summary dd { display: inline; margin: 0; }
  .info-split { gap: 18px; }
  .figure-grid { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .info-facts > div { grid-template-columns: minmax(0, 1fr); gap: 3px; }
  .info-footer { align-items: flex-start; flex-direction: column; gap: 6px; }
}
/* Narrow phones: stacked actions share one width instead of ragged lengths. */
@media (max-width: 479px) {
  .info-actions { flex-direction: column; align-items: stretch; }
}
@media (max-width: 359.98px) {
  :root { --pad: 18px; }
  .info-logo img { width: 158px; }
}
@media print {
  html { background: white; }
  .info-header, .info-footer, .info-actions, .info-vignette, .skip-link { display: none; }
  .info-main, .info-main--wide { width: 100%; margin: 0; }
  h1 { font-size: 32px; }
  .info-prose > section, figure { break-inside: avoid; }
}
