/* =====================================================================
   Brythonic Academy — redesigned About, Services and course pages
   Loaded only by about.html, services.html and the five course pages,
   after style.css. The landing page never loads this file.
   Palette, type and surfaces are taken from style.css.
   ===================================================================== */
@import url("https://fonts.googleapis.com/css2?family=Caveat:wght@500;600;700&display=swap");

:root {
  --header: 91px;
  /* paper & ink — the landing page storybook surfaces */
  --paper: #f8f5ff;
  --paper-2: #fffdfd;
  --paper-edge: #ded5f3;
  --paper-line: rgba(167, 142, 213, 0.32);
  --ink: #51388f;
  --ink-2: #7a5eb3;
  --ink-soft: #6c6483;
  --ink-accent: #795de0;
  /* night & violet — landing page backgrounds and accents */
  --night: #090717;
  --night-2: #100c26;
  --night-3: #17132e;
  --night-4: #1d1835;
  --lav: #b7aaff;
  --lav-2: #9f91ff;
  --lav-3: #bdb5ff;
  --lav-4: #c4b2ff;
  --sky: #719aff;
  --line-soft: rgba(221, 215, 255, 0.14);
  --cover: linear-gradient(130deg, #8876dc 0%, #4a368c 38%, #231747 100%);
  --btn-grad: linear-gradient(110deg, #456ff0, #7855e8);
  --hand: "Caveat", "Segoe Print", "Bradley Hand", "Comic Sans MS", cursive;
  --display: Manrope, sans-serif;
  --ease-out: cubic-bezier(0.2, 0.75, 0.2, 1);
  --ease-soft: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-write: cubic-bezier(0.42, 0.08, 0.58, 0.95);
}

/* ---------- page frame ---------- */
.ba-page .ba-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.ba-main {
  position: relative;
  padding-top: var(--header);
  overflow-x: clip;
}
.ba-main section {
  position: relative;
  scroll-margin-top: 96px;
}
.ba-section {
  padding: clamp(84px, 10vw, 140px) 0;
}

/* ---------- type ---------- */
.ba-display {
  font: 800 clamp(44px, 6vw, 88px) / 1.03 var(--display);
  letter-spacing: -0.052em;
  margin: 22px 0 26px;
}
.ba-h2 {
  font: 800 clamp(34px, 4.3vw, 60px) / 1.08 var(--display);
  letter-spacing: -0.042em;
  margin: 18px 0 22px;
}
.ba-lead {
  color: #b7b2ce;
  font-size: clamp(15px, 1.25vw, 17px);
  line-height: 1.9;
  max-width: 540px;
  margin: 0;
}
.ba-body {
  color: #aaa5c1;
  font-size: 15px;
  line-height: 1.95;
  margin: 0 0 18px;
}
.ba-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #bbb6e0;
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 2.1px;
  text-transform: uppercase;
}
.ba-label::before {
  content: "";
  width: 22px;
  height: 1px;
  background: linear-gradient(90deg, #7892ff, #885aff);
  box-shadow: 0 0 10px #7892ff;
}
.ba-chapter {
  font: 600 22px/1 var(--hand);
  color: var(--lav);
}
.ba-hand {
  font-family: var(--hand);
  font-weight: 600;
  letter-spacing: 0;
}
.ba-actions {
  display: flex;
  gap: 13px;
  flex-wrap: wrap;
  margin-top: 30px;
}
.ba-page .ba-actions .btn {
  display: inline-flex;
}

/* breadcrumb */
.ba-crumbs {
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.4px;
  color: #8d88a8;
}
.ba-crumbs a {
  color: #c9c5dc;
  transition: color 0.2s;
}
.ba-crumbs a:hover {
  color: #fff;
}
.ba-crumbs [aria-current] {
  color: var(--lav);
}

/* scroll cue: a page corner that keeps curling */
.ba-cue {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 42px;
  color: #d8d2f5;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}
.ba-cue-icon {
  position: relative;
  width: 46px;
  height: 30px;
  perspective: 160px;
  filter: drop-shadow(0 8px 12px #0007);
}
.ba-cue-icon::before,
.ba-cue-icon::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50%;
  background: linear-gradient(90deg, #ded5f3, #fffdfd 70%);
  border-radius: 2px 5px 5px 2px;
}
.ba-cue-icon::before {
  left: 0;
  transform: scaleX(-1);
}
.ba-cue-icon::after {
  right: 0;
}
.ba-cue-icon i {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 50%;
  z-index: 1;
  border-radius: 2px 5px 5px 2px;
  background: linear-gradient(90deg, #cfc4ee, #fff 45%, #efe9ff);
  transform-origin: 0 50%;
  animation: baCueTurn 2.6s var(--ease-io) infinite;
}
@keyframes baCueTurn {
  0%,
  30% {
    transform: rotateY(0deg);
  }
  75%,
  100% {
    transform: rotateY(-180deg);
  }
}

/* ---------- shared surfaces ---------- */
.ba-paper {
  color: var(--ink);
  background: linear-gradient(98deg, #e7e0f8 0%, #f8f5ff 6%, #fffdfd 62%, #f1ecfc 100%);
  border: 1px solid #ddd4f4;
  box-shadow: 0 34px 70px -28px #03010cdd, 0 2px 0 #fff inset;
}
.ba-pencil {
  display: block;
  width: 210px;
  height: 26px;
  overflow: visible;
  filter: drop-shadow(6px 10px 8px rgba(5, 2, 20, 0.45));
}

/* ---------- reveal system (only hidden when JS motion is active) ---------- */
.ba-draw {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1 2;
  stroke-dashoffset: 0;
  transition: stroke-dashoffset var(--dur, 1.2s) var(--ease-io) var(--d, 0s),
    opacity 0.01s linear var(--d, 0s);
}
.js-motion [data-reveal]:not(.is-in) .ba-draw {
  stroke-dashoffset: 1.01;
  opacity: 0;
  transition-delay: 0s;
  transition-duration: 0.3s, 0.01s;
}

/* words of split headings (hidden until split, so the first paint never flashes) */
.js-motion [data-split]:not([data-split-done]) {
  visibility: hidden;
}
.ba-w {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding: 0.06em 0.06em 0.12em;
  margin: -0.06em -0.06em -0.12em;
}
.ba-wi {
  display: inline-block;
  transition: transform 1.05s var(--ease-soft), opacity 0.9s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 60ms + var(--d, 0s));
}
.js-motion [data-reveal]:not(.is-in) .ba-wi,
.js-motion [data-reveal]:not(.is-in)[data-split] .ba-wi {
  transform: translateY(108%) rotate(5deg);
  opacity: 0;
  transition-delay: 0s;
  transition-duration: 0.35s;
}
.ba-gt-host {
  position: relative;
}

/* generic rise / fade */
.ba-rise,
[data-reveal="up"] {
  transition: opacity 0.9s var(--ease-out) var(--d, 0s), transform 1.1s var(--ease-soft) var(--d, 0s);
}
.js-motion [data-reveal]:not(.is-in) .ba-rise,
.js-motion [data-reveal="up"]:not(.is-in) {
  opacity: 0;
  transform: translateY(34px);
  transition-delay: 0s;
}
[data-reveal="paper"] {
  transform-origin: 50% 0;
  transition: opacity 0.8s var(--ease-out) var(--d, 0s), transform 1.3s var(--ease-soft) var(--d, 0s);
}
.js-motion [data-reveal="paper"]:not(.is-in) {
  opacity: 0;
  transform: perspective(900px) translateY(50px) rotateX(-38deg) rotate(-2deg);
  transition-delay: 0s;
}
[data-stagger] > * {
  --d2: calc(var(--i, 0) * 110ms + var(--d, 0s));
}

/* ---------- pinned scenes (cinema mode only) ---------- */
.ba-cinema .ba-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
}

/* idle loops only run on screen */
[data-loop]:not(.is-visible) * {
  animation-play-state: paused !important;
}

/* =====================================================================
   ABOUT
   ===================================================================== */

/* ---------- prologue ---------- */
.ab-hero {
  min-height: calc(100vh - var(--header));
  min-height: calc(100svh - var(--header));
  display: flex;
  align-items: center;
  padding: 40px 0 60px;
  background: radial-gradient(ellipse 55% 70% at 75% 45%, rgba(62, 35, 126, 0.34), transparent 75%),
    radial-gradient(ellipse 40% 50% at 10% 90%, rgba(34, 46, 113, 0.18), transparent);
  overflow: hidden;
  isolation: isolate;
}
.ab-hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 40px;
  align-items: center;
}
.ab-hero-copy {
  position: relative;
  z-index: 3;
}
.ab-title {
  margin-top: 26px;
}
.ab-title-accent {
  display: inline-block;
}
.ab-title-swash {
  display: block;
  width: min(430px, 82%);
  height: 30px;
  margin: -22px 0 26px 0;
  color: var(--lav-2);
  stroke-width: 3;
  overflow: visible;
}
.ab-title-swash path:last-child {
  stroke-width: 2;
  color: var(--sky);
  opacity: 0.7;
}
.ab-hero-ambient {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.ab-glyph {
  position: absolute;
  font: 800 64px/1 var(--display);
  color: rgba(159, 145, 255, 0.1);
  user-select: none;
}
.ab-glyph svg {
  width: 30px;
  height: 30px;
  color: rgba(196, 178, 255, 0.4);
}
.ab-glyph.g1 { left: 2%; top: 72%; font-size: 110px; }
.ab-glyph.g2 { left: 44%; top: 10%; font-size: 70px; font-family: Georgia, serif; font-style: italic; }
.ab-glyph.g3 { right: 6%; top: 8%; font: 800 180px/1 Georgia, serif; color: rgba(151, 134, 255, 0.12); }
.ab-glyph.g4 { left: 48%; bottom: 18%; }
.ab-glyph.g5 { right: 38%; bottom: 6%; font-size: 90px; font-family: Georgia, serif; font-style: italic; }
.ab-glyph.g6 { left: 34%; top: 14%; font-size: 46px; color: rgba(113, 154, 255, 0.14); }

.ab-hero-visual {
  position: relative;
  height: clamp(440px, 62vh, 600px);
  perspective: 1500px;
  z-index: 2;
}
.ab-hero-glow {
  position: absolute;
  inset: 8% 0 4% 6%;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(134, 103, 255, 0.36) 0%, rgba(94, 71, 220, 0.18) 38%, transparent 70%);
  filter: blur(24px);
  transition: opacity 1.6s var(--ease-out) 1.2s, transform 2s var(--ease-out) 1s;
}
.js-motion .ab-hero:not(.is-in) .ab-hero-glow {
  opacity: 0.3;
  transform: scale(0.8);
}
.ab-hero-tilt {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
}
.ab-book {
  --pw: clamp(190px, 17vw, 250px);
  --ph: calc(var(--pw) * 1.34);
  position: absolute;
  left: 50%;
  top: 50%;
  width: var(--pw);
  height: var(--ph);
  margin-top: calc(var(--ph) / -2);
  transform-style: preserve-3d;
  transform: rotateX(16deg) rotateZ(-5deg) translateX(4%);
  transition: transform 1.6s var(--ease-io) 0.35s;
}
.js-motion .ab-hero:not(.is-in) .ab-book {
  transform: rotateX(12deg) rotateZ(-9deg) rotateY(-24deg) translateX(-48%) translateZ(-40px);
}
.ab-book-shadow {
  position: absolute;
  left: -105%;
  right: -12%;
  bottom: -9%;
  height: 16%;
  border-radius: 50%;
  background: rgba(3, 2, 13, 0.75);
  filter: blur(18px);
  transform: translateZ(-30px);
}
.ab-bpage,
.ab-face {
  position: absolute;
  inset: 0;
  border-radius: 3px 12px 12px 3px;
}
.ab-bpage-r,
.ab-paper-face {
  background: linear-gradient(90deg, #d8cff1 0%, #fffdfd 9%, #faf8ff 92%, #e6e0f6 100%);
  border: 1px solid #ddd4f4;
}
.ab-bpage-r {
  transform: translateZ(0);
  box-shadow: inset 14px 0 18px -14px #6e52a680;
}
.ab-bpage-in {
  position: absolute;
  inset: 0;
  padding: 26px 22px;
  color: var(--ink);
}
.ab-kicker {
  display: block;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--ink-2);
}
.ab-hand-title {
  position: absolute;
  left: 22px;
  top: 42px;
  font-size: calc(var(--pw) * 0.17);
  line-height: 1;
  color: var(--ink);
  clip-path: inset(-30% -6% -40% -6%);
  transition: clip-path 1.55s var(--ease-write) 2.3s;
}
.js-motion .ab-hero:not(.is-in) .ab-hand-title {
  clip-path: inset(-30% 106% -40% -6%);
}
.ab-hand-under {
  position: absolute;
  left: 20px;
  top: calc(42px + var(--pw) * 0.19);
  width: 62%;
  height: 12px;
  color: var(--lav-2);
  stroke-width: 2.4;
  overflow: visible;
}
.ab-hand-under path {
  --d: 3.75s;
  --dur: 0.6s;
}
.ab-sprout {
  position: absolute;
  left: 50%;
  bottom: 18%;
  width: 52%;
  transform: translateX(-46%);
  color: var(--ink-accent);
  stroke-width: 2.6;
  overflow: visible;
}
.ab-sprout .s-ground { --d: 3s; --dur: 0.6s; color: #a38ce8; }
.ab-sprout .s-stem { --d: 3.35s; --dur: 0.7s; }
.ab-sprout .s-leaf1 { --d: 3.8s; --dur: 0.7s; }
.ab-sprout .s-leaf2 { --d: 4.1s; --dur: 0.7s; }
.ab-sprout .s-bud { --d: 4.45s; --dur: 0.5s; color: var(--sky); }
.ab-skel {
  position: absolute;
  left: 22px;
  right: 30px;
  bottom: 24px;
  display: grid;
  gap: 9px;
}
.ab-skel i {
  height: 4px;
  border-radius: 4px;
  background: rgba(122, 94, 179, 0.16);
}
.ab-skel i:nth-child(2) { width: 82%; }
.ab-skel i:nth-child(3) { width: 64%; }
.ab-skel i:nth-child(4) { width: 74%; }
.ab-folio {
  position: absolute;
  bottom: 10px;
  right: 16px;
  font: 700 10px/1 var(--display);
  color: #a38ce8;
}
.ab-left-face .ab-folio {
  right: auto;
  left: 16px;
}
.ab-bpage-r .ab-skel {
  bottom: 40px;
  opacity: 0;
}

/* leaves */
.ab-leaf {
  position: absolute;
  inset: 0;
  transform-origin: 0 50%;
  transform-style: preserve-3d;
  transition: transform var(--t, 1.2s) var(--ease-io) var(--td, 0s);
}
.ab-face {
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  overflow: hidden;
}
.ab-back {
  transform: rotateY(180deg);
  border-radius: 12px 3px 3px 12px;
}
.ab-paper-face.ab-back {
  background: linear-gradient(270deg, #d8cff1 0%, #fffdfd 9%, #faf8ff 92%, #e6e0f6 100%);
}
.ab-cover { --t: 1.5s; --td: 0.55s; transform: rotateY(-176deg) translateZ(4px); }
.ab-leaf-2 { --t: 1s; --td: 1.05s; transform: rotateY(-174deg) translateZ(3px); }
.ab-leaf-3 { --t: 1s; --td: 1.22s; transform: rotateY(-172deg) translateZ(2px); }
.js-motion .ab-hero:not(.is-in) .ab-cover { transform: rotateY(0deg) translateZ(4px); }
.js-motion .ab-hero:not(.is-in) .ab-leaf-2 { transform: rotateY(0deg) translateZ(3px); }
.js-motion .ab-hero:not(.is-in) .ab-leaf-3 { transform: rotateY(0deg) translateZ(2px); }

.ab-cover-face,
.ab-sp-front {
  background: var(--cover);
  border: 1px solid #b6a5ff;
  box-shadow: inset 7px 0 12px #d4c9ff29, inset -5px 0 12px #100a36;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 30px 14px 22px;
}
.ab-cover-face::after,
.ab-sp-front::after {
  content: "";
  position: absolute;
  inset: 9px;
  border: 1px solid #c8b5ff52;
  border-radius: 3px 10px 10px 3px;
  pointer-events: none;
}
.ab-cover-top {
  font-size: 9px;
  letter-spacing: 4px;
  text-align: center;
  line-height: 1.9;
  font-weight: 800;
}
.ab-cover-mark {
  font: 800 calc(var(--pw, 240px) * 0.46) / 1 var(--display);
  letter-spacing: -0.09em;
  text-shadow: 0 12px 20px #110c3699;
}
.ab-cover-mark i,
.ab-mono i {
  font-style: normal;
  color: #aabbff;
}
.ab-cover-foot {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 8px;
  letter-spacing: 2px;
  font-weight: 800;
}
.ab-cover-foot svg {
  width: 13px;
  height: 13px;
  color: #c4b2ff;
}
.ab-endpaper {
  background: radial-gradient(circle at 20% 20%, #ffffff22 0 2px, transparent 3px) 0 0 / 18px 18px,
    linear-gradient(270deg, #3a2a78, #4a368c 40%, #2a1e5c);
  border: 1px solid #8c79d8;
}
.ab-left-face {
  padding: 26px 22px;
  color: var(--ink);
}
.ab-wave {
  display: block;
  width: 86%;
  margin: 34px auto 0;
  color: var(--ink-accent);
  stroke-width: 2.4;
  overflow: visible;
}
.ab-wave path {
  --d: 2.6s;
  --dur: 1.4s;
}
.ab-mono {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 22%;
  text-align: center;
  font: 800 calc(var(--pw) * 0.36) / 1 var(--display);
  letter-spacing: -0.08em;
  color: rgba(81, 56, 143, 0.13);
}
.ab-spine {
  position: absolute;
  left: -5px;
  top: 0;
  width: 9px;
  height: 100%;
  border-radius: 2px;
  background: linear-gradient(90deg, #826db3, #ebe3ff 47%, #aa96d0);
  box-shadow: 0 0 8px #4e377c55;
  transform: translateZ(5px);
}
.js-motion .ab-hero:not(.is-in) .ab-spine {
  opacity: 0;
}
.ab-spine {
  transition: opacity 0.3s linear 0.9s;
}

/* the pencil that writes "Our story" */
.ab-nib {
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 0;
  transform: translate3d(calc(var(--pw) * 0.82), calc(var(--ph) * 0.8), 14px);
  animation: abNibWrite 3.4s var(--ease-io) 1.9s both;
}
.ab-nib .ba-pencil {
  position: absolute;
  right: 0;
  top: -13px;
  width: calc(var(--pw) * 0.86);
  height: calc(var(--pw) * 0.86 / 8);
  transform-origin: 100% 50%;
  transform: rotate(-142deg);
}
.js-motion .ab-hero:not(.is-in) .ab-nib {
  animation: none;
  opacity: 0;
}
@keyframes abNibWrite {
  0% { transform: translate3d(calc(var(--pw) * 1.3), calc(var(--ph) * 1.1), 14px); opacity: 0; }
  10% { opacity: 1; }
  13% { transform: translate3d(calc(var(--pw) * 0.1), calc(var(--pw) * 0.42), 14px); }
  20% { transform: translate3d(calc(var(--pw) * 0.22), calc(var(--pw) * 0.36), 14px); }
  27% { transform: translate3d(calc(var(--pw) * 0.31), calc(var(--pw) * 0.44), 14px); }
  34% { transform: translate3d(calc(var(--pw) * 0.42), calc(var(--pw) * 0.35), 14px); }
  41% { transform: translate3d(calc(var(--pw) * 0.5), calc(var(--pw) * 0.43), 14px); }
  48% { transform: translate3d(calc(var(--pw) * 0.6), calc(var(--pw) * 0.36), 14px); }
  56% { transform: translate3d(calc(var(--pw) * 0.7), calc(var(--pw) * 0.42), 14px); }
  70% { transform: translate3d(calc(var(--pw) * 0.76), calc(var(--pw) * 0.62), 20px); }
  100% { transform: translate3d(calc(var(--pw) * 0.86), calc(var(--ph) * 0.84), 14px); opacity: 1; }
}

/* ---------- chapter 01: the scroll-opened book ---------- */
.ab-story {
  background: linear-gradient(180deg, transparent, #0c091d 18%, #120d29 60%, #0e0a20);
}
.ab-story-stage {
  display: flex;
  flex-direction: column;
  padding: 70px 0 60px;
}
.ab-story-head {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-bottom: 40px;
}
.ab-story-label {
  display: flex;
  align-items: baseline;
  gap: 16px;
}
.ab-story-meter {
  flex: 1;
  height: 1px;
  background: rgba(221, 215, 255, 0.14);
  position: relative;
  display: none;
}
.ab-story-meter i {
  position: absolute;
  inset: 0 auto 0 0;
  width: 100%;
  transform-origin: 0 50%;
  transform: scaleX(var(--meter, 1));
  background: linear-gradient(90deg, #7892ff, #885aff);
  box-shadow: 0 0 10px #7892ff;
}
.ab-story-hint {
  display: none;
  color: #8d88a8;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.ab-sbook-wrap {
  position: relative;
  width: min(1060px, calc(100% - 34px));
  margin: 0 auto;
}
.ab-sbook-glow,
.ab-sbook-shadow {
  display: none;
}
/* flowing layout: two paper pages, the cover art hidden */
.ab-sbook {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.ab-sp-cover {
  display: contents;
}
.ab-sp-front,
.ab-sp-spine {
  display: none;
}
.ab-sp-left {
  order: -1;
}
.ab-sp-left,
.ab-sp-right {
  position: relative;
  border-radius: 6px;
  background: linear-gradient(98deg, #e7e0f8 0%, #f8f5ff 6%, #fffdfd 62%, #f1ecfc 100%);
  border: 1px solid #ddd4f4;
  box-shadow: 0 34px 70px -28px #03010cdd;
  color: var(--ink);
}
.ab-sp-in {
  position: relative;
  padding: clamp(26px, 4vw, 48px) clamp(22px, 3.6vw, 46px) 48px;
}
.ab-sp-kicker {
  display: block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: var(--ink-2);
  margin-bottom: 14px;
}
.ab-sp-right .ab-sp-kicker + .ab-values {
  margin-top: 4px;
}
.ab-story-title {
  font: 800 clamp(28px, 3.4vw, 46px) / 1.08 var(--display);
  letter-spacing: -0.04em;
  margin: 0 0 22px;
  color: #3e2a7a;
}
.ab-write {
  display: inline-block;
  position: relative;
}
.ab-story-under {
  position: absolute;
  left: -2%;
  bottom: -10px;
  width: 104%;
  height: 16px;
  overflow: visible;
}
.ab-story-under path {
  fill: none;
  stroke: var(--lav-2);
  stroke-width: 3;
  stroke-linecap: round;
}
.ab-sp-in p {
  margin: 0 0 14px;
  font-size: clamp(13px, 1.1vw, 15.5px);
  line-height: 1.8;
  color: #4b3f6e;
}
.ab-belief {
  margin: 0 0 24px;
  position: relative;
}
.ab-belief-mark {
  width: 30px;
  height: 24px;
  color: #a38ce8;
  margin-bottom: 8px;
}
.ab-belief p {
  font: 700 clamp(17px, 1.7vw, 23px) / 1.42 var(--display) !important;
  letter-spacing: -0.02em;
  color: #3e2a7a !important;
}
.ab-values {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.ab-values li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: clamp(13px, 1.05vw, 15px);
  font-weight: 700;
  color: #3e2a7a;
  padding: 8px 0;
  border-bottom: 1px dashed rgba(122, 94, 179, 0.25);
}
.ab-check {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  overflow: visible;
}
.ab-box {
  color: #a38ce8;
  stroke-width: 1.8;
}
.ab-tick {
  color: var(--ink-accent);
  stroke-width: 3;
}
.ab-tick-nib {
  display: none;
}
/* ink-in words (cinema mode drives --ink) */
.ba-ink {
  opacity: clamp(0.13, calc(var(--ink, 1) * (var(--n, 1) + 6) - var(--i, 0)), 1);
}
.ab-sp-in .ab-folio {
  bottom: 14px;
  right: 18px;
}
.ab-sp-left .ab-folio {
  left: 18px;
  right: auto;
}

/* cinema: a single book you open with the scroll */
.ba-cinema .ab-story-track {
  height: 340vh;
}
.ba-cinema .ab-story-stage {
  padding: calc(var(--header) + 18px) 0 3vh;
  justify-content: center;
}
.ba-cinema .ab-story-head {
  margin-bottom: 3.2vh;
}
.ba-cinema .ab-story-meter,
.ba-cinema .ab-story-hint {
  display: block;
}
.ba-cinema .ab-sbook-wrap {
  --ph: min(calc(100vh - var(--header) - 170px), 640px);
  --pw: min(calc(var(--ph) * 0.76), 44vw);
  width: calc(var(--pw) * 2);
  height: calc(var(--pw) / 0.76);
  perspective: 2200px;
}
.ba-cinema .ab-sbook-glow {
  display: block;
  position: absolute;
  inset: -12% -10%;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(165, 138, 255, 0.34) 0%, rgba(116, 82, 207, 0.16) 40%, transparent 70%);
  filter: blur(20px);
  opacity: var(--glow, 1);
}
.ba-cinema .ab-sbook {
  display: block;
  position: absolute;
  left: 50%;
  top: 0;
  width: var(--pw);
  height: 100%;
  transform-style: preserve-3d;
}
.ba-cinema .ab-sbook-shadow {
  display: block;
  position: absolute;
  left: -100%;
  right: -4%;
  bottom: -7%;
  height: 12%;
  border-radius: 50%;
  background: rgba(3, 2, 13, 0.8);
  filter: blur(22px);
  transform: translateZ(-40px);
}
.ba-cinema .ab-sp-right {
  position: absolute;
  inset: 0;
  border-radius: 3px 14px 14px 3px;
  background: linear-gradient(90deg, #d8cff1 0%, #fffdfd 8%, #faf8ff 93%, #e6e0f6 100%);
  box-shadow: inset 18px 0 22px -18px #6e52a6aa, 3px 3px 0 -1px #e6e0f6, 6px 6px 0 -2px #d8cff1, 9px 9px 0 -3px #c9bde8, 10px 16px 34px -10px #000a;
  transform: translateZ(0);
}
.ba-cinema .ab-sp-cover {
  display: block;
  position: absolute;
  inset: 0;
  transform-origin: 0 50%;
  transform-style: preserve-3d;
  transform: rotateY(0deg) translateZ(3px);
}
.ba-cinema .ab-sp-face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  overflow: hidden;
}
.ba-cinema .ab-sp-front {
  display: flex;
  border-radius: 4px 14px 14px 4px;
  --pw: inherit;
  padding: 9% 6% 7%;
}
.ba-cinema .ab-sp-front .ab-cover-top {
  font-size: clamp(9px, 1vw, 13px);
}
.ba-cinema .ab-sp-front .ab-cover-mark {
  font-size: calc(var(--pw) * 0.5);
}
.ba-cinema .ab-sp-front .ab-cover-foot {
  font-size: clamp(8px, 0.8vw, 11px);
}
.ba-cinema .ab-sp-left {
  transform: rotateY(180deg);
  border-radius: 14px 3px 3px 14px;
  background: linear-gradient(270deg, #d8cff1 0%, #fffdfd 8%, #faf8ff 93%, #e6e0f6 100%);
  box-shadow: inset -18px 0 22px -18px #6e52a6aa;
}
.ba-cinema .ab-sp-right,
.ba-cinema .ab-sp-left {
  container-type: size;
}
.ba-cinema .ab-sp-in {
  height: 100%;
  padding: 10cqh 10cqw 6cqh;
}
.ba-cinema .ab-sp-kicker {
  font-size: clamp(8px, 2.2cqw, 11px);
  margin-bottom: 2.4cqh;
}
.ba-cinema .ab-story-title {
  font-size: clamp(22px, 9.4cqw, 48px);
  margin-bottom: 4.2cqh;
}
.ba-cinema .ab-sp-in p {
  font-size: clamp(11px, 3.4cqw, 16px);
  margin-bottom: 2.6cqh;
}
.ba-cinema .ab-belief {
  margin-bottom: 5cqh;
}
.ba-cinema .ab-belief p {
  font-size: clamp(14px, 5.2cqw, 25px) !important;
}
.ba-cinema .ab-belief-mark {
  width: 6cqw;
  height: 5cqw;
}
.ba-cinema .ab-values {
  gap: 0.6cqh;
}
.ba-cinema .ab-values li {
  font-size: clamp(11px, 3.4cqw, 16px);
  padding: 1.5cqh 0;
}
.ba-cinema .ab-check {
  width: clamp(20px, 6.4cqw, 30px);
  height: clamp(20px, 6.4cqw, 30px);
}
.ba-cinema .ab-sp-right::after {
  content: "";
  position: absolute;
  left: 9%;
  bottom: -46px;
  width: 16px;
  height: 64px;
  background: linear-gradient(180deg, #7855e8, #885aff);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 80%, 0 100%);
  transform-origin: 50% 0;
  animation: abRibbonSway 5s ease-in-out infinite;
}
@keyframes abRibbonSway {
  50% { transform: rotate(5deg); }
}
.ba-cinema .ab-sp-spine {
  display: block;
  position: absolute;
  left: -6px;
  top: 0;
  width: 12px;
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(90deg, #826db3, #ebe3ff 47%, #aa96d0);
  box-shadow: 0 0 10px #4e377c66;
  transform: translateZ(4px);
}
.ba-cinema .ab-tick-nib {
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 0;
  pointer-events: none;
  z-index: 3;
}
.ba-cinema .ab-tick-nib .ba-pencil {
  position: absolute;
  right: 0;
  top: -12px;
  width: 190px;
  height: 24px;
  transform-origin: 100% 50%;
  transform: rotate(-140deg);
}
.ba-cinema .ab-write {
  clip-path: inset(-20% calc(var(--w, 1) * -1% + (1 - var(--w, 1)) * 104%) -40% -4%);
}
.ba-cinema .ab-story-under path {
  stroke-dasharray: 1 2;
  stroke-dashoffset: calc(1.01 - var(--u, 1) * 1.01);
}

/* ---------- the academy record ---------- */
.ab-record-row {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 50px;
  align-items: center;
  padding: clamp(70px, 9vw, 120px) 0 clamp(80px, 9vw, 120px);
}
.ab-record-aside {
  position: relative;
  padding-bottom: 80px;
}
.ab-record-aside-note {
  margin: 16px 0 0;
  font-size: 32px;
  line-height: 1.1;
  color: var(--lav);
  max-width: 260px;
}
.ab-record-arrow {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 160px;
  color: var(--lav-2);
  stroke-width: 2.4;
  overflow: visible;
}
.ab-record {
  position: relative;
  border-radius: 6px;
  padding: clamp(32px, 4vw, 52px);
  transform: rotate(-1deg);
}
.ab-record.is-in,
html:not(.js-motion) .ab-record {
  transform: rotate(-1deg);
}
.ab-record::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 46px;
  height: 46px;
  background: linear-gradient(225deg, #0e0a20 50%, #e2daf6 50%);
  border-bottom-left-radius: 6px;
  box-shadow: -3px 3px 6px #2a1f5522;
}
.ab-record-clip {
  position: absolute;
  top: -26px;
  left: 40px;
  width: 26px;
  height: 64px;
}
.ab-record-kicker {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2.4px;
  color: var(--ink-2);
}
.ab-record h3 {
  font: 800 clamp(26px, 2.6vw, 36px) / 1.1 var(--display);
  letter-spacing: -0.03em;
  color: #3e2a7a;
  margin: 12px 0 16px;
}
.ab-record p {
  color: #4b3f6e;
  line-height: 1.85;
  margin: 0 0 24px;
}
.ab-record-note {
  position: relative;
  padding: 22px 24px;
  font-size: 14px;
  line-height: 1.8;
  color: #5b4f7c;
}
.ab-record-note strong {
  color: #3e2a7a;
}
.ab-record-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  color: #a38ce8;
  stroke-width: 1.6;
  overflow: visible;
}

/* ---------- chapter 02: trainer scrapbook ---------- */
.ab-trainer {
  padding: clamp(90px, 10vw, 150px) 0;
  background: radial-gradient(ellipse 50% 60% at 20% 50%, rgba(37, 32, 76, 0.55), transparent 70%);
}
.ab-trainer-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: clamp(50px, 7vw, 110px);
  align-items: center;
}
.ab-scrap {
  position: relative;
  aspect-ratio: 0.92;
  max-width: 540px;
  width: 100%;
}
.ab-scrap-sheet {
  position: absolute;
  inset: 6% 2% 0 8%;
  border-radius: 8px;
  background-image: repeating-linear-gradient(to bottom, transparent 0 29px, rgba(167, 142, 213, 0.28) 29px 30px),
    linear-gradient(98deg, #e7e0f8 0%, #f8f5ff 6%, #fffdfd 62%, #f1ecfc 100%);
  transform: rotate(-5deg);
  transition: transform 1.4s var(--ease-soft), opacity 0.9s var(--ease-out);
}
.ab-scrap-sheet::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 46px;
  width: 1px;
  background: rgba(167, 142, 213, 0.55);
}
.ab-scrap-kicker {
  position: absolute;
  right: 26px;
  bottom: 20px;
  font: 700 26px/1 var(--hand);
  color: var(--ink-2);
}
.js-motion .ab-scrap:not(.is-in) .ab-scrap-sheet {
  opacity: 0;
  transform: translateX(-60px) rotate(-14deg);
}
.ab-photo {
  position: absolute;
  inset: 0 12% 12% 4%;
  margin: 0;
  transform: perspective(900px) rotate(3deg) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 0.35s var(--ease-out);
}
.ab-photo-print {
  position: absolute;
  inset: 0;
  padding: 14px 14px 64px;
  background: #fffdfd;
  border-radius: 4px;
  box-shadow: 0 40px 70px -24px #000c, 0 0 0 1px #e8e1f7;
  transition: transform 1.25s var(--ease-soft) 0.25s, opacity 0.6s var(--ease-out) 0.25s;
}
.js-motion .ab-scrap:not(.is-in) .ab-photo-print {
  opacity: 0;
  transform: translateY(-90px) rotate(10deg) scale(1.05);
  transition-delay: 0s;
}
.ab-photo-print img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 20%;
  border-radius: 2px;
}
.ab-tape {
  position: absolute;
  width: 110px;
  height: 30px;
  background: linear-gradient(90deg, rgba(196, 178, 255, 0.55), rgba(189, 181, 255, 0.4));
  box-shadow: 0 2px 6px #0003;
  backdrop-filter: blur(1px);
  transition: transform 0.5s var(--ease-soft) 1s, opacity 0.3s linear 1s;
}
.ab-tape::before,
.ab-tape::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 6px;
  background: radial-gradient(circle at 0 50%, transparent 3px, rgba(196, 178, 255, 0.5) 3.5px) 0 0 / 6px 8px;
}
.ab-tape::before { left: -5px; }
.ab-tape::after { right: -5px; transform: scaleX(-1); }
.ab-tape.t1 { top: -12px; left: -26px; transform: rotate(-32deg); }
.ab-tape.t2 { bottom: 40px; right: -34px; transform: rotate(-28deg); transition-delay: 1.15s; }
.js-motion .ab-scrap:not(.is-in) .ab-tape {
  opacity: 0;
  transform: rotate(-30deg) scale(1.6);
  transition-delay: 0s;
}
.ab-photo-cap {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 40px;
  line-height: 1;
}
.ab-photo-cap .ba-hand {
  clip-path: inset(-30% -6% -40% -6%);
  transition: clip-path 1.3s var(--ease-write) 1.3s;
}
.js-motion .ab-scrap:not(.is-in) .ab-photo-cap .ba-hand {
  clip-path: inset(-30% 106% -40% -6%);
  transition-delay: 0s;
}
.ab-cap-star {
  width: 22px;
  height: 22px;
  color: var(--ink-accent);
  transition: transform 0.6s var(--ease-soft) 2.4s, opacity 0.3s 2.4s;
}
.js-motion .ab-scrap:not(.is-in) .ab-cap-star {
  transform: scale(0) rotate(-90deg);
  opacity: 0;
  transition-delay: 0s;
}
.ab-scrap-doodle {
  position: absolute;
  right: 0;
  top: 8%;
  width: 92px;
  color: var(--lav-2);
  stroke-width: 2.6;
  overflow: visible;
  z-index: 2;
}
.ab-trainer-title {
  margin-top: 18px;
}
.ab-name {
  position: relative;
}
.ab-name-ring {
  position: absolute;
  left: -7%;
  top: -18%;
  width: 116%;
  height: 140%;
  color: var(--lav-2);
  stroke-width: 2.6;
  overflow: visible;
  pointer-events: none;
}
.ab-tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 0;
  margin: 8px 0 28px;
}
.ab-tags li {
  position: relative;
  padding: 12px 20px;
  font-size: 13px;
  font-weight: 700;
  color: #e2ddff;
  transition: transform 0.6s var(--ease-soft) var(--d2, 0s), opacity 0.6s var(--ease-out) var(--d2, 0s), color 0.25s;
}
.ab-tags li:hover {
  color: #fff;
}
.ab-tags svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  color: var(--lav-2);
  stroke-width: 1.6;
  overflow: visible;
}
.ab-tags .ba-draw {
  --d: calc(var(--i, 0) * 0.18s + 0.2s);
}
.ab-tags li:nth-child(1) .ba-draw { --d: 0.25s; }
.ab-tags li:nth-child(2) .ba-draw { --d: 0.45s; }
.ab-tags li:nth-child(3) .ba-draw { --d: 0.65s; }
.js-motion .ab-tags:not(.is-in) li {
  opacity: 0;
  transform: translateY(14px);
  transition-delay: 0s;
}
.ab-card-note {
  position: relative;
  padding: 24px 26px 24px 30px;
  border-radius: 6px;
  background: linear-gradient(135deg, rgba(248, 245, 255, 0.07), rgba(248, 245, 255, 0.025));
  border: 1px dashed rgba(167, 142, 213, 0.5);
  color: #c8c2e0;
  font-size: 14px;
  line-height: 1.85;
}
.ab-card-note strong {
  color: #f0edff;
}
.ab-card-note-clip {
  position: absolute;
  right: 26px;
  top: -24px;
  width: 22px;
  height: 56px;
}

/* ---------- chapter 03: card catalogue ---------- */
.ab-creds {
  padding: clamp(80px, 9vw, 130px) 0 clamp(70px, 8vw, 110px);
  background: #100d23;
}
.ab-creds-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: 56px;
}
.ab-creds-head .ba-h2 {
  margin-bottom: 0;
}
.ab-creds-intro {
  max-width: 300px;
  margin: 0 0 8px;
}
.ab-creds-intro .ba-hand {
  display: block;
  font-size: 26px;
  color: var(--lav);
  line-height: 1;
  margin-bottom: 6px;
}
.ab-drawer {
  position: relative;
}
.ab-drawer-back,
.ab-drawer-front {
  display: none;
}
.ab-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.ab-icard {
  position: relative;
  padding: 30px 28px 34px;
  border-radius: 8px;
  color: var(--ink);
  background: repeating-linear-gradient(to bottom, transparent 0 25px, rgba(167, 142, 213, 0.22) 25px 26px) 0 66px / 100% calc(100% - 66px) no-repeat,
    linear-gradient(180deg, #fffdfd, #f6f2ff);
  border: 1px solid #ddd4f4;
  box-shadow: 0 24px 50px -24px #000c;
  transition: transform 0.5s var(--ease-soft), box-shadow 0.5s;
}
.ab-icard::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 64px;
  height: 2px;
  background: rgba(121, 93, 224, 0.4);
}
.ab-icard-hole {
  position: absolute;
  left: 50%;
  bottom: 12px;
  width: 16px;
  height: 16px;
  margin-left: -8px;
  border-radius: 50%;
  background: #100d23;
  box-shadow: inset 0 2px 3px #0008;
}
.ab-icard .mini-label {
  color: var(--ink-accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.6px;
}
.ab-icard h3 {
  font: 800 clamp(19px, 1.6vw, 23px) / 1.2 var(--display);
  letter-spacing: -0.02em;
  color: #3e2a7a;
  margin: 30px 0 12px;
}
.ab-icard p {
  margin: 0;
  color: #574b78;
  font-size: 14px;
  line-height: 1.85;
}
.ab-icard-lines {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}
.ab-icard-lines i {
  height: 1px;
  border-top: 2px dotted rgba(121, 93, 224, 0.35);
}
.ab-icard-lines i:last-child {
  width: 60%;
}
.ab-icard:hover {
  box-shadow: 0 34px 60px -24px #000e;
}

/* cinema: cards rise out of a catalogue drawer as you scroll */
.ba-cinema .ab-drawer {
  height: clamp(440px, 34vw, 500px);
  perspective: 1400px;
}
.ba-cinema .ab-drawer-back {
  display: block;
  position: absolute;
  left: 3%;
  right: 3%;
  bottom: 120px;
  height: 90px;
  border-radius: 14px 14px 0 0;
  background: linear-gradient(180deg, #2b2350, #1b1638);
  box-shadow: inset 0 2px 0 #ffffff14;
}
.ba-cinema .ab-cards {
  position: absolute;
  inset: 0 5% 120px;
  display: block;
}
.ba-cinema .ab-icard {
  position: absolute;
  bottom: 0;
  width: 27%;
  height: 100%;
  left: calc(var(--k) * 24.3%);
  transform-origin: 50% 100%;
  transform: translateY(calc(var(--rise, 1) * 0% + (1 - var(--rise, 1)) * 72%)) rotate(calc((var(--k) - 1.5) * 3.4deg * var(--fan, 1))) translateY(var(--lift, 0px));
  transition: box-shadow 0.4s;
  will-change: transform;
}
.ba-cinema .ab-icard:hover,
.ba-cinema .ab-icard:focus-within {
  --lift: -26px;
  z-index: 5;
}
.ba-cinema .ab-icard:nth-child(even) {
  margin-top: 0;
}
.ba-cinema .ab-drawer-front {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 140px;
  border-radius: 16px;
  background: linear-gradient(170deg, #3a2f6e, #261f4c 45%, #1a1534);
  border: 1px solid #ffffff1c;
  box-shadow: inset 0 2px 0 #ffffff26, 0 30px 60px -20px #000d;
  z-index: 6;
}
.ab-drawer-label {
  padding: 12px 26px;
  border-radius: 4px;
  background: linear-gradient(180deg, #fffdfd, #e9e3fa);
  color: var(--ink);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 4px;
  box-shadow: 0 0 0 4px #cfc6ef, 0 0 0 5px #9a90cf, 0 6px 14px #0006;
}
.ab-drawer-pull {
  width: 110px;
  height: 16px;
  border-radius: 10px;
  background: linear-gradient(180deg, #e9e5ff, #a59cd6);
  box-shadow: 0 6px 12px #0007, inset 0 -2px 0 #8a80c4;
}

/* ---------- epilogue: the invitation ---------- */
.ab-cta {
  padding: clamp(50px, 7vw, 100px) 0 clamp(110px, 12vw, 170px);
  background: radial-gradient(ellipse 60% 70% at 50% 80%, #2d205d66, transparent), #090717;
}
.ab-invite {
  position: relative;
  max-width: 980px;
  margin: 0 auto;
  perspective: 1600px;
}
.ab-invite::before,
.ab-invite::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 28px;
  transition: transform 1.2s var(--ease-soft) 0.4s;
}
.ab-invite::before {
  background: linear-gradient(170deg, #f8f5ff, #d9cff5);
  transform: rotate(-2.6deg) translate(-10px, 14px);
  opacity: 0.9;
}
.ab-invite::after {
  background: #2b235b;
  border: 1px solid #ffffff14;
  transform: rotate(1.8deg) translate(12px, 18px);
}
.js-motion .ab-invite:not(.is-in)::before,
.js-motion .ab-invite:not(.is-in)::after {
  transform: none;
  transition-delay: 0s;
}
.ab-invite-card {
  z-index: 1;
  position: relative;
  border-radius: 28px;
  background: linear-gradient(110deg, #5b4bc7, #403091 55%, #282063);
  padding: clamp(40px, 6vw, 80px) clamp(28px, 6vw, 84px);
  overflow: visible;
  transform-style: preserve-3d;
  box-shadow: 0 50px 90px -40px #000e;
}
.ab-invite-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background-image: radial-gradient(#ffffff26 1px, transparent 1px);
  background-size: 36px 36px;
  opacity: 0.5;
  pointer-events: none;
}
.ab-invite-body {
  position: relative;
  max-width: 600px;
  transition: opacity 0.9s var(--ease-out) 0.85s, transform 1.1s var(--ease-soft) 0.85s;
}
.ab-invite-body .ba-label {
  color: #ede8ff;
}
.ab-invite-body .ba-body {
  color: #e2dcff;
  max-width: 520px;
}
.ab-invite-body .btn-outline {
  border-color: #ffffff55;
}
.js-motion .ab-invite:not(.is-in) .ab-invite-body {
  opacity: 0;
  transform: translateY(26px);
  transition-delay: 0s;
}
.ab-invite-flap {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 100%;
  border-radius: 28px;
  background: linear-gradient(170deg, #f8f5ff, #e2daf6);
  transform-origin: 50% 0;
  transform: rotateX(180deg);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  display: grid;
  place-items: center;
  transition: transform 1.4s var(--ease-io) 0.1s, opacity 0.2s linear 0.9s;
  opacity: 0;
  pointer-events: none;
  z-index: 3;
}
.ab-invite-flap span {
  font: 800 120px/1 var(--display);
  letter-spacing: -0.08em;
  color: rgba(81, 56, 143, 0.18);
}
.ab-invite-flap span i {
  font-style: normal;
  color: rgba(113, 154, 255, 0.4);
}
.js-motion .ab-invite:not(.is-in) .ab-invite-flap {
  transform: rotateX(0deg);
  opacity: 1;
  transition: transform 0.5s var(--ease-io), opacity 0s;
}
.ab-invite-arrow {
  position: absolute;
  left: min(calc(clamp(28px, 6vw, 84px) + 440px), 62%);
  bottom: clamp(48px, 6vw, 84px);
  width: clamp(120px, 14vw, 180px);
  color: #cfc6ff;
  stroke-width: 2.4;
  overflow: visible;
}
.ab-invite-spark {
  position: absolute;
  color: var(--lav-4);
  animation: baSparkle 4s ease-in-out infinite;
}
.ab-invite-spark svg {
  width: 100%;
  height: 100%;
}
.ab-invite-spark.s1 { width: 28px; height: 28px; top: -14px; right: 18%; }
.ab-invite-spark.s2 { width: 18px; height: 18px; bottom: 16%; left: -9px; animation-delay: -2s; }
@keyframes baSparkle {
  0%, 100% { transform: scale(0.8) rotate(0deg); opacity: 0.45; }
  50% { transform: scale(1.15) rotate(45deg); opacity: 1; }
}

/* ---------- chapter ribbon (wide screens) ---------- */
.ab-ribbon {
  display: none;
}
@media (max-width: 1239px) {
  .ba-cinema .ab-ribbon {
    display: none !important;
  }
}
.ba-cinema .ab-ribbon {
  position: fixed;
  right: 22px;
  top: 50%;
  z-index: 60;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transform: translateY(-50%);
  padding: 8px 0;
}
.ab-ribbon-rail {
  position: absolute;
  right: 5px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(221, 215, 255, 0.12);
  border-radius: 2px;
}
.ab-ribbon-rail i {
  position: absolute;
  inset: 0;
  border-radius: 2px;
  transform-origin: 50% 0;
  transform: scaleY(var(--page, 0));
  background: linear-gradient(180deg, #7892ff, #885aff);
  box-shadow: 0 0 10px #7892ff;
}
.ab-ribbon a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: 12px;
  height: 12px;
  margin-left: auto;
}
.ab-ribbon a::after {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #1d1835;
  border: 2px solid #5d557c;
  transition: background 0.3s, border-color 0.3s, transform 0.3s var(--ease-soft);
}
.ab-ribbon a span {
  position: absolute;
  right: 24px;
  white-space: nowrap;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: #d8d2f5;
  opacity: 0;
  transform: translateX(8px);
  transition: opacity 0.3s, transform 0.3s var(--ease-soft);
  pointer-events: none;
  text-shadow: 0 2px 10px #000;
}
.ab-ribbon a:hover span,
.ab-ribbon a:focus-visible span {
  opacity: 1;
  transform: none;
}
.ab-ribbon a.is-current::after {
  background: #885aff;
  border-color: #c4b2ff;
  transform: scale(1.25);
  box-shadow: 0 0 14px #885aff;
}


/* ---------- About: responsive ---------- */
@media (max-width: 1090px) {
  .ab-hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .ab-record-row {
    grid-template-columns: 0.6fr 1.4fr;
    gap: 34px;
  }
}
@media (max-width: 860px) {
  .ab-hero {
    min-height: 0;
    padding: 50px 0 40px;
  }
  .ab-hero-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .ab-hero-visual {
    height: clamp(330px, 62vw, 460px);
  }
  .ab-book {
    --pw: clamp(140px, 30vw, 220px);
  }
  .ab-glyph.g3 {
    font-size: 120px;
  }
  .ab-story {
    padding-bottom: 10px;
  }
  .ab-story-stage {
    padding-top: 40px;
  }
  .ab-record-row {
    grid-template-columns: 1fr;
    gap: 26px;
    padding-top: 60px;
  }
  .ab-record-aside {
    padding-bottom: 0;
  }
  .ab-record-arrow {
    display: none;
  }
  .ab-trainer-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  .ab-scrap {
    max-width: 460px;
    margin: 0 auto;
  }
  .ab-creds-head {
    display: block;
  }
  .ab-creds-intro {
    margin-top: 18px;
    max-width: none;
  }
  .ab-invite-arrow {
    display: none;
  }
}
@media (max-width: 640px) {
  .ab-sbook {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .ab-sp-left {
    transform: rotate(-0.8deg);
  }
  .ab-sp-right {
    transform: rotate(0.6deg);
  }
  .ab-cards {
    grid-template-columns: 1fr;
  }
  .ab-display {
    font-size: clamp(38px, 11vw, 56px);
  }
  .ab-record {
    transform: none !important;
  }
  .ab-record::after {
    width: 34px;
    height: 34px;
  }
  .ab-scrap {
    aspect-ratio: 0.86;
  }
  .ab-photo {
    inset: 0 8% 10% 3%;
  }
  .ab-photo-print {
    padding: 10px 10px 52px;
  }
  .ab-photo-cap {
    font-size: 32px;
    bottom: 8px;
  }
  .ab-tape {
    width: 80px;
    height: 24px;
  }
  .ab-scrap-doodle {
    width: 70px;
    right: -6px;
  }
  .ab-invite::before {
    transform: rotate(-2deg) translate(-4px, 10px);
  }
  .ab-invite::after {
    transform: rotate(1.4deg) translate(5px, 12px);
  }
  .ab-invite-card {
    border-radius: 22px;
  }
  .ab-invite-body .ba-actions .btn {
    width: 100%;
  }
}
/* JS-flow mode (small screens): pages slide in like sheets of paper */
.js-motion:not(.ba-cinema) .ab-sbook {
  perspective: 1200px;
}
.js-motion:not(.ba-cinema) .ab-sp-left,
.js-motion:not(.ba-cinema) .ab-sp-right {
  transition: opacity 0.8s var(--ease-out), transform 1.1s var(--ease-soft);
}
.js-motion:not(.ba-cinema) .ab-story:not(.is-in) .ab-sp-left,
.js-motion:not(.ba-cinema) .ab-story:not(.is-in) .ab-sp-right {
  opacity: 0;
  transform: translateY(40px) rotateX(-20deg);
}
.js-motion:not(.ba-cinema) .ab-cards .ab-icard {
  transition: opacity 0.8s var(--ease-out) var(--d2, 0s), transform 1s var(--ease-soft) var(--d2, 0s);
}
.js-motion:not(.ba-cinema) .ab-cards:not(.is-in) .ab-icard {
  opacity: 0;
  transform: translateY(46px) rotate(-3deg);
  transition-delay: 0s;
}

/* =====================================================================
   SHARED ILLUSTRATIONS (Services stage + course page heroes)
   Each .ill plays its entrance when it receives .is-on.
   ===================================================================== */
.ba-sr {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.ill {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  container-type: inline-size;
  user-select: none;
}
.ill-glow,
.ill-w-glow {
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(134, 103, 255, 0.3) 0%, rgba(94, 71, 220, 0.14) 42%, transparent 70%);
  filter: blur(18px);
  transition: transform 1.6s var(--ease-out), opacity 1.2s var(--ease-out);
}
.js-motion .ill:not(.is-on) .ill-glow,
.js-motion .ill:not(.is-on) .ill-w-glow {
  opacity: 0.2;
  transform: scale(0.7);
}
.js-motion .ill:not(.is-on) .ba-draw {
  stroke-dashoffset: 1.01;
  opacity: 0;
  transition-delay: 0s;
  transition-duration: 0.25s, 0.01s;
}
.ill .ba-hand {
  transition: clip-path var(--dur, 0.7s) var(--ease-write) var(--d, 0s);
  clip-path: inset(-30% -6% -40% -6%);
}
.js-motion .ill:not(.is-on) .ba-hand {
  clip-path: inset(-30% 106% -40% -6%);
  transition-delay: 0s;
  transition-duration: 0.2s;
}

/* ---------- IELTS exam booklet ---------- */
.ill-bk-scene {
  position: absolute;
  inset: 0;
  perspective: 1400px;
}
.ill-bk {
  --P: 37cqw;
  --H: 50cqw;
  position: absolute;
  left: 50%;
  top: 50%;
  width: var(--P);
  height: var(--H);
  margin-top: calc(var(--H) / -2);
  transform-style: preserve-3d;
  transform: rotateX(16deg) rotateZ(-5deg) translateX(-3%);
  transition: transform 1.4s var(--ease-io) 0.15s;
}
.js-motion .ill-booklet:not(.is-on) .ill-bk {
  transform: rotateX(10deg) rotateZ(-9deg) rotateY(-18deg) translateX(-50%) translateZ(-30px);
  transition-delay: 0s;
  transition-duration: 0.5s;
}
.ill-bk-shadow {
  position: absolute;
  left: -100%;
  right: -10%;
  bottom: -8%;
  height: 14%;
  border-radius: 50%;
  background: rgba(3, 2, 13, 0.75);
  filter: blur(14px);
  transform: translateZ(-20px);
}
.ill-bk-page {
  position: absolute;
  inset: 0;
  border-radius: 1px 1.6cqw 1.6cqw 1px;
  padding: 4.6cqw 3.4cqw 3cqw 5.6cqw;
  color: var(--ink);
  background: repeating-linear-gradient(to bottom, transparent 0 calc(5.4cqw - 1px), rgba(167, 142, 213, 0.32) calc(5.4cqw - 1px) 5.4cqw) 0 8.6cqw / 100% calc(100% - 10cqw) no-repeat,
    linear-gradient(90deg, #d8cff1 0%, #fffdfd 9%, #faf8ff 92%, #e6e0f6 100%);
  border: 1px solid #ddd4f4;
  box-shadow: inset 2cqw 0 2.4cqw -2cqw #6e52a690;
}
.ill-bk-page::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 4cqw;
  width: 1px;
  background: rgba(136, 90, 255, 0.35);
}
.ill-bk-kicker {
  display: block;
  font-size: 1.7cqw;
  font-weight: 800;
  letter-spacing: 0.4cqw;
  color: var(--ink-2);
  margin-bottom: 2.4cqw;
}
.ill-bk-lines {
  list-style: none;
  margin: 0;
  padding: 0;
}
.ill-bk-lines li {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  height: 5.4cqw;
  margin-bottom: 1.2cqw;
}
.ill-bk-word {
  font-size: 6cqw;
  line-height: 1;
  color: var(--ink);
  --d: calc(1.55s + var(--k) * 0.5s);
  --dur: 0.5s;
}
.ill-bk-tick {
  width: 4.4cqw;
  height: 3.6cqw;
  color: var(--ink-accent);
  stroke-width: 3;
  overflow: visible;
  margin-bottom: 0.6cqw;
}
.ill-bk-tick path {
  --d: calc(2s + var(--k) * 0.5s);
  --dur: 0.3s;
}
.ill-bk-lines li:nth-child(1) .ill-bk-tick path { --d: 2s; }
.ill-bk-lines li:nth-child(2) .ill-bk-tick path { --d: 2.5s; }
.ill-bk-lines li:nth-child(3) .ill-bk-tick path { --d: 3s; }
.ill-bk-lines li:nth-child(4) .ill-bk-tick path { --d: 3.5s; }
.ill-bk-folio {
  position: absolute;
  right: 2.4cqw;
  bottom: 1.6cqw;
  font: 700 1.6cqw/1 var(--display);
  color: #a38ce8;
}
.ill-bk-tabs {
  position: absolute;
  top: 6%;
  right: -3.4cqw;
  width: 3.6cqw;
  display: grid;
  gap: 0.8cqw;
  transform: translateZ(-1px);
}
.ill-bk-tabs i {
  display: grid;
  place-items: center;
  height: 8.4cqw;
  border-radius: 0 1.2cqw 1.2cqw 0;
  font: 800 2cqw/1 var(--display);
  font-style: normal;
  color: #fff;
  box-shadow: 0.4cqw 0.4cqw 1cqw #0005;
  transition: transform 0.6s var(--ease-soft) calc(1.25s + var(--k) * 0.1s);
}
.ill-bk-tabs i:nth-child(1) { background: #885aff; }
.ill-bk-tabs i:nth-child(2) { background: #6a6cf2; }
.ill-bk-tabs i:nth-child(3) { background: #4587ff; }
.ill-bk-tabs i:nth-child(4) { background: #9f91ff; }
.js-motion .ill-booklet:not(.is-on) .ill-bk-tabs i {
  transform: translateX(-100%);
  transition-delay: 0s;
}
.ill-bk-cover {
  position: absolute;
  inset: 0;
  transform-origin: 0 50%;
  transform-style: preserve-3d;
  transform: rotateY(-168deg) translateZ(2px);
  transition: transform 1.5s var(--ease-io) 0.3s;
}
.js-motion .ill-booklet:not(.is-on) .ill-bk-cover {
  transform: rotateY(0deg) translateZ(2px);
  transition-delay: 0s;
  transition-duration: 0.5s;
}
.ill-bk-face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: 1px 1.6cqw 1.6cqw 1px;
  overflow: hidden;
}
.ill-bk-front {
  background: radial-gradient(circle at 80% 10%, #ffffff30, transparent 40%), linear-gradient(140deg, #5a7ff3, #456ff0 30%, #7855e8 80%);
  border: 1px solid #a9b9ff;
  box-shadow: inset 0.8cqw 0 1.2cqw #ffffff2a, inset -0.6cqw 0 1.2cqw #1b1260aa;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 7cqw 3.4cqw 3cqw;
  color: #fff;
}
.ill-bk-label {
  display: grid;
  gap: 0.6cqw;
  text-align: center;
  padding: 2.6cqw 3.4cqw;
  border-radius: 1cqw;
  background: #fffdfd;
  color: var(--ink);
  box-shadow: 0 1cqw 2cqw #1b126055;
}
.ill-bk-label b {
  font: 800 6.6cqw/1 var(--display);
  letter-spacing: -0.04em;
}
.ill-bk-label small {
  font-size: 1.5cqw;
  font-weight: 800;
  letter-spacing: 0.5cqw;
  color: var(--ink-2);
}
.ill-bk-name {
  display: flex;
  align-items: flex-end;
  gap: 1cqw;
  width: 80%;
  margin-top: 6cqw;
  font-size: 1.4cqw;
  font-weight: 800;
  letter-spacing: 0.3cqw;
  opacity: 0.85;
}
.ill-bk-name i {
  flex: 1;
  height: 1px;
  background: #ffffffaa;
}
.ill-bk-brand {
  margin-top: auto;
  font-size: 1.3cqw;
  font-weight: 800;
  letter-spacing: 0.5cqw;
  opacity: 0.8;
}
.ill-bk-inside {
  transform: rotateY(180deg);
  border-radius: 1.6cqw 1px 1px 1.6cqw;
  background: radial-gradient(circle at 20% 20%, #ffffff22 0 0.3cqw, transparent 0.45cqw) 0 0 / 3cqw 3cqw, linear-gradient(270deg, #3b57c9, #4f63e6 40%, #5a42c4);
  display: grid;
  place-items: center;
}
.ill-bk-inside span {
  font: 800 16cqw/1 var(--display);
  letter-spacing: -0.08em;
  color: #ffffff22;
}
.ill-bk-inside span i {
  font-style: normal;
}
.ill-bk-spine {
  position: absolute;
  left: -0.8cqw;
  top: 0;
  width: 1.6cqw;
  height: 100%;
  border-radius: 0.4cqw;
  background: linear-gradient(90deg, #3d56c4, #c8d2ff 47%, #6a5ad0);
  transform: translateZ(3px);
}

/* ---------- PTE stopwatch ---------- */
.ill-w-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.ill-w-face {
  fill: #17132e;
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.55));
}
.ill-w-ring {
  color: var(--lav-3);
  stroke-width: 7;
  --d: 0.1s;
  --dur: 1.3s;
}
.ill-w-inner {
  fill: none;
  stroke: rgba(189, 181, 255, 0.16);
  stroke-width: 1.5;
}
.ill-w-crown rect,
.ill-w-btn rect {
  fill: #2b235b;
  stroke: var(--lav-3);
  stroke-width: 3;
}
.ill-w-crown,
.ill-w-btn {
  transition: transform 0.6s var(--ease-soft) 0.9s, opacity 0.4s 0.9s;
  transform-box: fill-box;
  transform-origin: 50% 100%;
}
.js-motion .ill-watch:not(.is-on) .ill-w-crown,
.js-motion .ill-watch:not(.is-on) .ill-w-btn {
  opacity: 0;
  transform: translateY(14px);
  transition-delay: 0s;
}
.ill-w-ticks line {
  stroke: var(--lav-3);
  stroke-linecap: round;
  transition: opacity 0.25s linear calc(0.5s + var(--i) * 16ms);
}
.ill-w-ticks .mj {
  stroke-width: 3.6;
}
.ill-w-ticks .mn {
  stroke-width: 1.6;
  opacity: 0.5;
}
.js-motion .ill-watch:not(.is-on) .ill-w-ticks line {
  opacity: 0;
  transition-delay: 0s;
}
.ill-w-sector {
  display: none;
}
.ill-w-hand {
  transform-box: view-box;
  transform-origin: 200px 218px;
  transform: rotate(360deg);
  transition: transform 1.9s var(--ease-io) 1s;
}
.js-motion .ill-watch:not(.is-on) .ill-w-hand {
  transform: rotate(0deg);
  transition: transform 0.4s var(--ease-out);
}
.ill-w-hand-i {
  transform-box: view-box;
  transform-origin: 200px 218px;
}
.ill-watch.is-on .ill-w-hand-i,
html:not(.js-motion) .ill-w-hand-i {
  animation: illTick 60s steps(60) 3s infinite;
}
@keyframes illTick {
  to { transform: rotate(360deg); }
}
.ill-w-hand line {
  stroke: #f7f6ff;
  stroke-width: 4;
  stroke-linecap: round;
}
.ill-w-hand circle {
  fill: #885aff;
}
.ill-w-hand circle.hub {
  fill: #fff;
}
.ill-w-q {
  stroke-width: 10;
  --dur: 0.6s;
}
.ill-w-q.q0 { color: #885aff; --d: 2.5s; }
.ill-w-q.q1 { color: #4587ff; --d: 2.75s; }
.ill-w-q.q2 { color: #bdb5ff; --d: 3s; }
.ill-w-q.q3 { color: #719aff; --d: 3.25s; }
.ill-w-label {
  position: absolute;
  font: 800 3.1cqw/1 var(--display);
  letter-spacing: -0.01em;
  color: #e2ddff;
  display: inline-flex;
  align-items: center;
  gap: 1.2cqw;
  transition: opacity 0.5s var(--ease-out), transform 0.6s var(--ease-soft);
}
.ill-w-label::before {
  content: "";
  width: 1.6cqw;
  height: 1.6cqw;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 1.4cqw currentColor;
}
.ill-w-label.w0 { right: 0; top: 9%; transition-delay: 2.7s; }
.ill-w-label.w1 { right: 0; bottom: 4%; transition-delay: 2.95s; }
.ill-w-label.w2 { left: 0; bottom: 4%; transition-delay: 3.2s; }
.ill-w-label.w3 { left: 0; top: 9%; transition-delay: 3.45s; }
.ill-w-label.w0::before { color: #885aff; }
.ill-w-label.w1::before { color: #4587ff; }
.ill-w-label.w2::before { color: #bdb5ff; }
.ill-w-label.w3::before { color: #719aff; }
.js-motion .ill-watch:not(.is-on) .ill-w-label {
  opacity: 0;
  transform: translateY(1.6cqw);
  transition-delay: 0s;
}

/* ---------- LanguageCert certificate ---------- */
.ill-c-sheet {
  position: absolute;
  left: 8cqw;
  right: 8cqw;
  top: 17cqw;
  height: 60cqw;
  transform: rotate(-4deg);
}
.ill-c-sheet::before {
  content: "";
  position: absolute;
  left: -2.2cqw;
  right: -2.2cqw;
  top: -2.6cqw;
  height: 5.2cqw;
  border-radius: 2.6cqw;
  background: linear-gradient(180deg, #a59cd6, #f4f1ff 35%, #d8cff1 70%, #8f84c8);
  box-shadow: 0 1cqw 2cqw #0006;
  z-index: 2;
}
.ill-c-paper {
  position: absolute;
  inset: 0;
  border-radius: 0.6cqw;
  color: var(--ink);
  background: linear-gradient(180deg, #fffdfd, #f6f2ff);
  box-shadow: 0 3cqw 5cqw -2cqw #000c;
  clip-path: inset(0 -4cqw -4cqw -4cqw);
  transition: clip-path 1.5s var(--ease-io) 0.25s;
}
.js-motion .ill-cert:not(.is-on) .ill-c-paper {
  clip-path: inset(0 -4cqw 100% -4cqw);
  transition-delay: 0s;
  transition-duration: 0.4s;
}
.ill-c-roll {
  position: absolute;
  left: -2.2cqw;
  right: -2.2cqw;
  bottom: -2.6cqw;
  height: 5.2cqw;
  border-radius: 2.6cqw;
  background: linear-gradient(180deg, #a59cd6, #f4f1ff 35%, #d8cff1 70%, #8f84c8);
  box-shadow: 0 1.4cqw 2.4cqw #0007;
  z-index: 2;
  transition: transform 1.5s var(--ease-io) 0.25s;
}
.js-motion .ill-cert:not(.is-on) .ill-c-roll {
  transform: translateY(-57cqw);
  transition-delay: 0s;
  transition-duration: 0.4s;
}
.ill-c-border {
  position: absolute;
  inset: 3cqw;
  border: 0.4cqw solid rgba(121, 93, 224, 0.4);
  outline: 1px solid rgba(121, 93, 224, 0.25);
  outline-offset: 0.8cqw;
  border-radius: 0.4cqw;
}
.ill-c-emblem {
  position: absolute;
  left: 50%;
  top: 6.5cqw;
  width: 5.6cqw;
  height: 5.6cqw;
  margin-left: -2.8cqw;
  color: var(--ink-accent);
}
.ill-c-bar {
  position: absolute;
  left: 50%;
  height: 1.6cqw;
  border-radius: 1cqw;
  background: #3e2a7a;
  transform: translateX(-50%);
}
.ill-c-bar.b1 { top: 14.5cqw; width: 42%; }
.ill-c-bar.b2 { top: 18.6cqw; width: 26%; height: 0.9cqw; background: #a38ce8; }
.ill-c-bar.b3 { top: 37cqw; width: 58%; height: 0.7cqw; background: rgba(122, 94, 179, 0.25); }
.ill-c-bar.b4 { top: 40cqw; width: 40%; height: 0.7cqw; background: rgba(122, 94, 179, 0.25); }
.ill-c-script {
  position: absolute;
  left: 18%;
  top: 23cqw;
  width: 64%;
  color: var(--ink);
  stroke-width: 3;
  overflow: visible;
}
.ill-c-script path { --d: 1.5s; --dur: 1.3s; }
.ill-c-signline {
  position: absolute;
  left: 10%;
  bottom: 9cqw;
  width: 34%;
  height: 1px;
  background: rgba(81, 56, 143, 0.5);
}
.ill-c-sign {
  position: absolute;
  left: 10%;
  bottom: 9.4cqw;
  width: 34%;
  color: var(--ink-accent);
  stroke-width: 2.6;
  overflow: visible;
}
.ill-c-sign path { --d: 2.2s; --dur: 1s; }
.ill-c-seal {
  position: absolute;
  right: 6%;
  bottom: 4cqw;
  width: 19cqw;
  height: 19cqw;
  transform: rotate(-10deg);
  transition: transform 0.55s cubic-bezier(0.2, 1.5, 0.45, 1) 2.7s, opacity 0.15s linear 2.7s;
}
.js-motion .ill-cert:not(.is-on) .ill-c-seal {
  transform: scale(1.9) rotate(-40deg);
  opacity: 0;
  transition-delay: 0s;
}
.ill-c-seal svg {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: visible;
  filter: drop-shadow(0 0.8cqw 1cqw rgba(35, 23, 71, 0.45));
}
.ill-c-star {
  fill: #6d4fe0;
}
.ill-c-ring {
  fill: none;
  stroke: #ffffff8c;
  stroke-width: 1.6;
}
.ill-c-ring2 {
  fill: #885aff;
  stroke: #ffffff40;
  stroke-width: 1;
}
.ill-c-mark {
  color: #fff;
}
.ill-c-ribbon {
  position: absolute;
  top: 60%;
  width: 6cqw;
  height: 11cqw;
  background: linear-gradient(180deg, #7855e8, #4a368c);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 82%, 0 100%);
}
.ill-c-ribbon.r1 { left: 18%; transform: rotate(16deg); }
.ill-c-ribbon.r2 { right: 18%; transform: rotate(-16deg); }
.ill-c-ink {
  position: absolute;
  inset: -20%;
  border-radius: 50%;
  border: 0.6cqw solid rgba(136, 90, 255, 0.5);
  opacity: 0;
}
.ill-cert.is-on .ill-c-ink {
  animation: illInk 0.9s var(--ease-out) 2.82s both;
}
@keyframes illInk {
  0% { transform: scale(0.5); opacity: 0.9; }
  100% { transform: scale(1.35); opacity: 0; }
}

/* ---------- Communicative English conversation ---------- */
.ill-ch-row {
  position: absolute;
  left: 5cqw;
  right: 5cqw;
  display: flex;
  align-items: flex-end;
  gap: 2.4cqw;
}
.ill-ch-row:nth-of-type(2) { top: 14%; }
.ill-ch-row:nth-of-type(3) { top: 36%; }
.ill-ch-row:nth-of-type(4) { top: 58%; }
.ill-ch-r {
  justify-content: flex-end;
}
.ill-ch-dot {
  flex-shrink: 0;
  width: 9cqw;
  height: 9cqw;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font: 800 3.6cqw/1 var(--display);
  color: #fff;
  background: var(--cover);
  border: 1px solid #b6a5ff;
  box-shadow: 0 1cqw 2cqw #0006;
  transition: transform 0.5s var(--ease-soft) calc(0.2s + var(--k) * 1.05s), opacity 0.3s calc(0.2s + var(--k) * 1.05s);
}
.ill-ch-r .ill-ch-dot {
  background: #f8f5ff;
  color: var(--ink);
  font-size: 2.6cqw;
  border-color: #ddd4f4;
}
.ill-ch-bubble {
  position: relative;
  padding: 2.8cqw 4.6cqw 3.2cqw;
  border-radius: 5cqw 5cqw 5cqw 1.2cqw;
  background: #f8f5ff;
  color: var(--ink);
  font-size: 6.4cqw;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 2cqw 4cqw -1cqw #000a;
  transform-origin: 0 100%;
  transition: transform 0.6s var(--ease-soft) calc(1s + var(--k) * 1.05s), opacity 0.3s calc(1s + var(--k) * 1.05s);
}
.ill-ch-r .ill-ch-bubble {
  background: var(--btn-grad);
  color: #fff;
  border-radius: 5cqw 5cqw 1.2cqw 5cqw;
  transform-origin: 100% 100%;
}
.ill-ch-bubble .ba-hand {
  display: inline-block;
  --d: calc(1.2s + var(--k) * 1.05s);
  --dur: 0.6s;
}
.ill-ch-row[style*="--k:0"] .ba-hand { --d: 1.2s; }
.ill-ch-row[style*="--k:1"] .ba-hand { --d: 2.25s; }
.ill-ch-row[style*="--k:2"] .ba-hand { --d: 3.3s; }
.js-motion .ill-chat:not(.is-on) .ill-ch-bubble {
  transform: scale(0.4);
  opacity: 0;
  transition-delay: 0s;
}
.js-motion .ill-chat:not(.is-on) .ill-ch-dot {
  transform: scale(0);
  opacity: 0;
  transition-delay: 0s;
}
.ill-ch-typing {
  position: absolute;
  bottom: 0;
  left: 11.4cqw;
  display: flex;
  gap: 0.9cqw;
  padding: 2.6cqw 3.2cqw;
  border-radius: 4cqw;
  background: #2b235b;
  border: 1px solid #ffffff1c;
  opacity: 0;
}
.ill-ch-r .ill-ch-typing {
  left: auto;
  right: 11.4cqw;
}
.ill-ch-typing i {
  width: 1.5cqw;
  height: 1.5cqw;
  border-radius: 50%;
  background: var(--lav-3);
  animation: illDots 0.9s ease-in-out infinite;
}
.ill-ch-typing i:nth-child(2) { animation-delay: 0.15s; }
.ill-ch-typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes illDots {
  0%, 100% { transform: translateY(0); opacity: 0.5; }
  40% { transform: translateY(-0.9cqw); opacity: 1; }
}
.ill-chat.is-on .ill-ch-typing {
  animation: illTyping 0.85s var(--ease-out) both;
  animation-delay: calc(0.25s + var(--k) * 1.05s);
}
.ill-ch-row[style*="--k:0"] .ill-ch-typing { animation-delay: 0.25s; }
.ill-ch-row[style*="--k:1"] .ill-ch-typing { animation-delay: 1.3s; }
.ill-ch-row[style*="--k:2"] .ill-ch-typing { animation-delay: 2.35s; }
@keyframes illTyping {
  0% { opacity: 0; transform: scale(0.6); }
  20% { opacity: 1; transform: scale(1); }
  80% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(0.85); }
}
.ill-ch-wave {
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: 9%;
  height: 12cqw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: opacity 0.8s var(--ease-out) 3.9s;
}
.js-motion .ill-chat:not(.is-on) .ill-ch-wave {
  opacity: 0;
  transition-delay: 0s;
}
.ill-ch-wave i {
  width: 1.2cqw;
  height: 34%;
  border-radius: 1cqw;
  background: linear-gradient(180deg, #bdb5ff, #719aff);
  opacity: 0.85;
  transform-origin: 50% 50%;
  animation: illWave 1.1s ease-in-out infinite alternate;
  animation-delay: calc(var(--k) * -0.13s);
}
.ill-ch-wave i:nth-child(odd) {
  background: linear-gradient(180deg, #c4b2ff, #885aff);
}
.ill-ch-wave i:nth-child(3n) { height: 78%; }
.ill-ch-wave i:nth-child(4n) { height: 56%; }
.ill-ch-wave i:nth-child(5n) { height: 92%; }
.ill-ch-wave i:nth-child(7n) { height: 22%; }
@keyframes illWave {
  from { transform: scaleY(0.35); }
  to { transform: scaleY(1.05); }
}

/* ---------- Interview desk ---------- */
.ill-d-resume {
  position: absolute;
  left: 8cqw;
  top: 10cqw;
  width: 46cqw;
  height: 62cqw;
  padding: 5cqw 4.4cqw;
  border-radius: 1cqw;
  background: linear-gradient(180deg, #fffdfd, #f4f0ff);
  border: 1px solid #ddd4f4;
  box-shadow: 0 3cqw 6cqw -2cqw #000c;
  transform: rotate(-7deg);
  transition: transform 1.2s var(--ease-soft) 0.1s, opacity 0.5s 0.1s;
  display: flex;
  flex-direction: column;
  gap: 2cqw;
}
.js-motion .ill-desk:not(.is-on) .ill-d-resume {
  transform: translate(-24cqw, 12cqw) rotate(-24deg);
  opacity: 0;
  transition-delay: 0s;
  transition-duration: 0.4s;
}
.ill-d-photo {
  width: 11cqw;
  height: 11cqw;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 38%, #c9bde8 0 22%, transparent 23%), radial-gradient(ellipse 60% 40% at 50% 100%, #c9bde8 0 98%, transparent 100%), #ede8fb;
  border: 0.5cqw solid #fff;
  box-shadow: 0 0 0 1px #c9bde8;
}
.ill-d-name {
  width: 60%;
  height: 2.6cqw;
  border-radius: 1cqw;
  background: #3e2a7a;
}
.ill-d-role {
  width: 40%;
  height: 1.4cqw;
  border-radius: 1cqw;
  background: #a38ce8;
}
.ill-d-rule {
  height: 0.4cqw;
  width: 22%;
  border-radius: 1cqw;
  background: #885aff;
  margin-top: 1.4cqw;
}
.ill-d-lines {
  display: grid;
  gap: 1.6cqw;
}
.ill-d-lines i {
  height: 0.8cqw;
  border-radius: 1cqw;
  background: rgba(122, 94, 179, 0.2);
}
.ill-d-lines i:nth-child(2n) { width: 84%; }
.ill-d-lines i:nth-child(3n) { width: 66%; }
.ill-d-cards {
  position: absolute;
  left: 38cqw;
  top: 40cqw;
  width: 50cqw;
  height: 32cqw;
}
.ill-d-card {
  position: absolute;
  inset: 0;
  border-radius: 1cqw;
  background: repeating-linear-gradient(to bottom, transparent 0 calc(4.6cqw - 1px), rgba(167, 142, 213, 0.3) calc(4.6cqw - 1px) 4.6cqw) 0 9.4cqw / 100% calc(100% - 10cqw) no-repeat,
    linear-gradient(180deg, #fffdfd, #f7f3ff);
  border: 1px solid #ddd4f4;
  box-shadow: 0 2.4cqw 4cqw -1.6cqw #000b;
  transform-origin: 12% 90%;
  transition: transform 1s var(--ease-soft) var(--td, 0s), opacity 0.4s var(--td, 0s);
}
.ill-d-card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 8.6cqw;
  height: 0.35cqw;
  background: rgba(136, 90, 255, 0.5);
}
.ill-d-card.c3 { --td: 0.75s; transform: rotate(16deg) translate(3cqw, -3cqw); background: #ece6fb; }
.ill-d-card.c2 { --td: 0.6s; transform: rotate(8deg) translate(1.5cqw, -1.5cqw); }
.ill-d-card.c1 { --td: 0.45s; transform: rotate(-2deg); padding: 2.6cqw 3.4cqw; }
.js-motion .ill-desk:not(.is-on) .ill-d-card {
  transform: rotate(-2deg) translate(18cqw, 16cqw);
  opacity: 0;
  transition-delay: 0s;
  transition-duration: 0.4s;
}
.ill-d-kicker {
  display: block;
  font-size: 1.5cqw;
  font-weight: 800;
  letter-spacing: 0.4cqw;
  color: var(--ink-2);
}
.ill-d-hand {
  display: inline-block;
  white-space: nowrap;
  margin-top: 1.4cqw;
  font-size: 5.2cqw;
  line-height: 1;
  color: var(--ink);
  --d: 1.45s;
  --dur: 1.1s;
}
.ill-d-under {
  display: block;
  width: 72%;
  height: 2.4cqw;
  margin-top: 0.4cqw;
  color: var(--ink-accent);
  stroke-width: 2.6;
  overflow: visible;
}
.ill-d-under path { --d: 2.6s; --dur: 0.6s; }
.ill-d-card .ill-d-lines {
  margin-top: 2.2cqw;
}
.ill-d-pen {
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 0;
  transform: translate(78cqw, 74cqw);
  transition: transform 0.9s var(--ease-soft) 0.9s, opacity 0.4s 0.9s;
}
.ill-d-pen .ba-pencil {
  position: absolute;
  right: 0;
  top: -1.6cqw;
  width: 34cqw;
  height: 4.2cqw;
  transform-origin: 100% 50%;
  transform: rotate(-138deg);
}
.ill-desk.is-on .ill-d-pen {
  animation: illPenWrite 1.7s var(--ease-io) 1.4s both;
}
.js-motion .ill-desk:not(.is-on) .ill-d-pen {
  opacity: 0;
  transform: translate(100cqw, 100cqw);
  transition-delay: 0s;
}
@keyframes illPenWrite {
  0% { transform: translate(44cqw, 56cqw); }
  12% { transform: translate(50cqw, 53cqw); }
  24% { transform: translate(56cqw, 57cqw); }
  36% { transform: translate(62cqw, 53cqw); }
  48% { transform: translate(68cqw, 57cqw); }
  60% { transform: translate(74cqw, 53cqw); }
  72% { transform: translate(80cqw, 56cqw); }
  100% { transform: translate(78cqw, 74cqw); }
}

/* =====================================================================
   SERVICES
   ===================================================================== */
.sv-hero {
  min-height: calc(100vh - var(--header));
  min-height: calc(100svh - var(--header));
  display: flex;
  align-items: center;
  padding: 40px 0 70px;
  overflow: hidden;
  background: radial-gradient(ellipse 55% 70% at 72% 55%, rgba(62, 35, 126, 0.34), transparent 75%),
    radial-gradient(ellipse 40% 50% at 8% 90%, rgba(34, 46, 113, 0.18), transparent);
}
.sv-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.sv-swash {
  display: block;
  width: min(400px, 78%);
  height: 28px;
  margin: -18px 0 26px;
  color: var(--lav-2);
  stroke-width: 3;
  overflow: visible;
}
.sv-shelf-wrap {
  position: relative;
  height: clamp(400px, 56vh, 520px);
}
.sv-shelf-wrap::before {
  content: "";
  position: absolute;
  inset: 4% -6% 0;
  border-radius: 50%;
  background: radial-gradient(ellipse at 50% 70%, rgba(134, 103, 255, 0.3), transparent 65%);
  filter: blur(20px);
}
.sv-plank {
  position: absolute;
  left: -2%;
  right: -2%;
  bottom: 9%;
  height: 20px;
  border-radius: 4px;
  background: linear-gradient(180deg, #4a3d86 0%, #2b235b 30%, #1d1835 100%);
  box-shadow: inset 0 2px 0 #ffffff26, 0 34px 40px -16px #000d;
  transform-origin: 0 50%;
  transition: transform 1.1s var(--ease-io) 0.15s;
}
.sv-plank::after {
  content: "";
  position: absolute;
  left: 3%;
  right: 3%;
  top: 100%;
  height: 26px;
  background: linear-gradient(180deg, #120e27, transparent);
  clip-path: polygon(0 0, 100% 0, 96% 100%, 4% 100%);
}
.js-motion .sv-hero:not(.is-in) .sv-plank {
  transform: scaleX(0);
}
.sv-shelf {
  list-style: none;
  margin: 0;
  padding: 0 0 0 3%;
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(9% + 20px);
  height: 80%;
  display: flex;
  align-items: flex-end;
  gap: 5px;
  z-index: 2;
}
.sv-book {
  --h: 86%;
  --w: 74px;
  height: var(--h);
  width: var(--w);
  flex-shrink: 0;
  transition: transform 0.95s cubic-bezier(0.3, 1.32, 0.5, 1) calc(0.45s + var(--k) * 0.12s), opacity 0.35s linear calc(0.45s + var(--k) * 0.12s);
}
.js-motion .sv-hero:not(.is-in) .sv-book {
  transform: translateY(-140%) rotate(-8deg);
  opacity: 0;
}
.sv-book a {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 100%;
  padding: 18px 0 20px;
  border-radius: 5px 5px 3px 3px;
  box-shadow: inset 4px 0 6px #ffffff26, inset -7px 0 10px #0006, 10px 0 18px -8px #000c;
  transform-origin: 50% 100%;
  transition: transform 0.5s var(--ease-soft), box-shadow 0.5s;
  outline-offset: 4px;
}
.sv-book a:hover,
.sv-book a:focus-visible {
  transform: translateY(-26px) rotate(-3deg);
  box-shadow: inset 4px 0 6px #ffffff26, inset -7px 0 10px #0006, 16px 18px 30px -8px #000d;
}
.sv-book-num {
  font: 800 11px/1 var(--display);
  letter-spacing: 1px;
  opacity: 0.75;
}
.sv-book-title {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font: 800 clamp(14px, 1.25vw, 18px) / 1 var(--display);
  letter-spacing: 0.01em;
  white-space: nowrap;
  margin: auto 0 10px;
}
.sv-book-band {
  position: absolute;
  left: 0;
  right: 0;
  top: 15%;
  height: 7px;
  background: currentColor;
  opacity: 0.22;
  box-shadow: 0 13px 0 currentColor;
}
.sv-book-slip {
  position: absolute;
  left: 50%;
  top: -36px;
  padding: 6px 10px;
  border-radius: 4px;
  background: #fffdfd;
  color: var(--ink);
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
  transform: translate(-50%, 10px);
  opacity: 0;
  transition: opacity 0.3s, transform 0.4s var(--ease-soft);
  pointer-events: none;
  box-shadow: 0 8px 18px #0007;
}
.sv-book a:hover .sv-book-slip,
.sv-book a:focus-visible .sv-book-slip {
  opacity: 1;
  transform: translate(-50%, 0);
}
.sv-book.b1 { --h: 80%; --w: 74px; }
.sv-book.b1 a { color: #fff; background: linear-gradient(90deg, #3a2a78, #8876dc 42%, #5b46a8 78%, #231747); }
.sv-book.b2 { --h: 91%; --w: 64px; }
.sv-book.b2 a { color: #fff; background: linear-gradient(90deg, #3657d6, #5a7ff3 35%, #7855e8 78%, #4a33b8); }
.sv-book.b3 { --h: 85%; --w: 82px; }
.sv-book.b3 a { color: var(--ink); background: linear-gradient(90deg, #cfc4ee, #fffdfd 38%, #efe9ff 78%, #c9bde8); }
.sv-book.b4 { --h: 98%; --w: 92px; }
.sv-book.b4 a { color: var(--lav-3); background: radial-gradient(circle, #ffffff14 1px, transparent 1.5px) 0 0 / 10px 10px, linear-gradient(90deg, #151129, #2b235b 40%, #221c47 80%, #110d22); border: 1px solid #ffffff14; }
.sv-book.b5 { --h: 88%; --w: 84px; }
.sv-book.b5 a { color: #2a1d5c; background: linear-gradient(90deg, #8c7cf0, #c4b2ff 40%, #b0a6ff 80%, #7d6de6); }
.sv-lean {
  width: 60px;
  height: 64%;
  margin-left: 4px;
  transform-origin: 0 100%;
  transform: rotate(13deg);
  transition: transform 1s var(--ease-soft) 1.2s, opacity 0.4s 1.2s;
}
.sv-lean span {
  display: block;
  height: 100%;
  border-radius: 5px 5px 3px 3px;
  background: linear-gradient(90deg, #231747, #4a368c 45%, #2b235b);
  box-shadow: inset 3px 0 5px #ffffff1c, 10px 6px 18px -6px #000c;
}
.js-motion .sv-hero:not(.is-in) .sv-lean {
  transform: rotate(40deg) translateY(-40px);
  opacity: 0;
}
.sv-cup {
  position: relative;
  width: 86px;
  height: 34%;
  margin-left: auto;
  margin-right: 4%;
  transition: transform 0.9s var(--ease-soft) 1.35s, opacity 0.4s 1.35s;
}
.js-motion .sv-hero:not(.is-in) .sv-cup {
  transform: translateX(40px);
  opacity: 0;
}
.sv-cup-body {
  position: absolute;
  inset: 0;
  border-radius: 6px 6px 16px 16px;
  background: linear-gradient(90deg, #1d1835, #3a2f6e 40%, #2b235b 80%, #17132e);
  border: 1px solid #ffffff1c;
  box-shadow: inset 0 3px 0 #bdb5ff55, 0 20px 30px -10px #000c;
  z-index: 2;
}
.sv-cup-body::after {
  content: "B.";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font: 800 30px/1 var(--display);
  letter-spacing: -2px;
  color: #ffffff1f;
}
.sv-cup-p {
  position: absolute;
  bottom: 30%;
  left: 50%;
  width: 0;
  height: 0;
}
.sv-cup-p .ba-pencil {
  position: absolute;
  left: 0;
  top: -11px;
  width: 170px;
  height: 22px;
  transform-origin: 0 50%;
  filter: none;
}
.sv-cup-p.p1 .ba-pencil { transform: rotate(-104deg); }
.sv-cup-p.p2 .ba-pencil { transform: rotate(-80deg) translateY(-14px); width: 150px; }
.sv-cup-p.p3 .ba-pencil { transform: rotate(-70deg) translateY(4px); width: 132px; }
.sv-shelf-note {
  position: absolute;
  right: 6%;
  top: 0;
  display: flex;
  align-items: flex-start;
  gap: 4px;
  font-size: 28px;
  color: var(--lav);
  z-index: 3;
  transition: opacity 0.6s var(--ease-out) 2.1s;
}
.sv-shelf-note svg {
  width: 64px;
  height: 50px;
  margin-top: 14px;
  color: var(--lav-2);
  stroke-width: 2.4;
  overflow: visible;
  transform: scaleX(-1);
}
.js-motion .sv-hero:not(.is-in) .sv-shelf-note {
  opacity: 0;
}

/* pathways */
.sv-paths {
  padding: clamp(90px, 10vw, 140px) 0 clamp(50px, 6vw, 90px);
  background: linear-gradient(180deg, #090717, #100d23 12%, #100d23 88%, #0c0a1d);
}
.sv-paths-head {
  max-width: 720px;
  margin-bottom: 30px;
}
.sv-stage {
  display: none;
}
.sv-list {
  position: relative;
}
.sv-thread {
  display: none;
}
.sv-ch {
  position: relative;
  padding: 48px 0;
  border-top: 1px solid var(--line-soft);
}
.sv-ch-art {
  width: min(400px, 92%);
  margin: 0 auto 28px;
}
.sv-ch-art:empty {
  display: none;
}
.sv-ch-head {
  display: flex;
  align-items: flex-end;
  gap: 18px;
}
.sv-ch-num {
  font: 800 clamp(64px, 7vw, 108px) / 0.82 var(--display);
  letter-spacing: -0.06em;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(189, 181, 255, 0.45);
  background: linear-gradient(95deg, #e9e6ff 0%, #bdb5ff 45%, #719aff 100%) no-repeat;
  -webkit-background-clip: text;
  background-clip: text;
  background-size: 0% 100%;
  transition: background-size 1.3s var(--ease-io) 0.15s;
}
.sv-ch.is-active .sv-ch-num,
html:not(.js-motion) .sv-ch-num,
.ba-reduce .sv-ch-num {
  background-size: 100% 100%;
}
.sv-ch-kind {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2.1px;
  text-transform: uppercase;
  color: #bbb6e0;
  padding-bottom: 6px;
}
.sv-ch h3 {
  font: 800 clamp(38px, 4.4vw, 66px) / 1.04 var(--display);
  letter-spacing: -0.045em;
  margin: 22px 0 18px;
}
.sv-ch h3 span {
  display: inline-block;
}
.sv-ch-lead {
  font-size: clamp(17px, 1.45vw, 20px);
  line-height: 1.6;
  color: #e2ddff;
  margin: 0 0 14px;
  max-width: 560px;
}
.sv-ch-more {
  color: #aaa5c1;
  font-size: 15px;
  line-height: 1.9;
  margin: 0 0 22px;
  max-width: 540px;
}
.sv-ch-skills {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  padding: 0;
  margin: 0 0 30px;
}
.sv-ch-skills li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #cfc8ef;
}
.sv-ch-skills li::before {
  content: "";
  width: 9px;
  height: 9px;
  background: currentColor;
  color: var(--lav-2);
  clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
}
.sv-ch-link {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  color: #b7aaff;
  font-weight: 800;
  font-size: 14px;
  padding: 14px 18px 14px 22px;
  border-radius: 100px;
  border: 1px solid #5d557c;
  background: #ffffff06;
  transition: border-color 0.3s, background 0.3s, color 0.3s, transform 0.3s var(--ease-soft);
}
.sv-ch-link span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #ffffff14;
  font-size: 16px;
  transition: transform 0.35s var(--ease-soft), background 0.3s;
}
.sv-ch-link:hover,
.sv-ch-link:focus-visible {
  color: #fff;
  border-color: #a59cef;
  background: #8471ef22;
}
.sv-ch-link:hover span,
.sv-ch-link:focus-visible span {
  transform: rotate(45deg);
  background: #8471ef;
}
/* chapter entrance */
.sv-ch > *:not(.sv-ch-art) {
  transition: opacity 0.8s var(--ease-out), transform 1s var(--ease-soft);
}
.sv-ch > h3 { transition-delay: 0.08s; }
.sv-ch > .sv-ch-lead { transition-delay: 0.16s; }
.sv-ch > .sv-ch-more { transition-delay: 0.22s; }
.sv-ch > .sv-ch-skills { transition-delay: 0.28s; }
.sv-ch > .sv-ch-link { transition-delay: 0.34s; }
.js-motion .sv-ch:not(.is-in) > *:not(.sv-ch-art) {
  opacity: 0;
  transform: translateY(30px);
  transition-delay: 0s;
}

/* cinema: sticky illustrated stage beside the chapters */
.ba-cinema .sv-paths-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 6vw;
}
.ba-cinema .sv-stage {
  display: block;
}
.ba-cinema .sv-stage-sticky {
  position: sticky;
  top: calc(var(--header) + 3vh);
  height: calc(100vh - var(--header) - 6vh);
}
.sv-stage-desk {
  position: absolute;
  left: 50%;
  top: 44%;
  width: min(100%, 60vh);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle at 50% 55%, rgba(116, 82, 207, 0.22), rgba(29, 24, 53, 0.4) 46%, transparent 70%);
}
.sv-stage-desk::after {
  content: "";
  position: absolute;
  inset: 4%;
  border-radius: 50%;
  border: 1px dashed rgba(189, 181, 255, 0.12);
  animation: svSpin 60s linear infinite;
}
@keyframes svSpin {
  to { transform: rotate(360deg); }
}
.ba-cinema .sv-stage-art {
  position: absolute;
  left: 50%;
  top: 44%;
  width: min(100%, 58vh);
  transform: translate(-50%, -50%) scale(0.9) translateY(30px);
  opacity: 0;
  transition: opacity 0.45s var(--ease-out), transform 0.8s var(--ease-soft);
  pointer-events: none;
}
.ba-cinema .sv-stage-art.is-active {
  opacity: 1;
  transform: translate(-50%, -50%);
  transition-delay: 0.1s;
}
.sv-index {
  display: none;
}
.ba-cinema .sv-index {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}
.sv-index a {
  position: relative;
  display: grid;
  gap: 6px;
  padding-top: 14px;
  color: #8d88a8;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.35;
  transition: color 0.3s;
}
.sv-index a::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  border-radius: 2px;
  background: rgba(221, 215, 255, 0.14);
}
.sv-index a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, #7892ff, #885aff);
  box-shadow: 0 0 10px #7892ff;
  transform-origin: 0 50%;
  transform: scaleX(0);
  transition: transform 0.6s var(--ease-io);
}
.sv-index a b {
  font: 800 13px/1 var(--display);
  color: #c9c5dc;
}
.sv-index a:hover,
.sv-index a.is-current {
  color: #fff;
}
.sv-index a.is-current::after {
  transform: scaleX(1);
}
.ba-cinema .sv-thread {
  display: block;
  position: absolute;
  left: -3vw;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(221, 215, 255, 0.1);
}
.sv-thread i {
  position: absolute;
  inset: 0;
  transform-origin: 50% 0;
  transform: scaleY(var(--thread, 0));
  background: linear-gradient(180deg, #7892ff, #885aff);
  box-shadow: 0 0 10px #7892ff;
}
.ba-cinema .sv-ch {
  min-height: 84vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-top: 0;
  padding: 6vh 0;
}
.ba-cinema .sv-ch-art {
  display: none;
}
.ba-cinema .sv-ch:last-child {
  min-height: 72vh;
}

/* how we teach */
.sv-teach {
  padding: clamp(90px, 10vw, 150px) 0;
  background: radial-gradient(ellipse 50% 60% at 78% 50%, rgba(45, 32, 93, 0.5), transparent 70%), #0c0a1d;
}
.sv-teach-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 6vw;
  align-items: center;
}
.sv-teach-copy .ba-body {
  max-width: 470px;
}
.sv-cycle {
  position: relative;
  width: min(520px, 100%);
  aspect-ratio: 1;
  margin-left: auto;
}
.sv-cycle-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.sv-cycle-track {
  fill: none;
  stroke: rgba(221, 215, 255, 0.12);
  stroke-width: 1.5;
  stroke-dasharray: 2 9;
}
.sv-arc,
.sv-head {
  color: var(--lav-2);
  stroke-width: 3;
  --dur: 0.7s;
}
.sv-orbit {
  transform-box: view-box;
  transform-origin: 250px 250px;
  animation: svSpin 14s linear infinite;
  transition: opacity 0.6s 2.9s;
}
.js-motion .sv-cycle:not(.is-in) .sv-orbit {
  opacity: 0;
  transition-delay: 0s;
}
.sv-orbit circle {
  fill: #c4b2ff;
}
.sv-orbit .sv-orbit-halo {
  fill: rgba(196, 178, 255, 0.18);
}
.sv-nodes {
  list-style: none;
  margin: 0;
  padding: 0;
}
.sv-nodes li {
  position: absolute;
  width: 24%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 4px;
  padding: 6px;
  background: radial-gradient(circle at 30% 25%, #3a3563, #1d1835 70%);
  border: 1px solid rgba(170, 164, 194, 0.33);
  box-shadow: inset 0 1px 1px #ffffff30, 0 18px 40px -12px #000c;
  font: 800 clamp(12px, 1.15vw, 15px) / 1.2 var(--display);
  color: #f0edff;
  transition: transform 0.7s cubic-bezier(0.3, 1.4, 0.5, 1), opacity 0.4s;
}
.sv-nodes li span {
  font-size: 10px;
  letter-spacing: 1.4px;
  color: var(--lav);
}
.sv-nodes .n1 { left: 50%; top: 16%; transition-delay: 0.15s; }
.sv-nodes .n2 { left: 84%; top: 50%; transition-delay: 0.75s; }
.sv-nodes .n3 { left: 50%; top: 84%; transition-delay: 1.35s; }
.sv-nodes .n4 { left: 16%; top: 50%; transition-delay: 1.95s; }
.js-motion .sv-cycle:not(.is-in) .sv-nodes li {
  transform: translate(-50%, -50%) scale(0.3);
  opacity: 0;
  transition-delay: 0s;
}
.sv-cycle-core {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 30%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(140deg, #5b4bc7, #403091 55%, #282063);
  box-shadow: 0 20px 60px -10px #150b59cc, inset 0 1px 1px #ffffff40;
}
.sv-core-mark {
  font: 800 clamp(34px, 4vw, 54px) / 1 var(--display);
  letter-spacing: -0.08em;
}
.sv-core-mark i {
  font-style: normal;
  color: #aabbff;
}
.sv-core-modes {
  white-space: nowrap;
  margin-top: 6px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: #e2dcff;
}

/* course finder */
.sv-finder {
  padding: 10px 0 clamp(90px, 10vw, 140px);
  background: #0c0a1d;
}
.sv-finder-card {
  position: relative;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 5vw;
  align-items: center;
  padding: clamp(32px, 5vw, 64px);
  border-radius: 28px;
  background: linear-gradient(145deg, #27223e, #171428 70%);
  border: 1px solid var(--line-soft);
  overflow: hidden;
  transition: opacity 0.8s var(--ease-out), transform 1s var(--ease-soft);
}
.js-motion .sv-finder-card:not(.is-in) {
  opacity: 0;
  transform: translateY(40px);
}
.sv-finder-card::before {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  top: -170px;
  left: -140px;
  background: #6557d2;
  filter: blur(80px);
  opacity: 0.45;
  pointer-events: none;
}
.sv-finder-copy h3 {
  font: 800 clamp(28px, 2.8vw, 40px) / 1.12 var(--display);
  letter-spacing: -0.035em;
  margin: 0 0 16px;
}
.sv-finder-copy p {
  color: #aaa5c1;
  line-height: 1.9;
  margin: 0 0 24px;
}
.sv-finder-talk {
  display: inline-flex;
  color: #b7aaff;
  font-weight: 800;
  font-size: 14px;
  border-bottom: 1px solid #8b7be5;
  padding-bottom: 8px;
}
.sv-finder-q {
  margin: 0 0 6px;
  font-size: 34px;
  color: var(--lav);
  line-height: 1;
}
.sv-goals {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 4px;
  margin-bottom: 26px;
}
.sv-goals button {
  position: relative;
  background: none;
  border: 0;
  color: #d8d2f5;
  padding: 14px 22px;
  font-size: 14px;
  font-weight: 700;
  transition: color 0.25s, transform 0.3s var(--ease-soft);
}
.sv-goals button svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.sv-goals button path {
  fill: none;
  stroke: rgba(189, 181, 255, 0.32);
  stroke-width: 1.4;
  vector-effect: non-scaling-stroke;
}
.sv-goals button:hover {
  color: #fff;
}
.sv-goals button:hover path {
  stroke: rgba(189, 181, 255, 0.6);
}
.sv-goals button[aria-pressed="true"] {
  color: #fff;
}
.sv-goals button[aria-pressed="true"] path {
  stroke: var(--lav-3);
  stroke-width: 2.4;
  fill: rgba(136, 90, 255, 0.16);
  stroke-dasharray: 1 2;
  animation: svDraw 0.7s var(--ease-io) both;
}
@keyframes svDraw {
  from { stroke-dashoffset: 1.01; }
  to { stroke-dashoffset: 0; }
}
.sv-matches {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.sv-matches li {
  transition: opacity 0.45s var(--ease-out), transform 0.55s var(--ease-soft), filter 0.45s;
}
.sv-matches a {
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 100%;
  padding: 16px 16px 18px;
  border-radius: 6px;
  color: var(--ink);
  font: 800 15px/1.2 var(--display);
  background: repeating-linear-gradient(to bottom, transparent 0 21px, rgba(167, 142, 213, 0.22) 21px 22px) 0 40px / 100% calc(100% - 40px) no-repeat, linear-gradient(180deg, #fffdfd, #f3effe);
  box-shadow: 0 14px 30px -14px #000c;
  transition: box-shadow 0.4s, transform 0.4s var(--ease-soft);
}
.sv-matches a span {
  font-size: 11px;
  letter-spacing: 1.4px;
  color: var(--ink-accent);
}
.sv-matches a:hover,
.sv-matches a:focus-visible {
  transform: translateY(-4px) rotate(-1deg);
}
.sv-finder-tool[data-goal] .sv-matches li:not(.is-match) {
  opacity: 0.25;
  transform: scale(0.95);
  filter: saturate(0.4);
}
.sv-finder-tool[data-goal] .sv-matches li.is-match {
  transform: translateY(-8px);
}
.sv-finder-tool[data-goal] .sv-matches li.is-match a {
  box-shadow: 0 0 0 2px #bdb5ff, 0 22px 40px -14px #885affaa;
}

/* CTA flight */
.sv-cta {
  position: relative;
  padding: clamp(130px, 15vw, 210px) 0 clamp(110px, 12vw, 170px);
  overflow: hidden;
  background: radial-gradient(ellipse 60% 70% at 50% 85%, #2d205d77, transparent), #090717;
}
.sv-flight {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.sv-flight-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.sv-trail {
  fill: none;
  stroke: rgba(189, 181, 255, 0.42);
  stroke-width: 2;
  stroke-dasharray: 5 10;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}
.sv-trail-mask {
  vector-effect: non-scaling-stroke;
}
.sv-plane {
  position: absolute;
  left: 0;
  top: 0;
  width: 64px;
  height: 40px;
  margin: -20px 0 0 -64px;
  transform-origin: 64px 20px;
  filter: drop-shadow(0 12px 14px rgba(3, 1, 12, 0.6));
  opacity: 0;
  will-change: transform;
}
.sv-plane svg {
  width: 100%;
  height: 100%;
}
html:not(.js-motion) .sv-plane {
  display: none;
}
.sv-cta-box {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.sv-cta-box .ba-body {
  max-width: 520px;
  margin-inline: auto;
}
.sv-cta-box .ba-actions {
  justify-content: center;
}
.sv-cta-box .ba-label {
  justify-content: center;
}

/* Services responsive */
@media (max-width: 1090px) {
  .sv-book.b1 { --w: 62px; }
  .sv-book.b2 { --w: 54px; }
  .sv-book.b3 { --w: 68px; }
  .sv-book.b4 { --w: 76px; }
  .sv-book.b5 { --w: 70px; }
  .sv-lean { width: 46px; }
  .sv-cup { width: 70px; }
}
@media (max-width: 860px) {
  .sv-hero {
    min-height: 0;
    padding: 50px 0 40px;
  }
  .sv-hero-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .sv-shelf-wrap {
    height: 400px;
    max-width: 560px;
    width: 100%;
    margin: 0 auto;
  }
  .sv-teach-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .sv-cycle {
    margin: 0 auto;
  }
  .sv-finder-card {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}
@media (max-width: 600px) {
  .sv-shelf-wrap {
    height: 340px;
  }
  .sv-shelf {
    gap: 3px;
    padding-left: 0;
  }
  .sv-book.b1 { --w: 48px; }
  .sv-book.b2 { --w: 42px; }
  .sv-book.b3 { --w: 52px; }
  .sv-book.b4 { --w: 58px; }
  .sv-book.b5 { --w: 54px; }
  .sv-book-title { font-size: 13px; }
  .sv-book a { padding: 12px 0 14px; }
  .sv-lean { display: none; }
  .sv-cup { width: 50px; margin-right: 0; }
  .sv-cup-p .ba-pencil { width: 110px !important; height: 15px; top: -7px; }
  .sv-shelf-note { font-size: 22px; right: 0; }
  .sv-matches {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .sv-goals button {
    padding: 12px 16px;
    font-size: 13px;
  }
  .sv-nodes li {
    width: 27%;
    font-size: 11px;
  }
  .sv-nodes li span {
    font-size: 9px;
  }
  .sv-core-modes {
    font-size: 8px;
    letter-spacing: 0.8px;
  }
  .sv-plane {
    width: 44px;
    height: 28px;
    margin: -14px 0 0 -44px;
    transform-origin: 44px 14px;
  }
}

/* =====================================================================
   COURSE PAGES — shared frame
   ===================================================================== */
.cp-hero {
  min-height: calc(92vh - var(--header));
  min-height: calc(92svh - var(--header));
  display: flex;
  align-items: center;
  padding: 40px 0 60px;
  overflow: hidden;
  background: radial-gradient(ellipse 55% 70% at 74% 50%, rgba(62, 35, 126, 0.34), transparent 75%),
    radial-gradient(ellipse 40% 50% at 8% 90%, rgba(34, 46, 113, 0.18), transparent);
}
.cp-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 50px;
  align-items: center;
}
.cp-hero-art {
  width: min(100%, 560px);
  margin-left: auto;
}
.cp-title {
  font: 800 clamp(38px, 4.7vw, 70px) / 1.05 var(--display);
  letter-spacing: -0.048em;
  margin: 22px 0 24px;
}
.cp-h2 {
  font: 800 clamp(32px, 3.8vw, 54px) / 1.1 var(--display);
  letter-spacing: -0.04em;
  margin: 16px 0 20px;
}
.cp-head-center {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 50px;
}
.cp-head-center .ba-label {
  justify-content: center;
}

/* =====================================================================
   IELTS
   ===================================================================== */
.ie-skills {
  background: linear-gradient(180deg, #090717, #120d29 30%, #120d29 70%, #0e0a20);
  padding: 70px 0 60px;
}
.ie-skills-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;
  margin-bottom: 40px;
}
.ie-skills-head .cp-h2 {
  margin-bottom: 0;
}
.ie-counter {
  display: none;
  margin: 0;
  font: 700 14px/1 var(--display);
  letter-spacing: 1px;
  color: #8d88a8;
  text-transform: uppercase;
}
.ie-counter b {
  font-size: 34px;
  color: #fff;
  letter-spacing: -1px;
  margin: 0 4px;
}
.ie-flip-wrap {
  width: min(1040px, calc(100% - 34px));
  margin: 0 auto;
}
/* flowing layout: text page beside its illustration */
.ie-flip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.ie-leaf {
  display: contents;
}
.ie-page,
.ie-face {
  position: relative;
  border-radius: 6px;
  color: var(--ink);
  background: linear-gradient(98deg, #e7e0f8 0%, #f8f5ff 6%, #fffdfd 62%, #f1ecfc 100%);
  border: 1px solid #ddd4f4;
  box-shadow: 0 30px 60px -28px #03010cdd;
  padding: clamp(24px, 3.4vw, 44px);
  min-height: 300px;
}
.ie-text-page {
  background-image: repeating-linear-gradient(to bottom, transparent 0 31px, rgba(167, 142, 213, 0.26) 31px 32px), linear-gradient(98deg, #e7e0f8 0%, #f8f5ff 6%, #fffdfd 62%, #f1ecfc 100%);
  background-position: 0 92px, 0 0;
  background-size: 100% calc(100% - 110px), 100% 100%;
  background-repeat: no-repeat;
}
.ie-text-page .mini-label {
  color: var(--ink-accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.8px;
}
.ie-skill-name {
  margin: 10px 0 0;
  font: 700 clamp(48px, 5vw, 76px) / 1 var(--hand);
  color: #3e2a7a;
}
.ie-hw {
  display: inline-block;
}
.ie-skill-under {
  display: block;
  width: 58%;
  height: 14px;
  margin: 0 0 22px;
  overflow: visible;
}
.ie-skill-under path,
.ie-d {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ie-skill-under path {
  stroke: var(--lav-2);
  stroke-width: 3;
}
.ie-text-page p {
  margin: 0;
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 1.9;
  color: #4b3f6e;
  max-width: 400px;
}
.ie-art-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.ie-doodle {
  width: min(70%, 260px);
  overflow: visible;
}
.ie-d {
  stroke: var(--ink-accent);
  stroke-width: 3;
}
.ie-dt {
  font: 600 18px var(--hand);
  fill: var(--ink-2);
}
.ie-cap {
  font-size: clamp(22px, 2.2vw, 32px);
  color: var(--ink-2);
}
.ie-folio {
  position: absolute;
  bottom: 14px;
  right: 18px;
  font: 700 11px/1 var(--display);
  color: #a38ce8;
}
.ie-tabs,
.ie-flip-spine {
  display: none;
}

/* cinema: a real flip-book pinned while the leaves turn */
.ba-cinema .ie-skills {
  padding: 0;
}
.ba-cinema .ie-track {
  height: 440vh;
}
.ba-cinema .ie-stage {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--header) + 14px) 0 3vh;
}
.ba-cinema .ie-skills-head {
  margin-bottom: 3vh;
  width: min(var(--max), calc(100% - 64px));
}
.ba-cinema .ie-counter {
  display: block;
}
.ba-cinema .ie-flip-wrap {
  --ph: min(calc(100vh - var(--header) - 200px), 580px);
  --pw: min(calc(var(--ph) * 0.9), 42vw);
  width: calc(var(--pw) * 2);
  height: calc(var(--pw) / 0.9);
}
.ba-cinema .ie-flip {
  container-type: inline-size;
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
  perspective: 3600px;
}
.ba-cinema .ie-page,
.ba-cinema .ie-leaf {
  position: absolute;
  top: 0;
  width: 50%;
  height: 100%;
  min-height: 0;
}
.ba-cinema .ie-base-l {
  left: 0;
  border-radius: 14px 3px 3px 14px;
  box-shadow: inset -18px 0 22px -18px #6e52a6aa, -10px 16px 34px -12px #000a, -3px 3px 0 -1px #e6e0f6, -6px 6px 0 -2px #d8cff1;
}
.ba-cinema .ie-base-r {
  left: 50%;
  border-radius: 3px 14px 14px 3px;
  box-shadow: inset 18px 0 22px -18px #6e52a6aa, 10px 16px 34px -12px #000a, 3px 3px 0 -1px #e6e0f6, 6px 6px 0 -2px #d8cff1;
}
.ba-cinema .ie-leaf {
  display: block;
  left: 50%;
  transform-origin: 0 50%;
  transform-style: preserve-3d;
  will-change: transform;
}
.ba-cinema .ie-face {
  position: absolute;
  inset: 0;
  min-height: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  box-shadow: none;
  overflow: hidden;
}
.ba-cinema .ie-front {
  border-radius: 3px 14px 14px 3px;
  box-shadow: inset 18px 0 22px -18px #6e52a6aa;
}
.ba-cinema .ie-back {
  transform: rotateY(180deg);
  border-radius: 14px 3px 3px 14px;
  box-shadow: inset -18px 0 22px -18px #6e52a6aa;
}
.ba-cinema .ie-face::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(62, 42, 122, 0.28), transparent 60%);
  opacity: var(--sh, 0);
}
.ba-cinema .ie-back::after {
  background: linear-gradient(270deg, rgba(62, 42, 122, 0.28), transparent 60%);
}
.ba-cinema .ie-page,
.ba-cinema .ie-face {
  container-type: size;
  padding: 5.4cqw 5.4cqw 4cqw;
}
.ba-cinema .ie-text-page {
  background-position: 0 32cqh, 0 0;
  background-size: 100% 60cqh, 100% 100%;
}
.ba-cinema .ie-skill-name {
  font-size: clamp(40px, 17cqw, 96px);
  margin-top: 3cqh;
}
.ba-cinema .ie-hw {
  clip-path: inset(-20% calc(var(--w, 1) * -2% + (1 - var(--w, 1)) * 104%) -40% -4%);
}
.ba-cinema .ie-skill-under path {
  stroke-dasharray: 1 2;
  stroke-dashoffset: calc(1.01 - var(--w, 1) * 1.01);
}
.ba-cinema .ie-text-page p {
  font-size: clamp(14px, 4.6cqw, 22px);
  line-height: 1.75;
}
.ba-cinema .ie-doodle {
  width: 66cqw;
}
.ba-cinema .ie-d {
  stroke-dasharray: 1 2;
  stroke-dashoffset: calc(1.01 - var(--dr, 1) * 1.01);
}
.ba-cinema .ie-dt,
.ba-cinema .ie-cap {
  opacity: var(--dr, 1);
}
.ba-cinema .ie-cap {
  font-size: clamp(20px, 7cqw, 36px);
}
.ba-cinema .ie-tabs {
  position: absolute;
  right: -34px;
  top: 8%;
  display: grid;
  gap: 8px;
  z-index: 40;
}
.ie-tabs button {
  width: 36px;
  height: 58px;
  border: 0;
  border-radius: 0 10px 10px 0;
  color: #fff;
  font: 800 13px/1 var(--display);
  box-shadow: 4px 4px 12px #0006;
  transform: translateX(var(--tx, -6px));
  transition: transform 0.4s var(--ease-soft), filter 0.3s;
  cursor: pointer;
}
.ie-tabs button:nth-child(1) { background: #885aff; }
.ie-tabs button:nth-child(2) { background: #6a6cf2; }
.ie-tabs button:nth-child(3) { background: #4587ff; }
.ie-tabs button:nth-child(4) { background: #9f91ff; }
.ie-tabs button:hover,
.ie-tabs button.is-current {
  --tx: 6px;
}
.ie-tabs button:not(.is-current) {
  filter: saturate(0.6) brightness(0.8);
}
.ba-cinema .ie-flip-spine {
  display: block;
  position: absolute;
  left: calc(50% - 6px);
  top: 0;
  width: 12px;
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(90deg, #826db3, #ebe3ff 47%, #aa96d0);
  box-shadow: 0 0 10px #4e377c66;
  z-index: 30;
}

/* who it is for */
.ie-fit {
  padding: clamp(90px, 10vw, 150px) 0 clamp(70px, 8vw, 120px);
}
.ie-fit-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 6vw;
  align-items: center;
}
.ie-fit-hand {
  margin: 10px 0 0;
  font-size: 30px;
  color: var(--lav);
  transform: rotate(-2deg);
  transition: opacity 0.8s 0.6s;
}
.js-motion .ie-fit-hand:not(.is-in) {
  opacity: 0;
}
.ie-notebook {
  position: relative;
  border-radius: 8px;
  padding: 44px 44px 44px 84px;
  transform: rotate(1.2deg);
  background-image: repeating-linear-gradient(to bottom, transparent 0 55px, rgba(167, 142, 213, 0.3) 55px 56px), linear-gradient(98deg, #e7e0f8 0%, #f8f5ff 6%, #fffdfd 62%, #f1ecfc 100%);
}
.ie-notebook.is-in,
html:not(.js-motion) .ie-notebook {
  transform: rotate(1.2deg);
}
.ie-notebook::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 62px;
  width: 1px;
  background: rgba(136, 90, 255, 0.4);
}
.ie-notebook-holes {
  position: absolute;
  left: 20px;
  top: 30px;
  bottom: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.ie-notebook-holes i {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #090717;
  box-shadow: inset 0 2px 3px #000a;
}
.ie-checklist {
  list-style: none;
  margin: 0;
  padding: 0;
}
.ie-checklist li {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 56px;
  font: 700 clamp(16px, 1.5vw, 20px) / 1.35 var(--display);
  letter-spacing: -0.01em;
  color: #3e2a7a;
}
.ie-checklist svg {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  color: #a38ce8;
  stroke-width: 1.8;
  overflow: visible;
}
.ie-checklist .ie-tick {
  color: var(--ink-accent);
  stroke-width: 3.2;
}

/* how preparation works: the pencil path */
.ie-path-block {
  position: relative;
  padding-top: clamp(80px, 9vw, 130px);
}
.ie-path-head {
  max-width: 620px;
}
.ie-path {
  position: relative;
  margin-top: 30px;
}
.ie-path-svg,
.ie-path-nib {
  display: none;
}
.ie-steps {
  list-style: none;
  margin: 0;
  padding: 0 0 0 34px;
  position: relative;
  display: grid;
  gap: 18px;
}
.ie-steps::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: linear-gradient(180deg, #7892ff, #885aff);
  opacity: 0.6;
}
.ie-steps li {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 14px;
  font: 700 18px/1.4 var(--display);
  color: #f0edff;
  transition: opacity 0.7s var(--ease-out) var(--d2, 0s), transform 0.9s var(--ease-soft) var(--d2, 0s);
}
.ie-steps li::before {
  content: "";
  position: absolute;
  left: -30px;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #1d1835;
  border: 2px solid var(--lav-2);
  box-shadow: 0 0 12px #885aff88;
}
.ie-steps b {
  font-size: 12px;
  letter-spacing: 1.4px;
  color: var(--lav);
}
.js-motion .ie-steps:not(.is-in) li {
  opacity: 0;
  transform: translateX(-16px);
  transition-delay: 0s;
}
.ie-sticky-note {
  position: relative;
  max-width: 420px;
  margin: 50px 0 0 auto;
  padding: 30px 28px 26px;
  border-radius: 4px;
  background: linear-gradient(160deg, #e9e5ff, #cfc6ff);
  color: #2e2160;
  font-size: 14px;
  line-height: 1.8;
  box-shadow: 0 30px 50px -20px #000d;
  transform: rotate(-2deg);
}
.ie-sticky-note.is-in,
html:not(.js-motion) .ie-sticky-note {
  transform: rotate(-2deg);
}
.ie-tape {
  position: absolute;
  top: -14px;
  left: 50%;
  width: 110px;
  height: 28px;
  margin-left: -55px;
  background: rgba(255, 255, 255, 0.45);
  box-shadow: 0 2px 6px #0002;
  transform: rotate(3deg);
}
/* cinema: the path draws itself with a pencil */
.ba-cinema .ie-path {
  height: 360px;
  margin-top: 10px;
}
.ba-cinema .ie-path-svg {
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  top: 30px;
  width: 100%;
  height: 300px;
  overflow: visible;
}
.ie-path-ghost,
.ie-path-ink {
  fill: none;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}
.ie-path-ghost {
  stroke: rgba(221, 215, 255, 0.12);
  stroke-width: 2;
  stroke-dasharray: 3 9;
}
.ie-path-ink {
  stroke: var(--lav-2);
  stroke-width: 3;
}
.ba-cinema .ie-path-nib {
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 0;
  z-index: 4;
}
.ie-path-nib .ba-pencil {
  position: absolute;
  right: 0;
  top: -12px;
  width: 190px;
  height: 24px;
  transform-origin: 100% 50%;
  transform: rotate(-138deg);
}
.ba-cinema .ie-steps {
  position: absolute;
  inset: 30px 0 0;
  height: 300px;
  padding: 0;
  display: block;
}
.ba-cinema .ie-steps::before {
  display: none;
}
.ba-cinema .ie-steps li {
  position: absolute;
  top: 50%;
  width: 190px;
  margin-left: -95px;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  font-size: 16px;
  opacity: 1;
  transform: none;
}
.ba-cinema .ie-steps li::before {
  position: static;
  order: -1;
  width: 18px;
  height: 18px;
  margin-bottom: 0;
  transition: transform 0.4s var(--ease-soft), background 0.3s;
}
.ba-cinema .ie-steps li:nth-child(1) { left: 5%; }
.ba-cinema .ie-steps li:nth-child(2) { left: 27.5%; }
.ba-cinema .ie-steps li:nth-child(3) { left: 50%; }
.ba-cinema .ie-steps li:nth-child(4) { left: 72.5%; }
.ba-cinema .ie-steps li:nth-child(5) { left: 95%; }
.ba-cinema .ie-steps li {
  margin-top: -9px;
}
.ba-cinema .ie-steps li:nth-child(odd) {
  flex-direction: column;
}
.ba-cinema .ie-steps li:nth-child(even) {
  margin-top: 0;
  bottom: 50%;
  top: auto;
  margin-bottom: -9px;
}
.ba-cinema .ie-steps li:nth-child(even)::before {
  order: 2;
}
.ba-cinema .ie-steps li > * {
  transition: opacity 0.5s var(--ease-out), transform 0.6s var(--ease-soft);
  position: relative;
  z-index: 2;
}
.ba-cinema .ie-steps li span {
  padding: 6px 12px 7px;
  border-radius: 10px;
  background: #0b0920;
  box-shadow: 0 0 0 1px rgba(221, 215, 255, 0.08);
}
.ba-cinema .ie-steps li b {
  padding: 2px 8px;
  border-radius: 8px;
  background: #0b0920;
}
.ba-cinema .ie-steps li:not(.is-reached) > * {
  opacity: 0;
  transform: translateY(10px);
}
.ba-cinema .ie-steps li:nth-child(even):not(.is-reached) > * {
  transform: translateY(-10px);
}
.ba-cinema .ie-steps li:not(.is-reached)::before {
  transform: scale(0.4);
  background: #3a3563;
}
.ba-cinema .ie-steps li.is-reached::before {
  background: var(--lav-2);
}
.ba-cinema .ie-sticky-note {
  margin-top: 10px;
}

/* flexible study: spiral notebook */
.ie-modes {
  padding: clamp(80px, 9vw, 130px) 0;
  background: #100d23;
}
.ie-spiral {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 40px 1fr;
  max-width: 980px;
  margin: 0 auto;
  filter: drop-shadow(0 40px 50px rgba(0, 0, 0, 0.55));
}
.ie-spiral-page {
  padding: clamp(28px, 4vw, 52px);
  color: var(--ink);
  background: linear-gradient(98deg, #ece6fb 0%, #fffdfd 30%, #f6f2ff 100%);
  border-radius: 10px 4px 4px 10px;
  transition: transform 1.1s var(--ease-soft), opacity 0.8s var(--ease-out);
  transform-origin: 100% 50%;
}
.ie-spiral-page:last-child {
  border-radius: 4px 10px 10px 4px;
  background: linear-gradient(262deg, #ece6fb 0%, #fffdfd 30%, #f6f2ff 100%);
  transform-origin: 0 50%;
}
.js-motion .ie-spiral:not(.is-in) .ie-spiral-page:first-child {
  transform: perspective(1200px) rotateY(50deg);
  opacity: 0;
}
.js-motion .ie-spiral:not(.is-in) .ie-spiral-page:last-child {
  transform: perspective(1200px) rotateY(-50deg);
  opacity: 0;
}
.ie-spiral-rings {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
  background: linear-gradient(90deg, #f6f2ff, #e2daf6 50%, #f6f2ff);
}
.ie-spiral-rings i {
  width: 52px;
  height: 16px;
  border-radius: 10px;
  border: 3px solid #cfc6ef;
  border-top-color: #fff;
  border-bottom-color: #8f84c8;
  background: transparent;
  box-shadow: 0 3px 4px #0003;
}
.ie-mode-icon {
  width: 110px;
  color: var(--ink-accent);
  stroke-width: 2.6;
  overflow: visible;
  margin-bottom: 14px;
}
.ie-spiral-page h3 {
  font: 800 clamp(22px, 2.2vw, 30px) / 1.2 var(--display);
  letter-spacing: -0.02em;
  color: #3e2a7a;
  margin: 0 0 12px;
}
.ie-spiral-page p {
  margin: 0;
  color: #4b3f6e;
  line-height: 2;
  font-size: 15px;
}

/* CTA: a closing book cover */
.ie-cta {
  padding: clamp(90px, 10vw, 140px) 0 clamp(110px, 12vw, 170px);
  background: radial-gradient(ellipse 60% 70% at 50% 80%, #2d205d66, transparent), #090717;
}
.ie-closing {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  perspective: 2200px;
}
.ie-closing-pages {
  position: absolute;
  inset: 10px -12px -12px 18px;
  border-radius: 6px 24px 24px 6px;
  background: repeating-linear-gradient(to bottom, #f8f5ff 0 3px, #ddd4f4 3px 4px);
  box-shadow: 0 40px 70px -30px #000e;
}
.ie-closing-cover {
  position: relative;
  border-radius: 8px 26px 26px 8px;
  background: var(--cover);
  border: 1px solid #b6a5ff;
  box-shadow: inset 10px 0 18px #d4c9ff29, inset -8px 0 18px #100a36;
  padding: clamp(40px, 6vw, 76px) clamp(28px, 6vw, 80px);
  transform-origin: 0 50%;
  transform: rotateY(0deg);
  transition: transform 1.5s var(--ease-io) 0.1s;
  overflow: hidden;
}
.ie-closing-cover::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid #c8b5ff52;
  border-radius: 4px 18px 18px 4px;
  pointer-events: none;
}
.js-motion .ie-closing:not(.is-in) .ie-closing-cover {
  transform: rotateY(-62deg);
  transition-duration: 0.6s;
  transition-delay: 0s;
}
.ie-closing-cover > *:not(.ie-closing-mark):not(.ie-closing-ribbon) {
  position: relative;
  z-index: 1;
  transition: opacity 0.8s var(--ease-out) 1.1s, transform 1s var(--ease-soft) 1.1s;
}
.js-motion .ie-closing:not(.is-in) .ie-closing-cover > *:not(.ie-closing-mark):not(.ie-closing-ribbon) {
  opacity: 0;
  transform: translateY(20px);
  transition-delay: 0s;
}
.ie-closing-cover .ba-label {
  color: #ede8ff;
}
.ie-closing-cover .cp-h2 {
  max-width: 640px;
}
.ie-closing-cover .ba-body {
  color: #e2dcff;
  max-width: 520px;
}
.ie-closing-cover .btn-outline {
  border-color: #ffffff55;
}
.ie-closing-mark {
  position: absolute;
  right: 6%;
  bottom: -8%;
  font: 800 clamp(160px, 22vw, 300px) / 1 var(--display);
  letter-spacing: -0.08em;
  color: #ffffff12;
  pointer-events: none;
}
.ie-closing-mark i {
  font-style: normal;
  color: #aabbff22;
}
.ie-closing-ribbon {
  position: absolute;
  top: -2px;
  right: 16%;
  width: 22px;
  height: 120px;
  background: linear-gradient(180deg, #719aff, #4587ff);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 84%, 0 100%);
  transform-origin: 50% 0;
  animation: abRibbonSway 5s ease-in-out infinite;
  z-index: 0;
}

/* IELTS responsive */
@media (max-width: 860px) {
  .cp-hero {
    min-height: 0;
    padding: 50px 0 40px;
  }
  .cp-hero-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .cp-hero-art {
    margin: 0 auto;
    width: min(100%, 460px);
  }
  .ie-skills-head {
    display: block;
  }
  .ie-fit-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .ie-notebook {
    padding: 34px 26px 34px 70px;
  }
  .ie-notebook::before {
    left: 52px;
  }
  .ie-sticky-note {
    margin: 40px auto 0;
  }
}
@media (max-width: 640px) {
  .ie-flip {
    grid-template-columns: 1fr;
  }
  .ie-art-page {
    min-height: 0;
    flex-direction: row;
    padding: 18px 22px;
    gap: 14px;
  }
  .ie-art-page .ie-doodle {
    width: 90px;
  }
  .ie-text-page {
    min-height: 0;
  }
  .ie-spiral {
    grid-template-columns: 1fr;
  }
  .ie-spiral-rings {
    flex-direction: row;
    height: 34px;
  }
  .ie-spiral-rings i {
    width: 16px;
    height: 46px;
  }
  .ie-spiral-page,
  .ie-spiral-page:last-child {
    border-radius: 10px;
  }
  .ie-closing-cover .ba-actions .btn {
    width: 100%;
  }
  .ie-closing-ribbon {
    right: 7%;
    height: 70px;
  }
  .ie-checklist li {
    font-size: 16px;
  }
}

/* =====================================================================
   PTE
   ===================================================================== */
.cp-hero-grid.is-reversed {
  grid-template-columns: 0.95fr 1.05fr;
}
.cp-hero-grid.is-reversed .cp-hero-art {
  margin-left: 0;
  margin-right: auto;
}
.pt-skills {
  padding: clamp(80px, 9vw, 120px) 0 40px;
  background: linear-gradient(180deg, #090717, #100d23 20%, #100d23 80%, #0c0a1d);
}
.pt-grid {
  display: block;
}
.pt-dial-col {
  display: none;
}
.pt-panels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 36px;
}
.pt-panel {
  position: relative;
  padding: 30px 28px 32px 30px;
  border-radius: 22px;
  border: 1px solid var(--line-soft);
  background: linear-gradient(145deg, #27223e, #171428 70%);
  transition: opacity 0.7s var(--ease-out), transform 0.9s var(--ease-soft);
}
.pt-panel .mini-label {
  color: #bbb6e0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.8px;
}
.pt-panel h3 {
  font: 800 clamp(30px, 3vw, 44px) / 1.05 var(--display);
  letter-spacing: -0.04em;
  margin: 14px 0 12px;
}
.pt-panel p {
  margin: 0;
  color: #aaa5c1;
  font-size: 15px;
  line-height: 1.85;
}
.pt-q-icon {
  position: absolute;
  right: 26px;
  top: 26px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid rgba(189, 181, 255, 0.25);
  background: conic-gradient(from calc(var(--q) * 90deg), var(--qc) 0 90deg, transparent 90deg);
}
.pt-q-icon.q0, .pt-laps .q0 { --q: 0; --qc: #885aff; }
.pt-q-icon.q1, .pt-laps .q1 { --q: 1; --qc: #4587ff; }
.pt-q-icon.q2, .pt-laps .q2 { --q: 2; --qc: #bdb5ff; }
.pt-q-icon.q3, .pt-laps .q3 { --q: 3; --qc: #719aff; }
.pt-laps {
  display: none;
}
.js-motion:not(.ba-cinema) .pt-skills:not(.is-in) .pt-panel {
  opacity: 0;
  transform: translateY(30px);
}
/* cinema: pinned dial */
.ba-cinema .pt-skills {
  padding: 0;
}
.ba-cinema .pt-track {
  height: 400vh;
}
.ba-cinema .pt-stage {
  display: flex;
  align-items: center;
  padding-top: var(--header);
}
.ba-cinema .pt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5vw;
  align-items: center;
}
.ba-cinema .pt-dial-col {
  display: block;
}
.pt-dial {
  position: relative;
  width: min(100%, calc(100vh - var(--header) - 120px), 560px);
  aspect-ratio: 1;
  margin: 0 auto;
}
.pt-dial::before {
  content: "";
  position: absolute;
  inset: 4%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(134, 103, 255, 0.28), transparent 68%);
  filter: blur(20px);
}
.pt-dial-svg {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.pt-face {
  fill: #17132e;
  stroke: rgba(189, 181, 255, 0.5);
  stroke-width: 3;
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.5));
}
.pt-ticks line {
  stroke: var(--lav-3);
  stroke-linecap: round;
}
.pt-ticks .mj { stroke-width: 3.4; }
.pt-ticks .mn { stroke-width: 1.4; opacity: 0.45; }
.pt-qg,
.pt-qf {
  fill: none;
  stroke-width: 12;
  stroke-linecap: round;
}
.pt-qg {
  stroke: rgba(221, 215, 255, 0.07);
}
.pt-qf.q0 { stroke: #885aff; }
.pt-qf.q1 { stroke: #4587ff; }
.pt-qf.q2 { stroke: #bdb5ff; }
.pt-qf.q3 { stroke: #719aff; }
.pt-hand {
  transform-box: view-box;
  transform-origin: 200px 200px;
}
.pt-hand line {
  stroke: #f7f6ff;
  stroke-width: 4;
  stroke-linecap: round;
}
.pt-hand circle {
  fill: #885aff;
}
.pt-hand circle.hub {
  fill: #fff;
}
.pt-ql {
  position: absolute;
  transform: translate(-50%, -50%);
  font: 800 13px/1 var(--display);
  color: #6f6a8c;
  transition: color 0.4s;
  white-space: nowrap;
}
.pt-ql.is-on {
  color: #fff;
}
.pt-core {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: none;
}
.ba-cinema .pt-panels {
  position: relative;
  display: block;
  height: 260px;
  margin-top: 26px;
}
.ba-cinema .pt-panel {
  position: absolute;
  inset: 0 0 auto;
  border: 0;
  background: none;
  padding: 0;
  transition: none;
}
.ba-cinema .pt-panel h3 {
  font-size: clamp(48px, 5.4vw, 84px);
  margin: 18px 0 18px;
}
.ba-cinema .pt-panel p {
  font-size: clamp(16px, 1.35vw, 19px);
  color: #c9c3e2;
  max-width: 460px;
}
.ba-cinema .pt-q-icon {
  display: none;
}
.ba-cinema .pt-laps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  padding: 0;
  margin: 10px 0 0;
}
.pt-laps li {
  position: relative;
  padding-top: 14px;
  font-size: 12px;
  font-weight: 700;
  color: #6f6a8c;
  transition: color 0.4s;
}
.pt-laps li b {
  display: block;
  font: 800 12px/1 var(--display);
  margin-bottom: 6px;
}
.pt-laps li::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  border-radius: 3px;
  background: rgba(221, 215, 255, 0.1);
}
.pt-laps li::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 3px;
  width: calc(var(--lap, 0) * 100%);
  border-radius: 3px;
  background: var(--qc);
  box-shadow: 0 0 10px var(--qc);
}
.pt-laps li.is-on {
  color: #fff;
}

/* approach: progress bar */
.pt-approach {
  padding: clamp(90px, 10vw, 140px) 0 clamp(80px, 9vw, 120px);
}
.pt-approach-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 40px;
}
.pt-pct {
  margin: 0;
  font: 800 clamp(60px, 8vw, 120px) / 0.85 var(--display);
  letter-spacing: -0.06em;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(189, 181, 255, 0.4);
}
.pt-pct span {
  font-size: 0.5em;
}
.pt-bar {
  position: relative;
}
.pt-bar-track {
  height: 10px;
  border-radius: 10px;
  background: rgba(221, 215, 255, 0.08);
  box-shadow: inset 0 1px 3px #0008;
  overflow: hidden;
}
.pt-bar-fill {
  display: block;
  height: 100%;
  width: 100%;
  border-radius: 10px;
  background: linear-gradient(90deg, #456ff0, #7855e8, #bdb5ff);
  box-shadow: 0 0 18px #7855e8;
  transform-origin: 0 50%;
  transform: scaleX(var(--fill, 1));
}
.pt-checks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
.pt-checks li {
  position: relative;
  padding-top: 34px;
  display: grid;
  gap: 8px;
  align-content: start;
}
.pt-chk {
  position: absolute;
  top: -27px;
  left: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #1d1835;
  border: 2px solid #5d557c;
  transition: background 0.35s, border-color 0.35s, transform 0.45s var(--ease-soft);
}
.pt-chk svg {
  width: 18px;
  height: 18px;
  overflow: visible;
}
.pt-chk path {
  fill: none;
  stroke: #fff;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1 2;
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 0.4s var(--ease-io) 0.1s;
}
.pt-checks b {
  font: 800 12px/1 var(--display);
  letter-spacing: 1.4px;
  color: var(--lav);
}
.pt-checks span {
  font: 700 clamp(15px, 1.3vw, 18px) / 1.35 var(--display);
  color: #f0edff;
}
.pt-checks li.is-done .pt-chk,
html:not(.js-motion) .pt-chk,
.ba-reduce .pt-chk {
  background: linear-gradient(135deg, #456ff0, #7855e8);
  border-color: #bdb5ff;
}
.js-motion .pt-checks li:not(.is-done) .pt-chk path {
  stroke-dashoffset: 1.01;
}
.js-motion .pt-checks li:not(.is-done) .pt-chk {
  transform: scale(0.85);
}
.pt-checks li > b,
.pt-checks li > span {
  transition: opacity 0.5s var(--ease-out), transform 0.6s var(--ease-soft);
}
.js-motion .pt-checks li:not(.is-done) > b,
.js-motion .pt-checks li:not(.is-done) > span {
  opacity: 0.35;
}

/* who: typed on a screen */
.pt-who {
  padding: clamp(80px, 9vw, 130px) 0;
  background: radial-gradient(ellipse 50% 60% at 75% 50%, rgba(45, 32, 93, 0.5), transparent 70%), #0c0a1d;
}
.pt-who-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 6vw;
  align-items: center;
}
.pt-monitor {
  position: relative;
  padding-bottom: 54px;
  transition: opacity 0.8s var(--ease-out), transform 1.1s var(--ease-soft);
}
.js-motion .pt-monitor:not(.is-in) {
  opacity: 0;
  transform: translateY(40px) perspective(1200px) rotateX(12deg);
}
.pt-screen {
  position: relative;
  border-radius: 20px;
  padding: 14px;
  background: linear-gradient(160deg, #3a3563, #1b183b);
  border: 1px solid #8880bc55;
  box-shadow: 0 50px 80px -40px #000e, inset 0 1px 1px #ffffff30;
}
.pt-screen-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 4px 8px 12px;
}
.pt-screen-bar i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #5d557c;
}
.pt-screen-bar i:first-child { background: #885aff; }
.pt-screen-bar i:nth-child(2) { background: #4587ff; }
.pt-screen-bar span {
  margin-left: 10px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: #8d88a8;
}
.pt-screen-body {
  position: relative;
  min-height: 260px;
  border-radius: 12px;
  padding: clamp(26px, 3.4vw, 44px);
  background: radial-gradient(circle at 20% 0%, rgba(120, 85, 232, 0.18), transparent 50%), #0d0a1f;
  background-image: radial-gradient(circle at 20% 0%, rgba(120, 85, 232, 0.18), transparent 50%), repeating-linear-gradient(to bottom, transparent 0 3px, rgba(255, 255, 255, 0.015) 3px 4px);
  background-color: #0d0a1f;
  overflow: hidden;
}
.pt-type {
  margin: 0;
  font: 700 clamp(20px, 2.1vw, 30px) / 1.45 var(--display);
  letter-spacing: -0.02em;
  color: #f0edff;
}
.pt-type-vis .ch {
  transition: opacity 0.05s linear calc(0.5s + var(--i) * 22ms);
}
.js-motion .pt-monitor:not(.is-in) .pt-type-vis .ch {
  opacity: 0;
  transition-delay: 0s;
}
.js-motion .pt-monitor:not(.is-in) .pt-caret {
  visibility: hidden;
  transition-delay: 0s;
}
.pt-caret {
  transition: visibility 0s linear calc(var(--toast, 3s) - 0.4s);
  display: inline-block;
  width: 3px;
  height: 1.05em;
  margin-left: 4px;
  vertical-align: -0.12em;
  background: var(--lav-3);
  animation: ptBlink 1s steps(1) infinite;
}
@keyframes ptBlink {
  50% { opacity: 0; }
}
.pt-toast {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-top: 30px;
  padding: 16px 18px;
  border-radius: 12px;
  background: rgba(248, 245, 255, 0.06);
  border: 1px solid rgba(189, 181, 255, 0.25);
  color: #d8d2f5;
  font-size: 14px;
  line-height: 1.75;
  transition: opacity 0.6s var(--ease-out) var(--toast, 3s), transform 0.8s var(--ease-soft) var(--toast, 3s);
}
.pt-toast p {
  margin: 0;
}
.pt-toast strong {
  color: #fff;
}
.pt-toast-icon {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font: 800 14px/1 var(--display);
  background: linear-gradient(135deg, #456ff0, #7855e8);
  color: #fff;
}
.js-motion .pt-monitor:not(.is-in) .pt-toast {
  opacity: 0;
  transform: translateY(20px);
  transition-delay: 0s;
}
.pt-stand {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 160px;
  height: 54px;
  margin-left: -80px;
  background: linear-gradient(180deg, #2b235b, #1b1638);
  clip-path: polygon(38% 0, 62% 0, 70% 80%, 100% 86%, 100% 100%, 0 100%, 0 86%, 30% 80%);
}

/* flexible study: segmented switch */
.pt-modes {
  padding: clamp(80px, 9vw, 130px) 0;
}
.pt-switch {
  max-width: 760px;
  margin: 0 auto;
}
.pt-switch-bar {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: min(360px, 100%);
  margin: 0 auto 26px;
  padding: 6px;
  border-radius: 100px;
  background: #17132e;
  border: 1px solid var(--line-soft);
}
.pt-switch-bar button {
  position: relative;
  z-index: 1;
  border: 0;
  background: none;
  padding: 13px 10px;
  border-radius: 100px;
  font-weight: 800;
  font-size: 14px;
  color: #aaa5c1;
  transition: color 0.3s;
}
.pt-switch-bar button[aria-selected="true"] {
  color: #fff;
}
.pt-switch-thumb {
  display: none;
}
.pt-switch.is-enhanced .pt-switch-thumb {
  display: block;
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: 6px;
  width: calc(50% - 6px);
  border-radius: 100px;
  background: var(--btn-grad);
  box-shadow: 0 10px 30px #564bef55;
  transform: translateX(calc(var(--tab, 0) * 100%));
  transition: transform 0.5s var(--ease-soft);
}
.pt-switch-panels {
  display: grid;
  gap: 14px;
}
.pt-mode {
  display: flex;
  align-items: center;
  gap: clamp(20px, 4vw, 44px);
  padding: clamp(28px, 4vw, 48px);
  border-radius: 26px;
  background: linear-gradient(137deg, #29243e, #1a172d 55%, #141128);
  border: 1px solid #aaa4c254;
  box-shadow: inset 0 1px 1px #ffffff30, 0 30px 60px -30px #000c;
}
.pt-switch.is-enhanced .pt-switch-panels {
  display: block;
}
.pt-switch.is-enhanced .pt-mode.is-shown {
  animation: ptPanel 0.6s var(--ease-soft) both;
}
@keyframes ptPanel {
  from { opacity: 0; transform: translateY(16px) scale(0.98); }
  to { opacity: 1; transform: none; }
}
.pt-mode-icon {
  flex-shrink: 0;
  width: clamp(90px, 12vw, 140px);
  overflow: visible;
}
.pt-mode-icon path {
  fill: none;
  stroke: var(--lav-2);
  stroke-width: 2.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1 2;
}
.pt-mode.is-shown .pt-mode-icon path {
  animation: svDraw 1s var(--ease-io) 0.15s both;
}
.pt-mode h3 {
  font: 800 clamp(24px, 2.4vw, 32px) / 1.15 var(--display);
  letter-spacing: -0.02em;
  margin: 0 0 10px;
}
.pt-mode p {
  margin: 0;
  color: #aaa5c1;
  line-height: 1.9;
}

/* CTA ring */
.pt-cta {
  padding: clamp(40px, 6vw, 80px) 0 clamp(110px, 12vw, 170px);
  background: radial-gradient(ellipse 60% 70% at 50% 80%, #2d205d66, transparent), #090717;
}
.pt-cta-card {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 40px;
  align-items: center;
  padding: clamp(36px, 5.5vw, 72px);
  border-radius: 30px;
  background: linear-gradient(145deg, #27223e, #171428 70%);
  border: 1px solid var(--line-soft);
  position: relative;
  overflow: hidden;
}
.pt-cta-card::before {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  right: -120px;
  top: -120px;
  background: #6557d2;
  filter: blur(90px);
  opacity: 0.45;
}
.pt-cta-ring {
  position: relative;
  width: min(100%, 280px);
  aspect-ratio: 1;
  margin-left: auto;
}
.pt-cta-ring svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}
.pt-ring-track {
  fill: #120e27;
  stroke: rgba(221, 215, 255, 0.08);
  stroke-width: 12;
}
.pt-ring-fill {
  fill: none;
  stroke: url(#baInk);
  stroke-width: 12;
  stroke-linecap: round;
}
.pt-ring-ticks line {
  stroke: rgba(189, 181, 255, 0.4);
  stroke-width: 2;
  stroke-linecap: round;
}
.pt-ring-check {
  position: absolute;
  inset: 26%;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--btn-grad);
  box-shadow: 0 20px 50px -10px #564befaa;
  transform: scale(var(--chk, 1));
  opacity: var(--chk, 1);
}
.pt-ring-check svg {
  width: 46%;
  height: 46%;
  overflow: visible;
}
.pt-ring-check path {
  fill: none;
  stroke: #fff;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 860px) {
  .cp-hero-grid.is-reversed {
    grid-template-columns: 1fr;
  }
  .cp-hero-grid.is-reversed .cp-hero-art {
    order: 2;
    margin: 0 auto;
  }
  .pt-who-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .pt-cta-card {
    grid-template-columns: 1fr;
  }
  .pt-cta-ring {
    width: 180px;
    margin: 0;
    order: -1;
  }
  .pt-checks {
    grid-template-columns: 1fr;
    gap: 22px;
    padding-left: 54px;
    position: relative;
    margin-top: -10px;
  }
  .pt-bar-track {
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 6px;
    height: auto;
  }
  .pt-bar-fill {
    transform-origin: 50% 0;
    transform: scaleY(var(--fill, 1));
  }
  .pt-checks li {
    padding-top: 6px;
  }
  .pt-chk {
    left: -54px;
    top: 0;
  }
  .pt-bar {
    padding-top: 10px;
  }
}
@media (max-width: 640px) {
  .pt-panels {
    grid-template-columns: 1fr;
  }
  .pt-approach-head {
    display: block;
  }
  .pt-pct {
    display: none;
  }
  .pt-mode {
    flex-direction: column;
    align-items: flex-start;
  }
  .pt-cta-card .ba-actions .btn {
    width: 100%;
  }
}
[role="tabpanel"][hidden] {
  display: none !important;
}

/* =====================================================================
   LANGUAGECERT
   ===================================================================== */
.lc-hero {
  min-height: 0;
  padding: 60px 0 0;
  text-align: center;
  overflow: hidden;
  background: radial-gradient(ellipse 60% 60% at 50% 70%, rgba(62, 35, 126, 0.38), transparent 75%);
}
.lc-hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.lc-hero .ba-crumbs {
  justify-content: center;
}
.lc-title {
  max-width: 980px;
}
.lc-hero .ba-lead {
  max-width: 620px;
  margin-inline: auto;
}
.lc-hero-art {
  width: min(620px, 100%);
  margin: 10px auto -6%;
}
.lc-hero-stamp {
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 2px dashed rgba(189, 181, 255, 0.18);
  pointer-events: none;
}
.lc-hero-stamp::after {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 50%;
  border: 1px solid rgba(189, 181, 255, 0.12);
}
.lc-hero-stamp.s1 { left: 6%; top: 28%; transform: rotate(-14deg); }
.lc-hero-stamp.s2 { right: 7%; top: 58%; width: 90px; height: 90px; }

/* the brochure */
.lc-skills {
  padding: clamp(80px, 9vw, 120px) 0 40px;
  background: linear-gradient(180deg, #090717, #120d29 25%, #120d29 75%, #0e0a20);
}
.lc-skills-head {
  text-align: center;
  margin-bottom: 40px;
}
.lc-skills-head .ba-label {
  justify-content: center;
}
.lc-fold {
  width: min(var(--max), calc(100% - 34px));
  margin: 0 auto;
}
.lc-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.lc-panel {
  display: contents;
}
.lc-face {
  position: relative;
  color: var(--ink);
  background: linear-gradient(180deg, #fffdfd, #f3effe);
  border: 1px solid #ddd4f4;
  border-radius: 4px;
  padding: 30px 26px 34px;
  box-shadow: 0 30px 60px -30px #000d;
}
.lc-back,
.lc-fold-shadow {
  display: none;
}
.lc-panel-num {
  position: absolute;
  right: 20px;
  top: 14px;
  font: 800 64px/1 var(--display);
  letter-spacing: -0.06em;
  color: rgba(121, 93, 224, 0.12);
}
.lc-icon {
  width: 64px;
  height: 64px;
  overflow: visible;
  margin-bottom: 18px;
}
.lc-icon path {
  fill: none;
  stroke: var(--ink-accent);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1 2;
  stroke-dashoffset: calc(1.01 - var(--ic, 1) * 1.01);
}
.lc-face .mini-label {
  display: block;
  color: var(--ink-accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.8px;
}
.lc-face h3 {
  font: 800 clamp(24px, 2.2vw, 32px) / 1.1 var(--display);
  letter-spacing: -0.03em;
  color: #3e2a7a;
  margin: 10px 0 12px;
}
.lc-face p {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  color: #4b3f6e;
}
.js-motion:not(.ba-cinema) .lc-front {
  transform-origin: 50% 0;
  transition: transform 1s var(--ease-soft), opacity 0.7s var(--ease-out);
}
.js-motion:not(.ba-cinema) .lc-skills:not(.is-in) .lc-front {
  transform: perspective(900px) rotateX(-70deg);
  opacity: 0;
}
.lc-p2 .lc-front { transition-delay: 0.12s; }
.lc-p3 .lc-front { transition-delay: 0.24s; }
.lc-p4 .lc-front { transition-delay: 0.36s; }

.ba-cinema .lc-skills {
  padding: 0;
}
.ba-cinema .lc-track {
  height: 330vh;
}
.ba-cinema .lc-stage {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: var(--header);
}
.ba-cinema .lc-skills-head {
  margin-bottom: 9vh;
}
.ba-cinema .lc-fold {
  --W: min(23vw, 290px, calc((100vh - var(--header) - 260px) / 1.12));
  position: relative;
  height: calc(var(--W) * 1.12);
  perspective: 2600px;
}
.ba-cinema .lc-strip {
  z-index: 1;
  display: block;
  position: absolute;
  left: 50%;
  top: 0;
  width: var(--W);
  height: 100%;
  transform-style: preserve-3d;
}
.ba-cinema .lc-panel {
  display: block;
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  transform-origin: 0 50%;
}
.ba-cinema .lc-panel .lc-panel {
  left: 100%;
  right: auto;
  width: 100%;
}
.ba-cinema .lc-face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: 2px;
  box-shadow: none;
  overflow: hidden;
  padding: 11% 10%;
  container-type: inline-size;
}
.ba-cinema .lc-face::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(40, 26, 92, 0.32), rgba(40, 26, 92, 0.08));
  opacity: var(--sh, 0);
}
.ba-cinema .lc-p2 > .lc-face::after,
.ba-cinema .lc-p4 > .lc-face::after {
  background: linear-gradient(270deg, rgba(40, 26, 92, 0.32), rgba(40, 26, 92, 0.08));
}
.ba-cinema .lc-back {
  display: grid;
  place-items: center;
  transform: rotateY(180deg);
  background: radial-gradient(circle, #ffffff10 1px, transparent 1.5px) 0 0 / 14px 14px, linear-gradient(160deg, #5b4bc7, #403091 55%, #282063);
  border-color: #8c79d8;
}
.lc-back span {
  font: 800 72px/1 var(--display);
  letter-spacing: -0.08em;
  color: #ffffff22;
}
.lc-back span i {
  font-style: normal;
}
.ba-cinema .lc-front h3 {
  font-size: clamp(22px, 12cqw, 40px);
}
.ba-cinema .lc-front p {
  font-size: clamp(13px, 6cqw, 17px);
}
.ba-cinema .lc-icon {
  width: 26cqw;
  height: 26cqw;
}
.ba-cinema .lc-panel-num {
  font-size: 30cqw;
}
.ba-cinema .lc-fold-shadow {
  display: block;
  position: absolute;
  left: 50%;
  bottom: -40px;
  width: calc(var(--W) * 4.4 * var(--spread, 1));
  height: 50px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: rgba(3, 2, 13, 0.7);
  filter: blur(20px);
}

/* approach: passport stamps */
.lc-approach {
  padding: clamp(90px, 10vw, 150px) 0;
}
.lc-approach-grid {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 5vw;
  align-items: center;
}
.lc-approach-hand {
  font-size: 30px;
  color: var(--lav);
  margin: 6px 0 0;
  transition: opacity 0.8s 0.6s;
}
.js-motion .lc-approach-hand:not(.is-in) {
  opacity: 0;
}
.lc-passport {
  position: relative;
  border-radius: 10px;
  padding: clamp(28px, 4vw, 48px);
  background-image: radial-gradient(circle at 50% 50%, rgba(121, 93, 224, 0.06) 0 30%, transparent 31%), repeating-radial-gradient(circle at 100% 0, transparent 0 18px, rgba(167, 142, 213, 0.08) 18px 19px), linear-gradient(180deg, #fffdfd, #f3effe);
}
.lc-passport-kicker {
  display: block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 3px;
  color: var(--ink-2);
  margin-bottom: 24px;
}
.lc-stamps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px 18px;
}
.lc-stamp {
  display: grid;
  place-items: center;
  aspect-ratio: 1.15;
  --ink-c: #6d4fe0;
  color: var(--ink-c);
  transition: transform 0.45s cubic-bezier(0.2, 1.6, 0.45, 1) calc(0.35s + var(--k) * 0.32s), opacity 0.12s linear calc(0.35s + var(--k) * 0.32s);
}
.lc-stamp-in {
  position: relative;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 6px;
  width: 100%;
  height: 100%;
  padding: 14px;
  text-align: center;
  border: 3px solid currentColor;
  outline: 1.5px solid currentColor;
  outline-offset: -9px;
  mix-blend-mode: multiply;
}
.lc-stamp b {
  font: 800 22px/1 var(--display);
}
.lc-stamp span span {
  font: 800 12px/1.3 var(--display);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.lc-stamp.round .lc-stamp-in,
.lc-stamp.round2 .lc-stamp-in {
  border-radius: 50%;
  outline: none;
  box-shadow: inset 0 0 0 6px transparent, inset 0 0 0 7.5px currentColor;
}
.lc-stamp.rect .lc-stamp-in {
  border-radius: 10px;
}
.lc-stamp.hex .lc-stamp-in {
  border-radius: 30% 30% 30% 30% / 50% 50% 50% 50%;
}
.lc-stamp.oval .lc-stamp-in {
  border-radius: 50% / 40%;
  outline: none;
  border-style: double;
  border-width: 6px;
}
.lc-s1 { transform: rotate(-8deg); --ink-c: #6d4fe0; }
.lc-s2 { transform: rotate(6deg); --ink-c: #4587ff; }
.lc-s3 { transform: rotate(-4deg); --ink-c: #885aff; }
.lc-s4 { transform: rotate(9deg); --ink-c: #5b6ff0; grid-column: 1 / span 1; margin-left: 50%; }
.lc-s5 { transform: rotate(-10deg); --ink-c: #7855e8; margin-left: 50%; }
.js-motion .lc-passport:not(.is-in) .lc-stamp {
  transform: scale(1.8) rotate(-24deg);
  opacity: 0;
  transition-delay: 0s;
}
.lc-fine {
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px dashed rgba(121, 93, 224, 0.35);
  font-size: 13px;
  line-height: 1.8;
  color: #574b78;
}
.lc-fine strong {
  color: #3e2a7a;
}

/* who: statement */
.lc-who {
  padding: clamp(80px, 9vw, 130px) 0;
  background: #100d23;
}
.lc-statement {
  margin: 30px 0 0;
  max-width: 1100px;
  font: 800 clamp(30px, 4.2vw, 62px) / 1.18 var(--display);
  letter-spacing: -0.035em;
  color: #f0edff;
}
.lc-statement-line {
  display: block;
  width: min(520px, 70%);
  height: 24px;
  margin-top: 12px;
  color: var(--lav-2);
  stroke-width: 3;
  overflow: visible;
}

/* flexible study: tickets */
.lc-modes {
  padding: clamp(80px, 9vw, 130px) 0;
}
.lc-tickets {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  max-width: 1040px;
  margin: 0 auto;
}
.lc-ticket {
  display: grid;
  grid-template-columns: 1fr 86px;
  border-radius: 18px;
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.5));
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 0.35s var(--ease-out), opacity 0.8s var(--ease-out), translate 1s var(--ease-soft);
  --notch: radial-gradient(circle at 100% 0, transparent 14px, #000 14.5px) top right / 51% 51% no-repeat, radial-gradient(circle at 100% 100%, transparent 14px, #000 14.5px) bottom right / 51% 51% no-repeat, linear-gradient(#000, #000) left / 50% 100% no-repeat;
}
.lc-ticket:nth-child(2) {
  transition-delay: 0s, 0.15s, 0.15s;
}
.js-motion .lc-tickets:not(.is-in) .lc-ticket:first-child {
  opacity: 0;
  translate: -60px 0;
}
.js-motion .lc-tickets:not(.is-in) .lc-ticket:last-child {
  opacity: 0;
  translate: 60px 0;
}
.lc-ticket-main {
  position: relative;
  padding: clamp(26px, 3.4vw, 40px);
  background: linear-gradient(140deg, #f8f5ff, #e9e3fa);
  color: var(--ink);
  border-radius: 18px 0 0 18px;
  -webkit-mask: radial-gradient(circle at 100% 0, transparent 13px, #000 13.5px) top / 100% 51% no-repeat, radial-gradient(circle at 100% 100%, transparent 13px, #000 13.5px) bottom / 100% 51% no-repeat;
  mask: radial-gradient(circle at 100% 0, transparent 13px, #000 13.5px) top / 100% 51% no-repeat, radial-gradient(circle at 100% 100%, transparent 13px, #000 13.5px) bottom / 100% 51% no-repeat;
}
.lc-ticket-main::after {
  content: "";
  position: absolute;
  right: 0;
  top: 18px;
  bottom: 18px;
  border-right: 2px dashed rgba(121, 93, 224, 0.4);
}
.lc-ticket-kicker {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2.2px;
  color: var(--ink-2);
}
.lc-ticket h3 {
  font: 800 clamp(24px, 2.4vw, 32px) / 1.15 var(--display);
  letter-spacing: -0.025em;
  color: #3e2a7a;
  margin: 12px 0 10px;
}
.lc-ticket p {
  margin: 0;
  color: #4b3f6e;
  line-height: 1.85;
  font-size: 15px;
}
.lc-ticket-stub {
  display: grid;
  place-items: center;
  border-radius: 0 18px 18px 0;
  background: var(--btn-grad);
  -webkit-mask: radial-gradient(circle at 0 0, transparent 13px, #000 13.5px) top / 100% 51% no-repeat, radial-gradient(circle at 0 100%, transparent 13px, #000 13.5px) bottom / 100% 51% no-repeat;
  mask: radial-gradient(circle at 0 0, transparent 13px, #000 13.5px) top / 100% 51% no-repeat, radial-gradient(circle at 0 100%, transparent 13px, #000 13.5px) bottom / 100% 51% no-repeat;
}
.lc-ticket-stub span {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font: 800 14px/1 var(--display);
  letter-spacing: 4px;
  color: #fff;
}

/* CTA: envelope */
.lc-cta {
  padding: clamp(80px, 9vw, 130px) 0 clamp(110px, 12vw, 170px);
  background: radial-gradient(ellipse 60% 70% at 50% 80%, #2d205d66, transparent), #090717;
}
.lc-envelope {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 0 0;
}
.lc-env-back {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 260px;
  border-radius: 18px;
  background: linear-gradient(170deg, #3a2f6e, #261f4c 60%, #1a1534);
  border: 1px solid #ffffff1c;
  box-shadow: 0 50px 80px -40px #000e;
}
.lc-letter {
  position: relative;
  z-index: 2;
  margin: 0 clamp(16px, 5vw, 50px);
  padding: clamp(34px, 5vw, 60px) clamp(26px, 5vw, 60px) 230px;
  border-radius: 10px;
  color: var(--ink);
  background: repeating-linear-gradient(to bottom, transparent 0 35px, rgba(167, 142, 213, 0.16) 35px 36px) 0 0 / 100% 100%, linear-gradient(180deg, #fffdfd, #f1ecfc);
  box-shadow: 0 20px 50px -20px #0009;
  transition: transform 1.2s var(--ease-soft) 0.55s, opacity 0.7s var(--ease-out) 0.55s;
}
.js-motion .lc-envelope:not(.is-in) .lc-letter {
  transform: translateY(32%);
  opacity: 0;
  transition-delay: 0s;
}
.lc-letter .ba-label {
  color: var(--ink-2);
}
.lc-letter .ba-label::before {
  box-shadow: none;
}
.lc-letter .cp-h2 {
  color: #3e2a7a;
  max-width: 640px;
}
.lc-letter .ba-body {
  color: #4b3f6e;
  max-width: 520px;
}
.lc-letter .btn-outline {
  color: var(--ink);
  border-color: rgba(81, 56, 143, 0.4);
  background: transparent;
}
.lc-letter .btn-outline:hover {
  border-color: var(--ink);
}
.lc-env-front {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 200px;
  z-index: 3;
  border-radius: 0 0 18px 18px;
  background: linear-gradient(160deg, #4a3d86, #2b235b 60%, #1d1835);
  clip-path: polygon(0 0, 50% 62%, 100% 0, 100% 100%, 0 100%);
  display: grid;
  place-items: end center;
  pointer-events: none;
}
.lc-env-seal {
  margin-bottom: 30px;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 35% 30%, #a58aff, #6d4fe0 60%, #4a368c);
  font: 800 24px/1 var(--display);
  letter-spacing: -2px;
  color: #fff;
  box-shadow: 0 6px 14px #0007;
}
.lc-env-seal i {
  font-style: normal;
  color: #c9d3ff;
}
.lc-env-flap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 260px;
  height: 130px;
  z-index: 1;
  background: linear-gradient(0deg, #3a2f6e, #2b235b);
  clip-path: polygon(0 100%, 50% 0, 100% 100%);
  transform-origin: 50% 100%;
  transform: scaleY(1);
  transition: transform 0.6s var(--ease-io) 0.1s, z-index 0s linear 0.4s;
  pointer-events: none;
}
.js-motion .lc-envelope:not(.is-in) .lc-env-flap {
  transform: scaleY(-1);
  z-index: 4;
  transition-delay: 0s;
}

@media (max-width: 860px) {
  .lc-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .lc-approach-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .lc-tickets {
    grid-template-columns: 1fr;
  }
  .lc-hero-art {
    margin-bottom: 0;
  }
}
@media (max-width: 600px) {
  .lc-strip {
    grid-template-columns: 1fr;
  }
  .lc-stamps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
  .lc-s4, .lc-s5 {
    margin-left: 0;
    grid-column: auto;
  }
  .lc-s5 {
    grid-column: 1 / -1;
    width: 60%;
    margin: 0 auto;
  }
  .lc-stamp span span {
    font-size: 10px;
  }
  .lc-stamp b {
    font-size: 18px;
  }
  .lc-ticket {
    grid-template-columns: 1fr 58px;
  }
  .lc-letter .ba-actions .btn {
    width: 100%;
  }
  .lc-letter {
    padding-bottom: 200px;
  }
  .lc-env-front {
    height: 170px;
  }
  .lc-env-back {
    height: 220px;
  }
  .lc-env-flap {
    bottom: 220px;
    height: 90px;
  }
  .lc-hero-stamp {
    display: none;
  }
}

/* =====================================================================
   COMMUNICATIVE ENGLISH
   ===================================================================== */
.ce-skills {
  padding: clamp(90px, 10vw, 140px) 0;
  background: linear-gradient(180deg, #090717, #100d23 15%, #100d23 85%, #0c0a1d);
}
.ce-skills-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 6vw;
  align-items: start;
}
.ce-skills-sticky {
  position: sticky;
  top: calc(var(--header) + 60px);
}
.ce-mic {
  position: relative;
  width: 110px;
  height: 110px;
  margin-top: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--btn-grad);
  box-shadow: 0 20px 50px -10px #564befaa;
  transition: transform 0.8s cubic-bezier(0.3, 1.4, 0.5, 1) 0.3s, opacity 0.5s 0.3s;
}
.js-motion .ce-mic:not(.is-in) {
  transform: scale(0.4);
  opacity: 0;
  transition-delay: 0s;
}
.ce-mic svg {
  position: relative;
  width: 48px;
  height: 48px;
  fill: none;
  stroke: #fff;
  stroke-width: 2.6;
  stroke-linecap: round;
}
.ce-mic-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(189, 181, 255, 0.5);
  animation: ceRing 2.6s var(--ease-out) infinite;
}
.ce-mic-ring.r2 {
  animation-delay: 1.3s;
}
@keyframes ceRing {
  from { transform: scale(1); opacity: 0.9; }
  to { transform: scale(1.9); opacity: 0; }
}
.ce-thread {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: clamp(30px, 4vw, 50px);
}
.ce-msg {
  position: relative;
  display: flex;
  align-items: flex-end;
  gap: 14px;
  max-width: 88%;
}
.ce-r {
  margin-left: auto;
  flex-direction: row-reverse;
}
.ce-avatar {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font: 800 16px/1 var(--display);
  color: #fff;
  background: var(--cover);
  border: 1px solid #b6a5ff;
  box-shadow: 0 10px 20px #0006;
  transition: transform 0.5s var(--ease-soft), opacity 0.3s;
}
.ce-r .ce-avatar {
  background: #f8f5ff;
  color: var(--ink);
  font-size: 12px;
  border-color: #ddd4f4;
}
.ce-bubble {
  position: relative;
  padding: clamp(24px, 2.6vw, 34px) clamp(24px, 3vw, 38px);
  border-radius: 30px 30px 30px 8px;
  background: #f8f5ff;
  color: var(--ink);
  box-shadow: 0 30px 50px -26px #000d;
  transform-origin: 0 100%;
  transition: transform 0.7s var(--ease-soft) 0.95s, opacity 0.35s 0.95s;
}
.ce-r .ce-bubble {
  border-radius: 30px 30px 8px 30px;
  background: linear-gradient(135deg, #5b4bc7, #403091 70%);
  color: #fff;
  transform-origin: 100% 100%;
}
.ce-bubble .mini-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.8px;
  color: var(--ink-accent);
}
.ce-r .ce-bubble .mini-label {
  color: #cfc6ff;
}
.ce-bubble h3 {
  font: 800 clamp(24px, 2.4vw, 34px) / 1.12 var(--display);
  letter-spacing: -0.03em;
  margin: 8px 0 10px;
  color: #3e2a7a;
}
.ce-r .ce-bubble h3 {
  color: #fff;
}
.ce-bubble p {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  color: #4b3f6e;
}
.ce-r .ce-bubble p {
  color: #e2dcff;
}
.ce-typing {
  position: absolute;
  bottom: 4px;
  left: 60px;
  display: flex;
  gap: 5px;
  padding: 14px 16px;
  border-radius: 20px;
  background: #2b235b;
  border: 1px solid #ffffff1c;
  opacity: 0;
  pointer-events: none;
}
.ce-r .ce-typing {
  left: auto;
  right: 60px;
}
.ce-typing i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lav-3);
  animation: illDots 0.9s ease-in-out infinite;
}
.ce-typing i:nth-child(2) { animation-delay: 0.15s; }
.ce-typing i:nth-child(3) { animation-delay: 0.3s; }
.js-motion .ce-msg.is-in .ce-typing {
  animation: illTyping 1s var(--ease-out) 0.15s both;
}
.js-motion .ce-msg:not(.is-in) .ce-bubble {
  transform: scale(0.5) translateY(20px);
  opacity: 0;
  transition-delay: 0s;
}
.js-motion .ce-msg:not(.is-in) .ce-avatar {
  transform: scale(0);
  opacity: 0;
}
.ce-wave {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 34px;
  margin-top: 16px;
}
.ce-wave i {
  width: 4px;
  height: 40%;
  border-radius: 4px;
  background: #cfc6ff;
  animation: illWave 1s ease-in-out infinite alternate;
  animation-delay: calc(var(--k) * -0.11s);
}
.ce-wave i:nth-child(3n) { height: 90%; }
.ce-wave i:nth-child(4n) { height: 65%; }
.ce-wave i:nth-child(5n) { height: 25%; }
.ce-scenes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 20px;
}
.ce-scenes > span {
  display: grid;
  justify-items: center;
  gap: 6px;
  padding: 12px 6px 10px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.6px;
  color: #e2dcff;
  transition: background 0.3s, transform 0.4s var(--ease-soft);
}
.ce-scenes > span:hover {
  background: rgba(255, 255, 255, 0.16);
  transform: translateY(-4px);
}
.ce-scenes svg {
  width: 34px;
  height: 34px;
  overflow: visible;
}
.ce-scenes path {
  fill: none;
  stroke: #cfc6ff;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1 2;
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 0.9s var(--ease-io) calc(1.6s + var(--j, 0) * 0.15s);
}
.ce-scenes > span:nth-child(2) { --j: 1; }
.ce-scenes > span:nth-child(3) { --j: 2; }
.ce-scenes > span:nth-child(4) { --j: 3; }
.js-motion .ce-msg:not(.is-in) .ce-scenes path {
  stroke-dashoffset: 1.01;
  transition-delay: 0s;
}

/* who: floating voices */
.ce-who {
  padding: clamp(80px, 9vw, 130px) 0;
  overflow: hidden;
}
.ce-pops {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  position: relative;
  max-width: 980px;
  height: 430px;
}
.ce-pop {
  position: absolute;
  transition: transform 0.8s cubic-bezier(0.3, 1.45, 0.5, 1) calc(0.2s + var(--k) * 0.18s), opacity 0.3s calc(0.2s + var(--k) * 0.18s);
}
.ce-pop span {
  display: block;
  padding: 20px 28px 22px;
  border-radius: 34px 34px 34px 10px;
  font: 800 clamp(18px, 2vw, 26px) / 1.25 var(--display);
  letter-spacing: -0.02em;
  background: #f8f5ff;
  color: #3e2a7a;
  box-shadow: 0 30px 50px -26px #000d;
  animation: cePopFloat 6s ease-in-out infinite;
  animation-delay: calc(var(--k) * -1.4s);
}
.ce-pop.p1 { left: 4%; top: 10%; }
.ce-pop.p2 { right: 8%; top: 0; }
.ce-pop.p2 span { background: var(--btn-grad); color: #fff; border-radius: 34px 34px 10px 34px; }
.ce-pop.p3 { left: 8%; top: 46%; }
.ce-pop.p3 span { background: linear-gradient(135deg, #5b4bc7, #403091 70%); color: #fff; }
.ce-pop.p4 { right: 0; top: 70%; max-width: 440px; }
.ce-pop.p4 span { border-radius: 34px 34px 10px 34px; font-size: clamp(16px, 1.6vw, 21px); }
@keyframes cePopFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.js-motion .ce-pops:not(.is-in) .ce-pop {
  transform: scale(0.3);
  opacity: 0;
  transition-delay: 0s;
}

/* approach: volume meter */
.ce-approach {
  padding: clamp(80px, 9vw, 130px) 0;
  background: radial-gradient(ellipse 50% 60% at 75% 60%, rgba(45, 32, 93, 0.5), transparent 70%), #0c0a1d;
}
.ce-approach-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 6vw;
  align-items: end;
}
.ce-meter {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  align-items: end;
}
.ce-meter li {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
}
.ce-bar {
  position: relative;
  display: block;
  height: calc(90px + var(--k) * 64px);
  border-radius: 16px;
  background: rgba(221, 215, 255, 0.06);
  border: 1px solid var(--line-soft);
  overflow: hidden;
}
.ce-bar i {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: repeating-linear-gradient(to top, transparent 0 10px, rgba(9, 7, 23, 0.35) 10px 13px), linear-gradient(0deg, #456ff0, #7855e8 60%, #bdb5ff);
  transform-origin: 50% 100%;
  transition: transform 1.1s var(--ease-io) calc(0.2s + var(--k) * 0.22s);
}
.js-motion .ce-meter:not(.is-in) .ce-bar i {
  transform: scaleY(0);
  transition-delay: 0s;
}
.ce-meter b {
  font: 800 12px/1 var(--display);
  letter-spacing: 1.4px;
  color: var(--lav);
  margin-top: 8px;
}
.ce-bar-label {
  font: 700 15px/1.35 var(--display);
  color: #f0edff;
  min-height: 4.05em;
}
.ce-level {
  margin-top: 30px;
  padding: 26px;
  border-radius: 20px;
  background: linear-gradient(145deg, #27223e, #171428 70%);
  border: 1px solid var(--line-soft);
}
.ce-level-note {
  margin: 0 0 22px;
  color: #c8c2e0;
  font-size: 14px;
  line-height: 1.8;
}
.ce-level-note strong {
  color: #fff;
}
.ce-level-ctl {
  --lv: 0;
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding-top: 26px;
}
.ce-level-track {
  position: absolute;
  left: 16.66%;
  right: 16.66%;
  top: 8px;
  height: 4px;
  border-radius: 4px;
  background: rgba(221, 215, 255, 0.12);
}
.ce-level-track i {
  position: absolute;
  inset: 0 auto 0 0;
  width: calc(var(--lv) * 50%);
  border-radius: 4px;
  background: linear-gradient(90deg, #456ff0, #885aff);
  transition: width 0.6s var(--ease-soft);
}
.ce-level-track::after {
  content: "";
  position: absolute;
  top: 50%;
  left: calc(var(--lv) * 50%);
  width: 22px;
  height: 22px;
  margin: -11px 0 0 -11px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 5px rgba(136, 90, 255, 0.4), 0 6px 14px #0008;
  transition: left 0.6s var(--ease-soft);
}
.ce-level-ctl button {
  border: 0;
  background: none;
  color: #8d88a8;
  font-weight: 800;
  font-size: 13px;
  padding: 8px 4px;
  transition: color 0.3s;
}
.ce-level-ctl button[aria-checked="true"] {
  color: #fff;
}

/* flexible study: dialogue */
.ce-modes {
  padding: clamp(80px, 9vw, 130px) 0;
}
.ce-dialogue {
  display: grid;
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}
.ce-say {
  max-width: 560px;
  padding: clamp(26px, 3.4vw, 40px);
  border-radius: 34px 34px 34px 10px;
  background: #f8f5ff;
  color: var(--ink);
  box-shadow: 0 30px 50px -26px #000d;
  transition: transform 0.8s var(--ease-soft), opacity 0.6s var(--ease-out);
}
.ce-say-r {
  margin-left: auto;
  border-radius: 34px 34px 10px 34px;
  background: var(--btn-grad);
  color: #fff;
  transition-delay: 0.35s;
}
.js-motion .ce-dialogue:not(.is-in) .ce-say-l {
  transform: translateX(-50px) scale(0.92);
  opacity: 0;
}
.js-motion .ce-dialogue:not(.is-in) .ce-say-r {
  transform: translateX(50px) scale(0.92);
  opacity: 0;
  transition-delay: 0s;
}
.ce-say h3 {
  font: 800 clamp(24px, 2.4vw, 32px) / 1.15 var(--display);
  letter-spacing: -0.02em;
  margin: 0 0 10px;
  color: #3e2a7a;
}
.ce-say-r h3 {
  color: #fff;
}
.ce-say p {
  margin: 0;
  line-height: 1.85;
  color: #4b3f6e;
}
.ce-say-r p {
  color: #eef0ff;
}

/* CTA */
.ce-cta {
  padding: clamp(50px, 7vw, 100px) 0 clamp(110px, 12vw, 170px);
  background: radial-gradient(ellipse 60% 70% at 50% 80%, #2d205d66, transparent), #090717;
}
.ce-cta-wrap {
  filter: drop-shadow(0 40px 50px rgba(0, 0, 0, 0.55));
}
.ce-cta-bubble {
  position: relative;
  max-width: 980px;
  margin: 0 auto;
  border-radius: 44px 44px 44px 14px;
  background: linear-gradient(110deg, #5b4bc7, #403091 55%, #282063);
  padding: clamp(40px, 6vw, 76px) clamp(28px, 6vw, 80px);
  clip-path: inset(0 0 0 0 round 44px 44px 44px 14px);
}
.ce-cta-bubble::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background-image: radial-gradient(#ffffff26 1px, transparent 1px);
  background-size: 36px 36px;
  opacity: 0.5;
  pointer-events: none;
}
.ce-cta-body {
  position: relative;
  transition: opacity 0.7s var(--ease-out) 1.35s, transform 0.9s var(--ease-soft) 1.35s;
}
.ce-cta-body .ba-label { color: #ede8ff; }
.ce-cta-body .ba-body { color: #e2dcff; max-width: 520px; }
.ce-cta-body .cp-h2 { max-width: 700px; }
.ce-cta-body .btn-outline { border-color: #ffffff55; }
.ce-cta-typing {
  position: absolute;
  left: 38px;
  bottom: 28px;
  display: flex;
  gap: 8px;
  opacity: 0;
}
.ce-cta-typing i {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #cfc6ff;
  animation: illDots 0.9s ease-in-out infinite;
}
.ce-cta-typing i:nth-child(2) { animation-delay: 0.15s; }
.ce-cta-typing i:nth-child(3) { animation-delay: 0.3s; }
.js-motion .ce-cta-bubble:not(.is-in) {
  clip-path: inset(calc(100% - 68px) calc(100% - 132px) 0 0 round 34px 34px 34px 12px);
}
.js-motion .ce-cta-bubble:not(.is-in) .ce-cta-body {
  opacity: 0;
  transform: translateY(18px);
  transition-delay: 0s;
}
.js-motion .ce-cta-bubble.is-in {
  animation: ceGrow 1.6s var(--ease-io) both;
}
.js-motion .ce-cta-bubble.is-in .ce-cta-typing {
  animation: ceTypingOut 1.3s linear both;
}
@keyframes ceGrow {
  0%, 50% { clip-path: inset(calc(100% - 68px) calc(100% - 132px) 0 0 round 34px 34px 34px 12px); }
  100% { clip-path: inset(0 0 0 0 round 44px 44px 44px 14px); }
}
@keyframes ceTypingOut {
  0% { opacity: 0; }
  8%, 70% { opacity: 1; }
  100% { opacity: 0; }
}

@media (max-width: 860px) {
  .ce-skills-grid,
  .ce-approach-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .ce-skills-sticky {
    position: static;
  }
  .ce-mic {
    display: none;
  }
  .ce-pops {
    height: auto;
    display: grid;
    gap: 14px;
  }
  .ce-pop {
    position: static;
    max-width: none !important;
  }
  .ce-pop:nth-child(even) {
    justify-self: end;
  }
  .ce-bar {
    height: calc(70px + var(--k) * 50px);
  }
}
@media (max-width: 600px) {
  .ce-msg {
    max-width: 100%;
  }
  .ce-avatar {
    width: 36px;
    height: 36px;
    font-size: 13px;
  }
  .ce-r .ce-avatar {
    font-size: 10px;
  }
  .ce-scenes {
    grid-template-columns: repeat(2, 1fr);
  }
  .ce-meter {
    gap: 8px;
  }
  .ce-bar {
    height: calc(50px + var(--k) * 40px);
  }
  .ce-bar-label {
    font-size: 12px;
  }
  .ce-cta-body .ba-actions .btn {
    width: 100%;
  }
}

/* =====================================================================
   INTERVIEW PREPARATION
   ===================================================================== */
.ip-hero-art {
  position: relative;
}
.ip-lamp {
  position: absolute;
  left: 50%;
  top: -14%;
  width: 70%;
  height: 90%;
  transform: translateX(-40%);
  background: radial-gradient(ellipse 50% 60% at 50% 0%, rgba(189, 181, 255, 0.22), transparent 70%);
  clip-path: polygon(40% 0, 60% 0, 100% 100%, 0 100%);
  filter: blur(6px);
  opacity: 0;
  transition: opacity 1.4s var(--ease-out) 0.3s;
  pointer-events: none;
}
.ip-hero.is-in .ip-lamp,
html:not(.js-motion) .ip-lamp {
  opacity: 1;
}

/* the deck */
.ip-skills {
  padding: clamp(80px, 9vw, 120px) 0 40px;
  background: linear-gradient(180deg, #090717, #100d23 20%, #100d23 80%, #0c0a1d);
}
.ip-grid {
  display: block;
}
.ip-index {
  display: none;
}
.ip-deck {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 30px;
}
.ip-card {
  order: var(--k);
  position: relative;
  padding: 26px 28px 30px;
  border-radius: 10px;
  color: var(--ink);
  background: repeating-linear-gradient(to bottom, transparent 0 31px, rgba(167, 142, 213, 0.26) 31px 32px) 0 64px / 100% calc(100% - 64px) no-repeat, linear-gradient(180deg, #fffdfd, #f6f2ff);
  border: 1px solid #ddd4f4;
  box-shadow: 0 30px 60px -30px #000d;
  transition: opacity 0.7s var(--ease-out), transform 0.9s var(--ease-soft);
}
.ip-card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 52px;
  height: 2px;
  background: rgba(136, 90, 255, 0.45);
}
.ip-card-kicker {
  display: block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--ink-2);
  margin-bottom: 30px;
}
.ip-card .mini-label {
  display: block;
  color: var(--ink-accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.8px;
}
.ip-card h3 {
  margin: 10px 0 12px;
  font: 800 clamp(24px, 2.4vw, 34px) / 1.15 var(--display);
  letter-spacing: -0.03em;
  color: #3e2a7a;
}
.ip-mark {
  background: linear-gradient(transparent 58%, rgba(189, 181, 255, 0.75) 58%, rgba(189, 181, 255, 0.75) 92%, transparent 92%) no-repeat 0 0 / calc(var(--hl, 1) * 100%) 100%;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  padding: 0 4px;
  margin: 0 -4px;
}
.ip-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.85;
  color: #4b3f6e;
}
.ip-card-lines {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}
.ip-card-lines i {
  height: 0;
}
.js-motion:not(.ba-cinema) .ip-skills:not(.is-in) .ip-card {
  opacity: 0;
  transform: translateY(40px) rotate(-2deg);
}
/* cinema: pinned deck, cards thrown aside one by one */
.ba-cinema .ip-skills {
  padding: 0;
}
.ba-cinema .ip-track {
  height: 380vh;
}
.ba-cinema .ip-stage {
  display: flex;
  align-items: center;
  padding-top: var(--header);
}
.ba-cinema .ip-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 6vw;
  align-items: center;
}
.ba-cinema .ip-index {
  list-style: none;
  display: grid;
  gap: 4px;
  padding: 0;
  margin: 30px 0 0;
}
.ip-index li {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-soft);
  font: 700 17px/1.3 var(--display);
  color: #6f6a8c;
  transition: color 0.35s, padding-left 0.45s var(--ease-soft);
}
.ip-index li b {
  font-size: 12px;
  letter-spacing: 1.4px;
  color: inherit;
}
.ip-index li.is-on {
  color: #fff;
  padding-left: 14px;
}
.ip-index li.is-done {
  color: #a8a2c6;
}
.ip-index li.is-on b {
  color: var(--lav);
}
.ba-cinema .ip-deck {
  position: relative;
  display: block;
  height: min(440px, calc(100vh - var(--header) - 140px));
  margin: 0;
  perspective: 1600px;
}
.ba-cinema .ip-card {
  position: absolute;
  inset: 0;
  padding: clamp(28px, 3vw, 44px);
  transform-origin: 50% 120%;
  transition: none;
  will-change: transform;
  background: repeating-linear-gradient(to bottom, transparent 0 39px, rgba(167, 142, 213, 0.26) 39px 40px) 0 84px / 100% calc(100% - 84px) no-repeat, linear-gradient(180deg, #fffdfd, #f6f2ff);
}
.ba-cinema .ip-card::before {
  top: 70px;
}
.ba-cinema .ip-card h3 {
  font-size: clamp(30px, 3.4vw, 50px);
  margin: 18px 0 18px;
}
.ba-cinema .ip-card p {
  font-size: clamp(16px, 1.35vw, 20px);
  line-height: 2;
}
.ba-cinema .ip-card-kicker {
  margin-bottom: 40px;
}

/* approach: clipboard agenda */
.ip-approach {
  padding: clamp(90px, 10vw, 140px) 0;
}
.ip-approach-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 6vw;
  align-items: center;
}
.ip-approach-hand {
  font-size: 30px;
  color: var(--lav);
  margin: 6px 0 0;
  transition: opacity 0.8s 0.6s;
}
.js-motion .ip-approach-hand:not(.is-in) {
  opacity: 0;
}
.ip-clipboard {
  position: relative;
  padding: 34px 22px 22px;
  border-radius: 22px;
  background: linear-gradient(160deg, #3a3563, #1d1835);
  border: 1px solid #8880bc55;
  box-shadow: 0 50px 80px -40px #000e, inset 0 1px 1px #ffffff30;
  transform: rotate(1.5deg);
  transition: transform 1.1s var(--ease-soft), opacity 0.8s var(--ease-out);
}
.js-motion .ip-clipboard:not(.is-in) {
  transform: translateY(60px) rotate(6deg);
  opacity: 0;
}
.ip-clip {
  position: absolute;
  left: 50%;
  top: -18px;
  width: 150px;
  height: 46px;
  margin-left: -75px;
  border-radius: 12px 12px 8px 8px;
  background: linear-gradient(180deg, #f4f1ff, #cfc6ef 55%, #a59cd6);
  box-shadow: 0 8px 16px #0007, inset 0 -3px 0 #8f84c8;
  z-index: 2;
}
.ip-clip::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -10px;
  width: 50px;
  height: 22px;
  margin-left: -25px;
  border-radius: 12px 12px 0 0;
  border: 5px solid #cfc6ef;
  border-bottom: 0;
}
.ip-sheet {
  position: relative;
  padding: clamp(30px, 4vw, 48px) clamp(22px, 3.4vw, 44px);
  border-radius: 6px;
  color: var(--ink);
  background: linear-gradient(180deg, #fffdfd, #f3effe);
}
.ip-sheet-kicker {
  display: block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 3px;
  color: var(--ink-2);
  margin-bottom: 20px;
}
.ip-agenda {
  list-style: none;
  margin: 0;
  padding: 0;
}
.ip-agenda li {
  display: grid;
  grid-template-columns: 54px 1fr;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid rgba(167, 142, 213, 0.35);
}
.ip-time {
  font: 800 14px/1 var(--display);
  letter-spacing: 1.4px;
  color: var(--ink-accent);
}
.ip-hl {
  justify-self: start;
  font: 700 clamp(17px, 1.7vw, 23px) / 1.35 var(--display);
  letter-spacing: -0.015em;
  color: #3e2a7a;
  padding: 2px 8px;
  margin-left: -8px;
  background: linear-gradient(100deg, rgba(189, 181, 255, 0.15), rgba(189, 181, 255, 0.85) 6%, rgba(159, 145, 255, 0.7) 94%, rgba(159, 145, 255, 0.2)) no-repeat 0 60% / 100% 70%;
  border-radius: 4px 10px 6px 12px;
  transition: background-size 0.75s var(--ease-io) calc(0.6s + var(--k) * 0.5s);
}
.js-motion .ip-clipboard:not(.is-in) .ip-hl {
  background-size: 0% 70%;
  transition-delay: 0s;
}
.ip-fine {
  margin-top: 22px;
  font-size: 13px;
  line-height: 1.8;
  color: #574b78;
}
.ip-fine strong {
  color: #3e2a7a;
}

/* who: tent cards */
.ip-who {
  padding: clamp(80px, 9vw, 130px) 0;
  background: radial-gradient(ellipse 60% 60% at 50% 70%, rgba(45, 32, 93, 0.5), transparent 70%), #0c0a1d;
}
.ip-table {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  padding-bottom: 40px;
  perspective: 1200px;
}
.ip-table-top {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 70px;
  border-radius: 50% / 100% 100% 30% 30%;
  background: linear-gradient(180deg, #2b235b, #17132e);
  box-shadow: inset 0 2px 0 #ffffff1c;
  transform: perspective(600px) rotateX(55deg);
  transform-origin: 50% 100%;
}
.ip-tents {
  position: relative;
  z-index: 1;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  align-items: end;
}
.ip-tent {
  transform-origin: 50% 100%;
  transition: transform 0.9s cubic-bezier(0.3, 1.35, 0.5, 1) calc(0.25s + var(--k) * 0.16s), opacity 0.3s calc(0.25s + var(--k) * 0.16s);
}
.ip-tent-face {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  min-height: 150px;
  padding: 22px 20px;
  border-radius: 8px 8px 2px 2px;
  background: linear-gradient(180deg, #fffdfd, #ece6fb);
  border-top: 6px solid #885aff;
  box-shadow: 0 22px 30px -16px #000c, 0 6px 0 -2px #c9bde8;
  color: #3e2a7a;
  text-align: center;
}
.ip-tent:nth-child(2) .ip-tent-face { border-top-color: #4587ff; }
.ip-tent:nth-child(3) .ip-tent-face { border-top-color: #9f91ff; }
.ip-tent:nth-child(4) .ip-tent-face { border-top-color: #719aff; }
.ip-tent small {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--ink-2);
}
.ip-tent b {
  font: 800 clamp(17px, 1.6vw, 22px) / 1.25 var(--display);
  letter-spacing: -0.02em;
}
.js-motion .ip-table:not(.is-in) .ip-tent {
  transform: rotateX(-88deg);
  opacity: 0.2;
  transition-delay: 0s;
}

/* flexible study: invites */
.ip-modes {
  padding: clamp(80px, 9vw, 130px) 0;
}
.ip-invites {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  max-width: 1040px;
  margin: 0 auto;
}
.ip-invite {
  display: flex;
  gap: 22px;
  align-items: flex-start;
  padding: clamp(26px, 3.4vw, 40px);
  border-radius: 24px;
  background: linear-gradient(137deg, #29243e, #1a172d 55%, #141128);
  border: 1px solid #aaa4c254;
  border-left: 5px solid #885aff;
  box-shadow: inset 0 1px 1px #ffffff20, 0 30px 60px -30px #000c;
  transition: transform 0.9s var(--ease-soft) var(--d2, 0s), opacity 0.7s var(--ease-out) var(--d2, 0s), border-color 0.3s;
}
.ip-invite:nth-child(2) {
  border-left-color: #4587ff;
}
.ip-invite:hover {
  border-color: #a193fd7d;
}
.js-motion .ip-invites:not(.is-in) .ip-invite {
  transform: translateY(40px);
  opacity: 0;
  transition-delay: 0s;
}
.ip-invite-icon {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: #ffffff10;
  border: 1px solid #ffffff20;
}
.ip-invite-icon svg {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: var(--lav-3);
  stroke-width: 2.6;
  stroke-linejoin: round;
}
.ip-invite-kicker {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2px;
  color: #8d88a8;
}
.ip-invite h3 {
  font: 800 clamp(22px, 2.2vw, 30px) / 1.15 var(--display);
  letter-spacing: -0.02em;
  margin: 8px 0 10px;
}
.ip-invite p {
  margin: 0;
  color: #aaa5c1;
  line-height: 1.85;
}

/* CTA: door */
.ip-cta {
  padding: clamp(50px, 7vw, 100px) 0 clamp(110px, 12vw, 170px);
  background: radial-gradient(ellipse 60% 70% at 50% 80%, #2d205d66, transparent), #090717;
}
.ip-doorway {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  perspective: 2000px;
  border-radius: 26px;
}
.ip-room {
  position: relative;
  border-radius: 26px;
  padding: clamp(40px, 6vw, 80px) clamp(28px, 6vw, 80px);
  background: radial-gradient(ellipse 70% 90% at 0% 50%, rgba(189, 181, 255, 0.18), transparent 60%), linear-gradient(145deg, #27223e, #171428 70%);
  border: 1px solid var(--line-soft);
  overflow: hidden;
}
.ip-room > * {
  position: relative;
  transition: opacity 0.8s var(--ease-out) 0.9s, transform 1s var(--ease-soft) 0.9s;
}
.js-motion .ip-doorway:not(.is-in) .ip-room > * {
  opacity: 0;
  transform: translateX(-24px);
  transition-delay: 0s;
}
.ip-room .ba-body {
  max-width: 520px;
}
.ip-room .cp-h2 {
  max-width: 680px;
}
.ip-door {
  position: absolute;
  inset: 0;
  border-radius: 26px;
  background: linear-gradient(110deg, #5b4bc7, #403091 55%, #282063);
  box-shadow: inset 0 0 0 1px #ffffff22, 0 40px 60px -30px #000c;
  transform-origin: 0 50%;
  transform: rotateY(-104deg);
  opacity: 0;
  transition: transform 1.5s var(--ease-io) 0.15s, opacity 0.4s linear 1.25s;
  pointer-events: none;
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 18px;
  padding: 28px;
}
.js-motion .ip-doorway:not(.is-in) .ip-door {
  transform: rotateY(0deg);
  opacity: 1;
  transition: transform 0.5s var(--ease-io), opacity 0s;
}
html:not(.js-motion) .ip-door {
  display: none;
}
.ip-door-panel {
  border-radius: 14px;
  border: 1px solid #ffffff22;
  box-shadow: inset 0 2px 0 #ffffff14, inset 0 -6px 12px #0003;
}
.ip-door-sign {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  padding: 10px 22px;
  border-radius: 6px;
  background: #f8f5ff;
  color: var(--ink);
  font: 800 30px/1 var(--display);
  letter-spacing: -2px;
  box-shadow: 0 8px 16px #0006;
}
.ip-door-sign i {
  font-style: normal;
  color: var(--sky);
}
.ip-door-knob {
  position: absolute;
  right: 40px;
  top: 50%;
  width: 22px;
  height: 22px;
  margin-top: -11px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff, #cfc6ef 50%, #8f84c8);
  box-shadow: 0 4px 10px #0007;
}
.ip-light {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 60%;
  border-radius: 26px 0 0 26px;
  background: linear-gradient(90deg, rgba(196, 178, 255, 0.25), transparent);
  pointer-events: none;
  opacity: 0;
}
.ip-doorway.is-in .ip-light {
  animation: ipLight 2.2s var(--ease-out) 0.4s both;
}
@keyframes ipLight {
  0% { opacity: 0; }
  40% { opacity: 1; }
  100% { opacity: 0; }
}

@media (max-width: 860px) {
  .ip-approach-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .ip-tents {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px 14px;
  }
  .ip-table-top {
    display: none;
  }
  .ip-invites {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 600px) {
  .ip-deck {
    grid-template-columns: 1fr;
  }
  .ip-invite {
    flex-direction: column;
  }
  .ip-tent-face {
    min-height: 120px;
    padding: 18px 12px;
  }
  .ip-room .ba-actions .btn {
    width: 100%;
  }
  .ip-door-knob {
    right: 20px;
  }
}
.pt-switch:not(.is-enhanced) .pt-switch-bar {
  display: none;
}
