:root {
  color-scheme: light dark;
  --ink: #202124;
  --muted: #62666d;
  --paper: #f2efe8;
  --line: #c9d7df;
  --accent: #0069b4;
  --accent-strong: #00528d;
  --gold: #b7822e;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  min-height: 100vh;
  min-height: 100svh;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(242, 239, 232, 0.96)),
    linear-gradient(135deg, rgba(0, 105, 180, 0.10), transparent 46%),
    linear-gradient(315deg, rgba(183, 130, 46, 0.10), transparent 52%),
    var(--paper);
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
}

.page-shell {
  display: grid;
  min-height: 100vh;
  min-height: 100svh;
  padding: clamp(14px, 3vw, 28px) clamp(14px, 3vw, 28px) 92px;
  place-items: center;
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(100%, 760px);
  max-height: calc(100svh - 28px);
  padding: 0;
  text-align: center;
}

.eyebrow {
  color: var(--accent-strong);
  font-family: Cinzel, Georgia, "Times New Roman", serif;
  font-size: clamp(1rem, 2.6vw, 1.45rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  margin: 0 0 clamp(10px, 2vh, 18px);
  text-transform: uppercase;
}

.brand-logo {
  display: block;
  width: min(62vw, 260px);
  max-height: min(38vh, 300px);
  height: auto;
  margin: 0 auto;
  object-fit: contain;
}

.brand-logo-fallback {
  color: var(--accent-strong);
  font-family: Cinzel, Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 8vw, 3.6rem);
  font-weight: 700;
  line-height: 1.05;
  margin: 0 auto;
}

.tagline {
  color: var(--accent-strong);
  font-family: Cinzel, Georgia, "Times New Roman", serif;
  font-size: clamp(1rem, 2.7vw, 1.5rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  margin: clamp(8px, 1.8vh, 16px) auto 0;
}

.lead {
  color: var(--muted);
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(0.92rem, 2.2vw, 1.14rem);
  line-height: 1.5;
  margin: clamp(8px, 1.8vh, 15px) auto 0;
  max-width: 610px;
}

.social-links {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: clamp(8px, 2vw, 12px);
  justify-content: center;
  margin-top: clamp(14px, 3vh, 28px);
}

.social-links a {
  border: 1px solid var(--line);
  color: var(--accent-strong);
  display: inline-flex;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.96rem;
  font-weight: 700;
  justify-content: center;
  min-width: 132px;
  padding: 12px 18px;
  text-decoration: none;
}

.social-links span {
  border: 1px solid var(--line);
  color: rgba(0, 82, 141, 0.56);
  display: inline-flex;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.96rem;
  font-weight: 700;
  justify-content: center;
  min-width: 132px;
  padding: 12px 18px;
}

.social-links a[aria-disabled="true"] {
  color: rgba(0, 82, 141, 0.56);
  cursor: not-allowed;
  pointer-events: none;
}

.social-links a:visited {
  color: var(--accent-strong);
}

.social-links a[aria-disabled="true"]:visited {
  color: rgba(0, 82, 141, 0.56);
}

.social-links a:hover,
.social-links a:focus-visible {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  outline: none;
}

.site-menu {
  left: 14px;
  pointer-events: none;
  position: fixed;
  top: 14px;
  z-index: 40;
}

.site-menu-toggle {
  align-items: center;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(0, 82, 141, 0.28);
  border-radius: 4px;
  cursor: pointer;
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  height: 42px;
  justify-content: center;
  list-style: none;
  pointer-events: auto;
  width: 42px;
}

.site-menu-toggle::-webkit-details-marker {
  display: none;
}

.site-menu-toggle span {
  background: var(--accent-strong);
  display: block;
  height: 2px;
  width: 20px;
}

.site-menu-panel {
  background: #ffffff;
  border: 1px solid rgba(32, 33, 36, 0.14);
  box-shadow: 0 16px 40px rgba(32, 33, 36, 0.18);
  display: grid;
  gap: 2px;
  margin-top: 8px;
  min-width: 230px;
  padding: 8px;
  pointer-events: auto;
}

.site-menu-panel a {
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
  padding: 10px 12px;
  text-decoration: none;
}

.site-menu-disabled {
  color: var(--muted);
  cursor: not-allowed;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
  opacity: 0.68;
  padding: 10px 12px;
}

.site-menu-panel a:hover,
.site-menu-panel a:focus-visible {
  background: rgba(0, 105, 180, 0.10);
  color: var(--accent-strong);
  outline: none;
  text-decoration: none;
}

.site-footer {
  align-items: center;
  bottom: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  justify-content: center;
  left: 0;
  padding: 14px 16px 18px;
  position: fixed;
  right: 0;
  background: rgba(242, 239, 232, 0.92);
  border-top: 1px solid rgba(32, 33, 36, 0.10);
  backdrop-filter: blur(8px);
}

.site-footer a {
  color: var(--muted);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
}

.site-footer-disabled {
  color: var(--muted);
  cursor: not-allowed;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  opacity: 0.68;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--accent-strong);
  outline: none;
  text-decoration: underline;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #f5f7fb;
    --muted: #c8d0d9;
    --paper: #101418;
    --line: #324453;
    --accent: #78c7ff;
    --accent-strong: #a8dbff;
    --gold: #e2bd6f;
  }

  body {
    background:
      linear-gradient(180deg, rgba(16, 20, 24, 0.98), rgba(23, 29, 34, 0.98)),
      linear-gradient(135deg, rgba(120, 199, 255, 0.12), transparent 46%),
      linear-gradient(315deg, rgba(226, 189, 111, 0.10), transparent 52%),
      var(--paper);
  }

  .site-menu-toggle,
  .site-menu-panel {
    background: #171d22;
    border-color: rgba(168, 219, 255, 0.35);
  }

  .site-menu-panel a {
    color: var(--ink);
  }

  .site-menu-panel a:hover,
  .site-menu-panel a:focus-visible {
    background: rgba(120, 199, 255, 0.16);
  }

  .site-footer {
    background: rgba(16, 20, 24, 0.92);
    border-top-color: rgba(200, 208, 217, 0.16);
  }
}

@media (max-width: 520px) {
  .page-shell {
    padding: 14px;
  }

  .brand-logo {
    width: min(72vw, 250px);
    max-height: 34vh;
  }

  .social-links a,
  .social-links span {
    min-width: 116px;
    padding: 10px 14px;
  }

  .site-footer {
    padding: 10px 12px 12px;
  }

  .site-footer a {
    font-size: 0.78rem;
  }
}

@media (orientation: landscape) and (max-height: 520px) {
  .brand-logo {
    width: min(32vw, 190px);
    max-height: 42vh;
  }

  .lead {
    max-width: 680px;
  }

  .social-links {
    margin-top: 12px;
  }
}
