/* ============================================================
   Frame Theory — homepage sections (pairs with ft-design.css)
   Pinned stages use position: sticky. Everything that moves on
   scroll is driven by js/ft-motion.js through transform/opacity.
   ============================================================ */

/* Existing anti-copy behaviour kept from the previous homepage */
body { -webkit-user-select: none; user-select: none; }
input, textarea { -webkit-user-select: text; user-select: text; }
img { -webkit-user-drag: none; }

.ft-h2 {
  font-size: clamp(2rem, 4.6vw, 4.25rem);
  font-weight: 700; letter-spacing: -0.045em; line-height: 1.06;
}

/* ═══ Hero ═══ */
.ft-hero {
  position: relative; height: 100vh; height: 100svh; min-height: 560px;
  display: grid; place-items: center; text-align: center;
  padding: 92px var(--gutter) 70px;
  overflow: clip;
}
.hero-copy { position: relative; z-index: 2; max-width: 980px; width: fit-content; margin: 0 auto; }
.hero-eyebrow { margin-bottom: clamp(16px, 2.4vw, 28px); }
.hero-title {
  font-size: clamp(3rem, 7.7vw, 6.25rem);
  font-weight: 700; letter-spacing: -0.045em; line-height: 1.06;
  padding-bottom: 0.06em;
}
.hero-line { display: block; will-change: transform, opacity; }
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: clamp(24px, 3.4vw, 40px); }

.ft-brackets { position: absolute; inset: 0; pointer-events: none; z-index: 3; }
.ft-brackets .b {
  position: absolute; left: 0; top: 0; width: var(--bs, 22px); height: var(--bs, 22px);
  border: 0 solid var(--gold); will-change: transform;
}
.ft-brackets .b-tl { border-top-width: 2px; border-left-width: 2px; border-top-left-radius: 7px; }
.ft-brackets .b-tr { border-top-width: 2px; border-right-width: 2px; border-top-right-radius: 7px; }
.ft-brackets .b-bl { border-bottom-width: 2px; border-left-width: 2px; border-bottom-left-radius: 7px; }
.ft-brackets .b-br { border-bottom-width: 2px; border-right-width: 2px; border-bottom-right-radius: 7px; }

.scroll-cue {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  font-size: 0.8125rem; font-weight: 500; color: var(--muted);
  display: inline-flex; gap: 8px; align-items: center; z-index: 2;
}
.scroll-cue span { display: inline-block; animation: ft-bob 2.2s var(--ease-move) infinite; }
@keyframes ft-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(4px); } }

/* Crayon scribbles */
.crayons { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.crayon-pos { position: absolute; will-change: transform; }
.crayon-l { left: clamp(14px, 3.2vw, 52px); }
.crayon-r { right: clamp(14px, 3.2vw, 52px); }
.crayon-drift { animation: ft-drift var(--d, 8s) var(--ease-move) var(--dl, 0s) infinite alternate; will-change: transform; }
@keyframes ft-drift {
  from { transform: translate3d(0, 0, 0) rotate(calc(var(--rot, 0deg) * -1)); }
  to   { transform: translate3d(var(--dx, 10px), var(--dy, 8px), 0) rotate(var(--rot, 0deg)); }
}
.crayon { position: relative; display: inline-block; padding: 0.1em 0.18em; }
.crayon-word {
  display: inline-block; font-family: var(--hand); font-weight: 600;
  font-size: clamp(1.7rem, 3.1vw, 2.9rem); line-height: 1.1;
  color: var(--text-2); filter: url(#ftCrayon);
  white-space: nowrap;
}
.crayon-strike {
  position: absolute; left: -4%; top: 6%; width: 108%; height: 88%;
  overflow: visible; filter: url(#ftCrayon);
  transform-origin: 0 50%; will-change: transform, opacity;
}
.crayon-strike path { fill: none; stroke: var(--crayon); stroke-width: 4; stroke-linecap: round; vector-effect: non-scaling-stroke; }

/* ═══ Work trio ═══ */
.ft-trio { position: relative; height: 230vh; }
.trio-stage {
  position: sticky; top: 0; height: 100vh; height: 100svh; overflow: clip;
  display: flex; flex-direction: column; align-items: center; padding: 104px var(--gutter) 28px; text-align: center;
}
.trio-head { position: relative; z-index: 3; }
.trio-head .ft-h2 { margin-top: 10px; }
.trio-fan { position: relative; flex: 1; width: 100%; max-width: 1180px; margin-top: 16px; min-height: 0; }
.trio-card {
  position: absolute; left: 50%; top: 50%;
  height: min(84%, 520px); aspect-ratio: 3 / 4.2;
  will-change: transform;
}
.trio-center { z-index: 3; }
.trio-left, .trio-right { z-index: 2; }
.trio-card-inner {
  position: relative; width: 100%; height: 100%; overflow: hidden;
  border-radius: var(--r-card); border: 1px solid var(--line-2);
  background: var(--bg-raised); box-shadow: var(--shadow);
}
.ft-media { width: 100%; height: 100%; object-fit: cover; }
.trio-card figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 44px 18px 16px; text-align: left; font-weight: 600; font-size: 1rem; letter-spacing: -0.02em; color: #fff;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.72), transparent);
  display: flex; flex-direction: column; gap: 6px; align-items: flex-start;
}
.trio-card figcaption span {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase;
  padding: 4px 11px; border-radius: var(--r-pill); background: rgba(255, 255, 255, 0.16);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.trio-link { position: relative; z-index: 3; margin-top: 12px; }

/* Designed cards for site / empty states */
.ft-site { width: 100%; height: 100%; display: flex; flex-direction: column; background: var(--bg-raised); }
.ft-site-bar {
  display: flex; align-items: center; gap: 6px; padding: 12px 14px;
  border-bottom: 1px solid var(--line); font-size: 0.72rem; color: var(--muted);
}
.ft-site-bar i { width: 8px; height: 8px; border-radius: 50%; background: var(--line-2); }
.ft-site-bar span { margin-left: 8px; padding: 3px 12px; border-radius: var(--r-pill); background: var(--bg-inset); flex: 1; text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ft-site-body { flex: 1; padding: 26px 22px; display: flex; flex-direction: column; gap: 12px; justify-content: center; text-align: left; }
.ft-site-niche { font-size: 0.75rem; color: var(--gold); font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
.ft-site-body strong { font-size: clamp(1.35rem, 2.2vw, 1.9rem); letter-spacing: -0.04em; line-height: 1.08; }
.ft-site-lines { display: grid; gap: 8px; margin-top: 6px; }
.ft-site-lines b { height: 8px; border-radius: 4px; background: var(--line); }
.ft-site-lines b:nth-child(1) { width: 92%; }
.ft-site-lines b:nth-child(2) { width: 74%; }
.ft-site-lines b:nth-child(3) { width: 52%; }
.ft-site-tech { font-size: 0.78rem; color: var(--muted); margin-top: 6px; }
.ft-empty { width: 100%; height: 100%; display: grid; place-content: center; justify-items: center; gap: 10px; text-align: center; padding: 24px; background: radial-gradient(120% 90% at 50% 0%, var(--bg-inset), var(--bg-raised)); }
.ft-empty strong { font-size: 1.25rem; letter-spacing: -0.03em; }
.ft-empty small { color: var(--muted); font-size: 0.82rem; }
.ft-empty-mark { position: relative; width: 54px; height: 54px; margin-bottom: 8px; }
.ft-empty-mark i { position: absolute; width: 16px; height: 16px; border: 0 solid var(--gold); }
.ft-empty-mark i:nth-child(1) { left: 0; top: 0; border-top-width: 2px; border-left-width: 2px; }
.ft-empty-mark i:nth-child(2) { right: 0; top: 0; border-top-width: 2px; border-right-width: 2px; }
.ft-empty-mark i:nth-child(3) { left: 0; bottom: 0; border-bottom-width: 2px; border-left-width: 2px; }
.ft-empty-mark i:nth-child(4) { right: 0; bottom: 0; border-bottom-width: 2px; border-right-width: 2px; }

/* ═══ Arched headline ═══ */
.ft-arch { position: relative; height: 130vh; }
.arch-stage { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; place-items: center; overflow: clip; }
.arch-box { position: relative; padding: clamp(28px, 5vw, 60px) clamp(32px, 6vw, 80px); }
.arch-text {
  font-size: clamp(3.4rem, 13vw, 12rem); font-weight: 700; letter-spacing: -0.05em; line-height: 1;
  white-space: nowrap; display: flex; justify-content: center;
}
.arch-text .ch { display: inline-block; will-change: transform; white-space: pre; }

/* ═══ Pinned services ═══ */
.ft-svc { position: relative; height: 400vh; }
.svc-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; align-items: center; padding: 96px var(--gutter) 40px; overflow: clip; }
.svc-grid { width: 100%; max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.08fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.svc-title { font-weight: 700; letter-spacing: -0.045em; line-height: 1.04; margin: 14px 0 22px; font-size: clamp(2.4rem, 5.3vw, 5rem); }
.svc-lead { display: block; }
.svc-words { display: block; position: relative; height: 1.16em; }
.svc-word {
  position: absolute; left: 0; top: 0; padding-bottom: 0.1em;
  opacity: 0; transform: translateY(46%); pointer-events: none;
  transition: opacity 0.6s var(--ease-move), transform 0.7s var(--ease-move);
}
.svc-word.is-active { opacity: 1; transform: none; pointer-events: auto; }
.svc-word.is-past { transform: translateY(-46%); }
.svc-desc { position: relative; min-height: 6.4em; color: var(--text-2); font-size: clamp(1rem, 1.35vw, 1.2rem); max-width: 34ch; }
.svc-desc p { position: absolute; inset: 0 auto auto 0; opacity: 0; transform: translateY(10px); transition: opacity 0.5s var(--ease-out), transform 0.6s var(--ease-out); }
.svc-desc p.is-active { opacity: 1; transform: none; transition-delay: 0.12s; }
.svc-steps { display: flex; gap: 8px; margin-top: 12px; }
.svc-steps i { width: 26px; height: 3px; border-radius: 3px; background: var(--line-2); transition: background-color 0.4s var(--ease-move), width 0.5s var(--ease-move); }
.svc-steps i.is-active { background: var(--gold); width: 44px; }

.svc-frame {
  position: relative; aspect-ratio: 5 / 4; width: 100%;
  border-radius: var(--r-card); border: 1px solid var(--line-2);
  background: var(--bg-raised); box-shadow: var(--shadow);
}
.svc-layer { position: absolute; inset: 0; opacity: 0; transition: opacity 0.6s var(--ease-move); pointer-events: none; }
.svc-layer.is-active { opacity: 1; }
.svc-layer > div { position: absolute; inset: 0; border-radius: inherit; overflow: hidden; border-radius: var(--r-card); }
.svc-circle {
  position: absolute; left: var(--cx); top: var(--cy); width: 21%; height: auto; overflow: visible;
  translate: -50% -50%; opacity: 0; transform: scale(0.6) rotate(-14deg);
  transition: opacity 0.4s var(--ease-out) 0.5s, transform 0.7s var(--ease-out) 0.5s;
  filter: url(#ftCrayon);
}
.svc-layer.is-active .svc-circle { opacity: 1; transform: none; }
.svc-circle path { fill: none; stroke: var(--crayon); stroke-width: 4.5; stroke-linecap: round; stroke-linejoin: round; }

/* service visuals */
.v-reach { padding: 8% 7%; color: var(--text); display: flex; flex-direction: column; }
.v-reach-top { display: flex; justify-content: space-between; align-items: baseline; font-size: 0.85rem; color: var(--muted); }
.v-reach-top b { font-size: clamp(1.6rem, 3vw, 2.6rem); letter-spacing: -0.04em; color: var(--text); }
.v-reach svg { flex: 1; width: 100%; margin-top: 4%; min-height: 0; overflow: visible; }
.v-reach .line { fill: none; stroke: var(--gold); stroke-width: 3; vector-effect: non-scaling-stroke; }
.v-reach .area { fill: var(--gold); fill-opacity: 0.12; }
.v-chip { position: absolute; right: 9%; top: 41%; font-size: 0.72rem; font-weight: 600; padding: 4px 11px; border-radius: var(--r-pill); background: var(--text); color: var(--bg); }
.v-bars { display: flex; align-items: flex-end; gap: 6px; height: 14%; margin-top: 3%; }
.v-bars i { flex: 1; height: var(--h); border-radius: 4px; background: var(--line-2); }
.v-bars i:last-child { background: var(--gold); }

.v-identity { padding: 7%; display: grid; grid-template-columns: 1.1fr 1fr; grid-template-rows: 1fr auto; gap: 5%; }
.v-mono { position: relative; grid-row: 1 / 2; background: var(--bg-inset); border-radius: 20px; display: grid; place-items: center; }
.v-mono-sq { width: 34%; aspect-ratio: 1; background: var(--text); border-radius: 6px; }
.v-mono i { position: absolute; width: 11%; aspect-ratio: 1; border: 0 solid var(--gold); }
.v-mono i:nth-of-type(1) { left: 24%; top: 24%; border-top-width: 3px; border-left-width: 3px; }
.v-mono i:nth-of-type(2) { right: 24%; top: 24%; border-top-width: 3px; border-right-width: 3px; }
.v-mono i:nth-of-type(3) { left: 24%; bottom: 24%; border-bottom-width: 3px; border-left-width: 3px; }
.v-mono i:nth-of-type(4) { right: 24%; bottom: 24%; border-bottom-width: 3px; border-right-width: 3px; }
.v-swatches { display: grid; grid-template-columns: 1fr 1fr; gap: 8%; align-content: stretch; }
.v-swatches i { border-radius: 16px; border: 1px solid var(--line); }
.v-type { grid-column: 1 / -1; display: flex; align-items: center; gap: 5%; padding-top: 2%; border-top: 1px solid var(--line); }
.v-type b { font-size: clamp(2.2rem, 5vw, 4rem); letter-spacing: -0.05em; line-height: 1; }
.v-type span { font-size: 0.8rem; color: var(--muted); line-height: 1.5; }

.v-films { padding: 6%; display: grid; grid-template-rows: 1fr auto auto; gap: 4%; }
.v-monitor { position: relative; border-radius: 16px; background: linear-gradient(135deg, var(--bg-inset), var(--bg)); border: 1px solid var(--line); display: grid; place-items: center; }
.v-play { width: 56px; height: 56px; border-radius: 50%; background: var(--text); position: relative; }
.v-play::after { content: ''; position: absolute; left: 22px; top: 17px; border-left: 17px solid var(--bg); border-top: 11px solid transparent; border-bottom: 11px solid transparent; }
.v-monitor em { position: absolute; left: 14px; bottom: 10px; font-style: normal; font-size: 0.72rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.v-strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; height: 40px; }
.v-strip i { border-radius: 6px; background: var(--bg-inset); border: 1px solid var(--line); }
.v-strip i:nth-child(2n) { background: var(--line); }
.v-timeline { position: relative; height: 36px; border-radius: 10px; background: var(--bg-inset); overflow: visible; }
.v-clip { position: absolute; top: 5px; bottom: 5px; border-radius: 6px; }
.v-clip.c1 { left: 3%; width: 34%; background: var(--gold); opacity: 0.85; }
.v-clip.c2 { left: 40%; width: 24%; background: var(--coral); opacity: 0.8; }
.v-clip.c3 { left: 67%; width: 29%; background: var(--violet); opacity: 0.8; }
.v-playhead { position: absolute; left: 56%; top: -9px; bottom: -9px; width: 2px; background: var(--text); }
.v-playhead::before { content: ''; position: absolute; left: -5px; top: 0; width: 12px; height: 8px; background: var(--text); border-radius: 2px; }

.v-systems { display: flex; flex-direction: column; background: var(--bg-inset); }
.v-systems img { flex: 1; min-height: 0; width: 100%; object-fit: cover; object-position: top left; }
.v-dash { flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: auto 1fr; gap: 12px; padding: 16px; }
.v-dash i { height: 54px; border-radius: 12px; background: var(--bg-raised); }
.v-dash b { grid-column: span 3; border-radius: 12px; background: var(--bg-raised); }
.v-dash b + b { display: none; }

/* ═══ Client wall ═══ */
.ft-wall { position: relative; padding: clamp(90px, 14vw, 190px) 0; overflow: clip; }
.wall-head { padding: 0 var(--gutter); max-width: 1280px; margin: 0 auto clamp(34px, 5vw, 64px); }
.wall-head .ft-h2 { margin-top: 10px; }
.wall-row {
  overflow: hidden; margin-top: 16px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.wall-track { display: flex; width: max-content; animation: ft-marquee 70s linear infinite; will-change: transform; }
.wall-b .wall-track { animation-direction: reverse; animation-duration: 82s; }
.wall-row:hover .wall-track { animation-play-state: paused; }
@keyframes ft-marquee { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }
.wall-list { display: flex; flex-shrink: 0; gap: 16px; padding-right: 16px; }
.wall-item {
  display: flex; flex-direction: column; justify-content: space-between; gap: 18px;
  width: clamp(230px, 22vw, 300px); height: 150px; padding: 20px 22px;
  border-radius: var(--r-card); border: 1px solid var(--line-2); background: var(--bg-raised);
  transition: border-color 0.3s var(--ease-out), transform 0.5s var(--ease-out);
}
.wall-item:hover { border-color: var(--gold); transform: translateY(-3px); }
.wall-item img { height: 64px; width: auto; max-width: 100%; object-fit: contain; border-radius: 12px; background: #fff; align-self: flex-start; }
.wall-name { font-size: 1.45rem; font-weight: 700; letter-spacing: -0.04em; line-height: 1.1; }
.wall-item small { color: var(--muted); font-size: 0.8rem; }

/* ═══ Pinned frame zoom ═══ */
.ft-zoom { position: relative; height: 300vh; }
.zoom-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: clip; display: grid; place-items: center; }
.zoom-eyebrow { position: absolute; top: 14%; left: 0; right: 0; text-align: center; }
.zoom-wrap { position: absolute; left: 50%; top: 50%; width: clamp(200px, 26vw, 380px); aspect-ratio: 4 / 5; margin: 0; translate: -50% -50%; will-change: transform; z-index: 2; }
.zoom-piece { width: 100%; height: 100%; border-radius: 18px; overflow: hidden; border: 1px solid var(--line-2); background: var(--bg-raised); box-shadow: var(--shadow); }
.zoom-brackets { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.zoom-brackets .b { position: absolute; left: 0; top: 0; width: 34px; height: 34px; border: 0 solid var(--gold-soft); will-change: transform; }
.zoom-brackets .b-tl { border-top-width: 3px; border-left-width: 3px; border-top-left-radius: 10px; }
.zoom-brackets .b-tr { border-top-width: 3px; border-right-width: 3px; border-top-right-radius: 10px; }
.zoom-brackets .b-bl { border-bottom-width: 3px; border-left-width: 3px; border-bottom-left-radius: 10px; }
.zoom-brackets .b-br { border-bottom-width: 3px; border-right-width: 3px; border-bottom-right-radius: 10px; }
.zoom-veil {
  position: absolute; inset: 0; z-index: 4; display: grid; place-items: center; text-align: center;
  background: #f5f0ea; opacity: 0; pointer-events: none; padding: var(--gutter);
  /* always the light palette, whatever theme the visitor chose */
  --text: #0d0b09; --text-2: rgba(13, 11, 9, 0.72); --muted: rgba(13, 11, 9, 0.52);
  --line: rgba(13, 11, 9, 0.13); --line-2: rgba(13, 11, 9, 0.22); --bg: #f5f0ea; --gold: #a07830;
  --grad: linear-gradient(98deg, #b8892f 0%, #e0553a 55%, #7c4dff 100%);
  color: var(--text);
}
.zoom-veil.is-live { pointer-events: auto; }
.zoom-title { font-size: clamp(3rem, 9vw, 8rem); font-weight: 700; letter-spacing: -0.05em; line-height: 1.02; margin: 14px 0 6px; padding-bottom: 0.06em; }
.zoom-reveal { will-change: transform, opacity; }

/* ═══ Blog ═══ */
.ft-blog { padding: clamp(70px, 10vw, 140px) var(--gutter); max-width: 1280px; margin: 0 auto; }
.ft-blog-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 36px; }
.ft-blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.ft-blog-card a {
  display: flex; flex-direction: column; height: 100%; overflow: hidden;
  border-radius: var(--r-card); border: 1px solid var(--line); background: var(--bg-raised);
  transition: border-color 0.3s var(--ease-out), transform 0.5s var(--ease-out);
}
@media (hover: hover) and (pointer: fine) { .ft-blog-card a:hover { border-color: var(--gold); transform: translateY(-4px); } }
.ft-blog-img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-inset); }
.ft-blog-img img { width: 100%; height: 100%; object-fit: cover; }
.ft-blog-body { padding: 22px 22px 26px; display: grid; gap: 10px; }
.ft-blog-meta { font-size: 0.78rem; color: var(--muted); }
.ft-blog-body h3 { font-size: 1.3rem; letter-spacing: -0.035em; line-height: 1.15; }
.ft-blog-body p { color: var(--text-2); font-size: 0.95rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* ═══ Digital products ═══ */
.ft-prod { padding: clamp(70px, 10vw, 140px) var(--gutter) 0; max-width: 1280px; margin: 0 auto; }
.ft-prod-head { display: grid; gap: 10px; margin-bottom: 36px; max-width: 640px; }
.ft-prod-intro { color: var(--text-2); font-size: 1.05rem; }
.ft-prod-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.ft-prod-card {
  position: relative; display: grid; gap: 12px; align-content: start; padding: 30px 28px 28px;
  border-radius: var(--r-card); border: 1px solid var(--line); background: var(--bg-raised);
  transition: border-color 0.3s var(--ease-out), transform 0.5s var(--ease-out);
}
@media (hover: hover) and (pointer: fine) { .ft-prod-card:hover { border-color: var(--gold); transform: translateY(-4px); } }
.ft-prod-badge { justify-self: start; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; padding: 5px 12px; border-radius: var(--r-pill); border: 1px solid var(--line-2); color: var(--gold); }
.ft-prod-card h3 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); letter-spacing: -0.04em; line-height: 1.05; }
.ft-prod-tag { font-size: 1.1rem; font-weight: 500; letter-spacing: -0.02em; }
.ft-prod-desc { color: var(--text-2); font-size: 0.98rem; }
.ft-prod-card ul { list-style: none; display: grid; gap: 6px; color: var(--text-2); font-size: 0.94rem; }
.ft-prod-card li::before { content: '✓'; color: var(--gold); margin-right: 8px; }
.ft-prod-card .ft-btn { justify-self: start; margin-top: 8px; }

/* ═══ Responsive ═══ */
@media (max-width: 920px) {
  .svc-grid { grid-template-columns: 1fr; gap: 20px; }
  .svc-sticky { padding-top: 84px; align-items: start; }
  .svc-title { margin: 8px 0 12px; font-size: clamp(2.2rem, 10vw, 3.4rem); }
  .svc-desc { min-height: 5.4em; font-size: 0.98rem; }
  .svc-frame { width: min(100%, calc(42vh * 1.25)); margin: 0 auto; }
  .ft-blog-grid, .ft-prod-grid { grid-template-columns: 1fr; }
  .trio-card { height: min(84%, 420px); }

  .crayon-word { font-size: clamp(1.35rem, 5.6vw, 2rem); }
  .crayon-pos:nth-child(1) { top: 13% !important; }
  .crayon-pos:nth-child(2) { top: 20% !important; }
  .crayon-pos:nth-child(3) { top: 79% !important; }
  .crayon-pos:nth-child(4) { top: 15% !important; }
  .crayon-pos:nth-child(5) { top: 22% !important; }
  .crayon-pos:nth-child(6) { top: 85% !important; }
}

/* Reduced motion / no JS: pinned stages collapse to a calm stacked layout */
.ft-static .ft-trio, .ft-static .ft-svc, .ft-static .ft-zoom, .ft-static .ft-arch { height: auto; }
.ft-static .trio-stage, .ft-static .svc-sticky, .ft-static .zoom-stage, .ft-static .arch-stage { position: relative; height: auto; min-height: 0; padding-top: 80px; padding-bottom: 80px; }
.ft-static .trio-fan { display: flex; gap: 16px; justify-content: center; height: auto; flex-wrap: wrap; }
.ft-static .trio-card { position: relative; left: auto; top: auto; width: min(300px, 80vw); height: auto; }
.ft-static .zoom-stage { min-height: 100vh; }
.ft-static .zoom-veil { position: relative; opacity: 1; inset: auto; margin-top: 40px; }
.ft-static .zoom-wrap { position: relative; left: auto; top: auto; translate: none; }
.ft-static .svc-word:not(.is-active) { display: none; }

html.js:not(.ft-ready) .trio-card { opacity: 0; }
.trio-card { transition: opacity 0.6s var(--ease-out); }

.ft-static .svc-words { height: auto; display: flex; flex-wrap: wrap; gap: 0 0.35em; }
.ft-static .svc-word { position: relative; opacity: 1; transform: none; pointer-events: auto; }
.ft-static .svc-word:not(.is-active) { display: inline-block; }
.ft-static .svc-desc p:not(.is-active) { display: none; }
.ft-static .svc-desc p.is-active { position: relative; }
