/* v32: keep the glass material; give navigation and reading their own space. */
:root{--site-header-height:82px}
#intro,#collection,#resume,#about{scroll-margin-top:calc(var(--site-header-height) + 24px)}
.site-header.wrap{position:sticky;top:0;z-index:60;isolation:isolate;width:100%;max-width:none;margin:0;min-height:82px;padding:12px max(24px,calc((100% - 1240px)/2));background:#f6f8fbd9;border-bottom:1px solid #dbe3eea6;backdrop-filter:blur(22px);-webkit-backdrop-filter:blur(22px)}
.site-header nav{gap:8px;padding:0;margin:0;overflow:visible}
.site-header nav .nav-link{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:10px 14px;border-radius:12px;color:#4b6078;font:inherit;font-size:13px;letter-spacing:0;cursor:pointer;text-decoration:none;white-space:nowrap}
.site-header nav .nav-link:hover,.site-header nav .nav-link.is-current,.project-menu[open]>.nav-link{background:#e6edf7;color:#294c7c}
.site-header .brand:focus-visible,.site-header nav :is(a,button,summary):focus-visible{outline:2px solid #40679c;outline-offset:3px}
.site-header nav .nav-count{margin:0;padding:0;border:0;background:none;color:#657994;font-size:11px}
.nav-chevron{display:inline-block;transition:transform .2s;font-size:16px;line-height:1}
.project-menu[open] .nav-chevron{transform:rotate(180deg)}
.project-menu{position:relative}
.project-menu>summary{list-style:none}
.project-menu>summary::-webkit-details-marker{display:none}
.project-menu-panel{position:absolute;right:0;top:calc(100% + 6px);width:240px;max-height:min(480px,calc(100dvh - var(--site-header-height) - 20px));overflow:auto;overscroll-behavior:contain;padding:5px;background:#fbfcfe;border:1px solid #d5deea;border-radius:12px;box-shadow:0 8px 24px #2639571a}
.site-header nav .project-menu-panel>[data-project-index]{display:flex;justify-content:space-between;min-height:44px;margin:0 7px 3px;padding:11px 8px;border-bottom:1px solid #e0e6ef;color:#61718a;font-size:12px}
.project-menu-item{display:block;width:100%;min-height:44px;padding:10px 15px;border:0;border-radius:6px;background:transparent;text-align:left;color:#35475f;cursor:pointer;font:inherit;font-size:13px;line-height:1.5}
.project-menu-item:hover{background:#edf1f7}
.hero-discipline{font-family:inherit;letter-spacing:.05em;line-height:1.8;color:#61718a}
.hero-play{display:flex;align-items:center;gap:16px;margin-top:20px}
.hero-play>span{font-size:12px;color:#64758d}
.hero-play .draw-shortcuts button{min-height:44px}
.hero-copy .opening-note{margin:9px 0 0;font-size:10px}
.collection-section{padding-top:10px}
.collection-section .collection-strip{width:100%;margin:0 0 25px;padding:18px 0;border-top:1px solid #d7e0ed;border-bottom:0}
.collection-progress{min-height:44px;padding:10px 14px;border:1px solid #cdd9e9;border-radius:13px;background:#f7faff;color:#536a87;cursor:pointer;font-size:12px;transition:background .2s,border-color .2s}
.collection-progress:hover,.collection-progress.active{background:#e5eefb;border-color:#94b0d6;color:#2f527f}
.collection-progress:focus-visible{outline:2px solid #40679c;outline-offset:3px}
.item-info .not-collected{min-height:44px;padding:8px 12px;border:1px solid #b3c5df;border-radius:10px;color:#3e5d87;background:#f6f9ff;cursor:pointer;font:inherit;font-size:11px}
.item-info .not-collected:hover{background:#e3edfc;color:#244873}
.item-info .collected-label:not(button){min-height:44px;display:inline-flex;align-items:center;gap:5px;color:#3c7864}
.collection-empty{grid-column:1/-1;padding:44px 24px;text-align:center;border:1px dashed #b9c9dc;border-radius:20px;background:#f7faff}
.collection-empty h3{margin:0 0 12px;font-size:20px;color:#344c6c}
.collection-empty p{margin:0 0 22px;font-size:14px;color:#60748e;line-height:1.8}
.about-section{display:grid;grid-template-columns:1fr 1fr;gap:60px;padding-block:60px 50px;border-top:1px solid #d7e0ed;margin-top:65px}
.section-eyebrow{margin:0 0 14px;font-family:var(--mono);font-size:10px;letter-spacing:.13em;color:#6b7d96}
.about-copy h2{margin:0 0 16px;font-size:30px;color:#314863;letter-spacing:-.04em}
.about-copy .about-intro{font-size:14px;color:#63758e;line-height:1.9}
.social-links{display:grid;gap:8px;list-style:none;margin:22px 0 0;padding:0;max-width:390px}
.social-link{display:grid;grid-template-columns:48px minmax(0,1fr) auto;align-items:center;gap:12px;width:100%;min-height:54px;padding:10px 14px;border:1px solid #d5deea;border-radius:12px;background:#ffffff80;color:#3b5676;text-decoration:none;text-align:left;font:inherit;cursor:pointer;transition:background .2s,border-color .2s}
.social-link:hover{background:#f7faff;border-color:#99afcc}
.social-link:focus-visible{outline:2px solid #40679c;outline-offset:3px}
.social-platform{font-size:11px;font-weight:600;letter-spacing:.02em;color:#3f7398}
.social-xiaohongshu .social-platform{color:#a25c6a}
.social-douyin .social-platform{color:#4b5268}
.social-link strong{font-size:13px;font-weight:600;line-height:1.5;overflow-wrap:anywhere;user-select:text}
.social-action{font-size:11px;color:#6b7d96;white-space:nowrap}
.about-links{display:grid;gap:12px;align-content:center}
.about-links button{display:flex;align-items:center;justify-content:space-between;min-height:84px;padding:18px 22px;border:1px solid #d0ddeb;border-radius:18px;background:linear-gradient(115deg,#fbfdffdb,#eaf0f980);box-shadow:inset 0 1px #fff;color:#3b5676;text-align:left;font:inherit;cursor:pointer}
.about-links button:hover{border-color:#91abc9;background:#edf3fc}
.about-links small{display:block;margin-bottom:7px;color:#687e98;font-size:11px}
.about-links strong{font-size:17px;font-weight:600}
.figure-tools{display:flex;flex-wrap:wrap;gap:10px;justify-content:space-between;align-items:center;margin:0 0 14px}
.figure-tools button,.figure-tools a{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:10px 14px;border:1px solid #c5d4e6;border-radius:12px;background:#f3f7fd;color:#3a5c85;font:inherit;font-size:13px;cursor:pointer}
.figure-tools button[aria-pressed=true]{background:#3a5c85;color:#fff}
.figure-viewport{width:100%;max-height:calc(88dvh - 150px);overflow:auto;overscroll-behavior:contain;border:1px solid #d7e1ed;border-radius:12px;background:white;-webkit-overflow-scrolling:touch}
.figure-viewport:focus-visible{outline:2px solid #6485ae;outline-offset:3px}
.figure-dialog .figure-viewport img{display:block;width:100%;height:auto;max-width:none;max-height:none;object-fit:contain;margin:0;border:0;border-radius:0}
.figure-dialog .figure-viewport.is-zoomed img{width:max(100%,1200px)}
.consumer-study #detail-content{height:100%;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain}
.consumer-study .case-story h2{padding-right:36px}
.consumer-study .research-figure{padding:22px;background:#ffffffb8;border:1px solid #dce2ed;border-radius:18px}
.consumer-study .research-figure figcaption{display:block;margin-bottom:18px}
.consumer-study .research-figure h3{font-size:18px;font-weight:600;margin-bottom:8px}
.consumer-study .research-figure figcaption p{max-width:760px;font-size:13px;line-height:1.85;color:#61718a}
.consumer-study .figure-open{padding:0;border:0;background:#fff;border-radius:10px}
.consumer-study .figure-open>span{position:static;display:flex;justify-content:flex-end;opacity:1;background:#f1f4f9;color:#5c6881;min-height:44px;padding:10px 12px;font-size:12px}
.consumer-study .case-blocks{grid-template-columns:repeat(3,minmax(0,1fr));gap:28px}
.close-button{min-width:44px;min-height:44px}
@media(min-width:621px) and (max-width:900px){
 .collection-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
 .collection-grid .card-title{white-space:normal;font-size:23px;line-height:1.3}
 .collection-grid .card-short{font-size:12px}
 .collection-grid .card-baseline{font-size:10px}
 .about-section{gap:30px}
}
@media(max-width:620px){
 .wrap{width:calc(100% - 32px)}
 .site-header.wrap{min-height:68px;padding:10px 16px;gap:8px}
 .site-header .brand{gap:8px}
 .site-header .brand-mark{width:36px;height:36px;flex:none}
 .brand-second{display:none}
 .site-header nav{gap:2px}
 .site-header nav .nav-link{padding:10px 9px;gap:5px;font-size:13px}
 .site-header nav .nav-count{font-size:10px}
 .project-menu-panel{left:0;right:auto;width:min(260px,calc(100vw - 32px));max-height:calc(100dvh - var(--site-header-height) - 20px)}
 .project-menu-item{font-size:13px}
 .hero{padding-top:28px;padding-bottom:24px;gap:0;min-height:0}
 .hero-copy{padding:0}
 .hero-discipline{font-size:11px;margin-bottom:16px;letter-spacing:.04em}
 .site-header.has-mobile-discipline{display:grid;grid-template-columns:36px minmax(0,1fr);grid-template-rows:40px 44px;gap:4px 12px;height:auto;min-height:0;padding-top:8px;padding-bottom:6px}
 .has-mobile-discipline .brand{grid-column:1;grid-row:1;min-height:40px}
 .has-mobile-discipline .brand>span:last-child{display:none}
 .has-mobile-discipline nav{grid-column:1 / -1;grid-row:2;width:100%;justify-content:space-between}
 .has-mobile-discipline .mobile-header-discipline{grid-column:2;grid-row:1;display:block;margin:0;color:#61718a;font-size:13px;line-height:1.7;letter-spacing:0;white-space:nowrap}

 .hero h1{margin-top:0}
 .hero-description{font-size:14px;line-height:1.9;margin-top:18px}
 .hero-actions{gap:10px;margin-top:22px;flex-wrap:nowrap}
 .hero-actions .button{min-height:46px;padding:12px 18px;font-size:12px}
 .hero-play{gap:12px;margin-top:17px}
 .hero-play .draw-shortcuts{background:#ffffff60}
 .hero-play .draw-shortcuts button{min-height:44px;font-size:12px;padding-inline:13px}
 .hero-copy .opening-note{font-size:10px;color:#6a7b92;margin-top:8px}
 .hero-stage{height:300px;min-height:0;width:100%;max-width:360px;margin:12px auto 0}
 .hero-stage.is-orbiting{--orbit-card-width:164px}
 .hero-stage .hero-fan{top:2px}
 .hero-stage .glass-lens{max-width:90%}
 .hero-stage .lens-front{bottom:17px;height:75px}
 .hero-stage .hero-motion-toggle{min-height:44px;bottom:0;right:0;font-size:11px}
 .collection-section{padding-top:0}
 .collection-section .collection-strip{gap:10px;flex-wrap:wrap;margin-bottom:18px;padding:18px 0 0}
 .strip-copy{font-size:11px}
 .collection-progress{padding:8px 11px;gap:7px;font-size:11px}
 .progress-dots{display:none}
 .collection-heading{display:block;margin-bottom:20px}
 .collection-heading h2{font-size:27px;margin:0 0 16px}
 .filters{display:flex;gap:6px;flex-wrap:wrap;width:100%;padding:0;background:none;box-shadow:none;border:0}
 .filters .filter{min-height:44px;flex:1;padding:9px 10px;border:1px solid #d0dbe9;border-radius:12px;font-size:12px;white-space:nowrap;background:#f6f9ff;color:#51677f}
 .filters .filter.active{background:#344d6f;border-color:#344d6f;color:#fff}
 .filters .filter span{color:inherit}
 .collection-grid{grid-template-columns:minmax(0,1fr);gap:18px}
 /* Keep text in normal flow: long titles and larger phone text must grow the card. */
 .collection-grid .holo-card{height:auto;min-height:190px;aspect-ratio:auto;--rx:0deg;--ry:0deg}
 .collection-grid .card-surface{position:relative;inset:auto;border-radius:22px;box-shadow:inset 0 1px 1px #fff,0 8px 22px #61749012}
 .collection-grid .card-inner{display:grid;grid-template-columns:clamp(76px,26vw,106px) minmax(0,1fr);align-items:center;gap:6px 8px;height:auto;min-height:178px;padding:12px 12px 14px}
 .collection-grid .card-topline{position:static;grid-column:1 / -1;padding:0;font-size:10px;gap:10px;flex-wrap:wrap}
 .collection-grid .card-series,.collection-grid .card-type{font-size:10px}
 .collection-grid .card-art{position:static;grid-column:1;grid-row:2;width:100%;height:142px;max-width:none;object-fit:contain;transform:none;opacity:.94}
 .collection-grid .card-caption{position:static;grid-column:2;grid-row:2;min-width:0;padding:0;background:none}
 .collection-grid .card-title-row{align-items:flex-start;gap:5px}
 .collection-grid .card-title{font-size:18px;line-height:1.35;white-space:normal;overflow:visible;letter-spacing:-.035em}
 .collection-grid .card-title-row .icon{width:16px;height:16px;flex:none;margin-top:3px}
 .collection-grid .card-short{margin-top:8px;font-size:12px;line-height:1.7;color:#536b86;display:block}
 .collection-grid .card-baseline{margin-top:12px;padding-top:9px;font-size:10px;gap:9px;flex-wrap:wrap;line-height:1.5}
 .collection-grid .card-foil{opacity:.15}
 .collection-grid .card-glare{opacity:.2}
 .item-info{padding:6px 8px 0;font-size:10px;flex-wrap:wrap}
 .item-info strong{font-size:10px;color:#65778f}
 .item-info .not-collected{font-size:11px}
 .collection-bottom{gap:10px;align-items:center;flex-wrap:wrap}
 .collection-bottom p{font-size:10px;line-height:1.6}
 .collection-bottom button{min-height:44px;font-size:12px}
 .resume-section{margin-top:50px}
 .resume-section-heading{gap:14px;flex-wrap:wrap}
 .resume-actions{gap:10px;flex-wrap:wrap}
 .resume-actions a{min-height:44px;display:inline-flex;align-items:center;line-height:1.5}
 .resume-paper{padding:26px 20px}
 .resume-paper .resume-entry-heading{gap:5px}
 .resume-paper .resume-entry-heading h4{overflow-wrap:anywhere}
 .about-section{grid-template-columns:1fr;gap:20px;padding-block:34px 20px;margin-top:40px}
 .about-copy h2{font-size:27px}
 .about-copy .about-intro{font-size:14px;margin-bottom:0}
 .about-links button{min-height:82px}
 .reveal-armed [data-reveal]{opacity:1;transform:none}
 .detail-dialog{width:calc(100% - 16px);max-width:none;max-height:calc(100dvh - 16px);border-radius:22px}
 .detail-dialog>.close-button{right:10px;top:10px;z-index:8;background:#f2f6fbe8}
 .deck-header{padding:21px 17px 12px}
 .deck-heading{padding-right:40px}
 .deck-heading h2{font-size:21px;line-height:1.4}
 .deck-heading p{line-height:1.7;font-size:10px}
 .deck-tabs{gap:6px;overflow-x:auto;max-width:100%}
 .deck-tabs button{min-height:44px;padding-inline:12px;white-space:nowrap;flex-shrink:0;font-size:12px}
 .deck-footer{padding:10px 14px max(10px,env(safe-area-inset-bottom));gap:7px;flex-wrap:wrap}
 .deck-pagination button{width:44px;height:44px}
 .deck-links a,.deck-collect{min-height:44px;display:inline-flex;align-items:center;font-size:12px}
 .research-stage{padding:0}
 .research-slide{padding:24px 18px}
 .point-copy>strong{font-size:14px}
 .point-copy>span{font-size:13px;line-height:1.8}
 .slide-point{min-height:44px}
 .method-slide[data-point-count="4"] .point-copy>strong{font-size:13px}
 .method-slide[data-point-count="4"] .point-copy>span{font-size:12px;line-height:1.8}
 .slide-copy p,.method-copy>p,.method-point p,.case-blocks p{font-size:14px;line-height:1.85}
 .research-motion-action{min-height:44px}
 .project-header{display:block;padding:22px 17px 14px}
 .project-heading{padding-right:38px}
 .project-heading h2{font-size:22px;line-height:1.4}
 .project-actions{margin-top:12px;flex-wrap:wrap;gap:8px}
 .project-actions a,.project-actions button{min-height:44px;display:inline-flex;align-items:center;font-size:12px}
 .project-brief{margin:18px 17px 0}
 .project-brief-intro,.project-decisions dd,.project-case-body .case-blocks p{font-size:13px;line-height:1.85}
 .project-decisions dt{font-size:12px}
 .project-case>summary{min-height:48px;line-height:1.6}
 .figure-dialog{width:calc(100% - 16px);padding:18px 14px;border-radius:20px;max-height:calc(100dvh - 16px)}
 .figure-dialog header{gap:12px;padding-right:42px;min-height:44px;align-items:center}
 .figure-dialog header h2{font-size:17px;line-height:1.5}
 .figure-tools button,.figure-tools a{font-size:12px;padding:10px 12px}
 .figure-viewport{max-height:calc(100dvh - 185px)}
 .is-game-draw .reveal-grid[data-count="5"] .card-title{white-space:normal;line-height:1.25;font-size:10px}
 .consumer-study .case-story{padding:52px 18px 24px}
 .consumer-study .case-story h2{font-size:26px;padding-right:0}
 .consumer-study .research-figure{padding:14px;margin-inline:-4px}
 .consumer-study .research-figure figcaption p{font-size:13px}
 .consumer-study .case-blocks{grid-template-columns:1fr;gap:22px}
 .case-story{padding:52px 23px 28px}
 .case-intro{font-size:14px}
 .case-metrics{gap:12px}
}
@media(max-width:360px){
 .site-header.wrap{padding-inline:12px}
 .site-header .brand{gap:5px;font-size:12px}
 .site-header .brand-mark{width:32px;height:32px}
 .site-header.has-mobile-discipline{grid-template-columns:32px minmax(0,1fr);column-gap:8px}
 .has-mobile-discipline .mobile-header-discipline{font-size:12px}
 .site-header nav .nav-link{padding-inline:7px;font-size:12px}
 .site-header nav .nav-count{font-size:9px}
 .nav-chevron{font-size:13px}
 .collection-grid .card-title{font-size:17px}
 .collection-grid .card-short{font-size:12px}
 .hero-stage.is-orbiting{--orbit-card-width:150px}
}
@media(prefers-reduced-motion:reduce){.nav-chevron,.collection-progress{transition:none}}
@media print{.site-header,.about-section{display:none}.resume-paper{opacity:1!important;transform:none!important}}

/* A phone in landscape must not reduce the reading area to a single line.
   Scroll the complete research deck instead of pinning two oversized toolbars. */
@media (max-height:500px) and (orientation:landscape){
 .research-dialog:has(.research-deck){overflow-y:auto;overscroll-behavior:contain}
 .research-dialog:has(.research-deck) #detail-content{height:auto;min-height:100%}
 .research-dialog:has(.research-deck)>.close-button{position:sticky;float:right;top:8px;right:auto;margin:8px 8px -52px 0}
 .research-deck{height:auto;min-height:100%}
 .research-stage{flex:none;overflow:visible}
 .deck-header{padding:16px 62px 12px 18px}
 .deck-heading{padding-right:0}
 .deck-heading p{display:none}
 .deck-heading h2{font-size:20px}
 .deck-footer{flex-wrap:wrap;gap:8px;padding:10px 16px}
}

/* Narrow tablets / wide phones need the same readable hero flow as phones.
   Keep the animated fan inside its stage at the 620px breakpoint. */
@media (min-width:621px) and (max-width:850px){
 .hero{grid-template-columns:minmax(0,1fr);gap:0}
 .hero-stage{height:340px;max-width:430px;width:100%;margin:16px auto 0;overflow:clip}
 .hero-stage .hero-fan{top:6px}
 .hero-stage .lens-back{top:30px}
 .hero-stage .lens-front{bottom:20px}
}
