:root {
  --blue: #0b4f6c;
  --blue-dark: #07384d;
  --teal: #1b998b;
  --orange: #f07c32;
  --gold: #f2b705;
  --ink: #102331;
  --muted: #5d6d7a;
  --line: #d8e1e5;
  --soft: #f5f8f8;
  --white: #ffffff;
  --shadow: 0 18px 42px rgba(7, 56, 77, 0.14);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  padding: 14px max(24px, calc((100vw - var(--max)) / 2));
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(7, 56, 77, 0.2);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: 250px;
}

.brand img {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.75);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1.08rem;
  letter-spacing: 0;
}

.brand small {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.78rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 0.92rem;
  font-weight: 700;
}

.site-nav a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.84);
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--white);
}

.donate-link {
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--white);
  color: var(--blue) !important;
}

.nav-menu {
  position: relative;
  padding: 10px 0;
  margin: -10px 0;
}

.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  display: none;
  min-width: 220px;
  padding: 10px;
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.dropdown::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -14px;
  height: 14px;
}

.dropdown a {
  display: block;
  padding: 10px 12px;
  border-radius: 6px;
  color: var(--blue) !important;
}

.dropdown a:hover {
  background: var(--soft);
}

.nav-menu:hover .dropdown,
.nav-menu:focus-within .dropdown {
  display: block;
}

.hero,
.section {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.hero {
  min-height: 660px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  align-items: center;
  gap: 56px;
  padding-top: 78px;
  padding-bottom: 70px;
}

.page-hero {
  min-height: 390px;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.65fr);
  border-bottom: 1px solid var(--line);
}

.hero-copy h1,
.section-heading h2,
.split h2 {
  font-family: "Source Serif 4", Georgia, serif;
  line-height: 1.05;
  letter-spacing: 0;
}

.hero-copy h1 {
  max-width: 760px;
  margin: 0 0 24px;
  font-size: clamp(2.8rem, 6vw, 5.5rem);
}

.hero-copy p {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  font-size: 1.12rem;
}

.eyebrow {
  margin: 0 0 14px !important;
  color: var(--orange) !important;
  font-size: 0.78rem !important;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 800;
}

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

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

.hero-media {
  min-height: 430px;
  display: grid;
  gap: 16px;
  align-content: end;
  padding: 26px;
  border-radius: 10px;
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(7, 56, 77, 0.08), rgba(7, 56, 77, 0.82)),
    url("assets/aida-logo.jpg") center/cover;
  box-shadow: var(--shadow);
}

.hero-media div {
  display: grid;
  grid-template-columns: 44px 1fr;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background: rgba(7, 56, 77, 0.42);
  backdrop-filter: blur(8px);
}

.hero-media span {
  color: var(--gold);
  font-weight: 800;
}

.section {
  padding-top: 86px;
  padding-bottom: 86px;
}

.intro-band {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.intro-band p,
.split p,
.card p {
  color: var(--muted);
}

.section-heading h2,
.split h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.center {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 34px;
}

.card-grid {
  display: grid;
  gap: 22px;
}

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

.card {
  min-height: 235px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 28px rgba(7, 56, 77, 0.06);
}

.card-kicker {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.card h3 {
  margin: 0 0 12px;
  font-size: 1.25rem;
}

.portfolio-grid {
  display: grid;
  gap: 22px;
}

.portfolio-card {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 28px rgba(7, 56, 77, 0.06);
}

.portfolio-card h3 {
  margin: 0 0 12px;
  font-size: 1.35rem;
}

.portfolio-card p {
  margin: 0 0 18px;
  color: var(--muted);
}

.module-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

details.module {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

details.module summary {
  cursor: pointer;
  padding: 14px 16px;
  color: var(--blue);
  font-weight: 800;
}

details.module ul {
  margin: 0;
  padding: 0 18px 18px 36px;
  color: var(--muted);
}

details.module li {
  margin: 6px 0;
}

.module-note {
  margin-top: 18px;
  padding: 18px;
  border-left: 4px solid var(--teal);
  background: var(--soft);
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 52px;
  background: var(--soft);
  max-width: none;
  padding-left: max(24px, calc((100vw - var(--max)) / 2));
  padding-right: max(24px, calc((100vw - var(--max)) / 2));
}

.feature-list {
  display: grid;
  gap: 18px;
}

.feature-list p {
  margin: 0;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 700;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 28px;
  padding: 34px max(24px, calc((100vw - var(--max)) / 2));
  background: var(--blue-dark);
  color: var(--white);
}

.site-footer p {
  margin: 4px 0;
  color: rgba(255, 255, 255, 0.72);
}

.page-panel {
  padding: 28px;
  border-radius: 8px;
  background: var(--soft);
  border: 1px solid var(--line);
}

.page-panel h2 {
  margin-top: 0;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 2rem;
  line-height: 1.1;
}

.content-grid {
  display: grid;
  gap: 22px;
}

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

.content-grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

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

.value-list li {
  padding-left: 22px;
  position: relative;
  color: var(--muted);
}

.value-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--orange);
}

.section.soft {
  max-width: none;
  padding-left: max(24px, calc((100vw - var(--max)) / 2));
  padding-right: max(24px, calc((100vw - var(--max)) / 2));
  background: var(--soft);
}

.form-card {
  min-height: auto;
}

.contact-form,
.newsletter-form {
  display: grid;
  gap: 14px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

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

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(27, 153, 139, 0.18);
  border-color: var(--teal);
}

@media (max-width: 1040px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    flex-wrap: wrap;
  }

  .hero,
  .intro-band,
  .split,
  .page-hero,
  .content-grid.two,
  .content-grid.four,
  .module-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .brand {
    min-width: 0;
  }

  .brand small {
    display: none;
  }

  .site-nav {
    gap: 12px;
    font-size: 0.86rem;
  }

  .hero {
    min-height: auto;
    padding-top: 52px;
  }

  .card-grid.three {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .hero-media {
    min-height: 360px;
  }

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