:root {
  --ink: #193743;
  --muted: #536b75;
  --line: #dbe8eb;
  --panel: #ffffff;
  --soft: #f3f9fa;
  --teal: #00aebb;
  --teal-dark: #007d89;
  --blue: #1b5266;
  --gold: #f2b84b;
  --shadow: 0 18px 55px rgba(27, 82, 102, 0.13);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: #ffffff;
  font-family: Raleway, "Segoe UI", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
}

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

a {
  color: var(--teal-dark);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

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

h1,
h2,
h3 {
  color: var(--blue);
  font-family: Outfit, Raleway, "Segoe UI", Arial, sans-serif;
  line-height: 1.12;
  margin: 0 0 0.75rem;
}

h1 {
  font-size: clamp(2.35rem, 5vw, 4.8rem);
  max-width: 10ch;
}

h2 {
  font-size: clamp(1.75rem, 3vw, 2.65rem);
}

h3 {
  font-size: 1.35rem;
}

p {
  margin: 0 0 1rem;
}

ul {
  margin: 0;
  padding-left: 1.25rem;
}

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

.wrap {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.8rem min(5vw, 3rem);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 6px 24px rgba(27, 82, 102, 0.06);
  backdrop-filter: blur(14px);
}

.brand img {
  width: min(245px, 58vw);
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.4rem 1rem;
  font-size: 0.94rem;
  font-weight: 700;
}

.site-nav a {
  color: var(--blue);
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus,
.site-nav a[aria-current="page"] {
  color: var(--teal-dark);
}

.section {
  padding: clamp(3.25rem, 7vw, 6.5rem) 0;
}

.hero {
  min-height: calc(100vh - 82px);
  display: flex;
  align-items: center;
  background:
    linear-gradient(145deg, rgba(0, 174, 187, 0.1), rgba(255, 255, 255, 0) 38%),
    linear-gradient(0deg, var(--soft), #ffffff 48%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.76fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.hero-copy h2 {
  font-size: clamp(1.35rem, 2.3vw, 2rem);
}

.hero-copy p {
  max-width: 66ch;
}

.eyebrow {
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.35rem;
}

.button,
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.78rem 1.15rem;
  border: 1px solid var(--teal);
  border-radius: 4px;
  background: var(--teal);
  color: #061f26;
  font: inherit;
  font-weight: 800;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.button:hover,
.button:focus,
button:hover,
button:focus {
  background: var(--blue);
  border-color: var(--blue);
  color: #ffffff;
}

.button.secondary {
  color: var(--blue);
  background: transparent;
}

.button.light {
  background: #ffffff;
  color: var(--blue);
  border-color: #ffffff;
}

.button.outline {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.75);
}

.update-panel,
.event-card,
.organizer-card,
.list-box,
.values-grid article {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: var(--shadow);
}

.update-panel {
  padding: clamp(1.4rem, 4vw, 2rem);
}

.update-panel h2 {
  font-size: 1.6rem;
}

.panel-actions {
  display: grid;
  gap: 0.8rem;
  margin-top: 1.35rem;
}

.fine-print {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.5;
  margin: 1rem 0 0;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 2rem;
}

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

.event-card {
  padding: 1.25rem;
}

.event-card.featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.2fr);
  column-gap: 2rem;
}

.event-card.featured h3,
.event-card.featured .meta {
  grid-column: 1;
}

.event-card.featured p,
.event-card.featured ul {
  grid-column: 2;
}

.meta {
  color: var(--muted);
  font-weight: 700;
}

.tinted {
  background: var(--soft);
  border-block: 1px solid var(--line);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
}

.list-box {
  padding: 1.5rem;
}

.values-grid,
.organizer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.values-grid article {
  padding: 1.25rem;
}

.join-band {
  color: #ffffff;
  background: linear-gradient(135deg, var(--blue), #12313d);
}

.join-band h2,
.join-band .eyebrow,
.join-band a {
  color: #ffffff;
}

.join-content {
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(260px, 1fr);
  gap: 1.5rem 3rem;
  align-items: center;
}

.join-content .button-row {
  grid-column: 1 / -1;
}

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

.organizer-card {
  padding: clamp(1.25rem, 3vw, 1.75rem);
}

.organizer-card img {
  width: 180px;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 auto 1.25rem;
  border: 6px solid var(--soft);
}

.organizer-card h3 {
  text-align: center;
}

.site-footer {
  padding: 3rem 0 1.5rem;
  color: #ffffff;
  background: #244f5f;
}

.site-footer h2 {
  color: #ffffff;
  font-size: 1.2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 0.25fr);
  gap: 2rem;
}

.footer-logo {
  width: 280px;
  max-width: 100%;
  margin-bottom: 1rem;
  background: #ffffff;
}

.site-footer nav {
  display: grid;
  gap: 0.35rem;
  align-content: start;
}

.site-footer a {
  color: #ffffff;
}

.copyright {
  width: min(1120px, calc(100% - 40px));
  margin: 2rem auto 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
}

.text-page {
  max-width: 840px;
}

.text-page h1 {
  max-width: none;
}

.text-page h2 {
  font-size: 1.65rem;
  margin-top: 2rem;
}

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

  .site-nav {
    justify-content: flex-start;
  }

  .hero {
    min-height: 0;
  }

  .hero-grid,
  .split,
  .join-content,
  .event-card.featured,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .event-grid,
  .values-grid,
  .organizer-grid {
    grid-template-columns: 1fr;
  }

  .event-card.featured h3,
  .event-card.featured .meta,
  .event-card.featured p,
  .event-card.featured ul {
    grid-column: auto;
  }
}

@media (max-width: 520px) {
  body {
    font-size: 16px;
  }

  .wrap {
    width: min(100% - 28px, 1120px);
  }

  .site-header {
    padding-inline: 1rem;
  }

  .site-nav {
    gap: 0.35rem 0.75rem;
  }

  .hero-actions,
  .button-row {
    flex-direction: column;
  }

  .button,
  button {
    width: 100%;
  }
}
