/* SALORA Academy (academy.html). Three parts: a film band, the courses, the form. */

/* Header sits over the film, clear with paper type, and turns solid once the page moves */
.ac-header { transition: background-color .35s, color .35s, border-color .3s; }
.ac-header.is-over { background: transparent; color: var(--paper); border-color: transparent; }
.ac-header.is-over .brand, .ac-header.is-over .nav-call, .ac-header.is-over .bk-back, .ac-header.is-over .bk-phone { color: var(--paper); }

/* Hero: a band, not the home page's full screen */
.ac-hero { height: clamp(460px, 68svh, 720px); min-height: 0; }
.ac-hero .hero-text { bottom: clamp(40px, 7vh, 72px); }
.ac-hero .hero-title { font-size: clamp(56px, 7.2vw, 116px); }
.ac-lede { margin-top: clamp(18px, 2.6vh, 28px); max-width: 44ch; font-size: clamp(15px, 1.25vw, 18px); line-height: 1.55; }
.ac-hero .hero-actions { margin-top: clamp(22px, 3vh, 32px); }
.ac-hero .hero-media img, .ac-hero .hero-video { object-position: 62% 40%; }
@media (orientation: portrait) { .ac-hero .hero-media img, .ac-hero .hero-video { object-position: 50% 30%; } }
.ac-kicker { margin-bottom: clamp(16px, 2.4vh, 26px); font-size: 11px; font-weight: 400; letter-spacing: .16em; text-transform: uppercase; }
@media (prefers-reduced-motion: no-preference) {
  .ac-kicker { animation: rise 1s cubic-bezier(.2,.7,.2,1) .3s both; }
  .ac-lede { animation: rise 1s cubic-bezier(.2,.7,.2,1) .5s both; }
}

/* Masterclasses: four pictures, the name and both prices under each */
.ac-master { padding-bottom: clamp(88px, 11vw, 168px); }
.ac-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(28px, 3vw, 44px) var(--gap); }
.ac-card picture { display: block; aspect-ratio: 3 / 4; overflow: hidden; background: var(--beige); }
.ac-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.ac-card:hover img { transform: scale(1.04); }
.ac-card h3 { margin-top: 18px; font: 400 clamp(22px, 1.9vw, 28px)/1.1 var(--display); letter-spacing: -.004em; min-height: 2.2em; }
.ac-card dl { margin: 14px 0 0; border-top: 1px solid var(--rule); font-size: 14px; }
.ac-card dl div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0 9px; border-bottom: 1px solid var(--rule); }
.ac-card dt { color: rgba(46,32,27,.62); }
.ac-card dd { margin: 0; font-variant-numeric: tabular-nums; }

/* Qualifications: a quiet list under the masterclasses, same section */
.ac-master { padding-top: clamp(72px, 9vw, 136px); }
.ac-quals { margin-top: clamp(64px, 7vw, 104px); padding: clamp(28px, 4vw, 64px); background: var(--beige); align-items: center; }
.ac-quals-head { grid-column: 1 / span 5; }
.ac-soon { margin-bottom: 14px; font-size: 11px; font-weight: 400; letter-spacing: .16em; text-transform: uppercase; color: var(--terracotta); }
.ac-quals-link { display: inline-block; margin-top: 22px; }
.ac-quals-title { font: 400 clamp(28px, 2.8vw, 42px)/1.05 var(--display); letter-spacing: -.006em; }
.ac-list { grid-column: 7 / span 6; list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(46,32,27,.28); }
.ac-list li { display: grid; grid-template-columns: 1fr auto 88px; align-items: baseline; gap: 20px; padding: 16px 0 15px; border-bottom: 1px solid rgba(46,32,27,.28); font-size: 16px; line-height: 1.4; }
.ac-list li > span:nth-child(2) { font-size: 13px; color: rgba(46,32,27,.62); }
.ac-list li > span:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.ac-note { margin-top: 20px; max-width: 46ch; font-size: 13px; line-height: 1.6; color: rgba(46,32,27,.65); }
.ac-note a { border-bottom: 1px solid currentColor; }
.ac-note a:hover { color: var(--terracotta); }

/* Register */
.ac-register { padding-block: clamp(72px, 9vw, 136px); border-top: 1px solid var(--rule); }
.ac-register-head { grid-column: 1 / span 5; }
.ac-register-head p { margin-top: 24px; max-width: 32ch; font-size: 15px; line-height: 1.6; }
.ac-register-body { grid-column: 7 / span 6; }
.ac-form { min-height: 470px; }
.ac-form iframe { height: 470px; min-height: 0; }
.ac-form.is-ready { min-height: 0; }

@media (max-width: 1100px) {
  .ac-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ac-card h3 { min-height: 0; }
}
@media (max-width: 860px) {
  .ac-quals-head, .ac-list, .ac-register-head, .ac-register-body { grid-column: 1 / -1; }
  .ac-list, .ac-register-body { margin-top: 32px; }
}
@media (max-width: 560px) {
  .ac-card h3 { font-size: 19px; margin-top: 14px; }
  .ac-card dl { font-size: 13px; }
  .ac-list li { grid-template-columns: 1fr auto; gap: 2px 16px; }
  .ac-list li > span:nth-child(1) { grid-column: 1; grid-row: 1; }
  .ac-list li > span:nth-child(2) { grid-column: 1; grid-row: 2; }
  .ac-list li > span:nth-child(3) { grid-column: 2; grid-row: 1; }
}
