:root {
  --ec-content-width: 1120px;
}

.site-header,
.site-footer,
.hero,
.section {
  padding-inline: max(24px, calc((100% - var(--ec-content-width)) / 2));
}

.section {
  padding-block: 40px;
}

.section:not(.hero)::before {
  display: none;
}

.intro,
.philosophy,
.band,
.process,
.about,
.trust,
.reflections-home {
  background: transparent;
}

.section-heading {
  width: 100%;
  padding: 0;
  border: 0;
}

.section-heading::after {
  display: none;
}

.intro-grid {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: start;
}

.intro-grid > p,
.workspace-copy,
.contact-copy {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.intro-grid > p {
  margin: 0;
}

.sheet-divider {
  height: 0;
  margin-block: 32px;
  border-top: 1px solid var(--line);
  background: none;
}

.workspace {
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.workspace-photo {
  aspect-ratio: 3 / 2;
}

.workspace-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  max-height: none;
}

.quote-row {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: 28px;
}

.quote-row blockquote {
  padding: 24px;
}

.reflection-list p {
  min-height: 0;
  padding: 12px 16px;
}

.services-layout {
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  align-items: center;
}

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

.phase-grid article {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 8px 16px;
  align-content: start;
}

.phase-grid article > span {
  grid-column: 1;
  grid-row: 1 / 3;
  align-self: start;
  margin: 0;
}

.phase-grid article > h3,
.phase-grid article > p {
  grid-column: 2;
  margin: 0;
}

.phase-grid article::after {
  display: none;
}

.about {
  grid-template-columns: 220px minmax(0, 1fr);
}

.trust {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 36px;
  align-items: start;
}

.trust-intro {
  display: block;
  margin: 0;
}

.trust-photo {
  margin-top: 24px;
  aspect-ratio: 3 / 2;
}

.trust-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  max-height: none;
  object-fit: cover;
}

.trust-grid {
  grid-template-columns: 1fr;
}

.trust-grid h3 {
  max-width: calc(100% - 44px);
}

.reflections-heading-row .section-heading {
  max-width: none;
}

.contact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

.reading-main {
  width: min(1080px, calc(100% - 48px));
}

.article-body p {
  text-align: justify;
  text-align-last: start;
  -webkit-hyphens: auto;
  hyphens: auto;
}

@media (min-width: 981px) {
  .philosophy > .section-heading,
  #valores > .section-heading,
  .process > .section-heading,
  .reflections-heading-row .section-heading,
  .reflections-page-header {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 12px 36px;
    align-items: start;
  }

  .philosophy > .section-heading > .section-kicker,
  #valores > .section-heading > .section-kicker,
  .process > .section-heading > .section-kicker,
  .reflections-heading-row .section-heading > .section-kicker,
  .reflections-page-header > .section-kicker {
    grid-column: 1 / -1;
    margin: 0;
  }

  .philosophy > .section-heading > h2,
  #valores > .section-heading > h2,
  .process > .section-heading > h2,
  .reflections-heading-row .section-heading > h2,
  .reflections-page-header > h1 {
    grid-column: 1;
    grid-row: 2;
    margin: 0;
  }

  .philosophy > .section-heading > p:not(.section-kicker),
  #valores > .section-heading > p:not(.section-kicker),
  .process > .section-heading > p:not(.section-kicker),
  .reflections-heading-row .section-heading > p:not(.section-kicker),
  .reflections-page-header > p:not(.section-kicker) {
    grid-column: 2;
    grid-row: 2;
    margin: 0;
  }

  .reflections-heading-row {
    align-items: center;
  }

  .reflections-page-header {
    max-width: none;
  }
}

@media (max-width: 980px) {
  .intro-grid,
  .workspace,
  .quote-row,
  .services-layout,
  .about,
  .trust,
  .contact {
    grid-template-columns: 1fr;
  }

  .workspace-photo {
    aspect-ratio: 16 / 9;
  }

  .trust-intro {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr);
    align-items: center;
    gap: 24px;
  }

  .trust-photo {
    margin-top: 0;
  }

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

  .single-profile-photo {
    justify-self: start;
  }
}

@media (max-width: 680px) {
  .site-header,
  .site-footer,
  .hero,
  .section {
    padding-inline: 20px;
  }

  .section {
    padding-block: 32px;
  }

  .phase-grid,
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .phase-grid article {
    grid-template-columns: 38px minmax(0, 1fr);
    column-gap: 12px;
  }

  .trust-intro {
    display: block;
  }

  .trust-photo {
    margin-top: 20px;
    aspect-ratio: 3 / 2;
  }

  .single-profile-photo {
    justify-self: center;
  }

  .reading-main {
    width: calc(100% - 40px);
  }
}
