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

:root {
  --black: #000;
  --white: #fff;
  --ink: #1d1d1f;
  --grey: #86868b;
  --hair: #d2d2d7;
  --line: #2a2a2d;
  --ice: #a9c0ff;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --pad: clamp(22px, 5vw, 56px);
  --wide: 1240px;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
h1, h2, p, ol { margin: 0; padding: 0; }
::selection { background: var(--ice); color: #000; }
.dim { color: var(--grey); }

/* ---------- nav ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 10;
  background: rgba(0, 0, 0, .55);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.nav-in {
  max-width: var(--wide);
  height: 52px;
  margin: 0 auto;
  padding: 0 var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  color: var(--white);
  text-decoration: none;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.mark { width: 26px; height: 14px; display: block; }
.nav-note { font-size: 12px; color: var(--grey); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  background: var(--black);
}
#field {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
/* darkens the corner the headline sits in, so the marks never fight the words */
.shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, #000 4%, rgba(0, 0, 0, .86) 26%, rgba(0, 0, 0, 0) 62%),
    linear-gradient(to bottom, rgba(0, 0, 0, .7), rgba(0, 0, 0, 0) 22%);
  pointer-events: none;
}
.hero-in {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--wide);
  margin: 0 auto;
  padding: 120px var(--pad) clamp(40px, 8vh, 84px);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px 48px;
  flex-wrap: wrap;
  animation: arrive 1.6s var(--ease) both;
}
@keyframes arrive {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: none; }
}
h1 {
  font-size: clamp(2.7rem, 9.2vw, 8rem);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.05em;
}
/* ---------- statement ---------- */
.statement {
  background: var(--white);
  color: var(--grey);
  padding: clamp(110px, 22vh, 240px) var(--pad);
}
.statement p {
  max-width: var(--wide);
  margin: 0 auto;
  padding-right: min(22%, 260px);
  font-size: clamp(1.7rem, 4.4vw, 3.6rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.04em;
}
.statement b { font-weight: inherit; color: var(--ink); }

/* ---------- index ---------- */
.index {
  background: var(--white);
  color: var(--ink);
  padding: 0 var(--pad) clamp(90px, 16vh, 180px);
}
.index ol {
  list-style: none;
  max-width: var(--wide);
  margin: 0 auto;
  border-bottom: 1px solid var(--hair);
}
.index li {
  display: grid;
  grid-template-columns: 72px minmax(110px, 1fr) minmax(0, 3fr);
  align-items: baseline;
  gap: 0 24px;
  padding: clamp(22px, 3.4vw, 40px) 0;
  border-top: 1px solid var(--hair);
}
.index .n, .index .k {
  font-size: 15px;
  font-weight: 500;
  color: var(--grey);
  font-variant-numeric: tabular-nums;
  transition: color .3s;
}
.index .v {
  font-size: clamp(1.5rem, 3.6vw, 3rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.04em;
}
.index li:hover .n, .index li:hover .k { color: var(--ink); }

/* ---------- closing ---------- */
.closing {
  background: var(--black);
  padding: clamp(110px, 20vh, 220px) var(--pad) 0;
  overflow: hidden;
}
.closing h2 {
  max-width: var(--wide);
  margin: 0 auto;
  font-size: clamp(2.3rem, 6.4vw, 5.25rem);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.045em;
}
.contact {
  max-width: var(--wide);
  margin: clamp(36px, 6vh, 64px) auto 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  letter-spacing: -0.015em;
}
.contact .dim { font-size: 13px; letter-spacing: 0; }
/* plain text on purpose: one click selects the whole address, ready to copy */
.email {
  align-self: flex-start;
  -webkit-user-select: all;
  user-select: all;
  cursor: text;
}
.wordmark {
  display: block;
  width: 100%;
  max-width: var(--wide);
  height: auto;
  margin: clamp(80px, 16vh, 190px) auto 0;
  overflow: visible;
}
.wordmark text {
  font-family: var(--sans);
  font-size: 196px;
  font-weight: 600;
}

/* ---------- footer ---------- */
.foot {
  background: var(--black);
  padding: 0 var(--pad) calc(28px + env(safe-area-inset-bottom));
}
.foot-in {
  max-width: var(--wide);
  margin: 0 auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 24px;
  font-size: 12px;
  color: var(--grey);
}

/* ---------- reveal on scroll (only when JS is running) ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 1.1s var(--ease), transform 1.1s var(--ease);
}
.js .reveal.in { opacity: 1; transform: none; }

@media (max-width: 700px) {
  .statement p { padding-right: 0; }
  .index li {
    grid-template-columns: auto 1fr;
    gap: 10px 14px;
  }
  .index .v { grid-column: 1 / -1; }
}
@media (max-width: 380px) {
  .nav-note { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
