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

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

:root {
  --black: #000000;
  --white: #ffffff;
  --grey: #b5b5b5;
  --muted: #747474;
  --line: rgba(255, 255, 255, 0.08);
  --page: clamp(1.25rem, 4vw, 4.5rem);
  --font-geist-sans: "Geist";
  --font-geist-mono: "Geist Mono";
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0 solid;
}

html {
  scroll-behavior: smooth;
  background: var(--black);
  -webkit-text-size-adjust: 100%;
  line-height: 1.5;
  tab-size: 4;
}

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--font-geist-sans), Arial, Helvetica, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  line-height: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
}

img,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

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

a:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 0.35rem;
}

::selection {
  background: var(--white);
  color: var(--black);
}

.site-header {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 0;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 1.6rem var(--page);
  border-bottom: 1px solid var(--line);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.brand-lockup,
.brand-mark {
  display: block;
  filter: invert(1);
  object-fit: contain;
}

.brand-lockup {
  width: 7rem;
  height: auto;
}

.brand-mark {
  display: none;
  width: 1.5rem;
  height: 2rem;
}

nav {
  display: flex;
  align-items: center;
  gap: clamp(1.15rem, 3vw, 2.8rem);
  color: var(--grey);
  font-size: 0.82rem;
}

nav a,
.footer a {
  transition: color 220ms ease;
}

nav a:hover,
.footer a:hover {
  color: var(--white);
}

.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  grid-template-rows: auto 1fr auto;
  overflow: hidden;
  padding: 7.5rem var(--page) 2rem;
  border-bottom: 1px solid var(--line);
}

.hero::before,
.section::before,
.footer::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(var(--page) + 11.5rem);
  width: 1px;
  background: var(--line);
  content: "";
  pointer-events: none;
}

.hero-kicker {
  display: flex;
  justify-content: space-between;
  color: var(--grey);
  font-family: var(--font-geist-mono), monospace;
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-title {
  max-width: 9.7em;
  align-self: center;
  margin: 7vh 0 5vh;
  font-size: clamp(3.85rem, 9.35vw, 10.5rem);
  font-weight: 430;
  letter-spacing: -0.072em;
  line-height: 0.87;
  text-wrap: balance;
}

.hero-title em {
  color: var(--grey);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -0.055em;
}

.hero-bottom {
  display: grid;
  grid-template-columns: minmax(11.5rem, 0.28fr) minmax(16rem, 1fr) auto;
  align-items: end;
  gap: 2.5rem;
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
}

.hero-bottom p {
  grid-column: 2;
  max-width: 34rem;
  margin: 0;
  color: var(--grey);
  font-size: clamp(1rem, 1.25vw, 1.25rem);
  line-height: 1.55;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  padding-bottom: 0.35rem;
  font-size: 0.86rem;
  transition: gap 250ms ease, border-color 250ms ease;
}

.text-link:hover {
  gap: 2.5rem;
  border-color: var(--white);
}

.arrow-up-right {
  flex: 0 0 auto;
  width: 1em;
  height: 1em;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 1;
  stroke-linecap: square;
  stroke-linejoin: miter;
}

.section {
  position: relative;
  display: grid;
  grid-template-columns: 11.5rem 1fr;
  column-gap: clamp(2rem, 5vw, 6rem);
  scroll-margin-top: 2rem;
  padding: clamp(7rem, 13vw, 12.5rem) var(--page);
  border-bottom: 1px solid var(--line);
}

.section-label {
  display: flex;
  align-self: start;
  justify-content: space-between;
  padding-right: 1.5rem;
  color: var(--muted);
  font-family: var(--font-geist-mono), monospace;
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section h2 {
  margin: 0;
  font-size: clamp(2.8rem, 6vw, 6.8rem);
  font-weight: 430;
  letter-spacing: -0.062em;
  line-height: 0.96;
  text-wrap: balance;
}

.about-copy {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(17rem, 0.65fr);
  gap: clamp(3rem, 8vw, 10rem);
}

.about-copy h2 {
  max-width: 10em;
}

.about-body {
  align-self: end;
  max-width: 31rem;
}

.about-body p,
.section-intro > p,
.build-heading > p,
.contact-copy > p {
  margin: 0 0 1.5rem;
  color: var(--grey);
  font-size: clamp(1rem, 1.25vw, 1.18rem);
  line-height: 1.65;
}

.section-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(17rem, 0.35fr);
  gap: clamp(3rem, 8vw, 10rem);
  align-items: end;
}

.section-intro h2 {
  max-width: 8.5em;
}

.section-intro > p {
  max-width: 27rem;
  margin-bottom: 0;
}

.principles {
  grid-column: 2;
  margin-top: clamp(5rem, 9vw, 9rem);
  border-top: 1px solid var(--line);
}

.principle,
.field {
  display: grid;
  grid-template-columns: 5rem minmax(15rem, 0.85fr) minmax(16rem, 0.65fr);
  gap: 2rem;
  align-items: baseline;
  padding: 2.1rem 0;
  border-bottom: 1px solid var(--line);
  transition: padding-left 300ms cubic-bezier(0.22, 1, 0.36, 1);
}

.principle:hover,
.field:hover {
  padding-left: 0.75rem;
}

.item-number {
  color: var(--muted);
  font-family: var(--font-geist-mono), monospace;
  font-size: 0.62rem;
}

.principle h3,
.field h3 {
  margin: 0;
  font-size: clamp(1.25rem, 2.2vw, 2.3rem);
  font-weight: 440;
  letter-spacing: -0.04em;
}

.principle p,
.field p {
  max-width: 29rem;
  margin: 0;
  color: var(--grey);
  font-size: 0.93rem;
  line-height: 1.6;
}

.section-build {
  background: #050505;
}

.build-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(17rem, 0.35fr);
  gap: clamp(3rem, 8vw, 10rem);
  align-items: end;
}

.build-heading h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -0.055em;
}

.build-heading > p {
  max-width: 28rem;
  margin-bottom: 0;
}

.fields {
  grid-column: 2;
  margin-top: clamp(5rem, 9vw, 9rem);
  border-top: 1px solid var(--line);
}

.field {
  grid-template-columns: 5rem minmax(14rem, 0.65fr) minmax(16rem, 1fr);
  min-height: 9rem;
}

.contact {
  min-height: 83svh;
}

.contact-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-copy h2 {
  font-size: clamp(4.8rem, 12vw, 13rem);
  letter-spacing: -0.08em;
}

.contact-copy > p {
  max-width: 30rem;
  margin: clamp(4rem, 10vw, 8rem) 0 3rem;
}

.email-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  overflow: hidden;
  padding: 1.5rem 0 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.36);
  border-bottom: 1px solid rgba(255, 255, 255, 0.36);
  font-size: clamp(1.5rem, 4vw, 4.4rem);
  letter-spacing: -0.05em;
  transition: padding 300ms cubic-bezier(0.22, 1, 0.36, 1), border-color 300ms ease;
}

.email-link:hover {
  padding-right: 1rem;
  padding-left: 1rem;
  border-color: var(--white);
}

.footer {
  position: relative;
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 0.7fr);
  gap: clamp(2rem, 5vw, 6rem);
  padding: 4.5rem var(--page) 2rem;
}

.footer-brand p {
  max-width: 15rem;
  margin: 2rem 0 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.5;
}

.footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--grey);
  font-size: 0.78rem;
}

.footer-column p {
  margin: 0 0 0.7rem;
  color: var(--muted);
  font-family: var(--font-geist-mono), monospace;
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-bottom {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.5fr 1fr auto;
  margin-top: 6rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--font-geist-mono), monospace;
  font-size: 0.58rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.load-in {
  animation: load-in 900ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.load-delay-1 {
  animation-delay: 90ms;
}

.load-delay-2 {
  animation-delay: 180ms;
}

@keyframes load-in {
  from {
    opacity: 0;
    transform: translateY(1rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@supports (animation-timeline: view()) {
  .reveal {
    opacity: 0;
    animation: reveal linear both;
    animation-timeline: view();
    animation-range: entry 8% cover 28%;
  }

}

@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(2rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.legal-page {
  min-height: 100svh;
  padding: 8rem var(--page) 5rem;
}

.legal-page .site-header {
  position: absolute;
}

.legal-shell {
  display: grid;
  grid-template-columns: 11.5rem minmax(0, 46rem);
  gap: clamp(2rem, 6vw, 7rem);
  padding-top: 5rem;
}

.legal-shell h1 {
  margin: 0 0 4rem;
  font-size: clamp(3.5rem, 8vw, 7.5rem);
  font-weight: 430;
  letter-spacing: -0.07em;
  line-height: 0.94;
}

.legal-content h2 {
  margin: 3.5rem 0 1rem;
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.legal-content p,
.legal-content li {
  color: var(--grey);
  font-size: 1rem;
  line-height: 1.75;
}

.legal-content ul {
  padding-left: 1.2rem;
}

.legal-meta {
  color: var(--muted);
  font-family: var(--font-geist-mono), monospace;
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  line-height: 1.6;
  text-transform: uppercase;
}

.error-page .legal-content p:last-child {
  margin-top: 2.5rem;
}

@media (max-width: 900px) {
  .hero::before,
  .section::before,
  .footer::before {
    display: none;
  }

  .hero-bottom {
    grid-template-columns: 1fr auto;
  }

  .hero-bottom p {
    grid-column: 1;
  }

  .section {
    grid-template-columns: 1fr;
  }

  .section-label {
    width: 11rem;
    margin-bottom: 4rem;
  }

  .about-copy,
  .section-intro,
  .build-heading {
    grid-template-columns: 1fr;
  }

  .about-body,
  .section-intro > p,
  .build-heading > p {
    margin-top: 3rem;
  }

  .principles,
  .fields {
    grid-column: 1;
  }

  .footer {
    grid-template-columns: 1.2fr repeat(2, 1fr);
  }

  .footer-email {
    grid-column: 2;
  }

  .legal-shell {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding-top: 1.15rem;
    padding-bottom: 1.15rem;
  }

  .site-header .brand-lockup {
    display: block;
  }

  .site-header .brand-mark {
    display: none;
  }

  nav {
    gap: 1rem;
    font-size: 0.72rem;
  }

  .hero {
    min-height: 100svh;
    padding-top: 6.2rem;
  }

  .hero-kicker span:last-child {
    display: none;
  }

  .hero-title {
    max-width: 8.8em;
    margin: 3.5rem 0;
    font-size: clamp(3.45rem, 17vw, 5.4rem);
  }

  .hero-bottom {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .text-link {
    width: max-content;
  }

  .section {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }

  .section-label {
    margin-bottom: 3rem;
  }

  .section h2 {
    font-size: clamp(2.65rem, 13vw, 4rem);
  }

  .about-body {
    margin-top: 2.5rem;
  }

  .principles,
  .fields {
    margin-top: 4.5rem;
  }

  .principle,
  .field {
    grid-template-columns: 2rem 1fr;
    gap: 1rem;
    align-items: start;
    padding: 1.6rem 0;
  }

  .principle p,
  .field p {
    grid-column: 2;
  }

  .principle:hover,
  .field:hover {
    padding-left: 0;
  }

  .contact {
    min-height: 72svh;
  }

  .contact-copy h2 {
    font-size: clamp(4.6rem, 23vw, 7rem);
  }

  .email-link {
    gap: 1rem;
    font-size: clamp(1.25rem, 6.3vw, 2rem);
  }

  .footer {
    grid-template-columns: 1fr 1fr;
    padding-top: 3.5rem;
  }

  .footer-brand {
    grid-column: 1 / -1;
    margin-bottom: 1rem;
  }

  .footer-brand .brand-lockup {
    display: block;
  }

  .footer-brand .brand-mark {
    display: none;
  }

  .footer-email {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    grid-template-columns: 1fr auto;
    gap: 0.8rem;
    margin-top: 3rem;
  }

  .footer-bottom span:nth-child(2) {
    display: none;
  }

  .legal-page {
    padding-top: 6rem;
  }

  .legal-shell {
    padding-top: 3rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
