:root {
  color-scheme: dark;
  --black: #05050b;
  --surface: #0a0912;
  --ink: #f4f1fb;
  --muted: #aaa6b8;
  --line: rgba(154, 98, 235, 0.24);
  --purple: #9b4dff;
  --blue: #57a6ff;
  --serif: "Italiana", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--black);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    linear-gradient(rgba(5, 5, 11, 0.93), rgba(5, 5, 11, 0.98)),
    radial-gradient(circle at 20% 0%, rgba(76, 32, 143, 0.2), transparent 34%);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.7;
}

a {
  color: inherit;
}

.ambient {
  position: fixed;
  z-index: -1;
  width: 42rem;
  height: 42rem;
  border-radius: 50%;
  filter: blur(130px);
  opacity: 0.13;
  pointer-events: none;
}

.ambient-one {
  top: -20rem;
  left: -16rem;
  background: var(--purple);
}

.ambient-two {
  right: -22rem;
  bottom: -20rem;
  background: var(--blue);
}

.site-header,
main,
footer {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  font-family: var(--serif);
  font-size: 1.15rem;
  letter-spacing: 0.28em;
}

.brand img {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.header-contact {
  color: var(--muted);
  font-size: 0.875rem;
  letter-spacing: 0.12em;
  text-underline-offset: 6px;
  transition: color 180ms ease;
}

.header-contact:hover,
.header-contact:focus-visible {
  color: var(--ink);
}

.hero {
  min-height: calc(100vh - 92px);
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(420px, 1.1fr);
  align-items: center;
  gap: clamp(2rem, 7vw, 7rem);
  padding: 5rem 0 6rem;
}

.hero-mark-wrap {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 480px;
}

.hero-halo {
  position: absolute;
  width: 72%;
  aspect-ratio: 1;
  border: 1px solid rgba(129, 70, 223, 0.3);
  border-radius: 50%;
  box-shadow:
    0 0 0 42px rgba(94, 47, 164, 0.035),
    0 0 0 88px rgba(52, 120, 229, 0.02),
    inset 0 0 80px rgba(109, 46, 211, 0.06);
}

.hero-mark {
  position: relative;
  width: min(92%, 520px);
  filter: drop-shadow(0 0 28px rgba(83, 143, 255, 0.24));
  animation: settle 900ms ease both;
}

.hero-copy {
  position: relative;
}

.eyebrow,
.section-label p,
.contact-label {
  margin: 0;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
}

h1 {
  margin-top: 1.1rem;
  font-size: clamp(4rem, 8vw, 7.25rem);
  line-height: 0.88;
  letter-spacing: -0.025em;
}

h1 span {
  background: linear-gradient(90deg, #c48bff 0%, #69aeff 70%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.intro {
  max-width: 620px;
  margin: 2rem 0 2.25rem;
  color: #c7c3d0;
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  line-height: 1.7;
}

.primary-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  min-width: 255px;
  padding: 1rem 1.15rem;
  border: 1px solid rgba(121, 142, 255, 0.42);
  background: linear-gradient(100deg, rgba(108, 52, 190, 0.18), rgba(49, 105, 190, 0.13));
  color: var(--ink);
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.primary-link:hover,
.primary-link:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(114, 171, 255, 0.9);
  background: linear-gradient(100deg, rgba(108, 52, 190, 0.28), rgba(49, 105, 190, 0.22));
}

.about,
.media,
.contact {
  display: grid;
  grid-template-columns: minmax(120px, 0.28fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 7rem);
  padding: clamp(5rem, 10vw, 9rem) 0;
  border-top: 1px solid var(--line);
}

.section-label {
  display: flex;
  align-items: baseline;
  gap: 0.9rem;
}

.section-label span {
  color: var(--purple);
  font-family: var(--serif);
  font-size: 0.95rem;
}

.about-copy,
.media-content,
.contact-content {
  max-width: 820px;
}

.about h2,
.media h2,
.contact h2 {
  font-size: clamp(2.8rem, 5.5vw, 5.3rem);
  line-height: 1.04;
}

.about-copy > p {
  max-width: 720px;
  margin: 2rem 0 0;
  color: #bbb7c6;
  font-size: 1.1rem;
}

.about-copy > p:last-child {
  color: var(--ink);
}

.media-heading {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  align-items: center;
  gap: 1.4rem;
}

.media-heading img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  filter: drop-shadow(0 0 18px rgba(83, 143, 255, 0.18));
}

.media-heading > div > p {
  max-width: 620px;
  margin: 1.1rem 0 0;
  color: #bbb7c6;
  font-size: 1.05rem;
}

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

.media-card {
  min-height: 230px;
  padding: 1.5rem;
  border: 1px solid rgba(146, 112, 202, 0.26);
  background: linear-gradient(145deg, rgba(72, 34, 122, 0.12), rgba(24, 53, 92, 0.08));
  text-decoration: none;
}

a.media-card {
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

a.media-card:hover,
a.media-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(114, 171, 255, 0.72);
  background: linear-gradient(145deg, rgba(72, 34, 122, 0.2), rgba(24, 53, 92, 0.14));
}

.media-kicker {
  margin: 0;
  color: var(--purple);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.media-card h3 {
  margin: 0.8rem 0 0;
  font-family: var(--serif);
  font-size: 1.75rem;
  font-weight: 400;
  line-height: 1.15;
}

.media-card > p:not(.media-kicker) {
  margin: 1rem 0 0;
  color: #aaa6b8;
}

.media-card > span {
  display: inline-block;
  margin-top: 1.35rem;
  color: #86baff;
  font-size: 0.9rem;
}

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

.contact-block {
  padding-top: 1.25rem;
  border-top: 1px solid rgba(146, 112, 202, 0.28);
}

.contact-block a,
.contact-block address {
  display: inline-block;
  margin-top: 0.8rem;
  color: #ded9e8;
  font-size: 1.05rem;
  font-style: normal;
  text-decoration-color: rgba(114, 168, 255, 0.5);
  text-underline-offset: 5px;
}

.contact-block a:hover,
.contact-block a:focus-visible {
  color: #86baff;
}

.address {
  grid-column: 1 / -1;
}

footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 2rem;
  min-height: 126px;
  border-top: 1px solid var(--line);
  color: #898592;
  font-size: 0.8rem;
}

.footer-name {
  color: #dcd8e4;
  font-family: var(--serif);
  letter-spacing: 0.32em;
}

/* Official member artwork retains its supplied colors, proportions and text. */
.program-membership {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin-top: 2rem;
}

.program-badge {
  display: block;
  flex: 0 0 auto;
  padding: 24px;
}

.program-badge img {
  display: block;
  width: 180px;
  height: auto;
}

.program-membership p {
  flex: 1 1 14rem;
  max-width: 22rem;
  margin: 0;
  color: #c7c3d0;
  font-size: 0.875rem;
  line-height: 1.6;
}

.infrastructure-credit {
  margin-top: 0.5rem;
}

footer .trademark-note {
  grid-column: 1 / -1;
  max-width: 88ch;
  margin: 0 0 1.5rem;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.6;
}

@keyframes settle {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

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

  .hero-mark {
    animation: none;
  }
}

@media (max-width: 820px) {
  .site-header,
  main,
  footer {
    width: min(100% - 30px, 680px);
  }

  .site-header {
    min-height: 76px;
  }

  .brand {
    font-size: 0.95rem;
  }

  .brand img {
    width: 40px;
    height: 40px;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 3rem 0 5rem;
  }

  .hero-mark-wrap {
    min-height: 340px;
  }

  .hero-mark {
    width: min(88%, 430px);
  }

  .hero-copy {
    text-align: center;
  }

  .program-membership {
    justify-content: center;
  }

  .intro {
    margin-inline: auto;
  }

  .about,
  .media,
  .contact {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

  footer {
    grid-template-columns: 1fr;
    gap: 0.25rem;
    padding: 2rem 0;
  }

  footer p {
    margin: 0;
  }
}

@media (max-width: 540px) {
  .header-contact {
    font-size: 0.8rem;
  }

  h1 {
    font-size: clamp(3.55rem, 18vw, 5rem);
  }

  .hero-mark-wrap {
    min-height: 285px;
  }

  .primary-link {
    width: 100%;
  }

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

  .address {
    grid-column: auto;
  }
}

/* Secondary pages and primary navigation */
.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.8vw, 2.1rem);
}

.site-nav a {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.active {
  color: var(--ink);
}

.site-nav a.active {
  text-decoration: underline;
  text-decoration-color: var(--purple);
  text-underline-offset: 7px;
}

.page-main {
  padding-bottom: 2rem;
}
.policy-page .page-hero {
  min-height: 0;
  grid-template-columns: minmax(0, 1fr);
}
.policy-page .page-hero-copy {
  max-width: 900px;
}
.policy-page .page-hero-copy a {
  color: #86baff;
}
.page-hero {
  min-height: 66vh;
  display: grid;
  grid-template-columns: minmax(220px, 0.6fr) minmax(0, 1.4fr);
  align-items: center;
  gap: clamp(2.5rem, 7vw, 7rem);
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.page-mark-wrap {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 300px;
}

.page-mark-halo {
  position: absolute;
  width: min(82%, 300px);
  aspect-ratio: 1;
  border: 1px solid rgba(129, 70, 223, 0.28);
  border-radius: 50%;
  box-shadow: 0 0 70px rgba(92, 70, 210, 0.12);
}

.page-mark {
  position: relative;
  width: min(82%, 280px);
  filter: drop-shadow(0 0 24px rgba(83, 143, 255, 0.2));
}
.page-hero-copy {
  max-width: 760px;
}

.page-title {
  margin-top: 1rem;
  font-size: clamp(3.4rem, 6.8vw, 6.5rem);
  line-height: 0.95;
  letter-spacing: -0.025em;
}

.page-title span {
  background: linear-gradient(90deg, #c48bff 0%, #69aeff 70%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.page-lede {
  max-width: 720px;
  margin: 2rem 0 0;
  color: #c7c3d0;
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  line-height: 1.75;
}

.story-section {
  display: grid;
  grid-template-columns: minmax(120px, 0.28fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 7rem);
  padding: clamp(4.5rem, 8vw, 7.5rem) 0;
  border-top: 1px solid var(--line);
}
.story-copy {
  max-width: 860px;
}

.story-copy h2 {
  font-size: clamp(2.5rem, 5vw, 4.8rem);
  line-height: 1.04;
}

.story-copy > p,
.ack-intro,
.support-note {
  max-width: 760px;
  margin: 1.75rem 0 0;
  color: #bbb7c6;
  font-size: 1.08rem;
}

.story-copy a {
  color: #86baff;
  text-decoration-color: rgba(134, 186, 255, 0.5);
  text-underline-offset: 5px;
}

.research-grid,
.ack-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 2.5rem;
}
.research-card,
.credit-card {
  border: 1px solid rgba(146, 112, 202, 0.24);
  background: linear-gradient(145deg, rgba(17, 13, 28, 0.92), rgba(8, 10, 20, 0.82));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

.research-card {
  padding: 1.6rem;
}

.card-kicker,
.credit-kicker {
  margin: 0;
  color: var(--purple);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.research-card h3 {
  margin: 0.7rem 0 0;
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 400;
}

.research-card > p:last-child {
  margin: 0.85rem 0 0;
  color: #aaa6b8;
}
.credit-card {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 1.2rem;
  align-items: center;
  padding: 1.35rem;
}

.credit-card img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  filter: drop-shadow(0 0 16px rgba(83, 143, 255, 0.14));
}

.credit-card p:not(.credit-kicker) {
  margin: 0.55rem 0 0;
  color: #c5c1ce;
}

.support-note {
  font-size: 0.92rem;
  color: #8f8a9a;
}
@media (max-width: 820px) {
  .site-header {
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 0;
  }

  .site-nav {
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 0.6rem 1rem;
  }

  .site-nav a {
    font-size: 0.72rem;
    letter-spacing: 0.07em;
  }

  .page-hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 3rem 0 4.5rem;
  }

  .page-mark-wrap {
    min-height: 230px;
  }
  .page-mark {
    width: min(62vw, 240px);
  }

  .page-hero-copy {
    text-align: center;
    margin-inline: auto;
  }

  .page-lede {
    margin-inline: auto;
  }

  .story-section {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }
}

@media (max-width: 540px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    padding: 1rem 0;
  }

  .site-nav {
    width: 100%;
    justify-content: space-between;
    gap: 0.6rem;
  }
  .site-nav a {
    font-size: 0.68rem;
  }

  .page-title {
    font-size: clamp(3rem, 15vw, 4.5rem);
  }

  .research-grid,
  .ack-grid {
    grid-template-columns: 1fr;
  }

  .credit-card {
    grid-template-columns: 52px minmax(0, 1fr);
  }

  .credit-card img {
    width: 52px;
    height: 52px;
  }
}
