:root {
  --navy: #1a3070;
  --navy-deep: #0f1f4a;
  --white: #ffffff;
  --muted: rgba(255, 255, 255, 0.74);
  --gold: #c9910d;
  --color-primary: var(--navy);
  --color-secondary: var(--gold);
  --color-brand: #1a3070;
  --font-heading: "Cinzel", serif;
  --font-body: "Inter", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--white);
  background: var(--table-bg, radial-gradient(circle at center, var(--color-brand) 0%, #0d1838 100%));
  background-attachment: fixed;
  background-repeat: no-repeat;
}

h1, h2, h3, .page-title {
  font-family: var(--font-heading);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  padding: 0.5rem 1rem;
  background: var(--white);
  color: var(--navy);
  z-index: 200;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.site-top {
  width: 100%;
  text-align: center;
  padding: clamp(1.25rem, 4vw, 2.5rem) clamp(1.25rem, 4vw, 2rem) clamp(1rem, 3vw, 1.25rem);
}

.logo-wrap {
  width: min(100%, 480px);
  margin: 0 auto;
  filter: none;
  aspect-ratio: 1360 / 920;
}

.logo-wrap svg {
  display: block;
  width: 100%;
  height: auto;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.5rem;
  margin-top: clamp(0.35rem, 1.2vw, 0.65rem);
  font-size: 0.8125rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.site-nav a {
  color: var(--color-secondary);
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--white);
  text-decoration: underline;
}

.site-nav a[aria-current="page"] {
  color: var(--white);
  font-weight: bold;
}

.site-nav-secondary {
  margin-top: 2.5rem;
}

.page-intro {
  width: 100%;
  max-width: 48rem;
  margin: 0 auto;
  padding: clamp(0.65rem, 2vw, 1rem) clamp(1.25rem, 4vw, 2rem) clamp(0.75rem, 2vw, 1.25rem);
  text-align: center;
}

.page-title {
  margin: 0;
  font-size: clamp(1.25rem, 3.5vw, 1.65rem);
  font-weight: bold;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.page-sub {
  margin: 0.4rem 0 0;
  font-size: 0.9rem;
  color: var(--muted);
  letter-spacing: 0.05em;
}

.section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 2.5rem 0;
  width: 100%;
}

.section-divider .line {
  flex: 1;
  max-width: 160px;
  height: 1px;
  background: rgba(255, 255, 255, 0.45);
}

.section-divider svg {
  flex-shrink: 0;
  opacity: 0.95;
}

.pull-quote {
  margin: 1rem 0;
  padding: 1rem 1.15rem;
  border-left: 4px solid var(--gold);
  background: rgba(201, 145, 13, 0.08);
  font-size: 0.98rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.88);
}

.site-footer {
  text-align: center;
  padding: 2rem 1.25rem 2.5rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.site-footer .tagline {
  display: block;
  margin-bottom: 0.75rem;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
}

.site-footer a {
  color: var(--color-secondary);
  text-decoration: none;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: lowercase;
}

.site-footer a:hover {
  color: var(--white);
  text-decoration: underline;
}

.text-strong {
  color: var(--white);
  font-weight: bold;
}

.inline-note {
  align-self: center;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.8rem;
}

.tally-chart {
  margin: 0.75rem 0 1rem;
}

.domino-label-wrap {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.domino-label-text {
  font-size: 10px;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.55);
  text-transform: uppercase;
}
