:root {
  color-scheme: dark;
  --background: #124662;
  --cream: #fff9e8;
  --muted: #bfd0d7;
  --gold: #d1b663;
  --rule: rgba(255, 249, 232, .16);
  background: var(--background);
  color: var(--cream);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--background); font-size: 16px; line-height: 1.7; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 5px; text-decoration-thickness: 1px; }
a:hover { color: var(--gold); }
a:focus-visible { outline: 2px solid var(--gold); outline-offset: 5px; }
h1, h2, h3, p { margin: 0; }
.home { min-height: 100vh; min-height: 100svh; max-width: 584px; margin-inline: auto; padding: 30px 27px calc(25px + 10svh); display: flex; flex-direction: column; justify-content: center; gap: 34px; }
.logo { margin: 0; align-self: center; width: min(360px, 100%); line-height: 0; animation: logo-in 2.2s cubic-bezier(.2,.7,.2,1) both; }
.logo img { width: 100%; }
.home-nav { text-align: center; }
.home-nav::before { content: ""; display: block; width: 28px; height: 1px; margin: 0 auto 17px; background: var(--gold); }
.home-nav a { display: inline-block; padding: 10px 4px; font-size: 14px; text-decoration-color: rgba(209,182,99,.6); }
.home-contact { display: flex; align-items: center; justify-content: center; align-self: center; gap: 9px; max-width: 100%; min-height: 44px; margin-top: -22px; padding: 8px 0; color: var(--muted); font-size: 13px; line-height: 1.5; text-decoration: none; }
.home-contact svg { flex: 0 0 18px; color: var(--gold); }
.home-contact span { min-width: 0; overflow-wrap: anywhere; }
.home-contact:hover span { text-decoration: underline; }
.materials-header, .materials, .materials-footer { width: calc(100% - 48px); max-width: 820px; margin-inline: auto; }
.materials-header { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-block: 44px; border-bottom: 1px solid var(--rule); }
.brand { display: block; width: min(260px, 62%); flex-shrink: 0; }
.back-link { font-size: 14px; color: var(--muted); white-space: nowrap; }
.page-intro { padding: 64px 0 8px; }
.eyebrow { font-size: 12px; letter-spacing: .09em; color: var(--gold); margin-bottom: 16px; }
.page-intro h1 { font-size: clamp(30px, 5vw, 42px); font-weight: 400; line-height: 1.18; letter-spacing: -.025em; }
.lead { max-width: 590px; margin-top: 20px; color: var(--muted); font-size: 18px; line-height: 1.65; }
.materials-section { margin-top: 56px; }
.materials-section + .materials-section { padding-top: 44px; border-top: 1px solid var(--rule); }
.materials-section h2 { font-size: 24px; font-weight: 400; line-height: 1.3; letter-spacing: -.01em; margin-bottom: 18px; }
.materials-section > p { max-width: 700px; color: var(--muted); }
.download-list { list-style: none; margin: 26px 0 0; padding: 0; }
.download-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 24px; padding: 23px 0; border-top: 1px solid var(--rule); }
.download-list li:last-child { border-bottom: 1px solid var(--rule); }
.download-preview { grid-column: 1 / -1; min-width: 0; margin: 0; background: #fffaed; }
.download-preview img { width: 100%; margin-inline: auto; }
.preview-horizontal { padding: 18px 24px; }
.preview-horizontal img { max-width: 530px; }
.preview-mini { padding: 24px; }
.preview-mini img { max-width: 360px; }
.guide-figure { margin: 28px 0 0; }
.guide-figure > a { display: block; }
.guide-figure img { width: 100%; }
.guide-figure figcaption { margin-top: 10px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.symbolism-figure { max-width: 740px; margin-inline: auto; }
.history-details { margin-top: 24px; }
.history-details summary { cursor: pointer; width: fit-content; color: var(--cream); font-size: 14px; padding-block: 10px; }
.history-details summary:hover { color: var(--gold); }
.history-details summary:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.materials h3 { font-size: 17px; font-weight: 500; line-height: 1.5; margin-bottom: 6px; }
.download-list p { font-size: 14px; line-height: 1.6; color: var(--muted); max-width: 530px; }
.download-link { display: flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; }
.download-link > span:first-child { text-decoration: underline; text-decoration-color: rgba(209,182,99,.6); text-underline-offset: 6px; }
.file-format { color: var(--gold); font-size: 11px; letter-spacing: .08em; }
.guidelines { display: grid; grid-template-columns: 1.2fr 1fr; gap: 36px; }
.guidelines p { color: var(--muted); }
.approval { margin-top: 30px; padding-left: 22px; border-left: 2px solid var(--gold); }
.approval h3 { color: var(--gold); }
.approval p { color: var(--muted); }
.approval p + p { margin-top: 12px; }
.approval a { color: var(--cream); overflow-wrap: anywhere; }
.history-list { margin: 26px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 36px; }
.history-list li { border-top: 1px solid var(--rule); padding-top: 14px; }
.year { display: block; color: var(--gold); font-variant-numeric: tabular-nums; font-size: 17px; margin-bottom: 6px; }
.history-list p { color: var(--muted); font-size: 14px; }
.materials-footer { margin-top: 64px; border-top: 1px solid var(--rule); padding-block: 24px 36px; display: flex; justify-content: space-between; gap: 16px; color: var(--muted); font-size: 12px; }
.skip-link { position: absolute; left: 12px; top: 12px; transform: translateY(-180%); padding: 8px 14px; background: var(--cream); color: var(--background); z-index: 2; }
.skip-link:focus { transform: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
@keyframes logo-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 850px) {
 .home { padding: 36px 20px calc(30px + 10svh); }
 .logo { width: min(300px, 100%); }
}
@media (max-width: 560px) {
 .materials-header, .materials, .materials-footer { width: calc(100% - 40px); }
 .materials-header { padding-block: 28px; gap: 16px; }
 .brand { width: min(210px, 58%); }
 .back-link { font-size: 12px; }
 .page-intro { padding-top: 40px; }
 .lead { font-size: 16px; }
 .materials-section { margin-top: 40px; }
 .materials-section + .materials-section { padding-top: 32px; }
 .materials-section h2 { font-size: 22px; }
 .download-list li { gap: 16px; }
 .preview-horizontal, .preview-mini { padding: 14px; }
 .download-link { flex-direction: column; justify-content: center; gap: 3px; font-size: 14px; }
 .guidelines, .history-list { grid-template-columns: 1fr; gap: 24px; }
 .approval { padding-left: 16px; }
}
@media (prefers-reduced-motion: reduce) { .logo { animation: none; } }
