/* v6: actual main-page typography and a balanced 60s/70s illustration set. */
:root{--font-body:'Kiwi Maru',serif;--font-heading:'Kiwi Maru',serif;--font-numeral:'Kiwi Maru',serif;--paper:#fcfaf5;--white:#ffffff;--ink:#39413c;--green:#236d67;--orange:#b4553e;--yellow:#f2cf75;--mint:#edf5ef;--line:#cbd8d0;--muted:#5d685f}
body{font-family:var(--font-body);font-weight:400;font-synthesis:none;letter-spacing:.055em;line-height:1.95}
body :is(button,input,select,textarea){font-family:var(--font-body);font-weight:400}
h1,h2,h3,h4,.brand{font-weight:500;letter-spacing:.065em}
b,strong{font-weight:500}
p{letter-spacing:.055em}
.brand small,.section-label,.section-kicker,.button,.hero-open .hero-actions .button,.mobile-cta button{font-weight:400}
.hero-open .eyebrow,.hero-open .hero-school>span{letter-spacing:.04em}
.hero-open h1{font-weight:500;letter-spacing:.055em;line-height:1.65}
.hero-open .hero-school{font-weight:500;letter-spacing:.02em}
.hero-open .hero-image{border-radius:28% 28% 12% 9% / 17% 20% 14% 12%}
.hero-open .hero-visual:before{display:none}
.hero-open .photo-note{align-items:center;gap:3px;letter-spacing:.04em;margin-top:10px}
.hero-open .photo-note>span:last-child{flex:1;min-width:0}
.hero-open .photo-note>span:last-child>span{display:block}
.hero-open .recruit-ticket{padding:0;background:none;gap:14px}
.hero-open .recruit-ticket:before,.hero-open .recruit-ticket:after{display:none}
.hero-open .recruit-ticket>span{background:var(--green);color:#fff;padding:4px 12px;border-radius:3px 3px 10px 3px;transform:rotate(-2deg)}
.hero-open .recruit-ticket b{border-left:1px solid var(--line);font-weight:400;letter-spacing:.03em}
.hero-open .hero-guide{background:#edf5ef;border-color:#d9e6dc}
.hero-open .hero-fact dd>strong{font-weight:500;letter-spacing:.02em}
.hero-open .hero-actions .button{border-radius:5px 5px 20px 5px;letter-spacing:.04em}
.primary{background:var(--green);box-shadow:none}.primary:hover{background:#185b55}
.intro-copy h2{font-size:36px;font-weight:400;line-height:1.75;letter-spacing:.07em}
.intro-copy p:not(.section-label):not(.character-bubble){font-size:18px;line-height:1.95;letter-spacing:.055em}
.section-kicker:before{height:7px;width:7px;flex-basis:7px;box-shadow:none;border-radius:50%;background:var(--orange)}
.section-kicker{letter-spacing:.065em}
.section-kicker .chapter-index{font-size:16px;font-weight:400;line-height:1.5}
.phrase{display:inline-block}
.under-note{display:inline-block;border:0;background:linear-gradient(transparent 92%,#e9cb78 92%);padding-bottom:5px;line-height:1.9}
.senior-face{display:inline-block;flex:0 0 82px;width:82px;height:82px;background:url('assets/faces-60s-70s-v6.png') no-repeat;background-size:200% 200%;transform-origin:50% 85%;vertical-align:middle}
.age60-man{background-position:0 0}.age60-woman{background-position:100% 0}.age70-man{background-position:0 100%}.age70-woman{background-position:100% 100%}
.character-note{display:flex;align-items:center;gap:0;margin:16px 0 12px -12px;min-width:0}
.character-note .character-bubble{font-size:17px!important;line-height:1.65!important;font-weight:400;margin:0!important;letter-spacing:.045em;padding:13px 19px;position:relative;background:#f8e5ac;color:#514632;border-radius:45% 42% 38% 40% / 40% 44% 38% 46%;transform:rotate(-2deg)}
.character-bubble:before{content:'';position:absolute;left:-8px;bottom:18px;width:15px;height:11px;background:inherit;clip-path:polygon(100% 0,100% 100%,0 55%)}
.school-character{margin-top:-24px;margin-bottom:30px}.school-character .character-bubble{background:#e0eee2}
.adventure-character{justify-content:center;margin:8px 0 20px}.adventure-character .character-bubble{background:#fae3d8}
.adventure-heading p:not(.section-label){text-wrap:balance}
.face-visible .senior-face{animation:gentle-greeting .95s .1s both}.face-visible .character-bubble{animation:bubble-greeting .6s .3s both}
.hero-open .marker-line{background-size:100% 100%;animation:line-appear .9s .35s both;background-repeat:no-repeat}
@keyframes gentle-greeting{0%{transform:translateY(7px) rotate(-9deg);opacity:0}50%{transform:translateY(-1px) rotate(5deg);opacity:1}100%{transform:translateY(0) rotate(0);opacity:1}}
@keyframes bubble-greeting{from{opacity:0;transform:translateX(-4px) rotate(-4deg)}to{opacity:1;transform:translateX(0) rotate(-2deg)}}
@keyframes line-appear{from{background-size:0 100%}to{background-size:100% 100%}}
@media(max-width:960px){.hero-open h1{font-size:43px}}
@media(max-width:640px){
 .hero-open h1{font-size:clamp(30px,9.2vw,38px);line-height:1.7;letter-spacing:.045em}
 .hero-open .eyebrow{font-size:17px;line-height:1.85;letter-spacing:.025em}
 .hero-open .hero-school{font-size:21px;line-height:1.8}.hero-open .hero-school>span{font-size:16px}
 .hero-open .recruit-ticket{gap:11px;font-size:17px}.hero-open .recruit-ticket b{font-size:17px;padding-left:11px}
 .hero-open .hero-image{border-radius:27% 25% 12% 10% / 16% 17% 13% 12%}
 .hero-open .photo-note{font-size:18px;line-height:1.85;margin-top:8px}.hero-open .photo-note .senior-face{flex-basis:66px;width:66px;height:66px}
 .intro-copy h2{font-size:29px;line-height:1.75;letter-spacing:.055em}
 .intro-copy p:not(.section-label):not(.character-bubble){font-size:18px;line-height:1.95;letter-spacing:.055em;margin-top:23px}
 .intro-copy .character-note{margin:12px 0 6px -10px}
 .character-note .character-bubble{font-size:16px!important;padding:11px 15px}
 .senior-face{width:76px;height:76px;flex-basis:76px}
 .school-character{margin-top:-14px;margin-bottom:26px}
 .section h2,.adventure-heading h2{font-weight:400}
 .learning .section-top h2,.school .section-top h2{font-size:clamp(23px,6.8vw,29px);line-height:1.75;letter-spacing:.025em}
 .adventure-heading h2{font-size:30px;line-height:1.7;letter-spacing:.045em}
 .hero-open .hero-fact dt{font-size:17px}.hero-open .hero-fact dd>strong{font-size:26px}
 .hero-open .hero-fact dd>span{font-size:17px}.hero-open .hero-fact-price dt{font-size:20px}
 .hero-open .price-amount{font-size:38px}.hero-open .price-unit{font-size:19px}
 .button,.hero-open .hero-actions .button{font-size:18px;font-weight:400;line-height:1.7}
 .mobile-cta{padding:8px 12px calc(8px + env(safe-area-inset-bottom));gap:8px;box-shadow:none}
 .mobile-cta button{font-size:16px;font-weight:400;padding:11px 13px;min-height:48px;line-height:1.5;letter-spacing:.035em}
 .mobile-cta button:first-child{background:var(--green)}.mobile-cta button+button{background:#fff;border:1px solid var(--green);color:var(--green)}
}
@media(max-width:359px){
 .hero-open .eyebrow{font-size:16px}.hero-open .hero-school{font-size:19px}.hero-open .hero-school>span{font-size:15px}
 .hero-open .photo-note .senior-face{flex-basis:48px;width:48px;height:48px}.hero-open .photo-note{font-size:16px}
 .intro-copy h2{font-size:27px}.character-note .character-bubble{font-size:15px!important}.character-note .senior-face{width:65px;height:65px;flex-basis:65px}
 .hero-open .hero-fact{gap:10px}.hero-open .hero-fact dt{font-size:16px}.hero-open .hero-fact dt svg{width:27px;flex-basis:27px}.hero-open .hero-fact dd>span{font-size:16px}
}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}

/* v7: keep album captions in flow, with room for rotated photo corners. */
.intro-photos{display:flex;flex-direction:column;gap:38px;height:auto;padding:20px 0 28px}
.intro-photos .polaroid{position:relative;inset:auto;margin:0}
.intro-photos .polaroid.first{width:91%;align-self:flex-start;transform:rotate(-3deg)}
.intro-photos .polaroid.second{width:84%;align-self:flex-end;transform:rotate(4deg)}
.intro-photos .polaroid figcaption{position:relative;padding:12px 8px 14px;line-height:1.8}
.intro-photos>.flower{width:66px;height:66px;left:-6px;bottom:0}
.rhythm-item{cursor:default}
@media(max-width:640px){
 .intro-photos{gap:32px;padding:18px 0 24px}
 .intro-photos .polaroid figcaption{font-size:18px;padding:10px 6px 12px}
 .intro-photos>.flower{width:54px;height:54px;bottom:0;left:0}
 .rhythm-item{padding-right:0}
}
