.portrait-hero {
  --portrait-night: #07142d;
  --portrait-night-deep: #030a18;
  --portrait-blue: #1f55bb;
  --portrait-blue-light: #9dbfff;
  --portrait-orange: #ff7600;
  --portrait-white: #f7f9fd;
  --portrait-muted: #bcc7d9;
  --portrait-px: 0;
  --portrait-py: 0;
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  color: var(--portrait-white);
  background:
    radial-gradient(circle at 20% 82%, rgba(31, 85, 187, .38), transparent 38%),
    linear-gradient(118deg, var(--portrait-night-deep) 0%, var(--portrait-night) 48%, #09214a 100%);
}

.portrait-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(3, 10, 24, .08), rgba(3, 10, 24, .02) 45%, rgba(3, 10, 24, .34));
  pointer-events: none;
}

.portrait-hero a { color: inherit; }

body.portrait-hero-visible .contact-dock {
  opacity: 0;
  pointer-events: none;
  transform: translateY(120%);
}

.contact-dock {
  transition: opacity .25s ease, transform .35s cubic-bezier(.2, .7, .2, 1);
}

.portrait-hero__network {
  position: absolute;
  inset: -3%;
  z-index: -2;
  width: 106%;
  height: 106%;
  opacity: .28;
  transform: translate(calc(var(--portrait-px) * -8px), calc(var(--portrait-py) * -6px));
  transition: transform .45s cubic-bezier(.2, .7, .2, 1);
}

.portrait-hero__network-lines path {
  fill: none;
  stroke: var(--portrait-blue-light);
  stroke-width: 1;
  stroke-dasharray: 8 18;
  animation: portrait-network 18s linear infinite;
}

.portrait-hero__network-points circle { fill: var(--portrait-orange); }
.portrait-hero__network-points circle:nth-child(3n) { fill: var(--portrait-blue-light); }

.portrait-hero__topbar {
  position: relative;
  z-index: 10;
  width: min(1440px, calc(100% - 80px));
  min-height: 98px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(250px, 1fr) auto minmax(210px, 1fr);
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
}

.portrait-hero__brand {
  display: inline-flex;
  width: max-content;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.portrait-hero__monogram {
  position: relative;
  display: grid;
  width: 42px;
  height: 50px;
  place-items: center;
  color: #fff;
  font-family: Georgia, serif;
  font-size: 51px;
  font-weight: 700;
  line-height: 1;
}

.portrait-hero__monogram i {
  position: absolute;
  left: 2px;
  bottom: 4px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--portrait-orange);
}

.portrait-hero__monogram b {
  position: absolute;
  top: 3px;
  right: 1px;
  width: 0;
  height: 0;
  border-right: 6px solid transparent;
  border-bottom: 12px solid var(--portrait-blue-light);
  border-left: 6px solid transparent;
  rotate: 37deg;
}

.portrait-hero__brand-label {
  color: #fff;
  font-size: 17px;
  font-weight: 750;
  letter-spacing: -.02em;
}

.portrait-hero__brand-label strong { color: var(--portrait-blue-light); }

.portrait-hero__nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.portrait-hero__nav a,
.portrait-hero__top-cta {
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
}

.portrait-hero__nav a {
  color: rgba(255, 255, 255, .78);
  transition: color .2s ease;
}

.portrait-hero__nav a:hover,
.portrait-hero__nav a:focus-visible { color: #fff; }

.portrait-hero__top-cta {
  justify-self: end;
  padding: 15px 24px;
  color: #081124;
  background: var(--portrait-orange);
  border: 1px solid var(--portrait-orange);
}

.portrait-hero__grid {
  width: min(1440px, calc(100% - 80px));
  min-height: calc(100svh - 158px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(390px, .86fr) minmax(560px, 1.14fr);
  align-items: center;
  gap: clamp(40px, 6vw, 110px);
}

.portrait-hero__portrait-stage {
  position: relative;
  align-self: stretch;
  min-height: 640px;
  transform: translate(calc(var(--portrait-px) * 10px), calc(var(--portrait-py) * 5px));
  transition: transform .45s cubic-bezier(.2, .7, .2, 1);
}

.portrait-hero__portrait {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: -2px;
  width: min(690px, 122%);
  max-width: none;
  height: auto;
  transform: translateX(-50%) translateY(42px) scale(.96);
  filter: saturate(.82) contrast(1.03) drop-shadow(0 28px 28px rgba(0, 0, 0, .3));
  opacity: 0;
  animation: portrait-person-enter 1.15s .18s cubic-bezier(.16, .74, .19, 1) forwards;
}

.portrait-hero__halo {
  position: absolute;
  left: 10%;
  right: 4%;
  bottom: 9%;
  height: 60%;
  border: 1px solid rgba(157, 191, 255, .28);
  border-radius: 50% 50% 16% 16%;
  background: linear-gradient(160deg, rgba(31, 85, 187, .26), rgba(31, 85, 187, .02));
  transform: rotate(-4deg);
}

.portrait-hero__watermark {
  position: absolute;
  z-index: 0;
  top: 17%;
  left: -11%;
  width: 62%;
  opacity: .09;
  filter: brightness(0) invert(1);
}

.portrait-hero__dot {
  position: absolute;
  z-index: 5;
  left: 3%;
  bottom: 17%;
  width: 26px;
  height: 26px;
  border: 6px solid rgba(7, 20, 45, .72);
  border-radius: 50%;
  background: var(--portrait-orange);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .22);
  animation: portrait-dot-float 5s ease-in-out infinite;
}

.portrait-hero__triangle {
  position: absolute;
  z-index: 2;
  top: 18%;
  right: 1%;
  width: 0;
  height: 0;
  border-right: 22px solid transparent;
  border-bottom: 40px solid var(--portrait-blue-light);
  border-left: 22px solid transparent;
  rotate: 25deg;
  animation: portrait-triangle-float 7s ease-in-out infinite;
}

.portrait-hero__copy {
  position: relative;
  z-index: 4;
  padding: 58px 0 92px;
}

.portrait-hero__location {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 22px;
  color: var(--portrait-muted);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  opacity: 0;
  animation: portrait-copy-enter .8s .25s ease forwards;
}

.portrait-hero__location span {
  width: 36px;
  height: 4px;
  background: var(--portrait-orange);
}

.portrait-hero__title {
  margin: 0;
  color: var(--portrait-white);
  font-size: clamp(76px, 9vw, 158px);
  line-height: .76;
  letter-spacing: -.075em;
}

.portrait-hero__title span { display: block; }

.portrait-hero__name-solid {
  transform: translateY(55px);
  opacity: 0;
  animation: portrait-name-enter 1s .32s cubic-bezier(.16, .74, .19, 1) forwards;
}

.portrait-hero__name-outline {
  margin-top: .2em;
  color: transparent;
  -webkit-text-stroke: 2px rgba(247, 249, 253, .9);
  font-size: .66em;
  letter-spacing: -.065em;
  white-space: nowrap;
  transform: translateX(65px);
  opacity: 0;
  animation: portrait-outline-enter 1.15s .48s cubic-bezier(.16, .74, .19, 1) forwards;
}

.portrait-hero__role {
  max-width: 680px;
  margin: 46px 0 0;
  color: var(--portrait-white);
  font-size: clamp(24px, 2.25vw, 38px);
  font-weight: 760;
  line-height: 1.18;
  letter-spacing: -.035em;
  opacity: 0;
  animation: portrait-copy-enter .9s .72s ease forwards;
}

.portrait-hero__promise {
  max-width: 590px;
  margin: 24px 0 0;
  color: var(--portrait-muted);
  font-size: 17px;
  line-height: 1.62;
  opacity: 0;
  animation: portrait-copy-enter .9s .86s ease forwards;
}

.portrait-hero__actions {
  display: flex;
  gap: 14px;
  margin-top: 32px;
  opacity: 0;
  animation: portrait-copy-enter .9s 1s ease forwards;
}

.portrait-hero__button {
  min-width: 164px;
  padding: 17px 22px;
  border: 1px solid rgba(255, 255, 255, .38);
  color: var(--portrait-white);
  text-align: center;
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}

.portrait-hero__button:hover,
.portrait-hero__button:focus-visible { transform: translateY(-3px); }

.portrait-hero__button--primary {
  display: flex;
  justify-content: space-between;
  gap: 26px;
  color: #07142d;
  background: var(--portrait-orange);
  border-color: var(--portrait-orange);
}

.portrait-hero__button--secondary:hover,
.portrait-hero__button--secondary:focus-visible {
  color: #07142d;
  background: var(--portrait-white);
}

.portrait-hero__foot {
  position: absolute;
  z-index: 6;
  right: 40px;
  bottom: 22px;
  left: 40px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  color: rgba(255, 255, 255, .55);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.portrait-hero__foot-mark { color: var(--portrait-blue-light); }

.portrait-hero__foot a {
  justify-self: end;
  color: #fff;
  text-decoration: none;
}

.portrait-hero__foot a span {
  display: inline-block;
  margin-left: 16px;
  color: var(--portrait-orange);
}

@keyframes portrait-person-enter {
  to { opacity: 1; transform: translateX(-50%) translateY(0) scale(1); }
}

@keyframes portrait-name-enter {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes portrait-outline-enter {
  to { opacity: 1; transform: translateX(0); }
}

@keyframes portrait-copy-enter {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes portrait-network {
  to { stroke-dashoffset: -260; }
}

@keyframes portrait-dot-float {
  50% { translate: 0 -13px; }
}

@keyframes portrait-triangle-float {
  50% { translate: 8px 13px; rotate: 34deg; }
}

@media (max-width: 1080px) {
  .portrait-hero__topbar { grid-template-columns: 1fr auto; }
  .portrait-hero__nav { display: none; }
  .portrait-hero__grid { grid-template-columns: .8fr 1.2fr; gap: 16px; }
  .portrait-hero__portrait-stage { min-height: 580px; }
  .portrait-hero__name-outline { white-space: normal; line-height: .86; }
}

@media (max-width: 760px) {
  .portrait-hero { min-height: auto; }

  .portrait-hero__topbar {
    width: calc(100% - 36px);
    min-height: 78px;
    grid-template-columns: 1fr auto;
  }

  .portrait-hero__brand-label { font-size: 14px; }

  .portrait-hero__monogram {
    scale: .88;
    transform-origin: left center;
  }

  .portrait-hero__top-cta { padding: 12px 15px; }

  .portrait-hero__grid {
    width: calc(100% - 36px);
    min-height: calc(100svh - 78px);
    grid-template-columns: 1fr;
    align-content: end;
  }

  .portrait-hero__copy {
    grid-row: 1;
    padding: 64px 0 0;
  }

  .portrait-hero__portrait-stage {
    grid-row: 2;
    min-height: 430px;
    margin-top: -20px;
  }

  .portrait-hero__portrait { width: min(620px, 118%); }
  .portrait-hero__title { font-size: clamp(68px, 22vw, 118px); }
  .portrait-hero__name-outline { font-size: .58em; white-space: normal; }
  .portrait-hero__role { margin-top: 38px; font-size: 24px; }
  .portrait-hero__promise { font-size: 15px; }
  .portrait-hero__actions { flex-wrap: wrap; }
  .portrait-hero__button { flex: 1 1 190px; }
  .portrait-hero__foot { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .portrait-hero *,
  .portrait-hero *::before,
  .portrait-hero *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  .portrait-hero__network,
  .portrait-hero__portrait-stage { transform: none; }
}
