/* =============================================================================
   RUNWELL STUDIO — premium technology studio
   Dark but tonal (never flat black). Champagne metallic + one restrained
   technology signal (cyan), used sparingly. The R is the master file geometry,
   never redrawn. Motion is transform / opacity / light only and fully disabled
   under prefers-reduced-motion.
   ========================================================================== */

@font-face {
  font-family: "Inter";
  src: url("assets/Inter-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: dark;

  --bg:    #0A0C0E;
  --bg-1:  #0E1113;
  --bg-2:  #15181B;
  --bg-3:  #1C2024;

  --line:   rgba(255, 255, 255, 0.07);
  --line-2: rgba(255, 255, 255, 0.12);
  --line-3: rgba(255, 255, 255, 0.20);

  --ink:   #F1F2F3;              /* same white as the logo */
  --ink-2: #B7BCC1;             /* warm grey — body */
  --ink-3: #787E84;             /* metadata */

  --metal:     #C7B79C;         /* champagne — accents, rule sheen, lockup frame */
  --metal-dim: rgba(199, 183, 156, 0.42);

  --signal:    #54C4C9;         /* technology cyan — used almost always < 20% */
  --signal-08: rgba(84, 196, 201, 0.08);
  --signal-14: rgba(84, 196, 201, 0.14);
  --signal-22: rgba(84, 196, 201, 0.22);
  --signal-40: rgba(84, 196, 201, 0.40);

  --focus: var(--signal);

  --sans: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
          Roboto, Helvetica, Arial, sans-serif;

  --maxw: 1200px;
  --pad:  clamp(24px, 6vw, 88px);

  --e:      cubic-bezier(0.4, 0, 0.2, 1);
  --e-cine: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "cv05" 1, "ss03" 1;
  overflow-x: clip;
}

/* ambient — a faint halo above, a soft floor below. Fixed, behind everything. */
body::before,
body::after {
  content: ""; position: fixed; left: 0; right: 0; pointer-events: none; z-index: 0;
}
body::before {
  top: -32vh; height: 92vh;
  background: radial-gradient(50% 58% at 50% 42%,
              rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0) 72%);
}
body::after {
  bottom: 0; height: 58vh;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.5) 100%);
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--ink); color: var(--bg); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; border-radius: 2px; }

h1, h2, h3 { font-weight: 600; letter-spacing: -0.028em; color: var(--ink); line-height: 1.07; }

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

/* page fade-in */
body { opacity: 0; }
body.ready { opacity: 1; transition: opacity 0.6s var(--e); }
@media (prefers-reduced-motion: reduce) { body, body.ready { opacity: 1; transition: none; } }

/* hairline loader */
#bar {
  position: fixed; top: 0; left: 0; height: 1px; width: 0;
  background: linear-gradient(to right, transparent, var(--signal-40));
  z-index: 100; transition: width 0.5s var(--e), opacity 0.5s var(--e);
}

/* left-margin progress line — the page as a pipeline */
.progress {
  position: fixed; left: 0; top: 0; width: 2px; height: 100vh; z-index: 55; pointer-events: none;
  background: var(--line);
}
.progress::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, var(--signal-40), var(--signal-14));
  transform: scaleY(var(--sp, 0)); transform-origin: top;
}
@media (prefers-reduced-motion: reduce) { .progress { display: none; } }
@media (max-width: 720px) { .progress { display: none; } }

/* --------------------------------------------------------------------------- */
/*  Reserved brand type — the lockup treatment, used for the lockup only       */
/* --------------------------------------------------------------------------- */
.wordmark { display: inline-flex; flex-direction: column; align-items: center; line-height: 1; }
.wordmark b {
  font-size: 1em; font-weight: 600; color: var(--ink);
  letter-spacing: 0.2em; line-height: 1; padding-left: 0.2em;
}
.wordmark span {
  margin-top: 0.82em;
  font-size: 0.34em; font-weight: 500; color: var(--ink-2);
  letter-spacing: 0.6em; padding-left: 0.6em; line-height: 1;
}

.tagline {
  display: flex; align-items: center; justify-content: center; gap: clamp(0.9em, 2vw, 1.5em);
  color: var(--ink-2); white-space: nowrap;
  font-size: clamp(0.66rem, 1vw, 0.82rem);
  font-weight: 500; letter-spacing: 0.34em; text-transform: uppercase;
  padding-left: 0.34em;
}
.tagline::before,
.tagline::after {
  content: ""; height: 1px; width: clamp(44px, 11vw, 150px);
  background: linear-gradient(to var(--dir, right), transparent, var(--metal-dim));
}
.tagline::before { --dir: left; }

/* --------------------------------------------------------------------------- */
/*  Quiet controls                                                             */
/* --------------------------------------------------------------------------- */
.tlink {
  position: relative; display: inline-flex; align-items: center; gap: 0.6em;
  color: var(--ink); font-size: 0.95rem; padding-block: 4px;
}
.tlink svg { width: 15px; height: 15px; transition: transform 0.5s var(--e-cine); }
.tlink::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--signal-40); transform: scaleX(0); transform-origin: left;
  transition: transform 0.5s var(--e-cine);
}
.tlink:hover::after { transform: scaleX(1); }
.tlink:hover svg { transform: translateX(4px); }
.tlink--muted { color: var(--ink-2); }
.tlink--muted::after { background: var(--line-2); }

/* --------------------------------------------------------------------------- */
/*  Nav                                                                        */
/* --------------------------------------------------------------------------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  transition: background-color 0.4s var(--e), border-color 0.4s var(--e), backdrop-filter 0.4s var(--e);
  border-bottom: 1px solid transparent;
}
.nav--solid {
  background: color-mix(in srgb, var(--bg) 70%, transparent);
  backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 24px; }
.nav-brand { display: inline-flex; align-items: center; gap: 13px; color: var(--ink); min-width: 0; }
.nav-brand .mark { width: 34px; height: auto; flex: none; }
.nav-brand b {
  font-size: 0.74rem; font-weight: 600; letter-spacing: 0.24em; padding-left: 0.24em; white-space: nowrap;
}
.nav-links { display: flex; align-items: center; gap: clamp(16px, 3vw, 34px); }
.nav-links a { font-size: 0.85rem; color: var(--ink-3); transition: color 0.3s var(--e); }
.nav-links a:hover { color: var(--ink-2); }
.nav-links .tlink { color: var(--ink); }
@media (max-width: 800px) { .nav-links a:not(.tlink) { display: none; } }
@media (max-width: 480px) { .nav-brand b { display: none; } }

/* --------------------------------------------------------------------------- */
/*  Hero — the master logo is the first screen. It is pinned for one extra     */
/*  screen of scroll, then dissolves as the site content rises into place.     */
/* --------------------------------------------------------------------------- */
.hero-stage { position: relative; z-index: 2; height: 150svh; }

.hero {
  position: sticky; top: 0;
  height: 100svh;
  display: grid; place-items: center;
  overflow: hidden; isolation: isolate;
  --p: 0;                       /* 0 at rest, 1 fully dissolved (set by JS) */
}
.hero-light {
  position: absolute; inset: -22vh 0 0 0; z-index: -2; pointer-events: none;
  opacity: calc(1 - var(--p) * 0.7);
  background:
    radial-gradient(32% 38% at 50% 42%, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0) 70%),
    radial-gradient(90% 60% at 50% 26%, var(--signal-08), rgba(255, 255, 255, 0) 76%);
  animation: drift 36s ease-in-out infinite alternate;
  will-change: transform, opacity;
}
@keyframes drift {
  from { transform: translate3d(-2%, -1%, 0) scale(1); }
  to   { transform: translate3d(2.4%, 1.4%, 0) scale(1.05); }
}

/* ambient node/flow field behind the lockup */
.nodefield {
  position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden;
  opacity: calc((1 - var(--p)) * 0.5);
}
.nodefield svg { position: absolute; left: 50%; top: 50%; width: min(1500px, 160vw); height: auto;
  transform: translate(-50%, -50%) translateY(var(--nf, 0)); }
.nodefield .lnk { stroke: var(--line); stroke-width: 1; fill: none; }
.nodefield .nd  { fill: var(--ink-3); opacity: 0.5; }
.nodefield .nd.sig { fill: var(--signal); opacity: 0.6; }
.nodefield .pulse { fill: var(--signal); animation: nodepulse 6s ease-in-out infinite; }
@keyframes nodepulse { 0%, 100% { opacity: 0.15; } 50% { opacity: 0.55; } }

.hero-inner {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 64px var(--pad) 40px;
  opacity: calc(1 - var(--p));
  transform: translateY(calc(var(--p) * -44px));
  will-change: opacity, transform;
}
.hero-mark { width: clamp(260px, 38vw, 540px); height: auto; color: var(--ink); }
.hero-word { margin-top: clamp(20px, 3.2vw, 40px); font-size: clamp(1.5rem, 3.7vw, 2.8rem); }
.hero-tag  { margin-top: clamp(30px, 5vw, 68px); font-size: clamp(0.7rem, 1.15vw, 0.9rem); }
.hero-desc {
  margin-top: clamp(22px, 3vw, 34px);
  display: inline-flex; align-items: center; gap: 0.7em;
  font-size: 0.8rem; letter-spacing: 0.02em; color: var(--ink-3); font-weight: 400;
}
.hero-desc::before {
  content: ""; width: 5px; height: 5px; border-radius: 50%;
  background: var(--signal); box-shadow: 0 0 8px var(--signal-40);
}

.hero-scroll {
  position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%);
  width: 1px; height: 44px; overflow: hidden;
  opacity: calc(1 - var(--p) * 1.5);
  background: linear-gradient(to bottom, transparent, var(--line-3));
}
.hero-scroll::after {
  content: ""; position: absolute; left: 0; top: -44px; width: 1px; height: 44px;
  background: linear-gradient(to bottom, transparent, var(--signal));
  animation: fall 3s var(--e) infinite;
}
@keyframes fall { 0% { transform: translateY(0); } 70%, 100% { transform: translateY(88px); } }

/* opening sequence — opacity + translateY + a light blur clearing.
   The R geometry itself is never scaled, skewed, rotated or morphed. */
.hero-mark, .hero-word b, .hero-word span, .hero-tag, .hero-desc {
  opacity: 0; transform: translateY(18px); filter: blur(6px);
}
.hero-mark { filter: blur(12px); }
.hero--lit .hero-mark {
  opacity: 1; transform: translateY(0); filter: blur(0);
  transition: opacity 1.5s var(--e-cine) 0.15s, transform 1.5s var(--e-cine) 0.15s, filter 1.5s var(--e-cine) 0.15s;
}
.hero--lit .hero-word b {
  opacity: 1; transform: none; filter: blur(0);
  transition: opacity 1s var(--e-cine) 0.8s, transform 1s var(--e-cine) 0.8s, filter 1s var(--e-cine) 0.8s;
}
.hero--lit .hero-word span {
  opacity: 1; transform: none; filter: blur(0);
  transition: opacity 1s var(--e-cine) 1.08s, transform 1s var(--e-cine) 1.08s, filter 1s var(--e-cine) 1.08s;
}
.hero--lit .hero-tag {
  opacity: 1; transform: none; filter: blur(0);
  transition: opacity 1.1s var(--e-cine) 1.4s, transform 1.1s var(--e-cine) 1.4s, filter 1.1s var(--e-cine) 1.4s;
}
.hero--lit .hero-desc {
  opacity: 1; transform: none; filter: blur(0);
  transition: opacity 1.1s var(--e-cine) 1.85s, transform 1.1s var(--e-cine) 1.85s, filter 1.1s var(--e-cine) 1.85s;
}

@media (prefers-reduced-motion: reduce) {
  .hero-stage { height: auto; }
  .hero { position: static; height: auto; min-height: 100svh; }
  .hero-light, .nodefield { animation: none; opacity: 1; }
  .nodefield .pulse { animation: none; }
  .hero-inner { opacity: 1; transform: none; }
  .hero-scroll { opacity: 1; }
  .hero-scroll::after { animation: none; }
  .hero-mark, .hero-word b, .hero-word span, .hero-tag, .hero-desc {
    opacity: 1 !important; transform: none !important; filter: none !important; transition: none !important;
  }
}

/* --------------------------------------------------------------------------- */
/*  Section system — one narrative, not a stack of cards                       */
/* --------------------------------------------------------------------------- */
.band { position: relative; z-index: 1; background: var(--bg-1); }
.band--alt { background: var(--bg-2); }
.band + .band { border-top: 1px solid var(--line); }
.band-in { padding-block: clamp(96px, 15vw, 190px); }

/* seam glow between sections */
.band + .band::before {
  content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 120px;
  background: radial-gradient(60% 100% at 50% 0%, var(--signal-08), transparent 70%);
  pointer-events: none;
}

.label {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 0.82rem; color: var(--ink-3); font-weight: 400; letter-spacing: 0.01em;
}
.label::before { content: ""; width: 26px; height: 1px; background: var(--metal-dim); }
.label b { color: var(--signal); font-weight: 500; font-variant-numeric: tabular-nums; opacity: 0.85; }

.h-lead { font-size: clamp(2rem, 5vw, 4.2rem); letter-spacing: -0.032em; }
.p-lead { font-size: clamp(1.02rem, 1.4vw, 1.18rem); color: var(--ink-2); }

/* reveal */
.rv { opacity: 0; transform: translateY(28px); transition: opacity 1.05s var(--e-cine), transform 1.05s var(--e-cine); }
.rv.in { opacity: 1; transform: none; }
.stagger > * { transition-delay: calc(var(--i, 0) * 85ms); }
@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* draw-in hairline */
.hr { height: 1px; background: var(--line-2); transform: scaleX(0); transform-origin: left; transition: transform 0.9s var(--e-cine); }
.rv.in .hr, .hr.in { transform: scaleX(1); }
@media (prefers-reduced-motion: reduce) { .hr { transform: scaleX(1); } }

/* --------------------------------------------------------------------------- */
/*  Diagram primitives — the brand's own system language                      */
/* --------------------------------------------------------------------------- */

/* flow strip: signal -> logic -> model -> action -> state */
.flow { position: relative; margin-top: clamp(44px, 7vw, 84px); }
.flow-track {
  position: relative; display: grid; grid-auto-flow: column; align-items: center;
  grid-auto-columns: 1fr; gap: 0;
}
.flow-node {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 12px;
  padding-inline: 8px;
}
.flow-node .dot {
  width: 12px; height: 12px; border-radius: 50%;
  border: 1px solid var(--line-3); background: var(--bg);
  transition: border-color 0.4s var(--e), background-color 0.4s var(--e), box-shadow 0.4s var(--e);
}
.flow-node.sig .dot { border-color: var(--signal-40); background: var(--signal-14); }
.flow-node .lbl { font-size: 0.78rem; color: var(--ink-3); letter-spacing: 0.02em; white-space: nowrap; }
.flow-node:hover .dot { border-color: var(--signal); box-shadow: 0 0 0 4px var(--signal-08); }
.flow-node:hover .lbl { color: var(--ink-2); }
.flow-line {
  position: absolute; top: 5px; left: 0; right: 0; height: 1px; z-index: -1;
  background: var(--line-2);
  transform: scaleX(0); transform-origin: left;
  transition: transform 1.1s var(--e-cine);
}
.flow.in .flow-line { transform: scaleX(1); }
.flow-pulse {
  position: absolute; top: 2px; left: 0; width: 7px; height: 7px; border-radius: 50%;
  background: var(--signal); box-shadow: 0 0 10px var(--signal-40);
  opacity: 0;
}
.flow.in .flow-pulse { animation: flowpulse 3.4s var(--e) 1.1s infinite; }
@keyframes flowpulse {
  0% { left: 0; opacity: 0; }
  8% { opacity: 1; }
  92% { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}
@media (max-width: 640px) {
  .flow-track { grid-auto-flow: row; grid-auto-columns: auto; gap: 20px; justify-items: start; }
  .flow-node { flex-direction: row; }
  .flow-line { top: 0; bottom: 0; left: 5px; right: auto; width: 1px; height: auto; transform: scaleY(0); transform-origin: top; }
  .flow.in .flow-line { transform: scaleY(1); }
  .flow-pulse { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .flow-line { transform: none; }
  .flow.in .flow-pulse { animation: none; opacity: 0; }
}

/* before / after chain */
.chain { display: grid; gap: 20px; }
.chain-row {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  padding: 16px 18px; border: 1px solid var(--line); border-radius: 3px; background: var(--bg);
}
.chain-row .step { font-size: 0.86rem; color: var(--ink-2); white-space: nowrap; }
.chain-row .arw { width: 22px; height: 1px; background: var(--line-3); position: relative; flex: none; }
.chain-row.broke .arw { background: repeating-linear-gradient(to right, var(--metal-dim) 0 4px, transparent 4px 8px); }
.chain-row.fixed .arw { background: var(--signal-40); }
.chain-row .end { font-size: 0.82rem; padding: 3px 9px; border-radius: 999px; border: 1px solid var(--line-2); }
.chain-row.broke .end { color: var(--metal); border-color: var(--metal-dim); }
.chain-row.fixed .end { color: var(--signal); border-color: var(--signal-40); background: var(--signal-08); }

.code {
  margin-top: 22px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 3px;
  background: var(--bg-3); color: var(--ink-2);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.82rem; line-height: 1.7; overflow-x: auto;
}
.code .k { color: var(--signal); }
.code .c { color: var(--ink-3); }

/* system-state line — a divider that reads as telemetry, not a dashboard */
.stateline {
  position: relative; height: 1px; margin-block: clamp(56px, 9vw, 110px);
  background: repeating-linear-gradient(to right, var(--line-2) 0 1px, transparent 1px 40px);
}
.stateline::after {
  content: ""; position: absolute; top: 50%; left: var(--x, 62%); width: 6px; height: 6px;
  border-radius: 50%; background: var(--signal); transform: translate(-50%, -50%);
  box-shadow: 0 0 0 4px var(--signal-08), 0 0 12px var(--signal-40);
}

/* --------------------------------------------------------------------------- */
/*  01 — What we build                                                         */
/* --------------------------------------------------------------------------- */
.build .h-lead { max-width: 18ch; margin-top: clamp(26px, 4vw, 46px); }
.build .p-lead { max-width: 52ch; margin-top: 20px; }

/* --------------------------------------------------------------------------- */
/*  02 — The problem                                                           */
/* --------------------------------------------------------------------------- */
.problem .h-lead { max-width: 16ch; margin-top: clamp(26px, 4vw, 46px); }
.problem-list { list-style: none; margin-top: clamp(44px, 7vw, 80px); display: grid; gap: 0; max-width: 760px; }
.problem-list li {
  position: relative; padding: 22px 0 22px 34px; border-top: 1px solid var(--line);
  color: var(--ink-2); font-size: 1.05rem;
}
.problem-list li:last-child { border-bottom: 1px solid var(--line); }
.problem-list li::before {
  content: ""; position: absolute; left: 0; top: 28px; width: 9px; height: 9px;
  border-left: 1px solid var(--metal); border-top: 1px solid var(--metal); opacity: 0.7;
}
.problem-list li span { display: block; margin-top: 4px; font-size: 0.9rem; color: var(--ink-3); }

/* --------------------------------------------------------------------------- */
/*  03 — What Runwell does                                                     */
/* --------------------------------------------------------------------------- */
.does-grid { display: grid; gap: clamp(2px, 1vw, 8px); margin-top: clamp(44px, 7vw, 88px); }
@media (min-width: 720px) { .does-grid { grid-template-columns: 1fr 1fr; } }
.does-cell {
  border-top: 1px solid var(--line); padding: clamp(26px, 4vw, 44px) 0;
  display: grid; gap: 10px;
  transition: background-color 0.5s var(--e);
}
.does-cell:hover { background: rgba(255, 255, 255, 0.014); }
.does-cell h3 {
  font-size: clamp(1.7rem, 3.4vw, 2.6rem); letter-spacing: -0.03em;
  display: flex; align-items: baseline; gap: 0.5em;
}
.does-cell h3 b { font-size: 0.42em; color: var(--signal); font-weight: 500; opacity: 0.8; font-variant-numeric: tabular-nums; }
.does-cell p { color: var(--ink-3); font-size: 0.95rem; max-width: 40ch; }

/* --------------------------------------------------------------------------- */
/*  04 — Method                                                                */
/* --------------------------------------------------------------------------- */
.method-wrap { max-width: 680px; margin-inline: auto; position: relative; }
.band--method .label { justify-content: center; width: 100%; }
.band--method .label::after { content: ""; width: 26px; height: 1px; background: var(--metal-dim); }
.method-steps { margin-top: clamp(46px, 7vw, 90px); position: relative; }
.method-steps::before {
  content: ""; position: absolute; left: 5px; top: 8px; bottom: 8px; width: 1px;
  background: var(--line-2); transform: scaleY(0); transform-origin: top;
  transition: transform 1.4s var(--e-cine);
}
.method-steps.in::before { transform: scaleY(1); }
.step {
  position: relative; display: grid; grid-template-columns: 44px 1fr; gap: 22px;
  padding-block: 22px;
}
.step .mk {
  width: 11px; height: 11px; border-radius: 50%; margin-top: 6px;
  background: var(--bg); border: 1px solid var(--line-3);
}
.step:hover .mk { border-color: var(--signal); box-shadow: 0 0 0 4px var(--signal-08); }
.step h3 { font-size: 1.12rem; font-weight: 500; color: var(--ink); letter-spacing: -0.01em; }
.step p { margin-top: 5px; font-size: 0.93rem; color: var(--ink-3); }
@media (prefers-reduced-motion: reduce) { .method-steps::before { transform: scaleY(1); } }

/* --------------------------------------------------------------------------- */
/*  05 — Example                                                               */
/* --------------------------------------------------------------------------- */
.example-grid { display: grid; gap: clamp(40px, 6vw, 88px); margin-top: clamp(46px, 7vw, 80px); }
@media (min-width: 940px) { .example-grid { grid-template-columns: 0.85fr 1.15fr; align-items: start; } }
.example-lead h3 { font-size: clamp(1.7rem, 3.6vw, 2.7rem); max-width: 14ch; }
.example-lead p { margin-top: 20px; color: var(--ink-2); max-width: 42ch; }
.example-lead .meta { margin-top: 22px; font-size: 0.8rem; color: var(--ink-3); }
.example-panel {
  border: 1px solid var(--line); border-radius: 4px; padding: clamp(22px, 3.5vw, 38px);
  background: linear-gradient(180deg, var(--bg-3), var(--bg-1));
  box-shadow: 0 40px 120px -50px rgba(0, 0, 0, 0.7);
}
.example-panel .rootcause {
  margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line);
  font-size: 0.92rem; color: var(--ink-2);
}

/* --------------------------------------------------------------------------- */
/*  06 — Consulting / where this goes                                          */
/* --------------------------------------------------------------------------- */
.consult { max-width: 720px; }
.consult .h-lead { font-size: clamp(1.8rem, 4vw, 3rem); max-width: 18ch; margin-top: clamp(24px, 4vw, 44px); }
.consult p { margin-top: 22px; color: var(--ink-2); max-width: 48ch; }
.consult .badge {
  margin-top: 26px; display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3);
}
.consult .badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--metal); opacity: 0.7; }

/* --------------------------------------------------------------------------- */
/*  07 — Engagements                                                           */
/* --------------------------------------------------------------------------- */
.eng-head { max-width: 42ch; margin-top: clamp(24px, 4vw, 44px); }
.eng-head .h-lead { font-size: clamp(1.9rem, 4.2vw, 3.1rem); }
.eng-head p { margin-top: 18px; color: var(--ink-2); }

.eng-list { display: grid; gap: 0; margin-top: clamp(50px, 8vw, 100px); }
.eng {
  display: grid; gap: clamp(14px, 3vw, 36px); grid-template-columns: 1fr;
  padding-block: clamp(34px, 5.5vw, 56px); border-top: 1px solid var(--line);
  transition: background-color 0.5s var(--e);
}
.eng:last-child { border-bottom: 1px solid var(--line); }
@media (min-width: 880px) { .eng { grid-template-columns: 0.8fr 1fr 0.6fr; align-items: start; } }
.eng:hover { background: rgba(255, 255, 255, 0.015); }
.eng-name { color: var(--ink); font-size: 1.15rem; font-weight: 500; letter-spacing: -0.01em; }
.eng-name .rec {
  display: inline-flex; align-items: center; gap: 7px; margin-top: 10px;
  font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--signal); font-weight: 500;
}
.eng-name .rec::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 8px var(--signal-40); }
.eng-scope { color: var(--ink-2); }
.eng-scope ul { list-style: none; margin-top: 15px; display: grid; gap: 9px; }
.eng-scope li { position: relative; padding-left: 20px; font-size: 0.93rem; color: var(--ink-3); }
.eng-scope li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 9px; height: 1px; background: var(--metal-dim); }
.eng-side { display: flex; flex-direction: column; gap: 18px; }
.eng-price { font-size: clamp(2rem, 3.4vw, 2.7rem); font-weight: 500; color: var(--ink); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }

/* the central engagement carries the light, not a heavy card */
.eng--feature {
  position: relative; padding-inline: clamp(18px, 3vw, 32px);
  margin-inline: clamp(-18px, -3vw, -32px);
  background:
    radial-gradient(70% 130% at 50% 0%, var(--signal-08), transparent 68%),
    linear-gradient(180deg, rgba(255,255,255,0.015), transparent 60%);
  border-radius: 4px;
}
.eng--feature::before {
  content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px;
  background: linear-gradient(to right, transparent, var(--signal-40), transparent);
}
.eng--feature .eng-name { font-size: 1.3rem; }

.eng-note { margin-top: clamp(34px, 5vw, 56px); max-width: 52ch; color: var(--ink-3); font-size: 0.9rem; }

/* --------------------------------------------------------------------------- */
/*  08 — FAQ                                                                   */
/* --------------------------------------------------------------------------- */
.faq { margin-top: clamp(40px, 6vw, 72px); }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding-block: 24px; color: var(--ink); font-size: 1.05rem; font-weight: 500;
}
.faq summary::-webkit-details-marker { display: none; }
.faq .pm { position: relative; width: 12px; height: 12px; flex: none; }
.faq .pm::before, .faq .pm::after {
  content: ""; position: absolute; background: var(--signal); opacity: 0.8;
  transition: transform 0.4s var(--e-cine), opacity 0.4s var(--e);
}
.faq .pm::before { left: 0; right: 0; top: 50%; height: 1px; transform: translateY(-50%); }
.faq .pm::after  { top: 0; bottom: 0; left: 50%; width: 1px; transform: translateX(-50%); }
.faq details[open] .pm::after { transform: translateX(-50%) rotate(90deg); opacity: 0; }
.faq .a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.5s var(--e-cine); }
.faq details[open] .a { grid-template-rows: 1fr; }
.faq .a > div { overflow: hidden; }
.faq .a p { padding-bottom: 26px; max-width: 62ch; color: var(--ink-2); font-size: 0.98rem; }
@media (prefers-reduced-motion: reduce) { .faq .a { transition: none; } }

/* --------------------------------------------------------------------------- */
/*  09 — Start a project (close)                                               */
/* --------------------------------------------------------------------------- */
.band--close { text-align: center; overflow: hidden; }
.band--close .close-light {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(40% 60% at 50% 38%, rgba(255,255,255,0.05), transparent 72%),
    radial-gradient(60% 50% at 50% 30%, var(--signal-08), transparent 70%);
}
.band--close .mark { width: clamp(120px, 18vw, 220px); margin: 0 auto clamp(36px, 6vw, 60px); color: var(--ink); }
.band--close h2 { font-size: clamp(2.4rem, 6.4vw, 4.6rem); letter-spacing: -0.04em; }
.band--close .sub { margin-top: 22px; color: var(--ink-2); font-size: 1.05rem; }
.band--close .close-cta { margin-top: clamp(34px, 5vw, 54px); display: flex; gap: 32px; justify-content: center; align-items: center; flex-wrap: wrap; }
.band--close a[href^="mailto"] { color: var(--ink-3); font-size: 0.92rem; }
.band--close a[href^="mailto"]:hover { color: var(--metal); }

/* --------------------------------------------------------------------------- */
/*  Footer                                                                     */
/* --------------------------------------------------------------------------- */
.footer { border-top: 1px solid var(--line); padding-block: clamp(44px, 7vw, 72px); position: relative; z-index: 1; background: var(--bg); }
.footer-row { display: flex; flex-wrap: wrap; gap: 28px 44px; align-items: center; justify-content: space-between; }
.footer-brand { display: inline-flex; align-items: center; gap: 13px; color: var(--ink); }
.footer-brand .mark { width: 30px; height: auto; }
.footer-brand b { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.24em; padding-left: 0.24em; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 22px; font-size: 0.88rem; color: var(--ink-3); }
.footer-nav a:hover { color: var(--ink-2); }
.footer-meta { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 0.78rem; color: var(--ink-3); align-items: center; }
.footer-meta .tagmini { letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-3); }
.footer-meta a:hover { color: var(--metal); }
