/* Eventor services: two spacious dotted production maps, redrawn from brand references. */
.service-routes {
  --map-orange: #ff7417;
  --map-cream: #f7f2eb;
  --map-muted: #b7ada2;
  position: relative;
  overflow: clip;
  padding: clamp(5rem, 8vw, 8rem) max(1.25rem, calc((100vw - 1280px) / 2));
  background: #080808;
  color: var(--map-cream);
}
.service-routes__intro {
  width: min(100%, 48rem);
  margin: 0 auto clamp(4.25rem, 7vw, 6.5rem);
  text-align: center;
}
.service-routes__intro h2 {
  margin: 0 0 1.1rem;
  font: 400 clamp(2.7rem, 5vw, 4.8rem)/1 "Cormorant Garamond", serif;
  letter-spacing: -.025em;
  text-wrap: balance;
}
.service-routes__intro p {
  max-width: 38rem;
  margin: 0 auto;
  color: var(--map-muted);
  font-size: clamp(.95rem, 1.2vw, 1.05rem);
  line-height: 1.7;
}
.service-routes__stack {
  display: grid;
  gap: clamp(5rem, 9vw, 9rem);
}
.service-story {
  position: relative;
  min-width: 0;
  padding-top: clamp(1.6rem, 3vw, 2.5rem);
  border-top: 1px solid #41372f;
}
.service-story__heading {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1120px;
  margin: 0 auto clamp(1.25rem, 2vw, 2rem);
  text-align: center;
}
.service-story__heading h3 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .12em .23em;
  flex: 0 1 auto;
  max-width: 100%;
  margin: 0;
  font: 500 clamp(2.35rem, 4.2vw, 3.8rem)/.95 "Cormorant Garamond", serif !important;
  letter-spacing: -.025em;
  justify-content: center;
}
#services .service-story__heading h3 span {
  font-family: inherit !important;
  font-weight: inherit;
}
#services .service-story__heading h3 strong {
  display: inline-block;
  padding: .08em .2em .12em;
  background: var(--map-orange);
  color: #080808;
  font: inherit;
  line-height: .82;
  transform: rotate(-1deg);
}
.service-story--support .service-story__heading h3 strong { transform: rotate(.8deg); }
.service-story__diagram {
  position: relative;
  width: min(100%, 1120px);
  aspect-ratio: 900 / 520;
  margin-inline: auto;
}
.service-story__drawing {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}
.service-story__drawing--mobile { display: none; }
.service-story__route,
.service-story__arrow,
.service-story__arrowhead,
.service-story__stop-ring,
.service-story__stop-core {
  vector-effect: non-scaling-stroke;
}
.service-story__route {
  fill: none;
  stroke: #fff;
  stroke-width: 7.5;
  stroke-linecap: round;
  stroke-dasharray: .003 .019;
  opacity: 1;
}
.service-story__stop {
  transition: opacity 260ms ease;
}
.service-story__stop-ring {
  fill: #080808;
  stroke: #fff;
  stroke-width: 2.4;
  transform-box: fill-box;
  transform-origin: center;
  transition: stroke 180ms ease, transform 260ms cubic-bezier(.16, 1, .3, 1);
}
.service-story__stop-core {
  fill: #fff;
  stroke: none;
  transform-box: fill-box;
  transform-origin: center;
  transition: fill 180ms ease, transform 260ms cubic-bezier(.16, 1, .3, 1);
}
.service-story__stop--major .service-story__stop-ring { stroke: var(--map-orange); }
.service-story__stop--major .service-story__stop-core { fill: var(--map-orange); }
.service-story__arrow {
  fill: none;
  stroke: var(--map-orange);
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: .96;
  transition: opacity 180ms ease, stroke-width 180ms ease;
}
.service-story__arrowhead {
  fill: none;
  stroke: var(--map-orange);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.service-story__services {
  position: absolute;
  inset: 0;
  z-index: 2;
  margin: 0;
  padding: 0;
  list-style: none;
  pointer-events: none;
}
.service-story__services li {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--w);
  min-height: 2.75rem;
  margin: 0;
  color: var(--map-cream);
  font: 700 clamp(.86rem, 1.25vw, 1.05rem)/1.3 "DM Sans", sans-serif;
  text-wrap: balance;
  transition: color 180ms ease, transform 260ms cubic-bezier(.16, 1, .3, 1);
  pointer-events: auto;
}
.service-story__services li:nth-child(even) { text-align: left; }
.service-story__services li:nth-child(odd) { text-align: right; }
.service-story__services li.is-active {
  color: var(--map-orange);
  transform: translateY(-2px);
}
.service-story:has(.service-story__services li[data-index="0"].is-active) [data-line="0"],
.service-story:has(.service-story__services li[data-index="1"].is-active) [data-line="1"],
.service-story:has(.service-story__services li[data-index="2"].is-active) [data-line="2"],
.service-story:has(.service-story__services li[data-index="3"].is-active) [data-line="3"],
.service-story:has(.service-story__services li[data-index="4"].is-active) [data-line="4"],
.service-story:has(.service-story__services li[data-index="5"].is-active) [data-line="5"] {
  opacity: 1;
  stroke-width: 2.6;
}
.service-story__arrow.is-active {
  opacity: 1;
  stroke-width: 2.6;
}
.service-story:has(.service-story__services li[data-index="0"].is-active) [data-node="0"],
.service-story:has(.service-story__services li[data-index="1"].is-active) [data-node="1"],
.service-story:has(.service-story__services li[data-index="2"].is-active) [data-node="2"],
.service-story:has(.service-story__services li[data-index="3"].is-active) [data-node="3"],
.service-story:has(.service-story__services li[data-index="4"].is-active) [data-node="4"],
.service-story:has(.service-story__services li[data-index="5"].is-active) [data-node="5"] {
  opacity: 1;
}
.service-story:has(.service-story__services li[data-index="0"].is-active) [data-node="0"] .service-story__stop-ring,
.service-story:has(.service-story__services li[data-index="1"].is-active) [data-node="1"] .service-story__stop-ring,
.service-story:has(.service-story__services li[data-index="2"].is-active) [data-node="2"] .service-story__stop-ring,
.service-story:has(.service-story__services li[data-index="3"].is-active) [data-node="3"] .service-story__stop-ring,
.service-story:has(.service-story__services li[data-index="4"].is-active) [data-node="4"] .service-story__stop-ring,
.service-story:has(.service-story__services li[data-index="5"].is-active) [data-node="5"] .service-story__stop-ring {
  stroke: var(--map-orange);
  transform: scale(1.18);
}
.service-story__stop.is-active .service-story__stop-ring {
  stroke: var(--map-orange);
  transform: scale(1.18);
}
.service-story:has(.service-story__services li[data-index="0"].is-active) [data-node="0"] .service-story__stop-core,
.service-story:has(.service-story__services li[data-index="1"].is-active) [data-node="1"] .service-story__stop-core,
.service-story:has(.service-story__services li[data-index="2"].is-active) [data-node="2"] .service-story__stop-core,
.service-story:has(.service-story__services li[data-index="3"].is-active) [data-node="3"] .service-story__stop-core,
.service-story:has(.service-story__services li[data-index="4"].is-active) [data-node="4"] .service-story__stop-core,
.service-story:has(.service-story__services li[data-index="5"].is-active) [data-node="5"] .service-story__stop-core {
  fill: var(--map-orange);
  transform: scale(1.18);
}
.service-story__stop.is-active .service-story__stop-core {
  fill: var(--map-orange);
  transform: scale(1.18);
}
@media (hover: hover) {
  .service-story__services li:hover { color: var(--map-orange); transform: translateY(-2px); }
}
@media (min-width: 769px) and (min-height: 601px), (min-width: 1025px) {
  .service-story__services li {
    display: flex;
    align-items: center;
    top: var(--y);
    min-height: 44px;
    transform: translateY(-50%);
  }
  .service-story__services li:nth-child(odd) { justify-content: flex-end; }
  .service-story__services li:nth-child(even) { justify-content: flex-start; }
  .service-story__services li.is-active,
  .service-story__services li:hover { transform: translateY(calc(-50% - 2px)); }
}
.service-story.is-awake .service-story__route {
  animation: routeSettle 900ms cubic-bezier(.16, 1, .3, 1) both;
}
.service-story.is-awake .service-story__stop {
  animation: stopSettle 520ms cubic-bezier(.16, 1, .3, 1) both;
}
.service-story.is-awake .service-story__stop:nth-of-type(2) { animation-delay: 80ms; }
.service-story.is-awake .service-story__stop:nth-of-type(3) { animation-delay: 140ms; }
.service-story.is-awake .service-story__stop:nth-of-type(4) { animation-delay: 200ms; }
.service-story.is-awake .service-story__stop:nth-of-type(5) { animation-delay: 260ms; }
.service-story.is-awake .service-story__stop:nth-of-type(6) { animation-delay: 320ms; }
@keyframes routeSettle {
  from { opacity: .32; stroke-dashoffset: .22; }
  to { opacity: 1; stroke-dashoffset: 0; }
}
@keyframes stopSettle {
  from { opacity: .1; }
  to { opacity: 1; }
}
@media (max-width: 768px), (max-width: 1024px) and (max-height: 600px) {
  .service-routes { padding: 4.5rem max(1.1rem, env(safe-area-inset-left)) 5rem; }
  .service-routes__intro { margin-bottom: 3.75rem; }
  .service-routes__intro h2 { font-size: clamp(2.45rem, 12.5vw, 3.9rem); }
  .service-routes__stack { gap: 5.5rem; }
  .service-story { padding-top: 1.5rem; }
  .service-story__heading {
    display: flex;
    margin-bottom: 1.5rem;
  }
  .service-story__heading h3 { font-size: clamp(2.2rem, 10.5vw, 3.3rem) !important; }
  .service-story__diagram {
    width: 100%;
    height: clamp(29rem, 145vw, 35rem);
    aspect-ratio: auto;
  }
  .service-story__drawing--desktop { display: none; }
  .service-story__drawing--mobile { display: block; }
  .service-story__services li {
    width: 32% !important;
    min-height: 44px;
    font-size: clamp(.75rem, 3.5vw, .92rem);
    display: flex;
    align-items: center;
  }
  .service-story__services li:nth-child(odd) { left: 0 !important; text-align: right; justify-content: flex-end; }
  .service-story__services li:nth-child(even) { left: 72% !important; text-align: left; justify-content: flex-start; width: 28% !important; }
  .service-story__services li:nth-child(1) { top: 6% !important; }
  .service-story__services li:nth-child(2) { top: 21% !important; }
  .service-story__services li:nth-child(3) { top: 37% !important; }
  .service-story__services li:nth-child(4) { top: 53% !important; }
  .service-story__services li:nth-child(5) { top: 69% !important; }
  .service-story__services li:nth-child(6) { top: 85% !important; }
  .service-story--people .service-story__services li:nth-child(2) { left: 69.068% !important; top: 23.579% !important; }
  .service-story--people .service-story__services li:nth-child(3) { left: -2.483% !important; top: 37.587% !important; }
  .service-story--people .service-story__services li:nth-child(4) { left: 72.802% !important; top: 54.466% !important; }
  .service-story--people .service-story__services li:nth-child(5) { left: -1.4% !important; top: 70.2% !important; }
  .service-story--people .service-story__services li:nth-child(6) { left: 69.2% !important; }
  .service-story--support .service-story__services li:nth-child(2) { left: 72.235% !important; top: 22.045% !important; }
  .service-story--support .service-story__services li:nth-child(3) { left: -1.4% !important; top: 38.2% !important; }
  .service-story--support .service-story__services li:nth-child(4) { left: 74.299% !important; top: 55.755% !important; }
  .service-story--support .service-story__services li:nth-child(5) { left: -4.182% !important; top: 71.243% !important; }
  .service-story--support .service-story__services li:nth-child(6) { left: 69.2% !important; }
  .service-story__route { stroke-width: 6; }
  .service-story__arrow { stroke-width: 1.5; }

  /* Touch scrolling stays purely native: labels and SVG stops are static. */
  .service-story__services li { pointer-events: none; transition: none; }
  .service-story__arrow,
  .service-story__stop,
  .service-story__stop-ring,
  .service-story__stop-core { transition: none; }
  .service-story.is-awake .service-story__route,
  .service-story.is-awake .service-story__stop { animation: none; }
}
@media (max-width: 350px) {
  .service-story__services li { font-size: .72rem; }
  .service-story__heading h3 { font-size: 2.15rem !important; }
}
@media (prefers-reduced-motion: reduce) {
  .service-story.is-awake .service-story__route,
  .service-story.is-awake .service-story__stop { animation: none; }
  .service-story__services li,
  .service-story__arrow,
  .service-story__stop,
  .service-story__stop-ring,
  .service-story__stop-core { transition: none; }
}

/* Phone landscape uses the wide route drawing instead of stretching the
   portrait map. Interactions remain static, so this costs no scroll-time work. */
@media (orientation: landscape) and (max-width: 1024px) and (max-height: 600px) {
  .service-routes {
    padding: 3.5rem max(1.5rem, env(safe-area-inset-left)) 4.5rem;
  }

  .service-routes__intro {
    width: min(100%, 44rem);
    margin-bottom: 3rem;
  }

  .service-routes__intro h2 {
    font-size: clamp(2.6rem, 6.5vw, 4rem);
  }

  .service-routes__intro p {
    font-size: clamp(.86rem, 1.8vw, 1rem);
    line-height: 1.55;
  }

  .service-routes__stack {
    gap: 4.5rem;
  }

  .service-story {
    padding-top: 1.25rem;
  }

  .service-story__heading {
    margin-bottom: 1rem;
  }

  .service-story__heading h3 {
    font-size: clamp(2.25rem, 5vw, 3.4rem) !important;
  }

  .service-story__diagram {
    width: min(100%, 960px);
    height: auto;
    aspect-ratio: 900 / 520;
  }

  .service-story__drawing--desktop {
    display: block;
  }

  .service-story__drawing--mobile {
    display: none;
  }

  #services .service-story .service-story__services li {
    left: var(--x) !important;
    top: var(--y) !important;
    width: var(--w) !important;
    min-height: 44px;
    font-size: clamp(.72rem, 1.65vw, .95rem);
    transform: translateY(-50%) !important;
  }

  #services .service-story .service-story__services li:nth-child(odd) {
    justify-content: flex-end;
    text-align: right;
  }

  #services .service-story .service-story__services li:nth-child(even) {
    justify-content: flex-start;
    text-align: left;
  }
}
