/* Mermaid introduction only; shared brand tokens and existing pages stay intact. */
.aire-mermaid { font-size: 1rem; line-height: 1.75; letter-spacing: -.015em; word-break: keep-all; overflow-wrap: anywhere; }
.aire-mermaid .top nav { gap: clamp(20px, 2.8vw, 40px); font-weight: 550; }
.aire-mermaid .section { padding-block: clamp(48px, 5.5vw, 80px); border-color: #42474d; }
.aire-mermaid h1, .aire-mermaid h2, .aire-mermaid h3 { font-weight: 650; line-height: 1.35; letter-spacing: -.035em; }
.aire-mermaid h1 { font-size: clamp(2rem, 3.7vw, 3.375rem); margin: 0; }
.aire-mermaid h2 { font-size: clamp(1.625rem, 2.7vw, 2.5rem); }
.aire-mermaid h3 { font-size: clamp(1.25rem, 1.8vw, 1.625rem); }
.aire-mermaid .eyebrow { font-size: .875rem; letter-spacing: .08em; font-weight: 600; margin-bottom: 18px; }
.aire-mermaid .btn { font-size: 1rem; font-weight: 600; min-height: 50px; text-align: center; }
.mermaid-hero { display: grid; grid-template-columns: 1.08fr 1fr; align-items: center; gap: clamp(32px, 5vw, 72px); }
.back-link { display: inline-block; font-size: .875rem; margin-bottom: 28px; color: var(--sub); }
.mermaid-intro .eyebrow span { margin-left: 8px; color: #a4afbf; font-size: .8125rem; }
.hero-description { color: var(--sub); margin: 22px 0; max-width: 36em; }
.lesson-key { margin: 24px 0 0; padding-left: 16px; border-left: 2px solid var(--electric); color: #dce5ff; }
.mermaid-photo { position: relative; display: flex; align-items: end; width: 100%; min-width: 0; margin: 0; padding: clamp(24px, 3vw, 40px); border: 1px solid #5b6978; background: linear-gradient(150deg, #304454, #20282f 74%); }
.mermaid-photo::before, .mermaid-photo::after { content: ''; position: absolute; left: 50%; top: 29%; background: #8296ad; opacity: .6; }
.mermaid-photo::before { width: 28px; height: 1px; transform: translateX(-50%); }
.mermaid-photo::after { width: 1px; height: 28px; transform: translateY(-50%); }
.mermaid-photo figcaption { display: grid; gap: 8px; color: #c8d1db; }
.mermaid-photo .photo-label { font-size: .875rem; color: #b2c3ff; }
.mermaid-photo strong { font-size: clamp(1.125rem, 1.8vw, 1.5rem); color: var(--ink); font-weight: 550; line-height: 1.4; }
.mermaid-photo figcaption > span:last-child { font-size: .9375rem; line-height: 1.65; }
.hero-photo { aspect-ratio: 1.15; }
.mermaid-photo.has-photo { overflow: hidden; isolation: isolate; background: #102938; }
.mermaid-photo.has-photo::before { display: none; }
.mermaid-photo.has-photo::after { display: block; inset: 0; width: 100%; height: 100%; transform: none; opacity: 1; background: linear-gradient(0deg, #08131bea, #08131b20 42%, transparent 70%); z-index: -1; }
.mermaid-photo.has-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 80%; z-index: -2; }
.mermaid-photo.has-photo figcaption { color: #edf3f8; }
.learning-photos { display: grid; gap: 18px; min-width: 0; }
.learning-photos .coaching-photo { aspect-ratio: 1.45; }
.movement-photo { aspect-ratio: 1.9; }
.movement-photo.has-photo img { object-position: 65% 82%; }
.choices-heading { margin-bottom: 26px; }
.choices-heading p, .section-description { color: var(--sub); margin: 12px 0 0; }
.mermaid-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.mermaid-option { display: flex; flex-direction: column; padding: clamp(24px, 3vw, 40px); border: 1px solid #687382; background: #282d33; }
.basic-option { border-top: 3px solid var(--electric); padding-top: calc(clamp(24px, 3vw, 40px) - 2px); background: #282f3d; }
.option-label { color: #b9caff; margin: 0 0 12px; font-size: .875rem; }
.aire-mermaid .mermaid-option h3 { font-size: clamp(1.3rem, 2.1vw, 1.875rem); font-weight: 720; line-height: 1.25; }
.option-time { color: var(--sub); margin: 14px 0 8px; font-size: .875rem; }
.option-price { margin: 0 0 16px; }
.option-price strong { font-size: clamp(1.5rem, 2.8vw, 2.25rem); font-weight: 650; line-height: 1.3; letter-spacing: -.04em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.option-price span { font-size: .9375rem; font-weight: 450; margin-left: 3px; letter-spacing: -.02em; }
.option-description { color: var(--sub); margin: 0 0 20px; font-size: .9375rem; line-height: 1.7; }
.option-outcome { margin: auto 0 20px; color: #dce5ff; font-size: .875rem; }
.mermaid-option .btn { width: 100%; }
.direct-rate-note, .comparison-note { color: var(--sub); font-size: .875rem; margin: 18px 0 0; }
.mermaid-comparison { width: 100%; border-collapse: collapse; margin-top: 36px; text-align: left; }
.mermaid-comparison caption { text-align: left; font-weight: 550; font-size: 1.125rem; padding-bottom: 20px; }
.mermaid-comparison th, .mermaid-comparison td { padding: 20px; border-bottom: 1px solid #515967; vertical-align: top; }
.mermaid-comparison thead th { background: #303640; font-weight: 550; }
.mermaid-comparison thead th:not(:first-child) { width: 42%; }
.mermaid-comparison tbody th { color: #e2e7f0; font-size: .875rem; font-weight: 550; }
.mermaid-comparison td { color: var(--sub); border-left: 1px solid #424b58; }
.mermaid-comparison td strong { color: #e4ebff; font-weight: 550; }
.mermaid-comparison td .compare-price { font-size: 1.25rem; white-space: nowrap; font-variant-numeric: tabular-nums; }
.instructor-rates { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.instructor-rates li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; }
.instructor-rates span { font-size: .875rem; }
.instructor-rates strong { font-size: 1.125rem; white-space: nowrap; }
.mermaid-learning { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(32px, 5vw, 72px); }
.coaching-photo { aspect-ratio: 1.15; }
.learning-copy > p:not(.eyebrow), .learning-detail p { color: var(--sub); margin: 18px 0 0; }
.learning-detail { margin-top: 24px; padding-top: 20px; border-top: 1px solid #424b58; }
.learning-detail h3 { font-size: 1.125rem; }
.learning-detail p { margin-top: 8px; }
.requirements-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-block: 1px solid #515967; margin: 28px 0 22px; }
.requirements-grid > div { padding: 24px; }
.requirements-grid > div:first-child { padding-left: 0; }
.requirements-grid > div + div { border-left: 1px solid #515967; }
.requirements-grid dt { color: var(--sub); margin: 0 0 12px; font-size: .875rem; }
.requirements-grid dd { display: grid; gap: 8px; }
.requirements-grid strong { color: var(--ink); font-size: 1.5rem; font-weight: 550; }
.requirements-grid span { font-size: .875rem; }
.requirements-note { color: var(--sub); margin: 0 0 18px; }
.mermaid-next { display: grid; grid-template-columns: 1fr auto; gap: 32px 48px; align-items: center; }
.mermaid-next > div > p:not(.eyebrow) { color: var(--sub); max-width: 42em; margin: 18px 0; }
.next-course-links { display: flex; flex-wrap: wrap; gap: 16px 24px; }
.mermaid-sources { grid-column: 1 / -1; border-top: 1px solid #42474d; padding-top: 24px; font-size: .875rem; color: var(--sub); }
.mermaid-sources summary { cursor: pointer; width: fit-content; padding-block: 8px; }
.mermaid-sources p { margin: 12px 0 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 900px) {
  .mermaid-hero, .mermaid-learning { grid-template-columns: 1fr; }
  .hero-photo { aspect-ratio: 1.8; }
  .coaching-photo { aspect-ratio: 1.7; }
  .mermaid-learning .learning-copy { grid-row: 1; }
  .mermaid-next { grid-template-columns: 1fr; }
  .mermaid-next > .btn { justify-self: start; }
}
@media (max-width: 620px) {
  .aire-mermaid .top nav { gap: 0; }
  .aire-mermaid .section { padding: 44px 20px; }
  .aire-mermaid .mermaid-hero { padding-top: 28px; gap: 26px; }
  .back-link { margin-bottom: 20px; }
  .aire-mermaid .eyebrow { margin-bottom: 14px; }
  .aire-mermaid h1 { font-size: clamp(1.875rem, 8vw, 2.75rem); }
  .hero-description { margin: 18px 0; line-height: 1.75; }
  .lesson-key { margin-top: 18px; }
  .hero-photo { min-height: 280px; aspect-ratio: 1.2; }
  .mermaid-photo { padding: 20px; }
  .hero-photo::before, .hero-photo::after { display: none; }
  .mermaid-photo figcaption > span:last-child { font-size: .875rem; }
  .mermaid-photo figcaption br { display: none; }
  .choices-heading { margin-bottom: 22px; }
  .mermaid-options { gap: 10px; }
  .mermaid-option { padding: 20px 14px 14px; }
  .basic-option { padding-top: 18px; }
  .option-label { min-height: 3.5em; }
  .option-time { font-size: .875rem; margin-top: 12px; }
  .option-price strong { font-size: clamp(1.25rem, 5.6vw, 1.625rem); }
  .option-price span { font-size: .875rem; margin-left: 1px; }
  .option-price strong { display: inline-block; }
  .option-price span { display: inline; }
  .option-description { line-height: 1.7; }
  .option-outcome { min-height: 3.5em; margin-bottom: 16px; }
  .mermaid-option .btn { padding: 10px 4px; }
  .mermaid-comparison, .mermaid-comparison thead, .mermaid-comparison tbody { display: block; }
  .mermaid-comparison caption { display: block; padding-bottom: 18px; }
  .mermaid-comparison tr { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mermaid-comparison .comparison-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .mermaid-comparison thead th:not(:first-child) { width: auto; font-size: 1rem; padding: 14px 12px; }
  .mermaid-comparison tbody th { grid-column: 1 / -1; padding: 16px 12px 8px; border: 0; background: #2c3036; }
  .mermaid-comparison td { min-width: 0; padding: 12px; line-height: 1.65; }
  .mermaid-comparison td:nth-child(2) { border-left: 0; }
  .instructor-rates li { display: grid; gap: 4px; }
  .requirements-grid { grid-template-columns: 1fr; gap: 0; }
  .requirements-grid > div, .requirements-grid > div:first-child { padding: 20px 0; }
  .requirements-grid > div + div { border-left: 0; border-top: 1px solid #42474d; }
  .requirements-grid dt { margin-bottom: 8px; }
  .requirements-grid dd { gap: 4px; }
  .requirements-grid strong { font-size: 1.375rem; }
  .coaching-photo { aspect-ratio: 1.2; min-height: 270px; }
  .learning-photos .coaching-photo { min-height: 0; }
  .aire-mermaid footer { font-size: .875rem; }
}
@media (max-width: 359px) {
  .aire-mermaid .section { padding-inline: 16px; }
  .mermaid-options { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .mermaid-option { padding-inline: 16px; }
  .option-label, .option-outcome { min-height: 0; }
  .mermaid-comparison td { padding-inline: 10px; }
}
