:root {
  --ink: #0d1b2a;
  --gold: #c9912b;
  --gold-light: #e3b45a;
  --muted: #8fa1b3;
  --shell-line: rgba(201, 145, 43, 0.18);
  --shell-body: "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  --shell-mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  --shell-ease: cubic-bezier(0.23, 1, 0.32, 1);
}

.austral-skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 120;
  transform: translateY(-140%);
  border-radius: 4px;
  background: var(--gold);
  color: var(--ink);
  padding: 10px 14px;
}

.austral-skip-link:focus { transform: translateY(0); }

.austral-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header,
.site-footer,
.site-header * {
  box-sizing: border-box;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  background: rgba(13, 27, 42, 0.96);
  border-bottom: 1px solid var(--shell-line);
  color: #edf4fa;
  font-family: var(--shell-body);
}

@supports (backdrop-filter: blur(16px)) {
  .site-header {
    background: rgba(13, 27, 42, 0.82);
    backdrop-filter: blur(16px);
  }
}

.site-header-spacer { height: 132px; background: var(--ink); }

.site-header .nav-shell {
  width: min(1240px, calc(100% - 32px));
  height: 132px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-header .brand {
  display: flex;
  align-items: center;
  min-width: 0;
}

.site-header .brand img {
  display: block;
  width: clamp(280px, 24vw, 370px);
  max-width: 100%;
  height: auto;
}

.site-header .nav-menu {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 0.88rem;
  color: #d7e1ea;
}

.site-header .nav-menu a {
  color: inherit;
  text-decoration: none;
  transition: color 180ms var(--shell-ease);
}

.site-header .nav-menu a:hover,
.site-header .nav-menu a:focus-visible { color: var(--gold-light); }

.site-header .nav-action {
  border: 1px solid var(--gold);
  border-radius: 999px;
  color: var(--gold-light);
  padding: 9px 14px;
}

.site-header .menu-toggle { display: none; }

.site-footer {
  padding: 36px 0;
  background: #08131f;
  color: var(--muted);
  border-top: 1px solid var(--shell-line);
  font-family: var(--shell-body);
}

.site-footer .footer-grid {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.site-footer img { display: block; width: auto; height: 42px; }
.site-footer p { margin: 0; font-size: 0.86rem; }

@media (max-width: 760px) {
  .site-header-spacer { height: 80px; }
  .site-header .nav-shell { height: 80px; }
  .site-header .brand img { width: min(245px, 64vw); }
  .site-header .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid rgba(201, 145, 43, 0.45);
    border-radius: 50%;
    background: transparent;
    color: var(--gold-light);
    font: 700 0.75rem var(--shell-mono);
  }
  .site-header .menu-toggle i,
  .site-header .menu-toggle i::before,
  .site-header .menu-toggle i::after {
    display: block;
    width: 16px;
    height: 1px;
    background: currentColor;
    content: "";
  }
  .site-header .menu-toggle i::before { transform: translateY(-5px); }
  .site-header .menu-toggle i::after { transform: translateY(4px); }
  .site-header .nav-menu {
    position: fixed;
    inset: 80px 0 0;
    z-index: 90;
    display: none;
    height: calc(100dvh - 80px);
    overflow-y: auto;
    padding: 28px;
    background: rgba(13, 27, 42, 0.98);
    flex-direction: column;
    align-items: flex-start;
    font-size: 1.15rem;
  }
  .site-header .nav-menu.open { display: flex; }
  body.austral-menu-open { overflow: hidden; }
  .site-footer .footer-grid {
    width: min(100% - 28px, 1180px);
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-header *,
  .austral-skip-link { transition-duration: 0.001ms !important; }
}
