:root {
    --bg-color: #050505;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    /* Wentworth yellow/black theme */
    --accent-cyan: #f0db4f; /* repurposed as primary yellow */
    --accent-magenta: #cfae2e; /* deeper amber for hover/secondary */
    --accent-yellow: #f0db4f;
    --font-main: 'Montserrat', sans-serif;
    --font-code: 'JetBrains Mono', monospace;

    /* UI Variables */
    --glass-bg: rgba(20, 20, 20, 0.7);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-blur: 12px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-main);
    overflow-x: hidden;
    line-height: 1.6;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; /* Offset for sticky nav */
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: rgba(5, 5, 5, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
    display: flex;
    align-items: center;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.nav-logo {
    display: flex;
    align-items: center;
    height: 100%;
    text-decoration: none;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--accent-cyan);
}

.nav-btn {
    padding: 0.5rem 1.2rem;
    border: 1px solid var(--accent-cyan);
    color: var(--accent-cyan) !important;
    font-family: var(--font-code);
    border-radius: 4px;
    transition: all 0.3s;
}

.nav-btn:hover {
    background: var(--accent-cyan);
    color: #000 !important;
    box-shadow: 0 0 15px rgba(240, 219, 79, 0.3);
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.glitch {
    position: relative;
    font-size: 5rem;
    font-weight: 900;
    color: var(--text-primary);
    letter-spacing: -2px;
    text-transform: uppercase;
    animation: glitch 1s linear infinite;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

.glitch::before {
    left: 2px;
    text-shadow: -1px 0 var(--accent-magenta);
    clip: rect(24px, 550px, 90px, 0);
    animation: glitch-anim-2 3s infinite linear alternate-reverse;
}

.glitch::after {
    left: -2px;
    text-shadow: -1px 0 var(--accent-cyan);
    clip: rect(85px, 550px, 140px, 0);
    animation: glitch-anim 2.5s infinite linear alternate-reverse;
}

/* Header / Hero */
header {
    /* changed: use min-height + top padding so fixed navbar doesn't overlap hero content */
    min-height: calc(100vh - 80px);
    height: auto; /* allow content to flow on small screens */
    padding: 2.5rem 0; /* give breathing room above/below */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: radial-gradient(circle at center, #1a1a1a 0%, #050505 100%);
    position: relative;
    overflow: hidden;
}

/* ensure hero content doesn't get cramped */
.hero-content {
    position: relative;
    z-index: 2;
    padding: 0 1rem;
    width: 100%;
    max-width: 960px;
    box-sizing: border-box;
}

/* make the logo scale more gracefully */
.logo {
    width: 360px;
    max-width: 78vw; /* slightly smaller cap for very narrow screens */
    height: auto;
    margin: 0 auto 1rem;
    display: block;
    filter: drop-shadow(0 0 12px rgba(240, 219, 79, 0.15));
}

header::before {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image:
            linear-gradient(rgba(240, 219, 79, 0.08) 1px, transparent 1px),
            linear-gradient(90deg, rgba(240, 219, 79, 0.08) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.35;
    pointer-events: none;
}

.subtitle {
    font-family: var(--font-code);
    color: var(--accent-cyan);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.partners {
    margin: 2rem auto;                 /* center the block horizontally */
    color: var(--text-secondary);
    font-size: 0.9rem;
    max-width: min(640px, 90%);        /* sensible cap + responsive shrink */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.18rem;
    text-align: center;
    padding: 0 0.5rem;
    box-sizing: border-box;
}

/* Each logical line is a centered block so nothing latches to the left */
.partners .partner-line {
    margin: 0.08rem auto;
    line-height: 1.15;
    text-align: center;
    display: block;
    width: 100%;
}

/* Stronged institution lines should be their own centered block and wrap cleanly */
.partners .partner-line strong {
    display: block;
    margin: 0.05rem auto;
    color: var(--text-primary);
    font-weight: 700;
    white-space: normal; /* allow wrapping */
}

/* Explicit separator class — keeps visual parity and centers perfectly */
.partners .partner-sep {
    margin: 0.18rem auto;
    font-size: 1.15rem;
    color: var(--accent-yellow);
    line-height: 1;
    text-align: center;
}

/* Small-screen tweaks */
@media (max-width: 520px) {
    .partners {
        max-width: 94%;
        gap: 0.12rem;
        font-size: 0.86rem;
    }
    .partners .partner-sep { font-size: 1.02rem; margin: 0.12rem auto; }
    .partners .partner-line strong {
        font-size: 0.98rem;
        line-height: 1.08;
    }
}

/* Info Cards */
.info-section {
    padding: 80px 0;
    background: #0a0a0a;
    border-top: 1px solid #222;
    background: linear-gradient(180deg, #050505 0%, #0a0a0a 100%);
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.card {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    padding: 2.5rem;
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    box-shadow 0.4s ease, border-color 0.3s ease;
}

.card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 4px;
    background: linear-gradient(90deg, var(--accent-cyan), transparent);
    opacity: 0.7;
    transition: opacity 0.3s;
}

.card:hover {
    transform: translateY(-7px) rotateX(calc(var(--rx) * 1deg)) rotateY(calc(var(--ry) * 1deg));
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(240, 219, 79, 0.3);
}

.card:hover::before {
    opacity: 1;
    background: var(--accent-cyan);
    box-shadow: 0 0 15px var(--accent-cyan);
}

.card h3 {
    font-family: var(--font-code);
    color: var(--accent-cyan);
    margin-bottom: 1.2rem;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.card p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.card .highlight {
    color: var(--text-primary);
    font-weight: bold;
    display: block;
    margin-top: 0.75rem;
    font-size: 1.3rem;
    font-family: var(--font-code);
}

/* Mini link style */
.btn-link {
    color: var(--accent-cyan);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s;
}
.btn-link:hover { border-bottom-color: var(--accent-cyan); }

/* CTA Button */
.btn {
    display: inline-block;
    margin-top: 3rem;
    padding: 1rem 3rem;
    background: transparent;
    border: 2px solid var(--accent-cyan);
    color: var(--accent-cyan);
    font-family: var(--font-code);
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
    font-size: 1.1rem;
    transition: 0.3s;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    border-radius: 4px;
}

.btn:hover {
    background: var(--accent-cyan);
    color: #000;
    box-shadow: 0 0 30px var(--accent-cyan);
}

/* Animations */
@keyframes glitch {
    0% { transform: translate(0); }
    20% { transform: translate(-2px, 2px); }
    40% { transform: translate(-2px, -2px); }
    60% { transform: translate(2px, 2px); }
    80% { transform: translate(2px, -2px); }
    100% { transform: translate(0); }
}
@keyframes glitch-anim {
    0% { clip: rect(32px, 9999px, 21px, 0); }
    20% { clip: rect(64px, 9999px, 90px, 0); }
    40% { clip: rect(20px, 9999px, 54px, 0); }
    60% { clip: rect(82px, 9999px, 32px, 0); }
    80% { clip: rect(10px, 9999px, 81px, 0); }
    100% { clip: rect(45px, 9999px, 56px, 0); }
}
@keyframes glitch-anim-2 {
    0% { clip: rect(12px, 9999px, 91px, 0); }
    20% { clip: rect(34px, 9999px, 10px, 0); }
    40% { clip: rect(1px, 9999px, 44px, 0); }
    60% { clip: rect(52px, 9999px, 12px, 0); }
    80% { clip: rect(80px, 9999px, 21px, 0); }
    100% { clip: rect(25px, 9999px, 96px, 0); }
}

/* Responsive */
@media (max-width: 900px) {
    .glitch { font-size: 3rem; }
    .nav-links { display: none; } /* Simple hide for mobile, ideally add hamburger */
    .navbar { justify-content: center; }

    /* reduce fixed navbar height to save vertical space on small devices */
    .navbar { height: 64px; }
    .nav-logo-img { height: 52px; }

    /* important: compensate scroll-padding for smaller navbar */
    html { scroll-padding-top: 64px; }

    /* hero adjustments */
    header {
        min-height: calc(100vh - 64px);
        padding-top: calc(64px + 0.75rem); /* ensure content sits below navbar */
        padding-bottom: 2rem;
        justify-content: center;
    }
    .logo { width: min(60vw, 320px); max-width: 78vw; }
    .subtitle { font-size: 1rem; }
    .partners { max-width: 90%; padding: 0 0.5rem; font-size: 0.9rem; margin-top: 1.25rem; }
    .btn { padding: 0.8rem 2rem; font-size: 1rem; margin-top: 1.5rem; }
    .hero-hint { font-size: 0.95rem; }
}

/* tighter rules for very small screens */
@media (max-width: 520px) {
    .team-ops-card .team-grid { grid-template-columns: 1fr; }

    header {
        /* ensure hero fits and allows some top offset for the fixed nav */
        min-height: calc(100vh - 64px);
        padding-top: calc(64px + 0.5rem);
        padding-bottom: 1.5rem;
        align-items: flex-start;
    }
    .hero-content { padding-top: 0.6rem; }
    .logo { width: min(72vw, 260px); margin-bottom: 0.5rem; }
    .subtitle { font-size: 0.9rem; letter-spacing: 1px; }
    .partners { margin-top: 0.8rem; font-size: 0.82rem; }
    .btn { padding: 0.6rem 1rem; font-size: 0.95rem; margin-top: 1rem; }

    /* small screen nav/logo tweaks */
    .navbar { height: 56px; }
    .nav-logo-img { height: 44px; }
    html { scroll-padding-top: 56px; }
}

/* Binary canvas layer */
.binary-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    opacity: 0.25;
}

/* Reveal animations */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out, border-left-color 0.3s ease;
}

.reveal.reveal-visible {
    opacity: 1;
    transform: translateY(0);
}


/* Logo sizing in hero */
.logo {
    width: 360px;
    max-width: 80vw;
    height: auto;
    margin: 0 auto 1rem;
    display: block;
    filter: drop-shadow(0 0 12px rgba(240, 219, 79, 0.15));
}

/* Agenda timeline list */
.timeline {
    list-style: none;
    margin: 0;
    padding: 0 0 0 1rem;
    border-left: 2px solid var(--accent-cyan);
}

.timeline li {
    position: relative;
    margin: 0.5rem 0 0.5rem 0.5rem;
    padding-left: 0.75rem;
    color: var(--text-secondary);
}

.timeline li strong {
    color: var(--text-primary);
    font-family: var(--font-code);
    margin-right: 0.35rem;
}

.timeline li::before {
    content: "";
    position: absolute;
    left: -0.63rem;
    top: 0.65em;
    width: 8px;
    height: 8px;
    background: var(--accent-cyan);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(240, 219, 79, 0.6);
}

/* Accessibility helper */
.visually-hidden {
    position: absolute !important;
    height: 1px; width: 1px;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0; padding: 0; margin: -1px;
}

/* Make hero feel interactive */
header { cursor: crosshair; }

/* Interaction hint */
.hero-hint {
    margin-top: 1rem;
    font-family: var(--font-code);
    color: var(--accent-yellow);
    font-size: 0.95rem;
    opacity: 0.8;
    animation: hintPulse 2.2s ease-in-out infinite;
    transition: opacity 0.4s ease, transform 0.4s ease;
    user-select: none;
}
.hint-hidden { opacity: 0; transform: translateY(-4px); animation: none; }

@keyframes hintPulse {
    0%, 100% { opacity: 0.45; filter: drop-shadow(0 0 0 rgba(240,219,79,0)); }
    50% { opacity: 0.95; filter: drop-shadow(0 0 10px rgba(240,219,79,0.35)); }
}

/* Logo interaction polish */
.logo { will-change: transform; transition: filter 0.3s ease; }
.logo:hover { filter: drop-shadow(0 0 18px rgba(240, 219, 79, 0.35)); }

/* Footer */
footer {
    background: #000;
    padding: 3rem 0;
    border-top: 1px solid #222;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-text {
    margin-bottom: 0.5rem;
}

.copyright {
    font-family: var(--font-code);
    opacity: 0.6;
    font-size: 0.8rem;
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
    .glitch, .reveal, .hero-hint { animation: none !important; }
    .reveal, .btn, .logo { transition: none !important; }
}


/* Focus-visible accessibility improvements */
.btn:focus-visible,
a.btn:focus-visible {
    outline: 3px solid var(--accent-yellow);
    outline-offset: 3px;
    box-shadow: 0 0 0 6px rgba(240, 219, 79, 0.2);
}

/* Generic link focus for keyboard users */
a:focus-visible {
    outline: 2px dashed var(--accent-yellow);
    outline-offset: 3px;
}

/* Navbar logo image sizing */
.nav-logo-img {
    height: 64px;
    width: auto;
    display: block;
    filter: drop-shadow(0 0 6px rgba(240, 219, 79, 0.12));
    transition: filter 0.25s ease;
}
.nav-logo:hover .nav-logo-img { filter: drop-shadow(0 0 10px rgba(240, 219, 79, 0.25)); }


/* Interactive card spotlight and tilt (non-hero enhancements) */
.card {
    --rx: 0; /* tilt X deg */
    --ry: 0; /* tilt Y deg */
    --mx: 50%; /* spotlight x */
    --my: 50%; /* spotlight y */
    will-change: transform;
}

.card::after {
    content: '';
    position: absolute;
    inset: -1px;
    pointer-events: none;
    background: radial-gradient(180px 180px at var(--mx) var(--my),
      rgba(240, 219, 79, 0.18),
      rgba(240, 219, 79, 0.08) 35%,
      rgba(0, 0, 0, 0) 65%);
    opacity: 0;
    transition: opacity 0.25s ease;
    mix-blend-mode: screen;
}

.card:hover::after { opacity: 1; }

/* Reduced motion: keep it simple and steady */
@media (prefers-reduced-motion: reduce) {
    .card { transition: none !important; }
    .card:hover { transform: translateY(-7px) !important; }
    .card::after { display: none; }
}


/* Details grid override: make THE EVENT span full width above others on wide screens */
@media (min-width: 900px) {
  #details .grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-flow: dense;
  }
  #details .card.event-card {
    grid-column: 1 / -1;
    grid-row: 1;
    order: -1;
  }
}

/* Agenda grid override: 2x2 layout on wider screens */
@media (min-width: 900px) {
  #agenda .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}


/* Team Network */
#team .team-network-card { grid-column: 1 / -1; overflow: hidden; }

.team-network {
    position: relative;
    width: 100%;
    min-height: 520px;
    height: min(70vh, 820px);
    display: grid;
    place-items: center;
}

.team-network svg {
    width: 100%;
    height: 100%;
    display: block;
}

.team-network .team-link {
    stroke: rgba(240, 219, 79, 0.35);
    stroke-width: 1.5;
    transition: stroke 0.2s ease, stroke-width 0.2s ease, opacity 0.2s ease;
}

.team-network .team-link.highlight {
    stroke: var(--accent-yellow);
    stroke-width: 2.5;
    opacity: 0.95;
}

.team-network .team-node circle {
    fill: rgba(240, 219, 79, 0.06);
    stroke: var(--accent-yellow);
    stroke-width: 2;
    transition: transform 0.2s ease, fill 0.2s ease, stroke-width 0.2s ease, opacity 0.2s ease;
}

.team-network .team-node text {
    font-family: var(--font-code);
    font-size: 12px;
    fill: var(--text-primary);
    opacity: 0.75;
    transition: opacity 0.2s ease;
    pointer-events: none;
}

.team-network .team-node.highlight circle {
    stroke-width: 3;
    fill: rgba(240, 219, 79, 0.12);
}

.team-network .team-node.highlight text {
    opacity: 1;
}

.team-network .hub circle {
    fill: rgba(240, 219, 79, 0.12);
    stroke: var(--accent-yellow);
    stroke-width: 2.5;
}

.team-network .hub text {
    font-family: var(--font-code);
    font-size: 12px;
    fill: var(--text-primary);
    opacity: 0.9;
}

.team-network .team-node:focus-visible circle,
.team-network .hub:focus-visible circle {
    outline: none;
    stroke: #fff;
}

/* Tooltip for team node details */
.team-tooltip {
    position: absolute;
    max-width: 280px;
    padding: 0.8rem 1rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: var(--font-main);
    font-size: 0.9rem;
    box-shadow: 0 8px 30px rgba(0,0,0,0.4);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    pointer-events: none;
    opacity: 0;
    transform: translate(-50%, -120%);
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 2;
}
.team-tooltip.visible {
    opacity: 1;
    transform: translate(-50%, -130%);
}
.team-tooltip .tt-name { font-weight: 700; margin-bottom: 0.25rem; }
.team-tooltip .tt-role { color: var(--text-secondary); font-family: var(--font-code); font-size: 0.85rem; }

.team-fallback {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0 0;
    color: var(--text-secondary);
}

.team-fallback li { margin: 0.25rem 0; }


/* Team Operatives (Holographic Dossiers) */
#team .team-ops-card { grid-column: 1 / -1; }

.team-ops-card .team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.operator-card {
  position: relative;
  background: rgba(20,20,20,0.65);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 1rem 1.1rem 1.1rem;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.operator-card:hover {
  transform: translateY(-6px);
  border-color: rgba(240,219,79,0.35);
  box-shadow: 0 10px 36px rgba(0,0,0,0.45), 0 0 0 1px rgba(240,219,79,0.12) inset;
}

/* subtle scanline overlay on hover */
.operator-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255,255,255,0.02),
    rgba(255,255,255,0.02) 2px,
    transparent 2px,
    transparent 4px
  );
  opacity: 0;
  pointer-events: none;
  mix-blend-mode: overlay;
  transition: opacity 0.25s ease;
}
.operator-card:hover::after { opacity: 1; }

.op-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-code);
  font-size: 0.75rem;
  letter-spacing: 1px;
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
}
.op-id { color: var(--accent-yellow); }
.op-status { font-weight: 700; }
.op-status.online { color: #4ef0a3; text-shadow: 0 0 6px rgba(78,240,163,0.35); }

.op-body {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.op-avatar {
  width: 64px;
  height: 64px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(240,219,79,0.35);
  background:
    radial-gradient(40px 40px at 30% 30%, rgba(240,219,79,0.35), rgba(240,219,79,0.06) 60%, transparent 100%),
    rgba(10,10,10,0.5);
  box-shadow: inset 0 0 12px rgba(240,219,79,0.25);
}
.op-avatar span { color: var(--accent-yellow); font-weight: 800; }

.op-info .op-name { font-weight: 800; font-size: 1.1rem; line-height: 1.2; }
.op-info .op-role { color: var(--text-primary); opacity: 0.9; margin-top: 0.1rem; font-family: var(--font-code); }
.op-info .op-subrole { color: var(--text-secondary); font-size: 0.9rem; }

.op-footer { margin-top: 0.9rem; font-family: var(--font-code); font-size: 0.75rem; color: var(--text-secondary); opacity: 0.85; }
.tech-deco { color: var(--accent-yellow); opacity: 0.9; }

/* subtle underline accent for names */
.glitch-hover { position: relative; display: inline-block; }
.glitch-hover::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -3px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-yellow), transparent);
  opacity: 0.6;
}

@media (max-width: 520px) {
  .team-ops-card .team-grid { grid-template-columns: 1fr; }
}


/* Operator cards expandable details */
.operator-card { cursor: pointer; }

.operator-card .op-more {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  margin-top: 0;
  transition: max-height 0.35s ease, opacity 0.25s ease, margin-top 0.25s ease, transform 0.25s ease;
  transform: translateY(-4px);
  border-top: 1px solid transparent;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.operator-card.expanded .op-more {
  max-height: 320px; /* large enough to reveal content */
  opacity: 1;
  margin-top: 0.75rem;
  transform: translateY(0);
  border-top-color: var(--glass-border);
}

.operator-card.expanded {
  border-color: rgba(240,219,79,0.45);
  box-shadow: 0 10px 36px rgba(0,0,0,0.45), 0 0 0 1px rgba(240,219,79,0.12) inset;
}

@media (prefers-reduced-motion: reduce) {
  .operator-card .op-more { transition: none; }
}


/* --- Team compact lists --- */
.team-list {
  list-style: none;
  margin: 0.25rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.6rem 1rem;
}

.team-item .title {
  font-size: 0.95rem;
  line-height: 1.3;
  font-weight: 600;
}

.team-item small {
  display: block;
  color: var(--text-secondary);
  font-size: 0.8rem;
  margin-top: 0.15rem;
}

@media (min-width: 700px) {
  .team-list { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1024px) {
  .team-list { grid-template-columns: 1fr 1fr 1fr; }
}
