:root {
  --ink: #2c2c2c;
  --muted: #4f5d70;
  --line: #d7dde6;
  --paper: #f5f7fa;
  --white: #ffffff;
  --blue: #1e6cf2;
  --purple: #7b3ff2;
  --red: #e63946;
  --green: #2ecc71;
  --shadow: 0 18px 45px rgba(30, 108, 242, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 132px;
}

html.large-text {
  font-size: 112.5%;
}

body {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

body.high-contrast {
  --ink: #000000;
  --muted: #111111;
  --line: #000000;
  --paper: #ffffff;
  --white: #ffffff;
  --blue: #004ed6;
  --purple: #4c16b8;
  --red: #c90016;
  --green: #087a34;
}

body.high-contrast .card,
body.high-contrast .site-header,
body.high-contrast input,
body.high-contrast select,
body.high-contrast textarea {
  border-width: 2px;
}

body.reduce-motion *,
body.reduce-motion *::before,
body.reduce-motion *::after {
  scroll-behavior: auto !important;
  transition: none !important;
  animation: none !important;
}

a {
  color: inherit;
  text-decoration: none;
}

.wrap {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(215, 221, 230, 0.92);
  background: rgba(245, 247, 250, 0.94);
  backdrop-filter: blur(16px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
}

.mark {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 3px solid var(--ink);
  object-fit: cover;
  background: var(--white);
  box-shadow: 0 8px 20px rgba(44, 44, 44, 0.12);
}

.brand small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.links {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.links a:hover,
.links a[aria-current="page"] {
  color: var(--blue);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--white);
  background: var(--blue);
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(30, 108, 242, 0.22);
}

.button:hover {
  background: #1352bd;
}

.button.secondary {
  color: var(--ink);
  background: var(--white);
  border-color: var(--line);
  box-shadow: none;
}

.hero,
.page-hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(44, 44, 44, 0.88), rgba(30, 108, 242, 0.78)),
    radial-gradient(circle at 82% 18%, rgba(123, 63, 242, 0.42), transparent 32%),
    linear-gradient(135deg, var(--blue), var(--purple) 58%, var(--red));
  color: var(--white);
}

.hero .wrap {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: 54px;
  min-height: calc(100vh - 74px);
  padding: 72px 0 88px;
}

.page-hero .wrap {
  padding: 76px 0;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.hero .eyebrow,
.page-hero .eyebrow {
  color: #ffffff;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(44px, 7vw, 76px);
  line-height: 0.97;
  letter-spacing: 0;
}

.page-hero h1 {
  font-size: clamp(42px, 5vw, 64px);
}

h1 .purple {
  color: #d9ceff;
}

h1 .red {
  color: var(--red);
}

.hero-copy,
.page-copy {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 19px;
  line-height: 1.75;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.impact-panel {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow);
}

.impact-panel h2 {
  margin-bottom: 22px;
  color: var(--white);
  font-size: 24px;
}

.steps {
  display: grid;
  gap: 12px;
}

.step {
  display: grid;
  grid-template-columns: 44px 1fr;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  font-weight: 800;
}

.step span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  color: var(--white);
  background: var(--red);
}

section {
  padding: 82px 0;
}

.section-head {
  max-width: 760px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-head h2 {
  margin-bottom: 18px;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.04;
}

.section-head p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: 18px;
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.photo-card {
  min-height: 260px;
  display: grid;
  align-content: end;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  color: var(--white);
  background:
    linear-gradient(160deg, rgba(44, 44, 44, 0.18), rgba(44, 44, 44, 0.78)),
    linear-gradient(135deg, var(--blue), var(--purple));
  box-shadow: var(--shadow);
}

.photo-card:nth-child(2) {
  background:
    linear-gradient(160deg, rgba(44, 44, 44, 0.12), rgba(44, 44, 44, 0.78)),
    linear-gradient(135deg, var(--purple), var(--red));
}

.photo-card:nth-child(3) {
  background:
    linear-gradient(160deg, rgba(44, 44, 44, 0.12), rgba(44, 44, 44, 0.78)),
    linear-gradient(135deg, var(--green), var(--blue));
}

.photo-card p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.82);
}

.photo-card.with-image {
  overflow: hidden;
  min-height: 0;
  padding: 0;
  color: var(--ink);
  background: var(--white);
}

.photo-card.with-image img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
}

.photo-card.with-image div {
  padding: 22px;
}

.photo-card.with-image p {
  color: var(--muted);
}

.gallery-showcase {
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 92, 121, 0.18), transparent 30%),
    linear-gradient(120deg, #381464 0%, #54228f 45%, #315ee4 100%);
  padding: 56px 0 74px;
}

.gallery-showcase .section-head {
  max-width: 900px;
  margin-bottom: 34px;
}

.gallery-showcase .section-head h2 {
  color: var(--white);
  text-wrap: balance;
}

.gallery-showcase .section-head p {
  color: rgba(255, 255, 255, 0.78);
}

.gallery-slider {
  position: relative;
  width: min(1500px, calc(100vw - 32px));
  margin: 0 auto;
}

.gallery-stage {
  position: relative;
  overflow: visible;
  min-height: 620px;
}

.gallery-slides {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px;
  align-items: center;
  min-height: 620px;
}

.gallery-slide {
  position: relative;
  display: none;
  margin: 0;
  overflow: hidden;
  min-height: 560px;
  border: 2px solid rgba(255, 255, 255, 0.28);
  border-radius: 44px;
  background: rgba(255, 255, 255, 0.08);
  opacity: 0.82;
  box-shadow: 0 26px 70px rgba(11, 18, 48, 0.32);
  transition: opacity 0.35s ease;
}

.gallery-slide::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 28%;
  background: linear-gradient(180deg, transparent, rgba(10, 20, 36, 0.34));
  pointer-events: none;
}

.gallery-slide.is-previous,
.gallery-slide.is-active {
  display: block;
}

.gallery-slide.is-next {
  display: block;
}

.gallery-slide.is-active {
  opacity: 1;
  transform: translateY(-8px);
}

.gallery-slide img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
  background: #e8f2ff;
}

.gallery-control {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 50px;
  height: 50px;
  transform: translateY(-50%);
  border: 0;
  border-radius: 50%;
  color: #12213a;
  background: rgba(255, 255, 255, 0.94);
  font-size: 36px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 14px 32px rgba(18, 33, 58, 0.22);
}

.gallery-control:hover,
.gallery-control:focus-visible {
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--purple));
}

.gallery-control.previous {
  left: -18px;
}

.gallery-control.next {
  right: -18px;
}

.gallery-count {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  border-radius: 999px;
  padding: 9px 14px;
  color: var(--white);
  background: rgba(18, 33, 58, 0.82);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.gallery-thumbs {
  display: flex;
  justify-content: center;
  gap: 9px;
  padding-top: 18px;
}

.gallery-thumbs button {
  width: 9px;
  height: 9px;
  border: 0;
  border-radius: 999px;
  padding: 0;
  background: rgba(255, 255, 255, 0.42);
  cursor: pointer;
  opacity: 1;
  transition:
    background 0.2s ease,
    transform 0.2s ease;
}

.gallery-thumbs button:hover,
.gallery-thumbs button:focus-visible,
.gallery-thumbs button.is-active {
  width: 28px;
  background: var(--white);
  transform: none;
}

.card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px;
  background: var(--white);
  box-shadow: 0 8px 22px rgba(46, 28, 16, 0.06);
}

.card h3 {
  margin-bottom: 12px;
  font-size: 22px;
}

.card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.65;
}

.profile-card {
  overflow: hidden;
  padding: 0;
}

.profile-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  background: var(--white);
}

.profile-placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 4 / 5;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--purple));
  font-size: 46px;
  font-weight: 900;
}

.profile-card div {
  padding: 24px;
}

.founder-spotlight {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 18%, rgba(46, 204, 113, 0.18), transparent 30%),
    radial-gradient(circle at 88% 18%, rgba(123, 63, 242, 0.18), transparent 32%),
    linear-gradient(180deg, #ffffff 0%, #eef6ff 100%);
}

.founder-layout {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 34px;
  align-items: stretch;
}

.founder-portrait {
  position: relative;
  min-height: 620px;
  margin: 0;
  overflow: hidden;
  border-radius: 44px;
  background: var(--white);
  box-shadow: 0 28px 70px rgba(18, 33, 58, 0.16);
}

.founder-portrait::before {
  content: "";
  position: absolute;
  inset: 18px 18px auto auto;
  z-index: 1;
  width: 112px;
  height: 112px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--green), var(--blue));
  opacity: 0.9;
}

.founder-portrait::after {
  content: "";
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 28px;
  height: 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue), var(--purple), var(--green));
}

.founder-portrait img {
  width: 100%;
  height: 100%;
  min-height: 620px;
  display: block;
  object-fit: cover;
  object-position: center top;
}

.founder-story {
  display: grid;
  align-content: center;
  border-radius: 44px;
  padding: clamp(34px, 5vw, 62px);
  color: var(--white);
  background:
    radial-gradient(circle at 90% 12%, rgba(255, 255, 255, 0.22), transparent 24%),
    linear-gradient(135deg, #2057d6 0%, #6731d7 54%, #381464 100%);
  box-shadow: 0 28px 70px rgba(18, 33, 58, 0.18);
}

.founder-story .eyebrow {
  color: rgba(255, 255, 255, 0.8);
}

.founder-story h2 {
  max-width: 760px;
  margin: 0 0 20px;
  color: var(--white);
  font-size: clamp(42px, 6vw, 76px);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.founder-story p {
  max-width: 690px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 21px;
  line-height: 1.65;
}

.founder-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 26px 0 28px;
}

.founder-tags span {
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  padding: 10px 14px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  font-size: 14px;
  font-weight: 900;
}

.founder-notes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.founder-notes article {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 18px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.1);
}

.founder-notes strong {
  display: block;
  margin-bottom: 8px;
  color: var(--white);
  font-size: 18px;
}

.founder-notes span {
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.55;
}

.board-poster {
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(30, 108, 242, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, #ffffff 0%, #f5f7fa 100%);
  background-size: 42px 42px, auto;
}

.board-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 32px;
  align-items: center;
}

.board-copy {
  position: relative;
  border-radius: 44px;
  padding: clamp(34px, 5vw, 58px);
  color: var(--white);
  background:
    radial-gradient(circle at 18% 14%, rgba(255, 255, 255, 0.24), transparent 24%),
    linear-gradient(145deg, var(--blue) 0%, var(--purple) 78%);
  box-shadow: 0 28px 70px rgba(30, 108, 242, 0.18);
}

.board-copy::after {
  content: "";
  position: absolute;
  right: -32px;
  bottom: 38px;
  width: 132px;
  height: 132px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: -82px -120px 0 -38px var(--green);
}

.board-copy .eyebrow,
.community-engine-head .eyebrow {
  color: rgba(255, 255, 255, 0.78);
}

.board-copy h2,
.community-engine-head h2 {
  position: relative;
  z-index: 1;
  margin: 0 0 18px;
  color: var(--white);
  font-size: clamp(42px, 6vw, 72px);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.board-copy p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 20px;
  line-height: 1.65;
}

.board-ribbon {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.board-ribbon span {
  border-radius: 999px;
  padding: 10px 14px;
  color: #12213a;
  background: var(--white);
  font-size: 13px;
  font-weight: 900;
}

.board-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.board-member-card {
  overflow: hidden;
  border-radius: 34px;
  background: var(--white);
  box-shadow: 0 24px 60px rgba(18, 33, 58, 0.14);
}

.board-member-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center top;
}

.board-member-card div {
  border-top: 14px solid var(--green);
  padding: 24px;
}

.board-member-card.accent-red div {
  border-top-color: var(--red);
}

.board-member-card span,
.engine-grid span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 14px;
  border-radius: 999px;
  color: var(--white);
  background: var(--blue);
  font-weight: 900;
}

.board-member-card.accent-red span {
  background: var(--red);
}

.board-member-card h3 {
  margin: 0 0 10px;
  font-size: 28px;
}

.board-member-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.community-engine {
  overflow: hidden;
  background:
    radial-gradient(circle at 92% 18%, rgba(46, 204, 113, 0.22), transparent 26%),
    linear-gradient(135deg, #2c2c2c 0%, #111827 100%);
}

.community-engine-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 36px;
  align-items: center;
}

.community-engine-head p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 20px;
  line-height: 1.65;
}

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

.engine-grid article {
  min-height: 230px;
  border-radius: 30px;
  padding: 26px;
  color: var(--white);
  background: var(--blue);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
}

.engine-grid article:nth-child(2) {
  background: var(--purple);
}

.engine-grid article:nth-child(3) {
  background: var(--green);
}

.engine-grid article:nth-child(4) {
  background: var(--red);
}

.engine-grid article:nth-child(3) span {
  background: #12213a;
}

.engine-grid h3 {
  margin: 0 0 12px;
  color: var(--white);
  font-size: 28px;
}

.engine-grid p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.6;
}

.program-card {
  display: flex;
  flex-direction: column;
  min-height: 270px;
}

.icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border-radius: 8px;
  color: var(--white);
  background: var(--blue);
  font-size: 21px;
  font-weight: 900;
}

.program-card:nth-child(2) .icon,
.path-card:nth-child(2) .icon {
  background: var(--purple);
}

.program-card:nth-child(3) .icon,
.path-card:nth-child(3) .icon {
  background: var(--green);
}

.program-card:nth-child(4) .icon,
.path-card:nth-child(4) .icon {
  background: var(--red);
}

.program-card:nth-child(5) .icon {
  background: var(--purple);
}

.program-card:nth-child(6) .icon {
  background: var(--green);
}

.text-link {
  margin-top: auto;
  padding-top: 18px;
  color: var(--blue);
  font-weight: 900;
}

.dark-band {
  color: var(--white);
  background: var(--ink);
}

.dark-band .section-head p,
.dark-band .card p {
  color: rgba(255, 255, 255, 0.72);
}

.dark-band .card {
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.08);
}

.event-date {
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-panel {
  background: linear-gradient(135deg, rgba(30, 108, 242, 0.08), rgba(123, 63, 242, 0.08), rgba(230, 57, 70, 0.08));
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 34px;
  align-items: start;
}

.contact-list {
  display: grid;
  gap: 12px;
  margin-top: 28px;
  color: var(--muted);
  font-weight: 700;
}

form {
  display: grid;
  gap: 14px;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px 16px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
}

textarea {
  min-height: 132px;
  resize: vertical;
}

.site-footer {
  padding: 62px 0;
  color: rgba(255, 255, 255, 0.86);
  background:
    radial-gradient(circle at 88% 18%, rgba(46, 204, 113, 0.24), transparent 28%),
    linear-gradient(135deg, #057fb6 0%, #0a69a3 48%, #2057d6 100%);
  font-family: "Trebuchet MS", "Segoe UI", Arial, sans-serif;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.15fr 1fr 0.8fr;
  align-items: start;
  gap: 34px;
}

.footer-inner strong {
  display: block;
  margin-bottom: 10px;
  color: var(--white);
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.05;
  letter-spacing: 0;
}

.footer-inner span,
.footer-contact a {
  font-size: 17px;
  line-height: 1.55;
}

.footer-contact {
  display: grid;
  gap: 10px;
}

.footer-contact a,
.footer-contact span {
  color: rgba(255, 255, 255, 0.9);
}

.footer-contact a:hover {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-meta {
  justify-self: end;
  max-width: 260px;
  text-align: right;
  font-size: 17px;
  font-weight: 700;
}

.accessibility-widget {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 50;
  display: grid;
  gap: 10px;
  justify-items: end;
}

.accessibility-toggle {
  min-width: 54px;
  min-height: 54px;
  border: 0;
  border-radius: 50%;
  color: var(--white);
  background: var(--blue);
  font-size: 24px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: var(--shadow);
}

.accessibility-panel {
  display: none;
  width: min(300px, calc(100vw - 32px));
  border: 2px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: var(--white);
  box-shadow: 0 18px 45px rgba(44, 44, 44, 0.2);
}

.accessibility-panel.open {
  display: grid;
  gap: 10px;
}

.accessibility-panel strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
}

.accessibility-panel button {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--paper);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.accessibility-panel button[aria-pressed="true"] {
  color: var(--white);
  background: var(--purple);
  border-color: var(--purple);
}

.skip-link {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 100;
  transform: translateY(-160%);
  padding: 10px 14px;
  border-radius: 8px;
  color: var(--white);
  background: var(--ink);
  font-weight: 900;
}

.skip-link:focus {
  transform: translateY(0);
}

@media (max-width: 900px) {
  .links {
    display: none;
  }

  .hero .wrap,
  .contact-layout,
  .founder-layout,
  .board-layout,
  .community-engine-layout {
    grid-template-columns: 1fr;
  }

  .hero .wrap {
    min-height: auto;
  }

  .founder-portrait,
  .founder-portrait img {
    min-height: 480px;
  }

  .founder-story {
    border-radius: 28px;
  }

  .founder-story h2 {
    letter-spacing: -0.03em;
  }

  .founder-notes {
    grid-template-columns: 1fr;
  }

  .board-card-grid,
  .engine-grid {
    grid-template-columns: 1fr;
  }

  .board-copy,
  .founder-portrait,
  .founder-story,
  .board-member-card,
  .engine-grid article {
    border-radius: 28px;
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-slides {
    display: block;
    min-height: 0;
  }

  .gallery-slide {
    min-height: 520px;
  }

  .gallery-slide.is-previous,
  .gallery-slide.is-next {
    display: none;
  }

  .gallery-slide img {
    min-height: 520px;
  }

  .gallery-control {
    width: 42px;
    height: 42px;
    font-size: 30px;
  }

  .gallery-control.previous {
    left: 10px;
  }

  .gallery-control.next {
    right: 10px;
  }

  .gallery-count {
    right: 12px;
    bottom: 12px;
  }

  .gallery-thumbs {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-meta {
    text-align: left;
  }
}

/* Poster-inspired creative system */
body {
  background:
    radial-gradient(circle at 8% 12%, rgba(46, 204, 113, 0.1), transparent 24%),
    radial-gradient(circle at 92% 8%, rgba(123, 63, 242, 0.1), transparent 26%),
    #f6f8fc;
}

.site-header {
  padding: 16px 0;
  border-bottom: 0;
  background: linear-gradient(90deg, rgba(30, 108, 242, 0.14), rgba(123, 63, 242, 0.1), rgba(230, 57, 70, 0.1));
  backdrop-filter: none;
}

.nav {
  min-height: 96px;
  border: 1px solid rgba(30, 108, 242, 0.1);
  border-radius: 999px;
  padding: 0 26px 0 22px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 22px 48px rgba(18, 33, 58, 0.13);
}

.brand {
  color: #12213a;
  font-size: 22px;
  line-height: 1;
}

.brand small {
  color: var(--blue);
  font-size: 13px;
}

.mark {
  width: 70px;
  height: 70px;
  border: 4px solid #12213a;
  box-shadow: 0 10px 28px rgba(18, 33, 58, 0.14);
}

.links {
  gap: 18px;
  color: #42526a;
  font-size: 16px;
}

.links a {
  position: relative;
  padding: 8px 0;
}

.links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  border-radius: 999px;
  transform: scaleX(0);
  transform-origin: center;
  background: linear-gradient(90deg, var(--red), var(--purple), var(--blue));
  transition: transform 0.2s ease;
}

.links a:hover::after,
.links a[aria-current="page"]::after {
  transform: scaleX(1);
}

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

.button {
  min-height: 58px;
  border-radius: 18px;
  padding: 0 28px;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  font-size: 18px;
  box-shadow: 0 18px 36px rgba(30, 108, 242, 0.26);
}

.button:hover {
  background: linear-gradient(135deg, var(--red), var(--purple));
}

.button.secondary {
  border: 2px solid rgba(30, 108, 242, 0.16);
  color: #12213a;
  background: var(--white);
}

.hero,
.page-hero {
  isolation: isolate;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    radial-gradient(circle at 86% 24%, rgba(46, 204, 113, 0.38), transparent 22%),
    linear-gradient(135deg, #121a42 0%, #40206d 42%, #1e6cf2 100%);
  background-size: 34px 34px, 34px 34px, auto, auto;
}

.hero::before,
.page-hero::before {
  content: "";
  position: absolute;
  inset: auto auto -120px -80px;
  z-index: -1;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: var(--red);
  opacity: 0.78;
}

.hero::after,
.page-hero::after {
  content: "";
  position: absolute;
  right: 8%;
  top: 18%;
  z-index: -1;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: var(--green);
  opacity: 0.5;
}

h1 {
  font-weight: 950;
  letter-spacing: -0.045em;
}

.page-hero h1 {
  max-width: 980px;
  font-size: clamp(48px, 7vw, 92px);
}

.hero-copy,
.page-copy {
  font-size: 21px;
}

.impact-panel {
  border: 2px solid rgba(255, 255, 255, 0.18);
  border-radius: 34px;
  background:
    radial-gradient(circle at 86% 12%, rgba(230, 57, 70, 0.34), transparent 24%),
    rgba(255, 255, 255, 0.14);
}

.step {
  border-radius: 18px;
}

section {
  position: relative;
  scroll-margin-top: 132px;
}

.section-head h2 {
  color: #12213a;
  font-weight: 950;
  letter-spacing: -0.035em;
}

.card {
  position: relative;
  overflow: hidden;
  border: 0;
  border-radius: 28px;
  padding: 32px;
  box-shadow: 0 22px 54px rgba(18, 33, 58, 0.11);
}

.card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 9px;
  background: var(--blue);
}

.grid-2 > .card:nth-child(2n)::before,
.grid-3 > .card:nth-child(2n)::before,
.grid-4 > .card:nth-child(2n)::before {
  background: var(--purple);
}

.grid-2 > .card:nth-child(3n)::before,
.grid-3 > .card:nth-child(3n)::before,
.grid-4 > .card:nth-child(3n)::before {
  background: var(--green);
}

.grid-2 > .card:nth-child(4n)::before,
.grid-3 > .card:nth-child(4n)::before,
.grid-4 > .card:nth-child(4n)::before {
  background: var(--red);
}

.card h3 {
  color: #12213a;
  font-size: 28px;
  line-height: 1.08;
}

.text-link {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  border-radius: 999px;
  margin-top: 22px;
  padding: 10px 14px;
  color: var(--white);
  background: var(--blue);
}

.program-card {
  min-height: 330px;
  border-radius: 34px;
  background:
    radial-gradient(circle at 88% 14%, rgba(30, 108, 242, 0.14), transparent 24%),
    var(--white);
}

.program-card .icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  font-size: 18px;
  box-shadow: 0 12px 28px rgba(18, 33, 58, 0.13);
}

.event-date {
  display: inline-flex;
  width: fit-content;
  border-radius: 999px;
  padding: 8px 12px;
  color: var(--white);
  background: var(--red);
}

.contact-panel {
  background:
    radial-gradient(circle at 10% 12%, rgba(46, 204, 113, 0.16), transparent 28%),
    radial-gradient(circle at 92% 18%, rgba(123, 63, 242, 0.16), transparent 28%),
    #ffffff;
}

form.card,
.contact-layout form {
  border-radius: 34px;
}

input,
select,
textarea {
  border-radius: 18px;
  border: 2px solid rgba(30, 108, 242, 0.12);
}

.dark-band {
  background:
    radial-gradient(circle at 86% 16%, rgba(46, 204, 113, 0.22), transparent 25%),
    linear-gradient(135deg, #2c2c2c 0%, #111827 100%);
}

.site-footer {
  border-top: 10px solid var(--red);
}

.accessibility-toggle {
  background: linear-gradient(135deg, var(--blue), var(--purple));
}

@media (max-width: 900px) {
  .site-header {
    padding: 10px 0;
  }

  .nav {
    min-height: 82px;
    border-radius: 28px;
  }

  .mark {
    width: 58px;
    height: 58px;
  }

  .brand {
    font-size: 18px;
  }
}

/* Readability pass: keep the poster color, put copy on clear surfaces. */
.hero,
.page-hero {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    radial-gradient(circle at 84% 22%, rgba(46, 204, 113, 0.24), transparent 20%),
    linear-gradient(135deg, #17213c 0%, #382168 48%, #1e6cf2 100%);
}

.card,
.dark-band .card {
  color: #12213a;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 22px 54px rgba(18, 33, 58, 0.13);
}

.card h3,
.dark-band .card h3 {
  color: #12213a;
}

.card p,
.dark-band .card p {
  color: #33435c;
}

.dark-band {
  background:
    radial-gradient(circle at 86% 16%, rgba(30, 108, 242, 0.22), transparent 24%),
    linear-gradient(135deg, #17213c 0%, #24364f 100%);
}

.dark-band .section-head h2 {
  color: var(--white);
}

.dark-band .section-head p {
  color: rgba(255, 255, 255, 0.84);
}

.event-date {
  margin-bottom: 18px;
  color: var(--white);
  background: var(--red);
}

.program-card,
.contact-layout form,
form.card {
  background: rgba(255, 255, 255, 0.98);
}

.community-engine {
  background:
    radial-gradient(circle at 88% 12%, rgba(46, 204, 113, 0.18), transparent 24%),
    linear-gradient(135deg, #17213c 0%, #24364f 100%);
}

.engine-grid article,
.engine-grid article:nth-child(2),
.engine-grid article:nth-child(3),
.engine-grid article:nth-child(4) {
  color: #12213a;
  background: rgba(255, 255, 255, 0.96);
}

.engine-grid article {
  border-top: 12px solid var(--blue);
}

.engine-grid article:nth-child(2) {
  border-top-color: var(--purple);
}

.engine-grid article:nth-child(3) {
  border-top-color: var(--green);
}

.engine-grid article:nth-child(4) {
  border-top-color: var(--red);
}

.engine-grid h3 {
  color: #12213a;
}

.engine-grid p {
  color: #33435c;
}

.engine-grid span {
  color: var(--white);
}

.accessibility-panel {
  color: #12213a;
  background: #ffffff;
}

.accessibility-panel button {
  color: #12213a;
  background: #f6f8fc;
}

@media (hover: hover) {
  .card,
  .program-card,
  .board-member-card,
  .engine-grid article {
    transition:
      transform 0.24s ease,
      box-shadow 0.24s ease,
      border-radius 0.24s ease;
  }

  .card::before {
    transition: width 0.24s ease;
  }

  .card:hover,
  .card:focus-within,
  .program-card:hover,
  .board-member-card:hover,
  .engine-grid article:hover {
    transform: translateY(-6px) rotate(-0.35deg);
    border-radius: 34px;
    box-shadow: 0 34px 72px rgba(18, 33, 58, 0.2);
  }

  .grid-3 > .card:nth-child(2n):hover,
  .grid-4 > .card:nth-child(2n):hover,
  .board-member-card:nth-child(2n):hover,
  .engine-grid article:nth-child(2n):hover {
    transform: translateY(-6px) rotate(0.35deg);
  }

  .card:hover::before,
  .card:focus-within::before {
    width: 16px;
  }
}

body.reduce-motion .card,
body.reduce-motion .program-card,
body.reduce-motion .board-member-card,
body.reduce-motion .engine-grid article,
body.reduce-motion .card::before {
  transition: none;
}

body.reduce-motion .card:hover,
body.reduce-motion .card:focus-within,
body.reduce-motion .program-card:hover,
body.reduce-motion .board-member-card:hover,
body.reduce-motion .engine-grid article:hover {
  transform: none;
}
