/* WebCube LTD — site styles */
:root {
  --purple-deep: #6A1BF5;
  --purple-mid: #8A3FFC;
  --purple-light: #B98AF7;
  --purple-soft: #f0e8ff;
  --ink: #161616;
  --ink-muted: #5a5a5a;
  --line: #e6e6e6;
  --bg: #ffffff;
  --bg-subtle: #f7f7f8;
  --dark: #161616;
  --dark-2: #1f1f22;
  --max: 72rem;
  --pad: clamp(1.25rem, 4vw, 2.5rem);
  --header-h: 4.25rem;
  --radius: 0.5rem;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--purple-deep); text-decoration-thickness: 1px; text-underline-offset: 0.15em; }
a:hover { color: var(--purple-mid); }
ul { margin: 0; padding: 0; list-style: none; }

.wrap {
  width: min(100% - 2 * var(--pad), var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--ink);
}
.brand:hover { color: var(--ink); }
.brand-mark {
  width: 2.15rem;
  height: 2.15rem;
  object-fit: contain;
}
.brand-name {
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
}
.nav-desktop {
  display: flex;
  align-items: center;
  gap: 0.15rem 1.35rem;
}
.nav-desktop a:not(.btn) {
  color: var(--ink-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}
.nav-desktop a:not(.btn):hover,
.nav-desktop a:not(.btn)[aria-current="page"] { color: var(--ink); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 1.25rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none !important;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background .15s, color .15s, border-color .15s, transform .15s;
  font-family: inherit;
  color: #fff;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--purple-deep);
  color: #fff !important;
}
.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--purple-mid);
  color: #fff !important;
}
.nav-desktop a.btn-primary,
.nav-desktop a.btn-primary:visited,
.nav-mobile a.btn-primary,
.nav-mobile a.btn-primary:visited {
  color: #fff !important;
  background: var(--purple-deep);
}
.nav-desktop a.btn-primary:hover,
.nav-mobile a.btn-primary:hover {
  background: var(--purple-mid);
  color: #fff !important;
}
.btn-dark {
  background: var(--ink);
  color: #fff !important;
}
.btn-dark:hover { background: #000; color: #fff !important; }
.btn-ghost {
  background: transparent;
  color: #fff !important;
  border-color: rgba(255,255,255,0.35);
}
.btn-ghost:hover { background: rgba(255,255,255,0.1); color: #fff !important; }
.btn-outline {
  background: transparent;
  color: var(--ink) !important;
  border-color: var(--ink);
}
.btn-outline:hover { background: var(--ink); color: #fff !important; }
.nav-desktop .btn { padding: 0.55rem 1.05rem; font-size: 0.9rem; }

.menu-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--line);
  border-radius: 0.4rem;
  background: #fff;
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.menu-toggle span {
  display: block;
  width: 1.1rem;
  height: 2px;
  background: var(--ink);
  transition: transform .2s, opacity .2s;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  display: none;
  position: absolute;
  left: 0; right: 0; top: var(--header-h);
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 1rem var(--pad) 1.25rem;
  flex-direction: column;
  gap: 0.35rem;
  box-shadow: 0 12px 30px rgba(0,0,0,0.06);
}
.nav-mobile.is-open { display: flex; }
.nav-mobile a:not(.btn) {
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  padding: 0.7rem 0.4rem;
  border-radius: 0.35rem;
}
.nav-mobile a:not(.btn):hover { background: var(--bg-subtle); }
.nav-mobile .btn { margin-top: 0.5rem; width: 100%; }

@media (max-width: 860px) {
  .nav-desktop { display: none; }
  .menu-toggle { display: inline-flex; }
}

/* Heroes with motif */
.hero, .page-hero {
  position: relative;
  overflow: hidden;
}
.hero {
  padding: clamp(3.25rem, 8vw, 5.75rem) 0 clamp(3rem, 6vw, 4.5rem);
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--line);
}
.hero-dark {
  background: var(--dark);
  color: #fff;
  border-bottom: none;
}
.hero-dark .lead { color: rgba(255,255,255,0.72); }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 220px; margin: 0 auto 0.5rem; }
  .page-hero .hero-visual { max-width: 140px; }
}
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none;
}
.hero-visual img {
  width: min(100%, 340px);
  height: auto;
  opacity: 0.92;
  filter: drop-shadow(0 20px 40px rgba(106, 27, 245, 0.25));
}
.page-hero .hero-visual img {
  width: min(100%, 220px);
  opacity: 0.85;
}
.hero-visual-svg {
  width: min(100%, 360px);
  height: auto;
}
.page-hero .hero-visual-svg {
  width: min(100%, 240px);
  opacity: 0.9;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--purple-deep);
  margin: 0 0 0.85rem;
}
.hero-dark .eyebrow { color: var(--purple-light); }
h1 {
  font-size: clamp(2.15rem, 5.2vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  font-weight: 700;
  margin: 0 0 1.15rem;
  max-width: 16ch;
}
.lead {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: var(--ink-muted);
  max-width: 38rem;
  margin: 0 0 1.75rem;
  line-height: 1.6;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.stat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}
.stat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  min-width: 12rem;
  max-width: 22rem;
}
.hero-dark .stat {
  background: var(--dark-2);
  border-color: #2e2e32;
}
.stat strong {
  display: block;
  font-size: 1.85rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--purple-deep);
  line-height: 1.1;
}
.hero-dark .stat strong { color: var(--purple-light); }
.stat span {
  font-size: 0.92rem;
  color: var(--ink-muted);
}
.hero-dark .stat span { color: rgba(255,255,255,0.65); }

.page-hero {
  padding: clamp(2.75rem, 6vw, 4rem) 0;
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { max-width: 18ch; }
.page-hero.dark {
  background: var(--dark);
  color: #fff;
  border-bottom: none;
}
.page-hero.dark .lead { color: rgba(255,255,255,0.72); }
.page-hero.dark .eyebrow { color: var(--purple-light); }

/* Sections */
.section {
  padding: clamp(3rem, 6vw, 4.75rem) 0;
}
.section-dark {
  background: var(--dark);
  color: #fff;
}
.section-muted { background: var(--bg-subtle); }
.section-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--purple-deep);
  margin: 0 0 0.6rem;
}
.section-dark .section-label { color: var(--purple-light); }
h2 {
  font-size: clamp(1.65rem, 3.2vw, 2.25rem);
  letter-spacing: -0.03em;
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 1rem;
  max-width: 24ch;
}
h3 {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 0.55rem;
}
.muted { color: var(--ink-muted); }
.section-dark .muted { color: rgba(255,255,255,0.68); }
.prose { max-width: 40rem; }
.prose p { margin: 0 0 1rem; }
.prose p:last-child { margin-bottom: 0; }

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.15rem;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0.65rem;
  padding: 1.5rem 1.45rem;
  transition: border-color .15s, box-shadow .15s;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.card:hover {
  border-color: #d0c4f0;
  box-shadow: 0 8px 28px rgba(106, 27, 245, 0.06);
}
.card p { color: var(--ink-muted); margin: 0; }
.card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  height: 100%;
}
.card-link:hover { color: inherit; }
.card-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.5rem;
  background: var(--purple-soft);
  color: var(--purple-deep);
  display: grid;
  place-items: center;
  margin-bottom: 1.1rem;
  flex-shrink: 0;
}
.card-icon svg {
  width: 1.35rem;
  height: 1.35rem;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.card-cta {
  margin-top: auto;
  padding-top: 1.35rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--purple-deep);
  text-decoration: underline;
  text-underline-offset: 0.2em;
  text-decoration-thickness: 1px;
  display: inline-block;
}
.card-link:hover .card-cta { color: var(--purple-mid); }

/* Client wall */
.client-wall {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.5rem;
}
.client-chip {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.55rem 1rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
}
.section-dark .client-chip {
  background: var(--dark-2);
  border-color: #2e2e32;
  color: #fff;
}

/* Process steps */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 1.75rem;
}
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }
.step {
  border-top: 3px solid var(--purple-deep);
  padding-top: 1rem;
}
.step-n {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--purple-deep);
  letter-spacing: 0.04em;
  margin-bottom: 0.45rem;
}
.step p { margin: 0.35rem 0 0; color: var(--ink-muted); font-size: 0.95rem; }

/* Partnership block */
.partner-block {
  display: grid;
  grid-template-columns: minmax(0, 0.4fr) minmax(0, 0.6fr);
  gap: clamp(1.5rem, 4vw, 2.5rem);
  align-items: center;
  background: var(--dark);
  color: #fff;
  border-radius: 0.75rem;
  padding: clamp(1.75rem, 4vw, 2.5rem);
}
.partner-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.25rem;
  background: #0c0c0c;
  border-radius: 0.5rem;
  border: 1px solid #2e2e32;
  min-height: 7rem;
}
.partner-logo {
  width: min(100%, 260px);
  height: auto;
  margin: 0 auto;
}
.partner-copy { min-width: 0; }
.partner-block h3 {
  color: #fff;
  margin-bottom: 0.65rem;
  font-size: 1.25rem;
  max-width: none;
}
.partner-block p {
  margin: 0;
  color: rgba(255,255,255,0.72);
  max-width: none;
  line-height: 1.6;
}
.partner-actions { margin-top: 1.15rem; display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* Partnership block with event photo */
.partner-block-photo {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 0;
  padding: 0;
  overflow: hidden;
  align-items: stretch;
  background: #161616;
}
.partner-content {
  padding: clamp(1.6rem, 4vw, 2.6rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.15rem;
  position: relative;
  z-index: 2;
  background: linear-gradient(90deg, #161616 70%, rgba(22,22,22,0.92) 88%, transparent);
}
.partner-block-photo .partner-logo-wrap {
  min-height: 0;
  padding: 0.85rem 1.1rem;
  align-self: flex-start;
  width: min(100%, 240px);
}
.partner-block-photo .partner-logo { width: min(100%, 220px); }
.partner-block-photo .partner-copy { max-width: 36rem; }
.partner-media {
  position: relative;
  min-height: 340px;
  background: #161616;
}
.partner-media picture {
  display: block;
  position: absolute;
  inset: 0;
}
.partner-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 32% center;
  border: 0;
  display: block;
  /* Soft edge fade into dark block — no hard square */
  -webkit-mask-image:
    linear-gradient(90deg, transparent 0%, #000 16%, #000 100%),
    linear-gradient(180deg, #000 0%, #000 82%, transparent 100%),
    radial-gradient(ellipse 95% 90% at 58% 48%, #000 42%, transparent 78%);
  mask-image:
    linear-gradient(90deg, transparent 0%, #000 16%, #000 100%),
    linear-gradient(180deg, #000 0%, #000 82%, transparent 100%),
    radial-gradient(ellipse 95% 90% at 58% 48%, #000 42%, transparent 78%);
  -webkit-mask-composite: source-in, source-in;
  mask-composite: intersect;
}
.partner-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, #161616 0%, rgba(22,22,22,0.55) 18%, transparent 42%),
    linear-gradient(180deg, transparent 55%, rgba(22,22,22,0.55) 82%, #161616 100%),
    radial-gradient(ellipse at 100% 0%, rgba(106,27,245,0.18), transparent 55%);
  z-index: 1;
}
.partner-block-photo-sm .partner-media { min-height: 280px; }
.partner-block-photo-sm .partner-content { padding: clamp(1.4rem, 3.5vw, 2.1rem); }

@media (max-width: 860px) {
  .partner-block-photo {
    grid-template-columns: 1fr;
  }
  .partner-media {
    order: -1;
    min-height: 240px;
    max-height: 280px;
  }
  .partner-content {
    background: #161616;
    padding-top: 0;
    margin-top: -2.75rem;
    z-index: 3;
  }
  .partner-photo {
    object-position: 40% 28%;
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 35%, rgba(0,0,0,0.55) 62%, transparent 92%);
    mask-image: linear-gradient(180deg, #000 0%, #000 35%, rgba(0,0,0,0.55) 62%, transparent 92%);
    -webkit-mask-composite: source-over;
    mask-composite: add;
  }
  .partner-media::after {
    background: linear-gradient(180deg, transparent 18%, rgba(22,22,22,0.45) 48%, rgba(22,22,22,0.92) 78%, #161616 100%);
  }
  .partner-block { grid-template-columns: 1fr; }
  .partner-logo { width: min(100%, 220px); }
}
@media (max-width: 700px) {
  .partner-block:not(.partner-block-photo) { grid-template-columns: 1fr; }
}

/* Role lists */
.role-list li {
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink-muted);
  font-size: 0.98rem;
}
.role-list li:last-child { border-bottom: none; }

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: start;
}
@media (max-width: 800px) { .split { grid-template-columns: 1fr; gap: 1.5rem; } }

.facts {
  border: 1px solid var(--line);
  border-radius: 0.65rem;
  overflow: hidden;
  background: #fff;
}
.facts li {
  display: grid;
  grid-template-columns: 8.5rem 1fr;
  gap: 0.75rem;
  padding: 0.95rem 1.15rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.98rem;
}
.facts li:last-child { border-bottom: none; }
.facts .label { color: var(--ink-muted); font-weight: 500; }

.form {
  display: grid;
  gap: 1rem;
  max-width: 36rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--ink);
}
input, select, textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 0.45rem;
  font: inherit;
  color: var(--ink);
  background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--purple-mid);
  box-shadow: 0 0 0 3px rgba(138, 63, 252, 0.15);
}
textarea { min-height: 6rem; resize: vertical; }
.form-note {
  font-size: 0.88rem;
  color: var(--ink-muted);
  margin: 0;
}
.contact-aside {
  background: var(--dark);
  color: #fff;
  border-radius: 0.75rem;
  padding: 1.75rem;
}
.contact-aside h3 { color: #fff; }
.contact-aside p { color: rgba(255,255,255,0.7); margin: 0 0 1rem; }
.contact-aside a {
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.35);
}
.contact-aside a:hover { border-bottom-color: #fff; color: #fff; }
.contact-aside .stack { display: grid; gap: 0.85rem; margin-top: 1.25rem; }

.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,0.65);
  padding: 2.75rem 0 2rem;
  font-size: 0.92rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #2e2e32;
  margin-bottom: 1.5rem;
}
@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: #fff;
  margin-bottom: 0.75rem;
}
.footer-brand:hover { color: #fff; }
.footer-brand .brand-mark { width: 1.85rem; height: 1.85rem; }
.footer-brand .brand-name { color: #fff; }
.site-footer h4 {
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 0.85rem;
}
.site-footer a {
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  display: block;
  padding: 0.25rem 0;
}
.site-footer a:hover { color: #fff; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
}
.footer-bottom p { margin: 0; }

.mt-2 { margin-top: 1.75rem; }

/* Client logo marquee */
.client-marquee-section .section-label { margin-bottom: 0.5rem; }
.marquee {
  margin-top: 1.5rem;
  overflow: hidden;
  background: var(--dark);
  border-radius: 0.75rem;
  border: 1px solid #2e2e32;
  padding: 1.35rem 0;
  position: relative;
  --marquee-gap: 3rem;
}
.marquee::before,
.marquee::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 4rem;
  z-index: 2;
  pointer-events: none;
}
.marquee::before {
  left: 0;
  background: linear-gradient(90deg, var(--dark), transparent);
}
.marquee::after {
  right: 0;
  background: linear-gradient(270deg, var(--dark), transparent);
}
.marquee-track {
  display: flex;
  width: max-content;
  align-items: center;
  animation: marquee-scroll 40s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group {
  display: flex;
  align-items: center;
  gap: var(--marquee-gap);
  padding-right: var(--marquee-gap);
  flex-shrink: 0;
}
.marquee-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 3.25rem;
  padding: 0 0.35rem;
  opacity: 0.85;
  transition: opacity .2s, filter .2s;
}
.marquee-item:hover { opacity: 1; }
.marquee-item img {
  height: 2.35rem;
  width: auto;
  max-width: 11rem;
  object-fit: contain;
  filter: none;
}
.marquee-item .wordmark {
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  white-space: nowrap;
  opacity: 0.9;
}
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track {
    animation: none;
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
    row-gap: 1.25rem;
    padding: 0 1rem;
  }
  .marquee-group:last-child { display: none; }
  .marquee::before, .marquee::after { display: none; }
}

/* Case study cards */
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
  margin-top: 1.75rem;
}
@media (max-width: 980px) {
  .case-grid { grid-template-columns: 1fr; }
}
.case-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0.65rem;
  padding: 1.5rem 1.45rem;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: border-color .15s, box-shadow .15s;
  text-decoration: none;
  color: inherit;
}
.case-card:hover {
  border-color: #d0c4f0;
  box-shadow: 0 8px 28px rgba(106, 27, 245, 0.06);
  color: inherit;
}
.case-card .case-meta {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--purple-deep);
  margin: 0 0 0.55rem;
}
.case-card h3 {
  margin-bottom: 0.65rem;
}
.case-card p {
  color: var(--ink-muted);
  margin: 0 0 0.85rem;
  font-size: 0.98rem;
}
.case-card blockquote {
  margin: 0 0 1rem;
  padding: 0.85rem 1rem;
  background: var(--bg-subtle);
  border-left: 3px solid var(--purple-mid);
  border-radius: 0 0.4rem 0.4rem 0;
  color: var(--ink);
  font-size: 0.95rem;
  line-height: 1.55;
}
.case-card .quote-attr {
  display: block;
  margin-top: 0.55rem;
  font-size: 0.85rem;
  color: var(--ink-muted);
  font-style: normal;
  font-weight: 500;
}
.case-card .case-link {
  margin-top: auto;
  padding-top: 0.85rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--purple-deep);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
.case-card:hover .case-link { color: var(--purple-mid); }

.partner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.15rem;
}
.partner-block .btn-ghost {
  border-color: rgba(255,255,255,0.35);
  color: #fff !important;
}
.partner-block .btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  color: #fff !important;
}

/* Service pillars */
.card-kicker {
  margin: 0 0 0.55rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--purple-mid);
}
.pillar-card h3 { margin-bottom: 0.55rem; }
.pillar-card > p { margin-bottom: 0.85rem; }

/* Engagement models */
.engage-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.15rem;
}
.engage-card-wide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(12rem, 18rem) 1fr;
  gap: 0.75rem 1.5rem;
  align-items: baseline;
}
.engage-card-wide h3 { margin: 0; }
@media (max-width: 700px) {
  .engage-card-wide {
    grid-template-columns: 1fr;
  }
}
.engage-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0.65rem;
  padding: 1.25rem 1.3rem 1.35rem;
}
.engage-card h3 {
  font-size: 1.05rem;
  margin: 0 0 0.45rem;
}
.engage-card p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.95rem;
  line-height: 1.55;
}
@media (max-width: 700px) {
  .engage-grid { grid-template-columns: 1fr; }
}
.section-cta { margin-top: 1.75rem; }


/* Four search pillars */
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.15rem;
  align-items: stretch;
}
.pillar-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.pillar-card .role-list {
  margin-top: auto;
  padding-top: 0.35rem;
}
@media (max-width: 1100px) {
  .pillar-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .pillar-grid { grid-template-columns: 1fr; }
}

.stat-note {
  margin: 1.35rem 0 0;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.72);
  font-weight: 500;
}
.stat-row {
  align-items: stretch;
}
.stat {
  flex: 1 1 14rem;
  max-width: 20rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.stat-row-light .stat {
  background: #fff;
  border: 1px solid var(--line);
}
.stat-row-light {
  margin-top: 1.5rem;
}
@media (max-width: 560px) {
  .stat { max-width: none; }
}

/* About director headshot */
.director-heading {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}
.director-shot {
  flex: 0 0 auto;
  display: block;
  width: 180px;
  height: 180px;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(106, 27, 245, 0.18);
  border: 1px solid rgba(138, 63, 252, 0.28);
  background: #161616;
}
.director-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  display: block;
}
.director-heading h2 { margin: 0.15rem 0 0.35rem; }
.director-role {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.95rem;
}
.about-director .prose { max-width: 40rem; }
@media (max-width: 800px) {
  .director-heading {
    flex-direction: column;
    align-items: flex-start;
  }
  .director-shot {
    width: 160px;
    height: 160px;
  }
}
@media (min-width: 1100px) {
  .director-shot {
    width: 200px;
    height: 200px;
  }
}

/* FAQ */
.faq-list { display: grid; gap: 0.75rem; max-width: 48rem; }
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0.65rem;
  padding: 0.15rem 1.15rem 0.15rem;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  padding: 0.95rem 0;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  float: right;
  color: var(--purple-mid);
  font-weight: 700;
}
.faq-item[open] summary::after { content: "–"; }
.faq-item p {
  margin: 0 0 1rem;
  color: var(--ink-muted);
  line-height: 1.55;
}
.section-muted .faq-item { background: #fff; }

/* Blog */
.blog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.5rem 0 0.5rem;
}
.chip {
  appearance: none;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink-muted);
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
}
.chip:hover { border-color: var(--purple-mid); color: var(--purple-mid); }
.chip.is-active {
  background: var(--purple-deep);
  border-color: var(--purple-deep);
  color: #fff;
}
.post-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 1.5rem;
}
@media (max-width: 720px) {
  .post-grid { grid-template-columns: 1fr; }
}
.post-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  padding: 1.35rem 1.4rem 1.4rem;
  color: inherit;
  text-decoration: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  height: 100%;
}
.post-card:hover {
  border-color: rgba(138, 63, 252, 0.45);
  box-shadow: 0 10px 28px rgba(106, 27, 245, 0.08);
  color: inherit;
}
.post-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.85rem;
  align-items: center;
  margin: 0 0 0.65rem;
  font-size: 0.85rem;
  color: var(--ink-muted);
}
.post-tag {
  display: inline-block;
  background: rgba(138, 63, 252, 0.1);
  color: var(--purple-deep);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  border-radius: 0.35rem;
}
.post-card h3 {
  margin: 0 0 0.55rem;
  font-size: 1.2rem;
}
.post-card p { margin: 0; flex: 1; }
.post-card .card-cta { margin-top: 1rem; }
.post-card.is-hidden { display: none; }

.article-wrap { max-width: 42rem; margin: 0 auto; }
.article-header { margin-bottom: 2rem; }
.article-header h1 { max-width: 20ch; }
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  color: var(--ink-muted);
  font-size: 0.95rem;
  margin-top: 0.85rem;
}
.article-body {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ink);
}
.article-body h2 {
  margin: 2rem 0 0.75rem;
  font-size: 1.45rem;
}
.article-body h3 {
  margin: 1.5rem 0 0.55rem;
  font-size: 1.15rem;
}
.article-body p { margin: 0 0 1.1rem; }
.article-body ul, .article-body ol {
  margin: 0 0 1.1rem;
  padding-left: 1.25rem;
}
.article-body li { margin: 0.35rem 0; }
.article-body blockquote {
  margin: 1.5rem 0;
  padding: 0.85rem 1.15rem;
  border-left: 3px solid var(--purple-mid);
  background: var(--bg-subtle);
  color: var(--ink-muted);
  border-radius: 0 0.5rem 0.5rem 0;
}
.article-body img {
  max-width: 100%;
  height: auto;
  border-radius: 0.65rem;
  margin: 1.25rem 0;
}

.article-figure {
  margin: 1.25rem 0 1.5rem;
}
.article-figure img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  border-radius: 0.65rem;
}
.article-figure figcaption {
  margin-top: 0.55rem;
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--ink-muted);
}
.article-figure figcaption a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.author-box {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-top: 2.5rem;
  padding: 1.15rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: #fff;
}
.author-box img {
  width: 72px;
  height: 72px;
  border-radius: 0.65rem;
  object-fit: cover;
  margin: 0;
}
.author-box h3 { margin: 0 0 0.25rem; font-size: 1.05rem; }
.author-box p { margin: 0; color: var(--ink-muted); font-size: 0.95rem; }
.article-nav { margin: 1rem 0 0; }
.article-nav a { font-weight: 600; }
.hp-field { position: absolute; left: -10000px; height: 0; overflow: hidden; }
