@font-face {
  font-family: "DIN Condensed";
  src:
    local("DIN Condensed"),
    local("DINCondensed-Regular"),
    local("DIN Alternate"),
    url("../fonts/DINCondensed-Regular.woff2") format("woff2"),
    url("../fonts/DINCondensed-Regular.woff") format("woff"),
    url("../fonts/DINCondensed-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Futura Condensed";
  src:
    local("Futura Condensed Medium"),
    local("Futura-CondensedMedium"),
    local("Futura Condensed"),
    url("../fonts/FuturaCondensed-Medium.woff2") format("woff2"),
    url("../fonts/FuturaCondensed-Medium.woff") format("woff"),
    url("../fonts/FuturaCondensed-Medium.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #070707;
  --bg-elevated: #111111;
  --ink: #f4efe6;
  --ink-muted: #b7b0a4;
  --line: rgba(244, 239, 230, 0.16);
  --accent: #c9a27a;
  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-sans: "Outfit", "Helvetica Neue", sans-serif;
  --font-meta: "DIN Condensed", "Arial Narrow", "Helvetica Neue", sans-serif;
  --font-name: "Futura Condensed", "Century Gothic", "Trebuchet MS", sans-serif;
  --header-h: 4.5rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: 0;
  background: none;
  color: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.abril-logo {
  display: inline-block;
  width: auto;
  max-width: 100%;
  vertical-align: middle;
}

.abril-logo--wordmark {
  height: 2rem;
}

.abril-logo--footer {
  height: 2.6rem;
  margin-bottom: 0.2rem;
}

.abril-logo--inline {
  height: 0.92em;
  vertical-align: -0.12em;
}

.abril-logo--cast {
  height: 0.95rem;
  vertical-align: -0.08em;
}

.type-name {
  font-family: var(--font-name);
  font-weight: 500;
  letter-spacing: 0.04em;
}

.cinemas-intro .abril-logo {
  height: 1.35em;
  vertical-align: -0.14em;
}

/* Header */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  padding: 0 2rem;
  background: linear-gradient(to bottom, rgba(7, 7, 7, 0.72), transparent);
  transition: background 0.4s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(7, 7, 7, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.nav-desktop {
  display: none;
  list-style: none;
  gap: 1.8rem;
}

.nav-desktop a {
  font-family: var(--font-meta);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink);
  transition: color 0.3s;
}

.nav-desktop a:hover {
  color: var(--accent);
}

.nav-toggle {
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  gap: 6px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--ink);
  transition: transform 0.35s var(--ease), opacity 0.25s;
}

.nav-toggle.is-open span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.nav-toggle.is-open span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.site-nav {
  position: fixed;
  inset: 0;
  z-index: 39;
  background: rgba(7, 7, 7, 0.97);
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0.4s;
}

.site-nav.is-open {
  opacity: 1;
  visibility: visible;
}

.site-nav ul {
  list-style: none;
  text-align: center;
}

.site-nav a {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  font-weight: 400;
  line-height: 1.2;
  display: block;
  padding: 0.2em 0;
  transition: color 0.3s;
}

.site-nav a:hover {
  color: var(--accent);
}

/* Hero */

.hero {
  position: relative;
  display: block;
  isolation: isolate;
}

.hero-media {
  position: relative;
  overflow: hidden;
  background: #000;
}

.hero-media picture {
  display: block;
}

.hero-media img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: center center;
}

.hero-copy {
  width: min(1120px, calc(100% - 3rem));
  margin: 0 auto;
  padding: 1.5rem 0 3rem;
  text-align: center;
}

.hero-copy h1 {
  font-size: clamp(4.6rem, 14vw, 10.5rem);
  line-height: 0.9;
  margin-bottom: 0.05em;
}

.hero-year {
  font-family: var(--font-meta);
  margin: 0 0 1rem;
  font-size: 0.78rem;
  letter-spacing: 0.46em;
  text-indent: 0.46em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-top: 0;
}

.btn {
  font-family: var(--font-meta);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 11.5rem;
  padding: 0.95rem 1.7rem;
  border: 1px solid var(--ink);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}

.btn:hover,
.btn:focus-visible {
  background: var(--ink);
  color: var(--bg);
}

.btn-ghost {
  border-color: var(--line);
}

/* Sections */

.section {
  width: min(1120px, calc(100% - 3rem));
  margin: 0 auto;
  padding: 5.5rem 0;
}

.section--credits {
  padding-top: 3rem;
  padding-bottom: 3.5rem;
}

.credits {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 46rem;
  margin: 0 auto;
  padding: 2.8rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.credits-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  width: 100%;
}

.credits-divider {
  width: 1px;
  height: 3.2rem;
  background: linear-gradient(to bottom, transparent, var(--line) 20%, var(--line) 80%, transparent);
  flex-shrink: 0;
}

.credit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
}

.credit dt {
  font-family: var(--font-meta);
  font-size: 0.62rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin: 0;
}

.credit dd {
  font-family: var(--font-meta);
  font-size: clamp(1.15rem, 1.8vw, 1.35rem);
  font-weight: 400;
  line-height: 1.2;
  margin: 0;
  color: var(--ink);
}

.credit--director dd {
  font-size: clamp(1.45rem, 2.4vw, 1.85rem);
}

.credit--cast {
  width: 100%;
  margin-top: 2.4rem;
  padding-top: 2.2rem;
  border-top: 1px solid var(--line);
}

.credit--cast dd {
  width: 100%;
}

.credit-cast {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.45rem 0;
  margin-top: 0.35rem;
}

.credit-cast li {
  font-family: var(--font-meta);
  font-size: clamp(0.92rem, 1.35vw, 1.05rem);
  line-height: 1.4;
  letter-spacing: 0.03em;
  color: var(--ink);
}

.credit-cast li:not(:last-child)::after {
  content: "·";
  margin: 0 1.15rem;
  color: rgba(244, 239, 230, 0.28);
  font-weight: 300;
}

.credit dd .type-name {
  font-size: 1em;
}

.synopsis-wrap {
  max-width: 42rem;
}

.kicker {
  font-family: var(--font-meta);
  font-size: 0.68rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.4rem;
}

.synopsis h2,
.cinemas h2,
.cast h2 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 400;
  line-height: 1;
  margin-bottom: 1.6rem;
}

.synopsis p {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.2vw, 1.55rem);
  font-weight: 400;
  line-height: 1.45;
  color: #ebe4d8;
  max-width: 38rem;
}

.meta-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.15rem 1.5rem;
  margin-top: 2.6rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.meta-list div span {
  font-family: var(--font-meta);
  display: block;
  font-size: 0.66rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 0.3rem;
}

.meta-list div strong {
  font-family: var(--font-meta);
  font-weight: 400;
  font-size: 0.95rem;
}

/* Cast */

.cast-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1.5rem;
}

.cast-card {
  display: block;
}

.cast-card .photo {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #1a1917;
  margin-bottom: 0.9rem;
}

.cast-card .photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.35) contrast(1.05);
  transition: transform 0.7s var(--ease), filter 0.7s var(--ease);
}

.cast-card:hover .photo img {
  transform: scale(1.04);
  filter: grayscale(0) contrast(1.08);
}

.monogram {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 4.5rem;
  color: var(--accent);
  background:
    linear-gradient(180deg, #161513, #0d0c0b);
}

.cast-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
}

.cast-card h3.type-name {
  font-family: var(--font-name);
  font-weight: 500;
  letter-spacing: 0.04em;
}

.cast-card p {
  font-family: var(--font-meta);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-top: 0.2rem;
}

/* Cinemas */

.cinemas-intro {
  font-family: var(--font-meta);
  max-width: 36rem;
  color: var(--ink-muted);
  margin-bottom: 2.4rem;
}

.chain-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-bottom: 2.8rem;
}

.chain-row a,
.filter-btn {
  font-family: var(--font-meta);
  border: 1px solid var(--line);
  padding: 0.7rem 1rem;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: border-color 0.3s, color 0.3s, background 0.3s;
}

.chain-row a:hover,
.filter-btn:hover,
.filter-btn.is-active {
  border-color: var(--ink);
  color: var(--bg);
  background: var(--ink);
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1.8rem;
}

.cinema-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.cinema-card {
  background: var(--bg);
  padding: 1.6rem 1.5rem 1.35rem;
  display: flex;
  flex-direction: column;
  min-height: 11.5rem;
  transition: background 0.35s;
}

.cinema-card:hover {
  background: var(--bg-elevated);
}

.cinema-card .chain {
  font-family: var(--font-meta);
  font-size: 0.66rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.55rem;
}

.cinema-card h3 {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 500;
  line-height: 1.15;
  margin-bottom: 0.45rem;
}

.cinema-card p {
  color: var(--ink-muted);
  font-size: 0.92rem;
  flex: 1;
}

.cinema-card .tag {
  font-family: var(--font-meta);
  margin-top: 0.75rem;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.cinema-card__cta {
  font-family: var(--font-meta);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  margin-top: 1.15rem;
  padding: 0.78rem 1.25rem;
  border: 1px solid var(--ink);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink);
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.cinema-card__cta:hover,
.cinema-card__cta:focus-visible {
  background: var(--ink);
  color: var(--bg);
}

.note {
  font-family: var(--font-meta);
  margin-top: 1.6rem;
  color: var(--ink-muted);
  font-size: 0.88rem;
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 4rem 0 2.2rem;
}

.footer-inner {
  width: min(1120px, calc(100% - 3rem));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 3rem;
}

.site-footer h2,
.site-footer h3 {
  font-family: var(--font-display);
  font-weight: 500;
}

.site-footer h2 {
  margin-bottom: 0.7rem;
}

.site-footer h3 {
  font-size: 1.05rem;
  margin-bottom: 1rem;
}

.site-footer p,
.site-footer li,
.site-footer a {
  font-family: var(--font-meta);
  color: var(--ink-muted);
  font-size: 0.92rem;
}

.site-footer ul {
  list-style: none;
}

.site-footer li + li {
  margin-top: 0.45rem;
}

.site-footer a:hover {
  color: var(--ink);
}

.socials {
  display: flex;
  gap: 1.1rem;
  margin-top: 1.4rem;
}

.socials a {
  width: 2.4rem;
  height: 2.4rem;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  transition: border-color 0.3s, color 0.3s;
}

.socials a:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.socials svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

.legal {
  font-family: var(--font-meta);
  width: min(1120px, calc(100% - 3rem));
  margin: 2.8rem auto 0;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  color: var(--ink-muted);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Modal */

.modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(0, 0, 0, 0.86);
  display: grid;
  place-items: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s, visibility 0.35s;
}

.modal.is-open {
  opacity: 1;
  visibility: visible;
}

.modal-dialog {
  width: min(960px, 100%);
  position: relative;
}

.modal-dialog video,
.modal-dialog iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  background: #000;
  border: 0;
}

.modal-close {
  position: absolute;
  top: -2.4rem;
  right: 0;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

body.is-locked {
  overflow: hidden;
}

@media (min-width: 901px) {
  .nav-desktop {
    display: flex;
  }

  .nav-toggle,
  .site-nav {
    display: none;
  }
}

@media (max-width: 1100px) {
  .cast-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 900px) {
  .synopsis-wrap,
  .cinema-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }

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

  .section {
    padding: 3.8rem 0;
  }

  .section--credits {
    padding-top: 2.4rem;
    padding-bottom: 2.8rem;
  }
}

@media (max-width: 768px) {
  .hero-copy {
    width: calc(100% - 2.3rem);
    padding: 1.35rem 0 2rem;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 0 1.15rem;
  }

  .section,
  .hero-copy,
  .footer-inner,
  .legal {
    width: calc(100% - 2.3rem);
  }

  .hero-actions .btn {
    width: 100%;
  }

  .cinema-card__cta {
    align-self: stretch;
    width: 100%;
  }

  .credits {
    padding: 2rem 0;
  }

  .credits-primary {
    flex-direction: column;
    gap: 1.6rem;
  }

  .credits-divider {
    width: 3rem;
    height: 1px;
    background: var(--line);
  }

  .credit--cast {
    margin-top: 1.8rem;
    padding-top: 1.8rem;
  }

  .credit-cast {
    flex-direction: column;
    gap: 0.35rem;
  }

  .credit-cast li:not(:last-child)::after {
    display: none;
  }
}
