/* V71: a native report popover above the unchanged homepage. */
.magazine-tappable{position:relative;min-width:0}
body[data-page=index] .magazine-report-trigger{position:absolute;inset:0;z-index:25;width:100%;height:100%;padding:0;border:0;border-radius:8px;background:transparent;cursor:pointer;appearance:none;-webkit-appearance:none;color:#314b32}
.magazine-report-trigger>span{position:absolute;bottom:10px;left:50%;transform:translateX(-50%);white-space:nowrap;max-width:calc(100% - 24px);padding:8px 14px;background:#f8f7f3ed;border:1px solid #d1d9c9;border-radius:999px;font:500 11px/1.5 var(--font);letter-spacing:.01em;box-shadow:0 3px 16px #21322108}
.magazine-report-trigger:hover>span{background:#eaf0e2;color:#203725}
body[data-page=index] .magazine-report-trigger:focus-visible{outline:2px solid #326448!important;outline-offset:4px!important}
.sample-report-surface{box-sizing:border-box;width:min(1480px,calc(100vw - 40px));height:calc(100dvh - 40px);max-width:none;max-height:100%;margin:auto;padding:0;border:1px solid #d1d8ca;border-radius:14px;background:#ece8df;color:#25382b;overflow:hidden;box-shadow:0 24px 100px #12241955}
#sample-report-dialog:not([open]){display:none}
#sample-report-dialog[open]{display:grid;place-items:center}
#sample-report-dialog::backdrop{background:#15251ec9;backdrop-filter:blur(7px);-webkit-backdrop-filter:blur(7px)}
.sample-report-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:64px;padding:10px 18px 10px 24px;background:#f8f7f3;border-bottom:1px solid #d1d8ca}
body[data-page] main #sample-report-title{font:500 15px/1.4 var(--font);letter-spacing:-.01em;margin:0;color:#25382b;text-wrap:initial}
.sample-report-toolbar-actions{display:flex;align-items:center;gap:22px;flex:none}
.sample-report-toolbar a{display:inline-flex;align-items:center;min-height:44px;font:500 12px/1.4 var(--font);color:#465e3f;text-decoration:underline;text-underline-offset:4px}
.sample-report-toolbar button{display:grid;place-items:center;width:44px;height:44px;flex:none;border:1px solid #bbc6b3;border-radius:50%;background:#fff;color:#25382b;font:300 28px/1 var(--font);cursor:pointer}
.sample-report-toolbar button:hover{background:#eaf0e2}
.sample-report-body{position:relative;min-height:0;min-width:0;background:#ece8df}
.sample-report-body iframe{display:block;position:relative;z-index:1;width:100%;height:100%;border:0;background:#ece8df}
.sample-report-loading{position:absolute;inset:0;display:grid;place-items:center;font:400 15px/1.7 var(--font);color:#58664f;pointer-events:none;z-index:2;background:#ece8df}
.sample-report-loading[hidden]{display:none}
@media(max-width:760px){
 .sample-report-surface{width:calc(100vw - 16px);height:calc(100dvh - 16px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px));border-radius:10px}
 .sample-report-toolbar{min-height:60px;padding:8px 10px 8px 16px;gap:12px}
 body[data-page] main #sample-report-title{font-size:13px;max-width:16ch}
 .sample-report-toolbar-actions{gap:12px}
 .sample-report-toolbar a{font-size:11px}
 .magazine-report-trigger>span{bottom:0;font-size:10px;padding:7px 12px}
}
@media(max-width:374px){.sample-report-toolbar-actions{gap:8px}.sample-report-toolbar{padding-left:12px}body[data-page] main #sample-report-title{font-size:12px;max-width:13ch}}
@supports not (height:100dvh){.sample-report-surface{height:calc(100vh - 40px)}@media(max-width:760px){.sample-report-surface{height:calc(100vh - 16px)}}}

/* Scope this fix to the book. Preserve focus restoration and keyboard cues. */
body[data-page=index] main .magazine-tappable .magazine-report-trigger[data-focus-origin=pointer]:focus{outline:none!important;outline-offset:0!important}
body[data-page=index] main .magazine-tappable .magazine-report-trigger[data-focus-origin=keyboard]:focus{outline:2px solid #326448!important;outline-offset:4px!important}

/* The full-viewport top layer holds both the growing book and report surface. */
#sample-report-dialog{position:fixed;inset:0;width:100vw;height:100dvh;max-width:none;max-height:none;margin:0;padding:0;border:0;border-radius:0;background:transparent;overflow:hidden;box-shadow:none}
.sample-report-surface{display:grid;grid-template-rows:auto minmax(0,1fr);transform-origin:0 0;position:relative;z-index:2;will-change:transform,opacity}
#sample-report-dialog::backdrop{opacity:0;transition:opacity .38s ease}
#sample-report-dialog[data-report-state=opening]::backdrop,#sample-report-dialog[data-report-state=open]::backdrop{opacity:1}
#sample-report-dialog[data-report-state=closing]::backdrop{opacity:0}
#sample-report-dialog[data-report-state=opening] .sample-report-body,#sample-report-dialog[data-report-state=closing] .sample-report-body{pointer-events:none}
.magazine-tappable[data-report-morphing]>.magazine-stage,.magazine-tappable[data-report-morphing]>.magazine-report-trigger{visibility:hidden}
body[data-page=index] main .report-book-ghost{position:fixed!important;z-index:3;pointer-events:none;display:block!important;margin:0!important;padding:0!important;min-height:0!important;max-width:none!important;transform-origin:0 0;opacity:1;visibility:visible;will-change:transform,opacity}
body[data-page=index] main .report-book-ghost>.magazine-stage{width:100%!important;height:100%!important;aspect-ratio:auto!important;margin:0!important}
.report-book-ghost *{animation:none!important;transition:none!important}
@media(prefers-reduced-motion:reduce){#sample-report-dialog::backdrop{transition:none}.sample-report-surface{will-change:auto}}
@supports not (height:100dvh){#sample-report-dialog{height:100vh}}

/* Give the report caption its own row below the paper on phones.
   The transparent hit area still makes the whole book tappable. */
@media screen and (max-width:760px){
 body[data-page=index] main .magazine-tappable{display:grid;grid-template-columns:minmax(0,1fr);row-gap:clamp(48px,calc(8vw + 16px),72px)}
 body[data-page=index] main .magazine-tappable>.magazine-report-trigger{position:static;inset:auto;display:flex;justify-content:center;align-items:center;height:auto;min-height:44px}
 body[data-page=index] main .magazine-tappable>.magazine-report-trigger::before{content:"";position:absolute;inset:0;cursor:pointer}
 body[data-page=index] main .magazine-report-trigger>span{position:static;transform:none;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-height:44px;max-width:calc(100% - 24px);padding:8px 16px;font-size:11px}
}
/* The narrower phone stage already reserves more height for the paper. */
@media screen and (max-width:380px){body[data-page=index] main .magazine-tappable{row-gap:32px}}

/* Keep Safari's root scroller outside decorative clipping containers. */
html.home-scroll-stable,html.home-scroll-stable body[data-page=index]{overflow-x:visible}
body[data-page=index]>.topbar{position:sticky;top:0;margin-block:0;transform:none}
@media(max-width:760px){
 html.home-spacing-stable body[data-page=index] main .hero.cover-story{padding-top:var(--home-hero-top);padding-bottom:var(--home-hero-bottom)}
 html.home-spacing-stable body[data-page=index] main .cover-story .label{margin-bottom:var(--home-label-bottom)}
 html.home-spacing-stable body[data-page=index] main .cover-portrait.hero-magazine{margin-top:var(--home-book-top)}
 html.home-spacing-stable body[data-page=index] main .cover-deck{margin-top:var(--home-deck-top)}
}

/* V76: one compact action row brings the mobile book into view sooner. */
body[data-page=index] main .cover-actions .hero-report-label-mobile{display:none}
@media(max-width:760px){
 body[data-page=index] main .cover-actions{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;gap:12px;margin-top:20px}
 body[data-page=index] main .cover-actions>a{flex:0 1 auto;width:auto;min-width:0;white-space:nowrap;font-size:13px;line-height:1.3;min-height:44px;margin:0}
 body[data-page=index] main .cover-actions .btn{min-height:44px;padding:11px 14px;gap:0;justify-content:center}
 body[data-page=index] main .cover-actions .text-link{min-height:44px;padding:11px 8px;gap:0;font-size:13px;align-self:auto}
 body[data-page=index] main .cover-actions>a>[aria-hidden=true],body[data-page=index] main .cover-actions .hero-report-label-desktop{display:none}
 body[data-page=index] main .cover-actions .hero-report-label-mobile{display:inline}
 body[data-page=index] main .cover-portrait.hero-magazine{margin-top:16px}
}

/* V77: deliberate three-line headline with comfortable optical spacing. */
body[data-page=index] main .cover-story h1{line-height:1.06;letter-spacing:-.05em}

/* V79: open the first line's word spacing across every device. */
body[data-page=index] main .cover-story h1>.hero-opening-line{color:inherit;word-spacing:.18em;white-space:nowrap}

/* V83: follow the shared inner-page hero title scale for the second sentence. */
body[data-page=index] main .cover-story h1>.hero-awaiting-line{display:block;color:inherit;font-size:var(--type-display);line-height:1.12;letter-spacing:-.035em}
body[data-page=index] main .hero-awaiting-line>span{color:#77816e}
