/* Homepage: the opening illustration, the authority question, scenarios and the closing sequence. */
.enterprise-alpine{position:relative;isolation:isolate;overflow:clip}
.alpine-landscape{position:absolute;inset:0 0 auto;z-index:-1;height:max(100svh,44rem);overflow:hidden;background:radial-gradient(110% 80% at 68% 72%,#16221f 0,var(--ink) 62%)}
.alpine-landscape picture,.scene-still,#scene{position:absolute;inset:0;width:100%;height:100%}
/* The still paints at once (it is the first large thing on the page). When the live scene is ready it opens on bare
   floor and fades in over the still, the same way each loop ends: the row dissolves, then the story starts. */
.scene-still{object-fit:cover;object-position:61% 43%}
#scene{opacity:0;transition:opacity 1s ease}
.alpine-landscape.is-live #scene{opacity:1}
.alpine-landscape.is-live .scene-still{opacity:0;transition:opacity 0s 1.1s}
.alpine-landscape::after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(90deg,rgba(8,13,14,.95) 0,rgba(8,13,14,.9) 28%,rgba(8,13,14,.4) 45%,rgba(8,13,14,0) 60%),linear-gradient(0deg,var(--ink) 0,rgba(8,13,14,0) 20%),linear-gradient(180deg,rgba(8,13,14,.6) 0,rgba(8,13,14,0) 16%)}
.scene-labels{position:absolute;inset:0;z-index:1;pointer-events:none}
.scene-labels>span{position:absolute;left:0;top:0;opacity:.004;white-space:nowrap;will-change:transform,opacity}
/* Tags and captions are in the page, invisibly faint, from the first frame. A browser measures a page's largest paint
   by text the first time it is painted: text that first appeared seconds later, when its moment in the story comes,
   would be measured as if the page had taken that long to load. Where the illustration cannot run they are taken out. */
.alpine-landscape.is-static .scene-labels{display:none}
@media (scripting:none){.scene-labels{display:none}}
.scene-labels b{--hair:var(--brass);display:block;padding:.4rem .65rem 0;box-shadow:inset 1px 0 0 var(--hair);font:500 .625rem/1.4 var(--mono);letter-spacing:.13em;text-transform:uppercase;color:#ece6da;text-shadow:0 0 .5rem rgba(8,13,14,.9)}
.scene-labels small{display:block;font:inherit;color:#a6b5b2}
@media (max-width:1100px){.scene-labels small+small{display:none}}
@media (max-width:350px){.scene-labels b{font-size:.5625rem;letter-spacing:.08em}}
/* a tag hangs from the near corner of its slip on a hairline; near the right edge it hangs the other way */
/* turning a tag changes only how it is painted, never its layout, so nothing on the page is measured as shifting */
.scene-labels [data-flip="true"] b{transform:translateX(-100%);box-shadow:inset -1px 0 0 var(--hair)}
.scene-labels [data-at="side"] b{transform:translate(14px,-50%);padding-top:0}
.scene-labels [data-at="side"][data-flip="true"] b{transform:translate(calc(-100% - 14px),-50%)}
.scene-labels [data-at="mark"] b{transform:translate(16px,-135%);padding-top:0}
.scene-labels [data-at="mark"][data-flip="true"] b{transform:translate(calc(-100% - 16px),-135%)}
.scene-labels :is([data-scene-label="unresolved"],[data-scene-label="held"],[data-scene-label="condition"][data-changed="true"]) b{--hair:var(--signal)}
.scene-labels .is-before,.scene-labels .is-after{display:block}
.scene-labels .is-after,.scene-labels [data-changed="true"] .is-before{position:absolute;left:.65rem;top:0;opacity:.004}
.scene-labels [data-changed="true"] .is-after{position:static;opacity:1}
.scene-labels [data-changed="true"] .is-after small{color:var(--signal)}

.opening-copy{position:relative;display:flex;flex-direction:column;justify-content:flex-end;min-height:max(100svh,44rem);padding-block:calc(var(--hdr) + 2rem) clamp(2.75rem,7vh,5rem)}
.opening-copy>:not(.scene-ctl){max-width:min(45rem,56vw)}
.hero-topline{margin-bottom:1.4rem}
/* "Authority" is on the page at first paint and only settles (the mask of the shared entrance is lifted from the
   heading itself); "before action." rises from its mask beneath it. The first word is then what the browser measures
   as the largest paint, not a label that appears seconds later. */
#home-title{font-size:clamp(3.5rem,8.5vw,9rem);line-height:.9;letter-spacing:-.042em;margin-bottom:clamp(1.4rem,3vh,2.2rem);animation:settle 1.1s var(--ease) both;clip-path:none!important}
#home-title em{display:block;font-size:1.02em;line-height:.98;padding-bottom:.1em;animation:settle 1.2s var(--ease) .16s both}
.hero-description{font:400 clamp(1.25rem,1.6vw,1.55rem)/1.3 var(--sans);letter-spacing:-.012em;max-width:26ch!important;margin-bottom:1rem}
.opening-context{color:var(--mute);max-width:45ch!important;margin-bottom:2.1rem}
.hero-status{display:flex;align-items:center;gap:.85rem;margin-top:2.2rem}
.hero-status::before{content:"";width:1.6rem;height:2px;background:var(--brass)}
.opening-copy>:is(.hero-topline,.hero-description,.opening-context,.hero-actions,.hero-status){animation:arrive 1s var(--ease) both}
.opening-copy>.hero-description{animation-delay:.32s}.opening-copy>.opening-context{animation-delay:.42s}.opening-copy>.hero-actions{animation-delay:.52s}.opening-copy>.hero-status{animation-delay:.62s}
@keyframes arrive{from{clip-path:inset(0 -2% 100% -2%);transform:translateY(.9rem)}to{clip-path:inset(-8% -2% -12% -2%);transform:none}}
/* actions are never masked: they can be used from the first frame, and only settle into place */
.opening-copy>.hero-actions{animation-name:nudge;animation-delay:0s}
/* the one-line description is also there from the first frame: with the headline it is what the browser measures as the largest paint */
.opening-copy>.hero-description{animation-name:nudge;animation-delay:.08s}
@keyframes nudge{from{transform:translateY(.9rem)}}
/* illustration control */
.scene-ctl{position:absolute;right:0;bottom:clamp(2.75rem,7vh,5rem);display:grid;justify-items:end;gap:.55rem;max-width:24rem;animation:arrive 1s var(--ease) .9s both}
.scene-caption{position:relative;font:400 1.05rem/1.3 var(--sans);text-align:right;min-height:2.7em;display:flex;align-items:flex-end;justify-content:flex-end}
.scene-caption span:not(.on){position:absolute;right:0;bottom:0;opacity:.004;pointer-events:none}
.scene-ctl__row{display:flex;align-items:center;gap:.25rem}
.scene-step,.scene-toggle{position:relative;display:grid;place-items:center;min-width:2.75rem;min-height:2.75rem;padding:0;border:0;background:none;color:var(--mute);font:500 .6875rem var(--mono);letter-spacing:.1em;cursor:pointer;transition:color var(--t-1)}
.scene-step[aria-pressed="true"],.scene-step:hover,.scene-toggle:hover{color:var(--fg)}
.scene-step::before,.scene-step::after{content:"";position:absolute;left:.45rem;right:.45rem;bottom:.5rem;height:2px;background:var(--line)}
.scene-step::after{background:var(--brass);transform:scaleX(var(--p,0));transform-origin:left}
.scene-toggle{margin-left:.5rem;border-radius:50%;box-shadow:inset 0 0 0 1px var(--line)}
.scene-toggle svg{width:.6rem;height:.6rem;fill:currentColor}
.scene-toggle[aria-pressed="true"] .icon-run,.scene-toggle[aria-pressed="false"] .icon-pause{display:none}
.scene-note{font:500 .5625rem/1.4 var(--mono);letter-spacing:.14em;text-transform:uppercase;color:rgba(166,181,178,.85)}
[data-motion="paused"] .scene-toggle{display:none}

/* the authority question */
.action-summary{display:grid;grid-template-columns:minmax(0,3fr) minmax(0,9fr);gap:2rem clamp(2rem,6vw,7rem);margin:0;padding-block:clamp(4.5rem,10vw,9rem);border-top:1px solid var(--line)}
.action-summary figcaption{font:500 .6875rem/1.5 var(--mono);letter-spacing:.14em;text-transform:uppercase;color:var(--brass)}
.action-summary figcaption span{display:block;margin-top:.5rem;color:var(--mute)}
.hero-decision h2{font-size:clamp(2.7rem,6.7vw,7rem);line-height:.94;letter-spacing:-.04em;margin:1.2rem 0 clamp(2.5rem,5vw,4.5rem)}
.hero-decision ul{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.5rem clamp(1.5rem,3vw,3rem);list-style:none;padding:0;margin-bottom:2.5rem}
.hero-decision li{position:relative;padding-top:1.3rem;border-top:1px solid var(--line);font:400 clamp(1.15rem,1.6vw,1.5rem)/1.2 var(--display);letter-spacing:-.015em}
.hero-decision li::before{content:"";position:absolute;left:0;top:-1px;width:2.6rem;height:2px;background:var(--brass)}
.hero-decision>p{color:var(--mute);max-width:44ch}
.summary-note{grid-column:2;font:500 .6875rem/1.5 var(--mono);letter-spacing:.14em;text-transform:uppercase;color:var(--mute)}

/* scenarios: one situation at a time */
.commercial-scenarios{padding-block:var(--sec)}
.scenario-heading{display:grid;grid-template-columns:minmax(0,7fr) minmax(0,5fr);gap:1.5rem clamp(2rem,6vw,7rem);align-items:end;margin-bottom:1.6rem}
.scenario-heading>p{max-width:40ch;color:var(--mute);font-size:clamp(1.12rem,1.35vw,1.3rem);line-height:1.48;padding-bottom:.35rem}
.scenario-context{margin-bottom:clamp(2rem,4vw,3.5rem)}
.scenario-selector{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:0 1.25rem;margin-bottom:clamp(2.5rem,5vw,4.5rem)}
.scenario-selector button{position:relative;display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;min-height:5.5rem;padding:1.1rem 0 .6rem;border:0;border-top:1px solid var(--line);background:none;color:var(--mute);text-align:left;font:400 1.02rem/1.25 var(--display);letter-spacing:-.005em;cursor:pointer;transition:color var(--t-1)}
.scenario-selector button span{display:block;margin-bottom:.55rem;font:500 .6875rem var(--mono);letter-spacing:.14em;color:var(--accent)}
.scenario-selector button::before{content:"";position:absolute;left:0;top:-1px;width:100%;height:2px;background:var(--accent);transform:scaleX(0);transform-origin:left;transition:transform var(--t-3) var(--ease)}
.scenario-selector button:hover,.scenario-selector button[aria-pressed="true"]{color:var(--fg)}
.scenario-selector button[aria-pressed="true"]::before{transform:none}
.scenario-selector button:hover::before{transform:scaleX(.25)}
.scenario-selector button[aria-pressed="true"]:hover::before{transform:none}
.commercial-scenario{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);grid-template-rows:auto 1fr;gap:0 clamp(2rem,6vw,7rem)}
.commercial-scenario+.commercial-scenario{margin-top:clamp(4rem,8vw,7rem)}
.scenario-still{grid-row:1/span 2;position:relative;margin:0;aspect-ratio:4/5;overflow:hidden;background:var(--ink)}
/* backgrounds, not <img>: a hidden situation fetches nothing until it is chosen */
.scenario-still{background:var(--ink) 68% 50%/cover no-repeat}
/* with scripting, only the chosen situation is shown, so only its still is requested; without it, all six are */
.scenarios-enhanced .scenario-still--dock{background-image:url(/stills/dock-1600.webp);background-image:image-set(url(/stills/dock-900.avif) type("image/avif") 1x,url(/stills/dock-1600.avif) type("image/avif") 2x,url(/stills/dock-1600.webp) type("image/webp") 1x)}
.scenarios-enhanced .scenario-still--rain{background-image:url(/stills/rain-1600.webp);background-image:image-set(url(/stills/rain-900.avif) type("image/avif") 1x,url(/stills/rain-1600.avif) type("image/avif") 2x,url(/stills/rain-1600.webp) type("image/webp") 1x)}
.scenarios-enhanced .scenario-still--corridor{background-image:url(/stills/corridor-1600.webp);background-image:image-set(url(/stills/corridor-900.avif) type("image/avif") 1x,url(/stills/corridor-1600.avif) type("image/avif") 2x,url(/stills/corridor-1600.webp) type("image/webp") 1x)}
.scenarios-enhanced .scenario-still--switchyard{background-image:url(/stills/switchyard-1600.webp);background-image:image-set(url(/stills/switchyard-900.avif) type("image/avif") 1x,url(/stills/switchyard-1600.avif) type("image/avif") 2x,url(/stills/switchyard-1600.webp) type("image/webp") 1x)}
.scenarios-enhanced .scenario-still--reading{background-image:url(/stills/reading-1600.webp);background-image:image-set(url(/stills/reading-900.avif) type("image/avif") 1x,url(/stills/reading-1600.avif) type("image/avif") 2x,url(/stills/reading-1600.webp) type("image/webp") 1x)}
.scenarios-enhanced .scenario-still--field{background-image:url(/stills/field-1600.webp);background-image:image-set(url(/stills/field-900.avif) type("image/avif") 1x,url(/stills/field-1600.avif) type("image/avif") 2x,url(/stills/field-1600.webp) type("image/webp") 1x)}
@media (scripting:none){
 .scenario-still--dock{background-image:url(/stills/dock-900.webp)}
 .scenario-still--rain{background-image:url(/stills/rain-900.webp)}
 .scenario-still--corridor{background-image:url(/stills/corridor-900.webp)}
 .scenario-still--switchyard{background-image:url(/stills/switchyard-900.webp)}
 .scenario-still--reading{background-image:url(/stills/reading-900.webp)}
 .scenario-still--field{background-image:url(/stills/field-900.webp)}
}
.scenario-still figcaption{position:absolute;left:1rem;bottom:.9rem}
.scenario-story{padding-bottom:2.5rem}
.scenario-sector{display:flex;gap:1rem;margin-bottom:1.5rem;font:500 .6875rem/1.4 var(--mono);letter-spacing:.14em;text-transform:uppercase;color:var(--accent)}
.commercial-scenario h3{font:300 clamp(1.9rem,3.5vw,3.5rem)/1.02 var(--display);letter-spacing:-.032em;margin-bottom:1.5rem;max-width:18ch}
.scenario-premise{font-size:1.15rem;color:var(--mute);max-width:46ch;margin-bottom:1.4rem}
.scenario-value{font:400 clamp(1.2rem,1.6vw,1.45rem)/1.3 var(--display);letter-spacing:-.012em;max-width:34ch;padding-left:1.2rem;border-left:2px solid var(--accent);margin-bottom:1.4rem}
.scenario-resolution{padding-top:2rem;border-top:1px solid var(--line);display:grid;grid-template-columns:minmax(0,1fr);gap:.9rem;justify-items:start;align-content:start}
.scenario-object{display:inline-flex;flex-wrap:wrap;align-items:center;gap:.5rem 1.2rem;padding:.85rem 1.2rem .85rem 1.1rem;background:var(--ink);color:#ece6da;border-left:3px solid var(--brass);font:500 .6875rem/1.4 var(--mono);letter-spacing:.13em;text-transform:uppercase;margin-bottom:.8rem}
.scenario-object strong{font-weight:500;color:var(--brass)}
.scenario-resolution>p{color:var(--mute);max-width:56ch}
.scenario-measure{font-size:.9rem}
.scenarios-enhanced .commercial-scenario:not([hidden]) .scenario-still{animation:unmask var(--t-4) var(--ease) both}
.scenarios-enhanced .commercial-scenario:not([hidden]) :is(.scenario-story,.scenario-resolution)>*{animation:arrive var(--t-3) var(--ease) both;animation-delay:calc(var(--n,0)*60ms + 120ms)}
.scenarios-enhanced .commercial-scenario :is(.scenario-story,.scenario-resolution)>:nth-child(2){--n:1}
.scenarios-enhanced .commercial-scenario :is(.scenario-story,.scenario-resolution)>:nth-child(3){--n:2}
.scenarios-enhanced .commercial-scenario :is(.scenario-story,.scenario-resolution)>:nth-child(4){--n:3}
.scenarios-enhanced .commercial-scenario :is(.scenario-story,.scenario-resolution)>:nth-child(n+5){--n:4}
.scenario-conversation{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:1rem 3rem;margin-top:clamp(3rem,6vw,5rem);padding-top:1.4rem;border-top:1px solid var(--line)}
.scenario-conversation p{font:400 1.3rem var(--display);letter-spacing:-.012em}

/* why now, evidence, buying team, evaluation, briefs */
.urgency-grid .small-label{font-size:.75rem;color:var(--brass)}
.evidence-triad .evidence-type{order:-1;padding:.45rem .7rem;box-shadow:inset 0 0 0 1px var(--line);color:var(--fg)}
.evidence-section .evidence-triad>article{padding-top:1.7rem}
.executive-routes{grid-template-columns:repeat(3,minmax(0,1fr))}
.executive-routes h3,.urgency-grid h3,.evidence-triad h3{font-size:clamp(1.4rem,2vw,1.95rem);font-weight:300;letter-spacing:-.024em}
.deliverable-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.deliverable-grid li .small-label{font-size:.8rem}
.brief-routes{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem}
.brief-routes a{position:relative;display:flex;flex-direction:column;gap:.7rem;min-height:23rem;padding:1.5rem 1.5rem 1.2rem;background:var(--ink);color:#ece6da;--fg:#ece6da;--mute:#a6b5b2;--accent:var(--brass);--line:rgba(236,230,218,.17);text-decoration:none;overflow:hidden;transition:transform var(--t-2) var(--ease),box-shadow var(--t-2)}
.brief-routes a::before{content:"";position:absolute;left:1.5rem;top:5.4rem;width:2.4rem;height:3px;background:var(--brass);transition:width var(--t-3) var(--ease)}
.brief-routes a::after{content:"";position:absolute;inset:0;background:linear-gradient(140deg,rgba(206,168,98,.16),transparent 55%);opacity:0;transition:opacity var(--t-2)}
.brief-routes a:hover,.brief-routes a:focus-visible{transform:translateY(-.4rem);box-shadow:0 2.2rem 3rem -1.8rem rgba(8,13,14,.55)}
.brief-routes a:hover::before,.brief-routes a:focus-visible::before{width:calc(100% - 3rem)}
.brief-routes a:hover::after{opacity:1}
.brief-routes h3{margin-top:5.2rem;font-size:clamp(1.5rem,2.1vw,2.1rem);font-weight:300;letter-spacing:-.025em}
.brief-routes p{color:var(--mute);font-size:.95rem}
.brief-routes .card-link{margin-top:auto;position:relative;z-index:1}
.mission-grid{display:grid;grid-template-columns:minmax(0,6fr) minmax(0,6fr);gap:2.5rem clamp(2rem,6vw,7rem);align-items:end}
.mission-compact h2{font-size:clamp(2.6rem,6vw,6.2rem);max-width:none;margin-bottom:0}
.mission-compact h2 em{display:inline-block}
.mission-compact .prose p{color:#d3d9d5;font-size:1.05rem;margin-bottom:0}
.mission-links{margin-top:1.6rem}

@media (max-width:1050px){
 .scenario-selector{grid-template-columns:repeat(3,minmax(0,1fr))}
 .brief-routes,.deliverable-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .executive-routes{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:860px){
 /* --stage: the room left for the illustration between the actions and its caption. The scene is the desktop view
    at the size that fits this width (450px is the full composition), so the room grows with the screen. */
 .enterprise-alpine{--stage:clamp(259px,44px + (100vw - 28px)*.863,403px)}
 .alpine-landscape{height:calc(36rem + var(--stage))}
 .alpine-landscape::after{background:linear-gradient(180deg,rgba(8,13,14,.94) 0,rgba(8,13,14,.82) 19rem,rgba(8,13,14,0) 28rem),linear-gradient(0deg,var(--ink) 0,rgba(8,13,14,0) 12%)}
 .scene-still{object-position:30% 65.5%}
 @media (min-width:560px){.scene-still{object-position:34% 64%}}
 .opening-copy{justify-content:flex-start;min-height:0;padding-top:calc(var(--hdr) + 1.4rem);padding-bottom:3rem}
 .opening-copy>:not(.scene-ctl){max-width:none}
 #home-title{font-size:clamp(3.3rem,16.5vw,5.2rem);margin-bottom:1.1rem}
 .hero-description{margin-bottom:1.4rem}
 /* portrait order: message, actions, illustration, then the fuller context */
 .hero-actions{order:1}.scene-ctl{order:2}.opening-context{order:3}.hero-status{order:4}
 .hero-actions .text-link:last-child{display:none}
 .scene-ctl{position:static;max-width:none;justify-items:stretch;margin-top:var(--stage);margin-bottom:3rem}
 .opening-copy:not(:has(.scene-ctl:not([hidden]))) .opening-context{margin-top:calc(var(--stage) + 2.5rem)}
 .opening-context{font-size:1rem;margin-bottom:0}
 .hero-status{margin-top:1.6rem}
 .scene-caption{text-align:left;min-height:0;justify-content:flex-start}
 .scene-caption span:not(.on){right:auto;left:0}
 .scene-ctl__row{justify-content:space-between}
 .scene-labels small{display:none}
 .action-summary,.scenario-heading,.commercial-scenario,.mission-grid{grid-template-columns:minmax(0,1fr)}
 .summary-note{grid-column:1}
 .hero-decision ul{grid-template-columns:minmax(0,1fr)}
 .scenario-still{grid-row:auto;aspect-ratio:16/11;margin-bottom:2rem}
 .scenario-selector{grid-template-columns:repeat(2,minmax(0,1fr))}
 .scenario-selector button{min-height:4.75rem;font-size:.95rem}
}
@media (max-width:560px){
 .brief-routes,.deliverable-grid,.executive-routes{grid-template-columns:minmax(0,1fr)}
 .brief-routes a{min-height:15rem}
 .brief-routes h3{margin-top:3.6rem}
 .brief-routes a::before{top:4.2rem}
}
@media (prefers-reduced-motion:reduce){#home-title{animation:none}}
