.website-design-page {
  --website-paper: #f7f5f1;
  --website-sky: #d9eef3;
  --website-ink: #050a11;
  --website-blue: #0a5cff;
  background: var(--website-paper);
  color: var(--website-ink);
}

.website-design-page .site-header { color: var(--website-ink); }

.website-design-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(22rem, 1.1fr);
  gap: clamp(2.5rem, 6vw, 7rem);
  align-items: center;
  min-height: min(58rem, 100svh);
  padding: clamp(10rem, 16vh, 13rem) clamp(1.5rem, 7vw, 8rem) clamp(5rem, 10vh, 8rem);
  overflow: hidden;
  background: var(--website-sky);
}

.website-design-hero::before,
.website-design-hero::after {
  position: absolute;
  border: 1px solid rgba(5, 10, 17, 0.12);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.website-design-hero::before { width: min(70vw, 60rem); height: min(70vw, 60rem); top: -25rem; right: -18rem; }
.website-design-hero::after { width: min(52vw, 42rem); height: min(52vw, 42rem); bottom: -30rem; left: -15rem; }

.website-design-hero__copy,
.website-design-hero__visual { position: relative; z-index: 1; }
.website-design-hero__copy { max-width: 42rem; }

.website-design-hero h1 {
  max-width: 10ch;
  margin: 0;
  font-size: clamp(3.4rem, 6.5vw, 6rem);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 0.9;
}

.website-design-hero__lede {
  max-width: 39rem;
  margin: clamp(2rem, 4vw, 3rem) 0 0;
  color: #15385e;
  font-size: clamp(1.05rem, 1.35vw, 1.35rem);
  line-height: 1.55;
}

.website-design-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 1.5rem;
  align-items: center;
  margin-top: 2.25rem;
}

.website-design-button {
  display: inline-flex;
  gap: 2rem;
  align-items: center;
  min-height: 3.5rem;
  padding: 0.9rem 1.2rem 0.9rem 1.3rem;
  border-radius: 0.7rem;
  background: #0a5cff;
  box-shadow: 0 0.8rem 2rem rgba(10, 92, 255, 0.2);
  color: white;
  font-size: 0.84rem;
  font-weight: 850;
  letter-spacing: 0.015em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 180ms ease, transform 180ms ease;
}

.website-design-button span { font-size: 1.5rem; line-height: 0.7; }
.website-design-button:hover,
.website-design-button:focus-visible { background: #0647c8; transform: translateY(-2px); }

.website-design-text-link {
  color: var(--website-ink);
  font-size: 0.92rem;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.3rem;
}

.website-design-hero__visual { display: grid; place-items: center; min-height: min(36rem, 52vw); }

.hero-visual__browser {
  position: relative;
  width: min(100%, 40rem);
  min-height: 23rem;
  overflow: hidden;
  border: 1px solid rgba(5, 10, 17, 0.14);
  border-radius: 1.25rem;
  background: rgba(247, 245, 241, 0.92);
  box-shadow: 0 1.5rem 4rem rgba(5, 10, 17, 0.15);
  transform: rotate(2deg);
}

.hero-visual__browser-bar {
  display: flex;
  gap: 0.45rem;
  align-items: center;
  min-height: 2.7rem;
  padding: 0 1rem;
  border-bottom: 1px solid rgba(5, 10, 17, 0.12);
  color: #536b84;
  font-size: 0.72rem;
  font-weight: 750;
}

.hero-visual__browser-bar i { width: 0.52rem; height: 0.52rem; border-radius: 50%; background: #0a5cff; }
.hero-visual__browser-bar i:nth-child(2) { background: #7b55d7; }
.hero-visual__browser-bar i:nth-child(3) { background: #22a76f; }
.hero-visual__browser-bar span { margin-left: 0.6rem; }

.hero-visual__browser-body {
  display: grid;
  gap: 3rem;
  align-content: center;
  min-height: 20rem;
  padding: 2rem;
  background: linear-gradient(125deg, rgba(10, 92, 255, 0.08), transparent 48%), var(--website-paper);
}

.hero-visual__message {
  max-width: 14ch;
  font-size: clamp(2.1rem, 4vw, 4rem);
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 0.9;
}

.hero-visual__path {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 0.7rem;
  align-items: center;
  color: #244568;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-visual__path span { padding: 0.8rem 0.55rem; border: 1px solid rgba(10, 92, 255, 0.25); border-radius: 0.6rem; background: #fff; text-align: center; }
.hero-visual__path b { color: #0a5cff; font-size: 1.2rem; }

.hero-visual__orbit { position: absolute; width: 8rem; height: 8rem; border: 1px solid rgba(10, 92, 255, 0.25); border-radius: 50%; pointer-events: none; }
.hero-visual__orbit--one { top: 5%; right: 4%; }
.hero-visual__orbit--two { right: -8%; bottom: -9%; width: 15rem; height: 15rem; border-color: rgba(123, 85, 215, 0.22); }

.website-work { position: relative; padding: clamp(5rem, 9vw, 9rem) clamp(1.25rem, 6vw, 7rem) 7rem; background: var(--website-paper); }

.website-work__intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(18rem, 0.65fr);
  gap: clamp(2rem, 8vw, 10rem);
  align-items: end;
  max-width: 90rem;
  margin: 0 auto clamp(3rem, 7vw, 6rem);
}

.website-work__eyebrow { margin: 0 0 1.1rem; color: #0a5cff; font-size: 0.76rem; font-weight: 900; letter-spacing: 0.12em; text-transform: uppercase; }
.website-work h2 { max-width: 10ch; margin: 0; font-size: clamp(3rem, 6vw, 5.8rem); font-weight: 900; letter-spacing: -0.055em; line-height: 0.9; }
.website-work__intro > p { max-width: 38rem; margin: 0; color: #284664; font-size: 1.06rem; line-height: 1.6; }

.website-work__showcase { min-height: 165svh; max-width: 90rem; margin: 0 auto; }

.website-work__sticky {
  position: sticky;
  top: 6.5rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 5.5rem minmax(0, 1fr);
  gap: clamp(1rem, 2.5vw, 2.5rem);
  align-items: stretch;
  height: min(43rem, calc(100svh - 8rem));
  min-height: 35rem;
  overflow: hidden;
}

.website-work__rail { display: grid; gap: 1.5rem; align-content: start; will-change: transform; }
.website-work__rail--left { padding-top: 2.5rem; }
.website-work__rail--right { padding-top: 0; }

.website-project { display: block; overflow: hidden; border: 1px solid rgba(5, 10, 17, 0.13); border-radius: 1.15rem; background: #fff; box-shadow: 0 1rem 2.6rem rgba(5, 10, 17, 0.1); }

.website-project__preview { position: relative; display: grid; place-items: center; min-height: 12rem; overflow: hidden; background: linear-gradient(135deg, #e9f0fb, #fff 55%, #d9eef3); color: #244568; }
.website-project--mint .website-project__preview { background: linear-gradient(135deg, #dcefdc, #fff 56%, #e7f3f4); }
.website-project--violet .website-project__preview { background: linear-gradient(135deg, #e7dbf1, #fff 56%, #d9eef3); }
.website-project--butter .website-project__preview { background: linear-gradient(135deg, #f3e5a8, #fff 56%, #d9eef3); }

.website-project__preview::before,
.website-project__preview::after { position: absolute; border: 1px solid rgba(10, 92, 255, 0.18); content: ""; }
.website-project__preview::before { width: 72%; height: 56%; border-radius: 0.7rem; background: rgba(255, 255, 255, 0.78); box-shadow: 1.8rem 1.2rem 0 -0.4rem rgba(10, 92, 255, 0.1); }
.website-project__preview::after { width: 24%; height: 24%; right: 12%; bottom: 14%; border-radius: 50%; background: rgba(10, 92, 255, 0.22); }
.website-project__preview span { position: relative; z-index: 1; padding: 0.45rem 0.65rem; border-radius: 999px; background: rgba(255, 255, 255, 0.85); color: #2b4c6e; font-size: 0.68rem; font-weight: 900; letter-spacing: 0.09em; }
.website-project__preview i,
.website-project__preview b { position: absolute; z-index: 1; display: block; width: 20%; height: 0.45rem; left: 18%; bottom: 20%; border-radius: 99px; background: rgba(10, 92, 255, 0.34); }
.website-project__preview b { left: 18%; bottom: 14%; width: 35%; background: rgba(5, 10, 17, 0.14); }

.website-project__body { padding: 1.25rem 1.35rem 1.45rem; }
.website-project__body p { margin: 0 0 0.7rem; color: #0a5cff; font-size: 0.68rem; font-weight: 900; letter-spacing: 0.1em; }
.website-project h3 { max-width: 13ch; margin: 0; font-size: clamp(1.35rem, 2.2vw, 2.05rem); font-weight: 850; letter-spacing: -0.04em; line-height: 0.98; }
.website-project__link { display: inline-flex; gap: 0.4rem; margin-top: 1.25rem; color: #365876; font-size: 0.78rem; font-weight: 800; text-decoration: underline; text-decoration-style: dotted; text-underline-offset: 0.25rem; }

.website-work__spine { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; color: #0a5cff; }
.website-work__spine-line { width: 1px; flex: 1; max-height: 20rem; background: linear-gradient(to bottom, transparent, rgba(10, 92, 255, 0.55), transparent); }
.website-work__spine-label { writing-mode: vertical-rl; font-size: 0.69rem; font-weight: 900; letter-spacing: 0.12em; text-transform: uppercase; }
.website-work__spine-arrow { font-size: 1.7rem; }
.website-work__note { max-width: 90rem; margin: 2rem auto 0; color: #5d6570; font-size: 0.82rem; line-height: 1.5; }

@media (max-width: 900px) {
  .website-design-hero, .website-work__intro { grid-template-columns: 1fr; }
  .website-design-hero { min-height: auto; padding-top: 10rem; }
  .website-design-hero__visual { min-height: 25rem; }
  .website-work__intro { gap: 2rem; }
  .website-work__sticky { grid-template-columns: minmax(0, 1fr) 3rem minmax(0, 1fr); gap: 0.75rem; }
  .website-project__body { padding: 1rem; }
}

@media (max-width: 640px) {
  .website-design-hero { padding-right: 1.25rem; padding-left: 1.25rem; }
  .website-design-hero h1 { max-width: 9ch; font-size: clamp(3.15rem, 15vw, 5rem); }
  .website-design-hero__visual { min-height: 19rem; }
  .hero-visual__browser { min-height: 17rem; }
  .hero-visual__browser-body { min-height: 14rem; gap: 1.5rem; padding: 1.25rem; }
  .hero-visual__message { font-size: 2.25rem; }
  .hero-visual__path { gap: 0.28rem; font-size: 0.52rem; }
  .hero-visual__path span { padding: 0.55rem 0.2rem; }
  .website-work { padding-right: 1.25rem; padding-left: 1.25rem; }
  .website-work h2 { max-width: 9ch; }
  .website-work__showcase { min-height: auto; }
  .website-work__sticky { position: relative; top: auto; height: auto; min-height: 0; overflow: visible; grid-template-columns: 1fr; }
  .website-work__rail { gap: 1rem; padding: 0; transform: none !important; }
  .website-work__rail--right { margin-top: 1rem; }
  .website-work__spine { flex-direction: row; min-height: 3rem; }
  .website-work__spine-line { width: auto; height: 1px; max-height: none; }
  .website-work__spine-label { writing-mode: horizontal-tb; white-space: nowrap; }
  .website-work__spine-arrow { transform: rotate(90deg); }
}

@media (prefers-reduced-motion: reduce) {
  .website-design-button { transition: none; }
}

/* The work portfolio continues from the hero as one horizontal field. */
.website-design-hero {
  grid-template-columns: minmax(0, 0.78fr) minmax(32rem, 1.22fr);
}

.website-design-hero h1 {
  max-width: 13ch;
  font-size: clamp(3.1rem, 5.15vw, 4.8rem);
  line-height: 0.94;
}

.website-work {
  padding-top: clamp(3rem, 6vw, 5.5rem);
  background: var(--website-sky);
}

.website-work__intro {
  grid-template-columns: minmax(0, 1fr) minmax(20rem, 0.95fr);
  align-items: center;
  margin-bottom: clamp(2rem, 4vw, 3.25rem);
}

.website-work h2 {
  max-width: none;
  font-size: clamp(2.35rem, 4.1vw, 4rem);
  line-height: 0.95;
}

.website-work__showcase {
  min-height: 155svh;
}

.website-work__viewport {
  position: sticky;
  top: 6.5rem;
  height: min(47rem, calc(100svh - 8rem));
  min-height: 35rem;
  overflow: hidden;
}

.website-work__scroll-note {
  display: flex;
  gap: 0.6rem;
  align-items: center;
  justify-content: center;
  margin: 0 0 1.25rem;
  color: #244568;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.website-work__scroll-note span {
  color: var(--website-blue);
  font-size: 1.35rem;
  line-height: 0.6;
}

.website-work__lane {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.website-work__lane + .website-work__lane { margin-top: 1.5rem; }

.website-work__rail {
  display: flex;
  width: max-content;
  gap: clamp(1rem, 2vw, 1.75rem);
  align-items: stretch;
  will-change: transform;
}

.website-work__lane--reverse .website-work__rail { margin-left: clamp(-10rem, -10vw, -4rem); }

.website-project {
  flex: 0 0 clamp(23rem, 48vw, 38rem);
  min-width: 0;
  border-color: rgba(5, 10, 17, 0.14);
  border-radius: 1rem;
}

.website-project__preview { min-height: clamp(13rem, 20vw, 18rem); }
.website-project__body { min-height: 8.5rem; padding: 1.25rem 1.5rem 1.5rem; }
.website-project h3 { max-width: 18ch; font-size: clamp(1.5rem, 2.7vw, 2.35rem); }

@media (max-width: 900px) {
  .website-design-hero { grid-template-columns: 1fr; }
  .website-work__intro { grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.9fr); }
}

@media (max-width: 640px) {
  .website-design-hero h1 { max-width: 10ch; font-size: clamp(3rem, 13vw, 4.7rem); }
  .website-work__intro { grid-template-columns: 1fr; }
  .website-work__showcase { min-height: auto; }
  .website-work__viewport { position: relative; top: auto; height: auto; min-height: 0; overflow: visible; }
  .website-work__lane { overflow: visible; }
  .website-work__lane + .website-work__lane { margin-top: 1rem; }
  .website-work__rail,
  .website-work__lane--reverse .website-work__rail { display: grid; width: 100%; margin-left: 0; transform: none !important; }
  .website-project { width: 100%; min-width: 0; }
}

/* OVERDRIVE: make the portfolio the page, then let the work keep moving. */
.website-design-page {
  background: var(--website-sky);
}

.website-design-page .skip-link {
  position: fixed;
  top: -4rem;
  left: 1rem;
  z-index: 100;
  padding: 0.7rem 0.9rem;
  border-radius: 0.5rem;
  background: var(--website-ink);
  color: #fff;
  font-weight: 800;
}

.website-design-page .skip-link:focus {
  top: 1rem;
}

.website-work {
  min-height: 100svh;
  padding: clamp(8rem, 15vh, 11rem) 0 clamp(5rem, 10vw, 8rem);
  overflow: hidden;
  background: var(--website-sky);
}

.website-work__intro {
  grid-template-columns: minmax(0, 1.05fr) minmax(22rem, 0.75fr);
  gap: clamp(2rem, 7vw, 8rem);
  max-width: 90rem;
  padding-inline: clamp(1.5rem, 6vw, 7rem);
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.website-work__intro > p {
  max-width: 40rem;
  font-size: clamp(1rem, 1.25vw, 1.18rem);
}

.website-work h1 {
  max-width: 13ch;
  margin: 0;
  font-size: clamp(2.8rem, 5vw, 5rem);
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 0.92;
}

.website-work__showcase {
  width: 100vw;
  max-width: none;
  min-height: 100svh;
  margin-left: calc(50% - 50vw);
}

.website-work__viewport {
  position: relative;
  top: auto;
  display: grid;
  gap: clamp(1rem, 2vw, 1.5rem);
  height: auto;
  min-height: 34rem;
  overflow: hidden;
}

.website-work__lane {
  width: 100%;
  overflow: hidden;
  padding-inline: clamp(0.75rem, 1.5vw, 1.5rem);
}

.website-work__lane + .website-work__lane {
  margin-top: 0;
}

.website-work__rail {
  display: flex;
  width: max-content;
  gap: clamp(1rem, 1.8vw, 1.5rem);
  align-items: stretch;
  will-change: transform;
}

.website-work__lane--reverse .website-work__rail {
  margin-left: 0;
}

.website-project {
  flex: 0 0 clamp(18rem, 30vw, 27rem);
  min-width: 0;
  border-radius: 1rem;
  box-shadow: 0 1.25rem 2.75rem rgba(5, 10, 17, 0.12);
}

.website-project__preview {
  min-height: clamp(12rem, 17vw, 16rem);
}

.website-project--sky .website-project__preview { background: linear-gradient(135deg, #d8e9fb, #fff 56%, #d9eef3); }
.website-project--blue .website-project__preview { background: linear-gradient(135deg, #dce8fb, #fff 56%, #e8efff); }

.website-project__body {
  min-height: 8.25rem;
  padding: 1.25rem 1.45rem 1.45rem;
}

.website-project h3 {
  max-width: 17ch;
  font-size: clamp(1.35rem, 2.2vw, 2rem);
}

@media (max-width: 900px) {
  .website-work__intro {
    grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.85fr);
  }

  .website-project {
    flex-basis: clamp(17rem, 42vw, 23rem);
  }
}

/* A pinned customer-outcomes stage: the heading holds while three useful pages rise into place. */
.website-outcomes {
  position: relative;
  min-height: 100svh;
  overflow: clip;
  background: #fff;
}

.proof-trust { position: relative; z-index: 2; isolation: isolate; background: #fff; color: #050a11; padding: clamp(5rem, 10vw, 9rem) clamp(1.25rem, 6vw, 6rem) 0; }
.proof-trust__curve { position: absolute; right: 0; bottom: calc(100% - 1px); left: 0; z-index: -1; display: block; width: 100%; height: clamp(9rem, 22vw, 20rem); overflow: visible; pointer-events: none; }
.proof-trust__curve path { fill: #fff; }
.proof-trust__intro { max-width: 82rem; margin: 0 auto clamp(2rem, 4vw, 3rem); }
.proof-trust h2 { font-size: clamp(2.8rem, 6vw, 6.5rem); line-height: .92; letter-spacing: -.06em; max-width: none; margin: 0; }
.proof-trust h2 > span { display: block; }
.proof-trust__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.75rem); max-width: 82rem; margin: 0 auto; }
.proof-trust__video { min-width: 0; margin: 0; }
.proof-trust__video video { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 14px; background: #0b0b0b; }
.proof-trust__video h3 { margin: 1rem 0 0; color: #050a11; font-size: clamp(1rem, 1.4vw, 1.25rem); font-weight: 600; letter-spacing: -.02em; }
@media (max-width: 720px) { .proof-trust__curve { height: 8rem; } .proof-trust h2 { font-size: clamp(1.5rem, 7.5vw, 3.75rem); } .proof-trust__grid { grid-template-columns: 1fr; gap: 2rem; } }

.website-outcomes__sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  min-height: 44rem;
  overflow: clip;
  background: #fff;
  isolation: isolate;
}

.website-outcomes__sticky::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: #fff;
  content: "";
  pointer-events: none;
}

.website-design-lazy-picture {
  display: contents;
}

.website-outcomes__background-picture {
  position: absolute !important;
  inset: 0 !important;
  z-index: 0;
  display: block !important;
  overflow: hidden;
  pointer-events: none;
  user-select: none;
}

.website-outcomes__background-art {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: fill;
  object-position: center bottom;
}

.website-outcomes__intro {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  width: min(96rem, calc(100% - 3rem));
  margin: 0 auto;
  min-height: calc(100svh - clamp(7.5rem, 13vh, 10rem));
  padding-top: clamp(7.5rem, 13vh, 10rem);
}

.website-outcomes__message {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(100%, 78rem);
  min-width: 0;
  text-align: center;
}

.website-outcomes__intro h1 {
  max-width: 78rem;
  width: 100%;
  margin: 0;
  color: var(--website-ink);
  font-size: clamp(3.2rem, 6.8vw, 6.25rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 0.94;
  text-align: center;
}

.website-hero-title__line {
  display: block;
  will-change: transform, opacity, filter, clip-path;
}

.website-hero-title__line--primary,
.website-hero-title__line--secondary {
  white-space: nowrap;
}

.website-hero-title__line--secondary {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: .28em;
}

.website-hero-rotator {
  position: relative;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 0;
  height: 1.08em;
  overflow: hidden;
  padding: .02em .28em .1em;
  color: #fff;
  background: #ff5941;
  border-radius: .16em;
  box-shadow: 0 .45rem 1.3rem rgba(255, 89, 65, .2);
  transition: width 620ms cubic-bezier(.16, 1, .3, 1);
  vertical-align: baseline;
}

.website-hero-rotator__word {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  white-space: nowrap;
  will-change: transform, opacity;
}

.website-hero-rotator__word.is-active {
  position: relative;
  width: auto;
  height: 1.08em;
  opacity: 1;
}

.website-hero-rotator__word-text {
  display: block;
  white-space: nowrap;
}

.website-hero-rotator__word.is-entering .website-hero-rotator__word-text {
  animation: website-hero-word-in 620ms cubic-bezier(.16, 1, .3, 1) both;
}

.website-hero-rotator__word.is-leaving .website-hero-rotator__word-text {
  animation: website-hero-word-out 620ms cubic-bezier(.16, 1, .3, 1) both;
}

@keyframes website-hero-word-in {
  from { opacity: 0; transform: translateY(110%); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes website-hero-word-out {
  from { opacity: 1; transform: translateY(0); }
  to { opacity: 0; transform: translateY(-120%); }
}

.website-hero-title__line--primary {
  animation: website-hero-line-in 1.15s cubic-bezier(0.16, 1, 0.3, 1) 120ms both;
}

.website-hero-title__line--secondary {
  animation: website-hero-line-reveal 1.25s cubic-bezier(0.16, 1, 0.3, 1) 300ms both;
}

@keyframes website-hero-line-in {
  from { opacity: 0; filter: blur(18px); transform: translateY(3.5rem) scale(0.88); }
  to { opacity: 1; filter: blur(0); transform: translateY(0) scale(1); }
}

@keyframes website-hero-line-reveal {
  from { opacity: 0; clip-path: inset(0 100% 0 0); transform: translateY(2.5rem); }
  to { opacity: 1; clip-path: inset(0 0 0 0); transform: translateY(0); }
}

.website-outcomes__intro p {
  max-width: 38rem;
  margin: clamp(1.5rem, 2.6vw, 2.5rem) auto 0;
  color: #193c60;
  font-size: clamp(1rem, 1.25vw, 1.16rem);
  line-height: 1.6;
}

.website-outcomes__canvas {
  position: absolute;
  inset: clamp(32rem, 57vh, 38rem) clamp(1.5rem, 4vw, 4.5rem) clamp(1.25rem, 3vh, 2rem);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2.6vw, 2.75rem);
  align-items: end;
  max-width: 96rem;
  margin: 0 auto;
}

.website-outcomes-cards {
  padding: clamp(4rem, 8vw, 8rem) clamp(1.5rem, 4vw, 4.5rem) clamp(5rem, 9vw, 9rem);
  background: #fff;
}

.website-outcomes-cards .website-outcomes__canvas {
  position: relative;
  inset: auto;
}

@media (max-width: 960px) {
  .website-outcomes-cards .website-outcomes__canvas { top: auto; }
}

.website-outcome {
  --rise: 1;
  position: relative;
  min-width: 0;
  opacity: calc(0.18 + (var(--rise) * 0.82));
  transform: translate3d(0, calc((1 - var(--rise)) * 76svh), 0);
  transform-origin: 50% 100%;
  will-change: transform, opacity;
}

/* These cards belong to this page, but remain in place instead of rising on scroll. */
.website-outcome {
  opacity: 1;
  transform: none;
  will-change: auto;
}

.website-outcome--process { align-self: start; }
.website-outcome--choose { align-self: end; margin-bottom: clamp(0rem, 3vh, 2rem); }
.website-outcome--begin { align-self: start; margin-top: clamp(1.5rem, 5vh, 4rem); }

.website-outcome__visual {
  position: relative;
  z-index: 1;
  aspect-ratio: 4 / 3;
  margin: 0;
  overflow: hidden;
  border-radius: 1rem;
  background: #f7f5f1;
  box-shadow: 0 1.35rem 3.4rem rgba(7, 16, 28, 0.16);
}

.website-outcome__visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.website-outcome__note {
  position: relative;
  z-index: 2;
  width: calc(100% - clamp(1rem, 3vw, 3rem));
  min-height: 8.5rem;
  margin: clamp(-2.4rem, -3vw, -1.6rem) auto 0;
  padding: clamp(1rem, 1.6vw, 1.35rem);
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 1rem 2.5rem rgba(7, 16, 28, 0.14);
}

.website-outcome__note h3 {
  margin: 0;
  color: var(--website-ink);
  font-size: clamp(1.2rem, 1.65vw, 1.7rem);
  font-weight: 850;
  letter-spacing: -0.03em;
  line-height: 1;
}

.website-outcome__note p {
  margin: 0.75rem 0 0;
  color: #284866;
  font-size: clamp(0.82rem, 0.9vw, 0.95rem);
  line-height: 1.5;
}

.website-outcome__title-mobile,
.website-outcome__bullets-mobile {
  display: none;
}

@media (max-width: 960px) {
  .website-outcomes__intro {
    padding-top: 7.5rem;
  }

  .website-outcomes__intro { min-height: calc(100svh - 7.5rem); }

  .website-outcomes__intro h1 {
    max-width: 34rem;
    font-size: clamp(2.65rem, 5.2vw, 4.6rem);
  }
  .website-outcomes__intro p { max-width: 58ch; }

  .website-outcomes__canvas {
    top: 20rem;
    gap: 1rem;
  }

  .website-outcome__note { width: calc(100% - 1rem); }
}

@media (max-width: 720px) {
  .website-outcomes {
    min-height: auto;
    overflow: visible;
  }

  .website-outcomes__sticky {
    position: relative;
    top: auto;
    height: auto;
    min-height: 100svh;
    overflow: visible;
    padding: 6.5rem 1.25rem 5rem;
  }

  .website-outcomes__background-art {
    object-fit: cover;
    object-position: center top;
  }

  .design-topic-nav--serving {
    position: relative;
    z-index: 2;
    background: var(--canopy-paper, #f7f5f1);
  }

  .website-outcomes__intro {
    width: 100%;
    padding-top: 0;
  }

  .website-outcomes__intro h1 {
    max-width: 100%;
    font-size: clamp(2.6rem, 12vw, 4rem);
  }

  .website-hero-title__line--primary,
  .website-hero-title__line--secondary { white-space: normal; }

  .website-hero-title__line--secondary { flex-wrap: wrap; }

  .website-outcomes__intro { min-height: 0; }

  .website-outcomes__canvas {
    position: relative;
    inset: auto;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-top: 3rem;
  }

  .website-outcome,
  .website-outcome--choose,
  .website-outcome--begin {
    opacity: 1 !important;
    transform: none !important;
    margin: 0;
  }

  .website-outcome__note {
    width: calc(100% - 1.5rem);
    min-height: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .website-hero-title__line {
    animation: none;
    clip-path: none;
    filter: none;
    opacity: 1;
    transform: none;
  }

  .website-hero-rotator { transition: none; }

  .website-hero-rotator__word.is-entering .website-hero-rotator__word-text,
  .website-hero-rotator__word.is-leaving .website-hero-rotator__word-text {
    animation: none;
  }

  .website-outcomes {
    min-height: auto;
  }

  .website-outcomes__sticky {
    position: relative;
    height: auto;
    min-height: 0;
    padding-bottom: 6rem;
  }

  .website-outcomes__canvas {
    position: relative;
    inset: auto;
    width: min(90rem, calc(100% - 3rem));
    margin-top: 3rem;
  }

  .website-outcome {
    opacity: 1 !important;
    transform: none !important;
    will-change: auto;
  }
}

@media (max-width: 640px) {
  .website-work {
    padding-top: 7rem;
  }

  .website-work__intro {
    grid-template-columns: 1fr;
    padding-inline: 1.25rem;
  }

  .website-work h1 {
    max-width: 10ch;
    font-size: clamp(2.8rem, 13vw, 4.3rem);
  }

  .website-work__showcase {
    min-height: auto;
  }

  .website-work__viewport {
    min-height: 0;
  }

  .website-work__lane {
    overflow: visible;
    padding-inline: 1.25rem;
  }

  .website-work__rail,
  .website-work__lane--reverse .website-work__rail {
    display: grid;
    width: 100%;
    margin-left: 0;
    transform: none !important;
  }

  .website-project {
    width: 100%;
    min-width: 0;
  }
}

/* Page 2: the portfolio becomes a calm, scroll-led two-way gallery. */
.website-work {
  position: relative;
  padding-top: clamp(7rem, 14vh, 11rem);
  background: var(--website-sky);
}

.website-work::before {
  position: absolute;
  top: 0;
  right: 7vw;
  width: 42vw;
  height: 1px;
  background: rgba(5, 10, 17, 0.18);
  content: "";
}

.website-work__intro {
  position: relative;
  z-index: 1;
  margin-bottom: clamp(3rem, 7vw, 5.5rem);
}

.website-work__intro h1 {
  text-wrap: balance;
}

.website-work__showcase {
  min-height: 150svh;
}

.website-work__viewport {
  position: sticky;
  top: 7.5rem;
  display: grid;
  gap: clamp(1.2rem, 2.5vw, 2rem);
  height: min(42rem, calc(100svh - 10rem));
  min-height: 32rem;
  overflow: hidden;
  mask-image: linear-gradient(to bottom, transparent, #000 7%, #000 93%, transparent);
}

.website-work__lane {
  display: flex;
  align-items: stretch;
  width: 100%;
  overflow: hidden;
  padding-inline: clamp(1rem, 4vw, 5rem);
}

.website-work__lane--reverse {
  padding-left: clamp(4rem, 13vw, 16rem);
}

.website-work__rail {
  gap: clamp(1rem, 2vw, 1.75rem);
  transition: transform 180ms linear;
}

.website-work__lane--reverse .website-work__rail {
  margin-left: 0;
}

.website-project {
  position: relative;
  flex-basis: clamp(21rem, 34vw, 31rem);
  border-color: rgba(5, 10, 17, 0.14);
  box-shadow: 0 1.25rem 2.75rem rgba(5, 10, 17, 0.13);
  transition: box-shadow 180ms ease, transform 180ms ease;
}

.website-project:hover {
  box-shadow: 0 1.5rem 3.25rem rgba(5, 10, 17, 0.17);
  transform: translateY(-4px);
}

.website-project__preview {
  min-height: clamp(12rem, 17vw, 16rem);
}

.website-project__body {
  min-height: 8.4rem;
}

@media (max-width: 640px) {
  .website-work {
    padding-top: 6rem;
  }

  .website-work::before {
    right: 1.25rem;
    width: 58vw;
  }

  .website-work__showcase {
    min-height: auto;
  }

  .website-work__viewport {
    position: relative;
    top: auto;
    height: auto;
    min-height: 0;
    overflow: visible;
    mask-image: none;
  }

  .website-work__lane,
  .website-work__lane--reverse {
    overflow: visible;
    padding-inline: 1.25rem;
  }

  .website-work__rail,
  .website-work__lane--reverse .website-work__rail {
    display: grid;
    width: 100%;
    margin-left: 0;
    transform: none !important;
  }

  .website-project {
    width: 100%;
    min-width: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .website-project,
  .website-work__rail {
    transition: none;
  }
}

/* Oversized 4-by-2 portfolio board, driven across the frame by vertical page scroll. */
.website-work {
  overflow: visible;
}

.website-work__showcase {
  width: 100vw;
  max-width: none;
  min-height: 260svh;
  margin-left: calc(50% - 50vw);
}

.website-work__viewport {
  position: sticky;
  top: 7.5rem;
  --portfolio-card-width: clamp(32rem, 45vw, 43rem);
  --portfolio-gap: clamp(1.25rem, 2vw, 2rem);
  display: grid;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: var(--portfolio-gap);
  width: 100%;
  height: calc(100svh - 8.5rem);
  min-height: 38rem;
  padding: 0.75rem clamp(1.5rem, 4vw, 5rem) 1.25rem;
  overflow-x: hidden;
  overflow-y: hidden;
  cursor: default;
  mask-image: none;
}

.website-work__viewport:focus-visible {
  outline: 2px solid var(--website-blue);
  outline-offset: -2px;
}

.website-work__lane,
.website-work__lane--reverse {
  display: grid;
  grid-template-rows: minmax(0, 1fr);
  width: max-content;
  min-width: 100%;
  height: 100%;
  overflow: visible;
  padding: 0;
}

.website-work__lane + .website-work__lane {
  margin-top: 0;
}

.website-work__rail,
.website-work__lane--reverse .website-work__rail {
  display: grid;
  grid-template-columns: repeat(4, var(--portfolio-card-width));
  grid-auto-rows: minmax(0, 1fr);
  gap: var(--portfolio-gap);
  align-content: stretch;
  align-items: stretch;
  width: max-content;
  height: 100%;
  margin-left: 0;
  transition: none;
  will-change: transform;
}

.website-project {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  width: auto;
  min-width: 0;
  height: 100%;
}

.website-project__preview {
  min-height: 0;
}

.website-project__body {
  min-height: 9rem;
  padding: clamp(1rem, 1.5vw, 1.35rem) clamp(1.25rem, 1.8vw, 1.7rem) clamp(1.2rem, 1.8vw, 1.55rem);
}

.website-project h3 {
  max-width: 18ch;
  font-size: clamp(1.5rem, 2vw, 2rem);
}

.website-project__link {
  margin-top: 0.9rem;
  font-size: 0.8rem;
}

@media (max-width: 900px), (prefers-reduced-motion: reduce) {
  .website-work__showcase {
    min-height: auto;
  }

  .website-work__viewport {
    position: relative;
    top: auto;
    --portfolio-card-width: min(84vw, 26rem);
    --portfolio-gap: 1rem;
    grid-template-rows: repeat(2, 25rem);
    height: auto;
    min-height: 0;
    padding-inline: 1.25rem;
    overflow-x: auto;
    cursor: grab;
    overscroll-behavior-inline: contain;
    scroll-padding-inline: 1.25rem;
    scroll-snap-type: x proximity;
    scrollbar-color: var(--website-blue) rgba(5, 10, 17, 0.1);
    scrollbar-width: thin;
  }

  .website-work__viewport.is-dragging {
    cursor: grabbing;
    scroll-snap-type: none;
    user-select: none;
  }

  .website-work__viewport::-webkit-scrollbar {
    height: 0.8rem;
  }

  .website-work__viewport::-webkit-scrollbar-track {
    border-radius: 999px;
    background: rgba(5, 10, 17, 0.08);
  }

  .website-work__viewport::-webkit-scrollbar-thumb {
    border: 3px solid var(--website-sky);
    border-radius: 999px;
    background: var(--website-blue);
  }

  .website-work__lane,
  .website-work__lane--reverse {
    padding-inline: 0;
  }

  .website-project__preview {
    min-height: 13rem;
  }

  .website-project__body {
    min-height: 9rem;
    padding: 1.2rem 1.25rem 1.35rem;
  }

  .website-project h3 {
    font-size: clamp(1.5rem, 7vw, 2rem);
  }

  .website-project {
    scroll-snap-align: start;
  }
}

.website-outcomes {
  min-height: 100svh;
}

/* Keep the opening design field neutral while it is being customized. */
.website-outcomes,
.website-outcomes__sticky {
  background: #fff;
}

.website-outcomes__sticky::before {
  background: none;
}

@media (max-width: 720px) {
  .website-outcomes__sticky {
    min-height: 100svh;
  }
}

.improving {
  display: flex;
  justify-content: center;
  min-height: 72svh;
  padding: clamp(4.5rem, 8vh, 6rem) clamp(2rem, 6vw, 6rem) clamp(7rem, 12vh, 9rem);
  overflow: hidden;
  background: #000;
  color: #fff;
}

.improving__copy {
  width: min(100%, 76rem);
  text-align: center;
}

.improving__copy h2 {
  margin: 0;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.35rem, 6.6vw, 6rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.improving__mobile-break {
  display: none;
}

.improving__copy h2::after {
  display: block;
  width: 3.5rem;
  height: 2px;
  margin: 1.55rem auto 0;
  background: #0a5cff;
  content: "";
}

.improving__lead {
  max-width: 52ch;
  margin: 1.9rem auto 1.25rem;
  color: #fff;
  font-size: clamp(1rem, 1.3vw, 1.25rem);
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1.45;
  text-transform: uppercase;
}

.improving__copy > p:last-child {
  max-width: 68ch;
  margin: 0 auto;
  color: rgba(255, 255, 255, .74);
  font-size: 1.04rem;
  line-height: 1.65;
}

.improving-carousel {
  position: relative;
  display: grid;
  grid-template-columns: 3.5rem minmax(0, 1fr) 3.5rem;
  gap: clamp(0.75rem, 1.5vw, 1.5rem);
  align-items: center;
  justify-self: center;
  width: min(100%, 40rem);
  min-width: 0;
  isolation: isolate;
  order: -1;
}

.improving-carousel::before,
.improving-carousel::after {
  position: absolute;
  top: 1.15rem;
  right: calc(3.5rem + clamp(0.75rem, 1.5vw, 1.5rem));
  bottom: 2.5rem;
  left: calc(3.5rem + clamp(0.75rem, 1.5vw, 1.5rem));
  z-index: 1;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 1.2rem 3rem rgba(8, 40, 91, 0.08);
  content: "";
  transform: translateX(1.65rem) scale(0.97);
  transform-origin: center right;
}

.improving-carousel::after {
  top: 2.25rem;
  z-index: 0;
  opacity: 0.72;
  transform: translateX(3.2rem) scale(0.935);
}

.improving-carousel__viewport {
  position: relative;
  z-index: 2;
  overflow: visible;
  border-radius: 1rem;
  perspective: 70rem;
}

.improving-carousel__track {
  display: grid;
  transform-style: preserve-3d;
}

.improving-card {
  grid-area: 1 / 1;
  position: relative;
  z-index: 2;
  min-width: 0;
  width: 100%;
  min-height: clamp(34rem, 64svh, 39rem);
  padding: clamp(1.7rem, 3vw, 2.6rem);
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 1.5rem 4rem rgba(8, 40, 91, 0.16);
  color: #0a2d62;
  opacity: 0;
  pointer-events: none;
  text-align: center;
  transform: translate3d(2rem, 1.1rem, -2rem) rotate(1.5deg) scale(0.94);
  transform-origin: 78% 86%;
  visibility: hidden;
  backface-visibility: hidden;
}

.improving-card.is-active,
.improving-card.is-entering,
.improving-card.is-leaving {
  visibility: visible;
}

.improving-card.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
}

.improving-card.is-entering,
.improving-card.is-leaving {
  pointer-events: none;
  will-change: transform, opacity, filter, box-shadow;
}

.improving-card.is-entering { z-index: 4; }
.improving-card.is-leaving { z-index: 3; }
.improving-carousel.is-swapping .improving-card { pointer-events: none; }
}

.improving-card__icon {
  display: block;
  width: clamp(5.5rem, 10vw, 7rem);
  height: auto;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
}

.improving-card h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1;
  text-transform: uppercase;
}

.improving-card > p {
  max-width: 29ch;
  min-height: 5.2rem;
  margin: 1.25rem auto 0;
  color: #234768;
  font-size: clamp(0.92rem, 1.15vw, 1.06rem);
  line-height: 1.55;
}

.improving-card ul {
  display: grid;
  gap: 1rem;
  margin: 2rem 0 0;
  padding: 1.8rem 0 0;
  border-top: 1px solid #dbe6ef;
  list-style: none;
  text-align: left;
}

.improving-card li {
  position: relative;
  padding-left: 2rem;
  color: #183f68;
  font-size: clamp(0.82rem, 1vw, 0.94rem);
  line-height: 1.4;
}

.improving-card li::before {
  position: absolute;
  top: 0.05rem;
  left: 0;
  width: 1.05rem;
  height: 1.05rem;
  border: 2px solid #55c49a;
  border-radius: 50%;
  content: "";
}

.improving-card li::after {
  position: absolute;
  top: 0.29rem;
  left: 0.3rem;
  width: 0.42rem;
  height: 0.2rem;
  border-bottom: 2px solid #55c49a;
  border-left: 2px solid #55c49a;
  content: "";
  transform: rotate(-45deg);
}

.improving-carousel__arrow {
  position: relative;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0.8rem 2rem rgba(8, 40, 91, 0.12);
  color: #0a5cff;
  cursor: pointer;
  transition: background 160ms ease, transform 160ms ease;
}

.improving-carousel__arrow:hover { background: #f4f8ff; color: #0647c8; transform: scale(1.06); }
.improving-carousel__arrow:focus-visible { outline: 3px solid #08285b; outline-offset: 4px; }
.improving-carousel__arrow svg { width: 1.5rem; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2; }
.improving-carousel__arrow:disabled { cursor: wait; opacity: 0.55; transform: scale(0.94); }

.improving-carousel__status {
  position: relative;
  z-index: 3;
  grid-column: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.4rem;
  color: #244d77;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.improving-carousel__dots { display: flex; gap: 0.45rem; }
.improving-carousel__dots i { width: 0.45rem; height: 0.45rem; border-radius: 50%; background: rgba(10, 92, 255, 0.22); }
.improving-carousel__dots i.is-active { background: #0a5cff; }

@media (max-width: 900px) {
  .improving { min-height: auto; }
  .improving-carousel { order: 0; }
  .improving-carousel { width: min(100%, 40rem); margin: 0 auto; }
}

@media (max-width: 760px) {
  .improving__copy h2 {
    font-size: clamp(2.85rem, 8vw, 3.5rem);
    line-height: 0.95;
    white-space: normal;
  }

  .improving__mobile-break {
    display: block;
  }
}

@media (max-width: 560px) {
  .improving { padding: 6rem 1.25rem; }
  .improving__copy h2 { font-size: clamp(2.65rem, 13vw, 3.8rem); }
  .improving__copy h2 { white-space: normal; }
  .improving-carousel { grid-template-columns: 2.8rem minmax(0, 1fr) 2.8rem; gap: 0.5rem; }
  .improving-carousel__arrow { width: 2.8rem; height: 2.8rem; }
  .improving-carousel::before,
  .improving-carousel::after { display: none; }
  .improving-card { min-height: auto; }
  .improving-card__art { max-height: none; }
}

@media (prefers-reduced-motion: reduce) {
  .improving-carousel__arrow { transition: none; }
}

.seo-story {
  color: #092552;
  background: #eef6ff;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.seo-page--image {
  position: relative;
  display: block;
  width: 100%;
  min-height: 100svh;
  padding: 0;
  overflow: hidden;
  background: #eef6ff;
}

.seo-page--image img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100vw;
  max-width: none;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 680px) {
  .seo-page--image { min-height: 66.667vw; }
  .seo-page--image img { width: 100%; height: 100%; object-fit: contain; }
}

.seo-page {
  position: relative;
  display: grid;
  grid-template-columns: minmax(24rem, 0.9fr) minmax(34rem, 1.1fr);
  gap: clamp(3rem, 7vw, 8rem);
  align-items: center;
  min-height: 100svh;
  padding: clamp(8rem, 13vh, 10rem) clamp(2rem, 7vw, 8rem);
  overflow: hidden;
}

.seo-page:nth-child(even) { background: #fbf8f3; }
.seo-page:nth-child(odd) { background: #eef6ff; }
.seo-page__copy { position: relative; z-index: 2; max-width: 43rem; }

.seo-page__step {
  margin: 0 0 1.25rem;
  color: #0a5cff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.seo-page h2,
.seo-page h3 {
  max-width: 14ch;
  margin: 0;
  color: #071c43;
  font-size: clamp(3rem, 5vw, 5.45rem);
  font-weight: 760;
  letter-spacing: -0.035em;
  line-height: 1.02;
  text-wrap: balance;
}

.seo-page__copy > p:last-child,
.seo-technical__heading p:last-child {
  max-width: 58ch;
  margin: 2rem 0 0;
  color: #17375f;
  font-size: clamp(1.02rem, 1.45vw, 1.3rem);
  line-height: 1.65;
}

.seo-query-map {
  position: relative;
  display: grid;
  gap: 1rem;
  align-content: center;
  min-height: 28rem;
  padding: 3.5rem 4rem 3.5rem 7rem;
}

.seo-query-map::before {
  position: absolute;
  top: 2rem;
  left: 1.5rem;
  width: min(78%, 33rem);
  height: 1px;
  background: #0a5cff;
  content: "";
}

.seo-query-map::after {
  position: absolute;
  top: 2rem;
  right: 4rem;
  width: 1px;
  height: 5rem;
  background: #0a5cff;
  content: "";
}

.seo-query-map span {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 3.4rem;
  color: #102e58;
  font-size: clamp(1.1rem, 1.7vw, 1.45rem);
}

.seo-query-map span::before {
  width: 1.1rem;
  height: 1.1rem;
  margin-right: 1.4rem;
  border: 2px solid #0a5cff;
  border-radius: 50%;
  content: "";
}

.seo-query-map span::after {
  width: 0.7rem;
  height: 2px;
  margin: 1rem 0 0 -1.5rem;
  background: #0a5cff;
  content: "";
  transform: rotate(45deg);
}

.seo-route {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1rem, 2.2vw, 2rem);
  margin: 0;
  padding: 0;
  counter-reset: seo-route;
  list-style: none;
}

.seo-route li {
  position: relative;
  min-width: 0;
  padding-top: 3.4rem;
  counter-increment: seo-route;
}

.seo-route li::before {
  position: absolute;
  top: 0;
  left: 0;
  color: #0a5cff;
  font-size: 0.95rem;
  font-weight: 800;
  content: "0" counter(seo-route);
}

.seo-route li:not(:last-child)::after {
  position: absolute;
  top: 0.6rem;
  right: -1.15rem;
  width: 1.8rem;
  height: 1px;
  background: #0a5cff;
  content: "";
}

.seo-route strong { display: block; min-height: 4.2rem; font-size: clamp(1.05rem, 1.45vw, 1.28rem); line-height: 1.25; }
.seo-route span { display: block; margin-top: 1rem; color: #244568; font-size: 0.96rem; line-height: 1.55; }

.seo-page--connections { grid-template-columns: minmax(30rem, 1fr) minmax(30rem, 0.9fr); }

.seo-link-paths {
  display: grid;
  align-self: center;
  border-top: 1px solid rgba(10, 92, 255, 0.24);
}

.seo-link-paths a {
  display: flex;
  gap: 2rem;
  align-items: center;
  justify-content: space-between;
  min-height: 6.4rem;
  border-bottom: 1px solid rgba(10, 92, 255, 0.24);
  color: #0757e8;
  font-size: clamp(1.05rem, 1.7vw, 1.4rem);
  font-weight: 750;
  line-height: 1.35;
  text-decoration: none;
}

.seo-link-paths b {
  display: grid;
  flex: 0 0 2.8rem;
  place-items: center;
  width: 2.8rem;
  height: 2.8rem;
  border: 1px solid #0a5cff;
  border-radius: 50%;
  font-size: 1.35rem;
  transition: color 160ms ease, background 160ms ease, transform 160ms ease;
}

.seo-link-paths a:hover b { background: #0a5cff; color: #fff; transform: translateX(0.2rem); }
.seo-link-paths a:focus-visible { outline: 3px solid #0a5cff; outline-offset: 5px; }

.seo-page--technical {
  display: block;
  background: #fbf8f3;
}

.seo-technical__heading {
  display: grid;
  grid-template-columns: 8rem minmax(0, 42rem);
  gap: 2.5rem;
  align-items: start;
  max-width: 58rem;
}

.seo-technical__heading h3 { max-width: 14ch; }

.seo-technical__icon {
  position: relative;
  width: 7rem;
  height: 5rem;
  border: 4px solid #0a5cff;
  border-radius: 0.6rem;
}

.seo-technical__icon::before { position: absolute; top: 1.15rem; right: -0.25rem; bottom: -1.5rem; left: 1.5rem; border: 4px solid #0a5cff; border-radius: 50%; content: ""; }
.seo-technical__icon::after { position: absolute; top: 0.9rem; right: 0; left: 0; height: 3px; background: #0a5cff; content: ""; }
.seo-technical__icon span { position: absolute; top: 0.28rem; left: 0.55rem; width: 0.38rem; height: 0.38rem; border-radius: 50%; background: #0a5cff; box-shadow: 0.7rem 0 #0a5cff, 1.4rem 0 #0a5cff; }

.seo-checklist {
  display: grid;
  grid-template-columns: repeat(2, minmax(18rem, 1fr));
  gap: 0 4rem;
  width: min(63rem, 72%);
  margin: 3.8rem 0 0;
  padding: 0;
  list-style: none;
}

.seo-checklist li {
  position: relative;
  min-height: 4.8rem;
  padding: 1.45rem 1rem 1.25rem 3.8rem;
  border-bottom: 1px solid rgba(10, 92, 255, 0.18);
  color: #132f54;
  font-size: clamp(1rem, 1.4vw, 1.2rem);
}

.seo-checklist li::before {
  position: absolute;
  top: 1.05rem;
  left: 0;
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 1.5px solid #42ab7d;
  border-radius: 50%;
  content: "";
}

.seo-checklist li::after {
  position: absolute;
  top: 1.78rem;
  left: 0.72rem;
  width: 0.72rem;
  height: 0.34rem;
  border-bottom: 2px solid #198b61;
  border-left: 2px solid #198b61;
  content: "";
  transform: rotate(-45deg);
}

.seo-device-scene { position: absolute; right: clamp(2rem, 6vw, 7rem); bottom: 0; width: min(27vw, 29rem); height: 23rem; }
.seo-device-scene__laptop { position: absolute; right: 2rem; bottom: 2.5rem; width: 18rem; height: 11rem; border: 0.65rem solid #152238; border-bottom-width: 1.1rem; border-radius: 0.6rem; background: linear-gradient(#e8edf4 32%, #d8e3f4 32% 47%, #f6f8fb 47%); box-shadow: 0 1.5rem 3rem rgba(8, 40, 91, 0.12); }
.seo-device-scene__laptop::after { position: absolute; right: -2.2rem; bottom: -1.8rem; left: -2.2rem; height: 0.7rem; border-radius: 0 0 1rem 1rem; background: #8391a2; content: ""; }
.seo-device-scene__phone { position: absolute; right: 0; bottom: 2.5rem; width: 4.8rem; height: 9rem; border: 0.4rem solid #111c2c; border-radius: 0.8rem; background: linear-gradient(#eef2f7 25%, #dce5f3 25% 44%, #f7f9fc 44%); }

@media (max-width: 980px) {
  .seo-page,
  .seo-page--connections { grid-template-columns: 1fr; min-height: auto; }
  .seo-route { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .seo-route li:not(:last-child)::after { display: none; }
  .seo-query-map { min-height: auto; }
  .seo-checklist { width: 100%; }
  .seo-device-scene { display: none; }
}

@media (max-width: 620px) {
  .seo-page { padding: 6rem 1.25rem; }
  .seo-page h2,
  .seo-page h3 { font-size: clamp(2.55rem, 13vw, 4rem); }
  .seo-query-map { padding: 3rem 0 0; }
  .seo-query-map::before,
  .seo-query-map::after { display: none; }
  .seo-route,
  .seo-checklist { grid-template-columns: 1fr; }
  .seo-technical__heading { grid-template-columns: 1fr; }
  .seo-technical__icon { transform: scale(0.8); transform-origin: left center; }
}

/* Editable SEO story: artwork remains imagery; every word and link remains live HTML. */
.seo-page--editable {
  position: relative;
  display: block;
  width: 100%;
  min-height: 100svh;
  padding: 0;
  overflow: hidden;
  color: #071d49;
  background: #eef6ff;
}

.seo-page--editable .seo-page__background {
  position: absolute;
  z-index: 0;
  inset: 0;
  display: block;
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.seo-page--editable .seo-page__overlay {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100svh;
  min-height: 100svh;
  overflow: hidden;
}

.seo-page--editable h2,
.seo-page--editable h3,
.seo-page--editable p,
.seo-page--editable ul,
.seo-page--editable ol { margin: 0; }

.seo-page--editable h2,
.seo-page--editable h3 {
  color: #071d49;
  font-family: "AGF Inter", Arial, sans-serif;
  font-weight: 700;
  letter-spacing: -0.045em;
}

.seo-intent-copy { padding: 10.5vh 0 0 8%; }
.seo-intent-copy h2 { max-width: 20ch; font-size: clamp(3rem, 5.25vw, 6rem); line-height: 1.05; }
.seo-intent-copy > p { margin-top: 4.2vh; font-size: clamp(1rem, 1.65vw, 1.72rem); line-height: 1.46; }
.seo-intent-queries {
  display: grid;
  gap: 1.7vh;
  margin-top: 12.5vh !important;
  padding: 0 0 0 3.5%;
  list-style: none;
  font-size: clamp(1.05rem, 1.7vw, 1.78rem);
  line-height: 1.28;
}

.seo-destinations-copy { padding: 32vh 5.2% 0; }
.seo-destinations-intro { width: 28%; }
.seo-destinations-intro h3 { font-size: clamp(2.4rem, 3.2vw, 4rem); line-height: 1.08; }
.seo-destinations-intro p { margin-top: 3.4vh; max-width: 18rem; font-size: clamp(1rem, 1.4vw, 1.38rem); line-height: 1.62; }
.seo-destination-steps {
  position: absolute;
  top: 33vh;
  right: 5.4%;
  left: 36%;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 3.1%;
  padding: 0;
  list-style: none;
}
.seo-destination-steps li { min-width: 0; }
.seo-destination-steps b { display: block; color: #0765ff; font-size: clamp(0.9rem, 1.25vw, 1.25rem); line-height: 1; }
.seo-destination-steps strong { display: block; margin-top: 4.5vh; font-size: clamp(1rem, 1.55vw, 1.52rem); line-height: 1.22; }
.seo-destination-steps span { display: block; margin-top: 4.1vh; max-width: 12rem; font-size: clamp(0.86rem, 1.16vw, 1.13rem); line-height: 1.58; }

.seo-connections-copy { padding: 23vh 0 0 8.8%; }
.seo-connections-copy h3 { font-size: clamp(2.4rem, 3.55vw, 4.25rem); line-height: 1.08; }
.seo-connections-copy > p { margin-top: 7vh; font-size: clamp(1rem, 1.62vw, 1.65rem); line-height: 1.6; }
.seo-connections-copy > p + p { margin-top: 3.9vh; }
.seo-connections-links {
  display: grid;
  width: 45%;
  margin-top: 6.2vh;
}
.seo-connections-links a {
  display: flex;
  align-items: center;
  min-height: 9.2vh;
  padding-left: 5.1rem;
  color: #075eef;
  font-size: clamp(1rem, 1.62vw, 1.62rem);
  font-weight: 700;
  text-decoration: none;
}
.seo-connections-links a:hover { color: #003fad; text-decoration: underline; text-underline-offset: 0.24em; }
.seo-connections-links a:focus-visible { border-radius: 0.35rem; outline: 3px solid #075eef; outline-offset: 4px; }

.seo-technical-copy { padding: 9.8vh 0 0 24%; }
.seo-technical-intro h3 { font-size: clamp(2.7rem, 4.1vw, 4.8rem); line-height: 1.08; }
.seo-technical-intro p { margin-top: 2.5vh; font-size: clamp(1rem, 1.6vw, 1.65rem); line-height: 1.48; }
.seo-technical-list {
  position: absolute;
  top: 43.2vh;
  left: 17.6%;
  display: grid;
  grid-template-columns: repeat(2, minmax(18rem, 1fr));
  grid-auto-flow: column;
  grid-template-rows: repeat(4, 10.15vh);
  gap: 0 7.1%;
  width: 49%;
  padding: 0;
  list-style: none;
}
.seo-technical-list li {
  display: flex;
  align-items: center;
  min-width: 0;
  font-size: clamp(1rem, 1.55vw, 1.52rem);
  line-height: 1.25;
}

@media (max-width: 900px) {
  .seo-page--editable { min-height: auto; aspect-ratio: 3 / 2; }
  .seo-page--editable .seo-page__overlay { min-height: 0; height: 100%; }
  .seo-intent-copy h2 { font-size: 5vw; }
  .seo-intent-copy > p,
  .seo-intent-queries,
  .seo-destinations-intro p,
  .seo-destination-steps span,
  .seo-connections-copy > p,
  .seo-connections-links a,
  .seo-technical-intro p,
  .seo-technical-list li { font-size: 1.65vw; }
  .seo-destinations-intro h3,
  .seo-connections-copy h3 { font-size: 3.4vw; }
  .seo-technical-intro h3 { font-size: 4vw; }
  .seo-connections-links a { min-height: 8.8vw; padding-left: 5.5vw; }
}

/* Responsive alignment pass: keep live copy independent from the decorative artwork. */
.seo-page--editable .seo-page__background {
  object-position: center top;
}

.seo-page--editable h2,
.seo-page--editable h3 {
  font-family: "AGF Inter", ui-sans-serif, system-ui, sans-serif;
  letter-spacing: -0.035em;
}

.seo-intent-copy {
  padding: clamp(4.5rem, 8vh, 7rem) 0 0 8%;
}

.seo-intent-copy h2 {
  max-width: 12ch;
}

.seo-intent-copy > p {
  max-width: 39rem;
  margin-top: clamp(2rem, 4vh, 3rem);
}

.seo-intent-queries {
  position: absolute;
  right: auto;
  bottom: 11%;
  left: 8%;
  display: grid;
  width: min(38rem, 42vw);
  gap: 0;
  margin: 0 !important;
  padding: 0;
}

.seo-intent-queries li {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: clamp(3.3rem, 5.1vw, 4.2rem);
  align-items: center;
  gap: 1rem;
  color: #102e58;
}

.seo-intent-query__icon,
.seo-connections-link__icon,
.seo-technical-list__check {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  background: #d9eef3;
}

.seo-intent-query__icon {
  width: clamp(2rem, 3vw, 2.7rem);
  height: clamp(2rem, 3vw, 2.7rem);
  border: 2px solid #0a5cff;
  border-radius: 50%;
}

.seo-intent-query__icon svg,
.seo-connections-link__icon svg,
.seo-technical-list__check svg,
.seo-destination-step__arrow svg {
  display: block;
  width: 65%;
  height: 65%;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.seo-intent-query__icon svg { color: #0a5cff; }

.seo-destinations-copy,
.seo-connections-copy,
.seo-technical-copy {
  isolation: isolate;
}

.seo-destinations-copy > *,
.seo-connections-copy > *,
.seo-technical-copy > * {
  position: relative;
  z-index: 1;
}

.seo-destinations-copy {
  padding: clamp(4.5rem, 7vh, 6.5rem) 5.2% 0;
}

.seo-destinations-intro {
  width: min(29rem, 30%);
}

.seo-destinations-intro h3 {
  max-width: 11ch;
}

.seo-destinations-intro p {
  max-width: 26rem;
  margin-top: clamp(1.5rem, 3vh, 2.5rem);
}

.seo-destinations-copy::before {
  position: absolute;
  z-index: 0;
  top: 36%;
  right: 4%;
  left: 34%;
  height: 19%;
  background: #fbf8f3;
  content: "";
  pointer-events: none;
}

.seo-destination-steps {
  position: absolute;
  top: 34%;
  right: 5.4%;
  left: 36%;
  gap: clamp(1.25rem, 2.7vw, 3.1%);
}

.seo-destination-steps li {
  position: relative;
  min-width: 0;
}

.seo-destination-steps strong {
  min-height: 4.1rem;
  margin-top: clamp(1.5rem, 3vh, 2.25rem);
}

.seo-destination-steps span:not(.seo-destination-step__arrow) {
  max-width: 15rem;
  margin-top: clamp(1.5rem, 3vh, 2.25rem);
}

.seo-destination-step__arrow {
  position: absolute;
  top: 5.6rem;
  right: clamp(-1.7rem, -2.1vw, -0.9rem);
  display: block;
  width: clamp(2.5rem, 4vw, 4.5rem);
  height: 1.2rem;
  color: #0a5cff;
}

.seo-destination-step__arrow svg {
  width: 100%;
  height: 100%;
}

.seo-connections-copy {
  padding: clamp(4.5rem, 7vh, 6.5rem) 0 0 8.8%;
}

.seo-connections-copy::before {
  position: absolute;
  z-index: 0;
  top: 0;
  left: 5%;
  width: 68%;
  height: 32%;
  background: #d9eef3;
  content: "";
  pointer-events: none;
}

.seo-connections-copy::after {
  position: absolute;
  z-index: 0;
  top: 31.5%;
  left: 6.5%;
  width: 62%;
  height: 1px;
  background: #0a5cff;
  content: "";
  pointer-events: none;
}

.seo-connections-copy h3 {
  max-width: 11ch;
  font-size: clamp(2.8rem, 4.2vw, 5.1rem);
  line-height: 1.02;
}

.seo-connections-copy > p {
  max-width: 43rem;
  margin-top: clamp(2rem, 4vh, 3.25rem);
}

.seo-connections-copy > p + p {
  margin-top: clamp(1.25rem, 2.8vh, 2rem);
}

.seo-connections-links {
  position: absolute;
  top: 64%;
  left: 8.8%;
  display: grid;
  width: min(47%, 53rem);
  margin: 0;
  border-top: 1px solid rgba(10, 92, 255, 0.24);
}

.seo-connections-links a {
  position: relative;
  display: flex;
  min-height: clamp(4.25rem, 9.2vh, 6.5rem);
  align-items: center;
  gap: 1rem;
  padding: 0 1rem 0 0;
  border-bottom: 1px solid rgba(10, 92, 255, 0.24);
  color: #075eef;
  font-size: clamp(1rem, 1.62vw, 1.62rem);
  line-height: 1.3;
}

.seo-connections-link__icon {
  width: clamp(2.4rem, 3.4vw, 3.1rem);
  height: clamp(2.4rem, 3.4vw, 3.1rem);
  border: 2px solid #0a5cff;
  border-radius: 50%;
  color: #0a5cff;
}

.seo-connections-link__icon svg {
  width: 72%;
  height: 72%;
}

.seo-technical-copy {
  padding: clamp(4.5rem, 8vh, 7rem) 0 0 24%;
}

.seo-technical-intro {
  max-width: 48rem;
}

.seo-technical-intro h3 {
  max-width: 12ch;
}

.seo-technical-list {
  position: absolute;
  top: 42%;
  left: 17.6%;
  width: 49%;
  grid-template-rows: repeat(4, minmax(4rem, 10.15vh));
  gap: 0 7.1%;
}

.seo-technical-list li {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 1rem;
  padding: 0;
  color: #132f54;
}

.seo-technical-list__check {
  width: clamp(2rem, 3vw, 2.8rem);
  height: clamp(2rem, 3vw, 2.8rem);
  border: 1.5px solid #42ab7d;
  border-radius: 50%;
  background: #fbf8f3;
  color: #198b61;
}

.seo-technical-list__check svg {
  width: 70%;
  height: 70%;
}

@media (max-width: 900px) {
  .seo-page--editable {
    min-height: 42rem;
    aspect-ratio: auto;
  }

  .seo-page--editable .seo-page__overlay {
    height: auto;
    min-height: 42rem;
    overflow: visible;
  }

  .seo-intent-copy,
  .seo-destinations-copy,
  .seo-connections-copy,
  .seo-technical-copy {
    padding: 5.5rem 1.25rem 4.5rem;
  }

  .seo-intent-copy h2,
  .seo-destinations-intro h3,
  .seo-connections-copy h3,
  .seo-technical-intro h3 {
    max-width: 13ch;
    font-size: clamp(2.7rem, 8vw, 4.6rem);
  }

  .seo-intent-copy > p,
  .seo-destinations-intro p,
  .seo-connections-copy > p,
  .seo-technical-intro p {
    font-size: clamp(1rem, 2vw, 1.3rem);
  }

  .seo-intent-queries {
    position: relative;
    bottom: auto;
    left: auto;
    width: min(100%, 34rem);
    margin-top: 2.5rem !important;
  }

  .seo-destinations-intro { width: min(100%, 32rem); }

  .seo-destination-steps {
    position: relative;
    inset: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem 1.5rem;
    width: 100%;
    margin-top: 2.5rem;
  }

  .seo-destination-steps strong {
    min-height: 0;
    margin-top: 1rem;
  }

  .seo-destination-steps span:not(.seo-destination-step__arrow) {
    max-width: 24rem;
    margin-top: 1rem;
  }

  .seo-destination-step__arrow { display: none; }

  .seo-connections-copy > p { max-width: 42rem; }

  .seo-connections-links {
    position: relative;
    top: auto;
    left: auto;
    width: min(100%, 42rem);
    margin-top: 2.5rem;
  }

  .seo-technical-copy { padding-left: 1.25rem; }

  .seo-technical-list {
    position: relative;
    top: auto;
    left: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
    grid-auto-flow: row;
    width: 100%;
    margin-top: 2.5rem;
    gap: 1rem 1.5rem;
  }

  .seo-technical-list li {
    min-height: 3.75rem;
    font-size: clamp(0.95rem, 2vw, 1.15rem);
  }
}

@media (max-width: 620px) {
  .seo-page--editable,
  .seo-page--editable .seo-page__overlay {
    min-height: 48rem;
  }

  .seo-destination-steps,
  .seo-technical-list {
    grid-template-columns: 1fr;
  }

  .seo-connections-links a {
    min-height: 4.5rem;
    font-size: 1rem;
  }
}

/* Remove the duplicate symbols baked into the supplied SEO artwork. */
.seo-intent-copy,
.seo-destinations-copy,
.seo-connections-copy,
.seo-technical-copy {
  isolation: isolate;
}

.seo-intent-copy > *,
.seo-destinations-copy > *,
.seo-connections-copy > *,
.seo-technical-copy > * {
  position: relative;
  z-index: 1;
}

/* Search line and search glyphs: keep the live query list above a clean surface. */
.seo-intent-copy::before {
  position: absolute;
  z-index: 0;
  inset: 0;
  background:
    linear-gradient(#d9eef3, #d9eef3) 0 45% / 100% 16% no-repeat,
    linear-gradient(#d9eef3, #d9eef3) 0 58% / 72% 42% no-repeat;
  content: "";
  pointer-events: none;
}

.seo-intent-queries {
  background: #d9eef3;
}

/* Destination connector ticks and arrows: keep only the live step arrows. */
.seo-destinations-copy::before {
  top: 25%;
  right: 0;
  left: 30%;
  height: 45%;
  background: #fbf8f3;
}

/* Internal-link artwork: remove its baked route, arrows, and the authored duplicate line. */
.seo-connections-copy::before {
  top: 0;
  left: 0;
  width: 78%;
  height: 100%;
  background: #d9eef3;
}

.seo-connections-copy::after {
  display: none;
}

.seo-connections-links {
  background: #d9eef3;
}

/* Technical checklist artwork: remove the oversized green checks and their rules. */
.seo-technical-copy::before {
  position: absolute;
  z-index: 0;
  top: 34%;
  left: 6%;
  width: 64%;
  height: 61%;
  background: #fbf8f3;
  content: "";
  pointer-events: none;
}

.seo-destination-steps,
.seo-technical-list {
  background: #fbf8f3;
}

@media (max-width: 900px) {
  .seo-intent-copy::before,
  .seo-destinations-copy::before,
  .seo-connections-copy::before,
  .seo-technical-copy::before {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: auto;
    height: auto;
  }

  .seo-intent-copy::before,
  .seo-connections-copy::before {
    background: #d9eef3;
  }

  .seo-destinations-copy::before,
  .seo-technical-copy::before {
    background: #fbf8f3;
  }
}

/* Clean SEO scene rebuild: solid surfaces, photo-only artwork, and live UI. */
.seo-page--intent-image,
.seo-page--connections {
  background: #d9eef3;
}

.seo-page--destinations,
.seo-page--technical {
  background: #fbf8f3;
}

.seo-page--editable {
  min-height: 100svh;
}

.seo-page--editable .seo-page__overlay {
  box-sizing: border-box;
  min-height: 100svh;
}

.seo-intent-copy::before,
.seo-intent-copy::after,
.seo-destinations-copy::before,
.seo-destinations-copy::after,
.seo-connections-copy::before,
.seo-connections-copy::after,
.seo-technical-copy::before,
.seo-technical-copy::after {
  display: none !important;
}

.seo-page--intent-image .seo-page__background {
  clip-path: inset(51% 0 0 60%);
}

.seo-page--destinations .seo-page__background {
  clip-path: inset(57% 0 0 76%);
}

.seo-page--connections .seo-page__background {
  clip-path: inset(0 0 70% 72%);
}

.seo-page--technical .seo-page__background {
  clip-path: inset(47% 0 0 68%);
}

.seo-intent-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(7.5rem, 12vh, 9rem) 7% 4rem;
}

.seo-intent-copy h2 {
  max-width: 12ch;
  font-size: clamp(3.5rem, 5.1vw, 5.8rem);
  line-height: 1.02;
}

.seo-intent-copy > p {
  max-width: 42rem;
  margin-top: 2rem;
  font-size: clamp(1.05rem, 1.45vw, 1.45rem);
  line-height: 1.48;
}

.seo-intent-queries {
  position: relative;
  inset: auto;
  width: min(39rem, 48%);
  margin: 2.25rem 0 0 !important;
  background: transparent;
}

.seo-intent-queries li {
  min-height: 3.6rem;
  font-size: clamp(1rem, 1.35vw, 1.35rem);
}

.seo-destinations-copy {
  display: grid;
  grid-template-columns: minmax(18rem, 28%) minmax(0, 1fr);
  gap: clamp(3rem, 5vw, 6rem);
  align-items: start;
  padding: clamp(7.5rem, 12vh, 9rem) 5.5% 4rem;
}

.seo-destinations-intro {
  width: auto;
}

.seo-destinations-intro h3 {
  max-width: 10ch;
  font-size: clamp(3rem, 4vw, 4.6rem);
  line-height: 1.04;
}

.seo-destinations-intro p {
  max-width: 25rem;
  margin-top: 2rem;
  font-size: clamp(1rem, 1.25vw, 1.25rem);
  line-height: 1.55;
}

.seo-destination-steps {
  position: relative;
  inset: auto;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1.5rem, 2.5vw, 3rem);
  width: 100%;
  margin: 0;
  background: transparent;
}

.seo-destination-steps strong {
  min-height: 3.6rem;
  margin-top: 2rem;
}

.seo-destination-steps span:not(.seo-destination-step__arrow) {
  max-width: 14rem;
  margin-top: 1.75rem;
}

.seo-destination-step__arrow {
  top: 5.25rem;
  right: clamp(-2.1rem, -2vw, -1rem);
}

.seo-connections-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(7.5rem, 12vh, 9rem) 8.8% 4rem;
}

.seo-connections-copy h3 {
  max-width: 11ch;
  font-size: clamp(3.2rem, 4.6vw, 5.3rem);
  line-height: 1.02;
}

.seo-connections-copy > p {
  max-width: 44rem;
  margin-top: 1.75rem;
  font-size: clamp(1rem, 1.25vw, 1.3rem);
  line-height: 1.55;
}

.seo-connections-copy > p + p {
  margin-top: 1.25rem;
}

.seo-connections-links {
  position: relative;
  inset: auto;
  width: min(47rem, 52%);
  margin-top: 2rem;
  background: transparent;
}

.seo-connections-links a {
  min-height: 4.4rem;
  font-size: clamp(1rem, 1.25vw, 1.25rem);
}

.seo-technical-copy {
  padding: clamp(7.5rem, 12vh, 9rem) 7% 4rem 10%;
}

.seo-technical-intro {
  display: grid;
  grid-template-columns: clamp(6.5rem, 9vw, 9rem) minmax(0, 48rem);
  gap: clamp(1.5rem, 3vw, 3rem);
  align-items: start;
  max-width: none;
}

.seo-technical-intro__icon {
  display: block;
  width: 100%;
  max-width: 8rem;
  color: #0a5cff;
}

.seo-technical-intro__icon svg {
  display: block;
  width: 100%;
  height: auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3;
}

.seo-technical-intro h3 {
  max-width: 12ch;
  font-size: clamp(3.1rem, 4.4vw, 5rem);
  line-height: 1.03;
}

.seo-technical-intro p {
  max-width: 46rem;
  margin-top: 1.6rem;
  font-size: clamp(1rem, 1.25vw, 1.3rem);
  line-height: 1.5;
}

.seo-technical-list {
  position: relative;
  inset: auto;
  grid-template-columns: repeat(2, minmax(15rem, 1fr));
  grid-template-rows: repeat(4, 4.5rem);
  grid-auto-flow: column;
  gap: 0 4rem;
  width: min(58rem, 62%);
  margin: 2.5rem 0 0;
  background: transparent;
}

.seo-technical-list li {
  min-height: 4.5rem;
  border-bottom: 1px solid rgba(10, 92, 255, 0.18);
  font-size: clamp(1rem, 1.2vw, 1.2rem);
}

@media (max-width: 900px) {
  .seo-page--editable,
  .seo-page--editable .seo-page__overlay {
    height: auto;
    min-height: auto;
  }

  .seo-page--editable .seo-page__background {
    display: none;
  }

  .seo-intent-copy,
  .seo-destinations-copy,
  .seo-connections-copy,
  .seo-technical-copy {
    padding: 6rem 1.25rem 4rem;
  }

  .seo-intent-copy h2,
  .seo-destinations-intro h3,
  .seo-connections-copy h3,
  .seo-technical-intro h3 {
    max-width: 12ch;
    font-size: clamp(2.7rem, 8vw, 4.25rem);
  }

  .seo-intent-copy > p br,
  .seo-connections-copy > p br,
  .seo-technical-intro p br {
    display: none;
  }

  .seo-intent-queries,
  .seo-connections-links,
  .seo-technical-list {
    width: min(100%, 42rem);
  }

  .seo-destinations-copy {
    display: block;
  }

  .seo-destination-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 3rem;
  }

  .seo-destination-step__arrow {
    display: none;
  }

  .seo-technical-intro {
    grid-template-columns: 5rem minmax(0, 1fr);
    gap: 1.25rem;
  }

  .seo-technical-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
    grid-auto-flow: row;
    gap: 0 1.5rem;
  }
}

@media (max-width: 620px) {
  .seo-destination-steps,
  .seo-technical-list {
    grid-template-columns: 1fr;
  }

  .seo-technical-intro {
    grid-template-columns: 4rem minmax(0, 1fr);
  }
}

/* Pinned SEO story: each panel freezes while the next panel slides over it. */
.seo-story {
  position: relative;
  isolation: isolate;
}

@media (min-width: 901px) {
  .seo-story .seo-page--editable {
    position: sticky;
    top: 0;
    height: 100svh;
    min-height: 100svh;
    transform: translateZ(0);
  }

  .seo-story .seo-page--editable:nth-child(1) { z-index: 1; }
  .seo-story .seo-page--editable:nth-child(2) { z-index: 2; }
  .seo-story .seo-page--editable:nth-child(3) { z-index: 3; }
  .seo-story .seo-page--editable:nth-child(4) { z-index: 4; }
  .seo-story .seo-page--editable:nth-child(5) { z-index: 5; }
  .seo-story .seo-page--editable:nth-child(6) { z-index: 6; }

  .seo-story .seo-page--editable:nth-child(n + 2) {
    box-shadow: 0 -1.25rem 3rem rgba(7, 29, 73, 0.12);
  }
}

/* Accessible-design follow-up: live copy sits over the photo's open paper field. */
.seo-page--photo {
  min-height: 100svh;
  background: #e8f3fb;
}

.seo-page--photo .seo-page__background {
  display: block;
  clip-path: none;
  object-fit: cover;
  object-position: right center;
}

.design-accessibility-layer {
  display: flex;
  align-items: flex-start;
  box-sizing: border-box;
  padding: clamp(9rem, 16vh, 10.5rem) 4.5vw clamp(3rem, 8vh, 5rem);
  background: linear-gradient(90deg, #f7f5f1 0%, #f7f5f1 35%, rgba(247, 245, 241, 0.97) 42%, rgba(247, 245, 241, 0.72) 51%, rgba(247, 245, 241, 0) 64%);
  pointer-events: none;
}

.design-accessibility-copy {
  position: relative;
  z-index: 1;
  width: min(29rem, 31vw);
  pointer-events: auto;
}

.seo-page--editable .design-accessibility-copy h2 {
  max-width: 8ch;
  color: #071d49;
  font-size: clamp(3.5rem, 5.2vw, 5.5rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 0.95;
}

.design-accessibility-intro {
  max-width: 25rem;
  margin-top: clamp(1.25rem, 2.4vh, 2rem) !important;
  color: #17375f;
  font-size: clamp(1.05rem, 1.45vw, 1.45rem);
  line-height: 1.48;
}

.design-accessibility-features {
  display: grid;
  gap: clamp(0.85rem, 1.5vh, 1.25rem);
  margin-top: clamp(1.5rem, 3vh, 2.25rem) !important;
  padding: 0;
  list-style: none;
}

.design-accessibility-features li {
  display: grid;
  grid-template-columns: 3.25rem minmax(0, 1fr);
  gap: 0.9rem;
  align-items: center;
}

.design-accessibility-features strong,
.design-accessibility-features small {
  display: block;
}

.design-accessibility-features strong {
  color: #071d49;
  font-size: clamp(0.98rem, 1.12vw, 1.18rem);
  line-height: 1.2;
}

.design-accessibility-features small {
  max-width: 24rem;
  margin-top: 0.18rem;
  color: #244568;
  font-size: clamp(0.82rem, 0.93vw, 0.98rem);
  line-height: 1.38;
}

.design-accessibility-feature__icon {
  display: grid;
  width: 3.25rem;
  height: 3.25rem;
  place-items: center;
  border-radius: 50%;
  color: #17375f;
  background: #d9edf7;
  font-family: Georgia, serif;
  font-size: 1.45rem;
}

.design-accessibility-feature__icon--people {
  color: #318650;
  background: #dcefdc;
}

.design-accessibility-feature__icon--heart {
  color: #a72c1c;
  background: #f8d5c7;
}

.design-accessibility-feature__icon svg {
  width: 1.8rem;
  height: 1.8rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.design-accessibility-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  align-items: center;
  margin-top: clamp(1.5rem, 3vh, 2.25rem);
}

.design-accessibility-link,
.design-accessibility-cta {
  display: inline-flex;
  gap: 0.45rem;
  align-items: center;
  min-height: 2.75rem;
  font-size: 0.9rem;
  font-weight: 750;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.24em;
}

.design-accessibility-link {
  color: #0757e8;
}

.design-accessibility-link svg,
.design-accessibility-cta svg {
  width: 1.05rem;
  height: 1.05rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.design-accessibility-cta {
  min-width: 8.5rem;
  justify-content: center;
  padding: 0 1rem;
  border-radius: 11px;
  color: #fff;
  background: #0a5cff;
  text-decoration: none;
  transition: background 160ms ease, transform 160ms ease;
}

.design-accessibility-cta:hover {
  background: #0647c8;
  transform: translateY(-0.12rem);
}

.design-accessibility-link:focus-visible,
.design-accessibility-cta:focus-visible {
  outline: 3px solid #0a5cff;
  outline-offset: 4px;
}

@media (max-width: 900px) {
  .seo-page--photo {
    min-height: 58rem;
  }

  .seo-page--photo .seo-page__background {
    display: block;
    object-position: 64% center;
  }

  .design-accessibility-layer {
    align-items: flex-start;
    min-height: 58rem !important;
    padding: 7rem 1.25rem 3rem;
    overflow: hidden !important;
    background: linear-gradient(180deg, rgba(247, 245, 241, 0.98) 0%, rgba(247, 245, 241, 0.94) 61%, rgba(247, 245, 241, 0.08) 84%);
  }

  .design-accessibility-copy {
    width: min(100%, 31rem);
  }

  .seo-page--editable .design-accessibility-copy h2 {
    max-width: 9ch;
    font-size: clamp(3.2rem, 13vw, 4.5rem);
  }

  .design-accessibility-intro {
    max-width: 31rem;
    font-size: 1.05rem;
  }

  .design-accessibility-features {
    gap: 0.8rem;
    margin-top: 1.35rem !important;
  }

  .design-accessibility-features li {
    grid-template-columns: 2.75rem minmax(0, 1fr);
    gap: 0.75rem;
  }

  .design-accessibility-feature__icon {
    width: 2.75rem;
    height: 2.75rem;
    font-size: 1.2rem;
  }

  .design-accessibility-feature__icon svg {
    width: 1.5rem;
    height: 1.5rem;
  }

  .design-accessibility-actions {
    margin-top: 1.35rem;
  }
}

/* FAQ closing panel: one calm decision surface, not a stack of cards. */
.seo-story .seo-page--faq {
  overflow: clip;
  color: #071d49;
  background: #fbf8f3;
}

.seo-page--faq::before {
  position: absolute;
  z-index: 0;
  right: -12rem;
  bottom: -19rem;
  width: 43rem;
  height: 43rem;
  border: 1px solid rgba(10, 92, 255, 0.16);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.seo-page--faq::after {
  position: absolute;
  z-index: 0;
  right: 5rem;
  bottom: -5rem;
  width: 10rem;
  height: 10rem;
  border-radius: 50%;
  background: #d9eef3;
  content: "";
  pointer-events: none;
}

.design-faq-layer {
  display: grid;
  grid-template-columns: minmax(18rem, 0.72fr) minmax(34rem, 1.28fr);
  gap: clamp(4rem, 8vw, 9rem);
  align-items: start;
  box-sizing: border-box;
  padding: clamp(9rem, 15vh, 10rem) clamp(2rem, 6vw, 7rem) clamp(3rem, 6vh, 4.5rem);
}

.design-faq-intro,
.design-faq-list {
  position: relative;
  z-index: 1;
}

.seo-page--editable .design-faq-intro h2 {
  max-width: 8.5ch;
  color: #071d49;
  font-size: clamp(3.65rem, 5vw, 5.35rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 0.95;
}

.design-faq__mobile-break {
  display: none;
}

.design-faq-intro > p {
  max-width: 34rem;
  margin-top: clamp(1.5rem, 3vh, 2.25rem) !important;
  color: #244568;
  font-size: clamp(1rem, 1.25vw, 1.2rem);
  line-height: 1.62;
}

.design-faq-cta {
  display: inline-flex;
  gap: 0.65rem;
  align-items: center;
  min-height: 3.25rem;
  margin-top: clamp(2rem, 4vh, 3rem);
  padding: 0 1.2rem;
  border-radius: 11px;
  color: #fff;
  background: #0a5cff;
  font-size: 0.95rem;
  font-weight: 800;
  text-decoration: none;
  transition: color 160ms ease, background 160ms ease, transform 160ms ease;
}

.design-faq-cta svg {
  width: 1.1rem;
  height: 1.1rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.design-faq-cta:hover {
  color: #fff;
  background: #0647c8;
  transform: translateY(-0.12rem);
}

.design-faq-cta:focus-visible,
.design-faq-item summary:focus-visible,
.design-faq-answer a:focus-visible,
.design-faq-more__summary:focus-visible {
  outline: 3px solid #0a5cff;
  outline-offset: 4px;
}

.design-faq-list {
  border-top: 1px solid rgba(10, 92, 255, 0.18);
}

.design-faq-item {
  border-bottom: 1px solid rgba(10, 92, 255, 0.18);
}

.design-faq-item summary {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 2.5rem;
  gap: 1.5rem;
  align-items: center;
  min-height: clamp(4.35rem, 7.2vh, 5.15rem);
  color: #071d49;
  cursor: pointer;
  list-style: none;
  font-size: clamp(1.05rem, 1.35vw, 1.35rem);
  font-weight: 700;
  line-height: 1.24;
  transition: color 160ms ease;
}

.design-faq-item summary::-webkit-details-marker {
  display: none;
}

.design-faq-item summary:hover,
.design-faq-item[open] summary {
  color: #0757e8;
}

.design-faq-item summary i {
  position: relative;
  display: block;
  width: 2.4rem;
  height: 2.4rem;
  border: 1px solid rgba(10, 92, 255, 0.3);
  border-radius: 50%;
}

.design-faq-item summary i::before,
.design-faq-item summary i::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.85rem;
  height: 1.5px;
  background: currentColor;
  content: "";
  transform: translate(-50%, -50%);
  transition: transform 180ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.design-faq-item summary i::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.design-faq-item[open] summary i::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.design-faq-answer {
  max-width: 64ch;
  padding: 0 4rem clamp(1.25rem, 2.6vh, 2rem) 0;
}

.design-faq-answer p {
  color: #244568;
  font-size: clamp(0.9rem, 1.03vw, 1.03rem);
  line-height: 1.58;
}

.design-faq-answer a {
  display: inline-flex;
  margin-top: 0.75rem;
  color: #0757e8;
  font-size: 0.9rem;
  font-weight: 750;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.24em;
}

.design-faq-more {
  border-bottom: 1px solid rgba(10, 92, 255, 0.18);
}

.design-faq-more__summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 2.5rem;
  gap: 1.5rem;
  align-items: center;
  min-height: clamp(4.35rem, 7.2vh, 5.15rem);
  color: #0757e8;
  cursor: pointer;
  list-style: none;
  font-size: clamp(1.05rem, 1.25vw, 1.25rem);
  font-weight: 800;
}

.design-faq-more__summary::-webkit-details-marker {
  display: none;
}

.design-faq-more__summary i {
  position: relative;
  display: block;
  width: 2.4rem;
  height: 2.4rem;
  border: 1px solid rgba(10, 92, 255, 0.3);
  border-radius: 50%;
}

.design-faq-more__summary i::before,
.design-faq-more__summary i::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.85rem;
  height: 1.5px;
  background: currentColor;
  content: "";
  transform: translate(-50%, -50%);
  transition: transform 180ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.design-faq-more__summary i::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.design-faq-more[open] > .design-faq-more__summary i::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.design-faq-more__list {
  border-top: 1px solid rgba(10, 92, 255, 0.18);
}

@media (min-width: 901px) {
  .seo-page--faq .design-faq-layer {
    overflow: visible;
  }

  .design-faq-list {
    max-height: calc(100svh - 13rem);
    padding-right: 0.75rem;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-color: rgba(10, 92, 255, 0.5) transparent;
    scrollbar-width: thin;
  }
}

@media (max-width: 900px) {
  .seo-page--faq,
  .seo-page--faq .design-faq-layer {
    min-height: auto;
  }

  .design-faq-layer {
    grid-template-columns: 1fr;
    gap: 3.5rem;
    height: auto !important;
    padding: 7.5rem 1.25rem 5rem;
    overflow: visible !important;
  }

  .seo-page--editable .design-faq-intro h2 {
    max-width: 9ch;
    font-size: clamp(3.2rem, 13vw, 4.6rem);
  }

  .design-faq-intro > p {
    max-width: 38rem;
    font-size: 1rem;
  }

  .design-faq-item summary {
    grid-template-columns: minmax(0, 1fr) 2.35rem;
    gap: 1rem;
    min-height: 4.75rem;
    font-size: 1.05rem;
  }

  .design-faq-more__summary {
    grid-template-columns: minmax(0, 1fr) 2.35rem;
    gap: 1rem;
    min-height: 4.75rem;
    font-size: 1.05rem;
  }

  .design-faq-answer {
    padding-right: 2.75rem;
  }

  .seo-page--faq::before {
    right: -24rem;
    bottom: -14rem;
  }

  .seo-page--faq::after {
    right: -3rem;
    bottom: -3rem;
  }
}

@media (max-width: 760px) {
  .seo-page--photo {
    display: none;
  }

  .seo-page--editable .design-faq-intro h2 {
    max-width: none;
    font-size: clamp(2.85rem, 9vw, 4rem);
    line-height: 0.96;
    white-space: normal;
  }

  .design-faq__mobile-break {
    display: block;
  }
}

@media (prefers-reduced-motion: reduce) {
  .seo-story .seo-page--editable {
    position: relative;
    top: auto;
    transform: none;
  }
}
/* Videos occupy only the existing preview area and never size the scrolling cards. */
.website-project__preview--film { position: relative; overflow: hidden; }
.website-project__preview--film::before,
.website-project__preview--film::after { content: none; display: none; }
.website-project__preview--film video { position: absolute; inset: 0; display: block; width: 100%; height: 100%; max-width: 100%; max-height: 100%; object-fit: contain; object-position: center; }
.website-project { position: relative; }
.website-project__visit::after { content: ""; position: absolute; inset: 0; z-index: 2; }
.website-project:has(.website-project__visit:focus-visible) { outline: 3px solid #0a5cff; outline-offset: -3px; }

/* The customer decisions are their own scroll chapter, separate from the hero. */
.website-outcomes-cards {
  position: relative;
  min-height: 280svh;
  padding: 0 clamp(1.5rem, 4vw, 4.5rem);
  background: #fff;
}

.website-outcomes-cards__sticky {
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(1.5rem, 4vh, 3.5rem);
  min-height: 100svh;
  padding: clamp(7rem, 12vh, 9rem) 0 clamp(3rem, 6vh, 5rem);
  overflow: hidden;
}

.website-outcomes-cards__title {
  width: min(100%, 96rem);
  max-width: 26ch;
  margin: 0 auto;
  color: var(--website-ink);
  font-size: clamp(2.8rem, 6.2vw, 6rem);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 0.94;
  text-wrap: balance;
}

.website-outcomes-cards__title > span {
  color: transparent;
  background: var(--dia-text-gradient, linear-gradient(90deg, #050a11, #050a11));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

@media (prefers-reduced-motion: reduce) {
  .website-outcomes-cards__title > span {
    color: #050a11;
    background: none;
    -webkit-text-fill-color: currentColor;
  }
}

.website-outcomes-cards .website-outcomes__canvas {
  position: relative;
  inset: auto;
  display: grid;
  flex: 1 1 auto;
  width: min(96rem, 100%);
  min-height: 0;
  margin: 0 auto;
  align-items: end;
}

.website-outcomes-cards .website-outcome {
  --rise: 1;
  opacity: calc(0.18 + (var(--rise) * 0.82));
  transform: translate3d(0, calc((1 - var(--rise)) * 76svh), 0);
  will-change: transform, opacity;
}

/* Hold the illustrated opening while the next chapter physically rises over it. */
@media (min-width: 721px) and (prefers-reduced-motion: no-preference) {
  .website-outcomes {
    z-index: 0;
    min-height: 200svh;
  }

  .website-outcomes-cards {
    z-index: 1;
    margin-top: -100svh;
  }
}

@media (max-width: 960px) and (min-width: 721px) {
  .website-outcomes-cards__sticky {
    gap: 2rem;
    padding-top: 7.5rem;
  }

  .website-outcomes-cards__title {
    font-size: clamp(2.6rem, 5.4vw, 4.6rem);
  }

  .website-outcomes-cards .website-outcomes__canvas {
    top: auto;
    gap: 1rem;
  }
}

@media (max-width: 720px) {
  .website-outcomes-cards {
    min-height: auto;
    padding: 0 1.25rem;
  }

  .website-outcomes-cards__sticky {
    position: relative;
    min-height: 0;
    gap: 2rem;
    padding: 6rem 0 5rem;
    overflow: visible;
  }

  .website-outcomes-cards__title {
    max-width: 100%;
    font-size: clamp(2.6rem, 11vw, 4.4rem);
  }

  .website-outcomes-cards .website-outcomes__canvas {
    display: grid;
    flex: none;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-top: 0;
  }

  .website-outcomes-cards .website-outcome,
  .website-outcomes-cards .website-outcome--choose,
  .website-outcomes-cards .website-outcome--begin {
    margin: 0;
    opacity: 1 !important;
    transform: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .website-outcomes-cards {
    min-height: auto;
  }

  .website-outcomes-cards__sticky {
    position: relative;
    min-height: 0;
    overflow: visible;
    padding-top: clamp(6rem, 12vh, 9rem);
  }

  .website-outcomes-cards .website-outcomes__canvas {
    flex: none;
    margin-top: 0;
  }

  .website-outcomes-cards .website-outcome {
    opacity: 1;
    transform: none;
    will-change: auto;
  }
}
