:root {
  --ink: #0e1210;
  --paper: #e8e2d4;
  --muted: #b8b1a3;
  --copper: #d09252;
  --line: #2c352f;
  --space: clamp(1.25rem, 4vw, 2.75rem);
  --display: "Fraunces", "Iowan Old Style", "Palatino Linotype", serif;
  --sans: "Schibsted Grotesk", "Avenir Next", "Segoe UI", sans-serif;
  --measure: 40rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  min-height: 100svh;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  letter-spacing: 0.01em;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 4;
  padding: 0.75rem 1rem;
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
}

.skip:focus {
  top: 1rem;
}

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 3;
  opacity: 0.09;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

a {
  color: var(--paper);
  text-underline-offset: 0.22em;
}

a:hover {
  color: var(--copper);
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--copper);
  outline-offset: 4px;
}

.top,
.foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: var(--space);
}

.brand,
.kicker,
.top nav,
.foot,
.fact-index,
.door-meta {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.brand a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--muted);
  text-decoration: none;
}

.brand a:hover,
.brand a:focus-visible {
  color: var(--paper);
}

.top nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.15rem 0.85rem;
}

.top nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.5rem 0.15rem;
  color: var(--muted);
  text-decoration: none;
}

.top nav a:hover,
.top nav a:focus-visible {
  color: var(--paper);
}

.hero {
  position: relative;
  display: grid;
  grid-template-rows: 1fr auto 1fr;
  justify-items: center;
  min-height: calc(100svh - 8rem);
  padding: 0 var(--space) 4vh;
  background: var(--ink);
}

.horizon {
  position: absolute;
  left: 0;
  right: 0;
  top: 54%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--line) 10%,
    var(--line) 90%,
    transparent
  );
}

.mark {
  position: relative;
  z-index: 1;
  grid-row: 2;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(4.25rem, 18vw, 13.5rem);
  font-weight: 300;
  font-optical-sizing: auto;
  line-height: 0.85;
  letter-spacing: -0.04em;
  color: var(--paper);
}

.mark-visual {
  display: flex;
  align-items: baseline;
}

.mark-dot {
  display: inline-block;
  width: 0.18em;
  height: 0.18em;
  margin: 0 0.04em;
  border-radius: 50%;
  background: var(--copper);
  transform: translateY(0.02em);
  box-shadow: 0 0 2.4rem color-mix(in srgb, var(--copper) 55%, transparent);
}

.mark-tld {
  font-style: italic;
  font-weight: 500;
}

.lede {
  grid-row: 3;
  align-self: end;
  margin: 0;
  padding: 0.35rem 0.6rem;
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--muted);
  background: var(--ink);
  text-align: center;
}

.now {
  margin: 0 auto 4.5rem;
  max-width: var(--measure);
  padding: 0 var(--space);
  color: var(--copper);
  font-family: var(--display);
  font-size: clamp(1.05rem, 2.4vw, 1.35rem);
  font-style: italic;
  font-weight: 500;
}

.panel {
  max-width: var(--measure);
  margin: 0 auto;
  padding: 0 var(--space) 4.5rem;
}

.panel-last {
  padding-bottom: 7rem;
}

.band {
  padding: 0 0 4.5rem;
}

.band-inner {
  max-width: 46rem;
  margin: 0 auto;
  padding: 0 var(--space);
}

.panel h2,
.band h2 {
  margin: 0.35rem 0 1.4rem;
  font-family: var(--display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.panel p,
.band p {
  margin: 0;
  color: var(--muted);
}

.panel strong {
  color: var(--paper);
  font-weight: 600;
}

.panel p.fact {
  color: var(--paper);
}

.door {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 0.4rem;
  padding: 1.6rem 1.5rem 1.4rem;
  border: 1px solid var(--line);
  background: var(--ink);
  color: inherit;
  text-decoration: none;
}

.door:hover,
.door:focus-visible {
  border-color: var(--copper);
  color: inherit;
}

.door-meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.door-live {
  color: var(--copper);
}

.door-host {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  font-family: var(--display);
  line-height: 0.95;
  letter-spacing: -0.03em;
}

.door-sub {
  font-size: clamp(2.4rem, 8vw, 4.2rem);
  font-weight: 300;
  color: var(--paper);
}

.door-root {
  font-size: clamp(1.4rem, 4vw, 2rem);
  font-style: italic;
  font-weight: 500;
  color: var(--muted);
}

.door-copy {
  max-width: 22rem;
  color: var(--muted);
}

.door-go {
  margin-top: 0.4rem;
  color: var(--copper);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.work {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.work a {
  display: grid;
  grid-template-columns: 3.2rem 1fr;
  gap: 0.8rem 1.1rem;
  align-items: baseline;
  min-height: 44px;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
}

.work a:hover,
.work a:focus-visible {
  color: inherit;
}

.work a:hover .work-title,
.work a:focus-visible .work-title {
  color: var(--copper);
}

.work-num {
  color: var(--copper);
  font-family: var(--display);
  font-size: 1.05rem;
  font-style: italic;
}

.work-body {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.work-title {
  color: var(--paper);
  font-size: 1.2rem;
  font-weight: 600;
}

.work-note {
  color: var(--muted);
}

.fact {
  min-height: 4.8rem;
  color: var(--paper);
}

.fact-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
  margin-top: 1.4rem;
}

#fact-next {
  min-height: 44px;
  padding: 0.55rem 1rem;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--paper);
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
}

#fact-next:hover {
  border-color: var(--copper);
  color: var(--copper);
}

.foot {
  border-top: 1px solid var(--line);
}

.foot p {
  margin: 0;
}

@media (prefers-reduced-motion: no-preference) {
  .mark,
  .lede,
  .horizon {
    animation: rise 1.1s ease both;
  }

  .horizon {
    animation-name: draw;
    animation-duration: 1.4s;
  }

  .lede {
    animation-delay: 0.18s;
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(0.6rem);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes draw {
  from {
    opacity: 0;
    transform: scaleX(0.4);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
