/* ═══════════════════════════════════════════════════════════════════
   Qodevia — qodevia.com
   Dark, cinematic. The motif is a route: many paths, one destination.
   ═══════════════════════════════════════════════════════════════════ */

/* ── Tokens ───────────────────────────────────────────────────────── */
:root {
  --bg:          #07080A;
  --bg-alt:      #0A0C0F;
  --surface:     rgba(255, 255, 255, 0.022);
  --surface-hi:  rgba(255, 255, 255, 0.045);
  --line:        rgba(255, 255, 255, 0.07);
  --line-hi:     rgba(255, 255, 255, 0.14);

  --fg:          #F3F4F5;
  --fg-dim:      #9DA1AA;
  --fg-mute:     #666B75;

  --amber:       #FFA23A;
  --amber-hot:   #FFDBB0;
  --amber-soft:  rgba(255, 162, 58, 0.14);
  --amber-line:  rgba(255, 162, 58, 0.35);
  --live:        #4ADE80;

  --sans:  'Inter Tight', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --serif: 'Instrument Serif', 'Iowan Old Style', Georgia, serif;
  --mono:  ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, monospace;

  --wrap: 1180px;
  --pad: clamp(1.25rem, 5vw, 3rem);

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

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

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

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

/* Film grain. The single cheapest thing that stops a dark page looking flat. */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: 0.032;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
}

img, svg, canvas { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }

a { color: inherit; text-decoration: none; }

::selection { background: var(--amber); color: #0A0703; }

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

.skip {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, -120%);
  z-index: 200;
  padding: 0.7rem 1.2rem;
  background: var(--amber);
  color: #0A0703;
  font-weight: 600;
  border-radius: 0 0 8px 8px;
  transition: transform 0.2s var(--ease);
}
.skip:focus { transform: translate(-50%, 0); }

/* ── Primitives ───────────────────────────────────────────────────── */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.eyebrow {
  font-family: var(--mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-mute);
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.eyebrow::before {
  content: "";
  width: 1.75rem;
  height: 1px;
  background: var(--amber);
  flex: none;
  box-shadow: 0 0 8px var(--amber);
}

/* ── Buttons ──────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: -0.005em;
  white-space: nowrap;
  border: 1px solid var(--line-hi);
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease),
              color 0.25s var(--ease), transform 0.25s var(--ease),
              box-shadow 0.35s var(--ease);
}
.btn svg { width: 16px; height: 16px; transition: transform 0.3s var(--ease); }
.btn:hover svg { transform: translateX(3px); }

.btn--primary {
  background: var(--amber);
  border-color: var(--amber);
  color: #120A02;
  font-weight: 600;
  box-shadow: 0 0 0 0 rgba(255, 162, 58, 0.4);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 40px -8px rgba(255, 162, 58, 0.55);
}

.btn--ghost { color: var(--fg-dim); background: var(--surface); }
.btn--ghost:hover {
  color: var(--fg);
  border-color: var(--amber-line);
  background: var(--amber-soft);
  transform: translateY(-2px);
}

.btn--sm { padding: 0.5rem 1rem; font-size: 0.875rem; }
.btn--full { width: 100%; }

/* ── Nav ──────────────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease),
              backdrop-filter 0.3s var(--ease);
}
.nav.is-stuck {
  background: rgba(7, 8, 10, 0.72);
  backdrop-filter: saturate(150%) blur(14px);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  border-bottom-color: var(--line);
}
.nav__inner {
  max-width: var(--wrap);
  margin-inline: auto;
  padding: 1.05rem var(--pad);
  display: flex;
  align-items: center;
  gap: 2rem;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  flex: none;
}
.wordmark__glyph {
  width: 26px;
  height: 26px;
  color: var(--amber);
  filter: drop-shadow(0 0 6px rgba(255, 162, 58, 0.55));
  transition: transform 0.4s var(--ease);
}
.wordmark:hover .wordmark__glyph { transform: translateX(2px); }
.wordmark__text {
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.022em;
}

.nav__links {
  display: flex;
  gap: 1.75rem;
  margin-left: auto;
  font-size: 0.9375rem;
  color: var(--fg-dim);
}
.nav__links a {
  position: relative;
  padding-block: 0.2rem;
  transition: color 0.2s var(--ease);
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav__links a:hover { color: var(--fg); }
.nav__links a:hover::after { transform: scaleX(1); }

.nav__end { display: flex; align-items: center; gap: 1rem; flex: none; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.75rem 0.35rem 0.6rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  color: var(--fg-dim);
  white-space: nowrap;
}
.pill__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--live);
  box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.6);
  animation: ping 2.4s var(--ease) infinite;
  flex: none;
}
@keyframes ping {
  0%   { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.55); }
  70%  { box-shadow: 0 0 0 7px rgba(74, 222, 128, 0); }
  100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}

/* ── Hero ─────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: min(92svh, 900px);
  display: flex;
  align-items: center;
  padding-block: clamp(3.5rem, 9vh, 7rem) clamp(4rem, 10vh, 8rem);
  overflow: hidden;
  isolation: isolate;
}

/* Engineering graph paper, under the routes. Stops the right half reading as
   dead space once the routes settle. */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 34px 34px;
  -webkit-mask-image: radial-gradient(ellipse 75% 65% at 72% 48%, #000 15%, transparent 72%);
  mask-image: radial-gradient(ellipse 75% 65% at 72% 48%, #000 15%, transparent 72%);
}

.hero__canvas {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
}

/* Keeps the type legible over the routes: solid on the left, clear on the right. */
.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(100deg,
      var(--bg) 8%,
      rgba(7, 8, 10, 0.9) 38%,
      rgba(7, 8, 10, 0.42) 50%,
      rgba(7, 8, 10, 0.08) 62%,
      transparent 72%),
    linear-gradient(to bottom, var(--bg) 0%, transparent 16%, transparent 74%, var(--bg) 100%);
}

.hero__inner { position: relative; }

.hero__title {
  margin-top: 1.5rem;
  font-size: clamp(3.4rem, 10.5vw, 8.75rem);
  font-weight: 600;
  line-height: 0.9;
  letter-spacing: -0.048em;
  text-wrap: balance;
}
.hero__title em {
  display: inline-block;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.06em;
  letter-spacing: -0.012em;
  background: linear-gradient(96deg, var(--amber-hot) 0%, var(--amber) 55%, #E07A1F 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-right: 0.06em; /* the italic descender clips against the gradient box without this */
}

.hero__lead {
  margin-top: 1.9rem;
  max-width: 34ch;
  font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
  line-height: 1.6;
  color: var(--fg-dim);
  text-wrap: pretty;
}

.hero__actions {
  margin-top: 2.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero__meta {
  margin-top: 3.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
  list-style: none;
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-mute);
}
.hero__meta li { display: flex; align-items: center; gap: 1.25rem; }
.hero__meta li:not(:last-child)::after {
  content: "";
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--line-hi);
}

/* ── Sections ─────────────────────────────────────────────────────── */
.section {
  position: relative;
  padding-block: clamp(5.5rem, 12vw, 9.5rem);
  scroll-margin-top: 5rem;
}
.section--alt {
  background: var(--bg-alt);
  border-block: 1px solid var(--line);
}

.section__head { max-width: 46ch; }
.section__title {
  margin-top: 1.15rem;
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.035em;
}
.section__lead {
  margin-top: 1rem;
  color: var(--fg-dim);
  font-size: 1.0625rem;
}
.section__lead em {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.12em;
  color: var(--fg);
}

/* ── Cards ────────────────────────────────────────────────────────── */
.cards {
  margin-top: 3.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}

.card {
  position: relative;
  padding: 2.25rem 1.9rem 2.5rem;
  background: var(--bg);
  transition: background 0.35s var(--ease);
}
.card::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--amber), transparent);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.card:hover { background: var(--surface-hi); }
.card:hover::before { opacity: 1; }

.card__num {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  color: var(--amber);
}
.card__title {
  margin-top: 1.4rem;
  font-size: 1.3125rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.card__body {
  margin-top: 0.85rem;
  color: var(--fg-dim);
  font-size: 0.9688rem;
  line-height: 1.68;
  text-wrap: pretty;
}

.stack {
  margin-top: 2.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.stack span {
  padding: 0.35rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  color: var(--fg-mute);
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.stack span:hover { color: var(--fg-dim); border-color: var(--line-hi); }

/* ── The via (the route, as a process) ────────────────────────────── */
.via {
  --node: 11px;
  margin-top: 4.5rem;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
}
/* The road these four nodes sit on. */
.via::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: calc(var(--node) / 2);
  height: 1px;
  background: var(--line);
}
.via::after {
  content: "";
  position: absolute;
  left: 0;
  top: calc(var(--node) / 2);
  height: 1px;
  width: 0;
  background: linear-gradient(90deg, var(--amber), rgba(255, 162, 58, 0.35));
  box-shadow: 0 0 12px rgba(255, 162, 58, 0.5);
  transition: width 1.8s var(--ease) 0.15s;
}
.via.is-drawn::after { width: 100%; }

.via__step { position: relative; padding-top: calc(var(--node) + 1.6rem); }
.via__node {
  position: absolute;
  top: 0;
  left: 0;
  width: var(--node);
  height: var(--node);
  border: 1px solid var(--line-hi);
  background: var(--bg-alt);
  transform: rotate(45deg);
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.via.is-drawn .via__step:nth-child(1) .via__node { transition-delay: 0.25s; }
.via.is-drawn .via__step:nth-child(2) .via__node { transition-delay: 0.65s; }
.via.is-drawn .via__step:nth-child(3) .via__node { transition-delay: 1.05s; }
.via.is-drawn .via__step:nth-child(4) .via__node { transition-delay: 1.5s; }
.via.is-drawn .via__node {
  background: var(--amber);
  border-color: var(--amber);
  box-shadow: 0 0 14px rgba(255, 162, 58, 0.75);
}

.via__num {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  color: var(--fg-mute);
}
.via__title {
  margin-top: 0.7rem;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.via__body {
  margin-top: 0.65rem;
  color: var(--fg-dim);
  font-size: 0.9375rem;
  line-height: 1.65;
  text-wrap: pretty;
}

/* ── What's next ──────────────────────────────────────────────────── */
.next {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}
.next__body {
  margin-top: 1.4rem;
  color: var(--fg-dim);
  font-size: 1.0625rem;
  max-width: 44ch;
  text-wrap: pretty;
}
.next__copy .section__title { margin-top: 1.15rem; }

.next__card {
  position: relative;
  padding: 1.9rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(255, 162, 58, 0.07), transparent 60%),
    var(--surface);
  margin-top: 3rem;
}
.next__status { display: flex; align-items: center; gap: 0.6rem; }
.next__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 0 rgba(255, 162, 58, 0.6);
  animation: ping-amber 2.4s var(--ease) infinite;
  flex: none;
}
@keyframes ping-amber {
  0%   { box-shadow: 0 0 0 0 rgba(255, 162, 58, 0.55); }
  70%  { box-shadow: 0 0 0 8px rgba(255, 162, 58, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 162, 58, 0); }
}
.next__label {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg);
}
.next__year {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  color: var(--fg-mute);
}

.next__bar {
  margin-top: 1.5rem;
  height: 2px;
  border-radius: 2px;
  background: var(--line);
  overflow: hidden;
}
.next__bar span {
  display: block;
  height: 100%;
  width: 38%;
  border-radius: 2px;
  background: linear-gradient(90deg, rgba(255, 162, 58, 0.25), var(--amber));
  box-shadow: 0 0 10px rgba(255, 162, 58, 0.6);
  animation: creep 3.6s ease-in-out infinite;
}
@keyframes creep {
  0%, 100% { width: 34%; }
  50%      { width: 46%; }
}

.next__note {
  margin-top: 1.25rem;
  margin-bottom: 1.75rem;
  color: var(--fg-dim);
  font-size: 0.9375rem;
}

/* ── The honest bit ───────────────────────────────────────────────── */
.statement__lead {
  margin-top: 1.6rem;
  font-size: clamp(1.9rem, 4.4vw, 3.35rem);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -0.035em;
  max-width: 20ch;
  text-wrap: balance;
}
.statement__lead em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.07em;
  color: var(--amber);
  letter-spacing: -0.01em;
}
.statement__body {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr));
  gap: 1.5rem 3rem;
  max-width: 62rem;
}
.statement__body p {
  color: var(--fg-dim);
  text-wrap: pretty;
}

/* ── Contact ──────────────────────────────────────────────────────── */
.contact { text-align: center; }
.contact__title {
  font-size: clamp(2.4rem, 6.5vw, 5rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.042em;
}
.contact__title em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.06em;
  color: var(--amber);
  letter-spacing: -0.012em;
}
.contact__lead {
  margin: 1.6rem auto 0;
  max-width: 44ch;
  color: var(--fg-dim);
  text-wrap: pretty;
}

.contact__mail {
  margin-top: 2.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.4rem 0.4rem 0.35rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  transition: border-color 0.3s var(--ease), box-shadow 0.4s var(--ease);
  max-width: 100%;
}
.contact__mail:hover {
  border-color: var(--amber-line);
  box-shadow: 0 0 50px -10px rgba(255, 162, 58, 0.4);
}

.contact__email {
  padding: 0.6rem 1.1rem;
  font-size: clamp(1rem, 2.6vw, 1.375rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  transition: color 0.25s var(--ease);
  overflow-wrap: anywhere;
}
.contact__email:hover { color: var(--amber); }

.copy {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  background: var(--surface-hi);
  color: var(--fg-dim);
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  flex: none;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}
.copy:hover { background: var(--amber-soft); color: var(--amber); }
.copy.is-done { background: var(--amber); color: #120A02; }
.copy__i { width: 15px; height: 15px; }

/* ── Footer ───────────────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--line);
  padding-block: 3.5rem;
  background: var(--bg-alt);
}
.footer__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem 3rem;
  align-items: end;
  justify-content: space-between;
}
.footer__etym {
  max-width: 46ch;
  color: var(--fg-mute);
  font-size: 0.9375rem;
  line-height: 1.7;
  text-wrap: pretty;
}
.footer__etym strong { color: var(--fg-dim); font-weight: 600; }
.footer__etym em {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1em;
  color: var(--amber);
}
.footer__meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.4rem;
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  color: var(--fg-mute);
  text-align: right;
}
.footer__meta a { transition: color 0.2s var(--ease); }
.footer__meta a:hover { color: var(--amber); }

/* ── Scroll reveal ────────────────────────────────────────────────── */
/* Scoped to .js on purpose: if the script never runs, everything must still
   be visible rather than a blank page. */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.85s var(--ease) calc(var(--i, 0) * 85ms),
    transform 0.85s var(--ease) calc(var(--i, 0) * 85ms);
  will-change: opacity, transform;
}
.js .reveal.is-in {
  opacity: 1;
  transform: none;
  will-change: auto;
}

/* ── Responsive ───────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__end { margin-left: auto; }

  .next { grid-template-columns: 1fr; }
  .next__card { margin-top: 0; }

  /* The road turns vertical. */
  .via {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding-left: 2rem;
  }
  .via::before {
    left: calc(var(--node) / 2);
    right: auto;
    top: 0;
    bottom: 0;
    width: 1px;
    height: auto;
  }
  .via::after {
    left: calc(var(--node) / 2);
    top: 0;
    width: 1px;
    height: 0;
    background: linear-gradient(180deg, var(--amber), rgba(255, 162, 58, 0.35));
    transition: height 1.8s var(--ease) 0.15s;
  }
  .via.is-drawn::after { width: 1px; height: 100%; }

  .via__step { padding-top: 0; padding-left: 0; }
  .via__node { top: 0.35rem; left: -2rem; }
}

@media (max-width: 620px) {
  .hero { min-height: auto; padding-block: 3rem 5.5rem; }
  /* One tall column, so the scrim runs vertically: protect the whole text
     block, then open up near the bottom where the routes converge. */
  .hero__scrim {
    background:
      linear-gradient(180deg,
        var(--bg) 4%,
        rgba(7, 8, 10, 0.93) 38%,
        rgba(7, 8, 10, 0.9) 68%,
        rgba(7, 8, 10, 0.35) 86%,
        rgba(7, 8, 10, 0.75) 100%);
  }
  .hero__actions .btn { flex: 1 1 auto; }
  .pill { display: none; }
  .footer__inner { flex-direction: column; align-items: flex-start; }
  .footer__meta { align-items: flex-start; text-align: left; }
}

/* ── Print ────────────────────────────────────────────────────────── */
/* This site gets printed to PDF as proof the business exists. Reveal-on-scroll
   never runs in print, so force everything visible or whole sections come out blank. */
@media print {
  .js .reveal { opacity: 1 !important; transform: none !important; }
  .via::after { width: 100% !important; }
  .hero { min-height: auto; }
  .hero__canvas, .hero::before, body::after { display: none; }
  .nav { position: static; }
}

/* ── Reduced motion ───────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    transition-delay: 0ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .via::after { width: 100%; }
}
