/* =============================================================================
   AVILA — Design system
   Fonts: Bricolage Grotesque (headings) + Plus Jakarta Sans (text), self-hosted
   ========================================================================== */

/* ---------- Fonts ---------- */
@font-face { font-family: "Bricolage"; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url("../fonts/bricolage-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Bricolage"; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url("../fonts/bricolage-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Jakarta"; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url("../fonts/jakarta-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Jakarta"; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url("../fonts/jakarta-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* ---------- Tokens ---------- */
:root {
  --ink: #0e1320;
  --ink-2: #1a2133;
  --ink-3: #2a3248;
  --paper: #f6f2ea;
  --paper-2: #efe9dd;
  --white: #ffffff;
  --line: #e3dccd;
  --line-dark: rgba(255, 255, 255, .12);
  --muted: #5b6273;
  --muted-light: rgba(255, 255, 255, .68);
  --accent: #e39a2d;          /* ochre */
  --accent-strong: #c97f12;
  --accent-ink: #8a5208;       /* accent text on light backgrounds (AA contrast) */
  --accent-soft: #fbecd3;
  --green: #1d5c47;
  --green-soft: #dcefe6;
  --red: #b3261e;
  --red-soft: #fbe3e1;

  --font-display: "Bricolage", "Segoe UI", system-ui, sans-serif;
  --font-body: "Jakarta", "Segoe UI", system-ui, -apple-system, sans-serif;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(14, 19, 32, .06), 0 2px 8px rgba(14, 19, 32, .05);
  --shadow: 0 10px 30px -12px rgba(14, 19, 32, .22);
  --shadow-lg: 0 30px 70px -25px rgba(14, 19, 32, .4);

  --container: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --section: clamp(64px, 9vw, 120px);
  --header-h: 76px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; font-family: var(--font-body); font-size: 17px; line-height: 1.65; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.12; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--accent); color: var(--ink); }
.icon { width: 1.1em; height: 1.1em; flex: none; }
.sr-only, .hp { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm); }
.skip-link:focus { top: 12px; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: calc(820px + var(--gutter) * 2); }
.section { padding: var(--section) 0; }
.section--tight { padding: calc(var(--section) * .6) 0; }
.section--white { background: var(--white); }
.section--ink { background: var(--ink); color: #fff; }
.section--flush-top { padding-top: 0; }
.stack > * + * { margin-top: 1rem; }
.grid { display: grid; gap: clamp(20px, 2.5vw, 32px); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }

/* ---------- Typography helpers ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-ink); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
.section--ink .eyebrow, .hero .eyebrow, .on-dark .eyebrow { color: var(--accent); }
.display { font-size: clamp(40px, 5.2vw, 68px); line-height: 1.02; letter-spacing: -.035em; }
.h2 { font-size: clamp(30px, 3.8vw, 48px); }
.h3 { font-size: clamp(22px, 2vw, 26px); }
.lead { font-size: clamp(18px, 1.5vw, 20px); color: var(--muted); max-width: 640px; }
.section--ink .lead, .on-dark .lead { color: var(--muted-light); }
.muted { color: var(--muted); }
.text-accent { color: var(--accent); }
.prose { max-width: 720px; }
.prose p { color: #343b4b; }
.prose h2 { font-size: 28px; margin-top: 1.6em; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(32px, 4vw, 48px); }
.section-head > div { max-width: 680px; }
.section-head .h2 { margin-bottom: .3em; }
.section-head .lead { margin: 0; }
.section-head--center { flex-direction: column; align-items: center; text-align: center; }
.section-head--center .lead { margin: 0 auto; }

/* ---------- Buttons ---------- */
.btn { --bg: var(--ink); --fg: #fff; --bd: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 24px;
  border-radius: 999px; border: 2px solid var(--bd); background: var(--bg); color: var(--fg);
  font-weight: 700; font-size: 16px; line-height: 1; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .15s ease, background-color .15s ease, color .15s ease, border-color .15s ease, box-shadow .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn .icon { width: 18px; height: 18px; }
.btn--accent { --bg: var(--accent); --fg: var(--ink); --bd: var(--accent); }
.btn--accent:hover { --bg: #eba847; --bd: #eba847; box-shadow: 0 10px 24px -10px rgba(227, 154, 45, .8); }
.btn--dark:hover { --bg: #000; --bd: #000; }
.btn--outline { --bg: transparent; --fg: var(--ink); --bd: var(--ink); }
.btn--outline:hover { --bg: var(--ink); --fg: #fff; }
.btn--ghost { --bg: rgba(255, 255, 255, .06); --fg: #fff; --bd: rgba(255, 255, 255, .35); }
.btn--ghost:hover { --bg: #fff; --fg: var(--ink); --bd: #fff; }
.btn--light { --bg: #fff; --fg: var(--ink); --bd: #fff; }
.btn--sm { min-height: 40px; padding: 0 18px; font-size: 14px; }
.btn--lg { min-height: 58px; padding: 0 30px; font-size: 17px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .5; pointer-events: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; color: var(--ink); }
.link-arrow .icon { transition: transform .15s ease; }
.link-arrow:hover .icon { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(246, 242, 234, .86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s, background-color .2s; }
.site-header.is-scrolled { border-bottom-color: var(--line); background: rgba(246, 242, 234, .94); }
.site-header__inner { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.site-logo { display: flex; align-items: center; flex: none; }
.site-logo img { height: 38px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 4px; margin-right: auto; }
.main-nav a { position: relative; padding: 10px 14px; border-radius: 999px; font-size: 15px; font-weight: 600; text-decoration: none; color: var(--ink-3); transition: background-color .15s, color .15s; }
.main-nav a:hover { background: rgba(14, 19, 32, .06); color: var(--ink); }
.main-nav a[aria-current="page"] { color: var(--ink); background: rgba(14, 19, 32, .07); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-link { display: inline-flex; align-items: center; gap: 8px; padding: 10px 12px; font-size: 15px; font-weight: 600; text-decoration: none; border-radius: 999px; }
.header-link:hover { background: rgba(14, 19, 32, .06); }
.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: var(--white); align-items: center; justify-content: center; cursor: pointer; }
.nav-toggle .icon { width: 22px; height: 22px; }

/* Mobile drawer */
.drawer { position: fixed; inset: 0; z-index: 80; visibility: hidden; }
.drawer.is-open { visibility: visible; }
.drawer__overlay { position: absolute; inset: 0; background: rgba(14, 19, 32, .55); opacity: 0; transition: opacity .25s; }
.drawer.is-open .drawer__overlay { opacity: 1; }
.drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(380px, 88vw); background: var(--ink); color: #fff; padding: 22px 24px 32px; display: flex; flex-direction: column; gap: 8px; transform: translateX(100%); transition: transform .3s cubic-bezier(.2, .8, .2, 1); overflow-y: auto; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.drawer__top img { height: 34px; width: auto; }
.drawer__close { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-dark); background: transparent; color: #fff; display: grid; place-items: center; cursor: pointer; }
.drawer nav a { display: flex; justify-content: space-between; align-items: center; padding: 15px 4px; font-family: var(--font-display); font-size: 22px; font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--line-dark); }
.drawer nav a[aria-current="page"] { color: var(--accent); }
.drawer__actions { margin-top: 24px; display: grid; gap: 10px; }
.drawer__contact { margin-top: auto; padding-top: 28px; font-size: 15px; color: var(--muted-light); display: grid; gap: 8px; }
.drawer__contact a { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
body.no-scroll { overflow: hidden; }

@media (max-width: 1080px) {
  .main-nav, .header-actions .header-link, .header-actions .btn--cta-desktop { display: none; }
  .nav-toggle { display: inline-flex; }
  .header-actions { margin-left: auto; }
}

/* ---------- Flash messages ---------- */
.flashes { position: fixed; top: calc(var(--header-h) + 12px); right: 16px; z-index: 60; display: grid; gap: 10px; width: min(420px, calc(100vw - 32px)); }
.alert { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--radius-sm); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); font-size: 15px; line-height: 1.5; }
.alert .icon { margin-top: 2px; }
.alert--success { border-color: #b7dccb; background: var(--green-soft); color: #11402f; }
.alert--error { border-color: #f2bcb7; background: var(--red-soft); color: #7a1a14; }
.alert--info { border-color: #f1d3a3; background: var(--accent-soft); color: #5e3906; }
.alert__close { margin-left: auto; background: none; border: 0; cursor: pointer; padding: 0; opacity: .6; }
.flashes .alert { animation: slide-in .35s ease both; }
@keyframes slide-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--ink); color: #fff; padding: clamp(56px, 8vw, 104px) 0 clamp(64px, 8vw, 110px); isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(900px 500px at 85% 10%, rgba(227, 154, 45, .22), transparent 60%),
  radial-gradient(700px 500px at 0% 100%, rgba(29, 92, 71, .35), transparent 60%); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(40px, 6vw, 80px); align-items: center; }
.hero h1 { margin-bottom: 24px; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .lead { margin-bottom: 36px; font-size: clamp(18px, 1.6vw, 21px); color: var(--muted-light); }
.hero__stats { display: flex; flex-wrap: wrap; gap: 20px clamp(24px, 3vw, 40px); margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line-dark); list-style: none; }
.hero__stats strong { display: block; font-family: var(--font-display); font-size: clamp(30px, 3vw, 38px); line-height: 1; margin-bottom: 6px; }
.hero__stats span { font-size: 14px; color: var(--muted-light); white-space: nowrap; }
.hero__visual { position: relative; }
.hero__image { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius-lg); overflow: hidden; background: linear-gradient(140deg, #2a3248, #121827); box-shadow: var(--shadow-lg); }
.hero__image img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; }
.hero__image::before { content: ""; position: absolute; inset: 0; background:
  url("../images/favicon.svg") center 42% / 34% no-repeat,
  radial-gradient(circle at 50% 42%, rgba(227, 154, 45, .25), transparent 55%),
  repeating-radial-gradient(circle at 50% 42%, rgba(255, 255, 255, .05) 0 1px, transparent 1px 46px); opacity: .9; }
.hero__image::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, transparent 55%, rgba(14, 19, 32, .55)); }
.hero__badge { position: absolute; z-index: 2; display: flex; align-items: center; gap: 12px; padding: 14px 18px; background: rgba(255, 255, 255, .96); color: var(--ink); border-radius: var(--radius); box-shadow: var(--shadow); font-size: 14px; line-height: 1.35; }
.hero__badge strong { display: block; font-size: 15px; }
.hero__badge .badge-icon { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-ink); flex: none; }
.hero__badge--top { top: 28px; left: -28px; }
.hero__badge--bottom { bottom: 32px; right: -20px; }
.hero__badge--bottom .badge-icon { background: var(--green-soft); color: var(--green); }
@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { max-width: 520px; }
  .hero__image { aspect-ratio: 4 / 3; }
  .hero__badge--top { left: 16px; top: 16px; }
  .hero__badge--bottom { right: 16px; bottom: 16px; }
}

/* Page hero (inner pages) */
.page-hero { background: var(--ink); color: #fff; padding: clamp(48px, 7vw, 88px) 0 clamp(48px, 6vw, 72px); position: relative; overflow: hidden; isolation: isolate; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(700px 380px at 90% 0%, rgba(227, 154, 45, .2), transparent 60%); }
.page-hero h1 { font-size: clamp(36px, 5vw, 60px); margin-bottom: 16px; }
.page-hero .lead { color: var(--muted-light); margin: 0; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 14px; color: var(--muted-light); margin-bottom: 20px; list-style: none; }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { color: #fff; text-decoration: underline; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; opacity: .5; }

/* ---------- Partners strip ---------- */
.partners { padding: 32px 0; background: var(--white); border-bottom: 1px solid var(--line); }
.partners__inner { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 20px 56px; }
.partners__label { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.partners img { height: 48px; width: auto; filter: grayscale(1); opacity: .75; transition: filter .2s, opacity .2s; }
.partners a:hover img { filter: none; opacity: 1; }
.partners__name { font-family: var(--font-display); font-weight: 700; font-size: 20px; color: var(--muted); text-decoration: none; }

/* ---------- Offer cards ---------- */
.offer { display: flex; flex-direction: column; padding: clamp(28px, 3.5vw, 44px); border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); }
.offer--dark { background: var(--ink); border-color: var(--ink); color: #fff; }
.offer__icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-ink); margin-bottom: 24px; }
.offer--dark .offer__icon { background: rgba(227, 154, 45, .15); color: var(--accent); }
.offer__icon .icon { width: 26px; height: 26px; }
.offer h3 { font-size: clamp(26px, 2.4vw, 32px); margin-bottom: 12px; }
.offer > p { color: var(--muted); margin-bottom: 24px; }
.offer--dark > p { color: var(--muted-light); }
.checklist { list-style: none; display: grid; gap: 12px; margin-bottom: 32px; flex: 1; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist .icon { color: var(--accent-ink); margin-top: 4px; }
.offer--dark .checklist .icon, .on-dark .checklist .icon { color: var(--accent); }
.offer .btn { align-self: flex-start; }

/* ---------- Chips / filters ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-size: 15px; font-weight: 600; text-decoration: none; transition: border-color .15s, background-color .15s, color .15s; }
.chip:hover { border-color: var(--ink); }
.chip[aria-current="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip small { font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--paper-2); color: var(--muted); }
.chip[aria-current="true"] small { background: rgba(255, 255, 255, .15); color: #fff; }
.chip .icon { width: 16px; height: 16px; }

.filters { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; margin-bottom: 32px; }
.search-box { position: relative; flex: 1 1 280px; max-width: 420px; }
.search-box .icon { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.search-box input { width: 100%; height: 50px; padding: 0 16px 0 46px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); }
.search-box input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(14, 19, 32, .08); }
.select { height: 50px; padding: 0 40px 0 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230e1320' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 18px; appearance: none; font-weight: 600; cursor: pointer; }

/* ---------- Course card ---------- */
.course-card { position: relative; display: flex; flex-direction: column; background: var(--white); border-radius: var(--radius-lg); border: 1px solid var(--line); overflow: hidden; transition: transform .2s ease, box-shadow .2s ease, border-color .2s; }
.course-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.course-card__media { position: relative; aspect-ratio: 16 / 10; background: linear-gradient(135deg, var(--ink-2), var(--ink-3)); overflow: hidden; }
.course-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.course-card:hover .course-card__media img { transform: scale(1.04); }
.course-card__fallback { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255, 255, 255, .2); }
.course-card__fallback .icon { width: 72px; height: 72px; stroke-width: 1.5; }
.course-card__tag { position: absolute; left: 14px; top: 14px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .95); font-size: 13px; font-weight: 700; color: var(--ink); }
.course-card__tag .icon { width: 14px; height: 14px; color: var(--accent-ink); }
.course-card__body { display: flex; flex-direction: column; gap: 10px; padding: 22px 22px 24px; flex: 1; }
.course-card__title { font-size: 21px; line-height: 1.25; margin: 0; letter-spacing: -.01em; }
.course-card__title a { text-decoration: none; }
.course-card__title a::after { content: ""; position: absolute; inset: 0; }
.course-card__summary { font-size: 15px; color: var(--muted); margin: 0; }
.course-card__speakers { font-size: 14px; color: var(--ink-3); font-weight: 600; margin: 0; }
.meta { display: flex; flex-wrap: wrap; gap: 6px 16px; list-style: none; font-size: 14px; color: var(--muted); margin-top: auto; padding-top: 6px; }
.meta li { display: inline-flex; align-items: center; gap: 6px; }
.meta .icon { width: 16px; height: 16px; }
.progress { height: 6px; border-radius: 999px; background: var(--paper-2); overflow: hidden; }
.progress > span { display: block; height: 100%; background: var(--accent); border-radius: inherit; }
.progress-label { display: flex; justify-content: space-between; font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 6px; }

/* ---------- Topic tiles ---------- */
.topic { display: flex; align-items: center; gap: 16px; padding: 20px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); text-decoration: none; transition: border-color .15s, transform .15s; }
.topic:hover { border-color: var(--ink); transform: translateY(-2px); }
.topic__icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-ink); flex: none; }
.topic strong { display: block; font-family: var(--font-display); font-size: 18px; line-height: 1.2; }
.topic span { font-size: 14px; color: var(--muted); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: clamp(20px, 3vw, 36px); counter-reset: step; list-style: none; }
.step { counter-increment: step; position: relative; padding-top: 28px; border-top: 2px solid currentColor; }
.step::before { content: "0" counter(step); display: block; font-family: var(--font-display); font-size: 15px; font-weight: 700; color: var(--accent-ink); margin-bottom: 16px; }
.section--ink .step::before, .on-dark .step::before { color: var(--accent); }
.step h3 { font-size: 23px; margin-bottom: 10px; }
.step p { color: var(--muted); margin: 0; }
.section--ink .step p, .on-dark .step p { color: var(--muted-light); }
.section--ink .step { border-top-color: rgba(255, 255, 255, .25); }

/* ---------- Mentor card ---------- */
.mentor-card { position: relative; display: flex; flex-direction: column; text-decoration: none; }
.mentor-card__photo { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius-lg); overflow: hidden; background: linear-gradient(160deg, var(--ink-3), var(--ink)); margin-bottom: 16px; }
.mentor-card__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.mentor-card:hover .mentor-card__photo img { transform: scale(1.04); }
.mentor-card__initials { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--font-display); font-size: 64px; font-weight: 700; color: rgba(255, 255, 255, .85); letter-spacing: .02em; }
.mentor-card__badge { position: absolute; left: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .95); font-size: 12px; font-weight: 700; color: var(--green); }
.mentor-card__badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #2bb673; }
.mentor-card h3 { font-size: 20px; margin: 0 0 4px; }
.mentor-card p { font-size: 15px; color: var(--muted); margin: 0; line-height: 1.45; }
.on-dark .mentor-card p, .section--ink .mentor-card p { color: var(--muted-light); }

/* ---------- Event card ---------- */
.event-card { display: flex; gap: 20px; padding: 22px; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); }
.event-card__date { flex: none; width: 76px; height: 84px; border-radius: var(--radius); background: var(--ink); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; }
.event-card__date strong { font-family: var(--font-display); font-size: 32px; }
.event-card__date span { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--accent); margin-top: 6px; font-weight: 700; }
.event-card h3 { font-size: 21px; margin-bottom: 8px; }
.event-card p { color: var(--muted); font-size: 15px; margin-bottom: 12px; }
.event-card--past .event-card__date { background: var(--paper-2); color: var(--ink); }
.event-card--past .event-card__date span { color: var(--muted); }

/* ---------- Quote ---------- */
.quote { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 80px); align-items: center; }
.quote__media { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius-lg); overflow: hidden; background: linear-gradient(160deg, var(--ink-3), var(--ink)); }
.quote__media img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; }
.quote__media::before { content: ""; position: absolute; inset: 0; background: url("../images/favicon.svg") center / 30% no-repeat; opacity: .25; }
.quote__play { z-index: 2; }
.quote__play { position: absolute; left: 20px; bottom: 20px; display: inline-flex; align-items: center; gap: 12px; padding: 8px 20px 8px 8px; border-radius: 999px; border: 0; background: #fff; color: var(--ink); font-weight: 700; font-size: 15px; cursor: pointer; box-shadow: var(--shadow); }
.quote__play span { width: 42px; height: 42px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; }
.quote__play .icon { width: 18px; height: 18px; fill: currentColor; }
.quote blockquote { margin: 0; }
.quote blockquote p { font-family: var(--font-display); font-size: clamp(22px, 2.3vw, 30px); line-height: 1.35; letter-spacing: -.01em; font-weight: 500; margin-bottom: .7em; }
.quote__mark { width: 52px; height: 52px; color: var(--accent); margin-bottom: 20px; }
.quote figcaption { display: flex; flex-direction: column; margin-top: 24px; font-size: 15px; color: var(--muted); }
.section--ink .quote figcaption { color: var(--muted-light); }
.quote figcaption strong { font-size: 18px; color: inherit; }
.section--ink .quote figcaption strong { color: #fff; }
@media (max-width: 860px) { .quote { grid-template-columns: 1fr; } .quote__media { max-width: 440px; aspect-ratio: 1; } }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; font-family: var(--font-display); font-size: clamp(18px, 1.6vw, 21px); font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { flex: none; width: 32px; height: 32px; padding: 6px; border-radius: 50%; background: var(--white); border: 1px solid var(--line); transition: transform .2s ease, background-color .2s; }
.faq details[open] summary .icon { transform: rotate(45deg); background: var(--accent); border-color: var(--accent); }
.faq details > div { padding: 0 56px 24px 0; color: var(--muted); }
.faq details > div p:last-child { margin: 0; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; padding: clamp(36px, 5vw, 64px); border-radius: var(--radius-lg); background: var(--ink); color: #fff; isolation: isolate; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(600px 300px at 100% 0%, rgba(227, 154, 45, .3), transparent 60%); }
.cta-band h2 { font-size: clamp(28px, 3.2vw, 42px); margin-bottom: 10px; }
.cta-band p { color: var(--muted-light); margin: 0; max-width: 520px; }

/* ---------- Course page ---------- */
.course-hero__grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: clamp(32px, 5vw, 64px); align-items: end; }
.course-hero .meta { color: var(--muted-light); margin-top: 24px; font-size: 15px; }
.course-hero__card { background: var(--white); color: var(--ink); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.course-hero__card .course-card__media { aspect-ratio: 16 / 9; }
.course-hero__card-body { padding: 24px; display: grid; gap: 14px; }
@media (max-width: 900px) { .course-hero__grid { grid-template-columns: 1fr; } }

.lessons { list-style: none; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); overflow: hidden; }
.lesson { display: flex; align-items: center; gap: 18px; padding: 18px 22px; text-decoration: none; border-bottom: 1px solid var(--line); transition: background-color .15s; }
.lessons li:last-child .lesson { border-bottom: 0; }
.lesson:hover { background: var(--paper); }
.lesson__num { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--paper-2); font-weight: 700; font-size: 15px; }
.lesson--done .lesson__num { background: var(--green-soft); color: var(--green); }
.lesson__body { flex: 1; min-width: 0; }
.lesson__title { display: block; font-weight: 700; line-height: 1.35; }
.lesson__sub { display: block; font-size: 14px; color: var(--muted); }
.lesson__side { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--muted); flex: none; }
.lesson__side .icon { width: 18px; height: 18px; }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; background: var(--paper-2); color: var(--ink-3); }
.tag--free { background: var(--green-soft); color: var(--green); }
.tag--lock { background: var(--accent-soft); color: var(--accent-ink); }
.tag .icon { width: 13px; height: 13px; }

.two-col { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(32px, 5vw, 64px); align-items: start; }
.sidebar { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 20px; }
.panel { padding: 24px; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); }
.panel h3 { font-size: 19px; margin-bottom: 14px; }
@media (max-width: 960px) { .two-col { grid-template-columns: 1fr; } .sidebar { position: static; } }

.person { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.person + .person { margin-top: 14px; }
.avatar { flex: none; width: 52px; height: 52px; border-radius: 50%; overflow: hidden; background: linear-gradient(160deg, var(--ink-3), var(--ink)); color: #fff; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 18px; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar--lg { width: 72px; height: 72px; font-size: 24px; }
.person strong { display: block; line-height: 1.25; }
.person span { display: block; font-size: 14px; color: var(--muted); line-height: 1.35; }
.person .avatar { display: grid; font-size: 18px; line-height: 1; color: #fff; }
.on-dark .person span { color: var(--muted-light); }

/* ---------- Watch page ---------- */
.watch { background: var(--ink); color: #fff; padding: 28px 0 48px; }
.watch__grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; align-items: start; }
@media (max-width: 1080px) { .watch__grid { grid-template-columns: 1fr; } }
.player { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000; box-shadow: var(--shadow-lg); }
.player video, .player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }
.player__state { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 32px; background-size: cover; background-position: center; }
.player__state::before { content: ""; position: absolute; inset: 0; background: rgba(14, 19, 32, .78); backdrop-filter: blur(4px); }
.player__state > div { position: relative; max-width: 460px; }
.player__state .state-icon { width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%; background: rgba(227, 154, 45, .15); color: var(--accent); display: grid; place-items: center; }
.player__state .state-icon .icon { width: 28px; height: 28px; }
.player__state h2 { font-size: clamp(22px, 2.4vw, 30px); }
.player__state p { color: var(--muted-light); }
.player__state .btn-row { justify-content: center; }
@media (max-width: 640px) { .player--state { aspect-ratio: auto; } .player--state .player__state { position: relative; padding: 48px 20px; } }
.player__error { position: absolute; left: 16px; right: 16px; bottom: 16px; padding: 12px 16px; border-radius: var(--radius-sm); background: rgba(179, 38, 30, .95); font-size: 14px; display: none; }
.player.has-error .player__error { display: block; }
.spin { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.watch__head { margin-top: 24px; }
.watch__head h1 { font-size: clamp(26px, 3vw, 38px); margin-bottom: 12px; }
.watch__head .meta { color: var(--muted-light); margin: 0; padding: 0; }
.playlist { background: var(--ink-2); border: 1px solid var(--line-dark); border-radius: var(--radius); overflow: hidden; }
.playlist__head { padding: 18px 20px; border-bottom: 1px solid var(--line-dark); }
.playlist__head small { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--accent); font-weight: 700; margin-bottom: 4px; }
.playlist__head a { font-family: var(--font-display); font-weight: 700; font-size: 18px; text-decoration: none; line-height: 1.25; }
.playlist__head .progress { margin-top: 14px; background: rgba(255, 255, 255, .1); }
.playlist ol { list-style: none; max-height: 520px; overflow-y: auto; }
.playlist li a { display: flex; gap: 14px; padding: 14px 20px; text-decoration: none; font-size: 15px; line-height: 1.35; border-bottom: 1px solid var(--line-dark); transition: background-color .15s; }
.playlist li a:hover { background: rgba(255, 255, 255, .04); }
.playlist li a[aria-current="true"] { background: rgba(227, 154, 45, .12); box-shadow: inset 3px 0 0 var(--accent); }
.playlist__num { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 700; background: rgba(255, 255, 255, .08); }
.playlist__num .icon { width: 15px; height: 15px; }
.is-done .playlist__num { background: var(--green); }
.playlist small { display: block; color: var(--muted-light); font-size: 13px; margin-top: 3px; }

.resource { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: var(--radius-sm); border: 1px solid var(--line); text-decoration: none; background: var(--white); }
.resource + .resource { margin-top: 10px; }
.resource:hover { border-color: var(--ink); }
.resource .icon { color: var(--accent-ink); }
.resource span { flex: 1; font-weight: 600; }
.resource small { color: var(--muted); text-transform: uppercase; font-weight: 700; font-size: 12px; }

/* ---------- Mentor profile ---------- */
.profile-hero { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.profile-hero__photo { aspect-ratio: 4 / 5; border-radius: var(--radius-lg); overflow: hidden; background: linear-gradient(160deg, var(--ink-3), #05070c); position: relative; }
.profile-hero__photo img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 760px) { .profile-hero { grid-template-columns: 1fr; } .profile-hero__photo { max-width: 260px; } }
.expertise { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin-top: 20px; }
.expertise li { padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line-dark); font-size: 14px; font-weight: 600; }
.social-row { display: flex; gap: 10px; margin-top: 20px; }
.social-row a, .icon-btn { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-dark); text-decoration: none; transition: background-color .15s, color .15s; }
.social-row a:hover { background: #fff; color: var(--ink); }
.social-row .icon { width: 18px; height: 18px; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 18px; }
.field { display: grid; gap: 7px; }
.field label, .field .label { font-size: 14px; font-weight: 700; }
.field .hint { font-size: 13px; color: var(--muted); }
.input, .textarea, .field select { width: 100%; min-height: 52px; padding: 12px 16px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--white); transition: border-color .15s, box-shadow .15s; }
.field select { appearance: none; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230e1320' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 18px; padding-right: 44px; }
.textarea { min-height: 160px; resize: vertical; }
.input:focus, .textarea:focus, .field select:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(14, 19, 32, .08); }
.field--error .input, .field--error select, .field--error .textarea { border-color: var(--red); }
.field__error { font-size: 13px; color: var(--red); font-weight: 600; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.5; cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--ink); flex: none; }
.form-note { font-size: 14px; color: var(--muted); }
.form-note a { font-weight: 700; }

/* Auth pages */
.auth { min-height: calc(100vh - var(--header-h)); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.auth__aside { position: relative; background: var(--ink); color: #fff; padding: clamp(40px, 6vw, 80px); display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; isolation: isolate; }
.auth__aside::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(600px 400px at 100% 0%, rgba(227, 154, 45, .28), transparent 60%), radial-gradient(500px 400px at 0% 100%, rgba(29, 92, 71, .4), transparent 60%); }
.auth__aside h2 { font-size: clamp(30px, 3.4vw, 44px); }
.auth__main { display: flex; align-items: center; justify-content: center; padding: clamp(32px, 6vw, 72px) var(--gutter); }
.auth__box { width: 100%; max-width: 460px; }
.auth__box h1 { font-size: clamp(30px, 3vw, 40px); margin-bottom: 8px; }
.auth__box > p { color: var(--muted); margin-bottom: 28px; }
@media (max-width: 900px) { .auth { grid-template-columns: 1fr; } .auth__aside { display: none; } }

/* Dashboard */
.dash-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 16px; }
.stat { padding: 22px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.stat strong { display: block; font-family: var(--font-display); font-size: 36px; line-height: 1; margin-bottom: 6px; }
.stat span { font-size: 14px; color: var(--muted); }
.resume-card { display: flex; gap: 18px; align-items: center; padding: 16px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); text-decoration: none; transition: border-color .15s; }
.resume-card:hover { border-color: var(--ink); }
.resume-card__thumb { flex: none; width: 140px; aspect-ratio: 16 / 9; border-radius: var(--radius-sm); overflow: hidden; background: linear-gradient(135deg, var(--ink-2), var(--ink-3)); position: relative; }
.resume-card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.resume-card__thumb .icon { position: absolute; inset: 0; margin: auto; width: 32px; height: 32px; color: #fff; }
.resume-card__body { flex: 1; min-width: 0; }
.resume-card__body strong { display: block; line-height: 1.3; }
.resume-card__body small { display: block; color: var(--muted); font-size: 13px; margin: 2px 0 10px; }
@media (max-width: 520px) { .resume-card__thumb { width: 96px; } }

/* Empty states */
.empty { padding: clamp(40px, 6vw, 64px) 24px; text-align: center; border: 1px dashed var(--line); border-radius: var(--radius-lg); background: rgba(255, 255, 255, .5); }
.empty .icon { width: 40px; height: 40px; margin: 0 auto 14px; color: var(--muted); }
.empty h3 { font-size: 22px; }
.empty p { color: var(--muted); max-width: 440px; margin: 0 auto 20px; }

/* Contact */
.contact-cards { display: grid; gap: 14px; }
.contact-card { display: flex; gap: 16px; align-items: flex-start; padding: 20px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); text-decoration: none; }
.contact-card .topic__icon { width: 44px; height: 44px; }
.contact-card strong { display: block; }
.contact-card span { color: var(--muted); font-size: 15px; }

/* Embedded form */
.embed-form { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: var(--white); }
.embed-form iframe { width: 100%; height: 1100px; border: 0; }

/* Dialog */
.dialog { border: 0; padding: 0; border-radius: var(--radius-lg); width: min(960px, 94vw); background: #000; box-shadow: var(--shadow-lg); overflow: hidden; }
.dialog::backdrop { background: rgba(14, 19, 32, .78); backdrop-filter: blur(3px); }
.dialog__close { position: absolute; top: 12px; right: 12px; z-index: 2; width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); display: grid; place-items: center; cursor: pointer; }
.dialog__frame { aspect-ratio: 16 / 9; }
.dialog__frame iframe { width: 100%; height: 100%; border: 0; }
.dialog--form { background: var(--white); width: min(780px, 94vw); height: min(90vh, 960px); }
.dialog--form .dialog__frame { aspect-ratio: auto; height: 100%; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--muted-light); padding: clamp(56px, 7vw, 88px) 0 32px; font-size: 15px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.6fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid var(--line-dark); }
.footer-grid h3 { font-family: var(--font-body); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 18px; }
.footer-grid ul { list-style: none; display: grid; gap: 10px; }
.footer-brand img { height: 38px; width: auto; margin-bottom: 18px; }
.footer-brand p { max-width: 300px; }
.footer-contact { display: grid; gap: 10px; margin-top: 18px; }
.footer-contact a, .footer-contact span { display: inline-flex; gap: 10px; align-items: flex-start; }
.footer-contact .icon { margin-top: 4px; color: var(--accent); }
.newsletter-form { display: flex; gap: 8px; margin-top: 16px; padding: 6px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid var(--line-dark); }
.newsletter-form input { flex: 1; min-width: 0; background: transparent; border: 0; padding: 0 14px; color: #fff; }
.newsletter-form input::placeholder { color: rgba(255, 255, 255, .5); }
.newsletter-form input:focus { outline: none; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding-top: 28px; font-size: 14px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-dark); color: #fff; }
.footer-social a:hover { background: #fff; color: var(--ink); text-decoration: none; }
.footer-social .icon { width: 17px; height: 17px; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand, .footer-news { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* Error page */
.error-page { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: var(--section) var(--gutter); }
.error-page strong { display: block; font-family: var(--font-display); font-size: clamp(90px, 16vw, 180px); line-height: 1; color: var(--accent); letter-spacing: -.05em; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .btn-row .btn { flex: 1 1 100%; }
  .lesson { padding: 16px; gap: 14px; }
  .lesson__side .lesson__dur { display: none; }
  .event-card { flex-direction: column; }
}
