/* Gold Seal CFI, LLC — site styles. Extracted from the approved homepage mockup, plus mobile nav and inner-page layout. */

:root {
      --navy: #0B1F33;
      --navy-mid: #16324C;
      --navy-deep: #071421;
      --gold: #C4A35A;
      --gold-bright: #D4B56E;
      --gold-dim: #A88842;
      --sand: #F4EFE6;
      --sand-deep: #E8DFD0;
      --offwhite: #FAF8F4;
      --ink: #0B1F33;
      --ink-soft: #3A4A5A;
      --cream: #FBF7F0;
      --header-h: 5rem;
      --banner-h: 0px;
      --sticky-offset: calc(var(--banner-h) + var(--header-h));
      --max: 72rem;
      --radius: 0.75rem;
    }

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

    html { scroll-behavior: smooth; }

    body {
      font-family: "DM Sans", system-ui, sans-serif;
      font-size: 1.0625rem;
      line-height: 1.6;
      color: var(--ink);
      background: var(--offwhite);
      -webkit-font-smoothing: antialiased;
    }

    img, svg { display: block; max-width: 100%; }
    a { color: inherit; }
    button, input, select, textarea { font: inherit; }
    ul { list-style: none; }

    .skip {
      position: absolute;
      left: 0.75rem;
      top: -4rem;
      z-index: 100;
      background: var(--gold);
      color: var(--navy);
      padding: 0.5rem 1rem;
      font-weight: 600;
      border-radius: 0 0 0.35rem 0.35rem;
    }
    .skip:focus { top: 0; }


    /* Header */
    .site-header {
      position: sticky;
      top: var(--banner-h);
      z-index: 50;
      background: var(--navy);
      color: var(--offwhite);
      border-bottom: 1px solid rgba(196, 163, 90, 0.28);
    }
    .header-inner {
      max-width: var(--max);
      margin: 0 auto;
      padding: 0 1.25rem;
      min-height: var(--header-h);
      display: flex;
      align-items: center;
      gap: 1.25rem;
    }
    .wordmark {
      display: flex;
      align-items: center;
      gap: 0.7rem;
      text-decoration: none;
      flex-shrink: 0;
    }
    .wordmark-logo {
      height: 3.35rem;
      width: auto;
      display: block;
      background: #fff;
      border-radius: 0.35rem;
      padding: 0.12rem 0.18rem;
      object-fit: contain;
    }
    .wordmark-mark {
      width: 2.15rem;
      height: 2.15rem;
      flex-shrink: 0;
    }
    .wordmark-text {
      display: flex;
      flex-direction: column;
      line-height: 1.05;
    }
    .wordmark-name {
      font-family: Fraunces, Georgia, serif;
      font-weight: 600;
      font-size: 1.05rem;
      letter-spacing: 0.02em;
      color: var(--gold);
    }
    .wordmark-llc {
      font-size: 0.68rem;
      letter-spacing: 0.16em;
      text-transform: uppercase;
      color: rgba(244, 239, 230, 0.7);
      font-weight: 500;
    }

    .nav {
      display: flex;
      gap: 1.35rem;
      margin-left: 0.5rem;
      font-size: 0.92rem;
      font-weight: 500;
    }
    .nav a {
      text-decoration: none;
      color: rgba(250, 248, 244, 0.82);
    }
    .nav a:hover, .nav a:focus-visible { color: var(--gold); }

    .header-actions {
      margin-left: auto;
      display: flex;
      align-items: center;
      gap: 0.85rem;
    }
    .header-phone {
      display: inline-flex;
      align-items: center;
      gap: 0.4rem;
      color: var(--gold);
      text-decoration: none;
      font-weight: 600;
      font-size: 0.95rem;
      letter-spacing: 0.01em;
      white-space: nowrap;
    }
    .header-phone svg { width: 1.05rem; height: 1.05rem; }
    .header-phone:hover, .header-phone:focus-visible { color: var(--gold-bright); }

    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 0.4rem;
      text-decoration: none;
      border: 1.5px solid transparent;
      border-radius: 999px;
      font-weight: 600;
      cursor: pointer;
      transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.15s;
      white-space: nowrap;
    }
    .btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
    .btn-gold {
      background: var(--gold);
      color: var(--navy);
      padding: 0.62rem 1.15rem;
      font-size: 0.92rem;
    }
    .btn-gold:hover { background: var(--gold-bright); }
    .btn-outline {
      background: transparent;
      color: var(--offwhite);
      border-color: rgba(196, 163, 90, 0.7);
      padding: 0.62rem 1.15rem;
      font-size: 0.92rem;
    }
    .btn-outline:hover { border-color: var(--gold); color: var(--gold); }
    .btn-navy {
      background: var(--navy);
      color: var(--offwhite);
      padding: 0.75rem 1.35rem;
    }
    .btn-navy:hover { background: var(--navy-mid); }
    .btn-ghost-navy {
      background: transparent;
      color: var(--navy);
      border-color: var(--navy);
      padding: 0.75rem 1.35rem;
    }
    .btn-ghost-navy:hover { background: var(--navy); color: var(--offwhite); }
    .btn-lg { padding: 0.85rem 1.5rem; font-size: 1rem; }

    /* Hero */
    .hero {
      position: relative;
      background-color: var(--navy);
      background-image: url("images/wing-snow-terrain.jpg");
      background-size: cover;
      background-position: center;
      color: var(--offwhite);
      overflow: hidden;
      min-height: calc(100svh - var(--sticky-offset));
      display: flex;
      align-items: stretch;
    }
    .hero-photo {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center;
      max-width: none;
      z-index: 0;
      pointer-events: none;
    }
    .hero-sky {
      position: absolute;
      inset: 0;
      background:
        radial-gradient(ellipse 80% 60% at 78% 18%, rgba(196, 163, 90, 0.18), transparent 55%),
        radial-gradient(ellipse 50% 40% at 12% 80%, rgba(196, 163, 90, 0.08), transparent 50%),
        linear-gradient(165deg, #0B1F33 0%, #10283F 42%, #0B1F33 100%);
    }
    .hero .hero-sky {
      z-index: 1;
      pointer-events: none;
      background:
        linear-gradient(165deg,
          rgba(11, 31, 51, 0.84) 0%,
          rgba(7, 20, 33, 0.78) 45%,
          rgba(11, 31, 51, 0.82) 100%);
    }
    .hero .hero-ridgeline,
    .hero .hero-plane {
      display: none;
    }
    .hero-ridgeline {
      position: absolute;
      left: 0; right: 0; bottom: 0;
      height: 42%;
      pointer-events: none;
    }
    .hero-plane {
      position: absolute;
      right: -4%;
      top: 18%;
      width: min(52vw, 34rem);
      opacity: 0.11;
      color: var(--gold);
      pointer-events: none;
      transform: rotate(-8deg);
    }
    .hero-inner {
      position: relative;
      z-index: 2;
      max-width: var(--max);
      margin: 0 auto;
      padding: 3.5rem 1.25rem 4.25rem;
      width: 100%;
      display: grid;
      grid-template-columns: 1.35fr 0.9fr;
      gap: 3rem;
      align-items: center;
    }


    .hero h1 {
      font-family: Fraunces, Georgia, serif;
      font-weight: 500;
      font-size: clamp(2.15rem, 4.6vw, 3.55rem);
      line-height: 1.12;
      letter-spacing: -0.02em;
      max-width: 18ch;
      margin-bottom: 1.15rem;
    }
    .hero h1 em {
      font-style: italic;
      color: var(--gold);
      font-weight: 500;
    }
    .hero-sub {
      font-size: 1.12rem;
      color: rgba(250, 248, 244, 0.82);
      max-width: 38ch;
      margin-bottom: 1.85rem;
    }
    .hero-ctas {
      display: flex;
      flex-wrap: wrap;
      gap: 0.75rem;
      margin-bottom: 1.6rem;
    }
    .hero-meta {
      font-size: 0.88rem;
      color: rgba(250, 248, 244, 0.62);
      display: flex;
      flex-wrap: wrap;
      gap: 0.45rem 1.25rem;
    }
    .hero-meta span { display: inline-flex; align-items: center; gap: 0.35rem; }

    .photo-slot {
      justify-self: end;
      width: 100%;
      max-width: 22rem;
      aspect-ratio: 4 / 5;
      margin: 0;
      padding: 0;
      border: 1px solid rgba(196, 163, 90, 0.55);
      border-radius: var(--radius);
      background: var(--navy-mid);
      overflow: hidden;
      position: relative;
      box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
    }
    .photo-slot::before {
      content: "";
      position: absolute;
      inset: 0.55rem;
      border: 1px solid rgba(196, 163, 90, 0.45);
      border-radius: calc(var(--radius) - 0.2rem);
      pointer-events: none;
      z-index: 1;
    }
    .photo-slot img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: 18% 48%;
      display: block;
      max-width: none;
    }

    /* Stats */
    .stats {
      background: var(--sand);
      border-top: 1px solid rgba(196, 163, 90, 0.35);
      border-bottom: 1px solid rgba(11, 31, 51, 0.08);
    }
    .stats-inner {
      max-width: var(--max);
      margin: 0 auto;
      padding: 1.6rem 1.25rem;
      display: grid;
      grid-template-columns: repeat(5, 1fr);
      gap: 1rem;
    }
    .stat {
      text-align: center;
      padding: 0.35rem 0.4rem;
    }
    .stat + .stat {
      border-left: 1px solid rgba(196, 163, 90, 0.45);
    }
    .stat-num {
      font-family: Fraunces, Georgia, serif;
      font-weight: 600;
      font-size: clamp(1.45rem, 2.4vw, 2rem);
      color: var(--navy);
      line-height: 1.1;
    }
    .stat-label {
      font-size: 0.75rem;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: var(--ink-soft);
      margin-top: 0.3rem;
      font-weight: 600;
    }

    /* Shared sections */
    .section {
      padding: 4.5rem 1.25rem;
    }
    .wrap {
      max-width: var(--max);
      margin: 0 auto;
    }
    .kicker {
      font-size: 0.75rem;
      font-weight: 700;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: var(--gold-dim);
      margin-bottom: 0.55rem;
    }
    .section h2 {
      font-family: Fraunces, Georgia, serif;
      font-weight: 500;
      font-size: clamp(1.85rem, 3.2vw, 2.55rem);
      line-height: 1.18;
      letter-spacing: -0.02em;
      margin-bottom: 0.7rem;
    }
    .lede {
      color: var(--ink-soft);
      max-width: 48ch;
      margin-bottom: 2.25rem;
      font-size: 1.08rem;
    }

    /* Start here */
    .start { background: var(--offwhite); }
    .steps {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 1.25rem;
    }
    .step {
      background: var(--sand);
      padding: 1.6rem 1.4rem 1.5rem;
      border-radius: var(--radius);
      border-top: 3px solid var(--gold);
      position: relative;
    }
    .step-num {
      font-family: Fraunces, Georgia, serif;
      font-style: italic;
      font-size: 2.2rem;
      color: var(--gold);
      line-height: 1;
      margin-bottom: 0.7rem;
    }
    .step h3 {
      font-family: Fraunces, Georgia, serif;
      font-size: 1.25rem;
      font-weight: 600;
      margin-bottom: 0.45rem;
    }
    .step p { color: var(--ink-soft); font-size: 0.98rem; }
    .rates-note {
      margin-top: 1.75rem;
      font-size: 0.95rem;
      color: var(--ink-soft);
      border-left: 3px solid var(--gold);
      padding: 0.55rem 0 0.55rem 1rem;
    }
    .rates-note a { color: var(--navy); font-weight: 600; }

    /* Training */
    .training { background: var(--sand); }
    .train-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 1rem;
    }
    .train-card {
      background: var(--offwhite);
      padding: 1.5rem 1.3rem 1.4rem;
      border-radius: var(--radius);
      border: 1px solid rgba(11, 31, 51, 0.06);
    }
    .train-card svg {
      width: 1.7rem;
      height: 1.7rem;
      color: var(--gold-dim);
      margin-bottom: 0.85rem;
    }
    .train-card h3 {
      font-family: Fraunces, Georgia, serif;
      font-size: 1.2rem;
      font-weight: 600;
      margin-bottom: 0.4rem;
    }
    .train-card p { color: var(--ink-soft); font-size: 0.95rem; }

    .also {
      margin-top: 2.75rem;
      padding-top: 2rem;
      border-top: 1px solid rgba(11, 31, 51, 0.1);
    }
    .also h3 {
      font-family: Fraunces, Georgia, serif;
      font-size: 1.15rem;
      font-weight: 500;
      margin-bottom: 0.35rem;
    }
    .also-intro {
      color: var(--ink-soft);
      font-size: 0.95rem;
      margin-bottom: 1.1rem;
    }
    .also-row {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 1rem;
    }
    .also-card {
      background: transparent;
      border: 1px solid rgba(11, 31, 51, 0.12);
      padding: 1.2rem 1.25rem;
      border-radius: var(--radius);
    }
    .also-card h4 {
      font-size: 0.95rem;
      font-weight: 700;
      letter-spacing: 0.02em;
      margin-bottom: 0.45rem;
      color: var(--navy);
    }
    .also-card ul {
      color: var(--ink-soft);
      font-size: 0.9rem;
    }
    .also-card li { padding: 0.12rem 0; padding-left: 0.85rem; position: relative; }
    .also-card li::before {
      content: "";
      position: absolute;
      left: 0;
      top: 0.7em;
      width: 0.4rem;
      height: 1px;
      background: var(--gold);
    }

    .fleet-line {
      margin-top: 1.5rem;
      font-size: 0.95rem;
      color: var(--ink-soft);
    }

    /* Testimonials */
    .quotes { background: var(--navy); color: var(--offwhite); }
    .quotes .kicker { color: var(--gold); }
    .quotes h2 { color: var(--offwhite); }
    .quotes .lede { color: rgba(250, 248, 244, 0.72); }
    .quote-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 1.15rem;
    }
    .quote {
      background: rgba(250, 248, 244, 0.04);
      border: 1px solid rgba(196, 163, 90, 0.28);
      padding: 1.5rem 1.35rem 1.35rem;
      border-radius: var(--radius);
      display: flex;
      flex-direction: column;
    }
    .quote-mark {
      font-family: Fraunces, Georgia, serif;
      font-size: 2.4rem;
      line-height: 0.6;
      color: var(--gold);
      margin-bottom: 0.7rem;
    }
    .quote blockquote {
      font-size: 0.98rem;
      line-height: 1.55;
      color: rgba(250, 248, 244, 0.9);
      margin-bottom: 1.15rem;
      flex: 1;
    }
    .quote footer {
      font-size: 0.88rem;
      color: var(--gold);
      font-weight: 600;
    }
    .quote footer span {
      display: block;
      font-weight: 500;
      color: rgba(250, 248, 244, 0.6);
      font-size: 0.8rem;
      margin-top: 0.15rem;
    }

    /* About */
    .about { background: var(--offwhite); }
    .about-grid {
      display: grid;
      grid-template-columns: 1.1fr 0.9fr;
      gap: 3rem;
      align-items: start;
    }
    .about-copy p {
      margin-bottom: 1rem;
      color: var(--ink-soft);
    }
    .about-copy p strong { color: var(--navy); font-weight: 650; }
    .distinction {
      background: var(--sand);
      border-left: 4px solid var(--gold);
      padding: 1.25rem 1.35rem;
      margin-top: 0.5rem;
    }
    .distinction h3 {
      font-size: 0.75rem;
      letter-spacing: 0.16em;
      text-transform: uppercase;
      color: var(--gold-dim);
      margin-bottom: 0.4rem;
      font-weight: 700;
    }
    .distinction p {
      font-family: Fraunces, Georgia, serif;
      font-size: 1.15rem;
      line-height: 1.4;
      color: var(--navy);
      margin: 0;
    }
    .about-aside {
      background: var(--navy);
      color: var(--offwhite);
      padding: 1.75rem 1.6rem;
      border-radius: var(--radius);
    }
    .about-aside h3 {
      font-family: Fraunces, Georgia, serif;
      font-size: 1.35rem;
      font-weight: 500;
      margin-bottom: 1rem;
      color: var(--gold);
    }
    .about-aside dl { display: grid; gap: 0.85rem; }
    .about-aside dt {
      font-size: 0.72rem;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: rgba(250, 248, 244, 0.5);
      font-weight: 600;
    }
    .about-aside dd { font-size: 1.02rem; }

    /* Contact */
    .contact { background: var(--sand); }
    .contact-grid {
      display: grid;
      grid-template-columns: 0.85fr 1.15fr;
      gap: 2.5rem;
      align-items: start;
    }
    .contact-details {
      display: flex;
      flex-direction: column;
      gap: 1.15rem;
    }
    .detail {
      display: grid;
      grid-template-columns: 2rem 1fr;
      gap: 0.65rem;
      align-items: start;
    }
    .detail svg { width: 1.35rem; height: 1.35rem; color: var(--gold-dim); margin-top: 0.15rem; }
    .detail dt {
      font-size: 0.72rem;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      font-weight: 700;
      color: var(--ink-soft);
    }
    .detail dd { font-size: 1.05rem; }
    .detail a {
      color: var(--navy);
      font-weight: 650;
      text-decoration: underline;
      text-underline-offset: 3px;
    }
    .detail a:hover { color: var(--gold-dim); }

    .form-card {
      background: var(--offwhite);
      padding: 1.6rem 1.5rem 1.4rem;
      border-radius: var(--radius);
      border: 1px solid rgba(11, 31, 51, 0.08);
    }
    .form-card h3 {
      font-family: Fraunces, Georgia, serif;
      font-size: 1.3rem;
      margin-bottom: 0.25rem;
    }
    .form-card .form-hint {
      font-size: 0.88rem;
      color: var(--ink-soft);
      margin-bottom: 1.15rem;
    }
    .form-row { margin-bottom: 0.9rem; }
    .form-row.two {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 0.75rem;
    }
    label {
      display: block;
      font-size: 0.8rem;
      font-weight: 650;
      margin-bottom: 0.3rem;
      color: var(--navy);
    }
    .req { color: #8B3A2A; }
    input, select, textarea {
      width: 100%;
      background: #fff;
      border: 1px solid rgba(11, 31, 51, 0.18);
      border-radius: 0.4rem;
      padding: 0.62rem 0.75rem;
      color: var(--navy);
    }
    input:focus, select:focus, textarea:focus {
      outline: 2px solid var(--gold);
      outline-offset: 1px;
      border-color: var(--gold);
    }
    textarea { min-height: 7.5rem; resize: vertical; }
    .form-actions { display: flex; align-items: center; gap: 0.85rem; flex-wrap: wrap; }
    .form-note {
      font-size: 0.8rem;
      color: var(--ink-soft);
    }
    .form-mock {
      display: none;
      margin-top: 0.85rem;
      padding: 0.7rem 0.85rem;
      background: var(--sand);
      border-left: 3px solid var(--gold);
      font-size: 0.88rem;
      color: var(--navy);
    }
    .form-mock.is-on { display: block; }

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

    /* Footer */
    .site-footer {
      background: var(--navy-deep);
      color: rgba(250, 248, 244, 0.7);
      padding: 2rem 1.25rem;
      font-size: 0.88rem;
    }
    .footer-inner {
      max-width: var(--max);
      margin: 0 auto;
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
      gap: 1rem;
      align-items: center;
    }
    .footer-brand-block {
      display: flex;
      flex-direction: column;
      align-items: flex-start;
    }
    .footer-logo {
      height: 3.5rem;
      width: auto;
      display: block;
      background: #fff;
      border-radius: 0.35rem;
      padding: 0.12rem 0.18rem;
      object-fit: contain;
      margin-bottom: 0.35rem;
    }
    .footer-brand {
      font-family: Fraunces, Georgia, serif;
      color: var(--gold);
      font-size: 1rem;
    }
    .site-footer a { color: var(--gold); text-decoration: none; }
    .site-footer a:hover { text-decoration: underline; }

    @media (max-width: 960px) {
      .nav { display: none; }
      .hero-inner { grid-template-columns: 1fr; gap: 2.25rem; padding-top: 2.5rem; }
      .photo-slot { max-width: 20rem; aspect-ratio: 16 / 10; justify-self: start; }
      .hero { min-height: auto; }
      .hero-plane { width: 70vw; top: auto; bottom: 8%; opacity: 0.08; }
      .stats-inner { grid-template-columns: repeat(3, 1fr); }
      .stat:nth-child(4), .stat:nth-child(5) { border-left: 0; }
      .stat:nth-child(n + 4) { border-top: 1px solid rgba(196, 163, 90, 0.45); padding-top: 0.9rem; }
      .steps, .train-grid, .quote-grid { grid-template-columns: 1fr; }
      .train-grid { grid-template-columns: 1fr 1fr; }
      .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 1.75rem; }
    }
    @media (max-width: 640px) {
      :root { --header-h: 4.25rem; }
      .wordmark-logo { height: 2.75rem; }
      .wordmark-name { font-size: 0.92rem; }
      .header-phone span { display: none; } /* keep the tel icon + number via aria; show number on the icon's adjacent compact form */
      .header-phone { font-size: 0.82rem; }
      .header-phone .phone-num { display: inline; }
      .btn-header-cta .cta-full { display: none; }
      .btn-header-cta .cta-short { display: inline; }
      .stats-inner { grid-template-columns: 1fr 1fr; gap: 0.25rem 0; }
      .stat { border-left: none !important; padding: 0.75rem 0.4rem; }
      .stat:nth-child(odd) { border-right: 1px solid rgba(196, 163, 90, 0.45); }
      .stat:nth-child(n + 3) { border-top: 1px solid rgba(196, 163, 90, 0.45); }
      .train-grid, .also-row, .form-row.two { grid-template-columns: 1fr; }
      .hero h1 { max-width: none; }
      .photo-slot { max-width: none; }
      .header-inner { padding: 0 0.85rem; gap: 0.6rem; }
      .btn-gold { padding: 0.5rem 0.85rem; font-size: 0.82rem; }
    }
    .cta-short { display: none; }

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


/* -------------------------------------------------------------------------- */
/* Site additions: mobile nav, inner pages, linked cards, a11y               */
/* -------------------------------------------------------------------------- */

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

#start, #training, #about, #contact, #stories, #top, #main, #places {
  scroll-margin-top: calc(var(--sticky-offset) + 0.5rem);
}

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

.header-phone:focus-visible,
.wordmark:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* Hamburger — mockup hid nav under 960px with no menu */
.nav-toggle {
  display: none;
  width: 2.55rem;
  height: 2.55rem;
  background: transparent;
  border: 1.5px solid rgba(196, 163, 90, 0.55);
  border-radius: 0.4rem;
  color: var(--gold);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 0;
}
.nav-toggle:hover {
  border-color: var(--gold);
  background: rgba(196, 163, 90, 0.08);
}
.nav-toggle-bars {
  display: block;
  width: 1.15rem;
  height: 0.85rem;
  position: relative;
}
.nav-toggle-bars span {
  position: absolute;
  left: 0;
  right: 0;
  height: 1.6px;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.18s ease, opacity 0.18s ease, top 0.18s ease;
}
.nav-toggle-bars span:nth-child(1) { top: 0; }
.nav-toggle-bars span:nth-child(2) { top: 0.35rem; }
.nav-toggle-bars span:nth-child(3) { top: 0.7rem; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(1) {
  top: 0.35rem;
  transform: rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(3) {
  top: 0.35rem;
  transform: rotate(-45deg);
}

body.nav-open {
  overflow: hidden;
}

/* Inner page hero */
.page-hero {
  position: relative;
  background: var(--navy);
  color: var(--offwhite);
  overflow: hidden;
  padding: 3rem 1.25rem 3.25rem;
}
.page-hero .hero-sky,
.page-hero .hero-ridgeline {
  pointer-events: none;
}
.page-hero--scenic {
  background-color: var(--navy);
  background-image: url("images/wing-snow-terrain.jpg");
  background-size: cover;
  background-position: center;
  padding: 2.35rem 1.25rem 2.5rem;
}
.page-hero--scenic .hero-sky {
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(165deg,
      rgba(11, 31, 51, 0.84) 0%,
      rgba(7, 20, 33, 0.78) 50%,
      rgba(11, 31, 51, 0.82) 100%);
}
.page-hero--scenic .hero-ridgeline {
  display: none;
}

/* Training (and other) photo heroes — navy scrim over a full-bleed original */
.page-hero--photo {
  background-color: var(--navy);
  background-size: cover;
  background-position: center 58%;
  padding: 2.35rem 1.25rem 2.5rem;
}
.page-hero--photo .hero-sky {
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(165deg,
      rgba(11, 31, 51, 0.78) 0%,
      rgba(7, 20, 33, 0.70) 42%,
      rgba(11, 31, 51, 0.86) 100%);
}
.page-hero--photo .hero-ridgeline {
  display: none;
}
.page-hero--final {
  background-image: url("images/short-final-19.jpg");
  background-position: center 62%;
}
.page-hero .hero-caption {
  margin-top: 1rem;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: rgba(250, 248, 244, 0.72);
  max-width: 52ch;
}
.page-hero .hero-ridgeline {
  height: 48%;
}
.page-hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--max);
  margin: 0 auto;
}
.page-hero .kicker { color: var(--gold); }
.page-hero h1 {
  font-family: Fraunces, Georgia, serif;
  font-weight: 500;
  font-size: clamp(1.85rem, 3.6vw, 2.85rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  max-width: 22ch;
  margin-bottom: 0.85rem;
}
.page-hero h1 em {
  font-style: italic;
  color: var(--gold);
  font-weight: 500;
}
.page-hero .lede {
  color: rgba(250, 248, 244, 0.82);
  margin-bottom: 0;
  max-width: 52ch;
}

.page-hero .creds {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 62ch;
  color: rgba(250, 248, 244, 0.82);
  font-size: 1.02rem;
  line-height: 1.45;
}
.page-hero .creds li + li { margin-top: 0.28rem; }

.crumbs {
  font-size: 0.82rem;
  margin-bottom: 1.05rem;
  color: rgba(250, 248, 244, 0.58);
}
.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  list-style: none;
}
.crumbs li:not(:last-child)::after {
  content: "/";
  margin-left: 0.5rem;
  color: rgba(250, 248, 244, 0.35);
}
.crumbs a {
  color: var(--gold);
  text-decoration: none;
}
.crumbs a:hover, .crumbs a:focus-visible { text-decoration: underline; text-underline-offset: 3px; }
.crumbs [aria-current="page"] { color: rgba(250, 248, 244, 0.78); }

/* Linked training cards */
a.train-card {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}
a.train-card:hover,
a.train-card:focus-visible {
  border-color: var(--gold);
  box-shadow: 0 10px 28px rgba(11, 31, 51, 0.08);
}
a.train-card p { flex: 1; }
.card-more {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 0.95rem;
  font-size: 0.88rem;
  font-weight: 650;
  color: var(--navy);
}
a.train-card:hover .card-more { color: var(--gold-dim); }

a.also-card {
  text-decoration: none;
  color: inherit;
  display: block;
  transition: border-color 0.15s, background 0.15s;
}
a.also-card:hover,
a.also-card:focus-visible {
  border-color: var(--gold);
  background: rgba(250, 248, 244, 0.45);
}

/* Inner-page prose */
.prose p {
  margin-bottom: 1rem;
  color: var(--ink-soft);
}
.prose p:last-child { margin-bottom: 0; }
.prose p strong { color: var(--navy); font-weight: 650; }
.prose a {
  color: var(--navy);
  font-weight: 650;
  text-underline-offset: 3px;
}
.prose a:hover { color: var(--gold-dim); }
.prose h2 {
  margin-top: 0;
}

.about-stack {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.photo-slot-page {
  width: 100%;
  max-width: none;
  aspect-ratio: 4 / 3;
  justify-self: stretch;
}
.photo-slot-portrait {
  aspect-ratio: 3 / 4;
}
.photo-slot-portrait img {
  object-position: center 32%;
}

.panel-shot {
  margin: 1.35rem 0 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(196, 163, 90, 0.35);
  background: var(--navy);
}
.panel-shot img {
  width: 100%;
  height: auto;
  aspect-ratio: 1465 / 536;
  object-fit: cover;
  object-position: center 42%;
  display: block;
  max-width: none;
}
.panel-shot figcaption {
  font-size: 0.82rem;
  color: var(--ink-soft);
  background: var(--offwhite);
  padding: 0.55rem 0.85rem 0.65rem;
}

.scenic-band {
  position: relative;
  margin: 0;
  min-height: min(28rem, 58vw);
  overflow: hidden;
  background: var(--navy);
  color: var(--offwhite);
}
.scenic-band > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  max-width: none;
}
.scenic-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 20, 33, 0.06) 38%, rgba(7, 20, 33, 0.72) 100%);
  pointer-events: none;
}
.scenic-band figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.2rem 1.25rem 1.35rem;
  font-size: 0.88rem;
  letter-spacing: 0.03em;
  color: rgba(250, 248, 244, 0.88);
}


.destinations { background: var(--offwhite); }
.dest-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.15rem;
}
.dest-grid figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(11, 31, 51, 0.08);
  background: var(--navy);
}
.dest-grid img {
  width: 100%;
  height: auto;
  aspect-ratio: 8 / 5;
  object-fit: cover;
  object-position: center 42%;
  display: block;
  max-width: none;
}
.dest-grid figcaption {
  font-size: 0.82rem;
  color: var(--ink-soft);
  background: var(--sand);
  padding: 0.55rem 0.85rem 0.7rem;
}

/* CTA band on inner pages */
.cta-band {
  background: var(--navy);
  color: var(--offwhite);
  padding: 3.25rem 1.25rem;
  position: relative;
  overflow: hidden;
}
.cta-band .wrap { position: relative; z-index: 2; text-align: center; }
.cta-band .kicker { color: var(--gold); }
.cta-band h2 {
  color: var(--offwhite);
  margin-bottom: 0.55rem;
}
.cta-band p {
  color: rgba(250, 248, 244, 0.75);
  max-width: 42ch;
  margin: 0 auto 1.4rem;
}
.cta-band .hero-ctas {
  justify-content: center;
  margin-bottom: 0;
}

/* Related training on inner pages */
.related { background: var(--sand); }
.related .train-grid { grid-template-columns: repeat(3, 1fr); }

/* Footer extras */
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.1rem;
}
.footer-nav a { color: var(--gold); }

.about-aside a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.about-aside a:hover { color: var(--gold-bright); }

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy-mid);
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 0.4rem 1.25rem 1rem;
    border-bottom: 1px solid rgba(196, 163, 90, 0.28);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.28);
  }
  .nav.is-open { display: flex; }
  .nav a {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(250, 248, 244, 0.08);
    font-size: 1rem;
  }
  .nav a:last-child { border-bottom: 0; }
  .related .train-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .related .train-grid { grid-template-columns: 1fr; }
  .dest-grid { grid-template-columns: 1fr; }
  .page-hero { padding: 2.25rem 0.85rem 2.5rem; }
  .page-hero h1 { max-width: none; }
  .nav { padding-left: 0.85rem; padding-right: 0.85rem; }
}

.prose {
  max-width: 48rem;
  margin-bottom: 2.5rem;
}

.steps { list-style: none; }

/* Ground notes on Training */
.ground-notes {
  background: var(--offwhite);
}
.ground-notes .lede {
  max-width: 58ch;
}
.ground-note {
  max-width: 58ch;
  color: var(--ink);
}
.ground-note p {
  margin: 0 0 1rem;
  line-height: 1.65;
}
.ground-note p:last-child {
  margin-bottom: 0;
}
.note-figs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin: 1.5rem 0 1.25rem;
  max-width: 38rem;
}
.note-figs figure {
  margin: 0;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(11, 31, 51, 0.08);
}
.note-fig-link {
  position: relative;
  display: block;
  background: #f4f1ea;
  cursor: zoom-in;
}
.note-figs img {
  display: block;
  width: 100%;
  height: 12rem;
  object-fit: contain;
  object-position: top center;
}
.note-fig-hint {
  position: absolute;
  right: 0.45rem;
  bottom: 0.45rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
  background: rgba(250, 248, 244, 0.92);
  padding: 0.2rem 0.45rem;
  border-radius: 3px;
}
.note-fig-link:hover .note-fig-hint,
.note-fig-link:focus-visible .note-fig-hint {
  background: var(--gold);
  color: var(--navy);
}
.note-figs figcaption {
  padding: 0.5rem 0.65rem 0.65rem;
  font-size: 0.78rem;
  color: var(--ink-soft);
  line-height: 1.35;
}
.enlarge {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(7, 20, 33, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  cursor: zoom-out;
}
.enlarge[hidden] { display: none; }
.enlarge img {
  max-width: min(1100px, 96vw);
  max-height: 94vh;
  width: auto;
  height: auto;
  background: #fff;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.45);
}
body.enlarge-open { overflow: hidden; }
@media (max-width: 640px) {
  .note-figs { max-width: none; }
  .note-figs img { height: 9.5rem; }
}
.note-credit {
  font-size: 0.85rem;
  color: var(--ink-soft);
  max-width: 58ch;
  margin: 0 0 1.25rem;
  line-height: 1.55;
}
.note-credit a {
  color: var(--navy-mid);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.note-credit a:hover {
  color: var(--gold-dim);
}

.note-when {
  font-size: 0.92rem;
  color: var(--ink-soft);
  margin: 0.35rem 0 1.1rem;
}
.prev-notes {
  margin-top: 2rem;
  max-width: 58ch;
  padding-top: 1.35rem;
  border-top: 1px solid rgba(11, 31, 51, 0.1);
}
.prev-notes h3 {
  font-family: Fraunces, Georgia, serif;
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 0.75rem;
  color: var(--navy);
}
.prev-notes ul {
  list-style: none;
}
.prev-notes li {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.85rem;
  font-size: 0.98rem;
  margin: 0 0 0.45rem;
}
.prev-notes time {
  color: var(--ink-soft);
  min-width: 7.5rem;
}
.prev-notes a {
  color: var(--navy-mid);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.prev-notes a:hover {
  color: var(--gold-dim);
}
.note-back {
  margin: 1.5rem 0 0;
  font-size: 0.95rem;
}
.note-back a {
  color: var(--navy-mid);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.note-back a:hover {
  color: var(--gold-dim);
}
