/* Hero (before/after film), splash, showreel player + modal: rules extracted verbatim
   from the original home stylesheet by lab/editorial/extract_css.py. Do not hand-edit. */
:root{--bg:#0b0b0d;
    --text:#f2f2f2;
    --muted:#a0a0a0;
    --accent:#ffb54c;
    --card:#141418;
    --stroke:rgba(255,255,255,.15);
    --grid-stroke:rgba(255,255,255,.12);
    --font-heading:'SF Pro Display','SF Pro Text',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Helvetica,Arial,system-ui,sans-serif;
    --font-body:'SF Pro Text','SF Pro Display',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Helvetica,Arial,system-ui,sans-serif;
    --space-lg:96px;
    --space-md:64px;
    --r:14px;
    --ease:cubic-bezier(.22,.8,.2,1);
    --aurora-boost:0.4;
    --aurora-blur:64px;

    
    --seam-top:#0c1016;
    --seam-mid:#0b0b0d;
    --seam-bottom:#0c0f14;
    --seam-grad:linear-gradient(180deg,var(--seam-top) 0%,var(--seam-mid) 50%,var(--seam-bottom) 100%);

    --remote-top:var(--seam-mid);
    --remote-bottom:var(--seam-bottom);

    
    --gradeProgress:0;}
@property --knob-x{ syntax:'<length>'; initial-value:0px; inherits:false; }
@media (max-width: 768px){
.playerShell{margin-top:8px;}
}
.reveal{opacity:0; transform:translateY(18px); will-change:transform,opacity}
.reveal.is-visible{opacity:1; transform:none; transition:opacity .7s var(--ease),transform .7s var(--ease); transition-delay:var(--d,0ms)}
@media (prefers-reduced-motion:reduce){
.reveal,.reveal.is-visible{transition:none; transform:none; opacity:1}
}
.splash{position:fixed;
  inset:0;
  z-index:9999;
  display:grid;
  place-items:center;

  
  background:#000;

  
  backdrop-filter:none;

  
  opacity:1;
  pointer-events:auto;

  
  transition:opacity .65s var(--ease);}
.splash.is-visible{}
.splash.is-hidden{opacity:0;
  pointer-events:none;}
.splashInner{text-align:center;

  
  opacity:0;
  transform:translateY(6px);

  
  transition:opacity .30s var(--ease), transform .30s var(--ease);}
.splash.is-visible .splashInner{opacity:1;
  transform:none;}
.splashName{font-family:var(--font-heading);
  font-weight:800;
  letter-spacing:.14em;
  font-size:14px;
  text-transform:uppercase;
  color:#f2f2f2;}
.splashRole{margin-top:8px;
  font-size:11px;
  letter-spacing:.22em;
  text-transform:uppercase;
  color:rgba(255,255,255,.65);}
@media (max-width: 768px){
.ba .before,
  .ba .handle,
  .ba .ba-hint,
  .ba .gArrow{display:none !important;}
.ba .after{clip-path:none !important;}
#scrollHint{display:none !important;}
}
.mobileOnly{display:none;
  position:absolute;
  inset:0;
  overflow:hidden;
  z-index:4;}
.mobileVideo{position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  transform:translateZ(0);}
.mobileVideo--base{z-index:2;
  opacity:calc(1 - var(--gradeProgress,0));
  will-change:opacity;
  transition:opacity .2s linear;}
.mobileVideo--grade{z-index:1;}
.mobileGradePill{position:absolute;
  left:50%;
  bottom:74px;
  transform:translateX(-50%);
  z-index:13;
  pointer-events:none;
  font-size:12px;
  font-weight:650;
  letter-spacing:.06em;
  text-transform:uppercase;
  color:rgba(245,245,247,.95);
  padding:10px 16px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.24);
  background:rgba(10,10,12,.36);
  backdrop-filter:blur(10px);
  box-shadow:0 10px 40px rgba(0,0,0,.38);
  opacity:clamp(0, calc(1 - (var(--gradeProgress,0) * 5)), 1);
  transition:opacity .18s linear;}
.mobileGradeIndicator{position:absolute;
  left:50%;
  bottom:124px;
  transform:translateX(-50%);
  z-index:13;
  pointer-events:none;
  display:flex;
  flex-direction:row;
  align-items:center;
  gap:12px;
  --gradeLineInactiveOpacity:.40;
  --gradeLineActiveOpacity:.62;}
.mobileGradeIndicator__label{font-size:11px;
  font-weight:700;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:rgba(245,245,247,.92);
  text-shadow:0 6px 22px rgba(0,0,0,.45);}
.mobileGradeIndicator__label--left{opacity:calc(.35 + (1 - var(--gradeProgress,0)) * .65);}
.mobileGradeIndicator__label--right{opacity:calc(.35 + var(--gradeProgress,0) * .65);}
.mobileGradeIndicator__line{position:relative;
  width:160px;
  height:2px;
  border-radius:2px;}
.mobileGradeIndicator__line::before{content:"";
  position:absolute;
  inset:0;
  background:repeating-linear-gradient(
    to right,
    rgba(255,255,255,var(--gradeLineInactiveOpacity)) 0 7px,
    rgba(255,255,255,0) 7px 13px
  );
  opacity:.95;}
.mobileGradeIndicator__line::after{content:"";
  position:absolute;
  inset:0;
  background:repeating-linear-gradient(
    to right,
    rgba(255,255,255,var(--gradeLineActiveOpacity)) 0 7px,
    rgba(255,255,255,0) 7px 13px
  );
  clip-path:inset(0 calc((1 - var(--gradeProgress,0)) * 100%) 0 0);
  opacity:1;}
@media (prefers-reduced-motion:reduce){
.mobileVideo--base,
  .mobileGradePill{transition:none;}
.mobileGradePill{backdrop-filter:none;}
}
@media (max-width: 768px){
.mobileOnly{display:block;}
#heroAfterVideo, #heroBeforeVideo{display:none !important;}
}
.heroWrap{position:relative; height:100vh}
.hero{position:fixed; inset:0; overflow:hidden; background:#000; z-index:1; isolation:isolate}
.ba,.ba .after,.ba .before{position:absolute; inset:0}
.ba video{touch-action:pan-y;}
.ba,
  .ba .after,
  .ba .before,
  .ba .handle{touch-action:pan-y;}
.ba video{position:absolute; width:100%; height:100%; object-fit:cover;
    transform:translateZ(0);
    backface-visibility:hidden;}
.ba::after{content:"";
    position:absolute;
    inset:0;
    pointer-events:none;
    background:rgba(0,0,0,1);
    opacity:calc(var(--heroDim,0)*.88);
    transition:opacity .12s linear;}
.ba .before{clip-path:inset(0 50% 0 0)}
.handle{position:absolute; top:0; bottom:0; left:50%; width:2px;
    background:rgba(255,255,255,.6); border-radius:2px; box-shadow:0 0 0 1px rgba(0,0,0,.3);
    cursor:ew-resize; z-index:10; transform:translateX(-50%);
    user-select:none;
    -webkit-user-select:none;}
.knob{position:absolute; left:50%; top:50%;
    transform:translate(-50%,-50%) translateX(var(--knob-x));
    transition:--knob-x .35s ease;
    width:46px; height:46px; border-radius:50%; border:1px solid rgba(255,255,255,.6);
    background:rgba(10,10,12,.45); display:grid; place-items:center; backdrop-filter:blur(3px); cursor:ew-resize}
.knob,
  .knob *{user-select:none;
    -webkit-user-select:none;}
.ba .handle{opacity:calc(1 - var(--cover)); filter:blur(calc(var(--cover)*2.5px)); transition:opacity .18s ease,filter .18s ease}
.ba.isFaded .handle{opacity:0; filter:blur(4px); pointer-events:none}
.heroCover{position:absolute; inset:0; pointer-events:none; z-index:3;
    background:linear-gradient(180deg,rgba(11,11,13,0),rgba(11,11,13,.65) 50%,rgba(11,11,13,.9) 100%);
    opacity:var(--cover,0);
    transition:opacity .12s linear;}
.baLabels{position:absolute;
    top:14%;
    left:0;
    right:0;
    display:flex;
    justify-content:space-between;
    padding:0 5%;
    pointer-events:none;
    z-index:6;}
.baLabel{font-size:11px;
    letter-spacing:.4em;
    text-transform:uppercase;
    color:rgba(255,255,255,.85);
    background:rgba(0,0,0,.45);
    border:1px solid rgba(255,255,255,.35);
    border-radius:999px;
    padding:6px 14px;
    box-shadow:0 10px 30px rgba(0,0,0,.35);
    opacity:0;
    transition:opacity .32s ease;}
.baLabel.is-visible{opacity:.95;}
.baLabel--before{text-align:right;}
@media (max-width:768px){
.baLabels{display:none;}
}
.ba-hint{position:absolute; left:50%; top:calc(50% + 44px);
    transform:translate(-50%,0); z-index:11; pointer-events:none; white-space:nowrap;
    opacity:0; transition:opacity .75s ease;
    padding:.34rem .62rem; font-size:12px; font-weight:600; letter-spacing:.06em; text-transform:uppercase;
    color:#f5f5f7; background:rgba(10,10,12,.46); border:1px solid rgba(255,255,255,.35);
    border-radius:999px; box-shadow:0 6px 28px rgba(0,0,0,.38);}
.ba.hint-on .ba-hint{opacity:.95}
.gArrow{position:absolute; top:50%; transform:translateY(-50%); font-weight:800; font-size:18px; color:#fff; opacity:.85; text-shadow:0 0 10px rgba(0,0,0,.45); pointer-events:none}
.gArrow.left{left:10px}
.gArrow.right{right:10px}
@keyframes nudge-x{ 0%{--knob-x:0px} 50%{--knob-x:-16px} 100%{--knob-x:0px} }
@keyframes ghost{ 0%,100%{opacity:0} 50%{opacity:.85} }
.ba.hint-on .knob{animation:nudge-x 1.6s ease-in-out infinite}
.ba.hint-on .gArrow.left{animation:ghost 1.6s ease-in-out infinite}
.ba.hint-on .gArrow.right{animation:ghost 1.6s ease-in-out .2s infinite}
@media (prefers-reduced-motion:reduce){
.ba.hint-on .knob,.ba.hint-on .gArrow{animation:none}
}
@media (prefers-reduced-motion:reduce){
.hero::before,.hero::after{animation:none}
}
.scroll-hint{position:absolute; left:50%; bottom:18px; transform:translateX(-50%);
    z-index:12; width:44px; height:44px; border-radius:999px;
    border:1px solid rgba(255,255,255,.45); background:rgba(0,0,0,.45); backdrop-filter:blur(3px);
    display:grid; place-items:center;}
.scroll-hint .chev{display:block; width:14px; height:14px; position:relative; top:-3px}
.scroll-hint .chev::before,.scroll-hint .chev::after{content:""; position:absolute; left:50%; top:50%; width:10px; height:10px;
    transform:translate(-50%,-50%) rotate(45deg); transform-origin:50% 50%;
    border-right:2px solid #fff; border-bottom:2px solid #fff; opacity:.85;}
.scroll-hint .chev::after{top:calc(50% + 5px); opacity:.45; animation:chevDrop 1.6s ease-in-out infinite}
@keyframes chevDrop{
    0%{ transform:translate(-50%,calc(-50% - 4px)) rotate(45deg); opacity:.25 }
    50%{ transform:translate(-50%,calc(-50% + 2px)) rotate(45deg); opacity:1 }
    100%{ transform:translate(-50%,calc(-50% - 4px)) rotate(45deg); opacity:.25 }
  }
.videoModal{position:fixed;
  inset:0;
  background:rgba(0,0,0,.78);
  display:none;
  align-items:center;
  justify-content:center;
  padding:24px;
  z-index:80;}
.videoModal.is-open{display:flex;}
.modalBox{position:relative;
  width:min(100%,1100px);}
.modalClose{position:absolute;
  top:10px;
  right:12px;
  z-index:5;
  border:none;
  background:rgba(0,0,0,.55);
  color:#f5f5f7;
  border-radius:999px;
  width:32px;
  height:32px;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:16px;}
.videoModal{padding:16px;}
.modalBox{width:min(100%,1100px);
  max-height:calc(100dvh - 32px);
  margin:auto;}
.videoModal .casePlayerShell{position:relative !important;
  width:100% !important;
  aspect-ratio:16/9 !important;
  max-height:calc(100dvh - 32px) !important;
  border-radius:18px;
  overflow:hidden;
  background:#000;
  border:1px solid var(--stroke);
  box-shadow:0 18px 70px rgba(0,0,0,.65);}
.videoModal .caseVideo{position:absolute !important;
  inset:0 !important;
  width:100% !important;
  height:100% !important;
  object-fit:contain !important;
  background:#000;}
.videoModal .cpControls{left:0;
  right:0;
  bottom:0;}
@media (max-width:768px){
.videoModal{padding:10px;}
.modalBox{max-height:calc(100dvh - 20px);}
.videoModal .casePlayerShell{border-radius:14px;
    max-height:calc(100dvh - 20px) !important;}
}
html.modal-open,
body.modal-open{overflow:hidden;}
@media (max-width:768px){
.heroWrap{height:calc(100vh + var(--mobileHeroExtra, 0px));}
}
.playerShell{position:relative; width:100%; aspect-ratio:16/9; border-radius:18px; border:1px solid var(--stroke);
    overflow:hidden; box-shadow:0 18px 80px rgba(0,0,0,.55);
    background:radial-gradient(120% 120% at 20% 10%,rgba(255,255,255,.06),transparent 60%), linear-gradient(180deg,#0d1014,#0b0e12);}
.cpPlayOverlay{position:absolute;
  inset:0;
  margin:auto;
  width:78px;
  height:78px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.8);
  background:rgba(0,0,0,.55);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:30px;
  color:#fff;
  cursor:pointer;
  backdrop-filter:blur(3px);
  transition:transform .16s ease, background .16s ease, opacity .16s ease;}
.cpPlayOverlay:hover{transform:scale(1.04);
  background:rgba(0,0,0,.70);}
.casePlayerShell.is-playing .cpPlayOverlay{opacity:0;
  pointer-events:none;
  transform:scale(.9);}
.cpControls{position:absolute;
  left:0;
  right:0;
  bottom:0;
  padding:10px 14px;
  display:flex;
  align-items:center;
  gap:10px;
  font-size:13px;
  color:#f7f7f7;
  background:linear-gradient(180deg,rgba(0,0,0,0),rgba(0,0,0,.86));}
.cpBtn{border:none;
  background:rgba(0,0,0,.35);
  color:#f7f7f7;
  border-radius:999px;
  padding:6px 10px;
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size:13px;
  line-height:1;}
.cpBtn:hover{background:rgba(255,255,255,.14);}
.cpTime{display:flex;
  align-items:center;
  gap:4px;
  min-width:80px;
  font-variant-numeric:tabular-nums;}
.cpSep{opacity:.6;}
.cpProgress{flex:1;
  display:flex;
  align-items:center;
  cursor:pointer;}
.cpProgressTrack{position:relative;
  width:100%;
  height:4px;
  border-radius:999px;
  background:rgba(255,255,255,.22);
  overflow:hidden;}
.cpProgressFill{position:absolute;
  left:0;
  top:0;
  bottom:0;
  width:0%;
  border-radius:inherit;
  background:linear-gradient(90deg,#ffb54c,#ffd48e);}
.cpMute,
.cpFull{flex-shrink:0;}
@media(max-width:640px){
.cpControls{padding:9px 10px;
    gap:8px;}
.cpTime{min-width:70px;
    font-size:12px;}
}
@media (min-width: 1100px){
.playerShell{aspect-ratio:21/9;}
}
.playerShell:hover .playerPlay{filter:brightness(1.15); transform:translate(-50%,-50%) scale(1.04)}
.impactInner.reveal{opacity:1;
  transform:none;}
.playerShell .casePlayerShell--home{position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  overflow: hidden;
  background: #000;}
.playerShell .casePlayerShell--home .caseVideo{position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #000;}
.playerShell .casePlayerShell--home .cpPlayOverlay{z-index: 2;}
.playerShell .casePlayerShell--home .cpControls{z-index: 3;}
#videoModal.videoModal{position: fixed;
  inset: 0;
  background: rgba(0,0,0,.78);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  z-index: 80;}
#videoModal.videoModal.is-open{display: flex;}
#videoModal .modalBox{position: relative;
  width: min(100%, 1100px);
  margin: auto;}
#videoModal .projectVideoCard{border-radius: 18px;
  overflow: hidden;
  background: #000;
  border: 1px solid var(--stroke);
  box-shadow: 0 18px 70px rgba(0,0,0,.65);}
#videoModal .projectVideoFrame{position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: calc(100dvh - 32px);
  background: #000;}
#videoModal .casePlayerShell{position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 0;
  overflow: hidden;
  background: #000;}
#videoModal .caseVideo{position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;}
.playerShell .caseVideo{object-fit: cover;}
#videoModal .modalClose{position: absolute;
  top: 10px;
  right: 12px;
  z-index: 10;}
html.modal-open,
body.modal-open{overflow: hidden;}
@media (max-width: 768px){
#videoModal.videoModal{padding: 10px;}
#videoModal .projectVideoFrame{max-height: calc(100dvh - 20px);}
}
