@font-face{font-family:'Familjen Grotesk';font-style:normal;font-weight:400;font-display:swap;src:url('fonts/familjen-400.woff2') format('woff2');}
@font-face{font-family:'Familjen Grotesk';font-style:normal;font-weight:500;font-display:swap;src:url('fonts/familjen-500.woff2') format('woff2');}
@font-face{font-family:'Familjen Grotesk';font-style:normal;font-weight:600;font-display:swap;src:url('fonts/familjen-600.woff2') format('woff2');}
@font-face{font-family:'Familjen Grotesk';font-style:normal;font-weight:700;font-display:swap;src:url('fonts/familjen-700.woff2') format('woff2');}
@font-face{font-family:'Inter';font-style:normal;font-weight:400;font-display:swap;src:url('fonts/inter-400.woff2') format('woff2');}
@font-face{font-family:'Inter';font-style:normal;font-weight:500;font-display:swap;src:url('fonts/inter-500.woff2') format('woff2');}
@font-face{font-family:'Inter';font-style:normal;font-weight:600;font-display:swap;src:url('fonts/inter-600.woff2') format('woff2');}
@font-face{font-family:'JetBrains Mono';font-style:normal;font-weight:400;font-display:swap;src:url('fonts/jbmono-400.woff2') format('woff2');}
@font-face{font-family:'JetBrains Mono';font-style:normal;font-weight:500;font-display:swap;src:url('fonts/jbmono-500.woff2') format('woff2');}

/* ==========================================================================
   AtinusX — design system
   Palette : void / slate / haze / frost + spectral refraction trio
   Type    : Familjen Grotesk (display) · Inter (body) · JetBrains Mono (structure)
   Idea    : colour never fills a surface. It only appears where light bends —
             glass edges, specular sweeps, focus rings.
   ========================================================================== */

:root {
  /* base planes */
  --void:      #08090c;
  --void-2:    #0b0d12;
  --slate:     #12141a;
  --slate-2:   #171a22;

  /* ink */
  --frost:     #e8ecf3;
  --haze:      #98a2b3;
  --haze-dim:  #6b7484;

  /* spectral — refraction only */
  --spec-1:    #6fd9ff;
  --spec-2:    #8a7cff;
  --spec-3:    #ff9cc8;

  /* glass tokens */
  --glass-fill:    rgba(255, 255, 255, 0.032);
  --glass-fill-2:  rgba(255, 255, 255, 0.055);
  --glass-line:    rgba(255, 255, 255, 0.09);
  --glass-line-2:  rgba(255, 255, 255, 0.16);
  --glass-blur:    blur(22px) saturate(150%);

  /* type */
  --display: 'Familjen Grotesk', ui-sans-serif, system-ui, sans-serif;
  --body:    'Inter', ui-sans-serif, system-ui, sans-serif;
  --mono:    'JetBrains Mono', ui-monospace, 'SF Mono', monospace;

  /* rhythm */
  --shell:   min(1180px, calc(100vw - 3rem));
  --r-sm:    10px;
  --r-md:    16px;
  --r-lg:    26px;
  --ease:    cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- light theme ----------
   Same structure, inverted planes. Colour still only appears where light
   bends, so the spectral trio is darkened just enough to hold contrast on
   a pale ground. Applied by [data-theme="light"], which the head script
   sets from localStorage or the OS preference before first paint. */
:root[data-theme="light"] {
  --void:      #f5f7fa;
  --void-2:    #eceff4;
  --slate:     #e3e7ee;
  --slate-2:   #d8dde6;

  --frost:     #0d1117;
  --haze:      #4b5563;
  --haze-dim:  #6b7280;

  --spec-1:    #0b76b8;
  --spec-2:    #5c4dd0;
  --spec-3:    #c14b83;

  --glass-fill:    rgba(255, 255, 255, 0.66);
  --glass-fill-2:  rgba(255, 255, 255, 0.92);
  --glass-line:    rgba(13, 17, 23, 0.11);
  --glass-line-2:  rgba(13, 17, 23, 0.22);
  --glass-blur:    blur(20px) saturate(140%);

  --grid-line-a: rgba(11, 118, 184, 0.10);
  --grid-line-b: rgba(92, 77, 208, 0.10);
  --plane-grid:  rgba(13, 17, 23, 0.07);
  --wordmark:    rgba(13, 17, 23, 0.10);
  --scrim:       rgba(245, 247, 250, 0.72);
  --plane-fill:  rgba(255, 255, 255, 0.82);
  --plane-line:  rgba(13, 17, 23, 0.14);
  --plane-ink:      rgba(13, 17, 23, 0.62);
  --plane-ink-dim:  rgba(13, 17, 23, 0.50);
  --plane-shadow:   rgba(13, 17, 23, 0.34);
  --plane-fill-active: rgba(255, 255, 255, 0.98);
  --plane-line-active: rgba(11, 118, 184, 0.42);
  --plane-dim:      saturate(0.6);
}
:root {
  --grid-line-a: rgba(111, 217, 255, 0.075);
  --grid-line-b: rgba(138, 124, 255, 0.075);
  --plane-grid:  rgba(232, 236, 243, 0.055);
  --wordmark:    rgba(232, 236, 243, 0.14);
  --scrim:       rgba(4, 5, 8, 0.62);
  --plane-fill:  rgba(255, 255, 255, 0.045);
  --plane-line:  rgba(255, 255, 255, 0.12);
  --plane-ink:      rgba(232, 236, 243, 0.62);
  --plane-ink-dim:  rgba(232, 236, 243, 0.55);
  --plane-shadow:   rgba(0, 0, 0, 0.9);
  --plane-fill-active: rgba(255, 255, 255, 0.085);
  --plane-line-active: rgba(255, 255, 255, 0.26);
  --plane-dim:      brightness(0.6);
}

:root[data-theme="light"] body {
  background:
    radial-gradient(1200px 700px at 78% -8%, rgba(92, 77, 208, 0.10), transparent 60%),
    radial-gradient(900px 600px at 4% 12%, rgba(11, 118, 184, 0.09), transparent 62%),
    var(--void);
}
:root[data-theme="light"] .orb { opacity: 0.42; filter: blur(96px); }
:root[data-theme="light"] .ambient::after { opacity: 0.02; }
:root[data-theme="light"] .glass::before { opacity: 0.28; }
:root[data-theme="light"] .glass:hover::before { opacity: 0.55; }
:root[data-theme="light"] .glass {
  box-shadow: 0 1px 0 0 rgba(255,255,255,0.9) inset,
              0 18px 44px -26px rgba(13,17,23,0.30);
}
:root[data-theme="light"] .nav__inner { background: rgba(255, 255, 255, 0.72); }
:root[data-theme="light"] .nav.is-stuck .nav__inner { background: rgba(255, 255, 255, 0.92); }
:root[data-theme="light"] .cmdk__panel { background: rgba(252, 253, 255, 0.98); }
:root[data-theme="light"] .totop { background: rgba(255, 255, 255, 0.88); }
:root[data-theme="light"] .cap { background: rgba(255, 255, 255, 0.55); }
:root[data-theme="light"] .pkg__flag { color: #fff; }
:root[data-theme="light"] .btn--primary {
  background: linear-gradient(135deg, rgba(11,118,184,0.13), rgba(92,77,208,0.13));
  border-color: rgba(92,77,208,0.35);
}
:root[data-theme="light"] .btn__ripple { background: rgba(13,17,23,0.10); }
:root[data-theme="light"] ::selection { background: rgba(92, 77, 208, 0.22); color: #0d1117; }
/* the terminal stays a dark surface in both themes — it is a code window */
:root[data-theme="light"] .term { background: #0c0e13; border-color: rgba(13,17,23,0.16); }
:root[data-theme="light"] .term__bar { border-bottom-color: rgba(255,255,255,0.10); }
:root[data-theme="light"] .term__title,
:root[data-theme="light"] .term__line { color: #98a2b3; }
:root[data-theme="light"] .term__line--cmd { color: #e8ecf3; }
:root[data-theme="light"] .term__line--ok,
:root[data-theme="light"] .term__ps { color: #6fd9ff; }
:root[data-theme="light"] .term__caret { background: #6fd9ff; }

/* mobile nav sheet follows the theme */
:root[data-theme="light"] .nav__links { background: rgba(255, 255, 255, 0.97); }

/* the 3D stack is hidden below 700px; keep the workflow list interactive there */
:root[data-theme="light"] .stack-list__item { background: rgba(255,255,255,0.55); }

/* ---------- theme toggle ---------- */
.theme-toggle {
  display: grid; place-items: center;
  width: 34px; height: 34px; flex-shrink: 0;
  border-radius: 999px; cursor: pointer;
  background: var(--glass-fill); border: 1px solid var(--glass-line);
  color: var(--haze); transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.theme-toggle:hover { color: var(--frost); border-color: var(--glass-line-2); background: var(--glass-fill-2); }
.theme-toggle svg { width: 15px; height: 15px; }
.theme-toggle .icon-sun { display: none; }
:root[data-theme="light"] .theme-toggle .icon-sun { display: block; }
:root[data-theme="light"] .theme-toggle .icon-moon { display: none; }

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

/* 17px base — every rem-based size lifts with it. Small type was reading as
   dead space rather than content, so the floors below are raised too. */
html { font-size: 106.25%; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background:
    radial-gradient(1200px 700px at 78% -8%, rgba(138,124,255,0.13), transparent 60%),
    radial-gradient(900px 600px at 4% 12%, rgba(111,217,255,0.10), transparent 62%),
    var(--void);
  background-attachment: fixed;
  color: var(--frost);
  font-family: var(--body);
  font-size: 1.02rem;
  line-height: 1.68;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  min-height: 100vh;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

::selection { background: rgba(138, 124, 255, 0.32); color: #fff; }

:focus-visible {
  outline: 2px solid var(--spec-1);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- ambient backdrop: what the glass refracts ---------- */
.ambient {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
}
.ambient::after {
  /* fine grain so gradients never band */
  content: '';
  position: absolute;
  inset: -50%;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(84px);
  opacity: 1;
  will-change: transform;
}
.orb-a { width: 46vw; height: 46vw; left: -12vw; top: -10vw;
         background: radial-gradient(circle, rgba(111,217,255,0.60), transparent 70%);
         animation: drift-a 34s var(--ease) infinite alternate; }
.orb-b { width: 40vw; height: 40vw; right: -8vw; top: 22vh;
         background: radial-gradient(circle, rgba(138,124,255,0.62), transparent 70%);
         animation: drift-b 42s var(--ease) infinite alternate; }
.orb-c { width: 34vw; height: 34vw; left: 30vw; bottom: -14vw;
         background: radial-gradient(circle, rgba(255,156,200,0.40), transparent 70%);
         animation: drift-c 50s var(--ease) infinite alternate; }

@keyframes drift-a { to { transform: translate3d(9vw, 7vh, 0) scale(1.16); } }
@keyframes drift-b { to { transform: translate3d(-8vw, -6vh, 0) scale(0.88); } }
@keyframes drift-c { to { transform: translate3d(5vw, -9vh, 0) scale(1.12); } }

/* ---------- glass primitive ---------- */
.glass {
  position: relative;
  background: var(--glass-fill);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-line);
  border-radius: var(--r-lg);
  box-shadow:
    0 1px 0 0 rgba(255,255,255,0.07) inset,
    0 -1px 0 0 rgba(0,0,0,0.35) inset,
    0 24px 60px -28px rgba(0,0,0,0.85);
  overflow: hidden;
}
/* specular sweep — the only place colour lives */
.glass::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(115deg,
    rgba(111,217,255,0.55) 0%,
    rgba(138,124,255,0.30) 26%,
    transparent 48%,
    transparent 62%,
    rgba(255,156,200,0.30) 88%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0.55;
  transition: opacity 0.5s var(--ease);
  pointer-events: none;
}
.glass:hover::before { opacity: 1; }

/* ---------- shell + sections ---------- */
.shell { width: var(--shell); margin-inline: auto; }

.section { padding-block: clamp(4.5rem, 10vw, 8.5rem); position: relative; }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }

/* ---------- type ---------- */
.eyebrow {
  font-family: var(--mono);
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--haze-dim);
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1.6rem;
}
.eyebrow::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--glass-line-2), transparent);
}

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 5.3vw, 4.4rem); }
h2 { font-size: clamp(2.1rem, 4.4vw, 3.35rem); }
h3 { font-size: clamp(1.32rem, 2.2vw, 1.72rem); letter-spacing: -0.025em; }
h4 { font-size: 1.09rem; letter-spacing: -0.015em; }

p { color: var(--haze); text-wrap: pretty; }
.lede { font-size: clamp(1.12rem, 1.7vw, 1.33rem); line-height: 1.62; color: var(--haze); max-width: 62ch; }
strong { color: var(--frost); font-weight: 500; }

.mono { font-family: var(--mono); font-size: 0.855rem; letter-spacing: 0.04em; color: var(--haze-dim); }

/* ---------- nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0.85rem 0;
  transition: padding 0.4s var(--ease);
}
.nav__inner {
  width: var(--shell);
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0.55rem 0.6rem 0.55rem 1.25rem;
  border-radius: 999px;
  background: rgba(10, 12, 17, 0.55);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid var(--glass-line);
  box-shadow: 0 1px 0 0 rgba(255,255,255,0.06) inset, 0 18px 40px -26px rgba(0,0,0,0.9);
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease);
}
.nav.is-stuck .nav__inner { background: rgba(10, 12, 17, 0.82); border-color: var(--glass-line-2); }

.brand { font-family: var(--display); font-weight: 700; font-size: 1.05rem; letter-spacing: -0.03em; color: var(--frost); display: flex; align-items: center; gap: 0.55rem; }
.brand__mark { width: 9px; height: 9px; border-radius: 2px; background: linear-gradient(135deg, var(--spec-1), var(--spec-2) 55%, var(--spec-3)); box-shadow: 0 0 14px rgba(138,124,255,0.7); }

.nav__links { display: flex; gap: 0.2rem; margin-left: auto; }
.nav__link {
  font-size: 0.855rem;
  color: var(--haze);
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  transition: color 0.25s, background 0.25s;
}
.nav__link:hover { color: var(--frost); background: var(--glass-fill-2); }
.nav__link[aria-current="page"] { color: var(--frost); background: var(--glass-fill-2); }

.nav__toggle { display: none; background: none; border: 0; color: var(--frost); cursor: pointer; padding: 0.5rem; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--body);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.72rem 1.35rem;
  border-radius: 999px;
  border: 1px solid var(--glass-line-2);
  background: var(--glass-fill-2);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: var(--frost);
  cursor: pointer;
  transition: transform 0.3s var(--ease), border-color 0.3s, background 0.3s;
  position: relative;
  overflow: hidden;
}
.btn:hover { transform: translateY(-2px); border-color: rgba(255,255,255,0.32); background: rgba(255,255,255,0.09); }
.btn:active { transform: translateY(0); }
.btn__arrow { transition: transform 0.3s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }

.btn--primary {
  background: linear-gradient(135deg, rgba(111,217,255,0.16), rgba(138,124,255,0.16));
  border-color: rgba(138,124,255,0.4);
}
.btn--primary:hover { background: linear-gradient(135deg, rgba(111,217,255,0.26), rgba(138,124,255,0.26)); border-color: rgba(138,124,255,0.65); }

.btn--ghost { background: transparent; border-color: var(--glass-line); }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* ---------- hero ---------- */
.hero { padding-top: clamp(7.5rem, 14vh, 9.5rem); padding-bottom: clamp(1rem, 2vw, 2rem); position: relative; }
.hero > .shell { position: relative; z-index: 1; }
.hero h1 { max-width: 15ch; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: center; }
.hero-grid .stack-stage { margin-top: 0; }
@media (max-width: 1080px) { .hero-grid { grid-template-columns: 1fr; } }
.hero .lede { margin-top: 1.6rem; }
.hero .btn-row { margin-top: 2.4rem; }

/* honest strip — the trust move, stated up front */
.honest {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.5rem 1.1rem 0.5rem 0.6rem;
  border-radius: 999px;
  border: 1px solid var(--glass-line);
  background: var(--glass-fill);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  font-size: 0.82rem;
  color: var(--haze);
  margin-bottom: 2rem;
  max-width: 100%;
  line-height: 1.45;
  transition: border-color 0.3s, color 0.3s;
}
a.honest:hover { border-color: var(--glass-line-2); color: var(--frost); }
.honest__tag {
  white-space: nowrap;
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(111,217,255,0.2), rgba(138,124,255,0.2));
  border: 1px solid rgba(138,124,255,0.35);
  color: var(--frost);
}

/* ==========================================================================
   SIGNATURE — the exploded stack
   Five glass planes floating in Z. Hover pulls one forward and throws the
   rest out of focus. Each plane is a link to that layer's page.
   ========================================================================== */
.stack-stage {
  perspective: 1500px;
  perspective-origin: 50% 44%;
  overflow: visible;
  height: clamp(400px, 42vw, 560px);
  position: relative;
  margin-top: 1rem;
}
.stack {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  transform: translate3d(11%, 9%, 0) rotateX(56deg) rotateZ(-38deg);
  transition: transform 0.9s var(--ease);
}
.plane {
  position: absolute;
  left: 50%; top: 50%;
  width: min(330px, 46vw);
  height: min(186px, 26vw);
  /* keep margins at exactly -half the clamped size on every viewport:
     with negative values min() picks the larger magnitude, which dragged
     the stack left on wide screens — max() is the correct pair here */
  margin-left: max(-165px, -23vw);
  margin-top: max(-93px, -13vw);
  border-radius: 20px;
  background: var(--plane-fill);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  border: 1px solid var(--plane-line);
  box-shadow: 0 1px 0 0 rgba(255,255,255,0.10) inset, 0 30px 70px -30px var(--plane-shadow);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0.95rem 1.15rem;
  transform-style: preserve-3d;
  transition: transform 0.65s var(--ease), filter 0.65s var(--ease),
              opacity 0.65s var(--ease), border-color 0.4s, background 0.4s;
  cursor: pointer;
}
.plane::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(120deg, var(--pl-a), transparent 42%, transparent 60%, var(--pl-b));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0.8;
  pointer-events: none;
}
.plane__id { font-family: var(--mono); font-size: 0.755rem; letter-spacing: 0.14em; color: var(--plane-ink-dim); }
.plane__name { font-family: var(--display); font-weight: 600; font-size: 1.12rem; letter-spacing: -0.03em; color: var(--frost); }
.plane__note { font-size: 0.775rem; color: var(--plane-ink); margin-top: 0.15rem; }

.plane[data-z="0"] { transform: translateZ(0px);   --pl-a: rgba(111,217,255,0.55); --pl-b: rgba(111,217,255,0.14); }
.plane[data-z="1"] { transform: translateZ(62px);  --pl-a: rgba(125,190,255,0.55); --pl-b: rgba(125,190,255,0.14); }
.plane[data-z="2"] { transform: translateZ(124px); --pl-a: rgba(138,124,255,0.55); --pl-b: rgba(138,124,255,0.14); }
.plane[data-z="3"] { transform: translateZ(186px); --pl-a: rgba(190,140,230,0.55); --pl-b: rgba(190,140,230,0.14); }
.plane[data-z="4"] { transform: translateZ(248px); --pl-a: rgba(255,156,200,0.55); --pl-b: rgba(255,156,200,0.14); }

/* depth of field: focused plane sharpens, siblings recede */
.stack.is-focused .plane { filter: blur(3px) var(--plane-dim); opacity: 0.5; }
.stack.is-focused .plane.is-active {
  filter: none;
  opacity: 1;
  background: var(--plane-fill-active);
  border-color: var(--plane-line-active);
}
.plane[data-z="0"].is-active { transform: translateZ(26px) scale(1.05); }
.plane[data-z="1"].is-active { transform: translateZ(88px) scale(1.05); }
.plane[data-z="2"].is-active { transform: translateZ(150px) scale(1.05); }
.plane[data-z="3"].is-active { transform: translateZ(212px) scale(1.05); }
.plane[data-z="4"].is-active { transform: translateZ(274px) scale(1.05); }

.stack-caption { text-align: center; margin-top: -0.5rem; opacity: 0.75; }

/* mobile / reduced-motion fallback: flatten to a legible list */
.stack-list { display: none; flex-direction: column; gap: 0.7rem; }
.stack-list__item {
  display: flex; align-items: center; gap: 1rem;
  padding: 1.05rem 1.2rem;
  border-radius: var(--r-md);
  background: var(--glass-fill);
  border: 1px solid var(--glass-line);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  transition: border-color 0.3s, background 0.3s, transform 0.3s var(--ease);
}
.stack-list__item:hover { border-color: var(--glass-line-2); background: var(--glass-fill-2); transform: translateX(4px); }
.stack-list__id { font-family: var(--mono); font-size: 0.78rem; color: var(--haze-dim); }

/* ---------- generic grids + cards ---------- */
.grid { display: grid; gap: 1rem; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card { padding: 1.7rem; }
.card h3 { margin-bottom: 0.7rem; }
.card h4 { margin-bottom: 0.5rem; }
.card p { font-size: 0.975rem; }
.card__id { font-family: var(--mono); font-size: 0.755rem; letter-spacing: 0.14em; color: var(--haze-dim); display: block; margin-bottom: 0.9rem; }

a.card { display: block; transition: transform 0.4s var(--ease), border-color 0.4s; }
a.card:hover { transform: translateY(-4px); border-color: var(--glass-line-2); }

/* two-column prose layout for interior pages */
.split { display: grid; grid-template-columns: 0.9fr 1.4fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.split--sticky > :first-child { position: sticky; top: 7rem; }

/* ---------- lists ---------- */
.ticks { list-style: none; display: flex; flex-direction: column; gap: 0.85rem; }
.ticks li { display: flex; gap: 0.85rem; color: var(--haze); font-size: 1rem; line-height: 1.58; }
.ticks li::before {
  content: '';
  flex: none;
  width: 6px; height: 6px;
  margin-top: 0.62rem;
  border-radius: 2px;
  background: linear-gradient(135deg, var(--spec-1), var(--spec-2));
}

.rows { border-top: 1px solid var(--glass-line); }
.row {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 1.5rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--glass-line);
}
.row__k { font-family: var(--mono); font-size: 0.775rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--haze-dim); padding-top: 0.2rem; }
.row__v p { font-size: 1rem; }
.row__v h4 { margin-bottom: 0.4rem; }

/* chips for tooling */
.chips { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: 1.1rem; }
.chip {
  font-family: var(--mono);
  font-size: 0.71rem;
  letter-spacing: 0.02em;
  padding: 0.35rem 0.7rem;
  border-radius: 7px;
  background: rgba(255,255,255,0.045);
  border: 1px solid var(--glass-line);
  color: var(--haze);
}

/* step sequence — order is real information here */
.steps { display: grid; gap: 1rem; grid-template-columns: repeat(4, 1fr); counter-reset: s; }
.step { padding: 1.5rem; position: relative; }
.step__n { font-family: var(--mono); font-size: 0.775rem; letter-spacing: 0.12em; color: var(--spec-1); margin-bottom: 0.9rem; display: block; }
.step h4 { margin-bottom: 0.5rem; }
.step p { font-size: 0.95rem; }

/* faq */
.faq { border-top: 1px solid var(--glass-line); }
.faq details { border-bottom: 1px solid var(--glass-line); }
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 1.35rem 2.5rem 1.35rem 0;
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.06rem;
  letter-spacing: -0.02em;
  color: var(--frost);
  position: relative;
  transition: color 0.25s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  position: absolute; right: 0.25rem; top: 50%;
  transform: translateY(-50%);
  font-family: var(--mono);
  font-size: 1.15rem;
  color: var(--haze-dim);
  transition: transform 0.3s var(--ease), color 0.3s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); color: var(--spec-1); }
.faq summary:hover { color: var(--spec-1); }
.faq__body { padding: 0 2.5rem 1.5rem 0; }
.faq__body p { font-size: 1rem; }
.faq__body p + p { margin-top: 0.8rem; }

/* callout */
.callout { padding: clamp(1.8rem, 4vw, 3rem); }
.callout h2 { margin-bottom: 1rem; }
.callout .lede { margin-bottom: 1.8rem; }

/* page header for interior pages */
.pagehead { padding-top: clamp(7.5rem, 14vh, 9.5rem); padding-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.pagehead h1 { max-width: 20ch; font-size: clamp(2.1rem, 4vw, 3.35rem); }
.pagehead .lede { margin-top: 1.5rem; }

/* breadcrumb */
.crumb { font-family: var(--mono); font-size: 0.775rem; letter-spacing: 0.1em; color: var(--haze); margin-bottom: 1.5rem; display: flex; gap: 0.6rem; flex-wrap: wrap; }
.crumb a { transition: color 0.25s; }
.crumb a:hover { color: var(--spec-1); }

/* prev/next layer nav */
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.pager a { padding: 1.4rem 1.6rem; display: block; transition: border-color 0.35s, transform 0.35s var(--ease); }
.pager a:hover { border-color: var(--glass-line-2); }
.pager__dir { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--haze-dim); display: block; margin-bottom: 0.5rem; }
.pager__name { font-family: var(--display); font-weight: 600; font-size: 1.1rem; letter-spacing: -0.025em; color: var(--frost); }
.pager a:last-child { text-align: right; }

/* form */
.form { display: flex; flex-direction: column; gap: 1.1rem; }
.field label { display: block; font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--haze-dim); margin-bottom: 0.55rem; }
.field input, .field textarea, .field select {
  width: 100%;
  font-family: var(--body);
  font-size: 0.95rem;
  color: var(--frost);
  background: rgba(255,255,255,0.035);
  border: 1px solid var(--glass-line);
  border-radius: var(--r-sm);
  padding: 0.8rem 1rem;
  transition: border-color 0.3s, background 0.3s;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: rgba(138,124,255,0.6);
  background: rgba(255,255,255,0.06);
}
.field input::placeholder, .field textarea::placeholder { color: var(--haze-dim); }
.field select option { background: var(--slate); color: var(--frost); }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--glass-line); margin-top: clamp(4rem, 8vw, 7rem); padding-block: 3.5rem 2.5rem; }
.footer__top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2.5rem; margin-bottom: 3rem; }
.footer h5 { font-family: var(--mono); font-size: 0.7rem; font-weight: 400; letter-spacing: 0.14em; text-transform: uppercase; color: var(--haze-dim); margin-bottom: 1.1rem; }
.footer__links { list-style: none; display: flex; flex-direction: column; gap: 0.65rem; }
.footer__links a { font-size: 0.945rem; color: var(--haze); transition: color 0.25s; }
.footer__links a:hover { color: var(--frost); }
.footer__bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-top: 1.8rem; border-top: 1px solid var(--glass-line); }
.footer__bottom p { font-size: 0.86rem; color: var(--haze-dim); }

/* ---------- reveal on scroll ---------- */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
[data-reveal].is-in { opacity: 1; transform: none; }

/* ==========================================================================
   Interaction layer — Google-style: motion is fast and purposeful, colour
   signals meaning, chrome stays hidden until it is asked for.
   ========================================================================== */

/* ---------- scroll progress ---------- */
.progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 200;
  background: linear-gradient(90deg, var(--spec-1), var(--spec-2), var(--spec-3));
  transform: scaleX(0); transform-origin: 0 50%;
  will-change: transform;
}

/* ---------- ⌘K trigger in the nav ---------- */
.cmd-trigger {
  display: flex; align-items: center; gap: 0.55rem;
  padding: 0.42rem 0.7rem 0.42rem 0.8rem;
  font-family: var(--mono); font-size: 0.72rem; color: var(--haze-dim);
  background: var(--glass-fill); border: 1px solid var(--glass-line);
  border-radius: 999px; cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.cmd-trigger:hover { color: var(--frost); border-color: var(--glass-line-2); background: var(--glass-fill-2); }
.cmd-trigger kbd {
  font-family: var(--mono); font-size: 0.68rem; padding: 0.1rem 0.34rem;
  border: 1px solid var(--glass-line); border-radius: 5px; color: var(--haze);
  background: rgba(255,255,255,0.04);
}
.nav__actions { display: flex; align-items: center; gap: 0.5rem; margin-left: auto; }

/* ---------- command palette ---------- */
.cmdk {
  position: fixed; inset: 0; z-index: 300;
  display: flex; align-items: flex-start; justify-content: center;
  padding-top: clamp(3rem, 14vh, 9rem);
  background: var(--scrim);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  opacity: 0; visibility: hidden;
  /* visibility is a discrete property: animating it flips halfway through,
     which leaves the input unfocusable on open. Delay it to the end when
     closing, apply it instantly when opening. */
  transition: opacity 0.18s ease, visibility 0s linear 0.18s;
}
.cmdk.is-open {
  opacity: 1; visibility: visible;
  transition: opacity 0.18s ease, visibility 0s linear 0s;
}
.cmdk__panel {
  width: min(620px, calc(100vw - 2.5rem));
  background: rgba(14, 16, 22, 0.96);
  border: 1px solid var(--glass-line-2); border-radius: var(--r-md);
  box-shadow: 0 40px 90px -30px rgba(0,0,0,0.95);
  overflow: hidden;
  transform: translateY(-10px) scale(0.985);
  transition: transform 0.22s var(--ease);
}
.cmdk.is-open .cmdk__panel { transform: none; }
.cmdk__field { display: flex; align-items: center; gap: 0.8rem; padding: 0.95rem 1.15rem;
  border-bottom: 1px solid var(--glass-line); }
.cmdk__field svg { flex-shrink: 0; color: var(--haze-dim); }
.cmdk__input {
  flex: 1; background: none; border: 0; outline: none;
  font-family: var(--body); font-size: 0.98rem; color: var(--frost);
}
.cmdk__input::placeholder { color: var(--haze-dim); }
.cmdk__list { max-height: min(52vh, 420px); overflow-y: auto; padding: 0.5rem; }
.cmdk__group { font-family: var(--mono); font-size: 0.63rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--haze-dim); padding: 0.7rem 0.75rem 0.4rem; }
.cmdk__item {
  display: flex; align-items: center; gap: 0.85rem; width: 100%;
  padding: 0.62rem 0.75rem; border-radius: var(--r-sm);
  text-align: left; cursor: pointer; border: 0; background: none;
  color: var(--haze); font-family: var(--body); font-size: 0.9rem;
}
.cmdk__item[aria-selected="true"] { background: var(--glass-fill-2); color: var(--frost); }
.cmdk__item[aria-selected="true"] .cmdk__go { opacity: 1; }
.cmdk__id { font-family: var(--mono); font-size: 0.68rem; color: var(--spec-1);
  min-width: 1.6rem; flex-shrink: 0; }
.cmdk__sub { color: var(--haze-dim); font-size: 0.8rem; margin-left: 0.2rem; }
.cmdk__go { margin-left: auto; font-family: var(--mono); font-size: 0.72rem;
  color: var(--haze-dim); opacity: 0; transition: opacity 0.2s; }
.cmdk__empty { padding: 1.6rem 0.9rem; color: var(--haze-dim); font-size: 0.88rem; }
.cmdk__foot { display: flex; gap: 1.1rem; padding: 0.65rem 1.15rem;
  border-top: 1px solid var(--glass-line); font-family: var(--mono);
  font-size: 0.66rem; color: var(--haze-dim); }
.cmdk__foot kbd { border: 1px solid var(--glass-line); border-radius: 4px;
  padding: 0.05rem 0.3rem; margin-right: 0.3rem; }

/* ---------- on this page (scrollspy rail) ---------- */
.toc { position: sticky; top: 6.5rem; align-self: start; }
.toc__title { font-family: var(--mono); font-size: 0.63rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--haze-dim); margin-bottom: 0.9rem; }
.toc__list { list-style: none; display: flex; flex-direction: column;
  border-left: 1px solid var(--glass-line); }
.toc__link {
  display: block; padding: 0.46rem 0 0.46rem 0.95rem; margin-left: -1px;
  border-left: 1px solid transparent;
  font-size: 0.91rem; color: var(--haze-dim);
  transition: color 0.2s, border-color 0.2s;
}
.toc__link:hover { color: var(--frost); }
.toc__link.is-active { color: var(--spec-1); border-left-color: var(--spec-1); }
@media (max-width: 1080px) { .toc { display: none; } }

.svc-layout { display: grid; grid-template-columns: 180px 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); }
@media (max-width: 1080px) { .svc-layout { grid-template-columns: 1fr; } }

/* ---------- animated accordion ---------- */
.faq details > .faq__body { overflow: hidden; }
.faq details.is-animating > .faq__body { will-change: height; }

/* ---------- back to top ---------- */
.totop {
  position: fixed; right: clamp(1rem, 3vw, 2rem); bottom: clamp(1rem, 3vw, 2rem);
  z-index: 90; width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer;
  background: rgba(14,16,22,0.8); border: 1px solid var(--glass-line);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  color: var(--haze); opacity: 0; pointer-events: none; transform: translateY(8px);
  transition: opacity 0.28s var(--ease), transform 0.28s var(--ease),
              color 0.2s, border-color 0.2s;
}
.totop.is-in { opacity: 1; pointer-events: auto; transform: none; }
.totop:hover { color: var(--frost); border-color: var(--glass-line-2); }

/* ---------- tactile press feedback ---------- */
.btn { position: relative; overflow: hidden; }
.btn:active { transform: translateY(1px); }
.btn__ripple {
  position: absolute; border-radius: 50%; pointer-events: none;
  background: rgba(255,255,255,0.18); transform: translate(-50%, -50%) scale(0);
  animation: ripple 0.55s var(--ease) forwards;
}
@keyframes ripple { to { transform: translate(-50%, -50%) scale(1); opacity: 0; } }

/* ---------- immersive floor grid (site-wide backdrop) ---------- */
.ambient::before {
  content: '';
  position: absolute;
  left: -25%; right: -25%; bottom: -14%; height: 60%;
  background-image:
    linear-gradient(var(--grid-line-a) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line-b) 1px, transparent 1px);
  background-size: 54px 54px;
  transform: perspective(720px) rotateX(72deg);
  transform-origin: center bottom;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 55%);
          mask-image: linear-gradient(180deg, transparent 0%, #000 55%);
}

/* ---------- prism grid: 3D plane that lights up under the cursor ---------- */
.prism {
  position: absolute; inset: 0; overflow: hidden; z-index: 0;
  perspective: 1000px; perspective-origin: center center; pointer-events: none;
  -webkit-mask-image: radial-gradient(120% 100% at 30% 40%, #000 30%, transparent 78%);
          mask-image: radial-gradient(120% 100% at 30% 40%, #000 30%, transparent 78%);
}
.prism__plane {
  position: absolute; left: 50%; top: 50%;
  width: 2100px; height: 1400px;
  transform: translate(-50%, -50%) rotateY(56deg);
  background-image:
    linear-gradient(var(--plane-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--plane-grid) 1px, transparent 1px);
  background-size: 64px 64px;
}
.prism__cell {
  position: absolute; width: 64px; height: 64px;
  opacity: 0.55; transition: opacity 1.1s var(--ease);
  will-change: opacity;
}
.prism__cell.is-out { opacity: 0; }

/* ---------- reactive dot field ---------- */
[data-dots] { position: relative; }
.dots-canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  display: block; pointer-events: none; z-index: 0;
}
[data-dots] > :not(.dots-canvas) { position: relative; z-index: 1; }

/* ---------- cursor spotlight on glass ---------- */
.glass::after {
  content: '';
  position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  opacity: 0; transition: opacity 0.45s var(--ease);
  background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%),
    rgba(111,217,255,0.09), transparent 65%);
}
.glass:hover::after { opacity: 1; }

/* ---------- tool band ---------- */
.toolband { padding-block: clamp(1.4rem, 3vw, 2.6rem); }
.toolband__head { display: flex; align-items: baseline; gap: 1.2rem;
  flex-wrap: wrap; margin-bottom: 1.3rem; }
.toolband__head .eyebrow { flex: 0 0 auto; }
.toolband__head .eyebrow::after { width: 3rem; flex: 0 0 3rem; }
.toolband .marquee + .marquee { border-top: 0; padding-top: 0.75rem; }
.toolband .marquee:first-of-type { padding-bottom: 0.75rem; }

/* ---------- tool marquee ---------- */
.marquee {
  overflow: hidden; padding: 1.5rem 0;
  border-top: 1px solid var(--glass-line); border-bottom: 1px solid var(--glass-line);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee--reverse .marquee__track { animation-direction: reverse; animation-duration: 52s; }
.marquee__track { display: flex; width: max-content; animation: marquee 46s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; align-items: center; gap: 0.7rem; padding-right: 0.7rem; }

/* a tool chip: monogram tile + name, sized to read at a glance */
.tool {
  display: flex; align-items: center; gap: 0.7rem; white-space: nowrap;
  padding: 0.55rem 1.05rem 0.55rem 0.55rem;
  border: 1px solid var(--glass-line); border-radius: 999px;
  background: var(--glass-fill);
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease), background 0.3s;
}
.marquee:hover .tool { opacity: 0.55; }
.marquee .tool:hover { opacity: 1; border-color: var(--glass-line-2);
  background: var(--glass-fill-2); transform: translateY(-2px); }
.tool__mark {
  width: 30px; height: 30px; flex-shrink: 0; border-radius: 9px;
  display: grid; place-items: center;
  font-family: var(--display); font-weight: 700; font-size: 0.82rem;
  letter-spacing: -0.02em; color: #fff;
  background: var(--tool-c, var(--spec-2));
  box-shadow: 0 2px 8px -2px var(--tool-c, var(--spec-2));
}
.tool__name { font-family: var(--body); font-size: 0.95rem; font-weight: 500;
  color: var(--frost); letter-spacing: -0.01em; }
.tool__kind { font-family: var(--mono); font-size: 0.72rem; color: var(--haze-dim);
  padding-left: 0.15rem; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (max-width: 700px) {
  .toolband__head { gap: 0.5rem; margin-bottom: 0.9rem; }
  .toolband__head .mono { font-size: 0.78rem; line-height: 1.5; }
  .tool { padding: 0.45rem 0.85rem 0.45rem 0.45rem; gap: 0.55rem; }
  .tool__mark { width: 26px; height: 26px; font-size: 0.72rem; }
  .tool__name { font-size: 0.88rem; }
  .tool__kind { display: none; }
}

/* ---------- engagement: terminal + steps ---------- */
.engage { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 3.5vw, 3rem); align-items: center; }

/* ---------- terminal ---------- */
.term {
  background: rgba(8,9,12,0.75); border: 1px solid var(--glass-line);
  border-radius: var(--r-md); overflow: hidden;
  box-shadow: 0 24px 60px -28px rgba(0,0,0,0.85);
}
.term__bar { display: flex; align-items: center; gap: 7px; padding: 0.75rem 1.1rem;
  border-bottom: 1px solid var(--glass-line); }
.term__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--glass-line-2); }
.term__dot:nth-child(1) { background: rgba(255,95,87,0.75); }
.term__dot:nth-child(2) { background: rgba(254,188,46,0.75); }
.term__dot:nth-child(3) { background: rgba(40,200,64,0.75); }
.term__title { margin-left: auto; font-family: var(--mono); font-size: 0.68rem;
  letter-spacing: 0.1em; color: var(--haze-dim); }
.term__body { padding: 1.3rem 1.4rem 1.5rem; display: flex; flex-direction: column;
  gap: 0.6rem; font-family: var(--mono); font-size: 0.8rem; line-height: 1.55; }
.term__line { color: var(--haze); white-space: pre-wrap; }
.term__line--cmd { color: var(--frost); }
.term__line--cmd .term__ps { color: var(--spec-1); }
.term__line--ok { color: var(--spec-1); }
.term__caret { display: inline-block; width: 0.55em; height: 1.05em; margin-left: 2px;
  background: var(--spec-1); vertical-align: text-bottom; animation: caret-blink 1.05s steps(1) infinite; }
@keyframes caret-blink { 50% { opacity: 0; } }

/* ---------- comparison: the pitch vs the contract ---------- */
.vs { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; align-items: stretch; }
.vs__col { padding: clamp(1.5rem, 3vw, 2.1rem); }
.vs__col h3 { font-size: 1.05rem; margin-bottom: 1.2rem; display: flex; align-items: center; gap: 0.6rem; }
.vs__col--them { opacity: 0.85; }
.vs__col--them h3 { color: var(--haze); }
.vs__col--us { border-color: rgba(111,217,255,0.28); }
.vs__col--us::before { opacity: 0.9; }
.vs__col ul { list-style: none; display: flex; flex-direction: column; gap: 0.85rem; }
.vs__col li { display: flex; gap: 0.7rem; font-size: 0.96rem; line-height: 1.55; }
.vs__mark { font-family: var(--mono); flex-shrink: 0; width: 1.1rem; text-align: center; }
.vs__col--them .vs__mark { color: var(--haze-dim); }
.vs__col--them li { color: var(--haze-dim); text-decoration: line-through;
  text-decoration-color: rgba(152,162,179,0.35); text-decoration-thickness: 1px; }
.vs__col--us .vs__mark { color: var(--spec-1); }
.vs__col--us li { color: var(--haze); }
.vs__col--us li strong { color: var(--frost); font-weight: 500; }

/* ---------- pricing packages ---------- */
.pkgs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; align-items: stretch; }
.pkg--entry { border-color: rgba(232,236,243,0.2); }
.pkg--entry .pkg__price { background: none; -webkit-text-fill-color: var(--frost); color: var(--frost); }
.pkg { padding: clamp(1.3rem, 2.4vw, 1.8rem); display: flex; flex-direction: column; height: 100%; }
.pkg--hero { border-color: rgba(111,217,255,0.32); }
.pkg--hero::before { opacity: 0.95; }
.pkg__flag { position: absolute; top: 0; right: 0; font-family: var(--mono); font-size: 0.6rem;
  letter-spacing: 0.13em; text-transform: uppercase; color: var(--void);
  background: linear-gradient(120deg, var(--spec-1), var(--spec-2));
  padding: 0.28rem 0.8rem; border-bottom-left-radius: var(--r-sm); }
.pkg__name { font-family: var(--display); font-weight: 600; font-size: 1.22rem;
  letter-spacing: -0.03em; color: var(--frost); }
.pkg__price { font-family: var(--display); font-weight: 700; letter-spacing: -0.04em;
  font-size: clamp(1.8rem, 2.9vw, 2.3rem); line-height: 1.05; margin: 0.7rem 0 0.15rem;
  background: linear-gradient(120deg, var(--frost) 35%, var(--spec-1) 95%);
  -webkit-background-clip: text; background-clip: text; color: transparent; }
.pkg__meta { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--haze-dim); }
.pkg__promise { margin: 1.1rem 0 1.3rem; font-size: 0.98rem; line-height: 1.55; }
.pkg__list { list-style: none; display: flex; flex-direction: column; gap: 0.6rem;
  margin-bottom: 1.4rem; }
.pkg__list li { display: flex; gap: 0.6rem; font-size: 0.925rem; line-height: 1.5; color: var(--haze); }
.pkg__list li::before { content: '✓'; color: var(--spec-1); font-size: 0.8rem; flex-shrink: 0; }
.pkg__rev { margin-top: auto; padding: 0.75rem 0.9rem; border-radius: var(--r-sm);
  background: rgba(111,217,255,0.07); border: 1px solid rgba(111,217,255,0.18);
  font-size: 0.885rem; line-height: 1.5; color: var(--frost); }
.pkg .btn { margin-top: 1.1rem; justify-content: center; }
@media (max-width: 1180px) { .pkgs { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .pkgs { grid-template-columns: 1fr; } }

/* ---------- founder ---------- */
.founder { display: grid; grid-template-columns: auto 1fr; gap: clamp(1.2rem, 3vw, 2.2rem);
  align-items: start; padding: clamp(1.6rem, 3.5vw, 2.6rem); }
.founder__face { width: 92px; height: 92px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--display); font-weight: 700; font-size: 1.9rem; letter-spacing: -0.03em;
  color: var(--frost); background: linear-gradient(135deg, rgba(111,217,255,0.3), rgba(138,124,255,0.3));
  border: 1px solid var(--glass-line-2); flex-shrink: 0; }
.founder__name { font-family: var(--display); font-weight: 600; font-size: 1.3rem; letter-spacing: -0.03em; }
.founder__role { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--spec-1); margin-top: 0.3rem; }
.founder__bio { margin-top: 1rem; font-size: 1.02rem; }
.founder__creds { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.1rem; }
.founder__creds li { font-family: var(--mono); font-size: 0.72rem; color: var(--haze);
  border: 1px solid var(--glass-line); border-radius: 999px; padding: 0.3rem 0.75rem; }
@media (max-width: 700px) { .founder { grid-template-columns: 1fr; } }

/* ---------- capability band (secondary practices) ---------- */
.caps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.9rem; }
.cap { display: block; padding: 1.15rem 1.25rem; border-radius: var(--r-md);
  border: 1px solid var(--glass-line); background: var(--glass-fill);
  transition: border-color 0.3s, transform 0.3s var(--ease); }
.cap:hover { border-color: var(--glass-line-2); transform: translateY(-3px); }
.cap h4 { font-size: 1.02rem; margin-bottom: 0.3rem; }
.cap p { font-size: 0.88rem; line-height: 1.5; }
@media (max-width: 900px) { .caps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .caps { grid-template-columns: 1fr; } }

/* ---------- honest numbers ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.stat { padding: 1.6rem 1.5rem; text-align: left; }
.stat__n { font-family: var(--display); font-weight: 700; letter-spacing: -0.04em;
  font-size: clamp(2.3rem, 5vw, 3.6rem); line-height: 1;
  background: linear-gradient(120deg, var(--frost) 30%, var(--spec-1) 90%);
  -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat__l { font-family: var(--mono); font-size: 0.775rem; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--haze-dim); margin-top: 0.7rem; display: block; }

/* ---------- pull quote ---------- */
.pull { padding-left: clamp(1.3rem, 3.5vw, 2.2rem); border-left: 3px solid transparent;
  border-image: linear-gradient(180deg, var(--spec-1), var(--spec-2)) 1; max-width: 30ch; }
.pull p { font-family: var(--display); font-weight: 600; letter-spacing: -0.03em;
  font-size: clamp(1.45rem, 3vw, 2.3rem); line-height: 1.2; color: var(--frost); }
.pull .mono { margin-top: 1.1rem; }

/* ---------- giant wordmark ---------- */
.wordmark-band { padding: clamp(2.5rem, 7vw, 5rem) 0 0; overflow: hidden; }
.wordmark { font-family: var(--display); font-weight: 700; line-height: 0.95;
  font-size: clamp(3.4rem, 13.5vw, 12.5rem); letter-spacing: 0.015em;
  text-align: center; color: var(--wordmark); user-select: none; cursor: default; }

/* ---------- scramble headlines ---------- */
.sc-word { display: inline-block; white-space: nowrap; }
.sc-ch.is-pending { visibility: hidden; }
.sc-ch.is-glitch { color: var(--spec-1); }

/* ---------- touch devices ----------
   Everything that was hover-only gets a tap equivalent, so a phone gets the
   same site rather than a flattened one. */
@media (pointer: coarse) {
  .plane { cursor: pointer; }
  .stack-caption::after { content: ' — tap one'; }
  /* the wordmark dot-field and prism react to drags, so invite one */
  .wordmark-band { touch-action: pan-y; }
  .hero .prism { touch-action: pan-y; }
}

/* on small screens the ⌘K chip loses its label but keeps the tap target */
@media (max-width: 720px) {
  .cmd-trigger { padding: 0.42rem 0.6rem; }
  .cmd-trigger kbd { display: none; }
  .cmd-trigger svg { width: 15px; height: 15px; }
}

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  :root { --shell: calc(100vw - 2.2rem); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .vs { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .engage { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 2rem; }
  .split--sticky > :first-child { position: static; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 2rem; }

  .nav__links {
    position: absolute;
    top: calc(100% + 0.6rem);
    left: 0; right: 0;
    flex-direction: column;
    gap: 0.15rem;
    padding: 0.7rem;
    border-radius: var(--r-md);
    background: rgba(10, 12, 17, 0.94);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    z-index: 2;
    border: 1px solid var(--glass-line);
    display: none;
  }
  .nav__links.is-open { display: flex; }
  .nav__link { padding: 0.7rem 1rem; }
  .nav__toggle { display: block; }
  .nav__inner { position: relative; }
}

@media (max-width: 700px) {
  .grid--2, .grid--4, .steps { grid-template-columns: 1fr; }
  .stack-stage, .stack-caption { display: none; }
  .stack-list { display: flex; }
  .row { grid-template-columns: 1fr; gap: 0.5rem; }
  .pager { grid-template-columns: 1fr; }
  .pager a:last-child { text-align: left; }
  .footer__top { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee__track { animation: none; }
  .term__caret { animation: none; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .stack-stage, .stack-caption { display: none; }
  .stack-list { display: flex; }
}
