/* Layout: one-column landing; Roman-arch hero over a night sky; marble interludes for process and stories */
:root {
  --night: #0B1020; --night-2: #111936; --night-3: #18234A;
  --marble: #EDEAE2; --paper: #F7F5F0;
  --text: #EDEAE2; --mute: #A3ABC0;
  --ink: #121628; --ink-mute: #4B5168;
  --gold: #E3B552; --gold-2: #F2D58E; --gold-ink: #7A5410;
  --lapis: #4A78FF;
  --line: rgba(237,234,226,.14); --line-ink: rgba(18,22,40,.14);
  --f-display: "Forum", "Cormorant Garamond", Georgia, serif;
  --f-body: "Golos Text", "Segoe UI", system-ui, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  color-scheme: dark;
}
body { margin: 0; background: var(--night); color: var(--text); font-family: var(--f-body); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: var(--gold); } a:hover { color: var(--gold-2); }
* { box-sizing: border-box; }
sc-for, sc-if { display: contents; }
::selection { background: var(--gold); color: var(--night); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
html { scroll-behavior: smooth; }
.page { overflow-x: clip; background: var(--night); }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding-inline: clamp(16px, 4vw, 48px); }
.eyebrow { font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.h2 { font-family: var(--f-display); font-weight: 400; font-size: clamp(36px, 4.6vw, 62px); line-height: 1.02; letter-spacing: .005em; margin: 0; text-wrap: balance; }
.lead { font-size: clamp(17px, 1.5vw, 19px); color: var(--mute); max-width: 62ch; margin: 0; text-wrap: pretty; }
.sec { padding-block: clamp(44px, 5vw, 72px); }
.sec-head { display: flex; flex-direction: column; gap: 16px; margin-bottom: clamp(36px, 4.5vw, 56px); max-width: 860px; }
.light { background: var(--marble); color: var(--ink); }
.light .lead { color: var(--ink-mute); }
.light .eyebrow { color: var(--gold-ink); }
.ph { font-family: var(--f-mono); font-size: .86em; color: var(--gold-ink); background: rgba(122,84,16,.1); padding: 1px 6px; border-radius: 6px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px; font: 600 16px/1 var(--f-body); text-decoration: none; cursor: pointer; border: 0; position: relative; overflow: hidden; white-space: nowrap; transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s, background .25s, color .25s; }
.btn-gold { background: var(--gold); color: var(--night); box-shadow: 0 10px 30px -10px rgba(227,181,82,.6); }
.btn-gold:hover { color: var(--night); transform: translateY(-2px); box-shadow: 0 18px 40px -12px rgba(227,181,82,.8); }
.btn-gold::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.55) 50%, transparent 70%); transform: translateX(-120%); animation: shine 5s 2.4s infinite; }
@keyframes shine { 0% { transform: translateX(-120%); } 20%, 100% { transform: translateX(120%); } }
.btn-ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1px var(--line); }
.btn-ghost:hover { color: var(--text); box-shadow: inset 0 0 0 1px var(--gold); transform: translateY(-2px); }
.light .btn-ghost { color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-ink); }

.proto { background: var(--gold); color: var(--night); font: 500 13px/1.4 var(--f-mono); text-align: center; padding: 8px 16px; }
.hdr { position: sticky; top: 0; z-index: 40; background: rgba(11,16,32,.9); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); border-bottom: 1px solid var(--line); }
.hdr-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); }
.logo:hover { color: var(--text); }
.logo-mark { width: 40px; height: 40px; flex: none; }
.logo-t { font-family: var(--f-display); font-size: 21px; letter-spacing: .1em; line-height: 1; }
.logo-s { font: 500 10px/1.3 var(--f-mono); letter-spacing: .14em; color: var(--mute); text-transform: uppercase; }
.nav { display: flex; gap: 28px; }
.nav a { color: var(--mute); text-decoration: none; font-size: 15px; transition: color .2s; }
.nav a:hover { color: var(--text); }
.hdr .btn { min-height: 44px; padding: 0 20px; font-size: 15px; }

.hero { position: relative; overflow: hidden; padding-block: clamp(44px, 6vw, 88px) clamp(56px, 7vw, 100px); }
.hero::before { content: ""; position: absolute; right: -12%; top: -30%; width: 75%; height: 140%; background: radial-gradient(closest-side, rgba(74,120,255,.2), transparent 70%); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.h1 { font-family: var(--f-display); font-weight: 400; font-size: clamp(42px, 5.4vw, 78px); line-height: .98; margin: 18px 0 24px; text-wrap: balance; }
.h1 .w { display: inline-block; animation: rise .9s cubic-bezier(.2,.8,.2,1) both; }
.h1 .w:nth-child(2) { animation-delay: .07s; } .h1 .w:nth-child(3) { animation-delay: .14s; } .h1 .w:nth-child(4) { animation-delay: .21s; } .h1 .w:nth-child(5) { animation-delay: .28s; } .h1 .w:nth-child(6) { animation-delay: .4s; } .h1 .w:nth-child(7) { animation-delay: .48s; }
.h1 em { font-style: normal; color: var(--gold); }
@keyframes rise { from { opacity: 0; transform: translateY(.5em) rotate(1.2deg); filter: blur(8px); } to { opacity: 1; transform: none; filter: none; } }
.fade-up { animation: rise .9s cubic-bezier(.2,.8,.2,1) both; }
.d1 { animation-delay: .55s; } .d2 { animation-delay: .7s; } .d3 { animation-delay: .85s; } .d4 { animation-delay: 1s; }
.hero-sub { font-size: clamp(17px, 1.55vw, 20px); color: var(--mute); max-width: 56ch; margin: 0 0 30px; text-wrap: pretty; }
.hero-sub b { color: var(--text); font-weight: 500; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 36px; }
.rings-cap { font: 500 12px/1.4 var(--f-mono); color: var(--mute); letter-spacing: .06em; margin-bottom: 14px; }
.rings { display: flex; flex-wrap: wrap; gap: 18px; }
.ring { display: flex; flex-direction: column; align-items: center; gap: 8px; background: none; border: 0; padding: 0; cursor: pointer; color: var(--text); font: 500 13px/1.2 var(--f-body); animation: pop .7s cubic-bezier(.3,1.5,.5,1) both; }
.ring:nth-child(1) { animation-delay: 1.05s; } .ring:nth-child(2) { animation-delay: 1.13s; } .ring:nth-child(3) { animation-delay: 1.21s; } .ring:nth-child(4) { animation-delay: 1.29s; } .ring:nth-child(5) { animation-delay: 1.37s; } .ring:nth-child(6) { animation-delay: 1.45s; }
.ring-b { position: relative; width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; transition: transform .3s cubic-bezier(.2,.8,.2,1); }
.ring-b::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(var(--gold), var(--lapis), var(--gold-2), var(--gold)); animation: spin 5s linear infinite; }
.ring:hover .ring-b { transform: scale(1.08); }
.ring-in { position: relative; width: calc(100% - 6px); height: calc(100% - 6px); border-radius: 50%; overflow: hidden; border: 3px solid var(--night); }
.ring-in svg { position: absolute; inset: 0; width: 100%; height: 100%; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pop { from { opacity: 0; transform: scale(.5); } to { opacity: 1; transform: none; } }

.arch { position: relative; width: 100%; max-width: 440px; margin-left: auto; aspect-ratio: 4 / 5; }
.arch svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.arch .draw { fill: none; stroke: var(--gold); stroke-dasharray: 1200; stroke-dashoffset: 1200; animation: draw 2.6s .2s cubic-bezier(.6,.1,.2,1) forwards; }
.arch .thin { stroke-width: 1.2; opacity: .55; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.arch .sky { fill: #141D44; opacity: 0; animation: fadeIn 1.4s .9s ease forwards; }
.arch .orbit { fill: none; stroke: rgba(237,234,226,.16); stroke-width: 1; }
.arch .orb { transform-box: view-box; transform-origin: 200px 300px; animation: spin linear infinite; }
.arch .o1 { animation-duration: 12s; } .arch .o2 { animation-duration: 20s; animation-direction: reverse; } .arch .o3 { animation-duration: 32s; }
.arch .glow { fill: var(--gold); opacity: .35; filter: blur(16px); animation: breathe 4s ease-in-out infinite; }
@keyframes breathe { 50% { opacity: .6; } }
.arch .tw { fill: var(--text); animation: tw 3.2s ease-in-out infinite; }
.arch .tw:nth-child(2n) { animation-delay: .8s; } .arch .tw:nth-child(3n) { animation-delay: 1.7s; }
@keyframes tw { 0%, 100% { opacity: .2; } 50% { opacity: 1; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.arch-cap { position: absolute; left: 50%; bottom: -8px; transform: translateX(-50%); font: 500 11px/1 var(--f-mono); letter-spacing: .32em; color: var(--gold); white-space: nowrap; }

.mq { border-block: 1px solid var(--line); overflow: hidden; padding-block: 18px; background: var(--night-2); }
.mq-track { display: flex; width: max-content; animation: mq 40s linear infinite; }
.mq-item { display: flex; align-items: center; gap: 44px; padding-right: 44px; font-family: var(--f-display); font-size: 26px; letter-spacing: .05em; white-space: nowrap; }
.mq-item::after { content: ""; width: 7px; height: 7px; background: var(--gold); transform: rotate(45deg); }
@keyframes mq { to { transform: translateX(-50%); } }

.proof { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; }
.pf { background: var(--night); padding: 28px 26px; display: flex; flex-direction: column; gap: 10px; }
.num { font-family: var(--f-display); font-size: clamp(56px, 6vw, 84px); line-height: .9; color: var(--gold); font-variant-numeric: tabular-nums; }
.num-l { color: var(--mute); font-size: 15px; max-width: 28ch; }

.dgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(330px, 100%), 1fr)); gap: 18px; }
.dcard { position: relative; background: var(--night-2); border: 1px solid var(--line); border-radius: 22px; padding: 28px; display: flex; flex-direction: column; gap: 12px; min-height: 250px; transition: transform .35s cubic-bezier(.2,.8,.2,1), border-color .35s; }
.dcard:hover { transform: translateY(-4px); border-color: rgba(227,181,82,.55); }
.dcard h3 { font-family: var(--f-display); font-weight: 400; font-size: 32px; line-height: 1.05; margin: 0; }
.dcard p { margin: 0; color: var(--mute); font-size: 16px; }
.dsym { font: 500 14px/1 var(--f-mono); color: var(--gold); letter-spacing: .04em; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 8px; }
.tag { font: 500 12px/1 var(--f-mono); padding: 8px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--text); }

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(290px, 100%), 1fr)); gap: clamp(18px, 3vw, 40px); }
.step { border-top: 1px solid var(--line-ink); padding-top: 22px; display: flex; flex-direction: column; gap: 10px; }
.step-n { font-family: var(--f-display); font-size: 64px; line-height: .9; color: var(--gold-ink); }
.step h3 { margin: 0; font: 600 21px/1.3 var(--f-body); }
.step p { margin: 0; color: var(--ink-mute); }

.pgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 18px; }
.pcard { appearance: none; text-align: left; font: inherit; color: inherit; background: var(--night-2); border: 1px solid var(--line); border-radius: 24px; padding: 0; overflow: hidden; cursor: pointer; display: flex; flex-direction: column; transition: transform .45s cubic-bezier(.2,.8,.2,1), box-shadow .45s, border-color .45s; }
.pcard:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(0,0,0,.85); border-color: rgba(227,181,82,.5); }
.pscene { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.pscene svg { position: absolute; inset: 0; width: 100%; height: 100%; transition: transform .9s cubic-bezier(.2,.8,.2,1); }
.pcard:hover .pscene svg { transform: scale(1.07); }
.proman { position: absolute; left: 16px; top: 14px; font: 500 11px/1 var(--f-mono); letter-spacing: .22em; color: rgba(255,255,255,.9); }
.pplay { position: absolute; right: 14px; bottom: 14px; display: flex; align-items: center; gap: 8px; font: 500 12px/1 var(--f-mono); letter-spacing: .04em; background: rgba(11,16,32,.66); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); padding: 10px 12px; border-radius: 999px; color: var(--text); }
.pplay i { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); animation: pulse 1.8s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(227,181,82,.7); } 70% { box-shadow: 0 0 0 10px rgba(227,181,82,0); } 100% { box-shadow: 0 0 0 0 rgba(227,181,82,0); } }
.pbody { display: flex; flex-direction: column; gap: 8px; padding: 22px 24px 26px; }
.ptitle { font-family: var(--f-display); font-size: 31px; line-height: 1.05; }
.ptext { color: var(--mute); font-size: 16px; }
.pfact { font: 500 13px/1.4 var(--f-mono); color: var(--gold); margin-top: 4px; }
.sc-rome { background: linear-gradient(180deg, #F2B66E 0%, #CB6A43 58%, #5E2B3B 100%); }
.sc-kenya { background: linear-gradient(180deg, #FFD27A 0%, #F08A3C 48%, #7C3C26 100%); }
.sc-meet { background: linear-gradient(165deg, #2B3566 0%, #6A4A8C 62%, #C27A68 100%); }
.sc-mentor { background: linear-gradient(165deg, #1C2B55 0%, #2F5BD3 70%, #86ADFF 100%); }
.sc-sport { background: linear-gradient(165deg, #0E4D3A 0%, #178A5E 62%, #7BD39B 100%); }
.sc-help { background: linear-gradient(165deg, #4A2A3F 0%, #9A4B5A 56%, #E8A27C 100%); }
.sc-case { background: linear-gradient(165deg, #18234A 0%, #2A3A78 62%, #8A6A3A 100%); }

.cal-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.cal { background: var(--night-2); border: 1px solid var(--line); border-radius: 24px; padding: clamp(18px, 2.4vw, 28px); }
.cal-h { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 16px; }
.cal-m { font-family: var(--f-display); font-size: 32px; line-height: 1; }
.cal-y { font: 500 12px/1 var(--f-mono); color: var(--mute); letter-spacing: .1em; }
.cal-dow, .cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.cal-dow span { font: 500 11px/1 var(--f-mono); color: var(--mute); text-align: center; letter-spacing: .08em; padding-bottom: 8px; }
.cell { position: relative; aspect-ratio: 1; border-radius: 10px; display: grid; place-items: center; font: 500 14px/1 var(--f-mono); color: var(--mute); background: rgba(237,234,226,.045); font-variant-numeric: tabular-nums; }
.cell.empty { background: none; }
.cell.fri { background: rgba(227,181,82,.18); color: var(--gold-2); }
.cell.vol { background: rgba(74,120,255,.26); color: #CFDBFF; }
.cell.today { box-shadow: inset 0 0 0 2px var(--gold); color: var(--text); }
.cell.fri::after, .cell.vol::after { content: ""; position: absolute; bottom: 5px; width: 4px; height: 4px; border-radius: 50%; background: currentColor; }
.legend { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 18px; font-size: 13px; color: var(--mute); }
.legend span { display: inline-flex; align-items: center; gap: 8px; }
.sw { width: 12px; height: 12px; border-radius: 4px; display: inline-block; }
.rh { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.rh:first-child { padding-top: 0; }
.rh-f { font: 500 13px/1.5 var(--f-mono); color: var(--gold); letter-spacing: .03em; }
.rh-t b { display: block; font-weight: 600; font-size: 18px; margin-bottom: 2px; color: var(--text); }
.rh-t span { color: var(--mute); font-size: 15px; }

.cgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 18px; }
.ccard { appearance: none; font: inherit; text-align: left; cursor: pointer; color: var(--ink); background: var(--paper); border: 1px solid var(--line-ink); border-radius: 24px; padding: 26px; display: flex; flex-direction: column; gap: 14px; transition: transform .4s cubic-bezier(.2,.8,.2,1), box-shadow .4s; }
.ccard:hover { transform: translateY(-5px); box-shadow: 0 26px 50px -28px rgba(18,22,40,.5); }
.c-top { display: flex; align-items: center; gap: 12px; }
.c-av { width: 52px; height: 52px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--night); color: var(--gold); font: 500 14px/1 var(--f-mono); box-shadow: 0 0 0 3px var(--paper), 0 0 0 5px var(--gold); }
.c-meta { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.c-tag { font: 500 11px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--gold-ink); }
.c-name { font-weight: 600; }
.c-res { font-family: var(--f-display); font-size: 30px; line-height: 1.08; }
.c-row { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 10px; font-size: 15px; color: var(--ink-mute); border-top: 1px dashed var(--line-ink); padding-top: 10px; }
.c-row b { font: 500 11px/1.9 var(--f-mono); color: var(--ink); text-transform: uppercase; letter-spacing: .08em; }
.c-open { margin-top: auto; padding-top: 6px; font-weight: 600; font-size: 15px; display: flex; gap: 8px; align-items: center; }
.c-note { font: 500 12px/1.6 var(--f-mono); color: var(--ink-mute); margin: 22px 0 0; }

.team { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 18px; }
.tcard { background: var(--night-2); border: 1px solid var(--line); border-radius: 28px; padding: clamp(22px, 3vw, 36px); display: grid; grid-template-columns: minmax(0, 210px) minmax(0, 1fr); gap: 30px; align-items: start; }
.tcard.sm { grid-template-columns: minmax(0, 1fr); }
.tcard.sm .portrait { max-width: 160px; }
.portrait { position: relative; aspect-ratio: 3 / 4; border-radius: 999px 999px 18px 18px; background: linear-gradient(180deg, var(--night-3), var(--night)); border: 1px solid rgba(227,181,82,.45); display: grid; place-items: center; overflow: hidden; }
.portrait span { font-family: var(--f-display); font-size: 56px; color: var(--gold); }
.portrait em { position: absolute; bottom: 14px; left: 0; right: 0; text-align: center; font: 500 10px/1 var(--f-mono); letter-spacing: .14em; color: var(--mute); font-style: normal; text-transform: uppercase; }
.tname { font-family: var(--f-display); font-weight: 400; font-size: 40px; line-height: 1; margin: 0 0 8px; }
.trole { color: var(--gold); font: 500 13px/1.5 var(--f-mono); letter-spacing: .04em; margin: 0 0 18px; }
.tlist { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.tlist li { display: grid; grid-template-columns: 16px minmax(0, 1fr); gap: 10px; }
.tlist li::before { content: ""; width: 7px; height: 7px; margin-top: 9px; background: var(--gold); transform: rotate(45deg); }
.quote { margin: 24px 0 0; padding: 22px 0 0; border-top: 1px solid var(--line); font-family: var(--f-display); font-size: clamp(24px, 2.4vw, 30px); line-height: 1.18; }
.quote cite { display: block; margin-top: 10px; font: 500 12px/1 var(--f-mono); color: var(--mute); font-style: normal; letter-spacing: .08em; }

.faq { max-width: 880px; border-top: 1px solid var(--line); }
.fi { border-bottom: 1px solid var(--line); }
.fq { appearance: none; width: 100%; background: none; border: 0; color: var(--text); font: 500 clamp(18px, 1.8vw, 22px)/1.35 var(--f-body); text-align: left; padding: 24px 0; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; align-items: center; }
.fq i { position: relative; flex: none; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); transition: background .3s, border-color .3s, color .3s; }
.fq i::before, .fq i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); transition: transform .35s; }
.fq i::after { transform: translate(-50%, -50%) rotate(90deg); }
.fq.on i { background: var(--gold); border-color: var(--gold); color: var(--night); }
.fq.on i::after { transform: translate(-50%, -50%) rotate(0deg); }
.fa { padding: 0 60px 26px 0; color: var(--mute); max-width: 72ch; animation: rise .45s cubic-bezier(.2,.8,.2,1) both; }

.cta { position: relative; overflow: hidden; background: radial-gradient(120% 90% at 85% 0%, rgba(74,120,255,.24), transparent 60%), var(--night-2); border: 1px solid var(--line); border-radius: 32px; padding: clamp(24px, 4vw, 56px); display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 4vw, 56px); }
.cta-l { display: flex; flex-direction: column; gap: 16px; }
.tg { display: flex; flex-direction: column; gap: 6px; margin-top: 10px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 15px; color: var(--mute); }
.tg a { font: 500 16px/1.4 var(--f-mono); text-decoration: none; }
.form { display: flex; flex-direction: column; gap: 16px; }
.row2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label, .flabel { font: 500 12px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }
.inp { appearance: none; width: 100%; min-height: 54px; border-radius: 14px; border: 1px solid var(--line); background: rgba(11,16,32,.6); color: var(--text); font: 400 17px/1.2 var(--f-body); padding: 0 16px; transition: border-color .2s, box-shadow .2s; }
.inp::placeholder { color: #737C93; }
.inp:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(227,181,82,.18); }
.sel { position: relative; }
.sel::after { content: ""; position: absolute; right: 20px; top: 50%; width: 8px; height: 8px; border-right: 2px solid var(--mute); border-bottom: 2px solid var(--mute); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.sel .inp { padding-right: 44px; cursor: pointer; }
select.inp option { background: var(--night-2); color: var(--text); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { appearance: none; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: none; color: var(--text); font: 500 15px/1 var(--f-body); cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.chip:hover { border-color: var(--gold); }
.chip.on { background: var(--gold); color: var(--night); border-color: var(--gold); }
.ferr { margin: 0; color: #FFB4A1; font-size: 15px; }
.fnote { font-size: 13px; color: var(--mute); margin: 0; }
.success { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; animation: rise .6s cubic-bezier(.2,.8,.2,1) both; }
.success h3 { margin: 0; font-family: var(--f-display); font-weight: 400; font-size: 40px; line-height: 1; }
.success p { margin: 0; color: var(--mute); max-width: 46ch; }
.check { width: 76px; height: 76px; }
.check circle, .check path { fill: none; stroke: var(--gold); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 240; stroke-dashoffset: 240; animation: draw .8s .1s cubic-bezier(.6,.1,.2,1) forwards; }
.check path { animation-delay: .55s; }

.ftr { border-top: 1px solid var(--line); padding-block: 44px 56px; }
.ftr-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; color: var(--mute); font-size: 14px; }
.ftr-in a { text-decoration: none; }
.mcta { display: none; }

.sov { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; background: rgba(5,8,18,.8); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); animation: fadeIn .3s ease both; overscroll-behavior: contain; }
.sov.out { animation: fadeOut .26s ease both; }
.sov.out .spanel { animation: panelOut .26s ease both; }
@keyframes fadeOut { to { opacity: 0; } }
@keyframes panelIn { from { opacity: 0; transform: translateY(40px) scale(.9); } to { opacity: 1; transform: none; } }
@keyframes panelOut { to { opacity: 0; transform: translateY(24px) scale(.94); } }
.sstage { display: flex; align-items: center; gap: 20px; }
.spanel { position: relative; width: min(430px, calc(100vw - 32px)); height: min(780px, calc(100vh - 32px)); border-radius: 24px; overflow: hidden; background: var(--night); box-shadow: 0 40px 120px -20px rgba(0,0,0,.9), 0 0 0 1px var(--line); display: flex; flex-direction: column; animation: panelIn .5s cubic-bezier(.2,.9,.2,1) both; }
.segs { position: absolute; top: 12px; left: 12px; right: 12px; z-index: 6; display: flex; gap: 4px; }
.seg { flex: 1; height: 3px; border-radius: 3px; background: rgba(255,255,255,.3); overflow: hidden; }
.seg i { display: block; width: 0; height: 100%; background: #fff; }
.seg.done i { width: 100%; }
.seg.now i { animation: prog 6.5s linear forwards; }
@keyframes prog { from { width: 0; } to { width: 100%; } }
.shead { position: absolute; top: 24px; left: 14px; right: 10px; z-index: 6; display: flex; align-items: center; gap: 10px; color: #fff; }
.sav { width: 38px; height: 38px; flex: none; border-radius: 50%; border: 2px solid var(--gold); }
.sname { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.stitle { font: 600 14px/1.2 var(--f-body); }
.splace { font: 500 11px/1.2 var(--f-mono); opacity: .85; letter-spacing: .04em; }
.sclose { margin-left: auto; width: 44px; height: 44px; flex: none; border-radius: 50%; border: 0; background: rgba(0,0,0,.28); color: #fff; cursor: pointer; display: grid; place-items: center; }
.sclose svg, .sarr svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.slides { position: relative; flex: 1; min-height: 0; }
.slide { position: absolute; inset: 0; display: none; flex-direction: column; }
.slide.on { display: flex; animation: slideIn .55s cubic-bezier(.2,.8,.2,1) both; }
@keyframes slideIn { from { opacity: 0; transform: translateX(28px); } to { opacity: 1; transform: none; } }
.sscene { position: relative; flex: 1.1; min-height: 0; overflow: hidden; }
.sscene svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.slide.on .sscene svg { animation: kb 7s ease-out both; }
@keyframes kb { from { transform: scale(1.16) translateY(10px); } to { transform: scale(1); } }
.sscene::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 48%; background: linear-gradient(transparent, var(--night)); }
.sphoto { position: absolute; left: 16px; bottom: 16px; z-index: 2; max-width: 80%; font: 500 11px/1.35 var(--f-mono); color: #fff; background: rgba(0,0,0,.35); border: 1px dashed rgba(255,255,255,.55); padding: 6px 9px; border-radius: 8px; }
.scopy { display: flex; flex-direction: column; gap: 10px; padding: 8px 22px 16px; }
.sbig { font-family: var(--f-display); font-size: 48px; line-height: .95; color: var(--gold); }
.sbig small { display: block; margin-top: 8px; font: 500 12px/1.4 var(--f-mono); color: var(--mute); letter-spacing: .05em; }
.sh { margin: 0; font-family: var(--f-display); font-weight: 400; font-size: 27px; line-height: 1.1; text-wrap: balance; }
.stx { margin: 0; color: var(--mute); font-size: 15.5px; line-height: 1.5; }
.sfoot { position: relative; z-index: 6; display: flex; padding: 0 16px 16px; }
.sfoot .btn { flex: 1; min-height: 50px; }
.zl, .zr { position: absolute; top: 76px; bottom: 0; z-index: 4; background: none; border: 0; padding: 0; cursor: pointer; }
.zl { left: 0; width: 34%; } .zr { right: 0; width: 66%; }
.sarr { width: 52px; height: 52px; flex: none; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.06); color: #fff; cursor: pointer; display: grid; place-items: center; transition: background .2s; }
.sarr:hover { background: rgba(255,255,255,.16); }

@supports (animation-timeline: view()) {
  .rv { animation: rvIn linear both; animation-timeline: view(); animation-range: entry 0% cover 26%; }
}
@keyframes rvIn { from { opacity: 0; transform: translateY(48px) scale(.98); } to { opacity: 1; transform: none; } }

@media (max-width: 980px) {
  .hero-grid, .cal-wrap, .team, .cta { grid-template-columns: minmax(0, 1fr); }
  .arch { max-width: 320px; margin: 8px auto 0; }
  .nav { display: none; }
}
@media (max-width: 720px) {
  .mcta { display: flex; position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 45; box-shadow: 0 18px 40px -12px rgba(0,0,0,.7); }
  .ftr { padding-bottom: 110px; }
  .hdr .btn { display: none; }
  .tcard { grid-template-columns: minmax(0, 1fr); }
  .portrait { max-width: 180px; }
  .rh { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .ring-b { width: 62px; height: 62px; }
  .rings { gap: 12px; }
  .sarr { display: none; }
  .sov { padding: 0; }
  .spanel { width: 100vw; height: 100vh; border-radius: 0; }
  .fa { padding-right: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition: none !important; scroll-behavior: auto !important; }
  .rv { animation: none !important; }
}

[hidden] { display: none !important; }
.rv-io { opacity: 0; transform: translateY(40px); transition: opacity .8s cubic-bezier(.2,.8,.2,1), transform .8s cubic-bezier(.2,.8,.2,1); }
.rv-io.in { opacity: 1; transform: none; }
@media (max-width: 720px) { .spanel { height: 100dvh; } }

/* фото и видео */
.rimg, .pmedia, .smedia, .pimg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rimg { z-index: 1; }
.pmedia { z-index: 1; transition: transform .9s cubic-bezier(.2,.8,.2,1); }
.pcard:hover .pmedia { transform: scale(1.07); }
.pscene .proman, .pscene .pplay { z-index: 3; }
.pscene.has-cover::after { content: ""; position: absolute; inset: 0; z-index: 2; background: linear-gradient(180deg, rgba(5,8,18,.5), transparent 35%, transparent 62%, rgba(5,8,18,.55)); }
.sav { position: relative; overflow: hidden; }
.pimg { z-index: 1; object-position: 50% 22%; }
.portrait .pimg ~ span, .portrait .pimg ~ em { display: none; }
.sscene::after { z-index: 2; }
.smedia { z-index: 1; background: #05070f; }
.smedia.contain { object-fit: contain; }
.slide.on img.smedia:not(.contain) { animation: kb 7s ease-out both; }
.slide.full .sscene { position: absolute; inset: 0; flex: none; }
.slide.full .sscene::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 130px; z-index: 2; background: linear-gradient(rgba(5,8,18,.7), transparent); }
.slide.full .sscene::after { height: 62%; background: linear-gradient(transparent, rgba(5,8,18,.95)); }
.slide.full.nocopy .sscene::after { display: none; }
.slide.full .scopy { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; padding: 0 22px 18px; }
.slide.full .stx { color: rgba(255,255,255,.86); }
.seg.vid i { animation: none; }
.sbtns { margin-left: auto; display: flex; gap: 6px; }
.sbtns .sclose { margin-left: 0; }

/* форма */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.45; color: var(--mute); cursor: pointer; }
.consent input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--gold); cursor: pointer; }
.btn[disabled] { opacity: .65; cursor: progress; }

@media (max-width: 720px) {
  .rings { flex-wrap: nowrap; overflow-x: auto; margin-inline: -16px; padding: 4px 16px 6px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .rings::-webkit-scrollbar { display: none; }
  .ring { flex: none; }
}

/* блок отзывов */
.rgrid { columns: 3 300px; column-gap: 18px; }
.rcard { break-inside: avoid; display: block; width: 100%; margin: 0 0 18px; text-align: left; font: inherit; color: var(--ink); background: var(--paper); border: 1px solid var(--line-ink); border-radius: 22px; overflow: hidden; }
button.rcard { appearance: none; padding: 0; cursor: pointer; transition: transform .4s cubic-bezier(.2,.8,.2,1), box-shadow .4s; }
button.rcard:hover { transform: translateY(-4px); box-shadow: 0 24px 46px -26px rgba(18,22,40,.5); }
.rshot { position: relative; display: block; max-height: 440px; overflow: hidden; background: #fff; }
.rshot img { display: block; width: 100%; height: auto; }
.rshot::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 90px; background: linear-gradient(transparent, var(--paper)); pointer-events: none; }
.rmeta { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 20px 18px; }
.rmeta b { font-weight: 600; }
.rmeta span { color: var(--ink-mute); font-size: 14px; }
.ropen { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 15px; white-space: nowrap; }
.rtext { padding: 26px 24px; display: flex; flex-direction: column; gap: 16px; }
.rtext blockquote { margin: 0; font-family: var(--f-display); font-size: 23px; line-height: 1.25; }
.rtext blockquote::before { content: "«"; color: var(--gold-ink); }
.rtext blockquote::after { content: "»"; color: var(--gold-ink); }
.rtext figcaption { display: flex; flex-direction: column; gap: 2px; border-top: 1px dashed var(--line-ink); padding-top: 12px; }
.rtext figcaption span { color: var(--ink-mute); font-size: 14px; }
.cgrid { margin-top: 18px; }

/* ===== v4: основатель ===== */
.founder { position: relative; padding-block: clamp(44px, 5vw, 72px); background: radial-gradient(70% 60% at 18% 40%, rgba(227,181,82,.10), transparent 70%), var(--night); }
.fgrid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.fgrid .fphoto { position: sticky; top: 96px; }
.fphoto { position: relative; aspect-ratio: 2 / 3; max-height: 760px; width: 100%; }
.fphoto .pimg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: 50% 100%; z-index: 2; filter: drop-shadow(0 30px 60px rgba(0,0,0,.55)); }
.fglow { position: absolute; left: 6%; right: 6%; top: 8%; bottom: 0; z-index: 1; border-radius: 999px 999px 24px 24px; background: linear-gradient(180deg, rgba(74,120,255,.32), rgba(24,35,74,.9) 55%, var(--night-2)); border: 1px solid rgba(227,181,82,.45); }
.fglow::after { content: ""; position: absolute; inset: 12px; border-radius: inherit; border: 1px solid rgba(227,181,82,.18); }
.fbody .proof { grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); }
.fbody .num { font-size: clamp(44px, 4.6vw, 64px); }
.trust { margin: 26px 0 0; padding: 20px 22px; border-left: 3px solid var(--gold); background: rgba(227,181,82,.07); border-radius: 0 16px 16px 0; font-size: clamp(16px, 1.4vw, 18px); color: var(--text); max-width: 70ch; }

/* ===== профориентация ===== */
.prof { margin-top: 18px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 56px); padding: clamp(24px, 3.4vw, 44px); border-radius: 24px; border: 1px solid rgba(227,181,82,.4); background: radial-gradient(90% 120% at 100% 0%, rgba(227,181,82,.14), transparent 60%), var(--night-2); }
.prof-l { display: flex; flex-direction: column; gap: 14px; }
.prof-h { margin: 0; font-family: var(--f-display); font-weight: 400; font-size: clamp(30px, 3.2vw, 44px); line-height: 1.04; }
.prof-l p { margin: 0; color: var(--mute); }
.prof-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0; align-self: center; }
.prof-list li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.prof-list li:last-child { border-bottom: 0; }
.prof-list li::before { content: ""; width: 8px; height: 8px; margin-top: 8px; background: var(--gold); transform: rotate(45deg); }

/* ===== классы в диагностике ===== */
.grades { margin-top: 40px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.grades span { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-ink); font: 500 16px/1 var(--f-mono); color: var(--ink); background: var(--paper); }
.grades em { font-style: normal; font: 500 12px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--gold-ink); margin-left: 6px; }

/* ===== календарь ===== */
.cell { flex-direction: column; gap: 4px; }
.cell.study { background: rgba(237,234,226,.045); }
.cell.ev-vol { background: rgba(74,120,255,.26); color: #CFDBFF; }
.cell.ev-jump { background: rgba(167,139,250,.26); color: #E4DBFF; }
.cell.ev-meet { background: rgba(232,162,124,.24); color: #FFE0CF; }
.cell.ev-games { background: rgba(227,181,82,.18); color: var(--gold-2); }
.cell.ev-sport { background: rgba(95,211,155,.22); color: #D4FBE6; }
.cell .dots { position: absolute; bottom: 5px; left: 0; right: 0; display: flex; justify-content: center; gap: 3px; }
.cell .dots i { width: 5px; height: 5px; border-radius: 50%; }
i.ev-vol, .sw.ev-vol { background: #4A78FF; }
i.ev-jump, .sw.ev-jump { background: #A78BFA; }
i.ev-meet, .sw.ev-meet { background: #E8A27C; }
i.ev-games, .sw.ev-games { background: #E3B552; }
i.ev-sport, .sw.ev-sport { background: #5FD39B; }
.sw.ev-study { background: rgba(237,234,226,.16); }
.tm { margin-top: clamp(28px, 4vw, 48px); display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; }
.tm > div { background: var(--night-2); padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.tm-h h3 { margin: 0; font-family: var(--f-display); font-weight: 400; font-size: 32px; line-height: 1.05; }
.tm-h p { margin: 0; color: var(--mute); font-size: 15px; }
.tm-i b { font-family: var(--f-display); font-weight: 400; font-size: 28px; color: var(--gold); line-height: 1; }
.tm-i span { color: var(--mute); font-size: 15px; }

/* ===== команда ===== */
.team { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tcard { grid-template-columns: minmax(0, 170px) minmax(0, 1fr); }
.tname { font-size: clamp(30px, 3vw, 38px); }
.tmore { margin-top: 26px; border: 1px solid var(--line); border-radius: 999px; display: flex; align-items: center; overflow: hidden; background: var(--night-2); }
.tmore-h { flex: none; padding: 16px 22px; font: 500 12px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--night); background: var(--gold); align-self: stretch; display: flex; align-items: center; }
.tmore-mq { flex: 1; min-width: 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.tmore-track { display: flex; width: max-content; animation: mq 50s linear infinite; }
.tmore-item { display: flex; align-items: center; gap: 22px; padding-right: 22px; white-space: nowrap; font-size: 16px; color: var(--text); }
.tmore-item::after { content: ""; width: 6px; height: 6px; background: var(--gold); transform: rotate(45deg); }

/* ===== кружки: одна прокручиваемая лента ===== */
.rings { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding: 4px 4px 8px; margin-inline: -4px; -webkit-mask-image: linear-gradient(90deg, #000 90%, transparent); mask-image: linear-gradient(90deg, #000 90%, transparent); }
.rings::-webkit-scrollbar { display: none; }
.ring { flex: none; width: 76px; }
.ring > span:last-child { text-align: center; }
.ring:nth-child(n+7) { animation-delay: 1.5s; }

/* ===== окно «Получить тест» ===== */
.tov { position: fixed; inset: 0; z-index: 110; display: grid; place-items: center; padding: 16px; background: rgba(5,8,18,.8); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); animation: fadeIn .25s ease both; }
.tpanel { position: relative; width: min(520px, 100%); max-height: calc(100dvh - 32px); overflow: auto; background: var(--night-2); border: 1px solid var(--line); border-radius: 24px; padding: clamp(22px, 4vw, 34px); display: flex; flex-direction: column; gap: 16px; animation: panelIn .45s cubic-bezier(.2,.9,.2,1) both; }
.tp-h { margin: 0; font-family: var(--f-display); font-weight: 400; font-size: clamp(28px, 4vw, 36px); line-height: 1.05; padding-right: 40px; }
.tp-p { margin: 0; color: var(--mute); font-size: 15.5px; }
.tclose { position: absolute; right: 14px; top: 14px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: none; color: var(--text); cursor: pointer; display: grid; place-items: center; }
.tclose svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.tpanel .chip { min-width: 44px; justify-content: center; }
.chip[disabled] { opacity: .35; cursor: not-allowed; }
#tAlt { display: flex; flex-direction: column; gap: 14px; }
#tAlt[hidden] { display: none !important; }
.tp-done { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border-radius: 14px; background: rgba(227,181,82,.12); border: 1px solid rgba(227,181,82,.4); }
.tp-done b { color: var(--gold); }
.tp-done span { color: var(--text); font-size: 15px; }

@media (max-width: 980px) {
  .fgrid, .prof { grid-template-columns: minmax(0, 1fr); }
  .fphoto { max-width: 380px; margin: 0 auto; aspect-ratio: 3 / 4; }
  .tm { grid-template-columns: minmax(0, 1fr); }
  .team { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
  .tcard { grid-template-columns: 110px minmax(0, 1fr); gap: 18px; }
  .tcard .portrait { max-width: 110px; }
  .portrait span { font-size: 34px; }
  .tmore { border-radius: 18px; flex-direction: column; align-items: stretch; }
  .tmore-h { justify-content: center; padding: 12px; }
  .tmore-mq { padding-block: 14px; }
  .ring { width: 66px; }
  .grades span { width: 40px; height: 40px; font-size: 14px; }
  .rings { -webkit-mask-image: none; mask-image: none; }
}
@media (max-width: 420px) {
  .tcard { grid-template-columns: minmax(0, 1fr); }
}

.sc-licey { background: linear-gradient(165deg, #1C2B55 0%, #3B4FA0 60%, #C99A4A 100%); }
.sc-ege { background: linear-gradient(165deg, #2A1F4E 0%, #4A3A8C 60%, #E3B552 100%); }
.sc-vuz { background: linear-gradient(165deg, #0F2E4A 0%, #1F6A8A 60%, #8FD3E0 100%); }
.sc-jump { background: linear-gradient(165deg, #5A1E2E 0%, #B5473A 58%, #F2B66E 100%); }
@media (max-width: 720px) {
  .arch { display: none; }
  .fbody .proof { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fbody .pf { padding: 20px 16px; }
  .fphoto { max-width: 300px; }
}

.sli { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; }
.sli li { position: relative; padding-left: 16px; }
.sli li::before { content: ""; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; background: var(--gold); transform: rotate(45deg); }

.tags-l { font: 500 11px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin-top: auto; }
.tags-l + .tags { margin-top: 0; }
.tags-l + .tags + .tags { margin-top: 8px; }

.h2-soft { font-size: .4em; color: var(--mute); letter-spacing: .01em; vertical-align: .18em; }
.nw { white-space: nowrap; }

/* ===== команда: одна горизонтальная лента ===== */
#komanda .sec-head { margin-bottom: 28px; }
.tnav { display: flex; justify-content: flex-end; gap: 10px; margin: -14px 0 16px; }
.tnav-b { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: var(--night-2); color: var(--text); cursor: pointer; display: grid; place-items: center; transition: border-color .2s, opacity .2s; }
.tnav-b:hover { border-color: var(--gold); }
.tnav-b:disabled { opacity: .35; cursor: default; }
.tnav-b svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.team { display: flex; grid-template-columns: none; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; padding-bottom: 6px; -webkit-overflow-scrolling: touch; }
.team::-webkit-scrollbar { display: none; }
.team:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; border-radius: 28px; }
.team .tcard { flex: 0 0 clamp(250px, 27vw, 300px); scroll-snap-align: start; grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 22px; }
.team .tcard .portrait { max-width: none; width: 100%; aspect-ratio: 4 / 5; }
.team .tname { font-size: clamp(26px, 2.4vw, 32px); }
.team .quote { display: none; }
@media (max-width: 720px) {
  .team .tcard { flex-basis: 78%; }
  .tnav { margin-bottom: 14px; }
}
.team .tcard { align-content: start; }
@media (min-width: 1100px) { .team .tcard { flex-basis: calc((100% - 54px) / 4); } }
.prof-list li { grid-template-rows: auto auto; }
.prof-list li b { grid-column: 2; font-weight: 600; color: var(--text); }
.prof-list li span { grid-column: 2; color: var(--mute); font-size: 15.5px; }
.prof-list li::before { grid-row: 1 / 3; }
.prof-q { margin: 6px 0 0; padding: 0 0 0 18px; border-left: 2px solid var(--gold); font-family: var(--f-display); font-size: clamp(20px, 1.9vw, 24px); line-height: 1.25; color: var(--text); display: flex; flex-direction: column; gap: 8px; }
.prof-q cite { font: 500 12px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--gold); font-style: normal; }

/* ===== диагностика: выбор класса и карточки шагов ===== */
.gpick { display: flex; flex-direction: column; gap: 14px; margin: 0 0 clamp(28px, 4vw, 44px); padding: clamp(18px, 2.6vw, 26px); background: #fff; border-radius: 22px; box-shadow: 0 1px 2px rgba(18,22,40,.06), 0 14px 34px -18px rgba(18,22,40,.28); }
.gpick-l { font: 500 12px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--gold-ink); }
.gpick .grades { margin: 0; gap: 8px; }
.g-b { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-ink); background: var(--paper); color: var(--ink); font: 500 16px/1 var(--f-mono); cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s; }
.g-b:hover { background: #E4EBFF; border-color: #8FA7F0; color: #1D3A9B; transform: translateY(-2px); }
.g-b[aria-pressed="true"] { background: var(--lapis, #2F5BD3); border-color: var(--lapis, #2F5BD3); color: #fff; box-shadow: 0 8px 20px -8px rgba(47,91,211,.7); }
.ghint { margin: 0; color: var(--ink-mute); font-size: 16px; min-height: 1.5em; }
.ghint b { color: var(--ink); }
.steps { gap: 18px; }
.light .step { background: #fff; border: 0; border-radius: 22px; padding: clamp(22px, 2.6vw, 30px); box-shadow: 0 1px 2px rgba(18,22,40,.06), 0 14px 34px -18px rgba(18,22,40,.28); }
.step-i { position: relative; width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: #EEF2FF; color: var(--lapis, #2F5BD3); margin-bottom: 18px; }
.step:nth-child(2) .step-i { background: #FBF3E1; color: var(--gold-ink); }
.step:nth-child(3) .step-i { background: #E7F6EE; color: #1F7A4D; }
.step-i svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.step-i span { position: absolute; right: -6px; top: -6px; width: 22px; height: 22px; border-radius: 50%; background: var(--ink); color: #fff; font: 500 11px/22px var(--f-mono); text-align: center; }
@media (max-width: 720px) { .g-b { width: 42px; height: 42px; font-size: 14px; } }

/* ===== видео решений ===== */
.vrow { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; padding-bottom: 6px; }
.vrow::-webkit-scrollbar { display: none; }
.vrow:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; border-radius: 22px; }
.vcard { flex: 0 0 clamp(200px, 22vw, 250px); scroll-snap-align: start; display: flex; flex-direction: column; gap: 10px; margin: 0; }
.vbox { position: relative; aspect-ratio: 9 / 16; max-width: 100%; border-radius: 22px; overflow: hidden; background: linear-gradient(165deg, var(--night-3), var(--night)); border: 1px solid var(--line); }
.vbox video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #000; }
.vplay { position: absolute; inset: 0; margin: auto; width: 64px; height: 64px; border-radius: 50%; border: 0; background: rgba(227,181,82,.92); color: var(--night); cursor: pointer; display: grid; place-items: center; box-shadow: 0 10px 30px -8px rgba(0,0,0,.6); transition: transform .2s; }
.vplay:hover { transform: scale(1.06); }
.vplay svg { width: 26px; height: 26px; margin-left: 4px; fill: currentColor; }
.vcard.on .vplay { display: none; }
.vmiss { position: absolute; inset: 0; display: grid; place-items: center; padding: 20px; text-align: center; color: var(--mute); font-size: 14px; }
.vcard b { font-weight: 600; font-size: 16px; }
.vcard span { font: 500 11px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
@media (max-width: 720px) { .vcard { flex-basis: 62%; } }

/* ===== контакты ===== */
.socs { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr)); gap: 14px; }
.soc { display: grid; grid-template-columns: 48px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 14px; row-gap: 2px; align-items: center; padding: 18px; border-radius: 20px; background: var(--night-2); border: 1px solid var(--line); color: var(--text); text-decoration: none; transition: border-color .2s, transform .2s; }
.soc:hover { border-color: var(--gold); transform: translateY(-2px); color: var(--text); }
.soc i { grid-row: 1 / 3; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: rgba(227,181,82,.12); color: var(--gold); }
.soc i svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.soc b { font-weight: 600; font-size: 17px; }
.soc span { color: var(--mute); font-size: 14px; min-width: 0; overflow-wrap: anywhere; }

.dnote { margin: 4px 0 0; font-size: clamp(16px, 1.4vw, 18px); color: var(--ink); max-width: 62ch; }
.dnote a { color: var(--gold-ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.dnote a:hover { color: var(--ink); }
#diagnostika .h2 { max-width: 30ch; }

/* ===== манифест ===== */
.manif { padding-block: clamp(40px, 4.5vw, 64px); border-block: 1px solid var(--line); background: radial-gradient(60% 120% at 50% 0%, rgba(227,181,82,.10), transparent 70%), var(--night); }
.manif-in { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; }
.manif-no { margin: 0; max-width: 46ch; color: var(--mute); font-size: clamp(17px, 1.6vw, 20px); text-wrap: balance; }
.manif-yes { margin: 0; font-family: var(--f-display); font-weight: 400; font-size: clamp(44px, 7vw, 96px); line-height: 1; letter-spacing: -.01em; text-wrap: balance; }
.manif-yes em { font-style: normal; color: var(--gold); }
.manif-sub { margin: 6px 0 0; font: 500 13px/1.4 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-2); }
.dproof { margin: 0; padding-left: 12px; border-left: 2px solid var(--gold); color: var(--text) !important; font-size: 15px; }

/* ===== штамп «подтверждено» ===== */
.proven { display: flex; align-items: center; gap: 16px; }
.proven .lead { margin: 0; }
.stamp { flex: none; width: 72px; height: 72px; color: var(--gold); opacity: 0; transform: scale(1.6) rotate(-24deg); }
.stamp svg { width: 100%; height: 100%; overflow: visible; }
.stamp .st-o { fill: none; stroke: currentColor; stroke-width: 2.5; }
.stamp .st-i { fill: rgba(227,181,82,.12); stroke: currentColor; stroke-width: 1.2; stroke-dasharray: 2 3; }
.stamp text { font: 600 9.4px/1 var(--f-mono); fill: currentColor; letter-spacing: .5px; }
.stamp .st-txt { transform-origin: 50px 50px; }
.stamp .st-ck { fill: none; stroke: currentColor; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; }
.stamp.on { animation: stampIn .55s cubic-bezier(.3,1.6,.5,1) forwards; }
.stamp.on .st-ck { animation: stampCk .45s .45s ease-out forwards; }
.stamp.on .st-txt { animation: stampSpin 22s 1s linear infinite; }
@keyframes stampIn { 0% { opacity: 0; transform: scale(1.6) rotate(-24deg); } 70% { opacity: 1; transform: scale(.94) rotate(-8deg); } 100% { opacity: 1; transform: scale(1) rotate(-10deg); } }
@keyframes stampCk { to { stroke-dashoffset: 0; } }
@keyframes stampSpin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .stamp, .stamp.on { opacity: 1; transform: rotate(-10deg); animation: none; } .stamp .st-ck { stroke-dashoffset: 0; animation: none !important; } .stamp.on .st-txt { animation: none; } }
@media (max-width: 720px) { .stamp { width: 60px; height: 60px; } .proven { gap: 12px; } }

/* ===== видео: горизонтальные ===== */
.vcard.wide { flex-basis: clamp(300px, 46vw, 540px); }
.vcard.wide .vbox { aspect-ratio: 16 / 9; }
.vrow { align-items: flex-start; }
@media (max-width: 720px) { .vcard.wide { flex-basis: 88%; } }

/* ===== кейсы «было → стало» ===== */
#keisy { background: radial-gradient(70% 60% at 85% 10%, rgba(74,120,255,.14), transparent 70%), var(--night); }
.crow { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; padding: 4px 2px 10px; }
.crow::-webkit-scrollbar { display: none; }
.crow:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; border-radius: 26px; }
.kcard { appearance: none; font: inherit; text-align: left; color: var(--text); cursor: pointer; flex: 0 0 clamp(240px, 23vw, 270px); min-height: 440px; scroll-snap-align: start; display: flex; flex-direction: column; gap: 10px; padding: 18px 20px 20px; border-radius: 26px; border: 1px solid rgba(227,181,82,.35); background: linear-gradient(170deg, #1B2550 0%, #121A3A 55%, #0E1430 100%); box-shadow: 0 24px 50px -30px rgba(0,0,0,.8); transition: transform .35s cubic-bezier(.2,.8,.2,1), border-color .35s; }
.kcard:hover { transform: translateY(-6px); border-color: var(--gold); }
.k-bars { display: flex; gap: 4px; margin-bottom: 4px; }
.k-bars i { flex: 1; height: 3px; border-radius: 3px; background: rgba(237,234,226,.25); }
.k-bars i:first-child { background: var(--gold); }
.k-tag { align-self: flex-start; font: 500 11px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--night); background: var(--gold); padding: 6px 9px; border-radius: 999px; }
.k-was, .k-now { display: flex; flex-direction: column; gap: 4px; }
.k-was em, .k-now em { font-style: normal; font: 500 11px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.k-was b { font-family: var(--f-display); font-weight: 400; font-size: 40px; line-height: 1; color: var(--mute); text-decoration: line-through; text-decoration-thickness: 2px; text-decoration-color: rgba(232,120,100,.8); overflow-wrap: anywhere; }
.k-now em { color: var(--gold-2); }
.k-now b { font-family: var(--f-display); font-weight: 400; font-size: 58px; line-height: .95; color: var(--gold); overflow-wrap: anywhere; }
.k-was small, .k-now small { font-size: 14px; line-height: 1.35; color: var(--mute); }
.k-now small { color: var(--text); }
.k-arrow { display: flex; align-items: center; gap: 10px; color: var(--gold); }
.k-arrow svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.k-arrow span { font: 500 11px/1.2 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }
.k-name { margin-top: auto; font-weight: 600; font-size: 16px; }
.k-open { display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--gold); }
@media (max-width: 720px) { .kcard { flex-basis: 74%; min-height: 420px; } }

/* ===== профориентация: анимация ===== */
.prof-mark { position: relative; color: var(--gold); white-space: nowrap; }
.prof-mark::after { content: ""; position: absolute; left: 0; right: 0; bottom: .02em; height: .09em; border-radius: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .9s .2s cubic-bezier(.6,.1,.2,1); }
.prof.on .prof-mark::after { transform: scaleX(1); }
.prof-list { position: relative; }
.prof-list::after { content: ""; position: absolute; left: 21px; top: 30px; bottom: 30px; width: 2px; background: linear-gradient(var(--gold), rgba(227,181,82,.15)); transform: scaleY(0); transform-origin: top; transition: transform 1.4s .3s cubic-bezier(.6,.1,.2,1); }
.prof.on .prof-list::after { transform: scaleY(1); }
.prof-list li { grid-template-columns: 44px minmax(0, 1fr); column-gap: 16px; padding: 16px 0; opacity: 0; transform: translateX(22px); transition: opacity .7s cubic-bezier(.2,.8,.2,1), transform .7s cubic-bezier(.2,.8,.2,1); }
.prof-list li::before { display: none; }
.prof-list li b, .prof-list li span { grid-column: 2; }
.prof-list .pi { grid-row: 1 / 3; grid-column: 1; position: relative; z-index: 1; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--night-2); border: 1.5px solid var(--gold); color: var(--gold); transform: scale(.4); transition: transform .6s cubic-bezier(.3,1.6,.5,1), background .4s; }
.prof-list .pi svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.prof-list li:hover .pi { background: var(--gold); color: var(--night); }
.prof.on .prof-list li { opacity: 1; transform: none; }
.prof.on .prof-list .pi { transform: scale(1); }
.prof.on .prof-list li:nth-child(1), .prof.on .prof-list li:nth-child(1) .pi { transition-delay: .35s; }
.prof.on .prof-list li:nth-child(2), .prof.on .prof-list li:nth-child(2) .pi { transition-delay: .75s; }
.prof.on .prof-list li:nth-child(3), .prof.on .prof-list li:nth-child(3) .pi { transition-delay: 1.15s; }
.prof-list li { border-bottom-color: transparent; }
@media (prefers-reduced-motion: reduce) {
  .prof-list li, .prof-list .pi { opacity: 1; transform: none; transition: none; }
  .prof-list::after, .prof-mark::after { transform: none; transition: none; }
}
/* пункты профориентации: мягкая подсветка при наведении, как у карточек предметов */
.prof-list { display: flex; flex-direction: column; gap: 6px; }
.prof-list li { padding: 14px 14px 14px 12px; border: 1px solid transparent; border-radius: 18px; transition: opacity .7s cubic-bezier(.2,.8,.2,1), transform .7s cubic-bezier(.2,.8,.2,1), background .35s, border-color .35s; }
.prof-list::after { left: 33px; }
.prof.on .prof-list li:hover { background: rgba(237,234,226,.035); border-color: rgba(227,181,82,.45); transform: translateY(-3px); }
.prof-list li:hover span { color: var(--text); }
.prof-list li span { transition: color .35s; }
.prof.done .prof-list li, .prof.done .prof-list .pi { transition-delay: 0s !important; }

/* шаги диагностики: единый спокойный стиль иконок */
.step-i, .step:nth-child(2) .step-i, .step:nth-child(3) .step-i { width: 52px; height: 52px; border-radius: 50%; background: transparent; border: 1.5px solid var(--gold-ink); color: var(--gold-ink); margin-bottom: 14px; }
.step-i svg { width: 24px; height: 24px; stroke-width: 1.6; }
.step-k { font: 500 11px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-mute); }
.light .step { transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s; }
.light .step:hover { transform: translateY(-3px); }
.light .step:hover .step-i { background: var(--gold-ink); color: #fff; }
.step-i { transition: background .3s, color .3s; }

/* ===== сторис кейсов: всё внимание на цифру по центру ===== */
.kslide { align-items: center; justify-content: center; text-align: center; background: radial-gradient(80% 60% at 50% 40%, #1C2756 0%, #0E1430 60%, #090D1F 100%); }
.kbg { position: absolute; inset: 0; overflow: hidden; }
.kbg-img { position: absolute; inset: -20px; width: calc(100% + 40px); height: calc(100% + 40px); object-fit: cover; opacity: .09; filter: blur(3px) grayscale(1); }
.kbg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 45% at 50% 45%, rgba(9,13,31,.2), rgba(9,13,31,.85)); }
.kmid { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 0 28px; max-width: 100%; }
.klabel { font: 500 12px/1 var(--f-mono); letter-spacing: .22em; text-transform: uppercase; color: var(--mute); padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; }
.knum { font-family: var(--f-display); font-weight: 400; font-size: clamp(64px, 20vw, 104px); line-height: .9; color: var(--text); overflow-wrap: anywhere; }
.kcap { font-size: 17px; line-height: 1.4; color: var(--text); max-width: 26ch; text-wrap: balance; }
.ktx { margin: 4px 0 0; font-size: 15px; line-height: 1.5; color: var(--mute); max-width: 30ch; }
.ks-was .knum { color: var(--mute); }
.ks-mid .knum { font-size: clamp(44px, 12vw, 64px); color: var(--gold-2); }
.ks-now .klabel { color: var(--night); background: var(--gold); border-color: var(--gold); }
.ks-now .knum { color: var(--gold); text-shadow: 0 0 40px rgba(227,181,82,.45); }
.slide.on.kslide .knum { animation: kpop .7s .1s cubic-bezier(.3,1.5,.5,1) both; }
@keyframes kpop { from { opacity: 0; transform: scale(.7); } to { opacity: 1; transform: none; } }
.kpath { position: absolute; left: 0; right: 0; bottom: 22px; z-index: 2; display: flex; justify-content: center; gap: 8px; }
.kpath i { width: 26px; height: 4px; border-radius: 4px; background: rgba(237,234,226,.18); }
.kpath i.past { background: rgba(227,181,82,.45); }
.kpath i.on { background: var(--gold); }
@media (prefers-reduced-motion: reduce) { .slide.on.kslide .knum { animation: none; } }

/* пауза сторис */
.spanel.paused .seg.now i { animation-play-state: paused; }
.spanel.paused .slide.on .sscene svg, .spanel.paused .slide.on img.smedia { animation-play-state: paused; }
.sclose[data-act="pause"] svg { fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.sclose[data-act="pause"][aria-pressed="true"] { background: var(--gold); color: var(--night); }
.sclose[data-act="pause"][aria-pressed="true"] svg { fill: currentColor; stroke: none; }
.slides { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.k-was.goal b { text-decoration: none; color: var(--text); font-size: 34px; }
.ks-was .knum { overflow-wrap: anywhere; }
.k-now b.long { font-size: 42px; }
.k-was b.long { font-size: 30px; }

.kbadge { display: inline-flex; align-items: center; gap: 8px; margin-top: 4px; padding: 10px 16px; border-radius: 999px; border: 1px solid rgba(227,181,82,.6); background: rgba(227,181,82,.12); font-size: 16px; color: var(--text); }
.kbadge b { color: var(--night); background: var(--gold); padding: 4px 10px; border-radius: 999px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; font-size: 13px; }
.slide.on .kbadge { animation: kpop .6s .45s cubic-bezier(.3,1.5,.5,1) both; }
.kbadge.sm { align-self: flex-start; padding: 6px 10px 6px 6px; gap: 6px; font-size: 12.5px; line-height: 1.3; border-radius: 14px; margin-top: 2px; }
.kbadge.sm b { font-size: 10.5px; padding: 3px 7px; flex: none; }
.kbadge.sm { max-width: 100%; box-sizing: border-box; } .kbadge.sm span, .kbadge { min-width: 0; }
/* стрелки и «Стало» на одном уровне во всех карточках */
.k-was { min-height: 128px; }
.k-was small { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.kbadge.sm > span { flex: 1 1 auto; min-width: 0; overflow-wrap: anywhere; }
.kcard { overflow: hidden; }

/* штамп результата на скрине отзыва */
.sstamp { position: absolute; left: 0; right: 0; bottom: 26px; z-index: 5; display: flex; justify-content: center; pointer-events: none; }
.sst-in { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 22px 9px; border: 3px solid var(--gold); outline: 1.5px dashed rgba(11,16,32,.55); outline-offset: -8px; border-radius: 12px; background: var(--gold); color: var(--night); transform: rotate(-6deg); box-shadow: 0 14px 34px -10px rgba(0,0,0,.7); }
.sst-in b { font-family: var(--f-display); font-weight: 400; font-size: 34px; line-height: 1; letter-spacing: .02em; text-transform: uppercase; white-space: nowrap; }
.sst-in small { font: 600 10.5px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; opacity: .75; }
.slide.on .sst-in { animation: stampDrop .5s .35s cubic-bezier(.3,1.6,.5,1) both; }
@keyframes stampDrop { 0% { opacity: 0; transform: scale(1.8) rotate(-18deg); } 70% { opacity: 1; transform: scale(.95) rotate(-5deg); } 100% { opacity: 1; transform: scale(1) rotate(-6deg); } }
@media (prefers-reduced-motion: reduce) { .slide.on .sst-in { animation: none; } }
.scopy .kbadge { align-self: flex-start; font-size: 14px; padding: 7px 12px 7px 7px; }
.slide.full .scopy ~ * {} .slide.full .smedia.contain { object-position: 50% 18%; }
.cal-toggle { margin-top: 4px; }
#calBody { margin-top: 28px; }
#calBody .rv { opacity: 1; transform: none; animation: none; }
.rgrid .rcard[hidden] { display: none !important; }
.fa-link { appearance: none; background: none; border: 0; padding: 0; font: inherit; color: var(--gold); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.fa-link:hover { color: var(--gold-2); }

.kbanner { position: relative; margin: 0 0 22px; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); }
.kbanner img { display: block; width: 100%; height: clamp(180px, 24vw, 300px); object-fit: cover; object-position: 50% 40%; }
.kbanner figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 20px 16px; background: linear-gradient(transparent, rgba(9,13,31,.9)); color: var(--text); font-size: 16px; }
.kbanner img { height: auto; aspect-ratio: 807 / 240; object-fit: cover; object-position: 50% 0; }
.kbanner figcaption { position: static; background: var(--night-2); padding: 14px 18px; font-size: 15px; }
/* соцсети: компактный ряд кружков */
.socs { display: flex; flex-wrap: wrap; gap: 18px 22px; grid-template-columns: none; }
.soc { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 0; border: 0; background: none; width: 76px; text-align: center; }
.soc:hover { transform: translateY(-3px); border: 0; }
.soc i { width: 56px; height: 56px; border-radius: 50%; border: 1px solid rgba(227,181,82,.4); transition: background .2s, color .2s; }
.soc:hover i { background: var(--gold); color: var(--night); }
.soc b { font-size: 13px; font-weight: 500; line-height: 1.2; }
.soc > span { display: none; }
@media (max-width: 720px) { .socs { gap: 14px 10px; justify-content: flex-start; } .soc { width: 68px; } .soc i { width: 50px; height: 50px; } }
@media (max-width: 720px) { .socs { gap: 14px 8px; } .soc { width: 62px; } .soc i { width: 48px; height: 48px; } .soc b { font-size: 12px; } }

/* полоса «Записаться» между блоками */
.cta-band { margin-top: clamp(28px, 4vw, 44px); padding: clamp(18px, 2.4vw, 26px) clamp(18px, 2.6vw, 30px); border-radius: 22px; border: 1px solid rgba(227,181,82,.4); background: radial-gradient(80% 140% at 100% 0%, rgba(227,181,82,.12), transparent 60%), var(--night-2); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; }
.cta-band p { margin: 0; font-family: var(--f-display); font-size: clamp(22px, 2.2vw, 28px); line-height: 1.15; color: var(--text); max-width: 34ch; }
.cta-band-b { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 720px) { .cta-band-b, .cta-band-b .btn { width: 100%; } }
.cta-band.soft { border: 0; background: none; padding: 0; justify-content: flex-start; margin-top: 26px; }

/* сторис со скрином/фото «целиком»: картинка сверху, текст снизу, без наложения */
.slide.full.stack .sscene { position: relative; inset: auto; flex: 1 1 0; min-height: 90px; margin-top: 74px; }
.slide.full.stack .sscene::before, .slide.full.stack .sscene::after { display: none; }
.slide.full.stack .sscene > svg { display: none; }
.slide.full.stack .smedia { object-position: 50% 50%; background: transparent; }
.slide.full.stack .scopy { position: relative; flex: none; padding: 14px 22px 16px; }
.slide.full.stack .stx { color: var(--mute); }
@media (max-height: 640px) {
  .slide.full.stack .sbig { font-size: 36px; }
  .slide.full.stack .sh { font-size: 22px; }
  .slide.full.stack .scopy { gap: 6px; padding-top: 10px; }
  .slide.full.stack .stx, .slide.full.stack .sli { font-size: 14px; }
}
.slide.full.stack .sscene { background: transparent !important; }
.ks-more .knum { color: var(--gold); }
.kmore-btn { position: relative; z-index: 6; margin-top: 10px; }
.ks-more .kmid { z-index: 5; }
.spanel.on-more .zr { left: auto; width: 18%; } .spanel.on-more .zl { width: 18%; }
.manif-link { margin-top: 10px; font-size: clamp(16px, 1.5vw, 18px); color: var(--text); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 5px; }
.manif-link:hover { color: var(--gold-2); }

/* класс в форме кнопками */
#gradeChips { gap: 8px; }
#gradeChips .chip { min-width: 44px; justify-content: center; }
/* мессенджеры */
.msgr-l { font-size: 15px; color: var(--mute); margin-top: 6px; }
.msgr { display: flex; flex-wrap: wrap; gap: 10px; }
.msgr.col { flex-direction: column; }
.mbtn { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 18px 0 14px; border-radius: 999px; color: #fff; font-weight: 600; font-size: 15px; text-decoration: none; transition: transform .2s, filter .2s; }
.mbtn:hover { transform: translateY(-2px); filter: brightness(1.08); color: #fff; }
.mbtn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.mb-wa { background: #1FA855; } .mb-mx { background: #6A3DF0; } .mb-tg { background: #2A9BD8; }
.phone-l { color: var(--text); font-size: 17px; font-weight: 600; text-decoration: none; align-self: flex-start; }
.phone-l:hover { color: var(--gold); }
.soc i svg [fill="currentColor"] { stroke: none; }
/* плавающая кнопка */
.fab { position: fixed; right: max(16px, env(safe-area-inset-right, 0px)); bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 60; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.fab-btn { display: inline-flex; align-items: center; gap: 8px; height: 54px; padding: 0 20px 0 16px; border-radius: 999px; border: 0; background: var(--gold); color: var(--night); font: 600 15px/1 var(--f-body, inherit); cursor: pointer; box-shadow: 0 16px 34px -10px rgba(0,0,0,.7); }
.fab-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
.fab-menu { background: var(--night-2); border: 1px solid var(--line); border-radius: 22px; padding: 12px; box-shadow: 0 20px 40px -12px rgba(0,0,0,.7); animation: panelIn .3s cubic-bezier(.2,.9,.2,1) both; }
.fab-menu .mbtn { width: 100%; }
@media (max-width: 980px) {
  .fab { bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
  .fab-btn { width: 54px; padding: 0; justify-content: center; }
  .fab-btn span { display: none; }
}

/* бесплатная дистанционная диагностика */
.hero-note { font-size: 14.5px; color: var(--mute); margin: -16px 0 26px; }
.dfacts { list-style: none; padding: 0; margin: 4px 0 6px; display: flex; flex-wrap: wrap; gap: 8px; }
.dfacts li { padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(227,181,82,.4); background: rgba(227,181,82,.1); color: var(--text); font-size: 14px; }

/* плотнее промежутки между разделами, как на /licei/ */
.sec, .founder { padding-block: clamp(26px, 3vw, 40px); }
.manif { padding-block: clamp(26px, 3vw, 40px); }
.hero { padding-block: clamp(28px, 3vw, 44px) clamp(24px, 2.6vw, 36px); }
.sec-head { margin-bottom: clamp(24px, 3vw, 36px); }
