:root {
  color-scheme: light;
  --bg: #f7f6f1;
  --paper: #fffdfa;
  --ink: #202520;
  --muted: #5b635c;
  --line: #d9d4c8;
  --green: #315f4a;
  --green-2: #517960;
  --blue: #315c7a;
  --gold: #b7782a;
  --soft: #ece8dd;
  --shadow: 0 14px 40px rgba(32, 37, 32, 0.08);
  font-family: Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.6;
}

a {
  color: var(--blue);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--green);
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 54px);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 253, 250, 0.96);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
}

.brand img {
  width: 96px;
  height: auto;
}

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 16px;
  font-size: 0.95rem;
}

nav a {
  color: var(--ink);
  text-decoration: none;
}

nav a[aria-current="page"] {
  color: var(--green);
  font-weight: 700;
}

.hero {
  padding: clamp(44px, 8vw, 92px) clamp(18px, 5vw, 70px) 34px;
  background: linear-gradient(135deg, #fffdfa 0%, #eef0e7 55%, #e3eadf 100%);
  border-bottom: 1px solid var(--line);
}

.hero-inner,
.page {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
}

.hero h1 {
  max-width: 860px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.3rem, 5vw, 4.8rem);
  line-height: 1;
  font-weight: 400;
}

.hero p {
  max-width: 720px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.page {
  padding: 42px 0 72px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  line-height: 1.18;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

h1 {
  margin: 0 0 20px;
  font-size: clamp(2.1rem, 4vw, 3.4rem);
}

h2 {
  margin: 44px 0 14px;
  font-size: clamp(1.6rem, 3vw, 2.35rem);
}

h3 {
  margin: 24px 0 8px;
  font-size: 1.12rem;
}

p,
ul,
ol {
  max-width: 820px;
}

.lead {
  color: var(--muted);
  font-size: 1.18rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 28px 0;
}

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card,
.notice {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  box-shadow: var(--shadow);
}

.card h2,
.card h3 {
  margin-top: 0;
}

.notice {
  border-left: 5px solid var(--green);
}

.section-band {
  margin: 46px calc(50% - 50vw);
  padding: 38px max(18px, calc((100vw - 1120px) / 2));
  background: var(--soft);
  border-block: 1px solid var(--line);
}

.link-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  max-width: 920px;
  padding: 0;
  list-style: none;
}

.link-list a {
  display: block;
  padding: 14px 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.metadata {
  color: var(--muted);
  font-size: 0.95rem;
}

.document-list {
  max-width: 920px;
  padding-left: 1.2rem;
}

.footer {
  padding: 28px clamp(18px, 4vw, 54px);
  background: #202520;
  color: #f5f1e8;
}

.footer a {
  color: #f4d99d;
}

.archive-page table {
  width: 100%;
  border-collapse: collapse;
}

.archive-page td,
.archive-page th {
  border: 1px solid var(--line);
  padding: 8px;
  vertical-align: top;
}

.archive-page img {
  max-width: 100%;
  height: auto;
}

.archive-page [style*="position: absolute"] {
  position: static !important;
  width: auto !important;
  height: auto !important;
}

@media (max-width: 780px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    justify-content: flex-start;
  }

  .grid,
  .grid.two,
  .link-list {
    grid-template-columns: 1fr;
  }

  .brand img {
    width: 78px;
  }
}

@media print {
  body {
    background: white;
  }

  .site-header,
  .footer {
    display: none;
  }

  .card,
  .notice {
    box-shadow: none;
  }
}
