/* Home page sections */

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--bg-ink); }
.hero-canvas { position: sticky; top: 0; height: 100vh; height: 100dvh; margin-bottom: -100vh; margin-bottom: -100dvh; z-index: 0; overflow: hidden; pointer-events: none; }
/* Hero background is the flat brand purple-black (#0D0315); only the star field sits on it. */
.hero-canvas canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-fallback { position: absolute; left: 54%; top: 54%; width: min(56vh, 66vw); transform: translate(-50%, -50%); }
.hero-fallback img { width: 100%; height: auto; }
.has-3d .hero-fallback { display: none; }
.hero-flow, .vision { position: relative; z-index: 1; }

.banner { position: relative; min-height: 100vh; min-height: 100dvh; padding-top: calc(var(--header-h) + 1.5vh); padding-bottom: 5vh; display: flex; flex-direction: column; }
.banner-title { max-width: 16ch; font-weight: 465; }
.banner-title .ln { display: block; overflow: hidden; padding-bottom: 0.12em; margin-bottom: -0.12em; white-space: nowrap; }
.intro-done .banner-title .ln, html.reduced .banner-title .ln { overflow: visible; }
/* Mask window for the rotating word. The padding zones hold the feather, so the
   word is fully solid at rest and fades softly as it slides out of / into the window. */
.rot { position: relative; display: inline-block; vertical-align: bottom; }
/* Each word carries its own feathered wipe mask. --p: 0 = fully shown, 1 = fully wiped.
   The 35% soft edge is the "feather"; JS tweens --p together with a short rise. */
.rot-w { color: var(--accent-word); display: inline-block; white-space: nowrap; padding: 0.1em 0.08em 0.24em; margin: -0.1em -0.08em -0.24em; --p: 0; --dir: to top;
  -webkit-mask-image: linear-gradient(var(--dir), transparent calc(var(--p) * 135% - 35%), #000 calc(var(--p) * 135%));
  mask-image: linear-gradient(var(--dir), transparent calc(var(--p) * 135% - 35%), #000 calc(var(--p) * 135%)); }
.rot-old { position: absolute; left: 0; top: 0; pointer-events: none; --dir: to bottom; }
.banner-ctas { display: flex; flex-wrap: wrap; gap: 14px 26px; margin-top: clamp(22px, 3.2vh, 40px); }
.banner-hint { position: absolute; left: 50%; bottom: 4.5vh; transform: translateX(-50%); text-align: center; line-height: 1.55; white-space: nowrap; }
.banner-hint b { color: var(--violet-soft); font-weight: 400; margin: 0 0.3em; }
.banner-side { position: absolute; right: var(--gutter); bottom: 5vh; width: clamp(230px, 17vw, 320px); display: grid; gap: 18px; }
.badge { display: grid; grid-template-columns: 1fr 1.25fr; border: 1px solid var(--border-on-dark); }
.badge > div { padding: 14px 12px; display: grid; gap: 8px; justify-items: center; align-content: center; text-align: center; font-size: 0.72rem; line-height: 1.25; }
.badge > div + div { border-left: 1px solid var(--border-on-dark); }
.badge-mark { width: 22px; color: var(--violet-soft); }
.banner-support { line-height: 1.3; }
.scroll-dot { position: absolute; left: var(--gutter); bottom: 5vh; width: 18px; height: 18px; border: 1px solid var(--border-on-dark-strong); border-radius: 50%; display: grid; place-items: center; }
.scroll-dot i { width: 3px; height: 3px; border-radius: 50%; background: currentColor; animation: dot 1.8s var(--ease-in-out) infinite; }
@keyframes dot { 0%, 100% { transform: translateY(-3px); opacity: 0.3; } 50% { transform: translateY(3px); opacity: 1; } }

.about { position: relative; min-height: 100vh; min-height: 100dvh; padding-top: 16vh; padding-bottom: 9vh; display: flex; flex-direction: column; justify-content: center; }
.about-label { position: absolute; left: var(--gutter); top: 17.5vh; }
.statement { font-size: var(--fs-statement); line-height: 1.06; letter-spacing: var(--tracking-tight); font-weight: 500; padding-inline: 8vw 6vw; text-indent: 8.5vw; max-width: 100%; }
.about-foot { display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; padding-inline: 8vw 6vw; margin-top: clamp(48px, 13vh, 150px); }
.about-mission { width: min(100%, 25vw); min-width: 240px; display: grid; gap: 30px; justify-items: start; margin-right: 5vw; }

/* ---------- Vision (pinned) ---------- */
.vision { height: 100vh; height: 100dvh; overflow: hidden; display: flex; align-items: center; }
.vision-cap { position: absolute; left: 10.5vw; top: 15vh; }
.vision-foot { position: absolute; left: 50%; bottom: 19vh; transform: translateX(-50%); white-space: nowrap; }
.vision-foot b, .svc-foot b { font-weight: 400; margin-right: 0.4em; }
.marquee { width: 100%; mix-blend-mode: difference; color: #fff; }
.marquee-track { display: inline-flex; align-items: center; white-space: nowrap; will-change: transform; padding-left: 8vw; }
.marquee-track span { font-size: clamp(3rem, 7.9vw, 11rem); line-height: 1; letter-spacing: -0.05em; font-weight: 500; text-transform: uppercase; }
.marquee-track i { font-style: normal; font-weight: 200; font-size: clamp(1.4rem, 2.6vw, 3.4rem); margin: 0 3.4vw; opacity: 0.75; }

/* ---------- At a glance (light, slides over the pinned vision) ---------- */
.glance { position: relative; z-index: 20; margin-top: -100vh; margin-top: -100dvh; min-height: 100vh; background: var(--grad-light-down); padding: clamp(96px, 12vh, 130px) 0 clamp(80px, 16vh, 180px); }
.glance-head { text-align: center; display: grid; gap: 14px; justify-items: center; }
.glance-head p { max-width: 22ch; line-height: 1.2; }
.glance-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 34px); width: min(100%, 80vw); margin: clamp(40px, 7vh, 80px) auto 0; perspective: 1600px; }
.gcard { position: relative; aspect-ratio: 0.82; border-radius: 6px; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; padding: clamp(14px, 1.5vw, 24px); will-change: transform; }
.gcard-label { position: relative; z-index: 2; }
.gcard-art { position: absolute; inset: 0; display: grid; place-items: center; }
.gcard-art svg { width: 62%; height: auto; }
.gcard-foot { position: relative; z-index: 2; display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; }
.gcard-foot p { max-width: 17ch; line-height: 1.2; font-size: 0.95em; }
.gcard-foot strong { font-size: clamp(1.4rem, 2.5vw, 3rem); letter-spacing: -0.045em; line-height: 0.95; font-weight: 500; text-align: right; }
.gcard-1 { background: radial-gradient(120% 90% at 30% 10%, #5927d9 0%, #2b0a72 48%, #12052c 100%); color: var(--text-on-dark); }
.gcard-1 .gcard-art { color: rgba(255, 255, 255, 0.92); filter: drop-shadow(0 30px 50px rgba(6, 0, 24, 0.55)); }
.gcard-2 { background: #efe8fd; color: var(--text-on-light); text-align: center; align-items: center; }
.gcard-2 .gcard-foot { justify-content: center; }
.gcard-2 .gcard-foot p { max-width: 24ch; }
.gcard-disc { width: 58%; aspect-ratio: 1; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 30px 60px rgba(64, 1, 148, 0.12); }
.gcard-disc em { font-style: normal; font-size: clamp(1.3rem, 2.5vw, 3rem); letter-spacing: -0.05em; font-weight: 500; }
.gcard-3 { background: linear-gradient(160deg, #1b0b3a 0%, #0d0315 60%); color: var(--text-on-dark); }
.gcard-3 .gcard-label { text-align: right; }
.gcard-3 .gcard-art svg { width: 70%; color: transparent; stroke: var(--violet-soft); stroke-width: 2; filter: drop-shadow(0 0 30px rgba(113, 70, 223, 0.55)); }
.glance-rowlabel { text-align: center; margin-top: clamp(48px, 9vh, 100px); }
.glance-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px clamp(22px, 3.4vw, 60px); margin-top: 26px; }
.glance-row li { font-size: clamp(1.05rem, 1.55vw, 1.7rem); font-weight: 650; letter-spacing: -0.035em; }
.glance-rule { margin: clamp(60px, 11vh, 130px) auto 0; width: 52%; }

/* The mobile capability pin travels exactly the width of the artwork strip. */
.gcard-art:has(img) { inset: 0; z-index: 0; }
.gcard-art img { width: 100%; height: 100%; object-fit: cover; }
.gcard-art:has(img)::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, #0805109c 0%, transparent 30%, #08051020 50%, #080510ed 100%); }
.gcard-label { position: relative; z-index: 2; }
.about-foot { border-top: 1px solid var(--border-on-dark); padding-top: clamp(22px, 4vh, 46px); }
@media (max-width: 767.98px) {
  html.js:not(.reduced) .glance-pan { overflow: hidden; margin-inline: calc(-1 * var(--gutter)); }
  html.js:not(.reduced) .glance-cards { display: flex; width: max-content; gap: 5vw; margin-inline: 0; padding-inline: 10vw; }
  html.js:not(.reduced) .gcard { flex: 0 0 78vw; width: 78vw; height: min(105vw, 58svh); }
}
/* ---------- Work (pinned horizontal track) + services stage ---------- */
.work { position: relative; z-index: 21; background: var(--bg-paper); }
.work-pin { height: 100vh; height: 100dvh; overflow: clip; background: linear-gradient(180deg, var(--bg-paper) 0%, #efe8fb 100%); }
.work-track { display: flex; height: 100%; width: max-content; will-change: transform; }
.wpanel { flex: none; height: 100%; display: flex; flex-direction: column; justify-content: center; padding: 10vh 5vw 6vh; }
.wpanel + .wpanel { border-left: 1px solid var(--border-on-light); }
.work-intro { width: 50vw; align-items: center; text-align: center; gap: 34px; }
.work-intro .h2 { font-size: clamp(2.4rem, 4.2vw, 5.2rem); line-height: 1.02; }
.wcard { width: 50vw; padding-left: calc(5vw - 1px); }
.wcard-media { display: block; border-radius: 5px; overflow: hidden; aspect-ratio: 670 / 460; background: var(--surface-lavender); margin-inline: auto; width: min(100%, 80vh); }
.wcard-media img { width: 108%; max-width: none; margin-left: -4%; height: 100%; object-fit: cover; transition: scale 1.1s var(--ease-out); }
.wcard-media.is-framed { background: var(--mat); }
.wcard-media.is-framed img { width: 100%; margin: 0; padding: 4%; object-fit: contain; }
.wcard-media:hover img, .wcard-media:focus-visible img { scale: 1.045; }
.wcard-body { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin: 22px auto 0; width: min(100%, 80vh); }
.wcard-body h3 { font-size: clamp(1.3rem, 1.95vw, 2.2rem); letter-spacing: -0.035em; font-weight: 500; line-height: 1.1; }
.wcard-body p { margin-top: 8px; max-width: 30ch; color: var(--text-on-light-muted); line-height: 1.25; }
.wcard-body .cta-line { min-width: clamp(140px, 11vw, 190px); flex: none; }
.work-outro { width: 50vw; align-items: center; text-align: center; gap: 30px; }
.work-outro .lead { max-width: 24ch; }

.svc { position: relative; flex: none; width: 100vw; height: 100%; overflow: hidden; background: var(--bg-paper); color: var(--text-on-light); border-left: 1px solid var(--border-on-light); }
.svc-inner { position: absolute; inset: 0; }
.svc-bg { position: absolute; inset: 0; opacity: 0; background: var(--grad-night); overflow: hidden; }
.svc-bg i { position: absolute; border-radius: 50%; filter: blur(70px); animation: drift 16s ease-in-out infinite alternate; }
.svc-bg i:nth-child(1) { width: 60vw; height: 60vw; left: -18vw; top: -22vw; background: radial-gradient(circle, rgba(113, 70, 223, 0.32), transparent 62%); }
.svc-bg i:nth-child(2) { width: 54vw; height: 54vw; right: -14vw; bottom: -24vw; background: radial-gradient(circle, rgba(63, 169, 255, 0.16), transparent 62%); animation-duration: 21s; animation-direction: alternate-reverse; }
.svc-bg i:nth-child(3) { width: 40vw; height: 40vw; left: 34vw; top: 30vh; background: radial-gradient(circle, rgba(64, 1, 148, 0.5), transparent 62%); animation-duration: 26s; }
.svc-label { position: absolute; left: 50%; top: calc(var(--header-h) + 2vh); transform: translateX(-50%); z-index: 4; }
.svc-words { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; z-index: 3; /* sized by width AND height so the five lines always fit between the label and the footer */
  font-size: clamp(3rem, min(9.3vw, 14.5vh), 12.5rem); line-height: 0.8; letter-spacing: -0.055em; font-weight: 500; text-transform: uppercase; padding-top: 3vh; }
.svc-line { display: block; white-space: nowrap; }
.svc-line .ch { display: inline-block; will-change: transform; }
.svc-slab { position: absolute; left: 50%; top: 51%; width: min(54vh, 62vw); aspect-ratio: 1; z-index: 2; border-radius: 5%; overflow: hidden; will-change: transform;
  background: radial-gradient(120% 120% at 22% 12%, #4a23a6 0%, #24105a 38%, #10062a 72%, #070215 100%);
  box-shadow: 0 60px 120px rgba(3, 0, 16, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.14), inset 0 -30px 60px rgba(3, 0, 16, 0.6), 0 0 90px rgba(89, 39, 217, 0.22); }
.svc-slab::after { content: ""; position: absolute; inset: 0; mix-blend-mode: overlay; opacity: 0.55;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.svc-slab-face { position: absolute; inset: 0; display: grid; place-items: center; }
.svc-slab-face svg { width: 74%; height: auto; overflow: visible; filter: drop-shadow(0 3px 2px rgba(255, 255, 255, 0.09)) drop-shadow(0 -3px 3px rgba(3, 0, 16, 0.8)); }
.svc-mark-fill { fill: #04010d; fill-opacity: 0.86; opacity: 0; }
.svc-mark-stroke { fill: none; stroke: #b9a4ff; stroke-width: 3.5; stroke-linecap: round; }
.svc-items { position: absolute; inset: 0; z-index: 5; pointer-events: none; }
.svc-item { position: absolute; width: clamp(200px, 19vw, 340px); visibility: hidden; }
.svc-item.is-left { left: 5.5vw; top: 33vh; }
.svc-item.is-right { right: 5.5vw; top: 47vh; }
.svc-item h3 { font-size: clamp(1.35rem, 2.05vw, 2.5rem); line-height: 1.06; letter-spacing: -0.035em; font-weight: 500; }
.svc-item p { margin-top: clamp(14px, 3.5vh, 40px); line-height: 1.28; opacity: 0.8; max-width: 30ch; }
.svc-icon { position: absolute; width: clamp(34px, 3.4vw, 56px); opacity: 0.7; }
.svc-item.is-left .svc-icon { right: -2vw; top: 4.2em; }
.svc-item.is-right .svc-icon { right: 0; top: -1vh; }
.svc-item.is-right h3 { padding-right: 4vw; }
.svc-foot { position: absolute; left: 50%; bottom: 9vh; transform: translateX(-50%); white-space: nowrap; z-index: 4; }
.svc-cta { position: absolute; right: var(--gutter); bottom: 8vh; z-index: 6; min-width: clamp(140px, 11vw, 190px); }
.svc .belts { --belt: var(--bg-paper); z-index: 9; }

/* ---------- Principles (light) ---------- */
/* Like the reference, this section starts sliding over the pinned services while the belts close. */
.principles { position: relative; z-index: 22; margin-top: -55vh; background: var(--grad-light-up); padding: clamp(110px, 17vh, 170px) 0 clamp(90px, 17vh, 190px); min-height: 100vh; }
html.reduced .principles { margin-top: 0; }
.principles .container { padding-inline: 10.5vw; }
.pr-head { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 24px; margin-bottom: clamp(36px, 8vh, 84px); }
.pr-head p { max-width: 24ch; line-height: 1.22; }
.pr-body { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: clamp(40px, 9vh, 96px); }
.pr-nav { display: flex; flex-direction: column; justify-content: space-between; gap: 48px; }
.pr-tabs { display: grid; gap: 9px; justify-items: start; }
.pr-tabs button { display: inline-flex; gap: 0.8em; opacity: 0.34; text-transform: uppercase; transition: opacity 0.3s; padding: 2px 0; }
.pr-tabs button span { opacity: 0; transform: translateX(-6px); transition: opacity 0.3s, transform 0.3s; }
.pr-tabs button:hover, .pr-tabs button[aria-selected="true"] { opacity: 1; }
.pr-tabs button[aria-selected="true"] span { opacity: 1; transform: none; }
.pr-arrows { display: flex; }
.pr-arrows button { width: clamp(52px, 4.9vw, 76px); aspect-ratio: 1; border: 1px solid var(--border-on-light); display: grid; place-items: center; transition: background-color 0.3s, color 0.3s; }
.pr-arrows button + button { border-left: 0; }
.pr-arrows button:hover { background: var(--text-on-light); color: #fff; }
.pr-text { font-size: clamp(1.35rem, 2.42vw, 3rem); line-height: 1.12; letter-spacing: -0.035em; font-weight: 450; min-height: 5.6em; }
.pr-meta { display: flex; align-items: center; gap: 16px; margin-top: clamp(28px, 6vh, 64px); }
.pr-badge { width: clamp(48px, 4.5vw, 70px); aspect-ratio: 1; border-radius: 4px; background: var(--grad-brand); color: #fff; display: grid; place-items: center; flex: none; }
.pr-badge svg { width: 62%; }
.pr-meta p { display: grid; gap: 3px; }
.pr-name { font-weight: 550; }
.pr-kicker { color: var(--text-on-light-muted); }
.pr-panel .cta-line { margin-top: clamp(32px, 7vh, 76px); }

/* ---------- Playground (pinned) ---------- */
.playground { position: relative; z-index: 20; background: var(--bg-lavender-deep); }
.pg-pin { position: relative; height: 100vh; height: 100dvh; overflow: hidden; background: var(--bg-lavender-deep); }
.pg-title { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7vh; font-size: clamp(3rem, 7.4vw, 10rem); line-height: 0.82; letter-spacing: -0.055em; font-weight: 500; text-transform: uppercase; pointer-events: none; }
.pg-t1, .pg-t2, .pg-title span > span { display: block; white-space: nowrap; }
.pg-cap { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); text-align: center; white-space: nowrap; z-index: 2; }
.pg-stage { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.pg-card { position: relative; display: block; aspect-ratio: 1.44; overflow: hidden; border-radius: 2px; background: var(--surface-light); pointer-events: auto; }
.pg-card img { width: 100%; height: 100%; object-fit: cover; }
/* The transparent project links align with the WebGL cards once the grid settles. */
.pg-gl { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.pg-gl canvas { width: 100%; height: 100%; }
html.js:not(.reduced) .pg-stage { visibility: hidden; }
main:has(.playground.has-gl) { z-index: 3; }
main:has(.playground.pg-releasing) { pointer-events: none; }
.playground.has-gl { margin-bottom: -100vh; margin-bottom: -100dvh; background: transparent; pointer-events: none; }
.has-gl .pg-pin { pointer-events: none; }
.has-gl .pg-cta { pointer-events: auto; }
.playground.has-gl .pg-stage { inset: auto; top: var(--pg-center-y); left: 50%; transform: translate(-50%, -50%); display: grid; grid-template-columns: repeat(var(--pg-cols), var(--pg-cell-w)); grid-auto-rows: var(--pg-cell-h); gap: var(--pg-row-gap, var(--pg-gap)) var(--pg-gap); }
html.js .playground.pg-settled .pg-stage { visibility: visible; pointer-events: auto; }
.has-gl .pg-card { height: 100%; aspect-ratio: auto; background: transparent; }
.has-gl .pg-card img { opacity: 0; }
.has-gl .pg-card::after { content: attr(aria-label); position: absolute; inset: auto 0 0; padding: 1.3em .85em .7em; color: white; font-size: .875rem; font-weight: 550; background: linear-gradient(transparent, rgb(8 3 21 / .85)); opacity: 0; transition: opacity .2s; }
.has-gl .pg-card:focus-visible::after, .has-gl .pg-card:hover::after { opacity: 1; }
.has-gl .pg-card:focus-visible { outline-offset: 1px; }
.pg-text { position: absolute; left: var(--gutter); bottom: 5vh; max-width: 25ch; line-height: 1.22; z-index: 4; }
.pg-cta { position: absolute; right: var(--gutter); bottom: 5vh; z-index: 4; min-width: clamp(150px, 11.5vw, 200px); }

/* ---------- Tablet / mobile ---------- */
@media (max-width: 1023.98px) {
  .principles .container { padding-inline: var(--gutter); }
  .about-mission { width: 40vw; margin-right: 0; }
}
/* Portrait tablets: the horizontal work track stays, but the service copy moves under the tile. */
@media (min-width: 768px) and (max-width: 1023.98px) {
  .gcard { aspect-ratio: 0.62; }
  .gcard-art { inset: 0 0 36% 0; }
  .gcard-foot { flex-direction: column-reverse; align-items: flex-start; gap: 8px; }
  .gcard-foot strong { text-align: left; }
  .gcard-2 .gcard-foot { align-items: center; }
  .wcard { width: 62vw; }
  .work-intro, .work-outro { width: 70vw; }
}
@media (min-width: 768px) and (max-width: 1023.98px) and (orientation: portrait) {
  .svc-slab { top: 38%; }
  .svc-item { width: auto; left: 8vw !important; right: 8vw !important; }
  .svc-item.is-left { top: 62vh; }
  .svc-item.is-right { top: 75vh; }
  .svc-item p { margin-top: 8px; max-width: 52ch; }
  .svc-item h3 br, .svc-icon { display: none; }
  .svc-item h3 { padding-right: 0 !important; }
  .svc-foot { bottom: 4.5vh; }
  .svc-cta { bottom: 3.5vh; }
}
@media (max-width: 767.98px) {
  .banner-title { max-width: none; font-size: clamp(2.12rem, 10.85vw, 4.5rem); }
  .banner-ctas { flex-direction: column; align-items: flex-start; gap: 22px; }
  .banner-hint { display: none; }
  .banner-side { width: min(60vw, 300px); bottom: 4vh; gap: 12px; font-size: 0.9rem; }
  .hero-fallback { left: 50%; }
  .about { padding-top: 12vh; }
  .about-label { position: static; margin-bottom: 20px; }
  .statement { padding-inline: 0; text-indent: 12vw; }
  .about-foot { flex-direction: column; padding-inline: 0; margin-top: 44px; }
  .about-mission { width: 100%; }
  .vision-cap { left: var(--gutter); }
  .glance-cards { grid-template-columns: 1fr; width: 100%; }
  .gcard { aspect-ratio: 1.05; }
  .gcard-art svg { width: 44%; }
  .gcard-disc { width: 44%; }
  .glance-rule { width: 100%; }

  .work-pin { height: auto; overflow: visible; }
  /* no will-change here: a transformed ancestor would break the pinned (fixed) services stage */
  .work-track { display: block; width: 100%; height: auto; will-change: auto; }
  .wpanel { width: 100% !important; height: auto; padding: 44px var(--gutter); }
  .wpanel + .wpanel { border-left: 0; border-top: 1px solid var(--border-on-light); }
  .work-intro { padding-block: 86px 60px; align-items: center; text-align: center; }
  .work-outro { padding-block: 72px; }
  .wcard-media, .wcard-body { width: 100%; max-height: none; }
  .wcard-body { flex-direction: column; align-items: flex-start; }
  .svc { height: 100vh; height: 100dvh; border-left: 0; border-top: 1px solid var(--border-on-light); }
  .svc-words { font-size: 15.5vw; }
  .svc-slab { top: 36%; width: 62vw; }
  .svc-item { width: auto; left: var(--gutter) !important; right: var(--gutter) !important; }
  .svc-item.is-left { top: 58vh; }
  .svc-item.is-right { top: 73vh; }
  .svc-item p { margin-top: 8px; font-size: 0.85rem; max-width: 40ch; }
  .svc-item h3 br { display: none; }
  .svc-item h3 { padding-right: 0 !important; }
  .svc-icon { display: none; }
  .svc-foot { display: none; }
  .svc-cta { left: var(--gutter); right: auto; bottom: 4vh; }

  .pr-head, .pr-body { grid-template-columns: 1fr; }
  .pr-nav { flex-direction: row; align-items: flex-end; }
  .pr-text { min-height: 7.5em; }
  .pg-title { gap: clamp(42px, 6vh, 64px); font-size: 14vw; }
  .pg-text { bottom: 11vh; max-width: 30ch; font-size: 0.85rem; }
  .pg-cta { left: var(--gutter); right: auto; bottom: 4vh; }
}

/* ---------- Reduced motion: no pins, no scrub — everything laid out statically ---------- */
html.reduced .hero-canvas { position: absolute; inset: 0 0 auto 0; margin: 0; }
html.reduced .vision { height: auto; padding: 16vh 0; }
html.reduced .vision-cap, html.reduced .vision-foot { position: static; transform: none; padding-inline: var(--gutter); }
html.reduced .vision { flex-direction: column; align-items: flex-start; gap: 28px; }
html.reduced .marquee-track { flex-wrap: wrap; white-space: normal; padding-inline: var(--gutter); }
html.reduced .marquee-track > :nth-child(n + 7) { display: none; }
html.reduced .glance { margin-top: 0; }
html.reduced .work-pin { height: auto; overflow: visible; }
html.reduced .work-track { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); width: 100%; height: auto; }
html.reduced .wpanel { width: auto !important; height: auto; padding: 56px var(--gutter); border: 0 !important; }
html.reduced .work-intro, html.reduced .work-outro, html.reduced .svc { grid-column: 1 / -1; }
html.reduced .svc { width: 100%; height: auto; padding: 96px var(--gutter); background: var(--bg-indigo); color: var(--text-on-dark); display: grid; gap: 40px; }
html.reduced .svc-bg, html.reduced .svc-slab, html.reduced .svc .belts { display: none; }
html.reduced .svc-label, html.reduced .svc-words, html.reduced .svc-items, html.reduced .svc-foot, html.reduced .svc-cta { position: static; transform: none; }
html.reduced .svc-words { align-items: flex-start; padding: 0; font-size: clamp(2.6rem, 7vw, 7rem); }
html.reduced .svc-items { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 40px; pointer-events: auto; }
html.reduced .svc-item { position: static; visibility: visible; width: auto; }
html.reduced .svc-icon { position: static; display: block; margin-bottom: 14px; }
html.reduced .svc-cta { justify-self: start; }
:is(html.reduced, .playground.pg-static) .pg-pin { height: auto; overflow: visible; padding: 110px var(--gutter) 80px; display: grid; gap: 40px; }
:is(html.reduced, .playground.pg-static) :is(.pg-title,.pg-cap,.pg-stage,.pg-text,.pg-cta) { position: static; transform: none; }
:is(html.reduced, .playground.pg-static) .pg-title { align-items: flex-start; padding: 0; gap: 0; }
:is(html.reduced, .playground.pg-static) .pg-cap { text-align: left; }
html.js .playground.pg-static .pg-stage, html.reduced .pg-stage { visibility: visible; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(8px, 1vw, 18px); width: min(100%, 1100px); pointer-events: auto; }
@media (max-width: 767.98px) { html.js .playground.pg-static .pg-stage, html.reduced .pg-stage { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
:is(html.reduced, .playground.pg-static) .pg-cta { justify-self: start; }
