: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));
}

.scroll-gallery {
  min-height: 265vh;
  position: relative;
}

.gallery-sticky {
  position: sticky;
  top: 0;
  min-height: 100vh;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.grid {
  --offset: 0;
  --gap: clamp(10px, 7.35vw, 80px);
  width: 1600px;
  max-width: calc(100vw - (2 * var(--gutter)));
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  grid-template-rows: repeat(3, auto);
  gap: var(--gap);
  align-content: center;
  margin: 0 auto;
}

.grid figure {
  margin: 0;
}

.grid img,
.grid video {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border: 0;
  border-radius: 1rem;
  box-shadow: none;
  display: block;
}

.layer {
  display: grid;
  grid-column: 1 / -1;
  grid-row: 1 / -1;
  grid-template-columns: subgrid;
  grid-template-rows: subgrid;
  opacity: 0;
  scale: 0;
  transform-origin: center;
  will-change: opacity, scale;
}

.layer--outer figure:nth-child(odd) {
  grid-column: 1;
}

.layer--outer figure:nth-child(even) {
  grid-column: -2;
}

.layer--inner figure:nth-child(odd) {
  grid-column: calc(2 + var(--offset));
}

.layer--inner figure:nth-child(even) {
  grid-column: calc(-3 - var(--offset));
}

.layer figure:nth-child(1),
.layer figure:nth-child(2) {
  grid-row: 1;
}

.layer figure:nth-child(3),
.layer figure:nth-child(4) {
  grid-row: 2;
}

.layer figure:nth-child(5),
.layer figure:nth-child(6) {
  grid-row: 3;
}

.layer--center figure:first-child {
  grid-column: calc(3 + var(--offset));
  grid-row: 1;
}

.layer--center figure:last-child {
  grid-column: calc(3 + var(--offset));
  grid-row: 3;
}

.scaler {
  position: relative;
  z-index: 2;
  grid-column: calc(3 + var(--offset));
  grid-row: 2;
  aspect-ratio: 4 / 5;
}

.scaler img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: var(--hero-w, 100vw);
  height: var(--hero-h, 100vh);
  max-width: none;
  aspect-ratio: auto;
  translate: -50% -50%;
  object-fit: cover;
  border-radius: var(--hero-radius, 0px);
  box-shadow: none;
  will-change: width, height, border-radius;
}

.statement {
  background: #000;
  padding: clamp(84px, 13vw, 180px) var(--gutter) clamp(72px, 10vw, 132px);
}

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

.eyebrow {
  margin: 0 0 clamp(28px, 4vw, 44px);
  color: var(--muted);
  font-size: clamp(18px, 1.9vw, 30px);
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
}

.statement__text {
  max-width: 980px;
  margin-bottom: clamp(46px, 7vw, 86px);
}

.statement__text p {
  --fill: 0%;
  margin: 0;
  font-family: Raleway, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: clamp(1.551rem, 3.3cqw, 2.871rem);
  line-height: 1.24;
  font-weight: 300;
  letter-spacing: 0;
  text-transform: none;
  -webkit-background-clip: text;
  background-clip: text;
  background-color: rgba(255, 255, 255, .24);
  background-image: linear-gradient(135deg, #fff 50%, rgba(255, 255, 255, .24) 60%);
  background-position: 0 0;
  background-repeat: no-repeat;
  background-size: var(--fill) 200%;
  color: transparent;
  display: block;
  will-change: background-size;
}

.statement__text p + p {
  margin-top: .15em;
}

.statement__text strong {
  font-weight: 700;
}

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

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

.contact {
  min-height: 48vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: clamp(52px, 8vw, 92px) 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(120px, 16vw, 210px);
  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;
}

.bio-note {
  position: relative;
  display: grid;
  min-height: clamp(420px, 56vw, 680px);
  place-items: center;
  padding: clamp(72px, 10vw, 140px) var(--gutter);
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, .16);
  background-image:
    linear-gradient(rgba(0, 0, 0, .58), rgba(0, 0, 0, .72)),
    url("assets/images/ARTBACK.jpg");
  background-position: center;
  background-size: cover;
}

.bio-note::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, .08), transparent 42%),
    linear-gradient(90deg, rgba(0, 0, 0, .34), transparent 28%, transparent 72%, rgba(0, 0, 0, .34));
  pointer-events: none;
}

.bio-note__copy {
  position: relative;
  z-index: 1;
  max-width: 1040px;
  margin: 0;
}

.bio-note p {
  margin: 0;
  color: rgba(255, 255, 255, .9);
  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-align: center;
  text-shadow: 0 12px 32px rgba(0, 0, 0, .72);
}

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

@media (max-width: 760px) {
  .hero h1 {
    font-size: clamp(2.2rem, 9.6cqw, 3.5rem);
    line-height: 1.16;
  }

  .hero h1 br {
    display: none;
  }

  .scroll-gallery {
    min-height: 235vh;
  }

  .grid {
    --offset: -1;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: calc(100vw - (2 * var(--gutter)));
  }

  .layer--outer {
    display: none;
  }

  .grid img,
  .grid video {
    border-radius: 1rem;
  }

  .contact {
    min-height: 38vh;
    align-items: flex-start;
    flex-direction: column;
  }
}

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

  .statement__text p {
    --fill: 200%;
  }

  .scroll-gallery {
    min-height: 100vh;
  }

  .gallery-sticky {
    position: relative;
  }

  .layer {
    opacity: 1;
    scale: 1;
  }

  .scaler img {
    width: 100%;
    height: 100%;
    border-radius: 8px;
  }
}

@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;
  }
}
