:root {
  --paper: #f4f6f9;
  --paper-raised: #ffffff;
  --ink: #111827;
  --ink-muted: #5b6472;
  --ink-subtle: #98a1ae;
  --navy: #2563eb;
  --navy-deep: #1d4ed8;
  --line: #e6e9ee;
  --void: #07080c;
  --font: "IBM Plex Sans", ui-sans-serif, system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --hero: clamp(2.15rem, 1.1rem + 3.6vw, 3.6rem);
  --lede: clamp(1.05rem, 1rem + 0.3vw, 1.2rem);
  --max: 56rem;
  --shadow: 0 0 0 1px var(--line);
  --shadow-focus: 0 0 0 1px var(--navy);
}

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

html {
  -webkit-font-smoothing: antialiased;
  background: var(--paper);
  color: var(--ink);
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

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

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

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

p {
  margin: 0;
  text-wrap: pretty;
}

button:not(:disabled),
[role="button"]:not(:disabled) {
  cursor: pointer;
}

::selection {
  background: color-mix(in oklab, var(--navy) 18%, transparent);
  color: var(--ink);
}

.wrap {
  width: min(100%, var(--max));
  margin-inline: auto;
  padding-inline: 1.25rem;
}

@media (min-width: 768px) {
  .wrap {
    padding-inline: 2rem;
  }
}

.kicker {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.hero {
  margin-top: 1rem;
  max-width: 36rem;
  font-size: var(--hero);
  letter-spacing: -0.04em;
}

.lede {
  margin-top: 1.25rem;
  max-width: 36rem;
  font-size: var(--lede);
  line-height: 1.65;
  color: var(--ink-muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 2.5rem;
  padding: 0 1rem;
  border: 0;
  border-radius: 4px;
  background: var(--navy);
  color: #fff;
  font-family: var(--font);
  font-size: 0.875rem;
  font-weight: 500;
  transition: background 0.15s;
}

.btn:hover {
  background: var(--navy-deep);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: var(--shadow);
}

.btn-ghost:hover {
  background: transparent;
  box-shadow: var(--shadow-focus);
}

.btn-wide {
  width: 100%;
}

.link {
  text-underline-offset: 4px;
}

.link:hover {
  text-decoration: underline;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: var(--paper-raised);
}

.header-inner {
  display: flex;
  height: 4rem;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.brand img {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  object-fit: cover;
  outline: 1px solid rgb(17 24 39 / 0.15);
  outline-offset: -1px;
}

.brand-name {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
}

.brand-llc {
  margin-top: 0.25rem;
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 1.75rem;
}

.nav-desktop a {
  font-size: 0.875rem;
  color: var(--ink-muted);
}

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

.menu-toggle {
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--ink);
  box-shadow: var(--shadow);
}

.menu-toggle svg {
  width: 1.25rem;
  height: 1.25rem;
}

.nav-mobile {
  display: none;
  position: fixed;
  inset: 4rem 0 0 0;
  z-index: 40;
  background: var(--paper-raised);
  padding: 1rem 1.25rem;
}

.nav-mobile.open {
  display: flex;
  flex-direction: column;
}

.nav-mobile a {
  display: flex;
  min-height: 3rem;
  align-items: center;
  border-bottom: 1px solid var(--line);
  font-size: 1.25rem;
}

@media (min-width: 768px) {
  .nav-desktop {
    display: flex;
  }

  .menu-toggle,
  .nav-mobile {
    display: none !important;
  }
}

/* Earth */
.earth-band {
  position: relative;
  height: min(62vh, 34rem);
  overflow: hidden;
  background: var(--paper);
}

.earth-band video,
.earth-band .earth-still {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.earth-still {
  display: none;
}

.earth-fade {
  pointer-events: none;
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      var(--paper) 0%,
      var(--paper) 6%,
      color-mix(in oklab, var(--paper) 88%, transparent) 14%,
      color-mix(in oklab, var(--paper) 35%, transparent) 24%,
      transparent 34%,
      transparent 66%,
      color-mix(in oklab, var(--paper) 35%, transparent) 76%,
      color-mix(in oklab, var(--paper) 88%, transparent) 86%,
      var(--paper) 94%,
      var(--paper) 100%
    ),
    linear-gradient(
      180deg,
      var(--paper) 0%,
      color-mix(in oklab, var(--paper) 55%, transparent) 6%,
      transparent 16%,
      transparent 78%,
      color-mix(in oklab, var(--paper) 60%, transparent) 92%,
      var(--paper) 100%
    );
}

@media (prefers-reduced-motion: reduce) {
  .earth-band video {
    display: none;
  }

  .earth-band .earth-still {
    display: block;
  }
}

.intro {
  padding-top: 3rem;
  padding-bottom: 1rem;
}

.intro .btn {
  margin-top: 2rem;
}

@media (min-width: 768px) {
  .intro {
    padding-top: 4rem;
  }
}

/* Services list */
.catalog {
  padding-top: 3.5rem;
}

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

.catalog .row {
  display: grid;
  gap: 0.5rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--line);
}

.catalog dt {
  font-weight: 500;
  letter-spacing: -0.02em;
}

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

@media (min-width: 768px) {
  .catalog {
    padding-top: 5rem;
  }

  .catalog .row {
    grid-template-columns: 13rem 1fr;
    gap: 3rem;
    padding: 2.5rem 0;
  }
}

/* Story */
.story {
  padding: 4rem 0;
}

.story h2 {
  max-width: 36rem;
  font-size: 1.875rem;
}

.story-grid {
  display: grid;
  gap: 3rem;
  margin-top: 2rem;
}

.story-copy {
  display: grid;
  gap: 1rem;
  color: var(--ink-muted);
}

.triggers-label {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-subtle);
}

.triggers {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.triggers li {
  display: flex;
  gap: 0.65rem;
  font-size: 0.875rem;
  line-height: 1.4;
}

.triggers svg {
  flex-shrink: 0;
  width: 1rem;
  height: 1rem;
  margin-top: 0.15rem;
  color: var(--navy);
}

.band {
  border-block: 1px solid var(--line);
  background: var(--paper-raised);
}

.journey {
  list-style: none;
  margin: 0;
  padding: 0 0 0 1.5rem;
  border-left: 1px solid var(--line);
}

.journey li {
  position: relative;
  padding-bottom: 2rem;
}

.journey li:last-child {
  padding-bottom: 0;
}

.journey li::before {
  content: "";
  position: absolute;
  top: 0.4rem;
  left: -1.55rem;
  width: 0.625rem;
  height: 0.625rem;
  border-radius: 999px;
  background: var(--navy);
}

.step-n {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  color: var(--ink-subtle);
}

.journey h3 {
  margin-top: 0.25rem;
}

.journey p {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: var(--ink-muted);
}

@media (min-width: 768px) {
  .story {
    padding: 6rem 0;
  }

  .story-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 4rem;
  }

  .story-grid.approach {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

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

.cta-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 3rem 0;
}

.cta p {
  max-width: 28rem;
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}

@media (min-width: 768px) {
  .cta-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 4rem 0;
  }
}

/* Inner pages */
.page {
  padding: 3.5rem 0 5rem;
}

@media (min-width: 768px) {
  .page {
    padding: 5rem 0 7rem;
  }
}

.page .catalog {
  padding-top: 3.5rem;
}

.page h2 {
  margin-top: 4rem;
  max-width: 36rem;
  font-size: 1.875rem;
}

.page .story-copy {
  margin-top: 1.5rem;
  max-width: 36rem;
}

.page .btn {
  margin-top: 2.5rem;
}

/* Form */
.form {
  margin-top: 2.5rem;
  display: grid;
  gap: 1.25rem;
  max-width: 36rem;
}

.field {
  display: grid;
  gap: 0.5rem;
}

.field label {
  font-size: 0.875rem;
  font-weight: 500;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  height: 2.75rem;
  padding: 0 0.875rem;
  border: 0;
  border-radius: 4px;
  background: var(--paper-raised);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1rem;
  box-shadow: var(--shadow);
  outline: none;
}

.field textarea {
  height: 8rem;
  padding: 0.75rem 0.875rem;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  box-shadow: var(--shadow-focus);
}

@media (min-width: 768px) {
  .field input,
  .field select,
  .field textarea {
    font-size: 0.875rem;
  }
}

.thanks {
  margin-top: 2.5rem;
  max-width: 36rem;
  padding: 1.5rem;
  border: 1px solid var(--line);
  background: var(--paper-raised);
}

.thanks h2 {
  margin: 0;
  font-size: 1.5rem;
}

.thanks p {
  margin-top: 1rem;
  color: var(--ink-muted);
}

.thanks .btn {
  margin-top: 2rem;
}

.hidden {
  display: none !important;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--paper-raised);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 2.5rem 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  font-size: 0.875rem;
  color: var(--ink-muted);
}

.footer-links a:hover {
  color: var(--ink);
}

.copy {
  font-size: 0.875rem;
  color: var(--ink-subtle);
}

@media (min-width: 768px) {
  .footer-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}