:root {
  color-scheme: light;
  --ink: #10202a;
  --muted: #566873;
  --line: #dce7e9;
  --paper: #fbfdfc;
  --mist: #eef7f5;
  --teal: #0b7c7a;
  --teal-dark: #064c52;
  --coral: #db7465;
  --gold: #c69b45;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(17, 44, 54, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  color: var(--white);
  background: linear-gradient(180deg, rgba(3, 21, 26, 0.82), rgba(3, 21, 26, 0));
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark,
.focus-icon {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--coral));
  color: var(--white);
  font-weight: 800;
}

nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2.2vw, 28px);
  font-size: 0.94rem;
  font-weight: 700;
}

nav a {
  opacity: 0.92;
}

nav a:hover,
nav a:focus-visible {
  opacity: 1;
}

.nav-action {
  padding: 9px 14px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
}

.hero {
  position: relative;
  min-height: 82vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 112px clamp(20px, 5vw, 72px) 48px;
  color: var(--white);
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background-image: url("assets/aequivita-hero.png");
  background-position: center;
  background-size: cover;
  transform: scale(1.015);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(2, 21, 28, 0.93) 0%, rgba(2, 33, 39, 0.74) 42%, rgba(2, 33, 39, 0.25) 100%),
    linear-gradient(180deg, rgba(4, 19, 27, 0.15), rgba(4, 19, 27, 0.7));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(790px, 100%);
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(2.7rem, 5.4vw, 4.4rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(2rem, 4.5vw, 4rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.25rem;
  line-height: 1.2;
}

.hero-copy {
  max-width: 690px;
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.hero-actions,
.involved .button {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-weight: 850;
  cursor: pointer;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease;
}

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

.button.primary {
  background: var(--coral);
  color: var(--white);
  box-shadow: 0 14px 32px rgba(219, 116, 101, 0.32);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.42);
}

.section {
  padding: clamp(72px, 10vw, 130px) clamp(20px, 5vw, 72px);
}

.section-grid,
.split,
.involved,
.contact,
.stage {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}

.intro-band {
  background: var(--white);
}

.prose,
.stage-copy,
.involved p,
.contact-copy p,
.mission-inner > p {
  color: var(--muted);
  font-size: 1.08rem;
}

.prose p:last-child,
.stage-copy p:last-child,
.contact-copy p:last-child {
  margin-bottom: 0;
}

.mission {
  background:
    radial-gradient(circle at 12% 10%, rgba(219, 116, 101, 0.15), transparent 28%),
    linear-gradient(135deg, var(--teal-dark), #10202a 68%);
  color: var(--white);
}

.mission-inner {
  width: min(930px, 100%);
  margin: 0 auto;
}

.mission-inner > p {
  color: rgba(255, 255, 255, 0.78);
}

blockquote {
  margin: 36px 0 0;
  padding: 28px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  color: var(--white);
  font-size: clamp(1.45rem, 3vw, 2.4rem);
  font-weight: 850;
  line-height: 1.16;
}

.section-heading {
  width: min(780px, 100%);
  margin-bottom: 34px;
}

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

.focus-card {
  min-height: 270px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.focus-card.wide {
  grid-column: span 2;
}

.focus-card p {
  color: var(--muted);
  margin-bottom: 0;
}

.focus-icon {
  margin-bottom: 22px;
  background: var(--mist);
  color: var(--teal-dark);
}

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

.stage {
  align-items: stretch;
  background: var(--white);
}

.note {
  align-self: center;
  margin: 0;
  padding: 28px;
  border-left: 5px solid var(--gold);
  border-radius: 8px;
  background: #fffaf0;
  color: #5f4a20;
  font-weight: 700;
}

.involved {
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(9, 79, 82, 0.96), rgba(9, 79, 82, 0.84)),
    url("assets/aequivita-hero.png") center/cover;
}

.involved p {
  color: rgba(255, 255, 255, 0.82);
}

.involved-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.involved-list li {
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  font-weight: 750;
}

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

.contact-form {
  display: grid;
  gap: 16px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-weight: 800;
}

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

textarea {
  resize: vertical;
}

input:focus,
textarea:focus {
  outline: 3px solid rgba(11, 124, 122, 0.18);
  border-color: var(--teal);
}

.contact-form .button {
  width: fit-content;
}

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

.footer {
  display: grid;
  grid-template-columns: 1fr 1.4fr auto;
  gap: 24px;
  align-items: start;
  padding: 38px clamp(20px, 5vw, 72px);
  color: rgba(255, 255, 255, 0.76);
  background: #10202a;
}

.footer strong {
  display: block;
  margin-bottom: 6px;
  color: var(--white);
  font-size: 1.2rem;
}

.footer p,
.footer small {
  margin: 0;
}

@media (max-width: 960px) {
  .site-header {
    position: absolute;
    align-items: flex-start;
  }

  nav {
    justify-content: flex-end;
    flex-wrap: wrap;
  }

  .section-grid,
  .split,
  .involved,
  .contact,
  .stage {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 640px) {
  .site-header {
    display: grid;
    gap: 14px;
  }

  nav {
    justify-content: flex-start;
    font-size: 0.86rem;
  }

  .nav-action {
    padding: 0;
    border: 0;
  }

  .hero {
    min-height: 82vh;
    padding-top: 140px;
    padding-bottom: 36px;
  }

  h1 {
    font-size: clamp(2.1rem, 9.7vw, 2.65rem);
  }

  .hero-copy {
    margin-bottom: 24px;
    font-size: 1rem;
    line-height: 1.5;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

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

  .focus-card.wide {
    grid-column: auto;
  }

  .button {
    min-height: 46px;
    width: 100%;
    padding-inline: 12px;
    font-size: 0.92rem;
  }

  .contact-form .button {
    width: 100%;
  }
}
