:root {
  --ink: #070807;
  --ink-soft: #111310;
  --paper: #f0f0ea;
  --paper-bright: #f7f7f2;
  --acid: #dfff43;
  --line-dark: rgba(7, 8, 7, 0.18);
  --line-light: rgba(255, 255, 255, 0.2);
  --shell: min(100% - 64px, 1440px);
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --sans: "Manrope", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--ink);
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection {
  color: var(--ink);
  background: var(--acid);
}

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

img {
  display: block;
  max-width: 100%;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 12px 16px;
  color: var(--ink);
  background: var(--acid);
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.grain {
  position: fixed;
  z-index: 90;
  inset: 0;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.95' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.9'/%3E%3C/svg%3E");
}

.section-shell {
  width: var(--shell);
  margin-inline: auto;
}

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 50%;
  width: var(--shell);
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
  transform: translateX(-50%);
}

.brand {
  display: inline-flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 28px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.07em;
}

.brand__signal {
  display: inline-flex;
  gap: 3px;
  padding-top: 2px;
}

.brand__signal i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 10px rgba(223, 255, 67, 0.7);
  animation: signal 1.8s ease-in-out infinite;
}

.brand__signal i:nth-child(2) {
  animation-delay: 150ms;
}

.brand__signal i:nth-child(3) {
  animation-delay: 300ms;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 38px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav > a:not(.nav-contact) {
  opacity: 0.72;
  transition: opacity 180ms ease;
}

.site-nav > a:not(.nav-contact):hover {
  opacity: 1;
}

.nav-contact {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 13px 16px;
  color: var(--ink);
  background: var(--acid);
  border: 1px solid var(--acid);
  transition: color 220ms ease, background 220ms ease;
}

.nav-contact:hover {
  color: #fff;
  background: transparent;
}

.hero {
  position: relative;
  width: 100%;
  height: clamp(620px, 72svh, 820px);
  min-height: 0;
  overflow: hidden;
  color: #fff;
  background: #020302;
  isolation: isolate;
}

.hero__media,
.hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__media {
  z-index: -4;
  overflow: hidden;
}

.hero__media img {
  object-fit: cover;
  object-position: center;
  transform: scale(1.06);
  will-change: transform;
}

.hero__shade {
  position: absolute;
  z-index: -3;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.96) 0%, rgba(0, 0, 0, 0.76) 30%, rgba(0, 0, 0, 0.08) 68%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.75) 0%, transparent 42%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, transparent 30%);
}

.hero__light {
  position: absolute;
  z-index: -2;
  inset: 0;
  background: radial-gradient(
    520px circle at var(--mouse-x, 76%) var(--mouse-y, 52%),
    rgba(213, 255, 54, 0.12),
    transparent 68%
  );
  mix-blend-mode: screen;
}

.hero__grid {
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 100% 25%, 25% 100%;
  mask-image: linear-gradient(90deg, black, transparent 62%);
}

.hero__inner {
  width: var(--shell);
  height: 100%;
  min-height: 0;
  margin-inline: auto;
  padding: 118px 0 44px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.eyebrow {
  margin: 0;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.11em;
  line-height: 1.4;
  text-transform: uppercase;
}

.hero__eyebrow {
  width: min(520px, 52%);
  display: flex;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.65);
}

.hero__title {
  /* auto margins centre the title + footer pair in the space below the
     eyebrow, keeping the footer copy tight under the H1 */
  margin: auto 0 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 0.9;
}

.hero__promise {
  display: block;
  max-width: 1180px;
  margin-top: 0;
  font-size: clamp(2.55rem, 5.2vw, 5.25rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.96;
}

.hero__footer {
  width: min(720px, 62%);
  margin-top: 36px;
  margin-bottom: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 30px;
  justify-items: start;
}

.hero__footer .text-link {
  width: 150px;
}

.hero__footer p {
  max-width: 500px;
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
  line-height: 1.6;
}

.text-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.54);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.text-link span:last-child {
  transition: transform 240ms var(--ease);
}

.text-link:hover span:last-child {
  transform: translate(4px, -4px);
}

.scroll-cue {
  position: absolute;
  right: max(32px, calc((100vw - 1440px) / 2));
  bottom: 42px;
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.scroll-cue i {
  display: block;
  width: 44px;
  height: 1px;
  background: rgba(255, 255, 255, 0.45);
  transform-origin: left;
  animation: scan 2.4s var(--ease) infinite;
}

.section-index {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line-dark);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.section-index span:first-child {
  color: rgba(7, 8, 7, 0.45);
}

.section-index--light {
  border-color: var(--line-light);
}

.section-index--light span:first-child {
  color: rgba(255, 255, 255, 0.42);
}

.approach {
  padding: clamp(110px, 14vw, 220px) 0;
  background: var(--paper-bright);
}

.approach__statement {
  margin-top: clamp(100px, 12vw, 190px);
  display: grid;
  grid-template-columns: 1fr minmax(260px, 0.32fr);
  gap: clamp(56px, 9vw, 150px);
  align-items: end;
}

.approach h2 {
  max-width: 1030px;
  margin: 0;
  font-size: clamp(3.5rem, 7.2vw, 7.8rem);
  font-weight: 400;
  letter-spacing: -0.072em;
  line-height: 0.96;
}

.approach h2 em {
  display: block;
  color: rgba(7, 8, 7, 0.32);
  font-style: normal;
}

.approach__statement p {
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.7;
}

.capabilities {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: var(--ink);
  isolation: isolate;
}

.capabilities__image {
  position: relative;
  height: min(66vw, 720px);
  min-height: 470px;
  overflow: hidden;
  border-bottom: 1px solid var(--line-light);
}

.capabilities__image::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(180deg, rgba(7, 8, 7, 0.08) 20%, rgba(7, 8, 7, 0.98) 100%),
    linear-gradient(90deg, rgba(7, 8, 7, 0.1), transparent 54%, rgba(7, 8, 7, 0.18));
}

.capabilities__image picture,
.capabilities__image img {
  width: 100%;
  height: 100%;
}

.capabilities__image img {
  object-fit: cover;
  object-position: center 52%;
  scale: 1.06;
  filter: saturate(0.9) contrast(1.08);
}

.capabilities__shell {
  position: relative;
  z-index: 1;
  margin-top: -180px;
  padding-bottom: clamp(110px, 12vw, 190px);
}

.capabilities__header {
  margin: 74px 0 clamp(90px, 11vw, 160px);
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 80px;
  align-items: end;
}

.capabilities__header h2 {
  margin: 0;
  font-size: clamp(3.8rem, 7vw, 7.6rem);
  font-weight: 400;
  letter-spacing: -0.072em;
  line-height: 0.9;
}

.capabilities__header p {
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 14px;
  line-height: 1.7;
}

.capability-list {
  border-top: 1px solid var(--line-light);
}

.capability {
  --spot-x: 50%;
  position: relative;
  min-height: 220px;
  padding: 34px 0;
  display: grid;
  grid-template-columns: 70px minmax(260px, 1.1fr) minmax(260px, 0.72fr) 64px;
  gap: 28px;
  align-items: center;
  border-bottom: 1px solid var(--line-light);
  overflow: hidden;
  transition: padding 500ms var(--ease);
}

.capability::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  opacity: 0;
  background: radial-gradient(480px circle at var(--spot-x) 50%, rgba(223, 255, 67, 0.11), transparent 68%);
  transition: opacity 360ms ease;
}

.capability:hover {
  padding-inline: 16px;
}

.capability:hover::before {
  opacity: 1;
}

.capability__number {
  color: rgba(255, 255, 255, 0.42);
  font-family: var(--mono);
  font-size: 10px;
}

.capability h3 {
  margin: 0;
  font-size: clamp(2rem, 3.6vw, 4rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.capability p {
  max-width: 350px;
  margin: 0;
  color: rgba(255, 255, 255, 0.56);
  font-size: 13px;
  line-height: 1.65;
}

.capability__arrow {
  justify-self: end;
  color: var(--acid);
  font-size: 28px;
  transition: transform 280ms var(--ease);
}

.capability:hover .capability__arrow {
  transform: translate(5px, -5px);
}

.process {
  padding: clamp(110px, 14vw, 210px) 0;
  background: var(--paper-bright);
}

.process__layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.8fr) minmax(420px, 1fr);
  gap: clamp(70px, 11vw, 180px);
  align-items: start;
}

.process__intro {
  position: sticky;
  top: 60px;
}

.process__intro h2 {
  margin: clamp(90px, 10vw, 150px) 0 0;
  font-size: clamp(3.4rem, 5.7vw, 6.3rem);
  font-weight: 400;
  letter-spacing: -0.07em;
  line-height: 0.95;
}

.process__steps {
  margin: 0;
  padding: 0;
  list-style: none;
}

.process__steps li {
  min-height: 300px;
  padding: 32px 0 60px;
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 32px;
  border-top: 1px solid var(--line-dark);
}

.process__steps li > span {
  padding-top: 8px;
  color: rgba(7, 8, 7, 0.5);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.process__steps h3 {
  margin: 0 0 32px;
  font-size: clamp(2rem, 3vw, 3.6rem);
  font-weight: 400;
  letter-spacing: -0.05em;
}

.process__steps p {
  max-width: 410px;
  margin: 0;
  color: rgba(7, 8, 7, 0.66);
  font-size: 14px;
  line-height: 1.7;
}

.contact {
  position: relative;
  min-height: 78svh;
  overflow: hidden;
  color: var(--ink);
  background: var(--acid);
}

.contact__orb {
  position: absolute;
  width: min(58vw, 820px);
  aspect-ratio: 1;
  right: -12vw;
  top: 50%;
  border: 1px solid rgba(7, 8, 7, 0.25);
  border-radius: 50%;
  box-shadow:
    inset 0 0 80px rgba(255, 255, 255, 0.35),
    0 0 0 9vw rgba(7, 8, 7, 0.035),
    0 0 0 18vw rgba(7, 8, 7, 0.025);
  transform: translateY(-50%);
}

.contact__shell {
  position: relative;
  min-height: 78svh;
  padding: clamp(80px, 10vw, 140px) 0 54px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact h2 {
  margin: auto 0;
  font-size: clamp(5rem, 11.5vw, 12rem);
  font-weight: 500;
  letter-spacing: -0.085em;
  line-height: 0.78;
}

.contact__link {
  width: 100%;
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(7, 8, 7, 0.38);
  border-bottom: 1px solid rgba(7, 8, 7, 0.38);
  font-size: clamp(1.05rem, 1.7vw, 1.7rem);
  letter-spacing: -0.03em;
}

.contact__link span:last-child {
  font-size: 1.35em;
  transition: transform 280ms var(--ease);
}

.contact__link:hover span:last-child {
  transform: translate(6px, -6px);
}

.site-footer {
  padding: clamp(76px, 9vw, 130px) 0 28px;
  color: #fff;
  background: var(--ink);
}

.footer__grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.35fr) minmax(200px, 0.8fr) minmax(240px, 1fr) 100px;
  gap: 56px;
}

.brand--footer {
  font-size: 44px;
}

.footer__brand p,
.footer__grid address,
.footer__legal p {
  color: rgba(255, 255, 255, 0.56);
  font-size: 12px;
  font-style: normal;
  line-height: 1.75;
}

.footer__brand p {
  margin: 24px 0 0;
}

.footer__label {
  margin: 0 0 22px !important;
  color: rgba(255, 255, 255, 0.9) !important;
  font-family: var(--mono);
  font-size: 9px !important;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer__legal p {
  margin: 0;
}

.footer__links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer__links a {
  padding-bottom: 3px;
  border-bottom: 1px solid transparent;
  transition: border-color 180ms ease;
}

.footer__links a:hover {
  border-color: var(--acid);
}

.footer__bottom {
  margin-top: 100px;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--line-light);
  color: rgba(255, 255, 255, 0.42);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer__bottom p {
  margin: 0;
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 900ms var(--ease), transform 900ms var(--ease);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hero .is-visible:nth-child(2) {
  transition-delay: 100ms;
}

.hero .is-visible:nth-child(3) {
  transition-delay: 210ms;
}

@keyframes signal {
  0%, 70%, 100% { opacity: 0.3; transform: translateY(0); }
  35% { opacity: 1; transform: translateY(-2px); }
}

@keyframes scan {
  0%, 100% { transform: scaleX(0.3); opacity: 0.4; }
  50% { transform: scaleX(1); opacity: 1; }
}

@media (max-width: 1040px) {
  :root {
    --shell: min(100% - 44px, 920px);
  }

  .approach__statement,
  .capabilities__header {
    grid-template-columns: 1fr;
  }

  .approach__statement p,
  .capabilities__header p {
    max-width: 450px;
  }

  .capability {
    grid-template-columns: 54px 1fr 0.85fr 40px;
  }

  .process__layout {
    grid-template-columns: 1fr;
  }

  .process__intro {
    position: static;
  }

  .process__steps {
    margin-top: 70px;
  }

  .footer__grid {
    grid-template-columns: 1.2fr 1fr 1fr;
  }

  .footer__links {
    grid-column: 2 / -1;
    flex-direction: row;
  }
}

@media (max-width: 720px) {
  :root {
    --shell: calc(100% - 36px);
  }

  .site-header {
    height: 78px;
  }

  .hero {
    height: clamp(620px, 82svh, 700px);
  }

  .brand {
    font-size: 24px;
  }

  .site-nav > a:not(.nav-contact) {
    display: none;
  }

  .nav-contact {
    padding: 10px 12px;
    font-size: 9px;
  }

  .hero__media img {
    object-position: 67% center;
  }

  .hero__shade {
    background:
      linear-gradient(90deg, rgba(0, 0, 0, 0.93) 0%, rgba(0, 0, 0, 0.46) 78%, rgba(0, 0, 0, 0.15)),
      linear-gradient(0deg, rgba(0, 0, 0, 0.86), transparent 55%),
      linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent 35%);
  }

  .hero__inner {
    padding: 102px 0 32px;
  }

  .hero__eyebrow {
    width: 100%;
  }

  .hero__eyebrow span:last-child {
    display: none;
  }

  .hero__promise {
    max-width: 100%;
    margin-top: 0;
    font-size: clamp(2.5rem, 11.2vw, 3.9rem);
  }

  .hero__footer {
    width: 100%;
    margin-top: 38px;
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .hero__footer p {
    max-width: 390px;
    font-size: 12px;
  }

  .hero__footer .text-link {
    width: 145px;
  }

  .scroll-cue {
    display: none;
  }

  .approach__statement {
    margin-top: 76px;
    gap: 44px;
  }

  .approach h2 {
    font-size: clamp(3.2rem, 15vw, 5.2rem);
  }

  .capabilities__image {
    height: 72svh;
    min-height: 500px;
  }

  .capabilities__image img {
    object-position: 78% center;
    scale: 1.12;
  }

  .capabilities__shell {
    margin-top: -128px;
  }

  .capabilities__header {
    margin: 52px 0 80px;
    gap: 38px;
  }

  .capabilities__header h2 {
    font-size: clamp(3.5rem, 16vw, 5.5rem);
  }

  .capability {
    min-height: 280px;
    grid-template-columns: 40px 1fr 28px;
    gap: 18px;
    align-items: start;
  }

  .capability h3 {
    font-size: 2.8rem;
  }

  .capability p {
    grid-column: 2 / -1;
    max-width: 290px;
  }

  .capability__arrow {
    font-size: 22px;
  }

  .process__intro h2 {
    margin-top: 70px;
  }

  .process__steps li {
    min-height: 280px;
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .contact,
  .contact__shell {
    min-height: 70svh;
  }

  .contact__orb {
    width: 84vw;
    right: -42vw;
  }

  .contact h2 {
    font-size: clamp(4.4rem, 22vw, 7rem);
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 64px 30px;
  }

  .footer__brand {
    grid-column: 1 / -1;
  }

  .footer__legal {
    grid-column: 1 / -1;
  }

  .footer__links {
    grid-column: 1 / -1;
  }

  .footer__bottom {
    margin-top: 70px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .hero__media img {
    transform: none !important;
  }
}
