/* ============================================================
   Paul Wagner: layout. Replaces the kit's base.css (personal-brand layout on the kit's data engine).
   Signature: the timeline. Dates sit on thin rules instead of section labels; "today" is the only wine-red dot.
   Sections: base · header · type · buttons · intro (home timeline) · next up · bands · doors · books · history ·
   page heads · cruises · talks/stages/clips · bios/quotes · writing · forms · footer · motion.
   ============================================================ */

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--head-h) + 16px); }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 1.1875rem/1.6 var(--text); font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--wine); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--wine-2); text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--wine); outline-offset: 3px; }
main { overflow-x: clip; }
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.narrow { width: min(100% - 2 * var(--gutter), 760px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 14px; font: 600 15px var(--ui); }
.skip:focus { left: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.num { white-space: nowrap; }
section { padding-block: clamp(64px, 9vw, 120px); }

/* ---------- Header (letterhead + compact bar) ---------- */
.pw-head { position: relative; z-index: 20; }
.pw-head .wrap { display: flex; align-items: center; gap: 24px; min-height: var(--head-h); }
.pw-brand { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); line-height: 1.05; margin-right: auto; }
.pw-brand:hover { color: var(--ink); }
.pw-brand b { font: 500 1.5rem/1 var(--display); letter-spacing: -.01em; }
.pw-brand small { font: 500 .78rem/1.3 var(--ui); color: var(--ink-2); margin-top: 4px; }
.site-nav { display: flex; align-items: center; gap: clamp(14px, 1.8vw, 26px); }
.site-nav a { font: 500 .95rem/1 var(--ui); color: var(--ink); text-decoration: none; padding: 8px 0; border-bottom: 1px solid transparent; }
.site-nav a:hover { border-bottom-color: var(--ink); }
.site-nav a[aria-current="page"] { border-bottom-color: var(--wine); color: var(--wine); }
.site-nav .pw-contact { border: 1px solid var(--wine); color: var(--wine); padding: 10px 16px; border-radius: 999px; }
.site-nav .pw-contact:hover { background: var(--wine); color: var(--paper); }
.burger { display: none; align-items: center; gap: 10px; background: none; border: 1px solid var(--rule-strong); border-radius: 999px;
  padding: 9px 16px; font: 600 .95rem/1 var(--ui); color: var(--ink); cursor: pointer; }
.burger svg { width: 18px; height: 18px; }
/* inner pages: the letterhead sticks */
.pw-head--sticky { position: sticky; top: 0; background: color-mix(in srgb, var(--paper) 94%, transparent); border-bottom: 1px solid var(--rule); }
@supports (backdrop-filter: blur(8px)) { .pw-head--sticky { backdrop-filter: blur(8px); } }
/* home: a compact bar slides in once the intro has played */
.pw-head--compact { position: fixed; inset: 0 0 auto; background: var(--paper); border-bottom: 1px solid var(--rule);
  transform: translateY(calc(-100% - 28px)); transition: transform .35s ease; z-index: 30; }
body.compact .pw-head--compact { box-shadow: 0 6px 18px rgba(30, 36, 35, .06); }
.pw-head--compact .wrap { min-height: 60px; }
.pw-head--compact .pw-brand b { font-size: 1.25rem; }
.pw-head--compact .pw-brand small { display: none; }
body.compact .pw-head--compact { transform: none; }
@media (max-width: 980px) {
  .site-nav { display: none; }
  .burger { display: inline-flex; }
}
/* phone menu */
.pw-menu { position: fixed; inset: 0; z-index: 50; background: var(--paper); display: flex; flex-direction: column; padding: 18px var(--gutter) 32px; overflow-y: auto; }
.pw-menu-top { display: flex; justify-content: space-between; align-items: center; min-height: 54px; }
.pw-menu nav { display: flex; flex-direction: column; margin-top: 18px; border-top: 1px solid var(--rule); }
.pw-menu nav a { font: 450 2rem/1.15 var(--display); color: var(--ink); text-decoration: none; padding: 14px 0; border-bottom: 1px solid var(--rule); display: flex; justify-content: space-between; align-items: baseline; }
.pw-menu nav a small { font: 500 .85rem var(--ui); color: var(--ink-2); }
.pw-menu nav a[aria-current="page"] { color: var(--wine); border-left: 3px solid var(--wine); padding-left: 12px; }
.pw-menu .pw-menu-foot { margin-top: auto; padding-top: 24px; font: 500 .95rem/1.5 var(--ui); color: var(--ink-2); }

/* ---------- Type ---------- */
h1, h2, h3, h4 { font-family: var(--display); font-weight: 450; letter-spacing: -.012em; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.3rem); line-height: 1.04; }
h3 { font-size: clamp(1.35rem, 1.1rem + .9vw, 1.7rem); line-height: 1.15; }
p { margin: 0 0 1em; }
.lede { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.5rem); line-height: 1.45; color: var(--ink); max-width: 46ch; text-wrap: pretty; }
.meta { font: 500 .9rem/1.45 var(--ui); color: var(--ink-2); }
.fine { font: 400 .86rem/1.5 var(--ui); color: var(--ink-3); }
/* The signature mark: a date on a thin rule, in place of section labels */
.mark { display: flex; align-items: center; gap: 14px; margin: 0 0 22px; font: 500 1rem/1 var(--display); font-variant-numeric: lining-nums tabular-nums; color: var(--ink-2); }
.mark::after { content: ""; flex: 1; height: 1px; background: var(--rule-strong); }
.mark .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--wine); flex: none; }
.sec-head { display: grid; gap: 14px; margin-bottom: clamp(32px, 4vw, 52px); }
.sec-head p { margin: 0; max-width: 60ch; color: var(--ink-2); }
.ph { border: 1.5px dashed var(--rule-strong); border-radius: var(--radius); padding: 14px 16px; color: var(--ink-2); font: 500 .92rem/1.45 var(--ui); background: color-mix(in srgb, var(--paper-2) 60%, transparent); }
/* .ph = an unknown waiting on Paul ([bracketed]); .note = a real notice in the same box; .tbc = a fact used as his site states it, to confirm */
.note { border-left: 3px solid var(--ink-2); padding: 12px 16px; color: var(--ink); font: 400 .98rem/1.5 var(--ui); background: var(--paper-2); border-radius: 0 var(--radius) var(--radius) 0; }
.tbc { display: inline-block; font: 600 .72rem/1 var(--ui); color: var(--ink-2); border: 1px dashed var(--ink-3); border-radius: 999px; padding: 3px 8px; vertical-align: .15em; white-space: nowrap; }
.pw-foot .tbc { color: var(--on-night-2); border-color: var(--on-night-2); }
.h3 { font-size: clamp(1.35rem, 1.1rem + .9vw, 1.7rem); line-height: 1.15; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; font: 600 1rem/1 var(--ui); text-decoration: none; padding: 15px 22px; border-radius: 999px;
  background: var(--wine); color: #FBF6EE; border: 1px solid var(--wine); cursor: pointer; transition: background .2s, color .2s; }
.btn:hover { background: var(--wine-2); border-color: var(--wine-2); color: #FBF6EE; text-decoration: none; }
.btn-line { background: transparent; color: var(--ink); border-color: var(--rule-strong); }
.btn-line:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.go { font: 600 .98rem/1.3 var(--ui); color: var(--wine); text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.go::after { content: "→"; transition: translate .2s; }
.go:hover::after { translate: 4px 0; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---------- Intro: the home timeline ----------
   Two layers. The plain rules here are the still: no pin, the finished line and today's caption. Reduced motion, short
   screens and no JS get it, and so does a page whose paul.js never arrived (the failsafe in index.html's head script).
   The scrubbed story is layered on top under html.scrub, which that head script sets when motion is welcome
   (see "the story" below). */
.intro { position: relative; padding: 0; }
/* A column: letterhead, then the name block centered in whatever height is left (auto margins collapse to 0 when space
   runs out, so it can never ride over the timeline), then the timeline at the bottom. Type also scales with the
   visible height (svh), because Safari's toolbars can leave a phone well under 700px. */
.intro-stage { position: relative; min-height: 100svh; display: flex; flex-direction: column; overflow: hidden; }
.intro-body { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(24px, 4vw, 64px); align-items: center; margin-block: auto; padding-block: 1.5svh; }
.tl { flex: none; }
.name { font: 450 min(clamp(3.6rem, 1rem + 9.6vw, 9.6rem), 15svh)/.9 var(--display); letter-spacing: -.035em; margin: 0; }
.what { font: 400 min(clamp(1.3rem, 1rem + 1.3vw, 2.1rem), 3.6svh)/1.2 var(--display); margin: .55em 0 .35em; max-width: 24ch; }
.where { font: 500 clamp(.92rem, .85rem + .25vw, 1.05rem)/1.4 var(--ui); color: var(--ink-2); margin: 0; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.where .sep { width: 4px; height: 4px; border-radius: 50%; background: var(--ink-3); }
.intro-portrait { margin: 0; width: clamp(150px, 19vw, 280px); }
.intro-portrait img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 20%; border-radius: var(--radius); filter: saturate(.92); }
.intro-portrait figcaption { font: 500 .78rem/1.3 var(--ui); color: var(--ink-3); margin-top: 8px; }

.tl { padding-bottom: clamp(14px, 3svh, 40px); }
.tl-now { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(16px, 2.5vw, 36px); align-items: end; min-height: 7.2em; }
/* The year is plain text that paul.js sets from the scroll position (no animated CSS counter: iOS 26 showed "0") */
.tl-year { font: 400 min(clamp(3rem, 2rem + 4vw, 6rem), 9svh)/.85 var(--display); color: var(--wine); font-variant-numeric: lining-nums tabular-nums; letter-spacing: -.02em; min-width: 3.1ch; margin: 0; }
.tl-caps { position: relative; list-style: none; margin: 0 0 .1em; padding: 0; }
.tl-cap { display: none; font: 400 clamp(1.05rem, .95rem + .55vw, 1.4rem)/1.35 var(--display); max-width: 44ch; text-wrap: pretty; }
.tl-cap b { font-weight: 600; }
.tl-cap.is-today { display: block; position: relative; color: var(--ink); }
.tl-cap.is-today a { font: 600 1rem var(--ui); display: inline-block; margin-top: .5em; }
.tl-track { position: relative; height: 54px; margin-top: 22px; }
.tl-base { position: absolute; left: 0; right: 0; top: 18px; height: 1px; background: var(--rule); }
.tl-past { position: absolute; left: 0; top: 17px; height: 3px; width: var(--P); background: var(--ink); transform-origin: left center; border-radius: 2px; }
.tl-ahead { position: absolute; left: var(--P); right: 0; top: 18px; height: 0; border-top: 3px dotted var(--wine); transform-origin: left center; }
.tl-tick { position: absolute; left: var(--x); top: 11px; width: 1px; height: 15px; background: var(--ink-2); }
.tl-tick span { position: absolute; top: 20px; left: 50%; translate: -50% 0; font: 500 .74rem/1 var(--ui); color: var(--ink-2); font-variant-numeric: tabular-nums; white-space: nowrap; }
.tl-tick.minor span { display: none; }
.tl-mark { position: absolute; left: var(--x); top: 12px; width: 13px; height: 13px; margin-left: -6px; border-radius: 50%; background: var(--paper); border: 2px solid var(--wine); }
.tl-today { position: absolute; left: var(--P); top: 9px; width: 21px; height: 21px; margin-left: -10px; border-radius: 50%; background: var(--wine); box-shadow: 0 0 0 5px var(--wine-tint); }
.tl-today span { position: absolute; top: 28px; left: 50%; translate: -50% 0; font: 700 .76rem/1 var(--ui); color: var(--wine); white-space: nowrap; }
.tl-end { position: absolute; right: 0; top: 30px; font: 500 .74rem/1 var(--ui); color: var(--ink-2); }
.tl-cue { font: 500 .85rem/1.3 var(--ui); color: var(--ink-2); display: flex; flex-wrap: wrap; gap: 6px 8px; align-items: center; margin-top: 18px; }
.tl-cue svg { width: 14px; height: 14px; animation: nudge 1.8s ease-in-out 3; }
@keyframes nudge { 50% { translate: 0 4px; } }
/* Reduced motion: nothing to scroll through, so the cue keeps only its "skip to what's next" link */
@media (prefers-reduced-motion: reduce) { .tl-cue svg, .tl-cue > span { display: none; } }
@media (max-width: 720px) {
  .pw-head--letterhead .wrap { min-height: 60px; }
  .intro-body { grid-template-columns: minmax(0, 1fr) 92px; align-items: start; padding-block: 1svh; }
  .intro-portrait { width: min(92px, 13svh); margin-top: 8px; }
  .intro-portrait figcaption { display: none; }
  .name { font-size: min(3.6rem, 15vw, 8.6svh); }
  .what { font-size: min(1.3rem, 3.2svh); max-width: 18ch; }
  .where { display: grid; gap: 2px; font-size: min(.92rem, 2.4svh); }
  .where .sep { display: none; }
  .tl-now { grid-template-columns: 1fr; gap: 10px; min-height: 0; }
  .tl-year { font-size: min(3rem, 7svh); }
  .tl-cap { font-size: min(1.05rem, 2.6svh); }
  .tl-track { margin-top: 14px; }
  .tl-cue { margin-top: 8px; }
  .tl-tick span { display: none; }
  .tl-tick.is-first span { display: block; translate: 0 0; left: -2px; }
}
@media (max-height: 700px) and (min-width: 721px) {
  .name { font-size: clamp(3.2rem, 1rem + 7vw, 7rem); }
  .intro-portrait { width: clamp(130px, 15vw, 210px); }
}
/* Short screens (landscape phones, big zoom): the pinned stage can't fit, so the story stays off (it needs 561px) */
@media (max-height: 560px) { .scrub .intro-stage { min-height: 0; } }

/* ---- the story ----
   Scrolling draws the line 1986 → today → the last cruise while the tall intro passes under its pinned stage, each
   milestone's caption and year in turn ("contain" = while the intro covers the screen). Gated on html.scrub (index.html's
   head script: motion is welcome). Longhands only: an `animation` shorthand would reset the clocks' timeline, range,
   delay and play state. The clock comes below, per browser: one set of keyframes, two clocks. */
@keyframes tl-draw { from { scale: .004 1; } to { scale: 1 1; } }
@keyframes tl-tick { from { opacity: .2; } to { opacity: 1; } }
@keyframes tl-cap { 0% { opacity: 0; translate: 0 10px; } 14%, 66% { opacity: 1; translate: 0 0; } 92%, 100% { opacity: 0; translate: 0 -6px; } }
@keyframes tl-cap-first { 0%, 66% { opacity: 1; translate: 0 0; } 92%, 100% { opacity: 0; translate: 0 -6px; } }
@keyframes tl-cap-last { from { opacity: 0; translate: 0 10px; } to { opacity: 1; translate: 0 0; } }
@keyframes tl-pop { from { scale: 0; } to { scale: 1; } }
@keyframes tl-show { from { opacity: 0; } to { opacity: 1; } }
@keyframes tl-fade { from { opacity: 1; } to { opacity: 0; } }
@media (prefers-reduced-motion: no-preference) and (min-height: 561px) {
  .scrub .intro { height: 300svh; }
  .scrub .intro-stage { position: sticky; top: 0; height: 100svh; }
  /* the captions stack in one box (paul.js sizes it to the tallest) */
  .scrub .tl-caps { min-height: 4.2em; }
  .scrub .tl-cap { display: list-item; position: absolute; inset: auto 0 0 0; opacity: 0; }
  .scrub .tl-past, .scrub .tl-tick, .scrub .tl-cap, .scrub .tl-today, .scrub .tl-ahead, .scrub .tl-mark, .scrub .tl-end, .scrub .tl-cue {
    animation-fill-mode: both; animation-timing-function: linear; animation-iteration-count: 1;
  }
  .scrub .tl-past, .scrub .tl-ahead { animation-name: tl-draw; }
  .scrub .tl-gen .tl-past { animation-name: tl-draw-gen; }   /* paul.js generates tl-draw-gen from MILESTONES (equal scroll per milestone) */
  .scrub .tl-tick { animation-name: tl-tick; }
  .scrub .tl-cap { animation-name: tl-cap; }
  .scrub .tl-cap.is-first { animation-name: tl-cap-first; }
  .scrub .tl-cap.is-today { animation-name: tl-cap-last; }
  .scrub .tl-today { animation-name: tl-pop; }
  .scrub .tl-mark, .scrub .tl-end { animation-name: tl-show; }
  .scrub .tl-cue { animation-name: tl-fade; }
}
@media (prefers-reduced-motion: no-preference) and (min-height: 561px) and (max-width: 720px) {
  .scrub .intro { height: 280svh; }
  .scrub .tl-caps { min-height: 4.4em; }
  .scrub .tl-cap { inset: 0 0 auto 0; }
}
/* clock 1, native (Chrome, Edge, Safari 26+): a view timeline on the intro. Each part's stretch of it is its
   animation-range; the captions and ticks get theirs inline from paul.js. */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) and (min-height: 561px) {
    .scrub .intro { view-timeline: --intro block; view-timeline-inset: 0; }
    .scrub .tl-past, .scrub .tl-tick, .scrub .tl-cap, .scrub .tl-today, .scrub .tl-ahead, .scrub .tl-mark, .scrub .tl-end, .scrub .tl-cue {
      animation-timeline: --intro; animation-duration: auto; animation-delay: 0s;
    }
    .scrub .tl-past { animation-range: contain 0% contain 80%; }
    .scrub .tl-today { animation-range: contain 78% contain 84%; }
    .scrub .tl-ahead { animation-range: contain 83% contain 95%; }
    .scrub .tl-mark, .scrub .tl-end { animation-range: contain 86% contain 96%; }
    .scrub .tl-cue { animation-range: contain 0% contain 6%; }
  }
}
/* clock 2, older browsers (iOS / iPadOS 15.4-18, Firefox; ?poly forces it): the same keyframes as paused 1 s runs whose
   negative delay follows --hp, the intro's scroll progress 0..1 that paul.js writes. Each part maps its own stretch of
   it, from --a over --s (clock 1's animation-range as 0..1; inline on the captions and ticks), clamped to 0..1.
   Same specificity as clock 1 and later in the file, so it also wins under ?poly. */
@media (prefers-reduced-motion: no-preference) and (min-height: 561px) {
  .scrub-poly .tl-past, .scrub-poly .tl-tick, .scrub-poly .tl-cap, .scrub-poly .tl-today, .scrub-poly .tl-ahead,
  .scrub-poly .tl-mark, .scrub-poly .tl-end, .scrub-poly .tl-cue {
    animation-timeline: auto; animation-range: normal; animation-duration: 1s; animation-play-state: paused;
    animation-delay: calc(clamp(0, (var(--hp, 0) - var(--a, 0)) / var(--s, 1), 1) * -1s);
  }
  .scrub-poly .tl-past { --a: 0; --s: .8; }
  .scrub-poly .tl-today { --a: .78; --s: .06; }
  .scrub-poly .tl-ahead { --a: .83; --s: .12; }
  .scrub-poly .tl-mark, .scrub-poly .tl-end { --a: .86; --s: .1; }
  .scrub-poly .tl-cue { --a: 0; --s: .06; }
  /* the cue's skip link stays visible when it has focus (either clock) */
  .scrub .tl-cue:focus-within { animation: none; opacity: 1; }
}

/* ---------- Next up (the agenda past today) ---------- */
.next { padding-top: clamp(56px, 7vw, 96px); }
.agenda { list-style: none; margin: 0; padding: 0; position: relative; }
.agenda::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 0; border-left: 2px dotted color-mix(in srgb, var(--wine) 60%, transparent); }
/* "Today is" stays on one line; on a phone the long date drops under it rather than splitting the label */
.today-row { position: relative; display: flex; flex-wrap: wrap; gap: 2px 18px; align-items: center; padding: 0 0 26px 34px; font: 600 1rem/1.3 var(--ui); color: var(--wine); }
.today-row b { font: inherit; white-space: nowrap; }
.today-row::before { content: ""; position: absolute; left: 0; top: 1px; width: 16px; height: 16px; border-radius: 50%; background: var(--wine); box-shadow: 0 0 0 5px var(--wine-tint); }
.ag-row { position: relative; display: grid; grid-template-columns: 150px minmax(0, 1fr) auto; gap: 8px clamp(16px, 3vw, 40px); padding: 24px 0 24px 34px; border-top: 1px solid var(--rule); align-items: start; }
.ag-row::before { content: ""; position: absolute; left: 2px; top: 31px; width: 12px; height: 12px; border-radius: 50%; background: var(--paper); border: 2px solid var(--wine); }
.ag-date { display: grid; font-variant-numeric: lining-nums tabular-nums; }
.ag-date b { font: 450 1.9rem/1 var(--display); color: var(--ink); }
.ag-date span { font: 500 .88rem/1.4 var(--ui); color: var(--ink-2); }
.ag-kind { font: 600 .86rem/1.3 var(--ui); color: var(--ink-2); margin: 0 0 6px; }
.ag-body h3 { margin-bottom: 8px; }
.ag-body p { margin: 0 0 4px; font-size: 1.06rem; color: var(--ink); }
.ag-body .ag-kind { font: 600 .86rem/1.3 var(--ui); color: var(--ink-2); margin: 0 0 6px; }
.ag-body .meta { margin-top: 6px; font: 500 .9rem/1.45 var(--ui); color: var(--ink-2); }
.ag-body .ag-price { font: 500 .95rem/1.45 var(--ui); color: var(--ink); margin-top: 8px; }
.ag-price s { color: var(--ink-3); }
/* Sponsor badge on cruise rows: the logo on its own white, like the cruise page's plaque; wraps under the label on narrow phones */
.ag-body .ag-sponsor { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; width: fit-content; max-width: 100%; margin: 12px 0 4px;
  padding: 6px 12px 6px 10px; background: #fff; border: 1px solid var(--rule); border-radius: var(--radius); font: 500 .8rem/1.2 var(--ui); color: var(--ink-2); }
/* As a link to the trip's page on the sponsor's site: same look as the plaque's link (no underline, darker on hover) */
a.ag-sponsor { position: relative; text-decoration: none; }
a.ag-sponsor:hover { color: var(--ink); border-color: var(--rule-strong); text-decoration: none; }
.ag-sponsor img { display: block; width: 180px; height: auto; flex: none; }   /* fixed width + flex:none hold it at 180px in the fit-content box; the global img max-width:100% only caps it in a narrower column. Don't make the width a %: it collapsed to 24px */
.ag-go { align-self: center; white-space: nowrap; }
.agenda-foot { margin-top: 28px; padding-left: 34px; display: flex; flex-wrap: wrap; gap: 20px 28px; }
@media (max-width: 720px) {
  .ag-row { grid-template-columns: minmax(0, 1fr); padding-left: 30px; }
  .ag-date { grid-auto-flow: column; justify-content: start; gap: 10px; align-items: baseline; }
  .ag-date b { font-size: 1.5rem; }
  .ag-go { justify-self: start; }
}

/* ---------- Full-bleed photo bands ---------- */
.band { position: relative; margin: 0; height: clamp(360px, 72svh, 760px); background: var(--sierra); overflow: hidden; }
.band img { width: 100%; height: 100%; object-fit: cover; }
.band figcaption { position: absolute; inset: auto 0 0 0; padding: clamp(20px, 4vw, 48px) var(--gutter); display: flex; justify-content: space-between; align-items: flex-end; gap: 16px;
  background: linear-gradient(to top, rgba(14, 18, 18, .62), transparent); color: #FBF6EE; }
.band .band-line { font: 400 clamp(1.4rem, 1rem + 1.6vw, 2.4rem)/1.2 var(--display); max-width: 30ch; margin: 0; text-wrap: balance; }
.credit { font: 500 .74rem/1 var(--ui); padding: 7px 10px; border-radius: 999px; background: rgba(14, 18, 18, .7); color: #F4EEE2; white-space: nowrap; }
.band .band-line { text-shadow: 0 1px 12px rgba(14, 18, 18, .6); }
.band .credit { position: absolute; right: var(--gutter); top: 18px; }

/* ---------- The four doors ---------- */
.doors { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 24px); }
.door { position: relative; display: flex; flex-direction: column; text-decoration: none; color: var(--ink); background: var(--paper-2); border-radius: var(--radius); overflow: hidden; }
.door:hover { color: var(--ink); }
.door-pic { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--sierra); }
.door-pic img { width: 100%; height: 100%; object-fit: cover; transition: scale .6s ease; }
.door:hover .door-pic img { scale: 1.03; }
.door-pic .credit { position: absolute; left: 10px; bottom: 10px; }
.door .door-word { font: 500 .86rem/1 var(--ui); color: var(--ink-2); margin: 18px 18px 0; display: flex; gap: 10px; align-items: center; }
.door-word::after { content: ""; flex: 1; height: 1px; background: var(--rule-strong); }
.door h3 { margin: 10px 18px 8px; }
.door p { margin: 0 18px 16px; font-size: 1.02rem; line-height: 1.45; color: var(--ink-2); flex: 1; }
.door .go { margin: 0 18px 20px; }
.door--quote .door-pic { background: var(--night); display: grid; place-items: center; padding: 24px; }
.door--quote blockquote { margin: 0; color: var(--on-night); font: 400 clamp(1.5rem, 1.1rem + 1.3vw, 2.2rem)/1.15 var(--display); border-left: 1px solid var(--on-night-2); padding-left: 18px; }
.door--quote blockquote p { margin: 0; color: inherit; font: inherit; }
.door--quote blockquote footer { font: 500 .85rem var(--ui); color: var(--on-night-2); margin-top: 14px; }
.door--covers .door-pic { background: #2A3335; display: grid; place-items: center; }
.door--covers .pair { position: relative; width: 70%; aspect-ratio: 1 / 1.05; }
.door--covers .pair img { position: absolute; width: 58%; aspect-ratio: 826 / 1280; object-fit: cover; border-radius: 2px; box-shadow: 0 10px 28px rgba(0, 0, 0, .45); }
.door--covers .pair img:first-child { left: 0; top: 8%; rotate: -5deg; }
.door--covers .pair img:last-child { right: 0; top: 0; rotate: 4deg; }
@media (max-width: 1020px) { .doors { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .doors { grid-template-columns: 1fr; } .door-pic { aspect-ratio: 16 / 11; } }

/* ---------- Books ---------- */
.feature-book { display: grid; grid-template-columns: minmax(0, 330px) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.feature-book .cover { margin: 0; }
.cover img, .cover-img { width: 100%; aspect-ratio: var(--ar, 2 / 3.1); object-fit: cover; border-radius: 2px; box-shadow: 0 1px 0 rgba(0,0,0,.08), 0 14px 34px rgba(30, 36, 35, .22); background: var(--paper-3); }
.feature-book h2 { margin-bottom: 10px; }
.feature-book .meta { margin-bottom: 20px; }
.feature-book .blurb p { font-size: 1.22rem; line-height: 1.55; max-width: 52ch; }
.feature-book .blurb p:last-child { font-style: normal; }
@media (max-width: 720px) { .feature-book { grid-template-columns: 1fr; } .feature-book .cover { width: min(62%, 260px); } }

.shelf { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: clamp(10px, 1.4vw, 20px); }
.shelf li { display: grid; gap: 8px; align-content: start; }
.shelf a { text-decoration: none; color: var(--ink); display: grid; gap: 10px; }
.shelf .n { font: 500 .8rem/1 var(--ui); color: var(--ink-2); display: flex; justify-content: space-between; gap: 6px; }
.shelf .tag { color: var(--wine); font-weight: 700; }
.shelf .t { font: 500 1rem/1.2 var(--display); }
.shelf .y { font: 500 .8rem/1 var(--ui); color: var(--ink-3); }
.shelf a:hover .t { color: var(--wine); }
@media (max-width: 1020px) { .shelf { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 28px; } }
@media (max-width: 480px) { .shelf { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* series rows (Mysteries page) */
.series { list-style: none; margin: 0; padding: 0; }
.series > li { display: grid; grid-template-columns: 64px 150px minmax(0, 1fr); gap: clamp(16px, 3vw, 40px); padding: 32px 0; border-top: 1px solid var(--rule); align-items: start; scroll-margin-top: calc(var(--head-h) + 20px); }
.series .no { font: 400 3rem/1 var(--display); color: var(--ink-3); font-variant-numeric: lining-nums; }
.series h3 { margin-bottom: 6px; }
.series .meta { margin-bottom: 14px; }
.series > li:target { background: linear-gradient(to right, var(--wine-tint), transparent 70%); }
@media (max-width: 640px) { .series > li { grid-template-columns: 96px minmax(0, 1fr); } .series .no { display: none; } }

.stores { columns: 2 260px; column-gap: 40px; list-style: none; padding: 0; margin: 0; }
.stores li { break-inside: avoid; padding: 10px 0; border-top: 1px solid var(--rule); font-size: 1.06rem; }
.stores small { font: 500 .86rem var(--ui); color: var(--ink-2); margin-left: 6px; }

.wine-books { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 44px); }
.wine-book { display: grid; grid-template-rows: auto 1fr; gap: 18px; }
.wine-book .cover { width: min(100%, 220px); }
.wine-book h3 { margin-bottom: 4px; }
.wine-book .sub { font-size: 1.02rem; color: var(--ink-2); margin-bottom: 10px; line-height: 1.4; }
.wine-book .book-links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0; }
/* Type-only cover while the real cover file is missing (Wine Marketing & Sales, 4th edition) */
.cover-type { aspect-ratio: 2 / 3; display: flex; flex-direction: column; justify-content: space-between; padding: 18px 16px; border-radius: 2px;
  background: var(--wine); color: #FBF6EE; box-shadow: 0 1px 0 rgba(0,0,0,.08), 0 14px 34px rgba(30, 36, 35, .22); }
.cover-type b { font: 450 clamp(1.1rem, .9rem + 1vw, 1.6rem)/1.1 var(--display); }
.cover-type span { font: 500 .8rem/1.3 var(--ui); opacity: .85; }
@media (max-width: 860px) { .wine-books { grid-template-columns: 1fr; } .wine-book { grid-template-columns: 140px minmax(0, 1fr); grid-template-rows: none; } }

.courses { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.course { background: var(--paper-2); border-radius: var(--radius); padding: 22px; display: grid; gap: 10px; align-content: start; }
/* Course art is shown whole (the Audible cover is square, the Great Courses art wider than the box), matted on paper-3 */
.course img { width: 100%; aspect-ratio: 16 / 10; object-fit: contain; border-radius: 2px; background: var(--paper-3); }
@media (max-width: 860px) { .courses { grid-template-columns: 1fr; } }

/* ---------- History (behind today) ---------- */
.history { list-style: none; margin: 0; padding: 0; }
.history li { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 24px; padding: 18px 0; border-top: 1px solid var(--rule); align-items: baseline; }
.history .y { font: 400 1.7rem/1 var(--display); color: var(--ink-2); font-variant-numeric: lining-nums tabular-nums; }
.history p { margin: 0; font-size: 1.12rem; max-width: 62ch; }
@media (max-width: 560px) { .history li { grid-template-columns: 70px minmax(0, 1fr); gap: 14px; } .history .y { font-size: 1.3rem; } }
.honors { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 32px; margin-top: 48px; list-style: none; padding: 0; }
.honors li { padding: 16px 0; border-top: 1px solid var(--rule-strong); font-size: 1.05rem; line-height: 1.4; }
.honors b { display: block; font: 500 .82rem/1.2 var(--ui); color: var(--ink-2); margin-bottom: 4px; font-variant-numeric: tabular-nums; }
@media (max-width: 860px) { .honors { grid-template-columns: 1fr; } }

.podcast { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; background: var(--paper-2); border-radius: var(--radius); padding: clamp(20px, 3vw, 36px); }
.podcast img { width: 100%; aspect-ratio: 1000 / 863; object-fit: cover; border-radius: 2px; }
.podcast h3 { margin-bottom: 8px; }
@media (max-width: 760px) { .podcast { grid-template-columns: 1fr; } }

/* ---------- Inner page heads ---------- */
.page-head { padding-block: clamp(48px, 7vw, 96px) clamp(36px, 5vw, 64px); border-bottom: 1px solid var(--rule); }
.page-head h1 { font-size: clamp(2.6rem, 1.6rem + 4vw, 5rem); line-height: .98; letter-spacing: -.025em; max-width: 18ch; margin-bottom: 22px; }
.page-head .lede { margin-bottom: 28px; }
.page-head.with-pic .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 360px); gap: clamp(28px, 5vw, 72px); align-items: end; }
.page-head.with-pic figure { margin: 0; }
.page-head.with-pic img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
@media (max-width: 820px) { .page-head.with-pic .wrap { grid-template-columns: 1fr; } .page-head.with-pic figure { width: min(70%, 300px); } }
/* Sponsor plaque (cruise page): the logo stays on its own white, never recolored, tinted or knocked out */
.page-head.with-sponsor .wrap { display: grid; grid-template-columns: minmax(0, 1fr) min(400px, 36%); gap: clamp(28px, 5vw, 72px); align-items: end; }
.sponsor { display: grid; gap: 10px; padding: 16px 20px 20px; background: #fff; border: 1px solid var(--rule); border-radius: var(--radius);
  color: var(--ink-2); text-decoration: none; font: 500 .86rem/1.35 var(--ui); }
.sponsor:hover { color: var(--ink); border-color: var(--rule-strong); }
.sponsor img { display: block; width: 100%; height: auto; }
/* Stacked up to 1020px (the .doors breakpoint) so tablets never show the logo smaller than a phone does */
@media (max-width: 1020px) { .page-head.with-sponsor .wrap { grid-template-columns: 1fr; } .sponsor { max-width: 400px; } }
.alt { background: var(--paper-2); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* ---------- Cruises ---------- */
.cruise { display: grid; grid-template-columns: 190px minmax(0, 1fr) minmax(0, 300px); gap: clamp(18px, 3vw, 44px); padding: 36px 0; border-top: 1px solid var(--rule-strong); }
.cruise-when b { display: block; font: 450 2.2rem/1 var(--display); font-variant-numeric: lining-nums tabular-nums; }
.cruise-when span { font: 500 .9rem/1.5 var(--ui); color: var(--ink-2); }
.route { font: 500 1.02rem var(--ui); color: var(--ink-2); display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 8px; }
.route i { width: 26px; height: 1px; background: var(--ink-2); position: relative; }
.route i::after { content: ""; position: absolute; right: -1px; top: -3px; border: 3.5px solid transparent; border-left: 6px solid var(--ink-2); }
.cruise h3 { margin-bottom: 10px; }
.cruise dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 12px 0 0; font: 400 1rem/1.45 var(--ui); }
.cruise dt { color: var(--ink-2); }
.cruise dd { margin: 0; }
.price-box { background: var(--paper-2); border-radius: var(--radius); padding: 18px; display: grid; gap: 8px; align-content: start; }
.price-box .from { font: 450 1.9rem/1 var(--display); font-variant-numeric: lining-nums; }
.price-box s { font: 500 .95rem var(--ui); color: var(--ink-3); margin-left: 6px; }
.price-box .basis { font: 400 .9rem/1.45 var(--ui); color: var(--ink-2); }
.price-box .by { font: 600 .92rem/1.3 var(--ui); color: var(--wine); }
.price-box .btn-row { margin-top: 8px; }
.past-cruises { list-style: none; margin: 0; padding: 0; }
.past-cruises li { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 20px; padding: 14px 0; border-top: 1px solid var(--rule); font-size: 1.05rem; }
.past-cruises span { font: 500 .92rem var(--ui); color: var(--ink-2); font-variant-numeric: tabular-nums; }
.book-how { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.book-how div { border-top: 2px solid var(--ink); padding-top: 14px; }
@media (max-width: 960px) { .cruise { grid-template-columns: minmax(0, 1fr); } .book-how { grid-template-columns: 1fr; } .past-cruises li { grid-template-columns: 1fr; gap: 2px; } }

/* ---------- Talks, stages, clips ---------- */
.talks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; }
.talks li { padding: 20px 0; border-top: 1px solid var(--rule-strong); }
.talks h3 { font-size: 1.35rem; margin-bottom: 6px; }
@media (max-width: 760px) { .talks { grid-template-columns: 1fr; } }
.formats { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.formats li { font: 500 .95rem var(--ui); border: 1px solid var(--rule-strong); border-radius: 999px; padding: 9px 14px; }
.formats li small { color: var(--ink-2); margin-left: 4px; }
.stages { list-style: none; margin: 0; padding: 0; }
.stages li { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 20px; padding: 14px 0; border-top: 1px solid var(--rule); }
.stages .y { font: 400 1.3rem/1.2 var(--display); color: var(--ink-2); font-variant-numeric: tabular-nums; }
.stages .y.none { font: 500 .85rem/1.6 var(--ui); color: var(--ink-3); }
.stages p { margin: 0; }
.stages small { display: block; font: 500 .88rem var(--ui); color: var(--ink-2); margin-top: 2px; }
.clips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.clip { display: grid; gap: 10px; align-content: start; }
.clip-frame { position: relative; aspect-ratio: 16 / 9; background: #111; border-radius: var(--radius); overflow: hidden; }
.clip-frame img { width: 100%; height: 100%; object-fit: cover; opacity: .82; }
.clip-frame button { position: absolute; inset: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; color: #fff; }
.clip-frame button span { width: 68px; height: 48px; border-radius: 12px; background: rgba(123, 28, 42, .92); display: grid; place-items: center; }
.clip-frame button svg { width: 22px; height: 22px; }
.clip-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.clip-frame button:focus-visible { outline: 3px solid #fff; outline-offset: -6px; }
.clip h3 { font-size: 1.2rem; }
.clip p { margin: 0; font: 400 .95rem/1.45 var(--ui); color: var(--ink-2); }
@media (max-width: 760px) { .clips { grid-template-columns: 1fr; } }

/* ---------- Bios, quotes ---------- */
.bio-card { border-top: 2px solid var(--ink); padding-top: 18px; }
.bio-card h3 { font-size: 1.2rem; font-family: var(--ui); font-weight: 600; letter-spacing: 0; margin-bottom: 12px; }
.bio-card p { font-size: 1.08rem; }
.copy { font: 600 .9rem var(--ui); background: none; border: 1px solid var(--rule-strong); border-radius: 999px; padding: 8px 14px; cursor: pointer; color: var(--ink); }
.copy:hover { border-color: var(--ink); }
.quote { margin: 0; padding-left: 22px; border-left: 1px solid var(--ink-2); font: 400 clamp(1.3rem, 1.1rem + .8vw, 1.75rem)/1.35 var(--display); max-width: 40ch; }
.quote footer { font: 500 .88rem var(--ui); color: var(--ink-2); margin-top: 10px; }
.quotes { display: grid; gap: 40px; }
.facts { list-style: none; margin: 0; padding: 0; }
.facts li { padding: 12px 0; border-top: 1px solid var(--rule); font-size: 1.06rem; }
.prose p { max-width: 66ch; text-wrap: pretty; }
.prose h2 { font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.2rem); margin: 1.6em 0 .6em; }
.prose blockquote { margin: 1.4em 0; padding-left: 22px; border-left: 1px solid var(--ink-2); }
/* Pictures inside a post (the Wix build reads posts live from Wix Blog; its images keep their own shape) */
.prose img { display: block; max-width: 100%; height: auto; margin: 1.6em 0; }
.prose a:has(> img) { display: block; width: fit-content; }
.prose ul, .prose ol { max-width: 66ch; padding-left: 1.3em; }
.prose hr { border: 0; border-top: 1px solid var(--rule); margin: 2em 0; max-width: 66ch; }

/* ---------- Writing ---------- */
.biblio details { border-top: 1px solid var(--rule-strong); }
.biblio summary { cursor: pointer; padding: 18px 0; font: 450 1.6rem/1.2 var(--display); display: flex; justify-content: space-between; align-items: baseline; list-style: none; }
.biblio summary::-webkit-details-marker { display: none; }
.biblio summary small { font: 500 .9rem var(--ui); color: var(--ink-2); }
.biblio summary::after { content: "+"; font: 400 1.6rem var(--ui); color: var(--wine); margin-left: 16px; }
.biblio details[open] summary::after { content: "–"; }
.biblio ol { list-style: none; margin: 0 0 24px; padding: 0; }
.biblio li { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 16px; padding: 8px 0; border-top: 1px solid var(--rule); font-size: 1.02rem; line-height: 1.45; }
.biblio li span { font: 500 .88rem/1.6 var(--ui); color: var(--ink-3); font-variant-numeric: tabular-nums; }
.posts { list-style: none; margin: 0; padding: 0; }
.posts li { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 24px; padding: 22px 0; border-top: 1px solid var(--rule); }
.posts time { font: 500 .92rem/1.6 var(--ui); color: var(--ink-2); }
.posts h2 { font-size: 1.4rem; line-height: 1.2; margin-bottom: 6px; }
.posts h2 a { color: var(--ink); text-decoration: none; }
.posts h2 a:hover { color: var(--wine); }
.posts p { margin: 0; color: var(--ink-2); }
@media (max-width: 640px) { .posts li, .biblio li { grid-template-columns: 1fr; gap: 4px; } }
.post-head { padding-block: clamp(48px, 7vw, 88px) 32px; }
.post-head h1 { font-size: clamp(2.3rem, 1.6rem + 3vw, 4rem); line-height: 1.02; margin-bottom: 16px; }
.post-note { margin: 0 0 32px; }
.back { font: 600 .95rem var(--ui); text-decoration: none; }

/* ---------- Forms (kit form[data-inquiry] markup) ---------- */
.inquiry-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
@media (max-width: 900px) { .inquiry-grid { grid-template-columns: 1fr; } }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: grid; gap: 8px; min-width: 0; }
.field > * { min-width: 0; }
.field.full, fieldset.full { grid-column: 1 / -1; }
.field label, legend { font: 600 .95rem/1.3 var(--ui); color: var(--ink); }
.hint { font-weight: 500; color: var(--ink-2); }
input, select, textarea { font: 400 1.05rem/1.4 var(--ui); color: var(--ink); background: #FFFDF8; border: 1px solid rgba(30, 36, 35, .6); border-radius: var(--radius); padding: 12px 14px; width: 100%; min-height: 48px; }
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--wine); outline-offset: 1px; border-color: var(--wine); }
fieldset { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
fieldset legend { grid-column: 1 / -1; margin-bottom: 4px; padding: 0; }
@media (max-width: 640px) { .fields, fieldset { grid-template-columns: 1fr; } }
.form-foot { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin-top: 24px; }
.form-foot small { font: 400 .88rem/1.4 var(--ui); color: var(--ink-2); max-width: 40ch; }
.form-status { margin-top: 20px; padding: 16px 18px; border-left: 3px solid var(--wine); background: var(--paper-2); font: 400 1rem/1.5 var(--ui); }
.form-status button { font: 600 .9rem var(--ui); margin-top: 10px; }
.direct { list-style: none; margin: 0; padding: 0; }
.direct li { padding: 14px 0; border-top: 1px solid var(--rule); display: grid; gap: 2px; }
.direct small { font: 600 .82rem var(--ui); color: var(--ink-2); }
.direct a { overflow-wrap: anywhere; font-size: 1.08rem; }

/* ---------- Footer ---------- */
.pw-foot { background: var(--night); color: var(--on-night); padding-block: clamp(56px, 7vw, 88px) 28px; }
.pw-foot a { color: var(--on-night); }
.pw-foot :focus-visible { outline-color: var(--on-night); }
.pw-foot a:hover { color: #fff; }
.foot-top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.pw-foot .foot-name { font: 450 2.4rem/1 var(--display); color: var(--on-night); max-width: none; letter-spacing: -.02em; margin: 0 0 10px; }
.foot-top p { color: var(--on-night-2); font-size: 1rem; max-width: 32ch; }
.foot-h { font: 600 .85rem/1 var(--ui); color: var(--on-night-2); margin: 6px 0 14px; letter-spacing: 0; }
.pw-foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; font: 400 1rem/1.35 var(--ui); }
.pw-foot ul a { text-decoration: none; }
.pw-foot ul a:hover { text-decoration: underline; }
.foot-base { margin-top: 48px; padding-top: 20px; border-top: 1px solid rgba(239, 232, 218, .18); display: flex; flex-wrap: wrap; gap: 10px 28px; justify-content: space-between; font: 400 .85rem/1.5 var(--ui); color: var(--on-night-2); }
@media (max-width: 860px) { .foot-top { grid-template-columns: 1fr 1fr; } .foot-top > div:first-child { grid-column: 1 / -1; } }
@media (max-width: 480px) { .foot-top { grid-template-columns: 1fr; } }

/* ---------- Motion ---------- */
@media (scripting: enabled) { .reveal { opacity: 0; translate: 0 18px; transition: opacity .7s ease, translate .7s ease; } }
.reveal.in { opacity: 1; translate: 0 0; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; translate: none; }
}
