/* 200-Hour Yoga Teacher Training page – styles used only on /training/.
   Built on the main site's tokens from site.css (--ivory, --olive, --terracotta, --charcoal, --serif, --sans, --pad, --ease…).
   Same structure and feel as the masterclass page, in the studio's olive tones. */

/* ── Hero ─────────────────────────────── */
.t-hero {
  background:
    radial-gradient(70% 60% at 85% 20%, color-mix(in srgb, var(--sand) 16%, transparent), transparent 70%),
    var(--olive-deep);
  color: var(--ivory);
  padding-top: calc(var(--nav-h) + clamp(2rem, 5vw, 4rem));
  padding-bottom: clamp(3.5rem, 7vw, 6rem);
  overflow: hidden;
}
.t-hero__inner { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.t-hero__text { display: grid; gap: clamp(1rem, 2vw, 1.5rem); justify-items: start; min-width: 0; }
.t-kicker { display: flex; gap: .7rem; flex-wrap: wrap; font-size: .74rem; letter-spacing: .28em; text-transform: uppercase; color: var(--sand); }
.t-kicker span:nth-child(2) { color: var(--terracotta); }
.t-hero__title { font-family: var(--serif); font-weight: 280; letter-spacing: -.03em; line-height: .95; font-size: clamp(2.8rem, 1.3rem + 5vw, 6rem); text-wrap: balance; }
.t-hero__title em { display: block; font-style: italic; font-weight: 250; color: var(--sand); }
.t-hero__tag { font-family: var(--serif); font-style: italic; font-size: clamp(1.2rem, 1rem + .7vw, 1.6rem); font-weight: 350; line-height: 1.35; max-width: 30rem; color: color-mix(in srgb, var(--ivory) 90%, transparent); }
.t-ticket { display: grid; grid-template-columns: repeat(3, minmax(0, auto)); margin-top: .5rem; border: 1px solid color-mix(in srgb, var(--ivory) 22%, transparent); border-radius: .9rem; overflow: hidden; }
.t-ticket div { padding: .9rem 1.25rem; display: grid; gap: .2rem; border-left: 1px dashed color-mix(in srgb, var(--ivory) 22%, transparent); }
.t-ticket div:first-child { border-left: 0; }
.t-ticket dt { font-size: .62rem; letter-spacing: .22em; text-transform: uppercase; color: var(--sand); }
.t-ticket dd { font-family: var(--serif); font-size: clamp(1.15rem, 1rem + .5vw, 1.45rem); white-space: nowrap; }
.t-ticket small { font-family: var(--sans); font-size: .7rem; color: var(--sand); letter-spacing: .06em; }
.t-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; margin-top: .75rem; }
.t-hero .btn--light { --b-bg: var(--ivory); --b-fg: var(--charcoal); --b-chip: var(--terracotta); --b-chip-fg: var(--white); --b-fg-hover: var(--white); }
.t-hero__link { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; border-bottom: 1px solid color-mix(in srgb, var(--ivory) 55%, transparent); padding-bottom: 2px; transition: border-color .3s, color .3s; }
.t-hero__link:hover { color: var(--sand); border-color: var(--sand); }
.t-hero__media { position: relative; margin: 0; justify-self: end; width: 100%; max-width: 440px; }
.t-hero__media img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; display: block; border-radius: 999px 999px 1.25rem 1.25rem; box-shadow: 0 40px 80px -40px rgba(0,0,0,.6); }
.t-hero__media::before { content: ""; position: absolute; inset: -14px 14px -14px -14px; border: 1px solid color-mix(in srgb, var(--sand) 45%, transparent); border-radius: 999px 999px 1.6rem 1.6rem; pointer-events: none; }

/* ── Curriculum ─────────────────────────────── */
.t-study { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; margin-top: clamp(2.5rem, 5vw, 4rem); background: color-mix(in srgb, var(--charcoal) 12%, transparent); border: 1px solid color-mix(in srgb, var(--charcoal) 12%, transparent); border-radius: 1.25rem; overflow: hidden; }
.t-study li { background: var(--white); padding: clamp(1.4rem, 2.5vw, 2rem); display: grid; gap: .5rem; align-content: start; min-width: 0; }
.t-study__n { font-family: var(--serif); font-style: italic; color: var(--terracotta); }
.t-study h3 { font-family: var(--serif); font-weight: 350; font-size: clamp(1.35rem, 1.15rem + .5vw, 1.65rem); line-height: 1.15; }
.t-study p { font-size: .93rem; line-height: 1.6; color: var(--soft); }

/* ── Daily schedule ─────────────────────────────── */
.t-daysec { background: var(--olive-deep); color: var(--ivory); }
.t-daysec .display em { color: var(--sand); }
.t-daysec__intro { max-width: 34rem; margin-inline: auto; color: color-mix(in srgb, var(--ivory) 80%, transparent); }
.t-day { max-width: 54rem; margin: clamp(2.5rem, 5vw, 4rem) auto 0; border-top: 1px solid color-mix(in srgb, var(--ivory) 18%, transparent); }
.t-day li { display: grid; grid-template-columns: 10rem 1fr; gap: 1rem 2rem; align-items: baseline; padding: 1.25rem 0; border-bottom: 1px solid color-mix(in srgb, var(--ivory) 18%, transparent); }
.t-day__when { font-family: var(--serif); font-style: italic; font-size: clamp(1.4rem, 1.2rem + .6vw, 1.8rem); color: var(--sand); }
.t-day__what { font-size: 1rem; line-height: 1.6; color: color-mix(in srgb, var(--ivory) 88%, transparent); }
.t-weeks { max-width: 54rem; margin: clamp(2.5rem, 5vw, 3.5rem) auto 0; padding: clamp(1.5rem, 3vw, 2.25rem); border-radius: 1.25rem; background: color-mix(in srgb, var(--olive) 60%, var(--olive-deep)); display: grid; gap: 1rem; }
.t-weeks__title { font-family: var(--serif); font-weight: 350; font-size: clamp(1.4rem, 1.2rem + .6vw, 1.8rem); }
.t-weeks__list { display: grid; gap: .6rem; }
.t-weeks__list li { position: relative; padding-left: 1.6rem; color: color-mix(in srgb, var(--ivory) 86%, transparent); line-height: 1.6; }
.t-weeks__list li::before { content: ""; position: absolute; left: 0; top: .8em; width: .8rem; height: 1px; background: var(--terracotta); }
.t-weeks__list strong { color: var(--ivory); font-weight: 600; }

/* ── Included ─────────────────────────────── */
.t-media-land img { aspect-ratio: 4 / 3; width: 100%; height: 100%; object-fit: cover; }

/* ── 2027 batches + reserving ─────────────────────────────── */
.t-batches { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.t-batch { display: flex; flex-direction: column; gap: .3rem; padding: 1.6rem 1.4rem; min-width: 0; border: 1px solid color-mix(in srgb, var(--charcoal) 14%, transparent); border-radius: 1rem; background: var(--ivory); transition: border-color .3s, transform .4s var(--ease); }
.t-batch:hover { border-color: var(--terracotta); transform: translateY(-3px); }
.t-batch__tag { font-size: .64rem; letter-spacing: .22em; text-transform: uppercase; color: var(--soft); }
.t-batch__month { font-family: var(--serif); font-weight: 320; font-size: clamp(1.9rem, 1.5rem + 1vw, 2.4rem); line-height: 1.05; }
.t-batch__when { font-size: .9rem; color: var(--soft); }
.t-batch__go { margin-top: 1.25rem; font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--terracotta-ink); }
.t-batch.is-next { background: var(--olive); border-color: var(--olive); color: var(--ivory); }
.t-batch.is-next .t-batch__tag, .t-batch.is-next .t-batch__when { color: var(--sand); }
.t-batch.is-next .t-batch__go { color: var(--ivory); }
.t-reserve { margin-top: clamp(2.5rem, 5vw, 3.5rem); display: grid; gap: 1.25rem; }
.t-reserve__title { font-family: var(--serif); font-weight: 350; font-size: clamp(1.4rem, 1.2rem + .6vw, 1.8rem); text-align: center; }
.t-reserve__steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: color-mix(in srgb, var(--charcoal) 12%, transparent); border-radius: 1.25rem; overflow: hidden; }
.t-reserve__steps li { display: grid; grid-template-columns: auto 1fr; gap: 1rem; padding: clamp(1.25rem, 2.5vw, 1.75rem); background: var(--ivory); }
.t-reserve__steps span { display: grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--olive); color: var(--ivory); font-family: var(--serif); }
.t-reserve__steps p { font-size: .93rem; line-height: 1.6; color: var(--soft); }
.t-reserve__steps strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.2rem; color: var(--charcoal); margin-bottom: .2rem; }

/* ── Teachers ─────────────────────────────── */
.t-teachers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 2.5rem); margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.t-teacher { padding-top: 1.75rem; border-top: 1px solid var(--charcoal); display: grid; gap: .5rem; align-content: start; }
.t-teacher h3 { font-family: var(--serif); font-weight: 350; font-size: clamp(1.7rem, 1.4rem + 1vw, 2.2rem); line-height: 1.1; }
.t-teacher__role { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--terracotta-ink); }
.t-teacher p:last-child { color: var(--soft); }

/* ── Enquire ─────────────────────────────── */
.t-enquire { background: var(--terracotta-ink); color: var(--white); }
.t-enquire__inner { display: grid; gap: 1.25rem; justify-items: center; text-align: center; }
.t-enquire .display em { color: var(--sand); }
.t-enquire p { max-width: 34rem; color: color-mix(in srgb, var(--white) 88%, transparent); }
.t-enquire .btn--light { --b-bg: var(--ivory); --b-fg: var(--charcoal); --b-chip: var(--olive-deep); --b-chip-fg: var(--white); --b-fg-hover: var(--white); }
.t-enquire__contact { font-size: .85rem; letter-spacing: .08em; }

/* ── Reveal (armed by JS only, page is complete without it) ── */
.r-armed { opacity: 0; transform: translateY(18px); }
.r-armed.r-in { opacity: 1; transform: none; transition: opacity 1s var(--ease), transform 1s var(--ease); }

/* ── Responsive ─────────────────────────────── */
@media (max-width: 1000px) {
  .t-study, .t-batches { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 899px) {
  .t-hero__inner, .t-reserve__steps, .t-teachers { grid-template-columns: minmax(0, 1fr); }
  .t-hero__media { justify-self: center; max-width: 340px; margin-top: 1rem; }
}
@media (max-width: 640px) {
  .t-study, .t-batches { grid-template-columns: minmax(0, 1fr); }
  .t-day li { grid-template-columns: minmax(0, 1fr); gap: .25rem; }
  .t-ticket { grid-template-columns: minmax(0, 1fr); width: 100%; }
  .t-ticket div { border-left: 0; border-top: 1px dashed color-mix(in srgb, var(--ivory) 22%, transparent); display: flex; justify-content: space-between; align-items: baseline; }
  .t-ticket div:first-child { border-top: 0; }
}
@media (prefers-reduced-motion: reduce) { .r-armed { opacity: 1; transform: none; } }
