/* Homepage sections beneath the approved var-a8 hero.
   Hero rules stay in hero.css and should not be restyled here. */

html {
  scroll-behavior: smooth;
}
body {
  min-height: 100%;
}

.page-main {
  background: #1c1814;
  color: #f6edd4;
}

.section {
  position: relative;
  padding: 88px 4vw 96px;
  max-width: none;
  margin: 0;
}
.section + .section {
  border-top: 1px solid rgba(232, 205, 130, 0.22);
}

.section-inner {
  max-width: 1840px;
  margin: 0 auto;
}

.section-kicker {
  font-family: "Cinzel", serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #E8CD82;
  margin: 0 0 12px;
}

.section-title {
  font-family: "Cinzel", serif;
  font-weight: 600;
  font-size: 44px;
  letter-spacing: 0.04em;
  color: #f7f1e0;
  margin: 0 0 18px;
  line-height: 1.15;
  text-shadow: 0 2px 3px rgba(0,0,0,0.6);
}

.section-intro,
.prose p {
  font-family: "Libre Baskerville", "Playfair Display", serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.7;
  color: #e8dfc8;
  margin: 0 0 1.05em;
  max-width: 42em;
}
.prose p:last-child { margin-bottom: 0; }

.section-ornament {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 160px;
  margin: 0 0 28px;
}
.section-ornament .line {
  flex: 1;
  height: 5px;
  border-top: 1px solid rgba(232, 205, 130, 0.85);
  border-bottom: 1px solid rgba(232, 205, 130, 0.4);
  box-shadow: 0 1px 0 rgba(0,0,0,0.45);
}
.section-ornament .star {
  font-family: "Cinzel Decorative", "Cinzel", serif;
  font-size: 13px;
  color: #f0d378;
  line-height: 1;
}

/* Visible on purpose: this preview marks unapproved connecting prose. */
.draft-flag {
  display: inline-block;
  font-family: "Cinzel", serif;
  font-size: 0.58em;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #1c1814;
  background: #E8CD82;
  padding: 0.14em 0.5em 0.1em;
  margin-right: 0.45em;
  vertical-align: 0.16em;
  border-radius: 1px;
  line-height: 1.2;
}

/* ----- Our Story ----- */
.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 64px;
  align-items: center;
}
.story-figure {
  margin: 0;
  position: relative;
}
.story-figure img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  box-shadow:
    0 8px 8px rgba(0,0,0,0.25),
    0 22px 40px rgba(0,0,0,0.4);
  border: 1px solid rgba(232, 205, 130, 0.28);
}
.story-figure figcaption {
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-weight: 500;
  font-size: 15px;
  color: #d9ccb0;
  margin-top: 14px;
  letter-spacing: 0.02em;
}

/* ----- Cards / grids ----- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin-top: 36px;
}
.card-grid.work-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px 22px;
}

.card {
  margin: 0;
  background: #161310;
  border: 1px solid rgba(232, 205, 130, 0.18);
  box-shadow: 0 10px 28px rgba(0,0,0,0.28);
}
.card img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
  background: #110e0c;
}
.card.contain img {
  object-fit: contain;
  height: 280px;
  padding: 10px 10px 0;
}
.card figcaption {
  padding: 14px 16px 16px;
}
.card .card-kicker {
  display: block;
  font-family: "Cinzel", serif;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #E8CD82;
  margin-bottom: 4px;
}
.card .card-title {
  display: block;
  font-family: "Cinzel", serif;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.03em;
  color: #f7f1e0;
  line-height: 1.3;
}
.card .card-place {
  display: block;
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-size: 14px;
  color: #d9ccb0;
  margin-top: 4px;
}

/* Shop montages already include their own captions; give them a little more height. */
.shops-grid .card img {
  height: 320px;
  object-fit: contain;
  background: #000;
  padding: 0;
}

/* ----- Footer ----- */
.site-footer {
  background: #110e0c;
  color: #d9ccb0;
  border-top: 1px solid rgba(232, 205, 130, 0.28);
  padding: 36px 4vw 44px;
}
.footer-inner {
  max-width: 1840px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 18px 40px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-brand {
  font-family: "Cinzel", serif;
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 0.08em;
  color: #f7f1e0;
  margin: 0 0 6px;
}
.footer-place {
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-size: 15px;
  margin: 0 0 10px;
  color: #E8CD82;
}
.footer-note {
  font-family: "Libre Baskerville", serif;
  font-size: 14px;
  line-height: 1.55;
  margin: 0;
  max-width: 34em;
  color: #cfc3a8;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-nav a {
  font-family: "Cinzel", serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #E8CD82;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.footer-nav a:hover {
  border-bottom-color: rgba(232, 205, 130, 0.7);
}

/* ----- Mobile page sections (hero mobile rules stay in hero.css) ----- */
@media (max-width: 700px) {
  .section {
    padding: 52px 18px 56px;
  }
  .section-title { font-size: 32px; }
  .section-intro,
  .prose p { font-size: 16px; line-height: 1.65; }
  .story-grid {
    display: flex;
    flex-direction: column;
    gap: 28px;
  }
  .story-copy { display: contents; }
  #our-story .section-kicker,
  #our-story .section-title,
  #our-story .section-ornament { order: 1; }
  #our-story .story-figure { order: 2; }
  #our-story .prose { order: 3; }
  .card-grid,
  .card-grid.work-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .card img,
  .card.contain img {
    height: 220px;
  }
  .shops-grid .card img {
    height: 260px;
  }
  .site-footer {
    padding: 28px 18px 36px;
  }
  .footer-inner {
    flex-direction: column;
    gap: 22px;
  }
}

/* Gallery links from The Work section (site copy only). */
a.card-link {
  color: inherit;
  text-decoration: none;
  display: block;
}
a.card-link:hover .card,
a.card-link:focus .card {
  border-color: rgba(232, 205, 130, 0.7);
}
.work-cta {
  margin: 32px 0 0;
}
.work-cta a {
  display: inline-block;
  font-family: "Cinzel", serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #1c1814;
  background: #E8CD82;
  text-decoration: none;
  padding: 12px 18px 11px;
}
.work-cta a:hover {
  background: #F0D378;
}

/* ----- Gallery entry beneath the hero ----- */
.home-entry {
  background: #1c1814;
  border-top: 1px solid rgba(232, 205, 130, 0.22);
  padding: 40px 4vw 44px;
  text-align: center;
}
.home-entry .work-cta {
  margin: 0;
}
