/* Solanko — site styles. One file, no framework. */

:root {
  --ink-950: #050d1b;
  --ink-900: #081630;
  --ink-850: #0b1d3d;
  --ink-800: #0f2649;
  --ink-700: #16335f;
  --line: rgba(150, 185, 230, 0.14);
  --line-strong: rgba(150, 185, 230, 0.28);
  --text: #e8eef7;
  --muted: #a3b4cc;
  --faint: #7489a8;
  --accent: #7cd4ff;
  --accent-strong: #b1e6ff;
  --accent-ink: #032238;
  --accent-rgb: 124, 212, 255;
  --cyan: #62d0ff;
  --ok: #7fe0b0;
  --err: #ff9a8a;

  --font-head: "Young Serif", Georgia, "Times New Roman", serif;
  --font-body: "Bitter", Georgia, serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;

  --maxw: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 14px;
  --section-y: clamp(64px, 9vw, 120px);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ink-950);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--accent-strong); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #fff; }

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.3rem, 5.2vw, 4rem); }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }

:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: -999px; top: 8px;
  background: var(--accent); color: var(--accent-ink); padding: 8px 14px; border-radius: 8px; z-index: 100;
}
.skip-link:focus { left: 8px; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- eyebrow + small type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 18px;
}
.eyebrow::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--cyan); box-shadow: 0 0 10px var(--cyan);
}
.lead { font-size: clamp(1.08rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 40em; }
.mono { font-family: var(--font-mono); font-size: 0.85rem; letter-spacing: 0.04em; color: var(--faint); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 22px; border-radius: 999px;
  font-family: var(--font-body); font-size: 1rem; font-weight: 600; text-decoration: none;
  border: 1px solid transparent; cursor: pointer; transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-strong); color: var(--accent-ink); }
.btn-ghost { border-color: var(--line-strong); color: var(--text); background: rgba(8, 22, 48, 0.4); }
.btn-ghost:hover { border-color: var(--accent); color: #fff; }
.btn .arrow { transition: transform .15s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(5, 13, 27, 0.78);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 68px; }
.brand { display: inline-flex; align-items: baseline; gap: 10px; text-decoration: none; color: var(--text); }
.brand-word { font-family: var(--font-head); font-size: 1.45rem; letter-spacing: 0.06em; }
.brand-sub { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent); }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  color: var(--muted); text-decoration: none; font-size: 0.97rem;
  padding: 8px 12px; border-radius: 8px;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); background: rgba(150, 185, 230, 0.08); }
.nav .btn { margin-left: 8px; padding: 9px 18px; color: var(--accent-ink); }
.nav .btn:hover, .nav .btn[aria-current="page"] { background: var(--accent-strong); color: var(--accent-ink); }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--line-strong); color: var(--text);
  border-radius: 8px; padding: 8px 12px; font: inherit; font-size: 0.9rem; cursor: pointer;
}

/* ---------- futuristic grid texture ---------- */
.grid-bg { position: relative; isolation: isolate; }
.grid-bg::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 75%);
          mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 75%);
  opacity: 0.55;
}

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero-media { position: absolute; inset: 0 0 0 30%; z-index: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, var(--ink-950) 0%, rgba(5, 13, 27, 0.86) 22%, rgba(5, 13, 27, 0.25) 55%, rgba(5, 13, 27, 0.1) 100%),
    linear-gradient(0deg, var(--ink-950) 0%, transparent 28%);
}
.spark {
  position: absolute; z-index: 1; width: 14px; height: 14px; border-radius: 50%;
  left: var(--spark-x, 45.8%); top: var(--spark-y, 50%);
  transform: translate(-50%, -50%);
  background: #fff; box-shadow: 0 0 18px 6px rgba(98, 208, 255, 0.85), 0 0 60px 18px rgba(98, 208, 255, 0.35);
}
.spark::before, .spark::after {
  content: ""; position: absolute; inset: -6px; border-radius: 50%;
  border: 1px solid rgba(98, 208, 255, 0.7);
  animation: ripple 3.2s ease-out infinite;
}
.spark::after { animation-delay: 1.6s; }
.spark.small { width: 9px; height: 9px; box-shadow: 0 0 14px 5px rgba(98, 208, 255, 0.85), 0 0 40px 12px rgba(98, 208, 255, 0.3); }
.spark.late::before { animation-delay: 0.8s; }
.spark.late::after { animation-delay: 2.4s; }
.hww-visual .frame { position: relative; }
@keyframes ripple {
  0% { transform: scale(0.6); opacity: 0.9; }
  100% { transform: scale(7); opacity: 0; }
}
.hero-inner { position: relative; z-index: 2; padding-top: clamp(80px, 12vw, 160px); padding-bottom: clamp(72px, 10vw, 128px); }
.hero-copy { max-width: 620px; }
.hero h1 .accent { color: var(--accent); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 26px; }
.hero-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 26px; }
.hero-tags::before {
  content: "Jump to"; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--faint); margin-right: 4px;
}
.hero-tags a {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text); text-decoration: none;
  padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-strong); background: rgba(8, 22, 48, 0.55);
  transition: border-color .15s ease, background .15s ease, transform .15s ease;
}
.hero-tags a::after { content: "\2193"; color: var(--accent); font-size: 0.95rem; line-height: 1; transition: transform .15s ease; }
.hero-tags a:hover, .hero-tags a:focus-visible { border-color: var(--accent); background: rgba(var(--accent-rgb), 0.12); transform: translateY(-1px); }
.hero-tags a:hover::after, .hero-tags a:focus-visible::after { transform: translateY(2px); }
section[id] { scroll-margin-top: 84px; }

/* ---------- proof strip ---------- */
.proof { border-bottom: 1px solid var(--line); background: var(--ink-900); }
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.proof-item { padding: 28px 22px; border-left: 1px solid var(--line); }
.proof-item:first-child { border-left: 0; }
.proof-num { font-family: var(--font-head); font-size: clamp(1.7rem, 3vw, 2.3rem); color: var(--accent); line-height: 1.1; }
.proof-label { font-size: 0.93rem; color: var(--muted); margin-top: 6px; }

/* ---------- sections ---------- */
.section { padding: var(--section-y) 0; position: relative; }
.section-alt { background: var(--ink-900); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  position: relative; padding: 30px 28px 28px; border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(22, 51, 95, 0.55), rgba(11, 29, 61, 0.55));
  border: 1px solid var(--line);
  transition: border-color .2s ease, transform .2s ease;
}
.card:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.card::before {
  content: ""; position: absolute; left: 28px; right: 28px; top: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent); opacity: 0.7;
}
.card-kicker { font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cyan); margin-bottom: 14px; }
.card p { color: var(--muted); margin-bottom: 0; }
.card .more { display: inline-block; margin-top: 16px; font-size: 0.95rem; text-decoration: none; }
.card .more:hover { text-decoration: underline; }

/* ---------- split layouts ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.split.wide-left { grid-template-columns: 5fr 6fr; }

.check-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.check-list li { position: relative; padding-left: 32px; color: var(--muted); }
.check-list li strong { color: var(--text); font-weight: 600; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 0.45em; width: 16px; height: 16px; border-radius: 4px;
  border: 1px solid var(--accent);
  background: linear-gradient(135deg, transparent 45%, var(--accent) 45%, var(--accent) 55%, transparent 55%);
}

/* ---------- diagram ---------- */
.diagram-wrap {
  border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(14px, 3vw, 28px);
  background: radial-gradient(ellipse at 50% 0%, rgba(98, 208, 255, 0.08), transparent 60%), var(--ink-850);
}
.diagram-wrap svg { width: 100%; height: auto; display: block; }
.diagram-note { margin-top: 14px; }

.dg-frontier { fill: rgba(98, 208, 255, 0.06); stroke: var(--cyan); stroke-dasharray: 6 5; }
.dg-solanko { fill: rgba(var(--accent-rgb), 0.09); stroke: var(--accent); }
.dg-boundary { fill: rgba(5, 13, 27, 0.55); stroke: var(--line-strong); }
.dg-tile { fill: var(--ink-800); stroke: var(--line-strong); }
.dg-tile-opt { fill: var(--ink-850); stroke: var(--muted); stroke-dasharray: 5 4; }
.dg-bar { fill: rgba(98, 208, 255, 0.07); stroke: var(--line-strong); }
.dg-title { fill: var(--text); font-family: var(--font-head); font-size: 20px; }
.dg-tile-title { fill: var(--text); font-family: var(--font-body); font-size: 16px; font-weight: 600; }
.dg-sub { fill: var(--muted); font-family: var(--font-body); font-size: 13px; }
.dg-label { fill: var(--accent); font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.12em; }
.dg-flow { fill: var(--cyan); font-family: var(--font-mono); font-size: 12px; }
.dg-line { stroke: var(--line-strong); stroke-width: 1.5; fill: none; }
.dg-arrow { stroke: var(--cyan); stroke-width: 1.6; fill: none; stroke-dasharray: 4 6; animation: flow 1.4s linear infinite; }
.dg-head { fill: var(--cyan); }
@keyframes flow { to { stroke-dashoffset: -20; } }
.diagram-wrap .diagram-mobile { display: none; }
.check-list.cols { grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 36px; }

/* ---------- image band ---------- */
.band { position: relative; overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band-media { position: absolute; inset: 0; }
.band-media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.band-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(5, 13, 27, 0.96) 0%, rgba(5, 13, 27, 0.85) 45%, rgba(5, 13, 27, 0.35) 100%);
}
.band-inner { position: relative; padding-top: var(--section-y); padding-bottom: var(--section-y); }
.band-copy { max-width: 600px; }

/* ---------- founder ---------- */
.founder { display: grid; grid-template-columns: 320px 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.founder-photo { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-strong); aspect-ratio: 4 / 5; }
.founder-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; }
.founder.rev { grid-template-columns: 1fr 340px; }
.founder.rev .founder-photo { order: 2; }
.quote {
  font-family: var(--font-head); font-size: clamp(1.35rem, 2.4vw, 1.8rem); line-height: 1.35;
  margin: 0 0 18px; color: var(--text);
}
.quote::before { content: "\201C"; color: var(--accent); margin-right: 2px; }
.quote::after { content: "\201D"; color: var(--accent); margin-left: 2px; }

/* ---------- CTA band ---------- */
.cta {
  text-align: center; padding: var(--section-y) 0;
  background: radial-gradient(ellipse 60% 80% at 50% 100%, rgba(var(--accent-rgb), 0.12), transparent 70%), var(--ink-950);
}
.cta .hero-actions { justify-content: center; }

/* ---------- page hero (inner pages) ---------- */
.page-hero { padding: clamp(64px, 9vw, 110px) 0 clamp(40px, 6vw, 64px); border-bottom: 1px solid var(--line); }
.page-hero.has-media { position: relative; overflow: hidden; }
.page-hero.has-media .hero-media { inset: 0 0 0 38%; }
.page-hero.has-media .hero-media img { object-position: 30% 40%; }
.page-hero .hero-copy { position: relative; z-index: 2; }
.page-hero.compact { padding: clamp(40px, 6vw, 72px) 0 0; border-bottom: 0; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 360px 1fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
.person-card {
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(180deg, var(--ink-800), var(--ink-850));
}
.person-card .photo { aspect-ratio: 1 / 1; overflow: hidden; border-bottom: 1px solid var(--line); }
.person-card .photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 14%; }
.person-body { padding: 24px 26px 26px; }
.person-body h2 { font-size: 1.5rem; margin-bottom: 2px; }
.person-role { font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin-bottom: 18px; }
.channels { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 10px; }
.channels a {
  display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 10px;
  border: 1px solid var(--line); text-decoration: none; color: var(--text); background: rgba(5, 13, 27, 0.35);
}
.channels a:hover { border-color: var(--accent); }
.channels .ch-label { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); min-width: 54px; }
.signal {
  display: grid; justify-items: center; text-align: center; gap: 12px;
  padding: 18px 16px; border: 1px solid var(--line); border-radius: 12px; background: rgba(5, 13, 27, 0.35);
}
.signal img { width: 100%; max-width: 240px; height: auto; border-radius: 16px; }
.signal p { margin: 0; font-size: 0.92rem; color: var(--muted); }
.signal .signal-title { font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.signal strong { color: var(--text); font-weight: 600; }

.form-card {
  border: 1px solid var(--line-strong); border-radius: var(--radius); padding: clamp(22px, 3.5vw, 40px);
  background: linear-gradient(180deg, rgba(22, 51, 95, 0.5), rgba(8, 22, 48, 0.6));
  position: relative;
}
.form-card::before {
  content: ""; position: absolute; left: 32px; right: 32px; top: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent); opacity: 0.8;
}
.form-card h2 { font-size: clamp(1.6rem, 2.8vw, 2.1rem); }
.form-card > p { color: var(--muted); }
.lead-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; margin-top: 26px; }
.lead-form .full { grid-column: 1 / -1; }
.field label { display: block; font-size: 0.9rem; color: var(--muted); margin-bottom: 6px; }
.field label .req { color: var(--accent); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--text);
  background: rgba(5, 13, 27, 0.7); border: 1px solid var(--line-strong); border-radius: 10px;
  padding: 12px 14px; transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { min-height: 120px; resize: vertical; }
.field select { appearance: none; -webkit-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--accent) 50%), linear-gradient(135deg, var(--accent) 50%, transparent 50%);
  background-position: calc(100% - 20px) 55%, calc(100% - 14px) 55%; background-size: 6px 6px; background-repeat: no-repeat;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(98, 208, 255, 0.18); }
.method-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.method-pills label {
  display: inline-flex; align-items: center; gap: 8px; margin: 0; cursor: pointer;
  padding: 10px 16px; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--text); font-size: 0.95rem;
}
.method-pills input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.method-pills label:has(input:checked) { border-color: var(--accent); background: rgba(var(--accent-rgb), 0.12); color: var(--accent-strong); }
.method-pills label:has(input:focus-visible) { outline: 2px solid var(--cyan); outline-offset: 2px; }
.honeypot { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.form-status { margin: 0; font-size: 0.95rem; }
.form-status.success { color: var(--ok); }
.form-status.error { color: var(--err); }
.fineprint { font-size: 0.85rem; color: var(--faint); margin: 0; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step { border-top: 1px solid var(--line-strong); padding-top: 20px; }
.step::before {
  counter-increment: step; content: "0" counter(step);
  font-family: var(--font-mono); font-size: 0.8rem; color: var(--cyan); letter-spacing: 0.14em; display: block; margin-bottom: 10px;
}
.step p { color: var(--muted); margin: 0; }

/* ---------- how we work: the bench ---------- */
.principle {
  border: 1px solid var(--accent); border-radius: var(--radius); padding: 26px 30px;
  background: rgba(var(--accent-rgb), 0.07); max-width: 860px; margin: 0 auto;
  font-family: var(--font-head); font-size: clamp(1.2rem, 2.2vw, 1.55rem); line-height: 1.4; text-align: center;
}
.bench { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.member {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px 24px; text-align: center;
  background: linear-gradient(180deg, rgba(22, 51, 95, 0.45), rgba(8, 22, 48, 0.5));
}
.member.human {
  grid-column: 1 / -1; justify-self: center; width: 100%; max-width: 820px;
  display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; text-align: left; padding: 26px 32px;
  border-color: rgba(var(--accent-rgb), 0.55);
}
.member.human .avatar { margin: 0; }
.avatar.placeholder { border-style: dashed; }
.avatar {
  width: 132px; height: 132px; margin: 0 auto 18px; border-radius: 50%; overflow: hidden; position: relative;
  border: 1px solid var(--line-strong); box-shadow: 0 0 0 6px rgba(98, 208, 255, 0.06);
}
.member.human .avatar { border-color: var(--accent); box-shadow: 0 0 0 6px rgba(var(--accent-rgb), 0.08); }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar.agent img { filter: saturate(0.55) contrast(1.05) brightness(0.95); }
.avatar.agent::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: linear-gradient(160deg, rgba(98, 208, 255, 0.22), rgba(8, 22, 48, 0.35));
  mix-blend-mode: color;
}
.member h3 { margin-bottom: 2px; }
.member .tag { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--cyan); margin-bottom: 14px; }
.member.human .tag { color: var(--accent); }
.member p { font-size: 0.95rem; color: var(--muted); margin: 0; }

.rules { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 40px; list-style: none; padding: 0; margin: 0; }
.rules li { border-left: 2px solid var(--accent); padding: 4px 0 4px 18px; color: var(--muted); }
.rules li strong { display: block; color: var(--text); font-weight: 600; margin-bottom: 2px; }

/* ---------- how we work: hero with command tablet ---------- */
.hww-hero { padding: clamp(56px, 8vw, 104px) 0 clamp(64px, 9vw, 112px); border-bottom: 1px solid var(--line); }
.hww-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hww-visual { position: relative; padding: 0 0 120px 0; }
.hww-visual .frame {
  aspect-ratio: 5 / 4; overflow: hidden;
  /* no hard frame: the picture dissolves into the page */
  -webkit-mask-image: radial-gradient(ellipse closest-side at 50% 46%, #000 52%, rgba(0, 0, 0, 0.6) 74%, transparent 100%);
          mask-image: radial-gradient(ellipse closest-side at 50% 46%, #000 52%, rgba(0, 0, 0, 0.6) 74%, transparent 100%);
}
.hww-visual .frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; }
.tablet {
  position: absolute; right: -12px; bottom: 0; width: min(300px, 58%);
  padding: 9px; border-radius: 24px; background: #0a0e15;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.6), 0 0 36px rgba(98, 208, 255, 0.18);
  transform: rotate(2.5deg);
}
.tablet-screen { border-radius: 16px; padding: 14px 14px 12px; background: linear-gradient(180deg, #10284d, #081630); }
.t-head { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.14em; color: var(--faint); margin-bottom: 10px; }
.t-row { display: flex; align-items: center; gap: 10px; padding: 7px 8px; border-radius: 10px; }
.t-row + .t-row { margin-top: 4px; }
.t-row.lead { background: rgba(var(--accent-rgb), 0.1); border: 1px solid rgba(var(--accent-rgb), 0.35); }
.t-row img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; flex: none; border: 1px solid var(--line-strong); }
.t-row .agent-img { filter: saturate(0.55); }
.t-row div { flex: 1; min-width: 0; line-height: 1.25; }
.t-row b { display: block; font-size: 0.86rem; font-weight: 600; color: var(--text); }
.t-row small { display: block; font-size: 0.72rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.t-dot { width: 8px; height: 8px; border-radius: 50%; flex: none; background: var(--ok); box-shadow: 0 0 8px var(--ok); }
.t-dot.cyan { background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }
.t-dot.lead-dot { background: var(--accent); box-shadow: 0 0 8px var(--accent); animation: blink 1.8s ease-in-out infinite; }
@keyframes blink { 50% { opacity: 0.35; } }
.t-foot { margin-top: 10px; padding-top: 9px; border-top: 1px solid var(--line); font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.08em; color: var(--accent); }

/* ---------- ibm i modernization page ---------- */
.split.top { align-items: start; }
.proof-grid.three { grid-template-columns: repeat(3, 1fr); }
.cards.stack { grid-template-columns: 1fr; gap: 14px; }
.cards.stack .card { padding: 22px 24px 20px; }
.signals { padding: 26px 28px 24px; }
.signals h2 { font-size: 1.35rem; margin-bottom: 14px; }
.signals .check-list { margin-top: 0; gap: 10px; }
.signals .more { display: inline-block; margin-top: 18px; font-size: 0.95rem; text-decoration: none; }
.signals .more:hover { text-decoration: underline; }
.stages { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: stage; }
.stage {
  position: relative; padding: 24px 22px 22px; border-radius: var(--radius);
  border: 1px solid var(--line-strong);
  background: linear-gradient(180deg, rgba(22, 51, 95, 0.5), rgba(8, 22, 48, 0.55));
}
.stage::before {
  counter-increment: stage; content: "0" counter(stage);
  font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.14em; color: var(--accent);
  display: block; margin-bottom: 10px;
}
.stage:not(:last-child)::after {
  content: "\2192"; position: absolute; right: -17px; top: 50%; transform: translateY(-50%);
  color: var(--accent); font-size: 1.1rem; line-height: 1; z-index: 1;
}
.stage h3 { font-size: 1.15rem; margin-bottom: 10px; }
.stage ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 7px; }
.stage li { position: relative; padding-left: 16px; font-size: 0.93rem; color: var(--muted); }
.stage li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); opacity: 0.75; }
.stages-base {
  margin: 20px 0 0; padding: 14px 18px; border-radius: 10px; text-align: center;
  border: 1px dashed var(--line-strong); background: rgba(98, 208, 255, 0.05);
  font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted);
}
.stages-base strong { color: var(--accent); font-weight: 400; }
.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pills span { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line-strong); background: rgba(8, 22, 48, 0.4); font-size: 0.95rem; }
.lead-aside .check-list { margin-top: 22px; }
.form-card.bare .lead-form { margin-top: 0; }

/* ---------- legal + utility pages ---------- */
.legal-meta { font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.08em; color: var(--faint); margin: 0; }
.prose { max-width: 74ch; }
.prose h2 { font-size: 1.35rem; margin: 2.2em 0 0.55em; }
.prose > h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--muted); }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: 6px; }
.prose table { width: 100%; border-collapse: collapse; margin: 1em 0 1.6em; font-size: 0.95rem; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { color: var(--text); font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 400; }
.prose td { color: var(--muted); }
.prose td:first-child { color: var(--text); }
.cb-panel { border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 22px 26px; background: var(--ink-900); margin: 8px 0 32px; }
.cbrow { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.cbrow:last-child { border-bottom: 0; }
.cblab { font-family: var(--font-mono); font-size: 0.76rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); padding-top: 4px; }
.cbval { font-family: var(--font-mono); font-size: 0.92rem; word-break: break-all; color: var(--text); user-select: all; }
.logo-card { display: grid; grid-template-columns: 160px 1fr; gap: 32px; align-items: start; }
.logo-card img { width: 160px; height: 160px; border-radius: 16px; border: 1px solid var(--line-strong); background: #fff; }
@media (max-width: 760px) { .logo-card { grid-template-columns: 1fr; } .cbrow { grid-template-columns: 1fr; gap: 4px; } }

/* ---------- stub ---------- */
.stub { padding: clamp(80px, 12vw, 160px) 0; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--ink-950); padding: 48px 0 36px; font-size: 0.93rem; color: var(--faint); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; margin-bottom: 36px; }
.footer-grid h4 { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); margin: 0 0 12px; font-weight: 400; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-grid a { color: var(--muted); text-decoration: none; }
.footer-grid a:hover { color: var(--text); }
.footer-bottom { display: grid; gap: 6px; border-top: 1px solid var(--line); padding-top: 22px; }
.footer-legal { font-size: 0.8rem; color: var(--faint); }
.footer-legal a { color: var(--faint); text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; }
.footer-legal a:hover { color: var(--text); text-decoration-color: var(--accent); }



/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .cards, .steps { grid-template-columns: 1fr 1fr; }
  .bench { grid-template-columns: 1fr 1fr; }
  .proof-grid { grid-template-columns: 1fr 1fr; }
  .proof-item:nth-child(3) { border-left: 0; }
  .proof-item:nth-child(n+3) { border-top: 1px solid var(--line); }
  .split, .split.wide-left, .contact-grid, .founder { grid-template-columns: 1fr; }
  .check-list.cols { grid-template-columns: 1fr 1fr; }
  .founder-photo { max-width: 320px; }
  .founder.rev { grid-template-columns: 1fr; }
  .hww-grid { grid-template-columns: 1fr; }
  .stages { grid-template-columns: 1fr 1fr; }
  .stage:nth-child(2)::after { display: none; }
  .hww-visual { max-width: 620px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .nav-toggle { display: inline-block; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: 10px var(--gutter) 18px; background: var(--ink-950); border-bottom: 1px solid var(--line);
  }
  .nav.open { display: flex; }
  .nav .btn { margin: 8px 0 0; justify-content: center; }
  .hero-media, .page-hero.has-media .hero-media { position: relative; inset: auto; height: 64vw; }
  .hero-media img { object-position: 50% 50%; }
  .page-hero.has-media .hero-media img { object-position: 50% 40%; }
  .hero-media::after { background: linear-gradient(0deg, var(--ink-950) 0%, transparent 40%); }
  .hero-inner { padding-top: 8px; }
  .page-hero.has-media { padding-top: 0; }
  .page-hero.has-media .container { margin-top: 8px; }
  .person-card .photo { aspect-ratio: 16 / 10; }
  .diagram-wrap .diagram-desktop { display: none; }
  .diagram-wrap .diagram-mobile { display: block; }
  .check-list.cols { grid-template-columns: 1fr; }
  .cards, .steps, .bench, .rules { grid-template-columns: 1fr; }
  .stages { grid-template-columns: 1fr; }
  .stage:not(:last-child)::after { display: none; }
  .member.human { grid-template-columns: 1fr; text-align: center; }
  .member.human .avatar { margin: 0 auto 6px; }
  .hww-visual { padding-bottom: 210px; }
  .tablet { right: 0; width: 78%; }
  .lead-form { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .spark::before, .spark::after, .dg-arrow, .t-dot.lead-dot { animation: none; }
  .btn, .card { transition: none; }
}
