/* Afro Xtreme public site: purple and white from the logo, near-black for reading. */
:root {
  color-scheme: light;
  --brand: #5109cd;
  --deep: #2f0079;
  --tint: #f5f0fe;
  --tint-2: #e6dafc;
  --line: #ece4fb;
  --border: #d3c4f1;
  --overlay: 40, 4, 100;
  --ink: #1b1725;
  --text: #1b1725;
  --muted: #5a5468;
  --white: #ffffff;
  --danger: #b3131a;
  --danger-tint: #fff4f4;
  --ok: #127a3a;
  --font: "Plus Jakarta Sans", "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;
  --radius: 18px;
  --nav: 92px;
  --logo-glow: drop-shadow(0 0 1px rgba(255, 255, 255, .95)) drop-shadow(0 0 1px rgba(255, 255, 255, .95)) drop-shadow(0 0 8px rgba(255, 255, 255, .45));
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 17px/1.6 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1, h2, h3, h4, p, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3, h4 { font-weight: 800; letter-spacing: -.015em; line-height: 1.12; text-wrap: balance; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
.on-dark :focus-visible { outline-color: var(--white); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.wrap { max-width: 1240px; margin-inline: auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.narrow { max-width: 820px; }
.section { padding-block: clamp(60px, 8vw, 104px); }
.section-sm { padding-block: clamp(44px, 5vw, 72px); }
.tinted { background: var(--tint); }
.kick, .eyebrow { margin-bottom: 10px; color: var(--brand); font-size: 14px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.h2 { margin-bottom: 14px; font-size: clamp(2rem, 4vw, 3.1rem); }
.h2 em { color: var(--brand); font-style: normal; }
.on-dark .h2 em { color: var(--white); text-decoration: underline; text-decoration-thickness: 4px; text-underline-offset: 6px; }
.lead, .text { max-width: 40em; color: var(--muted); }
.head { display: flex; flex-direction: column; align-items: center; margin-bottom: clamp(30px, 4vw, 48px); text-align: center; }
.sec-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px 48px; align-items: end; margin-bottom: 32px; }
.empty { padding: 28px; border-radius: var(--radius); background: var(--tint); color: var(--muted); text-align: center; }
.link { color: var(--brand); font-weight: 700; }
.mt { margin-top: 32px; }
.mt-lg { margin-top: 56px; }
.title-sm { margin-bottom: 16px; font-size: clamp(1.5rem, 2.4vw, 2rem); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border: 2px solid transparent; border-radius: 99px; background: none; font: 800 16px/1 var(--font); text-decoration: none; cursor: pointer; transition: transform .15s, background .15s, color .15s, border-color .15s; }
.btn:hover { transform: translateY(-2px); }
.btn-primary, .btn-main { background: var(--brand); color: var(--white); }
.btn-primary:hover, .btn-main:hover { background: var(--deep); }
.btn-white { background: var(--white); color: var(--brand); }
.btn-ghost { border-color: rgba(255, 255, 255, .75); background: transparent; color: var(--white); }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); }
.btn-line { border-color: var(--border); background: var(--white); color: var(--ink); }
.btn-line:hover { border-color: var(--brand); color: var(--brand); }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 14.5px; }
.btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 26px; }
.apply { display: inline-flex; align-items: center; gap: 12px; min-height: 48px; padding: 0 7px 0 22px; border-radius: 99px; background: var(--brand); color: var(--white); font-size: 15px; font-weight: 800; text-decoration: none; white-space: nowrap; box-shadow: 0 8px 22px rgba(var(--overlay), .25); transition: background .2s, color .2s; }
.apply span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--white); color: var(--brand); transition: transform .2s, background .2s, color .2s; }
.apply:hover span { transform: translateX(3px); }
.on-dark .apply, .apply.light { background: var(--white); color: var(--brand); box-shadow: 0 8px 22px rgba(0, 0, 0, .14); }
.on-dark .apply span, .apply.light span { background: var(--brand); color: var(--white); }

/* Logo */
.brand-logo { display: block; flex: none; line-height: 0; }
.brand-logo img { width: 140px; height: auto; transition: width .25s, filter .25s; }
.glow img, img.glow { filter: var(--logo-glow); }

/* Header */
.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(255, 255, 255, .88); -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px); box-shadow: 0 1px 0 var(--line), 0 12px 30px rgba(var(--overlay), .08); transition: background .25s, box-shadow .25s; }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; transition: min-height .25s; }
.nav .brand-logo img { width: 128px; }
.nav.over { background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: none; }
.nav.over .wrap { min-height: var(--nav); }
.nav.over .brand-logo img { width: 140px; filter: var(--logo-glow); }
.nav-menu { display: flex; align-items: center; }
.links { display: flex; align-items: center; gap: 2px; }
.links a, .links button { position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 10px 13px; border: 0; background: none; color: var(--ink); font-size: 15px; font-weight: 600; letter-spacing: .01em; text-decoration: none; cursor: pointer; transition: color .2s; }
.links form { display: flex; margin: 0; }
.links a::after, .links button::after { content: ""; position: absolute; left: 13px; right: 13px; bottom: 6px; height: 2px; border-radius: 2px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .22s; }
.links a:hover, .links button:hover, .links a[aria-current="page"] { color: var(--brand); }
.links a:hover::after, .links a:focus-visible::after, .links a[aria-current="page"]::after, .links button:hover::after { transform: scaleX(1); }
.nav.over .links a, .nav.over .links button { color: var(--white); }
.cta { display: flex; align-items: center; gap: 18px; margin-left: 18px; padding-left: 20px; border-left: 1px solid var(--line); }
.nav.over .cta { border-left-color: rgba(255, 255, 255, .3); }
.call { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; line-height: 1.2; }
.call i { display: grid; place-items: center; width: 38px; height: 38px; border: 1.5px solid var(--border); border-radius: 50%; color: var(--brand); }
.call small { display: block; font-size: 12px; font-weight: 600; opacity: .8; }
.call b { font-size: 14.5px; font-weight: 800; white-space: nowrap; font-variant-numeric: tabular-nums; }
.nav.over .call { color: var(--white); }
.nav.over .call i { border-color: rgba(255, 255, 255, .45); color: var(--white); }
.nav.over .apply { background: var(--white); color: var(--brand); box-shadow: 0 8px 22px rgba(0, 0, 0, .14); }
.nav.over .apply span { background: var(--brand); color: var(--white); }
.burger { display: none; width: 46px; height: 46px; border: 1.5px solid var(--border); border-radius: 50%; background: transparent; color: var(--ink); cursor: pointer; }
.nav.over .burger { border-color: rgba(255, 255, 255, .5); color: var(--white); }
@media (max-width: 1240px) { .call { display: none; } }
@media (max-width: 1060px) {
  .burger { display: inline-grid; place-items: center; }
  .nav .wrap, .nav.over .wrap { min-height: 76px; }
  .nav .brand-logo img, .nav.over .brand-logo img { width: 116px; }
  .nav-menu { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; padding: 6px max(20px, env(safe-area-inset-right, 0px)) 18px max(20px, env(safe-area-inset-left, 0px)); background: var(--white); box-shadow: 0 18px 30px rgba(var(--overlay), .14); }
  .nav-menu.open { display: flex; }
  .links { flex-direction: column; align-items: stretch; }
  .links a, .links button, .nav.over .links a, .nav.over .links button { width: 100%; padding: 14px 2px; border-bottom: 1px solid var(--line); color: var(--ink); font-size: 17px; }
  .links form { width: 100%; }
  .links a::after, .links button::after { display: none; }
  .cta, .nav.over .cta { margin: 14px 0 0; padding: 0; border: 0; justify-content: space-between; }
  .apply { justify-content: space-between; flex: 1; }
  .nav.over .apply { background: var(--brand); color: var(--white); }
  .nav.over .apply span { background: var(--white); color: var(--brand); }
}

/* Pages that start dark slide under the header */
.under-nav { margin-top: calc(var(--nav) * -1); }
@media (max-width: 1060px) { .under-nav { margin-top: -76px; } }

/* Home hero */
.hero { position: relative; display: grid; grid-template-columns: minmax(0, 11fr) minmax(0, 9fr); min-height: clamp(520px, 44vw, 640px); background: var(--deep); }
.hero-copy { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; margin-right: -90px; padding-block: 152px 104px; padding-left: max(20px, calc((100vw - 1240px) / 2 + 20px)); padding-right: 70px; background: var(--brand); color: var(--white); clip-path: polygon(0 0, 100% 0, calc(100% - 90px) 100%, 0 100%); }
.hero-copy small { font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; opacity: .92; }
.hero h1 { max-width: 13em; margin-block: 14px 16px; font-size: clamp(2.4rem, 4.8vw, 4.1rem); }
.hero p.sub { max-width: 31em; font-size: 18px; }
.hero-photo { position: relative; min-height: 320px; background: url("photos/hero1.jpg") 62% center / cover no-repeat; }
.hero-photo::before { content: ""; position: absolute; inset: 0 0 auto; height: 170px; background: linear-gradient(rgba(20, 6, 40, .55), rgba(20, 6, 40, 0)); }
.float { position: absolute; z-index: 2; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; border: 1px solid rgba(255, 255, 255, .45); border-radius: 16px; background: rgba(255, 255, 255, .82); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); color: var(--ink); box-shadow: 0 18px 40px rgba(0, 0, 0, .25); animation: drift 6s ease-in-out infinite; }
.float > span { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--brand); color: var(--white); }
.float b { display: block; font-size: 15px; }
.float small { display: block; color: var(--muted); font-size: 13px; }
.f1 { left: 9%; bottom: 120px; }
.f2 { right: 6%; top: 44%; animation-delay: -3s; }
@keyframes drift { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (max-width: 1000px) {
  .hero { grid-template-columns: minmax(0, 1fr); }
  .hero-copy { margin-right: 0; clip-path: none; padding: 44px max(20px, env(safe-area-inset-right, 0px)) 96px max(20px, env(safe-area-inset-left, 0px)); }
  .hero-photo { order: -1; min-height: 360px; }
  .f2 { display: none; }
  .f1 { left: 16px; bottom: 24px; }
}

/* Fact strip */
.fact-strip { position: relative; z-index: 3; margin-top: -58px; }
.facts-in { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: var(--white); box-shadow: 0 18px 44px rgba(var(--overlay), .16); }
.fact { display: flex; align-items: center; gap: 14px; min-width: 0; padding: 22px 20px; border-right: 1px solid var(--line); }
.fact:last-child { border-right: 0; }
.fact .fi { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--tint); color: var(--brand); }
.fact strong { display: block; color: var(--ink); font-size: 19px; font-weight: 800; line-height: 1.25; white-space: nowrap; }
.fact div > span { display: block; margin-top: 2px; color: var(--muted); font-size: 14px; line-height: 1.4; }
@media (max-width: 1000px) { .facts-in { grid-template-columns: repeat(2, minmax(0, 1fr)); } .fact { border-bottom: 1px solid var(--line); } .fact:nth-child(2n) { border-right: 0; } }
@media (max-width: 640px) { .facts-in { grid-template-columns: minmax(0, 1fr); } .fact { border-right: 0; padding: 16px 18px; } .fact:last-child { border-bottom: 0; } }

/* Path quiz */
.quiz { padding-block: clamp(70px, 8vw, 100px) 10px; }
.quiz-in { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(26px, 5vw, 60px); align-items: center; }
.quiz-steps { display: grid; gap: 10px; margin-top: 24px; counter-reset: s; }
.quiz-steps li { display: flex; align-items: center; gap: 12px; color: var(--muted); font-weight: 700; counter-increment: s; }
.quiz-steps li::before { content: counter(s); display: grid; place-items: center; width: 32px; height: 32px; border: 2px solid var(--border); border-radius: 50%; font-size: 14px; }
.quiz-steps li.on { color: var(--ink); }
.quiz-steps li.on::before { border-color: var(--brand); color: var(--brand); }
.quiz-steps li.done { color: var(--ink); }
.quiz-steps li.done::before { content: "\2713"; border-color: var(--brand); background: var(--brand); color: var(--white); }
.quiz-card { position: relative; min-height: 420px; padding: clamp(22px, 3vw, 34px); overflow: hidden; border-radius: 22px; background: linear-gradient(160deg, var(--brand), var(--deep)); color: var(--white); box-shadow: 0 30px 70px rgba(var(--overlay), .3); }
.quiz-card::after { content: ""; position: absolute; width: 320px; height: 320px; right: -120px; top: -140px; border-radius: 50%; background: rgba(255, 255, 255, .08); }
.q-anim { position: relative; z-index: 1; animation: qIn .35s ease-out; }
@keyframes qIn { from { opacity: 0; transform: translateX(16px); } to { opacity: 1; transform: none; } }
.q-count { font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; opacity: .8; }
.quiz-card h3 { margin: 6px 0 20px; font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.opts.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.opts button { display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 12px 14px; border: 1.5px solid rgba(255, 255, 255, .25); border-radius: 14px; background: rgba(255, 255, 255, .08); color: var(--white); font-size: 15.5px; font-weight: 700; text-align: left; cursor: pointer; transition: transform .15s, background .15s, border-color .15s; }
.opts.three button { flex-direction: column; align-items: flex-start; }
.opts button:hover { transform: translateY(-2px); background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .6); }
.opts button.picked { background: var(--white); color: var(--brand); border-color: var(--white); }
.opts button span { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; background: rgba(255, 255, 255, .14); }
.opts button.picked span { background: var(--brand); color: var(--white); }
.q-back { margin-top: 16px; padding: 6px 0; border: 0; background: none; color: var(--white); font-weight: 700; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; opacity: .85; }
.pick { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 18px; align-items: center; margin-top: 12px; }
.pick-pic { aspect-ratio: 1; border-radius: 16px; background: var(--tint-2) center / cover no-repeat; box-shadow: 0 12px 30px rgba(0, 0, 0, .3); }
.pick h3 { margin: 0 0 4px; }
.pick p { opacity: .88; }
.pick dl { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 12px; }
.pick dt { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; opacity: .75; }
.pick dd { font-size: 20px; font-weight: 800; }
.journey { margin-top: 18px; }
.journey > p { margin-bottom: 8px; font-weight: 800; }
.legs { display: flex; gap: 6px; }
.legs div { min-width: 0; padding: 10px 12px; border-radius: 10px; background: rgba(255, 255, 255, .14); transform-origin: left; animation: grow .5s var(--d) both; }
.legs div:first-child { background: var(--white); color: var(--brand); }
.legs b { display: block; font-size: 14.5px; }
.legs small { font-size: 12.5px; opacity: .85; }
@keyframes grow { from { opacity: 0; transform: scaleX(.4); } to { opacity: 1; transform: none; } }
.q-note { margin-top: 12px; font-size: 14.5px; opacity: .9; }
.q-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 20px; }
.q-alt { color: var(--white); font-weight: 700; }
.paths { display: grid; gap: 8px; margin-top: 4px; }
.path-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 16px; border-radius: 14px; background: rgba(255, 255, 255, .1); color: var(--white); text-decoration: none; animation: qIn .4s var(--d) both; transition: background .15s; }
.path-row:hover { background: rgba(255, 255, 255, .2); }
.path-row b { display: block; font-size: 16.5px; }
.path-row span { font-size: 13.5px; opacity: .85; }
.path-row i { font-style: normal; opacity: .6; }
.path-meta { flex: none; text-align: right; }
@media (max-width: 1000px) { .quiz-in { grid-template-columns: minmax(0, 1fr); } .quiz-steps { grid-auto-flow: column; justify-content: start; gap: 18px; } }
@media (max-width: 640px) {
  .opts, .opts.three { grid-template-columns: minmax(0, 1fr); }
  .opts.three button { flex-direction: row; align-items: center; }
  .pick { grid-template-columns: minmax(0, 1fr); }
  .pick-pic { aspect-ratio: 16 / 9; }
  .quiz-steps li { gap: 0; font-size: 0; }
  .quiz-steps li::before { font-size: 14px; }
  .quiz-card { min-height: 0; }
  .path-row { flex-direction: column; align-items: flex-start; }
  .path-meta { text-align: left; }
}

/* Course cards (home and the courses page) */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.head + .filters, .filters.center { justify-content: center; }
.filters button { min-height: 42px; padding: 0 16px; border: 1.5px solid var(--border); border-radius: 99px; background: var(--white); color: var(--ink); font-size: 15px; font-weight: 700; cursor: pointer; }
.filters button[aria-pressed="true"] { border-color: var(--brand); background: var(--brand); color: var(--white); }
.courses { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.courses.few { grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 360px)); justify-content: center; }
.course { position: relative; display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: var(--white); transition: transform .18s, box-shadow .18s; }
.course[hidden] { display: none; }
.course:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(var(--overlay), .14); }
.course .pic { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--tint-2); }
.course .img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 20%; transition: transform .45s; }
.course:hover .img { transform: scale(1.05); }
.chip { position: absolute; left: 14px; top: 14px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 99px; background: rgba(255, 255, 255, .94); color: var(--ink); font-size: 13px; font-weight: 700; box-shadow: 0 4px 14px rgba(0, 0, 0, .15); }
.chip svg { color: var(--brand); }
.chip.path { left: auto; right: 14px; background: var(--brand); color: var(--white); }
.course .in { display: flex; flex: 1; flex-direction: column; padding: 20px 20px 22px; }
.c-track { margin-bottom: 6px; color: var(--brand); font-size: 12.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.course h3 { margin-bottom: 6px; font-size: 21px; }
.course h3 a { text-decoration: none; }
.course h3 a:hover { color: var(--brand); }
.course .what { color: var(--muted); font-size: 15px; line-height: 1.5; }
.c-date { margin-top: 8px; color: var(--deep); font-size: 14px; font-weight: 700; }
.formats { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 16px; }
.formats li { padding: 4px 10px; border: 1px solid var(--border); border-radius: 99px; color: var(--deep); font-size: 12.5px; font-weight: 700; }
.buy { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); }
.buy small { display: block; color: var(--muted); font-size: 12.5px; font-weight: 600; }
.buy .price { display: block; color: var(--ink); font-size: 24px; font-weight: 800; line-height: 1.15; font-variant-numeric: tabular-nums; }
.buy .parts { padding: 4px 9px; border-radius: 8px; background: var(--tint); color: var(--deep); font-weight: 700; }
.go { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin-top: 14px; }
.go a { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 16px; border-radius: 99px; font-size: 15px; font-weight: 800; text-decoration: none; }
.apply-btn { background: var(--brand); color: var(--white); }
.apply-btn:hover { background: var(--deep); }
.apply-btn svg { transition: transform .2s; }
.apply-btn:hover svg { transform: translateX(3px); }
.ask-btn { border: 1.5px solid var(--border); color: var(--ink); }
.ask-btn:hover { border-color: var(--brand); color: var(--brand); }
.note { margin-top: 20px; color: var(--muted); font-size: 15px; }
.more-wrap { display: none; margin-top: 18px; text-align: center; }
@media (max-width: 1000px) { .courses { grid-template-columns: repeat(2, minmax(0, 1fr)); } .sec-head { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) {
  .courses { grid-template-columns: minmax(0, 1fr); }
  .courses.short .course:nth-child(n+5) { display: none; }
  .more-wrap.on { display: block; }
  .more-wrap .btn { width: 100%; }
}

/* What you'll build */
.build { position: relative; overflow: hidden; background: #140829; color: var(--white); }
.build::before { content: ""; position: absolute; inset: 0; 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: 44px 44px; -webkit-mask: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 75%); mask: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 75%); }
.build::after { content: ""; position: absolute; width: 640px; height: 640px; right: -180px; top: -220px; border-radius: 50%; background: var(--brand); opacity: .35; filter: blur(120px); }
.build .wrap { position: relative; z-index: 1; }
.build .kick { color: var(--white); opacity: .8; }
.build .h2 em { text-decoration-color: var(--brand); text-decoration-thickness: 6px; text-underline-offset: 8px; }
.build .lead { color: var(--white); opacity: .85; }
.net { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; pointer-events: none; }
.tracks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 14px; }
.tracks button { position: relative; display: grid; gap: 2px; overflow: hidden; padding: 14px 16px 18px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 14px; background: rgba(255, 255, 255, .04); color: var(--white); text-align: left; cursor: pointer; transition: background .2s, border-color .2s; }
.tracks button:hover { background: rgba(255, 255, 255, .09); }
.tracks button[aria-selected="true"] { border-color: var(--brand); background: rgba(255, 255, 255, .1); }
.tracks b { font-size: 16px; }
.tracks small { font-size: 13px; opacity: .7; }
.tracks .bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255, 255, 255, .08); }
.tracks .bar u { display: block; width: 0; height: 100%; background: var(--brand); }
.tracks button[aria-selected="true"] .bar u { width: 100%; }
.tracks button.run .bar u { width: 0; animation: fill 9s linear forwards; }
@keyframes fill { to { width: 100%; } }
.ide { overflow: hidden; border: 1px solid rgba(255, 255, 255, .14); border-radius: 18px; background: #0d0619; box-shadow: 0 40px 90px rgba(0, 0, 0, .45), 0 0 0 1px rgba(255, 255, 255, .04) inset; }
.ide-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid rgba(255, 255, 255, .08); background: rgba(255, 255, 255, .03); }
.ide-bar > i { width: 11px; height: 11px; border-radius: 50%; background: rgba(255, 255, 255, .18); }
.ide-bar .file { margin-left: 12px; padding: 5px 12px; border-radius: 8px 8px 0 0; background: #0d0619; color: rgba(255, 255, 255, .85); font: 500 13px/1 var(--mono); }
.ide-bar .live { display: inline-flex; align-items: center; gap: 7px; margin-left: auto; color: rgba(255, 255, 255, .75); font-size: 12.5px; font-weight: 700; }
.ide-bar .live em { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 0 rgba(74, 222, 128, .6); animation: ping 1.8s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 8px rgba(74, 222, 128, 0); } 100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); } }
.ide-body { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); min-height: 340px; }
.code { display: flex; min-width: 0; padding: 20px 0; font: 400 15px/1.75 var(--mono); }
.lines { flex: none; margin: 0; padding: 0 14px 0 18px; color: rgba(255, 255, 255, .25); text-align: right; user-select: none; }
.code pre { flex: 1; min-width: 0; margin: 0; padding-right: 18px; overflow-x: auto; color: #ece6f7; font: inherit; white-space: pre; }
.code .kw { color: #c4a8ff; font-weight: 700; }
.code .str { color: #ffffff; }
.code .com { color: rgba(255, 255, 255, .4); font-style: italic; }
.code .tg { color: #a78bfa; }
.code .num { color: #d8c8ff; }
.code .pr { color: #4ade80; }
.caret { display: inline-block; width: 9px; height: 1.15em; margin-left: 1px; vertical-align: text-bottom; background: var(--brand); animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.out { min-width: 0; padding: 18px; border-left: 1px solid rgba(255, 255, 255, .08); background: rgba(255, 255, 255, .02); }
.out-label { margin-bottom: 12px; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; opacity: .6; }
.out-in { display: block; width: 100%; opacity: 0; transform: translateY(10px); transition: opacity .45s, transform .45s; }
.out-in.show { opacity: 1; transform: none; }
.o-web { overflow: hidden; border-radius: 12px; background: var(--white); color: var(--ink); }
.o-bar { display: flex; gap: 5px; padding: 8px 10px; background: var(--tint); }
.o-bar i { width: 8px; height: 8px; border-radius: 50%; background: var(--border); }
.o-page { padding: 34px 22px; background: linear-gradient(135deg, var(--brand), var(--deep)); color: var(--white); }
.o-page h4 { margin: 0 0 4px; font-size: 26px; font-weight: 800; }
.o-page p { margin-bottom: 14px; opacity: .9; }
.o-page span { display: inline-block; padding: 8px 14px; border-radius: 99px; background: var(--white); color: var(--brand); font-size: 14px; font-weight: 800; }
.o-chart { padding: 16px; border-radius: 12px; background: var(--white); color: var(--ink); }
.o-chart p { margin-bottom: 10px; font-weight: 800; }
.o-bars { display: flex; align-items: flex-end; gap: 10px; height: 180px; padding-bottom: 22px; }
.o-bars i { position: relative; flex: 1; height: 0; border-radius: 6px 6px 2px 2px; background: var(--brand); }
.out-in.show .o-bars i { height: var(--h); transition: height .8s cubic-bezier(.2, .8, .2, 1); }
.out-in.show .o-bars i:nth-child(2) { transition-delay: .08s; }
.out-in.show .o-bars i:nth-child(3) { transition-delay: .16s; }
.out-in.show .o-bars i:nth-child(4) { transition-delay: .24s; }
.out-in.show .o-bars i:nth-child(5) { transition-delay: .32s; }
.out-in.show .o-bars i:nth-child(6) { transition-delay: .4s; }
.o-bars b { position: absolute; left: 0; right: 0; bottom: -20px; color: var(--muted); font-size: 11.5px; text-align: center; }
.o-term { padding: 14px; border-radius: 12px; background: #050208; color: #e7e1f1; font: 400 14px/1.8 var(--mono); }
.o-term p { opacity: 0; animation: lineIn .3s forwards; }
.o-term p:nth-child(2) { animation-delay: .25s; }
.o-term p:nth-child(3) { animation-delay: .5s; }
.o-term p:nth-child(4) { animation-delay: .75s; }
.o-term p:nth-child(5) { animation-delay: 1s; }
.o-term p:nth-child(6) { animation-delay: 1.25s; }
@keyframes lineIn { to { opacity: 1; } }
.o-term .ok { color: #4ade80; }
.o-term .warn { color: #fca5a5; }
.o-ai { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.o-ai div { padding: 14px 10px; border-radius: 12px; background: var(--white); color: var(--ink); text-align: center; }
.o-ai b { display: block; color: var(--brand); font-size: 30px; font-weight: 800; line-height: 1.1; }
.o-ai span { color: var(--muted); font-size: 12.5px; }
.o-ai .ok { grid-column: 1 / -1; margin-top: 4px; color: #4ade80; font: 700 14px var(--mono); }
.build-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; margin-top: 22px; }
.build-foot p { font-size: 14.5px; opacity: .7; }
@media (max-width: 1000px) {
  .ide-body { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .tracks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .out { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .08); }
  .code { font-size: 13px; }
}

/* Student success */
.wins { background: var(--tint); }
.shot { display: block; overflow: hidden; background: #0d1b4a; }
.shot-bar { display: flex; align-items: center; gap: 6px; background: #eef0f6; }
.shot-bar i { border-radius: 50%; background: #c9cdd8; }
.shot-bar span { margin-left: 10px; padding: 3px 12px; border-radius: 99px; background: var(--white); color: #4a5068; font-weight: 600; }
.shot img { display: block; width: 100%; height: auto; aspect-ratio: 1200 / 700; object-fit: cover; object-position: top; transition: transform .5s; }
.win-tag { display: inline-block; align-self: flex-start; margin-bottom: 10px; padding: 5px 12px; border-radius: 99px; background: var(--tint-2); color: var(--deep); font-size: 13px; font-weight: 800; }
.win-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.win-grid > li { display: flex; }
.win-card { display: flex; flex-direction: column; width: 100%; overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: var(--white); color: inherit; text-decoration: none; box-shadow: 0 14px 36px rgba(var(--overlay), .08); transition: transform .25s, box-shadow .25s; }
.win-card:hover { transform: translateY(-3px); box-shadow: 0 20px 44px rgba(var(--overlay), .14); }
.win-card:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }
.win-card .shot { margin: 16px 16px 0; border-radius: 12px; box-shadow: 0 10px 24px rgba(var(--overlay), .14); }
.win-card .shot-bar { padding: 7px 10px; }
.win-card .shot-bar i { width: 7px; height: 7px; }
.win-card .shot-bar span { font-size: 12px; }
.win-card:hover .shot img { transform: scale(1.03); }
.win-card-body { display: flex; flex: 1; flex-direction: column; padding: 20px 24px 24px; }
.win-card-name { font-size: 24px; font-weight: 800; letter-spacing: -.01em; }
.win-card-text { margin-top: 6px; color: var(--ink); font-size: 15px; line-height: 1.55; opacity: .8; }
.win-card-link { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 16px; color: var(--brand); font-size: 14.5px; font-weight: 800; }
@media (max-width: 760px) { .win-grid { grid-template-columns: minmax(0, 1fr); } .win-card-body { padding: 18px 20px 22px; } }

/* Robot presenter */
.meet { position: relative; overflow: hidden; background: var(--deep); color: var(--white); }
.meet .kick { color: var(--white); opacity: .85; }
.meet .lead { color: var(--white); opacity: .9; }
.meet-in { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.stage { position: relative; aspect-ratio: 1 / .95; overflow: hidden; border-radius: 28px; background: radial-gradient(circle at 50% 38%, rgba(255, 255, 255, .22), rgba(255, 255, 255, 0) 60%), linear-gradient(160deg, var(--brand), var(--deep)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12), 0 30px 70px rgba(0, 0, 0, .3); }
.glyphs span { position: absolute; color: rgba(255, 255, 255, .22); font: 700 26px var(--mono); animation: floaty 7s ease-in-out infinite; }
.glyphs span:nth-child(1) { left: 8%; top: 14%; }
.glyphs span:nth-child(2) { right: 10%; top: 12%; animation-delay: -2s; }
.glyphs span:nth-child(3) { left: 12%; top: 52%; animation-delay: -4s; }
.glyphs span:nth-child(4) { right: 8%; top: 46%; animation-delay: -1s; }
.glyphs span:nth-child(5) { left: 46%; top: 6%; animation-delay: -5s; }
@keyframes floaty { 50% { transform: translateY(-14px); } }
.bubble { position: absolute; left: 6%; right: 6%; top: 5%; z-index: 2; min-height: 4.4em; padding: 16px 20px; border-radius: 18px 18px 18px 6px; background: var(--white); color: var(--ink); font-size: clamp(16px, 1.6vw, 19px); font-weight: 700; line-height: 1.45; box-shadow: 0 16px 40px rgba(0, 0, 0, .25); }
.bubble span { opacity: .35; transition: opacity .15s; }
.bubble span.said { opacity: 1; }
.player { display: flex; align-items: center; gap: 16px; margin: 26px 0 8px; padding: 14px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 18px; background: rgba(255, 255, 255, .08); }
.play { flex: none; display: grid; place-items: center; width: 56px; height: 56px; border: 0; border-radius: 50%; background: var(--white); color: var(--brand); cursor: pointer; box-shadow: 0 10px 24px rgba(0, 0, 0, .25); }
.track-line { flex: 1; min-width: 0; }
.dots { display: flex; gap: 6px; }
.dots button { flex: 1; height: 6px; padding: 0; border: 0; border-radius: 99px; background: rgba(255, 255, 255, .2); cursor: pointer; }
.dots button.done { background: rgba(255, 255, 255, .7); }
.dots button.on { background: var(--white); }
.track-line p { margin-top: 6px; font-size: 13.5px; opacity: .8; }
.sound { flex: none; min-height: 40px; padding: 0 14px; border: 1.5px solid rgba(255, 255, 255, .4); border-radius: 99px; background: transparent; color: var(--white); font-size: 14px; font-weight: 700; cursor: pointer; }
.sound[aria-pressed="true"] { border-color: var(--white); background: var(--white); color: var(--brand); }
.guide { position: absolute; left: 50%; bottom: 0; width: 72%; overflow: visible; transform: translateX(-50%); filter: drop-shadow(0 20px 30px rgba(0, 0, 0, .25)); }
.guide .head { transform-origin: 200px 270px; }
.stage.talking .guide .head { animation: nod 2.6s ease-in-out infinite; }
.guide .arm { transform-origin: 262px 320px; transform: rotate(8deg); transition: transform .4s; }
.stage.wave .guide .arm { animation: wave .42s ease-in-out 5 alternate; }
@media (max-width: 1000px) { .meet-in { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) { .stage { aspect-ratio: 1 / 1.25; } .bubble { padding: 12px 14px; font-size: 15px; } .guide { width: 84%; } }

/* Robot, shared by every copy */
.guide .who, .bot .who { animation: hover 3.6s ease-in-out infinite; }
.guide .shade, .bot .shade { transform-origin: 200px 446px; animation: shade 3.6s ease-in-out infinite; }
.guide .thrust, .bot .thrust { transform-origin: 200px 418px; animation: flick .18s ease-in-out infinite alternate; }
.guide .tip, .bot .tip { animation: pulse 2s ease-in-out infinite; }
.guide .lids, .bot .lids { transform-origin: 200px 152px; transform: scaleY(0); animation: blink 5s infinite; }
.guide .pupils, .bot .pupils { animation: look 9s ease-in-out infinite; }
.guide .m, .bot .m { display: none; }
.guide[data-m="0"] .m0, .guide[data-m="1"] .m1, .guide[data-m="2"] .m2, .guide[data-m="3"] .m3, .bot .m0 { display: inline; }
.bot { overflow: visible; }
.bot .arm { transform-origin: 262px 320px; transform: rotate(8deg); animation: waveIdle 7s ease-in-out infinite; }
@keyframes hover { 50% { transform: translateY(-10px); } }
@keyframes shade { 50% { transform: scale(.8); opacity: .7; } }
@keyframes flick { from { transform: scaleY(.85); opacity: .8; } to { transform: scaleY(1.1); opacity: 1; } }
@keyframes pulse { 50% { opacity: .55; } }
@keyframes blink { 0%, 92%, 100% { transform: scaleY(0); } 95% { transform: scaleY(1); } }
@keyframes look { 0%, 40%, 100% { transform: none; } 46%, 60% { transform: translate(4px, 0); } 66%, 80% { transform: translate(-4px, 2px); } }
@keyframes nod { 0%, 100% { transform: rotate(0); } 30% { transform: rotate(-3deg) translateY(-2px); } 70% { transform: rotate(2.5deg); } }
@keyframes wave { from { transform: rotate(-2deg); } to { transform: rotate(-22deg); } }
@keyframes waveIdle { 0%, 70%, 100% { transform: rotate(8deg); } 74%, 82%, 90% { transform: rotate(-18deg); } 78%, 86% { transform: rotate(0deg); } }

/* How it works */
.hiw .h2 em { color: var(--brand); }
.steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.steps::before { content: ""; position: absolute; left: 12%; right: 12%; top: 46px; z-index: 0; border-top: 2px dashed var(--border); }
.step { position: relative; z-index: 1; padding: 24px 22px 26px; border: 1px solid var(--line); border-radius: 22px; background: var(--white); transition: transform .2s, box-shadow .2s, border-color .2s; }
.step:hover { transform: translateY(-4px); border-color: var(--border); box-shadow: 0 20px 44px rgba(var(--overlay), .10); }
.s-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.s-ic { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--tint); color: var(--brand); }
.s-no { color: transparent; font-size: 34px; font-weight: 800; letter-spacing: -.03em; -webkit-text-stroke: 1.5px var(--border); }
.step h3 { margin-bottom: 6px; font-size: 20px; }
.step p { color: var(--muted); font-size: 15.5px; line-height: 1.6; }
.step.last { border-color: transparent; background: linear-gradient(160deg, var(--brand), var(--deep)); color: var(--white); box-shadow: 0 20px 44px rgba(var(--overlay), .22); }
.step.last .s-ic { background: rgba(255, 255, 255, .16); color: var(--white); }
.step.last .s-no { -webkit-text-stroke-color: rgba(255, 255, 255, .45); }
.step.last p { color: var(--white); opacity: .88; }
.steps-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 26px; padding: 18px 22px; border-radius: 18px; background: var(--tint); }
.steps-foot p { color: var(--ink); font-weight: 600; }
@media (max-width: 1000px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } .steps::before { display: none; } }
@media (max-width: 640px) { .steps { grid-template-columns: minmax(0, 1fr); } .steps-foot .btn { width: 100%; } }

/* About (home and about page) */
.about { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(30px, 5vw, 70px); align-items: center; }
.collage { display: grid; grid-template-columns: 3fr 2fr; gap: 12px; }
.collage img { width: 100%; height: 100%; border-radius: 14px; object-fit: cover; }
.collage img:first-child { grid-row: span 2; aspect-ratio: 3 / 3.6; }
.collage img:not(:first-child) { aspect-ratio: 4 / 3; }
.collage .badge { display: none; }
.points { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 26px; margin: 24px 0 6px; }
.points > div { display: flex; gap: 14px; }
.points h3 { margin-bottom: 4px; color: var(--deep); font-size: 18px; }
.points p { color: var(--muted); font-size: 15.5px; }
.icon { display: flex; flex: none; align-items: center; justify-content: center; width: 58px; height: 58px; border-radius: 14px; background: var(--tint); color: var(--brand); }
.icon svg { width: 28px; height: 28px; }
.icon.sm { width: 46px; height: 46px; }
.icon.sm svg { width: 22px; height: 22px; }
@media (max-width: 1000px) { .about { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) { .points { grid-template-columns: minmax(0, 1fr); } }

/* Event and post cards, same family as the course cards */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.card { position: relative; display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: var(--white); transition: transform .18s, box-shadow .18s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(var(--overlay), .14); }
.card-img { position: relative; display: block; overflow: hidden; aspect-ratio: 16 / 10; background: var(--tint-2); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s; }
.card:hover .card-img img { transform: scale(1.05); }
.card-img.flyer img { object-fit: contain; }
.date-chip { position: absolute; left: 14px; top: 14px; display: grid; place-items: center; min-width: 54px; padding: 6px 8px 7px; border-radius: 14px; background: var(--white); color: var(--brand); font-size: 12px; font-weight: 800; letter-spacing: .08em; line-height: 1; text-transform: uppercase; box-shadow: 0 6px 18px rgba(0, 0, 0, .18); }
.date-chip b { display: block; margin-bottom: 3px; color: var(--ink); font-size: 22px; letter-spacing: -.02em; }
.chip.state { left: auto; right: 14px; }
.chip.state.is-on { background: var(--brand); color: var(--white); }
.card-body { display: flex; flex: 1; flex-direction: column; padding: 20px 20px 22px; }
.card h3 { margin-bottom: 6px; font-size: 21px; }
.card h3 a { text-decoration: none; }
.card h3 a:hover { color: var(--brand); }
.card .what { color: var(--muted); font-size: 15px; line-height: 1.5; }
.card-meta { display: grid; gap: 8px; margin: 14px 0 0; padding-top: 14px; border-top: 1px solid var(--line); }
.card-meta li { display: flex; align-items: flex-start; gap: 10px; color: var(--ink); font-size: 14.5px; font-weight: 600; line-height: 1.4; }
.card-meta svg { flex: none; margin-top: 1px; color: var(--brand); }
.card-go { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; margin-top: auto; padding: 0 18px; border-radius: 99px; background: var(--brand); color: var(--white); font-size: 15px; font-weight: 800; text-decoration: none; transition: background .15s; }
.card-body > :nth-last-child(2) { margin-bottom: 18px; }
.card-go:hover { background: var(--deep); }
.card-go svg { transition: transform .2s; }
.card-go:hover svg { transform: translateX(3px); }
.meta { color: var(--brand); font-size: 14.5px; font-weight: 700; }
@media (max-width: 1000px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .cards { grid-template-columns: minmax(0, 1fr); } }

/* FAQ */
.faq { position: relative; overflow: clip; background: var(--tint); }
.faq::before { content: ""; position: absolute; right: -180px; top: -180px; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, var(--tint-2), transparent 70%); pointer-events: none; }
.faq-in { position: relative; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(26px, 5vw, 60px); align-items: start; }
.faq-side { position: sticky; top: 110px; }
.faq-side .lead { margin-top: 12px; }
.help-card { position: relative; margin-top: 28px; padding: 26px 24px 24px; overflow: hidden; border-radius: 24px; background: radial-gradient(circle at 85% 10%, rgba(255, 255, 255, .18), transparent 50%), linear-gradient(160deg, var(--brand), var(--deep)); color: var(--white); box-shadow: 0 24px 60px rgba(var(--overlay), .22); }
.help-card h3 { max-width: 12em; padding-right: 70px; font-size: 22px; line-height: 1.25; }
.help-card p { margin-top: 8px; padding-right: 60px; line-height: 1.55; opacity: .88; }
.help-acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.help-acts .btn { min-height: 48px; padding: 0 18px; font-size: 15px; }
.mini-bot { position: absolute; right: 12px; top: 10px; width: 70px; height: 99px; }
.qa-list { display: grid; gap: 12px; }
.qa { border: 1px solid var(--line); border-radius: 18px; background: var(--white); transition: border-color .2s, box-shadow .2s, transform .2s; }
.qa:hover { border-color: var(--border); transform: translateY(-1px); }
.qa.open { border-color: var(--brand); box-shadow: 0 18px 44px rgba(var(--overlay), .12); }
.qa h3 { margin: 0; font-size: inherit; }
.qa button { display: flex; align-items: center; gap: 16px; width: 100%; padding: 18px 20px; border: 0; background: none; color: var(--ink); font: inherit; font-size: 17.5px; font-weight: 700; text-align: left; cursor: pointer; }
.qa button:focus-visible { outline: 3px solid var(--brand); outline-offset: -3px; border-radius: 18px; }
.qa-ic { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--tint); color: var(--brand); transition: background .2s, color .2s; }
.qa.open .qa-ic { background: var(--brand); color: var(--white); }
.qa-q { flex: 1; }
.qa-pm { position: relative; flex: none; width: 34px; height: 34px; border: 1.5px solid var(--border); border-radius: 50%; transition: background .2s, border-color .2s, transform .3s; }
.qa-pm::before, .qa-pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 2px; background: var(--brand); transition: transform .3s, background .2s; }
.qa-pm::after { transform: rotate(90deg); }
.qa.open .qa-pm { border-color: var(--brand); background: var(--brand); transform: rotate(180deg); }
.qa.open .qa-pm::before, .qa.open .qa-pm::after { background: var(--white); }
.qa.open .qa-pm::after { transform: rotate(0); }
.qa-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease; }
.qa.open .qa-a { grid-template-rows: 1fr; }
.qa-a > div { overflow: hidden; }
.qa-a p { max-width: 44em; padding: 0 24px 22px 80px; color: var(--muted); line-height: 1.65; }
.qa-a a { color: var(--brand); font-weight: 700; }
@media (max-width: 1000px) { .faq-in { grid-template-columns: minmax(0, 1fr); } .faq-side { position: static; } }
@media (max-width: 640px) { .qa button { gap: 12px; padding: 16px; font-size: 16px; } .qa-ic { width: 38px; height: 38px; } .qa-a p { padding: 0 18px 18px 66px; } .help-acts .btn { flex: 1 1 100%; } }

/* Talk to us */
.ask { position: relative; overflow: clip; }
.ask::before { content: ""; position: absolute; left: -200px; bottom: -220px; width: 560px; height: 560px; border-radius: 50%; background: radial-gradient(circle, var(--tint-2), transparent 70%); pointer-events: none; }
.ask-in { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(26px, 5vw, 60px); align-items: start; }
.tiles { display: grid; gap: 10px; margin-top: 28px; }
.tile { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 18px; background: var(--white); transition: border-color .2s, box-shadow .2s, transform .2s; }
.tile:hover { border-color: var(--border); box-shadow: 0 14px 34px rgba(var(--overlay), .08); transform: translateY(-2px); }
.t-ic { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--tint); color: var(--brand); }
.tile > div { flex: 1; display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 16px; align-items: center; min-width: 0; }
.t-l, .t-v { grid-column: 1; }
.t-l { color: var(--muted); font-size: 13.5px; }
.t-v { margin-top: 2px; font-weight: 700; line-height: 1.4; }
.t-acts { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px 10px; grid-column: 2; grid-row: 1 / span 2; }
.t-acts a { padding: 7px 14px; border-radius: 99px; background: var(--tint); color: var(--brand); font-size: 14px; font-weight: 800; text-decoration: none; }
.t-acts a:hover { background: var(--tint-2); }
.open-badge { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 99px; font-size: 13px; font-weight: 800; }
.open-badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.open-badge.is-open { background: #e3f7ea; color: var(--ok); }
.open-badge.is-open::before { animation: pulse 1.6s infinite; }
.open-badge.is-closed { background: var(--tint); color: var(--muted); }
.form-card { position: relative; padding: clamp(22px, 3vw, 34px); border: 1px solid var(--line); border-radius: 26px; background: var(--white); box-shadow: 0 30px 70px rgba(var(--overlay), .14); }
.form-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 6px; border-radius: 26px 26px 0 0; background: linear-gradient(90deg, var(--brand), var(--deep)); }
.fc-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.fc-head h3 { font-size: clamp(24px, 2.4vw, 28px); letter-spacing: -.01em; }
.fc-head p { margin-top: 4px; color: var(--muted); }
.fc-ic { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: linear-gradient(160deg, var(--brand), var(--deep)); color: var(--white); box-shadow: 0 10px 24px rgba(var(--overlay), .25); }
.inp { position: relative; display: flex; align-items: center; border: 1.5px solid var(--border); border-radius: 12px; background: var(--tint); transition: border-color .15s, box-shadow .15s, background .15s; }
.inp > span { display: grid; place-items: center; padding-left: 14px; color: var(--brand); opacity: .75; }
.field .inp input, .field .inp select, .field .inp textarea { flex: 1; min-height: 50px; padding: 12px 14px; border: 0; background: transparent; outline: none; box-shadow: none; }
.inp textarea { min-height: 110px; resize: vertical; }
.inp select { padding-right: 38px; appearance: none; cursor: pointer; }
.inp.sel::after { content: ""; position: absolute; right: 16px; top: 50%; width: 8px; height: 8px; margin-top: -6px; border-right: 2px solid var(--brand); border-bottom: 2px solid var(--brand); transform: rotate(45deg); pointer-events: none; }
.inp:focus-within { border-color: var(--brand); background: var(--white); box-shadow: 0 0 0 4px var(--tint-2); }
.inp.bad { border-color: var(--danger); background: var(--danger-tint); }
.send { width: 100%; min-height: 56px; margin-top: 20px; font-size: 17px; box-shadow: 0 14px 30px rgba(var(--overlay), .25); }
.send svg { transition: transform .2s; }
.send:hover svg { transform: translateX(4px); }
.send.busy { position: relative; }
.send.busy span, .send.busy svg { opacity: 0; }
.send.busy::after { content: ""; position: absolute; width: 22px; height: 22px; border: 3px solid rgba(255, 255, 255, .4); border-top-color: var(--white); border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.fine { margin-top: 12px; color: var(--muted); font-size: 13.5px; text-align: center; }
.done { padding: 30px 6px 10px; text-align: center; }
.done .tick { width: 72px; height: 72px; margin: 0 auto; color: #18a058; }
.done .tick circle { stroke-dasharray: 151; stroke-dashoffset: 151; animation: draw .6s ease forwards; }
.done .tick path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .4s .45s ease forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.done h3 { margin-top: 14px; font-size: 26px; }
.done > p { max-width: 26em; margin: 8px auto 0; color: var(--muted); line-height: 1.6; }
.done .btn { margin-top: 20px; }
@media (max-width: 1000px) { .ask-in { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) { .tile { align-items: flex-start; } .tile > div { grid-template-columns: minmax(0, 1fr); } .t-acts { grid-column: 1; grid-row: auto; justify-content: flex-start; margin-top: 10px; } }

/* Partners */
.partners { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 32px 56px; padding-block: 40px; border-top: 1px solid var(--line); }
.partners img { width: auto; max-height: 56px; }

/* Inner page banner */
.page-hero { position: relative; overflow: hidden; background: radial-gradient(circle at 85% 0%, rgba(255, 255, 255, .16), transparent 45%), linear-gradient(110deg, rgba(81, 9, 205, .96), rgba(47, 0, 121, .9)), url(photos/hero1.jpg) center 30% / cover; color: var(--white); }
.page-hero-in { padding-block: calc(var(--nav) + clamp(36px, 5vw, 64px)) clamp(44px, 6vw, 76px); }
.page-hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; font-size: 15px; font-weight: 600; }
.crumbs a { text-decoration: none; opacity: .85; }
.crumbs a:hover { text-decoration: underline; opacity: 1; }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: .6; }
@media (max-width: 1060px) { .page-hero-in { padding-top: calc(76px + 36px); } }

/* Layout with a side column */
.split { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: minmax(0, 1fr); } }
.panel { display: flex; flex-direction: column; gap: 18px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--tint); }
.panel h2, .panel h3 { font-size: 1.35rem; }
.side { display: flex; flex-direction: column; gap: 22px; }
.detail-img { width: 100%; max-height: 460px; margin-bottom: 28px; border-radius: var(--radius); background: var(--tint); object-fit: cover; object-position: center 12%; }
.detail-img.flyer { object-fit: contain; }
.prose { overflow-wrap: anywhere; }
.prose p, .prose ul, .prose ol { margin-bottom: 16px; }
.prose ul { padding-left: 22px; list-style: disc; }
.prose ol { padding-left: 22px; list-style: decimal; }
.prose h2, .prose h3, .prose h4 { margin: 24px 0 10px; }
.prose a { color: var(--brand); font-weight: 600; }
.prose img { height: auto; border-radius: 10px; }
.facts div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 16px; padding: 11px 0; border-bottom: 1px solid var(--border); }
.facts dt { color: var(--muted); }
.facts dd { font-weight: 600; text-align: right; }
.side-list a { display: block; padding: 10px 0; border-bottom: 1px solid var(--border); font-weight: 600; text-decoration: none; }
.side-list a:hover { color: var(--brand); }
.side-list small { display: block; color: var(--muted); font-weight: 500; }
.map iframe { display: block; width: 100%; height: 360px; border: 0; border-radius: var(--radius); }

/* Forms */
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
.fields .full, .field.full { grid-column: 1 / -1; }
@media (max-width: 560px) { .fields { grid-template-columns: minmax(0, 1fr); } }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label { color: var(--ink); font-size: 14.5px; font-weight: 700; }
.field input, .field select, .field textarea { width: 100%; min-width: 0; min-height: 52px; padding: 12px 14px; border: 1.5px solid var(--border); border-radius: 12px; background: var(--tint); color: var(--ink); font-size: 16px; transition: border-color .15s, box-shadow .15s, background .15s; }
.field input[type="checkbox"], .field input[type="radio"] { width: auto; min-height: 0; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brand); background: var(--white); outline: none; box-shadow: 0 0 0 4px var(--tint-2); }
.field input::placeholder, .field textarea::placeholder { color: #9a93ab; }
.field-error, .err { color: var(--danger); font-size: 14px; font-weight: 700; }
.alert { margin-bottom: 22px; padding: 14px 18px; border: 1.5px solid var(--border); border-radius: 12px; background: var(--tint); font-weight: 500; }
.alert-error { border-color: var(--danger); background: var(--danger-tint); }
.alert ul { padding-left: 20px; list-style: disc; }
.alert a { color: var(--brand); font-weight: 700; }
.form-actions { margin-top: 24px; }

/* RSVP dialog */
dialog.modal { width: min(560px, calc(100% - 32px)); padding: 28px; border: 0; border-radius: var(--radius); }
dialog.modal::backdrop { background: rgba(var(--overlay), .6); }
.modal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.modal-head h2 { font-size: 1.5rem; }

/* Comments */
.comment { padding: 18px 0; border-bottom: 1px solid var(--line); }
.comment .comment { margin-top: 14px; padding: 14px 0 0 20px; border-top: 1px solid var(--line); border-bottom: 0; }
.comment h4 { font-size: 1.05rem; }
.comment time { color: var(--muted); font-size: 14px; }
.comment p { margin: 6px 0 8px; overflow-wrap: anywhere; }
.reply-btn { min-height: 44px; padding: 0; border: 0; background: none; color: var(--brand); font-weight: 700; cursor: pointer; }
.reply-form { margin-top: 10px; }

/* Student area */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.tabs a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 99px; background: var(--tint); font-size: 15px; font-weight: 700; text-decoration: none; }
.tabs a[aria-current="page"] { background: var(--brand); color: var(--white); }
.next { display: flex; flex-direction: column; gap: 22px; margin-bottom: 28px; padding: clamp(24px, 3.4vw, 40px); border-radius: var(--radius); background: linear-gradient(160deg, var(--brand), var(--deep)); color: var(--white); }
.next-kick { font-size: 14px; font-weight: 700; }
.next h2 { margin-top: 8px; font-size: clamp(1.8rem, 3vw, 2.7rem); }
.meter { height: 10px; overflow: hidden; border-radius: 99px; background: rgba(255, 255, 255, .28); }
.meter i { display: block; height: 100%; border-radius: 99px; background: var(--white); }
.meter-light { background: var(--tint-2); }
.meter-light i { background: var(--brand); }
.money { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 20px; margin-bottom: 10px; font-weight: 600; font-variant-numeric: tabular-nums; }
.app-card { padding: clamp(20px, 2.6vw, 30px); border: 1px solid var(--line); border-radius: var(--radius); }
.app-card + .app-card { margin-top: 18px; }
.app-head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 8px 20px; margin-bottom: 20px; }
.app-head h3 { font-size: 1.4rem; }
.app-head p { color: var(--muted); font-size: 15px; }
.pill { display: inline-flex; align-items: center; min-height: 28px; padding: 0 12px; border-radius: 99px; background: var(--tint-2); color: var(--deep); font-size: 13.5px; font-weight: 700; }
.pill.solid { background: var(--brand); color: var(--white); }
.pill.out { background: var(--white); color: var(--muted); box-shadow: inset 0 0 0 1px var(--border); }
.track { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr)); gap: 8px; margin-bottom: 20px; }
.track li { padding-top: 10px; border-top: 4px solid var(--line); color: var(--muted); font-size: 15px; font-weight: 500; }
.track li.done { border-color: var(--brand); color: var(--ink); }
.track li.now { border-color: var(--brand); color: var(--brand); font-weight: 700; }
.table-box { overflow-x: auto; }
table.table { width: 100%; min-width: 520px; border-collapse: collapse; text-align: left; }
.table th { padding: 10px 12px 10px 0; color: var(--muted); font-size: 14px; font-weight: 600; }
.table td { padding: 14px 12px 14px 0; border-top: 1px solid var(--line); font-variant-numeric: tabular-nums; }

/* Login and account pages */
.auth { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); min-height: 100vh; }
.auth-side { display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; gap: 18px; padding: clamp(32px, 5vw, 72px); background: linear-gradient(180deg, rgba(var(--overlay), .45) 0%, rgba(var(--overlay), .94) 100%), url(photos/why.jpg) center / cover; color: var(--white); }
.auth-side .brand-logo img { filter: var(--logo-glow); }
.auth-sub { max-width: 30em; font-size: 18px; opacity: .9; }
.auth-quote { margin-top: auto; max-width: 12em; font-size: clamp(2.2rem, 4vw, 3.6rem); font-weight: 800; line-height: 1.08; letter-spacing: -.015em; }
.auth-quote em { font-style: normal; text-decoration: underline; text-decoration-color: var(--brand); text-decoration-thickness: 6px; text-underline-offset: 8px; }
.auth-main { display: flex; align-items: center; justify-content: center; padding: clamp(28px, 5vw, 64px) 24px; }
.auth-box { display: flex; flex-direction: column; gap: 16px; width: 100%; max-width: 460px; }
.auth-box h1 { margin-top: 12px; font-size: clamp(2rem, 3.4vw, 2.7rem); }
.auth-box .alert { margin-bottom: 0; }
.auth-form { display: flex; flex-direction: column; gap: 18px; margin-top: 6px; }
.auth-form .fields { gap: 18px; }
.auth-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; font-size: 15px; }
.auth-row:empty { display: none; }
.check { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 500; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--brand); }
.password { position: relative; }
.password input { padding-right: 76px; }
.password button { position: absolute; top: 4px; right: 4px; bottom: 4px; min-width: 60px; padding: 0 10px; border: 0; border-radius: 10px; background: var(--tint-2); color: var(--deep); font-size: 14px; font-weight: 700; cursor: pointer; }
.auth-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; margin-top: 8px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 15px; }
.auth-foot > a { color: var(--muted); }
@media (max-width: 900px) { .auth { display: block; } .auth-side { display: none; } }

/* Two-factor authentication */
.auth-details { padding-top: 14px; border-top: 1px solid var(--line); }
.auth-details summary { display: flex; align-items: center; min-height: 44px; color: var(--brand); font-size: 15px; font-weight: 700; cursor: pointer; }
.security-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-bottom: 12px; }
.security-head .h2 { margin: 0; font-size: clamp(1.7rem, 3vw, 2.4rem); }
.setup { display: flex; flex-direction: column; gap: 28px; margin-top: 24px; counter-reset: step; }
.setup > li { position: relative; padding-left: 62px; counter-increment: step; }
.setup > li::before { content: counter(step); position: absolute; top: 0; left: 0; width: 46px; height: 46px; border-radius: 12px; background: var(--brand); color: var(--white); font-size: 20px; font-weight: 800; line-height: 46px; text-align: center; }
.setup h3 { margin-bottom: 6px; font-size: 1.2rem; }
.setup p { color: var(--muted); }
.qr { display: inline-block; margin: 8px 0 14px; padding: 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--white); line-height: 0; }
.setup-key { margin-top: 4px; color: var(--ink); font-weight: 700; letter-spacing: .08em; overflow-wrap: anywhere; }
.setup-code { max-width: 240px; margin-top: 10px; }
.codes { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr)); gap: 6px 18px; padding: 16px; border-radius: 10px; background: var(--white); font-family: var(--mono); font-size: 15px; overflow-wrap: anywhere; }

/* Footer */
.site-foot { position: relative; overflow: clip; margin-top: 70px; background: radial-gradient(circle at 15% 0%, rgba(255, 255, 255, .08), transparent 40%), linear-gradient(180deg, var(--deep), #12002e); color: var(--white); }
.cta-band { position: relative; z-index: 1; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 28px; margin-top: -70px; padding: clamp(24px, 3.5vw, 40px); border-radius: 28px; background: radial-gradient(circle at 90% 0%, rgba(255, 255, 255, .22), transparent 45%), linear-gradient(120deg, var(--brand), var(--deep)); box-shadow: 0 30px 70px rgba(20, 0, 60, .35); }
.cta-bot { width: 96px; height: 136px; }
.cta-txt .kick { margin-bottom: 6px; color: var(--white); opacity: .8; }
.cta-txt h2 { font-size: clamp(26px, 3vw, 38px); line-height: 1.1; letter-spacing: -.02em; }
.cta-txt > p:last-child { margin-top: 8px; opacity: .88; }
.cta-acts { display: flex; flex-wrap: wrap; gap: 12px; }
.foot { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .9fr) minmax(0, 1fr) minmax(0, 1.3fr); gap: 36px; padding-block: 64px 40px; font-size: 15.5px; }
.f-brand .brand-logo img { width: 150px; filter: var(--logo-glow); }
.f-brand p { max-width: 22em; margin-top: 18px; line-height: 1.6; opacity: .85; }
.f-wa { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; padding: 10px 16px; border: 1px solid rgba(255, 255, 255, .18); border-radius: 99px; background: rgba(255, 255, 255, .1); color: var(--white); font-size: 14.5px; font-weight: 700; text-decoration: none; transition: background .2s; }
.f-wa:hover { background: rgba(255, 255, 255, .18); }
.f-col h3 { margin-bottom: 16px; font-size: 13.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; opacity: .7; }
.f-col li + li { margin-top: 10px; }
.f-col a { color: var(--white); text-decoration: none; opacity: .9; }
.f-col a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.f-contact li { display: flex; align-items: flex-start; gap: 12px; line-height: 1.45; }
.f-contact li > span { flex: none; display: grid; place-items: center; width: 32px; height: 32px; margin-top: -4px; border-radius: 10px; background: rgba(255, 255, 255, .1); }
.f-contact a { display: inline-block; margin-block: -5px; padding-block: 5px; }
.f-base { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding-block: 22px 26px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: 14px; }
.f-base p { opacity: .75; }
.to-top { display: inline-flex; align-items: center; gap: 10px; color: var(--white); font-weight: 700; text-decoration: none; }
.to-top span { display: grid; place-items: center; width: 38px; height: 38px; border: 1.5px solid rgba(255, 255, 255, .35); border-radius: 50%; transition: background .2s, transform .2s; }
.to-top:hover span { background: var(--white); color: var(--brand); transform: translateY(-3px); }
.f-mark { position: relative; z-index: 0; margin: -10px 0 0; padding-bottom: 40px; color: transparent; font-size: clamp(52px, 12.5vw, 196px); font-weight: 800; line-height: .8; letter-spacing: -.04em; text-align: center; white-space: nowrap; -webkit-text-stroke: 1px rgba(255, 255, 255, .12); background: linear-gradient(180deg, rgba(255, 255, 255, .10), rgba(255, 255, 255, 0) 85%); -webkit-background-clip: text; background-clip: text; user-select: none; }
@media (max-width: 1000px) { .foot { grid-template-columns: repeat(2, minmax(0, 1fr)); } .cta-band { grid-template-columns: minmax(0, 1fr); } .cta-bot { width: 78px; height: 110px; } }
@media (max-width: 640px) { .foot { gap: 30px 20px; padding-top: 48px; } .f-brand, .foot > .f-col:last-child { grid-column: 1 / -1; } .f-col li + li { margin-top: 12px; } .cta-acts > * { flex: 1 1 100%; justify-content: center; } .f-base { flex-direction: column; align-items: flex-start; } }

/* About page */
.ab-hero { position: relative; overflow: hidden; background: radial-gradient(circle at 90% 10%, rgba(255, 255, 255, .14), transparent 45%), linear-gradient(140deg, var(--brand), var(--deep) 70%); color: var(--white); }
.ab-hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px); background-size: 44px 44px; -webkit-mask: radial-gradient(ellipse at 20% 40%, #000 20%, transparent 70%); mask: radial-gradient(ellipse at 20% 40%, #000 20%, transparent 70%); }
.ab-hero-in { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(30px, 5vw, 70px); align-items: center; padding-block: calc(var(--nav) + clamp(40px, 5vw, 70px)) clamp(100px, 10vw, 130px); }
.ab-hero .crumbs { margin: 0 0 18px; }
.ab-hero h1 { font-size: clamp(2.4rem, 4.8vw, 3.9rem); }
.ab-hero h1 em { display: block; font-style: normal; color: var(--tint-2); }
.ab-hero .sub { max-width: 32em; margin-top: 18px; font-size: 18px; opacity: .92; }
.ab-hero-art { position: relative; padding: 0 0 48px 48px; }
.ab-p1 { width: 100%; aspect-ratio: 4 / 3; border-radius: 24px; object-fit: cover; box-shadow: 0 30px 70px rgba(0, 0, 0, .3); }
.ab-p2 { position: absolute; left: 0; bottom: 0; width: 44%; aspect-ratio: 1; border: 6px solid var(--white); border-radius: 20px; object-fit: cover; box-shadow: 0 20px 44px rgba(0, 0, 0, .3); }
.ab-stamp { position: absolute; right: -10px; top: 24px; display: grid; place-items: center; width: 118px; height: 118px; border-radius: 50%; background: var(--white); color: var(--brand); text-align: center; box-shadow: 0 16px 40px rgba(0, 0, 0, .25); }
.ab-stamp strong { display: block; font-size: 30px; font-weight: 800; line-height: 1; }
.ab-stamp span { display: block; max-width: 7em; margin-top: 4px; color: var(--deep); font-size: 12px; font-weight: 700; line-height: 1.25; }
@media (max-width: 1000px) { .ab-hero-in { grid-template-columns: minmax(0, 1fr); } .ab-hero-art { max-width: 560px; } }
@media (max-width: 1060px) { .ab-hero-in { padding-top: calc(76px + 40px); } }
@media (max-width: 640px) { .ab-hero-art { padding: 0 0 32px 24px; } .ab-stamp { right: 0; top: -14px; width: 96px; height: 96px; } .ab-stamp strong { font-size: 24px; } }

.story { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(30px, 5vw, 70px); align-items: center; }
.story-art { position: relative; display: grid; grid-template-columns: 3fr 2fr; gap: 14px; }
.story-art img { width: 100%; border-radius: 18px; object-fit: cover; }
.story-art .s1 { grid-row: span 2; height: 100%; min-height: 420px; }
.story-art .s2 { aspect-ratio: 3 / 4; }
.pull { margin: 0; padding: 20px; border-radius: 18px; background: var(--brand); color: var(--white); font-size: 15.5px; font-weight: 700; line-height: 1.45; }
.timeline { position: relative; margin-top: 28px; }
.timeline::before { content: ""; position: absolute; left: 9px; top: 8px; bottom: 8px; border-left: 2px dashed var(--border); }
.timeline li { position: relative; padding: 0 0 22px 40px; }
.timeline li:last-child { padding-bottom: 0; }
.tl-dot { position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border: 4px solid var(--tint-2); border-radius: 50%; background: var(--brand); }
.timeline b { display: block; color: var(--deep); font-size: 18px; }
.timeline p { margin-top: 4px; color: var(--muted); font-size: 15.5px; }
.timeline a { color: var(--brand); font-weight: 700; }
.timeline .now { padding: 16px 18px 16px 40px; margin-left: -18px; padding-left: 58px; border-radius: 16px; background: var(--tint); }
.timeline .now .tl-dot { left: 18px; top: 19px; }
@media (max-width: 1000px) { .story { grid-template-columns: minmax(0, 1fr); } .story-art .s1 { min-height: 320px; } }
@media (max-width: 640px) { .story-art .s1 { grid-row: auto; min-height: 0; aspect-ratio: 3 / 4; } .story-art .s2 { height: 100%; aspect-ratio: auto; } .pull { grid-column: 1 / -1; } }

.mv { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.mv-card { padding: clamp(26px, 3vw, 38px); border: 1px solid var(--line); border-radius: 24px; background: var(--white); box-shadow: 0 24px 60px rgba(var(--overlay), .08); }
.mv-ic { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--tint); color: var(--brand); }
.mv-label { margin-top: 22px; color: var(--brand); font-size: 13.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.mv-card h3 { margin-top: 6px; font-size: clamp(22px, 2.2vw, 28px); }
.mv-card > p:not(.mv-label) { margin-top: 14px; line-height: 1.65; opacity: .9; }
.mv-list { margin-top: 18px; }
.mv-list li { position: relative; padding: 12px 0 12px 30px; border-top: 1px solid var(--line); color: var(--muted); font-size: 15.5px; }
.mv-list li::before { content: ""; position: absolute; left: 2px; top: 19px; width: 12px; height: 12px; border-radius: 4px; background: var(--brand); transform: rotate(45deg); }
.mv-list b { color: var(--ink); }
.mv-dark { position: relative; overflow: hidden; border-color: transparent; background: radial-gradient(circle at 90% 0%, rgba(255, 255, 255, .18), transparent 50%), linear-gradient(160deg, var(--brand), var(--deep)); color: var(--white); }
.mv-dark .mv-ic { background: rgba(255, 255, 255, .16); color: var(--white); }
.mv-dark .mv-label { color: var(--white); opacity: .8; }
@media (max-width: 900px) { .mv { grid-template-columns: minmax(0, 1fr); } }

.values { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.value { position: relative; padding: 26px 22px; overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: var(--white); transition: transform .2s, box-shadow .2s, border-color .2s; }
.value::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--brand); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.value:hover { transform: translateY(-4px); border-color: var(--border); box-shadow: 0 20px 44px rgba(var(--overlay), .10); }
.value:hover::after { transform: scaleX(1); }
.v-ic { display: grid; place-items: center; width: 50px; height: 50px; margin-bottom: 18px; border-radius: 14px; background: var(--tint); color: var(--brand); }
.value h3 { margin-bottom: 6px; font-size: 20px; }
.value p { color: var(--muted); font-size: 15.5px; line-height: 1.6; }
@media (max-width: 1000px) { .values { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .values { grid-template-columns: minmax(0, 1fr); } }

.teach { position: relative; overflow: hidden; background: #140829; color: var(--white); }
.teach::after { content: ""; position: absolute; width: 560px; height: 560px; left: -200px; bottom: -260px; border-radius: 50%; background: var(--brand); opacity: .35; filter: blur(120px); }
.teach .kick { color: var(--white); opacity: .8; }
.teach .lead { color: var(--white); opacity: .85; }
.teach-in { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(30px, 5vw, 70px); align-items: center; }
.teach-photo img { width: 100%; aspect-ratio: 4 / 4.2; border-radius: 24px; object-fit: cover; box-shadow: 0 30px 70px rgba(0, 0, 0, .35); }
.teach-list { display: grid; gap: 12px; margin-top: 26px; }
.teach-list li { display: flex; gap: 14px; padding: 16px 18px; border: 1px solid rgba(255, 255, 255, .12); border-radius: 16px; background: rgba(255, 255, 255, .05); }
.teach-list li > span { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--brand); color: var(--white); }
.teach-list b { display: block; font-size: 16.5px; }
.teach-list p { margin-top: 2px; font-size: 15px; opacity: .78; }
@media (max-width: 1000px) { .teach-in { grid-template-columns: minmax(0, 1fr); } .teach-photo img { aspect-ratio: 16 / 10; } }

.visit { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(30px, 5vw, 70px); align-items: center; }
.visit-photo { position: relative; }
.visit-photo img { width: 100%; aspect-ratio: 4 / 4.4; border-radius: 24px; object-fit: cover; }
.visit-card { position: absolute; left: 18px; right: 18px; bottom: 18px; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 12px; padding: 16px 20px; border-radius: 18px; background: var(--white); color: var(--ink); text-decoration: none; box-shadow: 0 18px 44px rgba(var(--overlay), .25); transition: transform .2s; }
.visit-card:hover { transform: translateY(-3px); }
.visit-card b { grid-column: 1; font-size: 17px; }
.visit-card span { grid-column: 1; color: var(--brand); font-size: 14.5px; font-weight: 700; }
.visit-card svg { grid-column: 2; grid-row: 1 / span 2; width: 42px; height: 42px; padding: 11px; border-radius: 50%; background: var(--brand); color: var(--white); }
@media (max-width: 1000px) { .visit { grid-template-columns: minmax(0, 1fr); } .visit-photo img { aspect-ratio: 16 / 10; } }

/* Courses page */
.cat-hero { position: relative; overflow: hidden; background: radial-gradient(circle at 85% 0%, rgba(255, 255, 255, .16), transparent 45%), linear-gradient(115deg, rgba(81, 9, 205, .97), rgba(47, 0, 121, .93)), url(photos/hero3.jpg) center 40% / cover; color: var(--white); }
.cat-hero-in { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(30px, 5vw, 64px); align-items: center; padding-block: calc(var(--nav) + clamp(36px, 5vw, 64px)) clamp(48px, 6vw, 80px); }
.cat-hero .crumbs { margin: 0 0 16px; }
.cat-hero h1 { max-width: 14em; font-size: clamp(2.3rem, 4.6vw, 3.7rem); }
.cat-hero h1 em { color: var(--tint-2); font-style: normal; }
.cat-hero .sub { max-width: 34em; margin-top: 16px; font-size: 18px; opacity: .92; }
.cat-search { position: relative; max-width: 520px; margin-top: 28px; }
.cat-search svg { position: absolute; left: 20px; top: 50%; color: var(--brand); transform: translateY(-50%); pointer-events: none; }
.cat-search input { width: 100%; min-height: 60px; padding: 0 22px 0 54px; border: 0; border-radius: 99px; background: var(--white); color: var(--ink); font-size: 16.5px; box-shadow: 0 18px 40px rgba(0, 0, 0, .22); }
.cat-search input:focus { outline: 3px solid var(--tint-2); outline-offset: 2px; }
.cat-facts { display: grid; gap: 10px; }
.cat-facts li { display: flex; align-items: center; gap: 14px; padding: 15px 18px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 18px; background: rgba(255, 255, 255, .1); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.cat-facts li > span { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; background: var(--white); color: var(--brand); }
.cat-facts b { display: block; font-size: 17px; }
.cat-facts small { display: block; font-size: 14px; opacity: .82; }
@media (max-width: 1000px) { .cat-hero-in { grid-template-columns: minmax(0, 1fr); } .cat-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 1060px) { .cat-hero-in { padding-top: calc(76px + 36px); } }
@media (max-width: 560px) { .cat-facts { grid-template-columns: minmax(0, 1fr); } }

.paths { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
@media (max-width: 900px) { .paths { grid-template-columns: minmax(0, 1fr); } }
.path-card { position: relative; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: var(--white); box-shadow: 0 20px 50px rgba(var(--overlay), .08); transition: transform .2s, box-shadow .2s; }
.path-card:hover { transform: translateY(-4px); box-shadow: 0 24px 56px rgba(var(--overlay), .14); }
.path-pic { position: relative; display: block; aspect-ratio: 16 / 8; overflow: hidden; background: var(--tint-2); }
.path-pic::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(var(--overlay), .45)); }
.path-pic img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; transition: transform .45s; }
.path-card:hover .path-pic img { transform: scale(1.05); }
.path-in { display: flex; flex: 1; flex-direction: column; padding: 24px 26px 26px; }
.path-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.path-dur { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 99px; background: var(--tint); color: var(--deep); font-size: 13.5px; font-weight: 800; }
.path-dur svg { color: var(--brand); }
.path-in h3 { font-size: 22px; }
.path-in h3 a { text-decoration: none; }
.path-in h3 a:hover { color: var(--brand); }
.path-steps { position: relative; display: grid; gap: 10px; margin: 20px 0 22px; padding: 14px 16px; border-radius: 16px; background: var(--tint); }
.path-steps::before { content: ""; position: absolute; left: 30px; top: 26px; bottom: 26px; border-left: 2px dashed var(--border); }
.path-steps li { position: relative; display: flex; align-items: center; gap: 12px; }
.path-steps i { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--white); color: var(--brand); font-size: 13.5px; font-style: normal; font-weight: 800; box-shadow: 0 0 0 4px var(--tint); }
.path-steps li:last-child i { background: var(--brand); color: var(--white); }
.path-steps span { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 2px 10px; flex: 1; font-weight: 700; }
.path-steps small { color: var(--muted); font-size: 13.5px; font-weight: 600; }
.path-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); }
.path-foot small { display: block; color: var(--muted); font-size: 12.5px; font-weight: 600; }
.path-foot b { font-size: 24px; font-variant-numeric: tabular-nums; }

.toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; margin-bottom: 14px; padding: 14px; border: 1px solid var(--line); border-radius: 20px; background: var(--white); box-shadow: 0 14px 34px rgba(var(--overlay), .06); }
.toolbar .filters { margin: 0; }
.filters button span { margin-left: 4px; padding: 1px 7px; border-radius: 99px; background: var(--tint); color: var(--brand); font-size: 12.5px; }
.filters button[aria-pressed="true"] span { background: rgba(255, 255, 255, .2); color: var(--white); }
.tool-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.seg { display: inline-flex; padding: 4px; border-radius: 99px; background: var(--tint); }
.seg button { min-height: 36px; padding: 0 14px; border: 0; border-radius: 99px; background: none; color: var(--deep); font-size: 14.5px; font-weight: 700; cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--white); color: var(--brand); box-shadow: 0 2px 8px rgba(var(--overlay), .15); }
.sort { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14.5px; font-weight: 700; }
.sort select { min-height: 44px; padding: 0 34px 0 14px; border: 1.5px solid var(--border); border-radius: 99px; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235109cd' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 14px center no-repeat; color: var(--ink); font-size: 14.5px; font-weight: 700; -webkit-appearance: none; appearance: none; cursor: pointer; }
.cat-count { margin: 0 0 18px 4px; color: var(--muted); font-size: 14.5px; font-weight: 600; }
.cat-empty { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding: 24px; border: 1.5px dashed var(--border); border-radius: 20px; background: var(--white); }
.cat-empty[hidden] { display: none; }
.cat-empty p { color: var(--muted); }
.cat-empty b { color: var(--ink); }
@media (max-width: 640px) { .toolbar { padding: 12px; } .tool-row, .seg { width: 100%; } .seg button { flex: 1; padding: 0 8px; } .sort { width: 100%; } .sort select { flex: 1; } .toolbar .filters { flex-wrap: nowrap; overflow-x: auto; margin: 0 -12px; padding: 0 12px 4px; scrollbar-width: none; } .toolbar .filters button { flex: none; } }

.choose { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
.choose-card { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px 18px; align-items: start; padding: clamp(22px, 3vw, 32px); border-radius: 24px; text-decoration: none; }
.choose-card b { display: block; font-size: 21px; line-height: 1.25; }
.choose-card p { margin-top: 6px; line-height: 1.55; }
.choose-card.on-dark { background: radial-gradient(circle at 90% 0%, rgba(255, 255, 255, .18), transparent 50%), linear-gradient(160deg, var(--brand), var(--deep)); color: var(--white); box-shadow: 0 24px 56px rgba(var(--overlay), .2); transition: transform .2s; }
.choose-card.on-dark:hover { transform: translateY(-3px); }
.choose-card.on-dark p { opacity: .88; }
.choose-card.plain { border: 1px solid var(--line); background: var(--tint); }
.choose-card.plain p { color: var(--muted); }
.ch-ic { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: rgba(255, 255, 255, .16); }
.plain .ch-ic { background: var(--white); color: var(--brand); }
.ch-go, .ch-acts { grid-column: 2; }
.ch-go { display: inline-flex; align-items: center; gap: 8px; justify-self: start; min-height: 44px; padding: 0 18px; border-radius: 99px; background: var(--white); color: var(--brand); font-weight: 800; font-size: 15px; }
.ch-acts { display: flex; flex-wrap: wrap; gap: 8px; }
.mini-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 20px; }
.mini-steps li { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 12px; align-items: center; padding: 14px 16px; border: 1px solid var(--line); border-radius: 16px; }
.mini-steps i { grid-row: span 2; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--tint); color: var(--brand); font-style: normal; font-weight: 800; }
.mini-steps b { font-size: 15.5px; }
.mini-steps span { color: var(--muted); font-size: 13.5px; line-height: 1.4; }
@media (max-width: 1000px) { .choose { grid-template-columns: minmax(0, 1fr); } .mini-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .mini-steps { grid-template-columns: minmax(0, 1fr); } .choose-card { grid-template-columns: minmax(0, 1fr); } .ch-go, .ch-acts { grid-column: 1; } }

/* Course detail page */
.cd-hero { position: relative; overflow: hidden; background: radial-gradient(circle at 85% 0%, rgba(255, 255, 255, .16), transparent 45%), linear-gradient(130deg, var(--brand), var(--deep) 75%); color: var(--white); }
.cd-hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px); background-size: 44px 44px; -webkit-mask: radial-gradient(ellipse at 15% 50%, #000 15%, transparent 65%); mask: radial-gradient(ellipse at 15% 50%, #000 15%, transparent 65%); }
.cd-hero-in { position: relative; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(30px, 5vw, 64px); align-items: center; padding-block: calc(var(--nav) + clamp(32px, 4vw, 56px)) clamp(48px, 6vw, 80px); }
.cd-hero .crumbs { margin: 0 0 18px; }
.cd-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.cd-tags span { padding: 5px 12px; border: 1px solid rgba(255, 255, 255, .35); border-radius: 99px; font-size: 13px; font-weight: 800; letter-spacing: .04em; }
.cd-tags .hl { border-color: transparent; background: var(--white); color: var(--brand); }
.cd-hero h1 { font-size: clamp(2.3rem, 4.6vw, 3.7rem); }
.cd-hero .sub { max-width: 34em; margin-top: 14px; font-size: 18px; opacity: .92; }
.cd-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.cd-meta li { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 12px; background: rgba(255, 255, 255, .12); font-size: 15px; font-weight: 700; }
.cd-pic { position: relative; }
.cd-pic img { width: 100%; aspect-ratio: 4 / 3.4; border: 6px solid rgba(255, 255, 255, .14); border-radius: 26px; object-fit: cover; object-position: center 20%; box-shadow: 0 30px 70px rgba(0, 0, 0, .3); }
.cd-float { left: -24px; bottom: 26px; }
@media (max-width: 1060px) { .cd-hero-in { padding-top: calc(76px + 32px); } }
@media (max-width: 1000px) { .cd-hero-in { grid-template-columns: minmax(0, 1fr); } .cd-pic { max-width: 560px; } .cd-float { left: 14px; } }

.cd-body { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(30px, 5vw, 64px); align-items: start; }
.cd-main { display: grid; gap: clamp(44px, 5vw, 64px); min-width: 0; }
.cd-block > .kick { margin-bottom: 6px; }
.cd-note { margin-top: -4px; margin-bottom: 18px; color: var(--muted); }
.cd-note a, .cd-empty a { color: var(--brand); font-weight: 700; }
.cd-block > .cd-note:last-child { margin: 16px 0 0; }
.cd-prose { padding: 24px 26px; border: 1px solid var(--line); border-left: 5px solid var(--brand); border-radius: 18px; font-size: 17.5px; }
.cd-prose > :last-child { margin-bottom: 0; }
.cd-prose ul { display: grid; gap: 8px; padding: 0; list-style: none; }
.cd-prose ul li { position: relative; padding-left: 30px; }
.cd-prose ul li::before { content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235109cd' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5L20 7'/%3E%3C/svg%3E") center no-repeat; }

.cd-stages { position: relative; display: grid; gap: 14px; }
.cd-stages::before { content: ""; position: absolute; left: 21px; top: 22px; bottom: 30px; border-left: 2px dashed var(--border); }
.cd-stages > li { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; align-items: start; }
.st-no { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--brand); color: var(--white); font-weight: 800; box-shadow: 0 0 0 6px var(--white); }
.st-card { padding: 18px 20px; border: 1px solid var(--line); border-radius: 18px; background: var(--white); transition: border-color .2s, box-shadow .2s; }
.st-card:hover { border-color: var(--border); box-shadow: 0 14px 34px rgba(var(--overlay), .08); }
.st-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; }
.st-top h3 { font-size: 19px; }
.st-when { padding: 4px 10px; border-radius: 99px; background: var(--tint); color: var(--deep); font-size: 13px; font-weight: 800; }
.st-card p { margin-top: 6px; color: var(--muted); font-size: 15.5px; }
.st-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-top: 12px; }
.st-foot small { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 14px; font-weight: 700; }
.st-foot small svg { color: var(--brand); }
.st-foot a { display: inline-flex; align-items: center; gap: 6px; color: var(--brand); font-size: 14.5px; font-weight: 800; text-decoration: none; }
.st-foot a:hover { text-decoration: underline; }
.st-end { align-items: center !important; }
.st-end .st-no { background: var(--tint-2); color: var(--brand); }
.st-end b { display: block; color: var(--deep); font-size: 17px; }
.st-end p { color: var(--muted); font-size: 15px; }

.cd-paths { display: grid; gap: 10px; }
.cd-path { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; grid-template-areas: "n d a" "c c a"; align-items: center; gap: 2px 14px; padding: 16px 20px; border: 1px solid var(--line); border-radius: 16px; text-decoration: none; transition: border-color .2s, transform .2s; }
.cd-path:hover { border-color: var(--brand); transform: translateX(3px); }
.cd-path b { grid-area: n; font-size: 17px; }
.cd-path small { grid-area: d; padding: 3px 10px; border-radius: 99px; background: var(--tint); color: var(--deep); font-size: 13px; font-weight: 800; }
.cd-path small:empty { display: none; }
.cd-chain { grid-area: c; color: var(--muted); font-size: 14.5px; }
.cd-path svg { grid-area: a; color: var(--brand); }

.cd-dates { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.date-card { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 16px; align-items: center; padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: var(--white); transition: border-color .2s, box-shadow .2s; }
.date-card:hover { border-color: var(--border); box-shadow: 0 14px 34px rgba(var(--overlay), .08); }
.date-card.first { border: 2px solid var(--brand); }
.date-flag { position: absolute; right: 14px; top: -11px; padding: 3px 10px; border-radius: 99px; background: var(--brand); color: var(--white); font-size: 12px; font-weight: 800; }
.date-cal { display: grid; justify-items: center; width: 64px; padding: 6px 0 8px; border-radius: 14px; background: var(--tint); color: var(--deep); line-height: 1.1; }
.date-cal small { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.date-cal b { color: var(--brand); font-size: 26px; }
.date-txt b { display: block; font-size: 16.5px; }
.date-txt span { display: block; color: var(--muted); font-size: 14.5px; }
.date-txt small { display: inline-block; margin-top: 4px; color: var(--deep); font-size: 13px; font-weight: 700; }
.date-go { grid-column: 1 / -1; display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 42px; margin-top: 10px; border-radius: 99px; background: var(--tint); color: var(--brand); font-size: 15px; font-weight: 800; text-decoration: none; transition: background .2s, color .2s; }
.date-go:hover, .date-card.first .date-go { background: var(--brand); color: var(--white); }
.cd-empty { padding: 20px 22px; border: 1.5px dashed var(--border); border-radius: 18px; color: var(--muted); }

.cd-cert { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.cd-cert > div { padding: 20px; border-radius: 18px; background: var(--tint); }
.cd-cert span { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 14px; border-radius: 14px; background: var(--white); color: var(--brand); }
.cd-cert b { display: block; color: var(--deep); font-size: 22px; }
.cd-cert small { color: var(--muted); font-size: 15px; }
.cd-steps { margin-top: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); }

.cd-side { position: sticky; top: 110px; }
.enrol { position: relative; padding: 26px; overflow: hidden; border: 1px solid var(--line); border-radius: 24px; background: var(--white); box-shadow: 0 30px 70px rgba(var(--overlay), .14); }
.enrol-label { color: var(--muted); font-size: 13.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.enrol-seg { display: flex; margin-top: 12px; }
.enrol-seg button { flex: 1; }
.enrol-price { margin-top: 14px; }
.enrol-price b { display: block; font-size: 38px; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.enrol-price span { color: var(--muted); font-size: 14.5px; font-weight: 600; }
.enrol-parts { display: flex; align-items: center; gap: 8px; margin-top: 12px; padding: 9px 12px; border-radius: 12px; background: var(--tint); color: var(--deep); font-size: 14.5px; font-weight: 700; }
.enrol-parts svg { color: var(--ok); }
.enrol-facts { margin: 18px 0 20px; }
.enrol-facts div { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.enrol-facts dt { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); }
.enrol-facts dt svg { color: var(--brand); }
.enrol-facts dd { font-weight: 700; text-align: right; }
.enrol-btn { width: 100%; }
.enrol-alt { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.enrol-alt a { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; border: 1.5px solid var(--border); border-radius: 99px; color: var(--ink); font-size: 14.5px; font-weight: 800; text-decoration: none; }
.enrol-alt a:hover { border-color: var(--brand); color: var(--brand); }
@media (max-width: 1000px) { .cd-body { grid-template-columns: minmax(0, 1fr); } .cd-side { position: static; grid-row: 1; } }
@media (max-width: 640px) { .cd-dates, .cd-cert, .cd-steps { grid-template-columns: minmax(0, 1fr); } .cd-prose { padding: 18px; } .cd-stages > li { grid-template-columns: 36px minmax(0, 1fr); gap: 12px; } .st-no { width: 36px; height: 36px; } .cd-stages::before { left: 17px; } .cd-path { grid-template-areas: "n a" "d a" "c a"; grid-template-columns: minmax(0, 1fr) auto; } .cd-path small { justify-self: start; margin: 4px 0; } }

/* Events page */
.ev-hero { position: relative; overflow: hidden; background: radial-gradient(circle at 15% 100%, rgba(255, 255, 255, .12), transparent 45%), linear-gradient(130deg, var(--brand), var(--deep) 75%); color: var(--white); }
.ev-hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .16) 1.5px, transparent 1.5px); background-size: 26px 26px; -webkit-mask: radial-gradient(ellipse at 20% 40%, #000 15%, transparent 65%); mask: radial-gradient(ellipse at 20% 40%, #000 15%, transparent 65%); }
.ev-hero-in { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: clamp(30px, 5vw, 70px); align-items: center; padding-block: calc(var(--nav) + clamp(32px, 4vw, 56px)) clamp(48px, 6vw, 80px); }
.ev-hero .crumbs { margin: 0 0 18px; }
.ev-hero h1 { font-size: clamp(2.6rem, 5.4vw, 4.4rem); }
.ev-hero h1 em { color: var(--tint-2); font-style: normal; }
.ev-hero .sub { max-width: 32em; margin-top: 16px; font-size: 18px; opacity: .92; }
.ev-stats { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.ev-stats li { min-width: 120px; padding: 14px 18px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 16px; background: rgba(255, 255, 255, .08); }
.ev-stats b { display: block; font-size: 26px; line-height: 1.1; }
.ev-stats span { font-size: 14px; opacity: .85; }
.next-card { padding: 18px; border-radius: 26px; background: var(--white); color: var(--ink); box-shadow: 0 30px 70px rgba(0, 0, 0, .3); }
.next-card.none { padding: 28px; }
.nc-label { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; color: var(--brand); font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.pulse { width: 9px; height: 9px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 0 rgba(81, 9, 205, .5); animation: ring 1.8s infinite; }
@keyframes ring { 70% { box-shadow: 0 0 0 10px rgba(81, 9, 205, 0); } 100% { box-shadow: 0 0 0 0 rgba(81, 9, 205, 0); } }
.nc-img { display: block; aspect-ratio: 16 / 8; overflow: hidden; border-radius: 16px; background: var(--tint-2); }
.nc-img img { width: 100%; height: 100%; object-fit: cover; }
.next-card h2 { margin-top: 14px; font-size: 22px; }
.next-card h2 a { text-decoration: none; }
.next-card h2 a:hover { color: var(--brand); }
.nc-when { display: flex; align-items: center; gap: 8px; margin-top: 6px; color: var(--muted); font-size: 15px; font-weight: 600; }
.nc-when svg { flex: none; color: var(--brand); }
.countdown { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 14px; }
.countdown div { padding: 10px 4px; border-radius: 14px; background: var(--tint); text-align: center; }
.countdown b { display: block; color: var(--brand); font-size: 26px; font-weight: 800; line-height: 1.1; font-variant-numeric: tabular-nums; }
.countdown small { color: var(--deep); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.nc-btn { width: 100%; margin-top: 14px; }
@media (max-width: 1060px) { .ev-hero-in { padding-top: calc(76px + 32px); } }
@media (max-width: 1000px) { .ev-hero-in { grid-template-columns: minmax(0, 1fr); } .next-card { max-width: 520px; } }
@media (max-width: 560px) { .ev-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; } .ev-stats li { min-width: 0; padding: 12px; } .ev-stats b { font-size: 21px; } .ev-stats span { font-size: 12.5px; } }

.agenda { display: grid; gap: 16px; }
.ag { display: grid; grid-template-columns: 92px 240px minmax(0, 1fr) auto; gap: 22px; align-items: center; padding: 18px; border: 1px solid var(--line); border-radius: 22px; background: var(--white); transition: border-color .2s, box-shadow .2s, transform .2s; }
.ag:hover { border-color: var(--border); box-shadow: 0 20px 44px rgba(var(--overlay), .10); transform: translateY(-3px); }
.ag-date { display: grid; justify-items: center; align-self: stretch; align-content: center; padding: 12px 6px; border-radius: 16px; background: linear-gradient(160deg, var(--brand), var(--deep)); color: var(--white); line-height: 1.1; text-align: center; }
.ag-date b { margin: 4px 0; font-size: 38px; letter-spacing: -.02em; }
.ag-date small { font-size: 12.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; opacity: .9; }
.ag-img { display: block; align-self: stretch; min-height: 150px; overflow: hidden; border-radius: 16px; background: var(--tint-2); }
.ag-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s; }
.ag:hover .ag-img img { transform: scale(1.05); }
.ag-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.ag-tags span { padding: 3px 10px; border-radius: 99px; background: var(--tint); color: var(--deep); font-size: 12.5px; font-weight: 800; }
.ag-tags .on { background: var(--brand); color: var(--white); }
.ag-tags .soon { background: none; border: 1px solid var(--border); }
.ag-body h3 { font-size: clamp(20px, 2vw, 24px); }
.ag-body h3 a { text-decoration: none; }
.ag-body h3 a:hover { color: var(--brand); }
.ag-body > p { margin-top: 6px; color: var(--muted); font-size: 15.5px; line-height: 1.55; }
.ag-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 12px; }
.ag-meta li { display: inline-flex; align-items: center; gap: 7px; font-size: 14.5px; font-weight: 600; }
.ag-meta svg { color: var(--brand); }
.ag-acts { display: grid; gap: 8px; min-width: 190px; }
.ag-acts .btn { width: 100%; }
.ev-empty { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 20px; padding: 26px; border: 1.5px dashed var(--border); border-radius: 22px; }
.ev-empty > span { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--tint); color: var(--brand); }
.ev-empty > div { flex: 1; min-width: 220px; }
.ev-empty p { color: var(--muted); }
@media (max-width: 1100px) { .ag { grid-template-columns: 84px 200px minmax(0, 1fr); } .ag-acts { grid-column: 2 / -1; grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) { .ag { grid-template-columns: 72px minmax(0, 1fr); gap: 14px; padding: 14px; } .ag-img { grid-column: 1 / -1; grid-row: 1; aspect-ratio: 16 / 8; min-height: 0; } .ag-date { grid-row: 2; align-self: start; } .ag-date b { font-size: 28px; } .ag-acts { grid-column: 1 / -1; } }
@media (max-width: 420px) { .ag-acts { grid-template-columns: minmax(0, 1fr); } }

.past { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 16px; }
.past-card { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 16px; align-items: center; padding: 12px; border: 1px solid var(--line); border-radius: 18px; text-decoration: none; transition: border-color .2s, box-shadow .2s; }
.past-card:hover { border-color: var(--border); box-shadow: 0 14px 34px rgba(var(--overlay), .08); }
.past-img { display: block; aspect-ratio: 1; overflow: hidden; border-radius: 12px; background: var(--tint-2); }
.past-img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.6); transition: filter .3s; }
.past-card:hover .past-img img { filter: none; }
.past-body small { display: block; color: var(--brand); font-size: 13px; font-weight: 800; }
.past-body b { display: block; margin-top: 2px; font-size: 17px; line-height: 1.3; }
.past-body span { display: block; margin-top: 4px; color: var(--muted); font-size: 14px; line-height: 1.45; }

/* Event detail page */
.evd-hero { position: relative; overflow: hidden; background: radial-gradient(circle at 85% 0%, rgba(255, 255, 255, .16), transparent 45%), linear-gradient(130deg, var(--brand), var(--deep) 75%); color: var(--white); }
.evd-hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .16) 1.5px, transparent 1.5px); background-size: 26px 26px; -webkit-mask: radial-gradient(ellipse at 20% 40%, #000 15%, transparent 65%); mask: radial-gradient(ellipse at 20% 40%, #000 15%, transparent 65%); }
.evd-hero-in { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(30px, 5vw, 64px); align-items: center; padding-block: calc(var(--nav) + clamp(32px, 4vw, 56px)) clamp(48px, 6vw, 80px); }
.evd-hero .crumbs { margin: 0 0 18px; }
.evd-hero h1 { font-size: clamp(2.3rem, 4.6vw, 3.7rem); }
.evd-hero .sub { max-width: 32em; margin-top: 14px; font-size: 18px; opacity: .92; }
.evd-hero .btn-ghost svg { flex: none; }
.flyer-frame { position: relative; overflow: hidden; padding: clamp(14px, 2vw, 22px); border: 1px solid rgba(255, 255, 255, .2); border-radius: 26px; box-shadow: 0 30px 70px rgba(0, 0, 0, .3); }
.flyer-frame::before { content: ""; position: absolute; inset: -30px; background: var(--flyer) center / cover; filter: blur(28px) saturate(1.2); opacity: .55; }
.flyer-frame img { position: relative; width: 100%; height: auto; border-radius: 16px; box-shadow: 0 16px 40px rgba(0, 0, 0, .3); }
@media (max-width: 1060px) { .evd-hero-in { padding-top: calc(76px + 32px); } }
@media (max-width: 1000px) { .evd-hero-in { grid-template-columns: minmax(0, 1fr); } .flyer-frame { max-width: 600px; } }

.evd-expect { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.evd-expect > div { padding: 20px; border-radius: 18px; background: var(--tint); }
.evd-expect span { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 14px; border-radius: 14px; background: var(--white); color: var(--brand); }
.evd-expect b { display: block; color: var(--deep); font-size: 17px; }
.evd-expect small { display: block; margin-top: 4px; color: var(--muted); font-size: 14.5px; line-height: 1.5; }
.cd-block .map { margin-bottom: 14px; }
.place { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 18px; }
.place-ic { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: linear-gradient(160deg, var(--brand), var(--deep)); color: var(--white); }
.place > div:not(.place-acts) { flex: 1; min-width: 200px; }
.place b { font-size: 18px; }
.place p { margin-top: 2px; color: var(--muted); font-size: 15px; }
.place-acts { display: flex; flex-wrap: wrap; gap: 8px; }

.evd-top { display: flex; align-items: center; gap: 14px; }
.date-cal.big { flex: none; width: 72px; padding: 8px 0 10px; background: linear-gradient(160deg, var(--brand), var(--deep)); color: var(--white); }
.date-cal.big b { color: var(--white); font-size: 32px; }
.evd-title { margin-top: 2px; font-size: 19px; font-weight: 800; line-height: 1.25; }
.evd-card .countdown { margin-top: 18px; }
.evd-cal { margin-top: 8px; }
.evd-share { display: flex; align-items: center; gap: 8px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.evd-share > span { margin-right: auto; color: var(--muted); font-size: 14px; font-weight: 700; }
.evd-share a, .evd-share button { position: relative; display: grid; place-items: center; width: 40px; height: 40px; border: 1.5px solid var(--border); border-radius: 50%; background: var(--white); color: var(--deep); cursor: pointer; transition: border-color .2s, color .2s; }
.evd-share a:hover, .evd-share button:hover { border-color: var(--brand); color: var(--brand); }
.copied { position: absolute; bottom: calc(100% + 6px); right: 0; padding: 4px 8px; border-radius: 8px; background: var(--ink); color: var(--white); font-size: 12px; font-weight: 700; white-space: nowrap; }

.rsvp-points { display: grid; gap: 10px; margin-top: 24px; }
.rsvp-points li { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.rsvp-points svg { flex: none; width: 28px; height: 28px; padding: 5px; border-radius: 50%; background: var(--white); color: var(--brand); }
.stepper { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.stepper button { display: grid; place-items: center; width: 46px; height: 46px; border: 1.5px solid var(--border); border-radius: 50%; background: var(--white); color: var(--brand); font-size: 22px; font-weight: 700; cursor: pointer; }
.stepper button:hover { border-color: var(--brand); }
.field .stepper input { width: 80px; text-align: center; font-weight: 800; -moz-appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper span { color: var(--muted); font-size: 14.5px; }
.link-more { display: inline-flex; align-items: center; gap: 8px; color: var(--brand); font-weight: 800; text-decoration: none; }
.link-more:hover { text-decoration: underline; }
.past-card.upcoming .past-img img { filter: none; }
@media (max-width: 640px) { .evd-expect { grid-template-columns: minmax(0, 1fr); } }

/* Apply page */
.ap-hero { position: relative; overflow: hidden; background: radial-gradient(circle at 85% 0%, rgba(255, 255, 255, .16), transparent 45%), linear-gradient(130deg, var(--brand), var(--deep) 75%); color: var(--white); }
.ap-hero-in { position: relative; padding-block: calc(var(--nav) + clamp(28px, 4vw, 48px)) clamp(90px, 9vw, 120px); }
.ap-hero .crumbs { margin: 0 0 16px; }
.ap-hero h1 { font-size: clamp(2.1rem, 4.2vw, 3.3rem); }
.ap-hero .sub { margin-top: 10px; font-size: 18px; opacity: .9; }
.ap-steps { display: flex; flex-wrap: wrap; gap: 8px 26px; margin-top: 26px; }
.ap-steps li { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 700; opacity: .6; }
.ap-steps li.on, .ap-steps li.done { opacity: 1; }
.ap-steps i { display: grid; place-items: center; width: 30px; height: 30px; border: 2px solid rgba(255, 255, 255, .6); border-radius: 50%; font-size: 14px; font-style: normal; font-weight: 800; }
.ap-steps li.on i { border-color: var(--white); background: var(--white); color: var(--brand); }
.ap-steps li.done i { border-color: #34d27a; background: #34d27a; color: var(--white); }
@media (max-width: 1060px) { .ap-hero-in { padding-top: calc(76px + 28px); } }
.ap-sec { position: relative; z-index: 2; margin-top: -70px; padding-top: 0; }
.ap-body { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(24px, 4vw, 44px); align-items: start; }
.ap-main { min-width: 0; }

.ap-form { display: grid; gap: 30px; }
.ap-form::before, .ap-done::before, .ap-closed::before { display: none; }
.ap-group { min-width: 0; margin: 0; padding: 0; border: 0; }
.ap-group legend { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; padding: 0; font-size: 20px; font-weight: 800; }
.ap-group legend i { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--tint); color: var(--brand); font-size: 15px; font-style: normal; }
.ap-group.need legend { color: var(--danger); }
.ap-group.need .opt-box { border-color: var(--danger); }
.ap-options { display: grid; gap: 10px; }
.ap-options.dates { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ap-options.formats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.opt { position: relative; display: block; cursor: pointer; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt-box { position: relative; display: flex; align-items: center; gap: 14px; height: 100%; padding: 14px 44px 14px 14px; border: 1.5px solid var(--border); border-radius: 16px; background: var(--white); transition: border-color .15s, background .15s, box-shadow .15s; }
.opt:hover .opt-box { border-color: var(--brand); }
.opt input:focus-visible + .opt-box { outline: 3px solid var(--brand); outline-offset: 2px; }
.opt input:checked + .opt-box { border-color: var(--brand); background: var(--tint); box-shadow: 0 0 0 1px var(--brand); }
.opt-box .date-cal { flex: none; width: 58px; background: var(--white); }
.opt input:checked + .opt-box .date-cal { background: var(--brand); color: var(--white); }
.opt input:checked + .opt-box .date-cal b { color: var(--white); }
.opt-txt { display: grid; gap: 1px; min-width: 0; }
.opt-txt b { font-size: 16px; }
.opt-txt small { color: var(--muted); font-size: 14px; }
.opt-txt em { color: var(--deep); font-size: 13px; font-style: normal; font-weight: 700; }
.opt-txt strong { margin-top: 6px; color: var(--ink); font-size: 20px; font-variant-numeric: tabular-nums; }
.opt-dot { position: absolute; right: 14px; top: 14px; width: 22px; height: 22px; border: 2px solid var(--border); border-radius: 50%; background: var(--white); transition: border-color .15s, background .15s; }
.opt input:checked + .opt-box .opt-dot { border-color: var(--brand); background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5L20 7'/%3E%3C/svg%3E") center no-repeat; }
.formats .opt-box { align-items: flex-start; padding: 16px 40px 16px 16px; }
.ap-path { display: flex; gap: 12px; padding: 14px 16px; border-radius: 14px; background: var(--tint); color: var(--deep); font-size: 15px; font-weight: 600; }
.ap-path svg { flex: none; color: var(--brand); }
.opt-note { color: var(--muted); font-weight: 500; }
.ap-form .send { margin-top: 0; }
.ap-form .fine { margin-top: -18px; }

.ap-course { display: flex; align-items: center; gap: 14px; }
.ap-course img { flex: none; width: 72px; height: 72px; border-radius: 16px; object-fit: cover; }
.ap-sum .enrol-facts { margin-bottom: 14px; }
.ap-price { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-top: 0; }
.ap-price span { color: var(--muted); font-weight: 700; }
.ap-price b { font-size: 30px; }
.ap-help { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.ap-help b { font-size: 15.5px; }
.ap-help p { margin-top: 4px; color: var(--muted); font-size: 14.5px; }
.ap-help a { color: var(--brand); font-weight: 700; white-space: nowrap; }

.ap-next { display: grid; gap: 10px; margin-top: 22px; }
.ap-next li { display: flex; align-items: flex-start; gap: 14px; padding: 14px 16px; border-radius: 14px; background: var(--tint); }
.ap-next i { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--white); color: var(--brand); font-style: normal; font-weight: 800; }
.ap-next li:first-child i { background: var(--brand); color: var(--white); }
.ap-next b { display: block; }
.ap-next span { color: var(--muted); font-size: 14.5px; }
.ap-done-acts { justify-content: center; }
.ap-closed { text-align: left; }
.ap-closed h2 { margin-top: 16px; font-size: 26px; }
.ap-closed p { margin-top: 8px; color: var(--muted); }

@media (max-width: 1000px) { .ap-body { grid-template-columns: minmax(0, 1fr); } .ap-body .cd-side { position: static; grid-row: auto; } }
@media (max-width: 640px) { .ap-options.dates, .ap-options.formats { grid-template-columns: minmax(0, 1fr); } .formats .opt-box { align-items: center; } .formats .opt-txt { grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; } .formats .opt-txt strong { grid-column: 2; grid-row: 1 / span 2; align-self: center; margin: 0; font-size: 18px; } .ap-steps { gap: 8px 16px; } .ap-steps li { font-size: 13.5px; } }

/* Blog list page */
.bl-hero { position: relative; overflow: hidden; background: radial-gradient(circle at 85% 0%, rgba(255, 255, 255, .16), transparent 45%), linear-gradient(130deg, var(--brand), var(--deep) 75%); color: var(--white); }
.bl-hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px); background-size: 44px 44px; -webkit-mask: radial-gradient(ellipse at 50% 0%, #000 20%, transparent 70%); mask: radial-gradient(ellipse at 50% 0%, #000 20%, transparent 70%); }
.bl-hero-in { position: relative; display: flex; flex-direction: column; align-items: center; padding-block: calc(var(--nav) + clamp(28px, 4vw, 48px)) clamp(110px, 11vw, 140px); text-align: center; }
.bl-hero .crumbs { justify-content: center; margin: 0 0 16px; }
.bl-hero h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
.bl-hero h1 em { color: var(--tint-2); font-style: normal; }
.bl-hero .sub { margin-top: 12px; font-size: 18px; opacity: .9; }
.bl-hero .cat-search { width: 100%; max-width: 560px; }
@media (max-width: 1060px) { .bl-hero-in { padding-top: calc(76px + 28px); } }
.bl-sec { position: relative; z-index: 2; margin-top: -90px; padding-top: 0; }

.feat { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); overflow: hidden; border: 1px solid var(--line); border-radius: 26px; background: var(--white); box-shadow: 0 30px 70px rgba(var(--overlay), .14); }
.feat[hidden], .bl-card[hidden], .bl-head[hidden] { display: none; }
.feat-pic, .bl-pic { position: relative; display: grid; place-items: center; overflow: hidden; background: var(--deep); }
.feat-pic::before, .bl-pic::before { content: ""; position: absolute; inset: -30px; background: var(--pic) center / cover; filter: blur(26px) saturate(1.2); opacity: .7; transition: transform .5s; }
.feat-pic { min-height: 360px; padding: 28px; }
.feat-pic img, .bl-pic img { position: relative; max-width: 100%; max-height: 420px; width: auto; height: auto; border-radius: 12px; box-shadow: 0 16px 40px rgba(0, 0, 0, .3); transition: transform .45s; }
.feat:hover .feat-pic img, .bl-card:hover .bl-pic img { transform: scale(1.03); }
.feat-body { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: clamp(26px, 3.4vw, 46px); }
.feat-tag { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; color: var(--muted); font-size: 14.5px; font-weight: 700; }
.feat-tag span { padding: 4px 11px; border-radius: 99px; background: var(--brand); color: var(--white); font-size: 12.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.feat h2 { margin-top: 14px; font-size: clamp(26px, 3vw, 38px); }
.feat h2 a { text-decoration: none; }
.feat h2 a:hover { color: var(--brand); }
.feat-text { margin-top: 12px; color: var(--muted); font-size: 17px; line-height: 1.65; }
.post-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 16px 0 22px; }
.post-meta li { display: inline-flex; align-items: center; gap: 6px; color: var(--deep); font-size: 14px; font-weight: 700; }
.post-meta svg { color: var(--brand); }
@media (max-width: 900px) { .feat { grid-template-columns: minmax(0, 1fr); } .feat-pic { min-height: 0; padding: 20px; } .feat-pic img { max-height: 340px; } }

.bl-head { margin-top: clamp(50px, 6vw, 80px); }
.bl-cards { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.bl-pic { aspect-ratio: 16 / 9; padding: 16px; }
.bl-pic img { position: absolute; inset: 14px; width: calc(100% - 28px); height: calc(100% - 28px); max-height: none; object-fit: contain; border-radius: 0; box-shadow: none; filter: drop-shadow(0 12px 24px rgba(0, 0, 0, .3)); }
.bl-card .post-meta { margin: 12px 0 16px; padding-top: 12px; border-top: 1px solid var(--line); }
.bl-card .link-more { margin-top: auto; }
.bl-sec .cat-empty { margin-top: 20px; }

.bl-learn { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.bl-topics { display: grid; gap: 10px; }
.bl-topics a { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 14px; padding: 16px 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); text-decoration: none; transition: border-color .2s, transform .2s; }
.bl-topics a:hover { border-color: var(--brand); transform: translateX(4px); }
.bl-topics b { font-size: 17px; }
.bl-topics span { padding: 3px 10px; border-radius: 99px; background: var(--tint); color: var(--deep); font-size: 13px; font-weight: 800; }
.bl-topics svg { color: var(--brand); }
@media (max-width: 900px) { .bl-learn { grid-template-columns: minmax(0, 1fr); } }

/* Contact page */
.ct-hero { position: relative; overflow: hidden; background: radial-gradient(circle at 85% 0%, rgba(255, 255, 255, .16), transparent 45%), linear-gradient(130deg, var(--brand), var(--deep) 75%); color: var(--white); }
.ct-hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .16) 1.5px, transparent 1.5px); background-size: 26px 26px; -webkit-mask: radial-gradient(ellipse at 20% 30%, #000 15%, transparent 65%); mask: radial-gradient(ellipse at 20% 30%, #000 15%, transparent 65%); }
.ct-hero-in { position: relative; padding-block: calc(var(--nav) + clamp(28px, 4vw, 48px)) clamp(110px, 11vw, 140px); }
.ct-hero .crumbs { margin: 0 0 16px; }
.ct-hero h1 { max-width: 14em; font-size: clamp(2.3rem, 4.8vw, 3.9rem); }
.ct-hero h1 em { color: var(--tint-2); font-style: normal; }
.ct-hero .sub { max-width: 40em; margin-top: 14px; font-size: 18px; opacity: .95; }
.ct-hero .open-badge { margin-left: 6px; vertical-align: 2px; }
.ct-ways { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 30px; }
.way { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 14px; align-items: center; padding: 16px 18px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 18px; background: rgba(255, 255, 255, .1); text-decoration: none; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: background .2s, transform .2s; }
.way:hover { background: rgba(255, 255, 255, .18); transform: translateY(-3px); }
.way-ic { grid-row: span 2; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--white); color: var(--brand); }
.way b { font-size: 17px; }
.way small { overflow: hidden; font-size: 14px; opacity: .85; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 1060px) { .ct-hero-in { padding-top: calc(76px + 28px); } }
@media (max-width: 900px) { .ct-ways { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .ct-ways { grid-template-columns: minmax(0, 1fr); } }

.ct-sec { position: relative; z-index: 2; margin-top: -80px; padding-top: 0; }
.ct-body { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(24px, 4vw, 44px); align-items: start; }
.ct-form::before { display: none; }
.ct-topic { margin-bottom: 18px; }
.lbl { color: var(--ink); font-size: 14.5px; font-weight: 700; }
.topics { display: flex; flex-wrap: wrap; gap: 8px; }
.topics button { min-height: 40px; padding: 0 14px; border: 1.5px solid var(--border); border-radius: 99px; background: var(--white); color: var(--ink); font-size: 14.5px; font-weight: 700; cursor: pointer; transition: border-color .15s, background .15s, color .15s; }
.topics button:hover { border-color: var(--brand); color: var(--brand); }
.topics button[aria-pressed="true"] { border-color: var(--brand); background: var(--brand); color: var(--white); }
.ct-side { display: grid; gap: 16px; padding-top: 0; }
.ct-quick { padding: 24px; border: 1px solid var(--line); border-radius: 24px; background: var(--white); box-shadow: 0 24px 56px rgba(var(--overlay), .10); }
.ct-quick h2 { margin-bottom: 14px; font-size: 21px; }
.ct-quick li + li { border-top: 1px solid var(--line); }
.ct-quick a { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; align-items: center; padding: 13px 0; text-decoration: none; }
.ct-quick a b { font-size: 15.5px; }
.ct-quick a span { grid-column: 1; color: var(--muted); font-size: 14px; }
.ct-quick a svg { grid-column: 2; grid-row: 1 / span 2; color: var(--brand); transition: transform .2s; }
.ct-quick a:hover b { color: var(--brand); }
.ct-quick a:hover svg { transform: translateX(3px); }
.ct-portal { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 20px; border-radius: 22px; background: linear-gradient(160deg, var(--brand), var(--deep)); color: var(--white); text-decoration: none; transition: transform .2s; }
.ct-portal:hover { transform: translateY(-3px); }
.ct-portal .way-ic { grid-row: auto; }
.ct-portal b { display: block; font-size: 17px; }
.ct-portal small { display: block; margin-top: 2px; font-size: 14px; line-height: 1.45; opacity: .85; }
@media (max-width: 1000px) { .ct-body { grid-template-columns: minmax(0, 1fr); } }

.ct-map { position: relative; margin-top: clamp(30px, 4vw, 50px); }
.ct-map iframe { display: block; width: 100%; height: clamp(420px, 42vw, 520px); border: 0; filter: saturate(.85); }
.ct-map-in { position: absolute; inset: 0; display: flex; align-items: center; pointer-events: none; }
.ct-visit { max-width: 400px; padding: 26px; border-radius: 24px; background: var(--white); box-shadow: 0 30px 70px rgba(var(--overlay), .25); pointer-events: auto; }
.ct-visit h2 { font-size: 26px; }
.ct-visit ul { display: grid; gap: 10px; margin-top: 14px; }
.ct-visit li { display: flex; gap: 10px; font-weight: 600; line-height: 1.45; }
.ct-visit li svg { flex: none; margin-top: 2px; color: var(--brand); }
.ct-visit .actions { margin-top: 18px; }
@media (max-width: 760px) { .ct-map { display: flex; flex-direction: column-reverse; } .ct-map-in { position: static; padding-block: 0 24px; } .ct-visit { max-width: none; width: 100%; box-shadow: none; border: 1px solid var(--line); } .ct-map iframe { height: 320px; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .lids { transform: scaleY(0) !important; }
  .o-term p { opacity: 1; }
}
@media print {
  .nav, .site-foot, .tabs, .page-hero, .no-print { display: none !important; }
  .section, .section-sm { padding-block: 0; }
}
