@font-face {
  font-family: "Futura PT";
  src: url("fonts/FuturaPT-Book.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Futura PT";
  src: url("fonts/FuturaPT-Medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Futura PT";
  src: url("fonts/FuturaPT-Heavy.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Futura PT";
  src: url("fonts/FuturaPT-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Futura PT";
  src: url("fonts/FuturaPT-Bold.woff") format("woff");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body {
  margin: 0;
  background: #000;
  color: #f5f5f5;
  font-family: "Futura PT", Futura, sans-serif;
  --block-gap: clamp(4rem, 9vw, 7rem);
}
img { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
a { color: inherit; }

.skip { position: absolute; left: 1rem; top: -3rem; }
.skip:focus { top: 1rem; }
.nav {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 4;
  display: flex;
  justify-content: space-between;
  padding: 1rem 1.3rem;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  mix-blend-mode: difference;
}
.nav a { text-decoration: none; }

.reel {
  position: relative;
  height: 100svh;
  overflow: hidden;
}
.reel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
}
.reel__mask {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(#000, transparent 18%, transparent 70%, #000),
    radial-gradient(ellipse at center, transparent 30%, rgba(0,0,0,.45) 100%);
}
.reel__in {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.5rem;
}
.reel__in h1 img { width: min(72vw, 600px); height: auto; }
.reel__in p {
  margin-top: 2.08rem;
  font-size: clamp(0.67rem, 1.34vw, 1.06rem);
  font-weight: 400;
  line-height: 1.93;
  letter-spacing: 0.4em;
  text-transform: uppercase;
}

.kicker {
  margin-bottom: 0.8rem;
  color: #8f8f8f;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.75rem;
  text-align: left;
}

.titlecard {
  max-width: 52rem;
  margin: 0 auto;
  padding: clamp(5rem, 12vw, 8rem) 1.4rem;
  text-align: center;
}
.titlecard h2 {
  font-size: clamp(1.8rem, 4.4vw, 3.3rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.room {
  padding: max(0px, calc(clamp(4rem, 9vw, 7rem) - 100px)) clamp(1.3rem, 5vw, 4rem) 0;
}
.pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(0.8rem, 2vw, 1.4rem);
  align-items: start;
  max-width: 78rem;
  margin: 0 auto var(--block-gap);
}
.pair .titlecard {
  max-width: none;
  margin: 0;
  padding: 0;
  text-align: left;
}
.pair .titlecard h2 {
  font-size: clamp(1.45rem, 2.3vw, 2.05rem);
}
.protocol__copy ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.protocol__copy li {
  padding: 0.75rem 0;
  border-top: 1px solid #2a2a2a;
  color: #c8c8c8;
}
.pair .protocol__copy {
  padding-top: 1.65rem;
}

.visit {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(0.8rem, 2vw, 1.4rem);
  align-items: start;
  max-width: 78rem;
  margin: 0 auto;
}
.visit__label {
  grid-column: 1 / -1;
  margin-bottom: 0.8rem;
}
.room .visit {
  row-gap: 0;
}
.formats {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: clamp(1.4rem, 3vw, 2.6rem);
}
.formats__item {
  position: relative;
  margin: 0;
  flex: 0 0 auto;
  width: min(100%, 200px);
}
.city {
  min-width: 0;
}
.formats__item img {
  width: min(100%, 200px);
  max-width: 200px;
  max-height: 200px;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
}
.formats__item figcaption {
  margin-top: 20px;
  color: #c8c8c8;
  font-size: 0.92rem;
  line-height: 1.3;
  text-align: center;
  white-space: nowrap;
}
.city h2,
.recode h2 {
  font-size: clamp(1.45rem, 2.3vw, 2.05rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.recode h2 { margin-bottom: 1.2rem; }
.city .soft {
  margin-top: 1.2rem;
  color: #a3a3a3;
  line-height: 1.5;
}
.city .protocol__copy {
  margin-top: 1.2rem;
}

.recode {
  padding: var(--block-gap) clamp(1.3rem, 5vw, 4rem) 0;
}
.recode .visit__label {
  margin-bottom: 0;
}
.recode .visit {
  position: relative;
  overflow: hidden;
  column-gap: clamp(0.8rem, 2vw, 1.4rem);
  row-gap: 0;
  grid-template-rows: auto 50px auto 50px;
}
.recode__copy {
  grid-column: 1;
  grid-row: 3;
  padding-top: calc(5.25rem + clamp(0.8rem, 2vw, 1.4rem) - 50px);
}
.recode__visual {
  grid-column: 2;
  grid-row: 2 / 5;
  position: relative;
  align-self: stretch;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
}
.recode__visual img {
  position: absolute;
  top: 50px;
  left: 0;
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  transform: translateY(-9.6875%);
}

.chapters {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: min(78rem, calc(100% - 2 * clamp(1.3rem, 5vw, 4rem)));
  margin: 0 auto;
  border-bottom: 1px solid #222;
}
.chapters__label {
  grid-column: 1 / -1;
  padding: var(--block-gap) 0 0;
}
.chapters article {
  padding: clamp(2.4rem, 6vw, 4.5rem) clamp(1.3rem, 4vw, 3rem);
  border-top: 1px solid #222;
}
.chapters article:last-child { border-left: 1px solid #222; }
.chapters span {
  display: block;
  margin-bottom: 1.2rem;
  color: #666;
  letter-spacing: 0.16em;
}
.chapters h3,
.still h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: normal;
}
.chapters h3 { margin-bottom: 0.9rem; }
.chapters p { color: #9c9c9c; max-width: 32rem; }

.still {
  padding: var(--block-gap) clamp(1.3rem, 5vw, 4rem) 0;
  background:
    linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.55)),
    url("cat.jpg") 40% 28% / cover no-repeat;
}
.still header {
  max-width: 78rem;
  margin: 0 auto;
}
.still h2 { max-width: 18ch; }
.still ol {
  width: 100%;
  max-width: 78rem;
  margin-top: 2.4rem;
  margin-left: auto;
  margin-right: auto;
  padding: 0;
  list-style: none;
}
.still ol li {
  max-width: 40rem;
}
.still li,
.credits .lead {
  color: #b8b8b8;
  font-size: 1.15rem;
}
.still li {
  padding: 1.15rem 0;
  border-top: 1px solid #262626;
}
.still b { color: #fff; font-weight: 600; }

.finale {
  position: relative;
  min-height: 92svh;
}
.finale img {
  width: 100%;
  height: 100%;
  min-height: 92svh;
  object-fit: cover;
  object-position: 40% 28%;
  filter: brightness(0.72);
}
.finale__card {
  position: absolute;
  right: clamp(1.2rem, 6vw, 5rem);
  bottom: 18%;
  width: min(28rem, 88vw);
  padding: 1.2rem 1.3rem;
  background: rgba(0,0,0,.78);
  font-size: 1.05rem;
  line-height: 1.5;
}

.credits {
  padding: var(--block-gap) clamp(1.3rem, 5vw, 4rem) 0;
  text-align: center;
  background: #000;
}
.credits .kicker {
  max-width: 78rem;
  margin: 0 auto 0.8rem;
}
.credits h2 {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 500;
  letter-spacing: -0.04em;
}
.credits h2 a {
  color: inherit;
  text-decoration: none;
}
.credits h2 u {
  text-decoration-thickness: 2px;
  text-underline-offset: 0.12em;
}
.credits p { color: #8a8a8a; }
.credits > a {
  display: inline-block;
  margin-top: 1.8rem;
  padding-bottom: 0.2rem;
  border-bottom: 1px solid #fff;
  text-decoration: none;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.partners-block {
  padding: var(--block-gap) clamp(1.3rem, 5vw, 4rem) clamp(5rem, 12vw, 8rem);
}
.partners-block .kicker {
  max-width: 78rem;
  margin: 0 auto 1.6rem;
}
.partners {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1.4rem, 4vw, 3rem);
  max-width: 78rem;
  margin: 0 auto;
  text-align: center;
}
.partners__logos {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: center;
  gap: clamp(1.2rem, 3vw, 2.5rem);
  flex: 0 0 auto;
}
.partners__brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 0 0 auto;
  gap: 0.75rem;
}
.partners__brand > a:first-child {
  display: flex;
  align-items: center;
  justify-content: center;
}
.partners__brand img {
  display: block;
  width: auto;
  height: clamp(2.2rem, 4.2vw, 3.6rem);
  max-width: none;
}
.partners__brand a {
  color: inherit;
  text-decoration: none;
}
.partners__brand a:last-child {
  padding-bottom: 0.15rem;
  border-bottom: 1px solid #fff;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
}
.partners p {
  max-width: 26rem;
  margin: 0;
  color: #a3a3a3;
  line-height: 1.45;
  text-align: left;
}

.popup {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.3rem;
  background: rgba(0, 0, 0, 0.78);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}
.popup.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.popup__list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  width: min(22rem, 100%);
}
.popup__btn {
  display: block;
  width: 100%;
  padding: 1.15rem 1.5rem;
  background: #161616;
  color: #f5f5f5;
  border: 0;
  border-radius: 0;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: 0.02em;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease;
}
.popup__btn:hover,
.popup__btn:focus-visible {
  background: #242424;
  outline: none;
}
.popup__btn:active {
  background: #2e2e2e;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
[data-reveal].is-in { opacity: 1; transform: none; }

@media (max-width: 860px) {
  .partners {
    flex-direction: column;
  }
  .partners__logos {
    width: 100%;
    gap: 1rem;
  }
  .partners__brand {
    flex: 0 0 auto;
    min-width: 0;
  }
  .partners__brand img {
    width: auto;
    height: clamp(1.6rem, 6.2vw, 2.8rem);
    max-width: none;
  }
  .chapters { grid-template-columns: 1fr; }
  .chapters article:last-child { border-left: 0; }
  .visit {
    grid-template-columns: 1fr;
    gap: 4.8rem;
  }
  .room .visit {
    row-gap: 0;
  }
  .room .formats {
    margin-top: 1.4rem;
  }
  .recode .visit {
    overflow: visible;
    grid-template-rows: auto auto auto;
    row-gap: 1.4rem;
  }
  .recode__copy {
    grid-row: auto;
    padding-top: 0;
  }
  .recode__visual {
    grid-column: 1;
    grid-row: auto;
    position: relative;
    overflow: hidden;
    height: 22rem;
  }
  .recode__visual img {
    top: 0;
    width: 100%;
  }
  .room .visit .city { order: 1; }
  .room .visit .formats { order: 2; }
  .formats {
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    gap: 1rem;
    width: 100%;
  }
  .formats__item {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
    max-width: 9.5rem;
  }
  .formats__item img {
    width: 100%;
    max-width: none;
  }
  .formats__item figcaption {
    white-space: normal;
    font-size: 0.78rem;
  }
  .pair {
    grid-template-columns: 1fr;
    gap: 1.4rem;
  }
  .pair .protocol__copy {
    padding-top: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}
