:root {
  --background: #fff;
  --surface: #fff;
  --text: #171717;
  --muted: #73706a;
  --line: #d7d3ca;
  --max-width: 1380px;
  --page-padding: clamp(20px, 4vw, 64px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: "Inter", Arial, sans-serif;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.6;
}

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

img {
  width: 100%;
  height: auto;
}

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

a:hover,
a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.25em;
}

button {
  font: inherit;
}


/* ---------------------------------
   LANDING PAGE
---------------------------------- */

.entry-screen {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  min-height: 100vh;
  overflow: hidden;
  background: #111;
}

.entry-art {
  position: absolute;
  inset: -5%;
  background-image: url("assets/1000-front-detail.jpg");
  background-size: cover;
  background-position: center 70%;

  filter: grayscale(15%) contrast(90%);
  transform: scale(2.1);
  opacity: 0.6;
}

.entry-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to bottom,
      rgba(9, 9, 9, 0.25),
      rgba(9, 9, 9, 0.58)
    ),
    radial-gradient(
      circle at center,
      rgba(255, 255, 255, 0.08),
      transparent 52%
    );
}

.entry-content {
  position: relative;
  z-index: 2;
  width: min(92vw, 900px);
  padding: 42px;
  color: #fff;
  text-align: center;
}

.entry-name {
  margin: 0 0 12px;
  font-family: "Lexend Peta", sans-serif;
  font-size: clamp(2.2rem, 5vw, 4.6rem);
  font-weight: 400;
  letter-spacing: -0.08em;
  opacity: 0.6;
}

.entry-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px 20px;
  margin-top: 28px;
}

.entry-nav a {
  font-size: 0.74rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}


/* ---------------------------------
   SITE HEADER
---------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 66px;
  padding: 0 var(--page-padding);
  background: color-mix(
    in srgb,
    var(--background) 93%,
    transparent
  );
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(15px);
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
}

.site-name {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  gap: clamp(18px, 2.8vw, 36px);
  font-size: 0.74rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.menu-button {
  display: none;
  border: 0;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}


/* ---------------------------------
   SHARED PAGE LAYOUT
---------------------------------- */

.section,
.site-footer {
  width: min(100%, var(--max-width));
  margin-inline: auto;
  padding-inline: var(--page-padding);
}

.section {
  padding-top: clamp(90px, 12vw, 170px);
}

.section-heading {
  margin-bottom: clamp(44px, 7vw, 82px);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Lexend Peta", sans-serif;
  font-weight: 400;
  line-height: 1.08;
  font-size: clamp(1.25rem, 2vw, 2rem);
}


/* ---------------------------------
   PROJECTS PAGE
---------------------------------- */

.project + .project {
  margin-top: clamp(100px, 14vw, 190px);
}

.project-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 22px;
}

.project-series {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.project-year {
  margin: 0 0 4px;
  color: var(--muted);
}

.project-main-image {
  margin: 0;
}

.project-main-image img {
  max-height: 88vh;
  object-fit: contain;
  background: var(--surface);
}

.project-information {
  display: grid;
  grid-template-columns:
    minmax(0, 1fr)
    minmax(250px, 0.58fr);
  gap: clamp(34px, 7vw, 100px);
  margin-top: 28px;
}

.project-description {
  max-width: 44rem;
  margin: 0;
  font-family: "Lexend Peta", sans-serif;
  font-size: clamp(0.95rem, 1vw, 1.25rem);
  line-height: 1.5;
}

.project-details {
  margin: 0;
}

.project-details div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.project-details dt {
  color: var(--muted);
  font-size: 0.69rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-details dd {
  margin: 0;
}

.detail-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(12px, 2vw, 24px);
  margin-top: clamp(44px, 7vw, 86px);
}

.detail-grid figure {
  margin: 0;
}

.detail-grid img {
  width: 100%;
  height: clamp(360px, 58vw, 900px);
  object-fit: contain;
}


/* ---------------------------------
   PROCESS PAGE
---------------------------------- */

.process-section {
  padding-bottom: clamp(120px, 16vw, 240px);
}

.process-header {
  margin-bottom: clamp(48px, 7vw, 100px);
}

.process-header h1 {
  margin-bottom: 18px;
}

.process-intro-text {
  max-width: 600px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.25rem);
}


/* Process banner */

.process-banner {
  width: 100%;
  height: clamp(280px, 42vw, 620px);
  margin: 0 0 clamp(120px, 17vw, 240px);
  overflow: hidden;
  background: #111;
}

.process-banner-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 12%;
  transform: scale(1.15);
  transform-origin: center 60%;
}


/* Process composition */

.process-exploration {
  display: flex;
  flex-direction: column;
  gap: clamp(90px, 14vw, 220px);
}

.process-piece {
  margin: 0;
}

.process-piece img,
.process-inline-video {
  width: 100%;
  height: auto;
}

.process-piece figcaption {
  max-width: 420px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  line-height: 1.5;
}


/* Process sizes */

.process-tiny {
  width: min(27%, 340px);
}

.process-small {
  width: min(39%, 500px);
}

.process-medium {
  width: min(53%, 700px);
}

.process-tall {
  width: min(45%, 590px);
}

.process-large {
  width: min(70%, 920px);
}

.process-wide {
  width: min(80%, 1060px);
}

.process-almost-full {
  width: min(90%, 1220px);
}

.process-full {
  width: 100%;
}

.process-video-piece {
  width: min(48%, 650px);
}

.process-video-wide {
  width: min(76%, 1000px);
}


/* Process alignment */

.process-left {
  align-self: flex-start;
}

.process-right {
  align-self: flex-end;
}

.process-center {
  align-self: center;
}

.process-left-offset {
  align-self: flex-start;
  margin-left: clamp(4%, 9vw, 140px);
}

.process-right-offset {
  align-self: flex-end;
  margin-right: clamp(4%, 8vw, 125px);
}

.process-center-offset {
  align-self: center;
}


/* Process videos */

.process-inline-video {
  max-height: 82vh;
  object-fit: cover;
  background: #111;
}


/* Parallax */

.parallax-piece {
  --parallax-offset: 0px;

  transform: translate3d(
    0,
    var(--parallax-offset),
    0
  );

  will-change: transform;
}


/* Process hover */

.process-piece img {
  transition:
    transform 0.55s ease,
    opacity 0.55s ease;
}

.process-piece:hover img {
  transform: scale(1.006);
}


/* ---------------------------------
   ABOUT PAGE
---------------------------------- */

.about-text,
.about-contact {
  max-width: 760px;
}

.about-text p {
  margin: 0 0 1.5rem;
}

.about-contact {
  margin-top: clamp(80px, 10vw, 130px);
  padding-top: 2.5rem;
  border-top: 1px solid var(--line);
}

.about-contact h2 {
  margin-bottom: 1.25rem;
}

.contact-link {
  display: inline-block;
  margin-top: 0.75rem;
  font-family: "Lexend Peta", sans-serif;
  font-size: 1rem;
  letter-spacing: 0.06em;
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s;
}

.contact-link:hover {
  border-bottom-color: currentColor;
  text-decoration: none;
}


/* ---------------------------------
   FOOTER
---------------------------------- */

.site-footer {
  padding-top: 90px;
  padding-bottom: 28px;
  color: var(--muted);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}


/* ---------------------------------
   MOBILE
---------------------------------- */

@media (max-width: 760px) {
  .menu-button {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 65px;
    right: var(--page-padding);
    left: var(--page-padding);
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 10px 0;
    background: var(--background);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 12px 0;
  }

  .project-information {
    grid-template-columns: 1fr;
  }

  .project-details div {
    grid-template-columns: 90px 1fr;
  }

  .detail-grid {
    grid-template-columns: 1fr;
  }

  .detail-grid img {
    height: auto;
  }

  .process-exploration {
    gap: 76px;
  }

  .process-tiny,
  .process-small,
  .process-medium,
  .process-tall,
  .process-large,
  .process-wide,
  .process-almost-full,
  .process-full,
  .process-video-piece,
  .process-video-wide {
    width: 100%;
  }

  .process-left,
  .process-right,
  .process-center,
  .process-left-offset,
  .process-right-offset,
  .process-center-offset {
    align-self: stretch;
    margin-left: 0;
    margin-right: 0;
  }

  .process-banner {
    height: 52vh;
    margin-bottom: 90px;
  }

  .process-banner-video {
    transform: scale(1.05);
  }

  .parallax-piece {
    transform: none !important;
  }
}


/* ---------------------------------
   REDUCED MOTION
---------------------------------- */

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

  .parallax-piece {
    transform: none !important;
  }

  .process-piece img {
    transition: none;
  }
}