:root {
  --black: #000;
  --ink: #0a0a0a;
  --white: #fff;
  --paper: #fafafa;
  /* Brand blues. Each background gets the shade that reads well on it. */
  --accent-on-dark: #0096ff;   /* Primary Blue: text and details on black */
  --accent-on-light: #0053be;  /* Secondary Blue: text and details on white */
  --btn-bg: #0053be;           /* Secondary Blue */
  --btn-fg: #fff;
  --btn-hover: #0062dd;        /* a step lighter for hover */
  --glow-rgb: 0, 150, 255;     /* hero dot glow near the cursor */
  --gray-100: #f2f2f2;
  --gray-300: #d4d4d4;
  --gray-500: #8a8a8a;
  --gray-600: #6b6b6b;
  --gray-700: #3d3d3d;
  --gray-800: #1f1f1f;
  --font: "Inter Tight", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --max: 1200px;
  --gutter: clamp(16px, 4vw, 48px);
  --radius: 999px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--black);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
img, canvas { display: block; }
h1, h2, h3, h4, p { margin: 0; }

.skip {
  position: absolute; left: -9999px; top: 8px; z-index: 100;
  background: var(--white); color: var(--black); padding: 8px 14px; border-radius: 8px;
}
.skip:focus { left: 8px; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  font-weight: 600; font-size: 16px; letter-spacing: -.01em;
  padding: 14px 24px; border-radius: var(--radius);
  border: 1px solid transparent;
  transition: transform .2s var(--ease), background .2s, color .2s, border-color .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn .arrow { transition: transform .2s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
.btn--light { background: var(--white); color: var(--black); }
.btn--light:hover { background: var(--gray-100); }
.btn--dark { background: var(--black); color: var(--white); }
.btn--dark:hover { background: var(--gray-800); }
.btn--accent { background: var(--btn-bg); color: var(--btn-fg); }
.btn--accent:hover { background: var(--btn-hover); }
.btn--ghost { color: var(--white); border-color: rgba(255,255,255,.28); }
.btn--ghost:hover { border-color: var(--white); }
.btn--sm { padding: 9px 16px; font-size: 14px; }
.btn--lg { padding: 18px 30px; font-size: 18px; }
:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.section--light :focus-visible { outline-color: #000; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  color: var(--white);
  transition: background .3s, backdrop-filter .3s, border-color .3s;
  border-bottom: 1px solid transparent;
  padding-top: env(safe-area-inset-top, 0px);
}
.nav.is-scrolled {
  background: rgba(0,0,0,.72);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom-color: rgba(255,255,255,.08);
}
.nav__inner {
  max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter);
  height: 68px; display: flex; align-items: center; gap: 32px;
}
.brand { display: inline-flex; align-items: center; font-weight: 800; letter-spacing: -.03em; font-size: 18px; }
.nav__links { display: flex; gap: 28px; margin-left: auto; font-size: 15px; font-weight: 500; }
.nav__links a { color: rgba(255,255,255,.7); transition: color .2s; }
.nav__links a:hover { color: var(--white); }
.nav__toggle {
  display: none; margin-left: auto; width: 40px; height: 40px;
  background: none; border: 0; padding: 0; cursor: pointer; position: relative;
}
.nav__toggle span {
  position: absolute; left: 10px; right: 10px; height: 2px; background: var(--white);
  transition: transform .25s var(--ease);
}
.nav__toggle span:first-child { top: 15px; }
.nav__toggle span:last-child { top: 23px; }
.nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
.nav__mobile {
  display: flex; flex-direction: column; gap: 4px;
  padding: 8px var(--gutter) 24px; background: var(--black);
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.nav__mobile[hidden] { display: none; }
.nav__mobile a:not(.btn) { padding: 14px 0; font-size: 22px; font-weight: 700; letter-spacing: -.02em; border-bottom: 1px solid rgba(255,255,255,.08); }
.nav__mobile .btn { margin-top: 16px; justify-content: center; }

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

/* ---------- Eyebrow labels ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--gray-600); margin-bottom: 28px;
}
.eyebrow::before { content: ""; width: 8px; height: 8px; background: currentColor; }
.eyebrow--dark { color: rgba(255,255,255,.6); }
.eyebrow::before { color: var(--accent-on-light); }
.eyebrow--dark::before { color: var(--accent-on-dark); }

/* ---------- Tagline ---------- */
.tagline {
  display: inline-block;
  font-size: clamp(22px, 2.6vw, 34px); font-weight: 800; letter-spacing: -.03em; line-height: 1;
  color: var(--white); background: var(--btn-bg);
  padding: .32em .5em .36em;
  margin-bottom: clamp(28px, 3.5vw, 44px);
}


/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; overflow: hidden;
  background: var(--black); color: var(--white);
  display: flex; align-items: center;
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 70% 60% at 30% 55%, rgba(0,0,0,.75), transparent 70%),
    linear-gradient(to bottom, transparent 70%, #000);
}
.hero__content {
  position: relative; z-index: 1; pointer-events: none;
  max-width: var(--max); width: 100%; margin: 0 auto;
  padding: 140px var(--gutter) 100px;
}
.hero__content a { pointer-events: auto; }
.hero__title {
  font-size: clamp(44px, 8.2vw, 112px);
  line-height: .98; font-weight: 800; letter-spacing: -.045em;
  max-width: 13ch;
}
.hero__muted { display: block; color: var(--gray-500); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 44px; }

/* ---------- Sections ---------- */
.section { padding: clamp(96px, 14vw, 180px) 0; }
.section--light { background: var(--white); color: var(--ink); }
.section--dark { background: var(--black); color: var(--white); border-top: 1px solid var(--gray-800); }

.statement {
  font-size: clamp(38px, 6.4vw, 88px);
  line-height: 1; font-weight: 800; letter-spacing: -.045em;
  max-width: 16ch;
}
.statement__em { color: var(--gray-500); }
#last-mile .statement__em { color: var(--accent-on-light); }
.section__title {
  font-size: clamp(32px, 4.6vw, 60px);
  line-height: 1.04; font-weight: 800; letter-spacing: -.04em;
  max-width: 18ch;
}
.lead { font-size: clamp(19px, 1.8vw, 24px); line-height: 1.45; color: var(--gray-700); letter-spacing: -.01em; }

.approach-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 64px);
  margin-top: clamp(56px, 7vw, 96px); padding-top: 40px; border-top: 1px solid var(--gray-300);
}
.kicker {
  margin-top: clamp(56px, 7vw, 96px);
  font-size: clamp(28px, 3.4vw, 44px); font-weight: 800; letter-spacing: -.035em;
  display: inline-block; border-bottom: 4px solid var(--accent-on-light); padding-bottom: 6px;
}
@media (max-width: 760px) { .approach-grid { grid-template-columns: 1fr; } }

/* ---------- Beliefs ---------- */
.beliefs {
  list-style: none; margin: clamp(56px, 7vw, 96px) 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--gray-800);
}
.belief {
  padding: 40px 32px 48px 0;
  border-right: 1px solid var(--gray-800);
  transition: background .3s;
}
.belief + .belief { padding-left: 32px; }
.belief:last-child { border-right: 0; }
.belief__num {
  display: block; font-size: 15px; font-weight: 700; color: var(--gray-500);
  margin-bottom: 64px; letter-spacing: -.01em;
}
.belief__title { font-size: clamp(24px, 2.4vw, 32px); font-weight: 800; letter-spacing: -.035em; line-height: 1.08; margin-bottom: 16px; }
.belief p { color: rgba(255,255,255,.62); font-size: 17px; line-height: 1.55; max-width: 32ch; }
@media (max-width: 860px) {
  .beliefs { grid-template-columns: 1fr; }
  .belief, .belief + .belief { padding: 32px 0 40px; border-right: 0; border-bottom: 1px solid var(--gray-800); }
  .belief__num { margin-bottom: 24px; }
}

/* ---------- Contact ---------- */
.contact__inner .lead { max-width: 40ch; margin: 36px 0 44px; }
.contact__email { margin-top: 20px; font-size: 16px; color: var(--gray-600); }
.contact__email a { color: var(--ink); font-weight: 600; border-bottom: 1px solid var(--gray-300); user-select: all; }
.contact__email a:hover { border-color: var(--ink); }

/* ---------- Footer ---------- */
.footer { background: var(--black); color: var(--white); padding: 80px 0 32px; overflow: hidden; }
.footer__top { display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.footer__brand { display: grid; gap: 10px; align-content: start; width: max-content; max-width: 100%; }
.footer .brand { font-size: 24px; line-height: 1; }
/* bar spans exactly the width of the company name above it */
.footer__tagline {
  justify-self: stretch; text-align: left;
  color: var(--white); background: var(--btn-bg);
  font-size: 17px; font-weight: 700; line-height: 1.2; letter-spacing: -.02em;
  padding: .3em .45em .34em;
}
.footer__cols { display: flex; gap: clamp(48px, 8vw, 120px); flex-wrap: wrap; }
.footer h4 {
  font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--gray-500); line-height: 1; margin: 6px 0 18px;
}
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 15px; }
.footer ul a { color: rgba(255,255,255,.78); transition: color .2s; }
.footer ul a:hover { color: var(--white); }
.footer__bottom {
  margin-top: 64px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding-top: 24px; border-top: 1px solid var(--gray-800);
  font-size: 13px; color: var(--gray-500);
}
.footer__bottom a:hover { color: var(--white); }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .btn .arrow { transition: none; }
}
