/* NALAR public site. Tokens taken from the "Web Nalar" Figma file. */
:root {
    --bg: #f7f7f6;
    --surface: #f8f8f8;
    --surface-2: #f9fafb;
    --white: #fdfefe;
    --navy-900: #102e58;
    --navy-850: #113774;
    --navy-800: #15376d;
    --navy-700: #1f4787;
    --navy-600: #224c8f;
    --navy-btn: #0a3f7e;
    --blue-strong: #033989;
    --radio: #0337e2;
    --text: #515f76;
    --text-soft: #6b7ea3;
    --text-body: #4d6281;
    --muted: #96a3b7;
    --muted-2: #7f96ba;
    --nav: #848484;
    --foot: #858a90;
    --line: #e4e6e8;
    --line-2: #d4d4d4;
    --line-3: #cfd5dc;
    --ring: #91a6bf;
    --chip: #f2f4f4;
    --teal-50: #ecf5f5;
    --teal-100: #d3efe9;
    --teal-200: #e2f3ef;
    --teal-700: #054b44;
    --blue-50: #e3eefc;
    --blue-60: #e6ecf3;
    --amber-50: #fceed7;
    --amber-700: #ab6742;
    --danger: #fb5c4b;
    --dot: #a5b8ea;
    --tone-blue: #e8eff3;
    --tone-sand: #f3ede5;
    --tone-green: #eaf1ed;
    --tone-purple: #ece8f4;
    --tone-blue-ink: #2c4f7c;
    --tone-sand-ink: #8a5a2b;
    --tone-green-ink: #2f6b4f;
    --tone-purple-ink: #5a4b8a;
    --shadow-card: 0 10px 40px rgba(17, 55, 116, .08);
    --shadow-soft: 0 4px 18px rgba(17, 55, 116, .07);
    --container: 1224px;
    --gutter: 24px;
    --font: 'Open Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.5;
    color: var(--navy-850);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, p { margin: 0; }
.icon { flex: none; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; height: 72px; background: rgba(247, 247, 246, .94); backdrop-filter: saturate(1.4) blur(10px); }
.site-header.is-scrolled { box-shadow: 0 1px 0 var(--line); }
.site-header__inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.site-logo img { width: 118px; height: auto; }
.site-nav { flex: 1; display: flex; justify-content: center; gap: 43px; margin-right: 118px; }
.site-nav a { font-size: 14px; color: var(--nav); transition: color .15s; position: relative; padding: 6px 0; }
.site-nav a:hover { color: var(--navy-700); }
.site-nav a.is-active { color: var(--navy-700); font-weight: 600; }
.site-nav a.is-active::after { content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; border-radius: 2px; background: var(--navy-700); }
.nav-toggle { display: none; margin-left: auto; background: none; border: 0; padding: 8px; color: var(--navy-700); cursor: pointer; }

/* ---------- Shared bits ---------- */
.eyebrow { font-size: 14.4px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--navy-600); }
.eyebrow--wide { font-size: 14px; letter-spacing: .2em; color: #6d7889; }
.eyebrow--dark { color: var(--navy-800); }
.section-title { font-size: 29px; font-weight: 700; line-height: 1.15; color: var(--navy-600); margin-top: 6px; }
.lead { font-size: 17.9px; font-weight: 300; line-height: 1.45; color: var(--navy-600); }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; font-size: 12.2px; font-weight: 600; color: var(--navy-700); }
.link-arrow .icon { transition: transform .2s; }
.link-arrow:hover .icon { transform: translateX(3px); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border-radius: 999px; font-weight: 600; cursor: pointer; border: 1px solid transparent; transition: background .15s, color .15s, transform .15s, box-shadow .15s; white-space: nowrap; }
.btn-primary { background: var(--navy-btn); color: #fff; font-size: 12px; height: 36px; padding: 0 22px; }
.btn-primary:hover { background: var(--navy-800); box-shadow: 0 6px 16px rgba(10, 63, 126, .25); }
.btn-primary[disabled], .btn-primary.is-disabled { background: #b7c2d3; box-shadow: none; cursor: not-allowed; }
.btn-lg { height: 54px; padding: 0 40px; font-size: 18px; font-weight: 400; }
.btn-outline { background: #fff; color: var(--navy-600); border-color: var(--navy-600); font-size: 12.5px; height: 39px; padding: 0 22px; }
.btn-outline:hover { background: var(--navy-600); color: #fff; }
.btn-ghost-lg { height: 49px; padding: 0 34px; font-size: 17px; font-weight: 400; color: var(--navy-700); border-color: var(--navy-600); background: transparent; }
.btn-ghost-lg:hover { background: var(--navy-600); color: #fff; }
.circle-arrow { width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--navy-700); display: inline-grid; place-items: center; color: var(--navy-700); transition: background .2s, color .2s; }
.circle-arrow--lg { width: 41px; height: 41px; border-color: var(--ring); color: var(--navy-800); }
.badge { display: inline-flex; align-items: center; height: 20px; padding: 0 9px; border-radius: 999px; font-size: 9.5px; white-space: nowrap; }
.badge--available { background: var(--teal-200); color: var(--navy-850); }
.badge--limited { background: var(--amber-50); color: var(--amber-700); }
.badge--full { background: #f1e3e3; color: #a33b3b; }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-size: 11px; color: #5675a3; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb strong { font-weight: 700; }
.breadcrumb .icon { color: #5675a3; }
.flash { margin: 18px 0; padding: 14px 18px; border-radius: 12px; background: var(--teal-50); color: var(--teal-700); font-size: 14px; }
.flash--error { background: #fdecea; color: #a33b3b; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--bg); }
.hero__media { position: absolute; inset: 0 0 0 auto; width: 82%; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: right center; }
.hero__media::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, var(--bg) 0%, var(--bg) 22%, rgba(247, 247, 246, 0) 70%); z-index: 1; }
.hero__inner { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: center; }
.hero--home .hero__inner { min-height: 589px; padding-top: 60px; padding-bottom: 90px; }
.hero--home .hero__media { width: 100%; }
.hero--home .hero__media::before { background: linear-gradient(90deg, var(--bg) 0%, var(--bg) 26%, rgba(247, 247, 246, 0) 82%); }
.hero__tags { display: flex; gap: 10px; align-items: center; font-size: 14.4px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--navy-600); }
.hero__tags i { width: 3px; height: 3px; border-radius: 50%; background: var(--navy-600); }
.hero__title { margin-top: 18px; font-size: 47.7px; font-weight: 700; line-height: 1.06; color: var(--navy-600); }
.hero__lead { margin-top: 18px; max-width: 546px; }
.hero__dots { position: absolute; z-index: 3; bottom: 30px; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; }
.hero__dots button { width: 14px; height: 14px; border-radius: 50%; border: .3px solid #b7b7b7; background: #f6f5f5; padding: 0; cursor: pointer; }
.hero__dots button.is-active { background: #d9d9d9; border-width: 1px; }
.hero__next { position: absolute; z-index: 3; right: 30px; top: 50%; transform: translateY(-50%); background: none; border: 0; color: #fff; cursor: pointer; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .25)); }
.hero-slide { display: none; }
.hero-slide.is-active { display: block; animation: fadeUp .6s ease both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.hero--page .hero__inner { min-height: 381px; padding-top: 40px; padding-bottom: 40px; }
.hero--page .hero__media { width: 72%; }
.hero--calendar .hero__title { font-size: 69px; margin-top: 10px; }
.hero--calendar .hero__lead { margin-top: 20px; }
.hero--calendar .hero__media { width: 100%; }
.hero--calendar .hero__media::before { background: linear-gradient(90deg, var(--bg) 0%, var(--bg) 24%, rgba(247, 247, 246, 0) 62%); }
.hero--programs { background: #f8f7f5; }
.hero--programs .hero__inner { min-height: 478px; padding-top: 70px; padding-bottom: 70px; }
.hero--programs .hero__media { width: 56%; }
.hero--programs .hero__media::before { background: linear-gradient(90deg, #f8f7f5 0%, rgba(248, 247, 245, 0) 38%); }
.hero--programs .hero__title { font-size: 56px; line-height: 1.07; color: var(--navy-800); margin-top: 16px; }
.hero--programs .hero__lead { font-size: 19px; font-weight: 400; color: var(--text-body); max-width: 560px; }
.hero--programs .hero__lead + .hero__lead { margin-top: 14px; }
.hero--detail { background: #faf9f7; }
.hero--detail .hero__media { width: 72%; }
.hero--detail .hero__media::before { background: linear-gradient(90deg, #faf9f7 0%, #faf9f7 6%, rgba(250, 249, 247, 0) 30%); }
.hero--detail .hero__inner { min-height: 381px; padding-top: 26px; padding-bottom: 40px; justify-content: flex-start; }
.hero--detail .eyebrow { margin-top: 26px; font-size: 10.8px; letter-spacing: .3em; color: var(--navy-850); }
.hero--detail .hero__title { font-size: 44.6px; line-height: 1.1; color: var(--navy-850); margin-top: 8px; max-width: 340px; }
.hero--detail .hero__lead { font-size: 16.1px; font-weight: 400; color: var(--text-soft); max-width: 400px; line-height: 1.55; }
.back-link { display: inline-flex; align-items: center; gap: 10px; margin-top: 12px; font-size: 12.2px; font-weight: 600; color: var(--navy-700); }

/* ---------- Home: schedule ---------- */
.section { padding-top: 64px; padding-bottom: 64px; }
.schedule { display: grid; grid-template-columns: 1fr 743px; gap: 60px; align-items: start; padding-top: 40px; }
.schedule > * { min-width: 0; }
.schedule__intro .lead { margin-top: 14px; max-width: 406px; }
.schedule__intro .btn-outline { margin-top: 22px; }
.schedule-card { background: var(--surface); border: 1px solid #efeeee; border-radius: 15px; box-shadow: var(--shadow-card); padding: 24px 28px 22px; }
.month-tabs { display: flex; align-items: center; height: 41px; padding: 0 5px; border-radius: 21px; background: var(--chip); overflow-x: auto; scrollbar-width: none; }
.month-tabs::-webkit-scrollbar { display: none; }
.month-tabs button { position: relative; flex: none; height: 30px; padding: 0 12px; border: 0; background: none; border-radius: 15px; font-size: 14.4px; font-weight: 600; color: var(--muted); cursor: pointer; }
.month-tabs button + button::before { content: ''; position: absolute; left: 0; top: 11px; height: 8px; width: 1px; background: #dfe3e8; }
.month-tabs button.is-active { background: var(--navy-700); color: #fefdfd; padding: 0 21px; }
.month-tabs button.is-active::before, .month-tabs button.is-active + button::before { display: none; }
.month-tabs button:disabled { opacity: .45; cursor: default; }
.event-list { display: flex; flex-direction: column; margin-top: 4px; }
.event-row { display: flex; align-items: center; gap: 22px; height: 99px; padding: 0 22px 0 10px; border: .5px solid var(--line-2); border-radius: 12px; background: #f8f7f7; margin-top: -0.5px; transition: background .15s, box-shadow .15s; }
.event-row:hover { background: #fff; box-shadow: var(--shadow-soft); position: relative; }
.event-date { width: 73px; height: 69px; border-radius: 6px; background: var(--chip); display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--navy-700); }
.event-date small { font-size: 11.6px; font-weight: 600; text-transform: uppercase; line-height: 1; }
.event-date strong { font-size: 31.7px; font-weight: 600; line-height: 1.05; }
.event-date strong.is-range { font-size: 20px; }
.event-main { flex: 1; min-width: 0; }
.event-title { font-size: 15.3px; font-weight: 600; color: var(--navy-700); }
.event-sub { font-size: 11.8px; font-weight: 600; color: var(--muted); margin-top: 4px; }
.event-row > .icon { color: var(--navy-700); }
.event-empty { padding: 34px 10px; text-align: center; font-size: 14px; color: var(--muted); }
.schedule-card .link-arrow { margin-top: 18px; margin-left: 8px; }

/* ---------- Home: categories ---------- */
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.cat-cards { display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; }
.cat-card { position: relative; display: flex; flex-direction: column; min-height: 323px; padding: 12px 12px 18px; border-radius: 16px; background: var(--surface); box-shadow: 0 6px 24px rgba(17, 55, 116, .09); transition: transform .25s, box-shadow .25s; }
.cat-card:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(17, 55, 116, .14); }
.cat-card:hover .circle-arrow { background: var(--navy-700); color: #fff; }
.cat-card__img { position: relative; aspect-ratio: 203 / 134; border-radius: 14px; overflow: hidden; }
.cat-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.cat-card:hover .cat-card__img img { transform: scale(1.05); }
.cat-card__icon { position: absolute; left: 0; top: 60px; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; box-shadow: 0 0 0 7px var(--surface); }
.cat-card__body { padding: 18px 4px 0; flex: 1; display: flex; flex-direction: column; }
.cat-card__title { font-size: 15.3px; font-weight: 600; line-height: 1.15; color: var(--navy-700); }
.cat-card__text { font-size: 11.8px; font-weight: 600; line-height: 1.25; color: var(--muted); margin-top: 12px; }
.cat-card .circle-arrow { margin-top: auto; }
.tone-blue { background: var(--tone-blue); color: var(--tone-blue-ink); }
.tone-sand { background: var(--tone-sand); color: var(--tone-sand-ink); }
.tone-green { background: var(--tone-green); color: var(--tone-green-ink); }
.tone-purple { background: var(--tone-purple); color: var(--tone-purple-ink); }
.cat-card .tone-green { background: var(--teal-100); color: var(--teal-700); }
.cat-card .tone-purple { background: #e7dcf5; color: #5a3d8f; }

/* ---------- Home: featured ---------- */
.featured { display: grid; grid-template-columns: 462px 1fr; gap: 30px; align-items: center; padding: 16px; border: 1px solid #e7e9ec; border-radius: 16px; background: var(--surface); }
.featured__img { border-radius: 12px; overflow: hidden; aspect-ratio: 462 / 268; }
.featured__img img { width: 100%; height: 100%; object-fit: cover; }
.featured__body .section-title { max-width: 420px; }
.featured__body .lead { margin-top: 14px; max-width: 600px; }
.featured__body .link-arrow { margin-top: 14px; }

/* ---------- About band ---------- */
.about-band { position: relative; overflow: hidden; background: #f4f6f9; padding: 52px 0 46px; margin-top: 64px; }
.about-band::before { content: ''; position: absolute; inset: 0; background: url('../images/waves.jpg') center / cover no-repeat; opacity: .95; }
.about-band__inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.about-band .section-title { max-width: 340px; }
.about-band .lead { margin-top: 14px; max-width: 440px; }
.about-band .link-arrow { margin-top: 26px; }
.about-band__logo { width: 170px; margin-right: 10px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg); border-top: 1px solid #eceef0; }
.site-footer__top { display: flex; align-items: center; gap: 40px; padding: 22px 0; border-bottom: 1px solid #e7e9ec; }
.site-footer__logo { padding-right: 70px; border-right: 1px solid var(--line-3); }
.site-footer__logo img { width: 118px; }
.site-footer__nav { flex: 1; display: flex; justify-content: center; gap: 60px; font-size: 13px; color: var(--navy-800); }
.site-footer__nav a:hover { color: var(--navy-600); text-decoration: underline; }
.site-footer__social { display: flex; gap: 24px; padding-left: 70px; border-left: 1px solid var(--line-3); color: var(--navy-800); }
.site-footer__social a:hover { color: var(--navy-600); }
.site-footer__bottom { display: flex; justify-content: space-between; gap: 20px; padding: 22px 0 40px; font-size: 13px; color: var(--foot); }
.site-footer__legal { display: flex; gap: 28px; }
.site-footer__legal a:hover { color: var(--navy-700); }

/* ---------- Learning programs grid ---------- */
.programs-head { display: flex; justify-content: space-between; align-items: center; margin: 52px 0 26px; }
.programs-head .eyebrow { font-size: 15px; letter-spacing: .2em; color: var(--navy-800); }
.programs-head .link-arrow { font-size: 14px; color: var(--navy-800); }
.program-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 21px; }
.program-card { position: relative; display: grid; grid-template-columns: 72px 1fr; gap: 24px; min-height: 283px; padding: 35px 20px 22px 29px; border: 1px solid var(--line); border-radius: 14px; background: #faf9f8; transition: border-color .2s, box-shadow .2s, transform .2s; }
.program-card:hover { border-color: #c9d3e1; box-shadow: var(--shadow-card); transform: translateY(-3px); }
.program-card:hover .circle-arrow--lg { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }
.program-card__icon { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; }
.program-card__no { display: flex; align-items: center; gap: 14px; font-size: 17px; font-weight: 600; color: var(--navy-800); }
.program-card__no::after { content: ''; width: 34px; height: 1px; background: #c7cfd9; }
.program-card__title { font-size: 26px; font-weight: 600; line-height: 1.07; letter-spacing: -.03em; color: var(--navy-800); margin-top: 12px; max-width: 240px; }
.program-card__text { font-size: 18px; line-height: 1.33; color: var(--text-body); margin-top: 18px; max-width: 260px; padding-bottom: 46px; }
.program-card .circle-arrow--lg { position: absolute; right: 20px; bottom: 22px; }
.program-card__count { position: absolute; left: 29px; bottom: 32px; font-size: 12px; font-weight: 600; color: var(--muted); }

.cta-banner { position: relative; overflow: hidden; display: flex; align-items: center; min-height: 381px; margin: 32px 0 40px; border-radius: 16px; background: #f5f3ef; }
.cta-banner__media { position: absolute; inset: 0 0 0 auto; width: 62%; }
.cta-banner__media img { width: 100%; height: 100%; object-fit: cover; object-position: right center; }
.cta-banner__media::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #f5f3ef 0%, rgba(245, 243, 239, 0) 45%); }
.cta-banner__body { position: relative; padding: 40px 47px; max-width: 560px; }
.cta-banner .eyebrow { font-size: 12px; letter-spacing: .18em; color: var(--navy-800); max-width: 230px; line-height: 1.4; }
.cta-banner h2 { font-size: 41px; font-weight: 700; line-height: 1.1; color: var(--navy-800); margin-top: 20px; }
.cta-banner p { font-size: 18px; color: var(--text-body); margin-top: 18px; line-height: 1.45; max-width: 420px; }
.cta-banner .btn { margin-top: 18px; background: var(--navy-800); }

/* ---------- Program detail ---------- */
.detail { display: grid; grid-template-columns: 395px 1fr; gap: 0; padding: 56px 0 40px; }
.modules-nav { padding-right: 16px; border-right: 1px solid var(--line); }
.modules-nav .eyebrow, .module-detail .eyebrow { font-size: 15px; letter-spacing: .2em; color: var(--navy-800); }
.module-list { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.module-link { display: flex; align-items: center; gap: 31px; padding: 13px 13px; border-radius: 11px; color: var(--navy-850); font-size: 18.9px; line-height: 1.37; transition: background .15s; }
.module-link:hover { background: #f1f5f8; }
.module-link.is-active { background: var(--teal-50); }
.module-no { flex: none; width: 52px; height: 52px; border-radius: 50%; background: var(--blue-50); display: grid; place-items: center; font-size: 16.2px; font-weight: 700; color: var(--navy-900); }
.module-link.is-active .module-no { background: var(--teal-100); }
.module-detail { padding-left: 42px; }
.module-detail h2 { font-size: 30px; font-weight: 600; line-height: 1.17; color: var(--navy-850); margin-top: 16px; white-space: pre-line; }
.module-detail .module-desc { font-size: 16.1px; line-height: 1.55; color: var(--text-soft); margin-top: 18px; max-width: 718px; }
.module-detail h3 { font-size: 26.2px; font-weight: 600; color: var(--navy-850); }
.learn-list { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-direction: column; gap: 5px; }
.learn-list li { display: flex; align-items: center; gap: 22px; font-size: 16.1px; color: var(--text-soft); }
.learn-list .check { width: 32px; height: 32px; border-radius: 50%; background: var(--teal-100); color: var(--navy-850); display: grid; place-items: center; flex: none; }
.facts { display: flex; flex-wrap: wrap; gap: 26px 60px; margin-top: 32px; padding: 22px 32px; border-radius: 16px; background: var(--surface-2); }
.fact { display: flex; align-items: center; gap: 16px; }
.fact__icon { width: 50px; height: 50px; border-radius: 50%; background: var(--blue-60); display: grid; place-items: center; color: var(--navy-850); }
.fact small { display: block; font-size: 14.4px; font-weight: 300; color: var(--navy-850); }
.fact strong { display: block; font-size: 14.4px; font-weight: 600; color: var(--navy-850); }
.facts--stack { flex-direction: column; gap: 26px; padding: 0; margin-top: 28px; background: none; }
.facts--stack .fact__icon { width: 56px; height: 56px; }
.facts--stack small, .facts--stack strong { font-size: 16.4px; }
.divider { height: 1px; background: var(--line); margin: 50px 0 48px; }
.upcoming-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.class-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.class-card { display: flex; flex-direction: column; padding: 18px 17px 22px; border: .5px solid var(--navy-btn); border-radius: 13px; background: var(--surface-2); font-size: 11.3px; color: var(--navy-850); }
.class-card__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.class-card__date { display: flex; align-items: center; gap: 10px; font-size: 12.9px; font-weight: 600; white-space: nowrap; }
.class-card__row { display: flex; gap: 10px; margin-top: 12px; line-height: 1.5; }
.class-card__row .icon { color: var(--navy-700); margin-top: 1px; }
.class-card__row span small { display: block; font-weight: 300; font-size: 11.3px; }
.class-card .btn { margin-top: 24px; height: 36px; font-size: 11.6px; }
.class-card.is-selectable { cursor: pointer; transition: box-shadow .15s, border-color .15s; }
.class-card.is-selectable:hover { box-shadow: var(--shadow-soft); }
.class-card.is-selected { border-color: var(--radio); box-shadow: 0 0 0 2px rgba(3, 55, 226, .15); }
.class-card.is-full { opacity: .55; }
.no-classes { padding: 26px; border: 1px dashed var(--line-3); border-radius: 13px; color: var(--text-soft); font-size: 14px; text-align: center; }
.no-classes a { color: var(--navy-700); font-weight: 600; text-decoration: underline; }

.custom-cta { display: flex; align-items: center; justify-content: space-between; gap: 40px; margin: 40px 0 26px; padding: 48px 64px 52px; border-radius: 20px; background: #f4f6f9; }
.custom-cta .eyebrow { color: var(--navy-600); }
.custom-cta h2 { font-size: 29.2px; font-weight: 700; color: var(--navy-600); margin-top: 8px; }
.custom-cta p { font-size: 17.9px; font-weight: 300; color: var(--navy-600); margin-top: 6px; max-width: 641px; }

/* ---------- Registration ---------- */
.register { display: grid; grid-template-columns: 400px 1fr; gap: 30px; padding: 30px 0 80px; align-items: start; }
.register__module .eyebrow { font-size: 9.3px; letter-spacing: .3em; color: var(--navy-850); margin-top: 52px; }
.register__module h1 { font-size: 25.8px; font-weight: 600; line-height: 1.16; color: var(--navy-850); margin-top: 8px; white-space: pre-line; }
.register__module p { font-size: 13.9px; line-height: 1.38; color: var(--text-soft); margin-top: 4px; }
.register__module hr { border: 0; height: 1px; background: #dde1e6; margin: 26px 0 0; }
.reg-card { padding: 50px 56px 44px; border: 1px solid #e1dfdf; border-radius: 21px; background: var(--white); }
.stepper { display: flex; align-items: center; gap: 22px; }
.step { display: flex; align-items: center; gap: 16px; font-size: 16px; font-weight: 600; color: var(--muted-2); white-space: nowrap; }
.step b { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: #e5ecf5; color: var(--muted-2); font-weight: 600; }
.step.is-active { color: var(--blue-strong); }
.step.is-active b { background: var(--blue-strong); color: #fdfefe; }
.step.is-done b { background: var(--teal-100); color: var(--teal-700); }
.step-line { flex: 1; height: 1px; background: #d3dae4; min-width: 20px; }
.reg-card h2 { font-size: 23.1px; font-weight: 600; color: var(--navy-850); margin-top: 52px; }
.reg-card h2:first-of-type { margin-top: 50px; }
.reg-card .class-grid { margin-top: 14px; gap: 8px; }
.reg-card .class-card { padding: 16px 16px 20px; font-size: 10px; }
.reg-card .class-card__date { font-size: 11px; gap: 8px; white-space: nowrap; }
.reg-card .badge { height: 17px; padding: 0 8px; font-size: 8.4px; }
.reg-card .class-card__row { margin-top: 10px; }
.reg-card .class-card .btn { height: 31px; font-size: 10.2px; margin-top: 20px; }
.radio-dot { width: 13px; height: 13px; border-radius: 50%; border: .7px solid #aba5a5; flex: none; display: grid; place-items: center; background: #fff; }
.is-selected .radio-dot, input:checked + .choice .radio-dot { border: 0; background: var(--radio); }
.is-selected .radio-dot::after, input:checked + .choice .radio-dot::after { content: ''; width: 3.5px; height: 3.5px; border-radius: 50%; background: #fff; }
.reg-divider { height: 1px; background: #dfe3e8; margin: 46px 0 0; }
.field { margin-top: 18px; }
.field label, .field .label { display: block; font-size: 13.8px; font-weight: 600; color: var(--navy-850); margin-bottom: 14px; }
.field label i, .field .label i { color: var(--danger); font-style: normal; margin-left: 4px; }
.input { width: 100%; height: 39px; padding: 0 20px; border: 1px solid #d9d9d9; border-radius: 10px; background: var(--white); font-size: 13.8px; color: var(--navy-850); outline: none; transition: border-color .15s, box-shadow .15s; }
textarea.input { height: auto; min-height: 110px; padding: 12px 20px; resize: vertical; }
select.input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%231f4787' stroke-width='1.6' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.input::placeholder { color: #c5c9cf; }
.input:focus { border-color: var(--navy-700); box-shadow: 0 0 0 3px rgba(31, 71, 135, .12); }
.input.is-invalid { border-color: var(--danger); }
.error { display: block; color: #d43c2c; font-size: 12px; margin-top: 6px; }
.field-row { display: grid; grid-template-columns: 302px 1fr; gap: 31px; }
.choices { display: grid; grid-template-columns: 302px 1fr; gap: 31px; }
.choices input { position: absolute; opacity: 0; pointer-events: none; }
.choice { display: flex; align-items: center; gap: 22px; height: 67px; padding: 0 22px; border: .4px solid var(--navy-btn); border-radius: 12px; background: var(--surface-2); cursor: pointer; transition: box-shadow .15s; }
.choice .radio-dot { width: 20px; height: 20px; }
input:checked + .choice .radio-dot::after { width: 5px; height: 5px; }
input:focus-visible + .choice { box-shadow: 0 0 0 3px rgba(31, 71, 135, .18); }
.choice strong { display: block; font-size: 13.8px; font-weight: 600; color: var(--navy-850); }
.choice small { display: block; font-size: 13.8px; font-weight: 300; color: var(--navy-850); }
.company-fields { display: none; }
.company-fields.is-visible { display: block; }
.agree { display: flex; align-items: center; gap: 12px; margin-top: 30px; font-size: 13.8px; font-weight: 600; color: var(--navy-850); cursor: pointer; }
.agree input { width: 23px; height: 23px; margin: 0; accent-color: var(--navy-btn); flex: none; }
.agree a { color: #2a6fdb; font-weight: 400; }
.agree a:hover { text-decoration: underline; }
.agree i { color: var(--danger); font-style: normal; }
.form-actions { display: flex; justify-content: flex-end; margin-top: 4px; }
.form-actions .btn { width: 210px; height: 36px; font-size: 11.6px; }
.summary { margin-top: 30px; border: 1px solid #e6e9ee; border-radius: 14px; overflow: hidden; }
.summary div { display: grid; grid-template-columns: 180px 1fr; gap: 16px; padding: 13px 22px; font-size: 14px; }
.summary div:nth-child(odd) { background: var(--surface-2); }
.summary dt { color: var(--text-soft); }
.summary dd { margin: 0; color: var(--navy-850); font-weight: 600; }
.success-mark { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--teal-100); color: var(--teal-700); margin-top: 46px; }
.reg-card .success-title { margin-top: 18px; }
.reg-card .lead-small { font-size: 15px; color: var(--text-soft); margin-top: 10px; line-height: 1.55; }
.code-pill { display: inline-block; padding: 4px 14px; border-radius: 999px; background: var(--blue-50); color: var(--navy-850); font-weight: 700; letter-spacing: .05em; }

/* ---------- Calendar page ---------- */
.cal-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 58px 0 54px; }
.pill-filters { display: flex; gap: 14px; flex-wrap: wrap; }
.pill { display: inline-flex; align-items: center; height: 37px; padding: 0 28px; border-radius: 19px; border: .32px solid var(--navy-700); background: #f1f3f4; font-size: 18px; color: var(--navy-700); transition: background .15s, color .15s; }
.pill:hover { background: #e6ebf2; }
.pill.is-active { background: var(--navy-700); color: #fefdfd; font-weight: 700; padding: 0 21px; }
.cal-grid { display: grid; grid-template-columns: 600px 1fr; gap: 22px; align-items: start; }
.cal-card { padding: 40px 54px 50px; border: 1px solid #efeeee; border-radius: 14px; background: var(--surface); box-shadow: var(--shadow-card); }
.cal-nav { display: flex; align-items: center; gap: 22px; }
.cal-nav a.arrow { color: var(--navy-600); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; transition: background .15s; }
.cal-nav a.arrow:hover { background: #e9edf3; }
.cal-nav h2 { font-size: 27.2px; font-weight: 700; color: var(--navy-600); min-width: 176px; text-align: center; }
.cal-nav .today { margin-left: auto; height: 36px; padding: 0 30px; border: .3px solid var(--navy-700); border-radius: 18px; display: inline-flex; align-items: center; font-size: 17.7px; color: var(--navy-700); }
.cal-nav .today:hover { background: #eef1f6; }
.cal-table { width: 100%; margin-top: 34px; border-collapse: collapse; table-layout: fixed; }
.cal-table th { font-size: 16.1px; font-weight: 600; color: var(--text); padding-bottom: 26px; }
.cal-table td { text-align: center; height: 45.5px; vertical-align: top; }
.cal-day { position: relative; display: inline-grid; place-items: center; width: 38px; height: 34px; border-radius: 10px; font-size: 16.1px; font-weight: 600; color: var(--text); }
.cal-day.is-muted { color: #d0d5de; }
.cal-day.has-event::after { content: ''; position: absolute; bottom: -4px; left: 50%; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--dot); }
a.cal-day:hover { background: #eef1f6; }
.cal-day.is-today { box-shadow: inset 0 0 0 1px var(--navy-700); }
.cal-day.is-selected { background: var(--navy-700); color: #fff; }
.cal-day.is-selected::after { background: #fff; }
.list-card { padding: 26px 40px 36px; border: 1px solid #efeeee; border-radius: 14px; background: var(--surface); box-shadow: var(--shadow-card); }
.list-card h2 { font-size: 27.2px; font-weight: 700; color: var(--navy-600); }
.list-card h2 small { font-size: 14px; font-weight: 600; color: var(--muted); margin-left: 8px; }
.list-filters { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 6px; }
.mini-select, .mini-search { position: relative; display: inline-flex; align-items: center; height: 20px; border: .5px solid var(--navy-700); border-radius: 10px; font-size: 9.4px; color: var(--navy-700); }
.mini-select select { appearance: none; border: 0; background: transparent; height: 100%; padding: 0 22px 0 11px; font-size: 9.4px; color: var(--navy-700); cursor: pointer; outline: none; }
.mini-select .icon { position: absolute; right: 7px; pointer-events: none; }
.mini-select--pin select { padding-left: 22px; }
.mini-select--pin .icon:first-child { left: 9px; right: auto; }
.mini-search { padding-left: 9px; border-color: #c5ccd6; }
.mini-search .icon { color: #8b95a5; }
.mini-search input { border: 0; background: transparent; height: 100%; width: 110px; padding: 0 9px 0 5px; font-size: 9.4px; outline: none; color: var(--navy-700); }
.mini-search input::placeholder { color: #babfc7; }
.cal-list { display: flex; flex-direction: column; gap: 3px; margin-top: 14px; }
.cal-row { display: grid; grid-template-columns: 72px 1fr auto auto 14px; align-items: center; gap: 18px; height: 72px; padding: 0 20px; border: .5px solid var(--navy-700); border-radius: 12px; background: #f8f7f7; color: var(--navy-700); transition: background .15s, box-shadow .15s; }
.cal-row:hover { background: #fff; box-shadow: var(--shadow-soft); }
.cal-row__date small { display: block; font-size: 10.4px; font-weight: 600; text-transform: uppercase; line-height: 1.1; }
.cal-row__date strong { display: block; font-size: 18.5px; font-weight: 700; line-height: 1.2; }
.cal-row__date em { display: block; font-size: 10.4px; font-weight: 300; font-style: normal; }
.cal-row__title { font-size: 15.3px; font-weight: 600; line-height: 1.2; }
.cal-row__cat { font-size: 11.8px; font-weight: 600; color: var(--muted); margin-top: 3px; }
.cal-row__meta { display: flex; align-items: center; gap: 4px; font-size: 10px; white-space: nowrap; }
.cal-empty { padding: 38px 16px; text-align: center; color: var(--muted); font-size: 14px; border: 1px dashed var(--line-3); border-radius: 12px; margin-top: 14px; }
.cal-empty a { color: var(--navy-700); font-weight: 600; text-decoration: underline; }
.download-link { display: inline-flex; align-items: center; gap: 12px; font-size: 12.2px; font-weight: 600; color: var(--navy-700); }
.download-link:hover { text-decoration: underline; }

/* ---------- Simple pages (about, contact, legal) ---------- */
.page-body { padding-top: 56px; padding-bottom: 30px; }
.prose { max-width: 760px; font-size: 16px; line-height: 1.7; color: var(--text-body); }
.prose h2 { font-size: 22px; font-weight: 700; color: var(--navy-800); margin: 34px 0 10px; }
.prose p + p, .prose ul { margin-top: 12px; }
.prose ul { padding-left: 20px; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 21px; margin-top: 40px; }
.value-card { padding: 30px 28px; border: 1px solid var(--line); border-radius: 14px; background: #faf9f8; }
.value-card .program-card__icon { width: 58px; height: 58px; }
.value-card h3 { font-size: 21px; font-weight: 600; color: var(--navy-800); margin-top: 18px; }
.value-card p { font-size: 15.5px; color: var(--text-body); margin-top: 8px; line-height: 1.5; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 21px; margin-top: 40px; }
.stat { padding: 26px; border-radius: 14px; background: var(--surface); box-shadow: var(--shadow-soft); }
.stat strong { display: block; font-size: 36px; font-weight: 700; color: var(--navy-600); line-height: 1.1; }
.stat span { font-size: 14px; color: var(--text-soft); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.35fr; gap: 40px; align-items: start; padding: 56px 0 70px; }
.contact-info { display: flex; flex-direction: column; gap: 22px; margin-top: 30px; }
.contact-info .fact strong { font-size: 15px; }
.contact-info .fact small { font-size: 13px; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
    .schedule { grid-template-columns: 1fr; gap: 30px; }
    .cat-cards { grid-template-columns: repeat(3, 1fr); }
    .cal-grid { grid-template-columns: 1fr; }
    .detail { grid-template-columns: 330px 1fr; }
    .register { grid-template-columns: 1fr; }
    .register__module .eyebrow { margin-top: 20px; }
    .facts--stack { flex-direction: row; flex-wrap: wrap; }
    .site-nav { margin-right: 0; gap: 28px; }
}
@media (max-width: 960px) {
    .program-grid { grid-template-columns: repeat(2, 1fr); }
    .featured { grid-template-columns: 1fr; }
    .detail { grid-template-columns: 1fr; gap: 40px; }
    .modules-nav { border-right: 0; padding-right: 0; }
    .module-detail { padding-left: 0; }
    .class-grid { grid-template-columns: repeat(2, 1fr); }
    .custom-cta { flex-direction: column; align-items: flex-start; padding: 36px 30px; }
    .values, .stats { grid-template-columns: repeat(2, 1fr); }
    .contact-grid { grid-template-columns: 1fr; }
    .site-footer__top { flex-wrap: wrap; justify-content: center; }
    .site-footer__logo, .site-footer__social { border: 0; padding: 0; }
    .site-footer__nav { order: 3; flex-basis: 100%; gap: 22px; flex-wrap: wrap; }
}
@media (max-width: 820px) {
    .nav-toggle { display: block; }
    .site-nav { position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; gap: 0; padding: 8px var(--gutter) 18px; background: var(--bg); box-shadow: 0 12px 24px rgba(17, 55, 116, .08); display: none; }
    .site-nav.is-open { display: flex; }
    .site-nav a { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
    .site-nav a.is-active::after { display: none; }
    .hero__media { width: 100% !important; opacity: .55; }
    .hero__media::before { background: linear-gradient(90deg, var(--bg) 10%, rgba(247, 247, 246, .4) 100%) !important; }
    .hero__title { font-size: 36px !important; }
    .hero--home .hero__inner { min-height: 480px; }
    .cat-cards { grid-template-columns: repeat(2, 1fr); }
    .cal-card, .list-card { padding: 24px 18px; }
    .cal-row { grid-template-columns: 64px 1fr 14px; height: auto; padding: 14px 16px; }
    .cal-row__meta { display: none; }
    .reg-card { padding: 30px 20px; }
    .stepper { gap: 10px; }
    .step { font-size: 0; gap: 0; }
    .step b { font-size: 14px; }
    .field-row, .choices { grid-template-columns: 1fr; gap: 0; }
    .choices { gap: 12px; }
    .reg-card .class-grid { grid-template-columns: 1fr; }
    .cta-banner__media { width: 100%; opacity: .35; }
    .cta-banner h2 { font-size: 32px; }
    .about-band__inner { flex-direction: column; align-items: flex-start; }
    .summary div { grid-template-columns: 1fr; gap: 2px; }
}
@media (max-width: 600px) {
    :root { --gutter: 16px; }
    .program-grid, .class-grid, .values, .stats { grid-template-columns: 1fr; }
    .cat-cards { grid-template-columns: 1fr 1fr; gap: 12px; }
    .cat-card { min-height: 0; }
    .event-row { gap: 14px; padding: 12px 12px 12px 8px; height: auto; }
    .schedule-card { padding: 16px; }
    .cal-toolbar { flex-direction: column; align-items: flex-start; }
    .pill { font-size: 15px; padding: 0 18px; }
    .cal-nav h2 { font-size: 22px; min-width: 0; }
    .cal-nav .today { padding: 0 16px; font-size: 15px; }
    .module-link { font-size: 16px; gap: 16px; }
    .site-footer__bottom { flex-direction: column; }
    .section-head { flex-wrap: wrap; align-items: flex-start; }
}
