:root {
  --burgundy: #660033;
  --burgundy-dark: #3f001f;
  --khaki: #c8bd91;
  --khaki-deep: #756b45;
  --cream: #f3efdf;
  --paper: #fffdf6;
  --ink: #1a1917;
  --muted: #625d50;
  --rule: #9c8e61;
}
* { box-sizing: border-box; }
html { background: var(--cream); }
body { margin: 0; color: var(--ink); background: linear-gradient(90deg, rgba(102,0,51,.035) 1px, transparent 1px), var(--cream); background-size: 52px 100%; font-family: Arial, Helvetica, sans-serif; font-size: 1rem; line-height: 1.7; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--burgundy); text-underline-offset: .16em; }
a:hover { color: var(--burgundy-dark); }
.skip-link { position: absolute; top: -6rem; left: 1rem; z-index: 20; padding: .65rem 1rem; color: #fff; background: var(--burgundy-dark); }
.skip-link:focus { top: 1rem; }
.site-header { border-bottom: 5px solid var(--khaki-deep); background: #fff; box-shadow: 0 5px 18px rgba(63,0,31,.13); }
.photo-ribbon { width: min(1120px, 100%); height: 150px; margin: 0 auto; display: grid; grid-template-columns: 1.15fr 1fr 1fr; overflow: hidden; border-inline: 1px solid var(--khaki-deep); }
.photo-ribbon img { width: 100%; height: 150px; object-fit: cover; filter: sepia(.18) saturate(.75) contrast(.94); }
.photo-ribbon img + img { border-left: 5px solid #fff; }
.masthead { color: #fff; background: var(--burgundy); display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(300px, .9fr); gap: 2rem; align-items: center; padding: 1.15rem max(1rem, calc((100% - 1080px) / 2)); }
.site-name { margin: 0; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(1.8rem, 4vw, 2.9rem); line-height: 1.05; }
.site-name a { color: #fff; text-decoration: none; }
.tagline { margin: .35rem 0 0; color: #ece2bc; font-size: .74rem; font-weight: bold; letter-spacing: .13em; text-transform: uppercase; }
.identity-notice { margin: 0; padding: .7rem .9rem; border: 1px solid rgba(255,255,255,.5); background: rgba(0,0,0,.14); font-size: .78rem; line-height: 1.45; }
.nav-bar { min-height: 42px; padding: .4rem max(1rem, calc((100% - 1080px) / 2)); display: flex; align-items: center; justify-content: space-between; gap: 1rem; color: #2f2a1e; background: var(--khaki); border-top: 1px solid #e8e0c2; }
.nav-bar p { margin: 0; font-size: .72rem; font-weight: bold; letter-spacing: .08em; text-transform: uppercase; }
.nav-toggle { display: none; padding: .55rem .7rem; border: 1px solid var(--burgundy-dark); border-radius: 0; color: #fff; background: var(--burgundy); font: inherit; font-size: .78rem; font-weight: bold; }
.page-shell { width: min(1080px, calc(100% - 2rem)); margin: 2rem auto 3rem; display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 1.6rem; align-items: start; }
.sidebar { position: sticky; top: 1rem; border: 1px solid var(--khaki-deep); background: #ded5ad; box-shadow: 8px 8px 0 rgba(102,0,51,.1); }
.nav-group + .nav-group { border-top: 1px solid var(--khaki-deep); }
.nav-group h2 { margin: 0; padding: .65rem .85rem; color: #fff; background: var(--burgundy); font-family: Georgia, 'Times New Roman', serif; font-size: 1rem; font-weight: normal; }
.nav-group ul { list-style: none; margin: 0; padding: .35rem 0; }
.nav-group a { display: block; padding: .38rem .85rem; color: #2d281a; border-left: 5px solid transparent; font-size: .78rem; line-height: 1.35; text-decoration: none; }
.nav-group a:hover, .nav-group a[aria-current='page'] { color: var(--burgundy-dark); background: #fff9e9; border-left-color: var(--burgundy); font-weight: bold; }
.document { min-width: 0; padding: clamp(1.25rem, 4vw, 3.25rem); background: linear-gradient(90deg, transparent 0 38px, rgba(102,0,51,.1) 38px 39px, transparent 39px), var(--paper); border: 1px solid #b9ac78; box-shadow: 0 18px 45px rgba(75,61,28,.15); }
.archive-stamp, .eyebrow, .byline { margin: 0 0 .55rem; color: var(--burgundy); font-size: .72rem; font-weight: bold; letter-spacing: .11em; text-transform: uppercase; }
.document h1 { margin: 0 0 1.25rem; color: var(--burgundy); font-family: Georgia, 'Times New Roman', serif; font-size: clamp(2.15rem, 6vw, 4.25rem); font-weight: normal; line-height: 1; }
.document h1::after { content: ''; display: block; width: 7rem; height: 5px; margin-top: 1rem; background: linear-gradient(90deg, var(--burgundy) 0 68%, var(--khaki-deep) 68%); }
.document h2 { margin: 2.1rem 0 .65rem; padding-bottom: .32rem; color: var(--burgundy-dark); border-bottom: 1px solid var(--rule); font-family: Georgia, 'Times New Roman', serif; font-size: clamp(1.35rem, 3vw, 1.8rem); font-weight: normal; line-height: 1.2; }
.document p { margin: .8rem 0 1rem; }
.document ul, .document ol { padding-left: 1.4rem; }
.document li { margin: .42rem 0; }
.document code { padding: .05rem .22rem; background: #eee8d2; font-size: .88em; }
.site-notice { margin: 0 0 1.4rem !important; padding: .75rem .9rem; border: 1px solid #aa9760; border-left: 6px solid var(--burgundy); background: #eee5c5; font-size: .78rem; line-height: 1.5; }
.archive-plate { margin: 1.2rem 0 1.8rem; padding: .5rem; border: 1px solid #998955; background: #d9cfa7; }
.archive-plate img { width: 100%; max-height: 480px; object-fit: cover; border: 1px solid #6f6547; filter: saturate(.82) sepia(.08); }
.archive-plate figcaption { margin: .45rem .2rem .05rem; color: #4f493a; font-size: .68rem; line-height: 1.4; }
.gallery-grid { margin: 1.2rem 0 1.8rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: .65rem; }
.gallery-grid .archive-plate { margin: 0; }
.gallery-grid img { aspect-ratio: 4 / 3; }
.source-note { padding: .85rem 1rem; background: #f0ead4; border-left: 4px solid var(--khaki-deep); font-size: .88rem; }
.page-source { margin-top: 2.4rem !important; padding-top: .75rem; color: var(--muted); border-top: 1px solid var(--rule); font-size: .72rem; }
.button-link { display: inline-block; padding: .55rem .8rem; color: #fff; background: var(--burgundy); text-decoration: none; }
.site-footer { padding: 1.25rem max(1rem, calc((100% - 1080px) / 2)); display: grid; grid-template-columns: 1fr 1.5fr; gap: 2rem; color: #f6f0dc; background: var(--burgundy-dark); font-size: .75rem; line-height: 1.45; }
.site-footer p { margin: .2rem 0; }
.footer-title { font-family: Georgia, 'Times New Roman', serif; font-size: 1.15rem; }
@media (max-width: 780px) {
  .photo-ribbon { height: 105px; }
  .photo-ribbon img { height: 105px; }
  .masthead { grid-template-columns: 1fr; gap: 1rem; }
  .nav-bar { align-items: stretch; flex-direction: column; }
  .nav-toggle { display: block; width: 100%; }
  .nav-bar p { text-align: center; }
  .page-shell { grid-template-columns: 1fr; margin-top: 1rem; }
  .sidebar { display: none; position: static; box-shadow: none; }
  .sidebar.is-open { display: block; }
  .gallery-grid { grid-template-columns: 1fr; }
  .site-footer { grid-template-columns: 1fr; gap: .75rem; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } }
