/* stp:base */
@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wdth,wght@12..96,75..100,400&family=Inter:wght@400&family=Playfair+Display+SC&display=swap');

:root {
  --accent: #ceab83;
  --txt1: #4a525b;
  --txt2: #717b87;
  --bg: #fffdf1;
  --beige: #e8dfd3;
  --brown: #816b52;
  --navy: #374158;
  --header-top: #f2e9dd;
  --font-body: 'Bricolage Grotesque', sans-serif;
  --font-head: 'Playfair Display SC', serif;
  --font-inter: 'Inter', sans-serif;
  --fs-12: clamp(12px, 1.2rem, 1.2rem);
  --fs-14: clamp(14px, 1.4rem, 1.4rem);
  --fs-16: clamp(14px, 1.6rem, 1.6rem);
  --header-h: 5.8rem;
}

html { font-size: calc(100vw / 1440 * 10); overflow-x: hidden; overflow-y: scroll; font-family: var(--font-body); font-variation-settings: 'opsz' 14, 'wdth' 100; font-weight: 400; line-height: 1.5; color: var(--txt1); background: var(--bg); }
@media (max-width: 1024px) { html { font-size: calc(100vw / 1024 * 10); } }
@media (max-width: 640px) { html { font-size: calc(100vw / 375 * 10); } }

html.menu-lock, html.menu-lock body { overflow: hidden; }

*, *::before, *::after { box-sizing: border-box; letter-spacing: -0.04em; }
body { margin: 0; background: var(--bg); }
main { display: block; }
h1, h2, h3, h4, p, ul { margin: 0; padding: 0; font-weight: inherit; }
ul { list-style: none; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; cursor: pointer; }

#preloader { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: center; justify-content: center; background: var(--bg); }

.header { position: fixed; top: 0; left: 0; width: 100%; z-index: 100; display: flex; align-items: center; justify-content: space-between; height: var(--header-h); padding: 0 8rem; background: linear-gradient(180deg, var(--header-top), var(--bg)); -webkit-backdrop-filter: blur(1rem); backdrop-filter: blur(1rem); transition: box-shadow 0.3s ease-in-out; }
.header.scrolled { box-shadow: 0 0.2rem 1.2rem rgba(74, 82, 91, 0.15); }

.burger-btn { display: none; position: relative; width: 2.4rem; height: 2.4rem; padding: 0; background: transparent; border: 0; z-index: 101; }
.burger-btn span { position: absolute; left: 50%; top: 50%; width: 1.1rem; height: 0.1rem; background: var(--txt1); transform: translate(-50%, -50%); transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out; }
.burger-btn span:nth-child(1) { transform: translate(-50%, calc(-50% - 0.35rem)); }
.burger-btn span:nth-child(3) { transform: translate(-50%, calc(-50% + 0.35rem)); }
.burger-btn.act span:nth-child(1) { transform: translate(-50%, -50%) rotate(45deg); }
.burger-btn.act span:nth-child(2) { opacity: 0; }
.burger-btn.act span:nth-child(3) { transform: translate(-50%, -50%) rotate(-45deg); }

#mobile-menu { position: fixed; top: var(--header-h); left: 0; width: 100%; z-index: 99; opacity: 0; pointer-events: none; transition: opacity 0.3s ease-in-out; }
#mobile-menu.opened { opacity: 1; pointer-events: auto; }

.container { width: 100%; max-width: 128rem; margin: 0 auto; }

.sep { display: flex; align-items: center; gap: 4.8rem; padding: 8rem 0 2.4rem; }
.sep__title { font-family: var(--font-head); font-size: 4.8rem; line-height: 1.5; letter-spacing: 0; text-transform: uppercase; white-space: nowrap; }
.sep__deco { flex: 1; display: flex; align-items: center; gap: 1.2rem; }
.sep--center { justify-content: center; gap: 2.4rem; }

.star { flex: none; width: 2.4rem; height: 2.4rem; background: url(../img/star-gold.svg) center / contain no-repeat; }
.star--gray { background-image: url(../img/star-gray.svg); }
.rule { flex: 1; height: 0.1rem; background: linear-gradient(90deg, var(--accent), rgba(206, 171, 131, 0)); }
.rule--l { background: linear-gradient(270deg, var(--accent), rgba(206, 171, 131, 0)); }
.rule--gray { background: linear-gradient(90deg, var(--txt2), rgba(206, 171, 131, 0)); }

.sub { font-family: var(--font-head); font-size: 3.2rem; line-height: 1.5; letter-spacing: 0.08em; color: var(--brown); text-transform: capitalize; }

@keyframes store-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-1rem); } }

@media (max-width: 1024px) {
  .header { padding: 0 3rem; }
  .container { padding: 0 4rem; }
  .sep { gap: 3.2rem; }
  .sep--center { gap: 2.4rem; }
}

@media (max-width: 640px) {
  :root { --header-h: 4.1rem; }
  .header { padding: 0 1.6rem; }
  .burger-btn { display: block; }
  .container { padding: 0 2.1rem; }
  .sep { gap: 0; padding: 8rem 1.6rem 2.4rem; margin: 0 -2.1rem; }
  .sep__title { flex: none; width: 17.2rem; font-size: 3.2rem; white-space: normal; }
  .sep--center { justify-content: flex-start; gap: 0; }
  .sep--center .sep__deco--l { display: none; }
  .sep__deco { flex: 1; }
  .sub { font-size: 2.4rem; }
}
/* /stp:base */
/* stp:header */
.header__logo { display: block; width: 3.2rem; height: 3.3rem; transition: opacity 0.3s ease-in-out; }
.header__logo:hover { opacity: 0.7; }
.header__logo img { width: 100%; height: 100%; }
.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav-link { padding: 0.8rem 1.2rem; font-size: var(--fs-12); line-height: 1.5; white-space: nowrap; opacity: 0.5; transition: opacity 0.3s ease-in-out, color 0.3s ease-in-out; }
.nav-link.active { opacity: 1; }
.nav-link:hover { opacity: 1; color: var(--brown); }

@media (max-width: 1024px) {
  .nav { gap: 0; }
  .nav-link { padding: 0.8rem 0.6rem; }
}

@media (max-width: 640px) {
  .header__logo { width: 2.4rem; height: 2.5rem; }
  .nav { display: none; }
}
/* /stp:header */
/* stp:menu */
@media (max-width: 640px) {
  .mobile-nav { display: flex; flex-direction: column; align-items: center; gap: 3.4rem; height: calc(100vh - var(--header-h)); padding: 3.2rem 1.6rem; overflow-y: auto; background: var(--bg); border-bottom: 0.1rem solid var(--accent); }
  .mobile-nav .nav-link { display: flex; align-items: center; justify-content: center; flex: none; width: 20rem; height: 4rem; padding: 0.8rem 0; font-size: var(--fs-16); }
}
/* /stp:menu */
/* stp:hero */
.hero { position: relative; overflow: hidden; padding: 11.4rem 0 7rem 8rem; background: var(--bg); }
.hero__grid { display: grid; grid-template-columns: 41.1rem 99.4rem; grid-template-areas: "top pic" "text pic"; grid-template-rows: auto auto; column-gap: 2.4rem; row-gap: 4.8rem; align-content: start; }
.hero__top { grid-area: top; display: flex; flex-direction: column; align-items: center; gap: 0.8rem; }
.hero__logo { width: 41.1rem; height: auto; }
.hero__tag { width: 100%; font-size: var(--fs-12); line-height: normal; letter-spacing: 0.24em; text-align: center; text-transform: uppercase; color: var(--accent); }
.hero__pic { grid-area: pic; width: 99.4rem; height: 67.2rem; border: 0.1rem solid var(--accent); border-radius: 2.4rem; overflow: hidden; }
.hero__pic img { width: 100%; height: 100%; max-width: none; object-fit: cover; }
.hero__text { grid-area: text; display: flex; flex-direction: column; gap: 2.4rem; }
.hero__title { font-family: var(--font-head); font-size: 8.8rem; line-height: 1; letter-spacing: 0; }
.hero__deco { display: flex; align-items: center; gap: 1.2rem; }
.hero__desc { width: 41.3rem; font-size: var(--fs-16); color: var(--txt2); }

@media (max-width: 1024px) {
  .hero { padding: 9rem 4rem 6rem; }
  .hero__grid { grid-template-columns: 100%; grid-template-areas: "top" "pic" "text"; row-gap: 4rem; }
  .hero__top { width: 41.1rem; justify-self: center; }
  .hero__pic { width: 100%; height: auto; aspect-ratio: 994 / 672; }
  .hero__text { width: 100%; max-width: 60rem; margin: 0 auto; }
  .hero__title { font-size: 8rem; }
  .hero__desc { width: auto; }
}

@media (max-width: 640px) {
  .hero { padding: 4.1rem 0 6.4rem; }
  .hero__grid { row-gap: 0; }
  .hero__top { width: 33.3rem; gap: 0.8rem; }
  .hero__logo { width: 30.3rem; }
  .hero__pic { width: 34.3rem; height: 23.2rem; aspect-ratio: auto; margin: 2.4rem 0 0 1.8rem; }
  .hero__text { width: 30rem; max-width: none; margin: 1.6rem auto 0; }
  .hero__title { font-size: 6.4rem; }
  .hero__desc { width: 25rem; margin: 0 auto; text-align: center; }
}
/* /stp:hero */
/* stp:about */
.about { background: var(--beige); padding-bottom: 8rem; }
.about__content { display: flex; align-items: center; gap: 4.8rem; }
.about__descr { display: flex; flex: none; flex-direction: column; gap: 4.8rem; width: 76.1rem; }
.about__text { font-size: var(--fs-16); }
.about__text p + p { margin-top: 2.4rem; }
.about__pic { display: block; flex: none; width: 47.1rem; height: 43.2rem; }
.about__pic img { width: 100%; height: 100%; border: 0.1rem solid var(--accent); border-radius: 2.4rem; object-fit: cover; }

@media (max-width: 1024px) {
  .about__content { gap: 4rem; }
  .about__descr { flex: 1; width: auto; min-width: 0; gap: 3.2rem; }
  .about__pic { width: 38rem; height: 34.9rem; }
}

@media (max-width: 640px) {
  .about { padding-bottom: 8rem; }
  .about__content { flex-direction: column; align-items: stretch; gap: 4.8rem; margin-top: 5.6rem; }
  .about__descr { flex: none; width: auto; gap: 4.8rem; }
  .about__pic { width: 33.3rem; height: 42.9rem; }
}
/* /stp:about */
/* stp:how-to-play */
.howto { background: var(--bg); padding-bottom: 3.2rem; }
.howto__sub { margin-top: 5.6rem; text-align: center; }
.howto__cards { display: flex; flex-direction: column; gap: 4.8rem; margin-top: 4.4rem; }
.howto__row { display: grid; gap: 2.4rem; }
.howto__row--3 { grid-template-columns: 337fr 559fr 337fr; }
.howto__row--2 { grid-template-columns: 1fr 1fr; }
.card { display: flex; flex-direction: column; align-items: center; gap: 2.4rem; text-align: center; }
.card__img { width: 100%; border: 0.1rem solid var(--accent); border-radius: 2.4rem; object-fit: cover; }
.card__img--a { aspect-ratio: 336 / 410; }
.card__img--b { aspect-ratio: 558 / 410; }
.card__img--c { aspect-ratio: 628 / 404; }
.card__txt { display: flex; flex-direction: column; gap: 1.6rem; width: 100%; }
.card__title { font-size: 2.4rem; line-height: 1.5; letter-spacing: 0; }
.card__desc { font-size: var(--fs-12); color: var(--txt2); }

@media (max-width: 1024px) {
  .howto__cards { gap: 3.2rem; }
  .card__title { font-size: 2rem; }
}

@media (max-width: 640px) {
  .howto { padding-bottom: 8rem; }
  .howto__sub { margin-top: 5.6rem; text-align: left; }
  .howto__cards { gap: 2.4rem; margin-top: 5.6rem; }
  .howto__row--3, .howto__row--2 { grid-template-columns: 1fr; }
  .card__img--a { aspect-ratio: 333 / 406; }
  .card__img--b { aspect-ratio: 333 / 244; }
  .card__img--c { aspect-ratio: 333 / 214; }
  .card__title { font-size: 2.4rem; }
}
/* /stp:how-to-play */
/* stp:features */
.features { background: var(--beige); padding-bottom: 9.6rem; }
.features__content { display: flex; align-items: center; justify-content: space-between; gap: 6.4rem; margin-top: 5.6rem; }
.features__sub { flex: none; width: 32rem; }
.features__cards { display: flex; flex: none; gap: 2.4rem; width: 89.6rem; }
.feat { display: flex; flex: none; flex-direction: column; align-items: center; gap: 2.4rem; width: 16rem; text-align: center; }
.feat__icon { display: block; width: 10rem; height: 10rem; }
.feat__icon img { width: 100%; height: 100%; }
.feat__txt { display: flex; flex-direction: column; gap: 1.6rem; }
.feat__title { font-size: var(--fs-16); line-height: 1.5; letter-spacing: 0; }
.feat__desc { font-size: var(--fs-12); color: var(--txt2); }

@media (max-width: 1024px) {
  .features__content { flex-direction: column; align-items: flex-start; gap: 4.8rem; }
  .features__sub { width: 100%; }
  .features__cards { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.6rem; width: 100%; }
  .feat { width: auto; }
}

@media (max-width: 640px) {
  .features { padding-bottom: 8rem; }
  .features__content { align-items: stretch; gap: 5.6rem; margin: 5.6rem -1rem 0 0; }
  .features__sub { width: auto; }
  .features__cards { display: flex; flex-direction: column; gap: 2.4rem; }
  .feat { flex-direction: row; gap: 1.2rem; width: auto; text-align: left; }
  .feat__icon { flex: none; width: 4.8rem; height: 4.8rem; }
  .feat__txt { flex: 1; }
  .br-d { display: none; }
}
/* /stp:features */
/* stp:reviews */
.reviews { position: relative; overflow: hidden; background: var(--bg); padding-bottom: 22.1rem; }
.reviews::before { content: ''; position: absolute; inset: 0; opacity: 0.9; background: linear-gradient(180deg, var(--bg), rgba(255, 253, 241, 0)), url(../img/reviews-bg.webp) center / cover no-repeat; }
.reviews .container { position: relative; }
.reviews__sub { margin-top: 5.6rem; text-align: center; }
.revs { display: flex; flex-direction: column; align-items: center; gap: 2.4rem; width: 94.8rem; margin: 5.6rem auto 0; }
.revs__row { display: flex; gap: 4.8rem; }
.rev { display: flex; flex-direction: column; gap: 1.6rem; padding: 2.4rem; background: var(--txt2); border-radius: 1.6rem; }
.revs__row--3 .rev { width: 28.4rem; }
.revs__row--2 .rev { width: 44.8rem; }
.rev__head { display: flex; align-items: center; justify-content: space-between; gap: 5.5rem; }
.rev__name { font-size: var(--fs-14); line-height: 1.3; color: var(--beige); }
.rev__stars { display: flex; }
.rev__stars img { width: 1.4rem; height: 1.4rem; }
.rev__text { font-size: var(--fs-16); color: var(--bg); }

@media (max-width: 1024px) {
  .revs { width: 100%; }
  .revs__row { gap: 2.4rem; width: 100%; }
  .revs__row--3 .rev, .revs__row--2 .rev { flex: 1 1 0; width: auto; min-width: 0; }
}

@media (max-width: 640px) {
  .reviews { padding-bottom: 30.1rem; }
  .reviews::before { top: auto; height: 47.5rem; background: linear-gradient(180deg, var(--bg), rgba(255, 253, 241, 0)), url(../img/reviews-bg-m.webp) center / cover no-repeat; }
  .reviews__sub { width: 20.3rem; margin: 5.6rem 0 0 -0.9rem; text-align: left; }
  .revs { align-items: stretch; margin-top: 5.6rem; }
  .revs__row { flex-direction: column; gap: 2.4rem; }
  .revs__row--3 .rev, .revs__row--2 .rev { flex: none; }
}
/* /stp:reviews */
/* stp:why-play */
.why { background: var(--beige); padding-bottom: 8rem; }
.why__content { display: flex; align-items: center; justify-content: space-between; gap: 4.8rem; }
.why__descr { display: flex; flex: none; flex-direction: column; gap: 4.8rem; width: 52.8rem; }
.why__text { font-size: var(--fs-16); }
.why__text p + p { margin-top: 2.4rem; }
.why__pic { flex: none; width: 64.8rem; height: 43.2rem; border-radius: 2.4rem; object-fit: cover; }

@media (max-width: 1024px) {
  .why__content { gap: 4rem; }
  .why__descr { flex: 1; width: auto; min-width: 0; gap: 3.2rem; }
  .why__pic { width: 45rem; height: 30rem; }
}

@media (max-width: 640px) {
  .why__content { flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 5.6rem; margin-top: 5.6rem; }
  .why__descr { flex: none; width: auto; gap: 4.8rem; }
  .why__pic { width: 33.3rem; height: 22.2rem; }
}
/* /stp:why-play */
/* stp:faq */
.faq { background: var(--bg); padding-bottom: 8rem; }
.faq__sub { margin-top: 5.6rem; text-align: center; }
.faq__list { display: flex; flex-direction: column; gap: 3.2rem; width: 79rem; margin: 5.6rem auto 0; }
.faq__item { padding: 0 1.2rem; }
.faq__q { display: flex; align-items: center; gap: 2.4rem; padding: 0.8rem 0 0.7rem; font-size: 2.4rem; line-height: 1.5; color: var(--txt2); list-style: none; cursor: pointer; border-bottom: 0.1rem solid rgba(206, 171, 131, 0.4); transition: color 0.3s ease-in-out; }
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after { content: ''; flex: none; width: 2.4rem; height: 2.4rem; background: url(../img/chevron.svg) center / contain no-repeat; transition: transform 0.3s ease-in-out; }
.faq__q:hover { color: var(--txt1); }
.faq__q span { flex: 1; }
.faq__item[open] .faq__q::after { transform: rotate(180deg); }
.faq__a { margin-top: 1.6rem; font-size: var(--fs-16); color: var(--navy); }

@media (max-width: 1024px) {
  .faq__list { width: 100%; }
}

@media (max-width: 640px) {
  .faq__sub { margin-top: 5.6rem; text-align: center; }
  .faq__list { margin: 5.6rem -0.5rem 0; width: auto; }
  .sep--faq .sep__title { width: 8rem; }
}
/* /stp:faq */
/* stp:contact */
.contact { position: relative; overflow: hidden; background: var(--bg); padding-bottom: 59.7rem; }
.contact::before { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 65.1rem; background: linear-gradient(180deg, var(--bg) 0%, rgba(255, 253, 241, 0) 78.6%), url(../img/contact.webp) center / cover no-repeat; }
.contact .container { position: relative; }
.sep--contact .sep__title { font-family: var(--font-inter); letter-spacing: -0.04em; color: var(--txt2); }
.contact__descr { display: flex; flex-direction: column; align-items: center; gap: 4.8rem; width: 51.2rem; margin: 5.6rem auto 0; text-align: center; }
.mail { display: flex; align-items: center; gap: 2.4rem; font-size: 2.4rem; line-height: 1.5; transition: color 0.3s ease-in-out; }
.mail img { flex: none; width: 3.2rem; height: 3.2rem; }
.mail:hover { color: var(--brown); }

@media (max-width: 1024px) {
  .contact__descr { max-width: 100%; }
}

@media (max-width: 640px) {
  .contact { padding-bottom: 28.2rem; }
  .contact::before { height: 25rem; background: linear-gradient(180deg, var(--bg) 0%, rgba(255, 253, 241, 0) 78.6%), url(../img/contact-m.webp) center / cover no-repeat; }
  .contact__descr { width: 33.3rem; margin-top: 8rem; }
}
/* /stp:contact */
/* stp:footer */
.footer { background: var(--bg); border-top: 0.1rem solid var(--accent); padding: 7.9rem 0 8rem; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; }
.footer__copy { font-size: var(--fs-16); white-space: nowrap; }
.footer__logo { display: block; flex: none; width: 22.7rem; transition: opacity 0.3s ease-in-out; }
.footer__logo:hover { opacity: 0.7; }
.footer__logo img { width: 100%; height: auto; }
.footer__links { display: flex; align-items: center; justify-content: space-between; flex: none; width: 33.1rem; padding: 0 1.6rem; font-size: var(--fs-16); white-space: nowrap; }
.footer__links a { text-decoration: underline; text-underline-position: from-font; transition: color 0.3s ease-in-out; }
.footer__links a:hover { color: var(--brown); }

@media (max-width: 1024px) {
  .footer__inner { flex-direction: column; gap: 3.2rem; }
  .footer__logo { order: 1; }
  .footer__links { order: 2; gap: 6.4rem; width: auto; padding: 0; }
  .footer__copy { order: 3; white-space: normal; text-align: center; }
}

@media (max-width: 640px) {
  .footer__copy { max-width: 33.1rem; }
}
/* /stp:footer */
/* stp:legal */
.legal-body { --header-h: 9.9rem; min-height: 100vh; display: flex; flex-direction: column; }
.legal-main { flex: 1 0 auto; padding-top: var(--header-h); }
.header--back { align-items: flex-start; justify-content: flex-start; padding: 5.6rem 12rem 0; background: var(--bg); }
.back-link { display: flex; align-items: center; gap: 0.8rem; font-size: clamp(14px, 1.8rem, 1.8rem); line-height: 1.5; color: var(--txt2); transition: color 0.3s ease-in-out; }
.back-link:hover { color: var(--brown); }
.back-link__icon { position: relative; flex: none; width: 2.4rem; height: 2.4rem; }
.back-link__icon::before { content: ''; position: absolute; left: 50%; top: 50%; width: 0.8rem; height: 0.8rem; border-left: 0.1rem solid currentColor; border-bottom: 0.1rem solid currentColor; transform: translate(-30%, -50%) rotate(45deg); }

.legal-page { padding: 8rem 0; }
.legal-content { width: 100%; max-width: 99.5rem; margin: 0 auto; font-size: var(--fs-14); color: var(--txt2); }
.legal-content h1 { max-width: none; margin: 0 0 5.6rem; font-family: var(--font-head); font-size: 5.6rem; line-height: 1.3; letter-spacing: 0; text-align: center; text-transform: capitalize; }
.legal-content h2 { margin: 3.2rem 0 1.6rem; font-size: 2.4rem; line-height: 1.5; text-transform: uppercase; }
.legal-content h3, .legal-content h4 { margin: 2.4rem 0 1.6rem; font-size: 1.8rem; line-height: 1.5; }
.legal-content p, .legal-content ul, .legal-content ol { margin: 0 0 1.6rem; }
.legal-content ul { list-style: disc; padding-left: 2.4rem; }
.legal-content ol { list-style: decimal; padding-left: 2.4rem; }
.legal-content li { margin: 0; }
.legal-content strong { font-weight: 700; }
.legal-content em { font-style: italic; }
.legal-content u { text-decoration: underline; }
.legal-content a { text-decoration: underline; transition: color 0.3s ease-in-out; }
.legal-content a:hover { color: var(--brown); }

@media (max-width: 1024px) {
  .header--back { padding: 5.6rem 4rem 0; }
  .legal-content h1 { font-size: 4.8rem; }
}

@media (max-width: 640px) {
  .legal-body { --header-h: 5.6rem; }
  .header--back { padding: 2.3rem 1.6rem 0; }
  .legal-page { padding: 6.4rem 1.6rem 8rem; }
  .legal-content h1 { font-size: 4rem; }
}
/* /stp:legal */
/* stp:title-anim */
.ta-w { display: inline-block; white-space: nowrap; letter-spacing: inherit; }
.ta-l { display: inline-block; letter-spacing: inherit; }
.hero__title { --ta-spread: 1.6rem; }
.sep__title { --ta-spread: 0.9rem; }

.anim-on .hero__title .ta-l { animation: ta-converge 1.2s cubic-bezier(0.22, 1, 0.36, 1) calc(0.85s + var(--w) * 0.22s + var(--a) * 0.05s) both, ta-gleam 0.9s ease-in-out calc(2.3s + var(--i) * 0.04s); }
.anim-on .hero__deco .star { animation: ta-star 0.9s cubic-bezier(0.34, 1.56, 0.64, 1) 1.9s both; }
.anim-on .hero__deco .rule { transform-origin: left center; animation: ta-draw 1.3s cubic-bezier(0.65, 0, 0.35, 1) 2.1s both; }
.anim-on .hero__deco .rule--l { transform-origin: right center; }

.anim-on .sep__title .ta-l { opacity: 0; }
.anim-on .sep__title.is-in .ta-l { opacity: 1; animation: ta-converge 0.9s cubic-bezier(0.22, 1, 0.36, 1) calc(var(--w) * 0.12s + var(--a) * 0.04s) both; }
.anim-on .sep .star { opacity: 0; transform: scale(0); }
.anim-on .sep.is-in .star { opacity: 1; transform: none; animation: ta-star 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 0.25s both; }
.anim-on .sep .rule { transform: scaleX(0); transform-origin: left center; }
.anim-on .sep .rule--l { transform-origin: right center; }
.anim-on .sep.is-in .rule { transform: none; animation: ta-draw 1.2s cubic-bezier(0.65, 0, 0.35, 1) 0.4s both; }

@keyframes ta-converge {
  0% { opacity: 0; color: var(--accent); filter: blur(0.8rem); transform: translateX(calc(var(--d) * var(--ta-spread))) scale(1.12); }
  55% { opacity: 1; color: var(--accent); filter: blur(0); }
}
@keyframes ta-gleam {
  50% { color: var(--accent); filter: drop-shadow(0 0 0.6rem rgba(206, 171, 131, 0.75)); }
}
@keyframes ta-star {
  0% { opacity: 0; transform: rotate(-120deg) scale(0); }
}
@keyframes ta-draw {
  0% { transform: scaleX(0); }
}

@media (max-width: 640px) {
  .hero__title { --ta-spread: 0.9rem; }
  .sep__title { --ta-spread: 0.5rem; }
  .anim-on .hero__title .ta-l { animation-duration: 1s, 0.8s; }
  .anim-on .sep__title.is-in .ta-l { animation-duration: 0.75s; }
}
/* /stp:title-anim */
