/* ============================================================
   АВТОПОДГОТОВКА · «ОТРАЖЕНИЕ» (light-driven studio)
   Светлая жемчужная база · графит-синий структура · красный акцент
   Mobile-first.  Fonts: Bricolage Grotesque / Space Grotesk / Space Mono
   ============================================================ */

@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/bricolage-grotesque-latin-variable.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/space-grotesk-latin-variable.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Space Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/space-mono-latin-400.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Space Mono";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/space-mono-latin-700.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* studio light base */
  --bg: #eef0f4;
  --bg-2: #e6e9ef;
  --pearl: #f7f8fb;
  --white: #ffffff;

  /* graphite-blue structure */
  --ink: #0d1426;        /* near-black navy for dark blocks/text */
  --navy: #16223f;
  --blue: #2e4a86;
  --blue-2: #3f5e9e;
  --blue-tint: #e4eaf5;
  --steel: #4f5b73;
  --steel-2: #7e8aa1;

  /* red accent */
  --red: #db1f2b;
  --red-hot: #f22230;
  --red-deep: #a51420;
  --red-tint: #fbe6e8;
  --red-glow: rgba(219,31,43,.34);

  --line: rgba(13,20,38,.12);
  --line-2: rgba(13,20,38,.20);

  --text: #0d1426;
  --text-dim: #4f5b73;
  --text-mute: #7e8aa1;
  --on-dark: #eef1f7;
  --on-dark-dim: #9aa6c0;

  --display: "Bricolage Grotesque", system-ui, sans-serif;
  --sans: "Space Grotesk", system-ui, sans-serif;
  --mono: "Space Mono", ui-monospace, monospace;

  --on-dark-strong: #ffffff;
  --maxw: 1320px;
  --gut: 22px;
  --rad: 6px;

  --ease: cubic-bezier(.22,.61,.21,1);
  --ease-io: cubic-bezier(.7,0,.25,1);
  --spring: cubic-bezier(.34,1.56,.5,1);

  --shadow: 0 1px 0 rgba(255,255,255,.7) inset, 0 30px 60px -36px rgba(13,20,38,.5);
  --shadow-lg: 0 50px 100px -40px rgba(13,20,38,.55);
}

* , *::before, *::after { box-sizing: border-box; }
html { min-height: 100%; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  min-height: 100vh; margin: 0; font-family: var(--sans); color: var(--text); line-height: 1.55;
  display: flex; flex-direction: column;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
  background:
    radial-gradient(120% 60% at 50% -10%, #ffffff, transparent 60%),
    linear-gradient(180deg, var(--bg), var(--bg-2));
  background-attachment: fixed;
}
.site-main { flex: 1 0 auto; width: 100%; }
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
::selection { background: var(--red); color: #fff; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gut); position: relative; }
.section { position: relative; padding-block: clamp(54px, 8vw, 104px); }
.section-tight { padding-block: clamp(42px, 6vw, 76px); }

/* ---------- type ---------- */
h1,h2,h3,h4 { margin: 0; font-family: var(--display); font-weight: 700; line-height: .96; letter-spacing: -.02em; }
.d-mega { font-size: clamp(48px, 14vw, 188px); line-height: .84; font-weight: 800; letter-spacing: -.04em; }
.d-1 { font-size: clamp(34px, 7.4vw, 76px); font-weight: 800; letter-spacing: -.032em; }
.d-2 { font-size: clamp(26px, 5vw, 48px); font-weight: 700; letter-spacing: -.025em; }
.d-3 { font-size: clamp(20px, 3.2vw, 28px); font-weight: 700; }
.lede { font-size: clamp(15px, 1.9vw, 18px); color: var(--text-dim); line-height: 1.62; }
.accent { color: var(--red); }
.blue-text { color: var(--blue); }
.muted { color: var(--text-mute); }
.mono { font-family: var(--mono); }

/* kicker */
.kicker { display: inline-flex; align-items: center; gap: 12px; font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--blue); }
.kicker .led { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 0 var(--red-glow); animation: blink 2.4s var(--ease) infinite; }
.kicker.on-dark { color: var(--on-dark-dim); }
@keyframes blink { 0%,100%{ box-shadow: 0 0 0 0 var(--red-glow); } 50%{ box-shadow: 0 0 0 6px rgba(219,31,43,0); } }

/* ---------- split-text reveal ---------- */
/* the reveal mask is sized to the line box; tight display line-heights (hero is .88) make that
   box shorter than the font's ink, which sliced ё-diaereses and descenders. Pad the mask
   vertically and pull the padding back out with a negative margin so layout is unchanged. */
.split .word { display: inline-block; overflow: hidden; vertical-align: top; padding-block: .22em; margin-block: -.22em; }
.split .word i { display: inline-block; font-style: inherit; transform: translateY(145%); transition: transform .8s var(--ease-io); }
.split.in .word i { transform: none; }
/* the splitter emits <i> tags; when the .split class is absent the browser default italic showed through */
.word i, [data-split] i { font-style: normal; }
.split .word:nth-child(1) i{transition-delay:.02s}.split .word:nth-child(2) i{transition-delay:.08s}
.split .word:nth-child(3) i{transition-delay:.14s}.split .word:nth-child(4) i{transition-delay:.20s}
.split .word:nth-child(5) i{transition-delay:.26s}.split .word:nth-child(6) i{transition-delay:.32s}
.split .word:nth-child(7) i{transition-delay:.38s}.split .word:nth-child(8) i{transition-delay:.44s}

/* generic reveal */
[data-rise] { opacity: 0; transform: translateY(30px); transition: opacity .9s var(--ease-io), transform .9s var(--ease-io); }
[data-rise].in { opacity: 1; transform: none; }
[data-rise-d="1"]{transition-delay:.08s}[data-rise-d="2"]{transition-delay:.16s}
[data-rise-d="3"]{transition-delay:.24s}[data-rise-d="4"]{transition-delay:.32s}
@media (prefers-reduced-motion: reduce){ [data-rise],.split .word i{opacity:1!important;transform:none!important} html{scroll-behavior:auto} }

/* ---------- buttons ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 14px 24px; font-family: var(--mono); font-weight: 700; font-size: 12.5px; letter-spacing: .05em; text-transform: uppercase; border-radius: 999px; overflow: hidden; white-space: nowrap; transition: transform .3s var(--spring), box-shadow .35s var(--ease), background .25s, color .25s, border-color .25s; }
.btn svg { width: 16px; height: 16px; }
.btn:active { transform: translateY(1px) scale(.985); }
.btn:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--bg), 0 0 0 5.5px var(--red); }
.on-dark-scope .btn:focus-visible, .btn.on-dark:focus-visible { box-shadow: 0 0 0 3px var(--ink), 0 0 0 5.5px #fff; }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 14px 30px -12px var(--red-glow); }
.btn-red:hover { background: var(--red-hot); box-shadow: 0 22px 44px -14px var(--red-glow); }
.btn-red::after { content:""; position:absolute; inset:0; background: linear-gradient(115deg, transparent 40%, rgba(255,255,255,.5) 50%, transparent 60%); background-size: 250% 100%; background-position: 160% 0; transition: background-position .8s var(--ease); }
.btn-red:hover::after { background-position: -130% 0; }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: var(--navy); }
.btn-ghost { border: 1px solid var(--line-2); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); background: var(--ink); color: #fff; }
.btn-ghost.on-dark { border-color: rgba(255,255,255,.28); color: #fff; }
.btn-ghost.on-dark:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn-lg { min-height: 54px; padding: 17px 30px; font-size: 13px; }
.btn-sm { min-height: 40px; padding: 11px 18px; font-size: 11.5px; }
.btn-block { width: 100%; }

/* ---------- pointer glare ---------- */
.glare { position: relative; }
.glare::after { content:""; position:absolute; inset:0; border-radius: inherit; opacity:0; pointer-events:none; background: radial-gradient(220px circle at var(--mx,50%) var(--my,50%), rgba(255,255,255,.5), transparent 60%); transition: opacity .35s var(--ease); mix-blend-mode: soft-light; z-index: 4; }
.glare:hover::after { opacity: 1; }

/* light sweep overlay (for dark media) */
.sweep { position: relative; overflow: hidden; }
.sweep > .sweep-bar { position: absolute; top: -60%; left: -70%; width: 45%; height: 220%; transform: translate3d(0,0,0) rotate(14deg); background: linear-gradient(90deg, transparent, rgba(255,255,255,.45), transparent); pointer-events: none; z-index: 3; animation: sweepmove 7s var(--ease) infinite; will-change: transform; }
@keyframes sweepmove { 0%{ transform:translate3d(0,0,0) rotate(14deg); } 55%,100%{ transform:translate3d(490%,0,0) rotate(14deg); } }
@media (prefers-reduced-motion: reduce){ .sweep > .sweep-bar { animation:none; } }

/* ============================================================
   NAV
   ============================================================ */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 1000; transition: background .35s, backdrop-filter .35s, border-color .35s; border-bottom: 1px solid transparent; }
.nav.scrolled { background: rgba(238,240,244,.82); backdrop-filter: blur(18px) saturate(150%); border-bottom-color: var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; background: #fff; box-shadow: 0 0 0 1px var(--line); flex: none; }
.brand-name { font-family: var(--display); font-weight: 800; font-size: 17px; letter-spacing: -.01em; line-height: 1; color: var(--ink); }
.brand-name small { display: block; font-family: var(--mono); font-weight: 700; font-size: 9px; letter-spacing: .3em; color: var(--red); margin-top: 5px; }
.nav-links { display: none; gap: 2px; align-items: center; }
.nav-links a { padding: 10px 14px; font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--steel); border-radius: 999px; transition: color .25s, background .25s; }
.nav-links a:hover, .nav-links a.active { color: var(--ink); background: rgba(13,20,38,.06); }
.nav-cta { display: none; }
.burger { width: 46px; height: 46px; display: inline-grid; place-items: center; border-radius: 999px; border: 1.5px solid var(--line-2); }
.burger span { width: 19px; height: 2px; background: var(--ink); position: relative; display: block; transition: .3s var(--ease); }
.burger span::before, .burger span::after { content:""; position:absolute; left:0; width:19px; height:2px; background: var(--ink); transition: .3s var(--ease); }
.burger span::before { top:-6px; } .burger span::after { top:6px; }
.burger.open span { background: transparent; }
.burger.open span::before { top:0; transform: rotate(45deg); }
.burger.open span::after { top:0; transform: rotate(-45deg); }
/* when the dark menu is open, recolor the header so brand + close stay visible */
.burger.open span::before, .burger.open span::after { background: #fff; }
.nav.menu-open .burger { border-color: rgba(255,255,255,.28); }
.nav.menu-open .brand-name, .nav.menu-open .brand-name small { color: #fff; }
.mobile-menu { position: fixed; inset: 0; z-index: 999; background: var(--ink); color:#fff; display: flex; flex-direction: column; justify-content: flex-start; padding: 90px 28px calc(34px + env(safe-area-inset-bottom)); opacity: 0; pointer-events: none; transform: translateY(-10px); transition: opacity .4s var(--ease), transform .4s var(--ease); overflow-y: auto; -webkit-overflow-scrolling: touch; }
.mobile-menu .mm-glow { position:absolute; right:-10%; top:-20%; width:60%; height:80%; background: radial-gradient(circle, var(--red-glow), transparent 62%); pointer-events:none; }
.mobile-menu.open { opacity: 1; pointer-events: auto; transform: none; }
.mobile-menu a { position: relative; font-family: var(--display); font-weight: 800; font-size: clamp(27px,7vw,50px); letter-spacing: -.02em; padding: 10px 0; color: #fff; border-bottom: 1px solid rgba(255,255,255,.12); display: flex; align-items: baseline; justify-content: space-between; }
.mobile-menu a .idx { font-family: var(--mono); font-size: 13px; color: var(--red); font-weight: 700; }
.mobile-menu .mm-foot { margin-top: auto; padding-top: 24px; position: relative; }
.mobile-menu a.mm-cta { display: flex; align-items: center; gap: 14px; width: 100%; padding: 16px 24px; border-radius: 16px; border-bottom: 0; font-size: initial; letter-spacing: normal; background: var(--red); color: #fff; box-shadow: 0 16px 34px -14px var(--red-glow); transition: transform .2s var(--ease), background .2s; }
.mm-cta:hover { background: var(--red-hot); }
.mm-cta:active { transform: scale(.985); }
.mm-cta-ic { width: 42px; height: 42px; border-radius: 11px; background: rgba(255,255,255,.16); display: grid; place-items: center; flex: none; }
.mm-cta-ic svg { width: 22px; height: 22px; stroke: #fff; fill: none; stroke-width: 2; }
.mm-cta-tx { display: flex; flex-direction: column; gap: 4px; line-height: 1; min-width: 0; }
.mm-cta-tx strong { font-family: var(--display); font-weight: 800; font-size: 18px; letter-spacing: -.01em; }
.mm-cta-tx small { font-family: var(--mono); font-size: 11px; letter-spacing: .03em; color: rgba(255,255,255,.82); }
.mm-cta-arrow { margin-left: auto; width: 20px; height: 20px; stroke: #fff; fill: none; stroke-width: 2; flex: none; }
@media (min-width: 1040px){ .nav-links{ display: flex; } .nav-cta{ display: inline-flex; } .burger{ display: none; } }

/* ============================================================
   BEFORE / AFTER
   ============================================================ */
.ba { position: relative; width: 100%; overflow: hidden; user-select: none; touch-action: pan-y; isolation: isolate; background: #090d18; aspect-ratio: 4/3; }
.ba.wide{ aspect-ratio: 16/10; } .ba.cine{ aspect-ratio: 16/9; } .ba.tall{ aspect-ratio: 3/4; }
.ba-layer { position: absolute; inset: 0; }
.ba-after { z-index: 1; }
.ba-before { z-index: 2; clip-path: inset(0 50% 0 0); }
.ba-tag { position: absolute; top: 14px; z-index: 4; font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; padding: 6px 11px; border-radius: 999px; }
.ba-tag.before { left: 14px; color:#fff; background: rgba(13,20,38,.66); backdrop-filter: blur(6px); }
.ba-tag.after { right: 14px; color:#fff; background: var(--red); }
.ba-handle { position: absolute; top:0; bottom:0; z-index:5; width:2px; left:50%; transform: translateX(-50%); background:#fff; box-shadow: 0 0 18px rgba(0,0,0,.45); }
.ba-knob { position: absolute; top:50%; left:50%; transform: translate(-50%,-50%); width:54px; height:54px; border-radius:50%; cursor: ew-resize; background:#fff; color: var(--ink); display:grid; place-items:center; box-shadow: 0 10px 26px -6px rgba(0,0,0,.55), 0 0 0 6px rgba(255,255,255,.16); transition: transform .2s var(--ease); }
.ba-knob:active { transform: translate(-50%,-50%) scale(.9); }
.ba-knob svg { width: 22px; height: 22px; }
.ba-hint { position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); z-index:4; font-family: var(--mono); font-size:10px; letter-spacing:.1em; text-transform: uppercase; color:#fff; padding: 6px 11px; border-radius: 999px; background: rgba(13,20,38,.6); backdrop-filter: blur(6px); transition: opacity .4s; pointer-events:none; }
.ba.touched .ba-hint { opacity: 0; }

/* painted automotive panels (placeholders) */
.paint { position: absolute; inset: 0; --h: 220; --s: 16%;
  background:
    radial-gradient(120% 80% at 28% -12%, hsl(var(--h) var(--s) 32%), transparent 60%),
    radial-gradient(150% 120% at 82% 120%, hsl(var(--h) var(--s) 7%), transparent 55%),
    linear-gradient(165deg, hsl(var(--h) var(--s) 21%), hsl(var(--h) var(--s) 9%) 55%, hsl(var(--h) var(--s) 15%)); }
.paint::before { content:""; position:absolute; inset:0; mix-blend-mode: screen; background:
    linear-gradient(102deg, transparent 12%, rgba(255,255,255,.2) 19%, transparent 27%),
    linear-gradient(102deg, transparent 52%, rgba(255,255,255,.09) 57%, transparent 63%),
    linear-gradient(102deg, transparent 74%, rgba(255,255,255,.13) 80%, transparent 88%); }
.paint.red{ --h:356; --s:62%; } .paint.black{ --h:220; --s:9%; } .paint.blue{ --h:214; --s:46%; }
.paint.silver{ background: radial-gradient(120% 80% at 30% -12%, #f1f4f9, transparent 60%), linear-gradient(165deg,#d6dce6,#aab3c3 60%,#cbd3de); }
.paint.white{ background: radial-gradient(120% 80% at 30% -12%, #fff, transparent 60%), linear-gradient(165deg,#eef1f6,#d2d8e2 60%,#e6eaf0); }
.paint.dmg-dent::after{ content:""; position:absolute; width:38%; height:30%; left:30%; top:38%; border-radius:50%; background: radial-gradient(closest-side, rgba(0,0,0,.5), rgba(0,0,0,.16) 55%, transparent 72%); box-shadow: inset 0 -10px 14px -6px rgba(255,255,255,.22); }
.paint.dmg-scratch::after{ content:""; position:absolute; inset:0; opacity:.7; background: linear-gradient(76deg, transparent 30%, rgba(255,255,255,.22) 31%, transparent 32%), linear-gradient(80deg, transparent 55%, rgba(255,255,255,.16) 56%, transparent 57%), linear-gradient(72deg, transparent 68%, rgba(0,0,0,.4) 69%, transparent 70%); }
.paint.dmg-swirl::after{ content:""; position:absolute; inset:0; opacity:.5; mix-blend-mode:screen; background: repeating-conic-gradient(from 0deg at 35% 45%, rgba(255,255,255,.06) 0 2deg, transparent 2deg 10deg), repeating-conic-gradient(from 0deg at 70% 60%, rgba(255,255,255,.05) 0 2deg, transparent 2deg 12deg); }
.paint.dmg-haze::after{ content:""; position:absolute; inset:0; mix-blend-mode:screen; background: linear-gradient(180deg, rgba(180,190,210,.24), rgba(130,140,160,.1)); }
.paint.glossy::after{ content:""; position:absolute; inset:0; mix-blend-mode:screen; background: radial-gradient(80% 50% at 60% 14%, rgba(255,255,255,.32), transparent 60%); }

/* video slot */
.video-slot { position: relative; overflow: hidden; background: #090d18; aspect-ratio: 16/9; display: grid; place-items: center; }
.video-play { position: relative; z-index: 2; width: 76px; height: 76px; border-radius: 50%; background: var(--red); display: grid; place-items: center; animation: vpulse 2.6s var(--ease) infinite; }
.video-play svg { width: 25px; height: 25px; margin-left: 4px; fill: #fff; }
@keyframes vpulse { 0%{ box-shadow: 0 0 0 0 var(--red-glow); } 70%{ box-shadow: 0 0 0 22px rgba(219,31,43,0); } 100%{ box-shadow: 0 0 0 0 rgba(219,31,43,0); } }
.video-meta { position: absolute; left: 16px; bottom: 14px; z-index: 2; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--on-dark-dim); }

/* ============================================================
   DARK block + CTA + FOOTER
   ============================================================ */
.dark { background: var(--ink); color: var(--on-dark); position: relative; overflow: hidden; }
.dark .lede { color: var(--on-dark-dim); }
.cta-band { position: relative; overflow: hidden; padding: clamp(44px,8vw,84px) clamp(24px,6vw,68px); background: var(--ink); color: var(--on-dark); border-radius: var(--rad); }
.cta-band .glow { position:absolute; right:-8%; top:-50%; width:55%; height:200%; background: radial-gradient(circle, var(--red-glow), transparent 60%); pointer-events:none; }
.cta-band .inner { position: relative; z-index: 2; max-width: 680px; }
.cta-band .lede { color: var(--on-dark-dim); }
/* CTA with photo on the right */
.cta-band.has-shot { display: grid; gap: clamp(28px,4vw,56px); align-items: center; grid-template-columns: 1fr; }
.cta-band.has-shot .inner { max-width: 560px; }
.cta-shot { position: relative; z-index: 2; align-self: stretch; border-radius: calc(var(--rad) - 8px); overflow: hidden; box-shadow: 0 30px 70px -28px rgba(0,0,0,.7); }
.cta-shot img { display: block; width: 100%; height: 100%; object-fit: cover; }
.cta-shot::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(9,13,24,.45) 100%); pointer-events: none; }
@media (min-width: 880px) {
  .cta-band.has-shot { grid-template-columns: 1.05fr .95fr; }
  .cta-shot { min-height: 420px; }
}
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ---- CTA · full-bleed light band, separates the page from the dark footer ---- */
.cta-feature { position: relative; display: grid; grid-template-columns: 1fr;
  background: var(--white); border-top: 1px solid var(--line); border-radius: 0;
  color: var(--text); min-height: 0; isolation: isolate; }
.cta-feature .glow { display: none; }
/* short red rule as the only accent */
.cta-feature::before { content: ""; position: absolute; left: 0; top: 0; width: 108px; height: 3px;
  background: var(--red); z-index: 4; }
.cta-feature .inner { position: relative; z-index: 2; order: 1; max-width: none;
  padding: clamp(46px, 8vw, 104px) clamp(22px, 3.6vw, 52px);
  display: flex; flex-direction: column; align-items: flex-start; }
.cta-title { color: var(--ink); font-family: var(--display); font-weight: 800; letter-spacing: -.03em;
  font-size: clamp(30px, 5.2vw, 76px); line-height: 1.0; margin: 18px 0 0; max-width: 24ch;
  text-wrap: balance; overflow-wrap: normal; word-break: normal; hyphens: none; }
.cta-feature .lede { color: var(--text-dim); margin-top: 16px; max-width: 44ch; }
.cta-feature .cta-actions { margin-top: 30px; }
/* photo: contained and crisp — no mask, no scrim, no gradient */
.cta-feature .cta-photo { position: relative; inset: auto; width: auto; order: 0;
  min-height: clamp(240px, 42vw, 320px); overflow: hidden; background: #090d18; }
.cta-feature .cta-photo img { position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 34%; display: block; filter: none; }
.cta-feature .cta-photo::after, .cta-feature .cta-photo::before { content: none; }
/* messenger chips on a light surface */
.cta-feature .msgs { margin-top: 22px !important; }
.cta-feature .msg { border-color: var(--line-2); color: var(--steel); }
.cta-feature .msg:hover { color: #fff; }
@media (max-width: 760px) {
  /* both CTA buttons full width, stacked */
  .cta-feature .cta-actions { display: flex; flex-direction: column; align-items: stretch; gap: 10px; width: 100%; }
  .cta-feature .cta-actions .btn { width: 100%; min-height: 56px; padding-block: 0; }
}
@media (min-width: 880px) {
  /* the card's own left padding lands on the page content line (percentages resolve against the
     section box, so no 100vw / scrollbar drift), leaving a wider column for the heading */
  .cta-feature { grid-template-columns: 1.2fr .8fr; align-items: stretch;
    min-height: clamp(400px, 32vw, 520px);
    padding-inline-start: max(var(--gut), calc((100% - var(--maxw)) / 2 + var(--gut))); }
  .cta-feature .inner { order: 0; justify-content: center;
    padding-inline: 0 clamp(30px, 3.2vw, 60px); }
  .cta-feature .cta-photo { order: 1; min-height: 100%; }
  .cta-feature::before { left: max(var(--gut), calc((100% - var(--maxw)) / 2 + var(--gut))); }
}

.footer { background: var(--ink); color: var(--on-dark); padding-block: 64px 30px; position: relative; overflow: hidden; }
.footer .brand-name { color: #fff; }
.footer-grid { display: grid; gap: 40px; grid-template-columns: 1fr; position: relative; z-index: 1; }
.footer h4 { font-family: var(--mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--on-dark-dim); margin: 0 0 16px; font-weight: 700; }
.footer .fl { display: block; padding: 7px 0; color: var(--on-dark-dim); transition: color .2s, padding .2s; font-size: 14.5px; }
.footer a.fl:hover { color: #fff; padding-left: 6px; }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); display: flex; flex-direction: column; gap: 12px; font-family: var(--mono); font-size: 12px; color: var(--on-dark-dim); position: relative; z-index: 1; }
.footer-priv { color: var(--on-dark-dim); transition: color .2s; }
.footer-priv:hover { color: #fff; text-decoration: underline; }
.footer-word { position: absolute; left: var(--gut); right: var(--gut); bottom: -.4vw; text-align: center; font-family: var(--display); font-weight: 800; font-size: clamp(30px, 9.4vw, 142px); line-height: .78; color: #fff; opacity: .055; pointer-events: none; white-space: nowrap; letter-spacing: -.045em; }
@media (min-width: 760px){ .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.4fr; } .footer-bottom { flex-direction: row; justify-content: space-between; align-items: center; } }

/* messengers */
.msgs { display: flex; gap: 10px; flex-wrap: wrap; }
.msg { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; padding: 11px 16px; border-radius: 999px; border: 1px solid rgba(255,255,255,.18); font-family: var(--mono); font-weight: 700; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; transition: .25s var(--ease); color: var(--on-dark); }
.msg svg { width: 17px; height: 17px; }
.msg:hover { transform: translateY(-2px); border-color: transparent; }
.msg.vk:hover { background: #0077ff; color: #fff; }
.msg.max:hover { background: #6c5ce7; color: #fff; }

/* FAB */
.fab { position: fixed; right: 16px; bottom: 16px; z-index: 800; }
.fab-main { width: 60px; height: 60px; border-radius: 50%; background: var(--red); display: grid; place-items: center; box-shadow: 0 16px 38px -12px var(--red-glow); animation: vpulse 3s var(--ease) infinite; }
.fab-main svg { width: 26px; height: 26px; fill: #fff; }
@media (min-width: 1040px){ .fab { right: 30px; bottom: 30px; } }

/* MODAL */
.modal { position: fixed; inset: 0; z-index: 1200; display: grid; place-items: end center; background: rgba(13,20,38,.5); backdrop-filter: blur(6px); opacity: 0; pointer-events: none; transition: opacity .35s var(--ease); }
.modal.open { opacity: 1; pointer-events: auto; }
.modal-card { width: 100%; max-width: 520px; background: var(--white); border: 1px solid var(--line); padding: 28px 22px calc(28px + env(safe-area-inset-bottom)); box-shadow: var(--shadow-lg); transform: translateY(22px); transition: transform .4s var(--spring); max-height: 92vh; overflow-y: auto; position: relative; border-radius: 14px 14px 0 0; }
.modal-card::before { content:""; position:absolute; top:0; left:0; right:0; height:3px; background: var(--red); border-radius: 14px 14px 0 0; }
.modal.open .modal-card { transform: none; }
.modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.modal-close { width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--line-2); display: grid; place-items: center; flex: none; }
.modal-close:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.field { margin-bottom: 14px; }
.field label { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--steel); margin-bottom: 8px; font-weight: 700; }
.field input, .field select { width: 100%; padding: 14px 15px; border-radius: var(--rad); background: var(--pearl); border: 1px solid var(--line-2); color: var(--text); font-family: inherit; font-size: 15px; transition: border-color .2s, box-shadow .2s; }
.field input:focus, .field select:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px var(--red-tint); }
.dropzone { border: 1.5px dashed var(--line-2); border-radius: var(--rad); padding: 22px; text-align: center; color: var(--text-dim); font-size: 14px; cursor: pointer; transition: .25s; position: relative; }
.dropzone:hover { border-color: var(--red); background: var(--red-tint); color: var(--ink); }
.dropzone svg { width: 26px; height: 26px; margin: 0 auto 8px; stroke: var(--steel); }
.dropzone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
/* consent checkbox */
.consent { display: flex; gap: 11px; align-items: flex-start; margin: 2px 0 4px; cursor: pointer; }
.consent input { appearance: none; -webkit-appearance: none; flex: none; width: 20px; height: 20px; margin: 1px 0 0;
  border: 1.5px solid var(--line-2); border-radius: 5px; background: var(--pearl); cursor: pointer; position: relative;
  transition: border-color .2s, background .2s; }
.consent input:hover { border-color: var(--steel); }
.consent input:checked { background: var(--red); border-color: var(--red); }
.consent input:checked::after { content: ""; position: absolute; left: 5.5px; top: 2px; width: 5px; height: 10px;
  border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.consent input:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--red-tint); }
.consent span { font-size: 12.5px; line-height: 1.5; color: var(--text-mute); }
.consent a { color: var(--steel); text-decoration: underline; text-underline-offset: 2px; }
.consent a:hover { color: var(--red); }
.footer-legal { display: flex; flex-wrap: wrap; gap: 6px 20px; }

.form-done { display: none; text-align: center; padding: 22px 8px; }
.form-done .ok { width: 64px; height: 64px; border-radius: 50%; background: #e6f7ec; display: grid; place-items: center; margin: 0 auto 16px; }
.form-done .ok svg { width: 30px; height: 30px; stroke: #1ba954; }
@media (min-width: 620px){ .modal { place-items: center; } .modal-card { border-radius: 14px; } }

/* utility */
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 9px 15px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--steel); background: var(--white); transition: .2s; }
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.on { background: var(--red); border-color: var(--red); color: #fff; }

/* ============================================================
   NAV — services mega-dropdown
   ============================================================ */
.nav-links .has-dd { position: relative; }
.nav-links .dd-trigger { display: inline-flex; align-items: center; gap: 7px; padding: 10px 14px; font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--steel); border-radius: 999px; transition: color .2s, background .2s; cursor: pointer; }
.nav-links .dd-trigger svg { width: 11px; height: 11px; transition: transform .3s var(--ease); }
.nav-links .has-dd:hover .dd-trigger, .nav-links .has-dd.open .dd-trigger { color: var(--ink); background: rgba(13,20,38,.06); }
.nav-links .has-dd:hover .dd-trigger svg, .nav-links .has-dd.open .dd-trigger svg { transform: rotate(180deg); }

.dd-panel { position: absolute; top: calc(100% + 12px); left: 50%; transform: translateX(-50%) translateY(8px); width: 460px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); padding: 12px; opacity: 0; pointer-events: none; transition: opacity .3s var(--ease), transform .3s var(--ease); z-index: 1100; }
.dd-panel::before { content: ""; position: absolute; top: -16px; left: 0; right: 0; height: 16px; }
.dd-panel::after { content: ""; position: absolute; top: -7px; left: 50%; transform: translateX(-50%) rotate(45deg); width: 13px; height: 13px; background: var(--white); border-left: 1px solid var(--line); border-top: 1px solid var(--line); }
.nav-links .has-dd:hover .dd-panel, .nav-links .has-dd.open .dd-panel { opacity: 1; pointer-events: auto; transform: translateX(-50%) translateY(0); }
.dd-item { display: grid; grid-template-columns: 38px 1fr auto; align-items: center; gap: 14px; padding: 12px 13px; border-radius: 10px; transition: background .2s; }
.dd-item:hover { background: var(--bg); }
.dd-ix { font-family: var(--display); font-weight: 800; font-size: 20px; color: transparent; -webkit-text-stroke: 1.4px var(--red); line-height: 1; text-align: center; }
.dd-tx .nm { display: block; font-family: var(--display); font-weight: 700; font-size: 16px; color: var(--ink); line-height: 1.1; letter-spacing: -.01em; }
.dd-tx .cc { display: block; font-family: var(--mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--steel-2); margin-top: 3px; }
.dd-pr { font-family: var(--mono); font-weight: 700; font-size: 13px; color: var(--blue); white-space: nowrap; }
.dd-pr span { color: var(--steel-2); font-weight: 400; font-size: 11px; }
.dd-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 6px; padding: 13px 13px 7px; border-top: 1px solid var(--line); }
.dd-foot .lab { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--steel); }
.dd-foot a { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-weight: 700; font-size: 12px; letter-spacing: .05em; text-transform: uppercase; color: var(--red); transition: gap .25s var(--ease); }
.dd-foot a svg { width: 15px; height: 15px; }
.dd-foot a:hover { gap: 13px; }

/* mobile submenu (inside .mobile-menu) */
.mobile-menu .mm-row { position: relative; width: 100%; appearance: none; font-family: var(--display); font-weight: 800; font-size: clamp(27px,7vw,50px); letter-spacing: -.02em; padding: 10px 0; color: #fff; border-bottom: 1px solid rgba(255,255,255,.12); display: flex; align-items: center; justify-content: space-between; text-align: left; }
.mobile-menu .mm-row:focus-visible { outline: 2px solid rgba(255,255,255,.7); outline-offset: 4px; border-radius: 10px; }
.mm-sub { flex: 0 0 auto; display: none; overflow: visible; }
.mm-sub.open { display: block; }
.mm-sub a { font-family: var(--mono) !important; font-weight: 700 !important; font-size: 15px !important; letter-spacing: .04em; text-transform: uppercase; color: var(--on-dark-dim) !important; border-bottom: 1px solid rgba(255,255,255,.07) !important; padding: 13px 0 13px 18px !important; display: flex; justify-content: space-between; }
.mm-sub a:last-child { color: var(--red) !important; }
.mm-row .mm-caret { width: 30px; height: 30px; display: grid; place-items: center; flex: none; color: #fff; }
.mm-row .mm-caret svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.mm-row.open .mm-caret svg { transform: rotate(180deg); }

/* ============================================================
   CASE MASTER attribution
   ============================================================ */
.case-master { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.case-master .cm-label { font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--steel-2); margin-bottom: 12px; }
.cm-people { display: flex; flex-wrap: wrap; gap: 12px 26px; }
.cm-person { display: flex; align-items: center; gap: 12px; }
.cm-ava { width: 46px; height: 46px; border-radius: 50%; flex: none; position: relative; display: grid; place-items: center; overflow: hidden; background: linear-gradient(150deg, var(--navy), var(--ink)); color: #fff; font-family: var(--display); font-weight: 800; font-size: 16px; box-shadow: 0 0 0 1px var(--line), inset 0 0 0 2px rgba(255,255,255,.06); }
.cm-ava img { width: 100%; height: 100%; object-fit: cover; }
.cm-ava .cm-soon { position: absolute; right: -2px; bottom: -2px; width: 19px; height: 19px; border-radius: 50%; background: var(--red); display: grid; place-items: center; box-shadow: 0 0 0 2px var(--white); }
.cm-ava .cm-soon svg { width: 11px; height: 11px; stroke: #fff; fill: none; }
.cm-meta .cm-name { display: block; font-family: var(--display); font-weight: 700; font-size: 16px; color: var(--ink); line-height: 1.05; }
.cm-meta .cm-spec { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: .04em; text-transform: uppercase; color: var(--blue); margin-top: 4px; }

/* ============================================================
   TEAM page
   ============================================================ */
.team-grid { display: grid; gap: 22px; grid-template-columns: 1fr; }
@media (min-width: 620px){ .team-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 980px){ .team-grid { grid-template-columns: repeat(3,1fr); } }
.tcard { background: var(--white); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.tcard:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.tcard-photo { position: relative; aspect-ratio: 4/5; background: linear-gradient(155deg, var(--navy), var(--ink)); display: grid; place-items: center; overflow: hidden; }
.tcard-photo img { width: 100%; height: 100%; object-fit: cover; }
.tcard-photo .tc-initials { font-family: var(--display); font-weight: 800; font-size: clamp(56px,12vw,84px); color: rgba(255,255,255,.1); letter-spacing: -.02em; }
.tcard-photo .tc-soon { position: absolute; left: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #fff; background: rgba(13,20,38,.5); backdrop-filter: blur(6px); padding: 7px 11px; border-radius: 999px; }
.tcard-photo .tc-soon svg { width: 13px; height: 13px; stroke: #fff; fill: none; }
.tcard-photo .tc-no { position: absolute; top: 14px; right: 14px; font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: .1em; color: #fff; background: var(--red); padding: 6px 10px; border-radius: 999px; }
.tcard-body { padding: 22px 22px 24px; }
.tcard-body .tc-name { font-family: var(--display); font-weight: 700; font-size: 24px; color: var(--ink); line-height: 1.04; }
.tcard-body .tc-role { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--red); margin-top: 8px; font-weight: 700; }
.tcard-specs { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 16px; }
.tcard-specs span { font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; color: var(--blue); background: var(--blue-tint); padding: 6px 11px; border-radius: 999px; }
.tcard-body .tc-note { margin-top: 16px; font-size: 14px; color: var(--text-dim); line-height: 1.55; }

/* ============================================================
   ARTICLES page
   ============================================================ */
.art-feed { display: grid; gap: clamp(24px,4vw,40px); grid-template-columns: 1fr; }
.art-lead { display: grid; gap: 0; grid-template-columns: 1fr; background: var(--white); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); }
@media (min-width: 900px){ .art-lead { grid-template-columns: 1.05fr .95fr; } }
.art-media { position: relative; background: #090d18; overflow: hidden; min-height: 280px; }
.art-media img { width: 100%; height: 100%; object-fit: cover; }
.art-media .art-play { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); z-index: 3; width: 76px; height: 76px; border-radius: 50%; background: rgba(255,255,255,.94); color: var(--ink); display: grid; place-items: center; box-shadow: 0 16px 40px -10px rgba(0,0,0,.6); }
.art-media .art-play svg { width: 26px; height: 26px; margin-left: 4px; }
.art-media .art-play::before { content: ""; position: absolute; inset: -11px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.5); animation: playpulse 2.4s var(--ease) infinite; }
.art-media .art-dur { position: absolute; right: 14px; bottom: 14px; z-index: 3; font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: .06em; color: #fff; background: rgba(13,20,38,.6); backdrop-filter: blur(6px); padding: 6px 11px; border-radius: 999px; }
.art-media .art-vbadge { position: absolute; top: 14px; left: 14px; z-index: 3; font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #fff; background: var(--red); padding: 6px 11px 6px 9px; border-radius: 999px; display: inline-flex; align-items: center; gap: 7px; }
.art-media .art-vbadge svg { width: 12px; height: 12px; }
.art-body { padding: clamp(26px,4vw,44px); display: flex; flex-direction: column; }
.art-body .art-date { font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--steel-2); display: inline-flex; align-items: center; gap: 10px; }
.art-body .art-date .led { width: 7px; height: 7px; border-radius: 50%; background: var(--red); }
.art-body h2 { margin: 16px 0 0; }
.art-body .art-text { margin-top: 16px; color: var(--text-dim); font-size: 16px; line-height: 1.65; }
.art-body .art-text p { margin: 0 0 12px; }
.art-loc { display: inline-flex; align-items: center; gap: 12px; margin-top: 18px; padding: 14px 16px; border-radius: 10px; background: var(--bg); border: 1px solid var(--line); }
.art-loc svg { width: 22px; height: 22px; flex: none; stroke: var(--red); fill: none; }
.art-loc .l1 { font-weight: 600; font-size: 14px; color: var(--ink); }
.art-loc .l2 { font-family: var(--mono); font-size: 12px; color: var(--steel); margin-top: 2px; }
.art-body .art-foot { margin-top: auto; padding-top: 22px; }
.art-card { background: var(--white); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); transition: transform .4s var(--ease), box-shadow .4s var(--ease); display: flex; flex-direction: column; }
.art-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.art-card .ac-media { position: relative; aspect-ratio: 16/10; overflow: hidden; background: #090d18; }
.art-card .ac-media .paint { position: absolute; inset: 0; transition: transform 1.1s var(--ease); }
.art-card:hover .ac-media .paint { transform: scale(1.05); }
.art-card .ac-tag { position: absolute; top: 13px; left: 13px; z-index: 3; font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #fff; background: rgba(13,20,38,.55); backdrop-filter: blur(6px); padding: 6px 10px; border-radius: 999px; }
.art-card .ac-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.art-card .ac-date { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--steel-2); }
.art-card .ac-body h3 { font-family: var(--display); font-weight: 700; font-size: 22px; line-height: 1.08; color: var(--ink); margin: 10px 0 0; }
.art-card .ac-body p { margin: 12px 0 0; color: var(--text-dim); font-size: 14.5px; line-height: 1.55; }
.art-card .ac-link { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); display: inline-flex; align-items: center; gap: 9px; font-family: var(--mono); font-weight: 700; font-size: 12px; letter-spacing: .05em; text-transform: uppercase; color: var(--ink); transition: gap .25s var(--ease), color .25s; }
.art-card .ac-link svg { width: 15px; height: 15px; }
.art-card:hover .ac-link { gap: 14px; color: var(--red); }
@media (min-width: 720px){ .art-cards { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; } }
@media (min-width: 1040px){ .art-cards { grid-template-columns: repeat(3,1fr); } }
.art-cards { display: grid; gap: 24px; grid-template-columns: 1fr; }

/* simple inner page hero */
.page-hero { padding-top: clamp(110px,16vw,150px); padding-bottom: clamp(30px,5vw,50px); }
.page-hero .crumb { font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--steel-2); }
.page-hero .crumb a:hover { color: var(--red); }
.page-hero h1 { margin: 18px 0 0; }
.page-hero .lede { margin-top: 18px; max-width: 56ch; }
