/* =====================================================================
   2026 team page (/meet-our-team). Builds on home-2026.css (tokens, buttons, eyebrow, reveal, portrait frames, CTA).
   Everything is scoped to main.tp26.
   ===================================================================== */

/* ---------- hero ---------- */
.tp26 .tp-hero { position: relative; overflow: hidden; padding: calc(68px + 14px + clamp(40px,5vw,72px)) 0 clamp(28px,4vw,48px); }
.tp26 .tp-hero > .wrap { position: relative; z-index: 1; }
.tp26 .tp-hero-grid { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(0,.85fr); gap: 28px 64px; align-items: end; }
.tp26 .tp-hero h1 { font-size: clamp(2.4rem,5.4vw,4.5rem); line-height: 1.02; max-width: 12ch; }
.tp26 .tp-hero .lede { max-width: 44ch; }
.tp26 .tp-stats { display: flex; gap: 0; margin-top: 24px; border-top: 1px solid var(--neutral-300); }
.tp26 .tp-stats div { flex: 1; padding: 14px 0 0; }
.tp26 .tp-stats div + div { padding-left: 20px; border-left: 1px solid var(--neutral-300); margin-left: 20px; }
.tp26 .tp-stats b { display: block; font-size: clamp(1.75rem,3vw,2.25rem); font-weight: 600; line-height: 1; letter-spacing: -.04em; color: var(--neutral-900); }
.tp26 .tp-stats span { font-size: .8125rem; color: var(--neutral-500); }
@media (max-width: 1080px) { .tp26 .tp-hero { padding-top: calc(64px + 10px + clamp(32px,5vw,56px)); } }
@media (max-width: 900px) { .tp26 .tp-hero-grid { grid-template-columns: 1fr; } }

/* ---------- filters ---------- */
.tp26 .tp-team { padding-top: clamp(20px,3vw,32px); }
.tp26 .tp-filters { position: sticky; top: calc(var(--nav-height-top) + 8px); z-index: 5; display: flex; gap: 6px; width: max-content; max-width: 100%; margin-bottom: clamp(28px,4vw,44px); padding: 5px; background: color-mix(in srgb, var(--neutral-100) 82%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid var(--neutral-300); border-radius: 14px; overflow-x: auto; scrollbar-width: none; }
.tp26 .tp-filters::-webkit-scrollbar { display: none; }
.tp26 .tp-filter { flex: none; display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border: 0; border-radius: 10px; background: transparent; color: var(--neutral-700); font: 500 .9375rem/1 var(--font); letter-spacing: -.01em; cursor: pointer; transition: background-color .25s, color .25s; }
.tp26 .tp-filter span { font-size: .75rem; color: var(--neutral-500); font-variant-numeric: tabular-nums; transition: color .25s; }
.tp26 .tp-filter:hover { background: var(--neutral-200); }
.tp26 .tp-filter[aria-pressed="true"] { background: var(--neutral-900); color: var(--neutral-100); }
.tp26 .tp-filter[aria-pressed="true"] span { color: var(--neutral-300); }
.tp26 .tp-filter:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
@media (max-width: 600px) { .tp26 .tp-filters { width: auto; } .tp26 .tp-filter { padding: 0 12px; font-size: .875rem; } }

/* ---------- grid: compact cards ---------- */
.tp26 .tp-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: clamp(14px,1.6vw,20px); }
@media (max-width: 1180px) { .tp26 .tp-grid { grid-template-columns: repeat(4,minmax(0,1fr)); } }
@media (max-width: 900px) { .tp26 .tp-grid { grid-template-columns: repeat(3,minmax(0,1fr)); } }
@media (max-width: 600px) { .tp26 .tp-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; } }
.tp26 .tp-card { margin: 0; padding: 0; }
.tp26 .tp-card[hidden] { display: none; }
.tp26 .tp-open { position: relative; display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start; width: 100%; height: 100%; padding: 14px 14px 16px; text-align: left; background: var(--neutral-100); border: 1px solid var(--neutral-300); border-radius: var(--radius-card); color: inherit; font: inherit; cursor: pointer; transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out), border-color .3s; }
.tp26 .tp-open:hover { transform: translateY(-3px); box-shadow: 0 18px 36px rgba(7,7,15,.08); border-color: color-mix(in srgb, var(--neutral-300) 60%, var(--neutral-500)); }
.tp26 .tp-open:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
.tp26 .tp-open .portrait { display: block; margin: 2px 6px 18px 2px; }
.tp26 .tp-open .portrait .soft, .tp26 .tp-open .portrait .plane, .tp26 .tp-open .portrait .wedge { display: block; }
.tp26 .tp-open:hover .portrait .plane { translate: -4px -4px; }
.tp26 .portrait .soft img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transition: transform .8s var(--ease-out); }
.tp26 .tp-open:hover .portrait .soft img { transform: scale(1.03); }
.tp26 .tp-name, .tp26 .tp-role { padding-right: 30px; }
.tp26 .tp-name { font-size: 1.0625rem; font-weight: 600; line-height: 1.25; letter-spacing: -.03em; color: var(--neutral-900); }
.tp26 .tp-role { margin-top: 3px; font-size: .8125rem; line-height: 1.4; color: var(--neutral-500); }
.tp26 .tp-more { position: absolute; right: 12px; bottom: 14px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--neutral-900); color: var(--neutral-100); opacity: 0; transform: translateX(-6px); transition: opacity .3s, transform .4s var(--ease-out); }
.tp26 .tp-more svg { width: 14px; height: 14px; }
.tp26 .tp-open:hover .tp-more, .tp26 .tp-open:focus-visible .tp-more { opacity: 1; transform: none; }
@media (hover: none) { .tp26 .tp-more { display: none; } .tp26 .tp-name, .tp26 .tp-role { padding-right: 0; } }
@media (max-width: 600px) { .tp26 .tp-open { padding: 10px 10px 12px; } .tp26 .tp-open .portrait { margin: 2px 4px 14px 2px; } .tp26 .tp-name { font-size: .9375rem; } .tp26 .tp-role { font-size: .75rem; } }
/* filter change: cards fade back in */
.tp26 .tp-card.pop { animation: tp-pop .45s var(--ease-out) both; animation-delay: var(--pd,0s); }
@keyframes tp-pop { from { opacity: 0; transform: translateY(10px) scale(.98); } }

/* ---------- culture marquee ---------- */
.tp26 .tp-culture { padding-bottom: 0; overflow: hidden; }
.tp26 .tp-marquee { overflow: hidden; padding: 8px 0 clamp(48px,8vw,80px); touch-action: pan-y; }
.tp26 .tp-track { display: flex; align-items: flex-start; width: max-content; animation: h26-marquee 90s linear infinite; }
.tp26 .tp-marquee:hover .tp-track, .tp26 .tp-marquee.paused .tp-track { animation-play-state: paused; }
.tp26 .tp-shot-frame { position: relative; flex: none; box-sizing: content-box; width: clamp(220px,26vw,320px); aspect-ratio: 4/3; margin: var(--y,0) clamp(28px,4vw,48px) 0 0; }
.tp26 .tp-shot-frame .el-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(.3) sepia(.08); transition: filter .5s; }
.tp26 .tp-shot-frame:hover .el-photo img { filter: none; }
@media (prefers-reduced-motion: reduce) {
  .tp26 .tp-track { animation: none; }
  .tp26 .tp-marquee { overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; padding-left: var(--gutter); }
  .tp26 .tp-shot-frame { scroll-snap-align: start; }
  .tp26 .tp-shot-frame[aria-hidden="true"] { display: none; }
}

/* ---------- CTA ---------- */
.tp26 .tp-hiring { margin-top: 28px; font-size: .9375rem; color: var(--neutral-500); }
.tp26 .tp-hiring a { display: inline-flex; align-items: center; gap: 4px; color: var(--neutral-900); font-weight: 500; text-decoration: underline; text-decoration-color: var(--green); text-underline-offset: 4px; }
.tp26 .tp-hiring svg { width: 14px; height: 14px; }

/* =====================================================================
   profile drawer: side panel on desktop, full-height sheet on phones
   ===================================================================== */
.h26.tp-layer { position: static; z-index: auto; }
.tp26 .tp-drawer { position: fixed; inset: 0; z-index: 10001; }
.tp26 .tp-drawer[hidden] { display: none; }
.tp26 .tp-scrim { position: absolute; inset: 0; background: rgba(7,7,15,.38); -webkit-backdrop-filter: blur(6px) saturate(.9); backdrop-filter: blur(6px) saturate(.9); opacity: 0; transition: opacity .45s var(--ease-out); }
.tp26 .tp-panel { position: absolute; top: 12px; right: 12px; bottom: 12px; width: min(620px, calc(100vw - 24px)); display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--neutral-300); border-radius: 20px; box-shadow: 0 30px 80px rgba(7,7,15,.28); overflow: hidden; outline: none; transform: translateX(calc(100% + 24px)); transition: transform .6s cubic-bezier(.16,1,.3,1); }
.tp26 .tp-drawer.open .tp-scrim { opacity: 1; }
.tp26 .tp-drawer.open .tp-panel { transform: none; }
body.dark-theme .tp26 .tp-scrim { background: rgba(0,0,0,.55); }
body.dark-theme .tp26 .tp-panel { box-shadow: 0 30px 80px rgba(0,0,0,.6); }
@media (max-width: 700px) {
  .tp26 .tp-panel { top: 10px; left: 0; right: 0; bottom: 0; width: 100%; border-radius: 20px 20px 0 0; border-bottom: 0; transform: translateY(calc(100% + 12px)); }
}

.tp26 .tp-bar { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 12px 12px 22px; border-bottom: 1px solid var(--neutral-300); }
.tp26 .tp-count { font-size: .8125rem; color: var(--neutral-500); font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.tp26 .tp-count b { color: var(--neutral-900); font-weight: 600; }
.tp26 .tp-bar-btns { display: flex; gap: 6px; }
.tp26 .tp-icon { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 1px solid var(--neutral-300); border-radius: 12px; background: transparent; color: var(--neutral-900); cursor: pointer; transition: background-color .2s, border-color .2s, transform .35s var(--ease-spring); }
.tp26 .tp-icon svg { width: 18px; height: 18px; }
.tp26 .tp-icon:hover { background: var(--neutral-200); }
.tp26 .tp-icon:active { transform: scale(.94); }
.tp26 .tp-icon:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.tp26 .tp-close { margin-left: 6px; background: var(--neutral-900); border-color: var(--neutral-900); color: var(--neutral-100); }
.tp26 .tp-close:hover { background: var(--neutral-800); }

.tp26 .tp-scroll { flex: 1; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--neutral-300) transparent; }
.tp26 .tp-body { padding: 22px 0 28px; transition: opacity .2s, transform .35s var(--ease-out); }
.tp26 .tp-body.out { opacity: 0; transform: translateX(calc(var(--dir,1) * -16px)); }
.tp26 .tp-body.in-start { opacity: 0; transform: translateX(calc(var(--dir,1) * 16px)); transition: none; }
.tp26 .tp-pad { padding: 0 26px; }
@media (max-width: 700px) { .tp26 .tp-pad { padding: 0 18px; } .tp26 .tp-bar { padding-left: 18px; } }

/* filmstrip: every photo at its natural shape, never upscaled past its 300px source */
.tp26 .tp-film { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 26px; padding: 0 26px 6px; scrollbar-width: none; cursor: grab; }
.tp26 .tp-film::-webkit-scrollbar { display: none; }
.tp26 .tp-film.dragging { cursor: grabbing; scroll-snap-type: none; }
.tp26 .tp-film figure { flex: none; margin: 0; height: 240px; border-radius: 12px; overflow: hidden; background: var(--neutral-200); scroll-snap-align: start; }
.tp26 .tp-film figure:first-child { position: relative; }
.tp26 .tp-film img { display: block; height: 100%; width: auto; max-width: none; user-select: none; -webkit-user-drag: none; animation: tp-fade .6s var(--ease-out) both; }
@keyframes tp-fade { from { opacity: 0; } }
@media (max-width: 700px) { .tp26 .tp-film { padding: 0 18px 6px; scroll-padding: 0 18px; } .tp26 .tp-film figure { height: 200px; } }
.tp26 .tp-film-hint { display: flex; align-items: center; gap: 6px; margin-top: 8px; font-size: .75rem; color: var(--neutral-500); }
.tp26 .tp-film-hint svg { width: 14px; height: 14px; }

.tp26 .tp-head { margin-top: 22px; }
.tp26 .tp-head h2 { font-size: clamp(1.75rem,3.2vw,2.25rem); line-height: 1.08; letter-spacing: -.04em; }
.tp26 .tp-head .tp-r { margin-top: 6px; font-size: 1rem; color: var(--neutral-700); }
.tp26 .tp-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.tp26 .tp-meta > * { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 11px; border: 1px solid var(--neutral-300); border-radius: var(--radius-chip); font-size: .8125rem; color: var(--neutral-700); text-decoration: none; }
.tp26 .tp-meta svg { width: 15px; height: 15px; color: var(--green); }
.tp26 .tp-meta a { transition: background-color .2s, border-color .2s; }
.tp26 .tp-meta a:hover { background: var(--neutral-200); color: var(--neutral-900); }

.tp26 .tp-otc { margin-top: 20px; display: grid; gap: 8px; }
.tp26 .tp-otc p { margin: 0; padding: 14px 16px; border-radius: var(--radius-callout); background: var(--neutral-100); border: 1px solid var(--neutral-300); font-size: .9375rem; line-height: 1.5; color: var(--neutral-700); }
.tp26 .tp-otc b { display: block; margin-bottom: 2px; font-size: .75rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--neutral-500); }
.tp26 .tp-otc .is-win { background: var(--green-tint); border-color: rgba(25,199,152,.3); }

.tp26 .tp-sec { margin-top: 30px; }
.tp26 .tp-sec h3 { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; font-size: 1.125rem; letter-spacing: -.03em; }
.tp26 .tp-sec h3 small { font-size: .75rem; font-weight: 400; letter-spacing: 0; color: var(--neutral-500); }
.tp26 .tp-bio { font-size: .9375rem; line-height: 1.65; color: var(--neutral-700); }
.tp26 .tp-bio strong, .tp26 .tp-bio b { font-weight: 600; color: var(--neutral-900); }
.tp26 .tp-bio.clamped { display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.tp26 .tp-more-btn { margin-top: 8px; padding: 0; border: 0; background: none; font: 500 .875rem/1.4 var(--font); color: var(--neutral-900); text-decoration: underline; text-decoration-color: var(--green); text-underline-offset: 4px; cursor: pointer; }

/* stat sheet */
.tp26 .tp-stats-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; padding: 18px; border: 1px solid var(--neutral-300); border-radius: var(--radius-card); background: var(--neutral-100); }
@media (max-width: 520px) { .tp26 .tp-stats-list { grid-template-columns: 1fr; } }
.tp26 .tp-stats-list .stat { margin: 0; }
.tp26 .tp-stats-list .stat-top span { padding-right: 8px; }
.tp26 .tp-stats-list .stat-top b { font-variant-numeric: tabular-nums; }
.tp26 .tp-stats-list .bar i { transition-delay: calc(.15s + var(--k,0) * .05s); }
.tp26 .tp-stats-list .bar i.low { background: var(--gold); }
.tp26 .tp-stats-list.go .bar i { width: var(--v); }

/* fun facts */
.tp26 .tp-facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; counter-reset: f; }
.tp26 .tp-facts li { position: relative; padding: 14px 16px 14px 52px; border-radius: var(--radius-callout); background: var(--neutral-100); border: 1px solid var(--neutral-300); font-size: .9375rem; line-height: 1.5; color: var(--neutral-700); counter-increment: f; }
.tp26 .tp-facts li::before { content: counter(f, decimal-leading-zero); position: absolute; left: 16px; top: 14px; font-size: .8125rem; font-weight: 600; color: var(--green); font-variant-numeric: tabular-nums; }

.tp26 .tp-foot { margin-top: 32px; padding-top: 22px; border-top: 1px solid var(--neutral-300); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.tp26 .tp-foot p { margin: 0; font-size: .9375rem; color: var(--neutral-700); max-width: 30ch; }
@media (max-width: 520px) { .tp26 .tp-foot .btn { width: 100%; justify-content: center; } }

/* scroll lock while the drawer is open */
html.tp-locked { overflow: hidden; }
html.tp-locked body { overflow: hidden; padding-right: var(--tp-sbw,0px); }
@media (prefers-reduced-motion: reduce) {
  .tp26 .tp-panel, .tp26 .tp-scrim, .tp26 .tp-body { transition: none; }
  .tp26 .tp-card.pop { animation: none; }
}
