/* Phone compositions use readable copy and compact product previews. */
.portrait-haze{display:none}
@media(max-width:999px){
  .story-home{--gutter:22px}
  .story-home .site-header{height:60px;border-radius:18px;background:linear-gradient(120deg,#38304766,#151621b8);box-shadow:inset 0 1px 0 #ffffff16,0 8px 24px #0002}
  .story-home .site-header .brand{font-size:24px;letter-spacing:-.9px}
  .story-home .site-header .brand img{width:27px;height:30px}
  .story-home .mobile-nav summary{background:transparent;font-size:14px;gap:10px;min-width:78px}
  .story-home .hero-copy,.hero-pinned .hero-copy{padding:calc(105px + env(safe-area-inset-top,0px)) 24px 0;max-width:none}
  .story-home .hero h1,.hero-pinned .hero h1,.hero-pinned .hero-statement{font-size:clamp(44px,12vw,56px);line-height:1.03;letter-spacing:-.02em}
  .hero-pinned .hero-statement:last-child{font-size:clamp(40px,11vw,52px);line-height:1.08}
  .hero-kicker,.hero-pinned .hero-kicker{font-size:10px;line-height:1.4;letter-spacing:.08em;margin-bottom:18px}
  .story-home .hero .copy-space--hero{height:3lh;font-size:13px;line-height:1.1;margin:8px 0}
  .story-home .hero-copy .actions{gap:16px;flex-direction:row;flex-wrap:nowrap}
  .story-home .hero .button{font-size:15px;min-height:50px;padding:12px 16px;gap:22px;border-radius:4px}
  .story-home .hero .text-link{font-size:13px;line-height:1.4;min-height:48px;gap:9px;white-space:nowrap}
  .story-home .hero .text-link .ui-arrow{width:17px;height:17px}
  .hero-pinned .hero-visual{inset:auto -3% 0;height:49svh}
  .story-home .talk{display:none}
  .story-pinned .research-stage{padding:calc(88px + env(safe-area-inset-top,0px)) 22px calc(10px + env(safe-area-inset-bottom,0px))}
  .story-pinned .story-topline{padding:0 0 12px;gap:0;min-height:48px}
  .story-pinned .story-topline h2{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
  .story-pinned .story-topline>div{width:100%;justify-content:space-between;gap:20px}
  .story-pinned .story-topline a,.story-pinned .story-topline button{font-size:13px;line-height:1.4;min-height:44px;padding:10px 0;color:#b8b0c8;border:0;display:inline-flex;align-items:center;gap:8px}
  .story-pinned .story-topline a .ui-arrow{width:16px;height:16px}
  .story-pinned .research-chapter{padding:10px 0;gap:20px;grid-template-rows:auto minmax(0,1fr)}
  .story-pinned .chapter-copy .step-label{font-size:10px;line-height:1.4;letter-spacing:.1em;margin-bottom:10px}
  .story-pinned .chapter-copy h3{font-size:clamp(33px,9vw,40px);line-height:1.07;letter-spacing:-.015em}
  .story-pinned .chapter-copy p{font-size:15px;line-height:1.5;margin-top:14px;color:#c8c9d4}
  .story-pinned .research-visual{width:100%;max-height:none;align-self:center;border-radius:14px;overflow:hidden;box-shadow:0 12px 28px #0002}
  .story-pinned .workbench-bar{height:36px;min-height:36px;padding:8px 15px}
  .story-pinned .workbench-bar>span{font-size:14px;gap:8px}
  .story-pinned .workbench-bar small{display:none}
  .story-pinned .paper-eyebrow{font-size:10px;line-height:1.4;letter-spacing:.08em;margin-bottom:6px}
  .story-pinned .brief-paper,.story-pinned .evidence-paper,.story-pinned .handoff-paper{padding:16px 18px;min-height:0}
  .story-pinned .research-visual h4{font-size:23px;line-height:1.15}
  .story-pinned .paper-location{font-size:12px;line-height:1.4;margin:6px 0 12px}
  .story-pinned .brief-criteria>div{padding:9px 0;gap:11px}
  .story-pinned .brief-criteria>div>span{font-size:10px}
  .story-pinned .brief-criteria p{font-size:12px;line-height:1.4}
  .story-pinned .brief-criteria small{font-size:10px;line-height:1.4;margin-bottom:3px}
  .story-pinned .paper-tag{display:none}
  .story-pinned .discovery-dossier{min-height:250px;grid-template-columns:.82fr 1.18fr}
  .story-pinned .dossier-info{padding:18px 13px;filter:none;opacity:calc(.35 + var(--portrait-clarity,1)*.65)}
  .story-pinned .dossier-info h4{font-size:23px}
  .story-pinned .dossier-info>p{font-size:12px;line-height:1.4;margin:7px 0 12px}
  .story-pinned .context-line{padding:9px 0}
  .story-pinned .context-line small{font-size:9px;line-height:1.35}
  .story-pinned .context-line strong{font-size:11px;line-height:1.35}
  .story-pinned .dossier-portrait>img{filter:none;opacity:1}
  .story-pinned .dossier-portrait .portrait-haze{display:block;position:absolute;inset:0;width:100%;height:100%;filter:blur(10px);transform:scale(1.08);opacity:calc(1 - var(--portrait-clarity,1));will-change:opacity;pointer-events:none}
  .story-pinned .dossier-portrait>span{font-size:9px;padding:4px 6px;bottom:9px;left:8px}
  .story-pinned .scan-line{display:none}
  .story-pinned .visual-note{font-size:10px;line-height:1.4;margin:0;padding:9px 12px;background:#191624;color:#bbb2ca}
  .story-pinned .mini-profile{padding-bottom:12px;gap:10px}
  .story-pinned .mini-profile img{width:35px;height:35px}
  .story-pinned .mini-profile h4{font-size:19px}
  .story-pinned .mini-profile span{font-size:10px;line-height:1.4;margin-top:3px}
  .story-pinned .evidence-row{padding:11px 0;gap:10px}
  .story-pinned .evidence-row small{font-size:9px;line-height:1.4}
  .story-pinned .evidence-row h5{font-size:12px;line-height:1.4}
  .story-pinned .evidence-row p{font-size:11px;line-height:1.4;margin-top:4px}
  .story-pinned .evidence-question{padding:10px 12px;margin-top:12px}
  .story-pinned .evidence-question small{font-size:9px}
  .story-pinned .evidence-question p{font-size:12px;line-height:1.4}
  .story-pinned .handoff-paper h4{font-size:28px}
  .story-pinned .handoff-item{gap:12px;padding-top:10px;margin-top:10px}
  .story-pinned .handoff-item>span{font-size:10px}
  .story-pinned .handoff-item strong{font-size:12px}
  .story-pinned .handoff-item p{font-size:11px;line-height:1.4;margin-top:4px}
  .story-pinned .story-nav{margin-top:10px;padding-top:5px;gap:6px}
  .story-pinned .story-nav a{min-height:46px;justify-content:center;font-size:13px;gap:0;line-height:1.2}
  .story-pinned .story-nav a>span{display:none}
  .research-numbers article>p{font-size:15px;line-height:1.55}
  .research-numbers a,.research-numbers small{font-size:12px;line-height:1.5}
  .review-notes>div span{font-size:15px}.review-notes>div p{font-size:15px;line-height:1.5}
  .connected-lede{font-size:20px;line-height:1.5}
  .question-list summary{font-size:17px;line-height:1.4;padding:22px 0;min-height:64px}
  .question-list p{font-size:16px;line-height:1.6}
  .journal-side .journal-story{grid-template-columns:84px minmax(0,1fr);gap:16px}
  .journal-side h3{font-size:25px;line-height:1.15}
  .footer-top nav>a,.footer-top nav>button{font-size:15px;line-height:1.4;min-height:44px}
}
@media(max-width:999px) and (max-height:740px){
  .story-home .hero-copy,.hero-pinned .hero-copy{padding-top:100px}
  .story-home .hero h1,.hero-pinned .hero h1,.hero-pinned .hero-statement{font-size:43px}
  .hero-pinned .hero-statement:last-child{font-size:39px}
  .hero-pinned .hero-visual{height:43svh}
  .story-pinned .research-stage{padding-top:80px;padding-bottom:6px}
  .story-pinned .story-topline{padding-bottom:5px;min-height:44px}
  .story-pinned .research-chapter{padding:4px 0;gap:13px}
  .story-pinned .chapter-copy .step-label{margin-bottom:7px}
  .story-pinned .chapter-copy h3{font-size:33px}
  .story-pinned .chapter-copy p{font-size:15px;line-height:1.5;margin-top:10px}
  .story-pinned .brief-paper,.story-pinned .evidence-paper,.story-pinned .handoff-paper{padding:12px 15px}
  .story-pinned .brief-criteria>div{padding:6px 0}
  .story-pinned .brief-criteria small{display:none}
  .story-pinned .brief-criteria p{font-size:12px}
  .story-pinned .paper-eyebrow{font-size:9px}
  .story-pinned .discovery-dossier{min-height:220px}
  .story-pinned .dossier-info{padding:12px}
  .story-pinned .dossier-info>p{font-size:11px;margin:5px 0 7px}
  .story-pinned .context-line{padding:7px 0}
  .story-pinned .context-line small{font-size:9px}
  .story-pinned .context-line strong{font-size:11px}
  .story-pinned .visual-note{font-size:9px;padding:6px 10px}
  .story-pinned .mini-profile{padding-bottom:8px}
  .story-pinned .evidence-row{padding:7px 0}
  .story-pinned .evidence-row p{display:none}
  .story-pinned .evidence-question{padding:8px 10px;margin-top:8px}
  .story-pinned .handoff-paper h4{font-size:24px}
  .story-pinned .handoff-item{padding-top:7px;margin-top:7px}
  .story-pinned .handoff-item p{font-size:11px}
  .story-pinned .story-nav{margin-top:7px;padding-top:3px}
}
@media(pointer:coarse){
  .story-home .hero-visual::before{transform:none;opacity:.7}
}

/* Long chapters pan inside the pinned research frame at readable text sizes. */
.mobile-chapters .research-panels{overflow:clip}
.mobile-chapters.story-pinned .research-chapter{inset:0 0 auto;min-height:100%;height:auto;grid-template-rows:auto auto;align-content:space-between;box-sizing:border-box}
.mobile-chapters.story-pinned .research-chapter[data-chapter-visible="true"]{visibility:visible}
@media(max-width:999px) and (max-height:740px){
  .story-pinned .dossier-info>.paper-eyebrow,.story-pinned .visual-note{display:none}
}
@media(max-width:999px){
  .hero-pinned .hero-copy .actions{position:absolute;left:24px;right:24px;bottom:calc(22px + env(safe-area-inset-bottom,0px));z-index:4;justify-content:space-between}
  .hero-pinned .hero-visual{inset:auto -3% calc(85px + env(safe-area-inset-bottom,0px));height:48svh;max-height:calc(100svh - 350px)}
}
@media(max-width:999px){.hero-pinned .hero-copy{position:absolute;inset:0;width:100%;height:100%;max-width:none}}

@media(max-width:360px){
  .story-home .hero .button{font-size:14px;padding:10px;gap:12px;white-space:nowrap}
  .story-home .hero-copy .actions{gap:12px}
  .story-home .hero .text-link{font-size:12px;gap:6px}
}
@media(min-width:601px) and (max-width:999px) and (max-height:600px){
  .hero-pinned .hero-copy{padding-top:94px}
  .hero-pinned .hero-title-stack{width:50%}
  .hero-pinned .hero-kicker{font-size:9px;margin-bottom:14px}
  .hero-pinned .hero h1,.hero-pinned .hero-statement{font-size:39px}
  .hero-pinned .hero-statement:last-child{font-size:37px}
  .hero-pinned .hero-visual{inset:auto 0 10px 49%;height:calc(100svh - 90px);max-height:none}
  .hero-pinned .hero-copy .actions{right:auto;width:calc(50% - 40px);gap:12px}
  .hero-pinned .hero .button{font-size:14px;padding:10px 12px;gap:15px;white-space:nowrap}
  .hero-pinned .hero .text-link{font-size:12px;gap:6px}
  .mobile-chapters.story-pinned .research-chapter{grid-template-columns:.9fr 1.1fr;grid-template-rows:auto;gap:28px;align-items:start}
  .story-pinned .chapter-copy{align-self:start}
  .story-pinned .research-visual{align-self:start}
}
