/* ============================================================
   YOUR.STUDIO — сайт-«рабочий стол». Один экран, разделы в окнах.
   Цвета и шрифты в :root, дальше по частям экрана.
   ============================================================ */

:root {
  --fg: #141418;
  --muted: #6f6f7a;
  --line: rgba(0, 0, 0, 0.09);
  --blue: #3b9cf5;
  --hot: #ff453a;
  --sans: "Inter Tight", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --pixel: "Pixelify Sans", var(--mono);
  color-scheme: light;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { height: 100%; }
body {
  margin: 0; overflow: hidden;
  background: #fff; color: var(--fg);
  font: 15px/1.5 var(--sans);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

/* ---------- рабочий стол ---------- */
.desk { position: relative; height: 100svh; min-height: 520px; overflow: hidden; background: #fff; }
/* мягкое затемнение по краям, как в ролике */
.desk::after {
  content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background: radial-gradient(125% 100% at 50% 44%, rgba(20,20,30,0) 52%, rgba(20,20,30,0.045) 78%, rgba(20,20,30,0.13) 100%);
}

/* ---------- строка меню ---------- */
.menubar {
  position: absolute; top: 8px; left: 9%; right: 9%; z-index: 30;
  height: 26px; display: flex; align-items: center; gap: 14px; padding: 0 12px;
  border-radius: 7px; color: #fff; font-size: 12px; white-space: nowrap;
  background: rgba(70, 70, 76, 0.66); -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}
.menubar__logo { flex: none; width: 11px; height: 11px; border-radius: 50%; background: #fff; }
.menubar__brand { font-weight: 600; letter-spacing: 0.02em; }
.menubar__nav { display: flex; gap: 2px; color: rgba(255, 255, 255, 0.74); }
.menubar__nav button { border: 0; background: none; padding: 2px 7px; border-radius: 4px; cursor: pointer; }
.menubar__nav button:hover { background: rgba(255, 255, 255, 0.2); color: #fff; }
.menubar__right { margin-left: auto; display: flex; align-items: center; gap: 14px; color: rgba(255, 255, 255, 0.82); }
.menubar__status { display: inline-flex; align-items: center; gap: 6px; }
.menubar__dot { width: 6px; height: 6px; border-radius: 50%; background: #4ade80; animation: ping 2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(74,222,128,.6) } 70% { box-shadow: 0 0 0 6px rgba(74,222,128,0) } 100% { box-shadow: 0 0 0 0 rgba(74,222,128,0) } }
.menubar__clock b { font-weight: 500; color: #fff; font-variant-numeric: tabular-nums; }

/* ---------- ссылки слева сверху ---------- */
.legal { position: absolute; left: 7%; top: 50px; z-index: 6; display: flex; gap: 8px; }
.legal button, .legal a {
  border: 0; cursor: pointer; font-size: 11px; color: #55555e; padding: 6px 12px; border-radius: 99px;
  background: #fff; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.07); transition: box-shadow .2s, color .2s, transform .2s;
}
.legal button:hover, .legal a:hover { color: var(--fg); box-shadow: 0 8px 22px rgba(0, 0, 0, 0.13); transform: translateY(-1px); }

/* ---------- уведомление ---------- */
.toast {
  position: absolute; right: 9%; top: 46px; z-index: 25; width: 290px;
  display: flex; align-items: center; gap: 11px; padding: 10px 12px; border-radius: 14px;
  background: rgba(40, 40, 44, 0.9); color: #fff; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.24);
}
.toast__icon { flex: none; width: 30px; height: 30px; border-radius: 8px; background: linear-gradient(135deg, #ff7a9c, #e0356b); position: relative; }
.toast__icon::after { content: ""; position: absolute; inset: 9px; border-radius: 3px; background: rgba(255, 255, 255, 0.9); }
.toast__body { flex: 1; min-width: 0; border: 0; background: none; text-align: left; cursor: pointer; display: grid; font-size: 12px; line-height: 1.35; padding: 0; }
.toast__body b { font-weight: 600; font-size: 11px; opacity: 0.65; }
.toast__close { flex: none; border: 0; cursor: pointer; background: rgba(255, 255, 255, 0.14); color: #fff; width: 20px; height: 20px; border-radius: 50%; line-height: 1; padding: 0; }
.toast__close:hover { background: rgba(255, 255, 255, 0.28); }

/* ---------- плеер-«островок» ---------- */
.island { position: absolute; left: 0; right: 0; top: 44px; z-index: 26; display: flex; justify-content: center; pointer-events: none; }
.island__pill {
  pointer-events: auto; width: min(430px, calc(100% - 20px));
  display: flex; align-items: center; gap: 12px; padding: 9px 12px 9px 10px; border-radius: 16px;
  background: rgba(46, 46, 50, 0.92); color: #fff; -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.26);
}
.island__disc {
  flex: none; width: 32px; height: 32px; border-radius: 50%;
  background: radial-gradient(circle, #e9e9ee 0 12%, #111 13% 100%); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14), inset 0 0 0 7px rgba(255,255,255,.04);
  animation: spin 3s linear infinite; animation-play-state: paused;
}
.island.is-playing .island__disc { animation-play-state: running; }
@keyframes spin { to { rotate: 360deg; } }
.island__meta { flex: 1; min-width: 0; display: grid; font-size: 12px; line-height: 1.25; }
.island__meta b { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.island__meta > span { font-size: 10px; opacity: 0.55; }
.island__bar { display: block; height: 3px; margin-top: 6px; border-radius: 3px; background: rgba(255, 255, 255, 0.18); overflow: hidden; }
.island__bar i { display: block; height: 100%; width: 0; border-radius: 3px; background: #fff; }
.island__ctl { flex: none; display: flex; align-items: center; gap: 2px; }
.island__ctl button { border: 0; background: none; cursor: pointer; width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; color: #fff; padding: 0; }
.island__ctl button:hover { background: rgba(255, 255, 255, 0.16); }
.island__ctl svg { width: 15px; height: 15px; fill: currentColor; }
.island__off { font-size: 16px; opacity: 0.6; }

/* ---------- сцена: иллюстрация, живые детали, папки ---------- */
.stage {
  position: absolute; left: 52%; top: 53.5%; z-index: 2;
  width: min(84vw, 132svh); translate: -50% -50%;
  container-type: inline-size;
}
.stage__scene { position: relative; }
.stage__media { width: 100%; aspect-ratio: 3 / 2; }
.stage__media img, .stage__media video { width: 100%; height: 100%; object-fit: contain; display: block; -webkit-user-drag: none; user-select: none; }
.stage__media--empty { display: grid; place-items: center; color: var(--muted); font-size: 13px; border: 1px dashed rgba(0,0,0,.18); border-radius: 20px; }

.fx { position: absolute; inset: 0; pointer-events: none; }
.fx > * { position: absolute; }
/* жвачка: растёт от рта вправо, лопается */
.fx__bubble {
  aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; transform-origin: 8% 58%;
  background: radial-gradient(circle at 34% 30%, #ffe3ee 0 7%, #fbb4cd 26%, #f596b9 68%, #e97ba6 100%);
  box-shadow: inset 0 0 0 0.11cqw rgba(70, 30, 48, 0.75);
}
.fx__pop { aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; border: 0.18cqw dashed #f596b9; opacity: 0; }
/* экран большого монитора */
.fx__screen {
  display: grid; place-items: center; overflow: hidden; border-radius: 0.5cqw;
  font: 600 1.42cqw/1 var(--pixel); color: #16335c; letter-spacing: 0.02em;
}
.fx__screen::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(rgba(255,255,255,.16) 0 1px, transparent 1px 3px); animation: scan 5s linear infinite; }
@keyframes scan { to { background-position: 0 30px; } }
.fx__type::after { content: "_"; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.fx__screen2 { display: grid; place-items: center; font: 600 1.5cqw/1 var(--pixel); color: #16335c; opacity: 0.85; }
/* свет лампы */
.fx__lamp { width: 17%; aspect-ratio: 1; translate: -42% -30%; border-radius: 50%; background: radial-gradient(circle, rgba(255, 212, 128, 0.5) 0%, rgba(255, 212, 128, 0.18) 38%, rgba(255, 212, 128, 0) 68%); }

.folders { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.folder {
  position: absolute; pointer-events: auto; translate: -50% -50%;
  border: 0; background: none; padding: 4px; cursor: pointer; border-radius: 8px;
  -webkit-tap-highlight-color: transparent;
}
.folder__in { display: flex; flex-direction: column; align-items: center; gap: 3px; }
.folder__icon { position: relative; display: block; width: clamp(34px, 4.6cqw, 62px); filter: drop-shadow(0 5px 8px rgba(20, 60, 120, 0.28)); transition: scale .25s cubic-bezier(.2, 1.5, .4, 1); }
.folder__icon svg { width: 100%; height: auto; display: block; }
.folder:hover .folder__icon { scale: 1.1; }
.folder.is-drag { cursor: grabbing; z-index: 5; }
.folder.is-drag .folder__icon { scale: 1.16; filter: drop-shadow(0 16px 18px rgba(20, 60, 120, 0.3)); }
.folder__dot { position: absolute; right: -3px; top: -1px; width: 22%; aspect-ratio: 1; border-radius: 50%; background: var(--hot); border: 1.5px solid #fff; }
.folder__label { font: 500 clamp(7px, 0.78cqw, 10px)/1.2 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: #fff; white-space: nowrap; padding: 2px 5px 1px; border-radius: 4px; background: rgba(30, 30, 36, 0.5); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }

/* ---------- карточка бренда ---------- */
.brandcard {
  position: absolute; left: 6.5%; top: 47%; z-index: 5; translate: 0 -50%;
  padding: 14px 44px 13px 20px; border-radius: 10px;
  background: linear-gradient(90deg, rgba(255,255,255,.9) 0 62%, rgba(255,255,255,.4) 100%);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.1), inset 0 1px 0 #fff;
}
.brandcard h1 { font: 300 clamp(28px, 3.3vw, 50px)/1 var(--sans); letter-spacing: -0.05em; white-space: nowrap; }
.brandcard p { margin-top: 8px; font: 500 clamp(7px, 0.62vw, 9.5px)/1.75 var(--mono); letter-spacing: 0.13em; text-transform: uppercase; color: #4c4c55; white-space: nowrap; }
.brandcard p span { display: block; }
.brandcard p span:nth-child(2) { padding-left: 2.4em; }
.brandcard p span:nth-child(3) { padding-left: 1em; }

/* ---------- док ---------- */
.dock {
  position: absolute; left: 50%; bottom: 3.2%; z-index: 20; translate: -50% 0;
  display: flex; align-items: flex-end; gap: 10px; padding: 8px 12px; border-radius: 20px;
  background: rgba(255, 255, 255, 0.3); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.55); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.09);
}
.dock__item {
  position: relative; flex: none; display: block; width: 46px; height: 46px; border: 0; background: none; padding: 0; cursor: pointer;
  transform-origin: 50% 100%; transform: scale(var(--s, 1)); margin: 0 calc((var(--s, 1) - 1) * 21px);
  transition: transform .12s ease-out, margin .12s ease-out; -webkit-tap-highlight-color: transparent;
}
.dock__ic { display: block; width: 100%; height: 100%; filter: drop-shadow(0 4px 7px rgba(0, 0, 0, 0.2)); }
.dock__ic svg { width: 100%; height: 100%; display: block; }
.dock__item::before {
  content: attr(data-label); position: absolute; left: 50%; bottom: calc(100% + 10px); translate: -50% 0;
  background: rgba(40, 40, 44, 0.92); color: #fff; font-size: 11px; padding: 3px 8px; border-radius: 6px; white-space: nowrap;
  opacity: 0; transition: opacity .15s; pointer-events: none; transform: scale(calc(1 / var(--s, 1)));
}
.dock__item:hover::before, .dock__item:focus-visible::before { opacity: 1; }
.dock__item.is-on::after { content: ""; position: absolute; left: 50%; bottom: -6px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: #333; }
.dock__sep { width: 1px; height: 40px; margin: 0 4px 3px; background: rgba(0, 0, 0, 0.14); }

/* ---------- окно ---------- */
.overlay {
  position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px;
  background: rgba(112, 112, 122, 0.3); -webkit-backdrop-filter: blur(9px); backdrop-filter: blur(9px);
}
.win {
  width: min(760px, 100%); max-height: min(86svh, 660px); display: flex; flex-direction: column; overflow: hidden;
  background: rgba(255, 255, 255, 0.97); border-radius: 12px; outline: none;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(0, 0, 0, 0.08);
  font: 13px/1.6 var(--mono);
}
.win[data-kind="works"] { width: min(900px, 100%); }
.win[data-kind="notes"], .win[data-kind="legal"] { width: min(520px, 100%); }
.win__bar {
  flex: none; height: 38px; display: grid; grid-template-columns: 60px minmax(0, 1fr) 60px; align-items: center; padding: 0 14px;
  background: linear-gradient(#f7f7f7, #ebebec); border-bottom: 1px solid rgba(0, 0, 0, 0.09);
  cursor: grab; user-select: none; touch-action: none;
}
.win__bar:active { cursor: grabbing; }
.win__lights { display: flex; gap: 8px; }
.win__lights > * { width: 12px; height: 12px; border-radius: 50%; border: 0; padding: 0; box-shadow: inset 0 0 0 0.5px rgba(0, 0, 0, 0.18); }
.win__close { background: #ff5f57; cursor: pointer; position: relative; }
.win__close::after { content: "×"; position: absolute; inset: 0; display: grid; place-items: center; font: 700 10px/1 var(--sans); color: rgba(80, 0, 0, 0.7); opacity: 0; }
.win__lights:hover .win__close::after, .win__close:focus-visible::after { opacity: 1; }
.win__lights i:nth-child(2) { background: #febc2e; }
.win__lights i:nth-child(3) { background: #28c840; }
.win__title { font-size: 11px; letter-spacing: 0.08em; color: #5a5a62; text-transform: uppercase; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.win__body { padding: clamp(20px, 4vw, 40px); overflow: auto; overscroll-behavior: contain; }

/* содержимое окон */
.w-h { font: 500 clamp(22px, 3vw, 30px)/1.15 var(--mono); letter-spacing: -0.02em; }
.w-sub { color: var(--muted); font-size: 12px; margin-top: 6px; }
.w-text p { margin-top: 12px; color: #3c3c44; max-width: 62ch; }

.w-about { display: grid; grid-template-columns: 128px 1fr; gap: 24px; align-items: start; }
.w-photo { width: 128px; aspect-ratio: 1; border-radius: 16px; overflow: hidden; background: radial-gradient(90% 80% at 40% 25%, #cfe4ff, #8fb6ee 60%, #5d86c8); display: grid; place-items: center; color: #fff; font: 600 34px/1 var(--sans); }
.w-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.w-facts { margin-top: 18px; font-size: 12px; }
.w-facts div { display: grid; grid-template-columns: 150px 1fr; gap: 12px; padding: 7px 0; border-bottom: 1px dashed var(--line); }
.w-facts dt { color: var(--muted); }

.w-contact { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 28px; align-items: center; }
.w-form { margin-top: 22px; display: grid; gap: 4px; }
.w-form label { display: grid; grid-template-columns: 92px 1fr; align-items: center; gap: 10px; font-size: 12px; color: var(--muted); }
.w-form input, .w-form textarea { width: 100%; border: 0; border-bottom: 1px solid rgba(0, 0, 0, 0.2); background: none; padding: 9px 0; font: inherit; color: var(--fg); outline: none; resize: none; border-radius: 0; }
.w-form input:focus, .w-form textarea:focus { border-bottom-color: var(--blue); box-shadow: 0 1px 0 var(--blue); }
.w-links { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 12px; }
.w-links a { color: var(--blue); }
.w-links a:hover { text-decoration: underline; }
.w-note { margin-top: 12px; font-size: 11px; color: var(--muted); }
.blob { position: relative; aspect-ratio: 1; max-width: 220px; width: 100%; justify-self: center; display: grid; place-items: center; }
.blob__shape { position: absolute; inset: 0; border-radius: 58% 42% 55% 45% / 48% 60% 40% 52%; background: radial-gradient(circle at 35% 30%, #e6f1ff, #a9cdfb 45%, #6ea8f4 80%); filter: blur(1px); }
.blob__btn { position: relative; width: 72px; height: 72px; border-radius: 50%; border: 0; cursor: pointer; background: #111; color: #fff; font: 500 11px/1.1 var(--mono); box-shadow: 0 12px 28px rgba(0, 0, 0, 0.3); transition: scale .2s; }
.blob__btn:hover { scale: 1.08; }

.w-steps { margin-top: 20px; display: grid; gap: 2px; }
.w-steps li { display: grid; grid-template-columns: 44px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px dashed var(--line); }
.w-steps span { color: var(--blue); }
.w-steps h3 { font: 500 15px/1.3 var(--mono); }
.w-steps p { color: var(--muted); font-size: 12px; margin-top: 3px; }

.w-works { margin-top: 20px; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.work { display: block; width: 100%; padding: 0; text-align: left; cursor: pointer; font: inherit; color: inherit; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); background: #fafafa; transition: translate .25s, box-shadow .25s; }
.work:hover { translate: 0 -3px; box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12); }
.work__cover { display: grid; place-items: center; aspect-ratio: 16 / 10; background-size: cover; background-position: center; }
.work__cover--ph { background: radial-gradient(120% 90% at 20% 10%, color-mix(in srgb, var(--tint) 45%, #fff), #fbfbfd 70%); }
.work__cover i { font: 400 clamp(15px, 2vw, 19px)/1.25 var(--sans); font-style: normal; letter-spacing: -0.02em; color: var(--fg); max-width: 9em; text-align: center; }
.work__meta { display: block; padding: 10px 12px 12px; }
.work__meta b { display: block; font: 500 13px/1.3 var(--mono); }
.work__meta small { display: block; color: var(--muted); font-size: 11px; margin-top: 2px; }

/* разворот кейса */
.win__body > .w-back ~ * { margin-top: 22px; }
.w-back { border: 0; background: none; padding: 0; cursor: pointer; font: inherit; font-size: 12px; color: var(--blue); }
.w-back:hover { text-decoration: underline; }
.w-eyebrow { font-size: 11px; color: var(--blue); margin-bottom: 6px; }
.w-points li { position: relative; padding: 3px 0 3px 22px; color: #3c3c44; max-width: 62ch; }
.w-points li::before { content: "—"; position: absolute; left: 0; color: var(--muted); }
.w-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 16px 22px; }
.w-stats dt { font: 400 clamp(20px, 2.6vw, 26px)/1.15 var(--sans); letter-spacing: -0.02em; }
.w-stats dd { font-size: 11px; color: var(--muted); margin-top: 4px; }
.w-clients { font: 300 clamp(22px, 3.4vw, 34px)/1.2 var(--sans); letter-spacing: -0.03em; }
.w-reels { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 12px; }
.w-reels a { display: block; font-size: 11px; color: var(--blue); }
.w-reels img { width: 100%; aspect-ratio: 9 / 14; object-fit: cover; display: block; border-radius: 10px; border: 1px solid var(--line); margin-bottom: 6px; transition: translate .25s, box-shadow .25s; }
.w-reels a:hover img { translate: 0 -3px; box-shadow: 0 12px 26px rgba(0, 0, 0, 0.16); }
.w-photos { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; align-items: start; }
.w-photos img { width: 100%; height: auto; display: block; border-radius: 10px; border: 1px solid var(--line); }
.w-steps--exp li { grid-template-columns: 168px 1fr; }
.w-steps--exp span { font-size: 12px; padding-top: 2px; }

.w-notes { margin-top: 16px; }
.w-notes li { padding: 10px 0 10px 22px; border-bottom: 1px solid rgba(0, 0, 0, 0.07); position: relative; }
.w-notes li::before { content: ""; position: absolute; left: 2px; top: 17px; width: 8px; height: 8px; border-radius: 50%; background: #ffcf3a; }

/* ---------- телефон ---------- */
@media (max-width: 820px) {
  body { overflow: auto; }
  .desk { height: auto; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; gap: 14px; padding: 50px 16px 96px; }
  .desk::after { position: fixed; }
  .menubar { position: fixed; left: 10px; right: 10px; }
  .menubar__nav, .menubar__status { display: none; }
  .legal { position: static; order: 1; }
  .legal button, .legal a { box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08); }
  .toast { position: fixed; top: 44px; left: 10px; right: 10px; width: auto; }
  .island { position: fixed; }
  .brandcard { position: static; translate: none; order: 2; align-self: flex-start; }
  .brandcard h1 { font-size: clamp(30px, 10vw, 44px); }
  .brandcard p { font-size: 8.5px; }
  .stage { position: relative; left: auto; top: auto; translate: none; order: 3; width: min(calc(100% + 32px), max(260px, calc(150svh - 570px))); margin: 0 -16px; align-self: center; }
  .folders { position: static; display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 10px; padding: 0 8px; }
  .folder { position: static; translate: none; justify-self: center; }
  .folder__icon { width: 52px; }
  .folder__label { font-size: 9px; color: var(--fg); background: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .dock { position: fixed; bottom: 14px; gap: 8px; padding: 7px 10px; }
  .dock__item { width: 42px; height: 42px; }
  .dock__item::before { display: none; }
  .dock__sep { height: 36px; }

  .overlay { padding: 0; place-items: end center; }
  .win, .win[data-kind] { width: 100%; max-height: 88svh; border-radius: 16px 16px 0 0; }
  .w-about { grid-template-columns: 1fr; }
  .w-photo { width: 96px; }
  .w-facts div { grid-template-columns: 110px 1fr; }
  .w-contact { grid-template-columns: 1fr; }
  .blob { max-width: 150px; order: 2; }
  .w-form label { grid-template-columns: 76px 1fr; }
  .w-steps--exp li { grid-template-columns: 1fr; gap: 2px; }
  .w-photos { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 821px) {
  .folder { touch-action: none; }
}
/* широкий телефон и планшет: уведомление справа, чтобы не закрывало ссылки и бренд */
@media (min-width: 560px) and (max-width: 820px) {
  .toast { left: auto; width: 300px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
