:root {
  color-scheme: light;
  --ink: #202a46;
  --paper: #fbf8f0;
  --white: #fffdf9;
  --muted: #555b68;
  --line: #dcd5c5;
  --gold: #8b5b18;
  --night: #1b2945;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.65 system-ui, sans-serif; overflow-wrap: break-word; }
a { color: #694512; text-underline-offset: .18em; }
a:hover { color: var(--night); }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.wrap { width: min(72rem, 100% - 2.5rem); margin-inline: auto; }
.skip { position: absolute; top: -5rem; left: 1rem; padding: .5rem; background: var(--white); z-index: 2; }
.skip:focus { top: .5rem; }
header { border-top: 4px solid var(--night); border-bottom: 1px solid var(--line); }
.mast { display: flex; align-items: center; justify-content: space-between; gap: .75rem 2rem; flex-wrap: wrap; padding-block: 1.2rem; }
.brand { font: 700 1.4rem Georgia, serif; color: var(--ink); text-decoration: none; }
nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: .3rem 1.2rem; margin: 0; padding: 0; }
nav a { color: var(--ink); text-decoration: none; font-size: .9rem; }
nav a:hover, nav a[aria-current=page] { text-decoration: underline; }
main { padding-block: clamp(2rem, 5vw, 4rem); min-height: 60vh; }
h1, h2, h3 { font-family: Georgia, 'Times New Roman', serif; font-weight: normal; line-height: 1.12; margin: 0 0 .8rem; }
h1 { font-size: clamp(2.3rem, 6vw, 4.6rem); letter-spacing: -.04em; max-width: 19ch; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.32rem; }
p { margin: 0 0 1rem; }
.kicker { font-size: .73rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: var(--gold); margin-bottom: .5rem; }
.lede { font-size: clamp(1.05rem, 2vw, 1.23rem); color: var(--muted); max-width: 46rem; }
.hero { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 2rem 4rem; align-items: center; }
.hero img { display: block; width: 100%; height: auto; }
.hero h1 { font-size: clamp(3rem, 7vw, 5.7rem); }
.button, button { display: inline-block; font: inherit; padding: .55rem .9rem; background: var(--night); border: 1px solid var(--night); color: white; text-decoration: none; cursor: pointer; }
.button:hover, button:hover { background: #374a6d; color: white; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14.5rem), 1fr)); gap: .8rem; }
.card { padding: 1.05rem 1.15rem; border: 1px solid var(--line); background: var(--white); }
.card p { font-size: .89rem; color: var(--muted); margin: 0; }
.glyph { font-size: 2rem; color: var(--gold); line-height: 1.3; display: block; margin-bottom: .3rem; }
.panel { margin-top: 2.3rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.prose { max-width: 48rem; }
.prose section { margin-top: 1.5rem; }
.list { list-style: none; margin: 0 0 1.3rem; padding: 0; }
.list li { padding: .55rem 0; border-bottom: 1px solid var(--line); }
.meta, .crumb { color: var(--muted); font-size: .83rem; }
.note { padding: .75rem 1rem; background: #efeade; margin: 1.3rem 0; }
.note p:last-child { margin: 0; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr)); gap: 1rem; padding: 1rem; border: 1px solid var(--line); margin: 1.3rem 0; }
.facts dt { font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.facts dd { margin: .15rem 0 0; }
table { border-collapse: collapse; width: 100%; margin: 1rem 0; font-size: .92rem; }
th, td { padding: .6rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
label { display: block; font-weight: 650; margin-top: .5rem; }
input { font: inherit; padding: .4rem; max-width: 100%; background: var(--white); color: var(--ink); border: 1px solid var(--muted); }
.tools { max-width: 42rem; margin: 1.5rem 0; }
.tools button { margin-top: 1rem; }
fieldset { border: 1px solid var(--line); margin: 1rem 0; padding: .8rem; }
fieldset label { font-weight: normal; font-size: .95rem; }
footer { padding-block: 1.1rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .8rem; }
footer p { margin: 0; }
[hidden] { display: none !important; }
@media (max-width: 640px) {
  .hero { grid-template-columns: 1fr; }
  .hero img { width: min(100%, 20rem); margin-inline: auto; }
  .facts { grid-template-columns: 1fr 1fr; }
}
