:root {
  --bg: #fff;
  --surface: #f0f7fb;
  --text: #253239;
  --muted: #5a6c78;
  --accent: #0088c9;
  --cyan: #00bedf;
  --navy: #0b2941;
  --line: #d9e5ed;
  --sans: 'Inter', 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; color: var(--text); background: var(--bg); font: 400 16px/1.9 var(--sans); -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
/* Suppress selection and iOS long-press menus without blocking taps or scrolling. */
body { -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; }
img, video { -webkit-user-drag: none; }
input, textarea, select, [contenteditable]:not([contenteditable="false"]) {
  -webkit-touch-callout: default;
  -webkit-user-select: text;
  user-select: text;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; }
img { max-width: 100%; display: block; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 6px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 600; }
em { font-style: normal; color: var(--accent); }
.wrap { width: calc(100% - 128px); max-width: 1320px; margin-inline: auto; }
.section { padding-block: 108px; }
.skip-link { position: fixed; left: 16px; top: -100px; background: var(--accent); padding: 10px 20px; color: #fff; z-index: 100; }
.skip-link:focus { top: 16px; }
.site-header { position: sticky; top: 0; z-index: 30; min-height: 94px; padding: 23px 64px; background: #fffffff5; backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; }
.brand img { object-fit: contain; width: 196px; height: auto; filter: none; }
.desktop-nav { display: flex; align-items: center; gap: 34px; font-size: .875rem; font-weight: 500; }
.desktop-nav a { transition: color .2s; }
.desktop-nav a:hover { color: var(--accent); }
.desktop-nav .nav-contact { background: var(--accent); border-radius: 5px; color: #fff; padding: 11px 22px; display: flex; gap: 24px; align-items: center; transition: background .2s; }
.desktop-nav .nav-contact:hover { background: #006fa6; }
.nav-contact span { font-size: 22px; line-height: 1; }
.menu-toggle { display: none; }
.mobile-nav[hidden] { display: none; }
.hero { position: relative; isolation: isolate; min-height: 740px; overflow: hidden; background: #eff5f8; }
.hero-image, .hero-shade { position: absolute; inset: 0; z-index: 0; }
.hero-image { left: 38%; overflow: hidden; background: #e6eff5 url('assets/media/francesco-teaching-hero-poster.jpg') center / cover no-repeat; mask-image: linear-gradient(90deg,transparent,#000 15%); }
#hero-video { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-start { position: absolute; left: 69%; top: 45%; transform: translate(-50%,-50%); z-index: 3; display: flex; align-items: center; justify-content: center; gap: 10px; white-space: nowrap; padding: 15px 21px; min-height: 52px; background: #ffffffed; color: #087ca9; border: 1px solid #fff; border-radius: 40px; box-shadow: 0 5px 24px #1234; font-size: .875rem; font-weight: 600; }
.hero-start[hidden] { display: none; }
.hero-shade { pointer-events: none; background: linear-gradient(90deg, #f4f9fc 0%, #f4f9fc 35%, #f4f9fce8 43%, #f4f9fc88 53%, transparent 67%); }
.hero-content { position: relative; z-index: 2; padding-block: 92px 145px; pointer-events: none; }
.hero-content a { pointer-events: auto; }
.eyebrow { font-size: .75rem; font-weight: 700; letter-spacing: .17em; color: #0076b1; display: flex; align-items: center; gap: 13px; }
.eyebrow::before { content: ''; width: 25px; height: 3px; background: var(--cyan); }
.hero h1 { font-size: clamp(3rem, 4.8vw, 4.6rem); font-weight: 700; line-height: 1.5; letter-spacing: -.035em; margin: 24px 0 6px; }
.hero h1 span { color: #0080bf; }
.hero-english { font-size: 1.8rem; line-height: 1.3; letter-spacing: -.025em; font-weight: 600; color: #0086bd; margin: 5px 0 25px; }
.hero-description { font-size: 1rem; line-height: 2; color: #475c68; }
.hero-actions { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 36px; padding: 17px 23px; border-radius: 5px; font-size: .875rem; font-weight: 600; min-height: 58px; transition: background .25s, color .25s, transform .25s, box-shadow .25s; }
.button span { font-size: 23px; line-height: 1; }
.button:hover { transform: translateY(-3px); box-shadow: 0 8px 25px #0e6eaa1f; }
.button-primary { background: #0088c9; color: #fff; }
.button-primary:hover { background: #006fa6; }
.button-secondary { background: #ffffffb8; color: #176088; border: 1px solid #b7d4e6; }
.button-secondary:hover { background: #fff; }
.hero-person { position: absolute; right: 6%; bottom: 95px; background: #fffffff0; backdrop-filter: blur(10px); border-left: 4px solid var(--cyan); padding: 15px 24px; box-shadow: 0 10px 45px #102e4512; }
.hero-person span { display: block; font-size: 1rem; font-weight: 600; }
.hero-person small { display: block; color: #577080; font-size: .75rem; }
.hero-bottom { position: absolute; bottom: 26px; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between; font-size: .6875rem; letter-spacing: .14em; font-weight: 600; color: #425a6a; }
.scroll-cue { display: flex; align-items: center; gap: 13px; }
.scroll-cue span { height: 32px; width: 2px; background: #b9d9e9; position: relative; overflow: hidden; }
.scroll-cue span::after { content: ''; position: absolute; inset: 0; background: var(--accent); animation: scroll-line 2.3s ease-in-out infinite; }
.hero-caption { margin-left: auto; margin-right: 32px; }
.motion-toggle { display: flex; align-items: center; gap: 9px; background: #ffffffab; padding: 9px 13px; border-radius: 4px; font: inherit; letter-spacing: inherit; }
.motion-toggle span { font-size: 15px; min-width: 12px; }
.hero-enter { animation: enter .9s ease-out both; }
.hero-enter:nth-child(2) { animation-delay: .1s; }
.hero-enter:nth-child(3) { animation-delay: .2s; }
.hero-enter:nth-child(4) { animation-delay: .3s; }
.hero-enter:nth-child(5) { animation-delay: .4s; }
.voice-ribbon { border-bottom: 1px solid var(--line); background: #e4f4fc; overflow: hidden; padding: 26px 0; }
.ribbon-track { display: flex; width: max-content; animation: marquee 36s linear infinite; font-size: clamp(1.15rem,2.1vw,2rem); line-height: 1.2; font-weight: 600; letter-spacing: -.015em; color: #187aa9; }
.ribbon-track > span { white-space: nowrap; display: inline-flex; align-items: center; gap: 44px; padding-right: 44px; }
.ribbon-track i { font-size: 1.6rem; font-style: normal; color: var(--cyan); font-weight: 400; }
.section-label { display: flex; justify-content: space-between; align-items: center; padding-bottom: 22px; border-bottom: 1px solid var(--line); font-size: .75rem; letter-spacing: .12em; font-weight: 600; color: var(--accent); }
.section-label > span:last-child { letter-spacing: .03em; color: var(--muted); font-size: .8125rem; font-weight: 400; }
.about-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 100px; margin-top: 65px; align-items: center; }
.serif-kicker { font-size: .75rem; font-weight: 700; letter-spacing: .13em; color: #0084bf; margin-bottom: 24px; }
.about h2 { font-size: clamp(2.7rem, 4.1vw, 4rem); line-height: 1.65; letter-spacing: -.03em; font-weight: 700; }
.about-copy { max-width: 475px; }
.about-copy p { color: var(--muted); margin-bottom: 22px; line-height: 2.1; font-size: 1rem; }
.about-copy p:first-child { color: var(--text); font-size: 1.25rem; font-weight: 500; line-height: 1.9; }
.text-link { display: inline-flex; align-items: center; gap: 52px; font-size: .875rem; font-weight: 600; color: #007bab; border-bottom: 1px solid #97d3ed; padding: 11px 0; transition: color .2s, gap .2s; }
.text-link:hover { color: #004f7c; gap: 65px; }
.text-link span { font-size: 23px; line-height: 1; }
.brand-strip { margin-top: 65px; padding: 28px 32px; border-radius: 6px; background: #f4f9fc; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand-strip > span { font-size: 1rem; font-weight: 500; color: #486676; }
.brand-strip img { object-fit: contain; width: 220px; height: 54px; filter: none; }
.section-heading { display: grid; grid-template-columns: 1.1fr 1fr; gap: 100px; align-items: end; margin: 58px 0 55px; }
.section-heading h2 { font-size: clamp(3.4rem, 5.4vw, 5rem); font-weight: 600; line-height: 1.07; letter-spacing: -.055em; }
.section-heading h2 i { font-style: normal; color: var(--accent); }
.section-heading > div { padding-bottom: 3px; }
.section-heading h3 { font-size: 1.45rem; line-height: 1.8; margin-bottom: 18px; letter-spacing: -.02em; }
.section-heading p { color: var(--muted); font-size: 1rem; line-height: 2; }
.courses { background: #f0f7fb; }
.course-feature { display: grid; grid-template-columns: 1.12fr 1fr; align-items: stretch; border-radius: 9px; overflow: hidden; background: #fff; box-shadow: 0 12px 50px #143e5810; }
.course-photo { position: relative; overflow: hidden; min-height: 455px; }
.course-photo img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; transition: transform .8s; }
.course-feature:hover .course-photo img { transform: scale(1.035); }
.photo-label { position: absolute; bottom: 23px; left: 25px; color: #fff; font-size: .6875rem; font-weight: 500; letter-spacing: .12em; background: #163f57da; padding: 7px 12px; border-radius: 3px; }
.course-body { padding: 36px 42px 30px; display: flex; flex-direction: column; justify-content: center; }
.course-topline { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.course-tag { background: #e3f4fc; border-radius: 4px; padding: 5px 11px; font-size: .75rem; font-weight: 500; letter-spacing: .03em; color: #006f9f; }
.course-index { font-size: 1.125rem; line-height: 1; font-weight: 600; color: #99b9ce; }
.course-english { font-size: 1.0625rem; color: #466778; margin: 32px 0 11px; font-weight: 500; }
.course-body h3 { font-size: clamp(2.7rem,4vw,3.8rem); line-height: 1.2; font-weight: 600; letter-spacing: -.045em; }
.course-body h3 span { color: var(--accent); }
.course-description { font-size: 1rem; line-height: 2; color: var(--muted); margin: 23px 0 27px; }
.course-details { border-top: 1px solid var(--line); margin-top: auto; }
.course-details summary, .profile summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; list-style: none; cursor: pointer; padding: 17px 0; font-size: .875rem; font-weight: 500; }
.course-details summary::-webkit-details-marker, .profile summary::-webkit-details-marker { display: none; }
.course-details summary span, .profile summary span { font-size: 1.3rem; color: var(--accent); transition: transform .3s; }
.course-details[open] summary span, .profile[open] summary span { transform: rotate(45deg); }
.details-content { font-size: .9375rem; line-height: 2; color: #566d7d; padding-bottom: 12px; animation: enter .3s both; }
.details-content p { margin: 8px 0 15px; }
.details-content a { display: flex; align-items: center; justify-content: space-between; gap: 16px; border-bottom: 1px solid #c5e2f0; padding: 9px 0; font-size: .8125rem; color: #0077a9; }
.course-advanced { display: grid; grid-template-columns: 1.12fr 1fr; margin-top: 25px; background: #087cb5; color: #fff; border-radius: 9px; overflow: hidden; }
.advanced-badge { display: grid; place-items: center; padding: 44px 34px 20px; background: radial-gradient(ellipse at center, #fff 20%, #e6f7fb 100%); }
.advanced-badge img { width: min(100%, 340px); height: auto; }
.advanced-body { padding: 34px 42px; display: flex; flex-direction: column; justify-content: center; }
.advanced-body .course-tag { color: #fff; background: #ffffff20; }
.advanced-body .course-index { color: #bdeaff; }
.advanced-body h3 { font-size: 1.75rem; line-height: 1.7; margin: 26px 0 16px; }
.advanced-body > p { font-size: 1rem; color: #e6f5ff; margin-bottom: 25px; }
.advanced-body .course-details { border-color: #ffffff50; }
.advanced-body .course-details summary span { color: #fff; }
.advanced-body .details-content { color: #e6f5ff; }
.advanced-body .details-content a { color: #fff; border-color: #ffffff50; }
.course-note { font-size: .8125rem; color: #607989; margin-top: 28px; text-align: right; }
.course-note a { border-bottom: 1px solid #68b8df; color: #0074a7; }
.trainer-grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 72px; align-items: start; max-width: 1100px; margin: 65px auto 0; }
.trainer-offset { margin-top: 90px; }
.portrait { overflow: hidden; position: relative; background: #e9f2f8; border-radius: 7px; }
.portrait img { width: 100%; height: auto; aspect-ratio: 1/1.08; object-fit: cover; transition: transform .8s; filter: none; }
.trainer:hover .portrait img { transform: scale(1.035); }
.portrait::after { content: ''; position: absolute; inset: 73% 0 0; background: linear-gradient(transparent,#082b44a6); pointer-events: none; }
.portrait-label { position: absolute; bottom: 22px; left: 24px; right: 20px; z-index: 1; color: #fff; font-weight: 500; font-size: .6875rem; letter-spacing: .1em; }
.trainer-title { padding: 24px 0; }
.trainer-qualification { display: flex; align-items: center; gap: 20px; margin-top: 20px; padding: 17px 20px; border: 1px solid #deedf4; border-radius: 6px; background: #f4f9fc; }
.license-badge { flex: 0 0 auto; width: 112px; height: auto; }
.trainer-qualification .credential { min-width: 0; color: var(--muted); font-size: .8125rem; line-height: 1.8; }
.trainer-title h3 { font-size: clamp(1.75rem,2.5vw,2.35rem); line-height: 1.3; letter-spacing: -.04em; }
.trainer-title > p { font-size: .875rem; color: #007cad; margin-top: 7px; }
.profile { border-block: 1px solid var(--line); }
.support-team { display: grid; grid-template-columns: .8fr 1.4fr 1.25fr; gap: 28px; padding: 34px; margin-top: 72px; align-items: center; background: #f1f8fc; border-radius: 7px; }
.support-team > .eyebrow { font-size: .6875rem; letter-spacing: .1em; }
.support-team > .eyebrow::before { display: none; }
.support-member { display: flex; gap: 20px; align-items: center; }
.support-member img { width: 78px; height: 94px; border-radius: 4px; object-fit: cover; }
.support-member h3 { font-size: 1.25rem; line-height: 1.4; letter-spacing: -.025em; }
.support-member h3 span { display: block; font-size: .8125rem; line-height: 1.9; font-weight: 400; color: #087fab; margin-top: 4px; }
.support-member p { font-size: .75rem; color: var(--muted); margin-top: 5px; }
.moments { padding-top: 22px; }
.moments-top { display: flex; justify-content: space-between; align-items: end; margin: 49px 0 34px; }
.moments-top h2 { font-size: clamp(2.7rem,4.4vw,4rem); line-height: 1.1; letter-spacing: -.05em; }
.moments-top h2 i { color: var(--accent); font-style: normal; }
.moments-top p { font-size: 1rem; color: var(--muted); margin-top: 18px; }
.gallery-controls { display: flex; align-items: center; gap: 12px; }
.gallery-controls > span { margin-right: 17px; color: #587184; font-size: .8125rem; letter-spacing: .12em; }
.gallery-controls button { background: #eff8fd; border: 1px solid #cce6f4; color: #0082b9; border-radius: 50%; height: 48px; width: 48px; line-height: 1; font-size: 24px; transition: background .25s,color .25s; }
.gallery-controls button:hover { background: var(--accent); color: #fff; }
.gallery { position: relative; }
.gallery-slide { margin: 0; animation: enter .45s ease both; }
.gallery-slide[hidden] { display: none; }
.gallery-slide img { width: 100%; height: clamp(310px,47vw,590px); object-fit: cover; object-position: center 46%; border-radius: 7px; }
.gallery-slide:nth-child(3) img { object-position: center 45%; }
.gallery-slide figcaption { display: flex; justify-content: space-between; gap: 15px; color: var(--muted); margin-top: 18px; font-size: .75rem; letter-spacing: .07em; }
.gallery-slide figcaption span:last-child { letter-spacing: 0; }
.contact { background: var(--navy); color: #fff; overflow: hidden; padding-bottom: 0; }
.contact .section-label { border-color: #6ba3c345; color: #68d6fa; }
.contact .section-label > span:last-child { color: #b0cad8; }
.contact-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 100px; margin-top: 70px; }
.contact .serif-kicker { color: #58cbe9; }
.contact h2 { font-size: clamp(2.5rem,3.8vw,3.6rem); line-height: 1.65; letter-spacing: -.035em; margin-bottom: 24px; }
.contact-grid > div > p:last-child { font-size: 1rem; line-height: 2; color: #c2d7e4; }
.contact-actions { padding-top: 3px; }
.contact-main { display: flex; align-items: center; justify-content: space-between; gap: 20px; border-block: 1px solid #7faec664; padding: 25px 0 29px; font-size: 1.125rem; font-weight: 500; }
.contact-actions small { font-size: .6875rem; letter-spacing: .13em; color: #64d2f1; display: block; margin-bottom: 9px; }
.round-arrow { width: 62px; height: 62px; border: 1px solid #48b9e3; border-radius: 50%; display: grid; place-items: center; font-size: 29px; flex-shrink: 0; transition: background .25s, transform .25s; }
.contact-main:hover .round-arrow { background: #008ccc; transform: rotate(45deg); }
.contact-sub { display: flex; align-items: center; justify-content: space-between; gap: 16px; border-bottom: 1px solid #7faec643; padding: 21px 0; font-size: .9375rem; }
.contact-sub > span:last-child { font-size: 25px; color: #67d4f4; transition: transform .2s; }
.contact-sub:hover > span:last-child { transform: translate(3px,-3px); }
.contact-actions .contact-note { font-size: .75rem !important; margin-top: 20px; color: #a6c1d1 !important; }
.contact-signature { font-size: clamp(4rem,12vw,11rem); line-height: 1.1; letter-spacing: -.065em; font-weight: 600; color: #33b8f432; margin: 74px 0 -14px; white-space: nowrap; text-align: center; user-select: none; }
.footer { display: flex; align-items: center; justify-content: space-between; padding-block: 40px; gap: 30px; }
.footer small { color: var(--muted); font-size: .75rem; }
.back-top { font-size: .75rem; letter-spacing: .08em; font-weight: 500; display: flex; align-items: center; gap: 18px; }
.back-top span { font-size: 22px; color: var(--accent); }
.reveal { opacity: 1; transform: none; }
.js-motion .reveal { opacity: 0; transform: translateY(25px); transition: opacity .75s ease, transform .75s ease; }
.js-motion .reveal.is-visible { opacity: 1; transform: none; }
@keyframes enter { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes hero-pan { from { transform: scale(1.035); } to { transform: scale(1); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes scroll-line { 0% { transform: translateY(-100%); } 60%,100% { transform: translateY(100%); } }
@media(min-width:1600px) {
  .hero-content { padding-top: 112px; }
  .hero { min-height: 800px; }
}
@media(max-width:1100px) {
  .wrap { width: calc(100% - 80px); }
  .site-header { padding: 21px 40px; }
  .desktop-nav { gap: 22px; }
  .desktop-nav .nav-contact { padding-inline: 16px; gap: 12px; }
  .brand img { width: 177px; }
  .hero { min-height: 710px; }
  .hero-image { left: 38%; background-position: center; }
  .hero-shade { background: linear-gradient(90deg,#f4f9fc 0%,#f4f9fc 32%,#f4f9fcba 43%,transparent 67%); }
  .hero-content { padding-top: 82px; }
  .hero h1 { font-size: clamp(2.7rem,5vw,3.6rem); }
  .hero-description { max-width: 470px; }
  .hero-actions { gap: 12px; max-width: 465px; }
  .button { gap: 21px; padding-inline: 19px; }
  .hero-person { right: 4%; bottom: 90px; padding: 11px 16px; }
  .hero-person span { font-size: .875rem; }
  .hero-person small { font-size: .6875rem; }
  .about-grid,.section-heading,.contact-grid { gap: 50px; }
  .course-body,.advanced-body { padding: 28px; }
  .course-photo { min-height: 430px; }
  .trainer-grid { gap: 44px; }
  .trainer-qualification { gap: 14px; padding: 15px; }
  .license-badge { width: 100px; }
  .support-team { grid-template-columns: 1fr 1fr; }
  .support-team > .eyebrow { grid-column: 1/-1; }
  .support-member { gap: 16px; }
  .contact-main { font-size: 1rem; }
  .round-arrow { width: 53px; height: 53px; }
  .gallery-slide img { height: 450px; }
}
@media(max-width:760px) {
  html { scroll-padding-top: 93px; }
  .wrap { width: calc(100% - 44px); }
  .section { padding-block: 74px; }
  .site-header { min-height: 79px; padding: 17px 22px; }
  .brand img { width: 168px; }
  .desktop-nav { display: none; }
  .menu-toggle { display: flex; width: 44px; height: 44px; background: transparent; align-items: center; justify-content: center; flex-direction: column; gap: 7px; z-index: 32; }
  .menu-toggle span { display: block; width: 24px; height: 2px; background: #087cab; transition: transform .25s; }
  .menu-open .menu-toggle span:first-child { transform: translateY(4.5px) rotate(45deg); }
  .menu-open .menu-toggle span:last-child { transform: translateY(-4.5px) rotate(-45deg); }
  .mobile-nav { position: fixed; inset: 78px 0 0; background: #f1f9fd; z-index: 29; padding: 48px 28px; display: flex; flex-direction: column; gap: 24px; overflow-y: auto; }
  .mobile-nav > a { font-size: 1.5rem; font-weight: 500; line-height: 1.8; border-bottom: 1px solid var(--line); padding-bottom: 17px; }
  .mobile-nav small { font-size: .8125rem; color: var(--accent); margin-right: 22px; }
  .hero { min-height: 0; padding-bottom: 0; background: #f3f8fb; display: flex; flex-direction: column; }
  .hero-content { padding-block: 45px 33px; order: 0; }
  .hero-image { position: relative; inset: auto; order: 1; flex: none; width: 100%; height: auto; aspect-ratio: 6 / 5; background-size: contain; background-position: center; mask-image: none; }
  /* Keep the complete 960 × 800 frame at its native ratio on small screens. */
  #hero-video { height: auto; aspect-ratio: 6 / 5; object-fit: contain; }
  .hero-start { display: none; }
  .hero-shade { display: none; }
  .hero .eyebrow { font-size: .6875rem; letter-spacing: .12em; gap: 10px; }
  .hero .eyebrow::before { width: 20px; }
  .hero h1 { font-size: clamp(2rem,8.5vw,3.3rem); line-height: 1.55; letter-spacing: -.025em; margin-top: 23px; }
  .hero-english { font-size: 1.6rem; margin: 10px 0 21px; }
  .hero-description { font-size: 1rem; line-height: 1.95; }
  .hero-actions { gap: 11px; margin-top: 25px; flex-direction: column; align-items: stretch; max-width: 360px; }
  .button { min-height: 53px; padding: 14px 19px; }
  .button-secondary { background: #fff; }
  .hero .hero-person { position: relative; order: 2; right: auto; bottom: auto; align-self: flex-end; margin: 16px 22px 0; padding: 9px 14px; }
  .hero-person span { font-size: .8125rem; }
  .hero-person small { font-size: .6875rem; }
  .hero-bottom { position: relative; order: 3; bottom: auto; margin-block: 12px 16px; font-size: .625rem; letter-spacing: .08em; }
  .hero-caption { display: none; }
  .scroll-cue { background: #ffffffb8; border-radius: 3px; padding: 5px 8px; gap: 8px; }
  .scroll-cue span { height: 22px; }
  .motion-toggle { padding: 8px; }
  .voice-ribbon { padding-block: 21px; }
  .ribbon-track { font-size: 1.25rem; }
  .ribbon-track > span { gap: 26px; padding-right: 26px; }
  .section-label { font-size: .6875rem; letter-spacing: .08em; padding-bottom: 18px; }
  .section-label > span:last-child { font-size: .75rem; }
  .about-grid { grid-template-columns: 1fr; gap: 30px; margin-top: 38px; }
  .serif-kicker { font-size: .6875rem; margin-bottom: 17px; }
  .about h2 { font-size: 2.65rem; }
  .about-copy { max-width: none; }
  .about-copy p { font-size: 1rem; }
  .about-copy p:first-child { font-size: 1.2rem; }
  .brand-strip { margin-top: 40px; padding: 24px; gap: 22px; align-items: flex-start; flex-direction: column; }
  .brand-strip > span { font-size: .875rem; }
  .brand-strip img { width: 192px; height: 46px; }
  .section-heading { grid-template-columns: 1fr; gap: 27px; margin: 36px 0 32px; }
  .section-heading h2 { font-size: 3.45rem; }
  .section-heading h3 { font-size: 1.25rem; margin-bottom: 13px; }
  .section-heading p { font-size: 1rem; }
  .course-feature,.course-advanced { grid-template-columns: 1fr; }
  .course-photo { min-height: 0; aspect-ratio: 1.3; }
  .course-body,.advanced-body { padding: 25px; }
  .course-body h3 { font-size: 2.95rem; }
  .course-english { font-size: 1rem; margin-top: 25px; }
  .course-description { font-size: 1rem; margin-block: 21px; }
  .photo-label { left: 16px; bottom: 16px; font-size: .625rem; }
  .advanced-badge { padding: 30px 28px 12px; }
  .advanced-badge img { width: min(100%, 260px); }
  .advanced-body h3 { font-size: 1.5rem; margin-top: 23px; }
  .advanced-body > p { font-size: 1rem; }
  .course-note { text-align: left; font-size: .8125rem; line-height: 2; }
  .trainer-grid { margin-top: 43px; gap: 43px; grid-template-columns: 1fr; }
  .trainer-offset { margin-top: 0; }
  .portrait img { aspect-ratio: 1/1.08; object-position: 50% 28%; }
  .portrait-label { font-size: .625rem; left: 19px; bottom: 20px; }
  .trainer-title h3 { font-size: 1.85rem; }
  .trainer-title { padding-bottom: 20px; }
  .support-team { grid-template-columns: 1fr; gap: 26px; margin-top: 43px; padding: 25px; }
  .support-member img { width: 72px; height: 86px; }
  .support-member h3 { font-size: 1.2rem; }
  .support-member h3 span { font-size: .8125rem; }
  .moments { padding-top: 8px; }
  .moments-top { align-items: flex-start; flex-direction: column; gap: 24px; margin-top: 36px; }
  .moments-top h2 { font-size: 2.45rem; }
  .moments-top p { font-size: 1rem; }
  .gallery-controls { align-self: flex-end; }
  .gallery-controls > span { font-size: .75rem; }
  .gallery-controls button { width: 44px; height: 44px; }
  .gallery-slide img { height: 340px; object-position: center; }
  .gallery-slide figcaption { font-size: .6875rem; letter-spacing: .03em; align-items: flex-start; flex-direction: column; gap: 5px; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; margin-top: 43px; }
  .contact h2 { font-size: 2.3rem; }
  .contact-grid > div > p:last-child { font-size: 1rem; }
  .contact-main { font-size: 1rem; }
  .round-arrow { width: 52px; height: 52px; }
  .contact-signature { font-size: 12vw; margin-top: 52px; margin-bottom: -4px; }
  .desktop-break { display: none; }
  .footer { display: grid; grid-template-columns: 1fr auto; padding-block: 31px; gap: 23px; }
  .footer .brand { grid-column: 1/-1; }
  .footer small { font-size: .625rem; }
  .back-top { font-size: .625rem; gap: 11px; }
}
@media(prefers-reduced-motion:reduce) {
  html { scroll-behavior: auto; }
  *,*::before,*::after { animation: none !important; transition: none !important; }
  .hero-image,.js-motion .reveal { transform: none !important; }
  .js-motion .reveal { opacity: 1; }
}
html.motion-paused { scroll-behavior: auto; }
html.motion-paused *,html.motion-paused *::before,html.motion-paused *::after { animation-play-state: paused !important; transition: none !important; }
.motion-paused .reveal { opacity: 1 !important; transform: none !important; }
.motion-paused .hero-enter { animation: none !important; opacity: 1 !important; transform: none !important; }

.mobile-only { display: none; }
@media(max-width:760px) { .mobile-only { display: initial; } }

/* Real moments, generous photography, and film. */
.desktop-nav { gap: 25px; }
.hero-film-link { display: flex; align-items: center; gap: 16px; padding: 10px 18px 10px 10px; border-radius: 6px; transition: transform .25s, box-shadow .25s; }
.hero-film-link:hover { transform: translateY(-4px); box-shadow: 0 14px 40px #143d592e; }
.hero-film-link > img { width: 56px; height: 68px; border-radius: 3px; object-fit: cover; }
.hero-film-link strong { font-weight: 600; font-size: .9375rem; }
.hero-film-link small { margin-top: 5px; font-size: .625rem; letter-spacing: .08em; color: #0078a9; }
.hero-film-link small span { display: inline; font-size: 14px; margin-left: 10px; }
.hero-film-link .hero-play { width: 34px; height: 34px; display: grid; place-items: center; padding-left: 2px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 11px; margin-left: 10px; }
.button .mini-play { font-size: 13px; }
.story-collage { display: grid; grid-template-columns: 1fr 1.5fr .82fr; gap: 22px; margin-top: 75px; align-items: center; }
.story-photo { margin: 0; min-width: 0; }
.story-photo img { width: 100%; height: 330px; border-radius: 7px; object-fit: cover; transition: transform .5s; }
.story-piano { padding-top: 58px; }
.story-piano img { height: 320px; object-position: 43% center; }
.story-lesson img { height: 290px; }
.story-science { padding-bottom: 80px; }
.story-science img { height: 335px; object-position: 47% center; }
.story-photo figcaption { padding-top: 15px; font-size: .8125rem; color: #506574; }
.story-photo figcaption span { display: block; color: var(--accent); font-size: .625rem; font-weight: 600; letter-spacing: .13em; margin-bottom: 5px; }
.films { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.films::before { content: ''; position: absolute; pointer-events: none; width: 650px; height: 650px; background: radial-gradient(circle,#008bd724,transparent 70%); top: -270px; right: -180px; }
.films .wrap { position: relative; }
.films .section-label { color: #64d6f2; border-color: #ffffff28; }
.films .section-label > span:last-child { color: #acc8d9; }
.films .section-heading h2 i { color: #62d7ed; }
.films .section-heading p { color: #bdd3e0; }
.films .text-link { color: #87dcf4; border-color: #72c7e34d; margin-top: 18px; }
.film-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 30px; max-width: 1120px; margin: 0 auto; align-items: start; }
.film-card:nth-child(2) { margin-top: 65px; }
.film-card:nth-child(3) { margin-top: 130px; }
.film-screen { position: relative; border-radius: 8px; overflow: hidden; background: #04111c; aspect-ratio: 9/16; box-shadow: 0 18px 50px #0002; border: 1px solid #c0e6ff24; }
.film-screen video { display: block; width: 100%; height: 100%; object-fit: contain; }
.film-play { position: absolute; inset: 0; width: 100%; height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 15px; color: #fff; background: linear-gradient(180deg,#00000008 20%,#061b3240 65%,#061b3290); font-size: .75rem; letter-spacing: .14em; }
.film-play[hidden] { display: none; }
.play-circle { display: grid; place-items: center; width: 76px; height: 76px; padding-left: 4px; border: 1px solid #ffffffab; border-radius: 50%; background: #ffffff24; backdrop-filter: blur(5px); font-size: 21px; transition: background .25s, transform .25s; }
.film-play:hover .play-circle { background: var(--accent); transform: scale(1.07); }
.film-play small { position: absolute; bottom: 21px; right: 21px; letter-spacing: .08em; font-size: .75rem; background: #041523a3; padding: 3px 9px; border-radius: 3px; }
.film-caption { padding-top: 21px; }
.film-tag { color: #78cde8; letter-spacing: .12em; font-size: .625rem; font-weight: 600; }
.film-caption h3 { font-size: 1rem; font-weight: 500; margin-block: 9px 6px; }
.film-caption > p:last-child { color: #b1cadb; font-size: .75rem; }
.film-note { color: #b5cedd; text-align: center; margin-top: 40px; font-size: .75rem; }
.francesco-portrait img { object-position: center 36%; }
.yuya-portrait img { object-position: center 28%; }
.portrait img { aspect-ratio: 4/5; }
.moments { padding-top: 45px; background: #f4f8fa; }
.photo-hint { color: #587386; font-size: .75rem !important; }
.photo-hint span { color: var(--accent); margin-left: 10px; font-size: 22px; }
.gallery-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-block: 35px; }
.gallery-filters { display: flex; flex-wrap: wrap; gap: 9px; }
.gallery-filters button { font-size: .8125rem; padding: 9px 19px; border-radius: 30px; background: #fff; border: 1px solid #d2e0e9; color: #4b6576; transition: background .2s,color .2s; }
.gallery-filters button[aria-pressed="true"] { background: #0084bd; border-color: #0084bd; color: #fff; }
.gallery-filters button:hover { border-color: #0084bd; }
#photo-count { color: #5d7482; font-size: .6875rem; letter-spacing: .1em; white-space: nowrap; }
.photo-grid { columns: 3; column-gap: 25px; }
.photo-card { display: inline-block; width: 100%; margin: 0 0 35px; break-inside: avoid; }
.photo-card[hidden] { display: none; }
.photo-open { display: block; position: relative; border-radius: 6px; overflow: hidden; background: #dce8ee; }
.photo-open img { width: 100%; height: auto; object-fit: cover; transition: transform .65s; }
.photo-portrait .photo-open img { aspect-ratio: 4/5; object-position: center 32%; }
.photo-landscape .photo-open img { aspect-ratio: 4/3; }
.photo-open:hover img { transform: scale(1.045); }
.photo-expand { position: absolute; right: 13px; bottom: 13px; background: #fffffff2; width: 37px; height: 37px; border-radius: 50%; display: grid; place-items: center; color: #007cae; font-size: 21px; transition: transform .25s; }
.photo-open:hover .photo-expand { transform: rotate(45deg); }
.photo-card figcaption { padding: 14px 2px 0; }
.photo-card figcaption > span { font-size: .625rem; letter-spacing: .12em; color: #007caa; font-weight: 600; }
.photo-card figcaption p { font-size: .8125rem; margin-top: 3px; color: #516876; }
.photo-dialog { border: 0; background: #081c2c; color: #fff; padding: 18px 24px; border-radius: 8px; width: min(1280px,94vw); max-width: none; max-height: 94dvh; box-shadow: 0 20px 80px #0008; }
.photo-dialog::backdrop { background: #03101ee8; backdrop-filter: blur(6px); }
.photo-dialog-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; font-size: .75rem; letter-spacing: .08em; }
.photo-close { display: flex; align-items: center; gap: 14px; background: transparent; padding: 3px 10px; color: #fff; font-size: .8125rem; }
.photo-close span { font-size: 30px; font-weight: 400; line-height: 1.5; }
.photo-dialog-stage { display: grid; grid-template-columns: 44px minmax(0,1fr) 44px; align-items: center; gap: 20px; }
#photo-dialog-image { width: 100%; height: min(70dvh,820px); object-fit: contain; }
.photo-prev,.photo-next { background: #ffffff16; width: 44px; height: 44px; border: 1px solid #ffffff44; border-radius: 50%; color: #fff; font-size: 24px; }
.photo-prev:hover,.photo-next:hover { background: var(--accent); }
.photo-dialog-footer { display: flex; justify-content: space-between; gap: 25px; align-items: center; margin-top: 18px; font-size: .875rem; }
#photo-dialog-tag { color: #85d3ed; font-size: .625rem; letter-spacing: .1em; }
body.photo-opened { overflow: hidden; }
@media(max-width:1100px) {
  .desktop-nav { gap: 17px; font-size: .8125rem; }
  .story-collage { gap: 18px; }
  .story-piano img { height: 280px; }
  .story-lesson img { height: 260px; }
  .story-science img { height: 290px; }
  .film-grid { gap: 20px; }
  .film-caption h3 { font-size: .875rem; }
  .photo-grid { column-gap: 20px; }
  .hero-film-link { right: 4%; }
}
@media(min-width:761px) and (max-width:950px) {
  .site-header { padding-inline: 25px; }
  .site-header .brand img { width: 150px; }
  .desktop-nav { gap: 14px; font-size: .75rem; }
  .desktop-nav .nav-contact { gap: 8px; padding-inline: 12px; }
}
@media(max-width:760px) {
  .hero-film-link { right: 22px; bottom: 57px; gap: 10px; padding: 7px 12px 7px 7px; }
  .hero-film-link > img { width: 38px; height: 49px; }
  .hero-film-link strong { font-size: .8125rem; }
  .hero-film-link small { font-size: .5625rem; margin-top: 2px; }
  .hero-film-link .hero-play { width: 29px; height: 29px; margin-left: 4px; }
  .hero-actions .button-secondary { justify-content: flex-start; gap: 12px; }
  .story-collage { grid-template-columns: 1fr 1fr; gap: 22px 15px; margin-top: 40px; }
  .story-piano { padding: 0; }
  .story-piano img { height: auto; aspect-ratio: 4/5; }
  .story-lesson { grid-column: 1/-1; grid-row: 2; }
  .story-lesson img { height: auto; aspect-ratio: 4/3; }
  .story-science { padding: 30px 0 0; }
  .story-science img { height: auto; aspect-ratio: 4/5; }
  .story-photo figcaption { font-size: .6875rem; line-height: 1.8; padding-top: 11px; }
  .story-photo figcaption span { font-size: .5625rem; letter-spacing: .05em; }
  .film-grid { grid-template-columns: 1fr; gap: 35px; max-width: 380px; }
  .film-card:nth-child(2),.film-card:nth-child(3) { margin-top: 0; }
  .film-screen { max-height: 70svh; }
  .film-caption { padding-top: 17px; }
  .film-caption h3 { font-size: 1rem; }
  .film-caption > p:last-child { font-size: .75rem; }
  .films .section-heading { gap: 25px; }
  .films .text-link { margin-top: 10px; }
  .film-note { margin-top: 29px; text-align: left; }
  .moments { padding-top: 65px; }
  .moments-top { gap: 10px; }
  .moments-top .photo-hint { font-size: .6875rem !important; }
  .gallery-toolbar { flex-direction: column; align-items: flex-start; gap: 15px; margin-block: 26px; }
  .gallery-filters { gap: 8px; }
  .gallery-filters button { padding: 7px 14px; font-size: .75rem; }
  .photo-grid { columns: 2; column-gap: 13px; }
  .photo-card { margin-bottom: 23px; }
  .photo-card figcaption { padding-top: 9px; }
  .photo-card figcaption > span { font-size: .5625rem; letter-spacing: .04em; }
  .photo-card figcaption p { font-size: .6875rem; line-height: 1.8; }
  .photo-expand { width: 29px; height: 29px; font-size: 18px; right: 8px; bottom: 8px; }
  .photo-dialog { width: 96vw; padding: 10px 12px 18px; }
  .photo-dialog-stage { grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 15px; }
  #photo-dialog-image { grid-column: 1/-1; grid-row: 1; height: min(61dvh,650px); }
  .photo-prev { grid-row: 2; justify-self: end; }
  .photo-next { grid-row: 2; justify-self: start; }
  .photo-dialog-footer { flex-direction: column; align-items: center; gap: 4px; font-size: .8125rem; text-align: center; }
}

/* Course details and on-site reception */
.course-status { padding: 18px; margin: 20px 0; border-left: 3px solid #00bedf; background: #0088c90c; }
.course-status p { margin: 8px 0 0; }
.advanced-body .course-status { background: #ffffff14; }
.details-content h4 { font-size: 1rem; margin: 25px 0 10px; }
.course-steps { padding-left: 1.35em; margin: 12px 0 20px; }
.course-steps li { padding-left: 5px; margin: 9px 0; }
.course-archive { margin-top: 25px; border-top: 1px solid #8095a34a; }
.course-archive summary { font-size: .875rem; line-height: 1.8; }
.course-archive > div { padding: 4px 0 10px; }
.course-archive dl { margin: 18px 0; font-size: .875rem; }
.course-archive dt { font-weight: 700; margin-top: 14px; }
.course-archive dd { margin: 4px 0 0; }
.course-archive p { font-size: .875rem; }
.archive-note { font-weight: 600; }
.course-cta { font-size: 1rem !important; }
.contact-grid { align-items: start; }
.contact-intro .contact-timing { margin: 30px 0; font-size: .9375rem; color: #b8d8ed; }
.contact-intro .text-link { color: #c2f3ff; font-size: .875rem; }
.contact-panel { background: #fff; color: #263943; padding: 34px; border-radius: 10px; }
.site-form h3 { font-size: 1.35rem; line-height: 1.6; letter-spacing: -.025em; }
.site-form .form-intro { font-size: .875rem; color: #526875; margin: 6px 0 24px; }
.form-field { margin: 18px 0; }
.site-form label { display: block; font-size: .9375rem; font-weight: 500; }
.form-field label > span { color: #48697b; font-size: .75rem; margin-left: 8px; font-weight: 400; }
.site-form input:not([type=checkbox]), .site-form select, .site-form textarea { display: block; width: 100%; min-width: 0; border: 1px solid #b8ccd8; background: #fff; color: #263943; border-radius: 4px; font: inherit; font-size: 1rem; padding: 12px 14px; margin-top: 8px; line-height: 1.5; }
.site-form textarea { resize: vertical; }
.site-form input:focus, .site-form select:focus, .site-form textarea:focus { outline: 3px solid #00bedf55; outline-offset: 2px; border-color: #0088c9; }
.site-form .form-consent { display: flex; align-items: flex-start; gap: 10px; font-size: .875rem; font-weight: 400; line-height: 1.8; margin: 22px 0; }
.form-consent input { width: 18px; height: 18px; flex: 0 0 18px; margin-top: 4px; accent-color: #0088c9; }
.form-consent a { text-decoration: underline; text-underline-offset: 3px; }
.site-form .form-submit { border: 0; cursor: pointer; font: inherit; font-size: 1rem; }
.site-form .form-submit:disabled { opacity: .65; cursor: wait; }
.site-form .form-status { font-size: .9375rem; line-height: 1.8; margin: 16px 0 0; overflow-wrap: anywhere; }
.form-status:empty { display: none; }
.form-status[data-state=error] { color: #b22525; }
.form-status[data-state=success] { color: #00685e; background: #e7f8f3; padding: 16px; border-radius: 4px; }
.site-form .form-caption { color: #60717a; font-size: .8125rem; line-height: 1.8; margin: 16px 0 0; }
.form-honey { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.newsletter-box { display: grid; grid-template-columns: 1fr 1.05fr; gap: 65px; margin-top: 75px; padding-top: 45px; border-top: 1px solid #ffffff30; }
.newsletter-box h3 { font-size: 1.65rem; margin: 12px 0; }
.newsletter-box p { font-size: .9375rem; color: #c6dcec; }
.newsletter-fields { display: flex; gap: 10px; align-items: stretch; margin-top: 10px; }
.newsletter-fields input { flex: 1; margin-top: 0 !important; }
.newsletter-fields button { flex: 0 0 auto; white-space: nowrap; }
.newsletter-box .form-consent { margin: 14px 0; }
.newsletter-box .form-status[data-state=error] { color: #ffcccc; }
.newsletter-box .form-status[data-state=success] { color: #005447; }
.unsubscribe-link { font-size: .8125rem; text-decoration: underline; text-underline-offset: 4px; color: #c1d9e9; }
.privacy-note { margin-top: 45px; border-top: 1px solid #ffffff30; font-size: .875rem; color: #c6dcec; }
.privacy-note summary { padding: 20px 0; cursor: pointer; }
.privacy-note p { max-width: 850px; margin: 0 0 14px; line-height: 1.9; }
.admin-link { font-size: .75rem; color: #687e8a; }
@media(max-width:1100px) { .contact-panel { padding: 25px; } .newsletter-box { gap: 35px; } }
@media(max-width:760px) { .contact-grid { gap: 34px; } .contact-panel { padding: 23px 20px; } .site-form h3 { font-size: 1.2rem; } .newsletter-box { grid-template-columns: 1fr; gap: 25px; margin-top: 50px; padding-top: 35px; } .newsletter-fields { flex-direction: column; } .newsletter-fields button { justify-content: center; } .form-submit { width: 100%; justify-content: space-between; } .admin-link { order: 4; } }
