:root {
  color-scheme: light;
  --blue-950: #061c46;
  --blue-800: #0a4aa2;
  --blue-600: #1267d8;
  --sky: #d8edff;
  --yellow: #ffd11a;
  --yellow-2: #f5b700;
  --ink: #10141d;
  --muted: #5d6878;
  --paper: #f7f9fc;
  --white: #ffffff;
  --line: rgba(16, 20, 29, 0.12);
  --shadow: 0 24px 70px rgba(6, 28, 70, 0.2);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, #eaf6ff 0, #fff 560px, #f7f9fc 100%),
    var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.nav-open {
  overflow: hidden;
}

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

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 5vw, 72px);
  color: #fff;
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.site-header.scrolled,
.site-header.open {
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  box-shadow: 0 12px 40px rgba(6, 28, 70, 0.12);
  backdrop-filter: blur(16px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 250px;
}

.brand img {
  width: 52px;
  height: 52px;
  border: 2px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
}

.site-header.scrolled .brand img,
.site-header.open .brand img {
  border-color: rgba(10, 74, 162, 0.18);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  color: var(--yellow);
  font-size: 20px;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}

.site-header.scrolled .brand strong,
.site-header.open .brand strong {
  color: var(--blue-800);
  text-shadow: none;
}

.brand small {
  margin-top: 2px;
  font-size: 12px;
  font-weight: 800;
  opacity: 0.78;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 900;
}

.site-nav a {
  border-radius: 999px;
  padding: 10px 14px;
}

.site-nav a:hover {
  background: rgba(255, 209, 26, 0.18);
  color: var(--yellow);
}

.site-header.scrolled .site-nav a:hover,
.site-header.open .site-nav a:hover {
  color: var(--blue-800);
  background: rgba(18, 103, 216, 0.09);
}

.nav-action {
  border: 1px solid currentColor;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: transparent;
  color: inherit;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 130px clamp(18px, 5vw, 72px) 74px;
  color: #fff;
}

.hero-bg,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-bg {
  object-fit: cover;
  object-position: center center;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(6, 28, 70, 0.9) 0%, rgba(6, 28, 70, 0.58) 38%, rgba(6, 28, 70, 0.08) 74%),
    linear-gradient(0deg, rgba(6, 28, 70, 0.7), transparent 54%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
}

.kicker,
.eyebrow {
  margin: 0 0 14px;
  color: var(--yellow);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.kicker {
  display: inline-flex;
  border: 1px solid rgba(255, 209, 26, 0.42);
  border-radius: 999px;
  background: rgba(6, 28, 70, 0.5);
  padding: 10px 15px;
  letter-spacing: 0;
  text-transform: none;
}

.eyebrow.dark {
  color: rgba(6, 28, 70, 0.72);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  max-width: 720px;
  color: #fff;
  font-size: clamp(58px, 10vw, 124px);
  line-height: 0.88;
  letter-spacing: 0;
  text-transform: uppercase;
  text-shadow: 0 5px 20px rgba(6, 28, 70, 0.35);
}

h2 {
  margin-bottom: 18px;
  color: var(--blue-950);
  font-size: clamp(34px, 5vw, 66px);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  line-height: 1.15;
}

.hero-copy {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.93);
  font-size: clamp(18px, 2vw, 23px);
  font-weight: 650;
  line-height: 1.5;
}

.hero-actions,
.filter-row,
.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button,
.filter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font: inherit;
  font-weight: 950;
}

.button {
  padding: 0 20px;
}

.primary,
.filter.active {
  background: var(--yellow);
  color: #061c46;
  box-shadow: 0 12px 28px rgba(245, 183, 0, 0.24);
}

.primary:hover,
.filter.active:hover {
  background: #ffe060;
}

.secondary {
  border: 1px solid rgba(255, 255, 255, 0.72);
  color: #fff;
}

.statement {
  display: grid;
  grid-template-columns: minmax(220px, 0.55fr) minmax(0, 1.45fr);
  gap: 28px;
  align-items: center;
  padding: 34px clamp(18px, 5vw, 72px);
  background: linear-gradient(90deg, var(--blue-800), #0b5fc6 52%, var(--yellow));
  color: #fff;
}

.statement span,
.statement strong {
  display: block;
}

.statement span {
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.statement strong {
  color: var(--yellow);
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1;
}

.statement p {
  margin-bottom: 0;
  max-width: 980px;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 750;
  line-height: 1.42;
}

.section {
  padding: clamp(70px, 9vw, 112px) clamp(18px, 5vw, 72px);
}

.section-heading {
  max-width: 840px;
  margin-bottom: 30px;
}

.section-heading p:last-child,
.section-copy p,
.project-card p,
.banner-section p,
.events-section p,
.event-card p,
.contact-copy p {
  color: var(--muted);
  line-height: 1.62;
}

.about-section {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.75fr);
  gap: clamp(32px, 6vw, 86px);
  align-items: center;
}

.section-copy p {
  font-size: 18px;
}

.emblem-card,
.project-card,
.news-grid article,
.event-card,
.contact-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.emblem-card {
  padding: clamp(26px, 4vw, 42px);
  text-align: center;
}

.emblem-card img {
  width: min(280px, 78%);
  margin: 0 auto 20px;
}

.emblem-card h3 {
  margin-bottom: 10px;
  color: var(--blue-800);
  font-size: 32px;
}

.projects-section {
  background:
    linear-gradient(180deg, rgba(6, 28, 70, 0.94), rgba(5, 18, 43, 0.98)),
    var(--blue-950);
}

.projects-section h2,
.projects-section .section-heading p:last-child {
  color: #fff;
}

.filter {
  padding: 0 16px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.filter:hover {
  background: rgba(255, 255, 255, 0.16);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 26px;
}

.project-card {
  min-height: 300px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.94);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.project-card:hover {
  transform: translateY(-5px);
}

.project-card.hidden {
  display: none;
}

.project-card span {
  display: grid;
  width: 56px;
  height: 56px;
  margin-bottom: 46px;
  place-items: center;
  border-radius: 8px;
  background: var(--blue-800);
  color: var(--yellow);
  font-weight: 950;
}

.project-card h3 {
  margin-bottom: 14px;
  color: var(--blue-950);
  font-size: 26px;
}

.project-card.hero-card {
  background:
    linear-gradient(0deg, rgba(6, 28, 70, 0.84), rgba(6, 28, 70, 0.55)),
    url("assets/hero-nk.jpg") center / cover;
  color: #fff;
}

.project-card.hero-card h3,
.project-card.hero-card p {
  color: #fff;
}

.banner-section {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: clamp(70px, 9vw, 112px) clamp(18px, 5vw, 72px);
  background: #fff;
}

.banner-section img {
  width: 100%;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.banner-section p:last-child {
  font-size: 18px;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.news-grid article {
  padding: 26px;
}

.news-grid time,
.event-card time {
  display: block;
  margin-bottom: 10px;
  color: var(--blue-800);
  font-weight: 950;
}

.news-grid h3 {
  margin-bottom: 0;
  color: var(--blue-950);
  font-size: 25px;
}

.events-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 430px);
  gap: 28px;
  align-items: center;
  background:
    linear-gradient(110deg, rgba(6, 28, 70, 0.92), rgba(10, 74, 162, 0.85)),
    url("assets/hero-nk.jpg") center / cover;
  color: #fff;
}

.events-section h2,
.events-section p {
  color: #fff;
}

.event-card {
  padding: 30px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--ink);
}

.event-card span {
  display: block;
  margin-bottom: 22px;
  color: var(--blue-950);
  font-size: 24px;
  font-weight: 950;
}

.event-card h3 {
  margin-bottom: 10px;
  color: var(--blue-950);
  font-size: 28px;
}

.partners-section {
  background:
    linear-gradient(135deg, rgba(18, 103, 216, 0.1), transparent 40%),
    linear-gradient(315deg, rgba(255, 209, 26, 0.2), transparent 38%),
    #fff;
}

.partners-section .eyebrow {
  color: #1398d6;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.partner-card {
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 218px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
  padding: 16px;
}

.partner-logo {
  display: grid;
  width: 146px;
  height: 118px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(16, 20, 29, 0.08);
  border-radius: 8px;
  background: #fff;
}

.partner-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.partner-card span {
  display: block;
  margin-bottom: 8px;
  color: var(--blue-800);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.partner-card h3 {
  margin-bottom: 6px;
  color: var(--blue-950);
  font-size: 24px;
}

.partner-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.42;
}

.partner-card.empty {
  place-items: center;
  align-content: center;
  border-style: dashed;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: none;
  color: rgba(6, 28, 70, 0.45);
  text-align: center;
}

.partner-card.empty h3 {
  margin: 0;
  color: rgba(6, 28, 70, 0.5);
  font-size: 20px;
}

.partner-placeholder {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 1px solid rgba(19, 152, 214, 0.36);
  border-radius: 50%;
  color: #1398d6;
  font-size: 34px;
  font-weight: 650;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: clamp(70px, 9vw, 112px) clamp(18px, 5vw, 72px);
  background: linear-gradient(115deg, #eaf6ff, #fff 48%, #fff2a8);
}

.contact-copy {
  max-width: 760px;
}

.contact-copy p {
  font-size: 18px;
}

.social-row {
  margin-top: 24px;
}

.social-row a {
  border-radius: 8px;
  background: var(--blue-800);
  color: #fff;
  padding: 12px 16px;
  font-weight: 950;
}

.social-row a:hover {
  background: var(--blue-600);
}

.contact-card {
  display: grid;
  gap: 15px;
  padding: clamp(24px, 4vw, 36px);
}

.contact-card h3 {
  margin-bottom: 8px;
  color: var(--blue-950);
  font-size: 34px;
}

.contact-info {
  display: grid;
  gap: 10px;
  color: var(--muted);
}

.contact-info p {
  margin: 0;
}

.contact-info span {
  display: block;
  color: var(--blue-800);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

label {
  display: grid;
  gap: 8px;
  color: var(--blue-950);
  font-size: 14px;
  font-weight: 950;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  padding: 13px 14px;
}

input:focus,
textarea:focus {
  border-color: var(--blue-600);
  outline: 3px solid rgba(18, 103, 216, 0.16);
}

textarea {
  resize: vertical;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--blue-800);
  font-weight: 950;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 32px clamp(18px, 5vw, 72px);
  background: var(--blue-950);
  color: #fff;
}

.site-footer strong,
.site-footer span {
  display: block;
}

.site-footer strong {
  color: var(--yellow);
  font-size: 22px;
  text-transform: uppercase;
}

.site-footer span,
.site-footer nav {
  color: rgba(255, 255, 255, 0.74);
  font-size: 14px;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.site-footer a:hover {
  color: var(--yellow);
}

@media (max-width: 1040px) {
  .project-grid,
  .news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-section,
  .banner-section,
  .events-section,
  .contact-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 880px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 78px;
    right: 18px;
    left: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.98);
    color: var(--ink);
    box-shadow: var(--shadow);
  }

  .site-nav.open {
    display: flex;
  }

  .statement {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .brand {
    min-width: 0;
  }

  .brand img {
    width: 46px;
    height: 46px;
  }

  .brand strong {
    font-size: 15px;
  }

  .brand small {
    display: none;
  }

  .hero {
    min-height: 86vh;
  }

  h1 {
    font-size: clamp(48px, 17vw, 72px);
  }

  .hero-actions .button,
  .contact-card .button {
    width: 100%;
  }

  .project-grid,
  .news-grid,
  .partners-grid {
    grid-template-columns: 1fr;
  }

  .partner-card {
    min-height: 205px;
  }

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