/* W1: newspaper chapters, with one rising roofline between front and sections. */
.page-front h2, .page-front h3 { text-wrap: pretty; }
.page-front .story p { margin-bottom: 0; }
.page-front .story .kicker { margin-bottom: 0.1rem; }
.page-front .story .status { margin-top: 0.35rem; }
.page-front .section-head__title { font-weight: 600; }
.page-front .story__headline a,
.page-front .home-credit a,
.page-front .byline__name,
.page-front .section-head__more,
.page-front .link-arrow { display: inline-flex; align-items: center; min-height: 44px; }
.page-front .story__headline a { display: block; padding-block: 0.2rem; }
.home-credit { font: 0.6875rem/1.6 var(--font-sans); color: var(--grey); }
.home-credit a { color: inherit; }
.page-front .home-credit a { min-height: 44px; }
.home-front { display: grid; gap: 2.5rem; padding-block: 2.5rem 4rem; }
.home-front > *, .home-guides__grid > *, .home-reviews__grid > * { min-width: 0; }
.home-front__secondary { display: grid; gap: 2rem; }
.home-front__secondary > .story + .story { border-top: 1px solid var(--line); padding-top: 1.5rem; }
.home-front__latest .section-head { margin-bottom: 1.25rem; }
.home-front .byline { margin-top: 0.8rem; }
.home-front .frame { margin-bottom: 0.8rem; }
.home-front__photo-link { display: block; }
.home-front__secondary .story__headline { font-size: 1.5rem; }
.home-front__latest .story-list > li { padding-block: 1rem; }
.home-front__latest .story-list > li:first-child { padding-top: 0; }
.home-front__latest .story-list > li::before { padding-top: 0.15rem; }
.home-guides__grid, .home-reviews__grid, .home-numbers__grid, .home-opinions__grid { display: grid; gap: 2.5rem; }
.home-guides__grid > .story .story__headline,
.home-reviews__grid > .story .story__headline { font-size: clamp(1.65rem, 2.5vw, 2.2rem); }
.home-guides__grid > .story .story__standfirst,
.home-reviews__grid > .story .story__standfirst { max-width: 46ch; font-size: 1.15rem; }
.home-guides .story-list .story__headline { font-size: 1.35rem; }
.home-numbers .lede { max-width: 41ch; }
.home-numbers .lede p + p { font-size: 1.1rem; }
/* Use the darker neutral grey on sand to preserve 4.5:1 text contrast. */
.home-numbers { --grey: var(--charcoal); }
.home-ledger { align-self: center; margin: 0; font: 0.9375rem/1.5 var(--font-sans); }
.home-ledger > div { display: flex; justify-content: space-between; gap: 1rem; border-top: 1px solid var(--charcoal); padding-block: 1.25rem; }
.home-ledger > div:last-child { border-bottom: 1px solid var(--charcoal); }
.home-ledger dd { margin: 0; color: var(--grey); }
.home-columnist .byline { align-items: flex-start; font-size: 0.875rem; }
.home-columnist .byline__photo { width: 72px; height: 72px; }
.home-columnist .byline__name { font-size: 1.1rem; }
.home-columnist__note { max-width: 27ch; margin-top: 1.5rem; font-size: 1.5rem; line-height: 1.4; }
.home-opinions .story__headline { font-size: clamp(1.35rem, 2vw, 1.75rem); }
.home-standards__columns { display: grid; gap: 1.75rem; padding-block: 0.5rem 1.5rem; }
.home-standards__columns h3 { font-size: 1.25rem; }
.home-standards__columns p { font-size: 1.08rem; line-height: 1.6; max-width: 38ch; }
.home-standards .sources { margin-top: 2rem; }
.home-standards .disclosure { border-top-color: var(--line); margin-bottom: 0; }

/* Full, readable composition is the default, including with no script. */
.home-roof { --sc-p: 1; }
.home-roof__inner { padding-block: 2.5rem 1rem; }
.home-roof .title { max-width: 24ch; margin-bottom: 1.75rem; }
.roof-diagram { display: none; }
.roof-panels { display: grid; gap: 1px; }
.roof-panel { position: relative; isolation: isolate; min-width: 0; padding: 0 1.5rem 1.5rem; color: var(--charcoal); opacity: 1; transform: none; }
.roof-panel::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--cream); transform-origin: center bottom; }
.roof-panel--1 { min-height: 19rem; }
.roof-panel--2 { min-height: 22rem; }
.roof-panel--3 { min-height: 25rem; color: var(--cream); }
.roof-panel--4 { min-height: 30rem; color: var(--cream); }
.roof-panel--2::before { background: var(--sand); }
.roof-panel--3::before { background: var(--clay); }
.roof-panel--4::before { background: var(--charcoal); }
.roof-panel__band { font: 600 0.75rem/1.5 var(--font-sans); min-height: 3rem; display: flex; align-items: center; margin-bottom: 1rem; }
.roof-panel--4 .roof-panel__band { border-bottom: 1px solid var(--cream); margin-inline: -1.5rem; padding-inline: 1.5rem; }
.roof-panel h3 { font-size: clamp(1.5rem, 2vw, 2rem); margin: 0 0 0.75rem; }
.roof-panel a:not(.btn) { color: inherit; text-decoration-color: currentColor; }
.roof-panel h3 a { display: inline-block; min-height: 44px; text-decoration: none; }
.roof-panel h3 a:hover { text-decoration: underline; }
.roof-panel__copy > p:not(.roof-panel__ask) { font-size: 1.05rem; line-height: 1.5; max-width: 24ch; margin-bottom: 0.5rem; }
.roof-panel__link { display: inline-flex; align-items: center; min-height: 44px; font: 600 0.75rem/1.5 var(--font-sans); }
.roof-panel__ask { font: italic 500 clamp(3.5rem, 5.4vw, 5.5rem)/1 var(--font-display); margin: 0.75rem 0 1.25rem; }
.roof-panel .btn { max-width: 100%; padding-inline: 1rem; }
.roof-panel--3 :focus-visible, .roof-panel--4 :focus-visible { outline-color: var(--cream); }
.home-roof__journey { display: flex; align-items: center; flex-wrap: wrap; gap: 0.4rem; margin: 0; font: 0.75rem/1.5 var(--font-sans); }
.home-roof__journey a { display: inline-flex; align-items: center; min-height: 44px; }
.home-roof:not(.home-roof--motion) [data-sc-cue],
.home-roof:not(.home-roof--motion) .sc-unit { opacity: 1 !important; transform: none !important; pointer-events: auto !important; }
.home-roof:not(.home-roof--motion) [data-sc-stage] { position: relative; top: auto; height: auto; overflow: visible; }

/* Only an available runtime enables the viewport stage. No height animation. */
.home-roof--motion { height: 320vh !important; height: 320svh !important; }
.home-roof--motion .home-roof__stage { position: sticky; top: var(--bar-h); height: calc(100vh - var(--bar-h)); height: calc(100svh - var(--bar-h)); overflow: clip; }
.home-roof--motion .home-roof__inner { height: 100%; display: flex; flex-direction: column; padding-top: clamp(1.25rem, 4svh, 2.5rem); }
.home-roof--motion .roof-panels { position: relative; flex: 1; min-height: 0; overflow: clip; }
.home-roof--motion .roof-panel { grid-area: 1 / 1; min-height: 0; padding-top: 0; will-change: transform, opacity; -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.home-roof--motion .roof-panel__copy { max-width: 35rem; }
.home-roof--motion .roof-panel__ask { margin-block: 0.5rem 1rem; }
.home-roof--motion .roof-diagram { display: flex; align-items: end; height: 54px; gap: 4px; flex: none; margin: 0 0 1rem; border-bottom: 1px solid var(--charcoal); }
.roof-diagram span { flex: 1; height: 40%; background: var(--sand); transform-origin: center bottom; }
.roof-diagram span:nth-child(2) { height: 60%; }
.roof-diagram span:nth-child(3) { height: 80%; }
.roof-diagram span:nth-child(4) { height: 100%; }
.home-roof--motion .roof-diagram span { transform: scaleY(var(--home-diagram-scale, 1)); }
.home-roof[data-home-active="1"] .roof-diagram span:nth-child(1),
.home-roof[data-home-active="2"] .roof-diagram span:nth-child(2),
.home-roof[data-home-active="3"] .roof-diagram span:nth-child(3),
.home-roof[data-home-active="4"] .roof-diagram span:nth-child(4) { background: var(--clay); }

@media (max-width: 899px) {
 .page-front { --gutter: 16px; }
 .home-roof--motion .title { font-size: clamp(1.65rem, 5.8vw, 2.5rem); margin-bottom: 1rem; }
 .home-roof--motion .roof-panel { display: flex; flex-direction: column; opacity: var(--home-phone-opacity, 1); transform: translate3d(0, var(--home-phone-shift, 0px), 0); }
 .home-roof--motion .roof-panel[data-home-unready] { pointer-events: none; }
 .home-roof--motion .roof-panel__copy { margin-block: auto; padding-bottom: 0.5rem; }
 .home-roof--motion .roof-panel h3 { font-size: 1.6rem; }
 .home-roof--motion .roof-panel__copy > p:not(.roof-panel__ask) { max-width: 32ch; }
 .home-roof--motion .roof-panel__ask { font-size: 3.5rem; }
}
@media (min-width: 900px) {
 .home-front { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); padding-block: 3.5rem 5rem; gap: 3rem; }
 .home-front__lead { grid-column: 1 / -1; }
 .home-front__secondary { border-right: 1px solid var(--line); padding-right: 2rem; }
 .home-guides__grid { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 4rem; }
 .home-numbers__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 6rem; align-items: center; }
 .home-reviews__grid { grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr); gap: 3rem; }
 .home-opinions__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 4rem; }
 .home-standards__columns { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem; }
 .roof-panels { grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: end; height: 36rem; }
 .roof-panel { min-height: 0; height: 58%; padding-inline: clamp(1rem, 1.7vw, 1.5rem); display: flex; flex-direction: column; }
 .roof-panel--2 { height: 72%; }
 .roof-panel--3 { height: 86%; }
 .roof-panel--4 { height: 100%; }
 .roof-panel::before { clip-path: polygon(0 7%, 100% 0, 100% 100%, 0 100%); }
 .roof-panel__band { margin-top: 1.5rem; }
 .roof-panel__copy { margin-top: auto; }
 .roof-panel--4 .roof-panel__band { margin-inline: calc(-1 * clamp(1rem, 1.7vw, 1.5rem)); padding-inline: clamp(1rem, 1.7vw, 1.5rem); }
 .home-roof--motion .roof-diagram { display: none; }
 .home-roof--motion .roof-panel { grid-area: auto; opacity: 1; transform: translate3d(0, var(--home-lift, 0%), 0); pointer-events: auto; }
 .home-roof--motion .roof-panel::before { transform: none; }
 .home-roof--motion .roof-panel__copy,
 .home-roof--motion .roof-panel__band { opacity: var(--home-copy-opacity, 1); }
 .home-roof--motion .roof-panel[data-home-unready] .roof-panel__copy { pointer-events: none; }
}
@media (min-width: 1100px) {
 .home-front { grid-template-columns: minmax(0, 2.15fr) minmax(0, 1fr) minmax(0, 1fr); gap: 2rem; }
 .home-front__lead { grid-column: auto; padding-right: 1.75rem; border-right: 1px solid var(--line); }
 .home-front__secondary { padding-right: 1.75rem; }
 .home-front__secondary .story__headline { font-size: 1.35rem; }
}
/* Short viewports keep the links and phase label ahead of supporting copy. */
@media (max-height: 700px) {
 .home-roof--motion .home-roof__inner { padding-top: 1rem; }
 .home-roof--motion .roof-panel__copy > p:not(.roof-panel__ask) { display: none; }
 .home-roof--motion .roof-panel__band { margin-bottom: 0.5rem; min-height: 2.5rem; }
 .home-roof--motion .roof-panel__ask { font-size: 3rem; margin-block: 0.25rem 0.5rem; }
 .home-roof--motion .roof-panel h3 { font-size: 1.35rem; margin-bottom: 0.25rem; }
 .home-roof--motion .roof-diagram { height: 32px; margin-bottom: 0.5rem; }
}
@media (max-width: 899px) and (max-height: 520px) {
 .home-roof--motion .title { max-width: none; font-size: 1.35rem; margin-bottom: 0.5rem; }
 .home-roof--motion .roof-diagram { display: none; }
 .home-roof--motion .roof-panel { padding-inline: 1rem; padding-bottom: 0.5rem; }
 .home-roof--motion .roof-panel__band { min-height: 1.5rem; margin-bottom: 0.25rem; }
 .home-roof--motion .roof-panel--4 .roof-panel__band { margin-inline: -1rem; padding-inline: 1rem; }
 .home-roof--motion .roof-panel--4 .roof-panel__copy { width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 1rem; align-items: center; }
 .home-roof--motion .roof-panel--4 h3, .home-roof--motion .roof-panel--4 .roof-panel__link { grid-column: 1; }
 .home-roof--motion .roof-panel--4 .roof-panel__ask { grid-column: 2; grid-row: 1; font-size: 2.25rem; margin: 0; }
 .home-roof--motion .roof-panel--4 .btn { grid-column: 2; grid-row: 2; min-height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
 .home-roof { height: auto !important; }
 .home-roof [data-sc-stage] { position: relative; top: auto; height: auto; overflow: visible; }
 .home-roof [data-sc-cue], .home-roof .sc-unit { opacity: 1 !important; transform: none !important; pointer-events: auto !important; }
 .home-roof .roof-panel::before { transform: none !important; }
 .home-roof .roof-panel__copy, .home-roof .roof-panel__band { opacity: 1 !important; transform: none !important; }
}
