:root {
  --night: #050a16;
  --night-soft: #0a1225;
  --panel: #0d172b;
  --panel-light: #121f36;
  --gold: #d6ad55;
  --gold-light: #f2d590;
  --ivory: #f2eee5;
  --muted: #aab3c4;
  --line: rgba(255, 255, 255, 0.12);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
  --sans: Inter, Montserrat, "Segoe UI", Arial, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
  --wrap: min(1240px, calc(100% - 48px));
  --cinecast-logo-width: 96px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  background: var(--night);
  color: var(--ivory);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  background:
    radial-gradient(circle at 85% 15%, rgba(30, 92, 162, 0.18), transparent 34%),
    radial-gradient(circle at 8% 72%, rgba(214, 173, 85, 0.08), transparent 26%);
  content: "";
  pointer-events: none;
}

body.dialog-open {
  overflow: hidden;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 4px;
}

.wrap {
  width: var(--wrap);
  margin-inline: auto;
}

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

.screen-reader-text:focus {
  z-index: 100000;
  top: 10px;
  left: 10px;
  width: auto;
  height: auto;
  padding: 12px 18px;
  clip: auto;
  background: var(--ivory);
  color: var(--night);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold-light);
  font-size: 0.73rem;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin-top: 0;
  color: #fff;
  line-height: 1.05;
}

h1,
h2 {
  font-family: var(--serif);
  font-weight: 500;
}

h2 {
  font-size: clamp(2.25rem, 5vw, 4.75rem);
  letter-spacing: -0.035em;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 14px 25px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1.25;
  text-align: center;
  text-transform: uppercase;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button--gold {
  background: linear-gradient(135deg, var(--gold-light), #b8862f);
  color: #0b101a;
  box-shadow: 0 12px 34px rgba(214, 173, 85, 0.2);
}

.button--gold:hover {
  background: linear-gradient(135deg, #ffe6a8, var(--gold));
}

.button--ghost {
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(0, 0, 0, 0.16);
  color: #fff;
  backdrop-filter: blur(8px);
}

.button--ghost:hover {
  border-color: var(--gold-light);
  color: var(--gold-light);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border-bottom: 1px solid rgba(214, 173, 85, 0.5);
  color: var(--gold-light);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.text-link span {
  transition: transform 180ms ease;
}

.text-link:hover span {
  transform: translateX(5px);
}

/* En-tête */
.site-header {
  position: fixed;
  z-index: 1000;
  top: 0;
  right: 0;
  left: 0;
  border-bottom: 1px solid transparent;
  background: linear-gradient(180deg, rgba(2, 6, 14, 0.76), transparent);
  transition: background 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(5, 10, 22, 0.92);
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(18px);
}

.site-header__inner {
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  position: relative;
  z-index: 2;
  display: inline-flex;
  width: var(--cinecast-logo-width);
  align-items: center;
}

.brand > a {
  display: inline-flex;
  width: 100%;
  align-items: center;
}

.brand img,
.brand .custom-logo {
  width: var(--cinecast-logo-width);
  max-height: 52px;
  object-fit: contain;
  object-position: left center;
}

.custom-logo-link {
  display: inline-flex;
}

.site-nav .menu {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.6vw, 38px);
  padding: 0;
  margin: 0;
  list-style: none;
}

.site-nav a {
  position: relative;
  display: block;
  padding: 12px 0;
  color: rgba(255, 255, 255, 0.83);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 5px;
  left: 0;
  height: 1px;
  background: var(--gold);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.site-nav a:hover,
.site-nav .current-menu-item > a,
.site-nav a.is-active {
  color: #fff;
}

.site-nav a:hover::after,
.site-nav .current-menu-item > a::after,
.site-nav a.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
}

.menu-toggle__line {
  display: block;
  width: 100%;
  height: 1px;
  margin: 6px 0;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

/* Ouverture */
.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}

.hero__media,
.hero__veil {
  position: absolute;
  inset: 0;
}

.hero__media {
  z-index: -3;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  animation: hero-breathe 14s ease-out both;
}

.hero__veil {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(2, 6, 14, 0.96) 0%, rgba(3, 7, 16, 0.76) 40%, rgba(3, 7, 16, 0.14) 80%),
    linear-gradient(0deg, var(--night) 0%, transparent 35%, rgba(1, 4, 10, 0.18) 100%);
}

.hero::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 100% 4px;
  content: "";
  opacity: 0.35;
  pointer-events: none;
}

.hero__content {
  position: relative;
  max-width: 820px;
  padding-top: 168px;
  padding-bottom: clamp(100px, 13vh, 155px);
}

.hero__label {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.hero__label span {
  padding: 7px 10px;
  border: 1px solid rgba(242, 213, 144, 0.52);
  background: rgba(7, 12, 24, 0.58);
  color: var(--gold-light);
  backdrop-filter: blur(10px);
}

.hero h1 {
  max-width: 820px;
  margin-bottom: 28px;
  font-size: clamp(3.8rem, 8vw, 7.5rem);
  letter-spacing: -0.05em;
  line-height: 0.82;
  text-wrap: balance;
}

.hero h1 > span,
.hero h1 > small {
  display: block;
}

.hero h1 > small {
  margin-top: 0.5em;
  color: var(--gold-light);
  font-family: var(--sans);
  font-size: 0.2em;
  font-weight: 800;
  letter-spacing: 0.24em;
  line-height: 1.2;
  text-transform: uppercase;
}

.hero__lead {
  display: -webkit-box;
  max-width: 650px;
  overflow: hidden;
  margin: 0 0 34px;
  color: rgba(242, 238, 229, 0.86);
  font-family: var(--serif);
  font-size: clamp(1.08rem, 2vw, 1.42rem);
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button__play {
  width: 0;
  height: 0;
  margin-right: 10px;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 8px solid currentColor;
}

.hero__format {
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.54);
  font-size: 0.66rem;
  font-weight: 750;
  letter-spacing: 0.15em;
}

.hero__scroll {
  position: absolute;
  right: 38px;
  bottom: 34px;
  display: grid;
  width: 42px;
  height: 58px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 24px;
}

.hero__scroll span {
  width: 4px;
  height: 10px;
  border-radius: 3px;
  background: var(--gold-light);
  animation: scroll-pulse 1.8s ease-in-out infinite;
}

@keyframes hero-breathe {
  from { transform: scale(1.06); }
  to { transform: scale(1); }
}

@keyframes scroll-pulse {
  0%, 100% { opacity: 0.35; transform: translateY(-7px); }
  50% { opacity: 1; transform: translateY(7px); }
}

/* Sections */
.section {
  position: relative;
  padding-block: clamp(88px, 11vw, 150px);
}

.section--productions {
  background:
    linear-gradient(180deg, var(--night), transparent 16%),
    radial-gradient(circle at 50% 0%, rgba(30, 92, 162, 0.16), transparent 34%);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.6fr);
  align-items: end;
  gap: 60px;
  margin-bottom: 55px;
}

.section-heading h2 {
  max-width: 850px;
  margin-bottom: 0;
}

.section-heading > p {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 0.98rem;
}

.production-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.production-card {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
  isolation: isolate;
}

.production-card__surface {
  position: absolute;
  z-index: 2;
  inset: 0;
}

.production-card--featured {
  min-height: min(68vw, 660px);
  grid-column: 1 / -1;
}

.production-card__media,
.production-card__shade {
  position: absolute;
  inset: 0;
}

.production-card__media {
  z-index: -2;
}

.production-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1), filter 400ms ease;
}

.production-card__shade {
  z-index: 1;
  background: linear-gradient(0deg, rgba(3, 7, 15, 0.98) 0%, rgba(4, 8, 17, 0.4) 58%, rgba(4, 8, 17, 0.04) 100%);
}

.production-card__topline {
  position: absolute;
  z-index: 4;
  top: 24px;
  left: 24px;
}

.production-card__topline span {
  display: inline-flex;
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(4, 9, 20, 0.58);
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
}

.production-card::after {
  position: absolute;
  z-index: 2;
  inset: 0;
  border: 1px solid transparent;
  content: "";
  pointer-events: none;
  transition: border-color 260ms ease;
}

.production-card:hover::after {
  border-color: rgba(242, 213, 144, 0.58);
}

.production-card:hover .production-card__media img {
  filter: saturate(1.08) contrast(1.03);
  transform: scale(1.035);
}

.production-card__content {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 0;
  left: 0;
  padding: clamp(26px, 4.5vw, 54px);
}

.production-card__content h2,
.production-card__content h3 {
  max-width: 950px;
  margin-bottom: 14px;
  font-family: var(--serif);
  font-size: clamp(1.75rem, 4.2vw, 4.3rem);
  font-weight: 500;
  letter-spacing: -0.025em;
}

.production-card:not(.production-card--featured) .production-card__content h2,
.production-card:not(.production-card--featured) .production-card__content h3 {
  font-size: clamp(1.6rem, 2.9vw, 2.75rem);
}

.production-card__content > p:not(.eyebrow) {
  max-width: 720px;
  margin: 0 0 22px;
  color: rgba(242, 238, 229, 0.78);
  font-size: 0.95rem;
}

.production-card__open {
  position: relative;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 0 6px;
  border: 0;
  border-bottom: 1px solid rgba(242, 213, 144, 0.52);
  background: transparent;
  color: var(--gold-light);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
}

.production-archive-link {
  margin: 42px 0 0;
  text-align: center;
}

.empty-state {
  padding: 32px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--muted);
}

.production-card__open span {
  transition: transform 180ms ease;
}

.production-card__open:hover span {
  transform: translateX(5px);
}

/* Fiches des productions */
.production-dialog {
  width: min(1100px, calc(100% - 32px));
  max-height: calc(100svh - 32px);
  padding: 0;
  overflow: auto;
  border: 1px solid rgba(242, 213, 144, 0.35);
  background: #060b17;
  color: var(--ivory);
  box-shadow: 0 36px 120px rgba(0, 0, 0, 0.72);
}

.production-dialog::backdrop {
  background: rgba(1, 4, 10, 0.86);
  backdrop-filter: blur(8px);
}

.production-dialog__shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  min-height: 570px;
}

.production-dialog__media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
}

.production-dialog__media::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 62%, #060b17 100%);
  content: "";
}

.production-dialog__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.production-dialog__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(34px, 5vw, 70px);
}

.production-dialog__copy h2 {
  margin-bottom: 24px;
  font-size: clamp(2.35rem, 4vw, 4.4rem);
}

.production-dialog__copy > p:not(.eyebrow) {
  margin: 0 0 34px;
  color: var(--muted);
}

.production-dialog__copy .button {
  align-self: flex-start;
}

.production-dialog__close {
  position: absolute;
  z-index: 5;
  top: 18px;
  right: 18px;
  display: grid;
  width: 44px;
  height: 44px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  background: rgba(3, 7, 16, 0.68);
  color: #fff;
  font-size: 1.65rem;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(10px);
}

/* Bande-annonce */
.trailer {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: #030711;
}

.trailer::before {
  position: absolute;
  top: -25%;
  right: -15%;
  width: 55vw;
  height: 55vw;
  border-radius: 50%;
  background: rgba(31, 89, 151, 0.12);
  content: "";
  filter: blur(10px);
}

.trailer__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  align-items: center;
  gap: clamp(42px, 7vw, 95px);
}

.trailer__media {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.trailer__media::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(3, 7, 17, 0.28), transparent 55%);
  content: "";
  pointer-events: none;
}

.trailer__media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.play-button {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  display: grid;
  width: 86px;
  height: 86px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  background: rgba(5, 10, 22, 0.55);
  box-shadow: 0 0 0 12px rgba(255, 255, 255, 0.07);
  transform: translate(-50%, -50%);
  backdrop-filter: blur(8px);
  transition: background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.play-button:hover {
  background: rgba(214, 173, 85, 0.9);
  box-shadow: 0 0 0 17px rgba(214, 173, 85, 0.14);
  transform: translate(-50%, -50%) scale(1.05);
}

.play-button span {
  width: 0;
  height: 0;
  margin-left: 5px;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 16px solid #fff;
}

.trailer__copy h2 {
  margin-bottom: 22px;
  font-size: clamp(2.65rem, 5.2vw, 5.4rem);
}

.trailer__copy h2 span {
  display: inline-block;
  color: var(--gold-light);
  font-family: var(--sans);
  font-size: 0.34em;
  font-weight: 750;
  letter-spacing: 0.17em;
}

.trailer__copy > p {
  margin: 0 0 28px;
  color: var(--muted);
}

/* Studio */
.studio {
  background:
    radial-gradient(circle at 13% 30%, rgba(214, 173, 85, 0.08), transparent 25%),
    linear-gradient(135deg, var(--panel), var(--night) 66%);
}

.studio .wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  align-items: center;
  gap: clamp(50px, 9vw, 130px);
}

.studio__intro h2 {
  margin-bottom: 28px;
}

.studio__intro > p:last-child {
  color: var(--muted);
  font-size: 1.05rem;
}

.studio__facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.studio__facts div {
  display: flex;
  min-height: 180px;
  flex-direction: column;
  justify-content: center;
  padding: 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.018);
}

.studio__facts strong {
  color: var(--gold-light);
  font-family: var(--serif);
  font-size: clamp(2.7rem, 5vw, 4.5rem);
  font-weight: 500;
  line-height: 1;
}

.studio__facts span {
  margin-top: 13px;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

/* Contact */
.contact {
  border-top: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(5, 10, 22, 0.98), rgba(5, 10, 22, 0.7)),
    var(--cinecast-contact-image, url("../images/cluny.webp")) center / cover;
}

.contact__inner {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 42px;
}

.contact h2 {
  max-width: 850px;
  margin-bottom: 0;
}

.contact .button {
  flex: 0 0 auto;
}

/* Pied de page */
.site-footer {
  padding-block: 52px;
  border-top: 1px solid var(--line);
  background: #02050c;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto minmax(240px, 0.7fr);
  align-items: end;
  gap: 46px;
}

.brand--footer {
  width: 120px;
  margin-bottom: 12px;
}

.brand--footer img {
  width: 120px;
}

.site-footer p {
  max-width: 570px;
  margin: 5px 0 0;
  color: #7f899a;
  font-size: 0.78rem;
}

.site-footer__meta {
  text-align: right;
}

.footer-menu {
  display: grid;
  gap: 7px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.footer-menu a {
  color: #aeb7c6;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-menu a:hover {
  color: var(--gold-light);
}

/* Catalogue */
.production-archive .page-heading > p:last-child {
  max-width: 760px;
  color: var(--muted);
}

.production-grid--archive .production-card {
  min-height: 520px;
}

/* Fiche d'une production */
.film-page {
  background: var(--night);
}

.film-hero {
  position: relative;
  display: grid;
  min-height: min(900px, 92svh);
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}

.film-hero__media,
.film-hero__veil {
  position: absolute;
  inset: 0;
}

.film-hero__media {
  z-index: -2;
}

.film-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.film-hero__veil {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(2, 6, 14, 0.96), rgba(3, 7, 16, 0.48) 72%, rgba(3, 7, 16, 0.16)),
    linear-gradient(0deg, var(--night), transparent 60%);
}

.film-hero__content {
  max-width: 1050px;
  padding-top: 170px;
  padding-bottom: clamp(75px, 10vw, 130px);
}

.film-back {
  display: inline-flex;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.film-back:hover {
  color: var(--gold-light);
}

.film-hero h1 {
  max-width: 1050px;
  margin-bottom: 28px;
  font-size: clamp(3.6rem, 8vw, 8.5rem);
  letter-spacing: -0.05em;
}

.film-hero__lead {
  max-width: 760px;
  margin: 0 0 30px;
  color: rgba(242, 238, 229, 0.87);
  font-family: var(--serif);
  font-size: clamp(1.12rem, 2vw, 1.45rem);
}

.film-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.film-story__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(270px, 0.34fr);
  align-items: start;
  gap: clamp(55px, 9vw, 130px);
}

.film-story__content {
  font-size: 1.08rem;
}

.film-details {
  padding: 30px;
  border: 1px solid var(--line);
  background: var(--panel);
}

.film-details dl,
.film-details dd {
  margin: 0;
}

.film-details dl > div {
  padding-block: 17px;
  border-top: 1px solid var(--line);
}

.film-details dt {
  color: #7f899a;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.film-details dd {
  margin-top: 4px;
  color: var(--ivory);
}

/* Pages et articles */
.content-shell {
  min-height: 70vh;
  padding-top: 165px;
  padding-bottom: 110px;
}

.page-heading {
  max-width: 950px;
  margin-bottom: 48px;
}

.page-heading h1 {
  margin-bottom: 0;
  font-size: clamp(3rem, 7vw, 7rem);
  letter-spacing: -0.045em;
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.post-card {
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel);
}

.post-card__image img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.post-card__body {
  padding: 28px;
}

.post-card h2 {
  margin-bottom: 14px;
  font-size: 1.6rem;
}

.post-card p {
  color: var(--muted);
}

.prose-wrap {
  max-width: 960px;
}

.prose {
  color: #d7dbe3;
}

.prose__hero {
  margin-bottom: 44px;
}

.prose h2,
.prose h3 {
  margin-top: 1.8em;
}

.prose a:not(.button) {
  color: var(--gold-light);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.prose blockquote {
  padding: 4px 0 4px 26px;
  margin: 38px 0;
  border-left: 2px solid var(--gold);
  color: var(--ivory);
  font-family: var(--serif);
  font-size: 1.35rem;
}

.nav-links {
  display: flex;
  grid-column: 1 / -1;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.nav-links .page-numbers {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
}

.nav-links .current,
.nav-links a:hover {
  border-color: var(--gold);
  color: var(--gold-light);
}

.error-page {
  display: grid;
  align-items: center;
}

.error-page h1 {
  max-width: 900px;
  font-size: clamp(3.5rem, 8vw, 8rem);
}

.error-page p:not(.eyebrow) {
  color: var(--muted);
}

@media (max-width: 980px) {
  :root {
    --wrap: min(100% - 36px, 850px);
  }

  .menu-toggle {
    z-index: 2;
    display: block;
  }

  .menu-ready .site-nav {
    position: fixed;
    inset: 0;
    display: grid;
    place-items: center;
    background: rgba(4, 9, 20, 0.98);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .menu-ready .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav .menu {
    flex-direction: column;
    gap: 9px;
  }

  .site-nav a {
    font-family: var(--serif);
    font-size: clamp(1.7rem, 7vw, 3rem);
    font-weight: 500;
    letter-spacing: -0.02em;
    text-transform: none;
  }

  .nav-open {
    overflow: hidden;
  }

  .nav-open .menu-toggle__line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-open .menu-toggle__line:nth-child(2) {
    opacity: 0;
  }

  .nav-open .menu-toggle__line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .section-heading,
  .trailer__grid,
  .studio .wrap,
  .film-story__grid {
    grid-template-columns: 1fr;
  }

  .section-heading {
    gap: 20px;
  }

  .trailer__grid {
    gap: 45px;
  }

  .studio .wrap {
    gap: 58px;
  }

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

  .contact__inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .site-footer__brand {
    grid-column: 1 / -1;
  }

  .production-dialog__shell {
    grid-template-columns: 1fr;
  }

  .production-dialog__media {
    min-height: min(54vw, 480px);
  }

  .production-dialog__media::after {
    background: linear-gradient(0deg, #060b17 0%, transparent 32%);
  }
}

@media (max-width: 680px) {
  :root {
    --wrap: min(100% - 28px, 620px);
  }

  body {
    font-size: 16px;
  }

  .site-header__inner {
    min-height: 74px;
  }

  .brand,
  .brand img,
  .brand .custom-logo {
    width: min(var(--cinecast-logo-width), 88px);
  }

  .hero__content {
    padding-top: 138px;
    padding-bottom: 88px;
  }

  .hero h1 {
    font-size: clamp(3.25rem, 17vw, 5rem);
  }

  .hero__veil {
    background:
      linear-gradient(90deg, rgba(2, 6, 14, 0.96), rgba(3, 7, 16, 0.58)),
      linear-gradient(0deg, var(--night) 0%, transparent 45%);
  }

  .hero__actions,
  .hero__actions .button {
    width: 100%;
  }

  .hero__scroll {
    display: none;
  }

  .section {
    padding-block: 78px;
  }

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

  .production-card,
  .production-card--featured {
    min-height: 480px;
    grid-column: auto;
  }

  .production-card__content > p:not(.eyebrow) {
    display: none;
  }

  .production-card__content h2,
  .production-card__content h3,
  .production-card:not(.production-card--featured) .production-card__content h2,
  .production-card:not(.production-card--featured) .production-card__content h3 {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
  }

  .play-button {
    width: 66px;
    height: 66px;
  }

  .hero__label {
    gap: 9px;
    font-size: 0.59rem;
  }

  .hero h1 > small {
    font-size: 0.24em;
    letter-spacing: 0.18em;
  }

  .hero__format {
    line-height: 1.7;
  }

  .production-dialog {
    width: calc(100% - 16px);
    max-height: calc(100svh - 16px);
  }

  .production-dialog__media {
    min-height: 270px;
  }

  .production-dialog__copy {
    padding: 30px 24px 38px;
  }

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

  .studio__facts div {
    min-height: 145px;
    padding: 20px;
  }

  .site-footer__grid {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer__meta {
    text-align: left;
  }

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

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
