:root {
  --blue: #1768f2;
  --blue-2: #3a86ff;
  --dark: #05070a;
  --ink: #111827;
  --text: #344054;
  --muted: #667085;
  --line: rgba(9, 22, 42, 0.11);
  --soft: #edf5ff;
  --white: #ffffff;
  --shadow: 0 20px 70px rgba(23, 104, 242, 0.14);
  --radius: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 78% 10%, rgba(23, 104, 242, 0.15), transparent 28%),
    radial-gradient(circle at 10% 40%, rgba(58, 134, 255, 0.11), transparent 26%),
    #f8fbff;
  color: var(--text);
  font-family: "Manrope", Arial, sans-serif;
}
body::before {
  position: fixed;
  content: "";
  inset: 0;
  z-index: -1;
  opacity: 0.055;
  background-image: linear-gradient(rgba(5, 7, 10, 0.25) 1px, transparent 1px), linear-gradient(90deg, rgba(5, 7, 10, 0.25) 1px, transparent 1px);
  background-size: 42px 42px;
}
.noise {
  position: fixed;
  z-index: -1;
  inset: 0;
  opacity: 0.055;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.6'/%3E%3C/svg%3E");
}
.ambient {
  position: fixed;
  z-index: -2;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .42;
  pointer-events: none;
}
.ambient-one {
  top: 7%;
  right: -10%;
  width: 430px;
  height: 430px;
  background: rgba(23, 104, 242, .14);
}
.ambient-two {
  bottom: 4%;
  left: -10%;
  width: 350px;
  height: 350px;
  background: rgba(45, 151, 255, .08);
}
img { max-width: 100%; }
a { color: inherit; }

.site-header, .hero, .section, .page-hero, .site-footer {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}
.site-header {
  position: sticky;
  top: 14px;
  z-index: 50;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 28px;
  min-height: 78px;
  margin-top: 14px;
  padding: 0 18px;
  border: 1px solid rgba(23, 104, 242, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 55px rgba(8, 24, 52, 0.08);
  backdrop-filter: blur(18px);
}
.brand { display: block; width: 128px; }
.brand img, .site-footer img { display: block; }
.brand img {
  width: 100%;
  height: auto;
}
body:not(.home) .brand {
  width: 150px;
  padding: 7px 10px;
  border-radius: 10px;
  background: #fff;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
  gap: 8px;
  padding: 7px;
  border: 1px solid rgba(9, 22, 42, 0.07);
  border-radius: 999px;
  background: rgba(237, 245, 255, 0.62);
  max-width: 100%;
  overflow: visible;
}
.main-nav li {
  list-style: none;
}
.main-nav a, .nav-cta {
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}
.main-nav a {
  padding: 10px 13px;
  border-radius: 999px;
  color: #334155;
  white-space: nowrap;
}
.main-nav a:hover {
  background: var(--white);
  color: var(--blue);
  box-shadow: 0 8px 22px rgba(23,104,242,.09);
}
.nav-cta, .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}
.nav-cta, .btn.primary {
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  color: var(--white);
  box-shadow: 0 16px 34px rgba(23, 104, 242, 0.25);
}
.btn.secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.85);
  color: var(--ink);
}
.nav-cta:hover, .btn:hover { transform: translateY(-2px); }
.primary-button, .text-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 10px;
  font-weight: 900;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, color 180ms ease;
}
.primary-button {
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  color: var(--white);
  box-shadow: 0 16px 34px rgba(23, 104, 242, 0.25);
}
.text-button {
  color: var(--blue);
}
.primary-button:hover, .text-button:hover {
  transform: translateY(-2px);
}
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
}
.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

h1, h2, h3 {
  margin: 0;
  color: var(--dark);
  font-family: "Inter Tight", "Manrope", Arial, sans-serif;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(42px, 6.2vw, 78px); line-height: 0.98; }
h2 { font-size: clamp(30px, 4vw, 52px); line-height: 1.06; }
h3 { font-size: 22px; line-height: 1.2; }
p { line-height: 1.72; }

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(390px, 0.9fr);
  align-items: center;
  gap: 64px;
  min-height: calc(100vh - 82px);
  padding: 72px 0 58px;
}
.hero-bg-grid {
  position: absolute;
  inset: 8% -12% auto auto;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: rgba(23, 104, 242, 0.08);
  filter: blur(40px);
  pointer-events: none;
}
.badge, .section-tag {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.badge i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 7px rgba(23, 104, 242, 0.12);
  animation: pulse 1.8s infinite;
}
.hero-text, .page-hero p, .rich-copy p, .section-head p, .contact-panel p {
  color: var(--muted);
  font-size: 18px;
}
.hero-text { max-width: 660px; margin: 24px 0 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.proof {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 38px;
}
.proof-stat strong {
  display: block;
  color: var(--blue);
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 32px;
  font-weight: 800;
}
.proof-stat span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}
.proof-line {
  width: 1px;
  height: 42px;
  background: var(--line);
}
.trust-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 36px;
  color: var(--ink);
  font-weight: 900;
}
.trust-row b, .ticker i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
}

.growth-stage { position: relative; min-height: 560px; }
.visual-wrap {
  position: relative;
  min-height: 560px;
}
.radar {
  position: absolute;
  inset: 16px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(23, 104, 242, 0.16);
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.96), rgba(237,245,255,0.88)),
    radial-gradient(circle at center, rgba(23,104,242,.13), transparent 58%);
  box-shadow: var(--shadow);
}
.radar::before {
  position: absolute;
  content: "";
  width: 150%;
  height: 150%;
  background: conic-gradient(from 90deg, transparent, rgba(23,104,242,.18), transparent 35%);
  animation: spin 10s linear infinite;
}
.orbit {
  position: absolute;
  border: 1px solid rgba(23,104,242,.2);
  border-radius: 50%;
  animation: orbitPulse 4s ease-in-out infinite;
}
.orbit-one { width: 76%; aspect-ratio: 1; }
.orbit-two { width: 54%; aspect-ratio: 1; animation-delay: .65s; }
.orbit-three { width: 32%; aspect-ratio: 1; animation-delay: 1.1s; }
.radar-line {
  position: absolute;
  width: 50%;
  height: 1px;
  left: 50%;
  top: 50%;
  transform-origin: left center;
  background: linear-gradient(90deg, rgba(23,104,242,.42), transparent);
  animation: spin 4.6s linear infinite;
}
.service-pill {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.94);
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
  box-shadow: 0 14px 38px rgba(8,24,52,.1);
  animation: floatUp 4s ease-in-out infinite;
}
.service-pill i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
}
.service-one { top: 15%; left: 8%; }
.service-two { top: 18%; right: 5%; animation-delay: .5s; }
.service-three { top: 48%; left: 2%; animation-delay: 1s; }
.service-four { top: 50%; right: 3%; animation-delay: 1.5s; }
.service-five { bottom: 18%; left: 9%; animation-delay: 2s; }
.service-six { bottom: 16%; right: 11%; animation-delay: 2.5s; }
.core {
  position: relative;
  z-index: 4;
  display: grid;
  justify-items: center;
  gap: 12px;
  width: 220px;
  padding: 30px 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 20px 60px rgba(8,24,52,.14);
}
.core-glow {
  position: absolute;
  inset: -30px;
  z-index: -1;
  border-radius: 50%;
  background: rgba(23,104,242,.12);
  filter: blur(20px);
}
.core-logo img {
  width: 150px;
}
.core span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.core-loader {
  display: flex;
  gap: 5px;
}
.core-loader b {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
  animation: pulse 1.2s ease-in-out infinite;
}
.core-loader b:nth-child(2) { animation-delay: .18s; }
.core-loader b:nth-child(3) { animation-delay: .36s; }
.dashboard-shell {
  position: absolute;
  inset: 54px 18px 40px;
  overflow: hidden;
  border: 1px solid rgba(23, 104, 242, 0.16);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(255,255,255,0.96), rgba(237,245,255,0.88));
  box-shadow: var(--shadow);
}
.dashboard-shell::before {
  position: absolute;
  content: "";
  width: 140%;
  height: 140%;
  left: -20%;
  top: -20%;
  background: conic-gradient(from 120deg, transparent, rgba(23,104,242,0.18), transparent 34%);
  animation: spin 10s linear infinite;
}
.dash-top {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 7px;
  padding: 22px;
}
.dash-top span { width: 10px; height: 10px; border-radius: 50%; background: rgba(23,104,242,0.35); }
.dash-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 0 22px 22px;
}
.score-card, .line-chart, .channel-map {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.9);
  padding: 20px;
}
.score-card.dark { background: var(--dark); }
.score-card small { color: var(--muted); font-weight: 800; }
.score-card.dark small, .score-card.dark strong { color: var(--white); }
.score-card strong { display: block; margin-top: 8px; color: var(--blue); font-size: 34px; font-weight: 900; }
.score-card em {
  display: block;
  height: 8px;
  margin-top: 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue), #a8cbff);
  animation: loadBar 2.6s ease-in-out infinite;
}
.line-chart {
  grid-column: 1 / -1;
  display: flex;
  align-items: end;
  gap: 12px;
  height: 150px;
}
.line-chart span {
  flex: 1;
  border-radius: 10px 10px 0 0;
  background: linear-gradient(180deg, var(--blue-2), var(--blue));
  animation: bars 2.4s ease-in-out infinite;
}
.line-chart span:nth-child(1){height:38%}.line-chart span:nth-child(2){height:52%;animation-delay:.15s}.line-chart span:nth-child(3){height:44%;animation-delay:.3s}.line-chart span:nth-child(4){height:72%;animation-delay:.45s}.line-chart span:nth-child(5){height:86%;animation-delay:.6s}
.channel-map { grid-column: 1 / -1; }
.channel-map p { margin: 0 0 12px; color: var(--dark); font-weight: 900; }
.channel-map div { display: flex; flex-wrap: wrap; gap: 9px; }
.channel-map span, .float-chip {
  padding: 9px 12px;
  border-radius: 999px;
  background: var(--dark);
  color: var(--white);
  font-size: 12px;
  font-weight: 900;
}
.orbit { position: absolute; border: 1px solid rgba(23,104,242,0.18); border-radius: 50%; animation: orbitPulse 4s ease-in-out infinite; }
.orbit-a { width: 82%; aspect-ratio: 1; right: 6%; top: 5%; }
.orbit-b { width: 58%; aspect-ratio: 1; right: 18%; top: 16%; animation-delay: 1s; }
.float-chip { position: absolute; z-index: 3; box-shadow: 0 18px 44px rgba(5,7,10,0.16); animation: floatUp 4s ease-in-out infinite; }
.chip-a { top: 18px; left: 0; }.chip-b { right: 0; bottom: 78px; animation-delay: 1s; }.chip-c { left: 34px; bottom: 22px; animation-delay: 2s; }

.ticker {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: var(--dark);
  color: var(--white);
}
.ticker div {
  display: flex;
  align-items: center;
  gap: 24px;
  width: max-content;
  padding: 18px 0;
  animation: marquee 30s linear infinite;
}
.ticker span { font-size: 13px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.service-strip {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 20px;
  overflow: hidden;
  border-block: 1px solid var(--line);
  padding: 16px 0;
}
.strip-label {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.strip-label i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--blue);
}
.marquee {
  overflow: hidden;
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 18px;
  width: max-content;
  animation: marquee 30s linear infinite;
}
.marquee-track span {
  color: var(--dark);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.marquee-track b {
  color: var(--blue);
}

.section {
  padding: 96px 0;
}
.section + .section {
  padding-top: 56px;
}
.section:not(.dark-panel):not(.cta-band):not(.strategy-showcase):not(.premium-block) {
  position: relative;
}
.section:not(.dark-panel):not(.cta-band):not(.strategy-showcase):not(.premium-block)::before {
  position: absolute;
  content: "";
  left: 50%;
  top: 0;
  width: min(1180px, calc(100vw - 40px));
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(23,104,242,.16), transparent);
}
.page-hero { padding: 86px 0 34px; max-width: 960px; }
.page-hero h1 { max-width: 900px; }
.page-hero p { max-width: 720px; margin: 22px 0 0; }
.intro-split, .about-layout, .contact-layout {
  display: grid;
  grid-template-columns: .9fr 1fr;
  gap: 64px;
  align-items: start;
}
.rich-copy p { margin: 0 0 18px; }
.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 14px 24px;
  margin-bottom: 38px;
}
.section-head .section-tag {
  grid-column: 1 / -1;
  margin-bottom: 0;
}
.section-head h2 {
  max-width: 820px;
}
.section-head a { color: var(--blue); font-weight: 900; text-decoration: none; }

.service-grid, .proof-grid, .process-line, .package-grid, .blog-grid {
  display: grid;
  gap: 18px;
}
.service-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
}
.service-grid.full {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}
.service-grid article, .proof-grid div, .process-line div, .package-grid div, .blog-card, .premium-form, .contact-panel, .brand-block {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 14px 48px rgba(8, 24, 52, 0.07);
  backdrop-filter: blur(14px);
}
.service-grid article,
.proof-grid div,
.process-line div,
.package-grid div,
.blog-card,
.premium-form,
.contact-panel,
.brand-block,
.service-hero aside,
.deliverable-list span,
.faq-grid details,
.cta-band {
  position: relative;
  overflow: hidden;
}
.service-grid article::before,
.proof-grid div::before,
.process-line div::before,
.package-grid div::before,
.blog-card::before,
.premium-form::before,
.contact-panel::before,
.brand-block::before,
.service-hero aside::before,
.faq-grid details::before,
.cta-band::before {
  position: absolute;
  content: "";
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(255,255,255,.65), transparent 34%),
    radial-gradient(circle at 18% 0%, rgba(23,104,242,.12), transparent 34%);
  opacity: .85;
}
.service-grid article::after,
.proof-grid div::after,
.process-line div::after,
.package-grid div::after,
.blog-card::after,
.premium-form::after,
.contact-panel::after,
.brand-block::after,
.service-hero aside::after,
.faq-grid details::after {
  position: absolute;
  content: "";
  left: 18px;
  right: 18px;
  top: 0;
  height: 3px;
  border-radius: 0 0 999px 999px;
  background: linear-gradient(90deg, transparent, var(--blue), var(--blue-2), transparent);
  opacity: .75;
}
.service-grid article {
  display: flex;
  flex-direction: column;
  min-height: 310px;
  padding: 32px;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}
.service-grid article:hover, .blog-card:hover {
  transform: translateY(-8px);
  border-color: rgba(23,104,242,0.32);
  box-shadow: 0 26px 80px rgba(23,104,242,.16);
}
.service-grid article > *,
.proof-grid div > *,
.process-line div > *,
.package-grid div > *,
.blog-card > *,
.premium-form > *,
.contact-panel > *,
.brand-block > *,
.service-hero aside > *,
.faq-grid details > *,
.cta-band > * {
  position: relative;
  z-index: 1;
}
.service-grid span { color: var(--blue); font-weight: 900; }
.service-grid h3 {
  margin-top: 34px;
  min-height: 58px;
  display: flex;
  align-items: flex-start;
}
.service-grid article > a {
  display: inline-flex;
  margin-top: auto;
  padding-top: 20px;
  color: var(--blue);
  font-weight: 900;
  text-decoration: none;
}
.service-grid article p {
  margin-top: 0;
}
.service-grid p, .proof-grid p, .process-line p, .package-grid p, .blog-card em {
  color: var(--muted);
  line-height: 1.65;
}

.category-line {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  width: min(1180px, calc(100% - 40px));
  margin: 24px auto 0;
}
.category-line a {
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.86);
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(8,24,52,.05);
}
.category-line a:hover {
  border-color: rgba(23,104,242,.3);
  color: var(--blue);
}

.service-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 48px;
  align-items: stretch;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 86px 0 34px;
}
.service-hero p:not(.badge) {
  max-width: 720px;
  color: var(--muted);
  font-size: 18px;
}
.service-hero .btn {
  margin-top: 18px;
}
.service-hero aside {
  display: grid;
  align-content: center;
  gap: 12px;
  padding: 28px;
  border: 1px solid rgba(23,104,242,.18);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(255,255,255,.94), rgba(237,245,255,.88));
  box-shadow: var(--shadow);
}
.service-hero aside strong {
  color: var(--dark);
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 24px;
}
.service-hero aside span,
.deliverable-list span {
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  color: var(--ink);
  font-weight: 900;
}
.service-detail-grid {
  display: grid;
  grid-template-columns: .85fr 1fr;
  gap: 42px;
  align-items: start;
}
.service-detail-grid > div:first-child p:not(.section-tag) {
  color: var(--muted);
  font-size: 18px;
}
.deliverable-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.faq-section .section-head {
  align-items: start;
}
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: 16px;
}
.faq-grid details {
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.96), rgba(237,245,255,.62));
  box-shadow: 0 16px 46px rgba(8,24,52,.07);
  overflow: hidden;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}
.faq-grid details[open] {
  border-color: rgba(23,104,242,.26);
  box-shadow: 0 22px 68px rgba(23,104,242,.12);
}
.faq-grid summary {
  position: relative;
  display: flex;
  align-items: center;
  cursor: pointer;
  padding: 22px 66px 22px 24px;
  color: var(--dark);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -.01em;
  line-height: 1.4;
  list-style: none;
}
.faq-grid summary::-webkit-details-marker {
  display: none;
}
.faq-grid summary::after {
  position: absolute;
  content: "+";
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--dark);
  color: var(--white);
  font-size: 18px;
  line-height: 1;
  transition: background .25s ease, transform .25s ease, color .25s ease;
}
.faq-grid details[open] summary::after {
  content: "–";
  background: var(--blue);
  color: #fff;
  transform: translateY(-50%) scale(1.06);
}
.faq-grid p {
  margin: 0;
  padding: 2px 24px 24px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}
.faq-grid details[open] p {
  animation: faqReveal .38s cubic-bezier(.16,1,.3,1) both;
}
@keyframes faqReveal {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.dark-panel {
  width: min(1180px, calc(100% - 40px));
  padding: 62px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 28px;
  background:
    radial-gradient(circle at 12% 0%, rgba(58,134,255,.22), transparent 34%),
    linear-gradient(145deg, #05070a, #091220);
  box-shadow: var(--shadow);
}
.dark-panel::before {
  position: absolute;
  content: "";
  inset: 1px;
  border-radius: inherit;
  background:
    radial-gradient(circle at 16% 0%, rgba(58,134,255,.22), transparent 34%),
    linear-gradient(145deg, rgba(255,255,255,.08), transparent 42%);
  pointer-events: none;
}
.dark-panel > * {
  position: relative;
  z-index: 1;
}
.dark-panel h2, .dark-panel h3, .dark-panel strong { color: var(--white); }
.dark-panel .section-tag { color: #9cc3ff; }
.panel-copy { max-width: 760px; margin-bottom: 28px; }
.proof-grid { grid-template-columns: repeat(4, 1fr); }
.proof-grid div, .package-grid div {
  padding: 30px;
  min-height: 178px;
}
.proof-grid strong { font-family: "DM Sans", Arial, sans-serif; font-size: 20px; }
.proof-grid.light strong { color: var(--dark); }
.dark-panel .proof-grid div {
  min-height: 170px;
  border-color: rgba(255, 255, 255, 0.14);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.105), rgba(255, 255, 255, 0.045)),
    rgba(9, 18, 32, 0.82);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.22);
}
.dark-panel .proof-grid div::before {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 38%),
    radial-gradient(circle at 18% 0%, rgba(58, 134, 255, 0.24), transparent 34%);
  opacity: 1;
}
.dark-panel .proof-grid div::after {
  left: 24px;
  right: 24px;
  background: linear-gradient(90deg, transparent, #6da5ff, var(--blue-2), transparent);
  opacity: 0.95;
}
.dark-panel .proof-grid strong {
  display: block;
  margin-bottom: 22px;
  color: #dbeafe;
  font-size: 24px;
  letter-spacing: 0.04em;
}
.dark-panel .proof-grid p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 16px;
  line-height: 1.65;
}
.package-grid { grid-template-columns: repeat(3, 1fr); }
.premium-block {
  width: min(1180px, calc(100% - 40px));
  padding: 54px;
  border: 1px solid rgba(23,104,242,.13);
  border-radius: 28px;
  background:
    radial-gradient(circle at 88% 0%, rgba(23,104,242,.12), transparent 34%),
    linear-gradient(135deg, rgba(255,255,255,.9), rgba(237,245,255,.72));
  box-shadow: 0 22px 70px rgba(23,104,242,.10);
}
.process-line { grid-template-columns: repeat(4, 1fr); }
.process-line div {
  padding: 30px;
  min-height: 250px;
}
.process-line div {
  background:
    linear-gradient(145deg, rgba(255,255,255,.95), rgba(255,255,255,.72)),
    radial-gradient(circle at 20% 0%, rgba(23,104,242,.10), transparent 34%);
}
.process-line b {
  display: inline-grid;
  place-items: center;
  width: 62px;
  height: 62px;
  margin-bottom: 18px;
  border: 1px solid rgba(23,104,242,.18);
  border-radius: 16px;
  background:
    linear-gradient(145deg, var(--blue), var(--blue-2));
  color: var(--white);
  font-family: "DM Sans", Arial, sans-serif;
  box-shadow: 0 16px 32px rgba(23,104,242,.22);
}
.process-line h3 {
  margin-bottom: 12px;
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 54px;
  border: 1px solid rgba(23,104,242,0.18);
  border-radius: 28px;
  background:
    radial-gradient(circle at 88% 0%, rgba(23,104,242,.16), transparent 34%),
    linear-gradient(135deg, #edf5ff, #ffffff);
}
.cta-band {
  box-shadow: 0 22px 70px rgba(23,104,242,.13);
}
.cta-band p:not(.section-tag) { max-width: 690px; color: var(--muted); }

.brand-block { padding: 34px; min-height: 360px; display: grid; align-content: center; justify-items: center; text-align: center; background: linear-gradient(135deg, #ffffff, var(--soft)); }
.logo-word { color: var(--dark); font-family: "DM Sans", Arial, sans-serif; font-size: clamp(50px, 7vw, 86px); font-weight: 800; letter-spacing: -0.035em; }
.logo-word span { color: var(--blue); }
.mini-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; width: 100%; margin-top: 26px; }
.mini-stats div { padding: 18px; border-radius: 12px; background: var(--white); }
.mini-stats strong { display: block; color: var(--blue); font-size: 30px; }
.mini-stats span { color: var(--muted); font-weight: 800; font-size: 13px; }
.value-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 26px; }
.value-list span { padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); font-weight: 800; }

.blog-grid { grid-template-columns: repeat(3, 1fr); }
.blog-card { overflow: hidden; transition: transform 180ms ease, box-shadow 180ms ease; }
.blog-art {
  display: grid;
  place-items: center;
  min-height: 180px;
  background:
    radial-gradient(circle at 25% 20%, rgba(23,104,242,.18), transparent 32%),
    linear-gradient(135deg, var(--soft), #dceaff);
}
.blog-art span { color: var(--blue); font-family: "DM Sans", Arial, sans-serif; font-size: 40px; font-weight: 800; }
.blog-card div:last-child { padding: 24px; }
.blog-card p { margin: 0 0 10px; color: var(--blue); font-size: 12px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.blog-card em { display: block; margin-top: 12px; font-style: normal; }
.blog-card a { display: inline-block; margin-top: 18px; color: var(--blue); font-weight: 900; text-decoration: none; }

.contact-panel { padding: 32px; }
.contact-methods { display: grid; gap: 12px; margin-top: 28px; }
.contact-methods a { display: grid; gap: 4px; padding: 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); text-decoration: none; }
.contact-methods span { color: var(--muted); font-size: 12px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.contact-methods strong { color: var(--blue); }
.premium-form { display: grid; gap: 16px; padding: 32px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label { display: grid; gap: 8px; color: var(--ink); font-size: 13px; font-weight: 900; }
input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fbfdff;
  color: var(--ink);
  font: inherit;
  padding: 14px 15px;
  outline: none;
}
input:focus, select:focus, textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(23,104,242,.1); }
textarea { resize: vertical; }
.form-status { min-height: 22px; margin: 0; color: var(--blue); font-weight: 900; }

.site-footer {
  display: block;
  padding: 48px 0 26px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}
.footer-main {
  display: grid;
  grid-template-columns: minmax(240px, 1.15fr) .7fr .9fr .95fr;
  gap: 34px;
  padding: 34px;
  border: 1px solid rgba(23, 104, 242, .13);
  border-radius: 24px;
  background:
    radial-gradient(circle at 10% 0%, rgba(23,104,242,.10), transparent 30%),
    rgba(255, 255, 255, .84);
  box-shadow: 0 20px 64px rgba(8, 24, 52, .08);
  backdrop-filter: blur(16px);
}
.footer-brand img {
  width: 124px;
}
.footer-brand p {
  margin: 18px 0 6px;
  color: var(--dark);
  font-size: 20px;
  font-weight: 900;
}
.footer-brand span {
  color: var(--muted);
  font-weight: 800;
}
.footer-links,
.footer-contact {
  display: grid;
  align-content: start;
  gap: 10px;
}
.footer-links strong,
.footer-contact strong {
  margin-bottom: 7px;
  color: var(--dark);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.footer-links a,
.footer-contact a {
  color: var(--muted);
  font-weight: 800;
  text-decoration: none;
}
.footer-links a:hover,
.footer-contact a:hover {
  color: var(--blue);
}
.footer-cta {
  justify-self: start;
  margin-top: 8px;
  padding: 12px 15px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  color: var(--white) !important;
  box-shadow: 0 12px 26px rgba(23,104,242,.22);
}
.footer-socials {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}
.footer-socials a {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(23,104,242,.14);
  border-radius: 50%;
  background: var(--white);
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  box-shadow: 0 10px 22px rgba(8,24,52,.06);
}
.footer-socials svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 4px 0;
  color: var(--muted);
  font-weight: 800;
}
.footer-bottom a {
  color: var(--blue);
  text-decoration: none;
}

.director-card {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 34px;
  align-items: center;
  padding: 34px;
  border: 1px solid rgba(23,104,242,.13);
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(255,255,255,.95), rgba(237,245,255,.72));
  box-shadow: 0 24px 72px rgba(8,24,52,.09);
}
.director-photo {
  display: grid;
  place-items: center;
  width: 220px;
  aspect-ratio: 1;
  border-radius: 24px;
  background:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,.7), transparent 30%),
    linear-gradient(145deg, var(--blue), #05070a);
  color: var(--white);
  font-size: 54px;
  font-weight: 900;
  box-shadow: 0 22px 52px rgba(23,104,242,.22);
}
/* When a real photo is supplied, fill the square cleanly instead of the monogram. */
.director-photo.has-photo { overflow: hidden; padding: 0; }
.director-photo.has-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: inherit;
  display: block;
}
.director-card h3 {
  margin-top: 8px;
  color: var(--blue);
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 18px;
}
.director-card p:not(.section-tag) {
  color: var(--muted);
}

.leadership-section .section-head {
  margin-bottom: 28px;
}

.leader-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.director-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
  margin-top: 26px;
}
.director-link {
  font-weight: 800;
  font-size: 14px;
  color: var(--blue);
  text-decoration: none;
  transition: color .2s ease, transform .2s ease;
}
.director-link:hover { color: var(--blue-2); transform: translateX(2px); }

.leader-points span {
  padding: 10px 13px;
  border: 1px solid rgba(23,104,242,.16);
  border-radius: 999px;
  background: rgba(23,104,242,.08);
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.testimonial-grid div {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,.9);
  box-shadow: 0 18px 54px rgba(8,24,52,.07);
}
.testimonial-grid p {
  margin-top: 0;
  color: var(--muted);
  font-size: 17px;
}
.testimonial-grid strong {
  color: var(--dark);
}

.blog-tools {
  padding-bottom: 0;
}
.blog-tools form {
  display: flex;
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,.88);
  box-shadow: 0 16px 48px rgba(8,24,52,.06);
}
.blog-tools input {
  flex: 1;
}
.map-placeholder {
  display: grid;
  place-items: center;
  min-height: 190px;
  margin-top: 22px;
  border: 1px dashed rgba(23,104,242,.28);
  border-radius: 18px;
  background: rgba(237,245,255,.65);
  color: var(--blue);
  font-weight: 900;
}
.hidden-field {
  position: absolute;
  left: -9999px;
}
.single-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 34px;
}
.single-content,
.single-sidebar {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255,255,255,.9);
  box-shadow: 0 18px 56px rgba(8,24,52,.07);
}
.single-content figure {
  margin: 0 0 24px;
}
.single-content img {
  width: 100%;
  height: auto;
  border-radius: 18px;
}
.single-meta {
  display: flex;
  gap: 12px;
  margin-bottom: 22px;
  color: var(--muted);
  font-weight: 800;
}
.single-content p {
  color: var(--muted);
  font-size: 17px;
}
.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 70;
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border: 2px solid rgba(255,255,255,.82);
  border-radius: 50%;
  background: #25d366;
  color: var(--white);
  text-decoration: none;
  box-shadow: 0 18px 44px rgba(0, 0, 0, .25), 0 0 0 8px rgba(37, 211, 102, .12);
  transition: transform 180ms ease, box-shadow 180ms ease;
  animation: whatsappAttention 5s ease-in-out infinite;
}
.whatsapp-float svg {
  width: 29px;
  height: 29px;
  fill: currentColor;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,.18));
}
.whatsapp-float:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 24px 54px rgba(0, 0, 0, .3), 0 0 0 10px rgba(37, 211, 102, .15);
  animation-play-state: paused;
}

/* Premium agency landing */
.agency-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, .92fr);
  align-items: center;
  gap: 64px;
  width: min(1180px, calc(100% - 40px));
  min-height: calc(100vh - 110px);
  margin: 0 auto;
  padding: 82px 0 58px;
}

.agency-hero-copy h1 {
  max-width: 820px;
  font-size: clamp(48px, 6.2vw, 82px);
}

.hero-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 36px;
}

.hero-kpis div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255,255,255,.78);
  box-shadow: 0 14px 42px rgba(8,24,52,.06);
}

.hero-kpis strong {
  display: block;
  color: var(--blue);
  font-size: 30px;
  font-weight: 900;
}

.hero-kpis span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.agency-visual {
  position: relative;
  min-height: 610px;
}

.visual-frame {
  position: absolute;
  inset: 50px 22px 56px;
  overflow: hidden;
  border: 1px solid rgba(23,104,242,.15);
  border-radius: 30px;
  background:
    radial-gradient(circle at 50% 28%, rgba(23,104,242,.12), transparent 42%),
    linear-gradient(145deg, rgba(255,255,255,.96), rgba(237,245,255,.82));
  box-shadow: 0 28px 90px rgba(23,104,242,.16);
}

.visual-frame::before {
  position: absolute;
  content: "";
  inset: -30%;
  background: conic-gradient(from 120deg, transparent, rgba(23,104,242,.18), transparent 36%);
  animation: spin 11s linear infinite;
}

.visual-top,
.campaign-score,
.growth-bars,
.strategy-map {
  position: relative;
  z-index: 1;
}

.visual-top {
  display: flex;
  gap: 8px;
  padding: 24px;
}

.visual-top span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #9cc3ff;
}

.campaign-score {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 0 24px 16px;
}

.campaign-score div,
.growth-bars,
.strategy-map {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255,255,255,.9);
  padding: 22px;
  box-shadow: 0 16px 42px rgba(8,24,52,.07);
}

.campaign-score .dark {
  background: #05070a;
}

.campaign-score small {
  color: var(--muted);
  font-weight: 900;
}

.campaign-score .dark small,
.campaign-score .dark strong {
  color: var(--white);
}

.campaign-score strong {
  display: block;
  margin-top: 8px;
  color: var(--blue);
  font-size: 40px;
  font-weight: 900;
}

.campaign-score em {
  display: block;
  width: 68%;
  height: 9px;
  margin-top: 16px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue), #9cc3ff);
}

.growth-bars {
  display: flex;
  align-items: end;
  gap: 12px;
  height: 150px;
  margin: 0 24px 16px;
}

.growth-bars b {
  flex: 1;
  border-radius: 12px 12px 0 0;
  background: linear-gradient(180deg, #3a86ff, #1768f2);
}

.growth-bars b:nth-child(1){height:36%}.growth-bars b:nth-child(2){height:48%}.growth-bars b:nth-child(3){height:40%}.growth-bars b:nth-child(4){height:68%}.growth-bars b:nth-child(5){height:86%}

.strategy-map {
  min-height: 122px;
  margin: 0 24px 24px;
}

.strategy-map p {
  margin: 0 0 14px;
  color: var(--dark);
  font-weight: 900;
}

.strategy-map span,
.floating-label {
  display: inline-flex;
  margin: 0 8px 8px 0;
  padding: 10px 13px;
  border-radius: 999px;
  background: #05070a;
  color: var(--white);
  font-size: 12px;
  font-weight: 900;
}

.floating-label {
  position: absolute;
  z-index: 2;
  box-shadow: 0 18px 45px rgba(8,24,52,.18);
  animation: floatUp 4s ease-in-out infinite;
}

.label-one { top: 18px; left: 0; }
.label-two { right: 0; bottom: 96px; animation-delay: 1s; }
.label-three { left: 44px; bottom: 34px; animation-delay: 2s; }

.growth-command {
  position: absolute;
  inset: 42px 10px 46px;
  overflow: hidden;
  border: 1px solid rgba(23,104,242,.16);
  border-radius: 34px;
  background:
    radial-gradient(circle at 12% 18%, rgba(23,104,242,.16), transparent 28%),
    radial-gradient(circle at 82% 24%, rgba(156,195,255,.32), transparent 30%),
    linear-gradient(145deg, rgba(255,255,255,.98), rgba(240,247,255,.9));
  box-shadow: 0 34px 100px rgba(8,24,52,.15);
}

.growth-command::before {
  position: absolute;
  content: "";
  inset: 72px 34px 34px;
  border: 1px solid rgba(23,104,242,.12);
  border-radius: 999px;
  transform: rotate(-8deg);
}

.growth-command::after {
  position: absolute;
  content: "";
  width: 220px;
  height: 220px;
  right: -72px;
  bottom: -70px;
  border-radius: 50%;
  background: #05070a;
  opacity: .96;
}

.command-top,
.command-grid {
  position: relative;
  z-index: 2;
}

.command-top {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 24px 26px 18px;
}

.command-top span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #9cc3ff;
}

.command-top strong {
  margin-left: auto;
  color: var(--dark);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.command-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 0 26px 26px;
}

.command-card,
.command-funnel,
.command-stack {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 18px 54px rgba(8,24,52,.08);
}

.command-card {
  min-height: 150px;
  padding: 24px;
}

.command-card.dark {
  background: #05070a;
}

.command-card small {
  color: var(--muted);
  font-weight: 900;
}

.command-card.dark small,
.command-card.dark strong {
  color: var(--white);
}

.command-card strong {
  display: block;
  margin-top: 12px;
  color: var(--blue);
  font-size: 44px;
  line-height: 1;
  font-weight: 900;
}

.command-card em {
  display: block;
  width: 72%;
  height: 9px;
  margin-top: 20px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue), #9cc3ff);
}

.command-funnel {
  grid-column: 1 / -1;
  display: grid;
  gap: 12px;
  padding: 26px;
}

.command-funnel b {
  height: 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue), #9cc3ff);
}

.command-funnel b:nth-child(1) { width: 94%; }
.command-funnel b:nth-child(2) { width: 68%; }
.command-funnel b:nth-child(3) { width: 42%; }

.command-funnel span {
  color: var(--dark);
  font-weight: 900;
}

.command-stack {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 24px;
}

.command-stack span {
  padding: 10px 13px;
  border-radius: 999px;
  background: #05070a;
  color: var(--white);
  font-size: 12px;
  font-weight: 900;
}

.capability-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 18px;
  border: 1px solid rgba(23,104,242,.12);
  border-radius: 18px;
  background: rgba(255,255,255,.72);
  box-shadow: 0 16px 48px rgba(8,24,52,.06);
}

.capability-strip span {
  color: var(--dark);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.capability-strip b {
  width: 7px;
  height: 7px;
  margin-top: 7px;
  border-radius: 50%;
  background: var(--blue);
}

.agency-intro {
  display: grid;
  grid-template-columns: .9fr 1fr;
  gap: 64px;
}

.premium-service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.premium-service-grid article,
.architecture-grid div {
  position: relative;
  overflow: hidden;
  min-height: 285px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.94), rgba(255,255,255,.72)),
    radial-gradient(circle at 15% 0%, rgba(23,104,242,.12), transparent 35%);
  box-shadow: 0 18px 58px rgba(8,24,52,.08);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}
.premium-service-grid article::after {
  position: absolute;
  content: "";
  left: 30px;
  right: 30px;
  bottom: 0;
  height: 3px;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(90deg, transparent, var(--blue), transparent);
  opacity: 0;
  transition: opacity 180ms ease;
}

.premium-service-grid article:hover::after {
  opacity: 1;
}

.premium-service-grid h3 {
  margin: 0 0 14px;
}

.premium-service-grid p {
  min-height: 76px;
}
.architecture-grid div {
  min-height: 220px;
}
.architecture-grid h3 {
  margin: 18px 0 10px;
}
.architecture-grid strong {
  display: inline-flex;
  padding: 8px 11px;
  border-radius: 999px;
  background: rgba(23,104,242,.09);
}

.premium-service-grid article:hover,
.architecture-grid div:hover {
  transform: translateY(-8px);
  border-color: rgba(23,104,242,.28);
  box-shadow: 0 28px 88px rgba(23,104,242,.15);
}

.service-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 34px;
}

.service-card-top span,
.architecture-grid strong {
  color: var(--blue);
  font-size: 20px;
  font-weight: 900;
}

.service-card-top i {
  position: relative;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(23,104,242,.18);
  border-radius: 12px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.95), rgba(237,245,255,.78));
  box-shadow: 0 14px 30px rgba(8,24,52,.08);
}

.service-card-top i::before,
.service-card-top i::after {
  position: absolute;
  content: "";
  border-radius: 999px;
  background: var(--blue);
}

.service-card-top i::before {
  left: 12px;
  right: 12px;
  top: 15px;
  height: 4px;
}

.service-card-top i::after {
  left: 12px;
  right: 20px;
  top: 25px;
  height: 4px;
  opacity: .55;
}

.premium-service-grid p,
.architecture-grid p {
  color: var(--muted);
}

.premium-service-grid a {
  display: inline-flex;
  margin-top: 18px;
  padding: 11px 14px;
  border-radius: 999px;
  background: rgba(23,104,242,.08);
  color: var(--blue);
  font-weight: 900;
  text-decoration: none;
}

.strategy-showcase {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 38px;
  align-items: stretch;
  width: min(1180px, calc(100% - 40px));
  padding: 54px;
  border: 1px solid rgba(23,104,242,.13);
  border-radius: 28px;
  background:
    radial-gradient(circle at 92% 0%, rgba(23,104,242,.13), transparent 34%),
    rgba(255,255,255,.78);
  box-shadow: 0 24px 80px rgba(8,24,52,.08);
}

.showcase-copy p:not(.section-tag) {
  color: var(--muted);
  font-size: 18px;
}

.architecture-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 1080px) {
  .agency-hero,
  .agency-intro,
  .strategy-showcase {
    grid-template-columns: 1fr;
  }

  .agency-visual {
    min-height: 560px;
  }

  .premium-service-grid {
    grid-template-columns: 1fr 1fr;
  }
  .faq-grid {
    grid-template-columns: 1fr;
  }
  .director-card,
  .single-layout {
    grid-template-columns: 1fr;
  }
  .testimonial-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .agency-hero,
  .capability-strip,
  .strategy-showcase {
    width: min(100% - 28px, 1180px);
  }

  .agency-hero {
    padding: 56px 0 42px;
  }

  .hero-kpis,
  .campaign-score,
  .premium-service-grid,
  .architecture-grid {
    grid-template-columns: 1fr;
  }

  .agency-visual {
    min-height: 600px;
  }

  .visual-frame {
    inset: 42px 0 80px;
  }

  .growth-command {
    inset: 28px 0 56px;
  }

  .command-grid {
    grid-template-columns: 1fr;
    padding: 0 18px 22px;
  }

  .command-card {
    min-height: 126px;
    padding: 20px;
  }

  .command-card strong {
    font-size: 36px;
  }

  .command-top {
    padding-inline: 18px;
  }

  .strategy-showcase {
    padding: 28px;
    border-radius: 18px;
  }

  .cta-band {
    padding: 30px;
  }

  .faq-grid summary {
    font-size: 16px;
  }
  .director-card {
    padding: 26px;
  }
  .director-photo {
    width: 100%;
    max-width: 220px;
  }
  .blog-tools form {
    flex-direction: column;
  }
  .single-content,
  .single-sidebar {
    padding: 24px;
  }
}

/* Service-specific animated capability graphics */
.studio-capability-visual {
  display: grid;
  place-items: center;
  height: 190px;
}

.studio-capability-visual svg {
  width: min(100%, 210px);
  height: 170px;
  overflow: visible;
  color: currentColor;
}

.studio-capability-visual svg * {
  vector-effect: non-scaling-stroke;
}

.studio-capability-visual .motion-frame,
.studio-capability-visual .motion-orbit,
.studio-capability-visual .motion-line,
.studio-capability-visual .motion-scan,
.studio-capability-visual .motion-chart,
.studio-capability-visual .motion-arrow,
.studio-capability-visual .motion-envelope,
.studio-capability-visual .motion-network,
.studio-capability-visual .motion-pin,
.studio-capability-visual .motion-radar,
.studio-capability-visual .motion-code,
.studio-capability-visual .motion-lens,
.studio-capability-visual .motion-focus {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.studio-capability-visual .motion-pulse,
.studio-capability-visual .motion-core,
.studio-capability-visual .motion-node,
.studio-capability-visual .motion-satellite,
.studio-capability-visual .motion-dot {
  fill: var(--blue);
  stroke: none;
  transform-box: fill-box;
  transform-origin: center;
}

.studio-capability .motion-pulse,
.studio-capability .motion-core {
  animation: capabilityIdlePulse 2.8s ease-in-out infinite;
}

.studio-capability .studio-capability-visual {
  animation: capabilityIdleFloat 4.8s ease-in-out infinite;
}

.studio-capability:nth-child(2n) .studio-capability-visual {
  animation-delay: -1.4s;
}

.studio-capability-visual .motion-scan,
.studio-capability-visual .motion-chart,
.studio-capability-visual .motion-envelope,
.studio-capability-visual .motion-network,
.studio-capability-visual .motion-radar,
.studio-capability-visual .motion-code {
  stroke-dasharray: 240;
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 850ms ease;
}

.studio-capability:hover .motion-scan,
.studio-capability:hover .motion-chart,
.studio-capability:hover .motion-envelope,
.studio-capability:hover .motion-network,
.studio-capability:hover .motion-radar,
.studio-capability:hover .motion-code {
  animation: capabilityTrace 1.8s ease-in-out infinite;
}

.studio-capability:hover .motion-pulse {
  animation: capabilityPulse 1.2s ease-in-out infinite;
}

.studio-capability-seo:hover .motion-orbit,
.studio-capability-social-media-management:hover .motion-orbit {
  animation: capabilityOrbit 5s linear infinite;
  transform-origin: center;
}

.studio-capability-google-meta-ads:hover .motion-chart {
  animation: capabilityDraw 1.6s ease-in-out infinite alternate;
}

.studio-capability-email-marketing:hover .motion-envelope {
  animation: capabilityEnvelope 1.5s ease-in-out infinite alternate;
  transform-origin: center;
}

.studio-capability-linkedin-marketing:hover .motion-node-two {
  animation: capabilityNode 1.3s ease-in-out infinite;
}

.studio-capability-linkedin-marketing:hover .motion-node-three {
  animation: capabilityNode 1.3s .3s ease-in-out infinite;
}

.studio-capability-google-my-business:hover .motion-pin {
  animation: capabilityPin 1.3s ease-in-out infinite;
  transform-origin: center bottom;
}

.studio-capability-social-media-management:hover .motion-satellite-one {
  animation: capabilitySatelliteOne 2.8s linear infinite;
}

.studio-capability-social-media-management:hover .motion-satellite-two {
  animation: capabilitySatelliteTwo 2.8s linear infinite;
}

.studio-capability-social-media-management:hover .motion-satellite-three {
  animation: capabilitySatelliteThree 2.8s linear infinite;
}

.studio-capability-software-development:hover .motion-code {
  animation: capabilityCode 1.2s ease-in-out infinite alternate;
}

.studio-capability-brand-shoot:hover .motion-lens {
  animation: capabilityLens 2.2s linear infinite;
  transform-origin: center;
}

.studio-capability:hover .studio-capability-visual svg {
  color: #fff;
}

@keyframes capabilityPulse {
  50% { transform: scale(1.24); opacity: .68; }
}

@keyframes capabilityIdlePulse {
  50% { transform: scale(1.08); opacity: .78; }
}

@keyframes capabilityIdleFloat {
  50% { transform: translateY(-5px); }
}

@keyframes capabilityOrbit {
  to { transform: rotate(360deg); }
}

@keyframes capabilityDraw {
  from { stroke-dashoffset: 240; }
  to { stroke-dashoffset: 0; }
}

@keyframes capabilityTrace {
  0%, 100% { stroke-dashoffset: 0; }
  50% { stroke-dashoffset: 240; }
}

@keyframes capabilityEnvelope {
  to { transform: translateY(-5px); }
}

@keyframes capabilityNode {
  50% { transform: scale(1.32); }
}

@keyframes capabilityPin {
  50% { transform: translateY(-8px) scale(1.03); }
}

@keyframes capabilitySatelliteOne {
  50% { transform: translate(48px, 85px); }
}

@keyframes capabilitySatelliteTwo {
  50% { transform: translate(-96px, 0); }
}

@keyframes capabilitySatelliteThree {
  50% { transform: translate(48px, -85px); }
}

@keyframes capabilityCode {
  to { transform: translateX(5px); }
}

@keyframes capabilityLens {
  to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .studio-capability-visual * {
    animation: none !important;
    transition: none !important;
  }

  .studio-capability-visual .motion-scan,
  .studio-capability-visual .motion-chart,
  .studio-capability-visual .motion-envelope,
  .studio-capability-visual .motion-network,
  .studio-capability-visual .motion-radar,
  .studio-capability-visual .motion-code {
    stroke-dashoffset: 0;
  }
}

@keyframes whatsappAttention {
  0%, 84%, 100% { transform: scale(1); }
  90% { transform: scale(1.08); }
  95% { transform: scale(.98); }
}

.reveal { animation: riseIn 650ms ease both; }
.delay-1 { animation-delay: 140ms; }
@keyframes riseIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pulse { 50% { opacity: .35; transform: scale(.82); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes orbitPulse { 50% { transform: scale(1.04); opacity: .55; } }
@keyframes loadBar { 0%,100% { transform: scaleX(.45); transform-origin: left; } 50% { transform: scaleX(1); transform-origin: left; } }
@keyframes bars { 50% { transform: scaleY(.62); transform-origin: bottom; } }
@keyframes floatUp { 50% { transform: translateY(-10px); } }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Hero dashboard fit corrections */
.growth-stage {
  min-height: 640px;
}

.growth-stage .dashboard-shell {
  inset: 54px 18px 72px;
}

.growth-stage .channel-map {
  min-height: 124px;
  padding-bottom: 26px;
}

.growth-stage .channel-map div {
  padding-right: 84px;
}

.growth-stage .chip-b {
  right: 0;
  bottom: 108px;
}

.growth-stage .chip-c {
  left: 48px;
  bottom: 46px;
}

@media (max-width: 1080px) {
  .hero, .intro-split, .about-layout, .contact-layout { grid-template-columns: 1fr; }
  .growth-stage { min-height: 500px; }
  .service-grid, .service-grid.full, .proof-grid, .process-line, .package-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: 1fr 1fr; }
  .service-hero, .service-detail-grid { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .site-header { grid-template-columns: auto 1fr auto; }
  .main-nav {
    position: fixed;
    top: 100px;
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--white);
    box-shadow: var(--shadow);
  }
  .main-nav.is-open { display: flex; }
  .menu-toggle { display: block; }
  .nav-cta { display: none; }
  .section-head {
    grid-template-columns: 1fr;
    align-items: start;
  }
  .cta-band { align-items: start; flex-direction: column; }
}
@media (max-width: 640px) {
  .site-header, .hero, .section, .page-hero, .site-footer { width: min(100% - 28px, 1180px); }
  .hero, .section, .page-hero { padding-block: 56px; }
  .growth-stage { min-height: 440px; }
  .dashboard-shell { inset: 40px 0; }
  .dash-grid { gap: 10px; padding-inline: 14px; }
  .score-card, .line-chart, .channel-map { padding: 14px; }
  .float-chip { font-size: 11px; }
  .chip-a { left: 4px; } .chip-b { right: 4px; bottom: 52px; } .chip-c { left: 12px; }
  .service-grid, .service-grid.full, .proof-grid, .process-line, .package-grid, .blog-grid, .form-row, .value-list, .mini-stats { grid-template-columns: 1fr; }
  .service-hero, .category-line { width: min(100% - 28px, 1180px); }
  .service-hero { padding-block: 56px 24px; }
  .deliverable-list, .faq-grid { grid-template-columns: 1fr; }
  .dark-panel, .cta-band, .premium-block {
    width: min(100% - 28px, 1180px);
    padding: 28px;
    border-radius: 18px;
  }
  .footer-main {
    grid-template-columns: 1fr;
    padding: 26px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .footer-brand,
  .footer-links,
  .footer-contact {
    justify-items: center;
    text-align: center;
  }
  .footer-contact .footer-cta {
    justify-self: center;
    width: 100%;
    max-width: 320px;
  }
}

@media (max-width: 1080px) {
  .growth-stage {
    min-height: 620px;
  }

  .growth-stage .dashboard-shell {
    inset: 44px 0 76px;
  }
}

@media (max-width: 640px) {
  .growth-stage {
    min-height: 560px;
  }

  .growth-stage .dashboard-shell {
    inset: 36px 0 72px;
  }

  .growth-stage .chip-b {
    bottom: 106px;
  }

.growth-stage .chip-c {
    left: 18px;
    bottom: 42px;
  }
}

/* Xper8 brief alignment pass */
:root {
  --font-display: "DM Sans", Arial, sans-serif;
  --font-body: "DM Sans", Arial, sans-serif;
  --font-mono: "JetBrains Mono", monospace;
}

body {
  font-family: var(--font-body);
}

h1,
h2,
h3,
.wordmark,
.primary-button,
.nav-cta,
.service-card-top span,
.hero-kpis strong,
.xper8-stats-band strong {
  font-family: var(--font-display);
  letter-spacing: -0.025em;
}

.brand {
  text-decoration: none;
}

.wordmark {
  display: inline-flex;
  align-items: baseline;
  color: #05070a;
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
}

.wordmark em {
  color: #1768f2;
  font-style: normal;
}

.site-header {
  min-height: 80px;
  background: rgba(255, 255, 255, .78);
  backdrop-filter: blur(20px);
}

.nav-cta {
  border-radius: 10px;
}

.agency-hero {
  min-height: calc(100vh - 88px);
}

.brief-hero-title span {
  display: block;
}

.brief-hero-title .blue-word {
  position: relative;
  width: max-content;
  color: #1768f2;
}

.brief-hero-title .blue-word::after {
  position: absolute;
  content: "";
  left: 4px;
  right: 4px;
  bottom: 7px;
  height: 11px;
  border-radius: 999px;
  background: rgba(23, 104, 242, .16);
  z-index: -1;
  animation: xper8Draw 900ms ease both;
}

.brief-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 26px;
}

.brief-pills span {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.88);
  color: var(--dark);
  font-size: 13px;
  font-weight: 900;
}

.whatsapp-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 14px 18px;
  border-radius: 12px;
  background: #25d366;
  color: #fff;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 16px 36px rgba(37, 211, 102, .28);
}

.rating-proof {
  margin-top: 22px;
  color: var(--muted);
  font-weight: 800;
}

.rating-proof strong {
  color: #f5b301;
  letter-spacing: .08em;
}

.xper8-stats-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  width: 100%;
  max-width: none;
  padding: 58px max(20px, calc((100vw - 1180px) / 2));
  background: #1768f2;
  color: #fff;
}

.xper8-stats-band div {
  text-align: center;
}

.xper8-stats-band strong {
  display: block;
  color: #fff;
  font-size: clamp(34px, 4.5vw, 62px);
  font-weight: 800;
}

.xper8-stats-band span {
  color: rgba(255,255,255,.78);
  font-weight: 800;
}

.premium-table {
  width: 100%;
  overflow: hidden;
  border-collapse: collapse;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 22px 72px rgba(8,24,52,.08);
}

.premium-table th,
.premium-table td {
  padding: 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.premium-table th {
  background: #05070a;
  color: #fff;
}

.premium-table tr:hover td {
  background: #f4f8ff;
}

.results-hero {
  max-width: none;
  width: min(1180px, calc(100% - 40px));
  padding: 96px 42px;
  border-radius: 28px;
  background: #05070a;
}

.results-hero h1,
.results-hero p {
  color: #fff;
}

.case-study-grid,
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.case-study-card,
.pricing-grid article {
  position: relative;
  overflow: hidden;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(255,255,255,.98), rgba(244,248,255,.86));
  box-shadow: 0 20px 70px rgba(8,24,52,.08);
}

.case-results {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 24px;
}

.case-results div,
.roi-output {
  padding: 16px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
}

.case-results strong,
.roi-output strong {
  display: block;
  color: #1768f2;
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 800;
}

.mini-chart {
  display: flex;
  align-items: end;
  gap: 8px;
  height: 90px;
  margin-top: 24px;
}

.mini-chart i {
  flex: 1;
  border-radius: 9px 9px 0 0;
  background: linear-gradient(180deg, #2878ff, #1768f2);
}

.mini-chart i:nth-child(1) { height: 32%; }
.mini-chart i:nth-child(2) { height: 48%; }
.mini-chart i:nth-child(3) { height: 58%; }
.mini-chart i:nth-child(4) { height: 74%; }
.mini-chart i:nth-child(5) { height: 92%; }

.roi-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: center;
  padding: 40px;
  border-radius: 24px;
  background: #05070a;
}

.roi-box h2,
.roi-box p {
  color: #fff;
}

.roi-output {
  display: grid;
  gap: 8px;
}

.pricing-grid article.featured {
  border: 2px solid #1768f2;
  transform: translateY(-10px);
  box-shadow: 0 30px 88px rgba(23,104,242,.18);
}

.pricing-grid ul {
  display: grid;
  gap: 10px;
  padding-left: 20px;
  color: var(--muted);
}

@keyframes xper8Draw {
  from { transform: scaleX(0); transform-origin: left; }
  to { transform: scaleX(1); transform-origin: left; }
}

@media (max-width: 1080px) {
  .case-study-grid,
  .pricing-grid,
  .xper8-stats-band,
  .roi-box {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .case-study-grid,
  .pricing-grid,
  .xper8-stats-band,
  .roi-box {
    grid-template-columns: 1fr;
  }

  .results-hero {
    padding: 56px 24px;
  }

  .pricing-grid article.featured {
    transform: none;
  }
}

/* Typography, navigation, and responsive structure corrections */
button,
input,
select,
textarea {
  font: inherit;
}

h1,
h2,
h3,
.service-hero aside strong,
.proof-grid strong,
.logo-word,
.blog-art span {
  font-family: var(--font-display);
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

:focus-visible {
  outline: 3px solid rgba(23, 104, 242, .38);
  outline-offset: 3px;
}

.menu-toggle {
  cursor: pointer;
}

.menu-toggle span {
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle.is-open span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.menu-toggle.is-open span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.premium-table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
}

@media (max-width: 820px) {
  .site-header {
    top: 8px;
    min-height: 68px;
    margin-top: 8px;
    padding: 8px 12px;
  }

  .brand {
    width: auto;
  }

  .main-nav {
    top: 86px;
    left: 14px;
    right: 14px;
    max-height: calc(100vh - 104px);
    overflow-y: auto;
  }

  .main-nav a {
    width: 100%;
    padding: 13px 14px;
  }
}

@media (max-width: 640px) {
  h1 {
    font-size: clamp(38px, 13vw, 58px);
    line-height: 1;
  }

  h2 {
    font-size: clamp(29px, 9vw, 42px);
    line-height: 1.08;
  }

  h3 {
    font-size: 20px;
  }

  .hero-text,
  .page-hero p,
  .rich-copy p,
  .section-head p,
  .contact-panel p {
    font-size: 16px;
  }

  .agency-hero,
  .hero,
  .section,
  .page-hero {
    min-height: auto;
  }

  .agency-visual {
    min-height: 520px;
  }

  .growth-command {
    inset: 24px 0 40px;
  }

  .floating-label {
    max-width: calc(100% - 20px);
    white-space: normal;
  }

  .primary-button,
  .whatsapp-button,
  .btn {
    width: 100%;
    text-align: center;
  }

  .xper8-stats-band {
    gap: 28px;
    padding-block: 44px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* Animated hero service showcase */
.service-showcase {
  display: grid;
  align-items: center;
  min-width: 0;
}

.service-showcase-shell {
  position: relative;
  display: grid;
  grid-template-rows: auto minmax(300px, 1fr) auto auto;
  width: 100%;
  min-height: 560px;
  overflow: hidden;
  border: 1px solid rgba(23, 104, 242, .18);
  border-radius: 30px;
  background:
    radial-gradient(circle at 90% 5%, rgba(58, 134, 255, .24), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, .98), rgba(237, 245, 255, .9));
  box-shadow: 0 34px 100px rgba(8, 24, 52, .15);
  isolation: isolate;
}

.service-showcase-shell::before,
.service-showcase-shell::after {
  position: absolute;
  content: "";
  z-index: -1;
  border-radius: 50%;
  pointer-events: none;
}

.service-showcase-shell::before {
  width: 300px;
  height: 300px;
  top: 90px;
  right: -170px;
  border: 1px solid rgba(23, 104, 242, .16);
  box-shadow: 0 0 0 38px rgba(23, 104, 242, .035), 0 0 0 76px rgba(23, 104, 242, .025);
  animation: serviceOrbit 10s linear infinite;
}

.service-showcase-shell::after {
  width: 210px;
  height: 210px;
  left: -120px;
  bottom: 40px;
  background: rgba(23, 104, 242, .1);
  filter: blur(12px);
}

.service-showcase-top {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 22px;
  border-bottom: 1px solid rgba(9, 22, 42, .08);
  background: rgba(255, 255, 255, .58);
}

.showcase-lights {
  display: flex;
  gap: 6px;
}

.showcase-lights span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #9cc3ff;
}

.showcase-lights span:nth-child(2) {
  background: #3a86ff;
}

.showcase-lights span:nth-child(3) {
  background: #1768f2;
}

.service-showcase-top strong {
  color: var(--dark);
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.showcase-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-left: auto;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.showcase-status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 6px rgba(34, 197, 94, .12);
  animation: pulse 1.8s ease-in-out infinite;
}

.service-showcase-stage {
  position: relative;
  min-height: 310px;
}

.service-showcase-panel {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: center;
  padding: 34px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(18px) scale(.985);
  transition: opacity 440ms ease, transform 440ms ease;
}

.service-showcase-panel.is-active {
  z-index: 2;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.showcase-panel-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.showcase-panel-head span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--dark);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 800;
}

.showcase-panel-head small {
  color: var(--blue);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.service-showcase-panel h2 {
  max-width: 470px;
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 50px);
  line-height: 1;
}

.service-showcase-panel p {
  max-width: 480px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.showcase-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.showcase-benefits span {
  padding: 8px 10px;
  border: 1px solid rgba(23, 104, 242, .12);
  border-radius: 999px;
  background: rgba(255, 255, 255, .76);
  color: var(--dark);
  font-size: 11px;
  font-weight: 900;
}

.service-showcase-panel > a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: max-content;
  margin-top: 24px;
  color: var(--blue);
  font-weight: 900;
  text-decoration: none;
}

.service-showcase-panel > a span {
  transition: transform 180ms ease;
}

.service-showcase-panel > a:hover span {
  transform: translateX(4px);
}

.service-showcase-nav {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding: 0 16px 16px;
}

.service-showcase-nav button {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 10px;
  border: 1px solid rgba(9, 22, 42, .08);
  border-radius: 12px;
  background: rgba(255, 255, 255, .72);
  color: var(--muted);
  text-align: left;
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.service-showcase-nav button:hover,
.service-showcase-nav button.is-active {
  border-color: rgba(23, 104, 242, .25);
  background: var(--white);
  color: var(--dark);
  transform: translateY(-2px);
}

.service-showcase-nav button.is-active {
  box-shadow: 0 12px 28px rgba(23, 104, 242, .12);
}

.service-showcase-nav span {
  color: var(--blue);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 800;
}

.service-showcase-nav strong {
  overflow: hidden;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 900;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.service-showcase-progress {
  height: 3px;
  overflow: hidden;
  background: rgba(23, 104, 242, .08);
}

.service-showcase-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--blue), #74aaff);
  transform: scaleX(0);
  transform-origin: left;
}

.service-showcase-progress span.is-running {
  animation: serviceProgress 4.2s linear forwards;
}

@keyframes serviceProgress {
  to { transform: scaleX(1); }
}

@keyframes serviceOrbit {
  to { transform: rotate(360deg); }
}

@media (max-width: 1080px) {
  .service-showcase {
    min-height: auto;
  }

  .service-showcase-shell {
    min-height: 530px;
  }
}

@media (max-width: 640px) {
  .service-showcase {
    min-height: auto;
  }

  .service-showcase-shell {
    grid-template-rows: auto minmax(360px, 1fr) auto auto;
    min-height: 590px;
    border-radius: 22px;
  }

  .service-showcase-top {
    padding: 16px;
  }

  .service-showcase-top strong {
    max-width: 190px;
    font-size: 10px;
  }

  .service-showcase-panel {
    padding: 26px 20px;
  }

  .service-showcase-panel h2 {
    font-size: clamp(30px, 10vw, 42px);
  }

  .service-showcase-nav {
    display: flex;
    overflow-x: auto;
    padding: 0 12px 14px;
    scrollbar-width: none;
  }

  .service-showcase-nav::-webkit-scrollbar {
    display: none;
  }

  .service-showcase-nav button {
    flex: 0 0 110px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .service-showcase-panel {
    transition: none;
  }

  .service-showcase-progress span.is-running,
  .service-showcase-shell::before,
  .showcase-status i {
    animation: none;
  }
}

/* Clean, consistent typography across the complete interface */
body,
button,
input,
select,
textarea {
  font-family: var(--font-body);
  font-style: normal;
}

h1,
h2,
h3,
.wordmark,
.primary-button,
.nav-cta,
.btn,
.service-card-top span,
.hero-kpis strong,
.xper8-stats-band strong,
.case-results strong,
.roi-output strong,
.service-showcase-panel h2,
.service-showcase-top strong {
  font-family: var(--font-display);
  font-style: normal;
}

h1,
h2,
h3,
.service-showcase-panel h2 {
  letter-spacing: -0.035em;
}

.hero-kpis strong,
.xper8-stats-band strong,
.case-results strong,
.roi-output strong,
.score-card strong,
.command-card strong,
.mini-stats strong {
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.025em;
  line-height: 1;
}

.hero-kpis span,
.xper8-stats-band span,
.service-showcase-nav strong,
.brief-pills span,
.showcase-benefits span {
  font-family: var(--font-body);
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0;
}

/* Immersive motion system */
.motion-scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  width: 100%;
  height: 3px;
  pointer-events: none;
}

.motion-scroll-progress::after {
  display: block;
  width: 100%;
  height: 100%;
  content: "";
  background: linear-gradient(90deg, #1f66e5, #75aaff);
  box-shadow: 0 0 18px rgba(31,102,229,.7);
  transform: scaleX(var(--scroll-progress, 0));
  transform-origin: left;
}

.motion-cursor-aura {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 45;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(126, 174, 255, .68);
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
  background: rgba(31,102,229,.08);
  box-shadow: 0 0 36px rgba(31,102,229,.34);
  backdrop-filter: blur(2px);
  transition: width 220ms ease, height 220ms ease, opacity 220ms ease, background 220ms ease;
}

.motion-cursor-aura.is-visible {
  opacity: 1;
}

.motion-cursor-aura.is-active {
  width: 66px;
  height: 66px;
  background: rgba(31,102,229,.16);
}

.studio-project-art {
  --pointer-x: 0px;
  --pointer-y: 0px;
  --scroll-y: 0px;
  transform: translate3d(var(--pointer-x), calc(var(--pointer-y) + var(--scroll-y)), 0) scale(1.045);
  will-change: transform;
}

.studio-project:hover .studio-project-art {
  transform: translate3d(var(--pointer-x), calc(var(--pointer-y) + var(--scroll-y)), 0) scale(1.075);
}

.studio-project::before {
  background:
    radial-gradient(circle 320px at var(--glow-x, 38%) var(--glow-y, 48%), rgba(75,141,255,.19), transparent 70%);
  transition: background 160ms ease;
}

.studio-capability {
  perspective: 900px;
}

.studio-capability-visual {
  --visual-x: 0px;
  --visual-y: 0px;
  --visual-rotate-x: 0deg;
  --visual-rotate-y: 0deg;
  transform: translate3d(var(--visual-x), var(--visual-y), 0) rotateX(var(--visual-rotate-x)) rotateY(var(--visual-rotate-y));
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 220ms ease-out;
}

.studio-capability-visual svg {
  filter: drop-shadow(0 16px 24px rgba(31,102,229,.12));
}

.primary-button,
.nav-cta,
.studio-text-link {
  --magnetic-x: 0px;
  --magnetic-y: 0px;
  transform: translate3d(var(--magnetic-x), var(--magnetic-y), 0);
  will-change: transform;
}

.primary-button:hover,
.nav-cta:hover,
.studio-text-link:hover {
  transform: translate3d(var(--magnetic-x), calc(var(--magnetic-y) - 2px), 0);
}

.studio-display span {
  animation: motionTitleDrift 9s ease-in-out infinite alternate;
}

.studio-display span:nth-child(2) {
  animation-delay: -3s;
}

.studio-display span:nth-child(3) {
  animation-delay: -6s;
}

.studio-result-grid strong {
  transition: transform 300ms ease, text-shadow 300ms ease;
}

.studio-result-grid div:hover strong {
  transform: translateY(-8px);
  text-shadow: 0 18px 34px rgba(0,0,0,.18);
}

.studio-work-card {
  overflow: hidden;
}

.studio-work-card img {
  will-change: transform;
}

.studio-work-card:hover img {
  transform: scale(1.025);
}

@keyframes motionTitleDrift {
  50% { transform: translateX(8px); }
}

@media (pointer: coarse), (prefers-reduced-motion: reduce) {
  .motion-cursor-aura {
    display: none;
  }

  .studio-project-art,
  .studio-project:hover .studio-project-art,
  .studio-capability-visual,
  .primary-button,
  .nav-cta,
  .studio-text-link,
  .primary-button:hover,
  .nav-cta:hover,
  .studio-text-link:hover {
    transform: none;
  }

  .studio-display span {
    animation: none;
  }
}

/* Xper8 editorial studio redesign */
body.home {
  background: #080808;
  color: #f2f0eb;
}

body.home::before,
body.home .noise,
body.home .ambient {
  display: none;
}

body.home .site-header {
  position: fixed;
  top: 20px;
  left: 0;
  right: 0;
  z-index: 50;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  width: min(1180px, calc(100% - 40px));
  min-height: 76px;
  margin: 0 auto;
  padding: 10px 14px 10px 20px;
  border: 1px solid rgba(9,22,42,.08);
  border-radius: 999px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.98), rgba(245,249,255,.92)),
    #fff;
  box-shadow: 0 24px 70px rgba(8,24,52,.16), inset 0 1px 0 rgba(255,255,255,.92);
  backdrop-filter: blur(22px);
}

body.home .brand {
  width: 156px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.home .brand img {
  max-height: 44px;
  object-fit: contain;
  filter: none;
}

body.home .main-nav {
  justify-self: center;
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

body.home .main-nav a {
  color: rgba(5,7,10,.68);
}

body.home .main-nav a:hover {
  background: rgba(23,104,242,.08);
  color: var(--blue);
}

body.home .nav-cta {
  min-height: 48px;
  padding-inline: 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--blue), #1454c8);
  color: #fff;
  box-shadow: 0 16px 34px rgba(23,104,242,.24), inset 0 1px 0 rgba(255,255,255,.18);
}

.studio-home {
  overflow: visible;
  background: #080808;
  color: #f2f0eb;
}

.studio-wrap {
  width: min(1440px, calc(100% - clamp(40px, 8vw, 128px)));
  margin-inline: auto;
}

.studio-home a {
  color: inherit;
}

.studio-kicker,
.studio-label,
.studio-project-meta,
.studio-scroll,
.studio-section-head > a,
.studio-text-link {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.studio-label {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0;
}

.studio-label span {
  color: #ff4038;
  font-size: 20px;
}

.studio-hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 94svh;
  background:
    radial-gradient(circle at 78% 35%, rgba(31, 102, 229, .24), transparent 26%),
    radial-gradient(circle at 12% 82%, rgba(31, 102, 229, .1), transparent 30%),
    #080808;
}

.studio-hero::after {
  position: absolute;
  content: "";
  inset: 0;
  opacity: .16;
  pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.16) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.1) 1px, transparent 1px);
  background-size: 100% 14vh, 12.5vw 100%;
  mask-image: linear-gradient(transparent, #000 20%, #000 80%, transparent);
}

.studio-hero-copy::before,
.studio-hero-copy::after {
  position: absolute;
  content: "";
  z-index: -1;
  pointer-events: none;
}

.studio-hero-copy::before {
  inset: -42px -72px;
  border: 1px solid rgba(23,104,242,.08);
  border-radius: 999px;
  background: radial-gradient(ellipse at center, rgba(23,104,242,.12), transparent 62%);
  filter: blur(.2px);
}

.studio-hero-copy::after {
  left: 50%;
  top: 50%;
  width: min(760px, 82vw);
  height: min(260px, 30vw);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(23,104,242,.18), transparent 68%);
  filter: blur(36px);
  opacity: .55;
}

.studio-hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  min-height: min(660px, calc(100svh - 88px));
  padding: clamp(118px, 15vh, 160px) 0 clamp(108px, 13vh, 148px);
  text-align: center;
}

.studio-hero-copy {
  position: relative;
  z-index: 3;
  display: grid;
  justify-items: center;
  gap: 24px;
  width: min(980px, 100%);
}

.studio-hero-eyebrow {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 18px;
  margin: 0 0 20px;
  padding: 0;
  color: rgba(255,255,255,.94);
  font-family: "Inter Tight", "Manrope", Arial, sans-serif;
  font-size: clamp(20px, 1.95vw, 28px);
  font-weight: 800;
  letter-spacing: -.035em;
}

.studio-hero-eyebrow span {
  display: block;
  width: clamp(54px, 7vw, 112px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.42));
}

.studio-hero-eyebrow span:last-child {
  background: linear-gradient(90deg, rgba(255,255,255,.42), transparent);
}

.studio-rotator {
  display: grid;
  place-items: center;
  color: rgba(255,255,255,.88);
  font-family: "Inter Tight", "Manrope", Arial, sans-serif;
  font-size: clamp(26px, 3.2vw, 50px);
  font-weight: 900;
  letter-spacing: -.05em;
  line-height: 1;
}

.studio-rotator strong {
  position: relative;
  display: inline-grid;
  min-width: min(520px, 84vw);
  min-height: 1.2em;
  padding: .12em .22em .16em;
  border: 1px solid rgba(23,104,242,.22);
  border-radius: 16px;
  background:
    linear-gradient(145deg, rgba(23,104,242,.12), rgba(255,255,255,.025)),
    rgba(255,255,255,.018);
  color: #fff;
  font: inherit;
  text-align: center;
  text-shadow: 0 18px 60px rgba(23,104,242,.28);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 24px 80px rgba(23,104,242,.1);
  backdrop-filter: blur(18px);
}

.studio-rotator strong::after {
  display: none;
}

.studio-rotator strong span {
  grid-area: 1 / 1;
  opacity: 0;
  transform: translateY(.48em) rotateX(-72deg);
  transform-origin: 50% 0;
  transition: opacity 420ms ease, transform 680ms cubic-bezier(.16,1,.3,1);
}

.studio-rotator strong span.is-active {
  opacity: 1;
  transform: translateY(0) rotateX(0);
}

.studio-hero-copy p {
  max-width: 760px;
  margin: 0;
  color: rgba(255,255,255,.68);
  font-size: clamp(15px, 1.22vw, 18px);
  font-weight: 600;
  line-height: 1.68;
  text-wrap: balance;
}

.studio-hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 12px;
}

.studio-hero-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 176px;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .02em;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.studio-hero-actions a:hover {
  transform: translateY(-3px);
}

.studio-hero-primary {
  border: 2px solid var(--blue);
  background: linear-gradient(135deg, var(--blue), #1454c8);
  color: #fff;
  box-shadow: 0 20px 48px rgba(23,104,242,.28), inset 0 1px 0 rgba(255,255,255,.18);
}

.studio-hero-secondary {
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.055);
  color: #fff;
  backdrop-filter: blur(16px);
}

.studio-hero-mini-proof {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 4px;
}

.studio-hero-mini-proof span {
  padding: 9px 13px;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 999px;
  background: rgba(255,255,255,.045);
  color: rgba(255,255,255,.62);
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .02em;
  backdrop-filter: blur(14px);
}

.studio-hero-rocket {
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 34%;
  width: clamp(180px, 15vw, 270px);
  transform: translate(-50%, -8%);
  opacity: .25;
  pointer-events: none;
  animation: studioRocketLift 5.5s ease-in-out infinite;
}

.studio-hero-rocket svg {
  width: 100%;
  height: auto;
  overflow: visible;
}

.rocket-shadow { fill: rgba(23,104,242,.24); }
.rocket-body { fill: rgba(23,104,242,.32); }
.rocket-window { fill: rgba(255,255,255,.36); }
.rocket-fin { fill: rgba(58,134,255,.28); }
.rocket-flame { fill: rgba(58,134,255,.42); transform-origin: 50% 88%; animation: studioRocketFlame 900ms ease-in-out infinite alternate; }

@keyframes studioRocketLift {
  0%, 100% { transform: translate(-50%, -8%); }
  50% { transform: translate(-50%, -13%); }
}

@keyframes studioRocketFlame {
  to { transform: scaleY(1.18); opacity: .72; }
}

.studio-hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
  margin-top: auto;
}

.studio-hero-proof span {
  display: grid;
  gap: 3px;
  padding: 14px 15px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(255,255,255,.13), rgba(255,255,255,.055));
  color: rgba(255,255,255,.62);
  font-size: 11px;
  font-weight: 700;
  backdrop-filter: blur(18px);
}

.studio-hero-proof strong {
  color: #fff;
  font-family: "Inter Tight", "Manrope", Arial, sans-serif;
  font-size: 21px;
  font-weight: 800;
  line-height: 1;
}

.studio-hero-system {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 470px;
  padding: 24px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 38px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.105), rgba(255,255,255,.035)),
    radial-gradient(circle at 52% 38%, rgba(31,102,229,.30), transparent 30%),
    radial-gradient(circle at 78% 78%, rgba(31,102,229,.12), transparent 32%);
  box-shadow: 0 30px 90px rgba(0,0,0,.32), inset 0 1px 0 rgba(255,255,255,.1);
  overflow: hidden;
  backdrop-filter: blur(20px);
}

.studio-hero-system::before {
  position: absolute;
  content: "";
  inset: 18px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 28px;
  background-image:
    linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at 50% 42%, #000, transparent 72%);
}

.studio-system-orbit {
  position: absolute;
  inset: 52px;
  border: 1px solid rgba(31,102,229,.42);
  border-radius: 50%;
  animation: featuredSymbolOrbit 18s linear infinite;
}

.studio-system-orbit::before,
.studio-system-orbit::after {
  position: absolute;
  content: "";
  border-radius: inherit;
  border: 1px solid rgba(255,255,255,.11);
}

.studio-system-orbit::before { inset: 46px; }
.studio-system-orbit::after { inset: 92px; }

.studio-system-card {
  position: relative;
  z-index: 2;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 20px;
  background: rgba(8,8,8,.76);
  color: rgba(255,255,255,.76);
  box-shadow: 0 18px 55px rgba(0,0,0,.22);
  backdrop-filter: blur(18px);
}

.studio-system-main {
  position: relative;
  right: auto;
  bottom: auto;
  place-self: center;
  display: grid;
  justify-items: center;
  width: min(270px, 72%);
  padding: 30px 26px;
  text-align: center;
  border-color: rgba(31,102,229,.3);
  background:
    linear-gradient(145deg, rgba(31,102,229,.2), rgba(8,8,8,.82)),
    rgba(8,8,8,.82);
}

.studio-system-main span,
.studio-system-card b {
  color: var(--blue);
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.studio-system-main strong {
  margin: 8px 0 6px;
  color: #fff;
  font-family: "Inter Tight", "Manrope", Arial, sans-serif;
  font-size: 52px;
  font-weight: 800;
  letter-spacing: -.06em;
}

.studio-system-main p {
  margin: 0;
  color: rgba(255,255,255,.62);
  font-size: 13px;
  line-height: 1.55;
}

.studio-system-card-a,
.studio-system-card-b,
.studio-system-card-c {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  min-width: 158px;
  font-size: 13px;
  font-weight: 900;
}

.studio-system-card-a { left: 28px; top: 76px; }
.studio-system-card-b { right: 28px; top: 102px; }
.studio-system-card-c { left: 38px; bottom: 118px; }

.studio-system-node {
  position: relative;
  z-index: 2;
  position: absolute;
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border: 1px solid rgba(31,102,229,.35);
  border-radius: 22px;
  background: rgba(8,8,8,.72);
  color: #fff;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  box-shadow: 0 18px 44px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.08);
  backdrop-filter: blur(16px);
}

.studio-node-a { top: 58px; left: 46%; transform: translateX(-50%); }
.studio-node-b { right: 54px; top: 48%; transform: translateY(-50%); }
.studio-node-c { bottom: 72px; left: 46%; transform: translateX(-50%); }
.studio-node-d { left: 54px; top: 48%; transform: translateY(-50%); }

.studio-hero-system .studio-hero-proof {
  position: relative;
  z-index: 2;
  align-self: end;
}

.studio-hero-curve {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  z-index: 3;
  height: clamp(30px, 4vw, 58px);
  color: #050505;
  pointer-events: none;
}

.studio-hero-curve svg {
  display: block;
  width: 100%;
  height: 100%;
}

.studio-hero-curve path {
  fill: currentColor;
}

.studio-display {
  display: grid;
  margin: 0;
  color: #f5f2ec;
  max-width: 1180px;
  font-size: clamp(70px, 10.5vw, 170px);
  font-weight: 800;
  letter-spacing: -.06em;
  line-height: .86;
  text-transform: uppercase;
}

.studio-display span:nth-child(2) {
  color: var(--blue);
  margin-left: 5vw;
}

.studio-display span:nth-child(3) {
  margin-left: 13vw;
}

.studio-hero-bottom {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.2);
}

.studio-hero-bottom p {
  max-width: 650px;
  margin: 0;
  color: rgba(255,255,255,.72);
  font-size: clamp(16px, 1.3vw, 21px);
  font-weight: 500;
  line-height: 1.55;
}

.studio-hero-bottom a,
.studio-text-link {
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.studio-hero-bottom a span {
  color: var(--blue);
}

.studio-scroll {
  position: absolute;
  right: 30px;
  bottom: 40px;
  z-index: 2;
  color: rgba(255,255,255,.4);
  writing-mode: vertical-rl;
}

.studio-orb {
  position: absolute;
  right: 8vw;
  top: 17vh;
  width: clamp(180px, 28vw, 470px);
  aspect-ratio: 1;
  border: 1px solid rgba(255,64,56,.28);
  border-radius: 50%;
  animation: studioFloat 7s ease-in-out infinite;
}

.studio-orb::before,
.studio-orb::after,
.studio-orb span {
  position: absolute;
  content: "";
  border-radius: inherit;
}

.studio-orb::before {
  inset: 12%;
  border: 1px solid rgba(255,255,255,.14);
}

.studio-orb::after {
  inset: 30%;
  background: #ff4038;
  filter: blur(20px);
  opacity: .65;
}

.studio-orb span {
  inset: -1px;
  border-top: 2px solid #ff4038;
  animation: spin 8s linear infinite;
}

.studio-featured {
  position: relative;
  background: #080808;
}

.studio-featured-track {
  display: flex;
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  cursor: grab;
}

.studio-featured-track.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
  scroll-snap-type: none;
  user-select: none;
}

.studio-featured-track::-webkit-scrollbar {
  display: none;
}

.studio-project {
  position: relative;
  display: grid;
  flex: 0 0 100%;
  width: 100%;
  min-height: 100svh;
  overflow: hidden;
  color: #fff;
  text-decoration: none;
  isolation: isolate;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.studio-featured-controls {
  position: absolute;
  z-index: 8;
  left: 50%;
  bottom: 26px;
  display: grid;
  grid-template-columns: 44px auto 44px;
  align-items: center;
  gap: 12px;
  padding: 8px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 999px;
  background: rgba(5, 5, 5, .58);
  box-shadow: 0 16px 44px rgba(0,0,0,.24);
  backdrop-filter: blur(16px);
  transform: translateX(-50%);
}

.studio-featured-controls::before {
  position: absolute;
  content: "";
  left: 12px;
  right: 12px;
  bottom: -9px;
  height: 2px;
  border-radius: 999px;
  background: rgba(255,255,255,.18);
}

.studio-featured-controls::after {
  position: absolute;
  content: "";
  left: 12px;
  bottom: -9px;
  width: calc(100% - 24px);
  height: 2px;
  border-radius: 999px;
  background: var(--blue);
  transform: scaleX(var(--featured-progress, 0));
  transform-origin: left;
  transition: transform 420ms ease;
}

.studio-featured-controls > button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  color: #fff;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease, opacity 180ms ease;
}

.studio-featured-controls > button:hover {
  background: #fff;
  color: #050505;
}

.studio-featured-controls > button:disabled {
  cursor: default;
  opacity: .32;
}

.studio-featured-dots {
  display: flex;
  gap: 5px;
}

.studio-featured-dots button {
  min-width: 38px;
  padding: 8px 10px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(255,255,255,.48);
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 9px;
  transition: background 180ms ease, color 180ms ease;
}

.studio-featured-dots button.is-active {
  background: var(--blue);
  color: #fff;
}

.studio-project::after {
  position: absolute;
  content: "";
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(0,0,0,.78), rgba(0,0,0,.12) 72%);
}

.studio-project-1 { background: #164ce8; }
.studio-project-2 { background: #e9e3d9; color: #080808; }
.studio-project-3 { background: #ff4038; }
.studio-project-2::after { background: linear-gradient(90deg, rgba(233,227,217,.9), rgba(233,227,217,.05)); }

.studio-project-art {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-position: center;
  background-size: cover;
  filter: saturate(.78) contrast(1.08);
  transition: transform 900ms cubic-bezier(.2,.8,.2,1);
}

.studio-project:hover .studio-project-art {
  transform: scale(1.035);
}

.studio-project-1 .studio-project-art { background-position: center 45%; }
.studio-project-2 .studio-project-art { background-position: center; }
.studio-project-3 .studio-project-art { background-position: center 42%; }

.studio-project-content {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  min-height: 100%;
  padding: 42px 0 112px;
}

.studio-project-meta,
.studio-project-bottom {
  display: flex;
  justify-content: space-between;
  gap: 30px;
}

.studio-project-2 .studio-project-meta,
.studio-project-2 .studio-project-bottom {
  color: #080808;
}

.studio-project h2 {
  align-self: center;
  max-width: min(1220px, 78vw);
  margin: 24px 0;
  color: inherit;
  font-size: clamp(58px, 8.2vw, 132px);
  font-weight: 500;
  letter-spacing: -.065em;
  line-height: .9;
  overflow-wrap: normal;
  text-wrap: balance;
  text-transform: uppercase;
  word-break: normal;
  hyphens: none;
}

.studio-project-bottom {
  align-items: end;
  padding-top: 22px;
  border-top: 1px solid currentColor;
}

.studio-project-bottom p {
  max-width: 560px;
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
}

.studio-project-bottom > span {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.studio-statement {
  position: relative;
  padding: clamp(88px, 10vw, 150px) 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 92% 20%, rgba(31,102,229,.17), transparent 28%),
    #080808;
}

.studio-statement::after {
  position: absolute;
  content: "";
  right: -140px;
  bottom: -190px;
  width: 440px;
  height: 440px;
  border: 1px solid rgba(31,102,229,.28);
  border-radius: 50%;
  box-shadow: 0 0 0 56px rgba(31,102,229,.035), 0 0 0 112px rgba(31,102,229,.025);
  pointer-events: none;
}

.studio-statement-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(250px, .55fr);
  gap: clamp(48px, 8vw, 130px);
  align-items: end;
  margin-top: clamp(44px, 7vw, 90px);
}

.studio-statement-copy {
  max-width: 1050px;
  margin: 0;
  color: #f2f0eb;
  font-size: clamp(42px, 6vw, 88px);
  font-weight: 500;
  letter-spacing: -.06em;
  line-height: 1;
}

.studio-statement-aside {
  display: grid;
  gap: 26px;
  padding: 28px 0 4px 28px;
  border-left: 1px solid rgba(255,255,255,.22);
}

.studio-statement-aside p {
  margin: 0;
  color: rgba(255,255,255,.62);
  font-size: 14px;
}

.studio-statement-aside ol {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: statement-index;
}

.studio-statement-aside li {
  counter-increment: statement-index;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(255,255,255,.14);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.studio-statement-aside li::before {
  content: "0" counter(statement-index);
  color: var(--blue);
  font-family: var(--font-mono);
  font-size: 9px;
}

.studio-capabilities,
.studio-news {
  padding: clamp(80px, 10vw, 160px) 0;
  background: #efebe4;
  color: #080808;
}

.studio-section-head {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 70px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(8,8,8,.35);
}

.studio-section-head a {
  color: inherit;
  text-decoration: none;
}

.studio-capability-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(8,8,8,.18);
  border-left: 1px solid rgba(8,8,8,.18);
}

.studio-capability {
  position: relative;
  display: grid;
  align-content: space-between;
  min-height: 480px;
  padding: 24px;
  overflow: hidden;
  border-right: 1px solid rgba(8,8,8,.18);
  border-bottom: 1px solid rgba(8,8,8,.18);
  color: #080808;
  text-decoration: none;
  transition: background 250ms ease, color 250ms ease;
}

.studio-capability:hover {
  background: #080808;
  color: #fff;
}

.studio-capability-number {
  font-family: var(--font-mono);
  font-size: 11px;
}

.studio-capability-shape {
  position: relative;
  display: grid;
  place-items: center;
  height: 190px;
}

.studio-capability-shape i {
  position: absolute;
  width: 120px;
  height: 120px;
  border: 1px solid currentColor;
  border-radius: 50%;
  transition: transform 500ms ease;
}

.studio-capability-shape i:last-child {
  width: 55px;
  height: 55px;
  border: 0;
  background: #ff4038;
}

.studio-capability:nth-child(2n) .studio-capability-shape i:first-child { border-radius: 0; transform: rotate(45deg); }
.studio-capability:nth-child(3n) .studio-capability-shape i:first-child { width: 170px; height: 70px; border-radius: 100%; }
.studio-capability:hover .studio-capability-shape i:first-child { transform: rotate(90deg) scale(1.1); }

.studio-capability h3 {
  margin: 0 0 14px;
  color: inherit;
  font-size: clamp(24px, 2.4vw, 38px);
  font-weight: 600;
  letter-spacing: -.045em;
}

.studio-capability p {
  margin: 0;
  color: inherit;
  font-size: 13px;
  opacity: .62;
}

/* Stable, fully readable capability-card interaction */
.studio-capability {
  grid-template-rows: auto minmax(130px, 1fr) auto;
  align-content: stretch;
  min-height: clamp(390px, 31vw, 460px);
  isolation: isolate;
  outline: 0;
}

.studio-capability::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at var(--card-x, 50%) var(--card-y, 45%), rgba(31,102,229,.28), transparent 38%),
    #080808;
  opacity: 0;
  transform: scaleY(.96);
  transform-origin: bottom;
  transition: opacity 260ms ease, transform 420ms cubic-bezier(.2,.8,.2,1);
}

.studio-capability:hover,
.studio-capability:focus-visible,
.studio-capability.is-active {
  background: transparent;
  color: #fff;
}

.studio-capability:hover::before,
.studio-capability:focus-visible::before,
.studio-capability.is-active::before {
  opacity: 1;
  transform: scaleY(1);
}

.studio-capability-visual {
  align-self: center;
  height: clamp(135px, 12vw, 170px);
}

.studio-capability-visual svg {
  height: clamp(125px, 11vw, 158px);
}

.studio-capability-copy {
  align-self: end;
  min-width: 0;
  transform: translateY(0);
  transition: transform 360ms cubic-bezier(.2,.8,.2,1);
}

.studio-capability:hover .studio-capability-copy,
.studio-capability:focus-visible .studio-capability-copy,
.studio-capability.is-active .studio-capability-copy {
  transform: translateY(-5px);
}

.studio-capability h3 {
  max-width: 13ch;
  font-size: clamp(23px, 2vw, 34px);
  line-height: .98;
  overflow-wrap: normal;
  word-break: normal;
  text-wrap: balance;
}

.studio-capability p {
  max-width: 34ch;
  font-size: clamp(11px, .8vw, 13px);
  line-height: 1.55;
}

.studio-capability-number,
.studio-capability-arrow,
.studio-capability-copy,
.studio-capability-visual {
  position: relative;
  z-index: 1;
}

.studio-capability-arrow {
  transition: transform 300ms ease, color 250ms ease;
}

.studio-capability:hover .studio-capability-arrow,
.studio-capability:focus-visible .studio-capability-arrow,
.studio-capability.is-active .studio-capability-arrow {
  transform: translateX(5px);
}

.studio-capability:focus-visible {
  box-shadow: inset 0 0 0 2px var(--blue);
}

.studio-capability-arrow {
  position: absolute;
  right: 24px;
  top: 20px;
  color: #ff4038;
}

.studio-results {
  padding: clamp(100px, 14vw, 220px) 0;
  background: #164ce8;
}

.studio-result-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 70px;
  border-top: 1px solid rgba(255,255,255,.35);
}

.studio-result-grid div {
  padding: 32px 18px 0 0;
  border-right: 1px solid rgba(255,255,255,.25);
}

.studio-result-grid strong {
  display: block;
  color: #fff;
  font-size: clamp(66px, 8vw, 130px);
  font-weight: 500;
  letter-spacing: -.08em;
  line-height: .9;
}

.studio-result-grid span {
  display: block;
  margin-top: 20px;
  color: rgba(255,255,255,.65);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.studio-work {
  padding: clamp(100px, 12vw, 190px) 0;
  background: #080808;
}

.studio-work .studio-section-head {
  border-color: rgba(255,255,255,.26);
}

.studio-work-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: clamp(30px, 5vw, 80px);
}

.studio-work-card {
  margin: 0;
}

.studio-work-card:nth-child(2) {
  margin-top: 18vw;
}

.studio-work-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: grayscale(1);
  transition: filter 500ms ease, transform 700ms ease;
}

.studio-work-card:hover img {
  filter: grayscale(0);
  transform: scale(.985);
}

.studio-work-card div {
  padding-top: 20px;
}

.studio-work-card span {
  color: #ff4038;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.studio-work-card h3 {
  max-width: 620px;
  margin-top: 16px;
  color: #fff;
  font-size: clamp(28px, 4vw, 60px);
  font-weight: 500;
  letter-spacing: -.055em;
}

.studio-news-list {
  border-top: 1px solid rgba(8,8,8,.35);
}

.studio-news-row {
  display: grid;
  grid-template-columns: .7fr 2fr 2fr auto;
  gap: 30px;
  align-items: start;
  padding: 38px 0;
  border-bottom: 1px solid rgba(8,8,8,.25);
  color: #080808;
  text-decoration: none;
  transition: padding 250ms ease, color 250ms ease, background 250ms ease;
}

.studio-news-row:hover {
  padding-inline: 18px;
  background: #080808;
  color: #fff;
}

.studio-news-row time,
.studio-news-row p {
  font-size: 12px;
  line-height: 1.6;
}

.studio-news-row p {
  margin: 0;
  opacity: .6;
}

.studio-news-row h3 {
  color: inherit;
  font-size: clamp(24px, 3vw, 46px);
  font-weight: 500;
  letter-spacing: -.045em;
}

.studio-news-row > span {
  color: #ff4038;
}

.studio-contact {
  padding: clamp(100px, 12vw, 190px) 0 80px;
  background: #ff4038;
  color: #080808;
}

.studio-contact h2 {
  display: flex;
  justify-content: space-between;
  margin: 90px 0;
  color: #080808;
  font-size: clamp(80px, 15vw, 240px);
  font-weight: 500;
  letter-spacing: -.09em;
  line-height: .75;
}

.studio-contact-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 30px;
  padding-top: 24px;
  border-top: 1px solid #080808;
}

.studio-contact-bottom p {
  margin: 0;
}

.studio-contact-bottom a {
  font-weight: 700;
  text-decoration: none;
}

body.home .site-footer {
  width: 100%;
  padding: 0 clamp(20px, 4vw, 64px) 45px;
  background: #080808;
  color: #fff;
}

body.home .footer-main {
  border-top: 1px solid rgba(255,255,255,.25);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.home .footer-bottom {
  border-color: rgba(255,255,255,.25);
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(42px);
  transition: opacity 700ms ease, transform 850ms cubic-bezier(.2,.8,.2,1);
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes studioFloat {
  50% { transform: translateY(-22px) rotate(8deg); }
}

@media (max-width: 1080px) {
  .studio-capability-grid,
  .studio-result-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .studio-statement-layout {
    grid-template-columns: 1fr;
  }

  .studio-statement-aside {
    max-width: 620px;
  }

  .studio-contact h2 {
    display: grid;
    gap: 20px;
  }

  .studio-project h2 {
    max-width: 90%;
    font-size: clamp(54px, 10vw, 104px);
  }
}

@media (max-width: 820px) {
  body.home .site-header {
    grid-template-columns: auto 1fr auto;
    top: 10px;
    width: calc(100% - 24px);
    min-height: 64px;
    padding: 8px 10px 8px 14px;
  }

  body.home .menu-toggle {
    display: block;
    border-color: rgba(255,255,255,.25);
    background: #fff;
  }

  body.home .main-nav {
    top: 74px;
    background: #080808;
  }
}

@media (max-width: 640px) {
  .studio-wrap {
    width: calc(100% - 36px);
  }

  body.home .brand {
    width: 124px;
    padding: 0;
  }

  .studio-hero {
    min-height: 860px;
  }

  .studio-display {
    font-size: clamp(60px, 20vw, 94px);
    line-height: .86;
  }

  .studio-display span:nth-child(2),
  .studio-display span:nth-child(3) {
    margin-left: 0;
  }

  .studio-orb {
    right: -24vw;
    top: 28vh;
    width: 70vw;
  }

  .studio-hero-bottom,
  .studio-project-meta,
  .studio-project-bottom,
  .studio-section-head {
    align-items: start;
    flex-direction: column;
  }

  .studio-scroll {
    display: none;
  }

  .studio-project {
    min-height: 720px;
  }

  .studio-project-content {
    padding: 34px 0 104px;
  }

  .studio-featured-controls {
    bottom: 18px;
    grid-template-columns: 38px auto 38px;
    gap: 7px;
    padding: 6px;
  }

  .studio-featured-controls > button {
    width: 38px;
    height: 38px;
  }

  .studio-featured-dots button {
    min-width: 30px;
    padding: 7px 8px;
  }

  .studio-project h2 {
    max-width: 100%;
    margin-block: 22px;
    font-size: clamp(46px, 14vw, 72px);
    letter-spacing: -.055em;
    line-height: .94;
  }

  .studio-statement-copy {
    font-size: clamp(36px, 11vw, 56px);
  }

  .studio-statement-layout {
    margin-top: 38px;
  }

  .studio-statement-aside {
    padding: 22px 0 0;
    border-top: 1px solid rgba(255,255,255,.22);
    border-left: 0;
  }

  .studio-capability-grid,
  .studio-result-grid,
  .studio-work-grid,
  .studio-contact-bottom {
    grid-template-columns: 1fr;
  }

  .studio-capability {
    min-height: 390px;
  }

  .studio-result-grid div {
    padding: 28px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,.25);
  }

  .studio-work-card:nth-child(2) {
    margin-top: 40px;
  }

  .studio-news-row {
    grid-template-columns: 1fr auto;
  }

  .studio-news-row h3,
  .studio-news-row p {
    grid-column: 1 / -1;
  }

  .studio-contact h2 {
    font-size: clamp(74px, 23vw, 110px);
  }
}

/* Xper8 unified brand system: blue, black, white */
:root {
  --blue: #1f66e5;
  --blue-2: #4b8dff;
  --brand-black: #050505;
  --brand-blue-soft: #eaf2ff;
  --brand-surface: #f6f9ff;
}

body {
  background:
    radial-gradient(circle at 82% 6%, rgba(31, 102, 229, .12), transparent 30%),
    var(--brand-surface);
}

.primary-button,
.nav-cta,
.btn.primary,
.footer-cta {
  background: var(--blue);
  box-shadow: 0 14px 34px rgba(31, 102, 229, .24);
}

.primary-button:hover,
.nav-cta:hover,
.btn.primary:hover,
.footer-cta:hover {
  background: var(--brand-black);
}

body:not(.home) .site-header {
  top: 12px;
  border-color: rgba(31, 102, 229, .14);
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 16px 44px rgba(5, 20, 50, .08);
}

body:not(.home) main {
  padding-top: 34px;
}

body:not(.home) .page-hero,
body:not(.home) .service-hero {
  position: relative;
  width: min(1180px, calc(100% - 40px));
  max-width: none;
  margin: 28px auto 30px;
  padding: clamp(58px, 8vw, 104px);
  overflow: hidden;
  border-radius: 28px;
  background:
    radial-gradient(circle at 86% 16%, rgba(75, 141, 255, .38), transparent 28%),
    linear-gradient(135deg, #050505 0%, #071a3d 60%, #1f66e5 130%);
  box-shadow: 0 30px 90px rgba(5, 20, 50, .18);
}

body:not(.home) .page-hero::before,
body:not(.home) .service-hero::before {
  position: absolute;
  content: "";
  width: 280px;
  height: 280px;
  right: -90px;
  bottom: -150px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 50%;
  box-shadow: 0 0 0 38px rgba(255,255,255,.035), 0 0 0 76px rgba(255,255,255,.025);
}

body:not(.home) .page-hero > *,
body:not(.home) .service-hero > * {
  position: relative;
  z-index: 1;
}

body:not(.home) .page-hero h1,
body:not(.home) .service-hero h1 {
  max-width: 980px;
  color: #fff;
  font-size: clamp(44px, 7vw, 92px);
  font-weight: 700;
  letter-spacing: -.065em;
  line-height: .98;
}

body:not(.home) .page-hero p,
body:not(.home) .service-hero p:not(.badge) {
  max-width: 720px;
  color: rgba(255,255,255,.68);
}

body:not(.home) .page-hero .badge,
body:not(.home) .service-hero .badge {
  color: #9fc2ff;
}

body:not(.home) .page-hero .badge i,
body:not(.home) .service-hero .badge i {
  background: #fff;
  box-shadow: 0 0 0 7px rgba(255,255,255,.12);
}

body:not(.home) .service-hero {
  grid-template-columns: minmax(0, 1fr) 330px;
  align-items: center;
}

body:not(.home) .service-hero aside {
  border-color: rgba(255,255,255,.16);
  background: rgba(255,255,255,.1);
  box-shadow: none;
  backdrop-filter: blur(12px);
}

body:not(.home) .service-hero aside::before,
body:not(.home) .service-hero aside::after {
  display: none;
}

body:not(.home) .service-hero aside strong {
  color: #fff;
}

body:not(.home) .service-hero aside span {
  border-color: rgba(255,255,255,.16);
  background: rgba(255,255,255,.1);
  color: #fff;
}

.category-line {
  flex-wrap: nowrap;
  padding-bottom: 8px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.category-line a {
  flex: 0 0 auto;
  border-color: rgba(31, 102, 229, .14);
  background: #fff;
  box-shadow: none;
}

.category-line a:hover {
  background: var(--blue);
  color: #fff;
}

body:not(.home) .section {
  padding-block: clamp(62px, 8vw, 104px);
}

body:not(.home) .section-head {
  margin-bottom: 44px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(5, 20, 50, .14);
}

body:not(.home) .section-head h2,
body:not(.home) .agency-intro h2 {
  font-size: clamp(34px, 5vw, 64px);
  letter-spacing: -.055em;
}

.section-tag,
.badge {
  color: var(--blue);
}

.premium-service-grid article,
.package-grid div,
.case-study-card,
.pricing-grid article,
.architecture-grid > div,
.blog-card,
.director-card,
.single-content,
.single-sidebar,
.premium-form,
.contact-panel,
.faq-grid details,
.process-line div {
  border: 1px solid rgba(31, 102, 229, .12);
  background:
    linear-gradient(145deg, rgba(255,255,255,.98), rgba(234,242,255,.62));
  box-shadow: 0 18px 54px rgba(5, 20, 50, .07);
}

.premium-service-grid article:hover,
.package-grid div:hover,
.case-study-card:hover,
.pricing-grid article:hover,
.architecture-grid > div:hover,
.blog-card:hover {
  border-color: rgba(31, 102, 229, .34);
  box-shadow: 0 28px 76px rgba(31, 102, 229, .14);
  transform: translateY(-6px);
}

.premium-service-grid article,
.package-grid div,
.case-study-card,
.pricing-grid article,
.architecture-grid > div {
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.premium-service-grid h3,
.package-grid h3,
.architecture-grid h3,
.blog-card h3 {
  letter-spacing: -.035em;
}

.premium-table {
  border: 1px solid rgba(31, 102, 229, .14);
}

.premium-table th {
  background: var(--brand-black);
}

.premium-table tr:hover td {
  background: var(--brand-blue-soft);
}

.pricing-grid article.featured {
  border-color: var(--blue);
  background:
    radial-gradient(circle at 90% 0%, rgba(75,141,255,.22), transparent 32%),
    linear-gradient(145deg, #fff, #eaf2ff);
}

.roi-box,
.dark-panel {
  background:
    radial-gradient(circle at 85% 10%, rgba(75,141,255,.25), transparent 32%),
    linear-gradient(135deg, #050505, #071a3d);
}

.cta-band {
  border-color: rgba(31,102,229,.2);
  background:
    radial-gradient(circle at 88% 0%, rgba(31,102,229,.18), transparent 34%),
    linear-gradient(135deg, #eaf2ff, #fff);
}

.map-placeholder {
  border-color: rgba(31,102,229,.3);
  background:
    linear-gradient(135deg, rgba(31,102,229,.08), rgba(75,141,255,.16)),
    repeating-linear-gradient(45deg, transparent 0 18px, rgba(31,102,229,.08) 18px 19px);
}

.footer-main {
  border-color: rgba(31,102,229,.14);
  background:
    radial-gradient(circle at 10% 0%, rgba(31,102,229,.12), transparent 30%),
    rgba(255,255,255,.92);
}

/* Homepage recolored to the official logo palette */
body.home .nav-cta,
.studio-capability-shape i:last-child,
.studio-contact {
  background: var(--blue);
}

.studio-display span:nth-child(2),
.studio-label span,
.studio-hero-bottom a span,
.studio-capability-arrow,
.studio-work-card span,
.studio-news-row > span {
  color: var(--blue);
}

.studio-orb {
  right: 7vw;
  top: 18vh;
  width: clamp(220px, 30vw, 520px);
  border-color: rgba(31,102,229,.18);
  opacity: .45;
}

.studio-orb::after {
  background: var(--blue);
  opacity: .28;
  filter: blur(32px);
}

.studio-orb span {
  border-top-color: var(--blue);
  opacity: .58;
}

.studio-hero {
  background:
    radial-gradient(ellipse at 50% 76%, rgba(23,104,242,.30) 0%, rgba(10,24,54,.64) 36%, transparent 68%),
    radial-gradient(circle at 50% 46%, rgba(58,134,255,.10), transparent 26%),
    #05070a;
}

.studio-hero::before {
  position: absolute;
  content: "";
  left: 50%;
  right: auto;
  bottom: -18%;
  width: 130vw;
  height: 46vh;
  transform: translateX(-50%);
  border-radius: 0 0 50% 50%;
  background: #071326;
  pointer-events: none;
  opacity: .9;
}

.studio-hero-curve {
  color: #080808;
}

.studio-project-1,
.studio-results {
  background: var(--blue);
}

.studio-project-2,
.studio-project-3 {
  color: #fff;
  background: var(--brand-black);
}

.studio-project-2::after,
.studio-project-3::after {
  background: linear-gradient(90deg, rgba(0,0,0,.84), rgba(0,0,0,.16) 72%);
}

.studio-project-2 .studio-project-meta,
.studio-project-2 .studio-project-bottom {
  color: #fff;
}

.studio-project::after,
.studio-project-2::after,
.studio-project-3::after {
  background:
    linear-gradient(180deg, rgba(3, 10, 24, .5) 0%, transparent 24%, transparent 62%, rgba(3, 8, 18, .88) 100%),
    linear-gradient(90deg, rgba(5, 5, 5, .94) 0%, rgba(7, 26, 61, .74) 38%, rgba(31, 102, 229, .18) 72%, rgba(5, 5, 5, .22) 100%);
}

.studio-project::before {
  position: absolute;
  content: "";
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(circle at 38% 48%, rgba(31,102,229,.12), transparent 38%);
  mix-blend-mode: screen;
}

.studio-project-meta {
  text-shadow: 0 2px 16px rgba(0,0,0,.65);
}

.studio-project h2 {
  text-shadow: 0 3px 28px rgba(0,0,0,.4);
}

.studio-project-bottom {
  border-color: rgba(255,255,255,.58);
  text-shadow: 0 2px 16px rgba(0,0,0,.72);
}

.studio-project-bottom p {
  color: rgba(255,255,255,.88);
}

.studio-project:hover::after {
  background:
    linear-gradient(180deg, rgba(3, 10, 24, .46) 0%, transparent 25%, transparent 64%, rgba(3, 8, 18, .84) 100%),
    linear-gradient(90deg, rgba(5, 5, 5, .9) 0%, rgba(7, 26, 61, .68) 38%, rgba(31, 102, 229, .14) 72%, rgba(5, 5, 5, .18) 100%);
}

/* Vertical scroll-driven featured service stack */
.studio-featured {
  --featured-sticky-top: 72px;
  padding: clamp(90px, 11vw, 170px) 0 0;
  overflow: clip;
  background:
    radial-gradient(circle at 82% 8%, rgba(31,102,229,.2), transparent 24%),
    #050505;
}

.studio-featured-intro {
  display: grid;
  grid-template-columns: minmax(220px, .55fr) minmax(0, 1.45fr);
  gap: clamp(40px, 8vw, 130px);
  align-items: end;
  padding-bottom: clamp(70px, 9vw, 135px);
  color: #fff;
}

.studio-featured-intro > div {
  max-width: 970px;
}

.studio-featured-intro h2 {
  max-width: 850px;
  margin: 0;
  color: #fff;
  font-size: clamp(48px, 7vw, 112px);
  font-weight: 500;
  letter-spacing: -.07em;
  line-height: .9;
  text-wrap: balance;
}

.studio-featured-intro > div > p {
  max-width: 620px;
  margin: 28px 0 0;
  color: rgba(255,255,255,.62);
  font-size: clamp(14px, 1.15vw, 18px);
  line-height: 1.6;
}

.studio-featured-track {
  display: block;
  width: 100%;
  overflow: visible;
  cursor: auto;
  scroll-snap-type: none;
}

.studio-featured .studio-project {
  position: sticky;
  top: var(--featured-sticky-top);
  display: grid;
  width: 100%;
  min-height: calc(100svh - var(--featured-sticky-top));
  margin: 0;
  border-top: 1px solid rgba(255,255,255,.2);
  border-radius: 22px 22px 0 0;
  box-shadow: 0 -22px 60px rgba(0,0,0,.22);
  opacity: .86;
  transform: scale(.985);
  transform-origin: center top;
  transition: opacity 480ms ease, transform 700ms cubic-bezier(.2,.8,.2,1);
}

.studio-featured .studio-project:nth-child(1) { z-index: 1; }
.studio-featured .studio-project:nth-child(2) { z-index: 2; }
.studio-featured .studio-project:nth-child(3) { z-index: 3; }
.studio-featured .studio-project:nth-child(4) { z-index: 4; }
.studio-featured .studio-project:nth-child(5) { z-index: 5; }
.studio-featured .studio-project:nth-child(6) { z-index: 6; }
.studio-featured .studio-project:nth-child(7) { z-index: 7; }
.studio-featured .studio-project:nth-child(8) { z-index: 8; }

.studio-featured .studio-project.is-active {
  opacity: 1;
  transform: scale(1);
}

.studio-featured .studio-project::after {
  background:
    linear-gradient(180deg, rgba(3,8,18,.62), transparent 26%, transparent 58%, rgba(3,8,18,.94)),
    linear-gradient(90deg, rgba(3,8,18,.96), rgba(7,26,61,.7) 48%, rgba(3,8,18,.24));
}

.studio-featured .studio-project-art {
  filter: saturate(.72) contrast(1.08) brightness(.78);
}

.studio-featured .studio-project.is-active .studio-project-art {
  filter: saturate(.9) contrast(1.08) brightness(.88);
}

.studio-featured .studio-project-content {
  z-index: 2;
  grid-template-rows: auto minmax(0, 1fr) auto;
  min-height: calc(100svh - var(--featured-sticky-top));
  padding: clamp(30px, 4vw, 58px) 0 clamp(34px, 5vw, 72px);
}

.studio-featured .studio-project h2 {
  max-width: min(1050px, 72vw);
  margin: clamp(28px, 5vh, 70px) 0;
  font-size: clamp(54px, 7.5vw, 122px);
  line-height: .88;
  text-transform: none;
}

.studio-project-symbol {
  position: absolute;
  z-index: 2;
  right: clamp(5%, 9vw, 150px);
  top: 50%;
  width: clamp(150px, 18vw, 290px);
  height: clamp(150px, 18vw, 290px);
  color: #fff;
  opacity: .78;
  pointer-events: none;
  transform: translateY(-50%) rotate(-6deg) scale(.82);
  transition: opacity 500ms ease, transform 800ms cubic-bezier(.2,.8,.2,1);
}

.studio-project-symbol svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 24px 44px rgba(31,102,229,.35));
}

.studio-project.is-active .studio-project-symbol,
.studio-project:hover .studio-project-symbol {
  opacity: 1;
  transform: translateY(-50%) rotate(0) scale(1);
}

.studio-project.is-active .motion-pulse,
.studio-project.is-active .motion-core {
  animation: capabilityPulse 1.8s ease-in-out infinite;
}

.studio-project.is-active .motion-orbit,
.studio-project.is-active .motion-lens {
  animation: capabilityOrbit 8s linear infinite;
  transform-origin: center;
}

.studio-project.is-active .motion-scan,
.studio-project.is-active .motion-chart,
.studio-project.is-active .motion-envelope,
.studio-project.is-active .motion-network,
.studio-project.is-active .motion-radar,
.studio-project.is-active .motion-code {
  animation: capabilityTrace 2.4s ease-in-out infinite;
}

.studio-featured-rail {
  position: fixed;
  z-index: 30;
  top: 50%;
  right: clamp(10px, 1.6vw, 28px);
  display: grid;
  grid-template-rows: auto minmax(90px, 18vh) auto;
  gap: 10px;
  align-items: center;
  padding: 12px 9px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  background: rgba(5,5,5,.58);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 9px;
  opacity: 0;
  pointer-events: none;
  transform: translate(12px, -50%);
  transition: opacity 250ms ease, transform 250ms ease;
  backdrop-filter: blur(14px);
}

.studio-featured.is-in-view .studio-featured-rail {
  opacity: 1;
  transform: translate(0, -50%);
}

.studio-featured-rail i {
  position: relative;
  width: 2px;
  height: 100%;
  margin: auto;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255,255,255,.24);
}

.studio-featured-rail b {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--blue);
  transform: scaleY(.125);
  transform-origin: top;
  transition: transform 450ms ease;
}

@media (max-width: 820px) {
  .studio-featured {
    --featured-sticky-top: 68px;
    padding-top: 74px;
  }

  .studio-featured-intro {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-bottom: 68px;
  }

  .studio-featured-intro h2 {
    font-size: clamp(44px, 15vw, 70px);
  }

  .studio-featured .studio-project {
    min-height: calc(100svh - var(--featured-sticky-top));
    border-radius: 16px 16px 0 0;
  }

  .studio-featured .studio-project-content {
    min-height: calc(100svh - var(--featured-sticky-top));
    padding: 28px 0 38px;
  }

  .studio-featured .studio-project h2 {
    align-self: end;
    max-width: 100%;
    margin: 0 0 30px;
    font-size: clamp(46px, 14vw, 72px);
  }

  .studio-project-symbol {
    right: 4%;
    top: 35%;
    width: 150px;
    height: 150px;
    opacity: .48;
  }

  .studio-featured .studio-project-bottom {
    gap: 15px;
  }

  .studio-featured-rail {
    right: 7px;
    padding: 9px 7px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .studio-featured .studio-project,
  .studio-project-symbol,
  .studio-featured-rail,
  .studio-featured-rail b {
    transition: none;
  }
}

/* One-scene featured experience: scroll changes content inside one floating stage */
.studio-home,
.studio-home h1,
.studio-home h2,
.studio-home h3 {
  font-family: "Inter Tight", "Manrope", Arial, sans-serif;
}

.studio-home p,
.studio-home a,
.studio-home span {
  font-family: "Manrope", Arial, sans-serif;
}

.studio-display {
  font-size: clamp(70px, 10.5vw, 170px);
  line-height: .86;
  font-weight: 800;
  letter-spacing: -.06em;
}

.studio-display span:nth-child(2) {
  color: var(--blue);
  margin-left: 5vw;
}

.studio-display span:nth-child(3) {
  margin-left: 13vw;
}

.studio-featured {
  --featured-sticky-top: 0px;
  min-height: auto;
  padding: 0;
  overflow: visible;
  background: #050505;
}

.studio-featured-track {
  display: block;
  position: relative;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  height: auto;
  overflow: visible;
  border-radius: 0 0 24px 24px;
  background: #07101f;
  scroll-snap-type: y proximity;
}

.studio-featured.is-in-view .studio-featured-track {
  z-index: 20;
}

.studio-featured.is-after .studio-featured-track {
  z-index: 20;
}

.studio-featured .studio-project {
  position: sticky;
  top: 0;
  z-index: var(--service-z, 1) !important;
  display: grid;
  min-height: 100svh;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  opacity: 1;
  pointer-events: auto;
  transform: none;
  transition: none;
  scroll-snap-align: start;
  background:
    radial-gradient(circle at 76% 42%, rgba(31,102,229,.32), transparent 26%),
    linear-gradient(135deg, #07101f, #03060c);
}

.studio-featured .studio-project.is-active {
  pointer-events: auto;
}

.studio-featured .studio-project-content {
  min-height: 100svh;
  padding: clamp(92px, 10vh, 126px) 0 clamp(38px, 5vh, 70px);
}

.studio-featured .studio-project h2 {
  max-width: min(940px, 68vw);
  font-size: clamp(52px, 6.5vw, 104px);
  line-height: .92;
}

.studio-featured .studio-project-meta,
.studio-featured .studio-project-bottom {
  opacity: 1;
  transform: none;
  transition: none;
}

.studio-featured .studio-project h2 {
  opacity: 1;
  transform: none;
  transition: none;
}

.studio-featured .studio-project.is-active .studio-project-meta,
.studio-featured .studio-project.is-active .studio-project-bottom,
.studio-featured .studio-project.is-active h2,
.studio-featured .studio-project.is-near .studio-project-meta,
.studio-featured .studio-project.is-near .studio-project-bottom,
.studio-featured .studio-project.is-near h2 {
  opacity: 1;
  transform: translateY(0);
}

.studio-featured .studio-project-art {
  opacity: .7;
  transform: scale(1.09);
  transition: opacity 900ms ease, transform 2200ms cubic-bezier(.16,1,.3,1), filter 900ms ease;
}

.studio-featured .studio-project.is-active .studio-project-art {
  opacity: 1;
  transform: scale(1.025);
}

.studio-project-symbol {
  animation: none;
  opacity: 0;
  transform: translate3d(0, calc(-50% + 22px), 0) rotate(-8deg) scale(.8);
  transition: opacity 360ms 80ms ease, transform 560ms 80ms cubic-bezier(.16,1,.3,1);
}

.studio-project.is-active .studio-project-symbol,
.studio-project:hover .studio-project-symbol {
  animation: featuredSymbolFloat 4.8s ease-in-out infinite;
  opacity: .92;
  transform: translate3d(0, -50%, 0) rotate(0) scale(1);
}

.studio-project-symbol::before,
.studio-project-symbol::after {
  position: absolute;
  content: "";
  inset: 12%;
  z-index: -1;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 50%;
  animation: featuredSymbolOrbit 9s linear infinite;
}

.studio-project-symbol::after {
  inset: -10%;
  border-color: rgba(31,102,229,.35);
  animation-direction: reverse;
  animation-duration: 13s;
}

.studio-featured-rail {
  position: fixed;
  top: 50%;
  right: clamp(8px, 1.3vw, 24px);
  margin: 0;
}

@keyframes featuredSymbolFloat {
  0%, 100% { margin-top: -8px; }
  50% { margin-top: 10px; }
}

@keyframes featuredSymbolOrbit {
  to { transform: rotate(360deg); }
}

@media (max-width: 820px) {
  .studio-hero-inner {
    grid-template-columns: 1fr;
    place-items: center;
    gap: 0;
    min-height: auto;
    padding: 108px 0 92px;
    text-align: center;
  }

  .studio-hero-copy {
    justify-items: center;
    gap: 18px;
  }

  .studio-hero-eyebrow {
    font-size: clamp(20px, 7vw, 30px);
    gap: 10px;
  }

  .studio-hero-eyebrow span {
    width: 36px;
  }

  .studio-rotator {
    font-size: clamp(34px, 11vw, 54px);
    line-height: 1;
  }

  .studio-rotator strong {
    min-width: min(100%, 92vw);
    text-align: center;
  }

  .studio-hero-rocket {
    top: 38%;
    width: clamp(140px, 34vw, 190px);
    opacity: .26;
  }

  .studio-hero-copy p {
    font-size: 16px;
  }

  .studio-hero-actions {
    justify-content: center;
    gap: 12px;
    width: 100%;
  }

  .studio-hero-actions a {
    flex: 1 1 220px;
    max-width: 280px;
  }

  .studio-hero-mini-proof {
    gap: 8px;
  }

  .studio-hero-mini-proof span {
    font-size: 10px;
    padding: 8px 10px;
  }

  .studio-hero-proof {
    grid-template-columns: 1fr;
    max-width: none;
    margin-top: 0;
  }

  .studio-hero-system {
    min-height: 450px;
    padding: 20px;
    border-radius: 26px;
  }

  .studio-system-card-a,
  .studio-system-card-b,
  .studio-system-card-c {
    min-width: auto;
    max-width: 190px;
    padding: 11px 12px;
    font-size: 12px;
  }

  .studio-system-card-a { left: 18px; top: 54px; }
  .studio-system-card-b { right: 18px; top: 92px; }
  .studio-system-card-c { left: 24px; bottom: 120px; }

  .studio-system-main {
    right: auto;
    bottom: auto;
    width: min(230px, 70%);
    padding: 22px 18px;
  }

  .studio-system-main strong {
    font-size: 40px;
  }

  .studio-system-node {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    font-size: 9px;
  }

  .studio-node-a { top: 74px; left: 50%; }
  .studio-node-b { right: 26px; top: 48%; }
  .studio-node-c { bottom: 88px; left: 50%; }
  .studio-node-d { left: 26px; top: 48%; }

  .studio-display {
    font-size: clamp(52px, 16vw, 82px);
    line-height: .94;
    letter-spacing: -.045em;
  }

  .studio-display span:nth-child(2),
  .studio-display span:nth-child(3) {
    margin-left: 0;
  }

  .studio-featured {
    min-height: auto;
  }

  .studio-featured-track,
  .studio-featured .studio-project,
  .studio-featured .studio-project-content {
    height: 100svh;
    min-height: 100svh;
  }

  .studio-featured-track {
    border-radius: 0 0 16px 16px;
  }

  .studio-featured .studio-project-content {
    padding: 92px 0 34px;
  }

  .studio-featured .studio-project h2 {
    align-self: end;
    margin-bottom: 26px;
    font-size: clamp(42px, 13vw, 66px);
  }

  .studio-project-symbol {
    top: 38%;
    right: 8%;
    width: 128px;
    height: 128px;
  }
}

.studio-capabilities,
.studio-news {
  background: #fff;
}

/* Connected process and why-Xper8 section */
.studio-method {
  position: relative;
  padding: clamp(100px, 13vw, 210px) 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 12%, rgba(31,102,229,.16), transparent 26%),
    linear-gradient(180deg, #fff 0%, #f4f7fc 100%);
  color: #080808;
}

.studio-method::before {
  position: absolute;
  content: "";
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(8,8,8,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(8,8,8,.045) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 82%, transparent);
}

.studio-method-head {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: .55fr 1.25fr .7fr;
  gap: clamp(30px, 6vw, 100px);
  align-items: end;
}

.studio-method-head h2 {
  margin: 0;
  color: #080808;
  font-size: clamp(52px, 7vw, 112px);
  font-weight: 500;
  letter-spacing: -.075em;
  line-height: .88;
}

.studio-method-head h2 span {
  color: var(--blue);
}

.studio-method-head > p:last-child {
  max-width: 390px;
  margin: 0;
  color: rgba(8,8,8,.58);
  font-size: 15px;
  line-height: 1.65;
}

.studio-method-line {
  position: relative;
  height: 1px;
  margin: clamp(75px, 10vw, 145px) 0 0;
  overflow: visible;
  background: rgba(8,8,8,.17);
}

.studio-method-line i {
  position: absolute;
  inset: -1px 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), #6ba1ff, var(--blue));
  box-shadow: 0 0 22px rgba(31,102,229,.46);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.4s cubic-bezier(.16,1,.3,1);
}

.studio-method:has(.studio-method-head.is-visible) .studio-method-line i {
  transform: scaleX(1);
}

.studio-method-steps {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.studio-method-step {
  position: relative;
  min-height: 310px;
  padding: 42px clamp(22px, 2.5vw, 42px) 30px 0;
  border-right: 1px solid rgba(8,8,8,.13);
}

.studio-method-step:not(:first-child) {
  padding-left: clamp(22px, 2.5vw, 42px);
}

.studio-method-step:last-child {
  border-right: 0;
}

.studio-method-step > i {
  position: absolute;
  top: -9px;
  left: 0;
  width: 18px;
  height: 18px;
  border: 5px solid #fff;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 1px var(--blue), 0 0 26px rgba(31,102,229,.48);
  transition: transform 500ms ease;
}

.studio-method-step:not(:first-child) > i {
  left: clamp(22px, 2.5vw, 42px);
}

.studio-method-step:hover > i {
  transform: scale(1.38);
}

.studio-method-step > span {
  font-family: var(--font-mono);
  color: var(--blue);
  font-size: 11px;
  letter-spacing: .08em;
}

.studio-method-step h3 {
  margin: clamp(70px, 7vw, 112px) 0 18px;
  color: #080808;
  font-size: clamp(30px, 3vw, 48px);
  font-weight: 600;
  letter-spacing: -.055em;
  line-height: .95;
}

.studio-method-step p,
.studio-why-grid p {
  margin: 0;
  color: rgba(8,8,8,.58);
  font-size: 13px;
  line-height: 1.6;
}

.studio-why-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: clamp(60px, 8vw, 110px);
  border: 1px solid rgba(8,8,8,.14);
  background: rgba(8,8,8,.14);
}

.studio-why-grid article {
  min-height: 210px;
  padding: clamp(28px, 3vw, 48px);
  background: rgba(255,255,255,.94);
  transition: background 300ms ease, color 300ms ease, transform 350ms ease;
}

.studio-why-grid article:hover {
  z-index: 1;
  background: #080808;
  color: #fff;
  transform: translateY(-8px);
}

.studio-why-grid strong {
  display: block;
  max-width: 15ch;
  margin-bottom: 45px;
  color: inherit;
  font-size: clamp(24px, 2.4vw, 38px);
  font-weight: 600;
  letter-spacing: -.05em;
  line-height: 1;
}

.studio-why-grid article:hover p {
  color: rgba(255,255,255,.62);
}

@media (max-width: 980px) {
  .studio-method-head {
    grid-template-columns: 1fr;
  }

  .studio-method-head > p:last-child {
    max-width: 620px;
  }

  .studio-method-line {
    display: none;
  }

  .studio-method-steps {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 65px;
    border-top: 1px solid rgba(8,8,8,.17);
  }

  .studio-method-step,
  .studio-method-step:not(:first-child) {
    padding: 38px 28px;
    border-bottom: 1px solid rgba(8,8,8,.13);
  }

  .studio-method-step > i,
  .studio-method-step:not(:first-child) > i {
    top: -9px;
    left: 28px;
  }
}

@media (max-width: 680px) {
  .studio-method-steps,
  .studio-why-grid {
    grid-template-columns: 1fr;
  }

  .studio-method-step {
    min-height: 260px;
    border-right: 0;
  }

  .studio-method-step h3 {
    margin-top: 55px;
  }

  .studio-why-grid article {
    min-height: 180px;
  }
}

.studio-contact {
  color: #fff;
}

.studio-contact h2 {
  color: #fff;
}

.studio-contact-bottom {
  border-color: rgba(255,255,255,.55);
}

@media (max-width: 820px) {
  body:not(.home) main {
    padding-top: 12px;
  }

  body:not(.home) .page-hero,
  body:not(.home) .service-hero {
    margin-top: 16px;
  }
}

@media (max-width: 640px) {
  body:not(.home) .page-hero,
  body:not(.home) .service-hero {
    width: calc(100% - 28px);
    padding: 42px 24px;
    border-radius: 20px;
  }

  body:not(.home) .page-hero h1,
  body:not(.home) .service-hero h1 {
    font-size: clamp(38px, 12vw, 56px);
  }
}

.primary-button,
.nav-cta,
.btn,
.whatsapp-button,
.text-button {
  letter-spacing: 0;
}
/* Xper8 reference-inspired hero refinements */
body.home .studio-hero-social {
  position: absolute;
  left: clamp(20px, 4vw, 72px);
  top: 50%;
  z-index: 5;
  display: grid;
  gap: 12px;
  transform: translateY(-50%);
}

body.home .studio-hero-social a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.055);
  color: rgba(255, 255, 255, 0.72);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease, color 0.25s ease;
}

body.home .studio-hero-social a svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

body.home .studio-hero-social a:hover,
body.home .studio-hero-social a:focus-visible {
  border-color: rgba(23, 104, 242, 0.58);
  background: var(--blue);
  color: #fff;
  transform: translateY(-2px);
  outline: none;
}

body.home .studio-hero-copy {
  width: min(1100px, 100%);
}

body.home .studio-hero-copy h1 {
  max-width: 900px;
  margin: -4px 0 0;
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(42px, 5.2vw, 84px);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 0.94;
  text-wrap: balance;
}

body.home .studio-rotator {
  font-size: clamp(30px, 4.2vw, 64px);
  letter-spacing: -0.05em;
}

body.home .studio-rotator strong {
  min-width: min(620px, 90vw);
  padding: 0.04em 0.2em 0.12em;
  border-radius: 18px;
}

@media (max-width: 820px) {
  body.home .studio-hero-social {
    display: none;
  }

  body.home .studio-hero-copy h1 {
    font-size: clamp(44px, 13vw, 74px);
    letter-spacing: -0.055em;
    line-height: 0.92;
  }

  body.home .studio-rotator {
    font-size: clamp(30px, 9vw, 44px);
  }

  body.home .studio-rotator strong {
    min-width: min(100%, 92vw);
    border-radius: 16px;
  }
}

/* ============================================================
   IMMERSIVE LAYER — WebGL 3D hero, Lenis smooth-scroll,
   page-transition overlay (immersive.js / three-hero.js)
   ============================================================ */

/* ---- WebGL hero mount ---- */
.studio-hero-3d {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  animation: x3dFade 1.6s ease .2s forwards;
  /* fade the 3D toward the edges so it frames rather than fills */
  -webkit-mask-image: radial-gradient(130% 105% at 50% 46%, #000 38%, transparent 86%);
  mask-image: radial-gradient(130% 105% at 50% 46%, #000 38%, transparent 86%);
}
.studio-hero-3d canvas { display: block; width: 100%; height: 100%; }

/* dark vignette behind the hero copy so the white headline always reads */
.studio-hero-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(58% 48% at 50% 50%, rgba(8,8,8,.82), rgba(8,8,8,.42) 46%, transparent 72%);
}
.studio-hero-3d.x3d-fallback {
  opacity: 1;
  animation: none;
  background:
    radial-gradient(circle at 50% 42%, rgba(23,104,242,.30), transparent 46%),
    radial-gradient(circle at 78% 72%, rgba(22,76,232,.16), transparent 42%);
}
@keyframes x3dFade { to { opacity: 1; } }

/* keep the editorial decorations subtle so the 3D X reads as the hero */
body.home .studio-orb { mix-blend-mode: screen; opacity: .92; }

/* ---- Lenis smooth-scroll ---- */
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: clip; }

/* ---- Page-transition overlay (premium wordmark wipe) ----
   The overlay lives in the HTML so it covers from the very first paint
   (no backwards flash). The intro reveal is a PURE CSS animation, so it
   always plays on load/refresh even if JS is slow — and rests hidden, so
   it can never get stuck. JS only adds `.is-cover` for outgoing links and
   resets the overlay on bfcache (back/forward) restores. */
.x-trans {
  /* Intro/transition overlay disabled: it replayed a ~0.85s black wordmark panel
     on every page load, which made navigation feel slow/broken. The hero + scroll
     reveals provide the polish; navigation is now instant. */
  display: none;
}
.x-trans-mark {
  font-family: var(--font-display, "Inter Tight", sans-serif);
  font-weight: 800;
  letter-spacing: -.05em;
  color: #fff;
  font-size: clamp(40px, 7vw, 84px);
  animation: xTransMark .85s cubic-bezier(.16,1,.3,1) both;
}
.x-trans-mark b { color: #1768f2; }
@keyframes xTransIntro {
  0%   { transform: translateY(0); }
  60%  { transform: translateY(0); }
  100% { transform: translateY(-101%); }
}
@keyframes xTransMark {
  0%   { opacity: 1; transform: translateY(0); }
  55%  { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(-26px); }
}
/* outgoing navigation: slide the overlay back down to cover, then navigate */
.x-trans.is-cover {
  animation: none;
  transform: translateY(0);
  transition: transform .4s cubic-bezier(.2,.8,.2,1);
}
.x-trans.is-cover .x-trans-mark { animation: none; opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .studio-hero-3d { opacity: 1; animation: none; }
  .x-trans { display: none !important; }
}

/* ============================================================
   PREMIUM INNER-PAGE HEROES — dark cinematic panels so every
   inner page (about / services / results / pricing / portfolio
   / blog / contact / service detail) matches the studio homepage
   ============================================================ */
.page-hero,
.service-hero {
  position: relative;
  width: 100vw;
  max-width: 100vw;
  margin-top: 0;
  margin-inline: calc(50% - 50vw);
  /* content aligns to the SAME 1180 column as every section below */
  padding-top: clamp(72px, 9vw, 124px);
  padding-bottom: clamp(56px, 6.4vw, 92px);
  padding-inline: max(20px, calc((100vw - 1180px) / 2));
  border-radius: 0;
  overflow: hidden;
  background:
    radial-gradient(120% 150% at 82% -8%, rgba(23,104,242,.32), transparent 54%),
    radial-gradient(90% 120% at -6% 112%, rgba(22,76,232,.18), transparent 55%),
    #070a0f;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.page-hero::after,
.service-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: .18;
  background-image:
    linear-gradient(rgba(255,255,255,.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.1) 1px, transparent 1px);
  background-size: 100% 13vh, 11vw 100%;
  -webkit-mask-image: radial-gradient(120% 120% at 75% -10%, #000, transparent 78%);
  mask-image: radial-gradient(120% 120% at 75% -10%, #000, transparent 78%);
}
.page-hero::before {
  content: "";
  position: absolute;
  z-index: 0;
  right: -7%;
  top: -42%;
  width: clamp(320px, 38vw, 540px);
  height: clamp(320px, 38vw, 540px);
  border-radius: 50%;
  border: 1px solid rgba(23,104,242,.20);
  background: radial-gradient(circle at 50% 50%, rgba(23,104,242,.10), transparent 62%);
  pointer-events: none;
  animation: heroOrbit 28s linear infinite;
}
@keyframes heroOrbit { to { transform: rotate(360deg); } }
.page-hero > *,
.service-hero > * { position: relative; z-index: 1; }

.page-hero .badge,
.service-hero .badge {
  color: #fff;
  border-color: rgba(255,255,255,.16);
  background: rgba(255,255,255,.06);
}
.page-hero .badge i,
.service-hero .badge i {
  background: var(--blue);
  box-shadow: 0 0 0 4px rgba(23,104,242,.18);
}
.page-hero h1,
.service-hero h1 {
  color: #fff;
  font-size: clamp(34px, 4.4vw, 62px);
  letter-spacing: -.04em;
  line-height: 1.03;
}
.page-hero p:not(.badge),
.service-hero p:not(.badge) {
  color: rgba(255,255,255,.74);
}

/* service-detail aside -> dark glass card */
.service-hero aside {
  border-color: rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
  backdrop-filter: blur(16px);
}
.service-hero aside strong { color: #fff; }
.service-hero aside span {
  border-color: rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
  color: rgba(255,255,255,.82);
}

@media (prefers-reduced-motion: reduce) {
  .page-hero::before { animation: none; }
}

/* ============================================================
   RESILIENT IMAGERY — branded fallback so a failed/blocked
   external image never looks broken; premium blog tile art
   ============================================================ */
.x-img-fallback {
  position: relative;
  background: linear-gradient(135deg, #164ce8, #0a1430) !important;
}
.x-img-fallback::after {
  content: "Xper8";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--font-display, "Inter Tight", sans-serif);
  font-weight: 800;
  letter-spacing: -.04em;
  font-size: clamp(24px, 4vw, 46px);
  color: rgba(255,255,255,.18);
  pointer-events: none;
}

/* Premium blog card art tile (brand gradient + grid + monogram) */
.blog-art {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 24% 16%, rgba(58,134,255,.5), transparent 44%),
    linear-gradient(135deg, #164ce8, #0a1430);
}
.blog-art::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 100% 26px, 26px 100%;
  -webkit-mask-image: radial-gradient(circle at 72% 28%, #000, transparent 78%);
  mask-image: radial-gradient(circle at 72% 28%, #000, transparent 78%);
  opacity: .55;
}
.blog-art span {
  position: relative;
  color: #fff;
  font-size: 46px;
  letter-spacing: -.03em;
  text-shadow: 0 12px 30px rgba(0,0,0,.32);
}
/* real image fills the art area; the letter stays behind as a fallback if the
   image fails to load (immersive.js hides broken images -> gradient shows) */
.blog-art {
  display: block;
  width: 100%;
  min-height: 200px;
  margin-top: 0;
}
.blog-art-img {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s cubic-bezier(.16,1,.3,1);
}
.blog-card:hover .blog-art-img { transform: scale(1.05); }
.single-cover { margin: 0 0 26px; border-radius: 16px; overflow: hidden; }
.single-cover img { display: block; width: 100%; height: auto; }

/* Social Media Management reel card: show the real social image cleanly
   (no dark/red wash) so it reads as social apps, not a red graphic */
.studio-featured .studio-project-social-media-management .studio-project-art {
  background-position: center;
  filter: saturate(.92) contrast(1.04) brightness(.96);
}
.studio-featured .studio-project-social-media-management.is-active .studio-project-art {
  filter: saturate(1) contrast(1.04) brightness(1.04);
}
.studio-featured .studio-project-social-media-management::after {
  background:
    linear-gradient(180deg, rgba(3,8,18,.5), transparent 28%, transparent 60%, rgba(3,8,18,.9)),
    linear-gradient(90deg, rgba(3,8,18,.9), rgba(7,26,61,.5) 50%, rgba(3,8,18,.15));
}

/* ============================================================
   PREMIUM INNER-PAGE BODY POLISH — clean category rail,
   richer service cards, no ugly scrollbars
   ============================================================ */
.category-line {
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  margin-top: 28px;
  padding-bottom: 4px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 2.5%, #000 97.5%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 2.5%, #000 97.5%, transparent);
}
.category-line::-webkit-scrollbar { display: none; }
.category-line a {
  flex: 0 0 auto;
  padding: 12px 18px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.9);
  font-size: 13px;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, color 160ms ease, box-shadow 160ms ease;
}
.category-line a:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(23,104,242,.16);
}
.category-line a:first-child {
  background: linear-gradient(135deg, var(--blue), #1454c8);
  border-color: var(--blue);
  color: #fff;
  box-shadow: 0 14px 32px rgba(23,104,242,.28);
}

/* richer hover accent + brand glow on inner service cards */
.premium-service-grid article {
  backdrop-filter: blur(14px);
}
.premium-service-grid article::after {
  height: 4px;
}
.premium-service-grid a:hover {
  background: var(--blue);
  color: #fff;
}

/* prevent stray horizontal page scroll from wide rails/panels */
html, body { overflow-x: clip; }

/* ============================================================
   INNER PAGES -> PREMIUM DARK STUDIO MODE (body.x-dark)
   Flips the agency-light body to the cinematic dark system so
   every inner page matches the homepage.
   ============================================================ */
body.x-dark {
  background:
    radial-gradient(60% 50% at 86% 0%, rgba(23,104,242,.12), transparent 58%),
    radial-gradient(52% 42% at 0% 26%, rgba(22,76,232,.08), transparent 55%),
    #070a0f;
  color: rgba(255,255,255,.74);
}

/* type */
body.x-dark h1,
body.x-dark h2,
body.x-dark h3,
body.x-dark h4,
body.x-dark .section-head h2,
body.x-dark .about-layout h2,
body.x-dark .footer-brand p,
body.x-dark .director-card h2,
body.x-dark .director-card h3 { color: #fff; }
body.x-dark p,
body.x-dark li,
body.x-dark .rich-copy p { color: rgba(255,255,255,.7); }
body.x-dark .faq-grid summary {
  color: #fff !important;
}
body.x-dark .faq-grid p {
  color: rgba(255,255,255,.72) !important;
}
body.x-dark .faq-grid summary::after {
  background: rgba(255,255,255,.08);
  color: #fff;
}
body.x-dark .faq-grid details[open] summary::after {
  background: var(--blue);
  color: #fff;
}
body.x-dark .section-head p,
body.x-dark .cta-band p:not(.section-tag),
body.x-dark .premium-service-grid p,
body.x-dark .architecture-grid p,
body.x-dark .single-content p { color: rgba(255,255,255,.6); }

/* glass cards (all light surfaces -> dark glass) */
body.x-dark .service-grid article,
body.x-dark .proof-grid div,
body.x-dark .process-line div,
body.x-dark .package-grid div,
body.x-dark .blog-card,
body.x-dark .premium-form,
body.x-dark .contact-panel,
body.x-dark .brand-block,
body.x-dark .deliverable-list span,
body.x-dark .faq-grid details,
body.x-dark .premium-service-grid article,
body.x-dark .architecture-grid div,
body.x-dark .case-study-card,
body.x-dark .pricing-grid article,
body.x-dark .roi-box,
body.x-dark .director-card,
body.x-dark .single-content,
body.x-dark .single-sidebar,
body.x-dark .blog-tools form,
body.x-dark .service-hero aside {
  background:
    linear-gradient(150deg, rgba(255,255,255,.06), rgba(255,255,255,.022)) !important;
  border-color: rgba(255,255,255,.1) !important;
  box-shadow: 0 26px 70px rgba(0,0,0,.42) !important;
  backdrop-filter: blur(16px);
}
body.x-dark .premium-service-grid article,
body.x-dark .pricing-grid article,
body.x-dark .director-card {
  background:
    linear-gradient(150deg, rgba(23,104,242,.12), rgba(255,255,255,.02)) !important;
  border-color: rgba(23,104,242,.34) !important;
}

/* card hovers */
body.x-dark .premium-service-grid article:hover,
body.x-dark .premium-service-grid article:focus-within,
body.x-dark .architecture-grid div:hover,
body.x-dark .architecture-grid div:focus-within,
body.x-dark .service-grid article:hover,
body.x-dark .service-grid article:focus-within,
body.x-dark .pricing-grid article:hover,
body.x-dark .pricing-grid article:focus-within,
body.x-dark .blog-card:hover {
  border-color: rgba(23,104,242,.5) !important;
  box-shadow: 0 30px 90px rgba(23,104,242,.22) !important;
}

/* deliverable / chips / leader points */
body.x-dark .deliverable-list span,
body.x-dark .leader-points span {
  background: rgba(23,104,242,.14) !important;
  border-color: rgba(23,104,242,.32) !important;
  color: #cfe0ff !important;
}

/* category rail pills */
body.x-dark .category-line a {
  background: rgba(255,255,255,.05);
  border-color: rgba(255,255,255,.12);
  color: rgba(255,255,255,.82);
}
body.x-dark .category-line a:first-child {
  background: linear-gradient(135deg, var(--blue), #1454c8);
  border-color: var(--blue);
  color: #fff;
}

/* forms */
body.x-dark label { color: rgba(255,255,255,.8); }
body.x-dark input,
body.x-dark select,
body.x-dark textarea {
  background: rgba(255,255,255,.04) !important;
  border-color: rgba(255,255,255,.14) !important;
  color: #fff !important;
}
body.x-dark select option { color: #111; }
body.x-dark input::placeholder,
body.x-dark textarea::placeholder { color: rgba(255,255,255,.4); }

/* comparison table */
body.x-dark .premium-table {
  color: rgba(255,255,255,.78);
  background: linear-gradient(150deg, rgba(255,255,255,.06), rgba(255,255,255,.022)) !important;
  border: 1px solid rgba(255,255,255,.1);
  box-shadow: 0 26px 70px rgba(0,0,0,.42) !important;
  backdrop-filter: blur(16px);
}
body.x-dark .premium-table th {
  background: rgba(23,104,242,.18);
  color: #fff;
  border-color: rgba(255,255,255,.12);
}
body.x-dark .premium-table td {
  color: rgba(255,255,255,.78);
  border-color: rgba(255,255,255,.08);
}
body.x-dark .premium-table td:first-child { color: #fff; font-weight: 600; }
body.x-dark .premium-table tbody tr:nth-child(even) td { background: rgba(255,255,255,.02); }
body.x-dark .premium-table tr:hover td { background: rgba(23,104,242,.12); }

/* pricing cards */
body.x-dark .pricing-grid article {
  position: relative;
  overflow: hidden;
}
body.x-dark .pricing-grid article::before {
  position: absolute;
  content: "";
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    radial-gradient(circle at 88% 0%, rgba(23,104,242,.16), transparent 34%),
    linear-gradient(135deg, rgba(255,255,255,.08), transparent 38%);
  opacity: .88;
}
body.x-dark .pricing-grid article > * {
  position: relative;
  z-index: 1;
}
body.x-dark .pricing-grid article.featured {
  background: linear-gradient(150deg, rgba(23,104,242,.12), rgba(255,255,255,.02)) !important;
  border-width: 1px !important;
  border-color: rgba(23,104,242,.34) !important;
  transform: none !important;
}

/* contact methods + map */
body.x-dark .contact-methods a {
  background: rgba(255,255,255,.04);
  border-color: rgba(255,255,255,.1);
}
body.x-dark .contact-methods strong,
body.x-dark .single-meta { color: #cfe0ff; }
body.x-dark .map-placeholder {
  border-color: rgba(23,104,242,.4);
  background: radial-gradient(circle at 40% 30%, rgba(23,104,242,.16), transparent 60%), rgba(255,255,255,.02);
  color: rgba(255,255,255,.6);
}

/* CTA band -> punchy blue on dark */
body.x-dark .cta-band {
  background: linear-gradient(135deg, var(--blue), #1454c8) !important;
  border-color: transparent !important;
  box-shadow: 0 30px 80px rgba(23,104,242,.3) !important;
}
body.x-dark .cta-band h2,
body.x-dark .cta-band p:not(.section-tag) { color: #fff !important; }
body.x-dark .cta-band .section-tag { color: rgba(255,255,255,.85) !important; }

/* keep the white-pill primary button readable on dark CTA */
body.x-dark .cta-band .primary-button {
  background: #fff;
  color: var(--blue);
}

/* director monogram tile already dark gradient - keep, just ensure text */
body.x-dark .director-card .role,
body.x-dark .director-card .section-tag { color: #9ec0ff; }

/* ============================================================
   PREMIUM SERVICE ICONS + SOCIAL PROOF (services / about / detail)
   ============================================================ */
.svc-ic {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 56px;
  height: 56px;
  border: 1px solid rgba(23,104,242,.22);
  border-radius: 14px;
  background: linear-gradient(150deg, rgba(23,104,242,.14), rgba(23,104,242,.04));
  color: var(--blue);
  transition: background .3s ease, color .3s ease, border-color .3s ease, transform .4s cubic-bezier(.16,1,.3,1);
}
.svc-ic svg { width: 40px; height: 32px; }
.svc-ic .motion-frame,.svc-ic .motion-orbit,.svc-ic .motion-line,.svc-ic .motion-scan,
.svc-ic .motion-chart,.svc-ic .motion-arrow,.svc-ic .motion-envelope,.svc-ic .motion-network,
.svc-ic .motion-pin,.svc-ic .motion-radar,.svc-ic .motion-code,.svc-ic .motion-lens,.svc-ic .motion-focus {
  fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.svc-ic .motion-pulse,.svc-ic .motion-core,.svc-ic .motion-node,.svc-ic .motion-satellite,.svc-ic .motion-dot {
  fill: currentColor; stroke: none;
}
.premium-service-grid article:hover .svc-ic {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
  transform: rotate(-5deg) scale(1.05);
}
.service-card-top { align-items: flex-start; }
.premium-service-grid a span { display: inline-block; margin-left: 7px; transition: transform .3s ease; }
.premium-service-grid a:hover span { transform: translateX(4px); }

/* service-detail hero icon (bigger, floated above the title) */
.service-hero .svc-ic {
  width: 72px; height: 72px; border-radius: 18px; margin-bottom: 22px;
}
.service-hero .svc-ic svg { width: 52px; height: 42px; }

/* dark-mode icon */
body.x-dark .svc-ic {
  border-color: rgba(23,104,242,.42);
  color: #7ea8ff;
  background: linear-gradient(150deg, rgba(23,104,242,.22), rgba(255,255,255,.02));
}

/* ---- Proof stats band ---- */
.proof-band { padding-top: 42px; padding-bottom: 42px; }
.proof-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: 100%;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--blue), #1454c8);
  box-shadow: 0 30px 80px rgba(23,104,242,.28);
}
.proof-stats div { min-width: 0; padding: 36px 26px; border-right: 1px solid rgba(255,255,255,.16); }
.proof-stats div:last-child { border-right: 0; }
.proof-stats strong {
  display: block;
  font-family: "DM Sans", Arial, sans-serif;
  font-size: clamp(30px, 3.4vw, 48px);
  font-weight: 900;
  letter-spacing: -.04em;
  word-spacing: .14em;
  white-space: nowrap;
  color: #fff;
  line-height: 1;
}
.proof-stats span {
  display: block; margin-top: 10px;
  font-size: 13px; font-weight: 800; letter-spacing: .03em;
  color: rgba(255,255,255,.86);
}
@media (max-width: 760px) {
  .proof-stats { grid-template-columns: 1fr 1fr; }
  .proof-stats div:nth-child(2) { border-right: 0; }
  .proof-stats div:nth-child(1), .proof-stats div:nth-child(2) { border-bottom: 1px solid rgba(255,255,255,.16); }
}

/* ---- Testimonials ---- */
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.testimonial-card {
  position: relative;
  margin: 0;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255,255,255,.9);
  box-shadow: 0 18px 58px rgba(8,24,52,.08);
  backdrop-filter: blur(14px);
}
.testimonial-card::before {
  content: "\201C";
  position: absolute;
  top: 10px; right: 24px;
  font-family: "DM Sans", Georgia, serif;
  font-size: 72px; line-height: 1;
  color: rgba(23,104,242,.16);
}
.testimonial-card blockquote {
  position: relative;
  margin: 0;
  font-family: "Inter Tight", sans-serif;
  font-size: 18px; font-weight: 600; line-height: 1.5;
  letter-spacing: -.01em;
  color: var(--dark);
}
.testimonial-card figcaption {
  display: grid; gap: 3px;
  margin-top: 22px; padding-top: 18px;
  border-top: 1px solid var(--line);
}
.testimonial-card figcaption strong { font-size: 15px; font-weight: 900; color: var(--blue); }
.testimonial-card figcaption span { font-size: 13px; color: var(--muted); }
body.x-dark .testimonial-card {
  background: linear-gradient(150deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  border-color: rgba(255,255,255,.1);
  box-shadow: 0 26px 70px rgba(0,0,0,.42);
}
body.x-dark .testimonial-card blockquote { color: #fff; }
body.x-dark .testimonial-card figcaption { border-color: rgba(255,255,255,.1); }
body.x-dark .testimonial-card figcaption strong { color: #7ea8ff; }
body.x-dark .testimonial-card figcaption span { color: rgba(255,255,255,.55); }
@media (max-width: 860px) { .testimonial-grid { grid-template-columns: 1fr; } }

/* ============================================================
   PREMIUM DARK FOOTER (all pages) — visible wordmark + contrast
   ============================================================ */
.site-footer { color: rgba(255,255,255,.7); }

/* live-text wordmark: white X8 + blue per, always visible on dark */
.footer-wordmark {
  display: inline-block;
  font-family: "Inter Tight", "Manrope", Arial, sans-serif;
  font-weight: 900;
  font-size: 44px;
  letter-spacing: -.05em;
  line-height: 1;
}
/* selector is more specific than `.footer-brand span`, so the wordmark stays
   white X / blue per / white 8 — identical to the navbar logo */
.footer-brand span.footer-wordmark { color: #fff !important; }
.footer-brand span.footer-wordmark b { color: #1768f2 !important; font-weight: 900; }

/* inner pages: footer becomes a dark glass card to match the dark body */
body:not(.home) .site-footer { background: transparent; }
body:not(.home) .footer-main {
  border: 1px solid rgba(255,255,255,.1) !important;
  border-radius: 24px !important;
  background:
    radial-gradient(circle at 10% 0%, rgba(23,104,242,.16), transparent 36%),
    rgba(255,255,255,.03) !important;
  box-shadow: 0 26px 70px rgba(0,0,0,.4) !important;
}

/* text contrast — fix the invisible dark-on-dark text everywhere */
.footer-brand p { color: #fff !important; }
.footer-brand span { color: rgba(255,255,255,.55) !important; }
.footer-links strong,
.footer-contact strong { color: #fff !important; }
.footer-links a,
.footer-contact a { color: rgba(255,255,255,.66) !important; }
.footer-links a:hover,
.footer-contact a:hover { color: #fff !important; padding-left: 4px; }
.footer-cta,
.footer-contact .footer-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px !important;
  border: 1px solid rgba(126,168,255,.28);
  border-radius: 999px;
  background: var(--blue);
  color: #fff !important;
  line-height: 1.1;
  white-space: nowrap;
  box-shadow: 0 14px 34px rgba(31,102,229,.24);
  transform: translateY(0);
  transition: transform .22s ease, background .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.footer-cta:hover,
.footer-cta:focus-visible {
  padding-left: 18px !important;
  background: linear-gradient(135deg, #1454c8, var(--blue)) !important;
  border-color: var(--blue);
  color: #fff !important;
  box-shadow: 0 16px 38px rgba(23,104,242,.34);
  transform: translateY(-2px);
}
.footer-cta:active {
  padding-left: 18px !important;
  background: #1454c8 !important;
  color: #fff !important;
  transform: translateY(0);
}
.footer-socials a {
  background: rgba(255,255,255,.06) !important;
  border-color: rgba(255,255,255,.18) !important;
  color: #cfe0ff !important;
}
.footer-bottom {
  color: rgba(255,255,255,.5) !important;
  border-color: rgba(255,255,255,.14) !important;
}
.footer-bottom a { color: #7ea8ff !important; }

/* ============================================================
   HERO CINEMATIC VIDEO (homepage) — premium intro background
   ============================================================ */
.studio-hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  /* dark-blue fallback shown instantly before the video paints */
  background: radial-gradient(circle at 60% 28%, #0b1a36, #05070a 70%);
}
.studio-hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  filter: saturate(1.05) contrast(1.05) brightness(.95);
  /* Fades in via CSS on load — visibility never depends on JS. */
  opacity: 0;
  animation: heroVideoIn 1.6s ease .2s forwards;
}
@keyframes heroVideoIn { to { opacity: .9; } }
.studio-hero-veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(23,104,242,.28), transparent 60%),
    linear-gradient(180deg, rgba(5,7,10,.3), rgba(5,7,10,.68)),
    linear-gradient(90deg, rgba(5,7,10,.5), rgba(7,26,61,.12) 60%, rgba(5,7,10,.4));
}
/* dim the 3D X on the homepage so the cinematic video reads as the hero */
body.home .studio-hero-3d { opacity: .4 !important; animation: none !important; mix-blend-mode: screen; }

/* Hero content entrance — pure CSS, ALWAYS ends visible (no JS dependency).
   Staggered fade-up on load so the hero is never blank. */
.studio-hero-copy > * {
  animation: heroContentIn .85s cubic-bezier(.16,1,.3,1) both;
}
.studio-hero-copy > *:nth-child(1) { animation-delay: .15s; }
.studio-hero-copy > *:nth-child(2) { animation-delay: .28s; }
.studio-hero-copy > *:nth-child(3) { animation-delay: .41s; }
.studio-hero-copy > *:nth-child(4) { animation-delay: .54s; }
.studio-hero-copy > *:nth-child(5) { animation-delay: .67s; }
.studio-hero-copy > *:nth-child(6) { animation-delay: .8s; }
@keyframes heroContentIn {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .studio-hero-video { display: none; }
  .studio-hero-copy > * { animation: none; opacity: 1; transform: none; }
}

/* ============================================================
   PROTOTYPE CHROME — premium header, rolling nav, custom cursor,
   full-screen mobile menu (merged over WordPress)
   ============================================================ */
.x-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px clamp(20px, 4.4vw, 72px);
  transition: padding .4s ease, background .4s ease, transform .5s ease, backdrop-filter .4s ease;
}
.x-header.shrink {
  padding-block: 13px;
  background: rgba(8,8,8,.6);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.x-header.hide { transform: translateY(-100%); }
.x-logo { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.x-header .wordmark {
  font-family: "Inter Tight", "Manrope", sans-serif;
  font-weight: 800; letter-spacing: -.05em; font-size: 26px; color: #fff; display: inline-block;
}
.x-header .wordmark b { color: #1768f2; }
.x-claim {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 10px; color: rgba(255,255,255,.42); letter-spacing: .04em;
  padding-left: 11px; border-left: 1px solid rgba(255,255,255,.18);
}
.x-nav {
  display: flex; gap: 4px; padding: 5px;
  border: 1px solid rgba(255,255,255,.08); border-radius: 999px;
  background: rgba(255,255,255,.03); backdrop-filter: blur(10px);
}
.x-nav a { position: relative; padding: 10px 18px; border-radius: 999px; text-decoration: none; transition: background .35s ease; }
.x-nav a .nl-main { display: block; font-size: 13px; font-weight: 700; letter-spacing: -.01em; color: rgba(255,255,255,.82); transition: color .3s ease; }
.x-nav a .nl-sub {
  position: absolute; left: 50%; bottom: -15px; transform: translateX(-50%) translateY(4px);
  font-family: "JetBrains Mono", monospace; font-size: 9px; font-weight: 500; letter-spacing: .06em;
  color: #3a86ff; white-space: nowrap; opacity: 0; transition: opacity .3s ease, transform .35s cubic-bezier(.16,1,.3,1); pointer-events: none;
}
.x-nav a:hover { background: rgba(255,255,255,.07); }
.x-nav a:hover .nl-main { color: #fff; }
.x-nav a:hover .nl-sub { opacity: 1; transform: translateX(-50%) translateY(0); }
.x-nav a.active { background: #1768f2; }
.x-nav a.active .nl-main { color: #fff; }
.x-ready {
  display: inline-flex; align-items: center; gap: 9px; padding: 12px 20px; border-radius: 999px;
  background: #fff; color: #080808; text-decoration: none;
  font-family: "JetBrains Mono", monospace; font-size: 11px; font-weight: 700;
  transition: transform .25s cubic-bezier(.16,1,.3,1), box-shadow .3s ease;
}
.x-ready:hover { box-shadow: 0 10px 30px rgba(255,255,255,.18); }
.x-burger {
  display: none; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.2); border-radius: 50%;
  background: rgba(8,8,8,.3); backdrop-filter: blur(10px);
  flex-direction: column; align-items: center; justify-content: center; gap: 5px; cursor: pointer;
}
.x-burger span { display: block; width: 16px; height: 1.6px; background: #fff; transition: transform .3s ease, opacity .3s ease; }
@media (max-width: 980px) {
  .x-nav, .x-ready { display: none; }
  .x-burger { display: flex; }
}

/* full-screen circular-reveal mobile menu */
.x-mobile {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(8,8,8,.9); backdrop-filter: blur(24px);
  clip-path: circle(0% at calc(100% - 42px) 42px);
  transition: clip-path .6s cubic-bezier(.16,1,.3,1);
  display: grid; align-content: center; justify-items: center; gap: 8px; visibility: hidden;
}
.x-mobile.open { clip-path: circle(150% at calc(100% - 42px) 42px); visibility: visible; }
.x-mobile nav { display: grid; gap: 6px; text-align: center; }
.x-mobile nav a { display: grid; gap: 2px; padding: 12px; text-decoration: none; }
.x-mobile nav a i { font-family: "Inter Tight", sans-serif; font-style: normal; font-weight: 700; font-size: clamp(34px, 9vw, 56px); letter-spacing: -.04em; color: #fff; }
.x-mobile nav a em { font-family: "JetBrains Mono", monospace; font-style: normal; font-size: 11px; color: #3a86ff; }
.x-mobile-cta { margin-top: 22px; padding: 14px 26px; border-radius: 999px; background: #1768f2; color: #fff; text-decoration: none; font-weight: 800; font-size: 13px; }
.x-mobile-close { position: absolute; top: 24px; right: clamp(20px,4.4vw,72px); width: 44px; height: 44px; background: transparent; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; cursor: pointer; }
.x-mobile-close span { position: absolute; top: 50%; left: 50%; width: 16px; height: 1.6px; background: #fff; }
.x-mobile-close span:first-child { transform: translate(-50%,-50%) rotate(45deg); }
.x-mobile-close span:last-child { transform: translate(-50%,-50%) rotate(-45deg); }
body.menu-open { overflow: hidden; }

/* Native system cursor. The custom dot+ring cursor was removed; interactive
   elements use the standard pointer so hover is obvious on every background. */
a, button, .x-burger, .magnetic, .hoverable, [data-cursor],
summary, label, select, .studio-project, .studio-news-row, .client-card {
  cursor: pointer;
}
input[type="text"], input[type="email"], input[type="tel"],
input[type="search"], textarea { cursor: text; }
/* Any stray custom-cursor nodes left in cached markup stay hidden. */
.x-cursor-dot, .x-cursor-ring { display: none !important; }

/* ---------- Floating WhatsApp CTA (site-wide) ---------- */
.wa-float {
  position: fixed;
  right: clamp(16px, 3vw, 28px);
  bottom: clamp(16px, 3vw, 28px);
  z-index: 900;
  display: inline-flex;
  align-items: center;
  gap: 0;
  height: 58px;
  width: 58px;
  padding: 0;
  overflow: hidden;
  border-radius: 999px;
  background: #25d366;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 14px 34px rgba(37, 211, 102, .42), 0 4px 12px rgba(0,0,0,.25);
  transition: width .35s cubic-bezier(.16,1,.3,1), transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.wa-float svg {
  flex: 0 0 58px;
  width: 58px;
  height: 58px;
  padding: 16px;
  fill: #fff;
}
.wa-float-label {
  white-space: nowrap;
  font-family: "Inter Tight", "Manrope", sans-serif;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: -.01em;
  padding-right: 22px;
  opacity: 0;
  transition: opacity .3s ease;
}
.wa-float::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: 0 0 0 0 rgba(37, 211, 102, .55);
  animation: waPulse 2.4s ease-out infinite;
  pointer-events: none;
}
@keyframes waPulse {
  0%   { box-shadow: 0 0 0 0 rgba(37, 211, 102, .5); }
  70%  { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}
/* Expand to a pill with the label on hover/focus (desktop fine-pointer) */
@media (hover: hover) and (pointer: fine) {
  .wa-float:hover,
  .wa-float:focus-visible {
    width: 198px;
    background: #1ebe5b;
    transform: translateY(-2px);
  }
  .wa-float:hover .wa-float-label,
  .wa-float:focus-visible .wa-float-label { opacity: 1; }
}
/* Hide it behind the full-screen mobile menu when that is open */
body.menu-open .wa-float { opacity: 0; pointer-events: none; }
@media (prefers-reduced-motion: reduce) {
  .wa-float::before { animation: none; }
}

/* the old WP header is no longer output; hide if any stray reference remains */
.site-header { display: none; }

/* JAIPUR / INDIA — stack the two words so they never collide into one */
.studio-contact h2 {
  display: grid !important;
  justify-items: start;
  gap: 0 !important;
  margin: 56px 0 !important;
  font-size: clamp(58px, 11vw, 178px) !important;
  line-height: .84 !important;
  letter-spacing: -.06em !important;
}
.studio-contact h2 span { display: block; }
.studio-contact h2 span:last-child { justify-self: end; opacity: .9; }

/* ============================================================
   CONTACT SECTION (above footer) — balanced two-column layout
   Left: HQ label + JAIPUR / INDIA wordmark + tagline
   Right: contact panel with strong CTA, details and socials
   ============================================================ */
.studio-contact {
  padding: clamp(90px, 11vw, 170px) 0 90px;
}
.studio-contact-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: end;
}
.studio-contact-lead {
  min-width: 0;
}
/* keep the city wordmark stacked + left-aligned in the new layout */
.studio-contact .studio-contact-lead h2 {
  display: grid !important;
  justify-items: start !important;
  gap: 0 !important;
  margin: 28px 0 0 !important;
  font-size: clamp(64px, 9vw, 168px) !important;
  line-height: .82 !important;
  letter-spacing: -.06em !important;
}
.studio-contact .studio-contact-lead h2 span:last-child {
  justify-self: start !important;
  opacity: .55;
}
.studio-contact .studio-label span { color: #fff; }
.studio-contact-tag {
  max-width: 30ch;
  margin: 30px 0 0;
  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 1.5;
  color: rgba(255,255,255,.82);
}

/* right-hand panel */
.studio-contact-panel {
  align-self: end;
  padding: clamp(26px, 3vw, 40px);
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 22px;
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(10px);
  box-shadow: 0 30px 80px rgba(0,0,0,.18);
}
.studio-contact-panel-label {
  margin: 0 0 18px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
}
.studio-contact-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 70px;
  padding: 16px 30px;
  border-radius: 999px;
  background: #fff;
  color: var(--blue) !important;
  font-size: clamp(15px, 1.4vw, 18px);
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  white-space: normal;
  transition: transform .35s cubic-bezier(.16,1,.3,1), box-shadow .35s ease, background .3s ease, color .3s ease;
}
.studio-contact-cta span {
  flex: 0 0 auto;
  color: currentColor;
  transition: transform .35s cubic-bezier(.16,1,.3,1);
}
.studio-contact-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 50px rgba(0,0,0,.28);
  background: #080808;
  color: #fff !important;
}
.studio-contact-cta:hover span { transform: translateX(6px); }

.studio-contact-details {
  list-style: none;
  margin: 30px 0 0;
  padding: 26px 0 0;
  border-top: 1px solid rgba(255,255,255,.28);
}
.studio-contact-details li {
  display: grid;
  grid-template-columns: 70px 1fr;
  align-items: baseline;
  gap: 16px;
  padding: 12px 0;
}
.studio-contact-details li + li {
  border-top: 1px solid rgba(255,255,255,.14);
}
.studio-contact-details li > span:first-child {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
}
.studio-contact-details a,
.studio-contact-place {
  color: #fff;
  font-size: clamp(16px, 1.6vw, 19px);
  font-weight: 600;
  text-decoration: none;
  transition: opacity .25s ease;
}
.studio-contact-details a:hover { opacity: .7; }

.studio-contact-socials {
  display: flex;
  gap: 12px;
  margin-top: 28px;
}
.studio-contact-socials a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,.32);
  border-radius: 50%;
  color: #fff;
  transition: background .3s ease, color .3s ease, transform .3s ease, border-color .3s ease;
}
.studio-contact-socials a:hover {
  background: #fff;
  color: var(--blue);
  border-color: #fff;
  transform: translateY(-3px);
}
.studio-contact-socials svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

@media (max-width: 920px) {
  .studio-contact-grid {
    grid-template-columns: 1fr;
    gap: 44px;
    align-items: start;
  }
  .studio-contact .studio-contact-lead h2 {
    font-size: clamp(58px, 17vw, 120px) !important;
  }
  .studio-contact-panel { align-self: stretch; }
}

@media (max-width: 520px) {
  .studio-contact-cta {
    justify-content: center;
    min-height: 64px;
    padding-inline: 22px;
    text-align: center;
  }
  .studio-contact-details li {
    grid-template-columns: 58px 1fr;
    gap: 12px;
  }
}

/* ============================================================
   SERVICES EXPLORER — single section with category filter tabs
   Replaces the four long stacked category sections.
   ============================================================ */
/* full-width stacked head (tag + heading + intro) — the default two-column
   .section-head grid squeezes the heading when an intro paragraph is added */
.services-explorer .section-head {
  display: block;
  margin-bottom: 0;
}
.services-explorer .section-head h2 {
  max-width: 880px;
  margin: 0 0 14px;
}
.services-explorer .section-head p:not(.section-tag) {
  max-width: 760px;
  margin: 0;
}
.services-explorer .premium-service-grid {
  margin-top: clamp(30px, 4vw, 54px);
}
.service-hero + .service-detail-grid {
  padding-top: clamp(72px, 8vw, 112px);
}
/* filtered-out cards + entrance animation */
[data-services-grid] article.is-hidden { display: none !important; }
[data-services-grid] article {
  animation: serviceCardIn .45s cubic-bezier(.16,1,.3,1) both;
}
@keyframes serviceCardIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   DARK-MODE GLASS CARDS — soften the light-theme white sheen
   The shared ::before overlay uses a strong white gradient meant
   for the light theme. On dark pages it washes the card surface
   to near-white (worst on the taller, open FAQ card), so the
   light text becomes unreadable. Replace it with a subtle blue.
   ============================================================ */
body.x-dark .faq-grid details::before,
body.x-dark .service-grid article::before,
body.x-dark .package-grid div::before,
body.x-dark .proof-grid div::before,
body.x-dark .process-line div::before,
body.x-dark .blog-card::before,
body.x-dark .premium-form::before,
body.x-dark .contact-panel::before,
body.x-dark .brand-block::before,
body.x-dark .service-hero aside::before {
  background: radial-gradient(circle at 18% 0%, rgba(23,104,242,.14), transparent 46%) !important;
  opacity: .7 !important;
}

/* FAQ readability in dark mode: keep the surface dark and text bright
   in BOTH the closed and open states */
body.x-dark .faq-grid details,
body.x-dark .faq-grid details[open] {
  background: linear-gradient(150deg, rgba(255,255,255,.06), rgba(255,255,255,.022)) !important;
  border-color: rgba(255,255,255,.12) !important;
}
body.x-dark .faq-grid details[open] {
  border-color: rgba(23,104,242,.4) !important;
}
body.x-dark .faq-grid summary,
body.x-dark .faq-grid details[open] summary {
  color: #fff !important;
}
body.x-dark .faq-grid p {
  color: rgba(255,255,255,.78) !important;
}

/* ============================================================
   PER-SERVICE PRICING CARDS
   ============================================================ */
.pricing-grid article { display: flex; flex-direction: column; }
.pricing-name {
  margin: 12px 0 6px;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -.01em;
}
.pricing-grid article h2 {
  margin: 0 0 10px;
  font-size: clamp(24px, 2.2vw, 32px);
  color: var(--blue);
  letter-spacing: -.02em;
}
.pricing-grid article > p { color: var(--muted); }
.pricing-grid ul { margin: 16px 0 22px; }
.pricing-grid article .primary-button { margin-top: auto; align-self: flex-start; }
body.x-dark .pricing-grid .pricing-name { color: #fff; }
body.x-dark .pricing-grid article h2 { color: #9ec0ff; }
body.x-dark .pricing-grid article > p { color: rgba(255,255,255,.7); }
body.x-dark .pricing-grid ul li { color: rgba(255,255,255,.7); }

/* service-card price line (services listing) */
.premium-service-grid .service-price {
  display: block;
  margin: 14px 0 4px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -.01em;
  color: var(--blue);
}
body.x-dark .premium-service-grid .service-price { color: #9ec0ff; }

/* service-detail hero aside price block */
.service-aside-price {
  display: block;
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.service-aside-price em {
  display: block;
  margin-bottom: 4px;
  font-size: 11px;
  font-weight: 700;
  font-style: normal;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
}
.service-aside-price strong {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -.01em;
  color: var(--blue);
}
body.x-dark .service-aside-price { border-color: rgba(255,255,255,.14); }
body.x-dark .service-aside-price em { color: rgba(255,255,255,.55); }
body.x-dark .service-aside-price strong { color: #9ec0ff; }

/* secondary price note (e.g. dual ad prices + fixed/incentive model) */
.price-note {
  margin: -4px 0 14px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}
body.x-dark .price-note { color: rgba(255,255,255,.6); }
.service-aside-price small {
  display: block;
  margin-top: 8px;
  font-size: 12.5px;
  line-height: 1.5;
  font-weight: 500;
  color: var(--muted);
}
body.x-dark .service-aside-price small { color: rgba(255,255,255,.6); }

/* ============================================================
   CLIENT PROJECTS GRID (Portfolio) — live website screenshots,
   each card links to the live client site.
   ============================================================ */
.client-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.client-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255,255,255,.9);
  box-shadow: 0 18px 50px rgba(8,24,52,.08);
  text-decoration: none;
  color: inherit;
  transition: transform .35s cubic-bezier(.16,1,.3,1), border-color .35s ease, box-shadow .35s ease;
}
.client-card:hover {
  transform: translateY(-8px);
  border-color: rgba(23,104,242,.4);
  box-shadow: 0 30px 80px rgba(23,104,242,.18);
}
.client-card figure {
  margin: 0;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(135deg, #164ce8, #0a1430);
}
.client-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform .5s cubic-bezier(.16,1,.3,1);
}
.client-card:hover img { transform: scale(1.05); }
.client-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px 24px 26px;
}
.client-cat {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--blue);
}
.client-body h3 {
  margin: 0;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -.01em;
}
.client-body p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}
.client-link {
  margin-top: 6px;
  font-size: 13px;
  font-weight: 800;
  color: var(--blue);
}
.client-link span { display: inline-block; transition: transform .3s ease; }
.client-card:hover .client-link span { transform: translateX(5px); }

/* dark studio mode */
body.x-dark .client-card {
  background: linear-gradient(150deg, rgba(255,255,255,.06), rgba(255,255,255,.022));
  border-color: rgba(255,255,255,.1);
  box-shadow: 0 26px 70px rgba(0,0,0,.42);
}
body.x-dark .client-card:hover {
  border-color: rgba(23,104,242,.5);
  box-shadow: 0 30px 90px rgba(23,104,242,.22);
}
body.x-dark .client-body h3 { color: #fff; }
body.x-dark .client-body p { color: rgba(255,255,255,.62); }
body.x-dark .client-cat,
body.x-dark .client-link { color: #9ec0ff; }

@media (max-width: 980px) { .client-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .client-grid { grid-template-columns: 1fr; } }
