* { box-sizing: border-box; text-wrap: balance; }
p { text-wrap: pretty; }
.ww { text-wrap: wrap; }

:root {
  --pad: 16px;
  --header: 64px;
  --ink: #111111;
  --muted: #6b6b6b;
  --body: #333333;
  --num: #9a9a9a;
  --line: #e6e6e6;
  --dash: #bdbdbd;
  --paper: #f5f5f5;
  --hand: #3a3a3a;
  --z1: #dc8d88;
  --z2: #6f95c8;
  --z3: #d7b87c;
}

html { scroll-behavior: smooth; scroll-padding-top: var(--header); }
body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: "Onest", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { border: 0; }
a { color: var(--ink); text-decoration: none; }
a:hover { color: #444; }
a:focus-visible,
button:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }

@media (min-width: 768px) and (max-width: 1023px) {
  :root { --pad: 24px; }
}
@media (min-width: 768px) {
  :root { --header: 88px; }
}

.pad { padding-left: var(--pad); padding-right: var(--pad); }
@media (min-width: 768px) {
  .pad {
    padding-left: max(80px, calc((100% - 1120px) / 2));
    padding-right: max(80px, calc((100% - 1120px) / 2));
  }
}

.muted { color: var(--muted); }
.lab {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}
.num { font-variant-numeric: tabular-nums; color: var(--num); font-weight: 500; }
.dom { color: var(--muted); font-variant-numeric: tabular-nums; }

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  height: var(--header);
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.logo { display: block; flex: none; }
.logo img { display: block; height: 32px; width: auto; }
.nav { display: none; }
.lang { position: relative; margin-left: auto; }
.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 36px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.lang-btn[aria-expanded="true"] { border-color: var(--ink); }
.burger {
  margin-left: 4px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

@media (min-width: 1024px) {
  .logo img { height: 40px; }
  .nav {
    display: flex;
    gap: 36px;
    margin-left: auto;
    font-size: 15px;
    font-weight: 500;
  }
  .lang { margin-left: 28px; }
  .lang-btn { gap: 6px; padding: 0 12px; }
  .burger { display: none; }
}

.hero {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-top: 40px;
  padding-bottom: 0;
  border-bottom: 1px solid var(--line);
}
.hero-copy { display: flex; flex-direction: column; gap: 20px; }
.hero h1 {
  margin: 0;
  font-size: 36px;
  line-height: 44px;
  font-weight: 700;
  letter-spacing: -.035em;
}
.hero-sub { margin: 0; font-size: 17px; line-height: 26px; }
.hero-br { display: none; }
.hero-bee {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 236px;
  margin-top: 4px;
}
.hero-bee .hand {
  position: relative;
  z-index: 2;
  align-self: flex-end;
  width: min(220px, 78%);
  margin: 0 0 28px;
  font-size: 23px;
  line-height: 24px;
  transform: rotate(-6deg);
  transform-origin: 100% 0;
}
.peek {
  position: relative;
  align-self: flex-start;
  /* Режем только снизу, по краю: пчела выезжает из-за него вверх, сам край стоит (владелец 28.10). */
  clip-path: inset(-80px -60px 0 -60px);
  width: min(290px, 100%);
  aspect-ratio: 290 / 143;
  margin-top: auto;
  margin-bottom: -1px;
}
.peek-in { position: absolute; inset: 0; animation: peekup .9s cubic-bezier(.2, .8, .2, 1) .2s both; }
.peek-lift {
  position: absolute;
  inset: 0;
  transition: transform .4s cubic-bezier(.2, .8, .2, 1);
}
.hero-bee.is-up .peek-lift { transform: translateY(-46%); }
/* Крылья нарисованы на спине в самих картинках пчелы, отдельные машущие крылья не нужны. */
.hero-bee .pw { display: none; }
.hero-bee .bee-say { transition: opacity .32s ease, translate .4s cubic-bezier(.2, .8, .2, 1); }
.hero-bee.is-up .bee-say { translate: 0 -64px; }
/* Позы под фразу: «наблюдаю» = очки на лбу и подмигивание, «Сладкий, как мёд» = наушники (владелец 28.10). */
.bee-pose { opacity: 0; transition: opacity .25s ease; }
.hero-bee[data-pose="wink"] .bee-pose-wink,
.hero-bee[data-pose="phones"] .bee-pose-phones { opacity: 1; }
.hero-bee[data-pose="wink"] .bee:not(.bee-pose-wink),
.hero-bee[data-pose="phones"] .bee:not(.bee-pose-phones) { opacity: 0; }
.peek::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; height: 3px; border-radius: 2px; background: var(--ink); }
.bee { position: absolute; left: 0; top: 0; display: block; width: 100%; height: auto; }
.bee-glasses {
  position: absolute;
  z-index: 2;
  left: 24%;
  top: 64.5%;
  width: 35%;
  height: 27%;
  pointer-events: none;
}
.pw { position: absolute; height: auto; display: block; pointer-events: none; top: 61%; width: 25.7%; transform-origin: 6% 50%; }
.pwl { left: 25.6%; animation: pwl .14s ease-in-out infinite alternate; animation-delay: -.07s; }
.pwr { left: 59.9%; animation: pwr .14s ease-in-out infinite alternate; }

@media (min-width: 768px) {
  .hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 20px;
    padding-top: 64px;
  }
  .hero-copy { gap: 26px; padding-bottom: 88px; }
  .hero h1 { font-size: 64px; line-height: 68px; }
  .hero-sub { font-size: 21px; line-height: 32px; max-width: 720px; }
  .hero-br { display: inline; }
  .hero-bee { min-height: 340px; margin-top: 0; align-self: end; }
  .hero-bee .hand { width: 270px; margin-bottom: 22px; font-size: 29px; line-height: 30px; }
  .notes { bottom: 120px; }
  .peek { width: 350px; height: 172px; aspect-ratio: auto; margin-left: 14px; }
}

.hand {
  font-family: "Caveat", cursive;
  font-weight: 500;
  color: var(--hand);
  margin: 0;
  text-align: center;
  text-wrap: balance;
  pointer-events: none;
}
.z3 { font-weight: 700; font-size: 1.25em; letter-spacing: .02em; white-space: nowrap; }
.z3-a { color: var(--z1); font-weight: 700; }
.z3-b { color: var(--z2); font-weight: 700; }
.z3-c { color: var(--z3); font-weight: 700; }
.bee-say { transition: opacity .32s ease; }
.bee-say.is-out { opacity: 0; }
/* Фраза печатается по буквам (задержки ставит main.js). */
.ch { opacity: 0; animation: ch-in .12s ease-out forwards; }
@keyframes ch-in { to { opacity: 1; } }

/* Мысли пчелы: облачко с кружками-хвостиком к пчеле, пониже, ближе к ней (владелец 28.10). */
.hero-bee .bee-say,
.bag > .bee-say {
  padding: 12px 18px 14px;
  border: 2px solid var(--ink);
  border-radius: 32px;
  background: #fff;
  margin-top: auto;
  margin-bottom: 30px;
  transform: rotate(-3deg);
}
.hero-bee .peek { margin-top: 0; }
.hero-bee .bee-say::before,
.hero-bee .bee-say::after,
.bag > .bee-say::before,
.bag > .bee-say::after {
  content: "";
  position: absolute;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: #fff;
}
.bag > .bee-say { position: relative; margin-top: 0; }
.hero-bee .bee-say::before, .bag > .bee-say::before { left: 18%; bottom: -15px; width: 14px; height: 14px; }
.hero-bee .bee-say::after, .bag > .bee-say::after { left: 11%; bottom: -27px; width: 8px; height: 8px; }
/* Внизу пчела под серединой облачка: хвостик из кружков идёт к ней. */
.bag > .bee-say::before { left: 47%; }
.bag > .bee-say::after { left: 43%; }

/* «Сладкий, как мёд…»: пчела напевает, рядом всплывают ноты. */
.notes { position: absolute; left: 62%; bottom: 96px; z-index: 1; width: 90px; height: 70px; pointer-events: none; }
.notes i { position: absolute; bottom: 0; font-style: normal; font-size: 28px; color: var(--ink); opacity: 0; }
.notes i:nth-child(1) { left: 0; }
.notes i:nth-child(2) { left: 32px; font-size: 34px; }
.notes i:nth-child(3) { left: 62px; }
.hero-bee.is-singing .notes i { animation: note-up 1.8s ease-in-out infinite; }
.hero-bee.is-singing .notes i:nth-child(2) { animation-delay: .6s; }
.hero-bee.is-singing .notes i:nth-child(3) { animation-delay: 1.2s; }
@keyframes note-up {
  0% { opacity: 0; transform: translate(0, 10px) rotate(-8deg); }
  25% { opacity: 1; }
  100% { opacity: 0; transform: translate(10px, -46px) rotate(10deg); }
}
.hand { text-wrap: wrap; }

.projects { padding-top: 28px; padding-bottom: 56px; }
.projects .lab { margin-bottom: 12px; }
.rows { display: flex; flex-direction: column; }
.prow {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) 24px;
  gap: 12px;
  align-items: start;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  color: var(--ink);
}
.rows .prow:last-child { border-bottom: 1px solid var(--line); }
.prow-soon { border-top: 1px dashed var(--dash); }
.prow .num { grid-column: 1; font-size: 14px; padding-top: 6px; }
.phone-stack { grid-column: 2; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.titles { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.name { font-size: 24px; font-weight: 700; letter-spacing: -.02em; }
.tag { font-size: 14px; color: var(--muted); }
.desc { margin-top: 4px; font-size: 15px; line-height: 22px; color: var(--body); min-width: 0; }
.dom-col { display: none; }
.phone-dom { display: inline; }
.arrow { grid-column: 3; display: inline-flex; padding-top: 6px; justify-self: end; transition: transform .2s ease; }
.prow:hover .arrow,
.studio:hover .arrow { transform: translate(2px, -2px); }
.prow:hover,
.prow:hover .name,
.prow:hover .tag,
.prow:hover .desc,
.prow:hover .dom,
.studio:hover,
.studio:hover .studio-desc,
.studio:hover .studio-url,
.prow-soon:hover .soon-link { color: #444; }
.prow-soon .name { color: var(--num); }
.prow-soon .desc { color: var(--muted); }
.prow-soon:hover .name,
.prow-soon:hover .desc { color: #444; }
.soon-link {
  align-self: flex-start;
  margin-top: 6px;
  font-size: 15px;
  font-weight: 600;
  border-bottom: 1px solid currentColor;
}
.soon-link:hover { color: #444; }
.studio {
  margin-top: 24px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 12px;
  row-gap: 4px;
  align-items: start;
  padding: 18px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--ink);
}
.studio-copy { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.kicker { font-size: 13px; color: var(--muted); }
.studio-name { font-size: 19px; font-weight: 700; }
.studio-desc { font-size: 15px; line-height: 22px; color: var(--body); }
.studio-url { grid-column: 1; font-size: 13px; }
.studio .arrow { grid-column: 2; grid-row: 1; padding-top: 0; }
.studio .arrow svg,
.prow .arrow svg { display: block; width: 20px; height: 20px; }

@media (min-width: 768px) {
  .projects { padding-top: 32px; padding-bottom: 104px; }
  .projects .lab { margin-bottom: 24px; }
  .prow {
    grid-template-columns: 64px 220px minmax(0, 1fr) 220px 32px;
    gap: 24px;
    align-items: center;
    padding: 28px 0;
  }
  .prow .num { grid-column: 1; font-size: 18px; padding-top: 0; }
  .phone-stack { display: contents; }
  .titles { grid-column: 2; grid-row: 1; display: block; }
  .name { display: block; font-size: 30px; }
  .tag { font-size: 15px; }
  .desc { grid-column: 3; grid-row: 1; margin-top: 0; font-size: 17px; line-height: 26px; }
  .dom-col { display: block; grid-column: 4; grid-row: 1; font-size: 15px; text-align: right; }
  .phone-dom { display: none; }
  .arrow { grid-column: 5; grid-row: 1; padding-top: 0; }
  .soon-link { grid-column: 4; grid-row: 1; justify-self: end; align-self: center; margin-top: 0; text-align: right; }
  .studio {
    margin-top: 28px;
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 24px 28px;
    border-radius: 16px;
  }
  .studio-copy { flex: 1; }
  .kicker { font-size: 14px; }
  .studio-name { font-size: 20px; }
  .studio-desc { font-size: 15px; line-height: normal; }
  .studio-url { font-size: 15px; }
  .prow .arrow svg,
  .studio .arrow svg { width: 24px; height: 24px; }
}

.about {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-top: 48px;
  padding-bottom: 48px;
  background: var(--paper);
}
.about-grid { display: flex; flex-direction: column; gap: 20px; }
.about-copy { display: flex; flex-direction: column; gap: 20px; }
.about h2 {
  margin: 0;
  font-size: 30px;
  line-height: 34px;
  font-weight: 700;
  letter-spacing: -.03em;
}
.about-text { margin: 0; font-size: 16px; line-height: 24px; }
.btn-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  align-self: flex-start;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  padding: 15px 20px 15px 24px;
}
.btn-dark:hover { color: #fff; }
.bag {
  position: relative;
  min-height: 250px;
  margin-top: 4px;
  padding-bottom: 165px;
}
.bag > .hand {
  position: relative;
  z-index: 4;
  width: min(260px, 100%);
  margin: 2px 0 28px auto;
  font-size: 21px;
  line-height: 22px;
  transform: rotate(4deg);
  transform-origin: 100% 0;
}
.scene {
  position: absolute;
  right: calc(var(--pad) * -1);
  bottom: 0;
  width: min(380px, calc(100% + 2 * var(--pad)));
  aspect-ratio: 380 / 165;
}
.bimg { position: absolute; inset: 0; mix-blend-mode: multiply; isolation: isolate; }
.bimg img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.bmo, .bbu { opacity: 0; pointer-events: none; }
.bbu { transform-origin: 51.6% 56.4%; }
.about.is-started .bmo { animation: bmo 3.4s ease-in-out 1 both; }
.about.is-started .bbu { animation: bbu 3.4s ease-in-out 1 both; }
.bag.is-blow .bmo { animation: bmo2 3.4s ease-in-out 1 both; }
.bag.is-blow .bbu { animation: bbu2 3.4s ease-in-out 1 both; }
.zz {
  position: absolute;
  z-index: 2;
  font-family: "Caveat", cursive;
  font-weight: 600;
  line-height: 1;
  opacity: 0;
  pointer-events: none;
  --zx: 26px;
  --zy: -64px;
}
.zz1 { left: 54.2105%; top: 23.6364%; color: var(--z1); font-size: 18px; }
.zz2 { left: 55.5263%; top: 20.6061%; color: var(--z2); font-size: 23px; }
.zz3 { left: 56.8421%; top: 17.5758%; color: var(--z3); font-size: 28px; }
.about.is-started .zz1 { animation: zf 22s ease-out 5s infinite both; }
.about.is-started .zz2 { animation: zf 22s ease-out 6s infinite both; }
.about.is-started .zz3 { animation: zf 22s ease-out 7s infinite both; }
.about.is-started .zz { animation-play-state: paused; }
.about.is-started.is-inview .zz { animation-play-state: running; }
.mug-hit {
  position: absolute;
  z-index: 5;
  left: 14.3%;
  top: 59.5%;
  width: 6.5%;
  height: 14.8%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
}
/* «Долей кипяточку»: при наведении на кружку появляется чайник и льёт в неё (владелец 28.10). Струя попадает в кружку. */
.kettle {
  position: absolute;
  z-index: 4;
  left: 16.4%;
  top: 36.1%;
  width: 11%;
  height: auto;
  pointer-events: none;
  opacity: 0;
  transform: translate(14%, -10%) rotate(14deg);
  transform-origin: 7% 100%;
  transition: opacity .3s ease, transform .45s cubic-bezier(.2, .8, .2, 1);
}
.bag.mug-pour .kettle { opacity: 1; transform: none; }
.lampz {
  position: absolute;
  z-index: 3;
  left: 72.6316%;
  top: -0.6061%;
  width: 14.7368%;
  height: 84.8485%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.lit {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
  mix-blend-mode: multiply;
  opacity: 0;
  transition: opacity .25s ease;
}
.lampz[aria-pressed="true"] ~ .lit { opacity: 1; }
.facts { display: flex; flex-direction: column; gap: 20px; margin-top: 8px; }
.fact { display: flex; flex-direction: column; gap: 6px; padding-top: 16px; border-top: 1px solid var(--ink); }
.fact-title { margin: 0; font-size: 17px; font-weight: 700; }
.fact-text { margin: 0; font-size: 15px; line-height: 22px; }

@media (hover: hover) and (pointer: fine) {
  .lampz:hover ~ .lit { opacity: 1; }
}

@media (min-width: 1024px) {
  .about { gap: 64px; padding-top: 96px; padding-bottom: 96px; }
  .about-grid { display: grid; grid-template-columns: minmax(0, 1fr) 570px; gap: 40px; align-items: center; }
  .about-copy { gap: 22px; }
  .about h2 { font-size: 42px; line-height: 46px; }
  .about-text { font-size: 19px; line-height: 30px; max-width: 820px; }
  .btn-dark { margin-top: 6px; padding: 15px 24px 15px 28px; }
  .bag { min-height: 430px; margin-top: 0; padding-bottom: 286px; }
  .bag > .hand { width: 330px; margin: 8px 0 36px auto; font-size: 27px; line-height: 28px; }
  .scene { right: -70px; width: 660px; height: 286px; }
  .zz { --zx: 46px; --zy: -104px; }
  .zz1 { left: 64.2424%; top: 21.6783%; font-size: 26px; }
  .zz2 { left: 65.4545%; top: 18.8811%; font-size: 34px; }
  .zz3 { left: 66.6667%; top: 16.0839%; font-size: 42px; }
  .lampz { left: 73.0303%; top: -1.3986%; width: 14.5455%; height: 82.5175%; }
  .facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: 0; }
  .fact { gap: 8px; padding-top: 20px; }
  .fact-title { font-size: 18px; }
  .fact-text { font-size: 15px; line-height: 23px; }
}

.contacts {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 48px;
  padding-bottom: 48px;
}
.contacts-copy { display: flex; flex-direction: column; gap: 14px; }
.contacts-title { margin: 0; font-size: 22px; line-height: 30px; font-weight: 500; }
.contact-links {
  display: grid;
  justify-items: start;
}
.contact-link { font-size: 17px; border-bottom: 1px solid var(--ink); }
.contact-link:hover { color: #444; }
.bot { grid-row: 1; }
.contact-note { grid-row: 2; margin: 8px 0 18px; font-size: 15px; line-height: 22px; }
.mail { grid-row: 3; }
.contacts-art { display: block; width: min(358px, 100%); height: auto; margin-top: 28px; }

@media (min-width: 768px) {
  .contacts {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 560px);
    gap: 48px;
    align-items: center;
    padding-top: 96px;
    padding-bottom: 80px;
  }
  .contacts-copy { gap: 20px; }
  .contacts-title { font-size: 30px; line-height: 40px; letter-spacing: -.015em; }
  .contact-links { grid-template-columns: auto auto; column-gap: 40px; row-gap: 10px; justify-content: start; }
  .bot, .mail { grid-row: 1; font-size: 18px; }
  .mail { grid-column: 2; }
  .contact-note { grid-column: 1 / -1; grid-row: 2; margin: 0; }
  .contacts-art { width: 100%; max-width: 560px; margin-top: 0; position: relative; top: -32px; }
}

.footer {
  padding-top: 24px;
  padding-bottom: 32px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 14px;
}
.footer a,
.footer a:hover { color: var(--muted); }
.footer-projects { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer-docs { display: flex; flex-direction: column; gap: 8px; }
.legal { margin: 0; font-size: 12px; line-height: 18px; }

@media (min-width: 768px) {
  .footer { padding-top: 32px; padding-bottom: 40px; gap: 16px; }
  .footer-row { display: flex; align-items: center; gap: 32px; }
  .footer-projects { gap: 24px; }
  .footer-docs { margin-left: auto; flex-direction: row; gap: 24px; }
  .legal { font-size: 13px; line-height: 20px; }
}

.menu {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: flex;
  flex-direction: column;
  background: #fff;
  overflow: auto;
}
.menu-bar {
  height: 64px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line);
  flex: none;
}
.menu-logo { display: block; height: 30px; width: auto; }
.menu-x { margin-left: auto; }
.icon-btn {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.menu-projects { padding: 24px var(--pad) 0; display: flex; flex-direction: column; }
.menu-projects .lab { margin-bottom: 10px; }
.menu-link {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 72px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  color: var(--ink);
}
.menu-link .num { font-size: 14px; width: 24px; flex: none; }
.menu-link .grow { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.menu-name { font-size: 20px; font-weight: 700; }
.menu-tag { font-size: 14px; }
.menu-rule { border-top: 1px solid var(--line); }
.menu-studio {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 56px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}
.menu-studio .grow { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.menu-studio-name { font-size: 17px; font-weight: 600; }
.menu-studio-tag { font-size: 13px; }
.menu-gap { width: 24px; flex: none; }
.menu-more { padding: 28px var(--pad) 0; display: flex; flex-direction: column; gap: 4px; }
.menu-more a { min-height: 44px; display: flex; align-items: center; font-size: 17px; font-weight: 500; color: var(--ink); }
.menu-legal {
  margin: auto 0 0;
  padding: 16px var(--pad);
  font-size: 12px;
  line-height: 18px;
  border-top: 1px solid var(--line);
}

.lang-pop { position: absolute; top: calc(100% + 8px); right: 0; z-index: 30; }
.lang-scrim, .lang-handle, .lang-head { display: none; }
.lang-sheet {
  width: 240px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .12);
  padding: 6px;
}
.lang-list { display: flex; flex-direction: column; gap: 2px; }
.lang-opt {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  height: 48px;
  padding: 0 12px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  font-size: 16px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
}
.lang-opt.is-current { background: var(--paper); font-weight: 600; }
.lang-name { flex: 1; }
.lang-code { font-size: 13px; font-weight: 600; color: var(--muted); }
.check { width: 18px; display: grid; place-items: center; visibility: hidden; }
.lang-opt.is-current .check { visibility: visible; }

@media (max-width: 1023px) {
  .lang-pop { position: fixed; inset: 0; z-index: 50; }
  .lang-scrim {
    display: block;
    position: absolute;
    inset: 0;
    border: 0;
    padding: 0;
    background: rgba(17, 17, 17, .45);
    cursor: pointer;
  }
  .lang-sheet {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    width: auto;
    border: 0;
    border-radius: 20px 20px 0 0;
    box-shadow: none;
    padding: 8px 16px 34px;
  }
  .lang-handle {
    display: block;
    width: 36px;
    height: 4px;
    margin: 0 auto 10px;
    border-radius: 2px;
    background: #d6d6d6;
  }
  .lang-head { display: flex; align-items: center; margin-bottom: 8px; }
  .lang-title { margin: 0; flex: 1; font-size: 20px; font-weight: 700; }
  .lang-x { margin-right: -10px; }
  .lang-list { gap: 0; }
  .lang-opt {
    height: auto;
    min-height: 56px;
    padding: 0 4px;
    border-radius: 0;
    border-top: 1px solid var(--line);
    font-size: 17px;
    background: transparent;
  }
  .lang-opt.is-current { background: transparent; font-weight: 600; }
  .check { width: 20px; }
}

html.lock { overflow: hidden; }
.hero.is-offscreen .peek-in,
.hero.is-offscreen .pwl,
.hero.is-offscreen .pwr { animation-play-state: paused; }

@keyframes peekup { from { transform: translateY(100%); } to { transform: translateY(0); } }
@keyframes pwr { from { transform: rotate(-36deg); } to { transform: rotate(-12deg); } }
@keyframes pwl { from { transform: scaleX(-1) rotate(-36deg); } to { transform: scaleX(-1) rotate(-12deg); } }
@keyframes bmo { 0% { opacity: 0; } 5%, 82% { opacity: 1; } 88%, 100% { opacity: 0; } }
@keyframes bmo2 { 0% { opacity: 0; } 5%, 82% { opacity: 1; } 88%, 100% { opacity: 0; } }
@keyframes bbu {
  0% { opacity: 0; transform: scale(0); }
  5% { opacity: 1; transform: scale(.06); }
  55% { transform: scale(.8); }
  74% { opacity: 1; transform: scale(1); }
  78% { opacity: 1; transform: scale(1.07); }
  80%, 100% { opacity: 0; transform: scale(1.22); }
}
@keyframes bbu2 {
  0% { opacity: 0; transform: scale(0); }
  5% { opacity: 1; transform: scale(.06); }
  55% { transform: scale(.8); }
  74% { opacity: 1; transform: scale(1); }
  78% { opacity: 1; transform: scale(1.07); }
  80%, 100% { opacity: 0; transform: scale(1.22); }
}
@keyframes zf {
  0%, 27.3% { opacity: 0; transform: translate(0, 0) scale(.6) rotate(0); }
  30% { opacity: 1; }
  40.9% { opacity: 0; transform: translate(var(--zx), var(--zy)) scale(1.25) rotate(-12deg); }
  41%, 100% { opacity: 0; transform: translate(0, 0) scale(.6); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .peek-in,
  .peek-lift,
  .pwl,
  .pwr,
  .bee-say,
  .about.is-started .bmo,
  .about.is-started .bbu,
  .bag.is-blow .bmo,
  .bag.is-blow .bbu,
  .about.is-started .zz,
  .arrow { animation: none !important; transition: none; }
  .peek-in,
  .hero-bee.is-up .peek-lift { transform: none; }
  .pwr { transform: rotate(-24deg); }
  .pwl { transform: scaleX(-1) rotate(-24deg); }
  .bee-say { opacity: 1; }
  .ch { opacity: 1; animation: none; }
  .hero-bee.is-singing .notes i { animation: none; opacity: .8; }
  .zz, .bmo, .bbu { display: none !important; }
  .kettle { transition: none; transform: none; }
  .lit { transition: none; }
  .prow:hover .arrow,
  .studio:hover .arrow { transform: none; }
}

button.btn-dark { border: 0; cursor: pointer; }
.idea {
  width: min(480px, calc(100% - 2 * var(--pad)));
  max-height: calc(100dvh - 32px);
  overflow: auto;
  margin: auto;
  padding: 8px 20px 20px;
  border: 0;
  border-radius: 24px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 24px 64px rgba(0, 0, 0, .18);
}
.idea::backdrop { background: rgba(17, 17, 17, .45); }
.idea-bar { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-right: -12px; }
.idea-h { margin: 0; font-size: 20px; font-weight: 700; letter-spacing: -.02em; }
.idea-form { display: flex; flex-direction: column; gap: 14px; }
.idea-chat { display: flex; align-items: flex-end; gap: 10px; }
.idea-ava { width: 64px; height: 64px; flex: none; align-self: flex-end; }
.idea-bubble {
  margin: 0;
  padding: 12px 14px;
  border-radius: 18px 18px 18px 4px;
  background: var(--paper);
  font-size: 15px;
  line-height: 21px;
  color: var(--body);
}
.idea-field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 500; color: var(--body); }
.idea-field textarea,
.idea-field input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  font-weight: 400;
  line-height: 22px;
}
.idea-field textarea { resize: vertical; min-height: 112px; }
.idea-field textarea:focus-visible,
.idea-field input:focus-visible { outline: 2px solid var(--ink); outline-offset: 1px; border-color: var(--ink); }
.idea-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.idea-err { margin: 0; font-size: 14px; line-height: 20px; color: #b42318; }
.idea-send { align-self: stretch; }
.idea-send:disabled { opacity: .6; cursor: progress; }
.idea-done { display: flex; flex-direction: column; align-items: center; gap: 12px; padding-top: 8px; text-align: center; }
.idea-done img { width: 100%; height: auto; }
.idea-thanks { margin: 0; font-size: 18px; line-height: 24px; font-weight: 600; }
.idea-close { align-self: stretch; }
@media (min-width: 768px) {
  .idea { padding: 12px 28px 28px; }
  .idea-send, .idea-close { align-self: flex-start; }
}
/* Свечение лампы не должно расширять страницу на телефоне (владелец 27.10). */
#about { overflow-x: clip; }

/* Планшет 768–1023: компьютерная раскладка, ужатая по ширине (владелец 27.10). Меню и «О нас» остаются телефонными. */
@media (min-width: 768px) and (max-width: 1023px) {
  .pad { padding-left: 40px; padding-right: 40px; }
  .hero { grid-template-columns: minmax(0, 1fr) 300px; padding-top: 48px; }
  .hero-copy { padding-bottom: 64px; }
  .hero h1 { font-size: 42px; line-height: 46px; }
  .hero-sub { font-size: 18px; line-height: 28px; }
  .hero-br { display: none; }
  .hero-bee { min-height: 300px; }
  .hero-bee .hand { width: 210px; font-size: 25px; line-height: 27px; }
  .peek { width: 290px; height: 143px; margin-left: 0; }
  .prow { grid-template-columns: 40px 200px minmax(0, 1fr) 32px; gap: 20px; }
  .name { font-size: 26px; }
  .desc { font-size: 16px; line-height: 24px; }
  .dom-col { display: none; }
  .phone-dom { display: none; }
  .arrow { grid-column: 4; }
  .soon-link { grid-column: 3; grid-row: 2; justify-self: start; text-align: left; margin-top: -8px; }
  .contacts { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; }
  .contacts-title { font-size: 24px; line-height: 32px; }
  .contact-links { grid-template-columns: auto; }
  .bot, .mail { grid-column: 1; grid-row: auto; }
  .contact-note { grid-row: auto; }
}

/* Рисованные стрелки в самой сцене: к кружке, цветку или лампе, пока идёт эта фраза; во время полива прячутся (владелец 28.10). */
.say-arrow { position: absolute; z-index: 6; display: none; color: var(--hand); pointer-events: none; overflow: visible; }
.bag[data-point="lamp"] .say-arrow-lamp,
.bag[data-point="mug"] .say-arrow-mug,
.bag[data-point="plant"] .say-arrow-plant { display: block; }
.bag.mug-pour .say-arrow, .bag.plant-pour .say-arrow { display: none; }
.say-arrow-mug { left: 18.5%; top: 26%; width: 6%; height: 30%; }
.say-arrow-plant { left: 11.5%; top: 6%; width: 6%; height: 30%; }
.say-arrow-lamp { left: 63%; top: -16%; width: 9%; height: 20%; --nx: 5px; --ny: 5px; --clip0: inset(-10% 110% 110% -10%); }
/* Стрелка рисуется и потом «тычет» в предмет по своему направлению (владелец 28.10). */
.say-arrow { --nx: 0px; --ny: 7px; --clip0: inset(-10% -10% 110% -10%); }
.bag[data-point] .say-arrow { animation: arrow-draw .5s ease-out both, arrow-nudge 1.1s ease-in-out .5s infinite; }
@keyframes arrow-draw { from { clip-path: var(--clip0); } to { clip-path: inset(-10%); } }
@keyframes arrow-nudge { 0%, 100% { transform: none; } 50% { transform: translate(var(--nx), var(--ny)); } }
/* Подсказка «наведи на …» у самого предмета, у хвоста стрелки (владелец 28.10). */
.say-hint { position: absolute; z-index: 6; display: none; margin: 0; color: var(--hand); font-size: clamp(16px, 1.8vw, 23px); line-height: 1.1; white-space: nowrap; pointer-events: none; }
.bag[data-point="mug"] .say-hint, .bag[data-point="plant"] .say-hint, .bag[data-point="lamp"] .say-hint { display: block; animation: hint-in .4s ease-out .3s both; }
.bag.mug-pour .say-hint, .bag.plant-pour .say-hint, .say-hint:empty { display: none !important; }
.bag[data-point="mug"] .say-hint { right: 76.5%; top: 19%; }
.bag[data-point="plant"] .say-hint { left: 17.5%; top: 0; }
.bag[data-point="lamp"] .say-hint { right: 39%; top: -9%; }
@keyframes hint-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
/* Пар над кружкой, пока чайник льёт. */
.steam { position: absolute; z-index: 5; left: 14.4%; top: 43%; width: 5.4%; height: 16%; color: #7d838a; pointer-events: none; overflow: visible; }
.steam path { opacity: 0; }
.bag.mug-pour .steam path { animation: steam 2.2s ease-out .5s infinite; }
.bag.mug-pour .steam path:nth-child(2) { animation-delay: 1.1s; }
.bag.mug-pour .steam path:nth-child(3) { animation-delay: 1.7s; }
@keyframes steam { 0% { opacity: 0; transform: translateY(30%) scaleX(.8); } 30% { opacity: .95; } 100% { opacity: 0; transform: translateY(-25%) scaleX(1.2); } }
/* После полива листья распушаются: копия листьев поверх сцены растёт от стеблей. */
.leaves { position: absolute; z-index: 3; left: .93%; top: 37.53%; width: 13.95%; height: auto; pointer-events: none; opacity: 0; transform-origin: 62% 100%; transition: opacity .4s ease, transform .5s ease; }
.bag.plant-pour .leaves { opacity: 1; animation: fluff 1.2s cubic-bezier(.3, 1.6, .5, 1) .7s both; }
@keyframes fluff { from { transform: none; } to { transform: scale(1.22, 1.16) rotate(-2deg); } }
.plant-hit {
  position: absolute;
  z-index: 5;
  left: 2.5%;
  top: 40%;
  width: 11%;
  height: 52%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.can {
  position: absolute;
  z-index: 4;
  left: 8.4%;
  top: 20.6%;
  width: 13%;
  height: auto;
  pointer-events: none;
  opacity: 0;
  transform: translate(14%, -10%) rotate(12deg);
  transform-origin: 12% 95%;
  transition: opacity .3s ease, transform .45s cubic-bezier(.2, .8, .2, 1);
}
.bag.plant-pour .can { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .can { transition: none; transform: none; } .say-arrow, .steam path { animation: none !important; } .bag.plant-pour .leaves { animation: none; transform: scale(1.18, 1.12); } }
