:root {
  color-scheme: light;
  --ink: #0b1b38;
  --blue: #0b3b82;
  --blue-deep: #071b3d;
  --red: #c92335;
  --paper: #f7f4ee;
  --white: #ffffff;
  --muted: #667188;
  --line: rgba(11, 27, 56, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  line-height: 1.55;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-height: 72px;
  padding: 0 6vw;
  color: var(--white);
  background: rgba(7, 27, 61, 0.95);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-weight: 750;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.brand-mark {
  display: block;
  width: 58px;
  height: 44px;
  object-fit: contain;
  object-position: center;
}

nav {
  display: flex;
  gap: 1.5rem;
}

nav a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.94rem;
  text-decoration: none;
}

nav a:hover,
nav a:focus-visible {
  color: var(--white);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  min-height: 680px;
  overflow: hidden;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue-deep), var(--blue));
}

.hero-copy {
  align-self: center;
  max-width: 760px;
  padding: 8vw 4vw 8vw 8vw;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #ffb3ba;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 1.5rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.6rem, 7vw, 7.7rem);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 0.92;
}

h2 {
  max-width: 800px;
  margin-bottom: 1rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.1rem, 4vw, 4.4rem);
  letter-spacing: -0.035em;
  line-height: 1.02;
}

h3 {
  margin-bottom: 0.7rem;
  font-size: 1.35rem;
}

.lead {
  max-width: 650px;
  margin-bottom: 2.25rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(1.12rem, 2vw, 1.42rem);
}

.button {
  display: inline-block;
  padding: 0.9rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  font-weight: 700;
  text-decoration: none;
}

.button:hover,
.button:focus-visible {
  background: rgba(255, 255, 255, 0.16);
}

.button-solid {
  border-color: var(--blue);
  color: var(--white);
  background: var(--blue);
}

.button-solid:hover,
.button-solid:focus-visible {
  background: var(--blue-deep);
}

.hero-art {
  position: relative;
  min-height: 520px;
  background:
    radial-gradient(circle at 60% 20%, rgba(255,255,255,.16), transparent 24%),
    linear-gradient(160deg, rgba(255,255,255,.04), transparent 60%);
}

.sun {
  position: absolute;
  top: 18%;
  left: 50%;
  width: min(20vw, 240px);
  aspect-ratio: 1;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.34), rgba(255,255,255,.04) 64%, transparent 65%);
}

.horizon {
  position: absolute;
  right: -15%;
  bottom: 0;
  width: 120%;
  border-radius: 60% 0 0;
}

.horizon-back {
  height: 48%;
  background: #123e72;
  transform: rotate(-6deg);
}

.horizon-front {
  height: 34%;
  background: #07162e;
  transform: rotate(5deg);
}

.flag-ribbon {
  position: absolute;
  right: -6%;
  width: 88%;
  height: 18px;
  border-radius: 999px 0 0 999px;
  transform: rotate(-14deg);
}

.flag-white { top: 30%; background: #fff; }
.flag-blue { top: 37%; background: #3e83d4; }
.flag-red { top: 44%; background: #e23b4c; }

.section {
  padding: 8rem 8vw;
}

.section-heading {
  margin-bottom: 3rem;
}

.section-intro {
  max-width: 820px;
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.cards article {
  min-width: 0;
  background: var(--paper);
}

.cards p,
.about p,
.regions > p {
  max-width: 680px;
  color: var(--muted);
}

.news-card {
  display: flex;
  flex-direction: column;
}

.news-card > img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.news-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.6rem;
}

.news-meta {
  display: flex;
  justify-content: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
  color: var(--red);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.news-card h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  line-height: 1.12;
}

.news-card p {
  margin-bottom: 0;
}

.source-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.25rem;
}

.source-links a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0.35rem 0.65rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--blue);
  background: var(--white);
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
}

.source-links a:hover,
.source-links a:focus-visible {
  border-color: var(--blue);
}

.organizations {
  color: var(--white);
  background: var(--blue);
}

.organizations .eyebrow {
  color: #ffadb5;
}

.organizations-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 5vw;
  align-items: end;
}

.organizations-heading h2 {
  margin-bottom: 0;
}

.organizations-heading > p {
  max-width: 650px;
  margin-bottom: 0.35rem;
  color: rgba(255, 255, 255, 0.74);
}

.organization-group-title {
  margin: 4rem 0 1.25rem;
  font-family: Inter, system-ui, sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.organization-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.2);
}

.organization-card {
  display: flex;
  min-width: 0;
  min-height: 320px;
  flex-direction: column;
  padding: 1.7rem;
  background: var(--blue-deep);
}

.organization-grid-secondary .organization-card {
  background: #102f63;
}

.organization-index {
  color: #ff9da8;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.organization-card h4 {
  margin: 0.7rem 0 1rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.4rem, 2vw, 2rem);
  line-height: 1.05;
}

.organization-card > p:not(.organization-index) {
  color: rgba(255, 255, 255, 0.72);
}

.organization-card > a,
.organization-links {
  margin-top: auto;
}

.organization-card a {
  color: var(--white);
  font-size: 0.88rem;
  font-weight: 750;
  text-underline-offset: 0.22em;
}

.organization-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1rem;
}

.school-source {
  color: var(--white);
  background: var(--blue-deep);
}

.school-source .eyebrow {
  color: #ff9da8;
}

.school-source-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 5vw;
  align-items: end;
}

.school-source-heading h2 {
  margin-bottom: 0;
}

.school-source-intro p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.05rem;
}

.text-link {
  color: var(--white);
  font-weight: 750;
  text-underline-offset: 0.25em;
}

.school-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 4rem 0 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.18);
}

.school-stats div {
  display: flex;
  flex-direction: column;
  min-height: 150px;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.05);
}

.school-stats strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.3rem, 4vw, 4.6rem);
  line-height: 1;
}

.school-stats span {
  max-width: 260px;
  margin-top: 0.65rem;
  color: rgba(255, 255, 255, 0.68);
}

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

.school-story {
  display: flex;
  min-width: 0;
  flex-direction: column;
  color: var(--ink);
  background: var(--white);
}

.school-story-image {
  display: block;
  overflow: hidden;
}

.school-story-image img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 180ms ease;
}

.school-story-image:hover img,
.school-story-image:focus-visible img {
  transform: scale(1.02);
}

.school-story-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.5rem;
}

.school-story-body h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  line-height: 1.12;
}

.school-story-body p:not(.story-meta) {
  color: var(--muted);
}

.story-meta {
  margin-bottom: 0.8rem;
  color: var(--red);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.school-story-body > a {
  margin-top: auto;
  color: var(--blue);
  font-weight: 750;
  text-underline-offset: 0.2em;
}

.source-note {
  max-width: 880px;
  margin: 1.5rem 0 0;
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.82rem;
}

.contest {
  color: var(--ink);
  background: var(--white);
}

.contest-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 5vw, 6rem);
  align-items: start;
}

.contest-poster {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--paper);
  box-shadow: 0 28px 80px rgba(7, 27, 61, 0.13);
}

.contest-poster img {
  display: block;
  width: 100%;
  height: auto;
}

.contest-copy h2 {
  max-width: 16ch;
  font-size: clamp(2.25rem, 4.2vw, 4.35rem);
  line-height: 0.98;
}

.contest-lead {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.08rem;
}

.contest-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 2rem 0;
  border: 1px solid var(--line);
  background: var(--line);
}

.contest-facts div {
  display: flex;
  flex-direction: column;
  min-height: 104px;
  padding: 1.2rem;
  background: var(--paper);
}

.contest-facts strong {
  color: var(--blue);
  font-size: 1.18rem;
}

.contest-facts span {
  color: var(--muted);
  font-size: 0.86rem;
}

.contest-details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 6rem;
  border: 1px solid var(--line);
  background: var(--line);
}

.contest-details article {
  padding: 2rem;
  background: var(--white);
}

.contest-details p {
  margin-bottom: 0;
  color: var(--muted);
}

.contest-submit {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  gap: 3rem;
  align-items: end;
  margin-top: 4rem;
  padding: clamp(2rem, 5vw, 4rem);
  color: var(--white);
  background: var(--blue-deep);
}

.contest-submit .eyebrow {
  color: #ff9da8;
}

.contest-submit h3 {
  max-width: 720px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1.05;
}

.contest-submit p:not(.eyebrow) {
  max-width: 760px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
}

.contest-submit > a {
  justify-self: end;
  color: var(--white);
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-weight: 750;
  overflow-wrap: anywhere;
}

.contest-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 1.25rem;
}

.contest-gallery figure {
  margin: 0;
}

.contest-gallery img {
  display: block;
  width: 100%;
  aspect-ratio: 545 / 340;
  object-fit: cover;
}

.contest-gallery figcaption {
  padding: 0.75rem 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.regions {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 5vw;
  align-items: end;
  padding: 8rem 8vw;
  color: var(--white);
  background: var(--blue-deep);
}

.regions .eyebrow {
  color: #ff9da8;
}

.regions > p {
  color: rgba(255,255,255,.7);
  font-size: 1.12rem;
}

.about {
  background: var(--white);
}

.about-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 0 5vw;
  align-items: end;
}

.about-heading .eyebrow {
  grid-column: 1 / -1;
}

.about-heading h2 {
  margin-bottom: 0;
}

.about-lead {
  margin-bottom: 0.35rem;
  font-size: 1.08rem;
}

.about-principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 4rem 0;
  border: 1px solid var(--line);
  background: var(--line);
}

.about-principles article {
  padding: 2rem;
  background: var(--paper);
}

.about-principles h3 {
  margin: 0 0 0.9rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 2.4vw, 2.25rem);
  line-height: 1.05;
}

.about-principles p {
  margin-bottom: 0;
}

.dugin-context {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
  padding: clamp(1.25rem, 3vw, 2.75rem);
  color: var(--white);
  background: var(--blue-deep);
}

.dugin-context figure {
  margin: 0;
}

.dugin-context img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: 50% 24%;
}

.dugin-context figcaption {
  margin-top: 0.8rem;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.76rem;
  line-height: 1.45;
}

.dugin-context figcaption a {
  color: rgba(255, 255, 255, 0.85);
}

.dugin-copy .eyebrow {
  color: #ff9da8;
}

.dugin-copy h3 {
  margin-bottom: 1.4rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
}

.about .dugin-copy p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.72);
}

.dugin-copy blockquote {
  max-width: 780px;
  margin: 1.8rem 0 1rem;
  padding-left: 1.2rem;
  border-left: 3px solid var(--red);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 2.5vw, 2rem);
  line-height: 1.25;
}

.text-link-dark {
  display: inline-block;
  margin-top: 0.75rem;
  color: var(--white);
}

.about-boundary {
  max-width: 900px !important;
  margin: 2rem 0 0;
  font-size: 0.85rem;
}

footer {
  display: grid;
  grid-template-columns: 1.1fr 1fr 0.9fr;
  gap: 3rem;
  padding: 4rem 8vw 2rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: var(--white);
  font-size: 0.86rem;
}

.footer-brand,
footer address,
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.footer-brand strong {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
}

footer address {
  font-style: normal;
}

footer a {
  color: var(--blue);
  font-weight: 650;
}

.footer-bottom {
  display: flex;
  grid-column: 1 / -1;
  justify-content: space-between;
  gap: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

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

  .contest-intro {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .contest-copy {
    order: -1;
    max-width: 920px;
  }

  .contest-copy h2 {
    max-width: 22ch;
    font-size: clamp(2.3rem, 5vw, 3.7rem);
  }

  .contest-poster {
    max-width: 820px;
  }
}

@media (max-width: 980px) {
  .about-heading,
  .dugin-context {
    grid-template-columns: 1fr;
  }

  .about-heading {
    gap: 1rem;
  }

  .dugin-context figure {
    max-width: 520px;
  }

  .dugin-copy {
    padding-top: 0.5rem;
  }
}

@media (max-width: 820px) {
  .site-header {
    padding: 0 1.25rem;
  }

  nav {
    display: none;
  }

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

  .hero-copy {
    padding: 6rem 1.25rem 2rem;
  }

  .hero-art {
    min-height: 340px;
  }

  .sun {
    width: 170px;
  }

  .section,
  .regions {
    padding: 5rem 1.25rem;
  }

  .cards,
  .regions,
  .school-source-heading,
  .organizations-heading,
  .organization-grid,
  .about-principles,
  .school-stats,
  .school-news-grid,
  .contest-intro,
  .contest-details,
  .contest-submit,
  .contest-gallery,
  footer {
    grid-template-columns: 1fr;
  }

  .contest-details {
    margin-top: 4rem;
  }

  .contest-submit > a {
    justify-self: start;
  }

  footer {
    padding: 2rem 1.25rem;
  }

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
