/* =========================================================
   Learning Rewired Lab — The Lab (public landing)
   File: /assets/css/the-lab.css
   Pairs with: /the-lab/index.html + /assets/js/the-lab.js
   Uses the shared header/footer from global.css.
   ========================================================= */

.lab-page {
  --ink: #07111f;
  --ink-2: #0f172a;
  --muted: #475569;
  --muted-2: #64748b;
  --faint: #94a3b8;
  --line: #e6ebf1;
  --surface: #f8fafc;
  --teal: #14b8a6;
  --teal-deep: #0f766e;
  --mint: #5eead4;

  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink-2);
  -webkit-font-smoothing: antialiased;
}

.lab-page *,
.lab-page *::before,
.lab-page *::after { box-sizing: border-box; }

.lab-page ::selection { background: rgba(20, 184, 166, .2); }

html { scroll-behavior: smooth; }

.lab-shell { max-width: 1200px; margin: 0 auto; }

/* Shared section atoms */
.lab-kicker {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 12px; font-weight: 800; letter-spacing: .2em;
  text-transform: uppercase; color: var(--teal-deep);
}
.lab-kicker-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); }
.lab-h2 {
  font-weight: 900; font-size: 46px; line-height: 1.04;
  letter-spacing: -.035em; color: var(--ink); margin: 16px 0 0;
  text-wrap: balance;
}

.lab-sec { padding: 92px 26px; }
.lab-sec--surface { background: var(--surface); border-top: 1px solid #eef2f6; }
.lab-sec--white { background: #fff; }

/* Buttons */
.lab-btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: inherit; font-weight: 800; font-size: 15.5px;
  border-radius: 13px; padding: 15px 26px; text-decoration: none;
  cursor: pointer; border: 1px solid transparent;
  transition: background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}
.lab-btn--primary { color: #fff; background: var(--teal); box-shadow: 0 12px 26px rgba(20,184,166,.28); }
.lab-btn--primary:hover { background: #0f9e8e; }
.lab-btn--ghost { color: var(--ink-2); background: #fff; border-color: #d8e0ea; box-shadow: 0 6px 16px rgba(15,23,42,.05); }
.lab-btn--ghost:hover { border-color: var(--teal); color: var(--teal-deep); }

/* =========================================================
   HERO
   ========================================================= */
.lab-hero {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, #f0faf8 100%);
}
.lab-hero__net {
  position: absolute; inset: 0; width: 100%; height: 100%;
  display: block; opacity: .55;
}
.lab-hero__glow {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(58% 60% at 84% 6%, rgba(20,184,166,.14), transparent 60%),
    radial-gradient(50% 60% at 2% 100%, rgba(22,184,217,.08), transparent 55%);
}
.lab-hero__grid {
  position: relative; padding: 52px 26px 78px;
  display: grid; grid-template-columns: 1.06fr .94fr; gap: 52px; align-items: center;
}
.lab-hero__badge {
  display: inline-flex; align-items: center; gap: 9px;
  border: 1px solid rgba(20,184,166,.32); border-radius: 999px;
  padding: 7px 14px; background: rgba(20,184,166,.06);
  font-size: 11px; font-weight: 800; letter-spacing: .16em;
  text-transform: uppercase; color: var(--teal-deep);
}
.lab-hero__badge-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--teal);
  animation: lab-pulse 2.4s ease-in-out infinite;
}
.lab-hero__h1 {
  font-weight: 900; font-size: 67px; line-height: .98;
  letter-spacing: -.045em; color: var(--ink); margin: 24px 0 0;
}
.lab-accent {
  background: linear-gradient(100deg, #14b8a6, #0f766e 45%, #14b8a6 75%);
  background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: lab-sheen 6s linear infinite;
}
.lab-hero__lede {
  font-size: 18.5px; line-height: 1.62; color: var(--muted);
  margin: 24px 0 0; max-width: 520px;
}
.lab-hero__lede em { font-style: normal; color: var(--ink-2); font-weight: 700; }
.lab-actions { display: flex; gap: 13px; margin-top: 32px; flex-wrap: wrap; }
.lab-stats { display: flex; align-items: center; gap: 28px; margin-top: 38px; }
.lab-stat__v { font-weight: 900; font-size: 24px; letter-spacing: -.02em; color: var(--ink); }
.lab-stat__k { font-size: 12.5px; color: var(--muted-2); margin-top: 2px; font-weight: 500; }

/* Builder profile preview card */
.lab-profile-wrap { position: relative; animation: lab-float 7s ease-in-out infinite; }
.lab-profile-wrap::before {
  content: ""; position: absolute; inset: -16px; border-radius: 32px;
  background: radial-gradient(60% 60% at 70% 8%, rgba(20,184,166,.18), transparent);
  filter: blur(6px);
}
.lab-profile {
  position: relative; border-radius: 24px; border: 1px solid var(--line);
  background: #fff; box-shadow: 0 34px 80px rgba(15,23,42,.14); overflow: hidden;
}
.lab-profile__head {
  padding: 22px 24px 18px; border-bottom: 1px solid #eef2f6;
  display: flex; align-items: center; gap: 15px;
}
.lab-profile__avatar {
  width: 56px; height: 56px; border-radius: 16px;
  background: linear-gradient(140deg, #14b8a6, #0f766e);
  display: grid; place-items: center; font-weight: 900; font-size: 21px;
  color: #fff; flex: none; box-shadow: 0 6px 16px rgba(20,184,166,.3);
}
.lab-profile__name { display: flex; align-items: center; gap: 8px; }
.lab-profile__name strong { font-weight: 800; font-size: 16px; color: var(--ink); }
.lab-tag-badge {
  font-size: 10px; font-weight: 800; color: var(--teal-deep);
  background: rgba(20,184,166,.12); border: 1px solid rgba(20,184,166,.26);
  border-radius: 5px; padding: 2px 6px; letter-spacing: .02em;
}
.lab-profile__role { font-size: 12.5px; color: var(--muted-2); margin-top: 3px; }
.lab-profile__chips {
  padding: 16px 24px; display: flex; gap: 7px; flex-wrap: wrap;
  border-bottom: 1px solid #f1f5f9;
}
.lab-chip {
  font-size: 11.5px; font-weight: 600; color: var(--teal-deep);
  background: rgba(20,184,166,.08); border: 1px solid rgba(20,184,166,.2);
  border-radius: 999px; padding: 5px 11px;
}
.lab-profile__stats { display: grid; grid-template-columns: repeat(3, 1fr); }
.lab-pstat { padding: 16px 18px; text-align: center; border-right: 1px solid #f1f5f9; }
.lab-pstat:last-child { border-right: 0; }
.lab-pstat__v { font-weight: 900; font-size: 21px; color: var(--teal-deep); letter-spacing: -.02em; }
.lab-pstat__k {
  font-size: 10.5px; color: var(--faint); margin-top: 3px; font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase;
}
.lab-profile__tl { padding: 18px 24px 22px; background: #fafcfd; }
.lab-tl__label {
  font-size: 10.5px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--faint); margin-bottom: 13px;
}
.lab-tl__item { display: flex; gap: 13px; align-items: flex-start; padding-bottom: 14px; }
.lab-tl__dot {
  width: 9px; height: 9px; border-radius: 50%; margin-top: 4px; flex: none;
  box-shadow: 0 0 0 3px rgba(20,184,166,.12);
}
.lab-tl__title { font-size: 13px; color: #1e293b; font-weight: 600; line-height: 1.35; }
.lab-tl__meta { font-size: 11.5px; color: var(--faint); margin-top: 1px; }

/* =========================================================
   PRINCIPLES
   ========================================================= */
.lab-center { text-align: center; }
.lab-principles__grid {
  display: grid; grid-template-columns: .86fr 1.14fr; gap: 24px;
  margin-top: 50px; align-items: stretch;
}
.lab-principles__list { display: flex; flex-direction: column; gap: 10px; }
.lab-principle {
  text-align: left; cursor: pointer; border: 1.5px solid var(--line);
  border-radius: 16px; padding: 19px 22px; background: #fff;
  box-shadow: 0 4px 14px rgba(15,23,42,.04);
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
  font-family: inherit;
}
.lab-principle__row { display: flex; align-items: center; gap: 12px; }
.lab-principle__num { font-weight: 900; font-size: 13px; color: var(--faint); letter-spacing: .04em; }
.lab-principle__title { font-weight: 800; font-size: 18px; color: var(--muted); letter-spacing: -.02em; }
.lab-principle.is-active {
  border-color: rgba(20,184,166,.5); background: rgba(20,184,166,.08);
  box-shadow: 0 12px 28px rgba(20,184,166,.14);
}
.lab-principle.is-active .lab-principle__num { color: var(--teal-deep); }
.lab-principle.is-active .lab-principle__title { color: var(--ink); }

.lab-panel {
  position: relative; overflow: hidden; border: 1px solid var(--line);
  border-radius: 22px; padding: 44px 46px; background: #fff;
  display: flex; flex-direction: column; justify-content: center;
  box-shadow: 0 24px 60px rgba(15,23,42,.08);
}
.lab-panel::before {
  content: ""; position: absolute; top: 0; left: 0; width: 5px; height: 100%;
  background: linear-gradient(180deg, #14b8a6, #0f766e);
}
.lab-panel::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 70% at 92% 0%, rgba(20,184,166,.08), transparent 60%);
}
.lab-panel__inner { position: relative; }
.lab-panel__kicker {
  font-size: 12px; font-weight: 800; letter-spacing: .16em;
  text-transform: uppercase; color: var(--teal-deep);
}
.lab-panel__h3 {
  font-weight: 900; font-size: 37px; line-height: 1.06;
  letter-spacing: -.03em; color: var(--ink); margin: 14px 0 0;
}
.lab-panel__body { font-size: 17px; line-height: 1.65; color: var(--muted); margin: 18px 0 0; max-width: 520px; }
.lab-panel__tags { display: flex; gap: 10px; margin-top: 26px; flex-wrap: wrap; }
.lab-tag {
  font-size: 12.5px; font-weight: 600; color: var(--teal-deep);
  background: rgba(20,184,166,.08); border: 1px solid rgba(20,184,166,.2);
  border-radius: 999px; padding: 6px 13px;
}

/* =========================================================
   IS / IS NOT
   ========================================================= */
.lab-isnot__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.lab-isnot__h2 { font-weight: 900; font-size: 43px; line-height: 1.04; letter-spacing: -.035em; color: var(--ink); margin: 16px 0 0; text-wrap: balance; }
.lab-isnot__lede { font-size: 17px; line-height: 1.65; color: var(--muted); margin: 20px 0 0; max-width: 480px; }
.lab-not-chips { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 26px; }
.lab-not-chip {
  font-size: 13px; font-weight: 600; color: var(--faint);
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 14px; text-decoration: line-through; text-decoration-color: #cbd5e1;
}
.lab-measure {
  border-radius: 22px; border: 1px solid var(--line); background: #fff;
  box-shadow: 0 26px 60px rgba(15,23,42,.1); overflow: hidden;
}
.lab-measure__head {
  padding: 20px 24px; border-bottom: 1px solid #eef2f6; background: #fafcfd;
  display: flex; align-items: center; justify-content: space-between;
}
.lab-measure__head strong { font-weight: 800; font-size: 14px; color: var(--ink); }
.lab-measure__pill {
  font-size: 11px; font-weight: 800; color: var(--teal-deep);
  background: rgba(20,184,166,.1); border-radius: 999px; padding: 5px 11px;
}
.lab-measure__row { display: flex; align-items: center; gap: 14px; padding: 15px 24px; border-bottom: 1px solid #f1f5f9; }
.lab-measure__ic {
  width: 30px; height: 30px; border-radius: 9px; background: rgba(20,184,166,.1);
  color: var(--teal-deep); display: grid; place-items: center; flex: none;
}
.lab-measure__label { font-size: 14.5px; color: #1e293b; font-weight: 600; flex: 1; }
.lab-measure__note { font-size: 13px; color: var(--faint); font-weight: 600; }

/* =========================================================
   PILLARS
   ========================================================= */
.lab-pillars__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 50px; }
.lab-pillar {
  border: 1px solid var(--line); border-radius: 20px; padding: 28px 28px 30px;
  background: #fff; position: relative; overflow: hidden;
  box-shadow: 0 12px 30px rgba(15,23,42,.05);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.lab-pillar:hover { border-color: rgba(20,184,166,.4); box-shadow: 0 18px 44px rgba(20,184,166,.12); }
.lab-pillar--wide { grid-column: span 2; }
.lab-pillar__top { display: flex; align-items: center; gap: 13px; }
.lab-pillar__ic {
  width: 42px; height: 42px; border-radius: 13px; background: rgba(20,184,166,.1);
  border: 1px solid rgba(20,184,166,.22); display: grid; place-items: center; flex: none;
}
.lab-pillar__num { font-weight: 800; font-size: 13px; color: var(--teal-deep); letter-spacing: .02em; }
.lab-pillar__title { font-weight: 800; font-size: 22px; letter-spacing: -.025em; color: var(--ink); margin: 18px 0 0; }
.lab-pillar__desc { font-size: 14.5px; line-height: 1.6; color: #51607A; margin: 10px 0 0; }
.lab-pillar__items { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 18px; }
.lab-pill {
  font-size: 11.5px; font-weight: 600; color: var(--teal-deep);
  background: rgba(20,184,166,.07); border: 1px solid rgba(20,184,166,.18);
  border-radius: 7px; padding: 5px 10px;
}

/* =========================================================
   FEATURED BUILDERS
   ========================================================= */
.lab-featured { background: #fff; scroll-margin-top: 90px; }
.lab-featured__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.lab-featured__h2 { font-weight: 900; font-size: 44px; line-height: 1.04; letter-spacing: -.035em; color: var(--ink); margin: 14px 0 0; }
.lab-featured__lede { font-size: 16.5px; line-height: 1.6; color: var(--muted); margin: 14px 0 0; max-width: 520px; }
.lab-link-pill {
  font-family: inherit; font-weight: 700; font-size: 14px; color: var(--teal-deep);
  text-decoration: none; border: 1px solid rgba(20,184,166,.32); border-radius: 999px; padding: 11px 18px;
  transition: background .18s ease;
}
.lab-link-pill:hover { background: rgba(20,184,166,.07); }
.lab-builders__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; }
.lab-builder {
  border: 1px solid var(--line); border-radius: 20px; background: #fff; overflow: hidden;
  box-shadow: 0 12px 30px rgba(15,23,42,.05);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.lab-builder:hover { border-color: rgba(20,184,166,.34); box-shadow: 0 20px 46px rgba(20,184,166,.12); }
.lab-builder__cover { height: 92px; position: relative; }
.lab-builder__avatar {
  position: absolute; left: 22px; bottom: -22px; width: 52px; height: 52px;
  border-radius: 15px; background: #fff; display: grid; place-items: center;
  font-weight: 900; font-size: 17px; color: var(--teal-deep);
  box-shadow: 0 0 0 4px #fff, 0 8px 18px rgba(15,23,42,.12);
}
.lab-builder__body { padding: 30px 22px 22px; }
.lab-builder__name { display: flex; align-items: center; gap: 8px; }
.lab-builder__name strong { font-weight: 800; font-size: 16px; color: var(--ink); }
.lab-builder__lvl {
  font-size: 9.5px; font-weight: 800; color: var(--teal-deep);
  background: rgba(20,184,166,.12); border: 1px solid rgba(20,184,166,.24);
  border-radius: 5px; padding: 2px 6px;
}
.lab-builder__role { font-size: 12.5px; color: var(--muted-2); margin-top: 3px; }
.lab-builder__work { font-size: 13.5px; line-height: 1.55; color: #51607A; margin: 14px 0 0; }
.lab-builder__stats { display: flex; align-items: center; gap: 16px; margin-top: 16px; padding-top: 16px; border-top: 1px solid #f1f5f9; flex-wrap: wrap; }
.lab-builder__stat { font-size: 12px; color: var(--muted-2); }
.lab-builder__stat strong { color: var(--ink); font-weight: 800; }

/* Leaderboard controls (time filter) */
.lab-featured__controls { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.lab-seg { display: inline-flex; background: #f1f5f9; border: 1px solid var(--line); border-radius: 999px; padding: 4px; gap: 2px; }
.lab-seg__btn {
  font-family: inherit; font-weight: 700; font-size: 13px; color: var(--muted-2);
  border: none; background: transparent; padding: 8px 15px; border-radius: 999px; cursor: pointer;
  transition: color .18s ease, background .18s ease, box-shadow .18s ease;
}
.lab-seg__btn:hover { color: var(--teal-deep); }
.lab-seg__btn.is-active { background: #fff; color: var(--teal-deep); box-shadow: 0 2px 8px rgba(15,23,42,.1); }

/* Rank badge + avatar image support */
.lab-builder { position: relative; }
.lab-builder__rank {
  position: absolute; top: 13px; right: 13px; z-index: 3;
  min-width: 30px; height: 30px; padding: 0 7px; border-radius: 9px;
  background: rgba(255,255,255,.92); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  display: grid; place-items: center; font-weight: 900; font-size: 13.5px; color: var(--teal-deep);
  box-shadow: 0 4px 12px rgba(15,23,42,.16);
}
.lab-builder__avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 15px; display: block; }

/* #1 spotlight */
.lab-builder.is-top { box-shadow: 0 22px 50px rgba(20,184,166,.16); border-color: rgba(224,169,63,.5); }
.lab-builder.is-top .lab-builder__rank { background: linear-gradient(135deg, #f6d579, #e0a93f); color: #3a2a06; box-shadow: 0 6px 16px rgba(224,169,63,.4); }
.lab-builder__ribbon {
  position: absolute; top: 13px; left: 13px; z-index: 3;
  font-size: 10px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase;
  color: #3a2a06; background: linear-gradient(135deg, #f6d579, #e9bb55);
  border-radius: 7px; padding: 5px 9px; box-shadow: 0 4px 12px rgba(224,169,63,.34);
}

/* Contribution score + bar */
.lab-builder__score { margin-top: 16px; }
.lab-builder__score-row { display: flex; align-items: baseline; justify-content: space-between; }
.lab-builder__score-label { font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-2); }
.lab-builder__score-val { font-size: 18px; font-weight: 900; color: var(--ink); letter-spacing: -.02em; }
.lab-builder__bar { height: 6px; border-radius: 999px; background: #eef2f6; margin-top: 8px; overflow: hidden; }
.lab-builder__bar i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--teal-deep), #2dd4bf); width: 0; transition: width .55s cubic-bezier(.2,.7,.2,1); }
.lab-builder.is-top .lab-builder__bar i { background: linear-gradient(90deg, #e0a93f, #f6d579); }

/* Re-sort motion (transform-only so cards never depend on animation for visibility) */
@keyframes lab-shuffle { from { transform: translateY(12px); } to { transform: none; } }
.lab-builder--anim { animation: lab-shuffle .42s cubic-bezier(.2,.7,.2,1) both; }

/* Legend */
.lab-builders__legend { display: flex; align-items: center; gap: 9px; margin-top: 22px; font-size: 12.5px; line-height: 1.5; color: var(--muted-2); }
.lab-builders__legend strong { color: var(--ink); font-weight: 800; }
.lab-builders__legend-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); flex: none; box-shadow: 0 0 0 3px rgba(20,184,166,.16); }

/* =========================================================
   ECOSYSTEM
   ========================================================= */
.lab-eco__row { display: flex; align-items: stretch; justify-content: center; gap: 10px; margin-top: 46px; flex-wrap: wrap; }
.lab-eco__item { display: flex; align-items: center; gap: 10px; }
.lab-eco__card {
  border: 1.5px solid var(--line); border-radius: 15px; padding: 18px; background: #fff;
  min-width: 128px; text-align: left; box-shadow: 0 8px 20px rgba(15,23,42,.05);
}
.lab-eco__card.is-here {
  background: rgba(20,184,166,.1); border-color: rgba(20,184,166,.5);
  box-shadow: 0 10px 26px rgba(20,184,166,.18);
}
.lab-eco__kicker { font-size: 10.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); }
.lab-eco__card.is-here .lab-eco__kicker { color: var(--teal-deep); }
.lab-eco__title { font-weight: 800; font-size: 15px; color: var(--ink); margin-top: 6px; letter-spacing: -.02em; }
.lab-eco__arrow { color: #bcc9d6; font-size: 18px; }

/* =========================================================
   JOIN CTA (dark teal accent panel)
   ========================================================= */
.lab-join { background: #fff; padding: 40px 26px 96px; scroll-margin-top: 90px; }
.lab-join__panel {
  position: relative; max-width: 1100px; margin: 0 auto; border-radius: 30px; overflow: hidden;
  background: linear-gradient(135deg, #07111f 0%, #0b2422 55%, #0c2a2b 100%); padding: 80px 26px;
}
.lab-join__glow {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 80% at 50% 0%, rgba(20,184,166,.26), transparent 62%);
}
.lab-join__inner { position: relative; max-width: 720px; margin: 0 auto; text-align: center; }
.lab-join__h2 { font-weight: 900; font-size: 50px; line-height: 1.03; letter-spacing: -.04em; color: #fff; text-wrap: balance; }
.lab-join__h2 .lab-accent-mint { color: var(--mint); }
.lab-join__lede { font-size: 18px; line-height: 1.6; color: #aecbc6; margin: 22px auto 0; max-width: 520px; }
.lab-join__actions { display: flex; gap: 13px; justify-content: center; margin-top: 32px; flex-wrap: wrap; }
.lab-btn--mint { color: #04241f; background: var(--mint); box-shadow: 0 14px 32px rgba(20,184,166,.3); font-size: 16px; }
.lab-btn--mint:hover { background: #7df0dd; }
.lab-btn--ghost-dark { color: #e6f7f2; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.2); font-size: 16px; font-weight: 700; }
.lab-btn--ghost-dark:hover { background: rgba(255,255,255,.12); }
.lab-join__meta { display: flex; align-items: center; justify-content: center; gap: 22px; margin-top: 32px; font-size: 13px; color: #7c8ba0; flex-wrap: wrap; }
.lab-join__meta i { font-style: normal; color: #2a3b4d; }

/* =========================================================
   Keyframes
   ========================================================= */
@keyframes lab-pulse { 0%, 100% { opacity: .45; } 50% { opacity: 1; } }
@keyframes lab-sheen { from { background-position: 0% 50%; } to { background-position: 200% 50%; } }
@keyframes lab-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

@media (prefers-reduced-motion: reduce) {
  .lab-hero__badge-dot, .lab-accent, .lab-profile-wrap { animation: none; }
  html { scroll-behavior: auto; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1000px) {
  .lab-hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .lab-principles__grid { grid-template-columns: 1fr; }
  .lab-isnot__grid { grid-template-columns: 1fr; gap: 36px; }
  .lab-pillars__grid { grid-template-columns: 1fr 1fr; }
  .lab-pillar--wide { grid-column: span 2; }
  .lab-builders__grid { grid-template-columns: 1fr 1fr; }
  .lab-hero__h1 { font-size: 54px; }
  .lab-h2, .lab-isnot__h2, .lab-featured__h2 { font-size: 36px; }
  .lab-join__h2 { font-size: 40px; }
}

@media (max-width: 680px) {
  .lab-sec { padding: 64px 20px; }
  .lab-hero__grid { padding: 36px 20px 56px; }
  .lab-pillars__grid { grid-template-columns: 1fr; }
  .lab-pillar--wide { grid-column: auto; }
  .lab-builders__grid { grid-template-columns: 1fr; }
  .lab-hero__h1 { font-size: 42px; }
  .lab-panel { padding: 32px 26px; }
  .lab-panel__h3 { font-size: 30px; }
  .lab-h2, .lab-isnot__h2, .lab-featured__h2 { font-size: 31px; }
  .lab-join__panel { padding: 56px 22px; }
  .lab-join__h2 { font-size: 33px; }
  .lab-stats { gap: 20px; flex-wrap: wrap; }
}
