.woven-field { position: relative; isolation: isolate; overflow: clip; }
.woven-field::after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
  width: min(35vw, 35rem);
  aspect-ratio: 1;
  mask: var(--stitch-wave) center / contain no-repeat;
}
.woven-field[data-ornament="strand"]::after {
  inset: auto -13% -43% auto;
  mask-size: 85% auto;
  background: #4a101719;
  transform: rotate(31deg);
}
.woven-field[data-ornament="lozenge"]::after {
  inset: -14% -13% auto auto;
  mask-image: var(--stitch-knot);
  background: #6d28361a;
  transform: rotate(18deg);
}
.woven-field[data-ornament="rings"]::after {
  inset: auto auto -52% -14%;
  mask: repeating-linear-gradient(45deg, #000 0 11%, transparent 11% 14%),
        var(--stitch-star) center / contain no-repeat;
  mask-composite: intersect;
  background: #13707819;
  transform: rotate(-24deg);
}
.capabilities.woven-field::after { inset: -42% -10% auto auto; background: #b1223a2e; }
.motion-work.woven-field::after { background: #3677814d; }

.page-services .page-stage { min-height: clamp(510px, 72svh, 735px); }
.page-services .page-stage h1 { max-width: 13ch; }
.page-services .service-lead { max-width: 48ch; }
.page-services .service-links { width: fit-content; gap: .1rem 1.4rem; margin-top: 1.3rem; }
.page-services .service-links .text-link { font-size: .99rem; }
.service-band { padding-block: clamp(3.55rem, 8.6vw, 8.6rem); }
.service-editorial {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: start;
  gap: 1.55rem clamp(2.4rem, 8vw, 8rem);
}
.service-band h2 { max-width: 14ch; font-size: clamp(2.15rem, 4.65vw, 4.75rem); }
.service-editorial p, .service-crm-copy p { max-width: 53ch; font-size: clamp(1.05rem, 1.5vw, 1.29rem); }
.service-editorial p + p { margin-top: .9rem; }
.service-editorial .text-link, .service-crm-copy .text-link { margin-top: .7rem; }
.service-web { background: #f4eee8; }
.service-crm { background: #1b2428; color: #fff; }
.service-crm.woven-field::after { background: #77bec026; }
.service-crm-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: 2rem clamp(2.3rem, 6vw, 6rem); }
.service-crm-copy p { margin-top: 1.1rem; }
.service-outline { display: grid; gap: .65rem; max-width: 50ch; padding-inline-start: 1.2rem; margin-top: 1.15rem; }
.service-outline li::marker { color: #8cdee5; }
.service-crm .text-link { color: #9cebf0; }
.service-crm-demo figcaption { margin-top: .67rem; font-size: .93rem; color: #e0eded; }
.service-with-reel figcaption { margin-top: .7rem; max-width: 55ch; font-size: .93rem; }
.service-integration-note { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: .8rem 2rem; margin-top: 2rem; padding-top: 1.4rem; border-top: 1px solid #698083; }
.service-integration-note h3 { font-size: clamp(1.4rem, 2.4vw, 2.45rem); }
.service-integration-note p { max-width: 62ch; }
.service-product { background: #dceded; }
.service-support { background: #f1e7e7; }

.web-works { margin-top: clamp(3.8rem, 9vw, 9.5rem); }
.web-works > p { margin-top: .8rem; }
.landing-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  align-items: start;
  gap: clamp(1.2rem, 4vw, 4.2rem);
  margin-top: clamp(1.4rem, 4.1vw, 4rem);
}
.landing-card {
  display: grid;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #b4a797;
  border-radius: .45rem;
  background: #fcf1e3;
  color: #28211b;
  text-decoration: none;
}
.landing-card-ronda { margin-top: clamp(0rem, 4vw, 4.2rem); background: #20333a; color: #f1fcf4; border-color: #20333a; }
.landing-card-volta-fusta { background: #f2e9dc; color: #143b2b; border-color: #a29885; }
.landing-card-trama-escena { margin-top: clamp(0rem, 4vw, 4.2rem); background: #222021; color: #f6f4ee; border-color: #222021; }
.landing-card .reel-stage { border: 0; border-radius: 0; }
.landing-card-label { display: grid; gap: .25rem; padding: clamp(.85rem, 2vw, 1.4rem); }
.landing-card-label strong { font-size: clamp(1.45rem, 3.2vw, 3.1rem); line-height: 1; letter-spacing: -.06em; }
.landing-card-label > span { text-decoration: underline; text-underline-offset: .22em; }
.landing-card:is(:hover, :focus-visible) .landing-card-label strong { text-decoration: underline; }

.motion-gallery { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3rem clamp(1.6rem, 5vw, 5rem); }
.motion-gallery .motion-lead { grid-column: 1 / -1; width: min(100%, 61rem); }
.motion-gallery figure:nth-child(2) { margin-top: 0; }
.motion-gallery figure:nth-child(3) { margin-top: clamp(0rem, 3.5vw, 3.4rem); }
.motion-lead .reel-stage { aspect-ratio: 1.95; }

@media (prefers-reduced-motion: no-preference) {
  .woven-field::after {
    translate: calc(12% * var(--travel, 0)) calc(31% * var(--travel, 0));
    rotate: calc(55deg * var(--travel, 0));
    scale: calc(1 + .21 * var(--travel, 0)) calc(1 - .16 * var(--travel, 0));
  }
  .woven-field[data-ornament="rings"]::after { rotate: calc(-64deg * var(--travel, 0)); }
}
@media (max-width: 760px) {
  .page-services .page-stage { min-height: 0; }
  .page-services .service-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .1rem 1rem; }
  .page-services .service-links .text-link { font-size: .95rem; }
  .service-editorial, .service-crm-layout, .service-integration-note, .landing-showcase, .motion-gallery { grid-template-columns: 1fr; }
  .landing-card-ronda, .motion-gallery figure:nth-child(3) { margin-top: 0; }
  .woven-field::after { width: 48vw; }
  .woven-field[data-ornament="strand"]::after, .woven-field[data-ornament="rings"]::after { inset-block-end: -9%; }
}
@media (forced-colors: active) {
  .woven-field::after { display: none; }
}
