/* =========================================================================
   ANJ ESG Consultancy — site styles
   Dark enterprise-software aesthetic. Locked palette per Playbook v2.2.
   Display: Space Grotesk · Body/UI: Inter · Data/labels: JetBrains Mono
   ========================================================================= */

:root {
  /* palette (locked) */
  --bg:        #071014;
  --bg-soft:   #081418;
  --surface:   #0c171c;
  --surface-2: #0f1e24;
  --line:      rgba(255,255,255,.09);
  --line-soft: rgba(255,255,255,.06);

  --accent:    #22c55e;
  --accent-2:  #16a34a;
  --accent-dim: rgba(34,197,94,.14);
  --accent-glow: rgba(34,197,94,.35);

  --text:      #f2f6f4;
  --muted:     #9fb0ac;
  --faint:     #6d7d79;

  --danger:    #ef5350;

  --radius:    16px;
  --radius-sm: 11px;
  --maxw:      1160px;
  --pad:       clamp(20px, 5vw, 40px);

  --ff-display: "Space Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ff-body:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --ff-mono:    "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--ff-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--ff-display); font-weight: 600; line-height: 1.08; letter-spacing: -.02em; margin: 0; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

/* subtle full-page grid texture */
body::before {
  content: "";
  position: fixed; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 120% 80% at 50% 0%, #000 40%, transparent 100%);
  pointer-events: none; z-index: 0;
}

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--pad); position: relative; z-index: 1; }
.section { padding-block: clamp(64px, 10vw, 116px); position: relative; z-index: 1; }
.section--tight { padding-block: clamp(48px, 7vw, 80px); }

.eyebrow {
  font-family: var(--ff-mono);
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0 0 18px;
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--accent); opacity: .8; }

.section-title { font-size: clamp(28px, 4.4vw, 44px); max-width: 20ch; }
.section-lead { color: var(--muted); font-size: clamp(16px, 2vw, 19px); max-width: 62ch; margin-top: 18px; }
.center { text-align: center; margin-inline: auto; }
.center .eyebrow::before { display: none; }
.center .eyebrow { margin-inline: auto; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--ff-body); font-weight: 500; font-size: 15px;
  padding: 13px 22px; border-radius: 10px; cursor: pointer;
  border: 1px solid transparent; transition: transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.btn svg { width: 16px; height: 16px; }
.btn--primary { background: var(--accent); color: #04140b; font-weight: 600; box-shadow: 0 1px 0 rgba(255,255,255,.25) inset, 0 10px 30px -12px var(--accent-glow); }
.btn--primary:hover { background: #2ad169; transform: translateY(-2px); }
.btn--ghost { background: rgba(255,255,255,.02); border-color: var(--line); color: var(--text); }
.btn--ghost:hover { border-color: rgba(255,255,255,.24); background: rgba(255,255,255,.05); transform: translateY(-2px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

.arrowlink { display: inline-flex; align-items: center; gap: 8px; color: var(--accent); font-weight: 500; font-size: 15px; }
.arrowlink svg { width: 15px; height: 15px; transition: transform .2s ease; }
.arrowlink:hover svg { transform: translateX(4px); }

/* ---------- header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7,16,20,.72);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 0; }
.brand img { height: 38px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  font-size: 14.5px; color: var(--muted); padding: 8px 13px; border-radius: 8px;
  transition: color .16s ease, background .16s ease;
}
.nav-links a:hover { color: var(--text); background: rgba(255,255,255,.04); }
.nav-links a.active { color: var(--text); }
.nav-links a.active::after { content: ""; display: block; height: 2px; width: 18px; margin: 3px auto 0; background: var(--accent); border-radius: 2px; }
.nav-cta { margin-left: 10px; padding: 10px 16px !important; }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--line); border-radius: 9px;
  width: 42px; height: 40px; cursor: pointer; color: var(--text);
}
.nav-toggle svg { width: 20px; height: 20px; margin: auto; }

/* mobile menu panel */
.mobile-menu { display: none; }

/* ---------- hero ---------- */
.hero { position: relative; padding-block: clamp(56px, 9vw, 104px) clamp(64px, 9vw, 108px); overflow: hidden; }
.hero::after {
  content: ""; position: absolute; top: -20%; right: -10%; width: 60vw; height: 60vw; max-width: 720px; max-height: 720px;
  background: radial-gradient(circle, rgba(34,197,94,.10), transparent 62%);
  pointer-events: none; z-index: 0;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 64px); align-items: center; position: relative; z-index: 1; }
.hero h1 { font-size: clamp(34px, 5.6vw, 60px); letter-spacing: -.03em; }
.hero h1 .g { color: var(--accent); }
.hero .lede { color: var(--muted); font-size: clamp(16px, 2vw, 19px); max-width: 52ch; margin-top: 22px; }
.hero .btn-row { margin-top: 32px; }
.hero .tagline { font-family: var(--ff-mono); font-size: 12.5px; letter-spacing: .16em; color: var(--faint); margin-top: 28px; text-transform: uppercase; }
.hero .tagline b { color: var(--muted); font-weight: 500; }

/* floating dashboard window (real screenshot, labelled) */
.window {
  border-radius: 14px; overflow: hidden;
  border: 1px solid var(--line);
  background: #0a141a;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.8), 0 0 0 1px rgba(34,197,94,.05);
  position: relative;
}
.window-bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; background: #0d181e; border-bottom: 1px solid var(--line-soft); }
.window-bar span { width: 10px; height: 10px; border-radius: 50%; background: #2b3a3f; }
.window-bar .wtitle { font-family: var(--ff-mono); font-size: 11px; color: var(--faint); margin-left: 8px; letter-spacing: .04em; }
.window img { display: block; width: 100%; }
.demo-tag {
  position: absolute; top: 52px; right: 12px; z-index: 2;
  font-family: var(--ff-mono); font-size: 10.5px; letter-spacing: .05em;
  color: var(--accent); background: rgba(7,16,20,.82);
  border: 1px solid rgba(34,197,94,.4); border-radius: 999px; padding: 5px 11px;
}
.hero-window { transform: perspective(1600px) rotateY(-5deg) rotateX(2deg); }

/* ---------- pipeline signature ---------- */
.pipeline {
  --pipe-line: rgba(34,197,94,.28);
  margin-top: 8px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,0));
  padding: clamp(24px, 3.5vw, 40px) clamp(18px, 3vw, 34px);
}
.pipeline-label { font-family: var(--ff-mono); font-size: 12.5px; letter-spacing: .06em; color: var(--muted); margin-bottom: 26px; }
.pipeline-label b { color: var(--text); font-weight: 600; }
.pipeline-track { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; position: relative; }
.pnode { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 8px; }
.pnode .pglass {
  width: 56px; height: 56px; border-radius: 13px; display: grid; place-items: center;
  background: rgba(34,197,94,.06); border: 1px solid rgba(34,197,94,.28);
  box-shadow: 0 8px 24px -14px var(--accent-glow); margin-bottom: 14px;
}
.pnode .pglass svg { width: 26px; height: 26px; stroke: var(--accent); fill: none; stroke-width: 1.6; }
.pnode h4 { font-size: 15px; font-family: var(--ff-body); font-weight: 600; letter-spacing: 0; }
.pnode small { color: var(--faint); font-size: 12.5px; margin-top: 4px; display: block; font-family: var(--ff-mono); }
/* connector line + travelling pulse */
.pnode:not(:last-child)::before {
  content: ""; position: absolute; top: 28px; left: calc(50% + 34px); right: calc(-50% + 34px);
  height: 1px; background: var(--pipe-line);
}
.pnode:not(:last-child)::after {
  content: ""; position: absolute; top: 26.5px; left: calc(50% + 34px); width: 5px; height: 5px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 10px 2px var(--accent-glow);
  animation: flow 3.4s linear infinite;
  animation-delay: calc(var(--i) * .68s);
}
@keyframes flow {
  0% { transform: translateX(0); opacity: 0; }
  12% { opacity: 1; }
  88% { opacity: 1; }
  100% { transform: translateX(calc(100% * var(--gap, 3.2))); opacity: 0; }
}

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

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  transition: border-color .2s ease, transform .2s ease, background .2s ease;
}
.card:hover { border-color: rgba(34,197,94,.30); transform: translateY(-3px); background: var(--surface-2); }
.card .idx { font-family: var(--ff-mono); font-size: 12px; color: var(--accent); letter-spacing: .08em; }
.card .cicon { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--accent-dim); margin-bottom: 18px; }
.card .cicon svg { width: 21px; height: 21px; stroke: var(--accent); fill: none; stroke-width: 1.6; }
.card h3 { font-size: 18.5px; font-family: var(--ff-body); font-weight: 600; margin-bottom: 9px; }
.card p { color: var(--muted); font-size: 15px; }

/* ---------- problem: scattered sources ---------- */
.problem-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.sources { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.src {
  border: 1px solid var(--line); border-radius: 12px; padding: 16px 14px; background: var(--surface);
  position: relative;
}
.src .dot { position: absolute; top: 14px; right: 14px; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px 1px var(--accent-glow); }
.src h5 { font-family: var(--ff-body); font-size: 14px; font-weight: 600; margin: 0 0 2px; }
.src small { font-family: var(--ff-mono); font-size: 11px; color: var(--faint); }
.src .rows { font-family: var(--ff-mono); font-size: 11.5px; color: var(--muted); margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line-soft); }
.deadline {
  grid-column: 1 / -1; margin-top: 6px; display: flex; align-items: center; gap: 12px; justify-content: center;
  border: 1px solid rgba(239,83,80,.35); border-radius: 12px; padding: 14px 18px; background: rgba(239,83,80,.06);
  font-family: var(--ff-mono); font-size: 13.5px; color: var(--text); letter-spacing: .02em;
}
.deadline b { color: var(--danger); }
.deadline svg { width: 18px; height: 18px; stroke: var(--danger); fill: none; stroke-width: 1.7; flex: none; }

/* ---------- methodology steps ---------- */
.steps { display: grid; gap: 0; }
.step { display: grid; grid-template-columns: auto 1fr; gap: 22px; padding: 24px 0; border-top: 1px solid var(--line-soft); }
.step:first-child { border-top: none; }
.step .num { font-family: var(--ff-mono); font-size: 13px; color: var(--accent); padding-top: 3px; letter-spacing: .05em; }
.step h3 { font-size: 20px; font-family: var(--ff-body); font-weight: 600; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 15.5px; max-width: 60ch; }
.esrs-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.tag { font-family: var(--ff-mono); font-size: 11.5px; letter-spacing: .04em; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 4px 11px; }
.tag b { color: var(--accent); font-weight: 600; }

/* traceability callout */
.trace {
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  border: 1px solid rgba(34,197,94,.3); border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(34,197,94,.05), rgba(255,255,255,0));
  padding: 22px 26px; margin-top: 34px;
}
.trace .shield { width: 44px; height: 44px; border-radius: 11px; background: var(--accent-dim); display: grid; place-items: center; flex: none; }
.trace .shield svg { width: 24px; height: 24px; stroke: var(--accent); fill: none; stroke-width: 1.6; }
.trace p { font-size: 16px; }
.trace p b { color: var(--text); font-weight: 600; }
.trace .meta { font-family: var(--ff-mono); font-size: 12px; color: var(--faint); margin-top: 3px; }

/* ---------- proof / demo strip ---------- */
.proof-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 5vw, 60px); align-items: center; }

/* ---------- async ---------- */
.async-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.async-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; background: var(--surface); }
.async-card .k { font-family: var(--ff-display); font-size: 30px; color: var(--accent); font-weight: 600; }
.async-card h3 { font-size: 17px; font-family: var(--ff-body); font-weight: 600; margin: 12px 0 8px; }
.async-card p { color: var(--muted); font-size: 14.5px; }

/* ---------- CTA band ---------- */
.cta-band {
  border: 1px solid var(--line); border-radius: 20px; overflow: hidden; position: relative;
  background: linear-gradient(160deg, rgba(34,197,94,.08), rgba(255,255,255,0) 55%);
  padding: clamp(36px, 6vw, 68px);
  text-align: center;
}
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 100% at 50% 0%, rgba(34,197,94,.12), transparent 70%); pointer-events: none; }
.cta-band h2 { font-size: clamp(26px, 4vw, 40px); max-width: 22ch; margin-inline: auto; position: relative; }
.cta-band p { color: var(--muted); max-width: 56ch; margin: 18px auto 0; font-size: 17px; position: relative; }
.cta-band .btn-row { justify-content: center; margin-top: 30px; position: relative; }
.cta-band .email { font-family: var(--ff-mono); font-size: 13px; color: var(--faint); margin-top: 22px; position: relative; }
.cta-band .email a { color: var(--muted); border-bottom: 1px solid var(--line); }
.cta-band .email a:hover { color: var(--accent); border-color: var(--accent); }

/* ---------- services pricing ---------- */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.price {
  display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px 26px;
}
.price.feature { border-color: rgba(34,197,94,.4); background: linear-gradient(180deg, rgba(34,197,94,.06), var(--surface)); }
.price .tier { font-family: var(--ff-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.price h3 { font-size: 21px; font-family: var(--ff-body); font-weight: 600; margin: 14px 0 4px; }
.price .amount { font-family: var(--ff-display); font-size: clamp(26px, 3.4vw, 32px); font-weight: 600; margin: 6px 0 2px; }
.price .amount small { font-size: 14px; color: var(--faint); font-family: var(--ff-mono); font-weight: 400; }
.price .sub { color: var(--faint); font-size: 13px; font-family: var(--ff-mono); margin-bottom: 18px; }
.price p { color: var(--muted); font-size: 15px; flex: 1; }
.price .meta { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line-soft); font-family: var(--ff-mono); font-size: 12.5px; color: var(--faint); display: flex; align-items: center; gap: 8px; }
.price .meta svg { width: 15px; height: 15px; stroke: var(--accent); fill: none; stroke-width: 1.7; flex: none; }
.ribbon { align-self: flex-start; font-family: var(--ff-mono); font-size: 11px; letter-spacing: .06em; color: #04140b; background: var(--accent); border-radius: 999px; padding: 4px 11px; margin-bottom: 14px; }

.disclaimer { color: var(--faint); font-size: 13.5px; max-width: 70ch; margin-top: 34px; font-family: var(--ff-body); }

/* ---------- demo page ---------- */
.demo-banner {
  display: inline-flex; align-items: center; gap: 10px; font-family: var(--ff-mono); font-size: 12.5px;
  letter-spacing: .05em; color: var(--accent); border: 1px solid rgba(34,197,94,.4);
  background: rgba(34,197,94,.06); border-radius: 999px; padding: 8px 16px; margin-bottom: 22px;
}
.demo-banner .pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 var(--accent-glow); animation: ping 2.4s ease-out infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 var(--accent-glow); } 70%,100% { box-shadow: 0 0 0 9px transparent; } }

.dash-block { margin-top: 30px; }
.dash-block .window { max-width: 100%; }
.dash-cap { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin: 14px 2px 0; flex-wrap: wrap; }
.dash-cap h3 { font-size: 17px; font-family: var(--ff-body); font-weight: 600; }
.dash-cap span { font-family: var(--ff-mono); font-size: 12.5px; color: var(--faint); }

.flow-strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 8px; }
.flow-cell { border: 1px solid var(--line); border-radius: 12px; padding: 18px 16px; background: var(--surface); }
.flow-cell .n { font-family: var(--ff-mono); font-size: 12px; color: var(--accent); }
.flow-cell h4 { font-size: 15.5px; font-family: var(--ff-body); font-weight: 600; margin: 10px 0 6px; }
.flow-cell p { color: var(--muted); font-size: 13.5px; }

.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.gallery figure { margin: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.gallery img { width: 100%; height: auto; }
.gallery figcaption { font-family: var(--ff-mono); font-size: 12px; color: var(--faint); padding: 12px 16px; border-top: 1px solid var(--line-soft); }

/* ---------- about ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.about-card { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: 30px; position: sticky; top: 92px; }
.about-card .role { font-family: var(--ff-mono); font-size: 12.5px; color: var(--accent); letter-spacing: .04em; }
.about-card h3 { font-size: 22px; font-family: var(--ff-body); font-weight: 600; margin: 8px 0 16px; }
.about-card ul { display: grid; gap: 12px; }
.about-card li { display: flex; gap: 11px; color: var(--muted); font-size: 14.5px; }
.about-card li svg { width: 17px; height: 17px; stroke: var(--accent); fill: none; stroke-width: 1.7; flex: none; margin-top: 3px; }
.prose p { color: var(--muted); font-size: 17px; margin-bottom: 20px; max-width: 64ch; }
.prose p b, .prose strong { color: var(--text); font-weight: 600; }
.prose h3 { font-size: 20px; font-family: var(--ff-body); font-weight: 600; margin: 34px 0 14px; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 60px); align-items: start; }
.contact-lead h1 { font-size: clamp(32px, 5vw, 52px); }
.field { border: 1px solid var(--line); border-radius: 12px; background: var(--surface); padding: 18px 20px; margin-bottom: 12px; }
.field .lab { font-family: var(--ff-mono); font-size: 12px; color: var(--accent); letter-spacing: .06em; }
.field .val { color: var(--muted); font-size: 15px; margin-top: 4px; }
.contact-panel { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: 30px; }
.contact-panel h3 { font-size: 19px; font-family: var(--ff-body); font-weight: 600; margin-bottom: 8px; }
.contact-panel p { color: var(--muted); font-size: 15px; margin-bottom: 20px; }
.contact-panel .email-big { font-family: var(--ff-mono); font-size: clamp(15px, 2.4vw, 19px); color: var(--text); word-break: break-all; margin-bottom: 22px; }
.contact-panel .email-big a { border-bottom: 1px solid var(--accent); }
.two-lines { font-family: var(--ff-mono); font-size: 13px; color: var(--faint); border: 1px dashed var(--line); border-radius: 10px; padding: 16px; line-height: 1.9; margin-top: 8px; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line-soft); padding-block: 48px 40px; margin-top: 40px; }
.footer-top { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; align-items: flex-start; }
.footer-brand img { height: 52px; margin-bottom: 14px; }
.footer-brand p { color: var(--muted); font-size: 14.5px; max-width: 34ch; }
.footer-brand .tag { display: inline-block; margin-top: 14px; border: none; padding: 0; font-family: var(--ff-mono); font-size: 12px; letter-spacing: .14em; color: var(--faint); text-transform: uppercase; }
.footer-cols { display: flex; gap: 56px; flex-wrap: wrap; }
.footer-col h5 { font-family: var(--ff-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); margin: 0 0 14px; font-weight: 500; }
.footer-col a, .footer-col span { display: block; color: var(--muted); font-size: 14.5px; margin-bottom: 10px; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line-soft); color: var(--faint); font-size: 13px; font-family: var(--ff-mono); }

/* ---------- scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }

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

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-window { transform: none; margin-top: 8px; }
  .proof-grid, .problem-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-card { position: static; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .price-grid { grid-template-columns: 1fr; }
  .async-grid { grid-template-columns: 1fr; }
  .flow-strip { grid-template-columns: repeat(2, 1fr); }
  /* pipeline -> vertical */
  .pipeline-track { grid-template-columns: 1fr; gap: 8px; }
  .pnode { flex-direction: row; text-align: left; gap: 16px; padding: 10px 0; align-items: center; }
  .pnode .pglass { margin-bottom: 0; }
  .pnode .ptext { display: flex; flex-direction: column; }
  .pnode:not(:last-child)::before { top: calc(28px + 10px); left: 27px; right: auto; width: 1px; height: calc(100% - 20px); }
  .pnode:not(:last-child)::after { display: none; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: grid; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .sources { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .flow-strip { grid-template-columns: 1fr; }
  .step { grid-template-columns: 1fr; gap: 6px; }
  .step .num { padding-top: 0; }
  .footer-top { flex-direction: column; }
  .mobile-menu.open {
    display: block; border-top: 1px solid var(--line-soft);
    background: rgba(7,16,20,.98); backdrop-filter: blur(14px);
  }
  .mobile-menu.open .wrap { padding-block: 12px 20px; }
  .mobile-menu a { display: block; padding: 14px 4px; font-size: 16px; color: var(--text); border-bottom: 1px solid var(--line-soft); }
  .mobile-menu a:last-of-type { border-bottom: none; }
  .mobile-menu .btn { margin-top: 16px; width: 100%; justify-content: center; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .hero-window { transform: none; }
}

/* ---------- icon defaults ---------- */
svg { stroke-linecap: round; stroke-linejoin: round; }
.btn svg, .arrowlink svg { stroke: currentColor; fill: none; stroke-width: 2; }
.pnode .pglass svg, .card .cicon svg, .trace .shield svg,
.about-card li svg, .price .meta svg, .deadline svg, .contact-panel svg { fill: none; }

/* =========================================================================
   REFINEMENTS
   ========================================================================= */

/* --- Refinement 1: legible brand lockup (exact ANJ mark + descriptor) --- */
.nav { height: 76px; }
.brand { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 6px; line-height: 1; }
.brand-mark { height: 40px; width: auto; display: block; }
.brand-desc {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--ff-mono); font-size: 10px; font-weight: 500;
  letter-spacing: .34em; text-transform: uppercase; color: #d6e0dd; padding-left: 3px; white-space: nowrap;
}
.brand-desc i { height: 1px; width: 13px; background: var(--accent); display: inline-block; flex: none; }
.brand-desc i:last-child { width: 20px; }
.brand--footer .brand-mark { height: 50px; }
.brand--footer .brand-desc { font-size: 11px; }

/* --- Refinement 2: premium, sharp, constrained product frame --- */
.window {
  border-radius: 13px; overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  background: #0b141a;
  box-shadow: 0 30px 70px -34px rgba(0,0,0,.85), 0 2px 0 rgba(255,255,255,.04) inset, 0 0 0 1px rgba(34,197,94,.05);
  width: 100%; margin-inline: auto;
}
.window-bar {
  display: flex; align-items: center; gap: 7px; padding: 10px 14px;
  background: linear-gradient(180deg,#101c22,#0c161b); border-bottom: 1px solid rgba(255,255,255,.07);
}
.window-bar span { width: 10px; height: 10px; border-radius: 50%; background: #2c3b40; }
.window-bar span:nth-child(1){ background:#3a4a4a; } .window-bar span:nth-child(2){ background:#33413f; } .window-bar span:nth-child(3){ background:#2f3d3c; }
.window-bar .wtitle {
  margin-left: 10px; font-family: var(--ff-mono); font-size: 11px; color: #8aa; color: var(--faint);
  background: rgba(255,255,255,.03); border: 1px solid var(--line-soft); border-radius: 6px; padding: 4px 12px; letter-spacing: .02em;
}
.window img { display: block; width: 100%; height: auto; image-rendering: auto; }
/* size caps keep screenshots at/below native resolution → always sharp, never upscaled */
.window--hero { max-width: 560px; }
.window--primary { max-width: 1000px; }
.window--secondary { max-width: 820px; }
.demo-tag {
  position: absolute; top: 50px; right: 14px; z-index: 2;
  font-family: var(--ff-mono); font-size: 10.5px; letter-spacing: .04em;
  color: var(--accent); background: rgba(7,16,20,.9);
  border: 1px solid rgba(34,197,94,.45); border-radius: 999px; padding: 5px 12px;
}
.window-wrap { position: relative; }

/* Home hero: give the frame breathing room, less aggressive tilt */
.hero-window { transform: perspective(1800px) rotateY(-4deg) rotateX(1.5deg); transform-origin: center; }

/* Demo primary/secondary framing */
.dash-primary { max-width: 1000px; margin-inline: auto; }
.dash-secondary { max-width: 820px; margin-inline: auto; }
.dash-eyebrow-row { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.dash-eyebrow-row .lab { font-family: var(--ff-mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.dash-eyebrow-row .rule { height: 1px; flex: 1; background: var(--line); }

/* Home proof: four-page evidence preview (no second pasted screenshot) */
.tabs-preview { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.tabs-preview .tp-bar { display: flex; align-items: center; gap: 7px; padding: 10px 14px; background: linear-gradient(180deg,#101c22,#0c161b); border-bottom: 1px solid var(--line-soft); }
.tabs-preview .tp-bar span { width: 10px; height: 10px; border-radius: 50%; background: #2f3d3c; }
.tabs-preview .tp-bar .wtitle { margin-left: 10px; font-family: var(--ff-mono); font-size: 11px; color: var(--faint); }
.tabs-preview .tp-body { padding: 8px; }
.tabs-preview .tp-tab { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 16px; border-radius: 10px; }
.tabs-preview .tp-tab + .tp-tab { border-top: 1px solid var(--line-soft); }
.tabs-preview .tp-tab .t-name { font-family: var(--ff-body); font-weight: 600; font-size: 15px; display: flex; align-items: center; gap: 11px; }
.tabs-preview .tp-tab .t-name .d { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px 1px var(--accent-glow); flex: none; }
.tabs-preview .tp-tab .t-meta { font-family: var(--ff-mono); font-size: 11.5px; color: var(--faint); }
.tabs-preview .tp-foot { padding: 14px 16px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.tabs-preview .tp-foot .note { font-family: var(--ff-mono); font-size: 11px; color: var(--faint); }

/* --- Refinement 3: Services modular-work callout --- */
.modular {
  margin-top: 26px; border: 1px solid rgba(34,197,94,.32); border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(34,197,94,.06), rgba(255,255,255,0));
  padding: 26px clamp(22px,3vw,32px); display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: center;
}
.modular .m-icon { width: 46px; height: 46px; border-radius: 12px; background: var(--accent-dim); display: grid; place-items: center; flex: none; }
.modular .m-icon svg { width: 24px; height: 24px; stroke: var(--accent); fill: none; stroke-width: 1.6; }
.modular h3 { font-size: 19px; font-family: var(--ff-body); font-weight: 600; margin-bottom: 7px; }
.modular p { color: var(--muted); font-size: 15px; }
.modular .parts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.modular .parts .tag { font-family: var(--ff-mono); font-size: 11.5px; letter-spacing: .02em; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; }

@media (max-width: 720px) {
  .modular { grid-template-columns: 1fr; gap: 16px; }
  .brand-mark { height: 34px; }
  .nav { height: 68px; }
}

.window { position: relative; }

/* demo label lives in the window chrome (never overlaps dashboard data) */
.window-bar .demo-tag { position: static; margin-left: auto; top: auto; right: auto; }
@media (max-width: 560px){ .window-bar .demo-tag { font-size: 9px; padding: 4px 8px; letter-spacing: 0; } .window-bar .wtitle { display:none; } }

/* demo label as caption / flag (never over data, never overflowing chrome) */
.hero-media { display: flex; flex-direction: column; align-items: flex-end; gap: 0; }
.demo-caption { display: inline-flex; align-items: center; gap: 8px; font-family: var(--ff-mono); font-size: 11.5px; letter-spacing: .04em; color: var(--accent); margin-top: 14px; }
.demo-caption::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px 1px var(--accent-glow); }
.dash-eyebrow-row .demo-flag { font-family: var(--ff-mono); font-size: 11px; letter-spacing: .03em; color: var(--accent); border: 1px solid rgba(34,197,94,.4); border-radius: 999px; padding: 5px 11px; white-space: nowrap; }
@media (max-width: 960px){ .hero-media { align-items: stretch; } .demo-caption { align-self: flex-start; } }
@media (max-width: 560px){ .dash-eyebrow-row { flex-wrap: wrap; } .dash-eyebrow-row .demo-flag { font-size: 10px; } }

.tabs-preview .tp-bar .wtitle { white-space: nowrap; }

/* =========================================================================
   INTERACTIVE PASS — signature experiences (purposeful motion only)
   ========================================================================= */

/* ---------- HERO ENGINE (signature 1) ---------- */
.engine {
  position: relative; border-radius: 14px; overflow: hidden;
  border: 1px solid rgba(255,255,255,.1);
  background: linear-gradient(180deg,#0b1519,#0a1317);
  box-shadow: 0 34px 80px -36px rgba(0,0,0,.85), 0 0 0 1px rgba(34,197,94,.05);
  width: 100%; max-width: 560px; margin-inline: auto;
}
.engine .window-bar .live { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; font-family: var(--ff-mono); font-size: 10.5px; color: var(--accent); }
.engine .window-bar .live::before { content:""; width:7px;height:7px;border-radius:50%;background:var(--accent); box-shadow:0 0 8px 1px var(--accent-glow); animation: ping 2.4s ease-out infinite; }
.engine-body { position: relative; padding: 26px 22px 20px; }
.engine-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
.engine-flow { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(5,1fr); gap: 0; }
.enode { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.enode .g {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(255,255,255,.02); border: 1px solid rgba(255,255,255,.1);
  transition: border-color .45s ease, background .45s ease, box-shadow .45s ease, transform .45s ease;
}
.enode .g svg { width: 22px; height: 22px; stroke: #7d8c88; fill: none; stroke-width: 1.6; transition: stroke .45s ease; }
.enode small { font-family: var(--ff-mono); font-size: 9.5px; letter-spacing: .04em; color: var(--faint); }
.enode.lit .g { border-color: var(--accent); background: rgba(34,197,94,.14); box-shadow: 0 0 20px -3px var(--accent-glow); transform: translateY(-1px); }
.enode.lit .g svg { stroke: var(--accent); }

.engine-result { position: relative; z-index: 2; margin-top: 20px; border-top: 1px solid var(--line-soft); padding-top: 18px; }
.er-kpis { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
.er-kpi { border: 1px solid var(--line-soft); border-radius: 9px; padding: 11px 12px; background: rgba(255,255,255,.02); opacity: 0; transform: translateY(6px); }
.engine.run .er-kpi { animation: fadeUp .5s ease forwards; }
.engine.run .er-kpi:nth-child(2){ animation-delay:.08s; } .engine.run .er-kpi:nth-child(3){ animation-delay:.16s; }
.er-kpi .v { font-family: var(--ff-display); font-size: 19px; font-weight: 600; color: var(--text); line-height: 1; }
.er-kpi .v small { font-size: 11px; color: var(--faint); font-family: var(--ff-mono); font-weight: 400; }
.er-kpi .l { font-family: var(--ff-mono); font-size: 9px; color: var(--faint); margin-top: 5px; letter-spacing: .02em; }
.er-charts { display: grid; grid-template-columns: 92px 1fr; gap: 16px; align-items: center; margin-top: 12px; }
.er-donut { width: 92px; height: 92px; }
.er-donut circle { fill: none; stroke-width: 9; transform: rotate(-90deg); transform-origin: 50% 50%; }
.er-donut .seg { stroke-dasharray: var(--c) var(--rest); stroke-dashoffset: var(--c); }
.engine.run .er-donut .seg { animation: draw 1.1s ease forwards; animation-delay: var(--d,0s); }
.er-bars { display: flex; align-items: flex-end; gap: 10px; height: 84px; }
.er-bars .bar { flex: 1; background: linear-gradient(180deg, var(--accent), var(--accent-2)); border-radius: 4px 4px 0 0; height: var(--h); transform: scaleY(0); transform-origin: bottom; opacity: .9; }
.engine.run .er-bars .bar { animation: rise .75s cubic-bezier(.2,.7,.2,1) forwards; animation-delay: var(--d,0s); }
.er-label { font-family: var(--ff-mono); font-size: 10px; color: var(--faint); margin-top: 10px; display: flex; align-items: center; gap: 7px; }
.er-label .swatch { width: 8px; height: 8px; border-radius: 2px; background: var(--accent); }

@keyframes rise { to { transform: scaleY(1); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fadeUp { to { opacity: 1; transform: none; } }

/* ---------- INTERACTIVE ENGINE SECTION (signature 2) ---------- */
.engine2 { border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,0)); padding: clamp(22px,3.2vw,36px); margin-top: 30px; }
.engine2-head { font-family: var(--ff-mono); font-size: 12.5px; color: var(--muted); margin-bottom: 26px; }
.engine2-head b { color: var(--text); font-weight: 600; }
.engine2-track { position: relative; display: grid; grid-template-columns: repeat(5,1fr); }
.e2-line { position: absolute; top: 27px; left: 10%; right: 10%; height: 2px; background: var(--line); z-index: 0; }
.e2-line .fill { position: absolute; left: 0; top: 0; height: 100%; width: 0; background: var(--accent); box-shadow: 0 0 10px 0 var(--accent-glow); transition: width .5s cubic-bezier(.3,.7,.2,1); }
.e2-tab {
  position: relative; z-index: 1; appearance: none; background: none; border: none; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 8px 6px 2px; color: inherit; font: inherit;
}
.e2-tab .g {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center;
  background: var(--bg); border: 1px solid var(--line);
  transition: border-color .35s ease, background .35s ease, box-shadow .35s ease, transform .35s ease;
}
.e2-tab .g svg { width: 24px; height: 24px; stroke: #7d8c88; fill: none; stroke-width: 1.6; transition: stroke .35s ease; }
.e2-tab h4 { font-size: 14px; font-family: var(--ff-body); font-weight: 600; letter-spacing: 0; transition: color .3s; }
.e2-tab small { font-family: var(--ff-mono); font-size: 10px; color: var(--faint); }
.e2-tab:hover .g { border-color: rgba(34,197,94,.5); transform: translateY(-2px); }
.e2-tab[aria-selected="true"] .g { border-color: var(--accent); background: rgba(34,197,94,.12); box-shadow: 0 0 22px -4px var(--accent-glow); }
.e2-tab[aria-selected="true"] .g svg { stroke: var(--accent); }
.e2-panel { margin-top: 24px; border-top: 1px solid var(--line-soft); padding-top: 22px; display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start; min-height: 92px; }
.e2-panel .pnum { font-family: var(--ff-mono); font-size: 13px; color: var(--accent); padding-top: 2px; }
.e2-panel .pbody { opacity: 1; transition: opacity .28s ease; }
.e2-panel .pbody.fade { opacity: 0; }
.e2-panel h3 { font-size: 19px; font-family: var(--ff-body); font-weight: 600; margin-bottom: 6px; }
.e2-panel p { color: var(--muted); font-size: 15px; max-width: 68ch; }

/* ---------- PROBLEM CONVERGENCE ---------- */
.converge { display: grid; gap: 14px; }
.converge-sources { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
.csrc { border: 1px solid var(--line); border-radius: 10px; padding: 12px 12px; background: var(--surface); position: relative; }
.csrc h5 { font-family: var(--ff-body); font-size: 13px; font-weight: 600; margin: 0; }
.csrc small { font-family: var(--ff-mono); font-size: 10px; color: var(--faint); }
.csrc .dot { position: absolute; top: 12px; right: 12px; width: 6px; height: 6px; border-radius: 50%; background: #46564f; }
.converge-svg { width: 100%; height: 76px; display: block; }
.converge-svg path { fill: none; stroke: var(--line); stroke-width: 1.4; stroke-dasharray: 200; stroke-dashoffset: 200; }
.reveal.in .converge-svg path { animation: draw 1.1s ease forwards; }
.reveal.in .converge-svg path:nth-child(2){animation-delay:.06s}
.reveal.in .converge-svg path:nth-child(3){animation-delay:.12s}
.reveal.in .converge-svg path:nth-child(4){animation-delay:.18s}
.reveal.in .converge-svg path:nth-child(5){animation-delay:.24s}
.reveal.in .converge-svg path:nth-child(6){animation-delay:.3s}
.converge-hub { display: flex; align-items: center; justify-content: center; gap: 11px; border: 1px solid rgba(34,197,94,.4); background: linear-gradient(180deg, rgba(34,197,94,.08), rgba(255,255,255,0)); border-radius: 12px; padding: 14px 16px; }
.converge-hub svg { width: 20px; height: 20px; stroke: var(--accent); fill: none; stroke-width: 1.7; }
.converge-hub b { font-family: var(--ff-body); font-weight: 600; font-size: 14.5px; color: var(--text); }
.converge-out { display: flex; align-items: center; justify-content: center; gap: 9px; font-family: var(--ff-mono); font-size: 12px; color: var(--muted); }
.converge-out .chip { border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; color: var(--text); }
.converge-deadline { display: flex; align-items: center; gap: 10px; justify-content: center; font-family: var(--ff-mono); font-size: 12px; color: var(--faint); }
.converge-deadline b { color: var(--danger); }
.converge-deadline svg { width: 15px; height: 15px; stroke: var(--danger); fill: none; stroke-width: 1.7; }

/* ---------- METHODOLOGY FLOW ---------- */
.mflow { position: relative; display: grid; grid-template-columns: repeat(5,1fr); margin-top: 34px; }
.mflow .mline { position: absolute; top: 17px; left: 10%; right: 10%; height: 2px; background: var(--line); z-index: 0; }
.mflow .mline .fill { height: 100%; width: 0; background: var(--accent); box-shadow: 0 0 10px 0 var(--accent-glow); }
.reveal.in .mflow .mline .fill { animation: grow 1.5s ease forwards; }
@keyframes grow { to { width: 100%; } }
.mstep { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 0 6px; }
.mstep .dot { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); display: grid; place-items: center; transition: border-color .4s ease, background .4s ease, box-shadow .4s ease; }
.mstep .dot svg { width: 17px; height: 17px; stroke: #7d8c88; fill: none; stroke-width: 1.7; transition: stroke .4s; }
.reveal.in .mstep .dot { border-color: var(--accent); background: rgba(34,197,94,.1); box-shadow: 0 0 16px -4px var(--accent-glow); }
.reveal.in .mstep .dot svg { stroke: var(--accent); }
.reveal.in .mstep:nth-child(2) .dot { transition-delay:.28s } .reveal.in .mstep:nth-child(3) .dot { transition-delay:.56s }
.reveal.in .mstep:nth-child(4) .dot { transition-delay:.84s } .reveal.in .mstep:nth-child(5) .dot { transition-delay:1.12s }
.mstep h4 { font-size: 13.5px; font-family: var(--ff-body); font-weight: 600; }
.mstep small { font-family: var(--ff-mono); font-size: 10px; color: var(--faint); }

/* ---------- ASYNC TIMELINE ---------- */
.timeline { position: relative; display: grid; grid-template-columns: repeat(5,1fr); margin-top: 6px; margin-bottom: 40px; }
.timeline .tline { position: absolute; top: 6px; left: 9%; right: 9%; height: 2px; background: var(--line); z-index: 0; }
.timeline .tline .fill { height: 100%; width: 0; background: var(--accent); box-shadow: 0 0 10px 0 var(--accent-glow); }
.reveal.in .timeline .tline .fill { animation: grow 1.6s ease forwards; }
.tstop { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 9px; padding: 0 6px; }
.tstop .tdot { width: 14px; height: 14px; border-radius: 50%; background: var(--surface); border: 2px solid #46564f; transition: border-color .4s ease, background .4s ease, box-shadow .4s ease; }
.reveal.in .tstop .tdot { border-color: var(--accent); background: var(--accent); box-shadow: 0 0 12px -1px var(--accent-glow); }
.reveal.in .tstop:nth-child(2) .tdot { transition-delay:.3s } .reveal.in .tstop:nth-child(3) .tdot { transition-delay:.6s }
.reveal.in .tstop:nth-child(4) .tdot { transition-delay:.9s } .reveal.in .tstop:nth-child(5) .tdot { transition-delay:1.2s }
.tstop h4 { font-size: 14px; font-family: var(--ff-body); font-weight: 600; }
.tstop small { font-family: var(--ff-mono); font-size: 10.5px; color: var(--faint); }

/* ---------- SERVICES: restrained hover/expand ---------- */
.price { transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.price:hover, .price:focus-within { transform: translateY(-5px); border-color: rgba(34,197,94,.42); box-shadow: 0 26px 54px -30px rgba(0,0,0,.7), 0 0 0 1px rgba(34,197,94,.12); }
.price .tier { position: relative; display: inline-block; padding-bottom: 6px; }
.price .tier::after { content:""; position:absolute; left:0; bottom:0; height:2px; width:0; background:var(--accent); transition: width .3s ease; }
.price:hover .tier::after, .price:focus-within .tier::after { width: 28px; }

/* ---------- responsive for interactive blocks ---------- */
@media (max-width: 720px) {
  .engine-flow { gap: 4px; }
  .enode .g { width: 40px; height: 40px; }
  .enode small { display: none; }
  .er-charts { grid-template-columns: 76px 1fr; }
  .engine2-track { grid-template-columns: repeat(5, 1fr); }
  .e2-tab .g { width: 44px; height: 44px; }
  .e2-tab h4 { font-size: 11.5px; }
  .e2-tab small { display: none; }
  .e2-line { top: 22px; }
  .e2-panel { grid-template-columns: 1fr; gap: 8px; }
  .converge-sources { grid-template-columns: repeat(3,1fr); }
  .csrc small { display: none; }
  .mstep h4, .tstop h4 { font-size: 11.5px; }
  .mstep small, .tstop small { display: none; }
  .mstep .dot { width: 30px; height: 30px; }
}

/* ---------- reduced motion: show composed final states, no looping ---------- */
@media (prefers-reduced-motion: reduce) {
  .engine .window-bar .live::before { animation: none; }
  .engine.run .er-kpi, .er-kpi { opacity: 1; transform: none; animation: none; }
  .engine.run .er-bars .bar, .er-bars .bar { transform: scaleY(1); animation: none; }
  .engine.run .er-donut .seg, .er-donut .seg { stroke-dashoffset: 0; animation: none; }
  .converge-svg path { stroke-dashoffset: 0; animation: none; }
  .mflow .mline .fill, .timeline .tline .fill { width: 100%; animation: none; }
}

/* donut segment rotation override (per-segment) */
.er-donut .seg { transform: rotate(calc(-90deg + var(--rot,0deg))); transform-origin: 50% 50%; }

/* window chrome: keep title on one line, keep live pill visible */
.window-bar { overflow: hidden; }
.window-bar .wtitle { white-space: nowrap; }
.engine .window-bar .live { flex: none; }

/* engine chrome: single pill with pulsing live dot (no trailing item to clip) */
.wtitle .livedot { display:inline-block; width:7px; height:7px; border-radius:50%; background:var(--accent); box-shadow:0 0 8px 1px var(--accent-glow); margin-right:8px; vertical-align:middle; animation: ping 2.4s ease-out infinite; }

.window-bar .wtitle { width: auto; height: auto; }

.tabs-preview .tp-bar .wtitle { width: auto; height: auto; }
