*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.08; margin: 0; letter-spacing: -.02em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.eyebrow { font-family: var(--font-mono); font-size: 0.7812rem; letter-spacing: .08em; text-transform: uppercase; color: var(--blue-500); }
:focus-visible { outline: 2px solid var(--blue-bright); outline-offset: 0.1875rem; border-radius: 0.25rem; }

.btn {
  display: inline-flex; align-items: center; gap: .55em; padding: .8em 1.35em;
  border-radius: 62.4375rem; border: 1px solid transparent; font-weight: 600; font-size: 0.9688rem;
  transition: transform .25s var(--ease), background .2s, box-shadow .25s, border-color .2s;
}
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--blue-500); color: #fff; box-shadow: var(--shadow-s); }
.btn-primary:hover { background: var(--blue-600); transform: translateY(-1px); }
.btn-ghost { border-color: var(--line-strong); background: var(--surface); }
.btn-ghost:hover { border-color: var(--blue-500); color: var(--blue-500); }
.btn .arr { transition: transform .25s var(--ease); }
.btn:hover .arr { transform: translateX(0.1875rem); }

.reveal { opacity: 0; transform: translateY(1.375rem); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 3.5rem; width: max-content; align-items: center; animation: marquee var(--dur, 60s) linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee img { height: 3.375rem; width: auto; max-width: 9.375rem; object-fit: contain; mix-blend-mode: multiply; filter: grayscale(1); opacity: .65; transition: filter .3s, opacity .3s; }
.marquee img:hover { filter: none; opacity: 1; }
@keyframes marquee { to { transform: translateX(-50%); } }

.mail-link { font-family: var(--font-display); font-weight: 700; border-bottom: 2px solid var(--blue-300); }
.mail-link:hover { border-color: var(--blue-500); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .marquee img[alt=''] { display: none; }
}

@media (min-width: 1024px) { html { font-size: 90%; } }
