/* ==========================================================================
   Grey Sky Capital: components added with the live-site content
   Founder cards + profile panel, testimonial marquee, strategy status,
   fee-terms grid. GSCD-2.1 tokens only. Loaded after main.css/motion.css.
   ========================================================================== */

/* ---- Founders: side by side, each opens a profile ---- */
.people__founders { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-bottom: clamp(32px, 4vw, 48px); }   /* room for "Meet the full team" below */
.founder:nth-child(1), .founder:nth-child(2) { grid-column: auto; margin-top: 0; }
.founder__btn {
  all: unset; box-sizing: border-box; cursor: pointer; display: grid; gap: 16px; width: 100%;
}
.founder__btn:focus-visible { outline: 2px solid var(--focus); outline-offset: 6px; }
.founder__photo, .founder:nth-child(2) .founder__photo { aspect-ratio: 16 / 10; display: grid; }
.founder__open {
  position: absolute; right: 16px; bottom: 16px; z-index: 2;
  font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: var(--eyebrow-tr); text-transform: uppercase;
  background: var(--slate-900); color: var(--grey-100); padding: 8px 12px;
  display: inline-flex; gap: 10px; align-items: center;
  transform: translateY(6px); opacity: 0; transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.founder__open span { color: var(--lime); font-size: 14px; line-height: 1; }
.founder__btn:hover .founder__open, .founder__btn:focus-visible .founder__open { opacity: 1; transform: none; }
.founder__meta { display: grid; gap: 6px; }
.founder__name { display: block; }
.founder__bio { max-width: 52ch; color: var(--text); }
@media (hover: none) { .founder__open { opacity: 1; transform: none; } }
@media (max-width: 760px) { .people__founders { grid-template-columns: 1fr; gap: 48px; } }

/* ---- Team list ---- */
.member { grid-template-columns: 260px 1fr; }
@media (max-width: 600px) { .member { grid-template-columns: 1fr; gap: 4px; } }

/* ---- Profile / testimonial panel ---- */
/* ------------------------------ Rocket: back to the top (homepage, desktop) ------------------------------
   A small rocket at the bottom right, above the WhatsApp button. Its flame flickers and puffs of exhaust drift
   down while it waits; pressed, it lifts off the screen as the page returns to the top. Still under reduced
   motion. It sits over dark and light bands alike, so the body is paper with an ink outline and a slate halo. */
.rocket {
  position: fixed; right: 16px; bottom: 92px; z-index: 55; display: none; width: 64px; padding: 6px 0 0; background: none; border: 0; cursor: pointer;
  justify-items: center; gap: 2px; opacity: 0; transform: translateY(18px); visibility: hidden; pointer-events: none;   /* hidden until shown: no stray click target, nothing for screen readers */
  transition: opacity .4s var(--ease), transform .5s var(--ease), visibility 0s linear .5s;
}
@media (min-width: 900px) { .rocket:not([hidden]) { display: grid; } }
.rocket.is-on { opacity: 1; transform: none; visibility: visible; pointer-events: auto; transition-delay: 0s; }
.rocket__ship { position: relative; display: block; width: 48px; height: 72px; transition: transform .35s var(--ease); filter: drop-shadow(0 0 6px var(--slate-900)); }
.rocket:hover .rocket__ship, .rocket:focus-visible .rocket__ship { transform: translateY(-6px); }
.rocket:focus-visible { outline: 3px solid var(--rust); outline-offset: 4px; }
.rocket svg { display: block; overflow: visible; }
/* Drawn like an engineering sketch (3 Dec 2026): fine ink line-work on paper, a scale beside it, seams, rivets and a stencil */
.rocket__body { fill: var(--paper-100); stroke: var(--ink-head); stroke-width: 1.5; stroke-linejoin: round; }
.rocket__seam { fill: none; stroke: var(--ink-head); stroke-width: .75; stroke-dasharray: none; }
.rocket__band { fill: var(--ink-head); }
.rocket__grid { fill: var(--paper-200); stroke: var(--ink-head); stroke-width: .9; }
.rocket__fin { fill: var(--grey-500); stroke: var(--ink-head); stroke-width: 1.5; stroke-linejoin: round; }
.rocket__port { fill: var(--lime); stroke: var(--ink-head); stroke-width: 1.2; }
.rocket__rivets { fill: var(--ink-head); }
.rocket__tag { fill: var(--ink-head); font-family: var(--font-mono); font-size: 4.6px; font-weight: 600; letter-spacing: .08em; }
.rocket__skirt { fill: var(--grey-300); stroke: var(--ink-head); stroke-width: 1.2; stroke-linejoin: round; }
.rocket__nozzle { fill: var(--grey-500); stroke: var(--ink-head); stroke-width: 1.2; stroke-linejoin: round; }
.rocket__ruler { fill: none; stroke: var(--grey-300); stroke-width: .9; opacity: .9; }
.rocket__plume { fill: var(--flare); }
.rocket__core { fill: var(--lime); }
.rocket__flame { transform-box: fill-box; transform-origin: 50% 0; transform: scale(.85, .75); }
/* Flame and exhaust run for under 5 s when the rocket appears (WCAG 2.2.2), and again for as long as it is hovered or focused */
.rocket.is-on .rocket__flame { animation: rocket-flame .22s ease-in-out 22 alternate; }
.rocket:hover .rocket__flame, .rocket:focus-visible .rocket__flame { animation: rocket-flame-on .22s ease-in-out infinite alternate; }
@keyframes rocket-flame { from { transform: scale(.85, .75); } to { transform: scale(1.1, 1.25); } }
@keyframes rocket-flame-on { from { transform: scale(.85, .75); } to { transform: scale(1.1, 1.25); } }
.rocket__fumes { position: absolute; left: 50%; top: 66px; width: 0; height: 0; }
.rocket__fumes i { position: absolute; left: -4px; top: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--grey-300); box-shadow: inset 0 0 0 1px var(--grey-500); opacity: 0; }   /* finer exhaust for the line drawing */
.rocket.is-on .rocket__fumes i { animation: rocket-puff 1.6s ease-out 2; }
.rocket:hover .rocket__fumes i, .rocket:focus-visible .rocket__fumes i { animation: rocket-puff-on 1.6s ease-out infinite; }
.rocket__fumes i:nth-child(2) { animation-delay: .4s; --dx: -9px; }
.rocket__fumes i:nth-child(3) { animation-delay: .8s; --dx: 8px; }
.rocket__fumes i:nth-child(4) { animation-delay: 1.2s; --dx: -3px; }
@keyframes rocket-puff { 0% { opacity: 0; transform: translate(0, 0) scale(.4); } 20% { opacity: .9; } 100% { opacity: 0; transform: translate(var(--dx, 5px), 34px) scale(1.7); } }
@keyframes rocket-puff-on { 0% { opacity: 0; transform: translate(0, 0) scale(.4); } 20% { opacity: .9; } 100% { opacity: 0; transform: translate(var(--dx, 5px), 34px) scale(1.7); } }
.rocket__label { margin-top: 30px; padding: 1px 6px; background: var(--slate-900); color: var(--grey-100); font-family: var(--font-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; }
/* lift-off */
.rocket.is-launch { transition: opacity .5s var(--ease) .5s; opacity: 0; pointer-events: none; }
.rocket.is-launch .rocket__ship { transition: transform .9s cubic-bezier(.5, 0, .9, .4); transform: translateY(-110vh); }
.rocket.is-launch .rocket__flame { animation: rocket-flame-on .1s ease-in-out infinite alternate; }
.rocket.is-launch .rocket__label { opacity: 0; }
@media (prefers-reduced-motion: reduce) {
  .rocket, .rocket__ship { transition: none; }
  .rocket__flame, .rocket__fumes i { animation: none; }
  .rocket.is-on .rocket__flame, .rocket.is-on .rocket__fumes i, .rocket.is-launch .rocket__flame,
  .rocket:hover .rocket__flame, .rocket:hover .rocket__fumes i, .rocket:focus-visible .rocket__flame, .rocket:focus-visible .rocket__fumes i { animation: none; }
  .rocket__fumes i { opacity: .7; transform: translate(var(--dx, 5px), 14px); }
  .rocket.is-launch { opacity: 1; pointer-events: auto; }
  .rocket.is-launch .rocket__ship { transform: none; }
}

.panel {
  border: 0; padding: 0; margin: auto; max-width: min(720px, calc(100vw - 32px)); width: 100%;
  max-height: calc(100svh - 48px); background: transparent; color: inherit;
}
.panel::backdrop { background: rgba(13, 18, 21, .72); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.panel__inner { background: var(--paper-100); border-top: 3px solid var(--lime); position: relative; padding: clamp(28px, 5vw, 48px); overflow: auto; max-height: calc(100svh - 48px); }
.panel__body { display: grid; gap: 14px; }
.panel__body .t-d1 { margin-left: 0; }
.panel__close {
  position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; display: grid; place-items: center;
  background: transparent; border: 1px solid var(--grey-500); color: var(--text-head); font-size: 22px; line-height: 1;
  transition: background-color .2s, color .2s, transform .3s var(--ease);
}
.panel__close:hover { background: var(--text-head); color: var(--paper-100); transform: rotate(90deg); }
.panel__points { display: grid; gap: 10px; margin: 8px 0; }
.panel__points li { position: relative; padding-left: 22px; }
.panel__points li::before { content: ''; position: absolute; left: 0; top: .6em; width: 8px; height: 8px; background: var(--azure-ink); }
.panel__quote { font-size: var(--lead-size); line-height: var(--lead-lh); color: var(--text-head); padding-left: 18px; box-shadow: inset 3px 0 0 var(--lime); margin: 8px 0; }
.panel[open] .panel__inner { animation: panel-in .45s var(--ease); }
@keyframes panel-in { from { opacity: 0; transform: translateY(16px) scale(.98); } }
html.has-panel { overflow: hidden; }

/* ---- Testimonial marquee ---- */
.voices .wrap { margin-bottom: 0; }
.marquee {
  overflow: hidden; padding: 12px 0 8px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.marquee__track { display: flex; gap: 24px; width: max-content; animation: marquee 110s linear infinite; padding: 0 12px; }
.marquee:hover .marquee__track, .marquee:focus-within .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - 12px)); } }
.marquee .voice { width: 400px; flex: none; padding: 0; min-height: 0; display: block; }
.voice__btn {
  all: unset; box-sizing: border-box; cursor: pointer; display: flex; flex-direction: column; gap: 20px;
  width: 100%; height: 100%; padding: 28px;
}
.voice__btn:focus-visible { outline: 2px solid var(--focus); outline-offset: -2px; }
.voice__q {
  color: var(--text-head); font-size: var(--d3-size); line-height: 1.3; letter-spacing: var(--d3-tr); font-weight: 600;
  display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden;
}
.voice__who { display: grid; gap: 4px; padding-top: 16px; border-top: 1px solid var(--hairline); margin-top: auto; }
.voice__more { font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: var(--eyebrow-tr); text-transform: uppercase; color: var(--accent); }
.voice:hover .voice__more .arrow { transform: translateX(3px); }
@media (max-width: 600px) { .marquee .voice { width: 300px; } .voice__q { font-size: 18px; } }
@media (prefers-reduced-motion: reduce) {
  .marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .marquee__track { animation: none; }
  .marquee .voice[aria-hidden="true"] { display: none; }
}

/* ---- Large quote band: real quotes are longer, so a step down in size ---- */
.quote__fig blockquote { font-size: var(--d3-size); line-height: 1.35; letter-spacing: var(--d3-tr); max-width: 44ch; font-weight: 600; }

/* ---- Strategy status ---- */
.srow__status {
  display: inline-block; vertical-align: middle; margin-left: 8px; padding: 2px 6px;
  font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase;
  border: 1px solid var(--grey-500); color: var(--text-muted);
}
.srow__status--live { background: var(--lime); border-color: var(--lime); color: #0D1215; }
.srow__link { grid-template-columns: 64px 260px minmax(0, 1fr) 240px 112px 44px; }
@media (max-width: 1180px) { .srow__link { grid-template-columns: 64px 220px minmax(0, 1fr) 112px 44px; } }
@media (max-width: 760px) { .srow__link { grid-template-columns: 1fr auto; } }

/* ---- Photos: founders, investor avatars ---- */
.founder__photo img { position: absolute; inset: 0; object-position: 50% 62%; }
.founder__photo img { transition: transform .8s var(--ease); }
.founder__btn:hover .founder__photo img, .founder__btn:focus-visible .founder__photo img { transform: scale(1.03); }
.voice__who { grid-template-columns: auto 1fr; align-items: center; column-gap: 12px; }
.voice__id { display: grid; gap: 2px; }
.voice__avatar, .quote__avatar, .panel__avatar {
  width: 44px; height: 44px; border-radius: 50%; object-fit: cover; object-position: 50% 25%;
  flex: none;
}
.quote__fig figcaption { align-items: center; }
.quote__avatar { width: 48px; height: 48px; filter: none; }
.panel__head { display: flex; align-items: center; gap: 16px; }
.panel__avatar { width: 64px; height: 64px; filter: none; }
.panel__photo { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: 50% 62%; margin-bottom: 8px; }

/* ---- Closing CTA: centred ---- */
.cta__inner--center { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0; }
.cta__inner--center .cta__mark { width: clamp(72px, 7vw, 96px); }
.cta__inner--center .cta__radar { margin-bottom: 36px; }
.cta__inner--center .eyebrow { margin-bottom: 18px; }
.cta__title { margin-left: 0; max-width: 18ch; color: var(--grey-100); }
.cta__title .mk { --mk: var(--azure); white-space: nowrap; }   /* "the team." stays on one line, so the pen underline sits under it on phones */
.cta__inner--center .cta__sub { margin: 22px auto 0; max-width: 54ch; color: var(--grey-300); }
.cta__inner--center .cta__actions { flex-direction: row; flex-wrap: wrap; justify-content: center; margin-top: 36px; gap: 12px; }
.cta__email { margin-top: 20px; color: var(--grey-400); text-decoration: none; }
.cta__email:hover { color: var(--azure); }
@media (max-width: 520px) { .cta__inner--center .cta__actions .btn { flex: 1 1 100%; } }

/* ---- Research desk ---- */
.research { background: var(--paper-200); }
.research__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px 32px; flex-wrap: wrap; margin-bottom: 40px; }
.research__head > div { display: grid; gap: 14px; }
.research__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post__link {
  display: flex; flex-direction: column; gap: 12px; height: 100%; text-decoration: none; color: var(--text);
  background: var(--paper-100); border: 1px solid var(--hairline); padding: 0 0 24px;
  transition: transform .35s var(--ease), border-color .3s var(--ease);
}
.post__link > :not(.post__media) { padding: 0 24px; }
.post__media { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--paper-300); margin-bottom: 8px; }
.post__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.post__title { color: var(--text-head); display: block; }
.post__summary { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }   /* CMS excerpts vary in length */
.post__more { margin-top: auto; padding-top: 8px; font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: var(--eyebrow-tr); text-transform: uppercase; color: var(--accent); }
.post__link:hover { transform: translateY(-3px); border-color: var(--grey-500); }
.post__link:hover .post__media img { transform: scale(1.04); }
.post__link:hover .arrow { transform: translateX(3px); }
.post__link:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
@media (max-width: 960px) { .research__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .research__grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .post__link:hover, .post__link:hover .post__media img { transform: none; } }

/* ---- Hero lede: R, I and P picked out in the accent ---- */
.rip-l { color: var(--lime); font-weight: 700; }

/* ---- Strategy accents: each strategy owns one logo-arrow colour ----
   Smart Core lime · Smart Treasury azure · Flexi Cap flare · Smart Foundation neon pink · unassigned ink */
.srow { --strat: var(--grey-500); }
.srow[data-accent="lime"]  { --strat: var(--lime); }
.srow[data-accent="azure"] { --strat: var(--azure); }
.srow[data-accent="flare"] { --strat: var(--flare); }
.srow[data-accent="pink"]  { --strat: var(--pink); }
.srow__name { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 12px; }
.srow__mark { width: 40px; height: auto; flex: none; transition: transform .45s var(--ease); }
.srow__link:hover .srow__mark { transform: translateY(-2px) rotate(-4deg); }
.srow__link:hover .srow__go { background: var(--strat); border-color: var(--strat); }
.srow__link { grid-template-columns: 64px 330px minmax(0, 1fr) 240px 112px 44px; }
@media (max-width: 1180px) { .srow__link { grid-template-columns: 64px 280px minmax(0, 1fr) 112px 44px; } }
@media (max-width: 760px) { .srow__link { grid-template-columns: 1fr auto; } }
.strat__hl[data-type="lime"]  { box-shadow: inset 3px 0 0 var(--lime); }
.strat__hl[data-type="azure"] { box-shadow: inset 3px 0 0 var(--azure); }
.strat__hl[data-type="flare"] { box-shadow: inset 3px 0 0 var(--flare); }
.strat__hl[data-type="pink"]  { box-shadow: inset 3px 0 0 var(--pink); }
.strat__hl[data-type="ink"]   { box-shadow: inset 3px 0 0 var(--grey-500); }

/* ---- Strategy cards ----
   Live strategies are large cards; planned ones are compact. Each card carries its
   strategy's accent on the top edge and logo, and floods with that accent on hover. */
.scards { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; }
.scard { position: relative; grid-column: span 2; --strat: var(--grey-500); }
.scard--planned { grid-column: span 3; }
/* Five live strategies: three across, then the last two share the second row */
.scard--live:nth-child(4):nth-last-child(2), .scard--live:nth-child(5):last-child { grid-column: span 3; }
.scard[data-accent="lime"]   { --strat: var(--lime); }
.scard[data-accent="azure"]  { --strat: var(--azure); }
.scard[data-accent="flare"]  { --strat: var(--flare); }
.scard[data-accent="pink"]   { --strat: var(--pink); }
.scard[data-accent="yellow"] { --strat: var(--yellow); }
.scards__divider { grid-column: 1 / -1; padding-top: 20px; }

.scard__link {
  display: flex; flex-direction: column; gap: 14px; height: 100%; min-height: 400px; box-sizing: border-box;
  padding: 26px 28px 24px; text-decoration: none; color: var(--text);
  background: var(--paper-100); border: 1px solid var(--hairline); border-top: 5px solid var(--strat);
  transition: background-color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
}
.scard__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 6px; }
.scard__mark { width: 72px; height: auto; transition: transform .5s var(--ease); }
@media (max-width: 600px) {
  /* phones: no tall fixed card, a smaller mark and tighter spacing */
  .scard__link { min-height: 0; gap: 12px; padding: 20px 20px 18px; }
  .scard__mark { width: 52px; }
  .scard__top { margin-bottom: 0; }
  .scard__foot { padding-top: 8px; }
}
/* Format and status pills, shared by the homepage and the product page.
   PMS: azure-ink with white text. AIF: flare with ink text. Live: lime with a blinking ink dot. */
.fmt {
  display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; border-radius: 999px; padding: 4px 10px;
  font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; line-height: 1.2;
  border: 1px solid transparent;
}
.fmt--pms  { background: var(--azure-ink); color: #fff; }
.fmt--aif  { background: var(--flare); color: var(--ink-head); }
.fmt--live { background: var(--lime); color: var(--ink-head); }
.fmt--live::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--ink-head); animation: fmt-blink 1.4s steps(2, end) 3; }   /* three blinks, then steady (WCAG 2.2.2) */
.fmt--sm { font-size: 10px; padding: 2px 8px; }
@keyframes fmt-blink { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .fmt--live::before { animation: none; } }
.scard__chips { display: flex; gap: 6px; }
.scard__chip {
  font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
  padding: 4px 8px; border: 1px solid var(--grey-500); color: var(--text-head);
}
.scard__chip--live { background: var(--ink-head); border-color: var(--ink-head); color: var(--grey-100); display: inline-flex; align-items: center; gap: 6px; }
.scard__chip--live::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--strat); }
.scard__name { font-size: var(--d2-size); line-height: var(--d2-lh); letter-spacing: var(--d2-tr); font-weight: 700; color: var(--text-head); }
.scard__line { max-width: 40ch; }
.scard__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.scard__tags span { font-family: var(--font-mono); font-size: 12px; line-height: 1.5; padding: 3px 8px; background: var(--paper-200); color: var(--text); transition: background-color .35s; }
.scard__foot { margin-top: auto; padding-top: 16px; display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto; gap: 2px 16px; align-items: end; }
.scard__min { display: grid; gap: 2px; }
.scard__min b { font-family: var(--font-mono); font-size: 16px; font-weight: 500; color: var(--text-head); }
.scard__fit { grid-column: 1; font-size: 14px; font-weight: 500; color: var(--text-muted); }
.scard__go {
  grid-column: 2; grid-row: 1 / span 2; width: 48px; height: 48px; display: grid; place-items: center;
  border: 1px solid var(--grey-500); color: var(--text-head); font-family: var(--font-mono); font-size: 18px;
  transition: background-color .35s, color .35s, border-color .35s, transform .4s var(--ease);
}

/* Hover: the card floods with its strategy colour (ink text stays readable on every accent) */
.scard__link:hover, .scard__link:focus-visible { background: var(--strat); border-color: var(--strat); transform: translateY(-4px); }
.scard__link:hover *, .scard__link:focus-visible * { color: #0D1215; }
.scard__link:hover .scard__tags span { background: rgba(13, 18, 21, .1); }
.scard__link:hover .scard__chip { border-color: #0D1215; }
.scard__link:hover .scard__chip--live { background: #0D1215; color: var(--grey-100); }
.scard__link:hover .scard__chip--live::before { background: var(--strat); }
.scard__link:hover .scard__go { background: #0D1215; border-color: #0D1215; color: var(--strat); transform: rotate(-45deg); }
.scard__link:hover .scard__mark { transform: translateY(-3px) rotate(-6deg) scale(1.06); }
.scard__link:focus-visible { outline: 2px solid var(--ink-head); outline-offset: 3px; }

/* Per-strategy AUM and investor count */
.scard__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding-top: 14px; border-top: 1px solid var(--hairline); }
.scard__stats > span { display: grid; gap: 2px; }
.scard__stats > .scard__style { grid-column: 1 / -1; }   /* PMS only: fully customisable or model portfolio */
.scard__stats b { font-family: var(--font-mono); font-size: 13px; font-weight: 500; line-height: 1.35; color: var(--text-head); justify-self: start; }   /* universe and benchmark are words, not figures */
.scard__link:hover .scard__stats { border-color: rgba(13, 18, 21, .2); }
.scard--planned .scard__stats { grid-area: stats; border-top: 0; padding-top: 6px; display: flex; gap: 24px; }
.scard--planned .scard__stats > span { display: flex; align-items: baseline; gap: 8px; }
.scard--planned .scard__stats b { font-size: 14px; }

/* Planned: compact, quieter until hovered */
.scard--planned .scard__link { min-height: 0; background: transparent; border-style: dashed; border-top-style: solid; padding: 20px 24px; display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; grid-template-areas: "mark name go" "mark line go" "mark stats go"; gap: 4px 18px; align-items: center; }
.scard--planned .scard__top { grid-area: mark; margin: 0; }
.scard--planned .scard__mark { width: 64px; }
.scard--planned .scard__chips, .scard--planned .scard__tags, .scard--planned .scard__fit { display: none; }
.scard--planned .scard__name { grid-area: name; font-size: var(--d3-size); line-height: var(--d3-lh); }
.scard--planned .scard__line { grid-area: line; font-size: 15px; }
.scard--planned .scard__foot { grid-area: go; margin: 0; padding: 0; display: flex; align-items: center; gap: 16px; }
.scard--planned .scard__min { text-align: right; }
.scard--planned .scard__name::after {
  content: 'Planned'; margin-left: 10px; vertical-align: middle; font-family: var(--font-mono); font-size: 11px; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase; padding: 2px 6px; border: 1px solid currentColor; color: var(--text-muted);
}
.show-placeholders .scard[data-placeholder="true"]::after { top: -9px; left: 20px; }

@media (max-width: 1080px) {
  .scard, .scard--live:nth-child(4):nth-last-child(2) { grid-column: span 3; }
  .scard--planned, .scard--live:nth-child(5):last-child { grid-column: span 6; }
}
@media (max-width: 700px) {
  .scard, .scard--planned, .scard--live:nth-child(4):nth-last-child(2), .scard--live:nth-child(5):last-child { grid-column: span 6; }   /* every card full width, including the paired fourth one */
  .scard__link { min-height: 0; }
  .scard--planned .scard__link { grid-template-columns: 52px minmax(0, 1fr); grid-template-areas: "mark name" "mark line" "mark stats" "go go"; }
  .scard--planned .scard__foot { justify-content: space-between; margin-top: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .scard__link:hover, .scard__link:hover .scard__mark, .scard__link:hover .scard__go { transform: none; }
}

/* ---- Performance: empty panel ---- */
.perf__empty { padding: 32px 0; display: grid; gap: 16px; justify-items: start; max-width: 60ch; }

/* ---- Fee terms: 3 x 2 ---- */
.facts { grid-template-columns: repeat(3, 1fr); row-gap: 20px; }
.fact:nth-child(4) { padding-left: 0; border-left: 0; }
.fact:nth-child(4)::after { left: 0; }
@media (max-width: 560px) {
  .facts { grid-template-columns: 1fr 1fr; }
  .fact:nth-child(n) { padding-left: 16px; border-left: 1px solid var(--hairline); margin-top: 0; }
  .fact:nth-child(odd) { padding-left: 0; border-left: 0; }
}

/* Skin in the game: four firm facts, 2 x 2 */
.skin .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.skin .fact:nth-child(3) { padding-left: 0; border-left: 0; }
.skin .fact:nth-child(3)::after { left: 0; }
.skin .fact:nth-child(4) { padding-left: 16px; border-left: 1px solid var(--hairline); }
.skin .fact:nth-child(5) { padding-left: 0; border-left: 0; }          /* the fifth term starts a new row, flush left */
.skin .fact:nth-child(5)::after { left: 0; }
/* "None" counters: 100 → 0, the zero breathes, then becomes the word */
.skin .cd { display: inline-block; min-width: 2.2ch; font-variant-numeric: tabular-nums; transform-origin: 0 70%; transition: opacity .26s, transform .26s; }
.skin .cd.is-breathe { animation: cd-breathe .75s ease-in-out 2; color: var(--rust); }
@keyframes cd-breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.16); } }
.skin .cd.is-out { opacity: 0; transform: translateY(-30%); }
.skin .cd.is-word { animation: cd-in .45s cubic-bezier(.2, .8, .2, 1); }
@keyframes cd-in { from { opacity: 0; transform: translateY(35%); } to { opacity: 1; transform: none; } }

/* ==========================================================================
   Testimonials: header + accent cards with a breathing glow and a centre spotlight
   ========================================================================== */
.voices__bar { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px 24px; justify-items: start; margin-bottom: 28px; }
.voices__bar > .eyebrow, .voices__bar > h2, .voices__bar > .voices__note, .voices__bar > .voices__all { grid-column: 1; }
.voices__all { position: relative; z-index: 2; }   /* above the marquee's overlapping padding, so it takes the click */
/* Arrows at the right end of the heading row: each press glides the band one card */
.voices__arrows { grid-column: 2; grid-row: 1 / span 4; align-self: end; display: flex; gap: 8px; position: relative; z-index: 2; }
.voices__arrow {
  appearance: none; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--text-head);
  background: transparent; color: var(--text-head); cursor: pointer; font-size: 18px;
  transition: background .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
}
.voices__arrow:hover { background: var(--text-head); color: var(--paper-100); }
.voices__arrow:active { transform: scale(.94); }
.voices__arrow:focus-visible { outline: 2px solid var(--text-head); outline-offset: 3px; }
/* JS drives the band once it has loaded (so the arrows can move it); CSS animation is the no-JS fallback */
.marquee--driven .marquee__track { animation: none; }
.voices__note { color: var(--text-muted); font-size: 15px; }

/* The row clips sideways (to hide off-screen cards) but must never clip the glow vertically:
   give it 150px of air above and below (more than the 120px glow reach) and cancel that
   space with negative margins so the section spacing is unchanged. */
.marquee { padding: 150px 0; margin: -114px 0 -106px; position: relative; z-index: 1; pointer-events: none; }
.marquee .voice { pointer-events: auto; }   /* the padding overlaps the heading; only cards take the pointer */
.marquee__track { gap: 28px; align-items: stretch; }
.marquee .voice {
  --acc: var(--flare); --f: 1;
  width: 420px; position: relative; isolation: isolate;
  background: var(--paper-100); border: 1px solid var(--hairline); border-top: 4px solid var(--acc);
  /* Band: --o is the card's signed distance from screen centre (-1 left, 1 right).
     Cards turn away and shrink toward the edges, and are drawn in toward the centre
     so the gaps stay even, which reads as a drum turning. */
  transform:
    perspective(1600px)
    translateX(calc(var(--o, 0) * -64px))
    rotateY(calc(var(--o, 0) * -34deg))
    scale(calc(.74 + .3 * var(--f)));
  transform-origin: 50% 50%;
  opacity: calc(.9 + .1 * var(--f));   /* at .9 the muted role line still reads at 4.6:1 (WCAG 1.4.3) */
  transition: border-color .3s var(--ease), background-color .3s var(--ease);
}
.voice[data-accent="azure"]  { --acc: var(--azure); }
.voice[data-accent="flare"]  { --acc: var(--flare); }
.voice[data-accent="pink"]   { --acc: var(--pink); }
.voice[data-accent="yellow"] { --acc: var(--yellow); }

/* Glow (founder spec): thin ring at the edge + close glow + wide faint glow, all flare,
   plus a warm radial tint inside from the top. --g scales the whole glow: it rises for
   the card at the centre of the screen and a little more as the cursor comes near. */
.marquee .voice {
  --g: min(1.25, calc(.35 + .55 * var(--f) + .4 * var(--p, 0)));
  background:
    radial-gradient(circle at 50% 0%, rgb(255 138 82 / calc(.18 * var(--g))), transparent 60%),
    var(--paper-100);
  box-shadow:
    0 0 0 1px rgb(255 138 82 / calc(.35 * var(--g))),
    0 0 60px -10px rgb(255 138 82 / calc(.55 * var(--g))),
    0 0 120px -20px rgb(255 138 82 / calc(.45 * var(--g)));
  animation: voice-breathe 3.6s ease-in-out 1; animation-delay: calc(var(--n) * -.7s);   /* once, under 5 s (WCAG 2.2.2) */
}
@keyframes voice-breathe { 50% { filter: saturate(1.25) brightness(1.03); } }

.voice__btn { gap: 18px; padding: 26px 28px 24px; }
.voice__mark {
  width: 44px; height: 44px; display: grid; place-items: center; background: var(--acc); color: #0D1215;
  font-family: var(--font-sans); font-weight: 700; font-size: 44px; line-height: 1; padding-top: 14px; box-sizing: border-box;
}
.voice__q { font-size: 19px; line-height: 1.4; -webkit-line-clamp: 6; }
.voice__who { grid-template-columns: auto 1fr; border-top: 1px solid var(--hairline); padding-top: 18px; }
.marquee .voice__avatar { width: 52px; height: 52px; box-shadow: 0 0 0 3px var(--paper-100), 0 0 0 5px var(--acc); }
.voice__name { font-size: 16px; }
.voice__more { display: inline-flex; gap: 8px; align-items: center; }

/* Hover / focus: the card steps forward in full */
.marquee .voice:hover, .marquee .voice:focus-within { --f: 1 !important; --o: 0 !important; border-color: var(--acc); z-index: 20 !important; }
.marquee .voice:hover, .marquee .voice:focus-within { --p: 1 !important; }
.marquee .voice:hover .voice__mark { transform: rotate(-8deg); }
.voice__mark { transition: transform .4s var(--ease); }

@media (max-width: 600px) {
  .marquee .voice { width: 300px; }
  .voice__q { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  .marquee .voice { --f: 1; --o: 0; transform: none; opacity: 1; }
  .marquee .voice::before { animation: none; opacity: .35; }
}

/* ==========================================================================
   Pause / play buttons for things that move on their own (WCAG 2.2.2)
   One round button, the same idea as the problem carousel's pause and the
   Observatory's video toggle: two bars while it plays, a triangle once paused.
   main.js adds .bgvid-toggle over each background video and .tapes__toggle on
   the crossing tapes; the testimonial band's pause sits with its arrows.
   ========================================================================== */
.motion-toggle {
  appearance: none; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border-radius: 50%;
  border: 1px solid rgb(242 244 242 / .5); background: color-mix(in srgb, var(--slate-900) 72%, transparent); color: var(--grey-100);
  cursor: pointer; transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.motion-toggle:hover { background: var(--grey-100); color: var(--slate-900); border-color: var(--grey-100); }
.motion-toggle:focus-visible { outline: 2px solid var(--grey-100); outline-offset: 3px; }
.motion-toggle__icon { width: 12px; height: 12px; border-left: 3px solid currentColor; border-right: 3px solid currentColor; box-sizing: border-box; }
.is-paused > .motion-toggle__icon {
  width: 0; height: 0; border-style: solid; border-width: 7px 0 7px 12px;
  border-color: transparent transparent transparent currentColor; margin-left: 3px;
}
/* Over a background video: bottom right of its section, above the scrim and the copy.
   Three classes outrank product.css's ".pman__sticky > :not(.pman__media)", which loads later. */
.motion-toggle.bgvid-toggle[data-bgvid-toggle] { position: absolute; right: var(--gutter); bottom: 16px; z-index: 3; }
.hero > .motion-toggle.bgvid-toggle[data-bgvid-toggle] { right: calc(var(--gutter) + 26px); bottom: 26px; }   /* inside the HUD's corner marks */
/* Products: centred on the right end of the progress line, clear of the heading and the stacked statements */
.pman__sticky > .motion-toggle.bgvid-toggle[data-bgvid-toggle] { bottom: 3px; background: var(--slate-900); }
.pman__sticky > .motion-toggle.bgvid-toggle[data-bgvid-toggle]:hover { background: var(--grey-100); }
.mp-hero > .motion-toggle.bgvid-toggle[data-bgvid-toggle] { top: calc(var(--nav-h) + 12px); bottom: auto; }   /* clear of the as-of lines at the bottom right */
/* Crossing tapes: on top of both tapes, at the right */
.tapes__toggle { position: absolute; right: var(--gutter); top: 50%; z-index: 2; margin-top: -22px; }
.tapes.is-paused .ticker__track { animation-play-state: paused; }
/* Testimonial band: the pause button takes the arrows' style, ink on paper */
.voices__toggle { display: grid; place-items: center; }
.voices__toggle[hidden] { display: none; }
@media (prefers-reduced-motion: reduce) {
  .motion-toggle { transition: none; }
}
