:root {
  --black: #070707;
  --ink: #101010;
  --cream: #f3eee4;
  --muted: #a99f94;
  --line: rgba(243, 238, 228, 0.16);
  --red: #e53528;
  --blue: #37b8ff;
  --gold: #d89738;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px) 0 0 / 4.5rem 4.5rem,
    linear-gradient(180deg, #080808 0%, #12100f 48%, #080808 100%);
  color: var(--cream);
  font-family: "DM Sans", sans-serif;
}

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

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

.site-header {
  align-items: center;
  background: transparent;
  display: flex;
  justify-content: flex-end;
  left: 0;
  padding: 1rem clamp(1rem, 4vw, 3rem);
  position: fixed;
  right: 0;
  top: 0;
  z-index: 60;
}

.button,
.menu-button {
  font-family: "Archivo", sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.menu-button {
  align-items: center;
  background: transparent;
  border: 0;
  cursor: pointer;
  display: flex;
  height: 4.2rem;
  justify-content: center;
  padding: 0;
  position: relative;
  width: 4.2rem;
  z-index: 50;
}

.menu-button span {
  background: var(--cream);
  display: block;
  height: 0.26rem;
  position: absolute;
  transition: opacity 180ms ease, transform 220ms ease;
  width: 2.45rem;
}

.menu-button span:nth-child(1) {
  transform: translateY(-0.78rem);
}

.menu-button span:nth-child(2) {
  transform: translateY(0);
}

.menu-button span:nth-child(3) {
  transform: translateY(0.78rem);
}

.menu-button[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(0) rotate(45deg);
}

.menu-button[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  transform: translateY(0) scaleX(0);
}

.menu-button[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(0) rotate(-45deg);
}

.x-button {
  background: transparent;
  border: 0;
  cursor: pointer;
  height: 4.2rem;
  padding: 0;
  position: relative;
  width: 4.2rem;
}

.x-button span {
  background: var(--cream);
  display: block;
  height: 0.26rem;
  left: 50%;
  position: absolute;
  top: 50%;
  width: 2.45rem;
}

.x-button span:nth-child(1) {
  transform: translate(-50%, -50%) rotate(45deg);
}

.x-button span:nth-child(2) {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.site-menu {
  background: var(--black);
  color: var(--cream);
  inset: 0;
  padding: clamp(5rem, 12vw, 8rem) clamp(1.2rem, 5vw, 4rem);
  position: fixed;
  z-index: 40;
}

.site-menu[hidden] {
  display: none;
}

.site-menu nav {
  display: grid;
  gap: 0.45rem;
  margin-top: clamp(3rem, 8vw, 6rem);
}

.site-menu a {
  font-family: "Archivo", sans-serif;
  font-size: clamp(3rem, 9vw, 8rem);
  font-weight: 900;
  line-height: 0.92;
  text-transform: uppercase;
}

.site-menu a:hover,
.site-menu a:focus-visible {
  color: var(--gold);
}

.hero {
  background: var(--cream);
  display: grid;
  grid-template-columns: clamp(4.6rem, 7vw, 6.5rem) minmax(0, 1fr);
  min-height: 100vh;
  overflow: hidden;
  padding: 0;
  position: relative;
}

.eyebrow {
  color: var(--gold);
  font-family: "Archivo", sans-serif;
  font-size: 0.78rem;
  font-weight: 900;
  margin: 0 0 1rem;
  text-transform: uppercase;
}

h1,
h2 {
  font-family: "Archivo", sans-serif;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.9;
  margin: 0;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(4rem, 9vw, 9.5rem);
}

h2 {
  font-size: clamp(2.8rem, 6.5vw, 7rem);
}

.statement p,
.about-copy p,
.contact p {
  color: rgba(243, 238, 228, 0.74);
  font-size: clamp(1rem, 1.35vw, 1.18rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.button {
  align-items: center;
  border: 1px solid var(--line);
  display: inline-flex;
  min-height: 3.2rem;
  padding: 0 1.2rem;
}

.button.primary {
  background: var(--cream);
  color: var(--black);
}

.button.secondary {
  background: rgba(243, 238, 228, 0.06);
  color: var(--cream);
}

.brand-rail {
  align-items: flex-start;
  background: var(--black);
  color: var(--cream);
  display: flex;
  grid-row: 1;
  justify-content: center;
  padding-top: 7rem;
  position: relative;
  z-index: 2;
}

.brand-rail span {
  font-family: "Archivo", sans-serif;
  font-size: clamp(1.75rem, 3.7vw, 3.7rem);
  font-weight: 900;
  line-height: 0.82;
  text-transform: uppercase;
  transform: rotate(90deg);
  transform-origin: center;
  white-space: nowrap;
}

.hero-stage {
  min-height: 100vh;
  position: relative;
  z-index: 0;
}

.hero-main {
  filter: saturate(1.04) contrast(1.02);
  height: 100%;
  object-fit: cover;
  object-position: 50% 20%;
  width: 100%;
}

.marquee {
  background: var(--cream);
  bottom: 0;
  color: var(--black);
  grid-column: 1 / -1;
  left: 0;
  overflow: hidden;
  padding: 0.45rem 0;
  position: absolute;
  right: 0;
  z-index: 3;
}

.marquee-track {
  animation: ticker-left 22s linear infinite;
  display: flex;
  gap: 1.4rem;
  white-space: nowrap;
  width: max-content;
}

.marquee span {
  font-family: "Archivo", sans-serif;
  font-size: clamp(2.2rem, 6.8vw, 6.8rem);
  font-weight: 900;
  line-height: 0.9;
  text-transform: uppercase;
}

@keyframes ticker-left {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.statement {
  border-block: 1px solid var(--line);
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.72fr);
  padding: clamp(3rem, 7vw, 6rem) clamp(1rem, 4vw, 3rem);
}

.statement p {
  color: var(--cream);
  font-family: "Archivo", sans-serif;
  font-size: clamp(2.3rem, 5vw, 5.6rem);
  font-weight: 900;
  line-height: 0.95;
  margin: 0;
  max-width: 12ch;
  text-transform: uppercase;
}

.quick-facts {
  align-content: end;
  display: grid;
  gap: 0.65rem;
}

.quick-facts span {
  border-bottom: 1px solid var(--line);
  color: rgba(243, 238, 228, 0.76);
  font-family: "Archivo", sans-serif;
  font-weight: 800;
  padding: 0 0 0.75rem;
  text-transform: uppercase;
}

.portfolio,
.about,
.contact {
  padding: clamp(4rem, 8vw, 7rem) clamp(1rem, 4vw, 3rem);
}

.section-heading {
  align-items: end;
  display: flex;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.gallery {
  display: grid;
  gap: 0.75rem;
  grid-auto-flow: dense;
  grid-auto-rows: 14rem;
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.gallery-item {
  background: #161616;
  border: 1px solid var(--line);
  color: var(--cream);
  cursor: zoom-in;
  grid-column: span 2;
  min-height: 14rem;
  overflow: hidden;
  padding: 0;
  position: relative;
  text-align: left;
}

.gallery-item.large {
  grid-column: span 3;
  grid-row: span 2;
}

.gallery-item.tall {
  grid-row: span 2;
}

.gallery-item.wide {
  grid-column: span 4;
}

.gallery-item img {
  height: 100%;
  object-fit: cover;
  transition: transform 420ms ease, filter 420ms ease;
  width: 100%;
}

.gallery-item span {
  background: var(--cream);
  bottom: 0.75rem;
  color: var(--black);
  font-family: "Archivo", sans-serif;
  font-size: 0.74rem;
  font-weight: 900;
  left: 0.75rem;
  padding: 0.45rem 0.55rem;
  position: absolute;
  text-transform: uppercase;
}

.gallery-item:hover img,
.gallery-item:focus-visible img {
  filter: saturate(1.18) contrast(1.06);
  transform: scale(1.045);
}

.about {
  align-items: end;
  border-top: 1px solid var(--line);
  display: grid;
  gap: clamp(2rem, 5vw, 5rem);
  grid-template-columns: minmax(0, 0.82fr) minmax(18rem, 1fr);
}

.about-copy {
  max-width: 46rem;
}

.about-strip {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(3, 1fr);
}

.about-strip img {
  aspect-ratio: 3 / 4;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.about-strip img:nth-child(2) {
  margin-top: 3rem;
}

.contact {
  background: var(--cream);
  color: var(--black);
}

.contact .eyebrow {
  color: var(--red);
}

.contact h2 {
  max-width: 11ch;
}

.contact p {
  color: rgba(7, 7, 7, 0.66);
  max-width: 42rem;
}

.contact .button.primary {
  background: var(--black);
  color: var(--cream);
  margin-top: 1rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  color: rgba(243, 238, 228, 0.68);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  padding: 1.4rem clamp(1rem, 4vw, 3rem);
}

.lightbox {
  background: rgba(7, 7, 7, 0.95);
  border: 0;
  height: 100%;
  max-height: 100%;
  max-width: 100%;
  padding: 4.5rem 1rem 1rem;
  width: 100%;
}

.lightbox::backdrop {
  background: rgba(0, 0, 0, 0.92);
}

.lightbox img {
  height: 100%;
  margin: 0 auto;
  object-fit: contain;
  width: 100%;
}

.lightbox-close {
  position: fixed;
  right: 1rem;
  top: 1rem;
  z-index: 2;
}

@media (max-width: 900px) {
  .statement,
  .about {
    grid-template-columns: 1fr;
  }

  .hero {
    grid-template-columns: 4.8rem minmax(0, 1fr);
  }

  .brand-rail {
    padding-top: 6rem;
  }

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

  .gallery-item,
  .gallery-item.large,
  .gallery-item.wide {
    grid-column: span 1;
  }
}

@media (max-width: 560px) {
  .site-header {
    align-items: flex-start;
    padding: 0.75rem;
  }

  .hero {
    grid-template-columns: 4.25rem minmax(0, 1fr);
    min-height: 82vh;
  }

  .hero-stage {
    min-height: 82vh;
  }

  .hero-main {
    object-position: 46% 18%;
  }

  .brand-rail {
    padding-top: 5.4rem;
  }

  .brand-rail span {
    font-size: 2rem;
  }

  .marquee {
    padding: 0.35rem 0;
  }

  .gallery {
    grid-auto-rows: 21rem;
    grid-template-columns: 1fr;
  }

  .gallery-item,
  .gallery-item.large,
  .gallery-item.tall,
  .gallery-item.wide {
    grid-column: span 1;
    grid-row: span 1;
  }

  .about-strip {
    grid-template-columns: 1fr;
  }

  .about-strip img:nth-child(2) {
    margin-top: 0;
  }
}
