/* Shared, frameless person introduction. */
.person-intro{background:#faf7f0cc}
.person-intro .person-grid{max-width:1120px;display:grid;grid-template-columns:.85fr 1.15fr;gap:34px 64px;align-items:center}
.person-art{position:relative;display:grid;place-items:center;min-height:480px;transform:translate3d(0,var(--mascot-y,0px),0);will-change:transform}
.person-art img{display:block;width:auto;height:430px;max-width:100%;object-fit:contain}
.person-copy .eyebrow{font-family:Arial,sans-serif;font-size:11px;letter-spacing:.12em}
.person-copy h2{font-size:clamp(26px,3vw,36px);line-height:1.8;margin:0 0 30px}
.person-copy>p:not(.eyebrow){font-size:14px;line-height:2.15;color:var(--ink-soft);margin:0 0 20px}
.person-copy h2{margin-bottom:18px}
.person-copy>p.person-name{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 16px;color:var(--ink);margin:0 0 30px;line-height:1.6;scroll-margin-top:90px}
.person-name strong{font-size:24px;font-weight:500;letter-spacing:.08em}
.person-name span{font:14px/1.6 Georgia,serif;letter-spacing:.08em}
.person-intro .person-more{grid-column:1/-1;display:flex;justify-content:flex-end;scroll-margin-top:90px}
.person-more a{display:inline-flex;align-items:center;gap:14px;min-height:44px;padding:7px 0;border-bottom:1px solid var(--line);color:var(--ink);font-size:14px;text-decoration:none}
.person-intro .facts{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));padding:32px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin-top:28px}
.person-intro .facts>div{min-width:0;padding:0 30px;border-left:1px solid var(--line)}.person-intro .facts>div:first-child{padding-left:0;border:0}
.person-intro .facts span{font:10px Arial,sans-serif;letter-spacing:.1em;color:var(--ink-faint)}
.person-intro .facts strong{display:block;font:64px/1.5 Georgia,serif;color:var(--darkrose);margin-top:16px}.person-intro .facts small{display:inline-block;white-space:nowrap;font-size:20px;margin-left:7px}.person-intro .facts p{font-size:11px;color:var(--ink-soft);margin:10px 0 0}
/* About page: articulated video on the page background, without a frame. */
.mascot-about-page .mascot-about-head{max-width:1160px;padding-top:96px;padding-bottom:64px}
.mascot-about-head .ph-grid{grid-template-columns:1fr 1fr;gap:50px;align-items:start}
.mascot-about-head .ph-text h1{font-size:clamp(28px,3.1vw,40px);line-height:1.85}
.mascot-about-head .lead{font-size:14px;line-height:2}
.mascot-about-head .lead p{margin-bottom:1em}
.about-motion-stage{position:sticky;top:90px;min-width:0}
.about-video-player{position:relative;aspect-ratio:1;width:100%;isolation:isolate}
.about-video-player video{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}
.about-video-player canvas{display:block;width:100%;height:100%;object-fit:contain}
.about-motion-toggle{display:block;margin:0 0 20px auto;border:1px solid var(--line);border-radius:24px;background:transparent;color:var(--ink-soft);padding:5px 12px;font-size:10px;cursor:pointer}
.about-motion-steps{list-style:none;display:grid;grid-template-columns:1fr 1fr;gap:0 20px;padding:0;margin:0}
.about-motion-steps li{font-size:12px;padding:12px 0;border-top:1px solid var(--line);color:var(--ink-faint);transition:color .5s,border-color .5s,transform .5s}
.about-motion-steps li span{display:block;font:9px/1.8 Arial,sans-serif;letter-spacing:.12em;margin-bottom:4px}
.about-motion-steps li.active{color:var(--darkrose);border-color:var(--darkrose);transform:translateY(-3px)}
.mascot-about-page .mascot-profile{border-radius:0;overflow:visible;transform:translate3d(0,var(--mascot-y,0px),0);background:transparent}
.mascot-about-page .mascot-profile img{max-height:430px;object-fit:contain}
.mascot-about-page #profile .lines p{line-height:2.05;margin-bottom:1.2em}
.mascot-about-page #profile .lines br{display:none}
.mascot-about-page .tl>li{transition:opacity .7s ease,transform .7s ease}
.mascot-about-page.motion-enabled .tl>li:not(.entered){opacity:.18;transform:translateY(24px)}
.mascot-about-page .value{transition:transform .6s,opacity .6s}
.mascot-about-page.motion-enabled .value:not(.entered){opacity:.25;transform:translateY(20px)}
@media(max-width:760px){
 .person-intro .person-grid{grid-template-columns:1fr;gap:25px}.person-art{min-height:340px}.person-art img{height:330px}.person-copy h2{font-size:28px}.person-intro .facts{gap:18px;padding:24px 0;margin-top:8px}.person-intro .facts>div{padding:0 0 0 15px}.person-intro .facts strong{font-size:42px}.person-intro .facts small{font-size:12px;margin-left:3px}.person-intro .facts span{font-size:8px}.person-intro .facts p{font-size:10px;line-height:1.9}
 .mascot-about-page .mascot-about-head{padding-top:60px;padding-bottom:48px}.mascot-about-head .ph-grid{grid-template-columns:1fr;gap:24px}.about-motion-stage{position:relative;top:auto;grid-row:1;margin:0 auto;width:min(100%,460px)}.about-motion-steps{gap:0 20px}.mascot-about-head .ph-text h1{font-size:25px}.mascot-about-page .mascot-profile{max-width:220px}.person-copy .eyebrow::after{display:none}
}
@media(prefers-reduced-motion:reduce){.person-art,.mascot-profile{transform:none!important;will-change:auto}.about-motion-steps li,.mascot-about-page .tl>li,.mascot-about-page .value{transition:none!important;transform:none!important;opacity:1!important}}

.person-copy h2{font-family:"Noto Serif JP","Hiragino Mincho ProN",serif;font-weight:400}

@media(min-width:761px) and (max-width:1000px){.mascot-about-head .ph-text h1{font-size:24px;letter-spacing:.01em}}

/* Chapter-specific transparent mascots, keeping the original text. */
.mascot-about-page #history>.wrap,.mascot-about-page #numbers>.wrap,.mascot-about-page #values>.wrap{max-width:1120px}
.chapter-mascot-layout{display:grid;align-items:start;gap:48px;margin-top:36px}
.history-layout,.values-layout{grid-template-columns:minmax(200px,.65fr) minmax(0,1.5fr)}
.about-chapter-art{margin:0;position:sticky;top:110px;line-height:0;transform:translate3d(0,var(--mascot-y,0px),0)}
.about-chapter-art img{display:block;width:100%;max-height:390px;object-fit:contain}
.history-layout .tl{margin-top:0}
.numbers-layout{grid-template-columns:minmax(0,1.65fr) minmax(210px,.75fr);align-items:center}
.numbers-layout .stats{margin:0;grid-template-columns:repeat(2,minmax(0,1fr));gap:26px}
.numbers-layout .about-chapter-art{position:relative;top:auto}
.values-layout .values{margin-top:0;gap:26px}
@media(max-width:1000px){.values-layout .values{grid-template-columns:1fr}.chapter-mascot-layout{gap:32px}.numbers-layout .stats{gap:18px}}
@media(max-width:760px){.chapter-mascot-layout{grid-template-columns:1fr;gap:28px;margin-top:26px}.about-chapter-art{position:relative;top:auto;justify-self:center;width:200px}.about-chapter-art img{max-height:270px}.numbers-layout .about-chapter-art{grid-row:1}.numbers-layout .stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;width:100%}.values-layout .values{grid-template-columns:1fr}.history-layout .tl{margin-top:0}.numbers-layout .stat .sval{font-size:clamp(33px,10vw,46px)}}
@media(prefers-reduced-motion:reduce){.about-chapter-art{transform:none!important}}

.numbers-layout .stats{background:transparent;border:0}.numbers-layout .stat{border:1px solid var(--line)}


/* Profile has its own portrait treatment, distinct from chapter illustrations. */
.mascot-about-page #profile .mascot-profile{
 position:relative;width:300px;max-width:38%;padding:24px 24px 22px;
 margin:4px 0 28px 48px;background:#fffaf3;
 border:1px solid #cbb3a7;border-radius:3px;
 box-shadow:7px 9px 0 #d7c2b52b;
 overflow:visible;
}
.mascot-about-page #profile .mascot-profile::before{
 content:"";position:absolute;inset:8px;border:1px solid #dfcfc280;pointer-events:none;
}
.mascot-about-page #profile .mascot-profile img{
 position:relative;display:block;width:100%;height:auto;max-height:none;object-fit:contain;
}
@media(max-width:760px){
 .mascot-about-page #profile .mascot-profile{
  float:none;width:300px;max-width:calc(100% - 14px);
  margin:0 auto 32px;padding:22px 24px 24px;
  box-shadow:6px 7px 0 #d7c2b52b;
 }
}


/* Crop the existing mascot to the upper body inside the profile frame. */
.mascot-about-page #profile .profile-portrait-crop{
 display:block;position:relative;width:100%;aspect-ratio:4/5;overflow:hidden;line-height:0;
}
.mascot-about-page #profile .mascot-profile .profile-portrait-crop img{
 width:132%;max-width:none;height:auto;max-height:none;margin-left:-16%;object-fit:contain;
}


/* Keep every final counter value and unit inside its own card. */
.mascot-about-page #numbers .stat{
 min-width:0;padding:28px 18px;display:flex;flex-direction:column;align-items:center;
}
.mascot-about-page #numbers .skey{
 width:100%;font-size:10px;letter-spacing:.18em;margin-bottom:18px;
}
.mascot-about-page #numbers .sval{
 display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;
 width:100%;min-width:0;min-height:76px;font-size:36px;line-height:1.1;white-space:normal;letter-spacing:0;
}
.mascot-about-page #numbers .sval b{
 display:block;min-width:0;font-size:inherit;line-height:1.1;white-space:nowrap;font-variant-numeric:tabular-nums;
}
.mascot-about-page #numbers .sval em{
 display:block;font-size:14px;line-height:1.4;margin:0;letter-spacing:.04em;white-space:nowrap;
}
.mascot-about-page #numbers .snote{
 width:100%;font-size:11.5px;line-height:1.8;letter-spacing:0;margin-top:14px;overflow-wrap:anywhere;
}
@media(max-width:1000px) and (min-width:761px){
 .mascot-about-page #numbers .stat{padding:24px 12px}
 .mascot-about-page #numbers .sval{font-size:28px}
}
@media(max-width:760px){
 .mascot-about-page #numbers .stats{gap:14px;grid-template-columns:repeat(2,minmax(0,1fr))}
 .mascot-about-page #numbers .stat{padding:24px 14px;min-width:0}
 .mascot-about-page #numbers .skey{font-size:9px;letter-spacing:.15em;margin-bottom:15px}
 .mascot-about-page #numbers .sval{font-size:clamp(26px,8vw,36px);min-height:68px;gap:6px}
 .mascot-about-page #numbers .sval em{font-size:13px}
 .mascot-about-page #numbers .snote{font-size:11px;line-height:1.7;margin-top:13px}
}
@media(max-width:359px){
 .mascot-about-page #numbers .stats{gap:10px}
 .mascot-about-page #numbers .stat{padding:22px 12px}
 .mascot-about-page #numbers .skey{font-size:8px;letter-spacing:.12em}
}

.mascot-about-page #activity-stats{scroll-margin-top:80px}

/* Keep every mobile metric and its unit together within its column. */
.person-intro #person-facts{scroll-margin-top:90px}
@media(max-width:760px){
 .person-intro .facts{gap:12px}
 .person-intro .facts>div{padding-left:12px}
 .person-intro .facts>div:first-child{padding-left:0}
 .person-intro .facts strong{font-size:clamp(34px,10vw,42px);line-height:1.2;white-space:nowrap}
 .person-intro .facts small{display:block;margin:5px 0 0;font-size:12px;line-height:1.5;white-space:nowrap}
}

/* Photos sit inside the chronology, between each heading and its story. */
.mascot-about-page #history .tl>li{min-width:0}
.mascot-about-page #history .history-photo{
 display:block;width:100%;max-width:100%;margin:22px 0 26px;
 overflow:hidden;border:1px solid var(--line);background:var(--bg);
 scroll-margin-top:95px;
}
.mascot-about-page #history .history-photo img{
 display:block;width:100%;height:auto;max-width:100%;
}
.mascot-about-page #history .history-photo--scene img{
 aspect-ratio:4/3;object-fit:cover;object-position:center;
}
@media(max-width:760px){
 .mascot-about-page #history .history-photo{margin:20px 0 24px}
}

/* Compact bilingual name; the role appears once in English below it. */
.mascot-about-page #profile .pid-name{
 display:flex;align-items:baseline;gap:12px;white-space:nowrap;
}
.mascot-about-page #profile .pid-name-jp{
 font-size:13px;font-weight:400;line-height:1.6;letter-spacing:.08em;color:var(--ink-soft);
}

/* Three counters use a single baseline; the wide growth counter keeps two rows. */
.mascot-about-page #numbers .sval-line{
 display:flex;align-items:baseline;justify-content:center;gap:5px;
 max-width:100%;white-space:nowrap;
}
