:root {
  color-scheme: dark;
  --ink: #f7fbff;
  --muted: #b8cee0;
  --ocean: #031a38;
  --deep: #020d20;
  --panel: rgba(2, 24, 54, 0.9);
  --cyan: #31d9f5;
  --gold: #ffd34f;
  --coral: #ff7594;
  --line: rgba(49, 217, 245, 0.35);
  --max-width: 880px;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--deep);
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background: var(--deep);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.7;
}

a {
  color: var(--cyan);
  text-underline-offset: 0.2em;
}

a:hover,
a:focus-visible {
  color: var(--gold);
}

.site-header {
  position: relative;
  overflow: hidden;
  min-height: 410px;
  background-color: var(--ocean);
  background-image: url("assets/ocean-background.jpg");
  background-position: center;
  background-size: cover;
  border-bottom: 1px solid var(--line);
}

.site-header::after {
  position: absolute;
  inset: 0;
  content: "";
  background: rgba(1, 12, 31, 0.56);
  pointer-events: none;
}

.nav {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - 40px), var(--max-width));
  min-height: 72px;
  margin: 0 auto;
}

.brand {
  color: var(--gold);
  font-size: 1.15rem;
  font-weight: 800;
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 8px;
}

.nav-links a {
  padding: 8px 10px;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid transparent;
}

.nav-links a.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.hero {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 40px), var(--max-width));
  margin: 58px auto 0;
  text-align: center;
}

.hero h1 {
  max-width: 760px;
  margin: 2px auto 12px;
  color: var(--ink);
  font-size: 4.4rem;
  line-height: 1.05;
  letter-spacing: 0;
  text-shadow: 0 3px 14px rgba(0, 0, 0, 0.55);
}

.hero > p:not(.eyebrow):not(.updated) {
  max-width: 690px;
  margin: 0 auto;
  color: #e4f5ff;
  font-size: 1.05rem;
}

.hero .eyebrow {
  margin: 0;
  color: var(--cyan);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .updated {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.compact-hero {
  margin-top: 12px;
}

.logo {
  display: block;
  width: min(520px, 82vw);
  max-height: 225px;
  margin: 0 auto 4px;
  object-fit: contain;
  filter: drop-shadow(0 12px 22px rgba(0, 0, 0, 0.4));
}

.page-shell {
  width: min(calc(100% - 40px), var(--max-width));
  margin: 0 auto;
}

.content {
  margin: -34px 0 48px;
  padding: 8px 42px 30px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.28);
}

.content section {
  padding: 30px 0 24px;
  border-bottom: 1px solid rgba(184, 206, 224, 0.16);
}

.content section:last-child {
  border-bottom: 0;
}

h2 {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 1.42rem;
  line-height: 1.25;
  letter-spacing: 0;
}

p {
  margin: 0 0 14px;
}

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

ul,
ol {
  margin: 10px 0 16px;
  padding-left: 1.35rem;
}

li {
  margin-bottom: 7px;
}

li::marker {
  color: var(--coral);
  font-weight: 800;
}

.contact-banner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
}

.contact-button {
  display: inline-flex;
  min-height: 48px;
  padding: 10px 18px;
  align-items: center;
  justify-content: center;
  color: #03243e;
  background: var(--gold);
  border: 2px solid #fff1a6;
  border-radius: 8px;
  font-weight: 850;
  text-decoration: none;
  white-space: nowrap;
}

.contact-button:hover,
.contact-button:focus-visible {
  color: #071526;
  background: #ffe681;
}

.link-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: -26px;
  margin-bottom: 60px;
}

.link-panel {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: center;
  min-height: 145px;
  padding: 24px;
  color: var(--ink);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.24);
}

.link-panel:hover,
.link-panel:focus-visible {
  color: var(--ink);
  border-color: var(--gold);
}

.link-panel strong,
.link-panel small {
  display: block;
}

.link-panel strong {
  color: var(--gold);
  font-size: 1.15rem;
}

.link-panel small {
  margin-top: 4px;
  color: var(--muted);
  line-height: 1.45;
}

.link-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--deep);
  background: var(--cyan);
  border-radius: 50%;
  font-weight: 900;
}

.arrow {
  color: var(--coral);
  font-size: 1.6rem;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  width: min(calc(100% - 40px), var(--max-width));
  margin: 0 auto;
  padding: 22px 0 38px;
  color: var(--muted);
  font-size: 0.86rem;
  border-top: 1px solid rgba(184, 206, 224, 0.14);
}

.site-footer a {
  color: var(--muted);
}

@media (max-width: 680px) {
  body {
    font-size: 16px;
  }

  .site-header {
    min-height: 370px;
  }

  .nav,
  .hero,
  .page-shell,
  .site-footer {
    width: min(calc(100% - 28px), var(--max-width));
  }

  .hero {
    margin-top: 44px;
  }

  .hero h1 {
    font-size: 2.7rem;
  }

  .compact-hero {
    margin-top: 10px;
  }

  .content {
    padding: 4px 22px 20px;
  }

  .contact-banner {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .contact-button {
    width: 100%;
  }

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

  .site-footer {
    flex-direction: column;
    gap: 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
