:root {
  --navy: #071d2b;
  --navy-soft: #102c3d;
  --ink: #10232f;
  --ivory: #f7f4ed;
  --paper: #fffdf8;
  --mist: #edf1f2;
  --line: rgba(7, 29, 43, 0.16);
  --cyan: #00a7d4;
  --magenta: #e50073;
  --yellow: #f3cb00;
  --green: #4bab45;
  --red: #d21f32;
  --radius: 1rem;
  --max: 76rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 4px;
}

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

.skip-link:focus {
  z-index: 100;
  width: auto;
  height: auto;
  padding: 0.75rem 1rem;
  margin: 0.5rem;
  clip: auto;
  background: var(--paper);
  color: var(--navy);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 253, 248, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.nav-wrap {
  width: min(var(--max), calc(100% - 3rem));
  height: 5rem;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  height: 4rem;
}

.brand img {
  width: 5.5rem;
  height: 4.7rem;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.65rem;
}

.site-nav a {
  color: var(--navy);
  font-size: 0.8rem;
  font-weight: 750;
  letter-spacing: 0;
  text-decoration: none;
  text-transform: uppercase;
}

.site-nav a:not(.nav-cta)::after,
.text-link::after {
  content: "";
  display: block;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width 180ms ease;
}

.site-nav a:hover::after,
.text-link:hover::after {
  width: 100%;
}

.site-nav .nav-cta {
  padding: 0.7rem 1rem;
  color: var(--paper);
  background: var(--navy);
  border-radius: 999px;
}

.menu-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0.75rem;
  border: 0;
  border-radius: 50%;
  background: var(--navy);
}

.menu-toggle span:not(.sr-only) {
  display: block;
  height: 1px;
  margin: 0.3rem 0;
  background: white;
}

.hero {
  min-height: calc(100svh - 5rem);
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  background: var(--navy);
  color: var(--paper);
}

.hero-copy {
  display: flex;
  min-height: calc(100svh - 5rem);
  padding: clamp(2.75rem, 5vw, 5rem) clamp(1.5rem, 4vw, 4.5rem);
  flex-direction: column;
  justify-content: center;
}

.eyebrow,
.section-number {
  margin: 0 0 1.75rem;
  color: var(--magenta);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow,
.closing .eyebrow {
  color: #6ecef7;
  font-size: 1.125rem;
}

.hero h1 {
  max-width: none;
  margin: 0;
  font-size: clamp(3.4rem, 5.5vw, 5.4rem);
  font-weight: 780;
  letter-spacing: 0;
  line-height: 0.91;
}

.hero h1 span {
  display: block;
  white-space: nowrap;
}

.hero-lead {
  max-width: 30rem;
  margin: 2rem 0 2.25rem;
  color: rgba(255, 253, 248, 0.78);
  font-size: clamp(1.05rem, 1.7vw, 1.35rem);
}

.event-meta {
  display: flex;
  max-width: 38rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}

.event-meta span {
  font-size: clamp(1.05rem, 1.45vw, 1.15rem);
  font-weight: 750;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-actions {
  display: flex;
  margin-top: 2rem;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.button {
  display: inline-flex;
  min-height: 3.25rem;
  padding: 0.8rem 1.25rem;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border 180ms ease;
}

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

.button-primary {
  color: #081923;
  background: var(--yellow);
}

.button-primary:hover {
  background: #ffe03c;
}

.button-ghost {
  color: var(--paper);
  border-color: rgba(255, 255, 255, 0.45);
}

.button-ghost:hover {
  border-color: var(--paper);
  background: rgba(255, 255, 255, 0.08);
}

.hero-visual {
  position: relative;
  min-height: calc(100svh - 5rem);
  overflow: hidden;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 29, 43, 0.34), transparent 30%), linear-gradient(0deg, rgba(7, 29, 43, 0.35), transparent 42%);
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-note {
  position: absolute;
  z-index: 1;
  right: 2rem;
  bottom: 1.75rem;
  margin: 0;
  color: white;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.section {
  padding: clamp(5rem, 9vw, 9rem) 0;
}

.container {
  width: min(var(--max), calc(100% - 3rem));
  margin-inline: auto;
}

.container.narrow {
  width: min(66rem, calc(100% - 3rem));
}

.section-heading {
  display: grid;
  margin-bottom: clamp(2.75rem, 5vw, 5rem);
  grid-template-columns: 0.42fr 1fr;
  align-items: start;
  gap: 2rem;
}

.section-heading h2,
.about h2,
.closing h2 {
  margin: 0;
  font-size: clamp(2.7rem, 5.8vw, 5.5rem);
  font-weight: 770;
  letter-spacing: 0;
  line-height: 0.96;
  text-wrap: balance;
}

.impact {
  background: var(--ivory);
}

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

.impact-card {
  min-height: 24rem;
  padding: clamp(2rem, 5vw, 4.5rem);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  background: var(--paper);
}

.impact-card:first-child {
  border-top: 0.35rem solid var(--cyan);
}

.impact-card:last-child {
  border-top: 0.35rem solid var(--magenta);
}

.impact-value {
  margin: 0;
  line-height: 0.88;
  text-transform: uppercase;
}

.impact-value strong,
.impact-value span {
  display: block;
}

.impact-value strong {
  font-size: clamp(5rem, 10vw, 9rem);
  letter-spacing: 0;
}

.impact-value span {
  margin-top: 1rem;
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: 0;
}

.impact-card > p:last-child {
  max-width: 30rem;
  margin: 2rem 0 0;
  font-size: clamp(1.1rem, 1.7vw, 1.25rem);
}

.about {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  background: var(--navy-soft);
  color: var(--paper);
}

.about-image {
  min-height: 42rem;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.about-copy {
  padding: clamp(4rem, 8vw, 8rem) clamp(2rem, 7vw, 7rem);
  align-self: center;
}

.section-number-light {
  color: var(--yellow);
}

.about h2 {
  max-width: 9ch;
  margin-bottom: 2.5rem;
}

.about-copy > p:not(.section-number) {
  max-width: 35rem;
  color: rgba(255, 253, 248, 0.78);
  font-size: 1.08rem;
}

.text-link {
  display: inline-block;
  margin-top: 1.5rem;
  color: var(--paper);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0;
  text-decoration: none;
  text-transform: uppercase;
}

.section-heading.compact {
  margin-bottom: 4rem;
  grid-template-columns: 0.42fr 1fr;
}

.section-heading.compact p:last-child {
  max-width: 38rem;
  margin: 0.75rem 0 0;
  grid-column: 2;
  font-size: 1.05rem;
}

.journey-steps {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  list-style: none;
}

.journey-steps li {
  position: relative;
  min-height: 11rem;
  padding: 1.5rem 1.25rem 2rem 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid var(--line);
}

.journey-steps li:not(:first-child) {
  padding-left: 1.25rem;
}

.journey-steps li:last-child {
  border-right: 0;
}

.journey-steps li:not(:last-child)::after {
  content: "→";
  position: absolute;
  right: -0.7rem;
  top: -1.05rem;
  padding: 0 0.25rem;
  color: var(--magenta);
  background: var(--paper);
  font-size: 1.35rem;
}

.journey-steps span {
  color: var(--cyan);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0;
}

.journey-steps li:nth-child(2) > span {
  color: var(--magenta);
}

.journey-steps li:nth-child(3) > span {
  color: var(--yellow);
}

.journey-steps li:nth-child(4) > span {
  color: var(--green);
}

.journey-steps strong {
  max-width: 10ch;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  letter-spacing: 0;
  line-height: 1.08;
}

.support {
  background: var(--mist);
}

.section-heading.centered {
  display: block;
  max-width: 55rem;
  margin-inline: auto;
  text-align: center;
}

.section-heading.centered h2 {
  margin-inline: auto;
}

.section-heading.centered > p:last-child {
  max-width: 38rem;
  margin: 1.5rem auto 0;
}

.logo-wall {
  margin: 0;
  padding: clamp(1rem, 3vw, 2rem);
  overflow: hidden;
  background: white;
  border-radius: var(--radius);
  box-shadow: 0 2rem 5rem rgba(7, 29, 43, 0.08);
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(0.9rem, 2vw, 1.5rem);
}

.logo-grid img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: contain;
}

.logo-grid .logo-g4s {
  transform: scale(0.9);
}

.logo-grid .logo-offset-down {
  transform: translateY(0.75rem);
}

.logo-grid .logo-tac-offset {
  transform: translateY(calc(0.75rem + 7%));
}

.logo-grid .logo-construman {
  width: calc(75% - clamp(0.675rem, 1.5vw, 1.125rem));
  grid-column: 2 / span 2;
  justify-self: center;
  transform: translateY(-1.5625rem);
}

.sponsors {
  background: var(--paper);
}

.sponsor-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  align-items: stretch;
}

.sponsor-card {
  min-height: 31rem;
  padding: clamp(1.75rem, 3vw, 2.5rem);
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ivory);
}

.sponsor-card.featured {
  color: var(--paper);
  background: var(--navy);
  border-color: var(--navy);
}

.sponsor-type {
  margin: 0;
  color: var(--magenta);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.featured .sponsor-type {
  color: #7fdbf2;
}

.sponsor-price {
  margin: 1rem 0 1.5rem;
  font-size: clamp(2rem, 3.3vw, 3rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
}

.sponsor-card ul {
  margin: 0 0 2.5rem;
  padding: 0;
  list-style: none;
}

.sponsor-card li {
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--line);
}

.featured li {
  border-color: rgba(255, 255, 255, 0.18);
}

.sponsor-card .button {
  width: 100%;
  margin-top: auto;
}

.button-dark {
  color: var(--paper);
  background: var(--navy);
}

.button-dark:hover {
  background: var(--navy-soft);
}

.participation-card .button-dark {
  color: #000;
  background: #fff;
}

.participation-card .button-dark:hover {
  color: #000;
  background: #fff;
}

.participation-card {
  min-height: 0;
  margin-top: 1.5rem;
  padding-block: 1.35rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto auto auto;
  align-items: center;
  gap: 0.35rem 2rem;
}

.participation-card .sponsor-type,
.participation-card .sponsor-price,
.participation-description {
  margin: 0;
}

.participation-card .sponsor-type {
  grid-column: 1;
  grid-row: 1;
}

.participation-card .sponsor-price {
  grid-column: 1;
  grid-row: 2;
}

.participation-description {
  grid-column: 1;
  grid-row: 3;
  font-size: 1.05rem;
  white-space: nowrap;
}

.participation-card .button {
  width: auto;
  min-width: 19rem;
  margin-top: 0;
  grid-column: 2;
  grid-row: 1 / 4;
}

.tax-note {
  margin: 1.5rem 0 0;
  font-size: 1.1rem;
  font-weight: 750;
}

.button-outline {
  color: var(--navy);
  border-color: var(--navy);
}

.button-outline:hover {
  color: var(--paper);
  background: var(--navy);
}

.closing {
  position: relative;
  overflow: hidden;
  padding: clamp(6rem, 12vw, 11rem) 0 2rem;
  color: var(--paper);
  background: var(--navy);
}

.closing-accent {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  display: grid;
  height: 0.4rem;
  grid-template-columns: 1.3fr 0.8fr 1fr 0.65fr;
}

.closing-accent span:nth-child(1) { background: var(--cyan); }
.closing-accent span:nth-child(2) { background: var(--magenta); }
.closing-accent span:nth-child(3) { background: var(--yellow); }
.closing-accent span:nth-child(4) { background: var(--green); }

.closing-inner {
  text-align: center;
}

.closing h2 {
  max-width: 11ch;
  margin: 0 auto;
  font-size: clamp(3.25rem, 8vw, 7.7rem);
}

.closing-lead {
  max-width: 35rem;
  margin: 2.5rem auto 0.5rem;
  color: rgba(255, 253, 248, 0.78);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
}

.closing-lead,
.closing-inner > p:not(.eyebrow):not(.closing-lead) {
  color: rgba(255, 253, 248, 0.78);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  margin: 0 auto;
}

.closing-callout {
  font-weight: 700;
}

.closing-lead {
  margin-top: 2.5rem;
  margin-bottom: 0.5rem;
}

.button-large {
  min-height: 3.9rem;
  margin-top: 2.5rem;
  padding-inline: 2rem;
}

.contact-footer {
  margin-top: clamp(6rem, 11vw, 10rem);
  padding-top: 2rem;
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr) max-content;
  align-items: start;
  gap: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  text-align: left;
}

.contact-footer p {
  margin: 0;
}

.contact-footer > div {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 0.5rem 1.5rem;
  white-space: nowrap;
}

.contact-footer a {
  color: rgba(255, 253, 248, 0.78);
  font-size: 0.82rem;
  text-underline-offset: 0.25rem;
}

.contact-footer .foundation-link {
  color: var(--paper);
  font-size: inherit;
  text-decoration: none;
}

.instagram-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.instagram-icon {
  width: 0.95rem;
  height: 0.95rem;
  flex: 0 0 auto;
  color: currentColor;
}

.contact-footer .credit {
  color: rgba(255, 253, 248, 0.45);
  font-size: 0.7rem;
  text-align: right;
}

.reveal {
  opacity: 0;
  transform: translateY(1.25rem);
  transition: opacity 650ms ease, transform 650ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 980px) {
  .nav-wrap {
    width: min(var(--max), calc(100% - 2rem));
  }

  .site-nav {
    position: absolute;
    top: 5rem;
    right: 1rem;
    left: 1rem;
    padding: 1.25rem;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    background: var(--paper);
    border: 1px solid var(--line);
    box-shadow: 0 1.5rem 3rem rgba(7, 29, 43, 0.14);
  }

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

  .site-nav a {
    padding: 0.8rem 0;
  }

  .site-nav .nav-cta {
    margin-top: 0.5rem;
    padding: 0.8rem 1rem;
    text-align: center;
  }

  .menu-toggle {
    display: block;
  }

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

  .hero-copy {
    min-height: auto;
    padding: 5rem 1.5rem 4rem;
  }

  .hero h1 {
    font-size: clamp(3.4rem, 12vw, 6.2rem);
  }

  .hero-visual {
    min-height: 34rem;
  }

  .section-heading,
  .section-heading.compact {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .section-heading.compact p:last-child {
    grid-column: 1;
  }

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

  .about-image {
    min-height: 32rem;
  }

  .about-copy {
    padding: 5rem 1.5rem;
  }

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

  .journey-steps li:nth-child(2) {
    border-right: 0;
  }

  .journey-steps li:nth-child(-n+2) {
    border-bottom: 1px solid var(--line);
  }

  .journey-steps li:nth-child(2)::after {
    display: none;
  }

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

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

  .sponsor-card {
    min-height: 27rem;
  }

  .participation-card {
    min-height: 0;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 0.75rem;
  }

  .participation-card .sponsor-type,
  .participation-card .sponsor-price,
  .participation-description,
  .participation-card .button {
    grid-column: auto;
    grid-row: auto;
  }

  .participation-card .button {
    min-width: 0;
    width: 100%;
    margin-top: 0.5rem;
  }

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

  .contact-footer .credit {
    text-align: left;
  }
}

@media (max-width: 640px) {
  .container,
  .container.narrow {
    width: min(100% - 2rem, var(--max));
  }

  .hero-copy {
    padding-top: 4.25rem;
  }

  .hero h1 {
    font-size: clamp(2rem, 10vw, 4.7rem);
  }

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

  .event-meta {
    flex-direction: column;
  }

  .hero-visual {
    min-height: 27rem;
  }

  .hero-visual img {
    object-position: 58% center;
  }

  .section {
    padding: 5rem 0;
  }

  .section-heading h2,
  .about h2,
  .closing h2 {
    font-size: clamp(2.55rem, 12vw, 4rem);
  }

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

  .impact-card {
    min-height: 20rem;
    padding: 2rem 1.5rem;
  }

  .impact-value strong {
    font-size: 5.4rem;
  }

  .about-image {
    min-height: 24rem;
  }

  .journey-steps {
    grid-template-columns: 1fr;
  }

  .journey-steps li,
  .journey-steps li:not(:first-child) {
    min-height: 7rem;
    padding: 1rem 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .journey-steps li:not(:last-child)::after,
  .journey-steps li:nth-child(2)::after {
    display: block;
    top: auto;
    right: auto;
    bottom: -1.05rem;
    left: 1rem;
    padding: 0.1rem 0.3rem;
    content: "↓";
  }

  .journey-steps li:last-child {
    border-bottom: 0;
  }

  .sponsor-card {
    min-height: 25rem;
  }

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

  .logo-grid .logo-construman {
    grid-column: 1 / -1;
  }

  .participation-card {
    min-height: 0;
    grid-template-columns: 1fr;
    grid-template-rows: none;
    align-items: stretch;
  }

  .participation-description {
    white-space: normal;
  }

  .participation-card .sponsor-type,
  .participation-card .sponsor-price,
  .participation-description,
  .participation-card .button {
    grid-column: auto;
    grid-row: auto;
    align-self: auto;
  }

  .participation-card .button {
    width: 100%;
  }

  .closing {
    padding-top: 6rem;
  }

  .closing .button {
    width: 100%;
  }

  .contact-footer > div {
    flex-direction: column;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
