
:root {
  --cream: #f8f1e7;
  --ink: #2f2740;
  --teal: #267d86;
  --purple: #75518f;
  --footer: #24172e;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "Montserrat", sans-serif;
}

main { overflow: hidden; }

.hero { background: #0b0909; }

.hero img {
  width: 100%;
  display: block;
  height: auto;
}

.collections {
  padding: 22px 3vw 28px;
  background:
    linear-gradient(rgba(255,255,255,.66), rgba(255,255,255,.66)),
    repeating-linear-gradient(0deg, #eee3d5 0, #eee3d5 1px, transparent 1px, transparent 5px);
}

.section-heading {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.section-heading h1 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 4vw, 3.1rem);
  color: var(--ink);
}

.card-grid {
  width: min(1450px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.story-card {
  overflow: hidden;
  border-radius: 14px;
  background: rgba(255, 250, 244, .96);
  border: 1px solid rgba(53, 41, 62, .13);
  box-shadow: 0 12px 28px rgba(42, 30, 47, .14);
  transition: transform .22s ease, box-shadow .22s ease;
}

.story-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 38px rgba(42, 30, 47, .20);
}

.story-card > img {
  display: block;
  width: 100%;
  height: 124px;
  object-fit: cover;
}

.card-content {
  min-height: 205px;
  padding: 0 16px 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
}

.icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  margin: -24px auto 9px;
  display: grid;
  place-items: center;
  position: relative;
  color: white;
  border: 4px solid var(--cream);
  box-shadow: 0 6px 14px rgba(0,0,0,.15);
  font-size: 1.2rem;
}

.teal { background: var(--teal); }
.purple { background: var(--purple); }

h2 {
  margin: 0 0 7px;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.72rem;
  line-height: 1.02;
}

.tagline {
  margin: 0 0 15px;
  line-height: 1.38;
  font-size: .88rem;
  color: #33313a;
}

.story-card a {
  margin-top: auto;
  align-self: center;
  padding: 9px 15px;
  border: 1px solid #729ba0;
  border-radius: 7px;
  background: rgba(255,255,255,.7);
  color: #315f65;
  text-decoration: none;
  font-size: .84rem;
  font-weight: 600;
}

.story-card a:hover {
  background: var(--teal);
  color: white;
}

footer {
  min-height: 52px;
  padding: 13px 20px;
  background: var(--footer);
  color: #f8f0e7;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  text-align: center;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.28rem;
}

footer p { margin: 0; }

@media (max-width: 1150px) {
  .card-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 760px) {
  .hero img {
    min-height: 360px;
    object-fit: cover;
    object-position: center top;
  }

  .collections { padding: 28px 16px 36px; }
  .section-heading { gap: 8px; }
  .card-grid { grid-template-columns: 1fr; }

  .story-card {
    max-width: 470px;
    width: 100%;
    margin: 0 auto;
  }

  .story-card > img { height: 180px; }
  .card-content { min-height: 0; }
}
