/* =========================================================================
   Kuumba — marketing site
   Visual system: Porcelain (see BRIEF.md §3). Sections are self-contained
   blocks below, in page order, so each can be adjusted independently.
   ========================================================================= */

/* ---------- 0. Tokens ---------- */
:root {
  /* Porcelain light */
  --ground: #FBFBFA;
  --rail: #F4F4F2;
  --surface: #FFFFFF;
  --sunken: #F3F3F1;
  --line: #EAEAE7;
  --ink: #1C1A18;
  --ink-hover: #2E2B28;
  --muted: #6A6A67;
  --faint: #9A9A97;            /* decoration only */
  --accent: #6B4EFF;
  --accent-soft: #EEEAFF;
  --success: #2F7D55;
  --warning: #B7791F;

  /* N+ dark (footer) */
  --n-ground: #1A1918;
  --n-card: #262524;
  --n-rail: #21201F;
  --n-sunken: #2C2B29;
  --n-text: #D8D5CF;
  --n-muted: #9E9A93;

  /* Dusk, from the photography's sky */
  --peach: #F2C6A6;
  --lilac: #C9B8E8;
  --dusk: linear-gradient(115deg, #F2C6A6 0%, #E9C3C0 26%, #C9B8E8 55%, #9C84F4 80%, #6B4EFF 100%);

  /* Radii */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-pill: 999px;

  /* Layout */
  --gutter: clamp(20px, 5.56vw, 80px);
  --max: 1280px;
  --section: clamp(72px, 10.5vw, 152px);

  /* Type */
  --font: "Onest", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --track-display: -0.035em;
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  --shadow-float: 0 1px 2px rgba(28, 26, 24, .04), 0 12px 32px -8px rgba(28, 26, 24, .14), 0 40px 80px -24px rgba(28, 26, 24, .18);
  --shadow-card: 0 1px 2px rgba(28, 26, 24, .04), 0 8px 24px -12px rgba(28, 26, 24, .12);
}

/* ---------- 1. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
html:not(.lenis) { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-synthesis: none;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--accent-soft); color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
  border-radius: 6px;
}
.on-dark :focus-visible, .hero :focus-visible, .secure :focus-visible {
  outline-color: #fff;
}

.container { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--r-pill); font-size: 14px; transition: top .2s; }
.skip:focus { top: 16px; }

.ic { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

.grain {
  position: absolute; inset: 0; pointer-events: none; opacity: .16; mix-blend-mode: overlay;
  background: url("../assets/img/grain.png") 0 0 / 128px 128px repeat;
}

/* ---------- 2. Type ---------- */
.display {
  font-size: clamp(46px, 5vw, 72px);
  line-height: 1.06;
  font-weight: 300;
  letter-spacing: var(--track-display);
  text-wrap: balance;
}
.h2 {
  font-size: clamp(36px, 3.9vw, 56px);
  line-height: 1.11;
  font-weight: 300;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.h2--light { color: #fff; }
.h3 {
  font-size: 24px;
  line-height: 1.25;
  font-weight: 400;
  letter-spacing: -0.015em;
}
.h3--card { font-size: clamp(22px, 1.7vw, 25px); line-height: 1.24; letter-spacing: -0.02em; text-wrap: balance; }
.lede { font-size: clamp(16px, 1.25vw, 18px); line-height: 1.56; color: var(--muted); max-width: 52ch; text-wrap: pretty; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; line-height: 16px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
  margin-bottom: 20px;
}
@media (max-width: 600px) { .eyebrow { font-size: 12px; } }
.eyebrow--light { color: rgba(255, 255, 255, .9); }
.eyebrow__tile { width: 18px; height: 18px; margin-left: -2px; }

/* Line-mask reveal (JS splits [data-lines] into .ln > .ln__i) */
.ln { display: block; overflow: clip; overflow-clip-margin: .14em; padding-bottom: .04em; margin-bottom: -.04em; }
.ln__i { display: block; will-change: transform; }

/* ---------- 3. Buttons, tags, chips ---------- */
.btn {
  --h: 48px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: var(--h); padding-inline: 22px; border-radius: var(--r-pill);
  font-size: 15px; font-weight: 500; line-height: 1; white-space: nowrap;
  transition: background-color .25s var(--ease-out), color .25s, border-color .25s, transform .35s var(--ease-out), box-shadow .35s var(--ease-out);
}
.btn .ic { width: 18px; height: 18px; transition: transform .35s var(--ease-out); }
.btn:hover .ic { transform: translateX(3px); }
.btn--sm { --h: 40px; padding-inline: 18px; font-size: 14px; }
.btn--xs { --h: 32px; padding-inline: 14px; font-size: 13px; }
.btn--lg { --h: 56px; padding-inline: 28px; font-size: 16px; }
.btn--hero { --h: 52px; padding-inline: 26px; font-size: 16px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 16px; font-weight: 500; }
.link-arrow .ic { width: 18px; height: 18px; transition: transform .35s var(--ease-out); }
.link-arrow:hover .ic { transform: translateX(4px); }
.link-arrow--light { color: #fff; }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: var(--ink-hover); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: #F1EFEC; }
.btn--line { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn--text { color: var(--ink); padding-inline: 10px; }
.btn--glass { color: #fff; background: rgba(255, 255, 255, .14); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.btn--glass:hover { background: rgba(255, 255, 255, .24); }
.btn--glass-ink { color: var(--ink); background: rgba(255, 255, 255, .38); box-shadow: inset 0 0 0 1px rgba(28, 26, 24, .14); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.btn--glass-ink:hover { background: rgba(255, 255, 255, .6); }

.tag {
  display: inline-flex; align-items: center; gap: 6px; height: 24px; padding-inline: 10px;
  border-radius: var(--r-pill); font-size: 12px; font-weight: 500; line-height: 1; white-space: nowrap;
  color: var(--muted); background: var(--sunken);
}
.tag--needs { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); font-weight: 600; }
.tag--needs .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--ink); }
.tag--soon { background: var(--accent-soft); color: #4B33D6; }

.chip {
  display: inline-flex; align-items: center; gap: 6px; height: 28px; padding-inline: 10px;
  border-radius: var(--r-pill); background: #fff; box-shadow: inset 0 0 0 1px var(--line);
  font-size: 12.5px; font-weight: 500; color: var(--ink); white-space: nowrap;
}
.chip .ic { width: 15px; height: 15px; color: var(--muted); }

.lg { display: inline-block; width: 7px; height: 7px; border-radius: 50%; flex: none; }
.lg--live { background: var(--success); box-shadow: 0 0 0 3px rgba(47, 125, 85, .14); }
.lg--next { background: transparent; box-shadow: inset 0 0 0 1.5px var(--faint); }
.legend { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 13px; color: var(--muted); }
.legend span { display: inline-flex; align-items: center; gap: 8px; }
.legend b { font-weight: 500; color: var(--ink); }

.round {
  display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  background: #fff; box-shadow: inset 0 0 0 1px var(--line);
  transition: background-color .25s, transform .35s var(--ease-out), opacity .25s;
}
.round:hover { background: var(--sunken); }
.round .ic { transition: transform .4s var(--ease-out); }
[data-next]:hover .ic { transform: translateX(3px); }
[data-prev]:hover .ic { transform: translateX(-3px); }
.carousel__controls .round { width: 44px; height: 44px; }
.round:active { transform: scale(.94); }
.round[disabled] { opacity: .4; cursor: default; }
.round--sm { width: 32px; height: 32px; }
.round--sm .ic { width: 16px; height: 16px; }

.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills li { font-size: 13px; font-weight: 500; padding: 7px 12px; border-radius: var(--r-pill); background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.pills--sm li { font-size: 12.5px; padding: 5px 11px; }
.pills .pill--soon { background: var(--accent-soft); color: #4B33D6; box-shadow: none; }

/* ---------- 4. Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  transition: background-color .4s var(--ease-out), box-shadow .4s var(--ease-out), backdrop-filter .4s;
}
.nav__inner { display: flex; align-items: center; gap: 32px; height: 72px; }
.nav.is-glass {
  background: rgba(251, 251, 250, .72);
  backdrop-filter: saturate(1.6) blur(18px); -webkit-backdrop-filter: saturate(1.6) blur(18px);
  box-shadow: 0 1px 0 rgba(28, 26, 24, .06);
}
.nav.is-hidden { transform: translateY(-100%); }
.nav { transition: transform .5s var(--ease-out), background-color .4s, box-shadow .4s; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand__tile { width: 30px; height: 30px; }
.brand__word { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; }
.nav__links { display: flex; gap: 4px; margin-left: auto; }
.nav__links a { font-size: 15px; font-weight: 500; padding: 8px 14px; border-radius: var(--r-pill); color: var(--ink); transition: background-color .2s; }
.nav__links a:hover { background: rgba(28, 26, 24, .06); }
@media (max-width: 1120px) { .nav__links { gap: 0; } .nav__links a { padding-inline: 10px; font-size: 14px; } } /* six links still fit above the tablet sheet */
.nav:not(.is-glass) { color: #fff; }
.nav:not(.is-glass) .nav__links a { color: #fff; }
.nav:not(.is-glass) .nav__links a:hover { background: rgba(255, 255, 255, .14); }
.nav:not(.is-glass) .nav__toggle { background: rgba(255, 255, 255, .16); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35); color: #fff; }
.nav .brand__word { transition: color .3s; }
.nav__toggle { display: none; width: 44px; height: 44px; border-radius: 50%; place-items: center; margin-left: auto; background: rgba(255, 255, 255, .6); box-shadow: inset 0 0 0 1px rgba(28, 26, 24, .08); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }

.sheet {
  position: fixed; inset: 0; z-index: 60; background: var(--ground);
  display: flex; flex-direction: column;
}
.sheet[hidden] { display: none; }
.sheet__head { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.sheet__head .nav__toggle { display: grid; margin: 0; }
.sheet__links { display: flex; flex-direction: column; padding-top: 24px; }
.sheet__links a { font-size: 34px; font-weight: 300; letter-spacing: -0.03em; padding: 10px 0; border-bottom: 1px solid var(--line); }
.sheet__foot { margin-top: auto; padding-bottom: max(32px, env(safe-area-inset-bottom)); display: grid; gap: 16px; }
.sheet__note { font-size: 14px; color: var(--muted); text-align: center; }

@media (max-width: 960px) {
  .nav__links { display: none; }
  .nav__toggle { display: grid; }
  .nav__inner { height: 64px; }
}

/* ---------- 5. Hero ---------- */
.hero {
  position: relative; isolation: isolate; color: #fff;
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding-top: 120px; padding-bottom: clamp(48px, 8vh, 96px);
  overflow: clip;
}
.hero__media { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: #CDB9B2; }
.hero__img { position: absolute; inset: -4% -8%; width: 116%; height: 108%; max-width: none; object-fit: cover; object-position: 50% 60%; transform-origin: 50% 60%; will-change: transform; }
.hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(28, 26, 24, .42) 0%, rgba(28, 26, 24, .18) 45%, rgba(28, 26, 24, 0) 65%),
    linear-gradient(180deg, rgba(28, 26, 24, .30) 0%, rgba(28, 26, 24, 0) 20%, rgba(28, 26, 24, 0) 45%, rgba(28, 26, 24, .55) 100%);
}
.hero__inner { display: grid; grid-template-columns: minmax(0, 1fr); align-items: end; }
.hero__copy { max-width: 900px; }
.hero__copy .display { text-shadow: 0 1px 40px rgba(24, 20, 18, .18); }
.hero__sub { margin-top: 24px; max-width: 44ch; font-size: clamp(16px, 1.3vw, 18px); line-height: 1.56; color: rgba(255, 255, 255, .9); text-wrap: pretty; }
.hero__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 40px; }

/* Approval card parts (used by the Kuumba Work product mock) */
.approval__icon { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--sunken); }
.approval__icon .ic { width: 16px; height: 16px; }
.approval__title { font-size: 14px; font-weight: 600; letter-spacing: -0.005em; line-height: 1.3; }
.approval__meta { font-size: 12px; color: var(--muted); margin-top: 2px; }

@media (max-width: 960px) {
  .hero { min-height: 88vh; min-height: 88svh; padding-top: 128px; }
  .hero__scrim { background: linear-gradient(180deg, rgba(28, 26, 24, .34) 0%, rgba(28, 26, 24, .2) 18%, rgba(28, 26, 24, .42) 40%, rgba(28, 26, 24, .5) 70%, rgba(28, 26, 24, .66) 100%); }
  .hero__ctas { margin-top: 28px; }
  .hero__img { object-position: 62% 60%; }
}

/* ---------- 6. Industries strip ---------- */
.industries { border-bottom: 1px solid var(--line); }
.industries__inner { display: flex; align-items: center; gap: clamp(24px, 3vw, 48px); padding-block: 30px; }
.industries__label { flex: none; margin: 0; }
.industries__list { display: flex; flex-wrap: nowrap; align-items: center; justify-content: space-between; flex: 1; min-width: 0; }
.industries__list li { display: flex; align-items: center; white-space: nowrap; font-size: clamp(15px, 1.2vw, 17px); font-weight: 400; letter-spacing: -0.01em; }
.industries__list li + li::before { content: ""; width: 3px; height: 3px; border-radius: 50%; background: var(--faint); margin-inline: clamp(8px, 1.4vw, 36px); }
.industries__list a { color: var(--ink); transition: color .2s; }
.industries__list a:hover { color: var(--muted); }
/* Six industries fit on one line from 1181px; below that the strip scrolls. */
@media (max-width: 1180px) {
  .industries__inner { gap: 24px; padding-block: 22px; }
  .industries__list {
    justify-content: flex-start; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch;
    -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent);
  }
  .industries__list::-webkit-scrollbar { display: none; }
  .industries__list li { font-size: 16px; }
  .industries__list li:last-child { padding-right: 32px; }
}

/* ---------- 7. Sections ---------- */
.section { padding-block: var(--section); }
.section-head { max-width: 980px; margin-bottom: clamp(48px, 6vw, 88px); }
.section-head .lede { margin-top: 24px; }
.section-head--split { max-width: none; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 32px 64px; align-items: end; }
.section-head--split .lede { margin-top: 0; }
@media (max-width: 900px) { .section-head--split { grid-template-columns: 1fr; } }

/* ---------- 8. What we're building (See / Decide / Act) ---------- */
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.trio__card { display: flex; flex-direction: column; gap: 12px; }
.trio__card p { color: var(--muted); max-width: 42ch; }
.trio__card .pills { margin-top: 6px; }
.trio__media { position: relative; height: clamp(320px, 30.5vw, 440px); border-radius: var(--r-lg); overflow: hidden; isolation: isolate; background: var(--sunken); margin-bottom: 20px; }
.trio__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 1.2s var(--ease-out); }
.trio__card:hover .trio__media img { transform: scale(1.0); }
.trio__k { display: flex; gap: 12px; font-size: 13px; line-height: 16px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--ink) !important; }
.trio__k span { color: var(--muted); }
@media (max-width: 900px) {
  .trio { grid-template-columns: 1fr; gap: 48px; }
  .trio__media { height: auto; aspect-ratio: 4 / 3; }
}

/* ---------- 9. Platform diagram ---------- */
.diagram {
  position: relative; isolation: isolate;
  background: var(--sunken); border-radius: var(--r-xl);
  padding: 56px clamp(16px, 4.5vw, 64px);
  display: grid; justify-items: center; gap: 56px;
  overflow: hidden;
}
.diagram__wires { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; overflow: visible; }
.diagram__wires path { fill: none; stroke: #D9D9D5; stroke-width: 1; }
.diagram__wires path.flow { stroke: var(--accent); stroke-width: 1.5; stroke-dasharray: 6 220; stroke-linecap: round; opacity: .7; animation: flow 3.6s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -226; } }
.diagram__stages, .diagram__core, .diagram__connectors { position: relative; z-index: 1; }
.diagram__stages { position: relative; display: flex; justify-content: space-between; width: 100%; max-width: 1060px; padding-inline: 40px; }
.diagram__stages::before { content: ""; position: absolute; left: 100px; right: 100px; top: 28px; height: 1px; background: #D9D9D5; z-index: -1; }
.diagram__stages li { width: 120px; display: flex; flex-direction: column; align-items: center; gap: 14px; font-size: 16px; line-height: 20px; font-weight: 500; }
.diagram__dot { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px rgba(28, 26, 24, .06); }
.diagram__dot .ic { width: 24px; height: 24px; }
.diagram__core {
  width: 100%; max-width: 560px; padding: 28px 32px; display: grid; gap: 20px;
  background: var(--ink); color: #fff; border-radius: var(--r-xl);
  box-shadow: 0 16px 48px rgba(28, 26, 24, .22);
}
.diagram__head { display: flex; align-items: center; gap: 12px; }
.diagram__tile { width: 36px; height: 36px; flex: none; }
.diagram__name { font-size: 20px; line-height: 24px; font-weight: 500; letter-spacing: -0.01em; }
.diagram__desc { font-size: 13px; line-height: 16px; color: #B8B4AD; margin-top: 2px; }
.diagram__caps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.diagram__caps li { display: grid; place-items: center; height: 40px; border-radius: var(--r-md); background: rgba(255, 255, 255, .08); color: #E8E5DF; font-size: 14px; font-weight: 500; }
.diagram__connectors { display: grid; gap: 12px; justify-items: center; }
.diagram__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; margin: 0; }
.diagram__label { font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-right: 12px; }
.diagram__label--live { color: var(--success); }
.dchip { display: inline-flex; align-items: center; height: 36px; padding-inline: 16px; border-radius: var(--r-pill); background: #fff; box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; color: var(--ink); white-space: nowrap; }
.dchip--next { height: 32px; padding-inline: 14px; font-size: 13px; color: var(--muted); background: transparent; box-shadow: none; outline: 1px dashed #C9C9C4; outline-offset: -1px; }
@media (max-width: 760px) {
  .diagram { padding: 28px 12px; gap: 40px; border-radius: var(--r-lg); }
  .diagram__stages { padding-inline: 0; }
  .diagram__stages::before { left: 10%; right: 10%; top: 21px; }
  .diagram__stages li { width: 20%; font-size: 12.5px; gap: 8px; }
  .diagram__dot { width: 42px; height: 42px; }
  .diagram__dot .ic { width: 18px; height: 18px; }
  .diagram__core { padding: 20px 16px; gap: 16px; border-radius: var(--r-lg); }
  .diagram__caps li { font-size: 13px; }
  .diagram__row--next { display: none; }
  .diagram__label { display: none; }
}

.counts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 64px; border-top: 1px solid var(--line); }
.counts > div { padding: 32px 32px 0 0; }
.counts > div + div { padding-left: 32px; border-left: 1px solid var(--line); }
.counts dt { font-size: clamp(48px, 5vw, 72px); font-weight: 300; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.counts dd { margin-top: 16px; font-size: 16px; line-height: 24px; color: var(--muted); max-width: 26ch; }
@media (max-width: 900px) {
  .counts { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 40px; }
  .counts > div, .counts > div + div { padding: 24px 16px 24px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .counts > div:nth-child(even) { padding-left: 16px; }
  .counts > div:nth-last-child(-n+2) { border-bottom: 0; }
  .counts dd { font-size: 15px; line-height: 22px; }
}

/* ---------- 10. Services carousel ---------- */
.services { padding-bottom: calc(var(--section) * .8); }
.services .section-head { margin-bottom: 48px; }
.carousel__controls { display: flex; align-items: center; gap: 10px; margin-bottom: 32px; }
.carousel__controls [data-next] { background: var(--ink); color: #fff; box-shadow: none; }
.carousel__controls [data-next]:hover { background: var(--ink-hover); }
.carousel__count { margin-left: auto; font-size: 14px; font-weight: 500; color: var(--muted); font-variant-numeric: tabular-nums; }
.carousel__count span { color: var(--ink); }
.carousel__progress { flex: 1; max-width: 240px; height: 2px; margin-left: 18px; background: var(--line); border-radius: 2px; overflow: hidden; }
.carousel__progress span { display: block; height: 100%; width: 100%; background: var(--ink); transform-origin: 0 50%; transform: scaleX(.1); }

.carousel { position: relative; }
.carousel__track {
  display: flex; gap: 20px;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scrollbar-width: none;
  padding-inline: max(var(--gutter), calc((100vw - var(--max)) / 2));
  scroll-padding-inline: max(var(--gutter), calc((100vw - var(--max)) / 2));
  padding-bottom: 8px; cursor: grab; outline-offset: -2px;
  -webkit-overflow-scrolling: touch;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.carousel__track.is-dragging .svc { pointer-events: none; }
.carousel__track.is-gliding { scroll-snap-type: none; }

.svc {
  position: relative; flex: none; width: 300px; height: 420px;
  border-radius: var(--r-lg); overflow: hidden; isolation: isolate;
  scroll-snap-align: start; color: #fff; background: #B9A9A0;
  transform: translateZ(0);
  transition: transform .5s var(--ease-out);
  user-select: none; -webkit-user-select: none;
}
.svc:hover { transform: translateY(-2px); }
.svc__media { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.svc__drift {
  position: absolute; top: 0; bottom: 0; left: -10%; width: 120%;
  animation: drift 24s ease-in-out infinite alternate; animation-delay: var(--d, 0s);
  will-change: transform;
}
.svc__drift img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; -webkit-user-drag: none; pointer-events: none; }
.svc__sharp { opacity: 0; transition: opacity .8s var(--ease-out); }
.svc__blur { transition: opacity .8s var(--ease-out); }
.svc:hover .svc__blur, .svc:focus-within .svc__blur { opacity: .25; }
.svc:hover .svc__sharp, .svc:focus-within .svc__sharp { opacity: 1; }
@keyframes drift { from { transform: translate3d(-6%, 0, 0); } to { transform: translate3d(6%, 0, 0); } }
.svc::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(28, 26, 24, .55) 0%, rgba(28, 26, 24, .12) 38%, rgba(28, 26, 24, 0) 60%, rgba(28, 26, 24, .25) 100%); }
.svc__text { position: absolute; left: 24px; right: 24px; top: 24px; }
.svc__text h3 { font-size: 24px; line-height: 28px; font-weight: 400; letter-spacing: -0.02em; }
.svc__text p { margin-top: 10px; font-size: 15px; line-height: 22px; color: rgba(255, 255, 255, .9); max-width: 30ch; }
.svc__foot { position: absolute; left: 24px; right: 20px; bottom: 20px; display: flex; align-items: center; justify-content: space-between; }
.svc__n { font-size: 13px; font-weight: 600; letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.svc__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .2); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3); }
.svc__icon .ic { width: 20px; height: 20px; }
.svc__hit { position: absolute; inset: 0; z-index: 2; border-radius: inherit; -webkit-user-drag: none; }
.svc__hit:focus-visible { outline: 2px solid #fff; outline-offset: -4px; border-radius: var(--r-lg); }
@media (max-width: 600px) { .svc { width: 78vw; height: calc(78vw * 1.4); } .carousel__progress { display: none; } }
@media (hover: none) { .svc__sharp { opacity: 1; } .svc__blur { opacity: .4; } }
@media (max-width: 900px) { .counts__more { display: none; } }

/* ---------- 11. Kuumba Work ---------- */
.work { background: var(--ground); }
.stage {
  position: relative; isolation: isolate; overflow: hidden;
  border-radius: var(--r-xl);
  padding: clamp(12px, 4.4vw, 64px) clamp(12px, 5vw, 72px) 0;
  min-height: 300px;
}
.stage__bg { position: absolute; inset: 0; z-index: -1; background: #B9AFB5; }
.stage__bg img { position: absolute; inset: -8% -4%; width: 108%; height: 116%; max-width: none; object-fit: cover; }
.stage__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(251, 251, 250, 0) 60%, rgba(251, 251, 250, .25)); }

.app {
  display: grid; grid-template-columns: 60px 232px minmax(0, 1fr); grid-template-rows: minmax(0, 1fr);
  max-width: 1120px; margin-inline: auto; height: clamp(560px, 46vw, 660px);
  background: var(--rail); border-radius: var(--r-lg) var(--r-lg) 0 0;
  box-shadow: 0 0 0 1px rgba(28, 26, 24, .06), 0 40px 100px -30px rgba(40, 20, 10, .45);
  overflow: hidden; font-size: 14px; line-height: 1.45; color: var(--ink);
  text-align: left;
}
.app .ic { width: 18px; height: 18px; }
.app__rail { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 16px 0; }
.app__tile { width: 30px; height: 30px; margin-bottom: 14px; }
.app__ri { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; color: #44413D; }
.app__ri.is-on { background: #fff; box-shadow: var(--shadow-card); }
.app__ri--end { margin-top: auto; }
.app__avatar { display: grid; place-items: center; width: 30px; height: 30px; margin-top: 8px; border-radius: 50%; background: #E3DAD2; font-size: 11px; font-weight: 600; color: #4A4541; }
.app__side { padding: 18px 14px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 2px; }
.app__h { font-size: 12px; font-weight: 500; color: var(--muted); padding: 14px 10px 6px; }
.app__h:first-child { padding-top: 4px; }
.app__item { display: flex; align-items: center; gap: 9px; padding: 7px 10px; border-radius: 9px; font-size: 13.5px; color: #3A3835; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app__item .ic { width: 16px; height: 16px; color: var(--muted); }
.app__item.is-on { background: rgba(28, 26, 24, .06); color: var(--ink); font-weight: 500; }
.app__conn { display: flex; flex-wrap: wrap; gap: 6px; padding: 4px 6px; }
.app__conn .chip { height: 26px; font-size: 12px; padding-inline: 9px; }
.app__main { position: relative; display: flex; flex-direction: column; background: var(--ground); border-radius: 14px 0 0 0; margin-top: 8px; box-shadow: -1px 0 0 var(--line); min-width: 0; }
.app__top { display: flex; align-items: center; gap: 14px; padding: 12px 18px; }
.seg { display: inline-flex; padding: 3px; border-radius: var(--r-pill); background: var(--sunken); font-size: 13px; }
.seg span { padding: 4px 12px; border-radius: var(--r-pill); color: var(--muted); }
.seg .is-on { background: #fff; color: var(--ink); box-shadow: var(--shadow-card); font-weight: 500; }
.app__title { font-size: 14px; font-weight: 500; }
.app__thread { flex: 1; display: flex; flex-direction: column; gap: 16px; padding: 10px clamp(16px, 4vw, 64px) 0; max-width: 760px; width: 100%; margin-inline: auto; overflow: hidden; mask-image: linear-gradient(180deg, #000 85%, transparent); -webkit-mask-image: linear-gradient(180deg, #000 85%, transparent); }
.bubble--user { align-self: flex-end; max-width: 78%; padding: 11px 15px; border-radius: 16px; background: var(--sunken); }
.answer p { color: #33312E; }
.answer sup { font-size: 10px; font-weight: 600; color: var(--accent); margin-left: 1px; }
.sources { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.source { display: inline-flex; align-items: center; gap: 7px; height: 28px; padding: 0 10px 0 4px; border-radius: var(--r-pill); background: #fff; box-shadow: inset 0 0 0 1px var(--line); font-size: 12px; font-weight: 500; color: #4A4744; }
.source b { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--accent-soft); color: #4B33D6; font-size: 10.5px; }
.card-approve { background: #fff; border-radius: 18px; box-shadow: inset 0 0 0 1px var(--line), var(--shadow-card); padding: 14px; max-width: 560px; }
.card-approve__head { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: start; }
.card-approve__rows { margin-top: 12px; padding: 10px 14px; background: var(--sunken); border-radius: 12px; display: grid; gap: 6px; font-size: 13px; }
.card-approve__rows div { display: grid; grid-template-columns: 76px 1fr; gap: 12px; }
.card-approve__rows dt { color: var(--muted); }
.card-approve__foot { display: flex; align-items: center; gap: 6px; margin-top: 12px; }
.card-approve__foot .muted { margin-right: auto; font-size: 12px; color: var(--muted); }
.composer { border-radius: var(--r-xl) !important; margin: 10px auto 18px; width: calc(100% - 2 * clamp(16px, 4vw, 64px)); max-width: 700px; padding: 12px 12px 10px 16px; background: #fff; border-radius: 18px; box-shadow: inset 0 0 0 1px var(--line), var(--shadow-card); }
.composer__ph { display: block; color: var(--muted); font-size: 14px; padding-bottom: 10px; }
.composer__row { display: flex; align-items: center; gap: 8px; }
.composer__ask { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); }
.composer__ask .ic { width: 15px; height: 15px; }

@media (max-width: 1100px) { .app { grid-template-columns: 56px minmax(0, 1fr); } .app__side { display: none; } }
@media (max-width: 640px) {
  .app { grid-template-columns: minmax(0, 1fr); height: 820px; border-radius: var(--r-lg) var(--r-lg) 0 0; }
  .app__thread .source { height: 24px; font-size: 11.5px; }
  .card-approve__rows div { grid-template-columns: 64px 1fr; }
  .app__thread .bubble--user { max-width: 88%; }
  .app__rail { display: none; }
  .app__main { margin-top: 0; border-radius: 0; }
  .app__thread { padding-inline: 14px; gap: 12px; font-size: 13.5px; }
  .card-approve__foot .muted { display: none; }
  .card-approve__foot { justify-content: flex-end; }
  .card-approve__head .tag { display: none; }
  .composer { width: calc(100% - 28px); }
}

.work__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center; margin-top: clamp(64px, 8vw, 120px); }
.orbit-wrap { display: grid; gap: 24px; justify-items: center; overflow: clip; }
.orbit {
  --size: min(450px, calc(100vw - 2 * var(--gutter) - 150px));
  --r1: calc(var(--size) * .2); --r2: calc(var(--size) * .315); --r3: calc(var(--size) * .5);
  position: relative; width: var(--size); height: var(--size); margin: 48px 72px;
}
.orbit__ring { position: absolute; left: 50%; top: 50%; border-radius: 50%; transform: translate(-50%, -50%); box-shadow: inset 0 0 0 1px var(--line); }
.orbit__ring--1 { width: calc(var(--r1) * 2); height: calc(var(--r1) * 2); background: radial-gradient(circle, rgba(107, 78, 255, .10), rgba(107, 78, 255, 0) 70%); box-shadow: none; }
.orbit__ring--2 { width: calc(var(--r2) * 2); height: calc(var(--r2) * 2); }
.orbit__ring--3 { width: calc(var(--r3) * 2); height: calc(var(--r3) * 2); box-shadow: none; border: 1px dashed rgba(28, 26, 24, .14); }
.orbit__spin { position: absolute; inset: 0; animation: spin 90s linear infinite; }
.orbit__spin--b { animation-duration: 140s; animation-direction: reverse; }
.orbit__slot { position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform: rotate(var(--a)) translateX(var(--r)) rotate(calc(var(--a) * -1)); }
.orbit__chip {
  position: absolute; left: 0; top: 0; translate: -50% -50%;
  display: inline-flex; align-items: center; gap: 7px; height: 32px; padding-inline: 12px;
  border-radius: var(--r-pill); background: #fff; box-shadow: inset 0 0 0 1px var(--line), var(--shadow-card);
  font-size: 13px; font-weight: 500; white-space: nowrap;
  animation: spin 90s linear infinite reverse;
}
.orbit__spin--b .orbit__chip { animation-duration: 140s; animation-direction: normal; }
.orbit__chip--next { background: var(--ground); color: var(--muted); box-shadow: none; outline: 1px dashed rgba(28, 26, 24, .22); outline-offset: -1px; }
.orbit__core { position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; translate: -50% -50%; filter: drop-shadow(0 18px 30px rgba(107, 78, 255, .35)); }
.orbit__core svg { width: 100%; height: 100%; }
.orbit__core::before { content: ""; position: absolute; inset: -14px; border-radius: 30px; box-shadow: 0 0 0 1px rgba(107, 78, 255, .25); animation: ping 3.2s var(--ease-out) infinite; }
@keyframes ping { 0% { transform: scale(.8); opacity: 1; } 100% { transform: scale(1.6); opacity: 0; } }
@keyframes spin { to { rotate: 360deg; } }
.orbit__legend { flex-direction: column; align-items: flex-start; max-width: 460px; gap: 8px; }
.orbit__legend span { display: block; text-indent: 0; }
.orbit__legend .lg { margin-right: 8px; }
.orbit__legend b { margin-right: 6px; }
.orbit__legend .lg { transform: translateY(-1px); }

.caps__intro { font-size: clamp(26px, 2.6vw, 36px); font-weight: 300; letter-spacing: -0.025em; line-height: 1.15; margin-bottom: 32px; max-width: 22ch; }
.caps__list { border-top: 1px solid var(--line); }
.cap { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.cap__disc { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--sunken); }
.cap__disc .ic { width: 20px; height: 20px; }
.cap__word { display: flex; align-items: center; gap: 10px; font-size: 22px; line-height: 28px; font-weight: 400; letter-spacing: -0.015em; margin-bottom: 6px; }
.cap p { color: var(--muted); font-size: 16px; line-height: 24px; }
.caps__next { display: flex; align-items: center; gap: 10px; margin-top: 20px; font-size: 14px; color: var(--muted); }
.caps__next .ic { width: 18px; height: 18px; }
@media (max-width: 1000px) {
  .work__grid { grid-template-columns: 1fr; }
  .orbit-wrap { order: 2; }
}
@media (max-width: 600px) {
  .orbit { margin: 36px 8px; --size: calc(100vw - 2 * var(--gutter) - 110px); --r3: calc(var(--size) * .44); --r2: calc(var(--size) * .29); }
  .orbit__chip { height: 26px; font-size: 11px; padding-inline: 9px; gap: 5px; }
  .orbit__core { width: 54px; height: 54px; }
}

/* ---------- 12. Lifecycle sticky story ---------- */
.life { background: var(--rail); }
.life__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(40px, 6vw, 96px); }
.life__sticky { position: sticky; top: 96px; height: calc(100vh - 140px); max-height: 720px; }
.life__frame { position: relative; height: 100%; border-radius: var(--r-xl); overflow: hidden; isolation: isolate; background: #BCA79C; }
.life__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity 1s var(--ease-out), transform 1.6s var(--ease-out); }
.life__img.is-on { opacity: 1; transform: scale(1); }
.life__dots { position: absolute; left: 20px; right: 20px; bottom: 20px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.life__dots li { position: relative; padding-top: 12px; font-size: 13px; font-weight: 500; color: rgba(255, 255, 255, .7); transition: color .4s; }
.life__dots li::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, .35); }
.life__dots li::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; border-radius: 2px; background: #fff; transform: scaleX(0); transform-origin: 0 50%; transition: transform .7s var(--ease-out); }
.life__dots li.is-on, .life__dots li.is-done { color: #fff; }
.life__dots li.is-on::after, .life__dots li.is-done::after { transform: scaleX(1); }
.life__frame::after { content: ""; position: absolute; inset: auto 0 0; height: 40%; background: linear-gradient(180deg, transparent, rgba(24, 20, 18, .45)); z-index: 0; pointer-events: none; }
.life__dots { z-index: 1; }
.life__steps { display: flex; flex-direction: column; }
.life__step { min-height: 74vh; display: flex; flex-direction: column; justify-content: center; gap: 16px; padding-block: 40px; opacity: .28; transition: opacity .6s var(--ease-out); }
.life__step:first-child { min-height: 60vh; justify-content: flex-start; padding-top: 12vh; }
.life__step.is-on { opacity: 1; }
.life__step p { color: var(--muted); max-width: 44ch; }
.life__k { font-size: 13px; font-weight: 500; color: var(--muted); }
.life__step .h3 { font-size: clamp(24px, 2.4vw, 36px); font-weight: 300; letter-spacing: -0.025em; line-height: 1.15; max-width: 18ch; }
.life__mimg { display: none; }
@media (max-width: 900px) {
  .life__grid { grid-template-columns: 1fr; }
  .life__sticky { display: none; }
  .life__step, .life__step:first-child { min-height: 0; opacity: 1; padding: 0 0 56px; }
  .life__mimg { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--r-lg); margin-bottom: 8px; }
}

/* ---------- 13. Security (N+ dark) ---------- */
.secure { position: relative; isolation: isolate; background: var(--n-ground); color: #E8E5DF; padding-bottom: var(--section); overflow: clip; }
.secure__media { position: relative; height: clamp(420px, 44vw, 640px); overflow: hidden; background: #6E625C; }
.secure__media img { position: absolute; inset: -6% 0; width: 100%; height: 112%; object-fit: cover; }
.secure__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(26, 25, 24, 0) 35%, rgba(26, 25, 24, .55) 70%, #1A1918 100%); }
.secure__inner { position: relative; margin-top: clamp(-200px, -12vw, -96px); }
.secure__copy { max-width: 980px; margin-bottom: 56px; }
.secure .h2--light, .secure .eyebrow--light { color: #E8E5DF; }
.secure__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 48px; }
.secure__grid li { padding: 32px 0 40px; border-top: 1px solid rgba(255, 255, 255, .1); }
.secure__grid .ic { width: 24px; height: 24px; margin-bottom: 16px; color: #E8E5DF; }
.secure__grid h3 { font-size: 22px; line-height: 28px; font-weight: 400; letter-spacing: -0.015em; color: #E8E5DF; }
.secure__grid p { margin-top: 10px; font-size: 16px; line-height: 24px; color: var(--n-muted); max-width: 40ch; }
@media (max-width: 1000px) { .secure__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .secure__grid { grid-template-columns: 1fr; } .secure__media { height: 360px; } .secure__grid li { padding: 24px 0 28px; } }

/* ---------- 14. Dusk CTA band ---------- */
.cta { padding-block: var(--section) clamp(48px, 6vw, 88px); }
.cta__band { position: relative; isolation: isolate; overflow: hidden; border-radius: var(--r-xl); background: var(--dusk); padding: clamp(40px, 5.6vw, 80px) clamp(24px, 5vw, 72px); min-height: clamp(420px, 36vw, 520px); display: flex; flex-direction: column; justify-content: space-between; gap: 64px; }
.cta__texture { position: absolute; inset: 0; z-index: -1; background: url("../assets/img/highveld-mb.webp") center 70% / cover no-repeat; mix-blend-mode: soft-light; opacity: .7; }
.cta__band .grain { z-index: -1; opacity: .16; }
.cta__band::before { content: ""; position: absolute; z-index: -1; width: 60%; aspect-ratio: 1; right: -10%; top: -40%; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .45), rgba(255, 255, 255, 0) 65%); animation: glow 12s ease-in-out infinite alternate; }
@keyframes glow { to { transform: translate(-18%, 22%) scale(1.15); } }
.cta__eyebrow { color: var(--ink); margin: 0; }
.cta__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 32px 64px; align-items: end; }
.cta__title { font-size: clamp(48px, 6.7vw, 96px); font-weight: 300; letter-spacing: -0.04em; line-height: 1; color: var(--ink); }
.cta__sub { font-size: clamp(16px, 1.25vw, 18px); line-height: 1.56; color: rgba(28, 26, 24, .82); max-width: 40ch; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
@media (max-width: 900px) { .cta__grid { grid-template-columns: 1fr; } .cta__band { gap: 32px; } }
@media (max-width: 600px) { .cta__actions .btn { width: 100%; } .cta__band { padding: 32px 20px 24px; } .cta__title { line-height: 1.04; } }

/* ---------- 15. Footer ---------- */
.footer { background: var(--ground); color: var(--ink); padding-top: clamp(56px, 7vw, 96px); }
.footer__top { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.8fr); gap: 56px 80px; }
.footer__intro p { margin-top: 20px; color: var(--muted); font-size: 16px; line-height: 24px; max-width: 34ch; }
.footer__cols { display: grid; grid-template-columns: repeat(4, minmax(0, auto)); justify-content: space-between; gap: 32px; }
.footer__cols h3 { font-size: 13px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.footer__cols ul { display: grid; gap: 12px; }
.footer__cols a { font-size: 15px; color: var(--ink); transition: color .2s; }
.footer__cols a:hover { color: var(--muted); }
.footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: clamp(56px, 7vw, 96px); padding-block: 20px 28px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.footer__bottom a:hover { color: var(--ink); }
@media (max-width: 960px) { .footer__top { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 16px; } }

/* ---------- 16. Reveal initial states (only with motion + JS) ---------- */
.motion [data-reveal] { opacity: 0; transform: translateY(12px); }
.motion [data-stagger] > * { opacity: 0; transform: translateY(12px); }
.motion [data-lines]:not(.is-split) { opacity: 0; }

/* ---------- 17. Paused (footer toggle) + reduced motion ---------- */
.paused .svc__drift, .paused .orbit__spin, .paused .orbit__chip, .paused .cta__band::before,
.paused .orbit__core::before, .paused .diagram__wires path.flow {
  animation-play-state: paused !important;
}
.footer__tools { display: inline-flex; align-items: center; gap: 24px; }
.motion-toggle { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: 13px; color: var(--muted); }
.motion-toggle:hover { color: var(--ink); }
.motion-toggle__track { position: relative; width: 30px; height: 18px; border-radius: 99px; background: #E4E4E0; box-shadow: inset 0 0 0 1px rgba(28, 26, 24, .06); transition: background-color .25s; }
.motion-toggle__track span { position: absolute; top: 3px; left: 3px; width: 12px; height: 12px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(28, 26, 24, .2); transition: transform .25s var(--ease-out), background-color .25s; }
.motion-toggle[aria-pressed="true"] .motion-toggle__track { background: var(--ink); }
.motion-toggle[aria-pressed="true"] .motion-toggle__track span { transform: translateX(12px); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .nav.is-glass { background: rgba(251, 251, 250, .94); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .svc__drift, .orbit__spin, .orbit__chip, .cta__band::before, .orbit__core::before { animation: none !important; }
  .diagram__wires path.flow { display: none; }
}
