/* =========================================================
   AAD: Academy of Academic Distinction — site styles
   A monochrome, editorial design system. Colours, type and
   radii live in :root — change them there.
   ========================================================= */

:root {
  --black: #000;
  --ink: #1d1d1f;
  --ink-2: #424245;
  --muted: #6e6e73;
  --muted-2: #86868b;
  --line: #d2d2d7;
  --line-soft: #e8e8ed;
  --canvas: #ffffff;
  --canvas-2: #f5f5f7;
  --canvas-3: #fbfbfd;
  --on-dark: #f5f5f7;
  --on-dark-muted: #a1a1a6;
  --dark-card: #1c1c1e;
  --dark-line: rgba(255, 255, 255, .14);
  --success: #1f7a4d;
  --danger: #c4352b;

  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 28px;
  --radius-xl: 34px;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .04), 0 6px 20px -10px rgba(0, 0, 0, .12);
  --shadow: 0 24px 50px -26px rgba(0, 0, 0, .28);
  --shadow-lg: 0 40px 90px -36px rgba(0, 0, 0, .38);

  --font: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI", Roboto, Arial, sans-serif;
  --font-display: "Instrument Serif", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --container: 1200px;
  color-scheme: light;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.55; letter-spacing: .003em;
  color: var(--ink); background: var(--canvas);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
  overflow-x: hidden; overflow-x: clip;
}
img, svg, video, iframe { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
::selection { background: #e8e8ed; color: var(--black); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3, h4 { margin: 0 0 .45em; color: var(--ink); font-weight: 700; line-height: 1.07; letter-spacing: -.03em; }
h1 { font-size: clamp(2.6rem, 5.6vw, 4.6rem); letter-spacing: -.038em; line-height: 1.04; }
h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); }
h3 { font-size: 1.32rem; font-weight: 650; letter-spacing: -.02em; line-height: 1.2; }
h4 { font-size: 1.02rem; font-weight: 600; letter-spacing: -.01em; }
h1 em, h2 em, h3 em { font-style: normal; color: var(--muted-2); }

.container { width: min(var(--container), 100% - 44px - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px)); margin-inline: auto; }
.container--narrow { width: min(860px, 100% - 44px - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px)); margin-inline: auto; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: .7rem 1rem; border-radius: 10px; text-decoration: none; font-weight: 600; transition: top .2s; }
.skip-link:focus { top: 12px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Icons ---------- */
.i { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.i-sm { width: 16px; height: 16px; }
.i-lg { width: 28px; height: 28px; }

/* ---------- Type helpers ---------- */
.eyebrow { display: block; font-size: .95rem; font-weight: 600; letter-spacing: -.005em; color: var(--muted); margin-bottom: .75rem; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.32rem); line-height: 1.45; color: var(--muted); max-width: 46ch; letter-spacing: -.016em; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .82rem 1.4rem; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: .98rem; line-height: 1.2; letter-spacing: .005em;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.btn:active { transform: scale(.98); }
.btn .i { width: 17px; height: 17px; }
.btn-primary, .btn-gold { background: var(--ink); color: #fff; }
.btn-primary:hover, .btn-gold:hover { background: #3a3a3c; }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: #e8e8ed; }
.btn-ghost-light { background: transparent; border-color: rgba(255, 255, 255, .4); color: #fff; }
.btn-ghost-light:hover { border-color: #fff; }
.btn-lg { padding: 1rem 1.7rem; font-size: 1.04rem; }
.btn-sm { padding: .55rem 1rem; font-size: .86rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: progress; }
.btn .i-arrow { transition: transform .25s ease; }
.btn:hover .i-arrow { transform: translateX(3px); }

.link-arrow { display: inline-flex; align-items: center; gap: .35rem; font-weight: 600; color: var(--ink); text-decoration: none; letter-spacing: .005em; }
.link-arrow:hover { text-decoration: underline; text-underline-offset: 4px; }
.link-arrow .i { width: 15px; height: 15px; transition: transform .25s ease; }
.link-arrow:hover .i { transform: translateX(3px); }
.section--dark .link-arrow, .on-dark .link-arrow { color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, .82);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent; transition: border-color .25s ease;
}
.site-header.is-scrolled { border-color: rgba(0, 0, 0, .08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--ink); min-width: 0; }
.brand-mark {
  flex: none; width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center;
  background: var(--ink); color: #fff; font-weight: 750; font-size: .92rem; letter-spacing: -.02em;
}
.brand-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.15; }
.brand-name { font-weight: 700; font-size: 1.02rem; letter-spacing: -.02em; white-space: nowrap; }
.brand-sub { font-size: .72rem; color: var(--muted); white-space: nowrap; letter-spacing: -.005em; }

.nav { display: flex; align-items: center; gap: .8rem; }
.nav-list { display: flex; gap: 1rem; list-style: none; margin-right: .2rem; }
.nav > *, .nav-list > li { flex-shrink: 0; }
.nav-list a, .nav .btn { white-space: nowrap; }
.nav .btn-sm { padding: .55rem .85rem; }
.brand { flex-shrink: 0; }
.nav-list a { position: relative; display: inline-block; padding: .35rem 0; text-decoration: none; font-size: .9rem; color: var(--ink-2); transition: color .2s; }
.nav-list a:hover { color: var(--black); }
.nav-list a[aria-current="page"] { color: var(--black); font-weight: 600; }
.nav-list a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1.5px; background: var(--ink); border-radius: 2px; }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 0; background: transparent; cursor: pointer; color: var(--ink); align-items: center; justify-content: center; }
.nav-toggle .i { width: 22px; height: 22px; }
.nav-toggle .i-close { display: none; }
.site-header.nav-open .nav-toggle .i-open { display: none; }
.site-header.nav-open .nav-toggle .i-close { display: block; }

.scroll-progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; background: var(--ink); transform-origin: left; transform: scaleX(0); }

/* ---------- Sections ---------- */
.section { padding: clamp(80px, 10vw, 140px) 0; position: relative; }
.section--tight { padding: clamp(56px, 7vw, 88px) 0; }
.section--gray { background: var(--canvas-2); }
.section--white { background: var(--canvas); }
.section--dark { background: var(--black); color: var(--on-dark-muted); }
.section--dark h2, .section--dark h3, .section--dark h4 { color: var(--on-dark); }
.section--dark h2 em { color: #6e6e73; }
.section--dark .eyebrow, .section--dark .lead, .section--dark .muted { color: var(--on-dark-muted); }
.section-head { max-width: 780px; margin-bottom: clamp(44px, 6vw, 72px); }
.section-head.center { margin-inline: auto; }
.section-head h2 { margin-bottom: .3em; }
.section-foot { margin-top: 48px; display: flex; gap: 1rem 1.5rem; flex-wrap: wrap; align-items: center; }
.section-foot.center { justify-content: center; }

.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.split--top { align-items: start; }
.split--wide-left { grid-template-columns: 1.15fr .85fr; }
.split--wide-right { grid-template-columns: .85fr 1.15fr; }

/* ---------- Photos ---------- */
.photo { position: relative; margin: 0; border-radius: var(--radius-xl); overflow: hidden; background: var(--canvas-2); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo--4x3 { aspect-ratio: 4 / 3; }
.photo--5x4 { aspect-ratio: 5 / 4; }
.photo--wide { aspect-ratio: 21 / 9; }
.photo--square { aspect-ratio: 1; }
.photo-chip {
  position: absolute; left: 18px; bottom: 18px; display: inline-flex; align-items: center; gap: .5rem;
  padding: .5rem .9rem; border-radius: 999px; font-size: .84rem; font-weight: 600; color: var(--ink);
  background: rgba(255, 255, 255, .86); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 8px 24px -12px rgba(0, 0, 0, .35);
}
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #34c759; box-shadow: 0 0 0 3px rgba(52, 199, 89, .22); flex: none; }

/* ---------- Rotating photo stacks & collages ----------
   Each [data-rotator] holds a stack of photos; main.js crossfades through them.
   The first photo is visible without JavaScript. */
[data-rotator] { position: relative; overflow: hidden; background: var(--canvas-2); }
[data-rotator] > img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%;
  opacity: 0; transform: scale(1.06); transition: opacity 1.4s ease, transform 9s linear;
}
[data-rotator] > img.is-on { opacity: 1; transform: scale(1); }
[data-rotator] > .photo-chip { z-index: 2; }

.mosaic { display: grid; grid-template-columns: 1.55fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px; aspect-ratio: 21 / 9; }
.mosaic .tile { border-radius: 22px; transition: opacity .9s ease, transform .9s cubic-bezier(.2, .7, .2, 1); }
.mosaic .tile-1 { grid-row: span 2; border-radius: var(--radius-xl); }
.mosaic .tile-2 { transition-delay: .1s; }
.mosaic .tile-3 { transition-delay: .2s; }
.mosaic .tile-4 { transition-delay: .3s; }
.mosaic .tile-5 { transition-delay: .4s; }
.js .mosaic:not(.in-view) .tile { opacity: 0; transform: translateY(18px) scale(.98); }
.mosaic--gallery { aspect-ratio: 2 / 1; }
.mosaic--gallery .photo-chip { font-size: .8rem; padding: .4rem .8rem; left: 14px; bottom: 14px; }

/* ---------- Home hero slider ---------- */
.hero { padding: clamp(28px, 4vw, 56px) 0 clamp(36px, 5vw, 64px); background: var(--canvas); }
.hs-track { display: grid; gap: 64px; }
.hs-slide { display: grid; grid-template-columns: .92fr 1.08fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.js .hs-slide { grid-area: 1 / 1; transition: opacity .6s ease, visibility 0s linear .6s; }
.js .hs-slide:not(.is-active) { opacity: 0; visibility: hidden; }
.js .hs-slide.is-active { transition: opacity .7s ease .1s, visibility 0s; }
.hs-copy > * { transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.js .hs-slide:not(.is-active) .hs-copy > * { opacity: 0; transform: translateY(16px); }
.js .hs-slide.is-active .hs-copy > :nth-child(2) { transition-delay: .12s; }
.js .hs-slide.is-active .hs-copy > :nth-child(3) { transition-delay: .22s; }
.js .hs-slide.is-active .hs-copy > :nth-child(4) { transition-delay: .32s; }
.hs-kicker { display: inline-flex; align-items: center; gap: .5rem; font-size: .95rem; font-weight: 600; color: var(--muted); margin-bottom: .9rem; }
.hs-title { font-size: clamp(2.6rem, 5.4vw, 4.6rem); line-height: 1.03; letter-spacing: -.04em; margin-bottom: .32em; }
.hs-sub { font-size: clamp(1.08rem, 1.5vw, 1.28rem); line-height: 1.45; color: var(--muted); max-width: 30em; margin-bottom: 1.8rem; letter-spacing: -.015em; }
.hs-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.6rem; }
.hs-media { aspect-ratio: 5 / 4; }
.hs-controls { display: none; align-items: center; gap: 14px; margin-top: 26px; }
.js .hs-controls { display: flex; }
.hs-dots { display: flex; align-items: center; gap: 8px; }
.hs-dot { position: relative; width: 9px; height: 9px; padding: 0; border: 0; border-radius: 99px; background: var(--line); cursor: pointer; overflow: hidden; transition: width .4s ease, background-color .3s ease; }
.hs-dot:hover { background: var(--muted-2); }
.hs-dot[aria-current="true"] { width: 46px; background: var(--line); }
.hs-fill { position: absolute; inset: 0; border-radius: inherit; background: var(--ink); transform-origin: left; display: none; }
.hs-dot[aria-current="true"] .hs-fill { display: block; animation: hs-fill 7s linear both; }
.hero-slider.is-paused .hs-fill { animation-play-state: paused; }
@keyframes hs-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hs-pause { width: 34px; height: 34px; border-radius: 50%; border: 0; background: var(--canvas-2); color: var(--ink); display: grid; place-items: center; cursor: pointer; }
.hs-pause:hover { background: var(--line-soft); }
.hs-pause .i { width: 15px; height: 15px; }
.hs-pause .i-play, .hero-slider.is-paused .hs-pause .i-pause { display: none; }
.hero-slider.is-paused .hs-pause .i-play { display: block; }

.hero-proof { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line-soft); }
.avatar-stack { display: flex; }
.avatar-stack span {
  width: 38px; height: 38px; border-radius: 50%; margin-left: -10px; display: grid; place-items: center;
  font-size: .72rem; font-weight: 700; color: #fff; background: var(--ink); border: 2px solid #fff;
}
.avatar-stack span:first-child { margin-left: 0; }
.avatar-stack span:nth-child(2) { background: #3a3a3c; }
.avatar-stack span:nth-child(3) { background: #636366; }
.avatar-stack span:nth-child(4) { background: #8e8e93; }
.avatar-stack span:last-child { width: auto; padding: 0 12px; border-radius: 99px; background: var(--canvas-2); color: var(--ink); }
.proof-main { margin: 0; font-size: .95rem; color: var(--muted); }
.proof-main strong { display: block; color: var(--ink); font-size: 1.02rem; }
.stars { display: inline-flex; gap: 2px; color: var(--ink); vertical-align: -2px; }
.stars .i { width: 15px; height: 15px; }
.proof-points { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; margin-left: auto; font-size: .9rem; color: var(--ink-2); }
.proof-points li { display: inline-flex; align-items: center; gap: .45rem; }
.proof-points .i { width: 16px; height: 16px; }

/* ---------- Trust ticker ---------- */
.trust { border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); background: var(--canvas); }
.trust-inner { display: flex; align-items: center; gap: 2.4rem; padding: 22px 0; }
.trust-label { flex: none; margin: 0; font-size: .86rem; font-weight: 600; color: var(--muted); max-width: 170px; line-height: 1.35; }
.marquee {
  overflow: hidden; flex: 1; min-width: 0; align-self: stretch; max-width: 100%; display: flex; align-items: center;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.marquee-track { display: flex; width: max-content; list-style: none; animation: marquee 40s linear infinite; }
.marquee-track li { position: relative; padding-right: 3rem; font-size: 1.12rem; font-weight: 600; letter-spacing: -.02em; color: var(--ink-2); white-space: nowrap; }
.marquee-track li::after { content: ""; position: absolute; right: calc(1.5rem - 2.5px); top: 50%; width: 5px; height: 5px; margin-top: -2.5px; border-radius: 50%; background: var(--line); }
.marquee:hover .marquee-track { animation-play-state: paused; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.stat { padding: 8px 28px; border-left: 1px solid var(--dark-line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat-num { font-size: clamp(2.6rem, 5vw, 4rem); font-weight: 700; line-height: 1; letter-spacing: -.045em; color: var(--on-dark); }
.stat-num .unit { color: #6e6e73; }
.stat-label { margin-top: .7rem; font-size: .95rem; color: var(--on-dark-muted); line-height: 1.4; }
.stat-num .count { font-variant-numeric: tabular-nums; }
.stats--light .stat { border-color: var(--line); }
.stats--light .stat-num { color: var(--ink); }
.stats--light .stat-num .unit { color: var(--muted-2); }
.stats--light .stat-label { color: var(--muted); }

/* ---------- Cards ---------- */
.card { position: relative; background: var(--canvas); border-radius: var(--radius-lg); padding: 32px; transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s ease; }
.section--gray .card, .card--white { background: #fff; }
.section--white .card, .card--gray { background: var(--canvas-2); }
.card h3 { margin-bottom: .4em; }
.card p { color: var(--muted); }
.card p:last-child { margin-bottom: 0; }
.card--hover:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card--link { display: flex; flex-direction: column; text-decoration: none; }
.card--link .link-arrow { margin-top: auto; align-self: flex-start; }
.card--dark { background: var(--dark-card); color: var(--on-dark-muted); }
.card--dark h3 { color: var(--on-dark); }
.card--dark p { color: var(--on-dark-muted); }
.icon-badge { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; margin-bottom: 22px; background: var(--ink); color: #fff; }
.icon-badge .i { width: 24px; height: 24px; stroke-width: 1.6; }
.icon-badge--soft { background: var(--canvas-2); color: var(--ink); }
.section--gray .icon-badge--soft { background: #fff; }
.card--dark .icon-badge, .section--dark .icon-badge { background: #2c2c2e; color: #fff; }
.tag-list { display: flex; flex-wrap: wrap; gap: 7px; list-style: none; margin: 16px 0 22px; }
.tag { font-size: .78rem; font-weight: 500; padding: .3rem .7rem; border-radius: 999px; background: var(--canvas-2); color: var(--ink-2); }
.section--white .card .tag, .card--gray .tag { background: #fff; }

.check-list { list-style: none; display: grid; gap: 12px; }
.check-list li { display: flex; gap: .75rem; align-items: flex-start; }
.check-list li::before {
  content: ""; flex: none; width: 22px; height: 22px; margin-top: 1px; border-radius: 50%;
  background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.section--dark .check-list li::before, .check-list--light li::before { background-color: #fff; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }

.feature-list { list-style: none; display: grid; gap: 22px; }
.feature-list li { display: grid; grid-template-columns: 46px 1fr; gap: 16px; align-items: start; }
.feature-list .icon-badge { width: 46px; height: 46px; margin: 0; border-radius: 13px; }
.feature-list .icon-badge .i { width: 21px; height: 21px; }
.feature-list strong { display: block; color: var(--ink); font-size: 1.05rem; letter-spacing: -.015em; }
.feature-list span { color: var(--muted); font-size: .95rem; }
.section--dark .feature-list strong { color: var(--on-dark); }
.section--dark .feature-list span { color: var(--on-dark-muted); }

/* ---------- Illustration panels (.art) ---------- */
.art { position: relative; overflow: hidden; isolation: isolate; background: radial-gradient(260px 160px at 85% 0%, rgba(255, 255, 255, .1), transparent 70%), linear-gradient(160deg, #2c2c2e 0%, #0b0b0c 100%); }
.art::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px); background-size: 20px 20px; }
.art svg { display: block; width: 100%; height: auto; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.art-draw { stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke-dashoffset 1.8s cubic-bezier(.4, .1, .2, 1) .2s; }
.js .art:not(.in-view) .art-draw { stroke-dashoffset: 1; }
.art-fade { transition: opacity 1s ease 1s; }
.js .art:not(.in-view) .art-fade { opacity: 0; }
.pend { transform-box: view-box; transform-origin: 110px 16px; animation: swing 1.7s ease-in-out infinite alternate; }
.mol { transform-box: view-box; transform-origin: 88px 70px; animation: spin 30s linear infinite; }
.bubble { fill: rgba(255, 255, 255, .75); transform-box: fill-box; animation: rise 3.2s ease-in infinite both; }
.code-line { animation: code-type 9s ease infinite both; }
.code-cursor { animation: blink 1s step-end infinite; }
.gear-a { transform-box: fill-box; transform-origin: center; animation: spin 12s linear infinite; }
.gear-b { transform-box: fill-box; transform-origin: center; animation: spin 8s linear infinite reverse; }
.load { animation: bob 2.2s ease-in-out infinite; }
.t-arrow { animation: arrow-hit 4.6s cubic-bezier(.2, .8, .2, 1) infinite both; }
.t-ring { transform-box: fill-box; transform-origin: center; opacity: 0; animation: ring-hit 4.6s ease-out infinite; }
.t-bar { transform-box: fill-box; transform-origin: bottom; transition: transform 1s cubic-bezier(.2, .7, .2, 1); }
.js .art:not(.in-view) .t-bar { transform: scaleY(0); }
.star { animation: twinkle 2.8s ease-in-out infinite; }
.big-star { transform-box: fill-box; transform-origin: center; animation: star-pulse 2.4s ease-in-out infinite; }
.needle { transform-box: view-box; transform-origin: 44px 40px; animation: wobble 5s ease-in-out infinite; }

.card.card--art { padding: 0; overflow: hidden; }
.card--art .art { border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
.card--art:hover .art svg { transform: scale(1.04); }
.card-body { padding: 26px 30px 30px; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { margin-bottom: .3em; }
.card-body .tag-list { margin: 14px 0 22px; }
.subject-art { border-radius: var(--radius-lg); }

/* ---------- Knowledge graph ---------- */
.kg { background: #fff; border-radius: var(--radius-lg); padding: 22px 22px 18px; box-shadow: var(--shadow-sm); }
.kg-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 6px; }
.kg-toggle { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--canvas-2); }
.kg-toggle button { border: 0; background: transparent; padding: .5rem 1.05rem; border-radius: 999px; font-weight: 600; font-size: .88rem; color: var(--muted); cursor: pointer; transition: background-color .3s ease, color .3s ease, box-shadow .3s ease; }
.kg-toggle button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 2px 8px -2px rgba(0, 0, 0, .18); }
.kg-hint { font-size: .8rem; color: var(--muted-2); }
.kg-svg { display: block; width: 100%; height: auto; }
.kg-node { transform: translate(var(--mx), var(--my)) rotate(var(--mr)); transition: transform 1.1s cubic-bezier(.65, 0, .2, 1); transition-delay: calc(var(--i) * 70ms); }
.kg.is-understood .kg-node { transform: translate(var(--ux), var(--uy)) rotate(0deg); }
.kg-bob { animation: float 5s ease-in-out infinite; animation-delay: calc(var(--i) * -.7s); }
.kg.is-understood .kg-bob { animation: none; }
.kg-node rect { fill: var(--canvas-2); stroke: #c7c7cc; stroke-dasharray: 4 4; transition: fill .6s ease, stroke .6s ease; }
.kg-node text { fill: #8e8e93; font: 600 14px var(--font); transition: fill .6s ease; }
.kg.is-understood .kg-node rect { fill: #fff; stroke: var(--ink); stroke-dasharray: none; }
.kg.is-understood .kg-node text { fill: var(--ink); }
.kg.is-understood .kg-node.is-root rect { fill: var(--ink); }
.kg.is-understood .kg-node.is-root text { fill: #fff; }
.kg-edges path { fill: none; stroke: var(--muted-2); stroke-width: 1.5; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .8s ease; }
.kg.is-understood .kg-edges path { stroke-dashoffset: 0; transition-delay: calc(.9s + var(--i) * 90ms); }
.kg-caption { margin: 6px 0 0; text-align: center; font-weight: 600; color: var(--muted-2); font-size: .98rem; }
.kg-caption [data-kg-cap="understood"], .kg.is-understood .kg-caption [data-kg-cap="memorized"] { display: none; }
.kg.is-understood .kg-caption [data-kg-cap="understood"] { display: inline; color: var(--ink); }

.pillars { list-style: none; display: grid; gap: 22px; margin-top: 32px; }
.pillars li { display: grid; grid-template-columns: 46px 1fr; gap: 16px; align-items: start; }
.pillars .icon-badge { width: 46px; height: 46px; margin: 0; border-radius: 13px; }
.pillars .icon-badge .i { width: 21px; height: 21px; }
.pillars strong { display: block; color: var(--ink); font-size: 1.05rem; letter-spacing: -.015em; }
.pillars span { color: var(--muted); font-size: .95rem; }

/* ---------- Method steps ---------- */
.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; list-style: none; position: relative; }
.steps::before { content: ""; position: absolute; top: 28px; left: 10%; right: 10%; height: 1px; background: var(--line); transform-origin: left; transition: transform 1.6s cubic-bezier(.4, .1, .2, 1); }
.step { position: relative; text-align: center; padding: 0 6px; transition: opacity .6s ease, transform .6s ease; }
.step:nth-child(2) { transition-delay: .25s; }
.step:nth-child(3) { transition-delay: .5s; }
.step:nth-child(4) { transition-delay: .75s; }
.step:nth-child(5) { transition-delay: 1s; }
.js .steps:not(.in-view)::before { transform: scaleX(0); }
.js .steps:not(.in-view) .step { opacity: 0; transform: translateY(14px); }
.step-num { position: relative; z-index: 1; width: 56px; height: 56px; margin: 0 auto 20px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; box-shadow: 0 0 0 8px var(--canvas); }
.section--gray .step-num { box-shadow: 0 0 0 8px var(--canvas-2); }
.step-num .i { width: 23px; height: 23px; }
.step-n { position: absolute; top: -5px; right: -5px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: .7rem; font-weight: 700; background: #fff; color: var(--ink); border: 1px solid var(--line); }
.step h3 { font-size: 1.12rem; margin-bottom: .35em; }
.step p { font-size: .93rem; color: var(--muted); margin: 0; }

.method { list-style: none; counter-reset: m; }
.method-item { display: grid; grid-template-columns: 90px 1fr 1fr; gap: 32px; padding: 40px 0; border-top: 1px solid var(--line); align-items: start; }
.method-item:last-child { border-bottom: 1px solid var(--line); }
.method-num { font-size: 3rem; font-weight: 700; line-height: 1; letter-spacing: -.05em; color: #c7c7cc; }
.method-item h3 { font-size: 1.55rem; }
.method-item p { color: var(--muted); }
.method-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 14px; background: var(--ink); color: #fff; }
.method-icon .i { width: 21px; height: 21px; }

/* ---------- Research mentorship ---------- */
.milestones { list-style: none; display: grid; gap: 0; margin: 28px 0 0; position: relative; }
.milestones li { display: grid; grid-template-columns: 40px 1fr; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line-soft); align-items: start; }
.milestones li:first-child { border-top: 0; }
.ms-ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--ink); color: #fff; }
.ms-ico .i { width: 19px; height: 19px; }
.milestones strong { display: block; color: var(--ink); letter-spacing: -.015em; }
.milestones span { color: var(--muted); font-size: .94rem; }
.quote-card { margin: 0; padding: 30px 32px; border-radius: var(--radius-lg); background: var(--ink); color: var(--on-dark); }
.quote-card blockquote { margin: 0 0 18px; font-size: 1.18rem; line-height: 1.45; font-weight: 500; letter-spacing: -.015em; }
.quote-card figcaption { display: flex; align-items: center; gap: 12px; font-size: .9rem; color: var(--on-dark-muted); }
.quote-card figcaption strong { display: block; color: #fff; }
.quote-card .avatar { background: #2c2c2e; color: #fff; border: 0; }
.quote-card--light { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.quote-card--light figcaption { color: var(--muted); }
.quote-card--light figcaption strong { color: var(--ink); }
.quote-card--light .avatar { background: var(--canvas-2); color: var(--ink); }

/* ---------- Online classroom mock-up ---------- */
.teach-grid { display: grid; grid-template-columns: 1.5fr .9fr; gap: 36px; align-items: center; }
.classroom { background: #fff; border-radius: 24px; box-shadow: var(--shadow-lg); overflow: hidden; border: 1px solid var(--line-soft); }
.classroom-bar { display: flex; align-items: center; gap: 14px; padding: 12px 18px; border-bottom: 1px solid var(--line-soft); background: var(--canvas-3); font-size: .82rem; color: var(--muted); }
.board-dots { display: flex; gap: 6px; }
.board-dots span { width: 10px; height: 10px; border-radius: 50%; background: #d1d1d6; }
.classroom-title { font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.live-pill { margin-left: auto; display: inline-flex; gap: 7px; align-items: center; padding: .25rem .7rem; border-radius: 999px; background: var(--canvas-2); color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.live-pill .live-dot { animation: blink 1.6s ease-in-out infinite; }
.classroom-body { display: grid; grid-template-columns: 1fr 150px; gap: 14px; padding: 14px; background: var(--canvas-2); }
.wb { position: relative; container-type: inline-size; overflow: hidden; min-height: 300px; padding: 22px 26px; border-radius: 14px; background-color: #fff; background-image: radial-gradient(circle, #e5e5ea 1px, transparent 1.3px); background-size: 22px 22px; }
.wb-line { position: relative; z-index: 1; width: max-content; font-family: "Caveat", "Segoe Print", "Bradley Hand", cursive; font-weight: 600; font-size: 26px; font-size: clamp(19px, 6.2cqw, 31px); line-height: 1.3; color: var(--ink); animation: wb1 12s linear infinite both; }
.wb-line sub, .wb-line sup { font-size: .6em; }
.wb-line--title { font-size: clamp(15px, 4.4cqw, 21px); color: var(--muted-2); }
.wb-line--note { color: var(--muted); }
.wb-circle { position: absolute; left: -12px; top: -8px; width: calc(100% + 24px); height: calc(100% + 16px); overflow: visible; }
.wb-circle ellipse, .wb-sketch path { fill: none; stroke-dasharray: 1; animation: wbe 12s ease infinite both; }
.wb-circle ellipse { stroke: var(--ink); stroke-width: 2.2; }
.wb-sketch { position: absolute; right: 18px; top: 18px; width: 38%; max-width: 170px; height: auto; }
.wb-sketch path { stroke: var(--ink); stroke-width: 2.2; stroke-linecap: round; }
.wb-sketch .sk-curve { stroke: var(--muted-2); }
.js .classroom:not(.in-view) .wb-line, .js .classroom:not(.in-view) .wb-circle ellipse, .js .classroom:not(.in-view) .wb-sketch path { animation-play-state: paused; }
.tiles { display: grid; gap: 14px; grid-template-rows: 1fr 1fr; }
.tile { position: relative; border-radius: 14px; overflow: hidden; display: grid; place-items: end center; min-height: 136px; background: linear-gradient(160deg, #3a3a3c, #1c1c1e); }
.tile--student { background: linear-gradient(160deg, #636366, #2c2c2e); }
.tile--tutor { box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .9); animation: speak-ring 2.4s ease-in-out infinite; }
.tile svg { width: 78%; height: auto; }
.tile-name { position: absolute; left: 8px; bottom: 8px; font-size: .7rem; font-weight: 600; color: #fff; background: rgba(0, 0, 0, .45); padding: .15rem .5rem; border-radius: 6px; }
.speaking { position: absolute; right: 9px; top: 9px; display: flex; gap: 2px; align-items: flex-end; height: 14px; }
.speaking i { width: 3px; height: 100%; border-radius: 2px; background: #34c759; transform-origin: bottom; animation: eq .9s ease-in-out infinite; }
.speaking i:nth-child(2) { animation-delay: .2s; }
.speaking i:nth-child(3) { animation-delay: .4s; }
.classroom-tools { display: flex; align-items: center; gap: 10px; padding: 12px 18px; border-top: 1px solid var(--line-soft); background: #fff; }
.tool { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--canvas-2); color: var(--ink); }
.tool.is-on { background: var(--ink); color: #fff; }
.tool .i { width: 17px; height: 17px; }
.saved-chip { margin-left: auto; font-size: .78rem; color: var(--success); display: inline-flex; gap: 6px; align-items: center; font-weight: 600; white-space: nowrap; }
.saved-chip .i { width: 15px; height: 15px; }

/* ---------- Live clocks ---------- */
.clock-card { margin-top: 28px; padding: 20px; border-radius: 22px; background: var(--canvas-2); }
.section--gray .clock-card, .aside-stack .clock-card { background: #fff; }
.aside-stack .clock-card { margin-top: 0; }
.clock-card-title { display: flex; align-items: center; gap: .5rem; font-size: .86rem; font-weight: 600; color: var(--muted); margin: 0 0 14px; }
.clock-card-title .i { width: 16px; height: 16px; }
.clocks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.clock { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 0 8px; background: #fff; border-radius: 14px; padding: 10px 12px; }
.section--gray .clock, .aside-stack .clock { background: var(--canvas-2); }
.clock-city { font-size: .74rem; color: var(--muted); font-weight: 600; }
.clock-time { grid-column: 1; font-size: 1.12rem; font-weight: 650; color: var(--ink); font-variant-numeric: tabular-nums; letter-spacing: -.02em; line-height: 1.25; }
.clock-ico { grid-column: 2; grid-row: 1 / span 2; color: var(--ink); display: grid; }
.clock-ico .i { width: 19px; height: 19px; }
.clock .i-moon, .clock.is-night .i-sun { display: none; }
.clock.is-night .i-moon { display: block; color: var(--muted-2); }

/* ---------- Founders & team ---------- */
.founders { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.founder { background: var(--ink); color: var(--on-dark-muted); border-radius: var(--radius-xl); padding: clamp(28px, 4vw, 44px); position: relative; overflow: hidden; }
.founder::after { content: ""; position: absolute; right: -90px; top: -90px; width: 260px; height: 260px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 0 0 36px rgba(255, 255, 255, .025), 0 0 0 72px rgba(255, 255, 255, .02); }
.founder-mono { position: relative; width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 24px; background: #fff; color: var(--ink); font-weight: 750; font-size: 1.15rem; letter-spacing: -.02em; }
.founder-mono::after { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 1.5px dashed rgba(255, 255, 255, .45); animation: spin 18s linear infinite; }
.founder-role { margin: 0 0 4px; font-size: 1.5rem; font-weight: 700; letter-spacing: -.025em; color: #fff; }
.founder-cred { margin: 0 0 22px; font-size: .98rem; color: var(--on-dark-muted); }
.founder-cred strong { color: #fff; font-weight: 600; }
.cred-list { list-style: none; display: grid; gap: 13px; position: relative; z-index: 1; }
.cred-list li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; font-size: .95rem; line-height: 1.45; }
.cred-list .i { width: 19px; height: 19px; color: #fff; margin-top: 2px; }
.cred-list strong { color: #fff; font-weight: 600; }
.team-band { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; margin-top: 22px; padding: clamp(24px, 4vw, 44px); background: #fff; border-radius: var(--radius-xl); }
.section--white .team-band { background: var(--canvas-2); }
.team-band .photo { aspect-ratio: 4 / 3; border-radius: var(--radius-lg); }
.team-num { font-size: clamp(3.4rem, 7vw, 5.4rem); font-weight: 750; letter-spacing: -.05em; line-height: .95; color: var(--ink); }
.team-num span { color: var(--muted-2); }
.team-points { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 22px; margin-top: 24px; }
.team-points li { display: flex; gap: .6rem; align-items: flex-start; font-size: .96rem; color: var(--ink-2); }
.team-points .i { width: 19px; height: 19px; margin-top: 1px; }

/* ---------- Profile photo tiles ---------- */
.profile-tile { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius-lg); overflow: hidden; transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s ease; }
.profile-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.profile-tile .photo { border-radius: 0; aspect-ratio: 3 / 2; }
.profile-body { padding: 24px 28px 30px; }
.profile-label { font-size: .86rem; font-weight: 600; color: var(--muted); margin-bottom: 6px; }
.profile-body h3 { margin-bottom: .35em; }
.profile-body p { color: var(--muted); margin: 0; }
.not-for { margin-top: 26px; padding: 18px 24px; border-radius: var(--radius); background: #fff; display: flex; gap: 12px; align-items: center; color: var(--muted); font-size: .96rem; }
.not-for .i { color: var(--ink); }
.not-for strong { color: var(--ink); }

/* ---------- Testimonial carousel ---------- */
.tcar-track { display: grid; gap: 56px; overflow-x: hidden; overflow-x: clip; }
.tslide { display: grid; grid-template-columns: 1.4fr .6fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.js .tslide { grid-area: 1 / 1; transition: opacity .3s ease, transform .3s ease, visibility 0s linear .3s; }
.js .tslide:not(.is-active) { opacity: 0; transform: translateX(28px); visibility: hidden; }
.js .tslide.is-active { transition: opacity .5s ease .3s, transform .5s ease .3s, visibility 0s; }
.tslide .stars { color: #fff; }
.tslide blockquote { margin: 18px 0 26px; font-size: clamp(1.4rem, 2.5vw, 2.05rem); line-height: 1.32; color: #fff; font-weight: 600; letter-spacing: -.025em; }
.tslide blockquote::before { content: "\201C"; }
.tslide blockquote::after { content: "\201D"; }
.tslide .testimonial-author { border-color: var(--dark-line); max-width: 460px; }
.tslide .testimonial-name { color: #fff; }
.tslide .testimonial-meta { color: var(--on-dark-muted); }
.tslide .avatar { background: #2c2c2e; color: #fff; border: 0; }
.tslide-result { background: var(--dark-card); border-radius: 22px; padding: 28px; }
.tres-label { font-size: .86rem; font-weight: 600; color: var(--on-dark-muted); margin-bottom: 20px; }
.tres-row { display: grid; grid-template-columns: 50px 1fr 46px; gap: 12px; align-items: center; margin-bottom: 14px; font-size: .84rem; color: var(--on-dark-muted); }
.tres-row b { color: #fff; font-size: 1.2rem; font-weight: 700; text-align: right; letter-spacing: -.02em; }
.tres-bar { height: 10px; border-radius: 99px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.tres-bar i { display: block; height: 100%; width: var(--w); border-radius: inherit; background: #636366; transform-origin: left; transition: transform 1.1s cubic-bezier(.2, .7, .2, 1) .35s; }
.tres-row.is-after .tres-bar i { background: #fff; transition-delay: .6s; }
.js .tslide:not(.is-active) .tres-bar i, .js .tcar:not(.in-view) .tres-bar i { transform: scaleX(0); }
.tres-delta { display: inline-flex; align-items: center; gap: .4rem; margin-top: 8px; padding: .35rem .8rem; border-radius: 999px; background: #fff; color: var(--ink); font-weight: 700; font-size: .84rem; }
.tres-steps { list-style: none; display: grid; gap: 12px; }
.tres-steps li { display: flex; align-items: center; gap: .7rem; font-size: .93rem; color: var(--on-dark-muted); transition: opacity .5s ease, transform .5s ease; }
.tres-steps li::before { content: ""; width: 20px; height: 20px; flex: none; border-radius: 50%; background: #3a3a3c url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat; }
.tres-steps li:last-child { color: #fff; font-weight: 600; }
.tres-steps li:last-child::before { background-color: #fff; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }
.tres-steps li:first-child { transition-delay: .3s; }
.tres-steps li:nth-child(2) { transition-delay: .5s; }
.tres-steps li:nth-child(3) { transition-delay: .7s; }
.tres-steps li:nth-child(4) { transition-delay: .9s; }
.js .tslide:not(.is-active) .tres-steps li, .js .tcar:not(.in-view) .tres-steps li { opacity: 0; transform: translateX(-8px); }
.tcar-controls { display: none; align-items: center; gap: 18px; margin-top: 44px; }
.js .tcar-controls { display: flex; }
.tcar-btn { width: 46px; height: 46px; border-radius: 50%; border: 0; background: #2c2c2e; color: #fff; display: grid; place-items: center; cursor: pointer; transition: background-color .2s ease; }
.tcar-btn:hover { background: #48484a; }
.tcar-prev .i { transform: rotate(180deg); }
.tcar-dots { display: flex; gap: 8px; }
.tcar-dot { width: 9px; height: 9px; border-radius: 99px; border: 0; padding: 0; background: #48484a; cursor: pointer; transition: width .3s ease, background-color .3s ease; }
.tcar-dot[aria-current="true"] { width: 30px; background: #fff; }

/* ---------- Testimonial cards (results page) ---------- */
.testimonial { display: flex; flex-direction: column; height: 100%; padding: 30px; border-radius: var(--radius-lg); background: var(--canvas-2); }
.section--gray .testimonial { background: #fff; }
.testimonial-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; }
.testimonial-result { font-size: .74rem; font-weight: 700; padding: .3rem .65rem; border-radius: 999px; background: var(--ink); color: #fff; white-space: nowrap; }
.testimonial-quote { font-size: 1.06rem; line-height: 1.5; color: var(--ink); font-weight: 500; letter-spacing: -.015em; margin: 0 0 22px; }
.testimonial-quote::before { content: "\201C"; }
.testimonial-quote::after { content: "\201D"; }
.testimonial-author { margin-top: auto; display: flex; align-items: center; gap: 12px; padding-top: 18px; border-top: 1px solid var(--line); }
.avatar { width: 42px; height: 42px; border-radius: 50%; flex: none; display: grid; place-items: center; font-weight: 700; font-size: .82rem; background: var(--ink); color: #fff; }
.testimonial-name { font-weight: 650; font-size: .95rem; color: var(--ink); line-height: 1.3; }
.testimonial-meta { font-size: .84rem; color: var(--muted); line-height: 1.3; }
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 34px; }
.filter-btn { padding: .55rem 1.1rem; border-radius: 999px; border: 0; background: var(--canvas-2); cursor: pointer; font-weight: 600; font-size: .9rem; color: var(--ink-2); transition: background-color .2s ease, color .2s ease; }
.filter-btn:hover { background: var(--line-soft); }
.filter-btn[aria-pressed="true"] { background: var(--ink); color: #fff; }
[data-filter-item][hidden] { display: none !important; }

.outcome-list { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.outcome-list li { padding: 26px; border-radius: var(--radius-lg); background: #fff; }
.seal { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 16px; font-weight: 750; font-size: .8rem; letter-spacing: -.01em; color: #fff; background: var(--ink); box-shadow: inset 0 0 0 3px var(--ink), inset 0 0 0 4px rgba(255, 255, 255, .45); }
.outcome-name { font-size: 1.15rem; font-weight: 650; color: var(--ink); letter-spacing: -.02em; }
.outcome-note { font-size: .88rem; color: var(--muted); margin-top: 4px; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: clamp(40px, 6vw, 80px) 0 0; background: var(--canvas); }
.page-hero-copy { max-width: 820px; margin: 0 auto; text-align: center; }
.page-hero h1 { font-size: clamp(2.5rem, 5.4vw, 4.4rem); }
.page-hero .lead { margin-inline: auto; max-width: 40ch; }
.page-hero-actions { display: flex; gap: 1rem 1.6rem; flex-wrap: wrap; justify-content: center; align-items: center; margin-top: 1.8rem; }
.page-hero-media { margin-top: clamp(36px, 5vw, 60px); }
.breadcrumb { display: flex; justify-content: center; gap: .45rem; list-style: none; font-size: .84rem; color: var(--muted-2); margin-bottom: 18px; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb li + li::before { content: "/"; margin-right: .45rem; color: var(--line); }

/* ---------- Subjects page ---------- */
.subnav { position: sticky; top: 68px; z-index: 40; background: rgba(255, 255, 255, .86); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid var(--line-soft); margin-top: clamp(40px, 5vw, 64px); }
.subnav-list { display: flex; gap: 2px; list-style: none; overflow-x: auto; padding: 10px 0; scrollbar-width: none; }
.subnav-list::-webkit-scrollbar { display: none; }
.subnav-list a { display: inline-flex; align-items: center; gap: .45rem; white-space: nowrap; padding: .5rem .85rem; border-radius: 999px; text-decoration: none; font-size: .86rem; font-weight: 500; color: var(--ink-2); }
.subnav-list a:hover { background: var(--canvas-2); }
.subnav-list a.is-active { background: var(--ink); color: #fff; }
.subnav-list .i { width: 16px; height: 16px; }
.subject-block { padding: clamp(64px, 8vw, 104px) 0; }
.subject-block:nth-of-type(odd) { background: var(--canvas-2); }
.subject-head { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; margin-bottom: 44px; }
.subject-head h2 { margin-bottom: .25em; }
.subject-head p { color: var(--muted); margin: 14px 0 0; max-width: 46ch; font-size: 1.06rem; }
.subject-head .icon-badge { margin-bottom: 18px; }
.signature { display: inline-flex; align-items: center; gap: .35rem; font-size: .76rem; font-weight: 700; color: #fff; background: var(--ink); padding: .32rem .7rem; border-radius: 999px; margin-left: .7rem; vertical-align: middle; letter-spacing: 0; }
.course-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.course-col { background: #fff; border-radius: var(--radius); padding: 24px; }
.subject-block:nth-of-type(even) .course-col { background: var(--canvas-2); }
.course-col h4 { font-size: .84rem; font-weight: 700; color: var(--muted); margin-bottom: 14px; }
.course-col ul { list-style: none; display: grid; gap: 9px; }
.course-col li { position: relative; padding-left: 14px; font-size: .95rem; line-height: 1.4; }
.course-col li::before { content: ""; position: absolute; left: 0; top: .58em; width: 5px; height: 5px; border-radius: 50%; background: var(--ink); }
.course-col li span { color: var(--muted-2); font-size: .84rem; }
.subject-foot { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; justify-content: space-between; }
.subject-foot p { margin: 0; color: var(--muted); font-size: .95rem; max-width: 70ch; }
.subject-foot a:not(.btn) { color: var(--ink); }

.areas { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.areas li { font-size: .84rem; font-weight: 500; padding: .38rem .85rem; border-radius: 999px; background: var(--canvas-2); color: var(--ink-2); }
.section--gray .areas li { background: #fff; }
.on-dark .areas li, .cta-band .areas li { background: rgba(255, 255, 255, .1); color: #fff; }

/* ---------- Programs ---------- */
.program-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.program { position: relative; display: flex; flex-direction: column; padding: 32px; border-radius: var(--radius-lg); background: #fff; }
.section--white .program { background: var(--canvas-2); }
.program h3 { font-size: 1.4rem; margin-bottom: .3em; }
.program > p { color: var(--muted); }
.program .best-for { font-size: .86rem; color: var(--ink-2); font-weight: 600; margin: -2px 0 18px; }
.program .check-list { margin-bottom: 26px; font-size: .95rem; }
.program .btn { margin-top: auto; }
.program--featured { background: var(--ink) !important; color: var(--on-dark-muted); }
.program--featured h3 { color: #fff; }
.program--featured > p { color: var(--on-dark-muted); }
.program--featured .best-for { color: #fff; }
.program--featured .check-list li::before { background-color: #fff; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }
.program--featured .check-list { color: var(--on-dark); }
.program--featured .icon-badge { background: #fff; color: var(--ink); }
.badge { position: absolute; top: 24px; right: 24px; font-size: .72rem; font-weight: 700; padding: .32rem .7rem; border-radius: 999px; background: #fff; color: var(--ink); }
.guarantee { padding: clamp(28px, 4vw, 44px); border-radius: var(--radius-xl); background: var(--ink); color: var(--on-dark-muted); }
.guarantee h3 { color: #fff; font-size: 1.6rem; }

/* ---------- vs comparison ---------- */
.vs { display: grid; grid-template-columns: 1fr auto 1fr; gap: 22px; align-items: stretch; }
.vs-card { border-radius: var(--radius-xl); padding: 34px; }
.vs-card h3 { font-size: 1.35rem; margin-bottom: 20px; }
.vs-card--them { background: var(--canvas-2); }
.vs-card--them h3 { color: var(--muted); }
.vs-card--us { background: var(--ink); color: var(--on-dark); }
.vs-card--us h3 { color: #fff; }
.vs-list { list-style: none; display: grid; gap: 14px; }
.vs-list li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; font-size: .97rem; transition: opacity .5s ease, transform .5s ease; }
.vs-card--them .vs-list li { color: var(--muted); }
.vs-ico { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; }
.vs-ico .i { width: 14px; height: 14px; stroke-width: 2.6; }
.vs-card--them .vs-ico { background: #e5e5ea; color: var(--muted); }
.vs-card--us .vs-ico { background: #fff; color: var(--ink); }
.vs-badge { align-self: center; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: var(--muted); background: #fff; box-shadow: var(--shadow-sm); }
.vs-card--us .vs-list li:nth-child(2) { transition-delay: .1s; }
.vs-card--us .vs-list li:nth-child(3) { transition-delay: .2s; }
.vs-card--us .vs-list li:nth-child(4) { transition-delay: .3s; }
.vs-card--us .vs-list li:nth-child(5) { transition-delay: .4s; }
.vs-card--us .vs-list li:nth-child(6) { transition-delay: .5s; }
.vs-card--us .vs-list li:nth-child(7) { transition-delay: .6s; }
.js .vs:not(.in-view) .vs-card--us .vs-list li { opacity: 0; transform: translateX(14px); }

.careers-band { margin-top: 22px; padding: 30px 34px; border-radius: var(--radius-lg); background: #fff; display: flex; gap: 20px 40px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.careers-band h3 { margin-bottom: .25em; }
.careers-band p { margin: 0; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq-layout { display: grid; grid-template-columns: 280px 1fr; gap: 56px; align-items: start; }
.faq-nav { position: sticky; top: 100px; }
.faq-nav > ul { list-style: none; display: grid; gap: 2px; margin-top: 18px; }
.faq-nav > ul a { display: block; padding: .55rem .9rem; border-radius: 10px; text-decoration: none; color: var(--muted); font-weight: 500; font-size: .95rem; }
.faq-nav > ul a:hover { color: var(--ink); background: var(--canvas-2); }
.faq-nav > ul a.is-active { color: var(--ink); background: var(--canvas-2); font-weight: 600; }
.faq-search { position: relative; }
.faq-search .i { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.faq-search input { width: 100%; padding: .9rem 1rem .9rem 46px; border-radius: 999px; border: 0; background: var(--canvas-2); font-size: 1rem; }
.faq-search input:focus { outline: 2px solid var(--ink); outline-offset: 0; background: #fff; }
.faq-help { margin-top: 26px; }
.faq-group { margin-bottom: 52px; scroll-margin-top: 100px; }
.faq-group h2 { font-size: 1.8rem; margin-bottom: 16px; }
.faq-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 4px; font-weight: 600; color: var(--ink); font-size: 1.05rem; letter-spacing: -.015em; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%;
  background: var(--canvas-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d1d1f' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 14px no-repeat;
  transition: transform .25s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-answer { padding: 0 4px 22px; color: var(--muted); max-width: 70ch; }
.faq-answer p:last-child { margin-bottom: 0; }
.faq-answer a { color: var(--ink); font-weight: 600; text-underline-offset: 3px; }
.faq-empty { display: none; padding: 30px; text-align: center; background: var(--canvas-2); border-radius: var(--radius); color: var(--muted); }
.faq-empty.is-visible { display: block; }

/* ---------- Forms ---------- */
.form-layout { display: grid; grid-template-columns: 1.35fr .65fr; gap: 36px; align-items: start; }
.form-card { background: #fff; border-radius: var(--radius-xl); padding: clamp(26px, 4vw, 44px); box-shadow: var(--shadow-sm); }
.section--white .form-card { background: var(--canvas-2); box-shadow: none; }
.form-card h2 { font-size: 1.9rem; }
.form-progress { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; list-style: none; margin-bottom: 34px; }
.form-progress li { position: relative; padding-top: 14px; font-size: .84rem; font-weight: 600; color: var(--muted-2); }
.form-progress li::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; border-radius: 99px; background: var(--line-soft); }
.form-progress li.is-active, .form-progress li.is-done { color: var(--ink); }
.form-progress li.is-active::before, .form-progress li.is-done::before { background: var(--ink); }
.form-progress span { margin-right: 4px; }
.form-step { border: 0; padding: 0; margin: 0; min-width: 0; }
.form-step[hidden] { display: none; }
.form-step legend { font-size: 1.6rem; font-weight: 700; letter-spacing: -.025em; color: var(--ink); padding: 0; margin-bottom: 6px; }
.step-intro { color: var(--muted); margin-bottom: 26px; }
.field { display: grid; gap: 8px; margin-bottom: 22px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.label { font-weight: 600; font-size: .92rem; color: var(--ink); }
.label .opt { font-weight: 400; color: var(--muted); }
.input, .select, .textarea { width: 100%; padding: .85rem 1rem; border-radius: 12px; border: 1px solid var(--line); background: #fff; font-size: 1rem; color: var(--ink); transition: border-color .2s ease, box-shadow .2s ease; }
.textarea { min-height: 130px; resize: vertical; }
.select { appearance: none; -webkit-appearance: none; padding-right: 2.6rem; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236e6e73' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(0, 0, 0, .08); }
.input:user-invalid, .select:user-invalid, .textarea:user-invalid { border-color: var(--danger); }
.hint { font-size: .84rem; color: var(--muted); }
.field-error { font-size: .84rem; color: var(--danger); display: none; }
.field-error.is-visible { display: block; }
.chip-group { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; margin: 0; }
.chip { position: relative; display: inline-flex; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.chip span { display: inline-flex; align-items: center; padding: .58rem 1rem; border-radius: 999px; cursor: pointer; border: 1px solid var(--line); background: #fff; font-size: .92rem; font-weight: 500; transition: background-color .2s ease, border-color .2s ease, color .2s ease; user-select: none; }
.chip span:hover { border-color: var(--ink); }
.chip input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.consent { display: flex; gap: .75rem; align-items: flex-start; font-size: .9rem; color: var(--muted); margin: 6px 0 24px; }
.consent input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--ink); flex: none; }
.form-actions { display: flex; justify-content: space-between; gap: 12px; align-items: center; margin-top: 10px; flex-wrap: wrap; }
.form-actions .spacer { flex: 1; }
.form-note { font-size: .84rem; color: var(--muted); margin-top: 18px; display: flex; gap: .5rem; align-items: center; }
.form-note .i { width: 16px; height: 16px; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-success { display: none; text-align: center; padding: 30px 10px; }
.form-success.is-visible { display: block; }
.success-icon { width: 72px; height: 72px; margin: 0 auto 22px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; }
.success-icon .i { width: 32px; height: 32px; stroke-width: 2.2; }
.form-success h2 { font-size: 2rem; }
.form-success p { color: var(--muted); max-width: 46ch; margin-inline: auto; }
.form-error { display: none; margin-top: 16px; padding: 14px 18px; border-radius: 12px; background: rgba(196, 53, 43, .08); color: var(--danger); font-size: .92rem; }
.form-error.is-visible { display: block; }
form.is-sent > *:not(.form-success) { display: none !important; }
.spots-note { display: flex; gap: .6rem; align-items: center; margin: 0 0 26px; padding: 12px 16px; border-radius: 14px; background: var(--canvas-2); font-size: .9rem; color: var(--ink-2); }
.section--white .form-card .spots-note { background: #fff; }
.spots-note .live-dot { flex: none; }

.aside-stack { display: grid; gap: 18px; position: sticky; top: 96px; }
.aside-card { background: #fff; border-radius: var(--radius-lg); padding: 28px; }
.section--white .aside-card { background: var(--canvas-2); }
.aside-card h3 { font-size: 1.18rem; }
.aside-card--dark, .section--white .aside-card--dark { background: var(--ink); color: var(--on-dark-muted); }
.aside-card--dark h3 { color: #fff; }
.mini-steps { list-style: none; display: grid; gap: 18px; counter-reset: ms; margin-top: 16px; }
.mini-steps li { display: grid; grid-template-columns: 30px 1fr; gap: 12px; font-size: .93rem; color: var(--muted); counter-increment: ms; }
.mini-steps li::before { content: counter(ms); width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: .82rem; background: var(--ink); color: #fff; }
.mini-steps strong { display: block; color: var(--ink); font-size: .97rem; margin-bottom: 2px; }
.aside-contact { list-style: none; display: grid; gap: 14px; margin-top: 14px; }
.aside-contact li { display: flex; gap: .75rem; align-items: center; font-size: .95rem; }
.aside-contact a { text-decoration: none; overflow-wrap: anywhere; color: #fff; font-weight: 600; }
.aside-contact a:hover { text-decoration: underline; }
.calendly-wrap { display: none; }
.calendly-wrap.is-visible { display: block; }
.calendly-frame { width: 100%; height: 720px; border: 0; border-radius: var(--radius-lg); background: #fff; }

/* ---------- Contact ---------- */
.contact-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.contact-card { background: var(--canvas-2); border-radius: var(--radius-lg); padding: 26px; }
.contact-card .icon-badge { width: 46px; height: 46px; margin-bottom: 18px; border-radius: 13px; }
.contact-card .icon-badge .i { width: 21px; height: 21px; }
.contact-card h3 { font-size: 1.1rem; margin-bottom: .35em; }
.contact-card p { color: var(--muted); font-size: .94rem; margin-bottom: .6em; }
.contact-value { font-weight: 650; font-size: 1rem; color: var(--ink); text-decoration: none; overflow-wrap: anywhere; letter-spacing: -.015em; }
a.contact-value:hover { text-decoration: underline; }
.hours-note { font-size: .82rem; font-weight: 600; color: var(--muted); margin: -.2em 0 .9em; }
.hours-list { list-style: none; display: grid; gap: 10px; font-size: .92rem; line-height: 1.35; }
.hours-list li { display: grid; gap: 1px; }
.hours-list li span:first-child { color: var(--muted); font-size: .84rem; }
.hours-list li span:last-child { color: var(--ink); font-weight: 600; }
[data-show-if][hidden] { display: none !important; }

/* ---------- CTA band ---------- */
.cta-band { display: grid; grid-template-columns: 1.05fr .95fr; overflow: hidden; border-radius: var(--radius-xl); background: var(--black); color: var(--on-dark-muted); }
.cta-copy { padding: clamp(36px, 5vw, 64px); display: flex; flex-direction: column; justify-content: center; }
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band h2 em { color: #6e6e73; }
.cta-band p { margin: 0 0 26px; max-width: 42ch; }
.cta-spots { display: inline-flex; align-items: center; gap: .55rem; margin-bottom: 16px; font-size: .9rem; font-weight: 600; color: #fff; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-band .areas { margin-top: 26px; }
.cta-media { min-height: 360px; position: relative; }

/* ---------- Footer ---------- */
.site-footer { background: var(--canvas-2); color: var(--muted); padding: 64px 0 0; font-size: .86rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 44px; }
.footer-blurb { margin: 18px 0 20px; max-width: 34ch; line-height: 1.55; }
.footer-col h4 { font-size: .82rem; font-weight: 700; color: var(--ink); margin-bottom: 14px; letter-spacing: 0; }
.footer-col ul { list-style: none; display: grid; gap: 9px; }
.footer-col ul a { color: var(--muted); text-decoration: none; }
.footer-col ul a:hover { color: var(--ink); text-decoration: underline; }
.footer-contact li { display: flex; gap: .6rem; align-items: flex-start; }
.footer-contact .i { width: 16px; height: 16px; margin-top: 2px; color: var(--ink); }
.footer-contact a { color: var(--ink) !important; font-weight: 600; }
.footer-btn { margin-top: 18px; }
.social { display: flex; gap: 8px; list-style: none; }
.social a { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--ink); }
.social .i { width: 17px; height: 17px; }
.social li[hidden] { display: none; }
.footer-bottom { border-top: 1px solid var(--line); padding: 20px 0 26px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .8rem; }
.footer-bottom a { color: var(--muted); text-decoration: none; }
.footer-bottom a:hover { color: var(--ink); }

/* ---------- Mobile sticky CTA ---------- */
.mobile-cta { display: none; }

/* ---------- 404 ---------- */
.notfound { min-height: 62vh; display: grid; place-items: center; text-align: center; padding: 100px 0; }
.notfound .big { font-size: clamp(5rem, 14vw, 9rem); font-weight: 750; letter-spacing: -.06em; line-height: 1; color: var(--line); margin-bottom: 10px; }

/* =========================================================
   Typography system
   Serif (Instrument Serif) for headlines, numbers and quotes ·
   Sans (Instrument Sans) for reading and UI ·
   Mono (JetBrains Mono) for small labels, codes and clocks.
   ========================================================= */
h1, h2, .hs-title, .stat-num, .team-num, .method-num, .founder-role, .outcome-name, .seal,
.marquee-track li, .brand-name, .brand-mark, .tslide blockquote, .testimonial-quote, .quote-card blockquote,
.kg-caption, .profile-label, .form-step legend, .method-item h3, .vs-card h3, .careers-band h3, .guarantee h3,
.notfound .big, .team-band h3, .faq-group h2, .program h3 {
  font-family: var(--font-display); font-weight: 400; font-style: normal;
}
h1 { font-size: clamp(3rem, 6.4vw, 5.4rem); letter-spacing: -.008em; line-height: 1; }
h2 { font-size: clamp(2.3rem, 4.8vw, 3.9rem); letter-spacing: -.004em; line-height: 1.04; }
h1 em, h2 em, h3 em { font-family: var(--font-display); font-style: italic; color: var(--muted); }
.section--dark h2 em, .cta-band h2 em { color: #8e8e93; }
h3 { font-weight: 600; letter-spacing: -.004em; }
.hs-title { font-size: clamp(3.1rem, 6.4vw, 5.7rem); letter-spacing: -.01em; line-height: .98; }
.page-hero h1 { font-size: clamp(3rem, 6.2vw, 5.2rem); }

.eyebrow, .hs-kicker, .breadcrumb, .trust-label, .course-col h4, .footer-col h4, .form-progress li,
.tres-label, .clock-city, .signature, .badge, .testimonial-result, .clock-card-title {
  font-family: var(--font-mono); font-weight: 500; text-transform: uppercase; letter-spacing: .12em;
}
.eyebrow, .hs-kicker { font-size: .72rem; }
.breadcrumb { font-size: .68rem; }
.trust-label { font-size: .66rem; line-height: 1.6; }
.course-col h4, .footer-col h4, .form-progress li, .tres-label, .clock-card-title { font-size: .68rem; }
.clock-city { font-size: .62rem; letter-spacing: .1em; }
.signature, .badge, .testimonial-result { font-size: .62rem; letter-spacing: .08em; }
.tag, .course-col li span, .clock-time, .live-pill, .step-n { font-family: var(--font-mono); }
.tag { font-size: .7rem; letter-spacing: .01em; }
.course-col li span { font-size: .74rem; }
.clock-time { font-size: 1rem; font-weight: 500; letter-spacing: -.01em; }
.live-pill { font-size: .74rem; }

.brand-mark { font-size: 1rem; letter-spacing: .03em; }
.brand-name { font-size: 1.36rem; letter-spacing: .005em; line-height: 1; }
.brand-sub { margin-top: 3px; }
.stat-num { font-size: clamp(3rem, 6vw, 4.8rem); letter-spacing: 0; }
.team-num { font-size: clamp(4rem, 8vw, 6.4rem); letter-spacing: 0; }
.method-num { font-size: 3.4rem; color: #aeaeb2; }
.method-item h3 { font-size: 2.05rem; letter-spacing: .005em; }
.founder-role { font-size: 2rem; letter-spacing: .01em; line-height: 1.1; margin-bottom: 8px; }
.founder-mono { font-family: var(--font-display); font-weight: 400; font-style: italic; font-size: 1.55rem; letter-spacing: .01em; }
.outcome-name { font-size: 1.5rem; letter-spacing: .005em; }
.seal { font-size: .92rem; }
.marquee-track li { font-size: 1.38rem; letter-spacing: .008em; color: var(--ink); }
.tslide blockquote { font-size: clamp(1.7rem, 3vw, 2.5rem); line-height: 1.2; letter-spacing: .002em; }
.testimonial-quote { font-size: 1.3rem; line-height: 1.32; letter-spacing: .01em; }
.quote-card blockquote { font-size: 1.48rem; line-height: 1.3; letter-spacing: .01em; }
.kg-caption { font-style: italic; font-size: 1.22rem; letter-spacing: .01em; }
.profile-label { font-style: italic; font-size: 1.18rem; letter-spacing: .01em; color: var(--muted); margin-bottom: 2px; }
.form-step legend { font-size: 2.15rem; letter-spacing: .005em; }
.vs-card h3, .careers-band h3 { font-size: 1.85rem; letter-spacing: .008em; }
.guarantee h3 { font-size: 2.15rem; letter-spacing: .008em; }
.team-band h3 { font-size: 2rem; letter-spacing: .01em; }
.faq-group h2 { font-size: 2.2rem; }
.program h3 { font-size: 1.8rem; letter-spacing: .008em; }
.notfound .big { font-style: italic; }

/* =========================================================
   The one colour on the site: the consultation button (green).
   Every booking button is solid green; only the key ones glow:
   page heroes, the closing banner, the phone sticky bar and the
   booking form's submit button. Program cards stay calm.
   ========================================================= */
.btn-cta {
  position: relative; isolation: isolate; overflow: hidden;
  background-color: #15803d; color: #fff; border-color: transparent;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 8px 20px -12px rgba(21, 128, 61, .9);
}
.btn-cta:hover { background-color: #166534; color: #fff; transform: translateY(-1px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 12px 28px -10px rgba(22, 163, 74, .75); }
.btn-cta:active { transform: scale(.98); }
.btn-cta .i { stroke-width: 2.2; }

/* The glowing ones */
.hs-actions .btn-cta, .page-hero-actions .btn-cta, .cta-actions .btn-cta, .form-actions .btn-cta, .wz-send.btn-cta {
  animation: cta-glow 2.8s ease-in-out infinite;
}
.hs-actions .btn-cta::after, .page-hero-actions .btn-cta::after, .cta-actions .btn-cta::after, .form-actions .btn-cta::after, .wz-send.btn-cta::after {
  content: ""; position: absolute; inset: -2px; z-index: -1; pointer-events: none;
  background: linear-gradient(105deg, transparent 32%, rgba(255, 255, 255, .32) 50%, transparent 68%);
  transform: translateX(-130%); animation: cta-shine 5s ease-in-out infinite;
}

/* Program cards end with a quiet text link instead of another big button */
.program > .link-arrow { margin-top: auto; align-self: flex-start; }
.program--featured > .link-arrow { color: #fff; }

@keyframes cta-glow {
  0%, 100% { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 0 0 0 rgba(34, 197, 94, .45), 0 8px 20px -12px rgba(21, 128, 61, .9); }
  60% { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 0 0 9px rgba(34, 197, 94, 0), 0 12px 30px -10px rgba(22, 163, 74, .85); }
}
@keyframes cta-shine { 0%, 60% { transform: translateX(-130%); } 85%, 100% { transform: translateX(130%); } }

/* =========================================================
   "Urgently Book Now!" — yellow, glowing. Used once in the header
   (and in the phone bar) plus the urgent form's send button.
   ========================================================= */
.btn-urgent {
  position: relative; isolation: isolate; overflow: hidden;
  background-color: #ffd60a; background-image: linear-gradient(180deg, #ffe55c 0%, #ffcc00 100%);
  color: #111; border-color: rgba(0, 0, 0, .06);
  animation: urgent-glow 2.2s ease-in-out infinite;
}
.btn-urgent::after {
  content: ""; position: absolute; inset: -2px; z-index: -1; pointer-events: none;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .85) 50%, transparent 70%);
  transform: translateX(-130%); animation: cta-shine 3.4s ease-in-out infinite;
}
.btn-urgent:hover { background-image: linear-gradient(180deg, #fff07a 0%, #ffd60a 100%); color: #000; transform: translateY(-1px); }
.btn-urgent:active { transform: scale(.98); }
.btn-urgent .i { width: 15px; height: 15px; margin-right: -.1rem; }
.form-error a[href^="tel:"] { white-space: nowrap; }
.btn-urgent[aria-current="page"] { animation: none; box-shadow: inset 0 0 0 2px rgba(0, 0, 0, .55); }
.btn-cta[aria-current="page"] { animation: none; box-shadow: inset 0 0 0 2px rgba(0, 0, 0, .35); }
@keyframes urgent-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 204, 0, .65), 0 6px 18px -8px rgba(255, 170, 0, .95); }
  60% { box-shadow: 0 0 0 8px rgba(255, 204, 0, 0), 0 10px 26px -8px rgba(255, 170, 0, .95); }
}
.urgent-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: .5rem; vertical-align: 1px; background: #ffcc00; box-shadow: 0 0 0 3px rgba(255, 204, 0, .3); animation: blink 1.4s ease-in-out infinite; }

/* ---------- Urgent booking: Calendly-style, one step at a time ---------- */
.wz-hero { padding: clamp(28px, 4vw, 52px) 0 clamp(22px, 3vw, 34px); text-align: center; }
.wz-hero .breadcrumb { margin-bottom: 14px; }
.wz-hero h1 { font-size: clamp(2.8rem, 5.4vw, 4.4rem); margin-bottom: .2em; }
.wz-hero .lead { margin-inline: auto; max-width: 44ch; }
.wz-section { padding: 0 0 clamp(64px, 8vw, 110px); }

.wz {
  display: grid; grid-template-columns: 300px minmax(0, 1fr); max-width: 1080px; margin: 0 auto;
  background: #fff; border: 1px solid var(--line-soft); border-radius: 28px; overflow: hidden;
  box-shadow: 0 30px 80px -42px rgba(0, 0, 0, .35);
}

/* left: summary */
.wz-side { padding: 32px 28px; border-right: 1px solid var(--line-soft); min-width: 0; }
.wz-brand { display: flex; align-items: center; gap: 10px; }
.wz-brand .brand-mark { width: 34px; height: 34px; border-radius: 10px; font-size: .9rem; }
.wz-org { font-size: .8rem; color: var(--muted); line-height: 1.3; }
.wz-title { margin: 20px 0 20px; font-family: var(--font-display); font-weight: 400; font-size: 2.2rem; letter-spacing: .005em; }
.wz-facts { list-style: none; display: grid; gap: 14px; }
.wz-facts li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; font-weight: 600; font-size: .95rem; color: var(--ink); line-height: 1.35; transition: color .3s ease; }
.wz-facts .i { width: 18px; height: 18px; margin-top: 1px; color: var(--muted); }
.wz-facts li.is-empty { color: #b0b0b5; font-weight: 500; }
.wz-facts li.is-empty .i { color: #c7c7cc; }
.wz-status { display: flex; gap: 8px; align-items: flex-start; margin: 26px 0 0; padding: 10px 12px; border-radius: 12px; background: var(--canvas-2); font-size: .8rem; line-height: 1.4; color: var(--muted); }
.wz-status-dot { flex: none; width: 8px; height: 8px; margin-top: 5px; border-radius: 50%; background: #c7c7cc; }
.wz-status[data-mode="live"] .wz-status-dot { background: #34c759; box-shadow: 0 0 0 3px rgba(52, 199, 89, .22); }
.wz-status[data-mode="loading"] .wz-status-dot { background: var(--ink); animation: blink 1s ease-in-out infinite; }
.wz-status[data-mode="fallback"] .wz-status-dot { background: #ff9f0a; }
.wz-help { margin: 14px 0 0; font-size: .82rem; color: var(--muted); }
.wz-help a { color: var(--ink); font-weight: 600; text-decoration: none; white-space: nowrap; }
.wz-help .i { display: inline-block; width: 14px; height: 14px; margin-right: 3px; vertical-align: -2px; }
.wz-facts li[hidden] { display: none; }

/* right: steps */
.wz-main { display: flex; flex-direction: column; min-height: 560px; padding: 24px clamp(22px, 4vw, 40px) 36px; min-width: 0; }
.wz-top { display: flex; align-items: center; gap: 14px; min-height: 36px; margin-bottom: 22px; }
.wz-back { display: inline-flex; align-items: center; gap: .35rem; padding: .45rem .9rem .45rem .7rem; border: 0; border-radius: 999px; background: var(--canvas-2); font-weight: 600; font-size: .86rem; color: var(--ink); cursor: pointer; }
.wz-back:hover { background: var(--line-soft); }
.wz-back[hidden], .wz-soonest[hidden], .wz-loading[hidden], .times-empty[hidden] { display: none; }
.wz-back .wz-back-i { width: 15px; height: 15px; transform: rotate(180deg); }
.wz-dots { display: flex; gap: 6px; margin-left: auto; list-style: none; }
.wz-dots li { width: 20px; height: 5px; border-radius: 99px; background: var(--line-soft); transition: width .3s ease, background-color .3s ease; }
.wz-dots li.is-done { background: var(--ink); }
.wz-dots li.is-current { width: 34px; background: var(--ink); }
.wz-count { font: 500 .64rem var(--font-mono); text-transform: uppercase; letter-spacing: .12em; color: var(--muted); white-space: nowrap; }
.wz-step h2 { margin: 0 0 22px; font-family: var(--font-display); font-weight: 400; font-size: clamp(1.9rem, 3vw, 2.4rem); letter-spacing: .005em; outline: none; }
.wz-step.is-entering { animation: wz-in .45s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes wz-in { from { opacity: 0; transform: translateX(18px); } }

/* 1. subject tiles */
.wz-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.wz-tile {
  display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 18px; min-height: 116px;
  padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: #fff; text-align: left; cursor: pointer;
  font-weight: 600; font-size: 1rem; line-height: 1.25; color: var(--ink);
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease;
}
.wz-tile .i { width: 28px; height: 28px; stroke-width: 1.5; }
.wz-tile:hover { border-color: var(--ink); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.wz-tile[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.wz-tile { position: relative; }
.wz-tile::after {
  content: ""; position: absolute; top: 14px; right: 14px; width: 22px; height: 22px; border-radius: 50%;
  border: 1.5px solid var(--line); background: #fff center / 12px no-repeat; transition: background-color .2s ease, border-color .2s ease;
}
.wz-tile[aria-pressed="true"]::after {
  border-color: #fff; background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d1d1f' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}
.wz-continue { margin-top: 18px; }
.wz-continue:disabled { opacity: .3; cursor: not-allowed; transform: none; }

/* 2. length chips (above the calendar) */
.wz-lens { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: -6px 0 22px; }
.wz-lens .wz-label { margin: 0; }
.wz-lens-list { display: flex; flex-wrap: wrap; gap: 8px; }
.wz-len {
  padding: .55rem 1.05rem; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; cursor: pointer;
  font-weight: 700; font-size: .92rem; color: var(--ink); transition: border-color .2s ease, background-color .2s ease, color .2s ease;
}
.wz-len:hover { border-color: var(--ink); }
.wz-len[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }

/* 3. calendar + times */
.wz-soonest { margin-bottom: 22px; }
.wz-label { display: flex; align-items: center; gap: .4rem; margin: 0 0 10px; font: 500 .66rem var(--font-mono); text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.wz-label .i { width: 13px; height: 13px; color: var(--ink); }
.wz-soonest-list { display: flex; flex-wrap: wrap; gap: 8px; }
.wz-soon { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 1px; padding: .55rem 1rem; border: 1.5px solid var(--ink); border-radius: 14px; background: #fff; cursor: pointer; color: var(--ink); transition: background-color .2s ease, color .2s ease; }
.wz-soon span { font: 500 .6rem var(--font-mono); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.wz-soon strong { font-size: 1.02rem; font-variant-numeric: tabular-nums; }
.wz-soon:hover { background: var(--ink); color: #fff; }
.wz-soon:hover span { color: var(--on-dark-muted); }

.wz-picker { display: grid; grid-template-columns: minmax(0, 1fr) 212px; gap: 30px; align-items: start; transition: opacity .3s ease; }
.wz:has(.wz-status[data-mode="loading"]) .wz-picker, .wz:has(.wz-status[data-mode="loading"]) .wk { opacity: .4; pointer-events: none; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.cal-month { margin: 0; font-family: var(--font-display); font-size: 1.5rem; }
.cal-nav { width: 36px; height: 36px; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--canvas-2); color: var(--ink); cursor: pointer; }
.cal-nav:hover { background: var(--line-soft); }
.cal-nav:disabled { opacity: .3; cursor: default; }
.cal-nav .i { width: 16px; height: 16px; }
.cal-nav .cal-prev { transform: rotate(180deg); }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px 2px; }
.cal-wd { padding: 6px 0; text-align: center; font: 500 .62rem var(--font-mono); color: var(--muted); }
.cal-day {
  position: relative; justify-self: center; width: 100%; max-width: 46px; aspect-ratio: 1; padding: 0; border: 0; border-radius: 50%;
  background: transparent; font-size: .95rem; font-weight: 500; font-variant-numeric: tabular-nums; color: #b0b0b5; cursor: default;
  transition: background-color .2s ease, color .2s ease;
}
.cal-day.is-open { background: var(--canvas-2); color: var(--ink); font-weight: 700; cursor: pointer; }
.cal-day.is-open:hover { background: #e3e3e8; }
.cal-day.is-selected, .cal-day.is-selected:hover { background: var(--ink); color: #fff; }
.cal-day.is-today::after { content: ""; position: absolute; bottom: 5px; left: 50%; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: currentColor; }
.wz-tz { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 8px; margin-top: 12px; font-size: .82rem; color: var(--muted); }
.wz-tz p { margin: 0; }
.wz-tz-main strong { color: var(--ink); font-weight: 600; }
.wz-tz-local { margin-left: auto; }
.wz-tz .i { flex: none; width: 15px; height: 15px; }
.wz-tz select {
  min-width: 0; max-width: 100%; padding: .3rem 1.4rem .3rem 0; border: 0; background: transparent; appearance: none; -webkit-appearance: none;
  font-weight: 600; font-size: .82rem; color: var(--ink); text-overflow: ellipsis; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d1d1f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 0 center; background-size: 15px;
}
.times-day { margin: 6px 0 12px; font-weight: 600; font-size: .98rem; }
.times-list { display: grid; gap: 8px; max-height: 372px; overflow-y: auto; padding-right: 4px; scrollbar-width: thin; }
.time {
  padding: .8rem .5rem; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; font-weight: 700; font-size: .95rem;
  font-variant-numeric: tabular-nums; color: var(--ink); cursor: pointer; transition: border-color .2s ease, background-color .2s ease, color .2s ease;
}
.time:hover { border-color: var(--ink); }
.time[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.time { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; line-height: 1.2; }
.t-local { font-style: normal; font-size: .72rem; font-weight: 500; color: var(--muted-2); }
.time[aria-pressed="true"] .t-local { color: rgba(255, 255, 255, .72); }
.wz-soon .t-local { margin-top: 1px; }
.wz-soon:hover .t-local { color: var(--on-dark-muted); }
.times-legend { margin: -6px 0 10px; font-size: .76rem; color: var(--muted); }
.times-legend strong { color: var(--ink); }
.fact-local { display: block; margin-top: 3px; font-size: .82rem; font-weight: 500; color: var(--muted); }
.times-empty { margin: 0; padding: 14px; border-radius: 12px; background: var(--canvas-2); font-size: .9rem; color: var(--muted); }
.wz-loading { display: flex; align-items: center; gap: 8px; margin-top: 16px; font-size: .86rem; color: var(--muted); }
.wz-spinner { width: 14px; height: 14px; border: 2px solid var(--line); border-top-color: var(--ink); border-radius: 50%; animation: spin .8s linear infinite; }

/* 3. contact */
.wz-sub { margin: -10px 0 22px; color: var(--muted); }
.wz-step .field-error { margin: 10px 0 0; }
.input-xl { padding: 1rem 1.1rem; font-size: 1.08rem; border-radius: 14px; }
.wz-step .field .field-error { margin: 2px 0 0; }
.wz-more { margin: 2px 0 24px; }
.wz-more summary { display: inline-flex; align-items: center; gap: .5rem; list-style: none; cursor: pointer; font-weight: 600; color: var(--ink); }
.wz-more summary::-webkit-details-marker { display: none; }
.wz-more summary::before { content: "+"; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: var(--canvas-2); font-weight: 600; }
.wz-more[open] summary::before { content: "\2013"; }
.wz-send { margin-top: 4px; }
.wz-fine { margin: 12px 0 0; text-align: center; font-size: .82rem; color: var(--muted); }
.wz-step .form-error { margin-top: 14px; }
.wz .form-success { grid-column: 1 / -1; padding: clamp(40px, 6vw, 72px) 24px; }
.wz .form-success h2 em { color: var(--muted); }
.wz-alt { margin: 22px 0 0; text-align: center; font-size: .92rem; color: var(--muted); }
.wz-alt a { color: var(--ink); font-weight: 600; }

@media (max-width: 960px) {
  .wz { grid-template-columns: 1fr; }
  .wz-side { padding: 16px 20px; border-right: 0; border-bottom: 1px solid var(--line-soft); }
  .wz-brand, .wz-help, .wz-facts li[data-fact="mode"], .wz-facts li.is-empty { display: none; }
  .wz-title { margin: 0 0 8px; font-size: 1.35rem; }
  .wz-facts { display: flex; flex-wrap: wrap; gap: 6px; }
  .wz-facts li { display: inline-flex; align-items: center; gap: 6px; padding: .3rem .65rem; border-radius: 14px; background: var(--canvas-2); font-size: .8rem; }
  .fact-local { font-size: .74rem; }
  .wz-facts .i { width: 14px; height: 14px; margin: 0; }
  .wz-status { display: inline-flex; margin-top: 10px; padding: 5px 10px; font-size: .74rem; }
  .wz-status-dot { margin-top: 4px; }
  .wz-main { min-height: 0; padding: 18px 20px 26px; }
  .wz-picker { grid-template-columns: 1fr; gap: 20px; }
  .times-list { grid-template-columns: repeat(3, minmax(0, 1fr)); max-height: none; overflow: visible; padding-right: 0; }
}
@media (max-width: 640px) {
  .wz { border-radius: 22px; }
  .wz-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .wz-tile { min-height: 96px; padding: 14px; gap: 12px; font-size: .95rem; }
  .wz-tile .i { width: 24px; height: 24px; }
  .wz-count { display: none; }
}

/* ---------- Keyframes ---------- */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes swing { from { transform: rotate(24deg); } to { transform: rotate(-24deg); } }
@keyframes twinkle { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }
@keyframes rise { 0% { transform: translateY(0); opacity: 0; } 15% { opacity: .9; } 100% { transform: translateY(-62px); opacity: 0; } }
@keyframes blink { 50% { opacity: 0; } }
@keyframes eq { 0%, 100% { transform: scaleY(.3); } 50% { transform: scaleY(1); } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }
@keyframes wobble { 0%, 100% { transform: rotate(-20deg); } 50% { transform: rotate(24deg); } }
@keyframes star-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.18); } }
@keyframes code-type { 0% { opacity: 0; transform: translateX(-6px); } 5% { opacity: 1; transform: none; } 86% { opacity: 1; } 93%, 100% { opacity: 0; } }
@keyframes arrow-hit { 0% { transform: translateX(170px); opacity: 0; } 8% { opacity: 1; } 24% { transform: translateX(0); } 27% { transform: translateX(5px); } 30%, 86% { transform: translateX(0); opacity: 1; } 100% { transform: translateX(0); opacity: 0; } }
@keyframes ring-hit { 0%, 23% { transform: scale(.5); opacity: 0; } 25% { opacity: .9; } 48%, 100% { transform: scale(2.3); opacity: 0; } }
@keyframes speak-ring { 0%, 100% { box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .9); } 50% { box-shadow: inset 0 0 0 4px rgba(255, 255, 255, .35); } }
@keyframes wb1 { 0%, 2% { clip-path: inset(0 100% 0 0); opacity: 1; } 9%, 88% { clip-path: inset(0 0 0 0); opacity: 1; } 95%, 100% { clip-path: inset(0 0 0 0); opacity: 0; } }
@keyframes wb2 { 0%, 10% { clip-path: inset(0 100% 0 0); opacity: 1; } 17%, 88% { clip-path: inset(0 0 0 0); opacity: 1; } 95%, 100% { clip-path: inset(0 0 0 0); opacity: 0; } }
@keyframes wb3 { 0%, 21% { clip-path: inset(0 100% 0 0); opacity: 1; } 28%, 88% { clip-path: inset(0 0 0 0); opacity: 1; } 95%, 100% { clip-path: inset(0 0 0 0); opacity: 0; } }
@keyframes wb4 { 0%, 33% { clip-path: inset(0 100% 0 0); opacity: 1; } 40%, 88% { clip-path: inset(0 0 0 0); opacity: 1; } 95%, 100% { clip-path: inset(0 0 0 0); opacity: 0; } }
@keyframes wb5 { 0%, 50% { clip-path: inset(0 100% 0 0); opacity: 1; } 57%, 88% { clip-path: inset(0 0 0 0); opacity: 1; } 95%, 100% { clip-path: inset(0 0 0 0); opacity: 0; } }
@keyframes wbe { 0%, 43% { stroke-dashoffset: 1; opacity: 1; } 51%, 88% { stroke-dashoffset: 0; opacity: 1; } 95%, 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes wbs1 { 0%, 13% { stroke-dashoffset: 1; opacity: 1; } 19%, 88% { stroke-dashoffset: 0; opacity: 1; } 95%, 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes wbs2 { 0%, 19% { stroke-dashoffset: 1; opacity: 1; } 28%, 88% { stroke-dashoffset: 0; opacity: 1; } 95%, 100% { stroke-dashoffset: 0; opacity: 0; } }

/* Pause decorative animations while they're off-screen (class set by main.js) */
.is-offscreen, .is-offscreen * { animation-play-state: paused !important; }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s cubic-bezier(.2, .7, .2, 1), transform .9s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal-d1 { transition-delay: .08s; }
.js .reveal-d2 { transition-delay: .16s; }
.js .reveal-d3 { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .marquee-track { flex-wrap: wrap; width: auto; row-gap: .4rem; }
  .marquee-track [aria-hidden="true"] { display: none; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
  [data-rotator] > img { transform: none !important; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1140px) {
  .course-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Header: below 1200px the menu folds into the hamburger */
@media (max-width: 1199px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(255, 255, 255, .97); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
    padding: 12px calc(24px + env(safe-area-inset-right, 0px)) 28px calc(24px + env(safe-area-inset-left, 0px)); border-bottom: 1px solid var(--line-soft); max-height: calc(100vh - 68px); overflow-y: auto;
  }
  .site-header.nav-open .nav { display: flex; }
  .nav-list { flex-direction: column; gap: 0; }
  .nav-list a { display: block; padding: 12px 2px; font-size: 1.6rem; font-weight: 700; letter-spacing: -.03em; color: var(--ink); }
  .nav-list a[aria-current="page"]::after { display: none; }
  .nav-list a[aria-current="page"] { color: var(--muted-2); }
  .nav-urgent { margin-top: 16px; width: 100%; }
  .nav-cta { margin-top: 10px; width: 100%; }
  .lbl-x { display: inline; }
}

@media (max-width: 1060px) {
  .hs-slide { grid-template-columns: 1fr; }
  .hs-media { order: -1; aspect-ratio: 16 / 10; }
  .proof-points { margin-left: 0; }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 40px; }
  .steps::before { display: none; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .program-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form-layout { grid-template-columns: 1fr; }
  .aside-stack { position: static; }
  .faq-layout { grid-template-columns: 1fr; gap: 26px; }
  .faq-nav { position: static; }
  .faq-nav > ul { display: flex; flex-wrap: wrap; gap: 8px; }
  .faq-nav > ul a { background: var(--canvas-2); border-radius: 999px; padding: .45rem .9rem; font-size: .88rem; }
  .faq-nav > ul a.is-active { background: var(--ink); color: #fff; }
  .faq-help { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-band { grid-template-columns: 1fr; }
  .cta-media { min-height: 280px; order: -1; }
  .teach-grid { grid-template-columns: 1fr; }
  .tslide { grid-template-columns: 1fr; }
  .vs { grid-template-columns: 1fr; }
  .vs-badge { justify-self: center; }
  .founders { grid-template-columns: 1fr; }
  .team-band { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  body { font-size: 16.5px; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .split, .split--wide-left, .split--wide-right { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); row-gap: 34px; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .trust-inner { flex-direction: column; align-items: flex-start; gap: 12px; }
  .trust-label { max-width: none; }
  .subject-head { grid-template-columns: 1fr; }
  .method-item { grid-template-columns: 60px 1fr; gap: 12px 20px; }
  .method-item > :last-child { grid-column: 2; }
  .method-num { font-size: 2.2rem; }
  .outcome-list { grid-template-columns: repeat(2, 1fr); }
  .mosaic { aspect-ratio: 16 / 9; gap: 10px; }
}

@media (max-width: 640px) {
  .container, .container--narrow { width: calc(100% - 32px); }
  .header-inner { height: 60px; }
  .subnav { top: 60px; }
  .nav { max-height: calc(100vh - 60px); }
  .brand-mark { width: 36px; height: 36px; font-size: .84rem; border-radius: 10px; }
  .brand-name { font-size: 1.08rem; white-space: normal; line-height: 1.05; }
  .header-inner { gap: 1rem; }
  .brand-sub { display: none; }
  .hs-actions .btn, .page-hero-actions .btn { width: 100%; }
  .hs-actions { gap: .9rem; }
  .hero-proof { gap: 14px; }
  .proof-points { gap: 6px 16px; font-size: .86rem; }
  .steps { grid-template-columns: 1fr; text-align: left; }
  .step { display: grid; grid-template-columns: 56px 1fr; gap: 4px 18px; text-align: left; padding: 0; }
  .step-num { margin: 0; grid-row: span 2; }
  .grid-4, .program-grid, .course-cols, .contact-cards, .outcome-list { grid-template-columns: 1fr; }
  .card, .testimonial, .program { padding: 26px; }
  .card.card--art { padding: 0; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .team-points { grid-template-columns: 1fr; }
  .cta-actions .btn { width: 100%; }
  .form-actions .btn { flex: 1; }
  .form-actions .spacer { display: none; }
  .signature { margin-left: 0; margin-top: 8px; }
  .classroom-body { grid-template-columns: 1fr; }
  .tiles { grid-template-rows: none; grid-template-columns: 1fr 1fr; }
  .tile { min-height: 104px; }
  .tile svg { width: 56%; }
  .wb { min-height: 240px; padding: 18px; }
  .classroom-tools .tool:nth-child(n+4) { display: none; }
  .vs-card { padding: 26px; }
  .marquee-track li { font-size: 1.15rem; }
  .kg { padding: 16px 10px 14px; }
  .kg-top { padding: 0 6px; }
  .kg-node text { font-size: 15.5px; }
  .photo, .hs-media { border-radius: var(--radius-lg); }
  .mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: auto; aspect-ratio: auto; gap: 8px; }
  .mosaic .tile-1 { grid-column: span 2; grid-row: auto; aspect-ratio: 16 / 10; border-radius: var(--radius-lg); }
  .mosaic .tile-2, .mosaic .tile-3 { aspect-ratio: 1; border-radius: 18px; }
  .mosaic .tile-4, .mosaic .tile-5 { display: none; }
  .mosaic--gallery .tile-4, .mosaic--gallery .tile-5 { display: block; aspect-ratio: 1; border-radius: 18px; }
  .mosaic--gallery .photo-chip { left: 10px; bottom: 10px; font-size: .72rem; padding: .3rem .6rem; }

  .mobile-cta {
    display: flex; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 55;
    padding: 10px max(16px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
    background: rgba(255, 255, 255, .9); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
    border-top: 1px solid var(--line-soft);
  }
  .mobile-cta .btn { flex: 1 1 0; min-width: 0; padding: .8rem .6rem; font-size: .9rem; }
  body.has-mobile-cta { padding-bottom: calc(74px + env(safe-area-inset-bottom, 0px)); }
}

/* ---------- Tablets & phones on their side (641-1199px) ----------
   The nav folds into the menu here, so the yellow and green buttons
   move out into the header bar where they're always visible.
   (Phones in portrait use the bottom bar instead.) */
.header-btns { display: none; }
@media (min-width: 641px) and (max-width: 1199px) {
  .header-inner { gap: 12px; }
  .header-btns { display: flex; align-items: center; gap: 8px; flex: none; }
  .header-btns .btn { white-space: nowrap; padding: .55rem .85rem; }
  .header-btns { margin-left: auto; }
  .nav-urgent, .nav-cta { display: none; }
}
@media (min-width: 641px) and (max-width: 767px) {
  .brand-sub { display: none; }
  .brand-mark { width: 36px; height: 36px; font-size: .84rem; border-radius: 10px; }
  .brand-name { font-size: 1.08rem; }
}
@media (max-width: 1199px) {
  .nav-toggle { flex: none; }
}
@media (max-width: 640px) {
  .brand { flex-shrink: 1; } /* on narrow phones the name wraps to two lines instead of squeezing the icons */
}

/* ---------- Tap-to-pick tiles with real inputs (free consultation) ---------- */
.wz-pick input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.wz-pick:has(input:checked) { background: var(--ink); border-color: var(--ink); color: #fff; }
.wz-pick:has(input:checked)::after {
  border-color: #fff; background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d1d1f' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}
.wz-pick:has(input:focus-visible) { outline: 2px solid var(--ink); outline-offset: 3px; }
.wz-tiles--big { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.wz-tiles--big .wz-tile { min-height: 150px; padding: 22px; }
.wz-tiles--big .wz-tile .i { width: 34px; height: 34px; }
.pick-text { display: grid; gap: 3px; }
.pick-text strong { font-size: 1.2rem; letter-spacing: -.01em; }
.pick-text small { font-size: .84rem; font-weight: 500; color: var(--muted); }
.wz-pick:has(input:checked) .pick-text small { color: var(--on-dark-muted); }
.wz-photo { margin: 26px 0 0; aspect-ratio: 4 / 3; border-radius: 18px; }
.wz-fine .i { display: inline-block; width: 13px; height: 13px; margin-right: 4px; vertical-align: -2px; }
.section[id] { scroll-margin-top: 60px; }

/* "What happens next", as three icons */
.next-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; max-width: 1080px; margin: 22px auto 0; list-style: none; }
.next-steps li { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 18px; background: var(--canvas-2); font-size: .86rem; color: var(--muted); line-height: 1.35; }
.next-steps .icon-badge { flex: none; width: 44px; height: 44px; margin: 0; border-radius: 13px; background: #fff; }
.next-steps .icon-badge .i { width: 20px; height: 20px; }
.next-steps strong { display: block; font-size: .98rem; color: var(--ink); }

/* ---------- Contact: three big tap cards + hours ---------- */
.reach-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.reach-card {
  position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 26px; border: 1px solid var(--line-soft);
  border-radius: 24px; background: #fff; color: var(--ink); text-decoration: none; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.reach-card:hover { transform: translateY(-3px); border-color: var(--ink); box-shadow: var(--shadow-sm); }
.reach-card .icon-badge { margin-bottom: 18px; }
.reach-text { display: grid; gap: 4px; min-width: 0; }
.reach-text strong { font-size: 1.2rem; letter-spacing: -.01em; }
.reach-text span { font-weight: 600; color: var(--muted); overflow-wrap: anywhere; }
.reach-go { position: absolute; top: 30px; right: 26px; width: 20px; height: 20px; color: var(--muted); transition: transform .25s ease, color .25s ease; }
.reach-card:hover .reach-go { transform: translateX(3px); color: var(--ink); }
.hours-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 14px; margin-top: 22px; font-size: .88rem; color: var(--muted); }
.hours-strip-label { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; }
.hours-strip-label .i { width: 16px; height: 16px; }
.hours-strip .hours-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.hours-strip .hours-list li { display: inline-flex; gap: .45rem; padding: .4rem .85rem; border-radius: 999px; background: var(--canvas-2); }
.hours-strip .hours-list li span:first-child { font-size: inherit; }

@media (max-width: 960px) {
  .wz-photo { display: none; }
  .next-steps { grid-template-columns: 1fr; gap: 8px; }
}
@media (max-width: 860px) {
  .reach-cards { grid-template-columns: 1fr; gap: 10px; }
  .reach-card { flex-direction: row; align-items: center; gap: 16px; padding: 16px 18px; border-radius: 20px; }
  .reach-card .icon-badge { width: 48px; height: 48px; margin: 0; border-radius: 14px; }
  .reach-go { position: static; margin-left: auto; flex: none; }
}
@media (max-width: 640px) {
  .wz-lens { display: grid; gap: 8px; }
  .wz-lens-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
  .wz-len { padding: .6rem .2rem; font-size: .88rem; }
  .wz-tiles--big { gap: 10px; }
  .wz-tiles--big .wz-tile { min-height: 132px; padding: 16px; }
  .pick-text strong { font-size: 1.05rem; }
  .pick-text small { font-size: .78rem; }
}

/* ---------- Urgent booking: week calendar (700px and up) ---------- */
.wz[data-view="list"] .wk-nav, .wz[data-view="list"] .wk, .wz[data-view="list"] .wz-pickbar { display: none; }
.wz[data-view="week"] .wz-lens, .wz[data-view="week"] .wz-soonest, .wz[data-view="week"] .wz-picker { display: none; }
.wz[data-view="week"][data-step="2"] { grid-template-columns: minmax(0, 1fr); }
.wz[data-view="week"][data-step="2"] .wz-side { display: none; }
.wz[data-view="week"][data-step="2"] .wz-main { padding-bottom: 24px; }
.wz-steprow { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 20px; margin-bottom: 14px; }
.wz-step .wz-steprow h2 { margin: 0; }
.wk-nav { display: flex; align-items: center; gap: 8px; }
.wk-range { min-width: 8.2em; margin: 0; text-align: center; font-family: var(--font-display); font-size: 1.5rem; }

.wk { --hour: 42px; --row: calc(var(--hour) / var(--per-hour, 2)); overflow: hidden; border: 1px solid var(--line-soft); border-radius: 18px; -webkit-user-select: none; user-select: none; }
.wk-days, .wk-body { display: grid; grid-template-columns: repeat(var(--axes, 1), 54px) repeat(7, minmax(0, 1fr)); }
.wk-days { border-bottom: 1px solid var(--line-soft); }
.wk-corner { display: flex; align-items: flex-end; justify-content: flex-end; padding: 0 8px 10px 0; font: 500 .58rem var(--font-mono); text-align: right; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.wk-dh { display: grid; justify-items: center; gap: 2px; padding: 8px 0; border-left: 1px solid var(--line-soft); font: 500 .62rem var(--font-mono); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.wk-dh b { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; font: 600 1.02rem var(--font); letter-spacing: 0; color: var(--ink); }
.wk-dh.is-today b { background: var(--ink); color: #fff; }
.wk-dh.is-off b { color: #b0b0b5; }
.wk-axis { position: relative; height: calc(var(--row) * var(--rows)); }
.wk-axis span { position: absolute; right: 8px; margin-top: 3px; font-size: .7rem; font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--muted); }
.wk-axis--you span { color: #a1a1a6; }
.wk-col {
  position: relative; height: calc(var(--row) * var(--rows)); border-left: 1px solid var(--line-soft);
  background-image: linear-gradient(var(--line-soft) 1px, transparent 1px); background-size: 100% var(--hour);
}
.wk-band { position: absolute; left: 3px; right: 3px; border-radius: 8px; background: #eaeaef; }
.wk-cell {
  position: absolute; left: 3px; right: 3px; height: var(--row); padding: 0; border: 0; border-radius: 6px; background: transparent;
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, .85); cursor: pointer; touch-action: pan-y;
}
.wk-cell:focus-visible { z-index: 3; outline: 2px solid var(--ink); outline-offset: -2px; }
.wk-ghost, .wk-sel { position: absolute; left: 3px; right: 3px; overflow: hidden; border-radius: 8px; pointer-events: none; font-size: .74rem; line-height: 1.2; }
.wk-ghost { z-index: 1; padding: 3px 7px; border: 1.5px dashed var(--ink); background: rgba(255, 255, 255, .75); font-weight: 600; color: var(--ink); }
.wk-ghost[hidden] { display: none; }
.wk-sel { z-index: 2; padding: 4px 7px; background: var(--ink); color: #fff; box-shadow: 0 8px 18px -8px rgba(0, 0, 0, .6); animation: wk-pop .16s ease both; }
.wk-sel strong { display: block; font-weight: 650; }
.wk-sel.is-short { padding-block: 2px; }
@keyframes wk-pop { from { transform: scale(.96); opacity: .6; } }
.wk-grip { position: absolute; left: 0; right: 0; bottom: 0; height: 12px; cursor: ns-resize; pointer-events: auto; touch-action: none; }
.wk-grip::after { content: ""; position: absolute; left: 50%; bottom: 3px; width: 22px; height: 3px; margin-left: -11px; border-radius: 2px; background: rgba(255, 255, 255, .65); }

/* what's picked + Continue: always in the same spot */
.wz-pickbar { display: flex; align-items: center; gap: 12px; margin-top: 12px; padding: 10px 12px 10px 18px; border-radius: 18px; background: var(--canvas-2); }
.wz-pickinfo { flex: 1; min-width: 0; margin: 0; font-size: 1.02rem; line-height: 1.3; }
.wz-pickinfo strong { font-weight: 650; }
.wz-pickinfo.is-empty strong { font-weight: 500; color: var(--muted); }
.wz-pickinfo .fact-local { margin-top: 1px; }
.wz-pickinfo .fact-local:empty { display: none; }
.wz-picklen[hidden] { display: none; }
.wz-picklen select {
  padding: .6rem 2rem .6rem .95rem; border: 1px solid var(--line); border-radius: 999px; background: #fff; appearance: none; -webkit-appearance: none;
  font: 600 .92rem var(--font); color: var(--ink); cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d1d1f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .7rem center; background-size: 15px;
}
.wz-pickbar .wz-continue { flex: none; margin-top: 0; padding: .78rem 1.5rem; font-size: 1rem; }

