/* Design refresh, following the 2026-11-22 critique.
   No labels above headings, no gradient text, varied heading rhythm, captions under
   their headings, numbers only where order matters, and an example section
   built on one real client's before and after. */

/* Hero: solid second line instead of gradient text, and less empty space below. */
html[data-style="prism"] .prism-title-row + .prism-title-row .title-word {
  color: #93a6ba; background: none; -webkit-background-clip: border-box; background-clip: border-box;
  animation: word-in 1s var(--ease) both; animation-delay: calc(var(--i) * 70ms + 120ms);
}
html[data-style="prism"] .hero-inner { min-height: 600px; padding-bottom: 56px; }
html[data-style="prism"] #flow-story .flow-story-inner { padding-block: 56px 88px; }

/* Section intros: heading first, caption directly beneath it. */
html[data-style="prism"] :is(#solutions, #everyday-work, #example, #approach) .section-intro { display: block; max-width: 760px; margin: 0 0 52px; text-align: left; }
html[data-style="prism"] :is(#solutions, #everyday-work, #example, #approach) .section-intro h2 { margin: 0; font-size: clamp(34px, 3.6vw, 50px); line-height: 1.08; letter-spacing: -.045em; color: #edf2f5; text-wrap: balance; }
html[data-style="prism"] :is(#solutions, #everyday-work, #example, #approach) .section-intro > p { max-width: 540px; margin: 18px 0 0; color: #a0aab2; font-size: 17px; line-height: 1.6; }
html[data-style="prism"] #solutions .service-label { margin-bottom: 22px; }

/* How we work: the three stages now live in From friction to flow, so this section only
   offers the two ways to work with us. */
html[data-style="prism"] #approach .engagements { margin-top: 0; }

/* Contact band: one line, no label. */
html[data-style="prism"] .contact-band h2 { margin-top: 0; max-width: 12ch; }

/* Flow surface: an elliptical fade so it has no visible edge. */
#flow-story .flow-story-canvas {
  -webkit-mask-image: radial-gradient(ellipse closest-side at 50% 50%, #000 40%, transparent 98%);
  -webkit-mask-composite: source-over;
  mask-image: radial-gradient(ellipse closest-side at 50% 50%, #000 40%, transparent 98%);
  mask-composite: add;
}

/* Example section: one real client, told in two lines, like the hero. */
html[data-style="prism"] .proof { position: relative; background: radial-gradient(ellipse 60% 70% at 85% 30%, #24477f1c, transparent 70%), #080a0e; color: #edf2f5; }
.case-lines { margin: 0 0 56px; border-bottom: 1px solid #93acd42b; }
.case-line { display: grid; grid-template-columns: 140px minmax(0, 1fr); align-items: baseline; gap: 24px; margin: 0; padding: 30px 0 32px; border-top: 1px solid #93acd42b; }
.case-when { color: #8b97a6; font-size: 15px; }
.case-text { font: 500 clamp(30px, 3.6vw, 50px)/1.1 var(--sans); letter-spacing: -.045em; text-wrap: balance; }
.case-line.is-before .case-text { color: #7d8896; }
.case-line.is-now .case-when { color: #9cc2ec; }
.case-line.is-now .case-text { color: #edf2f5; }
.case-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; padding-left: 164px; }
.case-foot p { max-width: 560px; margin: 0; color: #a0aab2; font-size: 17px; line-height: 1.6; text-wrap: pretty; }
.case-foot .btn { flex: none; }
@media (max-width: 760px) {
  html[data-style="prism"] #flow-story .flow-story-inner { padding-block: 40px 48px; }
  html[data-style="prism"] :is(#solutions, #everyday-work, #example, #approach) .section-intro { margin-bottom: 36px; }
  html[data-style="prism"] :is(#solutions, #everyday-work, #example, #approach) .section-intro h2 { font-size: clamp(30px, 8vw, 40px); }
  html[data-style="prism"] :is(#solutions, #everyday-work, #example, #approach) .section-intro > p { font-size: 16px; }
  .case-line { grid-template-columns: 1fr; gap: 10px; padding: 24px 0 26px; }
  .case-text { font-size: clamp(26px, 7.4vw, 34px); }
  .case-lines { margin-bottom: 36px; }
  .case-foot { display: block; padding-left: 0; }
  .case-foot p { font-size: 16px; margin-bottom: 28px; }
}

/* Hero surface: keep the copy side clear. */
@media (min-width: 761px) {
  #pixel-workflow #prism-field { -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000 68%); mask-image: linear-gradient(90deg, transparent 30%, #000 68%); }
}
/* One soft glow under the crest instead of a separate blob above it. */
#pixel-workflow::before { background: radial-gradient(ellipse 42% 34% at 76% 72%, #3f81d026, transparent 70%); }

/* Services: the dot grid lights up around the pointer, a quiet echo of the hero's particles. */
@media (hover: hover) and (pointer: fine) {
  #solutions.services::after {
    content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: 0; transition: opacity .5s;
    background: radial-gradient(circle, #d6ebff 1.1px, transparent 1.5px) 0 0 / 22px 22px;
    -webkit-mask: radial-gradient(230px circle at var(--grid-x, 50%) var(--grid-y, 50%), #000c, #0006 45%, transparent 100%);
    mask: radial-gradient(230px circle at var(--grid-x, 50%) var(--grid-y, 50%), #000c, #0006 45%, transparent 100%);
  }
  #solutions.services.is-lit::after { opacity: .65; }
}

/* Keep the flow intro from leaving a single word on its last line. */
#flow-story .flow-story-intro { text-wrap: balance; }
