@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("assets/geist-latin.woff2") format("woff2");
}

:root {
  --paper: #f0efec;
  --ink: #181818;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Geist", Arial, Helvetica, sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.site-shell {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  min-height: 100svh;
  padding: 22px 24px clamp(48px, 7vw, 100px);
}

.ambient-code,
.interface-grid {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.ambient-code {
  z-index: -2;
  opacity: 0.82;
}

.interface-grid {
  z-index: -1;
  background-image:
    linear-gradient(rgba(24, 24, 24, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(24, 24, 24, 0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(circle at 50% 42%, black 0%, transparent 72%);
  mask-image: radial-gradient(circle at 50% 42%, black 0%, transparent 72%);
  opacity: 0.72;
}

.site-header {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 15px;
  font-weight: 660;
}

.site-header a {
  color: inherit;
  text-decoration: none;
}

.site-header a:hover,
.site-header a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.wordmark {
  font-size: 29px;
  font-weight: 760;
  letter-spacing: -0.12em;
}

.hero {
  position: relative;
  z-index: 1;
  width: min(1180px, 100%);
  margin: clamp(38px, 5vw, 72px) auto 0;
}

.eyebrow {
  flex: 0 0 auto;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(17px, 1.7vw, 25px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
  text-transform: none;
}

h1 {
  margin: 0;
  text-align: center;
  font-size: clamp(74px, 12.8vw, 190px);
  font-weight: 720;
  line-height: 0.82;
  letter-spacing: -0.075em;
  text-transform: uppercase;
}

.art-row,
.closing-line {
  display: flex;
  align-items: baseline;
  justify-content: center;
}

.art-row {
  gap: clamp(14px, 2vw, 30px);
  white-space: nowrap;
}

.closing-line {
  gap: 0.22em;
}

.symbol-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.08em;
  min-height: 0.92em;
}

.symbol-row > span:first-child {
  font-size: 0.43em;
  letter-spacing: 0;
}

.parenthesis {
  font-weight: 420;
}

.code {
  display: inline-block;
  padding: 0.04em 0.1em 0.07em;
  border: 2px solid var(--ink);
  background: #ff6848;
  font-size: 0.34em;
  line-height: 1;
  letter-spacing: -0.04em;
}

.statement {
  width: min(930px, 88%);
  margin: clamp(58px, 8vw, 108px) auto 0;
  display: grid;
  grid-template-columns: 1.05fr 1fr 1fr 1fr;
  gap: clamp(24px, 3vw, 48px);
  align-items: start;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(14px, 1.04vw, 17px);
  line-height: 1.5;
}

.statement p {
  margin: 0;
}

.statement .lead {
  font-family: "Geist", Arial, sans-serif;
  font-size: clamp(22px, 2.1vw, 33px);
  font-weight: 680;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.system-mark {
  position: fixed;
  right: 22px;
  bottom: 18px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.48;
}

.system-mark::before {
  width: 30px;
  height: 1px;
  background: currentColor;
  content: "";
}

.system-mark span:first-child {
  color: #ff6848;
}

@media (max-width: 760px) {
  .site-shell {
    padding: 20px 16px 64px;
  }

  .site-header {
    font-size: 14px;
  }

  .wordmark {
    font-size: 29px;
  }

  .hero {
    margin-top: clamp(70px, 20vw, 96px);
  }

  h1 {
    font-size: clamp(74px, 24vw, 104px);
    line-height: 0.82;
    letter-spacing: -0.08em;
  }

  .eyebrow {
    font-size: clamp(15px, 4.4vw, 19px);
  }

  .art-row {
    gap: clamp(8px, 2.7vw, 13px);
    font-size: 0.77em;
  }

  .symbol-row {
    gap: 0.04em;
    min-height: 0.98em;
  }

  .closing-line {
    flex-direction: column;
    align-items: center;
    gap: 0;
    margin-top: 0.03em;
  }

  .code {
    border-width: 1.5px;
  }

  .statement {
    width: 100%;
    margin-top: clamp(72px, 21vw, 96px);
    grid-template-columns: 1fr;
    gap: 26px;
    font-size: 18px;
    line-height: 1.52;
  }

  .statement .lead {
    max-width: 300px;
    font-size: 36px;
    line-height: 1.02;
  }

  .interface-grid {
    background-size: 42px 42px;
    opacity: 0.48;
  }

  .ambient-code {
    opacity: 0.62;
  }

  .system-mark {
    display: none;
  }
}

@media (max-width: 390px) {
  .site-header {
    font-size: 13px;
  }

  .statement {
    font-size: 17px;
  }
}

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

  .ambient-code {
    opacity: 0.46;
  }
}
