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

:root {
  --bg: #07060e;
  --text: rgba(203, 213, 225, 0.7);
  --text-bright: rgba(255, 255, 255, 0.95);
  --accent-1: #a78bfa;
  --accent-2: #f472b6;
}

html, body {
  height: 100%;
}

body {
  background: var(--bg);
  font-family: 'Outfit', sans-serif;
  color: var(--text);
  position: relative;
}

/* ── Animated gradient background orbs ── */
.orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.4;
  animation: drift 18s ease-in-out infinite alternate,
             hueShift 12s linear infinite;
  will-change: transform, filter;
  pointer-events: none;
}

.orb--1 {
  width: 55vmax;
  height: 55vmax;
  top: -18%;
  left: -12%;
  background: linear-gradient(135deg, #6366f1, #a855f7, #ec4899);
  animation-duration: 22s, 12s;
}

.orb--2 {
  width: 45vmax;
  height: 45vmax;
  bottom: -20%;
  right: -10%;
  background: linear-gradient(315deg, #3b82f6, #8b5cf6, #d946ef);
  animation-duration: 26s, 15s;
  animation-delay: -4s, -3s;
}

.orb--3 {
  width: 30vmax;
  height: 30vmax;
  top: 40%;
  left: 55%;
  background: linear-gradient(225deg, #2563eb, #7c3aed, #f472b6);
  opacity: 0.25;
  animation-duration: 20s, 10s;
  animation-delay: -8s, -6s;
}

@keyframes drift {
  0%   { transform: translate(0, 0) scale(1); }
  33%  { transform: translate(6vw, -4vh) scale(1.08); }
  66%  { transform: translate(-4vw, 6vh) scale(0.95); }
  100% { transform: translate(3vw, 3vh) scale(1.03); }
}

@keyframes hueShift {
  0%   { filter: blur(120px) hue-rotate(0deg); }
  100% { filter: blur(120px) hue-rotate(360deg); }
}

/* ── Grain overlay ── */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  background-size: 128px 128px;
  opacity: 0.035;
  pointer-events: none;
  z-index: 10;
}

/* ── Floating particles ── */
.particles {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}

.particle {
  position: absolute;
  bottom: -10px;
  border-radius: 50%;
  animation-name: rise;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

@keyframes rise {
  0%   { transform: translateY(0) translateX(0); opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { transform: translateY(-105vh) translateX(24px); opacity: 0; }
}

/* ── Cursor glow ── */
.cursor-glow {
  position: fixed;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 3;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease;
  opacity: 0;
}

/* ── Shared entrance animation ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Gradient text utility ── */
.gradient-text {
  --logo-gradient: linear-gradient(
    135deg,
    #93c5fd 0%,
    #a78bfa 25%,
    #c084fc 50%,
    #f472b6 75%,
    #93c5fd 100%
  );
  background: var(--logo-gradient);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientFlow 8s ease infinite;
}

@keyframes gradientFlow {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

/* ── Per-letter gentle bounce on the HOOTLI title ── */
.gradient-text .logo-letter {
  display: inline-block;
  will-change: transform;
  /* self-contained gradient so the transform below can't disturb the fill */
  background: var(--logo-gradient);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientFlow 8s ease infinite,
             letterBounce 2.6s ease-in-out infinite;
  animation-delay: 0s, calc(var(--i, 0) * 0.11s);
}

@keyframes letterBounce {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-0.1em); }
}

/* ── Link styles ── */
a.styled-link {
  font-family: 'Outfit', sans-serif;
  font-weight: 300;
  color: var(--text);
  text-decoration: none;
  letter-spacing: 0.06em;
  transition: color 0.4s ease, letter-spacing 0.4s ease;
  position: relative;
}

a.styled-link::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 50%;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--accent-1), var(--accent-2));
  transition: width 0.4s ease, left 0.4s ease;
}

a.styled-link:hover {
  color: var(--text-bright);
  letter-spacing: 0.09em;
}

a.styled-link:hover::after {
  width: 100%;
  left: 0;
}

/* ── Hero ── */
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  overflow: hidden;
  position: relative;
  z-index: 5;
  text-align: center;
  flex-direction: column;
  gap: 2rem;
  padding: 0 1.25rem;
}

.logo {
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  font-size: clamp(3.5rem, 17vw, 11rem);
  letter-spacing: 0.02em;
  color: #fff;
  line-height: 1;
  animation: fadeUp 1.2s cubic-bezier(0.22, 1, 0.36, 1) both;
  user-select: none;
  -webkit-user-select: none;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

/* ── Acronym line ── */
.acronym {
  font-family: 'Sora', sans-serif;
  font-weight: 300;
  font-size: clamp(0.95rem, 3.1vw, 1.6rem);
  letter-spacing: 0.06em;
  line-height: 1.3;
  white-space: nowrap;
  animation: fadeUp 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.3s both;
}

.acronym .k {
  color: var(--text-bright);
  font-weight: 600;
}

.acronym .r {
  color: rgba(203, 213, 225, 0.45);
}

/* ── The flipping tail ── */
.flip {
  display: inline-block;
  position: relative;
  overflow: hidden;
  vertical-align: bottom;
  height: 1.35em;
  transition: width 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.flip-word {
  display: inline-block;
  white-space: pre;
  color: transparent;
  background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1),
              opacity 0.38s ease;
}

.flip-word.out {
  transform: translateY(-0.9em);
  opacity: 0;
}

@media (prefers-reduced-motion: reduce) {
  .flip-word { transition: none; }
  .orb { animation: none; }
  .particle { display: none; }
  .logo-letter { animation: none; }
}

.divider {
  width: 48px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(168, 139, 250, 0.6), transparent);
  animation: fadeUp 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.5s both,
             pulseGlow 4s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%, 100% { opacity: 0.5; width: 48px; }
  50%      { opacity: 1; width: 64px; }
}

.contact {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  animation: fadeUp 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.7s both;
}

.contact a {
  font-size: clamp(0.85rem, 2vw, 1.05rem);
}

/* Final I of the acronym shares the flipping tail's gradient */
.acronym .k--i {
  color: transparent;
  background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  font-weight: 400;
}

@media (max-width: 400px) {
  .acronym { font-size: 0.85rem; letter-spacing: 0.04em; }
}

/* ── Nav ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  animation: fadeUp 1.2s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.nav-brand {
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  color: #fff;
  text-decoration: none;
  letter-spacing: 0.04em;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.nav-links a {
  font-weight: 300;
  font-size: 0.9rem;
  color: var(--text);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-bright);
}

/* ── Snake ── */
.game {
  position: relative;
  z-index: 5;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  padding: 5.5rem 1rem 2.5rem;
  animation: fadeUp 1.2s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.scoreboard {
  display: flex;
  gap: 2rem;
  font-family: 'Press Start 2P', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.05em;
  color: rgba(203, 213, 225, 0.5);
}

.scoreboard b {
  color: var(--accent-1);
  font-weight: 400;
}

.crt {
  position: relative;
  width: min(86vw, 480px);
  aspect-ratio: 1;
  border: 1px solid rgba(168, 139, 250, 0.25);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0 60px rgba(139, 92, 246, 0.18),
              inset 0 0 60px rgba(10, 8, 18, 0.9);
}

.crt canvas {
  display: block;
  width: 100%;
  height: 100%;
  touch-action: none;
}

/* Scanlines + vignette for the tube look */
.crt::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.16) 0px,
      rgba(0, 0, 0, 0.16) 1px,
      transparent 1px,
      transparent 3px
    ),
    radial-gradient(ellipse at center, transparent 55%, rgba(0, 0, 0, 0.55) 100%);
}

.overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  text-align: center;
  padding: 1rem;
  background: rgba(7, 6, 14, 0.72);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s;
}

.overlay.visible {
  opacity: 1;
  visibility: visible;
}

.overlay-title {
  font-family: 'Press Start 2P', monospace;
  font-size: clamp(1.1rem, 5vw, 1.6rem);
  line-height: 1.4;
  color: transparent;
  background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
}

.overlay-sub {
  font-family: 'Press Start 2P', monospace;
  font-size: clamp(0.5rem, 2.4vw, 0.62rem);
  line-height: 1.8;
  color: rgba(203, 213, 225, 0.6);
  animation: blink 1.4s steps(2, start) infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.25; }
}

.hint {
  font-family: 'Press Start 2P', monospace;
  font-size: 0.5rem;
  line-height: 1.9;
  letter-spacing: 0.02em;
  color: rgba(203, 213, 225, 0.32);
  text-align: center;
  max-width: 30rem;
}

/* Touch d-pad — only where there is no keyboard */
.dpad {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.dpad-row {
  display: flex;
  gap: 0.5rem;
}

.dpad button {
  width: 3.25rem;
  height: 3.25rem;
  border: 1px solid rgba(168, 139, 250, 0.25);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--accent-1);
  font-size: 1rem;
  cursor: pointer;
}

.dpad button:active {
  background: rgba(168, 139, 250, 0.18);
}

@media (hover: none) and (pointer: coarse) {
  .dpad { display: flex; }
}

@media (max-width: 480px) {
  .nav { padding: 1.1rem 1.25rem; }
  .scoreboard { gap: 1.25rem; }
}

.hint-touch { display: none; }

@media (hover: none) and (pointer: coarse) {
  .hint-keys { display: none; }
  .hint-touch { display: block; }
}

/* ══════════════════════════════════════════
   Stack — vertical flow chart
   ══════════════════════════════════════════ */
html {
  scroll-behavior: smooth;
}

.stack {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3.25rem;
  padding: 4.5rem 1.25rem 7rem;
  text-align: center;
}

.stack-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
}

.eyebrow {
  font-family: 'Sora', sans-serif;
  font-weight: 400;
  font-size: 0.66rem;
  letter-spacing: 0.42em;
  text-indent: 0.42em;
  text-transform: uppercase;
  color: rgba(167, 139, 250, 0.7);
}

.stack-title {
  font-family: 'Sora', sans-serif;
  font-weight: 300;
  font-size: clamp(1.45rem, 4.6vw, 2.5rem);
  line-height: 1.25;
  letter-spacing: 0.01em;
  max-width: 24ch;
}

.stack-sub {
  font-weight: 300;
  font-size: clamp(0.9rem, 2.4vw, 1.05rem);
  line-height: 1.6;
  color: rgba(203, 213, 225, 0.55);
  max-width: 38ch;
}

/* ── Scroll-triggered reveal (only armed once JS is running) ── */
.reveal-ready .reveal,
.reveal-ready .flow-step {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: calc(var(--i, 0) * 90ms);
}

.reveal-ready .reveal.in,
.reveal-ready .flow-step.in {
  opacity: 1;
  transform: none;
}

/* ── The column ── */
.flow {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 30rem;
}

.flow-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.flow-step:nth-child(1) { --i: 0; }
.flow-step:nth-child(2) { --i: 1; }
.flow-step:nth-child(3) { --i: 2; }
.flow-step:nth-child(4) { --i: 3; }
.flow-step:nth-child(5) { --i: 4; }

/* ── Rounded rectangle node ── */
.flow-node {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  gap: 1.05rem;
  width: 100%;
  padding: 1.15rem 1.3rem;
  text-align: left;
  border: 1px solid rgba(168, 139, 250, 0.16);
  border-radius: 16px;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.012) 62%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05),
              0 14px 34px -24px rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
              border-color 0.45s ease,
              box-shadow 0.5s ease;
  will-change: transform;
}

/* soft corner tint + cursor-tracked spotlight, both under the text */
.flow-node::before,
.flow-node::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.flow-node::before {
  background: radial-gradient(130% 170% at 6% -12%, rgba(var(--glow), 0.16), transparent 62%);
}

.flow-node::after {
  background: radial-gradient(11rem circle at var(--mx, 50%) var(--my, 50%),
              rgba(var(--glow), 0.22), transparent 62%);
}

/* ── The glow ── */
.flow-node:hover,
.flow-node:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(var(--glow), 0.5);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.09),
              inset 0 0 26px rgba(var(--glow), 0.10),
              0 0 22px rgba(var(--glow), 0.28),
              0 0 62px rgba(var(--glow), 0.16),
              0 0 110px rgba(var(--glow-b), 0.13),
              0 20px 42px -28px rgba(0, 0, 0, 0.95);
}

.flow-node:hover::before,
.flow-node:focus-visible::before,
.flow-node:hover::after,
.flow-node:focus-visible::after {
  opacity: 1;
}

.flow-badge {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 12px;
  color: rgba(var(--glow), 0.75);
  border: 1px solid rgba(var(--glow), 0.22);
  background: rgba(var(--glow), 0.06);
  transition: color 0.45s ease, border-color 0.45s ease,
              box-shadow 0.45s ease, transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.flow-badge svg {
  width: 1.35rem;
  height: 1.35rem;
}

.flow-node:hover .flow-badge,
.flow-node:focus-visible .flow-badge {
  color: rgb(var(--glow));
  border-color: rgba(var(--glow), 0.6);
  box-shadow: 0 0 18px rgba(var(--glow), 0.35),
              inset 0 0 12px rgba(var(--glow), 0.18);
  transform: scale(1.06);
}

.flow-copy {
  min-width: 0;
}

.flow-name {
  font-family: 'Sora', sans-serif;
  font-weight: 400;
  font-size: clamp(1rem, 3.4vw, 1.16rem);
  letter-spacing: 0.02em;
  line-height: 1.3;
  color: var(--text-bright);
  transition: letter-spacing 0.45s ease, color 0.45s ease;
}

.flow-node:hover .flow-name,
.flow-node:focus-visible .flow-name {
  letter-spacing: 0.04em;
  color: transparent;
  background: linear-gradient(120deg, rgb(var(--glow)), rgb(var(--glow-b)));
  -webkit-background-clip: text;
  background-clip: text;
}

.flow-desc {
  margin-top: 0.2rem;
  font-weight: 300;
  font-size: clamp(0.8rem, 2.6vw, 0.88rem);
  line-height: 1.6;
  color: rgba(203, 213, 225, 0.5);
  transition: color 0.45s ease;
}

.flow-node:hover .flow-desc,
.flow-node:focus-visible .flow-desc {
  color: rgba(203, 213, 225, 0.74);
}

.flow-index {
  position: absolute;
  top: 0.65rem;
  right: 0.9rem;
  font-family: 'Sora', sans-serif;
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  color: rgba(203, 213, 225, 0.2);
  transition: color 0.45s ease, text-shadow 0.45s ease;
}

.flow-node:hover .flow-index,
.flow-node:focus-visible .flow-index {
  color: rgba(var(--glow), 0.85);
  text-shadow: 0 0 14px rgba(var(--glow), 0.6);
}

/* ── Connector between nodes ── */
.flow-link {
  position: relative;
  display: block;
  width: 1px;
  height: 3.4rem;
  margin: 0.45rem 0;
  background: linear-gradient(180deg,
              rgba(var(--glow), 0.04),
              rgba(var(--glow), 0.42) 45%,
              rgba(var(--glow), 0.06));
}

.flow-link::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 50%;
  width: 5px;
  height: 5px;
  border-right: 1px solid rgba(var(--glow), 0.45);
  border-bottom: 1px solid rgba(var(--glow), 0.45);
  transform: translate(-50%, 50%) rotate(45deg);
}

/* pulse that falls down the wire */
.flow-spark {
  position: absolute;
  left: 50%;
  top: 0;
  width: 4px;
  height: 4px;
  margin-left: -2px;
  border-radius: 50%;
  opacity: 0;
  background: rgb(var(--glow));
  box-shadow: 0 0 8px 2px rgba(var(--glow), 0.75),
              0 0 20px 5px rgba(var(--glow), 0.3);
  animation: flowFall 3.4s cubic-bezier(0.45, 0, 0.55, 1) infinite;
  animation-delay: calc(var(--i, 0) * 0.5s);
}

@keyframes flowFall {
  0%   { top: 0;    opacity: 0; }
  12%  { opacity: 1; }
  80%  { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

.stack-foot {
  font-weight: 300;
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  color: rgba(203, 213, 225, 0.4);
}

.stack-foot .strike {
  text-decoration: line-through;
  text-decoration-color: rgba(244, 114, 182, 0.75);
}

.stack-foot b {
  font-weight: 600;
  color: transparent;
  background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
}

/* ── Scroll cue in the hero ── */
.scroll-cue {
  position: absolute;
  bottom: 1.6rem;
  left: 0;
  right: 0;
  width: max-content;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  animation: fadeUp 1.2s cubic-bezier(0.22, 1, 0.36, 1) 1s both;
}

.scroll-cue-label {
  font-family: 'Sora', sans-serif;
  font-size: 0.58rem;
  letter-spacing: 0.34em;
  text-indent: 0.34em;
  text-transform: uppercase;
  color: rgba(203, 213, 225, 0.32);
  transition: color 0.4s ease, letter-spacing 0.4s ease, text-shadow 0.4s ease;
}

.scroll-cue-line {
  position: relative;
  width: 1px;
  height: 2.4rem;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(168, 139, 250, 0.45), transparent);
}

.scroll-cue-line::after {
  content: '';
  position: absolute;
  inset-inline: 0;
  top: -40%;
  height: 40%;
  background: linear-gradient(180deg, transparent, var(--accent-2));
  animation: cueFall 2.4s ease-in-out infinite;
}

@keyframes cueFall {
  0%   { transform: translateY(0); }
  100% { transform: translateY(360%); }
}

.scroll-cue:hover .scroll-cue-label {
  color: var(--text-bright);
  letter-spacing: 0.4em;
  text-shadow: 0 0 16px rgba(167, 139, 250, 0.6);
}

/* ── Flow chart tweaks for small screens ── */
@media (max-width: 560px) {
  .stack { gap: 2.5rem; padding: 3.5rem 1rem 5.5rem; }
  .flow-node { gap: 0.85rem; padding: 1rem 1.05rem; border-radius: 14px; }
  .flow-badge { width: 2.25rem; height: 2.25rem; border-radius: 10px; }
  .flow-badge svg { width: 1.15rem; height: 1.15rem; }
  .flow-link { height: 2.6rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .flow-spark,
  .scroll-cue-line::after { animation: none; }
  .flow-node,
  .flow-badge,
  .reveal-ready .reveal,
  .reveal-ready .flow-step { transition: none; }
  .reveal-ready .reveal,
  .reveal-ready .flow-step { opacity: 1; transform: none; }
  .flow-node:hover,
  .flow-node:focus-visible { transform: none; }
}
