/* ribbiot-v3 hero v1.1: v1.0 minus its @font-face alias (it mapped "Sharp Sans Display No2" 800 to the old SharpSans-Extrabold file); the real Display No2 is now a site font. */
.sub-title{color:#caffeb;text-transform:uppercase;text-shadow:0 0 5px var(--brand--mint-dark);background-color:#040404;padding:8px 12px 6px;font-family:Ocram,Arial,sans-serif;font-size:.75rem;line-height:1}.sub-title{text-align:center;letter-spacing:0;white-space:nowrap;border-style:solid none;border-width:1px 0;background-color:#0000;border-image-source:linear-gradient(90deg,#3cd29b00,#00a467 25%,#3cd29b 50%,#00a467 75%,#3cd29b00);border-image-slice:1;font-weight:400;display:block}.sub-title-wrapper{background-image:linear-gradient(90deg,#0000,#00613d 33%,#3cd29b 54%,#00613d 72%,#0000);padding:1px}.sub-title-wrapper{background-image:none;justify-content:center;margin-bottom:24px;padding:0;display:flex}.video-hero{color:#fff;background-color:#051811;position:relative}.video-hero__stage{position:relative;overflow:hidden}.video-hero__media{z-index:0;pointer-events:none;position:absolute;inset:0;overflow:hidden}.video-hero__poster{object-fit:cover;object-position:50% 50%;width:100%;max-width:none;height:100%;position:absolute;top:0;left:0}.video-hero__video-embed{position:absolute;inset:0}.video-hero__shade{background-image:linear-gradient(#020f0a29 0%,#010c088a 40%,#010c0880 66%,#010c0885 100%);position:absolute;inset:0}.video-hero__body{z-index:1;text-align:center;max-width:1280px;margin-left:auto;margin-right:auto;padding:96px 40px 80px;position:relative}.video-hero__eyebrow{color:#d5e7de;letter-spacing:.12em;text-transform:uppercase;margin-top:0;margin-bottom:40px;font-size:12px;font-weight:700;line-height:1.4}.video-hero__captions{grid-row-gap:28px;max-width:1080px;margin-left:auto;margin-right:auto;display:grid}.video-hero__caption{color:#fff;letter-spacing:-.025em;font-family:Sharp Sans Display No2,Arial,sans-serif;font-size:40px;font-weight:800;line-height:1.13}.video-hero__caption--title{text-transform:uppercase;font-size:72px;line-height:1.03}.video-hero__caption--row{font-size:34px;line-height:1.3}.video-hero__caption--two-lines{text-transform:uppercase}.video-hero__caption--final{z-index:2;text-transform:uppercase;font-size:72px;line-height:1.04;position:relative}.video-hero__line{display:block}.video-hero__accent{color:#46efb0}.video-hero__loss{color:#ff7988;background-image:linear-gradient(#0000 58%,#b7273c52 58%)}.video-hero__list{grid-row-gap:16px;width:100%;max-width:900px;margin:0 auto;padding-left:0;list-style-type:none;display:grid}.video-hero__list-item{text-align:left;padding-left:26px;font-family:Ocram,Arial,sans-serif;position:relative}.video-hero__finish{z-index:0;background-color:#080b0a;display:none;position:absolute;inset:0}.video-hero__final{z-index:2;text-align:center;background-color:#080b0a;padding-top:56px;padding-left:40px;padding-right:40px;position:relative}.video-hero__final-content{grid-row-gap:32px;flex-direction:column;align-items:center;width:100%;max-width:1200px;margin-left:auto;margin-right:auto;display:flex}.video-hero__devices{aspect-ratio:1.9;width:100%;max-width:1100px;position:relative}.video-hero__ground{z-index:0;background-color:#f5f4f1;width:100vw;height:100vh;position:absolute;top:72%;left:calc(50% - 50vw)}.video-hero__device{max-width:none;height:auto;position:absolute}.video-hero__device--laptop{z-index:1;width:80%;bottom:3%;left:10%}.video-hero__device--tracker{z-index:2;width:19%;bottom:3%;left:0%}.video-hero__device--phone{z-index:3;width:19%;bottom:0%;right:0%}.video-hero__footer{color:#e1ede7;font-size:14px;display:none}.video-hero__scroll{display:inline-flex}.video-hero__loading{display:none}.video-hero__status{display:inline}.video-hero__retry{display:none}.video-hero__skip{color:#e1ede7;display:inline-flex}.video-hero__progress{height:2px;display:none}.video-hero__progress-bar{background-color:#46efb0;height:100%;display:block}

/* ===== Ribbiot fog hero — scoped to #fog-hero / .video-hero ===== */
#fog-hero{--vh-mint:#46efb0;--vh-open:#051811;--vh-black:#080b0a;--vh-light:#f5f4f1;--vh-header:0px;
  position:relative;background:var(--vh-open);color:#fff;isolation:isolate}
#fog-hero :focus-visible{outline:2px solid var(--vh-mint);outline-offset:3px}

/* ---- Static / no-JS / reduced-motion layout (normal flow, full story) ---- */
#fog-hero .video-hero__stage{position:relative;overflow:hidden;overflow:clip}
#fog-hero .video-hero__media{position:absolute;inset:0;z-index:0;overflow:hidden;pointer-events:none}
#fog-hero .video-hero__poster,#fog-hero .video-hero__video{position:absolute;inset:0;width:100%;height:100%;max-width:none;object-fit:cover;object-position:50% 50%}
#fog-hero .video-hero__video-embed{position:absolute;inset:0}
#fog-hero .video-hero__video{opacity:0;transition:opacity .3s linear}
#fog-hero.has-video-frame .video-hero__video{opacity:1}
#fog-hero .video-hero__shade{position:absolute;inset:0;background:linear-gradient(180deg,rgba(2,15,10,.16),rgba(1,12,8,.54) 40%,rgba(1,12,8,.5) 66%,rgba(1,12,8,.52))}
#fog-hero .video-hero__body{position:relative;z-index:1;max-width:1280px;margin:0 auto;padding:96px 40px 80px;text-align:center}
#fog-hero .video-hero__eyebrow{display:flex;justify-content:center;margin:0 0 40px}  /* holds the "physical operations platform" chip */
#fog-hero .video-hero__captions{display:grid;gap:28px;max-width:1080px;margin:0 auto}
#fog-hero .video-hero__caption{margin:0;font-family:"Sharp Sans Display No2",Sharp,Arial,sans-serif;font-weight:800;font-size:clamp(1.5rem,3.1vw,2.7rem);line-height:1.13;letter-spacing:-.025em;color:#fff;text-wrap:balance;overflow-wrap:break-word}
#fog-hero h1.video-hero__caption,#fog-hero h2.video-hero__caption{text-transform:uppercase}
#fog-hero .video-hero__caption--title{font-size:clamp(2.5rem,6vw,5.5rem);line-height:1.03}
#fog-hero .video-hero__line{display:block}
#fog-hero .video-hero__accent{color:var(--vh-mint)}
#fog-hero .video-hero__caption .video-hero__loss{color:#ff7988;background:linear-gradient(transparent 58%,#b7273c52 58%);-webkit-box-decoration-break:clone;box-decoration-break:clone}
#fog-hero .video-hero__list{display:grid;gap:clamp(12px,2svh,24px);width:100%;max-width:900px;margin:0 auto;padding:0;list-style:none}
#fog-hero .video-hero__list-item{position:relative;margin:0;padding:0;text-align:left}
/* The bullet lives on the heading so it fades in and out with its row. */
#fog-hero .video-hero__caption--row::before{content:"";position:absolute;left:0;top:.62em;width:6px;height:6px;border-radius:50%;background:#ff4f69;box-shadow:0 0 8px rgba(255,79,105,.6)}
#fog-hero .video-hero__caption--row{position:relative;padding-left:26px;font-size:clamp(1.125rem,3vw,2.5rem);line-height:1.3;text-wrap:pretty}
#fog-hero .video-hero__caption--two-lines{max-width:100%}
#fog-hero .video-hero__finish{display:none;position:absolute;inset:0;z-index:0;background:var(--vh-black);pointer-events:none}
#fog-hero .video-hero__final{position:relative;z-index:2;padding:56px clamp(20px,4vw,64px) 0;background:var(--vh-black);text-align:center}
#fog-hero .video-hero__final-content{display:flex;flex-direction:column;align-items:center;gap:clamp(24px,3svh,36px);width:100%;max-width:1200px;margin:0 auto}
#fog-hero .video-hero__caption--final{position:relative;z-index:2;max-width:21ch;font-size:clamp(2.25rem,5.4vw,4.75rem);line-height:1.04}
#fog-hero .video-hero__devices{position:relative;width:min(100%,1100px);aspect-ratio:1.9/1;margin:0;flex:0 0 auto}
#fog-hero .video-hero__ground{position:absolute;z-index:0;top:72%;left:calc(50% - 50vw);width:100vw;height:100svh;background:var(--vh-light);pointer-events:none}
#fog-hero .video-hero__device{position:absolute;height:auto;max-width:none;object-fit:contain;transform-origin:50% 80%;filter:drop-shadow(0 16px 22px rgba(0,0,0,.14))}
#fog-hero .video-hero__device--laptop{z-index:1;left:10%;bottom:3%;width:80%}
#fog-hero .video-hero__device--tracker{z-index:2;left:0;bottom:3%;width:19%}
#fog-hero .video-hero__device--phone{z-index:3;right:0;bottom:0;width:19%}
#fog-hero .video-hero__footer{display:none}
#fog-hero .video-hero__progress{display:none}
#fog-hero .video-hero__retry{display:none}
/* In static mode the ground fills the rest of the stage so it meets the light section below. */
html:not(.fog-boot) #fog-hero:not(.is-scroll-video) .video-hero__final{padding-bottom:0}
html:not(.fog-boot) #fog-hero:not(.is-scroll-video) .video-hero__final::after{content:"";display:block;height:40px;margin:0 calc(-1 * clamp(20px,4vw,64px));background:var(--vh-light)}

/* ---- Scroll-controlled mode (class added by the script after it initialises) ---- */
#fog-hero.is-scroll-video .video-hero__stage,.fog-boot #fog-hero .video-hero__stage{height:calc(100vh - var(--vh-header));height:calc(100svh - var(--vh-header));min-height:0}
#fog-hero.is-scroll-video .video-hero__body,.fog-boot #fog-hero .video-hero__body{position:absolute;inset:0;max-width:none;display:grid;grid-template-rows:auto minmax(0,1fr);gap:20px;padding:32px 40px 96px}
#fog-hero.is-scroll-video .video-hero__eyebrow,.fog-boot #fog-hero .video-hero__eyebrow{margin:0}
/* Row 1 = chip, row 2 = captions (an empty row 1 collapses if the chip is removed). The html prefix outranks an older one-row rule in the footer code. */
html #fog-hero.is-scroll-video .video-hero__body,html.fog-boot #fog-hero .video-hero__body{grid-template-rows:auto minmax(0,1fr)}
#fog-hero.is-scroll-video .video-hero__captions,.fog-boot #fog-hero .video-hero__captions{grid-row:2;position:relative;display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr);place-items:center;gap:0;width:100%;min-height:0}
#fog-hero.is-scroll-video .video-hero__captions>.video-hero__caption,.fog-boot #fog-hero .video-hero__captions>.video-hero__caption,#fog-hero.is-scroll-video .video-hero__list,.fog-boot #fog-hero .video-hero__list{grid-area:1/1}
#fog-hero.is-scroll-video .video-hero__caption,.fog-boot #fog-hero .video-hero__caption{width:100%;max-width:25ch;font-size:clamp(2rem,min(4.6vw,6.6svh),4.25rem);line-height:1.1;opacity:0;will-change:transform,opacity;text-shadow:0 2px 24px rgba(0,16,11,.27)}
#fog-hero.is-scroll-video .video-hero__caption--title,.fog-boot #fog-hero .video-hero__caption--title{max-width:21ch;font-size:clamp(2.8rem,min(6.5vw,9svh),6.3rem);line-height:1.03}
#fog-hero.is-scroll-video .video-hero__caption--row,.fog-boot #fog-hero .video-hero__caption--row{max-width:100%;font-size:clamp(1.125rem,min(3vw,4.2svh),2.5rem);line-height:1.3}
#fog-hero.is-scroll-video .video-hero__caption--two-lines,.fog-boot #fog-hero .video-hero__caption--two-lines{max-width:100%;font-size:clamp(1rem,min(5.2vw,6.6svh),4rem)}
#fog-hero.is-scroll-video .video-hero__finish,.fog-boot #fog-hero .video-hero__finish{display:block;opacity:0;will-change:opacity}
#fog-hero.is-scroll-video .video-hero__final,.fog-boot #fog-hero .video-hero__final{position:absolute;inset:0;display:flex;align-items:center;padding:24px clamp(20px,4vw,64px) 0;background:none;pointer-events:none}
#fog-hero.is-scroll-video .video-hero__final::after,.fog-boot #fog-hero .video-hero__final::after{content:none}
#fog-hero.is-scroll-video .video-hero__caption--final,.fog-boot #fog-hero .video-hero__caption--final{max-width:21ch;font-size:clamp(2.25rem,min(5.4vw,7.5svh),4.75rem);line-height:1.04;text-shadow:none}
#fog-hero.is-scroll-video .video-hero__devices,.fog-boot #fog-hero .video-hero__devices{width:min(100%,1100px,calc((100svh - var(--vh-header) - 220px) * 1.9))}
#fog-hero.is-scroll-video .video-hero__device,.fog-boot #fog-hero .video-hero__device,#fog-hero.is-scroll-video .video-hero__ground,.fog-boot #fog-hero .video-hero__ground{opacity:0;will-change:transform,opacity}
#fog-hero.is-scroll-video .video-hero__footer,.fog-boot #fog-hero .video-hero__footer{display:flex;align-items:center;justify-content:space-between;gap:20px;position:absolute;z-index:3;left:0;right:0;bottom:20px;padding:0 40px;font-size:.875rem;line-height:1.5;color:#e1ede7}
#fog-hero .video-hero__scroll,#fog-hero .video-hero__skip{display:inline-flex;align-items:center;gap:14px}
#fog-hero .video-hero__skip{min-height:44px;flex-shrink:0;color:inherit;text-decoration:underline;text-decoration-color:rgba(255,255,255,.4);text-underline-offset:5px}
#fog-hero .video-hero__skip:hover{color:var(--vh-mint);text-decoration-color:var(--vh-mint)}
#fog-hero .video-hero__loading{display:none;align-items:center;flex-wrap:wrap;gap:4px 12px;min-width:0}
#fog-hero[data-video-state="loading"] .video-hero__loading,#fog-hero[data-video-state="error"] .video-hero__loading{display:inline-flex}
#fog-hero[data-video-state="loading"] .video-hero__scroll,#fog-hero[data-video-state="error"] .video-hero__scroll{display:none}
#fog-hero[data-video-state="error"] .video-hero__retry{display:inline-block}
#fog-hero .video-hero__retry{padding:8px 0;border:0;background:none;color:inherit;font:inherit;text-decoration:underline;text-underline-offset:4px;cursor:pointer}
#fog-hero.is-scroll-video .video-hero__progress,.fog-boot #fog-hero .video-hero__progress{display:block;position:absolute;left:0;right:0;bottom:0;height:2px;background:rgba(255,255,255,.125);pointer-events:none}
#fog-hero .video-hero__progress-bar{display:block;height:100%;background:var(--vh-mint);transform-origin:0 50%;transform:scaleX(0)}
/* Compact mode: used when enlarged text would not fit at the normal size. */
#fog-hero.is-scroll-video.is-compact .video-hero__body,.fog-boot #fog-hero.is-compact .video-hero__body{padding-top:12px;padding-bottom:82px;gap:10px}
#fog-hero.is-scroll-video.is-compact .video-hero__caption,.fog-boot #fog-hero.is-compact .video-hero__caption{font-size:clamp(1.5rem,min(4vw,5svh),3rem)}
#fog-hero.is-scroll-video.is-compact .video-hero__caption--title,.fog-boot #fog-hero.is-compact .video-hero__caption--title{font-size:clamp(2rem,min(5vw,7svh),4.5rem)}
#fog-hero.is-scroll-video.is-compact .video-hero__caption--row,.fog-boot #fog-hero.is-compact .video-hero__caption--row{font-size:clamp(1rem,min(2.6vw,3.6svh),2rem)}

@media (max-width:700px){
  #fog-hero .video-hero__body{padding-left:20px;padding-right:20px}
  #fog-hero.is-scroll-video .video-hero__body,.fog-boot #fog-hero .video-hero__body{padding:24px 20px 96px;gap:18px}
  #fog-hero.is-scroll-video .video-hero__caption,.fog-boot #fog-hero .video-hero__caption{max-width:24ch;font-size:clamp(1.7rem,min(6.8vw,5.5svh),2.5rem);line-height:1.15;letter-spacing:-.02em}
  #fog-hero.is-scroll-video .video-hero__caption--title,.fog-boot #fog-hero .video-hero__caption--title{font-size:clamp(2.5rem,min(10.5vw,8svh),4rem);line-height:1.07}
  #fog-hero.is-scroll-video .video-hero__caption--row,.fog-boot #fog-hero .video-hero__caption--row{font-size:clamp(1.125rem,min(5vw,4svh),1.6rem)}
  #fog-hero.is-scroll-video .video-hero__caption--final,.fog-boot #fog-hero .video-hero__caption--final{font-size:clamp(2rem,min(9vw,7.5svh),3.5rem);line-height:1.07}
  #fog-hero.is-scroll-video .video-hero__footer,.fog-boot #fog-hero .video-hero__footer{padding:0 20px;bottom:16px}
  #fog-hero .video-hero__device{filter:drop-shadow(0 8px 12px rgba(0,0,0,.14))}
  #fog-hero .video-hero__device--tracker,#fog-hero .video-hero__device--phone{width:20%}
}
/* ---- First paint (classes set by the head script above) ----
   .fog-boot: scroll-mode start state before the hero script runs; removed once it takes over.
   .fog-intro: soft entrance for the opening title and footer on page load. */
.fog-boot #fog-hero .video-hero__caption[data-hero-chapter="0"]{opacity:1}
@keyframes fog-intro{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:none}}
@keyframes fog-intro-fade{from{opacity:0}to{opacity:1}}
.fog-intro #fog-hero .video-hero__body{animation:fog-intro .9s cubic-bezier(.22,.61,.36,1) .1s backwards}
.fog-intro #fog-hero .video-hero__footer{animation:fog-intro-fade .6s ease-out .6s backwards}

/* "Total clarity" backdrop: tactical HUD grid, scan sweep, status markers and a focus frame on the headline.
   Decorative only (pointer-events:none, pseudo-elements). Runs in scroll mode while .vh-clear is on the hero;
   .vh-clear is toggled by the small script below when the black backdrop has faded in. Ribbiot green only. */
#fog-hero{--vh-grid:56px;--vh-g:70,239,176}
#fog-hero.is-scroll-video .video-hero__finish{background:radial-gradient(55% 42% at 50% 26%,rgba(var(--vh-g),.075),transparent 72%),var(--vh-black)}
#fog-hero.is-scroll-video .video-hero__finish::before,#fog-hero.is-scroll-video .video-hero__finish::after{content:"";position:absolute;pointer-events:none;opacity:0}
#fog-hero.is-scroll-video .video-hero__finish::before{inset:0;background-image:linear-gradient(90deg,rgba(var(--vh-g),.1) 1px,transparent 1px),linear-gradient(180deg,rgba(var(--vh-g),.1) 1px,transparent 1px);background-size:var(--vh-grid) var(--vh-grid);background-position:calc(50% + var(--vh-grid) / 2) 0;-webkit-mask-image:radial-gradient(70% 62% at 50% 34%,#000 15%,transparent 78%);mask-image:radial-gradient(70% 62% at 50% 34%,#000 15%,transparent 78%)}
#fog-hero.is-scroll-video .video-hero__finish::after{left:0;right:0;top:0;height:100%;transform:translateY(-100%);border-bottom:1px solid rgba(var(--vh-g),.55);background:linear-gradient(180deg,transparent 72%,rgba(var(--vh-g),.025) 88%,rgba(var(--vh-g),.1));-webkit-mask-image:linear-gradient(90deg,transparent,#000 22%,#000 78%,transparent);mask-image:linear-gradient(90deg,transparent,#000 22%,#000 78%,transparent)}
#fog-hero.vh-clear.is-scroll-video .video-hero__finish::before{animation:vh-grid-in 1.4s cubic-bezier(.22,.61,.36,1) forwards,vh-breathe 7s ease-in-out 1.4s infinite}
#fog-hero.vh-clear.is-scroll-video .video-hero__finish::after{animation:vh-scan 8s cubic-bezier(.45,0,.4,1) .1s infinite}
@keyframes vh-grid-in{from{opacity:0;transform:scale(1.035)}to{opacity:1;transform:none}}
@keyframes vh-breathe{0%,100%{opacity:1}50%{opacity:.55}}
@keyframes vh-scan{0%{transform:translateY(-100%);opacity:0}6%{opacity:1}34%{opacity:.85}48%{transform:translateY(0);opacity:0}100%{transform:translateY(0);opacity:0}}
/* Status markers on grid intersections, two sets pulsing out of phase. Same box and grid origin as the backdrop. */
html #fog-hero.vh-clear.is-scroll-video .video-hero__final::before,html #fog-hero.vh-clear.is-scroll-video .video-hero__final::after{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;opacity:0;background-repeat:no-repeat;background-size:5px 5px;--m:linear-gradient(rgba(var(--vh-g),.9),rgba(var(--vh-g),.9));animation:vh-mark 3.2s ease-in-out .9s infinite}
html #fog-hero.vh-clear.is-scroll-video .video-hero__final::before{background-image:var(--m),var(--m),var(--m);background-position:calc(50% - var(--vh-grid) * 11 + 2.5px) calc(var(--vh-grid) * 3 - 2px),calc(50% - var(--vh-grid) * 7 + 2.5px) calc(var(--vh-grid) * 2 - 2px),calc(50% + var(--vh-grid) * 10 + 2.5px) calc(var(--vh-grid) * 5 - 2px)}
html #fog-hero.vh-clear.is-scroll-video .video-hero__final::after{background-image:var(--m),var(--m),var(--m);background-position:calc(50% - var(--vh-grid) * 9 + 2.5px) calc(var(--vh-grid) * 5 - 2px),calc(50% + var(--vh-grid) * 7 + 2.5px) calc(var(--vh-grid) * 3 - 2px),calc(50% + var(--vh-grid) * 11 + 2.5px) calc(var(--vh-grid) * 2 - 2px);animation-delay:2.5s}
@keyframes vh-mark{0%,100%{opacity:.15}50%{opacity:.85}}
/* Focus frame: four corner brackets lock onto the headline. */
#fog-hero.is-scroll-video .video-hero__caption--final{width:fit-content}
#fog-hero.vh-clear.is-scroll-video .video-hero__caption--final::before{content:"";position:absolute;inset:-14px -26px;pointer-events:none;opacity:0;--b:rgba(var(--vh-g),.75);background:linear-gradient(var(--b),var(--b)) 0 0/16px 1px,linear-gradient(var(--b),var(--b)) 0 0/1px 16px,linear-gradient(var(--b),var(--b)) 100% 0/16px 1px,linear-gradient(var(--b),var(--b)) 100% 0/1px 16px,linear-gradient(var(--b),var(--b)) 0 100%/16px 1px,linear-gradient(var(--b),var(--b)) 0 100%/1px 16px,linear-gradient(var(--b),var(--b)) 100% 100%/16px 1px,linear-gradient(var(--b),var(--b)) 100% 100%/1px 16px;background-repeat:no-repeat;animation:vh-lock .9s cubic-bezier(.22,.61,.36,1) .35s forwards}
@keyframes vh-lock{from{opacity:0;transform:scale(1.12)}60%{opacity:1}to{opacity:1;transform:none}}
@media (max-width:700px){
  #fog-hero{--vh-grid:40px}
  html #fog-hero.vh-clear.is-scroll-video .video-hero__final::before,html #fog-hero.vh-clear.is-scroll-video .video-hero__final::after{content:none}
  #fog-hero.vh-clear.is-scroll-video .video-hero__caption--final::before{inset:-10px -14px}
}
@media (prefers-reduced-motion:reduce){
  #fog-hero.vh-clear .video-hero__finish::before,#fog-hero.vh-clear .video-hero__caption--final::before{animation:none;opacity:1;transform:none}
  #fog-hero.vh-clear .video-hero__finish::after,#fog-hero.vh-clear .video-hero__final::before,#fog-hero.vh-clear .video-hero__final::after{animation:none;opacity:0}
}
@media (prefers-reduced-motion:reduce){
  #fog-hero .video-hero__video{display:none}
  .fog-intro #fog-hero .video-hero__body,.fog-intro #fog-hero .video-hero__footer{animation:none}
  #fog-hero .video-hero__caption,#fog-hero .video-hero__device,#fog-hero .video-hero__ground{will-change:auto}
}


/* This embed sits ABOVE the hero on purpose: its rules must be in place before the hero first paints. */

/* First-load fix: until the hero animation has mounted (html.fog-boot), keep the end-scene extras hidden.
   Otherwise the subheading and the dashboard's green frame/fade flash over the opening frame for a moment. */
html.fog-boot #fog-hero .vh-final-sub,
html.fog-boot #fog-hero .vh-ui-frame,
html.fog-boot #fog-hero .vh-ui-fade,
html.fog-boot #fog-hero .vh-ui-scan,
html.fog-boot #fog-hero .vh-ui-pins{opacity:0!important;visibility:hidden!important}

/* End scene "One platform. Total clarity.": larger platform image (up to 1360px wide instead of 1100px).
   Still capped by screen height so the headline, subheading and image always fit; the video shrink and the pins
   follow the image automatically. Phones (700px and below) keep their own sizing. */
@media (min-width:701px){
html body #fog-hero .video-hero__final-content{max-width:1360px}
html body #fog-hero.vh-ui-mode .video-hero__devices{max-width:none;width:min(100%,1360px)}
html body #fog-hero.vh-ui-mode.is-scroll-video .video-hero__devices,html.fog-boot body #fog-hero.vh-ui-mode .video-hero__devices{max-width:none;width:min(100%,1360px,calc((100svh - 207px - 1.02 * var(--vh-hfs)) * 2.109))}
/* map pins in the right-hand panel: bigger markers, icons and labels so they fill the panel better */
html body #fog-hero .vh-pin{--pd:40px;gap:9px}
html body #fog-hero .vh-pin__mark svg.vh-pin__ico{width:16px;height:16px}
html body #fog-hero .vh-pin__lock{inset:-7px}
html body #fog-hero .vh-pin__tag{font-size:clamp(9px,.72vw,12px);padding:6px 9px 5px;letter-spacing:.08em}
/* "Foreman checked in" sits right at the panel's left edge: nudge it in so its marker isn't cut off */
html body #fog-hero .vh-ui-pins .vh-pin:nth-child(2){margin-left:26px}
}

/* Hero title "Remove the fog of operations": centre the headline itself on the screen.
   The eyebrow sits above it without pushing it down, and the offset makes up for the hero's uneven top/bottom padding. */
html #fog-hero #hero-title{position:relative;top:-14px}
html #fog-hero #hero-title .sub-title-wrapper{position:absolute;left:50%;bottom:100%;transform:translateX(-50%);margin:0 0 24px;white-space:nowrap}
@media (max-width:700px){html #fog-hero #hero-title{top:-9px}}

/* Hero subheading: "people", "processes" and "equipment" as green outlined tags, in the style of the map pin labels.
   Kept inline so the subheading keeps its original height and the end scene (and its pins) lays out exactly as before. */
html #fog-hero .vh-final-sub b{display:inline;margin:0 .1em;padding:.12em .45em .06em;white-space:nowrap;
  font-weight:600;color:#46efb0;text-shadow:0 0 6px rgba(70,239,176,.4);
  border:1px solid rgba(70,239,176,.35);box-shadow:0 0 14px rgba(70,239,176,.1);
  background:
    linear-gradient(#46efb0,#46efb0) 0 0/6px 1px,linear-gradient(#46efb0,#46efb0) 0 0/1px 6px,
    linear-gradient(#46efb0,#46efb0) 100% 0/6px 1px,linear-gradient(#46efb0,#46efb0) 100% 0/1px 6px,
    linear-gradient(#46efb0,#46efb0) 0 100%/6px 1px,linear-gradient(#46efb0,#46efb0) 0 100%/1px 6px,
    linear-gradient(#46efb0,#46efb0) 100% 100%/6px 1px,linear-gradient(#46efb0,#46efb0) 100% 100%/1px 6px,
    rgba(70,239,176,.1);
  background-repeat:no-repeat;background-origin:border-box;background-clip:border-box;-webkit-box-decoration-break:clone;box-decoration-break:clone}


/* ===== Hero end scene: the field lands in the right panel of the platform UI, a scan line wipes the fog away =====
   The UI image (same one as on ribbiot.com) replaces the laptop/tracker/phone; its dashboard part becomes the hero's
   "laptop" layer, so the existing timeline fades it in, and the shrink targets the right-hand panel.
   The clear site frame sits inside the video layer, so it shrinks with the video and lines up with it exactly. */
#fog-hero.vh-ui-mode .video-hero__device:not(.vh-ui),#fog-hero.vh-ui-mode .video-hero__ground{display:none}
html #fog-hero.vh-ui-mode .video-hero__devices{aspect-ratio:2320/1100;width:min(100%,1180px);overflow:hidden;border-radius:13px 13px 0 0}
html #fog-hero.vh-ui-mode.is-scroll-video .video-hero__devices,html.fog-boot #fog-hero.vh-ui-mode .video-hero__devices{width:min(100%,1180px,calc((100svh - 4.5rem - 220px) * 2.109))}
#fog-hero .video-hero__devices .vh-ui{position:absolute;left:0;top:0;bottom:auto;width:100%;height:100%;max-width:none;object-fit:cover;filter:none;transform-origin:50% 50%}
/* dashboard + the black strip above the panel; the panel itself stays open for the video */
#fog-hero .video-hero__devices .vh-ui--dash{z-index:1;clip-path:polygon(0 0,100% 0,100% 3.09%,56.34% 3.09%,56.34% 100%,0 100%)}
/* clear frame inside the video layer: revealed left to right by the script (scroll mode only) */
#fog-hero .vh-clear-site{position:absolute;left:0;top:0;width:100%;height:100%;max-width:none;z-index:2;clip-path:inset(0 100% 0 0);pointer-events:none}
#fog-hero:not(.is-scroll-video) .vh-clear-site{display:none}
/* without the scroll animation (reduced motion, short screens) the clear frame simply fills the panel */
#fog-hero .vh-ui-panel{position:absolute;z-index:2;left:56.34%;top:3.09%;right:0;bottom:0;border-radius:10px 0 0 0;background:#0b1410 center/cover no-repeat}
#fog-hero.is-scroll-video .vh-ui-panel,.fog-boot #fog-hero .vh-ui-panel{display:none}
/* thin green edge on the top and sides, then the black fade at the bottom, as on ribbiot.com */
#fog-hero .vh-ui-frame{position:absolute;inset:0;z-index:6;border-radius:inherit;pointer-events:none;opacity:var(--vh-f,1);box-shadow:inset 0 0 0 1px rgba(70,239,176,.28);
  -webkit-mask-image:linear-gradient(#000 45%,transparent 85%);mask-image:linear-gradient(#000 45%,transparent 85%)}
#fog-hero .vh-ui-fade{position:absolute;inset:0;z-index:5;pointer-events:none;opacity:var(--vh-f,1);background:linear-gradient(rgba(8,11,10,0) 62%,#080b0a)}
#fog-hero .vh-ui-scan{position:absolute;z-index:3;top:3.09%;bottom:0;left:calc(56.34% + var(--vh-w,1) * 43.66%);width:2px;margin-left:-1px;pointer-events:none;opacity:var(--vh-s,0);
  background:#9dffd9;box-shadow:0 0 10px 2px rgba(70,239,176,.8),0 0 42px 10px rgba(70,239,176,.28)}
#fog-hero .vh-ui-scan::before{content:"";position:absolute;top:0;bottom:0;right:2px;width:min(90px,8vw);background:linear-gradient(90deg,rgba(70,239,176,0),rgba(70,239,176,.18))}
/* ---- pins: people, processes, equipment (diamond markers, as in the ribbiot-test hero, with a running perimeter and a lock-on) ---- */
#fog-hero .vh-ui-pins{position:absolute;left:56.34%;top:3.09%;right:0;bottom:0;z-index:4;pointer-events:none;overflow:hidden;border-radius:10px 0 0 0}
/* pins only exist on the cleared side: the layer is cut at the scan line */
#fog-hero .vh-ui-pins{clip-path:inset(0 calc((1 - var(--vh-w,1)) * 100%) 0 0)}
#fog-hero .vh-pin{--pd:30px;position:absolute;left:0;top:0;display:flex;align-items:center;gap:7px;transform:translate(calc(var(--pd) / -2),-50%);opacity:0;visibility:hidden;color:#c7d9cd;white-space:nowrap;
  margin:0;padding:0;border:0;background:none;font:inherit;cursor:pointer;pointer-events:none;-webkit-tap-highlight-color:transparent}
/* pins are on the map as soon as the scan line starts; each one locks on when the line passes it */
#fog-hero .vh-pin{transition:opacity .35s ease}
#fog-hero .video-hero__devices.is-pins .vh-pin{visibility:visible;opacity:.55}
#fog-hero .video-hero__devices.is-pins .vh-pin.is-hit{opacity:1}
#fog-hero .video-hero__devices.is-live .vh-pin{pointer-events:auto}
#fog-hero .vh-pin::after{content:"";position:absolute;inset:-8px}
#fog-hero .vh-pin:hover .vh-pin__dia,#fog-hero .vh-pin.is-open .vh-pin__dia{background:#264d3a;box-shadow:0 0 0 6px rgba(70,239,176,.09)}
#fog-hero .vh-pin.is-open .vh-pin__dia{background:#46efb0}#fog-hero .vh-pin.is-open svg.vh-pin__ico{stroke:#102218}
#fog-hero .vh-pin:hover .vh-pin__tag,#fog-hero .vh-pin.is-open .vh-pin__tag{border-color:rgba(70,239,176,.5);color:#46efb0}
#fog-hero .vh-pin:focus-visible{outline:2px solid #46efb0;outline-offset:4px}
#fog-hero .vh-pin.is-flip{flex-direction:row-reverse;transform:translate(calc(var(--pd) / 2 - 100%),-50%)}
#fog-hero .vh-pin.is-out{display:none}
#fog-hero .vh-pin__mark{position:relative;flex:0 0 auto;width:var(--pd);height:var(--pd);display:grid;place-items:center}
#fog-hero .vh-pin__dia{position:absolute;inset:0;transform:rotate(45deg) scale(.82);background:rgba(17,30,23,.78);border:1px solid rgba(70,239,176,.49);box-shadow:0 0 0 0 rgba(70,239,176,0)}
#fog-hero .vh-pin__orbit{position:absolute;inset:-1px;width:calc(100% + 2px);height:calc(100% + 2px);transform:rotate(45deg) scale(.82);overflow:visible}
#fog-hero .vh-pin__orbit rect{fill:none;stroke:#46efb0;stroke-width:1.5;stroke-linecap:round;stroke-dasharray:18 82;opacity:0;filter:drop-shadow(0 0 2px rgba(70,239,176,.6))}
#fog-hero .vh-pin.is-hit .vh-pin__orbit rect{opacity:1;animation:vh-pin-orbit 2.8s linear .5s infinite}
#fog-hero .vh-pin__mark svg.vh-pin__ico{position:relative;width:12px;height:12px;fill:none;stroke:#46efb0;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
/* lock-on brackets that close in on the marker as it appears */
#fog-hero .vh-pin__lock{position:absolute;inset:-6px;opacity:0;
  background:linear-gradient(#46efb0,#46efb0) 0 0/6px 1px,linear-gradient(#46efb0,#46efb0) 0 0/1px 6px,linear-gradient(#46efb0,#46efb0) 100% 0/6px 1px,linear-gradient(#46efb0,#46efb0) 100% 0/1px 6px,
    linear-gradient(#46efb0,#46efb0) 0 100%/6px 1px,linear-gradient(#46efb0,#46efb0) 0 100%/1px 6px,linear-gradient(#46efb0,#46efb0) 100% 100%/6px 1px,linear-gradient(#46efb0,#46efb0) 100% 100%/1px 6px;background-repeat:no-repeat}
#fog-hero .vh-pin.is-hit .vh-pin__lock{animation:vh-pin-lock .9s cubic-bezier(.2,.8,.2,1) forwards}
#fog-hero .vh-pin__tag{font-family:Ocram,"OCR A Std",ui-monospace,monospace;font-size:clamp(7px,.6vw,8.5px);letter-spacing:.07em;text-transform:uppercase;line-height:1.3;padding:4px 6px 3px;background:rgba(12,23,19,.78);border:1px solid rgba(113,149,129,.18);color:#c7d9cd}
#fog-hero .vh-pin__tag{color:#46efb0;text-shadow:0 0 6px rgba(70,239,176,.4);transition:border-color .2s,color .2s}
/* headline: all white; one row and larger from tablet up. Pure CSS (no script): the size and the image width are
   worked out together, so the end scene still fits the screen and the hero keeps its scroll animation. */
html #fog-hero .video-hero__caption--final .video-hero__accent{color:inherit!important;text-shadow:none!important}
/* same type style as "One job. Two ways to run it." (size, line height, letter spacing), in white */
html #fog-hero .video-hero__caption--final{letter-spacing:-.025em!important}
@media (max-width:700px){html #fog-hero .video-hero__caption--final{font-size:2rem!important;line-height:1.02!important}}
@media (min-width:701px){
  #fog-hero{--vh-hfs:clamp(2rem,4.2vw,3.6rem)}
  html #fog-hero .video-hero__caption--final{font-size:var(--vh-hfs)!important;line-height:1.02!important;max-width:none!important;white-space:nowrap}
  html #fog-hero .video-hero__caption--final .video-hero__line{display:inline;margin-left:.28em}
  html #fog-hero.vh-ui-mode.is-scroll-video .video-hero__devices,html.fog-boot #fog-hero.vh-ui-mode .video-hero__devices{width:min(100%,1180px,calc((100svh - 4.5rem - 1.02 * var(--vh-hfs) - 140px) * 2.109))}
}
/* subheading under "One platform. Total clarity." (fades and moves with the headline) */
#fog-hero .vh-final-sub{margin:-1.1rem auto 1.4rem;max-width:42rem;text-align:center;font-size:clamp(.95rem,1.35vw,1.2rem);line-height:1.45;color:#b3c4b9;letter-spacing:.005em}
#fog-hero .vh-final-sub b{font-weight:600;color:#46efb0}
@media (max-width:700px){#fog-hero .vh-final-sub{margin:-.5rem auto 1rem;padding:0 1rem;font-size:.95rem}}
/* no corner brackets around "One platform. Total clarity." (they come from the page head's HUD styles) */
html #fog-hero .video-hero__caption--final::before{content:none!important;display:none!important}
/* ---- "Total clarity" backdrop: the same CRT monitor look as the scrolling captions above (scanlines, green-tinted
   vignette, snow), plus a slow refresh band and a faint flicker, instead of the grid. ---- */
html #fog-hero.is-scroll-video .video-hero__finish::before{display:none!important}
html #fog-hero.is-scroll-video .video-hero__finish{background:radial-gradient(55% 42% at 50% 26%,rgba(70,239,176,.03),transparent 72%),#050706!important}
html #fog-hero.is-scroll-video .video-hero__finish::after{border-bottom-color:rgba(70,239,176,.22)!important;background:linear-gradient(180deg,transparent 80%,rgba(70,239,176,.012) 92%,rgba(70,239,176,.04))!important}
html #fog-hero.vh-clear.is-scroll-video .video-hero__final::before,html #fog-hero.vh-clear.is-scroll-video .video-hero__final::after{content:none!important}
#fog-hero .vh-crt-bg{position:absolute;inset:0;overflow:hidden;pointer-events:none;opacity:0;transition:opacity 1s ease;
  background:repeating-linear-gradient(to bottom,rgba(255,255,255,.016) 0,rgba(255,255,255,.016) 1px,transparent 2px,transparent 4px),
    radial-gradient(ellipse at 50% 40%,rgba(60,210,155,.035) 0%,rgba(0,0,0,0) 50%,rgba(0,0,0,.75) 100%)}
#fog-hero.vh-clear.is-scroll-video .vh-crt-bg{opacity:1;animation:vh-crt-flicker 5s steps(1,end) infinite}
#fog-hero .vh-crt-bg::after{content:"";position:absolute;left:0;right:0;top:0;height:22%;transform:translateY(-100%);
  background:linear-gradient(180deg,rgba(70,239,176,0),rgba(70,239,176,.018) 60%,rgba(157,255,217,.03) 92%,rgba(70,239,176,0))}
#fog-hero.vh-clear.is-scroll-video .vh-crt-bg::after{animation:vh-crt-roll 7s linear infinite}
#fog-hero .vh-crt-bg canvas{position:absolute;inset:0;width:100%;height:100%;opacity:.55}
@keyframes vh-crt-roll{to{transform:translateY(560%)}}
@keyframes vh-crt-flicker{0%,100%{opacity:1}41%{opacity:.9}42%{opacity:1}73%{opacity:.95}74%{opacity:1}}
@media (prefers-reduced-motion:reduce){#fog-hero.vh-clear.is-scroll-video .vh-crt-bg,#fog-hero.vh-clear.is-scroll-video .vh-crt-bg::after{animation:none}#fog-hero .vh-crt-bg canvas{display:none}}
/* ---- bottom fade into the next section (#020303): sits above everything in the hero, covers the bottom of the screen ---- */
#fog-hero .vh-bottom-fade{position:absolute;left:0;right:0;bottom:0;height:28svh;z-index:9000;pointer-events:none;background:linear-gradient(to bottom,rgba(2,3,3,0) 0%,#020303 100%)}
/* in the scroll animation it comes in with the end scene, so the fog captions above it are not covered */
#fog-hero.is-scroll-video .vh-bottom-fade{opacity:0;transition:opacity .6s ease}
#fog-hero.is-scroll-video.vh-clear .vh-bottom-fade{opacity:1}
#fog-hero [data-hero-chapter="2"]{position:relative;z-index:1}
/* ---- details drawer (opens from the right when a pin is clicked) ---- */
.vh-drawer{position:fixed;inset:0;z-index:2147483000;pointer-events:none;visibility:hidden;transition:visibility 0s .45s}
.vh-drawer.is-open{pointer-events:auto;visibility:visible;transition:none}
.vh-drawer__dim{position:absolute;inset:0;background:rgba(3,6,5,.55);opacity:0;transition:opacity .35s}
.vh-drawer.is-open .vh-drawer__dim{opacity:1}
.vh-drawer__panel{position:absolute;top:0;right:0;bottom:0;width:min(420px,88vw);display:flex;flex-direction:column;gap:22px;padding:28px 28px 32px;box-sizing:border-box;overflow:auto;
  background:linear-gradient(180deg,rgba(13,26,20,.97),rgba(8,11,10,.98));border-left:1px solid rgba(70,239,176,.35);box-shadow:-30px 0 80px rgba(0,0,0,.6);color:#c7d9cd;
  transform:translateX(104%);transition:transform .45s cubic-bezier(.2,.8,.2,1);font-family:inherit}
.vh-drawer.is-open .vh-drawer__panel{transform:none}
.vh-drawer__panel::before{content:"";position:absolute;inset:0;pointer-events:none;background:repeating-linear-gradient(to bottom,rgba(255,255,255,.025) 0 1px,transparent 2px 4px)}
.vh-drawer__panel{will-change:transform;backface-visibility:hidden}
/* content settles in softly once the panel has arrived (no sweep line over the text) */
.vh-drawer__panel>*{opacity:0;transform:translateY(6px);transition:opacity .3s ease,transform .3s ease}
.vh-drawer.is-open .vh-drawer__panel>*{opacity:1;transform:none;transition-delay:.18s}
.vh-drawer.is-open .vh-drawer__panel.is-swap>*{opacity:0;transform:translateY(6px);transition:none}
.vh-drawer__top{display:flex;align-items:center;justify-content:space-between;gap:12px;font-family:Ocram,"OCR A Std",ui-monospace,monospace;font-size:11px;letter-spacing:.1em;text-transform:uppercase;color:rgba(199,217,205,.6)}
.vh-drawer__eyebrow{display:flex;align-items:center;gap:10px}
.vh-drawer__eyebrow::before{content:"";width:9px;height:9px;transform:rotate(45deg);border:1px solid #46efb0;background:rgba(70,239,176,.25)}
.vh-drawer__close{display:grid;place-items:center;width:34px;height:34px;margin:-6px -6px 0 0;border:1px solid rgba(113,149,129,.3);background:rgba(12,23,19,.8);color:#c7d9cd;cursor:pointer;padding:0}
.vh-drawer__close:hover{border-color:#46efb0;color:#46efb0}.vh-drawer__close:focus-visible{outline:2px solid #46efb0;outline-offset:2px}
.vh-drawer__close svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
.vh-drawer__status{display:inline-flex;align-items:center;gap:8px;align-self:flex-start;padding:5px 9px 4px;border:1px solid rgba(70,239,176,.4);background:rgba(70,239,176,.08);color:#46efb0;font-family:Ocram,"OCR A Std",ui-monospace,monospace;font-size:11px;letter-spacing:.1em;text-transform:uppercase}
.vh-drawer__status::before{content:"";width:6px;height:6px;border-radius:50%;background:#46efb0;box-shadow:0 0 8px #46efb0;animation:vh-drawer-blink 1.6s steps(2,end) infinite}
.vh-drawer__title{margin:0;color:#f3f6f4;font-size:clamp(1.6rem,2.4vw,2.1rem);line-height:1.1;font-weight:600;letter-spacing:-.01em}
.vh-drawer__text{margin:0;font-size:1rem;line-height:1.55;color:#b3c4b9}
.vh-drawer__list{list-style:none;margin:0;padding:0;display:grid;gap:0;border-top:1px solid rgba(113,149,129,.2)}
.vh-drawer__list li{display:flex;align-items:center;gap:12px;padding:13px 0;border-bottom:1px solid rgba(113,149,129,.2);font-size:.95rem;color:#dbe6df}
.vh-drawer__list li::before{content:"";flex:0 0 auto;width:7px;height:7px;transform:rotate(45deg);background:#46efb0;box-shadow:0 0 6px rgba(70,239,176,.6)}
.vh-drawer__foot{margin-top:auto;font-family:Ocram,"OCR A Std",ui-monospace,monospace;font-size:10px;letter-spacing:.1em;text-transform:uppercase;color:rgba(199,217,205,.4)}
@keyframes vh-drawer-blink{50%{opacity:.25}}
@media (prefers-reduced-motion:reduce){.vh-drawer__panel,.vh-drawer__dim,.vh-drawer__panel>*{transition:none}}
@keyframes vh-pin-lock{0%{opacity:0;transform:scale(1.35)}50%{opacity:.45}100%{opacity:.3;transform:scale(1)}}
@keyframes vh-pin-orbit{to{stroke-dashoffset:-100}}
@media (min-width:701px){#fog-hero .vh-pin--m{display:none!important}}
@media (max-width:700px){#fog-hero .vh-pin{--pd:16px}#fog-hero .vh-pin__tag{display:none}#fog-hero .vh-pin__mark svg.vh-pin__ico{width:8px;height:8px}#fog-hero .vh-pin__lock{inset:-5px}}
@media (prefers-reduced-motion:reduce){#fog-hero .vh-pin{transition:none}#fog-hero .vh-pin.is-hit .vh-pin__orbit rect{animation:none}#fog-hero .vh-pin.is-hit .vh-pin__lock{animation:none;opacity:.3}}


/* ===== Hero CRT: monitor overlay on the scroll video + Ocram/green captions with the decode glitch =====
   Applies to the story captions after the title (chapters 1-8); the title and "One platform. Total clarity." keep their style.
   The script below tags those captions with .vh-crt and adds the noise canvas to the video layer. */
#fog-hero .video-hero__media::after{content:"";position:absolute;inset:0;pointer-events:none;z-index:3;
  background:repeating-linear-gradient(to bottom,rgba(255,255,255,.03) 0,rgba(255,255,255,.03) 1px,transparent 2px,transparent 4px),
  radial-gradient(ellipse at center,rgba(60,210,155,.06) 0%,rgba(0,0,0,0) 55%,rgba(0,0,0,.55) 100%)}
#fog-hero .vh-crt-noise{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:4;opacity:.8}
html body #fog-hero .video-hero__captions .video-hero__caption.vh-crt{position:relative;font-family:Ocram,"OCR A Std","OCR A Extended","Courier New",monospace;font-weight:400;text-transform:uppercase;letter-spacing:.04em;
  color:#3cd29b;font-size:clamp(1.3rem,min(3vw,4.4svh),2.7rem);line-height:1.35;
  text-shadow:1px 0 rgba(255,70,120,.1),-1px 0 rgba(60,170,255,.1),0 0 2px rgba(60,210,155,.95),0 0 10px rgba(60,210,155,.75),0 0 24px rgba(60,210,155,.45),0 0 48px rgba(60,210,155,.25)}
html body #fog-hero .video-hero__captions .video-hero__caption.vh-crt.video-hero__caption--row{font-size:clamp(1rem,min(2.2vw,3.3svh),1.85rem)}
html body #fog-hero .video-hero__captions .video-hero__caption.vh-crt.video-hero__caption--two-lines{font-size:clamp(1rem,min(2.8vw,4.2svh),2.5rem)}
html body #fog-hero .video-hero__caption.vh-crt .video-hero__loss{color:#ff6b80;text-shadow:0 0 2px rgba(255,79,105,.95),0 0 10px rgba(255,79,105,.7),0 0 24px rgba(255,79,105,.4)}
html body #fog-hero .video-hero__caption.vh-crt .video-hero__accent{color:#9dffd9}
#fog-hero .video-hero__caption.vh-crt.vh-flick{animation:vh-crt-flick .45s steps(1,end) 1}
#fog-hero .vh-ghost{position:absolute;left:0;top:0;width:100%;height:100%;box-sizing:border-box;padding:inherit;pointer-events:none;mix-blend-mode:screen;clip-path:inset(0 0 100% 0)}
#fog-hero .vh-ghost0{color:#9dffd9;text-shadow:-2px 0 rgba(255,70,120,.55),0 0 8px rgba(60,210,155,.8)}
#fog-hero .vh-ghost1{color:#3cd29b;text-shadow:2px 0 rgba(60,170,255,.55),0 0 8px rgba(60,210,155,.8)}
#fog-hero .vh-ghost .w-embed{display:none}
@keyframes vh-crt-flick{0%{filter:brightness(.4) blur(1px)}20%{filter:brightness(2) blur(.5px)}40%{filter:brightness(.8)}60%{filter:brightness(1.3)}100%{filter:none}}
@media (prefers-reduced-motion:reduce){#fog-hero .vh-crt-noise{display:none}#fog-hero .video-hero__caption.vh-crt.vh-flick{animation:none}}


/* Hero end scene: the video sits above the black backdrop so it can shrink into the laptop screen. */
#fog-hero.is-scroll-video .video-hero__media{z-index:1;transform-origin:0 0;will-change:transform}

/* Story captions: cinematic lower-left placement, inset from the frame. */
html body #fog-hero.is-scroll-video .video-hero__captions > :is([data-hero-chapter="1"],[data-hero-chapter="2"],[data-hero-chapter="7"],[data-hero-chapter="8"],.video-hero__list),
html.fog-boot body #fog-hero .video-hero__captions > :is([data-hero-chapter="1"],[data-hero-chapter="2"],[data-hero-chapter="7"],[data-hero-chapter="8"],.video-hero__list){
  align-self:end;justify-self:start;text-align:left;text-wrap:pretty;
  max-width:30ch;margin:0 0 clamp(36px,7svh,80px);
}
html body #fog-hero.is-scroll-video .video-hero__captions > .video-hero__list,
html.fog-boot body #fog-hero .video-hero__captions > .video-hero__list{max-width:900px}
@media(max-width:700px){
  html body #fog-hero.is-scroll-video .video-hero__captions > :is([data-hero-chapter="1"],[data-hero-chapter="2"],[data-hero-chapter="7"],[data-hero-chapter="8"],.video-hero__list),
  html.fog-boot body #fog-hero .video-hero__captions > :is([data-hero-chapter="1"],[data-hero-chapter="2"],[data-hero-chapter="7"],[data-hero-chapter="8"],.video-hero__list){
    max-width:100%;margin-bottom:clamp(24px,6svh,48px);
  }
}

/* ---- Ribbiot Webflow build overrides (brief, Oct 2026) ----
   1. Narrative chapters 1-8 sit lower-left and left-aligned on the site container grid.
      The opening title and the final headline keep their centred composition. */
#fog-hero .video-hero__captions{max-width:80rem}
#fog-hero.is-scroll-video .video-hero__captions>.video-hero__caption:not(.video-hero__caption--title),
.fog-boot #fog-hero .video-hero__captions>.video-hero__caption:not(.video-hero__caption--title),
#fog-hero.is-scroll-video .video-hero__list,.fog-boot #fog-hero .video-hero__list{justify-self:start;align-self:end;text-align:left;max-width:min(56rem,100%);margin-bottom:clamp(1rem,7vh,4.5rem)}
#fog-hero .video-hero__list{justify-items:start}
#fog-hero .video-hero__list-item{text-align:left}
