:root {
  --bg: #0b1320;
  --bg-soft: #111d30;
  --ink: #f4f8ff;
  --ink-soft: #b8c5db;
  --brand: #ff7a1a;
  --brand-deep: #f15a24;
  --card: rgba(20, 33, 54, 0.84);
  --line: rgba(191, 210, 241, 0.2);
  --max-width: 1100px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at 10% 10%, #1a2c47 0%, transparent 45%),
    radial-gradient(circle at 90% 15%, #1f3758 0%, transparent 40%), var(--bg);
  line-height: 1.55;
  overflow-x: hidden;
}

h1,
h2,
h3 {
  font-family: "Poppins", sans-serif;
  line-height: 1.2;
  margin: 0;
}

p {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(var(--max-width), 92vw);
  margin: 0 auto;
}

.ambient {
  position: fixed;
  z-index: -1;
  border-radius: 999px;
  filter: blur(70px);
  opacity: 0.5;
  pointer-events: none;
}

.ambient-one {
  width: 300px;
  height: 300px;
  left: -70px;
  top: 25vh;
  background: #243a5f;
}

.ambient-two {
  width: 260px;
  height: 260px;
  right: -90px;
  top: 50vh;
  background: #ff7a1a;
}

.site-header {
  padding: 1rem 0;
  position: sticky;
  top: 0;
  backdrop-filter: blur(8px);
  background: rgba(8, 14, 24, 0.78);
  border-bottom: 1px solid var(--line);
  z-index: 10;
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.brand-mark {
  width: 2rem;
  height: 2rem;
  border-radius: 0.4rem;
  display: grid;
  place-items: center;
  background: linear-gradient(130deg, var(--brand), var(--brand-deep));
  color: #fff7f1;
  font-size: 0.75rem;
  font-weight: 700;
}

.brand-text {
  font-weight: 700;
  letter-spacing: 0.02em;
}

.site-nav {
  display: flex;
  gap: 1rem;
  font-weight: 500;
  font-size: 0.95rem;
}

.site-nav a {
  padding: 0.3rem 0.4rem;
  border-radius: 0.4rem;
}

.site-nav a:hover {
  background: rgba(255, 122, 26, 0.2);
}

.hero {
  padding: 5rem 0 3rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: center;
}

.kicker {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  color: #ffb680;
  font-weight: 700;
}

.hero-copy h1 {
  margin-top: 0.8rem;
  font-size: clamp(2rem, 4vw, 3.6rem);
}

.hero-copy p {
  margin-top: 1rem;
  max-width: 58ch;
  color: var(--ink-soft);
}

.hero-actions {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.72rem 1.05rem;
  border-radius: 0.6rem;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.btn-primary {
  background: linear-gradient(120deg, var(--brand), var(--brand-deep));
  color: #fff8f2;
  box-shadow: 0 10px 24px rgba(241, 90, 36, 0.35);
}

.btn-ghost {
  border-color: var(--line);
  background: rgba(13, 22, 37, 0.78);
}

.hero-panel {
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--card);
  box-shadow: 0 14px 35px rgba(2, 7, 15, 0.35);
}

.hero-panel h2 {
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
}

.hero-panel ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--ink-soft);
  display: grid;
  gap: 0.6rem;
}

.section {
  padding: 4.2rem 0;
}

.section-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 2rem;
  align-items: start;
}

.section-head h2 {
  margin-top: 0.7rem;
  font-size: clamp(1.5rem, 3vw, 2.4rem);
}

.section-body {
  color: var(--ink-soft);
  display: grid;
  gap: 1rem;
}

.centered {
  text-align: center;
}

.cards {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.card {
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  padding: 1.1rem;
  background: var(--card);
}

.card h3 {
  font-size: 1.1rem;
}

.card p {
  margin-top: 0.55rem;
  color: var(--ink-soft);
}

.team-cards {
  margin-top: 1.6rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.member-role {
  margin-top: 0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #ffb680;
  font-size: 0.75rem;
  font-weight: 800;
}

.publication-list {
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: rgba(15, 25, 41, 0.7);
  overflow: hidden;
}

.publication-list article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  padding: 1rem 1rem;
  border-bottom: 1px solid var(--line);
}

.publication-list article:last-child {
  border-bottom: 0;
}

.publication-list span {
  font-weight: 700;
  color: var(--brand-deep);
}

.publication-list h3 {
  font-size: 1.03rem;
}

.callout {
  padding-top: 1rem;
  padding-bottom: 5rem;
}

.callout-box {
  border-radius: 1.2rem;
  border: 1px solid var(--line);
  background: linear-gradient(140deg, #13233b, #1d314e);
  padding: clamp(1.4rem, 4vw, 2.4rem);
  box-shadow: 0 16px 40px rgba(2, 7, 15, 0.38);
}

.callout-box h2 {
  margin-top: 0.7rem;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
}

.callout-box p {
  margin-top: 0.9rem;
  color: var(--ink-soft);
  max-width: 68ch;
}

.callout-box .btn {
  margin-top: 1.3rem;
}

.thank-you-page {
  min-height: 90vh;
  display: grid;
  place-items: center;
}

.thank-you-btn {
  margin-top: 1rem;
}

.contact-form {
  margin-top: 1.4rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.hidden-field {
  display: none;
}

.contact-form label {
  display: grid;
  gap: 0.45rem;
  font-weight: 700;
  color: #d7e3f7;
  font-size: 0.95rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0.65rem;
  background: rgba(8, 14, 24, 0.72);
  color: var(--ink);
  padding: 0.72rem 0.85rem;
  font: inherit;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #9fb0cc;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(255, 122, 26, 0.42);
  border-color: rgba(255, 122, 26, 0.68);
}

.contact-form .full-width,
.contact-form button {
  grid-column: 1 / -1;
}

.consent-row {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.consent-row input[type="checkbox"] {
  margin-top: 0.2rem;
  width: 1rem;
  height: 1rem;
}

.form-note {
  margin-top: 0;
  color: #9fb0cc;
  font-size: 0.88rem;
}

.faq-block {
  margin-top: 1.8rem;
  border-top: 1px solid var(--line);
  padding-top: 1.2rem;
}

.faq-block h3 {
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
}

.faq-block details {
  border: 1px solid var(--line);
  border-radius: 0.7rem;
  background: rgba(8, 14, 24, 0.52);
  margin-bottom: 0.7rem;
  padding: 0.8rem 0.9rem;
}

.faq-block summary {
  cursor: pointer;
  font-weight: 700;
  color: #eaf1fd;
}

.faq-block p {
  margin-top: 0.6rem;
  color: var(--ink-soft);
}

.site-footer {
  padding: 1.1rem 0;
  border-top: 1px solid var(--line);
  background: rgba(8, 14, 24, 0.75);
}

.footer-wrap {
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  flex-wrap: wrap;
  color: #b8c5db;
  font-size: 0.92rem;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

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

.delay-1 {
  transition-delay: 0.12s;
}

.delay-2 {
  transition-delay: 0.24s;
}

@media (max-width: 940px) {
  .hero-grid,
  .section-grid {
    grid-template-columns: 1fr;
  }

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

  .site-nav {
    display: none;
  }
}

@media (max-width: 640px) {
  .hero {
    padding-top: 3.5rem;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }

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

  .team-cards {
    grid-template-columns: 1fr;
  }

  .btn {
    width: 100%;
  }
}
