/* Homepage and event service page share the same typography and event imagery. */
#main.vista-home .vista-hero-section {
  background: linear-gradient(120deg, #f4f8fc, #eaf4f3) !important;
}

#main .event-label {
  margin: 0 0 12px;
  color: #08646a;
  font-size: .875rem;
  font-weight: 750;
  letter-spacing: .075em;
  line-height: 1.45;
  text-transform: uppercase;
}

#main .event-spotlight {
  background: #fff;
  border-bottom: 1px solid #dde7ef;
}

.event-spotlight-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(28px, 5vw, 80px);
}

#main .event-spotlight h2 {
  margin: 0 0 18px;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.1;
  letter-spacing: -.045em;
  text-wrap: balance;
}

.event-spotlight-copy > p:not(.event-label) {
  max-width: 48ch;
  margin: 0 0 14px;
  color: #485a73;
  font-size: 1.0625rem;
  line-height: 1.65;
}

.event-spotlight-copy .btn {
  margin-top: 12px;
}

.event-spotlight-photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 14px;
}

#main.vista-home .section.case-proof {
  background: #f0f5fb !important;
}

#main.vista-home .case-proof .case-section-head h2 {
  color: #19274a !important;
}

#main.vista-home .case-proof .case-section-head .eyebrow,
#main.vista-home .case-proof .case-proof-footnote > a {
  color: #08646a !important;
}

#main.vista-home .case-proof .case-section-head > p,
#main.vista-home .case-proof > .shell > .case-proof-footnote {
  color: #485a73 !important;
}

#main.event-campaign-page .event-hero {
  background: linear-gradient(120deg, #122341, #173a54) !important;
  padding-block: clamp(44px, 6vw, 94px) !important;
}

#main .event-hero .vista-hero-copy h1 {
  color: #fff !important;
  text-wrap: balance;
}

#main .event-hero .vista-hero-copy > p {
  color: #e0ebf5 !important;
}

#main .event-hero .vista-hero-copy > .event-label {
  color: #9de8d9 !important;
}

#main .event-hero .v-people-image {
  border-color: #ffffff40;
}

#main .event-hero a:focus-visible {
  outline-color: #9de8d9 !important;
}

#main .event-hero .btn-outline-light {
  border: 1px solid #9aafc1 !important;
  background: transparent !important;
  color: #fff !important;
}

#main .event-hero .btn-outline-light:hover {
  background: #ffffff1f !important;
}

#main .event-workflow {
  background: #edf5f7;
}

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

.event-format-grid article {
  padding: clamp(20px, 3vw, 32px);
  border: 1px solid #d9e5ee;
  border-top: 3px solid #167d7d;
  border-radius: 12px;
  background: #f7fafc;
}

#main .event-format-grid h3,
#main .event-stages h3 {
  margin: 0 0 10px;
  color: #19274a;
  font-size: 1.25rem;
  line-height: 1.3;
}

#main .event-format-grid p,
#main .event-stages p {
  margin: 0;
  color: #485a73;
  font-size: 1rem;
  line-height: 1.65;
}

.event-stages {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 0;
  margin: 0;
  list-style: none;
  counter-reset: event-stage;
}

.event-stages > li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  column-gap: 16px;
  align-content: start;
  padding: clamp(18px, 3vw, 30px);
  border: 1px solid #d4e2e9;
  border-radius: 12px;
  background: #fff;
}

.event-stages > li::before {
  counter-increment: event-stage;
  content: counter(event-stage);
  display: grid;
  grid-row: span 2;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #dff1ee;
  color: #08646a;
  font-weight: 750;
}

#main.event-campaign-page > .section[aria-labelledby="event-brief"],
#main.event-campaign-page > .section[aria-labelledby="campaign-faqs"] {
  background: #fff !important;
  border-bottom: 1px solid #dde7ef;
}

@media (max-width: 760px) {
  .event-spotlight-grid,
  .event-format-grid,
  .event-stages {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 600px) {
  #main .event-spotlight .btn,
  #main .event-hero .button-row .btn,
  #main.vista-home .vista-hero-copy .button-row .btn {
    max-width: 100%;
    white-space: normal;
    text-align: center;
  }
}

/* Homepage layout and typography. */
#main.vista-home-refresh {
  --home-ink: #142846;
  --home-copy: #445872;
  --home-line: #dce6ee;
  --home-accent: #08646a;
}
#main.vista-home-refresh > .section {
  padding-block: clamp(48px, 6.5vw, 96px) !important;
}
#main.vista-home-refresh .shell {
  width: min(1240px, calc(100% - 48px));
}
#main.vista-home-refresh :is(h1, h2, h3) {
  color: var(--home-ink);
  text-wrap: balance;
}
#main.vista-home-refresh :is(h2, h3) {
  letter-spacing: -.035em;
}
#main.vista-home-refresh h2 {
  margin: 0;
  font-size: clamp(1.85rem, 4vw, 3rem);
  line-height: 1.12;
}
.home-intro {
  background: radial-gradient(ellipse at 85% 15%, #ddeef2, #f4f8fb 65%);
}
.home-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(30px, 5vw, 76px);
}
#main.vista-home-refresh h1 {
  margin: 0 0 20px;
  font-size: clamp(2.65rem, 6vw, 5rem);
  line-height: 1.01;
  letter-spacing: -.065em;
}
.home-intro-copy > p:not(.event-label) {
  max-width: 50ch;
  margin: 0 0 26px;
  color: var(--home-copy);
  font-size: clamp(1rem, 1.55vw, 1.1875rem);
  line-height: 1.65;
}
.home-intro-copy .button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.home-intro-photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 16px;
}
#main.vista-home-refresh .event-spotlight {
  background: #142846;
  border: 0;
}
#main.vista-home-refresh .event-spotlight h2 {
  color: #fff;
  margin-bottom: 20px;
}
#main.vista-home-refresh .event-spotlight .event-label {
  color: #a3e1d9;
}
#main.vista-home-refresh .event-spotlight-copy > p:not(.event-label) {
  color: #e2edf6;
}
#main.vista-home-refresh .event-spotlight-photo {
  border: 1px solid #ffffff38;
}
#main.vista-home-refresh #why-vista {
  padding-block: clamp(48px, 6.5vw, 96px) !important;
}
.home-services-section,
.home-process-section {
  background: #fff;
}
.home-section-heading {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 14px 28px;
  margin-bottom: 28px;
}
.home-services-grid,
.home-process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.home-services-grid article {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid var(--home-line);
  border-radius: 12px;
  background: #f7fafc;
}
.home-services-grid article h3,
.home-process-grid article h3 {
  margin: 0 0 10px;
  font-size: 1.25rem;
  line-height: 1.3;
}
.home-services-grid article p,
.home-process-grid article p {
  margin: 0 0 16px;
  color: var(--home-copy);
  font-size: 1rem;
  line-height: 1.6;
}
.home-services-grid .home-service-price {
  font-weight: 700;
  color: var(--home-ink);
}
.home-services-grid a {
  margin-top: auto;
}
.home-services-grid a,
.home-section-heading a,
.home-faq-grid a {
  display: inline-block;
  padding-block: 4px;
  color: var(--home-accent);
  text-decoration: underline;
  text-underline-offset: 4px;
  font-weight: 700;
}
.home-process-grid article {
  border-top: 2px solid #158782;
  padding-top: 20px;
}
.home-process-grid article p {
  margin-bottom: 0;
}
.home-faq-section {
  background: #f3f7fa;
}
.home-faq-grid {
  display: grid;
  grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr);
  gap: 22px 60px;
}
.home-faq-grid a {
  margin-top: 16px;
}
.home-faq-items details {
  border-bottom: 1px solid var(--home-line);
}
.home-faq-items details:first-child {
  border-top: 1px solid var(--home-line);
}
.home-faq-items summary {
  padding: 16px 0;
  color: var(--home-ink);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
}
.home-faq-items details > p {
  margin: 0 0 18px;
  color: var(--home-copy);
  font-size: 1rem;
  line-height: 1.65;
}
#main.vista-home-refresh .home-final-section h2 {
  color: #fff !important;
  margin-bottom: 12px;
}

@media (max-width: 760px) {
  #main.vista-home-refresh .shell {
    width: calc(100% - 40px);
  }
  .home-intro-grid,
  .home-services-grid,
  .home-process-grid,
  .home-faq-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .home-intro-photo {
    aspect-ratio: 3 / 2;
  }
  .home-intro-copy .button-row .btn {
    flex: 1 1 100%;
    white-space: normal;
    text-align: center;
  }
}
