:root {
  color-scheme: dark;
  --sea: #153b50;
  --sea-deep: #0e2b3b;
  --parchment: #eadbb8;
  --cream: #f5e9cb;
  --ink: #302b23;
  --gold: #ba9148;
  --selection: #d9c58f;
  --muted-ink: #655a48;
  --dark-text: #f1e6c8;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  min-width: 320px;
  margin: 0;
  color: var(--dark-text);
  background:
    radial-gradient(ellipse at 50% -10%, rgb(55 105 127 / 36%), transparent 50rem),
    repeating-linear-gradient(0deg, rgb(255 255 255 / 1.2%) 0 1px, transparent 1px 5px),
    var(--sea-deep);
  font: 16px/1.65 Georgia, "Times New Roman", serif;
}
a { color: inherit; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
.masthead {
  display: flex;
  width: min(1160px, calc(100% - 2rem));
  min-height: 84px;
  margin: 1rem auto 2.25rem;
  padding: .7rem 1.15rem;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--gold);
  outline: 1px solid rgb(186 145 72 / 35%);
  outline-offset: 4px;
  background: linear-gradient(110deg, #0f3042, #1b4860 55%, #103247);
  box-shadow: 0 8px 22px rgb(0 0 0 / 22%);
}
.wordmark { display: grid; color: var(--cream); text-decoration: none; line-height: 1; }
.wordmark > span { font-size: clamp(1.55rem, 4vw, 2.1rem); font-weight: 700; letter-spacing: .04em; }
.wordmark small { margin-top: .38rem; color: #d6bd82; font-size: .7rem; letter-spacing: .19em; text-transform: uppercase; }
.edition { margin: 0; color: #e3d4b0; font-size: .9rem; text-align: right; }
.edition span { padding-inline: .25rem; color: var(--gold); }
main { width: min(980px, calc(100% - 2rem)); margin-inline: auto; }
.panel {
  position: relative;
  border: 2px solid var(--gold);
  outline: 1px solid rgb(186 145 72 / 42%);
  outline-offset: 4px;
  background:
    linear-gradient(135deg, rgb(255 255 255 / 18%), transparent 38%),
    repeating-linear-gradient(0deg, rgb(48 43 35 / 2.5%) 0 1px, transparent 1px 4px),
    var(--parchment);
  color: var(--ink);
  box-shadow: 0 15px 40px rgb(0 0 0 / 28%);
}
.corner { position: absolute; width: 18px; height: 18px; border-color: var(--gold); border-style: solid; pointer-events: none; }
.corner-tl { top: 5px; left: 5px; border-width: 2px 0 0 2px; }
.corner-br { right: 5px; bottom: 5px; border-width: 0 2px 2px 0; }
.hero { margin-top: 2.25rem; padding: clamp(1.7rem, 6vw, 4.6rem); }
.overline { margin: 0 0 .55rem; color: #805f29; font-size: .75rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: .75rem; color: var(--sea); font-size: clamp(2.65rem, 8vw, 5.5rem); line-height: .99; letter-spacing: -.035em; }
h1 span { color: #76562c; }
.hero-copy { max-width: 640px; margin-bottom: 1.25rem; color: #514737; font-size: clamp(1.03rem, 2vw, 1.22rem); }
.hero-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem; margin-bottom: 1.45rem; color: #5b4c36; font-size: .86rem; }
.hero-meta i { width: 5px; height: 5px; border-radius: 50%; background: #98743d; }
.brass-button {
  display: inline-flex;
  min-height: 45px;
  padding: .55rem 1rem;
  align-items: center;
  gap: 1rem;
  border: 1px solid #d8b96f;
  border-radius: 2px;
  background: linear-gradient(#1e526d, #12364a);
  box-shadow: inset 0 0 0 2px #153b50, 0 0 0 1px #8e6a30;
  color: #fff0cf;
  font-size: .93rem;
  text-decoration: none;
}
.brass-button:hover { background: linear-gradient(#28617d, #17455c); }
.brass-button span { color: #e5c275; }
.field-notes { padding-top: 3.2rem; }
.section-heading { margin-bottom: 1.35rem; }
.section-heading .overline { color: #dfbd6d; }
.section-heading h2 { margin-bottom: .35rem; color: var(--cream); font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 500; }
.section-heading > p:last-child { margin-bottom: 0; color: #c8c2b2; }
.note-group { margin-top: 1.65rem; }
.group-title {
  margin: 0;
  padding: .52rem .8rem;
  border: 1px solid #8a682f;
  border-bottom: 0;
  background: linear-gradient(90deg, #0d2c3e, #1d4a61 55%, #123548);
  color: #f3e5c4;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: .035em;
}
.note {
  margin: 0;
  border: 1px solid #a9874f;
  border-bottom: 0;
  background: linear-gradient(110deg, #f5e9cb, #e8d7ae);
  color: var(--ink);
}
.note:last-child { border-bottom: 1px solid #a9874f; }
.note summary {
  display: flex;
  min-height: 56px;
  padding: .68rem .9rem;
  align-items: center;
  gap: .8rem;
  cursor: pointer;
  list-style: none;
  font-size: 1.04rem;
  font-weight: 600;
}
.note summary::-webkit-details-marker { display: none; }
.note summary::after {
  display: grid;
  width: 27px;
  height: 27px;
  margin-left: auto;
  flex: 0 0 27px;
  place-items: center;
  border: 1px solid #a47c38;
  background: #e0c995;
  color: #513e20;
  content: "+";
  font: 700 1.2rem/1 Georgia, serif;
}
.note[open] summary::after { content: "−"; }
.note summary:hover { background: rgb(217 197 143 / 30%); }
.note-number { display: inline-grid; width: 27px; height: 27px; flex: 0 0 27px; place-items: center; border: 1px solid #a88443; color: #775c2f; font-size: .75rem; }
.note-body { padding: .2rem 1.1rem 1rem 3.55rem; color: #494132; }
.note-body p { max-width: 760px; margin-bottom: .7rem; }
.note-stamp { margin: .65rem 0 0; color: #75592e; font-size: .76rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
figure { margin: .35rem 0 1rem; }
figure img { display: block; width: 100%; height: auto; border: 1px solid #947345; background: var(--sea); }
figcaption { padding: .45rem .6rem; border: 1px solid #b39968; border-top: 0; color: #554a39; font-size: .82rem; }
.status-panel { margin: 3rem 0; padding: 1.5rem clamp(1.25rem, 4vw, 2.5rem); }
.status-panel h2 { margin-bottom: .55rem; color: var(--sea); font-size: clamp(1.45rem, 4vw, 2rem); font-weight: 500; }
.status-panel > p:last-of-type { max-width: 770px; margin-bottom: 0; color: #514737; }
.site-footer {
  display: flex;
  width: min(1160px, calc(100% - 2rem));
  margin: 0 auto 1.5rem;
  padding: .9rem 1rem;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid #8b6a34;
  color: #d8c69f;
  font-size: .82rem;
}
.site-footer span:first-child { color: #f3e5c4; font-weight: 700; letter-spacing: .08em; }
.site-footer i { color: var(--gold); font-style: normal; }
@media (max-width: 600px) {
  .masthead { min-height: 70px; margin-bottom: 1.5rem; padding-inline: .8rem; }
  .edition { max-width: 145px; font-size: .78rem; }
  .hero { margin-top: 1.5rem; padding: 1.5rem 1.2rem; }
  .note summary { gap: .55rem; font-size: .96rem; }
  .note-body { padding-left: 1rem; }
  .site-footer { flex-direction: column; gap: .25rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
