/* Intro guide only. Shared tokens come from style.css; home stays untouched. */
.aire-beginners {
  font-size: 1rem;
  line-height: 1.8;
  letter-spacing: -.015em;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.aire-beginners .top nav {
  gap: clamp(20px, 2.8vw, 40px);
  font-weight: 550;
}

.aire-beginners .section {
  padding-block: clamp(64px, 7vw, 100px);
  border-color: #42474d;
}

.aire-beginners h1,
.aire-beginners h2 {
  font-weight: 650;
  line-height: 1.35;
  letter-spacing: -.035em;
  text-wrap: wrap;
}

.aire-beginners h1 {
  font-size: clamp(1.875rem, 3.1vw, 2.75rem);
  margin: 0;
}

.aire-beginners h2 {
  font-size: clamp(1.75rem, 2.7vw, 2.5rem);
}

.aire-beginners h3 {
  font-size: clamp(1.25rem, 1.7vw, 1.5rem);
  font-weight: 620;
  line-height: 1.35;
  letter-spacing: -.025em;
}

.aire-beginners .eyebrow {
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: .1em;
  margin-bottom: 20px;
}

.aire-beginners .btn {
  min-height: 50px;
  font-size: .9375rem;
  font-weight: 600;
  letter-spacing: -.01em;
  text-align: center;
}

.aire-beginners .first-steps {
  padding-top: clamp(48px, 6vw, 80px);
  padding-bottom: clamp(48px, 5vw, 72px);
}

.first-steps .eyebrow > span[aria-hidden] {
  margin-inline: 10px;
  color: #818b9b;
}

.first-intro {
  max-width: none;
  color: var(--sub);
  margin: 20px 0 30px;
  line-height: 1.65;
}

.start-choices {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
}

.start-choices a {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 12px;
  padding: 28px;
  border-top: 3px solid transparent;
  transition: background-color .2s, border-color .2s;
}

.start-choices a + a {
  border-left: 1px solid var(--line);
}

.start-choices a:hover,
.start-choices a:focus-visible {
  background: #2b313d;
  border-top-color: var(--electric);
}

.sketch-filters {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.start-choices .choice-sketch {
  display: block;
  width: 96px;
  height: 96px;
  object-fit: contain;
  object-position: left center;
  margin-bottom: 4px;
  filter: invert(1) url(#sketch-ink);
}

.start-choices strong {
  font-size: clamp(1.125rem, 1.7vw, 1.5rem);
  font-weight: 620;
  line-height: 1.35;
  letter-spacing: -.025em;
}

.start-choices span {
  color: var(--sub);
  font-size: .875rem;
  font-weight: 400;
  line-height: 1.55;
}

.aire-beginners .course-story {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  align-items: center;
  gap: clamp(32px, 4vw, 56px);
}

.aire-beginners .course-story h2 {
  font-size: clamp(1.875rem, 2.7vw, 2.5rem);
}

.story-copy > p:not(.eyebrow) {
  color: var(--sub);
  margin: 14px 0 0;
  max-width: none;
  font-size: 1rem;
  line-height: 1.6;
}

.story-copy .story-fit {
  color: var(--ink);
  font-weight: 550;
}

.story-copy > p.course-note {
  padding-top: 12px;
  border-top: 1px solid #42474d;
  font-size: .9375rem;
}

.story-copy .btn {
  margin-top: 20px;
}

.lesson-photo {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  margin: 0;
  overflow: hidden;
  border: 1px solid #56616d;
  background: #20272e;
}

.lesson-photo img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--photo-position, 50% 50%);
}

#start-skin .lesson-photo {
  --photo-position: 55% 50%;
}

#start-mermaid .lesson-photo {
  --photo-position: 50% 78%;
}

#start-freediving .lesson-photo {
  --photo-position: 50% 60%;
}

.aire-beginners .reverse-story {
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
}

.reverse-story .lesson-photo {
  grid-column: 1;
  grid-row: 1;
}

.reverse-story .story-copy {
  grid-column: 2;
  grid-row: 1;
}

.aire-beginners .section-head {
  display: block;
  margin-bottom: 36px;
}

.aire-beginners .section-head > p {
  max-width: none;
  margin: 16px 0 0;
  font-size: 1rem;
  line-height: 1.65;
}

.lesson-places {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 24px;
}

.lesson-places article {
  padding: 30px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--blue);
}

.lesson-places .place-label {
  margin: 0 0 12px;
  font-weight: 600;
  color: #b2c3ff;
}

.lesson-places article > p:not(.place-label) {
  color: var(--sub);
  margin: 12px 0;
  line-height: 1.65;
}

.place-address {
  font-size: .9375rem;
}

.pool-locations {
  margin-top: 20px;
}

.pool-locations summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 48px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: .9375rem;
  font-weight: 600;
  line-height: 1.5;
  list-style: none;
  cursor: pointer;
}

.pool-locations summary::-webkit-details-marker {
  display: none;
}

.pool-toggle::before {
  content: '+';
  font-size: 1.25rem;
  font-weight: 400;
}

.pool-locations[open] .pool-toggle::before {
  content: '−';
}

.pool-locations summary:hover,
.pool-link:hover {
  background: #2b313d;
  border-color: var(--electric);
}

.pool-locations summary:focus-visible,
.pool-link:focus-visible {
  outline: 2px solid var(--electric);
  outline-offset: 4px;
}

.pool-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.pool-list li {
  padding: 20px 0;
  border-bottom: 1px solid #42474d;
}

.pool-list strong {
  display: block;
  font-size: 1rem;
  font-weight: 550;
  line-height: 1.4;
}

.pool-list address {
  margin-top: 8px;
  color: var(--sub);
  font-size: .9375rem;
  font-style: normal;
  line-height: 1.6;
}

.pool-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 12px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  color: #c2cfff;
  font-size: .875rem;
  font-weight: 550;
  line-height: 1.5;
}

.schedule-note {
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.schedule-note h3 {
  margin-bottom: 12px;
}

.schedule-note p {
  color: var(--sub);
  margin: 0;
  line-height: 1.65;
}

.cost-paths {
  max-width: none;
  letter-spacing: -.015em;
}

.cost-paths > p {
  color: var(--sub);
  margin: 12px 0 0;
  font-size: 1rem;
  line-height: 1.6;
}

.cost-paths ul {
  display: grid;
  gap: 0;
  padding: 0;
  margin: 20px 0 0;
  list-style: none;
  border-top: 1px solid #42474d;
}

.cost-paths li {
  display: grid;
  grid-template-columns: 14rem minmax(0, 1fr);
  align-items: baseline;
  gap: 24px;
  padding: 16px 0;
  border-bottom: 1px solid #42474d;
}

.cost-paths li a {
  width: fit-content;
  font-size: 1rem;
  font-weight: 550;
  line-height: 1.6;
}

.cost-paths li span {
  color: var(--sub);
  font-size: .875rem;
  font-weight: 400;
  line-height: 1.6;
}

.cost-paths > .course-note {
  margin-top: 16px;
}

.consult-invite {
  margin-top: clamp(56px, 7vw, 96px);
  padding: clamp(28px, 5vw, 64px);
  border-left: 3px solid var(--blue);
  background: var(--dark);
}

.consult-invite > p:not(.eyebrow) {
  color: var(--sub);
  max-width: none;
  margin: 18px 0;
  line-height: 1.65;
}

.consult-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px 24px;
}

.back-home {
  display: inline-block;
}

@media (min-width: 901px) {
  #start-freediving .story-copy > p:not(.eyebrow),
  #start-hobby .story-copy > p:not(.eyebrow) {
    text-wrap: pretty;
  }

  .pool-list li {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px 16px;
    padding-block: 18px;
  }

  .pool-list strong,
  .pool-list address {
    grid-column: 1;
  }

  .pool-list address {
    margin-top: 0;
  }

  .pool-list .pool-link {
    grid-column: 2;
    grid-row: 1 / 3;
    margin-top: 0;
  }
}

@media (max-width: 950px) {
  .start-choices a {
    padding: 20px 16px;
  }
}

@media (min-width: 621px) and (max-width: 900px) {
  .aire-beginners .course-story,
  .aire-beginners .reverse-story {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .reverse-story .story-copy,
  .reverse-story .lesson-photo {
    grid-column: auto;
    grid-row: auto;
  }

  .lesson-photo {
    aspect-ratio: 16 / 9;
  }

  #start-mermaid .lesson-photo {
    --photo-position: 50% 62%;
  }
}

@media (max-width: 620px) {
  .aire-beginners .top nav {
    gap: 0;
    flex-wrap: wrap;
  }

  .aire-beginners .section {
    padding: 64px 24px;
  }

  .aire-beginners .first-steps {
    padding-top: 32px;
    padding-bottom: 40px;
  }

  .first-steps .eyebrow {
    font-size: .875rem;
    margin-bottom: 16px;
  }

  .aire-beginners h1 {
    font-size: clamp(1.875rem, 8.3vw, 2.75rem);
    text-wrap: balance;
  }

  .aire-beginners .course-story h2 {
    line-height: 1.3;
  }

  .first-intro {
    margin: 18px 0 22px;
  }

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

  .start-choices a {
    justify-content: start;
    gap: 7px;
    padding: 16px 14px 18px;
  }

  .start-choices a:nth-child(odd) {
    border-left: 0;
  }

  .start-choices a:nth-child(n+3) {
    border-top: 1px solid var(--line);
  }

  .start-choices a:hover,
  .start-choices a:focus-visible {
    background: #2b313d;
  }

  .start-choices strong {
    font-size: 1.125rem;
  }

  .start-choices .choice-sketch {
    width: 72px;
    height: 72px;
    margin-bottom: 2px;
  }

  .aire-beginners .course-story,
  .aire-beginners .reverse-story {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .reverse-story .story-copy,
  .reverse-story .lesson-photo {
    grid-column: auto;
    grid-row: auto;
  }

  .lesson-photo {
    aspect-ratio: 4 / 3;
    min-height: 280px;
  }

  .aire-beginners .section-head {
    margin-bottom: 28px;
  }

  .lesson-places {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .lesson-places article {
    padding: 24px;
  }

  .cost-paths li {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
    padding-block: 14px;
  }

  .consult-invite {
    padding: 28px 24px;
  }
}

@media (max-width: 360px) {
  .start-choices .choice-sketch {
    width: 48px;
    height: 48px;
  }

  #start-hobby .lesson-photo {
    --photo-position: 0% 50%;
  }

  #start-skin .lesson-photo {
    --photo-position: 65% 50%;
  }
}
