:root {
  --ink: #22303c;
  --body: #4b5a66;
  --ink-soft: #6b7a87;
  --paper: #fbf8f2;
  --card: #ffffff;
  --line: #ece2d3;
  --coral: #e8503f;
  --coral-dark: #c23c2c;
  --orange: #d97706;
  --yellow: #e8b400;
  --green: #2e8b57;
  --teal: #1f9e9e;
  --blue: #1070b0;
  --indigo: #5a5fb8;
  --magenta: #a82d68;
  --brand: var(--coral);
  --brand-dark: var(--coral-dark);
  --shadow-soft: 0 18px 40px rgba(34, 48, 60, .07);
  --shadow-strong: 0 30px 70px rgba(34, 48, 60, .16);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  font-family: 'Nunito', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: var(--body);
  background: #ffffff;
  font-size: 1rem;
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6,
.hero-title, .section-title, .lab-title, .feature-title {
  font-family: 'Fredoka', 'Nunito', system-ui, sans-serif;
  color: var(--ink);
  font-weight: 600;
  line-height: 1.2;
}

a {
  color: var(--blue);
}

a:hover {
  color: var(--blue);
}

img {
  max-width: 100%;
  height: auto;
}

a:focus-visible,
button:focus-visible,
.btn:focus-visible {
  outline: 3px solid rgba(16, 112, 176, .45);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  z-index: 2000;
}

.skip-link:focus {
  top: .75rem;
  left: .75rem;
  background: #ffffff;
  color: var(--ink);
  padding: .6rem 1rem;
  border-radius: .75rem;
  box-shadow: var(--shadow-soft);
}

.btn {
  border-radius: 999px;
  font-weight: 800;
}

.btn-brand {
  background: var(--brand);
  border: 2px solid var(--brand);
  color: #ffffff;
  padding: .7rem 1.4rem;
}

.btn-brand:hover,
.btn-brand:focus {
  background: var(--brand-dark);
  border-color: var(--brand-dark);
  color: #ffffff;
}

.btn-outline-ink {
  background: transparent;
  border: 2px solid var(--ink);
  color: var(--ink);
  padding: .7rem 1.4rem;
}

.btn-outline-ink:hover,
.btn-outline-ink:focus {
  background: var(--ink);
  border-color: var(--ink);
  color: #ffffff;
}

.site-nav {
  background: rgba(251, 248, 242, .9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: .9rem 0;
  transition: background .25s ease, box-shadow .25s ease, padding .25s ease;
}

.site-nav.is-scrolled {
  background: rgba(255, 255, 255, .95);
  box-shadow: 0 12px 34px rgba(34, 48, 60, .09);
  padding: .55rem 0;
}

.navbar-brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none;
}

.brand-dots {
  display: grid;
  grid-template-columns: repeat(2, 9px);
  grid-auto-rows: 9px;
  gap: 3px;
}

.brand-dots span {
  border-radius: 50%;
}

.brand-dots span:nth-child(1) { background: #f05050; }
.brand-dots span:nth-child(2) { background: #1070b0; }
.brand-dots span:nth-child(3) { background: #e8b400; }
.brand-dots span:nth-child(4) { background: #2e8b57; }

.brand-text {
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 1.35rem;
  color: var(--ink);
}

.brand-year {
  display: inline-block;
  background: var(--brand);
  color: #ffffff;
  font-size: .8em;
  padding: 0 .4rem;
  border-radius: .6rem;
  vertical-align: middle;
}

.site-nav .nav-link {
  color: var(--ink);
  font-weight: 700;
  padding: .5rem .85rem;
}

.site-nav .nav-link:hover,
.site-nav .nav-link:focus {
  color: var(--brand);
}

.site-nav .nav-link.active {
  color: var(--brand);
}

.navbar-toggler {
  border: 0;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.hero {
  position: relative;
  overflow: hidden;
  background: var(--paper);
  padding: 9.5rem 0 5rem;
}

.hero-decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: .5;
}

.blob-coral {
  width: 340px;
  height: 340px;
  background: #f05050;
  top: -80px;
  left: -110px;
}

.blob-blue {
  width: 300px;
  height: 300px;
  background: #70b8e8;
  top: 20%;
  right: -120px;
}

.blob-yellow {
  width: 260px;
  height: 260px;
  background: #f0c040;
  bottom: -90px;
  left: 18%;
}

.blob-green {
  width: 240px;
  height: 240px;
  background: #70c090;
  bottom: 10%;
  right: 22%;
  opacity: .38;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .14em;
  font-weight: 800;
  font-size: .78rem;
  color: var(--brand);
  margin-bottom: .9rem;
}

.hero-title {
  font-size: clamp(2.3rem, 4.6vw, 3.9rem);
  line-height: 1.06;
  margin-bottom: 1.1rem;
}

.t-blue { color: var(--blue); }
.t-coral { color: var(--coral); }
.t-green { color: var(--green); }

.hero-sub {
  font-size: 1.18rem;
  font-weight: 600;
  color: var(--ink);
  max-width: 34rem;
  margin-bottom: 1.75rem;
}

.hero-badges {
  list-style: none;
  padding: 0;
  margin: 2.25rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 1.75rem;
  font-weight: 700;
  color: var(--ink);
}

.hero-badges li {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}

.hero-badges li:nth-child(1) i { color: var(--coral); }
.hero-badges li:nth-child(2) i { color: var(--blue); }
.hero-badges li:nth-child(3) i { color: var(--green); }

.hero-figure {
  margin: 0;
  background: #ffffff;
  border-radius: 2rem;
  padding: .65rem;
  box-shadow: var(--shadow-strong);
}

.hero-figure img {
  border-radius: 1.5rem;
  width: 100%;
}

.section {
  padding: 5rem 0;
}

.section-paper {
  background: var(--paper);
}

.section-head {
  max-width: 50rem;
  margin-bottom: 3rem;
}

.section-head-sm {
  margin-top: 4.5rem;
  margin-bottom: 2rem;
}

.section-title {
  position: relative;
  padding-bottom: .4rem;
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  margin-bottom: 1.25rem;
}

.section-title::after {
  content: "";
  display: block;
  width: 88px;
  height: 7px;
  border-radius: 999px;
  margin-top: 1rem;
  background: linear-gradient(90deg, var(--coral) 0 25%, var(--yellow) 25% 50%, var(--green) 50% 75%, var(--blue) 75% 100%);
}

.section-lead {
  font-size: 1.08rem;
  margin-bottom: 0;
}

.section-subtitle {
  font-size: 1.6rem;
  margin: 0;
}

.lead-text {
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--ink);
}

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

.stat-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  padding: 1.25rem 1.35rem;
  display: flex;
  flex-direction: column;
  gap: .3rem;
  box-shadow: var(--shadow-soft);
}

.stat-number {
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 2.3rem;
  line-height: 1;
}

.stat-label {
  font-size: .95rem;
  color: var(--ink-soft);
  line-height: 1.45;
}

.quote-card {
  background: #eef6fb;
  border: 1px solid #d8e9f4;
  border-radius: 1.5rem;
  padding: 2rem;
  margin: 0;
}

.quote-icon {
  display: inline-block;
  font-size: 2rem;
  color: var(--blue);
  margin-bottom: .75rem;
}

.quote-card p {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ink);
  margin: 0;
}

.feature-card {
  height: 100%;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  padding: 1.6rem;
  box-shadow: var(--shadow-soft);
  transition: transform .25s ease, box-shadow .25s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-strong);
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 1rem;
  background: var(--accent-soft, #eef2f5);
  color: var(--accent, var(--blue));
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.feature-title {
  font-size: 1.2rem;
  margin-bottom: .5rem;
}

.feature-card p {
  margin: 0;
  font-size: .98rem;
}

.lab-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid var(--line);
  border-top: 6px solid var(--accent, var(--blue));
  border-radius: 1.5rem;
  padding: 1.75rem;
  box-shadow: var(--shadow-soft);
  transition: transform .25s ease, box-shadow .25s ease;
}

.lab-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-strong);
}

.lab-head {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.lab-icon {
  display: grid;
  place-items: center;
  width: 3.4rem;
  height: 3.4rem;
  flex-shrink: 0;
  border-radius: 1.1rem;
  background: var(--accent-soft, #eef2f5);
  color: var(--accent, var(--blue));
  font-size: 1.6rem;
}

.lab-title {
  font-size: 1.3rem;
  margin: 0;
}

.lab-sub {
  color: var(--accent-dark, var(--accent, var(--blue)));
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: .74rem;
  margin: .3rem 0 0;
}

.lab-desc {
  color: var(--body);
}

.lab-meta {
  list-style: none;
  padding: 1rem 0 0;
  margin: 0 0 .5rem;
  border-top: 1px dashed var(--line);
  display: grid;
  gap: .55rem;
}

.lab-meta li {
  display: flex;
  gap: .6rem;
  align-items: flex-start;
  font-size: .95rem;
  line-height: 1.55;
}

.lab-meta i {
  color: var(--accent, var(--blue));
  margin-top: .2rem;
}

.lab-meta a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-style: dotted;
  text-underline-offset: 3px;
}

.lab-meta a:hover {
  color: var(--accent-dark, var(--accent, var(--blue)));
}

.badge-soon {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  background: #f4efe6;
  color: #7a6a52;
  border: 1px dashed #d8c9ae;
  border-radius: 999px;
  padding: .12rem .6rem;
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.calendar-link {
  background: none;
  border: 0;
  padding: 0;
  color: var(--accent-dark, var(--accent, var(--blue)));
  font-weight: 800;
  text-decoration: underline;
  text-decoration-style: dotted;
  text-underline-offset: 3px;
}

.calendar-link:hover {
  color: var(--ink);
}

.collapse-toggle {
  background: none;
  border: 0;
  padding: 0;
  margin: .1rem 0 .9rem;
  font-weight: 800;
  color: var(--accent-dark, var(--accent, var(--blue)));
  display: inline-flex;
  align-items: center;
}

.collapse-toggle span {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
}

.collapse-toggle .less {
  display: none;
}

.collapse-toggle[aria-expanded="true"] .more {
  display: none;
}

.collapse-toggle[aria-expanded="true"] .less {
  display: inline-flex;
}

.lab-foot {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: auto;
  padding-top: 1rem;
}

.btn-accent {
  background: var(--accent, var(--blue));
  border: 2px solid var(--accent, var(--blue));
  color: var(--accent-contrast, #ffffff);
  padding: .6rem 1.25rem;
}

.btn-accent:hover,
.btn-accent:focus {
  background: var(--accent-dark, var(--accent, var(--blue)));
  border-color: var(--accent-dark, var(--accent, var(--blue)));
  color: var(--accent-contrast, #ffffff);
}

.btn-soft {
  background: var(--accent-soft, #eef2f5);
  border: 2px solid var(--accent-soft, #eef2f5);
  color: var(--accent-dark, var(--accent, var(--blue)));
  padding: .6rem 1.25rem;
}

.btn-soft:hover,
.btn-soft:focus {
  background: var(--accent, var(--blue));
  border-color: var(--accent, var(--blue));
  color: var(--accent-contrast, #ffffff);
}

.team-block {
  margin-top: 4.5rem;
}

.team-accordion .accordion-item {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 1rem;
  overflow: hidden;
  margin-bottom: .75rem;
}

.team-accordion .accordion-button {
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--ink);
  background: #ffffff;
  padding: 1.1rem 1.25rem;
  box-shadow: none;
}

.team-accordion .accordion-button:not(.collapsed) {
  background: #f6faf6;
  color: var(--ink);
}

.team-accordion .accordion-button:focus {
  box-shadow: 0 0 0 .2rem rgba(46, 139, 87, .18);
}

.team-accordion .accordion-body {
  padding: 0 1.25rem 1.4rem;
  color: var(--body);
}

.team-accordion .accordion-body p {
  margin: 0;
}

.person-name {
  margin-right: .15rem;
}

.team-badge {
  display: inline-block;
  font-family: 'Nunito', sans-serif;
  font-size: .7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .05em;
  background: var(--accent-soft, #eef2f5);
  color: var(--accent-dark, var(--accent, var(--blue)));
  border-radius: 999px;
  padding: .2rem .65rem;
  margin-left: .5rem;
  vertical-align: middle;
}

.framed-figure {
  margin: 0;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 2rem;
  padding: .75rem;
  box-shadow: var(--shadow-strong);
}

.framed-figure img {
  border-radius: 1.5rem;
  width: 100%;
}

.highlight-grid {
  display: grid;
  gap: .75rem;
  margin-top: 1.75rem;
}

.highlight-card {
  display: flex;
  align-items: center;
  gap: .9rem;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  padding: 1rem 1.25rem;
  font-weight: 600;
  box-shadow: var(--shadow-soft);
}

.highlight-card i {
  display: grid;
  place-items: center;
  width: 2.7rem;
  height: 2.7rem;
  flex-shrink: 0;
  border-radius: .9rem;
  background: var(--accent-soft, #eef2f5);
  color: var(--accent, var(--blue));
  font-size: 1.25rem;
}

.priority-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: .85rem;
}

.priority-list li {
  display: flex;
  gap: .75rem;
  align-items: flex-start;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1rem 1.15rem;
  line-height: 1.6;
}

.priority-list i {
  color: var(--green);
  font-size: 1.15rem;
  margin-top: .15rem;
}

.subsection-title {
  font-size: 1.35rem;
  margin-bottom: 1.25rem;
}

.form-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 1.75rem;
  padding: 1.5rem;
  box-shadow: var(--shadow-strong);
}

.form-card-head p {
  color: var(--body);
  margin-bottom: 1.25rem;
}

.form-embed {
  height: 950px;
  border: 1px solid var(--line);
  border-radius: 1.1rem;
  overflow: hidden;
  background: #ffffff;
}

.form-embed iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.form-note {
  display: flex;
  gap: .5rem;
  align-items: flex-start;
  margin: 1rem 0 0;
  font-size: .95rem;
  color: var(--ink-soft);
}

.form-note i {
  color: var(--brand);
  margin-top: .2rem;
}

.partners {
  padding: 3rem 0;
  background: #ffffff;
}

.partners-label {
  text-align: center;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 800;
  font-size: .8rem;
  color: var(--ink-soft);
  margin-bottom: 1.5rem;
}

.partners-img {
  width: 100%;
  height: auto;
  border-radius: 1rem;
}

.site-footer {
  position: relative;
  background: #20303f;
  color: #dfe8ef;
  padding: 4rem 0 2rem;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--coral), var(--yellow), var(--green), var(--teal), var(--blue), var(--indigo), var(--magenta));
}

.footer-brand .brand-text {
  color: #ffffff;
}

.footer-brand .brand-year {
  color: #20303f;
  background: var(--yellow);
}

.footer-tagline {
  font-family: 'Fredoka', sans-serif;
  font-size: 1.15rem;
  color: #ffffff;
  margin: 1.25rem 0 .5rem;
}

.footer-text {
  color: #b9c7d2;
}

.footer-heading {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #ffffff;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: .5rem;
}

.footer-links a {
  color: #d7e2ea;
  text-decoration: none;
  font-weight: 600;
}

.footer-links a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-divider {
  border-color: rgba(255, 255, 255, .16);
  margin: 2.5rem 0 1.5rem;
}

.footer-bottom {
  font-size: .9rem;
  color: #93a6b4;
  margin: 0;
}

.modal-content {
  border: 0;
  border-radius: 1.5rem;
  overflow: hidden;
}

.modal-header {
  border-bottom: 1px solid var(--line);
  background: #faf6ef;
  padding: 1.25rem 1.5rem;
}

.modal-title {
  font-size: 1.4rem;
  margin: 0;
}

.modal-sub {
  margin: .15rem 0 0;
  color: var(--ink-soft);
  font-size: .9rem;
}

.table-calendar {
  --bs-table-bg: transparent;
  margin-bottom: 0;
}

.table-calendar thead th {
  background: var(--accent, var(--blue));
  color: #ffffff;
  border: 0;
  font-weight: 800;
  padding: .7rem .9rem;
}

.table-calendar td {
  padding: .6rem .9rem;
  border-color: var(--line);
  color: var(--body);
}

.table-calendar tbody tr:nth-child(odd) {
  background: var(--paper);
}

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

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 991.98px) {
  .hero {
    padding: 8rem 0 4rem;
  }

  .section {
    padding: 3.75rem 0;
  }

  .form-embed {
    height: 720px;
  }

  .lab-foot .btn {
    flex: 1 1 auto;
    text-align: center;
  }

  .footer-brand {
    margin-bottom: .5rem;
  }
}

@media (max-width: 575.98px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .form-embed {
    height: 640px;
  }

  .hero-title {
    font-size: 2.2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .feature-card,
  .lab-card {
    transition: none;
  }
}
