/* ============================================================
   AYN — NATIONAL GIRLS SUMMIT 2025 (css/ngs2025.css)
   Completed-event recap & partnership spotlight. AYN blue/gold
   system stays dominant; NGS magenta (#e0117b) and yellow
   (#ffd200) appear only as restrained event accents.
   All classes namespaced with .ngs-.
   ============================================================ */

/* NGS event accent tokens (page-local, non-global) */
:root { --ngs-magenta: #e0117b; --ngs-yellow: #ffd200; }

/* hero-drift keyframes live in css/home.css (homepage only) —
   restated here so the NGS hero animates on its own page. */
@keyframes hero-drift {
  from { transform: scale(1.06) translateY(0); }
  to   { transform: scale(1.12) translateY(-2%); }
}

/* ─── Page hero ─── */
.ngs-hero {
  position: relative;
  min-height: 92svh;
  display: flex; align-items: flex-end;
  background: var(--navy-950); color: #fff;
  overflow: hidden;
}
.ngs-hero-media {
  position: absolute; inset: 0;
  background: url('../assets/images/ngs2025-group-blue.jpg') center 30% / cover no-repeat;
  transform: scale(1.05);
  animation: hero-drift 24s ease-in-out infinite alternate;
}
.ngs-hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1; /* scrim above photo, below text */
  background:
    linear-gradient(to top, rgba(6,22,45,.97) 4%, rgba(6,22,45,.82) 42%, rgba(6,22,45,.66) 68%, rgba(6,22,45,.86) 100%);
}
.ngs-hero .container { position: relative; z-index: 2; padding-top: calc(var(--nav-h) + 80px); padding-bottom: clamp(48px, 7vw, 84px); }
.ngs-hero h1 {
  color: #fff; max-width: 16ch; margin: 18px 0 20px;
  font-size: clamp(2.6rem, 7vw, 5.4rem);
  text-shadow: 0 2px 28px rgba(6,22,45,.65);
}
.ngs-hero h1 .accent { font-style: italic; font-weight: 480; color: var(--ngs-yellow); }
.ngs-hero .eyebrow, .ngs-meta span { text-shadow: 0 1px 14px rgba(6,22,45,.8); }
.ngs-meta { display: flex; gap: 26px; flex-wrap: wrap; max-width: 900px; }
.ngs-meta span { display: inline-flex; align-items: center; gap: 10px; font-size: .92rem; color: rgba(255,255,255,.85); }
.ngs-meta i { color: var(--ngs-yellow); }
.ngs-status {
  display: inline-flex; align-items: center; gap: 9px;
  margin-top: 22px; padding: 9px 18px;
  border: 1px solid rgba(255,255,255,.35); border-radius: 999px;
  background: rgba(6,22,45,.45); backdrop-filter: blur(6px);
  font-size: .74rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: #fff;
}
.ngs-status i { color: var(--ngs-yellow); }

/* ─── Intro statement (on dark) ─── */
.ngs-intro { background: var(--navy-950); color: #fff; padding-top: 0; }
.ngs-intro .statement {
  font-family: var(--font-display); font-weight: 480;
  font-size: clamp(1.4rem, 3.2vw, 2.35rem); line-height: 1.38;
  color: #fff; max-width: 920px;
}
.ngs-intro .statement em { color: var(--ngs-yellow); }
.ngs-intro .statement-note {
  margin-top: 26px; max-width: 760px;
  font-size: .98rem; line-height: 1.75; color: rgba(255,255,255,.72);
  border-left: 2px solid var(--ngs-magenta); padding-left: 22px;
}
.ngs-intro .kicker-row {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  border-top: 1px solid var(--line-dark); padding-top: 26px; margin-bottom: clamp(40px, 6vw, 64px);
  flex-wrap: wrap;
}
.ngs-intro .kicker-row .tag { font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: rgba(255,255,255,.55); font-weight: 700; }
.ngs-intro .kicker-row .tag b { color: var(--ngs-yellow); }

/* ─── Key facts band ─── */
.ngs-facts { padding-top: clamp(40px, 5vw, 64px); }
.facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.fact {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 28px 26px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.fact:hover { transform: translateY(-4px); box-shadow: var(--sh-sm); }
.fact i {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 12px;
  background: #fce3f0; color: var(--ngs-magenta); font-size: 1.05rem;
  margin-bottom: 16px;
}
.fact h4 { font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--blue-600); margin-bottom: 8px; }
.fact p { font-size: .95rem; }

/* ─── AYN participation spotlight ─── */
.ngs-role {
  display: grid; grid-template-columns: minmax(280px, 420px) 1fr;
  gap: clamp(28px, 4vw, 56px); align-items: center;
}
.ngs-role-media {
  margin: 0; border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--sh-md);
}
.ngs-role-media img { display: block; width: 100%; height: auto; }
.ngs-role-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; border-radius: 999px;
  background: #fce3f0; color: var(--ngs-magenta);
  font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  margin-bottom: 18px;
}
.ngs-role-text h3 {
  font-size: clamp(1.5rem, 2.8vw, 2.1rem); margin-bottom: 14px;
}
.ngs-role-text p { margin-bottom: 14px; }
.ngs-role-note {
  font-size: .92rem; color: #1d222d;
  border-left: 2px solid var(--gold); padding-left: 18px;
}

/* ─── Summit themes ─── */
.themes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.theme-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 30px 28px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.theme-card:hover { transform: translateY(-5px); box-shadow: var(--sh-md); }
.theme-card i {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(135deg, #fce3f0, #fff);
  border: 1px solid var(--line); color: var(--ngs-magenta); font-size: 1.1rem;
  margin-bottom: 18px;
}
.theme-card:nth-child(even) i { color: var(--blue-600); background: linear-gradient(135deg, var(--sky-100), #fff); }
.theme-card h4 { font-size: 1.06rem; margin-bottom: 10px; }
.theme-card p { font-size: .9rem; }

/* ─── Editorial photo story ─── */
.frames { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(14px, 2.4vw, 28px); }
.frame { position: relative; overflow: hidden; border-radius: var(--r-md); }
.frame img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .8s var(--ease);
}
.frame:hover img { transform: scale(1.05); }
.frame figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 40px 22px 18px;
  background: linear-gradient(to top, rgba(6,22,45,.85), transparent);
  color: #fff; font-size: .82rem; font-weight: 600; letter-spacing: .06em;
  opacity: 0; transform: translateY(8px);
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.frame:hover figcaption, .frame:focus-within figcaption { opacity: 1; transform: none; }
.frame-hero { grid-column: 1 / 8; aspect-ratio: 16 / 10.4; }
.frame-a { grid-column: 8 / 13; aspect-ratio: 1 / 1.06; align-self: start; margin-top: clamp(20px, 4vw, 64px); }
.frame-b { grid-column: 1 / 7; aspect-ratio: 16 / 10.5; margin-top: clamp(8px, 2vw, 24px); }
.frame-c { grid-column: 7 / 13; aspect-ratio: 16 / 10.5; align-self: start; margin-top: clamp(24px, 5vw, 72px); }

/* photo credit strip */
.photo-credit {
  margin-top: 26px; font-size: .78rem; color: #1d222d;
  display: flex; align-items: center; gap: 10px;
}
.photo-credit i { color: #1d222d; }

/* ─── Partners & sponsors ─── */
.ngs-partners { background: var(--paper); }
.partner-graphic {
  margin: 0 auto; max-width: 760px;
  border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--sh-md);
}
.partner-graphic img { display: block; width: 100%; height: auto; }
.partner-graphic figcaption {
  padding: 14px 20px; background: #fff;
  font-size: .8rem; font-weight: 600; color: #1d222d;
  border-top: 1px solid var(--line);
}
.ngs-partners-note {
  text-align: center; max-width: 620px; margin: 26px auto 0;
  font-size: .95rem; color: #1d222d;
}

/* ─── Closing CTA ─── */
.ngs-cta { background: var(--navy-950); color: #fff; text-align: center; position: relative; overflow: hidden; }
.ngs-cta::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(600px 320px at 50% -20%, rgba(224,17,123,.18), transparent 65%);
}
.ngs-cta .container { position: relative; z-index: 1; }
.ngs-cta h2 { color: #fff; }
.ngs-cta p { color: rgba(255,255,255,.72); max-width: 620px; margin: 14px auto 30px; }
.ngs-cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ─── Responsive ─── */
@media (max-width: 900px) {
  .facts-grid { grid-template-columns: repeat(2, 1fr); }
  .themes-grid { grid-template-columns: repeat(2, 1fr); }
  .ngs-role { grid-template-columns: 1fr; }
  .ngs-role-media { max-width: 440px; margin: 0 auto; }
  .frame-hero { grid-column: 1 / 13; aspect-ratio: 16 / 10; }
  .frame-a { grid-column: 1 / 8; margin-top: 0; }
  .frame-b { grid-column: 8 / 13; margin-top: 0; }
  .frame-c { grid-column: 1 / 13; margin-top: 0; }
}
@media (max-width: 560px) {
  .facts-grid { grid-template-columns: 1fr; }
  .themes-grid { grid-template-columns: 1fr; }
  .frame-a, .frame-b { grid-column: 1 / 13; }
  .ngs-cta-actions .btn { width: 100%; }
}
