:root {
  --acid: #efff00;
  --ink: #0b2028;
  --black: #07090a;
  --white: #f4f5f0;
  --blue: #05a9e7;
  --page: clamp(22px, 5.5vw, 92px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Arial, Helvetica, sans-serif;
}

body.lightbox-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.portrait-header {
  position: absolute;
  z-index: 20;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px var(--page);
  color: var(--white);
}

.portrait-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
}

.portrait-brand-mark {
  padding: 10px 13px;
  color: var(--ink);
  background: var(--acid);
  font-size: 10px;
  letter-spacing: 0;
}

.portrait-header nav {
  display: flex;
  gap: clamp(22px, 4vw, 60px);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.portrait-header a:focus-visible,
.portrait-header a:hover {
  color: var(--acid);
}

.portrait-hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  color: var(--white);
  background: var(--black);
}

.portrait-hero-image,
.portrait-hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.portrait-hero-image {
  object-fit: cover;
  object-position: center;
}

.portrait-hero-shade {
  background: linear-gradient(90deg, rgba(7, 9, 10, .82) 0%, rgba(7, 9, 10, .38) 44%, transparent 70%);
}

.portrait-hero-copy {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: var(--page);
  width: min(720px, 76vw);
  transform: translateY(-45%);
}

.portrait-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  font-family: "Courier New", Courier, monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.portrait-kicker span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--acid);
}

.portrait-hero h1 {
  margin: 0;
  font-size: clamp(64px, 11vw, 180px);
  font-weight: 900;
  letter-spacing: -.075em;
  line-height: .78;
  text-transform: uppercase;
}

.portrait-hero h1 span {
  display: block;
}

.portrait-lead {
  max-width: 520px;
  margin: clamp(30px, 5vh, 58px) 0 0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  line-height: 1.8;
}

.portrait-sequence {
  position: absolute;
  z-index: 2;
  right: var(--page);
  bottom: 32px;
  margin: 0;
  color: var(--acid);
  font-family: "Courier New", Courier, monospace;
  font-size: 10px;
  letter-spacing: .16em;
  writing-mode: vertical-rl;
}

.portrait-scroll {
  position: absolute;
  z-index: 2;
  bottom: 32px;
  left: var(--page);
  display: flex;
  gap: 34px;
  align-items: center;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(244, 245, 240, .5);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.portrait-scroll span {
  color: var(--acid);
}

.portrait-intro {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 0 var(--page);
  border-bottom: 1px solid rgba(11, 32, 40, .22);
  background: var(--acid);
}

.portrait-intro p {
  margin: 0;
  padding: 18px 16px;
  border-right: 1px solid rgba(11, 32, 40, .28);
  font-family: "Courier New", Courier, monospace;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.portrait-intro p:first-child {
  padding-left: 0;
}

.portrait-intro p:last-child {
  border-right: 0;
}

.portrait-gallery {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(16px, 2.5vw, 40px);
  padding: clamp(90px, 12vw, 180px) var(--page);
  background:
    repeating-linear-gradient(0deg, transparent 0 95px, rgba(11, 32, 40, .06) 95px 96px),
    var(--white);
}

.portrait-gallery-heading {
  grid-column: 1 / 9;
  padding-bottom: clamp(34px, 6vw, 80px);
}

.portrait-gallery-heading h2,
.portrait-campaign h2 {
  margin: 0;
  font-size: clamp(82px, 14vw, 220px);
  font-weight: 900;
  letter-spacing: -.085em;
  line-height: .72;
  text-transform: uppercase;
}

.portrait-gallery-heading h2::first-line {
  color: var(--blue);
}

.portrait-photo {
  position: relative;
  display: block;
  overflow: hidden;
  padding: 0;
  border: 0;
  background: #dfe9ec;
  cursor: zoom-in;
}

.portrait-photo::after {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(11, 32, 40, .15);
  content: "";
  pointer-events: none;
}

.portrait-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms cubic-bezier(.22, 1, .36, 1);
}

.portrait-photo:hover img,
.portrait-photo:focus-visible img {
  transform: scale(1.025);
}

.portrait-photo:focus-visible {
  outline: 4px solid var(--acid);
  outline-offset: 4px;
}

.portrait-photo > span {
  position: absolute;
  z-index: 2;
  top: 14px;
  left: 14px;
  padding: 9px 11px;
  color: var(--ink);
  background: var(--acid);
  font-family: "Courier New", Courier, monospace;
  font-size: 12px;
}

.portrait-photo-01 {
  grid-column: 1 / 6;
  aspect-ratio: 2 / 3;
}

.portrait-photo-02 {
  grid-column: 7 / 13;
  align-self: end;
  aspect-ratio: 3 / 2;
}

.portrait-photo-03 {
  grid-column: 8 / 13;
  margin-top: clamp(30px, 7vw, 110px);
  aspect-ratio: 2 / 3;
}

.portrait-photo-04 {
  grid-column: 1 / 8;
  align-self: center;
  aspect-ratio: 3 / 2;
}

.portrait-photo-05 {
  grid-column: 1 / 13;
  margin-top: clamp(34px, 7vw, 120px);
  aspect-ratio: 3 / 2;
}

.portrait-photo-06 {
  grid-column: 5 / 10;
  margin-top: clamp(34px, 7vw, 110px);
  aspect-ratio: 2 / 3;
}

.portrait-photo-07 {
  grid-column: 1 / 6;
  margin-top: clamp(50px, 9vw, 150px);
  aspect-ratio: 2 / 3;
}

.portrait-photo-08 {
  grid-column: 7 / 13;
  align-self: end;
  aspect-ratio: 3 / 2;
}

.portrait-photo-09 {
  grid-column: 8 / 13;
  margin-top: clamp(30px, 7vw, 110px);
  aspect-ratio: 2 / 3;
}

.portrait-photo-10 {
  grid-column: 1 / 8;
  align-self: center;
  aspect-ratio: 3 / 2;
}

.portrait-photo-11 {
  grid-column: 1 / 6;
  margin-top: clamp(50px, 9vw, 150px);
  aspect-ratio: 2 / 3;
}

.portrait-photo-12 {
  grid-column: 7 / 13;
  align-self: center;
  aspect-ratio: 3 / 2;
}

.portrait-photo-13 {
  grid-column: 8 / 13;
  margin-top: clamp(34px, 7vw, 110px);
  aspect-ratio: 2 / 3;
}

.portrait-photo-14 {
  grid-column: 1 / 8;
  align-self: center;
  aspect-ratio: 3 / 2;
}

.portrait-photo-15 {
  grid-column: 1 / 13;
  margin-top: clamp(34px, 7vw, 120px);
  aspect-ratio: 3 / 2;
}

.portrait-photo-16 {
  grid-column: 1 / 6;
  margin-top: clamp(34px, 7vw, 110px);
  aspect-ratio: 2 / 3;
}

.portrait-photo-17 {
  grid-column: 7 / 13;
  align-self: center;
  aspect-ratio: 3 / 2;
}

.portrait-photo-18 {
  grid-column: 1 / 13;
  margin-top: clamp(34px, 7vw, 120px);
  aspect-ratio: 3 / 2;
}

.portrait-campaign {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 42vw);
  gap: clamp(44px, 9vw, 150px);
  align-items: center;
  padding: clamp(90px, 12vw, 180px) var(--page);
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(239, 255, 0, .05) 1px, transparent 1px),
    var(--black);
  background-size: 72px 100%, 100% 100%;
}

.portrait-campaign .portrait-kicker {
  color: var(--acid);
}

.portrait-campaign h2 {
  font-size: clamp(62px, 9vw, 150px);
}

.portrait-campaign dl {
  margin: clamp(46px, 7vw, 90px) 0 0;
}

.portrait-campaign dl div {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 20px;
  padding: 14px 0;
  border-top: 1px solid rgba(244, 245, 240, .25);
  font-family: "Courier New", Courier, monospace;
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.portrait-campaign dt {
  color: var(--acid);
}

.portrait-campaign dd {
  margin: 0;
}

.portrait-campaign-image {
  aspect-ratio: 730 / 1033;
}

.portrait-back {
  padding: clamp(80px, 11vw, 160px) var(--page);
  color: var(--ink);
  background: var(--acid);
}

.portrait-back p {
  margin: 0 0 24px;
  font-family: "Courier New", Courier, monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.portrait-back a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  font-size: clamp(48px, 9vw, 150px);
  font-weight: 900;
  letter-spacing: -.065em;
  line-height: .9;
  text-transform: uppercase;
}

.portrait-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 24px var(--page);
  color: rgba(244, 245, 240, .6);
  background: var(--black);
  font-family: "Courier New", Courier, monospace;
  font-size: 9px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.portrait-footer p {
  margin: 0;
}

.portrait-lightbox {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  place-items: center;
  padding: clamp(18px, 4vw, 60px);
  background: rgba(7, 9, 10, .94);
  backdrop-filter: blur(10px);
}

.portrait-lightbox[hidden] {
  display: none;
}

.portrait-lightbox > img {
  max-width: calc(100% - 140px);
  max-height: calc(100svh - 80px);
  object-fit: contain;
}

.portrait-lightbox-nav {
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: 0;
  display: grid;
  width: clamp(68px, 8vw, 128px);
  height: auto;
  place-items: center;
  padding: 0;
  border: 0;
  color: var(--acid);
  background: transparent;
  cursor: pointer;
  transition: background-color 160ms ease;
}

.portrait-lightbox-nav span {
  width: 14px;
  height: 14px;
  border-top: 3px solid currentColor;
  border-right: 3px solid currentColor;
  transition: transform 160ms ease;
}

.portrait-lightbox-nav:hover,
.portrait-lightbox-nav:focus-visible {
  color: var(--acid);
  background: transparent;
}

.portrait-lightbox-nav:focus-visible {
  outline: 1px solid var(--acid);
  outline-offset: -8px;
}

.portrait-lightbox-prev {
  left: 0;
}

.portrait-lightbox-next {
  right: 0;
}

.portrait-lightbox-prev span {
  transform: rotate(-135deg) scale(1);
}

.portrait-lightbox-next span {
  transform: rotate(45deg) scale(1);
}

.portrait-lightbox-prev:hover span {
  transform: rotate(-135deg) scale(1.14);
}

.portrait-lightbox-next:hover span {
  transform: rotate(45deg) scale(1.14);
}

.portrait-lightbox-counter {
  position: absolute;
  z-index: 2;
  bottom: 18px;
  left: 50%;
  margin: 0;
  padding: 8px 12px;
  color: var(--white);
  background: rgba(7, 9, 10, .72);
  font-family: "Courier New", Courier, monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  transform: translateX(-50%);
}

.portrait-lightbox-close {
  position: absolute;
  z-index: 3;
  top: 18px;
  right: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 13px;
  border: 1px solid var(--acid);
  color: var(--ink);
  background: var(--acid);
  font-family: "Courier New", Courier, monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  cursor: pointer;
}

.portrait-lightbox-close span {
  font-size: 20px;
  line-height: .7;
}

@media (max-width: 800px) {
  .portrait-header {
    padding-top: 18px;
  }

  .portrait-header nav {
    gap: 18px;
  }

  .portrait-hero-shade {
    background: linear-gradient(90deg, rgba(7, 9, 10, .74), rgba(7, 9, 10, .14) 82%, transparent);
  }

  .portrait-intro {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .portrait-intro p:nth-child(2) {
    border-right: 0;
  }

  .portrait-intro p:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(11, 32, 40, .28);
  }

  .portrait-campaign {
    grid-template-columns: 1fr;
  }

  .portrait-campaign-image {
    width: min(560px, 100%);
    justify-self: center;
  }
}

@media (max-width: 600px) {
  .portrait-brand > span:last-child {
    display: none;
  }

  .portrait-hero-image {
    object-position: 60% center;
  }

  .portrait-hero-copy {
    top: 43%;
    width: calc(100% - var(--page) * 2);
    transform: translateY(-40%);
  }

  .portrait-hero h1 {
    font-size: clamp(54px, 17vw, 86px);
  }

  .portrait-lead {
    max-width: 260px;
    font-size: 11px;
  }

  .portrait-gallery {
    display: block;
  }

  .portrait-gallery-heading {
    padding-bottom: 54px;
  }

  .portrait-gallery-heading h2 {
    font-size: clamp(72px, 24vw, 110px);
  }

  .portrait-photo-01,
  .portrait-photo-02,
  .portrait-photo-03,
  .portrait-photo-04,
  .portrait-photo-05,
  .portrait-photo-06,
  .portrait-photo-07,
  .portrait-photo-08,
  .portrait-photo-09,
  .portrait-photo-10,
  .portrait-photo-11,
  .portrait-photo-12,
  .portrait-photo-13,
  .portrait-photo-14,
  .portrait-photo-15,
  .portrait-photo-16,
  .portrait-photo-17,
  .portrait-photo-18 {
    width: 100%;
    margin: 0 0 18px;
  }

  .portrait-back a {
    font-size: clamp(44px, 15vw, 76px);
  }

  .portrait-footer {
    display: block;
  }

  .portrait-footer p + p {
    margin-top: 10px;
  }

  .portrait-lightbox {
    padding: 12px;
  }

  .portrait-lightbox > img {
    max-width: 100%;
    max-height: calc(100svh - 110px);
  }

  .portrait-lightbox-nav {
    top: auto;
    bottom: 14px;
    width: 52px;
    height: 46px;
    transform: none;
  }

  .portrait-lightbox-prev {
    left: 14px;
  }

  .portrait-lightbox-next {
    right: 14px;
  }

  .portrait-lightbox-counter {
    bottom: 24px;
  }
}

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

  .portrait-photo img {
    transition: none;
  }
}
