/* Karl Gashler Airshows v2 */
:root {
  --navy: #001838;
  --navy-2: #072a52;
  --navy-deep: #000a16;
  --ink: #122033;
  --muted: #45546a;
  --gold: #f8a810;
  --gold-hi: #ffc23d;
  --gold-deep: #d8900a;
  --gold-ink: #8a5a00;
  --paper: #fbf8f2;
  --cream: #f3ece0;
  --white: #fffcf7;
  --line: rgba(0, 24, 56, 0.14);
  --line-dark: rgba(255, 252, 247, 0.14);
  --danger: #8d1d22;
  --display: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --body: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  --header: 4.25rem;
  --wrap: 1180px;
  --radius: 6px;
  --shadow: 0 22px 60px rgba(0, 10, 24, 0.22);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 4px); }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, textarea { font: inherit; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; line-height: 0.95; letter-spacing: 0.005em; margin: 0; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
figure { margin: 0; }

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

.ico { width: 16px; height: 16px; flex: none; display: block; }

.skip-link {
  position: absolute; left: 1rem; top: 0.6rem; z-index: 100;
  padding: 0.6rem 0.9rem; background: var(--gold); color: var(--navy);
  font-weight: 700; text-decoration: none; transform: translateY(-200%);
}
.skip-link:focus { transform: none; }

.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;
}

.wrap { width: min(var(--wrap), calc(100% - 2.5rem)); margin-inline: auto; }

.eyebrow {
  display: flex; align-items: center; gap: 0.7rem; margin: 0 0 0.9rem;
  color: var(--gold-ink); font-family: var(--display); font-size: 1rem;
  font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 2rem; height: 3px; background: var(--gold); flex: none; }
.dark .eyebrow, .book .eyebrow, .schedule .eyebrow { color: var(--gold); }

.lede { font-size: 1.2rem; line-height: 1.5; max-width: 60ch; }

.section { padding: 4.5rem 0; position: relative; }
.section h2 { font-size: clamp(2.6rem, 7vw, 4.75rem); font-style: italic; text-transform: uppercase; margin-bottom: 1.1rem; max-width: 18ch; }
.section-head { margin-bottom: 2.25rem; }
.section-head.center { text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head.center h2 { margin-inline: auto; }

.prose { display: grid; gap: 1rem; max-width: 62ch; }

.dark { background: var(--navy-deep); color: var(--white); }
.dark .lede, .dark .prose p { color: rgba(255, 252, 247, 0.86); }
.light { background: var(--white); }

/* Buttons — fixed, modest sizes at all viewports (do not scale with vw/em/flex-grow) */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  box-sizing: border-box;
  min-height: 44px; height: 44px; padding: 12px 22px; border: 2px solid transparent; border-radius: var(--radius);
  font-family: var(--display); font-size: 15px; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; text-decoration: none; cursor: pointer; line-height: 1;
  flex: 0 0 auto; width: auto; max-width: 100%;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.2s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn-lg { min-height: 48px; height: 48px; padding: 14px 26px; font-size: 16px; }
.btn-lg .ico { width: 16px; height: 16px; }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: var(--gold-hi); }
.btn-ghost { background: rgba(0, 10, 22, 0.3); color: var(--white); border-color: rgba(255, 252, 247, 0.75); }
.btn-ghost:hover { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn[disabled] { opacity: 0.6; cursor: progress; transform: none; }

.text-link { color: var(--gold); font-weight: 700; text-decoration: none; }
.text-link:hover { text-decoration: underline; text-underline-offset: 0.2em; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 30;
  background: rgba(0, 16, 38, 0.96); color: var(--white);
  border-top: 4px solid var(--gold);
  backdrop-filter: saturate(140%) blur(8px);
  transition: box-shadow 0.25s;
}
.site-header.is-scrolled { box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35); }
.header-bar {
  position: relative; display: flex; align-items: center; gap: 0.6rem;
  min-height: var(--header); width: min(1260px, calc(100% - 1.5rem)); margin-inline: auto;
}
.logo { display: flex; align-items: center; margin-right: auto; }
.logo img { height: 3.1rem; width: auto; }
a.header-cta { min-height: 40px; height: 40px; padding: 8px 16px; font-size: 15px; }

.nav-toggle {
  display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem;
  border: 1px solid rgba(255, 252, 247, 0.35); border-radius: var(--radius);
  background: transparent; color: var(--white); cursor: pointer;
}
.bars, .bars::before, .bars::after {
  display: block; width: 1.25rem; height: 2px; background: currentColor; position: relative;
  transition: transform 0.2s, background-color 0.2s;
}
.bars::before, .bars::after { content: ""; position: absolute; left: 0; }
.bars::before { top: -6px; }
.bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars::after { transform: translateY(-6px) rotate(-45deg); }

.nav-panel {
  display: none; position: absolute; top: 100%; left: -0.75rem; right: -0.75rem;
  flex-direction: column; padding: 0.5rem 1.25rem 1.25rem;
  background: var(--navy); border-bottom: 3px solid var(--gold);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}
.nav-panel.is-open { display: flex; }
.no-js .nav-panel, html:not(.js) .nav-panel { display: flex; position: static; flex-direction: row; flex-wrap: wrap; gap: 0.25rem 1rem; padding: 0; background: none; box-shadow: none; border: 0; }
html:not(.js) .nav-toggle { display: none; }
.nav-panel a {
  padding: 0.8rem 0.25rem; color: var(--white); text-decoration: none;
  font-family: var(--display); font-size: 1.35rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase;
  border-bottom: 1px solid var(--line-dark);
}
.nav-panel a:hover, .nav-panel a[aria-current="true"] { color: var(--gold); }
.nav-panel a.nav-org { color: var(--gold); }

/* Hero */
.hero {
  position: relative; display: flex; align-items: flex-end; overflow: hidden;
  min-height: calc(100svh - var(--header) - 4px); background: var(--navy-deep); color: var(--white); isolation: isolate;
}
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 40%; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 10, 22, 0.15) 0%, rgba(0, 10, 22, 0.25) 35%, rgba(0, 10, 22, 0.88) 78%, rgba(0, 10, 22, 0.98) 100%);
}
.hero-content { padding: 6rem 0 3rem; }
.hero-kicker {
  font-family: var(--display); font-weight: 600; font-size: 1.05rem; letter-spacing: 0.32em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 0.6rem;
}
.hero h1 {
  font-size: clamp(4rem, 17vw, 10.5rem); font-style: italic; line-height: 0.86; letter-spacing: -0.005em;
  text-shadow: 0 6px 40px rgba(0, 0, 0, 0.45);
}
.hero-sub { margin-top: 1.1rem; max-width: 34rem; font-size: 1.2rem; line-height: 1.5; color: rgba(255, 252, 247, 0.92); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; margin-top: 1.75rem; }
.hero-actions .btn { flex: 0 0 auto; width: auto; min-width: 0; }
.hero-link { margin-top: 1.25rem; }
.hero-link a { color: var(--white); font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--gold); padding-bottom: 0.1rem; }
.hero-link a:hover { color: var(--gold); }

@media (max-width: 479px) {
  .hero-actions { gap: 8px; flex-wrap: nowrap; }
  .hero-actions .btn-lg {
    flex: 1 1 0;
    min-width: 0;
    padding: 10px 12px;
    font-size: 14px;
    letter-spacing: 0.04em;
    min-height: 44px;
    height: 44px;
  }
  .hero-actions .btn-lg .ico { width: 14px; height: 14px; }
}
@media (max-width: 759px) {
  .hero { align-items: flex-end; min-height: auto; }
  .hero-media { bottom: auto; height: 34rem; max-height: 82vh; }
  .hero-media img { object-position: 50% 15%; }
  .hero-media::after { background: linear-gradient(180deg, rgba(0, 10, 22, 0) 45%, rgba(0, 10, 22, 0.7) 75%, var(--navy-deep) 100%); }
  .hero-content { padding: min(24rem, 56vh) 0 2.5rem; }
}

/* Paths */
.paths { background: var(--navy-deep); padding: 0 0 3rem; }
.paths-grid { display: grid; gap: 1rem; }
.path-card {
  position: relative; display: grid; gap: 0.35rem; padding: 1.4rem 3.5rem 1.4rem 1.4rem;
  border-radius: var(--radius); text-decoration: none; color: var(--white);
  background: linear-gradient(135deg, rgba(255, 252, 247, 0.08), rgba(255, 252, 247, 0.03));
  border: 1px solid var(--line-dark); transition: border-color 0.25s, background-color 0.25s, transform 0.25s var(--ease);
}
.path-card:hover { border-color: var(--gold); transform: translateY(-2px); }
.path-card-org { background: linear-gradient(135deg, rgba(248, 168, 16, 0.2), rgba(248, 168, 16, 0.06)); border-color: rgba(248, 168, 16, 0.45); }
.path-label { font-family: var(--display); font-size: 0.95rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); }
.path-card strong { font-family: var(--display); font-size: 2.2rem; font-style: italic; text-transform: uppercase; line-height: 1; }
.path-text { color: rgba(255, 252, 247, 0.8); font-size: 1rem; }
.path-go { position: absolute; right: 1.3rem; top: 50%; transform: translateY(-50%); font-size: 1.8rem; color: var(--gold); transition: transform 0.25s var(--ease); }
.path-card:hover .path-go { transform: translate(4px, -50%); }

/* Features */
#show { padding-top: 3rem; }
.features { list-style: none; display: grid; gap: 1.25rem; }
.feature { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--navy); min-height: 22rem; display: flex; align-items: flex-end; isolation: isolate; }
.feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.feature::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 10, 22, 0) 25%, rgba(0, 10, 22, 0.92) 85%); }
.feature:hover img { transform: scale(1.04); }
.feature-body { padding: 1.4rem; }
.feature-num { display: block; font-family: var(--display); font-weight: 700; color: var(--gold); letter-spacing: 0.2em; margin-bottom: 0.35rem; }
.feature h3 { font-size: 2.2rem; font-style: italic; text-transform: uppercase; margin-bottom: 0.4rem; }
.feature p { color: rgba(255, 252, 247, 0.88); }

/* Reel */
.reel-section { background: linear-gradient(180deg, var(--navy-deep) 0%, var(--navy) 100%); color: var(--white); padding-top: 1rem; }
.reel { max-width: 1040px; margin-inline: auto; }
.reel video { width: 100%; aspect-ratio: 16 / 9; background: #000; border-radius: var(--radius); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(248, 168, 16, 0.35); }
.reel figcaption { margin-top: 0.8rem; text-align: center; color: rgba(255, 252, 247, 0.75); }

/* Pilot */
.pilot-layout { display: grid; gap: 2.25rem; }
.pilot-portrait { position: relative; max-width: 30rem; }
.pilot-portrait img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.pilot-portrait::before { content: ""; position: absolute; inset: 1rem -1rem -1rem 1rem; border: 3px solid var(--gold); border-radius: var(--radius); z-index: -1; }
#pilot .wrap { isolation: isolate; }
#pilot h2 { color: var(--navy); }
#pilot .lede { color: var(--navy); font-weight: 600; }
.stats { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin-top: 2rem; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.stats li { background: var(--white); padding: 1rem 1.1rem; display: grid; gap: 0.15rem; }
.stats strong { font-family: var(--display); font-size: 2.5rem; font-style: italic; line-height: 1; color: var(--navy); }
.stats span { color: var(--muted); font-size: 0.95rem; line-height: 1.3; }

/* Airplane */
.airplane { background: radial-gradient(900px 500px at 85% 20%, rgba(248, 168, 16, 0.13), transparent 60%), var(--navy); }
.airplane-layout { display: grid; gap: 2.5rem; }
.specs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; margin: 2rem 0 0; border-top: 1px solid var(--line-dark); }
.specs div { padding: 0.85rem 0.6rem 0.85rem 0; border-bottom: 1px solid var(--line-dark); }
.specs dt { font-family: var(--display); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.9rem; color: var(--gold); }
.specs dd { margin: 0.15rem 0 0; font-size: 1.1rem; color: var(--white); }
.plane-photos { display: grid; gap: 1rem; align-content: start; }
.plane-photos figure:nth-child(2) { width: 62%; margin: -18% 0 0 auto; position: relative; }
.plane-photos figure:nth-child(2) img { border: 4px solid var(--navy); }
.plane-photos img { width: 100%; border-radius: var(--radius); aspect-ratio: 3 / 2; object-fit: cover; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4); }

/* Gallery */
.gallery-section { background: var(--paper); }
#gallery h2 { color: var(--navy); }
.gallery { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.5rem; }
.gallery > li:first-child { grid-column: span 2; }
.gallery-item { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: var(--navy); cursor: zoom-in; overflow: hidden; border-radius: 4px; }
.gallery-item img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 0.6s var(--ease), opacity 0.3s; }
.gallery-item:hover img, .gallery-item:focus-visible img { transform: scale(1.04); }
.gallery-item:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* Lightbox */
.lightbox { width: min(1180px, calc(100vw - 1.5rem)); max-width: none; max-height: calc(100vh - 1.5rem); padding: 0; border: 0; background: transparent; color: white; }
.lightbox::backdrop { background: rgba(0, 6, 14, 0.92); }
.lightbox-frame { position: relative; }
.lightbox img { width: 100%; max-height: min(80vh, 860px); object-fit: contain; margin-inline: auto; }
.lightbox-figure { margin: 0; }
.lb-btn { position: absolute; z-index: 2; width: 2.9rem; height: 2.9rem; border: 1px solid rgba(255, 255, 255, 0.45); border-radius: 50%; background: rgba(0, 16, 36, 0.75); color: white; cursor: pointer; font-size: 1.5rem; line-height: 1; }
.lb-btn:hover { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.lb-close { top: 0.5rem; right: 0.5rem; }
.lb-prev { left: 0.5rem; top: 42%; }
.lb-next { right: 0.5rem; top: 42%; }

/* Schedule */
.schedule { color: var(--white); overflow: hidden; isolation: isolate; background: var(--navy-deep); padding: 5.5rem 0; }
.schedule-bg { position: absolute; inset: 0; z-index: -1; background: url("../assets/images/gallery-smoke-climb-with-moon.jpg") center 35% / cover no-repeat; }
.schedule-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 10, 22, 0.94) 0%, rgba(0, 12, 28, 0.82) 55%, rgba(0, 12, 28, 0.55) 100%); }
.schedule-inner { max-width: var(--wrap); }
.schedule-list { list-style: none; display: grid; gap: 0.75rem; max-width: 46rem; margin-bottom: 2rem; }
.schedule-list:empty { display: none; }
.event { display: grid; grid-template-columns: auto 1fr; gap: 0.4rem 1.25rem; align-items: center; padding: 1.1rem 1.25rem; border-radius: var(--radius); background: rgba(255, 252, 247, 0.07); border: 1px solid var(--line-dark); border-left: 4px solid var(--gold); }
.event-date { font-family: var(--display); font-size: 1.6rem; font-weight: 700; font-style: italic; color: var(--gold); text-transform: uppercase; min-width: 6.5rem; }
.event-info h3 { font-size: 1.6rem; text-transform: uppercase; }
.event-info p { color: rgba(255, 252, 247, 0.8); }
.event-link { grid-column: 1 / -1; color: var(--gold); font-weight: 700; }
.schedule-list:has(li) ~ .schedule-empty { display: none; }
.schedule-empty { max-width: 40rem; padding: 1.6rem 1.5rem; border-radius: var(--radius); border: 1px dashed rgba(248, 168, 16, 0.6); background: rgba(0, 10, 22, 0.45); margin-bottom: 2.5rem; }
.schedule-empty[hidden] { display: none; }
.empty-title { font-family: var(--display); font-size: 2rem; font-weight: 700; font-style: italic; text-transform: uppercase; color: var(--gold); line-height: 1; margin-bottom: 0.6rem; }
.schedule-empty p:not(.empty-title) { color: rgba(255, 252, 247, 0.88); }
.follow h3 { font-size: 1.5rem; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 1rem; }
.social-big { list-style: none; display: flex; flex-wrap: wrap; gap: 0.6rem; max-width: none; }
.social-big a {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 44px; height: 44px; padding: 6px 16px 6px 12px; border-radius: 999px;
  background: rgba(255, 252, 247, 0.96); color: var(--navy); text-decoration: none;
  flex: 0 0 auto; width: auto;
  transition: background-color 0.2s, transform 0.2s var(--ease);
}
.social-big a:hover { background: var(--gold); transform: translateY(-1px); }
.social-big .ico { width: 20px; height: 20px; }
.social-big strong { display: block; font-family: var(--display); font-size: 15px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; line-height: 1.1; }
.social-big small { display: block; font-size: 11px; line-height: 1.1; color: var(--muted); }
.social-big a:hover small { color: var(--navy); }

/* Organizers */
.org { background: var(--cream); border-top: 6px solid var(--gold); }
.org h2 { color: var(--navy); max-width: 20ch; }
.org-head { margin-bottom: 2rem; }
.glance { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: rgba(0, 24, 56, 0.18); border-radius: var(--radius); overflow: hidden; margin-bottom: 1.5rem; box-shadow: 0 10px 30px rgba(0, 24, 56, 0.08); }
.glance li { background: var(--navy); color: var(--white); padding: 1.1rem 1.1rem; display: grid; gap: 0.25rem; align-content: start; }
.glance span { font-family: var(--display); font-weight: 700; font-size: 0.85rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); }
.glance strong { font-family: var(--display); font-size: 1.45rem; line-height: 1.05; font-weight: 600; }
.org-grid { display: grid; gap: 1rem; }
.org-card { background: var(--white); border-radius: var(--radius); padding: 1.5rem 1.4rem; border: 1px solid var(--line); box-shadow: 0 10px 30px rgba(0, 24, 56, 0.06); }
.org-card h3 { font-size: 1.9rem; font-style: italic; text-transform: uppercase; color: var(--navy); margin-bottom: 1rem; }
.checks { list-style: none; display: grid; gap: 0.6rem; }
.checks li { position: relative; padding-left: 1.75rem; line-height: 1.4; }
.checks li::before { content: ""; position: absolute; left: 0; top: 0.2rem; width: 1.05rem; height: 1.05rem; border-radius: 50%; background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.3l2.6 2.5L12 5.4' fill='none' stroke='%23001838' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 80% no-repeat; }
.org-card-dark { background: var(--navy); color: var(--white); border-color: var(--navy); display: flex; flex-direction: column; }
.org-card-dark h3 { color: var(--white); }
.org-card-dark p { color: rgba(255, 252, 247, 0.85); }
.org-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 0.7rem; margin-top: 1.4rem; }
.org-actions .text-link { align-self: flex-start; margin-top: 0.3rem; }

/* Book */
.book { background: radial-gradient(1100px 420px at 85% -10%, rgba(248, 168, 16, 0.18), transparent 55%), var(--navy); color: var(--white); }
.book .lede { color: rgba(255, 252, 247, 0.88); }
.book-layout { display: grid; gap: 1.25rem; align-items: start; }
.form-card, .contact-card, .form-success { background: var(--paper); color: var(--ink); padding: 1.4rem 1.2rem; border-radius: var(--radius); box-shadow: var(--shadow); }
.form-card h3, .contact-card h3 { font-size: 1.9rem; text-transform: uppercase; font-style: italic; color: var(--navy); margin-bottom: 1rem; }
.form-grid { display: grid; gap: 0.9rem; }
.field { display: flex; flex-direction: column; gap: 0.3rem; }
.field label { font-weight: 700; font-size: 0.95rem; }
.optional { font-weight: 400; color: var(--muted); }
.field input, .field textarea { width: 100%; padding: 0.75rem 0.85rem; border: 1px solid rgba(0, 24, 56, 0.3); border-radius: 4px; background: white; color: var(--ink); }
.field textarea { min-height: 8.5rem; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 3px solid var(--gold); outline-offset: 1px; border-color: var(--navy); }
.field-error { color: var(--danger); font-size: 0.9rem; }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--danger); }
.form-banner { margin: 0 0 0.9rem; padding: 0.75rem 0.85rem; background: #f8e6e4; color: var(--danger); border-left: 3px solid var(--danger); }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.8rem 1rem; margin-top: 1rem; }
.form-actions p { color: var(--muted); font-size: 0.95rem; }
.form-actions a, .form-success a, .contact-card a { color: var(--navy); font-weight: 700; text-underline-offset: 0.15em; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-success h3 { font-size: 2.6rem; color: var(--navy); margin-bottom: 0.7rem; }
.form-success p + p { margin-top: 0.75rem; }
.contact-card { display: grid; gap: 0.35rem; }
.contact-email a { overflow-wrap: anywhere; }
.contact-block { margin-top: 1.1rem; display: grid; gap: 0.5rem; }
.contact-block h4 { font-size: 1.05rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-ink); }
.social-row { list-style: none; display: flex; gap: 0.5rem; }
.social-row a { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: var(--white) !important; transition: background-color 0.2s; }
.social-row a:hover { background: var(--gold); color: var(--navy) !important; }
.social-row .ico { width: 20px; height: 20px; }

/* Footer */
.site-footer { background: var(--navy-deep); color: rgba(255, 252, 247, 0.85); padding: 3rem 0 1.6rem; border-top: 3px solid var(--gold); }
.footer-grid { display: grid; gap: 1.75rem; }
.footer-brand img { height: 5.5rem; width: auto; }
.footer-tag { margin-top: 0.8rem; font-family: var(--display); font-size: 1.5rem; font-style: italic; font-weight: 700; color: var(--gold); text-transform: uppercase; }
.footer-brand p:not(.footer-tag) { margin-top: 0.3rem; max-width: 32ch; color: rgba(255, 252, 247, 0.75); }
.site-footer h2 { font-size: 1.1rem; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 0.6rem; color: var(--white); }
.site-footer ul { list-style: none; display: grid; gap: 0.35rem; }
.site-footer a { color: rgba(255, 252, 247, 0.85); text-decoration: none; overflow-wrap: anywhere; }
.site-footer a:hover { color: var(--gold); }
.fine { margin-top: 2rem; padding-top: 1.2rem; border-top: 1px solid var(--line-dark); font-size: 0.9rem; color: rgba(255, 252, 247, 0.6); }

/* Motion */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
@keyframes heroIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero-media img { animation: heroZoom 9s var(--ease) both; }
.hero-content > * { animation: heroIn 0.9s var(--ease) both; }
.hero-content > :nth-child(2) { animation-delay: 0.1s; }
.hero-content > :nth-child(3) { animation-delay: 0.2s; }
.hero-content > :nth-child(4) { animation-delay: 0.3s; }
.hero-content > :nth-child(5) { animation-delay: 0.4s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* Breakpoints */
@media (min-width: 560px) {
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .gallery > li:first-child { grid-column: span 2; grid-row: span 2; }
  .gallery > li:first-child img { aspect-ratio: auto; }
  .stats { grid-template-columns: repeat(4, 1fr); }
  .glance { grid-template-columns: repeat(4, 1fr); }
  .form-grid { grid-template-columns: 1fr 1fr; }
  .field-wide { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .event { grid-template-columns: auto 1fr auto; }
  .event-link { grid-column: auto; }
}

@media (min-width: 760px) {
  .section { padding: 6rem 0; }
  .paths-grid { grid-template-columns: 1fr 1fr; }
  .features { grid-template-columns: repeat(3, 1fr); }
  .feature { min-height: 30rem; }
  .pilot-layout { grid-template-columns: 0.85fr 1.15fr; gap: 4rem; align-items: center; }
  .org-grid { grid-template-columns: repeat(2, 1fr); }
  .org-card-dark { grid-column: 1 / -1; }
  .book-layout { grid-template-columns: 1.5fr 0.8fr; gap: 1.5rem; }
  .form-card, .contact-card, .form-success { padding: 1.8rem 1.7rem; }
  .specs { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1040px) {
  :root { --header: 4.75rem; }
  .nav-toggle { display: none; }
  .nav-panel {
    display: flex; position: static; flex-direction: row; align-items: center; gap: 0.25rem;
    padding: 0; background: none; border: 0; box-shadow: none; margin-right: 0.5rem;
  }
  .nav-panel a { border: 0; padding: 0.5rem 0.7rem; font-size: 1.12rem; }
  .nav-panel a.nav-org { margin-left: 0.4rem; padding: 0.4rem 0.85rem; border: 1.5px solid rgba(248, 168, 16, 0.7); border-radius: var(--radius); }
  .nav-panel a.nav-org:hover, .nav-panel a.nav-org[aria-current="true"] { background: rgba(248, 168, 16, 0.14); }
  .logo img { height: 3.6rem; }
  a.header-cta { min-height: 44px; height: 44px; padding: 10px 18px; font-size: 15px; }
  .hero { align-items: center; }
  .hero-media::after {
    background: linear-gradient(90deg, rgba(0, 10, 22, 0.94) 0%, rgba(0, 12, 28, 0.78) 34%, rgba(0, 14, 32, 0.25) 62%, rgba(0, 12, 28, 0.15) 100%),
      linear-gradient(180deg, transparent 70%, rgba(0, 10, 22, 0.9) 100%);
  }
  .hero-content { padding: 5rem 0 6rem; }
  .paths { padding-bottom: 4rem; }
  .paths-grid { margin-top: -3.5rem; position: relative; z-index: 2; }
  .airplane-layout { grid-template-columns: 1fr 1.05fr; gap: 4rem; align-items: center; }
  .gallery { grid-template-columns: repeat(4, 1fr); gap: 0.6rem; }
  .org-grid { grid-template-columns: 1fr 1fr 0.9fr; }
  .org-card-dark { grid-column: auto; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; }
}

/* Gallery tiling (keeps rows complete for 10 photos) */
.gallery { grid-auto-flow: dense; }
.gallery > li:last-child { grid-column: span 2; }
@media (min-width: 560px) {
  .gallery > li:last-child { grid-column: span 1; }
  .gallery > li:nth-child(6), .gallery > li:nth-child(10) { grid-column: span 2; }
}
@media (min-width: 1040px) {
  .gallery > li:nth-child(7) { grid-column: span 2; }
}
.gallery > li { min-height: 0; }
.gallery > li:nth-child(6) img, .gallery > li:nth-child(7) img, .gallery > li:nth-child(10) img { aspect-ratio: auto; }
