/* One responsive home; native scrolling, with snap reserved for phone-sized screens. */
body.home { overflow: hidden; }
.mobile-home { display: block; background: var(--ink); }
.home .mobile-deck { display: block; height: 100svh; overflow-y: auto; overflow-x: clip; background: var(--ink); }
.home .footer { scroll-snap-align: start; position: relative; }
@media (max-width: 767px) {
    .home .mobile-deck { scroll-snap-type: y mandatory; }
}
/* Snap positions must stay in normal flow when the visual sheets stick. */
.mobile-snap { height: 1px; margin-bottom: -1px; scroll-snap-align: start; scroll-snap-stop: always; }
.mobile-screen { padding: 0; position: sticky; top: 0; height: 100svh; isolation: isolate; }
.mobile-card { position: relative; height: 100%; padding: 92px 28px max(44px, env(safe-area-inset-bottom)); background: var(--paper); color: var(--ink); overflow: hidden; transform: scale(calc(1 - var(--covered, 0) * .04)); transform-origin: center top; border-radius: calc(var(--covered, 0) * 24px); }
.mobile-card::after { content: ''; position: absolute; inset: 0; z-index: 3; pointer-events: none; background: var(--ink); opacity: calc(var(--covered, 0) * .22); }
.mobile-home .mobile-title, .mobile-home h2 { font-size: clamp(46px, 12vw, 60px); font-weight: 600; line-height: 1.02; letter-spacing: -.055em; margin: 18px 0 22px; }
.mobile-home p { margin: 0; }
.mobile-home .mobile-eyebrow { font-size: 11px; font-weight: 600; letter-spacing: .08em; line-height: 1.5; text-transform: uppercase; }
.mobile-home .mobile-lede { font-size: 21px; line-height: 1.45; letter-spacing: -.025em; }
.mobile-photo p { color: var(--paper); }
.mobile-photo a:focus-visible { outline-color: var(--accent-on-dark); }
.mobile-photo { color: var(--paper); background: var(--ink); }
.mobile-backdrop { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.mobile-photo::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgb(0 0 0 / 12%), rgb(0 0 0 / 0%) 20%, rgb(0 0 0 / 55%) 45%, rgb(0 0 0 / 92%) 100%); }
.mobile-portrait .mobile-backdrop { object-position: 62% 20%; }
.mobile-portrait::before { background: linear-gradient(180deg, transparent 28%, rgb(0 0 0 / 12%) 38%, rgb(0 0 0 / 82%) 67%, rgb(0 0 0 / 95%) 100%); }
.mobile-copy { position: absolute; z-index: 2; bottom: max(76px, calc(env(safe-area-inset-bottom) + 52px)); left: 28px; right: 28px; }
.mobile-home .mobile-portrait .mobile-title { color: var(--paper); margin: 12px 0 16px; font-size: clamp(48px, 13vw, 62px); }
.mobile-button { display: flex; min-height: 54px; align-items: center; justify-content: space-between; gap: 20px; width: 100%; padding: 15px 20px; margin-top: 28px; border-radius: 30px; background: var(--ink); color: var(--paper); font-size: 15px; font-weight: 600; text-decoration: none; }
.mobile-photo .mobile-button { background: var(--paper); color: var(--ink); }
.mobile-home a:focus-visible, .mobile-deck:focus-visible { outline: 3px solid var(--accent); outline-offset: -4px; }
.mobile-next { position: absolute; z-index: 2; bottom: max(22px, env(safe-area-inset-bottom)); left: 28px; right: 28px; display: flex; justify-content: space-between; align-items: center; min-height: 44px; font-size: 11px; color: var(--paper); text-decoration: none; }
.mobile-person { display: flex; flex-direction: column; background: var(--surface); }
.mobile-person > p:not([class]) { font-size: 16px; line-height: 1.6; margin-top: 20px; }
.mobile-facts { margin: auto 0 18px; }
.mobile-facts div { display: flex; align-items: baseline; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--rule-strong); }
.mobile-facts dt { font-size: 21px; letter-spacing: -.04em; font-weight: 600; white-space: nowrap; min-width: 130px; }
.mobile-facts dd { font-size: 12px; line-height: 1.5; }
.mobile-text-link { color: var(--accent); text-decoration: none; font-size: 14px; display: flex; align-items: center; min-height: 44px; justify-content: space-between; }
.mobile-company-label { position: relative; z-index: 2; display: inline-block; background: var(--ink); color: var(--paper); padding: 8px 12px; border-radius: 20px; }
.mobile-logo { width: 64px; height: 64px; object-fit: contain; background: var(--paper); border-radius: 16px; margin-bottom: 24px; padding: 8px; }
.mobile-writing { overflow-y: auto; overflow-wrap: anywhere; }
.mobile-section-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.mobile-section-head a { color: var(--accent); font-size: 12px; min-height: 44px; display: flex; align-items: center; text-decoration: none; }
.mobile-home .mobile-writing h2 { font-size: 40px; margin: 12px 0 20px; }
.mobile-feature, .mobile-story { display: block; text-decoration: none; color: var(--ink); min-width: 0; }
.mobile-feature img { width: 100%; height: 190px; object-fit: cover; border-radius: 16px; display: block; margin-bottom: 12px; }
.mobile-home time { color: var(--ink-muted); font-size: 10px; letter-spacing: .04em; }
.mobile-home .mobile-feature h3 { font-size: 24px; line-height: 1.15; letter-spacing: -.04em; font-weight: 600; margin-top: 6px; }
.mobile-stories { display: flex; gap: 16px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; margin-top: 24px; padding-bottom: 12px; }
.mobile-story { flex: 0 0 76%; scroll-snap-align: start; }
.mobile-story img { width: 100%; height: 100px; object-fit: cover; border-radius: 12px; display: block; margin-bottom: 6px; }
.mobile-home .mobile-story h3 { font-size: 15px; line-height: 1.25; letter-spacing: -.025em; font-weight: 600; margin-top: 4px; }
.mobile-contact { display: flex; flex-direction: column; justify-content: center; background: var(--surface); }
.mobile-contact .mobile-text-link { margin-top: 20px; }
.mobile-home .mobile-signature { margin-top: 60px; font-size: 12px; line-height: 1.6; color: var(--ink-muted); }
@media (min-width: 768px) {
    .mobile-home .mobile-title, .mobile-home h2 { font-size: clamp(64px, 6vw, 88px); }
    .mobile-home .mobile-portrait .mobile-title { font-size: clamp(72px, 7vw, 100px); }
    .mobile-home .mobile-lede { font-size: 26px; max-width: 640px; }
    .mobile-home .mobile-person > p:not([class]) { font-size: 20px; max-width: 640px; }
    .mobile-facts { max-width: 640px; }
    .mobile-facts dt { min-width: 180px; font-size: 28px; }
    .mobile-facts dd { font-size: 16px; }
    .mobile-card { padding-left: max(48px, calc((100vw - 960px) / 2)); padding-right: max(48px, calc((100vw - 960px) / 2)); }
    .mobile-copy { left: max(48px, calc((100vw - 960px) / 2)); right: auto; width: 480px; }
    .mobile-photo .mobile-backdrop { top: 84px; height: calc(100% - 84px); }
    .mobile-portrait .mobile-backdrop { object-position: 62% top; }
    .mobile-feature { max-width: 600px; }
    .mobile-stories { max-width: 960px; }
    .mobile-story { flex-basis: 30%; }
    .mobile-contact .mobile-button { max-width: 480px; }
}
@media (min-width: 768px) and (min-aspect-ratio: 1/1) {
    .mobile-portrait .mobile-backdrop { left: auto; right: 0; width: calc(100svh - 84px); }
    .mobile-portrait::before { background: linear-gradient(90deg, var(--ink) 12%, rgb(29 29 31 / 90%) 30%, transparent 65%), linear-gradient(0deg, rgb(0 0 0 / 45%), transparent 40%); }
    .mobile-home .mobile-portrait .mobile-title { font-size: clamp(64px, 6.5vw, 96px); }
    .mobile-copy { width: min(480px, 46vw); }
    .mobile-portrait .mobile-copy { bottom: max(100px, 12vh); }
    .mobile-person { padding-top: 112px; }
}
@media (max-height: 750px) {
    .mobile-card { padding-top: 78px; padding-bottom: 24px; }
    .mobile-home h2 { font-size: 42px; margin: 14px 0 18px; }
    .mobile-home .mobile-lede { font-size: 18px; }
    .mobile-person > p:not([class]) { font-size: 14px; margin-top: 12px; }
    .mobile-facts div { padding: 10px 0; }
    .mobile-logo { margin-bottom: 16px; }
    .mobile-feature img { height: 140px; }
    .mobile-home .mobile-feature h3 { font-size: 20px; }
    .mobile-stories { margin-top: 16px; }
    .mobile-story img { height: 70px; }
}
@media (prefers-reduced-motion: reduce) {
    body.home { overflow: auto; }
    .mobile-home { overflow: auto; background: var(--paper); }
    .home .mobile-deck { height: auto; overflow: visible; scroll-snap-type: none; }
    .mobile-screen { padding: 0; position: relative; height: auto; min-height: 100svh; scroll-snap-align: none; }
    .mobile-card { min-height: 100svh; height: auto; transform: none; border-radius: 0; }
    .mobile-card::after { display: none; }
    .mobile-person, .mobile-contact { gap: 16px; }
    .mobile-stories { scroll-snap-type: none; }
    .mobile-home *, .mobile-home { scroll-behavior: auto; }
}

@media (prefers-reduced-motion: reduce) {
    .mobile-portrait { height: 100svh; }
}
