:root {
  --ink: #111;
  --ink-2: #55524d;
  --line: #e7e3dc;
  --paper: #ffffff;
  --cream: #faf7f2;
  --orange: #ff6600;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Manrope", system-ui, sans-serif;
  --gutter: clamp(16px, 4vw, 64px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
h1, h2 { margin: 0; font-weight: 400; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 28px;
  border-radius: 999px;
  font: 600 15px/1 var(--sans);
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s, background .2s;
}
.btn--orange { background: var(--orange); color: #fff; box-shadow: 0 10px 30px rgba(255, 102, 0, .28); }
.btn--orange:hover { transform: translateY(-1px); box-shadow: 0 14px 34px rgba(255, 102, 0, .36); }

/* ---------- nav ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 14px var(--gutter);
  background: rgba(255, 255, 255, .86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, .06);
}
.nav__logo img { display: block; height: 40px; width: auto; }
.nav__links { display: flex; gap: 26px; margin-left: auto; }
.nav__links a { font-size: 14px; font-weight: 500; text-decoration: none; color: var(--ink-2); }
.nav__links a:hover { color: var(--ink); }
.nav__cta { min-height: 42px; padding: 0 20px; font-size: 14px; }

/* ---------- film ---------- */
/* One screen of scroll per stop; film.js steps and eases between them. */
.film { position: relative; height: 500vh; height: 500svh; }
.snap {
  position: absolute;
  left: 0;
  width: 1px;
  height: 100vh;
  height: 100svh;
  pointer-events: none;
}
.snap:nth-child(1) { top: 0; }
.snap:nth-child(2) { top: 100vh; top: 100svh; }
.snap:nth-child(3) { top: 200vh; top: 200svh; }
.snap:nth-child(4) { top: 300vh; top: 300svh; }
.snap:nth-child(5) { top: 400vh; top: 400svh; }
.film__stage {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  background: var(--paper);
}
.film__poster, .film__canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.film[data-ready="true"] .film__poster { visibility: hidden; }
/* white wash on the left so the copy reads over the warehouse */
.film__wash {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(255, 255, 255, .94) 0%, rgba(255, 255, 255, .82) 26%, rgba(255, 255, 255, 0) 48%);
  opacity: 0;
  transition: opacity .45s ease;
}
.film[data-copy="on"] .film__wash { opacity: 1; transition: opacity .6s ease .05s; }

.stop {
  position: absolute;
  left: var(--gutter);
  top: 50%;
  width: min(520px, 40vw);
  translate: 0 -54%;
  opacity: 0;
  visibility: hidden;
  transform: translateX(48px);
  transition: opacity .5s ease, transform .6s cubic-bezier(.2, .7, .2, 1), visibility 0s .6s;
}
.stop.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity .5s ease, transform .6s cubic-bezier(.2, .7, .2, 1); }
.stop.is-gone { transform: translateX(-48px); }

.stop__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  font: 600 12px/1 var(--sans);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--orange);
}
.stop__eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--orange); }
.stop__title { font: 400 clamp(34px, 3.6vw, 58px)/1.08 var(--serif); letter-spacing: -.01em; }
.stop__text { margin: 22px 0 0; font-size: 18px; color: var(--ink-2); max-width: 470px; }
.fact { margin: 22px 0 0; padding-left: 16px; border-left: 2px solid var(--orange); font-size: 15px; color: var(--ink-2); }
.fact b { color: var(--ink); font-weight: 700; }
.facts { display: grid; grid-template-columns: repeat(4, max-content); gap: 10px 32px; margin: 26px 0 0; padding: 0; list-style: none; font-size: 14px; line-height: 1.3; color: var(--ink-2); }
.facts li { display: grid; align-content: start; }
/* Playfair draws old-style figures of uneven height; lining figures keep the numbers one size */
.facts b { display: block; font: 400 32px/1.1 var(--serif); font-variant-numeric: lining-nums tabular-nums; white-space: nowrap; color: var(--ink); margin-bottom: 4px; }
.stop__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 32px; }
.hint { font-size: 14px; font-weight: 500; color: var(--ink-2); }
.hint i { display: inline-block; font-style: normal; color: var(--orange); animation: nudge 1.6s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateX(6px); } }

.pills {
  position: absolute;
  left: var(--gutter);
  bottom: 34px;
  display: flex;
  gap: 6px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, .08);
}
.pills button {
  border: 0;
  border-radius: 999px;
  padding: 10px 16px;
  background: transparent;
  font: 600 13px/1 var(--sans);
  color: var(--ink-2);
  cursor: pointer;
  transition: background .25s, color .25s;
}
.pills button:hover { color: var(--ink); }
.pills button.is-on { background: var(--ink); color: #fff; }

.film__progress { position: absolute; inset: auto 0 0; height: 3px; background: rgba(0, 0, 0, .06); }
.film__progress span { display: block; height: 100%; width: calc(var(--p, 0) * 100%); background: var(--orange); }

/* full-quality frames: hold the page until every frame is in */
.loader {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 24px;
  background: var(--paper);
  transition: opacity .6s ease, visibility 0s .6s;
}
.loader__logo { width: 180px; height: auto; }
.loader__bar { position: relative; width: min(300px, 70vw); height: 2px; background: var(--line); }
.loader__bar span { position: absolute; inset: 0 auto 0 0; width: calc(var(--load, 0) * 100%); background: var(--orange); }
.loader__pct { font: 600 12px/1 var(--sans); letter-spacing: .18em; color: var(--ink-2); }
.film[data-loaded="true"] .loader { opacity: 0; visibility: hidden; }
body:has(.film:not([data-loaded="true"])) { overflow: hidden; }

/* ---------- landing ---------- */
.block { padding: clamp(80px, 10vw, 140px) var(--gutter); }
.block--cream { background: var(--cream); }
.block--dark { background: #121212; color: #f4f1ec; }
.block--dark .eyebrow { color: var(--orange); }
.head { max-width: 860px; margin-bottom: clamp(40px, 5vw, 64px); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 20px; font: 600 12px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--orange); }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--orange); }
.h2 { font: 400 clamp(32px, 3.6vw, 56px)/1.1 var(--serif); letter-spacing: -.01em; }
.h3 { margin: 0; font: 400 clamp(24px, 2.2vw, 34px)/1.15 var(--serif); }
.lead { margin: 22px 0 0; font-size: 19px; color: var(--ink-2); max-width: 640px; }
.block--dark .lead { color: #bdb7ae; }
.lead--center { margin: 48px auto 0; text-align: center; }
h3 { margin: 0; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.split--rev .split__media { order: -1; }
.split__text > p:not(.eyebrow):not(.lead) { color: var(--ink-2); margin: 18px 0 0; }
.split__media { position: relative; margin: 0; }
.split__media img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 6px; }
.split__media--portrait img { object-position: 50% 20%; }
.split__media figcaption { position: absolute; left: 20px; right: 20px; bottom: 20px; padding: 18px 20px; background: #fff; border-radius: 4px; font-size: 14px; color: var(--ink-2); box-shadow: 0 12px 30px rgba(0, 0, 0, .12); }
.split__media figcaption b { display: block; font: 400 34px/1 var(--serif); color: var(--ink); margin-bottom: 6px; }
.split__media--placeholder .placeholder { display: grid; place-content: center; text-align: center; aspect-ratio: 4 / 5; border: 1px dashed #cfc8bd; border-radius: 6px; background: var(--cream); color: var(--ink-2); font-size: 16px; line-height: 1.6; }
.ticks { margin: 28px 0 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.ticks li { position: relative; padding-left: 30px; color: var(--ink-2); }
.ticks li::before { content: ""; position: absolute; left: 0; top: .55em; width: 14px; height: 2px; background: var(--orange); }

.levels { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); }
.levels li { padding: 28px 28px 8px 0; }
.levels li + li { padding-left: 28px; border-left: 1px solid var(--line); }
.levels__n { font: 400 54px/1 var(--serif); color: var(--orange); }
.levels h3 { margin: 18px 0 10px; font: 600 20px/1.2 var(--sans); }
.levels p { margin: 0; color: var(--ink-2); }
.note { display: grid; grid-template-columns: 280px 1fr; gap: 28px; align-items: center; margin-top: 56px; padding: 20px; background: #fff; border-radius: 6px; }
.note img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 4px; }
.note p { margin: 0; font-size: 17px; color: var(--ink-2); }
.note b { color: var(--ink); }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; background: var(--line); border: 1px solid var(--line); }
.stat { background: #fff; padding: 32px 28px; }
.stat b { display: block; font: 400 clamp(30px, 3vw, 46px)/1.05 var(--serif); margin-bottom: 14px; }
.stat span { color: var(--ink-2); font-size: 15px; }
.markets { margin: 36px 0 0; font-size: 17px; color: var(--ink-2); }
.markets b { color: var(--ink); font-weight: 600; }

.cats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cats li { background: #fff; padding: 26px 26px 28px; border-radius: 6px; border-top: 3px solid var(--orange); }
.cats h3 { font: 600 18px/1.2 var(--sans); margin-bottom: 8px; }
.cats p { margin: 0; color: var(--ink-2); font-size: 15px; }
.magnet { display: grid; grid-template-columns: 1fr 1.3fr; gap: 40px; align-items: center; margin-top: 40px; padding: clamp(28px, 4vw, 48px); background: #fff; border: 2px solid var(--orange); border-radius: 8px; }
.magnet__text p { margin: 14px 0 0; color: var(--ink-2); }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; }
.form--inline { grid-template-columns: 1fr 1fr; }
.form--inline .btn, .form--inline .form__done { grid-column: 1 / -1; }
.form label { display: grid; gap: 8px; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.form input { height: 52px; padding: 0 16px; border: 1px solid #d9d3c9; border-radius: 6px; background: #fff; font: 400 16px var(--sans); color: var(--ink); }
.form input:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(255, 102, 0, .15); }
.form__wide { grid-column: 1 / -1; }
.form__done { margin: 0; color: var(--ink-2); font-size: 14px; }

.timeline { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 0; border-left: 2px solid var(--line); }
.timeline li { position: relative; padding: 0 0 18px 24px; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: .45em; width: 12px; height: 12px; border-radius: 50%; background: var(--orange); }
.timeline li { padding-bottom: 26px; }
.timeline b { display: block; font: 400 22px/1.2 var(--serif); font-variant-numeric: lining-nums; color: var(--orange); }
.timeline h3 { margin: 4px 0 6px; font: 600 17px/1.3 var(--sans); }
.timeline span { display: block; color: var(--ink-2); font-size: 15px; line-height: 1.55; }
.timeline__now b { color: var(--ink); }
.timeline__sum { margin: 8px 0 0 24px !important; font-weight: 600; color: var(--ink) !important; }

.bignums { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; border-top: 1px solid #333; padding-top: 36px; }
.bignums b { display: block; font: 400 clamp(44px, 5vw, 80px)/1 var(--serif); color: #fff; }
.bignums span { display: block; margin-top: 10px; color: #a9a39a; }
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 56px; }
.review { padding: 28px; border: 1px solid #333; border-radius: 6px; }
.review p { margin: 0; color: #d8d2c8; font-size: 16px; }
.review span { display: block; margin-top: 18px; font-size: 13px; color: var(--orange); letter-spacing: .08em; text-transform: uppercase; }
.review--slot { border-style: dashed; }
.review span { text-transform: none; letter-spacing: .02em; font-weight: 600; }
.reviews__more { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin-top: 28px; padding-top: 28px; border-top: 1px solid #333; }
.reviews__rating { color: #bdb7ae; font-size: 16px; }
.reviews__rating b { font: 400 34px/1 var(--serif); font-variant-numeric: lining-nums; color: #fff; margin-right: 8px; }

.chain { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; counter-reset: c; }
.chain li { counter-increment: c; display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border: 1px solid var(--line); border-radius: 999px; font-weight: 600; }
.chain li::before { content: counter(c, decimal-leading-zero); font: 400 15px/1 var(--serif); color: var(--orange); }

.final { position: relative; padding: clamp(80px, 12vw, 160px) var(--gutter); overflow: hidden; }
.final__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.final::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255, 255, 255, .55), rgba(255, 255, 255, .1)); }
.final__card { position: relative; z-index: 1; max-width: 620px; padding: clamp(28px, 4vw, 52px); background: #fff; border-radius: 8px; box-shadow: 0 30px 80px rgba(0, 0, 0, .18); }
.final__card .form { margin-top: 28px; }

.footer { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; padding: 32px var(--gutter); border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-2); }
.footer img { height: 34px; margin-right: auto; }

/* ---------- phone ---------- */
@media (max-width: 860px) {
  .nav { gap: 12px; padding: 10px 16px; }
  .nav__links { display: none; }
  .nav__logo img { height: 32px; }
  .nav__cta { margin-left: auto; min-height: 38px; padding: 0 14px; font-size: 12px; }

  /* the hero box rides low in the frame, so on a phone the copy sits at the top */
  .film__wash { background: linear-gradient(180deg, rgba(255, 255, 255, .97) 0%, rgba(255, 255, 255, .9) 40%, rgba(255, 255, 255, 0) 58%); }
  .stop { left: 16px; right: 16px; top: 72px; width: auto; translate: none; }
  .stop__eyebrow { margin-bottom: 12px; font-size: 10px; }
  .stop__title { font-size: 28px; }
  .stop__text { margin-top: 12px; font-size: 15px; }
  .fact { margin-top: 12px; font-size: 13px; }
  .facts { grid-template-columns: repeat(4, auto); justify-content: space-between; gap: 6px 10px; margin-top: 14px; font-size: 12px; }
  .facts b { font-size: 24px; }
  .stop__actions { margin-top: 16px; }
  .stop__actions .btn { min-height: 46px; }
  .hint { display: none; }
  .pills { left: 10px; right: 10px; bottom: 16px; gap: 2px; padding: 4px; justify-content: space-between; }
  .pills button { padding: 8px 7px; font-size: 10.5px; }

  .split, .magnet, .note { grid-template-columns: 1fr; }
  .split--rev .split__media { order: 0; }
  .split__media img, .split__media--placeholder .placeholder { aspect-ratio: 4 / 3; }
  .split__media--portrait img { aspect-ratio: 4 / 5; }
  .lead { font-size: 17px; }
  .levels, .stats, .cats, .reviews { grid-template-columns: 1fr; }
  .levels li, .levels li + li { padding: 22px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .bignums { grid-template-columns: 1fr 1fr; }
  .form, .form--inline { grid-template-columns: 1fr; }
  .chain { justify-content: flex-start; }
  .chain li { padding: 10px 16px; font-size: 14px; }
  .final { padding: 56px 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .stop, .stop.is-on { transition: none; }
  .hint i { animation: none; }
}

/* ---------- tech block ---------- */
.tech { position: relative; overflow: hidden; color: #fff; padding: clamp(90px, 11vw, 150px) var(--gutter); }
.tech__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tech::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(12, 12, 12, .92) 0%, rgba(12, 12, 12, .78) 45%, rgba(12, 12, 12, .45) 100%); }
.tech__inner { position: relative; z-index: 2; }
.tech__head { max-width: 760px; }
.tech .lead { color: #d6d0c6; }
.tech__nums { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 64px); margin-top: clamp(48px, 6vw, 80px); max-width: 1100px; }
.tech__nums div { border-top: 2px solid var(--orange); padding-top: 22px; }
.tech__nums b { display: flex; align-items: baseline; gap: 10px; font: 400 clamp(64px, 7vw, 112px)/.9 var(--serif); color: #fff; }
.tech__nums small { font: 600 16px/1 var(--sans); color: var(--orange); letter-spacing: .04em; }
.tech__nums span { display: block; margin-top: 16px; max-width: 280px; color: #d6d0c6; font-size: 16px; }
.tech__markets { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: clamp(48px, 6vw, 72px); }
.tech__markets ul { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.tech__markets li { padding: 11px 18px; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .28); backdrop-filter: blur(6px); font-weight: 600; font-size: 15px; }
.tech__label { color: #bdb7ae; font-size: 14px; }

@media (max-width: 860px) {
  .tech::before { background: rgba(12, 12, 12, .82); }
  .tech__nums { grid-template-columns: 1fr; gap: 28px; }
  .tech__nums b { font-size: 64px; }
  .tech__markets li { padding: 9px 14px; font-size: 13px; }
}

/* ---------- inner pages ---------- */
.page { padding-top: 70px; }
.nav__links a[aria-current="page"] { color: var(--ink); font-weight: 700; }
.hero-page { padding: clamp(60px, 9vw, 120px) var(--gutter) clamp(40px, 6vw, 80px); }
.h1 { max-width: 900px; font: 400 clamp(38px, 5vw, 76px)/1.05 var(--serif); letter-spacing: -.015em; margin: 0; }
.bignums--light { margin-top: 56px; border-top-color: var(--line); }
.bignums--light b { color: var(--ink); }
.bignums--light span { color: var(--ink-2); }

.services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; padding-top: 0; }
.service { display: grid; grid-template-columns: 200px 1fr; gap: 24px; align-items: start; padding: 20px; border: 1px solid var(--line); border-radius: 8px; }
.service img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 4px; }
.service__n { font: 400 30px/1 var(--serif); color: var(--orange); }
.service .h3 { margin: 10px 0 10px; }
.service p { margin: 0; color: var(--ink-2); }
.service--partners { grid-template-columns: 1fr; background: var(--cream); border-color: transparent; border-top: 3px solid var(--orange); }
.link { display: inline-block; margin-top: 16px; font-weight: 700; color: var(--orange); text-decoration: none; }

.whs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.wh { background: #fff; border-radius: 8px; overflow: hidden; }
.block:not(.block--cream) .wh { border: 1px solid var(--line); }
.wh img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.wh h3 { margin: 18px 20px 6px; font: 400 24px/1.2 var(--serif); }
.wh p { margin: 0 20px 18px; color: var(--ink-2); font-size: 15px; }
.wh .wh__addr { margin-bottom: 8px; color: var(--orange); font-weight: 600; }
.map-slot { display: grid; place-content: center; height: 360px; margin-top: 40px; border: 1px dashed #cfc8bd; border-radius: 8px; background: var(--cream); color: var(--ink-2); }

@media (max-width: 860px) {
  .page { padding-top: 58px; }
  .services, .whs { grid-template-columns: 1fr; }
  .service { grid-template-columns: 96px 1fr; gap: 16px; padding: 14px; }
  .service--partners { grid-template-columns: 1fr; padding: 20px; }
  .bignums--light { grid-template-columns: 1fr 1fr; }
}

/* lining figures for every serif number */
.bignums b, .levels__n, .tech__nums b, .stat b, .split__media figcaption b, .service__n { font-variant-numeric: lining-nums; }
