:root {
  --bg: #f7f6f4;
  --bg-warm: #f0eeeb;
  --bg-cool: #eef0f2;
  --text: #141414;
  --muted: #5a5a5a;
  --muted-soft: #8a8a8a;
  --line: #ddd9d4;
  --slot: #e4e2df;
  --slot-border: #d0ccc6;
  --accent: #c23b2e;
  --accent-hover: #a83227;
  --max: 1120px;
  --page-gutter: 1.25rem;
  --section-y: 4.5rem;
  --section-y-sm: 3.25rem;
  --gap: 1.5rem;
  --radius: 14px;
  --header-h: 3.75rem;
  --col-gap: 1.25rem;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: "Inter Tight", Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

/* iOS Safari: contain layout; body overflow-x alone is unreliable */
.page {
  position: relative;
  width: 100%;
  max-width: 100%;
  min-height: 100%;
  overflow-x: hidden; /* iOS: prevent rubber-band pan / horizontal scroll */
  touch-action: pan-y;
}

@supports not (overflow-x: clip) {
  html,
  body {
    overflow-x: hidden;
  }
}

img,
video,
iframe {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  color: var(--accent-hover);
  text-decoration: underline;
}

.wrap {
  width: min(100% - (var(--page-gutter) * 2), var(--max));
  margin-inline: auto;
}

.mono {
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.label {
  margin: 0 0 1rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-soft);
}


/* Free discovery flight offer */
.announce-bar {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  background: #1a1413;
  color: #fff;
  z-index: 60;
  position: relative;
  overflow-x: hidden;
}
.announce-bar::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image: radial-gradient(circle, var(--accent) 1.15px, transparent 1.35px);
  background-size: 5px 5px;
  background-repeat: repeat;
  opacity: 0.9;
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 18%, transparent 72%);
  mask-image: linear-gradient(90deg, #000 0%, #000 18%, transparent 72%);
}
.announce-bar[hidden] { display: none !important; }
.announce-inner {
  position: relative;
  z-index: 1;
  max-width: var(--wrap, 72rem);
  margin: 0 auto;
  padding: 0.45rem 1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.55rem 0.85rem;
  min-width: 0;
  box-sizing: border-box;
}
.announce-text {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-align: center;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.55);
}
.announce-text strong {
  font-weight: 700;
  color: #fff;
}
.announce-claim {
  color: #fff;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
  white-space: nowrap;
}
.announce-claim:hover {
  color: #fff;
  text-decoration-thickness: 2px;
}

.discovery-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem 1rem;
  margin: 0 0 1.1rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}
.discovery-card--hero {
  margin: 1rem auto 0;
  max-width: var(--wrap, 72rem);
  width: calc(100% - 2rem);
}
.discovery-card-copy {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.4;
  color: var(--text);
  min-width: 0;
  overflow-wrap: anywhere;
}
.discovery-card-copy strong { color: var(--accent); font-weight: 700; }
.discovery-card .text-link,
a.discovery-card-link {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}
a.discovery-card-link:hover { text-decoration: underline; }

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(247, 246, 244, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: min(100% - 2.5rem, var(--max));
}

.wordmark {
  color: var(--text);
  text-decoration: none;
}

.wordmark:hover {
  text-decoration: none;
  opacity: 0.85;
}

.wm-lockup {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1;
  gap: 0.12rem;
}

.wm-mark {
  font-family: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  font-weight: 700;
  font-style: italic;
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #1a1a1a;
}

.wm-accent {
  color: var(--accent);
}

.wm-tag {
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-weight: 500;
  font-style: normal;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: lowercase;
  color: var(--muted-soft);
}

.wordmark-inline {
  font-family: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  font-weight: 700;
  font-style: italic;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #1a1a1a;
}

.hero-mark {
  margin: 0 0 1rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  line-height: 1;
}

.hero-mark .wm-mark {
  font-size: clamp(3rem, 11.2vw, 6.25rem);
  letter-spacing: 0.01em;
  color: #fff;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

.hero-mark .wm-accent {
  color: #ff6b5a;
}

.hero-mark .wm-tag {
  font-size: clamp(0.85rem, 2.4vw, 1.05rem);
  letter-spacing: 0.22em;
  color: rgba(255, 255, 255, 0.72);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.nav-link {
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-weight: 600;
  font-style: italic;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text);
  text-decoration: none;
}

.nav-link:hover {
  color: var(--accent);
  text-decoration: none;
}

.hero {
  overflow: hidden;
  position: relative;
  width: 100%;
  min-height: clamp(22rem, 72vh, 38rem);
  display: flex;
  align-items: flex-end;
  color: #fff;
}

.media-slot {
  position: relative;
  background: var(--slot);
  border: 0;
  outline: none;
  box-shadow: none;
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 12rem;
}
.media-slot img,
.media-slot video {
  border: 0;
  outline: none;
  box-shadow: none;
}

.media-slot--hero {
  position: absolute;
  inset: 0;
  min-height: 100%;
  border: none;
  border-radius: 0;
  background: #1a1a1a;
}

.media-slot--hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.55) 100%);
  pointer-events: none;
}

.media-slot--hero video,
.media-slot--hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: relative;
  z-index: 2;
  padding: 4.5rem 0 3.5rem;
}

.hero-overlay .label {
  color: rgba(255, 255, 255, 0.65);
}

.hero h1:not(.hero-mark) {
  margin: 0 0 1rem;
  font-size: clamp(2.75rem, 9vw, 5.25rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 0.95;
  max-width: 12ch;
}

.hero-sub {
  margin: 0 0 1.75rem;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 400;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.7rem 1.35rem;
  background: var(--accent);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 500;
  border: 0;
  border-radius: 3px;
  cursor: pointer;
  text-decoration: none;
  transform: skewX(-12deg);
  transform-origin: center center;
  /* keep skewed edge from widening the page */
  max-width: 100%;
  box-sizing: border-box;
}

.btn > .btn-label {
  display: inline-block;
  transform: skewX(12deg);
}

.btn:hover {
  background: var(--accent-hover);
  color: #fff;
  text-decoration: none;
}

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

.btn:disabled {
  opacity: 0.55;
  cursor: default;
}

/* Keep slant when combined with .reveal animation */
.btn.reveal:not(.is-visible) {
  transform: skewX(-12deg) translateY(14px);
  opacity: 0;
}

.btn.reveal.is-visible {
  transform: skewX(-12deg);
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .btn.reveal:not(.is-visible),
  .btn.reveal.is-visible {
    transform: skewX(-12deg);
    opacity: 1;
  }
}

.band {
  width: 100%;
}

.band--warm {
  background: var(--bg-warm);
}

.band--cool {
  background: var(--bg-cool);
}

.section {
  padding: var(--section-y) 0;
}

.section--tight-bottom {
  padding-bottom: 0;
}

.section-head {
  margin: 0 0 1.5rem;
}

.section-head--flush {
  margin-bottom: 0.35rem;
}

.tiktok-row--tight {
  margin-top: 0;
  padding-top: 0;
}

.section-head .label {
  margin: 0;
}

.section-kicker {
  margin: 0.4rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* 12-col layout system */
.grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--col-gap);
  row-gap: var(--gap);
  width: 100%;
  align-items: center;
}

.grid-split > :first-child {
  grid-column: 1 / span 5;
}

.grid-split > :last-child {
  grid-column: 6 / span 7;
}

.grid-split--flip > :first-child {
  grid-column: 8 / span 5;
  order: 2;
}

.grid-split--flip > :last-child {
  grid-column: 1 / span 7;
  order: 1;
}

.split-lead {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 28ch;
}

.split-title {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.split-copy .lede {
  margin: 0;
  overflow-wrap: break-word;
  max-width: 100%;
}

.split-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.25rem;
}

.text-link {
  color: var(--muted);
  font-weight: 500;
  font-size: 0.95rem;
}

.text-link:hover {
  color: var(--accent);
}


.lede {
  margin: 0;
  font-size: clamp(1.25rem, 2.4vw, 1.6rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.35;
  max-width: 28ch;
  color: var(--text);
}

/* legacy asymmetric removed — use .grid */

.media-slot--square {
  aspect-ratio: 1 / 1;
  min-height: 0;
}

.media-slot--portrait {
  aspect-ratio: 4 / 5;
  min-height: 0;
}

.media-slot--wide {
  aspect-ratio: 16 / 10;
  min-height: 0;
}


.tiktok-more {
  margin: 0.5rem 0 0;
  font-size: 0.95rem;
  font-weight: 500;
}

.section-head .tiktok-more {
  margin-top: 0.45rem;
  margin-bottom: 0;
}

.tiktok-wrap {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  margin-bottom: var(--section-y);
}

.tiktok-row {
  display: flex;
  gap: 0.85rem;
  width: 100%;
  max-width: 100%;
  margin-bottom: 0;
  padding-inline: max(var(--page-gutter), calc((100% - var(--max)) / 2 + var(--page-gutter)));
  padding-bottom: 0.35rem; /* room so chrome can't paint scrollbar over frames */
  scroll-padding-inline: max(var(--page-gutter), calc((100% - var(--max)) / 2 + var(--page-gutter)));
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  overscroll-behavior-y: auto; /* don't trap vertical page scroll */
  scroll-snap-type: none; /* snap was making desktop scroll feel sticky */
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  box-sizing: border-box;
  touch-action: pan-x pinch-zoom;
}

.tiktok-row::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.scroll-spacer {
  flex: 0 0 1px;
  width: 1px;
  height: 1px;
  margin-inline-end: max(0px, calc(max(var(--page-gutter), calc((100% - var(--max)) / 2 + var(--page-gutter))) - 1px));
  pointer-events: none;
}

.tiktok-card {
  flex: 0 0 min(280px, 72%);
  max-width: min(280px, 72%);
  min-width: 0;
  aspect-ratio: 9 / 16;
  border-radius: var(--radius);
  overflow: hidden;
  background: #111;
  border: 0;
  outline: none;
  box-shadow: none;
}

.tiktok-card iframe {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  height: 100% !important;
  border: 0 !important;
  outline: none !important;
  box-shadow: none !important;
}

/* TikTok embed script defaults min-width:325px — kill it */
.tiktok-card,
.tiktok-embed,
blockquote.tiktok-embed {
  max-width: 100% !important;
  min-width: 0 !important;
  width: 100%;
}

.placeholder {
  color: var(--muted);
  font-style: italic;
}

.footer {
  padding: 3rem 0 4rem;
  border-top: 1px solid var(--line);
}

.footer p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted-soft);
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (max-width: 720px) {
  .hero {
    min-height: clamp(20rem, 78vh, 32rem);
  }

  .hero-overlay {
    padding: 3.25rem 0 2.75rem;
  }

  .hero-mark .wm-mark {
    font-size: clamp(2.75rem, 14vw, 4rem);
  }

  .wm-mark {
    font-size: 1.2rem;
  }

  .section {
    padding: 3.25rem 0;
  }

  .section {
    padding: var(--section-y-sm) 0;
  }

  .grid-split > :first-child,
  .grid-split > :last-child,
  .grid-split--flip > :first-child,
  .grid-split--flip > :last-child {
    grid-column: 1 / -1;
    order: unset;
  }


  .tiktok-row {
    padding-inline: var(--page-gutter);
    scroll-padding-inline: var(--page-gutter);
  }

  .tiktok-row .scroll-spacer {
    margin-inline-end: calc(var(--page-gutter) - 1px);
  }
}

/* Training list on home */
.training-list {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
}

.training-list li {
  border-bottom: 1px solid var(--line);
}

.training-list li:first-child {
  border-top: 1px solid var(--line);
}

.training-list a {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.85rem 0;
  color: var(--text);
  text-decoration: none;
  font-size: 1.15rem;
  letter-spacing: -0.015em;
}

.training-list a:hover {
  color: var(--accent);
  text-decoration: none;
}

.training-list a:hover .training-price {
  color: var(--accent);
}

.training-name {
  font-weight: 500;
}

.training-price {
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  white-space: nowrap;
}

/* Subpage (rating) layout */

/* Training page hero */
.page-hero {
  position: relative;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  height: clamp(14rem, 42vw, 22rem);
  overflow: hidden;
  isolation: isolate;
  box-sizing: border-box;
  contain: paint;
}
.page-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  max-width: 100%;
  height: 100%;
  object-fit: cover;
  /* Keep N5516G (center / lower-middle) in frame on wide + tall crops */
  object-position: center 55%;
  display: block;
  min-width: 0;
  border: 0;
  outline: none;
  box-shadow: none;
}
@media (min-width: 721px) {
  .page-hero-img { object-position: center 52%; }
}
.page-hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 0.35rem;
  padding: 1.5rem 1.25rem 1.75rem;
  background: linear-gradient(180deg, rgba(0,0,0,0.12) 0%, rgba(0,0,0,0.35) 50%, rgba(0,0,0,0.58) 100%);
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
}
.page-hero-overlay .wrap {
  width: 100%;
  max-width: var(--wrap, 72rem);
  margin: 0 auto;
  min-width: 0;
}
.page-hero h1 {
  margin: 0;
  color: #fff;
  font-family: "Barlow Condensed", sans-serif;
  font-style: italic;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: clamp(2.4rem, 8vw, 4rem);
  line-height: 0.95;
  text-shadow: 0 2px 18px rgba(0,0,0,0.35);
}
.page-hero-sub {
  margin: 0.15rem 0 0;
  color: rgba(255,255,255,0.88);
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  font-weight: 500;
  max-width: 28rem;
}
@media (min-width: 721px) {
  .page-hero-overlay { padding: 2rem 1.5rem 2.25rem; }
}


/* Training philosophy */
.philosophy {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  padding: 2rem 0 0.5rem;
  overflow-x: hidden;
}
.philosophy--home {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}
@media (min-width: 900px) {
  /* Desktop: breathe between license cards and full-bleed philosophy */
  #training .philosophy--home.philosophy--bleed {
    margin-top: 5rem; /* ~80px — matches section rhythm */
  }
}
.philosophy--bleed {
  position: relative;
  isolation: isolate;
  margin: 0;
  padding: 2.75rem 0 2.5rem;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  color: #fff;
  background: #14110f;
}
.philosophy--bleed .philosophy-media,
.philosophy--bleed .philosophy-media-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  display: block;
  margin: 0;
  padding: 0;
  border: 0;
  pointer-events: none;
  z-index: 0;
}
.philosophy--bleed .philosophy-media-img {
  object-fit: cover;
  object-position: center 45%;
}
.philosophy--bleed .philosophy-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(105deg, rgba(12, 10, 9, 0.88) 0%, rgba(12, 10, 9, 0.72) 48%, rgba(12, 10, 9, 0.55) 100%),
    rgba(10, 8, 7, 0.35);
}
.philosophy--bleed .philosophy-inner {
  position: relative;
  z-index: 2;
  min-width: 0;
  box-sizing: border-box;
}
.philosophy--bleed .philosophy-kicker {
  color: rgba(255, 255, 255, 0.72);
}
.philosophy--bleed .philosophy-title {
  color: #fff;
}
.philosophy--bleed .philosophy-home-lead {
  color: rgba(255, 255, 255, 0.88);
}
.philosophy--bleed .philosophy-link {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}
.philosophy--bleed .philosophy-link:hover {
  color: #fff;
}
.philosophy--bleed .philosophy-mission {
  background: rgba(255, 255, 255, 0.08);
  border-left-color: var(--accent);
  color: rgba(255, 255, 255, 0.92);
}
.philosophy--bleed .philosophy-card {
  background: rgba(255, 255, 255, 0.95);
  color: var(--text);
}
.philosophy-discovery {
  margin: 0.85rem 0 0;
  font-size: 1.02rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.92);
  max-width: 36rem;
}
.philosophy-discovery strong {
  font-weight: 700;
  color: #fff;
}
.philosophy-discovery .announce-claim {
  color: #fff;
}
.philosophy-kicker {
  margin: 0 0 0.35rem;
}
.philosophy-title {
  margin: 0 0 1.1rem;
  font-family: "Barlow Condensed", sans-serif;
  font-style: italic;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: clamp(2rem, 6vw, 2.75rem);
  line-height: 0.95;
  color: var(--text);
}
.philosophy-title .accent,
.philosophy-title .wm-accent {
  color: var(--accent);
}
.philosophy-cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 1fr;
  min-width: 0;
}
@media (min-width: 721px) {
  .philosophy-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.9rem;
  }
}
.philosophy-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.05rem 1.1rem 1.15rem;
  min-width: 0;
  box-sizing: border-box;
}
.philosophy-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 999px;
  background: #f8e9e7;
  color: var(--accent);
  font-family: "Barlow Condensed", sans-serif;
  font-style: italic;
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 0.55rem;
}
.philosophy-card p {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.45;
  color: var(--text);
  overflow-wrap: anywhere;
}
.philosophy-mission {
  margin: 1.15rem 0 0;
  padding: 1rem 1.1rem;
  border-left: 3px solid var(--accent);
  background: var(--bg-cool, #eef0f2);
  border-radius: 0 12px 12px 0;
  font-size: 1.02rem;
  line-height: 1.5;
  color: var(--text);
  max-width: 100%;
  box-sizing: border-box;
  overflow-wrap: anywhere;
}
.philosophy-mission p { margin: 0; }
.philosophy-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  min-height: 44px;
}
.philosophy-link:hover { text-decoration: underline; }
.philosophy-home-lead {
  margin: 0 0 0.65rem;
  font-size: 1.02rem;
  line-height: 1.45;
  color: var(--muted);
  max-width: 36rem;
}

.page-main {
  padding: 3.5rem 0 4rem;
}

.page-main h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(2rem, 6vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.page-price {
  margin: 0 0 2rem;
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 1rem;
  color: var(--muted);
}

.page-block {
  margin: 0 0 2rem;
  max-width: 34rem;
}

.page-block h2 {
  margin: 0 0 0.65rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-soft);
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.page-block p,
.page-block ul {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.page-block ul {
  padding-left: 1.1rem;
}

.page-block li {
  margin: 0.35rem 0;
}

.page-block li::marker {
  color: var(--muted-soft);
}

.page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.25rem;
  align-items: center;
  margin-top: 2.5rem;
}

.back-link {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
}

.back-link:hover {
  color: var(--text);
  text-decoration: none;
}

@media (max-width: 720px) {
  .page-main {
    padding: 2.5rem 0 3.25rem;
  }

  .training-list a {
    font-size: 1.05rem;
    padding: 0.8rem 0;
  }
}


/* Routes map */
.band--map .section {
  padding-bottom: 1.5rem;
}

.map-kicker,
.section-head .section-kicker {
  margin: 0.4rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.map-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem 1rem;
  margin-bottom: 1.5rem;
}

.map-stat {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding-bottom: 0.25rem;
  border-bottom: 1px solid var(--line);
}

.map-stat-value {
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

.map-stat-label {
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-soft);
}

.map-stat-sub {
  font-size: 0.78rem;
  color: var(--muted);
  min-height: 1em;
}

.map-frame {
  overflow: hidden;
  width: 100%;
  margin-top: 0.25rem;
}

.flight-map {
  width: 100%;
  max-width: 100%;
  height: clamp(18rem, 58vw, 28rem);
  background: #0d0d0d;
  border-block: 1px solid #222;
}

.flight-map .maplibregl-ctrl-attrib {
  font-size: 10px;
  background: rgba(0,0,0,0.45);
  color: #999;
}

.flight-map .maplibregl-popup-content {
  background: #161616;
  color: #eee;
  padding: 0.55rem 0.7rem;
  border-radius: 8px;
  box-shadow: none;
  border: 1px solid #333;
  font-size: 0.82rem;
  line-height: 1.35;
}

.flight-map .maplibregl-popup-content strong {
  color: #ff6b5a;
  font-weight: 600;
}

.flight-map .maplibregl-popup-content span {
  color: #999;
}

.flight-map .maplibregl-popup-tip {
  border-top-color: #161616;
}

@media (max-width: 720px) {
  .section--map {
    padding-top: 3.25rem;
  }

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

  .flight-map {
    height: 18rem;
  }
}



/* Mobile nav */
.nav-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle-bar {
  display: block;
  width: 1.25rem;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(247, 246, 244, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu[hidden] {
  display: block;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.mobile-menu.is-open[hidden] {
  pointer-events: auto;
}

.mobile-menu-panel {
  width: min(100% - (var(--page-gutter) * 2), var(--max));
  margin: 0 auto;
  padding: 1.25rem 0 2.5rem;
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

.mobile-menu-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2.5rem;
  min-height: var(--header-h);
}

.mobile-menu-mark {
  font-size: 1.35rem;
}

.nav-close {
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  background: transparent;
  font-size: 2rem;
  line-height: 1;
  color: var(--text);
  cursor: pointer;
  padding: 0;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.mobile-nav a {
  display: block;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-weight: 600;
  font-style: italic;
  font-size: 1.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
}

.mobile-nav a:hover {
  color: var(--accent);
}

body.menu-open {
  overflow: hidden;
}

@media (max-width: 720px) {
  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }
}


/* Instructor accomplishments */
.acc-list {
  list-style: none;
  margin: 1.35rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.acc-list li {
  position: relative;
  padding-left: 0.9rem;
  font-size: 0.95rem;
  color: var(--text);
  letter-spacing: -0.01em;
}

.acc-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 0.35rem;
  height: 0.35rem;
  background: var(--accent);
  border-radius: 1px;
  transform: skewX(-12deg);
}

@media (max-width: 720px) {
  .acc-list {
    margin-top: 1.1rem;
  }
}


/* Layout containment (no intake) */
.maplibregl-canvas-container,
.maplibregl-canvas,
.maplibregl-map {
  max-width: 100% !important;
}

img, video, canvas, svg {
  max-width: 100%;
}

.mobile-menu:not(.is-open) {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.mobile-menu.is-open {
  display: block !important;
  visibility: visible;
}

/* ——— Student intake (native <dialog>, DOM only while open) ——— */
body.intake-open {
  overflow: hidden;
}

.intake-dialog {
  position: fixed;
  inset: 0;
  width: 100%;
  max-width: 100%;
  height: 100%;
  max-height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  box-sizing: border-box;
  overflow-x: hidden;
  overflow-y: auto;
  background: transparent;
  color: inherit;
}

.intake-dialog::backdrop {
  background: rgba(20, 20, 20, 0.38);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.intake-dialog.is-open::backdrop {
  opacity: 1;
}

.intake-panel {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  min-height: 100%;
  margin: 0;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

.intake-dialog.is-open .intake-panel {
  opacity: 1;
  transform: translateY(0);
}

.intake-panel-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.35rem 1.25rem 0.85rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  flex-shrink: 0;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
}

.intake-heading .label {
  margin: 0 0 0.35rem;
}

.intake-title {
  margin: 0;
  font-family: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  font-size: 1.85rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
  text-transform: uppercase;
}

.intake-close {
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--text);
  font-size: 1.45rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.intake-close:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.intake-panel-body {
  flex: 1;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 1.15rem 1.25rem 1.5rem;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  -webkit-overflow-scrolling: touch;
}

.intake-form {
  display: flex;
  flex-direction: column;
  gap: 1.05rem;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding-bottom: 4.5rem;
}

.intake-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.intake-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.intake-hint {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted-soft);
}

.intake-input {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--text);
  font: inherit;
  font-size: 0.98rem;
  padding: 0.7rem 0.85rem;
}

.intake-input:focus {
  outline: none;
  border-color: #c9b2ad;
  box-shadow: 0 0 0 3px rgba(194, 59, 46, 0.12);
}

.intake-textarea {
  resize: vertical;
  min-height: 5.5rem;
  line-height: 1.45;
}

.intake-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.intake-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.intake-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  user-select: none;
  min-width: 0;
  max-width: 100%;
}

.intake-pill-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.intake-pill span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.15rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  box-sizing: border-box;
  max-width: 100%;
}

.intake-pill-input:checked + span {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.intake-pill-input:focus-visible + span {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.intake-error {
  margin: 0;
  padding: 0.65rem 0.8rem;
  border-radius: 10px;
  background: #f8e9e7;
  color: #8f2c22;
  font-size: 0.9rem;
}

.intake-actions {
  position: sticky;
  bottom: 0;
  margin: 0.35rem 0 -0.25rem;
  padding: 0.85rem 0 calc(0.85rem + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(180deg, rgba(247, 246, 244, 0) 0%, var(--bg) 28%);
  z-index: 2;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
}

.intake-submit,
.intake-done {
  width: 100%;
  max-width: 100%;
  text-align: center;
  box-sizing: border-box;
}

.intake-success {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1.5rem 0 0.5rem;
  min-height: 14rem;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.intake-success[hidden],
.intake-form[hidden] {
  display: none !important;
}

.intake-success-title {
  margin: 0;
  font-family: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  font-size: 2.1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1;
}

.intake-success-body {
  margin: 0 0 0.75rem;
  color: var(--muted);
  max-width: 22rem;
}

@media (min-width: 721px) {
  .intake-dialog {
    display: grid;
    place-items: center;
    padding: 1.5rem;
    background: transparent;
  }

  .intake-panel {
    width: min(100%, 32rem);
    max-width: 32rem;
    min-height: 0;
    max-height: min(90vh, 44rem);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.14);
    overflow: hidden;
  }

  .intake-panel-body {
    max-height: calc(min(90vh, 44rem) - 5rem);
  }

  .intake-row {
    grid-template-columns: 1fr 1fr;
  }

  .intake-form {
    padding-bottom: 0.5rem;
  }

  .intake-actions {
    position: static;
    margin: 0.25rem 0 0;
    padding: 0;
    background: none;
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .intake-panel,
  .intake-dialog::backdrop {
    transition: none;
  }
}

.section-head h2.label {
  margin: 0 0 1rem;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
}

/* ——— Aircraft image carousel ——— */
.carousel {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.carousel-viewport {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: hidden; /* page containment */
  border: 0;
  outline: none;
  box-shadow: none;
  border-radius: var(--radius);
  touch-action: pan-x;
}

.carousel-track {
  display: flex;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  touch-action: pan-x;
  scrollbar-width: none;
  box-sizing: border-box;
}

.carousel-track::-webkit-scrollbar {
  display: none;
}

.carousel-slide {
  flex: 0 0 100%;
  width: 100%;
  max-width: 100%;
  min-width: 100%; /* force one-slide viewport; enables scroll */
  scroll-snap-align: start;
  scroll-snap-stop: always;
  box-sizing: border-box;
  margin: 0;
}

.carousel-slide.media-slot {
  border-radius: 0;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.carousel-ui {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  margin-top: 0.7rem;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.carousel-dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem;
  min-width: 0;
}

.carousel-dot {
  width: 0.5rem;
  height: 0.5rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #c8c3bc;
  cursor: pointer;
}

.carousel-dot.is-active {
  background: var(--accent);
  transform: scale(1.15);
}

.carousel-btn {
  display: none;
  width: 2rem;
  height: 2rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--text);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  place-items: center;
}

.carousel-btn:disabled {
  opacity: 0.35;
  cursor: default;
}

@media (min-width: 721px) {
  .carousel-btn {
    display: grid;
  }
}

@media (prefers-reduced-motion: reduce) {
  .carousel-track {
    scroll-behavior: auto;
  }
}

.intake-hp {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}


/* Highlights: iframes don't trap hover/wheel until activated */
.tiktok-card {
  position: relative;
}

.tiktok-card iframe {
  pointer-events: none;
}

.tiktok-card.is-active iframe {
  pointer-events: auto;
}

.tiktok-card-hit {
  position: absolute;
  inset: 0;
  z-index: 2;
  cursor: pointer;
  background: transparent;
}

.tiktok-card.is-active .tiktok-card-hit {
  display: none;
}

@media (min-width: 721px) {
  .tiktok-wrap {
    overscroll-behavior: auto;
  }

  .tiktok-row {
    /* desktop: vertical wheel should scroll the page natively */
    overscroll-behavior-y: auto;
  }
}

/* Instructor CTA under lede */
.about-cta {
  margin: 1.1rem 0 1.25rem;
}

/* Journey timeline */
.journey-main {
  max-width: 40rem;
  width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
}

.journey-intro {
  margin: 0 0 1.75rem;
  color: var(--muted);
  max-width: 36rem;
  overflow-wrap: break-word;
}

.journey-summary {
  margin: 0 0 2rem;
  padding: 1.1rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.journey-summary .label { margin-bottom: 0.5rem; }
.journey-summary-line { margin: 0.25rem 0; }
.journey-hint {
  margin: 0.55rem 0 0;
  font-size: 0.85rem;
  color: var(--muted-soft);
}

.journey-timeline {
  list-style: none;
  margin: 0;
  padding: 0 0 0 1.1rem;
  border-left: 2px solid var(--line);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.journey-item {
  position: relative;
  padding: 0 0 1.5rem 1.15rem;
  min-width: 0;
}

.journey-item:last-child { padding-bottom: 0; }

.journey-dot {
  position: absolute;
  left: -1.1rem;
  top: 0.35rem;
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid var(--bg);
  transform: translateX(-50%);
  box-sizing: border-box;
}

.journey-item.is-placeholder .journey-dot {
  background: #c8c3bc;
}

.journey-card {
  min-width: 0;
  max-width: 100%;
}

.journey-date {
  margin: 0 0 0.25rem;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted-soft);
}

.journey-title {
  margin: 0 0 0.4rem;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  overflow-wrap: break-word;
}

.journey-desc {
  margin: 0 0 0.55rem;
  color: var(--muted);
  font-size: 0.98rem;
  overflow-wrap: break-word;
}

.journey-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.85rem;
  margin: 0;
  font-size: 0.88rem;
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color: var(--muted);
}

.journey-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
  background: var(--bg-cool);
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-family: "Inter Tight", system-ui, sans-serif;
}

.journey-badge--known {
  background: #e7f3ea;
  color: #1f6b3a;
}




.journey-item.is-gap .journey-dot {
  background: #c8c3bc;
}
.journey-item.is-gap .journey-card {
  opacity: 0.85;
}
