/* Yearly calendar, the sheet. Landscape Letter by default, A4 landscape
   under html.a4 (the runtime swaps the @page rule). Twelve small months in
   four columns from the monthly calendar's rules, the federal holidays in
   the accent. Colors only through --t-*; static font instances only. */

@font-face { font-family: "Fraunces"; src: url("/assets/fonts/fraunces-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: block; }
@font-face { font-family: "Inter Tight"; src: url("/assets/fonts/intertight-400.woff2") format("woff2"); font-weight: 400; font-display: block; }
@font-face { font-family: "Inter Tight"; src: url("/assets/fonts/intertight-500.woff2") format("woff2"); font-weight: 500; font-display: block; }

@page { size: Letter landscape; margin: 0; }

:root { --t-paper: #ffffff; --t-ink: #1a1a1a; --t-accent: #8f2d2d; --t-muted: #6b7078; }
html, body { margin: 0; padding: 0; background: #fff; }
[hidden] { display: none !important; }

.sheet {
  width: 11in; height: 8.5in; padding: 0.5in 0.5in 0.6in; box-sizing: border-box; position: relative; overflow: hidden;
  background: var(--t-paper); color: var(--t-ink);
  font: 400 10pt/1.4 "Inter Tight", system-ui, sans-serif;
  display: flex; flex-direction: column; gap: 0.2in;
  -webkit-print-color-adjust: exact; print-color-adjust: exact;
  --line: color-mix(in srgb, var(--t-muted) 45%, transparent);
}
html.a4 .sheet { width: 297mm; height: 210mm; }

.head { flex: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 0.3in; border-bottom: 1.5pt solid var(--t-accent); padding-bottom: 0.1in; }
.titles { display: flex; align-items: baseline; gap: 0.2in; min-width: 0; }
.titles h1 { margin: 0; font: 500 30pt/1.2 "Fraunces", Georgia, serif; letter-spacing: -0.005em; color: var(--t-ink); }
.titles .sub { margin: 0; font: 500 8.5pt/1.4 "Inter Tight", system-ui, sans-serif; letter-spacing: 0.12em; text-transform: uppercase; color: var(--t-muted); white-space: nowrap; overflow: hidden; max-width: 3.4in; height: 1.4em; }

.months { flex: 1; min-height: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: repeat(3, minmax(0, 1fr)); column-gap: 0.3in; row-gap: 0.16in; }
.month { display: flex; flex-direction: column; min-height: 0; }
.mname { flex: none; font: 500 9.5pt/1.2 "Fraunces", Georgia, serif; color: var(--t-accent); border-bottom: 0.75pt solid var(--t-accent); padding-bottom: 2pt; margin-bottom: 3pt; }
.dow, .cells { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.dow b { font: 500 6pt/1.6 "Inter Tight", system-ui, sans-serif; color: var(--t-muted); text-align: center; }
.cells { flex: 1; min-height: 0; grid-template-rows: repeat(6, minmax(0, 1fr)); }
.cells i { display: flex; align-items: center; justify-content: center; font-style: normal; font: 400 7pt/1 "Inter Tight", system-ui, sans-serif; color: var(--t-ink); }
.cells .h { color: var(--t-accent); font-weight: 500; }

.foot { position: absolute; left: 0.5in; right: 0.5in; bottom: 0.42in; font-size: 7.5pt; color: var(--t-muted); display: flex; justify-content: space-between; align-items: flex-end; }
.ruler { width: 1in; border-top: 0.5pt solid var(--t-muted); font-size: 6.5pt; color: var(--t-muted); text-align: center; line-height: 1.6; }
