/* Заголовки — Yeseva One, курсивные акценты — Cormorant Garamond */
@font-face{font-family:'Cormorant Garamond';font-style:normal;font-weight:600;font-display:swap;src:url(https://zhivye-skazki-files.netlify.app/assets/fonts/cormorant-garamond-latin-600-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2190-2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Cormorant Garamond';font-style:normal;font-weight:600;font-display:swap;src:url(https://zhivye-skazki-files.netlify.app/assets/fonts/cormorant-garamond-cyrillic-600-normal.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:700;font-display:swap;src:url(https://zhivye-skazki-files.netlify.app/assets/fonts/cormorant-garamond-latin-700-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2190-2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Cormorant Garamond';font-style:normal;font-weight:700;font-display:swap;src:url(https://zhivye-skazki-files.netlify.app/assets/fonts/cormorant-garamond-cyrillic-700-normal.woff2) format('woff2');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:'Yeseva One';font-style:normal;font-weight:400;font-display:swap;src:url(https://zhivye-skazki-files.netlify.app/assets/fonts/yeseva-one-latin-400-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2190-2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Yeseva One';font-style:normal;font-weight:400;font-display:swap;src:url(https://zhivye-skazki-files.netlify.app/assets/fonts/yeseva-one-cyrillic-400-normal.woff2) format('woff2');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}

/* Основной текст — PT Serif, мелкие подписи — Montserrat */
@font-face{font-family:'PT Serif';font-style:normal;font-weight:400;font-display:swap;src:url(https://zhivye-skazki-files.netlify.app/assets/fonts/pt-serif-latin-400-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2190-2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'PT Serif';font-style:normal;font-weight:400;font-display:swap;src:url(https://zhivye-skazki-files.netlify.app/assets/fonts/pt-serif-cyrillic-400-normal.woff2) format('woff2');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:'PT Serif';font-style:italic;font-weight:400;font-display:swap;src:url(https://zhivye-skazki-files.netlify.app/assets/fonts/pt-serif-latin-400-italic.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2190-2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'PT Serif';font-style:italic;font-weight:400;font-display:swap;src:url(https://zhivye-skazki-files.netlify.app/assets/fonts/pt-serif-cyrillic-400-italic.woff2) format('woff2');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:'PT Serif';font-style:normal;font-weight:700;font-display:swap;src:url(https://zhivye-skazki-files.netlify.app/assets/fonts/pt-serif-latin-700-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2190-2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'PT Serif';font-style:normal;font-weight:700;font-display:swap;src:url(https://zhivye-skazki-files.netlify.app/assets/fonts/pt-serif-cyrillic-700-normal.woff2) format('woff2');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:'Montserrat';font-style:normal;font-weight:400;font-display:swap;src:url(https://zhivye-skazki-files.netlify.app/assets/fonts/montserrat-latin-500-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2190-2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Montserrat';font-style:normal;font-weight:400;font-display:swap;src:url(https://zhivye-skazki-files.netlify.app/assets/fonts/montserrat-cyrillic-500-normal.woff2) format('woff2');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:'Montserrat';font-style:normal;font-weight:700;font-display:swap;src:url(https://zhivye-skazki-files.netlify.app/assets/fonts/montserrat-latin-700-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2190-2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Montserrat';font-style:normal;font-weight:700;font-display:swap;src:url(https://zhivye-skazki-files.netlify.app/assets/fonts/montserrat-cyrillic-700-normal.woff2) format('woff2');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}

/* — поправки под Тильду — */
.t123 .t-container_100:before,.t123 .t-container_100:after{display:none}
#allrecords.t-records{-webkit-font-smoothing:auto}
#allrecords a,#allrecords button{outline:revert;outline-offset:revert}
#allrecords img:not([src]){visibility:revert}
#allrecords ul,#allrecords ol{padding-left:revert;margin-top:revert;margin-bottom:revert}
#allrecords b,#allrecords strong{font-weight:revert}

:root {
  --milk: #fdfaf6;
  --wine: #630910;
  --orange: #ed5710;
  --gold: #dca455;
  --ink: #522019;
  --muted: #967d6c;
  --line: #dfc9ae;
  --display: "Yeseva One", "PT Serif", Georgia, serif;
  --serif: "Cormorant Garamond", "PT Serif", Georgia, serif;
}
#allrecords * {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--milk);
  color: var(--wine);
  font:
    19px/1.4 "PT Serif",
    Georgia,
    "Times New Roman",
    serif;
}
body:after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23000' filter='url(%23n)' opacity='.4' d='M0 0h200v200H0z'/%3E%3C/svg%3E");
  z-index: 10;
}
#allrecords a {
  color: inherit;
  text-decoration: none;
}
#allrecords a:focus-visible,
#allrecords summary:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 6px;
}
#allrecords a,
#allrecords summary {
  -webkit-tap-highlight-color: transparent;
}
#allrecords img {
  display: block;
  max-width: 100%;
}
#allrecords p {
  margin: 0 0 20px;
}
#allrecords h1,
#allrecords h2,
#allrecords h3 {
  margin: 0;
  font-weight: 400;
}
#allrecords h1,
#allrecords h2,
#allrecords h3 {
  font-family: var(--display);
  text-transform: uppercase;
}
#allrecords h2 {
  font-size: clamp(40px, 5.1vw, 74px);
  line-height: 1;
  margin-bottom: 25px;
}
#allrecords h2 em {
  font-style: normal;
  color: var(--orange);
}
#allrecords h3 {
  font-size: 28px;
  line-height: 1.1;
  margin-bottom: 15px;
}
#allrecords .wrap {
  max-width: 1380px;
  padding: 0 65px;
  margin: 0 auto;
}
#allrecords .section {
  padding-top: 95px;
  padding-bottom: 95px;
}
#allrecords .eyebrow {
  font:
    11px/1.5 Montserrat,
    Arial,
    sans-serif;
  letter-spacing: 2px;
  font-weight: 700;
  margin-bottom: 25px;
}
#allrecords .muted,
#allrecords .small {
  color: var(--muted);
}
#allrecords .small {
  font-size: 14px;
}
#allrecords .button {
  display: inline-flex;
  gap: 28px;
  align-items: center;
  justify-content: space-between;
  border: 1.5px solid var(--wine);
  border-radius: 50px;
  padding: 14px 30px;
  font:
    22px/1.15 "PT Serif",
    Georgia,
    serif;
  color: var(--milk);
  background: var(--wine);
  transition:
    transform 0.2s,
    background 0.2s;
}
#allrecords .button span {
  font-family: Montserrat, Arial, sans-serif;
  font-size: 27px;
  line-height: 1;
}
#allrecords .button:hover {
  transform: translateY(-3px);
  background: #8b1520;
}
#allrecords .outline {
  background: transparent;
  color: var(--wine);
  font-size: 19px;
  padding: 12px 24px;
}
#allrecords .outline:hover {
  background: var(--wine);
  color: var(--milk);
}
#allrecords .text-link {
  display: inline-flex;
  gap: 30px;
  border-bottom: 1px solid var(--wine);
  padding-bottom: 7px;
  font-size: 18px;
  margin-top: 15px;
}
#allrecords .text-link:hover {
  color: var(--orange);
}
#allrecords header {
  position: relative;
  z-index: 3;
  max-width: 1380px;
  margin: auto;
  height: 88px;
  padding: 10px 65px;
  display: flex;
  align-items: center;
  gap: 120px;
}
#allrecords .brand {
  font: italic 34px/0.73 var(--serif);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 13px;
}
#allrecords .brand b {
  font: 26px/0.85 var(--display);
  text-transform: uppercase;
}
#allrecords .brand i {
  font-size: 35px;
  color: var(--gold);
  font-style: normal;
}
#allrecords .brand img {
  width: 50px;
  height: 50px;
}
#allrecords .brand small {
  font:
    8px Montserrat,
    Arial;
  display: block;
  line-height: 1.4;
}
#allrecords .brand:has(img) {
  font-size: 22px;
  line-height: 1.1;
}
#allrecords nav {
  display: flex;
  gap: 40px;
  align-items: center;
  font-size: 16px;
}
#allrecords nav a {
  padding: 12px 0;
  border-bottom: 2px solid transparent;
}
#allrecords nav a:hover {
  border-color: var(--orange);
}
#allrecords .mobile-nav {
  display: none;
}
#allrecords .hero {
  min-height: 610px;
  padding-top: 38px;
  padding-bottom: 26px;
  overflow: hidden;
}
#allrecords .hero-copy {
  position: relative;
  z-index: 2;
  width: 53%;
}
#allrecords .hero h1 {
  font-family: var(--display);
  letter-spacing: -7px;
  line-height: 0.84;
  text-transform: uppercase;
}
#allrecords .hero h1 span {
  display: block;
  transform: scaleX(0.84);
  transform-origin: left;
  width: 119%;
}
#allrecords .hero-line {
  font-size: 29px;
  line-height: 1.15;
  letter-spacing: -0.6px;
  margin-bottom: 20px;
}
#allrecords .hero-fox {
  position: absolute;
  mix-blend-mode: multiply;
}
#allrecords .ribbon {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 35px;
  background: linear-gradient(90deg, #e94b03, #f16908, #e94b03);
  padding: 12px 25px;
  color: #fff4d9;
  font-size: 18px;
  letter-spacing: 4px;
  text-transform: uppercase;
}
#allrecords .ribbon b {
  font-size: 31px;
  font-weight: 400;
  line-height: 1;
  color: #ffe6a9;
}
#allrecords .opening {
  background: radial-gradient(ellipse at 35% 30%, #840c19, var(--wine) 70%);
  color: var(--milk);
}
#allrecords .opening-title {
  position: relative;
}
#allrecords .opening h2 {
  line-height: 0.97;
  position: relative;
  z-index: 1;
}
#allrecords .opening h2 span {
  display: block;
}
#allrecords .opening-title .handwritten {
  position: absolute;
  right: 0;
  transform: rotate(-9deg);
  font: italic 27px/1.05 var(--serif);
  text-align: center;
  color: #ecd6b6;
  max-width: 220px;
}
#allrecords .gold-star {
  position: absolute;
  color: var(--gold);
}
#allrecords .formats {
  display: grid;
}
#allrecords .paper-card {
  background: #fff7e9;
  position: relative;
  min-height: 170px;
  padding: 24px 16px 20px 25px;
  display: flex;
  align-items: start;
  color: var(--wine);
  isolation: isolate;
  box-shadow: 2px 7px 10px #31010730;
  transform: rotate(-1.2deg);
}
#allrecords .paper-card:before,
#allrecords .paper-card:after {
  content: "";
  position: absolute;
  background: #fff9ee;
  inset: 3px -5px;
  transform: rotate(1.5deg);
  z-index: -1;
}
#allrecords .paper-card:after {
  inset: -5px 6px;
  background: #f6ead4;
  transform: rotate(-1deg);
  z-index: -2;
}
#allrecords .paper-card:nth-child(2) {
  transform: rotate(0.8deg);
}
#allrecords .paper-card:nth-child(3) {
  transform: rotate(-1deg);
}
#allrecords .paper-card > div {
  width: 57%;
  z-index: 2;
}
#allrecords .paper-card h3 {
  transform-origin: left;
  margin-bottom: 7px;
}
#allrecords .paper-card p {
  font-size: 15px;
  line-height: 1.2;
  margin-bottom: 0;
}
#allrecords .story-icon {
  display: block;
  aspect-ratio: 1;
  background-image: url("https://zhivye-skazki-files.netlify.app/assets/story-icons.webp");
  background-size: 300% 100%;
  background-repeat: no-repeat;
  width: 47%;
  position: absolute;
  right: 2px;
  bottom: 8px;
}
#allrecords .books {
  background-position: 0 0;
}
#allrecords .theatre {
  background-position: 50% 0;
}
#allrecords .crown {
  background-position: 100% 0;
}
#allrecords .fish-section {
  position: relative;
  padding: 68px 0 50px;
  overflow: hidden;
  background: radial-gradient(ellipse at 20% 90%, #f9ead7, transparent 70%);
}
#allrecords .fish-grid {
  display: grid;
  align-items: center;
}
#allrecords .fish-collage {
  position: relative;
  min-height: 420px;
  padding: 30px 75px 20px 0;
}
#allrecords .paper-photo {
  position: relative;
  background: #fff8ec;
  padding: 18px 18px 42px;
  box-shadow: 1px 8px 18px #68431218;
  transform: rotate(-5deg);
  isolation: isolate;
}
#allrecords .paper-photo:before,
#allrecords .paper-photo:after {
  content: "";
  position: absolute;
  inset: -6px 8px;
  z-index: -1;
  background: #f6ebd7;
  transform: rotate(2deg);
  clip-path: polygon(
    0 1%,
    10% 0,
    24% 1%,
    38% 0,
    50% 1%,
    64% 0,
    78% 1%,
    90% 0,
    100% 1%,
    99% 98%,
    88% 100%,
    75% 99%,
    60% 100%,
    48% 99%,
    30% 100%,
    10% 99%,
    0 100%
  );
}
#allrecords .paper-photo:after {
  inset: 8px -6px;
  transform: rotate(-2deg);
  background: #fffbef;
}
#allrecords .fish-copy p {
  max-width: 440px;
}
#allrecords .map-section {
  background: #ee5106 url("https://zhivye-skazki-files.netlify.app/assets/orange-coast.webp") center bottom/cover no-repeat;
  color: #fff8e7;
  padding: 48px 0 25px;
}
#allrecords .map-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 65px;
  align-items: center;
}
#allrecords .map-copy h2 {
  line-height: 0.94;
  letter-spacing: -2.5px;
  color: #fff5da;
}
#allrecords .map-copy > p {
  font-size: 17px;
}
#allrecords .map-stack {
  padding: 15px;
  transform: rotate(1deg);
}
#allrecords .map-stack .paper-photo {
  transform: rotate(-5deg);
  padding: 20px;
}
#allrecords .section-top {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 50px;
  margin-bottom: 40px;
}
#allrecords .section-top h2 {
  margin: 0;
}
#allrecords .section-top > p {
  max-width: 330px;
  font-size: 18px;
}
#allrecords .section-top .muted {
  font-size: 15px;
  display: block;
  margin-top: 8px;
}
#allrecords .media {
  position: relative;
}
#allrecords .photo-frame {
  border: 16px solid #fff8ea;
  box-shadow:
    0 8px 0 #eadcc6,
    0 15px 35px #62402415;
  transform: rotate(-1deg);
}
#allrecords .wide {
  height: 440px;
  min-height: 0;
}
#allrecords .family-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin-top: 40px;
}
#allrecords .family-bottom > p {
  font: italic 31px/1.3 var(--serif);
}
#allrecords .family-bottom div p {
  font-size: 18px;
}
#allrecords .audience-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
#allrecords .audience-grid h3 {
  font-size: 24px;
  text-transform: none;
}
#allrecords .audience-grid p {
  font-size: 16px;
  margin: 0;
  max-width: 230px;
}
#allrecords .therapy {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: center;
}
#allrecords .therapy > div > p {
  font-size: 18px;
}
#allrecords .therapy .portrait {
  height: 510px;
  transform: rotate(4deg);
}
#allrecords .therapy-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
  border-top: 1px solid var(--line);
  padding: 25px 0 5px;
  margin-top: 30px;
}
#allrecords .therapy-options h3 {
  font-family: var(--serif);
  font-size: 26px;
  text-transform: none;
  font-weight: 700;
}
#allrecords .therapy-options p {
  font-size: 15px;
}
#allrecords .therapy .small {
  font-size: 13px;
}
#allrecords .cinema {
  background: radial-gradient(ellipse at top left, #890d1d, var(--wine));
  color: #ffefdc;
  overflow: hidden;
}
#allrecords .cinema h2 {
  font-size: clamp(46px, 6.4vw, 90px);
  line-height: 1;
  max-width: 1120px;
  letter-spacing: -3px;
}
#allrecords .cinema h2 em {
  color: #efba6b;
}
#allrecords .light {
  background: #fff5e5;
  color: var(--wine);
  font-size: 17px;
  margin-top: 28px;
  padding: 15px 20px;
  display: flex;
}
#allrecords .light:hover {
  background: var(--orange);
  color: white;
}
#allrecords .author-bg {
  background: #f2e8d8;
}
#allrecords .author {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 85px;
  align-items: center;
}
#allrecords .author-photo {
  height: 590px;
  transform: rotate(-4deg);
}
#allrecords .author p {
  font-size: 18px;
}
#allrecords .author .author-intro {
  font: italic 28px/1.2 var(--serif);
}
#allrecords .signature {
  font: italic 34px var(--serif);
  margin-top: 28px;
}
#allrecords .signature small {
  font:
    13px/1.5 Montserrat,
    Arial;
  display: block;
  margin-top: 10px;
  color: var(--muted);
}
#allrecords .finale {
  text-align: center;
  position: relative;
}
#allrecords .finale:before,
#allrecords .finale:after {
  content: "✦";
  position: absolute;
  top: 20%;
  font-size: 80px;
  color: var(--gold);
}
#allrecords .finale:before {
  left: 3%;
  transform: rotate(8deg);
}
#allrecords .finale:after {
  right: 4%;
  font-size: 55px;
}
#allrecords .finale h2 {
  font-size: clamp(43px, 5.7vw, 80px);
}
#allrecords .finale .button {
  margin-top: 5px;
}
#allrecords .future > span {
  font:
    10px Montserrat,
    Arial;
  letter-spacing: 2px;
}
#allrecords .future p {
  font-size: 21px;
  margin-top: 15px;
  line-height: 1.6;
}
#allrecords .finale .end-note {
  font: italic 28px/1.2 var(--serif);
  color: #977454;
}
#allrecords footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border-top: 1px solid var(--line);
  padding-top: 30px !important;
  padding-bottom: 30px !important;
}
#allrecords footer p {
  font:
    11px/1.5 Montserrat,
    Arial;
  margin: 0;
  color: var(--muted);
}
#allrecords .footer-brand {
  font: 25px var(--display);
}
#allrecords .footer-brand span {
  color: var(--gold);
}
#allrecords .schedule-main {
  min-height: 65vh;
}
#allrecords .schedule-main h1 {
  font: clamp(48px, 6vw, 85px)/1.05 var(--display);
  margin: 0 0 30px;
}
#allrecords .schedule-main h1 em {
  font-style: normal;
  color: var(--orange);
}
@media (min-width: 1500px) {
  #allrecords .hero {
    min-height: 680px;
  }
  #allrecords .hero-copy {
    padding-top: 15px;
  }
  #allrecords .hero-line {
    font-size: 31px;
  }
}
@media (max-width: 1100px) {
  #allrecords .wrap {
    padding-left: 42px;
    padding-right: 42px;
  }
  #allrecords header {
    padding: 10px 42px;
    gap: 65px;
  }
  #allrecords nav {
    gap: 25px;
  }
  #allrecords .hero {
    min-height: 560px;
    padding-top: 35px;
  }
  #allrecords .hero-line {
    font-size: 24px;
  }
  #allrecords .opening-title .handwritten {
    font-size: 23px;
    max-width: 170px;
  }
  #allrecords .paper-card {
    padding: 22px 12px 20px 18px;
    min-height: 155px;
  }
  #allrecords .paper-card p {
    font-size: 13px;
  }
  #allrecords .fish-collage {
    padding-right: 65px;
    min-height: 350px;
  }
  #allrecords .map-grid {
    gap: 45px;
  }
  #allrecords .section {
    padding-top: 75px;
    padding-bottom: 75px;
  }
  #allrecords .therapy,
  #allrecords .author {
    gap: 55px;
  }
  #allrecords .light {
    font-size: 14px;
  }
}
@media (max-width: 760px) {
  body {
    font-size: 17px;
  }
  #allrecords .wrap {
    padding-left: 23px;
    padding-right: 23px;
  }
  #allrecords header {
    padding: 14px 23px;
    height: 77px;
    justify-content: space-between;
    gap: 15px;
  }
  #allrecords .brand {
    font-size: 31px;
  }
  #allrecords .brand b {
    font-size: 22px;
  }
  #allrecords .brand i {
    font-size: 30px;
  }
  #allrecords nav {
    display: none;
  }
  #allrecords .mobile-nav {
    display: block;
    position: relative;
    font:
      15px "PT Serif",
      Georgia;
  }
  #allrecords .mobile-nav summary {
    list-style: none;
    cursor: pointer;
    border-bottom: 1px solid var(--wine);
    padding: 7px 0;
  }
  #allrecords .mobile-nav summary::-webkit-details-marker {
    display: none;
  }
  #allrecords .mobile-nav summary span {
    margin-left: 8px;
  }
  #allrecords .mobile-nav div {
    position: absolute;
    right: 0;
    top: 42px;
    box-shadow: 0 10px 35px #63091025;
    min-width: 190px;
    padding: 15px;
    display: grid;
    gap: 15px;
    border: 1px solid var(--line);
    z-index: 5;
  }
  #allrecords .hero {
    min-height: 0;
    padding-top: 16px;
    padding-bottom: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }
  #allrecords .hero-copy {
    width: 100%;
    padding-top: 0;
  }
  #allrecords .hero h1 {
    line-height: 0.87;
    letter-spacing: -5px;
  }
  #allrecords .hero h1 span {
    transform: scaleX(0.91);
    width: 109.9%;
  }
  #allrecords .hero-line {
    font-size: 23px;
    letter-spacing: -0.5px;
    line-height: 1.15;
    margin-bottom: 18px;
  }
  #allrecords .hero-fox {
    align-self: center;
    margin-bottom: 0;
  }
  #allrecords .ribbon b:nth-child(3),
  #allrecords .ribbon b:nth-child(5),
  #allrecords .ribbon b:nth-child(7) {
    display: none;
  }
  #allrecords .opening h2 span:first-child {
    margin-bottom: 2px;
  }
  #allrecords .opening-title .handwritten {
    right: 0;
  }
  #allrecords .formats {
    padding: 0 5px;
  }
  #allrecords .paper-card {
    min-height: 143px;
    padding: 20px 24px;
  }
  #allrecords .paper-card p {
    font-size: 16px;
  }
  #allrecords .story-icon {
    width: 43%;
    height: 150px;
    max-width: 170px;
    bottom: 0;
    right: 4px;
  }
  #allrecords .fish-section {
    padding: 50px 0 40px;
  }
  #allrecords .fish-collage {
    min-height: 315px;
    padding: 10px 75px 15px 5px;
    max-width: 550px;
    width: 100%;
    margin: auto;
  }
  #allrecords .paper-photo {
    padding: 12px 12px 37px;
  }
  #allrecords .fish-copy p {
    max-width: 550px;
  }
  #allrecords .fish-copy h2 br:first-child {
    display: none;
  }
  #allrecords .fish-copy h2 br:first-child:after {
    content: " ";
  }
  #allrecords .fish-copy h2 {
    max-width: 500px;
  }
  #allrecords .button,
  #allrecords .outline {
    font-size: 18px;
    padding: 12px 23px;
  }
  #allrecords .map-section {
    padding: 35px 0 25px;
    background-size: auto 100%;
    background-position: center bottom;
  }
  #allrecords .map-grid {
    grid-template-columns: 1fr;
    gap: 23px;
  }
  #allrecords .map-copy h2 {
    letter-spacing: -2px;
  }
  #allrecords .map-copy > p {
    font-size: 17px;
  }
  #allrecords .map-stack {
    padding: 15px 8px;
  }
  #allrecords .map-stack .paper-photo {
    padding: 14px;
  }
  #allrecords .section {
    padding-top: 58px;
    padding-bottom: 58px;
  }
  #allrecords h2 {
    font-size: clamp(36px, 9.5vw, 55px);
  }
  #allrecords .eyebrow {
    font-size: 9px;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
  }
  #allrecords .section-top {
    display: block;
    margin-bottom: 25px;
  }
  #allrecords .section-top > p {
    margin: 22px 0 0;
    font-size: 17px;
  }
  #allrecords .wide {
    height: 270px;
  }
  #allrecords .photo-frame {
    border-width: 11px;
  }
  #allrecords .family-bottom {
    grid-template-columns: 1fr;
    gap: 7px;
    margin-top: 32px;
  }
  #allrecords .family-bottom > p {
    font-size: 27px;
  }
  #allrecords .family-bottom div p {
    font-size: 17px;
  }
  #allrecords .audience-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px 20px;
  }
  #allrecords .audience-grid h3 {
    font-size: 21px;
  }
  #allrecords .audience-grid p {
    font-size: 15px;
  }
  #allrecords .therapy,
  #allrecords .author {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  #allrecords .therapy .portrait {
    height: 340px;
    transform: rotate(2deg);
  }
  #allrecords .therapy h2 {
    font-size: clamp(41px, 10vw, 59px);
  }
  #allrecords .therapy > div > p {
    font-size: 17px;
  }
  #allrecords .therapy-options {
    gap: 20px;
  }
  #allrecords .therapy-options h3 {
    font-size: 25px;
  }
  #allrecords .therapy-options p {
    font-size: 15px;
  }
  #allrecords .cinema h2 {
    font-size: clamp(35px, 8.5vw, 55px);
    letter-spacing: -1.5px;
    line-height: 1.06;
  }
  #allrecords .light {
    display: inline-flex;
    font-size: 18px;
  }
  #allrecords .author-photo {
    height: 395px;
    transform: rotate(-2deg);
  }
  #allrecords .author p {
    font-size: 17px;
  }
  #allrecords .author .author-intro {
    font-size: 26px;
  }
  #allrecords .signature {
    font-size: 30px;
  }
  #allrecords .signature small {
    font-size: 12px;
  }
  #allrecords .finale h2 {
    font-size: clamp(35px, 9vw, 55px);
  }
  #allrecords .finale:before,
  #allrecords .finale:after {
    display: none;
  }
  #allrecords .future p {
    font-size: 18px;
  }
  #allrecords .finale .end-note {
    font-size: 26px;
  }
  #allrecords footer {
    flex-wrap: wrap;
    gap: 20px;
  }
  #allrecords .footer-brand {
    font-size: 23px;
  }
  #allrecords footer p {
    order: 3;
    width: 100%;
  }
  #allrecords .schedule-main h1 {
    font-size: 43px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  #allrecords .button {
    transition: none;
  }
}

/* Keep the complete hero illustration inside the first section. */
#allrecords .hero-fox {
  top: 0;
  right: 0;
  height: 100%;
  object-fit: contain;
  object-position: right bottom;
}
@media (max-width: 760px) {
  #allrecords .hero-fox {
    position: relative;
    top: auto;
    right: auto;
    object-fit: contain;
    object-position: center;
    margin-top: 12px;
  }
}

/* Goldfish and paper frame form one composition, as in the approved mockup. */
#allrecords .fish-section {
  padding-top: 35px;
  padding-bottom: 30px;
}
#allrecords .fish-grid {
  grid-template-columns: 1.22fr 0.88fr;
  gap: 35px;
}
#allrecords .fish-collage.fish-frame {
  min-height: 0;
  padding: 0;
  margin: 0;
  position: relative;
  width: 100%;
  isolation: isolate;
}
#allrecords .fish-frame > img {
  position: relative;
  width: 100%;
  height: auto;
}
#allrecords .fish-frame figcaption {
  position: absolute;
  left: 37%;
  bottom: 18%;
  transform: rotate(-7deg);
  font: italic 29px/1 var(--serif);
  color: var(--wine);
  white-space: nowrap;
}
#allrecords .fish-copy h2 {
  font-size: clamp(45px, 5.2vw, 72px);
  letter-spacing: -3px;
  margin-bottom: 22px;
  transform-origin: left;
}
#allrecords .fish-copy p {
  font-size: 17px;
  line-height: 1.3;
  margin-bottom: 15px;
}
@media (max-width: 1100px) {
  #allrecords .fish-grid {
    gap: 25px;
  }
  #allrecords .fish-frame figcaption {
    font-size: 24px;
  }
  #allrecords .fish-copy h2 {
    font-size: 5.4vw;
  }
  #allrecords .fish-copy p {
    font-size: 15px;
  }
  #allrecords .fish-copy .button {
    font-size: 16px;
    padding: 11px 18px;
  }
}
@media (max-width: 760px) {
  #allrecords .fish-section {
    padding-top: 28px;
    padding-bottom: 35px;
  }
  #allrecords .fish-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  #allrecords .fish-collage.fish-frame {
    max-width: 550px;
    margin: auto;
  }
  #allrecords .fish-frame figcaption {
    font-size: clamp(18px, 5.5vw, 27px);
    left: 34%;
    bottom: 17.5%;
  }
  #allrecords .fish-copy h2 {
    font-size: clamp(43px, 11.5vw, 68px);
    letter-spacing: -2px;
  }
  #allrecords .fish-copy p {
    font-size: 17px;
  }
  #allrecords .fish-copy .button {
    font-size: 18px;
  }
}

#allrecords .fish-frame .frame-photo {
  position: absolute;
  transform: rotate(-5deg);
  overflow: hidden;
}
#allrecords .fish-frame .frame-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 50%;
}

/* The real photo sits behind the paper and fish, through a transparent window. */
#allrecords .fish-frame > img {
  z-index: 3;
  mask-image: url("https://zhivye-skazki-files.netlify.app/assets/goldfish-window-mask.svg");
  mask-size: 100% 100%;
  mask-repeat: no-repeat;
  -webkit-mask-image: url("https://zhivye-skazki-files.netlify.app/assets/goldfish-window-mask.svg");
  -webkit-mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  pointer-events: none;
}
#allrecords .fish-frame .frame-photo {
  left: 10.8%;
  top: 19%;
  width: 56.5%;
  height: 60%;
  z-index: 0;
  border-radius: 0;
}
#allrecords .fish-frame figcaption {
  z-index: 4;
}

#allrecords .map-image-link {
  display: block;
  cursor: zoom-in;
}
#allrecords .map-image-link img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* Feather the illustration's paper background into the shared cream canvas. */
#allrecords .hero-fox {
  width: auto;
  max-width: 62%;
  -webkit-mask-image:
    linear-gradient(to right, transparent, #000 4%, #000 96%, transparent),
    linear-gradient(to bottom, transparent, #000 2%, #000 97%, transparent);
  -webkit-mask-composite: source-in;
}
@media (max-width: 760px) {
  #allrecords .hero-fox {
    width: 100%;
    max-width: 100%;
    height: auto;
  }
}

/* Project authorship belongs beside the brand in the header. */
#allrecords .project-header {
  gap: 26px;
  min-height: 88px;
}
#allrecords .project-header .brand {
  flex-shrink: 0;
}
#allrecords .project-header nav {
  margin-left: auto;
  gap: 25px;
  white-space: nowrap;
}
@media (min-width: 761px) and (max-width: 1100px) {
  #allrecords .project-header {
    padding-left: 30px;
    padding-right: 30px;
    gap: 18px;
  }
}
@media (max-width: 760px) {
  #allrecords .project-header {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px 18px;
    min-height: 0;
  }
  #allrecords .project-header .brand {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
  }
  #allrecords .project-header .mobile-nav {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
  }
}

/* Desktop header: brand left, navigation centered, authorship right. */
@media (min-width: 761px) {
  #allrecords .project-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 20px;
  }
  #allrecords .project-header .brand {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
  }
  #allrecords .project-header nav {
    grid-row: 1;
    margin: 0;
  }
}
@media (min-width: 761px) and (max-width: 1000px) {
  #allrecords .project-header {
    grid-template-columns: auto 1fr auto;
    gap: 14px;
    padding-left: 23px;
    padding-right: 23px;
  }
  #allrecords .project-header nav {
    gap: 12px;
    font-size: 12px;
  }
}
/* Шапка: Аля + Живые сказки + «проект центра Эйдетика» */
#allrecords .project-header {
  height: auto;
  padding-top: 16px;
  padding-bottom: 12px;
}
#allrecords .brand.brand-a {
  display: inline-flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  font-size: inherit;
  line-height: 1;
}
#allrecords .brand-a .ba-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
#allrecords .brand-a .ba-alya {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  object-fit: cover;
  flex: none;
}
#allrecords .brand-a .ba-wm {
  display: block;
  font: italic 700 34px/0.73 var(--serif);
  color: var(--wine);
}
#allrecords .brand-a .ba-wm b {
  display: block;
  font: 26px/0.85 var(--display);
  text-transform: uppercase;
  margin-top: 2px;
}
#allrecords .brand-a .ba-end {
  display: block;
  margin-top: 8px;
  padding-top: 7px;
  border-top: 1px solid var(--gold);
  font:
    700 8px/1 Montserrat,
    Arial,
    sans-serif;
  text-transform: uppercase;
  color: #8a6255;
  white-space: nowrap;
}
#allrecords .brand-a .ba-end strong {
  color: var(--wine);
}
@media (min-width: 761px) {
  #allrecords .project-header nav {
    justify-self: end;
    grid-column: 2/4;
  }
}
@media (max-width: 760px) {
  #allrecords .brand-a .ba-row {
    gap: 10px;
  }
  #allrecords .brand-a .ba-alya {
    width: 40px;
    height: 40px;
  }
  #allrecords .brand-a .ba-wm {
    font-size: 29px;
  }
  #allrecords .brand-a .ba-wm b {
    font-size: 22px;
  }
  #allrecords .brand-a .ba-end {
    font-size: 7.5px;
    margin-top: 7px;
    padding-top: 6px;
  }
  #allrecords .project-header:not(:has(.mobile-nav)) nav {
    display: flex;
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    font-size: 15px;
  }
}
/* Первый экран */
#allrecords .hero .hero-copy {
  width: 56%;
}
#allrecords .hero-eyebrow {
  font:
    700 11px/1.5 Montserrat,
    Arial,
    sans-serif;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin: 0 0 22px;
  color: var(--wine);
}
#allrecords .hero h1 {
  font-size: clamp(92px, 10.6vw, 152px);
  margin-bottom: 22px;
}
#allrecords .hero-utp {
  font-size: 19px;
  line-height: 1.45;
  max-width: 500px;
  margin-bottom: 20px;
  color: var(--ink);
}
#allrecords .hero-dirs {
  font:
    12px/1.4 Montserrat,
    Arial,
    sans-serif;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: var(--wine);
  margin: 0 0 28px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  max-width: 500px;
}
#allrecords .hero-dirs i {
  font-style: normal;
  color: var(--gold);
  margin: 0 10px;
  letter-spacing: 0;
}
@media (min-width: 1500px) {
  #allrecords .hero h1 {
    font-size: 160px !important;
  }
}
@media (max-width: 1100px) {
  #allrecords .hero .hero-copy {
    width: 60%;
  }
  #allrecords .hero-utp {
    font-size: 17px;
  }
}
@media (max-width: 760px) {
  #allrecords .hero .hero-copy {
    width: 100%;
  }
  #allrecords .hero-eyebrow {
    font-size: 9.5px;
    letter-spacing: 1.4px;
    margin-bottom: 16px;
  }
  #allrecords .hero h1 {
    font-size: clamp(80px, 22vw, 140px) !important;
    margin-bottom: 16px !important;
  }
  #allrecords .hero-utp {
    font-size: 16.5px;
    margin-bottom: 16px;
  }
  #allrecords .hero-dirs {
    font-size: 10.5px;
    letter-spacing: 1.6px;
    margin-bottom: 22px;
  }
  #allrecords .hero-dirs i {
    margin: 0 6px;
  }
}
/* Лента */
@media (max-width: 1100px) {
  #allrecords .ribbon {
    gap: 18px;
    letter-spacing: 2.5px;
    font-size: 15px;
  }
}
/* «У каждой сказки свой способ ожить»: 4 карточки */
#allrecords .formats {
  grid-template-columns: repeat(4, 1fr);
}
#allrecords .paper-card h3 {
  font-size: 28px;
}
@media (max-width: 1100px) {
  #allrecords .formats {
    grid-template-columns: 1fr 1fr !important;
  }
}
@media (max-width: 760px) {
  #allrecords .formats {
    grid-template-columns: 1fr !important;
  }
}
/* Рыбка, семья, мостик */
#allrecords .fish-copy .eyebrow {
  margin-bottom: 18px;
}
#allrecords .family-bottom .bridge {
  font: italic 24px/1.2 var(--serif);
  color: var(--orange);
  margin: 6px 0 0;
}
#allrecords .map-copy .eyebrow {
  color: #ffe6c4;
}
/* Для кого */
#allrecords .audiences h2 {
  font-size: clamp(36px, 4.2vw, 58px);
  margin-bottom: 30px;
}
/* Сказкотерапия: список сказок */
#allrecords .tales {
  list-style: none;
  padding: 0;
  margin: 4px 0 8px;
  display: grid;
  gap: 6px;
}
#allrecords .tales li {
  font: italic 21px/1.25 var(--serif);
  padding-left: 24px;
  position: relative;
}
#allrecords .tales li:before {
  content: "✦";
  position: absolute;
  left: 0;
  top: 1px;
  color: var(--gold);
  font-size: 14px;
  font-style: normal;
}
#allrecords .tales li.more {
  color: var(--muted);
  font-size: 18px;
}
#allrecords .tales li.more:before {
  content: "";
}
/* Финал */
#allrecords .future small {
  font-size: 16px;
  color: var(--muted);
}
@media (max-width: 760px) {
  #allrecords .ribbon {
    flex-wrap: wrap;
    gap: 4px 12px;
    font-size: 12px;
    letter-spacing: 2px;
    padding: 10px 12px;
    overflow: hidden;
  }
  #allrecords .ribbon b {
    font-size: 16px;
  }
  #allrecords .ribbon b:first-child,
  #allrecords .ribbon b:last-child {
    display: none;
  }
}
/* правки после проверки */
#allrecords .opening h2 {
  font-size: clamp(44px, 5.4vw, 78px);
  letter-spacing: -2.5px;
}
#allrecords .opening h2 span:first-child {
  font-size: 1em;
}
#allrecords .gold-star {
  left: auto;
  right: 24%;
  top: -10px;
  font-size: 52px;
}
#allrecords .formats .paper-card > div {
  width: 60%;
}
#allrecords .map-copy h2 {
  font-size: clamp(40px, 4.4vw, 62px);
}
#allrecords .audiences {
  padding-top: 70px;
}
#allrecords .behind .section-top > p {
  max-width: 420px;
}
@media (max-width: 760px) {
  #allrecords .opening-title .handwritten {
    position: static;
    transform: rotate(-4deg);
    text-align: left;
    max-width: none;
    margin: -8px 0 22px;
    font-size: 22px;
  }
  #allrecords .gold-star {
    display: none;
  }
  #allrecords .opening h2 {
    font-size: clamp(40px, 11vw, 56px) !important;
  }
  #allrecords .audiences {
    padding-top: 44px !important;
  }
}
/* Бегущая строка */
#allrecords .ribbon.marquee {
  display: block;
  overflow: hidden;
  padding: 12px 0 !important;
  gap: 0 !important;
  white-space: nowrap;
  flex-wrap: nowrap;
}
#allrecords .marquee-track {
  display: flex;
  width: max-content;
  animation: zs-marquee 75s linear infinite;
}
#allrecords .marquee-group {
  display: flex;
  align-items: center;
  gap: 35px;
  padding-right: 35px;
  flex: none;
}
#allrecords .ribbon.marquee b {
  display: inline;
}
#allrecords .ribbon.marquee:hover .marquee-track {
  animation-play-state: paused;
}
@keyframes zs-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
@media (max-width: 760px) {
  #allrecords .ribbon.marquee {
    padding: 10px 0 !important;
    font-size: 13px !important;
    letter-spacing: 2.5px !important;
  }
  #allrecords .marquee-group {
    gap: 18px;
    padding-right: 18px;
  }
  #allrecords .marquee-track {
    animation-duration: 52s;
  }
  #allrecords .ribbon.marquee b {
    font-size: 18px !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  #allrecords .marquee-track {
    animation: none;
  }
}
/* Иконка «Чувствовать»: театральные маски */
#allrecords .story-masks {
  position: absolute;
  aspect-ratio: 1;
  object-fit: contain;
}
#allrecords .story-masks {
  width: 40%;
  max-width: 125px;
  right: 6px;
  bottom: 10px;
}
#allrecords .formats .paper-card:nth-child(4) > div {
  width: 58%;
}
#allrecords .formats .paper-card:nth-child(4) h3 {
  font-size: 23px;
}
@media (max-width: 760px) {
  #allrecords .story-masks {
    width: 36%;
    max-width: 130px;
    right: 8px;
    bottom: 8px;
  }
  #allrecords .formats .paper-card:nth-child(4) h3 {
    font-size: 28px;
  }
  #allrecords .formats .paper-card:nth-child(4) > div {
    width: 62%;
  }
}
@media (min-width: 761px) and (max-width: 1100px) {
  #allrecords .story-icon {
    width: 150px;
    height: 150px;
    max-width: none;
  }
  #allrecords .story-masks {
    width: 140px;
    max-width: 140px;
  }
}
/* Первый экран помещается в окно вместе с бегущей строкой */
@media (min-width: 761px) {
  #allrecords .hero {
    min-height: max(560px, calc(100vh - 160px));
    display: flex;
    align-items: center;
    padding-top: 22px;
    padding-bottom: 26px;
  }
  #allrecords .hero h1 {
    font-size: min(10.6vw, 15.5vh, 160px) !important;
    margin-bottom: min(22px, 2.4vh) !important;
  }
  #allrecords .hero-eyebrow {
    margin-bottom: min(22px, 2.4vh);
  }
  #allrecords .hero-line {
    margin-bottom: min(16px, 2vh);
  }
  #allrecords .hero-utp {
    margin-bottom: min(20px, 2.2vh);
  }
  #allrecords .hero-dirs {
    margin-bottom: min(28px, 3vh);
  }
}
/* Мягкие края картинки с лисой */
#allrecords .hero-fox {
  -webkit-mask-image:
    linear-gradient(to right, transparent 0, #000 9%, #000 91%, transparent 100%),
    linear-gradient(to bottom, transparent 0, #000 7%, #000 90%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to right, transparent 0, #000 9%, #000 91%, transparent 100%),
    linear-gradient(to bottom, transparent 0, #000 7%, #000 90%, transparent 100%);
  mask-composite: intersect;
}
@media (max-width: 760px) {
  #allrecords .hero-fox {
    -webkit-mask-image:
      linear-gradient(to right, transparent 0, #000 7%, #000 93%, transparent 100%),
      linear-gradient(to bottom, transparent 0, #000 6%, #000 92%, transparent 100%);
    mask-image:
      linear-gradient(to right, transparent 0, #000 7%, #000 93%, transparent 100%),
      linear-gradient(to bottom, transparent 0, #000 6%, #000 92%, transparent 100%) !important;
  }
}
/* Средняя ширина (узкое окно, планшет): текст и лиса не пересекаются */
@media (min-width: 761px) and (max-width: 1300px) {
  #allrecords .hero .hero-copy {
    width: 52%;
  }
  #allrecords .hero h1 {
    font-size: min(9.4vw, 15.5vh) !important;
  }
  #allrecords .hero-utp,
  #allrecords .hero-dirs {
    max-width: 100%;
  }
  #allrecords .hero-utp {
    font-size: 16.5px;
  }
  #allrecords .hero-dirs {
    font-size: 10.5px;
    letter-spacing: 1.8px;
  }
  #allrecords .hero-dirs i {
    margin: 0 7px;
  }
  #allrecords .hero-fox {
    width: 47%;
    right: 0;
    object-fit: contain;
    object-position: center;
  }
  #allrecords .hero-fox {
    height: auto;
    max-height: 100%;
    aspect-ratio: 1;
    top: 50%;
    transform: translateY(-50%);
  }
}
/* Шапка: кремовая полоса с золотой линией, прилипает при прокрутке */
html {
  scroll-padding-top: 115px;
}
#allrecords header.project-header {
  position: sticky;
  top: 0;
  z-index: 20;
  max-width: none;
  margin: 0;
  padding-left: max(65px, calc((100vw - 1380px) / 2 + 65px));
  padding-right: max(65px, calc((100vw - 1380px) / 2 + 65px));
  background: rgba(244, 232, 213, 0.94);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--gold);
  box-shadow: 0 6px 22px #6309100f;
}
#allrecords header.project-header nav a[href="/skazki-raspisanie"] {
  border: 1.5px solid var(--wine);
  border-radius: 40px;
  padding: 9px 20px;
  transition:
    background 0.2s,
    color 0.2s;
}
#allrecords header.project-header nav a[href="/skazki-raspisanie"]:hover {
  background: var(--wine);
  color: var(--milk);
  border-color: var(--wine);
}
@media (min-width: 761px) and (max-width: 1100px) {
  #allrecords header.project-header {
    padding-left: 30px !important;
    padding-right: 30px !important;
  }
}
@media (max-width: 760px) {
  #allrecords header.project-header {
    padding-left: 23px !important;
    padding-right: 23px !important;
  }
  html {
    scroll-padding-top: 100px;
  }
  #allrecords .mobile-nav div {
    background: #f8eedf;
  }
  #allrecords .mobile-nav a[href="/skazki-raspisanie"] {
    border: 1.5px solid var(--wine);
    border-radius: 30px;
    padding: 8px 14px;
    text-align: center;
  }
}
#allrecords .hero-line {
  font-style: italic;
}
/* Экран «У каждой сказки свой способ ожить»: больше воздуха */
#allrecords .opening {
  padding: clamp(70px, 8vw, 110px) 0 clamp(80px, 9vw, 120px);
}
#allrecords .opening h2 {
  margin-bottom: clamp(40px, 4.5vw, 64px);
}
#allrecords .opening-title .handwritten {
  top: 20px;
}
@media (max-width: 760px) {
  #allrecords .opening {
    padding: 56px 0 64px !important;
  }
  #allrecords .opening h2 {
    margin-bottom: 22px !important;
  }
  #allrecords .opening-title .handwritten {
    margin-bottom: 34px;
  }
}
@media (min-width: 761px) {
  #allrecords .formats .paper-card:nth-child(4) > div {
    width: 60%;
  }
  #allrecords .formats .paper-card:nth-child(4) h3 {
    font-size: 25px;
  }
}
/* Подписи форматов над карточками */
#allrecords .card-tag {
  display: block;
  font:
    700 9.5px/1.3 Montserrat,
    Arial,
    sans-serif;
  white-space: nowrap;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 8px;
}
@media (max-width: 760px) {
  #allrecords .card-tag {
    font-size: 10px;
  }
}
@media (min-width: 1101px) {
  #allrecords .formats .paper-card {
    padding-left: 20px;
  }
}
#allrecords .nw {
  white-space: nowrap;
}
@media (min-width: 761px) {
  #allrecords .opening-title .handwritten {
    max-width: 300px;
  }
}
/* Аля подмигивает + пузырьки у рыбки */
#allrecords .hero-wink {
  opacity: 0;
  mix-blend-mode: normal;
  animation: zs-wink 6s infinite;
  pointer-events: none;
}
#allrecords .hero-wink.now {
  animation: none;
  opacity: 1;
}
@keyframes zs-wink {
  0%,
  82% {
    opacity: 0;
  }
  84%,
  90% {
    opacity: 1;
  }
  92%,
  100% {
    opacity: 0;
  }
}
@media (max-width: 760px) {
  #allrecords .hero-wink {
    margin-top: -100%;
  }
}
#allrecords .fox-magic {
  position: absolute;
  pointer-events: none;
  z-index: 1;
}
#allrecords .fox-magic .bub {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: calc(11em * var(--sz));
  height: calc(11em * var(--sz));
  border-radius: 50%;
  background: radial-gradient(
    circle at 35% 30%,
    #fffdf2 0 18%,
    rgba(255, 226, 150, 0.55) 40%,
    rgba(236, 170, 60, 0.35) 100%
  );
  box-shadow:
    inset 0 0 0 1.5px rgba(214, 140, 40, 0.85),
    0 0 4px rgba(240, 180, 70, 0.5);
  opacity: 0;
  animation: zs-bub 6s ease-out infinite;
  animation-delay: var(--d);
}
@keyframes zs-bub {
  0% {
    opacity: 0;
    transform: translate(0, 0) scale(0.4);
  }
  6% {
    opacity: 1;
  }
  35% {
    opacity: 0.85;
  }
  48%,
  100% {
    opacity: 0;
    transform: translate(14em, -90em) scale(1.15);
  }
}
@media (prefers-reduced-motion: reduce) {
  #allrecords .hero-wink,
  #allrecords .fox-magic {
    display: none;
  }
}
/* Карточки форматов: больше воздуха между ними + увеличение при наведении */
#allrecords .formats {
  gap: 36px;
}
@media (max-width: 1100px) {
  #allrecords .formats {
    gap: 28px !important;
  }
}
@media (max-width: 760px) {
  #allrecords .formats {
    gap: 26px !important;
  }
}
#allrecords .formats .paper-card {
  transition:
    scale 0.3s ease,
    translate 0.3s ease,
    box-shadow 0.3s ease;
}
@media (hover: hover) {
  #allrecords .formats .paper-card:hover {
    scale: 1.05;
    translate: 0 -4px;
    z-index: 3;
    box-shadow: 4px 14px 22px #31010745;
  }
}
@media (prefers-reduced-motion: reduce) {
  #allrecords .formats .paper-card {
    transition: none;
  }
}
@media (min-width: 1101px) {
  #allrecords .formats .story-icon {
    right: 10px;
  }
  #allrecords .formats .story-masks {
    right: 10px;
  }
}
/* Мерцающие звёзды: вспышка раз в 12 с, не совпадает с подмигиванием */
#allrecords .fox-magic .tw {
  position: absolute;
  width: calc(46em * var(--s));
  height: calc(46em * var(--s));
  transform: translate(-50%, -50%) scale(0.3);
  opacity: 0;
  animation: zs-tw 12s ease-in-out infinite;
  animation-delay: var(--d);
  background: radial-gradient(circle, #fff 0 6%, #ffe08a 13%, rgba(240, 180, 70, 0.55) 24%, rgba(240, 180, 70, 0) 58%);
  filter: drop-shadow(0 0 3px rgba(230, 160, 40, 0.6));
}
#allrecords .fox-magic .tw:before,
#allrecords .fox-magic .tw:after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 2px;
  height: 100%;
  transform: translate(-50%, -50%);
  background: linear-gradient(transparent, #e9a53c 30%, #fff 50%, #e9a53c 70%, transparent);
}
#allrecords .fox-magic .tw:after {
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #e9a53c 30%, #fff 50%, #e9a53c 70%, transparent);
}
@keyframes zs-tw {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.3) rotate(0);
  }
  3.5% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1) rotate(20deg);
  }
  7%,
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.5) rotate(40deg);
  }
}
/* Подгонка под Montserrat (шире Arial) */
#allrecords .brand-a .ba-end {
  letter-spacing: 1.3px;
}
#allrecords .card-tag {
  letter-spacing: 0.9px;
}
@media (max-width: 760px) {
  #allrecords .brand-a .ba-end {
    letter-spacing: 1px;
  }
}

/* Рыбка: реакция на наведение/нажатие */
#allrecords .fox-magic .fish-hit {
  position: absolute;
  left: 13%;
  top: 7%;
  width: 25%;
  height: 24%;
  pointer-events: auto;
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
  border-radius: 50%;
  -webkit-tap-highlight-color: transparent;
}
#allrecords .fox-magic .fish-hit:focus-visible {
  outline: 2px dashed var(--gold);
  outline-offset: 4px;
}
#allrecords .fox-magic .pop {
  position: absolute;
  left: 35.8%;
  top: 16.6%;
  width: calc(var(--sz) * 15em);
  height: calc(var(--sz) * 15em);
  margin: calc(var(--sz) * -7.5em) 0 0 calc(var(--sz) * -7.5em);
  border-radius: 50%;
  background: radial-gradient(
    circle at 35% 30%,
    #fffdf2 0 20%,
    rgba(255, 230, 160, 0.6) 45%,
    rgba(236, 170, 60, 0.35) 100%
  );
  box-shadow:
    inset 0 0 0 1.5px rgba(205, 130, 35, 0.9),
    0 0 5px rgba(240, 180, 70, 0.55);
  opacity: 0;
  animation: zs-chain 2.2s ease-out forwards;
  pointer-events: none;
}
@keyframes zs-chain {
  0% {
    opacity: 0;
    transform: translate(0, 0) scale(0.4);
  }
  12% {
    opacity: 1;
    transform: translate(3em, -12em) scale(0.8);
  }
  35% {
    transform: translate(-4em, -40em) scale(1);
  }
  60% {
    opacity: 0.9;
    transform: translate(5em, -70em) scale(1.05);
  }
  100% {
    opacity: 0;
    transform: translate(-2em, -110em) scale(1.15);
  }
}
#allrecords .fox-magic .fish-say {
  position: absolute;
  left: 4%;
  top: 2.5%;
  pointer-events: none;
  white-space: nowrap;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 700;
  font-size: calc(27em);
  color: #9a5a12;
  text-shadow:
    0 0 12px #fffaf0,
    0 0 2px #fffaf0;
  opacity: 0;
  transform: translateY(8px) rotate(-4deg);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}
#allrecords .fox-magic .fish-say.show {
  opacity: 1;
  transform: translateY(0) rotate(-4deg);
}
#allrecords .fox-magic .fish-say:after {
  content: " ✦";
  color: var(--gold);
  font-style: normal;
  font-size: 0.7em;
}
@media (prefers-reduced-motion: reduce) {
  #allrecords .fox-magic .pop {
    display: none;
  }
}
/* Первый экран: кнопка компактнее, лиса крупнее и ближе к тексту */
#allrecords .hero .button {
  font-size: 19px !important;
  padding: 12px 26px;
  gap: 22px;
}
#allrecords .hero .button span {
  font-size: 23px;
}
@media (min-width: 1301px) {
  #allrecords .hero-fox {
    transform: translateX(-50px);
  }
  #allrecords .hero .hero-copy {
    width: 54%;
  }
}

/* Карта смыслов: две карты внахлёст */
#allrecords .maps-two {
  position: relative;
  padding: 20px 10px 40px;
  transform: none;
}
#allrecords .maps-two .paper-photo {
  transition: transform 0.35s;
}
#allrecords .maps-two .m-back {
  position: absolute;
  left: 0;
  top: 0;
  width: 82%;
  transform: rotate(-6deg);
  z-index: 1;
}
#allrecords .maps-two .m-front {
  position: relative;
  margin-left: 16%;
  margin-top: 70px;
  width: 84%;
  transform: rotate(3deg);
  z-index: 2;
}
@media (hover: hover) {
  #allrecords .maps-two .paper-photo:hover {
    z-index: 3;
    transform: rotate(0) scale(1.03) !important;
  }
}
@media (max-width: 760px) {
  #allrecords .maps-two .m-back {
    width: 86%;
  }
  #allrecords .maps-two .m-front {
    margin-left: 12%;
    margin-top: 48px;
    width: 88%;
  }
}
#allrecords .maps-two .paper-photo {
  padding: 12px;
}
@media (max-width: 760px) {
  #allrecords .maps-two .paper-photo {
    padding: 8px !important;
  }
}
/* Карта смыслов: текст одной колонкой, цитата финалом */
#allrecords .map-copy > p {
  max-width: 440px;
}
#allrecords .map-copy .map-quote-in {
  font: italic 600 clamp(24px, 2.2vw, 30px)/1.2 var(--serif) !important;
  color: #fff5da;
  max-width: 460px;
  border-top: 1px solid #ffddb566;
}
#allrecords .map-section {
  padding-bottom: 60px;
}
/* Карта смыслов: цитата выше + мягкое затемнение моря под текстом */
#allrecords .map-section {
  position: relative;
  padding-top: 36px;
}
#allrecords .map-section:before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 65%;
  height: 45%;
  pointer-events: none;
  z-index: 0;
}
#allrecords .map-section > * {
  position: relative;
  z-index: 1;
}
#allrecords .map-copy h2 {
  margin-bottom: 18px;
}
#allrecords .map-copy > p {
  margin-bottom: 14px;
}
#allrecords .map-copy .map-quote-in {
  padding-top: 16px;
}
@media (max-width: 760px) {
  #allrecords .map-section:before {
    width: 100%;
    height: 30%;
  }
}
#allrecords .map-section:before {
  background: radial-gradient(ellipse at 22% 95%, rgba(99, 9, 16, 0.72), rgba(99, 9, 16, 0) 68%);
}
#allrecords .fish-copy h2 {
  line-height: 1.06;
}
#allrecords .fish-copy .button {
  margin-top: 14px;
}

/* Сказки нужны не только детям: карточки с портретами */
#allrecords .audiences {
  border-top: 0;
  border-bottom: 0;
  padding-bottom: 30px;
}
#allrecords .aud-pic {
  display: block;
  width: 120px;
  height: 120px;
  margin: -6px auto 10px;
}
@media (max-width: 1100px) {
  #allrecords .aud-pic {
    width: 100px;
    height: 100px;
  }
}
/* Единая типографика заголовков (кроме «Живые сказки» на первом экране) */
#allrecords h2 {
  letter-spacing: -0.035em !important;
}
#allrecords .fish-copy h2 {
  transform: none;
  width: auto;
}
#allrecords .paper-card h3 {
  transform: none;
  width: auto;
  letter-spacing: -0.02em;
}
#allrecords .audience-grid h3 {
  letter-spacing: -0.02em;
}
#allrecords .formats .paper-card h3 {
  font-size: 22.5px !important;
}
@media (max-width: 760px) {
  #allrecords .formats .paper-card h3 {
    font-size: 25px !important;
  }
}
@media (min-width: 1101px) {
  #allrecords .formats .paper-card {
    min-height: 205px;
  }
}

/* единые размеры: подписи, кнопки, основной текст */
#allrecords .eyebrow.eyebrow.eyebrow,
#allrecords .hero-eyebrow.hero-eyebrow {
  font-size: 13px !important;
  letter-spacing: 2px;
  line-height: 1.5 !important;
}
#allrecords a.button,
#allrecords a.text-link {
  font-size: 19px !important;
}
#allrecords .fish-copy p,
#allrecords .map-copy > p,
#allrecords .finale p:not(.end-note):not(.eyebrow):not(.future p),
#allrecords .family-bottom div p:not(.bridge),
#allrecords .therapy > div > p:not(.small),
#allrecords .behind p:not(.cast):not(.eyebrow),
#allrecords .author p:not(.author-intro):not(.eyebrow) {
  font-size: 18px !important;
  line-height: 1.4 !important;
}
@media (max-width: 760px) {
  #allrecords .eyebrow.eyebrow.eyebrow,
  #allrecords .hero-eyebrow.hero-eyebrow {
    font-size: 11px !important;
    letter-spacing: 1.5px !important;
  }
  #allrecords a.button,
  #allrecords a.text-link {
    font-size: 18px !important;
  }
  #allrecords .fish-copy p,
  #allrecords .map-copy > p,
  #allrecords .finale p:not(.end-note):not(.eyebrow):not(.future p),
  #allrecords .family-bottom div p:not(.bridge),
  #allrecords .therapy > div > p:not(.small),
  #allrecords .behind p:not(.cast):not(.eyebrow),
  #allrecords .author p:not(.author-intro):not(.eyebrow) {
    font-size: 17px !important;
  }
}

/* карта смыслов: заголовок в 3 строки, цитата ниже, акцент с линией */
@media (min-width: 761px) {
  #allrecords .map-grid {
    grid-template-columns: 1fr 1fr;
  }
}
#allrecords .map-copy .map-quote-in {
  margin-top: 44px;
}
#allrecords .map-copy h2 em.km {
  font-style: normal;
  color: #f2c57a;
  position: relative;
  display: inline-block;
}
#allrecords .map-copy h2 em.km:after {
  content: "";
  position: absolute;
  left: -2%;
  right: -3%;
  bottom: -0.16em;
  height: 0.28em;
  background: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 300 20%27 preserveAspectRatio=%27none%27%3E%3Cpath d=%27M3 14 C 70 4, 160 3, 297 9%27 stroke=%27%23f2c57a%27 stroke-width=%275%27 fill=%27none%27 stroke-linecap=%27round%27/%3E%3C/svg%3E")
    center/100% 100% no-repeat;
}

/* цитата на карте: читаемость */
@media (min-width: 761px) {
  #allrecords .map-section:before {
    height: 60%;
    width: 70%;
    background: radial-gradient(
      ellipse at 22% 92%,
      rgba(70, 4, 8, 0.88),
      rgba(99, 9, 16, 0.55) 40%,
      rgba(99, 9, 16, 0) 72%
    ) !important;
  }
}
#allrecords .map-copy .map-quote-in {
  text-shadow:
    0 2px 14px rgba(60, 0, 5, 0.75),
    0 1px 2px rgba(60, 0, 5, 0.6);
}

/* окно «Подробнее о сказкотерапии» */
#allrecords .more-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: none;
  border: 0;
  padding: 0 0 4px;
  margin: 4px 0 22px;
  font:
    italic 600 23px/1.2 "Cormorant Garamond",
    serif;
  color: var(--orange, #ed5710);
  border-bottom: 1px dashed currentColor;
  cursor: pointer;
  transition:
    color 0.2s,
    gap 0.2s;
}
#allrecords .more-btn span {
  font-style: normal;
  font-size: 15px;
  color: #dca455;
  transition: transform 0.4s;
}
#allrecords .more-btn:hover {
  color: #630910;
  gap: 14px;
}
#allrecords .more-btn:hover span {
  transform: rotate(72deg);
}
#allrecords .more-btn:focus-visible {
  outline: 2px solid #dca455;
  outline-offset: 4px;
}
html.tt-lock {
  overflow: hidden;
}
#allrecords .tt-modal {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: min(820px, calc(100vw - 32px));
  width: 100%;
  max-height: calc(100vh - 48px);
  overflow: visible;
  color: #630910;
}
#allrecords .tt-modal::backdrop {
  background: rgba(60, 4, 8, 0.62);
  backdrop-filter: blur(3px);
}
#allrecords .tt-modal[open] {
  animation: tt-in 0.35s ease-out;
}
@keyframes tt-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
#allrecords .tt-inner {
  position: relative;
  background: #fdfaf6;
  border: 14px solid #fff8ea;
  box-shadow:
    0 8px 0 #eadcc6,
    0 30px 70px rgba(40, 0, 4, 0.45);
  padding: 46px 56px 44px;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  box-sizing: border-box;
}
#allrecords .tt-modal {
  position: fixed;
}
#allrecords .tt-close {
  position: absolute;
  z-index: 2;
  top: 26px;
  right: 28px;
  width: 44px;
  height: 44px;
  border: 1px solid #63091033;
  border-radius: 50%;
  background: #fff;
  color: #630910;
  font:
    400 28px/1 Georgia,
    serif;
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s;
}
#allrecords .tt-close:hover {
  background: #630910;
  color: #fff8ea;
}
#allrecords .tt-inner .eyebrow {
  margin-bottom: 14px;
}
#allrecords .tt-inner h2 {
  font-size: clamp(38px, 5vw, 56px);
  line-height: 0.98;
  margin: 0 0 20px;
}
#allrecords .tt-inner h2 em {
  font-style: normal;
  color: #ed5710;
}
#allrecords .tt-lead {
  font:
    italic 400 clamp(21px, 2.2vw, 25px)/1.3 "Cormorant Garamond",
    serif;
  font-weight: 600;
  margin: 0 0 30px;
  max-width: 640px;
}
#allrecords .tt-inner h3 {
  font-family: "Yeseva One", serif;
  font-weight: 400;
  font-size: 24px;
  letter-spacing: -0.02em;
  margin: 30px 0 14px;
  padding-top: 22px;
  border-top: 1px solid #dca45566;
}
#allrecords .tt-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
#allrecords .tt-list li {
  position: relative;
  padding-left: 26px;
  margin: 0 0 10px;
  font-size: 17px;
  line-height: 1.45;
}
#allrecords .tt-list li:before {
  content: "✦";
  position: absolute;
  left: 0;
  top: 1px;
  color: #dca455;
  font-size: 14px;
}
#allrecords .tt-list b {
  color: #ed5710;
  font-weight: 700;
}
#allrecords .tt-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
}
#allrecords .tt-for {
  font:
    700 12px/1.5 Montserrat,
    sans-serif;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #ed5710;
  margin: 0 0 12px;
}
#allrecords .tt-foot {
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid #dca45566;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
#allrecords .tt-lead-by {
  margin: 0;
  font-size: 15px;
  color: #7a4a40;
}
@media (max-width: 760px) {
  #allrecords .tt-modal {
    max-width: calc(100vw - 20px);
    max-height: calc(100vh - 20px);
  }
  #allrecords .tt-inner {
    border-width: 8px;
    padding: 30px 22px 28px;
    max-height: calc(100vh - 20px);
  }
  #allrecords .tt-two {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  #allrecords .tt-list li {
    font-size: 16px;
  }
  #allrecords .tt-inner h3 {
    font-size: 21px;
  }
  #allrecords .tt-close {
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
  }
  #allrecords .more-btn {
    font-size: 21px;
  }
  #allrecords .tt-foot .button {
    width: 100%;
    justify-content: space-between;
  }
}
@media (prefers-reduced-motion: reduce) {
  #allrecords .tt-modal[open] {
    animation: none;
  }
}

/* «Скоро оживут» — галерея афиш */
#allrecords .finale:after {
  top: 24%;
}
#allrecords .future {
  padding-top: 44px;
}
#allrecords .posters {
  list-style: none;
  margin: 0 auto;
  padding: 6px 0 10px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  max-width: 1180px;
}
#allrecords .posters li {
  margin: 0;
}
#allrecords .poster {
  display: block;
  width: 100%;
  padding: 10px 10px 12px;
  background: #fff8ea;
  border: 0;
  cursor: zoom-in;
  box-shadow:
    0 6px 0 #eadcc6,
    0 16px 34px #62402426;
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}
#allrecords .posters li:nth-child(odd) .poster {
  transform: rotate(-1.6deg);
}
#allrecords .posters li:nth-child(even) .poster {
  transform: rotate(1.4deg) translateY(10px);
}
#allrecords .poster img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}
@media (hover: hover) {
  #allrecords .posters li .poster:hover {
    z-index: 2;
    position: relative;
  }
}
#allrecords .poster:focus-visible {
  outline: 2px solid #dca455;
  outline-offset: 6px;
}
#allrecords .future-more {
  font:
    italic 600 24px/1.2 "Cormorant Garamond",
    serif !important;
  margin-top: 30px !important;
}
#allrecords .poster-lb {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: 100vw;
  max-height: 100vh;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}
#allrecords .poster-lb[open] {
  display: flex;
  align-items: center;
  justify-content: center;
  animation: tt-in 0.3s ease-out;
}
#allrecords .poster-lb::backdrop {
  background: rgba(40, 2, 6, 0.84);
  backdrop-filter: blur(4px);
}
#allrecords .poster-lb img {
  max-height: calc(100vh - 60px);
  max-width: calc(100vw - 150px);
  width: auto;
  height: auto;
  border: 12px solid #fff8ea;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
}
#allrecords .lb-close,
#allrecords .lb-nav {
  position: absolute;
  border: 1px solid #fff8ea66;
  background: #fff8ea1a;
  color: #fff8ea;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s;
}
#allrecords .lb-close:hover,
#allrecords .lb-nav:hover {
  background: #fff8ea40;
}
#allrecords .lb-close {
  top: 18px;
  right: 20px;
  width: 46px;
  height: 46px;
  font:
    400 30px/1 Georgia,
    serif;
}
#allrecords .lb-nav {
  top: 50%;
  transform: translateY(-50%);
  width: 54px;
  height: 54px;
  font:
    400 38px/1 Georgia,
    serif;
  padding-bottom: 4px;
}
#allrecords .lb-prev {
  left: 20px;
}
#allrecords .lb-next {
  right: 20px;
}
@media (max-width: 1100px) {
  #allrecords .posters {
    grid-template-columns: repeat(2, 1fr);
    gap: 34px 28px;
    max-width: 640px;
  }
}
@media (max-width: 760px) {
  #allrecords .future {
    padding-top: 34px !important;
  }
  #allrecords .posters {
    display: flex;
    grid-template-columns: none;
    gap: 18px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 10px 16px 26px;
    margin: 0 -16px;
    max-width: none;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  #allrecords .posters::-webkit-scrollbar {
    display: none;
  }
  #allrecords .posters li {
    flex: 0 0 72%;
    scroll-snap-align: center;
  }
  #allrecords .posters li:nth-child(even) .poster {
    transform: rotate(1.4deg);
  }
  #allrecords .future-more {
    font-size: 21px !important;
    margin-top: 14px !important;
  }
  #allrecords .poster-lb img {
    max-width: calc(100vw - 24px);
    max-height: calc(100vh - 120px);
    border-width: 8px;
  }
  #allrecords .lb-nav {
    top: auto;
    bottom: 22px;
    transform: none;
    width: 48px;
    height: 48px;
  }
  #allrecords .lb-prev {
    left: calc(50% - 60px);
  }
  #allrecords .lb-next {
    right: calc(50% - 60px);
  }
}
@media (prefers-reduced-motion: reduce) {
  #allrecords .poster {
    transition: none;
  }
  #allrecords .poster-lb[open] {
    animation: none;
  }
}

/* «Скоро оживут» — бордовая афишная стена */
#allrecords .future {
  position: relative;
  isolation: isolate;
  border-top: 0;
  margin-top: 64px;
  color: #fff5da;
}
#allrecords .future:before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(50% - 50vw);
  right: calc(50% - 50vw);
  z-index: -1;
  background:
    radial-gradient(ellipse 60% 70% at 50% 0%, rgba(237, 87, 16, 0.22), rgba(237, 87, 16, 0) 70%),
    radial-gradient(ellipse at 50% 120%, rgba(30, 0, 3, 0.55), rgba(30, 0, 3, 0) 60%),
    linear-gradient(180deg, #6e0a12, #5a070e);
  box-shadow:
    inset 0 1px 0 #dca45566,
    inset 0 -1px 0 #dca45566;
}
#allrecords .future .eyebrow {
  color: #dca455;
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
#allrecords .future .eyebrow:before,
#allrecords .future .eyebrow:after {
  content: "✦";
  font-size: 12px;
  letter-spacing: 0;
}
#allrecords .future-more {
  color: #dca455;
}
#allrecords .finale .end-note {
  margin-top: 56px;
}
html,
body {
  overflow-x: clip;
}
@media (max-width: 760px) {
  #allrecords .future {
    margin-top: 48px !important;
  }
}

/* афиша: заголовок, лампочки, витрины */
#allrecords .future {
  padding: 78px 0 74px !important;
}
#allrecords .future:after {
  content: "";
  position: absolute;
  left: calc(50% - 50vw);
  right: calc(50% - 50vw);
  top: 14px;
  bottom: 14px;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle, #fff3c4 0 2.5px, rgba(255, 206, 110, 0.55) 3.5px, rgba(255, 180, 80, 0) 8px) 0 0/36px 18px
      repeat-x,
    radial-gradient(circle, #fff3c4 0 2.5px, rgba(255, 206, 110, 0.55) 3.5px, rgba(255, 180, 80, 0) 8px) 18px 100%/36px
      18px repeat-x;
  animation: zs-bulbs 2.6s ease-in-out infinite alternate;
}
@keyframes zs-bulbs {
  from {
    opacity: 0.7;
  }
  to {
    opacity: 1;
  }
}
#allrecords .posters li:nth-child(odd) .poster,
#allrecords .posters li:nth-child(even) .poster {
  transform: none;
}
#allrecords .future .poster {
  position: relative;
  background: #2b0307;
  padding: 14px;
  border: 3px solid #c9973f;
  box-shadow:
    inset 0 0 0 1px #f2d08a,
    inset 0 0 22px rgba(0, 0, 0, 0.6),
    0 18px 40px rgba(15, 0, 2, 0.6);
}
#allrecords .future .poster:after {
  content: "";
  position: absolute;
  inset: 14px;
  pointer-events: none;
  background: linear-gradient(
    125deg,
    rgba(255, 255, 255, 0.16) 0%,
    rgba(255, 255, 255, 0) 28%,
    rgba(255, 255, 255, 0) 70%,
    rgba(255, 255, 255, 0.07) 100%
  );
}
#allrecords .future .poster img {
  box-shadow: 0 0 0 1px rgba(242, 208, 138, 0.35);
}
@media (hover: hover) {
  #allrecords .posters li .poster:hover {
    box-shadow:
      inset 0 0 0 1px #f2d08a,
      inset 0 0 22px rgba(0, 0, 0, 0.6),
      0 0 0 4px rgba(242, 197, 122, 0.25),
      0 30px 55px rgba(15, 0, 2, 0.75);
  }
}
@media (max-width: 760px) {
  #allrecords .future {
    padding: 56px 0 50px !important;
  }
  #allrecords .future .poster {
    padding: 9px;
    border-width: 2px;
  }
  #allrecords .future .poster:after {
    inset: 9px;
  }
  #allrecords .future:after {
    top: 10px;
    bottom: 10px;
    background-size:
      28px 14px,
      28px 14px;
    background-position:
      0 0,
      14px 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  #allrecords .future:after {
    animation: none;
  }
}

/* афиши: крупнее и бегущей лентой */
#allrecords .posters-marquee {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  overflow: hidden;
  padding: 30px 0 60px;
  margin-top: -16px;
  margin-bottom: -30px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
#allrecords .future .posters {
  display: flex;
  grid-template-columns: none;
  width: max-content;
  max-width: none;
  gap: 36px;
  margin: 0;
  padding: 0 18px;
  overflow: visible;
  scroll-snap-type: none;
  animation: zs-posters 60s linear infinite;
}
#allrecords .future .posters li {
  flex: 0 0 340px;
  width: 340px;
}
@keyframes zs-posters {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-100% / 3));
  }
}
@media (max-width: 1100px) {
  #allrecords .future .posters li {
    flex-basis: 300px !important;
    width: 300px;
  }
}
@media (max-width: 760px) {
  #allrecords .future .posters {
    gap: 22px !important;
    padding: 0 11px !important;
  }
  #allrecords .future .posters li {
    flex-basis: 240px !important;
    width: 240px;
  }
  #allrecords .posters-marquee {
    -webkit-mask-image: none;
    margin-left: calc(50% - 50vw);
  }
}
@media (prefers-reduced-motion: reduce) {
  #allrecords .future .posters {
    animation: none;
  }
  #allrecords .posters-marquee {
    overflow-x: auto;
  }
}

#allrecords .poster img {
  aspect-ratio: 2/3;
}

/* видео с Лисёнком в сказкотерапии */
#allrecords .therapy .tt-video {
  height: auto;
  width: min(380px, 100%);
  aspect-ratio: 9/16;
  margin: 0 auto;
  padding: 0;
  overflow: hidden;
  background: #f4e9d8;
}
#allrecords .therapy .tt-video video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (max-width: 760px) {
  #allrecords .therapy .tt-video {
    width: min(300px, 82%);
  }
}

#allrecords .therapy .tt-cta {
  margin-top: 6px;
}

/* видео: ровная рамка — наклонённое видео в Chrome рендерится с рваными краями */
#allrecords .therapy .tt-video {
  transform: none;
  border-width: 14px;
}
#allrecords .therapy .tt-video video {
  transform: translateZ(0);
}

/* сказкотерапия: две части — текст+видео в высоту текста / форматы и запись на всю ширину */
#allrecords .therapy.tt-split {
  display: block;
}
#allrecords .tt-top {
  display: grid;
  grid-template-columns: 1fr clamp(300px, 29vw, 420px);
  gap: 70px;
  align-items: stretch;
}
#allrecords .therapy.tt-split .tt-video {
  height: auto !important;
  min-height: 100%;
  width: 100%;
  aspect-ratio: auto;
  margin: 0;
  transform: none !important;
  align-self: stretch;
}
#allrecords .tt-text .tales {
  margin-bottom: 0;
}
#allrecords .tt-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr 1.1fr;
  gap: 28px;
  margin-top: 56px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
  align-items: stretch;
}
#allrecords .tt-bottom .therapy-options {
  display: contents;
}
#allrecords .tt-bottom .therapy-options > div {
  border: 1px solid #dca45555;
  border-top: 3px solid #dca455;
  padding: 24px 26px 22px;
  box-shadow: 0 10px 26px #62402412;
}
#allrecords .tt-bottom .therapy-options h3 {
  font-family: "Yeseva One", serif;
  font-weight: 400;
  font-size: 24px;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}
#allrecords .tt-bottom .therapy-options p {
  font-size: 16px;
  line-height: 1.4;
  margin: 0;
}
#allrecords .tt-act {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 16px;
}
#allrecords .tt-act .more-btn {
  margin: 0;
}
#allrecords .tt-act .tt-cta {
  margin: 0;
}
#allrecords .tt-act .small {
  margin: 0;
  font-size: 14px;
}
@media (max-width: 1100px) {
  #allrecords .tt-top {
    gap: 44px;
  }
  #allrecords .tt-bottom {
    grid-template-columns: 1fr 1fr;
  }
  #allrecords .tt-act {
    grid-column: 1/-1;
    padding: 10px 0 0;
  }
}
@media (max-width: 760px) {
  #allrecords .tt-top {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  #allrecords .therapy.tt-split .tt-video {
    height: auto !important;
    min-height: 0;
    aspect-ratio: 9/16;
    width: min(300px, 82%) !important;
    margin: 0 auto !important;
  }
  #allrecords .tt-bottom {
    grid-template-columns: 1fr;
    margin-top: 36px;
    padding-top: 28px;
    gap: 18px;
  }
  #allrecords .tt-act .tt-cta {
    width: 100%;
    justify-content: space-between;
    font-size: 16.5px;
    padding: 14px 22px;
    white-space: nowrap;
  }
}

#allrecords .therapy.tt-split .tt-video {
  position: relative;
}
#allrecords .therapy.tt-split .tt-video video {
  position: absolute;
  inset: 0;
}
@media (max-width: 760px) {
  #allrecords .therapy.tt-split .tt-video video {
    position: static;
  }
}

/* нижняя часть сказкотерапии: больше воздуха */
@media (min-width: 761px) {
  #allrecords .tt-bottom .therapy-options h3 {
    margin-bottom: 12px;
  }
  #allrecords .tt-bottom .therapy-options > div {
    align-self: stretch;
    display: flex;
    flex-direction: column;
  }
  #allrecords .tt-act {
    gap: 20px;
  }
}

#allrecords .tt-text .more-btn {
  margin: 26px 0 0;
}
@media (min-width: 761px) {
  #allrecords .tt-act {
    align-items: center;
    justify-content: center;
  }
}

#allrecords .tt-card-cta {
  display: flex;
  flex-direction: column;
  align-self: stretch;
  justify-content: center;
  background: #630910;
  color: #fff5da;
  padding: 28px 30px;
  text-decoration: none;
  box-shadow: 0 14px 30px #63091033;
  transition:
    transform 0.25s,
    box-shadow 0.25s;
  border-top: 3px solid #dca455;
}
#allrecords .tt-card-cta:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px #6309104d;
}
#allrecords .tcc-k {
  font:
    700 11px/1.4 Montserrat,
    sans-serif;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #dca455;
  margin-bottom: 8px;
}
#allrecords .tcc-h {
  font:
    400 23px/1.15 "Yeseva One",
    serif;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
#allrecords .tcc-t {
  font-size: 15px;
  line-height: 1.4;
  color: #f3dcc6;
  margin-bottom: 18px;
}
#allrecords .tcc-go {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  color: #fff;
  border-top: 1px solid #ffffff33;
  padding-top: 14px;
}
#allrecords .tcc-go b {
  margin-left: auto;
  font-weight: 400;
  font-size: 20px;
  transition: transform 0.25s;
}
#allrecords .tt-card-cta:hover .tcc-go b {
  transform: translateX(5px);
}
#allrecords .tt-act {
  padding-left: 0;
  align-self: stretch;
}

#allrecords .tt-card-cta {
  text-align: left;
}
@media (max-width: 1100px) {
  #allrecords .tt-act {
    align-items: stretch !important;
    text-align: left;
  }
}

/* живые фото: стена полароидов (Буратино), кадры кино, финал */
#allrecords .pol {
  margin: 0;
  background: #fffaf0;
  padding: 10px 10px 30px;
  box-shadow:
    0 8px 22px #4a1a0f26,
    0 2px 0 #eadcc6;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  position: relative;
}
#allrecords .pol img {
  display: block;
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
}
@media (hover: hover) {
  #allrecords .pol:hover {
    transform: rotate(0) scale(1.06) !important;
    z-index: 3;
    box-shadow: 0 18px 40px #4a1a0f40;
  }
}
#allrecords .finale-photo {
  background: #fffaf0;
  box-shadow:
    0 10px 30px #4a1a0f2e,
    0 3px 0 #eadcc6;
  transform: rotate(-1deg);
}
#allrecords .finale-photo img {
  display: block;
  width: 100%;
  height: auto;
}

#allrecords .author h2 {
  font-size: clamp(32px, 4.3vw, 62px);
}
@media (max-width: 760px) {
  #allrecords .author h2 {
    font-size: 8.3vw !important;
  }
}

/* видео сказкотерапии компактнее, не растягивается на весь блок */
@media (min-width: 761px) {
  #allrecords .tt-top {
    align-items: center;
  }
  #allrecords .therapy.tt-split .tt-video {
    height: auto !important;
    min-height: 0;
    aspect-ratio: 9/16;
    width: 100% !important;
    align-self: center;
  }
  #allrecords .therapy.tt-split .tt-video video {
    position: static;
    height: 100%;
  }
}

#allrecords .therapy h2.tt-h2 {
  font-size: clamp(30px, 4.1vw, 64px);
}
@media (max-width: 760px) {
  #allrecords .therapy h2.tt-h2 {
    font-size: 7.4vw !important;
  }
}

/* нижний ряд сказкотерапии: плотнее */
@media (min-width: 761px) {
  #allrecords .tt-bottom {
    gap: 28px;
    margin-top: 52px;
    padding-top: 40px;
    align-items: stretch;
  }
  #allrecords .tt-bottom .therapy-options > div {
    padding: 24px 28px 22px;
    justify-content: center;
  }
  #allrecords .tt-card-cta {
    padding: 22px 28px;
  }
  #allrecords .tcc-k {
    margin-bottom: 6px;
  }
  #allrecords .tcc-h {
    font-size: 21px;
    margin-bottom: 8px;
  }
  #allrecords .tcc-t {
    font-size: 14.5px;
    margin-bottom: 14px;
  }
  #allrecords .tcc-go {
    padding-top: 12px;
  }
  #allrecords .therapy.tt-split {
    padding-bottom: 90px;
  }
}

/* кино: вариант A */
#allrecords .cv-a .cva-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 70px;
  align-items: center;
}
#allrecords .cv-a h2 {
  margin-bottom: 28px;
}
#allrecords .cv-p {
  font-size: 18px;
  line-height: 1.45;
  max-width: 560px;
  margin: 0 0 14px;
  color: #ffefdc;
}
#allrecords .cv-free {
  font:
    italic 600 24px/1.25 "Cormorant Garamond",
    serif;
  color: #efba6b;
  max-width: 540px;
  margin: 0 0 22px;
}
#allrecords .cva-collage {
  position: relative;
  height: 560px;
}
#allrecords .cva-collage .pol {
  position: absolute;
  width: 62%;
  background: #fff3df;
  padding: 12px 12px 36px;
  box-shadow: 0 18px 40px rgba(20, 0, 3, 0.5);
}
#allrecords .cva-collage .k1 {
  left: 0;
  top: 0;
  transform: rotate(-4deg);
  z-index: 1;
}
#allrecords .cva-collage .k2 {
  right: 0;
  bottom: 0;
  transform: rotate(3.5deg);
  z-index: 2;
}
#allrecords .cva-leaders {
  display: flex;
  align-items: center;
  gap: 44px;
  flex-wrap: wrap;
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid #bd826745;
}
#allrecords .cva-lab {
  font:
    700 12px Montserrat,
    sans-serif;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #dca455;
}
#allrecords .cva-l {
  display: flex;
  align-items: center;
  gap: 16px;
}
#allrecords .cva-l b {
  display: block;
  font:
    400 21px "Yeseva One",
    serif;
  color: #fff5da;
}
#allrecords .cva-l small {
  font:
    13px/1.4 "PT Serif",
    serif;
  color: #e7c3ad;
}
#allrecords .cv-av {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 2px solid #dca455;
  background: #8a1520;
  display: grid;
  place-items: center;
  font:
    600 18px Montserrat,
    sans-serif;
  color: #dca455;
  flex: none;
}
@media (max-width: 900px) {
  #allrecords .cv-a .cva-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  #allrecords .cva-collage {
    height: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  #allrecords .cva-collage .pol {
    position: static;
    width: auto;
    padding: 7px 7px 22px;
  }
  #allrecords .cva-leaders {
    gap: 22px;
    margin-top: 40px;
  }
}

#allrecords .cv-a .button.light {
  display: inline-flex;
  width: auto;
  gap: 40px;
}
#allrecords .cv-a h2 {
  font-size: clamp(40px, 4.6vw, 68px);
}

/* портрет Натальи */
#allrecords .author-photo.has-img {
  padding: 0;
  overflow: hidden;
  background: #f4e9d8;
}
#allrecords .author-photo.has-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
#allrecords .cv-av-img {
  object-fit: cover;
  object-position: 50% 18%;
  padding: 0;
}
#allrecords .future .posters {
  animation-duration: 105s;
}
@media (max-width: 760px) {
  #allrecords .future .posters {
    animation-duration: 80s !important;
  }
}

#allrecords .future .eyebrow {
  margin-bottom: 34px;
}

/* «Для кого»: лента портретов без рамок на кремовой подложке */
#allrecords .aud-strip {
  position: relative;
  isolation: isolate;
  padding-top: 64px !important;
  padding-bottom: 70px !important;
}
#allrecords .aud-strip:before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(50% - 50vw);
  right: calc(50% - 50vw);
  z-index: -1;
  background: #f6ecdd;
}
#allrecords .aud-strip h2 {
  text-align: center;
  margin-bottom: 44px;
}
#allrecords .aud-strip .audience-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
#allrecords .aud-strip article {
  background: none;
  border: 0;
  box-shadow: none;
  transform: none;
  padding: 0 26px;
  text-align: center;
  position: relative;
}
#allrecords .aud-strip article + article:before {
  content: "";
  position: absolute;
  left: 0;
  top: 30px;
  bottom: 10px;
  width: 1px;
  background: linear-gradient(#dca45500, #dca455aa, #dca45500);
}
#allrecords .aud-strip .aud-pic {
  width: 132px;
  height: 132px;
  border-radius: 50%;
  background: #fffaf2;
  box-shadow:
    0 0 0 2px #dca455,
    0 10px 24px #6309101f;
  margin: 0 auto 16px;
  padding: 6px;
  transition: transform 0.3s;
}
@media (hover: hover) {
  #allrecords .aud-strip article:hover {
    scale: 1;
    translate: 0;
  }
  #allrecords .aud-strip article:hover .aud-pic {
    transform: translateY(-6px) rotate(-3deg);
  }
}
#allrecords .aud-strip h3 {
  margin-bottom: 8px;
}
@media (max-width: 900px) {
  #allrecords .aud-strip .audience-grid {
    grid-template-columns: 1fr 1fr;
    row-gap: 36px !important;
  }
  #allrecords .aud-strip article:nth-child(3):before {
    display: none;
  }
}
@media (max-width: 760px) {
  #allrecords .aud-strip {
    padding-top: 44px !important;
    padding-bottom: 48px !important;
  }
  #allrecords .aud-strip .aud-pic {
    width: 100px !important;
    height: 100px !important;
  }
  #allrecords .aud-strip article {
    padding: 0 10px !important;
  }
}

#allrecords .photo-lb img {
  object-fit: contain;
}

/* Буратино: фотоотчёт */
#allrecords .bur-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
#allrecords .bur2 h2 {
  margin-bottom: 24px;
}
#allrecords .bur-p {
  font-size: 18px;
  line-height: 1.45;
  max-width: 500px;
  margin: 0 0 14px;
}
#allrecords .bur-free {
  font:
    italic 600 25px/1.25 "Cormorant Garamond",
    serif;
  color: #ed5710;
  margin: 0 0 26px;
}
#allrecords .bur-cast {
  font:
    italic 19px/1.5 "Cormorant Garamond",
    serif;
  color: #630910;
  margin: 0;
  padding-top: 18px;
  border-top: 1px solid #dca45566;
  max-width: 500px;
}
#allrecords .bur-cast span {
  display: block;
  font:
    700 12px Montserrat,
    sans-serif;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #dca455;
  font-style: normal;
  margin-bottom: 6px;
}
#allrecords .bur-hero {
  transform: rotate(1.5deg);
  padding: 12px 12px 34px;
}
#allrecords .bur-hero img {
  aspect-ratio: 4/3;
}
@media (max-width: 900px) {
  #allrecords .bur-top {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

#allrecords .behind.bur2 h2 {
  font-size: clamp(30px, 3.7vw, 54px);
}
#allrecords .behind.bur2 p.bur-free {
  font:
    italic 600 25px/1.25 "Cormorant Garamond",
    serif !important;
}
#allrecords .behind.bur2 p.bur-cast {
  font:
    italic 20px/1.5 "Cormorant Garamond",
    serif !important;
}

/* шапка: якоря */
#allrecords section[id],
#allrecords #afisha {
  scroll-margin-top: 110px;
}
@media (min-width: 761px) and (max-width: 1100px) {
  #allrecords .project-header nav {
    gap: 12px;
    font-size: 13.5px;
  }
}

/* Буратино: галерея-лента */
#allrecords .bur-gal {
  position: relative;
  margin-top: 48px;
}
#allrecords .bg-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 6px 2px 14px;
}
#allrecords .bg-track::-webkit-scrollbar {
  display: none;
}
#allrecords .bg-track .pol {
  flex: 0 0 auto;
  height: 300px;
  width: auto;
  padding: 7px;
  margin: 0;
  transform: none !important;
  scroll-snap-align: start;
}
#allrecords .bg-track .pol img {
  height: 100%;
  width: auto;
  aspect-ratio: 3/4;
  object-fit: cover;
}
#allrecords .bg-track .pol:first-child img {
  aspect-ratio: 4/3 !important;
}
#allrecords .bg-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-60%);
  z-index: 3;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid #63091033;
  background: #fffaf2;
  color: #630910;
  font:
    400 32px/1 Georgia,
    serif;
  cursor: pointer;
  box-shadow: 0 8px 20px #6309101f;
  transition:
    opacity 0.2s,
    background 0.2s;
}
#allrecords .bg-nav:hover {
  background: #630910;
  color: #fff8ea;
}
#allrecords .bg-prev {
  left: -22px;
}
#allrecords .bg-next {
  right: -22px;
}
#allrecords .bur-gal.at-start .bg-prev,
#allrecords .bur-gal.at-end .bg-next {
  opacity: 0;
  pointer-events: none;
}
@media (max-width: 760px) {
  #allrecords .bur-gal {
    margin-top: 28px;
  }
  #allrecords .bg-track .pol {
    height: 220px;
  }
  #allrecords .bg-nav {
    display: none;
  }
  #allrecords .bg-track {
    margin: 0 -16px;
    padding-left: 16px;
    padding-right: 16px;
  }
}

#allrecords .behind.bur2 p.bur-cast {
  max-width: 560px;
  text-wrap: balance;
}

/* сказкотерапия: своя подложка + видео слева */
#allrecords .behind.bur2 {
  padding-bottom: 70px;
}
#allrecords .bg-track {
  padding-bottom: 46px;
  margin-bottom: -30px;
}
#allrecords .bg-track .pol {
  box-shadow:
    0 6px 16px #4a1a0f1f,
    0 2px 0 #eadcc6;
}
#allrecords .therapy.tt-split {
  position: relative;
  isolation: isolate;
  padding-top: 80px;
}
#allrecords .therapy.tt-split:after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(50% - 50vw);
  right: calc(50% - 50vw);
  z-index: -1;
  background: #f6ecdd;
  box-shadow: inset 0 1px 0 #dca45566;
}
#allrecords .tt-bottom .therapy-options > div {
  background: #fffaf2;
}
@media (min-width: 761px) {
  #allrecords .tt-top {
    grid-template-columns: clamp(240px, 21vw, 320px) 1fr;
  }
  #allrecords .tt-top .tt-video {
    order: -1;
  }
}

/* кнопка «наверх» */
#allrecords .to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 40;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 0;
  background: #630910;
  color: #f3cf8f;
  font:
    400 24px/1 "PT Serif",
    Georgia,
    serif;
  cursor: pointer;
  box-shadow:
    0 0 0 2px #fdfaf6,
    0 0 0 3px #dca455,
    0 10px 24px #6309104d;
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition:
    opacity 0.3s,
    transform 0.3s,
    background 0.2s;
}
#allrecords .to-top.show {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
#allrecords .to-top:hover {
  background: #ed5710;
  color: #fff;
}
#allrecords .to-top:focus-visible {
  outline: 2px solid #dca455;
  outline-offset: 4px;
}
@media (max-width: 760px) {
  #allrecords .to-top {
    right: 16px;
    bottom: 16px;
    width: 46px;
    height: 46px;
  }
}

/* афиша: без остановки при наведении и плавнее */
#allrecords .posters-marquee:hover .posters,
#allrecords .posters-marquee:focus-within .posters {
  animation-play-state: running;
}
#allrecords .future .posters {
  will-change: transform;
  backface-visibility: hidden;
}
#allrecords .posters-marquee {
  -webkit-mask-image: none;
  mask-image: none !important;
}
#allrecords .posters-marquee:before,
#allrecords .posters-marquee:after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 7%;
  z-index: 2;
  pointer-events: none;
}
#allrecords .posters-marquee:before {
  left: 0;
  background: linear-gradient(90deg, #640910, transparent);
}
#allrecords .posters-marquee:after {
  right: 0;
  background: linear-gradient(-90deg, #5f080f, transparent);
}
#allrecords .future .poster {
  transition: box-shadow 0.25s;
}
@media (hover: hover) {
  #allrecords .posters li .poster:hover {
    transform: none;
  }
}
#allrecords .to-top {
  font-size: 26px;
}

/* финал: фото компактнее, кадр на людях */
#allrecords .finale-photo {
  max-width: 600px;
  margin: 26px auto 28px;
  padding: 10px 10px 28px;
}
#allrecords .finale-photo img {
  aspect-ratio: 16/10;
  object-fit: cover;
  object-position: 50% 78%;
}
@media (max-width: 760px) {
  #allrecords .finale-photo {
    padding: 7px 7px 20px !important;
  }
}

#allrecords .family h2.fam-h2 {
  font-size: clamp(34px, 4.6vw, 66px);
  white-space: nowrap;
}
#allrecords .family .section-top {
  margin-bottom: 34px;
}
@media (max-width: 760px) {
  #allrecords .family h2.fam-h2 {
    white-space: normal;
    font-size: clamp(34px, 10vw, 46px) !important;
  }
}

/* вторая кнопка «Записаться» с выбором мессенджера + контакты в подвале */
#allrecords .cta-pair {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  position: relative;
  z-index: 3;
}
#allrecords .finale .cta-pair {
  justify-content: center;
}
#allrecords .cta-pair .button {
  margin: 0;
  min-height: 50px;
  box-sizing: border-box;
}
#allrecords .hero .cta-pair .button {
  padding: 12px 22px !important;
}
#allrecords .sign-up {
  position: relative;
}
#allrecords .btn-wa {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 50px;
  box-sizing: border-box;
  border-radius: 40px;
  font:
    400 19px/1.15 "PT Serif",
    Georgia,
    serif;
  transition:
    background 0.2s,
    color 0.2s;
}
#allrecords .btn-wa::-webkit-details-marker {
  display: none;
}
#allrecords .su-menu {
  position: absolute;
  display: grid;
  gap: 2px;
  z-index: 20;
}
#allrecords .finale .su-menu {
  left: 50%;
  transform: translateX(-50%);
}
#allrecords .su-menu a {
  color: #630910;
  text-decoration: none;
  font:
    400 17px "PT Serif",
    Georgia,
    serif;
  white-space: nowrap;
}
#allrecords .wa-ico {
  width: 21px;
  height: 21px;
  color: #25a244;
  flex: none;
}
#allrecords .max-ico {
  width: 21px;
  height: 21px;
  color: #5a4bff;
  flex: none;
}
#allrecords .foot-contacts {
  display: flex;
  align-items: center;
  gap: 18px;
  font:
    13px Montserrat,
    sans-serif;
  color: var(--muted);
}
#allrecords .foot-contacts a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font:
    400 16px "PT Serif",
    Georgia,
    serif;
  color: #630910;
  text-decoration: none;
}
#allrecords .foot-contacts a:hover {
  color: #ed5710;
}
#allrecords .foot-contacts .wa-ico,
#allrecords .foot-contacts .max-ico {
  width: 19px;
  height: 19px;
}
@media (max-width: 760px) {
  #allrecords .cta-pair {
    gap: 12px;
  }
  #allrecords .cta-pair .button,
  #allrecords .sign-up,
  #allrecords .btn-wa {
    width: 100%;
    justify-content: center;
  }
  #allrecords .su-menu {
    left: 0 !important;
    transform: none !important;
  }
  #allrecords .foot-contacts {
    order: 2;
    width: 100%;
    flex-wrap: wrap;
    gap: 14px;
  }
  #allrecords footer {
    padding-bottom: 84px !important;
  }
}

#allrecords .copy-toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translate(-50%, 20px);
  z-index: 60;
  background: #630910;
  color: #fff5da;
  font:
    15px/1.3 "PT Serif",
    Georgia,
    serif;
  padding: 12px 20px;
  border-radius: 30px;
  box-shadow: 0 12px 30px #63091055;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.3s,
    transform 0.3s;
  max-width: calc(100vw - 32px);
  text-align: center;
}
#allrecords .copy-toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* «Записаться»: светлая кнопка + аккуратное меню */
#allrecords .btn-wa {
  background: #fdfaf6;
  color: #630910;
  border: 1.5px solid #630910;
  padding: 11px 26px;
}
#allrecords .btn-wa:hover,
#allrecords .sign-up[open] .btn-wa {
  background: #630910 !important;
  color: #fff8ea !important;
}
#allrecords .sign-up {
  z-index: 30;
}
#allrecords .su-menu {
  top: calc(100% + 12px);
  bottom: auto;
  left: 0;
  min-width: 300px;
  padding: 10px;
  border-radius: 18px;
  border: 1px solid #dca45566;
  background: #fffaf2;
  box-shadow: 0 22px 50px #6309102e;
  animation: su-in 0.22s ease-out;
}
#allrecords .su-menu:before {
  content: "";
  position: absolute;
  top: -7px;
  left: 34px;
  width: 12px;
  height: 12px;
  background: #fffaf2;
  border-left: 1px solid #dca45566;
  border-top: 1px solid #dca45566;
  transform: rotate(45deg);
}
@keyframes su-in {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
#allrecords .finale .su-menu {
  animation: none;
}
#allrecords .su-t {
  font:
    700 11px Montserrat,
    sans-serif;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: #dca455;
  margin: 4px 10px 8px;
}
#allrecords .su-menu a {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 12px;
}
#allrecords .su-menu a:hover {
  background: #f6ecdd;
}
#allrecords .su-ic {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
}
#allrecords .su-wa {
  background: #e5f6ea;
}
#allrecords .su-mx {
  background: #ecebff;
}
#allrecords .su-ic svg {
  width: 22px;
  height: 22px;
}
#allrecords .su-menu b {
  display: block;
  font:
    400 18px "PT Serif",
    Georgia,
    serif;
  color: #630910;
}
#allrecords .su-menu small {
  display: block;
  font:
    italic 600 14px "Cormorant Garamond",
    serif;
  color: #977454;
}
#allrecords .su-menu em {
  font-style: normal;
  color: #dca455;
  transition: transform 0.2s;
}
#allrecords .su-menu a:hover em {
  transform: translateX(3px);
}
#allrecords .hero {
  position: relative;
  z-index: 5;
  overflow-x: clip;
  overflow-y: visible;
}
#allrecords .finale .su-menu {
  text-align: left;
}
#allrecords section.finale .cta-pair .sign-up .su-menu p.su-t.su-t {
  font-size: 11px !important;
  line-height: 1.4 !important;
  text-align: left;
}
@media (max-width: 760px) {
  #allrecords .su-menu {
    min-width: 0;
    width: 100%;
  }
  #allrecords .su-menu:before {
    left: 50%;
    margin-left: -6px;
  }
}

/* адрес в подвале */
#allrecords .foot-addr {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font:
    400 16px "PT Serif",
    Georgia,
    serif;
  color: #630910;
  text-decoration: none;
}
#allrecords .foot-addr:hover {
  color: #ed5710;
}
#allrecords .pin-ico {
  width: 18px;
  height: 18px;
  color: #ed5710;
  flex: none;
}
@media (max-width: 760px) {
  #allrecords .foot-addr {
    order: 2;
    width: 100%;
  }
}

@media (min-width: 761px) {
  #allrecords footer {
    flex-wrap: wrap;
  }
  #allrecords footer:after {
    content: "";
    order: 9;
    flex-basis: 100%;
    height: 0;
  }
  #allrecords footer .footer-brand,
  #allrecords footer > a:last-child,
  #allrecords .foot-addr,
  #allrecords .foot-contacts a {
    white-space: nowrap;
  }
  #allrecords .foot-addr {
    order: 10;
  }
  #allrecords .foot-contacts {
    order: 11;
    margin-left: auto;
  }
  #allrecords footer > p {
    flex: 1;
  }
}

/* портрет автора */
#allrecords .author-photo.has-img {
  max-width: 440px;
  height: auto;
  aspect-ratio: 4/5;
  justify-self: center;
}
#allrecords .author-photo.has-img img {
  object-position: 50% 20%;
}

/* ===== Расписание из Google-таблицы ===== */
#allrecords .sc-loading {
  font:
    italic 600 22px "Cormorant Garamond",
    serif;
  color: #977454;
  padding: 30px 0;
}
#allrecords .sc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  gap: 28px;
}
#allrecords .sc-card {
  display: flex;
  flex-direction: column;
  background: #fffaf2;
  border: 1px solid #dca45555;
  border-top: 3px solid #dca455;
  box-shadow: 0 12px 30px #6309101a;
  overflow: visible;
  transition:
    transform 0.25s,
    box-shadow 0.25s;
}
#allrecords .sc-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px #63091026;
}
#allrecords .sc-img {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #f6ecdd;
}
#allrecords .sc-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 62%;
  display: block;
}
#allrecords .sc-body {
  padding: 22px 24px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
#allrecords .sc-date {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
#allrecords .sc-date b {
  font:
    400 46px/1 "Yeseva One",
    serif;
  color: #ed5710;
}
#allrecords .sc-date span {
  font:
    700 13px/1.3 Montserrat,
    sans-serif;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: #630910;
}
#allrecords .sc-date i {
  display: block;
  font:
    italic 600 16px "Cormorant Garamond",
    serif;
  letter-spacing: 0;
  text-transform: none;
  color: #977454;
}
#allrecords .sc-format {
  font:
    700 11px Montserrat,
    sans-serif;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #dca455;
  margin: 0 0 4px;
}
#allrecords .sc-card h3 {
  font:
    400 26px/1.1 "Yeseva One",
    serif;
  letter-spacing: -0.02em;
  color: #630910;
  margin: 0 0 10px;
  text-transform: none;
}
#allrecords .sc-desc {
  font-size: 16px;
  line-height: 1.45;
  margin: 0 0 12px;
  color: #5a2a26;
}
#allrecords .sc-meta {
  list-style: none;
  padding: 12px 0 0;
  margin: auto 0 0;
  border-top: 1px solid #dca45544;
  display: grid;
  gap: 6px;
}
#allrecords .sc-meta li {
  font:
    16px/1.35 "PT Serif",
    Georgia,
    serif;
  color: #630910;
}
#allrecords .sc-meta li span {
  display: inline-block;
  min-width: 96px;
  font:
    12px Montserrat,
    sans-serif;
  color: #977454;
}
#allrecords .sc-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
}
#allrecords .sc-seats {
  font:
    italic 600 17px "Cormorant Garamond",
    serif;
  color: #ed5710;
}
#allrecords .sc-btn {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #630910;
  color: #fff8ea;
  border: 1.5px solid #630910;
  border-radius: 40px;
  padding: 10px 22px;
  font:
    400 17px "PT Serif",
    Georgia,
    serif;
  text-decoration: none;
  transition: background 0.2s;
}
#allrecords .sc-btn::-webkit-details-marker {
  display: none;
}
#allrecords .sc-btn:hover {
  background: #ed5710;
  border-color: #ed5710;
}
#allrecords .sc-btn-ghost {
  background: transparent;
  color: #630910;
}
#allrecords .sc-btn-ghost:hover {
  background: #630910;
  color: #fff8ea;
  border-color: #630910;
}
#allrecords .sc-sign {
  position: relative;
}
#allrecords .sc-menu {
  position: absolute;
  right: 0;
  bottom: calc(100% + 10px);
  background: #fffaf2;
  border: 1px solid #dca45566;
  border-radius: 14px;
  box-shadow: 0 16px 36px #6309102e;
  padding: 6px;
  min-width: 190px;
  z-index: 10;
}
#allrecords .sc-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 10px;
  color: #630910;
  text-decoration: none;
  font:
    17px "PT Serif",
    Georgia,
    serif;
}
#allrecords .sc-menu a:hover {
  background: #f6ecdd;
}
#allrecords .sc-wa,
#allrecords .sc-mx {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: none;
}
#allrecords .sc-wa {
  background: #e5f6ea;
  color: #25a244;
}
#allrecords .sc-mx {
  background: #ecebff;
  color: #5a4bff;
}
#allrecords .sc-wa svg,
#allrecords .sc-mx svg {
  width: 18px;
  height: 18px;
}
#allrecords .sc-btn .sc-wa,
#allrecords .sc-btn .sc-mx {
  width: 22px;
  height: 22px;
  background: none;
}
#allrecords .sc-btn .sc-wa {
  color: #7be29a;
}
#allrecords .sc-card.is-full {
  opacity: 0.75;
}
#allrecords .sc-empty {
  border: 1px dashed #dca455aa;
  background: #fffaf2;
  padding: 34px;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}
#allrecords .sc-empty-t {
  font:
    400 28px "Yeseva One",
    serif;
  color: #630910;
  margin: 0 0 8px;
}
#allrecords .sc-empty p {
  color: #7a4a40;
}
#allrecords .sc-empty-b {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 18px;
}
/* блок «Ближайшие встречи» на главной */
#allrecords .upcoming .up-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
  flex-wrap: wrap;
}
#allrecords .upcoming h2 {
  margin: 0;
}
#allrecords .upcoming .up-all {
  font:
    400 19px "PT Serif",
    Georgia,
    serif;
  color: #630910;
  text-decoration: none;
  border-bottom: 1px solid #63091055;
  padding-bottom: 3px;
}
#allrecords .upcoming .up-all:hover {
  color: #ed5710;
  border-color: #ed5710;
}
@media (max-width: 760px) {
  #allrecords .sc-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  #allrecords .sc-body {
    padding: 18px;
  }
  #allrecords .sc-date b {
    font-size: 40px;
  }
  #allrecords .sc-card h3 {
    font-size: 23px;
  }
}

#allrecords .sch-lead {
  max-width: 620px;
  font-size: 18px;
  color: #5a2a26;
  margin: 0 0 40px;
}
/* footer tidy v2 */
@media (min-width: 761px) {
  #allrecords footer {
    row-gap: 0;
    padding-top: 34px !important;
    padding-bottom: 26px !important;
  }
  #allrecords footer:after {
    border-top: 1px solid var(--line);
    margin: 24px 0 18px;
    opacity: 0.7;
  }
}
#allrecords footer .foot-addr,
#allrecords footer .foot-contacts a {
  font:
    500 13px/1 Montserrat,
    Arial,
    sans-serif;
  letter-spacing: 0.2px;
  color: var(--wine);
}
#allrecords footer .foot-addr .pin-ico {
  width: 15px;
  height: 15px;
  color: var(--orange);
}
#allrecords footer .foot-contacts {
  gap: 22px;
}
#allrecords footer .foot-contacts > span {
  font:
    600 10px/1 Montserrat,
    Arial,
    sans-serif;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
}
#allrecords footer .foot-contacts .wa-ico,
#allrecords footer .foot-contacts .max-ico {
  width: 16px;
  height: 16px;
}
#allrecords footer .foot-addr:hover,
#allrecords footer .foot-contacts a:hover {
  color: var(--orange);
}
#allrecords footer > a:last-child {
  font-size: 16px;
}
@media (max-width: 760px) {
  #allrecords footer:after {
    content: "";
    order: 1;
    flex-basis: 100%;
    border-top: 1px solid var(--line);
    opacity: 0.7;
  }
  #allrecords footer .foot-contacts {
    gap: 16px !important;
  }
}

/* schedule page afisha */
#allrecords .sch-afisha {
  padding-top: 0;
  padding-bottom: 30px;
}
#allrecords .sch-afisha .future {
  margin-top: 30px !important;
}

/* therapy card: messenger choice */
#allrecords .tt-card-cta .tt-sign {
  position: relative;
  z-index: 30;
}
#allrecords .tt-card-cta summary.tcc-go {
  list-style: none;
  cursor: pointer;
  user-select: none;
}
#allrecords .tt-card-cta summary.tcc-go::-webkit-details-marker {
  display: none;
}
#allrecords .tt-card-cta summary.tcc-go:hover b,
#allrecords .tt-sign[open] summary.tcc-go b {
  transform: translateX(5px);
}
#allrecords .tt-card-cta .su-menu {
  left: -6px;
  min-width: 300px;
  color: #630910;
}
#allrecords .tt-card-cta .su-menu p.su-t {
  font-size: 11px !important;
  line-height: 1.4 !important;
  margin: 4px 10px 6px !important;
}

/* телефоны: читаемая подпись в шапке и удобные для пальца ссылки
   (поля + отрицательные отступы увеличивают область нажатия, не сдвигая вёрстку) */
@media (max-width: 760px) {
  #allrecords .brand-a .ba-end {
    font-size: 9px;
  }
  #allrecords footer .foot-addr,
  #allrecords footer .foot-contacts a {
    padding: 10px 8px;
    margin: -10px -8px;
  }
  #allrecords .mobile-nav div a:not([href="/skazki-raspisanie"]) {
    padding: 7px 0;
    margin: -7px 0;
  }
}

/* подпись разработчика — самый нижний ряд подвала */
#allrecords footer .made-by {
  order: 30;
  flex-basis: 100%;
  margin-top: 18px;
  text-align: center;
  font: 500 11px/1.4 Montserrat, Arial, sans-serif;
  letter-spacing: 0.4px;
  color: var(--muted);
  opacity: 0.85;
}
#allrecords footer .made-by a {
  color: var(--wine);
  text-decoration: underline;
  text-decoration-color: var(--line);
  text-underline-offset: 3px;
}
#allrecords footer .made-by a:hover {
  color: var(--orange);
}
@media (max-width: 760px) {
  #allrecords footer .made-by {
    margin-top: 6px;
  }
  #allrecords footer .made-by a {
    display: inline-block;
    padding: 10px 6px;
    margin: -10px -6px;
  }
}

/* расписание: афиша видна целиком — слева от текста, на телефоне сверху */
#allrecords .sc-grid {
  grid-template-columns: 1fr;
  max-width: 980px;
}
#allrecords .sc-card {
  flex-direction: row;
}
#allrecords .sc-img {
  flex: none;
  align-self: flex-start;
  width: 280px;
  aspect-ratio: 2 / 3;
}
#allrecords .sc-img img {
  object-position: 50% 50%;
}
#allrecords .sc-body {
  padding: 28px 32px;
}
@media (max-width: 760px) {
  #allrecords .sc-img {
    width: 200px;
  }
  #allrecords .sc-body {
    padding: 18px;
  }
}
@media (max-width: 520px) {
  #allrecords .sc-card {
    flex-direction: column;
  }
  #allrecords .sc-img {
    width: 100%;
  }
}

/* подвал на телефоне: всё по центру, в логичном порядке —
   название и подпись, линия, адрес, кнопки мессенджеров, расписание, линия, «Сайт сделан» */
@media (max-width: 760px) {
  #allrecords footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
    padding-bottom: 32px !important;
  }
  #allrecords footer .footer-brand {
    order: 1;
  }
  #allrecords footer p {
    order: 2;
    width: auto;
    margin-top: -6px;
  }
  #allrecords footer:after {
    order: 3;
    flex-basis: auto;
    align-self: stretch;
    height: 0;
    margin: 4px 0;
  }
  #allrecords footer .foot-addr {
    order: 4;
    width: auto;
    justify-content: center;
  }
  #allrecords footer .foot-contacts {
    order: 5;
    width: auto;
    justify-content: center;
    gap: 12px !important;
  }
  #allrecords footer .foot-contacts > span {
    display: none;
  }
  #allrecords footer .foot-contacts a {
    margin: 0;
    padding: 10px 20px;
    border: 1px solid var(--line);
    border-radius: 30px;
    background: #fffaf2;
  }
  #allrecords footer > a:last-child {
    order: 6;
  }
  #allrecords footer .made-by {
    order: 7;
    align-self: stretch;
    margin-top: 6px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
  }
}

/* подвал на компьютере: три колонки (о проекте · где мы · записаться) и нижняя строка */
@media (min-width: 761px) {
  #allrecords footer {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    grid-template-areas:
      "brand where contacts"
      "desc  addr  contacts"
      "desc  addr  sched"
      "line  line  line"
      "made  made  made";
    grid-template-rows: auto auto 1fr auto auto;
    column-gap: 48px;
    row-gap: 10px;
    align-items: start;
    padding-top: 44px !important;
    padding-bottom: 40px !important;
  }
  #allrecords footer .footer-brand {
    grid-area: brand;
  }
  #allrecords footer > p {
    grid-area: desc;
    font: 13px/1.55 Montserrat, Arial, sans-serif;
    color: var(--muted);
    margin: 4px 0 0;
  }
  #allrecords footer:before,
  #allrecords footer .foot-contacts:before {
    font: 600 10px/1 Montserrat, Arial, sans-serif;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--muted);
  }
  #allrecords footer:before {
    content: "Где мы";
    grid-area: where;
    padding: 9px 0 6px;
  }
  #allrecords footer .foot-addr {
    grid-area: addr;
    align-items: flex-start;
    line-height: 1.5;
    white-space: normal;
  }
  #allrecords footer .foot-addr .pin-ico {
    margin-top: 2px;
  }
  #allrecords footer .foot-contacts {
    grid-area: contacts;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0;
  }
  #allrecords footer .foot-contacts:before {
    content: "Записаться";
    flex-basis: 100%;
    padding: 9px 0 6px;
  }
  #allrecords footer .foot-contacts > span {
    display: none;
  }
  #allrecords footer .foot-contacts a {
    padding: 9px 18px;
    border: 1px solid var(--line);
    border-radius: 30px;
    background: #fffaf2;
  }
  #allrecords footer > a:last-child {
    grid-area: sched;
    margin-top: 6px;
    font-size: 17px;
  }
  #allrecords footer:after {
    grid-area: line;
    margin: 22px 0 6px;
  }
  #allrecords footer .made-by {
    grid-area: made;
    display: flex;
    justify-content: flex-end;
    gap: 0.35em;
    margin: 0;
    padding-right: 56px; /* место под круглую кнопку «наверх» */
    text-align: left;
  }
  #allrecords footer .made-by:before {
    content: "© 2026 Живые сказки";
    margin-right: auto;
  }
}
@media (min-width: 761px) and (max-width: 1100px) {
  #allrecords footer {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "brand    brand"
      "desc     desc"
      "where    contacts"
      "addr     contacts"
      "addr     sched"
      "line     line"
      "made     made";
    grid-template-rows: auto auto auto auto 1fr auto auto;
  }
  #allrecords footer > p {
    margin-bottom: 14px;
  }
}

/* ссылка «Расписание →» в подвале лишняя: шапка с кнопкой расписания всегда на экране */
#allrecords footer > a:last-child {
  display: none;
}

/* ссылка на основной сайт центра в подвале */
#allrecords footer .foot-center {
  display: inline-block;
  margin-top: 10px;
  font: 500 13px/1.4 Montserrat, Arial, sans-serif;
  color: var(--wine);
  text-decoration: underline;
  text-decoration-color: var(--line);
  text-underline-offset: 3px;
}
#allrecords footer .foot-center:hover {
  color: var(--orange);
}
@media (max-width: 760px) {
  #allrecords footer .foot-center {
    padding: 8px 6px;
    margin: 2px -6px -8px;
  }
}

/* два адреса в подвале */
#allrecords footer .foot-addrs {
  grid-area: addr;
  order: 4;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
@media (max-width: 760px) {
  #allrecords footer .foot-addrs {
    align-items: center;
    gap: 14px;
  }
  #allrecords footer .foot-addrs .foot-addr {
    padding: 6px 8px;
    margin: -6px -8px;
  }
}

/* «У каждой сказки свой способ ожить»: пятая карточка «Сочинять».
   Компьютер — 3 сверху и 2 снизу по центру, планшет — 2+2+1, телефон — столбик */
#allrecords .formats .card-write {
  transform: rotate(0.7deg);
}
@media (min-width: 1101px) {
  #allrecords .formats {
    grid-template-columns: repeat(6, 1fr);
  }
  #allrecords .formats .paper-card {
    grid-column: span 2;
  }
  #allrecords .formats .paper-card:nth-child(4) {
    grid-column: 2 / span 2;
  }
  #allrecords .formats .paper-card:nth-child(5) {
    grid-column: 4 / span 2;
  }
}
@media (min-width: 761px) and (max-width: 1100px) {
  #allrecords .formats .card-write {
    grid-column: 1 / -1;
    justify-self: center;
    width: calc(50% - 14px);
  }
}

/* афиша + описание программы в окне просмотра */
#allrecords .poster-lb .lb-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}
#allrecords .poster-lb .lb-info {
  display: none;
}
#allrecords .poster-lb.has-info .lb-wrap {
  align-items: stretch;
  width: min(1180px, calc(100vw - 150px));
  max-height: calc(100vh - 60px);
  background: #fdfaf6;
  border: 12px solid #fff8ea;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
}
#allrecords .poster-lb.has-info .lb-wrap img {
  flex: none;
  align-self: flex-start;
  max-width: 44%;
  max-height: calc(100vh - 84px);
  border: 0;
  box-shadow: none;
}
#allrecords .poster-lb.has-info .lb-info {
  display: block;
  flex: 1;
  min-width: 0;
  overflow-y: auto;
  padding: 38px 44px 34px;
  color: #5a2a26;
  font-size: 16.5px;
  line-height: 1.5;
}
#allrecords .lb-info .eyebrow {
  margin: 0 0 10px;
}
#allrecords .lb-info h2 {
  font: 400 clamp(28px, 3vw, 38px)/1.05 "Yeseva One", serif;
  letter-spacing: -0.02em;
  color: #630910;
  margin: 0 0 18px;
  text-transform: none;
}
#allrecords .lb-info h3 {
  font: 400 21px/1.2 "Yeseva One", serif;
  color: #630910;
  margin: 26px 0 10px;
  padding-top: 18px;
  border-top: 1px solid #dca45566;
}
#allrecords .lb-info p {
  margin: 0 0 12px;
}
#allrecords .lb-info .pg-lead,
#allrecords .lb-info .pg-end {
  font: italic 600 21px/1.3 "Cormorant Garamond", serif;
  color: #630910;
}
#allrecords .lb-info .pg-end {
  margin-top: 22px;
}
#allrecords .lb-info .pg-chain,
#allrecords .lb-info .pg-tags {
  font: 500 14px/1.6 Montserrat, Arial, sans-serif;
  color: #9a5a2a;
}
#allrecords .lb-info ul,
#allrecords .lb-info ol {
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
}
#allrecords .lb-info li {
  position: relative;
  padding-left: 24px;
  margin: 0 0 7px;
}
#allrecords .lb-info ul li:before {
  content: "✦";
  position: absolute;
  left: 0;
  top: 1px;
  color: #dca455;
  font-size: 13px;
}
#allrecords .lb-info ol {
  counter-reset: pg;
}
#allrecords .lb-info ol li {
  counter-increment: pg;
}
#allrecords .lb-info ol li:before {
  content: counter(pg);
  position: absolute;
  left: 0;
  top: 0;
  font: 700 14px/1.6 Montserrat, Arial, sans-serif;
  color: #ed5710;
}
#allrecords .lb-info ol b {
  color: #630910;
}
#allrecords .lb-info .lb-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid #dca45566;
}
#allrecords .lb-info .lb-cta .button {
  gap: 8px;
}
#allrecords .lb-info .lb-cta .wa-ico,
#allrecords .lb-info .lb-cta .max-ico {
  width: 18px;
  height: 18px;
}
#allrecords .lb-info .lb-cta .button .wa-ico {
  color: currentColor;
}
#allrecords .lb-info .lb-max {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: #fffaf2;
  color: #630910;
  font: 500 14px/1 Montserrat, Arial, sans-serif;
}
@media (max-width: 760px) {
  #allrecords .poster-lb.has-info .lb-wrap {
    flex-direction: column;
    justify-content: flex-start;
    width: calc(100vw - 20px);
    max-height: calc(100vh - 96px);
    margin-bottom: 64px;
    overflow-y: auto;
    border-width: 8px;
  }
  #allrecords .poster-lb.has-info .lb-wrap img {
    align-self: center;
    max-width: 100%;
    max-height: 36vh;
  }
  #allrecords .poster-lb.has-info .lb-info {
    overflow: visible;
    padding: 22px 18px 26px;
    font-size: 16px;
  }
  #allrecords .lb-info .lb-cta .button {
    width: 100%;
    justify-content: center;
  }
}
/* крестик заметен поверх светлой афиши */
#allrecords .poster-lb.has-info .lb-close {
  z-index: 3;
  background: #630910;
  border-color: #fff8ea;
  color: #fff8ea;
}

/* описание программы: сначала коротко, полный текст по кнопке */
#allrecords .lb-info .pg-meta {
  font: 500 14px/1.5 Montserrat, Arial, sans-serif;
  color: #9a5a2a;
  margin: -8px 0 18px;
}
#allrecords .lb-info .pg-points li {
  font-size: 17px;
  color: #630910;
  margin-bottom: 9px;
}
#allrecords .lb-info .lb-cta-top {
  margin-top: 20px;
  padding-top: 0;
  border-top: 0;
}
#allrecords .lb-info .pg-more {
  display: block;
  margin: 26px 0 0;
  padding: 16px 0 0;
  width: 100%;
  text-align: left;
  border: 0;
  border-top: 1px solid #dca45566;
  background: none;
  color: #630910;
  font: 600 14px/1.4 Montserrat, Arial, sans-serif;
  letter-spacing: 0.3px;
  cursor: pointer;
}
#allrecords .lb-info .pg-more span {
  color: #ed5710;
  margin-left: 4px;
}
#allrecords .lb-info .pg-more:hover {
  color: #ed5710;
}
#allrecords .lb-info .pg-full {
  margin-top: 18px;
}
#allrecords .lb-info .pg-full[hidden] {
  display: none;
}
/* перо со свитком: чуть дальше от правого и нижнего края карточки */
#allrecords .formats .story-quill {
  right: 18px;
  bottom: 16px;
}

/* программа: видно начало текста, кнопка «Читать полностью» — заметная, в рамке */
#allrecords .lb-info .pg-label {
  margin: 30px 0 12px;
  padding-top: 22px;
  border-top: 1px solid #dca45566;
  font: 600 11px/1 Montserrat, Arial, sans-serif;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #9a5a2a;
}
#allrecords .lb-info .pg-full {
  margin-top: 0;
  max-height: 170px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(#000 35%, transparent);
  mask-image: linear-gradient(#000 35%, transparent);
}
#allrecords .lb-info .pg-full.is-open {
  max-height: none;
  -webkit-mask-image: none;
  mask-image: none;
}
#allrecords .lb-info .pg-more {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  width: 100%;
  margin: 10px 0 0;
  padding: 14px 20px;
  border: 1.5px solid #630910;
  border-radius: 30px;
  background: #fffaf2;
  text-align: center;
  font: 600 15px/1.2 Montserrat, Arial, sans-serif;
  letter-spacing: 0.2px;
  color: #630910;
  transition: background 0.2s, color 0.2s;
}
#allrecords .lb-info .pg-more span {
  margin: 0;
  color: inherit;
}
#allrecords .lb-info .pg-more:hover {
  background: #630910;
  color: #fff8ea;
}

/* маски и перо — того же размера, что книги, занавес и колпак в верхних карточках */
#allrecords .formats .story-masks {
  width: 47%;
  max-width: none;
  right: 2px;
  bottom: 8px;
}
@media (min-width: 1101px) {
  #allrecords .formats .story-masks {
    right: 10px;
  }
}
@media (min-width: 761px) and (max-width: 1100px) {
  #allrecords .formats .story-masks {
    width: 150px;
  }
}
@media (max-width: 760px) {
  #allrecords .formats .story-masks {
    width: 43%;
    max-width: 170px;
    bottom: 0;
    right: 4px;
  }
}

/* отзывы: бегущая лента карточек, останавливается при наведении и касании */
#allrecords .reviews {
  padding: 70px 0 64px;
  overflow: hidden;
}
#allrecords .rv-head {
  text-align: center;
}
#allrecords .rv-head h2 {
  margin-bottom: 0;
}
#allrecords .rv-marquee {
  overflow: hidden;
  padding: 34px 0 26px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
#allrecords .rv-track {
  display: flex;
  align-items: stretch;
  gap: 32px;
  width: max-content;
  margin: 0;
  padding: 0 16px;
  list-style: none;
  animation: zs-reviews 75s linear infinite;
}
#allrecords .rv-marquee:hover .rv-track,
#allrecords .rv-marquee:active .rv-track,
#allrecords .rv-marquee:focus-within .rv-track {
  animation-play-state: paused;
}
@keyframes zs-reviews {
  to {
    transform: translateX(-50%);
  }
}
#allrecords .rv-card {
  position: relative;
  flex: none;
  width: 360px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 30px 26px 18px;
  background: #fff7e9;
  box-shadow: 2px 7px 14px #31010725;
  transform: rotate(-1deg);
}
#allrecords .rv-card:nth-child(even) {
  transform: rotate(0.8deg);
}
#allrecords .rv-card:before {
  content: "\201C";
  position: absolute;
  top: -6px;
  left: 16px;
  font: 700 76px/1 "Cormorant Garamond", Georgia, serif;
  color: #dca455;
}
#allrecords .rv-text {
  margin: 8px 0 18px;
  font-size: 16px;
  line-height: 1.5;
  color: #5a2a26;
}
#allrecords .rv-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  padding-top: 12px;
  border-top: 1px solid #dca45566;
  font: 500 13px/1.3 Montserrat, Arial, sans-serif;
}
#allrecords .rv-foot b {
  color: #630910;
  font-weight: 700;
}
#allrecords .rv-stars {
  color: #dca455;
  letter-spacing: 1px;
}
#allrecords .rv-src {
  margin-left: auto;
  color: #9a5a2a;
  text-decoration: underline;
  text-decoration-color: #dca45566;
  text-underline-offset: 3px;
}
#allrecords .rv-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}
@media (max-width: 760px) {
  #allrecords .reviews {
    padding: 50px 0 44px;
  }
  #allrecords .rv-card {
    width: 280px;
    padding: 26px 20px 16px;
  }
  #allrecords .rv-text {
    font-size: 15px;
  }
  #allrecords .rv-links .button {
    width: 100%;
    justify-content: center;
  }
}
@media (prefers-reduced-motion: reduce) {
  #allrecords .rv-track {
    animation: none;
  }
  #allrecords .rv-marquee {
    overflow-x: auto;
  }
}

/* ленты можно тянуть мышкой и пальцем */
#allrecords .posters-marquee,
#allrecords .rv-marquee {
  cursor: grab;
  -webkit-user-select: none;
  user-select: none;
}
#allrecords .posters-marquee.is-dragging,
#allrecords .rv-marquee.is-dragging {
  cursor: grabbing;
}
#allrecords .posters-marquee img,
#allrecords .rv-marquee img {
  -webkit-user-drag: none;
}
