:root {
  --bg: #000;
  --fg: #f4f4f4;
  --muted: #8e8e8e;
  --line: #242424;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: Helvetica, Arial, sans-serif;
  letter-spacing: 0.02em;
}

a {
  color: inherit;
  text-decoration: none;
}

.home-frame {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px;
}

.home-content h1 {
  font-size: clamp(2rem, 6vw, 5.5rem);
  letter-spacing: 0.18em;
  font-weight: 500;
  margin: 0 0 32px;
}

.home-content p {
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.3rem);
  margin: 0 0 56px;
}

.coin {
  display: inline-block;
  border: 1px solid var(--fg);
  padding: 15px 22px 13px;
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  transition: background 160ms ease, color 160ms ease;
}

.coin:hover {
  background: var(--fg);
  color: var(--bg);
}

.site-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 36px;
  border-bottom: 1px solid var(--line);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
}

.brand {
  font-weight: 700;
}

nav {
  display: flex;
  gap: 28px;
}

nav a {
  color: var(--muted);
}

nav a:hover,
.archive-item:hover strong,
.archive-item:hover span,
.text-page a:hover {
  color: var(--fg);
}

.archive-page,
.text-page,
.entry-page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 90px 36px 120px;
}

.archive-page h1,
.text-page h1,
.entry-page h1 {
  font-size: clamp(2rem, 6vw, 5rem);
  letter-spacing: 0.16em;
  font-weight: 500;
  margin: 0 0 70px;
}

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

.archive-item {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 30px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.archive-item span {
  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 0.18em;
}

.archive-item strong {
  font-size: clamp(1.2rem, 3vw, 2.6rem);
  letter-spacing: 0.12em;
  font-weight: 500;
}

.text-page {
  max-width: 820px;
}

.text-page p {
  color: var(--muted);
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  line-height: 1.65;
}

.contact {
  margin-top: 70px;
}

.entry-code {
  color: var(--muted);
  letter-spacing: 0.22em;
  margin: 0 0 18px;
}

.entry-page h1 {
  margin-bottom: 30px;
}

.entry-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 34px;
  color: var(--muted);
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  margin-bottom: 56px;
}

.video-shell {
  width: 100%;
  background: #050505;
  border: 1px solid var(--line);
  aspect-ratio: 16 / 9;
  margin-bottom: 70px;
}

.video-shell video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.entry-notes {
  max-width: 760px;
}

.entry-notes h2 {
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  font-weight: 500;
  margin-bottom: 22px;
}

.entry-notes p {
  color: var(--fg);
  line-height: 1.75;
  font-size: 1.08rem;
}

@media (max-width: 700px) {
  .site-header {
    padding: 24px 22px;
  }

  nav {
    gap: 18px;
  }

  .archive-page,
  .text-page,
  .entry-page {
    padding: 70px 22px 100px;
  }

  .archive-item {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .home-content h1,
  .archive-page h1,
  .text-page h1,
  .entry-page h1 {
    letter-spacing: 0.1em;
  }
}
