/* Shared photographic homepage hero. */

.pc-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--pc-dark, #151515);
  color: #fff;
}

/* Photograph and legibility overlay. */

.pc-hero__media,
.pc-hero__media::after {
  position: absolute;
  inset: 0;
}

.pc-hero__media {
  z-index: -3;
}

.pc-hero__media picture {
  display: block;
  inline-size: 100%;
  block-size: 100%;
}

.pc-hero__image {
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
  object-position: 65% center;
}

.pc-hero__media::after {
  content: "";
  
}


/* Content grows naturally when text requires more space. */

.pc-hero__body {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.4fr);
  align-items: end;
  gap: clamp(2rem, 5vw, 5rem);
  min-block-size: 100vh;
  min-block-size: 100svh;
  padding-block: clamp(9rem, 13vw, 12rem) 5rem;
}

.pc-hero__copy {
  min-inline-size: 0;
  max-inline-size: 42rem;
}

.pc-hero .pc-eyebrow {
  display: flex;
  align-items: center;
  gap: 1rem;
  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 .pc-eyebrow::after {
  content: "";
  flex: 0 0 2rem;
  block-size: 2px;
  background: var(--pc-primary, #c91d35);
}

.pc-hero__title {
  margin: 0 0 1.5rem;
  color: #fff;
  font-family: var(--pc-serif);
  font-size: clamp(2.25rem, 6.8vw, 7.25rem);
  font-style: normal;
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.045em;
  overflow-wrap: anywhere;
}

.pc-hero__title > span {
  display: block;
}

.pc-hero__title > span:last-child {
  color: var(--pc-primary, #c91d35);
}

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

/* Optional hero button. */

.pc-explore {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  max-inline-size: 100%;
  color: #fff;
  text-decoration: none;
}

.pc-explore__circle {
  display: grid;
  place-items: center;
  flex: 0 0 3.75rem;
  inline-size: 3.75rem;
  block-size: 3.75rem;
  border: 1px solid var(--pc-primary, #c91d35);
  border-radius: 50%;
  background: var(--pc-primary, #c91d35);
  color: var(--pc-on-primary, #fff);
  font-size: 1.75rem;
  transition: transform var(--pc-ease);
}

.pc-explore > span:last-child {
  min-inline-size: 0;
  max-inline-size: 15rem;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.pc-hero__scroll {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 2rem 0 0;
  font-size: 0.7rem;
  line-height: 1.6;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.pc-hero__scroll > span {
  flex-shrink: 0;
  font-size: 1.25rem;
}

/* Editorial statement remains in normal layout flow. */

.pc-hero__statement {
  justify-self: end;
  min-inline-size: 0;
  max-inline-size: 12ch;
  margin: 0;
  font-family: var(--pc-serif);
  font-size: clamp(1.5rem, 2.5vw, 2.5rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.03em;
  overflow-wrap: anywhere;
}

/* Decoration is clipped within the hero. */

.pc-hero__sweep {
  position: absolute;
  z-index: -1;
  inset-inline-end: -10%;
  inset-block-end: -9rem;
  inline-size: 72%;
  block-size: 23rem;
  border-start-start-radius: 80% 100%;
  background: rgb(15 15 15 / 88%);
  transform: rotate(-9deg);
}

.pc-hero__sweep::after {
  content: "";
  position: absolute;
  inset-inline-end: 22%;
  inset-block-start: 2rem;
  inline-size: 12rem;
  block-size: 12rem;
  border: 1px solid var(--pc-primary, #c91d35);
  border-radius: 50%;
  opacity: 0.45;
}

.pc-hero::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset-inline: 0;
  inset-block-end: -1px;
  block-size: clamp(1.5rem, 4vw, 4rem);
  background: var(--pc-surface, #faf8f5);
  clip-path: polygon(0 0, 100% 95%, 100% 100%, 0 100%);
  pointer-events: none;
}

/* Preserve the supplied logo's colours on a light backing. */

.home .pc-header--overlay .custom-logo-link {
  display: inline-flex;
  align-items: center;
  max-inline-size: 100%;
  padding: 0.4rem 0.65rem;
  background: transparent;
  border-radius: 0.15rem;
}

/* Tablet and mobile. */

@media (max-width: 58rem) {
  .pc-hero__body {
    grid-template-columns: minmax(0, 1fr);
    align-content: end;
    gap: 2rem;
    padding-block: 9rem 4rem;
  }

  .pc-hero__copy {
    max-inline-size: 36rem;
  }

  .pc-hero__title {
    font-size: clamp(2.25rem, 8.5vw, 5rem);
  }

  .pc-hero__statement {
    max-inline-size: 15ch;
    font-size: clamp(1.5rem, 4vw, 2rem);
  }

  .pc-hero__sweep {
    inline-size: 110%;
  }
}

@media (max-width: 35rem) {
  .pc-hero__body {
    padding-block-start: 8rem;
    gap: 1.75rem;
  }

  .pc-hero__title {
    font-size: clamp(2rem, 10vw, 3.5rem);
  }

  .pc-hero__introduction {
    font-size: 1rem;
  }

  .pc-hero__media::after {
    background:
      linear-gradient(
        90deg,
        rgb(0 0 0 / 94%),
        rgb(0 0 0 / 68%)
      ),
      linear-gradient(
        0deg,
        rgb(0 0 0 / 85%),
        transparent
      );
  }

  .home .pc-header--overlay .custom-logo {
    max-inline-size: 8rem;
  }
}

/* Follow the arrow direction: down for section links,
   right for other destinations. */
@media (prefers-reduced-motion: no-preference) {
  .pc-explore__circle {
    transition: transform 180ms ease-out;
  }

  .pc-explore:focus-visible .pc-explore__circle {
    transform: translateX(3px);
  }

  .pc-explore[href^="#"]:focus-visible .pc-explore__circle {
    transform: translateY(3px);
  }
}

@media (hover: hover) and (pointer: fine)
  and (prefers-reduced-motion: no-preference) {
  .pc-explore:hover .pc-explore__circle {
    transform: translateX(3px);
  }

  .pc-explore[href^="#"]:hover .pc-explore__circle {
    transform: translateY(3px);
  }
}