/* ============================================================
   AARM — Asian Association of Regenerative Medicine
   Design tokens — sampled from the official AARM logo
   ============================================================ */
:root {
  --purple-950: #1c1638;
  --purple-900: #2c2260;
  --purple-800: #3e3184;
  --purple: #6b5cb0; /* brand purple, sampled from logo */
  --purple-mid: #8676cb;
  --purple-light: #b5a9e4;
  --purple-mist: #f2effb;
  --purple-mist-2: #eae5f8;
  --accent-red: #d41f26; /* brand red, sampled from logo */
  --accent-red-dk: #a8171c;
  --accent-red-soft: #fbe4e3;

  --bg: #fbfafd;
  --bg-alt: #f4f1fa;
  --ink: #1b1730;
  --ink-soft: #5b5478;
  --ink-faint: #8d86a8;
  --white: #ffffff;
  --line: #e4dff3;

  --font-display: "Sora", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;

  --radius-s: 10px;
  --radius-m: 16px;
  --radius-l: 26px;
  --shadow-card: 0 14px 34px -20px rgba(28, 22, 56, 0.28);
  --shadow-soft: 0 24px 60px -28px rgba(44, 34, 96, 0.4);
  --container: 1240px;
  --header-h: 67px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}
body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  /* NOTE: no overflow-x here — a non-visible overflow on <body> makes it a
     scroll container, which silently kills position:sticky on .site-header.
     Horizontal clipping is handled by <html> above. */
}
/* scroll lock while the burger drawer is open. Must sit on <html>: because
   <html> sets overflow-x, it is the scrolling box, so body overflow no
   longer propagates to the viewport. */
html.nav-open {
  overflow: hidden;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  margin: 0 0 0.5em;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.01em;
}
p {
  margin: 0 0 1em;
}
button {
  font-family: inherit;
  cursor: pointer;
}
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
section {
  padding: 88px 0;
}
.section-tight {
  padding: 56px 0;
}
.section-alt {
  background: var(--bg-alt);
}
.icon svg {
  width: 100%;
  height: 100%;
  display: block;
}
.icon-arrow {
  width: 17px;
  height: 17px;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
:focus-visible {
  outline: 2.5px solid var(--purple);
  outline-offset: 2px;
}

/* ---------- eyebrow ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-red);
  font-weight: 700;
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--accent-red);
  display: inline-block;
}
.on-dark .eyebrow {
  color: #ff8f86;
}
.on-dark .eyebrow::before {
  background: #ff8f86;
}

.section-head {
  max-width: 660px;
  margin-bottom: 48px;
}
.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.section-head.split {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  max-width: none;
  flex-wrap: wrap;
}
.section-head h2 {
  font-size: clamp(26px, 3.1vw, 36px);
}
.section-head p {
  color: var(--ink-soft);
  font-size: 16.5px;
  margin: 0;
}
.view-all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 14px;
  color: var(--purple);
  flex-shrink: 0;
}
.view-all .icon {
  width: 16px;
  height: 16px;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14.5px;
  border: 1.5px solid transparent;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    background 0.15s ease,
    color 0.15s ease,
    border-color 0.15s ease;
  white-space: nowrap;
}
.btn .icon {
  width: 17px;
  height: 17px;
}
.btn:active {
  transform: translateY(1px);
}
.btn-primary {
  background: var(--purple);
  color: #fff;
  box-shadow: 0 14px 28px -14px rgba(107, 92, 176, 0.65);
}
.btn-primary:hover {
  background: var(--purple-800);
}
.btn-red {
  background: var(--accent-red);
  color: #fff;
  box-shadow: 0 14px 28px -14px rgba(212, 31, 38, 0.55);
}
.btn-red:hover {
  background: var(--accent-red-dk);
}
.btn-ghost-dark {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}
.btn-ghost-dark:hover {
  background: rgba(255, 255, 255, 0.12);
}
.btn-outline {
  background: transparent;
  color: var(--purple-800);
  border-color: var(--line);
}
.btn-outline:hover {
  background: var(--purple-mist);
  border-color: var(--purple-light);
}
.btn-sm {
  padding: 9px 16px;
  font-size: 13px;
}
.btn-block {
  width: 100%;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0px;
  left: 0px;
  width: 100%;
  z-index: 200;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  --header-h: 67px;
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 22px;
  padding:12px 5%;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}
.brand img {
  height: 42px;
  width: 42px;
}
.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14.5px;
  line-height: 1.28;
  color: var(--ink);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0 auto;
}
.nav-item {
  position: relative;
}
.nav-item > a,
.nav-link-simple {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 10px 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  border-radius: 8px;
  white-space: nowrap;
}
.nav-item .icon {
  width: 13px;
  height: 13px;
  color: var(--ink-faint);
  transition: transform 0.15s ease;
}
.nav-item:hover > a,
.nav-link-simple:hover {
  color: var(--purple);
}
.nav-item.active > a {
  color: var(--purple);
}
.dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  box-shadow: var(--shadow-card);
  padding: 8px;
  min-width: 230px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(6px);
  transition:
    opacity 0.15s ease,
    transform 0.15s ease,
    visibility 0.15s;
}
.nav-item:hover .dropdown,
.nav-item:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav-item:hover .icon {
  transform: rotate(180deg);
}
.dropdown a {
  display: block;
  padding: 10px 12px;
  border-radius: 7px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-soft);
}
.dropdown a:hover {
  background: var(--purple-mist);
  color: var(--purple-800);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  position: relative;
  z-index: 200;
}
.icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid transparent;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-soft);
}
.icon-btn:hover {
  background: var(--purple-mist);
  color: var(--purple);
}
.icon-btn .icon {
  width: 18px;
  height: 18px;
}
.btn-icon .icon {
  width: 15px;
  height: 15px;
}

.lang-switch {
  display: flex;
  background: var(--bg-alt);
  border-radius: 999px;
  padding: 3px;
  gap: 2px;
}
.lang-switch button {
  border: none;
  background: transparent;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-faint);
  letter-spacing: 0.02em;
}
.lang-switch button.active {
  background: var(--purple-900);
  color: #fff;
}

.lang-dropdown {
  left: auto;
  right: 0;
  min-width: 120px;
  transform: translateY(6px);
}
.nav-item:hover .lang-dropdown,
.nav-item:focus-within .lang-dropdown,
.lang-switch-dropdown.mobile-open .lang-dropdown {
  transform: translateY(0);
}
.lang-switch-dropdown.mobile-open .lang-dropdown {
  opacity: 1;
  visibility: visible;
}
.nav-backdrop {
  display: none;
}

/* honeypot — must stay focusable/fillable for bots, invisible to people.
   display:none is avoided on purpose: many bots skip such fields. */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.nav-toggle {
  display: none;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: none;
  border: none;
  align-items: center;
  justify-content: center;
  color: var(--ink);
}
.nav-toggle .icon {
  width: 22px;
  height: 22px;
}

/* compact desktop: squeeze the bar before falling back to the burger */
@media (max-width: 1560px) {
  .header-inner {
    gap: 12px;
    padding: 12px 24px;
  }
  .brand-name {
    font-size: 12.5px;
  }
  .main-nav {
    gap: 0;
  }
  .nav-item > a,
  .nav-link-simple {
    padding: 9px 7px;
    font-size: 13px;
    gap: 4px;
  }
  .header-actions {
    gap: 8px;
  }
}

/* wordmark no longer fits alongside the full nav */
@media (max-width: 1440px) {
  .brand-name {
    display: none;
  }
}

@media (max-width: 1280px) {
  .header-inner {
    gap: 16px;
    justify-content: space-between;
  }
  /* right-hand drawer: capped width on tablet/laptop, full-bleed on phones */
  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: auto;
    right: 0;
    width: min(360px, 100%);
    height: calc(100dvh - var(--header-h));
    background: #fff;
    border-left: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
    flex-direction: column;
    align-items: stretch;
    padding: 10px 20px 40px;
    gap: 0;
    transform: translateX(105%);
    transition: transform 0.28s ease;
    overflow-y: auto;
    overscroll-behavior: contain;
    margin: 0;
    z-index: 199;
  }
  .main-nav.open {
    transform: translateX(0);
  }
  /* dimmed backdrop; also the click target that closes the drawer */
  .nav-backdrop {
    display: block;
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(28, 22, 56, 0.45);
    opacity: 0;
    visibility: hidden;
    transition:
      opacity 0.28s ease,
      visibility 0.28s;
    z-index: 198;
  }
  html.nav-open .nav-backdrop {
    opacity: 1;
    visibility: visible;
  }
  .main-nav .nav-item {
    width: 100%;
  }
  .main-nav .nav-item > a,
  .main-nav .nav-link-simple {
    width: 100%;
    padding: 15px 4px;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    font-size: 16px;
    justify-content: space-between;
  }
  /* must out-specify the desktop `.nav-item:hover/:focus-within .dropdown`
     rule, which would otherwise re-apply translateX(-50%) on tap and drag
     the submenu off the left edge of the drawer */
  .main-nav .nav-item .dropdown,
  .main-nav .nav-item:hover .dropdown,
  .main-nav .nav-item:focus-within .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    display: none;
    min-width: 0;
    width: 100%;
    padding: 0 0 6px 12px;
  }
  .main-nav .nav-item.mobile-open .dropdown {
    display: block;
  }
  .main-nav .nav-item.mobile-open .icon {
    transform: rotate(180deg);
  }
  .main-nav .nav-item:hover .icon {
    transform: none;
  }
  .main-nav .nav-item.mobile-open:hover .icon {
    transform: rotate(180deg);
  }
  .nav-toggle {
    display: flex;
  }
}
@media (max-width: 860px) {
  .header-actions .btn span:not(.icon) {
    display: none;
  }
  .header-actions .btn {
    padding: 10px;
    border-radius: 50%;
  }
  .header-actions .btn .icon {
    width: 17px;
    height: 17px;
  }
}
@media (max-width: 640px) {
  .icon-btn {
    display: none;
  }
}

/* ============================================================
   HERO — molecular network motif (signature element, echoes logo)
   ============================================================ */
.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: radial-gradient(
    1100px 640px at 84% 8%,
    #4b3b96 0%,
    #2c2260 46%,
    #1c1638 100%
  );
  padding: 96px 0 0;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 30px;
  align-items: center;
  position: relative;
  z-index: 3;
  padding-bottom: 64px;
}
.breadcrumb {
  font-size: 13px;
  color: #b7ace6;
  margin-bottom: 22px;
  display: flex;
  gap: 8px;
  align-items: center;
}
.breadcrumb a:hover {
  color: #fff;
}
.hero h1 {
  color: #fff;
  font-size: clamp(32px, 4.3vw, 52px);
  line-height: 1.08;
}
.hero-rule {
  width: 64px;
  height: 4px;
  background: var(--accent-red);
  border-radius: 2px;
  margin: 18px 0 22px;
}
.hero .lead {
  font-size: 17px;
  color: #d6cef2;
  max-width: 520px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 26px;
}
.hero-stats {
  display: flex;
  gap: 34px;
  margin-top: 52px;
  flex-wrap: wrap;
}
.hero-stats div strong {
  display: block;
  font-family: var(--font-display);
  font-size: 27px;
}
.hero-stats div span {
  font-size: 12.5px;
  color: #bbb0e8;
}
.hero.hero-page {
  padding-bottom: 0;
}
.hero.hero-page .hero-inner {
  padding-bottom: 56px;
  min-height: 340px;
}
.hero.hero-page h1 {
  font-size: clamp(28px, 3.6vw, 40px);
}

/* decorative molecule/cell cluster */
.hero-viz {
  position: relative;
  height: 420px;
}
.hero.hero-page .hero-viz {
  height: 300px;
}
.cell {
  /* float amplitude — kept as vars so the mobile viz (220px tall vs 420px)
     can drift less and never reach its clipping edge */
  --fx: 6px;
  --fy: 14px;
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(
    circle at 32% 28%,
    #fff,
    #dad0f6 60%,
    #b7a7e8 100%
  );
  box-shadow: 0 20px 50px -18px rgba(0, 0, 0, 0.45);
}
.cell.red {
  background: radial-gradient(
    circle at 32% 28%,
    #ff9089,
    var(--accent-red) 75%
  );
}
.c-a {
  width: 150px;
  height: 150px;
  top: 6%;
  right: 22%;
  animation: floatA 7.5s ease-in-out infinite;
}
.c-b {
  width: 230px;
  height: 230px;
  top: 22%;
  right: 44%;
  animation: floatB 9s ease-in-out infinite;
}
.c-c {
  width: 190px;
  height: 190px;
  top: 46%;
  right: 8%;
  animation: floatA 8.2s ease-in-out infinite 0.4s;
}
.c-d {
  width: 110px;
  height: 110px;
  bottom: 6%;
  right: 34%;
  animation: floatB 7s ease-in-out infinite 0.2s;
}
.c-e {
  width: 52px;
  height: 52px;
  bottom: 0;
  right: 16%;
  animation: floatA 6s ease-in-out infinite 0.1s;
}
.hero-page .c-a {
  width: 100px;
  height: 100px;
  top: 2%;
  right: 18%;
}
.hero-page .c-b {
  width: 170px;
  height: 170px;
  top: 18%;
  right: 38%;
}
.hero-page .c-c {
  width: 130px;
  height: 130px;
  top: 44%;
  right: 4%;
}
.hero-page .c-d {
  width: 70px;
  height: 70px;
  bottom: 8%;
  right: 28%;
}
.hero-page .c-e {
  width: 40px;
  height: 40px;
  bottom: 2%;
  right: 12%;
}
@keyframes floatA {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(var(--fx), calc(var(--fy) * -1));
  }
}
@keyframes floatB {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(calc(var(--fx) * -1.33), var(--fy));
  }
}

.hero-links {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.9;
}
.hero-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    rgba(255, 255, 255, 0.14) 1.4px,
    transparent 1.4px
  );
  background-size: 24px 24px;
  z-index: 1;
  -webkit-mask-image: radial-gradient(
    600px 500px at 78% 30%,
    #000 40%,
    transparent 78%
  );
  mask-image: radial-gradient(
    600px 500px at 78% 30%,
    #000 40%,
    transparent 78%
  );
}

@media (max-width: 920px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }
  .hero-viz {
    height: 220px;
    order: -1;
    overflow: hidden;
  }

  /* the viz is ~half its desktop height here, so scale the drift down with it
     and keep every cell's resting offset larger than its travel */
  .cell {
    --fx: 3px;
    --fy: 6px;
  }

  /* home hero cells — scaled down to fit the 220px-tall mobile container */
  .hero:not(.hero-page) .c-b {
    width: 105px;
    height: 105px;
    top: 16%;
    right: 40%;
  }
  .hero:not(.hero-page) .c-a {
    width: 68px;
    height: 68px;
    top: 10%;
    right: 16%;
  }
  .hero:not(.hero-page) .c-c {
    width: 85px;
    height: 85px;
    top: 42%;
    right: 2%;
  }
  .hero:not(.hero-page) .c-d {
    width: 50px;
    height: 50px;
    bottom: 8%;
    right: 32%;
  }
  .hero:not(.hero-page) .c-e {
    width: 26px;
    height: 26px;
    bottom: 2%;
    right: 14%;
  }

  /* inner-page hero cells — scaled down the same way */
  .hero-page .c-b {
    width: 95px;
    height: 95px;
    top: 18%;
    right: 38%;
  }
  .hero-page .c-a {
    width: 58px;
    height: 58px;
    top: 8%;
    right: 18%;
  }
  .hero-page .c-c {
    width: 75px;
    height: 75px;
    top: 44%;
    right: 4%;
  }
  .hero-page .c-d {
    width: 42px;
    height: 42px;
    bottom: 8%;
    right: 28%;
  }
  .hero-page .c-e {
    width: 22px;
    height: 22px;
    bottom: 2%;
    right: 12%;
  }
}

/* feature strip that overlaps hero bottom */
.feature-strip {
  position: relative;
  z-index: 5;
  margin-top: -46px;
}
.feature-card {
  background: #fff;
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(6, 1fr);
}
.feature-card.cols-4 {
  grid-template-columns: repeat(4, 1fr);
}
.feature-item {
  padding: 30px 22px;
  border-right: 1px solid var(--line);
}
.feature-item:last-child {
  border-right: none;
}
.feature-item .icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--purple-mist);
  color: var(--purple-800);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 9px;
  margin-bottom: 14px;
}
.feature-item h3 {
  font-size: 15px;
  margin-bottom: 6px;
}
.feature-item p {
  font-size: 13px;
  color: var(--ink-soft);
  margin: 0;
}
@media (max-width: 920px) {
  .feature-card,
  .feature-card.cols-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .feature-item {
    border-right: none;
    border-bottom: 1px solid var(--line);
  }
  .feature-item:nth-child(2n) {
    border-left: 1px solid var(--line);
  }
}
@media (max-width: 560px) {
  .feature-card,
  .feature-card.cols-4 {
    grid-template-columns: 1fr;
  }
  .feature-item:nth-child(2n) {
    border-left: none;
  }
}

/* ============================================================
   STAT BAR
   ============================================================ */
.stat-bar {
  background: linear-gradient(120deg, var(--purple-900), var(--purple-800));
  color: #fff;
  padding: 44px 0;
}
.stat-bar .container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 28px;
}
.stat {
  display: flex;
  align-items: center;
  gap: 14px;
}
.stat .icon {
  width: 34px;
  height: 34px;
  color: #c9bdf2;
  flex-shrink: 0;
}
.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 1.1;
}
.stat span {
  font-size: 12.5px;
  color: #c4b9ef;
}

/* ============================================================
   GRIDS / CARDS
   ============================================================ */
.grid {
  display: grid;
  gap: 24px;
}
.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}
.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}
.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}
.grid-6 {
  grid-template-columns: repeat(6, 1fr);
}
@media (max-width: 980px) {
  .grid-3,
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-6 {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 620px) {
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
  .grid-6 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 28px;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
  border-color: transparent;
}
.card .icon-box {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: var(--purple-mist);
  color: var(--purple-800);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 11px;
  margin-bottom: 16px;
}
.card h3 {
  font-size: 17px;
  margin-bottom: 8px;
}
.card p {
  color: var(--ink-soft);
  font-size: 14px;
  margin: 0;
}

/* two-col layout w/ media blob */
.split {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 56px;
  align-items: center;
}
.split.rev {
  grid-template-columns: 1.08fr 0.92fr;
}
.split.rev .media-blob {
  order: 2;
}
.media-blob {
  position: relative;
  border-radius: 44% 56% 58% 42%/48% 44% 56% 52%;
  overflow: hidden;
  min-height: 400px;
  background: radial-gradient(
    circle at 30% 25%,
    var(--purple-mid),
    var(--purple-900) 78%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-soft);
}
.media-blob img {
  width: 150px;
  height: 150px;
  opacity: 0.95;
  filter: drop-shadow(0 16px 30px rgba(0, 0, 0, 0.3));
}
.media-blob::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    rgba(255, 255, 255, 0.16) 1.3px,
    transparent 1.3px
  );
  background-size: 20px 20px;
}
.media-ring {
  position: absolute;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 12px 26px -10px rgba(28, 22, 56, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-red);
  bottom: 10%;
  right: 6%;
}
.media-ring .icon {
  width: 24px;
  height: 24px;
}

.check-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 22px 0 26px;
}
.check-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14.5px;
  color: var(--ink-soft);
}
.check-list .tick {
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: var(--purple-mist);
  color: var(--purple-800);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px;
  margin-top: 1px;
}
.check-list.on-dark li {
  color: #d6cef2;
}
.check-list.on-dark .tick {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}
.check-row {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}
.check-row li {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
}
.check-row .tick {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--purple-mist);
  color: var(--purple-800);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}
.pill {
  background: #fff;
  border: 1px solid var(--line);
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--purple-800);
}

/* numbered mission rows (about page) */
.num-list li {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.num-list li:last-child {
  border-bottom: 1px solid var(--line);
}
.num-list .num {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--purple-light);
  font-size: 14px;
  min-width: 26px;
}
.num-list h4 {
  margin: 0 0 3px;
  font-size: 15.5px;
}
.num-list p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
}

/* people cards (leadership / committees / directory) */
.person-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: linear-gradient(155deg, var(--purple-light), var(--purple));
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
}
.avatar.lg {
  width: 78px;
  height: 78px;
  font-size: 19px;
}
.person-card h4 {
  margin: 0 0 3px;
  font-size: 15.5px;
}
.person-card .role {
  font-size: 13px;
  color: var(--purple);
  font-weight: 600;
  margin-bottom: 4px;
}
.person-card p {
  margin: 0;
  font-size: 13.5px;
  color: var(--ink-soft);
}

/* list rows (events / news / publications / programs) */
.item-row {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}
.item-row:last-child {
  border-bottom: 1px solid var(--line);
}
.row-thumb {
  width: 78px;
  height: 78px;
  border-radius: var(--radius-s);
  flex-shrink: 0;
  background: linear-gradient(
    150deg,
    var(--purple-mist-2),
    var(--purple-light)
  );
  position: relative;
  overflow: hidden;
}
.row-thumb .icon {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 26px;
  height: 26px;
  color: var(--purple-800);
}
.row-body {
  flex: 1;
  min-width: 0;
}
.row-body .badge {
  display: inline-block;
  background: var(--purple-mist);
  color: var(--purple-800);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}
.row-body h3 {
  font-size: 16px;
  margin-bottom: 5px;
}
.row-meta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--ink-faint);
}
.row-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
}
.row-meta .icon {
  width: 14px;
  height: 14px;
}
.date-badge {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  background: var(--purple-mist);
  color: var(--purple-900);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.date-badge strong {
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1;
}
.date-badge span {
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
@media (max-width: 620px) {
  .item-row {
    flex-wrap: wrap;
  }
  .row-thumb {
    display: none;
  }
}

/* tabs */
.tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.tabs button {
  background: #fff;
  border: 1px solid var(--line);
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-soft);
}
.tabs button.active {
  background: var(--purple-900);
  color: #fff;
  border-color: var(--purple-900);
}

/* CTA band */
.cta-band {
  background: linear-gradient(
    120deg,
    var(--purple-900),
    var(--purple) 65%,
    var(--purple-mid)
  );
  border-radius: var(--radius-l);
  padding: 56px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}
.cta-band h3 {
  color: #fff;
  font-size: 24px;
  margin-bottom: 6px;
}
.cta-band p {
  color: #ded7f3;
  margin: 0;
}
@media (max-width: 700px) {
  .cta-band {
    padding: 34px;
    text-align: center;
    justify-content: center;
  }
}

/* ============================================================
   MEMBERSHIP
   ============================================================ */
.member-card {
  position: relative;
  text-align: left;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.member-card > .btn {
  margin-top: auto;
  padding-top: 13px;
}
.member-card.featured {
  border-color: var(--accent-red);
}
.member-card .tag {
  position: absolute;
  top: -12px;
  right: 22px;
  background: var(--accent-red);
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  letter-spacing: 0.03em;
}

/* ============================================================
   DIRECTORY
   ============================================================ */
.search-bar {
  display: flex;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 8px 8px 20px;
  align-items: center;
  margin-bottom: 34px;
}
.search-bar .icon {
  width: 18px;
  height: 18px;
  color: var(--ink-faint);
  flex-shrink: 0;
}
.search-bar input {
  flex: 1;
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 14.5px;
  padding: 8px 0;
  color: var(--ink);
}
.search-bar input:focus {
  outline: none;
}
.search-bar .btn {
  flex-shrink: 0;
}
.member-tile {
  text-align: center;
}
.member-tile .avatar {
  margin: 0 auto 14px;
}
.member-tile h4 {
  margin-bottom: 2px;
}
.member-tile .role {
  margin-bottom: 2px;
}
.member-tile .loc {
  font-size: 12.5px;
  color: var(--ink-faint);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.member-tile .loc .icon {
  width: 13px;
  height: 13px;
}

/* ============================================================
   DASHBOARD (member preview)
   ============================================================ */
.dash-banner {
  background: var(--purple-mist);
  border: 1px solid var(--purple-light);
  color: var(--purple-900);
  font-size: 13.5px;
  font-weight: 600;
  padding: 12px 20px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 34px;
}
.dash-banner .icon {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}
.dash-layout {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 30px;
  align-items: start;
}
.dash-side {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 14px;
  position: sticky;
  top: 90px;
}
.dash-side a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 2px;
}
.dash-side a .icon {
  width: 18px;
  height: 18px;
}
.dash-side a.active {
  background: var(--purple-900);
  color: #fff;
}
.dash-side a:not(.active):hover {
  background: var(--purple-mist);
  color: var(--purple-800);
}
.dash-side hr {
  border: none;
  border-top: 1px solid var(--line);
  margin: 10px 4px;
}

.dash-welcome {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}
.dash-welcome h2 {
  margin: 0 0 3px;
  font-size: 22px;
}
.dash-welcome p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 13.5px;
}

.dash-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 26px;
}
.dash-card .top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}
.status-pill {
  background: #e4f6ea;
  color: #1e8a4c;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
}
.dash-card h4 {
  font-size: 15px;
  margin: 0 0 4px;
}
.dash-card .muted {
  font-size: 13px;
  color: var(--ink-soft);
  margin: 0 0 16px;
}

.dash-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin: 26px 0;
}
.dash-stat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 20px;
  text-align: center;
}
.dash-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 26px;
  color: var(--purple-900);
}
.dash-stat span {
  font-size: 12px;
  color: var(--ink-faint);
}
@media (max-width: 900px) {
  .dash-layout {
    grid-template-columns: 1fr;
  }
  .dash-side {
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
  }
  .dash-side a {
    flex: 1 1 auto;
    justify-content: center;
  }
  .dash-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 40px;
}
/* the grid already stretches the .reveal wrappers to the tallest column, but
   the cards inside sit at their natural height — make them fill it so the
   info card and the form line up top and bottom */
.contact-grid > * {
  display: flex;
  flex-direction: column;
}
.contact-grid .info-card,
.contact-grid .form-card {
  flex: 1;
}
.info-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: 32px;
  display: flex;
  flex-direction: column;
}
.info-row {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}
.info-row:first-of-type {
  border-top: none;
  padding-top: 0;
}
.info-row .icon-box {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--purple-mist);
  color: var(--purple-800);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 9px;
}
.info-row h4 {
  margin: 0 0 3px;
  font-size: 14px;
}
.info-row p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 13.5px;
}
.social-row {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}
/* pin the socials to the bottom so the extra height reads as deliberate
   spacing rather than a gap under the last row */
.info-card .social-row {
  margin-top: auto;
  padding-top: 22px;
}
.social-row a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--purple-mist);
  color: var(--purple-800);
  display: flex;
  align-items: center;
  justify-content: center;
}
.social-row a .icon {
  width: 16px;
  height: 16px;
}
.social-row a:hover {
  background: var(--purple-900);
  color: #fff;
}
.map-box {
  margin-top: 22px;
  height: 170px;
  border-radius: var(--radius-m);
  background: repeating-linear-gradient(
    135deg,
    var(--purple-mist),
    var(--purple-mist) 10px,
    #fff 10px,
    #fff 20px
  );
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-faint);
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  padding: 0 20px;
}

.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: 36px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.form-grid .full {
  grid-column: 1/-1;
}
.field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--ink-soft);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 15px;
  border-radius: 12px;
  border: 1px solid var(--line);
  font-family: inherit;
  font-size: 14.5px;
  background: var(--bg-alt);
  color: var(--ink);
}
.field textarea {
  resize: vertical;
  min-height: 110px;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid var(--purple-light);
  outline-offset: 1px;
  background: #fff;
}
.form-card .btn {
  margin-top: 6px;
}
.form-note {
  font-size: 12px;
  color: var(--ink-faint);
  margin-top: 14px;
  text-align: center;
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--purple-950);
  color: #bdb4de;
  padding: 64px 0 26px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1.3fr;
  gap: 34px;
  margin-bottom: 44px;
}
.footer-brand {
  display: flex;
  gap: 11px;
  align-items: center;
  margin-bottom: 16px;
}
.footer-brand img {
  height: 38px;
  width: 38px;
}
.footer-brand span {
  font-family: var(--font-display);
  color: #fff;
  font-weight: 700;
  font-size: 16px;
}
footer p {
  color: #9c92c2;
  font-size: 13.5px;
}
footer h5 {
  color: #fff;
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
  text-transform: uppercase;
}
footer .flinks li {
  margin-bottom: 11px;
}
footer .flinks a {
  font-size: 13.5px;
  color: #b6add6;
  transition: color 0.15s;
}
footer .flinks a:hover {
  color: #fff;
}
.footer-social {
  display: flex;
  gap: 9px;
  margin-top: 18px;
}
.footer-social a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #d8d2f0;
}
.footer-social a .icon {
  width: 15px;
  height: 15px;
}
.footer-social a:hover {
  background: var(--purple);
  color: #fff;
}
.news-signup {
  display: flex;
  gap: 8px;
  margin-top: 6px;
}
.news-signup input {
  flex: 1;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  padding: 12px 16px;
  font-size: 13.5px;
  color: #fff;
  font-family: inherit;
}
.news-signup input::placeholder {
  color: #8e85b5;
}
.news-signup input:focus {
  outline: 1.5px solid var(--purple-light);
}
.news-signup button {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--accent-red);
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.news-signup .icon {
  width: 17px;
  height: 17px;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 12.5px;
  color: #847aa9;
}
.footer-bottom .flinks {
  display: flex;
  gap: 20px;
}
.footer-langs {
  display: flex;
  gap: 14px;
}
.footer-langs button {
  background: none;
  border: none;
  color: #847aa9;
  font-size: 12.5px;
  font-weight: 700;
  padding: 0;
}
.footer-langs button.active {
  color: #fff;
}
@media (max-width: 980px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 560px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .contact-grid,
  .split {
    grid-template-columns: 1fr;
  }
  .split.rev .media-blob {
    order: 0;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .media-blob {
    min-height: 260px;
  }
}

/* reveal-on-scroll */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.55s ease,
    transform 0.55s ease;
}
.reveal.in {
  opacity: 1;
  transform: none;
}
