:root {
  color-scheme: light;
  --ink: #17262d;
  --muted: #56666b;
  --deep: #102c37;
  --teal: #176d69;
  --teal-dark: #115451;
  --gold: #f0bd5b;
  --paper: #f2f6f4;
  --line: #d8e2de;
  --white: #fff;
  font-family: "Trebuchet MS", Verdana, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.7;
}

a { color: var(--teal-dark); }
a:hover { color: #9a5b09; }

.site-header {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px max(24px, calc((100% - 1180px) / 2));
  background: var(--deep);
  color: var(--white);
  border-bottom: 3px solid var(--gold);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
  color: var(--white);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: .04em;
}

.brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 50%;
  background: var(--white);
}

.brand small {
  display: block;
  color: #b7c9ca;
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.site-nav a {
  flex: 0 0 auto;
  padding: 9px 10px;
  border-radius: 4px;
  color: #e1ebea;
  font-size: .88rem;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: var(--teal);
  color: var(--white);
}

.hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  min-height: 260px;
  padding: 44px max(24px, calc((100% - 1120px) / 2));
  background:
    repeating-linear-gradient(135deg, transparent 0 24px, rgba(255,255,255,.025) 24px 25px),
    linear-gradient(115deg, #102c37 0%, #145552 72%, #1d716a 100%);
  color: var(--white);
}

.hero::after {
  position: absolute;
  right: -90px;
  bottom: -180px;
  width: 390px;
  height: 390px;
  border: 1px solid rgba(240,189,91,.45);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.hero-copy { position: relative; z-index: 1; max-width: 760px; }
.eyebrow { margin: 0 0 8px; color: var(--gold); font-size: .78rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.hero h1 { max-width: 760px; margin: 0; font-family: Georgia, serif; font-size: clamp(2rem, 4vw, 3.25rem); line-height: 1.12; }
.hero p:last-child { max-width: 700px; margin: 14px 0 0; color: #e1ebea; }
.hero-logo { position: relative; z-index: 1; width: 150px; height: 150px; object-fit: contain; border: 5px solid rgba(255,255,255,.85); border-radius: 50%; background: var(--white); box-shadow: 0 14px 34px rgba(0,0,0,.24); }

.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 28px;
  width: min(1120px, calc(100% - 40px));
  margin: 34px auto 60px;
  align-items: start;
}

.content,
.side-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.content { padding: clamp(22px, 4vw, 42px); }
.content h2 { margin: 30px 0 9px; color: var(--deep); font-family: Georgia, serif; font-size: 1.45rem; line-height: 1.3; }
.content h2:first-child { margin-top: 0; }
.content p { margin: 0 0 16px; }
.content ul,
.content ol { padding-left: 22px; }
.content li { margin: 0 0 8px; }
.lead { color: #31484e; font-size: 1.08rem; }
.notice { margin: 24px 0; padding: 16px 18px; border-left: 4px solid var(--gold); background: #fff8e8; }
.notice p:last-child { margin-bottom: 0; }

.side-panel { position: sticky; top: 18px; padding: 20px; }
.side-panel h2 { margin: 0 0 12px; color: var(--deep); font-size: 1rem; }
.side-panel ul { margin: 0; padding: 0; list-style: none; }
.side-panel li + li { border-top: 1px solid var(--line); }
.side-panel a { display: block; padding: 10px 0; font-size: .92rem; text-decoration: none; }
.side-panel a::after { float: right; content: "↗"; color: var(--teal); }

.link-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 22px 0; }
.link-card { display: block; padding: 16px; border: 1px solid var(--line); border-top: 3px solid var(--teal); border-radius: 5px; color: var(--ink); text-decoration: none; transition: transform .18s ease, border-color .18s ease; }
.link-card:hover { transform: translateY(-2px); border-color: var(--gold); }
.link-card strong { display: block; margin-bottom: 4px; color: var(--deep); }
.link-card span { color: var(--muted); font-size: .9rem; }

.breadcrumbs { width: min(1120px, calc(100% - 40px)); margin: 20px auto -18px; color: var(--muted); font-size: .85rem; }
.breadcrumbs a { text-decoration: none; }
.site-footer { padding: 28px 20px; background: var(--deep); color: #d3e0df; text-align: center; font-size: .88rem; }
.site-footer p { margin: 4px 0; }
.site-footer a { color: var(--gold); }
.footer-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 18px; margin: 12px 0; }
.footer-links a { text-decoration: none; }

@media (max-width: 900px) {
  .site-header { display: block; padding: 12px 20px 8px; }
  .site-nav { margin: 10px -4px 0; padding-bottom: 5px; }
  .hero { min-height: 230px; }
  .hero-logo { width: 112px; height: 112px; }
  .layout { grid-template-columns: minmax(0, 1fr); }
  .side-panel { position: static; }
  .side-panel ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
}

@media (max-width: 560px) {
  .hero { grid-template-columns: minmax(0, 1fr); min-height: 0; padding-top: 36px; padding-bottom: 36px; }
  .hero-logo { display: none; }
  .layout { width: min(100% - 24px, 1120px); margin-top: 18px; }
  .content { padding: 20px 17px; }
  .link-grid,
  .side-panel ul { grid-template-columns: minmax(0, 1fr); }
  .breadcrumbs { width: min(100% - 24px, 1120px); margin-top: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}