:root {
  --parchment: #f3e7cd;
  --parchment-soft: #fbf3df;
  --ink: #2a1b10;
  --ink-soft: #5a4534;
  --gold: #b8893d;
  --gold-deep: #8a5e22;
  --ember: #c0532a;
  --card: #fffaee;
  --shadow: 0 8px 24px rgba(60, 32, 12, 0.18);
}

* {
  box-sizing: border-box;
}

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

body {
  position: relative;
  font-family: 'EB Garamond', 'Georgia', serif;
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--parchment);
  background-image:
    radial-gradient(circle at 20% 10%, rgba(184, 137, 61, 0.08), transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(138, 94, 34, 0.07), transparent 50%);
}

body::after,
body::before {
  content: "";
  position: absolute;
  bottom: 0;
  width: clamp(260px, 32vw, 480px);
  aspect-ratio: 600 / 420;
  background-repeat: no-repeat;
  background-size: contain;
  pointer-events: none;
  z-index: 1;
  opacity: 0.92;
}

body::after {
  left: 0;
  background-image: url('../img/blossoms.png');
  background-position: left bottom;
}

body::before {
  right: 0;
  background-image: url('../img/blossoms2.png');
  background-position: right bottom;
}

@media (max-width: 600px) {
  body::after,
  body::before {
    width: 180px;
    opacity: 0.85;
  }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 78vh;
  background-image:
    linear-gradient(
      to bottom,
      rgba(20, 10, 4, 0.35) 0%,
      rgba(20, 10, 4, 0.15) 35%,
      rgba(20, 10, 4, 0.55) 80%,
      rgba(20, 10, 4, 0.85) 100%
    ),
    url('../img/header.png');
  background-size: cover;
  background-position: center 35%;
  background-repeat: no-repeat;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 4rem 1.5rem 5rem;
  text-align: center;
  color: #fbf3df;
}

.hero-inner {
  max-width: 900px;
}

.hero h1 {
  font-family: 'Cinzel', 'Trajan Pro', serif;
  font-weight: 600;
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  letter-spacing: 0.06em;
  margin: 0 0 0.5rem;
  text-shadow:
    0 2px 6px rgba(0, 0, 0, 0.7),
    0 0 24px rgba(192, 83, 42, 0.35);
}

.hero h1 .the {
  display: block;
  font-size: 0.4em;
  letter-spacing: 0.4em;
  font-weight: 400;
  opacity: 0.85;
  margin-bottom: 0.4rem;
}

.hero .tagline {
  font-family: 'EB Garamond', serif;
  font-style: italic;
  font-size: clamp(1rem, 1.6vw, 1.35rem);
  letter-spacing: 0.04em;
  opacity: 0.92;
  margin: 0.75rem 0 0;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

.hero .flourish {
  display: inline-block;
  color: var(--gold);
  font-size: 1.4rem;
  margin: 1rem 0 0;
  letter-spacing: 0.5em;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7);
}

/* ---------- Intro ---------- */

.intro {
  max-width: 760px;
  margin: 3.5rem auto 1rem;
  padding: 0 1.5rem;
  text-align: center;
}

.intro p {
  font-size: 1.2rem;
  color: var(--ink-soft);
  margin: 0;
}

/* ---------- Menu ---------- */

.menu {
  max-width: 1100px;
  margin: 2rem auto 4rem;
  padding: 0 1.5rem;
}

.category {
  margin-top: 3.5rem;
}

.category-header {
  text-align: center;
  margin-bottom: 2rem;
}

.category-header h2 {
  font-family: 'Cinzel', serif;
  font-weight: 600;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: 0.12em;
  color: var(--gold-deep);
  margin: 0;
  text-transform: uppercase;
}

.category-header .rule {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 0.6rem;
  color: var(--gold);
}

.category-header .rule::before,
.category-header .rule::after {
  content: "";
  display: block;
  height: 1px;
  width: 80px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
}

.category-header .rule span {
  font-size: 1rem;
  letter-spacing: 0.4em;
}

.items {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.75rem;
}

.item {
  background: var(--card);
  border: 1px solid rgba(184, 137, 61, 0.3);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.item:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(60, 32, 12, 0.25);
}

.item-image {
  display: block;
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: #efe1c2;
  border-bottom: 1px solid rgba(184, 137, 61, 0.25);
}

.item-body {
  padding: 1.1rem 1.25rem 1.35rem;
}

.item-name {
  font-family: 'Cinzel', serif;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink);
  margin: 0 0 0.4rem;
}

.item-description {
  font-size: 1.02rem;
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.55;
}

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

.footer {
  text-align: center;
  padding: 2.5rem 1.5rem 3rem;
  color: var(--ink-soft);
  font-style: italic;
  border-top: 1px solid rgba(184, 137, 61, 0.25);
}

.footer .flourish {
  color: var(--gold);
  letter-spacing: 0.5em;
  margin-bottom: 0.5rem;
}

/* ---------- Loading / Error states ---------- */

.status {
  text-align: center;
  padding: 2rem;
  color: var(--ink-soft);
  font-style: italic;
}

@media (max-width: 600px) {
  .hero {
    min-height: 70vh;
    padding: 3rem 1rem 3.5rem;
  }
  .category-header .rule::before,
  .category-header .rule::after {
    width: 40px;
  }
}
