/* ============================================================
   Home page specific styles
   ============================================================ */

/* ---------- Hero (fullscreen video) ---------- */
.home-hero--video {
  position: relative;
  isolation: isolate;
  /* fill from under the sticky header to the bottom of the viewport */
  min-height: clamp(680px, 100vh, 1100px);
  margin-top: -78px; /* pull behind sticky header */
  padding-top: 78px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  color: var(--paper);
  background: #060608;
}

/* media layer */
.home-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.home-hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  /* very slight desaturation so brand color reads on top */
  filter: saturate(0.85) contrast(1.02) brightness(0.78);
  /* subtle slow drift, KenBurns style */
  animation: heroDrift 32s ease-in-out infinite alternate;
}
@keyframes heroDrift {
  from { transform: scale(1.04) translate3d(-1%, 0, 0); }
  to   { transform: scale(1.10) translate3d( 1%, -1%, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .home-hero__video { animation: none; transform: scale(1.02); }
}

/* readability scrim — directional gradient, heavier bottom-left where copy sits */
.home-hero__scrim {
  position: absolute;
  inset: 0;
  background:
    /* base dim across the whole frame to lift any text on top */
    linear-gradient(to bottom, rgba(6,6,8,0.62) 0%, rgba(6,6,8,0.30) 28%, rgba(6,6,8,0.30) 50%, rgba(6,6,8,0.92) 100%),
    /* bottom-left spotlight for copy */
    radial-gradient(130% 100% at 0% 95%, rgba(6,6,8,0.85) 0%, rgba(6,6,8,0.55) 38%, rgba(6,6,8,0.10) 72%),
    /* faint blue brand wash bottom-right */
    radial-gradient(70% 60% at 100% 100%, rgba(34,81,255,0.28) 0%, rgba(34,81,255,0) 65%);
}
/* film grain via repeating noise — keeps the dark areas from looking flat */
.home-hero__grain {
  position: absolute; inset: 0;
  pointer-events: none;
  opacity: 0.08;
  mix-blend-mode: overlay;
  background-image:
    repeating-radial-gradient(circle at 20% 30%, rgba(255,255,255,0.6) 0 1px, transparent 1px 4px),
    repeating-radial-gradient(circle at 70% 80%, rgba(255,255,255,0.5) 0 1px, transparent 1px 5px);
}

/* container & layout */
.home-hero__container {
  position: relative;
  z-index: 2;
  flex: 1 1 auto;
  display: flex;
  align-items: flex-end;
  padding-top: clamp(64px, 10vw, 140px);
  padding-bottom: clamp(48px, 6vw, 96px);
}
.home-hero__inner {
  display: block;
  width: 100%;
}
.home-hero__copy {
  display: flex;
  flex-direction: column;
  gap: 28px;
  max-width: 980px;
  position: relative;
}
/* localized scrim behind the copy column to guarantee contrast even on bright frames */
.home-hero__copy::before {
  content: "";
  position: absolute;
  inset: -48px -64px -32px -64px;
  background: radial-gradient(80% 80% at 25% 60%, rgba(6,6,8,0.55) 0%, rgba(6,6,8,0.25) 55%, rgba(6,6,8,0) 80%);
  z-index: -1;
  pointer-events: none;
  filter: blur(8px);
}

/* eyebrow on dark */
.home-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #FBFAF7;
  letter-spacing: 0.08em;
  text-shadow: 0 1px 12px rgba(6,6,8,0.55);
  white-space: nowrap;
  line-height: 1.4;
  font-size: 0.74rem;
}
@media (max-width: 720px) {
  .home-hero__eyebrow {
    white-space: normal;
    text-wrap: balance;
    max-width: 44ch;
  }
}

/* headline */
.home-hero__headline {
  font-family: var(--font-sans);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.025em;
  color: #FBFAF7;
  text-wrap: balance;
  text-shadow: 0 2px 24px rgba(6,6,8,0.55), 0 1px 2px rgba(6,6,8,0.35);
}
.home-hero__headline-lede {
  display: block;
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  font-weight: 500;
  color: #FBFAF7;
  letter-spacing: -0.028em;
}
.home-hero__headline-tail {
  display: block;
  margin-top: 0.5em;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: rgba(251, 250, 247, 0.86);
  max-width: 32ch;
  text-shadow: 0 1px 12px rgba(6,6,8,0.45);
}
.home-hero__headline-accent {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  /* Accent on dark hero — lighter blue pops against the video scrim */
  color: var(--blue-soft);
  white-space: nowrap;
}

/* deck */
.home-hero__deck {
  font-family: var(--font-serif);
  font-size: clamp(1.05rem, 1.45vw, 1.25rem);
  line-height: 1.55;
  color: rgba(251, 250, 247, 0.92);
  max-width: 60ch;
  text-wrap: pretty;
  text-shadow: 0 1px 10px rgba(6,6,8,0.45);
}

.home-hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 12px;
}

/* ghost outline button variant for use on dark video */
.btn--on-dark-outline {
  background: transparent;
  border-color: rgba(251, 250, 247, 0.45);
  color: var(--paper);
}
.btn--on-dark-outline:hover {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
}

/* footer band: meta + scroll cue */
.home-hero__footer {
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(251, 250, 247, 0.14);
  padding: 18px 0;
  background: linear-gradient(to top, rgba(6,6,8,0.55), rgba(6,6,8,0));
}
.home-hero__footer-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(251, 250, 247, 0.72);
}
.home-hero__meta-item { display: inline-flex; align-items: center; }
.home-hero__meta-item--center { justify-self: center; text-align: center; color: rgba(251, 250, 247, 0.55); }
.home-hero__footer .dot {
  width: 6px; height: 6px; border-radius: 999px; background: #7E9BFF;
  display: inline-block; margin-right: 10px;
  box-shadow: 0 0 0 4px rgba(126, 155, 255, 0.22);
  animation: pulse 1800ms var(--ease-out) infinite;
}
.home-hero__scroll {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: rgba(251, 250, 247, 0.72);
  text-decoration: none;
  transition: color var(--dur-base) var(--ease-out);
}
.home-hero__scroll:hover { color: var(--paper); }
.home-hero__scroll-line {
  position: relative;
  display: inline-block;
  width: 56px;
  height: 1px;
  background: rgba(251, 250, 247, 0.25);
  overflow: hidden;
}
.home-hero__scroll-line::after {
  content: "";
  position: absolute;
  inset: 0;
  width: 40%;
  background: var(--paper);
  animation: heroScrollLine 2200ms var(--ease-out) infinite;
}
@keyframes heroScrollLine {
  0%   { transform: translateX(-100%); }
  60%  { transform: translateX(180%); }
  100% { transform: translateX(180%); }
}

/* header transparency over the video hero */
.home-hero--video ~ * .site-header,
body:has(.home-hero--video) .site-header {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
body:has(.home-hero--video) .site-header:not(.is-scrolled) .site-header__nav a { color: rgba(251, 250, 247, 0.92); }
body:has(.home-hero--video) .site-header:not(.is-scrolled) .site-header__nav a:hover { color: var(--paper); }
body:has(.home-hero--video) .site-header:not(.is-scrolled) .site-header__menu-btn { color: var(--paper); }
body:has(.home-hero--video) .site-header:not(.is-scrolled) .site-header__logo img {
  /* invert dark logo to white */
  filter: brightness(0) invert(1);
}
body:has(.home-hero--video) .site-header:not(.is-scrolled) .site-header__cta.btn--primary {
  background: var(--paper);
  color: var(--ink);
}
body:has(.home-hero--video) .site-header:not(.is-scrolled) .site-header__cta.btn--primary:hover {
  background: var(--blue);
  color: var(--paper);
}
/* once the user has scrolled past the hero, header reverts to its normal styling */
body:has(.home-hero--video) .site-header.is-scrolled {
  background: rgba(251, 250, 247, 0.92);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
}

@media (max-width: 760px) {
  .home-hero--video { min-height: 92vh; }
  .home-hero__headline { font-size: clamp(2rem, 8vw, 2.6rem); }
  .home-hero__footer-inner {
    grid-template-columns: 1fr;
    text-align: left;
    gap: 12px;
  }
  .home-hero__meta-item--center { justify-self: start; text-align: left; }
  .home-hero__scroll { justify-self: start; }
}

/* Live ecosystem panel */
.eco-panel {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  box-shadow: var(--shadow-md);
}
.eco-panel__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.eco-panel__head .label {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.eco-panel__head .live {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--success);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.eco-panel__head .live::before {
  content: ""; width: 6px; height: 6px; border-radius: 999px;
  background: var(--success); animation: pulse 1800ms var(--ease-out) infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}
.eco-panel__row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px dashed var(--line);
}
.eco-panel__row:last-of-type { border-bottom: none; padding-bottom: 0; }
.eco-panel__row .num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--ink-subtle);
  width: 32px;
}
.eco-panel__row .label {
  font-size: 0.9375rem;
  color: var(--ink);
  font-weight: 500;
}
.eco-panel__row .label small {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 400;
  color: var(--ink-muted);
  letter-spacing: 0.04em;
  margin-top: 2px;
  text-transform: uppercase;
}
.eco-panel__row .status {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--blue-wash);
  color: var(--blue-deep);
}
.eco-panel__row .status--live { background: rgba(34, 81, 255, 0.10); color: var(--blue-deep); }
.eco-panel__row .status--signed { background: var(--paper-sunken); color: var(--ink); }
.eco-panel__row .status--mandate { background: var(--sand); color: var(--ink); }
.eco-panel__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

@media (max-width: 960px) {
  .eco-panel { order: -1; }
  .hero-photo { order: -1; }
}

/* ---------- Hero photo placeholder ---------- */
.hero-photo {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background:
    repeating-linear-gradient(
      135deg,
      var(--paper-sunken) 0,
      var(--paper-sunken) 14px,
      var(--sand) 14px,
      var(--sand) 28px
    );
  border: 1px solid var(--line);
  display: flex;
  align-items: flex-end;
  padding: 24px;
}
.hero-photo--filled {
  background: var(--ink);
  padding: 0;
}
.hero-photo--filled img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-photo::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px dashed rgba(10,10,15,0.18);
  border-radius: 14px;
  pointer-events: none;
}
.hero-photo--filled::after { display: none; }
.hero-photo__caption {
  position: relative;
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  max-width: 320px;
  z-index: 1;
}
.hero-photo__caption .label {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-subtle);
  display: block;
  margin-bottom: 6px;
}
.hero-photo__caption .desc {
  font-size: 0.875rem;
  line-height: 1.4;
  color: var(--ink);
  font-weight: 500;
}
.hero-photo__tag {
  position: absolute;
  top: 24px;
  left: 24px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: var(--radius-pill);
  z-index: 1;
}

/* ---------- Eco activity (full-width section) ---------- */
.eco-section {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
.eco-section .eco-panel { width: 100%; }
@media (max-width: 960px) {
  .eco-section { grid-template-columns: 1fr; }
}

/* ---------- People band (paired image placeholders) ---------- */
.section--people { padding-bottom: calc(var(--section-y) + 56px); }
.people-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.people-band__cell {
  position: relative;
  margin: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 5 / 6;
  background-color: var(--paper-sunken);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  padding: 16px;
}
.people-band__cell--wide { aspect-ratio: 16 / 11; }
.people-band__cell--dubai   { background-image: url("../img/people-dubai.jpg"); background-position: 75% center; }
.people-band__cell--riyadh  { background-image: url("../img/people-riyadh.jpg"); }
.people-band__cell--london  { background-image: url("../img/people-london.jpg"); }
.people-band__cell::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,10,15,0) 55%, rgba(10,10,15,0.45) 100%);
  pointer-events: none;
}
.people-band__cell .pcap {
  position: relative;
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  z-index: 1;
}
@media (max-width: 960px) {
  .people-band { grid-template-columns: 1fr; }
  .people-band__cell { min-height: 0; aspect-ratio: 16 / 10; }
}

/* Inline partner strip when nested inside another section */
.partner-strip--inline {
  margin-top: 64px;
  border-top: 0;
  border-bottom: 0;
  padding-top: 0;
  padding-bottom: 0;
}

/* ---------- Persona selector ---------- */
.personas {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.persona {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-height: 380px;
  position: relative;
  transition: border-color var(--dur-base) var(--ease-out),
              transform var(--dur-base) var(--ease-out);
}
.persona:hover { border-color: var(--ink); transform: translateY(-2px); }
.persona__num {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--ink-subtle);
  letter-spacing: 0.08em;
}
.persona__title {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 1.875rem;
  letter-spacing: -0.022em;
  line-height: 1.1;
}
.persona__pitch {
  color: var(--ink-muted);
  font-size: 1rem;
  line-height: 1.5;
  max-width: 38ch;
}
.persona__tagline {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--ink);
  letter-spacing: 0.02em;
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.persona__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ink);
  font-weight: 500;
  font-size: 0.9375rem;
  margin-top: 4px;
  transition: color var(--dur-base) var(--ease-out);
}
.persona:hover .persona__cta { color: var(--blue); }
.persona:hover .persona__cta .arrow { transform: translateX(3px); }
.persona__cta .arrow { transition: transform var(--dur-base) var(--ease-out); }

@media (max-width: 960px) {
  .personas { grid-template-columns: 1fr; }
  .persona { min-height: 0; }
}

/* ---------- What we do (4 cards) ---------- */
.offer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.offer {
  background: var(--paper);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-decoration: none;
  color: inherit;
  position: relative;
  transition: background var(--dur-base) var(--ease-out);
  min-height: 280px;
}
.offer:hover { background: var(--paper-raised); }
.offer__icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--blue-wash);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  margin-bottom: 8px;
}
.offer__icon svg { width: 22px; height: 22px; }
.offer__title {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 1.125rem;
  letter-spacing: -0.015em;
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.offer__title .beta {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  border: 1px solid var(--blue);
  padding: 2px 6px;
  border-radius: var(--radius-pill);
}
.offer__copy {
  color: var(--ink-muted);
  font-size: 0.9375rem;
  line-height: 1.5;
  max-width: 32ch;
}
.offer__cta {
  margin-top: auto;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.offer:hover .offer__cta { color: var(--blue); }

@media (max-width: 960px) {
  .offer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .offer-grid { grid-template-columns: 1fr; }
}

/* ---------- Insur-Studio differentiation (sister AI platform) ----------
   The 4th "what we do" card is a different kind of thing — an AI product,
   not a programme. Mark it visually: dark ink fill, an iridescent sheen
   that hints at "AI", a kicker label, and a glowing flask icon. */
.offer.offer--studio {
  background: var(--ink);
  color: var(--paper);
  /* Subtle iridescent sheen — barely-there blue→clay gradient on top */
  background-image:
    radial-gradient(circle at 85% 0%, rgba(34, 81, 255, 0.22), transparent 55%),
    radial-gradient(circle at 0% 100%, rgba(91, 123, 255, 0.16), transparent 50%);
  border: 1px solid var(--ink);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.offer.offer--studio:hover {
  background-color: var(--ink);
}
.offer.offer--studio .offer__title { color: var(--paper); }
.offer.offer--studio .offer__copy { color: rgba(251, 250, 247, 0.72); }
.offer.offer--studio .offer__cta { color: rgba(251, 250, 247, 0.78); }
.offer.offer--studio:hover .offer__cta { color: var(--paper); }

/* Kicker — small mono label above the title */
.offer__kicker {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 8px;
  display: inline-block;
}
.offer.offer--studio .offer__kicker {
  color: rgba(120, 150, 255, 0.95);
}

/* Glowing flask icon — replace the soft-blue tile look with a dark
   recessed tile and a luminous blue stroke */
.offer.offer--studio .offer__icon {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #7E9BFF;
  border-radius: var(--radius-md);
}
.offer.offer--studio .offer__icon svg {
  filter: drop-shadow(0 0 6px rgba(34, 81, 255, 0.55));
}

/* Beta badge: invert for dark card */
.offer.offer--studio .offer__title .beta {
  background: rgba(126, 155, 255, 0.16);
  border: 1px solid rgba(126, 155, 255, 0.4);
  color: #BCCBFF;
}

/* Diagonal sheen sweep on hover (matches the persona/route/tier vocabulary) */
.offer.offer--studio::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    100deg,
    transparent 0%,
    rgba(126, 155, 255, 0.12) 50%,
    transparent 100%
  );
  transform: skewX(-12deg);
  pointer-events: none;
  transition: left 800ms var(--ease-out);
  z-index: 0;
}
.offer.offer--studio:hover::after { left: 140%; }
.offer.offer--studio > * { position: relative; z-index: 1; }

/* Soft pulsing accent dot in top-right — the only ambient motion;
   signals "live AI platform" not just a static page */
.offer.offer--studio::before {
  content: "";
  position: absolute;
  top: 22px;
  right: 22px;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #7E9BFF;
  box-shadow: 0 0 0 0 rgba(126, 155, 255, 0.7);
  animation: studio-pulse 2.6s ease-out infinite;
  z-index: 2;
}
@keyframes studio-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(126, 155, 255, 0.55); }
  70%  { box-shadow: 0 0 0 10px rgba(126, 155, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(126, 155, 255, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .offer.offer--studio::before { animation: none; }
}

/* ============================================================
   What We Do — DARK SECTION TREATMENT
   The "what we do" section is the operational heart of the page.
   Going ink-dark breaks the paper rhythm intentionally so the four
   programmes read as the substantive offer rather than blending
   into the surrounding marketing scaffold.
============================================================ */
.section--whatwedo {
  background: var(--ink);
  color: var(--paper);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  /* a touch more vertical room than a default section, since this
     is the punctuation moment of the page */
  padding-top: clamp(96px, 11vw, 152px);
  padding-bottom: clamp(96px, 11vw, 152px);
}

/* Top + bottom hairlines that pin the dark band to the page rhythm
   without needing a heavy border. */
.section--whatwedo::before,
.section--whatwedo::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.08) 18%,
    rgba(255, 255, 255, 0.14) 50%,
    rgba(255, 255, 255, 0.08) 82%,
    transparent 100%);
  z-index: 2;
}
.section--whatwedo::before { top: 0; }
.section--whatwedo::after  { bottom: 0; }

/* Atmosphere — two faint blue/gold glows + a faint grid.
   Kept very low contrast so it doesn't compete with the cards. */
.whatwedo__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.whatwedo__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
}
.whatwedo__glow--a {
  top: -180px;
  left: -120px;
  width: 540px;
  height: 540px;
  background: radial-gradient(circle, rgba(34, 81, 255, 0.32) 0%, transparent 65%);
}
.whatwedo__glow--b {
  bottom: -220px;
  right: -160px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(91, 123, 255, 0.20) 0%, transparent 65%);
}
.whatwedo__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
  opacity: 0.7;
}

.whatwedo__container {
  position: relative;
  z-index: 1;
}

/* Section head: two-column — title left, supporting copy right.
   The supporting copy is new editorial framing that earns the dark
   treatment by saying what the four cards are. */
.whatwedo__head {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: end;
  margin-bottom: clamp(48px, 6vw, 72px);
  text-align: left;
}
.whatwedo__head .eyebrow {
  color: var(--blue-soft); /* lighter blue — readable on the dark band */
}
.whatwedo__title {
  color: var(--paper);
  margin-top: 20px;
}
.whatwedo__title-accent {
  font-style: italic;
  font-family: var(--font-serif);
  font-weight: 400;
  color: var(--blue-soft);
  letter-spacing: -0.01em;
}
.whatwedo__lede {
  font-family: var(--font-serif);
  font-size: 1.0625rem;
  line-height: 1.55;
  color: rgba(251, 250, 247, 0.62);
  max-width: 42ch;
  margin: 0;
  padding-bottom: 8px; /* visually align with title baseline */
}

/* ----- Card grid on dark -----
   Switch from the seamed-grid style (gap:1px, light divider) to a
   set of distinct cards with explicit gutters. Feels more spacious
   and gives each card its own "object" weight on the dark band. */
.offer-grid--on-dark {
  background: transparent;
  border: 0;
  border-radius: 0;
  gap: 16px;
  overflow: visible;
}

.offer.offer--on-dark {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-lg);
  padding: 32px 28px 28px;
  gap: 14px;
  min-height: 320px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition:
    background var(--dur-base) var(--ease-out),
    border-color var(--dur-base) var(--ease-out),
    transform var(--dur-base) var(--ease-out);
}
.offer.offer--on-dark:hover {
  background: rgba(255, 255, 255, 0.055);
  border-color: rgba(255, 255, 255, 0.22);
  transform: translateY(-3px);
}

/* Numbered overline — editorial wayfinding, sits above the icon */
.offer__num {
  position: absolute;
  top: 22px;
  right: 24px;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  color: rgba(251, 250, 247, 0.38);
  font-weight: 500;
}

.offer.offer--on-dark .offer__icon {
  background: rgba(34, 81, 255, 0.12);
  border: 1px solid rgba(126, 155, 255, 0.28);
  color: #9FB4FF;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
}
.offer.offer--on-dark:hover .offer__icon {
  background: rgba(34, 81, 255, 0.2);
  border-color: rgba(126, 155, 255, 0.55);
}

.offer.offer--on-dark .offer__title {
  color: var(--paper);
  font-size: 1.1875rem;
  letter-spacing: -0.018em;
}
.offer.offer--on-dark .offer__copy {
  color: rgba(251, 250, 247, 0.62);
}
.offer.offer--on-dark .offer__cta {
  color: rgba(251, 250, 247, 0.55);
  letter-spacing: 0.1em;
}
.offer.offer--on-dark:hover .offer__cta {
  color: #9FB4FF;
}
.offer.offer--on-dark:hover .offer__cta .arrow {
  transform: translateX(4px);
  transition: transform var(--dur-base) var(--ease-out);
}

/* InsureStudio override in this context: the existing offer--studio
   rules already give it a stronger blue/gold glow, but on dark we
   need to bump its differentiation back UP — make it brighter and
   give it a defined blue accent border so it still reads as "the
   one different thing" among four siblings. */
.offer.offer--on-dark.offer--studio {
  background: linear-gradient(160deg, #11132A 0%, #0A0A0F 65%);
  background-image:
    linear-gradient(160deg, #11132A 0%, #0A0A0F 65%),
    radial-gradient(circle at 85% 0%, rgba(34, 81, 255, 0.22), transparent 55%),
    radial-gradient(circle at 0% 100%, rgba(91, 123, 255, 0.16), transparent 50%);
  background-blend-mode: normal, screen, screen;
  border-color: rgba(126, 155, 255, 0.32);
}
.offer.offer--on-dark.offer--studio:hover {
  background: linear-gradient(160deg, #14163A 0%, #0A0A0F 65%);
  border-color: rgba(126, 155, 255, 0.55);
}
.offer.offer--on-dark.offer--studio .offer__num {
  color: rgba(159, 180, 255, 0.55);
}
/* The studio card keeps its existing pulse dot — but move it down
   so it doesn't collide with the new offer__num overline. */
.offer.offer--on-dark.offer--studio::before {
  top: auto;
  bottom: 26px;
  right: 26px;
}

/* ----- Responsive ----- */
@media (max-width: 1100px) {
  .whatwedo__head {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 24px;
  }
  .whatwedo__lede { padding-bottom: 0; }
}
@media (max-width: 960px) {
  .offer-grid--on-dark { grid-template-columns: 1fr 1fr; }
  .offer.offer--on-dark { min-height: 0; }
}
@media (max-width: 560px) {
  .offer-grid--on-dark { grid-template-columns: 1fr; }
  .offer__num { top: 20px; right: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .offer.offer--on-dark:hover { transform: none; }
}

/* ---------- Stats / Numbers ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat {
  padding: 40px 24px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
}
.stat:last-child { border-right: none; }
.stat__num {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: clamp(2rem, 3.6vw, 3rem);
  line-height: 1;
  color: var(--ink);
  letter-spacing: -0.02em;
  position: relative;
  display: inline-block;
  white-space: nowrap;
}
.stat__num::after {
  content: "";
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gold);
  margin-top: 14px;
}
.stat__label {
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.35;
}
.stat__sub {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 400;
  color: var(--ink-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-top: -4px;
}
@media (max-width: 1100px) {
  .stats { grid-template-columns: repeat(3, 1fr); }
  .stat { border-bottom: 1px solid var(--line); }
  .stat:nth-child(3) { border-right: none; }
  .stat:nth-child(n+4) { border-bottom: none; }
}
@media (max-width: 640px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .stat:nth-child(2n) { border-right: none; }
  .stat:nth-child(5) { border-bottom: none; grid-column: 1 / -1; }
}

/* ---------- Beaker decoration ---------- */
.bg-beaker {
  position: absolute;
  pointer-events: none;
  opacity: 0.06;
  color: var(--ink);
}

/* ---------- Section head deck (intro paragraph under h2) ---------- */
.section-head__deck {
  margin-top: 20px;
  max-width: 64ch;
  color: var(--ink-muted);
  text-wrap: pretty;
}

/* ---------- Case cards (Social proof) ---------- */
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.case-card {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
  text-decoration: none;
  color: inherit;
  transition: border-color var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out);
}
.case-card:hover { border-color: var(--ink); transform: translateY(-2px); }
.case-card__cta {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue);
}
.case-card__cta .arrow {
  display: inline-block;
  transition: transform var(--dur-base) var(--ease-out);
}
.case-card:hover .case-card__cta .arrow { transform: translateX(4px); }

/* ---------- Photo variant: dark image background, white text ---------- */
.case-card--photo {
  background-color: #0b0d10;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-color: rgba(255,255,255,0.10);
  color: #f5f3ee;
  overflow: hidden;
  isolation: isolate;
}
.case-card--photo:hover { border-color: rgba(255,255,255,0.32); }
.case-card--photo .case-card__head { border-bottom-color: rgba(255,255,255,0.16); }
.case-card--photo .case-card__tag { color: #a8c8ff; }
.case-card--photo .case-card__locale {
  color: rgba(255,255,255,0.78);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.18);
}
.case-card--photo .case-card__body { color: rgba(255,255,255,0.94); }
.case-card--photo .case-card__metric-num { color: #ffffff; }
.case-card--photo .case-card__metric-label { color: rgba(255,255,255,0.72); }
.case-card--photo .case-card__metric-label strong { color: #ffffff; font-weight: 500; }
.case-card--photo .case-card__cta { color: #a8c8ff; }
.case-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.case-card__tag {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue);
}
.case-card__locale {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-subtle);
  background: var(--paper-sunken);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}
.case-card__body {
  font-family: var(--font-serif);
  font-size: 1.0625rem;
  line-height: 1.5;
  color: var(--ink);
  text-wrap: pretty;
  flex: 1;
}
.case-card__metric {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding-top: 20px;
  border-top: 1px dashed var(--line);
  margin-top: auto;
}
.case-card__metric-num {
  font-family: var(--font-mono);
  font-size: 2rem;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1;
  flex-shrink: 0;
}
.case-card__metric-label {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-muted);
  line-height: 1.5;
}
.case-card__metric-label strong {
  color: var(--ink);
  font-weight: 500;
}
@media (max-width: 960px) {
  .case-grid { grid-template-columns: 1fr; }
}

/* ---------- Photo gallery carousel ---------- */
.gallery {
  position: relative;
}
.gallery__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(280px, 32vw, 460px);
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 8px;
  scroll-padding-left: var(--gutter);
}
.gallery__track::-webkit-scrollbar { display: none; }
.gallery__cell {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-color: var(--paper-sunken);
  background-size: cover;
  background-position: center;
  border: 1px solid var(--line);
  display: flex;
  align-items: flex-end;
  padding: 16px;
  scroll-snap-align: start;
}
.gallery__cell--placeholder {
  background:
    repeating-linear-gradient(
      135deg,
      var(--paper-sunken) 0,
      var(--paper-sunken) 14px,
      var(--sand) 14px,
      var(--sand) 28px
    );
}
.gallery__cell--placeholder::before {
  content: "Placeholder";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(10,10,15,0.35);
}
.gallery__cell .pcap {
  position: relative;
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 8px 14px;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  z-index: 1;
}
.gallery__nav {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 28px;
}
.gallery__btn {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 1.125rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background var(--dur-base) var(--ease-out), color var(--dur-base) var(--ease-out);
}
.gallery__btn:hover { background: var(--ink); color: var(--paper); }

/* ---------- Leadership ---------- */
.leadership {
  display: grid;
  grid-template-columns: 1.1fr 1.5fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
.leadership__copy h2 { margin-bottom: 24px; }
.leadership__copy p {
  font-family: var(--font-serif);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink-muted);
  margin-bottom: 16px;
  text-wrap: pretty;
}
.leadership__copy ul {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.leadership__copy li {
  font-family: var(--font-serif);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--ink);
  padding-left: 20px;
  position: relative;
}
.leadership__copy li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--blue);
  font-family: var(--font-mono);
}
.leadership__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.leader {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.leader__portrait {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-md);
  background:
    repeating-linear-gradient(
      135deg,
      var(--paper-sunken) 0,
      var(--paper-sunken) 12px,
      var(--sand) 12px,
      var(--sand) 24px
    );
  border: 1px dashed rgba(10,10,15,0.18);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.leader__portrait::before {
  content: "Portrait";
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(10,10,15,0.32);
}
.leader__name {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 1.0625rem;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.leader__role {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-top: -8px;
}
@media (max-width: 1100px) {
  .leadership { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .leadership__cards { grid-template-columns: 1fr; }
  .leader { flex-direction: row; align-items: center; }
  .leader__portrait { width: 96px; flex-shrink: 0; aspect-ratio: 1; }
}

/* ============================================================
   What We Do — LIGHT EDITORIAL TREATMENT (replaces the dark v1)
   The "what we do" section is the operational heart of the page,
   but going full ink-dark killed the messaging — the four
   programme cards lost their individual weight against the black
   ground. This version trades darkness for editorial gravity:
   a paper-raised band that pops between the sunken section
   before and paper section after, anchored by a thick blue top
   rule, a "PROGRAMMES · 04 IN MARKET" mono marker, oversized
   typography, and a divided 4-card grid that drops a blue
   underline on hover. The InsureStudio card keeps its dark
   distinctive treatment (.offer--studio) as the lone AI-product
   outlier — "one of these is different" without darkening the
   whole band.
============================================================ */
.section--whatwedo-light {
  background: var(--paper-raised);
  position: relative;
  overflow: hidden;
  padding-top: clamp(80px, 11vw, 144px);
  padding-bottom: clamp(80px, 11vw, 144px);
}
/* Thick blue top rule + thin bottom hairline — anchors the band
   as a separate chapter without using darkness. */
.section--whatwedo-light::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--blue);
  z-index: 2;
}
.section--whatwedo-light::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--line);
  z-index: 2;
}
/* Atmosphere — a soft blue-wash bloom in the top-right keeps it
   from feeling flat without going noisy. */
.whatwedo-light__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.whatwedo-light__bloom {
  position: absolute;
  top: -260px;
  right: -200px;
  width: 760px;
  height: 760px;
  background: radial-gradient(circle, rgba(34, 81, 255, 0.08) 0%, transparent 65%);
  border-radius: 50%;
}
.whatwedo-light__container {
  position: relative;
  z-index: 1;
}

/* Manifest line: a "PROGRAMMES · 04 IN MARKET" mono lockup with
   a hairline rule between, sits above the title and gives the
   section its "operational chapter" voice. */
.whatwedo-light__manifest {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 36px;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
}
.whatwedo-light__manifest-rule {
  flex: 1;
  height: 1px;
  background: var(--line);
}
.whatwedo-light__manifest-count {
  color: var(--ink-subtle);
}

.whatwedo-light__head {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 64px;
  align-items: end;
  margin-bottom: 56px;
  text-align: left;
}
.whatwedo-light__title {
  color: var(--ink);
  margin: 12px 0 0;
}
.whatwedo-light__title-accent {
  font-style: italic;
  font-family: var(--font-serif);
  font-weight: 400;
  color: var(--blue);
  letter-spacing: -0.01em;
}
.whatwedo-light__lede {
  font-family: var(--font-serif);
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--ink-muted);
  max-width: 44ch;
  margin: 0;
  padding-bottom: 6px; /* aligns optical baseline with title */
}

/* Card grid — borrows the divided-grid feel from the original
   pre-dark .offer-grid but lifts it with a soft elevation shadow
   so the band reads as a substantial "object" on the page. */
.offer-grid--showcase {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow:
    0 1px 0 rgba(10, 10, 15, 0.02),
    0 30px 60px -40px rgba(10, 10, 15, 0.18);
}
.offer-grid--showcase .offer {
  background: var(--paper-raised);
  padding: 36px 30px 30px;
  min-height: 320px;
  position: relative;
  overflow: hidden;
  transition:
    background var(--dur-base) var(--ease-out);
}
.offer-grid--showcase .offer:hover {
  background: var(--paper);
}
.offer-grid--showcase .offer .offer__num {
  position: absolute;
  top: 28px;
  right: 28px;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  color: var(--ink-subtle);
  font-weight: 500;
}
.offer-grid--showcase .offer:hover .offer__cta { color: var(--blue); }
.offer-grid--showcase .offer:hover .offer__cta .arrow {
  transform: translateX(4px);
  transition: transform var(--dur-base) var(--ease-out);
}
/* Card-level blue underline that draws in from the left on hover —
   the only motion cue, ties to the section's blue top rule. */
.offer-grid--showcase .offer::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 360ms var(--ease-out);
  z-index: 3;
}
.offer-grid--showcase .offer:hover::after { transform: scaleX(1); }

/* The InsureStudio card uses the existing .offer--studio dark
   treatment. Specificity has to beat the new
   `.offer-grid--showcase .offer { background: var(--paper-raised) }`
   rule above (which is also 0,2,0 and appears later), so we
   match it with a 0,3,0 selector here. */
.offer-grid--showcase .offer.offer--studio {
  background-color: var(--ink);
  background-image:
    radial-gradient(circle at 85% 0%, rgba(34, 81, 255, 0.22), transparent 55%),
    radial-gradient(circle at 0% 100%, rgba(91, 123, 255, 0.16), transparent 50%);
  border: 1px solid var(--ink);
}
.offer-grid--showcase .offer.offer--studio:hover {
  background-color: var(--ink);
}
.offer-grid--showcase .offer.offer--studio .offer__title { color: var(--paper); }
.offer-grid--showcase .offer.offer--studio .offer__copy { color: rgba(251, 250, 247, 0.72); }
.offer-grid--showcase .offer.offer--studio .offer__cta { color: rgba(251, 250, 247, 0.78); }
.offer-grid--showcase .offer.offer--studio:hover .offer__cta { color: var(--paper); }
/* Skip the light-card blue underline on the dark studio card —
   the .offer--studio rules already supply their own ::after
   sheen sweep, and a blue line at the bottom would collide. */
.offer-grid--showcase .offer.offer--studio::after {
  height: 100%;
  bottom: 0;
  left: -120%;
  width: 60%;
  background: linear-gradient(
    100deg,
    transparent 0%,
    rgba(126, 155, 255, 0.12) 50%,
    transparent 100%
  );
  transform: skewX(-12deg);
  transition: left 800ms var(--ease-out);
  z-index: 0;
}
.offer-grid--showcase .offer.offer--studio:hover::after {
  transform: skewX(-12deg);
  left: 140%;
}
/* Numerals on the dark studio card need a lighter tone */
.offer-grid--showcase .offer.offer--studio .offer__num {
  color: rgba(159, 180, 255, 0.6);
}
/* Tuck the pulse dot below the offer__num overline, same as
   the dark-version rule did. */
.offer-grid--showcase .offer.offer--studio::before {
  top: auto;
  bottom: 26px;
  right: 22px;
}

/* ----- Responsive ----- */
@media (max-width: 1100px) {
  .whatwedo-light__head {
    grid-template-columns: 1fr;
    gap: 28px;
    align-items: start;
  }
  .whatwedo-light__lede { padding-bottom: 0; }
}
@media (max-width: 960px) {
  .offer-grid--showcase { grid-template-columns: 1fr 1fr; }
  .offer-grid--showcase .offer { min-height: 0; }
}
@media (max-width: 560px) {
  .offer-grid--showcase { grid-template-columns: 1fr; }
  .whatwedo-light__manifest { margin-bottom: 24px; }
  .offer-grid--showcase .offer .offer__num { top: 22px; right: 22px; }
}
