@import url("https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Fraunces:opsz,wght@9..144,500;9..144,600&display=swap");

:root {
  --paper: #e9e3d5;
  --ink: #1a1a17;
  --muted: #716c62;
  --rule: #b7afa0;
  --accent: #a1452e;
  --accent-dark: #6d2a1e;
  --serif: "Fraunces", Georgia, serif;
  --mono: "DM Mono", "SFMono-Regular", Consolas, monospace;
}

* { box-sizing: border-box; }

html { background: var(--paper); }

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 80% 0%, rgb(255 255 255 / 0.32), transparent 30rem),
    var(--paper);
  font-family: var(--mono);
}

.site-shell {
  width: min(100% - 3rem, 74rem);
  min-height: 100svh;
  margin: 0 auto;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.masthead {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.35rem 0 1.1rem;
  border-bottom: 1px solid var(--rule);
}

.wordmark {
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  text-decoration: none;
}

.domain,
.kicker,
.item-meta,
.status,
.footer {
  color: var(--muted);
  font-size: 0.69rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

main { padding: clamp(4.6rem, 13vh, 9rem) 0 4rem; }

.opening { max-width: 44rem; }

.kicker { margin: 0 0 1.05rem; }

h1 {
  max-width: 11ch;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(3.4rem, 8.5vw, 7.4rem);
  font-weight: 500;
  letter-spacing: -0.07em;
  line-height: 0.9;
  text-wrap: balance;
}

.intro {
  max-width: 34rem;
  margin: 2rem 0 0;
  font-size: clamp(0.92rem, 1.4vw, 1.08rem);
  line-height: 1.75;
}

.directory {
  margin-top: clamp(5.5rem, 15vh, 10rem);
  border-top: 1px solid var(--ink);
}

.directory-item {
  min-height: 7.15rem;
  display: grid;
  grid-template-columns: 3.2rem 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--rule);
}

.directory-item.active {
  color: inherit;
  text-decoration: none;
  transition: color 160ms ease, padding 160ms ease, background-color 160ms ease;
}

.directory-item.active:hover,
.directory-item.active:focus-visible {
  color: var(--accent-dark);
  padding-inline: 0.85rem;
  background: rgb(161 69 46 / 0.075);
  outline: none;
}

.directory-item.active:focus-visible { box-shadow: inset 0 0 0 2px var(--accent); }

.index {
  color: var(--accent);
  font-size: 0.72rem;
}

.item-copy {
  display: grid;
  gap: 0.42rem;
}

.item-title {
  font-family: var(--serif);
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1;
}

.arrow {
  color: var(--accent);
  font-size: 1.6rem;
  transition: transform 160ms ease;
}

.active:hover .arrow { transform: translate(0.25rem, -0.25rem); }

.coming-soon { opacity: 0.62; }

.status { color: var(--muted); }

.footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 0 1.4rem;
  border-top: 1px solid var(--rule);
}

@media (max-width: 38rem) {
  .site-shell { width: min(100% - 2rem, 74rem); }
  .masthead { align-items: center; }
  .domain { font-size: 0.58rem; }
  main { padding-top: 4rem; }
  .directory { margin-top: 5rem; }
  .directory-item { grid-template-columns: 2.3rem 1fr auto; min-height: 6.5rem; }
  .item-meta { font-size: 0.6rem; letter-spacing: 0.055em; }
  .footer { font-size: 0.58rem; letter-spacing: 0.055em; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
