/* The compact rule is identical to responsive.js and picture[mobile] media. */
:root{--header-base:88px;--header:calc(var(--header-base) + env(safe-area-inset-top,0px));--header-occupied:var(--header)}
html{scroll-padding-top:calc(var(--header-occupied) + 16px);scroll-behavior:auto}
section[id],main[id]{scroll-margin-top:0}
.site-header{height:var(--header);padding-top:env(safe-area-inset-top,0px);padding-left:max(var(--gutter),env(safe-area-inset-left,0px));padding-right:max(var(--gutter),env(safe-area-inset-right,0px));z-index:50}
.mobile-nav{top:100%;max-height:calc(100dvh - var(--header-occupied));overflow-y:auto;overscroll-behavior:contain;padding-bottom:max(20px,env(safe-area-inset-bottom,0px))}
.mobile-nav a{min-height:48px;display:flex;align-items:center}
.skip-link{z-index:60}
.click-story .story-stage{overflow:visible;isolation:isolate;row-gap:24px}
.click-story .story-copy{grid-column:1;grid-row:1;align-self:center}
.click-story .art-scene{grid-column:2;grid-row:1}
.story-context{position:relative;z-index:4;min-width:0;margin-top:32px}
.story-context .metaphor-title{font-size:clamp(28px,2.65vw,40px);line-height:1.2;margin:0 0 18px}
.story-context .metaphor-title em{display:block;color:var(--gold-light)}
.story-context .hero-title-intro{font-size:15px;line-height:1.6;font-weight:400;letter-spacing:0;margin-bottom:7px}
.story-context .hero-title-intro strong{font-weight:600;color:var(--paper)}
.story-context .chapter-text{font-size:15px;line-height:1.8;color:var(--text-secondary);max-width:56ch}
.story-context .chapter-text p{margin:0}.story-context .chapter-text p+p{margin-top:16px}
.metaphor-mobile{display:none}
.click-story .story-bottom{grid-row:2}
.click-story .hero-contact{margin:0}.positioning-description{margin-bottom:22px}
.click-story .hero-actions .button.primary{width:fit-content;max-width:100%;min-height:44px;padding:10px 18px;gap:16px;font-size:14px;line-height:1.5;font-weight:500}
.click-story .hero-actions .button.primary span{font-size:17px;line-height:1}
.click-story .hero-actions .button.primary:hover{background:var(--gold-light);border-color:var(--gold-light)}
.click-story .hero-actions .button.primary:focus-visible{outline:2px solid var(--gold-light);outline-offset:4px}
.intro-description p{margin-bottom:0}
.intro-description p+p{margin-top:18px}
.click-story .art-visual{height:auto;aspect-ratio:1 / 1.05;max-height:650px}
.natural-poster{object-fit:contain;padding:3%;background:var(--night)}
.art-crop{background:var(--night)}
/* The section itself is the single backdrop. No overlay can cover mobile copy. */
.click-story .landscape{display:none}
.reveal-contact{display:inline-flex;min-height:44px;align-items:center;gap:12px;margin:10px auto 0;font-size:15px;text-decoration:underline;text-underline-offset:5px}
.click-story .transform-trigger{max-width:100%;min-width:0;min-height:52px}

.click-story .motion-status:empty{display:none}
.contact-main,.section-pad,.site-footer{padding-left:max(var(--gutter),env(safe-area-inset-left,0px));padding-right:max(var(--gutter),env(safe-area-inset-right,0px))}
.field,.field input,.field select,.field textarea{min-width:0;max-width:100%}
.contact-main{padding-bottom:max(56px,env(safe-area-inset-bottom,0px))}
.wordmark{flex-shrink:0}.menu-toggle{flex-shrink:0;min-width:44px;min-height:44px}
.chapter h1,.metaphor-title,.service h3,.about-copy h2,.audience h2,.contact-heading h1{overflow-wrap:anywhere;hyphens:auto}
.fallback-nav{display:flex;flex-wrap:wrap;gap:12px 24px;padding:calc(var(--header) + 20px) var(--gutter) 0}
.fallback-nav a{min-height:44px;display:inline-flex;align-items:center;text-decoration:underline}
/* A personal introduction replaces the repeated mascot. Shared expertise is
   separate from individual names: no unverified personal qualifications. */
.about{align-items:start;gap:clamp(36px,7vw,100px)}
.team-panel{min-width:0;border-top:1px solid var(--line);padding-top:24px}
.team-panel>.eyebrow{color:var(--text-caption);font-size:12px;letter-spacing:.065em;margin:0 0 16px}
.team-names,.team-expertise{list-style:none;padding:0;margin:0}
.team-names{display:grid;grid-template-columns:1fr 1fr;gap:16px 24px;padding-bottom:28px;border-bottom:1px solid var(--line)}
.team-names h3{font-size:clamp(23px,2vw,30px);line-height:1.3;margin:0;letter-spacing:-.025em}
.team-expertise-title{font:500 16px/1.5 var(--font);color:var(--paper);margin:26px 0 14px}
.team-expertise{color:var(--text-secondary);font-size:16px;line-height:1.6}
.team-expertise li{position:relative;padding-left:18px}
.team-expertise li:before{content:'';position:absolute;left:0;top:.65em;width:4px;height:4px;background:var(--gold)}
.team-expertise li+li{margin-top:10px}
.contact-main{padding-top:calc(var(--header-occupied) + 40px)}
.contact-heading .eyebrow{margin-bottom:16px}
.contact-heading h1{font-size:clamp(36px,4vw,56px);line-height:1.12;margin-bottom:18px}
.contact-heading>p:last-child{max-width:56ch;margin-bottom:0}
.contact-layout{margin-top:36px}
/* Desktop: fit the artwork to both axes without forcing the longer copy into
   one screen. Navigation is measured by navigation.js; svh excludes browser UI.
   The compact breakpoint below keeps phones in ordinary document flow. */
@media (min-width:1001px), (min-width:801px) and (min-height:501px){
 .click-story{--hero-top-gap:clamp(20px,4svh,56px);--hero-controls-budget:180px}
 .click-story .story-stage{min-height:0;align-items:start;padding-top:calc(var(--header-occupied) + var(--hero-top-gap));padding-bottom:24px;row-gap:20px}
 .click-story .story-copy,.click-story .art-scene{align-self:start}
 .click-story .chapter h1{font-size:clamp(34px,min(3.5vw,5.6svh),56px);line-height:1.12;margin-bottom:clamp(16px,2.4svh,22px)}
 .click-story .positioning-description{font-size:16px;line-height:1.7;margin-bottom:clamp(18px,2.6svh,24px)}
 .click-story .story-context{margin-top:clamp(24px,3.6svh,36px)}
 .click-story .art-visual{height:auto;aspect-ratio:1 / 1.05;max-height:clamp(220px,calc(100svh - var(--header-occupied) - var(--hero-top-gap) - var(--hero-controls-budget)),760px)}
 /* Match the renderer's 94% contain box on wide, shallow stages as well. */
 .click-story .natural-poster{inset:3%;width:94%;height:94%;padding:0;object-fit:contain}
 .click-story .art-controls{margin-top:16px}

 .click-story .story-bottom{align-self:start}
}
/* Modest spacing reductions for laptop windows with browser chrome/toolbars.
   Never shrink body text or impose a fixed height on the content column. */
@media (min-width:1001px) and (max-height:720px), (min-width:801px) and (min-height:501px) and (max-height:720px){
 .click-story{--hero-top-gap:20px;--hero-controls-budget:164px}
 .click-story .art-controls{margin-top:12px}

 .click-story .story-context{margin-top:24px}
}
@media (max-width:800px), (max-width:1000px) and (max-height:500px){
 .metaphor-desktop{display:none}.metaphor-mobile{display:block}
 :root{--header-base:68px;--gutter:clamp(18px,5vw,32px)}
 .desktop-nav,.header-contact{display:none}
 .menu-toggle{display:block;margin-left:auto}
 .site-header{gap:12px}
 .wordmark-type{font-size:23px}.wordmark-type small{font-size:7px}.mark-window{width:34px;height:44px}.mark-window img{width:68px;left:-17px}
 .click-story .story-stage{display:grid;grid-template-columns:minmax(0,1fr);min-height:0;height:auto;padding:calc(var(--header) + 24px) max(var(--gutter),env(safe-area-inset-right,0px)) 16px max(var(--gutter),env(safe-area-inset-left,0px));gap:20px}
 .click-story .story-copy{display:contents}
 .click-story .story-copy>.chapter{grid-column:1;grid-row:1}
 .click-story .chapter h1{font-size:clamp(30px,7.6vw,44px);line-height:1.14;margin-bottom:16px;max-width:20ch}
 .positioning-description{font-size:16px;line-height:1.65;max-width:52ch;margin-bottom:20px}
 .click-story .hero-actions{display:flex;flex-direction:row}
 .click-story .art-scene{grid-column:1;grid-row:2;margin:0;max-width:380px;justify-self:center;width:100%}
 .click-story .art-visual{aspect-ratio:1 / 1.08;height:auto;width:100%;max-height:none}
 .click-story .art-crop,.click-story .art-hit{inset:0}
 .click-story .art-controls{padding:0;margin-top:14px}

 .click-story .motion-status{font-size:13px;min-height:42px}
 .click-story .story-bottom{grid-column:1;grid-row:3;margin:0;justify-content:space-between;gap:8px 16px;flex-wrap:wrap}
 .click-story .motion-toggle{margin:0;white-space:normal;text-align:left}
 .click-story .skip-story{font-size:14px;margin:0}
 .story-context{grid-column:1;grid-row:4;margin-top:0;border-top:1px solid var(--line);padding-top:28px;padding-bottom:12px}
 .story-context .metaphor-title{font-size:clamp(26px,6.7vw,38px);line-height:1.2}
 .story-context .chapter-text{font-size:16px;line-height:1.75;max-width:58ch}
 .story-context .hero-title-intro{font-size:15px}
 .section-number{margin-left:0}
 .contact-main{padding-top:calc(var(--header-occupied) + 28px)}
 .contact-heading h1{font-size:clamp(34px,8vw,44px)}
 .contact-layout{margin-top:28px}
}
@media(max-width:380px){.team-names{grid-template-columns:1fr;gap:14px}}
/* Landscape phones use normal flow, not a viewport-height crop or a pin. */
@media (max-width:1000px) and (max-height:500px) and (orientation:landscape){
 .click-story .art-scene{max-width:360px}.click-story .art-visual{aspect-ratio:1}
}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}.click-story .story-stage{min-height:0}.click-story .art-scene{opacity:1}}

/* Accessible descriptions stay in the reading order without adding layout. */
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
