.bt-gallery {
  margin: 0;
  background: #faf9f5;
  color: #262e28;
  font: 16px/1.45 "Helvetica Neue", Arial, sans-serif;
}
.bt-gallery main {
  box-sizing: border-box;
  max-width: 1340px;
  margin: auto;
  padding: clamp(26px, 5vw, 70px) clamp(18px, 4vw, 56px);
}
.bt-gallery h1 {
  max-width: 19ch;
  margin: 26px 0 32px;
  font: normal clamp(36px, 5vw, 70px)/1.02 Georgia, serif;
  letter-spacing: -.04em;
}
.bt-gallery-back { color: inherit; }
.bt-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 245px), 1fr));
  gap: 32px 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.bt-card { display: block; color: inherit; text-decoration: none; }
.bt-card:focus-visible, .bt-gallery-back:focus-visible, .bt-preview-bar a:focus-visible {
  outline: 3px solid #527a77;
  outline-offset: 4px;
}
.bt-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 32/21;
  object-fit: cover;
  object-position: 50% 38%;
  border-radius: 5px;
}
.bt-card--premiera img { object-position: 92% 38%; }
.bt-card--sever img { object-position: 82% 38%; }
.bt-card strong { display: block; margin: 10px 0 3px; font: normal 30px/1.2 Georgia, serif; }
.bt-card span { color: #4d5b51; font-size: 15px; }
.bt-card:hover strong { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.bt-preview-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 12px;
  padding: 10px clamp(16px, 4vw, 48px);
  background: #f7f6f2;
  color: #333c35;
  font: 14px/1.45 "Helvetica Neue", Arial, sans-serif;
}
.bt-preview-bar a, .bt-preview-bar a:hover { color: #253e34; }

.bt-contact-page {margin:0; background:#f7f6f1; color:#252721; font:16px/1.55 system-ui,sans-serif}
.bt-contact-page main {box-sizing:border-box;max-width:650px;margin:clamp(24px,8vh,90px) auto;padding:24px}
.bt-contact-page h1 {font:500 clamp(36px,7vw,58px)/1.1 Georgia,serif;margin:16px 0}
.bt-contact-page a {color:inherit}
.bt-contact-meta {color:#555a50;margin:16px 0 0}
.bt-contact-channel {display:inline-flex;align-items:center;gap:8px;padding:8px 14px;border-radius:999px;background:#eceae1;font-weight:600;margin:0 0 12px}
.bt-contact-note {color:#4a4f46;margin:0}
.bt-contact-page label {display:block;font-weight:650;margin-top:1.75rem}
.bt-contact-page textarea {box-sizing:border-box;width:100%;resize:vertical;border:1px solid #74776c;border-radius:8px;padding:14px;font:inherit}
.bt-contact-page button {background:#303c31;color:white;border:0;border-radius:8px;margin-top:12px;padding:12px 18px;font:inherit;cursor:pointer}

.bt-channel-icon {display:inline-block;flex:none;vertical-align:middle}
.bt-cta-btn {display:inline-flex !important;align-items:center;justify-content:center;gap:10px;min-height:44px;box-sizing:border-box;max-width:100%;transition:transform .16s ease,opacity .16s ease}
.bt-cta-btn:hover {transform:translateY(-1px)}
.bt-social-links {display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.bt-social-links--center {justify-content:center}
.bt-social-link {display:inline-flex;align-items:center;gap:5px;min-height:44px;color:inherit;text-decoration:none;font-size:13.5px;line-height:1.35;white-space:nowrap;transition:background-color .16s ease,transform .16s ease,opacity .16s ease}
.bt-social-link span {text-decoration:underline;text-underline-offset:.24em;text-decoration-thickness:1px}
.bt-social-link:hover {color:inherit !important;transform:translateY(-1px)}
.bt-social-link--chip {padding:0 10px;border:1px solid currentColor;border-radius:999px}
.bt-social-link--chip span {text-decoration:none}
.bt-social-link--chip:hover, .bt-social-link--box:hover {background:color-mix(in srgb,currentColor 10%,transparent)}
.bt-social-link--box {padding:0 10px;border:1px solid currentColor}
.bt-social-link--box span {text-decoration:none}
.bt-footer-social {display:inline-flex;align-items:center;flex-wrap:wrap;gap:6px}
.bt-footer-social a {display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:999px;color:inherit;text-decoration:none;opacity:1;transition:background-color .16s ease,transform .16s ease}
.bt-footer-social a:hover {color:inherit !important;background:color-mix(in srgb,currentColor 12%,transparent);transform:translateY(-1px)}
.bt-footer-social a:focus-visible, .bt-social-link:focus-visible, .bt-cta-btn:focus-visible, footer .pd-credit:focus-visible {outline:2px solid currentColor;outline-offset:3px}
@media (prefers-reduced-motion: reduce) {
  .bt-cta-btn, .bt-social-link, .bt-footer-social a {transition:none}
  .bt-cta-btn:hover, .bt-social-link:hover, .bt-footer-social a:hover {transform:none}
}

main details summary {display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:44px;list-style:none}
main details summary::-webkit-details-marker {display:none}
main details summary::after {content:"+";font-size:1.35em;font-weight:400;line-height:1;flex:none;opacity:.72}
main details[open] summary::after {content:"−"}
main details summary:focus-visible {outline:2px solid currentColor;outline-offset:4px}

.bt-buyer-questions {padding:clamp(42px,7vw,100px) max(6%,calc((100% - 1040px)/2)); line-height:1.55}
.bt-buyer-questions h2 {margin:0 0 1.4rem;font-size:clamp(30px,4.5vw,64px);line-height:1.12}
.bt-buyer-questions details {border-top:1px solid currentColor;padding:.9rem 0}
.bt-buyer-questions summary {font-size:clamp(17px,2vw,22px);font-weight:650;cursor:pointer}
.bt-buyer-questions p {max-width:72ch;margin:.7rem 0;font-size:17px;line-height:1.6}
.bt-gnezdo .bt-buyer-questions {background:#fff7ed;color:#4e2a20}
.bt-premiera .bt-buyer-questions {background:#100f0c;color:#efe0c3}
.bt-premiera .bt-buyer-questions h2 {font-family:"Old Standard TT",serif;font-weight:400}
.bt-rozetka .bt-buyer-questions {background:#faf6ee;color:#18243a}
.bt-rozetka .bt-buyer-questions h2 {font:normal clamp(33px,5vw,70px)/1.05 Forum,serif}
.bt-bento .bt-buyer-questions details {padding:16px 20px;border:0;border-radius:16px;background:white;margin:8px 0}
.bt-visit-note {max-width:61ch;margin:0 auto;font-size:clamp(16px,1.6vw,21px);line-height:1.5}
.bt-direct-links {display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:8px 18px}
.bt-direct-links a {display:inline-flex;align-items:center;gap:8px;min-height:44px;color:inherit;text-decoration:none}
.bt-direct-links a span {text-decoration:underline;text-underline-offset:.22em}

footer .pd-credit {font:500 12px/1.5 var(--font-sans, system-ui, sans-serif); text-decoration:none; color:inherit; text-transform:none; letter-spacing:.01em}
footer .pd-credit:hover {color:inherit}

:where(main img) {height:auto}
/* Заголовки без висячих слов, абзацы без одинокого слова в последней строке. */
:is(header, main) :is(h1, h2, h3) {text-wrap:balance}
main p, main summary {text-wrap:pretty}
.bt-bento #contact h2 {max-width:100%;overflow-wrap:anywhere}

/* Движение в примерах: спокойное и без скриптов.
   Первый экран проявляется при загрузке, блоки ниже мягко поднимаются при прокрутке
   (scroll-driven animations; где их нет, страница просто статична). Анимируются только
   opacity и отдельные свойства translate/scale — они не перебивают наклоны из inline transform.
   При prefers-reduced-motion движения нет совсем. */
@media (prefers-reduced-motion: no-preference) {
  main #top :is(h1, p, .bt-cta-btn) {animation:bt-rise .8s cubic-bezier(.2,.7,.2,1) both}
  main #top h1 {animation-delay:.05s}
  main #top p {animation-delay:.18s}
  main #top .bt-cta-btn {animation-delay:.3s}
  main #top img {animation:bt-settle 1.1s cubic-bezier(.2,.7,.2,1) .1s both}

  @supports (animation-timeline: view()) {
    main > section:not(#top) :is(h2, article, figure, blockquote, details):not(:is(article, figure, blockquote) *) {
      animation:bt-reveal linear both; animation-timeline:view(); animation-range:entry 0% entry 55%;
    }
    main > section:not(#top) :is(article, figure):nth-child(2) {animation-range:entry 6% entry 61%}
    main > section:not(#top) :is(article, figure):nth-child(3) {animation-range:entry 12% entry 67%}
    main > section:not(#top) :is(article, figure):nth-child(n+4) {animation-range:entry 18% entry 73%}
    main > section:not(#top) :focus-within {animation:none}
  }

  @supports (interpolate-size: allow-keywords) {
    main details {interpolate-size:allow-keywords}
    main details::details-content {block-size:0;overflow:clip;opacity:0;
      transition:block-size .32s ease, opacity .32s ease, content-visibility .32s allow-discrete}
    main details[open]::details-content {block-size:auto;opacity:1}
  }
}
@keyframes bt-rise {from {opacity:0; translate:0 18px}}
@keyframes bt-settle {from {opacity:0; scale:1.035}}
@keyframes bt-reveal {from {opacity:0; translate:0 28px}}
