.service-experience {
  --service-void: #080910;
  --service-surface: #111722;
  --service-ink: #edf4fc;
  --service-copy: #bac8d7;
  --service-accent: #85e4ff;
  --service-edge: #304454;
  --service-mono: var(--tech, ui-monospace, monospace);
  --service-space: clamp(56px, 8vw, 116px);
  color: var(--service-ink);
  background: var(--service-void);
  font-family: system-ui, "Segoe UI", sans-serif;
}

.service-experience > .studio-header {
  position: relative;
  top: auto;
  background: #080a11;
  border-color: #25313c;
}

.service-experience .studio-header :is(.brand, .studio-nav a, .studio-contact) { color: var(--service-ink); }
.service-experience .studio-header .studio-nav a[aria-current],
.service-experience .studio-header .studio-contact:hover { color: var(--service-accent); }
.service-experience :focus-visible { outline: 2px solid var(--service-accent); outline-offset: 5px; }
.service-experience > footer { background: #080a11; border-top: 1px solid var(--service-edge); }
.service-experience > footer a { color: var(--service-copy); }

.service-story {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  isolation: isolate;
  clip-path: inset(0);
  background: radial-gradient(ellipse at 92% 0%, #102038, transparent 36%), var(--service-void);
}

.service-story > * { grid-area: 1 / 1; }

.service-stage {
  position: sticky;
  inset-block-start: 0;
  align-self: start;
  height: 100vh;
  height: 100svh;
  pointer-events: none;
  overflow: hidden;
  background: radial-gradient(ellipse at 63% 55%, #0c203375, transparent 65%);
}

.service-stage canvas {
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0;
}

.service-stage[data-active] canvas { opacity: 1; }
.service-story-content { position: relative; z-index: 1; min-width: 0; }

.service-opening { position: relative; }
.service-opening-grid, .service-offer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: clamp(25px, 5.3vw, 80px);
}

.service-opening-grid { min-height: min(690px, 74svh); padding-block: clamp(42px, 7vw, 108px); }
.service-opening-copy { min-width: 0; position: relative; isolation: isolate; }
.service-label {
  margin: 0 0 16px;
  color: var(--service-accent);
  font: 570 .76rem/1.55 var(--service-mono);
  letter-spacing: .115em;
  text-transform: uppercase;
}

.service-experience main :is(h1, h2) {
  margin: 0;
  color: var(--service-ink);
  font: 400 clamp(43px, 7.4vw, 110px)/.97 var(--studio-display);
  letter-spacing: -.023em;
  overflow-wrap: break-word;
}

.service-opening h1 { max-width: 10.9ch; }
.service-opening h1 em { color: #a2d9f0; font-weight: inherit; }
.service-lead, .service-final .wrap > p:not(.service-label) {
  max-width: 49ch;
  margin: 23px 0 0;
  color: var(--service-copy);
  font: 440 clamp(17px, 1.55vw, 21px)/1.6 system-ui, sans-serif;
}

.service-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px 18px;
  margin-top: 24px;
}

.service-primary, .service-text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font: 650 .92rem/1.45 system-ui, sans-serif;
}

.service-primary {
  gap: 12px;
  padding: 8px 14px;
  border: 1px solid #70b6cd;
  border-radius: 3px;
  background: #a0e9fb;
  color: #0b222d;
  text-decoration: none;
}

.service-primary:hover { background: #c3f4ff; color: #061722; }
.service-text-link { color: #cbeaf6; text-decoration: underline; text-underline-offset: 5px; }
.service-text-link:hover { color: #fff; text-decoration-thickness: 2px; }

.service-route, .service-sample {
  position: relative;
  isolation: isolate;
  min-width: 0;
  margin: 0;
  color: var(--service-ink);
}

.service-route {
  padding: 17px clamp(15px, 2.7vw, 38px);
  border: 1px solid #3f5e72;
  background: linear-gradient(0deg, #10202ee6, #1427370d 72%);
}

.service-route .service-label { margin: 0; }
.service-visual {
  isolation: isolate;
  position: relative;
  height: clamp(132px, 16vw, 222px);
  overflow: hidden;
  margin: 0 0 9px;
  border-block: 1px solid #41647a57;
  background:
    radial-gradient(ellipse at 50% 55%, #2966a016, transparent 67%),
    repeating-linear-gradient(90deg, #5c91a410 0 1px, transparent 1px 25%);
}

.service-visual::before, .service-visual::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.service-visual::before {
  inset: 49% 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, #69b8de85 25%, #a5edffb8 61%, transparent);
  box-shadow: 0 -13px #6badca45, 0 14px #6badca3a;
}

.service-visual::after {
  inset: 24% 40%;
  border: 1px solid #79b7d080;
  background: repeating-linear-gradient(0deg, #81bcd434 0 1px, transparent 1px 9px);
}

.service-sample--trace .service-visual::before { inset-inline: 6% 55%; box-shadow: 138px -5px #6badca45; }
.service-sample--compare .service-visual::after { transform: skewY(-12deg); box-shadow: 7px -6px #9adfff28, 14px -12px #9adfff16; }
.service-sample--branch .service-visual::after { transform: rotate(45deg) scale(.58); }
.service-sample--approval .service-visual::after { border-radius: 50%; background: none; box-shadow: 0 0 0 8px #70c8fc1a; }
.service-sample--queue .service-visual::after { inset-inline: 28%; }
.service-story[data-service-visual] .service-visual::before,
.service-story[data-service-visual] .service-visual::after { display: none; }
.service-visual--opening { height: clamp(133px, 19vw, 270px); margin-top: 15px; }

.service-orbit-hint {
  display: none;
  position: absolute;
  right: 8px;
  bottom: 6px;
  color: #abd0e3;
  font: 540 .67rem/1.4 var(--service-mono);
}
.service-visual[data-orbit-ready] { cursor: grab; touch-action: pan-y; }
.service-visual[data-orbit-dragging] { cursor: grabbing; }
.service-visual[data-orbit-ready] .service-orbit-hint { display: block; }

.service-primary span { transition: transform 190ms ease; }
.service-primary:hover span { transform: translateX(var(--control-nudge, 2px)); }
.service-primary:hover { background: radial-gradient(circle at var(--control-x, 50%) 55%, #e3faff, #a0e9fb 72%); }

.service-route-map ol {
  display: grid;
  gap: 16px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.service-route-map li {
  position: relative;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid #38566a;
  background: #101c29e8;
}

.service-route-map li + li::before {
  content: "";
  position: absolute;
  inset: auto auto 100% 15px;
  height: 17px;
  width: 1px;
  background: #75c6e6;
}

.service-route-map li span, .service-sample-nodes span {
  display: block;
  color: #a9cbde;
  font: 570 .72rem/1.4 var(--service-mono);
}

.service-route-map li strong, .service-sample-nodes strong {
  display: block;
  margin-top: 5px;
  color: var(--service-ink);
  font: 610 .94rem/1.35 system-ui, sans-serif;
  overflow-wrap: break-word;
}

.service-directory {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--service-edge);
  gap: 0 14px;
}

.service-directory a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 9px 2px;
  border-bottom: 1px solid var(--service-edge);
  color: var(--service-copy);
  font: 560 .88rem/1.4 system-ui, sans-serif;
}

.service-directory a:hover { color: var(--service-accent); text-decoration: underline; text-underline-offset: 4px; }

.service-offer { padding-block: var(--service-space); border-top: 1px solid var(--service-edge); scroll-margin-top: 18px; }
.service-offer:nth-child(even) { background: linear-gradient(270deg, #0d121fe8 17%, #0b0e1622 60%); }
.service-offer:nth-child(odd) { background: linear-gradient(90deg, #080910e8 17%, #08091012 60%); }
.service-offer:target .service-label { color: #bcf0ff; }
.service-offer-copy { min-width: 0; }

.service-experience .service-offer h2 { font-size: clamp(37px, 5.25vw, 73px); max-width: 16ch; line-height: 1.03; }
.service-offer-copy > ul {
  margin: 19px 0 0;
  padding-inline-start: 1.15rem;
  color: var(--service-copy);
  font-size: 1rem;
  line-height: 1.57;
}
.service-offer-copy > ul li + li { margin-top: 9px; }
.service-offer-copy > ul li::marker { color: var(--service-accent); }

.service-sample {
  padding: clamp(17px, 3vw, 34px);
  border: 1px solid #466273;
  background: linear-gradient(0deg, #0d141ff5 7%, #111c27b5 46%, #192a3a24 83%);
  box-shadow: inset 0 1px #c1ecff1a;
  transition: border-color 180ms ease, box-shadow 240ms ease;
}

.service-sample:is(:hover, :focus-within) {
  border-color: #76b7d2;
  box-shadow: inset 0 1px #c1ecff28, 0 0 32px #130f371f;
}

.service-sample figcaption {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 12px;
  margin-bottom: 21px;
}

.service-sample figcaption strong { font-size: .98rem; }
.service-sample figcaption span {
  color: #a7bfd0;
  font: 550 .69rem/1.4 var(--service-mono);
}

.service-sample-nodes {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-sample-nodes li {
  position: relative;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid #466273;
  background: #0d1825;
}

.service-sample-nodes li + li::before {
  content: "";
  position: absolute;
  inset: auto auto 100% 17px;
  height: 15px;
  width: 1px;
  background: #708da4;
}

.service-sample-nodes li[data-sample-change] { border-color: #6b6d76; }
.service-sample-nodes li[data-sample-change] strong { color: #ffd8b5; }
.service-sample[data-resolved] .service-sample-nodes li[data-sample-change] { border-color: #59a2b9; }
.service-sample[data-resolved] .service-sample-nodes li[data-sample-change] strong { color: #a6eaff; }

.service-sample--compare .service-sample-nodes li:nth-child(3) {
  border-style: dashed;
  background: #0d1b27;
}

.service-sample--branch .service-sample-nodes li:nth-child(2) { border-inline-start: 3px solid #5395b6; }
.service-sample--approval .service-sample-nodes li:nth-child(3) {
  border-inline-start: 3px solid #9d8580;
  background: linear-gradient(100deg, #26303c, #0e1b2a);
}

.service-sample--queue .service-sample-nodes { gap: 0; border-top: 1px solid #466273; }
.service-sample--queue .service-sample-nodes li {
  display: grid;
  grid-template-columns: minmax(72px, .4fr) minmax(0, 1fr);
  align-items: baseline;
  gap: 11px;
  border: 0;
  border-bottom: 1px solid #466273;
  background: none;
}
.service-sample--queue .service-sample-nodes li + li::before { display: none; }

.service-sample-controls { margin-top: 17px; }
.service-sample-controls button {
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid #517d95;
  border-radius: 3px;
  color: #d2f1ff;
  background: #152d3c;
  font: 580 .87rem/1.4 system-ui, sans-serif;
  text-align: left;
  cursor: pointer;
}
.service-sample-controls button:is(:hover, [aria-pressed="true"]) {
  background: radial-gradient(circle at var(--control-x, 50%) 52%, #325e71, #244759 76%);
}
.service-sample-controls p {
  min-height: 3.1em;
  margin: 10px 0 0;
  color: #c1d4e1;
  font: 440 .92rem/1.55 system-ui, sans-serif;
}

.service-delivery, .service-scope, .service-final { position: relative; border-top: 1px solid var(--service-edge); }
.service-delivery, .service-final { padding-block: var(--service-space); }
.service-delivery { background: #0c111b; }
.service-experience :is(.service-delivery, .service-final) h2 { font-size: clamp(39px, 5.6vw, 78px); }
.service-delivery ol {
  display: grid;
  gap: 23px 33px;
  margin: 27px 0 0;
  padding: 0;
  list-style: none;
}
.service-delivery li { position: relative; padding-top: 17px; border-top: 1px solid #53798e; }
.service-delivery li::before {
  content: "";
  position: absolute;
  top: -4px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--service-accent);
}
.service-delivery h3 { margin: 0 0 5px; color: var(--service-ink); font: 635 1.1rem/1.35 system-ui, sans-serif; }
.service-delivery p { margin: 0; color: var(--service-copy); line-height: 1.55; }
.service-scope { background: var(--service-surface); }
.service-scope > summary { cursor: pointer; padding-block: 25px; color: #caeaf8; font-weight: 650; }
.service-scope .editorial-service-nav { margin-block: 0 22px; }
.service-experience .service-scope :is(h2, h3) { color: var(--service-ink); }
.service-experience .service-scope h2 { font-size: clamp(35px, 5vw, 68px); }
.service-experience .service-scope :is(p, dd) { color: var(--service-copy); }
.service-experience .service-scope :is(dt, summary, a) { color: #b9dcf0; }
.service-experience .service-scope .billing-guide { background: #142130; }
.service-experience .service-scope :is(section, article, details) { border-color: var(--service-edge); }
.service-experience .service-scope .editorial-section-intro { position: static; }
.service-experience .service-scope .editorial-section-block { scroll-margin-top: 18px; }
.service-final {
  background: radial-gradient(ellipse at 75% 85%, #152e44, transparent 65%), var(--service-void);
}
.service-final h2 { max-width: 16ch; }
.service-final .service-primary { margin-top: 22px; }

@media (min-width: 600px) {
  .service-directory { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .service-delivery ol { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-sample:not(.service-sample--queue, .service-sample--compare) .service-sample-nodes { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .service-sample:not(.service-sample--queue) .service-sample-nodes li + li::before {
    inset: 50% 100% auto auto;
    width: 15px;
    height: 1px;
  }
  .service-sample--compare .service-sample-nodes li:nth-child(3) { grid-column: 1 / -1; }
  .service-sample--compare .service-sample-nodes li:nth-child(3)::before { display: none; }
  .service-sample--compare .service-sample-nodes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 900px) {
  .service-opening-grid, .service-offer-inner { grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); }
  .service-opening-grid { min-height: min(745px, 77svh); }
  .service-offer-inner { min-height: min(53svh, 520px); }
  .service-route-map li + li { margin-inline-start: 12%; }
  .service-route-map li:last-child { margin-inline-start: 24%; }
  .service-directory { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .service-directory a { min-height: 57px; }
  .service-offer:nth-child(even) .service-sample { grid-column: 1; grid-row: 1; }
  .service-offer:nth-child(even) .service-offer-copy { grid-column: 2; grid-row: 1; }
  .service-delivery ol { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: no-preference) {
  .service-offer[data-service-entered] :is(.service-offer-copy, .service-sample) {
    animation: service-enter 520ms cubic-bezier(.22,.61,.36,1) backwards;
  }
  .service-offer[data-service-entered] .service-sample { animation-delay: 90ms; }
  .service-delivery [data-service-entered] { animation: service-enter 520ms cubic-bezier(.22,.61,.36,1) backwards; }
  .service-delivery li:nth-child(2) { animation-delay: 55ms; }
  .service-delivery li:nth-child(3) { animation-delay: 110ms; }
  .service-delivery li:nth-child(4) { animation-delay: 165ms; }
  .service-primary { transition: background 180ms ease, box-shadow 180ms ease; }
  .service-primary:hover { box-shadow: 0 0 19px #6aeaff49; }
  .service-sample[data-resolved] li[data-sample-change] { animation: sample-pulse 680ms ease-out; }
  @keyframes service-enter {
    from { opacity: .68; transform: translateY(12px); }
    to { opacity: 1; transform: none; }
  }
  @keyframes sample-pulse {
    from { box-shadow: 0 0 15px #8ae8ff5b; }
    to { box-shadow: 0 0 0 #8ae8ff00; }
  }
}

@media (max-width: 899px) {
  .service-offer:nth-child(n) { background: linear-gradient(180deg, #080910eb 9%, #08091029 67%); }
  .service-opening-copy::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: -15px -13px;
    background: radial-gradient(ellipse at 28% 51%, #080910db 17%, #080910a3 53%, transparent 80%);
    pointer-events: none;
  }
  .service-route { max-width: 550px; }
}

@media (prefers-reduced-motion: reduce) {
  .service-primary span { transition: none; }
  .service-primary:hover span { transform: none; }
}

