:root {
  --bg: #0a0a0a;
  --fg: #f4f4f1;
  --muted: #b7b7b0;
  --faint: #9a9a93;
  --line: rgba(244, 244, 241, 0.16);
  --header: 4.25rem;
  --ease: 0.25s ease;
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: "Schibsted Grotesk", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.02;
  text-wrap: balance;
}

p {
  margin: 0;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 1px solid var(--fg);
  outline-offset: 4px;
}

::selection {
  background: var(--fg);
  color: var(--bg);
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 40;
  padding: 0.5rem 0.75rem;
  background: var(--fg);
  color: var(--bg);
  text-decoration: none;
}

.skip:focus {
  top: 1rem;
}

.wrap {
  width: min(1120px, calc(100% - 3rem));
  margin-inline: auto;
}

.label,
.section-head h2 {
  margin: 0;
  color: var(--faint);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-transform: uppercase;
}

.index {
  color: var(--faint);
  font-size: 0.8rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.08em;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header);
  gap: 1.5rem;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--fg);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.mark {
  display: block;
  width: 1.15rem;
  height: 1px;
  background: var(--fg);
  transition: width var(--ease);
}

.wordmark:hover .mark {
  width: 1.8rem;
}

.menu-toggle {
  display: none;
  padding: 0;
  border: 0;
  background: none;
  color: var(--fg);
  font: inherit;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.site-nav a,
.footer-nav a {
  color: var(--faint);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color var(--ease);
}

.site-nav a:hover,
.site-nav a[aria-current="page"],
.footer-nav a:hover,
.footer-nav a[aria-current="page"] {
  color: var(--fg);
}

.hero {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: calc(100svh - var(--header));
  padding: 2rem 0 3rem;
  border-bottom: 1px solid var(--line);
}

.hero h1 {
  max-width: 11em;
  font-size: clamp(3rem, 7vw, 6.25rem);
}

.hero-foot {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(16rem, 0.7fr);
  gap: 3rem;
  align-items: end;
}

.hero-aside p {
  max-width: 28rem;
  color: var(--muted);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 1.5rem;
  color: var(--fg);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-decoration: none;
  text-transform: uppercase;
}

.link-arrow span {
  display: inline-block;
  transition: transform var(--ease);
}

.link-arrow:hover span {
  transform: translateX(0.35rem);
}

.section {
  padding: 4.25rem 0;
}

.section + .section {
  padding-top: 0;
}

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.section-head .link-arrow {
  margin-top: 0;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.service-grid article {
  padding: 2rem 1.75rem 2.5rem 0;
}

.service-grid article + article {
  padding-left: 1.75rem;
  border-left: 1px solid var(--line);
}

.service-grid h3 {
  margin: 2.75rem 0 0.85rem;
  font-size: 1.45rem;
}

.service-grid h3 a {
  text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0 1px;
  transition: background-size var(--ease);
}

.service-grid h3 a:hover {
  background-size: 100% 1px;
}

.service-grid p:last-child {
  color: var(--muted);
}

.rows {
  border-bottom: 1px solid var(--line);
}

.row {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: baseline;
  padding: 1.35rem 0;
  border-top: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
}

.row-title {
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.1;
  transition: transform var(--ease);
}

.row .arrow {
  color: var(--faint);
  transition: transform var(--ease), color var(--ease);
}

.row:hover .row-title,
.row:hover .arrow {
  transform: translateX(0.4rem);
}

.row:hover .arrow,
.row:hover .index {
  color: var(--fg);
}

.page-hero {
  padding: 4.75rem 0 2.75rem;
  border-bottom: 1px solid var(--line);
}

.page-hero:has(.jump) {
  padding-bottom: 0;
  border-bottom: 0;
}

.page-hero h1 {
  max-width: 12em;
  margin-top: 1.25rem;
  font-size: clamp(2.6rem, 6vw, 4.75rem);
}

.block {
  padding: 0;
}

.split {
  border-bottom: 1px solid var(--line);
}

.split article,
.steps li {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
  padding: 2.35rem 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: 5.5rem;
}

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  border-bottom: 1px solid var(--line);
}

.split h2,
.steps h3,
.industry h2 {
  margin-bottom: 0.75rem;
  font-size: clamp(1.6rem, 2.5vw, 2.15rem);
}

.split p,
.steps p,
.prose {
  max-width: 38rem;
  color: var(--muted);
}

.split p + p,
.prose + .prose {
  margin-top: 1rem;
}

.jump {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.5rem;
  margin-top: 2.25rem;
  padding: 1.15rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.page-hero:has(.jump) + .block .split article:first-child {
  border-top: 0;
}

.jump a {
  color: var(--faint);
  font-size: 0.95rem;
  text-decoration: none;
  transition: color var(--ease);
}

.jump a:hover {
  color: var(--fg);
}

.lead {
  max-width: 16em;
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.18;
}

.prose {
  margin-top: 2rem;
}

.facts {
  margin-top: 4rem;
  border-top: 1px solid var(--line);
}

.facts div {
  display: grid;
  grid-template-columns: 11rem minmax(0, 1fr);
  gap: 1rem;
  align-items: baseline;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--line);
}

.facts dt {
  color: var(--faint);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.facts dd {
  margin: 0;
}

.contact-block {
  padding: 4.5rem 0 6rem;
}

.email {
  margin-top: 2.5rem;
  font-size: clamp(1.45rem, 3vw, 2.35rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.15;
  user-select: all;
}

.email a {
  color: inherit;
  text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0 1px;
  transition: background-size var(--ease);
}

.email a:hover {
  background-size: 100% 1px;
}

.site-footer {
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1.1fr;
  gap: 2rem;
  padding: 2.75rem 0 3.5rem;
  color: var(--muted);
}

.footer-name {
  margin-bottom: 0.35rem;
  color: var(--fg);
  font-weight: 500;
  letter-spacing: -0.03em;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.7rem;
}

.footer-note {
  max-width: 22rem;
}

.footer-note a {
  color: inherit;
  font-size: inherit;
  font-weight: 400;
  letter-spacing: normal;
  text-decoration: none;
  text-transform: none;
}

.footer-note a:hover {
  color: var(--fg);
}

@media (max-width: 860px) {
  .service-grid {
    grid-template-columns: 1fr;
  }

  .service-grid article,
  .service-grid article + article {
    padding: 1.75rem 0;
    border-left: 0;
  }

  .service-grid article + article {
    border-top: 1px solid var(--line);
  }

  .service-grid h3 {
    margin-top: 1.25rem;
  }

  .hero-foot,
  .footer-inner,
  .facts div {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    gap: 2rem;
  }
}

@media (max-width: 760px) {
  .wrap {
    width: min(1120px, calc(100% - 2.5rem));
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    display: none;
    position: fixed;
    z-index: 19;
    inset: var(--header) 0 0 0;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    gap: 1.15rem;
    padding: 2rem 1.25rem 3rem;
    background: var(--bg);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    font-size: clamp(2rem, 8vw, 2.75rem);
    font-weight: 500;
    letter-spacing: -0.045em;
    text-transform: none;
  }

  .site-nav a[aria-current="page"] {
    color: var(--fg);
  }

  .hero {
    min-height: calc(100svh - var(--header));
  }

  .hero h1 {
    font-size: clamp(2.7rem, 12vw, 4rem);
  }

  .section {
    padding: 4rem 0;
  }

  .page-hero {
    padding: 3.25rem 0 2.25rem;
  }
}

@media (max-width: 520px) {
  .split article,
  .steps li,
  .row {
    grid-template-columns: 2.4rem minmax(0, 1fr);
    gap: 0.75rem;
  }

  .row {
    grid-template-columns: 2.4rem minmax(0, 1fr) auto;
  }
}

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

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
