:root {
  color-scheme: light;
  --purple: #993598;
  --purple-hover: #822b80;
  --purple-pressed: #70256f;
  --pink: #fc65b6;
  --soft-pink: #f5bace;
  --surface: #fff;
  --subtle: #fcf8fc;
  --lilac: #f7eef8;
  --blush: #fff1f7;
  --ink: #23142e;
  --muted: #5f5268;
  --border: #e9dfea;
  --control-border: #9a879e;
  --error: #b42318;
  --success: #167047;
  --footer: #622060;
  --gutter: 20px;
  --header-height: 68px;
  --section-space: 52px;
  --radius: 22px;
  --control-radius: 10px;
  --shadow: 0 12px 32px rgb(70 24 76 / 9%);
  --font: 'Be Vietnam Pro', 'Segoe UI', system-ui, sans-serif;
  --heart-shape: polygon(0 20%, 12% 20%, 12% 8%, 38% 8%, 38% 20%, 62% 20%, 62% 8%, 88% 8%, 88% 20%, 100% 20%, 100% 56%, 88% 56%, 88% 68%, 75% 68%, 75% 80%, 62% 80%, 62% 92%, 38% 92%, 38% 80%, 25% 80%, 25% 68%, 12% 68%, 12% 56%, 0 56%);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-block-start: calc(var(--header-height) + 16px); }
body { margin: 0; color: var(--ink); background: var(--surface); font: 1rem / 1.6 var(--font); }
body:has(dialog[open]) { overflow: hidden; }
[hidden] { display: none !important; }
img { display: block; max-width: 100%; }
svg { display: block; width: 24px; height: 24px; flex: none; }
a { color: var(--purple); text-underline-offset: .19em; }
button, input, select, textarea { font: inherit; }
button, select { cursor: pointer; }
button:disabled { cursor: default; }
:focus-visible { outline: 3px solid var(--purple-pressed); outline-offset: 4px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.2; overflow-wrap: anywhere; }
h1, .display-heading {
  font-size: clamp(2rem, 7vw, 2.65rem); font-weight: 800; letter-spacing: -.045em;
  line-height: 1.14; text-wrap: balance;
}
h2 { font-size: clamp(1.65rem, 4.5vw, 2.5rem); font-weight: 700; letter-spacing: -.034em; text-wrap: balance; }
h3 { font-size: 1.19rem; font-weight: 700; letter-spacing: -.02em; }
p { overflow-wrap: anywhere; }
ul, ol { margin: 0; }
dialog { color: var(--ink); }
dialog::backdrop { background: rgb(35 20 46 / 64%); }
.container { width: min(1200px, calc(100% - var(--gutter) * 2)); margin-inline: auto; }
.section { padding-block: var(--section-space); }
.reading { max-width: min(100% - var(--gutter) * 2, 68ch); margin-inline: auto; color: var(--muted); }
.reading p + p { margin-top: 1rem; }
.container .reading { margin-inline: 0; max-width: 68ch; }
.sr-only, .skip-link:not(:focus) {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}
.skip-link { position: fixed; z-index: 10; top: 8px; left: 16px; padding: 10px 16px; border-radius: 8px; background: white; }

.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 10px 18px; border: 1px solid transparent;
  border-radius: var(--control-radius); font-weight: 700; line-height: 1.35;
  text-align: center; text-decoration: none; transition: background-color .2s, border-color .2s, color .2s;
}
.button svg { width: 21px; height: 21px; }
.button-primary { color: white; background: var(--purple); }
.button-primary:hover { background: var(--purple-hover); }
.button-primary:active { background: var(--purple-pressed); }
.button-outline { color: var(--purple); background: white; border-color: var(--purple); }
.button-outline:hover { background: var(--lilac); color: var(--purple-pressed); }
.button:disabled { color: var(--muted); background: #f3edf4; border-color: var(--border); }
.icon-button {
  display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0;
  border: 1px solid var(--control-border); border-radius: 50%; color: var(--purple-pressed);
  background: white; transition: background-color .2s;
}
.icon-button:hover { background: var(--lilac); }
.icon-tile {
  display: grid; flex: none; place-items: center; width: 46px; height: 46px; border-radius: 12px;
  color: var(--tile-ink, var(--purple-pressed)); background: var(--tile, var(--lilac));
}
.pixel-heart { display: block; aspect-ratio: 1; background: currentColor; clip-path: var(--heart-shape); }

.site-header {
  position: sticky; top: 0; z-index: 4; background: var(--surface); border-bottom: 1px solid transparent;
}
.site-header.is-scrolled { border-color: var(--border); box-shadow: 0 5px 20px rgb(52 24 66 / 5%); }
.header-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: var(--header-height); }
.brand { display: inline-flex; align-items: center; gap: 10px; min-width: 0; line-height: 1.2; text-decoration: none; }
.brand-mark {
  display: grid; flex: none; place-items: center; width: 36px; height: 36px;
  border-radius: 9px; background: var(--purple); color: var(--soft-pink);
}
.brand-mark .pixel-heart { width: 21px; }
.brand-type { display: grid; gap: 4px; }
.brand-name { color: var(--ink); font-size: 1.22rem; font-weight: 800; letter-spacing: -.045em; }
.brand-image { width: auto; height: auto; max-width: min(192px, 54vw); max-height: 48px; object-fit: contain; }
.desktop-nav, .desktop-contact { display: none; }
.desktop-nav ul, .mobile-menu ul, .site-footer ul { padding: 0; list-style: none; }
.desktop-nav a, .mobile-menu nav a { color: var(--ink); text-decoration: none; font-weight: 600; }
.desktop-nav a[aria-current], .mobile-menu nav a[aria-current] { color: var(--purple-pressed); background: var(--lilac); }
.desktop-nav a:hover, .mobile-menu nav a:hover { color: var(--purple-pressed); background: var(--subtle); }
.desktop-nav a[aria-current]:hover, .mobile-menu nav a[aria-current]:hover { background: var(--lilac); }
.mobile-menu {
  position: fixed; inset: 0 0 0 auto; width: min(100%, 380px); height: 100%; max-height: 100%;
  margin: 0; padding: 20px; border: 0; border-radius: 20px 0 0 20px; box-shadow: var(--shadow);
}
.drawer-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.mobile-menu nav { margin-block: 28px 20px; }
.mobile-menu nav a { display: block; min-height: 48px; padding: 11px 14px; border-radius: 10px; }
.mobile-menu nav li + li { margin-top: 4px; }

.hero-section {
  container-type: inline-size;
  overflow: clip;
  background:
    linear-gradient(var(--surface), transparent 18%, transparent 72%, var(--surface)),
    radial-gradient(ellipse at 76% 56%, var(--lilac), transparent 69%),
    radial-gradient(ellipse at 19% 40%, var(--blush), transparent 62%);
}
.hero-panel {
  display: grid; grid-template-areas: "copy" "media" "controls";
  grid-template-columns: minmax(0, 1fr); padding-block: 26px 12px;
}
.hero-copy-stack { grid-area: copy; display: grid; grid-template-areas: "copy"; min-width: 0; }
.hero-copy-stack > * { grid-area: copy; }
.hero-reserve { visibility: hidden; pointer-events: none; }
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding-block: 6px 10px; }
.hero-copy h1, .hero-copy .display-heading {
  max-width: 19ch; font-size: clamp(2rem, 8.9vw, 2.85rem); letter-spacing: -.037em; line-height: 1.12; text-wrap: wrap;
}
.eyebrow { color: var(--purple-pressed); font-size: .875rem; font-weight: 700; }
.hero-description { color: var(--muted); line-height: 1.65; margin-top: 14px; max-width: 39ch; }
.hero-media {
  grid-area: media; position: relative; isolation: isolate; justify-self: center;
  width: min(100cqw, 710px); aspect-ratio: 3 / 2;
}
.hero-slide { position: absolute; inset: 0; }
.hero-slide:not([hidden]) { z-index: 1; }
.hero-slide[hidden] { opacity: 0; pointer-events: none; }
.hero-slide picture, .hero-slide img { display: block; width: 100%; height: 100%; }
.hero-slide img { object-fit: contain; object-position: center bottom; }
.hero-illustration {
  mask-image: linear-gradient(transparent, #000 9% 85%, transparent),
    linear-gradient(90deg, transparent, #000 5% 95%, transparent);
  mask-composite: intersect;
}
.hero-sparkle {
  position: absolute; z-index: 2; inset-block-start: 12%; inset-inline-start: 30%;
  width: clamp(10px, 1.7vw, 23px); aspect-ratio: 1; pointer-events: none;
  background: var(--pink); opacity: .7;
  clip-path: polygon(50% 0, 61% 37%, 100% 50%, 61% 62%, 50% 100%, 37% 62%, 0 50%, 37% 37%);
}
[data-swipe] { touch-action: pan-y pinch-zoom; }
.hero-placeholder { display: grid; place-items: center; height: 100%; color: var(--soft-pink); }
.hero-placeholder .pixel-heart { width: 27%; }
.art-label {
  position: absolute; inset-block-end: 0; inset-inline-end: var(--gutter);
  color: var(--muted); font-size: .8125rem;
}
.carousel-controls { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 2px; margin-top: 16px; }
.hero-panel > .carousel-controls { grid-area: controls; margin: 8px 0 0; }
.hero-panel > .carousel-controls .icon-button { background: transparent; }
.hero-panel > .carousel-controls .icon-button:hover { background: var(--lilac); }
.carousel-controls .icon-button svg { width: 20px; height: 20px; }
.dots { display: flex; justify-content: center; flex-wrap: wrap; }
.dot { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: transparent; }
.dot::before { content: ''; width: 8px; height: 8px; border: 1px solid var(--purple-pressed); border-radius: 99px; }
.dot[aria-current]::before { width: 21px; background: var(--purple-pressed); }
.rotation svg:last-of-type, .rotation[data-paused] svg:first-of-type { display: none; }
.rotation[data-paused] svg:last-of-type { display: block; }

.section-heading { max-width: 67ch; margin-bottom: 24px; }
.section-heading h2 { text-wrap: wrap; }
.section-heading .eyebrow { margin-bottom: 8px; }
.section-heading h2 + p { color: var(--muted); margin-top: 10px; max-width: 59ch; }
.section-action { margin-top: 24px; }
.home-highlights {
  padding-block: clamp(68px, 7.25vw, 104px) var(--section-space);
  border-block: 1px solid var(--border);
  background: color-mix(in srgb, var(--lilac) 66%, var(--surface));
}
.home-highlights .section-heading {
  margin-inline: auto; margin-bottom: clamp(26px, 3vw, 44px); text-align: center;
}
.home-highlights .section-heading h2 { text-wrap: balance; }
.home-highlights .section-heading h2 + p { margin-inline: auto; text-wrap: pretty; }
.values-grid, .statistics-grid, .teacher-grid { display: grid; }
.values-grid { gap: clamp(12px, 1.55vw, 20px); grid-auto-rows: 1fr; }
.teacher-grid { gap: 18px; }
.value-card { padding: 22px; border: 1px solid var(--border); border-radius: var(--radius); background: white; }
.value-feature {
  --feature-border: color-mix(in srgb, var(--tile) 68%, var(--tile-ink));
  display: grid; align-content: start; padding: clamp(24px, 2vw, 30px);
  border: 1px solid color-mix(in srgb, var(--feature-border) 40%, var(--surface));
  border-radius: var(--radius); background: color-mix(in srgb, var(--tile) 40%, var(--surface));
  box-shadow: var(--shadow);
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.value-feature.tone-orchid { --tile: #f6dff4; --tile-ink: var(--purple-pressed); }
.value-feature.tone-petal { --tile: #f9e2e8; --tile-ink: #86374f; }
.value-feature .icon-tile {
  position: relative; width: 64px; height: 64px; margin-bottom: 18px;
  border-radius: 20px; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--tile-ink) 14%, transparent);
  transition: transform .3s ease;
}
.value-feature .icon-tile::after {
  content: ''; position: absolute; top: -3px; right: -4px; width: 12px; height: 12px;
  background: color-mix(in srgb, var(--tile-ink) 44%, var(--tile));
  clip-path: polygon(50% 0, 66% 34%, 100% 50%, 66% 66%, 50% 100%, 34% 66%, 0 50%, 34% 34%);
}
.value-feature .icon-tile svg { width: 35px; height: 35px; }
.value-feature h3 { text-wrap: balance; }
.value-card h3 { margin-top: 16px; }
.value-card p, .value-feature p { color: var(--muted); margin-top: 7px; }
.teacher-grid { margin-top: 24px; }
.teacher-grid img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 16px; }

.section-statistics { margin-block-start: clamp(52px, 5.5vw, 76px); }
.section-statistics .section-heading h2 { text-wrap: pretty; }
.statistics-grid { gap: 32px clamp(12px, 2vw, 28px); margin: 0; }
.statistic {
  position: relative; display: flex; flex-direction: column; align-items: center;
  min-width: 0; text-align: center;
}
.statistic dt {
  order: 1; max-inline-size: 23ch; font-weight: 700; line-height: 1.45;
  text-wrap: pretty; overflow-wrap: anywhere;
}
.statistic dd { margin: 0; }
.statistic-number {
  color: var(--purple-pressed); font-size: clamp(3rem, 6.5vw, 5.5rem); font-weight: 800;
  font-variant-numeric: tabular-nums; letter-spacing: -.06em; line-height: 1.05; overflow-wrap: anywhere;
}
.statistic-suffix { margin-inline-start: .055em; font-size: .62em; }
.statistic .statistic-number { margin-bottom: 10px; }
.statistic .statistic-note {
  order: 2; display: grid; gap: 2px;
  margin-top: auto; padding-top: 8px; color: var(--muted); font-size: .875rem; overflow-wrap: anywhere;
}
.statistic-placeholder { color: var(--purple-pressed); font-weight: 600; }

.section-courses { background: var(--subtle); }
.course-preview-grid {
  display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(20px, 2.2vw, 32px);
  max-width: 520px; margin-inline: auto;
}
.course-preview { min-width: 0; }
.course-preview-link, .course-preview-content {
  display: flex; height: 100%; flex-direction: column; border-radius: 26px;
  background: var(--surface); color: var(--ink); text-decoration: none;
  box-shadow: 0 9px 25px rgb(70 24 76 / 11%);
  transition: transform .28s ease, box-shadow .28s ease;
}
.course-cover {
  position: relative; display: grid; place-items: center; aspect-ratio: 16 / 10;
  overflow: hidden; border-radius: 26px 26px 0 0; background: var(--tile); color: var(--tile-ink);
}
.course-cover img { width: 100%; height: 100%; object-fit: cover; }
.course-cover-placeholder { font-size: .875rem; font-weight: 600; }
.course-cover-credit {
  position: absolute; inset-block-end: 18px; inset-inline-end: 14px; padding: 3px 8px;
  border-radius: 6px; background: rgb(35 20 46 / 80%); color: white;
  font-size: .75rem; font-weight: 600;
}
.course-cover .course-badge {
  position: absolute; inset-block-end: 14px; inset-inline-start: 16px;
  padding: 6px 13px; border-radius: 99px;
  background: var(--course-badge, var(--tile)); box-shadow: 0 2px 10px rgb(35 20 46 / 16%);
}
.course-preview-body { padding: 20px clamp(20px, 2vw, 27px) 25px; }
.course-category { color: var(--tile-ink); font-size: .875rem; font-weight: 700; }
.course-preview h3 {
  margin-block: 5px 9px; font-size: clamp(1.375rem, 2.1vw, 1.875rem);
  font-weight: 800; line-height: 1.13; text-wrap: pretty;
  transition: color .25s ease;
}
.course-summary { color: var(--muted); text-wrap: pretty; }
.tone-aqua { --tile: #e0f4ee; --tile-ink: #175845; --course-badge: #b8eed7; }
.course-preview.tone-rose { --course-badge: #ffcfe6; }
.course-preview.tone-lilac { --course-badge: #e3d2ff; }
.course-preview.tone-mint { --course-badge: #ceedc1; }
.course-preview.tone-peach { --course-badge: #ffdda8; }
.course-preview.tone-blue { --course-badge: #d4e4ff; }
.course-consultation-wrap { display: flex; justify-content: center; margin-top: clamp(34px, 4vw, 54px); }
.course-consultation {
  gap: clamp(10px, 1.6vw, 24px); min-height: 64px; max-width: 100%;
  padding: 9px 10px 9px clamp(16px, 3vw, 28px); border-radius: 999px;
  box-shadow: 0 10px 24px rgb(112 37 111 / 25%);
  font-size: clamp(.9375rem, 2vw, 1.125rem); font-weight: 800;
  transition: transform .24s ease, box-shadow .24s ease, background-color .24s ease;
}
.course-consultation-arrow {
  display: grid; place-items: center; flex: none; width: 42px; aspect-ratio: 1; border-radius: 50%;
  background: var(--blush); color: var(--purple-pressed);
}
.course-consultation-arrow svg { transition: transform .25s ease; }
.level { display: inline-flex; align-items: center; width: fit-content; padding: 4px 11px; border-radius: 7px; background: var(--tile); color: var(--tile-ink); font-size: .875rem; font-weight: 700; }
.tone-rose { --tile: #fbe7f2; --tile-ink: #842955; }
.tone-lilac { --tile: #f0e6fa; --tile-ink: #673585; }
.tone-mint { --tile: #e5f4ed; --tile-ink: #215841; }
.tone-peach { --tile: #ffeddf; --tile-ink: #794119; }
.tone-blue { --tile: #e8eefc; --tile-ink: #334e8b; }
.consultation-band {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 18px;
  padding: 22px; margin-top: 26px; border-radius: 0 15px 15px 0; border-inline-start: 4px solid var(--purple);
  background: var(--lilac);
}
.consultation-band p { color: var(--muted); margin-top: 4px; }
.section-achievements { background: var(--lilac); }
.empty-state {
  display: flex; flex-wrap: wrap; align-items: center; gap: 20px; padding: 22px;
  border: 1px solid var(--border); border-radius: var(--radius); background: white;
}
.empty-state-symbol {
  display: grid; flex: none; place-items: center; width: 68px; aspect-ratio: 1;
  border-radius: 17px; color: var(--purple-pressed); background: var(--lilac);
}
.empty-state-symbol svg { width: 32px; height: 32px; }
.empty-state > div { flex: 1 1 16ch; }
.empty-state-photo .empty-state-symbol { background: var(--blush); }
.empty-state p { color: var(--muted); margin-top: 6px; }
.empty-state .button { margin-top: 16px; }
.achievement-grid, .gallery-grid { display: grid; gap: 14px; }
.achievement-card { overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius); background: white; }
.achievement-card img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.achievement-card div { padding: 24px; align-self: center; }
.achievement-card p { margin-top: 8px; color: var(--muted); }
.filter { display: grid; gap: 6px; max-width: 340px; margin-bottom: 20px; }
.gallery-grid figure { margin: 0; position: relative; min-width: 0; }
.gallery-grid a { display: block; border-radius: 16px; overflow: hidden; height: 100%; }
.gallery-grid img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gallery-grid a:hover img { filter: brightness(.91); }
.gallery-grid figcaption {
  position: absolute; right: 8px; bottom: 8px; left: 8px; width: fit-content; padding: 4px 8px;
  pointer-events: none; border-radius: 6px; background: var(--ink); color: white; font-size: .875rem;
}
.lightbox {
  width: min(880px, 100% - 24px); max-width: none; max-height: calc(100% - 24px); padding: 0;
  border: 0; border-radius: 22px; background: white;
}
.lightbox-content { position: relative; padding: 60px 14px 14px; }
.lightbox-close { position: absolute; top: 8px; right: 8px; }
.lightbox figure { margin: 0; text-align: center; }
.lightbox img { margin-inline: auto; max-height: 66dvh; width: auto; height: auto; object-fit: contain; }
.lightbox figcaption { margin-block: 8px; }
.lightbox-controls { display: flex; gap: 16px; justify-content: center; align-items: center; margin-top: 10px; }

.section-lead { background: var(--blush); }
.lead-layout { display: grid; gap: 28px; }
.lead-copy .section-heading { max-width: 43ch; }
.lead-copy ul { display: grid; gap: 12px; padding: 0; list-style: none; }
.lead-copy li { display: flex; align-items: flex-start; gap: 11px; }
.lead-copy li svg { width: 25px; height: 25px; padding: 3px; border-radius: 50%; color: var(--purple-pressed); background: #f7e0f0; }
.lead-copy .button { margin-top: 24px; }
.lead-form { padding: 22px; border: 1px solid var(--border); border-radius: var(--radius); background: white; box-shadow: var(--shadow); }
.form-field { margin-bottom: 15px; display: grid; align-content: start; gap: 6px; min-width: 0; }
label { font-weight: 600; }
label span { color: var(--muted); font-weight: 400; }
input:not([type="checkbox"]), select, textarea {
  width: 100%; min-width: 0; min-height: 46px; border: 1px solid var(--control-border);
  border-radius: var(--control-radius); padding: 9px 12px; background: white; color: var(--ink);
}
select {
  appearance: none; padding-right: 34px;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: right 18px center, right 13px center; background-size: 5px 5px; background-repeat: no-repeat;
}
textarea { resize: vertical; }
.checkbox-label { display: flex; align-items: baseline; gap: 8px; }
.checkbox-label input { width: 1.15em; height: 1.15em; flex: none; accent-color: var(--purple); }
[aria-invalid="true"] { border-color: var(--error) !important; }
.field-error, .form-notice, .form-status { font-size: .875rem; }
.field-error, .form-status[data-state="error"] { color: var(--error); }
.form-status[data-state="success"] { color: var(--success); }
.field-error:empty, .form-status:empty { display: none; }
.form-notice { color: var(--muted); margin-bottom: 14px; }
.form-status:not(:empty) { margin-top: 10px; }

.page-intro { isolation: isolate; position: relative; overflow: hidden; background: var(--lilac); padding-block: 32px 42px; }
.page-intro::after {
  content: ''; display: none; position: absolute; z-index: -1; right: clamp(4%, 10vw, 14%); bottom: -36%;
  width: clamp(170px, 23.5vw, 340px); aspect-ratio: 1; background: #eddbef; clip-path: var(--heart-shape);
  transform: rotate(8deg); pointer-events: none;
}
.page-intro h1 { text-wrap: wrap; }
.page-intro p { margin-top: 14px; color: var(--muted); font-size: 1.1rem; max-width: 58ch; }
.breadcrumbs { margin-bottom: 20px; font-size: .875rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 0 9px; list-style: none; padding: 0; }
.breadcrumbs li + li::before { content: '/'; color: var(--muted); margin-right: 9px; }
.section-adventure { background: var(--subtle); }
.section-adventure .section-heading { margin-inline: auto; max-width: 760px; text-align: center; }
.section-adventure .section-heading h2 { text-wrap: balance; }
.section-adventure .section-heading p { margin-inline: auto; text-wrap: pretty; }
.adventure-map {
  --marker-size: 58px;
  position: relative; max-width: 610px; margin-inline: auto; border-radius: 26px;
  background: #f0f2ff; box-shadow: inset 0 0 0 1px #e0e2f3, 0 10px 30px rgb(70 24 76 / 7%);
}
.adventure-road, .adventure-landscape, .adventure-trail-art { position: absolute; pointer-events: none; }
.adventure-road, .adventure-landscape { inset: 0; width: 100%; height: 100%; border-radius: inherit; }
.adventure-road { fill: none; stroke-linecap: round; }
.adventure-road-edge { stroke: #c4d1f6; }
.adventure-road-surface { stroke: #6e8ad8; }
.adventure-road-dashes { stroke: #fff; stroke-dasharray: .010 .010; opacity: .95; }
.adventure-road-trail { width: 128px; border-radius: 26px 0 0 26px; }
.adventure-road-wide, .adventure-landscape { display: none; }
.adventure-trail-art {
  inset-block-start: 42px; inset-inline-end: 8px; width: 120px; height: auto; opacity: .55;
}
.adventure-trail-finish { inset-block: auto 30px; }
.adventure-stops { position: relative; padding: 20px 0; list-style: none; }
.adventure-stop { position: relative; }
.adventure-checkpoint {
  display: flex; align-items: center; gap: 12px; min-height: 112px;
  margin-inline-start: calc(18px + var(--stop-lane)); padding-inline-end: 12px;
  border-radius: 14px; color: var(--ink); cursor: pointer; list-style: none;
}
.adventure-checkpoint::-webkit-details-marker { display: none; }
.adventure-marker {
  display: grid; flex: none; place-items: center; width: var(--marker-size); aspect-ratio: 1;
  border: 4px solid white; border-radius: 50%; color: var(--tile-ink);
  background: color-mix(in srgb, var(--tile) 84%, var(--tile-ink));
  box-shadow: 0 4px 10px rgb(45 41 104 / 26%);
  transition: transform .22s ease, box-shadow .22s ease, background-color .22s ease;
}
.adventure-marker svg { width: 28px; height: 28px; }
.adventure-label {
  display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-width: 0;
  padding: 5px 8px; border-radius: 12px; background: rgb(255 255 255 / 92%);
}
.adventure-label strong { font-size: .875rem; line-height: 1.25; text-wrap: balance; overflow-wrap: anywhere; }
.adventure-label .level { padding: 2px 8px; border-radius: 50px; font-size: .75rem; }
.adventure-age { color: var(--tile-ink); font-size: .75rem; font-weight: 600; }
.adventure-stop [open] > .adventure-checkpoint .adventure-marker,
.adventure-checkpoint:focus-visible .adventure-marker {
  background: var(--tile); box-shadow: 0 0 0 3px var(--purple), 0 7px 15px rgb(45 41 104 / 25%);
}
.adventure-panel {
  position: relative; width: min(calc(100% - 32px), 420px); margin: 0 auto 14px;
  border-radius: 24px; background: var(--surface); box-shadow: 0 15px 34px rgb(49 33 93 / 23%);
}
.adventure-panel-scroll { border-radius: inherit; }
.adventure-close {
  position: absolute; z-index: 1; top: 8px; right: 8px; box-shadow: 0 3px 9px rgb(45 41 104 / 18%);
}
.adventure-close:focus-visible { outline-offset: 1px; }
.course-preview-roadmap .course-preview-content { display: block; box-shadow: none; }
.course-preview-roadmap .course-cover { aspect-ratio: 2 / 1; border-radius: 24px 24px 0 0; }
.course-preview-roadmap .course-preview-body { padding: 13px 16px 10px; }
.course-preview-roadmap h3 { font-size: clamp(1.15rem, 2vw, 1.42rem); }
.course-preview-roadmap .course-summary, .course-preview-roadmap .course-focus { font-size: .875rem; line-height: 1.5; }
.course-preview-roadmap .course-focus { margin-top: 8px; color: var(--muted); }
.course-preview-footer { padding: 4px 16px 16px; border-radius: 0 0 24px 24px; background: var(--surface); }
.adventure-note { margin: 18px auto 0; max-width: 64ch; text-align: center; font-size: .875rem; color: var(--muted); }
.section-about-cta .consultation-band { margin-top: 0; }
.site-footer { padding-block: 40px 22px; background: var(--footer); color: white; }
.site-footer :focus-visible { outline-color: white; }
.footer-main { display: grid; gap: 24px; }
.footer-main > div:first-child { max-width: 42ch; }
.site-footer a, .site-footer .brand-name { color: white; }
.site-footer .brand-mark { background: #80337f; }
.brand-full { font-size: .875rem; color: #f9dcf0; }
.footer-main p { margin-top: 12px; color: #f9dcf0; }
.footer-main h2 { font-size: 1rem; margin-bottom: 8px; }
.footer-main ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 14px; }
.footer-contact ul { grid-template-columns: 1fr; }
.footer-main li a { display: inline-flex; align-items: center; min-height: 40px; }
.footer-main a[aria-current] { font-weight: 700; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 20px; margin-top: 26px; padding-top: 16px; border-top: 1px solid #b280b1; }
.footer-bottom small, .footer-bottom a { font-size: .875rem; }

@media (max-width: 359px) {
  :root { --gutter: 16px; }
  .hero-panel > .carousel-controls { gap: 0; }
}

@media (min-width: 360px) and (max-width: 639px) {
  .value-feature { grid-template-columns: auto minmax(0, 1fr); column-gap: 16px; }
  .value-feature .icon-tile { grid-row: span 2; margin-bottom: 0; }
  .value-feature h3 { text-wrap: pretty; }
}

@media (min-width: 360px) {
  .statistics-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 640px) {
  :root { --gutter: 32px; --section-space: 64px; }
  .hero-panel { padding-block-start: 34px; }
  .values-grid, .teacher-grid, .gallery-grid, .achievement-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery-grid figure:first-child { grid-column: span 2; }
  .gallery-grid figure:first-child img { aspect-ratio: 16 / 9; }
  .form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .page-intro::after { display: block; }
  .footer-main { grid-template-columns: 1.5fr 1fr; }
  .footer-main:has(.footer-contact) { grid-template-columns: 1.5fr 1fr 1fr; }
}

@media (min-width: 768px) {
  .course-preview-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: none; }
  .adventure-trail-art { width: 210px; inset-inline-end: 20px; }
  .adventure-label strong { font-size: 1rem; }
}

@media (min-width: 900px) {
  .hero-panel {
    --hero-edge: max(var(--gutter), (100cqw - 1200px) / 2);
    grid-template-areas: ". media" "copy media" "controls media" ". media";
    grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
    grid-template-rows: 1fr auto auto 1fr;
    column-gap: clamp(18px, 2.2vw, 32px);
    min-height: clamp(475px, 43vw, 610px); padding-block: 16px;
  }
  .hero-copy { justify-content: center; gap: 20px; padding: 0; }
  .hero-copy h1, .hero-copy .display-heading { font-size: clamp(2.55rem, 4.3vw, 4rem); }
  .hero-description { font-size: clamp(1rem, 1.26vw, 1.125rem); margin-top: 18px; }
  .hero-media { align-self: center; justify-self: start; width: min(calc(100% + var(--hero-edge)), 880px); }
  .hero-panel > .carousel-controls { justify-content: flex-start; margin-top: 16px; }
}

@media (min-width: 1024px) {
  :root { --gutter: 40px; --header-height: 78px; --section-space: 76px; }
  h1, .display-heading { font-size: clamp(2.55rem, 4.1vw, 3.5rem); }
  .header-inner { display: grid; grid-template-columns: 1fr auto 1fr; }
  .header-inner .brand { justify-self: start; }
  .desktop-contact { display: block; justify-self: end; }
  .desktop-nav { display: block; }
  .desktop-nav ul { display: flex; gap: 4px; }
  .desktop-nav a { display: flex; align-items: center; min-height: 44px; padding: 8px 15px; border-radius: 8px; }
  .mobile-trigger { display: none; }
  .section-heading { margin-bottom: 30px; }
  .values-grid, .statistics-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .value-feature h3 { min-block-size: 2lh; }
  .value-card { padding: 25px; }
  .course-preview-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 1fr; }
  .achievement-grid, .teacher-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  [data-carousel] .achievement-card { display: grid; grid-template-columns: 1fr 1fr; }
  [data-carousel] .achievement-card img { max-height: 480px; }
  [data-carousel] .achievement-card div { padding: 45px; }
  .gallery-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .gallery-grid figure:first-child { grid-area: span 2 / span 2; }
  .gallery-grid figure:first-child img { aspect-ratio: 4 / 3; }
  .consultation-band { padding: 27px 32px; }
  .empty-state { padding: 30px; gap: 26px; }
  .empty-state-symbol { width: 84px; }
  .empty-state-symbol svg { width: 42px; height: 42px; }
  .lead-layout { grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 86px); align-items: center; }
  .lead-form { padding: 32px; }
  .page-intro { padding-block: 42px 62px; }
  [data-adventure-ready] .adventure-map {
    --marker-size: clamp(56px, 5.8vw, 76px); --stop-width: clamp(132px, 13vw, 168px);
    max-width: none; aspect-ratio: 1200 / 480; border-radius: 28px;
  }
  [data-adventure-ready] .adventure-road-wide, [data-adventure-ready] .adventure-landscape { display: block; }
  [data-adventure-ready] .adventure-road-trail, [data-adventure-ready] .adventure-trail-art { display: none; }
  [data-adventure-ready] .adventure-stops { position: absolute; inset: 0; padding: 0; }
  [data-adventure-ready] .adventure-stop {
    position: absolute; left: calc(var(--stop-x) - var(--stop-width) / 2);
    top: calc(var(--stop-y) - var(--marker-size) / 2); width: var(--stop-width);
  }
  [data-adventure-ready] .adventure-checkpoint {
    flex-direction: column; justify-content: flex-start; gap: 6px; min-height: 0;
    margin: 0; padding: 0; text-align: center;
  }
  [data-adventure-ready] .adventure-label { align-items: center; }
  [data-adventure-ready] .adventure-label strong { font-size: clamp(.85rem, 1.2vw, 1rem); }
  [data-adventure-ready] .adventure-marker svg { width: clamp(28px, 3vw, 36px); height: auto; }
  [data-adventure-ready] .adventure-panel {
    position: fixed; z-index: 12; top: var(--panel-top); left: var(--panel-left);
    width: min(320px, calc(100vw - 24px)); margin: 0;
  }
  [data-adventure-ready] .adventure-panel-scroll { max-height: var(--panel-height); overflow: auto; }
  [data-adventure-ready] .course-preview-footer { position: sticky; bottom: 0; }
  .adventure-panel[data-constrained] .course-preview-footer { box-shadow: 0 -4px 12px rgb(49 33 93 / 8%); }
  .adventure-panel[data-placement]::before {
    content: ''; position: absolute; inset-inline: 0; height: 12px;
  }
  .adventure-panel[data-placement="above"]::before { top: 100%; }
  .adventure-panel[data-placement="below"]::before { bottom: 100%; }
}

@media (hover: hover) and (pointer: fine) {
  .value-feature:hover {
    border-color: var(--feature-border); box-shadow: 0 18px 36px rgb(70 24 76 / 14%);
  }
  .course-preview-link:hover { box-shadow: 0 16px 34px rgb(70 24 76 / 17%); }
  .course-preview-link:hover h3 { color: var(--purple-pressed); }
  .course-consultation:hover { box-shadow: 0 14px 32px rgb(112 37 111 / 32%); }
  .adventure-checkpoint:hover .adventure-marker { box-shadow: 0 9px 17px rgb(45 41 104 / 30%); }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-copy:not(.hero-reserve) { animation: hero-enter .35s ease-out; }
  .hero-sparkle { animation: hero-float 1.45s ease-out; }
  .hero-slide { transition: opacity .28s ease, display .28s allow-discrete; }

  @media (hover: hover) and (pointer: fine) {
    .value-feature:hover { transform: translateY(-6px); }
    .value-feature:hover .icon-tile { transform: rotate(-5deg) scale(1.06); }
    .course-preview-link:hover { transform: translateY(-5px); }
    .course-consultation:hover { transform: scale(1.04); }
    .course-consultation:hover svg { transform: translateX(3px); }
    .adventure-checkpoint:hover .adventure-marker { transform: translateY(-4px) scale(1.06); }
  }
  .course-consultation:active { transform: scale(.975); }

  [data-course-entered] {
    animation: course-enter .45s ease-out calc(var(--course-index) * 36ms) backwards;
  }
  [data-course-entered]:focus-within { animation: none; }
  [data-consultation-entered] { animation: consultation-enter .52s cubic-bezier(.2, .7, .3, 1); }
  [data-consultation-visible] .course-consultation {
    animation: consultation-float 2.05s ease-in-out .55s 2;
  }
  [data-consultation-visible] .course-consultation svg {
    animation: consultation-arrow 2.05s ease-in-out .55s 2;
  }
  [data-consultation-visible] .course-consultation:is(:hover, :focus-visible, :active),
  [data-consultation-visible] .course-consultation:is(:hover, :focus-visible, :active) svg { animation: none; }

  @keyframes course-enter {
    from { opacity: .45; transform: translateY(12px); }
  }
  @keyframes consultation-enter {
    from { opacity: .45; transform: translateY(14px) scale(.97); }
  }
  @keyframes consultation-float {
    50% { translate: 0 -4px; box-shadow: 0 14px 30px rgb(112 37 111 / 30%); }
  }
  @keyframes consultation-arrow {
    50% { translate: 3px 0; }
  }

  [data-adventure-entered] .section-heading { animation: adventure-heading .45s ease-out; }
  [data-adventure-entered] .adventure-road-reveal { animation: adventure-draw 1s .08s ease-out both; }
  [data-adventure-entered] .adventure-marker {
    animation: adventure-marker .38s ease-out calc(.18s + var(--stop-index) * 80ms) backwards;
  }
  [data-adventure-entered] .adventure-checkpoint:focus-visible .adventure-marker,
  [data-adventure-entered] [open] .adventure-marker { animation: none; }
  [data-adventure-ready] [open] .adventure-panel-scroll { animation: adventure-panel .22s ease-out; }
  @keyframes adventure-heading { from { opacity: .4; transform: translateY(8px); } }
  @keyframes adventure-draw {
    from { stroke-dasharray: 1; stroke-dashoffset: 1; }
    to { stroke-dasharray: 1; stroke-dashoffset: 0; }
  }
  @keyframes adventure-marker {
    from { opacity: .45; scale: .78; }
    70% { scale: 1.06; }
  }
  @keyframes adventure-panel { from { opacity: .1; transform: translateY(9px) scale(.97); } }

  [data-statistics-visible] .statistic { animation: statistic-enter .45s ease-out both; }
  [data-statistics-visible] .statistic:nth-child(2) { animation-delay: 55ms; }
  [data-statistics-visible] .statistic:nth-child(3) { animation-delay: 110ms; }
  [data-statistics-visible] .statistic:nth-child(4) { animation-delay: 165ms; }

  @keyframes statistic-enter {
    from { opacity: .45; transform: translateY(12px); }
  }

  @starting-style {
    .hero-section[data-hero-changed] .hero-slide:not([hidden]) { opacity: 0; }
  }

  @keyframes hero-enter {
    from { opacity: .88; transform: translateY(6px); }
  }

  @keyframes hero-float {
    0% { opacity: .4; transform: translateY(4px); }
    48% { transform: translateY(-5px); }
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; }
}
