/* Sub-pages (team, research) — built on styles.css + home.css tokens. */
.nav__links a[aria-current="page"] { color: var(--text); }
.phero { padding: clamp(128px, 14vw, 168px) 0 56px; }
.phero__title { margin-top: 24px; font-size: clamp(48px, 7vw, 108px); }
.phero__lede { margin-top: 24px; max-width: 580px; font-size: 17px; }

/* team bios */
.bios { padding: 24px 0 clamp(80px, 9vw, 128px); }
.bios .wrap { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); padding: 0; }
.bio { background: var(--bg); display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 56px; align-items: center; padding: 44px; }
.bio--flip { grid-template-columns: minmax(0, 1fr) minmax(0, 420px); }
.bio--flip .bio__img { order: 2; }
.bio__img { aspect-ratio: 4 / 5; overflow: hidden; background: var(--surface); }
.bio__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; filter: grayscale(1) contrast(1.05); transition: filter .8s var(--spring), transform 1.2s var(--spring); }
.bio:hover .bio__img img { filter: grayscale(0); transform: scale(1.02); }
.bio__role { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--dim); }
.bio h2 { margin-top: 14px; font-size: clamp(34px, 4vw, 56px); font-weight: 400; letter-spacing: -.045em; line-height: 1; }
.bio__text > p:not(.bio__role) { margin-top: 20px; max-width: 560px; font-size: 17px; line-height: 1.7; color: var(--mute); }
.bio__tags { list-style: none; margin: 22px 0 26px; display: flex; flex-wrap: wrap; gap: 8px; }
.bio__tags li { font-size: 13px; padding: 6px 11px; box-shadow: inset 0 0 0 1px var(--line-2); color: var(--mute); }

/* research list */
.rlist { padding: 8px 0 clamp(80px, 9vw, 128px); }
.rfilter { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 26px; }
.rfilter button { font-size: 14.5px; padding: 9px 15px; box-shadow: inset 0 0 0 1px var(--line-2); color: var(--mute); transition: background .25s, color .25s; }
.rfilter button[aria-pressed="true"] { background: var(--text); color: var(--bg); box-shadow: none; }
.rgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.rcard { background: var(--bg); display: flex; flex-direction: column; transition: background .4s; }
.rcard:hover { background: var(--surface); }
.rcard[hidden] { display: none; }
.rcard--lead { grid-column: span 2; flex-direction: row; }
.rcard--lead .rcard__img { width: 55%; aspect-ratio: auto; }
.rcard__img { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface); }
.rcard__img img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.85); transition: transform 1.2s var(--spring); }
.rcard:hover .rcard__img img { transform: scale(1.04); }
.rcard__body { flex: 1; padding: 24px 24px 28px; display: flex; flex-direction: column; gap: 10px; }
.rcard b { font-size: 21px; font-weight: 500; letter-spacing: -.03em; line-height: 1.22; }
.rcard--lead b { font-size: 28px; }
.rcard__go { margin-top: auto; padding-top: 14px; font-size: 14.5px; font-weight: 500; }
.rcard--text .rcard__body { min-height: 230px; }
.rdisc { margin-top: 26px; max-width: 900px; }

@media (max-width: 1080px) {
  .bio, .bio--flip { grid-template-columns: minmax(0, 1fr); gap: 28px; padding: 28px; }
  .bio--flip .bio__img { order: 0; }
  .bio__img { max-width: 420px; }
  .rgrid { grid-template-columns: minmax(0, 1fr); }
  .rcard--lead { grid-column: auto; flex-direction: column; }
  .rcard--lead .rcard__img { width: 100%; aspect-ratio: 16 / 10; }
}
@media (max-width: 640px) { .phero { padding: 130px 0 50px; } .bio { padding: 22px; } }

/* legal */
.legal__toc { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 8px; }
.legal__toc a { font-size: 15.5px; padding: 12px 16px; min-height: 44px; display: inline-flex; align-items: center; box-shadow: inset 0 0 0 1px var(--line-2); color: var(--mute); transition: color .25s, background .25s; }
.legal__toc a:hover { color: var(--text); background: var(--surface); }
.legal { padding: 20px 0 clamp(80px, 9vw, 128px); }
.legal__body { max-width: 860px; }
.legal article { padding: 48px 0; border-top: 1px solid var(--line); scroll-margin-top: 96px; }
.legal h2 { font-size: clamp(28px, 3vw, 40px); font-weight: 400; letter-spacing: -.035em; line-height: 1.1; }
.legal h3 { font-size: 19px; font-weight: 500; margin-bottom: 10px; }
.legal p, .legal li { font-size: 17px; line-height: 1.65; color: var(--mute); }
.legal p { margin-top: 18px; }
.legal ul, .legal ol { margin-top: 18px; padding-left: 22px; display: grid; gap: 10px; }
.legal b { color: var(--text); font-weight: 500; }
.legal a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.legal__dl { margin-top: 24px; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.legal__dl > div { background: var(--bg); display: grid; grid-template-columns: 240px 1fr; gap: 24px; padding: 16px 20px; }
.legal__dl dt { font-size: 15.5px; color: var(--dim); }
.legal__dl dd { font-size: 17.5px; color: var(--text); }
.legal__two { margin-top: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
@media (max-width: 699px) {
  .legal__dl > div { grid-template-columns: 1fr; gap: 4px; }
  .legal__two { grid-template-columns: 1fr; gap: 24px; }
  .legal article { padding: 36px 0; }
}

/* Touch: prose links (legal contacts, SEBI/ODR portals, Insights body links)
   sit inside sentences, so they keep the WCAG 2.5.8 inline exception — but a
   22px-tall phone number is still a poor tap. Vertical padding grows the hit
   area without changing the line box, so the text rhythm is untouched. */
@media (pointer: coarse) {
  .legal p a, .legal li a, .legal dd a, .rs-body a, .team__bio a { padding-block: 11px; }
  .nav__links a, .nav__login { display: inline-flex; align-items: center; min-height: 44px; }
  .sheet__links a { min-height: 56px; }
  .sq, .sq--sm { min-height: 44px; }
}

/* ===== Team: principles as six proof cards ===== */
.pp { margin-top: 56px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.pp__c { display: flex; flex-direction: column; border-radius: 24px; padding: 14px 14px 26px; background: #FFFFFF; color: #0E0C0A; box-shadow: 0 0 0 1px rgba(14,12,10,.06), 0 24px 50px -32px rgba(40,38,34,.35); transition: translate .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s; } /* `translate`, not `transform`: GSAP animates transform on entrance */
html:not([data-theme="light"]) .pp__c { background: #141416; color: #F2F1EE; box-shadow: 0 0 0 1px rgba(255,255,255,.07), 0 24px 50px -32px rgba(0,0,0,.9); }
.pp__c:hover { translate: 0 -4px; }
.pp__v { height: 150px; border-radius: 16px; background: rgba(127,127,127,.08); display: grid; place-items: center; padding: 18px; overflow: hidden; }
.pp__c h3 { margin: 22px 12px 0; font-size: 20px; font-weight: 600; letter-spacing: -.02em; }
.pp__c p { margin: 8px 12px 0; font-size: 15px; line-height: 1.55; color: inherit; opacity: .68; }
.pp__c p a { color: inherit; text-decoration: underline; text-underline-offset: .2em; }
/* 36 months bar */
.pp-hz { width: 100%; }
.pp-hz__bar { display: block; height: 10px; border-radius: 99px; background: rgba(127,127,127,.18); overflow: hidden; }
.pp-hz__bar i { display: block; height: 100%; width: 100%; border-radius: inherit; background: currentColor; transform-origin: left; transform: scaleX(.12); transition: transform 1.6s cubic-bezier(.2,.8,.2,1) .2s; }
.pp.is-in .pp-hz__bar i { transform: scaleX(1); }
.pp-hz__l { display: flex; justify-content: space-between; margin-top: 10px; font-size: 12px; opacity: .7; font-variant-numeric: tabular-nums; }
.pp-hz__l b { font-weight: 500; } .pp-hz__l b:last-child { font-weight: 700; opacity: 1; }
/* registration card */
.pp-id { display: grid; gap: 4px; text-align: center; padding: 14px 22px; border-radius: 14px; background: #FFFFFF; color: #0E0C0A; box-shadow: 0 0 0 1px rgba(14,12,10,.08), 0 10px 24px -14px rgba(0,0,0,.35); }
.pp-id small { font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; opacity: .6; }
.pp-id b { font-size: 22px; letter-spacing: .04em; font-variant-numeric: tabular-nums; }
/* custody */
.pp-cu { display: grid; justify-items: center; gap: 10px; }
.pp-cu__box { display: grid; gap: 2px; text-align: center; padding: 12px 22px; border-radius: 14px; border: 1.5px dashed rgba(127,127,127,.5); }
.pp-cu__box small { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; opacity: .6; } .pp-cu__box b { font-size: 17px; }
.pp-cu__us { font-size: 13px; opacity: .7; } .pp-cu__us em { font-style: normal; margin-left: 6px; padding: 2px 8px; border-radius: 99px; background: rgba(127,127,127,.15); }
/* change log */
.pp-log { list-style: none; width: 100%; display: grid; gap: 8px; }
.pp-log li { display: flex; justify-content: space-between; align-items: center; padding: 8px 12px; border-radius: 10px; background: rgba(127,127,127,.1); font-size: 13.5px; }
.pp-log li span { opacity: .6; font-size: 12.5px; }
/* non-personalised */
.pp-np { display: grid; grid-template-columns: auto auto; gap: 8px 12px; align-items: center; font-size: 15px; }
.pp-np span { font-weight: 600; } .pp-np i { font-style: normal; font-size: 12.5px; padding: 3px 10px; border-radius: 99px; background: rgba(127,127,127,.15); }
.pp-np__off { opacity: .45; text-decoration: line-through; text-decoration-thickness: 1.5px; }
/* reachable */
.pp-re { display: grid; justify-items: center; gap: 4px; text-align: center; }
.pp-re b { font-size: 19px; font-variant-numeric: tabular-nums; } .pp-re small { font-size: 12.5px; opacity: .6; }
.pp-re__dot { width: 12px; height: 12px; border-radius: 50%; background: #2E9E5B; box-shadow: 0 0 0 0 rgba(46,158,91,.5); animation: ppPulse 2.2s infinite; margin-bottom: 6px; }
@keyframes ppPulse { 70% { box-shadow: 0 0 0 12px rgba(46,158,91,0); } 100% { box-shadow: 0 0 0 0 rgba(46,158,91,0); } }
@media (max-width: 960px) { .pp { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .pp { grid-template-columns: 1fr; } .pp__v { height: 130px; } }
@media (prefers-reduced-motion: reduce) { .pp-hz__bar i { transform: none; transition: none; } .pp-re__dot { animation: none; } .pp__c { transition: none; } }

/* ===== Team: founders as large cards with a pull-quote ===== */
.bios2 { padding: 24px 0 clamp(80px, 10vw, 140px); }
.bios2 .wrap { display: grid; gap: 22px; }
.bio2 { display: grid; grid-template-columns: minmax(0, 400px) minmax(0, 1fr); gap: clamp(28px, 4.5vw, 64px); align-items: center; padding: 16px; border-radius: 30px; background: #FFFFFF; color: #0E0C0A; box-shadow: 0 0 0 1px rgba(14,12,10,.06), 0 40px 80px -48px rgba(40,38,34,.45); }
html:not([data-theme="light"]) .bio2 { background: #141416; color: #F2F1EE; box-shadow: 0 0 0 1px rgba(255,255,255,.07), 0 40px 80px -48px rgba(0,0,0,.9); }
.bio2--flip { grid-template-columns: minmax(0, 1fr) minmax(0, 400px); }
.bio2--flip .bio2__img { order: 2; }
.bio2__img { margin: 0; aspect-ratio: 4 / 5; border-radius: 22px; overflow: hidden; background: rgba(127,127,127,.12); }
.bio2__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; filter: grayscale(1) contrast(1.05); transition: filter .8s ease, transform 1.2s cubic-bezier(.2,.8,.2,1); }
.bio2:hover .bio2__img img { filter: grayscale(0); transform: scale(1.02); }
.bio2__text { padding: clamp(8px, 2vw, 28px) clamp(8px, 2vw, 32px); }
.bio2__role { font-size: 12.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; opacity: .6; }
.bio2__name { margin-top: 10px; font-size: clamp(32px, 3.6vw, 52px) !important; font-weight: 500; letter-spacing: -.04em; line-height: 1 !important; color: inherit !important; -webkit-text-fill-color: currentColor !important; }
.bio2__q { position: relative; margin: 28px 0 0; padding-left: 26px; }
.bio2__q::before { content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 2px; border-radius: 2px; background: currentColor; opacity: .85; }
.bio2__q p { font-size: clamp(20px, 1.9vw, 27px); line-height: 1.32; letter-spacing: -.02em; font-weight: 400; }
.bio2__p { margin-top: 22px; font-size: 16px; line-height: 1.6; opacity: .7; max-width: 60ch; }
.bio2__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 26px; padding-top: 20px; border-top: 1px solid rgba(127,127,127,.2); }
.bio2__tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.bio2__tags li { font-size: 13px; padding: 6px 12px; border-radius: 99px; background: rgba(127,127,127,.12); }
.bio2__in { position: relative; font-size: 15px; font-weight: 600; color: inherit; text-decoration: underline; text-underline-offset: .25em; }
@media (max-width: 860px) {
  .bio2, .bio2--flip { grid-template-columns: 1fr; }
  .bio2--flip .bio2__img { order: 0; }
  .bio2__img { aspect-ratio: 4 / 3.4; }
}

/* ===== Team: how we think (reuses the proof-card styles) ===== */
.think__lede { margin-top: 18px; max-width: 52ch; }
.tk-biz { display: grid; justify-items: center; gap: 8px; }
.tk-biz__t { font-size: 13px; font-weight: 600; }
.tk-biz__g { display: grid; grid-template-columns: repeat(6, 22px); gap: 5px; }
.tk-biz__g i { height: 22px; border-radius: 5px; background: rgba(127,127,127,.22); }
.tk-biz__g i.you { background: currentColor; transform: translateY(0); transition: transform .8s cubic-bezier(.3,1.6,.5,1) .3s; }
.pp.is-in .tk-biz__g i.you { transform: translateY(-8px) scale(1.15); box-shadow: 0 8px 16px -6px rgba(0,0,0,.5); }
.tk-biz__y { font-size: 12px; opacity: .65; }
.tk-price { width: 100%; max-width: 280px; overflow: visible; }
.tk-price .lvl { stroke: currentColor; stroke-opacity: .35; stroke-dasharray: 4 5; }
.tk-price .px { fill: none; stroke: currentColor; stroke-width: 2.2; stroke-dasharray: 340; stroke-dashoffset: 340; transition: stroke-dashoffset 1.8s ease .2s; }
.pp.is-in .tk-price .px { stroke-dashoffset: 0; }
.tk-price .dot { fill: currentColor; opacity: 0; transition: opacity .4s 1.9s; } .pp.is-in .tk-price .dot { opacity: 1; }
.tk-price text { font-size: 11px; fill: currentColor; opacity: .65; font-family: inherit; }
.tk-note { width: 100%; max-width: 260px; display: grid; gap: 7px; padding: 14px; border-radius: 12px; background: #fff; color: #0E0C0A; box-shadow: 0 0 0 1px rgba(14,12,10,.08), 0 10px 24px -14px rgba(0,0,0,.35); }
.tk-note b { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; opacity: .6; }
.tk-note span { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.tk-note i { width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; font-size: 10.5px; font-style: normal; font-weight: 700; background: #0E0C0A; color: #fff; }
/* accountability strip */
.acct { margin-top: 28px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.acct > div { padding-top: 14px; border-top: 1px solid rgba(var(--on), .16); }
.acct dt { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: rgba(var(--on), .55); }
.acct dd { margin-top: 6px; font-size: 15px; line-height: 1.5; }
.acct a { color: inherit; text-decoration: underline; text-underline-offset: .2em; }
@media (max-width: 960px) { .acct { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .acct { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .tk-price .px { stroke-dashoffset: 0; transition: none; } .tk-price .dot { opacity: 1; } }
/* crisper quotes */
.bio2__q { margin-top: 22px; padding-left: 18px; }
.bio2__q p { font-size: clamp(17px, 1.35vw, 20px) !important; line-height: 1.45; letter-spacing: -.01em; font-weight: 500; }
.bio2__p { margin-top: 16px; }
/* founders' quote */
.fq { margin: clamp(40px, 6vw, 72px) auto 0; max-width: 860px; text-align: center; }
.fq blockquote p { font-size: clamp(22px, 2.4vw, 32px); line-height: 1.3; letter-spacing: -.025em; font-weight: 500; }
.fq figcaption { margin-top: 22px; display: grid; gap: 4px; }
.fq figcaption b { font-size: 15px; font-weight: 600; }
.fq figcaption span { font-size: 13.5px; color: rgba(var(--on), .6); }
.fqs { min-height: 92vh; display: grid; place-items: center; padding: clamp(80px, 12vh, 140px) var(--pad); background: var(--bg); }
.fqs .fq { margin: 0 auto; max-width: 920px; }
.fq__img { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; margin: 0 auto 28px; display: block; filter: grayscale(1); box-shadow: 0 0 0 4px var(--bg), 0 0 0 5px rgba(var(--on), .18); }
.fqs .fq blockquote p { font-size: clamp(26px, 3.2vw, 44px); line-height: 1.22; letter-spacing: -.03em; }
/* gstack team audit fixes */
html body main .bio2 .bio2__name { font-size: clamp(30px, 3vw, 44px) !important; }
.bio2__in { display: inline-flex; align-items: center; min-height: 44px; }
.bio2__links { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 20px; }
.bio2__links a[href^="mailto:"] { font-weight: 500; overflow-wrap: anywhere; }
.fqs .fq blockquote p { line-height: 1.32; }
.bio2__creds { list-style: none; margin-top: 18px; display: grid; gap: 10px; }
.bio2__creds li { display: grid; gap: 2px; font-size: 15px; line-height: 1.45; }
.bio2__creds b { font-size: 11.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; opacity: .55; }
.bio2__p { margin-top: 18px; font-size: 16.5px; opacity: .78; }
/* team portraits: no hover change (stay as they are) */
.bio2:hover .bio2__img img { filter: grayscale(1) contrast(1.05); transform: none; }
.bio2__img img { transition: none; }
