:root {
  --ink: #121110;
  --paper: #f4f1ea;
  --line: rgba(244, 241, 234, 0.14);
  --muted: rgba(244, 241, 234, 0.52);
  --accent: oklch(78% 0.13 80);
  --font-display: "Space Grotesk", "Helvetica Neue", sans-serif;
  --font-body: "Work Sans", "Helvetica Neue", sans-serif;
  --font-serif: "Fraunces", Georgia, serif;
  --gutter: clamp(20px, 6vw, 64px);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: inherit;
}

/* ---------- Masthead ---------- */

.masthead {
  padding: clamp(64px, 13vw, 148px) var(--gutter) clamp(40px, 7vw, 72px);
  border-bottom: 1px solid var(--line);
}

.wordmark {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(3rem, 11vw, 7.2rem);
  letter-spacing: -0.01em;
  line-height: 0.94;
}

.kicker {
  margin: 18px 0 0;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  color: var(--muted);
}

/* ---------- Index (the four worlds) ---------- */

.index {
  flex: 1 1 auto;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(16px, 2.4vw, 32px);
  row-gap: clamp(56px, 9vw, 104px);
  padding: clamp(56px, 9vw, 104px) var(--gutter) clamp(80px, 11vw, 148px);
}

.entry {
  display: flex;
  flex-direction: column;
  gap: 18px;
  text-decoration: none;
  color: inherit;
}

.entry-index {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--muted);
}

.entry-status {
  display: block;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.entry-status.is-live {
  color: var(--accent);
}

.entry-detail {
  margin: 2px 0 0;
  font-size: 0.85rem;
  color: var(--muted);
}

/* Physical + club worlds: image-led, staggered rhythm rather than
   a matched pair — the club entry sits lower and narrower, so the
   two never read as a uniform grid. */

.entry--physical {
  grid-column: 1 / 9;
}

.entry--club {
  grid-column: 5 / 13;
}

.entry--physical .entry-media {
  aspect-ratio: 16 / 9;
}

.entry--club .entry-media {
  aspect-ratio: 5 / 4;
  width: 88%;
  margin-left: auto;
}

.entry-media {
  overflow: hidden;
  background: #1a1918;
}

.entry-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(0.15);
  transition: transform 0.5s ease;
}

.entry:hover .entry-media img {
  transform: scale(1.03);
}

.entry-name {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.3rem, 2.6vw, 1.7rem);
  letter-spacing: 0.01em;
}

.entry-tagline {
  margin: 0;
  font-size: 1rem;
  color: var(--paper);
  transition: color 0.2s ease;
}

.entry:hover .entry-tagline {
  color: var(--accent);
}

/* Letters to God: the interior world — quiet, tucked off-axis,
   set in serif. No image yet; the book and writing photography
   belong here once they exist, not as decoration on the homepage. */

.entry--practice {
  grid-column: 3 / 7;
  padding-top: 6px;
}

.entry--practice .entry-name,
.entry--practice .entry-tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
}

.entry--practice .entry-name {
  font-size: clamp(1.4rem, 2.8vw, 1.9rem);
  color: var(--muted);
}

.entry--practice .entry-tagline {
  color: var(--muted);
  opacity: 0.85;
}

.entry.is-soon {
  cursor: default;
}

/* Human Weather: the editorial world — full width, atmospheric,
   set larger and quieter than the shop entries above it. */

.entry--editorial {
  grid-column: 1 / 13;
  padding-top: clamp(32px, 5vw, 56px);
  border-top: 1px solid var(--line);
}

.entry--editorial .entry-name {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2.1rem, 6vw, 3.8rem);
  line-height: 1;
}

.entry--editorial .entry-tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: var(--muted);
  margin-top: 8px;
}

.entry-links {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: clamp(20px, 4vw, 44px);
}

.entry-links a {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: var(--paper);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.entry-links a:hover {
  color: var(--accent);
  border-color: var(--accent);
}

/* ---------- Footer ---------- */

.site-footer {
  padding: 22px var(--gutter);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

/* ---------- Mobile: single-column editorial flow ---------- */

@media (max-width: 780px) {
  .index {
    grid-template-columns: 1fr;
  }

  .entry--physical,
  .entry--club,
  .entry--practice,
  .entry--editorial {
    grid-column: 1 / -1;
  }

  .entry--club .entry-media {
    width: 100%;
    margin-left: 0;
  }

  .entry--editorial {
    border-top: none;
    padding-top: 0;
  }
}
