:root {
  --oracal-blue: #003a79;
  --ink: #142033;
  --muted: #596879;
  --line: #dfe6ea;
  --sky: #dbeaf5;
  --blue: var(--oracal-blue);
  --blue-dark: #002a59;
  --blue-soft: #e5eef7;
  --field: #6d8b45;
  --gold: #d99a2b;
  --paper: #f7f4ee;
  --white: #fff;
  --shadow: 0 18px 50px rgba(23, 33, 43, .14);
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}

a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(247, 244, 238, .94);
  border-bottom: 1px solid rgba(23, 33, 43, .08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
  color: var(--ink);
}

.brand-logo {
  display: block;
  width: clamp(108px, 15vw, 170px);
  flex: 0 0 auto;
}

.brand-logo img {
  display: block;
  width: 100%;
  height: auto;
}

.brand strong, .brand em { display: block; }
.brand em { color: var(--muted); font-style: normal; font-size: 13px; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  padding: 10px 12px;
  border-radius: 999px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

.site-nav a[aria-current="page"], .site-nav a:hover {
  background: var(--white);
  box-shadow: 0 1px 0 rgba(23, 33, 43, .08);
}

.site-nav .nav-action {
  color: var(--white);
  background: var(--blue);
}

.site-nav .nav-action:hover {
  color: var(--white);
  background: var(--blue-dark);
}

.site-nav .nav-icon {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  padding: 0;
  color: var(--white);
  background: #1877f2;
}

.site-nav .nav-icon:hover {
  color: var(--white);
  background: #0f5fc5;
}

.nav-icon svg {
  width: 21px;
  height: 21px;
  fill: currentColor;
}

.nav-toggle { display: none; }

.hero {
  position: relative;
  min-height: min(720px, 92vh);
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--ink);
}

.hero-slides {
  position: absolute;
  inset: 0;
}

.hero-slides img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1);
  transition: opacity 1200ms ease, transform 8000ms linear;
}

.hero-slides img.is-active {
  opacity: .9;
  transform: scale(1.035);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(14, 24, 32, .62), rgba(14, 24, 32, .18) 58%, rgba(14, 24, 32, .08));
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: clamp(24px, 5vw, 72px);
  padding: clamp(32px, 5vw, 56px);
  color: var(--white);
  background: rgba(14, 24, 32, .72);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 8px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

h1, h2, h3, p { margin-top: 0; }
h1 {
  margin-bottom: 18px;
  font-size: clamp(44px, 7vw, 84px);
  line-height: .96;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 { font-size: 22px; line-height: 1.2; }

.hero-copy p {
  max-width: 620px;
  font-size: 20px;
}

.error-page {
  min-height: calc(100vh - 260px);
  display: grid;
  align-items: center;
  padding: clamp(48px, 8vw, 104px) clamp(20px, 5vw, 72px);
  background:
    linear-gradient(90deg, rgba(0, 58, 121, .9), rgba(20, 32, 51, .62)),
    url("/assets/img/hero/hero-03.jpg") center / cover;
}

.error-panel {
  max-width: 760px;
  padding: clamp(30px, 5vw, 52px);
  color: var(--white);
  background: rgba(14, 24, 32, .76);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 8px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.error-panel h1 {
  max-width: 680px;
}

.error-panel p:not(.eyebrow) {
  max-width: 620px;
  font-size: 20px;
}

.hero-actions, .callout, .footer-contact, .footer-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
}

.button.primary { background: var(--gold); color: #211505; }
.button.secondary { border-color: currentColor; color: inherit; background: rgba(255,255,255,.08); }

.stats-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--blue);
  color: var(--white);
}

.stats-band div {
  padding: 26px clamp(18px, 4vw, 46px);
  border-right: 1px solid rgba(255,255,255,.16);
}

.stats-band strong { display: block; font-size: 36px; line-height: 1; }
.stats-band span { color: rgba(255,255,255,.72); font-weight: 700; }

.section {
  padding: clamp(56px, 8vw, 104px) clamp(20px, 5vw, 72px);
}

.split, .two-column, .fleet, .alert-section {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(28px, 6vw, 84px);
  align-items: start;
}

.prose {
  color: var(--muted);
  font-size: 18px;
}

.section-intro { color: var(--muted); font-size: 18px; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
}

.feature-grid article {
  background: var(--white);
  min-width: 0;
}

.feature-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.feature-grid div { padding: 28px; }
.feature-grid p { color: var(--muted); }
.feature-grid a { font-weight: 800; }

.photo-band {
  display: grid;
  grid-template-columns: 1.2fr .8fr .8fr 1.2fr;
  gap: 1px;
  background: var(--line);
}

.photo-band img {
  width: 100%;
  height: clamp(220px, 28vw, 420px);
  object-fit: cover;
  display: block;
}

.visual-section {
  align-items: center;
}

.visual-section img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.page-hero {
  padding: clamp(76px, 11vw, 138px) clamp(20px, 5vw, 72px) clamp(34px, 5vw, 56px);
  background: linear-gradient(180deg, var(--blue-soft), var(--paper));
}

.page-hero.compact { padding-bottom: 38px; }
.page-hero h1 { max-width: 960px; color: var(--ink); }
.page-hero p:not(.eyebrow) { max-width: 760px; color: var(--muted); font-size: 20px; }

.page-hero + .section {
  padding-top: clamp(34px, 5vw, 62px);
}

.check-list, .fleet-lists ul {
  padding-left: 20px;
}

.check-list li { margin-bottom: 10px; }

.callout {
  flex-direction: column;
  align-items: flex-start;
  padding: 30px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.callout span { color: var(--muted); font-weight: 800; text-transform: uppercase; font-size: 12px; letter-spacing: .08em; }
.callout strong { font-size: 42px; line-height: 1; }
.callout p { color: var(--muted); }

.membership-application {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(22px, 5vw, 56px);
  align-items: center;
  padding-top: clamp(38px, 6vw, 72px);
  padding-bottom: clamp(38px, 6vw, 72px);
  background: var(--blue);
  color: var(--white);
}

.membership-application h2 {
  max-width: 880px;
}

.membership-application .section-intro {
  max-width: 720px;
  color: rgba(255,255,255,.78);
}

.membership-application .button {
  min-width: 230px;
}

.missing-file-note {
  max-width: 360px;
  padding: 18px;
  color: #211505;
  background: #fff4d8;
  border: 1px solid rgba(217, 154, 43, .45);
  border-radius: 8px;
}

.missing-file-note strong,
.missing-file-note span {
  display: block;
}

.missing-file-note span {
  margin-top: 6px;
}

.table-wrap {
  overflow-x: auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th, td {
  padding: 16px 18px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

th { background: var(--blue-soft); }
.table-note { padding: 18px; margin: 0; }

.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  padding-top: 0;
}

.cards article, .club-list article, .contact-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px;
}

dt { font-weight: 800; margin-top: 18px; }
dd { margin: 6px 0 0; color: var(--muted); }

.fleet {
  background: var(--blue);
  color: var(--white);
}

.fleet .section-intro, .fleet li { color: rgba(255,255,255,.76); }
.fleet-lists {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.fleet-lists div {
  padding: 24px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 8px;
}

.winners { padding-top: 0; }
.winner-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.winner-list span {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 800;
}

.accordion-list details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px 20px;
  margin-bottom: 12px;
}

.arrival-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.arrival-columns > article {
  display: grid;
  gap: 18px;
}

.arrival-columns h2,
.arrival-columns .section-intro {
  margin-bottom: 0;
}

.address-card {
  display: grid;
  gap: 5px;
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.address-card strong,
.address-card span {
  display: block;
}

.address-card strong {
  font-size: 20px;
}

.address-card span {
  color: var(--muted);
}

.address-card .button {
  justify-self: start;
  margin-top: 12px;
}

.map-embed {
  overflow: hidden;
  min-height: 360px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.map-embed iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 360px;
  border: 0;
}

.pilot-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.accordion-list summary {
  cursor: pointer;
  font-weight: 800;
}

.accordion-list p { color: var(--muted); margin: 12px 0 0; }

.alert {
  padding: 28px;
  background: #fff8e8;
  border: 1px solid #efd295;
  border-radius: 8px;
}

.permission-note {
  padding: 22px;
  color: #211505;
  background: #fff4d8;
  border: 1px solid rgba(217, 154, 43, .55);
  border-left: 6px solid var(--gold);
  border-radius: 8px;
}

.permission-note strong {
  display: block;
  font-size: 20px;
}

.permission-note p {
  margin: 8px 0 0;
}

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

.arrival-grid div {
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.arrival-grid strong, .arrival-grid span { display: block; }
.arrival-grid span { color: var(--muted); margin-top: 6px; }

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

.contact-card span {
  display: block;
  color: var(--muted);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: .08em;
  margin-bottom: 10px;
}

.contact-card a { font-size: 24px; font-weight: 900; }

.form-section { padding-top: 0; }
.form-alert {
  max-width: 860px;
  margin: 0 0 18px;
  padding: 16px 18px;
  border-radius: 8px;
  font-weight: 700;
}

.form-alert.success {
  color: #12351f;
  background: #e4f4e8;
  border: 1px solid #a9d8b4;
}

.form-alert.error {
  color: #4a180e;
  background: #fff0ea;
  border: 1px solid #efb8a4;
}

.form-alert ul {
  margin: 8px 0 0;
  padding-left: 20px;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  max-width: 860px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 800;
}

.contact-form label:nth-child(4), .form-note { grid-column: 1 / -1; }

input, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 13px 14px;
  color: var(--ink);
  font: inherit;
  background: var(--white);
}

button:disabled,
.button:disabled {
  cursor: wait;
  opacity: 0.68;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.club-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.club-list p { color: var(--muted); }

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  padding: 34px clamp(20px, 5vw, 72px);
  background: var(--ink);
  color: var(--white);
}

.site-footer p, .footer-contact { color: rgba(255,255,255,.72); margin: 6px 0 0; }
.footer-links {
  flex-direction: column;
  align-items: flex-start;
}
.footer-links a {
  color: var(--white);
  font-weight: 800;
}
.footer-contact { flex-direction: column; text-align: right; }
.footer-contact a { color: var(--white); font-weight: 800; }

@media (max-width: 880px) {
  .site-header {
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
  }
  .brand {
    min-width: 0;
    flex: 1 1 auto;
    gap: 10px;
  }
  .brand-logo {
    width: clamp(92px, 32vw, 132px);
  }
  .brand strong {
    font-size: 15px;
    line-height: 1.15;
  }
  .brand em {
    font-size: 12px;
  }
  .nav-toggle {
    display: grid;
    gap: 5px;
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    place-content: center;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--white);
  }
  .nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--ink);
  }
  .site-nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 14px;
    right: 14px;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }
  .site-nav.is-open { display: flex; }
  .stats-band, .feature-grid, .split, .two-column, .membership-application, .arrival-columns, .fleet, .cards, .fleet-lists, .winner-list, .alert-section, .arrival-grid, .contact-grid, .club-list, .contact-form, .photo-band {
    grid-template-columns: 1fr;
  }
  .hero {
    min-height: 0;
    align-items: start;
    padding: 16px 0;
  }
  .hero-copy {
    margin: 14px;
    padding: 24px;
  }
  .page-hero {
    padding-top: 44px;
    padding-bottom: 26px;
  }
  .page-hero.compact { padding-bottom: 24px; }
  .page-hero + .section { padding-top: 30px; }
  .hero::after { background: linear-gradient(180deg, rgba(14,24,32,.28), rgba(14,24,32,.68)); }
  .photo-band img { height: 260px; }
  .site-footer { flex-direction: column; }
  .footer-contact { text-align: left; }
}

@media (max-width: 520px) {
  .brand strong, .brand em { display: none; }
  .brand-logo { width: 124px; }
  h1 { font-size: 42px; }
  .hero-copy p, .page-hero p:not(.eyebrow) { font-size: 18px; }
  .stats-band strong { font-size: 30px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slides img {
    transition: none;
    opacity: 0;
  }

  .hero-slides img.is-active {
    opacity: .9;
  }
}
