:root { --paper: #f3efe6; --ink: #143528; }
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--paper); color: var(--ink); }
body {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    url("./grain.svg"),
    linear-gradient(var(--ink), var(--ink)),
    linear-gradient(90deg, var(--ink), var(--ink));
  background-size: 180px 180px, 100% 1px, 1px 100%;
  background-position: 0 0, 0 42%, 58% 0;
  background-repeat: repeat, no-repeat, no-repeat;
  opacity: 0.09;
}
a { color: inherit; }
.page { position: relative; z-index: 1; }
.shell {
  width: min(980px, calc(100% - 40px));
  margin: 0 auto;
  padding: 22px 0 48px;
}
header {
  display: flex;
  justify-content: flex-end;
  align-items: baseline;
}
.mark {
  font-family: "Instrument Serif", Georgia, serif;
  font-style: italic;
  font-size: 28px;
  letter-spacing: -0.03em;
  text-decoration: none;
}
nav { display: flex; gap: 18px; }
nav a {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
nav a:hover, nav a[aria-current="page"] { border-bottom-color: var(--ink); }
.box {
  border: 1px solid var(--ink);
  background: rgba(243, 239, 230, 0.72);
}
.kicker {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
h1 {
  font-family: "Anton", Impact, sans-serif;
  font-weight: 400;
  font-size: clamp(46px, 9vw, 84px);
  line-height: 0.88;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
.logo-wrap { position: relative; width: 72px; height: 72px; flex: 0 0 72px; }
.logo-wrap.lg { width: 88px; height: 88px; flex-basis: 88px; }
.logo {
  width: 100%;
  height: 100%;
  border: 1px solid var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Anton", Impact, sans-serif;
  font-size: 28px;
  letter-spacing: -0.02em;
  line-height: 1;
  text-transform: uppercase;
}
.logo-wrap.lg .logo { font-size: 34px; }
.played {
  position: absolute;
  right: -5px;
  bottom: -5px;
  width: 20px;
  height: 20px;
  background: var(--ink);
  color: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
}
.invite {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--ink);
  font-size: 13px;
  line-height: 1.45;
  max-width: 38rem;
}
.invite a { border-bottom: 1px solid var(--ink); text-decoration: none; }
@media (max-width: 720px) {
  .shell { width: min(980px, calc(100% - 28px)); }
  nav { gap: 12px; }
}
