/* Vitrine — направление «Сетка»: квадратная плитка, прямые углы, чёрно-белый интерфейс, цвет у фотографий */
:root {
  --ink: #0a0a0a;
  --paper: #fff;
  --soft: #f2f2f2;
  --muted: #6b6b6b;
  --off: #a8a8a8;
  --err: #ff9187;
  --rule: 1.5px;
  --line: var(--rule) solid var(--ink);
  --f-display: "Unbounded", "Golos Text", system-ui, sans-serif;
  --f-text: "Golos Text", system-ui, -apple-system, "Segoe UI", sans-serif;
  --fs-h1: clamp(32px, 4.6vw, 76px);
  --fs-h2: clamp(28px, 3.35vw, 56px);
  --fs-body: 17px;
  --fs-lead: clamp(17px, 1.4vw, 21px);
  --pad: clamp(16px, 2.8vw, 48px);
  --nav-h: 64px;
  --click: cubic-bezier(.2, 1.4, .4, 1);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--nav-h); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { background: var(--paper); color: var(--ink); font: 400 var(--fs-body)/1.55 var(--f-text); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
ul, ol { padding: 0; list-style: none; }
.nw { white-space: nowrap; }
.sent { display: block; }

:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.form-cell :focus-visible, .final-cell :focus-visible, .plan-pro :focus-visible { outline-color: #fff; }

.skip { position: absolute; left: 8px; top: -60px; z-index: 50; background: var(--ink); color: #fff; padding: 10px 14px; text-decoration: none; }
.skip:focus { top: 8px; }

/* Типографика */
.h1, .h2, .logo, .plan-price .num, .foot-big, .live-title { font-family: var(--f-display); font-weight: 600; }
.h1 { font-size: var(--fs-h1); line-height: 1.08; letter-spacing: -.035em; }
.h2 { font-size: var(--fs-h2); line-height: 1.1; letter-spacing: -.03em; }
.lead { font-size: var(--fs-lead); line-height: 1.45; max-width: 34em; }

/* Кнопки: прямые углы, инверсия на наведении, щелчок при нажатии */
.btn {
  --b: var(--ink); --t: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .45em; white-space: nowrap;
  min-height: 52px; padding: 0 24px; border: var(--line); border-color: var(--b);
  background: var(--b); color: var(--t); font: 600 16px/1 var(--f-text); text-decoration: none; cursor: pointer;
  transition: background-color .18s, color .18s, transform .28s var(--click);
  -webkit-tap-highlight-color: transparent; touch-action: manipulation;
}
.btn:active { transform: scale(.97); transition-duration: .18s, .18s, .08s; }
@media (hover: hover) { .btn:hover { background: var(--t); color: var(--b); } }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 15px; }
.btn-line { background: var(--paper); color: var(--ink); }
@media (hover: hover) { .btn-line:hover { background: var(--ink); color: #fff; } }
.btn-invert { --b: #fff; --t: var(--ink); }
@media (hover: hover) { .btn-invert:hover { background: #dcdcdc; color: var(--ink); } }

/* Шапка */
.nav { position: sticky; top: 0; z-index: 40; height: var(--nav-h); display: flex; align-items: center; gap: 32px; padding: 0 var(--pad); background: var(--paper); border-bottom: var(--line); }
.logo { font-size: 20px; letter-spacing: -.02em; text-decoration: none; }
.menu { display: flex; gap: 28px; margin-left: auto; font-size: 15px; }
.menu a { text-decoration: none; padding: 6px 0; background: linear-gradient(var(--ink), var(--ink)) 0 100% / 0 var(--rule) no-repeat; transition: background-size .25s; }
.menu a:hover { background-size: 100% var(--rule); }

/* Первый экран */
.hero-grid { display: grid; grid-template-columns: repeat(6, 1fr); border-bottom: var(--line); }
.cell { min-width: 0; }
.tile { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--soft); }
.tile img { width: 100%; height: 100%; object-fit: cover; }
.tile figcaption { position: absolute; left: 10px; bottom: 10px; background: var(--paper); font-size: 13px; font-weight: 500; line-height: 1; padding: 6px 8px; }
.head { grid-column: 1 / 5; grid-row: 1 / 3; padding: var(--pad); display: flex; flex-direction: column; justify-content: space-between; gap: 32px; border-right: var(--line); }
.t-cer { grid-area: 1 / 5; } .t-dog { grid-area: 1 / 6; }
.tile-site { grid-area: 2 / 5 / 3 / 7; aspect-ratio: 2 / 1; display: block; text-decoration: none; }
.tile-site img { position: absolute; inset: 0; }
.form-cell { grid-area: 3 / 1 / 4 / 4; }
.t-mono { grid-area: 3 / 4; } .t-man { grid-area: 3 / 5; } .t-bak { grid-area: 3 / 6; }
.t-isk { display: none; }
.tile-site img { object-position: 0 0; transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
@media (hover: hover) { .tile-site:hover img { transform: scale(1.02); } }
.ts-label { position: absolute; right: 10px; bottom: 10px; background: var(--ink); color: #fff; font-size: 13px; font-weight: 500; line-height: 1; padding: 6px 8px; }

/* Форма ника */
.form-cell, .final-cell { background: var(--ink); color: #fff; padding: var(--pad); }
.form-cell { display: flex; flex-direction: column; justify-content: center; padding-block: 24px; }
.f-label { display: block; font-size: 15px; font-weight: 500; color: #d6d6d6; margin-bottom: 10px; }
.nick-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "label label" "field go" "meta meta"; }
.f-label { grid-area: label; }
.f-field { grid-area: field; }
.f-go { grid-area: go; }
.f-meta { grid-area: meta; }
.f-field { flex: 1; min-width: 0; display: flex; align-items: center; background: transparent; color: #fff; padding-left: 18px; border: 2px solid #fff; transition: border-color .15s, background-color .15s; }
.f-field:focus-within { background: #1d1d1d; box-shadow: inset 0 0 0 1px #fff; }
.f-at { font-weight: 600; font-size: 22px; margin-right: 2px; }
.f-field input { flex: 1; min-width: 0; height: 60px; border: 0; background: transparent; font-size: 21px; outline: none; padding-right: 12px; }
.f-field input::placeholder { color: #9d9d9d; opacity: 1; }
.f-field input { caret-color: #fff; }
.f-go { min-height: 64px; font-size: 17px; position: relative; overflow: hidden; border-width: 2px; border-left: 0; }
.f-go::after { content: ""; position: absolute; inset: 0; background: var(--ink); transform: scaleX(0); transform-origin: 0 50%; }
.f-go span { position: relative; z-index: 1; transition: color .15s; }
.f-go::before { content: ""; position: absolute; left: 0; bottom: 0; width: 34%; height: 3px; background: #fff; z-index: 1; transform: translateX(-110%); opacity: 0; }
.is-sending .f-go::after { transform: scaleX(1); transition: transform .26s cubic-bezier(.4, 0, .2, 1); }
.is-sending .f-go span { color: #fff; }
.is-sending .f-go::before { opacity: 1; animation: sending 1.1s .26s cubic-bezier(.5, 0, .5, 1) infinite; }
.is-sending .f-go { cursor: progress; }
.is-sending .f-field { opacity: .7; }
@keyframes sending { to { transform: translateX(310%); } }
/* Ошибка встаёт на место строки адреса сразу под полем; высота зарезервирована — сетка не сдвигается */
.f-meta { position: relative; min-height: 2.8em; line-height: 1.4; }
.f-error { position: absolute; inset: 0 0 auto; font-size: 15px; line-height: 1.4; color: var(--err); text-wrap: balance; }
.has-error .f-addr, .has-error .f-count { visibility: hidden; }
.nick-form.has-error .f-field { border-color: var(--err); }
.nick-form.shake .f-field, .nick-form.shake .f-go { animation: shake .32s linear; }
@keyframes shake { 20% { transform: translateX(-12px); } 45% { transform: translateX(10px); } 70% { transform: translateX(-5px); } 100% { transform: none; } }
.f-meta { display: flex; flex-wrap: wrap; align-content: flex-start; justify-content: space-between; gap: 0 24px; margin-top: 12px; font-size: 15px; color: #d6d6d6; }
.f-addr { overflow-wrap: anywhere; }
.f-nick { display: inline-block; color: #fff; font-weight: 600; }
.f-nick.pop { animation: pop .22s var(--click); }
@keyframes pop { from { transform: translateY(.45em); opacity: 0; } }

/* Лента «Сейчас собираются» */
.live { display: flex; align-items: center; border-bottom: var(--line); height: 58px; overflow: hidden; }
.live-title { flex: none; font-size: 14px; font-weight: 500; letter-spacing: -.01em; padding: 0 var(--pad); height: 100%; display: flex; align-items: center; border-right: var(--line); background: var(--paper); position: relative; z-index: 1; }
.live-track { flex: 1; overflow: hidden; }
.live-list { display: flex; width: max-content; animation: run 60s linear infinite; }
.live:hover .live-list { animation-play-state: paused; }
.live-list li { display: flex; align-items: center; gap: 8px; padding: 0 28px; font-size: 15px; white-space: nowrap; border-right: 1px solid #d0d0d0; }
.st { color: var(--muted); }
.st-on { color: var(--ink); font-weight: 500; display: inline-flex; align-items: center; gap: 7px; }
.st-on::before { content: ""; width: 8px; height: 8px; background: var(--ink); animation: blink 1.2s steps(2, jump-none) infinite; }
@keyframes run { to { transform: translateX(-50%); } }
@keyframes blink { 50% { opacity: .15; } }

/* Как это работает */
.how { border-bottom: var(--line); }
.how-pin { min-height: calc(100vh - var(--nav-h)); display: grid; grid-template-columns: 2fr 4fr; }
.how-copy { padding: var(--pad); border-right: var(--line); display: flex; flex-direction: column; justify-content: center; gap: 40px; }
.steps { display: grid; gap: 28px; }
.step { display: grid; grid-template-columns: 44px 1fr; gap: 18px; color: var(--muted); transition: color .3s; }
.step h3 { font: 600 21px/1.25 var(--f-text); letter-spacing: -.01em; }
.step p { margin-top: 6px; font-size: 16px; }
.step-n { width: 44px; height: 44px; display: grid; place-items: center; border: var(--rule) solid var(--off); font: 600 17px var(--f-display); transition: background-color .3s, color .3s, border-color .3s; }
.step.is-on, html:not(.motion-on) .step { color: var(--ink); }
.step.is-on .step-n, html:not(.motion-on) .step-n { background: var(--ink); color: #fff; border-color: var(--ink); }
.how-stage { padding: var(--pad); display: flex; flex-direction: column; justify-content: center; gap: 0; }
.stage-bar { display: flex; align-items: center; height: 52px; padding: 0 20px; background: var(--paper); border: var(--line); border-bottom: 1px solid #d0d0d0; font-size: 19px; font-weight: 500; white-space: nowrap; overflow: hidden; }
.sb-at { font-weight: 600; }
.sb-nick { min-width: 1px; }
.motion-on .stage-bar:not(.typed) .sb-nick::after { content: ""; display: inline-block; width: 2px; height: 1.05em; margin-left: 2px; vertical-align: -.15em; background: var(--ink); animation: blink 1s steps(2, jump-none) infinite; }
.sb-dom { color: var(--ink); font-weight: 400; }
.stage { position: relative; aspect-ratio: 16 / 10; background: var(--paper); border: var(--line); border-top: 0; overflow: hidden; }
.pf { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4%; padding: 4%; }
.pf-head { display: flex; flex-direction: column; gap: 16px; align-self: center; }
.pf-ava { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; }
.pf-id b { display: block; font-size: 19px; font-weight: 600; }
.pf-id span { display: block; color: var(--muted); font-size: 16px; margin-top: 4px; }
.pf-grid { height: 100%; aspect-ratio: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; align-self: stretch; }
.pf-grid img, .pf-hole { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1; }
.grow { position: absolute; inset: 0; overflow: hidden; background: var(--soft); }
.grow img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bio { position: absolute; left: 4%; top: 13%; display: flex; align-items: center; gap: 14px; padding: 14px 20px 14px 14px; background: var(--paper); border: var(--line); }
.bio img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.bio b { display: block; font-size: 16px; }
.bio span { display: block; font-size: 15px; color: var(--muted); }
.bio .bio-link { color: var(--ink); font-weight: 500; background: linear-gradient(var(--ink), var(--ink)) 0 100% / var(--u, 100%) var(--rule) no-repeat; }

/* Заголовки разделов */
.sec-head { padding: clamp(56px, 7vw, 112px) 0 clamp(28px, 3.4vw, 48px); display: grid; grid-template-columns: repeat(6, 1fr); align-items: end; border-bottom: var(--line); }
.sec-head .h2 { grid-column: 1 / 5; padding: 0 var(--pad); }
.sec-sub { grid-column: 5 / 7; padding: 0 var(--pad); font-size: var(--fs-lead); line-height: 1.45; }

/* Работы: одна крупная витрина и две малые справа; в каждой — сайт, профиль, три его плитки */
.works { border-bottom: var(--line); }
.works-grid { display: grid; grid-template-columns: 4fr 2fr; border-bottom: var(--line); }
.work { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "shot shot" "head grid" "act act"; align-items: center; align-content: start; gap: 20px 24px; padding: var(--pad); min-width: 0; }
.work-lead { grid-row: 1 / 3; border-right: var(--line); align-content: center; }
.work-half + .work-half { border-top: var(--line); }
.work .wp, .work .ws { display: contents; }
.wp-head { grid-area: head; display: flex; align-items: center; gap: 14px; min-width: 0; }
.wp-head img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex: none; }
.wp-head h3 { font-size: 18px; font-weight: 600; line-height: 1.3; overflow-wrap: anywhere; }
.wp-head p { font-size: 15px; color: var(--muted); line-height: 1.35; }
.wp-grid { grid-area: grid; display: grid; grid-template-columns: repeat(3, 56px); gap: 3px; }
.work-lead .wp-grid { grid-template-columns: repeat(3, 120px); }
.wp-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; background: var(--soft); }
.wp-grid img:nth-child(n+4) { display: none; }
.ws-shot { grid-area: shot; display: block; border: var(--line); overflow: hidden; }
.ws-shot img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
@media (hover: hover) { .ws-shot:hover img { transform: scale(1.015); } }
.ws-actions { grid-area: act; display: flex; flex-wrap: wrap; gap: 12px; }
.work-half { grid-template-columns: minmax(0, 1fr); grid-template-areas: "shot" "head" "act"; }
.work-half .wp-grid { display: none; }
.work-half .wp-head h3 { font-size: 17px; }
.work-half .wp-head p { font-size: 14px; }
.works-all { padding: 28px var(--pad); }
.works-all a { font: 600 18px var(--f-text); text-decoration: none; border-bottom: var(--line); padding-bottom: 3px; }
.works-all a:hover { border-bottom-width: 3px; }

/* Тарифы */
.pricing { border-bottom: var(--line); }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); }
.plan { padding: var(--pad); display: flex; flex-direction: column; gap: 14px; border-right: var(--line); }
.plan:last-child { border-right: 0; }
.plan-name { font: 600 21px/1.2 var(--f-text); display: flex; align-items: center; gap: 12px; flex-wrap: wrap; min-height: 28px; }
.plan-price { display: flex; align-items: baseline; gap: 10px; }
.plan-price .num { font-size: clamp(44px, 4.4vw, 72px); line-height: 1; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.per { font-size: 16px; color: var(--muted); }
.plan-lead { font-size: 18px; font-weight: 500; }
.plan-list { display: grid; align-content: start; gap: 10px; margin: 8px 0 20px; flex: 1; }
.plan-list li { display: grid; grid-template-columns: 14px 1fr; gap: 12px; font-size: 16px; line-height: 1.45; }
.plan-list li::before { content: ""; width: 7px; height: 7px; margin-top: .55em; background: currentColor; }
.plan-btn { align-self: flex-start; }
.plan-pro { background: var(--ink); color: #fff; }
.plan-pro .per { color: #c9c9c9; }
.plan-soon { color: var(--muted); }
.plan-soon .plan-price .num, .plan-soon .plan-name { color: var(--muted); }
.soon { font: 500 13px/1 var(--f-text); color: var(--ink); border: var(--line); padding: 5px 7px; }

/* Вопросы */
.faq { display: grid; grid-template-columns: 2fr 4fr; border-bottom: var(--line); }
.faq-head { border-bottom: 0; border-right: var(--line); grid-template-columns: 1fr; align-items: start; }
.faq-head .h2 { grid-column: 1; }
.qa-list { padding: clamp(24px, 4vw, 72px) var(--pad); }
.qa { border-bottom: var(--line); }
.qa:first-child { border-top: var(--line); }
.qa h3 { font-size: inherit; font-weight: inherit; }
.qa-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 0; background: none; border: 0; text-align: left; cursor: pointer; font: 600 clamp(18px, 1.5vw, 21px)/1.35 var(--f-text); letter-spacing: -.01em; }
.qa-sign { position: relative; flex: none; width: 36px; height: 36px; border: var(--line); transition: background-color .2s; }
.qa-sign::before, .qa-sign::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; background: var(--ink); translate: -50% -50%; transition: background-color .2s, rotate .3s var(--click); }
.qa-sign::after { rotate: 90deg; }
@media (hover: hover) { .qa-q:hover .qa-sign { background: var(--soft); } }
.qa.open .qa-sign { background: var(--ink); }
.qa.open .qa-sign::before { rotate: 45deg; }
.qa.open .qa-sign::after { rotate: 135deg; }
.qa.open .qa-sign::before, .qa.open .qa-sign::after { background: #fff; }
.qa-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .42s cubic-bezier(.45, 0, .2, 1); }
.qa.open .qa-a { grid-template-rows: 1fr; }
.qa-a > div { overflow: hidden; }
.qa-a p { padding: 0 64px 24px 0; font-size: 17px; max-width: 40em; opacity: 0; transform: translateY(-8px); transition: opacity .3s, transform .42s cubic-bezier(.45, 0, .2, 1); }
.qa.open .qa-a p { opacity: 1; transform: none; transition-delay: .08s, 0s; }

/* Финал */
.final-grid { display: grid; grid-template-columns: repeat(6, 1fr); border-bottom: var(--line); }
.ft { width: 100%; aspect-ratio: 1; object-fit: cover; }
.final-cell { grid-area: 1 / 1 / 3 / 5; display: flex; flex-direction: column; justify-content: center; gap: 36px; padding: var(--pad); }
.final-grid .ft:nth-of-type(1) { grid-area: 1 / 5; }
.final-grid .ft:nth-of-type(2) { grid-area: 1 / 6; }
.final-grid .ft:nth-of-type(3) { grid-area: 2 / 5; }
.final-grid .ft:nth-of-type(4) { grid-area: 2 / 6; }
.final-grid .ft:nth-of-type(n+5) { display: none; }
.final-cell .nick-form { max-width: 760px; }

/* Подвал */
.foot-top { display: grid; grid-template-columns: repeat(6, 1fr); row-gap: 32px; padding: clamp(40px, 5vw, 72px) 0 32px; }
.foot-top > * { padding: 0 var(--pad); }
.foot-brand { grid-column: 1 / 3; }
.foot-top .foot-col:nth-child(2) { grid-column: 3 / 5; }
.foot-top .foot-col:nth-child(3) { grid-column: 5 / 7; }
.foot-brand { display: grid; gap: 10px; align-content: start; font-size: 15px; color: var(--muted); }
.foot-brand .logo { color: var(--ink); font-size: 24px; margin-bottom: 6px; }
.foot-col { display: grid; gap: 10px; align-content: start; font-size: 16px; }
.foot-col h3 { font-size: 14px; font-weight: 500; color: var(--muted); margin-bottom: 4px; }
.foot-col a { text-decoration: none; width: fit-content; }
.foot-col a:hover { text-decoration: underline; text-underline-offset: 4px; }
.foot-big { padding: 0 var(--pad) clamp(16px, 2vw, 32px); font-size: calc((100vw - 2 * var(--pad)) / 9.6); line-height: 1; letter-spacing: -.01em; text-transform: uppercase; border-top: var(--line); }
.fb-line { display: block; overflow: hidden; padding: .22em 0 .06em; margin-bottom: -.12em; }
.fb-line > span { display: block; }

/* Телефон и узкие окна */
@media (max-width: 899px) {
  :root { --nav-h: 56px; --fs-body: 16px; }
  .menu { display: none; }
  .nav { justify-content: space-between; }
  .hero-grid { grid-template-columns: repeat(3, 1fr); }
  .head { grid-column: 1 / -1; grid-row: 1; border-right: 0; gap: 18px; padding: 28px var(--pad) 26px; }
  .hero-grid { grid-auto-flow: row dense; }
  .form-cell { grid-area: 2 / 1 / 3 / -1; padding: 24px var(--pad) 22px; }
  .hero-grid .tile { grid-area: auto; }
  .hero-grid .tile-site { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
  .tile-site img { object-position: 50% 50%; }
  .ts-label { right: 8px; bottom: 8px; }
  .t-isk { display: block; }
  .tile figcaption { left: 6px; bottom: 6px; font-size: 13px; padding: 5px 6px; }
  .nick-form { grid-template-columns: minmax(0, 1fr); grid-template-areas: "label" "field" "meta" "go"; }
  .f-field input { height: 54px; font-size: 18px; }
  .f-at { font-size: 19px; }
  .f-go { min-height: 56px; width: 100%; border-left: 2px solid #fff; }
  .f-meta { flex-direction: column; justify-content: flex-start; min-height: 4.2em; margin: 10px 0 12px; font-size: 14px; }
  .f-error { font-size: 14px; }

  .live { height: 50px; }
  .live-title { font-size: 13px; padding: 0 12px; white-space: nowrap; }
  .live-list li { font-size: 14px; padding: 0 18px; }

  .how-pin { grid-template-columns: 1fr; grid-template-rows: auto 1fr; min-height: calc(100svh - var(--nav-h)); }
  .how-copy { border-right: 0; border-bottom: var(--line); padding: 18px var(--pad) 16px; gap: 14px; justify-content: start; }
  .how-copy .h2 { font-size: 24px; }
  .steps { gap: 14px; }
  .step { grid-template-columns: 36px 1fr; gap: 14px; }
  .motion-on .steps { position: relative; display: block; min-height: 104px; }
  .motion-on .step { position: absolute; inset: 0 0 auto; opacity: 0; transition: opacity .25s; }
  .motion-on .step.is-on { opacity: 1; }
  .step-n { width: 36px; height: 36px; font-size: 15px; }
  .step h3 { font-size: 18px; }
  .step p { font-size: 15px; margin-top: 4px; }
  .how-stage { padding: 14px var(--pad); justify-content: start; gap: 10px; }
  .stage-bar { height: 44px; font-size: 15px; padding: 0 12px; }
  .stage { aspect-ratio: 4 / 5; width: min(100%, calc((100svh - var(--nav-h) - 230px) * .8)); margin-inline: auto; }
  .pf { grid-template-columns: 1fr; grid-template-rows: auto 1fr; align-items: start; gap: 12px; padding: 12px; }
  .pf-head { flex-direction: row; align-items: center; gap: 12px; }
  .pf-ava { width: 48px; height: 48px; }
  .pf-id b { font-size: 15px; }
  .pf-id span { font-size: 13px; margin-top: 0; }
  .pf-grid { height: auto; width: 100%; max-height: 100%; aspect-ratio: 1; justify-self: center; align-self: start; }
  .grow-photo, .grow-site { object-position: 0% 50%; }
  .bio { left: 10px; right: 10px; top: 13%; padding: 10px 12px 10px 10px; gap: 10px; }
  .bio img { width: 40px; height: 40px; }
  .bio b, .bio span { font-size: 13px; }

  .sec-head { grid-template-columns: 1fr; padding: 56px 0 24px; gap: 12px; }
  .sec-head .h2, .sec-sub { grid-column: 1; }
  .works-grid { grid-template-columns: 1fr; border-bottom: 0; }
  .work { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "grid" "shot" "act"; gap: 14px; padding: 22px var(--pad) 26px; border-bottom: var(--line); }
  .work-lead { grid-row: auto; border-right: 0; }
  .work-half + .work-half { border-top: 0; }
  .wp-grid, .work-lead .wp-grid { grid-template-columns: repeat(3, 1fr); }
  .work-half .wp-grid { display: grid; }
  .ws-actions .btn { flex: 1 1 auto; padding: 0 16px; }

  .plans { grid-template-columns: 1fr; }
  .plan { border-right: 0; border-bottom: var(--line); padding: 28px var(--pad); }
  .plan:last-child { border-bottom: 0; }

  .faq { grid-template-columns: 1fr; }
  .faq-head { border-right: 0; border-bottom: var(--line); }
  .qa-list { padding: 8px var(--pad) 40px; }
  .qa:first-child { border-top: 0; }
  .qa-q { padding: 18px 0; gap: 16px; }
  .qa-sign { width: 32px; height: 32px; }
  .qa-a p { padding-right: 0; font-size: 16px; }

  .final-grid { grid-template-columns: repeat(3, 1fr); }
  .final-grid .ft { grid-column: auto !important; grid-row: auto !important; }
  .final-grid .ft:nth-of-type(n+4) { display: none; }
  .final-grid .ft:nth-of-type(-n+3) { grid-row: 1 !important; }
  .final-cell { grid-area: 2 / 1 / 3 / -1; padding: 36px var(--pad) 32px; gap: 26px; }
  .final-cell .h2 { font-size: 27px; }

  .foot-top { grid-template-columns: 1fr 1fr; gap: 28px 0; }
  .foot-brand { grid-column: 1 / -1; }
  .foot-top .foot-col:nth-child(2) { grid-column: 1; }
  .foot-top .foot-col:nth-child(3) { grid-column: 2; padding-left: 0; }
}

@media (max-width: 899px) and (max-height: 700px) {
  .stage { width: min(100%, calc((100svh - var(--nav-h) - 200px) * .8)); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .live-track { overflow-x: auto; }
}
