/* =============================================================
   Andromeda — Sui-styled homepage
   Design language adapted from sui.io: near-black / warm-paper
   alternating bands, oversized light-weight headings with tight
   negative tracking + line-height 1, monospace-style kicker tags
   in faint highlight boxes, numbered principle panels with dotted
   dividers, dark stack cards with iso line-art, corner-bracket
   lists, square arrow buttons, tech-name marquee, full-bleed
   spectrum interstitial, giant grainy footer wordmark, overlay nav.
   Brand tokens (Cabinet Grotesk + Erode, cosmic-violet) unchanged.
   Guardrails from typeui-fundamentals: one <h1>, <h2> section
   openers @ line-height 1 + 32px, 4-pt spacing, WCAG AA, reduced
   motion, focus-visible, no horizontal scroll.
   ============================================================= */

/* self-hosted webfont (was a render-path fetch to fontshare.com) —
   same files fontshare served, now same-origin + cacheable */
@font-face {
  font-family: "Cabinet Grotesk"; font-weight: 500; font-style: normal;
  font-display: swap; src: url("fonts/cabinet-grotesk-500.woff2") format("woff2");
}
@font-face {
  font-family: "Cabinet Grotesk"; font-weight: 700; font-style: normal;
  font-display: swap; src: url("fonts/cabinet-grotesk-700.woff2") format("woff2");
}
@font-face {
  font-family: "Cabinet Grotesk"; font-weight: 800; font-style: normal;
  font-display: swap; src: url("fonts/cabinet-grotesk-800.woff2") format("woff2");
}

:root {
  --font-display: "Cabinet Grotesk", "Helvetica Neue", Arial, system-ui, sans-serif;
  --font-body: "Erode", Georgia, "Times New Roman", serif;

  --paper: #f3f1ec;
  --paper-panel: #e8e3da;
  --ink: #0b0a12;
  --ink-card: #15131f;
  --ink-hair: rgba(237, 234, 244, .12);

  --text-ink: #16121f;      /* headings on paper */
  --text-body: #2b2740;     /* body on paper — ~11:1 */
  --text-muted: #565064;    /* muted on paper — ~6.7:1 */
  --line: rgba(11, 10, 18, .16);

  --on-dark: #f4f2fb;       /* near-white on --ink */
  --on-dark-muted: #d9d3ee; /* body text on dark — kept close to white */

  --violet: #6e3ae6;
  --violet-strong: #5a2cc0; /* links/kicker on paper */
  --violet-on-dark: #c9b8ff;
  --blue: #6f7df6;          /* iso-diagram accent on dark only */
  --pink: #f0157e;          /* legacy accent */
  --electric: #6e3ae6;      /* section-03 icon chips */
  --grape: #5d22d6;         /* image-band purple (matches supplied art) */
  --grape-hero: #744fe2;    /* hero art purple */
  --focus: #8a5cff;

  --s-1: 4px;  --s-2: 8px;  --s-3: 12px; --s-4: 16px;
  --s-6: 24px; --s-8: 32px; --s-12: 48px; --s-16: 64px;
  --s-24: 96px; --s-32: 128px;

  /* floor matches the old fixed cap exactly, so nothing changes up to ~1750px
     viewports (the ceiling never engages there); beyond that the content
     column keeps growing with the viewport instead of stopping dead at
     1680px and leaving a widening dead band down each side on large monitors */
  --wrap: clamp(1680px, 96vw, 2400px);
  --gutter: clamp(20px, 4vw, 30px);
  --band-pad: clamp(4.5rem, 11vh, 9.5rem);
  --header-h: 76px;
  --r: 10px;

  --fs-body: 1.12rem;     /* ~17.9 — bumped ~2pt up from 0.95rem for readability */
  --fs-control: 1.15rem;  /* old --fs-body value, kept for buttons/inputs so this isn't shrunk as a side-effect */
  --fs-lead: 1.25rem;     /* 20 */
  --fs-kicker: 0.8125rem; /* 13 */
  --fs-panel-title: clamp(1.25rem, 1rem + 1.1vw, 1.6rem);
  --fs-statement: clamp(1.3rem, 0.95rem + 1.7vw, 2rem);
  --fs-h2: clamp(2.05rem, 1.1rem + 4.4vw, 4rem);
  --fs-hero: clamp(2.75rem, 1rem + 8.4vw, 6.25rem);
}

* , *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 24px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text-body);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.45;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; color: var(--text-ink); }
p { margin: 0 0 var(--s-4); }
a { color: var(--violet-strong); }
em { font-style: italic; }
::selection { background: var(--violet); color: #fff; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

:where(a, button, input, textarea, [tabindex]):focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
  border-radius: 4px;
}
.band--ink :focus-visible, .band--grape :focus-visible, .band--img :focus-visible,
.hero :focus-visible, .site-footer :focus-visible { outline-color: var(--violet-on-dark); }

.skip-link {
  position: fixed; left: var(--s-4); top: var(--s-4); z-index: 300;
  transform: translateY(-160%); transition: transform .15s ease;
  background: var(--violet); color: #fff; text-decoration: none;
  font-family: var(--font-display); font-weight: 700; padding: 12px 18px; border-radius: 5px;
}
.skip-link:focus { transform: translateY(0); }

/* ---------- preloader — spinning star on flat purple, then the site ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 999;
  background: #5d22d6;
  display: grid; place-items: center;
  animation: pre-out .45s cubic-bezier(.7, 0, .2, 1) 1.2s forwards;
}
.preloader__logo {
  display: flex; align-items: center; gap: clamp(14px, 2.6vw, 26px);
  padding-inline: 24px;
}
.preloader__mark {
  width: clamp(46px, 7vw, 80px); height: auto; flex: none;
  transform-origin: 50% 50%;
  animation: pre-spin .95s cubic-bezier(.55, 0, .15, 1) forwards;
}
.preloader__word {
  width: clamp(150px, 24vw, 280px); height: auto;
  opacity: 0; clip-path: inset(0 100% 0 0);
  animation: pre-word .45s cubic-bezier(.5, 0, .2, 1) .55s forwards;
}
@keyframes pre-spin { 0% { rotate: 0deg; opacity: 0; } 12% { opacity: 1; } 100% { rotate: 720deg; } }
@keyframes pre-word { to { opacity: 1; clip-path: inset(0 0 0 0); } }
@keyframes pre-out  { to { opacity: 0; visibility: hidden; } }
@media (prefers-reduced-motion: reduce) {
  .preloader { animation: pre-out .3s ease .35s forwards; }
  .preloader__mark, .preloader__word { animation: none; opacity: 1; clip-path: none; }
}

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- kicker / eyebrow (unboxed) ---------- */
.kicker { margin: 0 0 var(--s-6); }
.kicker span {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-kicker);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--violet-strong);
}
.kicker span::before { content: ""; width: 8px; height: 8px; flex: none; background: currentColor; }
.kicker--light span { color: var(--violet-on-dark); }

/* ---------- display headings ---------- */
.display {
  font-size: var(--fs-h2);
  line-height: 1;
  letter-spacing: -0.032em;
  max-width: 20ch;
  margin: 0 0 var(--s-8);
  text-wrap: balance;
}
.display--xl {
  font-size: var(--fs-hero);
  max-width: 15ch;
  letter-spacing: -0.038em;
}

/* devolfs-style line-mask reveal for a section heading */
.display--reveal { max-width: none; text-wrap: initial; }
.display--reveal .line { display: block; overflow: hidden; }
.display--reveal .line > span {
  display: block;
  transform: translateY(115%);
  transition: transform .62s cubic-bezier(.19, 1, .22, 1);
}
.display--reveal .line:nth-child(2) > span { transition-delay: .09s; }
.display--reveal.is-in .line > span { transform: none; }
@media (prefers-reduced-motion: reduce) {
  .display--reveal .line > span { transform: none; transition: none; }
}

.statement {
  font-size: var(--fs-statement);
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--text-body);
  max-width: 32ch;
  margin: 0 0 var(--s-12);
}
.statement--tight { max-width: 46ch; margin-bottom: var(--s-8); }
.band--ink .statement { color: var(--on-dark); }
.prose { max-width: 60ch; color: var(--text-muted); }
.band--ink .prose { color: var(--on-dark-muted); }

/* ---------- buttons ---------- */
/* baseline (not center) so "Book a discovery call"'s underline sits under its
   own text baseline instead of being centered against the taller square button
   and ending up floating too high */
.cta-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--s-6); margin-top: var(--s-12); }

.btn-sq {
  --sq: 52px;
  display: inline-flex; align-items: center; gap: var(--s-4);
  font-family: var(--font-display); font-weight: 700; font-size: var(--fs-control);
  letter-spacing: -0.01em; color: var(--text-ink); text-decoration: none;
  white-space: nowrap; flex-shrink: 0; padding: 4px; border: 0; background: none; cursor: pointer;
}
.band--ink .btn-sq, .hero .btn-sq, .site-header .btn-sq { color: var(--on-dark); }
.btn-sq__icon {
  width: var(--sq); height: var(--sq); flex: none;
  display: grid; place-items: center;
  background: var(--violet); color: #fff; border-radius: 3px;
  transition: background-color .18s ease, transform .18s ease;
}
.btn-sq__icon svg { width: 22px; height: 22px; }
.btn-sq:hover .btn-sq__icon { background: var(--violet-strong); transform: translateX(4px); }
.btn-sq--sm { --sq: 40px; font-size: 0.9375rem; }
.btn-sq--sm .btn-sq__icon svg { width: 18px; height: 18px; }
.btn-sq--ghost { margin-top: var(--s-12); }
.btn-sq--ghost .btn-sq__icon { background: transparent; border: 1.5px solid var(--violet-on-dark); color: var(--violet-on-dark); }
.btn-sq--ghost:hover .btn-sq__icon { background: rgba(201, 184, 255, .14); }

.btn-line {
  font-family: var(--font-display); font-weight: 600; font-size: var(--fs-control);
  letter-spacing: -0.01em; color: var(--on-dark); text-decoration: none;
  border-bottom: 1.5px solid rgba(237, 234, 244, .4); padding-bottom: 3px;
  /* the .cta-row baseline alignment above gets close, but the neighbouring
     .btn-sq is itself a flex container whose synthesized baseline tracks its
     icon span rather than the "Learn more" text next to it, leaving a small
     residual gap — this closes it so the underline sits right at the text */
  position: relative; top: -6px;
  transition: border-color .16s ease;
}
.btn-line:hover { border-color: var(--violet-on-dark); }

/* ---------- header CTA — sui.io-style stagger + turning square ---------- */
.btn-cta {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-display); font-weight: 700; font-size: 0.9375rem;
  letter-spacing: -0.01em; color: var(--on-dark); text-decoration: none;
  padding: 4px; background: none; border: 0; cursor: pointer;
  white-space: nowrap; flex-shrink: 0;
}
.btn-cta__label { display: inline-flex; transition: color .18s ease; }
.btn-cta:hover .btn-cta__label,
.btn-cta:focus-visible .btn-cta__label { color: var(--violet-on-dark); }

.btn-cta__sq {
  width: 34px; height: 34px; flex: none;
  display: grid; place-items: center;
  background: var(--violet); color: #fff; border-radius: 3px;
  transition: rotate .38s cubic-bezier(.19, 1, .22, 1), background-color .2s ease;
}
.btn-cta__sq svg {
  width: 16px; height: 16px;
  transition: rotate .38s cubic-bezier(.19, 1, .22, 1);
}
.btn-cta:hover .btn-cta__sq,
.btn-cta:focus-visible .btn-cta__sq { rotate: 90deg; background: var(--violet-strong); }
.btn-cta:hover .btn-cta__sq svg,
.btn-cta:focus-visible .btn-cta__sq svg { rotate: -90deg; }

@media (prefers-reduced-motion: reduce) {
  .btn-cta__label, .btn-cta__sq, .btn-cta__sq svg { transition: none; }
  .btn-cta:hover .btn-cta__sq, .btn-cta:hover .btn-cta__sq svg { rotate: 0deg; }
}

/* ---------- promo bar ---------- */
.promo {
  position: relative; z-index: 20; overflow: hidden;
  background: var(--violet); color: #fff;
  display: flex; align-items: center;
}
.promo[hidden] { display: none; }
.promo__track {
  display: flex; align-items: center; gap: var(--s-6);
  white-space: nowrap; padding-block: 9px;
  font-family: var(--font-display); font-weight: 600; font-size: 0.8125rem;
  letter-spacing: 0.02em;
  animation: marquee 26s linear infinite;
}
.promo__close {
  margin-left: auto; flex: none; background: none; border: 0; cursor: pointer;
  color: #fff; padding: 8px 14px; display: grid; place-items: center;
}
.promo__close svg { width: 16px; height: 16px; }

@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .promo__track { animation: none; }
  .promo__track > span:nth-child(n+3) { display: none; }
}

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  min-height: var(--header-h);
  color: var(--on-dark);
  transition: background-color .25s ease, border-color .25s ease;
  border-bottom: 1px solid transparent;
}
/* keep the bar full-bleed for the sticky backdrop, but align its
   contents to the same centred column + gutter as the page body */
.site-header__inner {
  max-width: var(--wrap); margin-inline: auto;
  padding-inline: var(--gutter);
  min-height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-4);
}
.site-header.is-scrolled {
  background: rgba(11, 10, 18, .82);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--ink-hair);
}
.brand {
  display: inline-flex; align-items: center; gap: var(--s-3);
  font-family: var(--font-display); font-weight: 800; font-size: 1.2rem;
  letter-spacing: -0.02em; color: var(--ink); text-decoration: none;
}
/* brand lockup (supplied artwork — white on transparent) */
.brand__lockup { display: block; height: 24px; width: auto; flex-shrink: 0; }  /* art now tight-cropped, so a smaller box = same visual size, aligned to the gutter — shrunk per redesign pass; flex-shrink:0 stops it squishing when the header row runs tight on mobile */
.site-footer__brand .brand__lockup { height: 30px; }
.site-header__actions { display: flex; align-items: center; gap: var(--s-3); }
@media (max-width: 559px) { .site-header .btn-sq, .site-header .btn-cta { display: none; } }
.menu-toggle {
  width: 44px; height: 44px; flex: none; display: grid; place-items: center;
  background: rgba(237, 234, 244, .08); border: 1px solid var(--ink-hair);
  border-radius: 4px; color: var(--on-dark); cursor: pointer;
}
.menu-toggle svg { width: 20px; height: 20px; }
.menu-toggle:hover { background: rgba(237, 234, 244, .14); }

/* ---------- overlay nav ---------- */
.overlay-nav {
  position: fixed; inset: 0; z-index: 200;
  background: var(--ink);
  padding: clamp(1.5rem, 6vw, 4rem);
  display: flex; flex-direction: column; justify-content: center;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .28s ease, visibility .28s ease;
}
.overlay-nav.is-open { opacity: 1; visibility: visible; pointer-events: auto; }
.overlay-nav__close {
  position: absolute; top: clamp(1rem, 4vw, 2.25rem); right: clamp(1rem, 4vw, 2.25rem);
  width: 48px; height: 48px; display: grid; place-items: center;
  background: none; border: 1px solid var(--ink-hair); border-radius: 4px;
  color: var(--on-dark); cursor: pointer;
}
.overlay-nav__close svg { width: 22px; height: 22px; }
.overlay-nav ul { list-style: none; margin: 0; padding: 0; max-width: var(--wrap); margin-inline: auto; width: 100%; }
.overlay-nav li { border-top: 1px solid var(--ink-hair); }
.overlay-nav li:last-child { border-bottom: 1px solid var(--ink-hair); }
.overlay-nav a {
  display: flex; align-items: baseline; gap: var(--s-6);
  padding: clamp(.7rem, 2.4vw, 1.4rem) 0;
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(1.75rem, 1rem + 4vw, 3.5rem);
  letter-spacing: -0.03em; line-height: 1;
  color: var(--on-dark); text-decoration: none;
  transition: color .16s ease, padding-left .18s ease;
}
.overlay-nav a:hover { color: var(--violet-on-dark); padding-left: var(--s-4); }
.overlay-nav__idx {
  font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.1em;
  color: var(--violet-on-dark); font-variant-numeric: tabular-nums;
}
/* small LinkedIn line under "Contact us" — indent (2.5rem) approximates the
   idx (0.8125rem, tabular two digits) + gap (--s-6) offset of the label above */
.overlay-nav .overlay-nav__social {
  display: inline-flex; align-items: center; gap: 6px;
  margin: -0.35rem 0 clamp(1rem, 3vw, 1.75rem) 2.5rem;
  font-family: var(--font-display); font-weight: 600; font-size: 0.9375rem;
  letter-spacing: 0.02em; color: var(--violet-on-dark); text-decoration: none;
  transition: color .16s ease;
}
.overlay-nav .overlay-nav__social svg { width: 13px; height: 13px; }
.overlay-nav .overlay-nav__social:hover { color: #fff; }
body.nav-open { overflow: hidden; }

/* ---------- bands ---------- */
.band { padding-block: var(--band-pad); }

/* skip render/layout work for sections still off-screen */
#difference, #process, .statement-band, #build, #about,
#technology, #commitment, #contact, .site-footer, .marquee {
  content-visibility: auto;
  contain-intrinsic-size: auto 760px;
}
.marquee { contain-intrinsic-size: auto 64px; }
.statement-band { contain-intrinsic-size: auto 340px; }

.band--paper { background: var(--paper); color: var(--text-body); }
.band--ink { background: var(--ink); color: var(--on-dark); }
.band--ink :is(h2, h3) { color: var(--on-dark); }
.band--ink p { color: var(--on-dark-muted); }

/* grape band (#process — "from discovery to deployment") */
.band--grape { background: #5d22d6; color: #f2ecff; }
.band--grape :is(h2, h3) { color: #ffffff; }
.band--grape p { color: #e6dffa; }
.band--grape .kicker span { color: #efe9ff; }
.band--grape .get-card { background: #1d1638; border-color: rgba(255, 255, 255, .16); }
.band--grape .get-card:not(.get-card--lead) { background: #08070c; border-color: rgba(255, 255, 255, .1); }
.band--grape .get-card p { color: #cfc6ea; }

/* compact the whole section ~35% shorter */
#process { padding-block: calc(var(--band-pad) * 0.6); }
#process .get-grid { margin-top: var(--s-8); }
#process .get-card { padding: clamp(1rem, .75rem + 1vw, 1.4rem) clamp(1.25rem, 1rem + 1.5vw, 1.9rem); }
#process .get-card:not(.get-card--lead) { gap: var(--s-6); }
#process .get-icon { margin: var(--s-4) 0 var(--s-3); }
#process .get-card--lead .get-visual { margin: var(--s-4) 0; padding: clamp(1.1rem, 4vw, 2.25rem); }
@media (min-width: 860px) {
  #process .get-card:not(.get-card--lead) { min-height: clamp(150px, 14vw, 195px); }
}
.band--grape .get-idx { color: #cbb9ff; }
.band--grape .get-visual {
  border-color: rgba(255, 255, 255, .16);
  background: linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, 0));
}

/* image-backed bands (#build — blue, #contact — pink) */
.band--img { position: relative; overflow: clip; isolation: isolate; background: var(--grape); }
.band--img > * { position: relative; z-index: 2; }
.band--img::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background-position: center; background-size: cover; background-repeat: no-repeat;
  image-rendering: pixelated;
}
.band--img::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; }
/* temporary: flat purple placeholder (falls back to --grape via .band--img)
   until new art is ready — swap back to bg-build.png when it lands */
.band--img-build::before { background-image: none; }
.band--img-build::after { background: none; }
/* #contact — flat purple, with an image panel on the right half only
   (top-to-bottom, flush right, soft-cut around the middle, clear of the text) */
.hero.band--img-contact { background: #5d22d6; }   /* exact flat purple of bg-contact.png */
.band--img-contact::after { content: none; }
/* pixelated bg-contact.png panel removed — replaced by a white ambient
   particle field (contact-pixel-field, assets/hero-pixels.js) spanning the
   whole section instead of a masked image on the right half only. */
.band--img-contact::before { content: none; }
.contact-pixel-field {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.contact-pixel-field canvas { width: 100%; height: 100%; display: block; }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: clip;
  background: #050506; color: #fff;      /* matches the pixel canvas's own fill, so there's no flash before it paints */
  min-height: min(92vh, 900px);
  display: flex; align-items: center;
  padding-block: calc(var(--header-h) + var(--s-16)) var(--s-24);
}
.hero--contact { min-height: auto; padding-block: var(--band-pad); }
/* interactive pixel-star canvas (assets/hero-pixels.js) — sits behind
   .hero__inner, fills the section, repaints its own background each frame */
.hero__pixels {
  position: absolute; inset: 0; z-index: 0; pointer-events: auto;
  width: 100%; height: 100%; display: block;
}
@media (prefers-reduced-motion: reduce) { .hero__pixels { pointer-events: none; } }

.hero__inner { position: relative; z-index: 2; width: 100%; pointer-events: none; }
.hero__inner a, .hero__inner button { pointer-events: auto; }
.hero .kicker--light span { color: #e7dfff; }

/* hero CTA — white square, purple arrow */
.hero .btn-sq__icon { background: #fff; color: var(--grape); }
.hero .btn-sq:hover .btn-sq__icon { background: #f1f1f1; }
.hero__sub {
  font-size: clamp(1.15rem, .9rem + 1.1vw, 1.6rem);
  line-height: 1.3; color: var(--on-dark-muted);
  max-width: 40ch; margin: var(--s-8) 0 0;
}
.hero__sub--sm { font-size: var(--fs-lead); max-width: 48ch; }
.hero .display { color: #fff; }
.hero--contact .form { margin-top: var(--s-12); }

/* ---------- homepage hero — layout/spacing/type-scale modelled on the
   pear.no reference screenshot: content anchored low in a tall hero block
   (not vertically centered), a tight headline→sub→cta cluster, then a
   divided micro-copy row pinned near the bottom edge. Colours, the body
   font and all copy stay Andromeda's own — only the composition is borrowed. ---------- */
.hero--home { align-items: stretch; }
.hero--home .hero__inner {
  display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 100%;
  gap: clamp(2.75rem, 9vh, 5.5rem);
}
.hero--home .hero__main { max-width: 54ch; }
.hero--home .hero__main .kicker { margin-bottom: var(--s-4); }
.hero--home .display--xl {
  font-size: clamp(2.35rem, 1.1rem + 5.6vw, 4.75rem);
  max-width: 17ch;
  letter-spacing: -0.032em;
  margin-bottom: var(--s-4);
}
.hero--home .hero__sub {
  font-size: clamp(1.05rem, .9rem + .6vw, 1.3rem);
  line-height: 1.4; max-width: 46ch; margin-top: var(--s-4);
}
.hero--home .cta-row { margin-top: var(--s-8); align-items: center; }
.hero--home .btn-line { font-size: 0.9375rem; }

.hero__bottom {
  display: flex; flex-wrap: wrap; align-items: flex-start; gap: var(--s-8);
  padding-top: var(--s-6);
  border-top: 1px solid rgba(244, 242, 251, .18);
}
.hero__bottom-tag {
  flex: none; display: inline-flex; align-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 0.75rem;
  letter-spacing: 0.14em; text-transform: uppercase; color: #fff;
  background: rgba(244, 242, 251, .12); border-radius: 999px; padding: 8px 16px;
}
.hero__bottom-note { margin: 0; max-width: 46ch; color: var(--on-dark-muted); font-size: 0.95rem; line-height: 1.5; }

/* pear.no-style pill CTA: a small bordered arrow chip inset inside the
   pill's own trailing edge, and a compact uppercase tracked label —
   rather than the site's usual large square-icon button */
.btn-pear {
  display: inline-flex; align-items: center; gap: var(--s-4);
  background: #fff; color: var(--ink); text-decoration: none;
  border-radius: 3px; padding: 5px 5px 5px 22px;
  font-family: var(--font-display); font-weight: 700; font-size: 0.8125rem;
  letter-spacing: 0.1em; text-transform: uppercase; white-space: nowrap;
  transition: background-color .18s ease, padding .28s cubic-bezier(.19,1,.22,1);
}
.btn-pear__icon {
  width: 38px; height: 38px; flex: none; border-radius: 2px;
  display: grid; place-items: center;
  background: var(--violet); color: #fff;
  transition: background-color .18s ease, transform .28s cubic-bezier(.19,1,.22,1);
}
.btn-pear__icon svg { width: 16px; height: 16px; }
/* the pill grows its right-hand padding by the same amount the icon slides,
   so the white pill and the purple square move together as one shape
   instead of the icon sliding loose inside a fixed-size button */
.btn-pear:hover { background: #f1f1f1; padding-right: 9px; }
.btn-pear:hover .btn-pear__icon { background: var(--violet-strong); transform: translateX(3px); }

/* dark/ink pill variant — for this same button style sitting on a light
   (paper/white) background, where a white pill would have no contrast */
.btn-pear--ink { background: var(--ink); color: #fff; }
.btn-pear--ink:hover { background: #211f2c; }

/* purple pill variant with a white icon box for contrast */
.btn-pear--violet { background: var(--violet-strong); color: #fff; }
.btn-pear--violet .btn-pear__icon { background: #fff; color: var(--violet-strong); }
.btn-pear--violet:hover { background: var(--grape); }
.btn-pear--violet:hover .btn-pear__icon { background: #fff; color: var(--grape); }

/* compact size — for tighter contexts (site header, footer) where the
   full pear pill would be too large */
.btn-pear--sm { border-radius: 3px; padding: 5px 5px 5px 15px; font-size: 11px; letter-spacing: .12em; gap: 20px; min-height: 40px; }
.btn-pear--sm .btn-pear__icon { width: 30px; height: 30px; border-radius: 2px; }
.btn-pear--sm:hover { padding-right: 9px; }
@media (max-width: 580px) { .btn-pear--sm { font-size: 10px; gap: 12px; } }

/* #contact — full-bleed purple image, white text ---------------------- */
.band--img-contact .kicker span,
.band--img-contact .hero__sub,
.band--img-contact .field label,
.band--img-contact .form__note { color: #fff; }
.band--img-contact .form__note[data-ok] { color: #fff; font-weight: 600; }
.band--img-contact .field input {
  background: #fff; color: var(--ink);
  border-color: rgba(255, 255, 255, .7);
}
.band--img-contact .field input::placeholder { color: #8a8397; }
.band--img-contact .btn-sq--white { color: #fff; }

/* white square button with a purple arrow (contact submit) */
.btn-sq--white .btn-sq__icon { background: #fff; color: var(--grape); }
.btn-sq--white:hover .btn-sq__icon { background: #f1f1f1; }

@keyframes orb-spin { to { transform: rotate(360deg); } }
.orb-anim { animation: orb-spin 170s linear infinite; transform-origin: 50% 50%; }
@media (prefers-reduced-motion: reduce) { .orb-anim { animation: none; } }

/* ---------- numbered principle panels ---------- */
.panels { list-style: none; margin: var(--s-16) 0 0; padding: 0; display: grid; gap: var(--s-4); }
.panel {
  background: var(--paper-panel);
  border-radius: var(--r);
  padding: clamp(1.25rem, 1rem + 1.6vw, 2.25rem);
}
.panels--ink .panel { background: var(--ink-card); border: 1px solid var(--ink-hair); }
.panel__head {
  display: flex; align-items: center; gap: var(--s-4);
  padding-bottom: var(--s-4);
  border-bottom: 1px dashed var(--line);
}
.panels--ink .panel__head { border-bottom-color: var(--ink-hair); }
.panel__num {
  flex: none; width: 32px; height: 32px;
  display: grid; place-items: center;
  border: 1.5px solid currentColor; border-radius: 2px;
  font-family: var(--font-display); font-weight: 700; font-size: 0.9375rem;
  color: var(--violet-strong); font-variant-numeric: tabular-nums;
}
.panels--ink .panel__num { color: var(--violet-on-dark); }
.panel__head h3 {
  margin: 0; font-size: var(--fs-panel-title); font-weight: 500;
  line-height: 1.05; letter-spacing: -0.02em; color: var(--text-ink);
}
.panels--ink .panel__head h3 { color: var(--on-dark); }
.panel__body {
  margin: clamp(1.5rem, 4vw, 2.75rem) 0 0;
  max-width: 64ch; color: var(--text-muted);
}
.panels--ink .panel__body { color: var(--on-dark-muted); }

/* ---------- use-case table (solutions sub-pages "what this covers") ----------
   Left column: numbered rows, only the active row shows its brief
   description. Right column: a headline plus icon-led bullet points.
   Interaction wired up in assets/main.js (data-uc-table / data-uc-row). */
.uc-table {
  margin-top: var(--s-16);
  display: grid;
  border: 1px solid var(--ink-hair);
  border-radius: 2px;
  overflow: hidden;
  background: var(--ink-card);
}
@media (min-width: 860px) {
  .uc-table { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: var(--s-8); }
}
.uc-table__rows { display: flex; flex-direction: column; }
@media (min-width: 860px) {
  .uc-table__rows { border-right: 1px solid var(--ink-hair); }
}
.uc-row {
  all: unset;
  box-sizing: border-box;
  cursor: pointer;
  display: flex; flex-direction: column; gap: var(--s-2);
  padding: clamp(1rem, 0.8rem + 0.8vw, 1.5rem) clamp(1.25rem, 1rem + 1vw, 1.75rem);
  border-bottom: 1px solid var(--ink-hair);
  border-left: 3px solid transparent;
}
.uc-table__rows .uc-row:last-child { border-bottom: none; }
.uc-row__top { display: flex; align-items: baseline; gap: var(--s-4); }
.uc-row__num {
  font-family: var(--font-display); font-weight: 700; font-size: 0.8125rem;
  letter-spacing: 0.12em; color: var(--violet-on-dark); font-variant-numeric: tabular-nums;
}
.uc-row__title {
  font-family: var(--font-display); font-weight: 500; font-size: 1.05rem;
  color: var(--on-dark-muted); letter-spacing: -0.01em;
}
.uc-row__brief {
  display: none;
  max-width: 54ch; color: var(--on-dark-muted); font-size: 0.95rem; line-height: 1.55;
}
.uc-row.is-active { background: rgba(110, 58, 230, .14); border-left-color: var(--violet-strong); }
.uc-row.is-active .uc-row__title { color: var(--on-dark); }
.uc-row.is-active .uc-row__brief { display: block; }
.uc-row:hover:not(.is-active) { background: rgba(237, 234, 244, .04); }
.uc-row:focus-visible { outline: 2px solid var(--violet-on-dark); outline-offset: -2px; }

.uc-table__detail { position: relative; padding: clamp(1.5rem, 1rem + 2vw, 2.5rem) 0; }
@media (min-width: 860px) {
  .uc-table__detail { border-left: 1px solid var(--ink-hair); }
}
.uc-panel[hidden] { display: none; }
.uc-panel__headline {
  margin: 0;
  padding: 0 clamp(1.5rem, 1rem + 2vw, 2.5rem) var(--s-4);
  border-bottom: 1px solid var(--ink-hair);
  font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.1rem); font-weight: 500;
  line-height: 1.15; letter-spacing: -0.02em; color: var(--on-dark);
  max-width: 28ch;
}
.uc-panel__points { list-style: none; margin: 0; padding: 0; display: grid; }
.uc-point {
  display: flex; align-items: flex-start; gap: var(--s-4);
  padding: var(--s-4) clamp(1.5rem, 1rem + 2vw, 2.5rem);
  border-top: 1px solid var(--ink-hair);
}
.uc-panel__points .uc-point:first-child { border-top: none; }
.uc-point__icon {
  flex: none; width: 34px; height: 34px;
  display: grid; place-items: center;
  color: var(--on-dark-muted);
}
.uc-point__icon svg { width: 16px; height: 16px; shape-rendering: crispEdges; }
.uc-point p { margin: 0; color: var(--on-dark); font-size: clamp(1.05rem, 0.95rem + 0.5vw, 1.25rem); line-height: 1.55; }

/* Solutions grid cards reuse the site's existing plain pixel-art icon
   treatment (see #ways below) instead of a coloured icon tile. */
.solutions-grid .stack__art {
  background: none;
  padding: 0;
  color: var(--on-dark);
  shape-rendering: crispEdges;
}

/* ---------- devolfs-style expertise accordion (#difference) ---------- */
.rule-lead {
  position: relative;
  height: 1px;
  background: var(--line);
  margin: clamp(2.5rem, 5vw, 4.5rem) 0 0;
}
.rule-lead::before {
  content: ""; position: absolute; left: 0; top: -1px;
  height: 3px; width: 0; background: var(--text-ink);
  transition: width .6s cubic-bezier(.19, 1, .22, 1) .12s;
}
.rule-lead.is-in::before { width: 132px; }
@media (prefers-reduced-motion: reduce) { .rule-lead::before { width: 132px; transition: none; } }

.accordion { margin-top: 0; }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-head { margin: 0; font: inherit; }
.acc-head button {
  width: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(14px, 3vw, 40px);
  padding: clamp(1.25rem, 3vw, 2rem) 0;
  background: none; border: 0; text-align: left; cursor: pointer;
  color: var(--text-ink);
}
.acc-idx {
  font-family: var(--font-display); font-weight: 700; font-size: 0.8125rem;
  letter-spacing: 0.12em; color: #5d22d6; font-variant-numeric: tabular-nums;
}
.acc-title {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(1.5rem, 1rem + 2.5vw, 2.6rem);
  letter-spacing: -0.03em; line-height: 1;
}
.acc-toggle { position: relative; width: 22px; height: 22px; flex: none; }
.acc-toggle::before, .acc-toggle::after {
  content: ""; position: absolute; background: var(--text-ink);
}
.acc-toggle::before { left: 0; right: 0; top: 50%; height: 2px; transform: translateY(-50%); }
.acc-toggle::after {
  top: 0; bottom: 0; left: 50%; width: 2px; transform: translateX(-50%);
  transition: opacity .2s ease, transform .3s ease;
}
.acc-item.is-open .acc-toggle::after { opacity: 0; transform: translateX(-50%) rotate(90deg); }

/* dark-band accordion (homepage #faq sits on .band--ink) — without this the
   accordion's paper-band text colors (near-black) render on the dark
   background and are unreadable */
.band--ink .acc-item { border-bottom-color: var(--ink-hair); }
.band--ink .acc-head button { color: var(--on-dark); }
.band--ink .acc-idx { color: var(--violet-on-dark); }
.band--ink .acc-toggle::before, .band--ink .acc-toggle::after { background: var(--on-dark); }
.band--ink .acc-panel__inner p { color: var(--on-dark-muted); }

/* grid-rows trick: tracks the panel's real content height the whole way
   through the transition, instead of racing an arbitrary max-height
   ceiling (which made the open/close read as laggy — most of the motion
   happened in a sliver of the transition, then it just idled). */
.acc-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .42s cubic-bezier(.19, 1, .22, 1);
}
.acc-item.is-open .acc-panel { grid-template-rows: 1fr; }
.acc-panel__inner {
  overflow: hidden;
  min-height: 0;
}
/* the closing gap must be a margin, not padding — padding on the row-sized
   element can't be collapsed to 0 by the grid track, so it'd leave a sliver
   showing even when closed */
.acc-panel__inner .tags { margin-bottom: clamp(1.5rem, 4vw, 2.75rem); }
.acc-panel__inner p {
  margin: 0 0 var(--s-6); max-width: 66ch; color: var(--text-muted);
}
@media (min-width: 720px) {
  .acc-panel__inner { padding-left: calc(2.4rem + clamp(14px, 3vw, 40px)); }
}
.tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--s-2); }
.tags li {
  font-family: var(--font-display); font-weight: 600; font-size: 0.6875rem;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 7px 11px; border: 1px solid transparent; border-radius: 2px;
  color: #fff; background: var(--grape);
}

/* ---------- "how we work" — lead + card grid (#process) ---------- */
.get-grid {
  list-style: none; margin: var(--s-16) 0 0; padding: 0;
  display: grid; gap: var(--s-4);
}
@media (min-width: 860px) {
  .get-grid { grid-template-columns: 1.05fr 1fr 1fr; grid-auto-rows: minmax(0, auto); }
  .get-card--lead { grid-column: 1; grid-row: 1 / span 2; }
  .get-card--wide { grid-column: 2 / span 2; }
}
.get-card {
  display: flex; flex-direction: column;
  background: var(--ink-card); border: 1px solid var(--ink-hair);
  border-radius: 2px;
  padding: clamp(1.25rem, 1rem + 1.5vw, 2rem);
}
.get-card:not(.get-card--lead) { justify-content: space-between; gap: var(--s-12); }
@media (min-width: 860px) {
  .get-card:not(.get-card--lead) { min-height: clamp(220px, 22vw, 300px); }
}
.get-card--lead { justify-content: space-between; }
.get-idx {
  font-family: var(--font-display); font-weight: 700; font-size: 0.8125rem;
  letter-spacing: 0.12em; color: var(--on-dark-muted); font-variant-numeric: tabular-nums;
}
.get-icon {
  display: block; width: 92px; height: 92px;
  margin: var(--s-6) 0 var(--s-4);
  color: #fff; stroke-width: 15;                       /* ~3x baseline */
  stroke-linejoin: miter; stroke-linecap: square; stroke-miterlimit: 12;
  image-rendering: pixelated;
}
.get-icon svg { width: 100%; height: 100%; shape-rendering: crispEdges; }
.get-icon *, .get-icon .d-accent {
  stroke-width: 15; stroke-linejoin: miter; stroke-linecap: square;
}
.get-icon .d-accent { stroke: #fff; }
.get-card:not(.get-card--lead) .get-icon { margin-top: 0; }

/* discovery & mapping (lead) — the big box goes white; plain purple glyph */
.band--grape .get-card--lead { background: var(--paper); border-color: var(--paper); }
.band--grape .get-card--lead h3 { color: var(--text-ink); }
.band--grape .get-card--lead p { color: var(--text-body); }
.band--grape .get-card--lead .get-idx { color: var(--violet-strong); }
.get-card--lead .get-icon { color: var(--grape); }
.get-card--lead .get-icon .d-accent { stroke: var(--grape); }
.get-visual {
  margin: var(--s-8) 0;
  border: 1px solid var(--ink-hair); border-radius: 2px;
  background: linear-gradient(180deg, rgba(201, 184, 255, .06), rgba(201, 184, 255, 0));
  padding: clamp(1.75rem, 6vw, 3.5rem);
  display: grid; place-items: center;
}
.get-visual svg { width: min(100%, 230px); height: auto; color: var(--on-dark-muted); }
.get-visual .d-accent { stroke: var(--violet-on-dark); }
/* lead card is now white — retone its inset diagram to suit, squared + pixelated */
.band--grape .get-card--lead .get-visual {
  border-color: var(--line); background: #eae3d9;
  border-radius: 0; image-rendering: pixelated;
}
.get-card--lead .get-visual svg {
  color: var(--grape); shape-rendering: crispEdges;
  stroke-width: 5; stroke-linejoin: miter; stroke-linecap: square;
}
.get-body h3 {
  margin: 0 0 var(--s-6);
  font-size: var(--fs-panel-title); font-weight: 500;
  line-height: 1.08; letter-spacing: -0.02em; color: var(--on-dark);
}
.get-card--lead .get-body h3 { font-size: clamp(1.6rem, 1rem + 2.2vw, 2.35rem); }
.get-body p { margin: 0; color: var(--on-dark-muted); max-width: 48ch; }

/* ---------- tech marquee ---------- */
.marquee { background: var(--ink); overflow: hidden; border-block: 1px solid var(--ink-hair); }
.marquee__track {
  display: flex; gap: var(--s-16); white-space: nowrap; padding-block: var(--s-6);
  font-family: var(--font-display); font-weight: 500; font-size: 0.9375rem;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--on-dark-muted);
  animation: marquee 40s linear infinite;
}
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; flex-wrap: wrap; white-space: normal; gap: var(--s-4) var(--s-8); }
  .marquee__track > span[aria-hidden] { display: none; }
}

/* ---------- statement band (big bold type, no motion) ---------- */
.statement-band__row {
  display: inline-flex; align-items: stretch; gap: var(--s-6);
  margin-top: var(--s-8);
}
.statement-band__headline {
  margin: 0;
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2.5rem, 1rem + 8.5vw, 6.75rem);
  line-height: .98; letter-spacing: -0.035em;
  color: var(--text-ink); max-width: 15ch;
  text-wrap: balance;
}
/* same halftone-pixel mark as the favicon/hero, thresholded to solid black
   and shrunk down — sits beside the statement instead of looming over the hero */
.statement-band__mark {
  flex: none; align-self: stretch;
  width: auto; height: auto;
  transform-origin: 50% 50%;
  will-change: transform;
}
@media (prefers-reduced-motion: reduce) { .statement-band__mark { transform: none !important; } }
@media (max-width: 640px) { .statement-band__mark { display: none; } }

/* ---------- stack cards (what we build) ---------- */
.stack {
  list-style: none; margin: var(--s-16) 0 0; padding: 0;
  display: grid; gap: var(--s-4);
}
@media (min-width: 620px) { .stack { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .stack { grid-template-columns: repeat(5, 1fr); } }
/* "Three ways to work with us" only ever has 3 cards — on the 5-col track
   above they'd hug the left edge, leaving an unequal margin on the right */
@media (min-width: 620px) { #ways .stack { grid-template-columns: repeat(3, 1fr); } }
/* Solutions overview + sub-pages: smaller hero header/body text */
.sol-hero { position: relative; overflow: hidden; }
.sol-hero .wrap { position: relative; z-index: 1; }
/* Ambient pixel-particle field (assets/hero-pixels.js, data-pixel-field) —
   sits behind the 3D star, spread thinly across the whole header section,
   a sparser/calmer cousin of the homepage's hero__pixels field. */
.sol-pixel-field {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.sol-pixel-field canvas { width: 100%; height: 100%; display: block; }
.sol-star-bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 56%;
  height: 100%;
  z-index: 0;
  pointer-events: auto;
  opacity: .85;
}
.sol-star-bg canvas { width: 100%; height: 100%; display: block; }

/* About hero: same interactive pixel-grid technique as the homepage hero
   (assets/hero-pixels.js), but the lit field is a soft diagonal wave
   (assets/about-wave.js) rather than the star, recolored for the light
   `band--paper` background. */
.about-wave-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: auto;
}
.about-wave-bg canvas { width: 100%; height: 100%; display: block; }

.sol-hero h1.display {
  font-size: clamp(1.375rem, 0.5rem + 4.2vw, 3.125rem);
  max-width: 20ch;
}
.sol-hero .statement {
  font-size: clamp(0.65rem, 0.475rem + 0.85vw, 1rem);
}

/* Solutions overview + sub-pages: distribute the solution-area cards
   edge-to-edge, equally - 3 cards on the overview page, 2 on a sub-page
   (the current page is excluded), no leftover empty track either way. */
.solutions-grid .stack { grid-template-columns: 1fr; }
@media (min-width: 620px) {
  .solutions-grid .stack { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
}

.stack__card {
  display: flex; flex-direction: column;
  background: var(--ink-card); border: 1px solid var(--ink-hair);
  border-radius: var(--r); overflow: hidden;
  padding: clamp(1.25rem, 1rem + 1.4vw, 2rem);
}
@media (min-width: 1000px) { .stack__card { padding: clamp(1.1rem, 0.7rem + 1vw, 1.6rem); } }
.stack__idx {
  font-family: var(--font-display); font-weight: 700; font-size: 0.75rem;
  letter-spacing: 0.16em; color: var(--on-dark-muted); font-variant-numeric: tabular-nums;
}
.stack__art {
  width: 96px; height: 96px; flex: none;
  align-self: flex-start;
  margin: var(--s-6) 0 var(--s-8);
  padding: 12px;
  background: var(--electric);
  color: #fff;
  stroke-width: 15;
  stroke-linejoin: miter; stroke-linecap: square; stroke-miterlimit: 6;
}
.stack__art .d-accent { stroke: #fff; stroke-width: 15; }

/* "Three ways to work with us" — original pixel-art-style icons: plain
   white blocky glyphs (no coloured tile behind them), each with its own
   small looping animation stepped like a retro sprite rather than eased
   like the rest of the site's motion. */
#ways .stack__art {
  background: none;
  padding: 0;
  color: #fff;
  animation: none;
  shape-rendering: crispEdges;
}
@keyframes p-blink { 0%, 100% { opacity: 1; } 50% { opacity: .2; } }
#ways .stack__art .p-pulse { animation: p-blink 1.3s steps(2, jump-none) infinite; }
#ways .stack__art .p-chevron { opacity: .2; animation: p-blink 1.2s steps(2, jump-none) infinite reverse; }
#ways .stack__art .p-chevron-1 { animation-delay: 0s; }
#ways .stack__art .p-chevron-2 { animation-delay: .2s; }
#ways .stack__art .p-chevron-3 { animation-delay: .4s; }
#ways .stack__art .p-dot { opacity: .2; animation: p-blink 1.2s steps(2, jump-none) infinite reverse; }
#ways .stack__art .p-dot-1 { animation-delay: 0s; }
#ways .stack__art .p-dot-2 { animation-delay: .2s; }
#ways .stack__art .p-dot-3 { animation-delay: .4s; }
.stack__card h3 {
  margin: 0 0 var(--s-6);
  font-size: clamp(1.3rem, 1rem + 1vw, 1.9rem); font-weight: 500;
  line-height: 1.08; letter-spacing: -0.025em; color: var(--on-dark);
  text-wrap: balance;
}
.stack__card p { margin: 0; color: var(--on-dark-muted); font-size: var(--fs-body); }
.stack__link {
  display: inline-flex; align-items: center; gap: var(--s-2);
  margin-top: auto; padding-top: var(--s-6);
  font-family: var(--font-display); font-weight: 600; font-size: 0.875rem;
  color: var(--violet-on-dark); text-decoration: none;
}
.stack__link svg { width: 15px; height: 15px; transition: transform .15s ease; }
.stack__link:hover svg { transform: translateX(3px); }

/* ---------- redesign: illustrative workflow chain ---------- */
.flow-chain {
  list-style: none; margin: var(--s-10) 0 0; padding: 0;
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3);
}
.flow-step {
  font-family: var(--font-display); font-weight: 600; font-size: 0.9375rem;
  padding: 10px 16px; border: 1px solid var(--ink-hair);
  border-radius: var(--r); background: var(--ink-card); color: var(--on-dark);
}
.flow-arrow { flex: none; color: var(--violet-on-dark); display: grid; place-items: center; }
.flow-arrow svg { width: 18px; height: 18px; }
@media (prefers-reduced-motion: reduce) {}

/* ---------- redesign: labelled demonstration proof card ---------- */
.demo-card {
  margin-top: var(--s-10);
  border: 1px dashed var(--line); border-radius: var(--r);
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  background: var(--paper-panel);
}
.demo-card__label {
  display: inline-block; font-family: var(--font-display); font-weight: 700;
  font-size: 0.6875rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--violet-strong); border: 1px solid currentColor; border-radius: 2px;
  padding: 4px 8px; margin-bottom: var(--s-4);
}
.demo-card h3 { margin: 0 0 var(--s-3); font-size: 1.3rem; }
.demo-card p { margin: 0 0 var(--s-3); max-width: 60ch; }
.demo-card p:last-child { margin-bottom: 0; }

/* ---------- redesign: editorial placeholder notices ---------- */
.todo-note {
  margin-top: var(--s-6);
  border-left: 3px solid var(--violet-strong);
  padding: var(--s-4) var(--s-6);
  background: var(--paper-panel);
  font-size: 0.9rem; color: var(--text-muted); max-width: 60ch;
}
.todo-note strong { color: var(--text-ink); }
.band--ink .todo-note, .band--grape .todo-note { background: rgba(255,255,255,.06); color: var(--on-dark-muted); }
.band--ink .todo-note strong, .band--grape .todo-note strong { color: #fff; }

/* ---------- redesign: two-up comparison (who it's for / isn't) ---------- */
.fit-grid { display: grid; gap: var(--s-6); margin-top: var(--s-10); }
@media (min-width: 760px) { .fit-grid { grid-template-columns: 1fr 1fr; } }
.fit-col { border: 1px solid var(--ink-hair); border-radius: var(--r); padding: clamp(1.25rem, 1rem + 1.4vw, 2rem); }
.fit-col h3 { margin: 0 0 var(--s-4); font-size: 1.15rem; }
.fit-col--no { opacity: .85; }

/* ---------- redesign: nav current-page indicator ---------- */
.overlay-nav a.is-current span.overlay-nav__idx,
.site-header__actions a.is-current { color: var(--violet-on-dark); }

@media (min-width: 1000px) {
  .stack__card h3 { min-height: 2.2em; }  /* keep card heights consistent across the row */
}

/* ---------- about ---------- */
.about-grid { display: grid; gap: var(--s-12); }
@media (min-width: 900px) {
  .about-grid { grid-template-columns: 1fr 1.15fr; align-items: center; }
}
.about-visual { align-self: center; }
.about-copy .statement--tight { margin-bottom: var(--s-6); }
.about-copy .prose { margin: 0; }
.about-map { display: block; width: 100%; height: auto; }

.about-facts {
  margin-top: var(--s-8);
  border: 1px solid var(--ink-hair); border-radius: var(--r);
  padding: clamp(1.25rem, 1rem + 1.6vw, 2.25rem);
  background: var(--ink-card);
}
.bracket-list { margin: 0; display: grid; gap: var(--s-6); }
.bracket-list div { display: grid; gap: var(--s-1); }
.bracket-list dt {
  display: flex; align-items: center; gap: var(--s-2);
  font-family: var(--font-display); font-weight: 700; font-size: var(--fs-kicker);
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--violet-on-dark);
}
.bracket-list dt svg { width: 13px; height: 13px; }
.bracket-list dd {
  margin: 0; font-family: var(--font-display); font-weight: 500;
  font-size: 1.0625rem; letter-spacing: -0.01em; color: var(--on-dark);
}

/* ---------- technology cols ---------- */
.pull {
  margin: 0 0 var(--s-16);
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(1.5rem, 1rem + 2.4vw, 2.6rem);
  line-height: 1.15; letter-spacing: -0.025em;
  color: var(--on-dark); max-width: 24ch; text-wrap: balance;
}
.cols { display: grid; gap: var(--s-12); }
@media (min-width: 760px) { .cols { grid-template-columns: repeat(2, 1fr); column-gap: var(--s-16); } }
.col__title {
  margin: 0 0 var(--s-2); font-size: 1.375rem; font-weight: 500;
  letter-spacing: -0.02em; color: var(--on-dark);
}
.col__lead { margin: 0 0 var(--s-6); color: var(--on-dark-muted); font-size: 1.0625rem; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-3); }
.ticks li {
  display: flex; align-items: center; gap: var(--s-3);
  font-family: var(--font-display); font-weight: 500; font-size: 1.1875rem;
  letter-spacing: -0.01em; color: var(--on-dark);
}
.ticks svg { width: 14px; height: 14px; color: var(--violet-on-dark); flex: none; }

/* ---------- contact form ---------- */
.form { display: grid; gap: var(--s-6); max-width: 460px; }
.field { display: grid; gap: var(--s-2); }
.field label {
  font-family: var(--font-display); font-weight: 600; font-size: 0.9375rem;
  letter-spacing: 0.02em; color: var(--on-dark);
}
.field input {
  font-family: var(--font-body); font-size: var(--fs-control); color: var(--ink);
  padding: 13px 14px; min-height: 48px;
  background: #fff; border: 1.5px solid rgba(255, 255, 255, .55); border-radius: 3px;
}
.field input::placeholder { color: #8a8397; }
.field input:hover { border-color: #fff; }
.field input:focus-visible { outline-color: #fff; border-color: #fff; }
.form__note { margin: 0; font-size: 0.875rem; color: var(--on-dark); max-width: 44ch; }
.form__note[data-ok] { color: #fff; font-weight: 600; }

/* ---------- footer (quadrant layout) ---------- */
.site-footer { background: var(--ink); color: var(--on-dark); }
.footer-grid {
  max-width: var(--wrap); margin-inline: auto;
  display: grid; grid-template-columns: repeat(20, 1fr);
  border: 1px solid var(--ink-hair);
}
.footer-cell { padding: clamp(1.75rem, 3.4vw, 3.25rem); }
.footer-nav-cell   { grid-column: span 7; }   /* both rows: 35 / 65 — */
.footer-action-cell { grid-column: span 13; } /* action lines up with the purple box below */
.footer-cta-cell   { grid-column: span 7; }
.footer-brand-cell { grid-column: span 13; }
.footer-nav-cell, .footer-cta-cell { border-right: 1px solid var(--ink-hair); }
.footer-nav-cell, .footer-action-cell { border-bottom: 1px solid var(--ink-hair); }

.footer-nav-cols { display: flex; flex-wrap: wrap; gap: clamp(2rem, 5vw, 4.5rem); margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.foot-col { display: grid; gap: 2px; align-content: start; }
.foot-col h2, .foot-col__label {
  margin: 0 0 var(--s-4); font-family: var(--font-display); font-weight: 700;
  font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--violet-on-dark);
}
.foot-col a {
  font-family: var(--font-body); font-size: 1rem; color: var(--on-dark-muted);
  text-decoration: none; padding: 5px 0;
}
.foot-col a:hover { color: #fff; }
.foot-col a.foot-contact {
  font-size: 1.1rem; font-weight: 600; color: var(--violet-on-dark);
}
.foot-col a.foot-contact:hover { color: #fff; }

.footer-action-cell { display: flex; flex-direction: column; }
.footer-action__tile { width: 46px; height: 46px; background: var(--violet); display: grid; place-items: center; margin-bottom: var(--s-8); }
.footer-action__tile svg, .footer-action__tile img { width: 24px; height: 24px; color: #fff; }
.footer-action__list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-2); }
.footer-action__list li {
  font-family: var(--font-display); font-weight: 500; letter-spacing: -0.01em;
  font-size: clamp(1.1rem, 1rem + 0.7vw, 1.5rem);
  color: rgba(237, 234, 244, .3); transition: color .35s ease;
}
.footer-action__list li.is-active { color: #fff; }
.footer-action__legal { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-6); margin-top: auto; padding-top: clamp(2rem, 5vw, 4rem); justify-content: flex-end; }
.footer-action__legal a { font-size: 0.8125rem; color: var(--on-dark-muted); text-decoration: none; }
.footer-action__legal a:hover { color: #fff; }
.footer-action__legal a.footer-action__social { display: inline-flex; align-items: center; gap: 4px; }
.footer-action__legal a.footer-action__social svg { width: 11px; height: 11px; }

.footer-cta-cell { background: var(--paper); color: var(--text-ink); }
.footer-cta-cell .kicker span { color: var(--violet-strong); }
.footer-cta__title {
  margin: var(--s-6) 0 var(--s-12);
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(1.6rem, 1rem + 2.6vw, 2.6rem); line-height: 1.04;
  letter-spacing: -0.03em; color: var(--text-ink); max-width: 15ch;
}
.btn-sq--ink .btn-sq__icon { background: var(--ink); }
.btn-sq--ink:hover .btn-sq__icon { background: #000; }

.footer-brand-cell {
  position: relative; overflow: clip;
  background: var(--violet); color: #fff;
  padding: 0;
  min-height: clamp(200px, 20vw, 280px);
}
.footer-brand__logo {
  position: absolute; top: 5px; left: 5px;
  width: calc(100% - 5px); height: auto; max-width: none;
  display: block;
}
.footer-brand__meta {
  position: absolute; right: clamp(1rem, 2.4vw, 2rem); bottom: clamp(0.75rem, 2vw, 1.5rem);
  font-size: 0.6875rem; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255, 255, 255, .75);
}

@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-cell { grid-column: 1 / -1; }
  .footer-nav-cell, .footer-cta-cell { border-right: 0; }
  .footer-cta-cell, .footer-action-cell { border-bottom: 1px solid var(--ink-hair); }
  .footer-action__legal { justify-content: flex-start; }
}

/* ---------- "what you can expect" — hover-block rows (#commitment) ---------- */
.expect { list-style: none; margin: var(--s-16) 0 0; padding: 0; border-top: 1px solid var(--ink-hair); }
.expect-row {
  display: grid;
  grid-template-columns: auto 1fr minmax(24%, 36ch);
  align-items: center;
  gap: clamp(1rem, 4vw, 4rem);
  padding-block: clamp(1rem, 3vw, 2.25rem);
  margin-inline: calc(50% - 50vw);
  padding-inline: calc(50vw - 50% + var(--gutter));
  border-bottom: 1px solid var(--ink-hair);
  transition: background-color .3s ease;
}
.expect-row__idx {
  align-self: start; font-family: var(--font-display); font-weight: 700;
  font-size: 0.8125rem; letter-spacing: 0.12em; color: var(--on-dark-muted);
  transition: color .3s ease;
}
.expect-row__word {
  margin: 0; font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2.4rem, 8.5vw, 6.5rem); line-height: .95; letter-spacing: -0.045em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(237, 234, 244, .3);
  text-stroke: 1px rgba(237, 234, 244, .3);
  transition: color .3s ease, -webkit-text-stroke-color .3s ease;
}
.expect-row__desc { margin: 0; font-size: var(--fs-body); line-height: 1.4; color: var(--on-dark-muted); transition: color .3s ease; }

.expect-row.is-active, .expect-row:hover { background: var(--violet); }
.expect-row.is-active .expect-row__word, .expect-row:hover .expect-row__word {
  color: #fff; -webkit-text-stroke-color: #fff; text-stroke-color: #fff;
}
.expect-row.is-active .expect-row__idx, .expect-row:hover .expect-row__idx,
.expect-row.is-active .expect-row__desc, .expect-row:hover .expect-row__desc { color: #fff; }
/* while pointing at the list, the default-active row yields to the hovered one */
.expect:hover .expect-row.is-active:not(:hover) { background: transparent; }
.expect:hover .expect-row.is-active:not(:hover) .expect-row__word {
  color: transparent; -webkit-text-stroke-color: rgba(237, 234, 244, .3);
}
.expect:hover .expect-row.is-active:not(:hover) .expect-row__idx,
.expect:hover .expect-row.is-active:not(:hover) .expect-row__desc { color: var(--on-dark-muted); }
@media (max-width: 720px) {
  .expect-row { grid-template-columns: auto 1fr; row-gap: var(--s-4); }
  .expect-row__desc { grid-column: 1 / -1; }
}

/* ---------- "what we build" — carousel ---------- */
.carousel { --cw: clamp(258px, 60vw, 440px); --cgap: var(--s-6); margin-top: var(--s-16); }
.carousel__viewport { overflow: hidden; }
.carousel__track {
  list-style: none; margin: 0; padding: 0;
  display: flex; gap: var(--cgap);
  padding-inline: calc(50% - var(--cw) / 2);
  transition: transform .55s cubic-bezier(.19, 1, .22, 1);
  will-change: transform;
}
.carousel__card {
  flex: 0 0 var(--cw);
  background: #08080b;
  border-color: rgba(255, 255, 255, .08);
  opacity: .35; transform: scale(.84);
  transition: opacity .45s ease, transform .45s ease;
}
.carousel__card.is-active { opacity: 1; transform: scale(1.05); }
.carousel__controls { display: flex; align-items: center; justify-content: center; gap: var(--s-4); margin-top: var(--s-12); margin-bottom: var(--s-8); }
.carousel__arrow {
  width: 52px; height: 52px; flex: none; display: grid; place-items: center;
  background: #08080b; color: #fff; border: 0; cursor: pointer;
  transition: background-color .15s ease;
}
.carousel__arrow:hover { background: #000; }
.carousel__arrow--prev svg { transform: scaleX(-1); }
.carousel__arrow svg { width: 22px; height: 22px; }
.carousel__dots { display: flex; gap: var(--s-2); }
.carousel__dots button {
  width: 9px; height: 9px; padding: 0; border: 0; cursor: pointer;
  background: rgba(255, 255, 255, .3);
}
.carousel__dots button.is-active { background: #fff; }
@media (prefers-reduced-motion: reduce) {
  .carousel__track, .carousel__card { transition: none; }
}

/* ---------- scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* Reference-inspired interactive scenes; existing Andromeda brand tokens. */
.scene { position:relative; overflow:hidden; isolation:isolate; }
#process.scene, #fields.scene { padding:64px 0 54px; min-height:700px; min-height:max(700px, calc(100svh - 76px)); content-visibility:visible; }
.scene__title { text-align:center; font-size:clamp(18px,1.4vw,24px); font-weight:500; margin:0; letter-spacing:-.025em; }
.scene__end { text-align:center; font-family:var(--font-display); font-size:clamp(18px,1.4vw,24px); margin:0; }
.vision__layout { display:grid; grid-template-columns:46% 30% 15%; column-gap:4.5%; align-items:center; min-height:500px; height:calc(100svh - 270px); padding:40px 7% 40px 4%; }
.vision__art { width:100%; aspect-ratio:1; position:relative; }
.vision__art canvas { display:block; width:100%; height:100%; }
.vision__copy { min-width:0; }
.vision__panel h3, .fields-scene__panel h3, .impact__heading { font-size:clamp(23px,1.75vw,34px); line-height:1.12; letter-spacing:-.035em; margin:0 0 32px; font-weight:500; }
.vision__panel p, .fields-scene__panel p, .impact__lead { font-size:clamp(18px,1.4vw,26px); line-height:1.28; margin:0; }
.vision__panel.is-active, .fields-scene__panel.is-active { animation:scene-copy .65s cubic-bezier(.16,1,.3,1) both; }
@keyframes scene-copy { from { opacity:0; transform:translateY(15px); filter:blur(3px); } to { opacity:1; transform:none; filter:none; } }
.scene-tab { display:flex; align-items:center; justify-content:flex-end; gap:12px; width:100%; border:0; background:transparent; padding:12px 0; cursor:pointer; color:#787180; font:500 clamp(16px,1.25vw,23px)/1.2 var(--font-display); text-align:right; transition:color .35s; }
.scene-tab span { width:5px; height:5px; border-radius:50%; flex:none; background:var(--violet); opacity:0; transform:scale(.2); transition:transform .55s cubic-bezier(.16,1,.3,1),opacity .35s; }
.scene-tab.is-active { color:var(--text-ink); }
.scene-tab.is-active span { opacity:1; transform:scale(1.3); }
.scene-tab:hover { color:var(--violet-strong); }
.scene-tab:focus-visible, .fields-scene__dots button:focus-visible, .scene__motion:focus-visible { outline:2px solid var(--focus); outline-offset:5px; }
.vision__nav { display:grid; gap:12px; }
.scene__motion { position:absolute; bottom:22px; right:3%; background:transparent; border:0; border-bottom:1px solid var(--line); color:var(--text-muted); font:500 12px var(--font-display); padding:5px 0; cursor:pointer; }
.fields-scene__layout { position:relative; z-index:1; display:grid; grid-template-columns:15% 30% 27%; justify-content:space-between; align-items:center; margin:80px 8% 36px 5%; min-height:560px; }
.fields-scene__nav { display:grid; gap:14px; }
.fields-scene__visual { position:relative; }
.fields-scene__images { position:relative; aspect-ratio: .76; overflow:hidden; border-radius:4px; background:var(--paper-panel); }
.fields-scene__images img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; filter:saturate(.65) brightness(.88); opacity:0; transform:scale(1.08) translateY(3%); transition:opacity .65s ease,transform 1.2s cubic-bezier(.16,1,.3,1); }
.fields-scene__images img.is-active { opacity:1; transform:scale(1) translateY(0); }
.fields-scene__dots { position:absolute; bottom:-8px; left:100%; display:grid; margin-left:6px; }
.fields-scene__dots button { width:24px; height:26px; border:0; padding:8px; display:flex; justify-content:center; background:transparent; cursor:pointer; transition:height .6s; }
.fields-scene__dots button span { width:5px; height:5px; border-radius:6px; background:#c5c0ce; transition:height .6s,background .4s; }
.fields-scene__dots button.is-active { height:52px; }
.fields-scene__dots button.is-active span { height:36px; background:var(--violet); }
.fields-scene__link { display:inline-block; font:500 clamp(18px,1.3vw,23px) var(--font-display); margin-top:40px; color:var(--text-ink); text-decoration:none; border-bottom:1px solid currentColor; padding-bottom:5px; }
.fields-scene__link:hover { color:var(--violet); }
.fields-scene__orbit { position:absolute; width:75vw; height:75vw; max-width:1500px; max-height:1500px; top:50%; left:-36%; transform:translateY(-50%) rotate(var(--field-turn,0deg)); transition:transform 1.5s cubic-bezier(.16,1,.3,1); opacity:.045; pointer-events:none; }
.fields-scene__orbit i { position:absolute; inset:0; border-radius:50%; background:repeating-conic-gradient(from 10deg,var(--violet) 0deg 43deg,transparent 43deg 52deg); mask:radial-gradient(transparent 57%,#000 57.2% 70%,transparent 70.2%); }
.fields-scene__orbit i:nth-child(2) { inset:14%; transform:rotate(34deg); }
.fields-scene__orbit i:nth-child(3) { inset:28%; transform:rotate(-18deg); }
@media(min-width:1700px) { .fields-scene__layout { margin-top:100px; } }
@media(max-width:900px) {
 #process.scene,#fields.scene { min-height:0; padding:56px 24px; }
 .vision__layout { padding:25px 0; height:auto; min-height:0; grid-template-columns:55% 40%; gap:5%; }
 .vision__nav { grid-column:1/-1; grid-row:2; display:flex; gap:16px; justify-content:center; flex-wrap:wrap; margin:20px 0; }
 .scene-tab { width:auto; font-size:17px; }
 .vision__panel h3,.fields-scene__panel h3,.impact__heading { font-size:25px; margin-bottom:24px; }
 .vision__panel p,.fields-scene__panel p,.impact__lead { font-size:18px; }
 .fields-scene__layout { grid-template-columns:46% 45%; margin:35px 0 0; gap:35px 9%; min-height:0; }
 .fields-scene__nav { grid-column:1/-1; display:flex; flex-wrap:wrap; justify-content:center; gap:6px 24px; }
 .fields-scene__orbit { width:120vw; height:120vw; left:-70%; }
}
@media(max-width:580px) {
 .vision__layout { display:flex; flex-direction:column; gap:0; }
 .vision__art { width:min(100%,390px); }
 .vision__nav { order:1; gap:6px 18px; margin:0 0 30px; }
 .vision__copy { order:2; min-height:230px; width:100%; }
 .vision__panel h3 { margin-bottom:20px; }
 .scene__end { margin-top:20px; }
 .scene__motion { bottom:15px; }
 .fields-scene__layout { display:flex; flex-direction:column; gap:32px; }
 .fields-scene__nav { gap:4px 18px; }
 .fields-scene__visual { width:85%; margin-right:12px; }
 .fields-scene__copy { min-height:260px; }
 .fields-scene__link { margin-top:25px; }
 .fields-scene__orbit { top:38%; }
}
@media(prefers-reduced-motion:reduce) { .scene *, .scene *::before { animation:none!important; transition:none!important; } }

/* ---------- "Is this you?" + "Built to be understood" merged, with an
   interactive impact chart — an original dashboard-style stat card
   (own layout, data and drawing; not copied from any specific product). */
#impact { background: #fff; }
.impact__layout { display: grid; gap: var(--s-12); }
.impact__intro { display: flex; flex-direction: column; align-items: flex-start; gap: var(--s-6); }
.impact__intro .display { margin: 0; }
.impact__intro .statement { margin: 0; }
.impact__heading { max-width: 20ch; }
.impact__lead { max-width: 40ch; }
.impact__intro .btn-pear { margin-top: var(--s-2); }
.impact__card {
  border: 1px solid var(--ink); background: transparent; border-radius: 6px;
  padding: clamp(1.5rem, 1.1rem + 1.6vw, 2.25rem);
}
.impact__legend {
  display: flex; flex-wrap: wrap; gap: 28px; margin-bottom: var(--s-6);
  font-family: var(--font-display); font-weight: 600; font-size: 0.8125rem; color: var(--text-muted);
}
.impact__legend-item { display: inline-flex; align-items: center; gap: 8px; }
.impact__legend-item::before {
  content: ""; display: inline-block; width: 14px; height: 3px; border-radius: 2px; flex: none;
}
.impact__legend-item--on { color: var(--text-ink); }
.impact__legend-item--on::before { background: var(--violet-strong); }
.impact__legend-item--off::before { background: var(--text-muted); opacity: .55; }
.impact__tabs {
  display: inline-flex; flex-wrap: wrap; gap: 4px;
  background: var(--paper); border-radius: 3px; padding: 4px; margin-bottom: var(--s-8);
}
.impact__tab {
  border: 0; background: transparent; cursor: pointer; white-space: nowrap;
  padding: 9px 16px; border-radius: 3px;
  font-family: var(--font-display); font-weight: 600; font-size: 0.8125rem;
  color: var(--text-muted); transition: background-color .2s ease, color .2s ease;
}
.impact__tab.is-active { background: var(--ink); color: #fff; }
.impact__tab:hover:not(.is-active) { color: var(--text-ink); }
.impact__svg { display: block; width: 100%; height: auto; overflow: visible; }
.impact__grid line { stroke: var(--line); stroke-width: 1; }
.impact__grid .impact__gridline { stroke-dasharray: 3 4; }
.impact__baseline {
  fill: none; stroke-width: 2.5; stroke: var(--text-muted); stroke-dasharray: 6 5;
  opacity: 0; transition: opacity .35s ease;
}
.impact__baseline.is-active { opacity: .9; }
.impact__line {
  fill: none; stroke-width: 3; stroke: var(--violet-strong);
  opacity: 0; transition: opacity .35s ease;
}
.impact__line.is-active { opacity: 1; }
.impact__dot {
  fill: var(--violet-strong); stroke: #fff; stroke-width: 2;
  transition: cx .5s cubic-bezier(.19,1,.22,1), cy .5s cubic-bezier(.19,1,.22,1);
}
.impact__axis { margin: var(--s-1) 0 0; font-size: 0.75rem; color: var(--text-muted); text-align: left; }
.impact__stat { margin-top: var(--s-4); }
.impact__stat-num {
  display: block; font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.9rem, 1.5rem + 1.4vw, 2.5rem); letter-spacing: -0.02em; color: var(--text-ink);
  transition: opacity .2s ease;
}
.impact__stat-label { display: block; margin-top: var(--s-1); font-size: 0.95rem; color: var(--text-muted); transition: opacity .2s ease; }
@media (min-width: 900px) {
  .impact__layout { grid-template-columns: 1fr 1fr; column-gap: var(--s-8); align-items: center; }
}

/* Keep the existing long FAQ link within narrow screens. */
@media(max-width:580px) { #faq .btn-sq--ghost { white-space:normal; max-width:100%; } .fields-scene__nav { display:grid; grid-template-columns:1fr 1fr; width:100%; gap:4px 16px; } .fields-scene__nav .scene-tab { justify-content:flex-start; text-align:left; font-size:16px; min-height:52px; } }

/* Refinement: square controls, branded Fields mark and editorial hero. */
.scene-tab span,.fields-scene__dots button span,.fields-scene__images { border-radius:0; }
#process.scene { padding-top:88px; padding-bottom:78px; }
#process .scene__title,#process .scene__end { text-align:left; padding-inline:var(--gutter); max-width:var(--wrap); margin-inline:auto; }
#process .kicker { text-align:left; padding-inline:var(--gutter); max-width:var(--wrap); margin:0 auto var(--s-6); width:100%; }
#process .kicker span { justify-content:flex-start; }

/* "Fields" section title — match the kicker/eyebrow style used elsewhere
   on the page (e.g. "Is this you?"): left-aligned, purple, square on the left */
#fields-h {
  display: flex; align-items: center; gap: 10px; width: 100%;
  text-align: left; padding-inline: var(--gutter); max-width: var(--wrap); margin: 0 auto var(--s-6);
  font-family: var(--font-display); font-weight: 700; font-size: var(--fs-kicker);
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--violet-strong);
}
#fields-h::before { content: ""; width: 8px; height: 8px; flex: none; background: currentColor; }

.fields-scene__orbit { opacity:.065; mix-blend-mode:multiply; width:72vw; height:auto; aspect-ratio:1809/1690; left:-36%; }
.fields-scene__orbit img { width:100%; height:100%; object-fit:contain; animation:field-brand-spin 100s linear infinite; }
@keyframes field-brand-spin { to { transform:rotate(360deg); } }
.hero--home { min-height:100svh; padding:clamp(180px,29vh,340px) 0 110px; }
.hero--home .hero__inner { justify-content:center; padding-inline:7.5%; }
.hero--home .hero__main { max-width:1100px; width:100%; }
.hero--home .display--xl { font-size:clamp(46px,5.4vw,104px); line-height:1.02; max-width:19ch; font-weight:500; letter-spacing:-.045em; margin:0; }
.hero--home .hero__sub { font-size:clamp(19px,1.65vw,30px); line-height:1.2; max-width:44ch; margin-top:30px; }
.hero--home .cta-row { margin-top:56px; gap:26px; }
.hero--home .btn-pear { border-radius:3px; padding:5px 5px 5px 15px; font-size:11px; letter-spacing:.12em; gap:20px; min-height:40px; }
.hero--home .btn-pear__icon { width:30px; height:30px; border-radius:2px; }
.hero--home .btn-pear:hover { padding-right: 9px; }
.hero--home .btn-line { top:0; font-size:14px; }
.case-section { background:#050506; padding-block:110px; overflow:hidden; }
.case-section__layout { display:grid; grid-template-columns:28% 66%; gap:6%; align-items:center; }
.case-section__intro h2 { font-size:clamp(26px,2.7vw,48px); line-height:1.06; letter-spacing:-.04em; margin:0 0 26px; }
.case-section__intro p { font-size:clamp(17px,1.3vw,22px); max-width:29ch; }
.case-carousel { min-width:0; }
.case-carousel__controls { display:flex; justify-content:flex-end; align-items:center; gap:10px; margin-bottom:20px; font:500 13px var(--font-display); color:var(--on-dark-muted); }
.case-carousel__controls span { margin-right:auto; }
.case-carousel__controls button { color:var(--on-dark); background:transparent; border:1px solid #45404c; border-radius:2px; min-width:36px; height:36px; cursor:pointer; font:500 20px var(--font-display); }
.case-carousel__controls [data-case-pause] { font-size:12px; padding:0 12px; }
.case-carousel__controls button:hover { background:var(--violet); }
.case-carousel__window { overflow:hidden; }
.case-carousel__track { display:flex; gap:20px; transition:transform .8s cubic-bezier(.22,1,.36,1); }
.case-card { position:relative; flex:0 0 94%; display:grid; grid-template-columns:45% 55%; min-height:370px; padding:14px; background:var(--paper); color:var(--text-ink); border-radius:8px; text-decoration:none; }
.case-card>img { width:100%; height:100%; min-height:340px; object-fit:cover; border-radius:3px; filter:saturate(.65); }
.case-card--logo>img { object-fit:contain; filter:none; background:#5a2cc0; padding:28px; }
.case-card__body { padding:20px 22px; display:flex; flex-direction:column; align-items:flex-start; }
.case-card__tag { background:#e0d3fd; color:var(--violet-strong); padding:5px 8px; font:700 10px var(--font-display); text-transform:uppercase; letter-spacing:.07em; }
.case-card .case-card__body h3 { color:var(--text-ink); font-size:clamp(23px,2.1vw,38px); line-height:1.05; margin:20px 0; letter-spacing:-.035em; }
.case-card__meta { font:500 13px var(--font-display); color:var(--text-muted); }
.case-card__arrow { align-self:flex-end; margin-top:auto; width:38px; height:38px; display:grid; place-items:center; background:var(--violet); color:#fff; font-size:24px; }
.case-card:hover .case-card__arrow { background:var(--violet-strong); }
.case-card:focus-visible { outline:3px solid var(--focus); outline-offset:-3px; }
.case-detail { padding-top:76px; }
.case-detail__grid { display:grid; grid-template-columns:40% 50%; gap:10%; align-items:center; }
.case-detail__grid>img { aspect-ratio:1; object-fit:cover; }
.case-detail__grid h2 { font-size:40px; line-height:1.1; }
.case-detail__grid h3 { margin:28px 0 12px; }
@media(max-width:900px) { .case-section__layout { grid-template-columns:1fr; gap:32px; } .case-section__intro { max-width:600px; } .case-section__intro p { max-width:none; } .case-card { min-height:340px; } .fields-scene__orbit { width:120vw; left:-70%; } }
@media(max-width:580px) {
 #process.scene { padding-top:72px; padding-bottom:70px; }
 #process .scene__title,#process .scene__end,#process .kicker { padding-inline:0; }
 .hero--home { padding:170px 0 85px; min-height:90svh; }
 .hero--home .hero__inner { padding-inline:24px; }
 .hero--home .display--xl { font-size:46px; }
 .hero--home .hero__sub { font-size:20px; margin-top:25px; }
 .hero--home .cta-row { margin-top:38px; gap:22px; }
 .hero--home .btn-pear { font-size:10px; gap:12px; }
 .case-section { padding-block:70px; }
 .case-card { grid-template-columns:1fr; flex-basis:94%; }
 .case-card>img { height:210px; min-height:0; }
 .case-card__body { min-height:240px; padding:20px 8px 8px; }
 .case-card .case-card__body h3 { font-size:28px; }
 .case-detail__grid { grid-template-columns:1fr; }
}
@media(prefers-reduced-motion:reduce) { .fields-scene__orbit img { animation:none; } .case-carousel__track { transition:none; } }
/* Let the particle canvas define the row height so its labels never overlap. */
@media(min-width:901px) { .vision__layout { height:auto; min-height:560px; padding-top:56px; padding-bottom:56px; } }

/* Landing composition: headline and CTA above a small bottom-left introduction. */
.hero--home { min-height:calc(100svh - var(--header-h)); padding:0; }
.hero--home .hero__inner { min-height:calc(100svh - var(--header-h)); padding:clamp(60px,9vh,130px) var(--gutter) 36px; display:flex; gap:0; justify-content:flex-start; }
.hero--home .hero__main { display:contents; }
.hero--home .display--xl { order:0; max-width:14ch; font-size:clamp(50px,5.1vw,98px); line-height:.98; }
.hero--home .cta-row { order:1; margin-top:36px; margin-bottom:70px; }
.hero--home .hero__sub { order:2; margin-top:auto; max-width:65ch; font-size:calc(clamp(15px,1.05vw,19px) + 3px); line-height:1.35; color:#fff; }
.site-header.is-inverse { background:rgba(243,241,236,.96); color:var(--ink); border-bottom-color:rgba(11,10,18,.12); backdrop-filter:blur(12px); }
.site-header.is-inverse .brand__lockup { filter:brightness(0); }
.site-header.is-inverse .btn-cta { color:var(--ink); }
.site-header.is-inverse .btn-pear { background:var(--ink); color:#fff; }
.site-header.is-inverse .btn-pear:hover { background:#211f2c; }
.site-header.is-inverse .menu-toggle { color:var(--ink); border-color:rgba(11,10,18,.2); background:rgba(11,10,18,.035); }
.site-header.is-inverse .menu-toggle:hover { background:rgba(11,10,18,.09); }
@media(max-width:580px) {
 .hero--home .hero__inner { min-height:calc(100svh - var(--header-h)); padding:60px 24px 32px; }
 .hero--home .display--xl { font-size:clamp(42px,11.7vw,64px); max-width:14ch; }
 .hero--home .cta-row { margin-top:30px; margin-bottom:64px; gap:20px; }
 .hero--home .hero__sub { font-size:18px; max-width:42ch; }
}

/* Native scroll-pinned workflow, with one readable interval per stage. */
.vision-scroll { position:relative; overflow:visible; }
#process.vision--scroll { position:sticky; top:var(--vision-pin-top,76px); height:var(--vision-pin-height); min-height:0; padding:32px 0; display:flex; flex-direction:column; }
#process.vision--scroll .scene__title,#process.vision--scroll .scene__end,#process.vision--scroll .kicker { width:100%; flex:none; }
#process.vision--scroll .vision__layout { flex:1; min-height:0; height:auto; padding-block:18px; }
#process.vision--scroll .vision__art { width:min(100%,calc(var(--vision-pin-height) - 155px)); justify-self:center; }
#process.vision--scroll .scene__motion { bottom:14px; }
@media(max-width:900px) {
 #process.vision--scroll { padding:24px; }
 #process.vision--scroll .vision__layout { display:flex; flex-direction:column; justify-content:center; gap:12px; }
 #process.vision--scroll .vision__art { width:min(230px,26svh); flex:none; }
 #process.vision--scroll .vision__nav { order:1; margin:0; gap:3px 16px; flex:none; }
 #process.vision--scroll .vision__copy { order:2; min-height:190px; width:100%; max-width:560px; }
 #process.vision--scroll .vision__panel h3 { font-size:23px; margin-bottom:14px; }
 #process.vision--scroll .vision__panel p { font-size:16px; line-height:1.3; }
 #process.vision--scroll .scene-tab { font-size:15px; padding-block:8px; }
 #process.vision--scroll .scene__end { margin-top:36px; }
}
@media(max-height:650px) {
 #process.vision--scroll { padding-block:15px; }
 #process.vision--scroll .vision__art { width:min(140px,20svh); }
 #process.vision--scroll .vision__copy { min-height:0; }
 #process.vision--scroll .vision__panel h3 { font-size:20px; margin-bottom:10px; }
 #process.vision--scroll .vision__panel p { font-size:14px; }
}
