:root {
  --paper: #fdf7ef;
  --ink: #1c1a19;
  --accent: #c4570c;
  --muted: #6c625c;
  --border: #d8cfc3;
  --card: #ffffff;
  --shadow: 0 10px 30px rgba(16, 10, 5, 0.08);
  font-size: 16px;
}

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

body {
  margin: 0;
  font-family: "Libre Baskerville", "Georgia", "Times New Roman", serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent);
}

.masthead {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem clamp(1rem, 5vw, 4rem);
  background: #fff;
  border-bottom: 4px double #000;
}

.masthead img {
  width: 72px;
  height: auto;
}

.masthead h1 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.5rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.masthead .tagline {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  color: var(--muted);
  margin: 0;
}

.masthead .subhead {
  margin: 0.3rem 0 0;
  font-style: italic;
  color: var(--muted);
}

.layout {
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(1.5rem, 4vw, 3rem);
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.section-label {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.7rem;
  color: var(--accent);
  margin: 0 0 0.5rem;
}

.story-author {
  margin: 0.2rem 0 1rem;
  font-style: italic;
  color: var(--muted);
}

.story-body p {
  margin: 0 0 1rem;
}

.feature-panel {
  background: #fff;
  border: 1px solid var(--border);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  box-shadow: var(--shadow);
}

.feature-panel figure {
  margin: 0;
}

.feature-panel figcaption {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 0.5rem;
}

.spotlight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.story-card {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
}

.story-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
}

.photo-card {
  gap: 1rem;
}

.photo-card img {
  border: 1px solid var(--border);
}

.beige-feature {
  background: #fff;
  border: 1px solid var(--border);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  display: grid;
  gap: 1.5rem;
  box-shadow: var(--shadow);
}

.beige-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.beige-feature figure {
  margin: 0;
}

.beige-feature figcaption {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 0.5rem;
}

.momk-panel {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: var(--shadow);
}

.momk-images {
  display: grid;
  gap: 1rem;
}

.momk-images img {
  border: 1px solid var(--border);
  background: #fefefe;
}

.momk-images .goggles {
  mix-blend-mode: multiply;
}

.crossword-panel {
  background: #fff;
  border: 1px solid var(--border);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  box-shadow: var(--shadow);
}

.crossword-heading h2 {
  margin: 0;
  font-size: 2rem;
}

.reveal-btn {
  align-self: flex-start;
  margin-top: 0.75rem;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #fff;
  font-family: inherit;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.4rem 0.9rem;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.reveal-btn:hover,
.reveal-btn:focus-visible {
  background: transparent;
  color: var(--accent);
}

.puzzler {
  margin: 0.2rem 0 1rem;
  color: var(--muted);
  font-style: italic;
}

.crossword-wrapper {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(280px, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.crossword-grid {
  display: grid;
  grid-template-columns: repeat(15, minmax(1.5rem, 2.6rem));
  gap: 0;
  border: 2px solid #000;
  background: #000;
  align-content: start;
  justify-content: start;
}

.cw-cell {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #fff;
  border: 1px solid #000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 1.1rem;
}

.cw-cell.cw-block {
  background: #000;
}

.cw-number {
  position: absolute;
  top: 2px;
  left: 3px;
  font-size: 0.55rem;
  font-weight: 700;
}

.cw-letter {
  font-family: "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans-serif;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.crossword-grid.show-answers .cw-letter {
  opacity: 1;
}

.crossword-clues {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.crossword-clues h3 {
  margin-bottom: 0.5rem;
  border-bottom: 2px solid var(--border);
  padding-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.85rem;
}

.crossword-clues ol {
  margin: 0;
  padding-left: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.crossword-clues li {
  font-size: 0.95rem;
}

.goggles-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.5rem;
  background: #fff;
  border: 1px solid var(--border);
  padding: clamp(1rem, 3vw, 2rem);
  box-shadow: var(--shadow);
}

.goggles-panel img {
  max-width: 320px;
}

.goggles-caption {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.site-footer {
  text-align: center;
  padding: 2rem 1rem 3rem;
  color: var(--muted);
  font-size: 0.9rem;
}

@media (max-width: 800px) {
  .masthead {
    flex-direction: column;
    text-align: center;
  }

  .crossword-wrapper {
    grid-template-columns: 1fr;
  }
}
