.topbar{
  z-index:10020;
  isolation:isolate;
}

.face-experience{
  --face-rose:#d5b4aa;
  --face-blue:#173a72;
  position:relative;
  height:500svh;
  padding:0;
  overflow:visible;
  background:#0b1728;
  color:#fffaf6;
  isolation:isolate;
}

.face-stage{
  position:sticky;
  top:0;
  height:100svh;
  min-height:640px;
  overflow:hidden;
  background:
    radial-gradient(ellipse at 68% 46%,rgba(98,126,170,.25) 0%,rgba(39,69,111,.11) 28%,transparent 57%),
    radial-gradient(ellipse at 86% 22%,rgba(213,180,170,.12),transparent 34%),
    linear-gradient(115deg,#081422 0%,#102541 54%,#0b192c 100%);
}

.face-stage::before{
  content:"";
  position:absolute;
  inset:-18%;
  z-index:0;
  pointer-events:none;
  background:
    radial-gradient(ellipse at 72% 48%,rgba(255,247,241,.10),transparent 20%),
    linear-gradient(105deg,rgba(8,20,34,.96) 0%,rgba(8,20,34,.74) 31%,rgba(8,20,34,.08) 61%,rgba(8,20,34,.48) 100%);
}

.face-stage::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:4;
  pointer-events:none;
  background:
    linear-gradient(180deg,rgba(6,15,27,.22),transparent 20%,transparent 76%,rgba(5,13,24,.60)),
    radial-gradient(ellipse at center,transparent 48%,rgba(4,11,20,.32) 100%);
}

.face-glow{
  position:absolute;
  left:70%;
  top:50%;
  width:min(62vw,860px);
  aspect-ratio:1/1.12;
  z-index:1;
  transform:translate(-50%,-50%);
  border-radius:50%;
  pointer-events:none;
  background:radial-gradient(ellipse,rgba(226,205,198,.14),rgba(73,104,151,.08) 40%,transparent 69%);
  filter:blur(8px);
}

.face-copy{
  position:absolute;
  inset:0;
  z-index:6;
  pointer-events:none;
}

.face-scene-copy{
  position:absolute;
  width:min(430px,34vw);
  opacity:0;
  visibility:hidden;
  transform:translate3d(0,12px,0);
  will-change:opacity,transform;
}

.face-scene-copy[data-face-scene="0"]{
  left:max(40px,calc((100vw - 1160px)/2));
  top:50%;
  translate:0 -50%;
}

.face-scene-copy[data-face-scene="1"]{
  left:max(40px,calc((100vw - 1160px)/2));
  bottom:15%;
}

.face-scene-copy[data-face-scene="2"]{
  left:max(40px,calc((100vw - 1160px)/2));
  top:15%;
}

.face-scene-copy[data-face-scene="3"]{
  right:max(52px,calc((100vw - 1200px)/2));
  top:48%;
  translate:0 -50%;
  text-align:right;
}

.face-scene-copy[data-face-scene="4"]{
  right:max(52px,calc((100vw - 1200px)/2));
  bottom:14%;
  text-align:right;
}

.face-scene-copy[data-face-scene="3"] p,
.face-scene-copy[data-face-scene="4"] p{margin-left:auto}

.face-scene-copy:first-child{
  opacity:1;
  visibility:visible;
  transform:translate3d(0,0,0);
}

.face-copy .eyebrow{
  color:var(--face-rose);
  text-shadow:0 2px 18px rgba(0,0,0,.22);
}

.face-copy .eyebrow::before{background:var(--face-rose)}

.face-copy h2,
.face-copy h3{
  margin:16px 0 22px;
  max-width:520px;
  color:#fffaf6;
  line-height:.88;
  letter-spacing:-.045em;
  text-wrap:balance;
  text-shadow:0 18px 52px rgba(0,0,0,.24);
}

.face-copy h2{font-size:clamp(3.8rem,5.4vw,6.5rem)}

.face-copy h3{
  max-width:470px;
  font-family:"Cormorant Garamond",serif;
  font-size:clamp(3.25rem,4.6vw,5.25rem);
  font-weight:600;
}

.face-copy h2 em,
.face-copy h3 em{
  display:block;
  color:var(--face-rose);
  font-weight:500;
}

.face-copy p{
  max-width:370px;
  color:rgba(255,250,246,.72);
  font-size:.93rem;
  line-height:1.7;
}

.face-canvas-wrap{
  position:absolute;
  inset:0;
  z-index:2;
}

.face-canvas-wrap canvas{
  display:block;
  width:100%;
  height:100%;
  opacity:0;
  transform:translateZ(0);
  transition:opacity .9s ease;
}

.face-experience.is-ready .face-canvas-wrap canvas{opacity:1}

.face-loader{
  position:absolute;
  left:70%;
  top:50%;
  z-index:3;
  display:flex;
  align-items:center;
  gap:11px;
  transform:translate(-50%,-50%);
  color:rgba(255,250,246,.62);
  font-size:.69rem;
  font-weight:700;
  letter-spacing:.14em;
  text-transform:uppercase;
  transition:opacity .35s ease,visibility .35s ease;
}

.face-loader::before{
  content:"";
  width:24px;
  height:24px;
  border:1px solid rgba(255,255,255,.18);
  border-top-color:var(--face-rose);
  border-radius:50%;
  animation:faceLoaderSpin 1s linear infinite;
}

.face-experience.is-ready .face-loader{
  opacity:0;
  visibility:hidden;
}

.face-scroll-cue{
  position:absolute;
  left:50%;
  bottom:28px;
  z-index:6;
  display:flex;
  align-items:center;
  gap:12px;
  transform:translateX(-50%);
  color:rgba(255,250,246,.54);
  font-size:.66rem;
  font-weight:700;
  letter-spacing:.15em;
  text-transform:uppercase;
  white-space:nowrap;
  opacity:var(--face-cue-opacity,1);
}

.face-scroll-cue::before{
  content:"";
  width:46px;
  height:1px;
  background:linear-gradient(90deg,transparent,var(--face-rose));
}

.face-scroll-progress{
  position:absolute;
  right:max(26px,calc((100vw - 1280px)/2));
  bottom:30px;
  z-index:6;
  width:clamp(90px,11vw,150px);
  height:1px;
  overflow:hidden;
  background:rgba(255,255,255,.16);
}

.face-scroll-progress span{
  display:block;
  width:100%;
  height:100%;
  transform:scaleX(var(--face-progress,.001));
  transform-origin:left;
  background:linear-gradient(90deg,var(--face-rose),#7690b6);
  will-change:transform;
}

.face-fallback{
  position:absolute;
  inset:0;
  z-index:2;
  display:none;
  align-items:flex-end;
  justify-content:flex-end;
  padding:44px 104px 104px 44px;
  color:rgba(255,250,246,.78);
  font-size:.78rem;
  line-height:1.5;
  text-align:right;
}

.face-experience.is-fallback{
  height:auto;
  min-height:100svh;
}

.face-experience.is-fallback .face-stage{
  position:relative;
  min-height:100svh;
}

.face-experience.is-fallback .face-fallback{display:flex}
.face-experience.is-fallback .face-loader{display:none}
.face-experience.is-fallback .face-scroll-cue,
.face-experience.is-fallback .face-scroll-progress{display:none}

@keyframes faceLoaderSpin{to{transform:rotate(360deg)}}

@media (max-width:980px){
  .face-experience{height:520svh}
  .face-stage{min-height:600px}
  .face-stage::before{
    background:
      linear-gradient(180deg,rgba(7,17,31,.34) 0%,rgba(7,17,31,.05) 44%,rgba(7,17,31,.12) 62%,rgba(7,17,31,.96) 75%,#081422 100%);
  }
  .face-canvas-wrap{inset:0 0 31%}
  .face-glow{left:50%;top:34%;width:min(92vw,720px)}
  .face-copy{
    left:0;
    right:0;
    top:auto;
    bottom:42px;
    width:auto;
    height:240px;
    min-height:0;
    transform:none;
  }
  .face-scene-copy{
    width:min(570px,calc(100vw - 56px));
    translate:none;
  }
  .face-scene-copy[data-face-scene="0"]{
    left:28px;
    top:auto;
    bottom:0;
    translate:none;
  }
  .face-scene-copy[data-face-scene="1"]{
    left:auto;
    right:90px;
    top:8px;
    bottom:auto;
    width:min(500px,calc(100vw - 124px));
    text-align:right;
  }
  .face-scene-copy[data-face-scene="2"]{
    left:28px;
    top:0;
    bottom:auto;
  }
  .face-scene-copy[data-face-scene="3"]{
    left:auto;
    right:90px;
    top:auto;
    bottom:0;
    width:min(500px,calc(100vw - 124px));
    translate:none;
  }
  .face-scene-copy[data-face-scene="4"]{
    left:28px;
    right:auto;
    top:auto;
    bottom:0;
    text-align:left;
  }
  .face-scene-copy[data-face-scene="1"] p,
  .face-scene-copy[data-face-scene="3"] p{margin-left:auto}
  .face-scene-copy[data-face-scene="4"] p{margin-left:0}
  .face-copy h2,
  .face-copy h3{
    max-width:570px;
    font-size:clamp(3.2rem,7vw,5rem);
  }
  .face-copy p{max-width:440px}
  .face-loader{left:50%;top:34%}
  .face-scroll-cue{bottom:calc(31% + 18px)}
}

@media (max-width:680px){
  .face-experience{height:540svh}
  .face-stage{min-height:560px}
  .face-canvas-wrap{inset:0 0 34%}
  .face-copy{
    left:0;
    right:0;
    bottom:32px;
    width:auto;
    height:232px;
  }
  .face-scene-copy{
    width:min(355px,calc(100vw - 40px));
  }
  .face-scene-copy[data-face-scene="0"],
  .face-scene-copy[data-face-scene="2"],
  .face-scene-copy[data-face-scene="4"]{left:20px}
  .face-copy .eyebrow{font-size:.65rem;letter-spacing:.14em}
  .face-copy h2,
  .face-copy h3{
    width:auto;
    max-width:100%;
    margin:11px 0 13px;
    font-size:clamp(2.8rem,12.5vw,3.65rem);
    line-height:.9;
  }
  .face-copy p{
    max-width:min(320px,calc(100% - 34px));
    font-size:.81rem;
    line-height:1.55;
  }
  .face-scene-copy[data-face-scene="1"],
  .face-scene-copy[data-face-scene="3"]{
    top:auto;
    right:88px;
    bottom:54px;
    width:min(310px,calc(100vw - 112px));
  }
  .face-scene-copy[data-face-scene="1"] p,
  .face-scene-copy[data-face-scene="3"] p{max-width:100%}
  .face-glow{left:50%;top:34%;width:116vw;filter:blur(5px)}
  .face-loader{top:34%;font-size:.59rem}
  .face-scroll-cue{left:20px;bottom:calc(34% + 14px);transform:none;font-size:.58rem}
  .face-scroll-cue::before{width:28px}
  .face-scroll-progress{display:none}
  .face-fallback{padding:24px 78px 96px 20px}
}

@media (max-width:390px){
  .face-copy h2,
  .face-copy h3{font-size:clamp(2.65rem,12vw,3.3rem)}
  .face-scene-copy[data-face-scene="1"],
  .face-scene-copy[data-face-scene="3"]{
    right:82px;
    width:calc(100vw - 106px);
  }
  .face-copy p{max-width:285px}
}

@media (prefers-reduced-motion:reduce){
  .face-experience{
    height:auto;
    min-height:100svh;
  }
  .face-stage{
    position:relative;
    min-height:100svh;
  }
  .face-loader::before{animation:none}
  .face-scroll-cue,
  .face-scroll-progress{display:none}
  .face-canvas-wrap canvas{transition:none}
}
