:root {
  --bg: #0b0b0a;
  --bg-raised: #121211;
  --line: #24231f;
  --line-strong: #34322d;
  --text: #ebe7de;
  --muted: #9a9488;
  --dim: #5d5950;
  --lamp: #f0bf68;
  --lamp-soft: rgba(240, 191, 104, 0.14);
  --sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --wrap: 1120px;
  --x: 70%;
  --y: 40%;
}

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration-color: var(--dim);
  text-underline-offset: 3px;
  transition: color 0.15s, text-decoration-color 0.15s;
}

a:hover {
  color: var(--lamp);
  text-decoration-color: var(--lamp);
}

:focus-visible {
  outline: 2px solid var(--lamp);
  outline-offset: 3px;
}

::selection {
  background: var(--lamp);
  color: #111;
}

h1,
h2,
h3 {
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0;
}

p {
  margin: 0 0 1em;
}

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 28px;
}

.skip {
  position: absolute;
  left: -9999px;
}

.skip:focus {
  left: 16px;
  top: 16px;
  background: var(--lamp);
  color: #111;
  padding: 8px 12px;
  z-index: 10;
}

/* Header */

.site-header {
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgba(11, 11, 10, 0.92);
  backdrop-filter: blur(6px);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 1px;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.brand:hover {
  color: var(--text);
}

.brand .i {
  position: relative;
  display: inline-block;
  line-height: 1;
}

.brand .i::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0.13em;
  width: 0.17em;
  height: 0.17em;
  margin-left: -0.065em;
  border-radius: 50%;
  background: var(--lamp);
  box-shadow: 0 0 10px 2px rgba(240, 191, 104, 0.55);
}

.nav {
  display: flex;
  gap: 32px;
  font-size: 15px;
}

.nav a {
  text-decoration: none;
  color: var(--muted);
}

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

.nav a[aria-current="page"] {
  box-shadow: 0 1px 0 var(--lamp);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line-strong);
  color: var(--text);
  font: 14px var(--mono);
  padding: 6px 10px;
  cursor: pointer;
}

/* Hero */

.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: radial-gradient(520px circle at var(--x) var(--y), var(--lamp-soft), transparent 70%);
}

.hero .wrap {
  padding-top: 140px;
  padding-bottom: 120px;
  position: relative;
}

.eyebrow {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 28px;
}

.hero h1 {
  font-size: clamp(44px, 7.2vw, 92px);
  max-width: 13ch;
  position: relative;
}

.hero h1 .base {
  color: #3b3934;
}

.hero h1 .lit {
  position: absolute;
  inset: 0;
  color: var(--text);
  pointer-events: none;
  -webkit-mask-image: radial-gradient(300px circle at var(--hx, 60%) var(--hy, 50%), #000 35%, transparent 75%);
  mask-image: radial-gradient(300px circle at var(--hx, 60%) var(--hy, 50%), #000 35%, transparent 75%);
}

.hero .lede {
  max-width: 560px;
  margin-top: 36px;
  font-size: 19px;
  color: var(--muted);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 40px;
}

.btn {
  display: inline-block;
  padding: 13px 22px;
  border: 1px solid var(--line-strong);
  text-decoration: none;
  font-size: 15px;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
}

.btn:hover {
  border-color: var(--lamp);
  color: var(--lamp);
}

.btn.primary {
  background: var(--text);
  color: #111;
  border-color: var(--text);
}

.btn.primary:hover {
  background: var(--lamp);
  border-color: var(--lamp);
  color: #111;
}

/* Page header (inner pages) */

.page-head {
  border-bottom: 1px solid var(--line);
  background: radial-gradient(480px circle at 85% 0%, var(--lamp-soft), transparent 70%);
}

.page-head .wrap {
  padding-top: 96px;
  padding-bottom: 72px;
}

.page-head h1 {
  font-size: clamp(36px, 5vw, 60px);
  max-width: 18ch;
}

.page-head p {
  max-width: 600px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 19px;
}

/* Sections */

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

.section .wrap {
  padding-top: 96px;
  padding-bottom: 96px;
}

.split {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 56px;
}

.label {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.section h2 {
  font-size: clamp(28px, 3.4vw, 40px);
  max-width: 22ch;
  margin-bottom: 24px;
}

.prose {
  max-width: 640px;
  color: #cfcac0;
}

.prose p:last-child {
  margin-bottom: 0;
}

/* Rows: used for services and steps */

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

.row {
  display: grid;
  grid-template-columns: 64px 1fr 1.3fr;
  gap: 32px;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
}

.row .num {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--dim);
  padding-top: 5px;
}

.row h3 {
  font-size: 22px;
}

.row p {
  color: var(--muted);
  margin: 0;
}

a.row {
  text-decoration: none;
  transition: background 0.2s;
}

a.row:hover {
  color: inherit;
}

a.row:hover h3 {
  color: var(--lamp);
}

/* Service detail blocks */

.service {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 56px;
  padding: 72px 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 80px;
}

.service:last-child {
  border-bottom: 0;
}

.service h2 {
  font-size: 30px;
  margin-bottom: 12px;
}

.service .tag {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--dim);
}

.service .body p {
  color: #cfcac0;
  max-width: 620px;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 32px;
  max-width: 680px;
}

.checklist li {
  position: relative;
  padding-left: 20px;
  color: var(--muted);
  font-size: 15.5px;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 8px;
  height: 1px;
  background: var(--lamp);
}

/* Facts strip */

.facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
}

.fact {
  padding: 28px 24px 0 0;
}

.fact strong {
  display: block;
  font-size: clamp(22px, 2.5vw, 30px);
  white-space: nowrap;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.fact span {
  color: var(--muted);
  font-size: 15px;
}

/* Simple two column list */

.pairs {
  margin: 0;
  border-top: 1px solid var(--line);
}

.pairs div {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.pairs dt {
  color: var(--text);
}

.pairs dd {
  margin: 0;
  color: var(--muted);
}

/* Contact */

.mail {
  display: inline-block;
  font-size: clamp(26px, 4.4vw, 52px);
  letter-spacing: -0.02em;
  text-decoration: none;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 6px;
  word-break: break-all;
}

.mail:hover {
  border-color: var(--lamp);
}

.note {
  font-family: var(--mono);
  font-size: 13.5px;
  color: var(--muted);
}

/* CTA band */

.cta .wrap {
  padding-top: 88px;
  padding-bottom: 88px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  flex-wrap: wrap;
}

.cta h2 {
  font-size: clamp(28px, 3.6vw, 44px);
  max-width: 18ch;
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14.5px;
}

.site-footer .wrap {
  padding-top: 48px;
  padding-bottom: 48px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
}

.site-footer .brand {
  color: var(--text);
  margin-bottom: 10px;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}

.site-footer a {
  text-decoration: none;
}

.site-footer .legal {
  grid-column: 1 / -1;
  border-top: 1px solid var(--line);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: var(--dim);
}

@media (hover: none), (prefers-reduced-motion: reduce) {
  .hero h1 .lit {
    -webkit-mask-image: linear-gradient(100deg, #000 30%, rgba(0, 0, 0, 0.35) 80%);
    mask-image: linear-gradient(100deg, #000 30%, rgba(0, 0, 0, 0.35) 80%);
  }
}

/* Responsive */

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

  .row {
    grid-template-columns: 40px 1fr;
    gap: 8px 16px;
  }

  .row p {
    grid-column: 2;
  }

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

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

  .pairs div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .site-footer .wrap {
    grid-template-columns: 1fr 1fr;
  }

  .site-footer .wrap > :first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  body {
    font-size: 16px;
  }

  .nav-toggle {
    display: block;
  }

  .nav {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 8px 28px 20px;
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
  }

  .nav a[aria-current="page"] {
    box-shadow: none;
    color: var(--lamp);
  }

  .hero .wrap {
    padding-top: 96px;
    padding-bottom: 88px;
  }

  .section .wrap {
    padding-top: 72px;
    padding-bottom: 72px;
  }
}

.split.head {
  margin-bottom: 40px;
}

h2.flush,
.section h2.flush {
  margin: 0;
}

.note.spaced {
  margin-top: 20px;
}

.service:first-child {
  padding-top: 0;
}
