:root {
  --ink: #07090d;
  --ink-elevated: #121820;
  --mist: #e6eef4;
  --mist-dim: #9eb0bc;
  --accent: #2ec4ff;
  --accent-soft: #7ad8ff;
  --accent-warm: #c9a36a;
  --line: rgba(215, 224, 230, 0.14);
  --font-display: "Syne", "Segoe UI", sans-serif;
  --font-body: "Figtree", "Segoe UI", sans-serif;
  --max: 1120px;
  /* Hero frame grows with the window up to this cap, then stays centered. */
  --hero-max: 100rem;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  /* Rail frame geometry: 45deg chamfer size, rail thickness, inner-rail inset. */
  --chamfer: clamp(1rem, 4vw, 4.5rem);
  --rail-w: 2px;
  --rail-gap: clamp(0.75rem, 2.5vw, 2.5rem);
  --rail-glow: linear-gradient(
    135deg,
    rgba(46, 196, 255, 0.95) 0%,
    rgba(122, 216, 255, 0.55) 55%,
    rgba(201, 163, 106, 0.75) 100%
  );
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --brand-mark-size: clamp(6rem, 11vw, 11rem);
}

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

html {
  scroll-behavior: smooth;
  /* clip (not hidden) avoids forcing overflow-y:auto, which can clip glyph ink */
  overflow-x: clip;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--mist);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  background: var(--ink);
  overflow: visible;
  /* Containing block for .circuit-bg, so it spans the full page height. */
  position: relative;
}

a {
  color: var(--accent-soft);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--mist);
}

.atmosphere {
  position: fixed;
  inset: -20% -10%;
  z-index: -2;
  background:
    radial-gradient(ellipse 70% 55% at 18% 18%, rgba(46, 196, 255, 0.22), transparent 58%),
    radial-gradient(ellipse 55% 45% at 82% 12%, rgba(201, 163, 106, 0.12), transparent 52%),
    radial-gradient(ellipse 60% 50% at 70% 78%, rgba(18, 24, 32, 0.95), transparent 60%),
    linear-gradient(165deg, #05070a 0%, #0d131a 42%, #07090d 100%);
  animation: atmosphere-drift 28s var(--ease) infinite alternate;
}

.grain {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.12;
  /* No mix-blend-mode: soft-light — it can visually flatten glyph edges. */
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
}

/* Circuit traces radiating from the hero logo (generated by circuit-bg.js).
   Spans the whole page and scrolls with it; above the atmosphere, below the
   grain (which follows it in the DOM) and all content. */
.circuit-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.circuit-bg svg {
  display: block;
}

.circuit-base {
  stroke-width: 1;
  stroke-linejoin: round;
}

/* Brighter copy of the net, masked to a soft circle around the cursor. */
.circuit-spot {
  stroke: rgba(122, 216, 255, 0.35);
  color: rgba(122, 216, 255, 0.35);
  stroke-width: 1;
  opacity: 0;
  transition: opacity 400ms var(--ease);
}

.circuit-bg.is-lit .circuit-spot {
  opacity: 1;
}

/* Occasional light pulses travelling outward from the logo. With
   pathLength=1, the 0.035 dash starts just before the path and runs off its
   end in the first ~35% of each cycle, then waits for the next lap. */
.circuit-pulse {
  fill: none;
  stroke: rgba(122, 216, 255, 0.45);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-dasharray: 0.035 1;
  stroke-dashoffset: 0.035;
  animation: circuit-pulse var(--dur, 12s) linear var(--delay, 4s) infinite both;
}

@keyframes circuit-pulse {
  0% {
    stroke-dashoffset: 0.035;
  }
  35%,
  100% {
    stroke-dashoffset: -1.05;
  }
}

/* One-time outward reveal from the logo; the script drops the class after. */
@property --reveal {
  syntax: "<length>";
  inherits: false;
  initial-value: 0px;
}

.circuit-bg svg.is-revealing {
  -webkit-mask-image: radial-gradient(
    circle at var(--ox) var(--oy),
    #000 var(--reveal),
    transparent calc(var(--reveal) + 120px)
  );
  mask-image: radial-gradient(
    circle at var(--ox) var(--oy),
    #000 var(--reveal),
    transparent calc(var(--reveal) + 120px)
  );
  /* Gentler than --ease (which front-loads) so the outward growth reads. */
  animation: circuit-reveal 3s cubic-bezier(0.45, 0.05, 0.3, 1) forwards;
}

@keyframes circuit-reveal {
  from {
    --reveal: 0px;
  }
  to {
    --reveal: var(--reveal-to);
  }
}

@media (prefers-contrast: more) {
  .circuit-bg { display: none; }
}

@media print {
  .circuit-bg { display: none; }
}

@keyframes atmosphere-drift {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(2.5%, -1.5%, 0) scale(1.04);
  }
}

.site-header {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.25rem var(--gutter) 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
}

/* Primary nav, shared by every page; the current page carries aria-current. */
.site-nav {
  display: flex;
  gap: clamp(0.25rem, 2vw, 1rem);
}

.site-nav a {
  padding: 0.35rem 0.6rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--mist-dim);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 200ms var(--ease), border-color 200ms var(--ease);
}

.site-nav a:hover {
  color: var(--mist);
}

.site-nav a[aria-current="page"] {
  color: var(--mist);
  border-bottom-color: var(--accent);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  /* Figtree, not Syne: Syne's g has a flat-cut tail that reads as clipped. */
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  color: var(--mist-dim);
  text-decoration: none;
}

.wordmark-mark {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.hero {
  margin: 0;
  padding: clamp(2rem, 5vw, 4.5rem) var(--gutter) clamp(3rem, 7vw, 6rem);
  display: grid;
  place-items: center;
  position: relative;
  overflow: visible;
}

/* The frame is sized by its content (plus fluid padding), and the rails are
   drawn on its edges, so they always enclose the copy at any window size. */
.hero-frame {
  position: relative;
  isolation: isolate;
  width: min(100%, var(--hero-max));
  padding: clamp(1.75rem, 6vw, 6rem);
}

/* Reusable shorter frame for inner-page headers. Rails, node paths and
   ticks all read --chamfer / --rail-gap, so they adapt automatically. */
.hero-frame--compact {
  --chamfer: clamp(0.9rem, 2.5vw, 2.75rem);
  --rail-gap: clamp(0.6rem, 1.6vw, 1.6rem);
  width: min(100%, var(--max));
  padding: clamp(1.75rem, 4.5vw, 4rem);
}

.page-hero {
  padding-bottom: clamp(2rem, 5vw, 4rem);
}

/* Figtree, not Syne: the title contains "g" (see .brand). */
.page-title {
  margin: 0 0 0.5rem;
  padding-bottom: 0.08em;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: clamp(2rem, 4.5vw, 3.75rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  animation: rise 900ms var(--ease) both;
}

.hero-copy {
  position: relative;
  z-index: 2;
  /* Shrink to the content so it sits centered inside the frame. */
  width: fit-content;
  max-width: clamp(20rem, 62vw, 58rem);
  margin: 0 auto;
  overflow: visible;
}

.hero-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(0.75rem, 1.5vw, 1.25rem);
  margin: 0 0 clamp(0.5rem, 1vw, 1rem);
  overflow: visible;
  position: relative;
  z-index: 2;
  animation: rise 900ms var(--ease) both;
}

.brand-mark {
  width: var(--brand-mark-size);
  height: var(--brand-mark-size);
  border-radius: 50%;
  object-fit: cover;
  display: block;
  box-shadow:
    0 0 0 1px rgba(46, 196, 255, 0.28),
    0 18px 60px rgba(0, 0, 0, 0.45);
}

.brand {
  display: block;
  max-width: 100%;
  margin: 0;
  /* Figtree, not Syne: Syne's g has a flat-cut tail that reads as clipped.
     Small bottom padding + visible overflow keep descenders intact. */
  padding: 0.04em 0.04em 0.12em;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: clamp(2rem, 5.5vw, 5.5rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--mist);
  overflow: visible;
  position: relative;
  z-index: 3;
}

.headline,
.tagline {
  display: block;
  max-width: 100%;
  margin: 0 0 clamp(0.75rem, 1.5vw, 1.25rem);
  /* Padding-bottom clears full g bowls below the baseline. */
  padding: 0.08em 0.04em 0.15em;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: clamp(1.15rem, 2.2vw, 2rem);
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--accent-soft);
  overflow: visible;
  text-overflow: clip;
  -webkit-line-clamp: unset;
  position: relative;
  z-index: 3;
  animation: rise 900ms var(--ease) 120ms both;
}

.lede {
  margin: 0 0 clamp(1.25rem, 2.5vw, 2rem);
  max-width: 34em;
  padding: 0.15em 0 0.2em;
  font-size: clamp(1rem, 1.3vw, 1.3rem);
  line-height: 1.65;
  color: var(--mist-dim);
  overflow: visible;
  animation: rise 900ms var(--ease) 220ms both;
}

.cta-row {
  margin: 0;
  animation: rise 900ms var(--ease) 320ms both;
}

.cta {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1rem, 1.1vw, 1.15rem);
  letter-spacing: 0.01em;
  color: var(--ink);
  background: var(--accent);
  padding: 0.85em 1.35em;
  text-decoration: none;
  position: relative;
  transition: transform 200ms var(--ease), background-color 200ms var(--ease);
}

.cta::after {
  content: "";
  position: absolute;
  left: 1.35rem;
  right: 1.35rem;
  bottom: 0.55rem;
  height: 1px;
  background: rgba(12, 18, 24, 0.35);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 280ms var(--ease);
}

.cta:hover {
  color: var(--ink);
  background: var(--accent-soft);
  transform: translateY(-2px);
}

.cta:hover::after {
  transform: scaleX(1);
}

/* Decorative rail frame drawn on the edges of .hero-frame.
   Shape: rectangle with 45deg chamfers at top-right and bottom-left. */
.hero-visual {
  /* Motion paths for the gold nodes: the centerlines of the two rails.
     Percentages resolve against this box, so they track the frame size.
     Outer runs clockwise; inner is listed in reverse (counter-clockwise). */
  --path-outer: polygon(
    1px 1px,
    calc(100% - var(--chamfer)) 1px,
    calc(100% - 1px) var(--chamfer),
    calc(100% - 1px) calc(100% - 1px),
    var(--chamfer) calc(100% - 1px),
    1px calc(100% - var(--chamfer))
  );
  --path-inner: polygon(
    var(--rail-gap) var(--rail-gap),
    var(--rail-gap) calc(100% - var(--rail-gap) - var(--chamfer) * 0.7),
    calc(var(--rail-gap) + var(--chamfer) * 0.7) calc(100% - var(--rail-gap)),
    calc(100% - var(--rail-gap)) calc(100% - var(--rail-gap)),
    calc(100% - var(--rail-gap)) calc(var(--rail-gap) + var(--chamfer) * 0.7),
    calc(100% - var(--rail-gap) - var(--chamfer) * 0.7) var(--rail-gap)
  );
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  filter: drop-shadow(0 0 14px rgba(46, 196, 255, 0.18));
  animation: rise 1100ms var(--ease) 180ms both;
}

/* Translucent panel behind the copy, same outline as the outer rail. */
.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(21, 32, 41, 0.55) 0%, rgba(12, 18, 24, 0.3) 100%);
  clip-path: polygon(
    0 0,
    calc(100% - var(--chamfer)) 0,
    100% var(--chamfer),
    100% 100%,
    var(--chamfer) 100%,
    0 calc(100% - var(--chamfer))
  );
}

/* A rail is a chamfered ring: the outer outline, then the same outline
   offset inward by --w, cut out with evenodd. --k is the extra offset a
   45deg edge needs (w * (sqrt(2) - 1)) so the ring keeps an even width. */
.rail {
  --c: var(--chamfer);
  --w: var(--rail-w);
  --k: calc(var(--w) * 0.4142);
  position: absolute;
  inset: 0;
  clip-path: polygon(
    evenodd,
    0 0,
    calc(100% - var(--c)) 0,
    100% var(--c),
    100% 100%,
    var(--c) 100%,
    0 calc(100% - var(--c)),
    0 0,
    var(--w) var(--w),
    var(--w) calc(100% - var(--c) - var(--k)),
    calc(var(--c) + var(--k)) calc(100% - var(--w)),
    calc(100% - var(--w)) calc(100% - var(--w)),
    calc(100% - var(--w)) calc(var(--c) + var(--k)),
    calc(100% - var(--c) - var(--k)) var(--w),
    var(--w) var(--w)
  );
  animation: rail-in 1600ms var(--ease) both;
}

.rail-outer {
  background: var(--rail-glow);
  animation-delay: 300ms;
}

.rail-inner {
  --c: calc(var(--chamfer) * 0.7);
  --w: 1px;
  inset: var(--rail-gap);
  background: var(--accent-soft);
  opacity: 0.4;
  animation-delay: 600ms;
}

/* --glow (0..1) is set per node by hero-rails.js from cursor proximity.
   --grow scales how much the node enlarges with glow (0 under reduced motion).
   Growth uses width, not the `scale` property: `scale` is applied on top of
   offset-path and would also scale the node's position along the rail.
   --base is the positioning transform (centering in the static fallback). */
.node {
  --glow: 0;
  --grow: 1;
  --base: translate(-50%, -50%);
  position: absolute;
  width: calc(clamp(6px, 0.55vw, 10px) * (1 + 0.6 * var(--glow) * var(--grow)));
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--accent-warm);
  background: color-mix(in srgb, var(--accent-warm), #fff calc(var(--glow) * 45%));
  box-shadow: 0 0 calc(8px + 22px * var(--glow)) calc(1px + 6px * var(--glow))
    rgba(201, 163, 106, calc(0.45 + 0.55 * var(--glow)));
  transform: var(--base);
  animation: node-in 600ms var(--ease) backwards;
}

/* Static fallback positions (browsers without polygon offset-path):
   top outer, right outer, bottom inner, left outer. */
.node-1 {
  top: 0;
  left: 24%;
  animation-delay: 1.2s;
}
.node-2 {
  top: 46%;
  left: 100%;
  animation-delay: 1.35s;
}
.node-3 {
  top: calc(100% - var(--rail-gap));
  left: 62%;
  animation-delay: 1.5s;
}
.node-4 {
  top: 38%;
  left: 0;
  animation-delay: 1.65s;
}

/* Nodes travel the rails: 1-2 on the outer rail (clockwise), 3-4 on the
   inner rail (counter-clockwise), each at its own slow lap time. Negative
   travel delays spread them around the loop from the first frame. */
@supports (offset-path: polygon(0 0, 100% 0, 100% 100%)) {
  .node {
    /* offset-anchor centers the node on the path, so no translate needed. */
    --base: translate(0, 0);
    top: 0;
    left: 0;
    offset-path: var(--path-outer);
    offset-anchor: center;
    offset-rotate: 0deg;
    animation-name: travel, node-in;
    animation-timing-function: linear, var(--ease);
    animation-iteration-count: infinite, 1;
    animation-fill-mode: none, backwards;
  }

  .node-3,
  .node-4 {
    offset-path: var(--path-inner);
  }

  .node-1 {
    animation-duration: 24s, 600ms;
    animation-delay: -3s, 1.2s;
  }
  .node-2 {
    animation-duration: 30s, 600ms;
    animation-delay: -18s, 1.35s;
  }
  .node-3 {
    animation-duration: 21s, 600ms;
    animation-delay: -6s, 1.5s;
  }
  .node-4 {
    animation-duration: 27s, 600ms;
    animation-delay: -19s, 1.65s;
  }

  /* The inner rail is hidden on small phones; keep its nodes on the outer rail. */
  @media (max-width: 480px) {
    .node-3,
    .node-4 {
      offset-path: var(--path-outer);
    }
  }
}

/* Measurement ticks between the inner and outer rail along the bottom. */
.ticks {
  position: absolute;
  left: calc(var(--chamfer) + 6%);
  right: 8%;
  bottom: calc(var(--rail-gap) / 2);
  height: 0.7rem;
  transform: translateY(50%);
  background:
    linear-gradient(rgba(154, 175, 184, 0.35), rgba(154, 175, 184, 0.35)) center / 100% 1px no-repeat,
    repeating-linear-gradient(90deg, rgba(154, 175, 184, 0.35) 0 1px, transparent 1px 16.666%);
  animation: rise 900ms var(--ease) 1s both;
}

@keyframes rail-in {
  from {
    opacity: 0;
    transform: scale(0.985);
  }
  to {
    transform: scale(1);
  }
}

/* `transform` is applied after the offset-path position, so scaling here
   pops the node in place. No `to` frame: it hands back to the base styles. */
@keyframes node-in {
  from {
    opacity: 0;
    transform: var(--base) scale(0.4);
  }
}

@keyframes travel {
  from {
    offset-distance: 0%;
  }
  to {
    offset-distance: 100%;
  }
}

@keyframes rise {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.products {
  max-width: var(--max);
  margin: 0 auto;
  padding: 5rem var(--gutter) 4rem;
  border-top: 1px solid var(--line);
}

.products h2 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  letter-spacing: -0.02em;
}

.section-lede {
  margin: 0 0 2rem;
  color: var(--mist-dim);
  max-width: 34rem;
}

.product h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
}

.product p {
  margin: 0 0 0.75rem;
  max-width: 36rem;
  color: var(--mist-dim);
}

.product-meta {
  font-size: 0.95rem;
}

.product-meta code {
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 0.9em;
  color: var(--accent-warm);
}

.product-link {
  font-weight: 600;
}

/* About page sections: same container, gutter and dividers as .products. */
.about-section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(3rem, 6vw, 4.5rem) var(--gutter);
  border-top: 1px solid var(--line);
}

/* Figtree, not Syne: these headings contain "g" (Agentic, Flagship,
   Leadership, Forge, Engineering), and Syne's flat-cut g reads as clipped. */
.about-section h2 {
  margin: 0 0 1.5rem;
  padding-bottom: 0.08em;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.about-section h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1.3;
}

.about-section p {
  color: var(--mist-dim);
  max-width: 42rem;
}

/* Flex-wrap (not grid) so a last card that wraps alone stretches to fill
   its row instead of sitting orphaned beside empty columns. */
.focus-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.focus-grid > .focus-card {
  flex: 1 1 15rem;
}

.focus-card,
.flagship {
  padding: clamp(1.1rem, 2.5vw, 1.6rem);
  background: rgba(18, 24, 32, 0.6);
  border: 1px solid var(--line);
  border-radius: 4px;
}

.focus-card p,
.flagship p {
  margin: 0;
}

.flagship p + p {
  margin-top: 0.75rem;
}

.principles {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
  gap: 0.75rem 2rem;
  color: var(--mist);
}

.principles li {
  padding-left: 1.25rem;
  position: relative;
}

.principles li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--accent-warm);
}

/* Leadership: circular headshot (styled like the brand mark) beside the bio. */
.leader {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

.leader-photo {
  width: clamp(7.5rem, 14vw, 10rem);
  height: auto;
  aspect-ratio: 1;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  box-shadow:
    0 0 0 1px rgba(46, 196, 255, 0.28),
    0 0 0 6px rgba(46, 196, 255, 0.08),
    0 18px 50px rgba(0, 0, 0, 0.45);
}

.leader-name {
  margin: 0;
  font-size: clamp(1.4rem, 2.4vw, 1.75rem);
}

.leader-title {
  margin: 0.25rem 0 1.25rem;
  color: var(--accent-soft);
  font-weight: 600;
}

.leader-highlights {
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
  display: grid;
  /* Two columns for four highlights (2x2), one column on narrow screens. */
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr));
  gap: 0.6rem 1.5rem;
  color: var(--mist);
  font-size: 0.98rem;
}

.leader-highlights li {
  padding-left: 1.1rem;
  position: relative;
}

.leader-highlights li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 0.4rem;
  height: 0.4rem;
  border: 1px solid var(--accent);
  border-radius: 50%;
}

.leader-links {
  margin-top: 1.25rem;
}

@media (max-width: 640px) {
  .leader {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
  }

  .leader-body {
    justify-self: stretch;
  }

  .leader-name,
  .leader-title {
    text-align: center;
  }
}

.site-footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2rem var(--gutter) 3rem;
  border-top: 1px solid var(--line);
  color: var(--mist-dim);
  font-size: 0.95rem;
}

.site-footer p {
  margin: 0 0 0.5rem;
}

.footer-note {
  max-width: 40rem;
}

@media (max-width: 720px) {
  .hero-copy {
    text-align: center;
  }

  .hero-brand {
    align-items: center;
    width: 100%;
  }

  .lede {
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 480px) {
  .rail-inner,
  .ticks {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .atmosphere,
  .hero-brand,
  .headline,
  .lede,
  .cta-row,
  .hero-visual,
  .rail,
  .ticks,
  .node {
    animation: none !important;
  }

  /* Glow still responds to the cursor, but nodes stay put and don't grow. */
  .node {
    --grow: 0;
  }

  /* Circuit background: drawn at once, no pulses (spotlight still works). */
  .circuit-bg svg,
  .circuit-bg path {
    animation: none !important;
    -webkit-mask-image: none !important;
    mask-image: none !important;
  }

  .circuit-pulse {
    display: none;
  }

  @supports (offset-path: polygon(0 0, 100% 0, 100% 100%)) {
    .node-1 {
      offset-distance: 8%;
    }
    .node-2 {
      offset-distance: 35%;
    }
    .node-3 {
      offset-distance: 30%;
    }
    .node-4 {
      offset-distance: 70%;
    }
  }
}
