@font-face {
  font-family: "Lusion Aeonik Transfer";
  src: url("media/services-lusion/Aeonik-Regular.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

@font-face {
  font-family: "Lusion Plex Transfer";
  src: url("media/services-lusion/IBMPlexMono-Medium.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 500;
}

@font-face {
  font-family: "PrintGats Newsreader";
  src: url("media/fonts/newsreader-latin.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 300 700;
}

/* Preserve the scene counter hook for motion.js, but remove the visible 1 / 4 UI. */
.home-page .scene-counter {
  display: none !important;
}

.lusion-card-canvas {
  border: 0;
  height: 100%;
  inset: 0;
  margin: 0;
  overflow: hidden;
  padding: 0;
  pointer-events: none;
  position: fixed;
  width: 100%;
  z-index: 22;
}

.services-overview {
  --lusion-card-radius: 20px;
  --services-accent: #ff5a36;
  --services-bg: #fff;
  --services-fg: #111312;
  --services-entry-seam: rgba(5, 6, 7, .58);
  --services-entry-depth: clamp(11rem, 28svh, 18rem);
  /* Reveal the fixed Ejemplos backdrop through the handoff, then resolve into Services. */
  background: linear-gradient(
    180deg,
    transparent 0,
    transparent calc(var(--services-entry-depth) - 1px),
    var(--services-bg) var(--services-entry-depth),
    var(--services-bg) 100%
  );
  color: var(--services-fg);
  isolation: isolate;
  overflow: clip;
  /* The heading meets the end of the handoff, with no extra blank band. */
  padding: var(--services-entry-depth) max(5vw, 40px) clamp(6rem, 10vw, 11rem);
  position: relative;
  width: 100%;
}

.services-overview__seam {
  background: linear-gradient(
    180deg,
    var(--services-entry-seam) 0,
    var(--services-entry-seam) 22%,
    rgba(255, 255, 255, .98) 82%,
    rgba(255, 255, 255, 0) 100%
  );
  height: var(--services-entry-depth);
  inset: 0 0 auto;
  pointer-events: none;
  position: absolute;
  z-index: 24;
}

.services-overview__main {
  margin-inline: auto;
  position: relative;
  z-index: 25;
}

.services-overview__intro {
  align-items: end;
  display: grid;
  gap: 1rem 2vw;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  margin-bottom: clamp(3rem, 8vh, 6.5rem);
}

.services-overview__intro h2 {
  font-family: "PrintGats Newsreader", Newsreader, serif;
  font-size: clamp(5.5rem, 12vw, 13rem);
  font-weight: 450;
  grid-column: 1 / span 7;
  letter-spacing: -.06em;
  line-height: .7;
  margin: 0;
}

.services-overview__summary {
  font-family: "Lusion Plex Transfer", ui-monospace, monospace;
  font-size: clamp(.72rem, .88vw, .98rem);
  grid-column: 9 / -1;
  letter-spacing: .065em;
  line-height: 1.45;
  margin: 0 0 .15em;
  max-width: 31rem;
  text-transform: uppercase;
}

.service-card-grid {
  column-gap: 2vw;
  display: grid;
  grid-column: 1 / span 12;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  position: relative;
  row-gap: 0;
}

.service-card {
  -webkit-tap-highlight-color: transparent;
  appearance: none;
  background: transparent;
  border: 0;
  color: inherit;
  cursor: pointer;
  display: block;
  font: inherit;
  grid-column: span 6 / span 6;
  margin: 0;
  min-height: 44px;
  padding: 0;
  pointer-events: auto;
  position: relative;
  text-align: left;
  touch-action: pan-y pinch-zoom;
  width: 100%;
  z-index: 24;
}

.service-card:nth-child(n + 3) {
  margin-top: 5em;
}

.service-card__media {
  display: block;
  overflow: hidden;
  padding-top: 65%;
  position: relative;
  width: 100%;
}

.service-card__media img {
  border-radius: var(--lusion-card-radius);
  height: 100%;
  inset: 0;
  object-fit: cover;
  position: absolute;
  transition: opacity 0s;
  width: 100%;
}

.service-card[data-service-card="printing"] .service-card__media img {
  object-position: center top;
}

.service-card[data-lusion-texture-ready="true"] .service-card__media img {
  opacity: 0;
}

.services-overview.is-reel-backdrop .service-card[data-lusion-texture-ready="true"] .service-card__media img {
  opacity: 1;
}

.services-overview.is-reel-backdrop .service-card.is-reel-source-hidden .service-card__media img {
  opacity: 0;
}

.service-card__copy {
  display: block;
  font-family: "Lusion Aeonik Transfer", Inter, sans-serif;
  position: relative;
  width: 100%;
  z-index: 25;
}

/* The card runtime needs this node to orchestrate the entrance. Keep it
   available to the animation without showing the old card number. */
.service-card__meta-runtime {
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.service-card__line-2 {
  display: block;
  font-size: 3vw;
  height: 1.34em;
  left: -.06em;
  margin-top: 1.15em;
  overflow: hidden;
  position: relative;
  width: 100%;
  will-change: transform;
}

.service-card__line-2 > strong {
  align-items: flex-start;
  display: flex;
  font-style: normal;
  font-weight: 400;
  height: 1.28em;
  line-height: 1.14;
  overflow: hidden;
  padding-left: 0;
  position: relative;
  bottom: 0;
  padding-block: .06em .12em;
  white-space: nowrap;
}

.service-card__copy .sr-only {
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.service-card__title-letter {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  height: 1.14em;
  line-height: 1.14;
  transform: translateY(-400%);
  will-change: transform;
}

.service-card__title-letter.is-space {
  width: .3em;
}

.service-card__title-letter > span {
  display: block;
  flex: 0 0 1.14em;
  height: 1.14em;
  line-height: 1.14;
}

.service-card__line-2 > i {
  background: url("media/services-lusion/arrow-right.svg") center / contain no-repeat;
  display: inline-block;
  font-style: normal;
  height: .8em;
  left: -1em;
  pointer-events: none;
  position: absolute;
  text-indent: -9999px;
  top: .1em;
  transform: translateX(0);
  width: .8em;
  will-change: transform;
}

.service-card:focus-visible {
  outline: 3px solid var(--services-accent);
  outline-offset: 8px;
}

html.service-reel-open,
html.service-reel-open body {
  overflow: hidden;
}

html.service-reel-open body {
  padding-right: var(--service-scrollbar-compensation, 0px);
}

.lusion-card-canvas.is-lusion-reel {
  clip-path: none !important;
  z-index: 1001;
}

.service-reel-overlay {
  inset: 0;
  pointer-events: none;
  position: fixed;
  z-index: 1000;
}

.service-reel-overlay[hidden] {
  display: none;
}

.service-reel-overlay__shade {
  background: rgba(5, 7, 9, .58);
  backdrop-filter: blur(14px) saturate(.72) brightness(.72);
  inset: 0;
  opacity: 0;
  pointer-events: auto;
  position: absolute;
  will-change: opacity, backdrop-filter;
  z-index: 1000;
}

.service-reel-overlay__surface {
  border-radius: var(--lusion-card-radius, 20px);
  overflow: hidden;
  pointer-events: none;
  position: fixed;
  z-index: 1002;
}

.service-reel-overlay__surface[hidden] { display: none; }

.service-reel-overlay__fallback {
  height: 100%;
  inset: 0;
  object-fit: cover;
  pointer-events: none;
  position: absolute;
  width: 100%;
  z-index: 0;
}

.service-reel-overlay__panel {
  background: rgba(17, 19, 18, calc(var(--service-conversion, 0) * .98));
  color: #f6f4ec;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  position: absolute;
  z-index: 1;
}

.service-reel-overlay.is-detail-visible .service-reel-overlay__panel {
  pointer-events: auto;
}

.service-reel-overlay .lusion-card-canvas,
.service-reel-overlay .service-reel-overlay__fallback {
  filter: blur(var(--service-blur, 0)) saturate(calc(1 - var(--service-conversion, 0) * .45)) brightness(calc(1 - var(--service-conversion, 0) * .4));
}

.service-reel-overlay__scroll {
  height: 100%;
  overflow: auto;
  overscroll-behavior: contain;
  padding: clamp(5rem, 8vw, 8rem) clamp(1.5rem, 5vw, 5rem) clamp(2rem, 5vw, 5rem);
  scrollbar-width: none;
}

.service-reel-overlay__scroll::-webkit-scrollbar { display: none; }

.service-reel-overlay__back {
  align-items: center;
  appearance: none;
  background: #f6f4ec;
  border: 1px solid rgba(17, 19, 18, .15);
  border-radius: 999px;
  color: #111312;
  cursor: pointer;
  display: flex;
  font: 500 .76rem/1 "Lusion Plex Transfer", ui-monospace, monospace;
  gap: .65rem;
  min-height: 44px;
  justify-content: center;
  letter-spacing: .055em;
  opacity: var(--service-content, 0);
  padding: 0 1rem;
  pointer-events: auto;
  position: absolute;
  right: clamp(1rem, 2.5vw, 2rem);
  text-transform: uppercase;
  top: clamp(1rem, 2.5vw, 2rem);
  z-index: 3;
}

.service-reel-overlay__back:focus-visible,
.service-reel-overlay__scroll:focus-visible {
  outline: 3px solid var(--services-accent);
  outline-offset: 4px;
}

.service-reel-overlay__panel .service-detail {
  background: transparent;
  border-radius: 0;
  min-height: calc(100% + 6rem);
  padding: 0;
}

.service-reel-overlay__panel .service-detail > div {
  opacity: var(--service-content, 0);
  transform: translateY(calc((1 - var(--service-content, 0)) * 1.4rem));
}

.service-reel-overlay__panel .service-detail h3,
.service-reel-overlay__panel .service-detail p,
.service-reel-overlay__panel .service-materials,
.service-reel-overlay__panel .service-finish-compare {
  opacity: var(--service-content, 0);
}

.service-reel-overlay__panel .service-detail__finishing {
  align-items: start;
  grid-template-columns: minmax(20rem, .9fr) minmax(24rem, 1.1fr);
}

.service-reel-overlay__panel .service-detail__finishing h3 {
  font-size: clamp(3rem, 5vw, 5.5rem);
}

.service-detail-shell {
  margin-top: clamp(4rem, 8vw, 8rem);
  position: relative;
  z-index: 30;
}

.service-detail-shell[hidden],
.service-detail[hidden] {
  display: none !important;
}

.service-detail {
  background: #111312;
  border-radius: 15px;
  color: #f6f4ec;
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(0, 1fr) auto;
  min-height: min(60vh, 38rem);
  padding: clamp(2rem, 5vw, 5rem);
  position: relative;
}

.service-detail > div:first-child {
  align-self: end;
  max-width: 70rem;
}

.service-detail > .service-detail__content {
  align-self: stretch;
  display: grid;
  gap: clamp(2.5rem, 6vw, 6rem);
  max-width: none;
  min-width: 0;
  isolation: isolate;
  position: relative;
  width: 100%;
}

.service-detail__content > :not(.service-design-line):not(.service-finish-line) {
  position: relative;
  z-index: 1;
}

.service-design-line {
  height: calc(100% + 4rem);
  inset: -2rem -1rem;
  opacity: .92;
  pointer-events: none;
  position: absolute;
  width: calc(100% + 2rem);
  z-index: 0;
}

.service-design-line path {
  fill: none;
  filter: drop-shadow(0 0 10px rgba(47, 109, 246, .22));
  stroke: #2f6df6;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 7;
  vector-effect: non-scaling-stroke;
}

.service-detail__header {
  display: grid;
  gap: clamp(1rem, 2vw, 2rem);
  max-width: 66rem;
  min-width: 0;
}

.service-detail__header h3,
.service-detail__header p,
.service-detail__story,
.service-detail__specs,
.service-detail__visual {
  min-width: 0;
}

.service-detail__header small,
.service-detail__header h3,
.service-detail__header > p,
.service-detail__story section,
.service-detail__specs,
.service-detail__visual {
  opacity: var(--service-content, 1);
  transform: translateY(calc((1 - var(--service-content, 1)) * 1.25rem));
  transition: opacity .45s ease, transform .65s cubic-bezier(.2, .75, .2, 1);
}

.service-detail__header h3 { transition-delay: 40ms; }
.service-detail__header > p { transition-delay: 80ms; }
.service-detail__story section:nth-child(1) { transition-delay: 110ms; }
.service-detail__story section:nth-child(2) { transition-delay: 150ms; }
.service-detail__story section:nth-child(3) { transition-delay: 190ms; }
.service-detail__story section:nth-child(4) { transition-delay: 230ms; }
.service-detail__specs { transition-delay: 260ms; }
.service-detail__visual { transition-delay: 300ms; }

.service-detail__header > p {
  font-size: clamp(1.15rem, 1.8vw, 1.75rem);
  line-height: 1.35;
  margin: 0;
  max-width: 38em;
}

.service-detail__story {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.75rem, 4vw, 4.5rem);
}

.service-detail__story section {
  min-width: 0;
  padding: 0;
}

.service-detail__story section:nth-child(even) {
  padding-left: 0;
}

.service-detail__story span,
.service-detail__specs span,
.service-detail__visual figcaption {
  display: block;
  font-family: "Lusion Plex Transfer", ui-monospace, monospace;
  font-size: .7rem;
  letter-spacing: .08em;
  line-height: 1.4;
  text-transform: uppercase;
}

.service-detail__story span::before {
  content: "↳";
  display: inline-block;
  margin-right: .6rem;
  opacity: .55;
}

.service-detail__story p {
  font-size: clamp(.95rem, 1.2vw, 1.15rem);
  line-height: 1.5;
  margin: .85rem 0 0;
  max-width: 34em;
}

.service-detail__specs {
  align-items: start;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 0;
}

.service-detail__specs > p,
.service-detail__specs > div {
  font-size: clamp(.9rem, 1.05vw, 1.05rem);
  line-height: 1.6;
  margin: 0;
  max-width: 45rem;
}

.service-detail__specs .service-tools { margin: 0; }
.service-detail__specs .service-tools span { margin-bottom: .45rem; }

.service-detail__visual {
  margin: 0;
  width: 100%;
}

.service-detail__visual > img {
  aspect-ratio: 20 / 13;
  border-radius: 15px;
  display: block;
  object-fit: cover;
  object-position: center top;
  width: 100%;
}

.service-detail__visual figcaption {
  margin-top: .85rem;
  opacity: .68;
}

.service-detail__visual--compare .service-finish-compare {
  aspect-ratio: 20 / 13;
  width: 100%;
}

/* Each service has its own editorial rhythm inside the shared reel frame. */
.service-detail__content--design {
  grid-template-columns: minmax(0, 1.25fr) minmax(15rem, .75fr);
}

.service-detail__content--design .service-detail__header,
.service-detail__content--design .service-detail__story {
  grid-column: 1 / -1;
}

.service-detail__content--design .service-detail__specs {
  align-self: center;
  grid-column: 1;
  grid-template-columns: 1fr;
}

.service-detail__content--design .service-detail__visual {
  align-self: end;
  grid-column: 2;
  width: min(100%, 30rem);
}

.service-detail__content--printing {
  justify-items: center;
  text-align: center;
}

.service-detail__content--printing .service-detail__header {
  justify-items: center;
}

.service-detail__content--printing .service-detail__story {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  text-align: left;
}

.service-detail__content--printing .service-detail__specs {
  justify-items: center;
}

.service-detail__content--printing .service-materials {
  justify-content: center;
}

.service-detail__content--printing .service-detail__visual {
  width: min(56%, 34rem);
}

.service-detail__content--photogrammetry {
  align-items: start;
  grid-template-columns: minmax(15rem, .82fr) minmax(0, 1.18fr);
}

.service-detail__content--photogrammetry .service-detail__header {
  grid-column: 1 / -1;
}

.service-detail__content--photogrammetry .service-detail__story {
  align-self: center;
  grid-column: 2;
  grid-row: 2;
  grid-template-columns: 1fr;
}

.service-detail__content--photogrammetry .service-detail__visual {
  grid-column: 1;
  grid-row: 2;
  width: min(100%, 31rem);
}

.service-detail__content--finishing {
  align-items: center;
  grid-template-columns: minmax(0, 1fr) minmax(17rem, .72fr);
}

.service-detail__content--finishing .service-detail__header {
  grid-column: 1 / -1;
}

.service-detail__content--finishing .service-detail__story {
  grid-column: 1;
  grid-template-columns: 1fr;
}

.service-detail__content--finishing .service-detail__visual {
  grid-column: 2;
  width: min(100%, 29rem);
}

.service-detail__content--printing .service-detail__visual > img,
.service-detail__content--finishing .service-finish-compare {
  border-radius: 10px;
}

.service-detail small {
  display: block;
  font-family: "Lusion Plex Transfer", ui-monospace, monospace;
  font-size: .75rem;
  letter-spacing: .08em;
  margin-bottom: 2rem;
  text-transform: uppercase;
}

.service-detail h3 {
  font-family: "Lusion Aeonik Transfer", Inter, sans-serif;
  font-size: clamp(3rem, 7vw, 7rem);
  font-weight: 400;
  letter-spacing: -.06em;
  line-height: .9;
  margin: 0;
}

.service-detail p {
  font-size: clamp(1rem, 1.35vw, 1.35rem);
  line-height: 1.45;
  margin: 2rem 0 0;
  max-width: 42rem;
}

.service-detail > button[data-service-close] {
  align-items: center;
  align-self: start;
  appearance: none;
  background: #f6f4ec;
  border: 0;
  border-radius: 50%;
  color: #111312;
  cursor: pointer;
  display: flex;
  font-size: 1.75rem;
  height: 3.25rem;
  justify-content: center;
  line-height: 1;
  width: 3.25rem;
}

.service-detail > button[data-service-close]:focus-visible {
  outline: 3px solid var(--services-accent);
  outline-offset: 4px;
}

.service-tools {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.service-tools span {
  flex-basis: 100%;
  font-family: "Lusion Plex Transfer", ui-monospace, monospace;
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.service-materials {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: 2rem;
}

.service-materials span {
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: .88rem;
  padding: .65rem .9rem;
}

.service-detail__pending {
  border-top: 1px solid rgba(246, 244, 236, .34);
  font-family: "Lusion Plex Transfer", ui-monospace, monospace;
  font-size: .75rem !important;
  letter-spacing: .055em;
  margin-top: clamp(2rem, 5vh, 4rem) !important;
  padding-top: 1rem;
  text-transform: uppercase;
}

.service-detail__finishing {
  align-items: end;
  display: grid;
  gap: clamp(2rem, 5vw, 5rem);
  grid-template-columns: minmax(0, .8fr) minmax(18rem, 1.2fr);
  max-width: none !important;
}

.service-finish-compare {
  aspect-ratio: 4 / 3;
  border-radius: 15px;
  height: auto;
  margin: 0;
  min-height: 0;
  overflow: hidden;
  position: relative;
}

.service-finish-compare > img,
.service-finish-compare .compare-before,
.service-finish-compare .compare-before img {
  height: 100%;
  inset: 0;
  object-fit: contain;
  position: absolute;
  width: 100%;
}

.service-finish-compare .compare-before {
  clip-path: inset(0 calc(100% - var(--position)) 0 0);
}

.service-finish-compare .compare-label {
  background: #111312;
  border-radius: 999px;
  bottom: 1rem;
  color: #f6f4ec;
  font-size: .72rem;
  padding: .45rem .7rem;
  position: absolute;
  text-transform: uppercase;
  top: auto;
}

.service-finish-compare .compare-label--before { left: 1rem; }
.service-finish-compare .compare-label--after { right: 1rem; }

.service-finish-compare .compare-divider {
  background: #f6f4ec;
  height: 100%;
  left: var(--position);
  pointer-events: none;
  position: absolute;
  top: 0;
  width: 2px;
}

.service-finish-compare .compare-divider span {
  align-items: center;
  background: #f6f4ec;
  border-radius: 50%;
  color: #111312;
  display: flex;
  height: 2.75rem;
  justify-content: center;
  left: 1px;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 2.75rem;
}

.service-finish-compare input[type="range"] {
  cursor: ew-resize;
  height: 100%;
  inset: 0;
  opacity: 0;
  position: absolute;
  width: 100%;
}

.service-finish-compare input[type="range"]:focus-visible + * {
  outline: 3px solid var(--services-accent);
}

@media (min-aspect-ratio: 21 / 9) {
  .service-card:nth-child(n + 3) { margin-top: 10em; }
  .service-card__line-2 { font-size: 2vw; }
}

@media (max-width: 812px) {
  .services-overview {
    --lusion-card-radius: 10px;
    --services-entry-depth: clamp(9rem, 26svh, 14rem);
    padding: var(--services-entry-depth) 25px 7rem;
  }

  .services-overview__intro {
    display: block;
    margin-bottom: 3rem;
  }

  .services-overview__intro h2 {
    font-size: 19vw;
    letter-spacing: -.065em;
  }

  .services-overview__summary {
    font-size: .72rem;
    margin-top: 2rem;
    max-width: 28rem;
  }

  .service-card-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .service-card {
    grid-column: 1 / span 6;
  }

  .service-card:not(:first-child),
  .service-card:nth-child(n + 3) {
    margin-top: 2em;
  }

  .service-card__line-2 {
    font-size: 6.5vw;
  }

  .service-detail {
    min-height: 32rem;
    padding: 1.5rem;
  }

  .service-detail > .service-detail__content {
    gap: 2.75rem;
  }

  .service-detail__header {
    gap: 1rem;
  }

  .service-detail__header h3,
  .service-reel-overlay__panel .service-detail__header h3 {
    font-size: clamp(2.35rem, 12vw, 4rem);
    line-height: .92;
    overflow-wrap: anywhere;
  }

  .service-detail__header > p {
    font-size: 1.05rem;
  }

  .service-detail__story,
  .service-detail__specs {
    grid-template-columns: 1fr;
  }

  .service-detail__story section,
  .service-detail__story section:nth-child(even) {
    padding: 0;
  }

  .service-detail__content--design,
  .service-detail__content--photogrammetry,
  .service-detail__content--finishing {
    grid-template-columns: 1fr;
  }

  .service-detail__content--design .service-detail__header,
  .service-detail__content--design .service-detail__story,
  .service-detail__content--design .service-detail__specs,
  .service-detail__content--design .service-detail__visual,
  .service-detail__content--photogrammetry .service-detail__header,
  .service-detail__content--photogrammetry .service-detail__story,
  .service-detail__content--photogrammetry .service-detail__visual,
  .service-detail__content--finishing .service-detail__header,
  .service-detail__content--finishing .service-detail__story,
  .service-detail__content--finishing .service-detail__visual {
    grid-column: 1;
    grid-row: auto;
  }

  .service-detail__content--printing .service-detail__story {
    grid-template-columns: 1fr 1fr;
    text-align: left;
  }

  .service-detail__content--printing .service-detail__visual,
  .service-detail__content--finishing .service-detail__visual {
    justify-self: center;
    width: min(82%, 24rem);
  }

  .service-detail__content--printing .service-detail__visual > img,
  .service-detail__content--finishing .service-finish-compare {
    aspect-ratio: 20 / 13;
  }

  .service-design-line {
    inset-inline: -.5rem;
    width: calc(100% + 1rem);
  }

  .service-design-line path { stroke-width: 5; }

  .service-detail__visual > img,
  .service-detail__visual--compare .service-finish-compare {
    aspect-ratio: 4 / 3;
    border-radius: 10px;
  }

  .service-reel-overlay__surface { border-radius: 10px; }
  .service-reel-overlay__scroll { padding: 5.5rem 1.5rem 2rem; }
  .service-reel-overlay__panel .service-detail { min-height: calc(100% - 1px); }
  .service-reel-overlay__panel .service-detail__finishing { grid-template-columns: 1fr; }

  .service-detail__finishing {
    display: flex;
    flex-direction: column;
  }

  .service-finish-compare {
    width: 100%;
  }
}

@media (max-width: 400px) {
  .services-overview { padding-inline: 15px; }
  .services-overview__intro h2 { font-size: 18vw; }
}

@media (prefers-reduced-motion: reduce) {
  .lusion-card-canvas { display: none !important; }
  .service-card__media img { opacity: 1 !important; }
  .services-overview.is-reel-backdrop .service-card.is-reel-source-hidden .service-card__media img {
    opacity: 0 !important;
  }
  .service-card__title-letter,
  .service-card__line-2 > i { transform: none !important; }
  .service-card *,
  .service-detail * { scroll-behavior: auto !important; transition-duration: .001ms !important; }
  .service-reel-overlay__shade { opacity: 1; }
  .service-reel-overlay__surface,
  .service-reel-overlay__panel,
  .service-reel-overlay__panel * { transition: none !important; }
  .service-design-line path { stroke-dashoffset: 0 !important; }
  .service-finish-line path { stroke-dashoffset: 0 !important; }
}

/* Light, editorial service interiors. The reel geometry and opening choreography stay untouched. */
.service-reel-overlay__panel {
  background: rgba(241, 240, 235, calc(var(--service-conversion, 0) * .985));
  color: #171918;
}

.service-detail {
  background: #f1f0eb;
  color: #171918;
}

.service-reel-overlay__back {
  background: rgba(255, 255, 255, .72);
  border-color: rgba(17, 19, 18, .12);
  box-shadow: 0 10px 30px rgba(17, 19, 18, .08);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  backdrop-filter: blur(14px) saturate(1.1);
}

.service-detail__story span,
.service-detail__specs span,
.service-detail__visual figcaption,
.service-design-formats span,
.service-print-process span {
  color: rgba(23, 25, 24, .6);
}

.service-detail__content--design,
.service-detail__content--printing,
.service-detail__content--photogrammetry,
.service-detail__content--finishing {
  border-radius: clamp(1rem, 2vw, 1.75rem);
  margin: clamp(-1rem, -1vw, -.35rem);
  padding: clamp(1.25rem, 3vw, 3.25rem);
}

.service-detail__content--design {
  background: radial-gradient(circle at 86% 13%, rgba(255, 255, 255, .94), transparent 27%), #ecebe6;
  grid-template-columns: minmax(0, .9fr) minmax(18rem, 1.1fr);
}

.service-design-line {
  inset: -1rem;
  height: calc(100% + 2rem);
  opacity: .95;
  width: calc(100% + 2rem);
}

.service-design-line path {
  filter: drop-shadow(0 0 14px rgba(36, 101, 255, .2));
  stroke: #2465ff;
  stroke-width: 11;
}

.service-detail__content--design .service-detail__header { grid-column: 1 / -1; }

.service-design-tools {
  align-self: center;
  display: grid;
  gap: clamp(1.5rem, 3vw, 3rem);
  grid-column: 1 / -1;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 100%;
}

.service-design-tools a {
  align-items: center;
  color: inherit;
  display: grid;
  gap: .8rem;
  min-width: 0;
  text-decoration: none;
}

.service-design-tools a:first-child { justify-items: start; }
.service-design-tools a:last-child { justify-items: end; text-align: right; }

.service-design-tools img {
  display: block;
  height: clamp(3.5rem, 7vw, 6.5rem);
  max-width: min(100%, 24rem);
  object-fit: contain;
  object-position: inherit;
  width: auto;
}

.service-design-tools span,
.service-print-materials > p,
.service-design-formats span,
.service-print-process span {
  font-family: "Lusion Plex Transfer", ui-monospace, monospace;
  font-size: .7rem;
  letter-spacing: .08em;
  line-height: 1.4;
  text-transform: uppercase;
}

.service-detail__content--design .service-detail__story {
  align-self: start;
  grid-column: 1;
  grid-template-columns: 1fr;
}

.service-design-formats {
  align-self: end;
  font-size: clamp(.86rem, 1vw, 1rem) !important;
  grid-column: 2;
  line-height: 1.7 !important;
  margin: 0 !important;
  max-width: 34rem;
}

.service-design-formats span,
.service-print-process span { display: block; margin-bottom: .65rem; }

.service-detail__content--design .service-detail__visual { grid-column: 1 / -1; width: min(48%, 31rem); justify-self: end; }

.service-detail__content--printing {
  background: linear-gradient(155deg, #f7f6f1 0%, #ebe9e1 100%);
  justify-items: stretch;
  text-align: left;
}

.service-detail__content--printing .service-detail__header { justify-items: start; }

.service-print-materials {
  display: grid;
  gap: 1.4rem;
  width: 100%;
}

.service-print-materials > p { margin: 0 !important; }

.service-print-materials ol {
  align-items: end;
  display: grid;
  gap: clamp(1rem, 2vw, 2.5rem);
  grid-template-columns: repeat(5, minmax(0, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
}

.service-print-materials li {
  border-top: 1px solid rgba(23, 25, 24, .28);
  display: grid;
  gap: .55rem;
  min-width: 0;
  padding-top: .8rem;
}

.service-print-materials li:nth-child(2) { transform: translateY(-.9rem); }
.service-print-materials li:nth-child(3) { transform: translateY(-1.8rem); }
.service-print-materials li:nth-child(4) { transform: translateY(-.7rem); }

.service-print-materials strong {
  font-family: "Lusion Aeonik Transfer", Inter, sans-serif;
  font-size: clamp(1.65rem, 3vw, 3.2rem);
  font-weight: 400;
  letter-spacing: -.05em;
  line-height: 1;
}

.service-print-materials li span { font-size: clamp(.78rem, .95vw, .95rem); line-height: 1.45; }

.service-print-process {
  font-size: clamp(.9rem, 1.1vw, 1.08rem) !important;
  line-height: 1.55 !important;
  margin: 0 !important;
  max-width: 42rem;
}

.service-detail__content--printing .service-detail__visual { justify-self: end; width: min(42%, 29rem); }

.service-detail__content--photogrammetry {
  background: linear-gradient(120deg, #e8e9e7 0%, #f7f7f3 72%);
}

.service-detail__content--finishing {
  background: #eeeae1;
  gap: clamp(1.5rem, 3vw, 3rem);
  grid-template-columns: minmax(14rem, .7fr) minmax(18rem, 1.3fr);
}

.service-detail__content--finishing .service-detail__story { gap: 1.5rem; }
.service-detail__content--finishing .service-detail__visual { justify-self: end; width: min(100%, 22rem); }

.service-detail__content--finishing .service-finish-compare {
  aspect-ratio: auto;
  background: transparent;
  box-shadow: none;
  height: 100%;
  width: 100%;
}

.service-detail__content--finishing .service-finish-compare > img,
.service-detail__content--finishing .service-finish-compare .compare-before img {
  object-fit: cover;
  object-position: center;
  transform: none;
}

.service-finish-compare .compare-label {
  background: rgba(17, 19, 18, .58);
  border: 1px solid rgba(255, 255, 255, .28);
  bottom: auto;
  color: #fff;
  top: 50%;
  transform: translateY(-50%);
  -webkit-backdrop-filter: blur(12px) saturate(1.15);
  backdrop-filter: blur(12px) saturate(1.15);
}

.service-finish-compare .compare-label--before { left: .8rem; }
.service-finish-compare .compare-label--after { right: .8rem; }

@media (max-width: 812px) {
  .service-detail__content--design,
  .service-detail__content--printing,
  .service-detail__content--photogrammetry,
  .service-detail__content--finishing {
    margin: -.5rem;
    padding: 1rem;
  }

  .service-detail__content--design,
  .service-detail__content--finishing { grid-template-columns: 1fr; }

  .service-design-tools { gap: 1.5rem; grid-template-columns: 1fr; }
  .service-design-tools a:last-child { justify-items: start; text-align: left; }
  .service-design-tools img { height: clamp(3.2rem, 14vw, 5rem); max-width: 90%; }
  .service-detail__content--design .service-detail__story,
  .service-design-formats,
  .service-detail__content--design .service-detail__visual { grid-column: 1; }
  .service-detail__content--design .service-detail__visual { justify-self: end; width: min(78%, 24rem); }
  .service-design-line path { stroke-width: 8; }

  .service-print-materials ol { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-print-materials li:nth-child(n) { transform: none; }
  .service-print-materials li:last-child { grid-column: 1 / -1; }
  .service-detail__content--printing .service-detail__visual { width: min(78%, 24rem); }

  .service-detail__content--finishing .service-detail__header,
  .service-detail__content--finishing .service-detail__story,
  .service-detail__content--finishing .service-detail__visual { grid-column: 1; }
  .service-detail__content--finishing .service-detail__visual { width: min(76%, 17rem); }
}

/* Scroll-drawn finishing motif and material specimen imagery. */
.service-design-line path { stroke-width: 15; }

.service-finish-line {
  height: calc(100% + 2rem);
  inset: -1rem;
  opacity: .5;
  pointer-events: none;
  position: absolute;
  width: calc(100% + 2rem);
  z-index: 0;
}

.service-finish-line path {
  fill: none;
  filter: drop-shadow(0 0 14px rgba(177, 75, 48, .18));
  stroke: #b14b30;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 15;
  vector-effect: non-scaling-stroke;
}

.service-print-materials li img {
  aspect-ratio: 1;
  border-radius: .7rem;
  display: block;
  object-fit: cover;
  width: min(100%, 9rem);
}

.service-detail__visual--compare,
.service-finish-stage {
  overflow: visible;
  position: relative;
}

.service-finish-stage {
  aspect-ratio: 2 / 3;
  width: 100%;
}

.service-finish-stage > .compare-label {
  background: rgba(17, 19, 18, .58);
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 999px;
  box-sizing: border-box;
  color: #fff;
  font-family: "Lusion Plex Transfer", ui-monospace, monospace;
  font-size: .68rem;
  letter-spacing: .08em;
  line-height: 1;
  padding: .5rem .72rem;
  position: absolute;
  text-transform: uppercase;
  top: 50%;
  white-space: nowrap;
  writing-mode: vertical-rl;
  -webkit-backdrop-filter: blur(12px) saturate(1.15);
  backdrop-filter: blur(12px) saturate(1.15);
}

.service-finish-stage > .compare-label--before {
  left: -.55rem;
  transform: translate(-100%, -50%) rotate(180deg);
}

.service-finish-stage > .compare-label--after {
  right: -.55rem;
  transform: translate(100%, -50%);
}

@media (max-width: 812px) {
  .service-design-line path,
  .service-finish-line path { stroke-width: 11; }
  .service-print-materials li img { width: min(100%, 7rem); }
}

@media (prefers-reduced-motion: reduce) {
  .service-finish-line path { stroke-dashoffset: 0 !important; }
}

/* Printing opens on the material library: all five specimens remain above the
   fold inside the existing reel geometry. Later process/image content scrolls. */
.service-detail__content--printing {
  align-content: start;
  gap: clamp(.85rem, 1.5vw, 1.35rem);
  padding: clamp(1rem, 2vw, 1.75rem);
}

.service-detail__content--printing .service-detail__header {
  align-items: end;
  column-gap: clamp(1.25rem, 3vw, 3.5rem);
  grid-template-columns: minmax(15rem, auto) minmax(16rem, 1fr);
  row-gap: .45rem;
}

.service-detail__content--printing .service-detail__header small {
  grid-column: 1 / -1;
  margin: 0 0 .1rem;
}

.service-detail__content--printing .service-detail__header h3 {
  font-size: clamp(3rem, 5vw, 5.25rem);
  line-height: .92;
  margin: 0;
}

.service-detail__content--printing .service-detail__header > p {
  font-size: clamp(.95rem, 1.25vw, 1.15rem);
  line-height: 1.35;
  margin: 0;
  max-width: 34rem;
}

.service-print-materials { gap: .6rem; }
.service-print-materials ol { align-items: start; gap: clamp(.65rem, 1.35vw, 1.35rem); }
.service-print-materials li { gap: .32rem; padding-top: .45rem; transform: none !important; }
.service-print-materials li img { border-radius: .55rem; width: min(100%, 6.25rem); }
.service-print-materials strong { font-size: clamp(1.15rem, 1.8vw, 1.75rem); }
.service-print-materials li span { font-size: clamp(.68rem, .75vw, .78rem); line-height: 1.3; }
.service-print-material-notes { display: none; }

@media (max-width: 812px) {
  .service-detail__content--printing {
    gap: .7rem;
    padding: .8rem;
  }

  .service-detail__content--printing .service-detail__header {
    display: grid;
    gap: .42rem;
    grid-template-columns: 1fr;
  }

  .service-detail__content--printing .service-detail__header small,
  .service-detail__content--printing .service-detail__header h3,
  .service-detail__content--printing .service-detail__header > p { grid-column: 1; }
  .service-detail__content--printing .service-detail__header h3 { font-size: clamp(2.35rem, 11vw, 3rem); }
  .service-detail__content--printing .service-detail__header > p { font-size: .86rem; line-height: 1.28; max-width: 28rem; }
  .service-print-materials { gap: .42rem; }
  .service-print-materials ol { gap: .4rem; grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .service-print-materials li:last-child { grid-column: auto; }
  .service-print-materials li img { border-radius: .38rem; width: min(100%, 3.35rem); }
  .service-print-materials strong { font-size: clamp(.72rem, 3.25vw, .88rem); letter-spacing: -.03em; }
  .service-print-materials li span {
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    height: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    width: 1px;
  }
  .service-print-material-notes {
    color: rgba(23, 25, 24, .68);
    display: block;
    font-size: .62rem !important;
    line-height: 1.35 !important;
    margin: 0 !important;
  }
}

/* One continuous surface per service. The outer reel remains the only frame;
   detail content no longer draws a second rounded panel inside it. */
.service-reel-overlay__scroll {
  --service-detail-top-gutter: clamp(5rem, 8vw, 8rem);
}

.service-reel-overlay.is-detail-visible .service-reel-overlay__scroll {
  padding-left: clamp(.75rem, 2vw, 2rem) !important;
  padding-right: clamp(.75rem, 2vw, 2rem) !important;
}

.service-reel-overlay__panel:has([data-service-detail="design"]) {
  background: rgba(242, 241, 236, calc(var(--service-conversion, 0) * .985));
}

.service-reel-overlay__panel:has([data-service-detail="printing"]) {
  background: rgba(243, 241, 235, calc(var(--service-conversion, 0) * .985));
}

.service-reel-overlay__panel:has([data-service-detail="photogrammetry"]) {
  background: rgba(238, 240, 237, calc(var(--service-conversion, 0) * .985));
}

.service-reel-overlay__panel:has([data-service-detail="finishing"]) {
  background: rgba(241, 238, 232, calc(var(--service-conversion, 0) * .985));
}

.service-reel-overlay.is-detail-visible .service-reel-overlay__panel:has([data-service-detail="design"]) { background: #f2f1ec; }
.service-reel-overlay.is-detail-visible .service-reel-overlay__panel:has([data-service-detail="printing"]) { background: #f3f1eb; }
.service-reel-overlay.is-detail-visible .service-reel-overlay__panel:has([data-service-detail="photogrammetry"]) { background: #eef0ed; }
.service-reel-overlay.is-detail-visible .service-reel-overlay__panel:has([data-service-detail="finishing"]) { background: #f1eee8; }

.service-reel-overlay__panel .service-detail > .service-detail__content {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  margin: 0;
  max-width: none;
  padding: clamp(.2rem, .75vw, .7rem);
}

.service-reel-overlay__panel .service-detail {
  display: block;
}

.service-reel-overlay__panel .service-detail__content--design .service-design-line {
  height: calc(100% + var(--service-detail-top-gutter) + 1rem);
  inset: calc(-1 * var(--service-detail-top-gutter)) -.5rem -1rem;
  width: calc(100% + 1rem);
}

.service-reel-overlay__panel .service-detail__content--finishing .service-finish-line {
  left: 0;
  right: 0;
  width: 100%;
}

.service-reel-overlay__panel .service-detail__content--finishing {
  align-items: start;
  grid-template-columns: minmax(0, 1fr) minmax(13rem, .42fr);
}

.service-reel-overlay__panel .service-detail__content--finishing .service-detail__header {
  align-self: center;
  grid-column: 1;
  grid-row: 1;
}

.service-reel-overlay__panel .service-detail__content--finishing .service-detail__story {
  grid-column: 1;
  grid-row: 2;
}

.service-reel-overlay__panel .service-detail__content--finishing .service-detail__visual {
  align-self: start;
  grid-column: 2;
  grid-row: 1 / span 2;
  justify-self: center;
  width: min(100%, 16rem);
}

.service-reel-overlay__panel .service-detail__content--finishing .service-detail__header h3,
.service-reel-overlay__panel .service-detail__content--finishing .service-detail__header > p,
.service-reel-overlay__panel .service-detail__content--finishing .service-detail__story span,
.service-reel-overlay__panel .service-detail__content--finishing .service-detail__story p {
  background: #f1eee8;
  box-shadow: 0 0 0 .28rem #f1eee8;
  position: relative;
  width: fit-content;
}

@media (max-width: 812px) {
  .service-reel-overlay__panel .service-detail__content--finishing {
    gap: .85rem .6rem;
    grid-template-columns: minmax(0, 1fr) 10.5rem;
  }
  .service-reel-overlay__panel .service-detail__content--finishing .service-detail__header {
    grid-column: 1;
    grid-row: 1;
  }
  .service-reel-overlay__panel .service-detail__content--finishing .service-detail__header h3 {
    font-size: clamp(1.3rem, 6vw, 1.55rem);
    line-height: .95;
    overflow-wrap: anywhere;
  }
  .service-reel-overlay__panel .service-detail__content--finishing .service-detail__header > p {
    font-size: .78rem;
    line-height: 1.3;
  }
  .service-reel-overlay__panel .service-detail__content--finishing .service-detail__story {
    grid-column: 1 / -1;
    grid-row: 2;
  }
  .service-reel-overlay__panel .service-detail__content--finishing .service-detail__visual {
    grid-column: 2;
    grid-row: 1;
    transform: none;
    width: min(100%, 6.5rem);
  }
  .service-reel-overlay__panel .service-detail__content--finishing .service-detail__visual figcaption {
    font-size: .52rem;
    line-height: 1.25;
    margin-top: .45rem;
  }
  .service-reel-overlay__panel .service-detail__content--finishing .service-finish-line {
    height: calc(100% + 3rem);
  }
}

@media (max-width: 812px) {
  .service-reel-overlay__scroll { --service-detail-top-gutter: 5.5rem; }
  .service-reel-overlay.is-detail-visible .service-reel-overlay__scroll {
    padding-left: .65rem !important;
    padding-right: .65rem !important;
  }
  .service-reel-overlay__panel .service-detail > .service-detail__content { padding: .2rem; }
}

/* The Design trace keeps its Lusion-scale weight without spring/overshoot. */
.service-design-line path { stroke-width: 30; }
@media (max-width: 812px) {
  .service-design-line path { stroke-width: 22; }
}
