/* Stick n Throttle — ALSIM ALX Simulator microsite */

:root {
  --navy: #2a2e6e;
  --navy-deep: #0e1028;
  --navy-mid: #3a3f7a;
  --ink: #14182e;
  --sky: #3d6ea8;
  --sky-bright: #5b8fc4;
  --horizon: #c8d5e6;
  --cloud: #f3f5f9;
  --white: #ffffff;
  --muted: #5c6478;
  --line: rgba(42, 46, 110, 0.12);
  --line-light: rgba(255, 255, 255, 0.12);
  --amber: #c9a227;
  --radius: 3px;
  --max: 1120px;
  --header-h: 72px;
  --subnav-h: 52px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-display: "Sora", system-ui, sans-serif;
  --font-body: "Plus Jakarta Sans", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cloud);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--sky);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--navy);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  color: var(--navy);
  margin: 0 0 0.55em;
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.wrap {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.section {
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
}

.section-label {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sky);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  max-width: 18ch;
}

.section-lead {
  color: var(--muted);
  max-width: 48ch;
  font-size: 1.05rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.25s var(--ease), background 0.2s ease, box-shadow 0.25s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
  text-decoration: none;
}

.btn-primary {
  background: var(--sky);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--sky-bright);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(61, 110, 168, 0.35);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.5);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border-color: var(--white);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
}

.btn-navy:hover {
  background: var(--navy-mid);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--navy);
}

.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
}

.btn-amber {
  background: var(--amber);
  color: var(--navy-deep);
}

.btn-amber:hover {
  filter: brightness(1.08);
  color: var(--navy-deep);
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  background: rgba(14, 16, 40, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-light);
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-img {
  height: 46px;
  width: auto;
  filter: brightness(0) invert(1);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 10px;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  z-index: 110;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--white);
  transition: transform 0.3s var(--ease), opacity 0.2s ease;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-list {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0.05rem;
}

.nav-list a {
  display: block;
  padding: 0.45rem 0.65rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  white-space: nowrap;
}

.nav-list a:hover,
.nav-list a[aria-current="page"] {
  color: var(--white);
}

.nav .btn {
  margin-left: 0.4rem;
  padding: 0.55rem 1rem;
  font-size: 0.78rem;
}

/* In-page section tabs (under hero — not a second sticky bar) */
.page-tabs {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.page-tabs-inner {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.85rem 0;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.page-tabs-inner::-webkit-scrollbar {
  display: none;
}

.page-tabs a {
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 550;
  letter-spacing: 0.02em;
  color: var(--muted);
  text-decoration: none;
  padding: 0.55rem 0.9rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.page-tabs a:hover {
  color: var(--navy);
  background: var(--cloud);
}

.page-tabs a[aria-current="page"] {
  color: var(--navy);
  background: rgba(61, 110, 168, 0.1);
  border-color: rgba(61, 110, 168, 0.22);
}

.page-tabs-label {
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sky);
  padding-right: 0.5rem;
  margin-right: 0.25rem;
  border-right: 1px solid var(--line);
}

/* Page hero */
.page-hero {
  position: relative;
  min-height: clamp(420px, 62vh, 640px);
  display: flex;
  align-items: flex-end;
  color: var(--white);
  overflow: hidden;
  background: var(--navy-deep);
}

.page-hero--video {
  min-height: min(92vh, 820px);
}

.page-hero-media {
  position: absolute;
  inset: 0;
}

.page-hero-media img,
.page-hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero-scrub {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(14, 16, 40, 0.55) 0%, rgba(14, 16, 40, 0.25) 40%, rgba(14, 16, 40, 0.88) 100%),
    linear-gradient(90deg, rgba(14, 16, 40, 0.5) 0%, transparent 55%);
}

.page-hero-content {
  position: relative;
  z-index: 2;
  width: min(100% - 2.5rem, var(--max));
  margin: 0 auto;
  padding: 3.5rem 0 3.75rem;
}

.page-hero .eyebrow {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1rem;
  opacity: 0;
  animation: riseIn 0.85s var(--ease) 0.1s forwards;
}

.page-hero h1 {
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--white);
  max-width: 14ch;
  margin-bottom: 1rem;
  opacity: 0;
  animation: riseIn 0.85s var(--ease) 0.25s forwards;
}

.page-hero .lede {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  max-width: 40ch;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 1.75rem;
  opacity: 0;
  animation: riseIn 0.85s var(--ease) 0.4s forwards;
}

.page-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  opacity: 0;
  animation: riseIn 0.85s var(--ease) 0.55s forwards;
}

.page-hero-meta {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 2rem;
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  opacity: 0;
  animation: riseIn 0.85s var(--ease) 0.7s forwards;
}

@keyframes riseIn {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Intro / content blocks */
.intro-split {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.intro-split--reverse > :first-child {
  order: 2;
}

.photo-frame {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--navy-deep);
}

.photo-frame img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: transform 1.1s var(--ease);
}

.photo-frame:hover img {
  transform: scale(1.03);
}

.bg-white { background: var(--white); }
.bg-cloud { background: var(--cloud); }
.bg-navy {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.88);
}

.bg-navy h2,
.bg-navy h3,
.bg-navy .section-title {
  color: var(--white);
}

.bg-navy .section-label {
  color: var(--sky-bright);
}

.bg-navy .section-lead {
  color: rgba(255, 255, 255, 0.7);
}

/* Feature / capability grid */
.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.cap-item {
  padding: 1.5rem 1.35rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  transition: border-color 0.3s ease, background 0.3s ease, transform 0.35s var(--ease);
}

.cap-item:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(91, 143, 196, 0.45);
  transform: translateY(-3px);
}

.cap-item h3 {
  color: var(--white);
  font-size: 1.05rem;
  margin-bottom: 0.45rem;
}

.cap-item p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

.cap-num {
  display: block;
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 0.75rem;
}

/* Mission list */
.mission-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mission-grid li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--navy);
}

.mission-grid li::before {
  content: "";
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  margin-top: 0.45rem;
  background: var(--sky);
  border-radius: 1px;
}

/* Accreditation cards */
.accred-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}

.accred-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.accred-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(14, 16, 40, 0.08);
}

.accred-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.85rem;
}

.accred-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.accred-card li {
  position: relative;
  padding: 0.4rem 0 0.4rem 1rem;
  font-size: 0.95rem;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}

.accred-card li:last-child { border-bottom: none; }

.accred-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85rem;
  width: 5px;
  height: 5px;
  background: var(--sky);
}

.hours-pill {
  display: inline-block;
  margin-top: 0.35rem;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--cloud);
  padding: 0.25rem 0.55rem;
}

/* Aircraft */
.aircraft-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2.25rem;
}

.aircraft-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.aircraft-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(14, 16, 40, 0.1);
}

.aircraft-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: var(--navy-deep);
}

.aircraft-card-body {
  padding: 1.15rem 1.2rem 1.35rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.aircraft-code {
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sky);
  margin-bottom: 0.35rem;
}

.aircraft-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}

.aircraft-meta {
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: auto;
}

.aircraft-tag {
  display: inline-block;
  margin-top: 0.75rem;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
  border: 1px solid var(--line);
  padding: 0.3rem 0.55rem;
}

/* Course timeline */
.course-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
}

.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  border-left: 2px solid var(--line);
}

.timeline li {
  position: relative;
  padding: 0 0 2rem 1.5rem;
}

.timeline li:last-child { padding-bottom: 0; }

.timeline li::before {
  content: "";
  position: absolute;
  left: -6px;
  top: 0.35rem;
  width: 10px;
  height: 10px;
  background: var(--sky);
  border: 2px solid var(--white);
  box-shadow: 0 0 0 2px var(--sky);
}

.timeline strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 0.25rem;
}

.timeline span {
  color: var(--muted);
  font-size: 0.95rem;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.stat {
  padding: 1.25rem 1rem;
  background: var(--cloud);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-align: center;
}

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  color: var(--navy);
  letter-spacing: -0.02em;
}

.stat span {
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* FAQ */
.faq-list {
  max-width: 720px;
  margin: 2rem auto 0;
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy);
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 1.1rem;
  color: var(--sky);
  transition: transform 0.3s var(--ease), background 0.2s ease, color 0.2s ease;
}

.faq-item[open] summary::after {
  content: "–";
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.faq-item .faq-body {
  padding: 0 0 1.35rem;
  color: var(--muted);
  max-width: 60ch;
}

.faq-item .faq-body ul {
  margin: 0.75rem 0 0;
  padding-left: 1.1rem;
}

/* Centre / form */
.centre-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 3rem);
  align-items: start;
}

.contact-stack {
  display: grid;
  gap: 1rem;
}

.contact-tile {
  padding: 1.25rem 1.35rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.contact-tile h3 {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.45rem;
}

.contact-tile p,
.contact-tile a {
  font-size: 1rem;
  color: var(--ink);
  text-decoration: none;
}

.contact-tile a:hover { color: var(--sky); }

.enquiry-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
}

.enquiry-form label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.4rem;
}

.enquiry-form .field {
  margin-bottom: 1.1rem;
}

.enquiry-form input,
.enquiry-form select,
.enquiry-form textarea {
  width: 100%;
  padding: 0.8rem 0.9rem;
  font: inherit;
  color: var(--ink);
  background: var(--cloud);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.enquiry-form input:focus,
.enquiry-form select:focus,
.enquiry-form textarea:focus {
  outline: none;
  border-color: var(--sky);
  box-shadow: 0 0 0 3px rgba(61, 110, 168, 0.15);
}

.enquiry-form textarea {
  min-height: 120px;
  resize: vertical;
}

.form-note {
  margin-top: 0.85rem;
  font-size: 0.85rem;
  color: var(--muted);
}

/* CTA band */
.cta-band {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: var(--white);
  text-align: center;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: -40% -10% auto;
  height: 120%;
  background: radial-gradient(ellipse at center, rgba(61, 110, 168, 0.35), transparent 60%);
  pointer-events: none;
}

.cta-band .wrap {
  position: relative;
  z-index: 1;
}

.cta-band h2 {
  color: var(--white);
  max-width: 16ch;
  margin-inline: auto;
}

.cta-band p {
  max-width: 42ch;
  margin-inline: auto;
  margin-bottom: 1.75rem;
  color: rgba(255, 255, 255, 0.8);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

/* Location strip */
.location-strip {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  align-items: center;
}

/* Footer */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.72);
  padding: 3rem 0 1.75rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand img {
  height: 48px;
  width: auto;
  margin-bottom: 0.85rem;
  filter: brightness(0) invert(1);
}

.footer-brand .ato {
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sky-bright);
  margin-top: 0.65rem;
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col li + li { margin-top: 0.45rem; }

.footer-col a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  font-size: 0.92rem;
}

.footer-col a:hover { color: var(--white); }

.footer-bottom {
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.85rem;
}

.footer-bottom a {
  color: inherit;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* Responsive */
@media (max-width: 980px) {
  .nav-toggle {
    display: flex;
    position: relative;
    z-index: 120;
  }

  .logo {
    position: relative;
    z-index: 120;
  }

  .nav {
    position: fixed;
    inset: 0;
    z-index: 110;
    width: 100%;
    height: 100%;
    height: 100dvh;
    background: var(--navy-deep);
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    padding: 5.5rem 1.75rem 2rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.35s ease, visibility 0.35s ease;
  }

  .nav.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 320px;
    margin-inline: auto;
  }

  .nav-list a {
    font-size: 1.1rem;
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav .btn {
    margin: 1.25rem auto 0;
    width: 100%;
    max-width: 320px;
  }

  body.nav-open {
    overflow: hidden;
  }

  body.nav-open .site-header {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: transparent;
    box-shadow: none;
    border-bottom-color: transparent;
  }

  body.nav-open .nav-toggle span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  body.nav-open .nav-toggle span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  body.nav-open .edge-tab {
    opacity: 0;
    pointer-events: none;
  }

  main {
    padding-bottom: 3.5rem;
  }

  .intro-split,
  .intro-split--reverse > :first-child,
  .course-layout,
  .centre-grid,
  .location-strip,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .intro-split--reverse > :first-child { order: 0; }

  .cap-grid,
  .aircraft-grid {
    grid-template-columns: 1fr 1fr;
  }

  .accred-grid,
  .mission-grid,
  .stat-row {
    grid-template-columns: 1fr;
  }

  .page-tabs-label {
    display: none;
  }
}

@media (max-width: 560px) {
  .wrap { width: min(100% - 1.75rem, var(--max)); }

  .cap-grid,
  .aircraft-grid {
    grid-template-columns: 1fr;
  }

  .page-hero h1 { max-width: 12ch; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
