.service-page {
  overflow-x: hidden;
}

.editorial-header {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: minmax(230px, 1fr) auto minmax(2.5rem, 1fr);
  align-items: center;
  min-height: 4.75rem;
  padding: 0.65rem 2.5rem;
  border-bottom: 1px solid var(--line);
  background: rgba(242, 238, 230, 0.92);
  backdrop-filter: blur(12px);
}

.editorial-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  color: var(--wine);
  font-size: 0.76rem;
  font-weight: 500;
  text-transform: uppercase;
}

.editorial-nav a,
.language-link {
  border-bottom: 1px solid transparent;
}

.editorial-nav a:hover,
.editorial-nav a:focus-visible,
.language-link:hover,
.language-link:focus-visible {
  border-color: currentColor;
}

.language-link {
  justify-self: end;
  color: var(--wine);
  font-size: 0.76rem;
  font-weight: 500;
}

.service-hero {
  position: relative;
  width: min(1320px, 100%);
  min-height: calc(100svh - 4.75rem);
  margin: 0 auto;
  padding: 2rem 4rem 6rem;
  display: grid;
  align-content: center;
  text-align: center;
}

.service-ornament {
  position: absolute;
  top: 1.25rem;
  left: 50%;
  width: min(1120px, calc(100% - 3rem));
  transform: translateX(-50%);
  pointer-events: none;
}

.service-hero-copy {
  position: relative;
  z-index: 1;
  width: min(980px, 100%);
  margin: 7rem auto 0;
}

.service-hero h1 {
  font-size: 6rem;
  line-height: 1.1;
}

.service-lede {
  width: min(720px, 100%);
  margin: 2rem auto 0;
  color: var(--wine);
  font-family: var(--display);
  font-size: 1.8rem;
  font-style: italic;
  line-height: 1.32;
}

.service-hero .button {
  margin-top: 2.5rem;
}

.service-image {
  width: min(1160px, calc(100% - 8rem));
  margin: 0 auto;
  padding: 0.7rem;
  border: 1px solid var(--line);
}

.service-image img {
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
}

.service-image--uncropped img {
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
}

.service-image figcaption {
  padding: 0.8rem 0.3rem 0.15rem;
  color: var(--muted);
  font-family: var(--display);
  font-size: 1rem;
  font-style: italic;
  text-align: center;
}

.editorial-section {
  width: min(1080px, calc(100% - 8rem));
  margin: 0 auto;
  padding: 7rem 0;
}

.service-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  gap: 6rem;
}

.editorial-heading h2 {
  font-size: 3.8rem;
  line-height: 1.16;
}

.editorial-copy {
  color: var(--ink);
  font-size: 1.06rem;
}

.editorial-copy p + p {
  margin-top: 1.5rem;
}

.service-details {
  width: 100%;
  padding: 7rem max(4rem, calc((100% - 1080px) / 2));
  color: var(--paper);
  background-color: var(--green);
  background-image: linear-gradient(rgba(89, 96, 73, 0.93), rgba(89, 96, 73, 0.93)), var(--paper-image);
  background-size: auto, 1280px auto;
  background-blend-mode: normal, soft-light;
}

.service-details h2 {
  color: var(--paper);
}

.service-details .editorial-heading {
  width: min(760px, 100%);
  margin-bottom: 4rem;
}

.service-details dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: min(1080px, 100%);
  border-top: 1px solid rgba(242, 238, 230, 0.32);
}

.service-details dl > div {
  padding: 2rem 2rem 2rem 0;
  border-bottom: 1px solid rgba(242, 238, 230, 0.32);
}

.service-details dl > div:nth-child(even) {
  padding-left: 2rem;
  border-left: 1px solid rgba(242, 238, 230, 0.32);
}

.service-details dt {
  color: #e2cba9;
  font-family: var(--body);
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
}

.service-details dd {
  margin-top: 0.75rem;
  color: rgba(242, 238, 230, 0.9);
}

.service-process .editorial-heading {
  width: min(760px, 100%);
  margin-bottom: 4rem;
}

.service-process ol {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  border-block: 1px solid var(--line);
  list-style: none;
}

.service-process li {
  padding: 2.25rem;
}

.service-process li + li {
  border-left: 1px solid var(--line);
}

.service-process li > span {
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 500;
}

.service-process h3 {
  margin-top: 1.5rem;
  font-size: 2.25rem;
  line-height: 1.22;
}

.service-process li p {
  margin-top: 1rem;
  color: var(--muted);
}

.service-quote {
  width: min(900px, calc(100% - 4rem));
  margin: 0 auto 7rem;
  text-align: center;
}

.service-quote blockquote {
  color: var(--wine-deep);
  font-family: var(--display);
  font-size: 3.2rem;
  font-style: italic;
  line-height: 1.3;
  text-wrap: balance;
}

.service-quote figcaption {
  margin-top: 1.5rem;
  color: var(--wine);
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
}

.related-services {
  width: min(900px, calc(100% - 8rem));
  margin: 0 auto 7rem;
  border-top: 1px solid var(--line);
}

.related-services > p {
  margin: 1.5rem 0 1rem;
}

.related-services a {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: baseline;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--line);
}

.related-services a span {
  color: var(--wine);
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
}

.related-services a strong {
  color: var(--wine-deep);
  font-family: var(--display);
  font-size: 1.65rem;
  font-weight: 500;
  line-height: 1.28;
}

.service-cta {
  display: grid;
  justify-items: center;
  padding: 7rem 2rem;
  color: var(--paper);
  background-color: var(--wine-deep);
  text-align: center;
}

.service-cta img {
  width: 5rem;
  filter: grayscale(1) brightness(4);
}

.service-cta h2 {
  max-width: 820px;
  margin-top: 2rem;
  color: var(--paper);
  font-size: 4rem;
  line-height: 1.18;
}

.service-cta p {
  max-width: 660px;
  margin-top: 1.5rem;
  color: rgba(242, 238, 230, 0.8);
}

.service-cta .button {
  margin-top: 2rem;
  border-color: #dec39e;
  color: var(--wine-deep);
  background: #dec39e;
}

.legal-hero {
  min-height: auto;
  padding-block: 8rem 6rem;
  border-bottom: 1px solid var(--line);
}

.legal-hero .service-hero-copy {
  margin-top: 0;
}

.legal-updated {
  margin-top: 2rem;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 500;
  text-transform: uppercase;
}

.legal-document {
  width: min(980px, calc(100% - 8rem));
  margin: 0 auto;
  padding: 6rem 0 8rem;
}

.legal-document section {
  display: grid;
  grid-template-columns: minmax(12rem, 0.7fr) minmax(0, 1.5fr);
  gap: 4rem;
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--line);
}

.legal-document section:first-child {
  border-top: 1px solid var(--line);
}

.legal-document h2 {
  color: var(--wine-deep);
  font-size: 2rem;
  line-height: 1.24;
}

.legal-document p {
  color: var(--muted);
}

.legal-document a {
  color: var(--wine);
  border-bottom: 1px solid currentColor;
}

.legal-cta {
  padding-block: 4.5rem;
}

.legal-cta .button {
  margin-top: 1.5rem;
}

@media (max-width: 900px) {
  .editorial-header {
    grid-template-columns: 1fr auto;
  }

  .editorial-nav {
    display: none;
  }

  .service-hero h1 {
    font-size: 4.6rem;
  }

  .service-intro {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .editorial-section,
  .service-image,
  .related-services {
    width: min(100% - 5rem, 1080px);
  }
}

@media (max-width: 640px) {
  .editorial-header {
    min-height: 4.35rem;
    padding: 0.55rem 1rem;
  }

  .editorial-header .wordmark span {
    display: none;
  }

  .service-hero {
    min-height: calc(100svh - 4.35rem);
    padding: 1rem 1.25rem 4rem;
  }

  .service-ornament {
    width: calc(100% - 1rem);
  }

  .service-hero-copy {
    margin-top: 4.5rem;
  }

  .service-hero h1 {
    font-size: 3.35rem;
  }

  .service-lede {
    font-size: 1.45rem;
  }

  .service-image,
  .editorial-section,
  .related-services {
    width: calc(100% - 2.5rem);
  }

  .service-image img {
    aspect-ratio: 4 / 5;
  }

  .service-image--uncropped img {
    height: auto;
    aspect-ratio: auto;
    object-fit: contain;
  }

  .editorial-section {
    padding: 5rem 0;
  }

  .editorial-heading h2,
  .service-cta h2 {
    font-size: 3rem;
  }

  .service-details {
    width: 100%;
    padding: 5rem 1.25rem;
  }

  .service-details dl,
  .service-process ol {
    grid-template-columns: 1fr;
  }

  .service-details dl > div,
  .service-details dl > div:nth-child(even) {
    padding: 1.5rem 0;
    border-left: 0;
  }

  .service-process li {
    padding: 2rem 0;
  }

  .service-process li + li {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .service-quote {
    width: calc(100% - 2.5rem);
    margin-bottom: 5rem;
  }

  .service-quote blockquote {
    font-size: 2.4rem;
  }

  .related-services {
    margin-bottom: 5rem;
  }

  .related-services a {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .service-cta {
    padding: 5rem 1.25rem;
  }

  .legal-hero {
    min-height: auto;
    padding-block: 5rem 4rem;
  }

  .legal-document {
    width: calc(100% - 2.5rem);
    padding: 4rem 0 5rem;
  }

  .legal-document section {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 2rem 0;
  }

  .legal-document h2 {
    font-size: 1.8rem;
  }
}
