/* Figma We Do composition: node 90:222 */
.template-services {
  color: var(--color-text);
  background: var(--color-bg);
}

main.template-services {
  overflow: visible;
}

/* # FORBIDDEN TO CHANGE */
main.template-services > section {
  width: 100vw;
  height: 100vh !important;
  margin-inline: calc(50% - 50vw);
}

.we-do-hero {
  position: relative;
  overflow: hidden;
  color: var(--color-text-inverse);
  background: var(--color-text);
}

.we-do-hero__image,
.we-do-hero__image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.we-do-hero__image img {
  object-fit: cover;
}

.we-do-hero__veil {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: var(--hero-overlay);
  pointer-events: none;
}

.we-do-hero__content {
  position: absolute;
  z-index: 2;
  inset: 0;
  padding-bottom: min(17.733vh, 160px);
  pointer-events: none;
}

.we-do-hero__content > .row {
  width: 100%;
}

.we-do-hero h1 {
  max-width: 560px;
  margin: 0;
  color: white;
  font-family: var(--serif);
  font-size: 52px;
  font-weight: 300;
  letter-spacing: -0.01em;
  line-height: 1.15;
}

.we-do-hero__scroll {
  position: absolute;
  z-index: 2;
  bottom: 0;
  left: 50%;
  width: 160px;
  height: 80px;
  color: var(--color-text-inverse);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 400;
  line-height: 18px;
  text-decoration: none;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.we-do-hero__scroll-rule {
  width: 1px;
  height: 40px;
  background: currentColor;
}

.we-do-chapter {
  position: relative;
  overflow: hidden;
}

.we-do-chapter__container {
  height: 100%;
  padding-block: min(8.3333vh, 80px);
}

.we-do-chapter__container > .row {
  width: calc(100% + var(--bs-gutter-x));
}

.we-do-chapter h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 48px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.2;
}

.we-do-chapter__copy,
.we-do-split__copy {
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 24px;
}

.we-do-chapter__copy > p,
.we-do-split__body > p {
  max-width: none;
  margin: 0 0 16px;
}

.we-do-split__body > p {
  position: relative;
  top: -8px;
}

.we-do-chapter .figma-link {
  margin-top: 0;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
}

.we-do-elopement {
  background: #ebc05d;
}

.we-do-elopement__copy {
  height: min(100vh - 320px, 640px);
  padding-right: 80px;
}

.we-do-elopement__image img {
  object-position: center center;
}

.we-do-real-wedding {
  background: var(--color-bg-secondary);
}

.we-do-split__image {
  height: min(100vh - 160px, 800px);
  overflow: hidden;
}

.we-do-split__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.we-do-real-wedding__image img {
  object-position: center 42.5%;
}

.we-do-real-wedding__copy {
  position: relative;
  height: min(100vh - 320px, 640px);
  padding-left: 80px;
}

.we-do-event-styling {
  color: var(--color-text);
  background: var(--color-accent-soft);
}

main.template-services > .we-do-chapter:last-child {
  background: var(--color-bg);
}

main.template-services > .we-do-event-styling:last-child {
  background: var(--color-accent-soft);
}

main.template-services > .we-do-real-wedding:last-child {
  border-top: 1px solid var(--color-border-strong);
}

.we-do-event-styling__copy {
  height: min(100vh - 320px, 640px);
  padding-right: 80px;
}

.we-do-event-styling__image img {
  object-fit: cover;
  object-position: center center;
}

.we-do-event-styling__copy .figma-link--light {
  color: var(--color-primary);
}

.we-do-event-styling__copy .figma-link--light:hover,
.we-do-event-styling__copy .figma-link--light:focus-visible {
  color: var(--color-primary-hover);
}

@media (max-width: 820px) {
  main.template-services > .we-do-chapter {
    height: auto !important;
    min-height: 100vh;
  }
  .we-do-hero__content {
    padding-bottom: max(88px, 12vh);
  }
  .we-do-hero h1 {
    max-width: 300px;
    font-size: clamp(34px, 10.5vw, 42px);
  }
  .we-do-hero__scroll {
    width: 128px;
    height: 64px;
    font-size: 10px;
  }
  .we-do-hero__scroll-rule {
    height: 30px;
  }
  .we-do-chapter__container {
    padding-block: clamp(20px, 3vh, 28px);
  }
  .we-do-chapter h2 {
    font-size: clamp(34px, 10vw, 44px);
    line-height: 1.1;
  }
  .we-do-chapter__copy,
  .we-do-split__copy {
    font-size: 16px;
    line-height: 24px;
  }
  .we-do-chapter__copy > p,
  .we-do-split__body > p {
    margin-bottom: 8px;
  }
  .we-do-chapter .figma-link {
    min-height: 30px;
    margin-top: 0;
    font-size: 12px;
    line-height: 18px;
  }
  .we-do-split__image {
    height: min(30vh, 270px);
  }
  .we-do-elopement__copy,
  .we-do-real-wedding__copy,
  .we-do-event-styling__copy {
    height: auto;
    padding-right: 0;
    padding-left: 0;
  }
  .we-do-split__copy > h2 {
    margin-bottom: 12px;
  }
}
@media (max-width: 820px) and (max-height: 700px) {
  .we-do-chapter__container {
    padding-block: 16px;
  }
  .we-do-chapter h2 {
    font-size: 30px;
  }
  .we-do-split__image {
    height: 27vh;
  }
}
