:root {
  --ink: #10110f;
  --muted: #5d6059;
  --line: rgba(16, 17, 15, 0.11);
  --paper: #f7f7f4;
  --paper-deep: #efefe9;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    linear-gradient(rgba(16,17,15,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16,17,15,.035) 1px, transparent 1px),
    var(--paper);
  background-size: 64px 64px;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

button, a { font: inherit; }
button { color: inherit; }

.page-shell {
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  overflow: hidden;
}

.site-header {
  width: 100%;
  padding: 26px clamp(24px, 4.5vw, 72px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
  background: rgba(247,247,244,.76);
  backdrop-filter: blur(14px);
  position: relative;
  z-index: 10;
}

.brand, .footer-brand { display: inline-flex; align-items: center; }
.brand img { width: 184px; height: auto; display: block; }

.header-cta, .primary-cta {
  border: 1px solid var(--ink);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  transition: transform .18s ease, background-color .18s ease, color .18s ease;
}

.header-cta {
  background: transparent;
  padding: 11px 16px;
  font-size: 13px;
  font-weight: 500;
}

.header-cta:hover, .primary-cta:hover {
  transform: translateY(-2px);
  background: var(--ink);
  color: var(--paper);
}

.hero {
  min-height: 680px;
  padding: clamp(90px, 14vh, 170px) clamp(24px, 7vw, 110px) 90px;
  position: relative;
  display: flex;
  align-items: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 53% 45%, rgba(255,255,255,.85), transparent 40%);
  pointer-events: none;
}

.hero-content {
  width: min(100%, 1040px);
  position: relative;
  z-index: 2;
}

.eyebrow {
  margin: 0 0 30px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.eyebrow span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ink);
  box-shadow: 0 0 0 5px rgba(16,17,15,.08);
}

h1 {
  margin: 0;
  max-width: 1000px;
  font-size: clamp(58px, 7.7vw, 124px);
  line-height: .92;
  letter-spacing: -.065em;
  font-weight: 500;
}

.subtext {
  max-width: 730px;
  margin: 38px 0 0;
  font-size: clamp(17px, 1.55vw, 23px);
  line-height: 1.52;
  letter-spacing: -.025em;
  color: var(--muted);
}

.primary-cta {
  margin-top: 40px;
  min-height: 58px;
  padding: 0 23px;
  background: var(--ink);
  color: var(--paper);
  font-size: 15px;
  font-weight: 500;
}
.primary-cta:hover { background: transparent; color: var(--ink); }

.signal {
  position: absolute;
  left: clamp(24px, 3.7vw, 58px);
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  gap: 13px;
  opacity: .15;
}
.signal span { width: 42px; height: 1px; background: var(--ink); }
.signal span:nth-child(2) { width: 24px; }
.signal span:nth-child(3) { width: 33px; }

.orbital {
  width: min(38vw, 550px);
  aspect-ratio: 1;
  position: absolute;
  right: -13vw;
  bottom: -16vw;
  opacity: .75;
  pointer-events: none;
}
.orbit {
  position: absolute;
  border: 1px solid rgba(16,17,15,.14);
  border-radius: 50%;
  inset: 0;
}
.orbit-two { inset: 16%; }
.core {
  position: absolute;
  width: 17%;
  aspect-ratio: 1;
  left: 41.5%;
  top: 41.5%;
  border-radius: 50%;
  background: var(--ink);
  box-shadow: 0 0 0 18px rgba(16,17,15,.04), 0 0 0 42px rgba(16,17,15,.025);
}

.site-footer {
  padding: 24px clamp(24px, 4.5vw, 72px);
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
  font-size: 12px;
  color: var(--muted);
  background: rgba(247,247,244,.8);
}
.footer-brand img { width: 126px; height: auto; display: block; opacity: .82; }
.footer-email { color: var(--ink); text-decoration: none; }
.footer-email:hover { text-decoration: underline; text-underline-offset: 4px; }
.site-footer p { margin: 0; justify-self: end; }

@media (max-width: 760px) {
  .site-header { padding: 20px 20px; }
  .brand img { width: 145px; }
  .header-cta { padding: 9px 12px; font-size: 12px; }
  .hero {
    min-height: 650px;
    padding: 95px 22px 82px;
    align-items: flex-start;
  }
  .hero-content { width: 100%; }
  .eyebrow { margin-bottom: 24px; }
  h1 { font-size: clamp(52px, 16vw, 78px); line-height: .96; }
  .subtext { margin-top: 28px; font-size: 17px; }
  .primary-cta { margin-top: 32px; width: 100%; }
  .signal { display: none; }
  .orbital { width: 80vw; right: -42vw; bottom: -21vw; }
  .site-footer {
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 25px 20px;
  }
  .site-footer p { justify-self: start; }
  .footer-brand img { width: 120px; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}

/* Mobile overflow and footer refinements */
html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

img,
svg {
  max-width: 100%;
}

.site-header > *,
.hero-content,
.site-footer > * {
  min-width: 0;
}

.footer-meta {
  display: contents;
}

@media (max-width: 760px) {
  .page-shell {
    width: 100%;
    max-width: 100vw;
  }

  .site-header {
    gap: 12px;
    padding: 18px 16px;
  }

  .brand {
    flex: 0 1 auto;
    min-width: 0;
  }

  .brand img {
    width: clamp(116px, 34vw, 140px);
  }

  .header-cta {
    flex: 0 0 auto;
    white-space: nowrap;
    gap: 7px;
    padding: 9px 10px;
    font-size: 11px;
  }

  .hero {
    width: 100%;
    max-width: 100vw;
    min-height: auto;
    padding: 76px 20px 72px;
    overflow: hidden;
  }

  .eyebrow {
    font-size: 11px;
    letter-spacing: .065em;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(48px, 13.4vw, 66px);
    line-height: .98;
    letter-spacing: -.06em;
    overflow-wrap: anywhere;
  }

  .subtext {
    max-width: 100%;
    font-size: 16px;
    line-height: 1.55;
    letter-spacing: -.018em;
    overflow-wrap: anywhere;
  }

  .primary-cta {
    max-width: 100%;
  }

  .site-footer {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 14px 18px;
    padding: 22px 16px;
  }

  .footer-brand {
    grid-row: 1;
    grid-column: 1;
  }

  .footer-brand img {
    width: 106px;
  }

  .footer-meta {
    display: flex;
    grid-row: 1;
    grid-column: 2;
    min-width: 0;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    font-size: 10px;
    white-space: nowrap;
  }

  .footer-meta p {
    justify-self: auto;
  }
}

@media (max-width: 390px) {
  .site-header {
    padding-inline: 14px;
  }

  .brand img {
    width: 112px;
  }

  .header-cta {
    font-size: 10.5px;
    padding-inline: 9px;
  }

  .hero {
    padding-inline: 18px;
  }

  h1 {
    font-size: clamp(45px, 13vw, 56px);
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .footer-brand,
  .footer-meta {
    grid-column: 1;
  }

  .footer-meta {
    justify-content: space-between;
    width: 100%;
    font-size: 10.5px;
  }
}
