/*  Motion layer. Scroll reveals removed; approved interactions preserved. */

/* Increased parallax travel. Overfill is fully clipped within the original hero
   frame. Horizontal crop and background overlays remain exactly as in . */
html.motion-parallax .hero picture { overflow: hidden; }
html.motion-parallax .hero-media {
  top: calc(-1 * var(--hero-motion-room, 62px));
  bottom: auto;
  height: calc(100% + var(--hero-motion-room, 62px));
  transform: translate3d(0, var(--hero-motion-y, 0px), 0);
  will-change: transform;
}
.hero { --hero-motion-room: 62px; --hero-motion-y: 0px; }
@media (min-width: 601px) and (max-width: 1100px) {
  .hero { --hero-motion-room: 48px; }
}
@media (max-width: 600px) {
  .hero { --hero-motion-room: 36px; }
}

@media (hover: hover) and (pointer: fine) {
  .primary-nav a { position: relative; text-decoration: none; }
  .primary-nav a:hover { text-decoration: none; }
  .primary-nav a::after {
    content: "";
    position: absolute;
    height: 1px;
    left: 0; right: 0;
    bottom: -7px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 220ms ease;
    pointer-events: none;
  }
  .primary-nav a:hover::after,
  .primary-nav a:focus-visible::after { transform: scaleX(1); }
  .hero-secondary-arrow { transition: transform 200ms ease; }
  .hero-secondary:hover .hero-secondary-arrow,
  .hero-secondary:focus-visible .hero-secondary-arrow { transform: translateX(3px); }
}

/* Override Unicode toggle glyphs defined in site.css.
   Draw ONE horizontal line and ONE vertical line, never overlapping glyphs. */
.faq summary::after,
.education-details > summary::after,
.faq details[open] summary::after,
.education-details[open] > summary::after {
  content: "";
  display: inline-block;
  box-sizing: border-box;
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  background-image: linear-gradient(currentColor,currentColor),linear-gradient(currentColor,currentColor);
  background-position: center center,center center;
  background-repeat: no-repeat;
  background-size: 14px 1.5px, 1.5px 14px;
  transition: background-size 300ms ease;
}
.education-details > summary::after,
.education-details[open] > summary::after { width: 22px; height: 22px; flex-basis: 22px; }
.faq details[open] summary::after,
.education-details[open] > summary::after {
  background-size: 14px 1.5px, 1.5px 0px;
}
.faq details.is-closing summary::after,
.education-details.is-closing > summary::after {
  background-size: 14px 1.5px, 1.5px 14px;
}
.education-details.is-closing .summary-open { display: none; }
.education-details.is-closing .summary-closed { display: inline; }

/* Leave document scroll anchoring in place; the smoothly changing details
   height avoids the synchronous jumps caused by toggling siblings directly. */

@media (prefers-reduced-motion: reduce) {
  html.motion-parallax .hero-media { transform: none; will-change: auto; }
  .primary-nav a::after, .hero-secondary-arrow,
  .faq summary::after, .education-details > summary::after { transition: none; }
}

/* : robust narrow-screen training flow (including iOS Safari 14).
   All three training photographs are intrinsically square (1600x1600).
   Natural image height avoids the percentage-height/aspect-ratio overlap where
   training eyebrow appeared over the trust strip and CTA behind the image. */
@media (max-width: 600px) {
  .method .training-pair { display: block; }
  .method .training-panel,
  .method .training-image { width: 100%; min-width: 0; height: auto; min-height: 0; aspect-ratio: auto; }
  .method .training-copy { height: auto; min-height: 0; }
  .method .training-copy-inner { width: 100%; }
  .method .training-image img { display: block; position: static; width: 100%; height: auto; max-width: 100%; }
}

/*  Consistent, always-identifiable inline action links: Hero secondary,
   Training prices and Studio/Contact directions. A visible underline is
   important for touch users, who have no reliable hover state. */
.inline-action.hero-secondary .hero-secondary-label,
.inline-action.training-prices-link > span,
.inline-action.directions-link > span {
  text-decoration: underline;
  text-decoration-line: underline;
  text-decoration-color: currentColor;
  text-underline-offset: 7px;
  text-decoration-thickness: 0.8px;
  transition: text-decoration-thickness 180ms ease;
}
.inline-action.hero-secondary .hero-secondary-arrow,
.inline-action.training-prices-link .hero-secondary-arrow,
.inline-action.directions-link .directions-arrow {
  width: 10px;
  height: 16px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transform: translateX(0);
  transition: transform 200ms ease;
}
.inline-action:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; border-radius: 2px; }
.inline-action:focus-visible > span { text-decoration-thickness: 1.5px; }
.inline-action.hero-secondary:focus-visible > svg,
.inline-action.training-prices-link:focus-visible > svg,
.inline-action.directions-link:focus-visible > svg { transform: translateX(3px); }
@media (hover: hover) and (pointer: fine) {
  .inline-action:hover > span,
  .hero-actions .hero-secondary.inline-action:hover > .hero-secondary-label { text-decoration-thickness: 1.5px; }
  .inline-action.hero-secondary:hover > svg,
  .inline-action.training-prices-link:hover > svg,
  .inline-action.directions-link:hover > svg { transform: translateX(3px); }
}
@media (hover: none) {
  .inline-action:hover > svg { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .inline-action > span, .inline-action > svg { transition: none; }
  .inline-action.hero-secondary > svg,
  .inline-action.training-prices-link > svg,
  .inline-action.directions-link > svg { transform: none !important; }
}
