/* Ксения Штейрина — общий сайт. Палитра «гримёрка»: кулисный чёрный, жемчуг, помада. */

@font-face { font-family: 'Cormorant'; font-style: normal; font-weight: 500; font-display: swap; src: url('assets/fonts/cormorant-500-normal-cyrillic.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Cormorant'; font-style: normal; font-weight: 500; font-display: swap; src: url('assets/fonts/cormorant-500-normal-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+2000-206F; }
@font-face { font-family: 'Cormorant'; font-style: italic; font-weight: 500; font-display: swap; src: url('assets/fonts/cormorant-500-italic-cyrillic.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Cormorant'; font-style: italic; font-weight: 500; font-display: swap; src: url('assets/fonts/cormorant-500-italic-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+2000-206F; }
@font-face { font-family: 'Cormorant'; font-style: normal; font-weight: 600; font-display: swap; src: url('assets/fonts/cormorant-600-normal-cyrillic.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Cormorant'; font-style: normal; font-weight: 600; font-display: swap; src: url('assets/fonts/cormorant-600-normal-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+2000-206F; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 300; font-display: swap; src: url('assets/fonts/manrope-300-normal-cyrillic.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 300; font-display: swap; src: url('assets/fonts/manrope-300-normal-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+2000-206F; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 400; font-display: swap; src: url('assets/fonts/manrope-400-normal-cyrillic.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 400; font-display: swap; src: url('assets/fonts/manrope-400-normal-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+2000-206F; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 500; font-display: swap; src: url('assets/fonts/manrope-500-normal-cyrillic.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 500; font-display: swap; src: url('assets/fonts/manrope-500-normal-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+2000-206F; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 700; font-display: swap; src: url('assets/fonts/manrope-700-normal-cyrillic.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 700; font-display: swap; src: url('assets/fonts/manrope-700-normal-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+2000-206F; }

:root {
  --noir: #151011;
  --velvet: #211618;
  --pearl: #f0e7da;
  --pearl-dim: #cec3b4;
  --pomade: #c2263a;
  --pomade-soft: #d75a67;
  --brass: #c99a52;
  --smoke: #8f8279;
  --display: 'Cormorant', 'Times New Roman', serif;
  --body: 'Manrope', 'Segoe UI', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--noir);
  color: var(--pearl);
  font-family: var(--body);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--pomade); color: var(--pearl); }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ── шапка ── */
.top {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 28px;
  background: linear-gradient(to bottom, rgba(21,16,17,.85), rgba(21,16,17,0));
}
.top .logo { font-family: var(--display); font-style: italic; font-size: 22px; letter-spacing: .04em; }
.top nav { display: flex; gap: 26px; }
.top nav a {
  font-size: 11px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  color: var(--pearl-dim); transition: color .25s;
}
.top nav a:hover, .top nav a:focus-visible { color: var(--pearl); }
.top nav a.accent { color: var(--pomade-soft); }
.top nav a.accent:hover { color: var(--pearl); }

/* ── герой ── */
.hero {
  position: relative; min-height: 100svh;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 44%);
  overflow: hidden;
}
.hero-text {
  display: flex; flex-direction: column; justify-content: center;
  padding: 120px 4vw 80px 6vw; position: relative; z-index: 2;
}
.eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: .26em; text-transform: uppercase;
  color: var(--pomade-soft); margin-bottom: 26px;
}
.eyebrow::before { content: ''; display: inline-block; width: 34px; height: 1px; background: var(--pomade); vertical-align: middle; margin-right: 14px; }
.hero h1 {
  font-family: var(--display); font-weight: 500; font-size: clamp(3.4rem, 8.6vw, 7.6rem);
  line-height: .96; letter-spacing: .005em; margin-bottom: 30px;
}
.hero h1 em { font-style: italic; color: var(--pearl); }
.roles { font-size: clamp(1.02rem, 1.5vw, 1.22rem); color: var(--pearl-dim); font-weight: 300; letter-spacing: .02em; max-width: 34ch; }
.roles b { color: var(--pearl); font-weight: 400; }
.hero-cta { margin-top: 46px; display: flex; gap: 30px; align-items: center; flex-wrap: wrap; }
.hero-cta a { font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; padding-bottom: 6px; border-bottom: 1px solid rgba(240,231,218,.25); transition: border-color .25s, color .25s; }
.hero-cta a:hover { border-color: var(--pomade); color: var(--pomade-soft); }
.hero-photo { position: relative; }
.hero-photo img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%;
  animation: breathe 24s ease-in-out infinite alternate;
}
.hero-photo::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, var(--noir) 0%, rgba(21,16,17,.5) 26%, rgba(21,16,17,0) 62%),
              linear-gradient(0deg, var(--noir) 0%, rgba(21,16,17,0) 26%);
}
/* луч рампы */
.hero::after {
  content: ''; position: absolute; inset: -20% -10% auto auto; width: 75%; height: 130%;
  background: radial-gradient(ellipse 55% 42% at 72% 30%, rgba(214,166,96,.14), transparent 68%);
  pointer-events: none; z-index: 2; animation: beam 14s ease-in-out infinite alternate;
}
@keyframes breathe { from { transform: scale(1.02) translateY(0); } to { transform: scale(1.075) translateY(-1.6%); } }
@keyframes beam { from { opacity: .55; } to { opacity: 1; } }

/* ── занавес-разделитель ── */
.curtain { border: 0; height: 7px; border-top: 1px solid rgba(240,231,218,.18); border-bottom: 1px solid rgba(240,231,218,.10); margin: 0; }

/* ── секции ── */
section { padding: 110px 0; }
.sec-head { margin-bottom: 54px; }
.sec-head h2 { font-family: var(--display); font-weight: 500; font-size: clamp(2.2rem, 4.6vw, 3.6rem); line-height: 1.04; }
.sec-head h2 em { font-style: italic; }

/* ── две двери ── */
.doors { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.door { position: relative; display: block; overflow: hidden; aspect-ratio: 4 / 4.6; }
.door img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s cubic-bezier(.19,1,.22,1), filter 1.4s; filter: saturate(.88) brightness(.92); }
.door:hover img, .door:focus-visible img { transform: scale(1.045); filter: saturate(1) brightness(1); }
.door::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(21,16,17,.88) 0%, rgba(21,16,17,.15) 45%, rgba(21,16,17,0) 65%); }
.door-label { position: absolute; left: 34px; right: 34px; bottom: 30px; z-index: 2; }
.door-label .kicker { font-size: 11px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--pomade-soft); display: block; margin-bottom: 8px; }
.door-label .title { display: block; font-family: var(--display); font-weight: 500; font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1; }
.door-label .hint { display: inline-block; margin-top: 12px; font-size: 12.5px; color: var(--pearl-dim); letter-spacing: .04em; transition: color .3s; }
.door-label .hint::after { content: ' \2192'; color: var(--pomade-soft); }
.door:hover .hint { color: var(--pearl); }

/* ── о ней ── */
.about { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 4fr); gap: 64px; align-items: center; }
.about-photo { position: relative; }
.about-photo img { filter: saturate(.92); }
.about-photo::after { content: ''; position: absolute; inset: 14px -14px -14px 14px; border: 1px solid rgba(201,154,82,.35); pointer-events: none; }
.about-text p { margin-bottom: 1.1em; color: var(--pearl-dim); max-width: 56ch; }
.about-text p b { color: var(--pearl); font-weight: 400; }
.about-text .lead { font-family: var(--display); font-size: clamp(1.5rem, 2.4vw, 2rem); font-style: italic; line-height: 1.3; color: var(--pearl); margin-bottom: .9em; }

/* ── программка ── */
.bill { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1px; background: rgba(240,231,218,.12); border: 1px solid rgba(240,231,218,.12); }
.bill li { background: var(--noir); padding: 30px 26px; }
.bill .k { font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--smoke); display: block; margin-bottom: 10px; }
.bill .v { font-family: var(--display); font-size: 1.45rem; line-height: 1.2; }
.bill .v small { display: block; font-family: var(--body); font-size: .82rem; color: var(--pearl-dim); margin-top: 6px; letter-spacing: .02em; }

/* ── контакты ── */
.contact { text-align: left; }
.contact-links { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 36px; }
.contact-links a, .contact-links span {
  border: 1px solid rgba(240,231,218,.22); padding: 15px 26px;
  font-size: 12.5px; font-weight: 500; letter-spacing: .1em;
  transition: border-color .3s, background .3s;
}
.contact-links a:hover { border-color: var(--pomade); background: rgba(194,38,58,.08); }
.contact-links .k { display: block; font-size: 10px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--smoke); margin-bottom: 5px; }
.contact-note { margin-top: 22px; font-size: 13px; color: var(--smoke); max-width: 52ch; }

/* ── подвал ── */
footer { border-top: 1px double rgba(240,231,218,.2); padding: 34px 0 44px; }
.foot { display: flex; flex-wrap: wrap; gap: 18px; justify-content: space-between; align-items: baseline; font-size: 12.5px; color: var(--smoke); letter-spacing: .04em; }
.foot a { color: var(--pearl-dim); border-bottom: 1px solid transparent; transition: color .25s; }
.foot a:hover { color: var(--pearl); }

/* ── появление при скролле ── */
.js .rv { opacity: 0; transform: translateY(16px); transition: opacity .9s ease, transform .9s ease; }
.js .rv.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .hero-photo img, .hero::after { animation: none; }
  .js .rv { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-photo { order: -1; height: 62svh; }
  .hero-photo::before { background: linear-gradient(0deg, var(--noir) 2%, rgba(21,16,17,0) 40%); }
  .hero-text { padding: 26px 24px 60px; }
  .doors { grid-template-columns: 1fr; }
  .about { grid-template-columns: 1fr; gap: 40px; }
  section { padding: 72px 0; }
  .top nav { gap: 16px; }
  .top nav a { letter-spacing: .14em; }
}

/* ═══ актёрская визитка ═══ */
.hero-photo img.face-top { object-position: 50% 8%; }
.sheet { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 60px; align-items: start; }
.sheet-photo { position: sticky; top: 90px; }
.sheet-photo img { filter: saturate(.92); }
.sheet dl { display: grid; grid-template-columns: max-content 1fr; column-gap: 34px; row-gap: 0; }
.sheet dt { font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--smoke); padding: 17px 0; border-top: 1px solid rgba(240,231,218,.12); }
.sheet dd { padding: 14px 0 15px; border-top: 1px solid rgba(240,231,218,.12); font-size: 16.5px; color: var(--pearl); }
.sheet dd small { color: var(--pearl-dim); }
.sheet dt:first-of-type, .sheet dd:first-of-type { border-top: 0; }

.plays { list-style: none; columns: 2; column-gap: 60px; }
.plays li { break-inside: avoid; padding: 16px 0; border-bottom: 1px solid rgba(240,231,218,.1); }
.plays .t { font-family: var(--display); font-size: 1.55rem; line-height: 1.15; }
.plays .g { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--smoke); margin-top: 4px; display: block; }

.films { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.film { border: 1px solid rgba(240,231,218,.14); padding: 34px 30px; position: relative; }
.film .y { font-size: 12px; font-weight: 700; letter-spacing: .2em; color: var(--pomade-soft); }
.film h3 { font-family: var(--display); font-weight: 500; font-size: 1.9rem; margin: 10px 0 12px; line-height: 1.1; }
.film p { font-size: 14.5px; color: var(--pearl-dim); }

.masonry { columns: 3; column-gap: 18px; }
.masonry figure { break-inside: avoid; margin: 0 0 18px; position: relative; overflow: hidden; cursor: zoom-in; }
.masonry img { transition: transform 1.2s cubic-bezier(.19,1,.22,1), filter 1.2s; filter: saturate(.9); width: 100%; }
.masonry figure:hover img { transform: scale(1.035); filter: saturate(1); }
.masonry figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 18px 14px; font-size: 12px; letter-spacing: .06em; color: var(--pearl-dim); background: linear-gradient(to top, rgba(21,16,17,.85), transparent); opacity: 0; transition: opacity .4s; }
.masonry figure:hover figcaption { opacity: 1; }

.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(15,11,12,.94); display: none; align-items: center; justify-content: center; cursor: zoom-out; padding: 4vh 4vw; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 92svh; object-fit: contain; }

.video-strip { border: 1px solid rgba(240,231,218,.14); padding: 40px 34px; display: flex; flex-wrap: wrap; gap: 26px; align-items: center; justify-content: space-between; }
.video-strip p { color: var(--pearl-dim); max-width: 52ch; }
.video-strip .btn { border: 1px solid var(--pomade); color: var(--pearl); padding: 15px 28px; font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; transition: background .3s; white-space: nowrap; }
.video-strip .btn:hover { background: rgba(194,38,58,.15); }

@media (max-width: 900px) {
  .sheet { grid-template-columns: 1fr; gap: 36px; }
  .sheet-photo { position: static; max-width: 420px; }
  .plays { columns: 1; }
  .masonry { columns: 2; column-gap: 12px; }
  .masonry figure { margin-bottom: 12px; }
}
@media (max-width: 560px) { .sheet dl { grid-template-columns: 1fr; } .sheet dt { padding-bottom: 2px; border-top: 1px solid rgba(240,231,218,.12); } .sheet dd { border-top: 0; padding-top: 2px; } }

@media (max-width: 600px) {
  .top { padding: 12px 16px; }
  .top .logo { font-size: 16px; max-width: 40vw; line-height: 1.15; }
  .top nav { gap: 12px; }
  .top nav a { letter-spacing: .1em; font-size: 10px; }
}
