:root {
  --grain: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  --bg: #dcdcdc;
  --bg-alt: #d2d2d2;
  --panel: rgba(255, 255, 255, 0.45);
  --ink: #1b1b1b;
  --muted: #6a6a6a;
  --line: rgba(255, 255, 255, 0.75);
  --hair: rgba(0, 0, 0, 0.12);
  --accent: #ff8000; /* McLaren papaya orange */
  --accent-deep: #d95f00; /* darker orange for small text on light grounds */
  --dark: #1a1a1a;
  --radius: 22px;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --serif: "Instrument Serif", Georgia, serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; font-size: max(16px, calc(10px + 0.42vw)); } /* gently scales everything on big screens */
body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  font-weight: 300;
  color: var(--ink);
  background: linear-gradient(180deg, #e6e6e6 0%, #d3d3d3 100%) fixed;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
/* warm glow at the bottom edge of the viewport */
body::after {
  content: ""; position: fixed; left: 10%; right: 10%; bottom: -60px; height: 120px;
  background: radial-gradient(ellipse at center, rgba(255, 128, 0, 0.55), transparent 70%);
  filter: blur(24px); pointer-events: none; z-index: 0;
}
a { color: inherit; text-decoration: none; }
::selection { background: var(--accent); color: var(--ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.accent, .dot { color: var(--accent); }
ul, ol { list-style: none; }
main, .footer { position: relative; z-index: 1; }

.container { width: min(92%, max(1180px, 75vw)); margin-inline: auto; }

/* Type */
h1, h2 { font-weight: 300; text-transform: uppercase; letter-spacing: 0.01em; line-height: 1.12; }
h1 { font-size: clamp(1.9rem, 3.2vw, 2.9rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: 1rem; font-weight: 500; letter-spacing: 0.02em; }
em { font-family: var(--serif); font-style: italic; text-transform: none; font-weight: 400; font-size: 1.12em; letter-spacing: 0; }
.nowrap { white-space: nowrap; }
.eyebrow { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 1rem; }
.eyebrow::before, .eyebrow::after { color: var(--accent); }
.eyebrow::before { content: "[ "; }
.eyebrow::after { content: " ]"; }
.lead { font-size: 1rem; color: var(--muted); margin-top: 1rem; max-width: 52ch; }

/* Buttons */
.btn {
  display: inline-block; padding: 0.7rem 1.5rem; border-radius: 999px;
  font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase;
  cursor: pointer; border: 1px solid var(--ink); background: transparent; color: var(--ink);
  transition: background 0.2s, color 0.2s;
}
.btn:hover { background: var(--ink); color: #fff; }
.btn--primary { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.btn--primary:hover { background: #e67300; border-color: #e67300; color: var(--ink); }
.btn--outline { background: rgba(255, 255, 255, 0.35); }
.btn--outline:hover { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.btn--sm { padding: 0.5rem 1.1rem; }

/* Nav */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 10; transition: background 0.3s, box-shadow 0.3s, backdrop-filter 0.3s; }
.nav.scrolled { background: rgba(228, 228, 228, 0.82); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--hair); }
.nav__inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 4.75rem; }
.logo { display: inline-flex; align-items: center; justify-self: start; }
.logo img { display: block; height: 2.2rem; width: auto; } /* wordmark only */
.nav__links { display: flex; align-items: center; gap: 1.75rem; font-family: var(--mono); font-size: 0.78rem; }
.nav__links a:not(.btn) { color: var(--ink); opacity: 0.85; text-shadow: 0 0 10px rgba(232, 232, 232, 0.95), 0 0 4px rgba(232, 232, 232, 0.9); transition: opacity 0.2s; }
.nav__links a:not(.btn)::after { content: " ↗"; color: var(--muted); }
.nav__links a:not(.btn):hover { opacity: 1; }
.nav__links a:not(.btn):hover::after { color: var(--accent); }
.nav__cta { justify-self: end; }
.nav__cta-mobile { display: none; }
.m-br { display: none; } /* line break that only applies on phones */
.nav.open { background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; } /* a backdrop filter would trap the fixed menu inside the bar */
html.menu-open { overflow: hidden; }
html.menu-open .to-top { display: none; }
.nav__toggle { display: none; background: none; border: 0; width: 40px; height: 40px; cursor: pointer; position: relative; margin-right: -8px; justify-self: end; }
.nav__toggle span { position: absolute; left: 9px; right: 9px; height: 1px; background: var(--ink); transition: transform 0.2s; }
.nav__toggle span:first-child { top: 16px; }
.nav__toggle span:last-child { top: 23px; }
.nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* Hero */
.hero { position: relative; overflow: hidden; height: 100vh; height: 100svh; min-height: 560px; padding: 5.5rem 0 2rem; display: flex; align-items: stretch; background: #e4e4e4; }
/* desktop: the footage fills the right side and fades into the page on the left, so the headline stays on clean background */
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media video {
  position: absolute; top: 0; right: -6%; width: 62%; height: 100%; object-fit: cover;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 32%); mask-image: linear-gradient(to right, transparent 0, #000 32%);
}
/* subtle texture: fine film grain over everything, plus a faint dot grid that fades out toward the footage */
.hero__texture { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hero__texture::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(0, 0, 0, 0.2) 1px, transparent 1.3px); background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(90deg, #000 0%, transparent 60%); mask-image: linear-gradient(90deg, #000 0%, transparent 60%);
}
.hero__texture::after {
  content: ""; position: absolute; inset: 0; opacity: 0.11; mix-blend-mode: multiply;
  background-image: var(--grain);
}
.hero::before { /* top fade so the nav stays readable over the footage */
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 30%; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(228, 228, 228, 0.9) 0%, rgba(228, 228, 228, 0.5) 50%, rgba(228, 228, 228, 0) 100%);
}
.hero::after { /* bottom fade so the subhead, buttons and stats stay readable */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 42%; z-index: 0; pointer-events: none;
  background: linear-gradient(0deg, rgba(228, 228, 228, 0.96) 0%, rgba(228, 228, 228, 0.75) 40%, rgba(228, 228, 228, 0) 100%);
}
.hero__grid {
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  gap: clamp(1.75rem, 6vh, 4.5rem); position: relative; z-index: 1;
}
.hero__title { position: relative; z-index: 2;
  font-size: clamp(2.2rem, min(4.9vw, 10vh), 11rem); line-height: 0.95; letter-spacing: -0.02em; }
.hero__title em { font-size: 1.05em; }
.hero__foot { display: grid; gap: 1.25rem; justify-items: start; }
.hero__cta { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.hero__sub { font-size: clamp(0.85rem, 0.7vw + 0.2rem, 1.6rem); max-width: 48ch; text-wrap: balance; color: var(--muted); }
.hero__stats { display: grid; grid-template-columns: repeat(4, auto); gap: clamp(1.25rem, 3vw, 3.5rem); }
.hero__stats strong { display: block; font-family: var(--mono); font-size: clamp(1.4rem, 1.6vw + 0.4rem, 2.6rem); font-weight: 400; line-height: 1.2; }
.hero__stats span { color: var(--muted); font-size: 0.8rem; }
.hero__aside { position: absolute; right: 0; bottom: 0; display: grid; gap: 0.5rem; text-align: right; font-family: var(--mono); font-size: 0.72rem; color: var(--muted); }

/* Sparing texture on a few sections: film grain, plus a faint dot grid on one */
.tex { position: relative; }
.tex::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0.1; mix-blend-mode: multiply; background-image: var(--grain); }
.tex--dots::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: radial-gradient(rgba(0, 0, 0, 0.18) 1px, transparent 1.3px); background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(270deg, #000 0%, transparent 55%); mask-image: linear-gradient(270deg, #000 0%, transparent 55%);
}
.tex > .container { position: relative; z-index: 1; }


/* Sections */
.section { padding: 6rem 0; }
.section--alt { border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
/* How it works: full-width dark section that slides over the why-us section pinned beneath it */
.section--process { position: relative; z-index: 2; overflow: hidden; padding: 7rem 0;
  /* texture: faint light dot grid that fades out to the right, over the dark base */
  background: linear-gradient(90deg, rgba(26, 26, 26, 0) 0%, var(--dark) 75%), radial-gradient(rgba(255, 255, 255, 0.16) 1px, transparent 1.3px) 0 0 / 22px 22px, var(--dark); color: #eee; border-radius: 28px 28px 0 0; box-shadow: 0 -24px 60px rgba(0, 0, 0, 0.18); }
.section--process::before { /* light film grain: the shared noise, inverted so it reads on dark */
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0.1; filter: invert(1); background-image: var(--grain);
}
.section--process::after { content: ""; position: absolute; left: 20%; right: 20%; bottom: -70px; height: 120px; background: radial-gradient(ellipse at center, rgba(255, 128, 0, 0.5), transparent 70%); filter: blur(26px); pointer-events: none; }
.process { position: relative; z-index: 1; }
.process .eyebrow { color: var(--accent); }
.process .section__head { margin-bottom: 3rem; }
.section__head { margin-bottom: 3rem; }

.grid { display: grid; gap: 1.25rem; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.75rem; backdrop-filter: blur(8px); transition: transform 0.25s, background 0.25s;
}
.card:hover { transform: translateY(-3px); background: rgba(255, 255, 255, 0.65); }
.card__icon { font-family: var(--mono); font-size: 0.72rem; color: var(--accent-deep); margin-bottom: 2.5rem; }
.card h3 { margin-bottom: 0.4rem; }
.card p { color: var(--muted); font-size: 0.92rem; }

/* Industries */
.marquee { overflow: hidden; margin-top: 0.5rem;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; width: max-content; animation: marquee 45s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track li { flex: none; margin-right: 1rem; padding: 1.1rem 2.4rem; border: 1px solid var(--ink); border-radius: 999px; background: rgba(255, 255, 255, 0.35);
  font-family: var(--mono); font-size: 1.05rem; text-transform: uppercase; letter-spacing: 0.06em; white-space: nowrap; }
.marquee__track li::before { content: ""; display: inline-block; width: 0.45rem; height: 0.45rem; margin-right: 0.9rem; border-radius: 50%; background: var(--accent); vertical-align: 0.12em; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee { overflow-x: auto; } .marquee__track { animation: none; } }

/* Split layout */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.checks { display: grid; gap: 0; }
.checks li { padding: 1.1rem 0 1.1rem 2.2rem; position: relative; border-top: 1px solid var(--hair); }
.checks li:last-child { border-bottom: 1px solid var(--hair); }
.checks li::before { content: ""; position: absolute; left: 0; top: 1.55rem; width: 0.55rem; height: 0.55rem; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); }
.checks strong { display: block; font-weight: 500; }
.checks span { color: var(--muted); font-size: 0.92rem; }

/* Problems: full-width photo section that slides over the services section (which stays pinned underneath);
   the overlay is heavier on the list side to keep text legible */
.stack > :first-child { position: sticky; top: var(--stick, 0px); }
.section--problem {
  position: relative; z-index: 2; padding: 7rem 0; color: #f0f0f0; border-radius: 28px 28px 0 0;
  box-shadow: 0 -24px 60px rgba(0, 0, 0, 0.18);
  background:
    linear-gradient(90deg, rgba(14, 14, 14, 0.72) 0%, rgba(14, 14, 14, 0.82) 45%, rgba(14, 14, 14, 0.9) 100%),
    url("assets/problem.jpg") center / cover no-repeat;
}
.section--problem .split { align-items: center; }
.section--problem .eyebrow { color: var(--accent); }
.section--problem .lead { color: #c4c4c4; }
.problems li { display: grid; grid-template-columns: 3rem 1fr; padding: 1.4rem 0; border-top: 1px solid rgba(255, 255, 255, 0.2); }
.problems li:last-child { border-bottom: 1px solid rgba(255, 255, 255, 0.2); }
.problems span { font-family: var(--mono); font-size: 0.72rem; color: var(--accent); padding-top: 0.25rem; }
.problems h3 { margin-bottom: 0.25rem; color: #fff; }
.problems p { color: #bdbdbd; font-size: 0.92rem; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.steps li { position: relative; padding-top: 2.25rem; }
/* the timeline: a track along the top of each step; an orange line draws across it as the step appears */
.steps li::before {
  content: ""; position: absolute; top: 0; left: 0; right: -1.5rem; height: 1px; background: #3a3a3a;
  background-image: linear-gradient(var(--accent), var(--accent)); background-repeat: no-repeat; background-size: 0% 100%;
  transition: background-size 1s ease; transition-delay: inherit;
}
.steps li:last-child::before { right: 0; }
.steps li.in::before { background-size: 100% 100%; }
.steps li::after { /* node on the line */
  content: ""; position: absolute; top: -4px; left: 0; width: 9px; height: 9px; border-radius: 50%;
  background: var(--dark); border: 1px solid #5a5a5a; transition: background 0.4s, border-color 0.4s, box-shadow 0.4s; transition-delay: inherit;
}
.steps li.in::after { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 14px rgba(255, 128, 0, 0.75); }
.step__meta { margin-bottom: 1.75rem; }
.step__num { font-family: var(--mono); font-size: 0.75rem; color: var(--accent); }
.steps h3 { font-size: 1.25rem; font-weight: 400; color: #fff; transition: color 0.2s; }
.steps li:hover h3 { color: var(--accent); }
.steps p { color: #a8a8a8; font-size: 0.92rem; margin-top: 0.4rem; }
.steps .step__get { margin-top: 1.25rem; font-family: var(--mono); font-size: 0.72rem; color: #e2e2e2; }
.steps .step__get::before { content: "→ "; color: var(--accent); }

/* Quotes */
.quote::before { content: "“"; display: block; font-family: var(--serif); font-size: 3rem; line-height: 0.6; color: var(--accent-deep); margin-bottom: 1rem; }
.quote p { color: var(--ink); font-size: 1rem; }
.quote footer { margin-top: 1.5rem; font-size: 0.85rem; font-family: var(--mono); }
.quote footer span { display: block; color: var(--muted); }

/* Contact */
.contact-list__address { margin-top: 1.25rem; }
.contact-list a:hover { color: var(--ink); text-decoration: underline; }
.contact-list { margin-top: 1.5rem; display: grid; gap: 0.4rem; color: var(--muted); font-family: var(--mono); font-size: 0.82rem; }
.form { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem; display: grid; gap: 1rem; backdrop-filter: blur(8px); }
.form label { display: grid; gap: 0.35rem; font-family: var(--mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.form input, .form select, .form textarea {
  font: inherit; font-family: "Inter", sans-serif; font-size: 0.95rem; text-transform: none; letter-spacing: 0; color: var(--ink);
  padding: 0.7rem 0.9rem; border: 1px solid var(--hair); border-radius: 12px; background: rgba(255, 255, 255, 0.6);
}
.form input:focus, .form select:focus, .form textarea:focus { outline: 1px solid var(--accent); border-color: var(--accent); }
.form .invalid { border-color: #c0392b; }
.form__status { font-size: 0.85rem; min-height: 1.3em; color: var(--accent-deep); }
.form__status.error { color: #c0392b; }

/* Contact: greyed-out map as a backdrop; the scrim keeps the text and form legible */
.section--contact { position: relative; overflow: hidden; }
.contact__map { position: absolute; inset: 0; z-index: 0; }
.contact__map iframe { width: 100%; height: 100%; border: 0; pointer-events: none; filter: grayscale(1) contrast(1.05) brightness(1.08); opacity: 0.75; }
.contact__map::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(228, 228, 228, 0.94) 0%, rgba(228, 228, 228, 0.7) 45%, rgba(228, 228, 228, 0.25) 100%); }
.section--contact > .container { position: relative; z-index: 1; }

/* Scroll progress: a thin orange line along the very top of the page */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 30; background: var(--accent); transform-origin: left; transform: scaleX(var(--p, 0)); pointer-events: none; }

/* Back to top */
.to-top { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 20; width: 2.75rem; height: 2.75rem; display: grid; place-items: center;
  border-radius: 50%; border: 1px solid var(--ink); background: rgba(232, 232, 232, 0.8); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  font-family: var(--mono); font-size: 1rem; opacity: 0; transform: translateY(10px); pointer-events: none; transition: opacity 0.3s, transform 0.3s, background 0.2s, color 0.2s; }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--ink); color: #fff; }

/* Legal pages */
.legal { padding: 9rem 0 5rem; }
.legal__inner { width: min(92%, 760px); }
.legal h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin-bottom: 0.5rem; }
.legal__meta { font-family: var(--mono); font-size: 0.75rem; color: var(--muted); margin-bottom: 1.5rem; }
.legal h2 { font-size: 1.15rem; margin: 2.5rem 0 0.6rem; }
.legal p, .legal li { color: #3d3d3d; font-size: 0.97rem; }
.legal .lead { font-size: 1.05rem; max-width: none; margin-bottom: 0.5rem; }
.legal ul { list-style: disc; padding-left: 1.25rem; display: grid; gap: 0.35rem; }
.legal a { text-decoration: underline; text-underline-offset: 3px; }

/* Footer */
.footer { border-top: 1px solid var(--hair); padding: 2rem 0 3rem; }
.footer__links { display: flex; flex-wrap: wrap; gap: 0.4rem 1.5rem; font-family: var(--mono); font-size: 0.75rem; }
.footer__links a:hover { color: var(--accent-deep); text-decoration: underline; }
.footer__inner { display: flex; justify-content: space-between; align-items: center; color: var(--muted); font-family: var(--mono); font-size: 0.75rem; flex-wrap: wrap; gap: 0.5rem; }

/* Hero entrance: elements rise in one after another */
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
.nav__inner > * { animation: rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.nav__inner > :nth-child(2) { animation-delay: 0.1s; } .nav__inner > :nth-child(3) { animation-delay: 0.2s; } .nav__inner > :nth-child(4) { animation-delay: 0.2s; }
.hero__title .line { display: block; animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.hero__title .line:nth-child(1) { animation-delay: 0.15s; }
.hero__title .line:nth-child(2) { animation-delay: 0.3s; }
.hero__title .line:nth-child(3) { animation-delay: 0.45s; }
.hero__sub { animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) 0.7s both; }
.hero__cta { animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) 0.85s both; }
.hero__stats { animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) 1s both; }
.hero__aside { animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) 1.15s both; }
@media (prefers-reduced-motion: reduce) { .nav__inner > *, .hero__title .line, .hero__sub, .hero__cta, .hero__stats, .hero__aside, .hero__media { animation: none; } }

/* Scroll reveal */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease, background 0.25s; }
.js .reveal.in { opacity: 1; transform: none; }
.js .card.reveal.in:hover { transform: translateY(-3px); }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

/* Responsive */
@media (max-width: 900px) {
  /* stacked contact: the text sits over the map, so use a top-to-bottom wash instead of the side fade */
  .contact__map::after { background: linear-gradient(180deg, rgba(228, 228, 228, 0.97) 0%, rgba(228, 228, 228, 0.93) 40%, rgba(228, 228, 228, 0.82) 100%); }
  .section--contact .form { background: rgba(255, 255, 255, 0.85); }
  /* stacked hero: text first, footage shown whole below it */
  .hero { height: auto; min-height: 0; display: block; padding: 6rem 0 3rem; }
  .hero::before, .hero::after { display: none; }
  .hero__media { position: relative; inset: auto; width: 100%; margin: 0.5rem 0 0; z-index: 2; animation: rise 1s cubic-bezier(0.2, 0.7, 0.2, 1) 1.2s both; }
  /* no box: the footage is full width and its edges fade into the page background */
  .hero__media video {
    position: static; display: block; width: 100%; height: auto; aspect-ratio: 16 / 9;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 22%, #000 78%, transparent 100%), linear-gradient(to right, transparent 0, #000 12%, #000 88%, transparent 100%);
    -webkit-mask-composite: source-in;
    mask-image: linear-gradient(to bottom, transparent 0, #000 22%, #000 78%, transparent 100%), linear-gradient(to right, transparent 0, #000 12%, #000 88%, transparent 100%);
    mask-composite: intersect;
  }
  .nav__links { gap: 1rem; }
  .hero__aside { display: none; }
  .split { grid-template-columns: 1fr; gap: 2.5rem; }
  .grid--3 { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 2.5rem; }
  .steps li:nth-child(even)::before { right: 0; }
  .hero__stats { grid-template-columns: repeat(2, auto); justify-content: start; }
}
@media (max-width: 720px) {
  .nav__inner { display: flex; justify-content: space-between; }
  .nav__cta { display: none; }
  .nav__toggle { display: block; }
  /* full-page menu */
  .nav__links {
    position: fixed; inset: 0; z-index: 11; display: none; flex-direction: column; align-items: flex-start; justify-content: center;
    gap: 1.4rem; padding: 6rem 6% 3rem; background: #e4e4e4;
  }
  .nav__links.open { display: flex; }
  .nav__links.open > * { animation: rise 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .nav__links.open > :nth-child(2) { animation-delay: 0.06s; } .nav__links.open > :nth-child(3) { animation-delay: 0.12s; }
  .nav__links.open > :nth-child(4) { animation-delay: 0.18s; } .nav__links.open > :nth-child(5) { animation-delay: 0.24s; }
  .nav__links a:not(.btn) { font-family: "Inter", sans-serif; font-weight: 300; font-size: clamp(1.9rem, 9vw, 2.8rem); line-height: 1.1; text-transform: uppercase; text-shadow: none; opacity: 1; }
  .nav__links a:not(.btn)::after { font-size: 0.5em; vertical-align: 0.5em; }
  .nav__cta-mobile { display: inline-block; margin-top: 1.25rem; padding: 0.95rem 2rem; font-size: 0.85rem; }
  .logo, .nav__toggle { position: relative; z-index: 12; }
  .m-br { display: inline; }
  /* headline fills the full content width: "Digital Processes." is ~9.81em wide, so 9.3vw leaves a hair of margin */
  .hero__title { font-size: 9.3vw; }
  .hero__title .line { white-space: nowrap; }
  .grid--3, .steps { grid-template-columns: 1fr; }
  /* phones: the timeline turns vertical */
  .steps { row-gap: 0; }
  .steps li { padding: 0 0 2.25rem 2rem; }
  .steps li::before, .steps li:nth-child(even)::before { top: 5px; bottom: 0; left: 4px; right: auto; width: 1px; height: auto; background: #3a3a3a; }
  .steps li:last-child::before { display: none; }
  .steps li::after { top: 0; left: 0; }
  .step__meta { margin-bottom: 0.75rem; }
  .section { padding: 4rem 0; }
  .section--process { padding: 4rem 0; border-radius: 22px 22px 0 0; }
  .section--problem { padding: 4rem 0; border-radius: 22px 22px 0 0; }
}
