.static-opening-page .approved-hero {
  isolation: isolate;
  background: #fafdfa;
}

.static-opening-page .site-nav {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 20;
  height: auto;
  background: transparent;
  transform: translateX(-50%);
}

.static-opening-page .approved-hero-media { z-index: 0; }

.static-opening-page .living-hero-video {
  z-index: 0;
  object-fit: cover;
  object-position: center;
  opacity: 1;
  transition: none;
}

.static-opening-page .hero-authentic-portrait {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 1;
  display: block;
  height: 98%;
  pointer-events: none;
  opacity: 1;
  transition: none;
}

.static-opening-page .approved-hero.hero-motion-playing .living-hero-video,
.static-opening-page .approved-hero.hero-motion-playing .hero-authentic-portrait { opacity: 1; }

.static-opening-page .approved-hero-wash {
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(250,253,250,1) 0%, rgba(250,253,250,1) 34%, rgba(250,253,250,.93) 41%, rgba(250,253,250,.38) 49%, rgba(250,253,250,0) 59%),
    linear-gradient(180deg, rgba(250,253,250,.18), rgba(250,253,250,0) 70%);
}

.static-opening-page .approved-hero .hero-shell {
  z-index: 4;
}

.static-opening-page .hero-authentic-portrait img {
  display: block;
  width: auto;
  max-width: none;
  height: 100%;
}

.static-opening-page .approved-hero .eyebrow,
.static-opening-page .approved-hero h1 em {
  color: #c76738;
}

.static-opening-page .approved-hero .eyebrow span {
  color: #c76738;
}

.static-opening-page .opening-handoff {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  z-index: 1;
  height: clamp(72px, 8vw, 112px);
  pointer-events: none;
  background: linear-gradient(180deg, rgba(247,247,245,0) 0%, rgba(247,247,245,.72) 62%, #f7f7f5 100%);
}

.static-opening-page .opening-handoff::before {
  content: "";
  position: absolute;
  right: 9%;
  bottom: 27px;
  left: 48%;
  height: 1px;
  opacity: .58;
  background: linear-gradient(90deg, rgba(68,191,255,0), rgba(68,191,255,.5) 44%, rgba(199,103,56,.62) 72%, rgba(199,103,56,0));
}

.static-opening-page .opening-handoff::after {
  content: "";
  position: absolute;
  right: 23%;
  bottom: 21px;
  width: 12px;
  height: 12px;
  border: 2px solid rgba(255,255,255,.9);
  border-radius: 50%;
  background: #c76738;
  box-shadow: 0 0 0 5px rgba(199,103,56,.12), 0 0 25px rgba(68,191,255,.42);
}

@media (max-width: 1100px) {
  .static-opening-page .static-hero-media { background-position: 78% center; }
  .static-opening-page .living-hero-video {
    object-fit: contain;
    object-position: 72% top;
  }

  .static-opening-page .hero-authentic-portrait {
    top: 0;
    right: -5vw;
    bottom: auto;
    height: 75%;
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 76%, rgba(0,0,0,.88) 84%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 0%, #000 76%, rgba(0,0,0,.88) 84%, transparent 100%);
  }

  .static-opening-page .approved-hero-wash {
    background: linear-gradient(90deg, rgba(250,253,250,1) 0%, rgba(250,253,250,.98) 42%, rgba(250,253,250,.70) 58%, rgba(250,253,250,0) 78%);
  }
}

@media (min-width: 768px) and (max-width: 1100px) {
  .static-opening-page .living-hero-video {
    right: 0;
    left: 0;
    width: 100%;
    object-fit: cover;
    object-position: center;
  }

  .static-opening-page .approved-hero .hero-copy {
    width: min(430px, 52vw);
  }

  .static-opening-page .approved-hero h1 {
    font-size: clamp(3.2rem, 7vw, 4rem);
  }
}

@media (max-width: 767px) {
  .static-opening-page .approved-hero {
    background: #fafdfa;
  }

  .static-opening-page .site-nav {
    width: calc(100% - 40px);
  }

  .static-opening-page .static-hero-media {
    background-image: none;
    background-position: center top;
  }

  .static-opening-page .hero.chapter.approved-hero {
    height: max(100svh, 900px);
    min-height: 900px;
  }

  .static-opening-page .hero.chapter.approved-hero .hero-shell {
    min-height: 100%;
    align-items: flex-start;
    padding-top: 92px;
    padding-bottom: 40px;
  }

  .static-opening-page .living-hero-video {
    right: 0;
    left: 0;
    width: 100%;
    object-fit: cover;
    object-position: 74% top;
  }

  .static-opening-page .hero-authentic-portrait {
    top: 350px;
    right: -23vw;
    height: 58%;
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 76%, rgba(0,0,0,.84) 86%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 0%, #000 76%, rgba(0,0,0,.84) 86%, transparent 100%);
  }

  .static-opening-page .approved-hero-wash {
    background:
      linear-gradient(180deg, rgba(250,253,250,1) 0%, rgba(250,253,250,1) 39%, rgba(250,253,250,.84) 48%, rgba(250,253,250,.18) 62%, rgba(250,253,250,0) 75%),
      linear-gradient(90deg, rgba(250,253,250,.88) 0%, rgba(250,253,250,.32) 48%, rgba(250,253,250,0) 78%);
  }

  .static-opening-page .opening-handoff { height: 88px; }

  .static-opening-page .opening-handoff::before {
    right: 5%;
    bottom: 24px;
    left: 24%;
  }

  .static-opening-page .opening-handoff::after {
    right: 18%;
    bottom: 18px;
  }
}

@media (max-width: 390px) {
  .static-opening-page .approved-hero .hero-actions { gap: 8px; }

  .static-opening-page .approved-hero .button {
    padding-inline: 10px;
    font-size: .7rem;
  }

  .static-opening-page .approved-hero .text-link { font-size: .7rem; }
}

.static-opening-page .portrait-context {
  background:
    url("../company-brain-context-video-v2/poster.jpg?v=2") center / cover no-repeat,
    #f7f7f5;
}

.static-opening-page .portrait-context::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1;
  height: clamp(64px, 7vw, 100px);
  pointer-events: none;
  background:
    radial-gradient(circle at 77% 0, rgba(199,103,56,.11), rgba(199,103,56,0) 20%),
    linear-gradient(180deg, #f7f7f5 0%, rgba(247,247,245,0) 100%);
}

.static-opening-page .portrait-context::after {
  background:
    linear-gradient(90deg, rgba(255,255,255,.18), rgba(255,255,255,0) 42%),
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,0) 60%);
}

.static-opening-page .portrait-context-video {
  object-position: center center;
  filter: contrast(1.01);
}

.context-memory-transition {
  position: absolute;
  left: .6%;
  bottom: 2.8%;
  z-index: 3;
  width: clamp(520px, 43vw, 820px);
  aspect-ratio: 16 / 9;
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity .45s ease, transform .45s ease, visibility 0s linear .45s;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 4%, #000 84%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 4%, #000 84%, transparent 100%);
}

.context-memory-transition-video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  filter: contrast(1.01) saturate(.99);
}

.portrait-thoughts {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  opacity: 1;
  transition: opacity .35s ease;
}

.portrait-context.is-memory-story .portrait-thoughts {
  opacity: 0;
}

.portrait-context.is-memory-story .context-memory-transition {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition-delay: .12s, .12s, 0s;
}

.portrait-thought {
  position: absolute;
  width: min(360px, 22vw);
  padding: clamp(14px, 1.05vw, 20px) clamp(17px, 1.25vw, 24px);
  color: #15181b;
  background: rgba(255,255,255,.94);
  border: 1px solid rgba(30,42,50,.14);
  border-radius: 24px;
  box-shadow: 0 18px 46px rgba(23,31,36,.13);
  backdrop-filter: blur(9px);
  transition: opacity .22s ease, transform .22s ease;
}

.portrait-thought::before,
.portrait-thought::after {
  content: "";
  position: absolute;
  top: 52%;
  border-radius: 50%;
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(30,42,50,.14);
  transform: translateY(-50%);
}

.portrait-thought::before {
  right: -20px;
  width: 14px;
  height: 14px;
}

.portrait-thought::after {
  right: -35px;
  width: 7px;
  height: 7px;
}

.portrait-thought p {
  margin: 0;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: clamp(15px, 1.02vw, 20px);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -.025em;
}

.portrait-thought-1 { top: 40%; left: 4.2%; }
.portrait-thought-2 { top: 48%; left: 29%; }
.portrait-thought-3 { top: 58%; left: 5.5%; }
.portrait-thought-4 { top: 66%; left: 31%; }
.portrait-thought-5 { top: 76%; left: 4.5%; }
.portrait-thought-6 { top: 83%; left: 29%; }

.portrait-thoughts.is-changing .portrait-thought {
  opacity: 0;
  transform: translateY(9px);
}

@media (min-width: 768px) and (max-width: 1100px) {
  .static-opening-page .portrait-context-video { object-position: 62% center; }

  .context-memory-transition {
    left: 1.5%;
    bottom: 2.5%;
    width: min(62vw, 690px);
  }

  .static-opening-page .portrait-context .context-film-copy {
    width: min(470px, 56%);
  }

  .portrait-thought {
    width: min(360px, 40vw);
    border-radius: 20px;
  }

  .portrait-thought-1 { top: 45%; left: 3.5%; }
  .portrait-thought-2 { top: 55%; left: 34%; }
  .portrait-thought-3 { top: 68%; left: 4.5%; }
  .portrait-thought-4 { top: 79%; left: 28%; }
  .portrait-thought-5,
  .portrait-thought-6 { display: none; }
}

@media (max-width: 767px) {
  .static-opening-page .portrait-context {
    height: 980px;
    min-height: 980px;
    background:
      url("../assets/james-profile-white.png") 79% 340px / auto 620px no-repeat,
      #f7f7f5;
  }

  .static-opening-page .portrait-context::after {
    display: block;
    inset: auto 0 0;
    z-index: 2;
    height: 150px;
    background: linear-gradient(180deg, rgba(247,247,245,0), rgba(255,255,255,.94) 78%, #fff 100%);
  }

  .static-opening-page .portrait-context::before {
    height: 62px;
    background:
      radial-gradient(circle at 82% 0, rgba(199,103,56,.1), rgba(199,103,56,0) 26%),
      linear-gradient(180deg, #f7f7f5 0%, rgba(247,247,245,0) 100%);
  }

  .static-opening-page .portrait-context-video {
    display: none;
  }

  .context-memory-transition {
    left: 10px;
    bottom: 28px;
    width: calc(100% - 24px);
    max-width: 370px;
    aspect-ratio: 16 / 9;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 3%, #000 97%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 3%, #000 97%, transparent 100%);
  }

  .static-opening-page .portrait-context .context-film-copy {
    top: 34px;
    left: 20px;
    width: calc(100% - 40px);
  }

  .static-opening-page .portrait-context .context-film-copy h2 {
    max-width: 8.25ch;
    font-size: clamp(43px, 12vw, 50px);
    line-height: .94;
  }

  .static-opening-page .portrait-context .context-film-copy > p:last-child {
    max-width: 24ch;
    margin-top: 14px;
    font-size: 15px;
    line-height: 1.38;
  }

  .portrait-thought {
    width: min(282px, calc(100vw - 72px));
    padding: 15px 17px 16px;
    border-color: rgba(30,42,50,.11);
    border-radius: 20px;
    box-shadow: 0 16px 36px rgba(23,31,36,.12);
    backdrop-filter: blur(12px);
  }

  .portrait-thought p {
    font-size: clamp(15px, 4.2vw, 17px);
    line-height: 1.26;
  }

  .portrait-thought-1 {
    top: 610px;
    left: 18px;
  }

  .portrait-thought-2 {
    top: 760px;
    right: 18px;
    bottom: auto;
    left: auto;
  }

  .portrait-thought-2::before,
  .portrait-thought-2::after {
    right: auto;
  }

  .portrait-thought-2::before {
    left: -20px;
  }

  .portrait-thought-2::after {
    left: -35px;
  }

  .portrait-thought-3,
  .portrait-thought-4,
  .portrait-thought-5,
  .portrait-thought-6 { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .static-opening-page .living-hero-video { display: none; }
  .portrait-thought { transition: none; }
}
