/* Портфолио: главная и кейсы. Композиция по мотивам daria.works:
   один кегль, текст колонкой 56ch, работы на всю ширину рядами с зазором 8px.
   Живые плитки и видео-слоты работают из js/motion.js, интерфейсные мелочи из js/site.js. */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --bg: #fff; --text: #111; --text-2: #757575; --text-3: #5E5E5E; --media: #F1F1F1;
  --hair: 1px solid rgba(0, 0, 0, .06);
  --max: 1440px; --gutter: clamp(20px, 4vw, 48px); --gap: 8px; --r: 10px;
  --section-gap: clamp(112px, 16vh, 208px);
  --fs: 15px; --lh: 1.55; --measure: 56ch;
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --ease-drawer: cubic-bezier(.32, .72, 0, 1);
}
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font: 400 var(--fs)/var(--lh) 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif; background: var(--bg); color: var(--text); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
p { text-wrap: pretty; }
.nobr { white-space: nowrap; }
h1, h2, h3 { font-size: inherit; font-weight: 600; text-wrap: balance; }
a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: var(--gutter); top: -100px; z-index: 100; padding: 8px 14px; border-radius: 8px; background: var(--text); color: var(--bg); }
.skip:focus { top: 12px; }

/* Ссылки в тексте: пунктир, как в рефе; внешние со стрелкой */
.tlink { text-decoration: underline; text-decoration-style: dotted; text-decoration-thickness: 1px; text-underline-offset: .22em; transition: text-decoration-color .15s ease; }
.tlink[target="_blank"]::after { content: "\00a0↗"; }

/* ===== Плавающее меню ===== */
.site-nav { position: fixed; top: 14px; left: 0; right: 0; z-index: 50; display: flex; justify-content: center; pointer-events: none; }
.site-nav .pill { pointer-events: auto; display: flex; gap: 2px; padding: 4px; border-radius: 999px; background: rgba(255, 255, 255, .72); -webkit-backdrop-filter: blur(20px) saturate(1.4); backdrop-filter: blur(20px) saturate(1.4); border: 1px solid rgba(17, 17, 17, .06); transition: transform .38s var(--ease-out), opacity .3s ease; }
.site-nav a { display: block; padding: 8px 15px; border-radius: 999px; color: var(--text-2); transition: color .15s ease, background-color .15s ease, transform .16s var(--ease-out); }
.site-nav a[aria-current] { color: var(--text); background: rgba(0, 0, 0, .05); }
.site-nav a:active { transform: scale(.97); }
.site-nav.is-hidden .pill { transform: translateY(-160%); opacity: 0; }
.site-nav.is-hidden .pill:focus-within { transform: none; opacity: 1; }
/* Переключатель языка RU/EN: последний пункт меню, отделён тонкой чертой */
.site-nav .lang { position: relative; margin-left: 9px; }
.site-nav .lang::before { content: ""; position: absolute; left: -6px; top: 50%; width: 1px; height: 14px; margin-top: -7px; background: rgba(17, 17, 17, .12); }

/* ===== Главная: вступление ===== */
.intro { padding-top: clamp(120px, 18vh, 180px); max-width: var(--measure); }
.role { color: var(--text-2); }
.bio { margin-top: 20px; }
.status { margin-top: 20px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 20px; }
.status-open { position: relative; padding-left: 16px; }
.status-open::before { content: ""; position: absolute; left: 0; top: .55em; width: 7px; height: 7px; border-radius: 50%; background: #2E9B57; box-shadow: 0 0 0 3px rgba(46, 155, 87, .16); }
.status-open span { color: var(--text-2); }
.lang-note { margin-top: 12px; color: var(--text-2); }
.rule { border: 0; border-top: var(--hair); margin: 64px 0 56px; }

/* ===== Проект на главной ===== */
.project { margin-bottom: var(--section-gap); scroll-margin-top: 80px; }
.project-head { max-width: var(--measure); margin-bottom: 26px; }
.project-head h2 { width: max-content; max-width: min(760px, calc(100vw - 2 * var(--gutter))); font-size: 18px; line-height: 1.35; letter-spacing: -0.01em; }
.project-head h2 .ctx { display: block; margin-top: 2px; font-size: 15px; letter-spacing: 0; }
.ctx { color: var(--text-2); font-weight: 400; }
.desc { margin-top: 4px; }
.desc p + p { margin-top: .75em; }
.kpi { display: flex; align-items: center; gap: 16px; margin-top: 22px; }
.kpi-num { flex-shrink: 0; font-size: 32px; line-height: 1; font-weight: 500; letter-spacing: -.025em; font-variant-numeric: tabular-nums; }
.kpi-lab { color: var(--text-2); line-height: 1.35; max-width: 30ch; }
.more { display: inline-flex; align-items: baseline; gap: 6px; margin-top: 18px; font-weight: 500; transition: transform .16s var(--ease-out); }
.more .arr { display: inline-block; transition: transform .25s var(--ease-out); }
.more:active { transform: scale(.97); }
.note { max-width: var(--measure); margin: 64px 0 26px; }

/* ===== Ряды медиа ===== */
.row { display: flex; gap: var(--gap); align-items: stretch; }
.row + .row { margin-top: var(--gap); }
.cell { flex: var(--a, 1) 1 0; min-width: 0; aspect-ratio: var(--a, auto); }
.frame { position: relative; display: block; height: 100%; border-radius: var(--r); overflow: hidden; background: var(--media); outline: var(--hair); outline-offset: -1px; }
.frame > img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .6s var(--ease-out); }
.row + .stage, .stage + .row { margin-top: var(--gap); }

/* Сцена: цветная плитка кейса с телефонами (живая) */
.c-tariffs { --case: #C4E2F7; --case-deep: #B3D8F2; --accent: #1E7FCB; }
.c-gifts { --case: #C9D6FF; --case-deep: #B9C9FF; --accent: #2B5BF0; }
.c-compliance { --case: #F8C9DB; --case-deep: #F4B6CD; --accent: #C8326B; }
.c-gazpoint { --case: #C3EBCF; --case-deep: #B0E3C0; --accent: #1E9150; }
.stage { position: relative; display: flex; align-items: center; justify-content: center; gap: 4%; aspect-ratio: 2 / 1; padding: 28px; border-radius: var(--r); overflow: hidden; background: var(--case); transition: background-color .3s ease; }
.stage .phone { width: min(270px, 20%); flex-shrink: 0; }
.stage .phone.still { width: min(222px, 16.5%); }
.stage .phone.still:first-child { transform: translateY(5%); }
.stage .phone.still:last-child { transform: translateY(-5%); }
.stage.gp:not(.cover-stage) { justify-content: flex-start; align-items: flex-end; padding: 40px 0 0 4%; }
.stage.gp:not(.cover-stage) .browser { position: absolute; left: 4%; top: 40px; bottom: 0; width: 64%; display: flex; flex-direction: column; border-radius: 12px 12px 0 0; }
.stage.gp:not(.cover-stage) .pan { flex: 1; min-height: 0; }
.stage.gp:not(.cover-stage) .gp-phone { position: absolute; right: 7%; top: 50%; width: min(250px, 19%); transform: translateY(-46%); }

/* ===== Телефон, браузер, сценарий (разметку строит motion.js) ===== */
.phone { position: relative; border-radius: 9% / 4.2%; overflow: hidden; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .06), 0 24px 48px -16px rgba(30, 20, 10, .26); }
.phone > img { display: block; width: 100%; height: auto; }
.flow-screen { position: relative; width: 100%; aspect-ratio: 372 / 805; overflow: hidden; }
.flow-layer { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.flow-video { display: block; width: 100%; height: auto; background: #fff; }
.flow-tap { position: absolute; z-index: 9999; width: 44px; height: 44px; border-radius: 50%; background: rgba(20, 20, 20, .22); border: 2px solid rgba(255, 255, 255, .9); box-shadow: 0 2px 10px rgba(0, 0, 0, .2); opacity: 0; pointer-events: none; transform: translate(-50%, -50%); }
.browser { position: relative; border-radius: 12px; overflow: hidden; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .06), 0 24px 48px -18px rgba(10, 30, 20, .22); }
.browser::before { content: ""; display: block; flex-shrink: 0; height: 26px; background: #F2F2F2 radial-gradient(circle at 14px 13px, #E0E0E0 4px, transparent 4.5px); border-bottom: 1px solid #E6E6E6; }
.browser > img { display: block; width: 100%; height: auto; }
.pan { position: relative; overflow: hidden; }
.pan > img { display: block; width: 100%; height: auto; }

/* ===== Кейс: шапка ===== */
.case-head { padding-top: clamp(120px, 18vh, 180px); }
.case-head .head-text { max-width: var(--measure); }
.case-head h1 { width: max-content; max-width: min(760px, calc(100vw - 2 * var(--gutter))); font-size: 18px; line-height: 1.35; letter-spacing: -0.01em; }
.case-head h1 + .ctx { margin-top: 2px; }
.lead { margin-top: 20px; }
.lead p + p { margin-top: .75em; }
.cover-stage { margin-top: 40px; gap: 3%; }
.cover-stage > div { flex-shrink: 0; }
.cover-stage .ph-c { width: min(300px, 22%); z-index: 2; }
.cover-stage .ph-l, .cover-stage .ph-r { width: min(240px, 17.5%); }
.cover-stage .ph-l > .phone { transform: translateY(7%); }
.cover-stage .ph-r > .phone { transform: translateY(-7%); }
.cover-stage .phone { width: 100%; }
.cover-stage.gp { justify-content: flex-start; align-items: flex-end; padding: 40px 0 0 4%; }
.cover-stage.gp .br { width: 66%; align-self: flex-end; }
.cover-stage.gp .br .browser { border-radius: 12px 12px 0 0; }
.cover-stage.gp .ph-r { position: absolute; right: 8%; top: 50%; width: min(240px, 19%); transform: translateY(-50%); }
.cover-stage.gp .ph-r > .phone { transform: none; }

/* ===== Кейс: рассказ ===== */
.phase { margin-top: var(--section-gap); padding-top: 12px; border-top: var(--hair); color: var(--text-2); }
.phase-line { display: none; }
.section { margin-top: clamp(72px, 10vh, 120px); }
.phase + .section { margin-top: 48px; }
.block { max-width: var(--measure); }
.block p { margin-top: .75em; }
.block h2 + p { margin-top: 4px; }
.visual { margin-top: 26px; }
.block + .note { margin-top: 32px; }
.note + .visual { margin-top: 0; }
.visual + .visual { margin-top: var(--gap); }
.board, .web-frame { border-radius: var(--r); overflow: hidden; background: var(--media); outline: var(--hair); outline-offset: -1px; }
.board img, .web-frame img { display: block; width: 100%; height: auto; }
.cell > .board, .cell > .web-frame { height: 100%; }
.cell > .board img, .cell > .web-frame img { height: 100%; object-fit: cover; object-position: top; }
.cell > .pan-tile { height: 100%; display: flex; }
.cell > .pan-tile .browser { flex: 1; display: flex; flex-direction: column; }
.cell > .pan-tile .pan { flex: 1; height: auto; min-height: 0; }

/* Высокая картинка: пояснение в колонке слева, картинка справа */
.side { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: var(--gap); align-items: start; }
.side .note { margin: 0; position: sticky; top: 96px; padding-right: 24px; }

/* Живая плитка и прокрутка внутри рассказа */
.live { aspect-ratio: 2 / 1; }
.pan-tile { background: var(--case); border-radius: var(--r); padding: 36px 36px 0; overflow: hidden; }
.pan-tile .browser { border-radius: 12px 12px 0 0; }
.pan-tile .pan { height: 520px; }

/* Цифры исследования и результаты */
.stats-row, .results-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--gap); margin-top: 26px; }
.stat-cell, .results-grid > div { background: var(--media); border-radius: var(--r); padding: 24px 24px 22px; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; min-height: 180px; }
.stat-num, .result-num { font-size: 32px; line-height: 1; font-weight: 500; letter-spacing: -.025em; font-variant-numeric: tabular-nums; }
.stat-desc, .result-desc { color: var(--text-3); line-height: 1.45; max-width: 34ch; }
.results-grid > div { order: 0; }
.results-grid .result-num { order: 2; }
.results-grid .result-desc { order: 1; }
.stat-cell .stat-num { order: 2; }
.stat-cell .stat-desc { order: 1; }

/* Инсайт */
.insight-block { margin-top: 56px; max-width: 46ch; padding-left: 20px; border-left: 2px solid var(--text); }
.insight-label { color: var(--text-2); margin-bottom: 8px; }
.insight-text { font-size: 20px; line-height: 1.4; font-weight: 500; letter-spacing: -.01em; }

/* Сравнение вариантов */
.compare-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); margin-top: 26px; }
.compare-tag { display: flex; align-items: center; gap: 8px; margin-top: 10px; color: var(--text-2); }
.compare-tag.chosen { color: var(--text); font-weight: 500; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: #CFCFCF; flex-shrink: 0; }
.dot.chosen { background: var(--text); }

/* Ряды из старой вёрстки */
.web-2col, .phone-row-2, .metrics-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); margin-top: var(--gap); align-items: start; }
.phone-row-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.metric-frame { background: var(--media); border-radius: var(--r); overflow: hidden; }
.metric-frame img { width: 100%; height: auto; }
.metric-year { color: var(--text-2); margin-top: 8px; }

/* График (кейс подарков) */
.chart-wrap { position: relative; background: var(--media); border-radius: var(--r); padding: 28px 28px 20px; }
.chart-title { margin-bottom: 14px; color: var(--text-3); }
.chart-wrap svg { width: 100%; height: auto; display: block; overflow: visible; }
.chart-wrap .gl { stroke: #E2E2E2; stroke-width: 1; }
.chart-wrap .ax { font: 400 11px Inter, sans-serif; fill: var(--text-3); }
.chart-wrap .vl { font: 600 13px Inter, sans-serif; fill: var(--text); }
.chart-wrap .yt { font: 400 11px Inter, sans-serif; fill: #444; }
.chart-wrap .yr { stroke: #D0D0D0; stroke-width: 1; }
.chart-wrap .bar { fill: var(--text); }
.chart-wrap .bar.part { fill: #BDBDBD; }
.chart-wrap .bg { cursor: default; outline: none; }
.chart-wrap .bg:hover .bar, .chart-wrap .bg:focus .bar { fill: #555; }
.chart-wrap .bg:hover .bar.part, .chart-wrap .bg:focus .bar.part { fill: #999; }
.tip { position: absolute; pointer-events: none; background: var(--text); color: #fff; font-size: 12px; padding: 6px 10px; border-radius: 6px; white-space: nowrap; transform: translate(-50%, -100%); }
.data-table { margin-top: 16px; color: var(--text-2); }
.data-table summary { cursor: pointer; }
.data-table table { margin-top: 10px; border-collapse: collapse; }
.data-table td, .data-table th { padding: 4px 24px 4px 0; text-align: left; font-weight: 400; border-bottom: 1px solid #EEE; }

/* ===== Низ страницы ===== */
.next { display: block; margin-top: var(--section-gap); padding-top: 12px; border-top: var(--hair); }
.next-label { display: block; color: var(--text-2); }
.next-title { display: inline-flex; align-items: baseline; gap: 8px; margin-top: 4px; font-weight: 600; }
.next-title .arr { display: inline-block; transition: transform .25s var(--ease-out); }
.site-foot { margin-top: var(--section-gap); padding: 12px 0 56px; border-top: var(--hair); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 32px; color: var(--text-2); }
.next + .site-foot { margin-top: 64px; }
.site-foot .contacts { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.site-foot .contacts a { color: var(--text); }

/* ===== Наведение: только мышь ===== */
@media (hover: hover) and (pointer: fine) {
  .site-nav a:hover { color: var(--text); }
  a.frame:hover > img { transform: scale(1.02); }
  a.stage:hover { background: var(--case-deep); }
  .more:hover .arr, .next:hover .arr { transform: translateX(3px); }
  .tlink:hover { text-decoration-style: solid; }
  .site-foot .contacts a:hover { text-decoration: underline; text-underline-offset: .22em; }
}

/* ===== Планшет и телефон ===== */
@media (max-width: 1000px) {
  .stage .phone { width: min(230px, 26%); }
  .stage .phone.still { width: min(180px, 21%); }
}
@media (max-width: 768px) {
  .row, .compare-row, .web-2col, .phone-row-2, .metrics-row { display: flex; flex-direction: column; grid-template-columns: none; }
  .cell { flex: none; width: 100%; }
  .stage { aspect-ratio: auto; padding: 32px 0; }
  .stage .phone { width: 58%; }
  .stage .phone.still { display: none; }
  .stage.gp:not(.cover-stage) { aspect-ratio: 1 / 1.05; padding: 28px 0 0 16px; }
  .stage.gp:not(.cover-stage) .browser { left: 16px; top: 28px; width: 86%; }
  .stage.gp:not(.cover-stage) .gp-phone { width: 36%; right: 4%; }
  .cover-stage { aspect-ratio: 1 / 1.05; padding: 24px 0; gap: 2%; }
  .cover-stage .ph-c { width: 44%; }
  .cover-stage .ph-l, .cover-stage .ph-r { width: 34%; }
  .cover-stage .ph-l { margin-left: -10%; } .cover-stage .ph-r { margin-right: -10%; }
  .cover-stage.gp { padding: 28px 0 0 16px; }
  .cover-stage.gp .br { width: 86%; }
  .cover-stage.gp .ph-r { width: 36%; right: 4%; margin: 0; }
  .side { display: block; }
  .side .note { position: static; margin: 0 0 26px; padding: 0; }
  .pan-tile { padding: 20px 14px 0; }
  .pan-tile .pan { height: 380px; }
  .note { margin-top: 48px; }
  .insight-text { font-size: 18px; }
  .chart-wrap { padding: 20px 16px 16px; }
  .chart-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .chart-scroll svg { min-width: 680px; }
  .site-nav a { padding: 10px 14px; min-height: 44px; display: flex; align-items: center; }
  .more, .next-title, .site-foot .contacts a { min-height: 44px; display: inline-flex; align-items: center; }
}

/* Меньше движения: всё стоит, ничего не прячется */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .site-nav .pill { transition: opacity .2s ease; }
  .site-nav.is-hidden .pill { transform: none; opacity: 1; }
  .frame > img, .more .arr, .next-title .arr { transition: none; }
}

/* ===== Обо мне ===== */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); margin-top: 40px; }
.fact { display: flex; flex-direction: column; justify-content: space-between; gap: 32px; min-height: 180px; padding: 24px 24px 22px; border-radius: var(--r); background: var(--media); transition: background-color .3s ease, transform .16s var(--ease-out); }
.fact.c-tariffs, .fact.c-compliance, .fact.c-gazpoint, .fact.c-gifts { background: var(--case); }
.fact-lab { color: var(--text-3); line-height: 1.45; max-width: 30ch; }
.fact-num { font-size: 32px; line-height: 1; font-weight: 500; letter-spacing: -.025em; font-variant-numeric: tabular-nums; }
a.fact:active { transform: scale(.98); }
.xp { margin-top: var(--section-gap); }
.xp + .xp { margin-top: 72px; }
.xp h2 { font-weight: 500; color: var(--text-2); padding-bottom: 12px; margin-bottom: 24px; border-bottom: var(--hair); }
.xp ul { list-style: none; display: grid; gap: 32px; }
.xp li { display: grid; grid-template-columns: 136px minmax(0, 1fr); gap: 16px; align-items: baseline; }
.xp .dates { color: var(--text-2); font-variant-numeric: tabular-nums; }
.xp .head strong { font-weight: 600; }
.xp .head .ctx, .xp .sub .ctx { font-weight: 400; }
.xp .sub { margin-top: 2px; color: var(--text-2); }
.xp .x-note { margin-top: 8px; max-width: var(--measure); }
.xp .x-links { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 4px 16px; }
.xp ul.plain li { grid-template-columns: minmax(0, 1fr); }
.xp + .site-foot { margin-top: var(--section-gap); }
@media (hover: hover) and (pointer: fine) {
  a.fact:hover { background: var(--case-deep); }
}
@media (max-width: 900px) { .facts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 768px) {
  .xp li { grid-template-columns: 1fr; gap: 2px; }
  .xp .x-links a { min-height: 44px; display: inline-flex; align-items: center; }
  .fact { min-height: 150px; padding: 18px 16px; }
}

/* Пауза для живых плиток: всё, что крутится дольше 5 секунд, можно остановить */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.stage-wrap { position: relative; }
.motion-toggle { position: absolute; right: 12px; bottom: 12px; z-index: 5; display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px 0 10px; border: 1px solid rgba(17, 17, 17, .08); border-radius: 999px; background: rgba(255, 255, 255, .78); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); font: inherit; font-size: 13px; color: var(--text); cursor: pointer; transition: background-color .15s ease, transform .16s var(--ease-out); }
.motion-toggle:active { transform: scale(.96); }
.motion-toggle svg { width: 12px; height: 12px; }
.motion-toggle::before { content: ""; position: absolute; inset: -6px; }
@media (hover: hover) and (pointer: fine) { .motion-toggle:hover { background: #fff; } }
.stage-wrap + .row { margin-top: var(--gap); }
.pan-tile { position: relative; }

/* ===== Доска как в FigJam: холст в точку, ярлык раздела, курсор, стикер, рамка выделения ===== */
.board-stage { background-color: var(--case); background-image: radial-gradient(circle, color-mix(in srgb, var(--accent) 30%, transparent) 1.1px, transparent 1.6px); background-size: 22px 22px; background-position: 11px 11px; }
.board-stage .is-selected { outline: 2px solid var(--accent); outline-offset: 6px; }
.board-stage.gp .is-selected { outline: none; }
/* Простая серая подложка, как у Дарьи */
.live.stage, .pan-tile { background: #F1F1F1; }
.pan-tile .browser, .live .phone { box-shadow: 0 1px 2px rgba(0, 0, 0, .06), 0 20px 40px -18px rgba(0, 0, 0, .22); }
@media (max-width: 768px) {
}
/* Телефоны в обложке кейса всегда во всю ширину своей колонки, правила живых плиток их не трогают */
.stage.cover-stage .phone { width: 100%; }

/* Фото: круг цвета «Подарков». Лучше всего смотрится PNG без фона */
.avatar { flex-shrink: 0; display: block; overflow: hidden; border-radius: 50%; background: #C9D6FF; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.who { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.who h1 { font-size: 28px; line-height: 1.2; letter-spacing: -0.02em; }
.avatar.sm { width: 56px; height: 56px; }
@media (max-width: 768px) {
}

/* Детское фото: небольшой круг в конце «Обо мне» */
.kid { margin-top: var(--section-gap); }
.kid .avatar { width: 80px; height: 80px; }
.kid + .site-foot { margin-top: 40px; }



/* ===== Выноски на скриншотах (английская версия): номер на экране, перевод надписи под картинкой ===== */
.board.annot { position: relative; }
.pin { position: absolute; left: var(--x); top: var(--y); width: 24px; height: 24px; margin: -12px 0 0 -12px; display: grid; place-items: center; border-radius: 50%; background: var(--accent, #111); color: #fff; font-size: 12px; font-weight: 600; line-height: 1; font-variant-numeric: tabular-nums; box-shadow: 0 0 0 2px #fff, 0 2px 8px rgba(0, 0, 0, .22); transition: transform .2s var(--ease-out); }
.pin.is-on { transform: scale(1.25); }
.callouts { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: var(--gap); margin-top: var(--gap); }
.callouts li { display: flex; gap: 12px; padding: 14px 16px 15px; border-radius: var(--r); background: var(--media); line-height: 1.45; transition: background-color .2s ease; }
.callouts li.is-on { background: var(--case, var(--media)); }
.callouts .n { flex-shrink: 0; width: 20px; height: 20px; margin-top: 1px; display: grid; place-items: center; border-radius: 50%; background: var(--accent, #111); color: #fff; font-size: 11px; font-weight: 600; line-height: 1; }
.callouts q { display: block; font-weight: 500; }
.callouts q::before { content: "“"; } .callouts q::after { content: "”"; }
.callouts .d { display: block; margin-top: 2px; color: var(--text-3); }
@media (max-width: 768px) { .pin { width: 20px; height: 20px; margin: -10px 0 0 -10px; font-size: 11px; box-shadow: 0 0 0 1.5px #fff, 0 2px 6px rgba(0, 0, 0, .22); } }
@media (prefers-reduced-motion: reduce) { .pin { transition: none; } }
/* ===== /Выноски ===== */
