/* Summit hero composition. Existing fonts and palette are retained. */

.pc-hero.pc-hero--event {
  display: flex;
  flex-direction: column;
}

.pc-hero.pc-hero--event::after {
  content: none;
}

.pc-hero--event .pc-hero__media {
  inset-block-end: 3rem;
}

.pc-hero--event .pc-hero__image {
  object-position: 70% center;
}

.pc-hero.pc-hero--event .pc-hero__body {
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  align-content: center;
  align-items: center;
  min-block-size: clamp(36rem, 44vw, 46rem);
  padding-block:
    calc(var(--pc-header-height, 5rem) + 2.5rem)
    2.5rem;
}

.pc-hero--event .pc-hero__copy {
  max-inline-size: 44rem;
}

.pc-hero__event-eyebrow {
  margin: 0 0 1.5rem;
  font-size: 0.7rem;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.pc-hero__event-eyebrow::after {
  content: "";
  display: block;
  inline-size: 3rem;
  block-size: 2px;
  margin-block-start: 0.75rem;
  background: var(--pc-primary, #c91d35);
}

.pc-hero__event-title {
  margin: 0 0 1.5rem;
  color: inherit;
  font-family: var(--pc-serif);
  font-size: clamp(2.5rem, 5.5vw, 6rem);
  font-style: normal;
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.045em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.pc-hero__event-title sup {
  position: relative;
  top: -1.1em;
  font-size: 0.4em;
  line-height: 0;
  vertical-align: baseline;
  letter-spacing: 0;
  text-transform: lowercase;
}

.pc-hero__event-title > span {
  display: block;
}

.pc-hero__event-accent {
  color: var(--pc-primary, #c91d35);
}

.pc-hero__event-description {
  max-inline-size: 36ch;
  margin: 0 0 1.5rem;
  font-size: clamp(1rem, 1.2vw, 1.125rem);
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.pc-hero__event-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.25rem;
  margin-block-end: 1.25rem;
}

.pc-hero__event-facts > p {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  min-inline-size: 0;
  max-inline-size: 100%;
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.6;
}

.pc-hero__event-facts > p + p {
  padding-inline-start: 1.25rem;
  border-inline-start: 1px solid var(--pc-primary, #c91d35);
}

.pc-hero__event-facts span {
  min-inline-size: 0;
  overflow-wrap: anywhere;
}

.pc-hero__event-facts svg,
.pc-hero__feature-icon svg {
  flex-shrink: 0;
  inline-size: 1.75rem;
  block-size: 1.75rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pc-hero__event-facts svg {
  color: var(--pc-primary, #c91d35);
}

.pc-hero__event-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.25rem;
  max-inline-size: 34rem;
  align-items: start;
}

.pc-hero__event-action {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.5rem;
  min-inline-size: 0;
}

.pc-hero__action-prompt {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.pc-hero__event-action > .pc-button {
  margin-block-start: auto;
  max-inline-size: 100%;
  border-radius: 0.2rem;
  text-align: center;
  overflow-wrap: anywhere;
}

/* Secondary RSVP button. */
.pc-button.pc-hero__rsvp {
  background: transparent;
  border-color: currentColor;
  color: inherit;
}

.pc-button.pc-hero__rsvp:hover,
.pc-button.pc-hero__rsvp:focus-visible {
  background: var(--pc-secondary, #242424);
  border-color: var(--pc-secondary, #242424);
  color: var(--pc-on-secondary, #fff);
}

/* No destination means an inactive button. */
.pc-hero__event-action > .pc-button:disabled,
.pc-hero__event-action > .pc-button:disabled:hover {
  background: transparent;
  border-color: currentColor;
  color: inherit;
  opacity: 0.55;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

@media (max-width: 35rem) {
  .pc-hero__event-actions {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Bottom feature strip. */

.pc-hero__features {
  position: relative;
  z-index: 2;
  margin-block-end: 2rem;
  padding: 1.5rem;
  border: 1px solid var(--pc-border, #d8d0cd);
  border-radius: 0.55rem;
  background: var(--pc-surface, #faf8f5);
  color: var(--pc-text, #363636);
  box-shadow: 0 0.75rem 2rem rgb(0 0 0 / 5%);
}

.pc-hero__feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pc-hero__feature-list > li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  min-inline-size: 0;
}

.pc-hero__feature-list > li + li {
  padding-inline-start: 1.25rem;
  border-inline-start: 1px solid var(--pc-border, #d8d0cd);
}

.pc-hero__feature-icon {
  display: grid;
  place-items: center;
  flex: 0 0 3rem;
  inline-size: 3rem;
  block-size: 3rem;
  border: 1px solid currentColor;
  border-radius: 50%;
  color: var(--pc-primary, #c91d35);
}

.pc-hero__feature-list > li > div {
  min-inline-size: 0;
}

.pc-hero__feature-title {
  margin: 0 0 0.35rem;
  color: var(--pc-heading, #242424);
  font-family: var(--pc-campaign-serif);
  font-size: 1.1rem;
  font-style: normal;
  font-weight: 400;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.pc-hero__feature-description {
  margin: 0;
  color: var(--pc-text-muted, #666666);
  font-size: 0.75rem;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

@media (max-width: 75rem) {
  .pc-hero__feature-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .pc-hero__feature-list > li + li {
    padding-inline-start: 0;
    border-inline-start: 0;
  }
}

/* Tablet: copy above the photograph, features underneath. */

@media (max-width: 58rem) {
  .pc-hero.pc-hero--event .pc-hero__body {
    order: 0;
    grid-template-columns: minmax(0, 1fr);
    min-block-size: 0;
    padding-block:
      calc(var(--pc-header-height, 5rem) + 2rem)
      1.5rem;
  }

  .pc-hero--event .pc-hero__copy {
    max-inline-size: 42rem;
  }

  .pc-hero__event-title {
    font-size: clamp(2.5rem, 8vw, 5rem);
  }

  .pc-hero.pc-hero--event .pc-hero__media {
    position: relative;
    order: 1;
    z-index: 0;
    inset: auto;
    inline-size: 100%;
    aspect-ratio: 4 / 3;
  }

  .pc-hero.pc-hero--event .pc-hero__media::after {
    background: linear-gradient(
      to bottom,
      var(--pc-surface, #faf8f5),
      transparent 18%,
      transparent 82%,
      var(--pc-surface, #faf8f5)
    );
  }

  .pc-hero-appearance-dark
  .pc-hero.pc-hero--event .pc-hero__media::after {
    background: linear-gradient(
      to bottom,
      #151515,
      transparent 18%,
      transparent 82%,
      #151515
    );
  }

  .pc-hero__features {
    order: 2;
    margin-block-start: -1rem;
  }

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

@media (max-width: 35rem) {
  .pc-hero__event-title {
    font-size: clamp(2rem, 10vw, 3.5rem);
  }

  .pc-hero__event-facts {
    flex-direction: column;
    gap: 0.75rem;
  }

  .pc-hero__event-facts > p + p {
    padding-inline-start: 0;
    border-inline-start: 0;
  }

  .pc-hero__feature-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .pc-hero__feature-list > li + li {
    padding-block-start: 1rem;
    border-block-start: 1px solid var(--pc-border, #d8d0cd);
  }
}

.pc-hero__participation-note {
  margin: 0;
  color: inherit;
  font-size: 0.75rem;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

