/* ==========================================================================
   MORALES LABS — design tokens + site styles
   Identity: Acento M. Warm precision — engineered geometry on warm paper.
   Light/dark via prefers-color-scheme with [data-theme] manual override.
   ========================================================================== */

/* ---- fonts (self-hosted, OFL) ------------------------------------------ */
@font-face {
  font-family: 'Archivo Var';
  src: url('../fonts/archivo-latin-wdth-normal.woff2') format('woff2-variations');
  font-weight: 100 900;
  font-stretch: 62.5% 125%;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter Var';
  src: url('../fonts/inter-latin-wght-normal.woff2') format('woff2-variations');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'IBM Plex Mono';
  src: url('../fonts/ibm-plex-mono-latin-400-normal.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'IBM Plex Mono';
  src: url('../fonts/ibm-plex-mono-latin-500-normal.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* ---- tokens: light ------------------------------------------------------ */
:root {
  color-scheme: light;
  /* surfaces */
  --bg: #FAF6F0;
  --bg-alt: #F3EDE3;
  --surface: #FFFFFF;
  --surface-muted: #EFE8DC;
  /* text */
  --text: #14181D;
  --text-2: #3F4650;
  --text-muted: #67615A;
  /* accent system */
  --accent: #E4572E;          /* graphics, large text, devices */
  --accent-strong: #AC3A14;   /* link/interactive text — AA on bg */
  --accent-hover: #8C2F10;
  --accent-2: #0E6F66;        /* supporting teal */
  --focus-ring: #AC3A14;
  /* lines + status */
  --border: #DDD2C2;
  --border-strong: #C4B7A4;
  --success: #1D7A4F;
  --warning: #8A5A00;
  --error: #B3261E;
  --info: #205EA6;
  /* status badge tints */
  --tint-live: #E3F0E8;
  --tint-progress: #F5EAD8;
  --tint-lab: #E2EEEC;
  --tint-neutral: #EAE6DE;
  --tint-muted: #EFEAE2;
  /* type */
  --font-display: 'Archivo Var', 'Archivo', 'Arial Narrow', system-ui, sans-serif;
  --font-body: 'Inter Var', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, 'Cascadia Mono', Consolas, monospace;
  /* rhythm */
  --space-1: .25rem; --space-2: .5rem; --space-3: .75rem; --space-4: 1rem;
  --space-5: 1.5rem; --space-6: 2rem; --space-7: 3rem; --space-8: 4.5rem; --space-9: 7rem;
  --radius-s: 6px; --radius-m: 10px; --radius-l: 16px;
  /* warm directional shadows — light falls from above onto warm paper */
  --shadow-1: 0 1px 2px rgb(90 62 40 / .07), 0 2px 10px -2px rgb(90 62 40 / .07);
  --shadow-2: 0 2px 4px rgb(90 62 40 / .08), 0 14px 30px -6px rgb(90 62 40 / .14);
  --shadow-lift: 0 3px 6px rgb(90 62 40 / .10), 0 18px 38px -8px rgb(160 70 40 / .18);
  --wrap: 72rem;
  --dur: 180ms;
  --ease: cubic-bezier(.3,.7,.3,1);

  /* ---- the clock ---------------------------------------------------------
     Everything that moves on this site is an integer multiple of one eighth
     note. The brand is the accent on "el uno"; the timing system is literal.
     Stagger delays follow son clave 3-2 — eighth notes 0,3,6,10,12 of 16 —
     so groups play a syncopated phrase instead of a uniform ramp.          */
  --u: 46ms;
  --d-hit: 138ms;      /* 3u  — a strike */
  --d-phrase: 552ms;   /* 12u — a full clave figure */
  /* struck stick: instant onset, dead stop, never a bounce */
  --e-strike: cubic-bezier(.2,.9,.1,1);
  /* mass with inertia: anticipation, then smooth arrival */
  --e-settle: cubic-bezier(.36,.06,.2,1);
  /* call and response: overshoots, returns. hover answers only */
  --e-answer: cubic-bezier(.34,1.3,.5,1);
  /* band rhythm — sections breathe long/short instead of one constant */
  --band: clamp(2.6rem, 6vw, 4.2rem);
  --band-tight: clamp(1.8rem, 4vw, 2.8rem);
  --band-tall: clamp(4rem, 9vw, 7rem);
}

/* ---- tokens: dark -------------------------------------------------------- */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #12161B; --bg-alt: #171C22; --surface: #1C232B; --surface-muted: #232B34;
    --text: #F2EEE8; --text-2: #C9C3B9; --text-muted: #979083;
    --accent: #FF7A50; --accent-strong: #FF8F6B; --accent-hover: #FFA98C;
    --accent-2: #3FBFB0; --focus-ring: #FF8F6B;
    --border: #2C343E; --border-strong: #3D4752;
    --success: #4CC38A; --warning: #E0B45C; --error: #F28B82; --info: #7CB1F5;
    --tint-live: #1C2E24; --tint-progress: #2E2618; --tint-lab: #182B29;
    --tint-neutral: #232830; --tint-muted: #20262D;
    --shadow-1: 0 1px 2px rgb(0 0 0 / .4), 0 2px 10px rgb(0 0 0 / .35);
    --shadow-2: 0 2px 4px rgb(0 0 0 / .45), 0 12px 30px rgb(0 0 0 / .5);
    --shadow-lift: 0 3px 6px rgb(0 0 0 / .5), 0 20px 40px -8px rgb(0 0 0 / .6);
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #12161B; --bg-alt: #171C22; --surface: #1C232B; --surface-muted: #232B34;
  --text: #F2EEE8; --text-2: #C9C3B9; --text-muted: #979083;
  --accent: #FF7A50; --accent-strong: #FF8F6B; --accent-hover: #FFA98C; --accent-2: #3FBFB0;
  --focus-ring: #FF8F6B;
  --border: #2C343E; --border-strong: #3D4752;
  --success: #4CC38A; --warning: #E0B45C; --error: #F28B82; --info: #7CB1F5;
  --tint-live: #1C2E24; --tint-progress: #2E2618; --tint-lab: #182B29;
  --tint-neutral: #232830; --tint-muted: #20262D;
  --shadow-1: 0 1px 2px rgb(0 0 0 / .4), 0 2px 10px rgb(0 0 0 / .35);
  --shadow-2: 0 2px 4px rgb(0 0 0 / .45), 0 12px 30px rgb(0 0 0 / .5);
  --shadow-lift: 0 3px 6px rgb(0 0 0 / .5), 0 20px 40px -8px rgb(0 0 0 / .6);
}

/* ---- base ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-strong); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-hover); }
:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--accent); color: #FFF7F2; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-variation-settings: 'wdth' 118;
  font-weight: 680;
  line-height: 1.12;
  letter-spacing: .005em;
  margin: 0 0 var(--space-4);
  text-wrap: balance;
}
h1 { font-size: clamp(2.1rem, 5.2vw, 3.4rem); }
h2 { font-size: clamp(1.45rem, 3vw, 2rem); }
h3 { font-size: 1.17rem; }
p { margin: 0 0 var(--space-4); max-width: 65ch; }
.lead { font-size: clamp(1.12rem, 2vw, 1.3rem); color: var(--text-2); }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(1.1rem, 4vw, 2rem); }
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: var(--text); color: var(--bg); padding: .6rem 1rem; border-radius: 0 0 var(--radius-s) 0;
}
.skip-link:focus { left: 0; }

/* ---- beat-mark device ---------------------------------------------------- */
.beat { display: inline-block; width: .55em; height: .3em; background: var(--accent);
        transform: skewX(-32deg); border-radius: 1px; }
.beat-list { list-style: none; padding: 0; margin: 0 0 var(--space-4); }
.beat-list li { position: relative; padding-left: 1.4em; margin-bottom: .55em; max-width: 62ch; }
.beat-list li::before {
  content: ""; position: absolute; left: 0; top: .52em; width: .72em; height: .34em;
  background: var(--accent); transform: skewX(-32deg); border-radius: 1px;
}

/* clave divider: 3-2 rhythm marks */
.clave { display: flex; align-items: center; gap: .55rem; margin: var(--space-7) 0; }
.clave::before, .clave::after { content: ""; flex: 1; height: 1px; background: var(--border); }
.clave i { width: .62rem; height: .3rem; background: var(--border-strong); transform: skewX(-32deg); border-radius: 1px; }
.clave i:nth-child(4) { margin-left: .8rem; }
.clave i.on { background: var(--accent); }

/* ---- header / nav -------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.site-header .bar { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); min-height: 4.25rem; }
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--text); }
.brand-word {
  font-family: var(--font-display); font-variation-settings: 'wdth' 120; font-weight: 660;
  font-size: 1.14rem; letter-spacing: .05em; color: var(--text); white-space: nowrap;
}
.endorse-line {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-display); font-variation-settings: 'wdth' 112; font-weight: 580;
  font-size: .8rem; letter-spacing: .14em; color: var(--text-2);
}
.nav-toggle {
  display: none; background: none; border: 1px solid var(--border-strong); border-radius: var(--radius-s);
  padding: .5rem .65rem; color: var(--text); cursor: pointer; font: inherit;
}
.site-nav ul { display: flex; gap: clamp(.9rem, 2.4vw, 1.8rem); list-style: none; margin: 0; padding: 0; align-items: center; }
.site-nav a {
  color: var(--text-2); text-decoration: none; font-weight: 520; font-size: .97rem;
  padding: .35rem 0; border-bottom: 2px solid transparent;
}
.site-nav a:hover { color: var(--text); }
.site-nav a[aria-current="page"] { color: var(--text); border-bottom-color: var(--accent); }
.theme-toggle {
  background: none; border: 1px solid var(--border-strong); color: var(--text-2);
  border-radius: 999px; width: 2.1rem; height: 2.1rem; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; padding: 0;
}
.theme-toggle:hover { color: var(--text); border-color: var(--text-muted); }
.theme-toggle svg { width: 1.05rem; height: 1.05rem; }

@media (max-width: 47.9rem) {
  .nav-toggle { display: inline-flex; align-items: center; gap: .5rem; }
  .site-nav { display: none; position: absolute; inset-inline: 0; top: 100%;
              background: var(--bg); border-bottom: 1px solid var(--border); box-shadow: var(--shadow-2); }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: .5rem 0; }
  .site-nav a { display: block; padding: .8rem clamp(1.1rem, 4vw, 2rem); border-bottom: none; font-size: 1.05rem; }
  .site-nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--accent); }
}

/* ---- buttons ------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-display); font-variation-settings: 'wdth' 112; font-weight: 600;
  font-size: 1rem; line-height: 1; text-decoration: none; cursor: pointer;
  padding: .85rem 1.35rem; border-radius: var(--radius-s); border: 1.5px solid transparent;
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--text); color: var(--bg); }
.btn-primary:hover { background: var(--accent-strong); color: #FFF7F2; }
.btn-secondary { background: transparent; color: var(--text); border-color: var(--border-strong); }
.btn-secondary:hover { border-color: var(--accent-strong); color: var(--text); }
.btn .beat { width: .5em; height: .26em; }
.btn .arw { display: inline-block; margin-left: .1em; transition: transform var(--d-hit) var(--e-answer); }
.btn:hover .arw, .btn:focus-visible .arw { transform: translateY(.14em); }
.btn-primary .beat { background: var(--accent); }

/* ---- status badges ------------------------------------------------------- */
.badge {
  display: inline-flex; align-items: center; gap: .45rem;
  font-family: var(--font-mono); font-size: .72rem; font-weight: 500;
  letter-spacing: .07em; text-transform: uppercase;
  padding: .32rem .6rem; border-radius: 999px; border: 1px solid var(--border);
  color: var(--text-2); background: var(--tint-neutral); white-space: nowrap;
}
.badge::before { content: ""; width: .45rem; height: .45rem; border-radius: 50%; background: var(--text-muted); }
.badge-live { background: var(--tint-live); color: color-mix(in srgb, var(--success) 62%, var(--text)); }
.badge-live::before { background: var(--success); }
.badge-progress { background: var(--tint-progress); color: color-mix(in srgb, var(--warning) 62%, var(--text)); }
.badge-progress::before { background: var(--warning); }
.badge-lab { background: var(--tint-lab); color: color-mix(in srgb, var(--accent-2) 62%, var(--text)); }
.badge-lab::before { background: var(--accent-2); }
.badge-muted { background: var(--tint-muted); }
.badge-muted::before { background: var(--border-strong); }
/* long informational badges (URL-fallback notes) must wrap on small screens */
.badge-note { white-space: normal; text-align: left; line-height: 1.45; max-width: 100%; }

/* ---- hero ----------------------------------------------------------------- */
.hero { padding: clamp(3.4rem, 9vw, 6.5rem) 0 clamp(2.4rem, 5vw, 3.6rem); position: relative; overflow: hidden; }
.hero h1 {
  font-size: clamp(2.6rem, 7vw, 4.8rem); font-variation-settings: 'wdth' 122; font-weight: 720;
  max-width: 15ch; margin-bottom: var(--space-5); position: relative;
  /* large variable-font glyphs: no size rounding, no synthetic smoothing */
  text-rendering: geometricPrecision;
}
.hero .accent-mark { position: relative; }
.hero .lead { max-width: 46ch; margin-bottom: var(--space-6); }
.hero .cta-row { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.hero-bg {
  position: absolute; right: -4rem; top: 50%; transform: translateY(-50%);
  width: min(40vw, 30rem); opacity: .05; pointer-events: none; user-select: none;
}
/* the symbol sits one layer behind the headline: it lags the scroll by 14% */
.kx .hero-bg { transform: translateY(calc(-50% + var(--sy, 0px) * -0.14)); will-change: transform; }
@media (max-width: 60rem) { .hero-bg { display: none; } }

/* ---- sections ------------------------------------------------------------- */
.section { padding: var(--band) 0; }
.section-tight { padding: var(--band-tight) 0; }
.section-tall { padding: var(--band-tall) 0; }
/* inverted band — borrows the already contrast-audited dark token set so the
   page has a real light/dark cadence instead of ABABAB tinting */
.section--ink {
  color-scheme: dark;
  --bg: #12161B; --bg-alt: #171C22; --surface: #1C232B; --surface-muted: #232B34;
  --text: #F2EEE8; --text-2: #C9C3B9; --text-muted: #979083;
  --accent: #FF7A50; --accent-strong: #FF8F6B; --accent-hover: #FFA98C;
  --accent-2: #3FBFB0; --focus-ring: #FF8F6B;
  --border: #2C343E; --border-strong: #3D4752;
  --success: #4CC38A; --warning: #E0B45C; --error: #F28B82; --info: #7CB1F5;
  --tint-live: #1C2E24; --tint-progress: #2E2618; --tint-lab: #182B29;
  --tint-neutral: #232830; --tint-muted: #20262D;
  --shadow-1: 0 1px 2px rgb(0 0 0 / .4), 0 2px 10px rgb(0 0 0 / .35);
  --shadow-2: 0 2px 4px rgb(0 0 0 / .45), 0 12px 30px rgb(0 0 0 / .5);
  --shadow-lift: 0 3px 6px rgb(0 0 0 / .5), 0 20px 40px -8px rgb(0 0 0 / .6);
  background: var(--bg); color: var(--text);
  border-block: 1px solid var(--border);
}
/* On an already-dark page the ink band must go deeper, or the light/dark
   cadence of the page disappears entirely. */
:root[data-theme="dark"] .section--ink { --bg: #090C10; --surface: #161C23; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .section--ink { --bg: #090C10; --surface: #161C23; }
}
.section-alt { background: var(--bg-alt); border-block: 1px solid var(--border); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-4); margin-bottom: var(--space-6); flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.section-head .more { font-weight: 560; text-decoration: none; white-space: nowrap; }
.eyebrow {
  font-family: var(--font-mono); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent-strong); display: inline-flex; align-items: center; gap: .6rem; margin-bottom: var(--space-3);
}
.eyebrow::before { content: ""; width: .72em; height: .34em; background: var(--accent); transform: skewX(-32deg); border-radius: 1px; }

/* ---- cards ---------------------------------------------------------------- */
.grid { display: grid; gap: var(--space-5); }
.grid-2 { grid-template-columns: repeat(auto-fill, minmax(min(21rem, 100%), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fill, minmax(min(17.5rem, 100%), 1fr)); }

.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-l);
  padding: var(--space-5); display: flex; flex-direction: column; gap: var(--space-3);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
  position: relative;
}
/* CORRECTNESS: .card sets display:flex at author origin, which beats the UA
   sheet's [hidden]{display:none} — without this the project filters set the
   attribute but never actually hide a card. */
.card[hidden] { display: none !important; }
/* hover AND keyboard focus get the same answer (was mouse-only) */
.card:has(a.card-link:hover),
.card:focus-within {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lift);
  border-color: var(--border-strong);
}
/* pointer-tracked warm spotlight — one rAF-throttled listener sets --mx/--my */
.card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  pointer-events: none; opacity: 0; transition: opacity var(--d-hit) var(--e-strike);
  background: radial-gradient(16rem 16rem at var(--mx, 50%) var(--my, 0%),
    color-mix(in srgb, var(--accent) 14%, transparent), transparent 70%);
}
.card:has(a.card-link:hover)::before { opacity: 1; }
@media (hover: none) { .card::before { display: none; } }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); }
.card h3 { margin: 0; font-size: 1.22rem; }
.card h3 a { color: inherit; text-decoration: none; }
.card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.card p { color: var(--text-2); font-size: .98rem; margin: 0; }
.card .meta { display: flex; align-items: center; gap: var(--space-3); margin-top: auto; padding-top: var(--space-2);
              font-family: var(--font-mono); font-size: .78rem; color: var(--text-muted); }
/* Product identity tiles. The product's colour tints the paper rather than
   sitting on it as a saturated block, so nine different hues coexist with the
   warm palette. --proj-d carries the product's dark-theme colour. */
.tile {
  width: 3rem; height: 3rem; border-radius: 3px; flex: none;
  display: grid; place-items: center;
  background: color-mix(in srgb, var(--proj, var(--accent)) 14%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--proj, var(--accent)) 34%, var(--border));
  color: color-mix(in srgb, var(--proj, var(--accent)) 72%, var(--text));
  font-family: var(--font-display); font-variation-settings: 'wdth' 116; font-weight: 660; font-size: 1.02rem;
  letter-spacing: .02em;
}
:root[data-theme="dark"] .tile,
.section--ink .tile {
  background: color-mix(in srgb, var(--proj-d, var(--accent)) 18%, var(--surface));
  border-color: color-mix(in srgb, var(--proj-d, var(--accent)) 40%, var(--border));
  color: color-mix(in srgb, var(--proj-d, var(--accent)) 78%, var(--text));
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .tile {
    background: color-mix(in srgb, var(--proj-d, var(--accent)) 18%, var(--surface));
    border-color: color-mix(in srgb, var(--proj-d, var(--accent)) 40%, var(--border));
    color: color-mix(in srgb, var(--proj-d, var(--accent)) 78%, var(--text));
  }
}
.card-cta { font-weight: 560; font-size: .95rem; }

/* live products — the anchor target clears the sticky header, and the
   section can take focus after an in-page jump without drawing a ring */
.live-products { scroll-margin-top: 5.25rem; }
.live-products:focus { outline: none; }
.live-title { margin: 0 0 var(--space-6); font-size: clamp(1.3rem, 2.4vw, 1.7rem); color: var(--text-2); font-weight: 600; }
.live-title .accent-mark { margin-left: .35em; vertical-align: baseline; }
.live-name { font-size: clamp(1.6rem, 3vw, 2.1rem); margin: 0 0 .6rem; }
.live-products .clave { margin: clamp(1.6rem, 3.4vw, 2.4rem) 0; }
.live-more { margin: var(--space-6) 0 0; }
.live-more .more { font-weight: 560; text-decoration: none; }
/* featured product panel */
.feature-panel {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(1.4rem, 4vw, 3rem);
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-l);
  padding: clamp(1.4rem, 4vw, 2.6rem); box-shadow: var(--shadow-1); align-items: center;
}
.feature-panel .art { border-radius: var(--radius-m); overflow: hidden; box-shadow: var(--shadow-1); }
.feature-panel .art img, .feature-panel .art svg { width: 100%; height: auto; display: block; transition: transform var(--d-phrase) var(--e-settle); }
/* alternate composition for the second live product: visual leads */
.feature-panel--alt { grid-template-columns: .85fr 1.15fr; }
.feature-panel--alt .art { order: -1; }
/* depth answers the pointer: the plate lifts a hair, the visual settles */
.feature-panel:hover .art img, .feature-panel:hover .art svg { transform: translateY(-3px); }
@media (max-width: 53rem) { .feature-panel, .feature-panel--alt { grid-template-columns: 1fr; } .feature-panel .art { order: -1; } }

/* ---- filters (projects page) ---------------------------------------------- */
.filters { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-bottom: var(--space-6); }
.filters button {
  font: inherit; font-size: .93rem; font-weight: 540; cursor: pointer;
  background: var(--surface); color: var(--text-2);
  border: 1px solid var(--border-strong); border-radius: 999px; padding: .48rem 1.05rem;
}
.filters button[aria-pressed="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }
.filters button:hover:not([aria-pressed="true"]) { color: var(--text); }

/* ---- project detail -------------------------------------------------------- */
.detail-head { display: flex; align-items: flex-start; gap: var(--space-5); margin-bottom: var(--space-6); flex-wrap: wrap; }
.detail-head .tile { width: 4.2rem; height: 4.2rem; font-size: 1.4rem; }
.detail-meta { display: flex; gap: var(--space-3); align-items: center; flex-wrap: wrap; margin-top: var(--space-2); }
.detail-grid { display: grid; grid-template-columns: 2fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); }
@media (max-width: 53rem) { .detail-grid { grid-template-columns: 1fr; } }
.side-block { background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius-m); padding: var(--space-5); margin-bottom: var(--space-5); }
.side-block h3 { font-size: .95rem; text-transform: uppercase; letter-spacing: .06em; font-variation-settings: 'wdth' 110; color: var(--text-2); }
.tech-tags { display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 0; list-style: none; }
.tech-tags li { font-family: var(--font-mono); font-size: .78rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-s); padding: .3rem .6rem; color: var(--text-2); }

/* ---- how-we-build steps ----------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(13rem, 100%), 1fr)); gap: var(--space-5); counter-reset: step; }
.step { position: relative; padding-top: var(--space-4); }
.step::before {
  counter-increment: step; content: "0" counter(step);
  font-family: var(--font-mono); font-size: .8rem; color: var(--accent-strong); letter-spacing: .1em;
}
.step h3 { font-size: 1.05rem; margin: .4rem 0 .4rem; }
.step p { font-size: .95rem; color: var(--text-2); margin: 0; }

/* ---- founder --------------------------------------------------------------- */
.founder { display: grid; grid-template-columns: auto 1fr; gap: clamp(1.4rem, 4vw, 3rem); align-items: center; }
.founder-mark { width: clamp(6rem, 12vw, 9rem); }
@media (max-width: 40rem) { .founder { grid-template-columns: 1fr; } }

/* Founder portrait — squared with a small radius so it reads as an engineered
   plate rather than a social-media circle, with the beat-mark accent as a rule. */
.founder-portrait {
  width: clamp(6.5rem, 13vw, 9.5rem);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 20%;
  border-radius: 4px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-2);
}
.about-intro {
  display: grid;
  grid-template-columns: minmax(0, 15.5rem) 1fr;
  gap: clamp(1.4rem, 4vw, 2.6rem);
  align-items: start;
  margin-bottom: var(--space-6);
}
.about-intro .founder-portrait { width: 100%; max-width: 15.5rem; }
.about-intro > div > p:last-child { margin-bottom: 0; }
@media (max-width: 44rem) {
  .about-intro { grid-template-columns: 1fr; }
  .about-intro .founder-portrait { max-width: 11rem; }
}
.founder blockquote { margin: var(--space-4) 0 0; padding-left: var(--space-4); border-left: 3px solid var(--accent); color: var(--text-2); font-style: italic; }

/* ---- footer ----------------------------------------------------------------- */
.site-footer { background: var(--bg-alt); border-top: 1px solid var(--border); padding: var(--space-7) 0 var(--space-6); margin-top: var(--space-8); }
.site-footer .cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: var(--space-6); margin-bottom: var(--space-6); }
@media (max-width: 47.9rem) { .site-footer .cols { grid-template-columns: 1fr; } }
.site-footer .footer-h { font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; color: var(--text-muted); margin-bottom: var(--space-3); font-variation-settings: 'wdth' 110; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .5rem; }
.site-footer a { color: var(--text-2); text-decoration: none; }
.site-footer a:hover { color: var(--text); text-decoration: underline; }
.footer-legal { display: flex; justify-content: space-between; gap: var(--space-4); flex-wrap: wrap; align-items: center;
                border-top: 1px solid var(--border); padding-top: var(--space-5);
                font-size: .85rem; color: var(--text-muted); }
.footer-tagline { font-family: var(--font-display); font-variation-settings: 'wdth' 116; font-weight: 600; color: var(--text-2); }

/* ---- legal pages / prose ----------------------------------------------------- */
.prose { max-width: 44rem; }
.prose h2 { margin-top: var(--space-7); }
.prose h3 { margin-top: var(--space-5); }
.page-head { padding-top: clamp(2.4rem, 6vw, 4rem); }

/* ---- 404 ---------------------------------------------------------------------- */
.err-page { text-align: center; padding: clamp(4rem, 12vw, 8rem) 0; }
.err-page .mark { width: 6.5rem; margin: 0 auto var(--space-5); opacity: .92; }
.err-code { font-family: var(--font-mono); color: var(--text-muted); letter-spacing: .2em; }

/* ---- utilities ------------------------------------------------------------------ */
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.center { text-align: center; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.js-only { display: none; }
.js .js-only { display: revert; }

@media print {
  .site-header, .site-footer, .theme-toggle, .nav-toggle { display: none; }
  body { background: #fff; color: #000; }
}

/* ==========================================================================
   KINETIC LAYER — the site keeps time
   Every duration is an integer multiple of --u (one eighth note). Group
   stagger delays follow son clave 3-2 (eighth notes 0,3,6,10,12 of 16), so
   a row of cards plays a syncopated phrase rather than a uniform ramp.
   All motion is opt-IN via .kx on <html>, added by boot.js only when the
   visitor has not asked for reduced motion. No JS and reduced-motion users
   never receive a hidden pre-state, so nothing can be stranded invisible.
   ========================================================================== */

/* ---- reveal choreography -------------------------------------------------- */
.kx [data-kx] {
  opacity: 0;
  transform: translate3d(0, 14px, 0);
  transition:
    opacity var(--d-phrase) var(--e-strike) var(--kx-d, 0ms),
    transform var(--d-phrase) var(--e-strike) var(--kx-d, 0ms);
  will-change: opacity, transform;
}
.kx [data-kx].is-in { opacity: 1; transform: none; will-change: auto; }
/* clave stagger: 0u, 3u, 6u, 10u, 12u — then the figure repeats a bar later */
.kx [data-kx-i="0"] { --kx-d: 0ms; }
.kx [data-kx-i="1"] { --kx-d: 138ms; }
.kx [data-kx-i="2"] { --kx-d: 276ms; }
.kx [data-kx-i="3"] { --kx-d: 460ms; }
.kx [data-kx-i="4"] { --kx-d: 552ms; }
.kx [data-kx-i="5"] { --kx-d: 736ms; }
.kx [data-kx-i="6"] { --kx-d: 874ms; }
.kx [data-kx-i="7"] { --kx-d: 1012ms; }
.kx [data-kx-i="8"] { --kx-d: 1196ms; }

/* ---- hero: the headline widens into place -------------------------------- */
.hero h1 .ln { display: block; }
.kx .hero h1 .ln {
  opacity: 0;
  font-variation-settings: 'wdth' 78;
  transform: translateY(.18em);
  transition:
    opacity var(--d-phrase) var(--e-settle) var(--kx-d, 0ms),
    transform var(--d-phrase) var(--e-settle) var(--kx-d, 0ms),
    font-variation-settings 1104ms var(--e-settle) var(--kx-d, 0ms);
}
.kx .hero h1 .ln.is-in {
  opacity: 1; transform: none;
  font-variation-settings: 'wdth' 122;
}
.kx .hero h1 .ln:nth-child(2) { --kx-d: 138ms; }
/* the accent strikes on the downbeat, after the words have settled */
.kx .hero .accent-mark { opacity: 0; transform: translateX(-.3em) scaleX(.4); transform-origin: left center;
  transition: opacity var(--d-hit) var(--e-strike) 690ms, transform 276ms var(--e-answer) 690ms; }
.kx .hero h1.is-in .accent-mark { opacity: 1; transform: none; }

/* ---- the clave rail: scroll position plays the 3-2 pattern ---------------- */
.kx-rail {
  position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 60;
  pointer-events: none; display: none;
}
.kx .kx-rail { display: block; }
.kx-rail i {
  position: absolute; top: 0; width: .62rem; height: 3px;
  transform: skewX(-32deg); border-radius: 1px;
  background: var(--border-strong);
}
/* eighth notes 0,3,6,10,12 of 16 → the son clave, plus the next downbeat */
.kx-rail i:nth-child(1) { left: 0%; }
.kx-rail i:nth-child(2) { left: 18.75%; }
.kx-rail i:nth-child(3) { left: 37.5%; }
.kx-rail i:nth-child(4) { left: 62.5%; }
.kx-rail i:nth-child(5) { left: 75%; }
.kx-rail i:nth-child(6) { left: calc(100% - .62rem); }
.kx-rail .lit {
  position: absolute; inset: 0;
  clip-path: inset(0 calc(100% - var(--p, 0%)) 0 0);
}
.kx-rail .lit i { background: var(--accent); }

/* ---- engineering texture: hairline module grid ---------------------------- */
.grid-texture { position: relative; }
.grid-texture::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image: repeating-linear-gradient(to right,
    color-mix(in srgb, var(--border) 60%, transparent) 0 1px, transparent 1px calc(100% / 12));
  background-size: 100% 100%;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 22%, #000 62%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 22%, #000 62%, transparent);
  opacity: .7;
}
.grid-texture > * { position: relative; z-index: 1; }
.kx .hero.grid-texture::before { transform: scaleY(0); transform-origin: top center;
  transition: transform 1104ms var(--e-settle) 138ms; }
.kx .hero.grid-texture.is-in::before { transform: scaleY(1); }

/* ---- card index numerals (technical metadata the brand claims) ----------- */
.grid-3 { counter-reset: cardidx; }
.card-idx {
  counter-increment: cardidx;
  font-family: var(--font-mono); font-size: .72rem; color: var(--text-muted);
  letter-spacing: .06em;
}
.card-idx::before { content: counter(cardidx, decimal-leading-zero); }

/* ---- status dot: live products actually pulse ---------------------------- */
.kx .badge-live::before { animation: kx-pulse 2208ms var(--e-settle) infinite; }
@keyframes kx-pulse {
  0%, 62%, 100% { box-shadow: 0 0 0 0 transparent; }
  10% { box-shadow: 0 0 0 3px color-mix(in srgb, var(--success) 34%, transparent); }
  22% { box-shadow: 0 0 0 0 transparent; }
}

/* ---- nav: answers the scroll -------------------------------------------- */
.kx .site-header { transition: transform var(--d-phrase) var(--e-settle), box-shadow var(--d-phrase) var(--e-settle); }
.kx .site-header.is-stuck { box-shadow: var(--shadow-1); }

/* ---- links draw their underline from the left ---------------------------- */
.prose a:not(.btn), .card-cta {
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0% 1px;
  transition: background-size var(--d-hit) var(--e-strike);
}
.prose a:not(.btn):hover, .prose a:not(.btn):focus-visible,
a:hover .card-cta, a:focus-visible .card-cta { background-size: 100% 1px; }

/* ---- reduced motion: remove the pre-state entirely, don't freeze it ------ */
@media (prefers-reduced-motion: reduce) {
  .kx [data-kx], .kx .hero h1 .ln, .kx .hero .accent-mark {
    opacity: 1 !important; transform: none !important;
    font-variation-settings: 'wdth' 122 !important;
  }
  .kx-rail { display: none !important; }
  .kx .badge-live::before { animation: none !important; }
  .kx .hero-bg { transform: translateY(-50%) !important; will-change: auto; }
  .kx .hero.grid-texture::before { transform: none !important; }
}
/* ---- failsafe: if site.js never runs, nothing stays hidden --------------- */
.kx-static [data-kx], .kx-static .hero h1 .ln, .kx-static .hero .accent-mark {
  opacity: 1 !important; transform: none !important;
}
.kx-static .kx-rail { display: none; }

/* ---- print / PDF: never capture an un-revealed element ------------------- */
@media print {
  .kx [data-kx], .kx .hero h1 .ln, .kx .hero .accent-mark {
    opacity: 1 !important; transform: none !important;
    font-variation-settings: 'wdth' 118 !important;
  }
  .kx-rail, .site-header .theme-toggle, .nav-toggle { display: none !important; }
}

/* ==========================================================================
   MOTION VOCABULARY v2 — five gestures, not one fade
   Each pattern is a distinct physical idea drawn from the identity. Elements
   opt in with data-kx="strike|settle|align|draw|widen"; the clave stagger
   (--kx-d) still governs WHEN, these govern HOW.
   ========================================================================== */

/* 1 · STRIKE — the accent arrives first, sharp, on the downbeat.
      Labels, eyebrows, accent marks. Short throw, dead stop. */
.kx [data-kx="strike"] {
  opacity: 0;
  transform: translate3d(-.5rem, 0, 0);
  transition: opacity var(--d-hit) var(--e-strike) var(--kx-d, 0ms),
              transform var(--d-hit) var(--e-strike) var(--kx-d, 0ms);
}

/* 2 · SETTLE — mass with inertia; content answers one beat later.
      Body copy, leads, paragraphs. */
.kx [data-kx="settle"] {
  opacity: 0;
  transform: translate3d(0, 12px, 0);
  transition: opacity var(--d-phrase) var(--e-settle) var(--kx-d, 0ms),
              transform var(--d-phrase) var(--e-settle) var(--kx-d, 0ms);
}

/* 3 · ALIGN — the engineered snap. Comes in slightly wide and off-grid, then
      locks to exact position. Cards, steps, grid members. */
.kx [data-kx="align"] {
  opacity: 0;
  transform: translate3d(0, 14px, 0) scale(1.012);
  transition: opacity var(--d-phrase) var(--e-strike) var(--kx-d, 0ms),
              transform var(--d-phrase) var(--e-strike) var(--kx-d, 0ms);
}

/* 4 · DRAW — a measurement line grows from its origin. Rules, dividers. */
.kx [data-kx="draw"] {
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--d-phrase) var(--e-strike) var(--kx-d, 0ms);
}

/* 5 · WIDEN — Archivo's width axis expands into place. Major headings only. */
.kx [data-kx="widen"] {
  opacity: 0;
  font-variation-settings: 'wdth' 88;
  transform: translate3d(0, 8px, 0);
  transition: opacity var(--d-phrase) var(--e-settle) var(--kx-d, 0ms),
              transform var(--d-phrase) var(--e-settle) var(--kx-d, 0ms),
              font-variation-settings 920ms var(--e-settle) var(--kx-d, 0ms);
}

.kx [data-kx].is-in {
  opacity: 1;
  transform: none;
  font-variation-settings: 'wdth' 118;
}
.kx [data-kx="draw"].is-in { transform: scaleX(1); }
.kx .feature-panel .art { --kx-d: 276ms; }
/* Once settled, the hero headline tracks --hero-wdth, which JS nudges by at most
   4 units as the pointer crosses the viewport. Far below the threshold where the
   text would reflow, but enough that the headline feels attached to you. */
.kx .hero h1 .ln.is-in { font-variation-settings: 'wdth' 122; }
.kx .hero h1:hover .ln.is-in { font-variation-settings: 'wdth' 125; }
@media (prefers-reduced-motion: reduce) {
  .hero h1 { transition: none !important; }
  .kx .hero h1 .ln.is-in { font-variation-settings: 'wdth' 122 !important; }
}

/* ---- navigation: was completely inert ----------------------------------- */
.site-nav a {
  position: relative;
  transition: color var(--d-hit) var(--e-strike);
}
.site-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  background: var(--accent); border-radius: 1px;
  transform: scaleX(0); transform-origin: right center;
  transition: transform var(--d-hit) var(--e-strike);
}
.site-nav a:hover::after,
.site-nav a:focus-visible::after { transform: scaleX(1); transform-origin: left center; }
.site-nav a[aria-current="page"] { border-bottom-color: transparent; }
.site-nav a[aria-current="page"]::after { transform: scaleX(1); }

/* header compresses once you leave the hero */
.site-header { transition: padding var(--d-phrase) var(--e-settle), box-shadow var(--d-phrase) var(--e-settle); }
.kx .site-header.is-stuck .bar { min-height: 3.5rem; }
.kx .site-header .bar { transition: min-height var(--d-phrase) var(--e-settle); }
.kx .site-header.is-stuck .brand-mark { transform: scale(.92); }
.brand-mark { transition: transform var(--d-phrase) var(--e-settle); }

/* ---- status badges: the brand's differentiator, previously inert -------- */
.badge {
  position: relative;
  transition: border-color var(--d-hit) var(--e-strike), background-color var(--d-hit) var(--e-strike);
  border: 1px solid transparent;
}
.card:has(a.card-link:hover) .badge,
.card:focus-within .badge { border-color: color-mix(in srgb, currentColor 26%, transparent); }
/* only a genuinely live product gets a living indicator */
.kx .badge-live::before { animation: kx-pulse 2208ms var(--e-settle) infinite; }
/* everything else gets a static, honest marker — no countdown, no urgency */
.badge-progress::before, .badge-lab::before, .badge-muted::before { animation: none; }

/* ---- product tiles: carry the product's colour, now respond ------------- */
.tile { transition: transform var(--d-hit) var(--e-answer), box-shadow var(--d-hit) var(--e-strike), border-color var(--d-hit) var(--e-strike); }
.card:has(a.card-link:hover) .tile,
.card:focus-within .tile {
  transform: translateY(-2px) rotate(-1.5deg);
  box-shadow: 0 4px 12px -2px color-mix(in srgb, var(--proj, var(--accent)) 40%, transparent);
  border-color: color-mix(in srgb, var(--proj, var(--accent)) 55%, var(--border));
}

/* ---- card: accent edge leans toward the pointer ------------------------- */
.card { transition: transform var(--d-hit) var(--e-answer), box-shadow var(--d-hit) var(--e-strike), border-color var(--d-hit) var(--e-strike); }
.card::after {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px;
  background: var(--accent); border-radius: inherit;
  transform: scaleY(0); transform-origin: var(--edge-origin, top);
  transition: transform var(--d-hit) var(--e-strike);
  pointer-events: none;
}
.card:has(a.card-link:hover)::after,
.card:focus-within::after { transform: scaleY(1); }
.card:active { transform: translateY(0) scale(.997); }

/* card CTA arrow travels */
.card-cta::after { content: " →"; display: inline-block; transition: transform var(--d-hit) var(--e-answer); }
.card:has(a.card-link:hover) .card-cta::after,
.card:focus-within .card-cta::after { transform: translateX(.28em); }

/* ---- founder portrait: connected to the accent system ------------------- */
.founder-portrait { position: relative; transition: box-shadow var(--d-phrase) var(--e-settle); }
.about-intro, .founder { --pf: 0; }
.about-intro .founder-portrait,
.founder .founder-portrait {
  box-shadow: var(--shadow-2), calc(-6px * var(--pf, 1)) calc(6px * var(--pf, 1)) 0 0 var(--accent);
}
@media (prefers-reduced-motion: no-preference) {
  .kx .about-intro .founder-portrait,
  .kx .founder .founder-portrait { transition: box-shadow 720ms var(--e-settle) 200ms; }
}

/* ---- buttons and links: one consistent grammar -------------------------- */
.btn { transition: transform var(--d-hit) var(--e-answer), background-color var(--d-hit) var(--e-strike), color var(--d-hit) var(--e-strike), border-color var(--d-hit) var(--e-strike); }
.btn:active { transform: translateY(0) scale(.985); }
.btn .beat { transition: transform var(--d-hit) var(--e-answer); }
.btn:hover .beat, .btn:focus-visible .beat { transform: skewX(-32deg) translateX(.18em); }
/* NOTE: an earlier version set .more:hover to --accent-strong, which is already
   the default link colour — so hovering changed nothing and this link became
   less responsive than before. It travels its arrow and deepens instead. */
.more { position: relative; transition: color var(--d-hit) var(--e-strike); }
.more:hover, .more:focus-visible { color: var(--accent-hover); }
.more .arw { display: inline-block; transition: transform var(--d-hit) var(--e-answer); }
.more:hover .arw, .more:focus-visible .arw { transform: translateX(.3em); }

/* Status badges carry the brand's honesty claim, so they must read as objects
   rather than printed text: a hairline at rest, accent edge on interaction. */
.badge {
  border: 1px solid color-mix(in srgb, currentColor 16%, transparent);
  transition: border-color var(--d-hit) var(--e-strike),
              background-color var(--d-hit) var(--e-strike),
              transform var(--d-hit) var(--e-answer);
}
.badge:hover { border-color: color-mix(in srgb, currentColor 46%, transparent); transform: translateY(-1px); }
.card:has(a.card-link:hover) .badge,
.card:focus-within .badge { border-color: color-mix(in srgb, currentColor 40%, transparent); }

/* ---- filters: controlled reflow instead of popping --------------------- */
.filters button { transition: background-color var(--d-hit) var(--e-strike), color var(--d-hit) var(--e-strike), border-color var(--d-hit) var(--e-strike), transform var(--d-hit) var(--e-answer); }
.filters button:active { transform: scale(.96); }
.kx [data-project-card] { transition: opacity 260ms var(--e-strike), transform 260ms var(--e-strike); }
.kx [data-project-card].is-filtering { opacity: 0; transform: translate3d(0, 6px, 0) scale(.985); }

/* ---- back to top: only where the page is genuinely long ---------------- */
.to-top {
  position: fixed; right: clamp(1rem, 3vw, 2rem); bottom: clamp(1rem, 3vw, 2rem);
  z-index: 55; display: none; align-items: center; justify-content: center;
  width: 2.75rem; height: 2.75rem; border-radius: 6px;
  background: var(--surface); color: var(--text);
  border: 1px solid var(--border-strong); box-shadow: var(--shadow-2);
  cursor: pointer; opacity: 0; transform: translateY(.5rem);
  transition: opacity var(--d-phrase) var(--e-settle), transform var(--d-phrase) var(--e-settle), border-color var(--d-hit) var(--e-strike);
}
.js .to-top { display: flex; }
.to-top.is-shown { opacity: 1; transform: none; }
.to-top:hover { border-color: var(--accent); }
.to-top .beat { transform: skewX(-32deg) rotate(-90deg); }

/* ---- theme toggle: acknowledges the change ----------------------------- */
.theme-toggle svg { transition: transform 460ms var(--e-answer), opacity var(--d-hit) var(--e-strike); }
.theme-toggle[aria-pressed="true"] svg { transform: rotate(180deg); }

/* ---- clave rail: section markers --------------------------------------- */
.kx-rail .sec {
  position: absolute; top: 0; width: 1px; height: 3px;
  background: color-mix(in srgb, var(--text) 34%, transparent);
}

/* ---- reduced motion: v2 patterns must also fully stand down ------------ */
@media (prefers-reduced-motion: reduce) {
  .kx [data-kx],
  .kx [data-kx="draw"],
  .kx [data-kx="widen"] {
    opacity: 1 !important; transform: none !important;
    font-variation-settings: 'wdth' 118 !important;
  }
  .kx [data-project-card].is-filtering { opacity: 1 !important; transform: none !important; }
  .to-top { transition: none !important; }
}
.kx-static [data-kx] { opacity: 1 !important; transform: none !important; }
