:root {
  --bg: #0b0b0a;
  --fg: #ecebe6;
  --muted: #8a8983;
  --faint: #3a3936;
  --gutter: clamp(16px, 4vw, 48px);
  --field: #ecebe6;
  --accent: #97c4b3;
  --field-gain: 1.4;

  --display: "Funnel Display", system-ui, sans-serif;
  --body: "Funnel Sans", system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, monospace;
}












* { box-sizing: border-box; margin: 0; padding: 0; }

html, body { height: 100%; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--body);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  overflow-x: hidden;
}

::selection { background: var(--fg); color: var(--bg); }

#field {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}

.vignette {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(120% 90% at 30% 55%, transparent 35%, var(--bg) 100%),
    linear-gradient(to bottom, var(--bg), transparent 18%, transparent 82%, var(--bg));
}

.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px var(--gutter);
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--fg);
  text-decoration: none;
  font-family: var(--display);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.03em;
  text-transform: none;
}

.mark span { color: var(--muted); }

.hero {
  align-self: center;
  padding: 0 var(--gutter);
  max-width: 1600px;
  width: 100%;
}

h1 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(44px, 7vw, 120px);
  line-height: 0.94;
  letter-spacing: -0.045em;
}

h1 span, h1 em { display: block; }

/* Cancel each line's left side bearing so the headline sits flush with the lede */
h1 span { margin-left: -0.069em; }
h1 em { margin-left: -0.042em; }

h1 em {
  font-style: normal;
  color: var(--muted);
}

.lede {
  position: relative;
  width: fit-content;
  margin-top: clamp(14px, 1.6vw, 22px);
  max-width: 34em;
  color: #b4b3ad;
  font-size: clamp(15px, 1.2vw, 17px);
  text-shadow: 0 0 18px rgba(236, 235, 230, 0.35);
}

/* Soft glow pooled beneath the line */
.lede::before {
  content: "";
  position: absolute;
  inset: -40% -14% -90%;
  z-index: -1;
  background: radial-gradient(50% 50% at 50% 60%, rgba(236, 235, 230, 0.09), transparent 70%);
  filter: blur(10px);
  pointer-events: none;
}

.foot { color: #55544f; }
.coords { font-variant-numeric: tabular-nums; }

/* Comes into focus — blurred to sharp */
.reveal {
  opacity: 0;
  filter: blur(14px);
  transform: translateY(8px);
  animation: focus 1.6s cubic-bezier(0.2, 0.7, 0.1, 1) var(--d, 0s) forwards;
}

@keyframes focus {
  to { opacity: 1; filter: blur(0); transform: none; }
}

@media (max-width: 640px) {
  .coords { display: none; }
  h1 { font-size: 14.5vw; line-height: 0.96; }
  .lede { margin-top: 18px; }
  /* Texture above and below; let it fall away behind the centred type */
  .vignette {
    background: linear-gradient(to bottom,
      var(--bg) 0%, transparent 12%,
      rgba(11, 11, 10, 0.88) 36%, rgba(11, 11, 10, 0.88) 66%,
      transparent 86%, var(--bg) 100%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { animation: none; opacity: 1; filter: none; transform: none; }
}
