@font-face {
  font-family: "Coiny";
  src: url("assets/fonts/Coiny-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #102038;
  --muted: #536078;
  --paper: #f9fcff;
  --cream: #fff7df;
  --red: #ff3d48;
  --red-dark: #bd2429;
  --title-red: #ff3038;
  --yellow: #ffd63d;
  --yellow-dark: #9d6e00;
  --title-yellow: #ffdc56;
  --green: #00bd64;
  --green-dark: #087842;
  --title-green: #00bd5b;
  --blue: #55c8eb;
  --blue-dark: #075f86;
  --violet: #8d65d8;
  --shadow: 0 18px 50px rgba(32, 48, 75, 0.13);
  --shadow-small: 0 8px 24px rgba(32, 48, 75, 0.11);
  --radius-xl: 2rem;
  --radius-lg: 1.45rem;
  --content: 72rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 8%, rgba(255, 214, 61, 0.18), transparent 24rem),
    radial-gradient(circle at 92% 16%, rgba(85, 200, 235, 0.2), transparent 28rem),
    var(--paper);
  font-family: "Avenir Next", Avenir, "Segoe UI", system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.55;
  overflow-x: hidden;
}

a {
  color: inherit;
}

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

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 99;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  color: #fff;
  background: var(--ink);
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: 38rem;
  max-width: var(--content);
  margin: 0 auto;
  padding: 4.75rem clamp(1.15rem, 4vw, 3rem) 2.5rem;
}

.hero::before {
  position: absolute;
  inset: 1.25rem clamp(0.8rem, 2vw, 1.5rem) 0;
  z-index: -2;
  border: 1px solid rgba(16, 32, 56, 0.12);
  border-radius: clamp(1.8rem, 4vw, 3.25rem);
  background:
    radial-gradient(circle at 13% 15%, rgba(255, 255, 255, 0.42), transparent 15rem),
    linear-gradient(145deg, #79d7f0, #4ebfe4 68%, #39acd7);
  box-shadow: var(--shadow);
  content: "";
}

.hero__copy {
  position: relative;
  z-index: 2;
  text-align: center;
}

.hero__eyebrow,
.section-heading__kicker,
.about__kicker {
  margin: 0 0 0.55rem;
  color: var(--blue-dark);
  font-size: 0.83rem;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero__eyebrow {
  color: var(--ink);
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-family: "Coiny", "Arial Rounded MT Bold", "Avenir Next", system-ui, sans-serif;
  font-size: clamp(2.65rem, 10.5vw, 5.8rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 0.92;
}

h1 span {
  display: block;
  white-space: nowrap;
  text-shadow:
    0.018em 0.025em 0 rgba(255, 255, 255, 0.58),
    0.03em 0.04em 0.015em rgba(16, 32, 56, 0.09);
}

.title-red { color: var(--title-red); }
.title-green { color: var(--title-green); }
.title-yellow { color: var(--title-yellow); }

.hero__lead {
  max-width: 30rem;
  margin: 1.25rem auto 1.3rem;
  color: var(--ink);
  font-size: clamp(1.06rem, 4.2vw, 1.28rem);
  font-weight: 650;
}

.hero__jump {
  display: inline-flex;
  min-height: 3.35rem;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.2rem;
  border-radius: 999px;
  color: #fff;
  background: var(--ink);
  box-shadow: 0 8px 0 rgba(16, 32, 56, 0.14);
  font-weight: 800;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.hero__jump:hover,
.hero__jump:focus-visible {
  box-shadow: 0 4px 0 rgba(16, 32, 56, 0.14);
  transform: translateY(4px);
}

.hero__art-wrap {
  position: relative;
  width: min(90%, 23rem);
  margin: 1.2rem auto -2.4rem;
}

.hero__art {
  width: auto;
  height: clamp(22rem, 84vw, 32.5rem);
  margin: 0 auto;
  object-fit: contain;
  filter: drop-shadow(0 16px 14px rgba(24, 41, 68, 0.2));
}

main {
  max-width: var(--content);
  margin: 0 auto;
  padding: 3.25rem clamp(1rem, 4vw, 3rem) 4rem;
}

.section-heading {
  max-width: 39rem;
  margin: 0 auto 1.8rem;
  text-align: center;
}

.section-heading h2,
.about h2 {
  margin: 0;
  font-family: "Arial Rounded MT Bold", "Avenir Next", system-ui, sans-serif;
  font-size: clamp(2rem, 7vw, 3.35rem);
  letter-spacing: -0.045em;
  line-height: 1;
}

.section-heading > p:last-child {
  margin: 0.9rem auto 0;
  color: var(--muted);
  font-size: 1.03rem;
}

.tiles {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
}

.tile {
  --accent: var(--blue);
  --accent-deep: var(--blue-dark);
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.9rem;
  align-items: center;
  min-height: 7.1rem;
  padding: 1.05rem;
  border: 1px solid rgba(16, 32, 56, 0.1);
  border-radius: var(--radius-lg);
  color: var(--ink);
  background: #fff;
  box-shadow: var(--shadow-small);
  text-decoration: none;
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

a.tile:hover,
a.tile:focus-visible {
  border-color: color-mix(in srgb, var(--accent) 55%, white);
  box-shadow: 0 14px 32px rgba(32, 48, 75, 0.16);
  transform: translateY(-3px);
}

.tile--red { --accent: var(--red); --accent-deep: var(--red-dark); }
.tile--yellow { --accent: var(--yellow); --accent-deep: var(--yellow-dark); }
.tile--green { --accent: var(--green); --accent-deep: var(--green-dark); }
.tile--blue { --accent: var(--blue); --accent-deep: var(--blue-dark); }
.tile--violet { --accent: var(--violet); --accent-deep: #6540aa; }

.tile__icon {
  display: grid;
  width: 4.6rem;
  aspect-ratio: 1;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 5px 14px rgba(16, 32, 56, 0.1);
}

.tile__icon-image {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
}

.tile h3 {
  margin: 0;
  color: var(--accent-deep);
  font-size: 1.08rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.tile p {
  margin: 0.32rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.35;
}

.tile__action {
  display: grid;
  width: 2.4rem;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--accent-deep);
  font-size: 1.12rem;
  font-weight: 900;
}

.tile__status {
  display: inline-flex;
  grid-column: 2 / -1;
  align-items: center;
  justify-content: center;
  justify-self: start;
  min-height: 1.85rem;
  padding: 0.22rem 0.62rem;
  border-radius: 999px;
  color: var(--accent-deep);
  background: color-mix(in srgb, var(--accent) 16%, white);
  font-size: 0.72rem;
  font-weight: 850;
  line-height: 1.1;
  text-align: center;
  text-transform: uppercase;
}

.tile--soon {
  background:
    repeating-linear-gradient(-45deg, rgba(16, 32, 56, 0.017) 0 8px, transparent 8px 16px),
    #fff;
}

.tile--needs-link {
  border-style: dashed;
}

.about {
  display: grid;
  gap: 1.2rem;
  align-items: start;
  margin-top: 3.6rem;
  padding: clamp(0.8rem, 2.5vw, 1.3rem);
  border-radius: var(--radius-xl);
  color: var(--ink);
  background: #fff;
  box-shadow: var(--shadow);
}

.about__kicker {
  color: var(--blue-dark);
}

.about__photo {
  aspect-ratio: 4 / 5;
  margin: 0;
  overflow: hidden;
  border-radius: calc(var(--radius-xl) - 0.55rem);
  background: #1b2c6b;
}

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

.about__copy {
  padding: 0.8rem 0.75rem 1rem;
}

.about__copy > p {
  max-width: 48rem;
  margin: 1rem 0 0;
  color: var(--muted);
}

.about__copy > .about__tagline {
  color: var(--ink);
  font-weight: 800;
}

.about__more {
  margin-top: 1.25rem;
}

.about__more summary {
  display: inline-flex;
  min-height: 3.1rem;
  align-items: center;
  justify-content: center;
  padding: 0.72rem 1.05rem;
  border-radius: 999px;
  color: #fff;
  background: var(--ink);
  box-shadow: 0 6px 0 rgba(16, 32, 56, 0.13);
  cursor: pointer;
  font-weight: 850;
  list-style: none;
  transition: box-shadow 160ms ease, transform 160ms ease;
}

.about__more summary::-webkit-details-marker {
  display: none;
}

.about__more summary:hover,
.about__more summary:focus-visible {
  box-shadow: 0 3px 0 rgba(16, 32, 56, 0.13);
  transform: translateY(3px);
}

.about__more[open] summary {
  margin-bottom: 1.35rem;
}

.about__details {
  max-width: 48rem;
  padding-top: 0.15rem;
  border-top: 1px solid rgba(16, 32, 56, 0.1);
  color: var(--muted);
}

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

.about__details ul {
  display: grid;
  gap: 0.45rem;
  margin: 0.85rem 0 1.1rem;
  padding-left: 1.3rem;
}

.about__details li::marker {
  color: var(--red-dark);
}

.about__details .about__closing {
  color: var(--ink);
  font-size: 1.08rem;
  font-weight: 850;
}

.feature-card {
  min-height: 22rem;
  margin-top: 1.35rem;
}

.feature-card__photo {
  aspect-ratio: 16 / 9;
}

.feature-card__photo--signal {
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 247, 223, 0.95), transparent 44%),
    linear-gradient(145deg, #79d7f0, #4ebfe4);
}

.feature-card__photo--signal img {
  object-fit: contain;
  object-position: center;
  padding: 1rem;
}

.feature-card__photo--logo {
  background: var(--cream);
}

.feature-card__photo--logo img {
  object-fit: contain;
  object-position: center;
  padding: clamp(1.25rem, 8vw, 3rem);
}

.feature-card__status {
  display: inline-flex;
  min-height: 2.1rem;
  align-items: center;
  justify-content: center;
  margin-top: 1.1rem;
  padding: 0.34rem 0.75rem;
  border-radius: 999px;
  color: var(--yellow-dark);
  background: color-mix(in srgb, var(--yellow) 24%, white);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.creators {
  margin-top: 1.35rem;
  padding: clamp(0.8rem, 2.5vw, 1.3rem);
  border-radius: var(--radius-xl);
  background: #fff;
  box-shadow: var(--shadow);
}

.creators__foundation {
  display: grid;
  gap: 1.25rem;
  align-items: center;
  padding: clamp(1rem, 3.5vw, 2rem);
  border-radius: calc(var(--radius-xl) - 0.55rem);
  background:
    radial-gradient(circle at 12% 15%, rgba(255, 255, 255, 0.8), transparent 16rem),
    linear-gradient(145deg, var(--cream), #eef9ff);
}

.creators__foundation-logo {
  display: grid;
  width: min(72%, 13rem);
  aspect-ratio: 1;
  margin: 0 auto;
  place-items: center;
  overflow: hidden;
  border-radius: 1.4rem;
  background: #fff;
  box-shadow: var(--shadow-small);
  text-decoration: none;
}

.creators__foundation-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.8rem;
}

.creators h2 {
  margin: 0;
  font-family: "Arial Rounded MT Bold", "Avenir Next", system-ui, sans-serif;
  font-size: clamp(2rem, 7vw, 3.35rem);
  letter-spacing: -0.045em;
  line-height: 1;
}

.creators__foundation-copy h3 {
  margin: 1rem 0 0;
  color: var(--blue-dark);
  font-size: clamp(1.25rem, 4vw, 1.65rem);
  line-height: 1.15;
}

.creators__foundation-copy > p:not(.about__kicker) {
  max-width: 48rem;
  margin: 0.85rem 0 0;
  color: var(--muted);
}

.creators__people {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

.creator-card {
  overflow: hidden;
  border: 1px solid rgba(16, 32, 56, 0.1);
  border-radius: calc(var(--radius-xl) - 0.35rem);
  background: #fff;
  box-shadow: var(--shadow-small);
}

.creator-card:first-child {
  border-top: 5px solid var(--red);
}

.creator-card:last-child {
  border-top: 5px solid var(--blue);
}

.creator-card__portrait {
  aspect-ratio: 1;
  margin: 0;
  overflow: hidden;
  background: #edf1f5;
}

.creator-card__portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.creator-card__copy {
  padding: clamp(1.1rem, 4vw, 1.6rem);
}

.creator-card__kicker {
  margin: 0 0 0.4rem;
  color: var(--blue-dark);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.creator-card:first-child .creator-card__kicker {
  color: var(--red-dark);
}

.creator-card h3 {
  margin: 0;
  font-family: "Arial Rounded MT Bold", "Avenir Next", system-ui, sans-serif;
  font-size: clamp(1.65rem, 6vw, 2.35rem);
  letter-spacing: -0.035em;
  line-height: 1;
}

.creator-card__role {
  margin: 0.7rem 0 0;
  color: var(--ink);
  font-weight: 800;
}

.creator-card__copy > p:last-of-type {
  margin: 0.8rem 0 0;
  color: var(--muted);
}

.creator-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.8rem;
  margin-top: 1.15rem;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  background: var(--blue-dark);
  color: #fff;
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.creator-card:first-child .creator-link,
.creators__foundation-link {
  background: var(--red-dark);
}

.creator-link:hover,
.creator-link:focus-visible,
.creators__foundation-logo:hover,
.creators__foundation-logo:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(16, 32, 56, 0.16);
}

.partners {
  margin-top: 3.2rem;
  padding: clamp(1.4rem, 4vw, 2.5rem);
  border: 1px solid rgba(16, 32, 56, 0.08);
  border-radius: var(--radius-xl);
  background: #fff;
  box-shadow: var(--shadow-small);
}

.partners--organizers {
  margin-top: 1.35rem;
}

.section-heading--compact {
  margin-bottom: 1.3rem;
}

.section-heading--compact h2 {
  font-size: clamp(1.75rem, 5.5vw, 2.65rem);
}

.partners__logos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.partners__logos--patronage {
  max-width: 42rem;
  margin: 0 auto;
}

.partners__logos--patronage .partners__logo-slot:last-child {
  grid-column: 1 / -1;
  width: calc((100% - 0.8rem) / 2);
  justify-self: center;
}

.partners__logo-slot {
  display: grid;
  width: 100%;
  min-height: 7.5rem;
  margin: 0;
  padding: 0.8rem;
  place-items: center;
  border: 1px solid rgba(16, 32, 56, 0.08);
  border-radius: 1rem;
  background: #fff;
}

.partners__logos--organizers .partners__logo-slot:last-child {
  grid-column: 1 / -1;
  width: calc((100% - 0.8rem) / 2);
  justify-self: center;
}

.partners__logo {
  width: 100%;
  max-width: 11rem;
  height: 5.5rem;
  object-fit: contain;
}

.partners__logo--stars {
  max-width: 8.5rem;
}

footer {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  max-width: var(--content);
  margin: 0 auto;
  padding: 0 clamp(1.1rem, 4vw, 3rem) 2.8rem;
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
}

footer p {
  margin: 0;
  color: var(--ink);
  font-weight: 800;
}

footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.2rem;
  justify-content: center;
}

footer a:hover,
footer a:focus-visible {
  color: var(--blue-dark);
}

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

@media (min-width: 42rem) {
  .hero {
    grid-template-columns: minmax(0, 0.95fr) minmax(20rem, 1.05fr);
    gap: 0.5rem;
    min-height: 37rem;
    padding-top: 3.5rem;
  }

  .hero__copy {
    padding-left: 2rem;
    text-align: left;
  }

  h1 {
    font-size: clamp(3rem, 7.2vw, 5.2rem);
  }

  .hero__lead {
    margin-left: 0;
  }

  .hero__art-wrap {
    width: min(88%, 28rem);
    margin: 0 auto -2rem;
  }

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

  .about {
    grid-template-columns: minmax(15rem, 0.82fr) minmax(0, 1.18fr);
    gap: 1.5rem;
  }

  .about__photo {
    aspect-ratio: 4 / 4.7;
    position: sticky;
    top: 1rem;
  }

  .feature-card__photo {
    position: static;
    top: auto;
    aspect-ratio: 4 / 3.25;
  }

  .feature-card--reverse .feature-card__photo {
    order: 2;
  }

  .feature-card--reverse .feature-card__copy {
    order: 1;
    padding: 1rem 0 1rem 1.4rem;
  }

  .creators__foundation {
    grid-template-columns: minmax(10rem, 0.38fr) minmax(0, 1.62fr);
    gap: 2rem;
  }

  .creators__foundation-logo {
    width: min(100%, 13rem);
  }

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

  .about__copy {
    padding: 1rem 1.4rem 1rem 0;
  }

  .partners__logos--organizers {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.9rem;
  }

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

  .partners__logos--patronage .partners__logo-slot:last-child {
    grid-column: auto;
    width: 100%;
  }

  .partners__logos--organizers .partners__logo-slot:last-child {
    grid-column: auto;
    width: 100%;
  }

  footer {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

@media (min-width: 67rem) {
  .tiles {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .tile {
    grid-template-columns: auto 1fr;
    min-height: 10rem;
    align-content: center;
    padding: 1.2rem;
  }

  .tile__action,
  .tile__status {
    grid-column: 2;
    justify-self: start;
    margin-top: 0.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
