:root {
  --navy: #111f44;
  --navy-deep: #0c1633;
  --navy-mid: #1e2f8a;
  --accent: #f86806;
  --accent-hover: #e05a00;
  --ink: #38424d;
  --muted: #747e88;
  --paper: #ffffff;
  --mist: #f3fefe;
  --fog: #f8f8f8;
  --line: #e6e9ee;
  --header-h: 4.5rem;
  --font: "Outfit", system-ui, sans-serif;
  --font-display: "Source Serif 4", Georgia, serif;
  --shadow: 0 18px 50px rgba(17, 31, 68, 0.12);
  --radius: 2px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--muted);
  background: var(--paper);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
}

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--navy);
  color: #fff;
  min-height: var(--header-h);
}

.site-header__inner {
  width: min(1200px, calc(100% - 1.5rem));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: inherit;
  text-decoration: none;
}

.brand:hover {
  text-decoration: none;
}

.brand__mark {
  width: 2.75rem;
  height: auto;
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand__name {
  font-family: var(--font);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.brand__sub {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
  opacity: 0.92;
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav {
  display: none;
}

.nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1.25rem;
}

.nav__link {
  color: #fff;
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
}

.nav__link:hover,
.nav__link:focus-visible {
  color: var(--accent);
  text-decoration: none;
}

.nav-toggle {
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  background: transparent;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  padding: 0.4rem;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: #fff;
  border-radius: 2px;
}

.nav-toggle span:nth-child(1) { width: 100%; }
.nav-toggle span:nth-child(2) { width: 75%; margin-left: auto; }
.nav-toggle span:nth-child(3) { width: 55%; margin-left: auto; }

body.nav-open .nav {
  display: block;
  position: absolute;
  top: var(--header-h);
  left: 0;
  right: 0;
  background: var(--navy-deep);
  padding: 1rem 1.25rem 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

body.nav-open .nav__list {
  flex-direction: column;
  gap: 0.85rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 2.75rem;
  padding: 0.7rem 1.35rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  cursor: pointer;
  text-decoration: none;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn--ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.85);
  background: transparent;
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
}

.btn--accent {
  background: var(--accent);
  color: #fff;
}

.btn--accent:hover {
  background: var(--accent-hover);
  color: #fff;
}

.btn--navy {
  background: var(--navy-mid);
  color: #fff;
}

.btn--navy:hover {
  background: #16256f;
  color: #fff;
}

/* Hero */
.hero {
  position: relative;
  min-height: min(88vh, 760px);
  display: grid;
  place-items: center;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  animation: hero-drift 18s ease-in-out infinite alternate;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(12, 22, 51, 0.55) 0%, rgba(17, 31, 68, 0.72) 45%, rgba(12, 22, 51, 0.88) 100%);
}

.hero__content {
  text-align: center;
  padding: 5rem 0 4rem;
  animation: rise-in 900ms ease both;
}

.hero__brand {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #fff;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

.hero h1 {
  margin: 0 0 1rem;
  font-family: var(--font);
  font-size: clamp(1.35rem, 2.8vw, 2rem);
  font-weight: 600;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.95);
}

.hero__lead {
  margin: 0 auto 2rem;
  max-width: 40rem;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.9);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
}

@keyframes hero-drift {
  from { transform: scale(1.02) translate3d(0, 0, 0); }
  to { transform: scale(1.08) translate3d(0, -1.5%, 0); }
}

@keyframes rise-in {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section--tint {
  background: var(--fog);
}

.section-title {
  margin: 0 0 2rem;
  text-align: center;
  font-family: var(--font);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
}

.section-title--left {
  text-align: left;
}

.section-subtitle {
  margin: 2.5rem 0 1.25rem;
  text-align: center;
  font-size: 1.35rem;
  color: var(--ink);
}

.section-lead {
  margin: -1rem auto 2.5rem;
  max-width: 40rem;
  text-align: center;
}

.about-figure {
  margin: 0 auto 1rem;
  max-width: 28rem;
  border: 1px solid var(--line);
  padding: 0.65rem;
  background: #fff;
  box-shadow: var(--shadow);
  animation: rise-in 800ms ease both;
}

.about-figure img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.split-cards {
  display: grid;
  gap: 1.5rem;
  margin-top: 1rem;
}

.info-block h4 {
  margin: 0 0 0.6rem;
  color: var(--navy);
  font-size: 1.15rem;
}

.info-block p {
  margin: 0;
}

.participate {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.participate__copy p {
  margin: 0 0 1rem;
}

.participate__media {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.participate__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 700ms ease;
}

.participate__media:hover img {
  transform: scale(1.03);
}

.topic-strip {
  list-style: none;
  margin: 0 0 2.5rem;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.topic-strip li {
  padding: 0.85rem 1rem;
  border-left: 3px solid var(--accent);
  background: var(--mist);
  color: var(--ink);
  font-weight: 500;
}

.phases {
  display: grid;
  gap: 1.5rem;
}

.phase {
  padding: 1.5rem 1.35rem 1.35rem;
  border-top: 3px solid var(--navy);
  background: #fff;
  box-shadow: 0 1px 0 var(--line);
}

.phase__label {
  margin: 0 0 0.35rem;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.phase h3 {
  margin: 0 0 1rem;
  color: var(--ink);
  font-size: 1.2rem;
  line-height: 1.35;
}

.phase ul {
  margin: 0;
  padding-left: 1.15rem;
}

.phase li + li {
  margin-top: 0.45rem;
}

/* Contact */
.contact {
  display: grid;
  gap: 2rem;
}

.contact__email {
  font-size: 1.05rem;
  color: var(--ink);
}

.contact-form {
  display: grid;
  gap: 0.85rem;
  padding: 1.5rem;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.85rem 0.95rem;
  font: inherit;
  color: var(--ink);
  background: #fff;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid color-mix(in srgb, var(--accent) 55%, white);
  border-color: var(--accent);
}

.consent {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  font-size: 0.9rem;
  color: var(--ink);
}

.consent input {
  width: auto;
  margin-top: 0.3rem;
}

.form-status {
  margin: 0;
  color: var(--navy);
  font-weight: 500;
}

/* Footer */
.site-footer {
  background: #1a3350;
  color: rgba(255, 255, 255, 0.78);
  padding-top: 3.5rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  padding-bottom: 2.5rem;
}

.footer-brand img {
  width: 4.5rem;
  margin-bottom: 1rem;
}

.footer-brand p {
  margin: 0;
  max-width: 28rem;
}

.footer-heading {
  margin: 0 0 0.85rem;
  color: #fff;
  font-size: 1rem;
  letter-spacing: 0.04em;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
}

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

.footer-links li + li {
  margin-top: 0.45rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.1rem 0;
  font-size: 0.9rem;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom strong {
  color: #fff;
}

@media (min-width: 768px) {
  .split-cards {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .participate {
    grid-template-columns: 1.1fr 0.9fr;
  }

  .topic-strip {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .contact {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

@media (min-width: 992px) {
  .nav {
    display: block;
  }

  .nav-toggle {
    display: none;
  }

  .topic-strip {
    grid-template-columns: repeat(5, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__media img,
  .hero__content,
  .about-figure,
  .participate__media img {
    animation: none;
    transition: none;
  }
}
