:root {
  --ink: #12383c;
  --deep: #073f46;
  --cream: #f7f2e7;
  --paper: #fffdf7;
  --coral: #ec704d;
  --yellow: #f6c95d;
  --mint: #a8d8cc;
  --blue: #91bccc;
  --muted: #64787a;
  --line: rgba(11, 64, 69, .16);
  --shadow: 0 24px 60px rgba(16, 57, 61, .13);
  --radius: 28px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--cream); font-family: "DM Sans", system-ui, sans-serif; line-height: 1.55; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.skip-link { position: fixed; left: 1rem; top: -4rem; z-index: 100; background: white; padding: .7rem 1rem; border-radius: 10px; }
.skip-link:focus { top: 1rem; }

.site-header { position: sticky; top: 0; z-index: 40; background: rgba(247,242,231,.88); backdrop-filter: blur(16px); border-bottom: 1px solid rgba(8,62,70,.08); }
.nav-shell { max-width: 1240px; margin: auto; min-height: 78px; padding: 0 28px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: .68rem; }
.brand-mark { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50% 50% 50% 12px; background: var(--deep); color: var(--yellow); font: 800 1.55rem "Plus Jakarta Sans"; transform: rotate(-4deg); }
.brand-logo { width: 44px; height: 48px; border-radius: 10px; object-fit: cover; mix-blend-mode: multiply; }
.brand > span:last-child { display: grid; line-height: 1; }
.brand b { font: 800 1.3rem "Plus Jakarta Sans"; letter-spacing: -.04em; }
.brand small { margin-top: .25rem; font-size: .57rem; font-weight: 700; letter-spacing: .15em; }
nav { display: flex; align-items: center; gap: 1.7rem; font-size: .9rem; font-weight: 700; }
nav a:not(.nav-cta) { position: relative; }
nav a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -5px; height: 2px; background: var(--coral); transition: .25s; }
nav a:not(.nav-cta):hover::after { right: 0; }
.nav-cta { padding: .72rem 1.1rem; color: white; background: var(--deep); border-radius: 999px; }
.language-toggle { display: flex; gap: 0; border: 1px solid var(--line); padding: 3px; border-radius: 999px; background: transparent; color: var(--ink); cursor: pointer; }
.language-toggle span { padding: .25rem .45rem; border-radius: 999px; font-size: .7rem; }
.language-toggle .active { color: white; background: var(--coral); }
.menu-toggle { display: none; border: 0; background: none; padding: 8px; cursor: pointer; }
.menu-toggle span:not(.sr-only) { display: block; width: 24px; height: 2px; margin: 5px; background: var(--deep); }

.hero { max-width: 1240px; min-height: 720px; margin: auto; padding: 72px 28px 90px; display: grid; grid-template-columns: .95fr 1.05fr; align-items: center; gap: 5vw; overflow: hidden; }
.eyebrow, .kicker { display: flex; align-items: center; gap: .65rem; text-transform: uppercase; letter-spacing: .14em; font-size: .74rem; font-weight: 800; }
.eyebrow > span:first-child { width: 36px; height: 3px; background: var(--coral); }
h1, h2, h3 { margin: 0; font-family: "Plus Jakarta Sans", sans-serif; line-height: 1.08; letter-spacing: -.045em; }
h1 { margin-top: 1.25rem; font-size: clamp(3.6rem, 6.2vw, 6.3rem); }
h1 em { color: var(--coral); font-style: normal; }
.hero-copy > p { max-width: 600px; margin: 1.55rem 0; color: var(--muted); font-size: 1.08rem; }
.hero-actions { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.button { display: inline-flex; justify-content: center; align-items: center; border: 0; border-radius: 999px; padding: .92rem 1.25rem; font-weight: 800; cursor: pointer; transition: transform .2s, box-shadow .2s; }
.button:hover { transform: translateY(-2px); }
.button.primary { color: white; background: var(--deep); box-shadow: 0 10px 24px rgba(6,61,67,.2); }
.outline-button { color: var(--deep); background: transparent; border: 1px solid rgba(7,63,70,.3); }
.text-button { gap: 1rem; padding-inline: .3rem; }
.trust-row { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); display: flex; gap: 2rem; }
.trust-row div { display: grid; }
.trust-row strong { font: 800 1.35rem "Plus Jakarta Sans"; }
.trust-row span { color: var(--muted); font-size: .76rem; }
.hero-visual { position: relative; min-height: 610px; }
.sun-shape { position: absolute; width: 540px; height: 540px; right: -80px; top: 20px; border-radius: 50%; background: var(--yellow); }
.hero-photo { position: absolute; width: min(82%, 480px); top: 30px; left: 8%; overflow: hidden; background: var(--mint); border: 12px solid var(--paper); border-radius: 46% 46% 18px 18px; box-shadow: var(--shadow); transform: rotate(2deg); }
.hero-photo svg { width: 100%; height: auto; }
.placeholder-tag { position: absolute; bottom: 18px; left: 18px; padding: .55rem .75rem; color: white; background: rgba(7,63,70,.8); border-radius: 10px; font-size: .7rem; font-weight: 700; backdrop-filter: blur(8px); }
.floating-note { position: absolute; z-index: 3; right: 0; top: 110px; padding: 1rem 1.25rem; background: var(--paper); border-radius: 15px; box-shadow: var(--shadow); transform: rotate(6deg); }
.floating-note b, .floating-note span { display: block; }
.floating-note b { color: var(--coral); font: 800 1.1rem "Plus Jakarta Sans"; }
.floating-note span { font-size: .73rem; }
.cambridge-pill { position: absolute; z-index: 3; left: 0; bottom: 55px; width: 125px; height: 125px; display: grid; place-content: center; text-align: center; color: white; background: var(--deep); border-radius: 50%; box-shadow: var(--shadow); transform: rotate(-8deg); font-size: .8rem; letter-spacing: .08em; }
.cambridge-pill b { color: var(--yellow); font-size: 1.4rem; }

.section { padding: 105px max(28px, calc((100vw - 1184px) / 2)); }
.programs { background: var(--paper); }
.section-heading { margin-bottom: 2.5rem; }
.split-heading { display: grid; grid-template-columns: 1.35fr .65fr; gap: 8vw; align-items: end; }
.kicker { margin-bottom: .85rem; color: var(--coral); }
.kicker.light { color: var(--yellow); }
h2 { font-size: clamp(2.6rem, 4vw, 4.5rem); }
.split-heading > p { color: var(--muted); max-width: 440px; }
.filter-bar { display: flex; gap: .55rem; margin-bottom: 1.7rem; overflow-x: auto; scrollbar-width: none; }
.filter-bar::-webkit-scrollbar { display: none; }
.filter-chip, .gallery-filter, .small-button { flex: 0 0 auto; padding: .66rem 1rem; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); background: transparent; font-weight: 700; cursor: pointer; }
.filter-chip.active, .gallery-filter.active { color: white; border-color: var(--deep); background: var(--deep); }
.program-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.program-card { min-height: 405px; padding: 1.5rem; display: flex; flex-direction: column; border-radius: 20px; transition: transform .25s, opacity .25s; }
.program-card:hover { transform: translateY(-5px); }
.program-card.hidden { display: none; }
.program-card.coral { background: #f5a28b; }
.program-card.mint { background: var(--mint); }
.program-card.yellow { background: var(--yellow); }
.program-card.blue { background: var(--blue); }
.program-card.online { grid-column: 1 / -1; background: #d5e8ef; min-height: 0; }
.program-card.online .card-label { margin-top: 1.5rem; }
.program-card.online h3 { min-height: 0; }
.program-card.online > p:not(.card-label) { font-size: 1rem; max-width: 80ch; }
.program-card.online .tag-row { margin-top: 1.5rem; flex-wrap: wrap; }
.program-card.online .tag-row span { font-size: .875rem; }
.card-top { display: flex; justify-content: space-between; align-items: center; color: rgba(7,63,70,.65); font-weight: 800; }
.card-icon { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid rgba(7,63,70,.3); border-radius: 50%; font-size: 1.2rem; }
.card-label { margin: 3rem 0 .65rem; font-size: .66rem; letter-spacing: .12em; font-weight: 800; }
.program-card h3 { min-height: 65px; font-size: 1.45rem; }
.program-card > p:not(.card-label) { margin-top: 1rem; font-size: .88rem; }
.tag-row { display: flex; gap: .4rem; margin-top: auto; }
.tag-row span { padding: .35rem .55rem; border: 1px solid rgba(7,63,70,.25); border-radius: 999px; font-size: .67rem; font-weight: 700; }
.card-link { display: flex; justify-content: space-between; width: 100%; margin-top: 1.2rem; padding: .8rem 0 0; border: 0; border-top: 1px solid rgba(7,63,70,.2); color: var(--ink); background: transparent; font-weight: 800; text-align: left; cursor: pointer; }

.director-section { color: white; background: var(--deep); }
.director-layout { display: grid; grid-template-columns: minmax(280px, .72fr) minmax(0, 1.28fr); gap: clamp(2.5rem, 7vw, 7rem); align-items: center; }
.director-identity { position: relative; }
.director-brand-panel { position: relative; min-height: 510px; display: grid; place-items: center; overflow: hidden; border: 10px solid rgba(255,255,255,.9); border-radius: 48% 48% 22px 22px; background: var(--mint); box-shadow: 0 28px 70px rgba(0,0,0,.23); }
.director-brand-panel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 12%; }
.director-nameplate { position: relative; z-index: 3; width: calc(100% - 36px); margin: -48px auto 0; padding: 1.25rem 1.4rem; color: var(--ink); background: var(--paper); border-radius: 16px; box-shadow: var(--shadow); }
.director-nameplate > span { color: var(--coral); font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .09em; }
.director-nameplate h3 { margin-top: .25rem; font-size: 1.65rem; }
.director-nameplate p { margin: .2rem 0 0; color: var(--muted); font-size: .76rem; font-weight: 700; }
.director-story .kicker { color: var(--yellow); }
.director-story h2 { max-width: 820px; font-size: clamp(2.4rem, 4.4vw, 4.7rem); }
.director-greeting { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 2rem; }
.director-greeting p { margin: 0; color: rgba(255,255,255,.76); }
.director-highlights { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 2.3rem; border-block: 1px solid rgba(255,255,255,.16); }
.director-highlights article { min-height: 130px; padding: 1.25rem; display: flex; flex-direction: column; justify-content: center; border-right: 1px solid rgba(255,255,255,.16); }
.director-highlights article:first-child { padding-left: 0; }
.director-highlights article:last-child { border-right: 0; }
.director-highlights strong { color: var(--yellow); font: 800 1.45rem "Plus Jakarta Sans", sans-serif; }
.director-highlights span { margin-top: .3rem; color: rgba(255,255,255,.64); font-size: .72rem; }
.corporate-experience { display: grid; grid-template-columns: 1fr .82fr; gap: 1rem; margin-top: 1.8rem; }
.corporate-experience > div { padding: 1.25rem; border: 1px solid rgba(255,255,255,.15); border-radius: 16px; background: rgba(255,255,255,.055); }
.corporate-label { color: var(--mint); font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.corporate-experience p { margin: .55rem 0 0; color: rgba(255,255,255,.74); font-size: .86rem; }
.weekend-profile { display: flex; flex-direction: column; justify-content: center; }
.weekend-profile b { color: var(--yellow); font-size: .92rem; }
.weekend-profile span { margin-top: .55rem; color: rgba(255,255,255,.7); font-size: .75rem; }
.director-signoff { display: flex; justify-content: space-between; gap: 1rem; margin: 1.6rem 0 0; color: rgba(255,255,255,.72); font-size: .84rem; font-style: italic; }
.director-signoff b { color: white; white-space: nowrap; }

.tuition-section { background: var(--cream); }
.tuition-heading { align-items: end; }
.tuition-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; }
.tuition-card { grid-column: span 2; min-height: 320px; padding: 1.6rem; display: flex; flex-direction: column; border: 1px solid rgba(7,63,70,.12); border-radius: 22px; box-shadow: 0 14px 35px rgba(16,57,61,.08); }
.tuition-card:nth-child(4), .tuition-card:nth-child(5) { grid-column: span 3; }
.preschool-card { background: #f5a28b; }
.phonics-card { background: var(--yellow); }
.elementary-card { background: var(--mint); }
.middle-card { background: var(--blue); }
.high-card { background: #d9c1e8; }
.tuition-card-top { display: flex; justify-content: space-between; gap: 1rem; color: rgba(7,63,70,.68); font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.tuition-card h3 { margin-top: 2.5rem; font-size: 1.45rem; }
.tuition-price { display: flex; align-items: baseline; gap: .45rem; margin: auto 0 1.2rem; }
.tuition-price strong { font: 800 2rem "Plus Jakarta Sans", sans-serif; letter-spacing: -.04em; }
.tuition-price span { color: var(--muted); font-size: .72rem; font-weight: 700; }
.preschool-prices { display: grid; gap: .55rem; margin: 2rem 0 1.1rem; }
.preschool-prices p { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin: 0; padding: .7rem 0; border-bottom: 1px solid rgba(7,63,70,.16); }
.preschool-prices span { font-size: .75rem; font-weight: 700; }
.preschool-prices strong { font: 800 1.25rem "Plus Jakarta Sans", sans-serif; white-space: nowrap; }
.tuition-meta { display: flex; gap: .4rem; flex-wrap: wrap; margin-top: auto; }
.tuition-meta span { padding: .38rem .58rem; border: 1px solid rgba(7,63,70,.2); border-radius: 999px; font-size: .68rem; font-weight: 800; }

.schedule-section { background: var(--paper); padding-top: 0; }
.schedule-panel { display: grid; grid-template-columns: .72fr 1.28fr; min-height: 600px; overflow: hidden; border-radius: var(--radius); background: var(--deep); box-shadow: var(--shadow); }
.schedule-intro { padding: 3.2rem; color: white; background-image: radial-gradient(circle at 20% 90%, rgba(246,201,93,.2), transparent 35%); }
.schedule-intro p { margin: 1.3rem 0 2.5rem; color: rgba(255,255,255,.68); }
.schedule-controls { display: grid; gap: 1rem; }
label { display: grid; gap: .38rem; font-size: .76rem; font-weight: 800; }
select, input, textarea { width: 100%; padding: .85rem 1rem; border: 1px solid var(--line); border-radius: 11px; color: var(--ink); background: white; outline: none; }
select:focus, input:focus, textarea:focus { border-color: var(--coral); box-shadow: 0 0 0 3px rgba(236,112,77,.15); }
.schedule-intro select { color: white; border-color: rgba(255,255,255,.22); background: rgba(255,255,255,.1); }
.schedule-intro option { color: var(--ink); }
.schedule-results { padding: 2.2rem; background: #edf2ec; }
.result-summary { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; font-weight: 800; }
.result-summary button { border: 0; color: var(--coral); background: none; font-size: .75rem; font-weight: 800; cursor: pointer; }
.schedule-list { display: grid; gap: .65rem; }
.schedule-item { display: grid; grid-template-columns: 78px 1fr auto; gap: 1rem; align-items: center; padding: 1rem; background: white; border-radius: 14px; }
.day-badge { display: grid; place-items: center; align-self: stretch; color: var(--deep); background: var(--cream); border-radius: 10px; font-weight: 800; }
.schedule-item h3 { margin-bottom: .22rem; font-size: 1rem; letter-spacing: -.02em; }
.schedule-item p { margin: 0; color: var(--muted); font-size: .75rem; }
.time-badge { padding: .45rem .65rem; color: white; background: var(--coral); border-radius: 999px; font-size: .68rem; font-weight: 800; white-space: nowrap; }
.empty-state { padding: 3rem; text-align: center; color: var(--muted); background: white; border-radius: 14px; }
.schedule-note { margin: 1rem 0 0; color: var(--muted); font-size: .68rem; text-align: center; }

.gallery-contact { background: var(--cream); }
.gallery-heading { align-items: center; }
.gallery-actions { display: flex; align-items: center; justify-content: flex-end; gap: .6rem; flex-wrap: wrap; }
.filter-bar.compact { margin: 0; }
.gallery-filter { padding: .5rem .75rem; font-size: .72rem; }
.gallery-grid { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 130px; gap: 1rem; margin-bottom: 6rem; }
.gallery-card { position: relative; grid-column: span 4; grid-row: span 2; overflow: hidden; border-radius: 18px; background: var(--mint); }
.gallery-card:nth-child(1), .gallery-card:nth-child(5) { grid-column: span 7; }
.gallery-card:nth-child(2), .gallery-card:nth-child(6) { grid-column: span 5; }
.gallery-card img, .gallery-card svg { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery-image-link { display: block; width: 100%; height: 100%; }
.gallery-image-link { padding: 0; border: 0; background: transparent; cursor: pointer; }
.gallery-caption { pointer-events: none; }
.gallery-image-link:focus-visible { outline: 4px solid var(--yellow); outline-offset: -4px; }
.gallery-viewer { width: min(1000px, 94vw); max-height: 94dvh; padding: 1rem; border: 0; border-radius: 16px; color: var(--ink); background: var(--paper); }
.gallery-viewer::backdrop { background: rgba(0,0,0,.8); }
.gallery-viewer-header, .gallery-viewer-controls { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.gallery-viewer-controls { flex-wrap: wrap; gap: .5rem; }
.gallery-viewer-header h3 { font-size: 1.2rem; }
.gallery-viewer button { padding: .75rem 1rem; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; background: white; color: var(--ink); }
.gallery-viewer button:disabled { opacity: .4; cursor: default; }
#gallery-viewer-image { display: block; width: 100%; height: min(68dvh, 700px); object-fit: contain; margin: 1rem 0; }
#gallery-event-videos video { width: min(100%, 440px); max-height: 50dvh; margin: .5rem; background: #061e23; }
.gallery-card:hover img, .gallery-card:hover svg { transform: scale(1.03); }
.gallery-caption { position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; align-items: end; justify-content: space-between; padding: .7rem .8rem; color: white; background: rgba(7,63,70,.82); border-radius: 10px; backdrop-filter: blur(8px); }
.gallery-caption b, .gallery-caption span { display: block; }
.gallery-caption b { font-size: .82rem; }
.gallery-caption span { font-size: .62rem; opacity: .72; text-transform: uppercase; }
.demo-panel { display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; color: white; background: var(--deep); border-radius: var(--radius); box-shadow: var(--shadow); }
.demo-copy { padding: 4rem; background-image: radial-gradient(circle at 0 100%, rgba(236,112,77,.35), transparent 42%); }
.demo-copy > p { max-width: 460px; color: rgba(255,255,255,.7); }
.director-note { display: flex; align-items: center; gap: .7rem; margin-top: 2rem; }
.director-note > span { width: 44px; height: 44px; display: grid; place-items: center; color: var(--deep); background: var(--yellow); border-radius: 50%; font-weight: 800; }
.director-note p { display: grid; margin: 0; }
.director-note small { color: rgba(255,255,255,.6); }
.demo-form { display: grid; gap: 1rem; padding: 3rem; color: var(--ink); background: white; }
.coral-button { margin-top: .4rem; background: var(--coral) !important; }
.form-note { margin: 0; color: var(--muted); font-size: .67rem; text-align: center; }

.contact-section { color: var(--ink); background: var(--paper); }
.contact-heading { align-items: end; }
.academy-signage { width: 100%; height: auto; max-height: none; margin-bottom: 1.25rem; object-fit: contain; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); }
.mobile-academy-title { display: none; }
.contact-layout { display: grid; grid-template-columns: 1.18fr .9fr .72fr; gap: 1rem; align-items: start; }
.contact-card, .channels-card, .flyer-card { margin: 0; border: 1px solid var(--line); border-radius: 22px; background: var(--cream); box-shadow: 0 16px 38px rgba(16,57,61,.08); }
.contact-card, .channels-card { padding: 2rem; }
.contact-label { display: inline-flex; margin-bottom: .7rem; padding: .4rem .65rem; color: white; background: var(--deep); border-radius: 999px; font-size: .74rem; font-weight: 800; }
.contact-card h3, .channels-card h3 { font-size: 1.7rem; }
.registration-number { margin: .65rem 0 0; color: var(--coral); font-size: .76rem; font-weight: 800; }
.business-registration { margin: .35rem 0 0; color: var(--muted); font-size: .72rem; font-weight: 700; line-height: 1.65; }
.contact-card address { display: grid; gap: .18rem; margin: 1rem 0 1.4rem; color: var(--muted); font-style: normal; }
.contact-card address small { font-size: .75rem; }
.contact-list { margin: 0; border-top: 1px solid var(--line); }
.contact-list > div { display: grid; grid-template-columns: minmax(118px, .85fr) 1.15fr; gap: 1rem; padding: .82rem 0; border-bottom: 1px solid var(--line); }
.contact-list dt { color: var(--muted); font-size: .72rem; font-weight: 800; }
.contact-list dd { display: grid; gap: .12rem; margin: 0; font-size: .88rem; font-weight: 800; overflow-wrap: anywhere; }
.contact-list dd small { color: var(--muted); font-size: .7rem; font-weight: 600; }
.contact-list a:hover { color: var(--coral); }
.contact-actions { display: flex; gap: .55rem; margin-top: 1.3rem; flex-wrap: wrap; }
.contact-actions .button { padding: .75rem .9rem; font-size: .76rem; }
.email-button { color: var(--coral); }
.kakao-note { margin: 1rem 0 0; color: var(--muted); font-size: .72rem; }
.channels-card { background: #edf6f3; }
.channels-card .kicker { margin-bottom: .55rem; }
.channels-card > h3 { margin-bottom: 1.3rem; }
.qr-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
.qr-card { display: grid; gap: .2rem; padding: .65rem; border: 1px solid var(--line); border-radius: 16px; background: white; text-align: center; transition: transform .2s, box-shadow .2s; }
.qr-card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(16,57,61,.1); }
.qr-card img { width: 100%; aspect-ratio: 1; object-fit: contain; }
.qr-card b { font-size: .78rem; }
.qr-card span { color: var(--coral); font-size: .66rem; font-weight: 800; }
.instagram-link { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1rem; padding: .85rem 1rem; color: white; background: var(--deep); border-radius: 14px; font-size: .75rem; }
.flyer-card { overflow: hidden; background: white; }
.flyer-card img { width: 100%; height: auto; transition: transform .25s; }
.flyer-card a:hover img { transform: scale(1.015); }
.flyer-card figcaption { display: grid; gap: .15rem; padding: 1rem; }
.flyer-card figcaption b { font-size: .82rem; }
.flyer-card figcaption span { color: var(--muted); font-size: .68rem; }

footer { max-width: 1240px; min-height: 170px; margin: auto; padding: 2rem 28px; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 2rem; align-items: center; font-size: .75rem; }
footer > p:last-child { text-align: right; }
.placeholder-text { color: var(--coral); }
.dialog { width: min(92vw, 540px); border: 0; border-radius: 20px; padding: 2rem; color: var(--ink); background: var(--paper); box-shadow: var(--shadow); }
.dialog::backdrop { background: rgba(2,37,42,.72); backdrop-filter: blur(5px); }
.dialog h2 { margin-bottom: 1.2rem; font-size: 2rem; }
.dialog-close { position: absolute; right: 1rem; top: 1rem; width: 34px; height: 34px; border: 0; border-radius: 50%; background: var(--cream); font-size: 1.25rem; cursor: pointer; }
.dialog textarea { margin-bottom: 1rem; resize: vertical; }
.dialog-note { color: var(--muted); font-size: .73rem; }
.dialog-actions { display: flex; gap: .55rem; flex-wrap: wrap; }
.dialog-actions .button { flex: 1 1 145px; padding: .78rem 1rem; font-size: .78rem; }
.small-button { padding: .55rem .7rem; font-size: .7rem; }
.small-button.danger { color: #a4382a; border-color: rgba(164,56,42,.3); }
.file-button input { display: none; }
.toast { position: fixed; z-index: 80; left: 50%; bottom: 24px; padding: .75rem 1rem; color: white; background: var(--deep); border-radius: 999px; box-shadow: var(--shadow); transform: translate(-50%, 120px); transition: .3s; font-size: .78rem; font-weight: 700; }
.toast.show { transform: translate(-50%, 0); }

@media (max-width: 980px) {
  .menu-toggle { display: block; }
  nav { position: absolute; left: 18px; right: 18px; top: 70px; display: none; padding: 1.1rem; flex-direction: column; align-items: stretch; gap: .2rem; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); }
  nav.open { display: flex; }
  nav a, nav button { padding: .8rem; text-align: center; }
  .language-toggle { justify-content: center; align-self: center; padding: 3px; }
  .nav-cta { margin-top: .4rem; }
  .hero { grid-template-columns: 1fr; padding-top: 55px; }
  .hero-copy { max-width: 720px; }
  .hero-visual { max-width: 660px; width: 100%; margin: auto; }
  .program-grid { grid-template-columns: 1fr 1fr; }
  .director-layout { grid-template-columns: 1fr; }
  .director-identity { width: min(100%, 520px); margin: auto; }
  .director-brand-panel { min-height: 470px; }
  .tuition-grid { grid-template-columns: 1fr 1fr; }
  .tuition-card, .tuition-card:nth-child(4), .tuition-card:nth-child(5) { grid-column: auto; }
  .schedule-panel { grid-template-columns: 1fr; }
  .schedule-controls { grid-template-columns: 1fr 1fr; }
  .contact-layout { grid-template-columns: 1fr 1fr; }
  .contact-card { grid-column: 1 / -1; }
}

@media (max-width: 700px) {
  .nav-shell { min-height: 68px; padding: 0 18px; }
  .brand-mark { width: 38px; height: 38px; }
  .brand-logo { width: 40px; height: 44px; }
  .hero { min-height: 0; padding: 50px 20px 70px; }
  h1 { font-size: clamp(3rem, 14vw, 4.7rem); }
  .hero-copy > p { font-size: .98rem; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .text-button { justify-content: center; }
  .trust-row { justify-content: space-between; gap: .5rem; }
  .trust-row span { max-width: 75px; }
  .hero-visual { min-height: 510px; }
  .sun-shape { width: 430px; height: 430px; right: -120px; }
  .hero-photo { width: 86%; left: 5%; }
  .floating-note { right: -8px; top: 80px; }
  .cambridge-pill { width: 105px; height: 105px; left: -5px; bottom: 15px; }
  .section { padding: 75px 20px; }
  .split-heading { grid-template-columns: 1fr; gap: 1rem; }
  .program-grid { grid-template-columns: 1fr; }
  .program-card { min-height: 360px; }
  .director-layout { gap: 4.5rem; }
  .director-brand-panel { min-height: 410px; }
  .director-greeting, .corporate-experience { grid-template-columns: 1fr; }
  .director-highlights { grid-template-columns: 1fr; }
  .director-highlights article, .director-highlights article:first-child { min-height: 0; padding: 1rem 0; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.16); }
  .director-highlights article:last-child { border-bottom: 0; }
  .director-signoff { flex-direction: column; }
  .tuition-grid { grid-template-columns: 1fr; }
  .tuition-card { min-height: 285px; }
  .schedule-section { padding-top: 0; }
  .schedule-intro, .schedule-results { padding: 2rem 1.2rem; }
  .schedule-controls { grid-template-columns: 1fr; }
  .schedule-item { grid-template-columns: 62px 1fr; }
  .time-badge { grid-column: 2; justify-self: start; }
  .gallery-heading { gap: 1.4rem; }
  .gallery-actions { justify-content: flex-start; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 120px; }
  .gallery-card, .gallery-card:nth-child(n) { grid-column: span 1; grid-row: span 2; }
  .gallery-card:nth-child(1), .gallery-card:nth-child(4) { grid-column: span 2; }
  .demo-panel { grid-template-columns: 1fr; }
  .demo-copy, .demo-form { padding: 2rem 1.3rem; }
  .academy-signage { display: none; }
  .mobile-academy-title { display: flex; min-height: 92px; margin-bottom: 1.25rem; padding: 1rem; align-items: center; justify-content: center; color: #e32020; background: linear-gradient(180deg, #dff6f6 0%, #fff 70%); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); font: 800 clamp(1.7rem, 9vw, 2.45rem) "Plus Jakarta Sans", "DM Sans", sans-serif; letter-spacing: -.055em; text-align: center; white-space: nowrap; }
  .contact-layout { grid-template-columns: 1fr; }
  .contact-card { grid-column: auto; padding: 1.35rem; }
  .channels-card { padding: 1.35rem; }
  .contact-list > div { grid-template-columns: 1fr; gap: .2rem; }
  .contact-actions { align-items: stretch; flex-direction: column; }
  .contact-actions .button { width: 100%; }
  footer { grid-template-columns: 1fr; text-align: center; }
  .footer-brand { justify-self: center; }
  footer > p:last-child { text-align: center; }
}

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

/* Homepage photo introduction */
.hero-story-stage { position: relative; width: 100%; height: 580px; overflow: hidden; border-radius: 28px; background: var(--deep); box-shadow: var(--shadow); isolation: isolate; }
.hero-story-slide { position: absolute; inset: 0; opacity: 0; transform: translateX(3%) scale(1.03); transition: opacity 1s ease, transform 4s ease; }
.hero-story-slide.is-active { opacity: 1; transform: translateX(0) scale(1); }
.hero-story-slide img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-story-slide:first-child img { object-position: center 25%; }
.hero-story-shade { position: absolute; inset: 0; background: linear-gradient(transparent 35%, rgba(2,27,32,.25) 55%, rgba(2,27,32,.94)); pointer-events: none; }
.hero-story-brand { position: absolute; left: 30px; right: 30px; bottom: 92px; color: white; display: grid; gap: 6px; pointer-events: none; }
.hero-brand-name { font: 800 clamp(3rem,6vw,5rem)/1 'Plus Jakarta Sans',sans-serif; letter-spacing: -.05em; }
.hero-brand-sub { font-size: 1rem; font-weight: 700; letter-spacing: .15em; }
.hero-brand-ko { font-size: 1rem; }
.hero-story-brand > span { animation: hero-name-in .85s ease both; }
.hero-story-brand > span:nth-child(2) { animation-delay: .25s; }
.hero-story-brand > span:nth-child(3) { animation-delay: .4s; }
.hero-story-controls { position: absolute; bottom: 22px; left: 24px; right: 24px; display: flex; align-items: center; gap: 12px; color: white; }
.hero-story-controls button { border: 1px solid rgba(255,255,255,.55); background: rgba(2,27,32,.65); color: white; min-height: 44px; min-width: 44px; border-radius: 24px; padding: 8px 16px; font: inherit; cursor: pointer; }
.hero-story-controls button:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
#hero-position { margin-right: auto; font-size: 14px; }
.hero-copy h1 { animation: hero-name-in .8s ease both; }
@keyframes hero-name-in { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 700px) { .hero-story { min-height: 490px; } .hero-story-stage { height: 480px; } .hero-story-brand { left: 24px; } .hero-brand-sub { font-size: 14px; letter-spacing: .1em; } .hero-story-controls { gap: 8px; left: 16px; right: 16px; } }
@media (prefers-reduced-motion: reduce) { .hero-story-slide { transition: none; transform: none; } .hero-story-brand > span, .hero-copy h1 { animation: none; } }

.class-details { width: min(760px, calc(100vw - 32px)); max-height: 88dvh; overflow-y: auto; border: 0; border-radius: 24px; padding: 40px; color: var(--ink, #123d40); background: #fffaf4; box-shadow: 0 24px 90px #0005; }
.class-details::backdrop { background: #092e35bb; }
.class-details h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); margin: 12px 32px 24px 0; }
.class-details section { border-top: 1px solid #123d4025; padding: 20px 0 8px; }
.class-details h3 { font-size: 1.15rem; margin: 0 0 10px; }
.class-details p { line-height: 1.75; }
.class-details .class-demo { margin-top: 18px; }
.class-details .dialog-close { position: sticky; float: right; top: 0; }
@media (max-width: 600px) { .class-details { padding: 24px; } }
.hero-story-slide.hero-intro-photo { background: #123b40; }
.hero-story-slide.hero-intro-photo img { object-fit: contain; object-position: center; }

.social-shortcuts { position: fixed; z-index: 45; right: 12px; top: 112px; display: flex; flex-direction: column; gap: 8px; }
.social-shortcut { display: flex; align-items: center; gap: 9px; padding: 6px 10px 6px 6px; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 4px 16px #12383c18; font-size: 12px; font-weight: 700; }
.social-symbol { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; color: white; font-size: 25px; font-weight: 900; line-height: 1; }
.social-symbol svg { width: 25px; height: 25px; }
.social-instagram .social-symbol { background: linear-gradient(35deg,#f8c35b,#e54670,#813bbc); }
.social-band .social-symbol { background: #20c45a; }
.social-naver .social-symbol { background: #03c75a; }
.social-shortcut:hover { transform: translateY(-2px); }
.social-shortcut:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; }
@media (max-width: 1500px) { .social-name { position: absolute; right: 52px; background: var(--paper); padding: 5px 10px; border-radius: 8px; white-space: nowrap; opacity: 0; pointer-events: none; } .social-shortcut { padding: 5px; } .social-shortcut:hover .social-name, .social-shortcut:focus-visible .social-name { opacity: 1; } }
@media (max-width: 700px) { .social-shortcuts { top: auto; bottom: max(12px, env(safe-area-inset-bottom)); right: 10px; flex-direction: row; gap: 6px; } .social-shortcut { border-radius: 12px; } .social-shortcut .social-name { display: none; } }
@media (prefers-reduced-motion: reduce) { .social-shortcut:hover { transform: none; } }
.directions-layout { display: grid; grid-template-columns: 1fr 1.6fr; gap: 32px; align-items: start; }
.directions-info { background: var(--paper); padding: 28px; border: 1px solid var(--line); border-radius: 24px; }
.directions-info address { font-style: normal; line-height: 1.8; }
.directions-info address small { display: block; margin-top: 10px; color: var(--muted); }
.directions-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.directions-map iframe { display: block; width: 100%; height: 420px; border: 0; border-radius: 24px; background: var(--mint); }
.directions-map p { font-size: .85rem; color: var(--muted); }
@media(max-width: 800px) { .directions-layout { grid-template-columns: 1fr; } .directions-map iframe { height: 340px; } }

/* A bilingual arrow anchored to the language switch. */
.language-control { position: relative; flex: 0 0 auto; }
.language-hint { position: absolute; top: calc(100% + 5px); left: 50%; width: 148px; height: 46px; padding-top: 12px; transform: translateX(-50%); display: grid; place-items: center; background: var(--deep); color: white; clip-path: polygon(0 22%, 43% 22%, 50% 0, 57% 22%, 100% 22%, 100% 100%, 0 100%); animation: language-arrow-bob 1.6s ease-in-out infinite; pointer-events: none; }
.language-hint span { grid-area: 1 / 1; font-size: 14px; font-weight: 700; white-space: nowrap; }
.hint-ko { animation: language-hint-ko 6s step-end infinite; }
.hint-en { animation: language-hint-en 6s step-end infinite; }
.language-control.hint-dismissed .language-hint { display: none; }
@keyframes language-arrow-bob { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 5px); } }
@keyframes language-hint-ko { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
@keyframes language-hint-en { 0%, 100% { opacity: 0; } 50% { opacity: 1; } }
@media (max-width: 980px) {
  .nav-shell > .language-control { margin-left: auto; margin-right: 12px; }
  .nav-shell > .menu-toggle { order: 3; }
  .language-hint { width: 130px; }
  .language-hint span { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .language-hint, .language-hint span { animation: none; }
  .language-hint { height: 64px; padding: 15px 0 5px; }
  .language-hint span { grid-area: auto; opacity: 1; }
}

#video-gallery{margin:60px 0}.video-folder{padding:24px;border:1px solid #c8d9d8;border-radius:20px}.video-folder summary{cursor:pointer;font-size:1.3rem;font-weight:700}.student-video-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.student-video-grid video{width:100%;aspect-ratio:1;background:#071c20;border-radius:14px}.student-video-grid h3{font-size:1rem}@media(max-width:980px){.student-video-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:560px){.student-video-grid{grid-template-columns:1fr}.video-folder{padding:16px}}

.student-video-grid iframe{width:100%;aspect-ratio:1;border:0;border-radius:14px;background:#081b20}

/* Visible photo watermark. Screen-level deterrent; original assets remain accessible. */
.hero-story-slide::after,.gallery-image-link::after,.director-brand-panel::after,.watermarked-photo::after{content:"";position:absolute;inset:0;background:url("assets/photo-watermark.svg") repeat center;pointer-events:none;z-index:2;border-radius:inherit}
.gallery-image-link,.director-brand-panel,.watermarked-photo{position:relative}
.watermarked-photo{display:block;isolation:isolate}
.watermarked-photo img{display:block}
img{-webkit-touch-callout:none;user-select:none;-webkit-user-select:none}

.halloween-popup{padding:0;width:min(940px,calc(100vw - 32px));max-height:90vh;max-height:90dvh;border:1px solid #75475a;border-radius:24px;background:#fffaf3;color:#281936;box-shadow:0 25px 100px #0008;overflow:auto}
.halloween-popup::backdrop{background:rgba(15,8,28,.78)}
.academy-info-popup{width:min(640px,calc(100vw - 32px))}
.academy-info-popup .halloween-popup-header{background:#103f44;border-bottom-color:#e5ad46}
.academy-info-content{padding:12px;display:grid;gap:14px;text-align:center}
.academy-info-content img{display:block;width:100%;height:auto}
.academy-info-content>a{font-weight:700;color:#103f44;padding:8px}
.academy-info-content .halloween-popup-continue{background:#103f44}
.halloween-popup-header{position:sticky;top:0;z-index:5;display:flex;justify-content:space-between;align-items:center;gap:16px;padding:20px 24px;background:#241532;color:#fff;border-bottom:3px solid #f28a24}
.halloween-popup-header span{font-size:11px;letter-spacing:.14em;color:#ffbf74}.halloween-popup-header h2{font-size:clamp(18px,2.5vw,26px);margin:5px 0 0;color:#fff;line-height:1.4}
.halloween-popup-close{flex-shrink:0;min-height:44px;padding:9px 14px;border:1px solid #ffffff80;background:#ffffff12;color:#fff;border-radius:12px;cursor:pointer;font-weight:700}
.halloween-popup-body{display:grid;grid-template-columns:1fr 1fr;align-items:start}.halloween-popup img.halloween-event-poster{display:block;width:100%;height:auto;margin:0;user-select:none}
.halloween-popup-copy{padding:26px;font-size:16px;line-height:1.85;word-break:keep-all}.halloween-popup-copy p{margin:0 0 17px}.halloween-popup-copy .halloween-date{font-size:24px;font-weight:800;color:#8a3c10}.halloween-popup-copy ul{list-style:none;padding:0;margin:0 0 20px;display:grid;gap:6px}.halloween-bag{padding:14px;border-radius:12px;background:#fff0da;border:1px solid #f2cf9a}.halloween-popup-continue{display:block;width:100%;border:0;border-radius:12px;background:#542963;color:white;font-size:16px;font-weight:700;padding:14px;cursor:pointer;min-height:48px}
.halloween-popup button:focus-visible{outline:3px solid #ffac36;outline-offset:3px}
@media(max-width:640px){.halloween-popup{width:calc(100vw - 20px);max-height:94vh;max-height:94dvh;border-radius:16px}.halloween-popup-header{padding:14px;gap:8px}.halloween-popup-body{grid-template-columns:1fr}.halloween-popup-copy{padding:22px}.halloween-popup-header h2{font-size:18px}}
