/* INFINITY R&D — VISUAL FOUNDATION */

.infinity-rnd-page {
  background:
    radial-gradient(ellipse at 50% -10%, #302511 0%, transparent 48%),
    var(--bg);
}

.infinity-rnd-page section[id] {
  scroll-margin-top: 90px;
}

/* HERO */

.rnd-hero {
  position: relative;
  min-height: 610px;
  padding: 100px 0 35px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.rnd-hero-content {
  max-width: 850px;
  margin: 45px auto;
  position: relative;
  z-index: 1;
}

.rnd-hero-label,
.rnd-status {
  color: var(--gold);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: 2.5px;
}

.rnd-hero h1 {
  font-family: var(--font-head);
  font-size: clamp(3.5rem, 10vw, 7rem);
  line-height: .98;
  letter-spacing: -4px;
  margin: 25px 0;
}

.rnd-hero-content > p {
  max-width: 650px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.8;
}

.rnd-hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 35px;
}

.rnd-hero-footer {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 35px;
  padding-top: 25px;
  border-top: 1px solid var(--line);
  color: var(--muted-2);
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: 2px;
}

/* SECTION SPACING */

.rnd-about,
.rnd-domains,
.rnd-problems,
.rnd-projects,
.rnd-experiments,
.rnd-findings,
.rnd-papers,
.rnd-logs,
.rnd-upcoming,
.rnd-updates {
  padding-top: 75px;
  padding-bottom: 85px;
}

.rnd-about h2,
.rnd-domains h2,
.rnd-problems h2,
.rnd-projects h2,
.rnd-experiments h2,
.rnd-findings h2,
.rnd-papers h2,
.rnd-logs h2,
.rnd-upcoming h2,
.rnd-updates h2 {
  font-family: var(--font-head);
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.2;
  margin: 18px 0;
}

.infinity-rnd-page .section-heading > p {
  max-width: 460px;
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.8;
}

/* ABOUT */

.rnd-about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 55px;
  align-items: start;
}

.rnd-about-content > p {
  color: var(--muted);
  font-size: .94rem;
  line-height: 1.9;
  margin: 0 0 18px;
}

.rnd-about-note {
  margin-top: 30px;
  padding: 20px 22px;
  border-left: 2px solid var(--gold);
  background: linear-gradient(90deg, rgba(214,173,87,.09), transparent);
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.rnd-about-note span {
  color: var(--gold);
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: 2px;
}

.rnd-about-note strong {
  color: var(--white);
  font-size: .92rem;
  line-height: 1.6;
}

/* RESEARCH DOMAINS */

.rnd-domain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 35px;
}

.rnd-domain-card {
  position: relative;
  min-height: 235px;
  padding: 27px;
  background: linear-gradient(145deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line);
  border-radius: 12px;
  transition: transform .25s ease, border-color .25s ease;
}

.rnd-domain-card:hover {
  transform: translateY(-5px);
  border-color: rgba(214,173,87,.55);
}

.rnd-card-number {
  position: absolute;
  top: 20px;
  right: 22px;
  color: var(--muted-2);
  font-size: .7rem;
  letter-spacing: 1px;
}

.rnd-domain-symbol {
  width: 47px;
  height: 47px;
  display: grid;
  place-items: center;
  margin-bottom: 25px;
  border: 1px solid rgba(214,173,87,.35);
  border-radius: 10px;
  color: var(--gold-bright);
  font-family: var(--font-head);
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.rnd-domain-card h3 {
  color: var(--white);
  font-family: var(--font-head);
  font-size: 1.08rem;
  margin-bottom: 11px;
}

.rnd-domain-card p {
  color: var(--muted);
  font-size: .83rem;
  line-height: 1.75;
}

/* SECTION HEADING */

.infinity-rnd-page .section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 35px;
  margin-bottom: 30px;
}

.infinity-rnd-page .section-heading > div {
  max-width: 620px;
}

/* EMPTY / CMS STATES */

.rnd-empty-state {
  min-height: 220px;
  padding: 38px 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background:
    linear-gradient(145deg, rgba(214,173,87,.045), transparent 55%),
    var(--panel);
  border: 1px dashed rgba(214,173,87,.27);
  border-radius: 12px;
}

.rnd-empty-symbol {
  width: 45px;
  height: 45px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border: 1px solid rgba(214,173,87,.35);
  border-radius: 50%;
  color: var(--gold-bright);
  font-family: var(--font-head);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.rnd-empty-state h3 {
  color: var(--white);
  font-family: var(--font-head);
  font-size: 1.08rem;
  margin-bottom: 10px;
}

.rnd-empty-state p {
  max-width: 550px;
  color: var(--muted);
  font-size: .86rem;
  line-height: 1.7;
  margin-bottom: 18px;
}

.rnd-status {
  display: inline-block;
  padding: 7px 11px;
  border: 1px solid rgba(214,173,87,.25);
  border-radius: 4px;
  font-size: .58rem;
  letter-spacing: 1.5px;
}

.rnd-update-state {
  min-height: 190px;
}

/* RESPONSIVE */

@media (max-width: 900px) {
  .rnd-domain-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .rnd-about-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 600px) {
  .rnd-hero {
    min-height: 560px;
    padding-top: 85px;
  }

  .rnd-hero h1 {
    letter-spacing: -2px;
  }

  .rnd-hero-footer {
    gap: 14px 20px;
    font-size: .58rem;
  }

  .rnd-about,
  .rnd-domains,
  .rnd-problems,
  .rnd-projects,
  .rnd-experiments,
  .rnd-findings,
  .rnd-papers,
  .rnd-logs,
  .rnd-upcoming,
  .rnd-updates {
    padding-top: 55px;
    padding-bottom: 60px;
  }

  .rnd-domain-grid {
    grid-template-columns: 1fr;
  }

  .rnd-domain-card {
    min-height: 200px;
  }

  .infinity-rnd-page .section-heading {
    display: block;
  }

  .infinity-rnd-page .section-heading > p {
    margin-top: 12px;
  }

  .rnd-empty-state {
    min-height: 210px;
    padding: 30px 18px;
  }
}
