/* Park by Month: a climatological record sheet. Ledger-green paper, green-black ink, pale ruling, one stamp red for "you are here". */
@font-face { font-family: "Public Sans"; src: url(/fonts/public-sans-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Public Sans"; src: url(/fonts/public-sans-latin-400-italic.woff2) format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Public Sans"; src: url(/fonts/public-sans-latin-700-normal.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Courier Prime"; src: url(/fonts/courier-prime-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Courier Prime"; src: url(/fonts/courier-prime-latin-700-normal.woff2) format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --paper: #edf2ec; --paper-2: #e1e9e0; --cell: #f7faf6; --ink: #13231b; --ink-2: #3a4d43; --rule: #9fb5a6; --rule-2: #c7d5ca;
  --head: #173b2d; --head-ink: #eef4ee; --stamp: #b3261e;
  --i1: rgb(19 35 27 / .5); --i2: rgb(19 35 27 / .72); --i3: rgb(19 35 27 / .92);
  --sans: "Public Sans", system-ui, sans-serif; --typed: "Courier Prime", ui-monospace, monospace;
  --measure: 68ch;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scrollbar-color: var(--rule) var(--paper); }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.55 var(--sans); }
::selection { background: var(--ink); color: var(--paper); }
a { color: var(--ink); text-decoration-color: var(--rule); text-decoration-thickness: 1.5px; text-underline-offset: .18em; }
a:hover { text-decoration-color: var(--ink); }
:focus-visible { outline: 3px solid var(--stamp); outline-offset: 2px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--paper); padding: .6rem 1rem; z-index: 9; }
.skip:focus { left: 1rem; }
h1, h2 { font-weight: 700; line-height: 1.15; letter-spacing: -.01em; text-wrap: balance; }
h1 { font-size: clamp(1.85rem, 1.2rem + 2.6vw, 2.75rem); margin: .4rem 0 .9rem; max-width: 22ch; }
h2 { font-size: 1.3rem; margin: 2.6rem 0 .9rem; padding-top: .7rem; border-top: 2px solid var(--ink); }
h2 small { font: 400 .95rem var(--typed); color: var(--ink-2); margin-left: .4rem; }
abbr { text-decoration: none; }

/* header and the location band */
.bar { background: var(--head); color: var(--head-ink); }
.bar-in { max-width: 72rem; margin: 0 auto; padding: .7rem 1rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.logo { display: flex; align-items: center; gap: .6rem; color: var(--head-ink); text-decoration: none; font-weight: 700; font-size: 1.1rem; letter-spacing: .01em; }
.mark .m-bg { fill: var(--head-ink); } .mark .m-cell { fill: #9fb9a9; } .mark .m-on { fill: var(--ink); }
.nav { display: flex; gap: .3rem; }
.nav a { color: var(--head-ink); text-decoration: none; padding: .55rem .7rem; border: 1px solid transparent; font-size: .98rem; }
.nav a:hover { border-color: rgb(238 244 238 / .4); }
.nav a[aria-current] { border-color: var(--head-ink); }
.nav a:focus-visible { outline-color: #ffb4ab; }
.band { margin: 0; position: sticky; top: 0; z-index: 5; background: var(--paper-2); border-bottom: 1px solid var(--rule); padding: .55rem max(1rem, calc((100vw - 70rem) / 2)); font-size: .82rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; display: flex; align-items: center; gap: .55rem; flex-wrap: wrap; }
.band strong { color: var(--stamp); }
.pin { width: .7rem; height: .7rem; background: var(--stamp); flex: none; }

main .wrap { max-width: 72rem; margin: 0 auto; padding: 1rem 1rem 3rem; }
.crumbs { font-size: .9rem; color: var(--ink-2); margin: .4rem 0 .2rem; }
.crumbs a { color: var(--ink-2); }
.answer { font-size: clamp(1.1rem, 1rem + .45vw, 1.3rem); line-height: 1.5; max-width: var(--measure); margin: 0 0 1.4rem; }
.prose { max-width: var(--measure); } .prose li { margin: .45rem 0; }

/* the month rail: twelve ruled cells, crowd as ink density, best months boxed, current month stamped */
.rail ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(12, 1fr); border: 2px solid var(--ink); background: var(--cell); }
.rail li { border-right: 1px solid var(--rule); position: relative; }
.rail li:last-child { border-right: 0; }
.rail a { display: flex; flex-direction: column; align-items: center; gap: .15rem; padding: .55rem .2rem 0; min-height: 6.4rem; text-decoration: none; color: var(--ink); }
.rail a:hover { background: var(--paper-2); }
.rail b { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; }
.rail .t { font: 700 1.35rem/1 var(--typed); }
.rail .w { font-size: .72rem; color: var(--ink-2); text-align: center; line-height: 1.2; min-height: 1.8em; }
.rail .c { font-size: .72rem; font-weight: 700; text-align: center; line-height: 1.2; margin-bottom: .3rem; }
.rail .now { font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--stamp); }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.rail .ink { margin-top: auto; align-self: stretch; width: auto; height: .75rem; }
.rail li.best a { box-shadow: inset 0 0 0 2px var(--ink); }
.rail li.cur a { box-shadow: inset 0 4px 0 var(--stamp); }
.rail li.best.cur a { box-shadow: inset 0 4px 0 var(--stamp), inset 0 0 0 2px var(--ink); }
.rail li.cur b { color: var(--stamp); }
.rail.months .t { font-size: 1.5rem; }
.rail.months a { min-height: 5.2rem; padding-bottom: .5rem; }
.ink { display: inline-block; width: .85rem; height: .85rem; vertical-align: -.1em; }
.ink0 { background: var(--cell); box-shadow: inset 0 0 0 1.5px var(--ink-2); } .inkx { background: repeating-linear-gradient(135deg, var(--ink-2) 0 1.5px, transparent 1.5px 5px); box-shadow: inset 0 0 0 1.5px var(--ink-2); } .ink1 { background: var(--i1); } .ink2 { background: var(--i2); } .ink3 { background: var(--i3); }
.key { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; padding: 0; margin: .55rem 0 0; font-size: .85rem; color: var(--ink-2); }
.key li { display: flex; align-items: center; gap: .4rem; }
.key .ink { width: 1.4rem; height: .75rem; }
.boxed { display: inline-block; width: 1.4rem; height: .9rem; box-shadow: inset 0 0 0 2px var(--ink); background: var(--cell); }

.dateline { font-size: .9rem; color: var(--ink-2); max-width: var(--measure); margin: 1rem 0; padding: .55rem 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.dateline span { font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: .76rem; color: var(--ink); margin-right: .2rem; }
.dateline span + * , .dateline span:not(:first-child) { margin-left: .3rem; }

/* the record */
.sheet { overflow-x: auto; border: 2px solid var(--ink); background: var(--cell); max-width: 100%; }
.sheet:focus-visible { outline-offset: 3px; }
table.rec { border-collapse: collapse; width: 100%; font-size: .95rem; }
.rec caption { text-align: left; font-weight: 700; padding: .6rem .7rem; border-bottom: 1px solid var(--rule); background: var(--paper-2); }
.rec th, .rec td { padding: .5rem .7rem; border-bottom: 1px solid var(--rule-2); text-align: right; white-space: nowrap; }
.rec thead th { font-size: .74rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-2); vertical-align: bottom; border-bottom: 1px solid var(--ink); background: var(--cell); white-space: normal; min-width: 4.5rem; }
.rec th[scope=row], .rec thead th:first-child { text-align: left; }
.rec tbody th { font-weight: 700; }
.rec td { font-size: .95rem; text-align: left; }
.rec td.n { font-family: var(--typed); font-size: 1rem; text-align: right; }
.rec tbody tr:last-child th, .rec tbody tr:last-child td { border-bottom: 0; }
.rec .tag { font: 700 .72rem var(--sans); letter-spacing: .08em; text-transform: uppercase; border: 1px solid var(--ink); padding: .05rem .3rem; margin-left: .5rem; vertical-align: .1em; }
.rec tfoot th, .rec tfoot td { border-top: 2px solid var(--ink); border-bottom: 0; font-weight: 700; }
.rec td .ink { margin-right: .45rem; }
.rec tbody tr:nth-child(even) > * { background: #e5ede4; }
.code { display: block; font: 700 .7rem/1.2 var(--typed); letter-spacing: .08em; color: var(--ink-2); margin-bottom: .15rem; text-transform: none; }
.rec th.n, .rec td.n { text-align: right; }
.rec thead th:not(.n) { text-align: left; }

/* the record: caption outside the scroll; months as columns under the rail on wide screens, as rows on narrow ones */
figure.record { margin: 0; }
figure.record figcaption { font-weight: 700; padding: .6rem .7rem; border: 2px solid var(--ink); border-bottom: 0; background: var(--paper-2); }
figure.record .sheet { border-top-width: 1px; }
.fn { font-size: .85rem; color: var(--ink-2); margin: .5rem 0 0; }
.cue { display: none; font-weight: 400; font-size: .85rem; color: var(--ink-2); margin-top: .2rem; }
.rec.wide { table-layout: fixed; }
.rec.wide col.c-f { width: 11rem; } .rec.wide col.c-y { width: 5.5rem; }
.rec.wide th, .rec.wide td { padding: .5rem .3rem; text-align: center; white-space: normal; }
.rec.wide th[scope=row], .rec.wide thead th:first-child { text-align: left; padding-left: .7rem; }
.rec.wide td.n { font-size: .95rem; }
.rec.wide td.w { font-size: .8rem; line-height: 1.25; }
.rec.wide td.w .ink { display: block; width: auto; height: .45rem; margin: 0 .3rem .3rem; }
.rec.wide td .dbar { margin: .3rem .3rem 0; }
.rec.wide thead th.best { box-shadow: inset 0 0 0 2px var(--ink); }
.rec.wide thead .tag { display: block; width: max-content; margin: .25rem auto 0; }
.rec.wide .yr { border-left: 1px solid var(--ink); font-weight: 700; }
.rec.tall { display: none; }
.rec.tall th[scope=row], .rec.tall thead th:first-child { position: sticky; left: 0; z-index: 1; background: var(--cell); }
.rec.tall tbody tr:nth-child(even) > th { background: #e5ede4; }
.rec.fixed { table-layout: fixed; }
.rec.fixed col.c-park { width: 30%; } .rec.fixed col.c-st { width: 22%; } .rec.fixed col.c-cr { width: 16%; }
.rec.slim td { white-space: normal; }

/* sheet header block */
.sheethead { display: grid; grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr)); margin: 0 0 1.2rem; border: 2px solid var(--ink); background: var(--cell); }
.sheethead div { padding: .5rem .7rem; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.sheethead dt { font: 700 .72rem var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.sheethead dd { margin: .15rem 0 0; font: 400 1rem var(--typed); }
.sheethead dd small { display: block; font-size: .85rem; color: var(--ink-2); }

/* rail registration cells (park pages, wide screens) */
.rail li.lead, .rail li.tail { display: none; }
@media (min-width: 900px) {
  .rail.reg ol { grid-template-columns: 11rem repeat(12, 1fr) 5.5rem; }
  .rail.reg li.lead { display: flex; flex-direction: column; justify-content: space-between; padding: .55rem .7rem .3rem; font-size: .78rem; font-weight: 700; color: var(--ink-2); }
  .rail.reg li.lead .code { display: inline; margin-right: .3rem; }
  .rail.reg li.tail { display: flex; flex-direction: column; align-items: center; gap: .15rem; padding-top: .55rem; border-left: 1px solid var(--ink); }
  .rail.reg li.tail b { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; }
}
@media (max-width: 899px) {
  .rec.wide { display: none; } .rec.tall { display: table; } .cue { display: block; }
}
.rec tr:target { outline: 3px solid var(--stamp); outline-offset: -3px; }
.dbar { display: block; height: 5px; margin-top: .25rem; background: linear-gradient(to right, var(--ink) 0 calc(var(--d) * 100%), var(--rule-2) 0); }

.facts { list-style: none; padding: 0; margin: 1.4rem 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); border-top: 1px solid var(--rule); }
.facts li { padding: .65rem 0; border-bottom: 1px solid var(--rule); }
.facts b { display: block; font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.note, .verdict { max-width: var(--measure); }
.verdict { font-size: 1.1rem; font-weight: 700; }
.official { margin: 1.4rem 0; font-weight: 700; }

/* month page tiles: one ruled form row */
.tiles { display: grid; grid-template-columns: repeat(6, 1fr); margin: 1.4rem 0 1rem; border: 2px solid var(--ink); background: var(--cell); }
.tiles div { padding: .7rem .8rem .8rem; border-right: 1px solid var(--rule); }
.tiles div:last-child { border-right: 0; }
.tiles dt { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.tiles dd { margin: .3rem 0 0; font: 700 1.45rem/1.15 var(--typed); }
.tiles dd small { font: 400 .85rem var(--sans); margin-left: .25rem; color: var(--ink-2); }
.tiles dd .ink { margin-right: .4rem; }
.tiles dd.w { font: 700 1.15rem/1.3 var(--sans); }
.tiles dt .code { margin-bottom: .1rem; }

.pn { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 2px solid var(--ink); margin: 2rem 0; max-width: 34rem; }
.pn a { padding: .7rem .9rem; text-decoration: none; font-weight: 700; background: var(--cell); }
.pn a + a { border-left: 1px solid var(--rule); text-align: right; }
.pn a:hover { background: var(--paper-2); }
.pn small { display: block; font-weight: 400; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.up { margin: 1.4rem 0; }

.links { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--rule); }
.links li { padding: .6rem 0; border-bottom: 1px solid var(--rule); display: flex; flex-wrap: wrap; justify-content: space-between; gap: .1rem 1rem; }
.links li a { font-weight: 700; }
.links li span { color: var(--ink-2); font-size: .92rem; }
.links.cols { columns: 2 22rem; column-gap: 2.5rem; border-top: 0; }
.links.cols li { break-inside: avoid; }

/* footer: the sheet's foot */
footer.site { background: var(--head); color: var(--head-ink); margin-top: 2rem; }
footer.site a { color: var(--head-ink); text-decoration-color: rgb(238 244 238 / .4); }
footer.site a:focus-visible { outline-color: #ffb4ab; }
.fin { max-width: 72rem; margin: 0 auto; padding: 2rem 1rem 1rem; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; }
.fin h2 { border: 0; padding: 0; margin: 0 0 .6rem; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; }
.fin ul { list-style: none; padding: 0; margin: 0; }
.fin li { margin: .35rem 0; }
.mgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 1rem; }
.fine { max-width: 72rem; margin: 0 auto; padding: .2rem 1rem 1rem; font-size: .85rem; color: #c3d3c8; }

@media (max-width: 760px) {
  .rail ol { grid-template-columns: repeat(6, 1fr); }
  .rail li:nth-child(6) { border-right: 0; }
  .rail li:nth-child(-n+6) { border-bottom: 1px solid var(--rule); }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .tiles div:nth-child(2n) { border-right: 0; }
  .tiles div:nth-child(-n+4) { border-bottom: 1px solid var(--rule); }
  .fin { grid-template-columns: 1fr; }
  .band { position: static; }
}
@media (max-width: 380px) {
  .rail .t { font-size: clamp(.95rem, 4.4vw, 1.35rem); }
  .rail .w, .rail .c { font-size: .7rem; }
}
@media (max-width: 600px) {
  .rec.slim thead, .rec.slim colgroup { display: none; }
  .rec.slim, .rec.slim tbody { display: block; }
  .rec.slim tr { display: grid; grid-template-columns: 1fr 1fr; gap: .3rem 1rem; padding: .65rem .7rem; border-bottom: 1px solid var(--rule-2); }
  .rec.slim th, .rec.slim td { display: block; padding: 0; border: 0; text-align: left; white-space: normal; background: none !important; }
  .rec.slim th[scope=row] { grid-column: 1 / -1; font-size: 1.02rem; }
    .rec.slim td::before { content: attr(data-label); display: block; font: 700 .7rem var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
  .rec.slim tbody tr:nth-child(even) { background: #e5ede4; }
}
@media print {
  .bar, footer.site, .band, .pn, .skip { display: none; }
  body { background: #fff; } .sheet { overflow: visible; border-color: #000; }
}
