:root {
  --charcoal: #302c2a;
  --cream: #f7f4f1;
  --rust: #af6e4e;
  --acid: #c8aa92;
  --line: rgb(247 244 241 / 0.32);
}

body {
  overflow-x: hidden;
  background: var(--charcoal);
  color: var(--cream);
}

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 0;
  display: flex;
  width: 100%;
  align-items: flex-start;
  justify-content: space-between;
  padding: 1.6rem 2vw;
}

.brand-link img {
  width: clamp(8rem, 14vw, 12rem);
}

.site-header p {
  margin: 0;
  font-family: "Raleway", sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  line-height: 1.7;
  text-align: right;
  text-transform: uppercase;
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  background: var(--rust);
}

.hero-type {
  position: absolute;
  z-index: 0;
  top: 3vh;
  left: -0.04em;
  color: #ffffff;
  opacity: 0.5;
  font-family: "Raleway", sans-serif;
  font-size: clamp(6rem, 18vw, 18rem);
  font-weight: 600;
  letter-spacing: -0.085em;
  line-height: 0.72;
}

.hero-image-frame {
  position: absolute;
  z-index: 1;
  top: 12vh;
  right: 8vw;
  width: min(50vw, 780px);
  height: 70vh;
  overflow: hidden;
}

.hero-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-copy {
  position: absolute;
  z-index: 2;
  bottom: 7vh;
  left: 3vw;
  max-width: 56rem;
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(2rem, 4.8vw, 5.1rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.15;
}

.hero-copy h1 span {
  font-family: "Raleway", sans-serif;
  font-weight: 300;
}

.hero-copy > p:last-child {
  margin: 1.3rem 0 0;
  font-size: clamp(1.05rem, 1.6vw, 1.55rem);
  font-weight: 700;
  letter-spacing: 0.18em;
}

.hero-download {
  position: absolute;
  z-index: 3;
  right: 2vw;
  bottom: 2rem;
  color: #fff;
  background: var(--charcoal);
}

.manifesto {
  display: grid;
  grid-template-columns: 7vw 1fr;
  min-height: 100svh;
  border-bottom: 1px solid var(--line);
}

.manifesto-side {
  border-right: 1px solid var(--line);
}

.manifesto-side p {
  position: sticky;
  top: 2rem;
  margin: 0;
  padding: 2rem 0;
  font-family: "Raleway", sans-serif;
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  writing-mode: vertical-rl;
}

.manifesto-main {
  padding: clamp(6rem, 12vw, 12rem) 8vw;
}

.manifesto-main h2 {
  margin: 0;
  color: var(--acid);
  font-size: clamp(3rem, 8.5vw, 9rem);
  font-weight: 400;
  letter-spacing: -0.07em;
  line-height: 1.08;
}

.manifesto-copy {
  display: grid;
  grid-template-areas:
    "lead lead"
    "detail closing";
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3vw;
  width: min(64rem, 100%);
  margin: 8rem 0 0 auto;
  font-size: 0.82rem;
  line-height: 2.2;
}

.manifesto-copy .lead {
  grid-area: lead;
  margin: 0;
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  font-weight: 500;
}

.manifesto-detail {
  grid-area: detail;
  margin: 0;
}

.manifesto-closing {
  grid-area: closing;
  margin: 0;
}

.manifesto-closing p {
  margin: 0;
}

.manifesto-closing p + p {
  margin-top: 2rem;
}

.milan-gallery {
  display: grid;
  grid-template-columns: minmax(16rem, 0.55fr) minmax(0, 1.45fr);
  background: var(--cream);
  color: var(--charcoal);
}

.gallery-type {
  display: flex;
  min-height: 80svh;
  flex-direction: column;
  justify-content: space-between;
  padding: 2rem 2.5vw 3rem;
  border-right: 1px solid var(--charcoal);
}

.gallery-type p,
.works-title-block p,
.information-heading > p {
  margin: 0;
  font-family: "Raleway", sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.16em;
}

.gallery-type h2 {
  margin: 0;
  font-family: "Raleway", sans-serif;
  font-size: clamp(2rem, 4vw, 4.67rem);
  font-weight: 500;
  letter-spacing: -0.075em;
  line-height: 0.82;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.gallery-stage {
  min-width: 0;
  padding: 2rem 2vw;
}

.gallery-stage .slider-track {
  height: auto;
  aspect-ratio: 16 / 9;
}

.gallery-stage figure {
  margin: 0;
}

.gallery-stage .slider-controls {
  justify-content: flex-end;
  margin-top: 1rem;
}

.works-section {
  display: grid;
  grid-template-columns: minmax(16rem, 0.42fr) minmax(0, 1.58fr);
  border-top: 1px solid var(--line);
}

.works-title-block {
  padding: 2rem 2.5vw;
  background: var(--rust);
  color: var(--charcoal);
}

.works-title-block h2,
.information-heading h2 {
  position: sticky;
  top: 2rem;
  margin: 5rem 0 0;
  font-family: "Raleway", sans-serif;
  font-size: clamp(2.35rem, 4.67vw, 5.35rem);
  font-weight: 600;
  letter-spacing: -0.08em;
  line-height: 0.82;
}

.works-title-block h2 {
  z-index: 9999;
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.work-card {
  min-width: 0;
  padding: 1.5rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.work-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: saturate(0.76) contrast(1.08);
}

.work-card--onyx-3 img {
  filter: none;
}

.work-card--onyx-4 img {
  object-position: 20% center;
}

.works-credits {
  grid-column: 1 / -1;
  padding: 1.5rem;
  background: var(--rust);
  color: var(--charcoal);
}

.works-credits__inner {
  width: calc((100% - 3rem) / 3);
  margin-left: auto;
}

.works-credits p {
  margin: 0;
  font-family: "Raleway", sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.04em;
  line-height: 1.7;
}

.works-credits p + p {
  margin-top: 0.4rem;
}

.work-card h3 {
  margin: 0;
  font-family: "Raleway", sans-serif;
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 300;
  letter-spacing: -0.04em;
}

.work-card p {
  font-size: 0.7rem;
  letter-spacing: 0.05em;
}

.work-card .work-number {
  margin-top: 1.3rem;
  color: var(--acid);
  font-family: "Raleway", sans-serif;
}

.information-section {
  display: grid;
  grid-template-columns: minmax(16rem, 0.42fr) minmax(0, 1.58fr);
  background: var(--acid);
  color: var(--charcoal);
}

.information-heading {
  padding: 2rem 2.5vw;
  background: var(--acid);
}

.information-section .event-grid {
  border-top: 1px solid var(--charcoal);
}

.event-card {
  min-height: 40rem;
  padding: 2rem 3vw 3rem;
  border-right: 1px solid var(--charcoal);
}

.event-card h3 {
  margin-top: 6rem;
}

.event-card p,
.event-card address {
  margin: 2rem 0 0;
  font-size: 0.9rem;
}

.event-card .event-date {
  font-size: clamp(1.15rem, 1.9vw, 1.65rem);
  white-space: nowrap;
}

.event-card .city-index {
  margin-top: 0;
  font-family: "Raleway", sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
}

.information-actions {
  grid-column: 2;
  display: flex;
  align-items: end;
  justify-content: space-between;
  padding: 3rem;
  border-top: 1px solid var(--charcoal);
}

.information-actions p {
  margin: 0;
  font-size: 0.78rem;
}

.site-footer {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  min-height: 16rem;
  padding: 3rem 2vw;
  background: var(--rust);
  color: var(--charcoal);
}

.back-to-top {
  display: none;
}

.site-footer p {
  margin: 0;
  font-family: "Raleway", sans-serif;
  font-size: 0.6rem;
  letter-spacing: 0.12em;
}

@media (max-width: 760px) {
  .site-header {
    padding: 1rem;
  }

  .hero-type {
    top: 11vh;
    font-size: 28vw;
    line-height: 0.78;
  }

  .hero-image-frame {
    top: 24vh;
    right: 0;
    width: 78vw;
    height: 48vh;
  }

  .hero-copy {
    bottom: 7rem;
    left: 1rem;
  }

  .hero-download {
    top: auto;
    right: auto;
    bottom: 1.5rem;
    left: 1rem;
    min-height: 2.8rem;
    padding: 0.65rem 0.9rem;
    font-size: 0.65rem;
  }

  .manifesto {
    grid-template-columns: 2.5rem 1fr;
  }

  .manifesto-main {
    padding: 6rem 1.25rem;
  }

  .manifesto-main h2 {
    font-size: 15vw;
  }

  .manifesto-copy {
    grid-template-areas:
      "lead"
      "detail"
      "closing";
    grid-template-columns: 1fr;
    margin-top: 5rem;
  }

  .manifesto-copy .lead {
    grid-area: lead;
  }

  .milan-gallery,
  .works-section,
  .information-section {
    grid-template-columns: 1fr;
  }

  .gallery-type {
    min-height: auto;
    padding: 2rem 1.25rem;
  }

  .gallery-type h2 {
    margin-top: 2rem;
    writing-mode: horizontal-tb;
    transform: none;
  }

  .gallery-stage {
    padding: 0 1.25rem 2rem;
  }

  .gallery-stage .slider-track {
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .gallery-stage .slider-slide img {
    object-fit: contain;
  }

  .works-title-block,
  .information-heading {
    padding: 3rem 1.25rem;
  }

  .works-title-block h2,
  .information-heading h2 {
    position: static;
    margin-top: 2rem;
  }

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

  .works-credits {
    grid-column: auto;
    padding: 1.25rem;
  }

  .works-credits__inner {
    width: 100%;
  }

  .work-card {
    padding: 1.25rem;
  }

  .work-card h3 {
    font-size: clamp(2rem, 10vw, 4rem);
  }

  .information-section {
    padding-top: 0;
  }

  .event-card {
    min-height: auto;
    padding: 2rem 1.25rem 3rem;
    border-right: 0;
    border-bottom: 1px solid var(--charcoal);
  }

  .event-card h3 {
    margin-top: 3rem;
  }

  .information-actions {
    grid-column: auto;
    align-items: flex-start;
    flex-direction: column;
    gap: 2rem;
    padding: 2.5rem 1.25rem;
  }

  .site-footer {
    min-height: 14rem;
    align-items: flex-start;
    flex-direction: column;
    padding: 3rem 1.25rem;
  }

  .back-to-top {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 3000;
    display: flex;
    width: 3.5rem;
    height: 3.5rem;
    align-items: center;
    justify-content: center;
    border: 1px solid currentColor;
    border-radius: 50%;
    color: var(--charcoal);
    background: var(--acid);
    font-size: 0.65rem;
    letter-spacing: 0.12em;
    text-decoration: none;
    opacity: 0;
    pointer-events: none;
    transform: translateY(0.75rem);
    transition: opacity 0.25s ease, transform 0.25s ease;
  }

  .back-to-top.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
}
