/* =========================================================
   Tūrangi Aero Club — shared stylesheet
   Used by index.html, info.html and webcams.html
   ========================================================= */

:root {
  --navy: #10283d;
  --navy-light: #193d58;
  --navy-dark: #091c2b;
  --blue: #2b6a91;        /* darkened from #367da8 for small-text contrast */
  --sky: #eaf3f8;
  --surface: #f5f8fa;
  --line: #dce5eb;
  --text: #263746;
  --muted: #56687a;       /* darkened from #6b7c89 for contrast */
  --gold: #d9ad62;
  --warn-bg: #fff8eb;
  --warn-line: #f3d19c;
  --warn-text: #8a6522;
  --danger: #b32d2d;
  --header-h: 78px;
  --max-width: 1200px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: #fff;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

/* Keep anchor targets clear of the sticky header */
section,
footer,
[id] {
  scroll-margin-top: calc(var(--header-h) + 12px);
}

.container {
  width: min(92%, var(--max-width));
  margin: auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--gold);
  color: var(--navy);
  padding: 10px 16px;
  font-weight: 700;
  z-index: 200;
}

.skip-link:focus {
  left: 10px;
  top: 10px;
}

/* =========================================================
   HEADER & NAVIGATION
   ========================================================= */

header {
  background: var(--navy);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 3px 15px rgba(0,0,0,.15);
}

.navbar {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  width: 54px;
  height: 54px;
}

.brand-name {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 1.5px;
}

.brand-sub {
  font-size: 10px;
  letter-spacing: 3px;
  color: #b8cbd9;
}

nav {
  display: flex;
  gap: 28px;
  align-items: center;
}

nav a {
  color: #e1eaf0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .5px;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
}

nav a:hover,
nav a[aria-current="page"] {
  color: var(--gold);
}

nav a[aria-current="page"] {
  border-bottom-color: var(--gold);
}

nav a.nav-button {
  border: 1px solid var(--gold);
  padding: 10px 17px;
  border-radius: 3px;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 27px;
  cursor: pointer;
  line-height: 1;
  padding: 6px;
}

/* =========================================================
   BUTTONS & LINKS
   ========================================================= */

.buttons,
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.actions {
  margin-top: 24px;
}

.button {
  display: inline-block;
  padding: 14px 24px;
  border-radius: 3px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
  transition: .2s;
}

.button-gold {
  background: var(--gold);
  color: var(--navy);
}

.button-gold:hover {
  background: #fff;
  transform: translateY(-2px);
}

.button-outline {
  border: 1px solid rgba(255,255,255,.7);
  color: #fff;
}

.button-outline:hover {
  background: #fff;
  color: var(--navy);
}

.button-blue {
  background: var(--blue);
  color: #fff;
}

.button-blue:hover {
  background: var(--navy-light);
}

.text-link {
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
}

.text-link:hover {
  text-decoration: underline;
}

/* =========================================================
   HERO (home) & PAGE HERO (sub pages)
   ========================================================= */

.hero {
  min-height: 570px;
  display: flex;
  align-items: center;
  color: #fff;
  background-color: var(--navy);   /* fallback if the photo fails */
  background-image: url('images/turangi-hero.jpg');
  background-image: image-set(
    url('images/turangi-hero.webp') type('image/webp'),
    url('images/turangi-hero.jpg') type('image/jpeg')
  );
  background-size: cover;
  background-position: center;
}

.hero-content {
  max-width: 680px;
  padding: 50px 40px;
  background: rgba(16, 40, 61, 0.78);
  border-radius: 6px;
  border: 1px solid rgba(217, 173, 98, 0.2);
}

.hero h1 {
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.08;
  font-weight: 800;
  margin-bottom: 25px;
}

.hero p {
  font-size: 18px;
  color: #dce7ee;
  max-width: 540px;
  margin-bottom: 35px;
}

.page-hero {
  background:
    linear-gradient(115deg, rgba(8,28,45,.96), rgba(13,42,62,.78)),
    linear-gradient(180deg, #507a96, #18394e);
  color: #fff;
  padding: 72px 0 66px;
  border-bottom: 3px solid var(--gold);
}

.page-hero h1 {
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.08;
  max-width: 850px;
  margin-bottom: 18px;
}

.page-hero p {
  max-width: 720px;
  color: #e2edf3;
  font-size: 17px;
}

.eyebrow {
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 18px;
}

/* =========================================================
   QUICK INFORMATION BAR
   ========================================================= */

.quick-bar {
  background: var(--navy);
  color: #fff;
}

.quick-items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 24px 0;
}

.quick-item {
  text-align: center;
  padding: 5px 15px;
  border-right: 1px solid rgba(255,255,255,.15);
}

.quick-item:last-child {
  border: none;
}

.quick-item strong {
  display: block;
  font-size: 13px;
  color: var(--gold);
  letter-spacing: 1px;
}

.quick-item span {
  font-size: 12px;
  color: #c7d5df;
}

/* =========================================================
   GENERAL SECTIONS
   ========================================================= */

section {
  padding: 85px 0;
}

.section-tight {
  padding: 54px 0;
}

.section-label {
  color: var(--blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-heading {
  color: var(--navy);
  font-size: clamp(28px, 4vw, 39px);
  line-height: 1.2;
  margin-bottom: 20px;
}

.section-heading.small {
  font-size: clamp(24px, 3vw, 30px);
  margin-bottom: 12px;
}

.section-intro {
  color: var(--muted);
  max-width: 720px;
  font-size: 16px;
}

.section-intro + * {
  margin-top: 30px;
}

.center {
  text-align: center;
}

.center .section-intro {
  margin-left: auto;
  margin-right: auto;
}

.stack > * + * {
  margin-top: 16px;
}

/* =========================================================
   HOME PAGE
   ========================================================= */

.welcome-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 65px;
  align-items: center;
}

.welcome-text p {
  margin-bottom: 18px;
}

.welcome-note {
  background: var(--sky);
  padding: 32px;
  border-left: 4px solid var(--gold);
}

.welcome-note h3 {
  color: var(--navy);
  margin-bottom: 12px;
  font-size: 20px;
}

.welcome-note p {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 24px;
}

.features {
  background: #f3f6f8;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 42px;
}

.feature-card {
  background: #fff;
  border: 1px solid #e1e8ed;
  transition: .25s;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(16,40,61,.1);
}

.feature-top {
  min-height: 135px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #244d68, #10283d);
  color: var(--gold);
  font-size: 48px;
}

.feature-body {
  padding: 25px;
}

.feature-body h3 {
  color: var(--navy);
  margin-bottom: 12px;
  font-size: 20px;
}

.feature-body p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 22px;
}

.airfield-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: flex-start;
}

.ops-list {
  list-style: none;
  margin: 24px 0;
}

.ops-list li {
  padding: 10px 0 10px 28px;
  position: relative;
  border-bottom: 1px solid #e8edf0;
  font-size: 14px;
}

.ops-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--blue);
  font-weight: bold;
}

.fee-box {
  background: var(--navy);
  color: #fff;
  padding: 32px;
  border-radius: 4px;
}

.fee-box h3 {
  color: var(--gold);
  margin-bottom: 22px;
  font-size: 21px;
}

.fee-row {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(255,255,255,.16);
  font-size: 14px;
}

.fee-row strong {
  color: var(--gold);
  white-space: nowrap;
}

.fee-note {
  color: #c4d2dc;
  font-size: 12px;
  margin: 18px 0 24px;
}

.fee-note + .fee-note {
  margin-top: -16px;
}

.weather {
  background: var(--sky);
}

.weather-symbol {
  font-size: 42px;
  color: var(--blue);
  margin-bottom: 10px;
}

.weather .section-intro {
  margin: 0 auto 28px;
}

/* =========================================================
   PANELS, TILES & NOTICES (sub pages)
   ========================================================= */

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 18px rgba(16,40,61,.06);
}

.panel-body {
  padding: 24px;
}

.panel-body.roomy {
  padding: 32px;
}

.panel h2,
.panel h3 {
  color: var(--navy);
  font-size: 1.3rem;
  line-height: 1.25;
  margin-bottom: 10px;
}

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

.panel p + p {
  margin-top: 14px;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 28px 0 35px;
}

.info-tile {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 20px;
}

.info-tile span {
  display: block;
  color: var(--muted);
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .09em;
  font-weight: 700;
  margin-bottom: 6px;
}

.info-tile strong {
  color: var(--navy);
  font-size: 1.15rem;
}

.notice {
  border-left: 4px solid var(--gold);
  background: var(--sky);
  padding: 17px 20px;
  border-radius: 0 8px 8px 0;
  font-size: .95rem;
  margin-top: 30px;
}

.notice strong {
  color: var(--navy);
}

.notice-blue {
  border-left-color: var(--blue);
  margin: 0 0 24px;
}

.notice-warn {
  background: var(--warn-bg);
  border: 1px solid var(--warn-line);
  border-left: 4px solid var(--gold);
  margin: 0;
}

.notice-warn .notice-title {
  font-weight: 800;
  color: var(--warn-text);
  font-size: .9rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 8px;
}

.notice-warn em {
  font-style: normal;
  font-weight: 700;
  color: var(--danger);
}

/* =========================================================
   LANDING FEES & PAYMENT (info page)
   ========================================================= */

.fee-panel-intro {
  max-width: 820px;
  margin-bottom: 24px;
}

.fee-panel-intro p {
  font-size: 1.05rem;
}

.fee-list {
  border-top: 1px solid var(--line);
  margin-bottom: 30px;
}

.fee-item {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 20px;
  align-items: center;
  padding: 16px 4px;
  border-bottom: 1px solid var(--line);
}

.fee-item-name {
  font-weight: 700;
  color: var(--navy);
}

.fee-item-name small {
  display: block;
  font-weight: 400;
  color: var(--muted);
  font-size: .85rem;
}

.fee-item-price {
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--navy);
  white-space: nowrap;
}

.fee-payment-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}

.pay-box {
  background: var(--surface);
  padding: 22px;
  border-radius: 8px;
  border: 1px solid var(--line);
}

.pay-box h3 {
  color: var(--navy);
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.pay-box > p {
  font-size: .88rem;
  color: var(--muted);
  margin-bottom: 12px;
}

.pay-details {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 14px;
  font-size: .92rem;
}

.pay-details dt {
  font-weight: 700;
  color: var(--navy);
}

.copy-btn {
  margin-left: 8px;
  font-size: .75rem;
  padding: 2px 8px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  color: var(--blue);
  cursor: pointer;
}

button.button {
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.fee-footnote {
  margin: -14px 0 28px;
  font-size: .9rem;
  color: var(--muted);
}

/* =========================================================
   OFFICIAL LINKS (info page)
   ========================================================= */

.link-list {
  display: grid;
  gap: 12px;
}

.link-item {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  transition: border-color .2s;
}

.link-item:hover {
  border-color: var(--blue);
}

.link-item strong {
  color: var(--navy);
  display: block;
}

.link-item span {
  font-size: .88rem;
  color: var(--muted);
}

.link-item b {
  color: var(--blue);
}

/* =========================================================
   WEATHER CAMERAS
   ========================================================= */

.camera-frame {
  background: #e8eef2;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.camera-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.camera-placeholder {
  padding: 24px;
  text-align: center;
  color: var(--muted);
}

.camera-title {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}

.camera-title h2 {
  margin: 0;
}

.status {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted);
  font-weight: 700;
  white-space: nowrap;
}

.status.ok    { color: #2d7a3e; }
.status.error { color: var(--danger); }

.camera-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 12px 22px;
  border-top: 1px solid var(--line);
  font-size: .82rem;
  color: var(--muted);
}

/* =========================================================
   CLUB & MEMBERSHIP PAGE
   ========================================================= */

.member-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.member-card {
  background: #fff;
  border: 1px solid #e1e8ed;
  border-top: 4px solid var(--blue);
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
}

.member-card.featured {
  border-top-color: var(--gold);
}

.member-tag {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 8px;
}

.member-card h3 {
  color: var(--navy);
  font-size: 1.15rem;
  line-height: 1.3;
  margin-bottom: 10px;
}

.member-card p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 16px;
}

.member-card ul {
  list-style: none;
  margin-top: auto;
  border-top: 1px solid #e8edf0;
  padding-top: 12px;
}

.member-card li {
  font-size: 13px;
  padding: 4px 0 4px 22px;
  position: relative;
}

.member-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--blue);
  font-weight: bold;
}

.member-footnote {
  margin-top: 28px;
  font-size: 14px;
  color: var(--muted);
}

.member-footnote a {
  color: var(--blue);
  font-weight: 700;
  text-decoration: underline;
}

.steps {
  list-style: none;
  counter-reset: step;
  margin-top: 10px;
}

.steps li {
  counter-increment: step;
  position: relative;
  padding: 0 0 26px 58px;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.steps strong {
  display: block;
  color: var(--navy);
  font-size: 1.05rem;
  margin-bottom: 2px;
}

.steps span {
  color: var(--muted);
  font-size: 14px;
}

.history {
  background: #f3f6f8;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 40px;
}

.gallery figure {
  background: #fff;
  border: 1px solid #e1e8ed;
  overflow: hidden;
}

.gallery img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  filter: sepia(.15);
  transition: transform .3s, filter .3s;
}

.gallery a:hover img {
  transform: scale(1.03);
  filter: none;
}

.gallery figcaption {
  padding: 10px 14px;
  font-size: 13px;
  color: var(--muted);
}

.club-hero {
  background:
    linear-gradient(100deg, rgba(8,28,45,.92) 0%, rgba(8,28,45,.7) 50%, rgba(8,28,45,.25) 100%),
    url('images/club/club-hero.jpg') center 40% / cover no-repeat,
    var(--navy);
  padding: 96px 0 90px;
}

.member-price {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 10px;
}

.member-price small {
  font-size: .85rem;
  font-weight: 400;
  color: var(--muted);
}

.operator-strip {
  margin-top: 20px;
  background: var(--navy);
  color: #fff;
  padding: 22px 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px 40px;
  flex-wrap: wrap;
}

.operator-strip > div:first-child strong {
  display: block;
  color: var(--gold);
}

.operator-strip > div:first-child span {
  font-size: 14px;
  color: #c7d5df;
}

.operator-prices {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
}

.operator-prices div {
  display: flex;
  flex-direction: column;
}

.operator-prices span {
  font-size: 12px;
  color: #c7d5df;
  letter-spacing: .5px;
}

.operator-prices strong {
  font-size: 1.2rem;
}

.steps b {
  color: var(--navy);
  white-space: nowrap;
}

.gallery figure.wide {
  grid-column: span 2;
}

.gallery figure.wide img {
  aspect-ratio: 33 / 10;   /* matches the height of a single 16:10 tile */
}

.timeline {
  list-style: none;
  margin: 40px 0 0;
  position: relative;
  max-width: 900px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 95px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: #d3dde4;
}

.timeline li {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 36px;
  padding-bottom: 30px;
  position: relative;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: 89px;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--gold);
  border: 3px solid #f3f6f8;
}

.tl-year {
  font-weight: 800;
  color: var(--navy);
  font-size: 1.05rem;
  text-align: right;
}

.tl-body h3 {
  color: var(--navy);
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.tl-body p {
  font-size: 14.5px;
  color: var(--text);
}

.tl-sources {
  margin-top: 6px;
  font-size: 12px;
  color: var(--muted);
}

.tl-src {
  color: var(--blue);
}

.tl-src:hover {
  text-decoration: underline;
}

.anecdote {
  max-width: 900px;
  margin: 20px 0 0;
  background: #fff;
  border-left: 4px solid var(--gold);
  padding: 22px 26px;
}

.anecdote p {
  font-size: 15px;
  font-style: italic;
  color: var(--text);
}

.anecdote cite {
  display: block;
  margin-top: 10px;
  font-style: normal;
  font-size: 12px;
  color: var(--muted);
}

.anecdote cite a {
  color: var(--blue);
}

.gallery-heading {
  color: var(--navy);
  font-size: 1.3rem;
  margin-top: 54px;
}

.gallery-heading + .gallery {
  margin-top: 20px;
}

@media (max-width: 600px) {
  .timeline::before { left: 7px; }
  .timeline li {
    grid-template-columns: 1fr;
    gap: 4px;
    padding-left: 30px;
  }
  .timeline li::before { left: 1px; }
  .tl-year { text-align: left; }
}

.value-grid {
  margin-top: 36px;
}

.value-card {
  background: #fff;
  border: 1px solid #e1e8ed;
  padding: 26px 24px;
}

.value-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 14px;
}

.value-card h3 {
  color: var(--navy);
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.value-card p {
  font-size: 14px;
  color: var(--muted);
}

.landowner-thanks {
  margin-top: 28px;
  background: var(--navy);
  color: #dce7ee;
  border-left: 4px solid var(--gold);
  padding: 26px 30px;
}

.landowner-thanks h3 {
  color: var(--gold);
  margin-bottom: 8px;
  font-size: 1.15rem;
}

.landowner-thanks p {
  font-size: 15px;
  max-width: 900px;
}

.table-wrap {
  overflow-x: auto;
  margin-top: 20px;
  border: 1px solid #e1e8ed;
  background: #fff;
}

.aircraft-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 560px;
}

.aircraft-table th,
.aircraft-table td {
  text-align: left;
  padding: 10px 14px;
  border-bottom: 1px solid #e8edf0;
}

.aircraft-table th {
  background: var(--navy);
  color: #fff;
  font-size: 12px;
  letter-spacing: .5px;
  text-transform: uppercase;
}

.aircraft-table td:first-child {
  font-weight: 700;
  white-space: nowrap;
}

.aircraft-table td:first-child a {
  color: var(--blue);
}

.aircraft-table tbody tr:nth-child(even) {
  background: var(--surface);
}

.story-hero {
  background:
    linear-gradient(100deg, rgba(8,28,45,.94) 0%, rgba(8,28,45,.75) 55%, rgba(8,28,45,.35) 100%),
    url('images/history/on-approach.jpg') center 45% / cover no-repeat,
    var(--navy);
  padding: 96px 0 90px;
}

.thanks-list {
  list-style: none;
  margin: 14px 0 16px;
  display: grid;
  gap: 10px;
}

.thanks-list li {
  position: relative;
  padding-left: 24px;
  font-size: 15px;
}

.thanks-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}

.thanks-list strong {
  color: #fff;
}

.gallery img,
.camera-frame img {
  cursor: zoom-in;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(6, 18, 28, .94);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  cursor: zoom-out;
}

.lightbox.open {
  display: flex;
  animation: lightbox-in .2s ease;
}

.lightbox figure {
  max-width: 100%;
  max-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox img {
  max-width: min(1400px, 100%);
  max-height: calc(100vh - 110px);
  width: auto;
  height: auto;
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
}

.lightbox figcaption {
  color: #e1eaf0;
  font-size: 15px;
  margin-top: 14px;
  text-align: center;
}

.lightbox-hint {
  position: absolute;
  top: 14px;
  right: 20px;
  color: #8da2b2;
  font-size: 12px;
}

body.lightbox-open {
  overflow: hidden;
}

@keyframes lightbox-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Home page join call-to-action */

.join-cta {
  background: var(--navy);
  color: #fff;
}

.join-cta .section-heading { color: #fff; }
.join-cta .section-label   { color: var(--gold); }
.join-cta .section-intro   { color: #c7d5df; }

.join-cta-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.button-outline-dark {
  border: 1px solid rgba(255,255,255,.7);
  color: #fff;
}

.button-outline-dark:hover {
  background: #fff;
  color: var(--navy);
}

/* =========================================================
   FOOTER
   ========================================================= */

footer {
  background: var(--navy-dark);
  color: #fff;
  padding: 55px 0 25px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 45px;
}

.footer-logo {
  width: 72px;
  height: 72px;
  margin-bottom: 14px;
}

footer h2 {
  color: var(--gold);
  font-size: 14px;
  letter-spacing: 1px;
  margin-bottom: 18px;
}

footer p,
footer a {
  color: #b9c9d4;
  font-size: 13px;
}

footer p + p {
  margin-top: 4px;
}

footer .spaced {
  margin-top: 14px;
}

footer a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.social-links {
  margin-top: 18px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 4px;
  color: #e1eaf0;
}

.social-links a:hover {
  border-color: var(--gold);
  color: var(--gold);
  text-decoration: none;
}

.welcome-text .buttons {
  gap: 10px 28px;
}

.copyright {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 22px;
  color: #8da2b2;
  font-size: 11px;
  text-align: center;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1100px) {
  nav { gap: 20px; }
  nav a { font-size: 12px; }
}

@media (max-width: 960px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .member-grid,
  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1040px) {
  .menu-toggle {
    display: block;
  }

  nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    width: 100%;
    background: var(--navy);
    padding: 25px;
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    box-shadow: 0 10px 20px rgba(0,0,0,.2);
  }

  nav.open {
    display: flex;
  }

  nav a[aria-current="page"] {
    border-bottom-color: transparent;
  }

  nav a.nav-button {
    text-align: center;
  }

  .welcome-grid,
  .airfield-grid,
  .grid-2,
  .fee-payment-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .feature-grid,
  .info-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 520px;
  }

  /* Stack the Stripe button under each fee on narrow screens */
  .fee-item {
    grid-template-columns: 1fr auto;
    gap: 10px 20px;
  }

  .fee-item-pay {
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {
  .member-grid,
  .gallery {
    grid-template-columns: 1fr;
  }

  .gallery figure.wide {
    grid-column: auto;
  }

  .gallery figure.wide img {
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 520px) {
  .brand-logo {
    width: 44px;
    height: 44px;
  }

  .brand-name {
    font-size: 15px;
  }

  .brand-sub {
    font-size: 9px;
  }

  .quick-items {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .quick-item {
    border: none;
  }

  section {
    padding: 60px 0;
  }

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

  .hero-content {
    padding: 30px 20px;
  }

  .panel-body.roomy {
    padding: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
