@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600&family=Instrument+Serif:ital@0;1&display=swap");

:root {
  --ink: #111312;
  --paper: #f1eee7;
  --muted: #72736d;
  --line: rgba(17, 19, 18, 0.16);
  --dark-line: rgba(241, 238, 231, 0.18);
  --accent: #e66443;
  --white: #f7f5ef;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --sans: "Geist", "DM Sans", Arial, Helvetica, sans-serif;
  --mono: "Courier New", Courier, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
}
a { color: inherit; text-decoration: none; }

.site-header {
  align-items: center;
  display: flex;
  justify-content: space-between;
  left: 0;
  padding: 24px 42px;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 5;
}
.wordmark {
  color: var(--white);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: .19em;
}
.hero-footer, .built-by p {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.hero {
  background: #11171b;
  color: var(--white);
  min-height: 100svh;
  overflow: hidden;
  padding: 0 42px clamp(96px, 12vh, 132px);
  position: relative;
}
.hero-image,
.hero-overlay,
.hero-grid {
  height: 100%;
  inset: 0;
  position: absolute;
  width: 100%;
}
.hero-image {
  object-fit: cover;
  object-position: 58% center;
}
.hero-overlay {
  background:
    linear-gradient(90deg, rgba(10, 13, 15, .92) 0%, rgba(10, 13, 15, .65) 34%, rgba(10, 13, 15, .08) 77%),
    linear-gradient(180deg, rgba(10, 13, 15, .5) 0%, rgba(10, 13, 15, .05) 34%, rgba(10, 13, 15, .82) 100%);
  content: "";
  pointer-events: none;
}
.hero-grid {
  background:
    linear-gradient(90deg, rgba(247, 245, 239, .08) 1px, transparent 1px),
    linear-gradient(rgba(247, 245, 239, .08) 1px, transparent 1px);
  background-size: 120px 120px, 120px 120px;
  opacity: .2;
  pointer-events: none;
}
.hero-content {
  max-width: 940px;
  padding-top: clamp(300px, 45vh, 520px);
  position: relative;
  z-index: 1;
}
.hero-footer {
  bottom: clamp(52px, 7vh, 86px);
  color: rgba(247, 245, 239, .62);
  display: flex;
  left: 42px;
  position: absolute;
  right: 42px;
  z-index: 1;
}
h1, p { margin-top: 0; }
h1 { font-family: var(--serif); font-weight: 400; letter-spacing: -.025em; }
h1 { font-size: clamp(3.8rem, 7.4vw, 7rem); line-height: 1.02; margin: 26px 0 28px; max-width: 940px; }
.hero-copy { color: rgba(247, 245, 239, .72); font-size: 16px; line-height: 1.6; max-width: 400px; }
.built-by { align-items: center; display: grid; gap: clamp(38px, 5vw, 90px); grid-template-columns: minmax(180px, .45fr) minmax(0, 1.2fr); width: 100%; }
.built-by p { margin: 0; white-space: nowrap; }
.built-by-logos { align-items: center; display: flex; flex: 1; gap: clamp(14px, 2.5vw, 48px); justify-content: space-between; max-width: 760px; }
.logo-image { filter: grayscale(1) brightness(0) invert(1); object-fit: contain; opacity: .86; }
.logo-boston { height: 38px; object-fit: cover; object-position: center; width: 110px; }
.logo-ironclad { height: 28px; width: 120px; }
.logo-google { height: 28px; width: 82px; }
.logo-stripe { height: 30px; width: 72px; }

@media (max-width: 760px) {
  .site-header { padding: 22px; }
  .hero { min-height: 100svh; padding: 0 22px 84px; }
  .hero-image { object-position: 62% center; }
  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(10, 13, 15, .9) 0%, rgba(10, 13, 15, .52) 72%, rgba(10, 13, 15, .2) 100%),
      linear-gradient(180deg, rgba(10, 13, 15, .52) 0%, rgba(10, 13, 15, .05) 30%, rgba(10, 13, 15, .9) 100%);
  }
  .hero-content { padding-top: 38svh; }
  h1 { font-size: clamp(3.3rem, 15vw, 5.6rem); }
  .hero-footer { bottom: 38px; left: 22px; right: 22px; }
  .built-by { align-items: start; display: block; }
  .built-by-logos { display: grid; gap: 20px 30px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 20px; max-width: 260px; }
  .logo-boston { height: 32px; width: 92px; }
  .logo-ironclad { height: 24px; width: 100px; }
  .logo-google { height: 24px; width: 72px; }
  .logo-stripe { height: 26px; width: 64px; }
}
