/* Circle of Success: public site */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body.site {
	margin: 0; background: var(--ground); color: var(--ink);
	font: 400 1.0625rem/1.6 var(--font-body); -webkit-font-smoothing: antialiased;
	overflow-x: clip;
}
img, svg { max-width: 100%; }
img { display: block; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .22em; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.05; letter-spacing: -.025em; margin: 0; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
::selection { background: var(--sun); color: var(--v-950); }
:focus-visible { outline: 3px solid var(--v-500); outline-offset: 3px; border-radius: 6px; }
.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.wrap { width: min(1280px, 100% - 40px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; background: var(--v-700); color: #fff; padding: 10px 18px; border-radius: 12px; z-index: 100; transition: top .2s; }
.skip:focus { top: 12px; }
* { scrollbar-color: var(--v-500) var(--v-100); }

/* ---------- type ---------- */
.display { font-weight: 800; font-size: clamp(2.6rem, 6.2vw, 5.5rem); line-height: .98; letter-spacing: -.035em; }
.h1 { font-weight: 800; font-size: clamp(2.3rem, 5vw, 4.25rem); line-height: 1; letter-spacing: -.032em; }
.h2 { font-weight: 800; font-size: clamp(2rem, 4.2vw, 3.5rem); line-height: 1.02; letter-spacing: -.03em; }
.h3 { font-size: clamp(1.35rem, 2vw, 1.75rem); letter-spacing: -.02em; }
.lede { font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.55; color: var(--ink-2); max-width: 46ch; }
.mark { position: relative; display: inline-block; white-space: nowrap; z-index: 0; }
.mark::after { content: ""; position: absolute; z-index: -1; left: -.06em; right: -.06em; bottom: .02em; height: .34em; background: var(--sun); border-radius: .2em .5em .2em .5em; transform: rotate(-1.2deg); }
.on-dark .mark::after, .tile--violet .mark::after { background: var(--sun); }
.doodle { fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.doodle--fill { fill: currentColor; stroke: none; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 14px; min-height: 56px; padding: 6px 8px 6px 28px; border-radius: 999px; border: 2px solid transparent; font: 700 1rem/1 var(--font-body); text-decoration: none; cursor: pointer; transition: transform .35s var(--ease), background-color .2s, color .2s, border-color .2s, box-shadow .3s; white-space: nowrap; }
.btn:active { transform: scale(.97); }
.btn__dot { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--sun); color: var(--v-950); transition: transform .4s var(--ease); }
.btn:hover .btn__dot { transform: rotate(45deg); }
.btn--primary { background: var(--v-700); color: #fff; box-shadow: 0 10px 24px -10px rgba(91, 31, 138, .7); }
.btn--primary:hover { background: var(--v-800); }
.btn--ghost { border-color: var(--v-700); color: var(--v-700); background: transparent; }
.btn--ghost:hover { background: var(--v-700); color: #fff; }
.btn--ghost .btn__dot { background: var(--v-100); color: var(--v-700); }
.btn--sun { background: var(--sun); color: var(--v-950); }
.btn--sun:hover { background: #ffd460; }
.btn--sun .btn__dot { background: var(--v-900); color: #fff; }
.btn--light { background: #fff; color: var(--v-800); }
.btn--light:hover { background: var(--v-100); }
.btn--sm { min-height: 46px; padding-left: 20px; font-size: .95rem; }
.btn--sm .btn__dot { width: 34px; height: 34px; }
.btn--block { width: 100%; justify-content: space-between; }
.round-btn { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 2px solid var(--v-700); color: var(--v-700); background: transparent; cursor: pointer; transition: background-color .2s, color .2s, transform .3s var(--ease); }
.round-btn:hover { background: var(--v-700); color: #fff; }
.round-btn:active { transform: scale(.92); }
.arrow-chip { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: #fff; color: var(--v-700); flex: none; transition: transform .4s var(--ease), background-color .2s, color .2s; }
a:hover > .arrow-chip, .arrow-chip:hover { transform: rotate(45deg); background: var(--v-700); color: #fff; }

/* ---------- masthead ---------- */
.masthead { position: sticky; top: 0; z-index: 50; padding: 14px 0; background: color-mix(in srgb, var(--ground) 88%, transparent); backdrop-filter: blur(14px); }
.masthead__bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 52px; height: auto; }
.brand__text { display: grid; line-height: 1.1; }
.brand__text b { font: 800 1.2rem/1.1 var(--font-display); color: var(--v-700); letter-spacing: -.02em; }
.brand__text i { font-style: normal; font-size: .8rem; letter-spacing: .02em; color: var(--ink-3); }
.nav { display: flex; align-items: center; gap: 6px; }
.nav > a:not(.btn) { white-space: nowrap; padding: 10px 16px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: .98rem; color: var(--ink-2); transition: background-color .2s, color .2s; }
.nav > a:not(.btn):hover { background: var(--v-100); color: var(--v-800); }
.nav > a[aria-current="page"] { background: var(--v-700); color: #fff; }
.nav__cta { margin-left: 10px; }
.burger { display: none; width: 52px; height: 52px; border-radius: 50%; border: 2px solid var(--v-700); background: #fff; color: var(--v-700); place-items: center; cursor: pointer; }
.burger .burger__close { display: none; }
.burger[aria-expanded="true"] .burger__close { display: block; }
.burger[aria-expanded="true"] .burger__open { display: none; }

/* ---------- hero slider ---------- */
.hero { padding: 8px 0 40px; }
.hero__stage { display: grid; }
.slide { grid-area: 1 / 1; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 64px); align-items: center; opacity: 0; visibility: hidden; transition: opacity .5s ease, visibility 0s .5s; }
.slide.is-active { opacity: 1; visibility: visible; transition: opacity .6s ease; }
.slide__copy { padding-block: 20px; }
.slide__copy .display { margin-bottom: 26px; }
.slide__copy .lede { margin-bottom: 34px; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.js .slide .reveal-line { opacity: 0; transform: translateY(26px); }
.js .slide.is-active .reveal-line { opacity: 1; transform: none; transition: opacity .7s var(--ease), transform .8s var(--ease); }
.js .slide.is-active .reveal-line:nth-child(2) { transition-delay: .08s; }
.js .slide.is-active .reveal-line:nth-child(3) { transition-delay: .16s; }
.slide__art { position: relative; aspect-ratio: 4 / 3.55; margin: 14px 18px 22px 0; }
.slide__art .blocks i { position: absolute; display: block; border-radius: 36px; }
.slide__art .blocks i:nth-child(1) { inset: 7% -7% -5% 12%; background: var(--v-700); }
.slide__art .blocks i:nth-child(2) { width: 34%; height: 20%; left: -6%; bottom: -5%; background: var(--sun); border-radius: 28px; }
.slide__art .blocks i:nth-child(3) { width: 24%; height: 13%; right: 10%; top: -4%; background: var(--v-300); border-radius: 22px; }
.js .slide .frame { clip-path: inset(0 0 100% 0 round 40px); }
.js .slide.is-active .frame { clip-path: inset(0 round 40px); transition: clip-path 1s var(--ease) .05s; }
.frame { position: absolute; inset: 0; border-radius: 40px; overflow: hidden; background: var(--v-100); box-shadow: var(--shadow-2); }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.badge { position: absolute; left: 18px; bottom: 18px; display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px 10px 12px; border-radius: 999px; background: #fff; color: var(--v-800); font-weight: 700; font-size: .95rem; box-shadow: var(--shadow-1); }
.badge .icon { color: var(--v-500); }
.slide__art .doodle-a { position: absolute; right: -2%; top: 20%; width: 64px; color: var(--sun); }
.hero__controls { display: flex; align-items: center; gap: 16px; margin-top: 8px; }
.dots { display: flex; gap: 0; }
.dots button { position: relative; width: 28px; height: 28px; padding: 0; border: 0; background: none; cursor: pointer; border-radius: 50%; }
.dots button::before { content: ""; position: absolute; inset: 8px; border-radius: 50%; background: var(--v-500); opacity: .55; transition: background-color .25s, box-shadow .3s var(--ease), opacity .25s; }
.dots button:hover::before { opacity: 1; }
.dots button[aria-current="true"]::before { opacity: 1; background: var(--v-700); box-shadow: 0 0 0 4px var(--v-200); }
.hero__controls .round-btn { width: 46px; height: 46px; }
.hero__cards { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 20px; margin-top: 18px; }
.finder { align-content: center; background: #fff; border-radius: var(--r-lg); padding: 22px 24px; box-shadow: var(--shadow-1); display: grid; gap: 14px; }
.finder h2 { font-size: 1.35rem; }
.finder__row { display: grid; grid-template-columns: 1fr 1fr auto; gap: 12px; align-items: end; }
.years-card { background: var(--v-900); color: #fff; border-radius: var(--r-lg); padding: 22px 26px; display: flex; flex-direction: column; justify-content: space-between; gap: 16px; position: relative; overflow: hidden; }
.years-card h2 { font-size: 1.35rem; max-width: 18ch; }
.years-card__list { display: flex; flex-wrap: wrap; gap: 10px; position: relative; z-index: 1; }
.years-card__list a { display: inline-flex; align-items: baseline; gap: 8px; padding: 8px 16px; border-radius: 999px; background: rgba(255,255,255,.1); text-decoration: none; font-weight: 600; transition: background-color .2s, color .2s; }
.years-card__list a b { font: 800 1.2rem/1 var(--font-display); color: var(--sun); }
.years-card__list a:hover { background: var(--sun); color: var(--v-950); }
.years-card__list a:hover b { color: var(--v-950); }
.years-card .doodle { position: absolute; right: -20px; top: -26px; width: 130px; color: var(--v-700); stroke-width: 2.4; opacity: .9; }

/* ---------- form controls ---------- */
.field { display: grid; gap: 6px; }
.field label, .label { font-weight: 700; font-size: .88rem; color: var(--ink-2); }
.input, .select, .textarea { width: 100%; font: 500 1rem/1.3 var(--font-body); padding: 14px 18px; min-height: 52px; border-radius: 16px; border: 2px solid var(--line); background: #fff; color: var(--ink); transition: border-color .2s, box-shadow .2s; appearance: none; }
.select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235b1f8a' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 20px; padding-right: 44px; }
.textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
.input:hover, .select:hover, .textarea:hover { border-color: var(--v-300); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--v-700); box-shadow: 0 0 0 4px rgba(153, 102, 204, .28); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { padding: 16px 20px; border-radius: 18px; font-weight: 600; display: flex; gap: 12px; align-items: flex-start; }
.notice--ok { background: #e3f6ea; color: #14573a; }
.notice--bad { background: #fde8ea; color: #8e1c24; }

/* ---------- sections ---------- */
.section { padding: clamp(56px, 8vw, 112px) 0; }
.section--tight { padding: clamp(36px, 5vw, 64px) 0; }
.sec-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px 64px; align-items: end; margin-bottom: clamp(32px, 4vw, 56px); }
.sec-head p { color: var(--ink-2); margin: 0; max-width: 52ch; }
.sec-head .doodle-loop { width: 110px; color: var(--v-500); margin-top: 8px; }
.js .rv { opacity: 0; transform: translateY(22px); }
.js .rv.in { opacity: 1; transform: none; transition: opacity .8s var(--ease), transform .9s var(--ease); }

/* wings bento */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 20px; }
.tile { position: relative; overflow: hidden; border-radius: var(--r-xl); padding: clamp(24px, 3vw, 40px); min-height: 340px; display: flex; flex-direction: column; justify-content: space-between; text-decoration: none; isolation: isolate; transition: transform .5s var(--ease), box-shadow .4s; }
.tile:hover { transform: translateY(-6px); box-shadow: var(--shadow-2); }
.tile--5 { grid-column: span 5; } .tile--7 { grid-column: span 7; }
.tile--lilac { background: var(--v-100); color: var(--v-900); }
.tile--sun { background: var(--sun); color: var(--v-950); }
.tile--white { background: #fff; color: var(--v-900); }
.tile--violet { background: var(--v-700); color: #fff; }
.tile__year { font: 800 clamp(4.5rem, 9vw, 8rem)/.85 var(--font-display); letter-spacing: -.05em; }
.tile--violet .tile__year { color: var(--sun); }
.tile__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.tile__logo { width: 92px; height: 92px; border-radius: 24px; background: #fff; display: grid; place-items: center; overflow: hidden; padding: 8px; box-shadow: var(--shadow-1); }
.tile__logo img { max-height: 100%; width: auto; object-fit: contain; }
.tile--violet .tile__logo { background: transparent; box-shadow: none; padding: 0; width: 110px; }
.tile__body h3 { font-size: clamp(1.5rem, 2.4vw, 2.1rem); margin-bottom: 8px; }
.tile__body p { margin: 0; max-width: 40ch; opacity: .85; }
.tile__foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.tile .doodle { position: absolute; z-index: -1; opacity: .5; }
.tile--lilac .doodle { right: -30px; bottom: -40px; width: 220px; color: var(--v-300); }
.tile--sun .doodle { right: 30%; top: -60px; width: 170px; color: #fff; opacity: .7; }
.tile--white .doodle { right: 30%; top: -50px; width: 170px; color: var(--v-100); opacity: 1; }
.tile--violet .doodle { right: -40px; top: -40px; width: 260px; color: var(--v-600); opacity: .55; }
.tile--violet .arrow-chip { background: var(--sun); color: var(--v-950); }

/* why us */
.why { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.why__art { position: relative; margin: 0 28px 36px 0; }
.why__panel { border-radius: var(--r-xl); background: var(--v-700); position: relative; overflow: hidden; aspect-ratio: 1 / 1.02; display: grid; place-items: center; }
.why__art .why__stat { position: absolute; right: -28px; bottom: -36px; width: clamp(190px, 44%, 260px); box-shadow: var(--shadow-2); transform: rotate(-2.5deg); }
.why__art .doodle-burst { position: absolute; left: -20px; top: -22px; width: 84px; color: var(--sun); stroke-width: 4; }
.why__panel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.why__panel .ring { position: absolute; border: 3px solid var(--v-500); border-radius: 50%; }
.why__panel .ring--1 { width: 88%; aspect-ratio: 1; }
.why__panel .ring--2 { width: 66%; aspect-ratio: 1; border-color: var(--sun); border-style: dashed; }
.why__stat { border-radius: var(--r-lg); padding: 20px 22px; display: grid; gap: 10px; align-content: space-between; }
.why__stat b { font: 800 clamp(2.6rem, 4.6vw, 4rem)/.9 var(--font-display); letter-spacing: -.04em; }
.why__stat span { font-weight: 600; font-size: .95rem; line-height: 1.3; }
.why__stat--sun { background: var(--sun); color: var(--v-950); }
.why__stat--lilac { background: var(--v-100); color: var(--v-800); }
.why__stat--white { background: #fff; color: var(--v-800); box-shadow: var(--shadow-1); }
.reasons { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 20px; }
.reasons li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; }
.reasons .tick { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--v-700); color: var(--sun); }
.reasons h3 { font-size: 1.2rem; margin-bottom: 4px; }
.reasons p { margin: 0; color: var(--ink-2); }

/* course cards */
.course-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.course-card { position: relative; display: flex; flex-direction: column; background: #fff; border-radius: var(--r-lg); overflow: hidden; text-decoration: none; box-shadow: var(--shadow-1); transition: transform .5s var(--ease), box-shadow .4s; }
.course-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-2); }
.course-card__top { position: relative; aspect-ratio: 16 / 8.5; padding: 18px 20px; display: flex; justify-content: space-between; align-items: flex-start; overflow: hidden; color: #fff; background: var(--v-700); }
.course-card__top img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.course-card__top::before { content: ""; position: absolute; width: 190px; height: 190px; right: -50px; bottom: -80px; border-radius: 50%; border: 28px solid rgba(255,255,255,.14); }
.course-card__top::after { content: ""; position: absolute; width: 90px; height: 90px; left: -30px; bottom: -30px; border-radius: 28px; background: rgba(255, 197, 49, .9); transform: rotate(18deg); }
.course-card__top > * { position: relative; z-index: 1; }
.tone-1 { background: var(--v-700); } .tone-2 { background: var(--sun); color: var(--v-950); } .tone-3 { background: var(--v-500); } .tone-4 { background: var(--v-900); }
.tone-2::after { background: var(--v-700) !important; }
.chip--sample { background: transparent; border: 1.5px dashed currentColor; color: inherit; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 999px; background: #fff; color: var(--v-800); font-weight: 700; font-size: .82rem; line-height: 1.2; }
.chip--sun { background: var(--sun); color: var(--v-950); }
.chip--soft { background: var(--v-100); color: var(--v-800); }
.chip--feat { background: var(--sun); color: var(--v-950); }
.course-card__body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.course-card__body h3 { font-size: 1.3rem; line-height: 1.12; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.meta { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; color: var(--ink-2); font-size: .95rem; }
.meta li { display: flex; gap: 10px; align-items: center; }
.meta .icon { color: var(--v-500); }
.course-card__foot { margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--line); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.course-card__foot b { font: 700 1rem/1.2 var(--font-display); color: var(--v-800); }
.course-card__foot .arrow-chip { background: var(--v-100); }
.course-card:hover .arrow-chip { background: var(--v-700); color: #fff; transform: rotate(45deg); }
.more-row { margin-top: 40px; display: flex; justify-content: center; }

/* awarding strip */
.bodies { background: var(--v-700); color: #fff; border-radius: var(--r-xl); padding: clamp(28px, 4vw, 52px); position: relative; overflow: hidden; }
.bodies h2 { margin-bottom: 8px; }
.bodies > p { color: var(--v-200); max-width: 56ch; }
.bodies__list { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.body-pill { display: inline-flex; align-items: center; gap: 12px; padding: 10px 22px 10px 12px; border-radius: 999px; background: rgba(255,255,255,.1); color: #fff; text-decoration: none; transition: background-color .2s, color .2s; }
.body-pill:hover { background: var(--sun); color: var(--v-950); }
.body-pill__logo { width: 40px; height: 40px; border-radius: 50%; background: #fff; color: var(--v-700); display: grid; place-items: center; font: 800 .85rem var(--font-display); overflow: hidden; }
.body-pill__logo img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.body-pill b { display: block; line-height: 1.1; }
.body-pill small { opacity: .75; font-size: .8rem; }
.bodies .doodle { position: absolute; right: -50px; bottom: -70px; width: 300px; color: var(--v-600); opacity: .6; }

/* testimonials */
.t-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.t-card { background: #fff; border-radius: var(--r-lg); padding: 28px; display: flex; flex-direction: column; gap: 18px; box-shadow: var(--shadow-1); }
.t-card:nth-child(3n+2) { background: var(--v-100); box-shadow: none; }
.t-card__who { display: flex; gap: 14px; align-items: center; }
.avatar { width: 56px; height: 56px; border-radius: 18px; background: var(--v-700); color: #fff; display: grid; place-items: center; font: 800 1.1rem var(--font-display); overflow: hidden; flex: none; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.t-card:nth-child(3n+2) .avatar { background: var(--sun); color: var(--v-950); }
.t-card__who b { display: block; font: 700 1.1rem/1.2 var(--font-display); }
.t-card__who small { color: var(--ink-3); }
.stars { display: flex; gap: 3px; color: var(--sun-d); }
.stars .icon { width: 18px; height: 18px; }
.t-card blockquote { margin: 0; color: var(--ink-2); flex: 1; }
.sample-tag { align-self: flex-start; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--v-700); border: 1.5px dashed var(--v-500); padding: 3px 10px; border-radius: 99px; }

/* gallery preview + page */
.mosaic { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: clamp(180px, 20vw, 270px); gap: 16px; }
.photo { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--v-100); border: 0; padding: 0; cursor: zoom-in; display: block; width: 100%; height: 100%; }
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.photo:hover img { transform: scale(1.06); }
.photo figcaption, .photo__cap { position: absolute; inset: auto 0 0 0; padding: 36px 18px 14px; text-align: left; color: #fff; font-weight: 700; font-size: .92rem; background: linear-gradient(to top, rgba(29, 7, 53, .78), transparent); opacity: 0; transform: translateY(8px); transition: opacity .3s, transform .4s var(--ease); }
.photo:hover .photo__cap, .photo:focus-visible .photo__cap { opacity: 1; transform: none; }
.mosaic:not(.mosaic--plain) .photo:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.filters button, .filters a { padding: 10px 20px; border-radius: 999px; border: 2px solid var(--line); background: #fff; font: 700 .95rem var(--font-body); color: var(--ink-2); cursor: pointer; text-decoration: none; transition: background-color .2s, color .2s, border-color .2s; }
.filters button:hover, .filters a:hover { border-color: var(--v-500); }
.filters [aria-pressed="true"], .filters [aria-current="true"] { background: var(--v-700); color: #fff; border-color: var(--v-700); }
.gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.gallery-grid .photo { aspect-ratio: 4 / 3; height: auto; }
.gallery-grid .photo[hidden] { display: none; }
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(29, 7, 53, .94); display: none; place-items: center; padding: 24px; }
.lightbox.open { display: grid; }
.lightbox figure { margin: 0; max-width: min(1100px, 100%); }
.lightbox img { max-height: 76vh; width: auto; max-width: 100%; margin-inline: auto; border-radius: 24px; background: var(--v-100); }
.lightbox figcaption { color: #fff; text-align: center; margin-top: 16px; font-weight: 600; }
.lightbox button { position: absolute; background: #fff; color: var(--v-800); border: 0; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; }
.lightbox .lb-close { top: 20px; right: 20px; } .lightbox .lb-prev { left: 20px; top: 50%; } .lightbox .lb-next { right: 20px; top: 50%; }

/* CTA */
.cta { position: relative; overflow: hidden; background: var(--v-700); color: #fff; border-radius: var(--r-xl); padding: clamp(28px, 5vw, 64px); display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(28px, 4vw, 64px); align-items: center; isolation: isolate; }
.cta::before { content: ""; position: absolute; z-index: -1; width: 520px; height: 520px; border-radius: 50%; border: 60px solid var(--v-600); left: -200px; bottom: -280px; opacity: .6; }
.cta .doodle-burst { position: absolute; z-index: -1; width: 200px; right: -50px; top: -50px; color: var(--sun); stroke-width: 4; }
.cta h2 { margin-bottom: 18px; }
.cta p { color: var(--v-200); max-width: 44ch; }
.cta__contact { display: grid; gap: 10px; margin-top: 26px; }
.cta__contact a { display: inline-flex; gap: 12px; align-items: center; text-decoration: none; font-weight: 700; }
.cta__contact .icon { color: var(--sun); }
.form-card { background: #fff; color: var(--ink); border-radius: var(--r-lg); padding: clamp(22px, 3vw, 34px); display: grid; gap: 16px; box-shadow: var(--shadow-2); }
.form-card h3 { font-size: 1.4rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* page header (inner pages) */
.page-head { padding: 16px 0 8px; }
.page-head > .wrap { position: relative; isolation: isolate; overflow: hidden; background: var(--v-700); color: #fff; border-radius: var(--r-xl); padding: clamp(32px, 5.5vw, 72px) clamp(24px, 5vw, 72px); }
.page-head > .wrap::before { content: ""; position: absolute; z-index: -1; right: -30px; top: 50%; width: min(440px, 60%); aspect-ratio: 480 / 411; transform: translateY(-50%); background: url("../img/logo-mark-white.png") center / contain no-repeat; opacity: .09; }
.page-head .h1 { max-width: 16ch; margin-bottom: 20px; color: #fff; }
.page-head .lede { margin: 0; color: var(--v-200); }
.page-head .doodle-loop { position: absolute; right: 6%; top: 18%; width: 130px; color: var(--sun); }
.page-head .chip--soft { background: rgba(255,255,255,.14); color: #fff; }
.page-head .chip--feat { background: var(--sun); color: var(--v-950); }
.crumbs { display: flex; gap: 8px; align-items: center; color: var(--v-200); font-size: .92rem; font-weight: 600; margin-bottom: 22px; }
.crumbs a { text-decoration: none; color: #fff; }
.footer { position: relative; overflow: hidden; isolation: isolate; }
.footer::before { content: ""; position: absolute; z-index: -1; right: -60px; bottom: -80px; width: 460px; aspect-ratio: 480 / 411; background: url("../img/logo-mark-white.png") center / contain no-repeat; opacity: .06; }
.cta::after { content: ""; position: absolute; z-index: -1; left: 38%; top: -40px; width: 300px; aspect-ratio: 480 / 411; background: url("../img/logo-mark-white.png") center / contain no-repeat; opacity: .07; }
.hero__controls .pause { margin-left: 4px; }
.pause .i-play { display: none; } .pause[aria-pressed="true"] .i-play { display: block; } .pause[aria-pressed="true"] .i-pause { display: none; }
.crumbs a:hover { text-decoration: underline; }

/* about */
.story { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.story__mark { position: sticky; top: 110px; background: #fff; border-radius: var(--r-xl); padding: 34px; display: grid; place-items: center; box-shadow: var(--shadow-1); }
.story__mark img { width: min(320px, 80%); }
.prose p { color: var(--ink-2); }
.prose h3 { margin: 1.4em 0 .5em; color: var(--ink); }
.prose ul { padding-left: 1.2em; color: var(--ink-2); } .prose li { margin-bottom: .4em; }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; position: relative; }
.timeline li { display: grid; grid-template-columns: clamp(110px, 16vw, 200px) 1fr; gap: 24px; background: #fff; border-radius: var(--r-lg); padding: 26px 30px; align-items: center; box-shadow: var(--shadow-1); }
.timeline li:nth-child(even) { background: var(--v-100); box-shadow: none; }
.timeline b { font: 800 clamp(2.6rem, 6vw, 5rem)/.9 var(--font-display); letter-spacing: -.045em; color: var(--v-700); }
.timeline li:last-child { background: var(--v-700); color: #fff; } .timeline li:last-child b { color: var(--sun); } .timeline li:last-child p { color: var(--v-200); }
.timeline h3 { font-size: 1.4rem; margin-bottom: 6px; } .timeline p { margin: 0; color: var(--ink-2); }
.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.value { border-radius: var(--r-lg); padding: 30px; background: var(--v-100); }
.value:nth-child(2) { background: var(--sun); } .value:nth-child(3) { background: var(--v-800); color: #fff; }
.value .icon { width: 34px; height: 34px; margin-bottom: 18px; }
.value h3 { margin-bottom: 8px; font-size: 1.35rem; } .value p { margin: 0; opacity: .85; }

/* wings page */
.wing { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 64px); align-items: center; padding: clamp(28px, 4vw, 56px); border-radius: var(--r-xl); margin-bottom: 24px; scroll-margin-top: 100px; }
.wing:nth-child(even) { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.wing:nth-child(even) .wing__logo { order: 2; }
.wing--lilac { background: var(--v-100); } .wing--sun { background: var(--sun); } .wing--white { background: #fff; box-shadow: var(--shadow-1); } .wing--violet { background: var(--v-700); color: #fff; }
.wing__logo { background: #fff; border-radius: var(--r-lg); min-height: 360px; display: grid; place-items: center; padding: 28px; position: relative; }
.wing--violet .wing__logo { background: var(--v-800); }
.wing__logo img { max-height: 300px; width: auto; }
.wing__year { font: 800 clamp(3.4rem, 7vw, 6rem)/.85 var(--font-display); letter-spacing: -.05em; margin-bottom: 12px; }
.wing--violet .wing__year { color: var(--sun); }
.wing h2 { margin-bottom: 14px; } .wing p { max-width: 54ch; }
.ticks { list-style: none; padding: 0; margin: 20px 0 26px; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; }
.ticks .icon { color: var(--v-700); margin-top: .2em; background: var(--v-100); border-radius: 50%; padding: 3px; width: 1.6em; height: 1.6em; }
.wing--violet .ticks .icon { background: var(--sun); color: var(--v-950); }
.wing--sun .ticks .icon { background: #fff; }
.wing__for { font-size: .9rem; opacity: .8; margin-bottom: 20px; }

/* courses page */
.filter-bar { background: #fff; border-radius: var(--r-lg); padding: 18px; box-shadow: var(--shadow-1); display: grid; grid-template-columns: 2fr 1.2fr 1fr 1fr auto; gap: 12px; align-items: end; margin-bottom: 28px; }
.result-note { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 20px; color: var(--ink-2); font-weight: 600; }
.empty { text-align: center; background: #fff; border-radius: var(--r-xl); padding: clamp(36px, 6vw, 72px); }
.empty .icon { width: 44px; height: 44px; color: var(--v-500); margin-bottom: 16px; }
.empty h2 { margin-bottom: 10px; }

/* course detail */
.course-head { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 32px; }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 30px 0 0; }
.fact { background: #fff; border-radius: var(--r-md); padding: 18px 20px; box-shadow: var(--shadow-1); }
.fact:nth-child(2n) { background: var(--v-100); box-shadow: none; }
.fact dt { display: flex; gap: 8px; align-items: center; color: var(--ink-3); font-weight: 700; font-size: .82rem; margin-bottom: 6px; }
.fact dt .icon { color: var(--v-500); width: 1.1em; height: 1.1em; }
.fact dd { margin: 0; font: 700 1.15rem/1.25 var(--font-display); color: var(--v-900); }
.course-layout { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.panel { background: #fff; border-radius: var(--r-lg); padding: clamp(24px, 3vw, 36px); box-shadow: var(--shadow-1); margin-bottom: 20px; }
.panel h2 { font-size: 1.5rem; margin-bottom: 16px; }
.panel ul { padding-left: 0; list-style: none; display: grid; gap: 10px; margin: 0; }
.panel ul li { display: flex; gap: 12px; align-items: flex-start; }
.panel ul li::before { content: ""; flex: none; width: 10px; height: 10px; margin-top: .55em; border-radius: 3px; background: var(--sun); transform: rotate(45deg); }
.panel p:last-child { margin-bottom: 0; }
.aside-sticky { position: sticky; top: 100px; display: grid; gap: 16px; }
.body-card { display: flex; gap: 14px; align-items: center; padding: 16px 18px; border-radius: var(--r-md); background: var(--v-100); text-decoration: none; }
.body-card .body-pill__logo { background: var(--v-700); color: #fff; width: 52px; height: 52px; }
.body-card b { display: block; font-family: var(--font-display); }
.body-card small { color: var(--ink-3); }
.course-thumb { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16 / 9; margin-bottom: 20px; }
.course-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.info-list { display: grid; gap: 14px; }
.info { display: flex; gap: 16px; align-items: center; background: #fff; border-radius: var(--r-md); padding: 18px 22px; text-decoration: none; box-shadow: var(--shadow-1); transition: transform .4s var(--ease); }
a.info:hover { transform: translateX(6px); }
.info__ic { width: 52px; height: 52px; border-radius: 16px; background: var(--v-700); color: var(--sun); display: grid; place-items: center; flex: none; }
.info small { display: block; color: var(--ink-3); font-weight: 700; }
.info b { font: 700 1.1rem/1.3 var(--font-display); }
.map { margin-top: 20px; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16 / 10; background: var(--v-100); }
.map iframe { width: 100%; height: 100%; border: 0; }
.notfound { text-align: center; padding: clamp(60px, 10vw, 140px) 0; }
.notfound b { display: block; font: 800 clamp(6rem, 22vw, 16rem)/.8 var(--font-display); color: var(--v-700); letter-spacing: -.06em; }

/* footer */
.footer { background: var(--v-950); color: var(--v-200); padding: clamp(48px, 6vw, 88px) 0 28px; margin-top: clamp(40px, 6vw, 80px); border-radius: var(--r-xl) var(--r-xl) 0 0; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.4fr; gap: 40px; }
.footer__brand img { width: 150px; height: auto; margin-bottom: 18px; }
.footer__brand p { max-width: 34ch; color: var(--v-300); }
.footer h2 { font: 700 1rem var(--font-display); color: #fff; margin-bottom: 16px; letter-spacing: 0; }
.footer__col { display: grid; gap: 10px; align-content: start; }
.footer__col a, .footer__line { display: flex; gap: 10px; align-items: flex-start; text-decoration: none; color: var(--v-200); }
.footer__col a:hover { color: var(--sun); }
.footer__col .icon { color: var(--sun); margin-top: .2em; width: 1.1em; height: 1.1em; }
.footer small { color: var(--v-500); font-weight: 700; }
.social { display: flex; gap: 10px; margin-top: 8px; }
.social a { width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.1); display: grid; place-items: center; }
.social a:hover { background: var(--sun); color: var(--v-950); }
.social .icon { margin: 0; color: inherit; }
.footer__legal { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .9rem; color: var(--v-300); }
.footer__legal a { color: var(--v-300); }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
	.brand__text i { display: none; }
	.nav > a:not(.btn) { padding: 10px 12px; }
	.course-grid, .t-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.filter-bar { grid-template-columns: 1fr 1fr; }
	.filter-bar .field:first-child { grid-column: 1 / -1; }
	.footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 880px) {
	.burger { display: grid; }
	.nav { position: fixed; inset: 82px 16px auto 16px; background: #fff; border-radius: var(--r-lg); padding: 14px; flex-direction: column; align-items: stretch; box-shadow: var(--shadow-2); transform-origin: top right; transform: scale(.94) translateY(-10px); opacity: 0; visibility: hidden; transition: opacity .25s, transform .4s var(--ease), visibility 0s .3s; }
	.nav.open { opacity: 1; visibility: visible; transform: none; transition: opacity .25s, transform .4s var(--ease); }
	.nav > a:not(.btn) { padding: 14px 18px; font-size: 1.1rem; }
	.nav__cta { margin: 8px 0 0; justify-content: space-between; }
	.slide { grid-template-columns: 1fr; gap: 12px; }
	.slide__art { aspect-ratio: 4 / 3.2; margin: 6px 14px 22px 0; }
	.slide__copy { padding-block: 8px; }
	.hero__cards, .sec-head, .why, .cta, .story, .wing, .wing:nth-child(even), .course-head, .course-layout, .contact-grid { grid-template-columns: 1fr; }
	.wing:nth-child(even) .wing__logo { order: 0; }
	.sec-head { gap: 16px; }
	.tile--5, .tile--7 { grid-column: 1 / -1; }
	.tile { min-height: 300px; }
	.why__panel { aspect-ratio: 1 / .8; }
	.story__mark, .aside-sticky { position: static; }
	.values { grid-template-columns: 1fr; }
	.mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 170px; }
	.mosaic:not(.mosaic--plain) .photo:nth-child(1) { grid-column: auto; grid-row: auto; }
	.gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.page-head .doodle-loop { display: none; }
}
@media (max-width: 600px) {
	body.site { font-size: 1rem; }
	.brand__text i { display: none; }
	.why__art { margin-right: 14px; }
	.why__art .why__stat { right: -14px; width: 52%; }
	.course-grid, .t-grid { grid-template-columns: 1fr; }
	.finder__row, .form-row, .filter-bar { grid-template-columns: 1fr; }
	.timeline li { grid-template-columns: 1fr; gap: 8px; }
	.footer__grid { grid-template-columns: 1fr; }
	.facts { grid-template-columns: 1fr 1fr; }
	.gallery-grid { grid-template-columns: 1fr; }
	.actions .btn { flex: 1 1 100%; justify-content: space-between; }
	.hero__controls { justify-content: space-between; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
	.js .rv, .js .slide .reveal-line { opacity: 1; transform: none; }
}

/* ---------- loading state for buttons ---------- */
@keyframes spin { to { transform: rotate(360deg); } }
.btn.is-loading { position: relative; color: transparent !important; pointer-events: none; cursor: progress; --spin: #fff; }
.btn.is-loading > * { opacity: 0; }
.btn.is-loading::after { content: ""; position: absolute; inset: 0; margin: auto; width: 24px; height: 24px; border-radius: 50%; border: 3px solid var(--spin); border-right-color: transparent; animation: spin .7s linear infinite; }
.btn--ghost.is-loading { --spin: var(--v-700); background: var(--v-50); }
.btn--sun.is-loading { --spin: var(--v-950); }
.btn--light.is-loading { --spin: var(--v-800); }
.btn--sm.is-loading::after { width: 20px; height: 20px; border-width: 2.5px; }
@media (prefers-reduced-motion: reduce) { .btn.is-loading::after { animation-duration: 1.4s !important; animation-iteration-count: infinite !important; } }
