/* =========================================================
   Victoria Adult English — V3 "Signage" design system
   Pale stone surfaces · sign cyan · sophisticated rose · deep navy
   ========================================================= */

@font-face {
  font-family: "Pretendard Variable";
  src: url("../assets/fonts/PretendardVariable.woff2") format("woff2-variations"),
       url("../assets/fonts/PretendardVariable.woff2") format("woff2");
  font-weight: 45 920;
  font-style: normal;
  font-display: swap;
}

:root {
  /* constants (taken from the building sign / facade photo) */
  --ink: #0b2236;            /* deep navy: dark surfaces, text on cyan */
  --volt: #0bb7f4;           /* sign cyan: primary action / highlight fill */
  --volt-2: #079fd6;
  --violet: #a3375d;         /* rose deep: fills that carry white text */
  --rose: #c4567e;           /* sign lettering rose */
  --rose-soft: #f1c7d6;
  --cyan-soft: #bfeaf9;
  --pink: #e0516f;           /* error marker */
  --stone: #cbd1dd;          /* facade stone */
  --violet-deep: #a3375d;
  --on-frost: #0b2236;
  --on-frost-muted: #475869;

  /* light context (default) */
  --fg-rgb: 11, 34, 54;
  --bg: #f3f4f6;
  --ink-2: #ffffff;
  --ink-3: #f8f9fb;
  --ink-4: #eef1f4;
  --line: rgba(var(--fg-rgb), 0.1);
  --line-2: rgba(var(--fg-rgb), 0.18);
  --text: #0b2236;
  --on-text: #ffffff;
  --muted: #475869;
  --dim: #5b6b7c;
  --violet-hi: #a3375d;      /* rose used as text / selection outline */
  --accent-text: #06688f;    /* cyan family, AA on light */
  --focus: #06688f;
  --err-text: #b4233f;
  --field-bg: #ffffff;
  --grad: linear-gradient(100deg, #06688f 0%, #2a5f9e 45%, #a3375d 100%);

  --frost: #e8ebef;
  --frost-2: #dde2e8;

  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", "Segoe UI", system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", "Cascadia Code", Consolas, "D2Coding", monospace;

  --r-s: 10px;
  --r-m: 16px;
  --r-l: 24px;
  --r-xl: 32px;

  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --nav-h: 68px;
}

/* dark (navy) context: sections and components that sit on deep navy */
.dark, .composer, .final, .plan--feature, dialog.resume, .truth, .dnote, .dcard__art {
  --fg-rgb: 255, 255, 255;
  --line: rgba(255, 255, 255, 0.1);   /* redeclared: custom props resolve where declared */
  --line-2: rgba(255, 255, 255, 0.18);
  --ink-2: #112b44;
  --ink-3: #17344f;
  --ink-4: #1d3d5b;
  --text: #eef3f8;
  --on-text: #0b2236;
  --muted: #a9b9ca;
  --dim: #8a9db1;
  --violet-hi: #f2a9c5;
  --accent-text: #5fd3fb;
  --focus: #5fd3fb;
  --err-text: #ffa3b5;
  --field-bg: rgba(0, 0, 0, 0.25);
  --grad: linear-gradient(100deg, #5fd3fb 0%, #9fc8ff 45%, #f2a9c5 100%);
  color: var(--text);
}
.dark { background: var(--ink); }

*, *::before, *::after { box-sizing: border-box; }

html {
  overflow-x: clip; /* Keep angled decorative bands within the viewport. */
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  font-feature-settings: "ss05", "tnum" 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  word-break: keep-all;
  overflow-wrap: break-word;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }

::selection { background: var(--volt); color: var(--ink); }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 6px;
}

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip {
  position: fixed;
  top: 12px; left: 12px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--volt);
  color: var(--ink);
  font-weight: 700;
  border-radius: 999px;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform .2s var(--ease);
}
.skip:focus { transform: none; }

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- type ---------- */
.mono {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 2px;
  background: var(--volt);
  box-shadow: 0 0 0 4px rgba(11, 183, 244, 0.14);
}
.frost .eyebrow { color: var(--on-frost-muted); }
.frost .eyebrow::before, .eyebrow--rose::before { background: var(--rose); box-shadow: 0 0 0 4px rgba(196, 86, 126, 0.16); }

.display {
  font-weight: 820;
  letter-spacing: -0.045em;
  line-height: 1.02;
  font-size: clamp(2.75rem, 7.4vw, 6.75rem);
}
.h2 {
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.06;
  font-size: clamp(2.1rem, 4.8vw, 4.1rem);
}
.h3 {
  font-weight: 760;
  letter-spacing: -0.03em;
  line-height: 1.15;
  font-size: clamp(1.35rem, 2.1vw, 1.75rem);
}
.lead {
  font-size: clamp(1.05rem, 1.35vw, 1.25rem);
  line-height: 1.65;
  color: var(--muted);
  max-width: 36em;
}
.frost .lead { color: var(--on-frost-muted); }

.mark {
  position: relative;
  display: inline-block;
  color: var(--ink);
  padding: 0 0.12em;
  margin: 0 -0.02em;
  isolation: isolate;
}
.mark::before {
  content: "";
  position: absolute;
  inset: 0.1em -0.02em 0.02em;
  background: var(--volt);
  border-radius: 0.14em;
  transform: rotate(-1.6deg);
  z-index: -1;
}
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.caret::after {
  content: "";
  display: inline-block;
  width: 0.08em;
  height: 0.82em;
  margin-left: 0.08em;
  background: var(--volt);
  vertical-align: -0.04em;
  animation: blink 1.1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--volt);
  --fg: var(--ink);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  background: var(--bg);
  color: var(--fg);
  font-weight: 720;
  font-size: 16px;
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s;
  box-shadow: inset 0 0 0 1px rgba(11, 34, 54, 0.16);
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px -10px rgba(11, 183, 244, 0.55), 0 0 0 6px rgba(11, 183, 244, 0.12);
}
.btn:active { transform: translateY(0) scale(0.98); }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn--ghost {
  --bg: rgba(var(--fg-rgb), 0.06);
  --fg: var(--text);
  box-shadow: inset 0 0 0 1px var(--line-2);
}
.btn--ghost:hover {
  background: rgba(var(--fg-rgb), 0.1);
  box-shadow: inset 0 0 0 1px rgba(var(--fg-rgb), 0.3);
}
.btn--ink { --bg: var(--ink); --fg: #ffffff; }
.btn--ink:hover { box-shadow: 0 12px 30px -12px rgba(11, 34, 54, 0.6), 0 0 0 5px rgba(11, 183, 244, 0.25); }
.btn--violet { --bg: var(--violet); --fg: #fff; }
.btn--violet:hover { box-shadow: 0 12px 30px -10px rgba(196, 86, 126, 0.7), 0 0 0 6px rgba(196, 86, 126, 0.16); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 15px; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .4; pointer-events: none; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  background: rgba(var(--fg-rgb), 0.06);
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--text);
}
.chip--volt { background: var(--volt); color: var(--ink); box-shadow: none; }
.chip--violet { background: rgba(196, 86, 126, 0.18); color: var(--violet-hi); box-shadow: inset 0 0 0 1px rgba(196, 86, 126, 0.4); }
.frost .chip { background: #fff; color: var(--on-frost); box-shadow: inset 0 0 0 1px rgba(11, 34, 54, 0.1); }
.dot-live {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--volt);
  box-shadow: 0 0 0 0 rgba(11, 183, 244, 0.6);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(11, 183, 244, 0.55); }
  70% { box-shadow: 0 0 0 10px rgba(11, 183, 244, 0); }
  100% { box-shadow: 0 0 0 0 rgba(11, 183, 244, 0); }
}

/* ---------- nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  transition: background .3s, box-shadow .3s, backdrop-filter .3s;
}
.nav.is-scrolled {
  background: rgba(243, 244, 246, 0.82);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: 0 1px 0 var(--line);
}
.nav__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 100%;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  font-weight: 780;
  letter-spacing: -0.03em;
  font-size: 17px;
  line-height: 1.1;
}
.brand svg { flex: none; width: 34px; height: 34px; transition: transform .4s var(--ease-spring); }
.brand:hover svg { transform: rotate(-8deg) scale(1.06); }
.brand small {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dim);
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 5px;
  border-radius: 999px;
  background: rgba(var(--fg-rgb), 0.04);
  box-shadow: inset 0 0 0 1px var(--line);
}
.nav__links a {
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 560;
  color: var(--muted);
  text-decoration: none;
  transition: color .2s, background .2s;
}
.nav__links a:hover { color: var(--text); background: rgba(var(--fg-rgb), 0.06); }
.nav__links a[aria-current="page"] { color: var(--on-text); background: var(--text); }
.nav__cta { display: flex; align-items: center; gap: 10px; }
.nav__toggle {
  display: none;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 0;
  background: rgba(var(--fg-rgb), 0.07);
  box-shadow: inset 0 0 0 1px var(--line-2);
  place-items: center;
}
.nav__toggle span, .nav__toggle span::before, .nav__toggle span::after {
  display: block;
  width: 18px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s;
  position: relative;
}
.nav__toggle span::before, .nav__toggle span::after { content: ""; position: absolute; left: 0; }
.nav__toggle span::before { top: -6px; }
.nav__toggle span::after { top: 6px; }
.nav__toggle[aria-expanded="true"] span { background: transparent; }
.nav__toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

.mnav {
  position: fixed;
  inset: var(--nav-h) 0 auto 0;
  z-index: 99;
  padding: 12px var(--gutter) 28px;
  background: rgba(243, 244, 246, 0.97);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
  display: none;
}
.mnav.is-open { display: block; animation: drop .3s var(--ease); }
@keyframes drop { from { opacity: 0; transform: translateY(-8px); } }
.mnav a:not(.btn) {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 4px;
  font-size: 22px;
  font-weight: 720;
  letter-spacing: -0.03em;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.mnav a:not(.btn)::after { content: "→"; color: var(--dim); font-weight: 400; }
.mnav a[aria-current="page"] { color: var(--accent-text); }
.mnav .btn { width: 100%; margin-top: 20px; }

@media (max-width: 920px) {
  .nav__links, .nav__cta .btn { display: none; }
  .nav__toggle { display: grid; }
}

/* ---------- backgrounds ---------- */
.grid-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(var(--fg-rgb), 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(var(--fg-rgb), 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 60% 30%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 70% at 60% 30%, #000 30%, transparent 75%);
}
.glow {
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .55;
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  margin-top: calc(var(--nav-h) * -1);
  padding-top: calc(var(--nav-h) + clamp(40px, 7vw, 96px));
  padding-bottom: clamp(56px, 8vw, 112px);
  overflow: hidden;
  isolation: isolate;
}
.hero .glow--a { width: 560px; height: 560px; background: var(--volt); top: -180px; right: -120px; opacity: .22; }
.hero .glow--b { width: 420px; height: 420px; background: var(--rose); bottom: -200px; right: 28%; opacity: .14; }
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.hero__copy { position: relative; z-index: 2; }
.hero__copy .eyebrow { margin-bottom: 28px; }
.hero h1 { margin-bottom: 28px; }
.hero h1 .line { display: block; }
.hero .lead { margin-bottom: 36px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 40px; }
.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  max-width: 34em;
}
.hero__facts li {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 14px;
  color: var(--muted);
}
.hero__facts b { color: var(--text); font-weight: 700; font-size: 15px; }

/* ---------- enrollment composer (illustrative class-selection UI) ---------- */
.stage {
  position: relative;
  z-index: 1;
  perspective: 1400px;
}
.composer {
  position: relative;
  border-radius: var(--r-l);
  background: linear-gradient(180deg, #17344f, #0b2236);
  box-shadow:
    0 0 0 1px rgba(var(--fg-rgb), 0.1),
    0 1px 0 0 rgba(var(--fg-rgb), 0.14) inset,
    0 40px 110px -34px rgba(11, 34, 54, 0.55),
    0 30px 60px -30px rgba(11, 34, 54, 0.6);
  overflow: hidden;
  transform: rotateY(-7deg) rotateX(4deg);
  transform-style: preserve-3d;
  transition: transform .8s var(--ease);
}
.stage:hover .composer { transform: rotateY(-2deg) rotateX(1deg); }
.composer__bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(var(--fg-rgb), 0.02);
}
.composer__dots { display: flex; gap: 6px; }
.composer__dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(var(--fg-rgb), 0.14); }
.composer__title { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.06em; color: var(--muted); flex: 1; }
.composer__tag {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  padding: 4px 9px;
  border-radius: 6px;
  color: var(--ink);
  background: var(--volt);
  font-weight: 600;
}
.composer__body { display: grid; grid-template-columns: minmax(0, 1fr) 188px; }
.composer__main { position: relative; padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.composer__side { border-left: 1px solid var(--line); padding: 14px; display: flex; flex-direction: column; gap: 12px; background: rgba(0, 0, 0, 0.18); }

.rail { display: flex; gap: 6px; }
.rail span {
  flex: 1;
  display: flex; align-items: center; justify-content: center; gap: 6px;
  padding: 7px 4px;
  border-radius: 999px;
  font-size: 11.5px; font-weight: 650;
  color: var(--dim);
  background: rgba(var(--fg-rgb), 0.04);
  white-space: nowrap;
  transition: background .4s var(--ease), color .4s;
}
.rail span b { font-family: var(--mono); font-size: 10px; font-weight: 600; }
.rail span.done { color: var(--muted); }
.rail span.done b { color: var(--accent-text); }
.rail span.on { background: var(--text); color: var(--on-text); }

.cmp-label { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); margin-bottom: 8px; }
.cmp-label em { font-style: normal; letter-spacing: 0.02em; text-transform: none; font-family: var(--font); font-size: 11px; }

.cmp-course {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(196, 86, 126, 0.26), rgba(196, 86, 126, 0.08));
  box-shadow: inset 0 0 0 1.5px var(--violet-hi);
}
.cmp-course strong { display: block; font-size: 15.5px; font-weight: 780; letter-spacing: -0.02em; line-height: 1.2; }
.cmp-course small { font-size: 12px; color: var(--muted); }
.cmp-tick { width: 22px; height: 22px; flex: none; border-radius: 50%; background: var(--volt); display: grid; place-items: center; }
.cmp-tick::after { content: ""; width: 9px; height: 5px; border-left: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(-45deg) translate(1px, -1px); }

.dtiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.dtile {
  position: relative;
  padding: 11px 11px 12px;
  border-radius: 14px;
  background: rgba(var(--fg-rgb), 0.04);
  box-shadow: inset 0 0 0 1px var(--line-2);
  transition: background .45s var(--ease), box-shadow .45s var(--ease), transform .45s var(--ease-spring);
}
.dtile svg { width: 22px; height: 22px; margin-bottom: 8px; color: var(--muted); transition: color .4s; }
.dtile strong { display: block; font-size: 14px; font-weight: 760; letter-spacing: -0.02em; line-height: 1.2; }
.dtile small { display: block; font-size: 11px; color: var(--dim); line-height: 1.3; margin-top: 3px; }
.dtile.is-on { background: rgba(11, 183, 244, 0.12); box-shadow: inset 0 0 0 1.5px var(--volt); transform: translateY(-2px); }
.dtile.is-on svg { color: var(--accent-text); }
.dtile.is-on::after { content: ""; position: absolute; top: 9px; right: 9px; width: 8px; height: 8px; border-radius: 50%; background: var(--volt); box-shadow: 0 0 10px var(--volt); }

.tpick { display: flex; align-items: center; gap: 8px; }
.tpick__a {
  position: relative;
  width: 40px; height: 40px;
  border-radius: 13px;
  overflow: hidden;
  background: var(--duo, var(--volt));
  transition: box-shadow .4s var(--ease), transform .4s var(--ease-spring);
}
.tpick__a img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; filter: grayscale(1) contrast(1.15); mix-blend-mode: multiply; }
.tpick__a.is-on { box-shadow: 0 0 0 2px var(--ink-3), 0 0 0 4px var(--volt); transform: scale(1.06); }
.tpick__any {
  height: 40px; padding: 0 12px;
  display: grid; place-items: center;
  border-radius: 13px;
  font-size: 12px; font-weight: 650; color: var(--muted);
  box-shadow: inset 0 0 0 1px var(--line-2);
  transition: box-shadow .4s, color .4s, background .4s;
}
.tpick__any.is-on { background: var(--volt); color: var(--ink); box-shadow: none; }

.tchips { display: flex; flex-wrap: wrap; gap: 6px; }
.tchips span {
  padding: 6px 11px;
  border-radius: 999px;
  font-size: 12px; font-weight: 650;
  color: var(--muted);
  box-shadow: inset 0 0 0 1px var(--line-2);
  transition: background .4s, color .4s, box-shadow .4s;
}
.tchips span.is-on { background: var(--violet); color: #fff; box-shadow: none; }

.cmp-cta {
  margin-top: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 12px 14px 12px 16px;
  border-radius: 999px;
  background: var(--volt);
  color: var(--ink);
  font-size: 13.5px; font-weight: 760;
}
.cmp-cta span:last-child { font-family: var(--mono); font-size: 11px; font-weight: 600; opacity: .7; }

.cmp-cursor {
  position: absolute;
  z-index: 4;
  left: 0; top: 0;
  width: 22px; height: 22px;
  pointer-events: none;
  opacity: 0;
  transition: transform .75s var(--ease), opacity .3s;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.6));
}
.cmp-cursor.is-on { opacity: 1; }

.side-card {
  border-radius: 14px;
  padding: 12px;
  background: rgba(var(--fg-rgb), 0.04);
  box-shadow: inset 0 0 0 1px var(--line);
}
.side-card h4 { font-family: var(--mono); font-size: 10px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); margin-bottom: 10px; }
.venue { position: relative; height: 104px; border-radius: 10px; overflow: hidden; background: rgba(0, 0, 0, 0.3); box-shadow: inset 0 0 0 1px var(--line); }
.venue > div { position: absolute; inset: 0; transition: opacity .5s var(--ease), transform .5s var(--ease); }
.venue > div.is-off { opacity: 0; transform: translateY(8px); }
.venue__meet { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; padding: 8px 8px 24px; }
.venue__meet i {
  border-radius: 7px;
  display: grid; place-items: center;
  font-style: normal; font-size: 11px; font-weight: 800;
  background: linear-gradient(135deg, rgba(196, 86, 126, 0.5), rgba(224, 81, 111, 0.35));
}
.venue__meet i:first-child { background: linear-gradient(135deg, rgba(11, 183, 244, 0.7), rgba(127, 220, 255, 0.45)); color: var(--ink); }
.venue__meet b { position: absolute; left: 0; right: 0; bottom: 6px; display: flex; justify-content: center; gap: 5px; }
.venue__meet b u { width: 12px; height: 8px; border-radius: 4px; background: rgba(var(--fg-rgb), 0.25); }
.venue__meet b u:last-child { background: var(--pink); }
.venue__room { display: grid; place-items: center; }
.venue__room .table { width: 58%; height: 30px; border-radius: 10px; background: rgba(var(--fg-rgb), 0.1); box-shadow: inset 0 0 0 1px var(--line-2); position: relative; }
.venue__room .seat { position: absolute; width: 13px; height: 13px; border-radius: 50%; background: var(--violet-hi); }
.venue__room .seat--t { background: var(--volt); left: -20px; top: 8px; }
.venue__room .s1 { top: -19px; left: 18%; } .venue__room .s2 { top: -19px; right: 18%; }
.venue__room .s3 { bottom: -19px; left: 18%; } .venue__room .s4 { bottom: -19px; right: 18%; opacity: .45; }
.venue__room .board { position: absolute; right: 8px; top: 12px; bottom: 12px; width: 4px; border-radius: 2px; background: rgba(var(--fg-rgb), 0.35); }
.venue__any { display: grid; grid-template-columns: 1fr 1fr; }
.venue__any span { display: grid; place-items: center; text-align: center; font-size: 11px; font-weight: 700; color: var(--muted); padding: 6px; line-height: 1.3; }
.venue__any span:first-child { border-right: 1px dashed var(--line-2); }
.venue-cap { margin-top: 8px; font-size: 11.5px; color: var(--muted); line-height: 1.35; min-height: 2.7em; }
.flow { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.flow li { position: relative; display: flex; gap: 9px; align-items: flex-start; font-size: 11.5px; line-height: 1.35; color: var(--muted); padding-bottom: 9px; }
.flow li:last-child { padding-bottom: 0; }
.flow li::before { content: ""; flex: none; width: 9px; height: 9px; margin-top: 3px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--dim); background: var(--ink-2); position: relative; z-index: 1; }
.flow li:not(:last-child)::after { content: ""; position: absolute; left: 4px; top: 13px; bottom: 0; width: 1px; background: var(--line-2); }
.flow li.on { color: var(--text); font-weight: 650; }
.flow li.on::before { background: var(--volt); box-shadow: 0 0 8px rgba(11, 183, 244, 0.6); }
.pay-pill { margin-top: 10px; display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px; border-radius: 6px; font-family: var(--mono); font-size: 10px; letter-spacing: 0.04em; color: var(--violet-hi); background: rgba(196, 86, 126, 0.12); box-shadow: inset 0 0 0 1px rgba(196, 86, 126, 0.3); }

.sticker {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 14px;
  border-radius: 12px;
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  white-space: nowrap;
  box-shadow: 0 14px 30px -12px rgba(11, 34, 54, 0.45);
  animation: float 6s ease-in-out infinite;
}
.sticker--volt { background: var(--volt); color: var(--ink); top: -18px; left: 8%; transform: rotate(-6deg); --r: -6deg; }
.sticker--violet { background: var(--violet); color: #ffffff; bottom: 24%; right: -16px; --r: 5deg; animation-delay: -2s; }
.sticker--pink { background: #ffffff; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--rose), 0 14px 30px -12px rgba(11, 34, 54, 0.35); bottom: -18px; left: 14%; --r: -3deg; animation-delay: -4s; }
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(var(--r, 0deg)); }
  50% { transform: translateY(-8px) rotate(var(--r, 0deg)); }
}

@media (max-width: 1080px) {
  .hero__grid { grid-template-columns: 1fr; }
  .stage { max-width: 660px; margin-top: 24px; }
  .composer, .stage:hover .composer { transform: none; }
}
@media (min-width: 1081px) and (max-width: 1320px) {
  .rail span b { display: none; }
  .composer__body { grid-template-columns: minmax(0, 1fr) 168px; }
}
@media (max-width: 600px) {
  .composer__body { grid-template-columns: 1fr; }
  .composer__side { border-left: 0; border-top: 1px solid var(--line); flex-direction: row; }
  .composer__side .side-card { flex: 1; min-width: 0; }
  .composer__main { padding: 14px; }
  .rail span { font-size: 10.5px; }
  .rail span b { display: none; }
  .sticker--violet { right: -6px; }
  .sticker { font-size: 11px; padding: 7px 11px; }
}
@media (max-width: 420px) {
  .composer__side .side-card--flow { display: none; }
  .dtile { padding: 9px; }
  .dtile small { display: none; }
}

/* ---------- delivery (online / in-person) ---------- */
.dstrip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.dmini {
  display: flex; flex-direction: column; gap: 8px;
  padding: 24px;
  border-radius: var(--r-l);
  text-decoration: none;
  background: var(--ink-2);
  box-shadow: inset 0 0 0 1px var(--line-2);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.dmini:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1.5px var(--volt); }
.dmini svg { width: 30px; height: 30px; color: var(--accent-text); margin-bottom: 10px; }
.dmini__k { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); }
.dmini strong { font-size: 22px; font-weight: 800; letter-spacing: -0.03em; }
.dmini span:not([class]) { color: var(--muted); font-size: 15px; }
.dmini__go { margin-top: auto; padding-top: 12px; font-weight: 700; font-size: 15px; color: var(--accent-text); }
@media (max-width: 860px) { .dstrip { grid-template-columns: 1fr; } }

.dgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); }
.dcard {
  position: relative;
  border-radius: var(--r-xl);
  background: #fff;
  box-shadow: 0 0 0 1px rgba(11, 34, 54, 0.06), 0 40px 80px -46px rgba(11, 34, 54, 0.3);
  padding: clamp(18px, 2.4vw, 26px);
  display: flex; flex-direction: column; gap: 18px;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.dcard:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px rgba(11, 34, 54, 0.08), 0 50px 90px -40px rgba(11, 34, 54, 0.38); }
.dcard__art {
  position: relative;
  height: 220px;
  border-radius: 22px;
  background: radial-gradient(90% 90% at 100% 0%, rgba(11, 183, 244, 0.35), transparent 60%), radial-gradient(70% 80% at 0% 100%, rgba(196, 86, 126, 0.3), transparent 60%), var(--ink);
  overflow: hidden;
  color: var(--text);
}
.dcard__art .grid-bg { -webkit-mask-image: none; mask-image: none; opacity: .6; background-size: 28px 28px; }
.dcard__tag { position: absolute; left: 14px; top: 14px; z-index: 2; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.08em; padding: 4px 9px; border-radius: 6px; background: var(--volt); color: var(--ink); font-weight: 600; }
.dcard__badge { position: absolute; right: 14px; top: 14px; z-index: 2; font-family: var(--mono); font-size: 10.5px; padding: 4px 8px; border-radius: 6px; background: rgba(var(--fg-rgb), 0.1); color: var(--muted); }
.dcard h3 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); font-weight: 820; letter-spacing: -0.04em; line-height: 1.1; }
.dcard h3 small { display: block; font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--on-frost-muted); margin-bottom: 8px; }
.dcard p { color: var(--on-frost-muted); font-size: 16px; }
.dcard ul { list-style: none; padding: 0; display: grid; gap: 8px; margin-top: 2px; }
.dcard li { display: flex; gap: 10px; font-size: 15px; color: var(--on-frost); }
.dcard li::before { content: "↳"; color: var(--violet-deep); font-weight: 700; flex: none; }
.dcard .btn { margin-top: auto; align-self: flex-start; }

.meet {
  position: absolute; left: 50%; top: 56%;
  width: 78%; max-width: 340px;
  transform: translate(-50%, -50%) rotate(-2deg);
  border-radius: 14px;
  background: rgba(17, 43, 68, 0.96);
  box-shadow: 0 0 0 1px var(--line-2), 0 24px 50px -16px rgba(0, 0, 0, 0.8);
  padding: 8px;
  transition: transform .6s var(--ease);
}
.dcard:hover .meet { transform: translate(-50%, -52%) rotate(0deg); }
.meet__tiles { display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: 1fr 1fr; gap: 6px; height: 112px; }
.meet__tiles i { border-radius: 9px; display: grid; place-items: center; font-style: normal; font-weight: 800; font-size: 12px; background: linear-gradient(135deg, rgba(196, 86, 126, 0.55), rgba(224, 81, 111, 0.35)); }
.meet__tiles i:first-child { grid-row: span 2; background: linear-gradient(135deg, var(--volt), #7fdcff); color: var(--ink); font-size: 14px; }
.meet__bar { display: flex; justify-content: center; gap: 7px; padding-top: 8px; }
.meet__bar u { width: 22px; height: 12px; border-radius: 6px; background: rgba(var(--fg-rgb), 0.18); }
.meet__bar u:last-child { background: var(--pink); }

.room {
  position: absolute; left: 50%; top: 58%;
  width: 72%; max-width: 320px; height: 132px;
  transform: translate(-50%, -50%) perspective(600px) rotateX(28deg);
  border-radius: 16px;
  background: rgba(var(--fg-rgb), 0.05);
  box-shadow: inset 0 0 0 1.5px var(--line-2);
  transition: transform .6s var(--ease);
}
.dcard:hover .room { transform: translate(-50%, -52%) perspective(600px) rotateX(18deg); }
.room__table { position: absolute; left: 22%; right: 22%; top: 38%; height: 34%; border-radius: 12px; background: rgba(var(--fg-rgb), 0.14); box-shadow: inset 0 0 0 1px var(--line-2); }
.room__seat { position: absolute; width: 18px; height: 18px; border-radius: 50%; background: var(--violet-hi); box-shadow: 0 0 0 4px rgba(242, 169, 197, 0.15); }
.room__seat--t { background: var(--volt); box-shadow: 0 0 0 4px rgba(11, 183, 244, 0.18); left: 10%; top: calc(55% - 9px); }
.room__seat.a { left: 32%; top: 16%; } .room__seat.b { left: 58%; top: 16%; }
.room__seat.c { left: 32%; top: calc(72% + 4px); } .room__seat.d { left: 58%; top: calc(72% + 4px); opacity: .45; }
.room__board { position: absolute; right: 7%; top: 18%; bottom: 18%; width: 6px; border-radius: 3px; background: rgba(var(--fg-rgb), 0.45); }
.room__door { position: absolute; left: 44%; bottom: -2px; width: 16%; height: 4px; background: var(--volt); border-radius: 2px; }

.dnote {
  margin-top: clamp(14px, 2vw, 24px);
  background: var(--ink);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px;
  padding: 18px 22px;
  border-radius: var(--r-l);
  background: var(--on-frost);
  color: var(--text);
}
.dnote p { font-size: 15.5px; color: var(--muted); }
.dnote strong { color: var(--accent-text); font-weight: 750; margin-right: 6px; }
@media (max-width: 860px) { .dgrid { grid-template-columns: 1fr; } .dcard__art { height: 200px; } }

/* ---------- marquee ---------- */
.marquee {
  position: relative;
  background: var(--volt);
  color: var(--ink);
  padding: 22px 0;
  overflow: hidden;
  transform: rotate(-1.2deg);
  margin: 0 -2vw;
  box-shadow: 0 30px 60px -30px rgba(11, 183, 244, 0.35);
}
.marquee + .marquee-under { margin-top: -10px; }
.marquee__track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: marquee 44s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item {
  display: inline-flex;
  align-items: baseline;
  gap: 14px;
  padding: 0 28px;
  font-size: clamp(1.4rem, 2.6vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  white-space: nowrap;
}
.marquee__item span { font-size: 0.55em; font-weight: 600; letter-spacing: -0.01em; opacity: .7; }
.marquee__item::after { content: "●"; font-size: .4em; margin-left: 28px; color: var(--violet); align-self: center; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { position: relative; padding-block: clamp(80px, 11vw, 160px); }
.section--tight { padding-block: clamp(64px, 8vw, 112px); }
.frost {
  background: var(--frost);
  color: var(--on-frost);
}
.sec-head {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 24px 56px;
  align-items: end;
  margin-bottom: clamp(40px, 6vw, 72px);
}
.sec-head .eyebrow { margin-bottom: 18px; }
.sec-head--center { grid-template-columns: 1fr; text-align: center; justify-items: center; }
.sec-head--center .lead { margin-inline: auto; }
@media (max-width: 860px) { .sec-head { grid-template-columns: 1fr; } }

/* ---------- program switcher ---------- */
.switcher {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr);
  gap: clamp(20px, 3vw, 40px);
  align-items: stretch;
}
.switcher__tabs { display: flex; flex-direction: column; gap: 10px; }
.ptab {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 4px 18px;
  align-items: center;
  width: 100%;
  padding: 22px 22px;
  border: 0;
  border-radius: var(--r-l);
  text-align: left;
  background: rgba(var(--fg-rgb), 0.03);
  box-shadow: inset 0 0 0 1px var(--line);
  transition: background .3s, box-shadow .3s, transform .3s var(--ease);
}
.ptab:hover { background: rgba(var(--fg-rgb), 0.06); }
.ptab__num { grid-row: span 2; font-family: var(--mono); font-size: 13px; color: var(--dim); align-self: start; padding-top: 6px; }
.ptab__name { font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.1; }
.ptab__ko { font-size: 14.5px; color: var(--muted); }
.ptab__go {
  grid-row: span 2;
  width: 40px; height: 40px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(var(--fg-rgb), 0.06);
  transition: background .3s, color .3s, transform .4s var(--ease);
}
.ptab[aria-selected="true"] {
  background: linear-gradient(135deg, rgba(196, 86, 126, 0.28), rgba(196, 86, 126, 0.08));
  box-shadow: inset 0 0 0 1px rgba(242, 169, 197, 0.55), 0 20px 50px -24px rgba(196, 86, 126, 0.7);
}
.ptab[aria-selected="true"] .ptab__num { color: var(--accent-text); }
.ptab[aria-selected="true"] .ptab__go { background: var(--volt); color: var(--ink); transform: rotate(-45deg); }

.ppanel {
  position: relative;
  border-radius: var(--r-xl);
  padding: clamp(24px, 3.4vw, 44px);
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(196, 86, 126, 0.22), transparent 55%),
    linear-gradient(180deg, var(--ink-3), var(--ink-2));
  box-shadow: inset 0 0 0 1px var(--line-2);
  overflow: hidden;
  min-height: 480px;
  display: flex;
  flex-direction: column;
}
.ppanel[hidden] { display: none; }
.ppanel.is-entering > * { animation: panelIn .5s var(--ease) both; }
.ppanel.is-entering > *:nth-child(2) { animation-delay: .05s; }
.ppanel.is-entering > *:nth-child(3) { animation-delay: .1s; }
.ppanel.is-entering > *:nth-child(4) { animation-delay: .15s; }
@keyframes panelIn { from { opacity: 0; transform: translateY(14px); } }
.ppanel__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.ppanel h3 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 820; letter-spacing: -0.045em; line-height: 1; margin-bottom: 10px; }
.ppanel .tagline { font-size: 17px; color: var(--muted); max-width: 30em; }
.specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border-radius: var(--r-m); overflow: hidden; margin: 22px 0; box-shadow: 0 0 0 1px var(--line); }
.spec { background: var(--ink-2); padding: 16px 18px; }
.spec dt { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); margin-bottom: 6px; }
.spec dd { font-size: 17px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.35; }
.spec dd small { display: block; font-size: 13px; color: var(--muted); font-weight: 500; letter-spacing: 0; }
.spec--muted dd { color: var(--muted); }
.spec--wide { grid-column: 1 / -1; }
.ppanel__foot { margin-top: auto; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; padding-top: 8px; }
.ppanel__foot p { font-size: 13.5px; color: var(--muted); }

.rhythm { margin: 4px 0 6px; }
.rhythm__label { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.08em; color: var(--dim); margin-bottom: 10px; text-transform: uppercase; }
.rhythm__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 5px; }
.rhythm__wk { display: grid; gap: 4px; }
.rhythm__wk i { display: block; height: 14px; border-radius: 4px; background: rgba(11, 183, 244, 0.18); transform-origin: bottom; }
.rhythm__wk i.lit { background: var(--volt); }
.rhythm__months { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 8px; font-size: 12px; color: var(--muted); }
.rhythm__months span { border-top: 1px solid var(--line-2); padding-top: 6px; }

.topics { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.topics .chip { font-size: 14px; padding: 8px 14px; }
.topics-label { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em; color: var(--dim); text-transform: uppercase; margin-top: 18px; }

.ptab-orbit {
  position: absolute;
  right: -60px; bottom: -60px;
  width: 260px; height: 260px;
  border-radius: 50%;
  border: 1px dashed rgba(var(--fg-rgb), 0.12);
  pointer-events: none;
}
.ptab-orbit::before {
  content: "";
  position: absolute;
  inset: 40px;
  border-radius: 50%;
  border: 1px solid rgba(242, 169, 197, 0.2);
}

@media (max-width: 920px) {
  .switcher { grid-template-columns: 1fr; }
  .switcher__tabs { flex-direction: row; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 4px; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
  .switcher__tabs::-webkit-scrollbar { display: none; }
  .ptab { flex: 0 0 auto; width: auto; min-width: 210px; scroll-snap-align: start; grid-template-columns: auto 1fr; padding: 16px 18px; }
  .ptab__go { display: none; }
  .ppanel { min-height: 0; }
}
@media (max-width: 520px) { .specs { grid-template-columns: 1fr; } }

/* ---------- anatomy (frost) ---------- */
.anatomy {
  border-radius: var(--r-xl);
  background: #fff;
  box-shadow: 0 0 0 1px rgba(11, 34, 54, 0.06), 0 40px 80px -40px rgba(11, 34, 54, 0.25);
  padding: clamp(22px, 3.5vw, 44px);
}
.anatomy__head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 26px; }
.anatomy__clock { font-family: var(--mono); font-size: 13px; color: var(--on-frost-muted); display: flex; gap: 10px; align-items: center; }
.anatomy__clock b { font-size: 28px; color: var(--on-frost); font-weight: 600; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.bar {
  display: flex;
  gap: 6px;
  height: 88px;
  margin-bottom: 14px;
}
.seg {
  position: relative;
  flex: var(--w) 1 0;
  min-width: 0;
  border: 0;
  border-radius: 16px;
  padding: 14px;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--on-frost);
  background: var(--frost-2);
  transition: transform .35s var(--ease), background .3s, color .3s, box-shadow .3s;
  overflow: hidden;
}
.seg__t { font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; opacity: .7; }
.seg__n { font-weight: 780; font-size: 16px; letter-spacing: -0.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.seg:hover { transform: translateY(-3px); }
.seg[aria-pressed="true"] { color: #fff; box-shadow: 0 18px 30px -16px rgba(163, 55, 93, 0.7); }
.seg[data-k="0"][aria-pressed="true"] { background: var(--ink); color: var(--volt); }
.seg[data-k="1"][aria-pressed="true"] { background: var(--violet-deep); }
.seg[data-k="2"][aria-pressed="true"] { background: var(--volt); color: var(--ink); box-shadow: 0 18px 30px -16px rgba(7, 159, 214, 0.8); }
.seg[data-k="3"][aria-pressed="true"] { background: var(--rose-soft); color: var(--ink); box-shadow: 0 18px 30px -16px rgba(196, 86, 126, 0.6); }
.ruler { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 11px; color: var(--on-frost-muted); margin-bottom: 28px; }
.anatomy__detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 20px 40px;
  align-items: start;
  min-height: 150px;
}
.anatomy__detail h3 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1.1; }
.anatomy__detail p { color: var(--on-frost-muted); font-size: 16.5px; }
.anatomy__detail .say {
  margin-top: 14px;
  display: inline-flex;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--frost);
  font-weight: 650;
  font-size: 15px;
  color: var(--on-frost);
}
.anatomy__note { margin-top: 24px; padding-top: 18px; border-top: 1px solid rgba(11, 34, 54, 0.08); font-size: 13.5px; color: var(--on-frost-muted); }
@media (max-width: 760px) {
  .bar { flex-direction: column; height: auto; }
  .seg { flex: none; flex-direction: row; align-items: center; min-height: 54px; padding: 12px 16px; }
  .seg .seg__n { order: -1; }
  .ruler { display: none; }
  .anatomy__detail { grid-template-columns: 1fr; }
}

/* ---------- format toggle ---------- */
.format {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}
.seg-ctrl {
  display: inline-flex;
  position: relative;
  padding: 5px;
  border-radius: 999px;
  background: rgba(var(--fg-rgb), 0.06);
  box-shadow: inset 0 0 0 1px var(--line-2);
  margin: 28px 0 26px;
}
.seg-ctrl button {
  position: relative;
  z-index: 1;
  border: 0;
  background: transparent;
  padding: 11px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15.5px;
  color: var(--muted);
  transition: color .3s;
}
.seg-ctrl button[aria-pressed="true"] { color: var(--ink); }
.seg-ctrl__pill {
  position: absolute;
  top: 5px; bottom: 5px;
  left: 5px;
  border-radius: 999px;
  background: var(--volt);
  transition: transform .45s var(--ease-spring), width .45s var(--ease-spring);
}
.format__copy h3 { margin-bottom: 12px; }
.format__copy ul { padding: 0; list-style: none; display: grid; gap: 12px; margin-top: 18px; }
.format__copy li { display: flex; gap: 12px; color: var(--muted); }
.format__copy li::before { content: "↳"; color: var(--accent-text); font-weight: 700; flex: none; }
.orbit {
  position: relative;
  aspect-ratio: 1;
  max-width: 460px;
  width: 100%;
  margin-inline: auto;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(196, 86, 126, 0.25), transparent 62%);
}
.orbit::before, .orbit::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--line-2);
}
.orbit::before { inset: 8%; }
.orbit::after { inset: 26%; border-style: dashed; border-color: rgba(var(--fg-rgb), 0.12); animation: spin 40s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.orbit svg.links { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.orbit svg.links line { stroke: rgba(6, 104, 143, 0.55); stroke-width: 1.5; stroke-dasharray: 4 5; transition: opacity .5s; }
.node {
  position: absolute;
  width: 74px; height: 74px;
  margin: -37px 0 0 -37px;
  border-radius: 24px;
  display: grid; place-items: center;
  font-weight: 800; font-size: 14px;
  transition: left .7s var(--ease-spring), top .7s var(--ease-spring), opacity .4s, transform .5s var(--ease-spring);
}
.node--coach { background: var(--volt); color: var(--ink); box-shadow: 0 0 0 8px rgba(11, 183, 244, 0.12), 0 20px 40px -10px rgba(11, 183, 244, 0.4); }
.node--l { background: linear-gradient(135deg, var(--rose), var(--violet)); color: #fff; width: 60px; height: 60px; margin: -30px 0 0 -30px; border-radius: 50%; font-size: 13px; }
.node.is-off { opacity: 0; transform: scale(.4); }
.orbit__cap { position: absolute; left: 50%; bottom: 2%; transform: translateX(-50%); font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.08em; color: var(--muted); white-space: nowrap; }
@media (max-width: 860px) { .format { grid-template-columns: 1fr; } .orbit { max-width: 340px; } }

/* ---------- teachers duotone ---------- */
.tgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); }
.tcard {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--ink-3);
  box-shadow: inset 0 0 0 1px var(--line);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: transform .5s var(--ease);
}
.tcard:hover { transform: translateY(-6px); }
.duo {
  position: relative;
  aspect-ratio: 4 / 4.4;
  overflow: hidden;
  background: var(--duo, var(--volt));
  isolation: isolate;
}
.duo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 22%;
  filter: grayscale(1) contrast(1.15) brightness(1.05);
  mix-blend-mode: multiply;
  transition: filter .6s var(--ease), transform .8s var(--ease), mix-blend-mode .6s;
}
.tcard:hover .duo img, .tcard:focus-visible .duo img, .tprofile:hover .duo img {
  filter: grayscale(0) contrast(1) brightness(1);
  mix-blend-mode: normal;
  transform: scale(1.04);
}
.duo__tag {
  position: absolute;
  left: 14px; top: 14px;
  z-index: 2;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  padding: 6px 10px;
  border-radius: 8px;
  background: var(--ink);
  color: #ffffff;
}
.tcard__body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.tcard__name { font-size: 21px; font-weight: 780; letter-spacing: -0.03em; line-height: 1.2; }
.tcard__role { font-size: 14.5px; color: var(--muted); }
.tcard__lang { margin-top: auto; padding-top: 12px; font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.04em; color: var(--violet-hi); }
.duo--volt { --duo: var(--volt); }
.duo--violet { --duo: #e9a9c1; }
.duo--pink { --duo: #cbd1dd; }
@media (max-width: 860px) {
  .tgrid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(250px, 78%); overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); padding-bottom: 8px; scrollbar-width: none; }
  .tgrid::-webkit-scrollbar { display: none; }
  .tcard { scroll-snap-align: start; }
}

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; counter-reset: s; position: relative; }
.step {
  position: relative;
  padding: 28px 28px 32px 0;
  border-top: 2px solid rgba(11, 34, 54, 0.12);
}
.step::before {
  content: "";
  position: absolute;
  top: -2px; left: 0;
  height: 2px;
  width: 0;
  background: var(--violet-deep);
  transition: width 1.1s var(--ease);
}
.step.is-in::before { width: 100%; }
.step:nth-child(2)::before { transition-delay: .25s; }
.step:nth-child(3)::before { transition-delay: .5s; }
.step:nth-child(4)::before { transition-delay: .75s; }
.step__n {
  display: inline-grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 14px;
  background: var(--on-frost);
  color: var(--volt);
  font-family: var(--mono);
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 22px;
}
.step h3 { font-size: 22px; font-weight: 780; letter-spacing: -0.03em; margin-bottom: 8px; }
.step p { color: var(--on-frost-muted); font-size: 16px; max-width: 22em; }
@media (max-width: 1000px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .steps { grid-template-columns: 1fr; } .step { padding-right: 0; } }

/* ---------- final CTA ---------- */
.final {
  position: relative;
  border-radius: clamp(24px, 4vw, 44px);
  padding: clamp(40px, 7vw, 96px) clamp(24px, 5vw, 72px);
  overflow: hidden;
  background:
    radial-gradient(80% 120% at 0% 100%, rgba(11, 183, 244, 0.32), transparent 55%),
    radial-gradient(70% 100% at 100% 0%, rgba(196, 86, 126, 0.42), transparent 60%),
    var(--ink);
  box-shadow: inset 0 0 0 1px var(--line-2);
  isolation: isolate;
}
.final .grid-bg { -webkit-mask-image: radial-gradient(ellipse at 50% 50%, #000 20%, transparent 70%); mask-image: radial-gradient(ellipse at 50% 50%, #000 20%, transparent 70%); }
.final__in { position: relative; display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 32px; align-items: end; }
.final h2 { margin-bottom: 18px; }
.final .lead { color: #c8d4e0; }
.final__actions { display: flex; flex-direction: column; gap: 10px; }
@media (max-width: 860px) { .final__in { grid-template-columns: 1fr; } .final__actions { flex-direction: row; flex-wrap: wrap; } }

/* ---------- footer ---------- */
.footer { padding: 64px 0 40px; border-top: 1px solid var(--line); margin-top: clamp(64px, 8vw, 120px); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.footer p { color: var(--muted); font-size: 14.5px; max-width: 26em; margin-top: 14px; }
.footer h4 { font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); margin-bottom: 14px; }
.footer ul { list-style: none; padding: 0; display: grid; gap: 8px; }
.footer ul a { text-decoration: none; color: var(--muted); font-size: 15px; transition: color .2s; }
.footer ul a:hover { color: var(--accent-text); }
.footer__base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: center; margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13px; color: var(--dim); }
.demo-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--muted);
  box-shadow: inset 0 0 0 1px var(--line-2);
}
.demo-note::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--rose); }
@media (max-width: 760px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__grid > :first-child { grid-column: 1 / -1; } }

/* ---------- page hero (inner) ---------- */
.phero {
  position: relative;
  margin-top: calc(var(--nav-h) * -1);
  padding-top: calc(var(--nav-h) + clamp(48px, 7vw, 100px));
  padding-bottom: clamp(48px, 6vw, 80px);
  overflow: hidden;
  isolation: isolate;
}
.phero .glow { width: 520px; height: 520px; background: var(--volt); top: -240px; left: 50%; opacity: .2; }
.phero .eyebrow { margin-bottom: 22px; }
.phero h1 { font-size: clamp(2.6rem, 6.4vw, 5.6rem); font-weight: 820; letter-spacing: -0.045em; line-height: 1.03; margin-bottom: 22px; max-width: 13em; }
.phero .lead { max-width: 40em; }

/* ---------- plans ---------- */
.plans { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 16px; align-items: stretch; }
.plan {
  position: relative;
  border-radius: var(--r-xl);
  padding: clamp(24px, 3vw, 36px);
  background: var(--ink-2);
  box-shadow: inset 0 0 0 1px var(--line-2), 0 30px 60px -44px rgba(11, 34, 54, 0.35);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.plan--feature {
  background:
    radial-gradient(100% 70% at 100% 0%, rgba(11, 183, 244, 0.3), transparent 60%),
    linear-gradient(180deg, var(--ink-3), var(--ink));
  box-shadow: inset 0 0 0 1px rgba(242, 169, 197, 0.5), 0 40px 90px -40px rgba(196, 86, 126, 0.6);
}
.plan__badge { position: absolute; top: -13px; left: 28px; }
.plan__name { font-size: clamp(1.7rem, 2.6vw, 2.2rem); font-weight: 820; letter-spacing: -0.04em; line-height: 1.05; }
.plan__ko { color: var(--muted); font-size: 15px; margin-top: 4px; }
.price {
  padding: 18px 0;
  border-block: 1px solid var(--line);
}
.price__label { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); }
.price__value { display: flex; align-items: baseline; gap: 10px; margin-top: 6px; flex-wrap: wrap; }
.price__value strong { font-size: clamp(1.7rem, 2.8vw, 2.3rem); font-weight: 800; letter-spacing: -0.04em; }
.price__value .tbd { font-family: var(--mono); font-size: 12px; padding: 4px 9px; border-radius: 6px; background: rgba(196, 86, 126, 0.14); color: var(--violet-hi); box-shadow: inset 0 0 0 1px rgba(196, 86, 126, 0.35); }
.price p { font-size: 13.5px; color: var(--muted); margin-top: 6px; }
.plan ul.feats { list-style: none; padding: 0; display: grid; gap: 11px; }
.plan ul.feats li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: 15.5px; }
.plan ul.feats li::before {
  content: "";
  width: 18px; height: 18px; margin-top: 3px;
  border-radius: 6px;
  background: var(--volt) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%2307070d' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.plan ul.feats li.soft::before { background-color: rgba(var(--fg-rgb), 0.12); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='2' fill='%23a4a7b9'/%3E%3C/svg%3E"); }
.plan .btn { margin-top: auto; width: 100%; }
.plan .seg-ctrl { margin: 0; align-self: flex-start; }
.plan .seg-ctrl button { padding: 8px 16px; font-size: 14px; }
@media (max-width: 1000px) { .plans { grid-template-columns: 1fr; } }

.compare { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.compare-wrap { overflow-x: auto; border-radius: var(--r-l); box-shadow: inset 0 0 0 1px rgba(11, 34, 54, 0.1); background: #fff; }
.compare th, .compare td { padding: 18px 20px; text-align: left; border-bottom: 1px solid rgba(11, 34, 54, 0.07); vertical-align: top; }
.compare thead th { font-size: 17px; font-weight: 800; letter-spacing: -0.02em; background: var(--frost); }
.compare tbody th { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--on-frost-muted); font-weight: 500; white-space: nowrap; }
.compare td .muted { color: var(--on-frost-muted); }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.compare { min-width: 640px; }

.faq { display: grid; gap: 10px; max-width: 860px; }
.faq details {
  border-radius: var(--r-m);
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(11, 34, 54, 0.08);
  transition: box-shadow .3s;
}
.faq details[open] { box-shadow: inset 0 0 0 1.5px var(--violet-deep); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 22px;
  font-weight: 720;
  font-size: 17px;
  letter-spacing: -0.02em;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  border-radius: var(--r-m);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  flex: none;
  width: 30px; height: 30px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--frost);
  font-weight: 500;
  font-size: 20px;
  transition: transform .3s var(--ease), background .3s, color .3s;
}
.faq details[open] summary::after { transform: rotate(45deg); background: var(--violet-deep); color: #fff; }
.faq details p { padding: 0 22px 22px; color: var(--on-frost-muted); }

/* ---------- teachers page ---------- */
.tprofile {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
  padding-block: clamp(40px, 5vw, 64px);
  border-top: 1px solid var(--line);
}
.tprofile:nth-of-type(even) .tprofile__media { order: 2; }
.tprofile .duo { border-radius: var(--r-xl); aspect-ratio: 1 / 1.05; }
.tprofile__media { position: relative; }
.tprofile__media .sticker { animation: none; }
.tprofile__idx { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; color: var(--dim); margin-bottom: 14px; }
.tprofile h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); font-weight: 820; letter-spacing: -0.045em; line-height: 1.04; margin-bottom: 12px; }
.tprofile__meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.creds { list-style: none; padding: 0; display: grid; gap: 0; margin-bottom: 26px; border-radius: var(--r-m); overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); }
.creds li { display: grid; grid-template-columns: 36px 1fr; gap: 12px; align-items: start; padding: 15px 18px; border-bottom: 1px solid var(--line); font-size: 16px; background: rgba(var(--fg-rgb), 0.02); }
.creds li:last-child { border-bottom: 0; }
.creds li span { font-family: var(--mono); font-size: 11px; color: var(--accent-text); padding-top: 4px; }
@media (hover: none) {
  .tprofile .duo img { filter: none; mix-blend-mode: normal; }
}
@media (max-width: 860px) {
  .tprofile { grid-template-columns: 1fr; }
  .tprofile:nth-of-type(even) .tprofile__media { order: 0; }
  .tprofile .duo { max-width: 420px; }
}

dialog.resume {
  width: min(920px, calc(100vw - 24px));
  max-height: calc(100vh - 24px);
  max-height: calc(100dvh - 24px);
  padding: 0;
  border: 0;
  border-radius: var(--r-l);
  background: var(--ink-2);
  color: var(--text);
  box-shadow: 0 0 0 1px var(--line-2), 0 40px 120px rgba(0, 0, 0, 0.7);
  overflow: hidden;
}
dialog.resume[open] { display: flex; flex-direction: column; animation: dlg .35s var(--ease); }
@keyframes dlg { from { opacity: 0; transform: translateY(16px) scale(.98); } }
dialog.resume::backdrop { background: rgba(11, 34, 54, 0.78); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.resume__bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.resume__bar h2 { font-size: 17px; font-weight: 750; letter-spacing: -0.02em; }
.resume__close { width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(var(--fg-rgb), 0.08); font-size: 20px; line-height: 1; }
.resume__close:hover { background: rgba(var(--fg-rgb), 0.16); }
.resume__pages { overflow: auto; padding: 18px; display: grid; gap: 14px; background: #2b3f54; }
.resume__pages img { width: 100%; height: auto; border-radius: 8px; background: #fff; }
.resume__text { padding: 14px 18px; border-bottom: 1px solid var(--line); font-size: 14.5px; flex-shrink: 0; max-height: 40vh; overflow: auto; }
.resume__text h3 { font-size: 15px; margin: 0 0 6px; }
.resume__text ul { margin: 0; padding-left: 18px; display: grid; gap: 4px; }
.resume__note { margin: 8px 0 0; font-size: 13px; color: var(--dim); }

/* ---------- register ---------- */
.reg {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: clamp(20px, 3vw, 40px);
  align-items: start;
}
.stepper {
  display: flex;
  gap: 6px;
  list-style: none;
  padding: 6px;
  border-radius: 999px;
  background: rgba(var(--fg-rgb), 0.04);
  box-shadow: inset 0 0 0 1px var(--line);
  margin-bottom: 24px;
}
.stepper li {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 8px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 650;
  color: var(--dim);
  transition: background .35s var(--ease), color .35s;
  white-space: nowrap;
}
.stepper li i { font-style: normal; font-family: var(--mono); font-size: 11px; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: rgba(var(--fg-rgb), 0.08); }
.stepper li.is-done { color: var(--muted); }
.stepper li.is-done i { background: var(--violet); color: #fff; }
.stepper li[aria-current="step"] { background: var(--text); color: var(--on-text); }
.stepper li[aria-current="step"] i { background: var(--volt); color: var(--ink); }
@media (max-width: 600px) { .stepper li span { display: none; } .stepper li[aria-current="step"] span { display: inline; } }

.panel {
  border-radius: var(--r-xl);
  padding: clamp(22px, 3.4vw, 40px);
  background: var(--ink-2);
  box-shadow: inset 0 0 0 1px var(--line-2), 0 40px 80px -60px rgba(11, 34, 54, 0.4);
}
.panel[hidden] { display: none; }
.panel.is-entering { animation: panelIn .45s var(--ease) both; }
.panel h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1.1; margin-bottom: 8px; outline: none; }
.panel > p.lead { font-size: 16px; margin-bottom: 26px; }
fieldset { border: 0; padding: 0; margin: 0 0 26px; min-width: 0; }
legend { font-weight: 720; font-size: 16px; letter-spacing: -0.02em; margin-bottom: 12px; padding: 0; }
legend small, .field-label small { font-weight: 500; color: var(--dim); font-size: 13px; margin-left: 6px; }

.choices { display: grid; gap: 10px; }
.choices--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.choices--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.choices--pills { display: flex; flex-wrap: wrap; gap: 8px; }
@media (max-width: 720px) { .choices--3 { grid-template-columns: 1fr; } }
@media (max-width: 440px) { .choices--2 { grid-template-columns: 1fr; } }

.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice__box {
  display: flex;
  flex-direction: column;
  gap: 6px;
  height: 100%;
  padding: 18px;
  border-radius: var(--r-m);
  background: rgba(var(--fg-rgb), 0.03);
  box-shadow: inset 0 0 0 1px var(--line-2);
  transition: box-shadow .25s, background .25s, transform .25s var(--ease);
}
.choice:hover .choice__box { background: rgba(var(--fg-rgb), 0.06); }
.choice input:checked + .choice__box {
  background: linear-gradient(135deg, rgba(196, 86, 126, 0.26), rgba(196, 86, 126, 0.08));
  box-shadow: inset 0 0 0 2px var(--violet-hi);
}
.choice input:focus-visible + .choice__box { outline: 3px solid var(--focus); outline-offset: 3px; }
.choice__top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.choice__title { font-weight: 780; font-size: 18px; letter-spacing: -0.03em; }
.choice__check {
  width: 22px; height: 22px; flex: none;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1.5px var(--line-2);
  display: grid; place-items: center;
  transition: background .25s, box-shadow .25s;
}
.choice input:checked + .choice__box .choice__check { background: var(--volt); box-shadow: none; }
.choice input:checked + .choice__box .choice__check::after { content: ""; width: 9px; height: 5px; border-left: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(-45deg) translate(1px, -1px); }
.choice__desc { font-size: 14px; color: var(--muted); line-height: 1.5; }
.choice__meta { margin-top: auto; padding-top: 8px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.04em; color: var(--violet-hi); }

.pill { position: relative; cursor: pointer; }
.pill input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pill span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  background: rgba(var(--fg-rgb), 0.04);
  box-shadow: inset 0 0 0 1px var(--line-2);
  transition: background .2s, color .2s, box-shadow .2s;
}
.pill:hover span { background: rgba(var(--fg-rgb), 0.08); }
.pill input:checked + span { background: var(--volt); color: var(--ink); box-shadow: none; }
.pill input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 3px; }

.field { display: grid; gap: 8px; margin-bottom: 22px; }
.field-label { font-weight: 720; font-size: 16px; letter-spacing: -0.02em; }
.input, .textarea, .select {
  width: 100%;
  min-height: 52px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 0;
  background: var(--field-bg);
  box-shadow: inset 0 0 0 1px var(--line-2);
  font-size: 16px;
  transition: box-shadow .2s;
}
.textarea { min-height: 110px; resize: vertical; line-height: 1.5; }
.input::placeholder, .textarea::placeholder { color: var(--dim); }
.input:focus, .textarea:focus, .select:focus { outline: none; box-shadow: inset 0 0 0 2px var(--violet-hi), 0 0 0 4px rgba(196, 86, 126, 0.2); }
.hint { font-size: 13px; color: var(--dim); }
.error {
  display: none;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--err-text);
}
.error.is-on { display: flex; }
.error::before { content: "!"; width: 18px; height: 18px; border-radius: 50%; background: var(--pink); color: var(--ink); display: grid; place-items: center; font-size: 12px; font-weight: 900; flex: none; }
.conditional[hidden] { display: none; }
.conditional { animation: panelIn .35s var(--ease) both; }

.panel__nav { display: flex; justify-content: space-between; gap: 12px; padding-top: 10px; border-top: 1px solid var(--line); margin-top: 8px; flex-wrap: wrap; }
.panel__nav .btn { min-width: 140px; }
.panel__nav > :only-child { margin-left: auto; }

.review { display: grid; gap: 0; border-radius: var(--r-m); overflow: hidden; box-shadow: inset 0 0 0 1px var(--line-2); margin-bottom: 24px; }
.review__row { display: grid; grid-template-columns: 150px 1fr auto; gap: 16px; padding: 16px 18px; border-bottom: 1px solid var(--line); align-items: center; }
.review__row:last-child { border-bottom: 0; }
.review__row dt { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dim); }
.review__row dd { font-weight: 650; font-size: 16px; }
.review__edit { border: 0; background: none; color: var(--violet-hi); font-weight: 650; font-size: 14px; padding: 6px 8px; border-radius: 8px; text-decoration: underline; text-underline-offset: 3px; }
.review__edit:hover { color: var(--accent-text); }
@media (max-width: 560px) { .review__row { grid-template-columns: 1fr auto; } .review__row dt { grid-column: 1 / -1; } }

.summary {
  position: sticky;
  top: calc(var(--nav-h) + 16px);
  border-radius: var(--r-xl);
  padding: 22px;
  background: rgba(var(--fg-rgb), 0.03);
  box-shadow: inset 0 0 0 1px var(--line);
}
.summary h3 { font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); margin-bottom: 14px; }
.summary__prog { font-size: 26px; font-weight: 820; letter-spacing: -0.04em; line-height: 1.1; }
.summary__sub { color: var(--muted); font-size: 14.5px; margin-top: 4px; }
.summary dl { margin-top: 18px; display: grid; gap: 10px; }
.summary dl div { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; border-top: 1px dashed var(--line-2); padding-top: 10px; }
.summary dt { color: var(--dim); }
.summary dd { font-weight: 650; text-align: right; }
.summary__empty { color: var(--dim); font-size: 14.5px; }
@media (max-width: 1000px) { .reg { grid-template-columns: 1fr; } .summary { position: static; order: -1; display: none; } }

/* receipt */
.receipt-wrap { display: grid; place-items: center; padding-block: 8px; }
.receipt {
  position: relative;
  width: min(520px, 100%);
  background: #ffffff;
  color: var(--on-frost);
  border-radius: 22px 22px 0 0;
  padding: 30px 28px 34px;
  animation: receiptIn .8s var(--ease) both;
  -webkit-mask: radial-gradient(9px at 50% 100%, #0000 98%, #000) 50% / 22px 100%;
  mask: radial-gradient(9px at 50% 100%, #0000 98%, #000) 50% / 22px 100%;
}
.receipt-wrap { filter: drop-shadow(0 30px 60px rgba(11, 34, 54, 0.28)); }
@keyframes receiptIn { from { opacity: 0; transform: translateY(-30px); clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
.receipt__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding-bottom: 18px; border-bottom: 2px dashed rgba(11, 34, 54, 0.15); }
.receipt__head .brand { color: var(--on-frost); font-size: 15px; }
.receipt__head .brand small { color: var(--on-frost-muted); }
.receipt__stamp {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 8px;
  color: var(--violet-deep);
  box-shadow: inset 0 0 0 2px var(--violet-deep);
  transform: rotate(4deg);
  white-space: nowrap;
}
.receipt h2 { font-size: 26px; font-weight: 820; letter-spacing: -0.04em; margin: 20px 0 4px; line-height: 1.15; outline: none; }
.receipt__code { font-family: var(--mono); font-size: 13px; color: var(--on-frost-muted); margin-bottom: 18px; }
.receipt dl { display: grid; gap: 0; }
.receipt dl div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid rgba(11, 34, 54, 0.07); font-size: 15px; }
.receipt dt { color: var(--on-frost-muted); flex: none; }
.receipt dd { font-weight: 680; text-align: right; }
.truth {
  margin-top: 22px;
  background: var(--ink);
  padding: 16px;
  border-radius: 14px;
  background: var(--on-frost);
  color: var(--text);
  font-size: 14.5px;
  line-height: 1.55;
}
.truth strong { color: var(--volt); display: block; margin-bottom: 4px; font-size: 15.5px; }
.receipt__actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 28px; }

/* ---------- reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal[data-d="1"] { transition-delay: .08s; }
.js .reveal[data-d="2"] { transition-delay: .16s; }
.js .reveal[data-d="3"] { transition-delay: .24s; }
.js .hero .split .w { display: inline-block; opacity: 0; transform: translateY(0.4em) rotate(2deg); filter: blur(6px); animation: wIn .9s var(--ease) forwards; }
@keyframes wIn { to { opacity: 1; transform: none; filter: blur(0); } }

/* spotlight hover on dark cards */
.spot { position: relative; }
.spot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(var(--fg-rgb), 0.07), transparent 45%);
  opacity: 0;
  transition: opacity .3s;
}
.spot:hover::after { opacity: 1; }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  html {
  overflow-x: clip; /* Keep angled decorative bands within the viewport. */ scroll-behavior: auto; }
  .marquee__track { animation: none; transform: none; flex-wrap: wrap; width: auto; justify-content: center; row-gap: 8px; }
  .marquee__track [aria-hidden="true"] { display: none; }
  .js .reveal { opacity: 1; transform: none; }
  .js .hero .split .w { opacity: 1; transform: none; filter: none; }
  .composer, .stage:hover .composer { transform: none; }
  .cmp-cursor { display: none; }
  .caret::after { animation: none; }
  .step::before { width: 100%; }
}

@media (forced-colors: active) {
  .mark::before { background: Highlight; }
  .btn { border: 2px solid ButtonText; }
}


/* =========================================================
   V3 brand layer — academic facade cues (columns + arch) and the real building photo
   ========================================================= */
.hero .grid-bg {
  background-image: repeating-linear-gradient(90deg,
    transparent 0 92px,
    rgba(var(--fg-rgb), 0.05) 92px 93px,
    rgba(var(--fg-rgb), 0.022) 93px 124px,
    rgba(var(--fg-rgb), 0.05) 124px 125px);
  background-size: auto;
}
.stage::before, .stage::after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
  border-radius: 999px 999px 0 0;
  border: 1.5px solid rgba(11, 183, 244, 0.45);
  border-bottom: 0;
}
.stage::before {
  inset: -9% -8% 34% -8%;
  background: linear-gradient(180deg, rgba(11, 183, 244, 0.12), rgba(11, 183, 244, 0) 72%);
}
.stage::after {
  inset: -2% 4% 40% 4%;
  border: 1px dashed rgba(196, 86, 126, 0.45);
  border-bottom: 0;
}
.dcard__art--photo { margin: 0; background: var(--stone); }
.dcard__art--photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 62%;
  transition: transform .8s var(--ease);
}
.dcard:hover .dcard__art--photo img { transform: scale(1.035); }
.dcard__art--photo::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(11, 34, 54, 0.12);
  pointer-events: none;
}
@media (max-width: 600px) {
  .stage::before { inset: -6% -4% 40% -4%; }
  .stage::after { display: none; }
}

/* =========================================================
   eng-service: real intake, status and policy pages
   ========================================================= */
.footer__links { display: inline-flex; flex-wrap: wrap; gap: 6px 16px; align-items: center; }
.footer__links a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.footer__links a:hover { color: var(--accent-text); }
.gate-note {
  margin-bottom: 18px;
  padding: 16px 18px;
  border-radius: var(--r-m);
  background: #fff6e8;
  color: #5c3b00;
  box-shadow: inset 0 0 0 1px rgba(196, 124, 0, 0.35);
}
.gate-note p { margin: 0; }
.gate-note p + p { margin-top: 6px; }
.gate-note .btn { margin-top: 10px; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.consent { display: flex; gap: 10px; align-items: flex-start; margin: 8px 0; font-size: 15.5px; }
.consent input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--accent-text); }
.consent a { color: var(--accent-text); text-underline-offset: 3px; }
.consent small { color: var(--dim); }
.turnstile { margin: 6px 0 18px; min-height: 66px; }
.turnstile-status { margin: -8px 0 16px; font-size: 14px; color: var(--muted); }
.turnstile-status.is-error { color: var(--err-text); font-weight: 600; }
.turnstile-status .btn { margin-left: 8px; }
.submit-error { margin: 0 0 14px; padding: 12px 14px; border-radius: 12px; background: #fdecef; color: var(--err-text); font-weight: 600; }
.status-link { margin-top: 18px; padding: 14px; border-radius: 14px; background: #eef9fe; box-shadow: inset 0 0 0 1px rgba(6, 104, 143, 0.3); }
.status-link p { margin: 0 0 8px; font-size: 14.5px; }
.status-link__url { font-family: var(--mono); font-size: 12.5px; word-break: break-all; color: var(--on-frost); background: #fff; padding: 8px 10px; border-radius: 8px; }
.status-wrap { display: grid; gap: 16px; max-width: 820px; }
.status-card h2 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); margin-bottom: 14px; }
.status-card h3 { font-size: 16px; margin: 18px 0 8px; }
.schedule { margin: 0; padding-left: 18px; display: grid; gap: 6px; font-variant-numeric: tabular-nums; }
.schedule li.is-done { color: var(--dim); }
.status-next { margin: 14px 0 0; padding: 12px 14px; border-radius: 12px; background: #eef9fe; box-shadow: inset 0 0 0 1px rgba(6, 104, 143, 0.3); font-size: 15px; }
.status-next strong { display: block; margin-bottom: 2px; }
.status-history { margin: 0; padding-left: 18px; display: grid; gap: 6px; font-size: 14.5px; }
.status-history__at { color: var(--dim); font-variant-numeric: tabular-nums; margin-right: 6px; }
.preline { white-space: pre-line; }
.policy { max-width: 820px; display: grid; gap: 16px; }
.policy h2 { font-size: 18px; margin: 20px 0 8px; }
.policy p { color: var(--muted); }
.draft-badge { display: inline-block; margin: 0 0 10px; padding: 6px 12px; border-radius: 999px; font-weight: 700; font-size: 13px; color: var(--violet); background: rgba(196, 86, 126, 0.12); box-shadow: inset 0 0 0 1px rgba(196, 86, 126, 0.35); }
.btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }
.plan__summary { margin-top: 6px; font-size: 14px; color: var(--muted); }
