.services-hero {
  padding-block: clamp(140px, 14vw, 210px) clamp(30px, 5vw, 75px);
  background: radial-gradient(ellipse at 95% 20%, #304f6e, transparent 68%);
}

.services-hero h1,
.services-contact h2 {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.09;
  letter-spacing: 0;
}

.services-hero h1 {
  max-width: 12ch;
  font-size: clamp(57px, 7.2vw, 114px);
}

.services-hero p {
  max-width: 41ch;
  margin-top: 24px;
  color: #c9d7e5;
  font-size: clamp(17px, 1.6vw, 22px);
}
.services-back {
  display: inline-block;
  margin-bottom: 22px;
  color: #d6e5f4;
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: .24em;
}

.services-paths {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(10px, 2vw, 25px);
  padding-bottom: clamp(48px, 8vw, 110px);
}

.services-path {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 12px 20px;
  padding: clamp(22px, 3vw, 43px);
  border: 1px solid #9bb2c966;
  border-radius: 6px 30px 6px 6px;
  background: #263b53;
  transition: background-color .22s ease, border-color .22s ease;
}

.services-path:last-child { background: #344c68; }
.services-path:is(:hover, :focus-visible) { background: #3a5270; border-color: #b6cbe1; }
.services-path-title {
  font-family: var(--display);
  font-size: clamp(30px, 3.2vw, 51px);
  line-height: 1.05;
}
.services-path-copy { grid-row: 2; max-width: 42ch; color: #d6e0eb; font-size: 15px; }
.services-path-price { grid-row: 3; color: #e5efff; font-size: 15px; }
.services-path svg {
  grid-column: 2;
  grid-row: 1 / span 3;
  align-self: center;
  width: 25px;
  height: 25px;
  fill: none;
  stroke: #d7e7ff;
  stroke-width: 1.4;
  transition: translate .22s ease;
}
.services-path:is(:hover, :focus-visible) svg { translate: 4px 0; }

.service-edition {
  --edition-ink: #152e46;
  --edition-paper: #edf1ef;
  --edition-hero: #1a2c3a;
  --edition-accent: #d6e3cf;
  --chapter-rule: #9cafa9;
}

.service-edition--corporate {
  --edition-paper: #dce6ef;
  --edition-hero: #101c2a;
  --edition-accent: #b5d6fa;
  --chapter-rule: #96acc0;
}

.edition-hero {
  display: grid;
  gap: clamp(28px, 4.4vw, 62px);
  padding-block: clamp(129px, 13vw, 185px) clamp(24px, 3.4vw, 52px);
  background: linear-gradient(120deg, var(--edition-hero) 42%, #263f52);
}
.edition-hero h1,
.edition-intro h2,
.edition-case h2,
.edition-chapter h3,
.edition-offer h4,
.services-contact h2 {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.09;
  letter-spacing: 0;
}

.edition-hero h1 { max-width: min(19ch, 78vw); font-size: clamp(58px, 8.2vw, 135px); text-wrap: pretty; }
.edition-hero h1 em { display: block; color: var(--edition-accent); }
.edition-hero-copy > p:not(.edition-budget) {
  max-width: 39ch;
  margin-top: 24px;
  color: #e1e9ee;
  font-size: clamp(16px, 1.55vw, 21px);
}
.edition-budget { margin-top: 20px; color: var(--edition-accent); font-size: 15px; }
.edition-budget strong { font-size: 1.35em; white-space: nowrap; }
.services-back { margin-bottom: clamp(17px, 2.4vw, 38px); }

.edition-entry ol,
.edition-index ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.edition-entry {
  position: relative;
  z-index: 1;
  background: #101e2be6;
  border: 1px solid #93b2c46b;
  border-radius: 5px 28px 5px 5px;
  overflow: clip;
  color: #ebf1f5;
}
.edition-entry a,
.edition-index a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.edition-entry a {
  min-height: 66px;
  padding: 10px clamp(16px, 3vw, 45px);
  font-size: clamp(16px, 1.8vw, 23px);
  transition: background .25s ease, color .25s ease;
}
.edition-entry li + li { border-left: 1px solid #93b2c46b; }
.edition-entry a:is(:hover, :focus-visible) { background: var(--edition-accent); color: #14273d; }
.edition-entry a:focus-visible { outline-offset: -4px; }
.edition-entry svg, .edition-index svg {
  width: 22px;
  height: 22px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

.edition-offers {
  padding-block: clamp(52px, 8vw, 110px);
  border-top-left-radius: clamp(32px, 6vw, 94px);
  background: var(--edition-paper);
  color: var(--edition-ink);
}
.edition-intro, .edition-journey, .services-price-note {
  max-inline-size: 960px;
  margin-inline: auto;
}
.edition-intro { margin-bottom: clamp(26px, 4vw, 55px); }
.edition-intro h2, .edition-case h2, .services-contact h2 { font-size: clamp(42px, 5.5vw, 82px); }
.edition-intro p { max-width: 58ch; margin-top: 16px; }

.edition-index {
  position: sticky;
  z-index: 5;
  top: 90px;
  margin-bottom: clamp(28px, 4.5vw, 64px);
  padding: 7px 0;
  background: var(--edition-paper);
}
.edition-index ol { position: relative; gap: 6px; }
.edition-index a {
  min-height: 50px;
  padding: 6px 8px;
  justify-content: center;
  font-family: var(--display);
  font-size: clamp(20px, 2.3vw, 32px);
  font-weight: 400;
  line-height: 1.15;
  border-bottom: 2px solid var(--chapter-rule);
  transition: background-color .25s ease, color .25s ease, border-color .25s ease;
}
.edition-index a:is([aria-current], :hover, :focus-visible) {
  border-color: currentColor;
  background: var(--edition-hero);
  color: #fff;
}
.edition-index svg { display: none; }

.edition-chapters {
  --route-marker: clamp(30px, 3.6vw, 47px);
  --route-inset: clamp(45px, 6vw, 92px);
  --route-ink: #41675f;
  position: relative;
  padding-inline-start: var(--route-inset);
}
.service-edition--corporate .edition-chapters { --route-ink: #416b94; }
.edition-chapters::before, .edition-chapters::after {
  content: '';
  position: absolute;
  inset-block-start: calc(var(--route-marker) / 2);
  inset-inline-start: calc(var(--route-marker) / 2 - 1px);
  width: 2px;
  background: var(--chapter-rule);
  pointer-events: none;
}
.edition-chapters::before { height: var(--route-length, calc(100% - var(--route-marker))); }
.edition-chapters::after { height: var(--route-fill, 0px); background: var(--route-ink); }

.edition-chapter { padding-bottom: clamp(44px, 7vw, 110px); }
.edition-chapter, .edition-offer { scroll-margin-top: 64px; }
.edition-chapter-heading { position: relative; padding-top: 6px; }
.edition-milestone {
  position: absolute;
  z-index: 1;
  inset-block-start: 0;
  inset-inline-start: calc(-1 * var(--route-inset));
  display: grid;
  place-items: center;
  width: var(--route-marker);
  aspect-ratio: 1;
  border: 1px solid var(--route-ink);
  border-radius: 50%;
  background: var(--edition-paper);
  color: var(--edition-ink);
  font-size: clamp(11px, 1.2vw, 16px);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  transition: background-color .3s ease, color .3s ease, box-shadow .3s ease;
}
.edition-chapter:is(.is-current, :target) .edition-milestone {
  background: var(--edition-hero);
  color: #fff;
  box-shadow: 0 0 0 4px var(--edition-paper), 0 0 0 5px var(--route-ink);
}
.edition-step {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 15px;
  margin-bottom: 10px;
  color: var(--route-ink);
  font-size: 14px;
}
.edition-step strong {
  font-family: var(--display);
  font-size: clamp(32px, 4.4vw, 56px);
  font-weight: 400;
  line-height: .94;
  letter-spacing: 0;
}
.edition-chapter h3 { font-size: clamp(28px, 3.05vw, 45px); text-wrap: pretty; }
.edition-chapter-intro { max-width: 63ch; margin-block: 14px clamp(20px, 3vw, 38px); font-size: 17px; }
.edition-offer {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(10px, 1.4vw, 19px);
  padding-block: clamp(22px, 3.2vw, 44px);
  border-top: 1px solid var(--chapter-rule);
  color: var(--edition-ink);
}
.edition-offer:target { border-top: 3px solid var(--route-ink); }
.edition-offer h4 { margin: 0; font-size: clamp(31px, 4.5vw, 64px); text-wrap: pretty; }
.edition-offer--principal h4 { font-size: clamp(36px, 5.5vw, 76px); }
.edition-offer-copy { max-width: 62ch; margin-top: 9px; font-size: clamp(16px, 1.5vw, 20px); }
@media (prefers-reduced-motion: no-preference) {
  .edition-offer-main.has-entered, .edition-step.has-entered {
    animation: edition-rise .55s cubic-bezier(.2,.75,.25,1) both;
  }
}
@keyframes edition-rise {
  from { opacity: .6; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

.edition-deliverables { padding-top: 6px; font-size: clamp(14px, 1.12vw, 17px); }
.edition-deliverables > p { margin-bottom: 5px; font-weight: 700; }
.edition-deliverables ul { margin: 0; padding-left: 1.15em; }
.edition-deliverables li + li { margin-top: 2px; }
.edition-investment .offer-price,
.edition-investment .offer-prices,
.edition-investment .offer-prices li > span { color: var(--route-ink); }
.edition-investment .offer-price,
.edition-investment .offer-prices { margin: 0; }
.edition-investment .offer-prices { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.edition-investment .offer-prices strong { white-space: nowrap; font-size: clamp(20px, 2.25vw, 32px); }
.edition-continue {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 4px 16px;
  margin-top: 4px;
  padding: 14px 0;
  border-block: 1px solid var(--chapter-rule);
  color: var(--edition-ink);
}
.edition-continue span { font-size: 13px; }
.edition-continue strong { grid-column: 1; font-size: 19px; }
.edition-continue svg { grid-area: 1 / 2 / span 2; width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; transition: translate .2s; }
.edition-continue:is(:hover,:focus-visible) svg { translate: 4px; }
.services-price-note { max-width: 64ch; margin-top: 10px; color: #344d63; font-size: 15px; }
.edition-offers > .services-price-note { max-width: 960px; }

.edition-case {
  display: grid;
  justify-items: center;
  gap: clamp(22px, 3.2vw, 44px);
  padding-block: clamp(60px, 8vw, 118px);
  background: radial-gradient(ellipse at 50% 25%, #2c484e, transparent 66%), #16282f;
}
.service-edition--corporate .edition-case {
  background: radial-gradient(ellipse at 50% 24%, #32395a, transparent 68%), #141e30;
}
.edition-case-heading { text-align: center; }
.edition-case-heading p:first-child { color: var(--edition-accent); font-size: 15px; }
.edition-case-heading h2 { margin-block: 12px 18px; }
.edition-case-heading p:last-child { max-width: 61ch; margin-inline: auto; color: #dce8ef; }
.edition-case-panel {
  width: min(100%, 922px);
  overflow: hidden;
  border: 1px solid #a4bdda70;
  border-radius: clamp(18px, 3vw, 34px);
  background: var(--edition-paper);
  color: var(--edition-ink);
}
.edition-case-panel img { width: min(100% - 32px, 790px); height: auto; margin: 16px auto; border-radius: 12px; }
.edition-case-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
}
.edition-case-facts > div { padding: clamp(18px, 3vw, 37px); }
.edition-case-facts > div + div { border-inline-start: 1px solid var(--chapter-rule); }
.edition-case-facts dt { margin-bottom: 7px; font-weight: 700; }
.edition-case-facts dd { margin: 0; font-size: 16px; }
.edition-case .project-links { align-items: center; }
.edition-case .project-live-link { font-size: 15px; }
@media (max-width: 640px) {
  .edition-case-facts { grid-template-columns: 1fr; }
  .edition-case-facts > div + div { border-inline-start: 0; border-top: 1px solid var(--chapter-rule); }
}

.offer-prices {
  display: grid;
  gap: 7px;
  list-style: none;
  margin: 15px 0 0;
  padding: 0;
  color: #244b6c;
  font-size: 15px;
}
.offer-prices li > span {
  display: block;
  color: #425b70;
  font-size: 13px;
}
.edition-offer .offer-price { color: #244b6c; font-size: 15px; font-weight: 700; }

.services-contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px 48px;
  padding-block: clamp(54px, 8vw, 120px);
  background: radial-gradient(ellipse at 94% 100%, #335983, transparent 76%), #1c3652;
}
.services-contact .button { flex: 0 1 auto; }
.service-edition + .services-contact { background: #294760; }

@media (max-width: 760px) {
  .services-paths { grid-template-columns: minmax(0, 1fr); }
  .edition-index { top: 76px; }
  .edition-chapter, .edition-offer { scroll-margin-top: 57px; }
  .services-hero { padding-top: 122px; }
  .edition-hero { padding-top: 117px; }
  .edition-hero h1 { max-width: none; font-size: clamp(48px, 10vw, 77px); }
  .edition-entry a, .edition-index a { padding-inline: 10px; gap: 5px; }
  .edition-entry a { min-height: 50px; font-size: 14px; }
  .edition-entry svg, .edition-index svg { width: 14px; height: 14px; }
}
@media (max-width: 360px) {
  .edition-index svg, .edition-entry svg { display: none; }
  .edition-index a { font-size: 17px; }
}

@media (prefers-reduced-motion: reduce) {
  .edition-entry a, .edition-index a, .edition-milestone, .edition-continue svg,
  .services-path, .services-path svg { transition: none; }
}

.services-pricing-link { display: inline-block; margin-top: 28px; }

.pricing {
  --price-line: #afc5da54;
  --price-copy: #e0e9f2;
  --price-link: #ccdfff;
  background: #111a23;
  color: #f2f6fa;
}
.pricing-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-top: clamp(155px, 16vw, 230px);
  padding-bottom: clamp(55px, 9vw, 120px);
}
.pricing-hero::after {
  content: '';
  z-index: -1;
  position: absolute;
  inset: 15% -5% 0 42%;
  background: radial-gradient(ellipse at 60% 45%, #263d56, transparent 67%);
  pointer-events: none;
}
.pricing-label { margin-bottom: 22px; color: var(--price-link); font-size: 15px; }
.pricing-hero h1 { max-width: 17ch; font-size: clamp(45px, 7.8vw, 120px); line-height: 1.07; letter-spacing: 0; }
.pricing-hero h1 em { font-family: var(--display); font-weight: 400; color: #c5d7fa; }
.pricing-intro { max-width: 55ch; margin: 28px 0; color: var(--price-copy); }
.pricing-choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 3.5vw, 55px); }
.pricing-choice {
  padding: clamp(24px, 4vw, 54px);
  display: grid;
  align-content: start;
  grid-template-rows: auto 1fr auto auto;
  gap: 16px;
  min-width: 0;
  background: #203444;
  border: 1px solid var(--price-line);
  border-radius: clamp(22px, 4vw, 54px);
}
.pricing-choice:last-child {
  --price-copy: #263e51;
  --price-link: #173e6b;
  background: #dbe6eb;
  color: #132739;
}
.pricing-choice:is(:hover, :focus-visible) .text-link { text-decoration-thickness: 2px; }
.pricing :is(.text-link, .pricing-row a) { color: var(--price-link); opacity: 1; }
.pricing-choice h2 { font-size: clamp(28px, 3.45vw, 49px); }
.pricing-choice p { max-width: 37ch; font-size: 17px; color: var(--price-copy); }
.pricing-minimum { margin-top: 8px; }
.pricing-minimum > strong { display: block; font-size: clamp(38px, 5.7vw, 82px); line-height: 1.05; letter-spacing: 0; }
.pricing-minimum small { display: block; margin-top: 11px; color: var(--price-copy); font-size: 15px; }
.pricing-choice .pricing-minimum-label { margin-bottom: 6px; font-weight: 600; }
.pricing-choice .text-link { align-self: end; font-size: 16px; }
.pricing-section, .pricing-factors { padding-top: clamp(65px, 10vw, 145px); }
.pricing-section { scroll-margin-top: 120px; }
.pricing-section-heading { margin-bottom: 30px; }
.pricing-section-heading p { margin-top: 16px; max-width: 66ch; color: var(--price-copy); }
.pricing-list { margin: 0; }
.pricing-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .85fr);
  gap: 18px 9%;
  padding-block: 22px;
  border-top: 1px solid var(--price-line);
}
.pricing-row:last-child { border-bottom: 1px solid var(--price-line); }
.pricing-row dt > strong { display: block; font-size: clamp(22px, 2.2vw, 30px); letter-spacing: 0; line-height: 1.2; margin-bottom: 10px; }
.pricing-row a { font-size: 15px; }
.pricing-row dd { margin: 0; font-size: 17px; }
.pricing-row .offer-prices { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.pricing-row .offer-prices span { display: block; color: var(--price-copy); }
.pricing-factors > div { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(22px, 4vw, 66px); margin-block: 36px; }
.pricing-factors article { border-top: 1px solid var(--price-line); padding-top: 22px; }
.pricing-factors article p { margin-top: 12px; }
@media (max-width: 700px) {
  .pricing-choices, .pricing-factors > div { grid-template-columns: 1fr; }
  .pricing-row { grid-template-columns: 1fr; }
}
