/* ALCHIMIYA — вёрстка по шаблону Decora (Framer) */
:root {
  --bg: #f3efe6;
  --white: #ffffff;
  --ink: #343230;      /* заголовки */
  --text: #5d5850;     /* основной текст */
  --meta: #3a3938;     /* подписи карточек */
  --line: rgba(94, 88, 80, 0.5);
  --line-soft: rgba(94, 88, 80, 0.2);
  --radius: 4px;
  --container: 1200px;
  --gutter: 100px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-optical-sizing: auto;
  font-size: 16px;
  line-height: 1.3;
  letter-spacing: -0.02em;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p { margin: 0; }
button { font: inherit; }

/* ---------- Типографика ---------- */
.h1 { font-size: 64px; line-height: 1.1; font-weight: 500; letter-spacing: -0.015em; color: var(--ink); }
.h2 { font-size: 56px; line-height: 1.2; font-weight: 500; letter-spacing: -0.015em; color: var(--ink); }
.h3 { font-size: 32px; line-height: 1.3; font-weight: 500; letter-spacing: -0.005em; color: var(--ink); }
.h4 { font-size: 20px; line-height: 1.3; font-weight: 500; letter-spacing: -0.005em; color: var(--ink); }
.h5 { font-size: 16px; line-height: 1.3; font-weight: 500; letter-spacing: -0.005em; color: var(--ink); }
.lead { font-size: 22px; line-height: 1.3; color: var(--meta); letter-spacing: -0.02em; }
.text-lg { font-size: 18px; line-height: 1.3; letter-spacing: -0.02em; }
.text-md { font-size: 16px; line-height: 1.3; }
.caption {
  font-size: 14px; line-height: 1.3; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
}
.meta {
  display: flex; gap: 4px;
  font-size: 12px; line-height: 1.3; font-weight: 300;
  letter-spacing: 0.02em; text-transform: uppercase; color: var(--meta);
}
.center { text-align: center; }

/* ---------- Контейнер ---------- */
.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.section { padding: 100px 0; }

/* ---------- Шапка ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  padding: 20px 0 16px;
  background: var(--bg);
  transition: background-color .3s ease, color .3s ease;
}
.header__row {
  display: grid; grid-template-columns: minmax(0, 400px) 1fr minmax(0, 400px); align-items: center;
}
.nav { display: flex; gap: 24px; }
.nav a {
  flex: 1; color: var(--text);
  transition: opacity .2s ease;
}
.nav a:hover { opacity: .6; }
.nav--right { justify-content: flex-end; text-align: right; }
.logo {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--ink); font-weight: 600; font-size: 17px; letter-spacing: 0.14em;
  text-transform: uppercase; justify-self: center;
}
.logo__mark { width: 22px; height: 22px; }
.header--transparent:not(.is-scrolled) { background: transparent; }
.header--transparent:not(.is-scrolled) .nav a,
.header--transparent:not(.is-scrolled) .logo,
.header--transparent:not(.is-scrolled) .burger { color: #fff; }
.burger {
  display: none; justify-self: end;
  width: 32px; height: 32px; padding: 0; border: 0; background: none;
  color: var(--ink); cursor: pointer;
}
.burger span { display: block; width: 22px; height: 1.5px; margin: 5px auto; background: currentColor; transition: transform .3s ease, opacity .3s ease; }
.mobile-menu { display: none; }

/* ---------- Кнопка-ссылка со стрелкой ---------- */
.link-btn {
  display: inline-flex; flex-direction: column; gap: 8px;
  color: var(--ink); white-space: nowrap;
}
.link-btn__row { display: flex; align-items: center; gap: 8px; }
.link-btn__line { height: 1px; background: currentColor; }
.link-btn svg { width: 24px; height: 24px; transition: transform .3s ease; }
.link-btn:hover svg { transform: translateX(4px); }
.link-btn--light { color: #fff; }

/* ---------- Hero ---------- */
.hero {
  position: relative; height: 100vh; min-height: 640px; max-height: 1100px;
  display: flex; align-items: flex-end; overflow: hidden; color: #fff;
}
.hero__img, .hero__overlay { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__img { object-fit: cover; }
.hero__overlay { background: linear-gradient(rgba(0,0,0,.2) 6%, rgba(0,0,0,.5) 100%); }
.hero__inner {
  position: relative; width: 100%; padding-bottom: 80px;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 40px;
}
.hero__text { display: flex; flex-direction: column; gap: 24px; max-width: 1058px; }
.hero__text .caption { color: rgba(255,255,255,.5); }
.hero__text .h1 { color: #fff; }

/* ---------- Блок «О нас» / лестница ---------- */
.intro { background: var(--bg); }
.intro__title { max-width: 780px; margin: 0 auto; }
.intro__sub { max-width: 620px; margin: 24px auto 0; }
.stairs {
  display: flex; gap: 24px; margin-top: 60px; padding: 60px 0;
  height: 883px;
}
.stairs__col { flex: 1; display: flex; flex-direction: column; justify-content: flex-start; position: relative; }
.stairs__divider { width: 2px; background: var(--line); align-self: stretch; flex: none; opacity: .5; }
.stairs__card { display: flex; flex-direction: column; gap: 60px; padding-top: 40px; }
.stairs__num { text-align: right; }
.stairs__col:nth-child(1) .stairs__card { margin-top: calc(605px); }
.stairs__col:nth-child(3) .stairs__card { margin-top: calc(458px); }
.stairs__col:nth-child(5) .stairs__card { margin-top: calc(305px); }
.stairs__col:nth-child(7) .stairs__card { margin-top: calc(153px); }
.stairs__col:nth-child(9) .stairs__card { margin-top: 0; }

/* ---------- Заголовок секции ---------- */
.section-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 16px;
  margin-bottom: 60px;
}

/* ---------- Карточки ---------- */
.card { display: flex; flex-direction: column; gap: 16px; }
.card__media { position: relative; overflow: hidden; border-radius: var(--radius); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.card__media::after {
  content: ""; position: absolute; inset: 0; background: #000; opacity: 0;
  transition: opacity .4s ease;
}
.card:hover .card__media img { transform: scale(1.04); }
.card:hover .card__media::after { opacity: .12; }
.card__body { display: flex; flex-direction: column; gap: 12px; padding-right: 16px; }
.card--project .card__media { aspect-ratio: 387 / 473; }
.card--small .card__media { aspect-ratio: 256 / 248; }
.card--furniture .card__media { aspect-ratio: 285 / 306; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* ---------- Карусель ---------- */
.split { display: flex; gap: 40px; }
.split__aside { flex: 0 0 360px; display: flex; flex-direction: column; gap: 32px; align-items: flex-start; }
.carousel { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 32px; }
.carousel__track {
  display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; padding-left: 100px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 100px, #000 calc(100% - 60px), transparent);
          mask-image: linear-gradient(90deg, transparent 0, #000 100px, #000 calc(100% - 60px), transparent);
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track .card { flex: 0 0 256px; scroll-snap-align: start; scroll-margin-left: 100px; }
.carousel__nav { display: flex; justify-content: flex-end; gap: 8px; }
.carousel__btn {
  width: 32px; height: 32px; border-radius: 50%; border: 0; cursor: pointer;
  display: grid; place-items: center; background: var(--ink); color: #fff;
  transition: opacity .2s ease;
}
.carousel__btn:disabled { opacity: .25; cursor: default; }
.carousel__btn svg { width: 16px; height: 16px; }

/* ---------- Белая карточка «текст + фото» ---------- */
.feature {
  display: flex; background: var(--white); border-radius: var(--radius); overflow: hidden;
  min-height: 580px;
}
.feature__text {
  flex: 1; padding: 40px; display: flex; flex-direction: column; gap: 24px;
}
.feature__media { flex: 1; position: relative; min-height: 360px; }
.feature__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.feature--reverse { flex-direction: row-reverse; }
.feature__stats { margin-top: auto; display: flex; gap: 120px; }
.feature__stats div { display: flex; flex-direction: column; gap: 4px; }

/* ---------- FAQ / аккордеон ---------- */
.faq { display: flex; gap: 40px; }
.faq__head { flex: 0 0 480px; }
.faq__list { flex: 1; display: flex; flex-direction: column; gap: 16px; }
.faq__item { background: var(--white); border-radius: 8px; padding: 20px 24px; }
.faq__q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 0; border: 0; background: none; text-align: left; cursor: pointer; color: var(--ink);
}
.faq__icon {
  flex: none; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line-soft);
  display: grid; place-items: center; transition: transform .3s ease;
}
.faq__icon svg { width: 16px; height: 16px; }
.faq__item.is-open .faq__icon { transform: rotate(45deg); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s ease; }
.faq__a > div { overflow: hidden; }
.faq__a p { padding-top: 12px; max-width: 584px; }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }

/* ---------- Логотипы клиентов ---------- */
.logos { display: grid; grid-template-columns: repeat(6, 1fr); gap: 24px; }
.logos__item {
  height: 120px; border-radius: var(--radius); background: var(--white);
  display: grid; place-items: center; color: var(--text); letter-spacing: .12em; font-size: 12px;
}

/* ---------- CTA «Get in touch» ---------- */
.cta { position: relative; padding: 150px 0; overflow: hidden; }
.cta__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta__card {
  position: relative; margin: 0 auto; max-width: 570px; padding: 80px;
  background: var(--white); border-radius: var(--radius);
  display: flex; flex-direction: column; align-items: center; gap: 32px; text-align: center;
}
.cta__card .text-lg { color: var(--meta); }
.cta__contacts { display: flex; flex-direction: column; gap: 8px; }
.cta__contacts a:hover { color: var(--ink); }

/* ---------- Подвал ---------- */
.footer { padding: 100px 0; }
.footer__inner { max-width: 1000px; margin: 0 auto; display: flex; flex-direction: column; gap: 40px; }
.footer__top { display: flex; justify-content: space-between; gap: 40px; }
.footer__brand { max-width: 300px; display: flex; flex-direction: column; gap: 24px; }
.footer__right { display: flex; flex-direction: column; justify-content: space-between; align-items: flex-end; gap: 24px; }
.social { display: flex; gap: 16px; color: var(--ink); }
.social a { width: 24px; height: 24px; transition: opacity .2s ease; }
.social a:hover { opacity: .6; }
.social svg { width: 24px; height: 24px; }
.footer__links { display: flex; gap: 32px; }
.footer__links a { color: var(--text); transition: color .2s ease; }
.footer__links a:hover { color: var(--ink); }
.footer__bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding-top: 40px; border-top: 1px solid var(--line-soft);
}
.footer__bottom a { color: var(--meta); }

/* ---------- Внутренние страницы ---------- */
.page { padding-top: 200px; padding-bottom: 100px; }
.page__title { margin-bottom: 60px; }

/* Ценности */
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.value {
  background: var(--white); border-radius: var(--radius); padding: 24px;
  display: flex; flex-direction: column; gap: 24px; min-height: 198px;
}
.value svg { width: 24px; height: 24px; color: var(--ink); }
.value__text { display: flex; flex-direction: column; gap: 8px; margin-top: auto; }
.value__text p {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

/* Команда */
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.team__photo { aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; margin-bottom: 24px; }
.team__photo img { width: 100%; height: 100%; object-fit: cover; }
.team h3 { margin-bottom: 8px; }

/* Контакты */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.panel { background: var(--white); border-radius: var(--radius); padding: 40px; }
.form { display: flex; flex-direction: column; gap: 24px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field input, .field textarea {
  width: 100%; font: inherit; color: var(--ink);
  padding: 12px; border: 1px solid var(--line-soft); border-radius: var(--radius);
  background: var(--white); outline: none; transition: border-color .2s ease;
}
.field textarea { min-height: 100px; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--text); }
.field ::placeholder { color: rgba(93, 88, 80, .5); }
.btn {
  display: inline-flex; justify-content: center; align-items: center;
  height: 40px; border: 0; border-radius: var(--radius); cursor: pointer;
  background: var(--text); color: #fff; transition: background-color .2s ease;
}
.btn:hover { background: var(--ink); }
.perks { list-style: none; margin: 40px 0 0; padding: 0; display: flex; flex-direction: column; gap: 27px; }
.perks li { display: flex; gap: 16px; align-items: center; }
.perks svg { width: 16px; height: 16px; flex: none; color: var(--ink); }
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 80px; margin-top: 60px; text-align: center; }
.contact-cards > div { display: flex; flex-direction: column; gap: 16px; }
.contact-cards a:hover { color: var(--ink); }

/* Детальная страница проекта */
.detail-hero { position: relative; height: 100vh; min-height: 640px; max-height: 1100px; display: flex; align-items: flex-end; overflow: hidden; }
.detail-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.detail-hero::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.3); }
.detail-hero .container { position: relative; z-index: 1; padding-bottom: 100px; }
.detail-hero h1 { color: #fff; max-width: 800px; }
.detail { display: flex; gap: 40px; align-items: flex-start; }
.detail__info {
  flex: 0 0 480px; position: sticky; top: 100px; padding-top: 40px;
  display: flex; flex-direction: column; gap: 60px;
}
.detail__facts { display: flex; flex-direction: column; gap: 32px; }
.fact { display: flex; gap: 16px; align-items: center; }
.fact__icon {
  width: 48px; height: 48px; border-radius: 50%; background: var(--white);
  display: grid; place-items: center; flex: none; color: var(--ink);
}
.fact__icon svg { width: 24px; height: 24px; }
.fact .text-lg { color: var(--ink); }
.detail__gallery { flex: 1; display: flex; flex-direction: column; gap: 40px; }
.detail__gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); }
.recs { padding-top: 60px; display: flex; flex-direction: column; gap: 24px; }

/* Детальная страница товара */
.product { display: flex; background: var(--white); border-radius: var(--radius); overflow: hidden; min-height: 470px; }
.product__text { flex: 1; padding: 40px; display: flex; flex-direction: column; gap: 32px; }
.product__text .meta { color: var(--text); }
.product__media { flex: 1; position: relative; min-height: 320px; }
.product__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---------- Появление при скролле ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .9s ease, transform .9s cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ================= Планшет ================= */
@media (max-width: 1199px) {
  :root { --gutter: 40px; }
  .h1 { font-size: 56px; }
  .h2 { font-size: 48px; }
  .stairs { height: auto; flex-wrap: wrap; padding: 0; }
  .stairs__divider { display: none; }
  .stairs__col { flex: 1 1 calc(33.333% - 24px); border-top: 1px solid var(--line); }
  .stairs__col .stairs__card { margin-top: 0 !important; padding-top: 24px; gap: 24px; }
  .split { flex-direction: column; }
  .split__aside { flex: none; }
  .carousel__track { padding-left: 0; -webkit-mask-image: none; mask-image: none; }
  .carousel__track .card { scroll-margin-left: 0; }
  .grid-4, .values { grid-template-columns: repeat(2, 1fr); }
  .faq { flex-direction: column; }
  .faq__head { flex: none; }
  .logos { grid-template-columns: repeat(3, 1fr); }
  .detail__info { flex-basis: 360px; }
  .contact-cards { gap: 24px; }
}

/* ================= Мобильный ================= */
@media (max-width: 809px) {
  :root { --gutter: 20px; }
  .h1 { font-size: 40px; }
  .h2 { font-size: 36px; }
  .h3 { font-size: 24px; }
  .lead { font-size: 18px; }
  .section { padding: 64px 0; }
  .header__row { grid-template-columns: 1fr auto; }
  .header .nav { display: none; }
  .logo { justify-self: start; }
  .burger { display: block; }
  .mobile-menu {
    position: fixed; inset: 0; z-index: 40; background: var(--bg);
    display: flex; flex-direction: column; gap: 24px; padding: 120px 20px 40px;
    opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s;
  }
  .mobile-menu a { font-size: 32px; font-weight: 500; color: var(--ink); }
  body.menu-open .mobile-menu { opacity: 1; visibility: visible; }
  body.menu-open { overflow: hidden; }
  body.menu-open .header { background: var(--bg); }
  body.menu-open .header .logo, body.menu-open .header .burger { color: var(--ink); }
  body.menu-open .burger span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  body.menu-open .burger span:nth-child(2) { opacity: 0; }
  body.menu-open .burger span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
  .hero__inner { flex-direction: column; align-items: flex-start; padding-bottom: 48px; }
  .stairs__col { flex-basis: 100%; }
  .stairs__card { flex-direction: row !important; justify-content: space-between; align-items: baseline; }
  .section-head { flex-direction: column; align-items: flex-start; margin-bottom: 40px; }
  .grid-3, .grid-4, .values, .team { grid-template-columns: 1fr; }
  .feature, .feature--reverse, .product { flex-direction: column; }
  .feature__media, .product__media { min-height: 300px; order: -1; }
  .feature__stats { gap: 48px; }
  .logos { grid-template-columns: repeat(2, 1fr); }
  .cta { padding: 64px 0; }
  .cta__card { padding: 48px 24px; }
  .footer { padding: 64px 0; }
  .footer__top, .footer__bottom { flex-direction: column; align-items: flex-start; }
  .footer__right { align-items: flex-start; }
  .footer__links { flex-wrap: wrap; gap: 16px 24px; }
  .page { padding-top: 140px; padding-bottom: 64px; }
  .page__title { margin-bottom: 40px; }
  .contact-grid, .form__row, .contact-cards { grid-template-columns: 1fr; }
  .panel { padding: 24px; }
  .detail { flex-direction: column; }
  .detail__info { position: static; flex: none; padding-top: 0; gap: 32px; }
  .detail__gallery { gap: 16px; }
}

/* ---------- Плитки, галереи (страницы About / Destinations / Residence) ---------- */
.tile { display: flex; flex-direction: column; gap: 16px; }
.tile__media { position: relative; overflow: hidden; border-radius: var(--radius); }
.tile__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.tile:hover .tile__media img { transform: scale(1.04); }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.gallery-3 { display: grid; grid-template-columns: 1fr 1.4fr 1fr; gap: 24px; margin-top: 60px; align-items: end; }
.gallery-3 img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: var(--radius); }
.gallery-3 > div:nth-child(2) img { aspect-ratio: 4/5; }
.mini-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: auto; }
.mini-gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); }
.feature__media--contain { background: var(--white); }
.feature__media--contain img { object-fit: contain; padding: 40px; }
.card--project .card__body p:last-child {
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.card--small .card__media { aspect-ratio: 16 / 10; }
@media (max-width: 1199px) {
  .gallery-3 { gap: 16px; }
}
@media (max-width: 809px) {
  .grid-2, .gallery-3 { grid-template-columns: 1fr; }
  .mini-gallery { margin-top: 16px; }
}
.faq__head { display: flex; flex-direction: column; gap: 40px; }
.faq__img { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; max-width: 400px; }
.faq__img img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 1199px) { .faq__img { display: none; } }

/* ---------- Засновниці ---------- */
.founders { display: grid; grid-template-columns: 1.4fr 1fr; gap: 80px; align-items: center; }
.founders__photo { border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 4; }
.founders__photo img { width: 100%; height: 100%; object-fit: cover; }
.founders__text { display: flex; flex-direction: column; gap: 24px; max-width: 480px; }
.founders__text .lead { color: var(--ink); }
@media (max-width: 1199px) { .founders { gap: 40px; } }
@media (max-width: 809px) { .founders { grid-template-columns: 1fr; } }

/* ---------- Полноэкранные панели (услуги, аромати, сировина) ---------- */
.panels { position: relative; }
.panel {
  position: sticky; top: 0;
  height: 100vh; min-height: 640px;
  display: flex; align-items: flex-end; overflow: hidden;
  background: #1e1915;
}
.panel__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.panel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(0,0,0,.35) 100%); pointer-events: none; }
.panel__inner { position: relative; z-index: 1; width: 100%; padding-bottom: 80px; }
.panel__card {
  max-width: 560px; padding: 32px 36px 36px;
  background: rgba(66, 48, 38, .86);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  color: rgba(255,255,255,.88);
  display: flex; flex-direction: column; gap: 20px;
  font-size: 17px; line-height: 1.5; letter-spacing: 0;
}
.panel__card p { margin: 0; }
.panel__title { color: #fff; font-size: 48px; }
.panel__caption { color: rgba(255,255,255,.6); }
@media (max-width: 809px) {
  .panel { position: relative; height: auto; min-height: 0; flex-direction: column; align-items: stretch; background: rgb(66, 48, 38); }
  .panel::after { display: none; }
  .panel__img { position: relative; height: 70vh; }
  .panel__inner { padding: 0; }
  .panel__card { max-width: none; padding: 28px 20px 40px; backdrop-filter: none; -webkit-backdrop-filter: none; background: transparent; font-size: 16px; }
  .panel__title { font-size: 32px; }
}

/* ---------- Анимация по скроллу (покадрово) ---------- */
.scrub { position: relative; height: 350vh; background: #f8f8f8; }
.scrub__sticky {
  position: sticky; top: 0; height: 100vh;
  display: grid; place-items: center; overflow: hidden;
}
.scrub__canvas { width: min(100vw, calc(100vh * 848 / 672)); height: auto; max-height: 100vh; display: block; }
@media (max-width: 809px) { .scrub { height: 250vh; } }
