/* Shared spacing and containers for the isolated preview and supporting pages. */
:root{
 --space-4:4px;--space-8:8px;--space-12:12px;--space-16:16px;--space-24:24px;--space-32:32px;--space-48:48px;--space-64:64px;--space-96:96px;
 --content-max:1280px;--edge:clamp(20px,5.5vw,96px);--page-gutter:max(var(--edge),calc((100vw - var(--content-max))/2));
 --section-space:clamp(48px,6vw,96px);--safe-bottom:env(safe-area-inset-bottom,0px);--header-height:88px;
}
.wordmark-mata{color:var(--mint)}
.ask-head h2 .wordmark-mata{color:var(--mint)}
.cinematic-prototype .ask-entry,.supporting-page .ask-entry{letter-spacing:normal;border-radius:99px}
.site-header{padding-inline:var(--page-gutter);gap:var(--space-24)}
.cinematic-prototype .site-header{background:var(--dark)}
.supporting-page .site-header{background:var(--dark)}
.site-header nav{gap:var(--space-24)}
.brand{gap:var(--space-12)}
.cinematic-prototype .stage-lines{display:none}
.cinematic-prototype .chapter{padding:var(--section-space) var(--page-gutter)}
.chapter-copy h1,.chapter-copy h2{margin-bottom:var(--space-24)}
.chapter-copy .eyebrow{margin-bottom:var(--space-24)}
.chapter-lead{letter-spacing:normal;line-height:1.5;margin-bottom:var(--space-16)}
.chapter-detail{letter-spacing:normal;line-height:1.75;margin-bottom:var(--space-24)}
.illustration-note{letter-spacing:normal;line-height:1.65;margin-top:var(--space-16)}
.text-link{gap:var(--space-16)}
.button{gap:var(--space-24);padding-inline:var(--space-24)}
.timeline-ready:not(.reduced-motion) .chapter{padding:0}
.timeline-ready:not(.reduced-motion) .caption-slot .chapter-copy{left:var(--page-gutter);width:39vw;max-width:560px}
.timeline-ready:not(.reduced-motion) .caption-slot .chapter-copy[data-chapter="1"]{left:auto;right:var(--page-gutter)}
.timeline-ready:not(.reduced-motion) .caption-slot .chapter-copy[data-chapter="0"]{left:var(--page-gutter);right:var(--page-gutter);width:auto;max-width:none}
.timeline-ready:not(.reduced-motion) .chapter-copy[data-chapter="0"] h1{margin-bottom:var(--space-24)}
.timeline-ready:not(.reduced-motion) .chapter-copy[data-chapter="0"] .eyebrow{margin-bottom:var(--space-16)}
.timeline-ready:not(.reduced-motion) .caption-slot .chapter-copy[data-chapter="3"]{top:29%;left:auto;right:var(--page-gutter);width:39vw;max-width:560px;text-align:left}
.timeline-ready:not(.reduced-motion) .chapter-copy[data-chapter="3"] h2{margin-bottom:var(--space-24)}
.timeline-ready:not(.reduced-motion) .chapter-copy[data-chapter="3"] .eyebrow{margin-bottom:var(--space-16)}
.timeline-ready:not(.reduced-motion) .chapter-copy[data-chapter="3"] .chapter-detail,.timeline-ready:not(.reduced-motion) .chapter-copy[data-chapter="3"] .illustration-note{margin-left:0;margin-right:0}
.timeline-ready:not(.reduced-motion) .chapter-copy[data-chapter="3"] .illustration-note{margin-top:var(--space-16)}
.timeline-ready:not(.reduced-motion) .scene-controls{left:var(--page-gutter);bottom:calc(var(--space-24) + var(--safe-bottom));gap:var(--space-24)}
.timeline-ready:not(.reduced-motion) .story-status{right:var(--page-gutter);bottom:calc(var(--space-32) + var(--safe-bottom))}
.cinematic-prototype>footer{padding:var(--space-48) var(--page-gutter) calc(var(--space-96) + var(--safe-bottom));gap:var(--space-32);align-items:flex-start}
.cinematic-prototype>footer nav{gap:var(--space-24)}
.cinematic-prototype>footer>span{font-size:24px;white-space:nowrap}
.ask-entry{right:var(--page-gutter)!important;bottom:calc(var(--space-24) + var(--safe-bottom))!important}
.supporting-page .site-header{padding-inline:var(--page-gutter);padding-block:var(--space-16)}
.supporting-page .site-header nav{gap:var(--space-8) var(--space-24)}
.supporting-page .section{padding:var(--section-space) var(--page-gutter)}
.supporting-page .service-page,.supporting-page .policy{max-width:none;margin:0 auto}
.supporting-page .breadcrumbs{margin-bottom:var(--space-32)}
.supporting-page .service-page>.lead{margin-top:var(--space-32);line-height:1.6}
.supporting-page p{letter-spacing:normal;line-height:1.75;margin-bottom:var(--space-24)}
.supporting-page .small{line-height:1.65}
.supporting-page .service-page section{margin-top:var(--space-48);padding-top:var(--space-32)}
.supporting-page .service-page section h2,.supporting-page .policy h2{margin-bottom:var(--space-16);line-height:1.35}
.supporting-page .policy h1{margin-bottom:var(--space-32)}
.supporting-page .policy h2{margin-top:var(--space-48)}
.supporting-page .service-page section .small{margin-top:var(--space-16)}
.supporting-page .site-footer{padding:var(--space-48) var(--page-gutter) calc(var(--space-96) + var(--safe-bottom));gap:var(--space-24) var(--space-32)}
.supporting-page .site-footer p{margin:0}
.supporting-page .site-footer nav{gap:var(--space-24)}
@media(max-width:1100px) and (min-width:761px){.timeline-ready .chapter-copy h2{font-size:clamp(38px,5.2vw,58px)}.timeline-ready .chapter-lead{font-size:16px}.timeline-ready .chapter-detail{font-size:13px}.timeline-ready:not(.reduced-motion) .caption-slot .chapter-copy[data-chapter="3"]{top:29%}.timeline-ready:not(.reduced-motion) .chapter-copy[data-chapter="3"] h2{font-size:clamp(36px,4.6vw,50px)}}
@media(max-width:760px){
 :root{--edge:20px;--header-height:76px}
 .site-header{gap:var(--space-12);padding-block:var(--space-12)}.brand{gap:var(--space-8)}
 .js .site-header nav{padding-inline:var(--page-gutter)}
 .chapter-copy .eyebrow{margin-bottom:var(--space-16)}.chapter-copy h1,.chapter-copy h2{margin-bottom:var(--space-16)}
 .chapter-lead{margin-bottom:var(--space-12)}.chapter-detail{margin-bottom:var(--space-16)}.illustration-note{margin-top:var(--space-12)}
 .timeline-ready:not(.reduced-motion) .caption-slot .chapter-copy,.timeline-ready:not(.reduced-motion) .caption-slot .chapter-copy[data-chapter="1"],.timeline-ready:not(.reduced-motion) .caption-slot .chapter-copy[data-chapter="0"],.timeline-ready:not(.reduced-motion) .caption-slot .chapter-copy[data-chapter="3"]{left:var(--page-gutter);right:var(--page-gutter);width:auto;max-width:none}
 .timeline-ready:not(.reduced-motion) .caption-slot .chapter-copy:before{inset:calc(-1 * var(--space-16)) calc(-1 * var(--page-gutter))}
 .timeline-ready:not(.reduced-motion) .chapter-copy[data-chapter="0"] h1{margin-bottom:var(--space-16)}
 .timeline-ready:not(.reduced-motion) .caption-slot .chapter-copy[data-chapter="3"]{top:50%;text-align:center}
 .timeline-ready:not(.reduced-motion) .chapter-copy[data-chapter="3"] h2{margin-bottom:var(--space-16)}
 .timeline-ready:not(.reduced-motion) .chapter-copy[data-chapter="3"] .chapter-detail,.timeline-ready:not(.reduced-motion) .chapter-copy[data-chapter="3"] .illustration-note{margin-left:auto;margin-right:auto}
 .timeline-ready:not(.reduced-motion) .chapter-copy[data-chapter="3"] .chapter-detail{font-size:13px;margin-bottom:var(--space-16)}
 .timeline-ready:not(.reduced-motion) .chapter-copy[data-chapter="3"] .illustration-note{margin-top:var(--space-12)}
 .timeline-ready:not(.reduced-motion) .scene-controls{bottom:calc(var(--space-16) + var(--safe-bottom));gap:var(--space-16)}
 .ask-entry{bottom:calc(var(--space-16) + var(--safe-bottom))!important;max-width:48vw!important}
 .cinematic-prototype>footer{gap:var(--space-24)}
 .supporting-page .site-header{gap:var(--space-16)}.supporting-page .site-header nav{font-size:11px;gap:0 var(--space-16)}
 .supporting-page .section{padding-block:var(--space-48)}
 .supporting-page .service-page section{margin-top:var(--space-32);padding-top:var(--space-24)}
 .supporting-page .service-page>.lead{margin-top:var(--space-24)}
 .supporting-page .site-footer{display:flex;flex-direction:column}
}
@media(max-width:360px) and (max-height:720px){.timeline-ready .chapter-copy .eyebrow{margin-bottom:var(--space-12)}.timeline-ready .chapter-detail,.timeline-ready:not(.reduced-motion) .chapter-copy[data-chapter="3"] .chapter-detail{font-size:12px;line-height:1.65;margin-bottom:var(--space-12)}.timeline-ready:not(.reduced-motion) .chapter-copy[data-chapter="3"] h2{margin-bottom:var(--space-12)}}
@media(min-width:761px) and (max-height:720px){.timeline-ready .chapter-copy h1,.timeline-ready .chapter-copy h2{margin-bottom:var(--space-16)}.timeline-ready .chapter-copy .eyebrow{margin-bottom:var(--space-16)}.timeline-ready .chapter-detail{font-size:13px;line-height:1.65;margin-bottom:var(--space-16)}.timeline-ready:not(.reduced-motion) .caption-slot .chapter-copy[data-chapter="3"]{top:24%}.timeline-ready:not(.reduced-motion) .chapter-copy[data-chapter="3"] h2{font-size:38px;margin-bottom:var(--space-16)}.timeline-ready:not(.reduced-motion) .chapter-copy[data-chapter="3"] .chapter-detail{margin-bottom:var(--space-16)}}

.cinematic-prototype>.preview-footer,.supporting-page>.preview-footer{display:block;padding:var(--space-48) var(--page-gutter) calc(var(--space-32) + var(--safe-bottom));font-size:12px}
.preview-footer .footer-grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(200px,.8fr) auto;align-items:start;gap:var(--space-48);max-width:var(--content-max);margin-inline:auto}
.preview-footer .brand{font-size:24px;line-height:1.25;min-height:44px;color:var(--light)}
.preview-footer .footer-studio{font-size:12px;line-height:1.65;color:var(--grey);margin:var(--space-16) 0 0}
.preview-footer .footer-registration{font-size:12px;line-height:1.65;color:var(--grey);margin:var(--space-24) 0 0;letter-spacing:normal}
.preview-footer .registered-business{color:var(--light);font-weight:600}
.preview-footer .registration-number{white-space:nowrap}
.cinematic-prototype>.preview-footer nav,.supporting-page>.preview-footer nav{display:flex;align-items:center;flex-wrap:wrap;gap:var(--space-8) var(--space-24);font-size:12px;min-height:48px}
.preview-footer nav a{display:inline-flex;align-items:center;min-height:44px}
.preview-footer .footer-grid>nav{grid-column:auto;grid-row:auto}
.preview-footer .footer-ask-slot{min-height:48px;display:flex;align-items:flex-start;justify-content:flex-end}
.cinematic-prototype .preview-footer .ask-entry,.supporting-page .preview-footer .ask-entry{position:static!important;inset:auto!important;max-width:none!important;min-height:48px;padding:14px 20px;font-size:12px!important;letter-spacing:normal;border-radius:99px;box-shadow:none;white-space:nowrap}
@media(max-width:1100px) and (min-width:761px){.preview-footer .footer-grid{grid-template-columns:minmax(0,1.1fr) minmax(150px,.9fr) auto;gap:var(--space-24)}.preview-footer nav{flex-direction:column;align-items:flex-start!important;gap:0!important}}
@media(max-width:760px){.cinematic-prototype>.preview-footer,.supporting-page>.preview-footer{padding:var(--space-32) var(--page-gutter) calc(var(--space-24) + var(--safe-bottom))}.preview-footer .footer-grid{grid-template-columns:minmax(0,1fr);gap:var(--space-24)}.preview-footer .footer-ask-slot{justify-content:flex-start}.preview-footer .footer-registration{margin-top:var(--space-16)}}

.scene-controls>span[hidden]{display:none!important}
.supporting-page .preview-footer .footer-studio{margin:var(--space-16) 0 0}
.supporting-page .preview-footer .footer-registration{margin:var(--space-24) 0 0}
@media(max-width:760px){.supporting-page .preview-footer .footer-registration{margin-top:var(--space-16)}}

/* Local review refinement: compact actions, consistent rhythm, aligned footer. */
:root{--content-max:1120px;--section-space:clamp(40px,5vw,72px)}
.button{min-height:44px;padding:11px 18px;gap:12px;border-radius:12px;line-height:1.4;white-space:normal;text-align:center}
.chapter-copy .eyebrow{margin-bottom:16px}
.chapter-copy h1,.chapter-copy h2{margin-bottom:20px}
.chapter-lead{margin-bottom:12px}
.chapter-detail{margin-bottom:20px;max-width:46ch}
.illustration-note{margin-top:12px}
.supporting-page .service-page,.supporting-page .policy{max-width:calc(780px + 2 * var(--page-gutter))}
.supporting-page .service-page section{margin-top:32px;padding-top:24px}
.supporting-page .policy h2{margin-top:32px}
.cinematic-prototype>.preview-footer,.supporting-page>.preview-footer{padding-block:32px calc(28px + var(--safe-bottom))}
.preview-footer .footer-grid{grid-template-columns:minmax(250px,1fr) auto;column-gap:32px;row-gap:16px}
.preview-footer .footer-identity{grid-column:1;grid-row:1 / span 2;max-width:320px}
.preview-footer .footer-grid>nav{grid-column:2;grid-row:1;justify-content:flex-end;flex-direction:row;align-items:center!important;gap:0 20px!important;min-height:44px}
.preview-footer .footer-ask-slot{grid-column:2;grid-row:2;flex-direction:column;align-items:flex-end;justify-content:flex-start;gap:8px;min-height:0}
.cinematic-prototype .preview-footer .ask-entry,.supporting-page .preview-footer .ask-entry{min-height:44px;padding:10px 16px;border-radius:12px;font-size:12px!important;line-height:1.4;max-width:100%!important;white-space:normal;text-align:center}
.preview-footer .footer-guide-note{font-size:11px;line-height:1.6;margin:0;color:var(--grey);text-align:right}
.preview-footer .footer-studio,.supporting-page .preview-footer .footer-studio{margin-top:12px}
.preview-footer .footer-registration,.supporting-page .preview-footer .footer-registration{margin-top:16px}
@media(max-width:900px){
 .preview-footer .footer-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px}
 .preview-footer .footer-grid>nav{display:grid;grid-template-columns:1fr 1fr;align-items:start!important;justify-content:initial;gap:0 16px!important}
 .preview-footer .footer-ask-slot{align-items:flex-start}
 .preview-footer .footer-guide-note{text-align:left}
}
@media(max-width:760px){
 .button{min-height:44px;padding:11px 16px;font-size:12px}
 .supporting-page .section{padding-block:40px}
 .supporting-page .service-page section{margin-top:28px;padding-top:20px}
 .chapter-copy h1,.chapter-copy h2{margin-bottom:16px}
 .preview-footer .footer-grid{grid-template-columns:minmax(0,1fr);gap:20px}
 .preview-footer .footer-identity,.preview-footer .footer-grid>nav,.preview-footer .footer-ask-slot{grid-column:1;grid-row:auto;max-width:none}
 .preview-footer .footer-grid>nav{border-top:1px solid #9aa1a824;padding-top:12px}
 .preview-footer .footer-ask-slot{align-items:flex-start}
 .preview-footer .footer-registration{margin-top:12px}
 .preview-footer .brand{font-size:22px}
}

/* Mobile reading rhythm: shorter native scroll, captions above the volume. */
@media(max-width:760px){
 .cinematic-prototype .site-header{min-height:72px;padding-block:12px}
 .cinematic-prototype .menu-button{min-height:44px;padding:8px 14px;font-size:12px;gap:12px}
 .timeline-ready:not(.reduced-motion) .cinematic-stage{height:100svh}
 .timeline-ready:not(.reduced-motion) .chapter{height:56svh;min-height:0}
 .timeline-ready:not(.reduced-motion) .chapter:first-of-type{margin-top:calc(-1 * 100svh)}
 .timeline-ready:not(.reduced-motion) .chapter:last-child{height:100svh}
 .timeline-ready:not(.reduced-motion) .caption-slot .chapter-copy,
 .timeline-ready:not(.reduced-motion) .caption-slot .chapter-copy[data-chapter="0"],
 .timeline-ready:not(.reduced-motion) .caption-slot .chapter-copy[data-chapter="1"],
 .timeline-ready:not(.reduced-motion) .caption-slot .chapter-copy[data-chapter="3"]{top:100px;text-align:center}
 .timeline-ready:not(.reduced-motion) .chapter-copy h1,
 .timeline-ready:not(.reduced-motion) .chapter-copy h2,
 .timeline-ready:not(.reduced-motion) .chapter-copy[data-chapter="0"] h1,
 .timeline-ready:not(.reduced-motion) .chapter-copy[data-chapter="3"] h2{font-size:clamp(28px,8.5vw,38px);margin-bottom:16px}
 .timeline-ready:not(.reduced-motion) .chapter-copy .eyebrow{font-size:10px;line-height:1.6;margin-bottom:12px}
 .timeline-ready:not(.reduced-motion) .chapter-copy .chapter-lead{font-size:16px;line-height:1.5;margin-bottom:12px}
 .timeline-ready:not(.reduced-motion) .chapter-copy .chapter-detail,
 .timeline-ready:not(.reduced-motion) .chapter-copy[data-chapter="3"] .chapter-detail{font-size:14px;line-height:1.6;margin:0 auto 14px;max-width:44ch}
 .timeline-ready:not(.reduced-motion) .chapter-copy .illustration-note{font-size:11px;line-height:1.5;margin:12px auto 0}
 .timeline-ready:not(.reduced-motion) .chapter-copy[data-chapter="0"] .text-link{top:calc(64svh - 100px);font-size:12px}
 .timeline-ready:not(.reduced-motion) .scene-controls{bottom:calc(20px + var(--safe-bottom))}
 .cinematic-prototype>.preview-footer{padding:28px var(--page-gutter) calc(24px + var(--safe-bottom))}
 .cinematic-prototype .preview-footer .footer-grid{gap:18px}
 .cinematic-prototype .preview-footer .brand{font-size:19px;gap:8px;min-height:36px}
 .cinematic-prototype .preview-footer .brand img{width:34px;height:29px}
 .cinematic-prototype .preview-footer .footer-studio{font-size:13px;line-height:1.6;margin-top:10px;max-width:32ch}
 .cinematic-prototype .preview-footer .footer-registration{font-size:12px;line-height:1.6;margin-top:12px}
 .cinematic-prototype .preview-footer .footer-grid>nav{display:flex;flex-wrap:wrap;justify-content:flex-start;gap:0 20px!important;padding-top:8px;font-size:13px}
 .cinematic-prototype .preview-footer nav a:last-child{flex-basis:100%}
 .cinematic-prototype .preview-footer .footer-ask-slot{gap:4px}
 .cinematic-prototype .preview-footer .ask-entry{border:0!important;border-bottom:1px solid #4ee1c67f!important;border-radius:0;padding:8px 0;min-height:44px;font-size:13px!important}
 .cinematic-prototype .preview-footer .footer-guide-note{font-size:12px;line-height:1.5}
}
@media(max-width:760px) and (max-height:640px){
 .timeline-ready:not(.reduced-motion) .scene-controls>span{display:none}
}
@media(max-width:760px) and (min-height:701px){
 .timeline-ready:not(.reduced-motion) .cinematic-stage{height:86svh}
 .timeline-ready:not(.reduced-motion) .chapter:first-of-type{margin-top:-86svh}
 .timeline-ready:not(.reduced-motion) .chapter:last-child{height:86svh}
}

/* Mobile: one native reading flow, with a shared scene in the open copy gaps. */
@media(max-width:760px){
 .mobile-flow:not(.reduced-motion) .story-track{position:relative;isolation:isolate}
 .mobile-flow:not(.reduced-motion) .cinematic-stage{position:absolute;top:0;left:0;right:0;height:100svh;margin-bottom:0;transform:translate3d(0,var(--scene-anchor,0px),0);z-index:0;pointer-events:none}
 .mobile-flow:not(.reduced-motion) .chapter,
 .mobile-flow:not(.reduced-motion) .chapter:first-of-type,
 .mobile-flow:not(.reduced-motion) .chapter:last-child{--logo-lane:clamp(190px,30svh,250px);height:auto;min-height:0;margin:0;padding:32px var(--page-gutter) var(--logo-lane);pointer-events:auto;scroll-margin-top:88px}
 .mobile-flow:not(.reduced-motion) .chapter:first-of-type{padding-top:100px;--logo-lane:clamp(220px,35svh,290px)}
 .mobile-flow:not(.reduced-motion) .chapter-copy{position:relative;inset:auto;width:auto;max-width:480px;margin-inline:auto;text-align:left}
 .mobile-flow:not(.reduced-motion) .chapter-copy[data-chapter="0"]{text-align:center}
 .mobile-flow:not(.reduced-motion) .chapter-copy[data-chapter="0"] .text-link{position:relative;inset:auto;transform:none;margin-top:14px;white-space:normal}
 .mobile-flow:not(.reduced-motion) .chapter-copy[data-chapter="0"] .text-link:active{transform:scale(.98)}
 .mobile-flow:not(.reduced-motion) .chapter-copy[data-chapter="0"] .chapter-detail{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
 .mobile-flow:not(.reduced-motion) .chapter-copy h1,
 .mobile-flow:not(.reduced-motion) .chapter-copy h2{font-size:clamp(30px,8.5vw,38px);margin-bottom:16px}
 .mobile-flow:not(.reduced-motion) .chapter-copy .chapter-lead{font-size:16px;line-height:1.5;margin-bottom:12px}
 .mobile-flow:not(.reduced-motion) .chapter-copy .chapter-detail{font-size:14px;line-height:1.7;margin:0 0 18px;max-width:44ch}
 .mobile-flow:not(.reduced-motion) .chapter-copy .eyebrow{font-size:10px;margin-bottom:14px}
 .mobile-flow:not(.reduced-motion) .chapter-copy .illustration-note{font-size:11px;line-height:1.6;margin-top:12px}
 .mobile-flow:not(.reduced-motion) .scene-controls{display:none}
 .mobile-flow.opening-on .chapter-copy{pointer-events:none}
}
