@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-display: swap;
  font-weight: 400 800;
  src: url("assets/fonts/manrope-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-display: swap;
  font-weight: 400 800;
  src: url("assets/fonts/manrope-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-display: swap;
  font-weight: 400 800;
  src: url("assets/fonts/manrope-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 {
  --bg: #f1ebe2;
  --surface: #fbf8f3;
  --ink: #11161c;
  --ink-soft: #3b434c;
  --line: #cfc6b8;
  --accent: #a8431f;
  --on-dark: #f6f1e9;
  --gutter: 1.25rem;
  --sec: 4.5rem;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 7rem;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Manrope", "Helvetica Neue", Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.6;
  overflow-wrap: break-word;
}

body.is-locked { overflow: hidden; }

h1, h2, h3, h4, p, ul, ol, fieldset { margin: 0; padding: 0; }
ul, ol { list-style: none; }
fieldset { min-width: 0; border: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font-family: inherit; color: inherit; }

h1, h2 {
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.08;
}

h1 { font-size: clamp(2.5rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.25rem); }

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

.menu :focus-visible, .footer :focus-visible, .total :focus-visible { outline-color: var(--on-dark); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -12rem;
  z-index: 60;
  padding: 0.75rem 1.5rem;
  background: var(--ink);
  border-radius: 999px;
  color: var(--on-dark);
  font-size: 1.125rem;
  font-weight: 600;
}

.skip:focus { top: 0.75rem; }

.wrap {
  width: 100%;
  max-width: calc(75rem + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.lead {
  max-width: 65ch;
  margin-top: 1.5rem;
  color: var(--ink-soft);
  font-weight: 500;
}

/* Кнопки */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.5rem;
  padding: 0.5rem 1.75rem;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: transparent;
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

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

.btn--primary { background: var(--ink); color: var(--on-dark); }
.btn--secondary { color: var(--ink); }
.btn--secondary:hover { background: var(--ink); color: var(--on-dark); }

.actions {
  display: grid;
  gap: 0.75rem;
  margin-top: 2rem;
}

/* Шапка */
.header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 2rem;
  min-height: 5rem;
  padding-block: 0.75rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  min-height: 3rem;
  font-size: 1.625rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.logo--light { color: var(--on-dark); }

.nav, .header__cta { display: none; }

.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 3rem;
  font-size: 1.125rem;
  font-weight: 600;
  text-decoration: none;
  text-underline-offset: 0.45em;
}

.nav a:hover { text-decoration: underline; text-decoration-thickness: 2px; }

.nav a[aria-current] {
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 3px;
}

/* Полноэкранное меню */
.menu {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  padding: 0.75rem var(--gutter) 2rem;
  background: var(--ink);
  color: var(--on-dark);
}

.menu[hidden] { display: none; }

.menu__close {
  align-self: flex-end;
  flex: none;
  border-color: var(--on-dark);
  color: var(--on-dark);
}

.menu nav {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
}

.menu__list {
  display: grid;
  gap: 1rem;
  padding-block: 1.5rem;
  text-align: center;
}

.menu__list a {
  display: inline-flex;
  align-items: center;
  min-height: 4rem;
  font-size: 2.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
  text-decoration: none;
}

.menu__list a:hover { text-decoration: underline; text-underline-offset: 0.2em; }

/* Hero */
.hero { padding-block: 2.5rem var(--sec); }

.hero__grid {
  display: grid;
  gap: 2.5rem;
}

.hero__img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 1.75rem;
  object-fit: cover;
  object-position: 88% 60%;
}

/* Секции */
.sec {
  padding-block: var(--sec);
  border-top: 1px solid var(--line);
}

.sec--surface { background: var(--surface); }

.split {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.photo-frame {
  overflow: hidden;
  padding: 0.5rem;
  background: var(--surface);
  border: 2px solid var(--line);
  border-radius: 1.75rem;
}

.sec--surface .photo-frame { background: var(--bg); }

.photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 1.25rem;
  object-fit: cover;
}

.photo-frame--brief .photo { object-position: 62% 50%; }
.photo-frame--contacts .photo { object-position: 88% 50%; }

.sub {
  margin-block: 4rem 2rem;
  font-size: clamp(1.625rem, 3vw, 2.25rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.center { margin-top: 3.5rem; text-align: center; }

/* Работы */
.works {
  display: grid;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.sub + .works { margin-top: 0; }

.work {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  height: 100%;
  padding: 0.75rem;
  border: 2px solid transparent;
  border-radius: 1.75rem;
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.work:hover, .work:focus-visible {
  border-color: var(--ink);
  transform: translateY(-2px);
}

.work__img {
  width: 100%;
  aspect-ratio: 4 / 3;
  margin-bottom: 0.5rem;
  border-radius: 1.25rem;
  object-fit: cover;
  object-position: 50% 0;
}

.work__title {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.work__line { max-width: 65ch; color: var(--ink-soft); }

.work__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.chip {
  padding: 0.125rem 0.75rem;
  background: var(--bg);
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 1rem;
  font-weight: 600;
}

.work__open {
  margin-top: auto;
  padding-top: 0.5rem;
  font-size: 1.125rem;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.3em;
}

/* Цены */
.calc {
  display: grid;
  gap: 2.5rem;
  margin-top: 2.5rem;
  padding: 1.25rem;
  background: var(--surface);
  border: 2px solid var(--ink);
  border-radius: 1.75rem;
}

.plans {
  display: grid;
  gap: 1rem;
}

.plan {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  min-height: 5.5rem;
  padding: 1.25rem;
  background: #ffffff;
  border: 2px solid var(--line);
  border-radius: 1.25rem;
  cursor: pointer;
}

.plan:hover { border-color: var(--ink); }
.plan:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }

.plan input, .addon input {
  flex: none;
  width: 1.75rem;
  height: 1.75rem;
  margin: 0.125rem 0 0;
  accent-color: var(--ink);
  cursor: pointer;
}

.plan__body { display: grid; gap: 0.25rem; min-width: 0; }
.plan__name { font-size: 1.375rem; font-weight: 600; line-height: 1.25; }
.plan__price { font-size: 1.5rem; font-weight: 600; line-height: 1.3; }
.plan__time { font-weight: 600; }
.plan__list { color: var(--ink-soft); font-size: 1.125rem; }

.calc__row {
  display: grid;
  gap: 2.5rem;
}

.addons legend {
  margin-bottom: 1rem;
  font-size: 1.625rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.addon {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 3.5rem;
  padding-block: 0.5rem;
  border-top: 1px solid var(--line);
  cursor: pointer;
}

.addon b { font-weight: 700; white-space: nowrap; }

.addon--count {
  flex-wrap: wrap;
  justify-content: space-between;
  cursor: auto;
}

.stepper {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.stepper__btn {
  width: 3.25rem;
  height: 3.25rem;
  background: transparent;
  border: 2px solid var(--ink);
  border-radius: 50%;
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
}

.stepper__btn:hover { background: var(--ink); color: var(--on-dark); }
.stepper output { min-width: 2.5rem; font-size: 1.375rem; font-weight: 600; text-align: center; }

.total {
  display: grid;
  gap: 1.5rem;
  padding: 1.5rem;
  background: var(--ink);
  border-radius: 1.25rem;
  color: var(--on-dark);
}

.total__row {
  display: grid;
  gap: 0.25rem;
  font-weight: 500;
}

.total__row strong {
  font-size: 2.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.note { max-width: 65ch; margin-top: 1.25rem; }

.steps {
  display: grid;
  gap: 1.25rem;
}

.step {
  display: grid;
  gap: 0.5rem;
  align-content: start;
  justify-items: start;
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 1.25rem;
}

.step__n {
  display: inline-grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  margin-bottom: 0.25rem;
  background: var(--ink);
  border-radius: 50%;
  color: var(--on-dark);
  font-size: 1.5rem;
  font-weight: 600;
}

.step__t { font-size: 1.375rem; font-weight: 600; line-height: 1.3; }

.step__s {
  color: var(--accent);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.35;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.25em;
}

/* Написать */
.contacts {
  display: grid;
  gap: 0.75rem;
  margin-top: 2rem;
}

.contact {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  min-height: 4rem;
  padding: 0.5rem 1.75rem;
  background: transparent;
  border: 2px solid var(--ink);
  border-radius: 999px;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.25;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.contact:hover { transform: translateY(-2px); }
.contact img { flex: none; width: 2rem; height: auto; }
.contact span { min-width: 0; overflow-wrap: anywhere; }

.fresh { margin-top: 1.5rem; }

.fresh a {
  display: inline-flex;
  align-items: center;
  min-height: 3rem;
  font-weight: 600;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.25em;
}

/* Футер */
.footer {
  padding-block: 2.5rem;
  background: var(--ink);
}

.toast {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 40;
  display: none;
  max-width: 40rem;
  margin-inline: auto;
  padding: 1rem 1.5rem;
  background: var(--ink);
  border: 2px solid var(--on-dark);
  border-radius: 1.25rem;
  color: var(--on-dark);
  font-weight: 600;
  text-align: center;
}

.toast.is-on { display: block; }

/* Появление секций */
.js .reveal {
  opacity: 0;
  transform: translateY(1rem);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.js .reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (min-width: 37.5em) {
  :root { --gutter: 1.5rem; --sec: 6rem; }
  .actions { display: flex; flex-wrap: wrap; }
  .calc { padding: 2rem; }
  .works--reels, .steps { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 56.25em) {
  :root { --sec: 7rem; }
  .menu-open { display: none; }
  .header__cta { display: inline-flex; }
  .nav { display: flex; gap: 2rem; margin-left: auto; }
  .header__bar { gap: 2rem; }

  .hero { padding-block: 3rem var(--sec); }

  .hero__grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
  }

  .hero__img {
    aspect-ratio: auto;
    height: clamp(30rem, 72vh, 42rem);
    object-position: 90% 50%;
  }

  .split { grid-template-columns: 1fr 1fr; gap: 4rem; }
  .works { grid-template-columns: repeat(2, 1fr); gap: 2rem 1.5rem; }
  .plans { grid-template-columns: repeat(3, 1fr); }
  .calc__row { grid-template-columns: 1.4fr 1fr; gap: 3rem; }
  .total-wrap { align-self: start; }
  .steps { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 68.75em) {
  .works--reels { grid-template-columns: repeat(3, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .btn:hover, .contact:hover, .work:hover, .work:focus-visible { transform: none; }
  .js .reveal { opacity: 1; transform: none; }
}

/* Обложки с текстом слева: кадр 4:3 прижат к левому краю, чтобы текст не обрезался */
.work__img[src*="gebi-cakes"],
.work__img[src*="pv-vyveski"],
.work__img[src*="kodozmey"],
.work__img[src*="pervyj-zakaz"] { object-position: 0 0; }

/* Рамка карточки при наведении уходит в поле, контент стоит ровно под заголовком */
.works { margin-inline: -0.875rem; }

/* Промежуток 12px между строками добавок */
.addons { display: grid; gap: 0.75rem; }

.total__row strong { font-size: min(2.5rem, 11vw); }
.header__bar { flex-wrap: wrap; }
.chip, .plan__body, .total__row { overflow-wrap: anywhere; }

/* Иконки */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.ico {
  flex: none;
  width: 2rem;
  height: 2rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ico--sm { width: 1.25rem; height: 1.25rem; stroke-width: 2; }

/* Логотип без названия */
.logo { gap: 0.625rem; font-size: 1.375rem; }

.logo__dot {
  width: 0.75rem;
  height: 0.75rem;
  background: var(--accent);
  border-radius: 50%;
}

.logo--light .logo__dot { background: #d2622f; }

/* Подпись над заголовком */
.eyebrow {
  margin-bottom: 0.875rem;
  color: var(--accent);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.3;
  text-transform: uppercase;
}

.sec--tint { background: #e9e1d4; }

.sec-head {
  display: grid;
  gap: 1rem;
  align-items: end;
}

.sec-head__note { max-width: 28rem; color: var(--ink-soft); font-weight: 500; }

/* Факты под первым экраном */
.facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin: 3rem 0 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 1.5rem;
}

.fact { padding: 1.25rem; border-top: 1px solid var(--line); }
.fact:nth-child(-n+2) { border-top: 0; }
.fact:nth-child(even) { border-left: 1px solid var(--line); }

.fact dt {
  font-size: clamp(1.375rem, 2.6vw, 2.125rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.fact dd { margin: 0.25rem 0 0; color: var(--ink-soft); font-size: 1.0625rem; line-height: 1.35; }

/* Бегущая строка */
.ticker {
  overflow: hidden;
  padding-block: 1.125rem;
  background: var(--ink);
  color: var(--on-dark);
}

.ticker__track {
  display: flex;
  width: max-content;
  animation: ticker 50s linear infinite;
}

.ticker ul { display: flex; }

.ticker li {
  display: flex;
  align-items: center;
  font-size: 1.125rem;
  font-weight: 600;
  white-space: nowrap;
}

.ticker li::after {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  margin-inline: 2rem;
  background: #d2622f;
  border-radius: 50%;
}

@keyframes ticker { to { transform: translateX(-50%); } }

/* Возможности */
.features {
  display: grid;
  gap: 1rem;
  margin-top: 2.5rem;
}

.feature {
  padding: 1.75rem;
  background: var(--surface);
  border-radius: 1.5rem;
}

.feature .ico { color: var(--accent); }
.feature h3 { margin-top: 1rem; font-size: 1.375rem; font-weight: 600; line-height: 1.25; }
.feature p { margin-top: 0.5rem; color: var(--ink-soft); font-size: 1.125rem; line-height: 1.5; }

/* Работы: карточки с поверхностью */
.works { margin-inline: 0; }

.work {
  padding: 0;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.work:hover, .work:focus-visible {
  border-color: var(--ink);
  box-shadow: 0 1rem 2.5rem rgba(17, 22, 28, 0.1);
}

.work__img {
  margin: 0;
  border-radius: 0;
  border-bottom: 1px solid var(--line);
}

.work__title, .work__line, .work__tags, .work__open { margin-inline: 1.5rem; }
.work__title { margin-top: 0.75rem; }

.work__open {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  align-self: flex-start;
  padding-block: 0.5rem 1.25rem;
  text-decoration: none;
}

.work__open .ico { color: var(--accent); transition: transform 0.2s ease; }
.work:hover .work__open .ico { transform: translateX(4px); }

/* Этапы: пояснения и линия */
.step { position: relative; }
.step__d { color: var(--ink-soft); font-size: 1.125rem; line-height: 1.45; }

.step__s {
  padding: 0.125rem 0.75rem;
  background: #f6e3d9;
  border-radius: 999px;
  font-size: 1rem;
  text-decoration: none;
}

/* Вопросы */
.faq { display: grid; gap: 2rem; }

.qa {
  background: var(--surface);
  border-radius: 1.25rem;
}

.qa + .qa { margin-top: 0.75rem; }

.qa summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4rem;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  line-height: 1.3;
  list-style: none;
  cursor: pointer;
}

.qa summary::-webkit-details-marker { display: none; }

.qa summary::after {
  content: "+";
  flex: none;
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  background: var(--ink);
  border-radius: 50%;
  color: var(--on-dark);
  font-size: 1.375rem;
  line-height: 1;
}

.qa[open] summary::after { content: "−"; }
.qa p { max-width: 60ch; padding: 0 1.5rem 1.5rem; color: var(--ink-soft); font-size: 1.125rem; }

/* Контакты: строки вместо плашек */
.contacts { gap: 0; border-top: 1px solid var(--line); }
.contacts li { border-bottom: 1px solid var(--line); }

.contact {
  min-height: 5rem;
  padding: 0.75rem 0;
  border: 0;
  border-radius: 0;
  transition: color 0.2s ease;
}

.contact:hover { color: var(--accent); transform: none; }
.contact img { width: 2.5rem; height: 2.5rem; }
.contact > .ico { margin-left: auto; }
.contact__text { display: grid; }
.contact__text b { font-weight: 700; }
.contact__text span { color: var(--ink-soft); font-size: 1.125rem; font-weight: 500; }

/* Футер */
.footer { padding-block: 3.5rem; color: var(--on-dark); }

.footer__grid { display: grid; gap: 2rem; }
.footer__line { max-width: 26rem; margin-top: 0.5rem; opacity: 0.8; font-size: 1.125rem; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 0.25rem 1.75rem; }

.footer__nav a {
  display: inline-flex;
  align-items: center;
  min-height: 3rem;
  font-size: 1.125rem;
  font-weight: 600;
  text-decoration: none;
}

.footer__nav a:hover { text-decoration: underline; text-underline-offset: 0.3em; }

.btn--light { justify-self: start; background: var(--on-dark); border-color: var(--on-dark); color: var(--ink); }

@media (min-width: 37.5em) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .facts { grid-template-columns: repeat(4, 1fr); }
  .fact { padding: 1.5rem 1.75rem; border-top: 0; }
  .fact + .fact { border-left: 1px solid var(--line); }
}

@media (min-width: 56.25em) {
  .features { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
  .sec-head { grid-template-columns: 1fr auto; gap: 3rem; }
  .sec-head__note { text-align: right; }
  .faq { grid-template-columns: 1fr 1.6fr; gap: 4rem; align-items: start; }
  .footer__grid { grid-template-columns: 1fr auto auto; align-items: center; gap: 3rem; }

  /* Пятая работа на всю ширину: без дыры в сетке */
  .works:not(.works--reels) > li:last-child { grid-column: 1 / -1; }

  .works:not(.works--reels) > li:last-child .work {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr auto auto auto 1fr;
    column-gap: 1rem;
  }

  .works:not(.works--reels) > li:last-child .work__img {
    grid-row: 1 / -1;
    height: 100%;
    border-right: 1px solid var(--line);
    border-bottom: 0;
  }

  .works:not(.works--reels) > li:last-child .work__title { grid-column: 2; grid-row: 2; }
  .works:not(.works--reels) > li:last-child .work__line { grid-column: 2; grid-row: 3; }
  .works:not(.works--reels) > li:last-child .work__tags { grid-column: 2; grid-row: 4; margin-top: 0.75rem; }
  .works:not(.works--reels) > li:last-child .work__open { grid-column: 2; grid-row: 5; align-self: start; margin-top: 0.75rem; }
}

@media (prefers-reduced-motion: reduce) {
  .ticker__track { animation: none; }
  .work:hover .work__open .ico { transform: none; }
}

/* Заголовки: Playfair Display */
@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-display: swap;
  font-weight: 400 700;
  src: url("assets/fonts/playfair-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-display: swap;
  font-weight: 400 700;
  src: url("assets/fonts/playfair-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;
}

h1, h2, .sub, .feature h3, .work__title, .step__t, .plan__name, .addons legend, .fact dt, .logo {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -0.005em;
}

h1 { font-size: clamp(2.75rem, 6.2vw, 5.25rem); line-height: 1.06; }
h2 { font-size: clamp(2.25rem, 4.4vw, 3.5rem); line-height: 1.12; }
.feature h3, .step__t, .plan__name { font-size: 1.5rem; }
.work__title { font-size: 1.625rem; }
.fact dt { font-feature-settings: "lnum" 1; }
.plan__price, .total__row strong { font-feature-settings: "lnum" 1; }
