/* INVENTO — страница члена команды (pages/team-member.php): зоны и швы, крошки, шапка с портретом, стаж на ленте,
   биография и обращение, особенности, проекты, статьи, сертификаты, консультация, сноски.
   Страницу собирает раскладка (page-assets/team/config/layout.php): классы зон ставит team_render(), секции —
   page-assets/team/sections/*.php. Токены и общие элементы — base.css; лента — global/ribbons.css; карточка объекта —
   global/property-card.css; карточка статьи — global/article-card.css; лайтбокс сканов — global/lightbox.css. */

/* ══════════ 0. Общее страницы ══════════ */
.tp { --hdr-c: 64px; --seam: clamp(170px, 19vw, 280px); }
html:has(> body.tp) { scroll-padding-top: calc(64px + 24px); }
.tp .section { padding-block: clamp(52px, 6vw, 92px); }
.tz > .section:first-child { padding-top: 0; }
.tp .h2 { font-size: clamp(28px, 3.4vw, 52px); }
.tp .sec-head { margin-bottom: clamp(28px, 4vw, 52px); }

/* ══════════ 1. Зоны: фон и шов — по паре «тон до → тон после» (data-after, data-tone), как у подборки ══════════ */
.tz { padding-bottom: clamp(56px, 7vw, 110px); }
.tz--dusk { padding-bottom: 0; background:
    radial-gradient(48% 520px at 86% 8%, rgb(226 183 59 / .22), transparent 70%),
    radial-gradient(44% 420px at -6% 420px, rgb(62 98 120 / .45), transparent 70%),
    var(--ink); }
/* светлая после тёмной — солнце садится в море («Горизонт», base.css) */
.tz[data-tone="paper"][data-after="ink"] { padding-top: calc(var(--seam) * .82); --hz-y: calc(calc(var(--seam) * .82) - var(--seam) * .22); --hz-x: 84%; background: var(--hz-sunset); }
/* тёмная после светлой — силуэт города */
.tz[data-tone="ink"][data-after="paper"] { padding-top: calc(var(--seam) * 1.2); --hz-from: var(--paper); --hz-y: calc(var(--seam) * .98); background: var(--hz-city); }
.tz[data-tone="ink"][data-after="ink"] { padding-top: clamp(40px, 5vw, 72px); background: var(--ink); }
/* солнечная после светлой и после тёмной— пляж с пальмами */
.tz[data-tone="sun"][data-after="paper"] { --hz-from: var(--paper); --hz-y: calc(var(--seam) * .5 - 24px); background: var(--hz-beach); }
.tz[data-tone="sun"][data-after="ink"] { padding-top: var(--seam); --hz-y: calc(var(--seam) * .8); background: var(--hz-beach); }
.tz[data-tone="sun"] { padding-bottom: 0; }
/* тёмная после солнечной — город на закате перед подвалом */
.tz[data-tone="ink"][data-after="sun"] { padding-top: 0; padding-bottom: 0; --hz-from: var(--sun); --hz-y: min(var(--seam), 200px); background: var(--hz-city); }
.tz[data-tone="ink"][data-after="sun"].tz--empty { min-height: 280px; }
/* светлая после солнечной; светлая после светлой — без шва */
.tz[data-tone="paper"][data-after="sun"] { padding-top: var(--seam); --hz-from: var(--sun); --hz-y: calc(var(--seam) * .7); background: var(--hz-sea); }
.tz[data-tone="paper"][data-after="paper"] { padding-top: clamp(24px, 3vw, 40px); background: var(--paper); }
.tz--missing { min-height: 70vh; padding-top: calc(var(--header-h) + 40px); background: var(--paper); }
.tmissing__actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* ══════════ 2. Портрет: арка с фото (точка фокуса) или монограмма ══════════ */
.tportrait { position: relative; margin: 0; aspect-ratio: 4 / 5; border-radius: var(--r-arch); overflow: hidden; background: var(--night); }
.tportrait__img { width: 100%; height: 100%; object-fit: cover; object-position: var(--fx, 50%) var(--fy, 30%); }
.tportrait--mono { display: grid; place-items: center; background: var(--g-sun-r); color: var(--ink); }
.tportrait__mono { font: 800 clamp(30px, 3vw, 44px)/1 var(--font-display); letter-spacing: -.04em; }
.tportrait__mark { position: absolute; left: 50%; bottom: 9%; width: 22%; height: auto; translate: -50% 0; color: var(--ink); opacity: .32; }
/* в шапке — большая арка с тонкой золотой аркой вокруг */
.tportrait--hero { width: 100%; box-shadow: 0 0 0 1px rgb(244 205 84 / .3), 0 50px 90px -40px rgb(0 0 0 / .8); }
.tportrait--hero .tportrait__mono { font-size: clamp(64px, 8vw, 128px); }
/* маленькие — круг: подпись цитаты, консультация */
.tportrait--sm, .tportrait--xs { flex: none; aspect-ratio: 1; border-radius: 50%; }
.tportrait--sm { width: 72px; box-shadow: 0 0 0 3px var(--white), 0 0 0 5px var(--ink); }
.tportrait--xs { width: 56px; box-shadow: 0 0 0 2px rgb(244 205 84 / .55); }
.tportrait--sm .tportrait__mono { font-size: 22px; }
.tportrait--xs .tportrait__mono { font-size: 17px; }
.tportrait--sm .tportrait__mark, .tportrait--xs .tportrait__mark { display: none; }

/* ══════════ 3. Крошки и шапка ══════════ */
.tcrumbs { position: relative; z-index: 2; padding-top: calc(var(--header-h) + 14px); }
.theader { position: relative; padding: clamp(28px, 4vw, 56px) 0 clamp(150px, 15vw, 230px); }
.tz--dusk:last-child .theader { padding-bottom: clamp(56px, 7vw, 100px); }
.theader__grid { display: grid; gap: clamp(28px, 4vw, 44px); }
.theader__media { position: relative; width: clamp(176px, 50vw, 240px); }
.theader__media::after { content: ""; position: absolute; inset: -12px; z-index: -1; border-radius: var(--r-arch); border: 1.5px solid rgb(244 205 84 / .32); rotate: 2deg; pointer-events: none; }
.theader__halo { position: absolute; z-index: -2; right: -40%; top: -18%; width: 120%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgb(244 205 84 / .3), transparent 72%); pointer-events: none; }
.theader__copy { display: grid; gap: 16px; justify-items: start; min-width: 0; }
.theader__work { display: grid; gap: 8px; }
.theader__company { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font: 800 12px/1.3 var(--font-body); letter-spacing: .14em; text-transform: uppercase; }
.theader__org { font-weight: 800; color: var(--sun); }
a.theader__org { text-decoration: underline; text-decoration-color: rgb(244 205 84 / .45); text-decoration-thickness: 2px; text-underline-offset: 4px; }
a.theader__org:hover { text-decoration-color: var(--sun); }
.theader__pos { color: #a9c1cf; }
.theader__pos::before { content: "·"; margin-right: 10px; color: rgb(241 236 233 / .4); }
.theader__logo { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; overflow: hidden; background: var(--white); }
.theader__logo-img { width: 100%; height: 100%; object-fit: contain; }
.theader__name { display: grid; gap: .04em; font: 800 clamp(38px, 6.2vw, 92px)/.98 var(--font-display); letter-spacing: -.045em; color: var(--paper); overflow-wrap: anywhere; hyphens: auto; }
.theader__first small { font: italic 600 .5em/1 var(--font-accent); letter-spacing: -.01em; color: var(--pale); }
.theader__last { color: var(--sun); }
.theader__role { max-width: 34ch; font: italic 600 clamp(22px, 2.3vw, 32px)/1.2 var(--font-accent); color: var(--pale); text-wrap: balance; }
.theader__facts { display: flex; flex-wrap: wrap; gap: 8px 22px; font: 700 14.5px/1.3 var(--font-body); color: #a9c1cf; }
.theader__facts li { display: inline-flex; align-items: center; gap: 8px; min-height: 28px; }
.theader__facts .i { width: 18px; height: 18px; color: var(--sun); }
.theader__geo { display: grid; gap: 10px; }
.theader__geo-label { font: 800 11px/1.2 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--steel); }
.theader__geo ul { display: flex; flex-wrap: wrap; gap: 8px; }
.theader__chip { min-height: 44px; background: rgb(241 236 233 / .06); }
.theader__chip-i { width: 15px; height: 15px; margin-right: -2px; transition: translate .3s var(--ease-out); }
.theader__chip:hover .theader__chip-i { translate: 3px 0; }
.theader__chip--static:hover { background: rgb(241 236 233 / .06); color: var(--fg); border-color: color-mix(in srgb, var(--fg) 18%, transparent); }
.theader__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 10px; }
.theader__write .i { width: 20px; height: 20px; }
.theader__former { display: flex; align-items: flex-start; gap: 12px; max-width: 56ch; margin-top: 8px; padding: 16px 20px; border-radius: 20px; background: rgb(241 236 233 / .06); border: 1px solid rgb(241 236 233 / .14); font-size: 15px; line-height: 1.5; color: var(--paper); }
.theader__former .i { margin-top: 1px; color: var(--sun); }
.tcontacts { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.tcontacts__wa { min-height: 60px; }
.tcontacts__icon { width: 60px; height: 60px; }
@media (max-width: 599.98px) {
  .theader__actions { display: grid; grid-template-columns: minmax(0, 1fr); width: 100%; }
  .theader__write { width: 100%; }
  .tcontacts { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; }
}
@media (min-width: 768px) {
  .theader__grid { grid-template-columns: 300px minmax(0, 1fr); align-items: center; column-gap: clamp(40px, 6vw, 88px); }
  .theader__media { width: 100%; }
}
/* телефон: рамка арки уже — иначе с поворотом она касается края экрана за полем 16 px */
@media (max-width: 767.98px) { .theader__media::after { inset: -6px; } }
@media (min-width: 1024px) {
  .theader__grid { grid-template-columns: 400px minmax(0, 1fr); }
  .theader__media::after { inset: -16px; }
}

/* ══════════ 4. Стаж: солнечная лента поперёк шва (как «Цифры доверия» главной) ══════════ */
.texp { position: relative; z-index: 4; margin-top: calc(var(--seam) * -.55); margin-bottom: clamp(56px, 7vw, 110px); }
.texp__ribbon { rotate: -1.5deg; }
.texp__grid { display: grid; gap: 22px 40px; }
.texp__main { display: flex; align-items: flex-end; gap: 16px 22px; min-width: 0; }
.toutline { display: block; overflow: visible; }
.texp__num { flex: none; width: auto; height: clamp(96px, 12vw, 190px); color: var(--ink); }
.texp__caption { display: grid; gap: 6px; padding-bottom: .4em; min-width: 0; }
.texp__label { max-width: 13ch; font: 700 clamp(20px, 2.2vw, 32px)/1.08 var(--font-display); letter-spacing: -.03em; color: var(--ink); text-wrap: balance; }
.texp__start { font: 700 14px/1.35 var(--font-body); color: var(--bronze-deep); }
.texp__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; margin: 0; }
.texp__stat { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 6px; padding-left: 16px; border-left: 2px solid rgb(12 22 29 / .16); }
.texp__stat-num { margin: 0; font: 800 clamp(26px, 2.9vw, 46px)/.95 var(--font-display); letter-spacing: -.04em; font-variant-numeric: tabular-nums; color: var(--ink); white-space: nowrap; }
.texp__stat-label { max-width: 22ch; font: 700 clamp(13px, 1.05vw, 15px)/1.35 var(--font-body); color: var(--bronze-deep); }
@media (min-width: 1024px) {
  .texp__ribbon { rotate: -2.5deg; }
  .texp__grid { grid-template-columns: auto minmax(0, 1fr); align-items: center; }
  .texp__grid--solo { grid-template-columns: minmax(0, 1fr); justify-items: center; }
  .texp__list--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .texp__list--3, .texp__list--5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .texp__list--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .texp__list--1 { grid-template-columns: minmax(0, 260px); justify-content: end; }
}

/* ══════════ 5. Биография и обращение ══════════ */
.tbio__grid { display: grid; gap: 22px; }
.tbio .sec-head { margin-bottom: 0; }
.tbio__text { display: grid; gap: 18px; max-width: 66ch; }
.tbio__text p { font-size: 17px; line-height: 1.75; color: var(--ink); }
.tbio__text .tbio__first { font: italic 600 clamp(21px, 1.9vw, 28px)/1.38 var(--font-accent); letter-spacing: -.005em; text-wrap: pretty; }
.tbio__text em { font-family: var(--font-accent); font-style: italic; font-weight: 600; font-size: 1.12em; }
.tbio__text a { text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 4px; }
@media (min-width: 1024px) {
  .tbio__grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
  .tbio__head { position: sticky; top: calc(var(--hdr-c) + 32px); }
}
.tquote { position: relative; display: grid; gap: 16px; max-width: 900px; margin: clamp(64px, 8vw, 120px) 0 0; padding: clamp(40px, 4.4vw, 60px) clamp(24px, 4vw, 56px) clamp(28px, 3.4vw, 44px); border-radius: 32px;
  background: radial-gradient(60% 120% at 100% 0%, rgb(244 205 84 / .2), transparent 62%), var(--ink); box-shadow: 0 50px 100px -46px rgb(12 22 29 / .75); rotate: -1deg; transition: rotate .5s var(--ease-out); }
.tquote:hover, .tquote:focus-within { rotate: 0deg; }
.tquote__mark { position: absolute; top: -26px; left: clamp(24px, 4vw, 56px); width: 56px; height: 56px; padding: 14px; border-radius: 50%; background: var(--sun); color: var(--ink); box-shadow: 0 14px 30px -12px rgb(226 183 59 / .8); }
.tquote__label { font: 800 11px/1.2 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--steel); }
.tquote__text { margin: 0; }
.tquote__text p { font: italic 600 clamp(23px, 2.5vw, 36px)/1.3 var(--font-accent); letter-spacing: -.005em; color: var(--paper); text-wrap: pretty; }
.tquote__who { display: flex; align-items: center; gap: 14px; margin-top: 8px; padding-top: 20px; border-top: 1px solid var(--line); }
.tquote__who > span { display: grid; gap: 3px; min-width: 0; }
.tquote__who b { font: 700 16px/1.2 var(--font-display); letter-spacing: -.02em; color: var(--paper); }
.tquote__who small { font: 600 13px/1.35 var(--font-body); color: #a9c1cf; }
@media (min-width: 1024px) { .tquote { margin-left: auto; margin-right: 3%; } }

/* ══════════ 6. Особенности ══════════ */
.tfeat__grid { display: grid; gap: clamp(16px, 2vw, 26px); }
.tfeat__card { position: relative; display: grid; align-content: start; gap: 12px; height: 100%; padding: 26px 24px 28px; border-radius: 28px; background: var(--white); color: var(--ink); box-shadow: var(--shadow-paper); transition: translate .5s var(--ease-out), box-shadow .5s; }
.tfeat__item:hover .tfeat__card { translate: 0 -6px; box-shadow: var(--shadow-lift); }
.tfeat__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.tfeat__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--g-sun-r); color: var(--ink); }
.tfeat__icon .i { width: 24px; height: 24px; }
.tfeat__n { font: 800 44px/1 var(--font-display); letter-spacing: 0; color: var(--gold-deep); opacity: .6; filter: url(#fx-outline-thin); user-select: none; }
.tfeat__title { font: 700 clamp(19px, 1.6vw, 22px)/1.2 var(--font-display); letter-spacing: -.025em; text-wrap: balance; }
.tfeat__text { font-size: 15.5px; line-height: 1.6; color: var(--navy); }
.tfeat__text em { font-family: var(--font-accent); font-style: italic; font-weight: 600; font-size: 1.1em; }
@media (min-width: 768px) { .tfeat__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .tfeat__grid--1 { grid-template-columns: minmax(0, 560px); } }
@media (min-width: 1024px) {
  .tfeat__grid--3, .tfeat__grid--5, .tfeat__grid--6 { grid-template-columns: repeat(3, minmax(0, 1fr)); padding-bottom: 36px; }
  .tfeat__grid--3 > :nth-child(3n + 2) .tfeat__card, .tfeat__grid--5 > :nth-child(3n + 2) .tfeat__card, .tfeat__grid--6 > :nth-child(3n + 2) .tfeat__card { translate: 0 36px; }
  .tfeat__grid--3 > :nth-child(3n + 2):hover .tfeat__card, .tfeat__grid--5 > :nth-child(3n + 2):hover .tfeat__card, .tfeat__grid--6 > :nth-child(3n + 2):hover .tfeat__card { translate: 0 30px; }
}
@media (min-width: 1240px) { .tfeat__grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ══════════ 7. Проекты (зона «Ночь»), статьи, сертификаты (зона «Утро») ══════════ */
.tprojects .pcard-grid { padding-bottom: 0; }
@media (min-width: 1024px) { .tprojects .pcard-grid:has(> :nth-child(2)) { padding-bottom: 56px; } }
/* один проект: на телефоне карточка во всю ширину, с 768 px — шапка слева, карточка справа (без пустой сетки) */
.tprojects--one .tprojects__grid.rail > * { flex-basis: 100%; }
@media (min-width: 768px) {
  .tprojects--one .container { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; column-gap: clamp(32px, 5vw, 96px); }
  .tprojects--one .sec-head { grid-template-columns: minmax(0, 1fr); margin-bottom: 0; }
  .tprojects--one .sec-head--row > .sec-head__aside { grid-column: auto; grid-row: auto; justify-self: start; }
  .tprojects--one .pcard-grid { grid-template-columns: minmax(0, 1fr); padding-bottom: 0; }
}
@media (min-width: 1024px) { .tprojects--one .container { grid-template-columns: minmax(0, 1fr) minmax(0, 460px); } }
.acard__meta .tarticles__role { display: inline-flex; align-items: center; gap: 5px; min-height: 24px; padding: 0 10px 0 8px; border-radius: var(--r-pill); background: var(--ink); color: var(--sun); font: 800 10.5px/1 var(--font-body); letter-spacing: .12em; text-transform: uppercase; }
.tarticles__role .i { width: 13px; height: 13px; }
.tarticles + .tcerts { padding-top: clamp(24px, 3vw, 40px); }

.tcerts__grid { display: grid; gap: clamp(16px, 2vw, 24px); }
.tcert__card { position: relative; display: flex; flex-direction: column; height: 100%; border-radius: 26px; overflow: hidden; background: var(--white); color: var(--ink); box-shadow: var(--shadow-paper); }
/* внутренняя рамка — как у диплома */
.tcert__card::after { content: ""; position: absolute; inset: 9px; border-radius: 19px; border: 1px solid rgb(176 135 11 / .32); pointer-events: none; }
.tcert__scan { position: relative; display: block; aspect-ratio: 4 / 3; margin: 9px 9px 0; border-radius: 18px 18px 6px 6px; overflow: hidden; background: var(--sand); }
.tcert__img { width: 100%; height: 100%; object-fit: cover; transition: scale 1s var(--ease-out); }
.tcert__scan:hover .tcert__img { scale: 1.05; }
.tcert__zoom { position: absolute; right: 12px; bottom: 12px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgb(12 22 29 / .72); color: var(--sun); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.tcert__zoom .i { width: 18px; height: 18px; }
.tcert__body { display: grid; gap: 10px; align-content: start; flex: 1; padding: 24px 26px 26px; }
.tcert__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 4px; }
.tcert__seal { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--ink); color: var(--sun); }
.tcert__seal .i { width: 21px; height: 21px; }
.tcert__year { font: 800 clamp(26px, 2.4vw, 34px)/1 var(--font-display); letter-spacing: -.03em; color: var(--ink); font-variant-numeric: tabular-nums; }
.tcert__title { font: 700 clamp(17px, 1.4vw, 19px)/1.28 var(--font-display); letter-spacing: -.02em; text-wrap: balance; }
.tcert__issuer { font: 700 14px/1.4 var(--font-body); color: var(--bronze); }
.tcert__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 16px; margin-top: auto; padding-top: 12px; border-top: 1px dashed rgb(12 22 29 / .16); }
.tcert__num { font: 600 13px/1.3 var(--font-body); color: var(--navy-3); font-variant-numeric: tabular-nums; }
.tcert__verify { position: relative; display: inline-flex; align-items: center; gap: 7px; min-height: 44px; font: 800 14px/1 var(--font-body); color: var(--ink); text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.tcert__verify .i { width: 16px; height: 16px; transition: translate .3s var(--ease-out); }
.tcert__verify:hover .i { translate: 4px 0; }
/* Одна карточка на телефоне — во всю ширину, а не обрывок пустой карусели (на ≥768 сетка, flex-basis не действует) */
.tcerts__grid.rail > :only-child, .tfeat__grid.rail > :only-child { flex-basis: 100%; }
@media (min-width: 768px) { .tcerts__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .tcerts__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ══════════ 8. Консультация (зона «Солнце») ══════════ */
.tp .tcta { position: relative; padding-top: calc(var(--seam) * .8); padding-bottom: clamp(70px, 8vw, 120px); overflow-x: clip; }
.tz[data-tone="sun"][data-after="ink"] > .tcta, .tz[data-tone="sun"][data-after="paper"] > .tcta { padding-top: calc(var(--seam) * .5); }
.tcta__rays { position: absolute; right: -12vw; top: calc(var(--seam) * .3); bottom: 0; width: 64vw; z-index: -1; pointer-events: none; background: repeating-linear-gradient(118deg, transparent 0 36px, rgb(12 22 29 / .07) 36px 60px); -webkit-mask-image: radial-gradient(closest-side, #000 30%, transparent); mask-image: radial-gradient(closest-side, #000 30%, transparent); }
.tcta__grid { position: relative; display: grid; gap: 44px; }
.tcta__copy { display: grid; gap: 20px; align-content: start; justify-items: start; min-width: 0; }
.tcta__copy .h2 em { color: var(--ink); }
.tcta__person { display: flex; align-items: center; gap: 16px; padding: 12px 20px 12px 12px; border-radius: 26px; background: rgb(255 255 255 / .42); }
.tcta__person b { display: block; font: 700 17px/1.2 var(--font-display); letter-spacing: -.02em; }
.tcta__person p span { display: block; margin-top: 4px; font-size: 13.5px; line-height: 1.4; color: var(--bronze-deep); }
.tcta__mono { display: grid; place-items: center; flex: none; width: 72px; height: 72px; border-radius: 50%; background: var(--ink); color: var(--sun); font: 800 22px/1 var(--font-display); letter-spacing: -.03em; box-shadow: 0 0 0 3px var(--white), 0 0 0 5px var(--ink); }
.tcontacts--consult .btn { min-height: 52px; }
.tcontacts__phone { font-variant-numeric: tabular-nums; }
.tcta__socials { display: flex; flex-wrap: wrap; gap: 8px; }
.tcta__socials .chip .i { width: 16px; height: 16px; }
.tcta__note { display: inline-flex; align-items: center; gap: 8px; font: 700 14px/1.4 var(--font-body); color: var(--bronze-deep); }
.tcta__note .i { width: 18px; height: 18px; }
.tcta__card { position: relative; padding: clamp(24px, 3vw, 40px); border-radius: 32px; background: var(--ink); box-shadow: 0 60px 100px -40px rgb(12 22 29 / .75); min-width: 0; }
.tcta__card-title { margin-bottom: 20px; padding-right: 8px; font: 700 clamp(20px, 2vw, 26px)/1.15 var(--font-display); letter-spacing: -.03em; text-wrap: balance; }
@media (max-width: 599.98px) {
  .tcontacts--consult { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
  .tcontacts--consult .btn { padding: 0 14px; }
  .tcontacts--consult .btn:last-child { grid-column: 1 / -1; }
}
@media (min-width: 1024px) {
  .tcta__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 500px); gap: clamp(40px, 6vw, 96px); align-items: start; }
  .tcta__card { margin-bottom: -150px; rotate: 1.2deg; }
}

/* ══════════ 9. Сноски, черновик ══════════ */
.tnotes { padding: 300px 0 clamp(40px, 5vw, 64px); }
@media (max-width: 1023.98px) { .tnotes { padding-top: 120px; } }
.tnotes__title { margin-bottom: 14px; font: 800 12px/1.2 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--steel); }
.tnotes__list { display: grid; gap: 8px; max-width: 900px; padding-left: 20px; list-style: decimal; font-size: 13.5px; line-height: 1.55; color: #a9c1cf; }
.tdraft { position: fixed; left: 16px; bottom: calc(84px + env(safe-area-inset-bottom)); z-index: 60; display: flex; align-items: center; gap: 8px; max-width: min(420px, calc(100vw - 32px)); margin: 0; padding: 10px 16px; border-radius: var(--r-pill); background: var(--sun); color: var(--ink); font: 700 13px/1.3 var(--font-body); box-shadow: 0 12px 30px -10px rgb(0 0 0 / .45); }
.tdraft .i { width: 16px; height: 16px; flex: none; }
@media (min-width: 1024px) { .tdraft { bottom: 16px; } }
.tdebug { position: relative; z-index: 7; margin-top: calc(var(--header-h) + 12px); padding: 14px 18px; border-radius: 16px; border: 1.5px dashed var(--sun); background: var(--ink); font: 600 13px/1.5 var(--font-body); color: var(--pale); }
.tdebug summary { cursor: pointer; font-weight: 800; }
.tdebug ul { margin-top: 8px; padding-left: 18px; list-style: disc; }
.tdebug + .tz--dusk .tcrumbs { padding-top: 24px; }
/* Стаж на узком телефоне: число и подпись в одну строку без выхода за край */
@media (max-width: 479.98px) {
  .texp__num { height: 80px; }
  .texp__main { gap: 12px 14px; }
  .texp__label { font-size: 18px; }
}
