/* ══════════════════════════════════════════
   TEAM PAGE
   ══════════════════════════════════════════ */

/* ── Page atmosphere: shared constellation canvas
      (assets/css/constellation.css + assets/js/constellation.js) ── */

/* Lift page content above the fixed canvas layers */
.team-hero,
.orbital,
.founders,
.advisors,
#quote-slot,
#footer-slot {
    position: relative;
    z-index: 1;
}

/* ── Header scrolled state (team-page refinement) ── */
.header {
    transition: background-color 0.4s, backdrop-filter 0.4s, border-color 0.4s;
}

.header.scroll {
    background-color: rgba(17, 16, 15, 0.72);
}

/* ── Keyframes ── */
@keyframes heroLine {
    0% { opacity: 0; transform: translateY(110%) rotate(2deg); }
    100% { opacity: 1; transform: translateY(0) rotate(0deg); }
}

@keyframes fadeUp {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes aureliusShimmer {
    0% { background-position: 200% center; }
    100% { background-position: -200% center; }
}

/* ── Scroll reveals (class toggled by team-fx.js) ── */
.rv {
    opacity: 0;
    transform: translateY(34px);
    transition: opacity 1.1s cubic-bezier(.16, 1, .3, 1), transform 1.1s cubic-bezier(.16, 1, .3, 1);
}

.rv.rv-in {
    opacity: 1;
    transform: none;
}

/* Founder cards reveal with a stagger */
.founders-grid .founder:nth-child(2) { transition-delay: 0.12s; }
.founders-grid .founder:nth-child(3) { transition-delay: 0.24s; }

/* ── Hero: kinetic type ── */
.team-hero {
    margin-top: -72px;
    padding: 170px 16px 40px;
    text-align: center;
}

.team-hero h1 {
    font-family: 'Forum', Georgia, serif;
    font-weight: 400;
    font-size: clamp(52px, 8.5vw, 132px);
    line-height: 1.02;
    letter-spacing: -0.03em;
    margin: 0 auto;
    max-width: 1200px;
    color: #fff;
}

.hero-line {
    display: block;
    overflow: hidden;
    padding: 0.04em 0;
}

.hero-line-inner {
    display: inline-block;
    animation: heroLine 1.3s cubic-bezier(.16, 1, .3, 1) 0.25s both;
}

.hero-line--2 .hero-line-inner {
    animation-delay: 0.42s;
}

.hero-behind {
    letter-spacing: -0.02em;
    margin-right: 0.22em;
}

.hero-aurelius {
    background: linear-gradient(105deg, #E0CB9A 20%, #AE8C4A 40%, #F6EBCF 60%, #E0CB9A 80%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    animation: aureliusShimmer 7s linear 1.6s infinite;
}

.team-hero-subtitle {
    font-family: 'EB Garamond', Georgia, serif;
    font-size: clamp(18px, 2.2vw, 28px);
    color: #FFFFFF;
    white-space: nowrap;
    margin: 32px auto 0;
    animation: fadeUp 1.4s cubic-bezier(.16, 1, .3, 1) 0.9s both;
}

/* ── Section headers (Core Team / Advisors) ── */
.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-eyebrow {
    font-size: 13px;
    font-weight: 600;
    color: #C8A96E;
    text-transform: uppercase;
    letter-spacing: 0.35em;
    margin-bottom: 16px;
}

.section-header h2 {
    font-family: 'Forum', Georgia, serif;
    font-weight: 400;
    font-size: clamp(40px, 5vw, 64px);
    line-height: 1.1;
    letter-spacing: -1.5px;
    margin: 0;
    color: #fff;
}

.section-hairline {
    width: 240px;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(200, 169, 110, 0.6), transparent);
    margin: 24px auto 0;
}

/* ── Watermark initials (founder + advisor cards) ── */
.card-watermark {
    position: absolute;
    bottom: 10px;
    right: 14px;
    font-family: 'Forum', Georgia, serif;
    font-size: 29px;
    line-height: 1;
    letter-spacing: -0.04em;
    color: rgba(200, 169, 110, 0.38);
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.55);
    pointer-events: none;
    user-select: none;
    z-index: 2;
}

/* ── Founders ── */
.founders {
    padding: 40px 0 130px;
}

.founders-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    max-width: 960px;
    margin: 0 auto;
}

/* Card container — holds both states */
.founder-card {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4;
    border-radius: 20px;
    overflow: hidden;
    background: #1F1D1D;
    border: 1px solid rgba(232, 224, 212, 0.08);
    cursor: pointer;
    transition: transform 0.8s cubic-bezier(.19, 1, .22, 1), border-color 0.5s, box-shadow 0.8s;
}

.founder-card:hover,
.founder-card.card-active {
    transform: translateY(-8px);
    border-color: rgba(200, 169, 110, 0.35);
    box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.85), 0 0 50px -12px rgba(200, 169, 110, 0.18);
}

/* Gold shine sweep across the card on hover */
.founder-card::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 4;
    pointer-events: none;
    background: linear-gradient(115deg, transparent 30%, rgba(232, 224, 212, 0.10) 48%, rgba(200, 169, 110, 0.14) 52%, transparent 70%);
    transform: translateX(-130%);
    transition: transform 1.3s cubic-bezier(.19, 1, .22, 1);
}

.founder-card:hover::after {
    transform: translateX(130%);
}

/* Photo fills the card */
.founder-photo {
    position: absolute;
    inset: 0;
    background: #1F1D1D;
}

.founder-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.4s cubic-bezier(.19, 1, .22, 1), filter 1.4s cubic-bezier(.19, 1, .22, 1);
}

.founder-card:hover .founder-photo img,
.founder-card.card-active .founder-photo img {
    transform: scale(1.08);
    filter: saturate(0.8) sepia(0.14) brightness(0.92);
}

/* Gradient overlay on photo for default name legibility */
.founder-photo::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.65) 0%, transparent 100%);
    pointer-events: none;
}

/* Default name/role overlay (bottom-left) */
.founder-info {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 22px;
    z-index: 2;
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.founder-name {
    font-family: 'EB Garamond', Georgia, serif;
    font-size: 24px;
    line-height: 1.3;
    margin-bottom: 2px;
}

.founder-role {
    font-size: 14px;
    color: #BFBFBF;
}

/* Expanded hover state — slides up over the photo */
.founder-expanded {
    position: absolute;
    inset: 0;
    padding: 0 24px 28px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    z-index: 3;
    background: linear-gradient(to top, #141212 55%, rgba(20, 18, 18, 0.85) 75%, transparent 100%);
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.55s cubic-bezier(.16, 1, .3, 1), transform 0.55s cubic-bezier(.16, 1, .3, 1);
    pointer-events: none;
}

.founder-expanded-name {
    font-family: 'Forum', Georgia, serif;
    font-size: 32px;
    font-weight: 400;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 4px;
}

.founder-expanded-role {
    font-size: 14px;
    color: #C8A96E;
    margin-bottom: 16px;
}

.founder-bio {
    font-family: 'Source Sans 3', system-ui, sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
}

.founder-socials {
    display: flex;
    gap: 10px;
}

.founder-social {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.06);
    transition: background-color 0.25s, border-color 0.25s, transform 0.25s;
}

.founder-social:hover {
    background: rgba(200, 169, 110, 0.18);
    border-color: rgba(200, 169, 110, 0.4);
    transform: translateY(-2px);
}

/* Hover / tap-active: show expanded, hide default info */
.founder-card:hover .founder-expanded,
.founder-card.card-active .founder-expanded {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.founder-card:hover .founder-info,
.founder-card.card-active .founder-info {
    opacity: 0;
    transform: translateY(-8px);
}

/* Friedrich icon card */
#card-friedrich {
    background: #000;
}

.founder-photo--icon {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
}

.founder-owl {
    width: 92%;
    height: 92%;
    opacity: 0.85;
    object-fit: contain;
}

/* ── Advisors ── */
.advisors {
    padding: 0 0 120px;
}

.advisors-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 960px;
    margin: 0 auto;
}

@property --beam {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

@keyframes beamspin {
    to { --beam: 360deg; }
}

.advisor-card {
    position: relative;
    background: radial-gradient(120% 90% at 50% -20%, rgba(200, 169, 110, 0.10), rgba(200, 169, 110, 0.02) 45%, transparent 70%), #1F1D1D;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 30px 24px 26px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.7s cubic-bezier(.19, 1, .22, 1), border-color 0.4s, background-color 0.4s, box-shadow 0.7s;
}

/* Rotating conic gold border beam on hover */
.advisor-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 18px;
    padding: 1px;
    background: conic-gradient(from var(--beam), transparent 0deg, transparent 250deg, rgba(200, 169, 110, 0.9) 300deg, rgba(232, 224, 212, 0.6) 320deg, transparent 360deg);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.5s;
    animation: beamspin 3.5s linear infinite;
    pointer-events: none;
    z-index: 5;
}

.advisor-card:hover::before,
.advisor-card.card-active::before {
    opacity: 1;
}

.advisor-card:hover,
.advisor-card.card-active {
    transform: translateY(-5px);
    box-shadow: 0 30px 70px -25px rgba(0, 0, 0, 0.8);
}

/* Cross-hover highlight from the orbital diagram */
.advisor-card.orbital-highlight {
    border-color: rgba(232, 224, 212, 0.25);
    background: #252220;
}

.advisor-card .card-watermark {
    z-index: 0;
}

.advisor-avatar {
    position: relative;
    z-index: 1;
    width: 108px;
    height: 108px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    margin-bottom: 18px;
    overflow: hidden;
    box-shadow: 0 0 0 1px rgba(232, 224, 212, 0.15), 0 0 34px -6px rgba(200, 169, 110, 0.35);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.advisor-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#card-ryon .advisor-avatar img {
    object-position: center 30%;
}

#card-jack .advisor-avatar img {
    object-position: center 20%;
}

#card-roland .advisor-avatar img {
    object-position: center 20%;
}

.advisor-info {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    transition: opacity 0.3s ease;
}

.advisor-name {
    font-family: 'Forum', Georgia, serif;
    font-size: 26px;
    color: #fff;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.advisor-domain {
    font-family: 'Source Sans 3', system-ui, sans-serif;
    font-size: 11px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 0.22em;
    text-transform: uppercase;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 100px;
    padding: 5px 14px;
    background: rgba(255, 255, 255, 0.06);
}

.advisor-role {
    font-family: 'Source Sans 3', system-ui, sans-serif;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.55);
}

/* Expanded hover state */
.advisor-expanded {
    position: absolute;
    inset: 0;
    padding: 16px 20px 24px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    z-index: 3;
    background: #1F1D1D;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.5s cubic-bezier(.16, 1, .3, 1), transform 0.5s cubic-bezier(.16, 1, .3, 1);
    pointer-events: none;
    text-align: left;
    overflow-y: auto;
}

.advisor-expanded .advisor-name {
    font-family: 'Forum', Georgia, serif;
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 2px;
}

.advisor-expanded-role {
    font-family: 'Source Sans 3', system-ui, sans-serif;
    font-size: 13px;
    color: #C8A96E;
    margin-bottom: 12px;
}

.advisor-bio {
    font-family: 'Source Sans 3', system-ui, sans-serif;
    font-size: 13px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 16px;
}

.advisor-socials {
    display: flex;
    gap: 10px;
}

.advisor-social {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.06);
    transition: background-color 0.25s, border-color 0.25s, transform 0.25s;
}

.advisor-social:hover {
    background: rgba(200, 169, 110, 0.18);
    border-color: rgba(200, 169, 110, 0.4);
    transform: translateY(-2px);
}

/* Hover / tap-active: show expanded, hide default info */
.advisor-card:hover .advisor-expanded,
.advisor-card.card-active .advisor-expanded {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.advisor-card:hover .advisor-info,
.advisor-card.card-active .advisor-info {
    opacity: 0;
}

.advisor-card:hover .advisor-avatar,
.advisor-card.card-active .advisor-avatar {
    opacity: 0;
    transform: scale(0.92);
}

/* ── Orbital Diagram ── */
.orbital {
    padding: 0 0 96px;
}

.orbital-diagram {
    position: relative;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}

.orbital-diagram svg {
    width: 100%;
    height: auto;
    display: block;
    position: relative;
    z-index: 1;
}

.orbital-diagram canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

/* ── Scroll-Drop Sequence ──
   .orbital--seq is added by JS when the first-visit sequence is active:
   the tall .orbital-scroll wrapper (height set inline by JS) provides the
   scroll distance while .orbital-sticky pins the diagram. When the sequence
   completes, JS clears the wrapper height so there is no travel left and
   the pin can never re-engage. Without JS these wrappers are inert. */
.orbital--seq {
    padding: 0;
    overflow-anchor: none;
}

.orbital--seq .orbital-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Flex items shrink-to-fit; the container needs a definite width so the
   diagram's percentage width can resolve */
.orbital--seq .orbital-sticky .container {
    width: 100%;
}

.orbital--seq .orbital-diagram {
    width: min(1100px, 100%, 88vh);
    width: min(1100px, 100%, 88svh);
}

/* Ring build-up: layers tagged rev-inner / rev-outer / rev-orbit stay
   hidden until JS latches the matching stage class (orbital--r1/r2/r3)
   onto the section. Canvas-drawn layers fade via state.reveal in JS. */
.orbital--seq .rev-inner,
.orbital--seq .rev-outer,
.orbital--seq .rev-inner-labels,
.orbital--seq .rev-outer-labels {
    transition: opacity 0.9s ease;
}

.orbital--seq:not(.orbital--r1) .rev-inner,
.orbital--seq:not(.orbital--r2) .rev-inner-labels,
.orbital--seq:not(.orbital--r3) .rev-outer,
.orbital--seq:not(.orbital--r4) .rev-outer-labels {
    opacity: 0;
    pointer-events: none;
}

/* Domain labels reveal one wedge at a time: alignment, ethics, then
   decentralized infrastructure. Institution logos are canvas-drawn and
   revealed per person in JS. After the sequence (.orbital--done) the
   labels return to their faster hover-dim transition. */
.orbital--seq:not(.orbital--done) .orbital-domain-labels text {
    transition: opacity 0.9s ease, filter 0.4s ease;
}

.orbital--seq:not(.orbital--r5) text.rev-label-alignment,
.orbital--seq:not(.orbital--r6) text.rev-label-ethics,
.orbital--seq:not(.orbital--r7) text.rev-label-infra {
    opacity: 0;
}

/* Reset replay (logo click): fade the whole diagram out and back in as
   one unit. While .orbital--resetting is set, inner reveal transitions
   are suppressed so the rewind snaps invisibly between the two fades. */
.orbital--seq .orbital-diagram {
    transition: opacity 0.6s ease;
}

.orbital--seq.orbital--resetting .orbital-diagram {
    opacity: 0;
}

.orbital--resetting .rev-inner,
.orbital--resetting .rev-outer,
.orbital--resetting .rev-inner-labels,
.orbital--resetting .rev-outer-labels,
.orbital--resetting .orbital-domain-labels text,
.orbital--resetting .orbital-cells,
.orbital--resetting .orbital-feather-edges {
    transition: none !important;
}

/* Ring cells sweep outward from the logo as they fade in. If clip-path
   on SVG groups is unsupported the layers simply fade. */
.orbital--seq .orbital-cells,
.orbital--seq .orbital-feather-edges {
    transition: opacity 0.9s ease, clip-path 1.25s cubic-bezier(0.25, 0.1, 0.25, 1);
    clip-path: circle(75% at 50% 50%);
}

.orbital--seq:not(.orbital--r1) .orbital-cells.rev-inner,
.orbital--seq:not(.orbital--r1) .orbital-feather-edges.rev-inner,
.orbital--seq:not(.orbital--r3) .orbital-cells.rev-outer,
.orbital--seq:not(.orbital--r3) .orbital-feather-edges.rev-outer {
    clip-path: circle(12% at 50% 50%);
}

/* Node drop-in: scales down from "above" the board onto its point */
.orbital-node .node-inner {
    transform-box: fill-box;
    transform-origin: center;
}

.orbital-node.node-pending {
    pointer-events: none;
}

.orbital-node.node-pending .node-inner {
    opacity: 0;
}

.orbital-node.node-landed .node-inner {
    animation: node-drop 0.6s cubic-bezier(0.3, 0, 0.35, 1) both;
}

@keyframes node-drop {
    0%   { opacity: 0; transform: scale(3.2); }
    55%  { opacity: 1; }
    72%  { transform: scale(0.9); }
    100% { opacity: 1; transform: scale(1); }
}

/* Gold impact ripple, timed to fire at touchdown */
.node-impact {
    transform-box: fill-box;
    transform-origin: center;
    opacity: 0;
    pointer-events: none;
}

.orbital-node.node-landed .node-impact {
    animation: node-impact 0.8s cubic-bezier(0.2, 0.6, 0.3, 1) 0.38s both;
}

@keyframes node-impact {
    0%   { opacity: 0.85; transform: scale(0.5); stroke-width: 2.5px; }
    100% { opacity: 0; transform: scale(3.4); stroke-width: 0.4px; }
}

/* ── Zone Highlighting ── */

.orbital-domain-labels text,
.orbital-ring-labels text {
    transition: opacity 0.4s ease, filter 0.4s ease;
}

.orbital-domain-labels text.label-dimmed,
.orbital-ring-labels text.label-dimmed {
    opacity: 0.08;
    filter: none;
}

.orbital-domain-labels text.label-active,
.orbital-ring-labels text.label-active {
    opacity: 0.95;
    filter: drop-shadow(0 0 6px currentColor) drop-shadow(0 0 12px currentColor);
}

/* Ring labels: bigger + bolder, still on the curved textPath */
.orbital-ring-labels text[data-ring="bt"] {
    font-size: 13px !important;
    font-weight: 600;
}

.orbital-ring-labels text[data-ring="ai"] {
    font-size: 14px !important;
    font-weight: 600;
}

/* ── Node System ── */

/* Sonar rings — soft fade-in, no pop */
.node-sonar {
    transform-box: fill-box;
    transform-origin: center;
    pointer-events: none;
    opacity: 0;
    animation: node-sonar 4s cubic-bezier(0.25, 0.6, 0.45, 1) infinite;
}

.node-sonar--0 { animation-delay: 0s; }
.node-sonar--1 { animation-delay: -1.333s; }
.node-sonar--2 { animation-delay: -2.667s; }

@keyframes node-sonar {
    0% {
        transform: scale(1);
        opacity: 0;
        stroke-width: 1px;
    }
    12% {
        opacity: 0.3;
    }
    100% {
        transform: scale(2.2);
        opacity: 0;
        stroke-width: 0.3px;
    }
}

/* Active node — slightly faster sonar */
.orbital-node.node-active .node-sonar {
    animation-duration: 2.6s;
}

/* Outer ring (static) */
.node-ring {
    pointer-events: none;
}

/* Node initials glow */
.node-initials {
    filter: drop-shadow(0 0 3px currentColor);
    font-size: 23px !important;
}

/* Institution items */
.inst-item {
    transition: opacity 0.4s ease;
}

.inst-item.inst-dimmed {
    opacity: 0.12 !important;
}

/* Tooltip */
.orbital-tooltip {
    position: absolute;
    z-index: 10;
    background: rgba(20, 18, 18, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 16px 20px;
    /* max-content stops the absolutely positioned box from shrink-to-fit
       squeezing against the container edge near right-side nodes */
    width: max-content;
    max-width: 330px;
    pointer-events: none;
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 0.25s ease, transform 0.25s ease;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: none;
}

.orbital-tooltip.visible {
    opacity: 1;
    transform: translateY(0);
    display: block;
}

.orbital-tooltip-name {
    font-family: 'Forum', Georgia, serif;
    font-size: 21px;
    color: #C8A96E;
    margin-bottom: 2px;
}

.orbital-tooltip-role {
    font-family: 'Source Sans 3', system-ui, sans-serif;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 10px;
}

.orbital-tooltip-bio {
    font-family: 'Source Sans 3', system-ui, sans-serif;
    font-size: 15px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 0;
}

.orbital-tooltip-affiliations {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.orbital-tooltip-affil-tag {
    font-family: 'Source Sans 3', system-ui, sans-serif;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    padding: 2px 8px;
}

/* ══════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════ */
@media (max-width: 991px) {
    .founders {
        padding: 20px 0 80px;
    }

    .founders-grid {
        gap: 20px;
    }

    .founder-name {
        font-size: 20px;
    }

    .founder-info {
        padding: 16px;
    }

    .founder-expanded-name {
        font-size: 26px;
    }

    .founder-bio {
        font-size: 13px;
    }

    .orbital {
        padding: 0 0 48px;
    }

    .advisors {
        padding: 0 0 80px;
    }

    .advisors-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .advisor-card {
        padding: 28px 20px 24px;
    }

    .advisor-expanded {
        padding: 16px 16px 20px;
    }

    .advisor-expanded .advisor-name {
        font-size: 20px;
    }

    .advisor-bio {
        font-size: 12px;
    }
}

@media (max-width: 768px) {
    .team-hero {
        margin-top: -48px;
        padding: 120px 12px 32px;
    }

    .team-hero-subtitle {
        white-space: normal;
    }

    .orbital-tooltip-backdrop {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 9;
    }

    .orbital-tooltip-backdrop.visible {
        display: block;
    }

    .orbital-tooltip {
        position: fixed;
        left: 50%;
        top: auto;
        bottom: 24px;
        transform: translateX(-50%);
        width: calc(100% - 32px);
        max-width: 360px;
        z-index: 10;
        pointer-events: auto;
    }

    .orbital-tooltip.visible {
        transform: translateX(-50%);
    }
}

@media (max-width: 767.98px) {
    .founders-grid {
        grid-template-columns: 1fr;
        max-width: 320px;
    }

    .founder-card {
        aspect-ratio: 3 / 4;
    }
}

@media (max-width: 600px) {
    .orbital-diagram {
        max-width: 500px;
    }

    .advisors-grid {
        grid-template-columns: 1fr;
        max-width: 360px;
    }

    .founder-expanded-name { font-size: 22px; }
    .founder-expanded { padding: 0 16px 20px; }
    .founder-bio { font-size: 12px; }

    .advisor-avatar { width: 80px; height: 80px; margin-bottom: 14px; }
    .advisor-card { padding: 24px 16px 22px; }
}

/* ══════════════════════════════════════════
   REDUCED MOTION
   ══════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
    .rv {
        transition: none;
        opacity: 1;
        transform: none;
    }

    /* Drop sequence is disabled in JS; ensure nodes are visible regardless */
    .node-inner,
    .node-impact {
        animation: none !important;
    }

    .orbital-node.node-pending .node-inner {
        opacity: 1;
    }

    .hero-line-inner,
    .team-hero-subtitle,
    .hero-aurelius,
    .advisor-card::before {
        animation: none !important;
    }

    .hero-line-inner,
    .team-hero-subtitle {
        opacity: 1;
        transform: none;
    }
}
