/* "Our approach" (TS homepage, before How We Help). Spec: Accelerated Inertia
   offerings/approach.md. Three circles drawn from the palette, so dark mode and
   the brand colors follow. 2026-11-30. */

/* It is the hero's entrance section (ts-stagger-entrance, shared home.css):
   transparent over the fixed hero until the reveal, one screen tall and pinned
   while its parts fade in. Once revealed it takes the page color, so How We
   Help (surface) still alternates with it. */
.ts-approach { text-align: center }
.ts-approach.ts-entrance--visible { background: var(--bg) }
.ts-approach .ts-section__inner { justify-content: center }
.ts-approach .ts-section__intro { margin-bottom: 1rem }
.ts-approach .ts-stage-after { margin: 0; color: inherit; font-size: inherit }

/* One screen tall on desktop: the picture scales with the window height. */
.ts-venn { display: block; width: auto; height: min(40vh, 21rem); max-width: 100%; aspect-ratio: 760 / 365; margin: 1.25rem auto 0; overflow: hidden }
@media (max-width: 800px) {
  .ts-venn { width: min(100%, 44rem); height: auto }
}

/* How We Help follows as a normal section (it no longer pins). */
.ts-approach-next .ts-services-grid--stages { margin-top: 1rem }
.ts-venn .v-one { fill: color-mix(in srgb, var(--primary) 30%, var(--bg)) }
.ts-venn .v-today { fill: color-mix(in srgb, var(--primary) 55%, var(--bg)) }
.ts-venn .v-two { fill: var(--secondary) }
.ts-venn .v-three { fill: var(--accent) }
.ts-venn .v-ring { fill: none; stroke: var(--primary); stroke-width: 2.5 }
.ts-venn .v-name { font: 700 22px var(--heading-font); fill: var(--primary) }
.ts-venn .call { opacity: 0; transition: opacity .4s }
.ts-venn .call.on { opacity: 1 }
.ts-venn .call line { stroke: var(--ink); stroke-width: 1.4 }
.ts-venn .v-arrow { fill: var(--ink) }
.ts-venn .ct { font-size: 18px; font-weight: 600; fill: var(--ink) }
.ts-venn .ct.ctb { font-weight: 700; fill: var(--primary) }

/* One line at a time under the picture: the two captions, and on phones the
   callouts' words (the arrows only show where their words sit beside them). */
.ts-venn-cap { position: relative; min-height: 1.6em; margin: .4rem auto 1.4rem; max-width: 40rem; font-weight: 600; font-size: 1.05rem; line-height: 1.4; color: var(--ink) }
.ts-venn-cap span { position: absolute; left: 0; right: 0; top: 0; opacity: 0; transition: opacity .4s }
.ts-venn-cap span.on { opacity: 1 }
.ts-venn-cap b { color: var(--primary) }
.ts-venn-cap .call-txt { display: none }

.ts-approach__actions { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap }
.ts-approach .ts-section__intro em { font-style: italic; font-weight: 700 }

/* Small, quiet replay under the picture, shown once the sequence ends. */
.ts-venn-replay { display: block; margin: -.8rem auto 1.2rem; padding: .25rem .7rem; border: 0; border-radius: 999px; background: none; font-family: inherit; font-size: .85rem; font-weight: 600; color: var(--ink-muted); cursor: pointer }
.ts-venn-replay:hover { color: var(--primary); background: var(--surface) }
/* Always takes its space, so showing it never moves the page. */
.ts-venn-replay { visibility: hidden; opacity: 0; transition: opacity .4s }
.ts-venn-replay.is-shown { visibility: visible; opacity: 1 }

/* Two-line link to the explainer: a small label over the title. */
.ts-btn.ts-btn--two-line { display: inline-flex; flex-direction: column; align-items: center; gap: .15rem; line-height: 1.2; padding-top: .7rem; padding-bottom: .75rem; border-radius: 999px }
/* A primary button like the brand's others (Jason, 12-01): white text, also
   over home.css's ".ts-stage-after a" link colour. */
.ts-approach .ts-btn--primary, .ts-approach .ts-btn--primary:hover { color: #fff }
.ts-btn--two-line .ts-btn__small { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; opacity: .8 }
.ts-btn--two-line .ts-btn__big { font-size: 1.05rem; font-weight: 700 }

@media (max-width: 640px) {
  .ts-venn .call { display: none }
  .ts-venn-cap { min-height: 2.9em; font-size: 1rem }
  .ts-venn-cap .call-txt { display: block }
}

/* Reduced motion: no moving circle; the button shows the finished picture
   with all three callouts' words listed under it. */
.ts-venn-cap.is-list { min-height: 0 }
.ts-venn-cap.is-list span { position: static; display: none }
.ts-venn-cap.is-list span.call-txt { display: block; opacity: 1; margin: .2rem 0 }
