/* ==========================================================================
   Woblixy
   Design tokens + volcano theme. Mobile-first; enhancements at min-width.
   ========================================================================== */

/* The [hidden] attribute must always win: several components (.field, .btn-action)
   set their own `display`, which otherwise overrides the browser default
   `[hidden]{display:none}` and leaves "hidden" elements visible. */
[hidden] { display: none !important; }

:root {
  --bg-primary: #140A1F;
  --bg-secondary: #221033;
  --accent-primary: #A855F7;
  --accent-secondary: #C4B5FD;
  --color-win: #D8B4FE;
  --color-loss: #B91C1C;
  --text-primary: #F3EDF8;
  --text-muted: #B3A1C2;

  --accent-gradient: linear-gradient(135deg, #7C3AED, var(--accent-primary) 55%, var(--accent-secondary));
  --accent-glow: 0 0 12px rgba(168, 85, 247, 0.55), 0 0 4px rgba(196, 181, 253, 0.8);
  --accent-glow-soft: 0 0 18px rgba(168, 85, 247, 0.55);

  --radius: 14px;
  --radius-sm: 9px;
  --max-width: 1080px;

  --font-head: "Poppins", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  /* subtle warm lava ambience */
  background-image:
    radial-gradient(1200px 500px at 50% -10%, rgba(168, 85, 247, 0.10), transparent 60%),
    radial-gradient(900px 500px at 90% 110%, rgba(196, 181, 253, 0.10), transparent 60%);
  background-attachment: fixed;
}

h1, h2, h3, .brand-name { font-family: var(--font-head); letter-spacing: 0.3px; }
a { color: var(--accent-secondary); text-decoration: none; }
a:hover { color: var(--color-win); }
.muted { color: var(--text-muted); }

/* --- Header / footer ---------------------------------------------------- */
.site-header {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 0.9rem 1.1rem;
  background: rgba(26, 10, 35, 0.75);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(196, 181, 253, 0.2);
  position: sticky; top: 0; z-index: 20; flex-wrap: wrap;
}
.brand { display: flex; align-items: center; gap: 0.55rem; color: var(--text-primary); }
.brand-mark {
  width: 34px; height: 34px; display: block;
  filter: drop-shadow(0 0 7px rgba(168, 85, 247, 0.55));
  transition: transform 0.25s ease, filter 0.25s ease;
}
.brand:hover .brand-mark {
  transform: translateY(-1px) scale(1.06) rotate(-3deg);
  filter: drop-shadow(0 0 11px rgba(168, 85, 247, 0.8));
}
.brand-name { font-weight: 800; font-size: 1.35rem;
  background: var(--accent-gradient); -webkit-background-clip: text;
  background-clip: text; color: transparent; }
.volcano-icon { filter: drop-shadow(0 0 6px rgba(168, 85, 247, 0.5)); }
.site-nav { display: flex; gap: 0.35rem 1.1rem; flex-wrap: wrap; }
.site-nav a { color: var(--text-muted); font-weight: 500; font-size: 0.95rem; }
.site-nav a:hover { color: var(--text-primary); }

.site-main { flex: 1; width: 100%; max-width: var(--max-width);
  margin: 0 auto; padding: 1.1rem; }

.site-footer {
  text-align: center; padding: 1.6rem 1rem; margin-top: 2rem;
  border-top: 1px solid rgba(196, 181, 253, 0.18);
  background: rgba(0,0,0,0.25);
}
.site-footer .demo-note {
  color: var(--color-win); font-weight: 600; margin: 0.35rem 0;
}
.brand-name-sm {
  font-family: var(--font-head); font-weight: 700;
  display: inline-flex; align-items: center; gap: 0.45rem;
}
.footer-mark {
  width: 22px; height: 22px; display: block;
  filter: drop-shadow(0 0 6px rgba(168, 85, 247, 0.45));
}

/* --- Buttons ------------------------------------------------------------ */
.btn {
  display: inline-block; border: none; cursor: pointer;
  font-family: var(--font-head); font-weight: 700; font-size: 1rem;
  padding: 0.8rem 1.4rem; border-radius: var(--radius-sm);
  color: #fff; transition: transform 0.12s ease, box-shadow 0.2s ease, filter 0.2s ease;
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn-lava { background: var(--accent-gradient); box-shadow: var(--accent-glow-soft); color: #fff; }
.btn-lava:hover { filter: brightness(1.08); color: #fff; }
.btn-lg { padding: 1rem 2rem; font-size: 1.2rem; }
.btn-outline {
  background: transparent; border: 1.5px solid var(--accent-secondary);
  color: var(--text-primary); box-shadow: var(--accent-glow);
}

/* --- Landing / hero ----------------------------------------------------- */
.hero { position: relative; text-align: center; padding: 3rem 1rem 2.5rem; overflow: hidden; }
.hero-glow {
  position: absolute; inset: -30% 20% auto; height: 340px; z-index: 0;
  background: radial-gradient(closest-side, rgba(168, 85, 247, 0.35), transparent);
  filter: blur(40px); pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; }
.hero-logo { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.4rem; }
.hero-logo .volcano-icon { width: 44px; height: 44px; }
.hero-mark {
  width: clamp(84px, 20vw, 120px); height: auto; display: block;
  filter: drop-shadow(0 6px 22px rgba(168, 85, 247, 0.55));
  animation: hero-float 4.5s ease-in-out infinite;
}
@keyframes hero-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-9px) rotate(1.5deg); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-mark { animation: none; }
}
.hero-title {
  font-size: clamp(3rem, 12vw, 5.5rem); font-weight: 800; line-height: 1;
  background: var(--accent-gradient); -webkit-background-clip: text;
  background-clip: text; color: transparent;
  text-shadow: 0 0 40px rgba(168, 85, 247, 0.25);
}
.hero-tagline { font-size: clamp(1.2rem, 4vw, 1.7rem); font-weight: 600; margin-top: 0.6rem; }
.hero-sub { color: var(--text-muted); max-width: 34rem; margin: 0.6rem auto 1.6rem; }
.hero-note { color: var(--text-muted); margin-top: 0.9rem; font-size: 0.9rem; }

.features {
  display: grid; gap: 1rem; margin: 2.5rem 0;
  grid-template-columns: 1fr;
}
.feature-card {
  background: var(--bg-secondary); border: 1px solid rgba(196, 181, 253, 0.18);
  border-radius: var(--radius); padding: 1.3rem;
}
.feature-card h3 { color: var(--accent-secondary); margin-bottom: 0.4rem; }
.feature-card p { color: var(--text-muted); margin-bottom: 0.5rem; }

.about {
  background: var(--bg-secondary); border-radius: var(--radius); padding: 1.6rem;
  border: 1px solid rgba(196, 181, 253, 0.18); margin-bottom: 2rem;
}
.about h2 { margin-bottom: 0.7rem; }
.about p { color: var(--text-muted); margin-bottom: 0.9rem; }

/* --- Game page ---------------------------------------------------------- */
.game { display: flex; flex-direction: column; gap: 0.9rem; }

.history-bar {
  display: flex; gap: 0.4rem; overflow-x: auto; padding: 0.2rem;
  scrollbar-width: thin;
}
.history-pill {
  flex: 0 0 auto; font-family: var(--font-head); font-weight: 700;
  font-size: 0.82rem; padding: 0.28rem 0.55rem; border-radius: 999px;
  background: var(--bg-secondary); border: 1px solid transparent;
  white-space: nowrap;
}
.history-pill.low { color: var(--color-loss); border-color: rgba(185, 28, 28, 0.45); }
.history-pill.mid { color: var(--text-muted); border-color: rgba(148, 163, 184, 0.4); }
.history-pill.high { color: var(--color-win); border-color: rgba(216, 180, 254, 0.5); }

.stage {
  position: relative; border-radius: var(--radius); overflow: hidden;
  background: radial-gradient(120% 120% at 50% 100%, #2A0F3E, #0B0710);
  border: 1px solid rgba(168, 85, 247, 0.22);
  aspect-ratio: 16 / 10; min-height: 260px;
  --intensity: 0; /* 0..1, written from game.js as the multiplier climbs */
}

/* Ambient energy glow behind the volcano — slowly breathes, and grows hotter
   and brighter as --intensity rises. Warm lava tones to match the photo. */
.ambient-glow {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(85% 70% at 50% 110%,
      rgba(168, 85, 247, calc(0.12 + var(--intensity) * 0.50)), transparent 70%),
    radial-gradient(55% 55% at 50% 104%,
      rgba(124, 58, 237, calc(0.05 + var(--intensity) * 0.45)), transparent 70%);
  animation: breathe 5s ease-in-out infinite;
}
@keyframes breathe {
  0%, 100% { opacity: 0.82; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}

/* Wraps the business-supplied volcano photo + the effects canvas drawn over it. */
.volcano-visual {
  position: absolute; inset: 0; z-index: 1; transform-origin: 50% 70%;
}
.volcano-photo,
.volcano-media {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 65%;
  filter: saturate(1.05) brightness(0.92);
}
/* Eruption video sits above the loop and fades in only while it plays. */
.volcano-eruption { z-index: 1; opacity: 0; transition: opacity 0.25s ease; }
.volcano-eruption.is-playing { opacity: 1; }
.volcano-canvas {
  position: absolute; inset: 0; width: 100%; height: 100%; display: block;
}
/* Full-body crash reaction: a quick scale + brightness pulse. */
.volcano-visual.erupting { animation: erupt-pulse 0.6s ease-out; }
@keyframes erupt-pulse {
  0%   { transform: scale(1);     filter: brightness(1); }
  22%  { transform: scale(1.06);  filter: brightness(1.8); }
  60%  { transform: scale(0.985); filter: brightness(1.15); }
  100% { transform: scale(1);     filter: brightness(1); }
}

/* Billowing smoke plume rising out of the crater — layered, staggered puffs
   in the photo's own red/orange palette so it reads as one continuous scene.
   Speed and opacity pick up with --intensity as the multiplier climbs. */
.smoke-plume {
  position: absolute; inset: 0; z-index: 2; pointer-events: none; overflow: hidden;
}
.smoke-plume .puff {
  position: absolute; left: 50%; top: 34%;
  width: 70px; height: 70px; margin: -35px 0 0 -35px; border-radius: 50%;
  background: radial-gradient(circle, rgba(192, 132, 252, 0.55), rgba(76, 29, 127, 0) 72%);
  filter: blur(2px); mix-blend-mode: screen;
  opacity: 0; transform: scale(0.6);
  animation: smoke-rise 6s ease-in infinite;
  animation-duration: calc(6s - var(--intensity) * 2.5s);
}
.smoke-plume .p1 { left: 47%; animation-delay: 0s; }
.smoke-plume .p2 { left: 53%; width: 56px; height: 56px; margin-top: -28px; margin-left: -28px; animation-delay: 1.5s; }
.smoke-plume .p3 { left: 49%; width: 86px; height: 86px; margin-top: -43px; margin-left: -43px; animation-delay: 3s; }
.smoke-plume .p4 { left: 52%; width: 50px; height: 50px; margin-top: -25px; margin-left: -25px; animation-delay: 4.5s; }
@keyframes smoke-rise {
  0%   { transform: translateY(10%) scale(0.55); opacity: 0; }
  15%  { opacity: calc(0.35 + var(--intensity) * 0.45); }
  70%  { opacity: calc(0.16 + var(--intensity) * 0.3); }
  100% { transform: translateY(-220%) scale(1.7); opacity: 0; }
}

/* Heat shimmer above the crater — fades in and quickens as intensity climbs. */
.heat-shimmer {
  position: absolute; left: 32%; right: 32%; top: 10%; height: 34%;
  z-index: 2; pointer-events: none;
  opacity: calc(var(--intensity) * 0.65);
  background: repeating-linear-gradient(0deg,
    rgba(168, 85, 247, 0.07) 0px, rgba(168, 85, 247, 0) 7px, rgba(124, 58, 237, 0.08) 13px);
  mix-blend-mode: screen; filter: blur(2px);
  animation: shimmer 1.1s ease-in-out infinite;
  transition: opacity 0.4s ease;
}
@keyframes shimmer {
  0%, 100% { transform: translateY(0) skewX(0deg); }
  50%      { transform: translateY(-5px) skewX(2.5deg); }
}

.stage-overlay {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center; z-index: 3;
  pointer-events: none;
}
.multiplier {
  font-family: var(--font-head); font-weight: 800;
  font-size: clamp(3rem, 15vw, 6.5rem); line-height: 1;
  color: var(--text-primary); text-shadow: var(--accent-glow-soft);
  transition: color 0.2s ease;
}
.multiplier.running { color: var(--color-win); }
.multiplier.crashed { color: var(--color-loss); text-shadow: 0 0 18px rgba(124, 58, 237, 0.6); }
.phase-label { margin-top: 0.4rem; color: var(--text-muted); font-weight: 600;
  text-transform: uppercase; letter-spacing: 2px; font-size: 0.8rem; }

.stage-topbar {
  position: absolute; top: 0; left: 0; right: 0; z-index: 4;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.7rem; gap: 0.5rem;
}
.balance-chip {
  background: rgba(26, 10, 35, 0.7); border: 1px solid rgba(196, 181, 253, 0.3);
  border-radius: 999px; padding: 0.35rem 0.8rem; display: flex; gap: 0.4rem;
  align-items: baseline; font-size: 0.85rem;
}
.balance-chip strong { font-family: var(--font-head); color: var(--color-win); font-size: 1rem; }
.balance-chip .coin { color: var(--text-muted); font-size: 0.75rem; }
.sound-toggle {
  background: rgba(26, 10, 35, 0.7); border: 1px solid rgba(196, 181, 253, 0.3);
  color: var(--text-muted); border-radius: 999px; padding: 0.35rem 0.7rem;
  cursor: pointer; font-family: var(--font-body); font-size: 0.8rem;
}
.sound-toggle[aria-pressed="true"] { color: var(--color-win); border-color: var(--color-win); }

/* --- Bet panels --------------------------------------------------------- */
.bet-panels { display: grid; grid-template-columns: 1fr; gap: 0.9rem; }
.bet-panel {
  background: var(--bg-secondary); border: 1px solid rgba(196, 181, 253, 0.18);
  border-radius: var(--radius); padding: 1rem;
}
.bet-panel-head { font-family: var(--font-head); font-weight: 700; margin-bottom: 0.6rem; }

/* Betting countdown */
.countdown { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.8rem; }
.countdown[hidden] { display: none; }
.countdown-track {
  flex: 1; height: 8px; border-radius: 999px; overflow: hidden;
  background: var(--bg-primary); border: 1px solid rgba(148, 163, 184, 0.25);
}
.countdown-bar {
  height: 100%; width: 100%; border-radius: 999px;
  background: var(--accent-gradient); box-shadow: var(--accent-glow-soft);
}
.countdown-text {
  font-family: var(--font-head); font-weight: 700; color: var(--color-win);
  font-size: 0.9rem; min-width: 2.8em; text-align: right;
}

/* Provably-fair commitment line under the stage */
.round-commit { text-align: center; color: var(--text-muted); font-size: 0.78rem; margin: 0.6rem 0 0; }
.round-commit[hidden] { display: none; }
.round-commit span { font-family: ui-monospace, "SFMono-Regular", Menlo, monospace; letter-spacing: 0.3px; }
.round-commit a { margin-left: 0.45rem; white-space: nowrap; }
.commit-copy {
  margin-left: 0.45rem; padding: 0; white-space: nowrap;
  background: transparent; border: none; cursor: pointer;
  font: inherit; color: var(--accent-secondary); text-decoration: underline;
}
.commit-copy:hover { color: var(--color-win); }
.field-label { display: block; color: var(--text-muted); font-size: 0.78rem;
  text-transform: uppercase; letter-spacing: 1px; margin: 0 0 0.25rem; }
/* Manual cash-out only: a single Amount field (no auto cash-out target). */
.bet-fields { display: grid; grid-template-columns: 1fr; gap: 0.6rem; }
.field { display: flex; flex-direction: column; }
.amount-input {
  width: 100%; background: var(--bg-primary); color: var(--text-primary);
  border: 1px solid rgba(148, 163, 184, 0.3); border-radius: var(--radius-sm);
  padding: 0.7rem 0.8rem; font-size: 1.05rem; font-family: var(--font-head);
}
.amount-input:focus { outline: none; border-color: var(--accent-secondary); box-shadow: var(--accent-glow); }
.amount-input:disabled { opacity: 0.55; cursor: not-allowed; }
/* Invalid field: red border + glow, nudged with a quick shake so an empty
   Confirm is impossible to miss. Cleared the moment the player edits the field. */
.amount-input.input-error {
  border-color: var(--color-loss);
  box-shadow: 0 0 0 1px var(--color-loss), 0 0 10px rgba(185, 28, 28, 0.4);
  animation: input-shake 0.3s ease;
}
@keyframes input-shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  75% { transform: translateX(5px); }
}
.btn-action {
  width: 100%; margin-top: 0.9rem; padding: 0.95rem; border-radius: var(--radius-sm);
  font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; cursor: pointer;
  border: none; color: #fff; background: var(--accent-gradient); box-shadow: var(--accent-glow-soft);
  transition: filter 0.15s ease, transform 0.1s ease;
}
.btn-action:hover { filter: brightness(1.08); }
.btn-action:active { transform: translateY(1px); }
.btn-action:disabled { filter: grayscale(0.6) brightness(0.7); cursor: not-allowed; box-shadow: none; }

/* Cash-out state: gold, pulsing */
.btn-action.cashout { background: linear-gradient(135deg, #7C3AED, var(--color-win)); color: var(--bg-primary); }
.btn-action.cashout.pulse { animation: pulse 1s ease-in-out infinite; }
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(216, 180, 254, 0.55); transform: scale(1); }
  50% { box-shadow: 0 0 0 12px rgba(216, 180, 254, 0); transform: scale(1.02); }
}

.bet-status { margin-top: 0.55rem; font-size: 0.88rem; min-height: 1.2em; font-weight: 600; }
.bet-status.win { color: var(--color-win); }
.bet-status.loss { color: var(--color-loss); }
.bet-status.info { color: var(--text-muted); }

.demo-inline-note { text-align: center; color: var(--text-muted); font-size: 0.8rem; margin-top: 0.4rem; }

/* --- Leaderboard -------------------------------------------------------- */
.page-title { font-size: clamp(1.8rem, 6vw, 2.6rem); margin-bottom: 0.4rem; }
.board { display: flex; flex-direction: column; gap: 1rem; }
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; margin: 1rem 0; }
.stat-card {
  background: var(--bg-secondary); border: 1px solid rgba(196, 181, 253, 0.18);
  border-radius: var(--radius); padding: 1.1rem; display: flex; flex-direction: column; gap: 0.3rem;
}
.stat-label { color: var(--text-muted); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; }
.stat-value { font-family: var(--font-head); font-weight: 800; font-size: 2rem; }
.stat-value.win { color: var(--color-win); text-shadow: var(--accent-glow-soft); }
.stat-sub { color: var(--text-muted); font-size: 0.8rem; }

/* --- Fairness page ------------------------------------------------------ */
.fairness { display: flex; flex-direction: column; gap: 1.2rem; }
.prose { background: var(--bg-secondary); border-radius: var(--radius); padding: 1.2rem;
  border: 1px solid rgba(196, 181, 253, 0.18); }
.prose ol { margin: 0.7rem 0 0.7rem 1.2rem; display: flex; flex-direction: column; gap: 0.4rem; }
.prose code { background: var(--bg-primary); padding: 0.1rem 0.35rem; border-radius: 5px;
  font-size: 0.85em; color: var(--accent-secondary); word-break: break-word; }
.verify-form { display: grid; gap: 0.8rem; background: var(--bg-secondary);
  border-radius: var(--radius); padding: 1.2rem; border: 1px solid rgba(196, 181, 253, 0.18); }
.verify-field { display: flex; flex-direction: column; gap: 0.3rem; }
.verify-field label { color: var(--text-muted); font-size: 0.82rem; }
.verify-field input {
  background: var(--bg-primary); color: var(--text-primary);
  border: 1px solid rgba(148, 163, 184, 0.3); border-radius: var(--radius-sm);
  padding: 0.7rem; font-family: var(--font-body); font-size: 0.95rem;
}
.verify-field input:focus { outline: none; border-color: var(--accent-secondary); box-shadow: var(--accent-glow); }
.verify-result { border-radius: var(--radius); padding: 1.1rem; font-family: var(--font-head); }
.verify-result.ok { background: rgba(92,255,143,0.1); border: 1px solid #5CFF8F; }
.verify-result.bad { background: rgba(124, 58, 237, 0.12); border: 1px solid var(--color-loss); }
.verify-result .row { display: flex; justify-content: space-between; gap: 1rem;
  padding: 0.25rem 0; font-family: var(--font-body); }
.verify-result .row span:last-child { color: var(--text-muted); word-break: break-all; text-align: right; }

/* --- Responsive: two-up layouts on wider screens ------------------------ */
@media (min-width: 720px) {
  .features { grid-template-columns: repeat(3, 1fr); }
  .stat-grid { grid-template-columns: repeat(4, 1fr); }
  .stage { aspect-ratio: 16 / 8; }
}

@media (prefers-reduced-motion: reduce) {
  .btn-action.pulse,
  .ambient-glow,
  .heat-shimmer,
  .smoke-plume .puff,
  .volcano-visual.erupting { animation: none; }
  * { scroll-behavior: auto; }
}

/* --- Meet the Team ------------------------------------------------------- */
.company-facts {
  list-style: none; display: flex; flex-wrap: wrap; gap: 0.4rem 1.4rem;
  margin-top: 0.4rem; color: var(--text-muted);
}
.company-facts .fact-label {
  font-family: var(--font-head); font-weight: 700; color: var(--text-primary);
  margin-right: 0.35rem;
}

.board--center { text-align: center; align-items: center; }
.team-section { margin-bottom: 2.5rem; text-align: center; }
.team-section .page-title { margin-bottom: 1.2rem; }

.team-grid {
  display: grid; gap: 1rem; grid-template-columns: 1fr;
}
.member-card {
  background: var(--bg-secondary); border: 1px solid rgba(196, 181, 253, 0.18);
  border-radius: var(--radius); padding: 1.4rem; text-align: center;
}
.member-photo {
  width: 96px; height: 96px; border-radius: 50%; object-fit: cover;
  margin: 0 auto 0.8rem; display: block;
  border: 2px solid var(--accent-secondary); box-shadow: var(--accent-glow-soft);
}
.member-photo--placeholder {
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 800; font-size: 2rem; color: #fff;
  background: var(--accent-gradient);
}
.member-name { color: var(--text-primary); margin-bottom: 0.15rem; }
.member-role { color: var(--accent-secondary); font-weight: 600; margin-bottom: 0.6rem; }
.member-bio { color: var(--text-muted); font-size: 0.92rem; margin-bottom: 0.8rem; }
.member-links { display: flex; gap: 1rem; justify-content: center; font-size: 0.9rem; }

@media (min-width: 640px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .team-grid { grid-template-columns: repeat(3, 1fr); }
}
