:root {
  color-scheme: dark;
  --ink: #f3f6f8;
  --muted: #9ba8b7;
  --line: rgba(183, 203, 221, 0.2);
  --accent: #8fc8eb;
  --deep: #08121f;
  --deep-soft: #0d1c2e;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--deep);
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 78% 18%, rgba(64, 135, 181, 0.13), transparent 33rem),
    linear-gradient(145deg, var(--deep-soft) 0%, var(--deep) 48%, #060d16 100%);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 5rem 5rem;
  content: "";
  mask-image: linear-gradient(to bottom, black, transparent 82%);
}

.page {
  display: grid;
  width: min(100% - 3rem, 82rem);
  min-height: 100svh;
  margin: 0 auto;
  grid-template-rows: auto 1fr auto;
}

.masthead {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 2.4rem 0 1.5rem;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  display: inline-flex;
  gap: 0.52rem;
  align-items: baseline;
  color: var(--ink);
  font-size: 1.34rem;
  font-weight: 650;
  letter-spacing: 0.085em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
}

.company-form {
  color: var(--accent);
  font-size: 0.68em;
  font-weight: 550;
  letter-spacing: 0.12em;
}

.descriptor {
  color: var(--muted);
  font-size: 0.86rem;
  letter-spacing: 0.06em;
}

.introduction {
  display: flex;
  max-width: 65rem;
  padding: clamp(5rem, 12vh, 9.5rem) 0 5.5rem;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.eyebrow {
  margin: 0 0 1.7rem;
  color: var(--accent);
  font-size: 0.79rem;
  font-weight: 650;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

h1 {
  max-width: 19ch;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.8rem, 6.2vw, 6.1rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.99;
  text-wrap: balance;
}

.summary {
  max-width: 36rem;
  margin: 2.6rem 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.35vw, 1.22rem);
  line-height: 1.7;
}

.contact {
  display: grid;
  width: min(100%, 36rem);
  margin-top: 3.2rem;
  padding: 1.15rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  grid-template-columns: 1fr auto auto;
  gap: 1.2rem;
  align-items: center;
  font-size: 0.93rem;
  text-decoration: none;
  transition: border-color 180ms ease, color 180ms ease;
}

.contact-address {
  color: var(--muted);
}

.contact svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
  transition: transform 180ms ease;
}

.contact:hover,
.contact:focus-visible {
  border-color: rgba(143, 200, 235, 0.62);
  color: var(--accent);
  outline: none;
}

.contact:hover svg,
.contact:focus-visible svg {
  transform: translateX(0.3rem);
}

.footer {
  display: flex;
  padding: 1.45rem 0 2.2rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  gap: 2rem;
  font-size: 0.77rem;
  letter-spacing: 0.025em;
}

.footer span:nth-child(2) {
  margin-left: auto;
}

@media (max-width: 640px) {
  .page {
    width: min(100% - 2rem, 82rem);
  }

  .masthead {
    padding-top: 1.7rem;
  }

  .descriptor {
    display: none;
  }

  .introduction {
    padding: 4.5rem 0;
  }

  h1 {
    max-width: 15ch;
    font-size: clamp(2.65rem, 13vw, 4rem);
    line-height: 1.02;
  }

  h1 br {
    display: none;
  }

  .summary {
    margin-top: 2rem;
  }

  .contact {
    grid-template-columns: 1fr auto;
    gap: 0.35rem 1rem;
  }

  .contact-address {
    grid-column: 1;
    grid-row: 2;
  }

  .contact svg {
    grid-column: 2;
    grid-row: 1 / span 2;
  }

  .footer {
    flex-wrap: wrap;
    gap: 0.55rem 1.25rem;
  }

  .footer span:nth-child(2) {
    width: 100%;
    margin: 0;
    order: 3;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
