#showcase {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  padding-top: 82px;
  border-bottom: 1px solid var(--line);
  background: #dceff8 url('../images/hero-sky.webp') center / cover no-repeat;
}

#showcase::before {
  position: absolute;
  inset: 82px 0 0;
  background: rgba(234, 246, 252, 0.3);
  content: "";
}

.showcase-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(100% - 48px, var(--content));
  min-height: calc(100svh - 82px);
  margin: 0 auto;
  padding: 64px 0;
}

.showcase-copy {
  display: flex;
  max-width: 820px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

#showcase .eyebrow {
  margin-bottom: 18px;
  color: var(--rhu-purple);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

#showcase .eyebrow::after {
  display: block;
  width: 42px;
  height: 3px;
  margin: 14px auto 0;
  background: var(--rhu-purple);
  content: "";
}

#showcase h1 {
  max-width: 800px;
  margin-bottom: 24px;
  color: var(--ink);
  font-size: clamp(3.1rem, 6vw, 5.3rem);
  letter-spacing: -0.055em;
  line-height: 1.02;
}

#showcase .showcase-intro {
  max-width: 620px;
  margin-bottom: 30px;
  color: var(--text);
  font-size: 1.08rem;
  line-height: 1.65;
}

.showcase-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

.hero-primary-action,
.hero-secondary-action {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 11px 20px;
  border: 1px solid var(--acm-blue-dark);
  border-radius: 2px;
  font-weight: 700;
  text-decoration: none;
  transition: background 160ms ease, color 160ms ease;
}

.hero-primary-action {
  background: var(--acm-blue-dark);
  color: var(--white);
}

.hero-secondary-action {
  background: rgba(255, 255, 255, 0.55);
  color: var(--acm-blue-dark);
}

.hero-primary-action:hover {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}

.hero-secondary-action:hover {
  background: var(--white);
  color: var(--acm-blue-dark);
}

#newsletter {
  display: flex;
  min-height: 92px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px max(24px, calc((100vw - var(--content)) / 2));
  border-top: 1px solid #cde7f3;
  border-bottom: 1px solid #cde7f3;
  background: var(--acm-blue-soft);
}

#newsletter p {
  margin: 0;
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 650;
}

#newsletter a {
  text-decoration: none;
}

#featured-event,
#news-section {
  display: flex;
  width: min(100% - 48px, var(--content));
  flex-direction: column;
  align-items: stretch;
  margin: 0 auto;
  padding: 108px 0;
}

#featured-event {
  border-bottom: 1px solid var(--line);
}

#featured-event > h2,
#news-section > h2 {
  margin-bottom: 44px;
}

#featured-event > h2::before,
#news-section > h2::before,
#about-us-home-words h2::before {
  display: block;
  width: 42px;
  height: 4px;
  margin-bottom: 18px;
  background: var(--rhu-purple);
  content: "";
}

#featured-event-container {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(36px, 7vw, 92px);
  align-items: center;
}

#featured-event-container .card {
  width: 100% !important;
  max-width: 430px;
}

#featured-event-explanation {
  max-width: 630px;
}

#featured-event-explanation-title {
  margin-bottom: 8px;
  color: var(--ink);
  font-size: clamp(1.55rem, 3vw, 2.4rem);
  font-weight: 700;
  line-height: 1.25;
}

#featured-event-explanation-date {
  margin-bottom: 22px;
  color: var(--acm-blue-dark);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

#featured-event-explanation-description {
  margin: 0;
  color: var(--text);
  font-size: 1.05rem;
}

#news-section {
  padding-top: 96px;
}

#news-container {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

#news-container > .card {
  width: 100% !important;
  margin: 0;
}

#about-us-section-homepage {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: clamp(48px, 8vw, 110px);
  align-items: center;
  padding: 104px max(24px, calc((100vw - var(--content)) / 2));
  background: var(--surface);
}

#about-us-home-words {
  max-width: 700px;
}

#about-us-home-words h2 {
  margin-bottom: 26px;
}

#about-us-home-words p {
  margin-bottom: 30px;
  font-size: 1.05rem;
}

#about-us-home-words a {
  display: inline-block;
  text-decoration: none;
}

#about-us-home-words .button-secondary {
  margin: 0;
}

#vector-about-us-home {
  text-align: center;
}

#vector-about-us-home img {
  width: min(100%, 360px);
  height: auto;
}

#gallery-grid-section {
  width: 100%;
  overflow: hidden;
  background: var(--ink);
}

#gallery-grid-section .row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0;
}

#gallery-grid-section img {
  width: 100%;
  height: clamp(170px, 22vw, 300px);
  padding: 0;
  object-fit: cover;
  opacity: 0.88;
  transition: opacity 160ms ease;
}

#gallery-grid-section img:hover {
  opacity: 1;
}

@media (max-width: 991px) {
  #showcase {
    min-height: 100svh;
    padding-top: 72px;
  }

  #showcase::before {
    inset: 72px 0 0;
  }

  .showcase-inner {
    min-height: calc(100svh - 72px);
    padding: 58px 0;
  }

  .showcase-copy {
    max-width: 760px;
  }

  #featured-event-container,
  #about-us-section-homepage {
    grid-template-columns: 1fr;
  }

  #featured-event-container .card {
    max-width: 520px;
  }

  #news-container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .showcase-inner {
    width: min(100% - 32px, var(--content));
  }

  .showcase-inner {
    padding: 46px 0;
  }

  #showcase h1 {
    margin-bottom: 20px;
    font-size: clamp(2.55rem, 12vw, 3.35rem);
    letter-spacing: -0.045em;
  }

  #showcase .showcase-intro {
    margin-bottom: 26px;
    font-size: 1rem;
  }

  .showcase-actions {
    width: 100%;
    flex-direction: column;
    align-items: center;
  }

  .hero-primary-action,
  .hero-secondary-action {
    width: min(100%, 300px);
  }

  #newsletter {
    align-items: flex-start;
    flex-direction: column;
    padding-top: 24px;
    padding-bottom: 24px;
  }

  #newsletter .button-secondary {
    width: 100%;
  }

  #featured-event,
  #news-section {
    width: min(100% - 32px, var(--content));
    padding: 64px 0;
  }

  #featured-event > h2,
  #news-section > h2 {
    margin-bottom: 30px;
  }

  #featured-event-container {
    gap: 30px;
  }

  #featured-event-container .card {
    max-width: none;
  }

  #news-container {
    grid-template-columns: 1fr;
  }

  #about-us-section-homepage {
    gap: 34px;
    padding: 64px 16px;
  }

  #gallery-grid-section .row {
    grid-template-columns: repeat(2, 1fr);
  }

  #gallery-grid-section img {
    height: clamp(150px, 50vw, 200px);
  }
}

@supports (height: 100dvh) {
  #showcase {
    min-height: 100dvh;
  }

  .showcase-inner {
    min-height: calc(100dvh - 82px);
  }
}

@media (max-width: 991px) and (min-height: 500px) {
  @supports (height: 100dvh) {
    .showcase-inner {
      min-height: calc(100dvh - 72px);
    }
  }
}

@media (max-height: 560px) and (orientation: landscape) {
  #showcase,
  .showcase-inner {
    min-height: auto;
  }

  .showcase-inner {
    padding: 42px 0;
  }
}
