:root {
  --ai-cyan: #5de2ff;
  --header-h: 85px;
  --case-max: 1600px;
  --ah-black: #050506;
  --ah-charcoal: #0b0c0e;
  --ah-panel: #101216;
  --ah-white: #f7f8f8;
  --ah-muted: rgba(239,244,246,.66);
  --ah-faint: rgba(239,244,246,.42);
  --ah-rule: rgba(176,216,225,.14);
  --ah-cyan-rule: rgba(93,226,255,.44);
  --ah-terracotta: #d58a72;
  --ah-sage: #c5ceb9;
  --ah-ivory: #f1ece2;
  --ah-ink: #181716;
  --ease: cubic-bezier(.16,1,.3,1);
}

* { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: 112px; background: var(--ah-black); }
body.ahv3-case { margin: 0; min-width: 0; overflow-x: clip; color: var(--ah-white); background: var(--ah-black); font-family: Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; -webkit-font-smoothing: antialiased; }
body.ahv3-case.menu-open { overflow: hidden; }
.ahv3-case img { display: block; max-width: 100%; height: auto; }
.ahv3-case a { color: inherit; }
.ahv3-case :focus-visible { outline: 3px solid var(--ai-cyan); outline-offset: 4px; }
.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }
.skip-link { position: fixed; z-index: 2000; top: 12px; left: 12px; padding: 12px 18px; color: #000; background: #fff; font-weight: 800; text-decoration: none; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

/* Current canonical ProAI shell. */
.global-header { position: fixed; inset: 0 0 auto; z-index: 1000; height: var(--header-h); display: flex; justify-content: center; border-bottom: 1px solid rgba(255,255,255,.08); background: rgba(5,5,6,.58); backdrop-filter: blur(25px); -webkit-backdrop-filter: blur(25px); transition: transform .28s ease,background .3s ease,border-color .3s ease; }
.global-header.is-scrolled { background: rgba(5,5,6,.88); border-color: rgba(255,255,255,.1); }
.header-container { width: 100%; max-width: var(--case-max); height: 100%; margin: 0 auto; padding: 0 40px; display: flex; align-items: center; justify-content: space-between; }
.logo-block { display: flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; }
.global-header .logo-block { min-height: 44px; }
.logo-cube-container { width: 28px; height: 28px; perspective: 420px; overflow: visible; }
.logo-cube { position: relative; width: 18px; height: 18px; margin: 5px auto; display: block; transform-style: preserve-3d; animation: logoSpin 10s linear infinite; will-change: transform; }
.l-face { position: absolute; inset: 0; width: 18px; height: 18px; border: 1.5px solid var(--ai-cyan); background: rgba(93,226,255,.1); }
.lf-front { transform: translateZ(9px); } .lf-back { transform: rotateY(180deg) translateZ(9px); } .lf-right { transform: rotateY(90deg) translateZ(9px); } .lf-left { transform: rotateY(-90deg) translateZ(9px); } .lf-top { transform: rotateX(90deg) translateZ(9px); } .lf-bottom { transform: rotateX(-90deg) translateZ(9px); }
@keyframes logoSpin { to { transform: rotateX(360deg) rotateY(360deg); } }
.logo-text { color: #fff; font-size: 20px; font-weight: 900; letter-spacing: -1px; text-transform: uppercase; white-space: nowrap; }
.logo-text span { color: var(--ai-cyan); text-shadow: 0 0 15px rgba(93,226,255,.6); }
.site-nav { display: flex; align-items: center; gap: 18px; }
.site-nav a { min-height: 44px; display: inline-flex; align-items: center; color: rgba(255,255,255,.42); font-size: 10px; font-weight: 600; letter-spacing: .9px; text-decoration: none; text-transform: uppercase; transition: color .3s ease,text-shadow .3s ease; }
.ahv3-case--ru .site-nav a { font-size: 11px; }
.site-nav a:hover,.site-nav a:focus-visible { color: var(--ai-cyan); text-shadow: 0 0 10px var(--ai-cyan); }
.header-actions { display: flex; align-items: center; gap: 20px; }
.lang-link { min-height: 44px; display: inline-flex; align-items: center; color: var(--ai-cyan); font-size: 13px; font-weight: 900; line-height: 1; text-decoration: none; white-space: nowrap; }
.start-btn { min-height: 48px; padding: 12px 28px; display: inline-flex; align-items: center; justify-content: center; border: 1.5px solid var(--ai-cyan); border-radius: 4px; color: #fff; background: rgba(93,226,255,.06); font-size: 11px; font-weight: 800; letter-spacing: 1px; text-decoration: none; text-transform: uppercase; white-space: nowrap; }
.mobile-menu-toggle { display: none; width: 42px; height: 42px; padding: 0; border: 1px solid rgba(255,255,255,.12); border-radius: 999px; background: rgba(255,255,255,.04); color: #fff; align-items: center; justify-content: center; flex-direction: column; gap: 4px; cursor: pointer; }
.mobile-menu-toggle span { display: block; width: 16px; height: 1.5px; border-radius: 99px; background: #fff; transition: transform .3s var(--ease),opacity .3s var(--ease); }
.mobile-menu-toggle.is-open span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.mobile-menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.mobile-menu-toggle.is-open span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

.ahv3-main { position: relative; isolation: isolate; overflow: clip; background: radial-gradient(circle at 82% 5%,rgba(23,112,139,.12),transparent 22%),linear-gradient(180deg,#050506,#090a0c 48%,#050506); }
.ahv3-main::before { content: ""; position: absolute; z-index: -1; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(121,207,229,.028) 1px,transparent 1px),linear-gradient(90deg,rgba(121,207,229,.025) 1px,transparent 1px); background-size: 96px 96px; mask-image: linear-gradient(#000,transparent 90%); }
.ahv3-container { width: min(100%,var(--case-max)); margin-inline: auto; padding-inline: 40px; }
.ahv3-section { position: relative; padding-block: clamp(112px,10vw,172px); border-bottom: 1px solid var(--ah-rule); }
.ahv3-surface--charcoal { background: #090a0c; }
.ahv3-surface--warm { background: #0b0909; }
.ahv3-surface--cool { background: #070b0d; }
.ahv3-handoff::after { content: ""; position: absolute; z-index: 2; right: 0; bottom: -1px; width: min(42vw,620px); height: 1px; pointer-events: none; }
.ahv3-handoff--cyan-terracotta::after { background: linear-gradient(90deg,transparent,rgba(93,226,255,.45),rgba(213,138,114,.52)); }
.ahv3-handoff--terracotta-sage::after { background: linear-gradient(90deg,transparent,rgba(213,138,114,.5),rgba(197,206,185,.46)); }
.ahv3-handoff--sage-black::after { background: linear-gradient(90deg,transparent,rgba(197,206,185,.42),rgba(5,5,6,.9)); }
.ahv3-eyebrow,.ahv3-status { margin: 0; color: rgba(255,255,255,.55); font-size: 11px; font-weight: 700; line-height: 1.5; letter-spacing: .14em; text-transform: uppercase; }
.ahv3-eyebrow::before { content: ""; width: 28px; height: 1px; margin-right: 12px; display: inline-block; vertical-align: middle; background: var(--ah-terracotta); }
.ahv3-status { margin-top: 12px; color: rgba(93,226,255,.74); letter-spacing: .11em; }
.ahv3-section h2 { max-width: 17ch; margin: 18px 0 0; font-size: clamp(48px,5.2vw,78px); font-weight: 800; line-height: .96; letter-spacing: -.05em; text-wrap: balance; }
.ahv3-case--ru .ahv3-section h2 { max-width: 20ch; font-size: clamp(44px,4.7vw,70px); }
.ahv3-lead { max-width: 67ch; margin: 28px 0 0; color: rgba(255,255,255,.76); font-size: clamp(18px,1.4vw,22px); line-height: 1.58; }
.ahv3-body { color: var(--ah-muted); font-size: 16px; line-height: 1.75; }
.ahv3-body p { margin: 0; }
.ahv3-body p + p { margin-top: 18px; }
.ahv3-heading { display: grid; grid-template-columns: minmax(0,.9fr) minmax(360px,.65fr); gap: clamp(54px,8vw,132px); align-items: end; margin-bottom: clamp(48px,6vw,84px); }
.ahv3-heading .ahv3-lead { margin-top: 0; }

.ahv3-hero { position: relative; padding: calc(var(--header-h) + 52px) 0 56px; border-bottom: 1px solid var(--ah-rule); }
.ahv3-hero-grid { min-height: 690px; display: grid; grid-template-columns: minmax(500px,.9fr) minmax(620px,1.1fr); gap: clamp(52px,6vw,94px); align-items: center; }
.ahv3-hero-copy { position: relative; z-index: 2; }
.ahv3-hero h1 { max-width: 15.8ch; margin: 26px 0 0; color: #fff; font-size: clamp(50px,3.6vw,62px); font-weight: 800; line-height: .95; letter-spacing: -.048em; text-wrap: balance; }
.ahv3-case--ru .ahv3-hero h1 { max-width: 16.6ch; font-size: clamp(46px,3.25vw,54px); }
.hero-accent { display: block; width: fit-content; color: var(--ah-terracotta); background: linear-gradient(90deg,var(--ah-terracotta),var(--ah-sage)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.ahv3-hero .ahv3-lead { max-width: 58ch; margin-top: 26px; font-size: 17px; }
.ahv3-thesis { max-width: 62ch; margin: 16px 0 0; color: var(--ah-muted); font-size: 15px; line-height: 1.65; }
.ahv3-actions { width: min(100%,560px); margin-top: 28px; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.ahv3-button { min-height: 54px; padding: 14px 22px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid transparent; border-radius: 4px; font-size: 11px; font-weight: 800; line-height: 1.2; letter-spacing: .08em; text-align: center; text-decoration: none; text-transform: uppercase; transition: transform .25s var(--ease),background .25s ease,border-color .25s ease; }
.ahv3-button:hover { transform: translateY(-1px); }
.ahv3-button--primary { color: #031014; background: var(--ai-cyan); }
.ahv3-button--secondary { color: #fff; border-color: rgba(255,255,255,.22); background: rgba(255,255,255,.025); }
.external-link::after { content: "\2197"; margin-left: .55em; }
.ahv3-facts { margin: 22px 0 0; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.1); color: var(--ah-faint); font-size: 11px; line-height: 1.6; letter-spacing: .05em; }
.ahv3-hero-visual { position: relative; margin: 0; min-width: 0; }
.ahv3-hero-visual::before { content: ""; position: absolute; z-index: -1; top: 4%; right: -6%; width: clamp(240px,32vw,500px); aspect-ratio: 1; border: 1px solid rgba(93,226,255,.065); border-radius: 50%; pointer-events: none; }
.ahv3-portal { position: relative; padding: 1px; overflow: hidden; background: linear-gradient(135deg,rgba(93,226,255,.72),rgba(255,255,255,.12) 46%,rgba(213,138,114,.62)); clip-path: polygon(0 0,calc(100% - 18px) 0,100% 18px,100% 100%,18px 100%,0 calc(100% - 18px)); box-shadow: 0 22px 80px rgba(0,0,0,.38); }
.ahv3-aperture { position: relative; overflow: hidden; background: #111; clip-path: inherit; }
.ahv3-aperture img { width: 100%; opacity: 1; filter: none; }
.ahv3-threshold-line { position: absolute; z-index: 2; top: 0; bottom: 0; left: 0; width: 1px; background: var(--ai-cyan); box-shadow: 0 0 15px rgba(93,226,255,.72); pointer-events: none; }
.ahv3-hero figcaption,.ahv3-figure figcaption { margin-top: 14px; color: rgba(255,255,255,.46); font-size: 13px; line-height: 1.6; }
.ahv3-hero::after { content: ""; position: absolute; bottom: -1px; left: max(24px,calc((100vw - var(--case-max))/2 + 40px)); width: min(34vw,460px); height: 1px; background: linear-gradient(90deg,var(--ai-cyan),var(--ah-terracotta),transparent); }

.ahv3-brief-grid { display: grid; grid-template-columns: minmax(0,.9fr) minmax(360px,.6fr); gap: clamp(56px,10vw,168px); align-items: end; }
.ahv3-pull { margin: 0; padding: 32px 0 0; border-top: 1px solid rgba(213,138,114,.5); color: #fff; font-size: clamp(26px,2.4vw,38px); font-weight: 600; line-height: 1.28; letter-spacing: -.025em; }
.ahv3-risk-inset { width: min(100%,1220px); margin: 0 auto; padding: clamp(38px,5vw,72px); display: grid; grid-template-columns: 1fr minmax(320px,.56fr); gap: clamp(42px,7vw,104px); color: var(--ah-ink); background: var(--ah-ivory); }
.ahv3-risk-inset h2 { max-width: 14ch; margin-top: 0; }
.ahv3-risk-inset .ahv3-body { align-self: end; color: rgba(24,23,22,.7); }

.ahv3-trust .ahv3-heading { margin-bottom: 54px; }
.ahv3-trust-copy { max-width: 700px; margin-bottom: 38px; color: var(--ah-muted); font-size: 17px; line-height: 1.7; }
.ahv3-figure { position: relative; margin: 0; min-width: 0; }
.ahv3-frame { padding: 1px; background: linear-gradient(90deg,rgba(93,226,255,.48),rgba(255,255,255,.08),rgba(197,206,185,.5)); box-shadow: 0 24px 72px rgba(0,0,0,.26); }
.ahv3-frame img { width: 100%; opacity: 1; filter: none; }
.ahv3-trust .ahv3-figure { width: min(100%,1180px); margin-left: auto; }

.ahv3-light-inset { padding: clamp(28px,4vw,58px); color: var(--ah-ink); background: var(--ah-ivory); }
.ahv3-brand-grid { display: grid; grid-template-columns: minmax(300px,.42fr) minmax(0,1fr); gap: clamp(40px,6vw,94px); align-items: center; }
.ahv3-light-inset .ahv3-eyebrow { color: rgba(24,23,22,.55); }
.ahv3-light-inset .ahv3-lead { color: rgba(24,23,22,.72); }
.ahv3-light-inset h2 { color: var(--ah-ink); }
.ahv3-light-inset .ahv3-frame { background: rgba(24,23,22,.22); box-shadow: none; }
.ahv3-light-inset .ahv3-figure figcaption { color: rgba(24,23,22,.58); }
.ahv3-ambient::before { content: ""; position: absolute; z-index: 0; border: 1px solid currentColor; border-radius: 50%; opacity: .055; pointer-events: none; }
.ahv3-ambient > .ahv3-container { position: relative; z-index: 1; }
.ahv3-ambient--brand::before { left: -150px; bottom: 8%; width: 360px; aspect-ratio: 1; color: var(--ah-terracotta); }

.ahv3-pair-intro { max-width: 820px; margin-bottom: 42px; }
.ahv3-pair-line { margin: 24px 0 0; color: rgba(255,255,255,.52); font-size: 13px; line-height: 1.6; }
.ahv3-language-pair { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: clamp(22px,3vw,44px); align-items: start; }
.ahv3-language-frame { margin: 0; min-width: 0; }
.ahv3-language-label { min-height: 46px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--ah-rule); color: var(--ah-faint); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.ahv3-language-label strong { color: #fff; font-size: 15px; }
.ahv3-language-frame--ua .ahv3-language-label { border-color: rgba(197,206,185,.7); }
.ahv3-language-frame--ru .ahv3-language-label { border-color: rgba(213,138,114,.75); }
.ahv3-language-image { padding: 1px; background: rgba(93,226,255,.28); }
.ahv3-language-image img { width: 100%; opacity: 1; filter: none; }

.ahv3-journey { background: rgba(255,255,255,.015); }
.ahv3-steps { margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4,1fr); list-style: none; border-top: 1px solid rgba(93,226,255,.28); }
.ahv3-steps li { position: relative; min-width: 0; padding: 34px 28px 8px 0; }
.ahv3-steps li::before { content: ""; position: absolute; top: -4px; left: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--ah-terracotta); }
.ahv3-steps li + li { padding-left: 28px; border-left: 1px solid var(--ah-rule); }
.ahv3-step-label { display: block; color: var(--ah-sage); font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.ahv3-steps h3 { margin: 18px 0 0; font-size: 21px; }
.ahv3-steps p { margin: 12px 0 0; color: var(--ah-muted); font-size: 15px; line-height: 1.65; }

.ahv3-contact-grid { display: grid; grid-template-columns: minmax(280px,.36fr) minmax(0,1fr); gap: clamp(44px,7vw,112px); align-items: start; }
.ahv3-contact-copy { padding-top: 20px; }
.ahv3-contact-copy p { color: var(--ah-muted); font-size: 16px; line-height: 1.7; }
.ahv3-contact-copy p + p { margin-top: 22px; }
.ahv3-contact-copy strong { color: #fff; }
.ahv3-contact-grid .ahv3-figure { max-width: 980px; }

.ahv3-notes-grid { display: grid; grid-template-columns: minmax(0,1.75fr) minmax(280px,.75fr); gap: clamp(24px,3vw,46px); align-items: start; }
.ahv3-notes-primary,.ahv3-notes-secondary { margin: 0; }
.ahv3-notes-grid img { width: 100%; opacity: 1; filter: none; }
.ahv3-notes-formula { margin: 30px 0 0; color: var(--ah-sage); font-size: clamp(22px,2vw,30px); font-weight: 600; }
.ahv3-ambient--notes::before { right: -120px; top: 12%; width: 300px; aspect-ratio: 1; color: var(--ah-sage); }

.ahv3-responsive-grid { display: grid; grid-template-columns: minmax(320px,.45fr) minmax(0,.75fr); gap: clamp(60px,9vw,150px); align-items: center; }
.ahv3-mobile-frame { width: min(100%,430px); margin: 0 auto; padding: 1px; background: linear-gradient(180deg,rgba(93,226,255,.5),rgba(213,138,114,.35)); }
.ahv3-mobile-frame img { width: 100%; opacity: 1; filter: none; }
.ahv3-production-line { margin: 30px 0 0; padding-top: 20px; border-top: 1px solid var(--ah-rule); color: rgba(255,255,255,.5); font-size: 13px; line-height: 1.7; }

.ahv3-result { background: #050506; }
.ahv3-result-inner { max-width: 1120px; margin-inline: auto; }
.ahv3-result .ahv3-body { max-width: 800px; margin-top: 34px; font-size: 18px; }
.ahv3-scope { max-width: 800px; margin: 42px 0 0; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.42); font-size: 13px; line-height: 1.7; }

.ahv3-next { padding: 42px 0; border-block: 1px solid var(--ah-rule); background: #020203; }
.ahv3-next-link { display: grid; grid-template-columns: 160px 1fr auto; gap: 28px; align-items: center; text-decoration: none; }
.ahv3-next-label { color: var(--ah-faint); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.ahv3-next strong { font-size: clamp(26px,2.8vw,42px); }
.ahv3-next p { margin: 0; color: var(--ah-muted); font-size: 14px; line-height: 1.55; }
.ahv3-next-arrow { color: var(--ai-cyan); font-size: 28px; }

/* Exact current canonical footer. */
.global-footer { position: relative; z-index: 10; overflow: hidden; padding: 112px 0 40px; color: #fff; border-top: 1px solid rgba(255,255,255,.08); background: #000; }
.global-footer::before { content: ""; position: absolute; top: 0; left: 50%; width: min(1120px,88vw); height: 1px; background: linear-gradient(90deg,transparent,rgba(93,226,255,.42),rgba(0,122,255,.16),transparent); opacity: .78; transform: translateX(-50%); }
.global-footer::after { content: ""; position: absolute; top: -108px; left: 50%; width: min(1040px,86vw); height: 230px; background: radial-gradient(circle,rgba(93,226,255,.055),rgba(0,122,255,.018) 38%,transparent 74%); filter: blur(54px); opacity: .36; transform: translateX(-50%); pointer-events: none; }
.footer-container { position: relative; z-index: 2; width: 100%; max-width: 1600px; margin: 0 auto; padding: 0 40px; }
.f-backmark { position: absolute; z-index: 0; top: 18px; left: 50%; width: min(1340px,94vw); color: rgba(255,255,255,.048); font-size: clamp(148px,16.2vw,318px); font-weight: 900; line-height: .82; letter-spacing: -.078em; text-align: center; text-shadow: 0 0 42px rgba(93,226,255,.08); text-transform: uppercase; white-space: nowrap; transform: translateX(-50%); pointer-events: none; user-select: none; }
.f-top { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0,1.18fr) minmax(360px,.82fr); gap: clamp(64px,7vw,120px); align-items: start; margin-bottom: 74px; }
.f-cta { max-width: 760px; }
.f-cta h2 { max-width: 13ch; margin: 0; font-size: clamp(48px,6vw,92px); font-weight: 900; line-height: .9; letter-spacing: -4px; background: linear-gradient(90deg,#fff 0%,#fff 44%,rgba(93,226,255,.46) 50%,#fff 56%,#fff 100%); background-size: 220% auto; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: text-scan 15s cubic-bezier(.4,0,.2,1) infinite; }
@keyframes text-scan { 0%,76% { background-position: 145% center; } 100% { background-position: -25% center; } }
.f-cta p { max-width: 560px; margin: 26px 0 0; color: rgba(255,255,255,.46); font-size: 18px; line-height: 1.7; }
.f-cta-btn { min-height: 48px; margin-top: 34px; padding: 16px 42px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid rgba(93,226,255,.42); border-radius: 6px; color: #fff; background: rgba(255,255,255,.018); font-size: 11px; font-weight: 800; letter-spacing: 1.6px; text-decoration: none; text-transform: uppercase; }
.f-contact-grid { padding-top: 24px; display: grid; gap: 42px; align-content: start; justify-items: start; }
.f-contact-block { position: relative; min-width: 0; padding-top: 4px; }
.f-contact-block::before { content: ""; position: absolute; top: 0; left: 0; width: 32px; height: 1px; background: linear-gradient(90deg,rgba(93,226,255,.34),transparent); }
.f-label { margin-bottom: 18px; display: block; color: rgba(255,255,255,.28); font-family: ui-monospace,monospace; font-size: 10px; letter-spacing: 2.6px; text-transform: uppercase; }
.f-link { min-height: 44px; display: flex; align-items: center; color: #fff; font-size: 26px; font-weight: 600; text-decoration: none; }
.f-contact-block .f-link + .f-link { margin-top: 10px; color: rgba(255,255,255,.6); font-size: 16px; }
.f-link.subtle-link { color: rgba(255,255,255,.56); font-size: 17px; }
.f-divider { position: relative; z-index: 2; width: 100%; height: 1px; margin: 0 0 18px; background: linear-gradient(90deg,rgba(255,255,255,.06),rgba(93,226,255,.16),rgba(255,255,255,.04)); }
.f-bottom { position: relative; z-index: 2; display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: end; }
.global-footer .f-bottom .logo-block { opacity: .34; transform: scale(.84); transform-origin: left bottom; }
.f-socials { display: flex; justify-content: center; gap: 36px; }
.f-socials a { min-height: 44px; padding-bottom: 6px; display: inline-flex; align-items: center; color: rgba(255,255,255,.72); font-size: 10px; font-weight: 700; letter-spacing: 2.6px; text-decoration: none; text-transform: uppercase; }
.f-copy { margin: 0; color: rgba(255,255,255,.22); font-size: 11px; line-height: 1.5; letter-spacing: 1.4px; text-align: right; text-transform: uppercase; }

/* Case Studies archive routes. */
.case-archive { background: #050506; }
.case-archive .archive-main { min-height: 100vh; overflow: clip; background: radial-gradient(circle at 82% 8%,rgba(93,226,255,.09),transparent 24%),#050506; }
.case-archive .archive-container { width: min(100%,1440px); margin-inline: auto; padding-inline: 40px; }
.case-archive .archive-hero { padding: calc(var(--header-h) + 112px) 0 108px; border-bottom: 1px solid rgba(255,255,255,.1); }
.case-archive .archive-eyebrow { margin: 0 0 24px; color: rgba(93,226,255,.7); font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.case-archive .archive-hero h1 { max-width: 11ch; margin: 0; font-size: 96px; line-height: .88; letter-spacing: -.055em; }
.case-archive .archive-hero p:last-child { max-width: 760px; margin: 34px 0 0; color: rgba(255,255,255,.66); font-size: 20px; line-height: 1.65; }
.case-archive .archive-list { padding: 36px 0 132px; }
.case-archive .archive-case { padding: 92px 0; display: grid; grid-template-columns: minmax(0,1.45fr) minmax(340px,.55fr); gap: 72px; align-items: center; border-bottom: 1px solid rgba(255,255,255,.11); }
.case-archive .archive-case--financial { grid-template-columns: minmax(340px,.55fr) minmax(0,1.45fr); }
.case-archive .archive-case--financial .archive-visual { order: 2; }
.case-archive .archive-visual { display: block; min-width: 0; padding: 1px; background: linear-gradient(120deg,rgba(93,226,255,.5),rgba(255,255,255,.08),rgba(213,138,114,.4)); text-decoration: none; }
.case-archive .archive-visual img { width: 100%; opacity: 1; filter: none; }
.case-archive .archive-copy { min-width: 0; }
.case-archive .archive-meta { margin: 0; color: rgba(255,255,255,.42); font-size: 10px; font-weight: 700; line-height: 1.6; letter-spacing: .13em; text-transform: uppercase; }
.case-archive .archive-copy h2 { margin: 20px 0 0; font-size: 54px; line-height: .95; letter-spacing: -.045em; }
.case-archive .archive-copy h2 a { text-decoration: none; }
.case-archive .archive-copy > p:not(.archive-meta) { margin: 24px 0 0; color: rgba(255,255,255,.68); font-size: 18px; line-height: 1.65; }
.case-archive .archive-copy ul { margin: 28px 0 0; padding: 20px 0 0; display: flex; flex-wrap: wrap; gap: 10px 18px; border-top: 1px solid rgba(255,255,255,.1); list-style: none; }
.case-archive .archive-copy li { color: rgba(255,255,255,.48); font-size: 12px; }
.case-archive .archive-link { min-height: 48px; margin-top: 30px; display: inline-flex; align-items: center; gap: 12px; color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; }
.case-archive .archive-link span { color: var(--ai-cyan); font-size: 19px; }

/* Five semantic motion behaviours. Base content is always visible. */
.motion-ready [data-threshold] .ahv3-aperture { clip-path: inset(0 100% 0 0); transition: clip-path .86s var(--ease); }
.motion-ready [data-threshold].is-active .ahv3-aperture { clip-path: inset(0); }
.motion-ready [data-threshold] .ahv3-threshold-line { transform: translateX(0); transition: transform .86s var(--ease); }
.motion-ready [data-threshold].is-active .ahv3-threshold-line { transform: translateX(calc(var(--portal-width,760px) - 2px)); }
.motion-ready [data-accent] { background-size: 0 100%; background-repeat: no-repeat; transition: background-size .52s var(--ease); }
.motion-ready [data-accent].is-active { background-size: 100% 100%; }
.motion-ready [data-lock] { transform: translateY(14px); transition: transform .68s var(--ease); }
.motion-ready [data-lock].is-active { transform: none; }
.motion-ready [data-pair] .ahv3-language-frame { transform: translateY(12px); transition: transform .66s var(--ease); }
.motion-ready [data-pair] .ahv3-language-frame--ru { transition-delay: 120ms; }
.motion-ready [data-pair].is-active .ahv3-language-frame { transform: none; }
.motion-ready .ahv3-section h2 { opacity: .82; transform: translateY(10px); transition: opacity .5s var(--ease),transform .5s var(--ease); }
.motion-ready .ahv3-section h2.is-active { opacity: 1; transform: none; }

@media (max-width: 1199px) {
  .ahv3-hero-grid { grid-template-columns: minmax(430px,.86fr) minmax(520px,1.14fr); gap: 42px; }
  .ahv3-hero h1 { font-size: clamp(54px,4.9vw,64px); }
  .ahv3-case--ru .ahv3-hero h1 { font-size: clamp(50px,4.6vw,60px); }
}

@media (max-width: 1100px) {
  :root { --header-h: 78px; }
  .global-header { height: 78px; }
  .header-container { min-height: 78px; padding-inline: 16px; gap: 12px; }
  .global-header.header-hidden { transform: translateY(calc(-100% - 2px)); }
  .logo-block { min-width: 0; flex: 1 1 auto; gap: 10px; }
  .logo-cube-container { width: 24px; height: 24px; flex: 0 0 24px; margin-right: 10px; }
  .logo-text { max-width: 100%; font-size: clamp(18px,4.9vw,24px); line-height: .94; letter-spacing: -.045em; }
  .header-actions { flex: 0 0 auto; margin-left: auto; gap: 10px; }
  .lang-link { width: 28px; min-width: 28px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; }
  .header-actions .start-btn { display: none; }
  .mobile-menu-toggle { position: relative; z-index: 1102; width: 42px; height: 44px; flex: 0 0 42px; display: flex; }
  .site-nav { display: none; }
  .site-nav.is-open { position: fixed; z-index: 1100; inset: var(--header-h) 0 0; min-height: calc(100svh - var(--header-h)); max-height: calc(100svh - var(--header-h)); padding: max(30px,6svh) 20px calc(34px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; align-items: stretch; justify-content: center; gap: 8px; overflow-y: auto; background: linear-gradient(180deg,rgba(5,5,6,.985),rgba(5,5,6,.96)); }
  .site-nav.is-open a { width: min(100%,420px); min-height: 44px; margin-inline: auto; padding: 12px 0; display: flex; align-items: center; color: #fff; font-size: clamp(22px,6vw,34px); line-height: 1.05; text-transform: none; }
  .ahv3-container { padding-inline: 24px; }
  .ahv3-hero-grid { min-height: 0; grid-template-columns: 1fr; gap: 52px; }
  .ahv3-hero-copy { max-width: 820px; }
  .ahv3-hero-visual { width: min(100%,920px); }
  .ahv3-heading,.ahv3-brief-grid { grid-template-columns: 1fr; gap: 28px; align-items: start; }
  .ahv3-risk-inset { grid-template-columns: 1fr; }
  .ahv3-brand-grid,.ahv3-contact-grid,.ahv3-responsive-grid { grid-template-columns: 1fr; }
  .ahv3-contact-copy { max-width: 760px; }
  .ahv3-responsive-grid .ahv3-mobile-frame { order: 2; }
  html:not(.js) .global-header { position: relative; height: auto; }
  html:not(.js) .header-container { min-height: var(--header-h); padding-block: 12px; flex-wrap: wrap; }
  html:not(.js) .mobile-menu-toggle { display: none; }
  html:not(.js) .site-nav { order: 3; width: 100%; display: flex; flex-wrap: wrap; gap: 0 16px; }
  html:not(.js) .site-nav a { min-height: 44px; display: inline-flex; align-items: center; }
  html:not(.js) .ahv3-hero { padding-top: 36px; }
  .case-archive .archive-hero h1 { font-size: 72px; }
  .case-archive .archive-case,.case-archive .archive-case--financial { grid-template-columns: 1fr; gap: 42px; }
  .case-archive .archive-case--financial .archive-visual { order: 0; }
}

@media (max-width: 834px) {
  .ahv3-language-pair { grid-template-columns: 1fr; gap: 48px; }
  .ahv3-steps { grid-template-columns: repeat(2,1fr); }
  .ahv3-steps li:nth-child(3) { border-left: 0; border-top: 1px solid var(--ah-rule); }
  .ahv3-steps li:nth-child(4) { border-top: 1px solid var(--ah-rule); }
  .ahv3-notes-grid { grid-template-columns: 1fr; gap: 38px; }
  .ahv3-notes-secondary { max-width: 680px; }
  .ahv3-next-link { grid-template-columns: 1fr auto; }
  .ahv3-next-label { grid-column: 1 / -1; }
}

@media (max-width: 767px) {
  html { scroll-padding-top: 90px; }
  .ahv3-container,.footer-container { padding-inline: 18px; }
  .ahv3-main::before { background-size: 56px 56px; }
  .ahv3-section { padding-block: 82px; }
  .ahv3-hero { padding-top: calc(var(--header-h) + 28px); padding-bottom: 42px; }
  .ahv3-hero-grid { gap: 38px; }
  .ahv3-hero h1,.ahv3-case--ru .ahv3-hero h1 { max-width: none; font-size: clamp(42px,11.5vw,54px); line-height: .96; }
  .ahv3-hero .ahv3-lead { font-size: 16px; }
  .ahv3-thesis { font-size: 15px; }
  .ahv3-actions { width: 100%; grid-template-columns: 1fr; gap: 10px; }
  .ahv3-button { width: 100%; min-height: 54px; }
  .ahv3-section h2,.ahv3-case--ru .ahv3-section h2 { max-width: none; font-size: clamp(38px,10.8vw,50px); }
  .ahv3-lead { font-size: 17px; }
  .ahv3-heading { margin-bottom: 40px; }
  .ahv3-risk-inset { padding: 34px 24px; }
  .ahv3-light-inset { padding: 24px; }
  .ahv3-steps { grid-template-columns: 1fr; border-top: 0; }
  .ahv3-steps li,.ahv3-steps li + li,.ahv3-steps li:nth-child(3),.ahv3-steps li:nth-child(4) { padding: 28px 0; border-left: 0; border-top: 1px solid var(--ah-rule); }
  .ahv3-steps li::before { top: -4px; }
  .ahv3-contact-copy { padding-top: 0; }
  .ahv3-mobile-frame { width: min(100%,390px); }
  .ahv3-next { padding-block: 34px; }
  .ahv3-next-link { gap: 16px; }
  .global-footer { padding: 84px 0 30px; }
  .f-backmark { top: 20px; font-size: clamp(76px,20vw,158px); }
  .f-top { grid-template-columns: 1fr; gap: 24px; margin-bottom: 32px; }
  .f-cta h2 { font-size: clamp(36px,11vw,60px); line-height: .95; letter-spacing: -.04em; }
  .f-cta p { font-size: 16px; }
  .f-contact-grid { grid-template-columns: 1fr; gap: 18px; padding-top: 0; }
  .f-bottom { grid-template-columns: 1fr; grid-template-areas: "logo" "socials" "copy"; gap: 10px; justify-items: start; }
  .global-footer .f-bottom .logo-block { grid-area: logo; opacity: .42; transform: none; }
  .f-socials { grid-area: socials; gap: 12px; flex-wrap: wrap; justify-content: flex-start; }
  .f-copy { grid-area: copy; text-align: left; }
  .case-archive .archive-container { padding-inline: 18px; }
  .case-archive .archive-hero { padding: calc(var(--header-h) + 72px) 0 72px; }
  .case-archive .archive-hero h1 { font-size: 54px; }
  .case-archive .archive-hero p:last-child { font-size: 17px; }
  .case-archive .archive-list { padding-bottom: 80px; }
  .case-archive .archive-case { padding: 64px 0; }
  .case-archive .archive-copy h2 { font-size: 42px; }
  .case-archive .archive-copy > p:not(.archive-meta) { font-size: 16px; }
}

@media (max-width: 390px) {
  .ahv3-container,.footer-container { padding-inline: 16px; }
  .ahv3-hero h1,.ahv3-case--ru .ahv3-hero h1 { font-size: clamp(40px,10.9vw,44px); }
  .ahv3-eyebrow,.ahv3-status { font-size: 9px; }
}

@media (max-width: 330px) {
  .ahv3-hero h1,.ahv3-case--ru .ahv3-hero h1 { font-size: 39px; }
  .ahv3-section h2,.ahv3-case--ru .ahv3-section h2 { font-size: 35px; }
  .case-archive .archive-hero h1 { font-size: 44px; }
}

@media (max-width: 1100px) and (orientation: landscape), (max-height: 540px) and (orientation: landscape) {
  .site-nav.is-open { justify-content: center; padding-block: 18px calc(20px + env(safe-area-inset-bottom)); }
  .site-nav.is-open a { padding: 8px 0; font-size: clamp(18px,3vw,24px); }
  .ahv3-hero { min-height: 0; padding-top: calc(var(--header-h) + 24px); }
  .ahv3-section { padding-block: 68px; }
  .global-footer { padding-top: 66px; padding-bottom: calc(22px + env(safe-area-inset-bottom)); }
  .f-backmark { top: 12px; font-size: clamp(64px,12vw,126px); }
  .f-top { grid-template-columns: minmax(0,1fr) minmax(230px,.84fr); gap: 24px; margin-bottom: 22px; }
  .f-contact-grid { gap: 12px; }
  .f-bottom { grid-template-columns: auto auto 1fr; grid-template-areas: "logo socials copy"; gap: 10px 16px; align-items: center; }
  .f-copy { text-align: right; justify-self: end; line-height: 1.25; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,*::before,*::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .motion-ready [data-threshold] .ahv3-aperture,.motion-ready [data-threshold] .ahv3-threshold-line,.motion-ready [data-lock],.motion-ready [data-pair] .ahv3-language-frame,.motion-ready .ahv3-section h2 { clip-path: inset(0) !important; opacity: 1 !important; transform: none !important; }
  .motion-ready [data-accent] { background-size: 100% 100% !important; }
  .logo-cube { animation: none !important; transform: rotateX(-18deg) rotateY(32deg) !important; }
  .f-cta h2 { animation: none !important; background: #fff !important; -webkit-text-fill-color: #fff !important; }
}

@media (forced-colors: active) {
  .hero-accent { color: CanvasText; background: none; -webkit-text-fill-color: CanvasText; }
}

@media print {
  .global-header,.global-footer { display: none; }
  body.ahv3-case,.ahv3-main { color: #000; background: #fff; }
}
