:root {
  --bg: #f4f7fb;
  --surface: rgba(255, 255, 255, 0.9);
  --surface-strong: #ffffff;
  --text: #14213d;
  --muted: #5f6f86;
  --line: rgba(20, 33, 61, 0.1);
  --primary: #0e7490;
  --primary-dark: #0f3d56;
  --accent: #ff7a00;
  --accent-soft: rgba(255, 122, 0, 0.12);
  --success: #1f9d55;
  --shadow: 0 20px 45px rgba(20, 33, 61, 0.12);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(14, 116, 144, 0.18), transparent 26%),
    radial-gradient(circle at top right, rgba(255, 122, 0, 0.16), transparent 28%),
    linear-gradient(180deg, #f7fbff 0%, #eef4fa 100%);
  line-height: 1.65;
}

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

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

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(244, 247, 251, 0.82);
  border-bottom: 1px solid rgba(20, 33, 61, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.brand-mark {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary), var(--accent));
  color: #fff;
  font-size: 1rem;
  box-shadow: var(--shadow);
}

.brand-text small {
  display: block;
  color: var(--muted);
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.brand-text strong {
  font-size: 1.05rem;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.nav a {
  padding: 0.75rem 1rem;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 700;
  transition: 0.25s ease;
}

.nav a:hover,
.nav a.active {
  color: #fff;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
}

.hero {
  padding: 3rem 0 1rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.5rem;
  align-items: stretch;
}

.hero-main,
.hero-side {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.hero-main img,
.hero-side img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.hero-overlay,
.hero-side-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  background: linear-gradient(180deg, rgba(8, 23, 44, 0.05), rgba(8, 23, 44, 0.82));
  color: #fff;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  width: fit-content;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1,
.page-hero h1 {
  margin: 1rem 0 0.75rem;
  font-size: clamp(2.2rem, 5vw, 4.6rem);
  line-height: 0.95;
}

.hero p,
.page-hero p {
  max-width: 56ch;
  margin: 0;
  font-size: 1.06rem;
  color: rgba(255, 255, 255, 0.92);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.5rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.25rem;
  border-radius: 999px;
  font-weight: 800;
  transition: 0.25s ease;
}

.button-primary {
  background: linear-gradient(135deg, var(--accent), #ff9d2f);
  color: #14213d;
}

.button-secondary {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

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

.section {
  padding: 1.2rem 0 3rem;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.35rem;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  line-height: 1.05;
}

.section-heading p {
  margin: 0;
  max-width: 44ch;
  color: var(--muted);
}

.cards,
.stats-grid,
.feature-grid,
.team-grid,
.facts-grid,
.story-grid,
.article-grid {
  display: grid;
  gap: 1.2rem;
}

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

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

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

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

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

.story-grid {
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
}

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

.card,
.stat,
.feature,
.team-card,
.fact-card,
.article-card,
.story-panel,
.newsletter,
.schedule,
.page-hero,
.spotlight {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.card,
.stat,
.feature,
.team-card,
.fact-card,
.article-card,
.story-panel,
.newsletter,
.schedule,
.spotlight {
  padding: 1.35rem;
}

.card h3,
.feature h3,
.team-card h3,
.article-card h3,
.story-panel h3,
.spotlight h3,
.newsletter h3,
.schedule h3 {
  margin: 0 0 0.7rem;
  font-size: 1.25rem;
}

.card p,
.feature p,
.team-card p,
.article-card p,
.story-panel p,
.spotlight p,
.newsletter p,
.schedule p,
.fact-card p {
  margin: 0;
  color: var(--muted);
}

.card-tag,
.team-tag,
.article-tag {
  display: inline-block;
  margin-bottom: 0.8rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.77rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.stat strong,
.fact-card strong {
  display: block;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1;
  margin-bottom: 0.55rem;
  color: var(--primary-dark);
}

.stat span,
.fact-card span {
  display: block;
  color: var(--muted);
  font-weight: 700;
}

.feature {
  overflow: hidden;
  padding: 0;
}

.feature img,
.team-card img,
.article-card img,
.story-visual img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.feature-content,
.team-card-content,
.article-card-content {
  padding: 1.25rem;
}

.team-card ul,
.schedule ul,
.story-panel ul {
  margin: 1rem 0 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.team-card li,
.schedule li,
.story-panel li {
  margin-bottom: 0.45rem;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 2rem;
  margin: 2.2rem 0 1.4rem;
  background:
    linear-gradient(135deg, rgba(14, 116, 144, 0.95), rgba(15, 61, 86, 0.94)),
    #0f3d56;
  color: #fff;
}

.page-hero p {
  max-width: 62ch;
}

.page-hero::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -40px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}

.story-visual {
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.spotlight {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 1rem;
  align-items: center;
}

.spotlight img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  border-radius: var(--radius-md);
}

.newsletter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.newsletter .button {
  flex-shrink: 0;
}

.site-footer {
  margin-top: 2rem;
  padding: 2rem 0 3rem;
  border-top: 1px solid rgba(20, 33, 61, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 1.2rem;
}

.footer-note,
.footer-links a,
.microcopy {
  color: var(--muted);
}

.footer-links {
  display: grid;
  gap: 0.6rem;
}

.footer-links a:hover {
  color: var(--primary);
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.badge {
  padding: 0.6rem 0.9rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  font-weight: 800;
  color: var(--primary-dark);
}

@media (max-width: 980px) {
  .hero-grid,
  .story-grid,
  .spotlight,
  .footer-grid,
  .cards,
  .team-grid,
  .article-grid,
  .facts-grid,
  .stats-grid,
  .feature-grid {
    grid-template-columns: 1fr;
  }

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

  .hero-side img,
  .hero-main img {
    min-height: 280px;
  }
}

@media (max-width: 720px) {
  .header-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    width: 100%;
  }

  .nav a {
    flex: 1 1 calc(50% - 0.75rem);
    text-align: center;
  }

  .hero-overlay,
  .hero-side-content,
  .page-hero {
    padding: 1.4rem;
  }

  .hero h1,
  .page-hero h1 {
    line-height: 1.02;
  }

  .feature img,
  .team-card img,
  .article-card img,
  .story-visual img {
    height: 210px;
  }
}
