/* ===========================================================
   РЕД МАРКЕТИНГ — redesign 2026
   =========================================================== */
:root {
  --bg: #0a0a0b;
  --bg-2: #111113;
  --bg-3: #18181b;
  --line: rgba(255, 255, 255, .1);
  --line-2: rgba(255, 255, 255, .18);
  --text: #f3f1ec;
  --muted: rgba(243, 241, 236, .58);
  --red: #c4161c;
  --red-hot: #ff2b33;
  --display: "Geologica", "Onest", system-ui, sans-serif;
  --body: "Onest", system-ui, -apple-system, sans-serif;
  --pad: clamp(20px, 4.2vw, 64px);
  --ease: cubic-bezier(.2, .75, .2, 1);
  --ease-io: cubic-bezier(.77, 0, .175, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.55 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
body.is-loading { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3, p { margin: 0; }
em { font-style: normal; }
::selection { background: var(--red); color: #fff; }

.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 1000;
  background: var(--red); color: #fff; padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { top: 16px; }
:focus-visible { outline: 2px solid var(--red-hot); outline-offset: 3px; }

/* ---------- intro curtain ---------- */
.intro {
  position: fixed; inset: 0; z-index: 900;
  background: var(--bg);
  display: grid; place-items: center; align-content: center; gap: 28px;
  transition: transform 1s var(--ease-io) .1s;
}
.intro-mark {
  width: 84px; height: 84px; background: var(--red);
  display: grid; place-items: center;
  font: 800 34px/1 var(--display); letter-spacing: -.02em; color: #fff;
  animation: introPop .8s var(--ease) both;
}
.intro-bar { width: 160px; height: 2px; background: var(--line); overflow: hidden; }
.intro-bar i { display: block; height: 100%; background: var(--red); transform-origin: left; animation: introBar 1s var(--ease) .15s both; }
body.is-ready .intro { transform: translateY(-100%); }
@keyframes introPop { from { transform: scale(.6) rotate(-8deg); opacity: 0; } }
@keyframes introBar { from { transform: scaleX(0); } }

/* ---------- grain ---------- */
.grain {
  position: fixed; inset: -50%; z-index: 800; pointer-events: none; opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0%,100% { transform: translate(0,0); } 20% { transform: translate(-4%,3%); }
  40% { transform: translate(3%,-5%); } 60% { transform: translate(-2%,4%); } 80% { transform: translate(5%,1%); }
}

/* ---------- cursor ---------- */
.cursor { display: none; }
@media (pointer: fine) {
  .cursor { display: block; position: fixed; inset: 0; pointer-events: none; z-index: 950; }
  .cursor-dot, .cursor-ring { position: fixed; left: 0; top: 0; border-radius: 50%; will-change: transform; }
  .cursor-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--red-hot); }
  .cursor-ring {
    width: 40px; height: 40px; margin: -20px 0 0 -20px;
    border: 1px solid rgba(255,255,255,.35);
    display: grid; place-items: center;
    transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background .35s, border-color .35s;
  }
  .cursor-ring b { font: 600 10px/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: #fff; opacity: 0; transition: opacity .2s; }
  body.cursor-hover .cursor-ring { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: rgba(196,22,28,.18); border-color: var(--red-hot); }
  body.cursor-view .cursor-ring { width: 96px; height: 96px; margin: -48px 0 0 -48px; background: var(--red); border-color: var(--red); }
  body.cursor-view .cursor-ring b { opacity: 1; }
  body.cursor-view .cursor-dot { opacity: 0; }
}

/* ---------- header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  display: flex; align-items: center; gap: 32px;
  padding: 22px var(--pad);
  transition: padding .4s var(--ease), background .4s, backdrop-filter .4s, transform .5s var(--ease);
}
.site-header.scrolled {
  padding-top: 14px; padding-bottom: 14px;
  background: rgba(10,10,11,.72);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.site-header.hidden { transform: translateY(-110%); }
.scroll-progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; pointer-events: none; }
.scroll-progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--red), var(--red-hot)); transform-origin: left; transform: scaleX(0); }
.brand { flex: none; }
.brand img { height: 38px; width: auto; transition: height .4s var(--ease); }
.scrolled .brand img { height: 32px; }
.main-nav { display: flex; gap: 6px; margin-left: auto; }
.main-nav a {
  position: relative; padding: 9px 14px; border-radius: 99px;
  font: 500 13px/1 var(--body); letter-spacing: .08em; text-transform: uppercase;
  overflow: hidden; transition: background .3s;
}
.main-nav a span { display: inline-block; position: relative; transition: transform .45s var(--ease); }
.main-nav a span::after { content: attr(data-label); position: absolute; left: 0; top: calc(100% + 14px); color: var(--red-hot); }
.main-nav a:hover span { transform: translateY(calc(-100% - 14px)); }
.main-nav a.active { background: rgba(255,255,255,.07); }
.header-cta {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 20px; border-radius: 99px;
  background: var(--red); color: #fff;
  font: 600 13px/1 var(--body); letter-spacing: .06em; text-transform: uppercase;
  position: relative; overflow: hidden; isolation: isolate;
}
.header-cta::before { content: ""; position: absolute; inset: 0; background: #fff; z-index: -1; transform: translateY(101%); transition: transform .45s var(--ease); border-radius: inherit; }
.header-cta:hover { color: var(--red); }
.header-cta:hover::before { transform: none; }
.header-cta b { transition: transform .4s var(--ease); }
.header-cta:hover b { transform: rotate(45deg); }
.menu-toggle { display: none; }

/* ---------- section base ---------- */
.section { position: relative; padding: clamp(96px, 13vw, 180px) var(--pad); }
.section-index {
  display: flex; align-items: center; gap: 14px;
  font: 500 12px/1 var(--body); letter-spacing: .18em; text-transform: uppercase; color: var(--muted);
  margin-bottom: clamp(36px, 5vw, 64px);
}
.section-index span:first-child { color: var(--red-hot); font-weight: 600; }
.section-index::before { content: ""; width: 34px; height: 1px; background: var(--red-hot); order: 1; }
.section-index span:last-child { order: 2; }
.display-title {
  font: 700 clamp(38px, 6.2vw, 96px)/.98 var(--display);
  letter-spacing: -.035em; text-wrap: balance;
}
.display-title em { color: var(--muted); font-weight: 300; }
.big-title {
  font: 800 clamp(56px, 11vw, 180px)/.86 var(--display);
  letter-spacing: -.05em; text-transform: uppercase;
}

.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- HERO ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 130px var(--pad) 44px;
  overflow: hidden; isolation: isolate;
}
.hero-field { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero-glow {
  position: absolute; z-index: -2; width: 62vmax; height: 62vmax; left: 0; top: 0;
  margin: -31vmax 0 0 -31vmax; border-radius: 50%;
  background: radial-gradient(circle, rgba(196,22,28,.55) 0%, rgba(196,22,28,.18) 35%, transparent 65%);
  filter: blur(20px); will-change: transform; pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, transparent 55%, var(--bg) 100%);
}
.hero-kicker {
  display: inline-flex; align-items: center; gap: 12px;
  font: 500 12px/1 var(--body); letter-spacing: .24em; text-transform: uppercase; color: var(--muted);
  margin-bottom: clamp(20px, 3vw, 36px);
  opacity: 0; transform: translateY(20px); transition: all 1s var(--ease) .9s;
}
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red-hot); box-shadow: 0 0 0 0 rgba(255,43,51,.6); animation: live 2s infinite; }
@keyframes live { 70% { box-shadow: 0 0 0 12px rgba(255,43,51,0); } 100% { box-shadow: 0 0 0 0 rgba(255,43,51,0); } }
.hero-title { font: 900 clamp(40px, min(12.4vw, 15.5vh), 220px)/.84 var(--display); letter-spacing: -.055em; text-transform: uppercase; }
.hero-line { display: block; overflow: hidden; padding: .02em 0 .06em; }
.hero-offset { padding-left: clamp(0px, 14vw, 260px); }
.hl { display: inline-block; white-space: nowrap; will-change: transform; }
.hl .ch { display: inline-block; transform: translateY(110%); transition: transform 1.1s var(--ease), color .3s, -webkit-text-stroke-color .3s; }
body.is-ready .hl .ch { transform: none; }
.hl.outline { color: transparent; -webkit-text-stroke: 2px var(--text); font-weight: 800; cursor: default; }
.hl.outline .ch:hover, .hl.outline .ch.lit { color: var(--red); -webkit-text-stroke-color: var(--red); }
.hl.solid .ch:hover { color: var(--red-hot); }
.red-dot .ch:last-child { color: var(--red-hot); }
body.is-ready .hero-kicker { opacity: 1; transform: none; }
.hero-bottom {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 40px;
  margin-top: clamp(28px, 4vw, 56px);
  opacity: 0; transform: translateY(30px); transition: all 1.1s var(--ease) 1.1s;
}
body.is-ready .hero-bottom { opacity: 1; transform: none; }
.hero-lead { max-width: 440px; font-size: clamp(16px, 1.35vw, 20px); line-height: 1.5; color: rgba(243,241,236,.8); }
.circle-link { position: relative; width: 168px; height: 168px; flex: none; display: grid; place-items: center; }
.circle-ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 16s linear infinite; }
.circle-ring text { fill: var(--text); font: 600 13.5px var(--body); letter-spacing: .22em; }
.circle-core {
  width: 92px; height: 92px; border-radius: 50%; background: var(--red);
  display: grid; place-items: center; font-size: 34px; color: #fff;
  transition: transform .5s var(--ease), background .3s;
}
.circle-link:hover .circle-core { transform: scale(1.18); background: var(--red-hot); }
.circle-link:hover .circle-ring { animation-duration: 5s; }
.circle-core b { transition: transform .5s var(--ease); }
.circle-link:hover .circle-core b { transform: rotate(-45deg); }
@keyframes spin { to { transform: rotate(360deg); } }
.scroll-cue {
  position: absolute; right: var(--pad); top: 50%; transform: translateY(-50%) rotate(90deg); transform-origin: right center;
  display: flex; align-items: center; gap: 14px;
  font: 500 11px/1 var(--body); letter-spacing: .3em; text-transform: uppercase; color: var(--muted);
}
.scroll-cue i { width: 60px; height: 1px; background: var(--line-2); position: relative; overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; inset: 0; background: var(--red-hot); animation: cue 2s var(--ease) infinite; }
@keyframes cue { from { transform: translateX(-100%); } to { transform: translateX(100%); } }

/* ---------- ABOUT ---------- */
.statement-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(32px, 6vw, 110px); align-items: end; }
.scrub-text .w { color: rgba(243,241,236,.14); transition: color .25s; }
.scrub-text .w.on { color: var(--text); }
.scrub-text em .w.on { color: var(--red-hot); }
.statement-copy p { font-size: clamp(17px, 1.4vw, 21px); color: rgba(243,241,236,.75); }
.statement-copy p + p { margin-top: 20px; }

.marquee-band {
  overflow: hidden; padding: 26px 0; border-block: 1px solid var(--line);
  background: var(--bg); position: relative;
  transform: rotate(-2deg) scale(1.04); margin: 0 0 40px;
}
.marquee-band::before { content: ""; position: absolute; inset: 0; background: var(--red); transform: translateY(-100%); transition: transform .6s var(--ease); z-index: 0; }
.marquee-band:hover::before { transform: none; }
.marquee-track { display: flex; width: max-content; position: relative; z-index: 1; will-change: transform; }
.marquee-track span {
  font: 800 clamp(48px, 8vw, 128px)/1 var(--display); letter-spacing: -.04em; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1.5px rgba(243,241,236,.55); padding-right: .3em;
  transition: color .5s, -webkit-text-stroke-color .5s;
}
.marquee-track span i { font-style: normal; color: var(--red-hot); -webkit-text-stroke: 0; font-size: .5em; vertical-align: middle; }
.marquee-band:hover .marquee-track span { color: #fff; -webkit-text-stroke-color: #fff; }
.marquee-band:hover .marquee-track span i { color: #fff; }

/* ---------- EXPERTISE ---------- */
.expertise { background: var(--bg); }
.section-heading { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: end; margin-bottom: clamp(48px, 6vw, 88px); }
.section-heading p { font-size: clamp(16px, 1.3vw, 19px); color: var(--muted); max-width: 420px; justify-self: end; }
.service-list { border-top: 1px solid var(--line); }
.service-row {
  position: relative; display: grid; grid-template-columns: 80px 1.3fr 1fr 56px; gap: 24px; align-items: center;
  padding: clamp(24px, 2.6vw, 38px) 0; border-bottom: 1px solid var(--line);
  isolation: isolate; overflow: hidden;
  transition: padding .5s var(--ease), color .4s;
}
.service-row::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--red);
  clip-path: inset(0 100% 0 0); transition: clip-path .6s var(--ease-io);
}
.service-row:hover::before, .service-row:focus-visible::before { clip-path: inset(0 0 0 0); }
.service-row:hover { padding-left: 24px; padding-right: 24px; }
.service-number { font: 500 14px/1 var(--body); color: var(--red-hot); letter-spacing: .1em; transition: color .4s; }
.service-row:hover .service-number { color: #fff; }
.service-row h3 { font: 700 clamp(24px, 3vw, 46px)/1.02 var(--display); letter-spacing: -.03em; }
.service-row p { color: var(--muted); font-size: 15px; transition: color .4s; }
.service-row:hover p { color: rgba(255,255,255,.88); }
.service-row b {
  width: 56px; height: 56px; border-radius: 50%; border: 1px solid var(--line-2);
  display: grid; place-items: center; font-size: 20px; font-weight: 400;
  transition: transform .5s var(--ease), background .3s, border-color .3s, color .3s;
}
.service-row:hover b { background: #fff; color: var(--red); border-color: #fff; transform: rotate(45deg); }

.service-float {
  position: fixed; left: 0; top: 0; z-index: 400; width: 300px; height: 210px;
  pointer-events: none; opacity: 0; transform: scale(.6);
  transition: opacity .35s var(--ease), transform .45s var(--ease);
}
.service-float.on { opacity: 1; transform: scale(1); }
.sf-inner {
  position: absolute; inset: 0; margin: -105px 0 0 -150px; border-radius: 18px; overflow: hidden;
  background: #0d0d0f; border: 1px solid var(--line-2);
  box-shadow: 0 30px 80px rgba(0,0,0,.6), 0 0 0 1px rgba(196,22,28,.15);
  will-change: transform;
}
.sf-visual { position: absolute; inset: 0; padding: 20px; opacity: 0; transform: translateY(30px); transition: opacity .35s, transform .45s var(--ease); }
.sf-visual.on { opacity: 1; transform: none; }
.sf-visual svg { width: 100%; height: 100%; overflow: visible; }

.v-web .browser { height: 100%; border: 1px solid var(--line-2); border-radius: 10px; overflow: hidden; background: var(--bg-3); }
.v-web .b-top { display: flex; gap: 6px; padding: 9px 10px; border-bottom: 1px solid var(--line); }
.v-web .b-top i { width: 8px; height: 8px; border-radius: 50%; background: var(--line-2); }
.v-web .b-top i:first-child { background: var(--red-hot); }
.v-web .b-body { padding: 12px; display: grid; gap: 8px; }
.v-web .blk { height: 9px; border-radius: 4px; background: rgba(255,255,255,.14); animation: grow 2.4s var(--ease) infinite alternate; transform-origin: left; }
.v-web .blk.red { background: var(--red); height: 16px; border-radius: 99px; }
.w60 { width: 60%; } .w90 { width: 90%; animation-delay: .2s !important; } .w40 { width: 40%; animation-delay: .4s !important; }
.v-web .b-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 4px; }
.v-web .b-cards span { height: 46px; border-radius: 6px; background: rgba(255,255,255,.07); animation: blink 1.8s infinite alternate; }
.v-web .b-cards span:nth-child(2) { animation-delay: .3s; } .v-web .b-cards span:nth-child(3) { animation-delay: .6s; }
@keyframes grow { from { transform: scaleX(.3); } }
@keyframes blink { to { background: rgba(196,22,28,.35); } }

.v-ops .pulse { fill: none; stroke: var(--red-hot); stroke-width: 2.5; stroke-dasharray: 520; stroke-dashoffset: 520; animation: draw 2.2s linear infinite; filter: drop-shadow(0 0 6px var(--red-hot)); }
@keyframes draw { to { stroke-dashoffset: 0; } }
.v-ops .ops-ring { position: absolute; right: 22px; top: 18px; width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--line-2); border-top-color: var(--red-hot); animation: spin 1.2s linear infinite; }
.v-ops .ops-dots { position: absolute; left: 22px; bottom: 18px; display: flex; gap: 6px; }
.v-ops .ops-dots i { width: 22px; height: 6px; border-radius: 3px; background: #2fbf71; opacity: .8; animation: blink2 1.4s infinite; }
.v-ops .ops-dots i:nth-child(2) { animation-delay: .2s; } .v-ops .ops-dots i:nth-child(3) { animation-delay: .4s; } .v-ops .ops-dots i:nth-child(4) { animation-delay: .6s; }
@keyframes blink2 { 50% { opacity: .25; } }

.v-ads .bars { position: absolute; left: 22px; right: 22px; bottom: 20px; top: 30px; display: flex; align-items: flex-end; gap: 10px; }
.v-ads .bars i { flex: 1; height: var(--h); background: rgba(255,255,255,.14); border-radius: 4px 4px 0 0; transform-origin: bottom; animation: rise 1.6s var(--ease) infinite alternate; }
.v-ads .bars i:nth-child(odd) { animation-delay: .2s; }
.v-ads .bars i.red { background: linear-gradient(var(--red-hot), var(--red)); box-shadow: 0 0 24px rgba(255,43,51,.5); }
.v-ads .ads-arrow { position: absolute; right: 22px; top: 14px; font-size: 32px; color: var(--red-hot); animation: nudge 1.2s var(--ease) infinite alternate; }
@keyframes rise { from { transform: scaleY(.55); } }
@keyframes nudge { to { transform: translate(5px, -5px); } }

.v-smm .smm-grid { position: absolute; left: 50%; top: 50%; width: 150px; transform: translate(-50%,-50%); display: grid; grid-template-columns: repeat(3,1fr); gap: 6px; }
.v-smm .smm-grid i { aspect-ratio: 1; border-radius: 6px; background: rgba(255,255,255,.1); animation: blink 2s infinite alternate; }
.v-smm .smm-grid i.red { background: var(--red); animation: none; }
.v-smm .smm-grid i:nth-child(4) { animation-delay: .5s; } .v-smm .smm-grid i:nth-child(6) { animation-delay: 1s; }
.v-smm .bubble { position: absolute; z-index: 2; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--red); font-size: 15px; box-shadow: 0 8px 20px rgba(0,0,0,.4); animation: floaty 2.6s ease-in-out infinite; }
.v-smm .b1 { left: 24px; top: 26px; } .v-smm .b2 { right: 28px; top: 34px; animation-delay: .5s; background: var(--red); color: #fff; }
.v-smm .b3 { left: 40px; bottom: 26px; animation-delay: 1s; font-size: 9px; } .v-smm .b4 { right: 40px; bottom: 30px; animation-delay: 1.4s; }
@keyframes floaty { 50% { transform: translateY(-12px) scale(1.08); } }

.v-an .area { fill: rgba(196,22,28,.22); }
.v-an .line { fill: none; stroke: var(--red-hot); stroke-width: 3; stroke-dasharray: 400; stroke-dashoffset: 400; animation: draw 2.4s var(--ease) infinite; }
.v-an circle { fill: #fff; animation: blink2 1s infinite; }
.v-auto .edges line { stroke: rgba(255,255,255,.25); stroke-width: 1.5; stroke-dasharray: 5 6; animation: dash 1s linear infinite; }
.v-auto .nodes circle { fill: var(--bg-3); stroke: rgba(255,255,255,.5); stroke-width: 2; }
.v-auto .nodes circle.red { fill: var(--red); stroke: var(--red-hot); animation: pulseR 1.6s infinite; transform-origin: 220px 85px; }
@keyframes dash { to { stroke-dashoffset: -22; } }
@keyframes pulseR { 50% { transform: scale(1.2); } }

/* ---------- APPROACH ---------- */
.approach { background: var(--bg-2); border-radius: 36px 36px 0 0; }
.approach-layout { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.approach-sticky { position: sticky; top: 130px; }
.approach-sticky > p { margin-top: 28px; font-size: clamp(16px, 1.3vw, 19px); color: var(--muted); max-width: 460px; }
.approach-counter { margin-top: clamp(32px, 6vw, 80px); display: flex; align-items: baseline; gap: 6px; }
.approach-counter span { font: 900 clamp(90px, 14vw, 220px)/.8 var(--display); letter-spacing: -.06em; color: transparent; -webkit-text-stroke: 2px var(--red-hot); display: inline-block; }
.approach-counter span.flip { animation: flip .6s var(--ease); }
.approach-counter small { font: 500 18px/1 var(--body); color: var(--muted); }
@keyframes flip { from { transform: translateY(30%); opacity: 0; } }
.process { list-style: none; margin: 0; padding: 0 0 0 44px; position: relative; }
.process-rail { position: absolute; left: 11px; top: 12px; bottom: 12px; width: 2px; background: var(--line); }
.process-rail i { position: absolute; inset: 0; background: linear-gradient(var(--red), var(--red-hot)); transform-origin: top; transform: scaleY(0); }
.process-step { position: relative; display: grid; grid-template-columns: 60px 1fr; gap: 20px; padding: clamp(36px, 5vw, 64px) 0; border-bottom: 1px solid var(--line); opacity: .35; transition: opacity .6s var(--ease); }
.process-step::before {
  content: ""; position: absolute; left: -44px; top: calc(clamp(36px, 5vw, 64px) + 4px);
  width: 24px; height: 24px; border-radius: 50%; background: var(--bg-2); border: 2px solid var(--line-2);
  transition: background .4s, border-color .4s, box-shadow .4s;
}
.process-step.active { opacity: 1; }
.process-step.active::before { background: var(--red); border-color: var(--red-hot); box-shadow: 0 0 0 8px rgba(196,22,28,.18); }
.process-step > span { font: 600 14px/2.2 var(--body); color: var(--red-hot); letter-spacing: .1em; }
.process-step h3 { font: 700 clamp(30px, 3.6vw, 56px)/1 var(--display); letter-spacing: -.035em; margin-bottom: 14px; }
.process-step p { color: var(--muted); font-size: 17px; max-width: 420px; }

/* ---------- PRINCIPLES ---------- */
.advantages { background: var(--bg-2); padding-top: 40px; }
.advantages .display-title { max-width: 1100px; margin-bottom: clamp(48px, 6vw, 80px); }
.advantage-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; perspective: 1200px; }
.advantage {
  --mx: 50%; --my: 50%;
  position: relative; grid-column: span 2; min-height: 300px;
  padding: 32px; border-radius: 24px; overflow: hidden;
  background: var(--bg-3); border: 1px solid var(--line);
  display: flex; flex-direction: column; justify-content: flex-end;
  transform-style: preserve-3d; transition: transform .5s var(--ease), border-color .4s, opacity 1s var(--ease);
}
.advantage.a1, .advantage.a2 { grid-column: span 3; min-height: 360px; }
.advantage > span { position: absolute; top: 28px; left: 32px; font: 600 14px/1 var(--body); color: var(--red-hot); letter-spacing: .1em; }
.advantage h3 { font: 700 clamp(24px, 2.3vw, 34px)/1.05 var(--display); letter-spacing: -.03em; margin-bottom: 12px; position: relative; }
.advantage p { color: var(--muted); position: relative; max-width: 360px; }
.adv-glow { position: absolute; inset: 0; background: radial-gradient(400px circle at var(--mx) var(--my), rgba(196,22,28,.28), transparent 45%); opacity: 0; transition: opacity .4s; pointer-events: none; }
.advantage:hover .adv-glow { opacity: 1; }
.advantage:hover { border-color: rgba(255,43,51,.45); }
.advantage.a5 { background: var(--red); border-color: var(--red); }
.advantage.a5 > span, .advantage.a5 p { color: rgba(255,255,255,.85); }
.advantage.a5 .adv-glow { background: radial-gradient(400px circle at var(--mx) var(--my), rgba(255,255,255,.22), transparent 45%); }
.adv-art { position: absolute; right: 32px; top: 32px; width: 140px; height: 140px; }
.art-orbit i { position: absolute; inset: 0; border: 1px solid var(--line-2); border-radius: 50%; animation: spin 10s linear infinite; }
.art-orbit i:nth-child(2) { inset: 22px; animation-duration: 7s; animation-direction: reverse; border-style: dashed; }
.art-orbit i:nth-child(3) { inset: 54px; background: var(--red); border: 0; animation: pulseR 2.4s ease-in-out infinite; }
.art-orbit i:first-child::after { content: ""; position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; border-radius: 50%; background: var(--red-hot); }
.art-stack i { position: absolute; left: 10px; right: 10px; height: 34px; border-radius: 8px; border: 1px solid var(--line-2); background: rgba(255,255,255,.03); animation: stack 3s var(--ease) infinite; }
.art-stack i:nth-child(1) { top: 16px; } .art-stack i:nth-child(2) { top: 56px; animation-delay: .3s; } .art-stack i:nth-child(3) { top: 96px; animation-delay: .6s; background: var(--red); border-color: var(--red); }
@keyframes stack { 50% { transform: translateX(10px); } }

/* ---------- CLIENTS ---------- */
.clients { padding-bottom: 48px; }
.clients-head { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: end; }
.clients-head p { color: var(--muted); font-size: clamp(16px, 1.3vw, 19px); max-width: 420px; justify-self: end; }
.clients-marquee { padding: 0 0 clamp(96px, 12vw, 160px); display: grid; gap: 16px; overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.logo-row { overflow: hidden; }
.logo-track { display: flex; gap: 16px; width: max-content; animation: scrollX 48s linear infinite; }
.logo-row.reverse .logo-track { animation-direction: reverse; animation-duration: 56s; }
.clients-marquee:hover .logo-track { animation-play-state: paused; }
@keyframes scrollX { to { transform: translateX(calc(-50% - 8px)); } }
.client-logo {
  width: 240px; height: 128px; flex: none; border-radius: 20px;
  background: #f4f2ee; display: grid; place-items: center; padding: 26px 34px;
  transition: transform .5s var(--ease), background .4s, box-shadow .4s;
}
.client-logo img { max-width: 100%; max-height: 64px; width: auto; height: auto; object-fit: contain; filter: grayscale(1) contrast(1.1); opacity: .7; transition: filter .4s, opacity .4s, transform .5s var(--ease); }
.client-logo:hover { transform: translateY(-6px); background: #fff; box-shadow: 0 20px 50px rgba(196,22,28,.25); }
.client-logo:hover img { filter: none; opacity: 1; transform: scale(1.06); }
.client-logo.sq img { max-height: 76px; }
.client-logo.dark { background: #1c1c1f; }
.client-logo.dark:hover { background: #000; }
.client-logo.dark img { opacity: .85; }

/* ---------- CONTACT ---------- */
.contact { background: var(--red); color: #fff; overflow: hidden; isolation: isolate; border-radius: 36px 36px 0 0; }
.contact-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(600px circle at var(--cx, 80%) var(--cy, 20%), rgba(255,255,255,.18), transparent 50%),
    repeating-linear-gradient(90deg, rgba(255,255,255,.06) 0 1px, transparent 1px 80px),
    repeating-linear-gradient(0deg, rgba(255,255,255,.06) 0 1px, transparent 1px 80px); }
.contact .section-index, .contact .section-index span:first-child { color: #fff; }
.contact .section-index::before { background: #fff; }
.contact-head { display: grid; grid-template-columns: 1.6fr 1fr; gap: 40px; align-items: end; margin-bottom: clamp(56px, 7vw, 100px); }
.contact-title { font: 900 clamp(46px, 8.4vw, 140px)/.88 var(--display); letter-spacing: -.05em; text-transform: uppercase; }
.contact-title .ct-line { display: block; }
.contact-title em { color: transparent; -webkit-text-stroke: 2px #fff; font-weight: 800; }
.contact-head p { font-size: clamp(17px, 1.4vw, 21px); max-width: 380px; justify-self: end; color: rgba(255,255,255,.88); }
.contact-layout { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(40px, 6vw, 100px); }
.contact-direct { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.contact-direct > span { font: 500 12px/1 var(--body); letter-spacing: .2em; text-transform: uppercase; opacity: .75; margin-bottom: 10px; }
.contact-direct a { font: 700 clamp(22px, 2.4vw, 34px)/1.15 var(--display); letter-spacing: -.02em; background: linear-gradient(#fff, #fff) left bottom / 0 2px no-repeat; transition: background-size .5s var(--ease); padding-bottom: 4px; }
.contact-direct a:hover { background-size: 100% 2px; }
.contact-direct address { font-style: normal; margin-top: 18px; opacity: .85; line-height: 1.6; }

.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 30px 28px; }
.form-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-field { position: relative; display: block; padding-top: 18px; }
.form-field-message, .consent, .submit-button, .form-status { grid-column: 1 / -1; }
.form-field input, .form-field textarea {
  width: 100%; background: transparent; border: 0; border-bottom: 1.5px solid rgba(255,255,255,.45);
  color: #fff; font: 500 20px/1.4 var(--body); padding: 10px 0 12px; outline: none; resize: vertical; border-radius: 0;
  transition: border-color .3s;
}
.form-field > span {
  position: absolute; left: 0; top: 30px; pointer-events: none;
  font: 500 13px/1 var(--body); letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.78);
  transition: transform .35s var(--ease), font-size .35s, color .3s;
  transform-origin: left top;
}
.form-field input:focus ~ span, .form-field input:not(:placeholder-shown) ~ span,
.form-field textarea:focus ~ span, .form-field textarea:not(:placeholder-shown) ~ span { transform: translateY(-28px) scale(.85); color: #fff; }
.form-field::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: #fff; transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.form-field:has(.field-error:not(:empty))::after { bottom: 22px; }
.form-field:focus-within::after { transform: scaleX(1); }
.form-field [aria-invalid="true"] { border-bottom-color: #0a0a0b; }
.field-error { display: block; min-height: 0; font-size: 13px; color: #0a0a0b; font-weight: 600; margin-top: 6px; }
.field-error:empty { display: none; }
.consent { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; cursor: pointer; font-size: 15px; }
.consent input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.consent i { width: 24px; height: 24px; border: 1.5px solid #fff; border-radius: 7px; display: grid; place-items: center; flex: none; transition: background .3s; }
.consent i::after { content: "✓"; font-style: normal; font-size: 14px; color: var(--red); transform: scale(0); transition: transform .3s var(--ease); }
.consent input:checked + i { background: #fff; }
.consent input:checked + i::after { transform: scale(1); }
.consent input:focus-visible + i { outline: 2px solid #fff; outline-offset: 3px; }
.consent a { text-decoration: underline; text-underline-offset: 3px; }
.consent .field-error { flex-basis: 100%; }
.submit-button {
  justify-self: start; display: inline-flex; align-items: center; gap: 18px;
  padding: 22px 34px; border-radius: 99px; background: #0a0a0b; color: #fff;
  font: 600 15px/1 var(--body); letter-spacing: .12em; text-transform: uppercase;
  position: relative; overflow: hidden; isolation: isolate;
}
.submit-button::before { content: ""; position: absolute; inset: 0; z-index: -1; background: #fff; border-radius: inherit; transform: scale(0); transition: transform .5s var(--ease); }
.submit-button:hover { color: var(--red); }
.submit-button:hover::before { transform: scale(1.05); }
.submit-button b { width: 34px; height: 34px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; font-weight: 400; transition: transform .5s var(--ease); }
.submit-button:hover b { transform: rotate(45deg); }
.submit-button:disabled { opacity: .6; pointer-events: none; }
.form-status { font-weight: 600; min-height: 1px; }
.form-success { padding: 48px; border-radius: 28px; background: #0a0a0b; animation: introPop .7s var(--ease); }
.form-success span { font: 500 12px/1 var(--body); letter-spacing: .2em; text-transform: uppercase; color: var(--red-hot); }
.form-success h3 { font: 900 clamp(48px, 6vw, 88px)/1 var(--display); letter-spacing: -.04em; margin: 16px 0; }
.form-success p { color: var(--muted); font-size: 18px; }

/* ---------- FOOTER ---------- */
.site-footer { background: #050505; padding: clamp(60px, 8vw, 110px) var(--pad) 32px; overflow: hidden; }
.footer-word {
  display: flex; flex-wrap: wrap; justify-content: space-between; column-gap: .2em;
  font: 200 clamp(56px, 13.4vw, 250px)/.85 var(--display); letter-spacing: -.05em; text-transform: uppercase;
  user-select: none;
}
.footer-word .ch { display: inline-block; font-variation-settings: "wght" var(--w, 200); font-weight: var(--w, 200); transition: color .3s; }
.footer-word span:first-child .ch { color: var(--red-hot); }
.footer-meta { display: flex; flex-wrap: wrap; gap: 14px 36px; align-items: center; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }
.footer-meta > span { margin-right: auto; }
.footer-meta a:hover, .footer-meta button:hover { color: #fff; }
.footer-meta button { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding: 0; }

/* ---------- cookie ---------- */
.cookie-panel {
  position: fixed; left: 20px; bottom: 20px; z-index: 600; max-width: 380px;
  padding: 22px; border-radius: 20px;
  background: rgba(20,20,22,.86); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--line-2); box-shadow: 0 20px 60px rgba(0,0,0,.5);
  animation: cookieIn .7s var(--ease) 1.6s both;
}
.cookie-panel[hidden] { display: none; }
@keyframes cookieIn { from { transform: translateY(30px); opacity: 0; } }
.cookie-panel p { display: grid; gap: 6px; font-size: 14px; color: var(--muted); }
.cookie-panel strong { color: var(--text); font-size: 15px; }
.cookie-panel div { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.cookie-panel button { padding: 11px 16px; border-radius: 99px; font-size: 13px; font-weight: 600; border: 1px solid var(--line-2); transition: background .3s, color .3s; }
.cookie-panel button:hover { background: rgba(255,255,255,.08); }
.cookie-panel button[data-cookie-choice="analytics"] { background: var(--red); border-color: var(--red); color: #fff; }
.cookie-panel button[data-cookie-choice="analytics"]:hover { background: var(--red-hot); }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .main-nav a { padding: 9px 10px; }
  .service-row { grid-template-columns: 56px 1fr 56px; }
  .service-row p { grid-column: 2; grid-row: 2; }
  .service-row b { grid-column: 3; grid-row: 1 / span 2; }
}
@media (max-width: 900px) {
  .site-header { gap: 12px; }
  .brand img, .scrolled .brand img { height: 30px; }
  .header-cta { display: none; }
  .menu-toggle {
    display: inline-flex; align-items: center; gap: 12px; margin-left: auto; position: relative; z-index: 2;
    font: 600 12px/1 var(--body); letter-spacing: .14em; text-transform: uppercase;
    padding: 12px 16px; border-radius: 99px; background: rgba(255,255,255,.08); border: 1px solid var(--line-2);
  }
  .menu-toggle i { width: 18px; height: 8px; position: relative; }
  .menu-toggle i::before, .menu-toggle i::after { content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform .4s var(--ease), top .4s var(--ease); }
  .menu-toggle i::before { top: 0; } .menu-toggle i::after { top: 6.5px; }
  .menu-open .menu-toggle i::before { top: 3.25px; transform: rotate(45deg); }
  .menu-open .menu-toggle i::after { top: 3.25px; transform: rotate(-45deg); }
  .main-nav {
    position: fixed; inset: 0; z-index: 1; margin: 0;
    flex-direction: column; justify-content: center; gap: 4px; padding: 100px var(--pad) 40px;
    background: var(--red);
    clip-path: circle(0% at calc(100% - 50px) 40px); transition: clip-path .8s var(--ease-io);
  }
  .menu-open .main-nav { clip-path: circle(150% at calc(100% - 50px) 40px); }
  .menu-open { overflow: hidden; }
  .main-nav a { font: 800 clamp(40px, 11vw, 64px)/1.05 var(--display); letter-spacing: -.04em; padding: 6px 0; border-radius: 0; opacity: 0; transform: translateY(30px); transition: opacity .5s, transform .6s var(--ease); }
  .menu-open .main-nav a { opacity: 1; transform: none; }
  .menu-open .main-nav a:nth-child(2) { transition-delay: .05s; } .menu-open .main-nav a:nth-child(3) { transition-delay: .1s; }
  .menu-open .main-nav a:nth-child(4) { transition-delay: .15s; } .menu-open .main-nav a:nth-child(5) { transition-delay: .2s; }
  .main-nav a span::after { color: #0a0a0b; }
  .main-nav a.active { background: none; }
  .menu-open .site-header { background: transparent; backdrop-filter: none; border-color: transparent; }

  .hero { padding-bottom: 40px; }
  .hero-offset { padding-left: 0; }
  .hero-bottom { flex-direction: column; align-items: flex-start; gap: 28px; }
  .circle-link { width: 128px; height: 128px; align-self: flex-end; margin-top: -20px; }
  .circle-core { width: 72px; height: 72px; font-size: 26px; }
  .circle-ring text { font-size: 15px; }
  .scroll-cue { display: none; }
  .hl.outline { -webkit-text-stroke-width: 1.5px; }
  .hero-title { font-size: 11.4vw; }
  .hero { justify-content: center; padding-top: 110px; }

  .statement-layout, .section-heading, .clients-head, .contact-head, .contact-layout, .approach-layout { grid-template-columns: 1fr; }
  .section-heading p, .clients-head p, .contact-head p { justify-self: start; }
  .approach-sticky { position: static; }
  .approach-counter { display: none; }
  .service-row:hover { padding-left: 14px; padding-right: 14px; }
  .service-row h3 { font-size: 24px; }
  .service-row b { width: 44px; height: 44px; }
  .service-float { display: none; }
  .advantage-grid { grid-template-columns: 1fr; }
  .advantage, .advantage.a1, .advantage.a2 { grid-column: auto; min-height: 240px; }
  .adv-art { width: 90px; height: 90px; right: 24px; top: 24px; }
  .advantage.a1, .advantage.a2 { min-height: 300px; }
  .art-stack i { height: 22px; } .art-stack i:nth-child(2) { top: 44px; } .art-stack i:nth-child(3) { top: 72px; }
  .art-orbit i:nth-child(3) { inset: 36px; }
  .client-logo { width: 180px; height: 100px; padding: 20px 26px; }
  .contact-form { grid-template-columns: 1fr; }
  .approach, .contact { border-radius: 24px 24px 0 0; }
  .footer-meta > span { flex-basis: 100%; }
  .cookie-panel { left: 12px; right: 12px; bottom: 12px; max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
