/* Horizon's page, at horizoncenter.cloud: night above, dawn at the bottom. The first screen's sky is a canvas drawn by
   horizon.js; until then, and without the script, the first screen paints a still dawn of its own. Blocks marked
   .reveal fade in only once the script runs (html.js) and only without prefers-reduced-motion, which also stops every
   other animation. System fonts only: the page loads nothing but this file, horizon.js and its icon. */

:root {
  --night-950: #03050d;
  --night-900: #060a1a;
  --night-800: #0b1029;
  --night-700: #141a3d;
  --dusk-600: #2a2150;
  --dusk-500: #4a2d5c;
  --ink: #eef0ff;
  --ink-soft: #c6cbea;
  --ink-muted: #949cc6;
  --dawn-gold: #ffd29a;
  --dawn-amber: #ff9f6b;
  --dawn-rose: #f27a8d;
  --sky-ice: #9fd6ff;
  --led-green: #5cf7a6;
  --led-amber: #ffb35c;
  --line: rgba(166, 182, 255, 0.16);
  --line-strong: rgba(190, 204, 255, 0.32);
  --panel: rgba(12, 17, 42, 0.72);
  --panel-strong: rgba(9, 13, 32, 0.9);
  --radius: 18px;
  --gutter: clamp(16px, 5vw, 56px);
  --page-width: 1180px;
  --bar-height: 64px;
  --font-sans: "Avenir Next", "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, Roboto,
    "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", "Cascadia Mono", "Roboto Mono", Menlo, Consolas, monospace;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  color-scheme: dark;
}

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

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

body {
  margin: 0;
  min-width: 320px;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  /* the whole page is one sunrise: deep night under the first screen, dawn behind the footer */
  background: linear-gradient(180deg, var(--night-950) 0%, var(--night-900) 30%, var(--night-800) 55%,
    var(--night-700) 75%, var(--dusk-600) 92%, var(--dusk-500) 100%) var(--night-950);
  overflow-wrap: break-word;
}

a {
  color: inherit;
}

h1,
h2,
h3,
p,
dl,
dd,
ol,
ul,
figure {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

svg {
  display: block;
}

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

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--dawn-gold);
  color: var(--night-950);
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

.skip-link:focus-visible {
  transform: none;
}

/* the top bar: see-through over the first screen, solid once it has scrolled away (horizon.js) */

.topbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--bar-height);
  border-bottom: 1px solid transparent;
  transition: background-color 0.4s ease, border-color 0.4s ease;
}

.topbar.is-solid {
  background: rgba(5, 8, 22, 0.86);
  border-bottom-color: var(--line);
}

.topbar-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 100%;
  max-width: var(--page-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-size: 0.82rem;
}

.brand-mark {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: var(--dawn-gold);
  stroke-width: 2;
  stroke-linecap: round;
}

.topbar-links {
  display: none;
  gap: 28px;
  font-size: 0.92rem;
}

.topbar-links a {
  color: var(--ink-soft);
  text-decoration: none;
  transition: color 0.2s ease;
}

.topbar-links a:hover {
  color: var(--ink);
}

.language-switch {
  display: inline-flex;
  padding: 3px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(5, 8, 22, 0.5);
}

.no-js .language-switch {
  display: none;
}

.language-switch button {
  min-width: 44px;
  min-height: 36px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink-soft);
  font: 600 0.8rem/1 var(--font-mono);
  letter-spacing: 0.12em;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.language-switch button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--night-950);
}

.language-switch button:not([aria-pressed="true"]):hover {
  color: var(--ink);
}

/* the first screen */

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: max(100svh, 620px);
  overflow: hidden;
  isolation: isolate;
  /* a still dawn with a few stars: what the first screen shows until the canvas draws, or without the script */
  background:
    radial-gradient(1.5px 1.5px at 12% 18%, #fff 50%, transparent 100%),
    radial-gradient(1px 1px at 28% 9%, #fff 50%, transparent 100%),
    radial-gradient(1px 1px at 43% 27%, #fff 50%, transparent 100%),
    radial-gradient(1.5px 1.5px at 67% 14%, #fff 50%, transparent 100%),
    radial-gradient(1px 1px at 81% 31%, #fff 50%, transparent 100%),
    radial-gradient(1px 1px at 91% 7%, #fff 50%, transparent 100%),
    radial-gradient(1px 1px at 6% 41%, #fff 50%, transparent 100%),
    radial-gradient(ellipse 70% 38% at 50% 72%, rgba(255, 172, 120, 0.55), transparent 70%),
    linear-gradient(180deg, #050716 0%, #10143a 46%, #4b3266 66%, #a8636a 71.9%, #0a0a18 72%, #020208 100%);
}

.hero-sky {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
}

.bar-marker {
  position: absolute;
  top: 55%;
  left: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: var(--page-width);
  width: 100%;
  margin: 0 auto;
  padding: calc(var(--bar-height) + clamp(36px, 9svh, 110px)) var(--gutter) 0;
  text-align: center;
}

.eyebrow {
  font: 600 0.78rem/1.4 var(--font-mono);
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--dawn-gold);
  text-shadow: 0 0 18px rgba(255, 196, 140, 0.45);
  animation: rise-in 1.4s var(--ease-out) 0.2s both;
}

.wordmark {
  position: relative;
  width: min(100%, 940px);
  margin: clamp(16px, 3svh, 28px) 0 clamp(18px, 3.4svh, 32px);
  line-height: 0;
}

.wordmark-art {
  width: 100%;
  height: auto;
  overflow: visible;
  filter: drop-shadow(0 0 22px rgba(255, 200, 150, 0.32));
}

/* each letter draws itself, then the line of the horizon opens under the word */
.wordmark-letters > * {
  stroke-dasharray: 1 1;
  stroke-dashoffset: 0;
  animation: draw-letter 1.5s cubic-bezier(0.65, 0, 0.35, 1) both;
}

.wordmark-letters > :nth-child(2) { animation-delay: 0.08s; }
.wordmark-letters > :nth-child(3) { animation-delay: 0.16s; }
.wordmark-letters > :nth-child(4) { animation-delay: 0.24s; }
.wordmark-letters > :nth-child(5) { animation-delay: 0.32s; }
.wordmark-letters > :nth-child(6) { animation-delay: 0.4s; }
.wordmark-letters > :nth-child(7) { animation-delay: 0.48s; }

.wordmark::after {
  content: "";
  position: absolute;
  left: 4%;
  right: 4%;
  bottom: calc(-1 * clamp(8px, 1.6svh, 16px));
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 222, 180, 0.9), transparent);
  animation: open-line 1.6s var(--ease-out) 1.1s both;
}

.tagline {
  max-width: 34ch;
  font-size: clamp(1.15rem, 2.6vw, 1.65rem);
  font-weight: 500;
  line-height: 1.35;
  color: var(--ink);
  text-shadow: 0 2px 18px rgba(3, 5, 13, 0.8);
  animation: rise-in 1.4s var(--ease-out) 0.9s both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: clamp(20px, 4svh, 36px);
  animation: rise-in 1.4s var(--ease-out) 1.2s both;
}

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 650;
  font-size: 0.98rem;
  text-decoration: none;
  overflow: hidden;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s ease, background-color 0.25s ease;
}

.button-primary {
  color: var(--night-950);
  background: linear-gradient(120deg, var(--dawn-gold), var(--dawn-amber) 55%, var(--dawn-rose));
  box-shadow: 0 10px 30px -10px rgba(255, 150, 100, 0.65);
}

/* a glint that sweeps across the button under the pointer */
.button-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.55) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.7s var(--ease-out);
}

.button-primary:hover::after,
.button-primary:focus-visible::after {
  transform: translateX(120%);
}

.button-ghost {
  color: var(--ink);
  border: 1px solid var(--line-strong);
  background: rgba(5, 8, 22, 0.42);
}

.button:hover {
  transform: translateY(-2px);
}

.button-ghost:hover {
  background: rgba(20, 26, 61, 0.7);
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: clamp(16px, 4svh, 36px);
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-left: -22px;
  border-radius: 50%;
}

.scroll-cue-line {
  width: 1px;
  height: 30px;
  background: linear-gradient(180deg, transparent, var(--dawn-gold));
  animation: fall 2.4s ease-in-out infinite;
}

/* the sections */

.section {
  position: relative;
  isolation: isolate;
  padding: clamp(84px, 12vw, 150px) var(--gutter) clamp(40px, 6vw, 70px);
  scroll-margin-top: var(--bar-height);
}

/* every section opens on a thin line of light, with a faint glow behind it, on alternating sides */
.section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(ellipse 55% 45% at 12% 22%, rgba(96, 112, 255, 0.1), transparent 70%);
  pointer-events: none;
}

.section:nth-of-type(odd)::before {
  background: radial-gradient(ellipse 55% 45% at 88% 30%, rgba(255, 150, 120, 0.08), transparent 70%);
}

.section::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: min(70%, 760px);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
  transform: translateX(-50%);
}

.section-inner {
  max-width: var(--page-width);
  margin: 0 auto;
}

.section-head {
  max-width: 760px;
  margin-bottom: clamp(36px, 5vw, 56px);
}

.kicker {
  margin-bottom: 14px;
  font: 600 0.78rem/1.4 var(--font-mono);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--dawn-gold);
}

h2 {
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  font-weight: 750;
  line-height: 1.08;
  letter-spacing: -0.02em;
  background: linear-gradient(100deg, var(--ink) 40%, var(--sky-ice) 75%, var(--dawn-gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  margin-top: 18px;
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
  color: var(--ink-soft);
}

/* the machine */

.specs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: 16px;
}

.spec {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 22px 22px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(25, 33, 80, 0.55), var(--panel) 60%);
  transition: border-color 0.3s ease, transform 0.3s var(--ease-out);
}

.spec:hover {
  border-color: var(--line-strong);
  transform: translateY(-3px);
}

.spec-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.spec-icon {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: var(--sky-ice);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* three lights of a rack on every card, blinking out of step */
.leds {
  display: inline-flex;
  gap: 6px;
}

.leds i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--led-green);
  box-shadow: 0 0 8px var(--led-green);
  animation: blink 2.6s steps(2, jump-none) infinite;
}

.leds i:nth-child(2) {
  animation-duration: 1.7s;
  animation-delay: -0.6s;
}

.leds i:nth-child(3) {
  background: var(--led-amber);
  box-shadow: 0 0 8px var(--led-amber);
  animation-duration: 3.9s;
  animation-delay: -1.3s;
}

.spec-label {
  font: 600 0.74rem/1.4 var(--font-mono);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.spec-value {
  margin-top: 6px;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.spec-detail {
  margin-top: 8px;
  color: var(--ink-soft);
  font-size: 0.97rem;
  line-height: 1.5;
}

.number {
  font-variant-numeric: tabular-nums;
}

/* the platform */

.platform {
  display: grid;
  gap: clamp(36px, 6vw, 72px);
  align-items: center;
}

.steps {
  display: grid;
  gap: 14px;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 18px 20px 18px 66px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  counter-increment: step;
}

.step::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 20px;
  top: 19px;
  font: 600 0.9rem/1.6 var(--font-mono);
  color: var(--dawn-gold);
}

.step h3 {
  font-size: 1.12rem;
  font-weight: 700;
}

.step p {
  margin-top: 4px;
  color: var(--ink-soft);
  font-size: 0.97rem;
}

.diagram {
  width: min(100%, 440px);
  margin: 0 auto;
}

.diagram svg {
  width: 100%;
  height: auto;
}

.node {
  fill: rgba(14, 20, 48, 0.92);
  stroke: var(--line-strong);
  stroke-width: 1;
}

.node-core {
  fill: rgba(30, 24, 58, 0.95);
  stroke: rgba(255, 210, 154, 0.6);
}

.node-pulse {
  fill: none;
  stroke: var(--dawn-gold);
  stroke-width: 1.5;
  transform-box: fill-box;
  transform-origin: center;
  animation: pulse 3s var(--ease-out) infinite;
}

.node-project {
  stroke: rgba(92, 247, 166, 0.45);
}

.node-next {
  fill: rgba(10, 14, 34, 0.5);
  stroke-dasharray: 5 6;
}

.node-led {
  fill: var(--led-green);
  animation: blink 1.9s steps(2, jump-none) infinite;
}

.node-title {
  fill: var(--ink);
  font: 700 15px var(--font-sans);
}

.node-title-large {
  font-size: 22px;
  letter-spacing: 0.04em;
}

.node-title-muted {
  fill: var(--ink-soft);
}

.node-sub {
  fill: var(--sky-ice);
  font: 500 11.5px var(--font-mono);
}

.node-sub-muted {
  fill: var(--ink-muted);
}

.node-note {
  fill: var(--ink-soft);
  font: 500 12px var(--font-sans);
}

.rail {
  fill: rgba(159, 214, 255, 0.06);
  stroke: rgba(159, 214, 255, 0.35);
  stroke-dasharray: 2 5;
}

.rail-label {
  fill: var(--sky-ice);
  font: 500 11.5px var(--font-mono);
  letter-spacing: 0.08em;
}

.flow {
  fill: none;
  stroke: var(--dawn-gold);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 3 9;
  animation: flow 1.2s linear infinite;
}

.flow-faint {
  stroke: var(--ink-muted);
  opacity: 0.5;
}

.flow-label {
  fill: var(--dawn-gold);
  font: 500 11.5px var(--font-mono);
}

/* the projects */

.projects {
  display: grid;
  gap: 18px;
}

.project {
  position: relative;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 6px);
  background: var(--panel-strong);
  overflow: hidden;
}

.project-featured {
  display: grid;
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  --spot-x: 50%;
  --spot-y: 50%;
  transform: perspective(1100px) rotateX(var(--tilt-y)) rotateY(var(--tilt-x));
  transition: transform 0.5s var(--ease-out), border-color 0.3s ease;
}

/* a soft light that follows the mouse over the card (horizon.js) */
.project-featured::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(circle at var(--spot-x) var(--spot-y), rgba(255, 210, 154, 0.12), transparent 45%);
  pointer-events: none;
}

.project-featured:hover {
  border-color: rgba(255, 210, 154, 0.4);
}

.project-art {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 260px;
  padding: 28px 12px;
  background:
    radial-gradient(ellipse 60% 55% at 50% 38%, rgba(255, 226, 150, 0.16), transparent 70%),
    linear-gradient(180deg, #050816 0%, #0b1530 62%, #0a1f2b 100%);
  border-bottom: 1px solid var(--line);
}

.ascii {
  margin: 0;
  font: 600 clamp(10px, 2.9vw, 14px)/1.2 var(--font-mono);
  color: var(--ink-muted);
  white-space: pre;
}

.ascii .moon {
  color: #fff1c4;
  text-shadow: 0 0 12px rgba(255, 228, 160, 0.7);
}

.ascii .star {
  color: #cfd6ff;
}

.ascii .water {
  color: #4f86b8;
}

/* the moon's light on the water */
.ascii .glint {
  color: rgba(255, 236, 190, 0.75);
}

.ascii .reed {
  color: #4fbf8b;
}

.project-body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(24px, 4vw, 44px);
}

.project-domain {
  font: 500 0.82rem/1.4 var(--font-mono);
  color: var(--sky-ice);
  word-break: break-all;
}

.project-name {
  margin-top: 8px;
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  font-weight: 750;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.project-tagline {
  margin-top: 4px;
  font-style: italic;
  color: var(--dawn-gold);
}

.project-text {
  margin-top: 16px;
  color: var(--ink-soft);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 26px;
}

.chips li {
  padding: 4px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.project-next {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(24px, 4vw, 40px);
  border-style: dashed;
  border-color: var(--line-strong);
  background: rgba(9, 13, 32, 0.45);
}

.project-next .project-name {
  font-size: clamp(1.4rem, 2.6vw, 1.8rem);
  color: var(--ink-soft);
}

/* an empty slot that waits: a ring breathing slowly */
.project-next-mark {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 1px dashed var(--line-strong);
  border-radius: 50%;
}

.project-next-mark span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--dawn-gold);
  box-shadow: 0 0 14px var(--dawn-gold);
  animation: breathe 3.2s ease-in-out infinite;
}

/* the footer: the sun comes up at last */

.footer {
  position: relative;
  overflow: hidden;
  padding: clamp(80px, 12vw, 140px) var(--gutter) 0;
  text-align: center;
  isolation: isolate;
}

.footer-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
}

.footer-mark {
  font-size: clamp(2.6rem, 9vw, 6rem);
  font-weight: 200;
  line-height: 1;
  letter-spacing: 0.32em;
  margin-right: -0.32em;
  text-transform: uppercase;
  color: var(--ink);
}

.footer-tagline {
  margin-top: 18px;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: var(--dawn-gold);
}

.footer-note {
  margin-top: 16px;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 24px;
  margin-top: 26px;
  font: 500 0.82rem/1.6 var(--font-mono);
  color: var(--ink-soft);
}

.footer-meta a {
  color: var(--ink);
  text-underline-offset: 4px;
}

.footer-dawn {
  position: relative;
  height: clamp(150px, 24vw, 260px);
  margin: clamp(40px, 6vw, 70px) calc(-1 * var(--gutter)) 0;
  overflow: hidden;
}

.footer-dawn::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 38%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 230, 190, 0.95), transparent);
}

.footer-dawn::before {
  content: "";
  position: absolute;
  inset: 62% 0 0;
  z-index: 1;
  /* the ground, with the sun's light lying on it */
  background:
    radial-gradient(ellipse 30% 40% at 50% 0%, rgba(255, 196, 140, 0.35), transparent 70%),
    linear-gradient(180deg, #1a0f22, var(--night-950));
}

/* rays fanning out from the sun, faded towards their ends */
.footer-dawn .footer-sun::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 520%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: repeating-conic-gradient(from 0deg, rgba(255, 214, 160, 0.16) 0deg 2.5deg, transparent 2.5deg 11deg);
  -webkit-mask-image: radial-gradient(circle closest-side, transparent 18%, #000 24%, transparent 100%);
  mask-image: radial-gradient(circle closest-side, transparent 18%, #000 24%, transparent 100%);
  transform: translate(-50%, -50%);
}

.footer-sun {
  position: absolute;
  left: 50%;
  bottom: 38%;
  width: clamp(120px, 18vw, 220px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, #fffaf0 0%, #ffe9c4 34%, var(--dawn-gold) 44%, rgba(255, 159, 107, 0.6) 56%,
    rgba(242, 122, 141, 0) 72%);
  transform: translate(-50%, 50%);
}

/* the blocks that fade in as they scroll into view, only once the script runs */

.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

.js .specs .reveal:nth-child(4n + 2),
.js .steps .reveal:nth-child(2) {
  transition-delay: 0.08s;
}

.js .specs .reveal:nth-child(4n + 3),
.js .steps .reveal:nth-child(3) {
  transition-delay: 0.16s;
}

.js .specs .reveal:nth-child(4n + 4) {
  transition-delay: 0.24s;
}

/* phones: tighter cards, and on the narrowest an eyebrow on one line */

@media (max-width: 419.98px) {
  .eyebrow {
    font-size: 0.7rem;
    letter-spacing: 0.16em;
  }

  .hero-content {
    padding-top: calc(var(--bar-height) + clamp(24px, 6svh, 60px));
  }
}

@media (max-width: 719.98px) {
  .spec {
    padding: 18px 18px 20px;
  }

  .spec-top {
    margin-bottom: 12px;
  }
}

/* wider screens */

@media (min-width: 720px) {
  .topbar-links {
    display: flex;
  }

  .project-featured {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  }

  .project-art {
    border-bottom: 0;
    border-right: 1px solid var(--line);
  }
}

@media (min-width: 960px) {
  .platform {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  }

  .projects {
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

/* still, and still beautiful: the canvas paints one frame (horizon.js), the rest stops where it ends */

@media (prefers-reduced-motion: reduce) {
  .eyebrow,
  .wordmark-letters > *,
  .wordmark::after,
  .tagline,
  .hero-actions,
  .scroll-cue-line,
  .leds i,
  .node-pulse,
  .node-led,
  .flow,
  .project-next-mark span {
    animation: none;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .button,
  .spec,
  .project-featured,
  .button-primary::after {
    transition: none;
  }

  .button:hover,
  .spec:hover {
    transform: none;
  }

  .node-pulse {
    opacity: 0;
  }
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
}

@keyframes draw-letter {
  from {
    stroke-dashoffset: 1;
  }
}

@keyframes open-line {
  from {
    transform: scaleX(0);
    opacity: 0;
  }
}

@keyframes fall {
  0% {
    transform: translateY(-10px);
    opacity: 0;
  }

  40% {
    opacity: 1;
  }

  100% {
    transform: translateY(10px);
    opacity: 0;
  }
}

@keyframes blink {
  50% {
    opacity: 0.25;
    box-shadow: none;
  }
}

@keyframes pulse {
  from {
    opacity: 0.8;
    transform: scale(1);
  }

  to {
    opacity: 0;
    transform: scale(1.08, 1.3);
  }
}

@keyframes flow {
  to {
    stroke-dashoffset: -24;
  }
}

@keyframes breathe {
  50% {
    transform: scale(0.55);
    opacity: 0.45;
  }
}
