/* ==========================================================================
   Flow Frame — production stylesheet
   Sections: 1 tokens · 2 reset · 3 layout · 4 header · 5 hero · 6 components
             7 footer · 8 forms · 9 utilities · 10 responsive · 11 motion
   Breakpoints: <=767px mobile · 768–1099px tablet · >=1100px desktop
   ========================================================================== */

/* 1. Tokens ------------------------------------------------------------- */
:root {
  --bg: #0a0b0d;
  --bg-raised: #101214;
  --bg-inset: #16191c;
  --line: #23272b;
  --line-strong: #31373c;
  --text: #f2f4f5;
  --text-muted: #a9b1b8;
  --text-dim: #727b82;
  --accent: #d4ff3f;
  --accent-hover: #e4ff6e;
  --accent-deep: #8fa82a;

  --font-display: "Geist", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  /* 4pt spacing scale */
  --s-1: 4px;  --s-2: 8px;  --s-3: 12px; --s-4: 16px; --s-5: 20px;
  --s-6: 24px; --s-8: 32px; --s-10: 40px; --s-12: 48px; --s-14: 56px;
  --s-16: 64px; --s-20: 80px; --s-24: 96px; --s-32: 128px;

  --gutter: 24px;
  --pad-section: 72px var(--gutter);
  --pad-page: 48px var(--gutter) 72px;
  --max: 1408px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* 2. Reset -------------------------------------------------------------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; border-radius: 0; }

html {
  background: var(--bg);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  background: var(--bg);
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--accent); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--accent-hover); }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; font-size: 16px; }
::selection { background: var(--accent); color: var(--bg); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--line-strong); }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--accent); color: var(--bg); padding: 12px 20px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
}
.skip-link:focus { left: 0; color: var(--bg); }

/* 3. Layout ------------------------------------------------------------- */
.wrap { max-width: var(--max); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.section { padding: var(--pad-section); max-width: var(--max); margin: 0 auto; }
.section--flush { padding-left: var(--gutter); padding-right: var(--gutter); }
.section--band { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--raised { background: var(--bg-raised); }
.page { padding: var(--pad-page); max-width: var(--max); margin: 0 auto; }

.grid { display: grid; gap: var(--s-6); }
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
.grid--4 { grid-template-columns: 1fr 1fr; }
.grid--rule { gap: 0; border: 1px solid var(--line); }
.grid--rule > * { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* Type ------------------------------------------------------------------ */
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--text); font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; text-wrap: balance; }
h1 { font-size: clamp(32px, 5vw, 56px); }
h2 { font-size: clamp(26px, 3.6vw, 40px); }
h3 { font-size: clamp(20px, 2.2vw, 24px); line-height: 1.3; }
p { text-wrap: pretty; }

.kicker {
  display: flex; align-items: center; gap: var(--s-4);
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--accent); margin-bottom: var(--s-6);
}
.kicker::before { content: ""; width: 32px; height: 1px; background: var(--accent); flex: none; }
.lead { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.6; color: var(--text-muted); max-width: 60ch; margin-top: var(--s-6); }
.mono { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-dim); }
.accent { color: var(--accent); }

/* 4. Header ------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  padding: var(--s-4) 0;
  padding-top: calc(var(--s-4) + env(safe-area-inset-top, 0px));
  background: transparent;
}
.nav-bar {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: var(--s-8);
  height: 64px; padding: 0 12px 0 20px;
  border: 1px solid var(--line);
  background: rgba(16, 18, 20, 0.78);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.nav-logo { display: flex; align-items: center; height: 40px; transition: opacity 0.2s ease; }
.nav-logo:hover { opacity: 0.7; }
.nav-logo img { height: 40px; width: auto; }

.nav-links { display: none; align-items: center; gap: var(--s-1); justify-self: center; }
.nav-link {
  position: relative; white-space: nowrap; padding: 12px var(--s-4);
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-muted);
  background-image: linear-gradient(var(--accent), var(--accent));
  background-repeat: no-repeat; background-position: 16px calc(100% - 10px); background-size: 0 1px;
  transition: color 0.25s ease, background-size 0.35s var(--ease);
}
.nav-link:hover { color: var(--text); background-size: calc(100% - 32px) 1px; }
.nav-link[aria-current="page"] { color: var(--text); background-size: calc(100% - 32px) 1px; }

.nav-cta { display: none; justify-self: end; }
.nav-toggle {
  justify-self: end; height: 40px; padding: 0 16px;
  display: flex; align-items: center; gap: 10px;
  border: 1px solid var(--line-strong); color: var(--text);
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  transition: border-color 0.25s ease, color 0.25s ease;
}
.nav-toggle:hover { border-color: var(--accent); color: var(--accent); }

.nav-panel {
  margin-top: var(--s-2); border: 1px solid var(--line);
  background: rgba(16, 18, 20, 0.96);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.nav-panel[hidden] { display: none; }
.nav-panel a {
  display: block; padding: 18px 20px; border-bottom: 1px solid var(--line);
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-muted);
}
.nav-panel a:hover { color: var(--accent); }
.nav-panel a.is-cta { color: var(--bg); background: var(--accent); font-weight: 500; border-bottom: none; }

/* Buttons --------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-3);
  height: 48px; padding: 0 var(--s-6); white-space: nowrap;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 500;
  background-repeat: no-repeat; background-size: 230% 100%; background-position: 100% 0;
  transition: background-position 0.55s cubic-bezier(0.65, 0, 0.35, 1), color 0.3s ease 0.06s,
    border-color 0.3s ease, transform 0.12s ease;
}
.btn:active { transform: translateY(1px); }
.btn--primary {
  color: var(--bg); background-color: var(--accent);
  background-image: linear-gradient(115deg, var(--bg) 0 50%, rgba(10, 11, 13, 0) 50%);
}
.btn--primary:hover { background-position: 0 0; color: var(--accent); }
.btn--ghost {
  color: var(--text); border: 1px solid var(--line-strong);
  background-image: linear-gradient(115deg, var(--accent) 0 50%, rgba(212, 255, 63, 0) 50%);
}
.btn--ghost:hover { background-position: 0 0; border-color: var(--accent); color: var(--bg); }
.btn--lg { height: 56px; padding: 0 28px; font-size: 13px; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s-4); margin-top: var(--s-10); }

.link-arrow {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--accent); padding-bottom: 6px; box-shadow: inset 0 -1px 0 var(--accent-deep);
  background-image: linear-gradient(var(--accent), var(--accent));
  background-repeat: no-repeat; background-position: 0 100%; background-size: 0 1px;
  transition: background-size 0.5s var(--ease);
}
.link-arrow:hover { background-size: 100% 1px; }

/* 5. Hero --------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden;
  margin-top: -96px; padding-top: 128px; padding-bottom: var(--s-16);
  border-bottom: 1px solid var(--line);
  display: flex; flex-direction: column; justify-content: center;
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__bg--wash { background-image: linear-gradient(160deg, #101214 0%, var(--bg) 54%, var(--bg) 100%); }
.hero__bg--grid { background-image: repeating-linear-gradient(90deg, var(--bg-inset) 0 1px, transparent 1px calc(100% / 12)); opacity: 0.55; }
.hero__bg--glow {
  top: -280px; right: -180px; left: auto; bottom: auto; width: 900px; height: 900px;
  background-image: radial-gradient(circle at center, rgba(212, 255, 63, 0.12) 0%, rgba(212, 255, 63, 0.05) 34%, transparent 68%);
  animation: ff-drift 22s ease-in-out infinite alternate;
}
.hero__bg--streams { overflow: hidden; }
.hero__stream { position: absolute; top: 0; bottom: 0; width: 1px; overflow: hidden; opacity: 0.85; }
.hero__stream span {
  position: absolute; left: 0; right: 0; top: -320px; bottom: -320px;
  background-image: linear-gradient(180deg, transparent 0, transparent 58%, rgba(212, 255, 63, 0.3) 86%, var(--accent) 99%, transparent 100%);
  background-size: 1px 320px; background-repeat: repeat-y;
  filter: drop-shadow(0 0 6px rgba(212, 255, 63, 0.85)) drop-shadow(0 0 16px rgba(212, 255, 63, 0.45));
  animation: ff-stream 8s linear infinite;
}
.hero__sweep {
  position: absolute; left: 0; right: 0; height: 1px;
  background-image: linear-gradient(90deg, transparent 0, rgba(212, 255, 63, 0.32) 50%, transparent 100%);
  animation: ff-sweep 11s linear infinite;
}
.hero__word {
  position: absolute; left: -40px; bottom: -24px;
  font-family: var(--font-display); font-size: min(400px, 32vw); line-height: 0.8;
  letter-spacing: -0.05em; font-weight: 700; color: #101317;
  white-space: nowrap; user-select: none; pointer-events: none;
  -webkit-text-stroke: 1px rgba(212, 255, 63, 0);
  animation: ff-word 26s ease-in-out infinite alternate;
  transition: color 0.5s ease, letter-spacing 0.7s var(--ease), filter 0.5s ease, -webkit-text-stroke-color 0.5s ease;
}
.hero__word.is-hot {
  color: transparent; -webkit-text-stroke-color: rgba(212, 255, 63, 0.55);
  letter-spacing: -0.032em; filter: drop-shadow(0 0 34px rgba(212, 255, 63, 0.3));
}
.hero__inner { position: relative; width: 100%; max-width: var(--max); margin: 0 auto; padding: var(--s-8) var(--gutter) 0; display: grid; gap: var(--s-10); }
.hero h1 { font-size: clamp(30px, 8vw, 40px); line-height: 1.08; letter-spacing: -0.01em; text-transform: uppercase; max-width: 13ch; }
.hero__card { border: 1px solid var(--line); background: var(--bg-raised); width: 100%; align-self: center; }
.hero__card-head { padding: var(--s-4) var(--s-5); border-bottom: 1px solid var(--line); }
.hero__metric { padding: 18px var(--s-5); border-bottom: 1px solid var(--line); }
.hero__metric b { display: block; font-family: var(--font-mono); font-size: 24px; line-height: 1.15; color: var(--accent); font-weight: 400; }
.hero__metric span { display: block; margin-top: var(--s-2); }
.hero__card-note { padding: var(--s-4) var(--s-5); display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text-dim); }
.hero__facts { display: none; position: relative; width: 100%; max-width: var(--max); margin: 0 auto; padding: var(--s-8) var(--gutter) 0; }
.hero__facts-grid { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.hero__facts-grid > div { padding: var(--s-5) var(--s-6); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.hero__facts-grid dt { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-dim); }
.hero__facts-grid dd { font-family: var(--font-mono); font-size: 14px; letter-spacing: 0.04em; color: var(--text); margin-top: var(--s-2); }
.hero__scroll { display: flex; align-items: center; justify-content: space-between; gap: var(--s-8); padding: var(--s-4) 0 var(--s-8); }

.dot { width: 6px; height: 6px; background: var(--accent); display: block; flex: none; animation: ff-blink 2s steps(1) infinite; }

/* Marquee --------------------------------------------------------------- */
.marquee { position: relative; height: 96px; display: flex; align-items: center; overflow: hidden; border-bottom: 1px solid var(--line); }
.marquee__track { display: flex; gap: var(--s-16); padding-left: var(--gutter); white-space: nowrap; animation: ff-marquee 40s linear infinite; }
.marquee__track span { font-family: var(--font-display); font-size: 20px; font-weight: 700; letter-spacing: -0.01em; color: var(--text-dim); }
.marquee::before, .marquee::after { content: ""; position: absolute; top: 0; bottom: 0; width: 120px; pointer-events: none; }
.marquee::before { left: 0; background: linear-gradient(90deg, var(--bg), transparent); }
.marquee::after { right: 0; background: linear-gradient(270deg, var(--bg), transparent); }

/* 6. Components --------------------------------------------------------- */
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s-8); flex-wrap: wrap; margin-bottom: var(--s-12); }

.service { position: relative; padding: var(--s-10) var(--s-8); background-color: var(--bg); background-image: linear-gradient(var(--accent), var(--accent)); background-repeat: no-repeat; background-position: 0 0; background-size: 0 1px; transition: background-color 0.35s ease, background-size 0.55s var(--ease); }
.service:hover { background-color: var(--bg-raised); background-size: 100% 1px; }
.service__num { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.12em; color: var(--accent); }
.service h3 { margin-top: var(--s-6); }
.service p { margin-top: var(--s-4); }
.service ul { list-style: none; display: flex; flex-direction: column; gap: var(--s-2); margin-top: var(--s-8); padding-top: var(--s-6); border-top: 1px solid var(--line); }
.service li { font-size: 14px; line-height: 1.45; color: var(--text-dim); }

.flow__step { position: relative; }
.flow__rule { display: flex; align-items: center; margin: 18px 0 var(--s-8); }
.flow__dot {
  width: 12px; height: 12px; flex: none; background: var(--accent);
  box-shadow: 0 0 0 0 rgba(212, 255, 63, 0);
}
.flow__line {
  flex: 1; height: 1px; background: var(--accent); display: none;
  margin-right: calc(var(--s-6) * -1);
  transform-origin: left;
}
.reveal:not(.is-in) .flow__dot { background: var(--line-strong); }
.reveal:not(.is-in) .flow__line { transform: scaleX(0); transform-origin: left; }
.flow__dot, .flow__line { animation-duration: 9s; animation-timing-function: linear; animation-iteration-count: infinite; }
.flow__step:nth-child(1) .flow__dot { animation-name: ff-dot1; }
.flow__step:nth-child(1) .flow__line { animation-name: ff-line1; }
.flow__step:nth-child(2) .flow__dot { animation-name: ff-dot2; }
.flow__step:nth-child(2) .flow__line { animation-name: ff-line2; }
.flow__step:nth-child(3) .flow__dot { animation-name: ff-dot3; }
.flow__step:nth-child(3) .flow__line { animation-name: ff-line3; }
.flow__step:nth-child(4) .flow__dot { animation-name: ff-dot4; }
.flow__step:nth-child(4) .flow__line {
  animation-name: ff-line4;
  margin-right: 0;
  background: linear-gradient(to right, var(--accent) 0%, var(--accent) 55%, rgba(212, 255, 63, 0) 100%);
}

.card { display: block; width: 100%; text-align: left; border: 1px solid var(--line); background: var(--bg-raised); transition: border-color 0.2s ease; color: inherit; }
.card:hover { border-color: var(--line-strong); color: inherit; }
.card__shot { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background-image: repeating-linear-gradient(135deg, var(--bg-inset) 0 8px, var(--bg-raised) 8px 16px); display: flex; align-items: center; justify-content: center; }
.card__shot img { width: 100%; height: 100%; object-fit: cover; }
.card__placeholder { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-dim); background: var(--bg); border: 1px solid var(--line); padding: 6px 10px; text-align: center; }
.card__tag { position: absolute; top: 0; left: 0; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--bg); background: var(--accent); padding: 4px 8px; }
.card__body { padding: var(--s-6); border-top: 1px solid var(--line); }
.card__meta { display: flex; justify-content: space-between; gap: var(--s-6); }
.card h3 { margin-top: var(--s-4); }
.card__cta { display: block; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin-top: var(--s-4); }
.tags { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-5); }
.tag { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-dim); border: 1px solid var(--line); padding: 4px 8px; }
.tag--solid { color: var(--text-muted); border-color: var(--line-strong); font-size: 12px; padding: 10px 16px; }

.filters { display: flex; flex-wrap: wrap; gap: var(--s-6); margin: var(--s-16) 0 var(--s-8); border-bottom: 1px solid var(--line); }
.filter { position: relative; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); padding: 0 0 var(--s-4); }
.filter:hover { color: var(--text); }
.filter[aria-pressed="true"] { color: var(--text); }
.filter[aria-pressed="true"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--accent); }

.stat { padding: var(--s-10) var(--s-6); }
.stat b { display: block; font-family: var(--font-display); font-size: clamp(36px, 5vw, 56px); line-height: 1.06; letter-spacing: -0.02em; font-weight: 700; color: var(--text); }
.stat span { display: block; margin-top: var(--s-3); }

.quote { border: 1px solid var(--line); background: var(--bg-raised); padding: var(--s-8); }
.quote p { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.6; color: var(--text); }
.quote figcaption { display: flex; align-items: center; gap: var(--s-4); margin-top: var(--s-8); padding-top: var(--s-6); border-top: 1px solid var(--line); }
.quote__avatar { width: 48px; height: 48px; background: var(--bg-inset); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; font-family: var(--font-mono); font-size: 12px; color: var(--text-dim); flex: none; }

.plan { padding: var(--s-8); }
.plan__price { font-family: var(--font-mono); font-size: clamp(32px, 4vw, 48px); line-height: 1.1; color: var(--text); margin-top: var(--s-6); }
.plan__who { font-size: 15px; line-height: 1.6; color: var(--text-muted); margin-top: var(--s-6); padding-bottom: var(--s-6); border-bottom: 1px solid var(--line); }
.plan ul { list-style: none; display: flex; flex-direction: column; gap: var(--s-3); margin-top: var(--s-6); }
.plan li { display: flex; gap: var(--s-3); align-items: flex-start; font-size: 14px; line-height: 1.45; color: var(--text-muted); }
.plan li::before { content: ""; width: 6px; height: 6px; background: var(--accent); margin-top: 7px; flex: none; }
.plan--featured { border-top: 2px solid var(--accent); }
.badge { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--bg); background: var(--accent); padding: 4px 8px; }

.faq { border: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q { width: 100%; text-align: left; padding: 20px var(--s-8); display: flex; justify-content: space-between; align-items: center; gap: var(--s-6); transition: background 0.25s ease; }
.faq__q:hover { background: var(--bg-raised); }
.faq__q span { display: flex; align-items: center; gap: var(--s-5); }
.faq__q h3 { font-size: clamp(16px, 1.9vw, 20px); font-weight: 600; }
.faq__sign { font-family: var(--font-mono); font-size: 20px; color: var(--accent); }
.faq__a { padding: 0 var(--s-8) var(--s-6); max-width: 76ch; font-size: 16px; line-height: 1.6; }
.faq__a[hidden] { display: none; }

.cta { position: relative; background: var(--accent); color: var(--bg); overflow: hidden; }
.cta::before { content: ""; position: absolute; inset: 0; background-image: repeating-linear-gradient(90deg, rgba(10, 11, 13, 0.13) 0 1px, transparent 1px calc(100% / 12)); pointer-events: none; }
.cta__bar { position: relative; display: flex; align-items: center; justify-content: space-between; gap: var(--s-8); flex-wrap: wrap; padding: var(--s-4) 0; border-bottom: 1px solid rgba(10, 11, 13, 0.22); font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(10, 11, 13, 0.62); }
.cta__bar .dot { background: var(--bg); }
.cta__inner { position: relative; display: grid; gap: var(--s-10); padding: var(--s-14) 0 var(--s-10); align-items: end; }
.cta h2 { font-size: clamp(40px, 7vw, 88px); line-height: 1; letter-spacing: -0.04em; color: var(--bg); }
.cta p { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.6; color: rgba(10, 11, 13, 0.72); }
.cta__facts { position: relative; display: grid; grid-template-columns: 1fr; border-top: 1px solid rgba(10, 11, 13, 0.22); padding-bottom: var(--s-14); }
.cta__facts div { padding: var(--s-6) var(--s-6) 0 0; }
.cta__facts dt { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(10, 11, 13, 0.55); }
.cta__facts dd { font-family: var(--font-mono); font-size: 20px; letter-spacing: 0.02em; color: var(--bg); margin-top: 10px; }
.cta .btn--primary { color: var(--accent); background-color: var(--bg); background-image: linear-gradient(115deg, var(--text) 0 50%, rgba(242, 244, 245, 0) 50%); }
.cta .btn--primary:hover { color: var(--bg); }
.cta .btn--ghost { color: var(--bg); border-color: var(--bg); background-image: linear-gradient(115deg, var(--bg) 0 50%, rgba(10, 11, 13, 0) 50%); }
.cta .btn--ghost:hover { color: var(--accent); }

/* Case study ------------------------------------------------------------ */
.case__head { border-bottom: 1px solid var(--line); padding-bottom: var(--s-12); }
.case__grid { display: grid; gap: var(--s-10); align-items: start; }
.case__shot { border: 1px solid var(--line); background: var(--bg-raised); display: block; }
.case__shot .card__shot { aspect-ratio: 16 / 10; }
.case__shot-foot { display: flex; align-items: center; justify-content: space-between; gap: var(--s-6); padding: var(--s-4) var(--s-5); border-top: 1px solid var(--line); }
.case__chapter { border-top: 1px solid var(--line); padding-top: var(--s-8); margin-top: var(--s-6); }
.case__chapter h2 { font-size: clamp(24px, 3vw, 32px); margin-top: var(--s-4); }
.case__chapter p { margin-top: var(--s-4); max-width: 68ch; line-height: 1.6; }
.sheet { border: 1px solid var(--line); background: var(--bg-raised); }
.sheet__head { padding: var(--s-5) var(--s-6); border-bottom: 1px solid var(--line); }
.sheet__block { padding: var(--s-6); border-bottom: 1px solid var(--line); }
.sheet__block h2 { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin-bottom: var(--s-5); font-weight: 400; }
.sheet__facts { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-6); }
.sheet__facts dt { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-dim); }
.sheet__facts dd { font-size: 15px; line-height: 1.35; color: var(--text); margin-top: var(--s-2); }
.swatch { display: flex; align-items: center; gap: var(--s-3); }
.swatch i { width: 32px; height: 32px; border: 1px solid var(--line-strong); flex: none; display: block; }
.swatch code { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; color: var(--text); width: 88px; }
.swatch span { font-size: 13px; color: var(--text-dim); }
.stack-list { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.result-row { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s-4); }
.result-row span { font-size: 14px; color: var(--text-muted); }
.result-row b { font-family: var(--font-mono); font-size: 16px; color: var(--accent); font-weight: 400; white-space: nowrap; }

/* Team, posts ----------------------------------------------------------- */
.member__photo { aspect-ratio: 1 / 1; background: var(--bg-inset); display: flex; align-items: center; justify-content: center; font-family: var(--font-mono); font-size: 24px; letter-spacing: 0.08em; color: var(--text-dim); border-bottom: 1px solid var(--line); }
.member__photo img { width: 100%; height: 100%; object-fit: cover; }
.member__body { padding: var(--s-6); }
.member__body p { font-size: 14px; line-height: 1.45; color: var(--text-muted); margin-top: var(--s-4); }

.post { padding: var(--s-8); transition: background 0.2s ease; }
.post:hover { background: var(--bg-raised); }
.post__meta { display: flex; flex-wrap: wrap; gap: var(--s-4); }
.post h2 { font-size: clamp(20px, 2.4vw, 24px); margin-top: var(--s-5); max-width: 32ch; }
.post p { font-size: 14px; line-height: 1.45; color: var(--text-dim); margin-top: var(--s-4); max-width: 52ch; }

/* 7. Footer ------------------------------------------------------------- */
.site-footer { border-top: 1px solid var(--line); background: var(--bg); overflow: hidden; }
.footer__news { display: grid; gap: var(--s-10); align-items: center; padding: var(--s-14) 0; border-bottom: 1px solid var(--line); }
.footer__news > div { min-width: 0; }
.footer__news h2 { font-size: clamp(28px, 3vw, 40px); }
.footer__news p { font-size: 15px; line-height: 1.6; color: var(--text-dim); margin-top: var(--s-3); }
.footer__form { display: flex; flex-wrap: wrap; align-items: stretch; border: 1px solid var(--line-strong); background: var(--bg-raised); transition: border-color 0.3s ease; }
.footer__form:focus-within { border-color: var(--accent); }
.footer__form input { flex: 1 1 0; min-width: 0; height: 56px; background: transparent; border: none; padding: 0 var(--s-5); color: var(--text); outline: none; }
.footer__form .btn { flex: 1 1 100%; height: 56px; }
.footer__cols { display: grid; gap: var(--s-12); padding: var(--s-16) 0 var(--s-14); }
.footer__brand { min-width: 0; }
.footer__brand img { height: 40px; width: auto; }
.footer__brand p { font-size: 15px; line-height: 1.6; color: var(--text-dim); margin-top: var(--s-5); max-width: 34ch; }
.footer__brand a[href^="mailto"] { display: inline-block; font-family: var(--font-mono); font-size: 14px; letter-spacing: 0.04em; margin-top: var(--s-5); }
.footer__social { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-6); }
.footer__social a { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); border: 1px solid var(--line); padding: 8px 12px; transition: border-color 0.25s ease, color 0.25s ease; }
.footer__social a:hover { border-color: var(--accent); color: var(--accent); }
.footer__links { min-width: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: var(--s-10) var(--s-8); grid-column: 1 / -1; }
.footer__links h2 { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text); padding-bottom: var(--s-4); border-bottom: 1px solid var(--line); font-weight: 400; }
.footer__links ul { list-style: none; display: flex; flex-direction: column; gap: 14px; margin-top: var(--s-5); }
.footer__links a { display: inline-flex; align-items: center; gap: var(--s-2); font-size: 14px; color: var(--text-muted); }
.footer__links a:hover { color: var(--accent); }
.footer__legal { display: flex; align-items: center; justify-content: space-between; gap: var(--s-8); flex-wrap: wrap; padding: var(--s-5) 0; border-top: 1px solid var(--line); }
.footer__legal div { display: flex; align-items: center; gap: var(--s-6); flex-wrap: wrap; }
.footer__legal a { color: var(--text-dim); }
.footer__legal a:hover { color: var(--accent); }
.footer__wordmark { position: relative; max-width: var(--max); margin: 0 auto; padding: var(--s-4) var(--gutter) var(--s-8); user-select: none; }
.footer__wordmark span { display: block; font-family: var(--font-display); font-size: clamp(64px, 12.6vw, 184px); line-height: 0.82; letter-spacing: -0.045em; font-weight: 700; color: #1b2024; white-space: nowrap; }
.footer__wordmark i {
  position: absolute; left: var(--gutter); top: var(--s-4);
  font-family: var(--font-display); font-size: clamp(64px, 12.6vw, 184px); line-height: 0.82;
  letter-spacing: -0.045em; font-weight: 700; font-style: normal; white-space: nowrap;
  color: transparent; -webkit-background-clip: text; background-clip: text; background-repeat: no-repeat;
  filter: drop-shadow(0 0 28px rgba(212, 255, 63, 0.28)); opacity: 0; transition: opacity 0.35s ease; pointer-events: none;
}

/* 8. Forms -------------------------------------------------------------- */
.field { display: block; }
.field > span { display: block; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-dim); margin-bottom: var(--s-2); }
.field input, .field select, .field textarea {
  width: 100%; background: var(--bg-inset); border: 1px solid var(--line);
  padding: 0 var(--s-4); height: 48px; color: var(--text); outline: none; transition: border-color 0.2s ease;
}
.field textarea { height: auto; padding: var(--s-3) var(--s-4); line-height: 1.5; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); }
.form { border: 1px solid var(--line); background: var(--bg-raised); padding: var(--s-8); display: flex; flex-direction: column; gap: var(--s-6); }
.form__row { display: grid; grid-template-columns: 1fr; gap: var(--s-6); }
.chips { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.chip { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; padding: 10px 14px; border: 1px solid var(--line-strong); color: var(--text-muted); transition: border-color 0.2s ease, color 0.2s ease; }
.chip:hover { border-color: var(--accent); }
.chip[aria-pressed="true"] { color: var(--accent); border-color: var(--accent); }
.form__note { font-size: 13px; line-height: 1.5; color: var(--text-dim); }
.contact-list { border: 1px solid var(--line); margin-top: var(--s-16); }
.contact-list div { padding: var(--s-6); border-bottom: 1px solid var(--line); }
.contact-list dd { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.4; color: var(--text); margin-top: var(--s-2); }

/* 9. Utilities ---------------------------------------------------------- */
.stack-sm > * + * { margin-top: var(--s-4); }
.mt-16 { margin-top: var(--s-16); }
.mt-24 { margin-top: var(--s-24); }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* 10. Responsive -------------------------------------------------------- */
@media (min-width: 768px) {
  :root { --gutter: 40px; --pad-section: 96px var(--gutter); --pad-page: 72px var(--gutter) 96px; }
  .grid--2 { grid-template-columns: 1fr 1fr; }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 > .is-wide { grid-column: span 2; }
  .grid--3 > .is-wide .inner { max-width: 46ch; margin: 0 auto; }
  .grid--3 > .card.is-wide { max-width: calc(50% - 12px); margin-inline: auto; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .flow__line { display: block; }
  .flow__step:nth-child(2) .flow__line {
    margin-right: 0;
    background: linear-gradient(to right, var(--accent) 0%, var(--accent) 55%, rgba(212, 255, 63, 0) 100%);
  }
  .grid--5 { grid-template-columns: repeat(6, 1fr); }
  .grid--5 > * { grid-column: span 2; }
  .grid--5 > *:nth-child(4), .grid--5 > *:nth-child(5) { grid-column: span 3; }
  .hero h1 { font-size: 44px; max-width: 17ch; }
  .hero__card { max-width: 420px; }
  .cta__facts { grid-template-columns: repeat(3, 1fr); }
  .form__row { grid-template-columns: 1fr 1fr; }
  .footer__form .btn { flex: 0 0 auto; }
  .footer__cols { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
  .footer__links { grid-column: span 2; }
}

@media (min-width: 1100px) {
  :root { --gutter: 64px; --pad-section: 128px var(--gutter); --pad-page: 96px var(--gutter) 128px; }
  .nav-bar { grid-template-columns: 1fr auto 1fr; }
  .nav-links, .nav-cta { display: flex; }
  .nav-toggle, .nav-panel { display: none; }
  .hero { min-height: 100vh; min-height: 100dvh; padding-top: 96px; }
  .hero h1 { font-size: clamp(44px, 4.2vw, 60px); max-width: none; }
  .hero__inner { grid-template-columns: 2fr 1fr; gap: var(--s-16); padding-top: var(--s-14); }
  .hero__card { max-width: none; }
  .hero__metric { padding: var(--s-6) var(--s-5); }
  .hero__metric b { font-size: 32px; }
  .hero__facts { display: block; }
  .hero__facts-grid { grid-template-columns: repeat(4, 1fr); }
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--3 > .is-wide { grid-column: auto; }
  .grid--3 > .is-wide .inner { max-width: none; }
  .grid--3 > .card.is-wide { max-width: none; margin-inline: 0; }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
  .flow__step:nth-child(2) .flow__line {
    margin-right: calc(var(--s-6) * -1);
    background: var(--accent);
  }
  .grid--5 { grid-template-columns: repeat(5, 1fr); }
  .grid--5 > *, .grid--5 > *:nth-child(4), .grid--5 > *:nth-child(5) { grid-column: auto; }
  .split { display: grid; grid-template-columns: 1fr 2fr; gap: var(--s-16); }
  .cta__inner { grid-template-columns: 1.6fr 1fr; gap: var(--s-16); padding: var(--s-24) 0 var(--s-16); }
  .case__grid { grid-template-columns: 1fr 420px; gap: var(--s-16); }
  .sheet { position: sticky; top: 96px; }
  .contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-16); align-items: start; }
  .footer__news { grid-template-columns: 1.2fr 1fr; gap: var(--s-16); }
}

/* 11. Motion ------------------------------------------------------------ */
@keyframes ff-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes ff-stream { from { transform: translateY(0); } to { transform: translateY(320px); } }
@keyframes ff-blink { 0%, 45% { opacity: 1; } 50%, 100% { opacity: 0.15; } }
@keyframes ff-word { from { transform: translateX(0); } to { transform: translateX(-48px); } }
@keyframes ff-drift { from { transform: translate(0, 0); } to { transform: translate(-110px, 70px); } }
@keyframes ff-sweep { 0% { top: -2%; opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { top: 102%; opacity: 0; } }
@keyframes ff-dot1 {
  0%, 2% { background: var(--line-strong); box-shadow: 0 0 0 0 rgba(212, 255, 63, 0); }
  4% { background: var(--accent); box-shadow: 0 0 0 8px rgba(212, 255, 63, 0.22); }
  7%, 77% { background: var(--accent); box-shadow: 0 0 0 0 rgba(212, 255, 63, 0); }
  79%, 100% { background: var(--line-strong); box-shadow: 0 0 0 0 rgba(212, 255, 63, 0); }
}
@keyframes ff-line1 {
  0%, 5% { transform: scaleX(0); transform-origin: left; }
  17%, 70% { transform: scaleX(1); transform-origin: left; }
  70.5% { transform: scaleX(1); transform-origin: right; }
  76%, 100% { transform: scaleX(0); transform-origin: right; }
}
@keyframes ff-dot2 {
  0%, 18% { background: var(--line-strong); box-shadow: 0 0 0 0 rgba(212, 255, 63, 0); }
  20% { background: var(--accent); box-shadow: 0 0 0 8px rgba(212, 255, 63, 0.22); }
  23%, 83% { background: var(--accent); box-shadow: 0 0 0 0 rgba(212, 255, 63, 0); }
  85%, 100% { background: var(--line-strong); box-shadow: 0 0 0 0 rgba(212, 255, 63, 0); }
}
@keyframes ff-line2 {
  0%, 21% { transform: scaleX(0); transform-origin: left; }
  33%, 76% { transform: scaleX(1); transform-origin: left; }
  76.5% { transform: scaleX(1); transform-origin: right; }
  82%, 100% { transform: scaleX(0); transform-origin: right; }
}
@keyframes ff-dot3 {
  0%, 34% { background: var(--line-strong); box-shadow: 0 0 0 0 rgba(212, 255, 63, 0); }
  36% { background: var(--accent); box-shadow: 0 0 0 8px rgba(212, 255, 63, 0.22); }
  39%, 89% { background: var(--accent); box-shadow: 0 0 0 0 rgba(212, 255, 63, 0); }
  91%, 100% { background: var(--line-strong); box-shadow: 0 0 0 0 rgba(212, 255, 63, 0); }
}
@keyframes ff-line3 {
  0%, 37% { transform: scaleX(0); transform-origin: left; }
  49%, 82% { transform: scaleX(1); transform-origin: left; }
  82.5% { transform: scaleX(1); transform-origin: right; }
  88%, 100% { transform: scaleX(0); transform-origin: right; }
}
@keyframes ff-dot4 {
  0%, 50% { background: var(--line-strong); box-shadow: 0 0 0 0 rgba(212, 255, 63, 0); }
  52% { background: var(--accent); box-shadow: 0 0 0 8px rgba(212, 255, 63, 0.22); }
  55%, 95% { background: var(--accent); box-shadow: 0 0 0 0 rgba(212, 255, 63, 0); }
  97%, 100% { background: var(--line-strong); box-shadow: 0 0 0 0 rgba(212, 255, 63, 0); }
}
@keyframes ff-line4 {
  0%, 53% { transform: scaleX(0); transform-origin: left; }
  65%, 88% { transform: scaleX(1); transform-origin: left; }
  88.5% { transform: scaleX(1); transform-origin: right; }
  94%, 100% { transform: scaleX(0); transform-origin: right; }
}
@keyframes ff-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .flow__dot { background: var(--accent); animation: none; }
  .flow__line { transform: none; opacity: 1; animation: none; }
}

/* ==== Loading screen ================================================== */
@keyframes ff-drawy { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes ff-drawx { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes ff-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes ff-caret { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }

.loader {
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
  background: #0a0b0d;
  transition: opacity .5s ease, visibility .5s ease;
}
.loader.is-done { opacity: 0; visibility: hidden; }
.loader__shutter {
  position: absolute;
  background: #0a0b0d;
  transition: transform .9s cubic-bezier(.76, 0, .24, 1);
}
.loader__shutter--t { left: 0; right: 0; top: 0; height: 50vh; height: 50dvh; border-bottom: 1px solid rgba(212, 255, 63, .28); }
.loader__shutter--b { left: 0; right: 0; bottom: 0; height: 50vh; height: 50dvh; border-top: 1px solid rgba(212, 255, 63, .28); }
.loader__shutter--l { top: 0; bottom: 0; left: 0; width: 50vw; border-right: 1px solid rgba(212, 255, 63, .28); }
.loader__shutter--r { top: 0; bottom: 0; right: 0; width: 50vw; border-left: 1px solid rgba(212, 255, 63, .28); }
.loader.is-open .loader__shutter--t { transform: translateY(-100%); }
.loader.is-open .loader__shutter--b { transform: translateY(100%); }
.loader.is-open .loader__shutter--l { transform: translateX(-100%); }
.loader.is-open .loader__shutter--r { transform: translateX(100%); }

.loader__grid {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background-image: repeating-linear-gradient(to right, #171b1f 0 1px, transparent 1px calc(100% / 12));
  background-size: 100% 100%;
  opacity: 0;
  animation: ff-rise .8s ease .1s forwards;
}
.loader__frame {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(880px, 86vw);
  height: min(480px, 52vh);
  transition: opacity .3s ease;
}
.loader.is-open .loader__frame,
.loader.is-open .loader__grid { opacity: 0; }
.loader__edge { position: absolute; background: #31373c; }
.loader__edge--t { top: 0; left: 0; right: 0; height: 1px; transform-origin: left; animation: ff-drawx .5s cubic-bezier(.65, 0, .35, 1) .15s both; }
.loader__edge--r { top: 0; bottom: 0; right: 0; width: 1px; transform-origin: top; animation: ff-drawy .5s cubic-bezier(.65, 0, .35, 1) .55s both; }
.loader__edge--b { left: 0; right: 0; bottom: 0; height: 1px; background: #23272b; transform-origin: right; animation: ff-drawx .5s cubic-bezier(.65, 0, .35, 1) .95s both; }
.loader__edge--l { top: 0; bottom: 0; left: 0; width: 1px; transform-origin: bottom; animation: ff-drawy .5s cubic-bezier(.65, 0, .35, 1) 1.35s both; }

.loader__center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
}
.loader__logo { height: 72px; width: auto; display: block; animation: ff-rise .9s cubic-bezier(.16, 1, .3, 1) .45s both; }
.loader__tag {
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 13px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: #727b82;
  animation: ff-rise .9s cubic-bezier(.16, 1, .3, 1) .6s both;
}
.loader__track { position: absolute; left: 0; right: 0; bottom: 0; height: 1px; overflow: hidden; }
.loader__bar { height: 1px; width: 0; background: #d4ff3f; }
.loader__count {
  position: absolute;
  right: 0;
  top: 100%;
  margin-top: 28px;
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-family: "Geist Mono", ui-monospace, monospace;
  animation: ff-rise .8s cubic-bezier(.16, 1, .3, 1) .8s both;
}
.loader__count span { font-size: 56px; line-height: 1; color: #f2f4f5; font-variant-numeric: tabular-nums; min-width: 3ch; text-align: right; }
.loader__count i { font-style: normal; font-size: 20px; line-height: 1; color: #d4ff3f; margin-top: 4px; }
.loader__log {
  position: absolute;
  left: 0;
  top: 100%;
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 13px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #727b82;
}
.loader__log b { display: flex; align-items: center; gap: 12px; font-weight: 400; animation: ff-rise .5s cubic-bezier(.16, 1, .3, 1) both; }
.loader__log b::before { content: "\2713"; color: #d4ff3f; }
.loader__caret { width: 9px; height: 15px; background: #d4ff3f; display: block; animation: ff-caret 1s steps(1) infinite; }

@media (max-width: 700px) {
  .loader__count span { font-size: 40px; }
  .loader__log { font-size: 11px; }
  .loader__tag { font-size: 11px; letter-spacing: .2em; }
}
@media (prefers-reduced-motion: reduce) {
  .loader { display: none; }
}

/* ==== The flow — stacked vertical timeline (mobile + tablet) =========== */
@media (max-width: 1099px) {
  .grid--4:has(.flow__step) { grid-template-columns: 1fr; }
  .grid--4:has(.flow__step) { gap: 0; }
  .flow__step {
    display: grid;
    grid-template-columns: 12px 1fr;
    column-gap: 16px;
    padding-bottom: var(--s-6);
  }
  .flow__step > .mono { grid-column: 2; grid-row: 1; margin-bottom: 4px; }
  .flow__step > h3 { grid-column: 2; grid-row: 2; }
  .flow__step > p { grid-column: 2; grid-row: 3; margin-top: 6px; }
  .flow__rule {
    grid-column: 1;
    grid-row: 1 / span 3;
    flex-direction: column;
    align-items: center;
    margin: 5px 0 0;
    height: 100%;
  }
  .flow__line {
    display: block;
    width: 1px;
    height: auto;
    flex: 1;
    margin-right: 0;
    margin-bottom: calc(var(--s-6) * -1);
    transform-origin: top;
  }
  .reveal:not(.is-in) .flow__line { transform: scaleY(0); transform-origin: top; }
  .flow__step:nth-child(1) .flow__line { animation-name: ff-vline1; }
  .flow__step:nth-child(2) .flow__line { animation-name: ff-vline2; }
  .flow__step:nth-child(3) .flow__line { animation-name: ff-vline3; }
  .flow__step:nth-child(4) .flow__line {
    animation-name: ff-vline4;
    margin-bottom: 0;
    background: linear-gradient(to bottom, var(--accent) 0%, var(--accent) 45%, rgba(212, 255, 63, 0) 100%);
  }
}
@keyframes ff-vline1 {
  0%, 5% { transform: scaleY(0); transform-origin: top; }
  17%, 70% { transform: scaleY(1); transform-origin: top; }
  70.5% { transform: scaleY(1); transform-origin: bottom; }
  76%, 100% { transform: scaleY(0); transform-origin: bottom; }
}
@keyframes ff-vline2 {
  0%, 21% { transform: scaleY(0); transform-origin: top; }
  33%, 76% { transform: scaleY(1); transform-origin: top; }
  76.5% { transform: scaleY(1); transform-origin: bottom; }
  82%, 100% { transform: scaleY(0); transform-origin: bottom; }
}
@keyframes ff-vline3 {
  0%, 37% { transform: scaleY(0); transform-origin: top; }
  49%, 82% { transform: scaleY(1); transform-origin: top; }
  82.5% { transform: scaleY(1); transform-origin: bottom; }
  88%, 100% { transform: scaleY(0); transform-origin: bottom; }
}
@keyframes ff-vline4 {
  0%, 53% { transform: scaleY(0); transform-origin: top; }
  65%, 88% { transform: scaleY(1); transform-origin: top; }
  88.5% { transform: scaleY(1); transform-origin: bottom; }
  94%, 100% { transform: scaleY(0); transform-origin: bottom; }
}
