.events-showcase {
  margin-top: 7rem;
  padding-top: 3rem;
  border-top: 1px solid #dbe6ea;
}
.events-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 3rem;
  margin-bottom: 2rem;
}
.events-heading .eyebrow { margin-bottom: .8rem; }
.events-heading h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2rem, 3.4vw, 3.8rem);
  font-weight: 500;
  letter-spacing: -.035em;
}
.events-heading > p {
  max-width: 420px;
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}
.event-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}
.event-card { margin: 0; }
.event-card > p {
  margin: .9rem 0 0;
  font-family: var(--serif);
  font-size: 1.15rem;
}
.event-image {
  position: relative;
  display: flex;
  overflow: hidden;
  flex-direction: column;
  justify-content: space-between;
  aspect-ratio: 4 / 5;
  padding: 1rem;
  color: #fff;
  background: var(--navy);
}
.event-image::before,
.event-image::after {
  position: absolute;
  border: 1px solid rgba(255,255,255,.23);
  border-radius: 50%;
  content: "";
}
.event-image::before { width: 180px; height: 180px; top: -55px; right: -65px; }
.event-image::after { width: 90px; height: 90px; bottom: -25px; left: -35px; }
.event-image span,
.event-image small { position: relative; z-index: 1; }
.event-image-photo { padding: 0; }
.event-image-photo::before,
.event-image-photo::after { display: none; }
.event-image-photo img { width: 100%; height: 100%; object-fit: cover; }
.event-image span { font-family: var(--serif); font-size: 2.2rem; }
.event-image small { font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.event-image-one { background: linear-gradient(150deg,#083653,#0f5d84); }
.event-image-two { background: linear-gradient(150deg,#9d1d2a,#c84b55); }
.event-image-three { background: linear-gradient(150deg,#0f5d84,#73a9bf); }
.event-image-four { background: linear-gradient(150deg,#173747,#8c6a45); }
.connect { padding-block: 7rem; }
.connect-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0,.95fr) minmax(360px,.75fr);
  align-items: center;
  width: 100%;
  gap: 8vw;
}
.connect-inner > p:not(.eyebrow) { max-width: 620px; }
.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  padding: 2rem;
  background: #fff;
  border: 1px solid #d5e3e8;
  box-shadow: 0 24px 65px rgba(6,44,67,.1);
}
.form-heading {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1rem;
  border-bottom: 1px solid #dbe6ea;
}
.form-heading span { font-family: var(--serif); font-size: 1.65rem; }
.form-heading small { color: var(--muted); font-size: .6rem; letter-spacing: .12em; text-transform: uppercase; }
.contact-form label {
  display: flex;
  flex-direction: column;
  gap: .55rem;
  color: var(--blue);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.contact-form label:last-of-type { grid-column: 1 / -1; }
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: .85rem .75rem;
  color: var(--ink);
  background: #f8fbfc;
  border: 0;
  border-bottom: 1px solid #afc2ca;
  border-radius: 0;
  outline: none;
  font: 500 .88rem var(--sans);
}
.contact-form textarea { min-height: 105px; resize: vertical; }
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus { border-color: var(--red); box-shadow: inset 0 -1px var(--red); }
.contact-form .button { justify-self: start; border: 0; cursor: pointer; }
.form-note { grid-column: 1 / -1; margin: 0; color: var(--muted); font-size: .7rem; line-height: 1.5; }
.form-note.success { color: var(--blue); font-weight: 700; }
.screen-reader-text {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
@media (max-width: 1050px) {
  .connect-layout { grid-template-columns: 1fr; gap: 4rem; }
  .contact-form { max-width: 720px; }
  .event-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 620px) {
  .events-showcase { margin-top: 5rem; }
  .events-heading { display: block; }
  .events-heading > p { margin-top: 1rem; }
  .event-grid { grid-template-columns: 1fr 1fr; gap: .8rem; }
  .event-card > p { font-size: 1rem; }
  .contact-form { grid-template-columns: 1fr; padding: 1.35rem; }
  .contact-form label,
  .contact-form label:last-of-type { grid-column: 1; }
  .form-heading { align-items: flex-start; gap: 1rem; }
  .connect { padding-block: 6rem; }
}
