/* ==========================================================================
   KINSTACKS — "Studio Noir" design system
   Palette (unchanged brand colors): Charcoal #191919 · Ivory #F7F5F0 · Tangerine #FF5A36 · Sage #DCE4D7
   Display: Bricolage Grotesque · Body: Inter · Subtitles/labels: Poppins
   ========================================================================== */

:root {
  --ink: #191919;
  --ink-2: #222325;
  --ink-3: #2A2B2E;
  --ink-4: #35363A;
  --ivory: #F7F5F0;
  --ivory-2: #EFEBE2;
  --white: #FFFFFF;
  --accent: #FF5A36;
  --accent-2: #FF784E;
  --accent-3: #FFA275;
  --accent-hover: #E04522;
  --sage: #DCE4D7;
  --sage-2: #EEF3EB;
  --muted: #A3A5AA;
  --muted-dark: #62646A;
  --line: rgba(247, 245, 240, .12);
  --line-strong: rgba(247, 245, 240, .24);
  --line-light: rgba(25, 25, 25, .12);

  --f-display: 'Bricolage Grotesque', 'Inter', system-ui, sans-serif;
  --f-body: 'Inter', system-ui, -apple-system, 'Helvetica Neue', Arial, sans-serif;
  --f-mono: 'Poppins', system-ui, sans-serif; /* subtitles / labels */

  --pad: clamp(1.25rem, 4vw, 3.5rem);
  --max: 1440px;
  --sec: clamp(5rem, 11vw, 10rem);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --r: 28px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  font-family: var(--f-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ivory);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  min-height: 100vh;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
::selection { background: var(--accent); color: var(--ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 9999; background: var(--accent); color: var(--ink); padding: .6rem 1rem; border-radius: 8px; font-weight: 600; }
.skip-link:focus { left: 8px; }

[hidden] { display: none !important; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--pad); }
.s { position: relative; padding-block: var(--sec); }
.s--tight { padding-block: clamp(3.5rem, 7vw, 6rem); }
.s--ink { background: var(--ink); color: var(--ivory); }
.s--ink2 { background: var(--ink-2); color: var(--ivory); }
.s--ivory { background: var(--ivory); color: var(--ink); }
.s--sage { background: var(--sage); color: var(--ink); }
.s--accent { background: var(--accent); color: var(--ink); }
.s--ivory .muted, .s--sage .muted, .s--accent .muted { color: var(--muted-dark); }
.s--accent .muted { color: rgba(25, 25, 25, .75); }
.muted { color: var(--muted); }
.mono { font-family: var(--f-mono); }
.rounded-top { border-radius: var(--r) var(--r) 0 0; margin-top: calc(var(--r) * -1); z-index: 2; }
.rounded-bottom { border-radius: 0 0 var(--r) var(--r); }

/* ---------- Type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .65rem;
  font-family: var(--f-mono); font-weight: 500; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.s--accent .eyebrow { color: var(--ink); }
.h-xxl, .h-xl, .h-lg, .h-md, .h-sm { font-family: var(--f-display); font-weight: 700; line-height: .98; letter-spacing: -.035em; }
.h-xxl { font-size: clamp(3.1rem, 9.2vw, 10.5rem); font-weight: 800; letter-spacing: -.05em; line-height: .9; }
.h-xl { font-size: clamp(2.7rem, 6.6vw, 7rem); letter-spacing: -.045em; line-height: .95; }
.h-lg { font-size: clamp(2.2rem, 4.8vw, 5rem); }
.h-md { font-size: clamp(1.6rem, 2.6vw, 2.6rem); letter-spacing: -.03em; line-height: 1.08; }
.h-sm { font-size: clamp(1.2rem, 1.6vw, 1.6rem); letter-spacing: -.02em; line-height: 1.15; }
.accent { color: var(--accent); }
.serif-i { font-style: normal; }
.outline { color: transparent; -webkit-text-stroke: 1.5px currentColor; }
.lead { font-size: clamp(1.05rem, 1.35vw, 1.3rem); line-height: 1.6; max-width: 56ch; color: var(--muted); }
.s--ivory .lead, .s--sage .lead { color: var(--muted-dark); }
.s--accent .lead { color: rgba(25, 25, 25, .8); }
.sec-head { display: grid; gap: 1.5rem; margin-bottom: clamp(2.5rem, 6vw, 5rem); }
.sec-head--split { grid-template-columns: 1.3fr 1fr; align-items: end; gap: 3rem; }
.sec-head .eyebrow { margin-bottom: .5rem; }

/* split-text masks */
.sw { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .06em .14em 0; margin: 0 -.06em -.14em 0; }
.sw > span { display: inline-block; will-change: transform; }

/* ---------- Buttons ---------- */
/* Buttons never move or rotate on hover/focus. */
.btn, .btn:hover, .btn:focus-visible, .btn:active, .btn .arr, .btn:hover .arr, .btn:active .arr { transform: none !important; }
.btn {
  --bg: var(--accent); --fg: var(--ink);
  position: relative; display: inline-flex; align-items: center; gap: .75rem; overflow: hidden;
  padding: 1rem 1.6rem; border-radius: 999px; background: var(--bg); color: var(--fg);
  font-weight: 600; font-size: .95rem; line-height: 1; white-space: nowrap; isolation: isolate;
  transition: color .4s var(--ease), border-color .4s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ivory);
  opacity: 0; transition: opacity .35s var(--ease);
}
.btn:hover::before { opacity: 1; }
.btn:hover { color: var(--ink); }
.btn .arr { width: 1.35rem; height: 1.35rem; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--ivory); transition: transform .4s var(--ease); }
.btn .arr svg { width: .7rem; height: .7rem; }
.btn:hover .arr { transform: none; }
.btn--ghost { --bg: transparent; --fg: var(--ivory); border: 1px solid var(--line-strong); }
.btn--ghost::before { background: var(--accent); }
.btn--ghost:hover { border-color: var(--accent); color: var(--ink); }
.btn--ghost .arr { background: var(--accent); color: var(--ink); }
.btn--ink { --bg: var(--ink); --fg: var(--ivory); }
.btn--ink::before { background: var(--ivory); }
.btn--ink .arr { background: var(--accent); color: var(--ink); }
.s--ivory .btn--ghost, .s--sage .btn--ghost { --fg: var(--ink); border-color: var(--line-light); }
.s--accent .btn--ghost { --fg: var(--ink); border-color: rgba(25, 25, 25, .35); }
.s--accent .btn--ghost::before { background: var(--ink); }
.s--accent .btn--ghost:hover { color: var(--ivory); border-color: var(--ink); }
.s--accent .btn:not(.btn--ghost) { --bg: var(--ink); --fg: var(--ivory); }
.s--accent .btn:not(.btn--ghost)::before { background: var(--ivory); }
.s--accent .btn:not(.btn--ghost):hover { color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; }
.link-arrow { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; border-bottom: 1px solid currentColor; padding-bottom: 2px; transition: gap .35s var(--ease), color .3s; }
.link-arrow:hover { gap: .9rem; color: var(--accent); }

/* ---------- Loader & page transition ---------- */
.curtain { position: fixed; inset: 0; z-index: 9000; pointer-events: none; }
.curtain__a, .curtain__b { position: absolute; inset: 0; transform: translateY(0); will-change: transform; }
.curtain__a { background: var(--accent); }
.curtain__b { background: var(--ink); }
html:not(.js) .curtain, html.kin-fail .curtain { display: none; }
.loader { position: fixed; inset: 0; z-index: 9100; display: grid; place-items: center; background: var(--ink); color: var(--ivory); }
.loader__inner { position: relative; }
html:not(.kin-ready):not(.kin-fail) { overflow: hidden; }
.loader__inner { width: min(560px, 80vw); text-align: center; }
.loader__logo { width: min(340px, 66vw); margin: 0 auto 2.6rem; position: relative; }
/* Logo is revealed by pure CSS so it shows instantly, even before GSAP/JS has loaded */
.loader__logo img { display: block; width: 100%; height: auto; opacity: 0; animation: kinLoaderLogoIn 1s cubic-bezier(.16, 1, .3, 1) .08s forwards; }
@keyframes kinLoaderLogoIn { from { opacity: 0; transform: translateY(22px) scale(.95); filter: blur(8px); } to { opacity: 1; transform: none; filter: blur(0); } }
.loader__bar { height: 2px; background: var(--line); position: relative; overflow: hidden; border-radius: 2px; }
.loader__bar i { position: absolute; inset: 0; background: var(--accent); transform: scaleX(0); transform-origin: left; }
/* Indeterminate sweep until JS takes over the real progress bar */
.loader__bar::after { content: ""; position: absolute; top: 0; bottom: 0; width: 38%; background: linear-gradient(90deg, transparent, var(--accent), transparent); animation: kinLoaderSweep 1.2s ease-in-out infinite; }
.loader.is-running .loader__bar::after { display: none; }
@keyframes kinLoaderSweep { from { left: -40%; } to { left: 102%; } }
.loader__meta { display: flex; justify-content: space-between; margin-top: 1rem; font-family: var(--f-mono); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.loader__num { color: var(--accent); }
html:not(.js) .loader, html.kin-fail .loader { display: none; }
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 8000; background: transparent; pointer-events: none; }
.progress i { display: block; height: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; }

/* ---------- Cursor ---------- */
.cursor, .cursor-dot { position: fixed; left: 0; top: 0; z-index: 9500; pointer-events: none; display: none; }
@media (hover: hover) and (pointer: fine) {
  html.js.has-cursor .cursor { display: grid; }
  html.js.has-cursor .cursor-dot { display: block; }
  html.js.has-cursor, html.js.has-cursor a, html.js.has-cursor button { cursor: none; }
  html.js.has-cursor input, html.js.has-cursor textarea, html.js.has-cursor select, html.js.has-cursor label { cursor: auto; }
}
.cursor { width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%; border: 1px solid rgba(247, 245, 240, .55); place-items: center; transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background .3s, border-color .3s; }
.cursor span { font-family: var(--f-mono); font-size: .65rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); opacity: 0; transition: opacity .25s; }
.cursor-dot { width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; background: var(--accent); }
.cursor.is-link { width: 72px; height: 72px; margin: -36px 0 0 -36px; background: rgba(255, 90, 54, .16); border-color: var(--accent); }
.cursor.is-view { width: 110px; height: 110px; margin: -55px 0 0 -55px; background: var(--accent); border-color: var(--accent); }
.cursor.is-view span { opacity: 1; }

/* ---------- Navigation ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 800; padding: 1rem var(--pad); transition: transform .6s var(--ease); pointer-events: none; }
.nav.is-hidden { transform: translateY(-120%); }
.nav__bar {
  pointer-events: auto; max-width: var(--max); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: .55rem .6rem .55rem 1.4rem; border-radius: 999px; border: 1px solid transparent;
  transition: background .5s var(--ease), border-color .5s, backdrop-filter .5s, box-shadow .5s;
}
.nav.is-stuck .nav__bar { background: rgba(25, 25, 25, .72); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); border-color: var(--line); box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .6); }
.nav__logo img { height: 34px; width: auto; }
.nav__links { display: flex; gap: .25rem; }
.nav__link { position: relative; padding: .55rem 1rem; font-size: .92rem; font-weight: 500; border-radius: 999px; color: var(--ivory); overflow: hidden; }
.nav__link span { display: block; transition: transform .45s var(--ease); }
.nav__link::after { content: attr(data-t); position: absolute; left: 0; right: 0; top: 0; padding: .55rem 1rem; text-align: center; color: var(--accent); transform: translateY(110%); transition: transform .45s var(--ease); }
.nav__link:hover span { transform: translateY(-110%); }
.nav__link:hover::after { transform: translateY(0); }
.nav__link.is-active { color: var(--accent); }
.nav__link.is-active::before { content: ""; position: absolute; left: 50%; bottom: 4px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--accent); }
.nav__right { display: flex; align-items: center; gap: .6rem; }
.nav__burger { width: 46px; height: 46px; border-radius: 50%; background: var(--ivory); color: var(--ink); display: grid; place-items: center; position: relative; transition: background .3s; }
.nav__burger i { position: absolute; width: 18px; height: 2px; background: currentColor; transition: transform .5s var(--ease); }
.nav__burger i:first-child { transform: translateY(-3.5px); }
.nav__burger i:last-child { transform: translateY(3.5px); }
.nav__burger:hover { background: var(--accent); }
body.menu-open .nav__burger i:first-child { transform: rotate(45deg); }
body.menu-open .nav__burger i:last-child { transform: rotate(-45deg); }
.nav .btn { padding: .85rem 1.3rem; }

/* full-screen menu */
.menu { position: fixed; inset: 0; z-index: 790; background: var(--ink); color: var(--ivory); visibility: hidden; overflow-y: auto; }
.menu__panel { min-height: 100%; display: grid; grid-template-columns: 1.4fr 1fr; gap: 3rem; padding: 7.5rem var(--pad) 3rem; max-width: var(--max); margin-inline: auto; align-items: center; }
.menu__links { counter-reset: m; }
.menu__link { display: flex; align-items: baseline; gap: 1.2rem; overflow: hidden; border-bottom: 1px solid var(--line); padding: .5rem 0; }
.menu__link span.t { display: block; font-family: var(--f-display); font-weight: 700; font-size: clamp(2.2rem, 6vw, 5.5rem); letter-spacing: -.04em; line-height: 1.05; transition: transform .6s var(--ease), color .3s; will-change: transform; }
.menu__link b { font-family: var(--f-mono); font-weight: 400; font-size: .75rem; color: var(--accent); letter-spacing: .1em; }
.menu__link:hover span.t { transform: translateX(1.2rem); color: var(--accent); }
.menu__link.is-active span.t { color: var(--accent); }
.menu__side { display: grid; gap: 2.2rem; align-content: center; }
.menu__side h4 { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: .8rem; font-weight: 400; }
.menu__side a.s-link { display: block; padding: .35rem 0; color: var(--ivory); transition: color .3s, padding .4s var(--ease); }
.menu__side a.s-link:hover { color: var(--accent); padding-left: .5rem; }
.menu__side .big { font-family: var(--f-display); font-size: clamp(1.2rem, 2vw, 1.8rem); font-weight: 600; }

/* ---------- Hero (home) ---------- */
.hero { position: relative; min-height: 100svh; padding: 9.5rem 0 0; overflow: hidden; background: var(--ink); isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero__grid { position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 96px 96px; opacity: .35; -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 35%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 80% 70% at 50% 35%, #000 20%, transparent 75%); }
.orb { position: absolute; border-radius: 50%; filter: blur(90px); will-change: transform; }
.orb--1 { width: 46vw; height: 46vw; max-width: 720px; max-height: 720px; right: -8%; top: -12%; background: radial-gradient(circle, rgba(255, 90, 54, .55), transparent 65%); }
.orb--2 { width: 34vw; height: 34vw; max-width: 520px; max-height: 520px; left: -10%; bottom: 8%; background: radial-gradient(circle, rgba(255, 162, 117, .28), transparent 65%); }
.hero__top { display: flex; align-items: center; gap: 1rem; margin-bottom: 2rem; flex-wrap: wrap; }
.pill { display: inline-flex; align-items: center; gap: .6rem; padding: .45rem 1rem .45rem .5rem; border: 1px solid var(--line-strong); border-radius: 999px; font-size: .8rem; background: rgba(255, 255, 255, .03); }
.pill i { width: 8px; height: 8px; margin-left: .45rem; border-radius: 50%; background: #3DDC97; box-shadow: 0 0 0 0 rgba(61, 220, 151, .6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(61, 220, 151, 0); } 100% { box-shadow: 0 0 0 0 rgba(61, 220, 151, 0); } }
.hero__title { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 3cqw; container-type: inline-size; }
.hero__title h1 { min-width: 0; font-size: calc(10cqw - 7px); }
.hero__title h1 .row { white-space: nowrap; }
.hero__title .row { display: block; }
.hero__badge { position: absolute; right: 2%; top: 38%; width: clamp(96px, 11vw, 150px); aspect-ratio: 1; pointer-events: none; }
.hero__badge svg { width: 100%; height: 100%; animation: spin 18s linear infinite; }
.hero__badge .core { position: absolute; inset: 0; display: grid; place-items: center; color: var(--accent); }
.hero__badge .core svg { width: 34%; height: 34%; animation: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero__foot { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; margin-top: 3rem; align-items: end; }
.hero__foot .btn-row { margin-top: 2rem; }
.hero__meta { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.hero__meta div { background: var(--ink); padding: 1.3rem 1.5rem; }
.hero__meta strong { display: block; font-family: var(--f-display); font-size: clamp(1.8rem, 3vw, 2.8rem); letter-spacing: -.04em; line-height: 1; }
.hero__meta span { font-size: .8rem; color: var(--muted); }
.showreel { position: relative; margin-top: clamp(3rem, 6vw, 5.5rem); }
.showreel__frame { position: relative; border-radius: var(--r) var(--r) 0 0; overflow: hidden; aspect-ratio: 16 / 7.4; background: var(--ink-3); transform-origin: 50% 100%; }
.showreel__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.showreel__frame::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, transparent 70%, rgba(25, 25, 25, .6)); }
.showreel__play { position: absolute; z-index: 2; right: clamp(1rem, 3vw, 2.5rem); bottom: clamp(1rem, 3vw, 2.5rem); width: clamp(84px, 8vw, 116px); aspect-ratio: 1; border-radius: 50%; background: var(--accent); color: var(--ink); display: grid; place-items: center; font-family: var(--f-mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; text-align: center; transition: transform .5s var(--ease); }
.showreel__play svg { width: 26px; height: 26px; margin: 0 auto 4px; }
.showreel__play:hover { transform: none; }
.showreel__tag { position: absolute; z-index: 2; left: 2rem; bottom: 1.6rem; font-family: var(--f-mono); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; white-space: nowrap; user-select: none; }
.marquee__track { display: inline-flex; will-change: transform; }
.marquee__item { display: inline-flex; align-items: center; gap: 2.5rem; padding-right: 2.5rem; font-family: var(--f-display); font-weight: 700; letter-spacing: -.03em; }
.marquee--lg .marquee__item { font-size: clamp(2.8rem, 7vw, 7rem); }
.marquee--md .marquee__item { font-size: clamp(1.6rem, 3vw, 3rem); }
.marquee__item .dot { width: .28em; height: .28em; flex: none; border-radius: 50%; background: var(--accent); }
.marquee--strip { border-block: 1px solid var(--line); padding-block: 1.6rem; background: var(--ink); }
.marquee--strip .marquee__item { color: var(--muted); }
.marquee--strip .marquee__item:hover { color: var(--ivory); }

/* ---------- Statement ---------- */
.statement { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.9rem, 4.2vw, 4.4rem); line-height: 1.12; letter-spacing: -.035em; max-width: 24ch; }
.statement--wide { max-width: 30ch; }
.statement .w { opacity: .2; }
.features { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(3rem, 7vw, 6rem); border-top: 1px solid var(--line); }
.feature { position: relative; padding: 2rem 1.8rem 2.4rem 0; border-right: 1px solid var(--line); padding-left: 1.8rem; overflow: hidden; transition: color .5s; }
.feature:first-child { padding-left: 0; }
.feature:last-child { border-right: 0; }
.feature::before { content: ""; position: absolute; inset: 0; background: var(--accent); transform: scaleY(0); transform-origin: bottom; transition: transform .6s var(--ease); z-index: 0; }
.feature > * { position: relative; z-index: 1; }
.feature:hover { color: var(--ink); }
.feature:hover::before { transform: scaleY(1); }
.feature:hover p { color: rgba(25, 25, 25, .8); }
.feature .n { font-family: var(--f-mono); font-size: .75rem; color: var(--accent); letter-spacing: .1em; transition: color .4s; }
.feature:hover .n { color: var(--ink); }
.feature h3 { margin: 4rem 0 .8rem; }
.feature p { color: var(--muted); font-size: .95rem; transition: color .4s; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line-light); }
.stat { padding: 2.5rem 1.5rem 2.5rem 0; border-right: 1px solid var(--line-light); padding-left: 1.5rem; }
.stat:first-child { padding-left: 0; }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-family: var(--f-display); font-weight: 800; font-size: clamp(3.4rem, 8vw, 8.5rem); line-height: .9; letter-spacing: -.06em; }
.stat strong sup { font-size: .45em; color: var(--accent); vertical-align: top; position: relative; top: .1em; margin-left: .05em; }
.stat > span { display: block; margin-top: 1rem; font-family: var(--f-mono); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-dark); }

/* ---------- Problems (stacked pinned cards) ---------- */
.stack { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 5vw, 6rem); align-items: start; }
.stack__intro { position: sticky; top: 7.5rem; }
.stack__intro .lead { margin-top: 1.5rem; }
.stack__list { display: grid; gap: 0; }
.pcard { position: sticky; top: 7.5rem; margin-bottom: 2rem; background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(1.6rem, 3vw, 2.6rem); display: grid; gap: 1.4rem; transform-origin: 50% 0; }
.pcard:nth-child(even) { background: var(--ink-3); }
.pcard__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.pcard__num { font-family: var(--f-display); font-weight: 800; font-size: clamp(3rem, 6vw, 5.5rem); line-height: .8; letter-spacing: -.06em; color: var(--accent); }
.pcard__tags { display: flex; flex-wrap: wrap; gap: .4rem; justify-content: flex-end; }
.tag { display: inline-flex; padding: .35rem .8rem; border: 1px solid var(--line-strong); border-radius: 999px; font-size: .75rem; color: var(--muted); }
.s--ivory .tag, .s--sage .tag { border-color: var(--line-light); color: var(--muted-dark); }
.pcard h3 { margin-top: .5rem; }
.pcard .problem { color: var(--muted); font-size: 1.05rem; }
.pcard dl { display: grid; gap: 1rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.pcard dt { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: .25rem; }
.pcard dd { color: #D8D7D3; font-size: .98rem; }
.pcard .link-arrow { justify-self: start; }
.cta-card { margin-top: 1rem; border-radius: var(--r); background: var(--accent); color: var(--ink); padding: clamp(1.6rem, 3vw, 2.6rem); display: grid; gap: 1.2rem; }
.cta-card p { max-width: 44ch; color: rgba(25, 25, 25, .8); }

/* ---------- Service index (hover list) ---------- */
.slist { border-top: 1px solid var(--line-light); }
.srow { position: relative; display: grid; grid-template-columns: 5rem 1.3fr 1.5fr auto; gap: 2rem; align-items: center; padding: 2rem 0; border-bottom: 1px solid var(--line-light); overflow: hidden; transition: padding .5s var(--ease), color .4s; }
.srow::before { content: ""; position: absolute; inset: 0; background: var(--ink); transform: translateY(101%); transition: transform .55s var(--ease); z-index: 0; }
.srow > * { position: relative; z-index: 1; transition: transform .55s var(--ease), color .4s; }
.srow:hover { color: var(--ivory); padding-inline: 1.5rem; }
.srow:hover::before { transform: translateY(0); }
.srow__n { font-family: var(--f-mono); font-size: .8rem; color: var(--accent); }
.srow__t { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.5rem, 2.8vw, 2.8rem); letter-spacing: -.035em; line-height: 1.05; }
.srow__d { color: var(--muted-dark); font-size: .95rem; max-width: 52ch; }
.srow:hover .srow__d { color: var(--muted); }
.srow__go { width: 3rem; height: 3rem; border-radius: 50%; border: 1px solid currentColor; display: grid; place-items: center; transition: background .4s, color .4s, transform .5s var(--ease); }
.srow__go svg { width: 1rem; height: 1rem; }
.srow:hover .srow__go { background: var(--accent); border-color: var(--accent); color: var(--ink); transform: none; }
.peek { position: fixed; left: 0; top: 0; width: clamp(240px, 24vw, 380px); aspect-ratio: 4 / 3; z-index: 50; pointer-events: none; border-radius: 18px; overflow: hidden; opacity: 0; transform: scale(.6); box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .5); background: var(--ink-3); }
.peek img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .3s; }
.peek img.on { opacity: 1; }
.more-row { display: flex; justify-content: center; margin-top: 3rem; }

/* ---------- Work (horizontal scroll) ---------- */
.hwork { position: relative; padding-bottom: clamp(3rem, 6vw, 5rem); }
.hwork__pin { overflow: hidden; padding-block: 1rem; }
.hwork__head { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 3.5rem; }
.hwork__track { display: flex; gap: 2rem; padding-inline: var(--pad); width: max-content; }
.wcard { position: relative; flex: none; width: clamp(300px, 36vw, 560px); display: block; }
.wcard__img { position: relative; border-radius: 22px; overflow: hidden; aspect-ratio: 8 / 5.4; background: var(--ink-3); border: 1px solid var(--line); }
.wcard__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.wcard:hover .wcard__img img { transform: scale(1.06); }
.wcard__badge { position: absolute; left: 1rem; top: 1rem; z-index: 2; display: inline-flex; align-items: center; gap: .45rem; padding: .35rem .8rem; background: rgba(25, 25, 25, .8); backdrop-filter: blur(8px); border-radius: 999px; font-size: .7rem; font-family: var(--f-mono); letter-spacing: .08em; text-transform: uppercase; }
.wcard__badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #3DDC97; }
.wcard__meta { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1.4rem; align-items: flex-start; }
.wcard__kind { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: .4rem; }
.wcard p { color: var(--muted); font-size: .92rem; margin-top: .6rem; max-width: 52ch; }
.wcard__tags { display: flex; gap: .4rem; flex-wrap: wrap; margin-top: 1rem; }
.wcard__go { flex: none; width: 3.2rem; height: 3.2rem; border-radius: 50%; background: var(--ivory); color: var(--ink); display: grid; place-items: center; transition: transform .5s var(--ease), background .3s; }
.wcard__go svg { width: 1rem; height: 1rem; }
.wcard:hover .wcard__go { background: var(--accent); transform: none; }
.hwork__bar { margin: 3rem var(--pad) 0; height: 2px; background: var(--line); position: relative; }
.hwork__bar i { position: absolute; inset: 0; background: var(--accent); transform: scaleX(0); transform-origin: left; }

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1rem; }
.bcell { position: relative; overflow: hidden; border-radius: var(--r); padding: clamp(1.5rem, 2.6vw, 2.4rem); display: flex; flex-direction: column; justify-content: space-between; gap: 3rem; min-height: 260px; background: var(--ink-2); border: 1px solid var(--line); }
.bcell p { color: var(--muted); max-width: 44ch; }
.bcell .ico { width: 3.4rem; height: 3.4rem; border-radius: 16px; background: rgba(255, 90, 54, .12); color: var(--accent); display: grid; place-items: center; }
.bcell .ico svg { width: 1.5rem; height: 1.5rem; }
.bcell--a { grid-column: span 7; background: var(--accent); color: var(--ink); border-color: var(--accent); min-height: 380px; }
.bcell--a p { color: rgba(25, 25, 25, .8); }
.bcell--a .ico { background: var(--ink); color: var(--accent); }
.bcell--b { grid-column: span 5; background: var(--sage); color: var(--ink); border-color: var(--sage); }
.bcell--b p { color: var(--muted-dark); }
.bcell--b .ico { background: var(--ink); color: var(--sage); }
.bcell--c { grid-column: span 5; }
.bcell--d { grid-column: span 7; background: var(--ink-3); }
.bcell .glow { position: absolute; width: 300px; height: 300px; right: -80px; bottom: -120px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 90, 54, .4), transparent 70%); pointer-events: none; }

/* ---------- Process ---------- */
.process { position: relative; display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 5vw, 6rem); }
.process__intro { position: sticky; top: 7.5rem; align-self: start; }
.steps { position: relative; padding-left: clamp(2.5rem, 5vw, 4.5rem); }
.steps__line { position: absolute; left: 0; top: 1rem; bottom: 1rem; width: 2px; background: var(--line-light); }
.steps__line i { position: absolute; inset: 0; background: var(--accent); transform: scaleY(0); transform-origin: top; }
.s--ink .steps__line, .s--ink2 .steps__line { background: var(--line); }
.step { position: relative; padding: 2.2rem 0 2.8rem; border-bottom: 1px solid var(--line-light); opacity: .35; transition: opacity .5s; }
.s--ink .step, .s--ink2 .step { border-color: var(--line); }
.step.is-on { opacity: 1; }
.step::before { content: ""; position: absolute; left: calc(clamp(2.5rem, 5vw, 4.5rem) * -1 - 7px); top: 2.9rem; width: 16px; height: 16px; border-radius: 50%; background: var(--ivory); border: 2px solid var(--line-strong); transition: background .4s, border-color .4s, transform .5s var(--ease); }
.s--ivory .step::before, .s--sage .step::before { background: var(--ivory); border-color: rgba(25, 25, 25, .25); }
.step.is-on::before { background: var(--accent); border-color: var(--accent); transform: scale(1.25); }
.step__n { font-family: var(--f-mono); font-size: .78rem; letter-spacing: .12em; color: var(--accent); }
.step h3 { margin: .8rem 0 .6rem; }
.step p { max-width: 52ch; color: var(--muted-dark); }
.s--ink .step p, .s--ink2 .step p { color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.s--ivory .faq, .s--sage .faq { border-color: var(--line-light); }
.faq__item { border-bottom: 1px solid var(--line); }
.s--ivory .faq__item, .s--sage .faq__item { border-color: var(--line-light); }
.faq__q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 2rem; text-align: left; padding: 1.7rem 0; font-family: var(--f-display); font-weight: 600; font-size: clamp(1.15rem, 1.9vw, 1.8rem); letter-spacing: -.025em; line-height: 1.2; transition: color .3s, padding .4s var(--ease); }
.faq__q:hover { color: var(--accent); padding-left: .6rem; }
.faq__plus { flex: none; position: relative; width: 2.6rem; height: 2.6rem; border-radius: 50%; border: 1px solid currentColor; transition: background .4s, border-color .4s, transform .5s var(--ease); }
.faq__plus::before, .faq__plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: currentColor; transition: transform .5s var(--ease); }
.faq__plus::after { transform: rotate(90deg); }
.faq__item.is-open .faq__plus { background: var(--accent); border-color: var(--accent); color: var(--ink); transform: rotate(180deg); }
.faq__item.is-open .faq__plus::after { transform: rotate(0); }
.faq__a { height: 0; overflow: hidden; }
.faq__a > div { padding: 0 4rem 1.8rem 0; color: var(--muted); max-width: 80ch; }
.s--ivory .faq__a > div, .s--sage .faq__a > div { color: var(--muted-dark); }
html:not(.js) .faq__a { height: auto; }
.faq-layout { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(2rem, 5vw, 6rem); }

/* ---------- CTA ---------- */
.cta { position: relative; overflow: hidden; text-align: center; }
.cta .h-xl { margin: 1.5rem auto 1.5rem; max-width: 16ch; }
.cta .lead { margin-inline: auto; }
.cta .btn-row { justify-content: center; margin-top: 2.5rem; }
.cta__marquee { margin-top: clamp(3rem, 7vw, 6rem); }
.cta__marquee .marquee__item { color: rgba(25, 25, 25, .9); }
.cta__marquee .outline { -webkit-text-stroke: 1.5px var(--ink); }

/* ---------- Footer ---------- */
.footer { position: relative; background: var(--ink); color: var(--ivory); padding-top: clamp(4rem, 8vw, 7rem); overflow: hidden; }
.footer__top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 3rem; padding-bottom: 4rem; }
.footer__brand img { height: 44px; width: auto; margin-bottom: 1.5rem; }
.footer__brand p { color: var(--muted); max-width: 36ch; }
.footer h4 { font-family: var(--f-mono); font-weight: 400; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.2rem; }
.footer li a { display: inline-block; padding: .3rem 0; position: relative; transition: color .3s, transform .4s var(--ease); }
.footer li a:hover { color: var(--accent); transform: translateX(6px); }
.footer li { color: var(--ivory); padding: .3rem 0; }
.footer li a { padding: 0; }
.footer__word { font-family: var(--f-display); font-weight: 800; font-size: 20vw; line-height: .75; letter-spacing: -.07em; text-align: center; color: transparent; -webkit-text-stroke: 1px rgba(247, 245, 240, .18); margin: 0 0 -.05em; user-select: none; white-space: nowrap; overflow: hidden; padding-bottom: .08em; }
.footer__word .fw { display: inline-block; }
.footer__word .l { display: inline-block; cursor: default; transition: color .4s var(--ease), -webkit-text-stroke-color .4s var(--ease), transform .6s var(--ease); }
.footer__word .l:hover { color: var(--accent); -webkit-text-stroke-color: var(--accent); transform: translateY(-3%); }
.footer__bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding: 1.6rem 0; border-top: 1px solid var(--line); font-size: .85rem; color: var(--muted); position: relative; z-index: 1; background: var(--ink); }
.footer__bottom nav { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer__bottom a:hover { color: var(--accent); }
.dock { position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 700; display: grid; gap: .6rem; }
.dock a, .dock button { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--ivory); color: var(--ink); box-shadow: 0 10px 30px -8px rgba(0, 0, 0, .5); transition: transform .45s var(--ease), background .3s; position: relative; }
.dock a.wa { background: #25D366; color: #fff; }
.dock a:hover, .dock button:hover { transform: none; background: var(--accent); color: var(--ink); }
.dock svg { width: 22px; height: 22px; }
.dock .up { opacity: 0; pointer-events: none; transform: translateY(10px) scale(.8); }
.dock .up.show { opacity: 1; pointer-events: auto; transform: none; }
.dock .tip { position: absolute; right: 64px; white-space: nowrap; padding: .35rem .8rem; border-radius: 8px; background: var(--ink); color: var(--ivory); font-size: .75rem; opacity: 0; transform: translateX(8px); transition: .3s var(--ease); pointer-events: none; }
.dock a:hover .tip, .dock button:hover .tip { opacity: 1; transform: none; }
.dock button.chat-launcher { background: var(--accent); color: #fff; border: none; cursor: pointer; }
.dock button.chat-launcher:hover { background: var(--accent-hover); color: #fff; transform: translateY(-2px) scale(1.04); }
.dock button.chat-launcher.is-active { background: var(--ink-3); color: var(--ivory); border: 1px solid var(--line-strong); }
.dock button.chat-launcher .chat-launcher__icon-open { display: grid; place-items: center; }
.dock button.chat-launcher .chat-launcher__icon-close { display: none; place-items: center; }
.dock button.chat-launcher.is-active .chat-launcher__icon-open { display: none; }
.dock button.chat-launcher.is-active .chat-launcher__icon-close { display: grid; }
.dock button.chat-launcher .chat-launcher__badge { position: absolute; top: 2px; right: 2px; width: 12px; height: 12px; border-radius: 50%; background: #22c55e; border: 2px solid var(--ink); box-shadow: 0 0 8px rgba(34, 197, 94, .8); }
.dock button.chat-launcher.is-active .chat-launcher__badge { display: none; }


/* ---------- Hero radar (right of headline, never overlaps content) ---------- */
.radar { position: relative; width: 27cqw; aspect-ratio: 1; flex: none; margin-right: clamp(0px, 1vw, 1rem); pointer-events: none; }
.radar__disc { position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--line-strong); overflow: hidden; background: radial-gradient(circle, rgba(255, 90, 54, .10), rgba(255, 90, 54, .02) 65%, transparent 72%); }
.radar__ring { position: absolute; border: 1px solid var(--line); border-radius: 50%; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.radar__ring--1 { width: 33%; height: 33%; }
.radar__ring--2 { width: 66%; height: 66%; }
.radar__ring--3 { width: 99%; height: 99%; }
.radar__axis { position: absolute; background: var(--line); }
.radar__axis--h { left: 0; right: 0; top: 50%; height: 1px; }
.radar__axis--v { top: 0; bottom: 0; left: 50%; width: 1px; }
.radar__sweep { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, rgba(255, 90, 54, 0) 0deg, rgba(255, 90, 54, 0) 270deg, rgba(255, 90, 54, .5) 360deg); animation: radar-spin 5s linear infinite; }
.radar__sweep::after { content: ""; position: absolute; left: 50%; top: 0; width: 2px; height: 50%; margin-left: -1px; background: linear-gradient(var(--accent), transparent); }
.radar__center { position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(255, 90, 54, .2); }
.radar__blip { position: absolute; left: var(--x); top: var(--y); width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; background: var(--accent); animation: radar-blip 4.5s ease-out infinite; animation-delay: var(--d); }
.radar__tag { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: .4rem; padding: .28rem .65rem .28rem .3rem; border-radius: 999px; background: rgba(25, 25, 25, .88); border: 1px solid var(--line-strong); font-size: .72rem; font-weight: 600; color: var(--ivory); white-space: nowrap; backdrop-filter: blur(6px); opacity: 0; animation: radar-tag 5s linear infinite both; animation-delay: var(--d); }
.radar__tag .fl { width: 16px; height: 16px; border-radius: 50%; flex: none; }
.fl--in { background: linear-gradient(#FF9933 33%, #fff 33% 66%, #138808 66%); }
.fl--us { background: repeating-linear-gradient(#B22234 0 2px, #fff 2px 4px); box-shadow: inset 7px 7px 0 #3C3B6E; }
.fl--uk { background: linear-gradient(90deg, transparent 42%, #C8102E 42% 58%, transparent 58%), linear-gradient(transparent 42%, #C8102E 42% 58%, transparent 58%), #012169; }
.fl--pk { background: linear-gradient(90deg, #fff 25%, #01411C 25%); }
.fl--ae { background: linear-gradient(90deg, #C8102E 28%, transparent 28%), linear-gradient(#00732F 33%, #fff 33% 66%, #000 66%); }
.fl--ca { background: radial-gradient(circle at 50% 52%, #D80621 0 24%, transparent 26%), linear-gradient(90deg, #D80621 27%, #fff 27% 73%, #D80621 73%); }
.fl--de { background: linear-gradient(#000 33%, #DD0000 33% 66%, #FFCE00 66%); }
@keyframes radar-tag { 0% { opacity: 0; transform: translate(-50%, -50%) scale(.8); } 4% { opacity: 1; transform: translate(-50%, -50%) scale(1); } 62% { opacity: 1; transform: translate(-50%, -50%) scale(1); } 80%, 100% { opacity: 0; transform: translate(-50%, -50%) scale(.95); } }
@keyframes radar-spin { to { transform: rotate(360deg); } }
@keyframes radar-blip { 0%, 100% { opacity: .25; box-shadow: 0 0 0 0 rgba(255, 90, 54, .5); } 12% { opacity: 1; box-shadow: 0 0 0 10px rgba(255, 90, 54, 0); } 60% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .radar__sweep, .radar__blip { animation: none; } .radar__tag { animation: none; opacity: 1; } }
@media (max-width: 860px) {
  .hero__title h1 { font-size: clamp(2rem, calc(11.5cqw - 7px), 5rem); }
  .hero__title { grid-template-columns: 1fr; row-gap: 2rem; }
  .radar { width: min(280px, 70cqw); margin: 0 auto; }
}

/* ---------- Page hero (inner pages) ---------- */
.phero { position: relative; padding: 12rem 0 clamp(4rem, 8vw, 7rem); overflow: hidden; isolation: isolate; }
.phero .hero__bg { z-index: -1; }
.phero__row { display: grid; grid-template-columns: 1.4fr 1fr; gap: 3rem; align-items: end; margin-top: 2.2rem; }
.phero .lead { max-width: 48ch; }
.crumbs { display: flex; gap: .6rem; font-family: var(--f-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 2rem; }
.crumbs a:hover { color: var(--accent); }
.crumbs span { color: var(--accent); }

/* ---------- Services page ---------- */
.svc { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 6rem); padding-block: clamp(3rem, 6vw, 5.5rem); border-top: 1px solid var(--line-light); align-items: start; }
.svc__media { position: sticky; top: 7rem; }
.svc__frame { position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 3; background: var(--ink-3); }
.svc__frame img { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; }
.svc__num { position: absolute; left: 1.2rem; bottom: 1rem; z-index: 2; font-family: var(--f-display); font-weight: 800; font-size: clamp(3rem, 7vw, 6rem); line-height: 1; color: var(--ivory); letter-spacing: -.06em; text-shadow: 0 2px 24px rgba(0,0,0,.35); }
.svc:nth-child(even) .svc__media { order: 2; }
.svc__label { font-family: var(--f-mono); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.svc h2 { margin: 1rem 0 1.2rem; }
.svc__desc { color: var(--muted-dark); font-size: 1.1rem; max-width: 52ch; }
.checks { margin: 2rem 0; display: grid; gap: .2rem; }
.checks li { display: grid; grid-template-columns: 1.6rem 1fr; gap: .8rem; padding: .95rem 0; border-bottom: 1px solid var(--line-light); }
.checks svg { width: 1.2rem; height: 1.2rem; color: var(--accent); margin-top: .25rem; }
.checks b { font-weight: 600; }
.s--ink .checks li, .s--ink2 .checks li { border-color: var(--line); }
.svc .tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.tech { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.tech__c { background: var(--ink); padding: 1.8rem 1.5rem 2rem; min-height: 250px; display: flex; flex-direction: column; gap: .8rem; transition: background .5s var(--ease), color .4s; }
.tech__c small { font-family: var(--f-mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); transition: color .4s; }
.tech__c h3 { margin-top: auto; }
.tech__c p { font-size: .85rem; color: var(--muted); transition: color .4s; }
.tech__c:hover { background: var(--accent); color: var(--ink); }
.tech__c:hover small, .tech__c:hover p { color: var(--ink); }
.incl { display: grid; grid-template-columns: 1.1fr .9fr; gap: 1.2rem; }
.incl__box { border-radius: var(--r); padding: clamp(1.6rem, 3vw, 2.8rem); border: 1px solid var(--line); background: var(--ink-2); }
.incl__box--a { background: var(--ivory); color: var(--ink); border-color: var(--ivory); }
.incl__box .badge { display: inline-block; font-family: var(--f-mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; padding: .3rem .8rem; border-radius: 999px; background: var(--accent); color: var(--ink); margin-bottom: 1.2rem; }
.incl__box .checks li { border-color: var(--line); }
.incl__box--a .checks li { border-color: var(--line-light); }
.incl__box .lead { margin-bottom: 1rem; }

/* ---------- Portfolio ---------- */
.filters { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 3rem; }
.filter { padding: .8rem 1.4rem; border-radius: 999px; border: 1px solid var(--line-strong); font-size: .9rem; font-weight: 500; transition: background .35s, color .35s, border-color .35s; }
.filter span { font-family: var(--f-mono); font-size: .7rem; margin-left: .4rem; opacity: .6; }
.filter:hover { border-color: var(--accent); color: var(--accent); }
.filter.is-on { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.pgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3rem 1.5rem; }
.pitem { display: block; }
.pitem__img { position: relative; aspect-ratio: 8 / 5.2; overflow: hidden; border-radius: 22px; background: var(--ink-3); border: 1px solid var(--line); transform-style: preserve-3d; }
.pitem__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.pitem:hover .pitem__img img { transform: scale(1.07); }
.pitem__over { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(255, 90, 54, .92); color: var(--ink); font-family: var(--f-display); font-weight: 700; font-size: 1.5rem; letter-spacing: -.02em; clip-path: circle(0% at 50% 50%); transition: clip-path .7s var(--ease); }
.pitem:hover .pitem__over { clip-path: circle(75% at 50% 50%); }
.pitem__info { padding-top: 1.3rem; }
.pitem__kind { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.pitem h2 { margin: .5rem 0; font-size: clamp(1.3rem, 1.8vw, 1.7rem); }
.pitem p { color: var(--muted); font-size: .9rem; }
.pitem .wcard__tags { margin-top: .9rem; }
.pitem .dom { display: block; margin-top: .9rem; font-family: var(--f-mono); font-size: .75rem; color: var(--muted); }

/* ---------- Pricing ---------- */
.switch { position: relative; display: inline-flex; padding: .35rem; border: 1px solid var(--line-strong); border-radius: 999px; margin-bottom: 1.2rem; }
.switch button { position: relative; z-index: 1; padding: .8rem 1.6rem; border-radius: 999px; font-weight: 600; font-size: .92rem; transition: color .4s; }
.switch button.is-on { color: var(--ink); }
.switch__bg { position: absolute; z-index: 0; top: .35rem; bottom: .35rem; left: 0; width: 0; border-radius: 999px; background: var(--accent); }
.price-note { color: var(--muted); max-width: 70ch; min-height: 3.2em; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2.5rem; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: clamp(1.6rem, 2.4vw, 2.4rem); border-radius: var(--r); background: var(--ink-2); border: 1px solid var(--line); transition: transform .6s var(--ease), border-color .4s; }
.plan:hover { transform: translateY(-8px); border-color: var(--accent); }
.plan--hot { background: var(--accent); color: var(--ink); border-color: var(--accent); }
.plan--hot .muted, .plan--hot .plan__desc { color: rgba(25, 25, 25, .8); }
.plan__flag { position: absolute; right: 1.4rem; top: 1.4rem; padding: .3rem .8rem; border-radius: 999px; background: var(--ink); color: var(--accent); font-family: var(--f-mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; }
.plan__eyebrow { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.plan--hot .plan__eyebrow { color: var(--ink); }
.plan h3 { margin: .6rem 0 .8rem; font-size: 2rem; }
.plan__desc { color: var(--muted); min-height: 5.2em; font-size: .95rem; }
.plan__price { margin: 1.6rem 0 .3rem; font-family: var(--f-display); font-weight: 800; font-size: clamp(3.4rem, 5vw, 5rem); letter-spacing: -.06em; line-height: 1; }
.plan__price sup { font-size: .4em; vertical-align: top; position: relative; top: .3em; margin-right: .1em; letter-spacing: 0; }
.plan__sub { font-size: .85rem; color: var(--muted); padding-bottom: 1.6rem; border-bottom: 1px solid var(--line); }
.plan--hot .plan__sub { color: rgba(25, 25, 25, .75); border-color: rgba(25, 25, 25, .25); }
.plan ul { display: grid; gap: .3rem; padding: 1.6rem 0 2rem; flex: 1; }
.plan li { display: grid; grid-template-columns: 1.3rem 1fr; gap: .7rem; font-size: .93rem; }
.plan li svg { width: 1rem; height: 1rem; margin-top: .3rem; color: var(--accent); }
.plan--hot li svg { color: var(--ink); }
.plan .btn { justify-content: space-between; }
.plan--hot .btn { --bg: var(--ink); --fg: var(--ivory); }
.plan--hot .btn .arr { background: var(--accent); color: var(--ink); }
.plan--hot .btn::before { background: var(--ivory); }
.plan--hot .btn:hover { color: var(--ink); }
.plans-foot { margin-top: 2rem; color: var(--muted); font-size: .9rem; }
.plans-foot a { color: var(--accent); border-bottom: 1px solid currentColor; }
.cmp-wrap { overflow-x: auto; border-radius: var(--r); border: 1px solid var(--line-light); background: var(--white); }
.cmp { width: 100%; min-width: 760px; border-collapse: collapse; font-size: .95rem; }
.cmp th, .cmp td { padding: 1.1rem 1.4rem; text-align: left; border-bottom: 1px solid var(--line-light); }
.cmp thead th { position: sticky; top: 0; background: var(--ink); color: var(--ivory); font-family: var(--f-display); font-size: 1.1rem; font-weight: 700; letter-spacing: -.02em; }
.cmp thead th small { display: block; font-family: var(--f-mono); font-weight: 400; font-size: .72rem; color: var(--accent); letter-spacing: .08em; }
.cmp tbody th { font-weight: 600; color: var(--ink); width: 28%; }
.cmp tbody tr { transition: background .3s; }
.cmp tbody tr:hover { background: var(--ivory); }
.cmp .y { color: var(--accent); font-weight: 700; }
.cmp .n { color: #B5B7BB; }
.single { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.single__c { background: var(--ink); padding: 1.8rem; display: grid; gap: .6rem; align-content: space-between; min-height: 200px; transition: background .5s var(--ease), color .4s; }
.single__c .p { font-family: var(--f-mono); font-size: .8rem; color: var(--accent); transition: color .4s; }
.single__c p { font-size: .88rem; color: var(--muted); transition: color .4s; }
.single__c:hover { background: var(--accent); color: var(--ink); }
.single__c:hover .p, .single__c:hover p { color: var(--ink); }

/* ---------- About ---------- */
.founder { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 6vw, 7rem); align-items: start; }
/* Photo is a 1:1 portrait: show it uncropped, keep it in view while the text scrolls, no parallax shift. */
.founder__media { position: sticky; top: 7rem; }
.founder__img { position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 1 / 1; background: #0b3d22; box-shadow: 0 30px 60px -30px rgba(25, 25, 25, .45); }
.founder__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.founder__badge { position: absolute; top: 1rem; left: 1rem; z-index: 2; display: inline-flex; align-items: center; gap: .45rem; padding: .45rem .9rem; border-radius: 999px; background: rgba(25, 25, 25, .78); backdrop-filter: blur(10px); color: var(--ivory); font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; font-family: var(--f-mono); }
.founder__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: none; }
.founder__tag { position: absolute; left: 1rem; bottom: 1rem; right: 1rem; z-index: 2; padding: .85rem 1.1rem; background: rgba(25, 25, 25, .8); backdrop-filter: blur(12px); border-radius: 16px; color: var(--ivory); }
.founder__tag small { color: var(--muted); display: block; }
.founder__roles { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.2rem; }
.founder__roles .tag { color: var(--ink); border-color: rgba(25, 25, 25, .22); background: rgba(25, 25, 25, .04); }
.founder__quote { margin: 1.6rem 0 0; padding: 1.1rem 0 1.1rem 1.3rem; border-left: 3px solid var(--accent); font-size: 1.05rem; line-height: 1.55; color: var(--ink); font-style: italic; }
.founder .stats { margin: 2.2rem 0; grid-template-columns: repeat(2, 1fr); }
.founder .stat { padding: 1.4rem 1rem 1.4rem 0; border-bottom: 1px solid var(--line-light); }
.founder .stat:nth-child(2n) { border-right: 0; padding-left: 1.4rem; }
.founder .stat strong { font-size: clamp(2.4rem, 4vw, 4rem); }
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.principle { padding: clamp(1.6rem, 2.6vw, 2.4rem); border-radius: var(--r); border: 1px solid var(--line); background: var(--ink-2); display: flex; flex-direction: column; gap: 4rem; transition: background .5s var(--ease), color .4s, transform .6s var(--ease); }
.principle small { font-family: var(--f-mono); color: var(--accent); letter-spacing: .12em; text-transform: uppercase; font-size: .72rem; transition: color .4s; }
.principle p { color: var(--muted); margin-top: .8rem; transition: color .4s; }
.principle:hover { background: var(--accent); color: var(--ink); transform: translateY(-8px); }
.principle:hover small, .principle:hover p { color: var(--ink); }
.who { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 6rem); }
.who li { padding: 1.5rem 0; border-bottom: 1px solid var(--line-light); display: grid; grid-template-columns: 3rem 1fr; gap: 1rem; }
.who li i { font-family: var(--f-mono); font-style: normal; color: var(--accent); font-size: .8rem; padding-top: .3rem; }
.who li b { font-family: var(--f-display); font-size: 1.3rem; letter-spacing: -.02em; display: block; margin-bottom: .2rem; }
.who li span { color: var(--muted-dark); }
.intl { margin-top: 2rem; padding: 2rem; border-radius: var(--r); background: var(--ink); color: var(--ivory); }
.intl p { color: var(--muted); margin: .6rem 0 1.2rem; }
.intl dl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.intl dt { font-family: var(--f-display); font-weight: 700; }
.intl dd { font-size: .85rem; color: var(--muted); }

/* ---------- Team ---------- */
.lead-member { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; padding: clamp(1.5rem, 3vw, 2.5rem); border-radius: var(--r); background: var(--ink-2); border: 1px solid var(--line); margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.lead-member__img { position: relative; aspect-ratio: 1; border-radius: 22px; overflow: hidden; max-width: 380px; width: 100%; }
.lead-member__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lead-member .role { font-family: var(--f-mono); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.lead-member p { color: var(--muted); max-width: 52ch; margin: 1rem 0 1.6rem; }
.roster { border-top: 1px solid var(--line); }
.row-m { position: relative; display: grid; grid-template-columns: 3.5rem 84px 1.4fr 1fr auto; gap: clamp(1rem, 2.5vw, 2.2rem); align-items: center; padding: 1.3rem 0; border-bottom: 1px solid var(--line); overflow: hidden; transition: padding .5s var(--ease), color .4s; }
.row-m::before { content: ""; position: absolute; inset: 0; background: var(--accent); transform: scaleY(0); transform-origin: bottom; transition: transform .55s var(--ease); z-index: 0; }
.row-m > * { position: relative; z-index: 1; }
.row-m:hover { color: var(--ink); padding-inline: 1.2rem; }
.row-m:hover::before { transform: scaleY(1); }
.row-m__n { font-family: var(--f-mono); font-size: .8rem; color: var(--accent); transition: color .3s; }
.row-m:hover .row-m__n { color: var(--ink); }
.row-m__av { width: 84px; height: 84px; border-radius: 50%; overflow: hidden; background: var(--ink-3); border: 1px solid var(--line-strong); }
.row-m__av img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.row-m:hover .row-m__av img { transform: scale(1.12) rotate(-4deg); }
.row-m h3 { font-size: clamp(1.4rem, 2.6vw, 2.5rem); }
.row-m__role { color: var(--muted); transition: color .3s; }
.row-m:hover .row-m__role { color: var(--ink); }
.row-m__soc { display: flex; gap: .5rem; }
.row-m__soc a { width: 2.8rem; height: 2.8rem; border-radius: 50%; border: 1px solid currentColor; display: grid; place-items: center; transition: background .3s, color .3s, transform .4s var(--ease); }
.row-m__soc a:hover { background: var(--ink); color: var(--ivory); border-color: var(--ink); transform: none; }
.row-m__soc svg { width: 1.05rem; height: 1.05rem; }
.io { opacity: 0; transform: translateY(40px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.io.in, html.kin-fail .io { opacity: 1; transform: none; }
@media (max-width: 860px) {
  .lead-member { grid-template-columns: 1fr; }
  .lead-member__img { max-width: 220px; }
  .row-m { grid-template-columns: 60px minmax(0, 1fr) auto; grid-template-areas: "av name soc" "av role soc"; column-gap: 1rem; row-gap: .15rem; padding: 1rem 0; }
  .row-m:hover { padding-inline: 0; }
  .row-m:hover::before { transform: scaleY(0); }
  .row-m:hover, .row-m:hover .row-m__role, .row-m:hover .row-m__n { color: inherit; }
  .row-m:hover .row-m__role { color: var(--muted); }
  .row-m:hover .row-m__av img { transform: none; }
  .row-m__n { display: none; }
  .row-m__av { grid-area: av; width: 60px; height: 60px; align-self: center; }
  .row-m h3 { grid-area: name; align-self: end; font-size: 1.15rem; line-height: 1.2; margin: 0; overflow-wrap: anywhere; }
  .row-m__role { grid-area: role; align-self: start; display: block; font-size: .82rem; line-height: 1.35; }
  .row-m__soc { grid-area: soc; align-self: center; gap: .4rem; }
  .row-m__soc a { width: 2.4rem; height: 2.4rem; }
}

/* ---------- Reviews ---------- */
.quote { position: relative; min-height: 22rem; }
.quote__item { position: absolute; inset: 0 auto auto 0; width: 100%; opacity: 0; visibility: hidden; }
.quote__item.is-on { position: relative; opacity: 1; visibility: visible; }
.quote blockquote { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.5rem, 3.2vw, 3.2rem); line-height: 1.15; letter-spacing: -.03em; max-width: 30ch; }
.quote blockquote.long { font-size: clamp(1.25rem, 2.2vw, 2.1rem); max-width: 44ch; }
.who-by { display: flex; align-items: center; gap: 1rem; margin-top: 2.2rem; }
.av { width: 3.4rem; height: 3.4rem; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--ink); font-family: var(--f-mono); font-weight: 600; flex: none; }
.who-by small { display: block; color: var(--muted); }
.qctl { display: flex; align-items: center; gap: 1rem; margin-top: 3rem; font-family: var(--f-mono); }
.qctl button { width: 3.4rem; height: 3.4rem; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; transition: background .35s, color .35s, border-color .35s; }
.qctl button:hover { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.qctl svg { width: 1.1rem; height: 1.1rem; }
.rcard { flex: none; width: clamp(280px, 28vw, 420px); margin-right: 1rem; padding: 1.8rem; border-radius: 22px; background: var(--ink-2); border: 1px solid var(--line); white-space: normal; font-family: var(--f-body); font-weight: 400; letter-spacing: 0; display: flex; flex-direction: column; justify-content: space-between; gap: 1.5rem; }
.rcard p { color: #E4E2DC; font-size: .95rem; }
.rcard .who-by { margin: 0; }
.rcard .av { width: 2.6rem; height: 2.6rem; font-size: .8rem; }
.rcard strong { display: block; line-height: 1.2; }
.rcard small { color: var(--muted); }
.marquee--cards .marquee__track { align-items: stretch; }
.marquee--cards .marquee__item { padding-right: 0; align-items: stretch; gap: 0; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1.3fr .7fr; gap: clamp(2rem, 5vw, 6rem); align-items: start; }
.form { display: grid; gap: 2rem; }
.field { position: relative; }
.field .lb { display: block; font-family: var(--f-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-dark); margin-bottom: .5rem; }
.field input[type="text"], .field input[type="email"], .field textarea {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--line-light); padding: .8rem 0 1rem; font: inherit; font-size: 1.15rem; color: var(--ink); border-radius: 0; outline: none; transition: border-color .3s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field textarea:focus { border-color: var(--accent); }
.field::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.field:focus-within::after { transform: scaleX(1); }
.field.nofx::after { display: none; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; cursor: pointer; }
.chip span { display: inline-block; padding: .65rem 1.1rem; border-radius: 999px; border: 1px solid var(--line-light); font-size: .88rem; transition: background .3s, color .3s, border-color .3s, transform .4s var(--ease); }
.chip:hover span { border-color: var(--ink); }
.chip input:checked + span { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.form-status { display: none; padding: 1rem 1.3rem; border-radius: 14px; font-size: .95rem; }
.form-status.is-success { display: block; background: #DFF6E8; color: #0B5A33; }
.form-status.is-error { display: block; background: #FDE3DC; color: #8C2410; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cinfo { position: sticky; top: 7rem; display: grid; gap: 1rem; }
.cbox { padding: clamp(1.5rem, 2.4vw, 2.2rem); border-radius: var(--r); background: var(--ink); color: var(--ivory); }
.cbox--alt { background: var(--white); color: var(--ink); border: 1px solid var(--line-light); }
.cbox h3 { margin-bottom: 1.2rem; }
.cd { display: grid; gap: 1.1rem; }
.cd div { padding-bottom: 1.1rem; border-bottom: 1px solid var(--line); }
.cd div:last-child { border: 0; padding: 0; }
.cd small { display: block; font-family: var(--f-mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.cd a, .cd span.v { font-weight: 500; word-break: break-word; transition: color .3s; }
.cd a:hover { color: var(--accent); }
.live { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #3DDC97; margin-right: .5rem; animation: pulse 2s infinite; }
.cbox--alt .checks li { border-color: var(--line-light); padding: .8rem 0; }
.cbox--alt .checks li:last-child { border: 0; }

/* Contact: form card */
.cform { background: var(--white); border: 1px solid var(--line-light); border-radius: var(--r); padding: clamp(1.4rem, 3.2vw, 3rem); box-shadow: 0 30px 70px -45px rgba(25, 25, 25, .35); }
.cform__head { display: flex; align-items: center; gap: 1.1rem; padding-bottom: 1.6rem; margin-bottom: 1.8rem; border-bottom: 1px solid var(--line-light); }
.cform__av { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex: none; border: 3px solid var(--white); box-shadow: 0 0 0 2px var(--accent); }
.cform__head h2 { color: var(--ink); line-height: 1.1; }
.cform__head p { margin-top: .35rem; font-size: .92rem; color: var(--muted-dark); }
.cform__head p b { color: var(--ink); }
.cform .form { gap: 2.2rem; }
.fstep { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 1.2rem; }
.fstep legend { display: flex; align-items: center; gap: .7rem; padding: 0; margin-bottom: .1rem; font-family: var(--f-display); font-weight: 600; font-size: 1.15rem; letter-spacing: -.01em; color: var(--ink); float: left; width: 100%; }
.fstep legend + * { clear: both; }
.fstep__n { display: inline-grid; place-items: center; width: 1.9rem; height: 1.9rem; border-radius: 50%; background: var(--ink); color: var(--ivory); font-family: var(--f-mono); font-weight: 500; font-size: .7rem; letter-spacing: .02em; flex: none; }
.cform .field::after { display: none; }
.cform .field .lb { margin-bottom: .55rem; color: var(--muted-dark); }
.cform .field .lb em { font-style: normal; text-transform: none; letter-spacing: 0; color: var(--muted); }
.cform .field input[type="text"], .cform .field input[type="email"], .cform .field textarea {
  background: var(--ivory); border: 1.5px solid transparent; border-radius: 14px; padding: .95rem 1.1rem; font-size: 1rem; transition: border-color .25s, background .25s, box-shadow .25s;
}
.cform .field input::placeholder, .cform .field textarea::placeholder { color: #9A9CA2; }
.cform .field input:hover, .cform .field textarea:hover { border-color: var(--line-light); }
.cform .field input:focus, .cform .field textarea:focus { background: var(--white); border-color: var(--accent); box-shadow: 0 0 0 4px rgba(255, 90, 54, .14); }
.cform .field textarea { min-height: 150px; line-height: 1.55; }
.cform .form__row { gap: 1.2rem; }
.cform .chips { gap: .55rem; }
.cform .chip span { display: inline-flex; align-items: center; gap: .45rem; border-radius: 16px; padding: .62rem 1rem; background: var(--ivory); border-color: transparent; font-size: .88rem; transition: background .25s, color .25s, border-color .25s; }
.cform .chip span svg { width: 0; height: .85rem; flex: none; opacity: 0; color: var(--accent); transition: width .25s var(--ease), opacity .25s; }
.cform .chip:hover span { border-color: var(--ink); }
.cform .chip input:checked + span { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.cform .chip input:checked + span svg { width: .85rem; opacity: 1; }
.quick { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: .8rem; }
.quick__b { padding: .42rem .85rem; border-radius: 999px; border: 1px solid var(--line-light); background: transparent; color: var(--ink); font: inherit; font-size: .8rem; line-height: 1.2; cursor: pointer; transition: background .25s, color .25s, border-color .25s; }
.quick__b:hover { border-color: var(--ink); transform: none; }
.quick__b.is-on { background: var(--ink); border-color: var(--ink); color: var(--ivory); }
.cform__foot { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem 1.6rem; padding-top: 1.6rem; border-top: 1px solid var(--line-light); }
.cform__note { display: flex; align-items: center; gap: .5rem; font-size: .84rem; color: var(--muted-dark); margin: 0; }
.cform__note svg { width: 1rem; height: 1rem; flex: none; color: var(--accent); }
.cform .form-status { margin-top: -.4rem; }

/* Contact: details + next steps */
.clist { list-style: none; margin: 0; padding: 0; display: grid; }
.clist li { border-bottom: 1px solid var(--line); }
.clist li:last-child { border-bottom: 0; }
.clist a, .clist__row { display: flex; align-items: center; gap: .95rem; padding: .95rem 0; color: inherit; transition: color .3s; }
.clist a:hover { color: var(--accent); }
.clist small { display: block; font-family: var(--f-mono); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: .1rem; }
.clist__i { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: rgba(247, 245, 240, .08); flex: none; }
.clist__i svg { width: 1.1rem; height: 1.1rem; }
.clist__i--wa { background: rgba(61, 220, 151, .16); color: #3DDC97; }
.clist span:last-child { min-width: 0; overflow-wrap: anywhere; font-weight: 500; }
.nxt { list-style: none; counter-reset: nxt; margin: 0; padding: 0; display: grid; gap: 1.15rem; }
.nxt li { counter-increment: nxt; position: relative; padding-left: 2.8rem; }
.nxt li::before { content: counter(nxt); position: absolute; left: 0; top: .05rem; width: 1.9rem; height: 1.9rem; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--ink); font-family: var(--f-mono); font-weight: 600; font-size: .75rem; }
.nxt li:not(:last-child)::after { content: ""; position: absolute; left: .93rem; top: 2.1rem; bottom: -1rem; width: 1px; background: var(--line-light); }
.nxt b { display: block; color: var(--ink); font-weight: 600; margin-bottom: .15rem; }
.nxt span { display: block; font-size: .9rem; line-height: 1.5; color: var(--muted-dark); }

/* ---------- Legal ---------- */
.legal { display: grid; grid-template-columns: 280px 1fr; gap: clamp(2rem, 5vw, 6rem); }
.legal__toc { position: sticky; top: 7rem; align-self: start; }
.legal__toc p { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-dark); margin-bottom: 1rem; }
.legal__toc ol { list-style: none; display: grid; gap: .1rem; border-left: 1px solid var(--line-light); }
.legal__toc a { display: block; padding: .5rem 1rem; font-size: .92rem; color: var(--muted-dark); border-left: 2px solid transparent; margin-left: -1px; transition: color .3s, border-color .3s, padding .4s var(--ease); }
.legal__toc a:hover, .legal__toc a.is-on { color: var(--ink); border-color: var(--accent); padding-left: 1.3rem; }
.legal__content { max-width: 78ch; }
.legal__content section { padding-bottom: 2.5rem; margin-bottom: 2.5rem; border-bottom: 1px solid var(--line-light); }
.legal__content h2 { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.4rem, 2.2vw, 2rem); letter-spacing: -.03em; margin-bottom: 1rem; }
.legal__content p, .legal__content li { color: #3a3b3f; margin-bottom: .8rem; }
.legal__content ul { list-style: none; display: grid; gap: .2rem; margin: 1rem 0; }
.legal__content li { position: relative; padding-left: 1.6rem; }
.legal__content li::before { content: ""; position: absolute; left: 0; top: .75em; width: .7rem; height: 2px; background: var(--accent); }
.legal__content a { color: var(--accent-hover); border-bottom: 1px solid currentColor; }
.legal__content strong { color: var(--ink); }
.upd { font-family: var(--f-mono); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-top: 2rem; }

/* ---------- Video modal ---------- */
.vmodal { position: fixed; inset: 0; z-index: 9200; display: none; place-items: center; padding: 1.5rem; background: rgba(10, 10, 10, .88); backdrop-filter: blur(10px); }
.vmodal.is-open { display: grid; }
.vmodal__box { position: relative; width: min(1100px, 100%); border-radius: 20px; overflow: hidden; background: #000; }
.vmodal video { width: 100%; max-height: 82vh; background: #000; }
.vmodal__x { position: absolute; right: 1rem; top: 1rem; z-index: 2; width: 44px; height: 44px; border-radius: 50%; background: var(--ivory); color: var(--ink); display: grid; place-items: center; }
.vmodal__x:hover { background: var(--accent); }

/* ---------- Email Options Modal ---------- */
.emodal {
  position: fixed;
  inset: 0;
  z-index: 9300;
  display: none;
  place-items: center;
  padding: 1.25rem;
}
.emodal.is-open {
  display: grid;
}
.emodal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 14, .82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.emodal__box {
  position: relative;
  z-index: 2;
  width: min(440px, 100%);
  background: var(--ink-2);
  border: 1px solid var(--line-strong);
  border-radius: 24px;
  padding: 1.6rem 1.6rem 1.4rem;
  box-shadow: 0 28px 70px -15px rgba(0, 0, 0, .85), 0 0 0 1px rgba(255, 90, 54, .2);
  animation: emodalIn .3s var(--ease);
}
@keyframes emodalIn {
  from { opacity: 0; transform: scale(.93) translateY(12px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
.emodal__x {
  position: absolute;
  right: 1rem;
  top: 1rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--ink-3);
  border: 1px solid var(--line);
  color: var(--muted);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background .25s, color .25s, transform .25s;
}
.emodal__x svg {
  width: 17px;
  height: 17px;
}
.emodal__x:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  transform: scale(1.05);
}
.emodal__head {
  display: flex;
  align-items: center;
  gap: .9rem;
  margin-bottom: 1.1rem;
  padding-right: 2.2rem;
}
.emodal__icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(255, 90, 54, .25), rgba(255, 90, 54, .08));
  border: 1px solid rgba(255, 90, 54, .35);
  color: var(--accent);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.emodal__icon svg {
  width: 22px;
  height: 22px;
}
.emodal__title {
  font-family: var(--f-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ivory);
  letter-spacing: -.02em;
  margin: 0;
}
.emodal__subtitle {
  font-size: .8rem;
  color: var(--muted);
  margin: .2rem 0 0;
  line-height: 1.35;
}
.emodal__email-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  padding: .55rem .85rem;
  background: var(--ink-3);
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: 1rem;
}
.emodal__email-text {
  font-family: var(--f-mono);
  font-size: .82rem;
  color: var(--accent);
  letter-spacing: .02em;
  user-select: all;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.emodal__copy-pill {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .35rem .75rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid var(--line);
  color: var(--ivory);
  font-size: .74rem;
  font-weight: 500;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
  flex-shrink: 0;
}
.emodal__copy-pill:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.emodal__copy-pill.is-copied {
  background: #22c55e !important;
  color: #fff !important;
  border-color: #22c55e !important;
}
.emodal__copy-icon {
  width: 13px;
  height: 13px;
}
.emodal__options {
  display: grid;
  gap: .65rem;
}
.emodal__btn {
  display: flex;
  align-items: center;
  gap: .9rem;
  padding: .85rem 1rem;
  border-radius: 14px;
  background: var(--ink-3);
  border: 1px solid var(--line);
  color: var(--ivory);
  text-decoration: none;
  transition: transform .25s var(--ease), background .25s, border-color .25s, box-shadow .25s;
}
.emodal__btn:hover {
  background: rgba(255, 255, 255, .05);
  border-color: rgba(255, 90, 54, .35);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .5);
}
.emodal__btn--gmail:hover {
  border-color: rgba(234, 67, 53, .45);
}
.emodal__btn--outlook:hover {
  border-color: rgba(0, 120, 212, .45);
}
.emodal__btn-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.emodal__btn-icon svg {
  width: 20px;
  height: 20px;
}
.emodal__btn-icon--gmail {
  background: rgba(234, 67, 53, .14);
  color: #ea4335;
  border: 1px solid rgba(234, 67, 53, .25);
}
.emodal__btn-icon--outlook {
  background: rgba(0, 120, 212, .14);
  color: #0078d4;
  border: 1px solid rgba(0, 120, 212, .25);
}
.emodal__btn-icon--app {
  background: rgba(255, 90, 54, .14);
  color: var(--accent);
  border: 1px solid rgba(255, 90, 54, .25);
}
.emodal__btn-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: .12rem;
  line-height: 1.25;
}
.emodal__btn-text strong {
  font-size: .92rem;
  font-weight: 600;
  color: var(--ivory);
}
.emodal__btn-text small {
  font-size: .74rem;
  color: var(--muted);
}
.emodal__btn .arr {
  font-style: normal;
  display: grid;
  place-items: center;
  color: var(--muted);
  transition: transform .25s var(--ease), color .25s;
}
.emodal__btn:hover .arr {
  color: var(--accent);
  transform: translateX(3px);
}

/* ---------- Failsafe (JS/GSAP missing) ---------- */
html.kin-fail [data-split], html.kin-fail [data-reveal], html.kin-fail [data-stagger] > * { visibility: visible !important; opacity: 1 !important; transform: none !important; }
html.kin-fail .statement .w { opacity: 1; }
html.kin-fail .step { opacity: 1; }
html.js:not(.kin-ready) [data-split] { visibility: hidden; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav__links { display: none; }
  .tech { grid-template-columns: repeat(3, 1fr); }
  .pgrid { grid-template-columns: repeat(2, 1fr); }
  .team { grid-template-columns: repeat(3, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .plans { grid-template-columns: 1fr; max-width: 640px; }
  .plan__desc { min-height: 0; }
  .single { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .sec-head--split, .hero__foot, .phero__row, .stack, .process, .faq-layout, .contact, .legal, .founder, .who, .incl, .svc, .menu__panel { grid-template-columns: 1fr; }
  .stack__intro, .process__intro, .cinfo, .legal__toc, .svc__media, .founder__media { position: static; }
  .founder__media { max-width: 560px; }
  .svc:nth-child(even) .svc__media { order: 0; }
  .pcard { position: relative; top: 0; }
  .features, .stats { grid-template-columns: repeat(2, 1fr); }
  .feature, .stat { border-bottom: 1px solid var(--line); padding-left: 0; }
  .stat { border-color: var(--line-light); }
  .feature:nth-child(2n), .stat:nth-child(2n) { border-right: 0; padding-left: 1.4rem; }
  .feature h3 { margin-top: 2.5rem; }
  .srow { grid-template-columns: 3rem 1fr auto; }
  .srow__d { display: none; }
  .bento { grid-template-columns: 1fr; }
  .bcell--a, .bcell--b, .bcell--c, .bcell--d { grid-column: auto; min-height: 240px; }
  .principles { grid-template-columns: 1fr; }
  .principle { gap: 2rem; }
  .team { grid-template-columns: repeat(2, 1fr); }
  .member__soc { transform: none; }
  .form__row { grid-template-columns: 1fr; gap: 2rem; }
  .menu__panel { padding-top: 6.5rem; }
  .hero__badge { display: none; }
  .nav .btn { display: none; }
  .intl dl { grid-template-columns: 1fr; }
  .showreel__frame { aspect-ratio: 4 / 3; }
  .faq__a > div { padding-right: 0; }
}
@media (max-width: 600px) {
  .pgrid, .tech, .single { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .hero { padding-top: 7.5rem; }
  .phero { padding-top: 9rem; }
  .hero__meta strong { font-size: 1.7rem; }
  .dock a, .dock button { width: 46px; height: 46px; }
  .wcard { width: 82vw; }
}
@media (max-width: 860px) {
  .hwork__track { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 1rem; }
  .wcard { scroll-snap-align: center; }
  .hwork__bar { display: none; }
  .hwork__head { flex-direction: column; align-items: flex-start; }
  .hide-m { display: none; }
}
/* ---------- AI Chatbot Widget ---------- */
.chat-panel {
  position: fixed;
  right: 1.2rem;
  bottom: 5.6rem;
  width: 380px;
  max-width: calc(100vw - 2.4rem);
  height: min(520px, calc(100dvh - 11.5rem));
  max-height: calc(100dvh - 11.5rem);
  background: var(--ink-2);
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  box-shadow: 0 24px 60px -12px rgba(0, 0, 0, .75), 0 0 0 1px rgba(255, 90, 54, .18);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index: 750;
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px) scale(.96);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.chat-panel.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}
body.menu-open .chat-panel,
body.menu-open .chat-launcher {
  opacity: 0 !important;
  pointer-events: none !important;
  visibility: hidden !important;
}
.chat-panel__header {
  padding: .9rem 1.1rem;
  background: var(--ink-3);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  flex-shrink: 0;
}
.chat-panel__profile {
  display: flex;
  align-items: center;
  gap: .75rem;
}
.chat-panel__avatar {
  position: relative;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255, 90, 54, .25), rgba(255, 90, 54, .08));
  border: 1px solid rgba(255, 90, 54, .35);
  display: grid;
  place-items: center;
  color: var(--accent);
  flex-shrink: 0;
}
.chat-panel__avatar-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
  display: block;
}
.chat-panel__avatar svg {
  width: 19px;
  height: 19px;
}
.chat-panel__status-dot {
  position: absolute;
  bottom: -1px;
  right: -1px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #22c55e;
  border: 2px solid var(--ink-3);
  box-shadow: 0 0 6px rgba(34, 197, 94, .7);
}
.chat-panel__meta {
  display: flex;
  flex-direction: column;
}
.chat-panel__title {
  font-family: var(--f-display);
  font-size: .95rem;
  font-weight: 600;
  color: var(--ivory);
  line-height: 1.2;
}
.chat-panel__subtitle {
  font-size: .72rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: .4rem;
  margin-top: .15rem;
}
.chat-panel__mode-tag {
  display: inline-block;
  font-size: .62rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
  background: rgba(255, 90, 54, .18);
  color: var(--accent);
  padding: .08rem .35rem;
  border-radius: 4px;
}
.chat-panel__mode-tag--live {
  background: rgba(34, 197, 94, .18);
  color: #22c55e;
}
.chat-panel__actions {
  display: flex;
  align-items: center;
  gap: .3rem;
}
.chat-panel__action-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: var(--muted);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background .2s, color .2s, transform .2s;
}
.chat-panel__action-btn:hover {
  background: rgba(247, 245, 240, .1);
  color: var(--ivory);
}
.chat-panel__action-btn svg {
  width: 17px;
  height: 17px;
}
.chat-panel__messages {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: .85rem;
  outline: none;
}
.chat-panel__messages::-webkit-scrollbar {
  width: 5px;
}
.chat-panel__messages::-webkit-scrollbar-track {
  background: transparent;
}
.chat-panel__messages::-webkit-scrollbar-thumb {
  background: rgba(247, 245, 240, .12);
  border-radius: 4px;
}
.chat-panel__messages::-webkit-scrollbar-thumb:hover {
  background: rgba(247, 245, 240, .24);
}
.chat-msg {
  display: flex;
  flex-direction: column;
  gap: .25rem;
  animation: chat-fade-in .25s var(--ease) forwards;
}
.chat-msg--assistant {
  align-self: flex-start;
  max-width: 88%;
}
.chat-msg--user {
  align-self: flex-end;
  max-width: 82%;
  align-items: flex-end;
}
.chat-msg__bubble {
  border-radius: 16px;
  padding: .75rem .95rem;
  font-size: .86rem;
  line-height: 1.5;
  word-break: break-word;
}
.chat-msg--assistant .chat-msg__bubble {
  background: var(--ink-3);
  border: 1px solid var(--line);
  color: var(--ivory);
  border-bottom-left-radius: 4px;
}
.chat-msg--assistant .chat-msg__bubble p + p {
  margin-top: .5rem;
}
.chat-msg--assistant .chat-msg__bubble ul {
  margin: .4rem 0 .4rem 1.1rem;
  padding: 0;
}
.chat-msg--assistant .chat-msg__bubble li {
  margin-bottom: .25rem;
}
.chat-msg--assistant .chat-msg__bubble a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.chat-msg--assistant .chat-msg__bubble a:hover {
  color: var(--accent-2);
}
.chat-msg--assistant .chat-msg__bubble strong {
  color: #fff;
  font-weight: 600;
}
.chat-msg--user .chat-msg__bubble {
  background: var(--accent);
  color: #fff;
  border-bottom-right-radius: 4px;
}
.chat-msg__time {
  font-size: .68rem;
  color: var(--muted);
  padding: 0 .25rem;
}
.chat-suggestions {
  margin-top: .3rem;
  display: flex;
  flex-direction: column;
  gap: .45rem;
  animation: chat-fade-in .25s var(--ease) forwards;
}
.chat-suggestions__label {
  font-size: .7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--muted);
}
.chat-suggestions__list {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
}
.chat-chip {
  background: rgba(247, 245, 240, .05);
  border: 1px solid var(--line);
  color: var(--ivory);
  font-family: var(--f-body);
  font-size: .77rem;
  line-height: 1.35;
  padding: .35rem .7rem;
  border-radius: 20px;
  cursor: pointer;
  transition: all .2s;
  text-align: left;
}
.chat-chip:hover {
  background: rgba(255, 90, 54, .16);
  border-color: var(--accent);
  color: #fff;
  transform: translateY(-1px);
}
.chat-chip:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}
.chat-typing {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 2px;
}
.chat-typing span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
  animation: chat-bounce 1.3s infinite ease-in-out;
}
.chat-typing span:nth-child(1) { animation-delay: -0.32s; }
.chat-typing span:nth-child(2) { animation-delay: -0.16s; }
.chat-typing span:nth-child(3) { animation-delay: 0s; }
@keyframes chat-bounce {
  0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; }
  40% { transform: scale(1); opacity: 1; }
}
@keyframes chat-fade-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
.chat-panel__footer {
  padding: .75rem 1rem .65rem;
  background: var(--ink-3);
  border-top: 1px solid var(--line);
  flex-shrink: 0;
}
.chat-alert {
  padding: .45rem .75rem;
  margin-bottom: .5rem;
  border-radius: 8px;
  background: rgba(224, 69, 34, .15);
  border: 1px solid rgba(224, 69, 34, .45);
  color: #ff9179;
  font-size: .78rem;
  line-height: 1.35;
}
.chat-panel__form {
  display: flex;
  align-items: center;
  gap: .5rem;
}
.chat-panel__input {
  flex: 1;
  height: 42px;
  border-radius: 21px;
  background: var(--ink);
  border: 1px solid var(--line);
  padding: 0 1rem;
  color: var(--ivory);
  font-family: var(--f-body);
  font-size: .86rem;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.chat-panel__input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(255, 90, 54, .25);
}
.chat-panel__input::placeholder {
  color: var(--muted-dark);
}
.chat-panel__send {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  border: none;
  display: grid;
  place-items: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background .2s, transform .2s;
}
.chat-panel__send:hover {
  background: var(--accent-hover);
  transform: scale(1.05);
}
.chat-panel__send:disabled {
  opacity: .5;
  cursor: not-allowed;
  transform: none;
}
.chat-panel__send svg {
  width: 17px;
  height: 17px;
}
.chat-panel__disclaimer {
  font-size: .67rem;
  color: var(--muted);
  text-align: center;
  margin-top: .4rem;
  letter-spacing: .02em;
}

@media (max-width: 600px) {
  .chat-panel {
    right: 0;
    left: 0;
    top: 4.8rem;
    bottom: 0;
    width: 100%;
    max-width: 100vw;
    height: calc(100dvh - 4.8rem);
    max-height: calc(100dvh - 4.8rem);
    border-radius: 20px 20px 0 0;
    border: 1px solid var(--line-strong);
    border-bottom: none;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, .8);
    z-index: 780;
  }
  .chat-panel__header {
    padding: .85rem 1rem;
    border-radius: 20px 20px 0 0;
  }
  .chat-panel__footer {
    padding-bottom: calc(.75rem + env(safe-area-inset-bottom, 0px));
  }
  .cform { padding: 1.25rem; border-radius: 22px; }
  .cform__head { align-items: flex-start; gap: .9rem; }
  .cform__av { width: 52px; height: 52px; }
  .cform .form__row { grid-template-columns: 1fr; gap: 1.2rem; }
  .cform__foot { flex-direction: column; align-items: stretch; }
  .cform__foot .btn { justify-content: space-between; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .curtain, .loader { display: none !important; }
}
