/* ActiveZone services v4 — scoped port of preview services.css (SoT SHA DC9315EA…).
   DENY preview-tools / context-only / p2 / global :root * html body button a [hidden] color-scheme.
   Tokens + type live on #services.s3. Sole page-global: ::selection. */
::selection {
  background: #ff6200;
  color: #0a0a0a;
  text-shadow: none;
}

#services.s3 {
  --orange: #ff6200;
  --ink: #0a0a0a;
  --paper: #f4f1e9;
  --muted: #b9bfbd;
  --brand-dot-size: 9px;
  --body: "Commissioner", sans-serif;
  --display: "Geologica", sans-serif;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
  padding: 76px 0 64px;
  position: relative;
  isolation: isolate;
  scroll-margin-top: 0;
}

#services.s3,
#services.s3 *,
#services.s3 *::before,
#services.s3 *::after {
  box-sizing: border-box;
}

#services.s3 button,
#services.s3 a {
  -webkit-tap-highlight-color: transparent;
}

#services.s3 button {
  font: inherit;
}

#services.s3 button:focus-visible,
#services.s3 a:focus-visible,
#services.s3 [tabindex="0"]:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 6px;
}

#services.s3 [hidden] {
  display: none !important;
}

#services.s3 .brand-dot {
  display: block;
  flex: none;
  width: var(--brand-dot-size);
  height: var(--brand-dot-size);
  border-radius: 50%;
  background: var(--orange);
}

#services.s3 .brand-rule {
  display: block;
  overflow: visible;
  flex: 1 1 0;
  min-width: 0;
  width: 0;
  height: 16px;
  color: var(--orange);
}

#services.s3 .brand-rule path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.35;
}

#services.s3 .brand-rule circle {
  fill: currentColor;
}

#services.s3 .brand-exclaim {
  display: block;
  fill: var(--orange);
  width: 36px;
  height: 100px;
}

#services.s3 .brand-exclaim__stem {
  transform-box: fill-box;
  transform-origin: 50% 100%;
}

#services.s3.motion-ready .brand-exclaim:not(.is-drawn) .brand-exclaim__stem {
  transform: scaleY(0);
}

#services.s3 .brand-exclaim.is-drawn .brand-exclaim__stem {
  animation: az-s3-exclaim-grow .6s cubic-bezier(.2, .75, .3, 1) both;
}

#services.s3 .s3__wrap {
  width: min(1200px, calc(100% - 64px));
  margin-inline: auto;
}

#services.s3 .s3__header {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 24px 64px;
  align-items: end;
}

#services.s3 .s3__eyebrow {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

#services.s3 h2 {
  font: 300 clamp(44px, 3.9vw, 56px) / 1.08 var(--display);
  letter-spacing: -.045em;
  margin: 0;
  text-wrap: pretty;
}

#services.s3 h2 .s3__highlight {
  color: #fff;
  position: relative;
  z-index: 0;
  display: table;
  max-width: 100%;
  padding: .04em 0 .09em;
  margin: .02em 0 -.09em;
  isolation: isolate;
}

#services.s3 .s3__highlight::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: .02em -.10em .02em -.10em;
  background: url("../assets/prototype/accent-brush-orange.svg") center / 100% 100% no-repeat;
  transform: rotate(-1deg);
  pointer-events: none;
}

#services.s3 .s3__lead {
  font-size: 17px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0 0 4px;
  max-width: 440px;
}

#services.s3 .s3__selector {
  display: none;
}

#services.s3.is-interactive .s3__selector {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: 48px;
  border-top: 1px solid #38332f;
  border-bottom: 1px solid #38332f;
  gap: 26px;
}

#services.s3 .s3__tab {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 17px;
  align-items: flex-start;
  text-align: left;
  border: 0;
  background: none;
  color: #b9bfbd;
  padding: 25px 0 25px;
  min-width: 0;
  cursor: pointer;
  font: 400 17px / 1.3 var(--display);
  letter-spacing: -.025em;
}

#services.s3 .s3__tab-number {
  font: 300 54px / .9 var(--display);
  letter-spacing: -.055em;
  color: var(--orange);
}

#services.s3 .s3__tab:hover,
#services.s3 .s3__tab[aria-selected="true"] {
  color: var(--paper);
}

#services.s3 .s3__tab:hover .s3__tab-number,
#services.s3 .s3__tab[aria-selected="true"] .s3__tab-number {
  color: var(--orange);
}

#services.s3 .s3__tab-marker {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  opacity: 0;
}

#services.s3 .s3__tab-marker::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left center;
}

#services.s3 .s3__tab-marker::after {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: var(--brand-dot-size);
  height: var(--brand-dot-size);
  border-radius: 50%;
  background: var(--orange);
  transform: translate(-50%, -50%);
}

#services.s3 .s3__tab[aria-selected="true"] .s3__tab-marker {
  opacity: 1;
}

#services.s3 .s3__tab[aria-selected="true"] .s3__tab-marker::before {
  transform: scaleX(1);
  transition: transform .45s cubic-bezier(.2, .75, .3, 1);
}

#services.s3 .s3__tab[aria-selected="true"] .s3__tab-marker::after {
  left: 100%;
  transition: left .45s cubic-bezier(.2, .75, .3, 1);
}

#services.s3 .s3__body {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(0, 1fr);
  gap: 58px;
  align-items: center;
  margin-top: 24px;
}

#services.s3 .s3__visual {
  position: relative;
  margin: 0;
  min-width: 0;
  align-self: center;
}

#services.s3 .s3__scene {
  aspect-ratio: 720 / 600;
  position: relative;
  width: calc(100% + 20px);
  margin-left: -10px;
}

#services.s3 .system {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}

#services.s3 .system path {
  stroke-linecap: round;
  stroke-linejoin: round;
}

#services.s3 .system__circle {
  fill: var(--orange);
}

#services.s3 .system__paper {
  fill: var(--paper);
  stroke: #151515;
  stroke-width: 2.5;
}

#services.s3 .system__ink-line {
  fill: none;
  stroke: #20201f;
  stroke-width: 2;
}

#services.s3 .system__white-line {
  fill: none;
  stroke: var(--paper);
  stroke-width: 2.5;
}

#services.s3 .system__orange-line {
  fill: none;
  stroke: var(--orange);
  stroke-width: 2.5;
}

#services.s3 .system__route-bed {
  fill: none;
  stroke: var(--ink);
  stroke-width: 6;
}

#services.s3 .system__dark-paper {
  fill: #101010;
  stroke: var(--paper);
  stroke-width: 1.8;
}

#services.s3 .system__tiny {
  fill: #20201f;
  font: 500 10px var(--display);
  letter-spacing: 1.1px;
}

#services.s3 .system__site-title {
  fill: #151515;
  font: 400 30px var(--display);
  letter-spacing: -1px;
}

#services.s3 .system__button-label {
  fill: #151515;
  font: 500 10px var(--body);
}

#services.s3 .system__label {
  fill: var(--paper);
  font: 400 15px var(--body);
}

#services.s3 .system__traveller {
  fill: var(--orange);
  stroke: none;
}

#services.s3 .system__arrow {
  fill: none;
  stroke: var(--orange);
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
}

#services.s3 .system__arrow-bed {
  fill: none;
  stroke: var(--ink);
  stroke-width: 5.5;
  vector-effect: non-scaling-stroke;
}

#services.s3 .system__arrow[data-arrow="1"] {
  stroke: #20201f;
}

#services.s3 .system__result-label {
  fill: #111;
  font: 400 23px var(--display);
  letter-spacing: -.7px;
}

#services.s3 .system__ground {
  stroke: #bbb8b0;
  stroke-width: 1.5;
  fill: none;
}

#services.s3 .system__exclaim-stem {
  transform-box: fill-box;
  transform-origin: center bottom;
}

#services.s3 .system [data-layer] {
  opacity: 1;
  transition: opacity .35s ease;
}

#services.s3 .system__result {
  opacity: 1;
}

#services.s3.motion-ready .system__exclaim-stem {
  transform: scaleY(0);
}

#services.s3 .system__exclaim-dot {
  opacity: 1;
}

#services.s3 .system.is-complete [data-layer].is-muted {
  opacity: .68;
}

#services.s3 .system.is-complete [data-layer="1"].is-muted {
  opacity: 1;
}

#services.s3 .s3__caption {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  line-height: 1.45;
  color: var(--muted);
  margin: 0 0 0 60px;
}

#services.s3 .s3__reading {
  min-width: 0;
  padding: 30px 0 26px;
}

#services.s3 .s3__list {
  min-width: 0;
}

#services.s3 .service {
  min-width: 0;
  margin: 0;
  padding: 25px 0;
}

#services.s3 .service h3 {
  margin: 0 0 25px;
  font: 300 clamp(29px, 2.5vw, 36px) / 1.12 var(--display);
  letter-spacing: -.04em;
  text-wrap: pretty;
  max-width: 510px;
}

#services.s3 .service > p {
  font-size: 17px;
  line-height: 1.65;
  color: var(--muted);
  margin: 0;
  max-width: 510px;
}

#services.s3 .service > .service__tags {
  font-size: 13px;
  line-height: 1.8;
  color: #e6e4dc;
  margin-top: 24px;
  max-width: 480px;
}

#services.s3 .service__tags .service__separator {
  display: inline-block;
  width: var(--brand-dot-size);
  height: var(--brand-dot-size);
  padding: 0;
  margin-inline: 5px;
  vertical-align: middle;
  border-radius: 50%;
  background: var(--orange);
  font-size: 0;
  line-height: 0;
}

#services.s3.is-interactive .s3__list {
  display: grid;
}

#services.s3.is-interactive .service {
  grid-area: 1 / 1;
  padding: 0;
  visibility: hidden;
  pointer-events: none;
}

#services.s3.is-interactive .service.is-active {
  visibility: visible;
  pointer-events: auto;
}

#services.s3.motion-ready.is-interactive .service.is-active {
  animation: az-s3-service-enter .4s ease both;
}

#services.s3 .s3__browse {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 27px;
  padding-top: 18px;
  border-top: 1px solid #38332f;
}

#services.s3 .s3__current {
  font: 300 24px / 1 var(--display);
  color: var(--orange);
  letter-spacing: -.04em;
}

#services.s3 .s3__current span {
  font: 400 12px var(--body);
  color: var(--muted);
  margin-left: 5px;
  letter-spacing: 0;
}

#services.s3 .s3__browse > div {
  display: flex;
  gap: 12px;
}

#services.s3 .s3__browse button {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid #5b5752;
  background: transparent;
  border-radius: 50%;
  color: var(--paper);
  cursor: pointer;
  transition: background .2s, border-color .2s, color .2s;
}

#services.s3 .s3__browse button:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--ink);
}

#services.s3 .s3__browse svg {
  width: 24px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

#services.s3 .s3__formats {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  max-width: 850px;
  margin: 34px 0 40px;
}

#services.s3 .s3__formats .brand-dot {
  margin-top: 9px;
}

#services.s3 .s3__formats p {
  margin: 0;
  font-size: 18px;
  line-height: 1.55;
  color: var(--muted);
}

#services.s3 .s3__outro {
  border-top: 1px solid #7d390f;
  padding-top: 35px;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 30px;
  align-items: start;
}

#services.s3 .s3__outro > .brand-exclaim {
  justify-self: center;
  width: 25px;
  height: 70px;
  margin-top: 5px;
}

#services.s3.motion-ready .s3__outro .brand-exclaim.is-drawn .brand-exclaim__stem {
  animation: az-s3-outro-exclaim-loop 3.6s linear infinite;
}

#services.s3 .s3__outro p {
  font: 300 30px / 1.3 var(--display);
  letter-spacing: -.035em;
  margin: 0;
  max-width: 1000px;
}

#services.s3 .s3__outro p span {
  color: var(--orange);
}

#services.s3 .s3__outro .s3__outro-small {
  font: 400 16px / 1.55 var(--body);
  letter-spacing: 0;
  color: var(--muted);
  margin-top: 16px;
}

@keyframes az-s3-exclaim-grow {
  from { transform: scaleY(0); }
  to { transform: scaleY(1); }
}

@keyframes az-s3-outro-exclaim-loop {
  0%, 14% { transform: scaleY(0); }
  32%, 78% { transform: scaleY(1); }
  88%, 100% { transform: scaleY(0); }
}

@keyframes az-s3-service-enter {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (min-width: 1025px) and (max-width: 1365px) {
  #services.s3 { padding-top: 64px; }
  #services.s3 .s3__header { gap: 22px 44px; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); }
  #services.s3 h2 { font-size: 46px; }
  #services.s3 .s3__lead { font-size: 16px; }
  #services.s3.is-interactive .s3__selector { gap: 18px; margin-top: 38px; }
  #services.s3 .s3__tab { font-size: 15px; gap: 10px; }
  #services.s3 .s3__body { gap: 36px; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); }
  #services.s3 .service > p { font-size: 16px; }
  #services.s3 .service h3 { font-size: 31px; }
  #services.s3 .s3__caption { margin-left: 30px; }
}

@media (min-width: 601px) and (max-width: 1024px) {
  #services.s3 { padding: 56px 0; }
  #services.s3 .s3__wrap { width: calc(100% - 48px); }
  #services.s3 .s3__header { display: block; }
  #services.s3 .s3__eyebrow { margin-bottom: 24px; }
  #services.s3 h2 { font-size: 46px; max-width: 780px; }
  #services.s3 .s3__lead { max-width: 720px; margin-top: 24px; font-size: 17px; }
  #services.s3.is-interactive .s3__selector { margin-top: 36px; gap: 17px; }
  #services.s3 .s3__tab { font-size: 14px; padding: 21px 0; gap: 15px; }
  #services.s3 .s3__tab-number { font-size: 42px; }
  #services.s3 .s3__body { gap: 24px; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); align-items: center; }
  #services.s3 .s3__scene { width: calc(100% + 12px); margin-left: -6px; }
  #services.s3 .s3__caption { margin: 10px 8px 0; font-size: 11px; gap: 7px; }
  #services.s3 .s3__reading { padding-top: 22px; }
  #services.s3 .service h3 { font-size: 27px; line-height: 1.14; margin-bottom: 20px; }
  #services.s3 .service > p { font-size: 16px; line-height: 1.6; }
  #services.s3 .service > .service__tags { font-size: 12px; line-height: 1.7; margin-top: 20px; }
  #services.s3 .s3__browse { margin-top: 22px; }
  #services.s3 .s3__formats { margin-top: 26px; }
  #services.s3 .s3__outro p { font-size: 28px; }
}

@media (max-width: 1024px) {
  #services.s3 .s3__title-break { display: none; }
}

@media (min-width: 601px) and (max-width: 767px) {
  #services.s3 .s3__body { grid-template-columns: minmax(0, 1fr); gap: 22px; margin-top: 32px; }
  #services.s3 .s3__reading { order: -1; padding: 0; }
  #services.s3 .s3__visual { width: min(440px, 100%); justify-self: center; }
  #services.s3 .s3__scene { width: 100%; margin: 0; }
  #services.s3 .s3__caption { justify-content: center; }
  #services.s3 .service h3 { font-size: 30px; max-width: 520px; }
  #services.s3 .service > p,
  #services.s3 .service > .service__tags { max-width: none; }
  #services.s3 .s3__formats { margin-top: 32px; }
}

@media (max-width: 600px) {
  #services.s3 { padding: 45px 0 46px; }
  #services.s3 .s3__wrap { width: calc(100% - 40px); }
  #services.s3 .s3__header { display: block; }
  #services.s3 .s3__eyebrow { font-size: 11px; gap: 8px; margin-bottom: 22px; }
  #services.s3 h2 { font-size: clamp(30px, 8.5vw, 42px); line-height: 1.1; letter-spacing: -.045em; }
  #services.s3 .s3__lead { font-size: 16px; line-height: 1.6; margin-top: 24px; max-width: none; }
  #services.s3.is-interactive .s3__selector { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 22px; margin-top: 30px; border-bottom: 0; }
  #services.s3 .s3__tab { font-size: 13px; line-height: 1.4; gap: 12px; padding: 19px 0; align-items: flex-start; border-bottom: 1px solid #38332f; }
  #services.s3 .s3__tab:last-child { grid-column: 1 / -1; flex-direction: row; align-items: center; }
  #services.s3 .s3__tab-number { font-size: 30px; }
  #services.s3 .s3__tab-marker { bottom: -1px; }
  #services.s3 .s3__tab:last-child .s3__tab-marker { right: calc(50% + 11px); }
  #services.s3 .s3__body { display: flex; flex-direction: column; gap: 24px; margin-top: 28px; }
  #services.s3 .s3__reading { order: -1; padding: 0; width: 100%; }
  #services.s3 .service h3 { font-size: 29px; line-height: 1.15; margin-bottom: 20px; }
  #services.s3 .service > p { font-size: 16px; line-height: 1.6; }
  #services.s3 .service > .service__tags { font-size: 12px; line-height: 1.8; margin-top: 22px; }
  #services.s3 .s3__browse { margin-top: 24px; padding-top: 15px; }
  #services.s3 .s3__browse button { width: 44px; height: 44px; }
  #services.s3 .s3__visual { width: 100%; max-width: 460px; }
  #services.s3 .s3__scene { width: 100%; margin: 0; }
  #services.s3 .s3__caption { justify-content: center; margin: 8px 0 0; font-size: 11px; }
  #services.s3 .s3__formats { gap: 12px; margin: 30px 0; }
  #services.s3 .s3__formats p { font-size: 16px; line-height: 1.6; }
  #services.s3 .s3__formats .brand-dot { margin-top: 8px; }
  #services.s3 .s3__outro { grid-template-columns: 22px minmax(0, 1fr); gap: 16px; padding-top: 30px; }
  #services.s3 .s3__outro > .brand-exclaim { width: 22px; height: 61px; margin-top: 0; }
  #services.s3 .s3__outro p { font-size: 25px; line-height: 1.25; }
  #services.s3 .s3__outro .s3__outro-small { font-size: 15px; line-height: 1.55; margin-top: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  #services.s3,
  #services.s3 *,
  #services.s3 *::before,
  #services.s3 *::after {
    animation: none !important;
    transition: none !important;
  }
  #services.s3 .brand-exclaim__stem,
  #services.s3 .system__exclaim-stem {
    transform: none !important;
  }
  #services.s3 .system [data-layer],
  #services.s3 .system__result {
    opacity: 1 !important;
  }
}

@media print {
  #services.s3 .s3__selector,
  #services.s3 .s3__browse {
    display: none !important;
  }
  #services.s3.is-interactive .s3__list {
    display: block;
  }
  #services.s3.is-interactive .service {
    visibility: visible !important;
    padding: 20px 0;
  }
  #services.s3 .system [data-layer],
  #services.s3 .system__result {
    opacity: 1 !important;
  }
}
