/* ==========================================================================
   Syed Growth — design system
   Dark premium canvas, one electric accent, oversized editorial type.
   ========================================================================== */

/* ---- 1. Tokens ---------------------------------------------------------- */

:root {
  /* surface */
  --ink:        #05060a;
  --ink-2:      #0a0c12;
  --ink-3:      #10131b;
  --ink-4:      #171b25;
  --line:       rgba(255, 255, 255, 0.09);
  --line-soft:  rgba(255, 255, 255, 0.05);
  --line-hard:  rgba(255, 255, 255, 0.18);

  /* type */
  --text:       #edeff5;
  --text-dim:   #a3aab9;
  --text-faint: #7c8497;

  /* accent — these five lines re-theme the entire site */
  --accent-rgb: 204, 255, 63;          /* the accent, as an RGB triple */
  --accent-deep: #a8dd18;              /* darker shade, used in the logo mark */
  --accent-mid: #b6ff8f;               /* middle stop of the headline gradient */
  --accent-far: #6fe9ff;               /* end stop of the headline gradient */

  --acid:       rgb(var(--accent-rgb));
  --acid-deep:  var(--accent-deep);
  --acid-glow:  rgba(var(--accent-rgb), 0.22);
  --violet:     #7c5cff;
  --violet-glow:rgba(124, 92, 255, 0.25);

  /* primary button — kept as its own token so it can be retuned in one place */
  --btn-primary-bg:    var(--acid);
  --btn-primary-bg-hi: #d9ff6e;
  --btn-primary-fg:    #06070b;

  /* radii + shadow */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 32px;
  --r-full: 999px;
  --shadow-lift: 0 24px 60px -24px rgba(0, 0, 0, 0.85);

  /* rhythm */
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --maxw: 1240px;
  --section-y: clamp(3.25rem, 5.5vw, 5rem);

  /* type families */
  --font-display: 'Bricolage Grotesque', 'Inter Tight', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---- 2. Reset ----------------------------------------------------------- */

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  line-height: 1.65;
  font-feature-settings: 'ss01' 1, 'cv11' 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
figure, blockquote, dl, dd { margin: 0; }

::selection { background: var(--acid); color: #05060a; }

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--acid);
  color: #05060a;
  padding: 0.75rem 1.25rem;
  border-radius: 0 0 var(--r-md) 0;
  font-weight: 600;
}
.skip-link:focus { left: 0; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* ---- 3. Layout primitives ---------------------------------------------- */

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

.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: clamp(2.25rem, 4vw, 3.5rem); }

.section-head { max-width: 46rem; margin-bottom: clamp(1.75rem, 3.2vw, 2.75rem); }
.section-head--center { margin-inline: auto; text-align: center; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 1.35rem;
}
.eyebrow::before {
  content: '';
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 0 4px var(--acid-glow);
}
.eyebrow--plain::before { display: none; }

.h-xl { font-size: clamp(2.5rem, 6.6vw, 5.25rem); }
.h-lg { font-size: clamp(2.25rem, 5.2vw, 3.9rem); }
.h-md { font-size: clamp(1.65rem, 3vw, 2.4rem); letter-spacing: -0.03em; }
.h-sm { font-size: clamp(1.2rem, 1.8vw, 1.45rem); letter-spacing: -0.02em; line-height: 1.25; }

.lede {
  font-size: clamp(1.05rem, 0.98rem + 0.45vw, 1.3rem);
  line-height: 1.62;
  color: var(--text-dim);
  max-width: 46ch;
}
.section-head--center .lede { margin-inline: auto; }

.dim { color: var(--text-dim); }
.acid { color: var(--acid); }

/* gradient text used sparingly on one line of a headline */
.grad {
  background: linear-gradient(95deg, var(--acid) 0%, var(--accent-mid) 48%, var(--accent-far) 104%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.rule {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
  border: 0;
  margin: 0;
}

/* ---- 4. Atmosphere: grain + glow --------------------------------------- */

.grain {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.5;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.35'/%3E%3C/svg%3E");
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
}
.glow--acid { background: var(--acid-glow); }
.glow--violet { background: var(--violet-glow); }

/* ---- 5. Buttons --------------------------------------------------------- */

.btn {
  --btn-bg: transparent;
  --btn-fg: var(--text);
  --btn-bd: var(--line-hard);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 1.6rem;
  border-radius: var(--r-full);
  border: 1px solid var(--btn-bd);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 550;
  font-size: 0.97rem;
  letter-spacing: -0.01em;
  cursor: pointer;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  transition: transform 0.35s var(--ease), border-color 0.3s, background 0.3s, color 0.3s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  --btn-bg: var(--btn-primary-bg);
  --btn-fg: var(--btn-primary-fg);
  --btn-bd: var(--btn-primary-bg);
  font-weight: 650;
  box-shadow: 0 12px 34px -14px rgba(var(--accent-rgb), 0.65);
}
.btn--primary:hover {
  --btn-bg: var(--btn-primary-bg-hi);
  --btn-bd: var(--btn-primary-bg-hi);
}

.btn--ghost:hover { --btn-bd: var(--acid); --btn-fg: var(--acid); }

.btn--lg { padding: 1.1rem 2rem; font-size: 1.03rem; }
.btn--sm { padding: 0.6rem 1.1rem; font-size: 0.85rem; }
.btn--block { width: 100%; }

.btn .arw { transition: transform 0.35s var(--ease); }
.btn:hover .arw { transform: translateX(4px); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 550;
  color: var(--text);
  border-bottom: 1px solid var(--line-hard);
  padding-bottom: 2px;
  transition: color 0.25s, border-color 0.25s;
}
.link-arrow:hover { color: var(--acid); border-color: var(--acid); }
.link-arrow .arw { transition: transform 0.3s var(--ease); }
.link-arrow:hover .arw { transform: translateX(4px); }

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
}

/* ---- 6. Header ---------------------------------------------------------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background 0.35s, border-color 0.35s, backdrop-filter 0.35s;
  border-bottom: 1px solid transparent;
}
.site-header.is-stuck {
  background: rgba(5, 6, 10, 0.78);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  border-bottom-color: var(--line-soft);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 76px;
}

.logo { display: inline-flex; align-items: center; gap: 0.7rem; }
.logo-mark {
  width: 38px; height: 38px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: linear-gradient(140deg, var(--acid), var(--acid-deep) 65%, var(--violet));
  color: #06070b;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.05em;
  box-shadow: 0 6px 20px -8px var(--acid-glow);
}
.logo-word {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.06rem;
  letter-spacing: -0.04em;
  white-space: nowrap;
}

.nav { display: flex; align-items: center; gap: 0.35rem; }
.nav a {
  position: relative;
  padding: 0.5rem 0.8rem;
  border-radius: var(--r-full);
  font-size: 0.92rem;
  color: var(--text-dim);
  transition: color 0.25s, background 0.25s;
}
/* An accent rule sweeps out from the centre on hover, and stays put on the
   current page — so the active tab is marked by more than a fill. */
.nav a::after {
  content: '';
  position: absolute;
  left: 0.8rem;
  right: 0.8rem;
  bottom: 0.28rem;
  height: 1.5px;
  border-radius: 2px;
  background: var(--acid);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.32s var(--ease);
}
.nav a:hover::after,
.nav a:focus-visible::after,
.nav a[aria-current='page']::after { transform: scaleX(1); }
.nav a:hover, .nav a[aria-current='page'] { color: var(--text); background: rgba(255,255,255,0.05); }
.nav a[aria-current='page'] { color: var(--acid); }

.header-cta { display: flex; align-items: center; gap: 0.6rem; }

.burger {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid var(--line-hard);
  border-radius: var(--r-full);
  background: transparent;
  cursor: pointer;
  padding: 0;
  place-items: center;
}
.burger span {
  display: block;
  width: 16px; height: 1.5px;
  background: var(--text);
  transition: transform 0.3s var(--ease), opacity 0.2s;
}
.burger span + span { margin-top: 4px; }
.burger[aria-expanded='true'] span:first-child { transform: translateY(2.75px) rotate(45deg); }
.burger[aria-expanded='true'] span:last-child { transform: translateY(-2.75px) rotate(-45deg); }

.mobile-nav {
  position: fixed;
  inset: 76px 0 auto 0;
  z-index: 99;
  background: rgba(5,6,10,0.97);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
  padding: 1.25rem var(--gutter) 2rem;
  display: none;
  flex-direction: column;
  gap: 0.15rem;
}
.mobile-nav.is-open { display: flex; animation: slideDown 0.35s var(--ease); }
.mobile-nav a {
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--line-soft);
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}
.mobile-nav .btn { margin-top: 1.25rem; }

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 980px) {
  .nav, .header-cta .btn--ghost { display: none; }
  .burger { display: grid; }
}

/* ---- 7. Hero ------------------------------------------------------------ */

.hero {
  position: relative;
  padding-top: clamp(6.5rem, 12vh, 8.5rem);
  padding-bottom: clamp(2.25rem, 4vw, 3.25rem);
  overflow: hidden;
}
.hero .glow--acid { width: 620px; height: 620px; top: -220px; left: -160px; }
.hero .glow--violet { width: 540px; height: 540px; top: 60px; right: -220px; }

.hero-head {
  position: relative;
  z-index: 2;
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.86fr);
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: start;
}

.hero h1 .line { display: block; }
.hero h1 .line:first-child { font-size: 0.86em; }

.hero .lede { max-width: 38rem; font-size: clamp(1.05rem, 0.95rem + 0.5vw, 1.22rem); }

.hero-cta { margin-top: 2.3rem; }

.trust-line {
  margin-top: 1.4rem;
  font-size: 0.88rem;
  color: var(--text-faint);
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}
.trust-line svg { flex: none; color: var(--acid); margin-top: 0.32em; }

/* Hero visual: an "AI answer" card that types itself in */
@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-7px); }
}

.answer-card {
  position: relative;
  animation: floatCard 7s ease-in-out infinite;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: linear-gradient(170deg, rgba(23,27,37,0.9), rgba(10,12,18,0.9));
  box-shadow: var(--shadow-lift);
  overflow: hidden;
  backdrop-filter: blur(6px);
}
.answer-card__bar {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.1rem;
  border-bottom: 1px solid var(--line-soft);
  background: rgba(255,255,255,0.02);
}
.answer-card__dots { display: flex; gap: 5px; }
.answer-card__dots i {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--line-hard);
}
.answer-card__title {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.answer-card__body { padding: 1.35rem 1.35rem 1.5rem; }

.prompt-row {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  margin-bottom: 1.1rem;
}
.prompt-avatar {
  flex: none;
  width: 26px; height: 26px;
  border-radius: 8px;
  display: grid; place-items: center;
  font-size: 0.62rem;
  font-family: var(--font-mono);
  background: rgba(255,255,255,0.07);
  color: var(--text-dim);
}
.prompt-avatar--ai { background: var(--acid); color: #06070b; font-weight: 700; }
.prompt-text { font-size: 0.94rem; color: var(--text-dim); }
.prompt-text strong { color: var(--text); font-weight: 550; }

.typed { font-size: 0.95rem; line-height: 1.6; color: var(--text); min-height: 5.2em; }
.typed .cursor {
  display: inline-block;
  width: 7px; height: 1.05em;
  background: var(--acid);
  vertical-align: -0.18em;
  margin-left: 2px;
  animation: blink 1s steps(2) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

.cite-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 1.15rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--line-soft);
}
.chip {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  padding: 0.35rem 0.6rem;
  border-radius: var(--r-full);
  border: 1px solid var(--line);
  color: var(--text-faint);
}
.chip--live { border-color: rgba(var(--accent-rgb), 0.4); color: var(--acid); background: rgba(var(--accent-rgb), 0.06); }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

@media (max-width: 560px) {
  .header-inner { gap: 0.75rem; height: 68px; }
  .logo-mark { width: 34px; height: 34px; border-radius: 10px; font-size: 0.85rem; }
  .logo-word { font-size: 0.98rem; }
  .header-cta .btn--primary { padding: 0.55rem 0.9rem; font-size: 0.82rem; }
  .mobile-nav { inset-block-start: 68px; }
}

/* ---- 8. Logo / engine marquee ------------------------------------------ */

.marquee {
  border-block: 1px solid var(--line-soft);
  padding-block: 1.15rem;
  overflow: hidden;
  position: relative;
  --mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: var(--mask);
  mask-image: var(--mask);
}
.marquee__track {
  display: flex;
  gap: 3.5rem;
  width: max-content;
  animation: slide 34s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
  white-space: nowrap;
}
.marquee__item::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--acid);
  opacity: 0.55;
}
@keyframes slide { to { transform: translateX(-50%); } }

/* ---- 9. Problem section ------------------------------------------------- */

.problem { background: linear-gradient(180deg, var(--ink), var(--ink-2) 60%, var(--ink)); }

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.leak-list { display: grid; gap: 0.8rem; }
.leak {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.15rem 1.3rem;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: rgba(255,255,255,0.018);
  transition: border-color 0.3s, transform 0.3s var(--ease), background 0.3s;
}
.leak:hover { border-color: rgba(var(--accent-rgb), 0.3); transform: translateX(4px); background: rgba(var(--accent-rgb), 0.03); }
.leak__num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--acid);
  padding-top: 0.28rem;
  flex: none;
}
.leak__t { font-weight: 600; margin-bottom: 0.2rem; letter-spacing: -0.01em; }
.leak__d { font-size: 0.93rem; color: var(--text-dim); line-height: 1.55; }

.bridge {
  margin-top: clamp(1.75rem, 3vw, 2.5rem);
  padding: 1.35rem 1.6rem;
  border-left: 2px solid var(--acid);
  background: linear-gradient(90deg, rgba(var(--accent-rgb), 0.06), transparent 70%);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  line-height: 1.5;
  letter-spacing: -0.015em;
  max-width: 52rem;
}

/* ---- 10. What we do — service cards ------------------------------------ */

.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
}
@media (max-width: 1000px) { .svc-grid { grid-template-columns: 1fr; } }

.svc {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(1.6rem, 2.4vw, 2.2rem);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0.008));
  overflow: hidden;
  transition: border-color 0.4s, transform 0.5s var(--ease);
  min-height: 100%;
}
.svc::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(150deg, rgba(var(--accent-rgb), 0.55), transparent 45%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.45s;
  pointer-events: none;
}
.svc:hover { transform: translateY(-6px); }
.svc:hover::after { opacity: 1; }

/* when linked to directly (e.g. from the nav) the card flags itself */
.svc:target {
  border-color: rgba(var(--accent-rgb), 0.45);
  background: linear-gradient(180deg, rgba(var(--accent-rgb), 0.07), rgba(255, 255, 255, 0.01));
}
.svc:target::after { opacity: 1; }
.svc:target .svc__num b { color: var(--acid); }

.svc__num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--text-faint);
  margin-bottom: 1.7rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.svc__num b { color: var(--acid); font-weight: 500; }
.svc__num i {
  flex: 1;
  height: 1px;
  background: var(--line);
  font-style: normal;
}

.svc__kicker {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 2.6vw, 2.15rem);
  letter-spacing: -0.04em;
  margin-bottom: 0.55rem;
}
.svc__title {
  font-weight: 600;
  color: var(--acid);
  font-size: 0.98rem;
  letter-spacing: -0.015em;
  margin-bottom: 0.9rem;
  line-height: 1.35;
}
.svc__body { color: var(--text-dim); font-size: 0.95rem; line-height: 1.62; }

.svc__list {
  list-style: none;
  margin: 1.35rem 0 0;
  display: grid;
  gap: 0.5rem;
}
.svc__list li {
  display: flex;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: var(--text-dim);
  align-items: flex-start;
}
.svc__list li::before {
  content: '';
  flex: none;
  width: 14px; height: 14px;
  margin-top: 0.32rem;
  border-radius: 50%;
  border: 1px solid rgba(var(--accent-rgb), 0.45);
  background:
    linear-gradient(var(--acid), var(--acid)) center/5px 5px no-repeat;
  background-clip: content-box;
  padding: 4px;
}

.svc__foot { margin-top: auto; padding-top: 1.6rem; }

.closing-line {
  margin-top: clamp(1.75rem, 3vw, 2.5rem);
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.2vw, 1.6rem);
  letter-spacing: -0.03em;
  color: var(--text);
}
.closing-line span { color: var(--text-faint); }

.inline-cta {
  margin-top: 1.4rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  color: var(--text-dim);
  font-size: 0.98rem;
}

/* ---- 11. Process -------------------------------------------------------- */

.process { position: relative; }
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
@media (max-width: 960px) { .process-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 560px) { .process-grid { grid-template-columns: 1fr; } }

/* The reveal animation lives on this wrapper, not on the button. The observer
   adds .is-in straight to the DOM, and React would wipe it whenever the button
   re-renders with a new className. */
.step-cell { display: flex; background: var(--ink); }

.step {
  background: var(--ink);
  padding: clamp(1.5rem, 2.4vw, 2rem);
  position: relative;
  transition: background 0.4s, box-shadow 0.4s;
  /* it is a <button>: strip the UA styling, keep the card */
  border: 0;
  border-radius: 0;
  margin: 0;
  font: inherit;
  color: inherit;
  text-align: left;
  width: 100%;
  /* column flex so the “more” cue can sit on a shared baseline across the row,
     however long each card’s body copy runs */
  display: flex;
  flex-direction: column;
  flex: 1;
}
.step:hover { background: var(--ink-3); }
.step::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  height: 2px; width: 0;
  background: var(--acid);
  transition: width 0.6s var(--ease);
}
.step:hover::before, .step.is-in::before { width: 100%; }

/* focused step — the one the reader clicked */
.step.is-active {
  background: var(--ink-3);
  box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), 0.4);
}
.step.is-active::before { height: 3px; }
.step.is-active .step__n { color: var(--acid); }
.step.is-active .step__b { color: var(--text); }

/* invisible overlay that makes the whole card clickable */
.step__toggle {
  display: inline-block;
  background: none;
  border: 0;
  padding: 0;
  margin: 0;
  /* pushed to the foot of the card so every “more” cue in the row lines up */
  margin-top: auto;
  align-self: flex-start;
  cursor: pointer;
  font: inherit;
  color: inherit;
}
.step__toggle::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
}
.step__toggle:focus-visible { outline: none; }
.step__toggle:focus-visible::after {
  outline: 2px solid var(--acid);
  outline-offset: -4px;
  border-radius: 6px;
}

.step__cue {
  display: inline-block;
  margin-top: 1rem;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
  transition: color 0.3s;
}
.step:hover .step__cue { color: var(--text-dim); }
.step { cursor: pointer; }
.step.is-active .step__cue { color: var(--acid); }

/* the detail that expands on click — grid rows animate cleanly from nothing */
.step__detail {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows 0.45s var(--ease), opacity 0.3s ease;
}
.step__detail > div { overflow: hidden; }
.step.is-active .step__detail { grid-template-rows: 1fr; opacity: 1; }
.step__extra {
  margin-top: 0.9rem;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(var(--accent-rgb), 0.25);
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--text-dim);
}

.step__meta {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.step__n {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  letter-spacing: -0.05em;
  color: rgba(255,255,255,0.1);
  margin: 0.6rem 0 0.9rem;
  line-height: 1;
  transition: color 0.4s;
}
.step:hover .step__n { color: var(--acid); }
.step__t { font-size: 1.22rem; margin-bottom: 0.55rem; }
.step__b { font-size: 0.9rem; color: var(--text-dim); line-height: 1.6; }

/* ---- 12. Differentiator / chain ---------------------------------------- */

.chain {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-top: clamp(1.5rem, 2.6vw, 2.25rem);
}
@media (max-width: 760px) { .chain { grid-template-columns: 1fr; } }

.chain__node {
  padding: clamp(1.6rem, 3vw, 2.4rem);
  position: relative;
  background: linear-gradient(180deg, rgba(255,255,255,0.03), transparent);
  border-right: 1px solid var(--line);
}
.chain__node:last-child { border-right: 0; }
@media (max-width: 760px) {
  .chain__node { border-right: 0; border-bottom: 1px solid var(--line); }
  .chain__node:last-child { border-bottom: 0; }
}
.chain__label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--acid);
  margin-bottom: 0.9rem;
  display: block;
}
.chain__h { font-size: 1.35rem; margin-bottom: 0.5rem; }
.chain__p { font-size: 0.91rem; color: var(--text-dim); line-height: 1.6; }
.chain__flow {
  position: absolute;
  right: -9px; top: 50%;
  transform: translateY(-50%);
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--ink);
  border: 1px solid var(--line-hard);
  display: grid; place-items: center;
  color: var(--acid);
  font-size: 9px;
  z-index: 2;
}
@media (max-width: 760px) { .chain__flow { display: none; } }

/* ---- 13. Testimonials + stats ------------------------------------------ */

.quotes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
}
@media (max-width: 1040px) { .quotes { grid-template-columns: 1fr 1fr; } }
@media (max-width: 700px)  { .quotes { grid-template-columns: 1fr; } }

.quote {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(1.75rem, 2.6vw, 2.35rem);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.042), rgba(255, 255, 255, 0.012));
  overflow: hidden;
  transition: border-color 0.35s, transform 0.45s var(--ease);
}
/* accent hairline that draws in on hover */
.quote::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  height: 2px; width: 0;
  background: linear-gradient(90deg, var(--acid), transparent);
  transition: width 0.6s var(--ease);
}
.quote:hover { border-color: var(--line-hard); transform: translateY(-4px); }
.quote:hover::before { width: 100%; }

/* oversized quote glyph, kept quiet */
.quote::after {
  content: '”';
  position: absolute;
  top: -0.34em; right: 0.28em;
  font-family: var(--font-display);
  font-size: 8rem;
  line-height: 1;
  color: rgba(255, 255, 255, 0.05);
  pointer-events: none;
  transition: color 0.4s;
}
.quote:hover::after { color: rgba(var(--accent-rgb), 0.11); }

.quote__metric {
  position: relative;
  display: block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  line-height: 1.4;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--acid);
  padding-bottom: 1.15rem;
  margin-bottom: 1.35rem;
  border-bottom: 1px solid var(--line);
}

.quote__text {
  position: relative;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.35vw, 1.16rem);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -0.022em;
  color: var(--text);
  margin-bottom: 1.9rem;
  text-wrap: pretty;
}

.quote__who {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding-top: 1.35rem;
  border-top: 1px solid var(--line-soft);
  min-height: 3.5rem; /* keeps the rule aligned across cards when a role wraps */
  box-sizing: content-box;
}
.quote__ava {
  flex: none;
  width: 40px; height: 40px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(140deg, var(--ink-4), var(--ink-3));
  border: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 0.92rem;
  color: var(--text-dim);
}
.quote__name { display: block; font-weight: 600; font-size: 0.93rem; letter-spacing: -0.01em; }
.quote__role { display: block; font-size: 0.82rem; color: var(--text-faint); line-height: 1.35; }

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-top: 1.1rem;
}
@media (max-width: 860px) { .stats { grid-template-columns: repeat(2, minmax(0,1fr)); } }

.stat { background: var(--ink); padding: clamp(1.4rem, 2.4vw, 2rem); text-align: center; }
.stat__v {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  letter-spacing: -0.05em;
  line-height: 1;
  background: linear-gradient(160deg, #fff, var(--acid));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat__l {
  margin-top: 0.6rem;
  font-size: 0.83rem;
  color: var(--text-faint);
  line-height: 1.4;
}

.disclaimer {
  margin-top: 1.25rem;
  font-size: 0.8rem;
  color: var(--text-faint);
  text-align: center;
}

/* ---- 14. Final CTA ------------------------------------------------------ */

.final-cta { position: relative; overflow: hidden; }
.cta-panel {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: clamp(2.25rem, 4.5vw, 3.75rem) clamp(1.5rem, 5vw, 3.5rem);
  text-align: center;
  background:
    radial-gradient(120% 130% at 50% 0%, rgba(var(--accent-rgb), 0.12), transparent 55%),
    linear-gradient(180deg, var(--ink-3), var(--ink-2));
  overflow: hidden;
}
.cta-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(110% 90% at 50% 20%, #000, transparent 70%);
  mask-image: radial-gradient(110% 90% at 50% 20%, #000, transparent 70%);
  pointer-events: none;
}
.cta-panel > * { position: relative; z-index: 1; }
.cta-panel .lede { margin-inline: auto; max-width: 44rem; }
.cta-panel .cta-row { justify-content: center; margin-top: 2.2rem; }

/* ---- 15. Footer --------------------------------------------------------- */

.site-footer {
  border-top: 1px solid var(--line);
  padding-block: clamp(2.25rem, 4vw, 3.25rem) 1.75rem;
  background: var(--ink-2);
  position: relative;
  z-index: 2;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
  gap: clamp(2rem, 4vw, 3rem);
}
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-blurb { color: var(--text-dim); font-size: 0.93rem; margin-top: 1rem; max-width: 30ch; }
.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-faint);
  font-weight: 500;
  margin-bottom: 1rem;
}
.footer-col ul { list-style: none; display: grid; gap: 0.55rem; }
.footer-col a { font-size: 0.92rem; color: var(--text-dim); transition: color 0.25s; }
.footer-col a:hover { color: var(--acid); }

.footer-bottom {
  margin-top: clamp(1.75rem, 3vw, 2.5rem);
  padding-top: 1.35rem;
  border-top: 1px solid var(--line-soft);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  font-size: 0.83rem;
  color: var(--text-faint);
}

/* ---- 16. Forms ---------------------------------------------------------- */

.form-shell {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0.01));
  padding: clamp(1.5rem, 3.5vw, 2.5rem);
}

.field { display: grid; gap: 0.45rem; margin-bottom: 1.1rem; }
.field[hidden] { display: none; }
.field label { font-size: 0.86rem; font-weight: 550; letter-spacing: -0.005em; }
.field label .opt { color: var(--text-faint); font-weight: 400; }

.field input[type='text'],
.field input[type='email'],
.field input[type='tel'],
.field input[type='url'],
.field input[type='password'],
.field select,
.field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: rgba(0,0,0,0.35);
  color: var(--text);
  font-size: 0.97rem;
  transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
}
.field textarea { min-height: 130px; resize: vertical; line-height: 1.6; }
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23a3aab9' stroke-width='1.6'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}
.field input::placeholder, .field textarea::placeholder { color: var(--text-faint); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--acid);
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.13);
}
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: #ff6b6b; }
.field__err { font-size: 0.8rem; color: #ff8f8f; min-height: 0; }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 620px) { .field-row { grid-template-columns: 1fr; gap: 0; } }

.checks { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.check input { position: absolute; opacity: 0; pointer-events: none; }
.check span {
  display: inline-block;
  padding: 0.6rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--r-full);
  font-size: 0.88rem;
  color: var(--text-dim);
  cursor: pointer;
  transition: all 0.25s;
  user-select: none;
}
.check input:checked + span {
  border-color: var(--acid);
  color: var(--acid);
  background: rgba(var(--accent-rgb), 0.08);
}
.check input:focus-visible + span { outline: 2px solid var(--acid); outline-offset: 3px; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-note { font-size: 0.82rem; color: var(--text-faint); margin-top: 1rem; }

.form-alert {
  padding: 0.9rem 1.1rem;
  border-radius: var(--r-md);
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
  border: 1px solid;
}
.form-alert--err { border-color: rgba(255,107,107,0.4); background: rgba(255,107,107,0.08); color: #ffb3b3; }
.form-alert--ok { border-color: rgba(var(--accent-rgb), 0.4); background: rgba(var(--accent-rgb), 0.08); color: var(--acid); }

.success-state { text-align: center; padding: clamp(2rem, 5vw, 3.5rem) 1rem; }
.success-state__tick {
  width: 64px; height: 64px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(var(--accent-rgb), 0.12);
  border: 1px solid rgba(var(--accent-rgb), 0.4);
  color: var(--acid);
}

.btn[aria-busy='true'] { opacity: 0.7; pointer-events: none; }

/* ---- 16b. Modal (the form, opened from any CTA) ------------------------ */

.modal {
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--text);
  width: min(600px, calc(100vw - 2rem));
  max-width: none;
  max-height: calc(100dvh - 2rem);
  overflow: visible;
}
.modal::backdrop {
  background: rgba(3, 4, 8, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.modal[open] { animation: modalIn 0.4s var(--ease); }
.modal[open]::backdrop { animation: backdropIn 0.3s ease-out; }

@keyframes modalIn {
  from { opacity: 0; transform: translateY(18px) scale(0.985); }
  to   { opacity: 1; transform: none; }
}
@keyframes backdropIn { from { opacity: 0; } to { opacity: 1; } }

.modal__panel {
  position: relative;
  border: 1px solid var(--line-hard);
  border-radius: var(--r-lg);
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(var(--accent-rgb), 0.09), transparent 60%),
    linear-gradient(180deg, var(--ink-3), var(--ink-2));
  box-shadow: var(--shadow-lift);
  padding: clamp(1.5rem, 3.5vw, 2.25rem);
  max-height: calc(100dvh - 2rem);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.modal__close {
  position: absolute;
  top: 0.9rem; right: 0.9rem;
  width: 34px; height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.35);
  color: var(--text-dim);
  cursor: pointer;
  transition: color 0.25s, border-color 0.25s, transform 0.25s var(--ease);
}
.modal__close:hover { color: var(--acid); border-color: var(--acid); transform: rotate(90deg); }

.modal .eyebrow { margin-bottom: 0.85rem; max-width: calc(100% - 2.75rem); }
.modal [data-modal-title] { padding-right: 2.25rem; }
.modal__sub {
  color: var(--text-dim);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0.65rem 0 1.6rem;
}
.modal .success-state { padding-block: clamp(1.5rem, 4vw, 2.5rem); }

body.modal-open { overflow: hidden; }

/* ---- 17. Service detail pages ------------------------------------------ */

.page-hero {
  padding-top: clamp(6.5rem, 12vh, 8.5rem);
  padding-bottom: clamp(1.75rem, 3vw, 2.5rem);
  position: relative;
  overflow: hidden;
}
.page-hero .glow--acid { width: 520px; height: 520px; top: -240px; left: 20%; }
.page-hero__inner { position: relative; z-index: 2; max-width: 54rem; }

.crumbs {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 1.5rem;
}
.crumbs a:hover { color: var(--acid); }
.crumbs span { opacity: 0.4; margin-inline: 0.45rem; }

.deliverables {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.deliverable { background: var(--ink); padding: clamp(1.4rem, 2.2vw, 1.9rem); }
.deliverable h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.deliverable p { font-size: 0.9rem; color: var(--text-dim); line-height: 1.6; }
.deliverable__ico {
  width: 34px; height: 34px;
  border-radius: 10px;
  display: grid; place-items: center;
  background: rgba(var(--accent-rgb), 0.1);
  border: 1px solid rgba(var(--accent-rgb), 0.25);
  color: var(--acid);
  margin-bottom: 1.1rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
}

.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}
@media (max-width: 760px) { .compare { grid-template-columns: 1fr; } }
.compare__col {
  padding: clamp(1.5rem, 2.5vw, 2rem);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}
.compare__col--good { border-color: rgba(var(--accent-rgb), 0.3); background: rgba(var(--accent-rgb), 0.035); }
.compare__col h3 { font-size: 1.15rem; margin-bottom: 1.1rem; }
.compare__col ul { list-style: none; display: grid; gap: 0.7rem; }
.compare__col li { display: flex; gap: 0.7rem; font-size: 0.92rem; color: var(--text-dim); }
.compare__col li::before { content: '×'; color: var(--text-faint); flex: none; width: 1rem; }
.compare__col--good li::before { content: '✓'; color: var(--acid); }

/* FAQ */
.faq { display: grid; gap: 0; border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  padding: 1.35rem 0;
  background: none;
  border: 0;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.7vw, 1.25rem);
  letter-spacing: -0.02em;
  color: var(--text);
  transition: color 0.25s;
}
.faq__q:hover { color: var(--acid); }
.faq__ico {
  flex: none;
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 1px solid var(--line-hard);
  display: grid; place-items: center;
  position: relative;
  transition: transform 0.35s var(--ease), border-color 0.3s;
}
.faq__ico::before, .faq__ico::after {
  content: '';
  position: absolute;
  background: currentColor;
  transition: opacity 0.3s;
}
.faq__ico::before { width: 10px; height: 1.5px; }
.faq__ico::after { width: 1.5px; height: 10px; }
.faq__q[aria-expanded='true'] .faq__ico { transform: rotate(135deg); border-color: var(--acid); }
.faq__a {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.45s var(--ease);
}
.faq__a p {
  padding-bottom: 1.5rem;
  color: var(--text-dim);
  font-size: 0.96rem;
  line-height: 1.68;
  max-width: 62ch;
}

/* ---- 18. Admin ---------------------------------------------------------- */

.page-admin { background: var(--ink-2); }
.admin-shell { padding-block: clamp(2rem, 5vw, 3.5rem); }
.admin-top {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
}
.admin-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  margin-bottom: 1.75rem;
}
.admin-stat { background: var(--ink); padding: 1.1rem 1.25rem; }
.admin-stat b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.85rem;
  letter-spacing: -0.04em;
  line-height: 1;
}
.admin-stat span {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.admin-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 1.25rem;
}
.tab {
  padding: 0.5rem 0.9rem;
  border-radius: var(--r-full);
  border: 1px solid var(--line);
  font-size: 0.83rem;
  color: var(--text-dim);
  transition: all 0.25s;
}
.tab:hover { border-color: var(--line-hard); color: var(--text); }
.tab.is-active { background: var(--acid); border-color: var(--acid); color: #06070b; font-weight: 600; }

.admin-search { display: flex; gap: 0.5rem; margin-left: auto; }
.admin-search input {
  padding: 0.55rem 0.9rem;
  border-radius: var(--r-full);
  border: 1px solid var(--line);
  background: rgba(0,0,0,0.4);
  font-size: 0.86rem;
  min-width: 210px;
}
.admin-search input:focus { outline: none; border-color: var(--acid); }

.lead-card {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--ink);
  margin-bottom: 0.75rem;
  overflow: hidden;
}
.lead-card__head {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  align-items: center;
  padding: 1rem 1.25rem;
  cursor: pointer;
}
.lead-card__head:hover { background: rgba(255,255,255,0.02); }
.lead-name { font-weight: 600; letter-spacing: -0.01em; }
.lead-meta { font-size: 0.84rem; color: var(--text-faint); }
.lead-spacer { flex: 1; }

.badge {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.28rem 0.6rem;
  border-radius: var(--r-full);
  border: 1px solid var(--line-hard);
  color: var(--text-dim);
}
.badge--new       { border-color: rgba(var(--accent-rgb), 0.45); color: var(--acid); background: rgba(var(--accent-rgb), 0.08); }
.badge--contacted { border-color: rgba(124,92,255,0.5);  color: #b6a4ff; background: rgba(124,92,255,0.1); }
.badge--qualified { border-color: rgba(80,200,255,0.45); color: #86ddff; background: rgba(80,200,255,0.08); }
.badge--won       { border-color: rgba(120,255,180,0.45);color: #8dffc4; background: rgba(120,255,180,0.08); }
.badge--archived  { color: var(--text-faint); }

.lead-card__body {
  display: none;
  padding: 0 1.25rem 1.25rem;
  border-top: 1px solid var(--line-soft);
}
.lead-card.is-open .lead-card__body { display: block; }
.lead-dl {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1rem;
  margin: 1.25rem 0;
}
.lead-dl div span {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.63rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 0.3rem;
}
.lead-dl div p { font-size: 0.92rem; word-break: break-word; }
.lead-msg {
  padding: 1rem 1.15rem;
  border-radius: var(--r-md);
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line-soft);
  font-size: 0.93rem;
  line-height: 1.65;
  white-space: pre-wrap;
}
.lead-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: flex-end;
  margin-top: 1.25rem;
}
.lead-actions form { display: flex; gap: 0.5rem; align-items: center; }
.lead-actions select, .lead-actions input[type='text'] {
  padding: 0.5rem 0.8rem;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  background: rgba(0,0,0,0.4);
  font-size: 0.85rem;
}
.danger { color: #ff9b9b; border-color: rgba(255,107,107,0.4); }
.danger:hover { --btn-bd: #ff6b6b; --btn-fg: #ff6b6b; }

.empty {
  text-align: center;
  padding: 4rem 1rem;
  border: 1px dashed var(--line);
  border-radius: var(--r-lg);
  color: var(--text-faint);
}

.login-card {
  max-width: 400px;
  margin: clamp(4rem, 15vh, 9rem) auto;
}

/* ---- 18b. Admin: content editor ---------------------------------------- */

.admin-views { display: flex; gap: 0.4rem; }
.admin-views .tab { cursor: pointer; }
.admin-views .tab:not(.is-active) { background: none; }

.cms-section { margin-bottom: 2.5rem; }
.cms-head {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1rem;
}
.cms-head__actions { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.cms-blurb {
  margin-top: 0.4rem;
  font-size: 0.86rem;
  color: var(--text-faint);
  max-width: 62ch;
  line-height: 1.5;
}

.cms-item {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--ink);
  padding: 1.1rem 1.25rem;
  margin-bottom: 0.6rem;
}
.cms-item--new { border-color: rgba(var(--accent-rgb), 0.4); }
.cms-item.is-editing { background: var(--ink-3); }

.cms-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: flex-start;
  justify-content: space-between;
}
.cms-preview { flex: 1; min-width: 260px; }
.cms-controls { display: flex; gap: 0.4rem; flex-wrap: wrap; align-items: flex-start; }
.cms-controls .btn[disabled] { opacity: 0.35; pointer-events: none; }

.cms-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--acid);
  margin-bottom: 0.5rem;
}
.cms-quote { font-size: 0.95rem; line-height: 1.55; color: var(--text); }
.cms-meta {
  margin-top: 0.35rem;
  font-size: 0.85rem;
  color: var(--text-faint);
  line-height: 1.5;
}
.cms-stat b {
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: -0.03em;
  color: var(--acid);
  margin-right: 0.5rem;
}
.cms-stat span { font-size: 0.9rem; color: var(--text-dim); }

.cms-form .field { margin-bottom: 0.9rem; }
.cms-form textarea { min-height: 100px; }
.cms-hint { font-size: 0.78rem; color: var(--text-faint); }
.cms-actions { display: flex; gap: 0.5rem; margin-top: 0.4rem; }

/* project rows and the screenshot picker */
.cms-project { display: flex; gap: 0.9rem; align-items: flex-start; }
.cms-project__thumb {
  width: 96px;
  height: 60px;
  flex: none;
  object-fit: cover;
  object-position: top center;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  background: var(--ink-3);
}
.cms-project__thumb--empty {
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.cms-image { display: flex; gap: 0.9rem; align-items: flex-start; flex-wrap: wrap; }
.cms-image__preview,
.cms-image__empty {
  width: 200px;
  height: 125px;
  object-fit: cover;
  object-position: top center;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  background: var(--ink-3);
}
.cms-image__empty {
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.cms-image__actions { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.cms-image__actions label { cursor: pointer; }

/* case study sub-editors */
.cms-divider {
  margin: 1.9rem 0 1rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--acid);
}
.field--check { display: flex; }
.cms-check { display: inline-flex; align-items: center; gap: 0.55rem; cursor: pointer; }
.cms-check input { width: 18px; height: 18px; accent-color: var(--acid); }
.cms-rows { display: flex; flex-direction: column; gap: 0.7rem; }
.cms-rowset { display: flex; gap: 0.5rem; flex-wrap: wrap; align-items: center; }
.cms-shot {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  padding: 0.7rem;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--ink-2);
  flex-wrap: wrap;
}
.cms-shot__thumb {
  width: 120px;
  height: 75px;
  flex: none;
  object-fit: cover;
  object-position: top center;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
}
.cms-shot__fields { flex: 1; min-width: 14rem; display: flex; flex-direction: column; gap: 0.45rem; }
.cms-shot__fields textarea { min-height: 90px; }
.cms-shot__controls { display: flex; gap: 0.4rem; flex-wrap: wrap; align-items: flex-start; }
.cms-shot__controls .btn[disabled] { opacity: 0.35; pointer-events: none; }

/* ---- 19. Error pages ---------------------------------------------------- */

.page-error .error-wrap {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding-block: 4rem;
}
.error-code {
  font-family: var(--font-display);
  font-size: clamp(5rem, 18vw, 12rem);
  line-height: 0.85;
  letter-spacing: -0.06em;
  background: linear-gradient(160deg, #fff, rgba(255,255,255,0.15));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 1.5rem;
}

/* ---- 19b. Our work ------------------------------------------------------
   Project cards that expand in place. Same interaction grammar as the process
   steps on the homepage: real headings stay headings, and an invisible overlay
   button makes the whole card the click target.
   ------------------------------------------------------------------------- */

.work-hero { overflow: hidden; }
.work-hero .glow--violet { width: 460px; height: 460px; top: -180px; right: 8%; left: auto; }
.work-hero__inner { position: relative; z-index: 2; max-width: 68rem; }
/* .line is scoped to the homepage hero, so the sub-page needs its own rule */
.work-hero h1 .line { display: block; }
.work-hero h1 .line:first-child { font-size: 0.86em; }
.work-hero__lede { margin-top: 1.6rem; max-width: 56ch; }

/* counted from the projects, so they never go stale */
.work-facts {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.75rem, 5vw, 3.5rem);
  margin: 2.25rem 0 0;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
}
.work-fact dt {
  order: 2;
  margin-top: 0.35rem;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.work-fact dd {
  order: 1;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.9rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--acid);
}
.work-fact { display: flex; flex-direction: column; }

/* three across rather than an orphaned third on a second row */
@media (max-width: 620px) {
  .work-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
  .work-fact dd { font-size: 1.7rem; }
  .work-fact dt { font-size: 0.58rem; letter-spacing: 0.1em; }
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  align-items: start; /* an expanded card must not stretch its neighbour */
}
@media (max-width: 860px) { .work-grid { grid-template-columns: 1fr; } }

.work-cell { display: flex; }

.work {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 1;
  background: linear-gradient(180deg, var(--ink-2), var(--ink));
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.4s var(--ease), transform 0.4s var(--ease),
    box-shadow 0.4s var(--ease);
}
.work:hover { border-color: var(--line-hard); transform: translateY(-3px); }
.work.is-active {
  border-color: rgba(var(--accent-rgb), 0.45);
  box-shadow: var(--shadow-lift);
  transform: none;
}

/* screenshot, or an initials plate until one is uploaded */
.work__shot {
  position: relative;
  /* matches the aspect the screenshots are cropped to, so nothing is trimmed */
  aspect-ratio: 16 / 7;
  background: linear-gradient(140deg, var(--ink-3), var(--ink-2));
  border-bottom: 1px solid var(--line-soft);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.work__shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
  display: block;
  transition: transform 0.6s var(--ease);
}
.work:hover .work__shot img { transform: scale(1.03); }
/* Until a screenshot is uploaded the plate stays a slim band rather than a
   large empty rectangle, so the card reads as designed rather than broken. */
.work__shot--empty { aspect-ratio: 16 / 5; }
.work__mark {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: rgba(var(--accent-rgb), 0.22);
  user-select: none;
}
.work__shot::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(5, 6, 10, 0.75));
  pointer-events: none;
}

.work__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: clamp(1.4rem, 2.2vw, 1.9rem);
}

.work__meta {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  color: var(--text-faint);
}
.work.is-active .work__meta { color: var(--acid); }

.work__client {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.4vw, 1.9rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0.5rem 0 0;
}
.work__headline {
  margin: 0.45rem 0 0;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--acid);
}
.work__card {
  margin: 0.7rem 0 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-dim);
}

.work__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  list-style: none;
  margin: 1.1rem 0 0;
  padding: 0;
  transition: opacity 0.3s ease;
}
.work__tags li {
  font-family: var(--font-mono);
  font-size: 0.63rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-faint);
  border: 1px solid var(--line);
  border-radius: var(--r-full);
  padding: 0.3rem 0.6rem;
}
.work__tags-more { color: var(--acid); border-color: rgba(var(--accent-rgb), 0.35); }
.work.is-active .work__tags { opacity: 0; height: 0; margin: 0; overflow: hidden; }

/* the write-up — grid rows animate cleanly from nothing */
.work__detail {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows 0.5s var(--ease), opacity 0.35s ease;
}
.work__detail > div { overflow: hidden; }
.work.is-active .work__detail { grid-template-rows: 1fr; opacity: 1; }
.work__detail-inner {
  margin-top: 1.1rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(var(--accent-rgb), 0.25);
}

.work__para {
  margin: 0 0 0.85rem;
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--text-dim);
}
.work__sub {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin: 1.3rem 0 0.7rem;
}
.work__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
}
.work__list li {
  position: relative;
  padding-left: 1.15rem;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--text-dim);
}
.work__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--acid);
}
.work__result {
  margin: 1.3rem 0 0;
  padding: 0.85rem 1rem;
  background: rgba(var(--accent-rgb), 0.06);
  border-left: 2px solid var(--acid);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--text);
}
.work__result span {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--acid);
}
/* the outbound link has to sit above the overlay button to stay clickable */
.work__visit { position: relative; z-index: 2; margin: 1.2rem 0 0; }
/* both actions must sit above the card's overlay button to stay clickable */
.work__actions {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  margin-top: 1.4rem;
}
.work__actions .work__visit { margin: 0; }
/* a project with no write-up yet: the link is the card's only action */
.work__visit--only { margin-top: auto; padding-top: 1.2rem; }
.work--brief { cursor: default; }
.work--brief:hover { transform: none; }

.work__toggle {
  display: inline-block;
  background: none;
  border: 0;
  padding: 0;
  margin: 0;
  margin-top: auto;
  align-self: flex-start;
  cursor: pointer;
  font: inherit;
  color: inherit;
}
.work__toggle::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.work__toggle:focus-visible { outline: none; }
.work__toggle:focus-visible::after {
  outline: 2px solid var(--acid);
  outline-offset: -4px;
  border-radius: var(--r-lg);
}
.work__cue {
  display: inline-block;
  margin-top: 1.2rem;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
  transition: color 0.3s;
}
.work:hover .work__cue { color: var(--text-dim); }
.work.is-active .work__cue { color: var(--acid); }

/* ---- 19bb. About --------------------------------------------------------- */

/* --- page rhythm ---------------------------------------------------------
   Ten stacked sections each carried 55px of padding top AND bottom, so every
   join opened a ~110px void and the page ran 8,500px for ~6,000px of content.
   Tightened here, and the joins get a hairline so the rhythm reads as
   deliberate structure rather than drift. */
.page-about .section--tight { padding-block: clamp(1.9rem, 3vw, 2.6rem); }
/* A border rather than a spacer element: the join reads as structure and
   costs no height. */
.page-about main > .section--tight + .section--tight { border-top: 1px solid var(--line-soft); }
/* the section heads sat on the same margin as full-size sections */
.page-about .section-head { margin-bottom: clamp(1.4rem, 2.4vw, 2rem); }

/* A half-width left column holding only a heading left ~340px of void beside
   it. Narrower and pinned: less empty area, and it travels with the reading
   position on the longer sections. */
@media (min-width: 861px) {
  .page-about .split {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr);
    gap: clamp(2rem, 4vw, 3.5rem);
  }
  .page-about .split > :first-child { position: sticky; top: 108px; align-self: start; }
}

.about-hero { overflow: hidden; }
.page-about .about-hero { padding-bottom: clamp(1.5rem, 3vw, 2.25rem); }
.about-hero .glow--violet { width: 440px; height: 440px; top: -170px; right: 10%; left: auto; }
.about-hero__inner { position: relative; z-index: 2; max-width: 68rem; }
/* the H1 is a long, keyword-carrying sentence — hold it back a step so it
   still reads as a headline rather than a paragraph in bold */
.about-h1 { font-size: clamp(2rem, 4.2vw, 3.2rem); max-width: 26ch; }
/* .lede caps at 46ch, which is too tight for a two-paragraph hero — these are
   the page's positioning statement, so they get a wider measure */
.about-hero__lede { margin-top: 1.6rem; }
.about-hero__lede .lede { max-width: 64ch; }
.about-hero__lede .lede + .lede { margin-top: 1.1rem; }

.about-motto {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.4rem;
  margin: 2rem 0 0;
}
.about-motto span {
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--acid);
}
.about-motto--close { justify-content: flex-start; margin-top: 1.5rem; }

.about-para {
  margin: 0 0 1rem;
  font-size: 0.97rem;
  line-height: 1.75;
  color: var(--text-dim);
}
.about-para:last-child { margin-bottom: 0; }

/* three pillars */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  align-items: start;
}
@media (max-width: 1000px) { .pillars { grid-template-columns: 1fr; } }
.pillar {
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, var(--ink-2), var(--ink));
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(1.5rem, 2.4vw, 2rem);
  transition: border-color 0.4s var(--ease), transform 0.4s var(--ease);
}
.pillar:hover { border-color: rgba(var(--accent-rgb), 0.35); transform: translateY(-3px); }
.pillar__n {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 600;
  line-height: 1;
  color: rgba(var(--accent-rgb), 0.25);
}
.pillar__kicker {
  display: block;
  margin-top: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--acid);
}
.pillar__h {
  margin: 0.5rem 0 0.8rem;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1.9vw, 1.35rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
}
.pillar__intro { margin: 0; font-size: 0.9rem; line-height: 1.65; color: var(--text-dim); }
.pillar__list {
  list-style: none;
  margin: 1.35rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.9rem;
  flex: 1;
}
.pillar__list li {
  padding-top: 0.9rem;
  border-top: 1px solid var(--line-soft);
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.pillar__list strong { font-size: 0.92rem; color: var(--text); font-weight: 600; }
.pillar__list span { font-size: 0.86rem; line-height: 1.6; color: var(--text-dim); }
.pillar__link { align-self: flex-start; margin-top: 1.4rem; }

/* the growth engine */
/* Seven steps in a four-column grid left an empty bordered cell on row two.
   Flex instead: the last row stretches to fill, so there is no orphan box. */
.engine {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.engine__step {
  flex: 1 1 210px;
  background: var(--ink-2);
  padding: 1.2rem 1.3rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.engine__n {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  color: var(--acid);
}
.engine__t { font-size: 0.92rem; line-height: 1.6; color: var(--text); }
.engine__outro {
  margin: 1.6rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  font-weight: 500;
  color: var(--text);
}

/* results */
/* The three cards ran 540 / 435 / 359px because one has three metrics, one
   two and one none. Stretching them and pushing the link to the foot makes
   them read as a set instead of three ragged blocks. */
.results {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.25rem;
  align-items: stretch;
}
.result {
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, var(--ink-2), var(--ink));
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(1.5rem, 2.4vw, 2rem);
}
.result .link-arrow { align-self: flex-start; margin-top: auto; }
.result__h {
  margin: 0 0 0.6rem;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.9vw, 1.3rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.3;
}
.result__svc {
  margin: 0 0 1.3rem;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-faint);
  line-height: 1.7;
}
.result__metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin: 0 0 1.3rem;
  padding-bottom: 1.3rem;
  border-bottom: 1px solid var(--line);
}
.result__metrics dd {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--acid);
}
.result__metrics dd span { font-size: 0.55em; }
.result__metrics dt {
  margin-top: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.result__body { margin: 0 0 1.2rem; font-size: 0.9rem; line-height: 1.7; color: var(--text-dim); }

/* team */
.team {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  align-items: start;
}
.member {
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(1.5rem, 2.4vw, 2rem);
}
.member__avatar {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: linear-gradient(140deg, var(--acid-deep), var(--acid));
  color: #06070b;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 1.1rem;
}
.member__avatar img { width: 100%; height: 100%; object-fit: cover; }
.member__name {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.member__role {
  margin: 0.3rem 0 1rem;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--acid);
}
.member__bio { margin: 0 0 0.8rem; font-size: 0.9rem; line-height: 1.7; color: var(--text-dim); }
.member__link { display: inline-flex; margin-top: 0.3rem; }
.team__outro {
  margin: 2rem 0 0;
  max-width: 62rem;
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--text-dim);
}

/* process rail */
/* Five equal columns meant the longest step set a 330px row height and the
   short ones carried the difference as blank. Wider minimums and tighter
   padding bring the tallest down and the difference with it. */
.steps-rail {
  display: flex;
  flex-wrap: wrap;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.rail-step {
  /* 200px basis so all five sit on one row at 1240px, rather than four plus
     a stranded full-width fifth */
  flex: 1 1 200px;
  background: var(--ink-2);
  padding: clamp(1.2rem, 1.9vw, 1.5rem);
}
.rail-step__n {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 600;
  line-height: 1;
  color: rgba(var(--accent-rgb), 0.28);
}
.rail-step__t {
  margin: 0.7rem 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.rail-step__d { margin: 0; font-size: 0.87rem; line-height: 1.65; color: var(--text-dim); }

/* why us */
.why-list { list-style: none; margin: 0 0 1.3rem; padding: 0; display: grid; gap: 0.85rem; }
.why-list li {
  position: relative;
  padding-left: 1.6rem;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text);
}
.why-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--acid);
}
.why-outro { color: var(--text-dim); }

/* faqs */
.about-faqs { border-top: 1px solid var(--line); }
.afaq { border-bottom: 1px solid var(--line); }
.afaq__q { margin: 0; }
.afaq__q button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.2rem 0;
  background: none;
  border: 0;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.7vw, 1.12rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
  transition: color 0.3s;
}
.afaq__q button:hover { color: var(--acid); }
.afaq.is-open .afaq__q button { color: var(--acid); }
.afaq__icon {
  position: relative;
  flex: none;
  width: 16px;
  height: 16px;
}
.afaq__icon::before,
.afaq__icon::after {
  content: '';
  position: absolute;
  background: currentColor;
  transition: transform 0.35s var(--ease), opacity 0.35s;
}
.afaq__icon::before { inset: 7px 0 7px 0; height: 2px; }
.afaq__icon::after { inset: 0 7px 0 7px; width: 2px; }
.afaq.is-open .afaq__icon::after { transform: scaleY(0); opacity: 0; }
.afaq__a {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows 0.42s var(--ease), opacity 0.3s ease;
}
.afaq__a > div { overflow: hidden; }
.afaq.is-open .afaq__a { grid-template-rows: 1fr; opacity: 1; }
.afaq__a p {
  margin: 0;
  padding-bottom: 1.3rem;
  max-width: 70ch;
  font-size: 0.94rem;
  line-height: 1.75;
  color: var(--text-dim);
}

/* closing block */
.about-close { max-width: 52rem; }
.about-sign {
  margin: 1.75rem 0 0;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
}

/* ---- 19c. Case study ----------------------------------------------------- */

/* Draft notice — placeholder figures must never read as verified results.
   The site header is fixed at 76px, so the bar starts below it and the hero
   drops its usual header clearance. */
.draft-bar {
  margin-top: 76px;
  background: rgba(var(--accent-rgb), 0.1);
  border-bottom: 1px solid rgba(var(--accent-rgb), 0.35);
  padding: 0.85rem 0;
  font-size: 0.85rem;
  line-height: 1.55;
  color: var(--text);
}
.draft-bar strong { color: var(--acid); }
.draft-bar + .case-hero { padding-top: clamp(2.5rem, 5vh, 4rem); }

.case-hero__inner { position: relative; z-index: 2; max-width: 62rem; }
.case-hero__headline {
  margin: 0.9rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-weight: 500;
  color: var(--acid);
}
.case-hero__lede { margin-top: 1.2rem; max-width: 54ch; }

.case-facts {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.5rem, 4vw, 3rem);
  margin: 2.25rem 0 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.case-facts dt {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 0.35rem;
}
.case-facts dd { margin: 0; font-size: 0.95rem; color: var(--text); }

/* Browser chrome, drawn in markup so it fits whatever screenshot is uploaded.
   Muted dots rather than traffic-light colours — it still reads as a window
   without pulling three bright hues into a one-accent palette. */
.browser {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--ink-3);
}
.browser__bar {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.6rem 0.9rem;
  background: linear-gradient(180deg, var(--ink-4), var(--ink-3));
  border-bottom: 1px solid var(--line);
}
.browser__dots { display: flex; gap: 0.35rem; flex: none; }
.browser__dots i {
  display: block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--line-hard);
}
.browser__dots i:first-child { background: rgba(var(--accent-rgb), 0.55); }
.browser__url {
  flex: 1;
  min-width: 0;
  margin-inline: auto;
  max-width: 62%;
  padding: 0.28rem 0.85rem;
  border-radius: var(--r-full);
  background: rgba(0, 0, 0, 0.4);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  color: var(--text-faint);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.browser__screen img { display: block; width: 100%; height: auto; }

.case-shot-wrap { padding-top: 0; }
.case-shot { margin: 0; box-shadow: var(--shadow-lift); border-radius: var(--r-lg); }

.case-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1px;
  margin: 0;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.case-metric { background: var(--ink-2); padding: clamp(1.4rem, 2.4vw, 2rem); }
.case-metric dd {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.4vw, 3.2rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--acid);
}
.case-metric dd span { font-size: 0.55em; margin-left: 0.05em; }
.case-metric dt {
  margin-top: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.case-body {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 5vw, 4rem);
}
@media (max-width: 840px) { .case-body { grid-template-columns: 1fr; } }
.case-body__h { margin: 0.7rem 0 1.1rem; }
.case-narrow { max-width: 46rem; }
.case-para {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-dim);
}

.case-scope {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.case-scope li {
  background: var(--ink-2);
  padding: 1.1rem 1.3rem;
  display: flex;
  align-items: baseline;
  gap: 0.9rem;
  font-size: 0.94rem;
  color: var(--text);
}
.case-scope__n {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: var(--acid);
}

/* Showcase — image and copy alternate sides. The text is the indexable part,
   so it gets equal weight rather than sitting under the picture as a caption. */
.case-show { display: flex; flex-direction: column; gap: clamp(2.5rem, 5vw, 4.5rem); }

.case-row {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(1.75rem, 4vw, 3.5rem);
  align-items: center;
}
.case-row--flip .case-row__shot { order: 2; }
@media (max-width: 820px) {
  .case-row { grid-template-columns: 1fr; gap: 1.5rem; }
  .case-row--flip .case-row__shot { order: 0; }
}

.case-row__shot {
  margin: 0;
  transition: transform 0.4s var(--ease);
}
.case-row__shot:hover { transform: translateY(-3px); }
.case-row__shot .browser { transition: border-color 0.4s var(--ease); }
.case-row__shot:hover .browser { border-color: var(--line-hard); }
.case-row__shot figcaption {
  margin-top: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.case-row__n {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  color: var(--acid);
}
.case-row__h {
  margin: 0.6rem 0 0.9rem;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.4vw, 1.75rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.case-row__text .case-para:last-child { margin-bottom: 0; }

.case-quote {
  margin: 0;
  max-width: 52rem;
  padding: clamp(1.75rem, 3.5vw, 2.75rem);
  background: linear-gradient(140deg, var(--ink-3), var(--ink-2));
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}
.case-quote blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.2vw, 1.6rem);
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: -0.01em;
  color: var(--text);
}
.case-quote figcaption { margin-top: 1.3rem; display: flex; flex-direction: column; gap: 0.2rem; }
.case-quote figcaption strong { color: var(--acid); font-size: 0.92rem; }
.case-quote figcaption span { font-size: 0.85rem; color: var(--text-faint); }

.case-result {
  margin: 0;
  padding: 1.1rem 1.35rem;
  background: rgba(var(--accent-rgb), 0.06);
  border-left: 2px solid var(--acid);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
}
.case-result span {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--acid);
}

.case-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  flex-wrap: wrap;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
}
.case-nav__link { display: flex; flex-direction: column; gap: 0.25rem; text-decoration: none; }
.case-nav__link--next { text-align: right; }
.case-nav__link span {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.case-nav__link strong {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  transition: color 0.3s;
}
.case-nav__link:hover strong { color: var(--acid); }

/* ---- 19d. Icons & section graphics ---------------------------------------
   Icons are stroked SVG, so they can be "drawn" on reveal by animating
   stroke-dashoffset. pathLength is not set, so the dash values are generous
   enough to cover any path in the set.
   ------------------------------------------------------------------------- */

.ico { display: block; flex: none; }

/* the draw-on-reveal effect, applied wherever an icon sits in a revealed box */
[data-reveal] .ico path,
[data-reveal] .ico circle,
[data-reveal] .ico rect,
[data-reveal] .ico line {
  stroke-dasharray: 120;
  stroke-dashoffset: 120;
}
[data-reveal].is-in .ico path,
[data-reveal].is-in .ico circle,
[data-reveal].is-in .ico rect,
[data-reveal].is-in .ico line {
  animation: draw 1.1s var(--ease) forwards;
  animation-delay: calc(var(--d, 0ms) + 120ms);
}
@keyframes draw { to { stroke-dashoffset: 0; } }

/* a shared plate the icons sit on */
.ico-plate {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: linear-gradient(140deg, var(--ink-3), var(--ink-2));
  color: var(--acid);
  transition: border-color 0.4s var(--ease), background 0.4s var(--ease),
    transform 0.4s var(--ease);
}

/* ---- hero: signal rings ---- */
.rings {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
  z-index: 0;
}
.rings span {
  position: absolute;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  border: 1px solid rgba(var(--accent-rgb), 0.35);
  opacity: 0;
  animation: ring 4.5s var(--ease) infinite;
}
.rings span:nth-child(2) { animation-delay: 1.5s; }
.rings span:nth-child(3) { animation-delay: 3s; }
@keyframes ring {
  0%   { transform: scale(0.55); opacity: 0; }
  15%  { opacity: 0.55; }
  100% { transform: scale(2.4); opacity: 0; }
}
.hero-visual { position: relative; }
.hero-visual .answer-card { position: relative; z-index: 1; }

/* ---- the leaks ---- */
.leak__ico {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: var(--ink-3);
  color: var(--acid);
  transition: border-color 0.4s var(--ease), transform 0.4s var(--ease);
}
.leak:hover .leak__ico { border-color: rgba(var(--accent-rgb), 0.5); transform: translateY(-2px); }

/* ---- service cards ---- */
.svc { position: relative; }
.svc__ico {
  position: absolute;
  top: clamp(1.4rem, 2.2vw, 1.9rem);
  right: clamp(1.4rem, 2.2vw, 1.9rem);
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: linear-gradient(140deg, var(--ink-3), var(--ink-2));
  color: var(--acid);
  transition: border-color 0.45s var(--ease), transform 0.45s var(--ease),
    box-shadow 0.45s var(--ease);
}
.svc:hover .svc__ico {
  border-color: rgba(var(--accent-rgb), 0.5);
  transform: translateY(-3px) rotate(-4deg);
  box-shadow: 0 12px 30px -12px var(--acid-glow);
}

/* ---- process steps ---- */
.step__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.step__ico {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: var(--ink-3);
  color: var(--text-faint);
  transition: color 0.4s, border-color 0.4s, transform 0.4s var(--ease);
}
.step:hover .step__ico { color: var(--acid); transform: translateY(-2px); }
.step.is-active .step__ico {
  color: var(--acid);
  border-color: rgba(var(--accent-rgb), 0.5);
  background: rgba(var(--accent-rgb), 0.08);
}

/* ---- the chain ---- */
.chain { position: relative; }
/* 58px puts the 8px-tall rail's centre on the icon centres, so the line
   threads through the three nodes instead of floating above them */
.chain__rail {
  position: absolute;
  top: 58px;
  left: 0;
  width: 100%;
  height: 8px;
  overflow: visible;
  pointer-events: none;
}
@media (max-width: 900px) { .chain__rail { display: none; } }
.chain__rail-base { stroke: var(--line); stroke-width: 1; }
.chain__rail-draw {
  stroke: var(--acid);
  stroke-width: 1.5;
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  opacity: 0.55;
}
.chain:has(.is-in) .chain__rail-draw { animation: draw 1.6s var(--ease) 0.2s forwards; }

.chain__ico {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  border: 1px solid rgba(var(--accent-rgb), 0.35);
  background: var(--ink);
  color: var(--acid);
  position: relative;
  z-index: 1;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.chain__node:hover .chain__ico {
  transform: translateY(-3px);
  box-shadow: 0 0 0 6px rgba(var(--accent-rgb), 0.07);
}
/* a slow pulse so the three nodes read as a live system, not a static diagram */
.chain__node.is-in .chain__ico::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 50%;
  border: 1px solid rgba(var(--accent-rgb), 0.5);
  animation: nodePulse 3.2s var(--ease) infinite;
  animation-delay: var(--d, 0ms);
}
@keyframes nodePulse {
  0%   { transform: scale(1); opacity: 0.7; }
  70%  { transform: scale(1.5); opacity: 0; }
  100% { transform: scale(1.5); opacity: 0; }
}

/* ---- About page icons ---- */
.pillar__ico {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 1rem;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: linear-gradient(140deg, var(--ink-3), var(--ink-2));
  color: var(--acid);
  transition: border-color 0.45s var(--ease), transform 0.45s var(--ease),
    box-shadow 0.45s var(--ease);
}
.pillar:hover .pillar__ico {
  border-color: rgba(var(--accent-rgb), 0.5);
  transform: translateY(-3px) rotate(-4deg);
  box-shadow: 0 12px 30px -14px var(--acid-glow);
}
.pillar__n { display: block; }

.rail-step__top { display: flex; align-items: center; justify-content: space-between; gap: 0.8rem; }
.rail-step__ico {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  background: var(--ink-3);
  color: var(--text-faint);
  transition: color 0.4s, border-color 0.4s, transform 0.4s var(--ease);
}
.rail-step:hover .rail-step__ico {
  color: var(--acid);
  border-color: rgba(var(--accent-rgb), 0.45);
  transform: translateY(-2px);
}
.rail-step { transition: background 0.4s var(--ease); }
.rail-step:hover { background: var(--ink-3); }
.engine__step { transition: background 0.4s var(--ease); }
.engine__step:hover { background: var(--ink-3); }
.result { transition: border-color 0.4s var(--ease), transform 0.4s var(--ease); }
.result:hover { border-color: rgba(var(--accent-rgb), 0.35); transform: translateY(-3px); }
.member { transition: border-color 0.4s var(--ease), transform 0.4s var(--ease); }
.member:hover { border-color: rgba(var(--accent-rgb), 0.35); transform: translateY(-3px); }
.member__avatar { transition: transform 0.45s var(--ease); }
.member:hover .member__avatar { transform: scale(1.06) rotate(-3deg); }
.why-list li { transition: color 0.3s, transform 0.3s var(--ease); }
.why-list li:hover { color: var(--acid); transform: translateX(3px); }

/* ---- testimonials ---- */
.quote { position: relative; }
.quote__mark {
  position: absolute;
  top: clamp(1.2rem, 2vw, 1.6rem);
  right: clamp(1.2rem, 2vw, 1.6rem);
  color: rgba(var(--accent-rgb), 0.18);
  transition: color 0.4s;
}
.quote:hover .quote__mark { color: rgba(var(--accent-rgb), 0.35); }

/* ---- 20. Motion --------------------------------------------------------- */

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .work:hover { transform: none; }
  .work:hover .work__shot img { transform: none; }
  .case-row__shot:hover { transform: none; }
  .pillar:hover { transform: none; }
  .nav a::after { transition: none; }
  .pillar:hover .pillar__ico,
  .rail-step:hover .rail-step__ico,
  .result:hover,
  .member:hover,
  .member:hover .member__avatar,
  .why-list li:hover,
  .work__actions .btn:hover { transform: none; }
  /* icons and section graphics settle immediately rather than animating in */
  [data-reveal] .ico path,
  [data-reveal] .ico circle,
  [data-reveal] .ico rect,
  [data-reveal] .ico line { stroke-dasharray: none; stroke-dashoffset: 0; animation: none; }
  .rings span { animation: none; opacity: 0.25; }
  .chain__rail-draw { stroke-dashoffset: 0; animation: none; }
  .chain__node.is-in .chain__ico::after { animation: none; opacity: 0; }
  .svc:hover .svc__ico,
  .leak:hover .leak__ico,
  .step:hover .step__ico,
  .chain__node:hover .chain__ico { transform: none; }
  .marquee__track { animation: none; }
  .answer-card { animation: none; }
}
