/* Ileane Nicole, private application page. Builds on /assets/css/site.css (colours, type, chips, fields, buttons). */
.nav .btn{padding:.7rem 1.2rem}
.ap-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.ap-note{color:var(--muted);margin-top:1.1rem}

/* reveal on view (only once the script runs) */
[data-reveal]{transition:opacity 1.3s var(--ease),transform 1.3s var(--ease)}
[data-reveal].is-in{opacity:1;transform:none}

/* I. threshold */
.ap-hero{min-height:100svh;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;
  padding:7.5rem 1.5rem 7rem;overflow:hidden;background:radial-gradient(ellipse at 50% 32%,rgba(122,84,184,.34),transparent 62%)}
.ap-hero__stage{position:relative;width:min(260px,56vw);margin-bottom:2.6rem}
.ap-hero__arch{position:relative;aspect-ratio:3/4;border-radius:999px 999px 18px 18px;overflow:hidden;
  box-shadow:0 0 0 1px rgba(212,173,92,.5),0 30px 90px rgba(212,173,92,.2)}
.ap-hero__arch video{width:100%;height:100%;object-fit:cover}
.ap-hero__lab{position:absolute;left:50%;top:50%;width:190%;aspect-ratio:1;z-index:-1;transform:translate(-50%,-50%);animation:apSpin 140s linear infinite}
.ap-hero__lab svg{width:100%;height:100%;overflow:visible}
.ap-hero__lab circle{fill:none;stroke:rgba(212,173,92,.22);stroke-width:.5}
@keyframes apSpin{to{transform:translate(-50%,-50%) rotate(360deg)}}
.ap-hero .eyebrow{margin-bottom:1.1rem}
.ap-hero .display{max-width:14ch;margin:0 auto;font-size:clamp(2.5rem,5.6vw,5rem)}
.ap-hero__sub{font-family:var(--serif);font-style:italic;font-size:clamp(1.2rem,2vw,1.5rem);line-height:1.45;color:var(--champ);opacity:.85;max-width:34ch;margin:1.4rem auto 0}

/* II. whisper: one line per screen */
.ap-whisper{padding:6vh 1.5rem 14vh;text-align:center}
.ap-line{font-family:var(--display);font-size:clamp(2rem,4.6vw,3.8rem);line-height:1.12;max-width:16ch;margin:0 auto;padding:17vh 0}
.ap-line em{font-style:italic;color:var(--gold)}
.ap-line--small{font-family:var(--serif);font-style:italic;font-size:clamp(1.25rem,2.2vw,1.7rem);line-height:1.5;color:var(--champ);max-width:32ch;opacity:.88}

/* III. questions */
.ap-qhead{text-align:center;padding:8vh 1.5rem 2vh}
.ap-qhead .section-head{margin:0 auto}
.ap-qhead .alch-row{justify-content:center}
.ap-qhead .display{max-width:17ch;margin:1rem auto 0}
.ap-q{min-height:90svh;display:flex;align-items:center;justify-content:center;padding:12vh 1.5rem;text-align:center}
.ap-q__in{max-width:860px;width:100%}
.ap-q__num{font-family:var(--display);font-style:italic;color:var(--gold);font-size:1.7rem;margin-bottom:.8rem}
.ap-q__title{font-family:var(--display);font-weight:400;line-height:1.08;font-size:clamp(2.1rem,4.6vw,3.9rem);max-width:18ch;margin:0 auto}
.ap-q__title em{font-style:italic;color:var(--gold)}
.ap-q__hint{font-family:var(--serif);font-style:italic;font-size:1.3rem;color:var(--champ);opacity:.8;margin:1.1rem 0 2.3rem}
.ap-chips{justify-content:center;gap:.75rem;max-width:760px;margin:0 auto}
.ap-chips .chip{font-size:.98rem;padding:.95rem 1.45rem;transition:background .35s,border-color .35s,color .35s,transform .35s var(--ease)}
.ap-chips .chip:active{transform:scale(.97)}
.ap-text{max-width:620px;margin:0 auto 2rem}
.ap-text textarea{text-align:center;font-family:var(--serif);font-style:italic;font-size:1.45rem;resize:none}

/* progress emblem: one ring per question */
.ap-lab{position:fixed;left:auto;right:1.4rem;bottom:1.4rem;z-index:40;opacity:0;transition:opacity .6s;pointer-events:none}
.ap-lab.is-on{opacity:1}
.ap-lab svg{width:62px;height:62px}

/* IV. the last door */
.ap-apply{padding:10vh 1.5rem 16vh;background:radial-gradient(ellipse at 50% 30%,rgba(122,84,184,.28),transparent 60%)}
.ap-card{max-width:560px;margin:0 auto;gap:1.6rem}
.ap-card .eyebrow{margin-bottom:.9rem}
.ap-card .apply__done{opacity:0;transition:opacity .8s var(--ease)}
.ap-card .apply__done.is-in{opacity:1}
.ap-card .apply__done .seal{animation:apSeal 1.4s var(--ease) both}
@keyframes apSeal{from{transform:scale(.2) rotate(-40deg)}to{transform:none}}

.ap-foot{text-align:center;padding:2.5rem 1.5rem 3.5rem;color:var(--muted);font-size:.72rem;letter-spacing:.2em;text-transform:uppercase}
.ap-foot a{text-decoration:none;color:var(--gold)}

@media (max-width:700px){
  .nav{padding:1rem 1.1rem}
  .ap-q{min-height:auto;padding:14vh 1.1rem}
  .ap-chips .chip{font-size:.9rem;padding:.85rem 1.15rem}
  .ap-lab{right:.9rem;bottom:.9rem}
  .ap-lab svg{width:44px;height:44px}
  .ap-lab .lab__level{display:none}
  .ap-card{padding:1.6rem}
}
@media (prefers-reduced-motion:reduce){.ap-hero__lab{animation:none}}
