/* Hallmark · shape: Reference sheet (custom swap of Narrative Workflow: a single consult page, no workflow) · genre: editorial · theme: Almanac (picked from list: a calendar/reference site) · job: visit · draw: c059db
 * hero: printed sheet head (h1 + one-line lead) · nav: edge-aligned bar · footer: colophon line · imagery: none (no material given; Wayback images not reused) · signature: the page as a printed almanac sheet on slate stock
 * axes: mid/grotesk-sans/chromatic-magenta · posture: restrained · contrast: pass · fold: pass · copy: verbatim · v2.0.0 */
/* Hallmark · pre-emit critique: P3 H4 E4 S3 R5 V4 · weakest: S, template serves any niche; specificity comes from the recovered page titles and routes, not decoration */
/* Hallmark · waive 44c · the sheet head is title plus lead on a reading page · each route is a recovered calendar article that readers reach from an old link, the body is what they came for */
/* Hallmark · waive 59 · gaps sit inside one printed sheet between article sections · a calendar article reads as one continuous sheet, landing-strip spacing would split the feriados list */
/* Hallmark · waive 77 · article sections are prose and lists inside the sheet · a recovered feriados page has no visuals to give mass, its weight is the dated list itself */
/* Hallmark · waive 78 · h2 at text-2xl under the sheet title · section heads in a calendar article are subheads of one document, not new landing sections */
/* Hallmark · waive 49b · related links are full recovered page titles · the calendar titles must stay complete so each route keeps its original wording */
:root {
  color-scheme: light;
  --space-3xs: 2px; --space-2xs: 4px; --space-xs: 8px; --space-sm: 12px; --space-md: 16px; --space-lg: 24px; --space-xl: 40px; --space-2xl: 64px; --space-3xl: 96px; --space-4xl: 144px;
  --text-xs: 0.8125rem; --text-sm: 0.875rem; --text-md: 1rem; --text-lg: 1.25rem; --text-xl: 1.5625rem; --text-2xl: 1.953rem; --text-3xl: 2.441rem;
  --text-display-s: clamp(2.25rem, 4vw + 0.5rem, 3.75rem); --text-display: clamp(2.75rem, 5vw + 1rem, 5.25rem);
  --text-section: clamp(2rem, 2.5vw + 1rem, 3.5rem); --text-title: clamp(1.25rem, 0.75vw + 0.875rem, 1.625rem); --text-lead: clamp(1.125rem, 0.35vw + 1rem, 1.375rem);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1); --ease-in: cubic-bezier(0.7, 0, 0.84, 0); --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-micro: 120ms; --dur-short: 220ms; --dur-long: 420ms;
  --color-error: oklch(52% 0.19 27); --color-success: oklch(50% 0.12 150);
  --container: 1440px; --gutter: 64px; --gap-columns: 32px; --section-gap-s: 120px; --section-gap: 144px; --section-gap-l: 176px;
  --z-base: 1; --z-raised: 10; --z-dropdown: 100; --z-sticky: 200; --z-sticky-nav: 300; --z-modal: 400; --z-toast: 500; --z-tooltip: 600;
  --color-paper: oklch(84% 0.012 245); --color-paper-2: oklch(81% 0.012 245); --color-paper-3: oklch(77% 0.012 245);
  --color-ink: oklch(16% 0.020 245); --color-ink-2: oklch(24% 0.018 245); --color-muted: oklch(38% 0.016 245);
  --color-rule: oklch(73% 0.013 240); --color-rule-2: oklch(32% 0.018 240);
  --color-accent: oklch(45% 0.180 350); --color-accent-2: oklch(37% 0.160 350); --color-accent-ink: oklch(97% 0.006 245); --color-focus: oklch(46% 0.190 350);
  --color-sheet: oklch(93.5% 0.008 245);
  --font-display: "Hanken Grotesk", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Newsreader", ui-serif, Georgia, serif;
  --font-outlier: "IBM Plex Mono", ui-monospace, monospace;
  --radius-card: 0; --radius-pill: 2px; --rule-hair: 1px; --rule-bar: 2px; --shadow-card: none;
  --tracking-display: -0.02em; --display-weight: 600;
}
*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { scrollbar-color: var(--color-muted) var(--color-paper); scroll-padding-top: var(--space-3xl); }
body { margin: 0; background: var(--color-paper); color: var(--color-ink); font-family: var(--font-body); font-size: var(--text-md); line-height: 1.55; -webkit-font-smoothing: antialiased; caret-color: var(--color-accent); }
::selection { background: color-mix(in oklab, var(--color-accent) 22%, transparent); color: var(--color-ink); }
:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.16em; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: var(--display-weight, 700); font-synthesis: none; letter-spacing: var(--tracking-display); line-height: 1.05; overflow-wrap: break-word; min-width: 0; text-wrap: balance; }
h1 { max-width: 20ch; font-size: var(--text-display); } h2 { max-width: 30ch; font-size: var(--text-section); } h3 { max-width: 40ch; font-size: var(--text-title); line-height: 1.2; }
.lead { font-size: var(--text-lead); line-height: 1.45; max-width: 52ch; }
p { margin: 0; text-wrap: pretty; }
p:not([class]) { max-width: 65ch; }
img, video { max-width: 100%; height: auto; display: block; }
svg { display: block; }
[hidden] { display: none !important; }
button, input, select, textarea { font: inherit; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); box-sizing: border-box; }
.num, .figure, td.num { font-variant-numeric: tabular-nums; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
[data-slot] { position: relative; overflow: hidden; background: linear-gradient(160deg, var(--color-paper-2, var(--color-paper)), var(--color-paper-3, var(--color-paper))); }
[data-slot] > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
[data-slot]:has(> img) > :not(img):not([data-keep]) { display: none !important; }
@media (max-width: 60rem) { :root { --gutter: 24px; --section-gap-s: 80px; --section-gap: 96px; --section-gap-l: 120px; } }
@media (max-width: 40rem) { :root { --gutter: 16px; --section-gap-s: 56px; --section-gap: 72px; --section-gap-l: 96px; --gap-columns: 16px; } }
@media (prefers-reduced-motion: reduce) { *:not(.keep-motion), *:not(.keep-motion)::before, *:not(.keep-motion)::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; } }
/* photographs: muted */
[data-slot] > img { filter: saturate(0.65) contrast(0.97); }
/* página: hoja de consulta sobre papel pizarra */
.saltar { position: absolute; left: var(--space-md); top: calc(-1 * var(--space-3xl)); background: var(--color-ink); color: var(--color-sheet); padding: var(--space-sm) var(--space-md); z-index: var(--z-modal); }
.saltar:focus-visible { top: var(--space-md); }
.cabecera { border-bottom: var(--rule-bar) solid var(--color-ink); background: var(--color-paper); }
.cabecera__fila { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--space-sm) var(--space-xl); padding-block: var(--space-md); }
.marca { font-family: var(--font-display); font-weight: var(--display-weight); font-size: var(--text-lg); letter-spacing: var(--tracking-display); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--space-2xs) var(--space-lg); font-family: var(--font-display); font-size: var(--text-sm); }
.menu a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; color: var(--color-ink-2); }
.menu a:hover, .menu a[aria-current] { color: var(--color-accent-2); text-decoration: underline; }
.hoja { background: var(--color-sheet); border: var(--rule-hair) solid var(--color-rule-2); margin-block: var(--space-xl) var(--space-2xl); max-width: 48rem; margin-inline: auto; padding: var(--space-2xl) var(--space-xl); }
.hoja__cabeza { display: grid; gap: var(--space-lg); padding-bottom: var(--space-xl); border-bottom: var(--rule-hair) solid var(--color-rule); }
.hoja__cabeza h1 { font-size: var(--text-display-s); max-width: 22ch; }
.hoja__cuerpo { display: grid; gap: var(--space-xl); padding-top: var(--space-xl); }
.bloque { display: grid; gap: var(--space-md); }
.bloque h2 { font-size: var(--text-2xl); max-width: 36ch; line-height: 1.15; }
.bloque ul, .otras ul { margin: 0; padding-left: var(--space-lg); display: grid; gap: var(--space-xs); max-width: 65ch; }
.bloque li::marker { color: var(--color-accent); }
.otras { max-width: 48rem; grid-template-columns: minmax(0, 1fr); margin: 0 auto var(--space-2xl); border-top: var(--rule-bar) solid var(--color-ink); padding-top: var(--space-lg); display: grid; gap: var(--space-md); }
.otras h2 { font-size: var(--text-xl); }
.otras ul { list-style: none; padding: 0; grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr)); gap: 0 var(--gap-columns); }
.otras li { border-bottom: var(--rule-hair) solid var(--color-rule-2); }
.otras a { display: flex; align-items: center; min-height: 44px; padding-block: var(--space-xs); font-family: var(--font-display); text-decoration: none; }
.otras a:hover { color: var(--color-accent-2); text-decoration: underline; }
.pie { border-top: var(--rule-hair) solid var(--color-rule-2); background: var(--color-paper-2); color: var(--color-ink-2); font-size: var(--text-sm); }
.pie__fila { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-sm); padding-block: var(--space-xl); }
.pie a { display: inline-flex; align-items: center; min-height: 44px; }
@media (max-width: 40rem) { .hoja { padding: var(--space-xl) var(--space-md); margin-block: var(--space-md) var(--space-xl); } }
.menu a:active, .otras a:active, .pie a:active, .marca:active { color: var(--color-accent); }
.bloque li:has(> .dato) { display: grid; grid-template-columns: minmax(0, 9.5rem) minmax(0, 1fr); gap: var(--space-sm); }
.bloque .dato { font-family: var(--font-display); font-weight: var(--display-weight); font-variant-numeric: tabular-nums; }
.otras li { display: flex; align-items: flex-end; }
