/* Youngstown Yacht Club: the whole site's base styles.
   Direction (DESIGN.md, revised 2026-11-20 with the client team): "Club Album", old-money editorial. Warm ivory paper,
   the burgee's navy as ink, the burgee's red as the one accent. Clean photographs, no grain. No blue backgrounds.
   Libre Caslon Display for headlines, Source Serif 4 for reading, Public Sans for figures. Square corners. No shadows. */

@font-face { font-family: "Source Serif 4"; src: url("../fonts/source-serif-4.woff2") format("woff2"); font-weight: 200 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Serif 4"; src: url("../fonts/source-serif-4-italic.woff2") format("woff2"); font-weight: 200 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Public Sans"; src: url("../fonts/public-sans.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Public Sans"; src: url("../fonts/public-sans-italic.woff2") format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Libre Caslon Display"; src: url("../fonts/libre-caslon-display.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }

:root {
  --bg: #efe8da;            /* ivory paper */
  --panel: #e4dac8;         /* a deeper sheet of the same paper, for long reading and ledgers */
  --fg: #14204a;            /* the burgee's navy, as ink (12.9:1 on paper) */
  --muted: #5a5f73;         /* secondary text (5.2:1 on paper, 4.6:1 on the panel) */
  --data: #3f6a64;          /* figures about the water, in the river's green (5.0:1) */
  --red: #cd3727;           /* the burgee's Y: marks and pennants */
  --red-ink: #a52a1d;       /* red for text and the one button (white on it 7.1:1) */
  --rule: rgba(20, 32, 74, .18);
  --display: "Libre Caslon Display", "Big Caslon", Georgia, serif;
  --serif: "Source Serif 4", "Iowan Old Style", Georgia, serif;
  --sans: "Public Sans", "Segoe UI", system-ui, sans-serif;
  --wrap: 1320px;
  --gutter: clamp(16px, 4vw, 48px);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 16px; }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font-family: var(--serif); font-size: 1.125rem; line-height: 1.6; font-optical-sizing: auto;
  font-variation-settings: "opsz" 18;
  overflow-x: clip;
}
img, video, canvas, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { text-decoration-thickness: 2px; }
a, button, summary, select, label[for], [role="button"], [role="tab"], [role="switch"] { cursor: pointer; }
button:disabled, [aria-disabled="true"] { cursor: not-allowed; }
:focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; }
.sheet :focus-visible, .on-sail :focus-visible { outline-color: var(--fg); }
::selection { background: var(--red); color: #fff; }
p { margin: 0 0 1em; max-width: 68ch; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.08; margin: 0; text-wrap: balance; }
h1, h2 { font-family: var(--display); font-weight: 400; }
h1 { font-size: clamp(2.6rem, 6.4vw, 6.5rem); letter-spacing: -.01em; line-height: 1.02; }
h2 { font-size: clamp(2rem, 3.8vw, 3.4rem); letter-spacing: -.005em; line-height: 1.05; }
h3 { font-size: clamp(1.3rem, 1.8vw, 1.6rem); font-variation-settings: "opsz" 32; }
h4 { font-family: var(--sans); font-size: 1rem; font-weight: 700; line-height: 1.3; }
em, i, .water { font-style: italic; }          /* the chart rule: names of water are italic */
.land { font-style: normal; }
small { font-size: .875rem; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--fg); color: var(--bg); padding: 10px 14px; font-family: var(--sans); font-weight: 600; }
.skip-link:focus { top: 12px; }

/* ------------------------------------------------------------------ structure */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.sheet { background: var(--panel); color: var(--fg); }
.sheet a { color: var(--fg); }
.sheet .fix, .sheet .note { color: var(--muted); }
.rule-top { border-top: 1px solid var(--rule); }
.sheet .rule-top { border-top-color: var(--rule); }

/* the pilot-book layout: a margin column of fixes beside a reading column */
.pilot { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 8fr) minmax(0, 1fr); column-gap: clamp(20px, 3vw, 48px); }
.pilot > .margin { grid-column: 1; }
.pilot > .main { grid-column: 2; min-width: 0; }
.pilot > .wide { grid-column: 2 / 4; min-width: 0; }
.pilot > .full { grid-column: 1 / -1; min-width: 0; }
@media (max-width: 860px) {
  .pilot { grid-template-columns: minmax(0, 1fr); }
  .pilot > .margin, .pilot > .main, .pilot > .wide, .pilot > .full { grid-column: 1; }
  .pilot > .margin { margin-bottom: 12px; }
}

/* a fix: a real position, channel, time or price, set to count */
.fix { font-family: var(--sans); font-size: .9375rem; line-height: 1.45; font-variant-numeric: tabular-nums; color: var(--data); }
.fix b, .fix strong { color: var(--fg); font-weight: 600; }
.sheet .fix b, .sheet .fix strong { color: var(--fg); }
.fixes { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.fixes li { padding-top: 10px; border-top: 1px solid var(--rule); }
.sheet .fixes li { border-top-color: var(--rule); }
.fix-label { display: block; font-family: var(--sans); font-size: .8125rem; color: var(--muted); }
.sheet .fix-label { color: var(--muted); }
.note { font-family: var(--sans); font-size: .875rem; color: var(--muted); line-height: 1.5; }

/* ------------------------------------------------------------------ the pennant (the site's only marker) */
.pennant { display: inline-block; width: 1.05em; height: .6em; background: var(--red); clip-path: polygon(0 0, 100% 50%, 0 100%); flex: none; }
.marked { list-style: none; padding: 0; margin: 0 0 1em; }
.marked > li { position: relative; padding-left: 1.6em; margin-bottom: .45em; }
.marked > li::before { content: ""; position: absolute; left: 0; top: .58em; width: .95em; height: .54em; background: var(--red); clip-path: polygon(0 0, 100% 50%, 0 100%); }

/* ------------------------------------------------------------------ actions */
.act {
  display: inline-flex; align-items: center; gap: .7em; min-height: 48px; padding: 12px 20px;
  font-family: var(--sans); font-size: 1rem; font-weight: 600; line-height: 1.2; text-decoration: none;
  color: var(--fg); background: transparent; border: 1px solid var(--fg); border-radius: 0;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
.act .pennant { transition: transform .18s ease; }
.act:hover { background: var(--fg); color: var(--bg); text-decoration: none; }
.act:hover .pennant { transform: translateX(4px); }
.act:active { transform: translateY(1px); }
.act--red { background: var(--red-ink); border-color: var(--red-ink); color: #fff; }
.act--red .pennant { background: #fff; }
.act--red:hover { background: var(--fg); border-color: var(--fg); color: var(--bg); }
.act--red:hover .pennant { background: var(--red); }
.sheet .act { color: var(--fg); border-color: var(--fg); }
.sheet .act:hover { background: var(--fg); color: var(--bg); }
.sheet .act--red { color: #fff; border-color: var(--red-ink); }
.sheet .act--red:hover { background: var(--fg); border-color: var(--fg); color: var(--bg); }
.act[aria-disabled="true"], .act:disabled { opacity: .55; }
.acts { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.textlink { font-family: var(--sans); font-weight: 600; font-size: 1rem; display: inline-flex; gap: .5em; align-items: center; }
.textlink .pennant { transition: transform .18s ease; }
.textlink:hover .pennant { transform: translateX(4px); }
button.plain { font: inherit; color: inherit; background: none; border: 0; padding: 0; }

/* small square control (pause, close, prev/next) */
.ctl {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 44px; min-height: 44px; padding: 8px 14px;
  font-family: var(--sans); font-size: .875rem; font-weight: 600; color: var(--fg); background: rgba(239, 232, 218, .72);
  border: 1px solid var(--rule); border-radius: 0; transition: background-color .15s ease, color .15s ease;
}
.ctl:hover { background: var(--fg); color: var(--bg); }
.ctl svg { width: 14px; height: 14px; fill: currentColor; }

/* ------------------------------------------------------------------ header
   A paper nameplate floating just below the top edge (an engraved hairline inside its border), with the burgee, the
   club's name and its year, the main pages, the live wind at the race circle (site.js adds it once Open-Meteo answers),
   Members and Menu. Once you scroll it draws in narrower and a little shorter; it slides away while you scroll down and
   comes back as soon as you scroll up. */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 40; padding: 10px clamp(8px, 1.4vw, 18px) 0; pointer-events: none; transition: transform .45s cubic-bezier(.2, .8, .2, 1); }
.site-header.is-hidden { transform: translateY(-130%); }
body:not(.home) main { padding-top: var(--header-h); }
.site-header .wrap {
  pointer-events: auto; display: flex; align-items: center; gap: clamp(10px, 1.5vw, 22px);
  min-height: 62px; max-width: 1400px; margin: 0 auto; padding: 0 9px 0 14px;
  background: rgba(239, 232, 218, .95); border: 1px solid rgba(20, 32, 74, .16); border-radius: 16px;
  outline: 1px solid rgba(20, 32, 74, .09); outline-offset: -5px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .7) inset, 0 10px 30px rgba(20, 32, 74, .1);
  transition: max-width .55s cubic-bezier(.2, .8, .2, 1), min-height .35s ease, box-shadow .35s ease, background-color .35s ease;
}
.site-header.is-solid .wrap { max-width: 1200px; min-height: 56px; background: rgba(239, 232, 218, .98); box-shadow: 0 1px 0 rgba(255, 255, 255, .7) inset, 0 14px 34px rgba(20, 32, 74, .16); }
.home .site-header:not(.is-solid) .wrap { background: rgba(239, 232, 218, .9); }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; margin-right: auto; }
.brand img { width: 40px; height: auto; }
.brand span { font-family: var(--serif); font-size: 1.22rem; font-weight: 600; line-height: 1; font-variation-settings: "opsz" 32; letter-spacing: -.01em; white-space: nowrap; }
.brand span::after { content: "Est. 1931 · Youngstown, N.Y."; display: block; margin-top: 5px; font: 500 .75rem/1 var(--sans); color: var(--muted); }
.topnav { display: flex; align-items: center; gap: clamp(2px, 1.2vw, 16px); }
.topnav a { position: relative; font-family: var(--sans); font-size: .9375rem; font-weight: 500; text-decoration: none; padding: 12px 4px; }
.topnav a::after { content: ""; position: absolute; left: 4px; right: 4px; bottom: 6px; height: 2px; background: var(--fg); transform: scaleX(0); transform-origin: left; transition: transform .22s ease; }
.topnav a:hover::after, .topnav a:focus-visible::after { transform: scaleX(1); }
.topnav a[aria-current="page"]::after { transform: scaleX(1); background: var(--red); }
/* the live wind at the race circle: the arrow points where the wind blows to */
.header-wind { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 12px 0 8px; border-radius: 999px; background: rgba(20, 32, 74, .06); font: 600 .8125rem/1 var(--sans); color: var(--fg); text-decoration: none; white-space: nowrap; font-variant-numeric: tabular-nums; opacity: 0; transition: opacity .5s ease, background-color .18s ease; }
.header-wind.is-in { opacity: 1; }
.header-wind:hover { background: rgba(20, 32, 74, .12); }
.header-wind svg { width: 18px; height: 18px; flex: none; transition: transform .9s cubic-bezier(.2, .8, .2, 1); }
.header-wind svg path { fill: var(--red-ink); }
.header-wind small { font-weight: 500; color: var(--muted); font-size: .75rem; }
.header-login { font-family: var(--sans); font-size: .9375rem; font-weight: 600; text-decoration: none; padding: 0 18px; min-height: 42px; display: inline-flex; align-items: center; background: var(--red-ink); color: #fff; border: 1px solid var(--red-ink); border-radius: 999px; transition: background-color .18s ease, color .18s ease; }
.header-login:hover { background: var(--fg); border-color: var(--fg); color: var(--bg); }
.contents-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 42px; padding: 0 16px 0 14px; font-family: var(--sans); font-size: .9375rem; font-weight: 600; color: var(--fg); background: none; border: 1px solid rgba(20, 32, 74, .4); border-radius: 999px; transition: background-color .18s ease, color .18s ease; }
.contents-btn:hover { background: var(--fg); color: var(--bg); }
.contents-btn .bars { position: relative; width: 16px; height: 10px; }
.contents-btn .bars::before, .contents-btn .bars::after { content: ""; position: absolute; left: 0; right: 0; height: 2px; background: currentColor; border-radius: 2px; transition: transform .3s ease, width .3s ease; }
.contents-btn .bars::before { top: 0; }
.contents-btn .bars::after { bottom: 0; width: 70%; }
.contents-btn:hover .bars::after { width: 100%; }
@media (max-width: 1240px) { .topnav { display: none; } }
@media (max-width: 900px) { .header-wind { display: none; } }
@media (max-width: 560px) {
  .site-header { padding-inline: 8px; }
  .site-header .wrap { min-height: 56px; padding-inline: 10px 7px; gap: 8px; }
  .header-login { padding: 0 12px; }
  .contents-btn { padding: 0 12px; }
  .brand span { font-size: 1.02rem; white-space: normal; max-width: 9em; }
  .brand span::after { display: none; }
  .brand img { width: 34px; }
}

/* contents panel: the site's table of contents, a sheet that slides in from the right over a soft shade; its three
   groups follow it in one after another. Close, Escape or a click on the shade put it away. */
.contents { position: fixed; inset: 0; z-index: 90; display: flex; justify-content: flex-end; background: rgba(14, 22, 16, 0); color: var(--fg); overscroll-behavior: contain; transition: background-color .45s ease; }
.contents[hidden] { display: none; }
.contents.is-open { background: rgba(14, 22, 16, .34); }
.contents > .wrap {
  width: min(500px, calc(100vw - 48px)); max-width: none; margin: 10px 10px 10px 0; padding: 14px clamp(20px, 2.6vw, 34px) 30px;
  background: var(--bg); border: 1px solid rgba(20, 32, 74, .16); border-radius: 18px; box-shadow: -24px 0 60px rgba(14, 22, 16, .22);
  overflow-y: auto; overscroll-behavior: contain; transform: translateX(calc(100% + 30px)); transition: transform .6s cubic-bezier(.2, .8, .2, 1);
}
.contents.is-open > .wrap { transform: none; }
.contents-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 54px; border-bottom: 1px solid var(--rule); margin-bottom: 22px; }
.contents-top h2 { font-size: 1.5rem; }
.contents-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
.contents-grid > div { opacity: 0; transform: translateX(22px); transition: opacity .45s ease, transform .6s cubic-bezier(.2, .8, .2, 1); }
.contents.is-open .contents-grid > div { opacity: 1; transform: none; }
.contents.is-open .contents-grid > div:nth-child(1) { transition-delay: .14s; }
.contents.is-open .contents-grid > div:nth-child(2) { transition-delay: .2s; }
.contents.is-open .contents-grid > div:nth-child(3) { transition-delay: .26s; }
.contents-grid h3 { font-family: var(--sans); font-size: .875rem; font-weight: 600; color: var(--muted); margin-bottom: 8px; }
.contents-grid ol { list-style: none; margin: 0; padding: 0; }
.contents-grid li { border-top: 1px solid var(--rule); }
.contents-grid a { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 11px 0; text-decoration: none; font-size: 1.22rem; font-variation-settings: "opsz" 32; line-height: 1.15; transition: padding-left .25s ease; }
.contents-grid a:hover { text-decoration: underline; text-decoration-thickness: 2px; padding-left: 6px; }
.contents-grid a .fix { font-size: .8125rem; white-space: nowrap; }
.contents-grid a[aria-current="page"] { justify-content: flex-start; gap: 12px; }
.contents-grid a[aria-current="page"]::before { content: ""; width: 14px; height: 8px; background: var(--red); clip-path: polygon(0 0, 100% 50%, 0 100%); align-self: center; margin-right: -6px; order: -1; }
body.menu-open { overflow: hidden; }
@media (prefers-reduced-motion: reduce) {
  .site-header, .site-header .wrap, .contents, .contents > .wrap, .contents-grid > div, .header-wind svg { transition: none; }
}

/* ------------------------------------------------------------------ page heads */
.page-head { padding-block: clamp(48px, 8vw, 112px) clamp(32px, 5vw, 64px); }
.page-head h1 { max-width: 15ch; }
.page-head .lede { font-size: clamp(1.15rem, 1.6vw, 1.4rem); line-height: 1.5; max-width: 44ch; margin-top: 22px; color: var(--fg); }
.page-head .pilot { align-items: end; }
.crumb { font-family: var(--sans); font-size: .875rem; color: var(--muted); margin-bottom: 18px; display: flex; gap: 10px; align-items: center; }
.crumb a { text-decoration: none; }
.crumb a:hover { text-decoration: underline; }

/* full-bleed photograph with a caption under it */
.plate { margin: 0; }
.plate img { width: 100%; object-fit: cover; }
.plate figcaption { font-family: var(--sans); font-size: .875rem; color: var(--muted); padding-top: 10px; display: flex; justify-content: space-between; gap: 16px; }
.sheet .plate figcaption { color: var(--muted); }
.bleed { width: 100%; }
.bleed img { width: 100%; height: clamp(260px, 52vw, 720px); object-fit: cover; }

/* sections: padding varies with content on purpose */
.sec { padding-block: clamp(44px, 5.6vw, 84px); }
.sec--tight { padding-block: clamp(32px, 4vw, 56px); }
.sec--loose { padding-block: clamp(56px, 7vw, 108px); }
.sec-head { display: grid; gap: 14px; margin-bottom: clamp(28px, 4vw, 48px); }
.sec-head p { color: var(--muted); max-width: 56ch; margin: 0; }
.sheet .sec-head p { color: var(--muted); }

/* ------------------------------------------------------------------ ledgers (real tables) */
.ledger { width: 100%; border-collapse: collapse; font-family: var(--sans); font-size: 1rem; font-variant-numeric: tabular-nums; }
.ledger caption { text-align: left; font-family: var(--serif); font-size: 1.3rem; font-weight: 500; padding-bottom: 12px; }
.ledger th, .ledger td { text-align: left; padding: 12px 16px 12px 0; border-top: 1px solid var(--rule); vertical-align: top; }
.sheet .ledger th, .sheet .ledger td { border-top-color: var(--rule); }
.ledger thead th { font-size: .8125rem; font-weight: 600; color: var(--muted); border-top: 0; padding-bottom: 8px; }
.sheet .ledger thead th { color: var(--muted); }
.ledger td.num, .ledger th.num { text-align: right; padding-right: 0; padding-left: 14px; white-space: nowrap; }
.ledger thead th.num { white-space: normal; }
.ledger tbody th { font-weight: 600; }
.ledger a { font-weight: 600; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* document list (racing PDFs) */
.docs { list-style: none; margin: 0; padding: 0; font-family: var(--sans); }
.docs li { border-top: 1px solid var(--rule); }
.sheet .docs li { border-top-color: var(--rule); }
.docs a { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; padding: 13px 0; text-decoration: none; font-size: 1rem; }
.docs a:hover span:first-child { text-decoration: underline; text-decoration-thickness: 2px; }
.docs .kind { font-size: .8125rem; color: var(--muted); white-space: nowrap; }
.sheet .docs .kind { color: var(--muted); }

/* ------------------------------------------------------------------ footer: one band (the club and its position,
   where it is, how to reach it, the club's social pages as icons), then one line of members' links and the small print */
.site-footer { border-top: 1px solid var(--rule); padding-block: clamp(28px, 3.4vw, 44px) 22px; }
.foot { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, 1fr) auto; gap: 18px clamp(20px, 3vw, 48px); align-items: center; }
.foot__name { display: flex; align-items: center; gap: 14px; }
.foot__name img { width: 52px; height: auto; flex: none; }
.foot__name h2 { font-size: clamp(1.35rem, 1.9vw, 1.75rem); }
.foot__name .fix { margin-top: 4px; }
.foot__where, .foot__call { margin: 0; font: 400 .9375rem/1.6 var(--sans); font-style: normal; }
.foot a { text-decoration: none; }
.foot__where a, .foot__call a { font-weight: 600; }
.foot__where a:hover, .foot__call a:hover { text-decoration: underline; }
.foot__social { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.foot__social a { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--rule); border-radius: 50%; color: var(--fg); transition: background-color .15s ease, color .15s ease; }
.foot__social a:hover { background: var(--fg); color: var(--bg); }
.foot__social svg { width: 18px; height: 18px; fill: currentColor; }
.foot-line { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 10px 24px; margin-top: clamp(20px, 2.4vw, 28px); padding-top: 16px; border-top: 1px solid var(--rule); font-family: var(--sans); font-size: .8125rem; color: var(--muted); }
.foot-line nav { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.foot-line nav a { color: var(--fg); font-weight: 600; text-decoration: none; padding-block: 6px; }
.foot-line nav a:hover { text-decoration: underline; }
.foot-line p { margin: 0; max-width: none; }
.foot-line p a { color: var(--muted); }
@media (max-width: 1080px) {
  .foot { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .foot__name { grid-column: 1 / -1; }
  .foot__social { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .foot { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .foot__name img { width: 44px; }
}

/* ------------------------------------------------------------------ photo viewer */
.viewer { position: fixed; inset: 0; z-index: 95; background: rgba(239, 232, 218, .985); display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }   /* on paper, like a print laid on the table */
.viewer[hidden] { display: none; }
.viewer-top { display: flex; justify-content: flex-end; gap: 8px; padding: 12px; }
.viewer-stage { display: grid; place-items: center; padding: 0 clamp(8px, 4vw, 56px); min-height: 0; position: relative; }
.viewer-stage img { max-height: 100%; max-width: 100%; width: auto; object-fit: contain; }
.viewer-cap { font-family: var(--sans); font-size: .9375rem; color: var(--fg); padding: 14px clamp(16px, 4vw, 56px) 20px; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.viewer-cap .note { margin: 0; }
.viewer-msg { position: absolute; inset: auto 0 12px; text-align: center; font-family: var(--sans); font-size: .9375rem; background: rgba(239, 232, 218, .9); padding: 10px; }

/* ------------------------------------------------------------------ shared skeleton (loading states) */
.skel { display: inline-block; height: .9em; background: linear-gradient(90deg, rgba(20,32,74,.08), rgba(20,32,74,.18), rgba(20,32,74,.08)); background-size: 200% 100%; animation: skel 1.4s linear infinite; vertical-align: middle; }
@keyframes skel { to { background-position: -200% 0; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
