/* Homepage hero: a story in six scenes (12 Nov 2026) */
.hero .hs-films,.hero .hs-scrim,.hero .hs-card{position:absolute;inset:0;z-index:-1;pointer-events:none}
.hero .hs-film{position:absolute;inset:0;visibility:hidden;overflow:hidden;will-change:transform,opacity}
.hero .hs-film video{width:100%;height:100%;object-fit:cover;display:block;background:#2a2a28}
.hero .hs-scrim{opacity:0;transition:opacity 1.2s ease;background:linear-gradient(90deg,rgba(10,12,10,.55) 0%,rgba(10,12,10,.18) 46%,transparent 72%),linear-gradient(180deg,rgba(10,12,10,.28) 0%,transparent 26%),linear-gradient(0deg,rgba(10,12,10,.62) 0%,rgba(10,12,10,.3) 14%,transparent 30%)}
.hero.hs-video .hs-scrim{opacity:1}
.hero.hs-video .sky-field canvas{pointer-events:none}
/* Copy that belongs to the first scene only */
.hero .eyebrow,.hero .hero-intro-row,.hero .hero-actions,.hero .constellation-key{transition:opacity .6s ease,visibility .6s}
.hero.hs-video .eyebrow,.hero.hs-video .hero-intro-row,.hero.hs-video .hero-actions,.hero.hs-video .constellation-key{opacity:0;visibility:hidden}
.hero .hero-tagline{display:none!important}
/* Scene title and line beneath it */
.hero .hero-title{transition:color .8s ease}
.hero.hs-video .hero-title,.hero.hs-video .hs-sub{color:#fff!important;text-shadow:0 1px 24px rgba(0,0,0,.25)}
.hero .hs-line{display:block;overflow:hidden;padding-bottom:.06em}
.hero .hs-line>span{display:block;transform:translateY(0);opacity:1;transition:transform .9s cubic-bezier(.22,1,.36,1),opacity .9s cubic-bezier(.22,1,.36,1);transition-delay:var(--d,0ms)}
.hero.hs-out .hs-line>span{transform:translateY(-38%);opacity:0;transition-duration:.5s;transition-delay:0ms}
.hero.hs-pre .hs-line>span{transform:translateY(60%);opacity:0;transition:none}
.hero .hs-sub{font-family:var(--gh-body,"DM Sans"),sans-serif;font-style:italic;font-weight:300;font-size:clamp(18px,1.6vw,24px);line-height:1.38;letter-spacing:-.01em;max-width:34ch;margin:-6px 0 28px;transition:opacity .9s ease .25s,transform .9s cubic-bezier(.22,1,.36,1) .25s,color .8s ease}
.hero.hs-out .hs-sub{opacity:0;transform:translateY(-6px);transition-delay:0s;transition-duration:.45s}
.hero.hs-pre .hs-sub{opacity:0;transform:translateY(10px);transition:none}
/* Scene controls */
/* Chapter indicator: six titled chapters with a progress line, arrows and a counter */
.hero .hs-nav{position:relative;z-index:2;display:flex;align-items:flex-end;gap:clamp(18px,2.4vw,36px);margin:0 clamp(24px,5vw,72px) 22px;color:inherit}
.hero.hs-video .hs-nav{color:#fff}
.hero .hs-nav button{appearance:none;border:0;background:none;color:inherit;cursor:pointer;padding:0;font:inherit}
.hero .hs-nav button:focus-visible{outline:2px solid currentColor;outline-offset:4px}
.hero .hs-dots{flex:1;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:clamp(10px,1.4vw,20px)}
.hero .hs-dots button{display:grid;grid-template-columns:auto minmax(0,1fr);column-gap:8px;align-items:start;text-align:left;padding-top:12px;position:relative;opacity:.62;transition:opacity .4s ease}
.hero .hs-dots button:hover,.hero .hs-dots button[aria-current="true"]{opacity:1}
.hero .hs-bar{position:absolute;left:0;right:0;top:0;height:2px;background:currentColor;opacity:1;overflow:hidden}
.hero .hs-bar::before{content:"";position:absolute;inset:0;background:currentColor;opacity:.32}
.hero .hs-bar{background:none}
.hero .hs-bar>i{position:absolute;left:0;top:0;bottom:0;width:100%;background:#ff5a1f;transform:scaleX(var(--p,0));transform-origin:left}
.hero .hs-dots button[aria-current="true"] .hs-bar::before{opacity:.5}
.hero .hs-n{font-weight:250;font-size:clamp(24px,2.2vw,34px);line-height:.9;letter-spacing:-.03em}
.hero .hs-t{display:flex;flex-direction:column;gap:3px;padding-top:2px;min-width:0}
.hero .hs-t b{font-weight:600;font-size:13px;line-height:1.25;letter-spacing:-.005em}
.hero .hs-t em{font-weight:300;font-size:12px;line-height:1.3;font-style:italic;opacity:.85}
.hero .hs-ctl{display:flex;align-items:center;gap:8px}
.hero .hs-prev,.hero .hs-next{width:46px;height:46px;border-radius:50%!important;border:1px solid currentColor!important;display:grid;place-items:center;opacity:.8;transition:opacity .3s,background .3s,color .3s,border-color .3s}
.hero .hs-prev:hover,.hero .hs-next:hover{opacity:1;background:#ff5a1f!important;border-color:#ff5a1f!important;color:#fff}
.hero .hs-nav svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.hero .hs-pause{width:32px;height:46px;font-size:12px;letter-spacing:.06em;opacity:.75}
.hero .hs-count{margin:0;white-space:nowrap;font-size:15px;font-weight:300;line-height:1;opacity:.85}
.hero .hs-count span{font-size:clamp(40px,3.6vw,56px);font-weight:250;letter-spacing:-.04em}
/* Data band over the films */
.hero .facts{transition:background .8s ease,backdrop-filter .8s ease}
.hero .facts{background:rgba(244,244,240,.62)!important;-webkit-backdrop-filter:blur(14px) saturate(140%);backdrop-filter:blur(14px) saturate(140%);color:#151515}
.hero .facts .fact span{color:rgba(21,21,21,.72)!important}
.hero .facts .fact{border-color:rgba(21,21,21,.16)!important}
.hero .facts .scroll-cue{color:#151515}
/* Closing card */
.hero .hs-card{z-index:3;display:grid;place-items:center;background:#0b0b0b;color:#f4f4f0;opacity:0;visibility:hidden;transition:opacity 1s ease,visibility 1s;pointer-events:none;padding:8%}
.hero .hs-card p{margin:0;max-width:22ch;text-align:center;font-family:var(--gh-head,"DM Sans"),sans-serif;font-weight:250;font-size:clamp(30px,4vw,62px);line-height:1.12;letter-spacing:-.03em}
.hero .hs-card p em{font-style:italic;font-weight:300}
.hero.hs-closing .hs-card{opacity:1;visibility:visible}
@media (max-width:760px){.hero .hs-sub{font-size:17px;margin-bottom:20px}.hero .hero-inner{min-height:62svh}}
@media (prefers-reduced-motion:reduce){.hero .hs-line>span,.hero .hs-sub{transition:none!important}}
/* Films fill the visible frame above the data band, so less of each film is cropped */
.hero .hs-films,.hero .hs-scrim{bottom:auto;height:var(--hs-h,100%)}
.hero .hs-film video{object-position:50% 50%}
.hero .facts{background:#fff!important;-webkit-backdrop-filter:none;backdrop-filter:none}
html[data-hero-theme="dark"] .hero .facts{background:#1a1a1a!important;color:#f4f4f0}
html[data-hero-theme="dark"] .hero .facts .fact span{color:rgba(244,244,240,.7)!important}
html[data-hero-theme="dark"] .hero .facts .fact{border-color:rgba(244,244,240,.16)!important}
html[data-hero-theme="dark"] .hero .facts .scroll-cue{color:#f4f4f0}
/* Tighter space under the data bar */
.hero .facts{padding-bottom:14px!important}
.hero .facts .scroll-cue{margin-top:6px!important;height:40px!important;min-height:0!important}
/* Scene 1 subtitle sits on one line on wider screens */
@media (min-width:900px){.hero .hs-sub{max-width:44em;white-space:normal}}

@media (max-width:1100px){.hero .hs-nav{flex-wrap:wrap;justify-content:space-between;align-items:center}.hero .hs-dots{order:3;flex-basis:100%}}
@media (max-width:760px){.hero .hs-nav{margin:0 20px 18px;row-gap:16px}.hero .hs-dots{grid-template-columns:repeat(3,minmax(0,1fr));row-gap:14px}.hero .hs-dots button{padding-top:9px;column-gap:6px}.hero .hs-n{font-size:20px}.hero .hs-t b{font-size:11px}.hero .hs-t em{font-size:10px}.hero .hs-prev,.hero .hs-next{width:40px;height:40px}.hero .hs-count span{font-size:34px}}
.hero.hs-video .hs-dots button{opacity:.78}.hero.hs-video .hs-dots button[aria-current="true"]{opacity:1}
.hero.hs-video .hs-t b,.hero.hs-video .hs-n,.hero.hs-video .hs-count{text-shadow:0 1px 12px rgba(0,0,0,.35)}
/* Minimal chevrons, no circle */
.hero .hs-prev,.hero .hs-next{width:36px;height:46px;border:0!important;border-radius:0!important;background:none!important;opacity:.85}
.hero .hs-prev:hover,.hero .hs-next:hover{background:none!important;color:#ff5a1f;opacity:1}
.hero .hs-prev svg,.hero .hs-next svg{width:20px;height:20px;stroke-width:1.6}
.hero .hs-ctl{gap:2px}
/* Sequence title above each tagline, e.g. "3 | The Invitation" */
.hero .hs-kick{margin:26px 0 0;font-size:clamp(13px,1vw,15px);font-weight:500;letter-spacing:.14em;line-height:1.2;color:#ff5a1f;display:flex;align-items:baseline;gap:.7em;transition:opacity .9s ease .1s,transform .9s cubic-bezier(.22,1,.36,1) .1s}
.hero .hs-kick i{font-style:normal;font-weight:300;opacity:.7}
.hero.hs-video .hs-kick{color:#ffc4aa;font-weight:600;text-shadow:0 1px 3px rgba(0,0,0,.35),0 1px 18px rgba(0,0,0,.4)}
.hero.hs-out .hs-kick{opacity:0;transform:translateY(-6px);transition-delay:0s;transition-duration:.45s}
.hero.hs-pre .hs-kick{opacity:0;transform:translateY(10px);transition:none}
.hero .hs-kick+.hero-title{margin-top:10px}
@media (max-width:760px){.hero .hs-kick{margin-top:18px;font-size:12px}}
@media (prefers-reduced-motion:reduce){.hero .hs-kick{transition:none!important}}
/* Phones: a portrait screen crops a wide film hard. Keep each film within the first screen so the whole frame height shows, fade it out at the bottom, and darken the hero behind */
@media (max-width:760px){
.hero .hs-films,.hero .hs-scrim{height:min(var(--hs-h,100%),66svh)}
.hero .hs-films,.hero .hs-scrim{-webkit-mask-image:linear-gradient(180deg,#000 70%,transparent);mask-image:linear-gradient(180deg,#000 70%,transparent)}
.hero .sky-field{transition:opacity .9s ease}
.hero.hs-video .sky-field{opacity:0!important}
.hero{transition:background-color .9s ease}
.hero.hs-video{background-color:#141414!important}
.hero .hs-film:nth-child(2) video{object-position:44% 50%}
.hero .hs-film:nth-child(3) video{object-position:50% 50%}
}
@media (min-width:1400px){.hero .hs-t em{white-space:nowrap}}
/* Case-study card: translucent white glass over the sky and films */
.hero .hero-preview{background:rgba(255,255,255,.58)!important;-webkit-backdrop-filter:blur(18px) saturate(1.3);backdrop-filter:blur(18px) saturate(1.3);border-color:transparent!important}
html[data-hero-theme="dark"] .hero .hero-preview{background:rgba(30,30,30,.55)!important;border-color:transparent!important;box-shadow:0 20px 44px -22px rgba(0,0,0,.6)!important}
.hero .hero-preview::before{display:none!important}
/* Arrow in the "Case study" pill */
.hero .hero-preview .tag{display:inline-flex;align-items:center;gap:.45em}
.hero .hero-preview .tag .ex-arr{width:.72em;height:.72em;vertical-align:0}
.hero .hero-preview .featured:hover .tag .ex-arr,.hero .hero-preview .featured:focus-visible .tag .ex-arr{transform:translate(2px,-2px)}
.hero .hero-preview small .ex-arr{display:none!important}
/* Infinity mark between the two scales */
html .hero .facts .fig-scale em.fig-inf{display:inline-flex;align-items:center;line-height:0}
html .hero .facts .fig-scale em.fig-inf svg{width:1.7em;height:auto;display:block;color:#ff5a1f}
/* Case-study card: photo runs the full height on the left; label, title, details and the dots sit in one column on the right */
.hero .hero-preview{--pv-img:150px;--pv-gap:18px}
.hero .hero-preview .featured{grid-template-columns:var(--pv-img) minmax(0,1fr)!important;column-gap:var(--pv-gap)!important;align-items:stretch!important;padding:10px!important}
.hero .hero-preview .featured img{width:100%!important;height:100%!important;min-height:150px;object-fit:cover;align-self:stretch}
.hero .hero-preview .feature-copy{justify-content:flex-start!important;gap:10px!important;padding:6px 8px 46px 0!important}
.hero .hero-preview .feature-copy .tag{align-self:flex-start}
.hero .hero-preview .preview-controls{position:absolute!important;left:calc(10px + var(--pv-img) + var(--pv-gap));right:14px;bottom:14px;padding:0!important;justify-content:space-between!important;align-items:center}
.hero .hero-preview .preview-dots{justify-content:flex-start!important}
@media (max-width:760px){.hero .hero-preview{--pv-img:104px;--pv-gap:14px}.hero .hero-preview .featured img{min-height:130px}}
/* Shorter case-study card */
.hero .hero-preview .featured{padding:8px!important}
.hero .hero-preview .featured img{min-height:0!important}
.hero .hero-preview .feature-copy{gap:5px!important;padding:2px 6px 32px 0!important}
.hero .hero-preview .feature-copy .tag{padding-top:4px!important;padding-bottom:4px!important}
.hero .hero-preview .preview-controls{bottom:8px!important;left:calc(8px + var(--pv-img) + var(--pv-gap))!important;height:26px}
.hero .hero-preview .preview-pause,.hero .hero-preview .preview-dots button{min-height:26px!important;height:26px!important}
@media (max-width:760px){.hero .hero-preview .featured img{min-height:0!important}}
/* Chapter legend: only the playing chapter's text is fully visible; the others fade right back */
.hero .hs-dots button,.hero.hs-video .hs-dots button{opacity:1!important}
.hero .hs-dots .hs-n,.hero .hs-dots .hs-t{opacity:.2;transition:opacity .7s ease}
.hero .hs-dots button:hover .hs-n,.hero .hs-dots button:hover .hs-t,.hero .hs-dots button:focus-visible .hs-n,.hero .hs-dots button:focus-visible .hs-t{opacity:.55}
.hero .hs-dots button[aria-current="true"] .hs-n,.hero .hs-dots button[aria-current="true"] .hs-t{opacity:1}
/* Playing chapter's number, title and location turn orange with its progress line */
.hero .hs-dots .hs-n,.hero .hs-dots .hs-t{transition:opacity .7s ease,color .7s ease}
.hero .hs-dots button[aria-current="true"] .hs-n{color:#ff5a1f}
.hero.hs-video .hs-dots button[aria-current="true"] .hs-n{color:#ff7a45}
.hero .hs-dots button[aria-current="true"] .hs-t em{opacity:.75}
/* Phones: keep the intro and buttons in the dark band under each film instead of leaving it empty */
@media (max-width:760px){
.hero.hs-video .hero-intro-row,.hero.hs-video .hero-actions{opacity:1;visibility:visible}
.hero.hs-video .hero-intro-row,.hero.hs-video .hero-intro-row *{color:rgba(244,244,240,.86)!important}
}
@media (max-width:760px){
.hero.hs-video .hero-actions .button{color:#f4f4f0!important;background:rgba(255,255,255,.1)!important;border-color:rgba(255,255,255,.28)!important}
.hero.hs-video .hero-actions .sub-link{color:#f4f4f0!important}
}
/* Portrait: light ring wherever the background goes dark */
.hero.hs-video .hero-intro-row>img,html[data-hero-theme="dark"] .hero .hero-intro-row>img{border-color:rgba(244,244,240,.9)!important}
