/*
  AYF Assisting Academy — Mysore Apprenticeship
  Companion stylesheet for astangaforeningen.dk/assisting-academy.html.
  Keep this file after css/astanga-v2.css (and association-pages.css /
  schedule-pages.css, whose components this page reuses).
*/

/* Central statement / pull quotes reused across the page */
.academy-statement {
  max-width: 900px;
  margin: clamp(1.5rem, 4vw, 2.5rem) auto 0;
  padding-left: clamp(1.25rem, 3vw, 2rem);
  border-left: 3px solid var(--gold);
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(1.35rem, 2.6vw, 2rem);
  line-height: 1.4;
  letter-spacing: -.01em;
}
.academy-statement--on-dark { border-left-color: rgba(255,250,242,.55); color: #fffaf2; }

/* Six-stage educational progression (Practice -> ... -> Independent Teaching) */
.academy-pathway {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0;
  counter-reset: pathway;
}
.academy-pathway__step {
  position: relative;
  padding: clamp(1.5rem, 3vw, 2.25rem) clamp(.85rem, 2vw, 1.5rem) clamp(1.75rem, 3vw, 2.5rem);
  border-top: 2px solid var(--line);
  counter-increment: pathway;
}
.academy-pathway__step::before {
  content: counter(pathway, decimal-leading-zero);
  display: block;
  margin-bottom: 1rem;
  color: var(--wine);
  font-family: var(--display);
  font-size: 1.15rem;
}
.academy-pathway__step::after {
  content: "";
  position: absolute;
  top: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--wine);
  transition: width .3s ease;
}
.academy-pathway__step h3 {
  margin-bottom: .6rem;
  font-size: clamp(1.05rem, 1.4vw, 1.3rem);
  line-height: 1.15;
}
.academy-pathway__step p { margin: 0; color: var(--ink-soft); font-size: .88rem; line-height: 1.55; }
.academy-pathway__arrow {
  display: none;
  position: absolute;
  top: -2px;
  right: -.6rem;
  color: var(--ink-soft);
  font-size: 1rem;
  transform: translateY(-50%);
}
@media (min-width: 981px) {
  .academy-pathway__step:not(:last-child) .academy-pathway__arrow { display: block; }
}
.academy-pathway__note {
  max-width: 760px;
  margin: clamp(2.5rem, 5vw, 3.5rem) auto 0;
  text-align: center;
  color: var(--ink-soft);
}
.academy-pathway__note strong { color: var(--ink); font-weight: 600; }

@media (max-width: 980px) {
  .academy-pathway { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1.5rem; }
}
@media (max-width: 560px) {
  .academy-pathway { grid-template-columns: 1fr; }
}

/* Learning loop: Study -> Observe -> Apply -> Reflect -> Study again */
.academy-loop {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: center;
  gap: 0;
  counter-reset: loop;
}
.academy-loop__node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .85rem;
  width: 168px;
  text-align: center;
  counter-increment: loop;
}
.academy-loop__circle {
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  border: 1.5px solid var(--wine);
  border-radius: 50%;
  background: var(--paper);
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--wine);
  line-height: 1.2;
}
.academy-loop__node p { margin: 0; font-size: .78rem; color: var(--ink-soft); line-height: 1.45; }
.academy-loop__connector {
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(2rem, 4vw, 3.5rem);
  color: var(--ink-soft);
  font-size: 1.3rem;
  align-self: flex-start;
  margin-top: 40px;
}
.academy-loop__connector--wrap { width: 100%; justify-content: center; margin: .5rem 0; font-size: 1.6rem; transform: rotate(90deg); }
@media (min-width: 821px) {
  .academy-loop__connector--wrap { display: none; }
}
@media (max-width: 820px) {
  .academy-loop__connector:not(.academy-loop__connector--wrap) { display: none; }
  .academy-loop { flex-direction: column; align-items: center; }
}

/* Weekend timetable, January - June 2027 — reuses .schedule-grid/.schedule-day
   (workshop-pages.css); this just tweaks the shared component's badge colour. */
.academy-timetable .schedule-day > header > span { background: var(--wine); }

/* "What this is not" two-panel comparison */
.academy-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.academy-compare__panel { padding: clamp(2rem, 4vw, 3.25rem); background: var(--paper); }
.academy-compare__panel--dark { color: var(--white); background: var(--wine-dark); }
.academy-compare__panel h3 { margin-bottom: 1.5rem; }
.academy-compare__panel p { color: var(--ink-soft); }
.academy-compare__panel--dark p { color: rgba(255,255,255,.8); }
.academy-compare__steps { margin: 0; padding: 0; list-style: none; counter-reset: steps; }
.academy-compare__steps li {
  counter-increment: steps;
  display: grid;
  grid-template-columns: 1.75rem 1fr;
  gap: .75rem;
  padding: .85rem 0;
  border-top: 1px solid rgba(255,255,255,.18);
  font-size: .96rem;
}
.academy-compare__steps li:first-child { border-top: 0; padding-top: 0; }
.academy-compare__steps li::before {
  content: counter(steps) ".";
  color: rgba(255,255,255,.6);
  font-weight: 600;
}
@media (max-width: 900px) {
  .academy-compare { grid-template-columns: 1fr; }
}

/* Prerequisite / admission checklists (reuse assoc-checklist rhythm, single column) */
.academy-checklist { list-style: none; margin: clamp(1.5rem, 4vw, 2.5rem) 0 0; padding: 0; }
.academy-checklist li {
  display: grid;
  grid-template-columns: 1.7rem 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
  font-size: .98rem;
  line-height: 1.65;
}
.academy-checklist li::before {
  content: "";
  width: .5rem;
  height: .5rem;
  margin-top: .55rem;
  border-radius: 50%;
  background: var(--wine);
}

.academy-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: clamp(2rem, 4vw, 3rem); }
.academy-facts article { padding: clamp(1.75rem, 3vw, 2.5rem); background: var(--white); }
.academy-facts span { font-size: .74rem; text-transform: uppercase; letter-spacing: .14em; font-weight: 600; color: #7a6b60; }
.academy-facts h3 { margin: .7rem 0 .6rem; font-family: var(--display); font-size: clamp(1.5rem, 2.6vw, 2rem); }
.academy-facts p { margin: 0; color: var(--ink-soft); }
@media (max-width: 900px) { .academy-facts { grid-template-columns: 1fr; } }

/* Programme fee */
.academy-price-panel {
  display: grid;
  grid-template-columns: minmax(200px, .38fr) 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
  margin-top: clamp(2rem, 4vw, 3rem);
  padding: clamp(2rem, 4vw, 3.5rem);
  background: var(--warm);
  border: 1px solid var(--line);
}
.academy-price-panel__amount { display: flex; align-items: baseline; gap: .55rem; font-family: var(--display); }
.academy-price-panel__amount strong { font-size: clamp(2.75rem, 6vw, 4.5rem); font-weight: 500; line-height: 1; color: var(--wine); }
.academy-price-panel__amount span { font-family: var(--sans); font-size: .92rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); }
.academy-price-panel__body > p:first-child { margin-top: 0; }
.academy-price-panel .academy-checklist { margin-top: 1.5rem; }
.academy-price-panel .academy-checklist li { border-bottom-color: rgba(37,31,29,.12); }

.academy-price-callout {
  max-width: 800px;
  margin: clamp(2rem, 4vw, 3rem) auto 0;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border-left: 3px solid var(--gold);
  background: var(--white);
}
.academy-price-callout p { margin: 0 0 1rem; color: var(--ink-soft); }
.academy-price-callout p:last-child { margin-bottom: 0; }

.academy-payment { margin-top: clamp(3rem, 6vw, 4.5rem); }
.academy-payment h3 { margin-bottom: 1.5rem; }
.academy-payment__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); margin-bottom: clamp(1.5rem, 3vw, 2.25rem); }
.academy-payment__grid > div { padding: clamp(1.5rem, 3vw, 2rem); display: flex; flex-direction: column; gap: .5rem; background: var(--white); }
.academy-payment__grid span { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 600; color: var(--ink-soft); }
.academy-payment__grid strong { font-family: var(--display); font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 500; color: var(--ink); }
@media (max-width: 900px) {
  .academy-price-panel { grid-template-columns: 1fr; }
  .academy-payment__grid { grid-template-columns: 1fr; }
}

/* ---- Layout fixes, decided 2026-09-27 (reported after the pages went live) -- all scoped to this one
   stylesheet, which only these two pages load, so nothing here can affect any other page on the site. ---- */

/* The shared .schedule-hero h1 (astanga-v2.css) is sized for a short single word like "Holdplan"; this page's
   own title is a two-word phrase ("Mysore Apprenticeship"/"Mysore Apprenticeship") that overflowed the hero and
   dominated it at that same scale, especially on narrow screens. */
.schedule-hero h1 { font-size: clamp(2.5rem, 7vw, 6rem); }

/* A missing gap between a centred section heading and the paragraph directly under it -- invisible when that
   paragraph happens to stay on one line, glaring wherever it wraps to two or more (e.g. "En kontinuerlig
   læringscyklus" / "A continuous learning cycle"). Matches the gap the site already uses elsewhere for a
   heading-sized paragraph (.rental-hero, .schedule-hero__inner, .cta-panel-maroon__grid all use ~1.75-2rem),
   rather than the flatter 1rem first tried, which looked thin under this page's larger headings. */
.section-heading--center p:not(.eyebrow) { margin-top: clamp(1.5rem, 3vw, 2rem); }

/* The Extended Apprenticeship timeline's own numbers are ranges ("4–6", "10–12"), not the plain two-digit
   numbers .timeline-item__number (astanga-v2.css) was originally sized for elsewhere on this same page and on
   start.html -- without this, the dash and the second number could wrap onto their own line. */
#extended .timeline-item__number { font-size: clamp(1.4rem, 2.6vw, 2.4rem); white-space: nowrap; }

/* The shared .quote-section blockquote (astanga-v2.css) is sized for a short, one-line punchy quote; this
   page's own quote is a longer two-sentence line that wraps to two or three lines, and at the shared size
   it overwhelmed the whole section. Reported as "too big, half size" -- roughly halving it here. */
.quote-section blockquote { font-size: clamp(1.3rem, 2.75vw, 2.7rem); }

/* "400+ Hour Apprenticeship Programme" was marked up as a bare <h2>, which pulls the shared display-heading
   size (multiple rem, meant for a section title) -- far too large for what is really just an emphasised line
   inside the intro paragraph. Requested as "slightly bigger than a paragraph, and bold". */
.academy-highlight { margin: 0; font-size: clamp(1.1rem, 1.6vw, 1.3rem); font-weight: 700; }
