@font-face { font-family: "Schibsted Grotesk"; src: url("fonts/schibsted-grotesk-400-latin-ext.woff2") format("woff2"); font-weight: 400; unicode-range: U+0100-024F, U+1E00-1EFF; font-display: swap; }
@font-face { font-family: "Schibsted Grotesk"; src: url("fonts/schibsted-grotesk-400-latin.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Schibsted Grotesk"; src: url("fonts/schibsted-grotesk-500-latin-ext.woff2") format("woff2"); font-weight: 500; unicode-range: U+0100-024F, U+1E00-1EFF; font-display: swap; }
@font-face { font-family: "Schibsted Grotesk"; src: url("fonts/schibsted-grotesk-500-latin.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Schibsted Grotesk"; src: url("fonts/schibsted-grotesk-800-latin-ext.woff2") format("woff2"); font-weight: 800; unicode-range: U+0100-024F, U+1E00-1EFF; font-display: swap; }
@font-face { font-family: "Schibsted Grotesk"; src: url("fonts/schibsted-grotesk-800-latin.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("fonts/jetbrains-mono-400-latin-ext.woff2") format("woff2"); font-weight: 400; unicode-range: U+0100-024F, U+1E00-1EFF; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("fonts/jetbrains-mono-400-latin.woff2") format("woff2"); font-weight: 400; font-display: swap; }

:root {
  --paper: #f3efe6;
  --paper-2: #e8e2d4;
  --ink: #0f1112;
  --ink-2: #1b1e20;
  --on-ink: #f2f0ec;
  --on-ink-muted: #a9a59e;
  --muted: #55595a;
  --orange: #b85300;
  --orange-glow: #ff8a3d;
  --sans: "Schibsted Grotesk", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html, body {
  margin: 0;
  height: 100%;
  overflow: hidden;
  background: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

a:focus-visible {
  outline: 2px solid var(--orange-glow);
  outline-offset: 4px;
}

.kicker {
  font: 400 0.8rem/1 var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* Entry links are part of the scene, not form buttons: a mono label behind a hairline
   that stretches toward the cursor, no box. */
.cta {
  display: inline-flex;
  align-items: center;
  gap: 0.8em;
  padding: 0.7em 0;
  font: 400 0.78rem/1 var(--mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: inherit;
  transition: gap 0.5s var(--ease), text-shadow 0.4s, opacity 0.3s;
}
.cta::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
  transition: width 0.5s var(--ease), opacity 0.3s;
}
.cta:hover, .cta:focus-visible { gap: 1.1em; text-shadow: 0 0 16px rgba(255, 138, 61, 0.75); }
.cta:hover::before, .cta:focus-visible::before { width: 60px; opacity: 1; }
.cta:focus-visible { outline: 2px solid var(--orange-glow); outline-offset: 6px; }

.legal {
  position: fixed;
  bottom: 14px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 1.2em;
  font: 400 0.72rem/1 var(--mono);
  letter-spacing: 0.06em;
  z-index: 20;
  pointer-events: none;
  mix-blend-mode: difference;
  color: #9a9a9a;
}

.legal a { pointer-events: auto; }

.arrive {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-content: center;
  text-align: center;
  font: 400 1.1rem/1.6 var(--sans);
  padding: 24px;
}
.arrive.work { background: var(--paper); color: var(--ink); }
.arrive.smarter { background: var(--ink); color: var(--on-ink); }
.arrive a, .arrive button {
  font: 500 0.95rem/1 var(--sans);
  padding: 0.8em 1.1em;
  margin: 0 0.3em;
  border: 1.5px solid currentColor;
  border-radius: 3px;
  background: transparent;
  color: inherit;
  cursor: pointer;
  display: inline-block;
}

.back {
  position: fixed;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 30;
  font: 400 0.7rem/1 var(--mono);
  padding: 0.5em 0.8em;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  border-radius: 3px;
}
