/* ==========================================================================
   Classes & Programmes page
   Builds on the shared design system in style.css (tokens, cards, frames).
   ========================================================================== */

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
@media (min-width: 901px) {
  .classes-hero .page-hero__inner { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); }
}
.classes-hero__facts {
  display: flex; flex-wrap: wrap; gap: 0.7rem 1.6rem;
  list-style: none; padding: 0; margin: 2rem 0 0;
}
.classes-hero__facts li { display: inline-flex; align-items: center; gap: 0.55rem; font-size: 0.94rem; font-weight: 500; color: var(--maroon-800); }
.classes-hero__facts .icon { width: 1.35rem; height: 1.35rem; color: var(--gold-600); }

.classes-hero__art { max-width: 400px; }
.classes-hero__art .arch img { object-position: 50% 80%; }
.classes-hero__badge {
  position: absolute; z-index: 2; left: -12%; bottom: 7%;
  display: flex; align-items: center; gap: 0.75rem; padding: 0.8rem 1.15rem 0.8rem 0.85rem;
  background: rgba(255, 252, 245, 0.95); border: 1px solid var(--line-gold); border-radius: 16px;
  box-shadow: var(--shadow-md); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  animation: float 6s ease-in-out infinite;
}
.classes-hero__badge .icon { width: 2.2rem; height: 2.2rem; color: var(--lotus); }
.classes-hero__badge strong { display: block; font-family: var(--font-serif); font-size: 1.22rem; line-height: 1.1; font-weight: 600; color: var(--maroon-800); }
.classes-hero__badge small { display: block; font-size: 0.78rem; color: var(--ink-soft); letter-spacing: 0.02em; }

/* comfortable touch targets for standalone text links on this page */
main .link-arrow { min-height: 44px; }
.classes-hero__petal {
  position: absolute; z-index: 2; width: 50px; height: 50px; top: -3%; right: 4%;
  color: var(--lotus); opacity: 0.85; animation: float 7s ease-in-out infinite; animation-delay: -2s;
}
.classes-hero__spark {
  position: absolute; z-index: 2; width: 32px; height: 32px; top: 42%; right: -5%;
  color: var(--gold-500); animation: float 8s ease-in-out infinite; animation-delay: -4s;
}

@media (max-width: 900px) {
  .classes-hero .page-hero__art { max-width: 320px; margin-top: 0.5rem; }
}
@media (max-width: 520px) {
  .classes-hero__facts { gap: 0.6rem 1.2rem; }
  .classes-hero__facts li { font-size: 0.9rem; }
  .classes-hero__badge { left: -4%; bottom: 3%; padding: 0.6rem 0.9rem 0.6rem 0.7rem; }
  .classes-hero__badge .icon { width: 1.8rem; height: 1.8rem; }
  .classes-hero__badge strong { font-size: 1.05rem; }
  .classes-hero__spark { right: -2%; }
}

/* --------------------------------------------------------------------------
   Why Alapadma: cards crowned with the logo's laurel wreath
   -------------------------------------------------------------------------- */
.why-card { padding-top: clamp(1.6rem, 2.6vw, 2.1rem); }
.why-card__wreath { width: 124px; height: 124px; margin-bottom: 0.9rem; }
.why-card .laurel__value .icon { width: 2.3rem; height: 2.3rem; color: var(--maroon-700); }
.why-card .laurel__value .icon--wheel { width: 2.9rem; height: 2.9rem; }
.why-card .card__kicker { margin-bottom: 0.35rem; }
.why-card .card__title { font-size: clamp(1.35rem, 1.8vw, 1.55rem); }
.why-card .card__text { font-size: 0.97rem; line-height: 1.65; margin: 0; }

/* phones: a compact row, wreath beside the words */
@media (max-width: 640px) {
  .why-grid { gap: 1rem; }
  .why-card {
    display: grid; grid-template-columns: 84px minmax(0, 1fr); column-gap: 1.1rem; align-items: start;
    text-align: left; padding: 1.3rem 1.3rem 1.4rem 1.1rem;
  }
  .why-card__wreath { grid-row: 1 / span 3; width: 84px; height: 84px; margin: 0.1rem 0 0; }
  .why-card .laurel__value .icon { width: 1.65rem; height: 1.65rem; }
  .why-card .laurel__value .icon--wheel { width: 2.05rem; height: 2.05rem; }
  .why-card .card__kicker { margin-bottom: 0.2rem; }
  .why-card .card__title { font-size: 1.32rem; margin-bottom: 0.3em; }
  .why-card .card__text { font-size: 0.94rem; line-height: 1.6; }
}

/* --------------------------------------------------------------------------
   Programme cards
   -------------------------------------------------------------------------- */
.prog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.25rem, 2.4vw, 2rem); }

.prog {
  --accent: var(--gold-500); --accent-ink: var(--gold-800); --accent-soft: var(--gold-100);
  position: relative; display: flex; flex-direction: column; isolation: isolate; overflow: hidden;
  padding: 0 clamp(1.5rem, 2.4vw, 2rem) clamp(1.5rem, 2.4vw, 1.9rem);
  background: var(--ivory); border: 1px solid var(--line-gold); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: translate 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}
/* soft wash of the programme colour behind the crest */
.prog::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 180px; z-index: -1; pointer-events: none;
  background:
    radial-gradient(70% 90% at 16% 0%, var(--accent-soft), transparent 75%),
    radial-gradient(50% 70% at 92% 0%, var(--accent-soft), transparent 80%);
}
/* accent rule along the top edge */
.prog::after {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, transparent, var(--accent) 20%, var(--accent) 80%, transparent);
}
/* Lift with the individual `translate` property: the shared `.js .reveal.is-visible { transform: none }`
   outranks a `transform` hover rule, which left these cards flat on hover. */
.js .prog.reveal { transition: opacity 0.9s var(--ease), transform 0.9s var(--ease), translate 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease); }
/* keep the reveal stagger on opacity/transform only, so hover responds at once */
.js .prog.reveal--d1 { transition-delay: 0.1s, 0.1s, 0s, 0s, 0s !important; }
.js .prog.reveal--d2 { transition-delay: 0.2s, 0.2s, 0s, 0s, 0s !important; }
.js .prog.reveal--d3 { transition-delay: 0.3s, 0.3s, 0s, 0s, 0s !important; }
.prog:hover { translate: 0 -6px; box-shadow: var(--shadow-md); border-color: var(--gold-400); }

.prog__crest { display: flex; align-items: center; justify-content: space-between; padding-top: 1.9rem; margin-bottom: 1.3rem; }
.prog__icon {
  position: relative; display: grid; place-items: center; width: 66px; height: 66px; border-radius: 50%;
  color: var(--accent-ink); background: #fff;
  box-shadow: inset 0 0 0 1.5px var(--accent), 0 10px 22px -12px rgba(61, 12, 24, 0.45);
  transition: transform 0.5s var(--ease);
}
.prog__icon::before {
  content: ""; position: absolute; inset: -7px; border-radius: 50%;
  border: 1px dashed var(--accent); opacity: 0.55;
}
.prog__icon .icon { width: 34px; height: 34px; }
.prog:hover .prog__icon { transform: rotate(-8deg) scale(1.05); }
.prog__num {
  font-family: var(--font-deco); font-weight: 700; font-size: 2.7rem; line-height: 1;
  color: var(--accent); opacity: 0.32; letter-spacing: 0.02em;
}
.prog__kicker {
  font-family: var(--font-caps); font-size: 0.68rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--accent-ink); margin-bottom: 0.4rem;
}
.prog__title { font-size: clamp(1.6rem, 2.2vw, 1.9rem); margin-bottom: 0.45em; }
.prog__who { color: var(--ink-soft); font-size: 1rem; line-height: 1.65; margin-bottom: 0; }
.prog__label {
  display: flex; align-items: center; gap: 0.75rem; margin: 1.35rem 0 0.8rem;
  font-family: var(--font-caps); font-size: 0.64rem; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: var(--maroon-700);
}
.prog__label::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--line-gold), transparent); }
.prog__list { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: 0.55rem; }
.prog__list li { position: relative; padding-left: 1.45rem; font-size: 0.97rem; line-height: 1.55; color: var(--ink); text-wrap: pretty; }
.prog__list li::before {
  content: ""; position: absolute; left: 0.15rem; top: 0.52em; width: 7px; height: 7px;
  background: var(--accent); transform: rotate(45deg); box-shadow: 0 0 0 3px var(--accent-soft);
}
.prog__foot { margin-top: auto; padding-top: 1.2rem; border-top: 1px solid var(--line); display: grid; gap: 0.95rem; justify-items: start; }
.prog__note { display: flex; align-items: center; gap: 0.5rem; margin: 0; font-size: 0.86rem; color: var(--ink-soft); font-style: italic; line-height: 1.4; }
.prog__note .icon { width: 1.05rem; height: 1.05rem; color: var(--accent-ink); }

/* programme colours: the logo palette, from first bloom to the full margam */
.prog--lotus   { --accent: var(--lotus);      --accent-ink: #9b2453;          --accent-soft: #fbe3ec; }
.prog--gold    { --accent: var(--gold-500);   --accent-ink: var(--gold-800);  --accent-soft: var(--gold-100); }
.prog--saffron { --accent: var(--saffron);    --accent-ink: #9a4c12;          --accent-soft: #fde9d3; }
.prog--maroon  { --accent: var(--maroon-600); --accent-ink: var(--maroon-700); --accent-soft: #f6e1e6; }
.prog--peacock { --accent: #2c8a83;           --accent-ink: #1d625d;          --accent-soft: #dcf0ed; }
.prog--leaf    { --accent: var(--leaf-500);   --accent-ink: var(--leaf-700);  --accent-soft: #e6f0dd; }

/* "not sure where to begin" ribbon */
.prog-help {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 1rem 1.4rem;
  max-width: 880px; margin: clamp(2.5rem, 5vw, 3.5rem) auto 0; padding: 1rem 1.2rem 1rem 1rem;
  background: rgba(255, 252, 245, 0.75); border: 1px dashed var(--gold-500); border-radius: 999px;
}
.prog-help__icon {
  display: grid; place-items: center; flex: none; width: 50px; height: 50px; border-radius: 50%;
  background: var(--gold-100); color: var(--maroon-700); box-shadow: inset 0 0 0 1px var(--line-gold);
}
.prog-help__icon .icon { width: 26px; height: 26px; }
.prog-help p { flex: 1 1 320px; margin: 0; color: var(--ink-soft); line-height: 1.55; }

@media (max-width: 1080px) {
  .prog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .prog-grid { grid-template-columns: minmax(0, 1fr); }
  .prog-help { flex-direction: column; text-align: center; border-radius: var(--radius); padding: 1.4rem 1.2rem; }
  .prog-help p { flex: none; }
}

/* --------------------------------------------------------------------------
   Learning path: an ascending stair of lotus medallions
   -------------------------------------------------------------------------- */
.path { --node: 88px; --rise: 34px; position: relative; }
.path__line {
  position: absolute; left: 0; top: 0; width: 100%; height: calc(var(--rise) * 5 + var(--node));
  overflow: visible; pointer-events: none;
}
.path__line path { fill: none; vector-effect: non-scaling-stroke; stroke-linecap: round; }
.path__line--track path { stroke: rgba(232, 207, 148, 0.4); stroke-width: 2; stroke-dasharray: 1 9; }
.path__line--glow path { stroke-width: 2.5; }
.js .path__line--glow { clip-path: inset(0 100% 0 0); transition: clip-path 2.4s var(--ease) 0.4s; }
.path.is-visible .path__line--glow { clip-path: inset(0 0 0 0); }

.path__steps { position: relative; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); list-style: none; margin: 0; padding: 0; }
.path__step { --i: 0; position: relative; margin-top: calc((5 - var(--i)) * var(--rise)); padding: 0 0.7rem; text-align: center; }
.js .path .path__step { opacity: 0; transform: translateY(18px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); transition-delay: calc(var(--i) * 0.22s + 0.3s); }
.path.is-visible .path__step { opacity: 1; transform: none; }

.path__node {
  position: relative; display: grid; place-items: center; width: var(--node); height: var(--node); margin: 0 auto 1.3rem; border-radius: 50%;
  color: var(--maroon-800);
  background: radial-gradient(circle at 34% 28%, var(--gold-100), var(--gold-300) 55%, var(--gold-500));
  box-shadow: 0 0 0 5px var(--maroon-900), 0 0 0 6.5px var(--gold-400), 0 18px 36px -14px rgba(0, 0, 0, 0.7);
  transition: transform 0.4s var(--ease);
}
.path__step:hover .path__node { transform: translateY(-4px) scale(1.04); }
.path__node .icon { width: 40px; height: 40px; }
.path__num {
  position: absolute; top: -6px; right: -6px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  font-family: var(--font-caps); font-weight: 600; font-size: 0.74rem; line-height: 1; color: var(--gold-100);
  background: linear-gradient(145deg, var(--maroon-600), var(--maroon-800)); box-shadow: 0 0 0 2px var(--gold-400);
}
.path__step--stage .path__node {
  color: var(--maroon-700);
  background: radial-gradient(circle at 34% 28%, #fff, var(--lotus-soft) 45%, #e9a2bd);
  box-shadow: 0 0 0 5px var(--maroon-900), 0 0 0 6.5px var(--gold-300), 0 0 46px 8px rgba(232, 207, 148, 0.35), 0 18px 36px -14px rgba(0, 0, 0, 0.7);
}
.path__step--stage .path__node::after {
  content: ""; position: absolute; inset: -14px; border-radius: 50%; border: 1px dashed rgba(232, 207, 148, 0.6);
  animation: spin 40s linear infinite;
}
.path__kicker {
  font-family: var(--font-caps); font-size: 0.62rem; font-weight: 600; letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--gold-400); margin: 0 0 0.3rem;
}
.path__title { font-size: 1.42rem; margin-bottom: 0.35rem; }
.path__text { font-size: 0.92rem; line-height: 1.6; color: rgba(255, 252, 245, 0.74); margin: 0; }
.path__tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.35rem; list-style: none; padding: 0; margin: 0.85rem 0 0; }
.path__tags li {
  padding: 0.16rem 0.62rem; border-radius: 999px; font-size: 0.76rem; line-height: 1.5; color: var(--gold-200);
  border: 1px solid rgba(232, 207, 148, 0.35); background: rgba(232, 207, 148, 0.07);
}

@media (max-width: 1080px) {
  .path { --node: 66px; max-width: 620px; margin-inline: auto; }
  .path__line { display: none; }
  .path__steps { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .path__step {
    margin-top: 0; padding: 0; text-align: left;
    display: grid; grid-template-columns: var(--node) minmax(0, 1fr); gap: 1.25rem; align-items: start;
  }
  /* vertical thread between medallions */
  .path__step:not(:last-child)::before {
    content: ""; position: absolute; left: calc(var(--node) / 2 - 1px); top: calc(var(--node) + 10px); height: calc(100% - var(--node) + 2rem - 20px); width: 2px;
    background: linear-gradient(180deg, var(--gold-400), rgba(232, 207, 148, 0.25));
  }
  .path__node { margin: 0; }
  .path__node .icon { width: 30px; height: 30px; }
  .path__num { width: 24px; height: 24px; font-size: 0.66rem; top: -5px; right: -5px; }
  .path__body { padding-top: 0.35rem; }
  .path__tags { justify-content: flex-start; }
}
@media (max-width: 640px) {
  .path__steps { padding-left: 10px; }
  .path__step--stage .path__node::after { inset: -11px; }
}

/* --------------------------------------------------------------------------
   Inside a class
   -------------------------------------------------------------------------- */
.inside-class { overflow: hidden; }
@media (min-width: 901px) {
  .inside-split { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); }
}
.inside-figure { position: relative; width: min(100%, 310px); margin: 0 auto; isolation: isolate; }
.inside-figure__arch { aspect-ratio: 498 / 1360; margin: 18px; }
.inside-figure__arch img { object-position: 50% 30%; border-radius: 50% 50% 22px 22px / 140px 140px 22px 22px; }
.inside-figure__arch::before { border-radius: 50% 50% 34px 34px / 158px 158px 34px 34px; }
.inside-figure__wheel {
  position: absolute; z-index: -1; left: 50%; top: 24%; width: 175%; max-width: none; height: auto; aspect-ratio: 1;
  color: var(--gold-500); opacity: 0.16; transform: translate(-50%, -50%);
  animation: spin-centered-xy 150s linear infinite;
}
.inside-figure__script {
  position: absolute; z-index: 2; right: -36%; top: 7%; margin: 0;
  font-family: var(--font-script); font-size: clamp(1.8rem, 2.6vw, 2.3rem); line-height: 1.05; color: var(--maroon-700);
  transform: rotate(-8deg);
  text-shadow: 0 0 10px rgba(255, 252, 245, 0.95), 0 0 22px rgba(255, 252, 245, 0.9), 0 1px 0 #fff;
}
/* narrower desktops: too little room beside the arch, so the script would run into the heading;
   tuck it over the lower edge of the arch instead */
@media (min-width: 901px) and (max-width: 1239px) {
  .inside-figure__script { right: -12%; top: auto; bottom: 7%; }
}

.session { list-style: none; padding: 0 0 0 6px; margin: 2rem 0 0; display: grid; }
.session__item { position: relative; display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 1.25rem; padding-bottom: 1.6rem; }
.session__item:last-child { padding-bottom: 0; }
.session__item:not(:last-child)::before {
  content: ""; position: absolute; left: 28.5px; top: 68px; bottom: 8px; width: 1px;
  background: linear-gradient(180deg, var(--gold-400), var(--line-gold));
}
.session__icon {
  display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; color: var(--maroon-700);
  background: radial-gradient(circle at 30% 30%, var(--gold-100), var(--gold-200));
  box-shadow: inset 0 0 0 1px var(--line-gold), 0 0 0 5px var(--ivory), 0 0 0 6px rgba(197, 154, 69, 0.3);
  transition: transform 0.4s var(--ease), background 0.4s var(--ease);
}
.session__item:hover .session__icon { transform: scale(1.06); background: radial-gradient(circle at 30% 30%, var(--gold-200), var(--gold-300)); }
.session__icon .icon { width: 28px; height: 28px; }
.session__title { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0.2rem 0.75rem; font-size: clamp(1.3rem, 1.9vw, 1.5rem); margin: 0.55rem 0 0.25rem; }
.session__num { font-family: var(--font-caps); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; color: var(--gold-800); }
.session__item p { margin: 0; color: var(--ink-soft); font-size: 0.99rem; line-height: 1.6; }

@media (max-width: 900px) {
  .inside-figure { width: min(100%, 300px); }
  .inside-figure__arch { aspect-ratio: 3 / 4; }
  .inside-figure__arch img { object-position: 50% 8%; border-radius: 50% 50% 20px 20px / 40% 40% 20px 20px; }
  .inside-figure__arch::before { border-radius: 50% 50% 32px 32px / 40% 40% 32px 32px; }
  .inside-figure__wheel { top: 45%; width: 150%; }
  .inside-figure__script { right: -14%; top: auto; bottom: 6%; font-size: 1.7rem; }
}
/* tablets: room beside the arch, so the script sits clear of the photo and frame */
@media (min-width: 641px) and (max-width: 900px) {
  .inside-figure__script { right: -42%; bottom: 20%; }
}
@media (max-width: 520px) {
  .inside-figure__script { right: -5%; bottom: 4%; font-size: 1.5rem; }
  /* slightly smaller medallions so each numbered title stays on one line */
  .session__item { grid-template-columns: 52px minmax(0, 1fr); gap: 1rem; }
  .session__item:not(:last-child)::before { left: 25.5px; top: 62px; }
  .session__icon { width: 52px; height: 52px; }
  .session__icon .icon { width: 25px; height: 25px; }
}

/* --------------------------------------------------------------------------
   Fees & timings panel
   -------------------------------------------------------------------------- */
.fees {
  position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
  max-width: 1060px; margin-inline: auto; padding: clamp(2.2rem, 4.5vw, 3.6rem) clamp(1.4rem, 5vw, 4rem);
  background: linear-gradient(180deg, rgba(255, 252, 245, 0.97), rgba(251, 244, 230, 0.97));
  border: 1px solid var(--line-gold); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  isolation: isolate; overflow: hidden;
}
.fees::before {
  content: ""; position: absolute; inset: 10px; border: 1px solid rgba(197, 154, 69, 0.25);
  border-radius: calc(var(--radius-lg) - 8px); pointer-events: none;
}
.fees__art { position: relative; width: clamp(170px, 20vw, 230px); margin: 14px; }
.fees__frame img { object-position: 58% 50%; }
.fees__chip {
  position: absolute; z-index: 2; right: -2%; bottom: 2%;
  display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%;
  color: var(--gold-200); background: linear-gradient(145deg, var(--maroon-600), var(--maroon-900));
  box-shadow: 0 0 0 4px var(--ivory), 0 0 0 5.5px var(--gold-400), var(--shadow-md);
}
.fees__chip .icon { width: 26px; height: 26px; }
.fees .section-title { font-size: clamp(1.9rem, 3.4vw, 2.75rem); margin-bottom: 0.4em; }
.fees__body > p:not(.eyebrow) { color: var(--ink-soft); max-width: 58ch; }
.fees__list { list-style: none; padding: 0; margin: 1.1rem 0 1.9rem; display: grid; gap: 0.65rem; }
.fees__list li { display: inline-flex; align-items: center; gap: 0.55rem; font-weight: 500; font-size: 0.98rem; color: var(--maroon-800); }
.fees__list .icon { width: 1.5rem; height: 1.5rem; padding: 0.22rem; border-radius: 50%; color: var(--leaf-700); background: #e6f0dd; box-shadow: inset 0 0 0 1px rgba(76, 125, 63, 0.3); }
.fees .btn-row { gap: 0.9rem 1.4rem; }

@media (max-width: 760px) {
  .fees { grid-template-columns: minmax(0, 1fr); text-align: center; justify-items: center; }
  .fees .eyebrow::before { display: block; }
  .fees__body > p:not(.eyebrow) { margin-inline: auto; }
  /* keep the ticks in one column while the list itself sits centred */
  .fees__list { width: fit-content; margin-inline: auto; justify-items: start; text-align: left; gap: 0.6rem; }
  .fees .btn-row { justify-content: center; }
}

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */
.faq-layout { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.faq-intro { position: sticky; top: calc(var(--header-h) + 2rem); }
.faq-layout .faq { max-width: none; margin: 0; }
.faq-layout .faq summary { font-size: clamp(1.15rem, 1.6vw, 1.3rem); transition: color 0.25s var(--ease); }
.faq-layout .faq summary:hover { color: var(--maroon-600); }
.faq-layout .faq details[open] { border-color: var(--gold-400); }
.faq-layout .faq__body p { margin: 0; line-height: 1.7; }

.faq-ask {
  display: flex; align-items: center; gap: 1.5rem; margin-top: 2.2rem; padding: 1.4rem 1.5rem 1.4rem 1.7rem;
  background: var(--ivory); border: 1px solid var(--line-gold); border-radius: var(--radius); box-shadow: var(--shadow-sm);
}
.faq-ask__photo { flex: none; width: 88px; }
.faq-ask__photo img { object-position: 46% 30%; }
.faq-ask__title { font-family: var(--font-serif); font-size: 1.4rem; font-weight: 600; line-height: 1.2; color: var(--maroon-800); margin: 0 0 0.2rem; }
.faq-ask__text { font-size: 0.95rem; line-height: 1.55; color: var(--ink-soft); margin: 0 0 0.6rem; }

@media (max-width: 900px) {
  .faq-layout { grid-template-columns: minmax(0, 1fr); }
  .faq-intro { position: static; }
}
@media (max-width: 420px) {
  .faq-ask { gap: 1.2rem; padding: 1.3rem 1.2rem 1.3rem 1.4rem; }
  .faq-ask__photo { width: 72px; }
}

/* --------------------------------------------------------------------------
   Reduced motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .js .path .path__step { opacity: 1; transform: none; }
  .js .path__line--glow { clip-path: none; }
  .classes-hero__badge, .classes-hero__petal, .classes-hero__spark, .inside-figure__wheel, .path__step--stage .path__node::after { animation: none; }
}
