/* ============================================================
   OWASP MANIT — Overhauled Design System
   Fonts: Syne (display) + JetBrains Mono (code/mono)
   Theme: Dark cyberpunk with editorial structure
   ============================================================ */

/* ── TOKENS ─────────────────────────────────────────────── */
:root {
  /* Surface */
  --bg:            #050a10;
  --bg-mid:        #080f17;
  --bg-surface:    rgba(10, 18, 30, 0.72);
  --bg-surface-hi: rgba(14, 24, 40, 0.88);

  /* Ink */
  --text:          #ddeeff;
  --text-muted:    #5a7a94;
  --text-dim:      #2e4a60;

  /* Brand accent palette */
  --cyan:          #00e5ff;
  --cyan-dim:      rgba(0, 229, 255, 0.12);
  --cyan-glow:     rgba(0, 229, 255, 0.35);
  --green:         #39ff88;
  --green-dim:     rgba(57, 255, 136, 0.12);
  --purple:        #a855f7;
  --purple-dim:    rgba(168, 85, 247, 0.15);

  /* Borders */
  --border:        rgba(0, 229, 255, 0.14);
  --border-hi:     rgba(0, 229, 255, 0.4);

  /* Radii */
  --r-sm:   8px;
  --r-md:   16px;
  --r-lg:   24px;
  --r-xl:   32px;

  /* Shadows */
  --shadow-card: 0 4px 32px rgba(0,0,0,0.5), 0 1px 0 rgba(255,255,255,0.04) inset;
  --shadow-glow: 0 0 40px var(--cyan-glow);

  /* Motion */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring:   cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* ── RESET & BASE ───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
.cap-card--featured {
  background-image: url('../images/photo.jpg') !important;
  background-size: cover;
  background-position: center !important;
  background-repeat: no-repeat;
}.cap-card--featured::before {
  display: none;
}
.cap-card--featured::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(255, 161, 99, 0.15), rgba(0,0,0,0.55));
  z-index: 0;
  pointer-events: none;
}
html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'JetBrains Mono', monospace;
  background-color: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

h1, h2, h3, h4, .brand__name, .counter {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
}

/* ── SCROLLBAR ──────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--cyan-dim); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(0,229,255,0.4); }

/* ── LAYOUT ─────────────────────────────────────────────── */
.container {
  width: min(1160px, calc(100% - 2.5rem));
  margin: 0 auto;
}

.section { padding: 6rem 0; }

/* ── AMBIENT BACKGROUND ─────────────────────────────────── */
.ambient {
  position: fixed;
  inset: 0;
  z-index: -10;
  pointer-events: none;
  overflow: hidden;
}

.ambient__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0;
  animation: orbFloat 20s ease-in-out infinite;
}
.ambient__orb--a {
  width: 640px; height: 640px;
  background: radial-gradient(circle, rgba(0,229,255,0.18), transparent 70%);
  top: -15%; left: -10%;
  animation-delay: 0s;
}
.ambient__orb--b {
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(57,255,136,0.12), transparent 70%);
  top: 25%; right: -8%;
  animation-delay: -7s;
}
.ambient__orb--c {
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(168,85,247,0.14), transparent 70%);
  bottom: 15%; left: 30%;
  animation-delay: -13s;
}
@keyframes orbFloat {
  0%   { opacity: 1; transform: translate(0,0) scale(1); }
  33%  { transform: translate(40px,-30px) scale(1.08); }
  66%  { transform: translate(-20px,40px) scale(0.95); }
  100% { opacity: 1; transform: translate(0,0) scale(1); }
}

.ambient__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,229,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,229,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black, transparent);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black, transparent);
}

.ambient__noise {
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px;
}

/* ── NODE CANVAS ────────────────────────────────────────── */
#node-canvas {
  position: fixed;
  inset: 0;
  z-index: -9;
  pointer-events: none;
  opacity: 0.35;
}

/* ── BUTTONS ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.6rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: 'Syne', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s ease, background 0.3s ease, border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn svg {
  width: 14px; height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.3s var(--ease-spring);
}

.btn:hover svg { transform: translateX(3px); }
.btn:hover { transform: translateY(-2px); }

.btn--primary {
  background: linear-gradient(135deg, rgba(0,229,255,0.2), rgba(57,255,136,0.2));
  border-color: var(--border-hi);
  color: var(--cyan);
  box-shadow: 0 0 20px rgba(0,229,255,0.15);
}
.btn--primary:hover {
  background: linear-gradient(135deg, rgba(0,229,255,0.3), rgba(57,255,136,0.3));
  box-shadow: 0 0 35px rgba(0,229,255,0.3);
}

.btn--ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--text-muted);
}
.btn--ghost:hover {
  border-color: var(--border-hi);
  color: var(--text);
}

.btn--outline {
  background: transparent;
  border-color: var(--border-hi);
  color: var(--cyan);
}
.btn--outline:hover {
  background: var(--cyan-dim);
  box-shadow: 0 0 20px var(--cyan-glow);
}

.btn--full { width: 100%; justify-content: center; }

/* ── PILLS ───────────────────────────────────────────────── */
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  vertical-align: middle;
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--cyan-dim);
  border: 1px solid rgba(0,229,255,0.3);
  color: var(--cyan);
  margin-bottom: 0.85rem;
  line-height: 1;
}
.pill--purple {
  background: var(--purple-dim);
  border-color: rgba(168,85,247,0.4);
  color: var(--purple);
}

/* ── HEADER ──────────────────────────────────────────────── */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0.75rem 0;
  transition: background 0.4s ease, backdrop-filter 0.4s ease, border-color 0.4s ease;
}

.header.scrolled {
  background: rgba(5, 10, 16, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

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

.header__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-right: auto;
}

.brand__logomark {
  width: 2.75rem; height: 2.75rem;
  display: grid; place-items: center;
  border-radius: var(--r-md);
  background: var(--cyan-dim);
  border: 1px solid var(--border);
  padding: 0.4rem;
  transition: box-shadow 0.3s ease;
}
.header__brand:hover .brand__logomark {
  box-shadow: 0 0 20px var(--cyan-glow);
}
.brand__logomark img {
  width: 100%; height: 100%;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
@media (max-width: 640px) {
  .brand__logomark {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
  }
  .brand__logomark img {
    object-fit: fill;
    filter: none;
  }
}

.brand__text { display: flex; flex-direction: column; }

.brand__sub {
  font-size: 0.62rem;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  line-height: 1;
  margin-bottom: 0.15rem;
}

.brand__name {
  font-size: 1.1rem;
  color: var(--text);
  line-height: 1;
  letter-spacing: 0.05em;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav__link {
  font-family: 'Syne', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  position: relative;
  padding: 0.25rem 0;
  transition: color 0.25s ease;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--cyan);
  transition: width 0.3s var(--ease-out-expo);
}
.nav__link:hover { color: var(--text); }
.nav__link:hover::after { width: 100%; }

.header__cta { margin-left: 1rem; font-size: 0.75rem; padding: 0.6rem 1.2rem; }

.header__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
  margin-left: auto;
}
.header__burger span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--text-muted);
  transition: all 0.3s ease;
}

/* ── SECTION HEADERS ─────────────────────────────────────── */
.section__header { margin-bottom: 3rem; }

.section__kicker {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.section__kicker::before {
  content: '';
  display: inline-block;
  width: 20px; height: 1px;
  background: var(--green);
}

.section__title {
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--text);
}

/* ── HERO ────────────────────────────────────────────────── */
.hero {
  padding-top: 8rem;
  padding-bottom: 0;
  position: relative;
  overflow: hidden;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding-bottom: 4rem;
}

.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
  letter-spacing: 0.08em;
}

.status-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 8px var(--green); }
  50%       { opacity: 0.6; box-shadow: 0 0 16px var(--green); }
}

.divider { color: var(--text-dim); }

.hero__headline {
  font-size: clamp(2.8rem, 5.5vw, 4.5rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.line { display: block; }
.line--accent { color: var(--cyan); }

/* Staggered reveal animation */
.line--reveal {
  opacity: 0;
  transform: translateY(24px);
  animation: lineReveal 0.8s var(--ease-out-expo) forwards;
}
.line--reveal:nth-child(1) { animation-delay: 0.1s; }
.line--reveal:nth-child(2) { animation-delay: 0.22s; }
.line--reveal:nth-child(3) { animation-delay: 0.34s; }

@keyframes lineReveal {
  to { opacity: 1; transform: translateY(0); }
}

.hero__lead {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.8;
  max-width: 480px;
  margin-bottom: 2.25rem;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out-expo) 0.5s forwards;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out-expo) 0.65s forwards;
}

.hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out-expo) 0.8s forwards;
}

.tag {
  font-size: 0.7rem;
  font-family: 'JetBrains Mono', monospace;
  padding: 0.3rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  color: var(--text-muted);
  background: rgba(0,229,255,0.03);
  letter-spacing: 0.05em;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Terminal */
.hero__terminal-wrap {
  position: relative;
  opacity: 0;
  animation: fadeUp 1s var(--ease-out-expo) 0.3s forwards;
}

.terminal {
  background: var(--bg-surface-hi);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card), 0 0 60px rgba(0,229,255,0.07);
}

.terminal__bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1.25rem;
  background: rgba(0,229,255,0.04);
  border-bottom: 1px solid var(--border);
}

.terminal__dots {
  display: flex;
  gap: 0.4rem;
}
.terminal__dots span {
  width: 0.55rem; height: 0.55rem;
  border-radius: 50%;
  background: var(--cyan);
  opacity: 0.6;
}
.terminal__dots span:nth-child(1) { background: #ff5f57; }
.terminal__dots span:nth-child(2) { background: #ffbd2e; }
.terminal__dots span:nth-child(3) { background: #28ca41; }

.terminal__title {
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
}

.terminal__body {
  padding: 1.5rem 1.25rem;
}

.terminal__line {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.25rem;
}

.t-prompt {
  color: var(--green);
  font-size: 0.9rem;
}

.t-type {
  color: var(--text);
  font-size: 0.82rem;
}
.t-type::after {
  content: '█';
  color: var(--cyan);
  animation: blink 1s steps(1) infinite;
  margin-left: 1px;
  font-size: 0.7rem;
}
@keyframes blink { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }

.terminal__feed {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.t-line {
  display: flex;
  gap: 0.75rem;
  font-size: 0.78rem;
  line-height: 1.6;
}

.t-key {
  color: var(--text-muted);
  min-width: 4rem;
}

.t-val { color: var(--text-dim); }

.t-line--active .t-key { color: var(--green); }
.t-line--active .t-val {
  color: var(--text);
  animation: activeLog 2s ease-in-out infinite;
}
@keyframes activeLog {
  0%, 100% { opacity: 0.7; }
  50%       { opacity: 1; }
}

.terminal__divider {
  height: 1px;
  background: var(--border);
  margin: 1.25rem 0;
}

.terminal__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.t-stat {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.t-stat__label {
  font-size: 0.62rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.t-stat__val {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text);
}
.t-stat__val--green { color: var(--green); }

/* Floating cards */
.hero__float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 1rem;
  background: var(--bg-surface-hi);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-card);
  font-size: 0.72rem;
  animation: floatBob 4s ease-in-out infinite;
}

.hero__float span { color: var(--text-muted); display: block; }
.hero__float strong { color: var(--cyan); display: block; font-size: 0.78rem; }

.hero__float img {
  width: 36px; height: 36px;
  object-fit: cover;
  border-radius: var(--r-sm);
}

.hero__float svg {
  width: 24px; height: 24px;
  fill: var(--cyan);
  filter: drop-shadow(0 0 6px var(--cyan));
}

.hero__float--one {
  top: -1.5rem;
  right: -1rem;
  animation-delay: 0s;
}

.hero__float--two {
  bottom: 1rem;
  right: -1.5rem;
  animation-delay: -2s;
}

@keyframes floatBob {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}

/* Ticker */
.hero__ticker {
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 0.85rem 0;
  background: rgba(0,229,255,0.02);
}

.ticker__track {
  display: flex;
  gap: 2.5rem;
  width: max-content;
  animation: ticker 30s linear infinite;
  font-size: 0.72rem;
  color: var(--text-dim);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: 'JetBrains Mono', monospace;
}

.ticker__track span:not(.divider) { color: var(--text-muted); }

@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── ABOUT / MISSION ────────────────────────────────────── */
.about {
  position: relative;
}

.about__content {
  display: grid;
  gap: 2rem;
}

.about__lead {
  max-width: 760px;
  font-size: 0.9rem;
  line-height: 1.9;
  color: var(--text-muted);
}

.about__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.about-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 1.75rem;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: transform 0.35s var(--ease-spring), border-color 0.3s ease, box-shadow 0.35s ease;
}

.about-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(0,229,255,0.07), transparent 60%);
  pointer-events: none;
}

.about-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0,229,255,0.32);
  box-shadow: 0 16px 40px rgba(0,0,0,0.35), 0 0 24px rgba(0,229,255,0.08);
}

.about-card > * {
  position: relative;
  z-index: 1;
}

.about-card h3 {
  font-size: 1.05rem;
  line-height: 1.25;
  margin-bottom: 0.7rem;
  color: var(--text);
}

.about-card p {
  font-size: 0.8rem;
  line-height: 1.75;
  color: var(--text-muted);
}

/* ── CAPABILITIES ────────────────────────────────────────── */
.capabilities { position: relative; }

.cap-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: auto;
  gap: 1.25rem;
}

.cap-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s var(--ease-spring), border-color 0.3s ease, box-shadow 0.4s ease;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

/* Mouse-follow glow */
.cap-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(600px circle at var(--mx, 50%) var(--my, 50%), rgba(0,229,255,0.07), transparent 50%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 0;
}
.cap-card:hover::before { opacity: 1; }

.cap-card > * { position: relative; z-index: 1; }

.cap-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0,229,255,0.35);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4), 0 0 30px rgba(0,229,255,0.1);
}

.cap-card--featured {
  grid-row: span 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 320px;
  background: linear-gradient(160deg, rgba(0,229,255,0.08) 0%, var(--bg-surface) 60%);
}

.cap-card--featured .cap-card__accent {
  position: absolute;
  top: -60px; right: -60px;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,229,255,0.2), transparent 70%);
  filter: blur(30px);
  pointer-events: none;
}

.cap-card__icon {
  width: 3rem; height: 3rem;
  display: grid; place-items: center;
  border-radius: var(--r-md);
  background: var(--cyan-dim);
  border: 1px solid rgba(0,229,255,0.25);
  margin-bottom: 1.25rem;
  transition: all 0.4s var(--ease-spring);
}

.cap-card:hover .cap-card__icon {
  transform: scale(1.1) rotate(-5deg);
  background: rgba(0,229,255,0.2);
  box-shadow: 0 0 20px var(--cyan-glow);
}

.cap-card__icon svg {
  width: 1.4rem; height: 1.4rem;
  fill: var(--cyan);
}

.cap-card h3 {
  font-size: 1.15rem;
  line-height: 1.3;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.cap-card--featured h3 { font-size: 1.5rem; }

.cap-card p {
  font-size: 0.82rem;
  line-height: 1.75;
  color: var(--text-muted);
}

/* ── METRICS ─────────────────────────────────────────────── */
.metrics {
  position: relative;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.metric-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 1.75rem;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: transform 0.4s var(--ease-spring), border-color 0.3s ease;
}

.metric-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0,229,255,0.3);
}

/* Decorative corner glow */
.metric-card::after {
  content: '';
  position: absolute;
  bottom: -30px; right: -30px;
  width: 120px; height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,229,255,0.15), transparent 70%);
  pointer-events: none;
}

.metric-card__top {
  margin-bottom: 1rem;
}

.metric-card__label {
  display: block;
  font-size: 0.65rem;
  font-family: 'JetBrains Mono', monospace;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 0.75rem;
}

.metric-card__bar {
  height: 2px;
  background: var(--border);
  border-radius: 1px;
  overflow: hidden;
}

.metric-card__fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--cyan), var(--green));
  border-radius: 1px;
  transition: width 1.4s var(--ease-out-expo);
}

.metric-card.animated .metric-card__fill {
  width: var(--fill);
}

.counter {
  display: block;
  font-size: clamp(2.4rem, 4vw, 3.5rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--text);
  margin: 0.5rem 0 0.85rem;
}

.metric-card p {
  font-size: 0.78rem;
  line-height: 1.7;
  color: var(--text-muted);
}

/* ── PROGRAMS ─────────────────────────────────────────────── */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.25rem;
}

.prog-card {
  grid-column: span 6;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s var(--ease-spring), border-color 0.3s ease, box-shadow 0.4s ease;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.prog-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0,229,255,0.3);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4), 0 0 30px rgba(0,229,255,0.08);
}

.prog-card--wide {
  grid-column: span 12;
  flex-direction: row;
}

.prog-card__media {
  position: relative;
  overflow: hidden;
}

.prog-card:not(.prog-card--wide) .prog-card__media {
  height: 220px;
}

.prog-card--wide .prog-card__media {
  width: 45%;
  flex-shrink: 0;
  min-height: 280px;
}

.prog-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.85) brightness(0.75);
  transition: transform 0.6s var(--ease-out-expo), filter 0.4s ease;
}

.prog-card:hover .prog-card__media img {
  transform: scale(1.06);
  filter: saturate(1) brightness(0.9);
}

.prog-card__media-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(5,10,16,0.85));
}

.prog-card--wide .prog-card__media-overlay {
  background: linear-gradient(to right, transparent 60%, rgba(5,10,16,0.9));
}

.prog-card__body {
  padding: 1.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.prog-card__body h3 {
  font-size: 1.15rem;
  line-height: 1.3;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.prog-card__body p {
  font-size: 0.8rem;
  line-height: 1.75;
  color: var(--text-muted);
  flex: 1;
  margin-bottom: 1.25rem;
}

.prog-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: 'Syne', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan);
  transition: gap 0.25s var(--ease-spring);
}
.prog-card__link svg {
  width: 14px; height: 14px;
  fill: none;
  stroke: var(--cyan);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.25s var(--ease-spring);
}
.prog-card__link:hover { gap: 0.7rem; }
.prog-card__link:hover svg { transform: translateX(3px); }

/* ── EVENTS ─────────────────────────────────────────────── */
.events {
  position: relative;
}

.events__stack {
  display: grid;
  gap: 2rem;
}

.events-group {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 2rem;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.events-group__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.events-group__intro {
  max-width: 520px;
  font-size: 0.8rem;
  line-height: 1.75;
  color: var(--text-muted);
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.events-grid--past {
  grid-template-columns: repeat(3, 1fr);
}

.event-card {
  background: rgba(5, 10, 16, 0.7);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s var(--ease-spring), border-color 0.3s ease, box-shadow 0.35s ease;
}

.event-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(0,229,255,0.05), transparent 65%);
  pointer-events: none;
}

.event-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0,229,255,0.32);
  box-shadow: 0 18px 40px rgba(0,0,0,0.32);
}

.event-card--upcoming {
  border-color: rgba(168,85,247,0.32);
}

.event-card--upcoming::before {
  background: linear-gradient(160deg, rgba(168,85,247,0.12), transparent 65%);
}

.event-card > * {
  position: relative;
  z-index: 1;
}

.event-card__date {
  display: inline-block;
  margin-bottom: 0.8rem;
  font-size: 0.68rem;
  font-family: 'JetBrains Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--green);
}

.event-card h3 {
  font-size: 1.05rem;
  line-height: 1.3;
  margin-bottom: 0.7rem;
  color: var(--text);
}

.event-card p {
  font-size: 0.8rem;
  line-height: 1.75;
  color: var(--text-muted);
}

/* ── CONTACT ─────────────────────────────────────────────── */
.contact-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 3.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  position: relative;
  overflow: hidden;
}

.contact-card::before {
  content: '';
  position: absolute;
  top: -100px; left: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(0,229,255,0.06), transparent 70%);
  pointer-events: none;
}

.contact-card h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1.1;
  margin: 0.5rem 0 1rem;
}

.contact-card__lead {
  font-size: 0.85rem;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.contact-card__links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: 'Syne', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: color 0.25s ease, gap 0.25s ease;
}
.contact-link svg {
  width: 16px; height: 16px;
  fill: currentColor;
  transition: color 0.25s ease;
}
.contact-link:hover { color: var(--cyan); }

/* Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.form-field label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.form-field input,
.form-field textarea {
  background: rgba(5, 10, 16, 0.8);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
  padding: 0.85rem 1rem;
  border-radius: var(--r-md);
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.form-field textarea {
  resize: vertical;
  min-height: 140px;
}

.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--text-dim); }

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0,229,255,0.1);
  background: rgba(0,229,255,0.03);
}

.form-status {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-align: center;
  min-height: 1rem;
  transition: color 0.3s ease;
  letter-spacing: 0.05em;
}

.form-status.sending {
  color: var(--cyan);
}

.form-status.success {
  color: var(--green);
}

.form-status.error {
  color: #ff5555;
}

/* ── FOOTER ──────────────────────────────────────────────── */
.footer {
  padding: 2.5rem 0;
  border-top: 1px solid var(--border);
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer__brand strong {
  font-family: 'Syne', sans-serif;
  font-size: 0.9rem;
  display: block;
  margin-bottom: 0.2rem;
}

.footer__brand p {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.footer__links {
  display: flex;
  gap: 1.5rem;
}

.footer__links a {
  font-size: 0.78rem;
  color: var(--text-muted);
  transition: color 0.25s ease;
}
.footer__links a:hover { color: var(--cyan); }

.footer__copy {
  font-size: 0.68rem;
  color: var(--text-dim);
}

/* ── SCROLL REVEAL ───────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-out-expo), transform 0.7s var(--ease-out-expo);
}
.reveal-stagger.in-view > *:nth-child(1) { opacity: 1; transform: none; transition-delay: 0s; }
.reveal-stagger.in-view > *:nth-child(2) { opacity: 1; transform: none; transition-delay: 0.1s; }
.reveal-stagger.in-view > *:nth-child(3) { opacity: 1; transform: none; transition-delay: 0.2s; }
.reveal-stagger.in-view > *:nth-child(4) { opacity: 1; transform: none; transition-delay: 0.3s; }

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .about__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .events-grid--past {
    grid-template-columns: repeat(2, 1fr);
  }

  .cap-grid {
    grid-template-columns: 1fr 1fr;
  }
  .cap-card--featured {
    grid-column: span 2;
    grid-row: span 1;
  }

  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .prog-card--wide {
    flex-direction: column;
  }
  .prog-card--wide .prog-card__media {
    width: 100%;
    min-height: 220px;
  }
}

@media (max-width: 860px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero__float--two { right: 0; }

  .events-group__head {
    flex-direction: column;
  }

  .events-grid,
  .events-grid--past {
    grid-template-columns: 1fr;
  }

  .contact-card {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 2rem;
  }

  .prog-card { grid-column: span 12; }
}

@media (max-width: 640px) {
  .header__nav { display: none; }
  .header__cta { display: none; }
  .header__burger { display: flex; }

  .section { padding: 4rem 0; }

  .about__grid {
    grid-template-columns: 1fr;
  }

  .cap-grid {
    grid-template-columns: 1fr;
  }
  .cap-card--featured { grid-column: span 1; }

  .metrics-grid {
    grid-template-columns: 1fr;
  }

  .footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero__float--one,
  .hero__float--two { display: none; }
}

/* ── TEAMS PAGE ──────────────────────────────────────────── */
.page-hero {
  padding-top: 8.5rem;
  padding-bottom: 2rem;
}

.page-hero__inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: end;
}

.page-hero__copy p {
  max-width: 620px;
  font-size: 0.9rem;
  line-height: 1.85;
  color: var(--text-muted);
  margin-top: 1.2rem;
}

.page-hero__panel {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 1.6rem;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.page-hero__panel-label {
  display: block;
  margin-bottom: 0.8rem;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green);
}

.page-hero__panel ul {
  list-style: none;
  display: grid;
  gap: 0.9rem;
}

.page-hero__panel li {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.page-hero__panel li a {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: inherit;
  transition: color 0.25s ease;
}

.page-hero__panel li a:hover,
.page-hero__panel li a:focus-visible {
  color: var(--cyan);
}

.page-hero__panel strong {
  color: var(--text);
  font-family: 'Syne', sans-serif;
  font-size: 0.92rem;
}

.page-hero__panel li a:hover strong,
.page-hero__panel li a:focus-visible strong {
  color: var(--cyan);
}

.team-directory {
  display: grid;
  gap: 2.5rem;
}

.team-cluster {
  display: grid;
  gap: 1.25rem;
}

.team-cluster__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
}

.team-cluster__head p {
  max-width: 520px;
  font-size: 0.78rem;
  line-height: 1.7;
  color: var(--text-muted);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.1rem;
}

@media (min-width: 1280px) {
  .team-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 2.4rem;
  }
}

.team-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: transform 0.35s var(--ease-spring), border-color 0.3s ease, box-shadow 0.35s ease;
}

.team-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0,229,255,0.32);
  box-shadow: 0 20px 42px rgba(0,0,0,0.35), 0 0 24px rgba(0,229,255,0.08);
}

.team-card__media {
  position: relative;
  aspect-ratio: 4 / 4.1;
  overflow: hidden;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 20% 20%, rgba(0,229,255,0.25), transparent 35%),
    radial-gradient(circle at 80% 15%, rgba(168,85,247,0.22), transparent 30%),
    linear-gradient(160deg, rgba(11, 22, 36, 0.98), rgba(4, 8, 15, 1));
}

.team-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5,10,16,0.02), rgba(5,10,16,0.82));
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
}

.team-card__media img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.team-card__fallback {
  position: absolute;
  z-index: 0;
  display: grid;
  place-items: center;
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  border: 1px solid rgba(0,229,255,0.35);
  background: rgba(0,229,255,0.08);
  color: var(--cyan);
  font-family: 'Syne', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.team-card__socials {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 3;
  display: flex;
  gap: 0.65rem;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.3s ease, transform 0.3s var(--ease-out-expo);
  pointer-events: none;
}

.team-card__socials a {
  flex: 1;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 2.5rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(5,10,16,0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--text);
  font-family: 'Syne', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: border-color 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.team-card__socials a:hover {
  border-color: var(--border-hi);
  background: rgba(0,229,255,0.12);
  color: var(--cyan);
}

.team-card:hover .team-card__media::after,
.team-card:focus-within .team-card__media::after {
  opacity: 1;
}

.team-card:hover .team-card__socials,
.team-card:focus-within .team-card__socials {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.team-card__media--fallback img {
  display: none;
}

.team-card__body {
  padding: 1.4rem;
}

.team-card__role {
  display: inline-block;
  margin-bottom: 0.65rem;
  font-size: 0.68rem;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
}

.team-card h3 {
  font-size: 1.1rem;
  line-height: 1.2;
  margin-bottom: 0.55rem;
  color: var(--text);
}

@media (max-width: 1024px) {
  .page-hero__inner,
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.6rem;
  }

  .page-hero__inner {
    grid-template-columns: 1fr;
    align-items: start;
  }
}

@media (max-width: 860px) {
  .team-cluster__head {
    flex-direction: column;
    align-items: flex-start;
  }
}

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

  .team-card__media::after,
  .team-card__socials {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

  .page-hero {
    padding-top: 7rem;
  }
}

/* ── TEAM SLIDESHOW ─────────────────────────────────────── */
.team-slideshow-section {
  padding-bottom: 2rem;
}

.team-slideshow {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  background: rgba(5, 10, 16, 0.72);
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 600px;
  min-height: 360px;
  box-shadow: var(--shadow-card), 0 0 40px rgba(0, 229, 255, 0.04);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.team-slideshow__track {
  position: relative;
  width: 100%;
  height: 100%;
}

.team-slideshow__slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 1s var(--ease-out-expo), transform 1s var(--ease-out-expo);
  transform: scale(1.02);
  z-index: 1;
}

.team-slideshow__slide.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
  z-index: 2;
}

.team-slideshow__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7) contrast(1.05);
  transition: transform 8s ease-out;
}

.team-slideshow__slide.is-active img {
  transform: scale(1.06);
}

.team-slideshow__caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 3rem 2.5rem 2.5rem;
  background: linear-gradient(to top, rgba(5, 10, 16, 0.95) 20%, rgba(5, 10, 16, 0.6) 70%, transparent);
  color: var(--text);
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  pointer-events: none;
}

.team-slideshow__caption h3 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  color: var(--cyan);
  text-shadow: 0 0 12px var(--cyan-glow);
  font-weight: 800;
  line-height: 1.2;
}

.team-slideshow__caption p {
  font-family: 'JetBrains Mono', monospace;
  font-size: clamp(0.75rem, 1.3vw, 0.88rem);
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 680px;
}

.team-slideshow__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  display: grid;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(5, 10, 16, 0.8);
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.3s var(--ease-spring);
  padding: 0;
}

.team-slideshow__btn svg {
  width: 1.5rem;
  height: 1.5rem;
}

.team-slideshow__btn:hover {
  color: var(--cyan);
  border-color: var(--cyan);
  background: var(--cyan-dim);
  box-shadow: 0 0 15px var(--cyan-glow);
  transform: translateY(-50%) scale(1.1);
}

.team-slideshow__btn--prev {
  left: 1.5rem;
}

.team-slideshow__btn--next {
  right: 1.5rem;
}

.team-slideshow__indicators {
  position: absolute;
  bottom: 2.5rem;
  right: 2.5rem;
  z-index: 4;
  display: flex;
  gap: 0.6rem;
}

.team-slideshow__indicators .indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.25);
  padding: 0;
  cursor: pointer;
  transition: all 0.3s ease;
}

.team-slideshow__indicators .indicator:hover {
  background: rgba(255, 255, 255, 0.6);
  border-color: rgba(255, 255, 255, 0.6);
}

.team-slideshow__indicators .indicator.is-active {
  width: 24px;
  border-radius: 4px;
  background: var(--cyan);
  border-color: var(--cyan);
  box-shadow: 0 0 10px var(--cyan-glow);
}

@media (max-width: 768px) {
  .team-slideshow {
    aspect-ratio: 4 / 3;
    min-height: 320px;
  }
  
  .team-slideshow__btn {
    width: 2.5rem;
    height: 2.5rem;
  }
  
  .team-slideshow__btn svg {
    width: 1.25rem;
    height: 1.25rem;
  }
  
  .team-slideshow__btn--prev {
    left: 0.75rem;
  }
  
  .team-slideshow__btn--next {
    right: 0.75rem;
  }
  
  .team-slideshow__caption {
    padding: 2rem 1.5rem 1.5rem;
  }
  
  .team-slideshow__indicators {
    bottom: 1.5rem;
    right: 1.5rem;
  }
}

@media (max-width: 480px) {
  .team-slideshow {
    aspect-ratio: 1 / 1;
  }
  
  .team-slideshow__btn {
    display: none;
  }
  
  .team-slideshow__caption {
    padding: 1.5rem 1rem 1rem;
  }
  
  .team-slideshow__indicators {
    bottom: 1rem;
    right: 50%;
    transform: translateX(50%);
  }
}

