/* ============================================================
   Aviation WonderLab – page-specific styles
   Extends css/style.css; same design tokens.
   ============================================================ */

/* ── Hero overrides ─────────────────────────────────────────── */
.awl-hero__heading {
  font-size: clamp(2.8rem, 7vw, 5rem);
  margin-bottom: 12px;
}

.awl-hero__tagline {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.05rem, 2.4vw, 1.35rem);
  color: var(--gold);
  margin-bottom: 28px;
  letter-spacing: 0.02em;
}

.awl-hero__sub2 { margin-top: -16px; }

.awl-hero__truth {
  font-family: var(--serif);
  font-size: clamp(1rem, 2vw, 1.15rem);
  font-style: italic;
  color: var(--navy);
  border-left: 3px solid var(--gold);
  padding-left: 18px;
  margin-bottom: 36px;
  line-height: 1.6;
}

/* SVG for aviation page */
.awl-compass {
  width: 100%;
  height: auto;
  animation: compass-float 7s ease-in-out infinite;
  filter: drop-shadow(0 12px 32px rgba(27, 42, 74, 0.1));
}

/* ── Prose block (What it is) ───────────────────────────────── */
.awl-prose {
  max-width: 700px;
  margin: 0 auto;
}

.awl-prose p {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--text-body);
  margin-bottom: 18px;
}

.awl-prose p:last-child { margin-bottom: 0; }

.awl-prose strong {
  color: var(--navy);
  font-weight: 600;
}

/* ── Rule card ──────────────────────────────────────────────── */
.awl-rule-card {
  max-width: 560px;
  margin: 0 auto 52px;
  background: var(--navy);
  border-radius: var(--radius);
  padding: 28px 36px;
  text-align: center;
}

.awl-rule-card__rule {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  font-style: italic;
  color: var(--gold);
  line-height: 1.4;
}

/* ── Timeline (Experience steps) ───────────────────────────── */
.awl-timeline {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

/* Connecting vertical line */
.awl-timeline::before {
  content: '';
  position: absolute;
  top: 24px;
  bottom: 24px;
  left: 23px;
  width: 2px;
  background: linear-gradient(to bottom, transparent, var(--gold) 10%, var(--gold) 90%, transparent);
  opacity: 0.3;
}

.awl-timeline__item {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 0 0 36px 0;
  position: relative;
}

.awl-timeline__item:last-child { padding-bottom: 0; }

.awl-timeline__num {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--navy);
  color: var(--gold);
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 4px var(--cream-dark);
  position: relative;
  z-index: 1;
}

.awl-timeline__title {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
  padding-top: 10px;
}

.awl-timeline__body {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.75;
}

.awl-structure-note {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--gold);
  text-align: center;
  margin-top: 40px;
}

/* ── Actions list (What children do) ───────────────────────── */
.awl-actions {
  max-width: 680px;
  margin: 0 auto 40px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.awl-action {
  display: flex;
  align-items: baseline;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(27, 42, 74, 0.08);
}

.awl-action:last-child { border-bottom: none; }

.awl-action__num {
  flex-shrink: 0;
  font-family: var(--serif);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.08em;
  opacity: 0.7;
  width: 28px;
}

.awl-action__text {
  font-family: var(--serif);
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  color: var(--navy);
  line-height: 1.4;
}

.awl-cap-line {
  max-width: 640px;
  margin: 0 auto;
  border-top: 1px solid rgba(27, 42, 74, 0.1);
  padding-top: 32px;
}

.awl-cap-line p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.8;
  text-align: center;
  font-style: italic;
}

/* ── Environment cards: 2-col on tablet, 4 on desktop ──────── */
.awl-env-cards {
  margin-top: 8px;
}

/* ── Carry home block ───────────────────────────────────────── */
.awl-carry {
  max-width: 620px;
  margin: 0 auto;
  background: var(--cream-light);
  border-radius: var(--radius);
  padding: 36px 40px;
  border-left: 4px solid var(--gold);
  box-shadow: var(--shadow);
}

.awl-carry p {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--text-body);
  margin-bottom: 16px;
}

.awl-carry p:last-child { margin-bottom: 0; }

.awl-carry strong {
  color: var(--navy);
  font-weight: 600;
}

/* ── Closing statement ──────────────────────────────────────── */
.awl-close {
  background: var(--navy);
}

.awl-close__inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.awl-close__heading {
  font-family: var(--serif);
  font-size: clamp(1.55rem, 3.5vw, 2.4rem);
  font-weight: 700;
  color: var(--cream-light);
  line-height: 1.2;
  margin-bottom: 28px;
}

.awl-close__body {
  font-size: 1.05rem;
  color: rgba(253, 250, 243, 0.72);
  line-height: 1.85;
  margin-bottom: 24px;
}

.awl-close__kicker {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  color: var(--gold);
  line-height: 1.5;
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (min-width: 640px) {
  .awl-timeline::before { left: 23px; }
}

@media (min-width: 960px) {
  .awl-timeline {
    flex-direction: row;
    align-items: flex-start;
    gap: 0;
    max-width: 100%;
  }

  .awl-timeline::before {
    top: 23px;
    bottom: auto;
    left: 24px;
    right: 24px;
    width: auto;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold) 10%, var(--gold) 90%, transparent);
  }

  .awl-timeline__item {
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    padding: 0 16px 0 0;
  }

  .awl-timeline__item:last-child { padding-right: 0; }

  .awl-timeline__num {
    box-shadow: 0 0 0 4px var(--cream);
    margin-bottom: 16px;
  }

  .awl-timeline__title { padding-top: 0; }

  .awl-actions { max-width: 900px; }

  .awl-rule-card { margin-bottom: 64px; }
}

/* ── Reduced motion ─────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .awl-compass { animation: none; }
}
