:root {
  --font-base: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --color-brand: #1e8ad3;
  --color-brand-dark: #0b4f8b;
  --color-accent: #59d6ff;
  --color-surface: rgba(13, 28, 43, 0.7);
  --color-bg: #f3f7fb;
  --color-text: #0d1c2b;
  --color-muted: #4a6176;
  --shadow-soft: 0 20px 45px rgba(6, 25, 44, 0.18);
  --shadow-card: 0 18px 35px rgba(12, 32, 50, 0.15);
  --container-width: min(1200px, 92vw);
}

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

html,
body {
  margin: 0;
  padding: 0;
  font-family: var(--font-base);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
}

body {
  overflow-x: hidden;
}

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

.page {
  position: relative;
  min-height: 100vh;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px clamp(24px, 6vw, 80px);
  z-index: 20;
  background: linear-gradient(90deg, rgba(9, 26, 42, 0.92) 0%, rgba(9, 57, 94, 0.75) 100%);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
  color: #fff;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--color-accent), var(--color-brand));
  font-weight: 700;
  letter-spacing: 1px;
}

.brand-copy {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-weight: 700;
  font-size: 1.05rem;
}

.brand-tagline {
  font-size: 0.8rem;
  opacity: 0.7;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 32px);
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
}

.site-nav a {
  position: relative;
  padding-bottom: 4px;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--color-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.site-nav a.active {
  color: var(--color-accent);
}

.site-nav a.active::after {
  transform: scaleX(1);
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.6rem;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, var(--color-accent), var(--color-brand));
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.3s ease, opacity 0.3s ease;
}

.cta-button:hover,
.cta-button:focus-visible {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.cta-button.ghost {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.6);
  color: #fff;
  padding: 0.6rem 1.4rem;
}

.cta-button.ghost:hover,
.cta-button.ghost:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  box-shadow: none;
}

.cta-button.secondary {
  background: rgba(12, 34, 52, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.cta-button.full {
  width: 100%;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #fff;
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%);
  filter: saturate(110%);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(5, 19, 33, 0.82) 0%, rgba(7, 48, 76, 0.55) 45%, rgba(0, 0, 0, 0.55) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 860px;
  padding: clamp(24px, 6vw, 60px);
  text-align: left;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  background: rgba(12, 36, 55, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 1.1rem;
  font-size: 0.85rem;
  letter-spacing: 0.01em;
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  margin-bottom: 1.2rem;
  line-height: 1.1;
}

.hero p {
  margin-bottom: 2rem;
  font-size: clamp(1rem, 2vw, 1.2rem);
  max-width: 640px;
  color: rgba(255, 255, 255, 0.85);
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 2.4rem;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 18px;
}

.hero-metrics div {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  padding: 18px 20px;
  backdrop-filter: blur(6px);
}

.metric-value {
  display: block;
  font-size: 1.8rem;
  font-weight: 700;
}

.metric-label {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

body.subpage .hero {
  min-height: 60vh;
}

body.subpage main {
  padding-top: clamp(60px, 10vw, 100px);
}

.sub-hero {
  position: relative;
  margin-top: 80px;
  padding: clamp(140px, 18vw, 200px) clamp(24px, 6vw, 80px) clamp(80px, 12vw, 140px);
  color: #fff;
  background: radial-gradient(circle at 20% 20%, rgba(89, 214, 255, 0.32), transparent 55%), linear-gradient(135deg, rgba(9, 26, 42, 0.95), rgba(11, 79, 139, 0.9));
  overflow: hidden;
}

.sub-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.16), transparent 55%), linear-gradient(180deg, rgba(0, 0, 0, 0.2), transparent 60%);
  opacity: 0.9;
}

.sub-hero-content {
  position: relative;
  z-index: 1;
  max-width: 880px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.sub-hero h1 {
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 3.4rem);
}

.sub-hero p {
  margin: 0;
  font-size: clamp(1.05rem, 2.1vw, 1.25rem);
  color: rgba(255, 255, 255, 0.85);
  max-width: 720px;
}

.bread-links {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
}

.bread-links a {
  color: inherit;
  text-decoration: underline;
}

.bread-links span {
  opacity: 0.6;
}

main {
  display: flex;
  flex-direction: column;
  gap: clamp(70px, 12vw, 120px);
  padding: clamp(96px, 12vw, 140px) 0 120px;
  background: linear-gradient(180deg, #f3f7fb 0%, #e0eef9 100%);
}

.content-section {
  width: var(--container-width);
  margin: 0 auto;
  background: #fff;
  border-radius: 32px;
  padding: clamp(32px, 6vw, 56px);
  box-shadow: var(--shadow-soft);
}

.content-section.spotlight {
  background: linear-gradient(135deg, rgba(30, 138, 211, 0.08), rgba(30, 138, 211, 0.02));
  box-shadow: none;
  border: 1px solid rgba(17, 81, 126, 0.12);
}

.section-intro h2 {
  font-size: clamp(2rem, 3.8vw, 2.6rem);
  margin-bottom: 0.6rem;
  color: var(--color-brand-dark);
}

.section-intro p {
  margin: 0;
  max-width: 680px;
  color: var(--color-muted);
}

.spotlight-grid {
  display: grid;
  margin-top: 36px;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.card {
  background: #fff;
  border-radius: 24px;
  padding: 24px;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(30, 138, 211, 0.08);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 0.8rem;
  color: var(--color-brand-dark);
}

.card ul {
  margin: 1rem 0 0;
  padding-left: 20px;
  color: var(--color-muted);
}

.card li {
  margin-bottom: 0.5rem;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  margin-top: 32px;
}

.info-grid .card {
  background: rgba(255, 255, 255, 0.96);
}

.two-column {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  align-items: start;
}

.two-column p {
  margin: 0;
  color: var(--color-muted);
}

.highlight-box {
  border-radius: 24px;
  padding: 28px;
  background: linear-gradient(145deg, rgba(12, 36, 55, 0.95), rgba(30, 138, 211, 0.85));
  color: #fff;
  box-shadow: var(--shadow-card);
}

.highlight-box h3 {
  margin-top: 0;
  color: #fff;
}

.timeline {
  position: relative;
  padding-left: 32px;
  margin-top: 32px;
  border-left: 2px solid rgba(30, 138, 211, 0.3);
}

.timeline-item {
  position: relative;
  margin-bottom: 28px;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -42px;
  top: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 3px solid #fff;
  background: var(--color-brand);
  box-shadow: 0 0 0 6px rgba(30, 138, 211, 0.18);
}

.timeline-item h3 {
  margin: 0;
  color: var(--color-brand-dark);
}

.timeline-item time {
  display: inline-block;
  margin-bottom: 8px;
  font-weight: 700;
  color: var(--color-brand);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 36px;
}

.metric-card {
  background: #0c2437;
  color: #fff;
  border-radius: 24px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: var(--shadow-card);
}

.metric-card .metric-value {
  font-size: 2.1rem;
}

.initiative-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 28px;
  margin-top: 36px;
}

.initiative-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-radius: 26px;
  padding: 28px;
  background: linear-gradient(150deg, rgba(12, 36, 55, 0.92), rgba(30, 138, 211, 0.85));
  color: #fff;
  position: relative;
  overflow: hidden;
}

.initiative-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.18), transparent 55%);
  pointer-events: none;
}

.initiative-card a {
  color: var(--color-accent);
  font-weight: 600;
  text-decoration: underline;
}

.icon-drop {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(6px);
}

.partner {
  background: linear-gradient(110deg, rgba(9, 26, 42, 0.95), rgba(10, 47, 78, 0.88));
  color: #fff;
  border: none;
}

.partner-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}

.partner h2 {
  margin: 0;
  font-size: clamp(2rem, 3.6vw, 2.6rem);
}

.benefits h3 {
  margin-bottom: 0.4rem;
  color: var(--color-accent);
}

.resources .resource-grid {
  display: grid;
  gap: 24px;
  margin-top: 36px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.resource-card {
  background: #0c1b2b;
  color: #fff;
  border-radius: 24px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: var(--shadow-card);
}

.resource-card .cta-button {
  align-self: flex-start;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.newsletter {
  background: linear-gradient(135deg, rgba(12, 36, 55, 0.85), rgba(30, 138, 211, 0.75));
  color: #fff;
  border: none;
}

.newsletter-box {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  align-items: center;
}

.newsletter-form {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.newsletter-form input {
  flex: 1 1 240px;
  min-width: 0;
  border: none;
  border-radius: 999px;
  padding: 0.75rem 1.1rem;
  font-size: 1rem;
}

.newsletter-form button {
  flex: 0 0 auto;
}

.form-feedback {
  width: 100%;
  font-size: 0.88rem;
  margin: 4px 0 0;
}

.site-footer {
  padding: 56px clamp(24px, 6vw, 80px);
  background: #071725;
  color: rgba(255, 255, 255, 0.8);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-bottom: 32px;
}

.site-footer a {
  color: #fff;
}

.footer-legal {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}

.modal[hidden] {
  display: none;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 15, 25, 0.72);
  backdrop-filter: blur(10px);
}

.modal-content {
  position: relative;
  background: #fff;
  border-radius: 28px;
  padding: 36px;
  width: min(440px, 92vw);
  box-shadow: var(--shadow-soft);
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.modal h2 {
  margin: 0;
  font-size: 2rem;
  color: var(--color-brand-dark);
}

.modal-subtitle {
  margin: 0;
  color: var(--color-muted);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  border: none;
  background: none;
  font-size: 1.8rem;
  color: var(--color-muted);
  cursor: pointer;
}

#loginForm {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

#loginForm label {
  font-weight: 600;
}

#loginForm input[type="email"],
#loginForm input[type="password"] {
  border: 1px solid rgba(13, 28, 43, 0.2);
  border-radius: 12px;
  padding: 0.7rem 1rem;
  font-size: 1rem;
}

.form-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.92rem;
  color: var(--color-muted);
}

.checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
}

.forgot-link {
  color: var(--color-brand);
  font-weight: 600;
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  margin-top: 32px;
}

.story-card {
  background: #fff;
  border-radius: 24px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border: 1px solid rgba(30, 138, 211, 0.12);
  box-shadow: var(--shadow-card);
}

.story-card h3 {
  margin: 0;
  color: var(--color-brand-dark);
}

.story-meta {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 0.9rem;
  color: var(--color-muted);
}

.story-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.quote-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 28px;
}

.quote-card {
  border-radius: 22px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(12, 36, 55, 0.08);
  box-shadow: var(--shadow-soft);
}

.quote-card blockquote {
  margin: 0 0 12px;
  font-size: 1.05rem;
  color: var(--color-text);
}

.quote-card cite {
  font-style: normal;
  color: var(--color-muted);
  font-weight: 600;
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.media-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(30, 138, 211, 0.22), rgba(9, 26, 42, 0.7));
  color: #fff;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  box-shadow: var(--shadow-card);
}

.media-card span {
  font-weight: 600;
}

.media-card p {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.82);
}

.media-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.18), transparent 60%);
  opacity: 0.6;
  pointer-events: none;
}

.media-card-content {
  position: relative;
  z-index: 1;
}

.video-feature {
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(12, 36, 55, 0.08);
  background: #000;
}

.video-feature video {
  display: block;
  width: 100%;
  max-height: 520px;
  object-fit: cover;
}

.video-caption {
  padding: 18px 24px;
  background: linear-gradient(90deg, rgba(9, 26, 42, 0.92), rgba(11, 79, 139, 0.75));
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
}

.event-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.event-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  border-radius: 24px;
  padding: 28px;
  background: #fff;
  border: 1px solid rgba(30, 138, 211, 0.12);
  box-shadow: var(--shadow-card);
}

.event-card h3 {
  margin: 0;
  color: var(--color-brand-dark);
}

.event-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.92rem;
  color: var(--color-muted);
}

.event-date {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: rgba(30, 138, 211, 0.12);
  color: var(--color-brand-dark);
  font-weight: 600;
}

.event-card a {
  font-weight: 600;
  color: var(--color-brand);
  text-decoration: underline;
}

.event-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 28px;
  font-size: 0.95rem;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.event-table thead {
  background: linear-gradient(135deg, rgba(12, 36, 55, 0.96), rgba(30, 138, 211, 0.85));
  color: #fff;
}

.event-table th,
.event-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid rgba(13, 28, 43, 0.08);
}

.event-table tbody tr:nth-child(even) {
  background: rgba(30, 138, 211, 0.06);
}

.event-table tbody tr:last-child td {
  border-bottom: none;
}

.cta-panel {
  border-radius: 24px;
  padding: 32px;
  background: linear-gradient(120deg, rgba(12, 36, 55, 0.95), rgba(30, 138, 211, 0.85));
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: var(--shadow-soft);
}

.cta-panel h3 {
  margin: 0;
  color: #fff;
}

.modal-footer-copy {
  margin: 0;
  font-size: 0.95rem;
  color: var(--color-muted);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 980px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 16px clamp(18px, 6vw, 32px);
  }

  .site-nav {
    width: 100%;
    justify-content: space-between;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
  }

  .site-nav a {
    font-size: 0.95rem;
  }

  .site-nav .cta-button {
    margin-left: auto;
  }
}

@media (max-width: 720px) {
  .content-section {
    padding: 28px 24px;
    border-radius: 24px;
  }

  .hero {
    align-items: flex-end;
    padding-bottom: 80px;
  }

  .hero-content {
    padding: clamp(16px, 8vw, 28px);
    text-align: left;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .sub-hero {
    margin-top: 72px;
    padding: clamp(120px, 22vw, 160px) clamp(18px, 6vw, 40px) clamp(60px, 12vw, 100px);
  }

  .story-grid,
  .quote-grid,
  .media-grid,
  .event-grid {
    grid-template-columns: 1fr;
  }

  .event-table {
    font-size: 0.9rem;
  }

  .event-table th,
  .event-table td {
    padding: 14px 16px;
  }

  .timeline {
    padding-left: 24px;
  }

  .timeline-item::before {
    left: -34px;
  }

  .modal-content {
    padding: 28px 24px;
    border-radius: 22px;
  }

  .modal-close {
    top: 10px;
    right: 12px;
  }
}
