/* ============================================================
   КИММЕРИЯ — кинокомпания · дизайн-система v2
   Тёмный «эспрессо» фон, кремовая типографика, жжёный апельсин,
   плёночное зерно, пунктирные линейки, редакционная сетка.
   Все размеры в rem: выше 1600px корневой шрифт растёт
   пропорционально ширине окна — макет масштабируется до 4K.
   ============================================================ */

:root {
  --bg: #17100a;
  --bg-2: #1f1710;
  --bg-3: #261c13;
  --ink: #f2e5cf;
  --muted: #ab9678;
  --faint: #6f604b;
  --accent: #f44f05;
  --line: rgba(242, 229, 207, 0.16);
  --line-strong: rgba(242, 229, 207, 0.34);
  --serif: "Cormorant", "Georgia", serif;
  --sans: "Oswald", "Arial Narrow", sans-serif;
  --body: "Manrope", "Segoe UI", sans-serif;
  --pad: clamp(1.25rem, 4vw, 3.5rem);
  --ease: cubic-bezier(0.28, 0, 0.18, 1);
}

/* Базовый масштаб: 16px до 1600px, дальше — пропорционально ширине.
   1920px → 19.2px · 2560px → 25.6px · 3840px (4K) → 38.4px */
html { font-size: 16px; }
@media (min-width: 1601px) {
  html { font-size: calc(100vw / 100); }
}

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

html { scroll-behavior: smooth; }
html.lenis { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  min-height: 100dvh;
}

::selection { background: var(--accent); color: #17100a; }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 1px;
}

/* ---------- плёночное зерно ---------- */
.grain {
  position: fixed;
  inset: -100%;
  z-index: 2000;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
  opacity: 0.08;
  animation: grain 8s steps(10) infinite;
}
@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  10% { transform: translate(-5%, -8%); }
  20% { transform: translate(-12%, 4%); }
  30% { transform: translate(6%, -14%); }
  40% { transform: translate(-4%, 12%); }
  50% { transform: translate(-10%, 6%); }
  60% { transform: translate(12%, 0%); }
  70% { transform: translate(0%, 10%); }
  80% { transform: translate(3%, 13%); }
  90% { transform: translate(-8%, 8%); }
}

/* ---------- типографика ---------- */
.display {
  font-family: var(--serif);
  font-weight: 500;
  text-transform: uppercase;
  line-height: 0.92;
  letter-spacing: -0.01em;
}
.label {
  font-family: var(--sans);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.75rem;
  color: var(--muted);
}
.label--accent { color: var(--accent); }
.serif-i {
  font-family: var(--serif);
  font-style: italic;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 500;
}

/* ---------- шапка: логотип + страницы в один ряд ---------- */
.site-head {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.1rem var(--pad);
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), padding 0.4s var(--ease);
  border-bottom: 1px dashed transparent;
}
.site-head.is-solid {
  background: rgba(23, 16, 10, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 0 0 auto;
}
.brand-logo {
  height: 2.6rem;
  width: auto;
  transition: transform 0.4s var(--ease);
}
.brand:hover .brand-logo { transform: scale(1.06) rotate(-2deg); }
.brand-word {
  font-family: var(--sans);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.34em;
  font-size: 1.05rem;
}
.head-nav {
  display: none;
  align-items: center;
  gap: clamp(1.2rem, 2.2vw, 2.4rem);
}
.head-nav a {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.8rem;
  color: var(--muted);
  position: relative;
  padding: 0.5rem 0;
  white-space: nowrap;
  transition: color 0.25s var(--ease);
}
.head-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0.15rem;
  width: 100%; height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.head-nav a:hover { color: var(--ink); }
.head-nav a:hover::after { transform: scaleX(1); }
.head-nav a.is-active { color: var(--ink); }
.head-nav a.is-active::after { transform: scaleX(1); background: var(--line-strong); }

@media (min-width: 1120px) {
  .head-nav { display: flex; }
  .burger { display: none; }
}

.burger {
  width: 2.75rem; height: 2.75rem;
  position: relative;
  flex: 0 0 auto;
}
.burger span {
  position: absolute;
  left: 50%; top: 50%;
  display: block;
  width: 1.6rem; height: 1.5px;
  background: var(--ink);
  transform: translate(-50%, -50%) translateY(-0.27rem);
  transition: transform 0.35s var(--ease), opacity 0.25s;
}
.burger span + span { transform: translate(-50%, -50%) translateY(0.27rem); }
body.menu-open .burger span:nth-child(1) { transform: translate(-50%, -50%) rotate(45deg); }
body.menu-open .burger span:nth-child(2) { transform: translate(-50%, -50%) rotate(-45deg); }

/* ---------- полноэкранное меню (мобильное) ---------- */
.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 850;
  background: #120c07;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5.6rem var(--pad) 2.5rem;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.45s var(--ease), visibility 0s 0.45s;
}
body.menu-open .menu-overlay {
  visibility: visible;
  opacity: 1;
  transition: opacity 0.45s var(--ease);
}
.menu-overlay nav a {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: 0.6rem 0;
  border-bottom: 1px dashed var(--line);
  font-family: var(--serif);
  font-size: clamp(1.75rem, 6vw, 3.4rem);
  text-transform: uppercase;
  line-height: 1.05;
  color: var(--ink);
  transform: translateY(1.5rem);
  opacity: 0;
  transition: transform 0.5s var(--ease), opacity 0.5s var(--ease), color 0.25s;
}
.menu-overlay nav a small {
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--faint);
}
.menu-overlay nav a:hover { color: var(--accent); }
body.menu-open .menu-overlay nav a {
  transform: translateY(0);
  opacity: 1;
}
body.menu-open .menu-overlay nav a:nth-child(1) { transition-delay: 0.06s; }
body.menu-open .menu-overlay nav a:nth-child(2) { transition-delay: 0.11s; }
body.menu-open .menu-overlay nav a:nth-child(3) { transition-delay: 0.16s; }
body.menu-open .menu-overlay nav a:nth-child(4) { transition-delay: 0.21s; }
body.menu-open .menu-overlay nav a:nth-child(5) { transition-delay: 0.26s; }
body.menu-open .menu-overlay nav a:nth-child(6) { transition-delay: 0.31s; }
body.menu-open .menu-overlay nav a:nth-child(7) { transition-delay: 0.36s; }
.menu-foot {
  margin-top: 2.1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.6rem;
  font-family: var(--sans);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.menu-foot a:hover { color: var(--accent); }

/* ---------- герой ---------- */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 6.9rem var(--pad) 2.5rem;
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  animation: kenburns 26s var(--ease) infinite alternate;
  filter: saturate(0.82) contrast(1.06);
}
@keyframes kenburns {
  from { transform: scale(1) translateY(0); }
  to { transform: scale(1.12) translateY(-2.5%); }
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(23,16,10,0.55) 0%, rgba(23,16,10,0.12) 38%, rgba(23,16,10,0.88) 82%, var(--bg) 100%),
    radial-gradient(120% 90% at 50% 10%, transparent 40%, rgba(23,16,10,0.5) 100%);
}
.hero-kicker {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.4rem;
  margin-bottom: 1.1rem;
}
.hero-title {
  font-size: clamp(3.5rem, 13.5vw, 13rem);
  margin-left: -0.04em;
}
.hero-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.4rem 2.5rem;
  border-top: 1px dashed var(--line-strong);
  padding-top: 1.4rem;
  margin-top: 1.6rem;
}
.hero-sub {
  max-width: 46ch;
  color: var(--muted);
  font-size: 1.03rem;
}
.hero-sub .serif-i { color: var(--ink); font-size: 1.12em; }
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.8rem;
  color: var(--ink);
  border: 1px dashed var(--line-strong);
  padding: 1rem 1.6rem;
  min-height: 2.75rem;
  transition: border-color 0.3s, color 0.3s, background 0.3s;
}
.hero-cta:hover { border-color: var(--accent); color: var(--accent); }
.hero-cta svg { width: 1.15rem; height: auto; transition: transform 0.3s var(--ease); }
.hero-cta:hover svg { transform: translateX(0.3rem); }

/* ---------- бегущая строка ---------- */
.marquee {
  border-top: 1px dashed var(--line);
  border-bottom: 1px dashed var(--line);
  overflow: hidden;
  padding: 0.9rem 0;
  background: var(--bg-2);
}
.marquee-track {
  display: flex;
  gap: 3rem;
  width: max-content;
  animation: marquee 30s linear infinite;
}
.marquee-track span {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.78rem;
  color: var(--muted);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 3rem;
}
.marquee-track span::after { content: "✦"; color: var(--accent); font-size: 0.62em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- секции ---------- */
.section { padding: clamp(4rem, 9vw, 8.1rem) var(--pad); }
.section + .section { border-top: 1px dashed var(--line); }
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.25rem;
  margin-bottom: clamp(2.1rem, 5vw, 4rem);
}
.section-head .display { font-size: clamp(2.5rem, 7vw, 6rem); }
.section-head .count {
  font-family: var(--serif);
  font-style: italic;
  color: var(--faint);
  font-size: clamp(1.1rem, 2.4vw, 1.75rem);
  white-space: nowrap;
}
.split-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.4rem 1.5rem;
  margin-bottom: clamp(2.1rem, 5vw, 3.75rem);
}
.split-head .display { font-size: clamp(2.4rem, 6.4vw, 5.5rem); }
.split-head .display em {
  font-style: italic;
  text-transform: none;
  color: var(--accent);
}

/* ---------- фокус: фильм ---------- */
.focus-grid {
  display: grid;
  gap: 2.1rem;
}
@media (min-width: 900px) {
  .focus-grid { grid-template-columns: 1.25fr 1fr; gap: clamp(1.9rem, 4.5vw, 4.4rem); align-items: end; }
}
.focus-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}
.focus-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(0.35) contrast(1.08) brightness(0.96);
  transition: filter 0.8s var(--ease), transform 2s var(--ease);
  transform: scale(1.04);
}
.focus-media:hover img { filter: grayscale(0) contrast(1.02); transform: scale(1); }
.focus-media .frame-tag {
  position: absolute;
  top: 0.9rem; left: 0.9rem;
  background: rgba(23,16,10,0.75);
  backdrop-filter: blur(6px);
  padding: 0.5rem 0.9rem;
  font-family: var(--sans);
  font-size: 0.69rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border: 1px dashed var(--line-strong);
}
.focus-info .display { font-size: clamp(2.75rem, 6vw, 5.25rem); margin: 0.75rem 0 1.25rem; }
.credits-mini {
  border-top: 1px dashed var(--line);
  margin: 1.4rem 0;
}
.credits-mini div {
  display: flex;
  justify-content: space-between;
  gap: 1.1rem;
  padding: 0.6rem 0;
  border-bottom: 1px dashed var(--line);
  font-size: 0.875rem;
}
.credits-mini dt { font-family: var(--sans); text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.72rem; color: var(--faint); padding-top: 0.15rem; }
.credits-mini dd { text-align: right; color: var(--ink); }
.text-link {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.8rem;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 0;
}
.text-link svg { width: 1rem; height: auto; }
.text-link:hover { text-decoration: underline; text-underline-offset: 0.3rem; }

/* ---------- сетка фильмов ---------- */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2.1rem;
}
.filter-btn {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.75rem;
  color: var(--muted);
  border: 1px dashed var(--line);
  padding: 0.6rem 1.1rem;
  min-height: 2.75rem;
  transition: all 0.25s var(--ease);
}
.filter-btn:hover { border-color: var(--line-strong); color: var(--ink); }
.filter-btn.is-on {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}
.films-grid {
  display: grid;
  gap: 1.6rem 1.4rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .films-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .films-grid { grid-template-columns: repeat(3, 1fr); } }
.film-card { position: relative; transition: opacity 0.3s var(--ease); }
.films-grid:hover .film-card:not(:hover) { opacity: 0.28; }
.film-card.is-hidden { display: none; }
.film-card .poster {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  background: var(--bg-2);
}
.film-card .poster img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(0.85) contrast(1.25) brightness(0.92);
  mix-blend-mode: luminosity;
  transition: filter 0.6s var(--ease), transform 1.4s var(--ease), mix-blend-mode 0.6s;
  transform: scale(1.02);
}
.film-card:hover .poster img {
  filter: grayscale(0) contrast(1.03);
  mix-blend-mode: normal;
  transform: scale(1.07);
}
.film-card .meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px dashed var(--line);
  margin-top: 0.9rem;
}
.film-card .meta .cat { font-family: var(--sans); font-size: 0.69rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--faint); }
.film-card h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  line-height: 1.08;
  text-transform: uppercase;
  margin-top: 0.5rem;
}
.film-card .year { font-family: var(--serif); font-style: italic; color: var(--faint); font-size: 1.06rem; }
.film-card .card-link::after {
  content: "";
  position: absolute;
  inset: 0;
}

/* ---------- горизонтальная лента «в работе» ---------- */
.hscroll-wrap { position: relative; }
.hscroll {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
  padding-bottom: 0.5rem;
}
.hscroll::-webkit-scrollbar { display: none; }
.hscroll .work-card {
  flex: 0 0 min(78vw, 26.25rem);
  scroll-snap-align: start;
}
.work-card .poster {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  position: relative;
}
.work-card .poster img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(0.5) contrast(1.1);
  transition: filter 0.6s var(--ease), transform 1.6s var(--ease);
}
.work-card:hover .poster img { filter: grayscale(0); transform: scale(1.05); }
.work-card .poster .soon {
  position: absolute;
  bottom: 0.75rem; left: 0.75rem;
  background: var(--accent);
  color: #17100a;
  font-family: var(--sans);
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.4rem 0.75rem;
}
.work-card h3 {
  font-family: var(--serif);
  text-transform: uppercase;
  font-size: 1.5rem;
  margin-top: 0.9rem;
  line-height: 1.1;
}
.hscroll-hint {
  font-family: var(--sans);
  font-size: 0.69rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--faint);
  margin-top: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.hscroll-hint::after { content: ""; flex: 1; border-top: 1px dashed var(--line); }

/* ---------- о компании ---------- */
.about-grid { display: grid; gap: 2.1rem; }
@media (min-width: 900px) {
  .about-grid { grid-template-columns: 1.1fr 0.9fr; gap: clamp(1.9rem, 5vw, 5rem); }
}
.about-text p { max-width: 62ch; color: var(--muted); margin-bottom: 1.1rem; }
.about-text p strong { color: var(--ink); font-weight: 600; }
.about-text .lead {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  line-height: 1.3;
  color: var(--ink);
  margin-bottom: 1.6rem;
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px dashed var(--line);
  margin-top: 1.9rem;
}
.stats div { padding: 1.1rem 0.9rem 0 0; }
.stats b {
  display: block;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.1rem, 4.5vw, 3.6rem);
  line-height: 1;
}
.stats span { font-family: var(--sans); font-size: 0.69rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); }
.about-media { overflow: hidden; }
.about-media img {
  width: 100%; height: 100%;
  min-height: 20rem;
  object-fit: cover;
  filter: grayscale(0.4) contrast(1.08);
  transition: filter 0.8s var(--ease), transform 2s var(--ease);
}
.about-media:hover img { filter: grayscale(0); transform: scale(1.03); }

/* ---------- новости ---------- */
.news-list { border-top: 1px dashed var(--line-strong); }
.news-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
  padding: 1.6rem 0;
  border-bottom: 1px dashed var(--line);
  position: relative;
  transition: padding 0.3s var(--ease);
}
@media (min-width: 760px) {
  .news-row {
    grid-template-columns: 8.1rem 1fr 12.5rem;
    align-items: center;
    gap: 1.75rem;
  }
}
.news-row .date {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.06rem;
  color: var(--faint);
}
.news-row h3 {
  font-family: var(--serif);
  font-weight: 500;
  text-transform: uppercase;
  font-size: clamp(1.25rem, 2.6vw, 1.9rem);
  line-height: 1.12;
  transition: color 0.25s, transform 0.35s var(--ease);
}
.news-row .excerpt { color: var(--muted); font-size: 0.9rem; margin-top: 0.5rem; max-width: 66ch; }
.news-row .thumb {
  overflow: hidden;
  aspect-ratio: 16 / 10;
}
.news-row .thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(0.7) contrast(1.15);
  transition: filter 0.5s var(--ease), transform 1.2s var(--ease);
}
.news-row:hover h3 { color: var(--accent); transform: translateX(0.6rem); }
.news-row:hover .thumb img { filter: grayscale(0); transform: scale(1.06); }
.news-row a::after { content: ""; position: absolute; inset: 0; }

/* ---------- подвал ---------- */
.site-foot {
  border-top: 1px dashed var(--line-strong);
  padding: clamp(3rem, 7vw, 5.6rem) var(--pad) 1.75rem;
  background: var(--bg-2);
}
.foot-grid { display: grid; gap: 2.25rem; }
@media (min-width: 900px) { .foot-grid { grid-template-columns: 1.3fr 1fr 1fr; } }
.foot-org {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  line-height: 2;
  color: var(--muted);
  max-width: 40ch;
}
.foot-org b { color: var(--ink); font-weight: 500; }
.foot-col h4 {
  font-family: var(--sans);
  font-size: 0.69rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 1rem;
}
.foot-col a {
  display: block;
  padding: 0.3rem 0;
  font-size: 1rem;
  color: var(--muted);
  transition: color 0.2s, transform 0.25s var(--ease);
}
.foot-col a:hover { color: var(--accent); transform: translateX(0.4rem); }
.foot-brand {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.6rem 1.4rem;
  margin: 3.1rem 0 1.9rem;
  user-select: none;
}
.foot-brand img { height: clamp(3rem, 7vw, 7rem); width: auto; opacity: 0.5; }
.foot-word {
  font-family: var(--serif);
  text-transform: uppercase;
  font-size: clamp(2.5rem, 9.5vw, 11.9rem);
  line-height: 0.9;
  color: rgba(242, 229, 207, 0.07);
}
.foot-base {
  border-top: 1px dashed var(--line);
  padding-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.6rem 1.5rem;
  font-family: var(--sans);
  font-size: 0.69rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--faint);
}

/* ---------- появление при скролле ---------- */
.reveal {
  opacity: 0;
  transform: translateY(2.1rem);
  transition: opacity 0.8s var(--ease), transform 0.9s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }
.reveal-img img {
  filter: blur(12px) grayscale(0.5);
  transform: scale(1.08);
  transition: filter 1.1s var(--ease) 0.15s, transform 1.8s var(--ease) 0.1s;
}
.reveal-img.is-in img { filter: blur(0) grayscale(0.4); transform: scale(1); }

/* ---------- шапка внутренней страницы ---------- */
.page-hero {
  padding: calc(5.6rem + 6vw) var(--pad) clamp(2.25rem, 5vw, 4.4rem);
  border-bottom: 1px dashed var(--line);
  position: relative;
  overflow: hidden;
}
.page-hero .display { font-size: clamp(3.25rem, 9vw, 10rem); }
.page-hero .crumbs {
  margin-bottom: 1.25rem;
  display: flex;
  gap: 0.9rem;
  align-items: center;
}
.page-hero .crumbs a:hover { color: var(--accent); }

/* ---------- статья ---------- */
.article-wrap {
  
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 5rem) var(--pad);
}
.article-wrap .lead {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.6vw, 1.75rem);
  line-height: 1.4;
  color: var(--ink);
  margin: 1.75rem 0;
}
.article-wrap p { color: var(--muted); margin-bottom: 1.25rem; }
.article-wrap figure { margin: 2.1rem 0; overflow: hidden; }
.article-wrap figure img { width: 100%; }
.article-wrap figcaption {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
  padding-top: 0.75rem;
  border-top: 1px dashed var(--line);
  margin-top: 0.75rem;
}
.article-nav {
  border-top: 1px dashed var(--line);
  padding: 1.9rem var(--pad);
  display: flex;
  justify-content: center;
}

/* ---------- страница фильма ---------- */
.film-hero {
  position: relative;
  min-height: 88dvh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 7.5rem var(--pad) 2.9rem;
  overflow: hidden;
}
.film-hero .hero-title { font-size: clamp(3.4rem, 12vw, 11.25rem); }
.credits-full {
  display: grid;
  gap: 0;
  border-top: 1px dashed var(--line-strong);
}
@media (min-width: 860px) { .credits-full { grid-template-columns: 1fr 1fr; column-gap: clamp(1.9rem, 6vw, 5.6rem); } }
.credits-full .row {
  display: flex;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 0.95rem 0;
  border-bottom: 1px dashed var(--line);
}
.credits-full .row dt {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 0.75rem;
  color: var(--faint);
  padding-top: 0.2rem;
}
.credits-full .row dd { text-align: right; font-size: 0.97rem; }
.laurels {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.6rem;
}
.laurels span {
  border: 1px dashed var(--line-strong);
  padding: 0.6rem 1rem;
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.gallery-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
.gallery-grid figure { overflow: hidden; }
.gallery-grid img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  filter: grayscale(0.45) contrast(1.1);
  transition: filter 0.6s var(--ease), transform 1.4s var(--ease);
}
.gallery-grid figure:hover img { filter: grayscale(0); transform: scale(1.05); }

/* ---------- команда ---------- */
.team-grid {
  display: grid;
  gap: 1.4rem;
  grid-template-columns: 1fr;
}
@media (min-width: 760px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }
.team-card {
  border: 1px dashed var(--line);
  padding: 1.9rem 1.6rem;
  transition: border-color 0.3s, background 0.3s;
}
.team-card:hover { border-color: var(--accent); background: var(--bg-2); }
.team-card .mono {
  font-family: var(--serif);
  font-size: 4.6rem;
  line-height: 1;
  color: var(--accent);
  font-weight: 500;
}
.team-card h3 {
  font-family: var(--serif);
  text-transform: uppercase;
  font-size: 1.6rem;
  margin: 1.1rem 0 0.4rem;
}
.team-card p { font-family: var(--sans); font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }

/* ---------- таймлайн ---------- */
.timeline { border-top: 1px dashed var(--line-strong); }
.timeline .t-row {
  display: grid;
  grid-template-columns: 5.6rem 1fr;
  gap: 1.25rem;
  padding: 1.4rem 0;
  border-bottom: 1px dashed var(--line);
}
@media (min-width: 760px) { .timeline .t-row { grid-template-columns: 10rem 1fr; gap: 2.5rem; } }
.timeline .t-year {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.6rem, 3.4vw, 2.5rem);
  color: var(--accent);
  line-height: 1;
}
.timeline .t-row h3 { font-family: var(--serif); text-transform: uppercase; font-size: 1.3rem; margin-bottom: 0.4rem; }
.timeline .t-row p { color: var(--muted); font-size: 0.94rem; max-width: 68ch; }

/* ---------- контакты ---------- */
.contact-grid { display: grid; gap: 2.5rem; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 6.25rem); } }
.contact-line {
  border-bottom: 1px dashed var(--line);
  padding: 1.25rem 0;
}
.contact-line .label { margin-bottom: 0.4rem; display: block; }
.contact-line a, .contact-line .val {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.6vw, 1.9rem);
  line-height: 1.2;
  transition: color 0.25s;
}
.contact-line a:hover { color: var(--accent); }
.form-field { margin-bottom: 1.4rem; }
.form-field label {
  display: block;
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 0.5rem;
}
.form-field input, .form-field textarea {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px dashed var(--line-strong);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1rem;
  padding: 0.6rem 0;
  transition: border-color 0.25s;
}
.form-field input:focus, .form-field textarea:focus {
  outline: none;
  border-bottom-color: var(--accent);
}
.form-field textarea { min-height: 6.9rem; resize: vertical; }
.submit-btn {
  width: 100%;
  border: 1px dashed var(--line-strong);
  padding: 1.1rem;
  min-height: 2.75rem;
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.8rem;
  transition: all 0.3s var(--ease);
}
.submit-btn:hover { background: var(--accent); border-color: var(--accent); color: #17100a; }
.form-note { font-size: 0.8rem; color: var(--faint); margin-top: 0.9rem; }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .grain, .hero-media img, .marquee-track { animation: none !important; }
  .reveal, .reveal-img img { transition: none; opacity: 1; transform: none; filter: none; }
  html { scroll-behavior: auto; }
}
