/* ============================================================
   Money Sprint — venture studio site
   Style: scale.com-inspired, enterprise AI, dark premium
   Palette derived from existing Paldare brand
   ============================================================ */

:root {
  --bg:        #0a0e1a;
  --bg-2:      #0b1020;
  --surface:   #121a2e;
  --surface-2: #0f1628;
  --line:      rgba(255,255,255,.08);
  --line-2:    rgba(255,255,255,.14);
  --ink:       #eef1f8;
  --muted:     #a7afc6;
  --muted-2:   #888fac;
  --accent:    #8b7cff;
  --accent-2:  #4f8cff;
  --accent-3:  #34d399;
  --yes:       #34d399;
  --no:        #f87171;
  --warn:      #fbbf24;
  --radius:    16px;
  --radius-lg: 22px;
  --maxw:      1180px;
  --font:      'Inter', -apple-system, system-ui, sans-serif;
  --mono:      'IBM Plex Mono', ui-monospace, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
::selection { background: rgba(139,124,255,.35); }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.eyebrow {
  font-family: var(--mono);
  font-size: 12px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 18px;
}
.section { padding: 110px 0; position: relative; }
.section-head { max-width: 720px; margin-bottom: 56px; }
.pnum {
  font-family: var(--mono); font-size: 13px; letter-spacing: .22em;
  margin-bottom: 16px; display: flex; align-items: baseline; gap: 8px;
}
.pnum b {
  font-weight: 500; font-size: 30px; letter-spacing: 0;
  background: linear-gradient(100deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.pnum span { color: var(--muted-2, var(--muted)); opacity: .55; }
.section-head h2 {
  font-size: clamp(28px, 4vw, 46px); font-weight: 600;
  letter-spacing: -.02em; line-height: 1.08;
}
.section-head p { color: var(--muted); font-size: 18px; margin-top: 18px; }
.grad {
  background: linear-gradient(100deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 15px; font-weight: 500; padding: 13px 22px;
  border-radius: 999px; border: 1px solid transparent;
  transition: transform .15s ease, background .2s ease, border-color .2s ease;
  cursor: pointer; white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--ink); color: #0a0e1a; }
.btn-primary:hover { background: #fff; }
.btn-ghost { border-color: var(--line-2); color: var(--ink); }
.btn-ghost:hover { border-color: var(--accent); background: rgba(139,124,255,.08); }
.btn-accent { background: linear-gradient(100deg, var(--accent), var(--accent-2)); color: #fff; }

/* ---------- nav ---------- */
header.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(10,14,26,.72);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: -.01em; font-size: 17px; }
.brand .dot { width: 11px; height: 11px; border-radius: 3px; background: linear-gradient(135deg, var(--accent), var(--accent-2)); box-shadow: 0 0 16px rgba(139,124,255,.7); }
.nav-links { display: flex; gap: 30px; }
.nav-links a { font-size: 14.5px; color: var(--muted); transition: color .2s; }
.nav-links a:hover { color: var(--ink); }
.nav-cta { display: flex; gap: 12px; align-items: center; }
.burger { display: none; background: none; border: 0; color: var(--ink); font-size: 22px; cursor: pointer; }

/* ---------- hero ---------- */
.hero { position: relative; padding: 130px 0 90px; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; inset: -20% 0 auto 0; height: 720px; z-index: -1;
  background:
    radial-gradient(48% 40% at 50% -6%, rgba(139,124,255,.30), transparent 70%),
    radial-gradient(40% 38% at 82% 4%, rgba(79,140,255,.18), transparent 70%);
}
.hero::after {
  content: ''; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(70% 55% at 50% 0%, #000 30%, transparent 75%);
          mask-image: radial-gradient(70% 55% at 50% 0%, #000 30%, transparent 75%);
}
.hero h1 {
  font-size: clamp(40px, 6.4vw, 78px); font-weight: 650;
  letter-spacing: -.03em; line-height: 1.02; max-width: 14ch;
}
.hero p.sub { font-size: clamp(17px, 2vw, 21px); color: var(--muted); max-width: 60ch; margin-top: 26px; }
.hero-cta { display: flex; gap: 14px; margin-top: 38px; flex-wrap: wrap; }
.hero-note { margin-top: 18px; font-family: var(--mono); font-size: 12.5px; color: var(--muted-2); }

/* logo / industry strip */
.strip { margin-top: 72px; border-top: 1px solid var(--line); padding-top: 26px; }
.strip-label { font-family: var(--mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 18px; }
.strip-row { display: flex; flex-wrap: wrap; gap: 14px; }
.chip {
  font-size: 13.5px; color: var(--muted); padding: 8px 15px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--surface-2);
}

/* ---------- stats band ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; background: linear-gradient(180deg, var(--surface), var(--surface-2)); }
.stat .num { font-size: clamp(30px, 3.6vw, 44px); font-weight: 650; letter-spacing: -.02em; }
.stat .num .grad { font-weight: 650; }
.stat .lbl { color: var(--muted); font-size: 14.5px; margin-top: 8px; }

/* ---------- capability grid ---------- */
.caps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cap { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: var(--surface-2); transition: border-color .2s, transform .2s; }
.cap:hover { border-color: var(--line-2); transform: translateY(-3px); }
.cap .ic { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; font-size: 18px; background: rgba(139,124,255,.12); border: 1px solid rgba(139,124,255,.25); margin-bottom: 16px; }
.cap h3 { font-size: 16.5px; font-weight: 600; }
.cap p { color: var(--muted); font-size: 14px; margin-top: 8px; }

/* ---------- velocity / how we ship ---------- */
.velocity { background: linear-gradient(180deg, transparent, rgba(139,124,255,.04)); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; }
.step { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; background: var(--surface-2); position: relative; }
.step::before { counter-increment: s; content: '0' counter(s); font-family: var(--mono); font-size: 13px; color: var(--accent); }
.step h3 { font-size: 17px; font-weight: 600; margin: 12px 0 8px; }
.step p { color: var(--muted); font-size: 14px; }

/* ---------- products ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.filter { font-size: 13.5px; color: var(--muted); padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface-2); cursor: pointer; transition: all .18s; }
.filter:hover { color: var(--ink); border-color: var(--line-2); }
.filter.active { color: #fff; background: linear-gradient(100deg, var(--accent), var(--accent-2)) !important; border-color: transparent; }

.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px;
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
  display: flex; flex-direction: column; min-height: 232px;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.card:hover { border-color: rgba(139,124,255,.45); transform: translateY(-4px); box-shadow: 0 20px 50px -24px rgba(139,124,255,.4); }
.card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.pill { font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--muted); }
.pill.active { color: var(--yes); border-color: rgba(52,211,153,.4); background: rgba(52,211,153,.08); }
.pill.mvp { color: var(--accent-2); border-color: rgba(79,140,255,.4); background: rgba(79,140,255,.08); }
.pill.dev, .pill.prototype { color: var(--warn); border-color: rgba(251,191,36,.35); background: rgba(251,191,36,.07); }
.pill.concept { color: var(--muted); }
.card .cat { font-family: var(--mono); font-size: 11px; color: var(--muted-2); }
.card h3 { font-size: 20px; font-weight: 600; letter-spacing: -.01em; margin-top: 4px; }
.card h3.p-title { font-size: 23px; }
.p-title .p-sub { display: block; font-size: 13px; font-weight: 500; color: var(--muted); letter-spacing: .01em; margin-top: 5px; }
.pv-head h2 .pv-sub { display: block; font-size: 16px; font-weight: 500; color: var(--muted); letter-spacing: .01em; margin-top: 8px; }
.card p.desc { color: var(--muted); font-size: 14.5px; margin-top: 10px; flex: 1; }
.card .meta { font-size: 13px; color: var(--muted-2); margin-top: 14px; }
.card .meta b { color: var(--ink); font-weight: 500; }
.card .link { margin-top: 18px; font-size: 14px; color: var(--accent); display: inline-flex; align-items: center; gap: 6px; }
.card .link .arrow { transition: transform .2s; }
.card:hover .link .arrow { transform: translateX(4px); }

/* ---------- featured prediction market ---------- */
.feat { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background:
  radial-gradient(60% 80% at 85% 10%, rgba(139,124,255,.12), transparent 60%), var(--bg-2); }
.feat-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.feat h2 { font-size: clamp(30px, 4vw, 48px); font-weight: 620; letter-spacing: -.02em; line-height: 1.06; }
.feat .lead { color: var(--muted); font-size: 18px; margin: 20px 0 26px; }
.feat ul { list-style: none; display: grid; gap: 12px; }
.feat ul li { display: flex; gap: 12px; font-size: 15px; color: var(--ink); }
.feat ul li::before { content: '→'; color: var(--accent); }
.market-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; background: var(--surface); margin-bottom: 14px; }
.market-card .q { display: flex; justify-content: space-between; align-items: center; font-size: 14.5px; gap: 14px; }
.market-card .q b { font-family: var(--mono); font-size: 17px; color: var(--accent); }
.bar { height: 7px; border-radius: 999px; background: rgba(255,255,255,.07); margin-top: 12px; overflow: hidden; }
.bar > i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); width: 0; transition: width 1.1s cubic-bezier(.2,.7,.2,1); }
.feat-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.feat-tags span { font-size: 12.5px; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; }

/* ---------- timeline ---------- */
.timeline { position: relative; display: grid; gap: 4px; }
.tl-item { display: grid; grid-template-columns: 180px 1fr; gap: 32px; padding: 28px 0; border-top: 1px solid var(--line); }
.tl-item:last-child { border-bottom: 1px solid var(--line); }
.tl-when { font-family: var(--mono); font-size: 13px; color: var(--accent); }
.tl-item h3 { font-size: 20px; font-weight: 600; }
.tl-item p { color: var(--muted); font-size: 15px; margin-top: 8px; max-width: 62ch; }

/* ---------- proof / photo story ---------- */
.era { margin-bottom: 60px; }
.era:last-child { margin-bottom: 0; }
.era-head { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.era-tag { font-family: var(--mono); font-size: 13px; color: var(--accent); }
.era-head h3 { font-size: clamp(22px, 3vw, 30px); font-weight: 600; letter-spacing: -.01em; }
.era .intro { color: var(--muted); font-size: 16px; max-width: 76ch; margin: 10px 0 16px; }
.era-facts { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 22px; }
.era-facts span { font-size: 13px; color: var(--ink); border: 1px solid var(--line-2); border-radius: 999px; padding: 7px 14px; background: rgba(15,21,40,.5); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.photo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.photo { margin: 0; }
.photo .media { aspect-ratio: 4/3; border-radius: 14px; }
.photo .cap { font-size: 13px; color: var(--muted); margin-top: 10px; line-height: 1.4; }
@media (max-width: 980px) { .photo-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .photo-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- about: experience lead + sectors ---------- */
.about-lead { font-size: clamp(18px, 2.2vw, 23px); line-height: 1.5; color: var(--ink); max-width: 64ch; margin-bottom: 48px; padding: 4px 0 4px 22px; border-left: 2px solid var(--accent); }
.about-lead b { color: var(--accent); font-weight: 600; }
.sectors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.sector { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; background: rgba(15,21,40,.55); backdrop-filter: blur(9px); -webkit-backdrop-filter: blur(9px); transition: border-color .2s, transform .2s; }
.sector:hover { border-color: var(--line-2); transform: translateY(-3px); }
.sector h3 { font-size: 16.5px; font-weight: 600; }
.sector p { color: var(--muted); font-size: 14px; margin-top: 8px; }
.sector-open { display: inline-block; margin-top: 14px; font-size: 13px; color: var(--accent); }
@media (max-width: 980px) { .sectors { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .sectors { grid-template-columns: 1fr; } }

/* ---------- proof: clickable era cards ---------- */
.era-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.era-card { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: rgba(15,21,40,.55); backdrop-filter: blur(9px); -webkit-backdrop-filter: blur(9px); transition: border-color .2s, transform .2s, box-shadow .2s; }
.era-card:hover { border-color: rgba(139,124,255,.45); transform: translateY(-4px); box-shadow: 0 20px 50px -24px rgba(139,124,255,.4); }
.era-cover { aspect-ratio: 16/9; border: 0 !important; border-radius: 0 !important; border-bottom: 1px solid var(--line) !important; }
.era-card:hover .media img { transform: scale(1.06); }
.era-card-body { padding: 22px; }
.era-card-body h3 { font-size: 21px; font-weight: 600; letter-spacing: -.01em; margin-top: 4px; }
.era-card-body p { color: var(--muted); font-size: 14.5px; margin-top: 8px; }
.era-count { display: inline-block; margin-top: 14px; font-size: 13.5px; color: var(--accent); }
@media (max-width: 640px) { .era-grid { grid-template-columns: 1fr; } }

/* ---------- project detail overlay ("dive in") ---------- */
.project-view { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity .35s ease; }
.project-view.open { opacity: 1; pointer-events: auto; }
.pv-backdrop { position: absolute; inset: 0; background: rgba(5,7,14,.74); backdrop-filter: blur(7px); -webkit-backdrop-filter: blur(7px); }
.pv-panel { position: relative; width: min(940px, 92vw); max-height: 88vh; border: 1px solid var(--line-2); border-radius: 24px; background: rgba(12,16,28,.94); overflow: hidden; transform: translateY(28px) scale(.97); transition: transform .42s cubic-bezier(.2,.8,.2,1); box-shadow: 0 50px 130px -30px rgba(0,0,0,.85); }
.project-view.open .pv-panel { transform: none; }
.pv-close { position: absolute; top: 14px; right: 14px; z-index: 3; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(15,21,40,.7); color: var(--ink); cursor: pointer; font-size: 15px; transition: border-color .2s, background .2s; }
.pv-close:hover { border-color: var(--accent); background: rgba(139,124,255,.15); }
.pv-scroll { max-height: 88vh; overflow-y: auto; padding-bottom: 30px; }
.pv-cover { aspect-ratio: 21/9; border: 0 !important; border-radius: 0 !important; }
.pv-head { padding: 26px 32px 0; }
.pv-tag { font-family: var(--mono); font-size: 13px; color: var(--accent); display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.pv-head h2 { font-size: clamp(26px, 4vw, 40px); font-weight: 650; letter-spacing: -.02em; margin-top: 10px; }
.pv-overview { padding: 0 32px; color: var(--muted); font-size: 17px; margin-top: 14px; max-width: 72ch; }
.pv-facts { padding: 18px 32px 0 !important; margin: 0 !important; }
.pv-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; padding: 22px 32px 0; }
.pv-gallery .photo .media { aspect-ratio: 16/10; }
.pv-gallery .photo { opacity: 0; transform: translateY(16px); animation: riseIn .5s cubic-bezier(.2,.8,.2,1) forwards; }
.pv-gallery .photo:nth-child(2) { animation-delay: .07s; }
.pv-gallery .photo:nth-child(3) { animation-delay: .14s; }
.pv-gallery .photo:nth-child(4) { animation-delay: .21s; }
.pv-gallery .photo:nth-child(5) { animation-delay: .28s; }
.pv-gallery .photo:nth-child(6) { animation-delay: .35s; }
.pv-back { font-weight: 500; }
@media (prefers-reduced-motion: reduce) { .pv-gallery .photo { animation: none !important; opacity: 1; transform: none; } }
.pv-empty { padding: 22px 32px 0; color: var(--muted-2); font-family: var(--mono); font-size: 13px; }
.pv-cta { padding: 26px 32px 0; }
@media (max-width: 640px) {
  .pv-gallery { grid-template-columns: 1fr; }
  .pv-head, .pv-overview, .pv-facts, .pv-gallery, .pv-cta, .pv-empty { padding-left: 20px; padding-right: 20px; }
}

/* ---------- cta ---------- */
.cta-band { text-align: center; }
.cta-card { border: 1px solid var(--line-2); border-radius: var(--radius-lg); padding: 64px 32px; background:
  radial-gradient(70% 120% at 50% 0%, rgba(139,124,255,.16), transparent 60%), var(--surface-2); }
.cta-card h2 { font-size: clamp(28px, 4vw, 44px); font-weight: 620; letter-spacing: -.02em; }
.cta-card p { color: var(--muted); font-size: 18px; margin: 16px auto 30px; max-width: 56ch; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- footer ---------- */
footer.foot { border-top: 1px solid var(--line); padding: 56px 0 40px; color: var(--muted); }
.foot-grid { display: block; }
.foot h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted-2); margin-bottom: 16px; }
.foot a { display: block; font-size: 14.5px; color: var(--muted); padding: 5px 0; transition: color .2s; }
.foot a:hover { color: var(--ink); }
.foot-bottom { margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; font-size: 13px; flex-wrap: wrap; gap: 10px; }

/* ---------- media tiles (photo presentation) ---------- */
.media { position: relative; aspect-ratio: 16/10; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media-empty { display: grid; place-items: center; }
.media-tag { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.7); padding: 0 16px; text-align: center; }

/* capabilities cards */
.cap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cap-card { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--surface-2); transition: border-color .2s, transform .2s; }
.cap-card:hover { border-color: var(--line-2); transform: translateY(-4px); }
.cap-card .media { border: 0; border-radius: 0; border-bottom: 1px solid var(--line); aspect-ratio: 16/9; }
.cap-body { padding: 22px; }
.cap-body h3 { font-size: 18px; font-weight: 600; }
.cap-body .does { color: var(--muted); font-size: 14.5px; margin-top: 8px; }
.cap-body .applied { color: var(--muted-2); font-size: 13.5px; margin-top: 12px; }
.cap-body .applied b { color: var(--accent); font-weight: 500; }

/* бесплатное демо — callout у формы */
.free-demo {
  display: flex; align-items: flex-start; gap: 16px;
  margin-bottom: 28px; padding: 20px 22px;
  border: 1px solid var(--line-2); border-left: 3px solid var(--accent);
  border-radius: var(--radius-lg);
  background: linear-gradient(100deg, rgba(124,108,255,.10), rgba(124,108,255,.02));
}
.fd-badge {
  flex: none; align-self: center;
  font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--bg); background: linear-gradient(100deg, var(--accent), var(--accent-2));
  padding: 7px 12px; border-radius: 999px; font-weight: 600;
}
.free-demo p { color: var(--muted); font-size: 15.5px; line-height: 1.5; }
.free-demo p b { color: var(--ink); font-weight: 600; }
@media (max-width: 560px) { .free-demo { flex-direction: column; gap: 12px; } }

/* стек / на чём пишем */
.stack { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 40px; }
.stack-label { font-family: var(--mono); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted-2, var(--muted)); margin-right: 6px; }

/* ценность / экономика */
.val-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.val-big { font-size: clamp(30px, 4vw, 42px); font-weight: 700; letter-spacing: -.02em; line-height: 1; margin-bottom: 12px; }
@media (max-width: 860px) { .val-grid { grid-template-columns: 1fr; } }

/* SVG-превью возможностей */
.cap-media {
  position: relative; aspect-ratio: 16/9; overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(120% 130% at 50% -10%, rgba(124,108,255,.14), transparent 62%),
    var(--surface-2);
}
.cap-media svg { width: 100%; height: 100%; display: block; padding: 16px; box-sizing: border-box; }
.cap-grid .cap-card:nth-child(3n+2) .cap-media { background: radial-gradient(120% 130% at 50% -10%, rgba(92,225,230,.12), transparent 62%), var(--surface-2); }
.cap-grid .cap-card:nth-child(3n) .cap-media { background: radial-gradient(120% 130% at 50% -10%, rgba(180,120,255,.12), transparent 62%), var(--surface-2); }
.cap-media .panel  { fill: rgba(255,255,255,.045); stroke: var(--line); stroke-width: 1.5; }
.cap-media .panelA { fill: rgba(255,255,255,.045); stroke: var(--accent); stroke-width: 1.5; }
.cap-media .stroke  { fill: none; stroke: var(--accent);   stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.cap-media .stroke2 { fill: none; stroke: var(--accent-2); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.cap-media .axis { stroke: var(--line-2); stroke-width: 1.5; stroke-linecap: round; }
.cap-media .dash { stroke-dasharray: 5 6; }
.cap-media .fa { fill: var(--accent); }
.cap-media .fb { fill: var(--accent-2); opacity: .55; }
.cap-media .ln { fill: rgba(255,255,255,.16); }
.cap-media .op { opacity: .5; }
.cap-media .hollow { fill: var(--bg); stroke: var(--accent-2); stroke-width: 2.5; }
@media (prefers-reduced-motion: no-preference) {
  .cap-card:hover .cap-media .stroke { stroke-dashoffset: 0; }
}

/* product card body (image on top) */
.card { padding: 0; overflow: hidden; }
.card > .media { border: 0; border-radius: 0; border-bottom: 1px solid var(--line); }
.card-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.card-cta { margin-top: 18px; align-self: flex-start; background: none; border: 0; color: var(--accent); font-size: 14.5px; font-weight: 500; cursor: pointer; display: inline-flex; gap: 6px; align-items: center; font-family: var(--font); padding: 0; }
.card-cta .arrow { transition: transform .2s; }
.card-cta:hover .arrow { transform: translateX(4px); }

/* ---------- request form ---------- */
.request { background: radial-gradient(60% 90% at 50% 0%, rgba(139,124,255,.10), transparent 60%); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13px; color: var(--muted); }
.field input, .field select, .field textarea {
  background: var(--surface); border: 1px solid var(--line-2); border-radius: 12px;
  color: var(--ink); padding: 13px 15px; font-size: 15px; font-family: var(--font); transition: border-color .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--accent); }
.field textarea { resize: vertical; min-height: 130px; }
.form-foot { display: flex; align-items: center; gap: 18px; margin-top: 20px; flex-wrap: wrap; }
#formStatus { font-size: 14px; color: var(--accent-3); }
.form-promise { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 30px; }
.form-promise .pp { font-size: 13.5px; color: var(--muted); display: flex; gap: 8px; align-items: center; }
.form-promise .pp b { color: var(--ink); font-weight: 500; }

/* nav open (mobile) */
@media (max-width: 640px) {
  #navLinks.open { display: flex; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--bg-2); border-bottom: 1px solid var(--line); padding: 8px 24px 16px; }
  #navLinks.open a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .cap-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
}
@media (max-width: 980px) { .cap-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* FAQ (вопросы-ответы) */
.faq-list { display: flex; flex-direction: column; gap: 14px; max-width: 860px; }
.faq-q { border: 1px solid var(--line-2); border-radius: 16px; padding: 18px 22px; background: rgba(255,255,255,.015); transition: border-color .2s; }
.faq-q:hover { border-color: rgba(139,124,255,.35); }
.faq-q summary { cursor: pointer; font-weight: 600; font-size: 17px; }
.faq-q summary::marker { color: var(--accent); }
.faq-q summary::-webkit-details-marker { color: var(--accent); }
.faq-q p { margin: 14px 0 0; color: var(--muted); line-height: 1.65; font-size: 15.5px; }

/* ============================================================
   WOW LAYER — анимации, glow, particles, tilt, grain
   ============================================================ */

/* animated gradient text */
.grad {
  background: linear-gradient(100deg, var(--accent), var(--accent-2), var(--accent-3), var(--accent));
  background-size: 280% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: gradShift 9s ease infinite;
}
@keyframes gradShift { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

/* full-page cosmos canvas (fixed background, behind all content) */
.bg-canvas { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 0; pointer-events: none; }
.hero, .section, footer.foot { position: relative; z-index: 1; }
.hero::before, .hero::after { z-index: 0; pointer-events: none; }
.hero .wrap { position: relative; z-index: 1; }   /* контент над декором -> кнопки кликабельны */

/* glass surfaces so cosmos shows through the whole page */
.stat, .step, .card, .cap-card, .market-card, .cta-card {
  background: rgba(15, 21, 40, .55) !important;
  backdrop-filter: blur(9px); -webkit-backdrop-filter: blur(9px);
}
.chip, .filter, .pill { background: rgba(15, 21, 40, .5) !important; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.feat { background: radial-gradient(60% 80% at 85% 10%, rgba(139,124,255,.12), transparent 60%) !important; }
.velocity { background: linear-gradient(180deg, transparent, rgba(139,124,255,.05)) !important; }
.hero::before { animation: glowPulse 7s ease-in-out infinite; }
@keyframes glowPulse { 0%,100% { opacity: .85; } 50% { opacity: 1; transform: translateY(8px); } }

/* hero entrance */
.anim-up { opacity: 0; transform: translateY(26px); animation: riseIn .9s cubic-bezier(.2,.7,.2,1) forwards; }
.anim-up.d1 { animation-delay: .08s; }
.anim-up.d2 { animation-delay: .18s; }
.anim-up.d3 { animation-delay: .28s; }
.anim-up.d4 { animation-delay: .38s; }
@keyframes riseIn { to { opacity: 1; transform: none; } }

/* magnetic buttons + sheen */
.mag { position: relative; will-change: transform; transition: transform .22s cubic-bezier(.2,.9,.3,1); }
.mag.mag-on { transition: transform .08s linear; }   /* follow cursor snappy while pulled, ease back when released */
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::after {
  content: ''; position: absolute; top: 0; left: -130%; width: 60%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.55), transparent);
  transform: skewX(-18deg); transition: left .6s ease;
}
.btn-primary:hover::after { left: 130%; }

/* marquee */
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 14px; width: max-content; animation: scrollX 34s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes scrollX { to { transform: translateX(-50%); } }

/* count-up */
.count { font-variant-numeric: tabular-nums; }

/* card tilt + spotlight */
.card, .cap-card { transform-style: preserve-3d; will-change: transform; }
.card::after, .cap-card::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  opacity: 0; transition: opacity .3s;
  background: radial-gradient(220px circle at var(--mx, 50%) var(--my, 0%), rgba(139,124,255,.20), transparent 60%);
}
.card { position: relative; }
.cap-card { position: relative; }
.card:hover::after, .cap-card:hover::after { opacity: 1; }

/* media zoom on hover */
.media img { transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.card:hover .media img, .cap-card:hover .media img { transform: scale(1.06); }

/* live prediction bars shimmer */
.bar > i { position: relative; overflow: hidden; }
.bar > i::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.45), transparent);
  transform: translateX(-100%); animation: shimmer 2.6s ease-in-out infinite;
}
@keyframes shimmer { 0% { transform: translateX(-100%); } 60%,100% { transform: translateX(220%); } }
.market-card .q b { transition: color .3s; }

/* grain overlay */
.grain {
  position: fixed; inset: 0; z-index: 100; pointer-events: none; opacity: .04; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* cursor glow */
.cursor-glow {
  position: fixed; top: 0; left: 0; width: 460px; height: 460px; z-index: 0; pointer-events: none;
  margin: -230px 0 0 -230px; border-radius: 50%; opacity: 0; transition: opacity .4s;
  background: radial-gradient(circle, rgba(139,124,255,.13), transparent 62%);
  will-change: transform;
}
@media (hover: hover) and (pointer: fine) { .cursor-glow { opacity: 1; } }

/* section heads slight blur-in via .reveal already; add scale for cards */
.product-grid .reveal, .cap-grid .reveal { transition: opacity .6s ease, transform .6s ease; }

/* respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .grad, .hero::before, .marquee-track, .bar > i::after, .anim-up { animation: none !important; }
  .anim-up { opacity: 1; transform: none; }
  .bg-canvas, .cursor-glow, .grain { display: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .stats, .caps, .steps { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .feat-grid { grid-template-columns: 1fr; gap: 32px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 18px; }
  .section { padding: 70px 0; }
  .section-head { margin-bottom: 34px; }
  .hero { padding: 100px 0 40px; }
  .hero h1 { font-size: clamp(31px, 8.4vw, 46px); max-width: none; }
  .hero p.sub { font-size: 16px; margin-top: 18px; max-width: none; }
  .strip { margin-top: 38px; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(12,16,28,.97); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
    padding: 6px 18px 12px;
  }
  .nav-links.open a { padding: 14px 0; font-size: 16px; border-bottom: 1px solid var(--line); }
  .nav-links.open a:last-child { border-bottom: 0; }
  .burger { display: block; }
  .nav-cta { gap: 10px; }
  .stats, .caps, .steps, .product-grid, .cap-grid, .val-grid { grid-template-columns: 1fr; }
  .tl-item { grid-template-columns: 1fr; gap: 8px; }
  .foot-grid { grid-template-columns: 1fr; }
  .card-body { padding: 20px; }
  .stat { padding: 22px; }
  .aud-card { padding: 24px; }
  .section-head p { font-size: 16px; }
  /* оверлей проекта почти на весь экран */
  .pv-panel { width: 96vw; max-height: 92vh; border-radius: 18px; }
  .pv-scroll { max-height: 92vh; }
}
@media (max-width: 460px) {
  .nav-cta a.btn { display: none; }   /* узкий экран: навигация через бургер + CTA в hero */
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .hero h1 { font-size: 30px; line-height: 1.08; }
  .feat h2, .section-head h2 { font-size: 26px; }
}
/* HIG: тач-таргеты ≥44px на сенсорных */
@media (pointer: coarse) {
  .filter, .chip, .feat-tags span, .lang-cur { min-height: 44px; display: inline-flex; align-items: center; }
  .nav-cta a.btn, .burger, .foot a { min-height: 44px; }
}

/* ============================================================
   LANGUAGE GATE (splash) + robots + book + lang switch + manifesto
   ============================================================ */
.splash { position: fixed; inset: 0; z-index: 300; display: flex; align-items: center; justify-content: center; background: #070a12; overflow: auto; transition: opacity .7s ease, transform .7s ease; }
.splash.hide { opacity: 0; transform: scale(1.04); pointer-events: none; }
.splash-bg { position: absolute; inset: 0; background-image: linear-gradient(rgba(7,10,18,.55), rgba(7,10,18,.78)), url('assets/brand/stopholidays-robots.png'); background-size: cover; background-position: center; }

/* splash logo image */
.splash-logo { position: relative; margin: 26px auto 8px; max-width: 620px; }
.splash-logo img { width: 100%; border-radius: 18px; border: 1px solid var(--line-2); box-shadow: 0 36px 90px -34px rgba(0,0,0,.75), 0 0 0 1px rgba(139,124,255,.16); transition: transform .8s cubic-bezier(.2,.8,.2,1), filter .6s ease; }
.splash.chosen .splash-logo img { transform: scale(1.05); filter: saturate(1.12) brightness(1.06); }
.splash-inner { position: relative; z-index: 2; max-width: 760px; padding: 40px 24px; text-align: center; }

.sh-logo { font-weight: 800; font-size: clamp(34px, 7.5vw, 66px); letter-spacing: -.02em; line-height: 1; display: flex; gap: .28em; justify-content: center; align-items: baseline; text-shadow: 0 0 40px rgba(139,124,255,.4); }
.sh-logo .sh-stop { color: #fff; }
.sh-logo .sh-hol { background: linear-gradient(100deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }

.robo-stage { position: relative; display: flex; justify-content: center; align-items: flex-end; gap: 16px; height: 180px; margin: 34px 0 6px; }
.desk { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); width: min(540px, 86%); height: 14px; border-radius: 6px; background: linear-gradient(180deg, #1b2440, #0e1526); box-shadow: 0 12px 34px rgba(0,0,0,.55); z-index: 2; }
.bot { position: relative; width: 52px; display: flex; flex-direction: column; align-items: center; z-index: 1; }
.bot .ant { width: 2px; height: 9px; background: var(--accent); position: relative; }
.bot .ant::after { content: ''; position: absolute; top: -4px; left: -2px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px var(--accent); animation: antpulse 1.6s ease-in-out infinite; }
.bot .bhead { width: 40px; height: 31px; border-radius: 10px; background: linear-gradient(180deg, #d3dae9, #9aa6c2); display: flex; align-items: center; justify-content: center; gap: 6px; box-shadow: inset 0 -3px 6px rgba(0,0,0,.2); }
.bot .bhead i { width: 8px; height: 8px; border-radius: 50%; background: #3ad7ff; box-shadow: 0 0 9px #3ad7ff; animation: blink 3.2s infinite; }
.bot .bbody { width: 46px; height: 30px; border-radius: 10px 10px 6px 6px; margin-top: 3px; background: linear-gradient(180deg, #3b6fe0, #284ec0); box-shadow: inset 0 -4px 8px rgba(0,0,0,.25); }
.bot.work { animation: botwork 1.3s ease-in-out infinite; }
.robo-stage .bot:nth-child(3) { animation-delay: .25s; }
.robo-stage .bot:nth-child(5) { animation-delay: .15s; }
.robo-stage .bot:nth-child(6) { animation-delay: .35s; }
.bot.host { z-index: 4; transition: transform .55s cubic-bezier(.2,.8,.2,1); }
.bot.host.up { transform: translateY(-50px) scale(1.1); }

.book { position: absolute; bottom: 0; left: 50%; width: 56px; height: 40px; opacity: 0; transform: translate(-50%, 12px) scale(.4); transition: opacity .35s ease, transform .35s ease; perspective: 360px; z-index: 5; }
.book.show { opacity: 1; transform: translate(-50%, -30px) scale(1); }
.book .page { position: absolute; top: 0; width: 28px; height: 40px; background: linear-gradient(180deg, #fef3d6, #e7d6a2); border: 1px solid #b9a36a; }
.book .page.left { left: 0; border-radius: 4px 0 0 4px; }
.book .page.right { right: 0; border-radius: 0 4px 4px 0; transform-origin: left center; transition: transform .55s ease; }
.book.open .page.right { transform: rotateY(-152deg); }
.book::after { content: ''; position: absolute; inset: -6px; border-radius: 8px; box-shadow: 0 0 26px rgba(139,124,255,.7); opacity: 0; transition: opacity .4s; }
.book.open::after { opacity: 1; }

.robot-bubble { position: absolute; top: -2px; left: 50%; transform: translateX(-50%); background: #fff; color: #0a0e1a; font-weight: 600; font-size: 14px; padding: 6px 14px; border-radius: 14px; white-space: nowrap; z-index: 6; box-shadow: 0 8px 22px rgba(0,0,0,.45); }
.robot-bubble::after { content: ''; position: absolute; bottom: -5px; left: 50%; transform: translateX(-50%) rotate(45deg); width: 10px; height: 10px; background: #fff; }
.splash.chosen .robot-bubble { opacity: 0; transition: opacity .3s; }

.splash-tagline { color: var(--muted); font-family: var(--mono); font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; margin-top: 10px; }
.splash-choose { color: var(--ink); font-size: 18px; margin: 18px 0 14px; }

.lang-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; max-width: 560px; margin: 0 auto 22px; }
.lang-btn { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 12px 8px; border: 1px solid var(--line-2); border-radius: 14px; background: rgba(15,21,40,.6); color: var(--ink); cursor: pointer; transition: transform .18s, border-color .18s, background .18s, box-shadow .18s; }
.lang-btn b { font-family: var(--mono); font-size: 13px; color: var(--accent); }
.lang-btn span { font-size: 12px; color: var(--muted); }
.lang-btn:hover { border-color: var(--accent); transform: translateY(-2px); }
.lang-btn.active { border-color: var(--accent); background: rgba(139,124,255,.16); }
.lang-btn.cycling { border-color: var(--accent-2); box-shadow: 0 0 0 2px rgba(79,140,255,.35); }
@media (max-width: 560px) { .lang-grid { grid-template-columns: repeat(3, 1fr); } }

/* nav language switcher */
.lang-switch { position: relative; }
.lang-cur { display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--muted); background: none; border: 1px solid var(--line); border-radius: 999px; padding: 8px 12px; cursor: pointer; font-family: var(--font); transition: border-color .2s, color .2s; }
.lang-cur:hover { color: var(--ink); border-color: var(--line-2); }
.lang-menu { position: absolute; top: calc(100% + 8px); right: 0; width: 190px; max-height: 320px; overflow-y: auto; background: rgba(12,16,28,.97); border: 1px solid var(--line-2); border-radius: 14px; padding: 6px; display: none; z-index: 60; box-shadow: 0 30px 60px -20px rgba(0,0,0,.7); }
.lang-switch.open .lang-menu { display: block; }
.lang-opt { display: block; width: 100%; text-align: left; padding: 9px 12px; border-radius: 9px; background: none; border: 0; color: var(--muted); cursor: pointer; font-size: 14px; font-family: var(--font); }
.lang-opt:hover { background: rgba(139,124,255,.12); color: var(--ink); }
.lang-opt.active { color: var(--accent); }
.lang-opt b { font-family: var(--mono); margin-right: 8px; }

/* manifesto: any sector + audiences + urgency */
.usecases { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.usecases .chip { font-size: 13.5px; }
.audience { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.aud-card { border: 1px solid var(--line-2); border-radius: var(--radius-lg); padding: 30px; background: rgba(15,21,40,.55); backdrop-filter: blur(9px); -webkit-backdrop-filter: blur(9px); }
.aud-card h3 { font-size: 22px; font-weight: 600; }
.aud-card p { color: var(--muted); font-size: 15.5px; margin-top: 10px; }
.man-urgency { margin-top: 28px; font-size: clamp(20px, 3vw, 30px); font-weight: 600; letter-spacing: -.01em; }
@media (max-width: 640px) { .audience { grid-template-columns: 1fr; } }

/* RTL tweaks (Arabic) */
[dir="rtl"] .about-lead { border-left: 0; border-right: 2px solid var(--accent); padding: 4px 22px 4px 0; }
[dir="rtl"] .lang-menu { right: auto; left: 0; }
[dir="rtl"] .lang-opt { text-align: right; }

@keyframes botwork { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
@keyframes antpulse { 0%, 100% { opacity: 1; } 50% { opacity: .4; } }
@keyframes blink { 0%, 92%, 100% { transform: scaleY(1); } 96% { transform: scaleY(.1); } }

@media (prefers-reduced-motion: reduce) {
  .bot.work, .bot .ant::after, .bot .bhead i { animation: none !important; }
}

/* ---------- back to top ---------- */
.to-top { position: fixed; right: 22px; bottom: 22px; z-index: 80; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(15,21,40,.7); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: var(--ink); font-size: 18px; cursor: pointer; display: grid; place-items: center; opacity: 0; transform: translateY(14px) scale(.9); pointer-events: none; transition: opacity .3s ease, transform .3s ease, border-color .2s, background .2s; box-shadow: 0 12px 30px -12px rgba(0,0,0,.6); }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { border-color: var(--accent); background: rgba(139,124,255,.18); transform: translateY(-3px); }
@media (max-width: 640px) { .to-top { right: 16px; bottom: 16px; } }

/* ============================================================
   PERF — облегчение: без backdrop-blur (быстрый скролл),
   плотный фон карточек. Космос виден в промежутках, не сквозь карты.
   ============================================================ */
.card, .cap-card, .era-card, .sector, .stat, .step, .market-card, .cta-card, .aud-card {
  backdrop-filter: none !important; -webkit-backdrop-filter: none !important;
  background: rgba(14, 19, 35, .9) !important;
}
.chip, .filter, .pill, .lang-btn, .lang-cur, .lang-menu, .era-facts span {
  backdrop-filter: none !important; -webkit-backdrop-filter: none !important;
}
header.nav { backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }   /* только навбар оставляем лёгкий */
.media img { content-visibility: auto; }

/* ---------- sector card cover (one photo, О нас) ---------- */
.sector { padding: 0 !important; overflow: hidden; }
.sector-cover { aspect-ratio: 16/9; border: 0 !important; border-radius: 0 !important; border-bottom: 1px solid var(--line) !important; }
.sector-body { padding: 22px; }
.sector:hover .sector-cover img { transform: scale(1.05); }

/* ============================================================
   HISTORY — скролл-таймлайн «О нас» (лёгкий, с линией-прогрессом)
   ============================================================ */
.history { position: relative; max-width: 820px; margin: 24px 0 0; }
.hist-line { position: absolute; left: 19px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.hist-fill { position: absolute; left: 19px; top: 8px; width: 2px; height: 0; background: linear-gradient(var(--accent), var(--accent-2)); box-shadow: 0 0 12px rgba(139,124,255,.6); transition: height .12s linear; z-index: 1; }
.hist-item { position: relative; padding: 0 0 34px 58px; }
.hist-item:last-child { padding-bottom: 0; }
.hist-dot { position: absolute; left: 12px; top: 8px; width: 16px; height: 16px; border-radius: 50%; background: var(--bg); border: 3px solid var(--accent); box-shadow: 0 0 14px rgba(139,124,255,.7); z-index: 2; }
.hist-card { display: flex; align-items: stretch; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: rgba(14,19,35,.9); transition: border-color .2s, transform .2s; }
.hist-card:hover { border-color: var(--line-2); transform: translateX(3px); }
.hist-photo { flex: 0 0 210px; }
.hist-photo .media { height: 100%; aspect-ratio: auto; border: 0 !important; border-radius: 0 !important; }
.hist-photo .media img { height: 100%; }
.hist-body { padding: 20px 22px; }
.hist-years { font-family: var(--mono); font-size: 13px; letter-spacing: .04em; color: var(--accent); }
.hist-body h3 { font-size: 20px; font-weight: 600; letter-spacing: -.01em; margin: 6px 0 8px; }
.hist-body p { color: var(--muted); font-size: 14.5px; line-height: 1.5; }
@media (max-width: 640px) {
  .hist-card { flex-direction: column; }
  .hist-photo { flex: none; }
  .hist-photo .media { aspect-ratio: 16/9; height: auto; }
  .hist-item { padding-left: 50px; }
}

/* ---------- history: фикс-кроп фото, одинаковая высота карточек ---------- */
.hist-card { min-height: 168px; }
.hist-photo { position: relative; }
.hist-photo .media { position: absolute; inset: 0; height: auto; aspect-ratio: auto; }
.hist-photo .media img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 640px) {
  .hist-card { min-height: 0; }
  .hist-photo .media { position: static; aspect-ratio: 16/9; }
  .hist-photo .media img { height: 100%; }
}

/* подпись об источнике реальных данных под prediction-рынками */
.market-src{margin-top:14px;font-size:12px;letter-spacing:.02em;opacity:.6;font-family:'IBM Plex Mono',monospace}
