/* ======================================================================================================
   Inner pages (body.ds-inner: Portfolio, About, Curated): the live site's palette and feel.
   White and #f9fafb sections, near-black (#0a0a0a) for the dark sections, cards and buttons, and one blue
   (#3f75f5 for highlight words and big numbers, #2d60e2 where small text needs contrast on white).
   The landing page keeps its blue field and glass cards; these pages do not use navy.
   ====================================================================================================== */
body.ds-inner {
  --in-ink: #0a0a0a;
  --in-blue: #3f75f5;
  --in-blue-text: #2d60e2;
  --in-line: #e4e4e7;
}

/* ---------- Light hero: white, with a soft blue glow on the right (like the live site's hero) */
.ds-band.ds-band--light {
  background: #fff;
  color: var(--in-ink, #0a0a0a);
  padding: calc(var(--site-navbar-height, 78px) + 72px) 0 88px;
}
.ds-band--light::before {
  opacity: 1;
  mix-blend-mode: normal;
}
.ds-band--light .ds-title { color: var(--in-ink, #0a0a0a); text-shadow: none; }
.ds-band--light .ds-title .ds-hl { color: #3f75f5; }
.ds-band--light .ds-eyebrow { color: #2d60e2; }
.ds-band--light .ds-lede { color: #3f3f46; }
.ds-band--light a.ds-btn.ds-btn--solid { background: #0a0a0a; border-color: #0a0a0a; color: #fff; }
.ds-band--light a.ds-btn.ds-btn--solid:hover { background: #2d60e2; border-color: #2d60e2; }
.ds-band--light a.ds-btn.ds-btn--ghost { background: transparent; border-color: #d4d4d8; color: #0a0a0a; }
.ds-band--light a.ds-btn.ds-btn--ghost:hover { background: #f4f4f5; border-color: #a1a1aa; }


/* ---------- Shared CTA card: near-black with a soft blue glow */
body.ds-inner.portfolio-page.ds-page .cta-card {
  background: radial-gradient(80% 120% at 50% 0%, rgba(63, 117, 245, 0.5), rgba(63, 117, 245, 0) 65%), #0a0a0a;
}

/* ---------- About: the impact section is near-black, the numbers card a plain hairline panel */
body.ds-inner.about-page.ds-page.portfolio-page .about-impact { background: #0a0a0a; }
body.ds-inner.about-page.ds-page.portfolio-page .about-impact__stats {
  border: 1px solid rgba(255, 255, 255, 0.12);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  box-shadow: none;
}
body.ds-inner.about-page.ds-page.portfolio-page .about-impact__stat-number { color: #3f75f5; }
body.ds-inner.about-page.ds-page.portfolio-page .about-impact__stat-label { color: #d4d4d8; }
body.ds-inner.about-page.ds-page.portfolio-page .about-impact__stat-sub { color: #a1a1aa; }

/* ---------- Curated */
body.ds-inner.curated-page.ds-page {
  --cur-purple: #2d60e2;
  --cur-violet: #3f75f5;
  --cur-ink: #0a0a0a;
  --cur-lilac: #f4f4f5;
}
body.ds-inner.curated-page.ds-page .cur-lightwrap { background: #fff; }
body.ds-inner.curated-page.ds-page .cur-tracks { background: #fff; padding: 56px 0 96px; }
body.ds-inner.curated-page.ds-page .cur-app { background: #f9fafb; }
body.ds-inner.curated-page.ds-page .cur-live { background: #fff; color: #0a0a0a; }
body.ds-inner.curated-page.ds-page .cur-chains { background: #f9fafb; }

/* Track cards: a white one and a near-black one */
body.ds-inner.curated-page.ds-page .cur-track--app {
  background: #fff;
  border: 1px solid var(--in-line);
  color: #0a0a0a;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  box-shadow: 0 1px 2px rgba(10, 10, 10, 0.04);
}
body.ds-inner.curated-page.ds-page .cur-track--app .cur-track__label { color: #2d60e2; }
body.ds-inner.curated-page.ds-page .cur-track--app .cur-track__title { color: #0a0a0a; }
body.ds-inner.curated-page.ds-page .cur-track--app .cur-track__text { color: #52525b; }
body.ds-inner.curated-page.ds-page .cur-track--app .cur-track__more { color: #0a0a0a; }
body.ds-inner.curated-page.ds-page .cur-track--growth {
  border: 1px solid rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  box-shadow: none;
}
body.ds-inner.curated-page.ds-page .cur-track:hover { box-shadow: 0 24px 48px -24px rgba(10, 10, 10, 0.28); }

/* App card: near-black with a soft blue glow, white copy */
body.ds-inner.curated-page.ds-page .cur-app__card {
  border: 1px solid rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  box-shadow: 0 30px 70px -36px rgba(10, 10, 10, 0.5);
}
body.ds-inner.curated-page.ds-page .cur-app__card .cur-btn--primary { background: #fff; border-color: #fff; color: #0a0a0a; }
body.ds-inner.curated-page.ds-page .cur-app__card .cur-btn--primary:hover { background: #e4e4e7; border-color: #e4e4e7; }

/* "What runs on CURATED": white cards on white, hairline borders */
body.ds-inner.curated-page.ds-page .cur-live .section-title { color: #0a0a0a; }
body.ds-inner.curated-page.ds-page .cur-live__sub { color: #52525b; }
body.ds-inner.curated-page.ds-page .cur-live__card {
  background: #f9fafb;
  border: 1px solid var(--in-line);
  color: #0a0a0a;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  box-shadow: none;
}
body.ds-inner.curated-page.ds-page .cur-live__kind { color: #2d60e2; }
body.ds-inner.curated-page.ds-page .cur-live__title { color: #0a0a0a; }
body.ds-inner.curated-page.ds-page .cur-live__rows li { color: #27272a; border-top-color: var(--in-line); }
body.ds-inner.curated-page.ds-page .cur-live__rows em { color: #2d60e2; }
body.ds-inner.curated-page.ds-page .cur-live__text { color: #52525b; }
body.ds-inner.curated-page.ds-page .cur-live__link { color: #0a0a0a; }
body.ds-inner.curated-page.ds-page .cur-live__curators { border-top-color: var(--in-line); }
body.ds-inner.curated-page.ds-page .cur-live__curators-label { color: #52525b; }
body.ds-inner.curated-page.ds-page .cur-live__chips li { background: #fff; border-color: var(--in-line); color: #0a0a0a; }

/* Growth section and CTA: near-black */
body.ds-inner.curated-page.ds-page .cur-cta { background: radial-gradient(90% 120% at 50% 0%, rgba(63, 117, 245, 0.5), rgba(63, 117, 245, 0) 65%), #0a0a0a; }
body.ds-inner.curated-page.ds-page .cur-btn--primary { background: #0a0a0a; border-color: #0a0a0a; }
body.ds-inner.curated-page.ds-page .cur-btn--primary:hover { background: #2d60e2; border-color: #2d60e2; }
body.ds-inner.curated-page.ds-page .cur-hero__logo { height: clamp(56px, 5vw, 76px); }
body.ds-inner.curated-page.ds-page .ds-band.ds-band { box-shadow: none; }

/* About hero on the light band: dark copy, blue contour rings, original blue mark (no glow, no ASCII) */
body.ds-inner.about-page.portfolio-page .about-hero.ds-band.ds-band--light { background: #fff; padding: calc(var(--site-navbar-height, 78px) + 72px) 0 88px; }
body.ds-inner.about-page.portfolio-page .about-hero__title.ds-title { color: #0a0a0a; }
body.ds-inner.about-page.portfolio-page .about-hero__title.ds-title .ds-hl { color: #3f75f5; }
body.ds-inner.about-page.portfolio-page .about-hero__subtitle.ds-lede { color: #3f3f46; }
body.ds-inner.about-page.portfolio-page .about-hero__contours {
  mix-blend-mode: normal;
  background-image: repeating-radial-gradient(circle at 50% 50%, transparent 0, transparent 40px, rgba(63, 117, 245, 0.2) 41px, transparent 42px);
}

/* ---------- Cohesion with the landing page (small touches): film grain, and a faint ASCII glyph texture inside the
   hero glow, plus the same grain on the near-black sections. The ASCII texture is drawn by assets/ds.js. */
.ds-band.ds-band--light {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.1 0 0 0 .22 -.09'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
.ds-band--light::after {
  display: block;
  content: "";
  position: absolute;
  inset: 0;
  top: 0;
  left: 0;
  right: 0;
  height: auto;
  z-index: -1;
  pointer-events: none;
  background: #3f75f5;
  opacity: 0.32;
  -webkit-mask-size: 208px 208px, 100% 100%;
  mask-size: 208px 208px, 100% 100%;
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}

/* ---------- Grain on every near-black surface (one texture, same strength), with copy kept clean:
   the cards behind text are nearly opaque so the grain shows on the section, not through the words. */
body.ds-inner {
  --in-grain: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .42 -.18'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
.ds-band--light .container { position: relative; z-index: 1; }
body.ds-inner.about-page.ds-page.portfolio-page .about-impact { background-image: var(--in-grain); }

body.ds-inner.about-page.ds-page.portfolio-page .about-impact__stats { background: var(--in-grain), #111113; }
body.ds-inner.curated-page.ds-page .cur-track--growth {
  background: radial-gradient(120% 100% at 100% 0%, rgba(63, 117, 245, 0.18), rgba(63, 117, 245, 0) 60%), var(--in-grain), #0a0a0a;
}
body.ds-inner.curated-page.ds-page .cur-app__card {
  background: radial-gradient(90% 80% at 100% 0%, rgba(63, 117, 245, 0.3), rgba(63, 117, 245, 0) 60%), var(--in-grain), #0a0a0a;
}
body.ds-inner.curated-page.ds-page .cur-growth {
  background: radial-gradient(80% 60% at 90% 0%, rgba(63, 117, 245, 0.2), rgba(63, 117, 245, 0) 60%), var(--in-grain), #0a0a0a;
}

/* ---------- Curated: "Growth works best with consulting." Text block and diagram sit side by side, both centred. */
body.ds-inner.curated-page.ds-page .marketing-integrated { padding: 96px 0; }
body.ds-inner.curated-page.ds-page .marketing-integrated > .container {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  column-gap: 72px;
  align-items: center;
}
body.ds-inner.curated-page.ds-page .marketing-integrated__text { display: flex; flex-direction: column; gap: 20px; }
body.ds-inner.curated-page.ds-page .marketing-integrated__title {
  margin: 0;
  font-size: clamp(30px, 3.2vw, 44px);
  line-height: 1.06;
}
body.ds-inner.curated-page.ds-page .marketing-integrated__lead {
  font-family: var(--font-body);
  font-weight: 500;
  text-transform: none;
  font-size: clamp(18px, 1.7vw, 22px);
  line-height: 1.6;
  letter-spacing: 0;
  max-width: 34em;
  color: #3f3f46;
}
body.ds-inner.curated-page.ds-page .marketing-integrated__lead .il-line-reveal__w { color: #3f3f46; }
body.ds-inner.curated-page.ds-page .marketing-integrated__lead .marketing-integrated__accent,
body.ds-inner.curated-page.ds-page .marketing-integrated__lead .il-line-reveal__w.marketing-integrated__accent { color: #2d60e2; font-weight: 700; }
body.ds-inner.curated-page.ds-page .marketing-integrated__venn { max-width: 560px; margin: 0 auto; }
/* Three tints from the brand blues, so each circle reads as its own discipline; where they overlap the blues stack
   and darken, and the middle (all three) is the deepest. No centre mark: the sentence beside it says "one team". */
body.ds-inner.curated-page.ds-page .marketing-integrated__circle { stroke-width: 1.5; transition: fill 0.3s ease, stroke 0.3s ease, stroke-width 0.3s ease, opacity 0.3s ease, transform 0.9s cubic-bezier(0.22, 1, 0.36, 1); }
body.ds-inner.curated-page.ds-page .marketing-integrated__circle--research { fill: rgba(138, 171, 250, 0.32); stroke: rgba(63, 117, 245, 0.7); }
body.ds-inner.curated-page.ds-page .marketing-integrated__circle--advisory { fill: rgba(63, 117, 245, 0.2); stroke: rgba(45, 96, 226, 0.8); }
body.ds-inner.curated-page.ds-page .marketing-integrated__circle--comms { fill: rgba(31, 73, 192, 0.16); stroke: rgba(31, 73, 192, 0.8); }
body.ds-inner.curated-page.ds-page .marketing-integrated__venn-label {
  font-family: var(--ds-font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
}
@media (max-width: 480px) {
  body.ds-inner.curated-page.ds-page .marketing-integrated__venn-label { font-size: 11px; letter-spacing: 0.06em; }
}
/* Hover or focus a blue word (or its circle): that circle lights up, the others step back. */
body.ds-inner.curated-page.ds-page .marketing-integrated__lead .marketing-integrated__accent { text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 5px; text-decoration-thickness: 2px; transition: text-decoration-color 0.25s ease; cursor: default; }
body.ds-inner.curated-page.ds-page .marketing-integrated__lead .marketing-integrated__accent.is-linked { text-decoration-color: #2d60e2; }
body.ds-inner.curated-page.ds-page .marketing-integrated[data-focus] .marketing-integrated__circle { opacity: 0.45; }
body.ds-inner.curated-page.ds-page .marketing-integrated[data-focus="research"] .marketing-integrated__circle--research,
body.ds-inner.curated-page.ds-page .marketing-integrated[data-focus="advisory"] .marketing-integrated__circle--advisory,
body.ds-inner.curated-page.ds-page .marketing-integrated[data-focus="comms"] .marketing-integrated__circle--comms { opacity: 1; stroke-width: 2.5; }
body.ds-inner.curated-page.ds-page .marketing-integrated__circle { pointer-events: all; }
@media (max-width: 860px) {
  body.ds-inner.curated-page.ds-page .marketing-integrated > .container { grid-template-columns: minmax(0, 1fr); row-gap: 32px; }
  body.ds-inner.curated-page.ds-page .marketing-integrated__title { max-width: none; }
}

/* ---------- One vertical rhythm on the inner pages: content sections get 120px above and below on desktop
   (phones keep their own, smaller values). Hero 150px/88px, CTA 120px, footer from site-footer.css. */
@media (min-width: 901px) {
  
  
  
  body.ds-inner.curated-page.ds-page .cur-live { padding: 120px 0; }
  body.ds-inner.curated-page.ds-page .marketing-integrated { padding: 120px 0; }
  body.ds-inner.curated-page.ds-page .cur-tracks { padding: 80px 0 96px; }
  body.ds-inner.portfolio-page.ds-page .featured { padding: 64px 0 56px; }
  body.ds-inner.portfolio-page.ds-page .all-projects { padding: 64px 0 120px; }

  /* Curated app: the sticky step-through is only as tall as its card, so no blank band appears under it */
  body.ds-inner.curated-page.ds-page .cur-lightwrap .cur-app { padding-bottom: 96px; }
  body.ds-inner.curated-page.ds-page .cur-lightwrap .cur-app__track { height: 200vh; }
  body.ds-inner.curated-page.ds-page .cur-lightwrap .cur-app__sticky {
    align-items: flex-start;
    min-height: 0;
    padding: calc(var(--site-navbar-height, 78px) + 32px) 0 0;
  }
  body.ds-inner.curated-page.ds-page .cur-lightwrap .cur-app__card { min-height: 0; }
}

/* Reduced motion: curated.css makes the card static (no sticky step-through), so the scroll track must not keep its
   200vh height, or an empty band about a screen tall is left under the card. */
@media (min-width: 901px) and (prefers-reduced-motion: reduce) {
  body.ds-inner.curated-page.ds-page .cur-lightwrap .cur-app__track { height: auto; }
}

/* ---------- Hero motion (assets/hero-fx.js): the glow and its ASCII dots follow --gx / --gy, no blur filter needed */
.ds-band--light { --gx: 80%; --gy: 42%; }
.ds-band--light::before {
  filter: none;
  background-image:
    radial-gradient(15% 64% at var(--gx) var(--gy), rgba(63, 117, 245, 0.42), rgba(63, 117, 245, 0) 100%),
    radial-gradient(11% 52% at calc(var(--gx) + 11%) calc(var(--gy) + 14%), rgba(63, 117, 245, 0.26), rgba(63, 117, 245, 0) 100%),
    radial-gradient(36% 72% at calc(var(--gx) - 8%) 50%, rgba(63, 117, 245, 0.12), rgba(63, 117, 245, 0) 100%);
}
.ds-band--light::after {
  -webkit-mask-image: var(--ds-ascii, none), radial-gradient(34% 80% at var(--gx) var(--gy), #000 0%, rgba(0, 0, 0, 0.5) 45%, transparent 100%);
  mask-image: var(--ds-ascii, none), radial-gradient(34% 80% at var(--gx) var(--gy), #000 0%, rgba(0, 0, 0, 0.5) 45%, transparent 100%);
}
/* Phones: the glow is a soft pool behind the logo art, not a tall band against the right edge that runs through the copy. */
@media (max-width: 700px) {
  .ds-band--light::before {
    background-image: radial-gradient(75% 30% at 50% 74%, rgba(63, 117, 245, 0.3), rgba(63, 117, 245, 0) 100%);
  }
  .ds-band--light::after {
    opacity: 0.24;
    -webkit-mask-image: var(--ds-ascii, none), radial-gradient(70% 28% at 50% 74%, #000 0%, rgba(0, 0, 0, 0.45) 50%, transparent 100%);
    mask-image: var(--ds-ascii, none), radial-gradient(70% 28% at 50% 74%, #000 0%, rgba(0, 0, 0, 0.45) 50%, transparent 100%);
  }
}

/* Floating pieces on the right of the hero: real portfolio tiles (Portfolio), pills (AI), the deal artwork (Curated) */
.ds-hero-art {
  position: absolute;
  z-index: 1;
  top: calc(var(--site-navbar-height, 78px) + 40px);
  bottom: 56px;
  right: max(24px, calc((100vw - 1240px) / 2));
  width: min(460px, 38vw);
  pointer-events: none;
}
.ds-hero-layer { position: absolute; will-change: translate; pointer-events: auto; }
.ds-hero-shape__dark { fill: #2d60e2; fill-rule: evenodd; }
.ds-hero-shape__light { fill: #8aabfa; fill-rule: evenodd; }
@media (max-width: 1000px) { .ds-hero-art { display: none; } }

/* ======================================================================================================
   Three different heroes (About keeps its own): Portfolio = white with drifting logo columns, AI = near-black with a
   pointer-reactive node network, Curated = brand blue with the big morphing deal artwork.
   ====================================================================================================== */

.ds-band.ds-band--dark { background: #0a0a0a; }
.ds-band--dark .ds-title .ds-hl { color: #6b97ff; }

.ds-band--dark::before { opacity: 0.35; }
.ds-band--dark::after {
  display: block;
  height: auto;
  top: auto;
  bottom: 0;
  background: radial-gradient(60% 90% at 85% 110%, rgba(63, 117, 245, 0.4), rgba(63, 117, 245, 0) 70%);
  z-index: -1;
  height: 100%;
}

/* Curated: brand blue, white copy, large white artwork */
.ds-band.ds-band--blue {
  background:
    radial-gradient(60% 90% at 80% 35%, rgba(138, 171, 250, 0.55) 0%, rgba(138, 171, 250, 0) 70%),
    linear-gradient(135deg, #2d60e2 0%, #1f49c0 100%);
}
.ds-band--blue .ds-title .ds-hl { color: #fff; }
.ds-band--blue .ds-hero-shape__dark { fill: #fff; }
.ds-band--blue .ds-hero-shape__light { fill: rgba(255, 255, 255, 0.5); }

/* Portfolio: two-and-a-bit columns of real logo tiles drifting in opposite directions, fading at the top and bottom */
.ds-hero-art--cols {
  bottom: 0;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 20%, #000 80%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 20%, #000 80%, transparent 100%);
}
.ds-hero-layer--fill { inset: 0; }
.ds-hero-cols { position: absolute; inset: -8% 0; display: flex; justify-content: center; }
.ds-hero-col { display: flex; flex-direction: column; }
.ds-hero-col:nth-child(2) { margin-top: -70px; }
.ds-hero-col img { display: block; width: 100%; height: auto; border-radius: 12px; box-shadow: 0 14px 28px -18px rgba(10, 10, 10, 0.45); }
.ds-hero-col .ds-hero-logo { position: relative; display: block; flex: none; width: 100%; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 12px; box-shadow: 0 14px 28px -18px rgba(10, 10, 10, 0.45); }
.ds-hero-col .ds-hero-logo img { position: absolute; inset: 0; margin: auto; width: 100%; height: 100%; max-width: none; object-fit: cover; border-radius: 0; box-shadow: none; }
.ds-hero-art--cols { top: calc(var(--site-navbar-height, 78px) + 4px); }

/* ---------- Faint ASCII glyphs in the dark and blue heroes (the texture is drawn by assets/ds.js into --ds-ascii) */
.ds-hero-ascii {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: #fff;
  opacity: 0.13;
  -webkit-mask-image: var(--ds-ascii, none), radial-gradient(60% 100% at 82% 50%, #000 0%, rgba(0, 0, 0, 0.5) 50%, transparent 100%);
  mask-image: var(--ds-ascii, none), radial-gradient(60% 100% at 82% 50%, #000 0%, rgba(0, 0, 0, 0.5) 50%, transparent 100%);
  -webkit-mask-size: 208px 208px, 100% 100%;
  mask-size: 208px 208px, 100% 100%;
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}
.ds-band--blue .ds-hero-ascii { opacity: 0.18; }

/* ---------- Curated hero: a fan of deal cards (idea: 21st.dev "Image Fan" heroes). Each card is one deal structure;
   hover spreads the fan, the hovered card straightens and lifts. */
.ds-band--blue .ds-hero-art--fan { top: calc(var(--site-navbar-height, 78px) + 10px); bottom: 24px; }
.ds-fan { position: absolute; left: 50%; top: 52%; width: 0; height: 0; }
.ds-fan__card {
  --n: calc(var(--i) - 1.5);
  position: absolute;
  left: calc(var(--fw, 190px) / -2);
  top: calc(var(--fh, 250px) / -2);
  width: var(--fw, 190px);
  height: var(--fh, 250px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 18px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 30px 50px -24px rgba(5, 14, 41, 0.6);
  transform-origin: 50% 120%;
  transform: translateX(calc(var(--n) * var(--sx, 52px))) rotate(calc(var(--n) * var(--sr, 9deg)));
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease;
  pointer-events: auto;
}
.ds-fan .ds-fan__card:hover {
  z-index: 5;
  transform: translateX(calc(var(--n) * var(--sx, 52px))) translateY(-26px) rotate(0deg) scale(1.05);
  box-shadow: 0 40px 60px -26px rgba(5, 14, 41, 0.7);
}
.ds-fan__art { width: 100%; height: auto; max-height: 150px; margin-top: 4px; }
.ds-fan__tag { font: 600 12px/1.25 var(--font-mono, ui-monospace, monospace); letter-spacing: 0.04em; text-transform: uppercase; color: #0a0a0a; }
.ds-fan__tag::after { content: "  \2192"; color: #2d60e2; }
.ds-band--blue .ds-fan__art .ds-hero-shape__dark { fill: #2d60e2; }
.ds-band--blue .ds-fan__art .ds-hero-shape__light { fill: #8aabfa; }
.ds-band--blue .ds-hero-art--fan { width: min(440px, 34vw); right: max(16px, calc((100vw - 1320px) / 2)); }
.ds-fan { --fw: 168px; --fh: 224px; --sx: 62px; --sr: 8deg; }
.ds-fan:hover { --sx: 84px; --sr: 11deg; }
@media (min-width: 1500px) { .ds-fan { --fw: 190px; --fh: 252px; --sx: 70px; } .ds-fan:hover { --sx: 94px; } }

/* AI: the hero and "What we're exploring" are one continuous near-black surface: same colour, same grain, and the
   glow fades out inside the hero instead of being cut by its bottom edge. */
body.ds-inner .ds-band.ds-band--dark { background-color: #0a0a0a; background-image: var(--in-grain); }
body.ds-inner .ds-band--dark::before { display: none; }
body.ds-inner .ds-band--dark::after {
  display: block;
  inset: 0;
  top: 0;
  bottom: 0;
  height: auto;
  background: radial-gradient(52% 44% at 82% 40%, rgba(63, 117, 245, 0.36), rgba(63, 117, 245, 0) 100%);
}

/* Tablet (701-900px): Curated track cards and "what runs" cards sit two across instead of one long stack */
@media (min-width: 701px) and (max-width: 900px) {
  body.curated-page.ds-page .cur-tracks__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.curated-page.ds-page .cur-live__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.curated-page.ds-page .cur-live__card--soon { grid-column: 1 / -1; }
}
/* Portfolio headline is longer ("Projects we launch, advise and invest in."): keep it to three lines on desktop */
body.ds-inner.portfolio-page.ds-page #portfolio-title { max-width: 12ch; }

/* Portfolio hero carousel, smoother and further from the headline.
   - Items use margin (not flex gap) so one copy of the list is exactly half of the column: the loop point is seamless.
   - Smaller tiles in a narrower strip, fading into the page on the side next to the text. */
.ds-hero-cols { rotate: 6deg; -webkit-mask-image: linear-gradient(to right, transparent 0, #000 28%); mask-image: linear-gradient(to right, transparent 0, #000 28%); }
.ds-hero-col { width: clamp(100px, 8.6vw, 124px); will-change: transform; backface-visibility: hidden; }
/* A flex gap (a page-wide reset zeroes margins here). One copy of the list is half the column plus half a gap, so the
   loop distance is -50% - gap/2. */
.ds-hero-col { gap: 16px; }
.ds-hero-col img { margin-bottom: 0; }
.ds-hero-cols { gap: 16px; }
/* The art box has a mask, which also clips anything outside it: give the tilted columns room on both sides so no tile is cut */
.ds-hero-art--cols { width: min(560px, 42vw); right: max(0px, calc((100vw - 1440px) / 2)); }

/* "Growth works best with consulting.": two balanced lines on wide screens (it was capped at 14ch, which forced three) */
body.ds-inner.curated-page.ds-page .marketing-integrated__title { max-width: none; text-wrap: balance; }
