:root {
  --bg: #000;
  --fg: #f7f7f3;
  --muted: rgba(247, 247, 243, .66);
  --mist: rgba(247, 247, 243, .44);
  --shadow: rgba(4, 6, 6, .76);
  --accent-blue: #4A6FA5;
  --accent-blue-soft: rgba(74, 111, 165, .32);
  --accent-blue-deep: #16263D;
  --gutter: clamp(18px, 4vw, 64px);
  --ease: cubic-bezier(.65, 0, .35, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  color: var(--fg);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: Raleway, "Helvetica Neue", Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--fg);
}

img,
svg {
  display: block;
}

a {
  color: inherit;
}

.site-shell {
  min-height: 100vh;
  overflow: clip;
  background: #000;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: center;
  padding: 12vh var(--gutter);
  overflow: hidden;
  isolation: isolate;
}

.hero__content {
  position: relative;
  z-index: 1;
  width: min(1680px, 100%);
  container-type: inline-size;
}

.hero__content h1,
.hero__signature p {
  color: var(--fg);
}

html.intro-seen .hero h1 {
  background: linear-gradient(
    100deg,
    var(--mist) 0%,
    #deded8 38%,
    var(--fg) 56%,
    #c9cbc4 74%,
    var(--fg) 100%
  );
  background-size: 260% 100%;
  background-position: 100% 50%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 14px 38px var(--shadow);
}

html:not(.intro-seen) .hero__content h1,
html:not(.intro-seen) .hero__signature p {
  animation: introReveal 1.55s var(--ease) both;
  background-image: linear-gradient(
    100deg,
    var(--mist) 0%,
    #deded8 38%,
    var(--fg) 56%,
    #c9cbc4 74%,
    var(--fg) 100%
  );
  background-position: 100% 50%;
  background-size: 260% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 14px 38px var(--shadow);
}

html:not(.intro-seen) .hero__signature p {
  animation-delay: .14s;
}

html:not(.intro-seen) .hero__button {
  animation: introButtonReveal 1.15s var(--ease) .28s both;
}

.hero h1 {
  max-width: 1680px;
  margin: 0;
  font-family: Raleway, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: clamp(2.585rem, 5.5cqw, 4.785rem);
  font-weight: 300;
  line-height: 1.24;
  letter-spacing: 0;
  text-transform: none;
}

.hero__signature {
  display: inline-flex;
  width: 13.8ch;
  max-width: 100%;
  flex-direction: column;
  align-items: stretch;
  margin-top: clamp(28px, 5vw, 56px);
  font-family: Raleway, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: clamp(1.1rem, 1.705cqw, 1.452rem);
}

.hero p {
  margin: clamp(28px, 5vw, 56px) 0 0;
  color: var(--muted);
  font-family: Raleway, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: clamp(1.1rem, 1.705cqw, 1.452rem);
  font-weight: 300;
  line-height: 1.55;
  text-transform: none;
}

.hero__signature p {
  margin: 0;
  white-space: nowrap;
}

.hero__button {
  width: 100%;
  min-height: 44px;
  justify-content: center;
  margin-top: clamp(14px, 2vw, 22px);
  padding: 11px 10px;
  font-size: clamp(.76rem, .95cqw, .92rem);
  text-align: center;
  white-space: normal;
}

.hero {
  background:
    radial-gradient(circle at 0% 50%, rgba(94, 15, 8, .45), transparent 34%),
    radial-gradient(circle at 100% 50%, rgba(12, 42, 102, .43), transparent 34%),
    linear-gradient(90deg, #130101 0%, #030309 48%, #010614 100%);
}

.hero-collision {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
}

.hero-atmosphere {
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(255, 255, 255, .027), transparent 9%),
    linear-gradient(180deg, rgba(0, 0, 0, .4), transparent 24%, transparent 76%, rgba(0, 0, 0, .45));
  mix-blend-mode: screen;
  opacity: .432;
}

.hero-vignette {
  position: absolute;
  inset: -1px;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse at center, transparent 0%, transparent 46%, rgba(0, 0, 0, .46) 78%, rgba(0, 0, 0, .86) 100%),
    linear-gradient(90deg, rgba(255, 82, 37, .043), transparent 26%, transparent 74%, rgba(40, 115, 255, .043));
}

.technology-intro {
  display: grid;
  min-height: clamp(360px, 45vh, 520px);
  place-items: center;
  padding: clamp(58px, 8vw, 96px) var(--gutter);
  background: #ededeb;
  color: #080808;
}

.technology-intro__copy {
  width: min(1060px, 100%);
  text-align: center;
}

.technology-intro h2 {
  margin: 0 0 clamp(24px, 3vw, 36px);
  font-family: Raleway, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: clamp(2rem, 4.1vw, 4.6rem);
  font-weight: 300;
  line-height: 1.18;
  letter-spacing: 0;
}

.technology-intro p {
  width: min(900px, 100%);
  margin: 0 auto;
  font-family: Raleway, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: clamp(1rem, 1.45vw, 1.32rem);
  font-weight: 300;
  line-height: 1.72;
  color: rgba(8, 8, 8, .74);
}

.technology-section {
  height: 100vh;
  min-height: 620px;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, .1);
  background: #000;
}

.technology-main {
  width: 100%;
  height: 100%;
  margin: 0 auto;
  padding: clamp(14px, 2vw, 28px) var(--gutter);
}

.technology-loops {
  display: flex;
  height: 100%;
  gap: 6px;
}

.technology-loop-item {
  position: relative;
  min-width: 0;
  overflow: hidden;
  background: #090909;
  flex: 1 1 0;
  transition: flex-grow .4s cubic-bezier(.25, 1, .5, 1);
}

.technology-loops:has(.technology-loop-item:hover) .technology-loop-item {
  flex-grow: 1;
}

.technology-loops:has(.technology-loop-item:hover) .technology-loop-item:hover {
  flex-grow: 3;
}

.technology-fill {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.technology-pos-65 {
  object-position: 65% center;
}

.technology-pos-10 {
  object-position: 10% center;
}

.technology-loop-item img.technology-fill {
  transition: opacity .3s ease;
}

.technology-loop-item video.technology-fill {
  opacity: 0;
  transition: opacity .3s ease;
}

.technology-loop-item:hover img.technology-fill {
  opacity: 0;
}

.technology-loop-item:hover video.technology-fill {
  opacity: 1;
}

.technology-loop-item--video-only video.technology-fill {
  opacity: 1;
}

.technology-loop-item::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(0, 0, 0, .65) 0%, rgba(0, 0, 0, .1) 50%);
  pointer-events: none;
}

.technology-loop-title {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 24px;
  z-index: 2;
  padding: 0 8px;
  color: rgba(255, 255, 255, .9);
  font-family: Raleway, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: .62rem;
  font-weight: 500;
  letter-spacing: .16em;
  line-height: 1.5;
  text-align: center;
  text-shadow: 0 1px 8px rgba(0, 0, 0, .8);
  text-transform: uppercase;
}

.technology-loop-title::before {
  content: "";
  display: block;
  width: 20px;
  height: 1px;
  margin: 0 auto 10px;
  background: var(--accent-blue);
}

.scroll-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s ease-out, transform .7s ease-out;
}

.scroll-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.bio-copy-section {
  display: grid;
  min-height: clamp(420px, 54vh, 620px);
  place-items: center;
  padding: clamp(62px, 8vw, 108px) var(--gutter);
  background: #ededeb;
  color: #080808;
}

.bio-copy-section__inner {
  width: min(1060px, 100%);
  text-align: center;
}

.bio-copy-section p {
  width: min(980px, 100%);
  margin: 0 auto;
  font-family: Raleway, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: clamp(1rem, 1.45vw, 1.32rem);
  font-weight: 300;
  line-height: 1.72;
  color: rgba(8, 8, 8, .74);
}

.bio-copy-section p + p {
  margin-top: 1.15em;
}

.statement {
  background: #000;
  padding: clamp(48px, 7vw, 88px) var(--gutter) clamp(24px, 4vw, 48px);
}

.statement__inner {
  width: min(1120px, 100%);
  margin: 0 auto;
  container-type: inline-size;
}

.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #080808;
  overflow: hidden;
}

.video-frame img,
.video-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-frame--with-play::before,
.video-frame--with-play::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  pointer-events: none;
  transition: opacity .28s ease, transform .28s ease;
}

.video-frame--with-play::before {
  width: clamp(74px, 9vw, 132px);
  height: clamp(74px, 9vw, 132px);
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 50%;
  background: rgba(0, 0, 0, .34);
  box-shadow:
    0 22px 70px rgba(0, 0, 0, .55),
    inset 0 0 28px rgba(255, 255, 255, .08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transform: translate(-50%, -50%);
}

.video-frame--with-play::after {
  width: 0;
  height: 0;
  border-top: clamp(13px, 1.65vw, 23px) solid transparent;
  border-bottom: clamp(13px, 1.65vw, 23px) solid transparent;
  border-left: clamp(22px, 2.6vw, 38px) solid rgba(255, 255, 255, .94);
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, .42));
  transform: translate(-35%, -50%);
}

.video-frame--with-play.is-playing::before,
.video-frame--with-play.is-playing::after {
  opacity: 0;
  transform: translate(-50%, -50%) scale(.94);
}

.video-frame--with-play.is-playing::after {
  transform: translate(-35%, -50%) scale(.94);
}

.contact {
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: clamp(28px, 4vw, 52px) var(--gutter);
  border-top: 1px solid var(--accent-blue-soft);
}

.contact__button {
  display: inline-flex;
  align-items: center;
  min-height: 56px;
  padding: 16px 22px;
  border: 1px solid rgba(255, 255, 255, .8);
  border-radius: 0;
  text-decoration: none;
  font-size: clamp(17px, 2vw, 24px);
  line-height: 1.1;
  transition: background-color .2s ease, color .2s ease;
}

.contact__button:hover,
.contact__button:focus-visible {
  background: var(--accent-blue);
  border-color: var(--accent-blue);
  color: #fff;
}

.social {
  display: flex;
  align-items: center;
  gap: 12px;
}

.social a {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .36);
  text-decoration: none;
  transition: border-color .2s ease, background-color .2s ease;
}

.social a:hover,
.social a:focus-visible {
  border-color: var(--accent-blue);
  background: var(--accent-blue-soft);
}

.social svg {
  width: 21px;
  height: 21px;
  fill: currentColor;
}

.lighting-divider {
  position: relative;
  height: clamp(92px, 12vw, 160px);
  overflow: hidden;
  background: #000;
  border-top: 1px solid rgba(255, 255, 255, .08);
}

.lighting-divider__lights {
  position: absolute;
  bottom: -60px;
  left: 0;
  width: 100%;
}

.lighting-divider__lights span {
  position: relative;
  display: block;
  width: 100%;
  height: 20px;
  margin: auto;
  border-radius: 50%;
}

.lighting-divider__one {
  animation: lightingOne 5s ease-in-out infinite alternate;
}

.lighting-divider__two {
  width: 90%;
  animation: lightingTwo 4s ease-in-out infinite alternate;
}

.lighting-divider__three {
  width: 80%;
  animation: lightingThree 3s ease-in-out infinite alternate;
}

.lighting-divider__four {
  width: 70%;
  animation: lightingFour 2s ease-in-out infinite alternate;
}

.lighting-divider__five {
  width: 60%;
  animation: lightingFive 1s ease-in-out infinite alternate;
}

@media (max-width: 760px) {
  :root {
    --gutter: clamp(20px, 6vw, 28px);
  }

  .hero {
    min-height: 100svh;
    align-items: center;
    padding: 10svh var(--gutter) 12svh;
  }

  .hero h1 {
    font-size: clamp(2.25rem, 10.6vw, 3.55rem);
    line-height: 1.12;
  }

  .hero h1 br {
    display: none;
  }

  .hero__signature {
    width: min(13.8ch, 78vw);
    margin-top: clamp(22px, 5svh, 42px);
  }

  .hero__button {
    min-height: 52px;
    padding: 10px 12px;
    font-size: clamp(.92rem, 4.2vw, 1.12rem);
  }

  .technology-intro {
    min-height: auto;
    padding: clamp(58px, 14vw, 86px) var(--gutter);
    background: #ededeb !important;
    color: #080808 !important;
  }

  .technology-intro h2 {
    font-size: clamp(2.05rem, 9.2vw, 3rem);
    line-height: 1.1;
    text-align: center;
  }

  .technology-intro p {
    font-size: clamp(1.03rem, 4.45vw, 1.22rem);
    line-height: 1.55;
    text-align: center;
  }

  .technology-section {
    height: auto;
    min-height: 0;
    background: #000;
    border-top: 0;
  }

  .technology-main {
    height: auto;
    padding: 0;
  }

  .technology-loops {
    display: block;
    height: auto;
    gap: 0;
  }

  .technology-loop-item {
    height: 100svh;
    min-height: 560px;
    flex: none;
    background: #000;
    border-top: 1px solid rgba(255, 255, 255, .08);
  }

  .technology-loops:has(.technology-loop-item:hover) .technology-loop-item,
  .technology-loops:has(.technology-loop-item:hover) .technology-loop-item:hover {
    flex-grow: unset;
  }

  .technology-loop-item:hover img.technology-fill {
    opacity: 1;
  }

  .technology-fill {
    object-fit: cover;
    object-position: center;
  }

  .technology-loop-item:nth-child(1) .technology-fill {
    object-position: 66% center;
  }

  .technology-loop-item:nth-child(2) .technology-fill {
    object-position: 64% center;
  }

  .technology-loop-item:nth-child(3) .technology-fill {
    object-position: center;
  }

  .technology-loop-item:nth-child(4) .technology-fill {
    object-position: 42% center;
  }

  .technology-loop-item:nth-child(5) .technology-fill {
    object-position: center;
  }

  .technology-loop-item video.technology-fill {
    display: block;
    opacity: 0;
  }

  .technology-loop-item.is-in-view img.technology-fill {
    opacity: 0;
  }

  .technology-loop-item.is-in-view video.technology-fill,
  .technology-loop-item--video-only video.technology-fill {
    opacity: 1;
  }

  .technology-loop-item::after {
    background:
      linear-gradient(to top, rgba(0, 0, 0, .78) 0%, rgba(0, 0, 0, .28) 36%, transparent 68%),
      linear-gradient(to bottom, rgba(0, 0, 0, .42), transparent 34%);
  }

  .technology-loop-title {
    left: var(--gutter);
    right: var(--gutter);
    bottom: calc(env(safe-area-inset-bottom, 0px) + 42px);
    padding: 0;
    font-size: clamp(1.35rem, 7.2vw, 2.15rem);
    font-weight: 400;
    letter-spacing: .02em;
    line-height: 1.04;
    text-align: left;
    text-shadow: 0 12px 36px rgba(0, 0, 0, .92);
  }

  .technology-loop-title::before {
    width: 34px;
    margin: 0 0 14px;
  }

  .bio-copy-section {
    min-height: auto;
    padding: clamp(58px, 14vw, 88px) var(--gutter);
    background: #ededeb !important;
    color: #080808 !important;
  }

  .bio-copy-section__inner {
    text-align: center;
  }

  .bio-copy-section p {
    font-size: clamp(1rem, 4.35vw, 1.18rem);
    line-height: 1.58;
    color: rgba(8, 8, 8, .74);
    text-align: center;
  }

  .bio-copy-section p + p {
    margin-top: 1em;
  }

  .statement {
    padding: 28px var(--gutter) 18px;
  }

  .video-frame--with-play::before {
    width: 76px;
    height: 76px;
  }

  .video-frame--with-play::after {
    border-top-width: 14px;
    border-bottom-width: 14px;
    border-left-width: 24px;
  }

  .contact {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
    padding: 24px var(--gutter) 28px;
  }

  .contact__button {
    min-height: 48px;
    padding: 13px 16px;
    font-size: clamp(1rem, 4.5vw, 1.16rem);
  }

  .social a {
    width: 44px;
    height: 44px;
  }

  .lighting-divider {
    height: 92px;
  }
}

@media (max-width: 520px) {
  .technology-loop-item {
    min-height: 540px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .scroll-reveal {
    opacity: 1;
    transform: none;
  }
}

@keyframes introReveal {
  0% {
    clip-path: inset(0 100% 0 0);
    background-position: 100% 50%;
    opacity: .62;
    transform: translateY(10px);
  }

  100% {
    clip-path: inset(0 0 0 0);
    background-position: 0 50%;
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes introButtonReveal {
  0% {
    opacity: 0;
    transform: translateY(8px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes lightingOne {
  from {
    box-shadow: 0 0 250px 20px #473c78;
  }

  to {
    box-shadow: 0 0 100px 15px #f72a3b;
  }
}

@keyframes lightingTwo {
  from {
    box-shadow: 0 0 250px 20px #18c499;
  }

  to {
    box-shadow: 0 0 100px 15px #d8f05e;
  }
}

@keyframes lightingThree {
  from {
    box-shadow: 0 0 250px 20px #ffdd00;
  }

  to {
    box-shadow: 0 0 100px 15px #3e33ff;
  }
}

@keyframes lightingFour {
  from {
    box-shadow: 0 0 250px 20px #781848;
  }

  to {
    box-shadow: 0 0 100px 15px #f2bbe9;
  }
}

@keyframes lightingFive {
  from {
    box-shadow: 0 0 250px 20px #42f2a1;
  }

  to {
    box-shadow: 0 0 100px 15px #f4f6ad;
  }
}
