:root {
  --soot: #12261c;
  --panel: rgba(24, 52, 38, 0.78);
  --gold: #e3c06a;
  --cream: #f7f2e7;
  --muted: #d7ccb6;
  --drop: #7ec4ea;
  --line: rgba(227, 192, 106, 0.32);
  color-scheme: dark;
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
}

* { box-sizing: border-box; }

html { height: 100%; }

body {
  min-height: 100%;
  min-height: 100dvh;
  margin: 0;
  display: flex;
  flex-direction: column;
  color: var(--cream);
  background:
    radial-gradient(880px 420px at 0% -8%, rgba(227, 192, 106, 0.16), transparent 58%),
    radial-gradient(720px 380px at 100% 0%, rgba(94, 168, 214, 0.12), transparent 52%),
    linear-gradient(180deg, #1a3a2b 0%, var(--soot) 42%, #0e1c16 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.018) 0 1px,
    transparent 1px 4px
  );
}

a { color: var(--gold); }
a:hover { color: #f3dfaa; }

.bar {
  width: min(980px, calc(100% - 40px));
  margin: 0 auto;
}

header, main, footer { position: relative; }

header {
  position: sticky;
  top: 0;
  z-index: 2;
  background: rgba(18, 38, 28, 0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(227, 192, 106, 0.14);
}

.top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 16px 0 14px;
}

nav { display: flex; gap: 18px; flex-wrap: wrap; }

nav a {
  color: var(--cream);
  text-decoration: none;
  font-family: "Avenir Next", "Segoe UI", sans-serif;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
}

nav a[aria-current="page"],
nav a:hover { color: var(--gold); }

.mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--cream);
  text-decoration: none;
  font-family: "Avenir Next", "Segoe UI", sans-serif;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.84rem;
}

.mark svg { display: block; }

.meander {
  height: 10px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='36' height='10' viewBox='0 0 36 10'><path d='M0 8h5V2h8v6h5V2h8v6h5V2h5' fill='none' stroke='%23e3c06a' stroke-width='1.3'/></svg>");
  background-repeat: repeat-x;
  background-position: center;
  background-size: 36px 10px;
  opacity: 0.8;
}

main {
  flex: 1 0 auto;
  width: min(980px, calc(100% - 40px));
  margin: 0 auto;
  padding: 42px 0 64px;
}

h1 {
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  line-height: 0.98;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 12px 0 16px;
}

h2 {
  font-size: 1.7rem;
  font-weight: 600;
  margin: 42px 0 14px;
}

p, li {
  font-family: "Avenir Next", "Segoe UI", sans-serif;
  line-height: 1.6;
}

.lede {
  font-size: 1.16rem;
  max-width: 38rem;
  color: #efe6d4;
  margin-top: 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(180px, 0.7fr);
  gap: 28px;
  align-items: center;
}

.emblem {
  justify-self: end;
  width: min(250px, 100%);
  filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.28));
}

.emblem svg { display: block; width: 100%; height: auto; }

.pill {
  display: inline-block;
  margin: 0;
  background: var(--gold);
  color: #1c1915;
  font-weight: 700;
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 0.82rem;
  font-family: "Avenir Next", "Segoe UI", sans-serif;
  letter-spacing: 0.04em;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: var(--panel);
}

.stat {
  margin: 0;
  padding: 18px 20px 16px;
  font-size: 2rem;
  color: var(--gold);
  line-height: 1;
}

.stat + .stat { border-left: 1px solid var(--line); }

.stat span {
  display: block;
  margin-top: 8px;
  font-size: 0.92rem;
  color: var(--cream);
  font-family: "Avenir Next", "Segoe UI", sans-serif;
  font-weight: 500;
  line-height: 1.3;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px 20px;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 1.25rem;
  color: var(--gold);
}

.card p:last-child { margin-bottom: 0; }

.note {
  border-left: 3px solid var(--gold);
}

ul { margin: 0; padding-left: 18px; }
li + li { margin-top: 8px; }

footer {
  margin-top: auto;
  border-top: 1px solid rgba(227, 192, 106, 0.2);
  background: rgba(8, 18, 14, 0.55);
}

.foot {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  padding: 26px 0 32px;
}

.foot p {
  margin: 8px 0 0;
  max-width: 28rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.foot nav { justify-content: flex-end; }

@media (max-width: 760px) {
  .bar, main { width: min(980px, calc(100% - 28px)); }
  .top, .foot { align-items: flex-start; flex-direction: column; }
  .hero, .grid, .stats { grid-template-columns: 1fr; }
  .stat + .stat { border-left: 0; border-top: 1px solid var(--line); }
  .emblem { justify-self: start; width: 180px; }
  .foot nav { justify-content: flex-start; }
}
