:root {
  color-scheme: light;
  --paper: #f8f6ec;
  --white: #fffdf5;
  --ink: #172e26;
  --pine: #173e32;
  --leaf: #285643;
  --muted: #4b6054;
  --rule: #d4d9ca;
  --sage: #e7eddf;
  --lime: #e4ed9c;
  --gutter: clamp(20px, 5vw, 72px);
  --section: clamp(58px, 8vw, 118px);
  --sans: 'Hiragino Kaku Gothic ProN', 'Yu Gothic', Meiryo, sans-serif;
  --serif: Georgia, 'Yu Mincho', 'Hiragino Mincho ProN', serif;
  font: 16px/1.8 var(--sans);
  scroll-padding-top: 95px;
  scroll-padding-bottom: 85px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; color: var(--ink); background: var(--paper); }
h1, h2, h3, h4, p, ul, dl, dd, figure { margin: 0; }
h2 { font-size: clamp(28px, 4.75vw, 55px); line-height: 1.25; letter-spacing: -.065em; font-weight: 800; }
h3, h4 { line-height: 1.45; }
img { display: block; width: 100%; height: auto; }
a { color: inherit; }
a, summary { touch-action: manipulation; }
:where(a, button, summary):focus-visible { outline: 3px solid #826200; outline-offset: 5px; }
.skip { position: fixed; z-index: 10; left: 10px; top: 10px; clip-path: inset(50%); padding: 8px 14px; background: var(--white); }
.skip:focus { clip-path: none; }
.wrap { width: min(calc(100% - 2 * var(--gutter)), 1240px); margin-inline: auto; }
.section { padding-block: var(--section); }

.header { position: sticky; z-index: 4; top: 0; background: var(--paper); border-bottom: 1px solid var(--rule); }
.header-inner { min-height: 73px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-grid; justify-items: start; flex: none; line-height: 1; text-decoration: none; }
.brand strong { font: 700 40px/.95 Georgia, serif; letter-spacing: -.08em; }
.brand strong span { color: #75894d; }
.brand > span { margin-top: 5px; font-size: 10px; letter-spacing: .08em; font-weight: 800; }
.desktop-nav { display: flex; justify-content: flex-end; flex: 1; gap: clamp(15px, 2.6vw, 36px); }
.desktop-nav a { display: flex; align-items: center; min-height: 44px; white-space: nowrap; text-decoration: none; font-size: 14px; font-weight: 800; }
.desktop-nav a:hover { text-decoration: underline; text-underline-offset: 5px; }
.mobile-menu { display: none; }

.button { display: inline-flex; justify-content: space-between; align-items: center; gap: 13px; min-height: 50px; padding: 10px 18px; border: 1px solid transparent; border-radius: 8px; font-size: 15px; font-weight: 800; line-height: 1.4; text-decoration: none; transition: background-color .18s ease, border-color .18s ease; }
.button span, .text-link span { flex: none; font-size: 17px; }
.button-outline { min-height: 44px; color: var(--pine); border-color: #a4b1a1; white-space: nowrap; font-size: 14px; }
.button-outline:hover { background: var(--sage); }
.button-primary { background: var(--lime); color: #1b392c; border-color: #c8d584; }
.button-primary:hover { background: #d7e480; border-color: #b5c467; }
.text-link { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; font-size: 14px; font-weight: 800; text-decoration-line: underline; text-underline-offset: .3em; }
.text-link:hover { text-decoration-thickness: 2px; }

.hero { display: grid; grid-template-columns: minmax(0, .96fr) minmax(0, 1.04fr); align-items: center; gap: clamp(27px, 4.6vw, 72px); padding-block: clamp(28px, 5vw, 72px); }
.hero-label { color: var(--leaf); font-weight: 800; font-size: clamp(13px, 1.25vw, 16px); }
.hero h1 { margin-block: 16px 15px; font-weight: 800; line-height: 1; }
.hero h1 > span { display: block; white-space: nowrap; }
.hero-lead { max-width: 35em; font-size: clamp(14px, 1.23vw, 17px); line-height: 1.85; color: var(--muted); }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 18px; margin-top: 15px; }
.hero-actions .button { min-width: min(100%, 225px); }
.hero-photo { position: relative; overflow: hidden; border-radius: 20px 20px 20px 78px; background: #b9bc9f; }
.hero-photo-media { display: block; }
.hero-photo img { aspect-ratio: 1.21; height: auto; object-fit: cover; object-position: 58% 50%; }
.hero-photo figcaption, .course-photo figcaption { position: absolute; right: 13px; bottom: 12px; border-radius: 4px; padding: 2px 6px; background: #1e302bd9; color: white; font-size: 11px; }
.motion-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 44px; width: max-content; padding: 5px 11px; border: 1px solid #a4b1a1; border-radius: 7px; background: var(--white); color: var(--pine); font: 700 12px/1.4 var(--sans); cursor: pointer; }
.motion-toggle:hover { background: #eef0df; }
.motion-toggle::before { display: block; width: 10px; height: 11px; border-inline: 3px solid currentColor; content: ''; }
.motion-toggle[data-loop-paused]::before { border: 0; background: currentColor; clip-path: polygon(0 0, 100% 50%, 0 100%); }
.hero-photo .motion-toggle { position: absolute; bottom: 12px; left: clamp(25px, 4.5vw, 62px); }

.subject-band { background: var(--pine); color: var(--white); }
.subject-inner { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding-block: 17px; }
.subject-inner p { color: var(--lime); white-space: nowrap; font-size: 13px; font-weight: 800; }
.subject-inner ul { display: flex; flex: 1; justify-content: space-between; gap: 8px; max-width: 850px; list-style: none; padding: 0; }
.subject-inner li { flex: 1; border-left: 1px solid #5d786e; text-align: center; font-weight: 800; }

.section-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .55fr); align-items: end; gap: 18px 50px; margin-bottom: clamp(22px, 4vw, 48px); }
.section-heading p { max-width: 28em; color: var(--muted); line-height: 1.85; }
.roadmap { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.roadmap li { padding: clamp(16px, 2.4vw, 31px); background: var(--white); border: 1px solid var(--rule); border-top: 4px solid #a1ad73; border-radius: 5px 5px 14px 14px; }
.roadmap li:last-child { background: var(--sage); border-top-color: var(--leaf); }
.roadmap-stage { color: var(--leaf); font-size: 13px; font-weight: 800; }
.roadmap h3 { margin: 6px 0 9px; font-size: clamp(18px, 2vw, 24px); letter-spacing: -.035em; }
.roadmap p { color: var(--muted); font-size: 14px; }
.lesson-example { margin-top: 22px; border-block: 1px solid var(--rule); }
summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; list-style: none; cursor: pointer; }
summary::-webkit-details-marker { display: none; }
.lesson-example summary, .faq summary { min-height: 61px; padding: 8px 4px 8px 0; }
.lesson-example summary::after, .faq summary::after { display: grid; place-items: center; flex: none; width: 29px; height: 29px; border: 1px solid #a4b1a1; border-radius: 50%; content: '+'; color: var(--pine); font: 19px/1 var(--sans); }
.lesson-example[open] summary::after, .faq details[open] summary::after { content: '−'; }
.lesson-example summary span { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 14px; }
.lesson-example small { color: var(--muted); font-size: 13px; }
.lesson-example ol { margin: 0; padding: 0 0 16px 28px; color: var(--muted); font-size: 14px; }

.results-section { color: var(--white); background: var(--pine); }
.results-section .section-heading { margin-bottom: 28px; }
.results-section .section-heading p { color: #e0e9d9; }
.case-group-title { width: fit-content; padding-bottom: 5px; border-bottom: 2px solid #aec472; color: var(--lime); font-size: 17px; }
.results-group + .results-group { margin-top: 38px; }
.case-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 15px; padding: 0; list-style: none; }
.case-card { display: flex; flex-direction: column; gap: 12px; padding: clamp(18px, 2.3vw, 30px); border: 1px solid #d6ddc8; border-radius: 13px; background: var(--white); color: var(--ink); }
.case-card:nth-child(3n + 2) { background: #eef0df; }
.case-card .case-label { color: var(--leaf); font-size: 13px; font-weight: 800; }
.case-card h4 { font-size: clamp(23px, 2.4vw, 35px); font-weight: 800; letter-spacing: -.055em; overflow-wrap: anywhere; }
.case-card p { color: var(--muted); font-size: 14px; }
.case-card .case-details { border-top: 1px solid var(--rule); margin-top: auto; padding-top: 8px; font-size: 12px; }
.case-note { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0 14px; margin-top: 11px; color: #e0e9d9; font-size: 13px; }
.case-note a { font-size: 13px; }
.case-stories { max-width: 850px; }
.case-stories-intro { margin-block: 9px 18px; color: var(--muted); }
.case-stories details { border-top: 1px solid var(--rule); }
.case-stories details:last-of-type { border-bottom: 1px solid var(--rule); }
.case-stories summary { min-height: 59px; padding: 10px 0; font-weight: 800; }
.case-stories summary::after { flex: none; color: var(--leaf); content: '+'; }
.case-stories details[open] summary::after { content: '−'; }
.case-stories blockquote { margin: 0 0 18px; padding-left: 16px; border-left: 3px solid var(--rule); color: var(--muted); }
.case-stories blockquote p + p { margin-top: .8em; }

.offer { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); align-items: center; gap: clamp(30px, 7vw, 110px); }
.schedule dl { margin: 23px 0 12px; border-top: 1px solid var(--rule); }
.schedule dl div { display: grid; grid-template-columns: minmax(138px, max-content) minmax(0, 1fr); align-items: baseline; gap: 6px 13px; padding-block: 12px; border-bottom: 1px solid var(--rule); }
.schedule dt { color: var(--pine); font-size: clamp(14px, 1.6vw, 17px); font-weight: 800; }
.schedule p, .teacher p { color: var(--muted); }
.offer-card { padding: clamp(20px, 4vw, 48px); border: 1px solid #c4cfbb; border-radius: 19px; background: var(--sage); }
.offer-card h2 { font-size: 20px; letter-spacing: -.02em; }
.offer-prices { display: grid; gap: 8px; margin-block: 9px 16px; }
.offer-regular { display: flex; flex-wrap: wrap; gap: 0 9px; align-items: baseline; font-size: 15px; font-weight: 800; }
.offer-discount dt { color: var(--leaf); font-size: 14px; font-weight: 800; }
.offer-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 3px; margin-top: 4px; font-weight: 800; line-height: 1.06; }
.offer-price > span { white-space: nowrap; }
.offer-price strong { font: 700 clamp(44px, 6.1vw, 82px)/.9 Georgia, serif; letter-spacing: -.07em; }
.offer-price small { font-size: clamp(12px, 1.5vw, 21px); }
.offer-condition { margin-top: 10px; color: var(--muted); font-size: 13px; }
.includes { display: grid; gap: 6px; padding: 11px 0 0; border-top: 1px solid #bdcbb5; list-style: none; font-size: 14px; font-weight: 800; }
.includes li { display: flex; align-items: baseline; gap: 9px; }
.includes li::before { content: '✓'; color: var(--leaf); }
.course-terms { display: grid; gap: 9px; margin-top: 13px; padding-top: 12px; border-top: 1px solid #bdcbb5; font-size: 14px; }
.course-terms div { display: grid; grid-template-columns: 5em minmax(0, 1fr); align-items: baseline; gap: 7px; }
.course-terms dt { color: var(--pine); font-weight: 800; }
.course-terms dd { color: var(--muted); }
.offer-card .button { width: 100%; margin-top: 15px; }

.teacher { padding-block: clamp(25px, 5vw, 62px); background: var(--sage); }
.teacher-inner { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1fr); align-items: center; gap: clamp(20px, 7vw, 90px); }
.teacher img { aspect-ratio: 1.45; object-fit: cover; object-position: center 39%; border-radius: 14px; }
.teacher h2 { font-size: clamp(26px, 4.1vw, 45px); }
.teacher p { max-width: 33em; margin-top: 13px; }
.teacher .text-link { margin-top: 5px; }

.faq { display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); align-items: start; gap: 18px 30px; }
.faq details { border-top: 1px solid var(--rule); }
.faq details:last-child { border-bottom: 1px solid var(--rule); }
.faq details p { padding-bottom: 14px; color: var(--muted); }
.faq summary { font-weight: 800; }

.contact { padding-block: clamp(43px, 7.5vw, 90px); background: var(--pine); color: var(--white); }
.contact-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .46fr); align-items: center; gap: 15px 45px; }
.contact p { margin-top: 13px; color: #e0e9d9; }
.contact-actions { display: grid; }
.contact-actions .text-link { width: fit-content; }
.footer { padding-block: 25px; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px 24px; }
.footer nav { display: flex; flex-wrap: wrap; gap: 3px 17px; }
.footer nav a { display: inline-flex; align-items: center; min-height: 40px; color: var(--muted); font-size: 13px; text-underline-offset: 4px; }
.mobile-action { display: none; }

[aria-current='page'] { text-underline-offset: .35em; }
.desktop-nav [aria-current='page'], .mobile-menu [aria-current='page'] { color: var(--leaf); text-decoration: underline; text-decoration-thickness: 2px; }
.header-action[aria-current='page'] { background: var(--sage); }
.home-hero h1 { font-size: clamp(25px, 3.45vw, 51px); line-height: 1.23; letter-spacing: -.065em; }
.home-hero h1 > span { white-space: normal; }
.hero-course-summary { margin-top: 17px; padding: 9px 12px; border: 1px solid var(--rule); border-radius: 9px; background: var(--sage); }
.hero-course-summary p { color: var(--pine); font-size: 13px; font-weight: 800; }
.hero-course-facts { display: flex; flex-wrap: wrap; gap: 1px 14px; margin-top: 2px; }
.hero-course-facts div { display: flex; align-items: baseline; gap: 5px; }
.hero-course-facts dt { color: var(--muted); font-size: 12px; }
.hero-course-facts dd { color: var(--pine); font-size: 14px; font-weight: 800; }
.home-hero .hero-actions { margin-top: 23px; }
.home-hero .hero-actions .text-link { font-size: 13px; }
.home-program { background: var(--pine); color: var(--white); }
.home-program-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, auto); align-items: center; gap: 16px 35px; padding-block: clamp(24px, 3.5vw, 48px); }
.home-program-label { margin-bottom: 5px; color: var(--lime); font-size: 14px; font-weight: 800; }
.home-program h2 { font-size: clamp(25px, 3.6vw, 49px); }
.home-program-description { margin-top: 8px; color: #e0e9d9; }
.home-program-action { display: grid; gap: 9px; min-width: min(100%, 245px); }
.home-directory { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding: 0; list-style: none; }
.home-directory a { position: relative; display: block; height: 100%; min-height: 150px; padding: 18px 40px 20px 18px; border: 1px solid var(--rule); border-radius: 14px; background: var(--white); text-decoration: none; }
.home-directory a:hover { border-color: #a4b1a1; background: var(--sage); }
.home-directory a span { position: absolute; top: 17px; right: 16px; color: var(--leaf); }
.home-directory h2 { margin-bottom: 8px; font-size: clamp(19px, 2.35vw, 27px); }
.home-directory p { color: var(--muted); font-size: 14px; }
.home-more { padding-bottom: var(--section); }
.service-directory { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; padding: 0; list-style: none; }
.service-directory a { position: relative; display: block; height: 100%; padding: 20px 43px 20px 20px; border: 1px solid var(--rule); border-radius: 13px; background: var(--white); text-decoration: none; }
.service-directory a:hover { border-color: #a4b1a1; background: var(--sage); }
.service-directory .service-featured a { border-color: #aebda1; background: var(--sage); }
.service-directory h3 { font-size: clamp(18px, 2vw, 24px); }
.service-directory p { margin-top: 6px; color: var(--muted); font-size: 14px; }
.service-directory a span { position: absolute; top: 17px; right: 17px; color: var(--leaf); }

.page-intro { padding-block: 12px clamp(28px, 5vw, 57px); border-bottom: 1px solid var(--rule); background: var(--sage); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 0 10px; margin: 0 0 clamp(18px, 3.5vw, 39px); padding: 0; color: var(--muted); list-style: none; font-size: 12px; }
.breadcrumb a { display: inline-flex; align-items: center; min-height: 36px; text-underline-offset: 4px; }
.breadcrumb li + li { display: flex; align-items: center; gap: 10px; }
.breadcrumb li + li::before { color: #5b705c; content: '›'; font-size: 17px; }
.page-intro h1 { font-size: clamp(31px, 5.3vw, 68px); line-height: 1.14; letter-spacing: -.07em; overflow-wrap: anywhere; }
.page-intro > .wrap > p, .course-intro-copy > p { margin-top: 10px; color: var(--muted); }
.page-kicker { color: var(--leaf); font-size: 13px; font-weight: 800; }
.course-intro-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(14px, 4vw, 56px); }
.course-intro-copy h1 { font-size: clamp(29px, 4.3vw, 57px); word-break: keep-all; }
.course-intro-offer { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 23px; margin-top: 14px; }
.course-intro-prices { display: grid; gap: 2px; }
.course-intro-prices div { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 7px; }
.course-intro-prices dt { color: var(--muted); font-size: 12px; }
.course-intro-prices dd { color: var(--pine); font-size: 15px; font-weight: 800; }
.course-promise { color: var(--leaf); font-size: clamp(22px, 3vw, 37px); letter-spacing: -.04em; font-weight: 800; }
.course-visual { --course-cycle: 5.6s; --course-photo-zoom: 1.42; display: grid; gap: 8px; }
.course-photo { position: relative; overflow: hidden; border-radius: 20px; background: #d5c9af; }
.course-photo img { aspect-ratio: 8 / 5; height: auto; object-fit: cover; object-position: center 53%; }
.course-photo-focus { position: absolute; inset: 20% 28% 39% 21%; color: #e7f99d; opacity: 0; pointer-events: none; filter: drop-shadow(0 1px 2px #142c20); }
.course-photo-focus::before, .course-photo-focus::after { position: absolute; width: clamp(17px, 3.5vw, 27px); aspect-ratio: 1; content: ''; }
.course-photo-focus::before { top: 0; left: 0; border-top: 3px solid; border-left: 3px solid; border-top-left-radius: 7px; }
.course-photo-focus::after { bottom: 0; right: 0; border-bottom: 3px solid; border-right: 3px solid; border-bottom-right-radius: 7px; }
.course-flow {
  display: grid;
  container-type: inline-size;
  grid-template-columns: minmax(0, 1fr) minmax(27px, .47fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(4px, .9vw, 12px);
  padding: clamp(7px, 1vw, 12px);
  border: 1px solid #3f5d4e;
  border-radius: 16px;
  background: linear-gradient(120deg, #1b332a, #10241e);
  color: #f5f8ed;
  font-size: clamp(12px, 1.15vw, 16px);
  font-weight: 800;
  line-height: 1.3;
}
.course-flow-step {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  align-content: center;
  gap: 5px 10px;
  min-height: 70px;
  height: 100%;
  padding: 7px 4px;
  border: 1px solid #506c5b;
  border-radius: 10px;
  background: #203b30;
  text-align: center;
  word-break: keep-all;
}
.course-flow-step::before { position: absolute; z-index: -1; inset: 0; border-radius: inherit; background: radial-gradient(ellipse at 35% 0%, #567a52, #2c4939 75%); box-shadow: inset 0 0 0 1px #b5d486; opacity: .2; content: ''; }
.course-flow-icon { position: relative; flex: 0 0 33px; width: 33px; height: 33px; border: 1px solid #719374; border-radius: 9px; background: #122c24; color: var(--lime); }
.course-flow-camera::before { position: absolute; inset: 10px 11px 10px 6px; border: 1.5px solid currentColor; border-radius: 3px; content: ''; }
.course-flow-camera::after { position: absolute; top: 10px; right: 5px; width: 6px; height: 11px; background: currentColor; clip-path: polygon(0 27%, 100% 0, 100% 100%, 0 73%); content: ''; }
.course-flow-play::before { position: absolute; inset: 8px 6px; border: 1.5px solid currentColor; border-radius: 4px; content: ''; }
.course-flow-play::after { position: absolute; inset: 11px 11px 11px 13px; background: currentColor; clip-path: polygon(0 0, 100% 50%, 0 100%); content: ''; }
.course-flow-transfer { position: relative; overflow: hidden; height: 16px; }
.course-flow-transfer::before { position: absolute; inset: 7px 2px 7px 0; border-radius: 2px; background: #74967c; content: ''; }
.course-flow-transfer::after { position: absolute; top: 4px; right: 3px; width: 8px; height: 8px; border-top: 2px solid #bad7a6; border-right: 2px solid #bad7a6; transform: rotate(45deg); content: ''; }
.course-flow-sweep { position: absolute; inset: 6px 4px 6px 0; border-radius: 3px; background: linear-gradient(90deg, transparent 10%, #8eb78a 54%, #f2ffbd 93%); box-shadow: 0 0 8px #d8f68d66; opacity: 0; }
@container (max-width: 535px) {
  .course-flow-step {
    display: grid;
    grid-template-rows: 33px minmax(2.6em, auto);
    justify-content: stretch;
    justify-items: center;
  }
}
.course-visual .motion-toggle { justify-self: end; }
.about-guidance { margin-top: 21px; color: var(--muted); }
.about-links { display: flex; flex-wrap: wrap; gap: 0 21px; margin-top: 5px; }
.related-services .text-link + .text-link { margin-left: 14px; }
.related-services h2, .inquiry-help h2 { font-size: clamp(24px, 3.2vw, 36px); }
.related-services p, .inquiry-help p { margin-top: 10px; color: var(--muted); }
.social-channels { padding-block: 22px clamp(28px, 4vw, 54px); border-top: 1px solid var(--rule); }
.social-channels h2 { font-size: clamp(21px, 2.5vw, 29px); }
.social-channels ul { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 12px; padding: 0; list-style: none; }
.social-link { display: grid; width: 52px; height: 52px; place-items: center; border: 1px solid var(--rule); border-radius: 13px; background: var(--white); }
.social-link:hover { border-color: #a4b1a1; background: var(--sage); }
.social-link--instagram { color: #bf2e6b; }
.social-link--tiktok { color: #111; }
.social-link--youtube { color: #e60000; }
.social-link--facebook { color: #0866ff; }
.inquiry-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.inquiry-card { display: grid; grid-template-rows: auto 1fr auto; gap: 12px; padding: clamp(19px, 3vw, 39px); border: 1px solid var(--rule); border-radius: 15px; background: var(--white); }
.inquiry-primary { border-color: #c4cfbb; background: var(--sage); }
.inquiry-card h2 { font-size: clamp(23px, 3vw, 34px); }
.inquiry-card p { color: var(--muted); }
.inquiry-card .button { justify-self: start; }
.inquiry-card .button-outline { white-space: normal; }
.inquiry-help { padding-bottom: var(--section); }
.attendance-areas { margin-top: 12px; padding-left: 1.2em; color: var(--muted); }
.course-jump { position: sticky; top: 73px; z-index: 2; border-bottom: 1px solid var(--rule); background: var(--paper); }
.course-jump-links { display: flex; flex-wrap: wrap; gap: 0 21px; }
.course-jump-links a { display: inline-flex; align-items: center; min-height: 45px; padding: 2px 0; color: var(--pine); font-size: 14px; font-weight: 800; text-underline-offset: 4px; }
.course-jump ~ section[id], .course-jump ~ section :is(#schedule, #pricing) { scroll-margin-top: 49px; }

.library-content { padding-top: clamp(32px, 5vw, 61px); }
.library-highlight { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.library-highlight a { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 62px; padding: 9px 15px; border: 1px solid var(--rule); border-radius: 9px; background: var(--white); font-weight: 800; text-decoration: none; }
.library-highlight a:hover { background: var(--sage); }
.library-archive { margin-top: clamp(36px, 6vw, 66px); }
.library-archive h2 { font-size: clamp(27px, 3.8vw, 44px); }
.library-filter { display: grid; grid-template-columns: minmax(0, 1fr) minmax(150px, .48fr); gap: 10px 15px; margin-top: 17px; padding: 16px; border: 1px solid var(--rule); border-radius: 12px; background: var(--sage); }
.library-filter label { display: grid; gap: 4px; font-size: 14px; font-weight: 800; }
.library-filter :is(input, select) { width: 100%; min-height: 44px; padding: 7px 9px; border: 1px solid #a4b1a1; border-radius: 6px; background: var(--white); color: var(--ink); font: 16px/1.4 var(--sans); }
.library-status { margin-block: 12px 7px; color: var(--muted); font-size: 14px; }
.library-list { padding: 0; list-style: none; border-top: 1px solid var(--rule); }
.library-list a { display: grid; grid-template-columns: 125px minmax(0, 1fr) auto; align-items: center; gap: 4px 13px; min-height: 58px; padding-block: 11px; border-bottom: 1px solid var(--rule); text-decoration: none; }
.library-list a:hover strong { text-decoration: underline; text-underline-offset: 3px; }
.library-list a > span { color: var(--leaf); }
.article-meta { display: grid; font-size: 12px; line-height: 1.55; }
.article-meta time { color: var(--muted); }
.library-more { margin-top: 13px; background: var(--white); color: var(--pine); cursor: pointer; }
.library-groups { margin-top: 30px; border-block: 1px solid var(--rule); }
.library-groups summary { min-height: 52px; font-weight: 800; }
.library-groups summary::after { color: var(--leaf); content: '+'; }
.library-groups[open] summary::after { content: '−'; }
.library-groups ul { display: flex; flex-wrap: wrap; gap: 0 15px; padding: 0 0 12px; list-style: none; }
.library-groups a { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; text-underline-offset: 4px; }

@media (max-width: 870px) {
  .header-inner { min-height: 64px; }
  .brand strong { font-size: 35px; }
  .header-action, .desktop-nav { display: none; }
  .course-jump { top: 64px; }
  .mobile-menu { display: block; }
  .mobile-menu summary { min-height: 44px; font-size: 14px; font-weight: 800; }
  .menu-icon { width: 17px; height: 7px; border-block: 1.5px solid currentColor; }
  .mobile-menu nav { position: absolute; inset: 100% 0 auto; display: grid; padding: 4px var(--gutter) 12px; border-bottom: 1px solid var(--rule); background: var(--paper); box-shadow: 0 10px 20px #142f2412; }
  .mobile-menu a { display: flex; align-items: center; min-height: 45px; border-bottom: 1px solid var(--rule); font-size: 14px; font-weight: 800; text-decoration: none; }
  .hero-photo img { aspect-ratio: 1.07; }
  .mobile-action { position: fixed; z-index: 3; inset: auto 0 0; display: grid; justify-items: center; padding: 8px var(--gutter) calc(8px + env(safe-area-inset-bottom)); border-top: 1px solid var(--rule); background: var(--paper); }
  .mobile-action .button { width: min(100%, 440px); }
  .footer { padding-bottom: calc(82px + env(safe-area-inset-bottom)); }
}

@media (max-width: 620px) {
  :root { scroll-padding-top: 79px; }
  .hero, .section-heading, .offer, .teacher-inner, .faq, .contact-inner { grid-template-columns: minmax(0, 1fr); }
  .hero { padding-top: 23px; gap: 18px; }
  .hero-lead { line-height: 1.7; }
  .hero-actions { margin-top: 11px; gap: 1px 12px; }
  .hero-actions .button { width: 100%; min-width: 0; }
  .hero-actions .text-link { font-size: 13px; }
  .hero-photo { border-radius: 17px 17px 17px 48px; }
  .hero-photo img { aspect-ratio: 1.48; }
  .subject-inner { gap: 7px; padding-block: 12px; }
  .subject-inner ul { gap: 0; }
  .subject-inner p { font-size: 11px; }
  .subject-inner li { font-size: 12px; }
  .section-heading { gap: 9px; }
  .section-heading p { font-size: 15px; }
  .roadmap, .case-grid { grid-template-columns: minmax(0, 1fr); }
  .roadmap li { border-top-width: 1px; border-left: 4px solid #a1ad73; border-radius: 6px 12px 12px 6px; }
  .roadmap li:last-child { border-top-color: var(--rule); border-left-color: var(--leaf); }
  .case-card { gap: 7px; }
  .case-card h4 { font-size: 23px; }
  .teacher img { max-width: 360px; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
  .home-hero h1 { margin-block: 11px 13px; }
  .home-hero .hero-actions { margin-top: 15px; }
  .home-program-inner, .home-directory, .inquiry-options, .service-directory, .library-highlight, .library-filter { grid-template-columns: minmax(0, 1fr); }
  .home-directory a { min-height: auto; }
  .related-services .text-link + .text-link { margin-left: 0; }
  .course-jump-links { justify-content: space-between; gap: 0 7px; }
  .course-jump-links a { font-size: 12px; }
  .library-list a { grid-template-columns: minmax(0, 1fr) auto; }
  .article-meta { grid-column: 1 / -1; display: flex; gap: 8px; }
  .course-intro-layout { grid-template-columns: minmax(0, 1fr); }
  .course-intro { padding-top: 5px; }
  .course-intro .breadcrumb ol { margin-bottom: 8px; }
  .course-intro-copy > p { margin-top: 7px; font-size: 14px; line-height: 1.55; }
  .course-intro-offer { margin-top: 8px; }
  .course-promise { line-height: 1.4; }
  .course-visual { --course-photo-zoom: 1.55; }
}

@media (prefers-reduced-motion: reduce) {
  .button { transition: none; }
  .motion-toggle { display: none; }
}

@media (prefers-reduced-motion: no-preference) {
  :root {
    --arrival: cubic-bezier(.2, .76, .2, 1);
    --card-offset: 36px;
    --hero-offset: 33px;
    scroll-behavior: smooth;
  }

  .hero h1 > span { animation: hero-rise 650ms var(--arrival) both; }
  .hero h1 > span + span { animation-delay: 105ms; }
  .hero-photo { animation: photo-wipe 790ms var(--arrival) 40ms both; }
  .hero-photo img { animation: settle-photo 1080ms var(--arrival) 40ms both; }
  .hero-photo-media { animation: photo-drift 11s ease-in-out 1120ms infinite alternate; }
  .course-photo img { animation: course-photo-pan var(--course-cycle) cubic-bezier(.22, .72, .24, 1) infinite; }
  .course-photo-focus { animation: course-photo-focus var(--course-cycle) ease-in-out infinite; }
  .course-flow-sweep { animation: course-flow-sweep var(--course-cycle) ease-in-out infinite; }
  .course-flow-step::before { animation: course-flow-light var(--course-cycle) ease-in-out infinite; }
  .course-flow-step:last-child::before { animation-delay: -2.5s; }
  .hero-photo-media, .course-photo img, .course-photo-focus, .course-flow-sweep, .course-flow-step::before { animation-play-state: paused; }
  [data-loop-playing] :is(.hero-photo-media, .course-photo img, .course-photo-focus, .course-flow-sweep), [data-loop-playing] .course-flow-step::before { animation-play-state: running; }

  .roadmap > li, .case-card { position: relative; }
  .roadmap > li, .case-grid > li { --card-delay: 0ms; }
  .roadmap > li:nth-child(3n + 2), .case-grid > li:nth-child(3n + 2) { --card-delay: 105ms; }
  .roadmap > li:nth-child(3n), .case-grid > li:nth-child(3n) { --card-delay: 210ms; }
  [data-scroll-motion='waiting'] { opacity: .18; transform: translateY(var(--card-offset)); }
  [data-scroll-motion='entered'] { animation: card-rise 630ms var(--arrival) var(--card-delay) both; }

  .roadmap > [data-scroll-motion]::after {
    position: absolute;
    inset: -4px -1px auto;
    height: 4px;
    border-radius: 4px 4px 0 0;
    background: var(--leaf);
    transform: scaleX(0);
    transform-origin: left;
    content: '';
  }
  .roadmap > [data-scroll-motion='entered']::after {
    animation: draw-accent 550ms var(--arrival) calc(var(--card-delay) + 145ms) both;
  }

  .button span { transition: transform 180ms var(--arrival); }
  .button:active span, .button:focus-visible span { transform: translate(3px, -3px); }
  .hero-actions .text-link span { transition: transform 180ms var(--arrival); }
  .hero-actions .text-link:focus-visible span { transform: translateY(4px); }
  .lesson-example[open] ol, .faq details[open] > p { animation: rise-in 260ms var(--arrival) both; }

  @media (hover: hover) and (pointer: fine) {
    .button:hover span { transform: translate(3px, -3px); }
    .hero-actions .text-link:hover span { transform: translateY(4px); }
  }

  @media (max-width: 620px) {
    :root { --card-offset: 27px; --hero-offset: 22px; }
    .roadmap > li:nth-child(n), .case-grid > li:nth-child(n) { --card-delay: 0ms; }
    .roadmap > [data-scroll-motion]::after {
      inset: -1px auto -1px -4px;
      width: 4px;
      height: auto;
      border-radius: 4px 0 0 4px;
      transform: scaleY(0);
      transform-origin: top;
    }
    .roadmap > [data-scroll-motion='entered']::after { animation-name: draw-accent-down; }
  }

  @keyframes hero-rise {
    from { opacity: .3; transform: translateY(var(--hero-offset)); }
    to { opacity: 1; transform: none; }
  }
  @keyframes photo-wipe {
    from { clip-path: inset(0 100% 0 0); }
    to { clip-path: inset(0 0 0 0); }
  }
  @keyframes settle-photo {
    from { transform: scale(1.13); }
    to { transform: none; }
  }
  @keyframes photo-drift {
    from { transform: none; }
    to { transform: translate(-2%, -1.5%) scale(1.15); }
  }
  @keyframes course-photo-pan {
    0%, 100% { transform: none; }
    17%, 29% { transform: translate(16%, -6%) scale(var(--course-photo-zoom)); }
    61%, 81% { transform: translate(-10%, -19%) scale(var(--course-photo-zoom)); }
  }
  @keyframes course-photo-focus {
    0%, 6%, 34%, 50%, 88%, 100% { opacity: 0; }
    14%, 28%, 61%, 80% { opacity: 1; }
    0%, 34% { transform: none; }
    50%, 100% { transform: translate(13%, 56%) scale(.83); }
  }
  @keyframes course-flow-sweep {
    0%, 25% { transform: translateX(-100%); opacity: 0; }
    32%, 51% { opacity: 1; }
    62%, 100% { transform: translateX(100%); opacity: 0; }
  }
  @keyframes course-flow-light {
    0%, 100% { opacity: .2; }
    9%, 26% { opacity: 1; }
    40%, 88% { opacity: .2; }
  }
  @keyframes rise-in {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: none; }
  }
  @keyframes card-rise {
    from { opacity: .18; transform: translateY(var(--card-offset)); }
    to { opacity: 1; transform: none; }
  }
  @keyframes draw-accent {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
  }
  @keyframes draw-accent-down {
    from { transform: scaleY(0); }
    to { transform: scaleY(1); }
  }
}

@media print {
  :root { scroll-behavior: auto; }
  .hero h1 > span, .hero-photo, .hero-photo img, .hero-photo-media,
  [data-scroll-motion], .roadmap > [data-scroll-motion]::after { animation: none !important; transform: none; opacity: 1; }
  .course-photo img, .course-photo-focus, .course-flow-sweep, .course-flow-step::before { animation: none; }
  .motion-toggle { display: none; }
}
