/* Denver Buzz. Palette taken from the logo: midnight #040328 and signal orange #FA824B. */
@font-face { font-family: "Archivo"; src: url("/assets/fonts/archivo-var.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("/assets/fonts/newsreader-var.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("/assets/fonts/newsreader-italic-var.woff2") format("woff2"); font-weight: 200 800; font-style: italic; font-display: swap; }

:root {
  --navy: #040328;
  --navy-2: #12114a;
  --navy-3: #23225e;
  --orange: #FA824B;
  --orange-ink: #B04A17;      /* orange for text on light grounds, 4.8:1 on cream */
  --orange-soft: #FDE3D5;
  --cream: #F6F1E7;
  --paper: #FFFCF6;
  --line: #D9D1C2;
  --ink: #040328;
  --muted: #47465f;
  --on-dark: #F6F1E7;
  --on-dark-muted: #C3C1D6;
  --display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --wrap: 1240px;
  --gutter: clamp(1.1rem, 4vw, 2.5rem);
  --radius: 4px;
  --dock-h: 0px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font-family: var(--serif); font-size: clamp(1.06rem, .2vw + 1rem, 1.2rem); line-height: 1.62;
  font-optical-sizing: auto; text-rendering: optimizeLegibility;
  padding-bottom: calc(var(--dock-h) + env(safe-area-inset-bottom));
  top: 0 !important; /* Google Translate pushes body down; keep it put */
}
img { max-width: 100%; height: auto; display: block; }
picture { display: block; }
a { color: var(--orange-ink); text-decoration-thickness: 1.5px; text-underline-offset: .18em; }
a:hover { color: var(--navy); }
h1, h2, h3, h4 { font-family: var(--display); font-stretch: 78%; line-height: 1.04; margin: 0 0 .5em; text-wrap: balance; letter-spacing: -.005em; }
h1 { font-weight: 850; font-size: clamp(2.6rem, 6.4vw, 5.4rem); text-transform: uppercase; letter-spacing: -.01em; line-height: .95; }
h2 { font-weight: 800; font-size: clamp(1.9rem, 3.4vw, 2.9rem); }
h3 { font-weight: 750; font-size: clamp(1.25rem, 1.6vw, 1.5rem); font-stretch: 85%; }
p { margin: 0 0 1.1em; text-wrap: pretty; }
ul, ol { padding-left: 1.2em; }
strong { font-weight: 650; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 2px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--navy); color: var(--on-dark); padding: .7rem 1rem; font-family: var(--display); }
.skip:focus { top: 1rem; }
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
main { display: block; outline: none; }

.eyebrow { display: inline-flex; align-items: center; gap: .6em; font-family: var(--display); font-stretch: 100%; font-weight: 700; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--orange-ink); margin-bottom: 1rem; }
.eyebrow::before { content: ""; width: 1.8em; height: 2px; background: currentColor; }
.on-dark .eyebrow, .eyebrow--light { color: var(--orange); }
.lede { font-size: clamp(1.15rem, .6vw + 1rem, 1.4rem); line-height: 1.5; color: var(--muted); max-width: 40ch; }

.arcs { fill: none; stroke: var(--orange); stroke-width: 6; stroke-linecap: butt; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 48px; padding: .75em 1.35em; font-family: var(--display); font-stretch: 90%; font-weight: 750; font-size: 1rem; letter-spacing: .02em; text-decoration: none; border: 2px solid var(--navy); border-radius: var(--radius); background: var(--navy); color: var(--on-dark); cursor: pointer; transition: transform .2s var(--ease), background .2s, color .2s; }
.btn:hover { background: var(--orange); border-color: var(--orange); color: var(--navy); transform: translateY(-1px); }
.btn--tip { background: var(--orange); border-color: var(--orange); color: var(--navy); }
.btn--tip:hover { background: var(--navy); border-color: var(--navy); color: var(--on-dark); }
.btn--line { background: transparent; color: var(--navy); }
.btn--line:hover { background: var(--navy); color: var(--on-dark); border-color: var(--navy); }
.on-dark .btn--line { color: var(--on-dark); border-color: var(--on-dark); }
.on-dark .btn--line:hover { background: var(--on-dark); color: var(--navy); }
.btn svg { width: 1.1em; height: 1.1em; fill: none; stroke: currentColor; stroke-width: 2; }

/* ---------- Masthead ---------- */
.masthead { position: sticky; top: 0; z-index: 50; background: rgba(246, 241, 231, .96); border-bottom: 1px solid var(--line); transition: box-shadow .25s; }
@supports (backdrop-filter: blur(8px)) { .masthead { background: rgba(246, 241, 231, .86); backdrop-filter: saturate(1.2) blur(10px); } }
.masthead.is-scrolled { box-shadow: 0 6px 24px -18px rgba(4, 3, 40, .6); }
.masthead__bar { width: min(100% - 2 * var(--gutter), 1400px); margin-inline: auto; display: flex; align-items: center; gap: 1.5rem; min-height: 76px; }
.masthead__logo { flex: none; display: block; padding: .4rem 0; }
.masthead__logo img { width: clamp(168px, 18vw, 230px); height: auto; }
.masthead__tools { margin-left: auto; display: flex; align-items: center; gap: .6rem; }
.nav { margin-left: clamp(.5rem, 3vw, 3rem); }
.nav__list { list-style: none; margin: 0; padding: 0; display: flex; gap: .25rem; }
.nav__link { display: inline-flex; align-items: center; gap: .4em; min-height: 44px; padding: 0 .85rem; font-family: var(--display); font-stretch: 88%; font-weight: 650; font-size: 1rem; color: var(--navy); text-decoration: none; background: none; border: 0; cursor: pointer; position: relative; }
.nav__link::after { content: ""; position: absolute; left: .85rem; right: .85rem; bottom: 6px; height: 3px; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after, .nav__link[data-current]::after, .nav__trigger[aria-expanded="true"]::after { transform: scaleX(1); }
.nav__link svg { width: 12px; height: 8px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform .2s; }
.nav__trigger[aria-expanded="true"] svg { transform: rotate(180deg); }

.mega { position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-top: 3px solid var(--orange); border-bottom: 1px solid var(--line); box-shadow: 0 30px 60px -40px rgba(4, 3, 40, .5); opacity: 0; transform: translateY(-6px); transition: opacity .2s, transform .2s var(--ease); }
.mega.is-open { opacity: 1; transform: none; }
.mega__inner { width: min(100% - 2 * var(--gutter), 1240px); margin-inline: auto; display: grid; grid-template-columns: 1fr 340px; gap: 2.5rem; padding: 2rem 0 2.2rem; }
.mega__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 2rem; }
.mega__list a { display: grid; grid-template-columns: 2.6rem 1fr; gap: .6rem; padding: .9rem 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); min-height: 100%; }
.mega__list a:hover strong, .mega__list a:focus-visible strong { color: var(--orange-ink); }
.mega__num { font-family: var(--display); font-weight: 800; font-stretch: 70%; font-size: 1.5rem; color: var(--orange-ink); line-height: 1; }
.mega__text strong { display: block; font-family: var(--display); font-stretch: 85%; font-size: 1.1rem; font-weight: 750; transition: color .15s; }
.mega__text span { display: block; font-size: .95rem; line-height: 1.4; color: var(--muted); }
.mega__figure { margin: 0; }
.mega__figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); transition: opacity .2s; }
.mega__figure figcaption { font-size: .9rem; color: var(--muted); margin-top: .6rem; font-style: italic; }
.nav__item--mega { position: static; }
.masthead { position: sticky; }

/* Translate control */
.translate { position: relative; }
.translate__btn { display: inline-flex; align-items: center; gap: .45em; min-height: 44px; padding: 0 .8rem; border: 1.5px solid var(--line); border-radius: var(--radius); background: transparent; color: var(--navy); font-family: var(--display); font-stretch: 88%; font-weight: 650; font-size: .95rem; cursor: pointer; }
.translate__btn:hover, .translate__btn[aria-expanded="true"] { border-color: var(--navy); }
.translate__btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.translate__panel { position: absolute; right: 0; top: calc(100% + 10px); width: 260px; background: var(--paper); border: 1px solid var(--line); border-top: 3px solid var(--orange); border-radius: var(--radius); padding: 1rem; box-shadow: 0 20px 40px -24px rgba(4, 3, 40, .5); z-index: 60; }
.translate__note { font-size: .85rem; color: var(--muted); line-height: 1.4; margin-bottom: .7rem; }
.translate__reset { margin-top: .7rem; background: none; border: 0; padding: .3rem 0; font-family: var(--display); font-weight: 650; font-size: .9rem; color: var(--orange-ink); text-decoration: underline; cursor: pointer; }
#google_translate_element .goog-te-gadget { font-family: var(--display) !important; font-size: 0 !important; color: transparent !important; }
#google_translate_element .goog-te-gadget > span, #google_translate_element .goog-logo-link, #google_translate_element .goog-te-gadget img { display: none !important; }
#google_translate_element .goog-te-combo { width: 100%; min-height: 44px; margin: 0 !important; padding: 0 2.2rem 0 .8rem; font-family: var(--display); font-size: 1rem; font-weight: 600; color: var(--navy); background: var(--cream) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%23040328' stroke-width='2'/%3E%3C/svg%3E") no-repeat right .8rem center / 12px 8px; border: 1.5px solid var(--navy); border-radius: var(--radius); appearance: none; -webkit-appearance: none; cursor: pointer; }
#google_translate_element .goog-te-combo:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
.goog-te-banner-frame, iframe.skiptranslate, .VIpgJd-ZVi9od-ORHb-OEVmcd, .VIpgJd-ZVi9od-aZ2wEe-wOHMyf, #goog-gt-tt, .goog-te-balloon-frame { display: none !important; visibility: hidden !important; }
.goog-text-highlight { background: none !important; box-shadow: none !important; }
body > .skiptranslate { display: none !important; }
font[style] { background: transparent !important; }

/* Menu toggle + drawer (mobile) */
.menu-toggle { display: none; width: 48px; height: 48px; border: 1.5px solid var(--navy); border-radius: var(--radius); background: transparent; cursor: pointer; position: relative; }
.menu-toggle__bars, .menu-toggle__bars::before, .menu-toggle__bars::after { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--navy); transition: transform .25s var(--ease), opacity .2s; }
.menu-toggle__bars { top: 50%; }
.menu-toggle__bars::before { content: ""; left: 0; right: 0; top: -7px; }
.menu-toggle__bars::after { content: ""; left: 0; right: 6px; top: 7px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::before { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::after { right: 0; transform: translateY(-7px) rotate(-45deg); }
.drawer { position: fixed; inset: 76px 0 0; z-index: 45; background: var(--navy); color: var(--on-dark); overflow-y: auto; padding: 1.5rem var(--gutter) calc(6rem + env(safe-area-inset-bottom)); }
.drawer.is-open { animation: drawerIn .3s var(--ease); }
@keyframes drawerIn { from { opacity: 0; transform: translateY(-10px); } }
.drawer__label { font-family: var(--display); font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--orange); }
.drawer ul { list-style: none; margin: 0; padding: 0; }
.drawer__guides a { display: flex; gap: 1rem; align-items: baseline; padding: .95rem 0; border-bottom: 1px solid var(--navy-3); color: var(--on-dark); text-decoration: none; font-family: var(--display); font-stretch: 80%; font-weight: 750; font-size: 1.45rem; line-height: 1.15; }
.drawer__guides span { font-size: 1rem; color: var(--orange); min-width: 1.6rem; }
.drawer__guides a[aria-current="page"] { color: var(--orange); }
.drawer__more { margin-top: 1.5rem !important; display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.drawer__more a { display: flex; align-items: center; min-height: 52px; padding: 0 1rem; border: 1px solid var(--navy-3); border-radius: var(--radius); color: var(--on-dark); text-decoration: none; font-family: var(--display); font-weight: 650; }
.drawer__more li:last-child { grid-column: 1 / -1; }
.drawer__more li:last-child a { background: var(--orange); color: var(--navy); border-color: var(--orange); justify-content: center; }

/* ---------- Home: cover ---------- */
.cover { position: relative; background: var(--navy); color: var(--on-dark); overflow: hidden; isolation: isolate; }
.cover__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); min-height: min(86vh, 760px); }
.cover__copy { padding: clamp(3rem, 7vw, 6rem) clamp(1.5rem, 4vw, 4rem) clamp(3rem, 6vw, 5rem) max(var(--gutter), calc((100vw - var(--wrap)) / 2)); display: flex; flex-direction: column; justify-content: center; position: relative; z-index: 2; }
.cover h1 { color: var(--on-dark); font-size: clamp(3rem, 6.6vw, 6.4rem); margin-bottom: .4em; }
.cover h1 em { font-style: normal; color: var(--orange); }
.cover .lede { color: var(--on-dark-muted); max-width: 34ch; }
.cover__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.4rem; }
.cover__photo { position: relative; min-height: 340px; }
.cover__photo picture, .cover__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cover__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--navy) 0, rgba(4, 3, 40, 0) 22%); }
.cover__arcs { position: absolute; z-index: 3; width: clamp(130px, 14vw, 200px); left: calc(45.45% - clamp(65px, 7vw, 100px)); bottom: 0; transform: translateY(18%); }
.cover__arcs .arcs { width: 100%; height: auto; stroke-width: 7; }
.cover__caption { position: absolute; right: 1rem; bottom: .8rem; z-index: 2; font-size: .78rem; color: rgba(246, 241, 231, .8); font-style: italic; }
.cover__ribbon { border-top: 1px solid var(--navy-3); position: relative; z-index: 2; background: var(--navy); }
.cover__ribbon ul { list-style: none; margin: 0 auto; padding: 0; width: min(100% - 2 * var(--gutter), var(--wrap)); display: grid; grid-template-columns: repeat(4, 1fr); }
.cover__ribbon li { padding: 1rem 1.2rem 1.1rem 0; font-family: var(--display); font-stretch: 85%; font-size: .98rem; color: var(--on-dark-muted); line-height: 1.3; }
.cover__ribbon li + li { padding-left: 1.2rem; border-left: 1px solid var(--navy-3); }
.cover__ribbon b { display: block; color: var(--orange); font-weight: 800; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: .2rem; }

/* Home: night picker */
.picker { padding: clamp(4rem, 8vw, 7rem) 0; }
.picker__head { text-align: center; max-width: 760px; margin: 0 auto 2.5rem; }
.picker__head .lede { margin-inline: auto; }
.picker__panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); border: 2px solid var(--navy); border-radius: var(--radius); background: var(--paper); }
.picker__q { padding: clamp(1.4rem, 3vw, 2.4rem); border-right: 2px solid var(--navy); }
.picker__q fieldset { border: 0; margin: 0 0 1.6rem; padding: 0; }
.picker__q fieldset:last-child { margin-bottom: 0; }
.picker__q legend { font-family: var(--display); font-stretch: 85%; font-weight: 750; font-size: 1.15rem; margin-bottom: .7rem; padding: 0; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 1rem; border: 1.5px solid var(--navy); border-radius: var(--radius); font-family: var(--display); font-stretch: 90%; font-weight: 600; font-size: .98rem; background: var(--paper); transition: background .15s, color .15s; }
.chip input:checked + span { background: var(--navy); color: var(--on-dark); }
.chip input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 2px; }
.chip:hover span { background: var(--orange-soft); }
.chip:hover input:checked + span { background: var(--navy-2); }
.picker__out { padding: clamp(1.4rem, 3vw, 2.4rem); background: var(--navy); color: var(--on-dark); display: flex; flex-direction: column; }
.picker__out h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); color: var(--on-dark); font-stretch: 78%; margin-bottom: .4em; }
.picker__out ul { list-style: none; padding: 0; margin: 0 0 1.4rem; }
.picker__out li { padding: .55rem 0 .55rem 1.8rem; border-bottom: 1px solid var(--navy-3); position: relative; color: var(--on-dark-muted); line-height: 1.45; }
.picker__out li::before { content: ""; position: absolute; left: 0; top: 1.05rem; width: 14px; height: 7px; border: 2.5px solid var(--orange); border-top: 0; border-radius: 0 0 14px 14px; }
.picker__out .btn { margin-top: auto; align-self: flex-start; }
.picker__out [aria-live] { flex: 1; display: flex; flex-direction: column; }

/* Home: guide index (table of contents) */
.index { background: var(--paper); border-block: 1px solid var(--line); padding: clamp(4rem, 8vw, 7rem) 0; }
.index__head { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: end; margin-bottom: 2.5rem; }
.index__head h2 { margin: 0; }
.index__head p { margin: 0; color: var(--muted); max-width: 46ch; justify-self: end; }
.toc { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--navy); }
.toc li { border-bottom: 1px solid var(--line); }
.toc a { display: grid; grid-template-columns: 5.5rem minmax(0, 1.1fr) minmax(0, 1.3fr) 150px; gap: 1.5rem; align-items: center; padding: 1.4rem 0; text-decoration: none; color: var(--ink); }
.toc__num { font-family: var(--display); font-weight: 850; font-stretch: 65%; font-size: 3.4rem; line-height: 1; color: var(--orange-ink); }
.toc__title { font-family: var(--display); font-stretch: 80%; font-weight: 800; font-size: clamp(1.4rem, 2.2vw, 1.9rem); line-height: 1.05; }
.toc__blurb { color: var(--muted); font-size: 1rem; line-height: 1.45; }
.toc__thumb { overflow: hidden; border-radius: var(--radius); aspect-ratio: 3 / 2; }
.toc__thumb img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform .5s var(--ease), filter .3s; filter: grayscale(.35); }
.toc a:hover .toc__thumb img, .toc a:focus-visible .toc__thumb img { transform: scale(1.08); filter: none; }
.toc a:hover .toc__title { color: var(--orange-ink); }

/* Home: year strip */
.year { background: var(--navy); color: var(--on-dark); padding: clamp(4rem, 8vw, 7rem) 0; position: relative; overflow: hidden; }
.year__head { text-align: center; max-width: 720px; margin: 0 auto 3rem; }
.year__head h2 { color: var(--on-dark); }
.year__head p { color: var(--on-dark-muted); }
.year__track { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 2px solid var(--orange); }
.year__season { padding: 1.6rem 1.5rem 0 0; position: relative; }
.year__season + .year__season { padding-left: 1.5rem; border-left: 1px solid var(--navy-3); }
.year__season::before { content: ""; position: absolute; top: -9px; left: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--orange); }
.year__season + .year__season::before { left: -8px; }
.year__season h3 { color: var(--on-dark); font-size: 1.6rem; margin-bottom: .2em; }
.year__season small { display: block; font-family: var(--display); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--orange); margin-bottom: .8rem; }
.year__season p { color: var(--on-dark-muted); font-size: 1rem; margin: 0; }
.year__cta { text-align: center; margin-top: 3rem; }

/* Home: lexicon teaser */
.lexicon { padding: clamp(4rem, 8vw, 7rem) 0; }
.lexicon__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.lexicon__words { list-style: none; margin: 0; padding: 0; }
.lexicon__words li { display: grid; grid-template-columns: minmax(9rem, 13rem) 1fr; gap: 1.2rem; align-items: baseline; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.lexicon__words li:first-child { border-top: 2px solid var(--navy); }
.lexicon__words dfn { font-style: normal; font-family: var(--display); font-stretch: 72%; font-weight: 850; font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1; text-transform: uppercase; }
.lexicon__words span { color: var(--muted); font-size: 1.02rem; line-height: 1.45; }
.lexicon__aside { position: sticky; top: 110px; }
.lexicon__aside picture img { border-radius: var(--radius); aspect-ratio: 4 / 5; object-fit: cover; }
.lexicon__aside figcaption { font-size: .85rem; color: var(--muted); font-style: italic; margin-top: .5rem; }
.lexicon__aside figure { margin: 0 0 1.5rem; }

/* Tip band */
.tipband { position: relative; background: var(--orange); color: var(--navy); overflow: hidden; }
.tipband__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 440px; }
.tipband__copy { padding: clamp(3rem, 6vw, 5rem) clamp(1.5rem, 4vw, 4rem) clamp(3rem, 6vw, 5rem) max(var(--gutter), calc((100vw - var(--wrap)) / 2)); align-self: center; }
.tipband h2 { font-size: clamp(2.2rem, 4.6vw, 4rem); text-transform: uppercase; font-stretch: 70%; font-weight: 850; line-height: .95; }
.tipband p { max-width: 44ch; font-size: 1.12rem; }
.tipband .eyebrow { color: var(--navy); }
.tipband .btn:hover { background: var(--paper); border-color: var(--paper); color: var(--navy); }
.tipband__photo { position: relative; }
.tipband__photo picture, .tipband__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---------- Guide pages ---------- */
.pagehead { background: var(--navy); color: var(--on-dark); position: relative; overflow: hidden; }
.pagehead__grid { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 5vw, 4rem); align-items: end; padding: clamp(2.4rem, 6vw, 4.5rem) 0 0; }
.pagehead__copy { padding-bottom: clamp(2.4rem, 5vw, 4rem); }
.pagehead h1 { color: var(--on-dark); font-size: clamp(2.5rem, 5.6vw, 4.8rem); }
.pagehead .lede { color: var(--on-dark-muted); max-width: 46ch; }
.crumbs { font-family: var(--display); font-size: .88rem; margin-bottom: 1.6rem; color: var(--on-dark-muted); }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.crumbs li + li::before { content: "/"; margin-right: .4rem; color: var(--orange); }
.crumbs a { color: var(--on-dark); text-decoration: none; }
.crumbs a:hover { color: var(--orange); }
.pagehead__photo { margin: 0; align-self: stretch; position: relative; }
.pagehead__photo img { width: 100%; height: 100%; min-height: 280px; max-height: 440px; object-fit: cover; border-radius: var(--radius) var(--radius) 0 0; }
.pagehead__photo figcaption { position: absolute; left: .8rem; bottom: .6rem; font-size: .76rem; font-style: italic; color: rgba(246, 241, 231, .85); text-shadow: 0 1px 3px rgba(0, 0, 0, .6); }
.pagehead .arcs { position: absolute; width: 150px; right: max(var(--gutter), calc((100vw - var(--wrap)) / 2 - 40px)); top: 0; opacity: .9; }
.pagehead--plain .pagehead__grid { grid-template-columns: 1fr; padding-bottom: 0; }
.pagehead--plain .pagehead__copy { max-width: 820px; }

.article { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); padding: clamp(3rem, 6vw, 5rem) 0 clamp(4rem, 8vw, 6rem); }
.rail { position: sticky; top: 110px; align-self: start; font-family: var(--display); }
.rail p { font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; color: var(--orange-ink); font-weight: 700; margin-bottom: .6rem; }
.rail ol { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.rail a { display: block; padding: .45rem 0 .45rem 1rem; margin-left: -2px; border-left: 2px solid transparent; color: var(--muted); text-decoration: none; font-size: .95rem; font-stretch: 90%; line-height: 1.3; }
.rail a:hover { color: var(--navy); }
.rail a.is-active { color: var(--navy); border-left-color: var(--orange); font-weight: 700; }
.prose { max-width: 720px; }
.prose--wide { max-width: none; }
.prose h2 { margin-top: 2.6rem; padding-top: 1.2rem; border-top: 2px solid var(--navy); }
.prose > h2:first-child, .prose > section:first-child > h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.8rem; }
.prose ul li, .prose ol li { margin-bottom: .45em; }
.prose ul { list-style: none; padding-left: 0; }
.prose ul > li { position: relative; padding-left: 1.6rem; }
.prose ul > li::before { content: ""; position: absolute; left: 0; top: .72em; width: 12px; height: 6px; border: 2.5px solid var(--orange); border-top: 0; border-radius: 0 0 12px 12px; }
.prose figure { margin: 2rem 0; }
.prose figure img { border-radius: var(--radius); }
.prose figcaption { font-size: .88rem; color: var(--muted); font-style: italic; margin-top: .5rem; }

.callout { margin: 2rem 0; padding: 1.3rem 1.5rem 1.3rem 1.4rem; background: var(--paper); border-left: 5px solid var(--orange); border-radius: 0 var(--radius) var(--radius) 0; }
.callout__label { display: block; font-family: var(--display); font-weight: 800; font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; color: var(--orange-ink); margin-bottom: .4rem; }
.callout p:last-child { margin-bottom: 0; }
.callout--dark { background: var(--navy); color: var(--on-dark); border-left-color: var(--orange); }
.callout--dark .callout__label { color: var(--orange); }
.callout--dark a { color: var(--orange); }

.table-wrap { margin: 2rem 0; overflow-x: auto; border: 2px solid var(--navy); border-radius: var(--radius); background: var(--paper); }
.table-wrap table { width: 100%; border-collapse: collapse; font-size: 1rem; min-width: 560px; }
.table-wrap caption { text-align: left; padding: .9rem 1rem; font-family: var(--display); font-weight: 750; font-stretch: 88%; border-bottom: 1px solid var(--line); }
.table-wrap th, .table-wrap td { padding: .8rem 1rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); line-height: 1.45; }
.table-wrap thead th { font-family: var(--display); font-stretch: 90%; font-size: .92rem; background: var(--navy); color: var(--on-dark); }
.table-wrap tbody th { font-family: var(--display); font-stretch: 90%; font-weight: 750; }
.table-wrap tr:last-child td, .table-wrap tr:last-child th { border-bottom: 0; }

.matrix { margin: 2rem 0; display: grid; gap: 0; border: 2px solid var(--navy); border-radius: var(--radius); overflow: hidden; }
.matrix div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.matrix div + div { border-top: 1px solid var(--line); }
.matrix p { margin: 0; padding: .9rem 1.1rem; font-size: 1rem; line-height: 1.45; }
.matrix p:first-child { background: var(--paper); }
.matrix p:first-child::before { content: "If "; font-family: var(--display); font-weight: 800; color: var(--orange-ink); }
.matrix p:last-child { background: var(--navy); color: var(--on-dark); }
.matrix p:last-child::before { content: "Then "; font-family: var(--display); font-weight: 800; color: var(--orange); }

.bottomline { margin: 2.5rem 0 0; padding: 1.6rem; background: var(--navy); color: var(--on-dark); border-radius: var(--radius); display: grid; grid-template-columns: auto 1fr; gap: 1.2rem; align-items: start; }
.bottomline h2, .bottomline h3 { color: var(--on-dark); margin: 0 0 .4rem; border: 0; padding: 0; font-size: 1.4rem; }
.bottomline p { margin: 0; color: var(--on-dark-muted); }
.bottomline .arcs { width: 64px; margin-top: .3rem; }

.related { border-top: 2px solid var(--navy); margin-top: 3rem; padding-top: 1.4rem; }
.related h2 { border: 0; padding: 0; margin: 0 0 1rem; font-size: 1.5rem; }
.related ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 2rem; }
.related li { padding: 0 !important; }
.related li::before { display: none; }
.related a { display: block; padding: .8rem 0; border-bottom: 1px solid var(--line); text-decoration: none; font-family: var(--display); font-stretch: 88%; font-weight: 700; color: var(--ink); height: 100%; }
.related a span { display: block; font-family: var(--serif); font-weight: 400; font-size: .95rem; color: var(--muted); }
.related a:hover { color: var(--orange-ink); }

/* FAQ */
.faq { border-top: 2px solid var(--navy); margin: 1rem 0 0; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 1rem; align-items: center; padding: 1.05rem 0; font-family: var(--display); font-stretch: 88%; font-weight: 700; font-size: 1.12rem; line-height: 1.3; min-height: 48px; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: ""; flex: none; width: 22px; height: 11px; border: 3px solid var(--orange); border-top: 0; border-radius: 0 0 22px 22px; transition: transform .25s var(--ease); }
.faq__item[open] summary::after { transform: rotate(180deg); }
.faq__a { padding: 0 0 1.1rem; color: var(--muted); }
.faq__a p { margin: 0; }

/* Tool shells */
.tool { margin: 2.4rem 0; border: 2px solid var(--navy); border-radius: var(--radius); background: var(--paper); }
.tool__head { padding: 1.1rem 1.4rem; border-bottom: 2px solid var(--navy); display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .4rem 1rem; }
.tool__head h3 { margin: 0; font-size: 1.35rem; }
.tool__head p { margin: 0; font-size: .92rem; color: var(--muted); }
.tool__body { padding: 1.4rem; }

/* Month explorer */
.months { display: grid; grid-template-columns: repeat(12, 1fr); border-bottom: 2px solid var(--navy); }
.months button { min-height: 52px; border: 0; border-right: 1px solid var(--line); background: var(--paper); font-family: var(--display); font-stretch: 80%; font-weight: 750; font-size: .95rem; color: var(--navy); cursor: pointer; position: relative; padding: 0; }
.months button:last-child { border-right: 0; }
.months button::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--season, var(--line)); }
.months button[aria-selected="true"] { background: var(--navy); color: var(--on-dark); }
.months button:hover:not([aria-selected="true"]) { background: var(--orange-soft); }
.month-panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; }
.month-panel > div { padding: 1.4rem; }
.month-panel > div + div { border-left: 1px solid var(--line); }
.month-panel h4 { font-family: var(--display); font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--orange-ink); margin: 0 0 .5rem; }
.month-panel h3 { font-size: 1.7rem; margin-bottom: .3em; }
.month-panel p { font-size: 1rem; margin-bottom: .8em; }
.month-panel ul { margin: 0; }
.month-panel li { font-size: 1rem; }

/* Mode picker (getting around) */
.mode-q { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
.mode-q fieldset { border: 0; padding: 0; margin: 0; }
.mode-q legend { font-family: var(--display); font-stretch: 88%; font-weight: 750; margin-bottom: .6rem; font-size: 1.02rem; }
.mode-q .chips { flex-direction: column; }
.mode-q .chip span { width: 100%; }
.mode-out { margin-top: 1.4rem; border-top: 2px solid var(--navy); padding-top: 1.2rem; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.mode-card { padding: 1rem 1.1rem; border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--cream); transition: border-color .2s, background .2s, transform .2s var(--ease); }
.mode-card h4 { font-family: var(--display); font-stretch: 85%; font-size: 1.15rem; margin: 0 0 .3rem; display: flex; justify-content: space-between; align-items: baseline; gap: .5rem; }
.mode-card h4 small { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.mode-card p { font-size: .95rem; margin: 0; line-height: 1.45; color: var(--muted); }
.mode-card.is-best { border-color: var(--navy); background: var(--navy); color: var(--on-dark); transform: translateY(-3px); }
.mode-card.is-best p, .mode-card.is-best h4 small { color: var(--on-dark-muted); }
.mode-card.is-best h4 small { color: var(--orange); }
.mode-card.is-weak { opacity: .55; }

/* Free things filter */
.filterbar { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin-bottom: 1.4rem; }
.filterbar__label { font-family: var(--display); font-weight: 700; margin-right: .4rem; }
.filterbar button { min-height: 44px; padding: 0 1rem; border: 1.5px solid var(--navy); border-radius: var(--radius); background: var(--paper); font-family: var(--display); font-stretch: 90%; font-weight: 650; font-size: .96rem; color: var(--navy); cursor: pointer; }
.filterbar button[aria-pressed="true"] { background: var(--navy); color: var(--on-dark); }
.filterbar button:hover:not([aria-pressed="true"]) { background: var(--orange-soft); }
.filterbar__count { margin-left: auto; font-family: var(--display); font-size: .92rem; color: var(--muted); }
.ideas { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--navy); }
.idea { display: grid; grid-template-columns: 9.5rem minmax(0, 1fr) 6.5rem; gap: 1.2rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line); align-items: start; }
.idea[hidden] { display: none; }
.idea__cat { font-family: var(--display); font-weight: 750; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--orange-ink); padding-top: .25rem; }
.idea h3 { font-size: 1.2rem; margin: 0 0 .25rem; }
.idea p { margin: 0; font-size: 1rem; color: var(--muted); line-height: 1.5; }
.idea__cost { justify-self: end; font-family: var(--display); font-weight: 800; font-size: .85rem; padding: .3rem .6rem; border: 1.5px solid var(--navy); border-radius: var(--radius); white-space: nowrap; }
.idea__cost--free { background: var(--orange); border-color: var(--orange); }

/* Glossary */
.gloss-tools { position: sticky; top: 76px; z-index: 5; background: var(--cream); padding: 1rem 0; border-bottom: 2px solid var(--navy); margin-bottom: 1rem; }
.gloss-search { display: flex; gap: .8rem; align-items: center; flex-wrap: wrap; }
.gloss-search label { font-family: var(--display); font-weight: 700; }
.gloss-search input { flex: 1; min-width: 200px; min-height: 48px; padding: 0 1rem; border: 2px solid var(--navy); border-radius: var(--radius); font: inherit; font-size: 1.05rem; background: var(--paper); color: var(--ink); }
.gloss-types { display: flex; gap: .4rem; flex-wrap: wrap; margin-top: .8rem; }
.gloss-types button { min-height: 40px; padding: 0 .9rem; border: 1.5px solid var(--navy); border-radius: var(--radius); background: var(--paper); font-family: var(--display); font-weight: 650; font-size: .92rem; color: var(--navy); cursor: pointer; }
.gloss-types button[aria-pressed="true"] { background: var(--navy); color: var(--on-dark); }
.gloss-status { font-family: var(--display); font-size: .92rem; color: var(--muted); margin: .6rem 0 0; }
.gloss { margin: 0; }
.gloss__entry { display: grid; grid-template-columns: minmax(10rem, 15rem) minmax(0, 1fr); gap: .3rem 2rem; padding: 1.3rem 0; border-bottom: 1px solid var(--line); }
.gloss__entry[hidden] { display: none; }
.gloss dt { font-family: var(--display); font-stretch: 75%; font-weight: 850; font-size: 1.6rem; line-height: 1.05; text-transform: uppercase; }
.gloss dt small { display: block; margin-top: .35rem; font-stretch: 100%; font-size: .72rem; letter-spacing: .14em; font-weight: 700; color: var(--orange-ink); }
.gloss dd { margin: 0; }
.gloss dd p { margin: 0 0 .5em; }
.gloss dd p:last-child { margin: 0; }
.gloss-empty { padding: 2rem 0; font-style: italic; color: var(--muted); }

/* Checklist */
.checklist { list-style: none !important; padding: 0 !important; margin: 1.5rem 0; border: 2px solid var(--navy); border-radius: var(--radius); background: var(--paper); }
.checklist li { padding: 0 !important; margin: 0 !important; border-bottom: 1px solid var(--line); }
.checklist li::before { display: none; }
.checklist li:last-child { border-bottom: 0; }
.checklist label { display: grid; grid-template-columns: 28px 1fr; gap: .8rem; padding: .85rem 1rem; cursor: pointer; line-height: 1.45; font-size: 1rem; }
.checklist input { width: 22px; height: 22px; margin: .1rem 0 0; accent-color: var(--navy); }
.checklist input:checked + span { color: var(--muted); text-decoration: line-through; text-decoration-color: var(--orange); }
.checklist__meter { display: flex; align-items: center; gap: 1rem; padding: .8rem 1rem; background: var(--navy); color: var(--on-dark); font-family: var(--display); font-size: .95rem; border-radius: var(--radius) var(--radius) 0 0; }
.checklist__meter span:first-child { flex: 1; height: 6px; background: var(--navy-3); border-radius: 3px; overflow: hidden; }
.checklist__meter i { display: block; height: 100%; width: 0; background: var(--orange); transition: width .3s var(--ease); }

/* Forms */
.formwrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(2rem, 5vw, 4.5rem); padding: clamp(3rem, 6vw, 5rem) 0 clamp(4rem, 8vw, 6rem); }
.form { background: var(--paper); border: 2px solid var(--navy); border-radius: var(--radius); padding: clamp(1.3rem, 3vw, 2.2rem); }
.form h2 { margin-top: 0; }
.field { margin-bottom: 1.2rem; display: flex; flex-direction: column; }
.field label, .field legend { font-family: var(--display); font-stretch: 90%; font-weight: 700; font-size: 1rem; margin-bottom: .4rem; padding: 0; }
.field .hint { font-size: .9rem; color: var(--muted); margin: -.2rem 0 .45rem; }
.field input[type="text"], .field input[type="email"], .field input[type="url"], .field textarea, .field select { width: 100%; min-height: 50px; padding: .7rem .9rem; border: 1.5px solid var(--navy); border-radius: var(--radius); background: #fff; color: var(--ink); font: inherit; font-size: 1.05rem; }
.field textarea { min-height: 170px; resize: vertical; line-height: 1.5; }
.field input:focus-visible, .field textarea:focus-visible, .field select:focus-visible { outline: 3px solid var(--orange); outline-offset: 1px; }
.field [aria-invalid="true"] { border-color: #A3201A; border-width: 2px; }
.field__error { color: #A3201A; font-family: var(--display); font-weight: 650; font-size: .92rem; margin-top: .35rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
fieldset.field { border: 0; padding: 0; margin: 0 0 1.2rem; }
.kinds { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.kinds label { display: flex; gap: .6rem; align-items: center; min-height: 52px; padding: .5rem .9rem; border: 1.5px solid var(--line); border-radius: var(--radius); background: #fff; cursor: pointer; font-family: var(--serif); font-weight: 400; font-size: 1rem; line-height: 1.3; margin: 0; }
.kinds input { accent-color: var(--navy); width: 18px; height: 18px; flex: none; }
.kinds label:has(input:checked) { border-color: var(--navy); background: var(--orange-soft); }
.consent { display: grid; grid-template-columns: 24px 1fr; gap: .7rem; align-items: start; font-size: .98rem; line-height: 1.45; cursor: pointer; }
.consent input { width: 20px; height: 20px; margin-top: .15rem; accent-color: var(--navy); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-status { padding: 1rem 1.2rem; border-radius: var(--radius); margin-bottom: 1.4rem; line-height: 1.5; }
.form-status--ok { background: var(--navy); color: var(--on-dark); border-left: 6px solid var(--orange); }
.form-status--err { background: #FBE4E1; color: #6E140F; border-left: 6px solid #A3201A; }
.counter { font-family: var(--display); font-size: .85rem; color: var(--muted); text-align: right; margin-top: .3rem; }
.aside-card { border-top: 2px solid var(--navy); padding-top: 1.2rem; margin-bottom: 2rem; }
.aside-card h2 { font-size: 1.5rem; }
.aside-card p, .aside-card li { font-size: 1rem; }
.notice { font-size: .92rem; color: var(--muted); border: 1px dashed var(--line); padding: .9rem 1rem; border-radius: var(--radius); }

/* Legal */
.legal { width: min(100% - 2 * var(--gutter), 780px); margin-inline: auto; padding: clamp(3rem, 6vw, 5rem) 0 clamp(4rem, 8vw, 6rem); }
.legal h2 { font-size: 1.7rem; margin-top: 2.2rem; }
.legal h3 { font-size: 1.2rem; margin-top: 1.4rem; }
.legal .updated { font-family: var(--display); color: var(--muted); font-size: .95rem; }

/* About */
.standards { list-style: none; margin: 2rem 0; padding: 0; counter-reset: s; border-top: 2px solid var(--navy); }
.standards li { counter-increment: s; display: grid; grid-template-columns: 4rem 1fr; gap: 1rem; padding: 1.2rem 0 !important; border-bottom: 1px solid var(--line); }
.standards li::before { content: counter(s, decimal-leading-zero) !important; position: static !important; width: auto !important; height: auto !important; border: 0 !important; font-family: var(--display); font-weight: 850; font-stretch: 65%; font-size: 2.2rem; line-height: 1; color: var(--orange-ink); }
.standards h3 { margin: 0 0 .3rem; }
.standards p { margin: 0; }

/* 404 */
.lost { padding: clamp(4rem, 10vw, 8rem) 0; text-align: center; }
.lost h1 { font-size: clamp(2.6rem, 7vw, 5.5rem); }
.lost .lede { margin: 0 auto 2rem; }
.lost .arcs { width: 140px; margin: 0 auto 2rem; }
.lost ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; }

/* Footer */
.sitefoot { background: var(--navy); color: var(--on-dark-muted); position: relative; padding-top: 4rem; }
.sitefoot__wave { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 120px; }
.sitefoot__wave .arcs { width: 100%; height: auto; }
.sitefoot__grid { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; padding: 1.5rem 0 3rem; }
.sitefoot__brand img { width: 230px; margin-bottom: 1.2rem; }
.sitefoot__brand p { max-width: 38ch; font-size: 1rem; }
.sitefoot h2 { font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--orange); font-stretch: 100%; margin-bottom: 1rem; }
.sitefoot ul { list-style: none; margin: 0; padding: 0; }
.sitefoot__col a { display: inline-block; padding: .35rem 0; color: var(--on-dark); text-decoration: none; font-family: var(--display); font-stretch: 90%; font-size: 1rem; }
.sitefoot a:hover { color: var(--orange); }
.sitefoot__base { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding: 1.3rem 0 1.6rem; border-top: 1px solid var(--navy-3); font-size: .88rem; }
.sitefoot__base p { margin: 0; max-width: 70ch; }
.sitefoot__base ul { display: flex; flex-wrap: wrap; gap: 1.2rem; }
.sitefoot__base a { color: var(--on-dark); font-family: var(--display); text-decoration: none; }

/* Mobile dock */
.dock { display: none; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav { display: none; }
  .menu-toggle { display: block; }
  .toc a { grid-template-columns: 4rem minmax(0, 1fr) 130px; }
  .toc__blurb { grid-column: 2; grid-row: 2; }
  .toc__thumb { grid-column: 3; grid-row: 1 / span 2; }
  .toc__num { grid-row: 1 / span 2; align-self: start; }
}
@media (max-width: 900px) {
  :root { --dock-h: 68px; }
  html { scroll-padding-top: 84px; }
  .masthead__bar { min-height: 64px; gap: .8rem; }
  .drawer { inset: 64px 0 0; }
  .masthead__cta { display: none; }
  .translate__label { display: none; }
  .translate__btn { width: 48px; justify-content: center; padding: 0; }
  .cover__grid { grid-template-columns: 1fr; min-height: 0; }
  .cover__photo { order: -1; min-height: 0; aspect-ratio: 16 / 10; }
  .cover__photo::after { background: linear-gradient(0deg, var(--navy) 0, rgba(4, 3, 40, 0) 35%); }
  .cover__copy { padding: 1.5rem var(--gutter) 3rem; }
  .cover__arcs { left: auto; right: var(--gutter); bottom: auto; top: calc(62.5vw - 30px); transform: none; width: 110px; }
  .cover__caption { top: .6rem; bottom: auto; }
  .cover__ribbon ul { grid-template-columns: 1fr 1fr; }
  .cover__ribbon li:nth-child(3) { border-left: 0; padding-left: 0; }
  .cover__ribbon li:nth-child(n+3) { border-top: 1px solid var(--navy-3); }
  .picker__panel { grid-template-columns: 1fr; }
  .picker__q { border-right: 0; border-bottom: 2px solid var(--navy); }
  .index__head { grid-template-columns: 1fr; gap: 1rem; }
  .index__head p { justify-self: start; }
  .year__track { grid-template-columns: 1fr 1fr; border-top: 0; gap: 0; }
  .year__season { border-top: 2px solid var(--orange); padding: 1.4rem 1rem 1.6rem 0 !important; border-left: 0 !important; }
  .year__season::before { left: 0 !important; }
  .year__season:nth-child(even) { padding-left: 1rem !important; }
  .year__season:nth-child(even)::before { left: 1rem !important; }
  .lexicon__grid { grid-template-columns: 1fr; }
  .lexicon__aside { position: static; display: none; }
  .tipband__grid { grid-template-columns: 1fr; }
  .tipband__photo { min-height: 0; aspect-ratio: 3 / 2; }
  .tipband__copy { padding: 2.5rem var(--gutter) 3rem; }
  .pagehead__grid { grid-template-columns: 1fr; gap: 0; padding-top: 1.6rem; }
  .pagehead__copy { padding-bottom: 1.8rem; }
  .pagehead__photo img { min-height: 0; aspect-ratio: 16 / 10; max-height: none; border-radius: 0; }
  .pagehead__photo { margin-inline: calc(-1 * var(--gutter)); }
  .pagehead .arcs { width: 90px; right: var(--gutter); }
  .article { grid-template-columns: 1fr; padding-top: 2rem; }
  .rail { position: static; border: 1.5px solid var(--line); border-radius: var(--radius); padding: 1rem 1.1rem .6rem; background: var(--paper); }
  .rail ol { columns: 2; column-gap: 1rem; border: 0; }
  .rail a { border: 0; padding: .4rem 0; margin: 0; break-inside: avoid; }
  .formwrap { grid-template-columns: 1fr; }
  .sitefoot__grid { grid-template-columns: 1fr 1fr; }
  .sitefoot__brand { grid-column: 1 / -1; }
  .month-panel { grid-template-columns: 1fr; }
  .month-panel > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .months { grid-template-columns: repeat(6, 1fr); }
  .months button:nth-child(6) { border-right: 0; }
  .months button:nth-child(n+7) { border-top: 1px solid var(--line); }
  .mode-q { grid-template-columns: 1fr; }
  .mode-q .chips { flex-direction: row; }
  .mode-q .chip span { width: auto; }
  .mode-out { grid-template-columns: 1fr; }
  .dock { display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; height: calc(var(--dock-h) + env(safe-area-inset-bottom)); padding: 0 .4rem env(safe-area-inset-bottom); background: var(--navy); border-top: 2px solid var(--orange); }
  .dock__item { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .2rem; color: var(--on-dark-muted); text-decoration: none; font-family: var(--display); font-weight: 650; font-size: .76rem; background: none; border: 0; cursor: pointer; padding: 0; min-height: 48px; }
  .dock__item svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
  .dock__item[aria-current="page"], .dock__item[aria-expanded="true"] { color: var(--orange); }
  .dock__item--primary { color: var(--navy); }
  .dock__item--primary span { background: var(--orange); padding: .1rem .55rem; border-radius: 2px; }
  .dock__item--primary svg { color: var(--orange); }
  .dock__item--primary[aria-current="page"] { color: var(--navy); }
}
@media (max-width: 640px) {
  h1 { font-size: clamp(2.3rem, 11vw, 3.2rem); }
  .cover h1 { font-size: clamp(2.5rem, 12vw, 3.4rem); }
  .masthead__logo img { width: 168px; }
  .toc a { grid-template-columns: 3rem minmax(0, 1fr); gap: .4rem 1rem; padding: 1.2rem 0; }
  .toc__num { font-size: 2.4rem; }
  .toc__thumb { display: none; }
  .toc__blurb { grid-column: 2; }
  .year__track { grid-template-columns: 1fr; }
  .year__season:nth-child(even) { padding-left: 0 !important; }
  .year__season:nth-child(even)::before { left: 0 !important; }
  .lexicon__words li { grid-template-columns: 1fr; gap: .2rem; }
  .idea { grid-template-columns: minmax(0, 1fr) auto; gap: .3rem 1rem; }
  .idea__cat { grid-column: 1 / -1; padding: 0; }
  .idea__cost { grid-row: 2; grid-column: 2; align-self: start; }
  .idea > div { grid-row: 2; grid-column: 1; }
  .gloss__entry { grid-template-columns: 1fr; }
  .gloss dt { font-size: 1.4rem; }
  .gloss-tools { top: 64px; }
  .matrix div { grid-template-columns: 1fr; }
  .related ul { grid-template-columns: 1fr; }
  .field-row, .kinds { grid-template-columns: 1fr; }
  .sitefoot__grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .bottomline { grid-template-columns: 1fr; }
  .rail ol { columns: 1; }
  .filterbar__count { margin-left: 0; width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
@media print {
  .masthead, .dock, .sitefoot, .rail, .drawer { display: none !important; }
  body { background: #fff; }
}

/* Home slogan (kept out of the H1 by design) */
.cover__slogan { font-family: var(--serif); font-style: italic; font-size: clamp(1.3rem, 2vw, 1.75rem); line-height: 1.2; color: var(--on-dark); margin: 0 0 .6rem; }
.cover__slogan em { color: var(--orange); font-style: italic; }
.mega__list { grid-template-columns: 1fr; }
.mega__list a { grid-template-columns: 2.6rem minmax(0, 17rem) minmax(0, 1fr); align-items: baseline; padding: .75rem 0; }
.mega__text { display: contents; }
.mega__text span { align-self: baseline; }
.mega__figure img { aspect-ratio: 3 / 2; }

/* ---------- Hero spacing rule: equal space above and below hero content ---------- */
.cover__copy { padding-block: clamp(56px, 7vw, 104px); }
.pagehead__grid { align-items: center; padding-block: clamp(48px, 6vw, 88px); }
.pagehead__copy { padding-bottom: 0; }
.pagehead__photo { align-self: center; }
.pagehead__photo img { border-radius: var(--radius); height: auto; aspect-ratio: 4 / 3; min-height: 0; max-height: 420px; }
.pagehead--plain .pagehead__grid { padding-block: clamp(48px, 6vw, 88px); }
@media (max-width: 900px) {
  .cover__grid { position: relative; }
  .cover__photo { position: absolute; inset: 0; order: 0; aspect-ratio: auto; z-index: 0; }
  .cover__photo::after { background: rgba(4, 3, 40, .78); }
  .cover__copy { padding: clamp(56px, 14vw, 96px) var(--gutter); }
  .cover__arcs { top: 0; right: var(--gutter); left: auto; bottom: auto; width: 84px; transform: none; opacity: .9; }
  .cover__caption { top: auto; bottom: .5rem; }
  .pagehead__grid { gap: 1.6rem; padding-block: 44px; }
  .pagehead__photo { margin-inline: 0; }
  .pagehead__photo img { aspect-ratio: 16 / 10; border-radius: var(--radius); }
}
.pagehead .lede, .cover .lede { margin-bottom: 0; }
.cover .lede + .cover__actions { margin-top: 1.6rem; }
.pagehead__copy > :last-child, .cover__copy > :last-child { margin-bottom: 0; }
@media (max-width: 900px) { .article, .formwrap { grid-template-columns: minmax(0, 1fr); } }
.lost { padding-block: clamp(56px, 9vw, 120px); }
.lost ul { margin: 0; }
@media (max-width: 900px) { .cover__photo::after { background: rgba(4, 3, 40, .7); } }
@media (max-width: 640px) { .cover__actions .btn { flex: 1 1 100%; } }
@media (max-width: 640px) { .mode-q .chips { display: grid; grid-template-columns: 1fr; } .mode-q .chip span { width: 100%; } }
