/* ==========================================================================
   А небо такое чистое: Plus! — стили сайта
   ========================================================================== */

@font-face {
  font-family: "Riffic";
  src: url("fonts/riffic.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Mazzard";
  src: url("fonts/mazzard.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  /* небо */
  --sky-deep: #1d63c4;
  --sky: #3a9bec;
  --sky-light: #9ed8ff;
  --horizon: #ffe7c2;
  /* акценты из логотипа и формы */
  --orange: #ff8a1f;
  --orange-dark: #e5650a;
  --sun: #ffc93c;
  --red: #d9283f;
  --pink: #ff5fa2;
  /* текст и фон */
  --ink: #142a52;
  --ink-soft: #4a5f86;
  --paper: #fffaf1;
  --paper-2: #eef7ff;
  --white: #fff;
  --line: rgba(20, 42, 82, .12);
  /* персонажи */
  --slavya: #f0a800;
  --olga: #b8453a;
  --alisa: #ff6a13;
  --sasha: #2f74d0;

  --radius: 22px;
  --shadow: 0 14px 40px rgba(20, 42, 82, .14);
  --shadow-sm: 0 6px 18px rgba(20, 42, 82, .12);
  --head: "Riffic", "Arial Rounded MT Bold", system-ui, sans-serif;
  --body: "Mazzard", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --header-h: 72px;
}

/* ---------- база ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); overscroll-behavior-y: none; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--head); font-weight: 700; line-height: 1.12; margin: 0; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.container { width: min(1180px, 100% - 32px); margin-inline: auto; }

/* ---------- кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--head); font-size: 1.05rem; line-height: 1;
  padding: 16px 28px; border-radius: 999px; border: 0; cursor: pointer;
  text-decoration: none; white-space: nowrap;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-sm { padding: 11px 20px; font-size: .95rem; }
.btn-primary {
  color: #fff;
  background: linear-gradient(180deg, #ffa13d, var(--orange) 55%, var(--orange-dark));
  box-shadow: 0 5px 0 #c2510a, 0 12px 24px rgba(229, 101, 10, .35);
}
.btn-primary:hover { box-shadow: 0 7px 0 #c2510a, 0 16px 30px rgba(229, 101, 10, .4); }
.btn-primary:active { box-shadow: 0 2px 0 #c2510a, 0 6px 14px rgba(229, 101, 10, .3); }
.btn-ghost { color: #fff; background: rgba(255, 255, 255, .16); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .85); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255, 255, 255, .28); }
.btn-dark { color: #fff; background: var(--ink); box-shadow: 0 5px 0 #0a1730; }
.btn-dark:hover { background: #1d3a6e; }
.btn-ghost-dark { color: var(--ink); background: transparent; box-shadow: inset 0 0 0 2px var(--ink); }
.btn-ghost-dark:hover { background: var(--ink); color: #fff; }

/* ---------- шапка ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  transition: background-color .3s, box-shadow .3s, backdrop-filter .3s;
}
.site-header.is-solid { background: rgba(255, 250, 241, .88); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line), 0 8px 24px rgba(20, 42, 82, .08); }
.header-inner { height: 100%; width: min(1280px, 100% - 32px); margin-inline: auto; display: flex; align-items: center; gap: 24px; }
.header-logo { display: flex; align-items: center; gap: 8px; flex: none; text-decoration: none; font-family: var(--head); color: #fff; font-size: 1.25rem; line-height: 1; white-space: nowrap; transition: color .3s; }
.wordmark { text-shadow: 0 2px 0 rgba(20, 42, 82, .25); }
.site-header.is-solid .wordmark, .site-header.menu-open .wordmark { text-shadow: none; }
.plus-pill {
  font-size: .8em; color: #fff; background: var(--pink); padding: 5px 10px 6px; border-radius: 999px;
  box-shadow: 0 3px 0 #c93d7e; transform: rotate(-4deg);
}
.header-nav { display: flex; gap: 4px; margin-left: auto; }
.header-nav a { color: #fff; text-decoration: none; font-weight: 600; font-size: .98rem; padding: 8px 12px; border-radius: 999px; transition: background-color .2s, color .3s; }
.header-nav a:hover { background: rgba(255, 255, 255, .2); }
.site-header.is-solid .header-logo, .site-header.is-solid .header-nav a { color: var(--ink); }
.site-header.is-solid .header-nav a:hover { background: var(--paper-2); }
.burger { display: none; }

/* ---------- первый экран ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: max(640px, 100svh);
  padding-top: var(--header-h);
  color: #fff;
  background: linear-gradient(180deg, var(--sky-deep) 0%, var(--sky) 42%, var(--sky-light) 78%, var(--horizon) 100%);
}
.sky { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.sun {
  position: absolute; right: 8%; top: 12%; width: 340px; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 246, 201, .95) 0 18%, rgba(255, 233, 150, .45) 32%, rgba(255, 233, 150, 0) 68%);
}
.cloud {
  position: absolute; left: 0; height: 60px; border-radius: 999px; background: #fff; opacity: .9;
  filter: drop-shadow(0 10px 18px rgba(29, 99, 196, .18));
  animation: drift linear infinite;
}
.cloud::before, .cloud::after { content: ""; position: absolute; background: #fff; border-radius: 50%; }
.cloud::before { width: 46%; aspect-ratio: 1; left: 14%; bottom: 30%; }
.cloud::after { width: 32%; aspect-ratio: 1; right: 16%; bottom: 40%; }
.c1 { width: 240px; top: 18%; animation-duration: 95s; animation-delay: -20s; }
.c2 { width: 160px; top: 34%; opacity: .7; animation-duration: 120s; animation-delay: -70s; }
.c3 { width: 300px; top: 58%; opacity: .55; animation-duration: 150s; animation-delay: -40s; }
.c4 { width: 120px; top: 10%; opacity: .6; animation-duration: 80s; animation-delay: -60s; }
.c5 { width: 200px; top: 72%; opacity: .5; animation-duration: 110s; animation-delay: -5s; }
@keyframes drift { from { transform: translateX(-340px); } to { transform: translateX(calc(100vw + 40px)); } }

.hero-inner {
  width: min(1280px, 100% - 32px); margin-inline: auto;
  min-height: calc(max(640px, 100svh) - var(--header-h));
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: center; gap: 24px;
}
.hero-text { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; gap: 22px; padding-bottom: 90px; }
.hero-logo img { width: clamp(240px, 30vw, 420px); filter: drop-shadow(0 18px 30px rgba(10, 40, 100, .35)); animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-10px) rotate(-1deg); } }
.hero-tagline { font-family: var(--head); font-size: clamp(1.4rem, 2.4vw, 2.1rem); line-height: 1.2; text-shadow: 0 3px 0 rgba(20, 42, 82, .25), 0 8px 24px rgba(20, 42, 82, .25); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-soon { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; font-weight: 600; font-size: .95rem; background: rgba(20, 42, 82, .22); padding: 8px 10px 8px 18px; border-radius: 999px; backdrop-filter: blur(6px); }
.platforms { display: flex; gap: 6px; }
.platforms li { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .15); }
.platforms img { width: 26px; height: 26px; }

.hero-girls { position: relative; align-self: end; display: flex; justify-content: center; align-items: flex-end; height: 100%; }
/* ширина считается от колонки, чтобы все четверо помещались; высота ограничена экраном (пропорция арта 724:1500) */
.hero-girls .g {
  --w: 56%;
  width: min(var(--w), calc((100svh - var(--header-h)) * .6));
  height: auto; flex: none; margin-inline: -15%;
  filter: drop-shadow(0 18px 24px rgba(20, 42, 82, .25));
  transform-origin: bottom center;
  margin-bottom: -16%; /* ноги уходят за облака внизу экрана */
}
.hero-girls .g-alisa { z-index: 1; --w: 49%; }
.hero-girls .g-slavya { z-index: 3; --w: 54%; }
.hero-girls .g-sasha { z-index: 2; --w: 51%; margin-left: -3%; } /* меньше заходит за Славю, чтобы лицо было видно */
.hero-girls .g-olga { z-index: 1; --w: 49%; }
.js .hero-girls .g { opacity: 0; transform: translateY(40px); animation: rise 1s var(--ease) forwards; }
.js .g-alisa { animation-delay: .15s !important; }
.js .g-slavya { animation-delay: .3s !important; }
.js .g-sasha { animation-delay: .45s !important; }
.js .g-olga { animation-delay: .6s !important; }
@keyframes rise { to { opacity: 1; transform: none; } }

.hero-edge { position: absolute; left: 0; bottom: -1px; width: 100%; height: clamp(50px, 8vw, 120px); fill: var(--paper); z-index: 3; }

/* ---------- секции ---------- */
.section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.eyebrow { display: inline-block; font-family: var(--head); font-size: .95rem; color: var(--red); background: rgba(217, 40, 63, .09); padding: 6px 14px; border-radius: 999px; margin-bottom: 14px; }
.section-title { font-size: clamp(2rem, 4.2vw, 3.2rem); color: var(--ink); max-width: 20ch; }
.section-lead { color: var(--ink-soft); font-size: 1.1rem; margin-top: 14px; max-width: 60ch; }

/* ---------- что нового ---------- */
.feature-grid { margin-top: 44px; display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.feature { grid-column: span 2; background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.feature:nth-child(4), .feature:nth-child(5) { grid-column: span 3; }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature h3 { font-size: 1.35rem; margin: 10px 0 10px; }
.feature p { color: var(--ink-soft); font-size: 1rem; }
/* иконки-рисунки: мягкое пятно неровной формы + картинка с тёмной обводкой */
.feature-icon { position: relative; width: 84px; height: 84px; display: grid; place-items: center; }
.feature-icon::before {
  content: ""; position: absolute; inset: 6px;
  background: var(--blob, #e6f3ff);
  border-radius: 46% 54% 58% 42% / 52% 44% 56% 48%;
  transform: rotate(-8deg);
}
.feature-icon svg {
  position: relative; width: 70px; height: 70px; overflow: visible;
  fill: none; stroke: var(--ink); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round;
  transition: transform .5s var(--ease);
}
.feature-icon text { font-family: var(--head); font-size: 11px; fill: #fff; stroke: none; }
.feature:hover .feature-icon svg { animation: wiggle .6s var(--ease); }
@keyframes wiggle { 30% { transform: rotate(-8deg) scale(1.06); } 65% { transform: rotate(5deg) scale(1.06); } }
.fi-text { --blob: #ddefff; }
.fi-visual { --blob: #fff0d4; }
.fi-stories { --blob: #ffe2e2; }
.fi-sound { --blob: #fff3c4; }
.fi-lang { --blob: #e4f6ec; }

/* ---------- персонажи ---------- */
.characters { background: linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 18%, var(--paper-2) 100%); overflow: hidden; }
.char-tabs { margin-top: 36px; display: flex; gap: 14px; flex-wrap: wrap; }
.char-tab {
  display: flex; align-items: center; gap: 10px; padding: 6px 20px 6px 6px; cursor: pointer;
  background: #fff; border: 2px solid transparent; border-radius: 999px; box-shadow: var(--shadow-sm);
  font-family: var(--head); font-size: 1.05rem;
  transition: transform .3s var(--ease), border-color .3s, background-color .3s, color .3s;
}
.char-tab img { width: 48px; height: 48px; object-fit: cover; object-position: top; border-radius: 50%; background: color-mix(in srgb, var(--c) 18%, #fff); }
.char-tab:hover { transform: translateY(-2px); }
.char-tab[aria-selected="true"] { border-color: var(--c); background: var(--c); color: #fff; }

.char-panels { margin-top: 28px; }
.char-panel {
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); align-items: center; gap: clamp(24px, 5vw, 72px);
  background: #fff; border-radius: 32px; box-shadow: var(--shadow); padding: 0 clamp(24px, 5vw, 64px); position: relative; overflow: hidden;
}
.char-panel::before { content: ""; position: absolute; left: -10%; bottom: -40%; width: 60%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--c) 28%, transparent), transparent 70%); }
.char-panel[hidden] { display: none; }
.char-art { position: relative; align-self: end; height: clamp(420px, 58vw, 640px); padding-top: 24px; }
.char-art img { height: 100%; width: auto; margin-inline: auto; object-fit: contain; object-position: bottom; filter: drop-shadow(0 14px 22px rgba(20, 42, 82, .18)); }
.char-info { position: relative; padding: 40px 0; }
.char-role { display: inline-block; font-weight: 700; font-size: .9rem; color: var(--c); background: color-mix(in srgb, var(--c) 12%, #fff); padding: 5px 12px; border-radius: 999px; }
.char-name { font-size: clamp(2.6rem, 6vw, 4.6rem); color: var(--c); margin: 10px 0 18px; }
.char-info p:last-child { font-size: 1.1rem; color: var(--ink-soft); max-width: 56ch; }
.js .char-panel.is-entering .char-art img { animation: char-in .6s var(--ease); }
.js .char-panel.is-entering .char-info { animation: fade-up .6s var(--ease); }
@keyframes char-in { from { opacity: 0; transform: translateX(-30px); } }
@keyframes fade-up { from { opacity: 0; transform: translateY(16px); } }

/* ---------- отзывы ---------- */
.reviews { background: var(--paper-2); padding-top: 0; }
.reviews-track-wrap { margin-top: 40px; }
.reviews-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(380px, 82vw); gap: 20px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: max(16px, (100vw - 1180px) / 2);
  padding: 8px max(16px, (100vw - 1180px) / 2) 24px; scrollbar-width: none;
}
.reviews-track::-webkit-scrollbar { display: none; }
.review { scroll-snap-align: start; }
.review blockquote {
  margin: 0; height: 100%; display: flex; flex-direction: column; gap: 18px;
  background: #fff; border-radius: var(--radius); padding: 30px 28px 26px; box-shadow: var(--shadow-sm); position: relative;
}
.review blockquote::before { content: "“"; font-family: Georgia, serif; font-size: 5rem; line-height: .6; color: var(--orange); height: 28px; }
.review p { font-size: 1.05rem; flex: 1; }
.review footer { font-family: var(--head); color: var(--sky-deep); }
.reviews-nav { display: flex; gap: 10px; justify-content: center; margin-top: 8px; }
.round-btn { width: 52px; height: 52px; border-radius: 50%; border: 0; background: #fff; box-shadow: var(--shadow-sm); display: grid; place-items: center; cursor: pointer; transition: background-color .2s, transform .3s var(--ease); }
.round-btn:hover { background: var(--ink); color: #fff; transform: translateY(-2px); }
.round-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- играть ---------- */
.play { background: linear-gradient(180deg, var(--paper-2), var(--paper) 30%); padding-top: clamp(40px, 5vw, 72px); }
.play-grid { margin-top: 44px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.play-card { display: flex; flex-direction: column; background: #fff; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.play-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.play-card-main { border: 3px solid var(--orange); box-shadow: 0 18px 44px rgba(255, 138, 31, .28); }
.play-img { aspect-ratio: 1; overflow: hidden; background: var(--paper-2); }
.play-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.play-card:hover .play-img img { transform: scale(1.04); }
.play-body { padding: 24px 26px 28px; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; flex: 1; }
.play-body h3 { font-size: 1.4rem; flex: 1; }
.play-note { color: var(--ink-soft); font-size: .98rem; margin-top: -6px; }
.play-body:has(.play-note) h3 { flex: 0; }
.play-body:has(.play-note) .play-note { flex: 1; }
.play-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.badge { font-weight: 700; font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; color: #fff; background: var(--orange); padding: 5px 12px; border-radius: 999px; }
.badge-free { background: #12875a; }
.badge-store { background: var(--sky-deep); }

/* ---------- трейлер (на будущее) ---------- */
.trailer-frame { margin-top: 36px; aspect-ratio: 16 / 9; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow); background: var(--ink); }
.trailer-frame iframe { width: 100%; height: 100%; border: 0; }

/* ---------- контакты ---------- */
.contact { background: linear-gradient(180deg, var(--paper) 0%, #dff0ff 100%); }
.contact-inner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.contact-links { margin-top: 28px; display: grid; gap: 10px; }
.contact-links a { display: inline-flex; font-family: var(--head); font-size: 1.15rem; color: var(--sky-deep); text-decoration: none; border-bottom: 2px solid rgba(29, 99, 196, .25); transition: border-color .2s; }
.contact-links a:hover { border-color: var(--sky-deep); }
.contact-form { background: #fff; border-radius: 28px; box-shadow: var(--shadow); padding: clamp(22px, 4vw, 40px); display: grid; gap: 18px; position: relative; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 700; font-size: .95rem; }
.field input, .field textarea {
  font: inherit; font-size: 1rem; color: var(--ink); width: 100%;
  background: var(--paper-2); border: 2px solid transparent; border-radius: 14px; padding: 13px 15px;
  transition: border-color .2s, background-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field textarea:focus { outline: none; background: #fff; border-color: var(--sky); box-shadow: 0 0 0 4px rgba(58, 155, 236, .18); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; color: var(--ink-soft); cursor: pointer; line-height: 1.45; }
.consent input { width: 20px; height: 20px; margin: 1px 0 0; flex: none; accent-color: var(--orange); }
.consent a { color: var(--sky-deep); }
.contact-form .btn { justify-self: start; }
.contact-form .btn[disabled] { opacity: .6; cursor: wait; transform: none; }
.form-status { min-height: 1.5em; white-space: pre-line; font-weight: 600; }
.form-status.ok { color: #12875a; }
.form-status.err { color: var(--red); }

/* ---------- подвал ---------- */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .75); padding: 48px 0 40px; }
.footer-inner { display: grid; justify-items: center; gap: 20px; text-align: center; }
.footer-logo img { width: 72px; height: 72px; transition: transform .4s var(--ease); }
.footer-logo:hover img { transform: rotate(-8deg) scale(1.06); }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; }
.footer-links a { color: #fff; text-decoration: none; font-weight: 600; }
.footer-links a:hover { color: var(--sun); }
.copyright { font-size: .88rem; }

/* ---------- появление при прокрутке ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- адаптив ---------- */
.header-nav a { white-space: nowrap; }

/* шапка: на средних экранах пункты меню уже не помещаются в строку с названием — прячем их в кнопку-меню */
@media (max-width: 1100px) {
  .header-inner { gap: 12px; }
  .header-cta { margin-left: auto; }
  .burger {
    display: grid; place-content: center; gap: 5px; width: 46px; height: 46px; border-radius: 50%;
    border: 0; background: rgba(255, 255, 255, .2); cursor: pointer; flex: none;
  }
  .burger span { width: 20px; height: 2.5px; border-radius: 2px; background: #fff; transition: transform .3s var(--ease), opacity .2s; }
  .site-header.is-solid .burger, .site-header.menu-open .burger { background: var(--paper-2); }
  .site-header.is-solid .burger span, .site-header.menu-open .burger span { background: var(--ink); }
  .burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

  .header-nav {
    position: fixed; inset: var(--header-h) 0 auto; margin: 0; flex-direction: column; gap: 2px;
    background: var(--paper); padding: 12px 16px 20px; box-shadow: 0 20px 30px rgba(20, 42, 82, .15);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: transform .3s var(--ease), opacity .25s, visibility .3s;
  }
  .site-header.menu-open { background: var(--paper); }
  .site-header.menu-open .header-logo { color: var(--ink); }
  .site-header.menu-open .header-nav { transform: none; opacity: 1; visibility: visible; }
  .header-nav a, .site-header.is-solid .header-nav a { color: var(--ink); font-size: 1.1rem; padding: 12px 14px; }
}

@media (max-width: 900px) {
  :root { --header-h: 64px; }

  .hero-inner { grid-template-columns: 1fr; gap: 0; text-align: center; }
  .hero-text { align-items: center; padding: 28px 0 0; gap: 18px; }
  .hero-actions, .hero-soon { justify-content: center; }
  .hero-girls { height: auto; margin-top: 8px; padding-bottom: 20px; }
  .hero-girls { max-width: 560px; margin-inline: auto; width: 100%; }
  .hero-girls .g { width: calc(var(--w) * .88); margin-inline: -12%; margin-bottom: -14%; }
  .hero-girls .g-sasha { margin-left: -2%; }
  .sun { width: 240px; right: -40px; top: 6%; }

  .feature-grid { grid-template-columns: 1fr 1fr; }
  .feature, .feature:nth-child(4), .feature:nth-child(5) { grid-column: span 1; }
  .feature:nth-child(5) { grid-column: span 2; }

  .char-panel { grid-template-columns: 1fr; padding: 0 22px; }
  .char-art { order: 2; height: min(110vw, 520px); padding-top: 0; }
  .char-info { padding: 28px 0 0; }

  .play-grid { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .contact-inner { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .header-logo { font-size: 1rem; gap: 6px; }
  .header-cta { display: none; }
  .burger { margin-left: auto; }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; }
  .hero-soon { padding: 8px 8px 8px 14px; font-size: .88rem; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature:nth-child(5) { grid-column: span 1; }
  .char-tabs { gap: 8px; }
  .char-tab { padding: 4px 14px 4px 4px; font-size: .95rem; }
  .char-tab img { width: 40px; height: 40px; }
  .field-row { grid-template-columns: 1fr; }
  .contact-form .btn { justify-self: stretch; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .hero-girls .g, .js .reveal { opacity: 1; transform: none; }
}
