/* 美Qi — second pass. Preserve the supplied palette and established typefaces. */
:root{--ivory:#f7f5ef;--paper:#fffdf8;--ink:#39392e;--sage:#737d60;--deep:#4f5c46;--rose:#a4676b}
html{scrollbar-gutter:stable}
[data-photo]{cursor:zoom-in;touch-action:manipulation;transition:filter .45s,box-shadow .45s}
[data-photo]:hover{filter:brightness(1.035)}
[data-photo]:focus-visible{outline:3px solid var(--rose);outline-offset:-5px}
.immersive-photo{pointer-events:auto}.immersive-photo img{pointer-events:auto}
.course-feature:after,.contact-image:after{pointer-events:none}
.course-feature-copy{pointer-events:none}
.hero-photo-open{font-size:10px;letter-spacing:.04em;display:flex;align-items:center;gap:8px;border:0;border-bottom:1px solid #e7d5ae70;background:none;color:inherit;padding:4px 0;margin-top:4px}
.hero-photo-open>span{display:grid;place-items:center;width:22px;height:22px;border:1px solid #e7d5ae70;border-radius:50%;font-size:16px;line-height:1;transition:transform .4s}
.hero-photo-open:hover>span{transform:rotate(90deg)}
.result-copy .result-focus{padding:11px 0 11px 13px;border-left:2px solid #b6a170;font-size:11px;line-height:1.9;color:var(--deep);margin:15px 0 23px}
.check-option[aria-pressed=true]:after{content:'';position:absolute;inset:0;background:linear-gradient(110deg,transparent 15%,#ffffed88 45%,transparent 70%);pointer-events:none;animation:choiceSweep .7s ease-out both}
@keyframes choiceSweep{from{translate:-105% 0}to{translate:105% 0}}
body.photo-open{overflow:hidden}
.photo-dialog{width:100%;max-width:none;height:100svh;max-height:none;margin:0;padding:26px clamp(20px,4vw,70px);border:0;color:var(--ink);background:radial-gradient(ellipse at 0 0,#efe3d8aa,transparent 50%),linear-gradient(135deg,#f7f5effc,#f1f0e4fc);overflow:hidden;isolation:isolate}
.photo-dialog[open]{display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:20px}
.photo-dialog::backdrop{background:#273422de;backdrop-filter:blur(8px)}
.photo-dialog-bar,.photo-dialog-bottom{display:flex;align-items:center;justify-content:space-between;gap:24px;width:100%;max-width:1250px;margin:auto}
.photo-dialog-bar{padding-bottom:17px;border-bottom:1px solid #c7ccba}
.photo-dialog-bar .small-label{font-size:10px;letter-spacing:.13em;margin-bottom:4px}
.photo-dialog-bar h2{font-size:25px;line-height:1.7;letter-spacing:.09em}
.photo-close,.photo-paging button{display:grid;place-items:center;border:1px solid #bdc5aa;background:linear-gradient(135deg,#fffdf7,#e5e8d8);box-shadow:0 3px 0 #b9c2a6;width:48px;height:48px;border-radius:50%;line-height:1;flex-shrink:0}
.photo-close{font-size:31px;font-weight:300}.photo-paging button{font-size:21px}
.photo-close:hover,.photo-paging button:hover{background:linear-gradient(135deg,#edf2de,#d2dcc0)}
.photo-close.is-pressing,.photo-paging button.is-pressing{box-shadow:0 1px 0 #acb59c,inset 0 3px 7px #4a59332e}
.photo-dialog-figure{display:grid;grid-template-rows:minmax(0,1fr) auto;gap:16px;min-height:0;width:100%;max-width:1200px;justify-self:center;align-self:stretch;margin:0}
.photo-dialog-figure img{object-fit:contain;min-height:0;height:100%;width:100%;cursor:grab;user-select:none;touch-action:pan-y;border-radius:3px}
.photo-dialog-figure figcaption{font-family:var(--serif);font-size:16px;line-height:1.8;text-align:center;letter-spacing:.05em}
.photo-origin{font-size:10px;color:var(--muted)}
.photo-dialog-bottom{padding-top:14px;border-top:1px solid #c7ccba}
.photo-paging{display:flex;align-items:center;gap:22px}
#photo-count{font-family:Georgia,serif;letter-spacing:.1em;min-width:60px;text-align:center;font-size:17px}
@media(min-width:801px){.photo-dialog[open] .photo-dialog-bar{animation:fadeUp .6s var(--ease) both}.photo-dialog[open] .photo-dialog-bottom{animation:fadeUp .6s .15s var(--ease) both}}
@media(max-width:800px){
 .section{padding-top:62px;padding-bottom:62px}
 .section-top{margin-bottom:30px}.section-aside{margin-top:16px}
 .immersive-hero{height:auto;min-height:770px;max-height:none}
 .immersive-copy{padding-top:225px;padding-bottom:138px}
 .immersive-hero h1{font-size:clamp(38px,10.1vw,54px);line-height:1.42;margin-bottom:21px}
 .immersive-description{line-height:2.05}
 .hero-proof{bottom:24px;max-width:72%}.hero-proof>span:first-child{display:none}
 .hero-photo-open{font-size:9px}.hero-photo-open>span{width:20px;height:20px;font-size:14px}
 .hero-scroll{bottom:27px;font-size:8px;gap:7px}
 .about{gap:38px}.about-visual{height:380px}.about-main{height:330px}.about-inset{height:145px}
 .about-copy h2{margin-bottom:21px}.about-copy .text-link{margin-top:17px}
 .concern-grid{gap:32px}.concern-item .image-reveal{height:auto;aspect-ratio:1.45;margin-bottom:18px}
 .concern-item h3{font-size:24px}.concern-item p{line-height:2}
 .discovery-shell{gap:25px;padding-top:58px;padding-bottom:58px}
 .discovery-intro h2{font-size:29px;line-height:1.65}.discovery-intro>p:not(.eyebrow){margin-top:15px}
 .discovery-photo{height:155px;margin-top:20px}.discovery-intro .discovery-note{font-size:10px;line-height:1.8;margin-top:12px}
 .check-option{padding-top:14px;padding-bottom:14px}.check-copy strong{font-size:14px}
 .discovery-result{scroll-margin-top:90px;padding:21px;gap:19px}.result-copy h3{font-size:23px}
 .result-copy .result-focus{font-size:11px;margin:13px 0 20px}
 .course-intro{padding-bottom:35px}.course-feature{height:360px}.course-feature-copy{top:55px}
 .course-feature-copy>p{font-size:30px;margin-top:20px}.course-tabs{padding-top:30px;padding-bottom:60px}
 .tabs{gap:7px}.tabs button{min-height:94px;padding:10px 4px}
 .tab-panel{gap:21px}.tab-panel>img{height:auto;aspect-ratio:1.4}
 .reason-row{padding-top:27px;padding-bottom:30px;gap:22px}.reason-row>figure{height:auto;aspect-ratio:1.4}
 .reason-copy h3{font-size:24px}.reason-copy p{line-height:2.05}
 .recommend{gap:27px}.recommend h2{font-size:28px;margin-bottom:18px}.recommend-items article{gap:20px}
 .teacher{gap:32px}.teacher-photo{max-width:310px}.teacher-photo img{height:auto;aspect-ratio:4/5}
 .teacher h2{font-size:28px;line-height:1.75}.teacher-name{margin:22px 0!important;padding-bottom:20px}
 .teacher-sign{margin-top:23px}.teacher-copy>p:not(.eyebrow):not(.teacher-name){line-height:2.05}
 .flow-grid{row-gap:29px;column-gap:19px}.flow-grid img{height:auto;aspect-ratio:1.16;margin-bottom:14px}
 .faq{gap:24px}.faq-heading figure{height:180px;margin-top:20px}
 .faq-list summary{padding-top:20px;padding-bottom:20px}
 .contact-section{min-height:0}.contact-inner{padding:65px 25px 70px}.contact-inner h2{font-size:30px;line-height:1.65}
 .contact-actions{gap:22px}.site-footer{padding-bottom:95px}
 .js .reveal{transform:translateY(25px);transition-duration:.75s,.95s}
 .photo-dialog{padding:20px 18px max(20px,env(safe-area-inset-bottom))}
 .photo-dialog[open]{gap:16px}
 .photo-dialog-bar{gap:14px;padding-bottom:14px}.photo-dialog-bar h2{font-size:18px;letter-spacing:.04em}
 .photo-dialog-bar .small-label{font-size:9px}.photo-close{width:44px;height:44px}
 .photo-dialog-figure{gap:16px}.photo-dialog-figure figcaption{font-size:13px;line-height:1.9}
 .photo-dialog-bottom{justify-content:center;gap:12px;flex-direction:column-reverse;padding-top:13px}
 .photo-paging{gap:27px}.photo-paging button{width:44px;height:44px}.photo-origin{font-size:9px}
}
@media(max-width:370px){
 .immersive-hero{min-height:755px}.immersive-copy{padding-top:215px;padding-bottom:136px}
 .immersive-hero h1{font-size:37px}.hero-proof{max-width:72%;right:20px;padding-right:8px}.hero-proof>strong{font-size:10px}.hero-photo-open{font-size:8px}
 .section{padding-inline:21px}.about-visual{height:340px;padding-right:20px}.about-main{height:295px}.about-inset{height:130px}
 .about-copy h2{font-size:26px}.discovery-intro h2{font-size:26px}.check-option{grid-template-columns:19px 1fr 20px;gap:7px}
 .check-copy strong{font-size:13px}.check-copy small{font-size:10px}.result-copy h3{font-size:22px}
 .recommend-items article{grid-template-columns:100px 1fr;gap:16px}.recommend-items img{width:100px;height:105px}.recommend-items h3{font-size:17px}
 .teacher h2{font-size:25px}.contact-inner h2{font-size:27px}.tabs button{font-size:10px}
}
@media(prefers-reduced-motion:reduce){.check-option:after{display:none}.photo-dialog *{animation:none!important}.js .reveal{transform:none}.hero-photo-open>span{transition:none}}
@media(max-width:800px){
 .reason-copy{display:block;position:relative}
 .reason-number{position:absolute;right:0;top:-13px;font-size:55px;color:#b8b99f;opacity:.45}
 .reason-copy>div{position:relative}.reason-copy .small-label{padding-right:48px}
 .photo-dialog-figure{display:flex;flex-direction:column;justify-content:center;gap:19px}
 .photo-dialog-figure img{height:auto;max-height:calc(100svh - 290px);object-fit:contain;flex:0 1 auto}
 .photo-dialog-figure figcaption{flex-shrink:0}
}
/* Final interaction refinements for the requested second pass. */
.result-actions{display:flex;align-items:flex-start;flex-direction:column;gap:16px}
.result-consult{display:inline-flex;gap:20px;align-items:center;font-size:11px;line-height:1.8;border-bottom:1px solid #a7b094;padding:7px 0;color:var(--deep)}
.result-consult span{font-size:17px;transition:translate .3s}.result-consult:hover span{translate:3px -3px}
.photo-dialog[open]{grid-template-rows:auto minmax(0,1fr) auto auto;gap:16px}
.photo-thumbnails{display:flex;gap:10px;max-width:100%;min-width:0;overflow-x:auto;overflow-y:hidden;margin:0 auto;padding:5px 4px 7px;scrollbar-width:thin;scrollbar-color:#b5bea5 transparent;overscroll-behavior-x:contain}
.photo-thumb{width:64px;height:49px;flex:0 0 64px;display:block;padding:3px;background:linear-gradient(135deg,#fefbf3,#e4e7d7);border:1px solid #c6cbb8;border-radius:4px;opacity:.65;transition:opacity .3s,border-color .3s,box-shadow .3s}
.photo-thumb img{width:100%;height:100%;object-fit:cover;border-radius:2px;pointer-events:none}
.photo-thumb:hover,.photo-thumb[aria-pressed=true]{opacity:1;border-color:#8f7448;box-shadow:0 0 0 2px #d1b27a55}
.photo-thumb.is-pressing{box-shadow:inset 0 2px 6px #31432330}
.photo-dialog-figure img[aria-busy=true]{cursor:progress}
@media(max-width:800px){
 .photo-dialog[open]{gap:12px}
 .photo-thumbnails{gap:8px;width:max-content;justify-self:center}
 .photo-thumb{width:47px;height:39px;flex-basis:47px}
 .photo-dialog-figure img{max-height:calc(100svh - 335px)}
 .result-consult{font-size:11px;padding-top:6px;padding-bottom:8px}
 .sound-toggle,.menu-toggle{min-width:44px;min-height:44px}
}
@media(max-width:370px){.site-header{gap:6px;padding-inline:15px}.brand{gap:7px}.brand>span{font-size:8.5px}.brand img{width:44px;height:46px}}
@media(max-height:520px) and (orientation:landscape){
 .photo-dialog{padding:10px 20px}
 .photo-dialog[open]{gap:8px}
 .photo-dialog-bar{padding-bottom:8px}.photo-dialog-bar h2{font-size:16px}.photo-dialog-bar .small-label{display:none}
 .photo-dialog-figure{gap:8px}.photo-dialog-figure img{max-height:calc(100svh - 200px)}.photo-dialog-figure figcaption{font-size:11px;line-height:1.5}
 .photo-dialog-bottom{padding-top:6px}.photo-origin{display:none}
 .photo-thumbnails{padding:2px}.photo-thumb{width:40px;height:30px;flex-basis:40px}
 .photo-paging button,.photo-close{width:38px;height:38px}
}
@media(prefers-reduced-motion:reduce){.photo-thumb,.result-consult span{transition:none}}
