/* prototypes/live/our-team/page.css — live clone of www.applicaa.com/our-team
 *
 * DEV-ONLY prototype stylesheet, page-specific half only. The shared live template
 * (`.live-page`: page surface, lv-measure-*) is prototypes/live/_shared/product.css, linked
 * before this file.
 *
 * Scope: `.live-our-team`. Visuals measured from the live Webflow CSS; type and colour from DS
 * tokens. Live breakpoints are 991px, 767px and 479px.
 *
 *   T1 hero (light)   T2 team bar   T3 card grid   T4 bio popup (DS popup-panel)
 *
 * NOTE for dedupe: T1 (`lv-hero-light`) is live's `.hero-light-section`, which also opens
 * integrations, customer-success and about-applicaa; the same rules sit in those page.css files.
 *
 * Rules (ai-docs/coding-standards.md §2): narrowest property, no shorthand resets of groups we
 * do not own, never the important flag, colours only through tokens / color-mix() over a token.
 */

/* T1 · Hero — live `.hero-light-section`: sky wash (40% → 0), 360px min, 88 / 60 padding
 * (the 88 includes the spacer under live's fixed header), 8px gap; 48 / 32 at ≤991, 24 bottom
 * ≤767. Here the description sits outside the inner wrapper (80px top pad, 40 at ≤991). */
.live-our-team .lv-hero-light {
  display: flex; flex-direction: column; justify-content: center; align-items: center; row-gap: 8px;
  min-height: 360px; padding-top: 88px; padding-bottom: 60px; padding-inline: 12px;
  text-align: center;
  background-image: linear-gradient(color-mix(in srgb, var(--color-product-sky) 40%, transparent),
                                    color-mix(in srgb, var(--color-product-sky) 0%, transparent));
}
.live-our-team .lv-hero-light-inner {
  display: flex; flex-direction: column; align-items: center; row-gap: 16px;
  width: 100%; max-width: 984px; padding-top: 80px;
}
@media (max-width: 991px) {
  .live-our-team .lv-hero-light { min-height: 0; padding-top: 48px; padding-bottom: 32px; }
  .live-our-team .lv-hero-light-inner { padding-top: 40px; }
}
@media (max-width: 767px) {
  .live-our-team .lv-hero-light { padding-bottom: 24px; }
}

/* T2 · Team bar — live `.teams-navigation`: centred, 48px tall items (12px pad, 18px), a 1px
 * inset rule under the bar, a coral 2px underline on the current team; scrolls sideways at ≤991.
 * DS `.tabs` already draws the coral underline on aria-selected; only live's geometry here. */
.live-our-team .lv-team-nav-wrap {
  padding-inline: 12px; overflow-x: auto;
  box-shadow: inset 0 -1px 0 color-mix(in srgb, var(--color-ink-deep) 12%, transparent);
}
.live-our-team .lv-team-nav { flex-wrap: nowrap; column-gap: 0; border-bottom-width: 0; }
.live-our-team .lv-team-nav .tab {
  flex: none; padding: 12px 12px 10px; white-space: nowrap; /* 48px with the DS 2px underline, as live */
  font-family: var(--font-sans); font-size: var(--font-size-body-l); line-height: 24px;
}
/* Live `.team-navigation-item` states (ix sweep 2026-11-22): instant (no transition); hover = ink
 * 64% -> 88% plus a 2px grey underline (#0B1023 @24%); current = coral text over the coral rule.
 * The DS 2px bottom border carries live's inset-shadow underline, so the geometry is unchanged. */
.live-our-team .lv-team-nav .tab {
  color: color-mix(in srgb, var(--color-dark-band) 64%, transparent); transition-property: none;
}
.live-our-team .lv-team-nav .tab:hover {
  color: color-mix(in srgb, var(--color-dark-band) 88%, transparent);
  border-bottom-color: color-mix(in srgb, var(--color-dark-band) 24%, transparent);
}
.live-our-team .lv-team-nav .tab[aria-selected="true"] {
  color: var(--color-coral-500); border-bottom-color: var(--color-coral-500);
}
@media (max-width: 991px) {
  .live-our-team .lv-team-nav { justify-content: flex-start; }
}

/* T3 · Grid — live `.teams-container` (32 / 48, 24px gap) + `.team-member-list` (1224 max,
 * wrapping, centred, 24px gaps; 8px at ≤767) + `.team-member-block` (20% − 19.2px, 220 min /
 * 320 max, 12 / 16 / 16 padding, 6px gap, 8px radius, coral ring on hover). */
.live-our-team .lv-team-body {
  display: flex; flex-direction: column; align-items: center; row-gap: 24px;
  padding-top: 32px; padding-bottom: 48px; padding-inline: 32px;
}
.live-our-team .lv-team-grid {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start; gap: 24px;
  width: 100%; max-width: 1224px; margin-block: 0; padding-left: 0; list-style: none;
}
.live-our-team .lv-team-item {
  display: flex; align-self: stretch; width: calc(20% - 19.2px); min-width: 220px; max-width: 320px;
}
.live-our-team .lv-team-item[hidden] { display: none; }
.live-our-team .lv-team-card {
  display: flex; flex-direction: column; align-items: center; row-gap: 6px; width: 100%;
  padding: 12px 16px 16px; border: 0; border-radius: var(--radius-lg);
  background-color: transparent; text-align: center; cursor: pointer;
  transition-property: box-shadow; transition-duration: 125ms; /* live `.team-member-block`: all .125s ease */
}
.live-our-team .lv-team-card:hover,
.live-our-team .lv-team-card:focus-visible { outline: 0; box-shadow: 0 0 0 2px var(--color-coral-500); }
.live-our-team .lv-team-photo {
  width: 100%; max-width: 240px; height: auto; aspect-ratio: 1; object-fit: cover;
  border-radius: var(--radius-full);
}
.live-our-team .lv-team-name {
  font-family: var(--font-heading); font-weight: 700; color: var(--color-ink-royal);
  font-size: var(--font-size-body-l); line-height: 1.2;
}
.live-our-team .lv-team-role,
.live-our-team .lv-team-group { font-size: var(--font-size-body-s); line-height: 1.125; }
.live-our-team .lv-team-role { color: var(--color-ink-soft); }
.live-our-team .lv-team-group { color: var(--color-coral-500); }
@media (max-width: 991px) {
  .live-our-team .lv-team-card { row-gap: 4px; }
  .live-our-team .lv-team-name { font-size: var(--font-size-body-m); }
  .live-our-team .lv-team-role,
  .live-our-team .lv-team-group { font-size: var(--font-size-body-xs); }
}
@media (max-width: 767px) {
  .live-our-team .lv-team-body { padding-inline: 16px; }
  .live-our-team .lv-team-grid { gap: 8px; }
  .live-our-team .lv-team-item { min-width: 180px; }
  .live-our-team .lv-team-card { row-gap: 2px; padding-top: 8px; padding-inline: 8px; }
  .live-our-team .lv-team-photo { margin-bottom: 4px; }
}
@media (max-width: 479px) {
  .live-our-team .lv-team-item { min-width: 156px; }
}

/* T4 · Bio popup — live `.team-member-highlight-popup`: 800px, 24px pad, 16px gap, photo left
 * then name (24px) / role / team over a grey bio box (12px pad, 8px radius, 14px). Stacks and
 * centres at ≤767. Built on the DS popup (popup-xl / popup-minimal). */
/* Live `.team-member-highlight-popup` appears and disappears instantly (display toggle, no tween)
 * and the overlay has no fade: drop the DS popup's 200ms fade + 0.98 scale. Geometry is live's:
 * 800px, 12px radius, its two-layer shadow (ix sweep 2026-11-22). */
.live-our-team .lv-team-dialog {
  transition-property: none; transform: none;
  width: 800px; border-radius: var(--radius-xl);
  box-shadow: 0 12px 24px -6px color-mix(in srgb, var(--color-dark-band) 24%, transparent),
              0 0 0 1px color-mix(in srgb, var(--color-dark-band) 16%, transparent);
}
.live-our-team .lv-team-dialog::backdrop { transition-property: none; }
.live-our-team .lv-team-dialog-close { position: absolute; top: 12px; right: 12px; }
.live-our-team .lv-team-dialog-body { display: flex; align-items: flex-start; column-gap: 16px; padding: 24px; }
.live-our-team .lv-team-dialog-photo {
  flex: none; width: 206px; height: 206px; object-fit: cover; border-radius: var(--radius-full);
}
.live-our-team .lv-team-dialog-details { display: flex; flex-direction: column; row-gap: 12px; min-width: 0; }
.live-our-team .lv-team-dialog-meta { display: flex; flex-direction: column; row-gap: 4px; padding-right: 32px; }
.live-our-team .lv-team-dialog-bio {
  padding: 12px; border-radius: var(--radius-lg); background-color: var(--color-line-muted); line-height: 1.44;
}
@media (max-width: 767px) {
  .live-our-team .lv-team-dialog-body { flex-direction: column; align-items: center; row-gap: 16px; padding: 16px; text-align: center; }
  .live-our-team .lv-team-dialog-meta { padding-right: 0; }
}
/* T3c · Live `.page-overlay` is a neutral #222 at 64% (the blur matches the DS); the DS backdrop is a
 * blue-grey (owner decision 2026-11-22: live). */
.live-our-team .lv-team-dialog::backdrop { background-color: color-mix(in srgb, #222222 64%, transparent); }
