/* RJG Mediaworks site kit: "Signal" (v2, based on draft B).
   One shared stylesheet for every page. Page-specific scenes live in css/pages/<page>.css.

   WHAT IS HERE (search for the section banner):
     tokens, base, utilities (.sr-only .container .section .section--line .mono-l .muted .nb .hide-m)
     type (.h1 .h2 .h3 .lead .label .tag .dot .tags .link)
     buttons (.btn .btn--light .btn--ghost .btn--sm .btn--lg)
     reveals ([data-reveal] [data-split] [data-hero])  spotlight (.spot)  custom cursor (.cur)
     header, mega menu, phone menu  |  inner-page hero (.phero)  |  marquee (.mq)
     cards (.card .wcard .points .clients .steps)  |  forms (.term .fld .chips .chip)
     accordion (.acc)  tabs (.tabs)  filters (.fchips .fchip)  |  desk objects (.dobj)
     brief builder (.brief)  |  instruments (.inst)  |  closing band (.close)  |  footer (.ftr)
     pages list (.pages-list)

   MOTION RULE: anything non-trivial lives under html[data-motion="on"]. With motion off every
   section shows its finished state. */

/* ============================== tokens + base ============================== */
:root {
  --bg: #050505;
  --bg-2: #0e0e0e;
  --line: rgba(255, 255, 255, .10);
  --line-2: rgba(255, 255, 255, .18);
  --text: #f5f5f4;
  --muted: #8c8c88;
  --lime: #c6f432;
  --lime-glow: rgba(198, 244, 50, .5);
  --sans: "Geist", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, monospace;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --maxw: 1320px;
  --gutter: clamp(20px, 4vw, 56px);
  --hdr-h: 72px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr-h) + 8px); background: var(--bg); }
html[data-motion="on"] { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 16px/1.55 var(--sans); letter-spacing: -.005em;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { -webkit-tap-highlight-color: transparent; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--lime); color: #050505; }

.container { width: min(100% - 2 * var(--gutter), var(--maxw)); margin-inline: auto; }
.skip { position: fixed; left: 12px; top: -80px; z-index: 9999; padding: 12px 18px; border-radius: 999px; background: #fff; color: #050505; font-weight: 500; transition: top .2s; }
.skip:focus { top: 12px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

/* film grain */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 9980; pointer-events: none; opacity: .045;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  1 0 0 0 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* ============================== utilities ============================== */
section { position: relative; }
.section { padding-block: clamp(88px, 10vw, 156px); }
.section--tight { padding-block: clamp(64px, 8vw, 120px); }
.section--line { border-top: 1px solid var(--line); }
.section__head { margin-bottom: clamp(48px, 7vw, 96px); }
.nb { white-space: nowrap; }
.muted { color: var(--muted); }
.mono { font-family: var(--mono); }
.mono-l { font: 400 10.5px/1.2 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.mono-l--dim { opacity: .65; }
.cols { display: grid; gap: clamp(16px, 2vw, 24px); }
.cols--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cols--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cols--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
@media (max-width: 1023px) { .cols--3, .cols--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .split { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .cols--2, .cols--3, .cols--4 { grid-template-columns: 1fr; } .hide-m { display: none !important; } }

/* ============================== type ============================== */
.h1 { font: 500 clamp(44px, 7.2vw, 116px)/.94 var(--sans); letter-spacing: -.045em; text-wrap: balance; }
.h2 { font: 500 clamp(40px, 5.5vw, 88px)/.98 var(--sans); letter-spacing: -.045em; text-wrap: balance; }
.h3 { font: 500 clamp(26px, 2.6vw, 38px)/1.08 var(--sans); letter-spacing: -.04em; }
.h1 em, .h2 em, .h2 .ph em, .h3 em { font-style: normal; color: var(--muted); }
.lead { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.55; color: rgba(245, 245, 244, .72); max-width: 56ch; }
.label { display: flex; align-items: center; gap: 12px; margin-bottom: 28px; font: 400 12px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.tag { display: inline-flex; align-items: center; height: 22px; padding: 0 9px; border: 1px solid var(--line-2); border-radius: 999px; font: 400 10px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.tag--sm { height: 20px; font-size: 9.5px; }
.dot { position: relative; display: inline-block; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 10px rgba(198, 244, 50, .8); }
.dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--lime); opacity: 0; }
html[data-motion="on"] .dot::after { animation: rjg-ping 2.6s ease-out infinite; }
@keyframes rjg-ping { 0% { transform: scale(1); opacity: .5; } 75%, 100% { transform: scale(3.4); opacity: 0; } }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.tags li { padding: 7px 11px; border: 1px solid var(--line); border-radius: 999px; font: 400 11px/1 var(--mono); letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.link { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 500; border-bottom: 1px solid var(--line-2); padding-bottom: 3px; transition: border-color .3s, gap .4s var(--ease); }
.link:hover { border-color: var(--lime); gap: 12px; }
.link .ic { width: 15px; height: 15px; }
.ic { width: 24px; height: 24px; flex: none; }

/* ============================== buttons ============================== */
.btn {
  --h: 52px; position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 26px; border: 1px solid transparent; border-radius: 999px; cursor: pointer; white-space: nowrap;
  font: 500 15px/1 var(--sans); letter-spacing: -.01em;
  transition: box-shadow .45s var(--ease), background .3s, color .3s, border-color .3s, transform .5s var(--ease);
  transform: translate3d(var(--tx, 0px), var(--ty, 0px), 0);
}
.btn--sm { --h: 40px; padding: 0 18px; font-size: 14px; }
.btn--lg { --h: 56px; padding: 0 30px; }
.btn--light { background: #fff; color: #050505; }
.btn--light:hover { box-shadow: 0 0 0 1px rgba(198, 244, 50, .55), 0 0 30px rgba(198, 244, 50, .42), 0 0 90px rgba(198, 244, 50, .2); }
.btn--ghost { border-color: var(--line-2); color: #fff; background: rgba(255, 255, 255, .02); }
.btn--ghost:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .45); }
.btn .ic { width: 16px; height: 16px; transition: transform .45s var(--ease); }
.btn:hover .ic { transform: translateX(4px); }
.btn[aria-disabled="true"], .btn:disabled { opacity: .45; cursor: not-allowed; box-shadow: none; }

/* ============================== reveals ============================== */
.w, .wi { display: inline-block; }
html[data-motion="on"] .is-split .wi {
  opacity: 0; filter: blur(8px); transform: translate3d(0, .32em, 0);
  transition: opacity .9s var(--ease), filter .9s var(--ease), transform 1.1s var(--ease);
  transition-delay: calc(var(--base, 0ms) + var(--i, 0) * 55ms);
}
html[data-motion="on"] .is-split.is-in .wi { opacity: 1; filter: blur(0); transform: none; }
html.js[data-motion="on"]:not(.no-rjg) [data-split]:not(.is-split) { visibility: hidden; }
html.js[data-motion="on"]:not(.no-rjg) [data-reveal] {
  opacity: 0; transform: translate3d(0, 26px, 0); filter: blur(6px);
  transition: opacity .9s var(--ease) var(--rd, 0s), transform 1.1s var(--ease) var(--rd, 0s), filter .9s var(--ease) var(--rd, 0s);
}
html.js[data-motion="on"]:not(.no-rjg) [data-reveal].is-in { opacity: 1; transform: none; filter: none; }
/* hero / page-hero intro: children with data-hero fade up in order once fonts are ready */
html.js[data-motion="on"]:not(.no-rjg) :is(.hero, .phero) [data-hero] { opacity: 0; transform: translate3d(0, 18px, 0); filter: blur(6px); transition: opacity .9s var(--ease), transform 1.1s var(--ease), filter .9s var(--ease); transition-delay: var(--hd, .2s); }
html.js[data-motion="on"]:not(.no-rjg) :is(.hero, .phero).is-ready [data-hero] { opacity: 1; transform: none; filter: none; }
:is(.hero, .phero) [data-hero="0"] { --hd: .2s; }
:is(.hero, .phero) [data-hero="1"] { --hd: .9s; }
:is(.hero, .phero) [data-hero="2"] { --hd: 1.05s; }
:is(.hero, .phero) [data-hero="3"] { --hd: 1.2s; }
:is(.hero, .phero) [data-hero="4"] { --hd: 1.35s; }
:is(.hero, .phero) [data-hero="5"] { --hd: 1.5s; }
html[data-motion="on"] .hdr { animation: rjg-fade .9s .1s both; }
@keyframes rjg-fade { from { opacity: 0; } to { opacity: 1; } }

/* ============================== spotlight ============================== */
.spot { position: relative; --mx: 50%; --my: 50%; }
.spot::before, .spot::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .4s; }
.spot::before { background: radial-gradient(420px circle at var(--mx) var(--my), rgba(255, 255, 255, .07), transparent 45%); }
.spot::after {
  padding: 1px; background: radial-gradient(320px circle at var(--mx) var(--my), rgba(255, 255, 255, .55), transparent 42%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); mask-composite: exclude;
}
@media (hover: hover) and (pointer: fine) { .spot:hover::before, .spot:hover::after { opacity: 1; } }

/* ============================== custom cursor (fine pointers only) ============================== */
.cur { position: fixed; left: 0; top: 0; z-index: 9995; width: 0; height: 0; pointer-events: none; display: none; contain: layout style; }
html.has-cur .cur { display: block; }
html.has-cur, html.has-cur body, html.has-cur a, html.has-cur button, html.has-cur label, html.has-cur summary, html.has-cur [role="button"], html.has-cur .dobj, html.has-cur .mq, html.has-cur .inst, html.has-cur input[type="range"] { cursor: none !important; }
html.has-cur :is(input:not([type="range"]):not([type="checkbox"]):not([type="radio"]), textarea, select, [contenteditable="true"]) { cursor: text !important; }
html.has-cur select { cursor: default !important; }
html.has-cur :is(.proto-dock, .proto-notes, [data-cursor="none"]), html.has-cur :is(.proto-dock, .proto-notes, [data-cursor="none"]) * { cursor: auto !important; }
.cur--ring { mix-blend-mode: difference; }
.cur__ring { position: absolute; left: 0; top: 0; width: 0; height: 0; }
.cur__circ {
  position: absolute; left: 0; top: 0; width: var(--cw, 38px); height: var(--ch, var(--cw, 38px)); border: 1px solid rgba(255, 255, 255, .35); border-radius: 999px; background: rgba(255, 255, 255, 0);
  transform: translate(-50%, -50%) scale(var(--sx, 1), var(--sy, 1));
  transition: width .38s var(--ease), height .38s var(--ease), background-color .3s, border-color .3s, transform .3s var(--ease), opacity .25s;
}
.cur__lbl { position: absolute; left: 0; top: 0; transform: translate(-50%, -50%) scale(.7); opacity: 0; font: 500 10px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: #fff; white-space: nowrap; transition: opacity .25s, transform .35s var(--ease); }
.cur__pulse { position: absolute; left: 0; top: 0; width: 38px; height: 38px; margin: -19px 0 0 -19px; border: 1px solid rgba(255, 255, 255, .6); border-radius: 50%; opacity: 0; }
.cur.is-pulse .cur__pulse { animation: rjg-curpulse .5s var(--ease); }
@keyframes rjg-curpulse { from { opacity: .7; transform: scale(.8); } to { opacity: 0; transform: scale(2); } }
.cur--dot .cur__dot { position: absolute; left: 0; top: 0; width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: #fff; transition: transform .25s var(--ease), background-color .2s, box-shadow .2s; }
.cur--dot { mix-blend-mode: difference; }
.cur.is-link .cur__circ, .cur.is-lbl .cur__circ { --cw: 64px; background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .55); }
.cur.is-lbl .cur__lbl { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.cur.is-pill .cur__circ { --ch: 38px; }
.cur.is-grab .cur__circ { --cw: 52px; --ch: 52px; --sx: 1.14; --sy: .86; background: rgba(255, 255, 255, .05); }
.cur.is-grab .cur__lbl { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.cur.is-drag .cur__circ { --cw: 14px; --ch: 14px; --sx: 1; --sy: 1; border-color: var(--lime); background: transparent; }
.cur.is-drag .cur__lbl { opacity: 0; }
.cur.is-down .cur__circ { --sx: .88; --sy: .88; }
.cur.is-hide .cur__circ, .cur.is-hide .cur__lbl { opacity: 0; }
.cur--ring.is-hide, .cur--dot.is-hide { opacity: 0; }
.cur--ring, .cur--dot { transition: opacity .2s; }
.cur--dot.is-accent { mix-blend-mode: normal; }
.cur--dot.is-accent .cur__dot { background: var(--lime); box-shadow: 0 0 0 1px rgba(5, 5, 5, .6), 0 0 10px rgba(198, 244, 50, .8); transform: scale(.85); }
.cur--dot.is-drag .cur__dot { transform: scale(.7); }
.cur--dot.is-lbl .cur__dot { transform: scale(0); }
.cur--dot.is-lbl.is-drag .cur__dot { transform: scale(.7); }

/* ============================== header, mega menu, phone menu ============================== */
.hdr { position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--hdr-h); border-bottom: 1px solid transparent; transition: background .45s, border-color .45s, backdrop-filter .45s; }
.hdr.is-scrolled, .hdr.is-mega { background: rgba(5, 5, 5, .8); border-bottom-color: var(--line); -webkit-backdrop-filter: blur(18px) saturate(1.3); backdrop-filter: blur(18px) saturate(1.3); }
.hdr.is-menu { background: transparent; border-bottom-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
.hdr__in { height: 100%; width: min(100% - 2 * var(--gutter), var(--maxw)); margin-inline: auto; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.hdr__logo { display: block; justify-self: start; }
.hdr__logo img { height: 22px; width: auto; }
.hdr__nav { display: flex; align-items: center; gap: 4px; }
.hdr__link { padding: 9px 15px; border-radius: 999px; font-size: 14px; color: rgba(245, 245, 244, .68); transition: color .3s, background .3s; }
.hdr__link:hover, .hdr__link[aria-current="page"], .hdr__drop.is-open .hdr__link { color: #fff; }
.hdr__link:hover, .hdr__drop.is-open .hdr__link { background: rgba(255, 255, 255, .07); }
.hdr__link[aria-current="page"] { position: relative; }
.hdr__link[aria-current="page"]::after { content: ""; position: absolute; left: 50%; bottom: 3px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 8px var(--lime); }
.hdr__drop { position: relative; display: flex; align-items: center; }
.hdr__drop .hdr__link { padding-right: 4px; }
.hdr__caret { display: grid; place-items: center; width: 26px; height: 32px; margin-left: -2px; padding: 0; border: 0; background: none; border-radius: 999px; color: rgba(245, 245, 244, .68); cursor: pointer; transition: color .3s, background .3s; }
.hdr__caret .ic { width: 14px; height: 14px; transition: transform .45s var(--ease); }
.hdr__drop.is-open .hdr__caret { color: #fff; }
.hdr__drop.is-open .hdr__caret .ic { transform: rotate(180deg); }
.hdr__right { display: flex; align-items: center; justify-content: flex-end; gap: 20px; }
.hdr__tel { font: 400 13px/1 var(--mono); letter-spacing: .02em; color: rgba(245, 245, 244, .72); transition: color .3s; }
.hdr__tel:hover { color: #fff; }
.burger { display: none; position: relative; width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: 50%; background: rgba(5, 5, 5, .5); cursor: pointer; }
.burger span { position: absolute; left: 13px; right: 13px; height: 1px; background: #fff; transition: transform .45s var(--ease), top .45s var(--ease); }
.burger span:nth-child(1) { top: 18px; }
.burger span:nth-child(2) { top: 25px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 21.5px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { top: 21.5px; transform: rotate(-45deg); }

/* mega menu (Services) */
.mega { position: fixed; left: 50%; top: calc(var(--hdr-h) - 6px); z-index: 99; width: min(940px, calc(100vw - 2 * var(--gutter))); transform: translate(-50%, 10px); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .3s var(--ease), transform .45s var(--ease), visibility 0s .3s; }
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -40px; height: 40px; }
.hdr__drop.is-open .mega { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0); transition-delay: 0s; }
html:not(.js) .hdr__drop:focus-within .mega { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0); }
.mega__in { padding: 12px; border: 1px solid var(--line-2); border-radius: 22px; background: rgba(10, 10, 10, .96); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); box-shadow: 0 50px 120px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .07); }
.mega__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px; }
.mega__item { position: relative; display: flex; align-items: flex-start; gap: 14px; padding: 14px 16px; border-radius: 14px; transition: background .3s; }
.mega__item:hover, .mega__item:focus-visible { background: rgba(255, 255, 255, .05); }
.mega__icon { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: 12px; color: rgba(245, 245, 244, .7); transition: color .3s, border-color .3s, background .3s; }
.mega__icon .ic { width: 22px; height: 22px; }
.mega__item:hover .mega__icon, .mega__item:focus-visible .mega__icon { color: #fff; border-color: rgba(255, 255, 255, .4); background: rgba(255, 255, 255, .04); }
.mega__txt { display: block; min-width: 0; padding-top: 1px; }
.mega__txt b { display: block; font: 500 15.5px/1.25 var(--sans); letter-spacing: -.02em; color: #fff; }
.mega__txt small { display: -webkit-box; margin-top: 4px; font-size: 12.5px; line-height: 1.45; color: var(--muted); -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mega__item::after { content: ""; position: absolute; right: 16px; top: 22px; width: 5px; height: 5px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 10px var(--lime); opacity: 0; transform: scale(.4); transition: opacity .3s, transform .4s var(--ease); }
.mega__item:hover::after, .mega__item:focus-visible::after { opacity: 1; transform: none; }
.mega__item--cta { align-items: center; border: 1px dashed var(--line-2); }
.mega__item--cta .mega__icon { border-style: dashed; }
.mega__item--cta .mega__txt small { -webkit-line-clamp: 1; }
.mega__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 10px 4px 0; padding: 14px 12px 4px; border-top: 1px solid var(--line); }
.mega__all { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: #fff; }
.mega__all .ic { width: 15px; height: 15px; transition: transform .4s var(--ease); }
.mega__all:hover .ic { transform: translateX(4px); }
.mega__tel { font: 400 13px/1 var(--mono); color: var(--muted); }
.mega__tel:hover { color: #fff; }

/* phone menu */
.menu { position: fixed; inset: 0; z-index: 90; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; padding: calc(var(--hdr-h) + 28px) var(--gutter) 32px; background: #050505; visibility: hidden; opacity: 0; transition: opacity .35s, visibility 0s .35s; overflow-y: auto; }
.menu.is-open { visibility: visible; opacity: 1; transition-delay: 0s; }
.menu__nav a { display: flex; align-items: baseline; gap: 18px; padding: 8px 0; border-bottom: 1px solid var(--line); font: 500 clamp(40px, 12vw, 64px)/1.05 var(--sans); letter-spacing: -.05em; }
.menu__nav a span { font: 400 12px/1 var(--mono); letter-spacing: .06em; color: var(--muted); }
.menu__nav a[aria-current="page"] { color: var(--lime); }
.menu__svc { display: grid; gap: 12px; }
.menu__svc-l { display: flex; flex-wrap: wrap; gap: 8px; }
.menu__svc-l a { padding: 9px 14px; border: 1px solid var(--line-2); border-radius: 999px; font: 400 12.5px/1 var(--mono); letter-spacing: .02em; color: rgba(245, 245, 244, .82); }
.menu__foot { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.menu__tel { font: 400 22px/1 var(--mono); letter-spacing: -.01em; }
html[data-motion="on"] .menu__nav a { opacity: 0; transform: translateY(20px); transition: opacity .6s var(--ease), transform .7s var(--ease); }
html[data-motion="on"] .menu.is-open .menu__nav a { opacity: 1; transform: none; }
html[data-motion="on"] .menu.is-open .menu__nav a:nth-child(1) { transition-delay: .08s; }
html[data-motion="on"] .menu.is-open .menu__nav a:nth-child(2) { transition-delay: .14s; }
html[data-motion="on"] .menu.is-open .menu__nav a:nth-child(3) { transition-delay: .2s; }
html[data-motion="on"] .menu.is-open .menu__nav a:nth-child(4) { transition-delay: .26s; }
html[data-motion="on"] .menu.is-open .menu__nav a:nth-child(5) { transition-delay: .32s; }
html.menu-open { overflow: hidden; }

/* ============================== inner-page hero (.phero) ============================== */
/* <section class="phero"><div class="container phero__grid"><div class="phero__copy"> label, h1.phero__h1, p.phero__lead, .phero__actions </div>
   <div class="phero__art" aria-hidden="true"><canvas data-dots="text:404"></canvas></div></div></section>  (art is optional) */
.phero { position: relative; isolation: isolate; padding: clamp(128px, 16vw, 208px) 0 clamp(64px, 8vw, 112px); border-bottom: 1px solid var(--line); overflow: hidden; }
.phero::before { content: ""; position: absolute; z-index: -1; right: -8%; top: -10%; width: 62%; height: 120%; pointer-events: none; background: radial-gradient(50% 50% at 50% 50%, rgba(255, 255, 255, .05), transparent 70%); }
.phero__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.phero--solo .phero__grid, .phero__grid:not(:has(.phero__art)) { grid-template-columns: minmax(0, 1fr); }
.phero__copy { min-width: 0; }
.phero__h1 { font: 500 clamp(44px, 7vw, 112px)/.94 var(--sans); letter-spacing: -.045em; margin-left: -.03em; text-wrap: balance; }
.phero__h1 em { font-style: normal; color: var(--muted); }
.phero__lead { margin-top: clamp(22px, 3vw, 32px); max-width: 54ch; font-size: clamp(17px, 1.5vw, 21px); line-height: 1.55; color: rgba(245, 245, 244, .74); }
.phero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(28px, 3.4vw, 40px); }
.phero__art { position: relative; width: 100%; max-width: 520px; justify-self: end; aspect-ratio: 1 / .86; }
.phero__art canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
@media (max-width: 899px) {
  .phero__grid { grid-template-columns: 1fr; }
  .phero__art { justify-self: start; max-width: 360px; aspect-ratio: 16 / 10; order: 2; }
}

/* ============================== marquee (.mq) ============================== */
.mq { position: relative; overflow: hidden; border-block: 1px solid var(--line); cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.mq.is-drag { cursor: grabbing; }
.mq__track { display: flex; width: max-content; will-change: transform; transform: translate3d(0, 0, 0); }
.mq__set { display: flex; flex: none; align-items: center; }
.mq__item { display: flex; align-items: center; gap: 14px; padding: clamp(20px, 2.2vw, 28px) 0; white-space: nowrap; -webkit-user-drag: none; }
.mq__num { font: 400 11px/1 var(--mono); letter-spacing: .08em; color: rgba(245, 245, 244, .36); transition: color .3s; min-width: 2ch; }
.mq__txt { font: 500 clamp(18px, 1.7vw, 24px)/1 var(--sans); letter-spacing: -.03em; color: rgba(245, 245, 244, .52); transition: color .35s; }
.mq__dot { flex: none; width: 6px; height: 6px; margin: 0 clamp(24px, 3vw, 44px) 0 clamp(8px, 1.6vw, 22px); border-radius: 50%; background: rgba(255, 255, 255, .16); transition: background .3s, box-shadow .35s, transform .4s var(--ease); }
.mq__item:hover .mq__txt, .mq__item:focus-visible .mq__txt { color: #fff; }
.mq__item:hover .mq__num, .mq__item:focus-visible .mq__num { color: rgba(245, 245, 244, .8); }
.mq__item:hover .mq__dot, .mq__item:focus-visible .mq__dot { background: var(--lime); box-shadow: 0 0 12px var(--lime), 0 0 28px rgba(198, 244, 50, .45); transform: scale(1.35); }
.mq.is-drag .mq__item { pointer-events: none; }

/* ============================== cards ============================== */
.card { position: relative; display: flex; flex-direction: column; padding: clamp(24px, 2.6vw, 36px); border: 1px solid var(--line); border-radius: 20px; background: var(--bg-2); overflow: hidden; transition: border-color .4s, background .4s; }
.card h3 { font: 500 clamp(22px, 2.2vw, 30px)/1.1 var(--sans); letter-spacing: -.04em; }
.card p { margin-top: 10px; color: rgba(245, 245, 244, .68); }
a.card:hover, .card--link:hover { border-color: var(--line-2); }

/* why cards: 2x2 grid of spotlight cards with line icons */
.why__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.wcard { display: flex; flex-direction: column; min-height: 320px; padding: clamp(28px, 3vw, 44px); border: 1px solid var(--line); border-radius: 20px; background: var(--bg-2); overflow: hidden; transition: border-color .4s, background .4s; }
.wcard__ic { width: 56px; height: 56px; margin-bottom: auto; fill: none; stroke: rgba(255, 255, 255, .5); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; transition: stroke .5s, transform .7s var(--ease); }
.wcard__ic .x { stroke: #fff; }
.wcard:hover .wcard__ic { stroke: rgba(255, 255, 255, .85); transform: translateY(-4px); }
.wcard__n { position: absolute; right: clamp(28px, 3vw, 44px); top: clamp(28px, 3vw, 44px); font: 400 12px/1 var(--mono); letter-spacing: .06em; color: var(--muted); }
.wcard h3 { margin-top: 56px; font: 500 clamp(28px, 2.8vw, 40px)/1.05 var(--sans); letter-spacing: -.045em; }
.wcard p { margin-top: 10px; max-width: 34ch; color: rgba(245, 245, 244, .66); font-size: 17px; }

/* numbered points in a row */
.points { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: clamp(48px, 6vw, 80px); border-top: 1px solid var(--line); }
.points li { padding: 22px 24px 0 0; font: 500 clamp(17px, 1.5vw, 20px)/1.3 var(--sans); letter-spacing: -.02em; }
.points li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.points__n { display: block; margin-bottom: 18px; font: 400 12px/1 var(--mono); letter-spacing: .06em; color: var(--muted); }

/* process line: <ol class="steps" data-steps> (RJG.steps lights the dots as you scroll) */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 clamp(20px, 3vw, 44px); margin-top: clamp(64px, 9vw, 120px); }
.steps__rail { position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--line-2); }
.steps__fill { position: absolute; inset: 0; background: var(--lime); box-shadow: 0 0 14px rgba(198, 244, 50, .55); transform-origin: left; transform: scaleX(var(--p, 1)); }
.step { position: relative; padding-top: 44px; }
.step__dot { position: absolute; left: 0; top: -6px; width: 12px; height: 12px; border: 1px solid var(--line-2); border-radius: 50%; background: var(--bg); transition: background .5s, border-color .5s, box-shadow .5s; }
.step.is-lit .step__dot { background: #fff; border-color: #fff; }
.step.is-active .step__dot { background: var(--lime); border-color: var(--lime); box-shadow: 0 0 0 5px rgba(198, 244, 50, .14), 0 0 20px rgba(198, 244, 50, .7); }
.step__ic { width: 52px; height: 52px; margin-bottom: 28px; fill: none; stroke: rgba(255, 255, 255, .5); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; transition: stroke .6s; }
.step__ic .x { stroke: #fff; }
.step.is-lit .step__ic { stroke: rgba(255, 255, 255, .8); }
.step__n { display: block; margin-bottom: 14px; font: 400 12px/1 var(--mono); letter-spacing: .06em; color: var(--muted); }
.step h3 { font: 500 clamp(32px, 3.4vw, 50px)/1 var(--sans); letter-spacing: -.045em; margin-bottom: 14px; }
.step p { max-width: 30ch; color: rgba(245, 245, 244, .66); }
html[data-motion="on"] .step { opacity: .35; transition: opacity .7s var(--ease); }
html[data-motion="on"] .step.is-lit { opacity: 1; }

/* client rows */
.clients { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.client { position: relative; border: 1px solid var(--line); border-radius: 16px; background: var(--bg-2); transition: border-color .4s, background .4s; }
.client:hover, .client:focus-within { border-color: var(--line-2); }
.client__link { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; gap: 16px; height: 100%; padding: clamp(22px, 2.4vw, 30px) clamp(20px, 2.4vw, 32px); border-radius: inherit; }
.client__i { font: 400 12px/1 var(--mono); letter-spacing: .06em; color: var(--muted); transition: color .4s; }
.client:hover .client__i { color: var(--lime); }
.client h3 { font: 500 clamp(22px, 2.2vw, 30px)/1.1 var(--sans); letter-spacing: -.04em; transition: transform .5s var(--ease); }
.client:hover h3 { transform: translateX(6px); }
.client__tags { margin-top: 8px; font: 400 11.5px/1.3 var(--mono); letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.client__arr { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; opacity: .45; transition: transform .5s var(--ease), opacity .3s; }
.client:hover .client__arr, .client__link:focus-visible .client__arr { transform: translateX(6px); opacity: 1; }
.client__visit { position: absolute; right: clamp(20px, 2.4vw, 32px); top: 50%; z-index: 2; display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(5, 5, 5, .92); font: 400 11px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: #fff; opacity: 0; transform: translate(8px, -50%); pointer-events: none; transition: opacity .3s, transform .45s var(--ease), border-color .3s, background .3s; }
.client__visit:hover { border-color: var(--lime); background: #111; }
.client:hover .client__visit, .client:focus-within .client__visit { opacity: 1; transform: translate(0, -50%); pointer-events: auto; }
.client:has(.client__visit):hover .client__arr, .client:has(.client__visit):focus-within .client__arr { opacity: 0; }
.client--next { border-style: dashed; border-color: var(--line-2); background: transparent; }
@media (hover: none) {
  .client { display: flex; flex-direction: column; }
  .client__link { height: auto; padding-bottom: 14px; }
  .client__visit { position: static; opacity: 1; transform: none; pointer-events: auto; width: fit-content; margin: 0 0 18px 60px; height: 30px; }
  .client--next .client__link { padding-bottom: clamp(22px, 2.4vw, 30px); }
}

/* ============================== forms (terminal card) ============================== */
.term { border: 1px solid var(--line-2); border-radius: 20px; background: #080808; overflow: hidden; box-shadow: 0 50px 120px rgba(0, 0, 0, .5); transition: box-shadow .6s, border-color .6s; }
.term.is-pulse { border-color: rgba(198, 244, 50, .6); box-shadow: 0 50px 120px rgba(0, 0, 0, .5), 0 0 0 1px rgba(198, 244, 50, .25), 0 0 60px rgba(198, 244, 50, .12); }
.term__bar { display: flex; align-items: center; gap: 7px; height: 46px; padding: 0 18px; border-bottom: 1px solid var(--line); font: 400 11px/1 var(--mono); letter-spacing: .04em; color: var(--muted); }
.term__bar span:first-of-type { margin-left: 12px; margin-right: auto; }
.term__live { display: inline-flex; align-items: center; gap: 8px; text-transform: uppercase; letter-spacing: .06em; }
.tdot { width: 9px; height: 9px; border-radius: 50%; border: 1px solid var(--line-2); }
.term__body { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; padding: 14px clamp(22px, 3vw, 40px) clamp(24px, 3vw, 40px); }
.fld { display: grid; gap: 4px; padding: 18px 0 6px; border: 0; margin: 0; min-width: 0; }
.fld--chips, .fld--wide, .term__foot, .term__note { grid-column: 1 / -1; }
.fld label, .fld legend { padding: 0; font: 400 11px/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.fld label span, .fld legend span { color: rgba(245, 245, 244, .85); margin-right: 2px; }
.fld label em { font-style: normal; opacity: .7; }
.fld input[type="text"], .fld input[type="tel"], .fld input[type="email"], .fld input[type="url"], .fld select, .fld textarea { width: 100%; padding: 10px 0 12px; border: 0; border-bottom: 1px solid var(--line-2); border-radius: 0; background: none; outline: none; font: 400 18px/1.4 var(--sans); letter-spacing: -.01em; color: #fff; transition: border-color .3s, box-shadow .3s; resize: vertical; }
.fld select { appearance: none; -webkit-appearance: none; }
.fld select option { background: #0e0e0e; color: #fff; }
.fld textarea { min-height: 84px; }
.fld input::placeholder, .fld textarea::placeholder { color: rgba(245, 245, 244, .3); }
.fld input:focus, .fld textarea:focus, .fld select:focus { border-bottom-color: var(--lime); box-shadow: 0 1px 0 var(--lime); }
.fld--chips { margin-top: 20px; padding-top: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; height: 38px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: 999px; font: 400 13.5px/1 var(--sans); color: rgba(245, 245, 244, .8); transition: background .3s, color .3s, border-color .3s; }
.chip:hover span { border-color: rgba(255, 255, 255, .5); }
.chip input:checked + span { background: #fff; border-color: #fff; color: #050505; }
.chip input:focus-visible + span { outline: 2px solid var(--lime); outline-offset: 3px; }
.term__foot { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; margin-top: 30px; }
.term__msg { flex: 1 1 240px; font: 400 12.5px/1.5 var(--mono); color: rgba(245, 245, 244, .85); min-height: 1.5em; }
.term__msg.is-on::before { content: "> "; color: var(--lime); }
.term__note { margin-top: 18px; font: 400 12.5px/1.5 var(--mono); color: rgba(245, 245, 244, .8); }
.term__note::before { content: "> "; color: var(--lime); }

/* ============================== accordion (data-accordion) ============================== */
.acc { border-top: 1px solid var(--line); }
.acc__item { border-bottom: 1px solid var(--line); }
.acc__item > h3 { font: inherit; }
.acc__btn { display: flex; align-items: center; justify-content: space-between; gap: 24px; width: 100%; padding: clamp(20px, 2.4vw, 30px) 0; border: 0; background: none; text-align: left; cursor: pointer; font: 500 clamp(19px, 2vw, 28px)/1.2 var(--sans); letter-spacing: -.03em; color: rgba(245, 245, 244, .86); transition: color .3s; }
.acc__btn:hover, .acc__item.is-open .acc__btn { color: #fff; }
.acc__x { position: relative; flex: none; width: 30px; height: 30px; border: 1px solid var(--line-2); border-radius: 50%; transition: border-color .3s, transform .5s var(--ease), background .3s; }
.acc__x::before, .acc__x::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.5px; margin: -.75px 0 0 -5.5px; background: #fff; transition: transform .5s var(--ease); }
.acc__x::after { transform: rotate(90deg); }
.acc__btn:hover .acc__x { border-color: rgba(255, 255, 255, .5); }
.acc__item.is-open .acc__x { border-color: var(--lime); transform: rotate(180deg); }
.acc__item.is-open .acc__x::after { transform: rotate(0); }
.acc__panel { display: grid; grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows .6s var(--ease), visibility 0s .6s; }
.acc__item.is-open .acc__panel { grid-template-rows: 1fr; visibility: visible; transition-delay: 0s; }
.acc__in { min-height: 0; overflow: hidden; }
.acc__in > * { max-width: 68ch; padding: 0 0 clamp(22px, 2.6vw, 32px); color: rgba(245, 245, 244, .72); }
html[data-motion="off"] .acc__panel, html[data-motion="off"] .acc__x, html[data-motion="off"] .acc__x::after { transition: none; }
html:not(.js) .acc__panel { grid-template-rows: 1fr; visibility: visible; }

/* ============================== tabs (data-tabs) ============================== */
.tabs__list { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, .02); }
.tab { height: 40px; padding: 0 20px; border: 0; border-radius: 999px; background: none; cursor: pointer; font: 500 14px/1 var(--sans); color: rgba(245, 245, 244, .6); transition: color .3s, background .3s; }
.tab:hover { color: #fff; }
.tab[aria-selected="true"] { background: #fff; color: #050505; }
.tabpanel { margin-top: clamp(28px, 3.6vw, 48px); }
.tabpanel[hidden] { display: none; }
html[data-motion="on"] .tabpanel:not([hidden]) { animation: rjg-tabin .6s var(--ease); }
@keyframes rjg-tabin { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ============================== filter chips (data-filter-group) ============================== */
.fchips { display: flex; flex-wrap: wrap; gap: 8px; }
.fchip { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: 999px; background: none; cursor: pointer; font: 400 13.5px/1 var(--sans); color: rgba(245, 245, 244, .8); transition: background .3s, color .3s, border-color .3s; }
.fchip:hover { border-color: rgba(255, 255, 255, .5); }
.fchip[aria-pressed="true"] { background: #fff; border-color: #fff; color: #050505; }
.fchip small { font: 400 10.5px/1 var(--mono); opacity: .6; }
.fcount { font: 400 11px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
[data-filter-item] { transition: opacity .35s var(--ease), transform .45s var(--ease); }
[data-filter-item].is-out { opacity: 0; transform: scale(.97); }
[data-filter-item][hidden] { display: none !important; }
html[data-motion="on"] [data-filter-item].is-in-f { animation: rjg-tabin .5s var(--ease); }

/* ============================== pages list (prototype index) ============================== */
.pages-list { border-top: 1px solid var(--line); }
.pages-list li { border-bottom: 1px solid var(--line); }
.pages-list a { display: grid; grid-template-columns: 44px minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, .9fr); align-items: center; gap: 16px; padding: 20px 4px; transition: background .3s, padding .45s var(--ease); }
.pages-list a:hover { background: rgba(255, 255, 255, .03); padding-left: 14px; }
.pages-list b { font: 500 clamp(20px, 2vw, 28px)/1.15 var(--sans); letter-spacing: -.035em; }
.pages-list code, .pages-list span { font: 400 12.5px/1.3 var(--mono); letter-spacing: .02em; color: var(--muted); }
.pages-list__n { letter-spacing: .06em !important; }
.pages-list a:hover .pages-list__n { color: var(--lime); }
@media (max-width: 760px) { .pages-list a { grid-template-columns: 34px 1fr; } .pages-list code, .pages-list__f { grid-column: 2; } }

/* ============================== desk objects (.dobj) ============================== */
/* Seven line-art objects, one per service. <button class="dobj dobj--websites" data-drag> <span class="dobj__in">{{OBJECT:websites}}</span> </button>
   Position with --x / --y (left/top, any unit), --r (rest rotation in deg), --k (size multiplier on the container). RJG.drag does the rest. */
.obj { fill: none; stroke: #f5f5f4; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.obj :is(path, rect, circle, line, ellipse, polyline) { vector-effect: non-scaling-stroke; }
.obj .f { fill: #0e0e0e; }
.obj .d { stroke: rgba(245, 245, 244, .34); }
.obj .l { stroke: var(--lime); }
.obj .lf { fill: var(--lime); stroke: none; }
.obj .lw { fill: #f5f5f4; stroke: none; }
.obj .t { fill: #f5f5f4; stroke: none; font: 400 8.6px var(--mono); letter-spacing: 0; }
.obj .t--s { font-size: 7.2px; letter-spacing: .08em; fill: rgba(245, 245, 244, .72); }

.dobj { position: absolute; left: var(--x, 0); top: var(--y, 0); z-index: 2; width: calc(var(--w, 120) * var(--k, 1) * 1px); margin: 0; padding: 0; border: 0; background: none; color: inherit; cursor: grab;
  touch-action: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; transform: rotate(calc(var(--r, 0) * 1deg)); will-change: transform; pointer-events: auto; }
.dobj.is-drag { cursor: grabbing; }
.dobj:focus { outline: none; }
.dobj:focus-visible { outline: 2px solid var(--lime); outline-offset: 8px; border-radius: 14px; }
.dobj__in { display: block; filter: drop-shadow(0 22px 26px rgba(0, 0, 0, .6)) drop-shadow(0 2px 3px rgba(0, 0, 0, .5)); transition: filter .3s; }
.dobj.is-drag .dobj__in { filter: drop-shadow(0 38px 36px rgba(0, 0, 0, .7)) drop-shadow(0 4px 6px rgba(0, 0, 0, .5)); }
.dobj .obj { width: 100%; height: auto; transition: stroke .3s; }
.dobj:hover .obj, .dobj:focus-visible .obj, .dobj.is-drag .obj { stroke: #fff; }
.dobj:hover .obj .l, .dobj.is-drag .obj .l { filter: drop-shadow(0 0 5px rgba(198, 244, 50, .85)); }
.dobj:hover .obj .lf, .dobj.is-drag .obj .lf { filter: drop-shadow(0 0 5px rgba(198, 244, 50, .95)); }
.dobj__lbl { position: absolute; left: 50%; top: calc(100% + 10px); transform: translateX(-50%); font: 400 10px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .3s, color .3s; }
.dobj:hover .dobj__lbl, .dobj:focus-visible .dobj__lbl, .dobj.is-drag .dobj__lbl { opacity: 1; color: #fff; }
.dobj--websites { --w: 150; --fd: 7.2s; --fl: -1s; }
.dobj--seo { --w: 170; --fd: 8.4s; --fl: -3s; }
.dobj--ads { --w: 124; --fd: 6.6s; --fl: -2s; }
.dobj--social { --w: 86; --fd: 7.8s; --fl: -4.5s; }
.dobj--email { --w: 130; --fd: 8.8s; --fl: -2.5s; }
.dobj--content { --w: 142; --fd: 6.9s; --fl: -5s; }
.dobj--marketing { --w: 122; --fd: 8.1s; --fl: -3.5s; }
html[data-motion="on"] .dobj__in { animation: rjg-float var(--fd, 7s) ease-in-out var(--fl, 0s) infinite alternate; }
html[data-motion="on"] .dobj.is-drag .dobj__in { animation-play-state: paused; }
@keyframes rjg-float { from { transform: translate3d(0, -5px, 0) rotate(-.9deg); } to { transform: translate3d(0, 7px, 0) rotate(1.1deg); } }
.dobj.is-added .dobj__in { opacity: .6; }
.dobj.is-added::after { content: ""; position: absolute; right: -8px; top: -8px; width: 22px; height: 22px; border-radius: 50%; background: var(--lime) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23050505' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='M6 12.5l4 4 8-9'/></svg>") center / 14px no-repeat; box-shadow: 0 0 14px rgba(198, 244, 50, .7); }
html[data-motion="on"] .dobj.is-added::after { animation: rjg-badge .5s var(--ease); }
@keyframes rjg-badge { from { transform: scale(0); } to { transform: scale(1); } }

/* ============================== brief builder (.brief) ============================== */
.brief { padding-block: clamp(88px, 10vw, 156px); border-top: 1px solid var(--line); overflow: hidden; }
.brief__head { margin-bottom: clamp(40px, 5vw, 72px); }
.brief__head .lead { margin-top: 24px; }
.brief__board { position: relative; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(14px, 1.8vw, 24px); align-items: stretch; }
.brief__desk { position: relative; min-height: clamp(440px, 40vw, 540px); border: 1px solid var(--line); border-radius: 24px; background-color: var(--bg-2);
  background-image: radial-gradient(rgba(255, 255, 255, .13) 1px, transparent 1.3px); background-size: 22px 22px; background-position: 11px 11px; --k: 1; }
.brief__desk::before { content: "Desk"; position: absolute; left: 20px; top: 18px; font: 400 10.5px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); pointer-events: none; }
.brief__tidy { position: absolute; right: 16px; bottom: 14px; z-index: 1; display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 12px 0 10px; border: 1px solid var(--line); border-radius: 999px; background: rgba(5, 5, 5, .6); cursor: pointer; font: 400 10.5px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); transition: color .3s, border-color .3s, background .3s; }
.brief__tidy:hover { color: #fff; border-color: var(--line-2); background: rgba(255, 255, 255, .06); }
.brief__tidy .ic { width: 14px; height: 14px; transition: transform .6s var(--ease); }
.brief__tidy:hover .ic { transform: rotate(-200deg); }
.brief .dobj__lbl { opacity: .85; }
.brief__tray { position: relative; z-index: 1; display: flex; flex-direction: column; padding: clamp(20px, 2.2vw, 28px); border: 1px dashed var(--line-2); border-radius: 24px; background: rgba(255, 255, 255, .012); transition: border-color .3s, background .3s, box-shadow .4s; }
.brief__tray.is-over { border-color: var(--lime); background: rgba(198, 244, 50, .045); box-shadow: 0 0 0 1px rgba(198, 244, 50, .18), 0 0 70px rgba(198, 244, 50, .09); }
.brief__tray-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.brief__count { font: 400 11px/1 var(--mono); letter-spacing: .06em; color: var(--muted); }
.brief__empty { margin: clamp(22px, 3vw, 36px) 0; max-width: 28ch; color: var(--muted); font-size: 15px; line-height: 1.5; }
.brief__list { display: grid; gap: 8px; margin: 18px 0 0; }
.brief__list:empty { display: none; }
.brief__list li { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 8px 10px 8px 14px; border: 1px solid var(--line-2); border-radius: 14px; background: rgba(255, 255, 255, .03); }
html[data-motion="on"] .brief__list li { animation: rjg-listin .5s var(--ease); }
@keyframes rjg-listin { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }
.brief__list .ic { width: 22px; height: 22px; color: rgba(245, 245, 244, .75); }
.brief__list b { flex: 1; min-width: 0; font: 500 17px/1.2 var(--sans); letter-spacing: -.025em; }
.brief__rm { display: grid; place-items: center; flex: none; width: 32px; height: 32px; padding: 0; border: 1px solid var(--line-2); border-radius: 50%; background: none; cursor: pointer; color: rgba(245, 245, 244, .7); transition: color .3s, border-color .3s, background .3s; }
.brief__rm:hover { color: #fff; border-color: rgba(255, 255, 255, .5); background: rgba(255, 255, 255, .06); }
.brief__rm .ic { width: 14px; height: 14px; color: inherit; }
.brief__foot { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 20px; margin-top: auto; padding-top: clamp(22px, 3vw, 32px); }
.brief__clear { padding: 0; border: 0; background: none; cursor: pointer; font: 400 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--line-2); padding-bottom: 3px; }
.brief__clear:hover { color: #fff; }
.brief__clear[hidden] { display: none; }

/* ============================== instruments (.inst) ============================== */
/* {{INSTRUMENT:key}} : an animated, interactive illustration. Plays when it scrolls into view (RJG.inst). */
.inst { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: var(--bg-2); border: 1px solid var(--line); border-radius: 20px; container-type: inline-size; isolation: isolate; }
.inst__svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.inst__cap, .inst__tag { position: absolute; font: 400 10px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.inst__cap { left: 16px; bottom: 19px; }
.inst__tag { right: 16px; top: 15px; }
.inst__btn, .inst__range { position: absolute; right: 14px; bottom: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 9px; height: 30px; padding: 0 13px; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(5, 5, 5, .78); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); cursor: pointer; font: 400 10px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: rgba(245, 245, 244, .85); transition: background .3s, color .3s, border-color .3s; }
.inst__btn::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 8px var(--lime); }
.inst__btn:hover { background: #fff; color: #050505; border-color: #fff; }
.inst__range input { width: 92px; height: 18px; margin: 0; background: none; cursor: pointer; -webkit-appearance: none; appearance: none; }
.inst__range input::-webkit-slider-runnable-track { height: 2px; border-radius: 1px; background: rgba(255, 255, 255, .28); }
.inst__range input::-moz-range-track { height: 2px; border-radius: 1px; background: rgba(255, 255, 255, .28); }
.inst__range input::-webkit-slider-thumb { -webkit-appearance: none; width: 14px; height: 14px; margin-top: -6px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px rgba(198, 244, 50, .0); transition: box-shadow .3s; }
.inst__range input::-moz-range-thumb { width: 14px; height: 14px; border: 0; border-radius: 50%; background: #fff; }
.inst__range input:hover::-webkit-slider-thumb, .inst__range input:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px rgba(198, 244, 50, .35); }
.inst__range input:focus-visible { outline: none; }
.inst__range:focus-within { border-color: var(--lime); }
.inst__note { position: absolute; left: 11%; right: 11%; top: 72.5%; height: 12.5%; display: flex; align-items: center; justify-content: center; margin: 0; padding: 0 6%; text-align: center; font: 400 11.5px/1.4 var(--mono); color: #fff; opacity: 0; transform: translateY(6px); transition: opacity .35s, transform .45s var(--ease); pointer-events: none; z-index: 1; }
.inst.has-note .inst__note { opacity: 1; transform: none; }
.inst.has-note .addr-g { opacity: 0; }
.inst .addr-g { transition: opacity .3s; }
.inst__flash { position: absolute; inset: 0; z-index: 3; background: #fff; opacity: 0; pointer-events: none; }
html[data-motion="on"] .inst.is-flash .inst__flash { animation: rjg-flash .42s ease-out; }
@keyframes rjg-flash { 0% { opacity: 0; } 12% { opacity: .8; } 100% { opacity: 0; } }
@container (max-width: 420px) { .inst__cap { display: none; } .inst__btn, .inst__range { height: 28px; padding: 0 11px; } }

/* SVG instrument parts */
.inst .s { fill: none; stroke: rgba(255, 255, 255, .72); stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }
.inst .s.dim { stroke: rgba(255, 255, 255, .2); }
.inst .s.br { stroke: #fff; stroke-width: 1.6; }
.inst .s.lime { stroke: var(--lime); }
.inst .dash { stroke-dasharray: 3 5; }
.inst .f1 { fill: rgba(255, 255, 255, .92); }
.inst .f2 { fill: rgba(255, 255, 255, .36); }
.inst .f3 { fill: rgba(255, 255, 255, .12); }
.inst .t { font: 400 9.5px var(--mono); letter-spacing: .05em; fill: var(--muted); }
.inst .t.on { fill: #fff; }
.inst .big { font: 500 30px var(--mono); letter-spacing: -.02em; fill: #fff; }
.inst .num { font: 500 24px var(--mono); letter-spacing: -.02em; fill: #fff; }
.inst .rec { font: 500 12px var(--mono); letter-spacing: .04em; fill: rgba(255, 255, 255, .82); }
.inst .addr { font: 400 15px var(--mono); fill: #fff; }
.inst .lime-f { fill: var(--lime); }
.inst .card-bg { fill: #0e0e0e; stroke: var(--line-2); stroke-width: 1; }
.inst .bar { fill: rgba(255, 255, 255, .07); stroke: rgba(255, 255, 255, .32); stroke-width: 1.2; }
.inst .bar--you { fill: #fff; stroke: #fff; }
.inst .tile { fill: rgba(255, 255, 255, .05); stroke: rgba(255, 255, 255, .14); }
.inst .tile.t2 { fill: rgba(255, 255, 255, .11); }
.inst .cal { fill: rgba(255, 255, 255, .85); }
.inst .cal--o { fill: none; stroke: rgba(255, 255, 255, .6); stroke-width: 1.2; }
.inst .cal-live { fill: var(--lime); filter: drop-shadow(0 0 4px rgba(198, 244, 50, .8)); }
.inst .pt { fill: #0a0a0a; stroke: #fff; stroke-width: 1.3; }
.inst .end-dot { fill: #fff; }
.inst .area { fill: url(#rjg-area); }
.inst .spark-big { fill: rgba(255, 255, 255, .14); stroke: #fff; stroke-width: 1.4; stroke-linejoin: round; }
.inst .spark-sm { fill: #fff; }
.inst .ring-track { fill: none; stroke: rgba(255, 255, 255, .12); stroke-width: 4; }
.inst .ring-val { fill: none; stroke: #fff; stroke-width: 4; }
.inst .tick { fill: none; stroke: var(--lime); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.inst .focus { fill: none; stroke: var(--lime); stroke-width: 1.5; }
.inst .rec-dot { fill: #fff; }
.inst .hub { fill: #0e0e0e; stroke: #fff; stroke-width: 1.4; }
.inst .hub-ring { fill: none; stroke: rgba(255, 255, 255, .2); stroke-dasharray: 2 5; }
.inst .node circle:first-child { fill: #0e0e0e; stroke: rgba(255, 255, 255, .5); stroke-width: 1.2; transition: stroke .3s, fill .3s; }
.inst .node .s { stroke: #fff; }
.inst .pulse { fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-dasharray: 7 400; stroke-dashoffset: 7; }
.inst .pulse--rim { stroke-width: 1.6; stroke-dasharray: 4 400; stroke-dashoffset: 4; }
.inst .a-draw { stroke-dasharray: 1; stroke-dashoffset: 0; stroke-linecap: butt; }

/* instrument interactions */
.inst--web .web-d, .inst--web .web-p { transition: opacity .45s var(--ease), transform .6s var(--ease), visibility 0s; transform-box: fill-box; transform-origin: 50% 50%; }
.inst--web .web-p { opacity: 0; visibility: hidden; transform: scale(.94); }
.inst--web.is-phone .web-d { opacity: 0; visibility: hidden; transform: scale(.94); }
.inst--web.is-phone .web-p { opacity: 1; visibility: visible; transform: none; }
html[data-motion="off"] .inst--web .web-d, html[data-motion="off"] .inst--web .web-p { transition: none; }
.inst--ads .bar-g { transform-box: view-box; transform-origin: 0 322px; transform: scaleY(calc(1.15 - .3 * var(--bud, .5))); transition: transform .55s var(--ease); }
.inst--ads .bar-g--you { transform: scaleY(calc(.5 + var(--bud, .5))); }
html[data-motion="off"] .inst--ads .bar-g { transition: none; }
.inst--social .tpos { transition: transform .75s var(--ease); transition-delay: calc(var(--i, 0) * 28ms); }
html[data-motion="off"] .inst--social .tpos { transition: none; }
.inst--mail .rowbg { fill: transparent; transition: fill .3s; }
.inst--mail .rowhit { cursor: pointer; }
.inst--mail .rowhit:hover .rowbg, .inst--mail .rowhit.is-sel .rowbg { fill: rgba(255, 255, 255, .045); }
.inst--mail .rowhit.is-sel .rec { fill: #fff; }
.inst--mail .rowhit.is-sel .tick-g { animation: rjg-tickpop .6s var(--ease); transform-box: fill-box; transform-origin: 50% 50%; }
@keyframes rjg-tickpop { 0% { transform: scale(1); } 35% { transform: scale(1.35); } 100% { transform: scale(1); } }
.inst--content .shot { transform-box: fill-box; transform-origin: 50% 50%; }
html[data-motion="on"] .inst--content .shot { animation: rjg-shotdrop .75s cubic-bezier(.2, 1.2, .3, 1) both; }
@keyframes rjg-shotdrop { from { opacity: 0; transform: translate(var(--sx, 0px), -170px) rotate(calc(var(--sr, 0deg) * -2)) scale(1.5); } to { opacity: 1; transform: none; } }
.inst--content .shot .ph { fill: #0e0e0e; stroke: rgba(255, 255, 255, .8); stroke-width: 1.2; }
.inst--content .shot .pi { fill: rgba(255, 255, 255, .1); stroke: rgba(255, 255, 255, .25); stroke-width: 1; }
.inst--content .shot .pl { fill: none; stroke: #fff; stroke-width: 1.1; stroke-linecap: round; stroke-linejoin: round; }
.inst--content .shot .pd { fill: var(--lime); }
.inst--mkt .hit { fill: transparent; }
.inst--mkt .mnode { cursor: pointer; }
.inst--mkt .rim path, .inst--mkt .spokes path { transition: stroke .3s, stroke-width .3s, opacity .3s; }
.inst--mkt .nl { transition: fill .3s; }
.inst--mkt.has-hot .node { opacity: .4; transition: opacity .3s; }
.inst--mkt.has-hot .node.is-lit, .inst--mkt.has-hot .mnode.is-lit .node { opacity: 1; }
.inst--mkt .mnode.is-lit .node circle:first-child { stroke: var(--lime); }
.inst--mkt .nl.is-lit { fill: #fff; }
.inst--mkt .rim path.is-lit, .inst--mkt .spokes path.is-lit { stroke: var(--lime); stroke-width: 1.8; }
.inst--mkt.has-hot .spokes path:not(.is-lit), .inst--mkt.has-hot .rim path:not(.is-lit) { opacity: .5; }
.inst--mkt .node { transition: opacity .3s; }

/* instrument animation (motion on, instrument live) */
.inst svg .a-pop, .inst svg .a-endfade, .inst svg .a-rise, .inst svg .a-flip, .inst svg .a-unfoldL, .inst svg .a-unfoldR, .inst svg .a-focus { transform-box: fill-box; transform-origin: 50% 50%; }
.inst svg .a-rise { transform-origin: 50% 100%; }
.inst svg .a-unfoldL { transform-origin: 100% 50%; }
.inst svg .a-unfoldR { transform-origin: 0% 50%; }
.inst svg .a-spark { transform-box: fill-box; transform-origin: 50% 50%; }
.inst svg .a-snap { transform-box: fill-box; transform-origin: 50% 50%; }
.inst svg .a-closeall { transform-box: view-box; transform-origin: 200px 146px; }
html[data-motion="on"] .inst.is-live :is(.a-pop, .a-fade, .a-draw, .a-rise, .a-flip, .a-snap, .a-slide, .a-unfoldL, .a-unfoldR, .a-closeall, .a-focus, .a-spark, .a-blink, .a-endfade, .tc) {
  animation-duration: var(--t, .6s); animation-delay: var(--d, 0s); animation-fill-mode: both; animation-timing-function: var(--e, cubic-bezier(.2, .8, .2, 1));
}
html[data-motion="on"] .inst.is-live .a-pop, html[data-motion="on"] .inst.is-live .a-endfade { animation-name: rjg-pop; }
html[data-motion="on"] .inst.is-live .a-fade { animation-name: rjg-fade; }
html[data-motion="on"] .inst.is-live .a-draw { animation-name: rjg-draw; }
html[data-motion="on"] .inst.is-live .a-rise { animation-name: rjg-rise; }
html[data-motion="on"] .inst.is-live .a-flip { animation-name: rjg-flip; }
html[data-motion="on"] .inst.is-live .a-snap { animation-name: rjg-snap; --e: cubic-bezier(.16, 1.1, .3, 1); --t: .85s; }
html[data-motion="on"] .inst.is-live .a-slide { animation-name: rjg-slide; }
html[data-motion="on"] .inst.is-live .a-unfoldL { animation-name: rjg-unfold; }
html[data-motion="on"] .inst.is-live .a-unfoldR { animation-name: rjg-unfold; }
html[data-motion="on"] .inst.is-live .a-closeall { animation-name: rjg-closeall; }
html[data-motion="on"] .inst.is-live .a-focus { animation-name: rjg-focus; }
html[data-motion="on"] .inst.is-live .a-spark { animation-name: rjg-spark; --e: cubic-bezier(.3, 1.4, .4, 1); --t: .9s; }
html[data-motion="on"] .inst.is-live .tc { animation-name: rjg-fade; animation-duration: .01s; }
html[data-motion="on"] .inst.is-live .a-blink { animation: rjg-blink 1.1s 1.4s ease-in-out infinite; }
html[data-motion="on"] .inst.is-live .pulse { animation: rjg-pulse 2.4s linear infinite; animation-delay: var(--d, 0s); animation-fill-mode: backwards; }
html[data-motion="on"] .inst.is-live .pulse--rim { animation-duration: 6s; }
html[data-motion="on"] .inst.is-live .hub-ring { animation: rjg-spin 24s linear infinite; transform-box: fill-box; transform-origin: center; }
@keyframes rjg-pop { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: scale(1); } }
@keyframes rjg-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes rjg-rise { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes rjg-flip { from { opacity: 0; transform: scaleX(0); } to { opacity: 1; transform: scaleX(1); } }
@keyframes rjg-snap { from { opacity: 0; transform: translate(var(--dx), var(--dy)) rotate(var(--r)) scale(.9); } to { opacity: 1; transform: none; } }
@keyframes rjg-slide { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes rjg-unfold { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes rjg-closeall { from { opacity: 0; transform: scale(1.55); } to { opacity: 1; transform: none; } }
@keyframes rjg-focus { 0% { opacity: 0; transform: scale(2.4); } 55% { opacity: 1; transform: scale(.92); } 100% { opacity: 1; transform: scale(1); } }
@keyframes rjg-spark { from { opacity: 0; transform: scale(0) rotate(-120deg); } to { opacity: 1; transform: scale(1) rotate(0); } }
@keyframes rjg-pulse { from { stroke-dashoffset: 7; } to { stroke-dashoffset: -100; } }
@keyframes rjg-spin { to { transform: rotate(360deg); } }
@keyframes rjg-blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

/* ============================== closing band (.close, the cta partial) ============================== */
.close { padding-block: clamp(110px, 14vw, 220px); text-align: center; overflow: hidden; isolation: isolate; border-top: 1px solid var(--line); }
.close__canvas { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; }
.close__shade { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(to bottom, #050505 0, rgba(5, 5, 5, 0) 25%, rgba(5, 5, 5, 0) 70%, #050505 100%), radial-gradient(70% 70% at 50% 50%, rgba(5, 5, 5, .35), rgba(5, 5, 5, .85)); }
.close .label { justify-content: center; }
.close__h { font: 500 clamp(64px, 17vw, 300px)/.86 var(--sans); letter-spacing: -.055em; }
.close__p { margin: clamp(28px, 4vw, 48px) auto 0; max-width: 34ch; font-size: clamp(18px, 1.8vw, 24px); line-height: 1.4; color: rgba(245, 245, 244, .78); }
.close__cta { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: clamp(32px, 4vw, 48px); }

/* ============================== footer ============================== */
.ftr { position: relative; padding-top: clamp(56px, 7vw, 96px); border-top: 1px solid var(--line); overflow: hidden; background: var(--bg); }
.ftr__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.ftr__brand img { height: 22px; width: auto; }
.ftr__brand p { margin-top: 24px; font: 400 13px/1.8 var(--mono); letter-spacing: .02em; color: var(--muted); }
.ftr__brand p a { color: #fff; }
.ftr__col { display: flex; flex-direction: column; align-items: flex-start; gap: 11px; }
.ftr__col h3 { margin-bottom: 8px; font: 400 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.ftr__col a { font-size: 15px; color: rgba(245, 245, 244, .78); transition: color .3s, transform .4s var(--ease); }
.ftr__col a:hover { color: #fff; transform: translateX(3px); }
.ftr__base { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: clamp(48px, 6vw, 88px); padding-top: 22px; border-top: 1px solid var(--line); font: 400 12px/1 var(--mono); letter-spacing: .04em; color: var(--muted); }
.ftr__top { display: inline-flex; align-items: center; gap: 8px; color: rgba(245, 245, 244, .78); transition: color .3s; }
.ftr__top:hover { color: #fff; }
.ftr__top .ic { width: 14px; height: 14px; transform: rotate(-90deg); }
.ftr__mark { position: relative; margin-top: clamp(24px, 4vw, 56px); line-height: 0; }
.ftr__mark img { width: 100%; height: auto; opacity: .08; }
.ftr__mark canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.ftr__mark.has-dots img { visibility: hidden; }
.ftr__mark.has-dots { aspect-ratio: 452 / 76; }

/* ============================== responsive ============================== */
@media (max-width: 1180px) { .hdr__tel { display: none; } }
@media (max-width: 1023px) {
  .why__grid { grid-template-columns: 1fr 1fr; }
  .brief__board { grid-template-columns: 1fr; }
  .brief__desk { min-height: 420px; }
  .ftr__grid { grid-template-columns: 1fr 1fr 1fr; }
  .ftr__brand { grid-column: 1 / -1; }
}
@media (max-width: 959px) {
  .hdr__nav { display: none; }
  .hdr__in { grid-template-columns: 1fr auto; }
  .burger { display: block; }
  .hdr__right { gap: 12px; }
}
@media (max-width: 860px) {
  .points { grid-template-columns: 1fr 1fr; }
  .points li { padding: 22px 16px 22px 0; }
  .points li + li { padding-left: 0; border-left: 0; }
  .points li:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--line); }
  .points li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .why__grid, .clients { grid-template-columns: 1fr; }
  .wcard { min-height: 260px; }
  .steps { grid-template-columns: 1fr; gap: 56px; padding-left: 44px; }
  .steps__rail { top: 0; bottom: 0; left: 5px; right: auto; width: 1px; height: auto; }
  .steps__fill { transform-origin: top; transform: scaleY(var(--p, 1)); }
  .step { padding-top: 0; }
  .step__dot { left: -44px; top: 4px; }
  .step__ic { margin-bottom: 20px; }
}
@media (max-width: 760px) {
  .brief__desk { min-height: 440px; --k: .66; }
  .brief .dobj { left: var(--mx, var(--x)); top: var(--my, var(--y)); }
  .brief__desk::before { display: none; }
}
@media (max-width: 640px) {
  .btn--lg { --h: 54px; padding: 0 24px; }
  .hdr .btn { display: none; }
  .term__body { grid-template-columns: 1fr; }
  .ftr__grid { grid-template-columns: 1fr 1fr; }
  .ftr__brand { grid-column: 1 / -1; }
  .ftr__col[aria-label="Services"] { grid-column: 1 / -1; }
  .close__cta .btn { flex: 1 1 100%; }
  .client__link { grid-template-columns: 30px minmax(0, 1fr) auto; gap: 10px; }
  .client__visit { margin-left: 40px; }
}
@media print { body::after { display: none; } }
