:root {
  color-scheme: light;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f7f5f0;
  color: #1f1f1f;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  line-height: 1.7;
}

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

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  background: white;
  border-bottom: 1px solid #e6e2dc;
  position: sticky;
  top: 0;
  z-index: 10;
}

.site-brand {
  font-size: 1.1rem;
  font-weight: 700;
}

.site-nav {
  display: flex;
  gap: 1rem;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: #7f5af0;
}

.hero {
  min-height: calc(100vh - 76px);
  display: grid;
  place-items: center;
  padding: 4rem 1.5rem;
  text-align: center;
  background: linear-gradient(180deg, #fffaf5 0%, #f7f5f0 100%);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: 0.8rem;
  margin-bottom: 1rem;
  color: #7f5af0;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.5rem, 5vw, 4rem);
  max-width: 14ch;
}

.hero-copy {
  max-width: 46rem;
  margin: 1.25rem auto 0;
  color: #4e4a46;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.6rem;
  border-radius: 999px;
  background: #7f5af0;
  color: white;
  font-weight: 600;
}

.button.secondary {
  background: #f4ede8;
  color: #1f1f1f;
}

.preview-grid,
.story-list,
.gallery-grid {
  display: grid;
  gap: 1.5rem;
  padding: 2rem 1.5rem;
}

.preview-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.preview-card,
.story-card {
  background: white;
  border: 1px solid #e6e2dc;
  border-radius: 1.25rem;
  padding: 1.75rem;
  box-shadow: 0 20px 60px rgba(17, 15, 10, 0.06);
}

.preview-card h2,
.story-card h2 {
  margin-top: 0;
}

.preview-card a,
.story-card a {
  display: inline-block;
  margin-top: 1rem;
  color: #7f5af0;
  font-weight: 700;
}

.intro-block,
.page-header,
.story-content {
  padding: 0 1.5rem 2rem;
}

.intro-block {
  max-width: 60rem;
  margin: 0 auto;
}

.story-content {
  max-width: 60rem;
  margin: 0 auto;
}

.story-image {
  margin: 2rem auto;
  max-width: 30rem;
}

.story-image img {
  width: 100%;
  display: block;
  border-radius: 1rem;
}

.page-header h1 {
  margin-bottom: 0.5rem;
}

.page-header p {
  margin: 0;
  color: #4e4a46;
}

.story-header h1 {
  text-align: center;
  margin-bottom: 0.5rem;
}

.story-header p {
  max-width: 60rem;
  margin: 0 auto;
  color: #4e4a46;
  font-style: italic;
  padding: 0 1.5rem;
}

.story-list {
  grid-template-columns: 1fr;
}

.gallery-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  padding-bottom: 4rem;
}

.gallery-grid figure {
  margin: 0;
  overflow: hidden;
  border-radius: 1.25rem;
  background: white;
  border: 1px solid #e6e2dc;
}

.gallery-grid img {
  width: 100%;
  display: block;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.gallery-grid figcaption {
  padding: 1rem;
  color: #57514e;
}

.site-footer {
  padding: 1.25rem 1.5rem;
  text-align: center;
  color: #7f7a75;
}

@media (max-width: 680px) {
  .site-nav {
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero {
    padding: 3rem 1rem;
  }
}
