/* Локальные шрифты раздела (self-host, чтобы цена и заголовки не прыгали при загрузке) */

@font-face {
  font-family: 'Italiana';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/tarify/fonts/italiana-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('/tarify/fonts/cormorant-garamond-400i-cyrillic-ext.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('/tarify/fonts/cormorant-garamond-400i-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('/tarify/fonts/cormorant-garamond-400i-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url('/tarify/fonts/cormorant-garamond-400i-cyrillic-ext.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url('/tarify/fonts/cormorant-garamond-400i-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url('/tarify/fonts/cormorant-garamond-400i-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/tarify/fonts/cormorant-garamond-400-cyrillic-ext.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/tarify/fonts/cormorant-garamond-400-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/tarify/fonts/cormorant-garamond-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/tarify/fonts/cormorant-garamond-400-cyrillic-ext.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/tarify/fonts/cormorant-garamond-400-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/tarify/fonts/cormorant-garamond-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('/tarify/fonts/jost-300-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('/tarify/fonts/jost-300-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/tarify/fonts/jost-300-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/tarify/fonts/jost-300-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/tarify/fonts/jost-300-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/tarify/fonts/jost-300-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #161b23;
  --ink-2: #1b212b;
  --ink-3: #232a37;
  --ivory: #f2e8cf;
  --ivory-soft: #e0d4b5;
  --ivory-mute: #a89e88;
  --gold: #c9a35a;
  --gold-bright: #e6c27a;
  --gold-deep: #8a6e3a;
  --line: rgba(201, 163, 90, 0.22);
  --line-soft: rgba(201, 163, 90, 0.1);
  --f-display: "Italiana", serif;
  --f-serif: "Cormorant Garamond", serif;
  --f-sans: "Jost", sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --focus: #e6c27a;
  color-scheme: dark;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
a, button, input, label, [role="button"], audio, video {
  -webkit-tap-highlight-color: transparent;
}
body {
  min-height: 100dvh;
  background: var(--ink);
  color: var(--ivory);
  font-family: var(--f-sans);
  font-weight: 300;
  line-height: 1.6;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--gold); color: var(--ink); }
img, video { max-width: 100%; display: block; }
a { color: inherit; }

.skip {
  position: absolute;
  left: 16px;
  top: 12px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--gold);
  color: var(--ink);
  text-decoration: none;
  transform: translateY(-140%);
}
.skip:focus,
.skip:focus-visible { transform: none; }

.back {
  padding: max(28px, env(safe-area-inset-top)) 0 0;
}
.sec-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 15px 40px;
  border: 1px solid var(--gold);
  border-radius: 999px;
  color: var(--gold);
  font-family: var(--f-sans);
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.35s var(--ease), color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.sec-cta:hover {
  background: var(--gold);
  color: #0b0a10;
  box-shadow: 0 10px 30px -10px rgba(216, 180, 90, 0.6);
}

.wrap { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }

.hero {
  position: relative;
  padding: clamp(20px, 4vh, 40px) 0 28px;
}
.hero-kicker {
  font-family: var(--f-serif);
  font-style: italic;
  color: var(--gold-bright);
  font-size: clamp(16px, 1.4vw, 19px);
}
.hero h1 {
  margin-top: 10px;
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(40px, 7vw, 78px);
  letter-spacing: 0.04em;
  line-height: 0.95;
}
.hero-mark {
  color: var(--gold);
  margin-right: 0.18em;
}
.hero-tag {
  margin-top: 16px;
  font-family: var(--f-serif);
  font-style: italic;
  font-size: clamp(18px, 2vw, 24px);
  color: var(--ivory-soft);
}
.hero-price {
  margin-top: 22px;
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-family: var(--f-display);
  color: var(--gold-bright);
}
.hero-price .num { font-size: clamp(40px, 5vw, 58px); line-height: 1; }
.hero-price .cur { font-size: 20px; letter-spacing: 0.1em; }

.film {
  margin: 28px auto 0;
  width: min(1120px, calc(100% - 40px));
}
.film-kicker {
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ivory-mute);
  margin-bottom: 10px;
}
.film-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--ink-2);
  aspect-ratio: 16 / 9;
}
.film video,
.film img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.film-caption {
  margin-top: 12px;
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 16px;
  color: var(--ivory-soft);
}

.story {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.8fr);
  gap: clamp(28px, 5vw, 64px);
  padding: clamp(40px, 7vh, 80px) 0;
}
.story--solo {
  grid-template-columns: minmax(0, 1fr);
}
.story--solo .includes {
  max-width: 620px;
}
/* Порядок в DOM: фичи первыми (для мобильной раскладки в одну колонку),
   но на десктопе фичи визуально остаются в узкой правой колонке. */
.story--flip .includes { grid-column: 2; grid-row: 1; }
.story--flip > div { grid-column: 1; grid-row: 1; }
@media (max-width: 800px) {
  .story--flip .includes,
  .story--flip > div { grid-column: 1; grid-row: auto; }
}
.story h2,
.examples h2,
.also h2 {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(26px, 3vw, 36px);
  letter-spacing: 0.04em;
}
.prose {
  margin-top: 22px;
  font-family: var(--f-serif);
  font-size: clamp(18px, 1.4vw, 21px);
  color: var(--ivory-soft);
  max-width: 62ch;
}
.prose p + p { margin-top: 16px; }
.includes {
  border: 1px solid var(--line);
  padding: 28px 26px;
  background: linear-gradient(180deg, rgba(201, 163, 90, 0.06), transparent 70%);
}
.includes h2 { font-size: 24px; }
.includes ul {
  list-style: none;
  margin-top: 18px;
  display: grid;
  gap: 12px;
}
.includes li {
  position: relative;
  padding-left: 24px;
  font-family: var(--f-serif);
  font-size: 17px;
  color: var(--ivory-soft);
}
.includes li::before {
  content: "♪";
  position: absolute;
  left: 0;
  color: var(--gold);
}
.gift {
  margin-top: 18px;
  font-family: var(--f-serif);
  font-style: italic;
  color: var(--gold);
}

.examples { padding-bottom: clamp(40px, 7vh, 80px); }
.example-grid {
  margin-top: 26px;
  display: grid;
  gap: 18px;
}
.example {
  border: 1px solid var(--line-soft);
  padding: 20px 22px;
  background: var(--ink-2);
}
.example strong {
  display: block;
  font-family: var(--f-display);
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--ivory);
}
.example p {
  margin: 6px 0 14px;
  font-family: var(--f-serif);
  font-style: italic;
  color: var(--ivory-mute);
}
.example audio { width: 100%; }
.example--link .btn { margin-top: 4px; }

.cta-band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 0 8px;
  border-top: 1px solid var(--line);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 14px 28px;
  text-decoration: none;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-size: 12px;
  border: 1px solid var(--gold);
}
.btn-solid { background: var(--gold); color: var(--ink); }
.btn-ghost { color: var(--ivory); }
.btn:hover { filter: brightness(1.08); }
.cta-band--solo { justify-content: center; }

.also { padding: 48px 0 80px; }
.also-grid {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
  gap: 14px;
}
.also a {
  display: block;
  min-height: 44px;
  padding: 18px 16px;
  border: 1px solid var(--line-soft);
  text-decoration: none;
  font-family: var(--f-display);
  letter-spacing: 0.05em;
}
.also a:hover { border-color: var(--gold); color: var(--gold-bright); }
.also small {
  display: block;
  margin-top: 6px;
  font-family: var(--f-serif);
  font-style: italic;
  color: var(--ivory-mute);
}

.site-footer {
  padding: 22px max(clamp(20px, 4vw, 48px), env(safe-area-inset-right)) max(36px, env(safe-area-inset-bottom)) max(clamp(20px, 4vw, 48px), env(safe-area-inset-left));
  border-top: 1px solid var(--line-soft);
  font-size: 14px;
  color: var(--ivory-mute);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

a:focus-visible,
button:focus-visible,
audio:focus-visible,
video:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

@media (max-width: 800px) {
  .story { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}


/* Мобайл: подтянуть низ страницы (сетка «Другие встречи» + футер) */
@media (max-width: 800px) {
  .hero { text-align: center; }
  .hero-price { justify-content: center; }
  .story { padding: 30px 0; }
  .examples { padding-bottom: 30px; }
  .also { padding: 36px 0 44px; }
  .also-grid { margin-top: 16px; }
  .cta-band { padding: 24px 0 8px; }
  .site-footer {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding-top: 18px;
    padding-bottom: max(26px, env(safe-area-inset-bottom));
    text-align: center;
  }
}

/* Читаемость текста на мобиле: описания и списки простым шрифтом,
   чуть крупнее и светлее (тонкий Cormorant на телефоне плохо читается) */
@media (max-width: 800px) {
  .hero-tag,
  .prose,
  .includes li,
  .film-caption,
  .example p,
  .also small,
  .includes .gift {
    font-family: var(--f-sans);
    font-style: normal;
    line-height: 1.7;
  }
  .hero-tag { font-size: 18px; }
  .prose { font-size: 17px; color: var(--ivory-soft); }
  .includes li { font-size: 16.5px; }
  .film-caption { font-size: 15.5px; }
  .example p { font-size: 16px; color: var(--ivory-soft); }
  .also small { font-size: 15px; }
  .site-footer { font-size: 14.5px; }
}
