@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500;600&display=swap');

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

/* ============================================================
   TOKENS
   White theme with a single purple accent. One corner-radius
   system: containers = 16px, interactive chips = full pill.
   ============================================================ */
:root {
  --bg: #ffffff;
  --bg-elev: #ffffff;
  --surface: #f7f5fc;
  --surface-2: #efe9fb;
  --border: #e4ddf5;
  --border-soft: #ede8f8;

  --text: #17121f;
  --text-2: #5c5370;
  --text-3: #958aa9;

  --accent: #7c3aed;
  --accent-strong: #6d28d9;
  --accent-soft: #7c3aed1f;
  --accent-text: #ffffff;

  --grid-line: rgba(124, 58, 237, 0.06);
  --grid-line-strong: rgba(124, 58, 237, 0.09);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-pill: 100px;

  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'Space Grotesk', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --font-display: 'Chakra Petch', 'Space Grotesk', sans-serif;

  --dur: 0.32s;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection {
  background: var(--accent-soft);
  color: var(--accent);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

a {
  color: var(--accent);
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.mono {
  font-family: var(--font-mono);
}

/* ============================================================
   NAVIGATION (single line, <=80px)
   ============================================================ */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: 68px;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-soft);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.nav-logo-img {
  height: 42px;
  width: auto;
}

.nav-logo-text {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 1.5px;
  background: linear-gradient(112deg, #6d28d9, #8b5cf6);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.nav-logo-text span {
  color: inherit;
  -webkit-text-fill-color: inherit;
}

.nav-links {
  display: flex;
  gap: 6px;
  list-style: none;
}

.nav-links a {
  color: var(--text-2);
  font-size: 14px;
  font-weight: 500;
  padding: 7px 15px;
  border-radius: var(--radius-pill);
  transition: color var(--dur) var(--ease), background var(--dur) var(--ease);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent);
  background: var(--accent-soft);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: 0;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text-2);
  border-radius: 2px;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(10px + clamp(4px, 0.8vw, 10px)) 24px clamp(48px, 7vw, 88px);
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(120% 80% at 50% 0%, var(--accent-soft) 0%, transparent 58%),
    var(--bg);
}

/* Subtle blueprint grid texture */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: clamp(34px, 5vw, 52px) clamp(34px, 5vw, 52px);
  -webkit-mask-image: radial-gradient(70% 60% at 50% 42%, #000 0%, transparent 72%);
  mask-image: radial-gradient(70% 60% at 50% 42%, #000 0%, transparent 72%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 860px;
  margin: 0 auto;
}

.hero-logo {
  display: block;
  width: clamp(280px, 40vw, 520px);
  height: auto;
  margin: 0 auto 0;
}

.hero-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid var(--accent);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: clamp(22px, 3vw, 34px);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(46px, 9vw, 84px);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: 0.01em;
  margin: 0;
  background: linear-gradient(112deg, #6d28d9 0%, #7c3aed 48%, #a855f7 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 6px 24px rgba(124, 58, 237, 0.28));
}

.hero-title span {
  color: inherit;
  -webkit-text-fill-color: inherit;
}

.hero-sub {
  font-size: clamp(16px, 2.2vw, 20px);
  font-weight: 300;
  color: var(--text-2);
  max-width: 560px;
  margin: clamp(18px, 2.6vw, 28px) auto 0;
}

.hero-cta {
  margin-top: clamp(28px, 4vw, 46px);
}

.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--accent-text);
  background: var(--accent);
  padding: 14px 26px;
  border-radius: var(--radius-pill);
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.btn:hover {
  background: var(--accent-strong);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -14px var(--accent);
}

.btn:active {
  transform: translateY(0) scale(0.98);
}

/* ============================================================
   STAT BAND
   ============================================================ */
.stat-band {
  max-width: 1000px;
  margin: 0 auto;
  padding: clamp(30px, 4vw, 46px) 24px clamp(30px, 4vw, 46px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}

.stat-cell {
  text-align: center;
  padding: 0 24px;
  position: relative;
}

.stat-cell + .stat-cell::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12%;
  bottom: 12%;
  width: 1px;
  background: var(--border-soft);
}

.stat-value {
  font-family: var(--font-mono);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 600;
  line-height: 1;
  color: var(--accent);
}

.stat-label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-top: 10px;
}

/* ============================================================
   SECTIONS
   ============================================================ */
.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(72px, 10vw, 128px) 24px;
}

.section-head {
  max-width: 620px;
  margin: 0 auto clamp(36px, 5vw, 56px);
  text-align: center;
}

.section-title {
  font-size: clamp(30px, 5vw, 46px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.08;
  color: var(--text);
}

.section-desc {
  font-size: 16px;
  font-weight: 300;
  color: var(--text-2);
  margin-top: 14px;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: clamp(28px, 4vw, 40px);
}

.filter-btn {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-2);
  background: var(--surface);
  border: 1.5px solid var(--border);
  padding: 11px 22px;
  min-height: 44px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: color var(--dur) var(--ease), background var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.filter-btn:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: var(--accent-soft);
}

.filter-btn.active {
  color: #fff;
  border-color: var(--accent);
  background: var(--accent);
}

/* ============================================================
   TESTING  (test plan goals)
   ============================================================ */
.test-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 3vw, 28px);
}

.test-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 3vw, 30px);
}

.test-num {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  width: 42px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.test-card h3 {
  font-size: clamp(20px, 2.2vw, 24px);
  margin: 0 0 8px;
}

.test-goal {
  color: var(--text);
  font-weight: 500;
  margin: 0 0 16px;
}

.test-how {
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}

.test-how strong {
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  display: inline-block;
  margin-bottom: 6px;
}

/* ============================================================
   TIMELINE  (build journey)
   ============================================================ */
.tl-items {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 28px);
}

.tl-items::before {
  content: '';
  position: absolute;
  top: 22px;
  left: 4px;
  right: 4px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-soft));
}

.tl-item {
  position: relative;
  padding-top: 52px;
}

.tl-dot {
  position: absolute;
  top: 13px;
  left: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent);
  border: 4px solid var(--bg);
  box-shadow: 0 0 0 2px var(--accent);
}

.tl-dot--next {
  background: var(--bg);
}

.tl-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 3vw, 28px);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.tl-day {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}

.tl-card h3 {
  font-size: clamp(18px, 2vw, 22px);
  margin: 0 0 8px;
}

.tl-card p {
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.6;
  margin: 0 0 16px;
}

.tl-link {
  background: var(--accent-soft);
  color: var(--accent);
  border: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  padding: 9px 18px;
  min-height: 42px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.tl-link:hover {
  background: var(--accent);
  color: var(--accent-text);
  border-color: var(--accent);
}

.tl-next {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-3);
  border: 1px dashed var(--border);
  padding: 9px 18px;
  min-height: 42px;
  border-radius: var(--radius-pill);
}

@media (max-width: 768px) {
  .tl-items {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .tl-items::before {
    top: 0;
    bottom: 0;
    left: 10px;
    right: auto;
    width: 2px;
    height: auto;
    background: linear-gradient(180deg, var(--accent), var(--accent-soft));
  }
  .tl-item {
    padding-top: 0;
    padding-left: 44px;
  }
  .tl-dot {
    left: 0;
    top: 8px;
  }
}

/* ============================================================
   ABOUT  (asymmetric: one lead card + pillar list)
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(24px, 4vw, 40px);
  align-items: stretch;
}

.about-lead {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(30px, 4vw, 46px);
  position: relative;
  overflow: hidden;
  background-image:
    linear-gradient(var(--grid-line-strong) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line-strong) 1px, transparent 1px);
  background-size: 30px 30px;
}

.about-lead::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 90% at 100% 0%, var(--accent-soft) 0%, transparent 55%);
  pointer-events: none;
}

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

.about-icon {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid var(--accent);
  border-radius: var(--radius-md);
  margin-bottom: 20px;
}

.about-icon svg,
.pillar-icon svg {
  width: 22px;
  height: 22px;
}

.about-lead h3 {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}

.about-lead p {
  color: var(--text-2);
  font-size: 15px;
  max-width: 46ch;
}

.pillar-list {
  list-style: none;
  display: flex;
  flex-direction: column;
}

.pillar {
  display: flex;
  gap: 18px;
  padding: clamp(18px, 3vw, 26px) 0;
  border-top: 1px solid var(--border-soft);
}

.pillar:first-child {
  border-top: 0;
}

.pillar-icon {
  flex: 0 0 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: var(--radius-md);
}

.pillar-text h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 6px;
}

.pillar-text p {
  color: var(--text-2);
  font-size: 14px;
  line-height: 1.6;
}

/* ============================================================
   GALLERY
   ============================================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 22px;
}

.gallery-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.gallery-item:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 18px 40px -24px var(--accent);
}

.gallery-item-image {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: var(--surface-2);
  overflow: hidden;
  position: relative;
}

.gallery-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.gallery-item-image.img-missing img {
  display: none;
}

.gallery-item-image.img-missing::after {
  content: 'Photo coming soon';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--text-3);
  background:
    linear-gradient(var(--grid-line-strong) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line-strong) 1px, transparent 1px),
    var(--surface-2);
  background-size: 26px 26px;
}

.gallery-item:hover .gallery-item-image img {
  transform: scale(1.04);
}

.gallery-item-info {
  padding: 16px 20px 20px;
}

.gallery-item-date {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 0.04em;
}

.gallery-item-title {
  font-size: 16px;
  font-weight: 600;
  margin-top: 4px;
}

.gallery-item-desc {
  font-size: 13px;
  color: var(--text-3);
  margin-top: 4px;
}

/* ============================================================
   MEET US (team roster)
   ============================================================ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 22px;
}

.member {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  padding: 30px 22px;
  text-align: center;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.member:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 16px 36px -24px var(--accent);
}

.member-avatar {
  width: 76px;
  height: 76px;
  margin: 0 auto 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--accent-text);
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
}

.member h3 {
  font-size: 18px;
  font-weight: 600;
}

.member p {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-top: 6px;
}

/* Photo-backed member card: name + role on an image background */
.member--photo {
  position: relative;
  overflow: hidden;
  padding: 0;
  justify-content: flex-end;
  align-items: stretch;
  text-align: left;
}

.member-photo {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 22%;
}

.member-photo-andor {
  background-image: url('../images/andor-background.png');
}

.member-photo-kerem {
  background-image: url('../images/kerem-background.png');
}

.member-photo-meir {
  background-image: url('../images/meir-background.png');
}

.member-photo-elias {
  background-image: url('../images/elias-background.png');
}

.member-photo-ilyan {
  background-image: url('../images/ilyan-background.png');
}

.member-photo-mariia {
  background-image: url('../images/mariia-background.png');
}

.member--photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12, 10, 20, 0.86) 0%, rgba(12, 10, 20, 0.28) 55%, transparent 82%);
}

.member-body {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 22px 20px;
}

.member--photo h3 {
  color: #fff;
  font-size: 20px;
}

.member--photo p {
  color: rgba(255, 255, 255, 0.82);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  border-top: 1px solid var(--border-soft);
  padding: clamp(40px, 6vw, 64px) 24px;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-logo-img {
  width: 84px;
  height: auto;
  margin: 0 auto 20px;
}

.footer-text {
  color: var(--text-3);
  font-size: 14px;
  margin-bottom: 8px;
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
  list-style: none;
  margin-top: 20px;
}

.footer-links a {
  color: var(--text-2);
  font-size: 14px;
  transition: color var(--dur) var(--ease);
}

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

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(10, 8, 16, 0.9);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--dur) var(--ease), visibility var(--dur) var(--ease);
}

.lightbox.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  cursor: pointer;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.26);
  border-color: rgba(255, 255, 255, 0.5);
}

.lightbox-figure {
  max-width: 92vw;
  max-height: 92vh;
  margin: 0;
}

.lightbox-image {
  display: block;
  max-width: 100%;
  max-height: 82vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  background: #000;
}

.lightbox-caption {
  margin-top: 14px;
  text-align: center;
  color: #fff;
  font-size: 14px;
}

.lightbox-caption strong {
  display: block;
  font-size: 16px;
}

.lightbox-caption span {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.72);
}

@media (prefers-reduced-motion: no-preference) {
  .lightbox.open .lightbox-figure {
    animation: lightboxIn 0.28s var(--ease);
  }
}

@keyframes lightboxIn {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}

/* ============================================================
   MOTION
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

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

@media (prefers-reduced-motion: no-preference) {
  .hero-logo { animation: riseIn 0.6s var(--ease) 0.05s both; }
  .hero-title { animation: riseIn 0.7s var(--ease) 0.15s both; }
  .hero-sub { animation: riseIn 0.7s var(--ease) 0.28s both; }
  .hero-cta { animation: riseIn 0.7s var(--ease) 0.4s both; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

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

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero {
    padding-top: calc(68px + clamp(24px, 5vw, 48px));
  }
  .section {
    padding: clamp(64px, 9vw, 104px) 28px;
  }
  .about-grid {
    gap: 28px;
  }
}

@media (max-width: 768px) {
  .nav {
    height: 60px;
  }
  .nav-inner {
    height: 60px;
    padding: 0 18px;
  }
  .nav-logo-img {
    height: 34px;
  }
  .nav-links {
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 4px;
    padding: 14px 20px 20px;
    background: color-mix(in srgb, var(--bg) 94%, transparent);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-soft);
    display: none;
  }
  .nav-links.open {
    display: flex;
  }
  .nav-links a {
    padding: 12px 16px;
    border-radius: var(--radius-md);
  }
  .nav-toggle {
    display: flex;
    width: 44px;
    height: 40px;
    align-items: center;
  }
  .hero {
    padding: calc(30px + clamp(12px, 4vw, 24px)) 20px clamp(40px, 8vw, 64px);
  }
  .stat-band {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 34px 20px;
  }
  .stat-cell + .stat-cell::before {
    display: none;
  }
  .about-grid {
    grid-template-columns: 1fr;
  }
  .test-grid {
    grid-template-columns: 1fr;
  }
  .section {
    padding-left: 20px;
    padding-right: 20px;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .nav-logo-text {
    font-size: 16px;
  }
  .hero-logo {
    width: min(84vw, 360px);
  }
  .hero-title {
    font-size: clamp(40px, 14vw, 56px);
  }
  .hero-sub {
    font-size: 15px;
  }
  .hero-cta .btn {
    width: 100%;
    max-width: 340px;
  }
  .section-title {
    font-size: 28px;
  }
  .stat-value {
    font-size: 28px;
  }
  .footer-logo-img {
    width: 62px;
  }
  .member--photo {
    min-height: 260px;
  }
  .lightbox {
    padding: 16px;
  }
  .lightbox-figure {
    max-width: 96vw;
  }
  .lightbox-close {
    top: 14px;
    right: 14px;
  }
}

/* ============================================================
   UTILITY / NO RESULTS
   ============================================================ */
.no-results {
  text-align: center;
  padding: 48px 20px;
  color: var(--text-3);
  font-size: 15px;
  grid-column: 1 / -1;
  font-family: var(--font-mono);
}
