:root {
  --bg: #ffffff;
  --ink: #111111;
  --muted: #686868;
  --line: #e9e9e9;
  --soft: #f6f6f4;
  --accent: #ff6b00;
  --accent-dark: #c84e00;
  --charcoal: #171717;
  --lime: #d4f45f;
  --sky: #e6f4ff;
  --radius: 8px;
  --shadow: 0 24px 70px rgba(17, 17, 17, 0.12);
  --max: 1180px;
  --heading: "Bebas Neue", "Anton", Impact, sans-serif;
  --body: "Inter", "Montserrat", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  line-height: 1.55;
  overflow-x: hidden;
}

body.menu-open,
body.search-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid rgba(255, 107, 0, 0.48);
  outline-offset: 3px;
}

.container {
  width: min(100% - 32px, var(--max));
  margin-inline: auto;
}

.container,
.grid,
.split,
.section-head,
.card,
.card-body,
.copy,
.program-detail,
.footer-grid,
.newsletter,
.live-panel {
  min-width: 0;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 1000;
  transform: translateY(-140%);
  background: var(--ink);
  color: #fff;
  padding: 10px 14px;
  border-radius: var(--radius);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
  backdrop-filter: blur(18px);
}

.nav-wrap {
  min-height: 76px;
  display: grid;
  grid-template-columns: minmax(170px, 220px) 1fr auto;
  align-items: center;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.brand-mark {
  width: 154px;
  height: 62px;
  border: 0;
  background: url("../assets/logos/seed-project-orange.png") left center / contain no-repeat;
  display: block;
  overflow: hidden;
  color: transparent;
  text-indent: -999px;
}

.brand > span:not(.brand-mark) {
  display: none;
}

.brand small {
  display: block;
  color: var(--accent);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.brand-logo-img {
  display: block;
  width: min(100%, 360px);
  height: auto;
}

.program-logo {
  display: block;
  max-width: min(300px, 100%);
  max-height: 160px;
  object-fit: contain;
  object-position: left center;
  margin-bottom: 16px;
}

.brand span span {
  display: block;
  line-height: 1.05;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 2vw, 34px);
  font-size: clamp(11px, 0.8vw, 13px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  min-width: 0;
}

.main-nav a {
  position: relative;
  padding: 26px 0;
  white-space: nowrap;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 20px;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--accent);
  transition: transform 180ms ease;
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.icon-btn {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #fff;
  color: var(--ink);
}

.icon {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.lang-switch {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  background: #fff;
}

.lang-switch button {
  border: 0;
  background: transparent;
  padding: 10px 9px;
  font-size: 12px;
  font-weight: 900;
}

.lang-switch button.active {
  background: var(--ink);
  color: #fff;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
  max-width: 100%;
  text-align: center;
  white-space: normal;
}

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

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-dark);
}

.btn-dark {
  background: var(--ink);
  color: #fff;
}

.btn-light {
  background: #fff;
  color: var(--ink);
}

.btn-outline {
  border-color: currentColor;
  background: transparent;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.32);
}

.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  min-height: calc(100vh - 76px);
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--charcoal);
  color: #fff;
}

.hero::before,
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
}

.hero::before {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.28) 52%, rgba(0, 0, 0, 0.64)),
    linear-gradient(0deg, rgba(0, 0, 0, 0.72), transparent 45%);
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255, 107, 0, 0.42), transparent 36%),
    url("../assets/images/seed-academy-court-real.jpg") center / cover no-repeat;
  transform: scale(1.02);
}

.hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.08) contrast(1.04);
}

.hero-media::after {
  background-image: linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 54px 54px;
  mix-blend-mode: screen;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 96px 0 72px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 36px;
  height: 2px;
  background: currentColor;
}

h1,
h2,
h3,
.display {
  font-family: var(--heading);
  letter-spacing: 0;
  line-height: 0.95;
  margin: 0;
  text-transform: uppercase;
  max-width: 100%;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

h1 {
  max-width: 920px;
  margin-top: 18px;
  font-size: clamp(3.35rem, 9.8vw, 9.2rem);
}

.hero p {
  max-width: 670px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1rem, 2vw, 1.32rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.page-hero {
  min-height: 430px;
}

.section {
  padding: 96px 0;
}

.section.compact {
  padding: 64px 0;
}

.section-dark {
  background: var(--charcoal);
  color: #fff;
}

.section-soft {
  background: var(--soft);
}

.section-accent {
  background: var(--accent);
  color: #fff;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(260px, 0.45fr);
  gap: 28px;
  align-items: end;
  margin-bottom: 42px;
}

.section-head h2 {
  font-size: clamp(2.7rem, 6.4vw, 6.1rem);
}

.section-head p {
  margin: 0;
  color: var(--muted);
}

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

.muted {
  color: var(--muted);
}

.grid {
  display: grid;
  gap: 22px;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stat-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.stat-card {
  min-height: 170px;
  padding: 26px 18px;
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
  overflow: hidden;
}

.stat-number {
  font-family: var(--heading);
  font-size: clamp(2.45rem, 4.7vw, 4.45rem);
  line-height: 0.88;
  white-space: nowrap;
  max-width: 100%;
}

.stat-card p {
  margin: 10px 0 0;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.media-panel {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--charcoal);
  box-shadow: var(--shadow);
}

.media-panel img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}

.media-label {
  position: absolute;
  left: 18px;
  bottom: 18px;
  right: 18px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
  color: #fff;
  background: rgba(17, 17, 17, 0.76);
  backdrop-filter: blur(12px);
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 800;
}

.copy h2 {
  margin-bottom: 18px;
  font-size: clamp(2.7rem, 6.4vw, 6.1rem);
}

.copy p {
  color: var(--muted);
}

.value-list {
  display: grid;
  gap: 10px;
  margin: 24px 0;
  padding: 0;
  list-style: none;
}

.value-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
}

.value-list li::before {
  content: "";
  width: 9px;
  height: 9px;
  background: var(--accent);
  border-radius: 50%;
}

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: transparent;
}

.card-media {
  aspect-ratio: 16 / 10;
  background: var(--soft);
  overflow: hidden;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.card:hover .card-media img {
  transform: scale(1.05);
}

.event-photo-hoop {
  object-position: 50% 38%;
}

.event-photo-league {
  object-position: 52% 28%;
}

.event-photo-camp {
  object-position: 50% 32%;
}

.card-body {
  padding: 22px;
}

.card h3 {
  font-size: clamp(1.65rem, 2.2vw, 2rem);
  margin-bottom: 8px;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.tag,
.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 28px;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--ink);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.badge-live {
  background: #e60023;
  color: #fff;
}

.badge-upcoming {
  background: var(--lime);
}

.countdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 18px 0;
}

.countdown span {
  display: grid;
  place-items: center;
  min-height: 58px;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius);
  font-family: var(--heading);
  font-size: 1.8rem;
  line-height: 0.9;
}

.countdown small {
  display: block;
  font-family: var(--body);
  font-size: 10px;
  color: rgba(255, 255, 255, 0.68);
  letter-spacing: 0.12em;
}

.program-card {
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  padding: 22px;
  color: #fff;
  background: #111;
  position: relative;
  overflow: hidden;
}

.program-card h3 {
  font-size: clamp(2rem, 3vw, 2.4rem);
  position: relative;
  z-index: 2;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
}

.program-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.18) 62%, rgba(0, 0, 0, 0.06));
}

.program-card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 500ms ease;
}

.program-card:hover .program-card-img {
  transform: scale(1.05);
}

.program-card-elite-boys .program-card-img {
  object-position: center 42%;
}

.program-card-elite-girls .program-card-img {
  object-position: center 48%;
}

.program-card-rise .program-card-img {
  object-position: center 34%;
}

.program-card-rise-internat .program-card-img {
  object-position: center 34%;
}

.program-card-clinic-coach .program-card-img {
  object-position: center 42%;
}

.program-card-lifeskills .program-card-img {
  object-position: center 48%;
}

.program-card-green-team .program-card-img {
  object-position: center 42%;
}

.news-feature {
  grid-column: span 2;
  min-height: 430px;
}

.live-panel {
  display: grid;
  grid-template-columns: 1.45fr 0.75fr;
  gap: 24px;
}

.video-box {
  min-height: 440px;
  display: grid;
  place-items: center;
  background: #111;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
}

.seed-tv-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: clamp(24px, 5vw, 70px);
  background:
    linear-gradient(135deg, rgba(255, 107, 0, 0.18), rgba(0, 0, 0, 0.72)),
    #111;
}

.seed-tv-placeholder img {
  width: min(72%, 560px);
  max-height: 76%;
  object-fit: contain;
  filter: drop-shadow(0 26px 55px rgba(0, 0, 0, 0.4));
}

.play-button {
  width: 92px;
  height: 92px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  backdrop-filter: blur(12px);
  position: relative;
  z-index: 2;
}

.video-box iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.video-box.is-playing iframe {
  opacity: 1;
  pointer-events: auto;
}

.video-box.is-playing .seed-tv-placeholder {
  opacity: 0;
  pointer-events: none;
}

.video-box.is-playing .play-button {
  opacity: 0;
  pointer-events: none;
}

.carousel {
  position: relative;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  gap: 18px;
  transition: transform 360ms ease;
}

.alumni-slide {
  min-width: min(330px, 82vw);
}

.quote {
  padding: 28px;
  min-height: 270px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.avatar-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  font-weight: 900;
}

.avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--soft);
}

.person-card .card-media {
  aspect-ratio: 4 / 5;
}

.partners-strip {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: #fff;
}

.partners-track {
  display: flex;
  width: max-content;
  animation: marquee 28s linear infinite;
}

.partner-logo {
  width: 180px;
  min-height: 96px;
  display: grid;
  place-items: center;
  margin: 0 18px;
  color: var(--muted);
  font-family: var(--heading);
  font-size: 2rem;
  border-inline: 1px solid var(--line);
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

.newsletter {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 22px;
  align-items: center;
}

.newsletter h2 {
  font-size: clamp(2.7rem, 6.2vw, 5.7rem);
}

.form-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.field,
.form-field input,
.form-field select,
.form-field textarea,
.search-panel input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  padding: 14px 15px;
}

.form-field {
  display: grid;
  gap: 7px;
}

.form-field label {
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.form-grid .full {
  grid-column: 1 / -1;
}

.site-footer {
  padding: 68px 0 28px;
  background: #0d0d0d;
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.7fr 0.9fr 1fr;
  gap: 32px;
}

.footer-grid h3 {
  font-size: clamp(1.35rem, 2vw, 1.6rem);
  margin-bottom: 15px;
}

.footer-links {
  display: grid;
  gap: 9px;
  padding: 0;
  margin: 0;
  list-style: none;
  color: rgba(255, 255, 255, 0.72);
}

.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 18px;
}

.socials a {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  font-weight: 900;
  color: #fff;
  transition: transform 180ms ease, color 180ms ease, border-color 180ms ease, background 180ms ease;
}

.socials a:hover {
  transform: translateY(-2px);
  color: var(--accent);
  border-color: rgba(255, 107, 0, 0.55);
  background: rgba(255, 107, 0, 0.08);
}

.socials img {
  width: 19px;
  height: 19px;
  display: block;
  filter: brightness(0) invert(1);
  transition: filter 180ms ease;
}

.socials a:hover img {
  filter: none;
}

.site-footer .brand-mark {
  background-image: url("../assets/logos/seed-project-white-orange.png");
  width: 168px;
  height: 66px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 50px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
}

.timeline {
  position: relative;
  display: grid;
  gap: 18px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--line);
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 22px;
  padding-left: 42px;
  min-width: 0;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 8px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent);
  border: 4px solid #fff;
}

.year {
  font-family: var(--heading);
  font-size: 2.4rem;
  color: var(--accent);
  line-height: 0.9;
}

.program-detail {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 32px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.program-detail h2,
.modal-head h2 {
  font-size: clamp(2.5rem, 5.5vw, 4rem) !important;
}

.mini-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 18px;
}

.mini-gallery img {
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius);
}

.filter-bar,
.alumni-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
  align-items: center;
}

.filter-btn {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  padding: 10px 14px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  max-width: 100%;
  white-space: normal;
  text-align: center;
}

.filter-btn.active {
  background: var(--ink);
  color: #fff;
}

.masonry {
  columns: 3 280px;
  column-gap: 16px;
}

.gallery-item {
  width: 100%;
  margin: 0 0 16px;
  break-inside: avoid;
  border: 0;
  padding: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: transparent;
}

.gallery-item img {
  width: 100%;
  border-radius: var(--radius);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  place-items: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.86);
}

.lightbox.open {
  display: grid;
}

.lightbox img {
  max-height: 86vh;
  border-radius: var(--radius);
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
}

.alumni-card {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 15px;
  padding: 16px;
}

.alumni-card img {
  width: 88px;
  height: 112px;
  object-fit: cover;
  border-radius: var(--radius);
}

.alumni-card h3 {
  font-size: clamp(1.35rem, 2vw, 1.7rem);
}

.map-panel {
  min-height: 430px;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: #111 url("../assets/images/world-map.svg") center / cover no-repeat;
}

.map-pin {
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 9px rgba(255, 107, 0, 0.18);
}

.donation-pack {
  padding: 28px;
}

.price {
  margin: 18px 0;
  font-family: var(--heading);
  font-size: clamp(3rem, 5vw, 4rem);
  line-height: 0.9;
}

.payment-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.payment-options label {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 900;
}

.contact-card {
  padding: 28px;
}

.map-placeholder {
  min-height: 460px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 107, 0, 0.16), transparent),
    url("../assets/images/map-placeholder.svg") center / cover no-repeat;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: none;
  place-items: center;
  padding: 22px;
  background: rgba(0, 0, 0, 0.6);
}

.modal.open {
  display: grid;
}

.modal-card {
  width: min(680px, 100%);
  max-height: 92vh;
  overflow: auto;
  background: #fff;
  border-radius: var(--radius);
  padding: 26px;
}

.modal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.modal-head h2 {
  font-size: clamp(2.4rem, 6vw, 3rem);
}

.search-panel {
  position: fixed;
  inset: 0;
  z-index: 998;
  display: none;
  background: rgba(255, 255, 255, 0.98);
  padding-top: 120px;
}

.search-panel.open {
  display: block;
}

.search-results {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.search-result {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 650ms ease, transform 650ms ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

[data-lang="fr"] .en,
[data-lang="en"] .fr {
  display: none !important;
}

@media (max-width: 1100px) {
  .nav-wrap {
    grid-template-columns: 1fr auto;
    gap: 12px;
  }

  .main-nav {
    position: fixed;
    inset: 76px 0 auto 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 18px 24px 28px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    font-size: 13px;
  }

  .menu-open .main-nav {
    display: flex;
  }

  .main-nav a {
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
  }

  .menu-toggle {
    display: grid;
  }

  .hide-tablet {
    display: none;
  }

  .stat-grid,
  .grid-4 {
    grid-template-columns: repeat(3, 1fr);
  }

  .section-head {
    align-items: start;
  }

  .live-panel,
  .footer-grid,
  .section-head,
  .split,
  .program-detail {
    grid-template-columns: 1fr;
  }

  .program-detail {
    padding: 20px;
  }
}

@media (max-width: 1280px) and (min-width: 1101px) {
  .nav-wrap {
    grid-template-columns: minmax(132px, 154px) 1fr auto;
    gap: 12px;
  }

  .brand-mark {
    width: 132px;
  }

  .main-nav {
    gap: 18px;
    font-size: 11px;
  }

  .hide-tablet {
    display: none;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 24px, var(--max));
  }

  .nav-wrap {
    min-height: 68px;
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .brand {
    gap: 8px;
    min-width: 0;
  }

  .brand-mark {
    width: min(42vw, 126px);
    height: 48px;
  }

  .nav-actions {
    gap: 6px;
  }

  .icon-btn {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
  }

  .lang-switch button {
    padding: 9px 7px;
    font-size: 11px;
  }

  .hero {
    min-height: calc(100vh - 68px);
  }

  .hero-content {
    padding: 72px 0 48px;
  }

  h1 {
    font-size: clamp(3rem, 16vw, 5.4rem);
    line-height: 0.92;
  }

  .hero p {
    font-size: 1rem;
  }

  .section {
    padding: 68px 0;
  }

  .section-head {
    gap: 14px;
    margin-bottom: 28px;
  }

  .section-head h2,
  .copy h2,
  .newsletter h2 {
    font-size: clamp(2.55rem, 13vw, 4.6rem);
    line-height: 0.93;
  }

  .hero-actions,
  .filter-bar,
  .alumni-tools {
    align-items: stretch;
  }

  .hero-actions .btn,
  .filter-btn,
  .alumni-tools .field {
    width: 100%;
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .stat-grid,
  .form-grid,
  .payment-options,
  .newsletter {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .news-feature {
    grid-column: auto;
  }

  .media-panel,
  .media-panel img {
    min-height: 360px;
  }

  .program-detail {
    gap: 18px;
    padding: 16px;
  }

  .program-detail h2,
  .modal-head h2 {
    font-size: clamp(2.35rem, 12vw, 3.4rem) !important;
  }

  .program-logo {
    max-width: 230px;
    max-height: 120px;
  }

  .card-body,
  .contact-card,
  .donation-pack,
  .quote {
    padding: 18px;
  }

  .countdown {
    grid-template-columns: repeat(2, 1fr);
  }

  .video-box {
    min-height: 280px;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 6px;
    padding-left: 34px;
  }

  .alumni-card {
    grid-template-columns: 72px 1fr;
  }

  .alumni-card img {
    width: 72px;
    height: 92px;
  }
}

@media (max-width: 390px) {
  .container {
    width: min(100% - 20px, var(--max));
  }

  .brand-mark {
    width: min(38vw, 112px);
    height: 44px;
  }

  .nav-actions {
    gap: 4px;
  }

  .icon-btn {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
  }

  .lang-switch button {
    padding: 8px 6px;
  }

  h1 {
    font-size: clamp(2.7rem, 15vw, 4.5rem);
  }

  .section-head h2,
  .copy h2,
  .newsletter h2 {
    font-size: clamp(2.25rem, 12vw, 3.8rem);
  }

  .stat-number {
    font-size: 3.4rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
