:root {
  --ink: #0c1017;
  --ink-soft: #1a2230;
  --slate: #3d4a5c;
  --muted: #5c6b7e;
  --paper: #eef2f6;
  --paper-2: #e4eaf1;
  --line: rgba(12, 16, 23, 0.12);
  --brand: #7a2fc4;
  --brand-deep: #5a1f96;
  --brand-soft: rgba(122, 47, 196, 0.12);
  --white: #ffffff;
  --font-display: "Newsreader", "Times New Roman", serif;
  --font-body: "Manrope", sans-serif;
  --max: 1120px;
  --nav-h: 4.25rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--brand-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

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

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
}

h1 {
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
}

h2 {
  font-size: clamp(1.9rem, 3.5vw, 2.75rem);
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.55rem);
}

p {
  margin: 0 0 1rem;
  color: var(--slate);
}

.wrap {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

/* ——— Nav ——— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-h);
  background: rgba(12, 16, 23, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-brand img {
  height: 2.1rem;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.15rem 1.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: color 0.2s var(--ease);
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--white);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.05rem;
  background: var(--brand);
  color: var(--white) !important;
  text-decoration: none !important;
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
  border-radius: 2px;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}

.nav-cta:hover {
  background: var(--brand-deep);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  color: var(--white);
  cursor: pointer;
  border-radius: 2px;
}

.nav-toggle span {
  display: block;
  width: 1.1rem;
  height: 1.5px;
  margin: 0.28rem auto;
  background: currentColor;
}

@media (max-width: 860px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    inset: var(--nav-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.75rem 1.25rem 1.25rem;
    background: var(--ink);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
  }

  .nav-links.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nav-links a {
    display: block;
    padding: 0.9rem 0.15rem;
  }

  .nav-links .nav-cta {
    margin-top: 0.75rem;
    text-align: center;
  }
}

/* ——— Buttons ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.85rem 1.35rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none !important;
  border-radius: 2px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease),
    border-color 0.2s var(--ease), transform 0.2s var(--ease);
}

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

.btn-primary {
  background: var(--brand);
  color: var(--white) !important;
}

.btn-primary:hover {
  background: var(--brand-deep);
}

.btn-ghost {
  background: transparent;
  color: var(--white) !important;
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-ghost:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.06);
}

.btn-dark {
  background: var(--ink);
  color: var(--white) !important;
}

.btn-dark:hover {
  background: var(--ink-soft);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

/* ——— Hero ——— */
.hero {
  position: relative;
  min-height: calc(100vh - var(--nav-h));
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
}

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

.hero-visual svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(12, 16, 23, 0.35) 0%, rgba(12, 16, 23, 0.55) 45%, rgba(12, 16, 23, 0.92) 100%),
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(122, 47, 196, 0.28), transparent 60%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: clamp(3rem, 10vh, 6rem) 0 clamp(3.5rem, 8vh, 5.5rem);
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.hero-brand {
  display: block;
  width: min(100%, 520px);
  height: auto;
  margin-bottom: 1.75rem;
  opacity: 0;
  animation: rise 0.9s var(--ease) 0.1s forwards;
}

.hero-kicker {
  margin: 0 0 0.65rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  opacity: 0;
  animation: rise 0.9s var(--ease) 0.2s forwards;
}

.hero h1 {
  color: var(--white);
  max-width: 14ch;
  opacity: 0;
  animation: rise 0.9s var(--ease) 0.3s forwards;
}

.hero-lead {
  max-width: 38rem;
  margin: 1rem 0 0;
  font-size: 1.12rem;
  color: rgba(255, 255, 255, 0.78);
  opacity: 0;
  animation: rise 0.9s var(--ease) 0.42s forwards;
}

.hero .btn-row {
  opacity: 0;
  animation: rise 0.9s var(--ease) 0.55s forwards;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ——— Sections ——— */
.section {
  padding: clamp(3.5rem, 8vw, 5.5rem) 0;
}

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

.section-head {
  max-width: 40rem;
  margin-bottom: 2.5rem;
}

.section-head p {
  font-size: 1.08rem;
}

.eyebrow {
  display: block;
  margin-bottom: 0.55rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand);
}

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

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

.prose p:last-child {
  margin-bottom: 0;
}

.affiliation {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: 0.95rem;
  color: var(--muted);
}

.affiliation strong {
  color: var(--ink);
  font-weight: 600;
}

/* ——— Activities list ——— */
.topic-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.topic-list li {
  display: grid;
  grid-template-columns: 3.5rem 1fr;
  gap: 1rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
}

.topic-index {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--brand);
  line-height: 1.2;
}

.topic-list h3 {
  margin-bottom: 0.45rem;
}

.topic-list p {
  margin: 0;
  max-width: 48rem;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}

/* ——— Team ——— */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem 2.5rem;
}

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

.person {
  padding-top: 1.25rem;
  border-top: 2px solid var(--ink);
}

.person-role {
  margin: 0 0 0.75rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand);
}

.person p {
  font-size: 0.98rem;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}

@media (max-width: 560px) {
  .topic-list p,
  .person p {
    text-align: left;
  }
}

.person-lead {
  grid-column: 1 / -1;
  max-width: 48rem;
}

/* ——— Contact ——— */
.contact-block {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 40rem;
}

@media (max-width: 560px) {
  .contact-block {
    grid-template-columns: 1fr;
  }
}

.contact-item dt {
  margin: 0 0 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-item dd {
  margin: 0;
  font-size: 1.05rem;
  color: var(--ink);
}

.contact-item a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}

.contact-item a:hover {
  color: var(--brand);
  border-color: var(--brand);
}

/* ——— Page hero (inner) ——— */
.page-hero {
  background: var(--ink);
  color: var(--white);
  padding: clamp(3rem, 8vw, 4.5rem) 0;
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -40% 40%;
  height: 120%;
  background: radial-gradient(circle, rgba(122, 47, 196, 0.35), transparent 65%);
  pointer-events: none;
}

.page-hero .wrap {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  color: var(--white);
  max-width: 16ch;
}

.page-hero p {
  max-width: 36rem;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 0;
}

/* ——— Reveal ——— */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

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

/* ——— Footer ——— */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.65);
  padding: 2.5rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-brand img.logo {
  height: 1.85rem;
  width: auto;
}

.footer-brand img.seal {
  height: 3rem;
  width: auto;
  opacity: 0.9;
}

.footer-meta {
  font-size: 0.88rem;
  max-width: 28rem;
}

.footer-meta a {
  color: rgba(255, 255, 255, 0.85);
}

.footer-copy {
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}
