/* Лендинг «Леонид Парфёнов в Ереване».
   Палитра и шрифты сняты с афиши «ЛГ Н-тур» (Figma) — страница читается как продолжение афиши.
   Светлая тема намеренно единственная: афиша светлая, инверсия ломает её. */

@font-face {
  font-family: "Guild B Banner";
  src: url("../assets/fonts/Guild-B-Banner-Regular-Web.woff2") format("woff2"),
       url("../assets/fonts/Guild-B-Banner-Regular-Web.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Pragmatica";
  src: url("../assets/fonts/pragmatica_book.woff2") format("woff2"),
       url("../assets/fonts/pragmatica_book.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Pragmatica";
  src: url("../assets/fonts/pragmatica_medium.woff2") format("woff2"),
       url("../assets/fonts/pragmatica_medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Pragmatica";
  src: url("../assets/fonts/pragmatica_bold.woff2") format("woff2"),
       url("../assets/fonts/pragmatica_bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #F8FCFE;
  --paper: #FFFFFF;
  --ink: #33373A;
  --ink-soft: #565b5f;
  --muted: #65717c;        /* ≥4.5:1 на белом */
  --line: #E1E8ED;
  --coral: #F6624E;
  --coral-deep: #DC4430;
  --coral-text: #c6392a;   /* коралл для мелкого текста, ≥4.5:1 на белом */

  --display: "Guild B Banner", "Iowan Old Style", Georgia, serif;
  --text: "Pragmatica", "Helvetica Neue", Arial, sans-serif;

  --gutter: 20px;
  --wide: 1200px;
  --measure: 40rem;

  color-scheme: light;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--text);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: var(--coral-deep); }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* --- Афиша --- */

.hero { background: var(--bg); }

.hero__poster {
  width: 100%;
  max-width: var(--wide);
  margin: 0 auto;
}

/* --- Билеты --- */

.tickets {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 28px var(--gutter) 0;
}

.tickets--bottom {
  padding-top: 8px;
  padding-bottom: 8px;
}

.tickets__title {
  font-family: var(--display);
  font-size: 1.75rem;
  margin: 0 0 16px;
  text-align: center;
  color: var(--coral);
}

.tickets__grid {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
}

.ticket {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 88px;
  padding: 16px 20px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
  text-decoration: none;
  color: inherit;
  transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.ticket:hover,
.ticket:focus-visible {
  border-color: var(--coral);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(51, 55, 58, .09);
}

.ticket:focus-visible { outline: 2px solid var(--coral); outline-offset: 3px; }

.ticket__logo {
  flex: 0 0 auto;
  width: 76px;
  height: 40px;
  background-repeat: no-repeat;
  background-position: left center;
  background-size: contain;
}

.ticket__logo--tkt { background-image: url("../assets/logo/tkt.svg"); }
.ticket__logo--potalonu { background-image: url("../assets/logo/potalonu.svg"); }

.ticket__text {
  display: block;
  min-width: 0;
}

.ticket__label {
  display: block;
  font-weight: 500;
  font-size: 1.0625rem;
  letter-spacing: -.01em;
  color: var(--coral-text);
}

.ticket__note {
  display: block;
  margin-top: 2px;
  font-size: .875rem;
  color: var(--muted);
}

.facts {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  font-size: .9375rem;
  color: var(--ink-soft);
  text-align: center;
}

/* --- Описание --- */

.about {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 40px var(--gutter) 8px;
}

.lead {
  max-width: var(--measure);
  margin: 0 0 40px;
  font-size: 1.1875rem;
  line-height: 1.6;
}

.block {
  padding: 32px 0;
  border-top: 1px solid var(--line);
}

.block__text > p {
  max-width: var(--measure);
  margin: 0 0 1.1em;
}

.block__text > p:last-child { margin-bottom: 0; }

.block__media { margin: 0 0 24px; }

.block__media img {
  width: 100%;
  max-width: 360px;
  border-radius: 2px;
}

h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.75rem, 6vw, 2.375rem);
  line-height: 1.12;
  letter-spacing: -.005em;
  margin: 0 0 18px;
  color: var(--coral);
}

strong { font-weight: 700; }

/* --- Подвал --- */

.footer {
  margin-top: 32px;
  padding: 36px var(--gutter) 48px;
  border-top: 1px solid var(--line);
  text-align: center;
}

.footer__logo {
  width: 68px;
  height: auto;
  margin: 0 auto 12px;
}

.footer__org {
  margin: 0;
  font-size: .875rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--muted);
}

/* --- Планшет и шире --- */

@media (min-width: 760px) {
  :root { --gutter: 32px; }

  body { font-size: 18px; }

  .tickets { padding-top: 36px; }

  .tickets__grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .ticket { min-height: 104px; padding: 20px 24px; gap: 18px; }
  .ticket__logo { width: 92px; height: 46px; }
  .ticket__label { font-size: 1.125rem; }

  .facts {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 0;
    margin-top: 26px;
  }

  .facts li + li::before {
    content: "·";
    margin: 0 10px;
    color: var(--muted);
  }

  .about { padding-top: 56px; }

  .lead {
    font-size: 1.375rem;
    line-height: 1.55;
    margin-bottom: 52px;
  }

  .block { padding: 44px 0; }

  .block--film {
    display: grid;
    grid-template-columns: minmax(240px, 320px) 1fr;
    column-gap: 48px;
    align-items: start;
  }

  .block--film .block__media { margin: 6px 0 0; }
  .block--film .block__media img { max-width: 100%; }
}

@media (min-width: 1100px) {
  .block--film { column-gap: 64px; }
  .tickets__grid { gap: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
  .ticket:hover, .ticket:focus-visible { transform: none; }
}
