/* ==========================================================================
   AdPulse IMC — site styles
   Layout: broadcast-grade — dark "on-air" cinema bands (hero, showreels,
   footer) alternate with white "print" bands; red = action, green = growth.
   ========================================================================== */
:root {
  --red: #E10600;
  --red-deep: #8B0000;
  --red-soft: #FFE9E7;
  --green: #067A3E;
  --green-deep: #03421F;
  --green-soft: #E3F1E9;
  --green-glow: #2FCB7C;
  --white: #FFFFFF;
  --paper: #F5F7F4;
  --ink: #0A0C0B;
  --ink-2: #131816;
  --ink-3: #1D2421;
  --muted: #59625D;
  --muted-dark: #9AA59F;
  --line: rgba(10, 12, 11, .12);
  --line-dark: rgba(255, 255, 255, .12);

  --f-display: "Big Shoulders Display", "Arial Narrow", "Roboto Condensed", Impact, sans-serif;
  --f-body: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --gutter: clamp(16px, 4vw, 48px);
  --maxw: 1320px;
  --radius: 18px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --header-h: 76px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3, h4 { margin: 0; font-family: var(--f-display); font-weight: 800; line-height: .95; letter-spacing: .005em; text-wrap: balance; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--red); color: var(--white); }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Type helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-mono); font-size: 12px; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase; color: var(--red);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; }
.eyebrow--green { color: var(--green); }
.on-dark .eyebrow { color: #FF4A3D; }
.on-dark .eyebrow--green { color: var(--green-glow); }
.h-section { font-size: clamp(44px, 7vw, 104px); text-transform: uppercase; letter-spacing: .008em; }
.h-section em { font-style: normal; color: var(--red); }
.h-section .outline { color: transparent; -webkit-text-stroke: 1.5px currentColor; }
.on-dark .h-section .outline { -webkit-text-stroke-color: var(--white); }
.lead { font-size: clamp(17px, 1.4vw, 19px); color: var(--muted); max-width: 60ch; }
.on-dark .lead { color: var(--muted-dark); }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 48px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head > div { display: grid; gap: 18px; min-width: 0; }

/* word reveal */
.split .w { display: inline-block; white-space: nowrap; vertical-align: top; padding-bottom: .06em; margin-bottom: -.06em; }
.split .ch { display: inline-block; will-change: transform; }
/* outline letters that fill on scroll */
.fillable .ch { transition: color .45s var(--ease), -webkit-text-stroke-color .45s var(--ease), transform .45s var(--ease); }
.fillable .ch.is-filled { color: var(--c); -webkit-text-stroke-color: var(--c); }
/* marquee-bulb chase on dark hero outlines */
.hero h1 .outline .ch, .page-hero h1 .outline .ch { transition: color .35s ease, text-shadow .35s ease; }
.hero h1 .outline .ch.is-lit, .page-hero h1 .outline .ch.is-lit { color: var(--white); text-shadow: 0 0 18px rgba(255, 255, 255, .55), 0 0 42px rgba(47, 203, 124, .45); }
/* glitch pulse */
.glitch .ch { animation: glitch .52s steps(2, end) both; }
.glitch .ch:nth-child(2n) { animation-delay: .04s; }
@keyframes glitch {
  0% { transform: translate(0); text-shadow: 3px 0 var(--green-glow), -3px 0 #fff; }
  20% { transform: translate(-3px, 2px) skewX(-8deg); text-shadow: -4px 0 var(--green-glow), 4px 0 #fff; clip-path: inset(10% 0 45% 0); }
  40% { transform: translate(3px, -2px); text-shadow: 2px 0 #fff, -2px 0 var(--green-glow); clip-path: inset(55% 0 5% 0); }
  60% { transform: translate(-2px, 0) skewX(6deg); clip-path: none; }
  100% { transform: translate(0); text-shadow: 0 0 40px rgba(225, 6, 0, .45); }
}

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--red); --fg: var(--white);
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 54px; padding: 0 28px; border-radius: 999px;
  background: var(--bg); color: var(--fg);
  font-family: var(--f-mono); font-size: 13px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
  transition: color .35s var(--ease), box-shadow .35s var(--ease), transform .35s var(--ease);
  box-shadow: 0 10px 30px -12px rgba(225, 6, 0, .7);
  will-change: transform;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: var(--ink); transform: translateY(101%); transition: transform .45s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn:hover { box-shadow: 0 16px 40px -14px rgba(8, 140, 70, .8); }
.btn .arr { transition: transform .35s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn--ghost { --bg: transparent; --fg: currentColor; box-shadow: inset 0 0 0 1.5px currentColor; }
.btn--ghost::before { background: var(--green); }
.btn--ghost:hover { color: var(--white); box-shadow: inset 0 0 0 1.5px var(--green); }
.on-dark .btn::before { background: var(--white); }
.on-dark .btn:not(.btn--ghost):hover { color: var(--ink); }
.on-dark .btn--ghost::before { background: var(--green); }
.btn--white { --bg: var(--white); --fg: var(--red-deep); box-shadow: 0 16px 40px -18px rgba(0, 0, 0, .6); }
.btn--white::before { background: var(--green); }
.btn--white:hover { color: var(--white); }
.btn--lg { min-height: 64px; padding: 0 38px; font-size: 14px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 500;
  color: var(--red); background: linear-gradient(currentColor, currentColor) left bottom / 0 1.5px no-repeat;
  transition: background-size .4s var(--ease), color .3s;
  padding-bottom: 3px;
}
.link-arrow:hover { background-size: 100% 1.5px; }

/* ---------- Intro: Pakistan pulse map ---------- */
.preloader { position: fixed; inset: 0; z-index: 200; background: radial-gradient(60% 60% at 50% 55%, rgba(8, 140, 70, .18), transparent 70%), radial-gradient(40% 40% at 30% 80%, rgba(225, 6, 0, .16), transparent 70%), var(--ink); color: var(--white); overflow: hidden; }
.preloader::before { content: ""; opacity: var(--grid-o, 1); transition: opacity .5s; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(closest-side, #000, transparent); -webkit-mask-image: radial-gradient(closest-side, #000, transparent); }
.preloader.is-done { visibility: hidden; pointer-events: none; }
.intro__stage { position: absolute; inset: 0; display: grid; place-items: center; padding: calc(24px + env(safe-area-inset-top, 0px)) var(--gutter) calc(90px + env(safe-area-inset-bottom, 0px)); }
.intro__map { width: min(92vw, 760px); height: min(74svh, 720px); overflow: visible; }
.intro__base { fill: rgba(47, 203, 124, .06); }
.intro__dots { opacity: 0; }
.intro__outline { fill: none; stroke: url(#pk-stroke); stroke-width: 3; stroke-linejoin: round; }
.intro__arc { fill: none; stroke: rgba(255, 255, 255, .55); stroke-width: 1.6; stroke-dasharray: 6 7; }
.intro__city .intro__pin { fill: var(--white); stroke: var(--green-glow); stroke-width: 3; }
.intro__city.is-hq .intro__pin { fill: var(--red); stroke: var(--white); }
.intro__ping { fill: none; stroke: var(--green-glow); stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: pin-ping 1.8s ease-out infinite; }
.is-hq .intro__ping { stroke: var(--red); }
@keyframes pin-ping { from { transform: scale(.6); opacity: 1; } to { transform: scale(3.4); opacity: 0; } }
.intro__city text { font-family: var(--f-mono); font-size: 22px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; fill: var(--white); paint-order: stroke; stroke: var(--ink); stroke-width: 6px; stroke-linejoin: round; }
.intro__city.is-hq text { fill: #FF5A4F; font-size: 26px; }
.intro__copy { position: absolute; left: 0; right: 0; bottom: calc(34px + env(safe-area-inset-bottom, 0px)); display: grid; justify-items: center; gap: 6px; text-align: center; padding-inline: var(--gutter); }
.intro__brand { font-family: var(--f-display); font-weight: 800; font-size: clamp(34px, 5vw, 60px); line-height: 1; text-transform: uppercase; letter-spacing: .02em; }
.intro__brand b { color: var(--red); font-weight: 800; }
.intro__line { font-family: var(--f-mono); font-size: clamp(11px, 1.2vw, 13px); letter-spacing: .22em; text-transform: uppercase; color: var(--muted-dark); }
.intro__skip { position: absolute; top: calc(18px + env(safe-area-inset-top, 0px)); right: var(--gutter); font-family: var(--f-mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted-dark); padding: 10px 16px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-dark); transition: color .3s, box-shadow .3s; }
.intro__skip:hover { color: var(--white); box-shadow: inset 0 0 0 1px var(--red); }

/* ---------- Page transition ---------- */
.wipe { position: fixed; inset: 0; z-index: 190; pointer-events: none; display: grid; }
.wipe span { grid-area: 1 / 1; transform: translateX(-101%); }
.wipe span:nth-child(1) { background: var(--red); }
.wipe span:nth-child(2) { background: var(--green); }
.wipe span:nth-child(3) { background: var(--ink); }

/* ---------- Cursor ---------- */
.cursor, .cursor-ring { position: fixed; left: 0; top: 0; z-index: 300; pointer-events: none; border-radius: 50%; transform: translate3d(-100px, -100px, 0); }
.cursor { width: 8px; height: 8px; margin: -4px 0 0 -4px; background: var(--red); }
.cursor-ring {
  width: 40px; height: 40px; margin: -20px 0 0 -20px; border: 1.5px solid var(--green);
  display: grid; place-items: center; transition: width .3s var(--ease), height .3s var(--ease), margin .3s var(--ease), background .3s, border-color .3s;
}
.cursor-ring span { font-family: var(--f-mono); font-size: 10px; letter-spacing: .14em; color: var(--white); opacity: 0; transition: opacity .2s; }
.cursor-ring.is-hover { width: 64px; height: 64px; margin: -32px 0 0 -32px; border-color: var(--red); background: rgba(225, 6, 0, .08); }
.cursor-ring.is-label { width: 84px; height: 84px; margin: -42px 0 0 -42px; background: var(--red); border-color: var(--red); }
.cursor-ring.is-label span { opacity: 1; }
@media (hover: none), (pointer: coarse) { .cursor, .cursor-ring { display: none; } }
html.has-cursor, html.has-cursor a, html.has-cursor button { cursor: none; }

/* ---------- Scroll progress ---------- */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 120; background: linear-gradient(90deg, var(--red), var(--green)); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding-top: env(safe-area-inset-top, 0px);
  transition: transform .45s var(--ease), background .35s, color .35s, box-shadow .35s;
  color: var(--white);
}
.site-header.is-solid {
  background: rgba(255, 255, 255, .78); color: var(--ink);
  backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: 0 1px 0 var(--line);
}
.site-header.is-hidden { transform: translateY(-100%); }
.nav { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand img { height: 44px; width: auto; }
.site-header:not(.is-solid) .brand img { filter: drop-shadow(0 2px 10px rgba(0, 0, 0, .4)); }
.brand__text { display: none; font-family: var(--f-display); font-weight: 900; font-size: 30px; letter-spacing: .02em; line-height: 1; }
.brand__text b { color: var(--red); font-weight: 900; }
.brand__text i { font-style: normal; color: var(--green); font-size: .55em; margin-left: 4px; letter-spacing: .15em; vertical-align: middle; }
.brand.no-img img { display: none; }
.brand.no-img .brand__text { display: block; }

.menu { display: flex; align-items: center; gap: clamp(14px, 2vw, 30px); }
.menu > li { position: relative; }
.menu > li > a, .menu > li > button {
  display: inline-flex; align-items: center; gap: 6px; height: var(--header-h);
  font-family: var(--f-mono); font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  position: relative;
}
.menu > li > a::after, .menu > li > button::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 22px; height: 2px; background: var(--red);
  transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease);
}
.menu > li > a:hover::after, .menu > li > button:hover::after, .menu > li > a[aria-current="page"]::after, .menu > li > button[aria-current="page"]::after, .menu > li.is-open > button::after { transform: scaleX(1); transform-origin: left; }
.menu .caret { width: 9px; height: 9px; transition: transform .3s; }
.menu li.is-open .caret { transform: rotate(180deg); }
.nav__cta { display: flex; align-items: center; gap: 12px; }
.nav__cta .btn { min-height: 46px; padding: 0 22px; font-size: 12px; }

.mega {
  position: absolute; top: calc(var(--header-h) - 8px); left: 50%; width: min(760px, 90vw);
  transform: translate(-50%, 10px); opacity: 0; visibility: hidden; transition: opacity .3s, transform .35s var(--ease), visibility .3s;
  background: var(--white); color: var(--ink); border-radius: 22px; padding: 14px;
  box-shadow: 0 30px 80px -30px rgba(10, 12, 11, .45), 0 0 0 1px var(--line);
}
.menu li.is-open .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mega__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; }
.mega a.mega__item { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: center; padding: 12px; border-radius: 14px; transition: background .25s; }
.mega a.mega__item:hover { background: var(--paper); }
.mega__icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--red-soft); color: var(--red); transition: background .3s, color .3s, transform .4s var(--ease); }
.mega a.mega__item:hover .mega__icon { background: var(--green); color: var(--white); transform: rotate(-8deg) scale(1.06); }
.mega__icon svg { width: 24px; height: 24px; }
.mega b { display: block; font-family: var(--f-display); font-size: 22px; font-weight: 800; text-transform: uppercase; line-height: 1; }
.mega small { color: var(--muted); font-size: 13px; }
.mega__foot { margin-top: 8px; padding: 14px 12px 6px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.mega__foot span { font-size: 13px; color: var(--muted); }

.burger { display: none; width: 48px; height: 48px; border-radius: 50%; position: relative; box-shadow: inset 0 0 0 1.5px currentColor; }
.burger span { position: absolute; left: 14px; right: 14px; height: 2px; background: currentColor; transition: transform .35s var(--ease), top .35s var(--ease); }
.burger span:nth-child(1) { top: 19px; }
.burger span:nth-child(2) { top: 27px; }
.nav-open .burger span:nth-child(1) { top: 23px; transform: rotate(45deg); }
.nav-open .burger span:nth-child(2) { top: 23px; transform: rotate(-45deg); }

.drawer {
  position: fixed; inset: 0; z-index: 99; background: var(--ink); color: var(--white);
  padding: calc(var(--header-h) + 24px + env(safe-area-inset-top, 0px)) var(--gutter) calc(32px + env(safe-area-inset-bottom, 0px));
  display: flex; flex-direction: column; gap: 28px; overflow-y: auto;
  clip-path: circle(0% at calc(100% - 40px) 40px); transition: clip-path .7s var(--ease); visibility: hidden;
}
.nav-open .drawer { clip-path: circle(150% at calc(100% - 40px) 40px); visibility: visible; }
.drawer__main a { display: flex; justify-content: space-between; align-items: baseline; font-family: var(--f-display); font-weight: 800; font-size: clamp(40px, 11vw, 64px); line-height: 1.05; text-transform: uppercase; border-bottom: 1px solid var(--line-dark); padding: 6px 0; }
.drawer__main a small { font-family: var(--f-mono); font-size: 11px; color: var(--muted-dark); letter-spacing: .15em; }
.drawer__main a:hover { color: var(--red); }
.drawer__svc { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 16px; }
.drawer__svc a { font-size: 14px; color: var(--muted-dark); }
.drawer__svc a:hover { color: var(--green); }
.nav-open .site-header { color: var(--white); background: transparent; box-shadow: none; backdrop-filter: none; }

@media (max-width: 1080px) {
  .menu, .nav__cta .btn { display: none; }
  .burger { display: block; }
}

/* ---------- Hero (home) ---------- */
.on-dark { background: var(--ink); color: var(--white); }
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: max(680px, 100svh);
  display: flex; flex-direction: column;
  background: radial-gradient(60% 70% at 78% 45%, rgba(225, 6, 0, .22), transparent 60%),
              radial-gradient(45% 55% at 95% 95%, rgba(8, 140, 70, .22), transparent 65%),
              radial-gradient(40% 40% at 10% 0%, rgba(8, 140, 70, .10), transparent 70%),
              var(--ink);
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; display: block; }
.hero::after { /* film grain + scanlines */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .35;
  background-image: repeating-linear-gradient(0deg, rgba(255, 255, 255, .025) 0 1px, transparent 1px 3px);
}
.hero__grid-floor { position: absolute; left: -10%; right: -10%; bottom: -8%; height: 42%; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px);
  background-size: 64px 64px; transform: perspective(600px) rotateX(62deg); transform-origin: bottom; mask-image: linear-gradient(to top, #000 10%, transparent 90%); -webkit-mask-image: linear-gradient(to top, #000 10%, transparent 90%);
}
.hero__main { flex: 1; display: flex; align-items: center; padding-top: calc(var(--header-h) + 40px + env(safe-area-inset-top, 0px)); padding-bottom: 32px; }
.hero__copy { max-width: 700px; display: grid; gap: 22px; position: relative; }
.hero__kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .2em; color: var(--muted-dark); text-transform: uppercase; }
.rec { display: inline-flex; align-items: center; gap: 8px; color: var(--white); padding: 6px 12px; border-radius: 999px; background: rgba(225, 6, 0, .18); box-shadow: inset 0 0 0 1px rgba(225, 6, 0, .5); }
.rec::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--red); animation: blink 1.2s steps(2, start) infinite; box-shadow: 0 0 10px var(--red); }
@keyframes blink { to { visibility: hidden; } }
.hero h1 { font-size: clamp(54px, min(7.2vw, 11.5vh), 124px); font-weight: 800; line-height: .9; text-transform: uppercase; letter-spacing: .012em; word-spacing: .04em; }
.hero h1 .l { display: block; }
.hero h1 .outline { color: transparent; -webkit-text-stroke: 2px var(--white); }
.hero h1 .red { color: var(--red); text-shadow: 0 0 40px rgba(225, 6, 0, .45); transition: text-shadow .4s ease; }
.hero h1:hover .red { text-shadow: 0 0 50px rgba(225, 6, 0, .8), 0 0 24px rgba(225, 6, 0, .6); }
.hero h1 .dot { color: var(--green-glow); text-shadow: 0 0 24px rgba(47, 203, 124, .6); }
.hero__text { display: grid; gap: 10px; max-width: 56ch; color: #C9D1CC; font-size: clamp(16px, 1.3vw, 18px); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__index {
  position: absolute; right: var(--gutter); top: 50%; transform: translateY(-50%); z-index: 2;
  display: grid; gap: 4px; counter-reset: ch;
}
.hero__index button {
  display: grid; grid-template-columns: auto; align-items: center; gap: 12px; justify-content: end; text-align: right;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-dark);
  padding: 6px 0; transition: color .3s;
}
.hero__index button span { order: 2; }
.hero__index button i { order: 1; font-style: normal; opacity: .55; transform: none; transition: opacity .3s, transform .3s var(--ease); white-space: nowrap; }
.hero__index button::after { content: ""; order: 3; width: 18px; height: 2px; background: currentColor; transition: width .4s var(--ease); }
.hero__index { grid-template-columns: auto; }
.hero__index button { grid-template-columns: auto 18px; }
.hero__index button:hover i, .hero__index button.is-active i { opacity: 1; transform: translateX(-4px); }
.hero__index button.is-active { color: var(--white); }
.hero__index button.is-active::after { width: 42px; background: var(--red); }
.hero__index button:hover { color: var(--white); }

.hero__bar { position: relative; z-index: 2; border-top: 1px solid var(--line-dark); background: linear-gradient(to top, rgba(10, 12, 11, .85), rgba(10, 12, 11, .2)); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.hero__bar .container { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 28px; padding-block: 18px; }
.onair { font-family: var(--f-mono); font-size: 11px; letter-spacing: .2em; color: var(--muted-dark); text-transform: uppercase; display: grid; gap: 4px; }
.onair b { color: var(--green-glow); font-weight: 500; }
.now { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; min-width: 0; }
.now__icon { width: 50px; height: 50px; object-fit: contain; background: transparent; padding: 0; border: none; flex-shrink: 0; filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .7)); transition: transform .3s; }
.now__name { font-family: var(--f-display); font-weight: 800; font-size: clamp(28px, 3vw, 42px); text-transform: uppercase; line-height: 1; }
.now__sub { color: var(--muted-dark); font-size: 15px; }
.hero__tab-icon { width: 22px; height: 22px; object-fit: contain; vertical-align: middle; margin-right: 6px; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .6)); }
.svc-row__icon { width: 68px; height: 68px; background: transparent; display: flex; align-items: center; justify-content: center; padding: 0; flex-shrink: 0; border: none; transition: transform .35s var(--ease), filter .35s; }
.svc-row__icon img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 8px 16px rgba(0, 0, 0, .5)); }
.svc-row:hover .svc-row__icon { transform: scale(1.15); filter: drop-shadow(0 0 16px rgba(225, 6, 0, .6)); }
.now__progress { grid-column: 1 / -1; height: 2px; background: var(--line-dark); position: relative; overflow: hidden; margin-top: -8px; }
.now__progress i { position: absolute; inset: 0; background: linear-gradient(90deg, var(--red), var(--green)); transform-origin: 0 50%; transform: scaleX(0); }
.hero__tc { font-family: var(--f-mono); font-size: 13px; color: var(--white); font-variant-numeric: tabular-nums; letter-spacing: .08em; display: grid; justify-items: end; gap: 4px; }
.hero__tc small { font-size: 10px; letter-spacing: .2em; color: var(--muted-dark); }
.hero__scroll { position: absolute; left: 50%; bottom: 98px; transform: translateX(-50%); z-index: 2; width: 26px; height: 42px; border-radius: 14px; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .5); }
.hero__scroll::after { content: ""; position: absolute; left: 50%; top: 9px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 3px; background: var(--red); animation: scrolly 1.8s var(--ease) infinite; }
@keyframes scrolly { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

@media (max-width: 1080px) {
  .hero__index { position: relative; right: auto; top: auto; transform: none; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 0 var(--gutter) 14px; margin-top: 8px; }
  .hero__index::-webkit-scrollbar { display: none; }
  .hero__index button { display: inline-flex; flex: 0 0 auto; padding: 8px 14px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-dark); }
  .hero__index button::after { display: none; }
  .hero__index button i { opacity: 1; transform: none; }
  .hero__index button.is-active { background: var(--red); box-shadow: none; }
  .hero__scroll { display: none; }
}
@media (max-width: 720px) {
  .hero__main { align-items: flex-end; padding-top: calc(var(--header-h) + 38vh); }
  .hero__bar .container { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .onair { display: none; }
  .now__progress { margin-top: 0; }
  .hero__canvas { height: 72%; }
}

/* ---------- Marquee (brands) ---------- */
.brands { padding-block: clamp(56px, 7vw, 96px); background: var(--white); overflow: hidden; }
.brands__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; margin-bottom: 34px; }
.brands__head h2 { font-size: clamp(30px, 3.4vw, 44px); text-transform: uppercase; }
.brands__head p { font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; color: var(--muted); text-transform: uppercase; }
.marquee { --dur: 70s; display: flex; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee + .marquee { margin-top: 16px; }
.marquee__track { display: flex; gap: 16px; padding-right: 16px; flex-shrink: 0; animation: marq var(--dur) linear infinite; }
.marquee--rev .marquee__track { animation-direction: reverse; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marq { to { transform: translateX(-100%); } }
.logo-tile {
  flex: 0 0 auto; width: 176px; height: 96px; border-radius: 16px; background: var(--paper);
  display: grid; place-items: center; padding: 14px 20px; position: relative;
  transition: background .35s, transform .4s var(--ease), box-shadow .35s;
}
.logo-tile img { max-height: 60px; max-width: 100%; width: auto; object-fit: contain; filter: grayscale(1) contrast(1.05); opacity: .72; transition: filter .35s, opacity .35s; }
.logo-tile:hover { background: var(--white); transform: translateY(-4px); box-shadow: 0 18px 40px -20px rgba(10, 12, 11, .35), 0 0 0 1px var(--line); }
.logo-tile:hover img { filter: none; opacity: 1; }
.logo-tile__name { display: none; font-family: var(--f-display); font-weight: 800; font-size: 20px; text-transform: uppercase; text-align: center; line-height: 1; color: var(--ink); }
.logo-tile.no-img img { display: none; }
.logo-tile.no-img .logo-tile__name { display: block; }
.logo-tile.no-img:hover .logo-tile__name { color: var(--red); }

/* ---------- Orbit & Animated Graphics (Think Tank Brands) ---------- */
.brands.brands--orbit {
  position: relative;
  background: radial-gradient(circle at 50% 50%, #121614 0%, #0a0c0b 68%, #050706 100%);
  color: var(--white);
  padding-block: clamp(70px, 8.5vw, 120px);
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.brands__graphics {
  position: absolute;
  inset: 0;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  z-index: 1;
}
.brands__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
}
.brands__glow--red {
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(225, 6, 0, 0.45) 0%, transparent 70%);
  top: 50%;
  left: 32%;
  transform: translate(-50%, -50%);
  animation: pulseGlowRed 9s ease-in-out infinite alternate;
}
.brands__glow--green {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 230, 118, 0.35) 0%, transparent 70%);
  top: 50%;
  left: 68%;
  transform: translate(-50%, -50%);
  animation: pulseGlowGreen 11s ease-in-out infinite alternate;
}
@keyframes pulseGlowRed {
  0% { transform: translate(-50%, -50%) scale(0.85); opacity: 0.25; }
  100% { transform: translate(-50%, -50%) scale(1.15); opacity: 0.5; }
}
@keyframes pulseGlowGreen {
  0% { transform: translate(-50%, -50%) scale(0.9); opacity: 0.2; }
  100% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.45; }
}
.brands__radar {
  width: clamp(750px, 90vw, 1280px);
  height: clamp(750px, 90vw, 1280px);
  opacity: 0.85;
}
.radar__orbit--outer {
  transform-origin: 600px 600px;
  animation: orbitSpinCW 50s linear infinite;
}
.radar__orbit--mid {
  transform-origin: 600px 600px;
  animation: orbitSpinCCW 40s linear infinite;
}
.radar__orbit--inner {
  transform-origin: 600px 600px;
  animation: orbitSpinCW 32s linear infinite;
}
.radar__orbit--core {
  transform-origin: 600px 600px;
  animation: pulseCoreRing 4.5s ease-in-out infinite;
}
.radar__satellites {
  transform-origin: 600px 600px;
  animation: orbitSpinCW 35s linear infinite;
}
.radar__satellites circle {
  filter: drop-shadow(0 0 6px currentColor);
}
.radar__scanner {
  transform-origin: 600px 600px;
  animation: radarSweep 16s linear infinite;
}
@keyframes orbitSpinCW {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes orbitSpinCCW {
  from { transform: rotate(0deg); }
  to { transform: rotate(-360deg); }
}
@keyframes radarSweep {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes pulseCoreRing {
  0%, 100% { opacity: 0.35; stroke-width: 1.5; }
  50% { opacity: 0.85; stroke-width: 2.5; stroke: #00e676; }
}
.brands--orbit .brands__head {
  position: relative;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 40px;
}
.brands__title-group .eyebrow {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.brands--orbit .rec {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 10px var(--red);
  animation: recBlink 1.4s ease-in-out infinite;
}
@keyframes recBlink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.8); }
}
.brands--orbit h2 {
  font-size: clamp(32px, 3.8vw, 48px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-top: 6px;
}
.brands--orbit h2 .red {
  color: var(--red);
  text-shadow: 0 0 24px rgba(225, 6, 0, 0.55);
}
.brands__meta-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.meta-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #00e676;
  box-shadow: 0 0 8px #00e676;
  flex-shrink: 0;
}
.meta-text {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.85);
  text-transform: uppercase;
}
.brands__stage {
  position: relative;
  z-index: 3;
  perspective: 1200px;
  overflow: hidden;
  padding-block: 20px 24px;
}
.brands__center-beacon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.beacon__pulse {
  position: absolute;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  border: 1.5px solid rgba(225, 6, 0, 0.35);
  animation: beaconRipples 3s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}
@keyframes beaconRipples {
  0% { transform: scale(0.8); opacity: 0.9; }
  100% { transform: scale(1.75); opacity: 0; }
}
.beacon__badge {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 116px;
  height: 116px;
  border-radius: 50%;
  background: rgba(10, 13, 11, 0.94);
  border: 1.5px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.85), 0 0 25px rgba(225, 6, 0, 0.3);
  text-align: center;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.beacon__dot {
  position: absolute;
  top: 13px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #00e676;
  box-shadow: 0 0 8px #00e676;
}
.beacon__tag {
  font-family: var(--f-mono);
  font-size: 8px;
  letter-spacing: 0.14em;
  color: var(--muted);
  text-transform: uppercase;
  margin-top: 10px;
}
.beacon__count {
  font-family: var(--f-display);
  font-size: 26px;
  font-weight: 800;
  line-height: 1;
  color: #fff;
  margin: 3px 0;
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.4);
}
.beacon__sub {
  font-family: var(--f-mono);
  font-size: 7px;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.65);
  text-transform: uppercase;
}
.brands__orbit {
  position: relative;
  z-index: 2;
  transform-style: preserve-3d;
  overflow: hidden;
  margin-bottom: 22px;
  mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
}
.brands__orbit--track1 {
  transform: rotateX(6deg) rotateY(-1deg);
}
.brands__orbit--track2 {
  transform: rotateX(-6deg) rotateY(1deg);
  margin-bottom: 0;
}
.brands__track {
  display: flex;
  gap: 18px;
  width: max-content;
  padding-block: 8px;
  animation: orbitScrollCW 72s linear infinite;
  will-change: transform;
}
.brands__orbit--track2 .brands__track {
  animation-name: orbitScrollCCW;
}
.brands__orbit:hover .brands__track {
  animation-play-state: paused;
}
@keyframes orbitScrollCW {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes orbitScrollCCW {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}
.logo-pill {
  flex: 0 0 auto;
  min-width: 180px;
  height: 74px;
  border-radius: 999px;
  background: #ffffff;
  padding: 10px 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  box-shadow: 0 8px 24px -4px rgba(0, 0, 0, 0.55), inset 0 1px 1px rgba(255, 255, 255, 0.9);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
  cursor: pointer;
  user-select: none;
}
.logo-pill:hover {
  transform: translateY(-8px) scale(1.08) translateZ(30px);
  box-shadow: 0 18px 40px -6px rgba(225, 6, 0, 0.5), 0 0 0 2px var(--red);
  border-color: var(--red);
  z-index: 10;
}
.logo-pill img {
  max-height: 48px;
  max-width: 148px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.08));
  transition: transform 0.35s ease;
}
.logo-pill:hover img {
  transform: scale(1.06);
}
.logo-pill__name {
  display: none;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 14px;
  text-transform: uppercase;
  color: #111;
  letter-spacing: 0.04em;
  text-align: center;
}
.logo-pill.no-img img {
  display: none;
}
.logo-pill.no-img .logo-pill__name {
  display: block;
}

@media (max-width: 768px) {
  .brands__stage {
    perspective: none;
    padding-block: 10px;
  }
  .brands__center-beacon {
    display: none;
  }
  .brands__orbit {
    transform: none !important;
    margin-bottom: 14px;
  }
  .logo-pill {
    min-width: 145px;
    height: 60px;
    padding: 8px 16px;
  }
  .logo-pill img {
    max-height: 38px;
    max-width: 118px;
  }
  .brands__meta-badge {
    width: 100%;
    justify-content: center;
  }
}


/* ---------- Services (home, horizontal) ---------- */
.services { background: var(--paper); padding-block: clamp(80px, 10vw, 140px); overflow: hidden; }
.services__viewport { overflow: visible; }
.services__track { display: flex; gap: 20px; width: max-content; padding-inline: var(--gutter); }
.svc-card {
  --tilt-x: 0deg; --tilt-y: 0deg;
  position: relative; flex: 0 0 auto; width: clamp(280px, 26vw, 360px); min-height: 460px;
  border-radius: 24px; padding: 28px; background: var(--white); color: var(--ink);
  display: flex; flex-direction: column; gap: 18px; isolation: isolate; overflow: hidden;
  box-shadow: 0 0 0 1px var(--line);
  transform: perspective(900px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
  transition: transform .5s var(--ease), box-shadow .4s, color .4s;
}
.svc-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(120% 70% at 100% 0%, rgba(225, 6, 0, .55), transparent 60%), radial-gradient(90% 60% at 0% 100%, rgba(8, 140, 70, .45), transparent 60%), var(--ink); opacity: 0; transition: opacity .45s var(--ease); }
.svc-card:hover { color: var(--white); box-shadow: 0 30px 60px -30px rgba(225, 6, 0, .7), 0 0 0 1.5px var(--red); }
.svc-card:hover::before { opacity: 1; }
.svc-card__top { display: flex; justify-content: space-between; align-items: center; }
.svc-card__no { font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; color: var(--muted); transition: color .3s; }
.svc-card:hover .svc-card__no { color: var(--green-glow); }
.svc-card__icon { width: 92px; height: 92px; border-radius: 26px; display: grid; place-items: center; background: var(--red-soft); color: var(--red); transition: background .4s, color .4s, transform .6s var(--ease); }
.svc-card__icon svg { width: 52px; height: 52px; }
.svc-card__icon img { width: 100%; height: 100%; object-fit: contain; display: block; filter: drop-shadow(0 14px 28px rgba(0, 0, 0, .6)) drop-shadow(0 0 20px rgba(225, 6, 0, .2)); transition: filter .5s var(--ease), transform .5s var(--ease); }
.svc-card__icon--img { width: 136px; height: 136px; background: transparent !important; padding: 0 !important; border: none !important; box-shadow: none !important; border-radius: 0 !important; text-decoration: none; cursor: pointer; }
.svc-card:hover .svc-card__icon { background: rgba(255, 255, 255, .08); color: var(--green-glow); transform: translateZ(40px) rotate(-6deg); }
.svc-card:hover .svc-card__icon--img { background: transparent !important; transform: translateZ(48px) scale(1.14) rotate(-3deg); box-shadow: none !important; }
.svc-card:hover .svc-card__icon--img img { filter: drop-shadow(0 22px 42px rgba(0, 0, 0, .75)) drop-shadow(0 0 32px rgba(225, 6, 0, .55)); }
.svc-card__icon svg .draw { stroke-dasharray: 200; stroke-dashoffset: 0; }
.svc-card:hover .svc-card__icon svg .draw { animation: icon-draw 1.1s var(--ease); }
@keyframes icon-draw { from { stroke-dashoffset: 200; } }
.svc-card h3 { font-size: clamp(30px, 2.8vw, 42px); text-transform: uppercase; margin-top: auto; word-break: keep-all; overflow-wrap: break-word; hyphens: none; line-height: 1.08; }
.svc-card h3 a { color: inherit; text-decoration: none; transition: color .3s; }
.svc-card:hover h3 a { color: var(--red); }
.svc-card p { color: var(--muted); transition: color .3s; word-break: normal; }
.svc-card:hover p { color: #C9D1CC; }
.svc-card .link-arrow { margin-top: 6px; align-self: flex-start; }
.svc-card:hover .link-arrow { color: var(--white); }
.svc-card--intro { background: transparent; box-shadow: none; justify-content: space-between; width: clamp(300px, 34vw, 480px); padding-left: 0; }
.svc-card--intro::before { display: none; }
.svc-card--intro:hover { color: var(--ink); box-shadow: none; }
.services__scroll { display: inline-flex; align-items: center; gap: 16px; font-family: var(--f-display); font-weight: 800; font-size: 64px; line-height: 1; text-transform: uppercase; color: transparent; -webkit-text-stroke: 1.5px var(--red); }
.services__scroll svg { width: 80px; height: 30px; color: var(--red); animation: nudge 1.6s var(--ease) infinite; }
@keyframes nudge { 50% { transform: translateX(12px); } }
.services.is-pinned { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding-block: calc(var(--header-h) + 10px) 40px; }
.services.is-pinned .section-head { margin-bottom: 32px; }
.services.is-pinned .h-section { font-size: clamp(44px, 5.6vw, 92px); }
.services.is-pinned .svc-card { min-height: clamp(340px, 52vh, 460px); }

@media (max-width: 1024px) {
  .services__viewport { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .services__viewport::-webkit-scrollbar { display: none; }
  .svc-card { scroll-snap-align: start; min-height: 400px; }
  .svc-card--intro { display: none; }
}

/* ---------- Stats ---------- */
.stats { padding-block: clamp(70px, 8vw, 120px); background: var(--white); border-bottom: 1px solid var(--line); }
.stats__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
.stat { padding: 10px clamp(16px, 2.4vw, 36px); display: grid; gap: 14px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat__icon { width: 44px; height: 44px; color: var(--red); }
.stat__num { font-family: var(--f-display); font-weight: 900; font-size: clamp(64px, 8vw, 128px); line-height: .85; color: var(--green); font-variant-numeric: tabular-nums; display: flex; align-items: baseline; }
.stat__num sup { font-size: .42em; color: var(--red); margin-left: 4px; top: 0; vertical-align: baseline; align-self: flex-start; }
.stat__label { font-family: var(--f-mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 860px) {
  .stats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 0; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
}

/* ---------- Showreels (coverflow) ---------- */
.reels { padding-block: clamp(80px, 10vw, 140px); overflow: hidden; position: relative; isolation: isolate; }
.reels::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 50% at 50% 60%, rgba(225, 6, 0, .18), transparent 70%), radial-gradient(30% 40% at 85% 20%, rgba(8, 140, 70, .16), transparent 70%); }
.coverflow { position: relative; height: clamp(260px, 42vw, 520px); perspective: 1400px; margin-top: 10px; touch-action: pan-y; }
.cf-card {
  position: absolute; left: 50%; top: 50%; width: min(820px, 78vw); aspect-ratio: 16 / 9; max-width: 100%;
  margin: 0; border-radius: 22px; overflow: hidden; background: var(--ink-3);
  transform-style: preserve-3d; transition: transform .8s var(--ease), opacity .6s, filter .6s;
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .9);
  cursor: pointer;
}
.cf-card img, .thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cf-card__video { position: absolute; inset: 0; z-index: 1; overflow: hidden; pointer-events: none; border-radius: 22px; }
.cf-card__video iframe { position: absolute; top: 50%; left: 50%; width: 100%; height: 100%; transform: translate(-50%, -50%) scale(1.2); border: 0; pointer-events: none; }
.thumb-fallback { position: absolute; inset: 0; display: none; place-items: center; background:
  radial-gradient(80% 90% at 20% 20%, rgba(225, 6, 0, .75), transparent 60%), radial-gradient(70% 80% at 90% 90%, rgba(8, 140, 70, .7), transparent 60%), var(--ink-2); }
.thumb-fallback span { font-family: var(--f-display); font-weight: 900; font-size: clamp(28px, 5vw, 64px); text-transform: uppercase; color: rgba(255, 255, 255, .16); text-align: center; line-height: .9; padding: 0 16px; }
.no-thumb .thumb-fallback { display: grid; }
.proj .thumb-fallback { place-items: start; padding-top: 22px; }
.proj .thumb-fallback span { font-size: clamp(26px, 3vw, 44px); text-align: left; }
.no-thumb > img { display: none; }
.cf-card__shade { position: absolute; inset: 0; z-index: 2; background: linear-gradient(to top, rgba(10, 12, 11, .92), rgba(10, 12, 11, .1) 55%); pointer-events: none; }
.cf-card__meta { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; padding: clamp(16px, 3vw, 32px); display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.cf-card__meta > div { min-width: 0; display: grid; gap: 8px; }
.chip { display: inline-flex; align-self: start; justify-self: start; padding: 5px 12px; border-radius: 999px; background: var(--red); color: var(--white); font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.chip--green { background: var(--green); }
.chip--line { background: transparent; box-shadow: inset 0 0 0 1px currentColor; }
.cf-card h3 { font-size: clamp(24px, 3.4vw, 46px); text-transform: uppercase; }
.play { flex: 0 0 auto; width: clamp(54px, 6vw, 78px); aspect-ratio: 1; border-radius: 50%; background: var(--white); color: var(--red); display: grid; place-items: center; box-shadow: 0 0 0 0 rgba(255, 255, 255, .5); animation: ping 2.4s infinite; }
.play svg { width: 36%; height: 36%; margin-left: 8%; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(225, 6, 0, .6); } 80%, 100% { box-shadow: 0 0 0 22px rgba(225, 6, 0, 0); } }
.cf-card:not(.is-active) .play, .cf-card:not(.is-active) .cf-card__meta > div { opacity: 0; transition: opacity .3s; }
.cf-controls { display: flex; justify-content: center; align-items: center; gap: 18px; margin-top: 34px; }
.cf-btn { width: 56px; height: 56px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--line-dark); display: grid; place-items: center; transition: background .3s, box-shadow .3s; }
.cf-btn:hover { background: var(--red); box-shadow: none; }
.cf-btn svg { width: 20px; height: 20px; }
.cf-dots { display: flex; gap: 8px; }
.cf-dots button { width: 10px; height: 10px; border-radius: 99px; background: rgba(255, 255, 255, .25); transition: width .4s var(--ease), background .3s; }
.cf-dots button.is-active { width: 34px; background: var(--green-glow); }

/* ---------- Featured projects (bento) ---------- */
.work { padding-block: clamp(80px, 10vw, 140px); background: var(--white); }
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: clamp(220px, 22vw, 300px); gap: 18px; }
.proj { position: relative; overflow: hidden; border-radius: 22px; background: var(--ink-2); color: var(--white); isolation: isolate; cursor: pointer; }
.proj:nth-child(1) { grid-column: span 7; grid-row: span 2; }
.proj:nth-child(2) { grid-column: span 5; }
.proj:nth-child(3) { grid-column: span 5; }
.proj:nth-child(4) { grid-column: span 4; }
.proj:nth-child(5) { grid-column: span 4; }
.proj:nth-child(6) { grid-column: span 4; }
.proj .thumb { position: absolute; inset: 0; z-index: -2; transition: transform 1.1s var(--ease); }
.proj:hover .thumb { transform: scale(1.07); }
.proj::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(10, 12, 11, .95) 5%, rgba(10, 12, 11, .15) 70%); transition: background .5s; }
.proj:hover::after { background: linear-gradient(to top, rgba(139, 0, 0, .92) 5%, rgba(10, 12, 11, .1) 75%); }
.proj__body { position: absolute; inset: auto 0 0 0; padding: clamp(18px, 2.4vw, 30px); display: grid; gap: 10px; }
.proj h3 { font-size: clamp(26px, 2.6vw, 40px); text-transform: uppercase; }
.proj:nth-child(1) h3 { font-size: clamp(34px, 4vw, 64px); }
.proj p { color: #C9D1CC; font-size: 14px; max-width: 52ch; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.proj__foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 4px; }
.proj .link-arrow { color: var(--white); }
.proj__play { width: 44px; height: 44px; border-radius: 50%; background: var(--white); color: var(--red); display: grid; place-items: center; transform: scale(.6); opacity: 0; transition: transform .4s var(--ease), opacity .3s; }
.proj__play svg { width: 16px; height: 16px; margin-left: 3px; }
.proj:hover .proj__play { transform: none; opacity: 1; }
@media (max-width: 900px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 260px; }
  .proj:nth-child(n) { grid-column: span 1; grid-row: span 1; }
  .proj:nth-child(1) { grid-column: span 2; grid-row: span 1; }
  .proj__play { opacity: 1; transform: none; }
}
@media (max-width: 560px) {
  .bento { grid-template-columns: minmax(0, 1fr); }
  .proj:nth-child(n) { grid-column: span 1; }
}

/* ---------- Process ---------- */
.process { padding-block: clamp(80px, 10vw, 140px); background: var(--paper); position: relative; }
.process__line { width: 100%; height: 120px; margin-bottom: -40px; overflow: visible; }
.process__line path { fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.process__line .bg { stroke: var(--line); }
.process__line .fg { stroke: url(#proc-grad); }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; position: relative; }
.step { background: var(--white); border-radius: 22px; padding: 28px; display: grid; gap: 14px; align-content: start; box-shadow: 0 0 0 1px var(--line); transition: box-shadow .5s, transform .5s var(--ease); }
.step__top { display: flex; justify-content: space-between; align-items: center; }
.step__no { font-family: var(--f-display); font-weight: 900; font-size: 72px; line-height: .8; color: transparent; -webkit-text-stroke: 1.5px var(--muted-dark); transition: color .5s, -webkit-text-stroke-color .5s; }
.step__icon { width: 54px; height: 54px; border-radius: 16px; background: var(--paper); color: var(--muted); display: grid; place-items: center; transition: background .5s, color .5s; }
.step__icon svg { width: 28px; height: 28px; }
.step h3 { font-size: 36px; text-transform: uppercase; }
.step p { color: var(--muted); }
.step.is-lit { box-shadow: 0 0 0 1.5px var(--green), 0 30px 60px -36px rgba(8, 140, 70, .7); transform: translateY(-6px); }
.step.is-lit .step__no { color: var(--green); -webkit-text-stroke-color: var(--green); }
.step.is-lit .step__icon { background: var(--green); color: var(--white); }
@media (max-width: 960px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process__line { display: none; }
}
@media (max-width: 560px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* ---------- FAQ ---------- */
.faq { padding-block: clamp(80px, 10vw, 140px); background: var(--white); }
.faq__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq__grid > div:first-child { display: grid; gap: 20px; position: sticky; top: calc(var(--header-h) + 30px); }
.acc { border-top: 1px solid var(--line); }
.acc details { border-bottom: 1px solid var(--line); position: relative; }
.acc details::before { content: ""; position: absolute; left: 0; top: -1px; bottom: -1px; width: 3px; background: var(--green); transform: scaleY(0); transform-origin: top; transition: transform .45s var(--ease); }
.acc details[open]::before { transform: scaleY(1); }
.acc summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr 44px; gap: 20px; align-items: center; padding: 26px 0 26px 20px; font-family: var(--f-display); font-weight: 800; font-size: clamp(24px, 2.3vw, 32px); line-height: 1.05; text-transform: uppercase; transition: color .3s; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary:hover { color: var(--red); }
.acc .pm { width: 44px; height: 44px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--line); position: relative; transition: transform .45s var(--ease), background .3s, box-shadow .3s; }
.acc .pm::before, .acc .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 16px; height: 2px; margin: -1px 0 0 -8px; background: currentColor; }
.acc .pm::after { transform: rotate(90deg); }
.acc details[open] .pm { transform: rotate(135deg); background: var(--red); color: var(--white); box-shadow: none; }
.acc__body { padding: 0 64px 28px 20px; color: var(--muted); }
@media (max-width: 860px) { .faq__grid { grid-template-columns: minmax(0, 1fr); } .faq__grid > div:first-child { position: static; } .acc__body { padding-right: 0; } }

/* ---------- CTA band ---------- */
.cta { position: relative; overflow: hidden; isolation: isolate; color: var(--white); padding-block: clamp(90px, 12vw, 170px);
  background: radial-gradient(70% 90% at 15% 20%, #FF2A1F, transparent 60%), linear-gradient(135deg, var(--red) 0%, var(--red-deep) 100%); }
.cta canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.cta__inner { display: grid; gap: 28px; justify-items: start; }
.cta h2 { font-size: clamp(54px, 10vw, 168px); font-weight: 900; line-height: .84; text-transform: uppercase; }
.cta h2 .outline { color: transparent; -webkit-text-stroke: 2px var(--white); }
.cta p { font-size: clamp(17px, 1.5vw, 21px); max-width: 48ch; color: rgba(255, 255, 255, .88); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--white); padding-top: clamp(70px, 8vw, 110px); padding-bottom: calc(28px + env(safe-area-inset-bottom, 0px)); overflow: hidden; }
.footer__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.footer__brand { display: grid; gap: 20px; align-content: start; }
.footer__brand p { color: var(--muted-dark); max-width: 40ch; }
.footer__tag { font-family: var(--f-mono); font-size: 11px; letter-spacing: .2em; color: var(--green-glow); text-transform: uppercase; }
.site-footer h4 { font-family: var(--f-mono); font-weight: 500; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted-dark); margin-bottom: 18px; line-height: 1.4; }
.footer__links { display: grid; gap: 10px; }
.footer__links a { display: inline-flex; gap: 8px; align-items: center; transition: color .3s, transform .3s var(--ease); }
.footer__links a:hover { color: var(--green-glow); transform: translateX(4px); }
.footer__contact { display: grid; gap: 12px; color: #D6DDD9; font-style: normal; }
.footer__contact a:hover { color: var(--green-glow); }
.socials { display: flex; gap: 10px; margin-top: 8px; flex-wrap: wrap; }
.socials a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line-dark); transition: background .3s, box-shadow .3s, transform .3s var(--ease); }
.socials a:hover { background: var(--red); box-shadow: none; transform: translateY(-3px); }
.socials svg { width: 18px; height: 18px; }
.footer__giant { margin-top: clamp(40px, 6vw, 80px); font-family: var(--f-display); font-weight: 900; font-size: clamp(90px, 23vw, 360px); line-height: .78; text-align: center; letter-spacing: -.01em; color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .22); user-select: none; background: linear-gradient(90deg, var(--red), var(--green)) 0 0 / 0% 100% no-repeat; -webkit-background-clip: text; background-clip: text; transition: background-size 1.2s var(--ease), -webkit-text-stroke-color .6s; }
.footer__giant:hover { background-size: 100% 100%; -webkit-text-stroke-color: transparent; }
.footer__bottom { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line-dark); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; color: var(--muted-dark); text-transform: uppercase; }
.footer__bottom span + span::before { content: "·"; margin-right: 12px; }
@media (max-width: 900px) { .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer__brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer__grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 250; background: rgba(10, 12, 11, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); display: grid; place-items: center; padding: 20px var(--gutter); opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s; }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__frame { width: min(1180px, 100%); display: grid; gap: 14px; transform: scale(.94); transition: transform .5s var(--ease); }
.lightbox.is-open .lightbox__frame { transform: none; }
.lightbox__video { position: relative; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; background: #000; box-shadow: 0 0 0 1px var(--line-dark); }
.lightbox__video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.lightbox__bar { display: flex; justify-content: space-between; align-items: center; gap: 14px; color: var(--white); flex-wrap: wrap; }
.lightbox__bar h3 { font-size: clamp(22px, 2.6vw, 34px); text-transform: uppercase; }
.lightbox__close { position: absolute; top: calc(18px + env(safe-area-inset-top, 0px)); right: var(--gutter); width: 52px; height: 52px; border-radius: 50%; background: var(--white); color: var(--ink); display: grid; place-items: center; }
.lightbox__close:hover { background: var(--red); color: var(--white); }

/* ---------- Chatbot ---------- */
.chat-fab { position: fixed; right: max(18px, env(safe-area-inset-right, 0px)); bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 110; width: 64px; height: 64px; border-radius: 50%; background: var(--red); color: var(--white); display: grid; place-items: center; box-shadow: 0 16px 40px -12px rgba(225, 6, 0, .8); transition: transform .4s var(--ease), background .3s; }
.chat-fab:hover { transform: scale(1.08) rotate(-6deg); background: var(--green); }
.chat-fab svg { width: 28px; height: 28px; }
.chat-fab::after { content: ""; position: absolute; top: 4px; right: 4px; width: 14px; height: 14px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px var(--white); }
.chat { position: fixed; right: max(18px, env(safe-area-inset-right, 0px)); bottom: calc(96px + env(safe-area-inset-bottom, 0px)); z-index: 111; width: min(380px, calc(100vw - 36px)); height: min(560px, calc(100svh - 140px)); background: var(--white); color: var(--ink); border-radius: 24px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 40px 100px -30px rgba(10, 12, 11, .55), 0 0 0 1px var(--line); transform-origin: bottom right; transform: scale(.85) translateY(20px); opacity: 0; visibility: hidden; transition: transform .45s var(--ease), opacity .3s, visibility .3s; }
.chat.is-open { transform: none; opacity: 1; visibility: visible; }
.chat__head { background: linear-gradient(135deg, var(--red), var(--red-deep)); color: var(--white); padding: 16px 18px; display: flex; align-items: center; gap: 12px; }
.chat__avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--white); color: var(--red); display: grid; place-items: center; font-family: var(--f-display); font-weight: 900; font-size: 20px; flex-shrink: 0; }
.chat__head b { display: block; font-size: 15px; }
.chat__head small { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; opacity: .9; }
.chat__head small::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green-glow); box-shadow: 0 0 8px var(--green-glow); }
.chat__close { margin-left: auto; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; }
.chat__close:hover { background: rgba(255, 255, 255, .15); }
.chat__log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: var(--paper); }
.msg { max-width: 86%; padding: 10px 14px; border-radius: 16px; font-size: 14px; line-height: 1.5; animation: msg-in .4s var(--ease); }
.msg a { color: var(--red); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.msg ul, .msg ol { margin: 6px 0 6px 16px; padding: 0; }
.msg li { margin-bottom: 4px; }
.msg p { margin: 0 0 6px 0; }
.msg p:last-child { margin-bottom: 0; }
.msg--bot { background: var(--white); border-bottom-left-radius: 4px; box-shadow: 0 0 0 1px var(--line); align-self: flex-start; }
.msg--me { background: var(--green); color: var(--white); border-bottom-right-radius: 4px; align-self: flex-end; }
.msg--typing { display: inline-flex; align-items: center; gap: 5px; padding: 12px 18px; min-width: 58px; }
.msg--typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: typing-bounce 1.3s infinite; display: inline-block; }
.msg--typing span:nth-child(2) { animation-delay: .2s; }
.msg--typing span:nth-child(3) { animation-delay: .4s; }
@keyframes typing-bounce { 0%, 60%, 100% { transform: translateY(0); opacity: .35; } 30% { transform: translateY(-7px); opacity: 1; background: var(--red); } }
.msg[dir="rtl"] { text-align: right; }
@keyframes msg-in { from { opacity: 0; transform: translateY(8px); } }
.chat__quick { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 14px; background: var(--paper); border-top: 1px solid var(--line); }
.chat__quick button { font-size: 12px; padding: 6px 10px; border-radius: 999px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); transition: background .25s, color .25s, box-shadow .25s; cursor: pointer; }
.chat__quick button:hover { background: var(--red); color: var(--white); box-shadow: none; }
.chat__form { display: flex; gap: 8px; padding: 12px; background: var(--white); border-top: 1px solid var(--line); }
.chat__form input { flex: 1; min-width: 0; border: 0; background: var(--paper); border-radius: 999px; padding: 0 16px; height: 44px; font: inherit; font-size: 14px; color: var(--ink); }
.chat__form input:focus { outline: 2px solid var(--green); }
.chat__form button { width: 44px; height: 44px; border-radius: 50%; background: var(--red); color: var(--white); display: grid; place-items: center; flex-shrink: 0; }

/* ---------- Inner page hero ---------- */
.page-hero { position: relative; overflow: hidden; isolation: isolate; min-height: max(560px, 78svh); display: flex; align-items: flex-end;
  background: radial-gradient(55% 70% at 80% 40%, rgba(225, 6, 0, .24), transparent 60%), radial-gradient(40% 50% at 100% 100%, rgba(8, 140, 70, .22), transparent 65%), var(--ink); }
.page-hero .hero__canvas { z-index: -1; }
.page-hero__inner { padding-top: calc(var(--header-h) + 80px + env(safe-area-inset-top, 0px)); padding-bottom: clamp(48px, 6vw, 84px); display: grid; gap: 22px; justify-items: start; }
.page-hero__inner > * { max-width: 920px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-dark); }
.crumbs a:hover { color: var(--white); }
.crumbs span[aria-current] { color: #FF4A3D; }
.page-hero h1 { font-size: clamp(60px, 10vw, 160px); font-weight: 800; line-height: .88; letter-spacing: .01em; text-transform: uppercase; }
.page-hero h1 .outline { color: transparent; -webkit-text-stroke: 2px var(--white); }
.page-hero h1 .red { color: var(--red); }
.page-hero .lead { color: #C9D1CC; font-size: clamp(18px, 1.6vw, 22px); }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.page-hero__meta { font-family: var(--f-mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-dark); }
.page-hero__meta b { color: var(--green-glow); font-weight: 500; }
@media (max-width: 720px) { .page-hero .hero__canvas { opacity: .55; } }

/* ---------- Service detail ---------- */
.block { padding-block: clamp(70px, 9vw, 130px); }
.block--paper { background: var(--paper); }
.offer { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.offer__text { display: grid; gap: 26px; }
.offer__text p { font-size: clamp(19px, 1.8vw, 26px); line-height: 1.5; color: var(--ink); }
.offer__text p::first-letter { color: var(--red); font-family: var(--f-display); font-weight: 900; font-size: 3.1em; float: left; line-height: .8; margin: 6px 10px 0 0; }
.offer__panel { position: relative; border-radius: 26px; min-height: 480px; background: var(--ink); color: var(--white); padding: 28px; display: flex; flex-direction: column; justify-content: space-between; isolation: isolate; }
.offer__panel canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.offer__panel .big { font-family: var(--f-display); font-weight: 900; font-size: clamp(64px, 8vw, 120px); line-height: .8; text-transform: uppercase; }
.offer__panel .big span { color: var(--red); }
.spec { display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-dark); }
.spec b { color: var(--white); font-weight: 500; }
@media (max-width: 900px) { .offer { grid-template-columns: minmax(0, 1fr); } .offer__panel { min-height: 380px; } }

.included { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.inc { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: clamp(24px, 3vw, 40px); display: grid; gap: 40px; align-content: space-between; min-height: 220px; position: relative; overflow: hidden; isolation: isolate; transition: color .4s; }
.inc::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink); transform: translateY(101%); transition: transform .55s var(--ease); }
.inc:hover { color: var(--white); }
.inc:hover::before { transform: none; }
.inc__dot { width: 14px; height: 14px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 6px var(--red-soft); transition: background .4s, box-shadow .4s, transform .5s var(--ease); }
.inc:hover .inc__dot { background: var(--green-glow); box-shadow: 0 0 0 6px rgba(47, 203, 124, .18); transform: scale(1.2); }
.inc h3 { font-size: clamp(28px, 2.6vw, 40px); text-transform: uppercase; }
@media (max-width: 900px) { .included { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .included { grid-template-columns: minmax(0, 1fr); } .inc { min-height: 150px; } }

.why { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.why > div:first-child { display: grid; gap: 20px; }
.why__list { display: grid; gap: 12px; }
.why__list li { display: grid; grid-template-columns: 52px 1fr; gap: 18px; align-items: center; padding: 18px 22px; background: var(--white); border-radius: 18px; box-shadow: 0 0 0 1px var(--line); font-size: clamp(16px, 1.4vw, 19px); font-weight: 600; transition: transform .4s var(--ease), box-shadow .4s; }
.why__list li:hover { transform: translateX(8px); box-shadow: 0 0 0 1.5px var(--green); }
.check { width: 52px; height: 52px; border-radius: 50%; background: var(--green-soft); color: var(--green); display: grid; place-items: center; }
.check svg { width: 22px; height: 22px; }
@media (max-width: 900px) { .why { grid-template-columns: minmax(0, 1fr); } }

.svc-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.svc-nav a { padding: clamp(28px, 4vw, 56px) var(--gutter); display: grid; gap: 10px; transition: background .4s, color .4s; }
.svc-nav a + a { border-left: 1px solid var(--line); text-align: right; }
.svc-nav a:hover { background: var(--ink); color: var(--white); }
.svc-nav small { font-family: var(--f-mono); font-size: 12px; letter-spacing: .16em; color: var(--red); text-transform: uppercase; }
.svc-nav b { font-family: var(--f-display); font-weight: 900; font-size: clamp(32px, 5vw, 72px); line-height: .9; text-transform: uppercase; }
@media (max-width: 560px) { .svc-nav { grid-template-columns: minmax(0, 1fr); } .svc-nav a + a { border-left: 0; border-top: 1px solid var(--line); } }

/* ---------- Services overview ---------- */
.svc-rows { border-top: 1px solid var(--line-dark); }
.svc-row { display: grid; grid-template-columns: 56px minmax(0, 1.2fr) minmax(0, 1fr) 56px; gap: 24px; align-items: center; padding: clamp(18px, 2.4vw, 30px) 0; border-bottom: 1px solid var(--line-dark); position: relative; transition: padding .45s var(--ease), color .3s; }
.svc-row::before { content: ""; position: absolute; inset: 0 calc(var(--gutter) * -1); z-index: -1; background: linear-gradient(90deg, rgba(225, 6, 0, .22), rgba(8, 140, 70, .12)); opacity: 0; transition: opacity .4s; }
.svc-row:hover, .svc-row.is-active { padding-left: 16px; }
.svc-row:hover::before, .svc-row.is-active::before { opacity: 1; }
.svc-row__no { font-family: var(--f-mono); font-size: 13px; color: var(--muted-dark); letter-spacing: .14em; }
.svc-row h3 { font-size: clamp(32px, 4.4vw, 68px); text-transform: uppercase; word-break: keep-all; overflow-wrap: break-word; hyphens: none; }
.svc-row p { color: var(--muted-dark); }
.svc-row__go { width: 56px; height: 56px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--line-dark); display: grid; place-items: center; transition: background .3s, transform .45s var(--ease), box-shadow .3s; }
.svc-row:hover .svc-row__go { background: var(--red); box-shadow: none; transform: rotate(-45deg); }
.svc-row__go svg { width: 20px; height: 20px; }
.svc-stage { position: relative; }
.svc-stage .container { position: relative; z-index: 1; }
.svc-stage__canvas { position: sticky; top: 0; height: 100svh; margin-bottom: -100svh; pointer-events: none; }
.svc-stage__canvas canvas { width: 100%; height: 100%; display: block; opacity: .75; }
@media (max-width: 720px) { .svc-row { grid-template-columns: 44px minmax(0, 1fr) 48px; gap: 16px; } .svc-row p { display: none; } .svc-row__go { width: 48px; height: 48px; } }

/* ---------- About ---------- */
.about-intro { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.about-intro__text { display: grid; gap: 22px; font-size: clamp(18px, 1.6vw, 22px); }
.creds { display: flex; flex-wrap: wrap; gap: 12px; }
.cred { display: grid; gap: 4px; padding: 18px 22px; border-radius: 18px; background: var(--paper); min-width: 150px; }
.cred b { font-family: var(--f-display); font-weight: 900; font-size: 42px; line-height: .9; color: var(--green); }
.cred span { font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.msg-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.leader { border-radius: 26px; padding: clamp(26px, 3.4vw, 48px); display: grid; gap: 24px; align-content: start; position: relative; overflow: hidden; }
.leader--red { background: var(--red); color: var(--white); }
.leader--ink { background: var(--ink); color: var(--white); }
.leader blockquote { margin: 0; font-size: clamp(19px, 1.7vw, 24px); line-height: 1.45; font-weight: 500; }
.leader blockquote::before { content: "“"; display: block; font-family: var(--f-display); font-size: 120px; line-height: .6; height: 50px; opacity: .5; }
.leader__who { display: flex; align-items: center; gap: 14px; }
.leader__who .av { width: 56px; height: 56px; border-radius: 50%; background: var(--white); color: var(--red); display: grid; place-items: center; font-family: var(--f-display); font-weight: 900; font-size: 22px; }
.leader--ink .leader__who .av { background: var(--green); color: var(--white); }
.leader__who b { display: block; font-size: 17px; }
.leader__who small { font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; opacity: .8; }
.leader p.note { opacity: .85; }
@media (max-width: 860px) { .msg-grid, .about-intro { grid-template-columns: minmax(0, 1fr); } }
.vm { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.vm__card { border-radius: 26px; padding: clamp(26px, 3.4vw, 48px); background: var(--white); box-shadow: 0 0 0 1px var(--line); display: grid; gap: 18px; align-content: start; }
.vm__card h3 { font-size: clamp(40px, 4.4vw, 64px); text-transform: uppercase; }
.vm__card h3 span { color: var(--green); }
.vm__card p { font-size: 18px; }
.commit { display: grid; gap: 10px; margin-top: 8px; }
.commit li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; color: var(--muted); }
.commit li svg { width: 22px; height: 22px; color: var(--green); margin-top: 2px; }
@media (max-width: 860px) { .vm { grid-template-columns: minmax(0, 1fr); } }
.team { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.member { border-radius: 22px; background: var(--white); box-shadow: 0 0 0 1px var(--line); padding: 26px; display: grid; gap: 16px; transition: transform .45s var(--ease), box-shadow .4s; position: relative; overflow: hidden; }
.member:hover { transform: translateY(-6px); box-shadow: 0 0 0 1.5px var(--red), 0 30px 60px -36px rgba(225, 6, 0, .6); }
.member__av { width: 76px; height: 76px; border-radius: 22px; display: grid; place-items: center; font-family: var(--f-display); font-weight: 900; font-size: 32px; color: var(--white); background: linear-gradient(135deg, var(--red), var(--red-deep)); }
.member:nth-child(even) .member__av { background: linear-gradient(135deg, var(--green), var(--green-deep)); }
.member h3 { font-size: 32px; text-transform: uppercase; }
.member__role { font-weight: 700; color: var(--red); font-size: 15px; }
.member__exp { font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--green); }
.member__skills { display: flex; flex-wrap: wrap; gap: 6px; }
.member__skills span { font-size: 12px; padding: 4px 10px; border-radius: 999px; background: var(--paper); color: var(--muted); }

/* ---------- Portfolio / gallery grids ---------- */
.grid-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(340px, 100%), 1fr)); gap: 20px; }
.vcard { position: relative; border-radius: 22px; overflow: hidden; background: var(--white); box-shadow: 0 0 0 1px var(--line); display: flex; flex-direction: column; transition: transform .3s var(--ease), box-shadow .3s; cursor: pointer; content-visibility: auto; contain-intrinsic-size: 320px 240px; }
.vcard:hover { transform: translateY(-6px); box-shadow: 0 0 0 1.5px var(--red), 0 30px 60px -40px rgba(10, 12, 11, .6); }
.vcard .thumb { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--ink-2); }
.vcard .thumb img { transition: transform 1s var(--ease); }
.vcard:hover .thumb img { transform: scale(1.06); }
.vcard .thumb .proj__play { position: absolute; left: 50%; top: 50%; margin: -22px 0 0 -22px; opacity: 1; transform: scale(.9); }
.vcard:hover .thumb .proj__play { transform: scale(1.1); background: var(--red); color: var(--white); }
.vcard__body { padding: 22px 24px 26px; display: grid; gap: 10px; }
.vcard h3 { font-size: 30px; text-transform: uppercase; }
.vcard p { color: var(--muted); font-size: 15px; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.filters button { padding: 10px 20px; border-radius: 999px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; box-shadow: inset 0 0 0 1.5px var(--line); transition: background .3s, color .3s, box-shadow .3s; }
.filters button:hover { box-shadow: inset 0 0 0 1.5px var(--red); color: var(--red); }
.filters button.is-active { background: var(--ink); color: var(--white); box-shadow: none; }
.vcard.is-hidden { display: none; }
.mini-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 48px; }
.mini-stats div { padding: 22px; border-radius: 18px; background: var(--paper); display: grid; gap: 6px; }
.mini-stats b { font-family: var(--f-display); font-weight: 900; font-size: 54px; line-height: .9; color: var(--green); }
.mini-stats span { font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 760px) { .mini-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Blog ---------- */
.posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(360px, 100%), 1fr)); gap: 20px; }
.post { border-radius: 22px; padding: 28px; background: var(--white); box-shadow: 0 0 0 1px var(--line); display: flex; flex-direction: column; gap: 16px; min-height: 320px; transition: transform .45s var(--ease), box-shadow .4s, background .4s, color .4s; }
.post:hover { transform: translateY(-6px); background: var(--ink); color: var(--white); box-shadow: 0 30px 60px -36px rgba(225, 6, 0, .7); }
.post__meta { display: flex; justify-content: space-between; gap: 12px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.post:hover .post__meta { color: var(--muted-dark); }
.post h3 { font-size: clamp(30px, 2.6vw, 38px); text-transform: uppercase; }
.post p { color: var(--muted); }
.post:hover p { color: #C9D1CC; }
.post .link-arrow { margin-top: auto; align-self: flex-start; }
.post:first-child { grid-column: 1 / -1; min-height: 0; background: var(--red); color: var(--white); box-shadow: none; }
.post:first-child .post__meta, .post:first-child p { color: rgba(255, 255, 255, .85); }
.post:first-child h3 { font-size: clamp(40px, 5vw, 76px); max-width: 16ch; }
.post:first-child .link-arrow { color: var(--white); }
.post:first-child:hover { background: var(--ink); }
.article { max-width: 760px; margin: 0 auto; display: grid; gap: 22px; font-size: 18px; }
.article > p:first-child { font-size: clamp(20px, 1.9vw, 25px); line-height: 1.5; font-weight: 500; }
.article h2 { font-size: clamp(32px, 3.2vw, 46px); text-transform: uppercase; margin-top: 20px; }
.article h2 span { color: var(--red); font-family: var(--f-mono); font-size: .38em; vertical-align: middle; margin-right: 10px; letter-spacing: .1em; }
.article p { color: #2A302D; }
.article blockquote { margin: 8px 0; padding: 22px 26px; border-radius: 18px; background: var(--green-soft); border-left: 4px solid var(--green); font-size: 20px; font-weight: 600; }
.article-foot { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: center; max-width: 760px; margin: 48px auto 0; padding-top: 28px; border-top: 1px solid var(--line); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.contact-info { display: grid; gap: 16px; }
.ci { display: grid; grid-template-columns: 52px 1fr; gap: 16px; align-items: start; padding: 22px; border-radius: 20px; background: var(--paper); }
.ci__icon { width: 52px; height: 52px; border-radius: 16px; background: var(--red); color: var(--white); display: grid; place-items: center; }
.ci:nth-child(even) .ci__icon { background: var(--green); }
.ci__icon svg { width: 24px; height: 24px; }
.ci small { font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); display: block; margin-bottom: 4px; }
.ci b, .ci a { font-size: 17px; font-weight: 700; word-break: break-word; }
.ci a:hover { color: var(--red); }
.map { border-radius: 20px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--paper); box-shadow: 0 0 0 1px var(--line); }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.4) contrast(1.05); }
.form { background: var(--ink); color: var(--white); border-radius: 28px; padding: clamp(26px, 4vw, 52px); display: grid; gap: 20px; }
.form h2 { font-size: clamp(40px, 4.6vw, 68px); text-transform: uppercase; }
.form p.lead { color: var(--muted-dark); }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: grid; gap: 8px; align-content: start; }
.field label { font-family: var(--f-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-dark); }
.field input, .field select, .field textarea { width: 100%; min-width: 0; font: inherit; font-size: 16px; color: var(--white); background: var(--ink-3); border: 1px solid var(--line-dark); border-radius: 14px; padding: 14px 16px; transition: border-color .3s, box-shadow .3s; }
.field select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, #9AA59F 50%), linear-gradient(135deg, #9AA59F 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green-glow); box-shadow: 0 0 0 3px rgba(47, 203, 124, .25); }
.field .err { font-size: 13px; color: #FF6B61; min-height: 0; }
.form__note { font-size: 14px; color: var(--muted-dark); }
.form__ok { padding: 16px 18px; border-radius: 14px; background: rgba(8, 140, 70, .16); box-shadow: inset 0 0 0 1px rgba(8, 140, 70, .5); color: #BFF0D4; font-size: 15px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .form__row { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(40px); }
.js .reveal.is-in { opacity: 1; transform: none; transition: opacity .9s var(--ease), transform 1s var(--ease); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .marquee__track { animation: none; }
}

/* ---------- Crossing ticker bands ---------- */
.ticker { position: relative; height: clamp(150px, 16vw, 230px); overflow: hidden; background: var(--white); display: grid; place-items: center; }
.ticker__band { position: absolute; left: -6%; right: -6%; overflow: hidden; padding-block: clamp(10px, 1.2vw, 16px); }
.ticker__band--red { background: var(--red); color: var(--white); transform: rotate(-2.6deg); z-index: 2; box-shadow: 0 20px 40px -24px rgba(139, 0, 0, .8); }
.ticker__band--green { background: var(--green-deep); color: var(--white); transform: rotate(2.2deg); }
.ticker__track { display: flex; width: max-content; align-items: center; gap: clamp(20px, 2.4vw, 36px); will-change: transform; }
.ticker__item { font-family: var(--f-display); font-weight: 800; font-size: clamp(30px, 4.2vw, 62px); line-height: 1; text-transform: uppercase; letter-spacing: .01em; white-space: nowrap; }
.ticker__item.o { color: transparent; -webkit-text-stroke: 1.5px currentColor; }
.ticker__band--red .ticker__item.o { -webkit-text-stroke-color: var(--white); }
.ticker__band--green .ticker__item.o { -webkit-text-stroke-color: var(--green-glow); }
.ticker__star { width: clamp(18px, 2vw, 28px); height: clamp(18px, 2vw, 28px); flex: 0 0 auto; }
.ticker__band--red .ticker__star { color: var(--white); }
.ticker__band--green .ticker__star { color: var(--green-glow); }

/* ---------- Dark services + stats ---------- */
.services.on-dark { background: radial-gradient(50% 60% at 90% 10%, rgba(225, 6, 0, .16), transparent 70%), radial-gradient(40% 50% at 0% 100%, rgba(8, 140, 70, .18), transparent 70%), var(--ink); }
.services.on-dark .svc-card { background: var(--ink-2); color: var(--white); box-shadow: 0 0 0 1px var(--line-dark); }
.services.on-dark .svc-card p { color: var(--muted-dark); }
.services.on-dark .svc-card__icon { background: rgba(225, 6, 0, .14); color: #FF4A3D; }
.services.on-dark .svc-card .link-arrow { color: #FF4A3D; }
.services.on-dark .svc-card--intro { background: transparent; box-shadow: none; }
.services.on-dark .svc-card--intro:hover { color: var(--white); }
.stats.on-dark { background: var(--ink); border-bottom: 0; border-top: 1px solid var(--line-dark); }
.stats.on-dark .stat { border-left-color: var(--line-dark); }
.stats.on-dark .stat__num { color: var(--green-glow); text-shadow: 0 0 40px rgba(47, 203, 124, .35); }
.stats.on-dark .stat__label { color: var(--muted-dark); }
.stats.on-dark .stat__icon { color: #FF4A3D; }
.stats.on-dark + .reels { border-top: 1px solid var(--line-dark); }

/* ---------- Cursor spotlight on dark bands ---------- */
.spot { position: relative; isolation: isolate; }
.spot::after { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0; transition: opacity .5s; background: radial-gradient(520px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .07), rgba(47, 203, 124, .05) 35%, transparent 70%); }
.spot:hover::after { opacity: 1; }
.spot > * { position: relative; z-index: 1; }

/* ---------- Clip reveal for media cards ---------- */
.js .proj.reveal, .js .vcard.reveal { opacity: 1; transform: none; clip-path: inset(22% 0 0 0 round 22px); }
.js .proj.reveal .thumb, .js .vcard.reveal .thumb img { transform: scale(1.15); }
.js .proj.reveal.is-in, .js .vcard.reveal.is-in { clip-path: inset(0 0 0 0 round 22px); transition: clip-path .4s var(--ease); }
.js .proj.reveal.is-in .thumb, .js .vcard.reveal.is-in .thumb img { transform: scale(1); transition: transform .6s var(--ease); }
.js .proj.reveal.is-in:hover .thumb { transform: scale(1.07); }

/* ---------- Smooth scroll (Lenis) ---------- */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
@media (max-width: 640px) {
  .intro__map { width: 100vw; height: 70svh; }
  .intro__city text { font-size: 38px; stroke-width: 9px; }
  .intro__city.is-hq text { font-size: 42px; }
}

/* ==========================================================================
   AdPulse logo — layered & animated
   emblem (image) + wordmark (mask, animated fill) + IMC line (mask, contrast colour)
   Colours flip automatically with the surface underneath (dark ↔ light).
   ========================================================================== */
.logo {
  --lw-a: #E10600; --lw-b: #FF5A2A; --lw-shine: #FFFFFF; --l-imc: #FFFFFF; --l-halo: rgba(225, 6, 0, .55);
  display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; line-height: 1; color: inherit;
}
.logo.is-light, .site-header.is-light .logo { --lw-a: #D10500; --lw-b: #8B0000; --lw-shine: #067A3E; --l-imc: #0A0C0B; --l-halo: rgba(6, 122, 62, .45); }
.logo__emblem { position: relative; width: 50px; height: 50px; flex: 0 0 auto; display: grid; place-items: center; perspective: 400px; }
.logo__emblem img { width: 100%; height: 100%; object-fit: contain; position: relative; z-index: 1; transform-style: preserve-3d; animation: emblem-flip 9s cubic-bezier(.65, 0, .35, 1) infinite; filter: drop-shadow(0 4px 12px rgba(0, 0, 0, .35)); }
@keyframes emblem-flip { 0%, 78% { transform: rotateY(0); } 90% { transform: rotateY(180deg) scale(1.06); } 100% { transform: rotateY(360deg); } }
.logo__halo { position: absolute; inset: -5px; border-radius: 50%; z-index: 0;
  background: conic-gradient(from var(--ang, 0deg), var(--red), transparent 30%, var(--green-glow) 50%, transparent 70%, var(--red));
  -webkit-mask: radial-gradient(closest-side, transparent calc(100% - 3px), #000 calc(100% - 2px)); mask: radial-gradient(closest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
  animation: halo-spin 4s linear infinite; filter: drop-shadow(0 0 6px var(--l-halo)); }
@property --ang { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes halo-spin { to { --ang: 360deg; } }
.logo__rays { position: absolute; inset: 7%; z-index: 2; border-radius: 50%; pointer-events: none; mix-blend-mode: screen;
  background: conic-gradient(from 0deg, transparent 0 20deg, rgba(47, 203, 124, .35) 26deg, transparent 34deg 180deg, rgba(255, 255, 255, .25) 186deg, transparent 194deg);
  animation: rays 6s linear infinite; }
@keyframes rays { to { transform: rotate(360deg); } }
.logo__type { display: grid; gap: 5px; justify-items: start; }
.logo__word, .logo__imc { display: block; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-size: 100% 100%; mask-size: 100% 100%; }
.logo__word { width: 132px; aspect-ratio: 7.18; -webkit-mask-image: url(/assets/img/wordmark-mask.png); mask-image: url(/assets/img/wordmark-mask.png);
  background: linear-gradient(100deg, var(--lw-a) 0%, var(--lw-b) 22%, var(--lw-a) 38%, var(--lw-shine) 48%, var(--lw-shine) 52%, var(--lw-a) 62%, var(--lw-b) 80%, var(--lw-a) 100%) 0 0 / 300% 100%;
  animation: word-sweep 5.5s cubic-bezier(.65, 0, .35, 1) infinite; transition: filter .5s; }
@keyframes word-sweep { 0% { background-position: 100% 0; } 55%, 100% { background-position: 0% 0; } }
.logo__imc { width: 78px; aspect-ratio: 7.96; -webkit-mask-image: url(/assets/img/imc-mask.png); mask-image: url(/assets/img/imc-mask.png); background: var(--l-imc); transition: background-color .5s var(--ease); opacity: .9; }
.logo:hover .logo__emblem img { animation: emblem-spin .9s var(--ease); }
@keyframes emblem-spin { from { transform: rotateY(0) scale(1); } 50% { transform: rotateY(180deg) scale(1.12); } to { transform: rotateY(360deg) scale(1); } }
.logo:hover .logo__word { animation-duration: 1.6s; }
.logo:hover .logo__halo { animation-duration: 1.2s; }

/* stacked (footer) */
.logo--stack { flex-direction: column; align-items: flex-start; gap: 16px; }
.logo--stack .logo__emblem { width: 96px; height: 96px; }
.logo--stack .logo__word { width: 230px; }
.logo--stack .logo__imc { width: 130px; }
.logo--stack .logo__badge { width: 230px; height: auto; border-radius: 10px; }

/* intro lockup */
.logo--intro { gap: 18px; }
.logo--intro .logo__emblem { width: clamp(64px, 8vw, 92px); height: clamp(64px, 8vw, 92px); }
.logo--intro .logo__word { width: clamp(190px, 24vw, 300px); }
.logo--intro .logo__imc { width: clamp(110px, 13vw, 160px); }
.intro__brand.logo { font-size: 0; }

/* chat avatar */
.chat__avatar { background: var(--ink); padding: 3px; overflow: hidden; }
.chat__avatar img { width: 100%; height: 100%; object-fit: contain; animation: emblem-flip 9s cubic-bezier(.65, 0, .35, 1) infinite; }

/* header: automatic contrast with the band underneath */
.site-header .logo { transition: transform .4s var(--ease); }
.site-header.is-solid.is-dark { background: rgba(10, 12, 11, .72); color: var(--white); box-shadow: 0 1px 0 var(--line-dark); }
.site-header.is-solid.is-dark .burger { color: var(--white); }
@media (max-width: 1080px) { .logo__word { width: 112px; } .logo__imc { width: 66px; } .logo__emblem { width: 44px; height: 44px; } }
@media (prefers-reduced-motion: reduce) { .logo__emblem img, .logo__halo, .logo__rays, .logo__word, .chat__avatar img { animation: none; } }

/* ==========================================================================
   Service pages — 3D sections
   ========================================================================== */
/* scroll-scrubbed paragraph: words light up as you read */
.scrub-text .sw { color: var(--ink); transition: color .25s linear; }
.js .scrub-text.is-scrub .sw { color: rgba(10, 12, 11, .16); }
.js .scrub-text.is-scrub .sw.on { color: var(--ink); }
.js .scrub-text.is-scrub .sw.hot { color: var(--red); }

/* 3D panel */
.offer__stage { position: relative; perspective: 1400px; perspective-origin: 50% 40%; min-width: 0; }
.p3d { position: relative; min-height: 500px; border-radius: 26px; color: var(--white); padding: 30px; display: flex; flex-direction: column; justify-content: space-between; transform-style: preserve-3d; transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); will-change: transform; }
.p3d__plate { position: absolute; inset: 0; border-radius: inherit; transform: translateZ(0);
  background: radial-gradient(90% 70% at 100% 0%, rgba(225, 6, 0, .6), transparent 60%), radial-gradient(80% 60% at 0% 100%, rgba(8, 140, 70, .55), transparent 60%), var(--ink);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
.p3d__floor { position: absolute; left: 8%; right: 8%; bottom: 10%; height: 46%; transform: translateZ(14px) rotateX(64deg); transform-origin: bottom; opacity: .5;
  background-image: linear-gradient(rgba(255, 255, 255, .14) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .14) 1px, transparent 1px); background-size: 34px 34px;
  mask-image: linear-gradient(to top, #000, transparent); -webkit-mask-image: linear-gradient(to top, #000, transparent); animation: floor-run 2.4s linear infinite; }
@keyframes floor-run { to { background-position: 0 34px, 0 0; } }
.p3d__rings { position: absolute; right: 8%; top: 12%; width: 46%; aspect-ratio: 1; transform-style: preserve-3d; transform: translateZ(26px); }
.p3d__rings i { position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .18); animation: ring3d 9s linear infinite; }
.p3d__rings i:nth-child(1) { border-color: rgba(225, 6, 0, .6); }
.p3d__rings i:nth-child(2) { inset: 12%; border-color: rgba(47, 203, 124, .55); animation-duration: 7s; animation-direction: reverse; }
.p3d__rings i:nth-child(3) { inset: 26%; border-style: dashed; animation-duration: 12s; }
@keyframes ring3d { from { transform: rotateX(62deg) rotateZ(0); } to { transform: rotateX(62deg) rotateZ(360deg); } }
.p3d__layer { position: relative; transform: translateZ(var(--z)); }
.p3d__icon .svc-card__icon { background: rgba(255, 255, 255, .08); color: var(--green-glow); box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .8); }
.p3d__big { font-family: var(--f-display); font-weight: 900; font-size: clamp(72px, 9vw, 140px); line-height: .8; text-transform: uppercase; text-shadow: 0 30px 50px rgba(0, 0, 0, .55); }
.p3d__big span { color: var(--red); }
.p3d__glare { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; transform: translateZ(100px); opacity: var(--go, 0); transition: opacity .4s;
  background: radial-gradient(420px circle at var(--gx, 50%) var(--gy, 30%), rgba(255, 255, 255, .22), transparent 60%); mix-blend-mode: overlay; }
.p3d__shadow { position: absolute; left: 10%; right: 10%; bottom: -34px; height: 40px; border-radius: 50%; background: radial-gradient(closest-side, rgba(10, 12, 11, .35), transparent); filter: blur(8px); transform: scaleX(var(--ss, 1)); }
@media (max-width: 900px) { .p3d { min-height: 400px; } }

/* 3D included grid */
.included-stage { perspective: 1600px; perspective-origin: 50% 0%; }
.included { transform-style: preserve-3d; transform-origin: 50% 0%; }
.inc { transform-style: preserve-3d; backface-visibility: hidden; transition: color .4s, transform .5s var(--ease), box-shadow .5s; }
.inc h3, .inc .inc__dot { transform: translateZ(0); transition: transform .5s var(--ease); }
.inc:hover { transform: translateZ(40px); box-shadow: 0 40px 60px -30px rgba(10, 12, 11, .55); z-index: 2; }
.inc:hover h3 { transform: translateZ(30px); }
.inc:hover .inc__dot { transform: translateZ(50px) scale(1.2); }

@media (prefers-reduced-motion: reduce) { .p3d__floor, .p3d__rings i { animation: none; } }
.offer-sec, .inc-sec { overflow-x: clip; }

/* ==========================================================================
   Capabilities — 3D ring (pinned, scroll-rotated)
   Default (no JS / reduced motion): tidy card grid.
   ========================================================================== */
.cap-sec { position: relative; overflow: clip; background: var(--ink); color: var(--white); padding-block: clamp(80px, 9vw, 130px); isolation: isolate; }
.cap-sec__bg { position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(45% 55% at 72% 55%, rgba(225, 6, 0, .22), transparent 70%), radial-gradient(35% 45% at 95% 100%, rgba(8, 140, 70, .28), transparent 70%),
              linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px) 0 0 / 56px 56px, linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px) 0 0 / 56px 56px; }
.cap-sec .h-section { color: var(--white); }
.cap-sec .lead { color: var(--muted-dark); }
.cap-sec__inner { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.cap-sec__head { display: grid; gap: 18px; align-content: center; }
.cap-list { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 2px; border-left: 1px solid var(--line-dark); }
.cap-list button { display: block; width: 100%; text-align: left; padding: 9px 0 9px 18px; margin-left: -1px; border-left: 2px solid transparent; color: var(--muted-dark); font-family: var(--f-display); font-weight: 700; font-size: clamp(18px, 1.5vw, 22px); text-transform: uppercase; letter-spacing: .01em; line-height: 1.1; transition: color .35s, border-color .35s, padding .45s var(--ease); }
.cap-list button:hover { color: var(--white); }
.cap-list li.is-active button { color: var(--white); border-left-color: var(--red); padding-left: 26px; }

/* card */
.cap { position: relative; border-radius: 22px; padding: 24px; min-height: 250px; display: flex; flex-direction: column; gap: 16px; color: var(--white);
  background: linear-gradient(160deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .02) 45%), var(--ink-2); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1), 0 40px 80px -40px rgba(0, 0, 0, .9); }
.cap__glow { position: absolute; inset: -1px; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .5s;
  background: conic-gradient(from var(--ang, 0deg), transparent 0 60%, var(--red) 75%, var(--green-glow) 88%, transparent 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; padding: 1.5px; animation: halo-spin 3.5s linear infinite; }
.cap.is-front .cap__glow { opacity: 1; }
.cap__top { display: flex; justify-content: space-between; align-items: center; }
.cap__icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: rgba(225, 6, 0, .16); color: #FF5A4F; transition: background .4s, color .4s; }
.cap__icon svg { width: 28px; height: 28px; }
.cap.is-front .cap__icon { background: var(--green); color: var(--white); }
.cap__tag { font-family: var(--f-mono); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--green-glow); padding: 5px 10px; border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(47, 203, 124, .45); }
.cap__title { font-size: clamp(28px, 2.4vw, 38px); text-transform: uppercase; margin-top: auto; line-height: .95; }
.cap__foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; padding-top: 14px; border-top: 1px solid var(--line-dark); }
.cap__svc { font-family: var(--f-mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-dark); }
.cap__ask { font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: #FF5A4F; }
.cap__ask:hover { color: var(--white); }

/* fallback grid */
.cap3d__ring { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.cap3d__floor { display: none; }

/* 3D ring mode */
.cap3d.is-3d { position: relative; height: clamp(440px, 62vh, 600px); perspective: 1500px; perspective-origin: 50% 35%; }
.cap3d.is-3d .cap3d__scene { position: absolute; inset: 0; transform-style: preserve-3d; display: grid; place-items: center; }
.cap3d.is-3d .cap3d__ring { --w: clamp(230px, 22vw, 300px); --r: calc(var(--w) * 1.05); display: block; position: relative; width: var(--w); height: calc(var(--w) * 1.05); transform-style: preserve-3d;
  transform: translateZ(calc(var(--r) * -1)) rotateX(var(--tilt, -6deg)) rotateY(var(--rot, 0deg)); will-change: transform; }
.cap3d.is-3d .cap { position: absolute; inset: 0; min-height: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden;
  transform: rotateY(calc(var(--i) * 360deg / var(--n))) translateZ(var(--r)); transition: opacity .35s, filter .35s; }
.cap3d.is-3d .cap:not(.is-front) { filter: brightness(.55) saturate(.7); }
.cap3d.is-3d .cap3d__floor { display: block; position: absolute; left: 50%; top: 84%; width: 130%; max-width: 820px; aspect-ratio: 1; transform: translate(-50%, -50%) rotateX(80deg); border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(225, 6, 0, .35), rgba(8, 140, 70, .18) 55%, transparent 72%); }
.cap3d.is-3d .cap3d__floor::after { content: ""; position: absolute; inset: 18%; border-radius: 50%; border: 1.5px dashed rgba(255, 255, 255, .18); animation: rays 30s linear infinite; }

@media (max-width: 960px) {
  .cap-sec__inner { grid-template-columns: minmax(0, 1fr); }
  .cap-list { display: none; }
  .cap3d.is-3d { height: 440px; }
  .cap3d.is-3d .cap3d__ring { --w: min(64vw, 260px); }
}
@media (max-width: 560px) { .cap3d__ring { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Leader photos ---------- */
.leader__who .av { position: relative; overflow: hidden; width: 64px; height: 64px; }
.leader__who .av img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ==========================================================================
   Team — 3D sliding carousel
   ========================================================================== */
.team-sec { padding-block: clamp(80px, 9vw, 130px); overflow: clip; position: relative; isolation: isolate;
  background: radial-gradient(40% 50% at 50% 60%, rgba(225, 6, 0, .2), transparent 70%), radial-gradient(30% 40% at 90% 10%, rgba(8, 140, 70, .2), transparent 70%), var(--ink); }
.tslider { position: relative; margin-top: 10px; }
.tslider__stage { position: relative; height: clamp(460px, 58vw, 600px); perspective: 1600px; perspective-origin: 50% 40%; transform-style: preserve-3d; touch-action: pan-y; cursor: grab; }
.tslider__stage:active { cursor: grabbing; }
.tm { position: absolute; left: 50%; top: 50%; width: clamp(250px, 26vw, 340px); aspect-ratio: 3 / 4.1; max-width: 86vw; transform-style: preserve-3d; will-change: transform, opacity;
  transform: translate(-50%, -50%); transition: transform .9s cubic-bezier(.2, .8, .2, 1), opacity .7s, filter .7s; }
.tm__card { position: absolute; inset: 0; border-radius: 26px; overflow: hidden; background: var(--ink-3); box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .95), inset 0 0 0 1px rgba(255, 255, 255, .1);
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .4s var(--ease); }
.tm__photo { position: absolute; inset: 0; display: grid; place-items: center;
  background: radial-gradient(70% 60% at 50% 30%, rgba(225, 6, 0, .55), transparent 70%), radial-gradient(60% 50% at 50% 100%, rgba(8, 140, 70, .45), transparent 70%), var(--ink-2); }
.tm:nth-child(even) .tm__photo { background: radial-gradient(70% 60% at 50% 30%, rgba(8, 140, 70, .55), transparent 70%), radial-gradient(60% 50% at 50% 100%, rgba(225, 6, 0, .4), transparent 70%), var(--ink-2); }
.tm__init { font-family: var(--f-display); font-weight: 900; font-size: 120px; color: rgba(255, 255, 255, .14); letter-spacing: .02em; }
.tm__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; transform: scale(1.08); transition: transform 1.2s var(--ease), filter .7s; }
.tm.is-front .tm__photo img { transform: scale(1); }
.tm__shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(10, 12, 11, .96) 8%, rgba(10, 12, 11, .55) 38%, transparent 62%); }
.tm__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 22px 24px; display: grid; gap: 6px; transform: translateZ(40px); }
.tm__exp { justify-self: start; font-family: var(--f-mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--green-glow); padding: 4px 10px; border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(47, 203, 124, .5); background: rgba(10, 12, 11, .5); }
.tm__name { font-size: clamp(30px, 2.8vw, 40px); text-transform: uppercase; line-height: .92; margin-top: 4px; }
.tm__role { color: #FF5A4F; font-weight: 700; font-size: 14px; }
.tm__skills { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 6px; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .6s var(--ease), opacity .5s; }
.tm.is-front .tm__skills { max-height: 80px; opacity: 1; }
.tm__skills span { font-size: 11px; padding: 3px 9px; border-radius: 999px; background: rgba(255, 255, 255, .1); color: #D6DDD9; }
.tm__glare { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s; background: radial-gradient(360px circle at var(--gx, 50%) var(--gy, 20%), rgba(255, 255, 255, .18), transparent 60%); mix-blend-mode: overlay; }
.tm.is-front:hover .tm__glare { opacity: 1; }
.tm.is-front .tm__card { box-shadow: 0 60px 100px -40px rgba(0, 0, 0, .95), 0 0 0 1.5px var(--red), 0 0 60px -10px rgba(225, 6, 0, .45); }
.tm:not(.is-front) { filter: brightness(.5) saturate(.6); cursor: pointer; }
.tslider__ui { display: flex; align-items: center; justify-content: center; gap: 22px; margin-top: 18px; }
.tslider__now { min-width: 0; width: min(360px, 60vw); text-align: center; display: grid; gap: 2px; }
.tslider__now b { font-family: var(--f-display); font-weight: 800; font-size: 24px; text-transform: uppercase; line-height: 1; }
.tslider__now span { font-size: 13px; color: var(--muted-dark); }
.tslider__bar { width: min(420px, 70vw); height: 2px; margin: 18px auto 0; background: var(--line-dark); position: relative; overflow: hidden; border-radius: 2px; }
.tslider__bar i { position: absolute; inset: 0; background: linear-gradient(90deg, var(--red), var(--green-glow)); transform-origin: 0 50%; transform: scaleX(0); }
/* no-JS / reduced motion: simple horizontal scroll row */
.tslider:not(.is-3d):not(.is-flat) .tslider__stage { height: auto; display: flex; gap: 16px; overflow-x: auto; padding: 10px var(--gutter) 20px; perspective: none; scroll-snap-type: x mandatory; }
.tslider:not(.is-3d):not(.is-flat) .tm { position: relative; left: auto; top: auto; transform: none; flex: 0 0 auto; scroll-snap-align: center; }
.tslider:not(.is-3d):not(.is-flat) .tm__skills { max-height: 80px; opacity: 1; }
.tslider:not(.is-3d):not(.is-flat) .tslider__ui, .tslider:not(.is-3d):not(.is-flat) .tslider__bar { display: none; }
/* team cut-out photos: stand on the card floor */
.tm__photo img { object-fit: contain; object-position: 50% 100%; inset: 8% 4% 0 4%; width: 92%; height: 92%; transform-origin: 50% 100%; filter: drop-shadow(0 20px 30px rgba(0, 0, 0, .5)); }
.tm__photo img[src*="/images/about/"] { object-fit: cover; object-position: 50% 15%; inset: 0; width: 100%; height: 100%; }
.tm__photo::after { content: ""; position: absolute; left: 15%; right: 15%; bottom: 30%; height: 38%; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 255, 255, .12), transparent); z-index: -0; pointer-events: none; }
.tm__photo img:not([src*="/images/about/"]) { inset: 3% 4% 16% 4%; height: 81%; }
.tm__photo:has(img) .tm__init { opacity: 0; }

/* ==========================================================================
   Team — clean flat slider (overrides the 3D version)
   No 3D transforms, filters or scaling on photos, so faces stay sharp.
   ========================================================================== */
.tslider.is-flat .tslider__stage { height: auto; perspective: none; overflow: hidden; padding: 20px 0 30px; display: block; }
.tslider.is-flat .tslider__track { display: flex; column-gap: 22px; width: max-content; transition: transform .8s cubic-bezier(.2, .8, .2, 1); will-change: transform; }
.tslider.is-flat .tm { position: relative; left: auto; top: auto; filter: none !important;
  width: clamp(260px, 24vw, 320px); aspect-ratio: auto; flex: 0 0 auto; cursor: pointer; transition: none; }
.tslider.is-flat .tm__card { position: relative; inset: auto; transform: none !important; border-radius: 22px; overflow: hidden; background: var(--white); color: var(--ink);
  box-shadow: 0 30px 60px -34px rgba(0, 0, 0, .8); transition: box-shadow .5s, outline-color .5s; outline: 2px solid transparent; outline-offset: 0; }
.tslider.is-flat .tm.is-front .tm__card { outline-color: var(--red); box-shadow: 0 40px 70px -30px rgba(225, 6, 0, .55); }
.tslider.is-flat .tm:not(.is-front) .tm__card { opacity: .9; transition: opacity .5s, box-shadow .5s; }
.tslider.is-flat .tm:not(.is-front):hover .tm__card { opacity: 1; }
.tslider.is-flat .tm__photo { position: relative; inset: auto; height: 300px; display: block; background: linear-gradient(180deg, #FFFFFF 0%, #EEF1EE 100%); }
.tslider.is-flat .tm:nth-child(even) .tm__photo { background: linear-gradient(180deg, #FFFFFF 0%, #EEF1EE 100%); }
.tslider.is-flat .tm__photo::after { display: none; }
.tslider.is-flat .tm__photo img, .tslider.is-flat .tm.is-front .tm__photo img {
  position: absolute; left: 50%; bottom: 0; top: auto; right: auto; inset: auto auto 0 50%; width: auto; height: 94%; max-width: 100%;
  object-fit: contain; object-position: 50% 100%; transform: translateX(-50%) !important; filter: none; image-rendering: auto; }
.tslider.is-flat .tm__init { color: rgba(10, 12, 11, .12); }
.tslider.is-flat .tm__shade, .tslider.is-flat .tm__glare { display: none; }
.tslider.is-flat .tm__body { position: relative; transform: none; padding: 18px 20px 22px; gap: 4px; background: var(--white); border-top: 3px solid var(--red); }
.tslider.is-flat .tm:nth-child(even) .tm__body { border-top-color: var(--green); }
.tslider.is-flat .tm__name { color: var(--ink); font-size: 30px; }
.tslider.is-flat .tm__role { color: var(--red); }
.tslider.is-flat .tm__exp { color: var(--green); background: var(--green-soft); box-shadow: none; }
.tslider.is-flat .tm__skills { max-height: none; opacity: 1; }
.tslider.is-flat .tm__skills span { background: var(--paper); color: var(--muted); }
@media (max-width: 600px) { .tslider.is-flat .tm { width: 76vw; } .tslider.is-flat .tm__photo { height: 290px; } }

/* ---------- Team: 3D coverflow with crisp front card ----------
   Side cards slide/rotate in 3D; the front card sits on a plain 2D transform
   (no rotation, no depth, no filter), so the photo renders pixel-sharp. */
.tslider.is-cover .tslider__stage { position: relative; overflow: visible; perspective: 1700px; perspective-origin: 50% 45%; height: var(--th, 640px); padding: 0; }
.tslider.is-cover .tslider__track { position: absolute; inset: 0; width: auto; display: block; transform: none; transition: none; }
.tslider.is-cover .tm { position: absolute; left: 50%; top: 50%; transition: transform .9s cubic-bezier(.2, .8, .2, 1), opacity .7s; will-change: auto; backface-visibility: hidden; }
.tslider.is-cover .tm:not(.is-front) .tm__card { opacity: 1; }
.tslider.is-cover .tm__shadeover { position: absolute; inset: 0; border-radius: 22px; background: rgba(10, 12, 11, .45); pointer-events: none; transition: opacity .7s; z-index: 3; }
.tslider.is-cover .tm.is-front .tm__shadeover { opacity: 0; }
.team-sec { overflow: clip; }

/* ---------- Services: auto-sliding 3D conveyor ---------- */
.services.is-auto .services__viewport { overflow: hidden; padding-block: 30px; perspective: 1200px; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.services.is-auto .services__track { will-change: transform; }
.services.is-auto .svc-card { transform: translateZ(var(--cz, 0px)) rotateY(var(--tilt-y, 0deg)); transition: box-shadow .4s, color .4s; scroll-snap-align: none; }
.services.is-auto .svc-card:hover { transform: translateZ(40px) rotateY(0deg); transition: transform .5s var(--ease), box-shadow .4s, color .4s; }
@media (max-width: 1024px) { .services.is-auto .services__viewport { overflow: hidden; scroll-snap-type: none; } }

/* ---------- Team 3D: keep photos crisp ---------- */
.tslider.is-3d .tm__photo img { filter: none !important; transform: none !important; }
.tslider.is-3d .tm.is-front .tm__card { transform: none; }

/* ---------- Leadership cards with portraits ---------- */
.msg-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
.leader { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(22px, 3vw, 44px); align-items: center; padding: clamp(18px, 2vw, 26px); }
.leader:nth-child(even) { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.leader:nth-child(even) .leader__photo { order: 2; }
.leader__text { display: grid; gap: 22px; align-content: center; padding: clamp(6px, 2vw, 24px); min-width: 0; }
.leader__photo { margin: 0; position: relative; border-radius: 20px; overflow: hidden; aspect-ratio: 5 / 6; max-height: 560px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7); }
.leader__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; display: block; }
.leader__photo::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .15); pointer-events: none; }
@media (max-width: 860px) { .leader, .leader:nth-child(even) { grid-template-columns: minmax(0, 1fr); } .leader:nth-child(even) .leader__photo { order: 0; } .leader__photo { max-height: 440px; } }

/* ---------- Portfolio page ---------- */
.pf-feat { border-bottom: 1px solid var(--line-dark); }
.pf-all { background: var(--ink); color: var(--white); position: relative; isolation: isolate; overflow: hidden; }
.pf-all::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(40% 30% at 10% 0%, rgba(8, 140, 70, .18), transparent 70%), radial-gradient(40% 30% at 95% 60%, rgba(225, 6, 0, .14), transparent 70%); }
.pf-all .lead { color: rgba(255, 255, 255, .7); }
.pf-all .filters button { color: var(--white); box-shadow: inset 0 0 0 1.5px var(--line-dark); }
.pf-all .filters button:hover { box-shadow: inset 0 0 0 1.5px var(--red); color: var(--white); }
.pf-all .filters button.is-active { background: var(--red); color: var(--white); box-shadow: none; }
.pf-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(330px, 100%), 1fr)); gap: 26px; perspective: 1600px; }
.pf-card { position: relative; cursor: pointer; transform-style: preserve-3d; outline: none; --rx: 0deg; --ry: 0deg; --mx: 50%; --my: 50%; }
.pf-card.is-hidden { display: none; }
.pf-card__in { position: relative; border-radius: 22px; overflow: hidden; background: #121614; box-shadow: 0 0 0 1px var(--line-dark), 0 40px 70px -50px rgba(0, 0, 0, .9); transform: rotateX(var(--rx)) rotateY(var(--ry)); transform-style: preserve-3d; transition: transform .5s var(--ease), box-shadow .4s; height: 100%; display: flex; flex-direction: column; }
.pf-card:hover .pf-card__in, .pf-card:focus-visible .pf-card__in { box-shadow: 0 0 0 1.5px var(--red), 0 50px 80px -40px rgba(225, 6, 0, .45); }
.pf-card.is-tilting .pf-card__in { transition: transform .12s linear, box-shadow .4s; }
.pf-card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--ink-2); }
.pf-card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 1s var(--ease), filter .6s; filter: saturate(.9); }
.pf-card:hover .pf-card__media img { transform: scale(1.12); filter: saturate(1.1); }
.pf-card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, #121614 2%, transparent 55%); }
.pf-card__shine { position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: 0; transition: opacity .4s; background: radial-gradient(420px circle at var(--mx) var(--my), rgba(255, 255, 255, .22), transparent 45%); mix-blend-mode: overlay; }
.pf-card:hover .pf-card__shine { opacity: 1; }
.pf-card .proj__play { position: absolute; left: 50%; top: 50%; margin: -26px 0 0 -26px; z-index: 3; transform: translateZ(40px) scale(.9); transition: transform .4s var(--ease), background .3s; }
.pf-card:hover .proj__play { transform: translateZ(40px) scale(1.12); background: var(--red); color: var(--white); }
.pf-card__body { padding: 4px 26px 28px; display: grid; gap: 10px; transform: translateZ(30px); }
.pf-card h3 { font-size: clamp(26px, 2.4vw, 34px); text-transform: uppercase; line-height: .95; }
.pf-card p { color: rgba(255, 255, 255, .62); font-size: 15px; }
@media (max-width: 720px) { .pf-grid { gap: 18px; } }

/* ---------- 3D particles → real photo reveal ---------- */
.p3d-real { position: absolute; pointer-events: none; perspective: 1100px; --rx: 0deg; --ry: 0deg; }
.p3d-real__card { position: absolute; inset: 0; border-radius: 20px; overflow: hidden; background: #0d100f;
  opacity: 0; transform: rotateX(var(--rx)) rotateY(var(--ry)) scale(1.14); filter: blur(22px) brightness(1.9) saturate(.4);
  clip-path: circle(0% at 50% 55%);
  -webkit-mask-image: radial-gradient(ellipse 68% 68% at 50% 50%, #000 45%, transparent 100%); mask-image: radial-gradient(ellipse 68% 68% at 50% 50%, #000 45%, transparent 100%);
  transition: opacity .7s ease, filter 1.3s var(--ease), clip-path 1.5s var(--ease), transform 1.8s var(--ease); }
.p3d-real__card img { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.08); transition: transform 7s linear; }
.p3d-real__card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 12, 11, .05), rgba(10, 12, 11, .45)), radial-gradient(60% 50% at 20% 100%, rgba(225, 6, 0, .28), transparent 70%), radial-gradient(50% 40% at 90% 0%, rgba(8, 140, 70, .25), transparent 70%); }
.p3d-real__sweep { position: absolute; inset: -20% -60%; z-index: 2; background: linear-gradient(100deg, transparent 40%, rgba(255, 255, 255, .28) 50%, transparent 60%); transform: translateX(-60%); }
.p3d-real.is-on .p3d-real__card { opacity: 1; filter: none; clip-path: circle(80% at 50% 50%); transform: rotateX(var(--rx)) rotateY(var(--ry)) scale(1); transition: opacity .6s ease, filter 1.4s var(--ease) .1s, clip-path 1.6s var(--ease), transform .25s linear; }
.p3d-real.is-on .p3d-real__card img { transform: scale(1); }
.p3d-real.is-on .p3d-real__sweep { transform: translateX(60%); transition: transform 1.6s var(--ease) .35s; }
canvas.p3d-dim { transition: opacity 1.2s ease; opacity: .38 !important; }
canvas:not(.p3d-dim)[data-scene], .hero__canvas:not(.p3d-dim) { transition: opacity 1s ease; }
.svc-stage__canvas .p3d-real { opacity: .55; }
@media (max-width: 720px) { .page-hero canvas.p3d-dim { opacity: .3 !important; } }
@media (prefers-reduced-motion: reduce) { .p3d-real__card, .p3d-real.is-on .p3d-real__card { transition: opacity .3s; filter: none; clip-path: none; transform: none; } }

/* ---------- Animated service art (transparent) instead of photos ---------- */
.p3d-real--art .p3d-real__card { background: none; border-radius: 0; overflow: visible; -webkit-mask-image: none; mask-image: none;
  clip-path: none; transform: rotateX(var(--rx)) rotateY(var(--ry)) translateY(18px) scale(.78); filter: blur(16px) brightness(1.6) saturate(.3); }
.p3d-real--art .p3d-real__card::after, .p3d-real--art .p3d-real__sweep { display: none; }
.p3d-real--art .p3d-real__card img { object-fit: contain; transform: none; transition: none;
  filter: drop-shadow(0 26px 40px rgba(0, 0, 0, .55)) drop-shadow(0 0 28px rgba(225, 6, 0, .22)); }
.p3d-real--art::before { content: ""; position: absolute; left: 8%; right: 8%; top: 14%; bottom: 10%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(225, 6, 0, .28), rgba(8, 140, 70, .12) 60%, transparent); opacity: 0; transition: opacity 1.2s ease; filter: blur(10px); }
.p3d-real--art.is-on::before { opacity: 1; }
.p3d-real--art.is-on .p3d-real__card { opacity: 1; filter: none; transform: rotateX(var(--rx)) rotateY(var(--ry)) translateY(0) scale(1);
  transition: opacity .5s ease, filter 1s var(--ease), transform .9s cubic-bezier(.2, 1.4, .4, 1); }
canvas.p3d-dim { opacity: .22 !important; }


/* ---------- Content v2: deliver cards, production process, contact extras ---------- */
.cap .cap__title { font-size: clamp(22px, 1.9vw, 30px); margin-top: 4px; }
.cap__desc { font-size: 14px; line-height: 1.5; color: rgba(255, 255, 255, .7); margin-top: auto; }
.cap3d.is-3d .cap { min-height: 100%; }
.psteps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; counter-reset: ps; }
.pstep { position: relative; display: grid; gap: 14px; padding: 26px 22px; border-radius: 20px; background: var(--white); box-shadow: 0 0 0 1px var(--line); transition: transform .45s var(--ease), box-shadow .4s; }
.pstep:hover { transform: translateY(-6px); box-shadow: 0 0 0 1.5px var(--red), 0 30px 50px -36px rgba(10, 12, 11, .5); }
.pstep__n { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--white); font-family: var(--f-display); font-weight: 800; font-size: 22px; }
.pstep:nth-child(odd) .pstep__n { background: var(--red); }
.pstep b { font-family: var(--f-display); font-weight: 800; font-size: clamp(20px, 1.7vw, 26px); text-transform: uppercase; line-height: 1; }
.pstep:not(:last-child)::after { content: ""; position: absolute; top: 48px; right: -14px; width: 14px; height: 2px; background: linear-gradient(90deg, var(--red), var(--green)); }
@media (max-width: 900px) { .psteps { grid-template-columns: repeat(2, minmax(0, 1fr)); } .pstep::after { display: none; } }
@media (max-width: 520px) { .psteps { grid-template-columns: minmax(0, 1fr); } }
.ci__dir { display: inline-block; margin-top: 6px; font-size: 12px; }
.ci__soc a { text-decoration: underline; text-underline-offset: 3px; }
.ci__soc a:hover { color: var(--red); }
.cap3d.is-3d .cap { gap: 12px; }
.cap3d.is-3d .cap__svc { display: none; }
.cap3d.is-3d .cap__foot { padding-top: 10px; }
@media (max-width: 720px) { .cap__desc { font-size: 13px; line-height: 1.45; } .cap .cap__title { font-size: 21px; } }
