/* Портфолио Анастасии Бортниковой: воссоздано по скриншотам старой версии */
:root {
  --cream: #fff7e8; --ink: #3a4264; --blue: #5b688c; --blue-d: #4b5677; --muted: #5f6a8c;
  --sand: #ead7a0; --sand-bg: #e8d8a6; --sage: #6b8f58; --sage-l: #bfe3cf; --mint: #d5e6da; --lime: #dce6c4;
  --line: rgba(58, 66, 100, .25);
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
  --mono: ui-monospace, "SF Mono", Menlo, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 17px/1.55 var(--sans); overflow-x: hidden; }
img, video { display: block; max-width: 100%; }
h1, h2, h3, h4, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--sage); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 52px); }
.sec { padding: clamp(72px, 10vw, 120px) 0; }
.cream { background: var(--cream); } .blue { background: var(--blue); color: var(--sand); }
.mint { background: var(--mint); } .sand { background: var(--sand-bg); } .lime { background: var(--lime); }
.grid2 { display: grid; gap: 24px; }
@media (min-width: 960px) { .grid2 { grid-template-columns: 300px minmax(0, 1fr); } }
.kicker { font-size: 13px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; opacity: .85; }
.h2 { font: 700 clamp(46px, 8vw, 104px)/1 var(--serif); letter-spacing: -.02em; padding-bottom: 22px; border-bottom: 3px double currentColor; margin-bottom: 30px; }
.h2.sm { font-size: clamp(42px, 6vw, 76px); }
.sub { font: italic clamp(19px, 2vw, 26px)/1.45 var(--serif); max-width: 900px; margin-bottom: 40px; }
.sub a { color: inherit; }
.caps { font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; margin: 48px 0 16px; }
mark.hl { background: linear-gradient(transparent 55%, rgba(191, 214, 154, .85) 55%); color: inherit; padding: 0 2px; }
mark.hl.v { background: linear-gradient(transparent 55%, rgba(91, 104, 140, .25) 55%); }

.btns { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.btn { display: inline-flex; align-items: center; min-height: 54px; padding: 0 30px; border-radius: 999px; border: 1.5px solid var(--ink); text-decoration: none; font-size: 17px; cursor: pointer; transition: transform .15s, background .15s; }
.btn:hover { transform: translateY(-2px); }
.btn.fill { background: var(--blue); border-color: var(--blue); color: var(--sand); }
.btn.line { background: transparent; color: var(--ink); }
.btn.sandb { background: var(--sand); border-color: var(--sand); color: var(--ink); margin-top: 36px; }

/* Таблетка-меню */
.pill { position: fixed; top: 14px; left: 50%; transform: translateX(-50%); z-index: 50; display: flex; align-items: center; gap: 22px; padding: 8px 8px 8px 26px; background: var(--cream); border-radius: 20px; box-shadow: 0 10px 30px rgba(58, 66, 100, .18); }
.pill__brand { font-weight: 700; font-size: 20px; text-decoration: none; }
.pill__burger { width: 46px; height: 46px; border: 0; border-radius: 14px; background: var(--sand); display: grid; place-content: center; gap: 6px; cursor: pointer; }
.pill__burger i { display: block; width: 22px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: transform .2s; }
.pill.open .pill__burger i:first-child { transform: translateY(4px) rotate(45deg); }
.pill.open .pill__burger i:last-child { transform: translateY(-4px) rotate(-45deg); }
.pill__menu { position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%); width: min(92vw, 360px); background: var(--cream); border-radius: 20px; box-shadow: 0 10px 30px rgba(58, 66, 100, .18); padding: 10px; display: none; }
.pill.open .pill__menu { display: grid; }
.pill__menu a { padding: 12px 16px; border-radius: 12px; text-decoration: none; font-size: 18px; }
.pill__menu a:hover { background: var(--mint); }

/* Первый экран */
.hero { position: relative; height: 100vh; height: 100dvh; min-height: 560px; overflow: hidden; background: #d6cfc0; color: var(--blue); }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(234, 215, 160, .25), rgba(234, 215, 160, .05) 40%, rgba(234, 215, 160, .3)); pointer-events: none; }
.hero__name { position: absolute; left: 0; right: 0; top: 30%; z-index: 2; overflow: hidden; mix-blend-mode: multiply; pointer-events: none; }
.hero__track { display: flex; width: max-content; animation: run 40s linear infinite; }
.hero__track span { font: 500 clamp(110px, 17vw, 260px)/1 var(--sans); letter-spacing: -.04em; white-space: nowrap; color: var(--blue); }
@keyframes run { to { transform: translateX(-50%); } }
.hero__floats li { position: absolute; left: var(--x); top: var(--y); z-index: 3; padding: 10px 20px; border-radius: 999px; font-size: 16px; color: #fff; box-shadow: 0 6px 18px rgba(0, 0, 0, .15); animation: float 6s ease-in-out infinite; animation-delay: var(--d); }
.hero__floats li.b { background: var(--blue); } .hero__floats li.g { background: var(--sage); }
@keyframes float { 50% { transform: translateY(-14px); } }
.hero__top { position: absolute; top: 0; left: 0; right: 0; z-index: 4; display: grid; grid-template-columns: 1fr auto auto auto; gap: 48px; padding: 36px clamp(20px, 4vw, 52px); font-size: 17px; }
.hero__brand { font-size: 22px; text-decoration: none; }
.hero__col { display: grid; gap: 2px; } .hero__col a { text-decoration: none; }
.hero__bottom { position: absolute; left: clamp(20px, 4vw, 52px); right: clamp(20px, 4vw, 52px); bottom: 28px; z-index: 4; display: flex; justify-content: space-between; border-top: 2px solid var(--blue); padding-top: 14px; font-size: 16px; }
.hero__bottom div { display: grid; } .hero__bottom .r { text-align: right; }
@media (max-width: 760px) { .hero__top { grid-template-columns: 1fr auto; gap: 16px; } .hero__top .hero__col { display: none; } .hero__floats li { font-size: 13px; padding: 8px 14px; } }

/* Вступление */
.role { color: var(--muted); margin-bottom: 18px; }
.lead { font: clamp(24px, 3vw, 40px)/1.3 var(--serif); }
.slash { color: var(--muted); margin-top: 28px; line-height: 1.8; }
.term { margin-top: 48px; background: var(--blue); color: #f5ecd6; border-radius: 26px; overflow: hidden; box-shadow: 0 20px 40px rgba(58, 66, 100, .2); }
.term__bar { display: flex; align-items: center; gap: 12px; padding: 14px 22px; background: linear-gradient(90deg, var(--blue-d), #7d9a62); font-family: var(--mono); font-size: 14px; }
.term__bar i { width: 12px; height: 12px; border-radius: 50%; background: #9cc77d; }
.term__body { margin: 0; min-height: 300px; padding: 22px 26px; font: 16px/1.9 var(--mono); white-space: pre-wrap; }
.term__body .k { color: var(--sand); }
.term__body::after { content: "▍"; color: var(--sage-l); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 18px; margin-top: 64px; }
.stats li { background: #f3e7c8; border-radius: 26px 26px 26px 26px; border-top: 6px solid var(--blue); padding: 22px 22px 26px; }
.stats li.c2 { border-top-color: #a9c08f; } .stats li.c3 { border-top-color: #d5bf7e; }
.stats b { display: block; font: 400 clamp(34px, 3.4vw, 46px)/1.1 var(--serif); }
.stats span { display: block; margin-top: 10px; color: var(--muted); font-size: 15px; }

.ticker { background: var(--blue); color: var(--sand); overflow: hidden; padding: 26px 0; border-bottom: 1px solid rgba(234, 215, 160, .2); }
.ticker__track { display: flex; width: max-content; animation: run 50s linear infinite; }
.ticker__track span { font-size: clamp(30px, 4vw, 52px); font-weight: 500; white-space: nowrap; }

/* Работы */
.filters { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 44px; }
.filters button { padding: 10px 22px; border-radius: 999px; border: 1.5px solid rgba(234, 215, 160, .7); background: transparent; color: var(--sand); cursor: pointer; font-size: 17px; }
.filters button.on { background: rgba(255, 255, 255, .2); border-color: var(--sand-l, #f2e6c2); }
.works { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 30px 26px; }
.work { text-align: left; background: none; border: 0; padding: 0; cursor: pointer; color: var(--sand); }
.work__img { position: relative; aspect-ratio: 9 / 13; border-radius: 26px; overflow: hidden; background: var(--blue-d); }
.work__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.work:hover .work__img img { transform: scale(1.04); }
.work__tag { position: absolute; top: 14px; left: 14px; padding: 8px 16px; border-radius: 999px; background: rgba(107, 143, 88, .9); color: #fff; font-size: 15px; }
.work small { display: block; margin-top: 14px; opacity: .8; font-size: 15px; }
.work b { display: block; font-size: 22px; font-weight: 500; line-height: 1.25; }
.work[hidden] { display: none; }

/* Фотосессии */
.pgroup { border-top: 1px solid var(--line); padding-top: 26px; margin-top: 56px; }
.pgroup:first-child { margin-top: 20px; }
.pgroup h3 { font-size: 15px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--blue); }
.pgroup p { color: var(--muted); margin: 10px 0 26px; }
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 20px; }
.ph { padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 22px; overflow: hidden; aspect-ratio: 3 / 4; }
.ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.ph:hover img { transform: scale(1.05); }

/* Строки навыков и услуг */
.rows { display: grid; gap: 0 56px; }
@media (min-width: 860px) { .rows { grid-template-columns: 1fr 1fr; } }
.row { position: relative; display: flex; justify-content: space-between; gap: 18px; padding: 26px 46px 30px 0; border-top: 3px solid var(--blue); text-decoration: none; }
.row.t2 { border-top-color: #a9c08f; } .row.t3 { border-top-color: #d5bf7e; }
.row::after { content: "↗"; position: absolute; right: 0; top: 24px; font-size: 26px; color: var(--muted); opacity: .6; transition: transform .2s; }
.row:hover::after { transform: translate(3px, -3px); }
.row h3 { font: 700 clamp(24px, 2.4vw, 32px)/1.15 var(--serif); }
.row p { margin-top: 10px; color: var(--muted); }
.thumb { flex: none; width: 92px; height: 120px; border-radius: 16px; overflow: hidden; border: 4px solid #fff; box-shadow: 0 10px 22px rgba(58, 66, 100, .22); transform: rotate(4deg); background: var(--ink); transition: transform .25s; }
.row:nth-child(even) .thumb { transform: rotate(-3deg); }
.row:hover .thumb { transform: rotate(0) scale(1.05); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb.txt { display: grid; place-content: center; text-align: center; font: 600 15px/1.4 var(--mono); color: #c9d69a; }
.thumb.aa { font: 700 40px var(--serif); color: var(--cream); background: var(--blue); }

.chips { display: flex; flex-wrap: wrap; gap: 12px; }
.chips li { padding: 10px 20px; border-radius: 999px; border: 1.5px solid var(--blue); font-size: 17px; }
.chips li:nth-child(3n+2) { border-color: #a9c08f; } .chips li:nth-child(3n) { border-color: #d5bf7e; }
.chips li.dash { border-style: dashed; color: var(--muted); }
.lime .chips { margin-top: 44px; }

.two { display: grid; gap: 40px; margin-top: 72px; }
@media (min-width: 860px) { .two { grid-template-columns: 1fr 1fr; gap: 56px; } }
.h3big { font: 700 clamp(36px, 4.4vw, 58px)/1.1 var(--serif); margin-bottom: 18px; }
.lines li { padding: 16px 0; border-top: 1px solid var(--line); font-size: 19px; }

/* Стикеры */
.stickers { position: relative; display: flex; flex-wrap: wrap; gap: 12px 14px; padding: 6px 0 10px; }
.stk { padding: 12px 22px; border: 0; border-radius: 999px; font-weight: 700; font-size: 17px; cursor: grab; transform: rotate(var(--r)) translate(var(--tx, 0), var(--ty, 0)); box-shadow: 0 6px 14px rgba(58, 66, 100, .18); touch-action: none; user-select: none; }
.stk.dragging { cursor: grabbing; z-index: 5; box-shadow: 0 14px 26px rgba(58, 66, 100, .3); }
.stk.w { background: #fff; color: var(--ink); } .stk.b { background: var(--blue); color: #fff; }
.stk.i { background: #333b5c; color: #fff; } .stk.g { background: #9dbb86; color: var(--ink); }
.stk.round { width: 104px; height: 104px; border-radius: 50%; padding: 0; line-height: 1.2; }
.hint { margin: 16px 0 56px; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

/* Процесс */
.proc { display: grid; gap: 40px; }
@media (min-width: 960px) { .proc { grid-template-columns: 0.9fr 1.3fr; gap: 60px; } .proc__left { position: sticky; top: 100px; align-self: start; } }
.proc .kicker { margin-bottom: 30px; }
.steps { display: grid; gap: 12px; margin-top: 10px; }
.steps a { display: flex; gap: 18px; align-items: center; padding: 16px 22px; border-radius: 999px; background: rgba(255, 255, 255, .12); border: 1.5px solid transparent; text-decoration: none; font-size: 20px; }
.steps a i { font-style: normal; font-size: 14px; opacity: .7; }
.steps a.on { background: rgba(255, 255, 255, .2); border-color: var(--sand); }
.proc__right { display: grid; gap: 34px; }
.pcard { display: grid; gap: 30px; align-items: center; padding: 30px; border-radius: 34px; border: 1.5px solid rgba(234, 215, 160, .4); background: rgba(255, 255, 255, .1); }
@media (min-width: 700px) { .pcard { grid-template-columns: 300px 1fr; } }
.pcard i { font-style: normal; font-size: 16px; opacity: .8; }
.pcard h3 { font: 700 clamp(32px, 3.4vw, 46px)/1.1 var(--serif); margin: 8px 0 14px; }
.note { position: relative; padding: 46px 26px 28px; border-radius: 6px; color: var(--ink); box-shadow: 0 16px 30px rgba(0, 0, 0, .2); transform: rotate(-3deg); }
.note::before { content: ""; position: absolute; top: -12px; left: 50%; width: 110px; height: 28px; transform: translateX(-50%) rotate(-3deg); background: rgba(255, 255, 255, .55); }
.note.n1 { background: #ead7a0; } .note.n2 { background: #c9d69a; transform: rotate(0); } .note.n3 { background: var(--blue-d); color: var(--cream); transform: rotate(-1deg); } .note.n4 { background: var(--cream); transform: rotate(0); }
.note svg { width: 70px; height: 70px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.note svg .fill { fill: currentColor; stroke: none; }
.note__t { font: italic 20px var(--serif); margin: 22px 0 16px; }
.note ul { display: flex; flex-wrap: wrap; gap: 8px; }
.note li { padding: 4px 14px; border: 1.5px solid currentColor; border-radius: 999px; font-size: 15px; }

/* Бриф */
.brief { display: grid; gap: 40px; }
@media (min-width: 1000px) { .brief { grid-template-columns: 1.1fr 1fr; } }
.brief .caps:first-child { margin-top: 0; }
.opts { display: flex; flex-wrap: wrap; gap: 12px; }
.opts button { padding: 12px 24px; border-radius: 999px; border: 1.5px solid var(--ink); background: transparent; cursor: pointer; font-size: 18px; }
.opts button.on { background: #3e4669; border-color: #3e4669; color: #fff; }
.brief__out .term { margin-top: 0; }
.like { display: flex; gap: 20px; align-items: center; margin-top: 22px; padding: 16px; border: 1.5px solid var(--line); border-radius: 22px; text-decoration: none; }
.like img { width: 86px; height: 110px; object-fit: cover; border-radius: 12px; }
.like small { display: block; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.like b { display: block; font: 700 24px/1.2 var(--serif); margin: 6px 0; }
.like span { color: var(--muted); }
.status { min-height: 1.5em; margin-top: 12px; color: var(--sage); }

/* Результаты */
.bars li { display: grid; grid-template-columns: minmax(0, 1.1fr) 1.4fr 90px; gap: 24px; align-items: center; padding: 18px 0; }
.bars span { font-size: 19px; line-height: 1.35; }
.bars small { display: block; font-size: 14px; color: var(--muted); }
.bars i { height: 6px; border-radius: 6px; background: rgba(58, 66, 100, .15); position: relative; overflow: hidden; }
.bars i::after { content: ""; position: absolute; inset: 0; width: var(--v); border-radius: 6px; background: linear-gradient(90deg, var(--blue), #a9c08f); }
.bars b { font: 400 34px var(--serif); text-align: right; }
@media (max-width: 700px) { .bars li { grid-template-columns: 1fr auto; } .bars i { grid-column: 1 / -1; grid-row: 2; } }

/* МАКСИМА */
.mx { display: grid; gap: 0 56px; }
@media (min-width: 860px) { .mx { grid-template-columns: 1fr 1fr; } }
.mx div { padding: 28px 0; border-top: 3px solid #c9d69a; }
.mx div:nth-child(2) { border-top-color: #c9d69a; } .mx div:nth-child(3) { border-top-color: var(--sand); }
.mx h3 { font: 700 30px var(--serif); }
.mx p { margin: 10px 0 18px; opacity: .85; }
.out { display: inline-block; margin: 0 10px 8px 0; padding: 10px 22px; border: 1.5px solid var(--sand); border-radius: 999px; text-decoration: none; }

/* Опыт */
.cols3 { display: grid; gap: 28px; }
@media (min-width: 1000px) { .cols3 { grid-template-columns: repeat(3, 1fr); } }
.ec { border-radius: 34px; padding: 34px 32px 40px; border-top: 8px solid; }
.ec.e1 { background: #e3e4ee; border-color: var(--blue); } .ec.e2 { background: var(--sand-bg); border-color: #cbb36a; } .ec.e3 { background: var(--lime); border-color: #a9c08f; }
.ec > i { font-style: normal; font-weight: 700; color: var(--muted); }
.ec h3 { font: 700 clamp(34px, 3.2vw, 46px)/1.1 var(--serif); margin: 10px 0 8px; }
.per { color: var(--muted); padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.big { display: flex; gap: 18px; align-items: center; padding: 26px 0; border-bottom: 1px solid var(--line); }
.big b { font: 400 clamp(52px, 5vw, 72px)/1 var(--serif); }
.big span { color: var(--muted); }
.ec h4 { font: 700 26px/1.2 var(--serif); margin-top: 30px; color: var(--muted); }
.ec em { display: inline-block; margin: 12px 0 16px; padding: 6px 16px; border-radius: 999px; background: rgba(255, 255, 255, .7); font-style: normal; font-weight: 700; font-size: 15px; }
.ec ul li { position: relative; padding-left: 22px; margin-bottom: 14px; }
.ec ul li::before { content: ""; position: absolute; left: 0; top: .6em; width: 8px; height: 8px; border-radius: 50%; background: currentColor; opacity: .6; }
.tools { margin-top: 26px; padding-top: 22px; border-top: 1px dashed var(--line); color: var(--muted); }

/* Газета */
.paper { background: #f5ecd0 repeating-linear-gradient(0deg, rgba(58, 66, 100, .025) 0 2px, transparent 2px 4px); border-radius: 18px; padding: clamp(24px, 4vw, 48px); box-shadow: 0 20px 50px rgba(58, 66, 100, .18); font-family: var(--serif); }
.paper__top { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding-bottom: 10px; border-bottom: 3px double var(--ink); font-size: 14px; letter-spacing: .12em; text-transform: uppercase; }
.paper__name { font: 700 clamp(56px, 11vw, 150px)/0.95 var(--serif); text-align: center; text-transform: uppercase; padding: 26px 0 18px; border-bottom: 2px solid var(--ink); }
.paper__sub { text-align: center; font-style: italic; font-size: clamp(18px, 2vw, 26px); padding: 14px 0; border-bottom: 3px double var(--ink); }
.paper__cols { display: grid; gap: 28px; padding: 30px 0; }
@media (min-width: 900px) { .paper__cols { grid-template-columns: 1.2fr 1fr 1fr; } }
.story { padding: 6px 14px; border-radius: 10px; cursor: pointer; transition: transform .25s, box-shadow .25s, background .25s; }
.story.cut { background: #fffaf0; border: 2px dashed var(--ink); transform: rotate(-1.5deg) translateY(-6px); box-shadow: 0 16px 30px rgba(58, 66, 100, .25); }
.story.cut .kick::after { content: " ✂ вырезано"; font-size: 12px; }
.kick { font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--sage); font-size: 15px; }
.story h3 { font: 700 clamp(30px, 3.4vw, 46px)/1.1 var(--serif); margin: 10px 0; }
.by { font-style: italic; color: var(--muted); padding-bottom: 12px; border-bottom: 1px solid var(--line); margin-bottom: 14px; }
.story p, .story li { font-size: 19px; margin-bottom: 8px; }
.story ul li::before { content: "▪ "; }
.drop::first-letter { float: left; font-size: 70px; line-height: .8; padding: 6px 10px 0 0; color: var(--ink); }
.paper__box { margin: 0 auto; max-width: 860px; text-align: center; padding: 22px 26px; border: 2px solid var(--ink); outline: 2px solid var(--ink); outline-offset: 5px; border-radius: 18px; background: #d9e3bd; }
.paper__box b { display: block; font-size: clamp(22px, 2.6vw, 34px); margin-top: 8px; }
.paper__strip { text-align: center; margin-top: 30px; padding-top: 16px; border-top: 1px solid var(--line); }
.paper__hint { text-align: center; margin-top: 10px; font-style: italic; color: var(--muted); font-size: 15px; }

/* Контакты */
.contacts a { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 10px; padding: 30px 0; border-top: 1px solid rgba(234, 215, 160, .35); text-decoration: none; font-size: clamp(26px, 4vw, 52px); font-weight: 500; overflow-wrap: anywhere; }
.contacts a span { font-size: 17px; font-weight: 400; opacity: .85; }
.contacts a:hover { color: #fff; }
.city { margin-top: 30px; opacity: .85; }
.foot { display: flex; justify-content: space-between; padding: 26px clamp(20px, 4vw, 52px) 40px; background: var(--blue); color: var(--sand); border-top: 1px solid rgba(234, 215, 160, .3); }
.foot a { text-decoration: none; }

/* Мышки */
.mice { position: fixed; left: 12px; bottom: 8px; z-index: 40; display: flex; align-items: flex-end; pointer-events: none; }
.mouse { width: 92px; height: 92px; filter: drop-shadow(0 6px 8px rgba(0, 0, 0, .15)); }
.mouse.black { width: 76px; height: 76px; margin-left: -14px; }
.pupil { transition: transform .08s linear; }
@media (max-width: 700px) { .mouse { width: 62px; height: 62px; } .mouse.black { width: 52px; height: 52px; } }

/* Окна просмотра */
.lb, .vm { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: rgba(30, 34, 52, .92); padding: 20px; }
.lb[hidden], .vm[hidden] { display: none; }
.lb img { max-width: min(90vw, 900px); max-height: 86vh; border-radius: 18px; }
.lb { grid-template-columns: auto 1fr auto; }
.lb img { justify-self: center; }
.lb__x { position: absolute; top: 16px; right: 20px; width: 52px; height: 52px; border-radius: 50%; border: 0; background: var(--cream); font-size: 30px; cursor: pointer; }
.lb__nav { width: 52px; height: 52px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .85); font-size: 32px; cursor: pointer; }
.vm__box { width: min(92vw, 960px); text-align: center; color: var(--sand); }
.vm video { width: 100%; max-height: 80vh; border-radius: 18px; background: #000; }
.vm p { margin-top: 14px; font-size: 20px; }

/* ===== Правки 15.11: фигура меньше и перед именем, всё левее, мышки с телом ===== */
.hero { background: radial-gradient(ellipse at 50% 60%, #ece5d4 0%, #d9d0bc 55%, #c5bba5 100%); }
.hero::after { display: none; }
.hero__name { z-index: 2; top: 24%; mix-blend-mode: normal; }
.hero__me { position: absolute; left: 50%; bottom: 70px; z-index: 3; transform: translateX(-50%); width: auto; height: min(70vh, 640px); max-width: 94vw; object-fit: contain; filter: drop-shadow(0 18px 24px rgba(58, 66, 100, .18)); }
.hero__floats li { z-index: 4; }
@media (max-width: 760px) { .hero__me { height: auto; width: 100vw; bottom: 90px; } .hero__name { top: 30%; } }

.wrap { max-width: 1400px; padding: 0 clamp(20px, 3vw, 40px); }
@media (min-width: 960px) { .grid2 { grid-template-columns: 170px minmax(0, 1fr); gap: 32px; } }

.mice { left: 6px; bottom: 4px; }
.mouse { width: 84px; height: 102px; }
.mouse.black { width: 74px; height: 90px; margin-left: -10px; }
.tail { transform-origin: 70% 90%; animation: wag 2.4s ease-in-out infinite; }
@keyframes wag { 50% { transform: rotate(6deg); } }
@media (max-width: 700px) { .mouse { width: 58px; height: 70px; } .mouse.black { width: 50px; height: 61px; } }

/* ===== Первый экран как в оригинале (скриншот 15.11) ===== */
.hero { background: radial-gradient(ellipse 55% 60% at 52% 58%, #ecebd8 0%, #d8d3b6 45%, #b6af8b 100%); color: var(--blue); }
.stage { position: absolute; left: 52%; top: 40%; height: 92%; aspect-ratio: 1152 / 1100; transform: translateX(-50%); pointer-events: none; }
.stage img { width: 100%; height: 100%; object-fit: fill; }
.stage.bg { z-index: 1; -webkit-mask-image: radial-gradient(ellipse 50% 46% at 50% 42%, #000 40%, transparent 100%); mask-image: radial-gradient(ellipse 50% 46% at 50% 42%, #000 40%, transparent 100%); opacity: .95; }
.stage.fg { z-index: 3; }
.hero__name { z-index: 2; top: 15%; }
.hero__track span { font-size: clamp(120px, 19vw, 340px); font-weight: 500; letter-spacing: -.045em; }
.hero__floats li { z-index: 4; padding: 12px 24px; font-size: 18px; box-shadow: 0 8px 20px rgba(58, 66, 100, .18); }
.hero__floats li.b { background: #5b688c; } .hero__floats li.g { background: #7c9864; }
.hero__top { grid-template-columns: 1fr auto auto auto; gap: clamp(40px, 9vw, 130px); font-size: 19px; }
.hero__brand { font-size: 26px; }
.hero__bottom { font-size: 19px; bottom: 40px; }
@media (max-width: 760px) { .stage { top: 44%; height: 62%; } .hero__name { top: 26%; } .hero__track span { font-size: 120px; } }
/* «Таблетка» появляется только после первого экрана */
.pill { opacity: 0; pointer-events: none; transform: translate(-50%, -12px); transition: opacity .25s, transform .25s; }
.pill.show { opacity: 1; pointer-events: auto; transform: translate(-50%, 0); }

/* ===== Правки 15.11: шрифты меньше, видео в телефоне ===== */
.h2 { font-size: clamp(40px, 6.4vw, 84px); }
.h2.sm { font-size: clamp(38px, 5vw, 64px); }
.sub { font-size: clamp(18px, 1.7vw, 23px); }
.lead { font-size: clamp(22px, 2.5vw, 34px); }
.stats { grid-template-columns: repeat(auto-fit, minmax(175px, 1fr)); }
.stats b { font-size: clamp(28px, 2.5vw, 36px); white-space: nowrap; }
.stats span { font-size: 14px; }
.ticker { padding: 18px 0; }
.ticker__track span { font-size: clamp(22px, 2.6vw, 34px); }
.row h3 { font-size: clamp(22px, 2vw, 28px); }
.h3big { font-size: clamp(32px, 3.6vw, 48px); }
.pcard h3 { font-size: clamp(28px, 2.8vw, 38px); }
.ec h3 { font-size: clamp(30px, 2.6vw, 38px); }
.big b { font-size: clamp(44px, 4vw, 58px); }
.bars b { font-size: 28px; }
.paper__name { font-size: clamp(50px, 9vw, 120px); }
.story h3 { font-size: clamp(26px, 2.8vw, 38px); }
.contacts a { font-size: clamp(24px, 3.2vw, 42px); }

.vm__box { width: auto; display: grid; justify-items: center; }
.phone { position: relative; width: min(340px, 78vw, 44vh); aspect-ratio: 9 / 19.5; padding: 12px; border-radius: 52px; background: #15161c; box-shadow: 0 0 0 2px #3a3c46, 0 30px 70px rgba(0, 0, 0, .55); animation: phoneIn .35s cubic-bezier(.2, .9, .3, 1.2); }
@keyframes phoneIn { from { transform: translateY(40px) scale(.92); opacity: 0; } }
.phone__screen { width: 100%; height: 100%; border-radius: 40px; overflow: hidden; background: #000; display: grid; place-items: center; }
.phone__screen video { width: 100%; height: 100%; max-height: none; border-radius: 0; object-fit: cover; background: #000; }
.phone.wide .phone__screen video { object-fit: contain; }
.phone__island { position: absolute; top: 24px; left: 50%; z-index: 2; width: 34%; height: 28px; transform: translateX(-50%); border-radius: 20px; background: #000; }
.phone__btn { position: absolute; width: 4px; border-radius: 2px; background: #2a2c34; }
.phone__btn.l1 { left: -4px; top: 22%; height: 60px; } .phone__btn.l2 { left: -4px; top: 32%; height: 60px; } .phone__btn.r1 { right: -4px; top: 26%; height: 90px; }
.vm .lb__x { position: fixed; }
.vm p { margin-top: 18px; }
@media (max-height: 700px) { .phone { width: min(300px, 78vw, 40vh); } }

/* ===== Мышки как в оригинале: рекс (кудрявая, пухлее) и хаски (меньше) ===== */
.mice { left: 10px; bottom: 6px; align-items: flex-end; }
.mouse { filter: none; }
.mouse.rex { width: 112px; height: 123px; }
.mouse.husky { width: 86px; height: 96px; margin-left: -6px; }
.mouse .tail { transform-box: fill-box; transform-origin: 0% 100%; animation: wag 2.4s ease-in-out infinite; }
.mouse.husky .tail { animation-delay: -1.2s; }
.pupil { transform-box: view-box; transition: transform .08s linear; }
@media (max-width: 700px) { .mouse.rex { width: 74px; height: 81px; } .mouse.husky { width: 57px; height: 64px; } }

/* ===== Заголовки и бегущее имя поменьше (просьба 15.11) ===== */
.h2 { font-size: clamp(36px, 5.2vw, 68px); }
.h2.sm { font-size: clamp(34px, 4.2vw, 54px); }
.paper__name { font-size: clamp(44px, 7.4vw, 96px); }
.h3big { font-size: clamp(28px, 3vw, 40px); }
.hero__track span { font-size: clamp(100px, 15vw, 270px); }
@media (max-width: 760px) { .hero__track span { font-size: 96px; } }
