/* SEO pages and v19 refinements */

.service-copy li a {
  display: block;
}

.project-copy > p:not(.project-type) {
  color: var(--muted);
  margin: 23px 0 0;
  font-size: 15px;
  line-height: 1.72;
}

.project-details {
  border-top: 1px solid var(--light-line);
  color: var(--blue);
  letter-spacing: .1em;
  text-transform: uppercase;
  justify-content: space-between;
  gap: 18px;
  margin-top: 24px;
  padding-top: 20px;
  font-size: 10px;
  font-weight: 850;
  display: flex;
}

.project-details span {
  transition: transform .35s var(--ease-out);
}

.project-details:hover span {
  transform: translateX(5px);
}

.footer-domain {
  transition: color .25s;
}

.footer-domain:hover {
  color: #fff;
}

/* The markers now sit entirely inside the animated clipping area. */
.process {
  border-top: 0;
}

.process:before,
.process:after {
  top: 7px;
}

.process > div:before {
  top: 2px;
}

.seo-page {
  background: var(--paper);
  padding-top: 88px;
}

.seo-hero {
  background:
    linear-gradient(90deg, #fff 0 58%, transparent 58%),
    linear-gradient(135deg, #eef5fa, #dcebf5);
  border-bottom: 1px solid var(--light-line);
  min-height: 610px;
  position: relative;
  overflow: hidden;
}

.seo-hero:after {
  content: "";
  pointer-events: none;
  opacity: .5;
  background-image:
    linear-gradient(#155f940b 1px, transparent 1px),
    linear-gradient(90deg, #155f940b 1px, transparent 1px);
  background-size: 76px 76px;
  position: absolute;
  inset: 0;
}

.seo-hero__inner {
  z-index: 1;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, .65fr);
  align-items: stretch;
  min-height: 610px;
  display: grid;
  position: relative;
}

.seo-hero__copy {
  align-self: center;
  max-width: 960px;
  padding: 78px 80px 78px 0;
}

.breadcrumbs {
  color: var(--blue);
  letter-spacing: .1em;
  text-transform: uppercase;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin-bottom: 31px;
  font-size: 10px;
  font-weight: 800;
  display: flex;
}

.breadcrumbs a:hover {
  color: var(--red);
}

.seo-hero h1 {
  color: var(--ink);
  letter-spacing: -.058em;
  max-width: 920px;
  margin: 0;
  font-size: clamp(54px, 5vw, 84px);
  font-weight: 590;
  line-height: 1;
}

.seo-hero__lead {
  color: var(--muted);
  max-width: 790px;
  margin: 28px 0 0;
  font-size: clamp(18px, 1.4vw, 23px);
  line-height: 1.65;
}

.seo-hero__actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
  display: flex;
}

.seo-hero__facts {
  background: var(--ink);
  color: #fff;
  align-self: stretch;
  flex-direction: column;
  justify-content: center;
  gap: 0;
  padding: 62px;
  display: flex;
  position: relative;
  overflow: hidden;
}

.seo-hero__facts:before {
  content: "";
  border: 1px solid #ffffff1a;
  border-radius: 50%;
  width: 440px;
  height: 440px;
  position: absolute;
  top: -170px;
  right: -220px;
  box-shadow: 0 0 0 64px #ffffff08, 0 0 0 128px #ffffff05;
}

.seo-fact {
  border-bottom: 1px solid var(--dark-line);
  padding: 25px 0;
  position: relative;
}

.seo-fact:last-child {
  border-bottom: 0;
}

.seo-fact span {
  color: #8dbbd8;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: 10px;
  font-weight: 800;
  display: block;
}

.seo-fact strong {
  letter-spacing: -.025em;
  margin-top: 8px;
  font-size: 21px;
  font-weight: 650;
  line-height: 1.35;
  display: block;
}

.seo-content {
  grid-template-columns: minmax(0, 1fr) 390px;
  align-items: start;
  gap: 76px;
  padding-top: 92px;
  padding-bottom: 104px;
  display: grid;
}

.seo-article {
  background: #fff;
  border: 1px solid var(--light-line);
  padding: clamp(34px, 4vw, 68px);
  box-shadow: 0 18px 48px #143e5c0c;
}

.seo-article h2 {
  color: var(--ink);
  letter-spacing: -.045em;
  margin: 58px 0 0;
  font-size: clamp(34px, 3vw, 50px);
  font-weight: 590;
  line-height: 1.08;
}

.seo-article h2:first-child {
  margin-top: 0;
}

.seo-article h3 {
  color: var(--ink);
  margin: 30px 0 0;
  font-size: 23px;
  font-weight: 700;
}

.seo-article p {
  color: var(--muted);
  max-width: 900px;
  margin: 20px 0 0;
  font-size: 17px;
  line-height: 1.8;
}

.seo-article ul,
.seo-article ol {
  border-top: 1px solid var(--light-line);
  margin: 27px 0 0;
  padding: 0;
  list-style: none;
}

.seo-article li {
  color: var(--text);
  border-bottom: 1px solid var(--light-line);
  padding: 18px 18px 18px 36px;
  font-size: 16px;
  line-height: 1.55;
  position: relative;
}

.seo-article li:before {
  content: "";
  background: var(--red);
  border-radius: 50%;
  width: 7px;
  height: 7px;
  position: absolute;
  top: 1.65em;
  left: 8px;
}

.seo-note {
  border-left: 3px solid var(--red);
  background: var(--paper-blue);
  color: var(--ink);
  margin-top: 34px;
  padding: 22px 25px;
  font-size: 16px;
  line-height: 1.65;
}

.seo-sidebar {
  position: sticky;
  top: 110px;
}

.seo-contact-card {
  background: var(--ink);
  color: #fff;
  padding: 36px;
}

.seo-contact-card > span {
  color: #8dbbd8;
  letter-spacing: .13em;
  text-transform: uppercase;
  font-size: 10px;
  font-weight: 850;
}

.seo-contact-card h2 {
  letter-spacing: -.04em;
  margin: 17px 0 0;
  font-size: 31px;
  font-weight: 590;
  line-height: 1.12;
}

.seo-contact-card p {
  color: #acc6d8;
  margin: 17px 0 0;
  font-size: 14px;
  line-height: 1.7;
}

.seo-contact-card a:not(.button) {
  border-top: 1px solid var(--dark-line);
  padding-top: 17px;
  margin-top: 21px;
  font-size: 18px;
  font-weight: 750;
  display: block;
}

.seo-contact-card .button {
  width: 100%;
  margin-top: 26px;
}

.seo-related {
  background: #fff;
  border-top: 1px solid var(--light-line);
  padding: 80px 0 92px;
}

.seo-related__heading {
  justify-content: space-between;
  align-items: end;
  gap: 28px;
  margin-bottom: 30px;
  display: flex;
}

.seo-related__heading h2 {
  color: var(--ink);
  letter-spacing: -.04em;
  margin: 0;
  font-size: clamp(34px, 3vw, 48px);
  font-weight: 590;
}

.seo-related__grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  display: grid;
}

.seo-related__grid a {
  border: 1px solid var(--light-line);
  background: var(--paper);
  min-height: 150px;
  transition: border-color .3s, transform .4s var(--ease-out), background .3s;
  flex-direction: column;
  justify-content: space-between;
  padding: 25px;
  display: flex;
}

.seo-related__grid a:hover {
  border-color: #155f9473;
  background: var(--paper-blue);
  transform: translateY(-4px);
}

.seo-related__grid span {
  color: var(--blue);
  letter-spacing: .1em;
  text-transform: uppercase;
  font-size: 9px;
  font-weight: 850;
}

.seo-related__grid strong {
  color: var(--ink);
  max-width: 340px;
  margin-top: 24px;
  font-size: 20px;
  font-weight: 680;
  line-height: 1.3;
}

.case-summary {
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--light-line);
  border-left: 1px solid var(--light-line);
  margin-top: 34px;
  display: grid;
}

.case-summary div {
  border-right: 1px solid var(--light-line);
  border-bottom: 1px solid var(--light-line);
  padding: 24px;
}

.case-summary span {
  color: var(--blue);
  letter-spacing: .1em;
  text-transform: uppercase;
  font-size: 9px;
  font-weight: 850;
  display: block;
}

.case-summary strong {
  color: var(--ink);
  margin-top: 10px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  display: block;
}

@media (width <= 900px) {
  .process:after {
    top: 0;
    bottom: 0;
    left: 8px;
  }

  .process > div {
    padding-left: 43px;
  }

  .process > div:before {
    top: 27px;
    left: 4px;
  }

  .seo-page {
    padding-top: 68px;
  }

  .seo-hero {
    background: linear-gradient(145deg, #fff, #edf5fa);
    min-height: 0;
  }

  .seo-hero__inner {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .seo-hero__copy {
    padding: 64px 0 54px;
  }

  .seo-hero h1 {
    font-size: clamp(43px, 12vw, 62px);
  }

  .seo-hero__facts {
    padding: 24px;
  }

  .seo-content {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-top: 56px;
    padding-bottom: 64px;
  }

  .seo-sidebar {
    position: static;
  }

  .seo-related {
    padding: 62px 0 72px;
  }

  .seo-related__heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .seo-related__grid,
  .case-summary {
    grid-template-columns: 1fr;
  }
}

@media (width <= 560px) {
  .seo-hero__actions,
  .seo-hero__actions .button {
    width: 100%;
  }

  .seo-article {
    padding: 28px 22px;
  }

  .seo-article p {
    font-size: 15px;
  }

  .seo-contact-card {
    padding: 28px 23px;
  }
}

@media (width >= 2200px) {
  .project-copy > p:not(.project-type) {
    font-size: .7vw;
  }

  .project-details {
    font-size: .48vw;
  }
}
