/* ==========================================================================
   netzworks — landing page
   ========================================================================== */

:root {
  --black: #000;
  --ink: #0b0b0c;
  --text: #1d1d1f;
  --muted: #6e6e73;
  --muted-dark: #a1a1a6;
  --line: rgba(0, 0, 0, 0.08);
  --line-dark: rgba(255, 255, 255, 0.12);
  --bg: #fff;
  --bg-soft: #f5f5f7;

  --accent: #4f6bff;
  --accent-2: #2fd5c4;
  --grad: linear-gradient(100deg, #8a9bff 0%, #4f6bff 40%, #2fd5c4 100%);

  --font: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", system-ui, sans-serif;
  --font-mark: "Sora", var(--font);

  --wrap: 1120px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 28px;
  --nav-h: 52px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.5;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, canvas { display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }

::selection { background: var(--accent); color: #fff; }

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

.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: #fff;
  color: var(--text);
  border-radius: 10px;
}
.skip:focus { top: 12px; }

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ───────── Type ───────── */


.h2 {
  font-size: clamp(40px, 6.4vw, 80px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.035em;
}

/* ───────── Buttons & links ───────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  padding: 0 24px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 500;
  background: var(--text);
  color: #fff;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease), opacity 0.3s;
  white-space: nowrap;
}
.btn:hover { transform: scale(1.03); }
.btn:active { transform: scale(0.98); }
.btn--light { background: #fff; color: var(--ink); }
.btn--sm { height: 32px; padding: 0 16px; font-size: 14px; }
.btn--lg { height: 54px; padding: 0 30px; font-size: 17px; }

.link {
  display: inline;
  font-size: 17px;
  font-weight: 500;
  color: var(--accent);
}
.link::after {
  content: "";
  display: inline-block;
  vertical-align: 0.12em;
  width: 7px;
  height: 7px;
  border-top: 1.75px solid currentColor;
  border-right: 1.75px solid currentColor;
  transform: rotate(45deg);
  margin-left: 4px;
  transition: transform 0.3s var(--ease);
}
.link:hover::after { transform: translateX(3px) rotate(45deg); }
.link--light { color: #fff; }
.link--light:hover { color: var(--accent-2); }

/* ───────── Wordmark ───────── */

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: currentColor;
}
.wordmark__logo {
  height: 20px;
  width: auto;
  overflow: visible;
}
.wordmark--sm .wordmark__logo { height: 16px; }

/* ───────── Nav ───────── */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  color: #f5f5f7;
  transition: background 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s;
  border-bottom: 1px solid transparent;
}
.nav::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(0, 0, 0, 0.6);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  opacity: 0;
  transition: opacity 0.4s var(--ease), background 0.4s var(--ease);
}
.nav.is-scrolled::before { opacity: 1; }
.nav.is-light { color: var(--text); border-bottom-color: var(--line); }
.nav.is-light::before { background: rgba(255, 255, 255, 0.72); }
.nav.is-light .btn { background: var(--text); color: #fff; }
.nav .btn { background: #fff; color: var(--ink); }

.nav__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: var(--nav-h);
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.nav__inner .wordmark { margin-right: auto; }

.nav__links {
  display: flex;
  gap: 28px;
  font-size: 13px;
  letter-spacing: 0.01em;
}
.nav__links a {
  opacity: 0.8;
  transition: opacity 0.2s;
}
.nav__links a:hover { opacity: 1; }

.nav__toggle {
  display: none;
  position: relative;
  width: 36px;
  height: 36px;
  margin-right: -8px;
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
}
.nav__toggle span {
  position: absolute;
  left: 10px;
  width: 16px;
  height: 1.5px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.35s var(--ease), top 0.35s var(--ease);
}
.nav__toggle span:first-child { top: 14px; }
.nav__toggle span:last-child { top: 21px; }
.nav.is-open .nav__toggle span:first-child { top: 17.5px; transform: rotate(45deg); }
.nav.is-open .nav__toggle span:last-child { top: 17.5px; transform: rotate(-45deg); }

.nav__menu {
  display: none;
}

@media (max-width: 760px) {
  .nav__links,
  .nav__inner > .btn { display: none; }
  .nav__toggle { display: block; }

  .nav__menu {
    display: flex;
    flex-direction: column;
    padding: 8px var(--gutter) 28px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.5s var(--ease), opacity 0.3s var(--ease);
  }
  .nav__menu a {
    font-size: 26px;
    font-weight: 600;
    letter-spacing: -0.02em;
    padding: 8px 0;
  }
  .nav.is-open::before { opacity: 1; }
  .nav.is-open .nav__menu { max-height: 480px; opacity: 1; }
}

/* ───────── Hero ───────── */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--black);
  color: #f5f5f7;
  text-align: center;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(0, 0, 0, 0.75), transparent 75%);
  pointer-events: none;
  z-index: -1;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 30%;
  background: linear-gradient(to bottom, transparent, var(--black));
  pointer-events: none;
  z-index: -1;
}
.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  opacity: 0;
  transition: opacity 2s var(--ease);
}
.hero__canvas.is-ready { opacity: 1; }

.hero__content {
  padding: calc(var(--nav-h) + 40px) var(--gutter) 80px;
  max-width: 1240px;
}

.hero__title {
  font-size: clamp(42px, 8.2vw, 104px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.045em;
}
.hero__title .line { display: block; }


.hero__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px 28px;
  margin-top: 48px;
}

/* intro choreography */
.hero__title .line,
.hero__cta {
  opacity: 0;
  transform: translateY(24px);
  filter: blur(8px);
  animation: rise 1.2s var(--ease) forwards;
  animation-delay: calc(0.15s + var(--d) * 0.14s);
}
@keyframes rise {
  to { opacity: 1; transform: none; filter: blur(0); }
}

.hero__scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  width: 24px;
  height: 38px;
  margin-left: -12px;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  border-radius: 14px;
  opacity: 0;
  animation: fade 1s 1.4s forwards;
}
.hero__scroll span {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 3px;
  height: 7px;
  margin-left: -1.5px;
  border-radius: 2px;
  background: #fff;
  animation: wheel 2s var(--ease) infinite;
}
@keyframes fade { to { opacity: 1; } }
@keyframes wheel {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(12px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ───────── Sections ───────── */

.section {
  padding: clamp(96px, 14vw, 180px) 0;
}
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--black); color: #f5f5f7; }

.section__head {
  max-width: 820px;
  margin-bottom: clamp(48px, 7vw, 88px);
}

/* reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1.1s var(--ease), transform 1.1s var(--ease);
  transition-delay: var(--stagger, 0s);
}
.reveal.is-in { opacity: 1; transform: none; }

/* ───────── Shared SVG motion ───────── */

/* a stroke that draws itself when its .reveal parent scrolls in */
.draw {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 2.4s var(--ease) 0.3s;
}
.is-in .draw,
.is-in.draw { stroke-dashoffset: 0; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse-ring {
  0% { transform: scale(0.6); opacity: 0.8; }
  100% { transform: scale(1.6); opacity: 0; }
}
@keyframes breathe {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.12); }
}

/* ───────── Pillars ───────── */

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.pillar {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 32px 34px;
  border-radius: var(--radius);
  background: var(--bg-soft);
  overflow: hidden;
  transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease), opacity 1.1s var(--ease);
}
.pillar:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.25);
}
.pillar__art {
  width: calc(100% + 24px);
  height: auto;
  margin: 0 -12px 28px;
  overflow: visible;
}
.pillar__title {
  font-size: clamp(36px, 3.6vw, 48px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}
.pillar__meta {
  margin-top: 12px;
  font-size: 14px;
  color: var(--muted);
}
.pillar--accent {
  background: var(--black);
  color: #f5f5f7;
}
.pillar--accent .pillar__title {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.pillar--accent .pillar__meta { color: var(--muted-dark); }

/* Advise */
.art-advise pattern circle { fill: rgba(0, 0, 0, 0.12); }
.art-advise .ghost { fill: none; stroke: rgba(0, 0, 0, 0.12); stroke-width: 2; stroke-dasharray: 3 6; }
.art-advise .draw { fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round; }
.art-advise .wp { fill: #fff; stroke: var(--accent); stroke-width: 2.5; }
.art-advise .target { fill: var(--accent-2); }
.art-advise .target-ring {
  fill: none;
  stroke: var(--accent-2);
  stroke-width: 2;
  transform-box: fill-box;
  transform-origin: center;
  animation: pulse-ring 2.2s var(--ease) infinite;
}

/* Build */
.art-build .block { fill: #fff; stroke: var(--line); }
.art-build .block--core { fill: var(--text); stroke: none; }
.art-build .wire { stroke: rgba(0, 0, 0, 0.15); stroke-width: 2; stroke-dasharray: 3 4; }
.art-build .spark { fill: var(--accent); }
.art-build .icon { fill: var(--accent); }
.art-build .icon--stroke { fill: none; stroke: var(--accent-2); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.art-build .core-dot { fill: var(--accent-2); }
.art-build .core-ring {
  fill: none;
  stroke: rgba(255, 255, 255, 0.5);
  stroke-width: 2;
  stroke-dasharray: 20 8;
  transform-box: fill-box;
  transform-origin: center;
  animation: spin 4s linear infinite;
}

/* Innovate */
.art-orbit .ring { fill: none; stroke: rgba(255, 255, 255, 0.14); }
.art-orbit .glow {
  fill: rgba(79, 107, 255, 0.25);
  filter: blur(10px);
  transform-box: fill-box;
  transform-origin: center;
  animation: breathe 4s ease-in-out infinite;
}
.art-orbit .planet--a { fill: var(--accent-2); }
.art-orbit .planet--b { fill: #8a9bff; }
.art-orbit .planet--c { fill: #fff; }

@media (max-width: 900px) {
  .pillars { grid-template-columns: 1fr; }
}

/* ───────── Statement ───────── */

.statement {
  padding: clamp(80px, 16vw, 200px) 0;
}
.statement__text {
  max-width: 980px;
  font-size: clamp(44px, 8vw, 112px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.045em;
}
.statement__text .w {
  color: #d2d2d7;
  transition: color 0.4s var(--ease);
}
.statement__text .w.is-lit { color: var(--text); }
.statement__text .w.is-accent.is-lit {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ───────── Features (Work) ───────── */

.feature {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  align-items: center;
  gap: 40px;
  min-height: 600px;
  padding: clamp(36px, 5vw, 64px);
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
}
.feature + .feature { margin-top: 20px; }
.feature--dark { background: var(--black); color: #f5f5f7; }
.feature--light { background: #fff; }

.feature__kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
}
.feature--dark .feature__kicker { color: var(--muted-dark); }
.feature__title {
  margin: 14px 0 20px;
  font-size: clamp(44px, 5.6vw, 72px);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1;
}
.feature__text {
  font-size: clamp(18px, 1.8vw, 21px);
  color: var(--muted);
  letter-spacing: -0.01em;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}
.dot--live {
  background: var(--accent-2);
  animation: ping 2.4s infinite;
}
@keyframes ping {
  0% { box-shadow: 0 0 0 0 rgba(47, 213, 196, 0.55); }
  80%, 100% { box-shadow: 0 0 0 10px rgba(47, 213, 196, 0); }
}

.feature__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* SteadyFeed: app window with a calm, endless feed */
.sf { padding: 24px 0 24px 24px; }
.app {
  width: 100%;
  max-width: 560px;
  border-radius: 18px;
  background: #111114;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 40px 80px -30px rgba(79, 107, 255, 0.35);
  overflow: hidden;
}
.app__bar {
  display: flex;
  gap: 6px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.app__bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
}
.app__body {
  display: grid;
  grid-template-columns: 56px 1fr;
  height: 380px;
}
.app__side {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding-top: 18px;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
}
.app__side i {
  width: 22px;
  height: 22px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.08);
}
.app__side i.on { background: var(--grad); }

.feed {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 15%, #000 85%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 15%, #000 85%, transparent);
}
.feed__col {
  position: absolute;
  inset: 0 18px auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0 0 12px; /* = gap, so translateY(-50%) loops seamlessly */
  animation: feed 22s linear infinite;
}
.feed__card {
  display: grid;
  grid-template-columns: 40px 1fr;
  column-gap: 14px;
  row-gap: 8px;
  align-items: center;
  padding: 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.feed__card i {
  grid-row: span 2;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: var(--grad);
}
.feed__card:nth-child(3n + 2) i { background: linear-gradient(135deg, #2fd5c4, #1a9f92); }
.feed__card:nth-child(3n) i { background: linear-gradient(135deg, #3a3a3f, #222); }
.feed__card b {
  height: 8px;
  width: 80%;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.22);
}
.feed__card b.s { width: 50%; background: rgba(255, 255, 255, 0.1); }
.feed__card:nth-child(even) b { width: 62%; }
@keyframes feed { to { transform: translateY(-50%); } }

.chip-card {
  position: absolute;
  right: -12px;
  top: 0;
  width: 200px;
  padding: 16px 18px 12px;
  border-radius: 16px;
  background: rgba(30, 30, 36, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.6);
  animation: bob 6s ease-in-out infinite;
}
.chip-card svg { width: 100%; height: auto; overflow: visible; }
.chip-card .area { fill: url(#area); }
.chip-card .line { fill: none; stroke: var(--accent-2); stroke-width: 2.5; stroke-linecap: round; }
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* NetzOS diagram */
.os {
  width: 100%;
  max-width: 520px;
  height: auto;
  overflow: visible;
}
.os__links path {
  stroke: var(--accent);
  stroke-width: 1.5;
  stroke-dasharray: 4 6;
  fill: none;
  opacity: 0.45;
}
.os__links path.faint { opacity: 0.15; }
.os__pulses circle { fill: var(--accent); }
.os__node rect { fill: var(--bg-soft); stroke: var(--line); }
.os__sat { fill: var(--accent-2); }
.os__node text,
.os__core text {
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  text-anchor: middle;
  fill: var(--text);
  letter-spacing: -0.01em;
}
.os__core circle { fill: var(--text); }
.os__core circle.halo {
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.5;
  transform-origin: 200px 160px;
  animation: pulse-ring 3.2s var(--ease) infinite;
}
.os__core text { fill: #fff; font-family: var(--font-mark); font-size: 13px; }

@media (max-width: 900px) {
  .feature {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .sf { padding: 24px 0 0; }
  .app__body { height: 300px; }
  .chip-card { right: -8px; top: -4px; width: 150px; padding: 12px; }
}

/* ───────── Labs ───────── */

.labs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.lab {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  padding: 28px 28px 30px;
  border-radius: var(--radius);
  background: #0c0c0f;
  border: 1px solid var(--line-dark);
  transition: border-color 0.5s var(--ease), opacity 1.1s var(--ease), transform 1.1s var(--ease);
}
.lab:hover { border-color: rgba(79, 107, 255, 0.5); }
.lab__art {
  grid-column: 1 / -1;
  width: 100%;
  max-width: 240px;
  height: auto;
  margin: 8px auto 28px;
  overflow: visible;
}
.lab__title {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.lab__status {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  color: var(--accent-2);
  background: rgba(47, 213, 196, 0.1);
}

/* NetzOS rings */
.art-rings .r {
  fill: none;
  stroke-width: 2;
  transform-origin: 100px 100px;
}
.art-rings .r1 { stroke: rgba(255, 255, 255, 0.18); stroke-dasharray: 2 10; animation: spin 40s linear infinite; }
.art-rings .r2 { stroke: #4f6bff; stroke-dasharray: 90 40 20 40; animation: spin 14s linear infinite reverse; }
.art-rings .r3 { stroke: #2fd5c4; stroke-dasharray: 50 30; animation: spin 8s linear infinite; }
.art-rings .core { fill: #fff; transform-origin: 100px 100px; animation: breathe 3s ease-in-out infinite; }

/* Hermes */
.art-hermes .arc { fill: none; stroke: rgba(255, 255, 255, 0.16); stroke-width: 1.5; stroke-dasharray: 3 5; }
.art-hermes .node { fill: #4f6bff; }
.art-hermes .node--b { fill: #2fd5c4; }
.art-hermes .msg { fill: #fff; }
.art-hermes .msg--b { fill: #2fd5c4; }

/* Experiments: generated dot field */
.art-dots circle {
  fill: rgba(255, 255, 255, 0.5);
  transform-box: fill-box;
  transform-origin: center;
  animation: wave 3s ease-in-out infinite;
}
.art-dots circle.hot { fill: var(--accent-2); }
@keyframes wave {
  0%, 100% { transform: scale(0.5); opacity: 0.35; }
  50% { transform: scale(1.4); opacity: 1; }
}

@media (max-width: 900px) {
  .labs { grid-template-columns: 1fr; }
}

/* ───────── About ───────── */

.about {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 48px;
  align-items: center;
}
.about__title { font-size: clamp(34px, 4.8vw, 60px); }
.about__text {
  margin-top: 24px;
  max-width: 420px;
  font-size: clamp(19px, 2vw, 22px);
  line-height: 1.45;
  color: var(--muted);
  letter-spacing: -0.01em;
}

.flywheel {
  width: 100%;
  max-width: 460px;
  justify-self: center;
  height: auto;
  overflow: visible;
}
.fw-track { fill: none; stroke: var(--bg-soft); stroke-width: 14; }
.fw-arc {
  fill: none;
  stroke: url(#fw);
  stroke-width: 3;
  stroke-linecap: round;
  transform: rotate(-90deg);
  transform-origin: 180px 180px;
}
.fw-runner { fill: var(--accent); }
.fw-node circle { fill: #fff; stroke: var(--line); stroke-width: 1.5; }
.fw-node text {
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  text-anchor: middle;
  fill: var(--text);
}
.fw-node--accent circle { fill: var(--black); stroke: none; }
.fw-node--accent text { fill: #fff; }
.fw-mark path { fill: none; stroke: url(#nz-flow); stroke-width: 9; stroke-linecap: round; }
.fw-mark circle { fill: var(--accent-2); }

@media (max-width: 900px) {
  .about { grid-template-columns: 1fr; }
}


/* ───────── Contact ───────── */

.contact {
  position: relative;
  padding: clamp(120px, 18vw, 220px) 0;
  background: var(--black);
  color: #f5f5f7;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}
.contact__glow {
  position: absolute;
  left: 50%;
  bottom: -60%;
  width: min(1200px, 160vw);
  aspect-ratio: 1;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(79, 107, 255, 0.35), rgba(47, 213, 196, 0.12) 50%, transparent 72%);
  z-index: -1;
  pointer-events: none;
}
.contact__title {
  font-size: clamp(40px, 7vw, 88px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.045em;
}
.contact__cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 16px 28px;
  margin-top: 44px;
}

/* ───────── Footer ───────── */

.footer {
  padding: 40px 0 48px;
  background: var(--bg-soft);
  color: var(--muted);
  font-size: 13px;
}
.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 32px;
}
.footer .wordmark { color: var(--text); margin-right: auto; }
.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}
.footer__links a:hover { color: var(--text); }
@media (max-width: 760px) {
  .footer__inner { flex-direction: column; align-items: flex-start; }
}

/* ───────── Reduced motion ───────── */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0s !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .draw { stroke-dashoffset: 0; }
}
