/* Wayfinding: one page name, one current topic, one index across the website. */
:root{--guide-height:0px;--reading-offset:calc(var(--nav-height) + var(--guide-height) + 20px)}
html{scroll-padding-top:var(--reading-offset)}
.page-guide{position:relative;background:var(--cream);border-top:1px solid var(--edge);border-bottom:1px solid var(--edge)}
.guide-inner{display:flex;align-items:center;gap:24px;min-height:52px;padding:0 var(--gutter)}
.guide-page{font-weight:700;font-size:.875rem;color:var(--forest);line-height:1.25;flex:1}
#guide-open{display:flex;align-items:center;gap:16px;min-width:0;min-height:50px;padding:0 4px 0 16px;text-align:left;color:var(--purple)}
#guide-current{font-size:.875rem;line-height:1.3;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.guide-action{font-size:.75rem;color:var(--forest);font-weight:700;padding-left:14px;border-left:1px solid var(--edge)}
.page-guide svg,.page-index svg{width:20px;height:20px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.guide-progress{position:absolute;bottom:-1px;left:0;right:0;height:2px;overflow:hidden;pointer-events:none}
.guide-progress span{display:block;width:100%;height:100%;background:var(--forest);transform:scaleX(0);transform-origin:left}
body.index-open{overflow:hidden}
.page-index{position:fixed;inset:calc(var(--nav-height) + 12px) 0 auto;width:min(560px,calc(100% - 32px));max-height:calc(100dvh - var(--nav-height) - 40px);margin:0 auto;padding:28px;border:1px solid var(--edge);border-radius:12px;background:var(--cream);color:var(--purple);overflow:auto;overscroll-behavior:contain;box-shadow:0 16px 80px #092c2033}
.page-index::backdrop{background:#092c2066}
.page-index-heading{display:flex;justify-content:space-between;gap:16px;align-items:center;padding-bottom:24px}
.page-index-heading p{font-size:.8125rem;color:var(--muted);margin-bottom:6px}
.page-index-heading h2{font-size:2rem;line-height:1.1;text-wrap:initial}
#guide-close{display:grid;place-items:center;min-width:44px;min-height:44px;border:1px solid var(--edge);border-radius:50%;align-self:start}
.page-index nav{display:grid;gap:4px}
.page-index nav a{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:50px;padding:12px 14px;border-radius:6px;text-decoration:none;font-size:1rem;line-height:1.4}
.page-index nav a[aria-current=location]{background:var(--forest);color:var(--cream);font-weight:700}
.page-index nav a:focus-visible{outline:3px solid var(--blue);outline-offset:0}
.page-index nav svg{width:16px;height:16px}
.menu-open .page-guide{visibility:hidden}
.mobile-menu-label{font-size:.8125rem;font-weight:700;color:var(--forest);margin-bottom:16px}
.mobile-primary{gap:0}
.mobile-primary a{padding:16px 14px;border-radius:8px;min-height:72px}
.mobile-primary a[aria-current=page]{background:#18593b0c}
.mobile-primary a[aria-current=page]:before{left:0;top:20px;bottom:20px;width:3px}
.mobile-primary .menu-link-title{font-size:1.55rem}
.mobile-primary .menu-link-description{font-size:.8125rem}
.mobile-contact{margin-top:24px}
.menu-toggle-label{position:static!important;display:inline!important;top:auto!important;left:auto!important;width:auto!important;height:auto!important;background:none!important;font-size:.75rem;font-weight:700;transform:none!important}
.menu-toggle{width:70px;text-align:left}
.menu-toggle i{position:absolute;right:0;top:17px;width:20px;height:1.5px;background:currentColor;transition:transform .18s}
.menu-toggle i+i{top:25px}
.menu-toggle[aria-expanded=true] i{transform:translateY(4px) rotate(45deg)}
.menu-toggle[aria-expanded=true] i+i{transform:translateY(-4px) rotate(-45deg)}
.home-paths{display:grid;grid-template-columns:repeat(3,1fr);padding:24px var(--gutter);gap:28px;border-bottom:1px solid var(--edge)}
.home-paths a{display:flex;flex-direction:column;justify-content:center;gap:6px;min-height:68px;text-decoration:none;border-left:2px solid var(--forest);padding-left:18px}
.home-paths a>span{font-family:var(--display);font-weight:500;font-size:1.5rem;line-height:1.2}
.home-paths small{font-size:.8125rem;line-height:1.4;color:var(--muted)}
.chapter-label{display:block!important;font-size:.875rem;line-height:1.4;margin-bottom:14px!important;font-weight:700;color:inherit;opacity:.85}
:is(.impact-section,.people-hero,.people-evidence,.people-contact,.almond-trade,.almond-inside,.almond-play,.bp-contact,.inner-cta,.contact) .chapter-label{color:var(--cream)}
.people-work{background:var(--cream);border-top:1px solid var(--edge);border-bottom:1px solid var(--edge)}
.people-contact>.chapter-label{grid-column:1/-1;margin:0!important}
.people-contact h2{grid-row:2/4}
.people-status>.chapter-label{grid-column:1/-1}
[data-page-chapter]:focus{outline:none}
@media(hover:hover){.page-index nav a:not([aria-current]):hover{background:#18593b0c}.home-paths a:hover{color:var(--forest)}}
/* Phone reading rhythm: explicit topics, comfortably sized text, compact controls. */
@media(max-width:760px){
 :root{--nav-height:60px;--guide-height:0px;--gutter:20px}
 .header{height:var(--nav-height);gap:8px}
 .header .logo{width:104px}
 .header-tools{gap:8px}
 .language-switch button{min-width:44px;padding:10px 6px}
 .menu-toggle{width:62px;min-width:62px}
 .mobile-nav{top:var(--nav-height);padding-top:20px}
 .guide-inner{gap:8px}
 .guide-page{font-size:.75rem;flex:0 0 auto;max-width:36%;padding-right:10px;border-right:1px solid var(--edge)}
 #guide-open{flex:1;gap:8px;padding:0;justify-content:space-between}
 #guide-current{font-size:.8125rem;flex:1;font-weight:700}
 .guide-action{border:0;padding:0;font-size:.6875rem}
 .page-guide svg{width:16px;height:16px}
 .page-index{padding:22px 16px;width:calc(100% - 24px);max-height:calc(100dvh - var(--nav-height) - 28px)}
 .page-index-heading{padding:0 4px 18px}
 .page-index-heading h2{font-size:1.75rem}
 .page-index nav a{min-height:50px;padding:12px}
 .home-page .hero h1{font-size:clamp(2.2rem,9vw,3.2rem)}
 .hero-description,.people-hero-copy>p:not(.section-label){font-size:1rem;line-height:1.6}
 .hero-still img{max-height:280px}
 .people-hero h1{font-size:clamp(2.35rem,9vw,3.4rem);max-width:16ch}
 .people-hero{gap:20px}
 .people-hero-art{max-width:380px}
 .home-paths{padding:18px var(--gutter);gap:0;grid-template-columns:1fr}
 .home-paths a{padding:14px 0;min-height:64px;border-left:0;border-bottom:1px solid var(--edge);flex-direction:row;align-items:center;justify-content:space-between;gap:20px}
 .home-paths a:last-child{border-bottom:0}
 .home-paths a>span{font-size:1.3rem;flex:0 0 45%}
 .home-paths small{font-size:.8125rem;flex:1}
 main>.section,main>.product-section{padding-top:48px;padding-bottom:48px}
 main>.section h2,.product-top h2{font-size:clamp(1.85rem,7.6vw,2.3rem);line-height:1.15}
 .chapter-label{font-size:.8125rem;margin-bottom:12px!important}
 .section-heading{gap:16px;margin-bottom:24px}
 .people-purpose,.people-work,.people-evidence,.people-status{gap:24px}
 .people-purpose>div>p:not(.people-lead),.path-reading p,.work-list p,.people-network-grid p,.people-dignity p,.people-evidence dd,.idea-intro,.flow-copy>p:not(.mini-note),.impact-editorial>div:first-child>p,.impact-commitment>p:not(.footnote),.faq-list p{font-size:1rem;line-height:1.65}
 .people-purpose .people-lead{font-size:1.35rem;line-height:1.4}
 .people-contact h2{grid-row:auto}
 .people-contact>.chapter-label{margin-bottom:-12px!important}
 .path-tabs{gap:8px;grid-template-columns:1fr 1fr;border:0;margin-bottom:20px}
 .path-tabs button{border:1px solid var(--edge);border-radius:6px;padding:12px;min-height:48px;background:transparent;gap:8px}
 .path-tabs button[aria-selected=true]{background:var(--forest);color:var(--cream);border-color:var(--forest)}
 .path-tabs button[aria-selected=true]>span{color:inherit}
 .path-layout{gap:16px}
 .path-visual{max-width:230px;height:130px}
 .journey-art{height:100%;width:100%;object-fit:contain}
 .path-reading h3{font-size:1.65rem;margin-bottom:16px}
 .flow-tabs{display:flex;flex-wrap:wrap;gap:8px;border:0;overflow:visible}
 .flow-tabs button{display:flex;align-items:center;gap:7px;flex:1 1 28%;min-width:0;min-height:48px;padding:10px 8px;text-align:left;border:1px solid var(--edge);border-radius:6px;font-size:.8125rem;line-height:1.3}
 .flow-tabs button span{margin:0;font-size:.6875rem}
 .flow-tabs [aria-selected=true]{background:var(--forest);color:var(--cream);border-color:var(--forest)}
 .flow-copy h3{font-size:1.6rem}
 .flow-evidence{font-size:.875rem}
 .flow-evidence>span{font-size:.75rem}
 .people-network-grid{gap:24px}
 .people-dignity{padding:24px 0;margin-top:28px}
 .people-evidence dl{grid-template-columns:1fr;gap:20px}
 .people-evidence dl>div{display:grid;grid-template-columns:100px 1fr;gap:20px}
 .people-evidence dt{font-size:1.1rem;line-height:1.3}
 .territory-page .territory-layout{gap:18px}
 .territory-page .map-stage{max-width:420px;aspect-ratio:760/465}
 .territory-page .journey-progress{margin-top:8px;gap:12px}
 .territory-page .journey-progress>#places-progress{padding-top:8px}
 .territory-page .place-tabs button{min-height:48px;font-size:.8125rem}
 .territory-page .map-reading{padding-top:24px}
 .territory-page .map-reading h3{margin-bottom:12px}
 .territory-page .place-role{margin-top:18px;padding-top:14px}
 .territory-page #place-deep-panel{min-height:0}
 .territory-page .place-deep-tabs{margin-top:20px}
 .territory-page .journey-controls{margin-top:20px}
 .sicily-art-layer{max-height:210px}
 .sicily-story-layout{gap:20px}
 .sicily-story-reading article>p{font-size:1rem}
 .sicily-story-tabs{margin-top:24px}
 .sicily-story-reading h3{font-size:1.7rem;margin-bottom:16px}
 .anatomy-visual{max-width:250px}
 .anatomy-panels{min-height:0;padding-top:20px}
 .anatomy-panels p{font-size:1rem}
 .anatomy-reading>.button{margin-top:24px}
 .nutrition-context{font-size:.875rem}
 /* A smaller pinned preview leaves space for the choice and its result. */
 .studio-page .studio{padding-top:0;gap:20px}
 .studio-page .studio-intro{padding-top:28px;padding-bottom:28px}
 .studio-preview-column,.studio:not([data-step=name]) .studio-preview-column{top:calc(var(--nav-height) + var(--guide-height));padding:12px 16px;border-radius:0;box-shadow:0 1px 0 var(--edge);z-index:12;background:var(--cream)}
 .studio:not([data-step=name]) .studio-preview-sticky{grid-template-columns:112px 1fr;gap:0 16px;max-width:none}
 .studio:not([data-step=name]) .studio-canvas{max-width:112px}
 .studio:not([data-step=name]) .preview-caption{font-size:.8125rem;align-self:center;line-height:1.4;grid-row:1}
 .studio:not([data-step=name]) .draft-status{display:none}
 .studio:not([data-step=name]) .canvas-tools{grid-row:2;gap:4px;align-self:start}
 .canvas-tools button{font-size:.75rem;min-height:44px;padding:6px}
 .studio-tabs{scroll-margin-top:136px;gap:8px;margin-bottom:24px}
 .studio-tabs button{font-size:.875rem;min-height:48px}
 .studio-panel h2{font-size:1.65rem!important}
 .studio-panel>p{font-size:.9375rem}
 .choice-row button{min-height:98px}
 .studio-options button,.mood-row button{font-size:.875rem;min-height:48px}
 .studio-navigation{gap:12px}
 .studio-navigation button{min-height:48px}
 .studio[data-step=name] .studio-preview-column{position:static;padding:20px;background:#f1e8d7;border-radius:8px;box-shadow:none}
 .studio[data-step=name] .studio-preview-sticky{max-width:240px}
 .studio-outro .chapter-label{display:block}
 .role-options button{font-size:.8125rem;min-height:48px}
 .faq-list summary{font-size:1rem;min-height:60px}
 .button,.discovery-cta{font-size:.875rem;min-height:48px}
}
@media(max-width:359px){:root{--gutter:16px}.header .logo{width:92px}.header-tools{gap:2px}.guide-inner{gap:6px}.guide-page{padding-right:8px;max-width:33%}.guide-action{display:none}.people-evidence dl>div{grid-template-columns:90px 1fr;gap:12px}.studio:not([data-step=name]) .studio-preview-sticky{grid-template-columns:100px 1fr}}
@media(max-height:650px) and (max-width:760px){.studio:not([data-step=name]) .studio-preview-column{position:static}.studio-tabs{scroll-margin-top:0}.page-index{max-height:calc(100dvh - 28px);top:14px}}
@media(prefers-reduced-motion:reduce){.menu-toggle i{transition:none}}
.scene-sort-nut{opacity:0}
#almond-character{transform-origin:200px 375px}
#almond-arm-right{transform-origin:280px 248px}

/* The shared scroll padding already reserves the persistent navigation. */
.bp-chapter,.bp-film,.studio-panel{scroll-margin-top:0}
@media(max-width:760px){
 /* The selected place is already named in the tabs and reading panel. */
 .territory-page .journey-progress{display:none}
}
.page-index-heading{position:sticky;top:-28px;background:var(--cream);z-index:2}
@media(max-width:760px){.page-index-heading{top:-22px}}
@media(min-width:761px){.territory-map-column,.studio-preview-column{top:calc(var(--nav-height) + var(--guide-height) + 20px)}}
@media(max-height:650px) and (max-width:1100px){.studio-preview-column,.territory-map-column{position:static}}

/* The chapter index belongs to the page; only the main navigation follows the reader. */
.page-guide .guide-progress,#guide-current{display:none}
.guide-action{padding:0;border:0;font-size:.8125rem}
.guide-inner{justify-content:space-between}
@media(max-width:760px){.guide-page{max-width:none;border:0;padding:0;flex:1}#guide-open{flex:none;gap:12px}.guide-action{display:inline}}
