:root {
  --violet: #7C3AED;
  --violet-mid: #6D28D9;
  --violet-light: #A78BFA;
  --violet-pale: #EDE9FE;
  --teal: #0D9488;
  --teal-light: #2DD4BF;
  --teal-pale: #F0FDFA;
  --white: #FFFFFF;
  --off-white: #F8F7FF;
  --ink: #1A1028;
  --ink-2: #2D2545;
  --ink-3: #5B5370;
  --border-v: rgba(124, 58, 237, 0.18);
  --shadow-v: rgba(124, 58, 237, 0.15);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background: var(--off-white);
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
  line-height: 1.6;
}

nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 28px;
  background: rgba(248, 247, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-v);
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border-v);
  border-radius: 8px;
  background: var(--white);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 3px 0;
  background: var(--ink);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

nav.menu-open .nav-toggle span:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}

nav.menu-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

nav.menu-open .nav-toggle span:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: nowrap;
  text-decoration: none;
}

.site-logo {
  width: 42px !important;
  height: 42px !important;
  max-width: 42px !important;
  min-width: 42px !important;
  object-fit: contain;
  display: block;
  flex: 0 0 42px;
  border-radius: 10px;
  box-shadow: 0 4px 16px var(--shadow-v);
}

.nav-brand {
  font-family: "Playfair Display", serif;
  font-size: 18px;
  color: var(--ink);
}

.nav-brand em {
  color: var(--teal);
  font-style: normal;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.nav-links a {
  text-decoration: none;
  color: var(--ink-3);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--violet);
}

.page-hero {
  padding: 90px 28px 40px;
  background:
    radial-gradient(circle at 90% 10%, rgba(167, 139, 250, 0.24), transparent 40%),
    radial-gradient(circle at 10% 90%, rgba(45, 212, 191, 0.2), transparent 38%),
    var(--off-white);
}

.page-hero .eyebrow {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 600;
  margin-bottom: 14px;
}

.page-hero h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(34px, 5.2vw, 62px);
  line-height: 1.05;
  margin-bottom: 14px;
}

.page-hero p {
  max-width: 760px;
  color: var(--ink-3);
  font-size: 17px;
}

.about-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
  gap: 22px;
  align-items: center;
}

.about-hero-copy {
  min-width: 0;
}

.about-hero-media {
  margin: 0;
  width: min(100%, 420px);
  justify-self: end;
  aspect-ratio: 4 / 3;
  border-radius: 0 50px 0 50px;
  overflow: hidden;
  border: 1px solid var(--border-v);
  box-shadow: 0 14px 34px var(--shadow-v);
  background: #fff;
}

.about-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.22s ease;
}

.about-hero-media img.is-fading {
  opacity: 0.18;
}

.section {
  padding: 34px 28px 70px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.card {
  background: var(--white);
  border: 1px solid var(--border-v);
  border-radius: 10px;
  padding: 22px;
}

.card h3 {
  font-family: "Playfair Display", serif;
  font-size: 24px;
  margin-bottom: 10px;
}

.card p,
.card li {
  color: var(--ink-3);
  font-size: 15px;
}

.card ul {
  margin-left: 18px;
  margin-top: 8px;
}

.sector-card {
  background: var(--white);
  border: 1px solid var(--border-v);
  border-radius: 10px;
  padding: 22px;
}

.sector-card h3 {
  font-family: "Playfair Display", serif;
  font-size: 24px;
  margin-bottom: 12px;
}

.partner-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.partner-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid var(--border-v);
  border-radius: 8px;
  padding: 12px;
  background: linear-gradient(135deg, rgba(237, 233, 254, 0.4), rgba(240, 253, 250, 0.4));
}

.partner-name {
  color: var(--ink-2);
  font-weight: 600;
  margin-bottom: 0;
}

.partner-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--border-v);
  padding: 6px;
  flex-shrink: 0;
}

.partner-link-btn {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(135deg, var(--violet), var(--teal));
}

.partner-link-btn:hover {
  opacity: 0.92;
}

.conference-hero {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  min-height: 294px;
  border: 1px solid var(--border-v);
  box-shadow: 0 14px 34px var(--shadow-v);
}

.conference-hero-image {
  width: 100%;
 height: 400px;
  object-fit: cover;
  display: block;
  transition: opacity 0.24s ease;
}

.conference-hero-image.is-changing {
  opacity: 0.2;
}

.conference-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
}

.conference-content {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(900px, calc(100% - 40px));
  color: #fff;
  z-index: 2;
  text-align: center;
}

.conference-content h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(30px, 5vw, 56px);
  line-height: 1.05;
  margin-bottom: 10px;
  text-transform: capitalize;
}

.conference-venue {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 18px;
}

.conference-meta {
  max-width: 880px;
  margin: 0 auto 18px;
}

.conference-meta p {
  font-size: 14px;
  line-height: 1.45;
  margin-bottom: 6px;
}

.conference-meta .meta-label {
  font-weight: 800;
  letter-spacing: 0.02em;
  margin-right: 4px;
}

.conference-meta .meta-theme {
  color: #60a5fa;
}

.conference-meta .meta-date {
  color: #60a5fa;
}

.conference-meta .meta-venue {
  color: #60a5fa;
}

.conference-meta .meta-format {
  color: #60a5fa;
}

.conference-meta p:last-child {
  margin-bottom: 0;
}

.conference-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-action-btn {
  border: none;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.hero-action-btn.primary {
  color: #fff;
  background: linear-gradient(135deg, var(--violet), var(--teal));
}

.hero-action-btn.secondary {
  color: #fff;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.55);
}

.summit-details {
  margin-top: 24px;
}

.summit-details .card .key-detail {
  font-weight: 700;
  color: var(--ink-2);
}

.summit-details .card p + p {
  margin-top: 8px;
}

.summit-strategy {
  margin-top: 22px;
}

.strategy-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.strategy-card {
  background: linear-gradient(140deg, #f5f9ff 0%, #eef3f9 100%);
  border: 1px solid #c9d8ea;
  border-radius: 12px;
  padding: 22px;
}

.strategy-card h3 {
  font-family: "Playfair Display", serif;
  font-size: 26px;
  color: #17375e;
  margin-bottom: 10px;
}

.strategy-card ul {
  margin-left: 18px;
  color: #334b63;
}

.strategy-card li + li {
  margin-top: 8px;
}

.event-schedule {
  margin-top: 24px;
  border: 1px solid #c9d8ea;
  border-radius: 12px;
  background: #f7fbff;
  overflow: hidden;
}

.schedule-header {
  padding: 20px 20px 14px;
  background: linear-gradient(135deg, #e9f2ff 0%, #f1f6fc 100%);
  border-bottom: 1px solid #c9d8ea;
}

.schedule-header h3 {
  font-family: "Playfair Display", serif;
  color: #12325a;
  font-size: 30px;
  margin-bottom: 8px;
}

.schedule-header p {
  color: #38516c;
  max-width: 780px;
}

.schedule-table-wrap {
  width: 100%;
  overflow-x: auto;
}

.schedule-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
  background: #fff;
}

.schedule-table th {
  text-align: left;
  padding: 12px 16px;
  background: #eaf2fb;
  color: #1d3a5a;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.schedule-table td {
  padding: 14px 16px;
  vertical-align: top;
  border-top: 1px solid #e2ebf5;
}

.schedule-time {
  width: 170px;
  font-weight: 700;
  color: #1b4b8a;
  white-space: nowrap;
}

.schedule-title {
  font-weight: 700;
  color: #19395c;
  margin-bottom: 4px;
}

.schedule-desc {
  color: #3f556e;
  margin-bottom: 4px;
}

.schedule-meta {
  font-size: 13px;
  color: #1d5d9b;
  font-weight: 600;
}

.register-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
}

.register-modal.is-open {
  display: flex;
}

.register-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.62);
}

.register-modal-panel {
  position: relative;
  z-index: 2;
  width: min(640px, calc(100% - 30px));
  max-height: calc(100vh - 50px);
  overflow: auto;
  background: #fff;
  border-radius: 14px;
  border: 1px solid var(--border-v);
  padding: 22px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
}

.register-modal-panel h3 {
  font-family: "Playfair Display", serif;
  margin-bottom: 14px;
}

.register-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  border: 1px solid var(--border-v);
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.register-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.register-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
}

.register-form input {
  border: 1px solid var(--border-v);
  border-radius: 8px;
  padding: 10px 12px;
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
}

.register-form label:last-of-type,
.register-form .form-submit {
  grid-column: 1 / -1;
}

.team-profile {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.team-profile-photo {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--violet-pale);
  box-shadow: 0 8px 24px var(--shadow-v);
}

.team-profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.team-profile-fallback {
  width: 100%;
  height: 100%;
  display: none;
  align-items: center;
  justify-content: center;
  font-family: "Playfair Display", serif;
  font-size: 34px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--violet), var(--teal));
}

.team-role {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
}

.team-social {
  display: flex;
  gap: 10px;
}

.team-social a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  border: 1px solid var(--border-v);
  background: var(--off-white);
  transition: transform 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.team-social a:hover {
  color: var(--violet);
  border-color: var(--violet);
  transform: translateY(-2px);
}

.team-social svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.cta-band {
  margin-top: 26px;
  padding: 20px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--violet-pale), var(--teal-pale));
  border: 1px solid var(--border-v);
}

.cta-band a {
  color: var(--violet-mid);
  font-weight: 600;
  text-decoration: none;
}

.featured-publications {
  margin-top: 30px;
}

.featured-publications h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.1;
  margin-bottom: 16px;
}

.publication-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.publication-card {
  background: var(--white);
  border: 1px solid var(--border-v);
  border-radius: 10px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.publication-card h3 {
  font-family: "Playfair Display", serif;
  font-size: 25px;
  line-height: 1.2;
}

.publication-meta {
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}

.publication-description {
  color: var(--ink-3);
  font-size: 15px;
}

.publication-link {
  margin-top: auto;
  align-self: flex-start;
  border: none;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(135deg, var(--violet), var(--teal));
}

.publication-link:hover {
  opacity: 0.92;
}

.testimonialss {
  margin-top: 30px;
}

.testimonialss h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.1;
  margin-bottom: 16px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.testimonials-card {
  background: var(--white);
  border: 1px solid var(--border-v);
  border-radius: 10px;
  padding: 20px;
}

.testimonials-media {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 2px solid var(--violet-pale);
  margin-bottom: 10px;
}

.testimonials-logo {
  border-radius: 10px;
  background: #fff;
  padding: 6px;
}

.testimonials-card h3 {
  font-family: "Playfair Display", serif;
  font-size: 24px;
  line-height: 1.2;
  margin-bottom: 6px;
}

.testimonials-role {
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 8px;
}

.testimonials-quote {
  color: var(--ink-3);
  font-size: 15px;
}

footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.65);
  padding: 40px 28px;
}

footer h4 {
  color: var(--violet-light);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 11px;
  margin-bottom: 8px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 10px;
}

.footer-links a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
}

.footer-links a:hover {
  color: var(--teal-light);
}

.youth-ai-program {
  position: relative;
  padding-top: 42px;
}

.program-title-art {
  position: relative;
  margin-bottom: 20px;
  padding: 24px 26px;
  border-radius: 22px;
  border: 1px solid rgba(124, 58, 237, 0.18);
  background:
    linear-gradient(130deg, rgba(255, 255, 255, 0.92), rgba(248, 247, 255, 0.85)),
    repeating-linear-gradient(
      45deg,
      rgba(124, 58, 237, 0.16) 0,
      rgba(124, 58, 237, 0.16) 8px,
      rgba(13, 148, 136, 0.14) 8px,
      rgba(13, 148, 136, 0.14) 16px,
      rgba(245, 158, 11, 0.14) 16px,
      rgba(245, 158, 11, 0.14) 24px
    );
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(88, 37, 129, 0.11);
}

.program-title-art::before,
.program-title-art::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.program-title-art::before {
  inset: 10px;
  border-radius: 16px;
  border: 1px dashed rgba(124, 58, 237, 0.28);
}

.program-title-art::after {
  inset: auto 16px 10px auto;
  width: 92px;
  height: 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(13, 148, 136, 0.65), rgba(124, 58, 237, 0.7));
}

.program-title-art h1 {
  position: relative;
  z-index: 2;
  margin: 0;
  font-family: "Playfair Display", serif;
  font-size: clamp(34px, 5.2vw, 66px);
  line-height: 1.02;
  color: var(--ink);
  text-wrap: balance;
}

.program-title-art h1 span {
  color: var(--ink);
}

.program-title-art h1 em {
  color: var(--teal);
  font-style: normal;
}

.youth-ai-program::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 520px;
  background:
    radial-gradient(circle at 12% 18%, rgba(124, 58, 237, 0.15), transparent 32%),
    radial-gradient(circle at 88% 12%, rgba(13, 148, 136, 0.14), transparent 28%),
    linear-gradient(180deg, rgba(255, 244, 214, 0.65), rgba(248, 247, 255, 0));
  pointer-events: none;
  z-index: -1;
}

.youth-ai-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: 24px;
  align-items: start;
}

.youth-ai-copy,
.story-card,
.impact-ribbon {
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(124, 58, 237, 0.14);
  box-shadow: 0 18px 42px rgba(88, 37, 129, 0.08);
}

.youth-ai-copy {
  border-radius: 26px;
  padding: 34px;
}

.youth-ai-copy .eyebrow {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--violet-mid);
  font-weight: 700;
  margin-bottom: 14px;
}

.youth-ai-copy h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(40px, 5.7vw, 78px);
  line-height: 0.95;
  color: var(--ink);
  margin-bottom: 12px;
}

.youth-ai-copy h1 em {
  color: var(--teal);
  font-style: normal;
}

.youth-ai-loc {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin-bottom: 18px;
}

.youth-ai-summary {
  font-size: 16px;
  color: var(--ink-3);
  max-width: 62ch;
}

.program-meta-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 24px;
}

.meta-chip {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(237, 233, 254, 0.88), rgba(240, 253, 250, 0.88));
  border: 1px solid rgba(124, 58, 237, 0.14);
}

.meta-label,
.section-kicker {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--teal);
}

.meta-chip span:last-child {
  color: var(--ink-2);
  font-weight: 600;
}

.program-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.program-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.program-btn.primary {
  color: #fff;
  background: linear-gradient(135deg, var(--violet), var(--teal));
}

.program-btn.secondary {
  color: var(--ink-2);
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(124, 58, 237, 0.18);
}

.youth-ai-visuals {
  display: grid;
  gap: 16px;
}

.visual-stack,
.mosaic-card,
.gallery-frame {
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(124, 58, 237, 0.16);
  box-shadow: 0 18px 36px rgba(72, 35, 91, 0.12);
  background: #fff;
}

.hero-shot img,
.mosaic-card img,
.gallery-frame img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: opacity 0.32s ease, transform 0.7s ease;
}

.photo-card {
  position: relative;
  margin: 0;
}

.photo-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18, 10, 28, 0) 35%, rgba(18, 10, 28, 0.8) 100%);
  opacity: 0;
  transition: opacity 0.28s ease;
  pointer-events: none;
}

.photo-caption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 12px;
  margin: 0;
  z-index: 3;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.28s ease, transform 0.28s ease;
  pointer-events: none;
}

.photo-card:hover::after,
.photo-card:focus::after,
.photo-card:focus-within::after,
.photo-card:active::after {
  opacity: 1;
}

.photo-card:hover .photo-caption,
.photo-card:focus .photo-caption,
.photo-card:focus-within .photo-caption,
.photo-card:active .photo-caption {
  opacity: 1;
  transform: translateY(0);
}

.photo-card:focus-visible {
  outline: 2px solid rgba(45, 212, 191, 0.9);
  outline-offset: 2px;
}

.photo-card.is-swapping img {
  opacity: 0.28;
  transform: scale(1.03);
}

.photo-card.is-swapping .photo-caption {
  opacity: 0;
  transform: translateY(10px);
}

@media (prefers-reduced-motion: reduce) {
  .hero-shot img,
  .mosaic-card img,
  .gallery-frame img,
  .photo-caption {
    transition: none;
  }
}

.hero-shot {
  min-height: 430px;
}

.visual-mosaic {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 16px;
}

.mosaic-card {
  min-height: 180px;
}

.mosaic-card.tall {
  min-height: 376px;
  grid-row: span 2;
}

.mosaic-card.wide {
  grid-column: 2;
  min-height: 180px;
}

.impact-ribbon {
  margin-top: 22px;
  border-radius: 24px;
  padding: 18px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.ribbon-item {
  padding: 16px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(237, 233, 254, 0.75));
  border: 1px solid rgba(124, 58, 237, 0.12);
}

.ribbon-item strong {
  display: block;
  font-family: "Playfair Display", serif;
  font-size: 34px;
  line-height: 1;
  color: var(--violet-mid);
  margin-bottom: 8px;
}

.ribbon-item span {
  display: block;
  color: var(--ink-3);
  font-size: 14px;
}

.program-story-grid {
  margin-top: 22px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 18px;
}

.story-card {
  border-radius: 24px;
  padding: 26px;
}

.story-card h2,
.gallery-heading h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(28px, 3.8vw, 46px);
  line-height: 1.08;
  margin: 8px 0 14px;
}

.word-kenya {
  color: var(--violet);
}

.word-year {
  color: var(--teal);
}

.word-and {
  color: var(--ink-3);
}

.word-beyond {
  color: var(--violet-mid);
}

.story-card p {
  color: var(--ink-3);
  font-size: 16px;
}

.story-card ul {
  list-style: none;
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

.story-card li {
  position: relative;
  padding-left: 26px;
  color: var(--ink-2);
  font-size: 15px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.story-card li i {
  color: var(--teal);
  font-size: 14px;
  margin-top: 2px;
  flex-shrink: 0;
  animation: featherBounce 2s ease-in-out infinite;
}

@keyframes featherBounce {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
    opacity: 1;
  }
  50% {
    transform: translateY(-6px) rotate(-8deg);
    opacity: 0.8;
  }
}

.mini-grid {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.mini-grid div {
  padding: 14px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(245, 243, 255, 0.9), rgba(240, 253, 250, 0.9));
  border: 1px solid rgba(124, 58, 237, 0.12);
}

.mini-grid span {
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 5px;
}

.mini-grid strong {
  display: block;
  color: var(--ink-2);
  font-size: 14px;
}

.program-gallery {
  margin-top: 22px;
}

.gallery-heading {
  margin-bottom: 16px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 0.9fr;
  grid-template-areas:
    "large tall tall"
    "large wide wide";
  gap: 16px;
}

.gallery-frame.large {
  grid-area: large;
  min-height: 520px;
}

.gallery-frame:nth-child(2) {
  grid-area: tall;
  min-height: 248px;
}

.gallery-frame:nth-child(3) {
  grid-area: wide;
  min-height: 248px;
}

.gallery-frame.wide {
  min-height: 248px;
}

@media (max-width: 980px) {
  .program-title-art {
    padding: 18px 18px 20px;
    border-radius: 18px;
  }

  .program-title-art h1 {
    line-height: 1.05;
  }

  .youth-ai-hero,
  .program-story-grid,
  .gallery-grid,
  .impact-ribbon {
    grid-template-columns: 1fr;
  }

  .visual-mosaic,
  .mini-grid {
    grid-template-columns: 1fr;
  }

  .mosaic-card.tall,
  .mosaic-card.wide,
  .gallery-frame.large,
  .gallery-frame:nth-child(2),
  .gallery-frame:nth-child(3) {
    grid-area: auto;
    min-height: 240px;
  }

  .gallery-grid {
    grid-template-areas: none;
  }

  .impact-ribbon {
    padding: 14px;
  }

  .youth-ai-copy {
    padding: 24px;
    border-radius: 22px;
  }

  .hero-shot {
    min-height: 280px;
  }

  .photo-caption {
    font-size: 11px;
    left: 12px;
    right: 12px;
    bottom: 10px;
  }
}

@media (max-width: 980px) {
  .about-hero {
    grid-template-columns: 1fr;
  }

  .about-hero-media {
    width: min(100%, 420px);
    justify-self: start;
  }

  nav {
    position: sticky;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    padding: 14px 16px;
    gap: 10px;
  }

  .nav-toggle {
    display: flex;
    margin-left: auto;
  }

  .nav-links {
    display: none;
    width: 100%;
    order: 3;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: rgba(248, 247, 255, 0.98);
    border: 1px solid var(--border-v);
    border-radius: 10px;
    padding: 8px 0;
  }

  nav.menu-open .nav-links {
    display: flex;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    width: 100%;
    padding: 10px 14px;
  }

  .site-logo {
    width: 42px !important;
    height: 42px !important;
    max-width: 42px !important;
    min-width: 42px !important;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .publication-grid {
    grid-template-columns: 1fr;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .strategy-grid {
    grid-template-columns: 1fr;
  }

  .schedule-header h3 {
    font-size: 25px;
  }

  .schedule-table-wrap {
    overflow-x: visible;
    padding: 10px;
    background: #f7fbff;
  }

  .schedule-table {
    min-width: 0;
    border-collapse: separate;
    border-spacing: 0 10px;
    background: transparent;
  }

  .schedule-table thead {
    display: none;
  }

  .schedule-table tbody,
  .schedule-table tr,
  .schedule-table td {
    display: block;
    width: 100%;
  }

  .schedule-table tr {
    background: #ffffff;
    border: 1px solid #d5e2f0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(23, 55, 94, 0.08);
  }

  .schedule-table td {
    border-top: none;
    padding: 10px 12px;
  }

  .schedule-time {
    width: auto;
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    color: #0f3f79;
    background: #e8f1fc;
    border: 1px solid #c9d8ea;
    border-radius: 999px;
    padding: 6px 10px;
    margin: 2px 0 6px;
  }

  .schedule-title {
    font-size: 16px;
  }

  .conference-content {
    width: calc(100% - 28px);
  }

  .conference-venue {
    font-size: 16px;
  }

  .register-form {
    grid-template-columns: 1fr;
  }
}
