/* ADVNTR — one stylesheet. Tokens first, then base, layout, components, pages. See docs/design/design-system.md. */

@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(/assets/fonts/montserrat-latin-wght-normal.woff2) format("woff2-variations"); }
@font-face { font-family: "Source Serif 4"; font-style: normal; font-weight: 200 900; font-display: swap; src: url(/assets/fonts/source-serif-4-latin-wght-normal.woff2) format("woff2-variations"); }
@font-face { font-family: "Source Serif 4"; font-style: italic; font-weight: 200 900; font-display: swap; src: url(/assets/fonts/source-serif-4-latin-wght-italic.woff2) format("woff2-variations"); }

:root {
  --ink: #18151c; --ink-2: #3a3842; --muted: #5f5c69;
  --bg: #fff; --bg-2: #f3f2f4; --line: #e2e0e5; --line-2: #c9c5d0;
  --dark: #18151c; --dark-2: #23222a; --dark-text: #f5f4f6; --dark-muted: #b7b3bf; --dark-line: rgba(255, 255, 255, .14);
  --accent: #f04a22; --accent-ink: #c1330f; --accent-deep: #9e2a0c; --accent-soft: #fde9e3; --accent-hi: #ff7a57;
  --display: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --body: "Source Serif 4", Georgia, "Times New Roman", serif;
  --t-1: .8rem; --t0: .9rem; --t1: 1.125rem; --t2: 1.25rem; --t3: 1.563rem; --t4: 1.953rem; --t5: 2.441rem;
  --wrap: 75rem; --measure: 42rem; --main: 46rem; --rail: 17rem;
  --gutter: clamp(1rem, 4vw, 2rem);
  --r: 6px; --r-lg: 10px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --z-nav: 20; --z-skip: 30;
  --contours: url(/assets/img/contours.svg);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 var(--t1)/1.6 var(--body); text-rendering: optimizeLegibility; }
img, svg, video, iframe { max-width: 100%; }
img { height: auto; display: block; }
svg { fill: currentColor; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 800; letter-spacing: -.02em; line-height: 1.12; margin: 0; text-wrap: balance; }
p { margin: 0; }
a { color: inherit; text-decoration-thickness: 2px; text-underline-offset: .15em; text-decoration-color: var(--accent); }
a:hover { color: var(--accent-ink); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
ul[class], ol[class], nav ul, nav ol { list-style: none; margin: 0; padding: 0; }
button { font: inherit; }
time { white-space: nowrap; }
main { display: block; }
main:focus { outline: none; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* White text below the 18.66px-bold large-text threshold sits on --accent-ink (5.6:1), never --accent (3.7:1). */
.skip { position: absolute; left: var(--gutter); top: -4rem; z-index: var(--z-skip); background: var(--accent-ink); color: #fff; font: 700 var(--t0) var(--display); padding: .6rem 1rem; border-radius: 0 0 var(--r) var(--r); text-decoration: none; }
.skip:focus { top: 0; color: #fff; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: calc(var(--measure) + 2 * var(--gutter)); }
.grid { display: grid; gap: 2.25rem 1.5rem; }
.grid--3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr)); }
.section-title { font-size: var(--t3); margin: 0 0 1.25rem; }
.section-title a { text-decoration: none; }
.section-title a:hover { color: var(--accent-ink); }
.rail { padding-block: 2.5rem; }
.rail--tint { background: var(--bg-2); box-shadow: 0 0 0 100vmax var(--bg-2); clip-path: inset(0 -100vmax); padding-block: 3rem; margin-block: 1.5rem; }
.rail__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: .5rem 1.5rem; margin-bottom: 1.5rem; }
.rail__head .section-title { margin: 0; }
.rail__blurb { color: var(--muted); font-style: italic; flex: 1 1 14rem; }
.more { font: 700 var(--t0) var(--display); text-decoration: none; color: var(--accent-ink); display: inline-flex; align-items: center; gap: .35rem; margin-left: auto; }
.more svg { transition: transform .3s var(--ease); }
.more:hover svg { transform: translateX(3px); }
.kicker { display: inline-block; font: 700 .78rem/1.2 var(--display); letter-spacing: .04em; text-transform: uppercase; color: var(--accent-ink); text-decoration: none; }
.kicker--lg { font-size: .9rem; }
.empty { color: var(--muted); font-style: italic; padding: 3rem 0; }

/* ---------- Masthead ---------- */
.masthead { background: var(--dark) var(--contours) center / 900px auto; color: var(--dark-text); --dot: var(--accent); position: relative; z-index: var(--z-nav); }
.masthead__row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.25rem; }
.brand { display: inline-flex; align-items: center; gap: .8rem; color: #fff; text-decoration: none; padding-block: .75rem; }
.brand:hover { color: #fff; }
.brand__mark { width: 40px; height: 23px; }
.brand__word { width: 120px; height: 18px; }
.nav { display: flex; align-items: center; gap: .25rem; }
.nav__list { display: flex; gap: .25rem; }
.nav__list a { display: block; padding: .6rem .8rem; font: 700 .82rem/1 var(--display); letter-spacing: .06em; text-transform: uppercase; text-decoration: none; color: var(--dark-text); border-radius: var(--r); }
.nav__list a:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.nav__list a[aria-current] { box-shadow: inset 0 -3px 0 var(--accent); border-radius: var(--r) var(--r) 0 0; }
.nav__search { display: inline-grid; place-items: center; width: 2.6rem; height: 2.6rem; color: var(--dark-text); border-radius: var(--r); }
.nav__search:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.nav__toggle { display: none; background: none; border: 1px solid var(--dark-line); color: var(--dark-text); font: 700 .8rem/1 var(--display); letter-spacing: .06em; text-transform: uppercase; padding: .6rem .9rem; border-radius: var(--r); cursor: pointer; }
@media (max-width: 52em) {
  .nav__toggle { display: inline-block; }
  .js .nav__list { display: none; }
  .nav__list { position: absolute; left: 0; right: 0; top: 100%; background: var(--dark-2); padding: .5rem var(--gutter) 1rem; border-top: 1px solid var(--dark-line); flex-direction: column; gap: 0; }
  .nav[data-open] .nav__list { display: flex; }
  .nav__list a { padding: .85rem .5rem; font-size: .95rem; border-bottom: 1px solid var(--dark-line); border-radius: 0; }
  .nav__list a[aria-current] { box-shadow: none; color: var(--accent-hi); }
}

/* ---------- Cards ---------- */
.card { display: grid; gap: .8rem; align-content: start; }
.card__media { display: block; overflow: hidden; border-radius: var(--r); background: var(--bg-2); }
.card__media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card__media img { transform: scale(1.03); }
.card__title { font-size: var(--t2); font-weight: 700; line-height: 1.22; }
.card__title a { text-decoration: none; }
.card__title a:hover { color: var(--accent-ink); text-decoration: underline; }
.card__meta { display: flex; flex-wrap: wrap; gap: .3rem .6rem; align-items: center; font: 500 var(--t-1) var(--display); color: var(--muted); }
.card__meta > * + *::before { content: "·"; margin-right: .6rem; color: var(--line-2); }
.card__meta .score-chip + *::before { content: none; }
.card__body { display: grid; gap: .45rem; }
.card__standfirst { font-size: var(--t1); color: var(--ink-2); line-height: 1.5; }
.score-chip { display: inline-grid; place-items: center; min-width: 2.1rem; height: 1.45rem; padding-inline: .35rem; background: var(--accent-ink); color: #fff; font: 800 .78rem var(--display); border-radius: 999px; }
.card--lead { gap: 1.25rem 2.5rem; }
.card--lead .card__title { font-size: clamp(var(--t3), 1.2rem + 2vw, var(--t5)); font-weight: 800; letter-spacing: -.025em; line-height: 1.08; }
.card--lead .card__body { gap: .8rem; align-content: center; }
@media (min-width: 56em) {
  .card--lead { grid-template-columns: 7fr 5fr; align-items: center; }
}
.card--row { grid-template-columns: 5.5rem 1fr; gap: .8rem; align-items: start; }
.card--row .card__media img { aspect-ratio: 1; }
.card--row .card__title { font-size: .95rem; line-height: 1.3; }
.card--row .card__body { gap: .3rem; }
.card--row .kicker { font-size: .68rem; }
.card--row .card__meta > *:not(time) { display: none; }
.card--row .card__meta > time::before { content: none; margin: 0; }

/* ---------- Home ---------- */
.home-lead { padding-block: 2.5rem 3rem; }
.t-home .section-title, .archive .section-title, .related .section-title { position: relative; padding-top: 1rem; }
.t-home .section-title::before, .related .section-title::before { content: ""; position: absolute; top: 0; left: 0; width: 3rem; height: 4px; background: var(--accent); }
.t-home main > .wrap { padding-block: 1.5rem; }

/* ---------- Hubs and archives ---------- */
.hub { position: relative; background: var(--dark) var(--contours) center / 900px auto; color: #fff; min-height: 22rem; display: grid; align-items: end; overflow: hidden; isolation: isolate; }
.hub__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; z-index: -1; }
.hub::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(24, 21, 28, .92) 0%, rgba(24, 21, 28, .35) 55%, rgba(24, 21, 28, .1) 100%); z-index: -1; }
.hub__text { padding-block: 3rem 2.5rem; max-width: var(--wrap); }
.hub__title { font-size: clamp(var(--t4), 1.5rem + 3vw, 3.6rem); letter-spacing: -.03em; }
.hub__standfirst { max-width: 38rem; font-size: var(--t2); line-height: 1.45; margin-top: .75rem; color: var(--dark-text); }
.hub__cats { padding-block: 1.5rem .5rem; }
.hub + .wrap:not(.hub__cats) { padding-top: 2.5rem; }
.hub__note { padding-block: 2.5rem 3.5rem; }
.hub__note p { color: var(--ink-2); }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.chips a { display: inline-block; padding: .35rem .8rem; border: 1px solid var(--line-2); border-radius: 999px; font: 600 var(--t-1) var(--display); text-decoration: none; }
.chips a:hover { border-color: var(--accent); color: var(--accent-ink); }
.chips a span { color: var(--muted); font-weight: 500; margin-left: .25rem; }
.chips--lg a { font-size: var(--t0); padding: .5rem 1rem; }
.archive__header { padding-block: 2.5rem 2rem; }
.archive__title { font-size: clamp(var(--t4), 1.5rem + 2.5vw, 3.2rem); letter-spacing: -.03em; margin-top: .25rem; }
.archive__lede { max-width: var(--measure); font-size: var(--t2); color: var(--ink-2); margin-top: .75rem; }
.archive__count { font: 500 var(--t0) var(--display); color: var(--muted); margin-top: .75rem; }
.archive > .wrap:last-child { padding-bottom: 3rem; }
.crumbs { font: 500 var(--t-1) var(--display); color: var(--muted); margin-bottom: 1rem; }
.crumbs ol { display: flex; flex-wrap: wrap; }
.crumbs li + li::before { content: "/"; margin-inline: .5rem; color: var(--line-2); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

/* ---------- Pager ---------- */
.pager { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 3rem; padding-top: 1.25rem; border-top: 1px solid var(--line); font: 700 var(--t0) var(--display); }
.pager a { text-decoration: none; color: var(--accent-ink); }
.pager [aria-disabled] { color: var(--line-2); }
.pager__status { color: var(--muted); font-weight: 500; }

/* ---------- Article ---------- */
.post__header { padding-block: 2.25rem 1.5rem; }
.post__header > * { max-width: var(--main); }
@media (min-width: 64em) { .post__header { max-width: calc(var(--main) + var(--rail) + 4rem + 2 * var(--gutter)); } }
.post__title { font-size: clamp(1.85rem, 1.2rem + 2.8vw, 3.3rem); letter-spacing: -.028em; line-height: 1.06; margin-top: .6rem; max-width: min(100%, 24ch); }
.post__standfirst { font-size: clamp(var(--t1), 1rem + .5vw, 1.35rem); line-height: 1.45; color: var(--ink-2); max-width: var(--measure); margin-top: 1rem; }
.byline { display: flex; flex-wrap: wrap; gap: .25rem .75rem; margin-top: 1.25rem; font: 500 var(--t0) var(--display); color: var(--muted); }
.byline > * + *::before { content: "·"; margin-right: .75rem; color: var(--line-2); }
.byline__author a { color: var(--ink); font-weight: 700; text-decoration: none; }
.byline__author a:hover { color: var(--accent-ink); text-decoration: underline; }
.hero { margin: 0 auto 2rem; }
.hero img { width: 100%; border-radius: var(--r-lg); background: var(--bg-2); }
.hero figcaption, .prose figcaption { font: 500 var(--t-1) var(--display); color: var(--muted); margin-top: .6rem; }
.post__layout { display: grid; gap: 3rem; padding-bottom: 3rem; }
.post__main { min-width: 0; max-width: var(--main); }
.post__rail { min-width: 0; }
@media (min-width: 64em) {
  .post__layout { grid-template-columns: minmax(0, var(--main)) var(--rail); justify-content: center; column-gap: 4rem; }
  .post__rail { position: sticky; top: 1.5rem; align-self: start; }
}
.rail__title { font: 800 var(--t0) var(--display); letter-spacing: .06em; text-transform: uppercase; padding-bottom: .6rem; border-bottom: 2px solid var(--ink); margin-bottom: 1rem; }
.post__rail .card--row + .card--row { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.disclosure { font: 500 var(--t-1)/1.5 var(--display); color: var(--ink-2); background: var(--bg-2); padding: .75rem 1rem; border-radius: var(--r); margin-bottom: 2rem; max-width: var(--measure); }

/* Prose: text at the measure, figures a little wider. */
.prose > * { max-width: var(--measure); }
.prose > figure, .prose > .gallery, .prose > .embed, .prose > .ad, .prose > table { max-width: none; }
.prose p, .prose ul, .prose ol, .prose blockquote, .prose table, .prose pre { margin-bottom: 1.35em; }
.prose p { text-wrap: pretty; }
/* Lede: a legacy first paragraph the old theme set entirely in bold (see the ledeParagraph filter). It takes the place of the drop cap, which would otherwise land on whatever follows it (often a credit line). */
.prose > .lede { font-size: clamp(var(--t1), 1rem + .5vw, 1.35rem); line-height: 1.45; color: var(--ink); font-weight: 400; margin-bottom: 1.5em; }
.prose > p:first-child:not(.lede)::first-letter { font-family: var(--display); font-weight: 800; font-size: 3.3em; line-height: .8; float: left; margin: .12em .1em 0 0; color: var(--accent); }
.prose h2 { font-size: var(--t3); margin: 2.2em 0 .7em; }
.prose h3 { font-size: var(--t2); margin: 1.8em 0 .6em; }
.prose h2 + h3 { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .35em; }
.prose li::marker { color: var(--accent); font-weight: 700; }
.prose strong { font-weight: 700; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }
.prose img { border-radius: var(--r); background: var(--bg-2); }
.prose figure { margin: 2.25rem 0; }
.prose figure img { width: 100%; }
.prose blockquote { border: 0; padding: .25rem 0 .25rem 0; margin-block: 2rem; font: italic 500 var(--t3)/1.3 var(--body); letter-spacing: -.01em; color: var(--ink); border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); padding-block: 1.25rem; }
.prose blockquote p { margin: 0; }
.prose blockquote p + p { margin-top: .75em; }
.prose table { border-collapse: collapse; width: 100%; font-size: var(--t0); display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: .6rem .75rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font: 700 var(--t-1) var(--display); letter-spacing: .03em; text-transform: uppercase; color: var(--muted); }
.prose tr:first-child th:empty { border: 0; }
.prose code { font-size: .9em; background: var(--bg-2); padding: .1em .35em; border-radius: 4px; }
.gallery { display: grid; gap: .75rem; grid-template-columns: repeat(2, 1fr); margin: 2.25rem 0; }
.gallery[data-columns="3"], .gallery[data-columns="4"] { grid-template-columns: repeat(3, 1fr); }
.gallery figure { margin: 0; }
.gallery img { aspect-ratio: 1; object-fit: cover; width: 100%; }
.gallery figcaption { font-size: .72rem; }
.embed { margin: 2.25rem 0; aspect-ratio: 16 / 9; background: var(--bg-2); border-radius: var(--r); overflow: hidden; }
.embed--komoot, .embed--rwgps { aspect-ratio: 4 / 3; }
.embed iframe { width: 100%; height: 100%; border: 0; display: block; }
.tags { display: flex; flex-wrap: wrap; gap: .5rem; margin: 2.5rem 0 0; }
.tags a { display: inline-block; padding: .3rem .75rem; border: 1px solid var(--line-2); border-radius: 999px; font: 600 var(--t-1) var(--display); text-decoration: none; color: var(--ink-2); }
.tags a:hover { border-color: var(--accent); color: var(--accent-ink); }

/* Review box */
.review { background: var(--dark-2) var(--contours) right -6rem top -4rem / 900px auto no-repeat; color: var(--dark-text); border-radius: var(--r-lg); padding: clamp(1.25rem, 3vw, 2.25rem); margin: 3rem 0 0; --dot: var(--accent); }
.review__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1.5rem; }
.review__label { font: 700 .78rem var(--display); letter-spacing: .08em; text-transform: uppercase; color: var(--accent-hi); }
.review__product { font-size: var(--t3); color: #fff; margin-top: .35rem; }
.review__price { font: 600 var(--t1) var(--display); color: var(--dark-muted); margin-top: .5rem; }
.score { position: relative; flex: 0 0 auto; width: 120px; height: 120px; display: grid; place-items: center; }
.score svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.score__track { fill: none; stroke: var(--dark-line); stroke-width: 8; }
.score__arc { fill: none; stroke: var(--accent); stroke-width: 8; stroke-linecap: round; }
.score__value { font: 900 2.1rem/1 var(--display); letter-spacing: -.03em; color: #fff; }
.score__of { position: absolute; bottom: 24px; font: 600 .7rem var(--display); color: var(--dark-muted); }
.review__verdict { font: italic 500 var(--t2)/1.4 var(--body); margin-top: 1.5rem; color: #fff; }
.review__cols { display: grid; gap: 1.5rem; margin-top: 1.5rem; }
@media (min-width: 40em) { .review__cols { grid-template-columns: 1fr 1fr; } }
.review h3 { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--dark-muted); margin-bottom: .6rem; }
.review__pros li, .review__cons li { padding-left: 1.4rem; position: relative; margin-bottom: .4rem; font-size: 1rem; line-height: 1.45; }
.review__pros li::before, .review__cons li::before { position: absolute; left: 0; font: 800 1rem/1.4 var(--display); }
.review__pros li::before { content: "+"; color: var(--accent-hi); }
.review__cons li::before { content: "–"; color: var(--dark-muted); }
.review__links { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.btn { display: inline-flex; align-items: center; gap: .5rem; background: var(--accent-ink); color: #fff; font: 700 var(--t0) var(--display); padding: .75rem 1.1rem; border-radius: var(--r); text-decoration: none; border: 0; cursor: pointer; transition: background .2s var(--ease), transform .2s var(--ease); }
.btn:hover { background: var(--accent-deep); color: #fff; transform: translateY(-1px); }
.btn svg { transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(3px); }

/* Author, related, comments */
.author-box { display: flex; gap: 1.25rem; margin-top: 2.5rem; padding: 1.5rem; background: var(--bg-2); border-radius: var(--r-lg); font-size: 1rem; }
.author-box__avatar { border-radius: 50%; flex: 0 0 auto; }
.author-box__name { font: 700 var(--t1) var(--display); }
.author-box__name a { text-decoration: none; }
.author-box__name a:hover { color: var(--accent-ink); text-decoration: underline; }
.author-box__bio { color: var(--ink-2); margin-top: .4rem; }
.author-box__links { display: flex; gap: 1rem; margin-top: .6rem; font: 600 var(--t-1) var(--display); }
.related { padding-block: 2.5rem 3rem; border-top: 1px solid var(--line); }
.comments-wrap { padding-bottom: 3rem; }
.comments { max-width: var(--measure); border-top: 1px solid var(--line); padding-top: 1.5rem; }
.comments summary { font: 700 var(--t1) var(--display); cursor: pointer; padding: .5rem 0; list-style: none; display: flex; align-items: center; gap: .6rem; }
.comments summary::-webkit-details-marker { display: none; }
.comments summary::before { content: ""; width: .55rem; height: .55rem; border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); transition: transform .2s var(--ease); flex: 0 0 auto; }
.comments[open] summary::before { transform: rotate(45deg); }
.comments__note { font: 500 var(--t-1) var(--display); color: var(--muted); margin: .5rem 0 1.5rem; }
.comment { padding: 1rem 0; border-top: 1px solid var(--line); font-size: 1rem; }
.comment--reply { margin-left: 2rem; padding-left: 1rem; border-left: 1px solid var(--line-2); }
.comment__meta { font: 500 var(--t-1) var(--display); color: var(--muted); margin-bottom: .4rem; }
.comment__meta strong { color: var(--ink); }
.comment__body p { margin-bottom: .6em; }

/* ---------- Ads (ADR-0004) ---------- */
.ad { position: relative; margin: 2.5rem 0; display: grid; place-items: center; background: var(--bg-2); border-radius: var(--r); padding: 1.5rem 1rem 1rem; }
.ad__label { position: absolute; top: .5rem; left: .75rem; font: 600 .62rem var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.ad__meta { font: 500 var(--t-1) var(--display); color: var(--muted); }
.ad ins { width: 100%; }
.ad--placeholder { border: 2px dashed var(--line-2); background: repeating-linear-gradient(-45deg, transparent 0 12px, rgba(0, 0, 0, .025) 12px 24px); }
.ad--desktop { display: none; }
.ad--sidebar { margin: 0 0 1.5rem; }
@media (min-width: 64em) { .ad--desktop { display: grid; } }

/* ---------- Pages, search, events, 404 ---------- */
.page { padding-block: 2.5rem 4rem; }
.page__title { font-size: clamp(var(--t4), 1.5rem + 2.5vw, 3rem); letter-spacing: -.03em; margin-bottom: 1.5rem; }
.page .prose { margin-top: 1.5rem; }
.search { padding-block: 2.5rem 4rem; }
.search__ui { margin-top: 1.5rem; --pagefind-ui-primary: var(--accent-ink); --pagefind-ui-text: var(--ink); --pagefind-ui-border: var(--line-2); --pagefind-ui-border-width: 1px; --pagefind-ui-border-radius: 6px; --pagefind-ui-font: var(--display); --pagefind-ui-scale: .9; }
.search-form { display: flex; gap: .5rem; margin-top: 1.5rem; max-width: 30rem; }
.search-form input { flex: 1; min-width: 0; padding: .7rem .9rem; border: 1px solid var(--line-2); border-radius: var(--r); font: 500 1rem var(--display); }
.notfound { padding-block: 3rem 2rem; }
.events { margin-top: 1rem; border-top: 1px solid var(--line); }
.events__item { display: grid; grid-template-columns: 9rem 1fr; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.events__date { font: 700 var(--t0) var(--display); color: var(--muted); white-space: normal; }
.events__title { font-size: var(--t2); font-weight: 700; }
.events__title a { text-decoration: none; }
.events__title a:hover { color: var(--accent-ink); text-decoration: underline; }
.events__venue { color: var(--muted); font-size: 1rem; }
@media (max-width: 40em) { .events__item { grid-template-columns: 1fr; gap: .25rem; } }
.event-meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); gap: 1rem; margin: 1.5rem 0 0; padding: 1rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.event-meta div { margin: 0; }
.event-meta dt { font: 700 .72rem var(--display); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.event-meta dd { margin: .2rem 0 0; font-size: 1rem; }

/* ---------- Footer ---------- */
.footer { background: var(--dark) var(--contours) center / 900px auto; color: var(--dark-text); margin-top: 2rem; --dot: var(--accent); }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--accent-hi); text-decoration: underline; }
.footer__grid { display: grid; gap: 2.5rem 2rem; padding-block: 3.5rem 2.5rem; }
@media (min-width: 52em) { .footer__grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.footer__about p { font-size: 1rem; color: var(--dark-muted); max-width: 30rem; margin-top: 1rem; }
.footer__mark { color: #fff; }
.footer__sponsor a { font: 700 var(--t0) var(--display); color: var(--dark-text); }
.footer__col h2 { font: 800 .78rem var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--dark-muted); margin-bottom: 1rem; }
.footer__col li { margin-bottom: .55rem; font: 500 .95rem var(--display); }
.footer__insta { display: inline-flex; align-items: center; gap: .5rem; font: 700 var(--t1) var(--display); color: #fff; margin-bottom: 1rem; }
.footer__social { display: flex; gap: .5rem; }
.footer__social a { display: inline-grid; place-items: center; width: 2.4rem; height: 2.4rem; border: 1px solid var(--dark-line); border-radius: 50%; color: var(--dark-text); }
.footer__social a:hover { border-color: var(--accent); color: var(--accent-hi); }
.footer__base { border-top: 1px solid var(--dark-line); padding-block: 1.25rem; font: 500 var(--t-1) var(--display); color: var(--dark-muted); }
.footer__base a { color: var(--dark-text); }

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .card:hover .card__media img { transform: none; }
}
@media print {
  .masthead, .footer, .post__rail, .ad, .related, .comments-wrap, .skip { display: none !important; }
  body { font-size: 11pt; }
}
