:root {
  --bg: #07090e;
  --bg-2: #0d1017;
  --panel: #171d28;
  --panel-2: #1d2431;
  --panel-3: #111722;
  --text: #ffffff;
  --soft: rgba(255, 255, 255, .76);
  --muted: rgba(255, 255, 255, .54);
  --line: rgba(255, 255, 255, .105);
  --line-strong: rgba(255, 255, 255, .18);
  --accent: #ed0057;
  --accent-2: #ff3d88;
  --violet: #7b4dff;
  --blue: #22b9ff;
  --green: #69de9f;
  --orange: #ff9f1c;
  --radius: 24px;
  --max: 1180px;
  --shadow: 0 26px 70px rgba(0, 0, 0, .38);
  --font: Montserrat, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 94px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.64;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -4;
  background:
    radial-gradient(circle at 80% 8%, rgba(237, 0, 87, .20), transparent 360px),
    radial-gradient(circle at 7% 30%, rgba(123, 77, 255, .16), transparent 400px),
    linear-gradient(180deg, rgba(13, 16, 23, .9), #07090e 62%, #0d1017);
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  opacity: .055;
  background-image: linear-gradient(rgba(255,255,255,.16) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.16) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, #000, transparent 84%);
}
a { color: inherit; text-decoration: none; }
img, video, svg { display: block; }
img, video { max-width: 100%; }
button, input, textarea { font: inherit; }
::selection { background: rgba(237, 0, 87, .42); color: #fff; }

.skip-link {
  position: fixed;
  left: 18px;
  top: 12px;
  z-index: 200;
  transform: translateY(-140%);
  padding: 10px 14px;
  border-radius: 12px;
  background: #fff;
  color: #06070b;
  font-weight: 800;
}
.skip-link:focus { transform: translateY(0); }

.site-video-bg {
  position: fixed;
  inset: 0;
  z-index: -3;
  opacity: .42;
  overflow: hidden;
  pointer-events: none;
}
.site-video-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.12) contrast(1.08) blur(.3px);
  transform: scale(1.04);
}
.site-video-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7,9,14,.88) 0%, rgba(7,9,14,.46) 48%, rgba(7,9,14,.88) 100%),
    linear-gradient(180deg, rgba(7,9,14,.58), #07090e 96%);
}

.container {
  width: min(var(--max), calc(100% - 48px));
  margin-inline: auto;
}

.navigation {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  background: rgba(10, 12, 18, .82);
  border-bottom: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(18px);
}
.navigation.scrolled { background: rgba(8, 10, 15, .94); }
.navigation-container {
  width: min(var(--max), calc(100% - 48px));
  height: 74px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  letter-spacing: -.02em;
}
.nav-logo img { width: 31px; height: 31px; }
.nav-logo span { font-size: 15px; }
.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-link {
  position: relative;
  color: rgba(255,255,255,.62);
  font-size: 13px;
  line-height: 1;
  font-weight: 700;
  padding: 30px 11px 28px;
  transition: color .18s ease;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 16px;
  width: 25px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  opacity: 0;
  transform: translateX(-50%) scaleX(.55);
  transition: opacity .18s ease, transform .18s ease;
}
.nav-link:hover, .nav-link.active { color: #fff; }
.nav-link:hover::after, .nav-link.active::after { opacity: 1; transform: translateX(-50%) scaleX(1); }
.menu-button { display: none; }

.hero-section {
  position: relative;
  min-height: 690px;
  padding: 124px 0 72px;
  display: grid;
  align-items: center;
  overflow: hidden;
}
.hero-backdrop {
  position: absolute;
  inset: 74px 0 auto;
  height: 620px;
  background:
    radial-gradient(circle at 73% 45%, rgba(237,0,87,.28), transparent 420px),
    linear-gradient(90deg, rgba(7,9,14,.58), rgba(13,16,23,.22), rgba(7,9,14,.78));
  pointer-events: none;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(340px, .88fr) minmax(430px, .95fr);
  gap: 64px;
  align-items: center;
}
.hero-copy { max-width: 560px; }
.eyebrow {
  margin: 0 0 12px;
  color: var(--accent-2);
  font-size: 11px;
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  margin-bottom: 18px;
  font-size: clamp(34px, 3.1vw, 48px);
  line-height: 1.08;
  letter-spacing: -.045em;
  font-weight: 900;
}
h2 {
  margin-bottom: 15px;
  font-size: clamp(27px, 2.35vw, 38px);
  line-height: 1.12;
  letter-spacing: -.038em;
  font-weight: 900;
}
h3 {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.22;
  letter-spacing: -.025em;
  font-weight: 900;
}
.lead, .section-head p, .why-copy p, .contact-copy p, .process-copy p, .project-body p, .service-card p, .blog-body p, .capability-card p, .reason-card p, .process-step p {
  color: var(--soft);
  font-size: 14px;
  line-height: 1.78;
  margin-bottom: 0;
}
.lead { max-width: 535px; font-size: 14.5px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 24px;
  border-radius: 14px;
  font-size: 13px;
  line-height: 1;
  font-weight: 900;
  border: 1px solid transparent;
  transition: transform .18s ease, border-color .18s ease, background .18s ease, filter .18s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary {
  background: linear-gradient(135deg, #ff004d, #c30069);
  color: #fff;
  box-shadow: 0 16px 30px rgba(237,0,87,.24);
}
.button-primary:hover { filter: brightness(1.08); }
.button-ghost {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.13);
  color: #fff;
}
.button-ghost:hover { border-color: rgba(255,255,255,.26); background: rgba(255,255,255,.09); }
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 30px;
}
.trust-strip span, .pill-row span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 11px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.045);
  color: rgba(255,255,255,.72);
  font-size: 11px;
  font-weight: 800;
}
.hero-showcase { position: relative; transform-style: preserve-3d; }
.browser-frame {
  position: relative;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 28px;
  background: #080a10;
  overflow: hidden;
  box-shadow: var(--shadow);
  transform: perspective(1200px) rotateY(-5deg) rotateX(2deg);
}
.browser-bar {
  position: absolute;
  z-index: 3;
  top: 14px;
  left: 14px;
  right: 14px;
  height: 33px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 13px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.13);
  background: rgba(3,4,8,.62);
  backdrop-filter: blur(10px);
}
.browser-bar span { width: 8px; height: 8px; border-radius: 50%; background: #ff004d; }
.browser-bar span:nth-child(2) { background: #ffbf4d; }
.browser-bar span:nth-child(3) { background: #65db8b; }
.browser-bar strong { margin-left: 5px; color: rgba(255,255,255,.58); font-size: 11px; }
.showreel-video { width: 100%; aspect-ratio: 16 / 9; min-height: 300px; object-fit: cover; opacity: .98; }
.browser-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(35deg, rgba(237,0,87,.25), transparent 48%, rgba(123,77,255,.24)),
    linear-gradient(180deg, transparent 48%, rgba(8,10,16,.64));
  pointer-events: none;
}
.showreel-content {
  position: absolute;
  z-index: 4;
  left: 22px;
  right: 22px;
  bottom: 20px;
  padding: 17px 18px;
  border-radius: 18px;
  background: rgba(11,13,20,.80);
  border: 1px solid rgba(255,255,255,.13);
  backdrop-filter: blur(12px);
}
.showreel-content small { display: block; color: var(--accent-2); font-size: 11px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.showreel-content strong { display: block; margin-top: 5px; font-size: 15px; line-height: 1.35; }
.floating-proof {
  position: absolute;
  z-index: 6;
  right: -24px;
  bottom: -35px;
  width: min(300px, 64%);
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 12px;
  align-items: center;
  padding: 16px;
  border-radius: 20px;
  background: rgba(29,36,49,.92);
  border: 1px solid rgba(255,255,255,.13);
  box-shadow: 0 18px 40px rgba(0,0,0,.34);
  backdrop-filter: blur(16px);
}
.floating-proof svg { width: 38px; height: 38px; border-radius: 12px; padding: 9px; background: rgba(105,222,159,.13); color: var(--green); }
.floating-proof svg, .icon-badge svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.floating-proof b { display: block; font-size: 12px; line-height: 1.25; }
.floating-proof span { display: block; margin-top: 4px; color: var(--muted); font-size: 11px; line-height: 1.45; }

.capabilities { padding: 52px 0 58px; background: rgba(8,10,16,.55); border-block: 1px solid rgba(255,255,255,.055); }
.capability-grid, .service-grid, .blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.capability-card, .service-card, .reason-card, .process-step, .blog-card, .project-card {
  position: relative;
  transform-style: preserve-3d;
  transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
}
.capability-card, .service-card, .reason-card, .process-step {
  padding: 26px;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.105);
  background: linear-gradient(180deg, rgba(29,36,49,.92), rgba(21,27,38,.92));
  box-shadow: 0 20px 44px rgba(0,0,0,.18);
}
.capability-card:hover, .service-card:hover, .reason-card:hover, .process-step:hover, .blog-card:hover, .project-card:hover {
  border-color: rgba(237,0,87,.34);
  box-shadow: 0 26px 60px rgba(0,0,0,.32);
}
.icon-badge {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(135deg, rgba(237,0,87,.95), rgba(123,77,255,.95));
  box-shadow: 0 14px 30px rgba(237,0,87,.18);
}
.icon-badge.small { width: 38px; height: 38px; border-radius: 13px; margin: 0; }
.icon-badge svg { width: 23px; height: 23px; }
.icon-badge.small svg { width: 20px; height: 20px; }
.capability-card h2 { font-size: 22px; line-height: 1.18; margin-bottom: 12px; }

.section { padding: 88px 0; }
.section-head {
  max-width: 790px;
  margin-bottom: 34px;
}
.section-head .eyebrow { margin-bottom: 12px; }
.section-head h2 { margin: 0; max-width: 650px; }
.section-head p { max-width: 760px; margin-top: 14px; }

.project-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.project-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  background: linear-gradient(180deg, rgba(29,36,49,.94), rgba(18,23,33,.94));
}
.project-media {
  position: relative;
  display: block;
  height: 280px;
  overflow: hidden;
  background: #0b0f17;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.project-card.featured .project-media { height: 322px; }
.project-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transform: scale(1.035);
  transition: transform .42s cubic-bezier(.2,.7,.2,1), filter .42s ease;
}
.project-card:hover .project-media img { transform: scale(1.085) rotate(.35deg); filter: saturate(1.08) contrast(1.02); }
.project-media::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(180deg, transparent, rgba(7,9,14,.56));
  pointer-events: none;
}
.project-overlay {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 2;
  padding: 8px 11px;
  border-radius: 999px;
  background: rgba(7,9,14,.72);
  border: 1px solid rgba(255,255,255,.18);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  backdrop-filter: blur(12px);
}
.project-body { padding: 24px 26px 26px; }
.compact-body { min-height: 190px; }
.project-kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-2);
  margin-bottom: 10px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent-2); box-shadow: 0 0 16px currentColor; }
.dot-green { background: var(--green); }
.dot-orange { background: var(--orange); }
.dot-violet { background: var(--violet); }
.dot-blue { background: var(--blue); }
.project-body h3 { font-size: 24px; }
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }

.services { background: rgba(9,12,18,.58); border-block: 1px solid rgba(255,255,255,.055); }
.service-card ul {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  gap: 8px;
}
.service-card li {
  position: relative;
  padding-left: 18px;
  color: rgba(255,255,255,.70);
  font-size: 12px;
  font-weight: 700;
}
.service-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .65em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-2);
}

.why-grid, .process-grid {
  display: grid;
  grid-template-columns: .72fr 1fr;
  gap: 70px;
  align-items: start;
}
.why-copy, .process-copy { position: sticky; top: 112px; }
.why-copy .button { margin-top: 26px; }
.reason-list, .process-list { display: grid; gap: 16px; }
.reason-card, .process-step { display: grid; grid-template-columns: auto 1fr; gap: 17px; align-items: start; }
.reason-card h3, .process-step h3 { font-size: 18px; margin-bottom: 7px; }

.blog { background: linear-gradient(180deg, rgba(7,9,14,.62), rgba(13,16,23,.58)); }
.blog-card {
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.12);
  background: linear-gradient(180deg, rgba(29,36,49,.94), rgba(18,23,33,.94));
}
.blog-media { display: block; height: 170px; overflow: hidden; background: #0b0f17; }
.blog-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform .42s ease; }
.blog-card:hover .blog-media img { transform: scale(1.09); }
.blog-body { padding: 22px 24px 24px; }
.blog-body span { display: block; margin-bottom: 8px; color: var(--accent-2); font-size: 11px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.blog-body h3 { font-size: 19px; margin-bottom: 11px; }
.blog-body h3 a:hover { color: var(--accent-2); }

.contact-section { padding: 92px 0; background: rgba(11,13,19,.72); border-top: 1px solid rgba(255,255,255,.06); }
.contact-panel {
  max-width: 920px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 34px;
  align-items: center;
  padding: 38px 42px;
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,.14);
  background:
    radial-gradient(circle at 84% 28%, rgba(237,0,87,.28), transparent 360px),
    linear-gradient(135deg, rgba(29,36,49,.96), rgba(20,25,35,.96));
  box-shadow: 0 28px 80px rgba(0,0,0,.28);
}
.contact-copy h2 { max-width: 660px; margin-bottom: 12px; }
.contact-actions {
  min-width: 270px;
  display: grid;
  gap: 12px;
  justify-items: stretch;
  padding: 22px;
  border-radius: 22px;
  background: rgba(7,9,14,.42);
  border: 1px solid rgba(255,255,255,.10);
}
.contact-actions .button { width: 100%; }

.footer { border-top: 1px solid rgba(255,255,255,.065); padding: 24px 0; background: rgba(7,9,14,.9); }
.footer-container { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.footer-brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 900; }
.footer-brand img { width: 30px; height: 30px; }
.footer p { margin: 0; color: var(--muted); font-size: 12px; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: .08s; }
.delay-2 { transition-delay: .16s; }
[data-tilt] { will-change: transform; }

/* Blog article pages */
.article-page { padding: 132px 0 78px; }
.article-shell { max-width: 860px; }
.article-hero { margin-bottom: 30px; }
.article-hero h1 { max-width: 820px; }
.article-meta { color: var(--muted); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.article-card {
  padding: 34px 38px;
  border-radius: 26px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(23,29,40,.92);
  box-shadow: 0 22px 62px rgba(0,0,0,.28);
}
.article-card h2 { font-size: 28px; margin-top: 32px; }
.article-card h2:first-child { margin-top: 0; }
.article-card p, .article-card li { color: var(--soft); font-size: 14px; line-height: 1.82; }
.article-card ul { padding-left: 20px; }
.article-card a { color: var(--accent-2); font-weight: 800; }
.article-cta { margin-top: 28px; display: flex; gap: 12px; flex-wrap: wrap; }

@media (max-width: 1080px) {
  .hero-grid, .section-head, .why-grid, .process-grid, .contact-panel { grid-template-columns: 1fr; }
  .hero-copy { max-width: 720px; }
  .hero-showcase { max-width: 720px; }
  .section-head { gap: 16px; }
  .section-head .eyebrow { grid-column: auto; margin-bottom: 0; }
  .why-copy, .process-copy { position: static; }
  .contact-actions { width: 100%; min-width: 0; }
}
@media (max-width: 840px) {
  html { scroll-padding-top: 74px; }
  .container, .navigation-container { width: min(100% - 34px, var(--max)); }
  .navigation-container { height: 66px; }
  .menu-button {
    display: inline-grid;
    gap: 4px;
    width: 42px;
    height: 42px;
    place-content: center;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 14px;
    background: rgba(255,255,255,.045);
    color: #fff;
  }
  .menu-button span { display: block; width: 18px; height: 2px; border-radius: 999px; background: currentColor; }
  .nav-links {
    position: fixed;
    left: 17px;
    right: 17px;
    top: 76px;
    display: grid;
    gap: 0;
    padding: 10px;
    border-radius: 18px;
    background: rgba(17,22,32,.96);
    border: 1px solid rgba(255,255,255,.12);
    box-shadow: 0 24px 60px rgba(0,0,0,.42);
    transform: translateY(-16px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
  }
  .nav-links.open { opacity: 1; pointer-events: auto; transform: translateY(0); }
  .nav-link { padding: 14px 12px; border-radius: 12px; }
  .nav-link::after { display: none; }
  .nav-link.active { background: rgba(237,0,87,.12); }
  .hero-section { min-height: auto; padding: 104px 0 56px; }
  .hero-grid { gap: 34px; }
  .floating-proof { position: static; width: auto; margin-top: 14px; }
  .browser-frame { transform: none; }
  .capability-grid, .service-grid, .blog-grid, .project-grid { grid-template-columns: 1fr; }
  .project-media, .project-card.featured .project-media { height: 260px; }
  .section { padding: 68px 0; }
}
@media (max-width: 540px) {
  body { font-size: 14px; }
  h1 { font-size: 34px; }
  h2 { font-size: 29px; }
  .hero-actions { display: grid; }
  .button { width: 100%; }
  .capability-card, .service-card, .reason-card, .process-step, .contact-panel, .article-card { padding: 23px; }
  .reason-card, .process-step { grid-template-columns: 1fr; }
  .project-media, .project-card.featured .project-media { height: 220px; }
  .project-body { padding: 22px; }
  .contact-panel { text-align: left; }
  .footer-container { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
  .site-video-bg video, .showreel-video { display: none; }
}


/* v4 refinements */
.hero-section { min-height: 720px; }
.hero-backdrop {
  background:
    radial-gradient(circle at 72% 35%, rgba(237,0,87,.36), transparent 430px),
    radial-gradient(circle at 48% 65%, rgba(34,185,255,.12), transparent 360px),
    linear-gradient(90deg, rgba(7,9,14,.48), rgba(13,16,23,.12), rgba(7,9,14,.72));
}
.hero-video-frame { background: rgba(4,5,10,.86); }
.hero-video-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: radial-gradient(circle at 45% 35%, rgba(255,255,255,.08), transparent 34%), linear-gradient(180deg, rgba(7,9,14,.04), rgba(7,9,14,.32));
}
.branded-showreel { display: grid; gap: 8px; }
.branded-showreel img { width: min(320px, 78%); height: auto; filter: drop-shadow(0 8px 24px rgba(0,0,0,.34)); }
.branded-showreel small { margin-top: 4px; }
.legacy-lockup {
  display: grid;
  grid-template-columns: minmax(240px, .8fr) 1fr;
  gap: 28px;
  align-items: center;
  margin: 34px 0 26px;
  padding: 28px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 28px;
  background:
    radial-gradient(circle at 18% 20%, rgba(237,0,87,.18), transparent 260px),
    linear-gradient(135deg, rgba(29,36,49,.92), rgba(18,23,33,.92));
  box-shadow: 0 24px 70px rgba(0,0,0,.26);
  transform-style: preserve-3d;
}
.legacy-logo-panel {
  min-height: 150px;
  display: grid;
  place-items: center;
  padding: 22px;
  border-radius: 22px;
  background: #000;
  border: 1px solid rgba(255,255,255,.12);
  overflow: hidden;
}
.legacy-logo-panel img { width: 100%; max-width: 440px; height: auto; }
.legacy-lockup h3 { font-size: clamp(22px, 2vw, 30px); max-width: 620px; }
.legacy-lockup p:not(.eyebrow) { color: var(--soft); margin: 0; }
.project-grid-more { margin-top: 0; }
.project-card { isolation: isolate; }
.project-card::before, .blog-card::before, .capability-card::before, .service-card::before, .reason-card::before, .process-step::before, .legacy-lockup::before, .contact-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  opacity: 0;
  background: radial-gradient(circle at var(--glow-x, 50%) var(--glow-y, 50%), rgba(237,0,87,.18), transparent 36%);
  transition: opacity .18s ease;
}
.project-card:hover::before, .blog-card:hover::before, .capability-card:hover::before, .service-card:hover::before, .reason-card:hover::before, .process-step:hover::before, .legacy-lockup:hover::before, .contact-panel:hover::before { opacity: 1; }
.project-card.featured .project-media { height: 300px; }
.project-media { height: 248px; }
.project-media img { object-position: top center; }
.project-body h3 { margin-bottom: 8px; }
.pill-row { align-content: start; }
.blog-grid-four { grid-template-columns: repeat(4, 1fr); }
.blog-grid-four .blog-media { height: 145px; }
.blog-grid-four .blog-body { padding: 20px; }
.blog-grid-four .blog-body h3 { font-size: 17px; }
.contact-section { padding: 96px 0; }
.contact-panel {
  max-width: 1060px;
  grid-template-columns: minmax(0, 1fr) minmax(310px, .72fr);
  gap: 42px;
  align-items: center;
  margin-inline: auto;
  padding: 44px;
}
.contact-copy h2 { max-width: 700px; }
.contact-actions {
  width: 100%;
  min-width: 0;
  max-width: 360px;
  justify-self: center;
  text-align: center;
  padding: 26px;
}
.contact-note {
  color: var(--accent-2);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.contact-actions small { color: var(--muted); font-size: 11px; line-height: 1.6; }
.icon-badge { flex: 0 0 auto; }
@media (max-width: 1080px) {
  .legacy-lockup, .contact-panel { grid-template-columns: 1fr; }
  .blog-grid-four { grid-template-columns: repeat(2, 1fr); }
  .contact-actions { justify-self: stretch; max-width: none; }
}
@media (max-width: 840px) {
  .blog-grid-four { grid-template-columns: 1fr; }
  .project-card.featured .project-media, .project-media { height: 250px; }
  .legacy-lockup { padding: 22px; }
  .legacy-logo-panel { min-height: 110px; }
}


/* v5 polish: AnCasper wordmark, cleaner icons, readable blog CTAs, related posts */
.nav-logo-wordmark,
.footer-brand {
  min-width: 0;
}
.nav-logo-wordmark img {
  width: 142px;
  height: auto;
  max-height: 34px;
  object-fit: contain;
}
.nav-logo-wordmark span { display: none; }
.footer-brand img {
  width: 148px;
  height: auto;
  max-height: 34px;
  object-fit: contain;
}

.icon-badge {
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: 0;
  color: #ff4f95;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  place-items: center;
  filter: drop-shadow(0 0 10px rgba(237, 0, 87, .36));
}
.icon-badge.small {
  width: 34px;
  height: 34px;
  margin: 0;
}
.icon-badge svg {
  width: 32px;
  height: 32px;
  stroke-width: 2.15;
}
.icon-badge.small svg {
  width: 28px;
  height: 28px;
}
.floating-proof svg {
  background: transparent;
  border-radius: 0;
  padding: 0;
  color: var(--green);
  filter: drop-shadow(0 0 10px rgba(105, 222, 159, .3));
}

.article-card .article-cta a.button,
.article-card .article-cta a.button:visited {
  color: #fff;
  text-decoration: none;
}
.article-card .article-cta .button-primary {
  color: #fff;
  background: linear-gradient(135deg, #ff005c, #d0006f);
  border-color: rgba(255,255,255,.08);
}
.article-card .article-cta .button-ghost {
  color: #fff;
  background: rgba(255,255,255,.075);
  border-color: rgba(255,255,255,.2);
}
.article-card .article-cta .button-ghost:hover {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.32);
}

.related-posts {
  margin-top: 34px;
}
.related-posts-head {
  margin-bottom: 20px;
}
.related-posts-head h2 {
  font-size: clamp(24px, 2vw, 32px);
  margin-bottom: 8px;
}
.related-posts-head p:not(.eyebrow) {
  max-width: 640px;
  color: var(--soft);
  margin: 0;
}
.related-posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.related-post-card {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.12);
  background: linear-gradient(180deg, rgba(29,36,49,.94), rgba(18,23,33,.94));
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
  transform-style: preserve-3d;
}
.related-post-card:hover {
  border-color: rgba(237,0,87,.34);
  box-shadow: 0 22px 52px rgba(0,0,0,.28);
}
.related-post-media {
  display: block;
  height: 122px;
  overflow: hidden;
  background: #0b0f17;
}
.related-post-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.03);
  transition: transform .38s ease;
}
.related-post-card:hover .related-post-media img { transform: scale(1.1); }
.related-post-body {
  padding: 18px 18px 20px;
}
.related-post-body span {
  display: block;
  margin-bottom: 8px;
  color: var(--accent-2);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.related-post-body h3 {
  font-size: 16px;
  line-height: 1.25;
  margin-bottom: 8px;
}
.related-post-body p {
  color: var(--soft);
  font-size: 12px;
  line-height: 1.62;
  margin: 0;
}
.related-post-body a:hover { color: var(--accent-2); }

@media (max-width: 840px) {
  .nav-logo-wordmark img { width: 124px; }
  .footer-brand img { width: 136px; }
  .related-posts-grid { grid-template-columns: 1fr; }
  .related-post-media { height: 160px; }
}
