@font-face {
  font-family: "Neue Haas Grotesk";
  src: local("Neue Haas Grotesk Text Pro"), local("Neue Haas Grotesk Display Pro"), local("Helvetica Neue"), local("HelveticaNeue");
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
}

:root {
  --bg: #f8f8f6;
  --ink: #111111;
  --black: #000000;
  --muted: rgba(17, 17, 17, 0.48);
  --muted-invert: rgba(248, 248, 246, 0.58);
  --line: rgba(17, 17, 17, 0.105);
  --line-invert: rgba(248, 248, 246, 0.16);
  --gutter: clamp(24px, 3.75vw, 72px);
  --header: 74px;
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  --sans: "Neue Haas Grotesk", "Helvetica Neue", Arial, sans-serif;
  --mono: "SF Mono", "Roboto Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; }
html { background: var(--bg); scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  letter-spacing: -0.026em;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
}

body::before {
  background: linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / calc(100vw / 12) 100%;
  content: "";
  inset: 0;
  opacity: 0.34;
  pointer-events: none;
  position: fixed;
  z-index: 0;
}

::selection { background: var(--ink); color: var(--bg); }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input { font: inherit; }

.micro,
.site-nav,
.page-index,
.archive-form label,
.archive-form button,
.archive-form [data-form-note],
.site-footer {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.34em;
  line-height: 1.45;
  text-transform: uppercase;
}

.site-header {
  align-items: center;
  display: grid;
  grid-template-columns: 1fr auto;
  height: var(--header);
  left: 0;
  padding: 0 var(--gutter);
  position: fixed;
  right: 0;
  top: 0;
  transition: background 520ms var(--ease), backdrop-filter 520ms var(--ease), border-color 520ms var(--ease);
  z-index: 20;
}

.site-header.is-scrolled {
  background: rgba(248, 248, 246, 0.72);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.header-logo { width: 140px; }
.site-nav { display: flex; gap: clamp(22px, 3.5vw, 58px); }
.site-nav a { opacity: 0.62; transition: opacity 320ms var(--ease); }
.site-nav a:hover { opacity: 0.72; }

.snap-root { position: relative; z-index: 1; }
.page {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 0 clamp(14px, 1.6vw, 26px);
  height: 100vh;
  min-height: 680px;
  overflow: hidden;
  padding: calc(var(--header) + 34px) var(--gutter) 54px;
  position: relative;
}

.page-lines {
  border: 1px solid var(--line);
  inset: calc(var(--header) + 28px) var(--gutter) 48px;
  pointer-events: none;
  position: absolute;
}
.page-lines::before,
.page-lines::after {
  background: var(--line);
  content: "";
  position: absolute;
}
.page-lines::before { height: 1px; left: 0; right: 0; top: 62%; }
.page-lines::after { bottom: 0; right: 33.333%; top: 0; width: 1px; }

.hero-meta { grid-column: 1 / 4; }
.hero-meta span { display: block; }
.hero-place { color: var(--muted); grid-column: 10 / 13; justify-self: end; margin: 0; }
.hero-logo {
  align-self: center;
  grid-column: 3 / 11;
  justify-self: center;
  margin-top: 2vh;
  width: min(66vw, 950px);
}
.hero-line {
  align-self: end;
  grid-column: 1 / 8;
  font-size: clamp(20px, 2.1vw, 36px);
  font-weight: 300;
  justify-self: start;
  letter-spacing: -0.035em;
  line-height: 1.02;
  margin: 0 0 7vh;
  max-width: 460px;
}
.hero-line span { display: block; }

.manifesto {
  background: var(--black);
  color: var(--bg);
}
.manifesto::before { display: none; }
.manifesto .page-index { color: var(--muted-invert); grid-column: 1 / 3; }
.manifesto-copy {
  align-self: center;
  grid-column: 3 / 11;
}
.manifesto-copy h2 {
  font-size: clamp(70px, 11vw, 176px);
  font-weight: 500;
  letter-spacing: -0.082em;
  line-height: 0.88;
  margin: 0;
}
.manifesto-copy p {
  color: rgba(248, 248, 246, 0.42);
  font-size: clamp(14px, 1.05vw, 18px);
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin: clamp(78px, 10vw, 158px) 0 0;
}

.object .page-index { color: var(--muted); grid-column: 1 / 3; }
.object h2 {
  align-self: center;
  grid-column: 2 / 12;
  font-size: clamp(74px, 14.5vw, 236px);
  font-weight: 500;
  justify-self: center;
  letter-spacing: -0.088em;
  line-height: 0.88;
  margin: -12vh 0 0;
}

.archive .page-index { color: var(--muted); grid-column: 1 / 3; }
.archive-copy {
  align-self: center;
  grid-column: 3 / 12;
}
.archive-copy h2 {
  font-size: clamp(70px, 11.8vw, 188px);
  font-weight: 500;
  letter-spacing: -0.086em;
  line-height: 0.88;
  margin: 0;
}
.archive-form { margin-top: clamp(70px, 10vw, 150px); max-width: 1120px; }
.archive-form label { color: var(--muted); display: block; margin-bottom: 22px; }
.archive-row {
  align-items: end;
  border-bottom: 1px solid var(--ink);
  display: grid;
  gap: 28px;
  grid-template-columns: 1fr auto;
  padding-bottom: 18px;
}
.archive-form input {
  background: transparent;
  border: 0;
  color: var(--ink);
  font-size: clamp(44px, 8.8vw, 138px);
  font-weight: 500;
  letter-spacing: -0.09em;
  line-height: 0.92;
  min-width: 0;
  outline: 0;
  padding: 0;
}
.archive-form input::placeholder { color: rgba(17, 17, 17, 0.34); }
.archive-form button {
  background: transparent;
  border: 0;
  color: var(--ink);
  cursor: pointer;
  letter-spacing: 0.28em;
  padding: 0 0 15px;
  transition: opacity 360ms var(--ease);
}
.archive-form button:hover { opacity: 0.66; }
.archive-form [data-form-note] { color: var(--muted); margin: 18px 0 0; }

.site-footer {
  align-items: center;
  background: var(--black);
  color: var(--bg);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  min-height: 82px;
  padding: 0 var(--gutter);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 1500ms var(--ease), transform 1500ms var(--ease);
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
[data-parallax] { will-change: transform; }

@media (max-width: 900px) {
  .site-nav { display: none; }
  .page { display: block; min-height: 100svh; padding-bottom: 54px; }
  .hero-meta, .hero-place { display: inline-block; vertical-align: top; width: 49%; }
  .hero-place { text-align: right; }
  .hero-logo { margin: 30vh auto 0; width: min(78vw, 620px); }
  .hero-line { margin: 14vh 0 0; max-width: 430px; }
  .manifesto-copy, .archive-copy { margin-top: 24vh; }
  .object h2 { margin-top: 24vh; text-align: center; }
  .site-footer { grid-template-columns: 1fr; gap: 10px; padding-bottom: 24px; padding-top: 24px; }
}

@media (max-width: 620px) {
  :root { --gutter: 18px; --header: 64px; }
  body::before { display: none; }
  .micro, .site-nav, .page-index, .archive-form label, .archive-form button, .archive-form [data-form-note], .site-footer {
    font-size: 10px;
    letter-spacing: 0.24em;
  }
  .header-logo { width: 110px; }
  .page { min-height: 640px; }
  .page-lines { inset: calc(var(--header) + 22px) var(--gutter) 32px; }
  .hero-logo { margin-top: 29vh; width: 82vw; }
  .hero-line { font-size: clamp(24px, 6.5vw, 38px); }
  .manifesto-copy h2,
  .archive-copy h2 { font-size: clamp(54px, 16vw, 86px); }
  .archive-row { grid-template-columns: 1fr; }
  .archive-form button { justify-self: start; padding-bottom: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
