/* ============================================================
   iniist — Werkstatt / tool-house  ·  v2 "ballern"
   Dark monospace atelier with a living aurora. The house is
   grayscale; the four tools carry the color and the motion.
   ============================================================ */

@font-face {
  font-family: "JetBrains Mono";
  font-weight: 400;
  font-display: swap;
  font-style: normal;
  src: url("./fonts/jetbrains-mono-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "JetBrains Mono";
  font-weight: 500;
  font-display: swap;
  font-style: normal;
  src: url("./fonts/jetbrains-mono-latin-500-normal.woff2") format("woff2");
}
@font-face {
  font-family: "JetBrains Mono";
  font-weight: 700;
  font-display: swap;
  font-style: normal;
  src: url("./fonts/jetbrains-mono-latin-700-normal.woff2") format("woff2");
}

:root {
  --bg:        #0a0b0d;
  --bg-raise:  #121318;
  --bg-raise2: #16181f;
  --line:      #23252c;
  --line-soft: #1a1c22;
  --ink:       #eceef2;
  --ink-dim:   #9a9da6;
  --ink-faint: #63666f;

  --iniist:    #57d6e0;
  --wp:        #5b8def;
  --orivo:     #ff7a59;
  --kobold:    #a780ff;
  --kuvert:    #46c98a;
  /* kobold family swatch colors */
  --k-amber:   #f5b74a;
  --k-teal:    #4ad0c2;
  --k-pink:    #ef6aa9;

  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --maxw: 1080px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--mono);
  font-weight: 400;
  line-height: 1.6;
  font-size: 15px;
  letter-spacing: -0.01em;
  min-height: 100vh;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(255,255,255,0.022) 1px, transparent 0);
  background-size: 26px 26px;
  overflow-x: hidden;
}

::selection { background: var(--iniist); color: #04191b; }

a { color: inherit; text-decoration: none; }

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
}

/* ============================================================
   AURORA — four tool colors drifting behind everything
   ============================================================ */
.aurora {
  position: fixed;
  inset: -20%;
  z-index: -1;
  pointer-events: none;
  filter: blur(70px) saturate(1.15);
  opacity: 0.5;
}
.aurora i {
  position: absolute;
  width: 44vw; height: 44vw;
  min-width: 380px; min-height: 380px;
  border-radius: 50%;
  mix-blend-mode: screen;
}
.aurora i:nth-child(1) {
  background: radial-gradient(circle, color-mix(in srgb, var(--wp) 22%, transparent), transparent 65%);
  top: 2%; left: -6%;
  animation: drift-a 26s ease-in-out infinite alternate;
}
.aurora i:nth-child(2) {
  background: radial-gradient(circle, color-mix(in srgb, var(--orivo) 16%, transparent), transparent 65%);
  top: 14%; right: -10%;
  animation: drift-b 31s ease-in-out infinite alternate;
}
.aurora i:nth-child(3) {
  background: radial-gradient(circle, color-mix(in srgb, var(--kobold) 18%, transparent), transparent 65%);
  bottom: 4%; left: 16%;
  animation: drift-c 37s ease-in-out infinite alternate;
}
.aurora i:nth-child(4) {
  background: radial-gradient(circle, color-mix(in srgb, var(--kuvert) 14%, transparent), transparent 65%);
  bottom: -8%; right: 8%;
  animation: drift-d 29s ease-in-out infinite alternate;
}
@keyframes drift-a { to { transform: translate(9vw, 7vh)  scale(1.15); } }
@keyframes drift-b { to { transform: translate(-8vw, 10vh) scale(0.9); } }
@keyframes drift-c { to { transform: translate(10vw, -8vh) scale(1.1); } }
@keyframes drift-d { to { transform: translate(-7vw, -6vh) scale(1.2); } }

/* ---------- shared eyebrow ---------- */
.eyebrow {
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

/* ============================================================
   TOP BAR
   ============================================================ */
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  border-bottom: 1px solid var(--line-soft);
}
.topbar .wrap {
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mark {
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.03em;
}
.mark .ist { color: var(--iniist); }
.topbar nav {
  display: flex;
  gap: 26px;
  font-size: 12.5px;
  color: var(--ink-dim);
}
.topbar nav a {
  position: relative;
  padding: 4px 0;
  transition: color 0.25s var(--ease);
}
.topbar nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--iniist);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.topbar nav a:hover { color: var(--ink); }
.topbar nav a:hover::after { transform: scaleX(1); }

/* ============================================================
   HERO
   ============================================================ */
.hero { padding: 110px 0 60px; position: relative; }

.hero .eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 34px;
  opacity: 0;
  animation: rise 0.7s var(--ease) 0.05s forwards;
}
.pilots { display: inline-flex; gap: 7px; align-items: center; }
.pilots i { width: 7px; height: 7px; border-radius: 50%; display: block; }
.pilots i:nth-child(1){ background: var(--wp);     box-shadow: 0 0 10px var(--wp); }
.pilots i:nth-child(2){ background: var(--orivo);  box-shadow: 0 0 10px var(--orivo); }
.pilots i:nth-child(3){ background: var(--kobold); box-shadow: 0 0 10px var(--kobold); }
.pilots i:nth-child(4){ background: var(--kuvert); box-shadow: 0 0 10px var(--kuvert); }
.hero .pilots i { animation: breathe 4.2s ease-in-out infinite; }
.hero .pilots i:nth-child(2){ animation-delay: 1.05s; }
.hero .pilots i:nth-child(3){ animation-delay: 2.1s; }
.hero .pilots i:nth-child(4){ animation-delay: 3.15s; }
@keyframes breathe { 0%,100%{opacity:.35} 50%{opacity:1} }

.wordmark {
  font-weight: 700;
  font-size: clamp(56px, 13vw, 128px);
  line-height: 0.9;
  letter-spacing: -0.06em;
  margin-bottom: 32px;
  opacity: 0;
  animation: rise 0.8s var(--ease) 0.14s forwards;
}
/* shimmering "ist" */
.wordmark .ist {
  background: linear-gradient(100deg,
    var(--iniist) 0%, #bdf3f7 26%, var(--iniist) 52%, #2fa8b2 78%, var(--iniist) 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 5.5s linear infinite;
}
@keyframes shimmer { to { background-position: -220% 0; } }
.wordmark .caret {
  color: var(--iniist);
  font-weight: 400;
  animation: blink 1.15s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

.thesis {
  font-size: clamp(17px, 2.4vw, 22px);
  max-width: 30ch;
  line-height: 1.5;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
  opacity: 0;
  animation: rise 0.8s var(--ease) 0.24s forwards;
}
.subline {
  font-size: 14px;
  color: var(--ink-dim);
  max-width: 46ch;
  opacity: 0;
  animation: rise 0.8s var(--ease) 0.34s forwards;
}
.subline a {
  color: var(--iniist);
  border-bottom: 1px solid color-mix(in srgb, var(--iniist) 45%, transparent);
  transition: border-color 0.25s var(--ease);
}
.subline a:hover { border-color: var(--iniist); }

@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee {
  border-block: 1px solid var(--line-soft);
  overflow: hidden;
  padding: 13px 0;
  margin: 26px 0 10px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee .track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: ticker 34s linear infinite;
}
.marquee span {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-faint);
  white-space: nowrap;
  padding-right: 18px;
}
.marquee b { font-weight: 500; padding-right: 18px; }
.marquee .d1 { color: var(--wp); }
.marquee .d2 { color: var(--orivo); }
.marquee .d3 { color: var(--kobold); }
.marquee .d4 { color: var(--kuvert); }
@keyframes ticker { to { transform: translateX(-50%); } }
.marquee:hover .track { animation-play-state: paused; }

/* ============================================================
   SECTION FRAME
   ============================================================ */
.section { padding: 44px 0 40px; }
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line-soft);
  margin-bottom: 34px;
}
.section-head h2 {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.section-head .count {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--ink-faint);
  letter-spacing: 0.1em;
}
.section-head .count i {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--kuvert);
  box-shadow: 0 0 8px var(--kuvert);
  animation: breathe 2.6s ease-in-out infinite;
}

/* ============================================================
   TOOL CARDS
   ============================================================ */
.tools {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.tool {
  --accent: var(--ink-dim);
  --mx: 50%;
  --my: 0%;
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--bg-raise);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0;
  overflow: hidden;
  transition: border-color 0.35s var(--ease), transform 0.35s var(--ease),
              box-shadow 0.35s var(--ease);
}
/* cursor-follow glow */
.tool::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(340px circle at var(--mx) var(--my),
    color-mix(in srgb, var(--accent) 13%, transparent), transparent 62%);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
  pointer-events: none;
  z-index: 1;
}
.tool:hover, .tool:focus-visible {
  border-color: color-mix(in srgb, var(--accent) 55%, var(--line));
  transform: translateY(-4px);
  box-shadow: 0 18px 44px -18px color-mix(in srgb, var(--accent) 35%, transparent);
  outline: none;
}
.tool:hover::before, .tool:focus-visible::before { opacity: 1; }

/* --- vignette stage (per-tool animation area) --- */
.vg {
  position: relative;
  height: 128px;
  border-bottom: 1px solid var(--line-soft);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--accent) 7%, transparent), transparent 80%),
    var(--bg-raise2);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.vg svg { display: block; overflow: visible; }

/* --- card body --- */
.tool .body {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 22px 26px 22px;
}
.tool .route {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  color: var(--ink-faint);
  margin-bottom: 14px;
  transition: color 0.35s var(--ease);
}
.tool .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  flex: none;
  transition: box-shadow 0.35s var(--ease);
}
.tool:hover .route { color: color-mix(in srgb, var(--accent) 78%, var(--ink)); }
.tool:hover .dot   { box-shadow: 0 0 12px var(--accent); }

.tool .name {
  font-size: 25px;
  font-weight: 700;
  letter-spacing: -0.04em;
  margin-bottom: 10px;
  transition: color 0.35s var(--ease);
}
.tool:hover .name { color: color-mix(in srgb, var(--accent) 42%, var(--ink)); }

.tool .desc {
  font-size: 13.5px;
  color: var(--ink-dim);
  line-height: 1.55;
  max-width: 38ch;
  margin-bottom: auto;
}
.tool .foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 20px;
}
.tool .tags { font-size: 11.5px; color: var(--ink-faint); }
.tool .go {
  font-size: 12px;
  color: var(--ink-faint);
  transition: color 0.35s var(--ease), transform 0.35s var(--ease);
}
.tool:hover .go { color: var(--accent); transform: translateX(4px); }

/* --- status badges (free / access-on-request) --- */
.badge {
  position: absolute;
  top: 14px; right: 14px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 11px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 68%, transparent);
  backdrop-filter: blur(5px);
  color: var(--ink-faint);
  transition: color 0.35s var(--ease), border-color 0.35s var(--ease);
}
.badge.free::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--kuvert);
  box-shadow: 0 0 7px var(--kuvert);
}
.badge.gated {
  color: color-mix(in srgb, var(--accent) 82%, var(--ink));
  border-color: color-mix(in srgb, var(--accent) 42%, var(--line));
}
.badge.gated::before {
  content: "";
  width: 7px; height: 7px;
  border: 1.5px solid currentColor;
  border-radius: 2px 2px 0 0;
  border-bottom: none;
  margin-bottom: -1px;
  box-shadow: 0 3px 0 -1px currentColor;
}
.tool:hover .badge.free { color: var(--ink-dim); }
.tool:hover .badge.gated { border-color: color-mix(in srgb, var(--accent) 65%, var(--line)); }

/* ------------------------------------------------------------
   VIGNETTE 1 · WHITEPRINT — a sitemap draws itself
   ------------------------------------------------------------ */
.vg-wp .link {
  fill: none;
  stroke: color-mix(in srgb, var(--wp) 65%, transparent);
  stroke-width: 1.5;
  stroke-dasharray: 60;
  stroke-dashoffset: 60;
  animation: wp-draw 5.2s var(--ease) infinite;
}
.vg-wp .link.l2 { animation-delay: 0.35s; }
.vg-wp .link.l3 { animation-delay: 0.7s; }
@keyframes wp-draw {
  0%       { stroke-dashoffset: 60; }
  28%, 78% { stroke-dashoffset: 0; }
  100%     { stroke-dashoffset: -60; }
}
.vg-wp .node {
  fill: var(--bg-raise);
  stroke: var(--wp);
  stroke-width: 1.5;
  opacity: 0;
  animation: wp-node 5.2s var(--ease) infinite;
}
.vg-wp .node.root { animation-delay: 0s; }
.vg-wp .node.n1   { animation-delay: 0.5s; }
.vg-wp .node.n2   { animation-delay: 0.8s; }
.vg-wp .node.n3   { animation-delay: 1.1s; }
@keyframes wp-node {
  0%, 4%   { opacity: 0; transform: scale(0.6); transform-origin: center; transform-box: fill-box; }
  16%, 80% { opacity: 1; transform: scale(1); }
  95%,100% { opacity: 0; }
}
.tool:hover .vg-wp .link,
.tool:hover .vg-wp .node { animation-duration: 2.8s; }

/* ------------------------------------------------------------
   VIGNETTE 2 · ORIVO — an arrow marks a screenshot
   ------------------------------------------------------------ */
.vg-or .frame {
  fill: var(--bg-raise);
  stroke: var(--line);
  stroke-width: 1.5;
}
.vg-or .chrome { fill: var(--ink-faint); opacity: 0.7; }
.vg-or .bar { fill: var(--line); }
.vg-or .hilite {
  fill: none;
  stroke: var(--orivo);
  stroke-width: 2;
  stroke-dasharray: 120;
  stroke-dashoffset: 120;
  stroke-linecap: round;
  animation: or-box 4.6s var(--ease) infinite;
}
@keyframes or-box {
  0%, 8%    { stroke-dashoffset: 120; opacity: 1; }
  38%, 80%  { stroke-dashoffset: 0;   opacity: 1; }
  96%, 100% { stroke-dashoffset: 0;   opacity: 0; }
}
.vg-or .arrow {
  fill: none;
  stroke: var(--orivo);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 70;
  stroke-dashoffset: 70;
  filter: drop-shadow(0 0 6px color-mix(in srgb, var(--orivo) 55%, transparent));
  animation: or-arrow 4.6s var(--ease) infinite;
}
@keyframes or-arrow {
  0%, 24%   { stroke-dashoffset: 70; opacity: 1; }
  50%, 80%  { stroke-dashoffset: 0;  opacity: 1; }
  96%, 100% { stroke-dashoffset: 0;  opacity: 0; }
}
.tool:hover .vg-or .hilite,
.tool:hover .vg-or .arrow { animation-duration: 2.6s; }

/* ------------------------------------------------------------
   VIGNETTE 3 · KOBOLD — swatches shapeshift, sparkles twinkle
   ------------------------------------------------------------ */
.vg-ko .sw {
  width: 30px; height: 30px;
  border-radius: 8px;
  animation: ko-cycle 7s ease-in-out infinite;
}
.vg-ko { gap: 14px; }
.vg-ko .sw:nth-child(2) { animation-delay: -1.4s; }
.vg-ko .sw:nth-child(3) { animation-delay: -2.8s; }
.vg-ko .sw:nth-child(4) { animation-delay: -4.2s; }
.vg-ko .sw:nth-child(5) { animation-delay: -5.6s; }
@keyframes ko-cycle {
  0%,100% { background: var(--k-amber);  border-radius: 8px;  transform: rotate(0deg)   scale(1); }
  20%     { background: var(--kobold);   border-radius: 50%;  transform: rotate(45deg)  scale(1.12); }
  40%     { background: var(--k-teal);   border-radius: 4px;  transform: rotate(90deg)  scale(0.94); }
  60%     { background: var(--k-pink);   border-radius: 50%;  transform: rotate(135deg) scale(1.08); }
  80%     { background: var(--wp);       border-radius: 10px; transform: rotate(180deg) scale(1); }
}
.vg-ko .spark {
  position: absolute;
  color: var(--kobold);
  font-size: 13px;
  animation: ko-spark 3.4s ease-in-out infinite;
  text-shadow: 0 0 8px color-mix(in srgb, var(--kobold) 70%, transparent);
}
.vg-ko .spark.s1 { top: 18%; left: 16%; animation-delay: 0s; }
.vg-ko .spark.s2 { top: 24%; right: 18%; animation-delay: 1.1s; font-size: 10px; }
.vg-ko .spark.s3 { bottom: 16%; left: 30%; animation-delay: 2.2s; font-size: 11px; }
@keyframes ko-spark {
  0%, 100% { opacity: 0; transform: scale(0.4) rotate(0deg); }
  50%      { opacity: 1; transform: scale(1.15) rotate(90deg); }
}
.tool:hover .vg-ko .sw    { animation-duration: 3.2s; }
.tool:hover .vg-ko .spark { animation-duration: 1.6s; }

/* ------------------------------------------------------------
   VIGNETTE 4 · KUVERT — plaintext encrypts before your eyes
   ------------------------------------------------------------ */
.vg-ku { flex-direction: column; gap: 12px; }
.vg-ku .cipher {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.34em;
  color: var(--kuvert);
  text-shadow: 0 0 12px color-mix(in srgb, var(--kuvert) 40%, transparent);
  white-space: nowrap;
}
.vg-ku .seal {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.vg-ku .seal i {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--kuvert);
  animation: ku-seal 2.4s ease-in-out infinite;
}
@keyframes ku-seal {
  0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--kuvert) 55%, transparent); }
  50%      { box-shadow: 0 0 0 7px transparent; }
}

/* ============================================================
   COMMISSION — the sales floor
   ============================================================ */
.commission {
  position: relative;
  margin: 26px 0 8px;
  border-radius: 20px;
  padding: 1px; /* gradient border via padding trick */
  background: linear-gradient(130deg,
    color-mix(in srgb, var(--wp) 45%, var(--line)),
    color-mix(in srgb, var(--orivo) 35%, var(--line)) 30%,
    color-mix(in srgb, var(--kobold) 40%, var(--line)) 65%,
    color-mix(in srgb, var(--kuvert) 45%, var(--line)));
  background-size: 300% 300%;
  animation: border-flow 10s ease-in-out infinite;
}
@keyframes border-flow {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}
.commission .inner {
  position: relative;
  border-radius: 19px;
  background:
    radial-gradient(110% 130% at 50% -20%, color-mix(in srgb, var(--iniist) 10%, transparent), transparent 55%),
    linear-gradient(180deg, var(--bg-raise) 0%, var(--bg) 100%);
  padding: 58px 48px 52px;
  overflow: hidden;
}
.commission .eyebrow { margin-bottom: 20px; color: var(--iniist); }
.commission h3 {
  font-size: clamp(28px, 4.8vw, 46px);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.04;
  margin-bottom: 20px;
  max-width: 22ch;
}
.commission h3 .hl { color: var(--iniist); }
.commission .pitch {
  font-size: 15px;
  color: var(--ink-dim);
  max-width: 58ch;
  line-height: 1.7;
  margin-bottom: 34px;
}
.commission .pitch strong { color: var(--ink); font-weight: 500; }

/* --- process steps --- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 34px;
}
.step {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: color-mix(in srgb, var(--bg-raise2) 70%, transparent);
  padding: 18px 18px 16px;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.step:hover { border-color: color-mix(in srgb, var(--iniist) 40%, var(--line)); transform: translateY(-2px); }
.step .no {
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--iniist);
  margin-bottom: 8px;
  display: block;
}
.step .t { font-size: 14px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 6px; }
.step p { font-size: 12.5px; color: var(--ink-dim); line-height: 1.6; }

/* --- idea chips --- */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 38px;
}
.chip {
  font-size: 12px;
  color: var(--ink-dim);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.chip:hover {
  color: var(--ink);
  border-color: color-mix(in srgb, var(--iniist) 45%, var(--line));
  transform: translateY(-2px);
}
.chip.you {
  color: var(--iniist);
  border-color: color-mix(in srgb, var(--iniist) 45%, var(--line));
  border-style: dashed;
}

/* --- CTA row --- */
.cta-row {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
.cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 14.5px;
  letter-spacing: -0.01em;
  color: #041a1c;
  background: var(--iniist);
  padding: 16px 26px;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
/* shine sweep */
.cta::after {
  content: "";
  position: absolute;
  top: 0; left: -80%;
  width: 55%; height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,0.5), transparent);
  transform: skewX(-20deg);
  animation: shine 4.4s var(--ease) infinite;
}
@keyframes shine {
  0%, 55%  { left: -80%; }
  85%,100% { left: 160%; }
}
.cta:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 40px color-mix(in srgb, var(--iniist) 38%, transparent);
}
.cta .arrow { transition: transform 0.25s var(--ease); }
.cta:hover .arrow { transform: translateX(5px); }
.cta:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.cta-note {
  font-size: 12.5px;
  color: var(--ink-faint);
  max-width: 30ch;
  line-height: 1.55;
}

/* ============================================================
   FOOTER
   ============================================================ */
.foot-main {
  margin-top: 74px;
  border-top: 1px solid var(--line-soft);
  padding: 34px 0 46px;
}
.foot-main .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.foot-left {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 12.5px;
  color: var(--ink-faint);
}
.foot-left .mark { font-size: 14px; }
.foot-nav { display: flex; gap: 20px; font-size: 12.5px; color: var(--ink-dim); }
.foot-nav a { transition: color 0.2s var(--ease); }
.foot-nav a:hover { color: var(--iniist); }

/* ============================================================
   LEGAL PAGES (impressum / datenschutz)
   ============================================================ */
.legal { padding: 96px 0 40px; max-width: 760px; }
.legal .back {
  font-size: 12.5px;
  color: var(--ink-dim);
  display: inline-flex;
  gap: 8px;
  margin-bottom: 40px;
  transition: color 0.2s var(--ease);
}
.legal .back:hover { color: var(--iniist); }
.legal h1 {
  font-size: clamp(30px, 6vw, 44px);
  font-weight: 700;
  letter-spacing: -0.05em;
  margin-bottom: 8px;
}
.legal .lead {
  color: var(--ink-faint);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 48px;
}
.legal h2 {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--iniist);
  margin: 42px 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-soft);
}
.legal h3 {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 26px 0 10px;
}
.legal p, .legal li {
  font-size: 14px;
  color: var(--ink-dim);
  line-height: 1.72;
  margin-bottom: 14px;
}
.legal strong { color: var(--ink); font-weight: 500; }
.legal a.inline {
  color: var(--iniist);
  border-bottom: 1px solid color-mix(in srgb, var(--iniist) 40%, transparent);
  word-break: break-word;
}
.legal ul { list-style: none; padding-left: 0; }
.legal ul li { padding-left: 20px; position: relative; margin-bottom: 8px; }
.legal ul li::before { content: "—"; position: absolute; left: 0; color: var(--ink-faint); }
.legal .card {
  background: var(--bg-raise);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px 24px;
  margin-bottom: 20px;
}
.legal .card p { margin-bottom: 4px; color: var(--ink); }
.legal .card p.muted { color: var(--ink-faint); font-size: 12.5px; margin-top: 10px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 720px) {
  .wrap { padding: 0 20px; }
  .topbar nav { gap: 16px; }
  .hero { padding: 80px 0 44px; }
  .tools { grid-template-columns: 1fr; }
  .commission .inner { padding: 42px 26px 40px; }
  .steps { grid-template-columns: 1fr; }
  .section-head { flex-direction: column; gap: 8px; }
  .foot-main .wrap { flex-direction: column; align-items: flex-start; gap: 18px; }
  .aurora { filter: blur(50px) saturate(1.15); }
}

/* ============================================================
   REDUCED MOTION — everything settles to a calm still frame
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .hero .eyebrow, .wordmark, .thesis, .subline { opacity: 1 !important; transform: none !important; }
  .wordmark .ist { color: var(--iniist); background: none; -webkit-background-clip: initial; background-clip: initial; }
  .vg-wp .link { stroke-dashoffset: 0; }
  .vg-wp .node { opacity: 1; }
  .vg-or .hilite, .vg-or .arrow { stroke-dashoffset: 0; opacity: 1; }
  .vg-ko .spark { opacity: 0.8; }
  .cta::after { display: none; }
  .marquee .track { animation: none; }
}
