:root {
  --stone-0: #0c0a08;
  --stone-1: #16110d;
  --stone-2: #231b14;
  --stone-3: #3a2d22;
  --gold: #c9a44a;
  --gold-dim: #8a6d2e;
  --cream: #ead9b0;
  --ink: #1a120c;
  --parchment: #e4d2aa;
  --blood: #6e1c1c;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "IM Fell English", Georgia, serif;
  background: var(--stone-0);
  color: var(--cream);
  min-height: 100vh;
  background-image:
    radial-gradient(ellipse at top, rgba(80,50,20,.25), transparent 55%),
    repeating-linear-gradient(90deg, rgba(255,255,255,.015) 0 1px, transparent 1px 80px);
}

img { max-width: 100%; display: block; }
a { color: var(--gold); text-decoration: none; }

.site-header {
  position: sticky; top: 0; z-index: 40;
  background: linear-gradient(180deg, rgba(12,10,8,.96), rgba(12,10,8,.88));
  border-bottom: 1px solid var(--gold-dim);
  box-shadow: 0 8px 24px rgba(0,0,0,.45);
}
.header-inner {
  max-width: 1120px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 22px;
}
.brand {
  font-family: "Cinzel Decorative", serif;
  font-size: 1.15rem;
  letter-spacing: .18em;
  color: var(--gold);
}
.brand small {
  display: block;
  font-family: "Cinzel", serif;
  font-size: .55rem;
  letter-spacing: .32em;
  color: #b8a078;
  margin-top: 2px;
}
.nav { display: flex; gap: 22px; flex-wrap: wrap; }
.nav a {
  font-family: "Cinzel", serif;
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #d7c7a0;
}
.nav a:hover, .nav a.active { color: var(--gold); }

.hero {
  position: relative;
  min-height: 88vh;
  display: grid;
  place-items: end center;
  background: #000 url("../img/hero-castle.jpg") center 30% / cover no-repeat;
  overflow: hidden;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.25) 20%, rgba(12,10,8,.92) 100%);
}
.hero-copy {
  position: relative; z-index: 1;
  text-align: center;
  padding: 0 20px 72px;
  max-width: 760px;
}
.logo-mark {
  width: 360px;
  height: auto;
  margin: 0 auto 16px;
  display: block;
  filter: drop-shadow(0 8px 18px rgba(0,0,0,.65));
}
.hero-copy h1 {
  font-family: "Cinzel Decorative", serif;
  font-size: clamp(2rem, 6vw, 3.6rem);
  color: #f3e3b8;
  text-shadow: 0 4px 24px #000;
}
.hero-copy p {
  margin: 14px 0 28px;
  font-size: 1.15rem;
  color: #e2d2ae;
}
.btn {
  display: inline-block;
  font-family: "Cinzel", serif;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-size: .72rem;
  padding: 12px 22px;
  border: 1px solid var(--gold);
  color: var(--gold);
  background: rgba(0,0,0,.35);
}
.btn:hover { background: var(--gold); color: var(--ink); }
.btn-solid {
  background: linear-gradient(#7a2222, #3e1010);
  border-color: #8b3a2a;
  color: #f0d8a8;
}
.btn-solid:hover { background: #8d2c2c; color: #fff6dc; }
.btn[disabled], .btn.is-dead {
  opacity: .55; cursor: not-allowed; pointer-events: none;
}

.wrap { max-width: 1120px; margin: 0 auto; padding: 56px 22px; }
.section-kicker {
  font-family: "Cinzel", serif;
  letter-spacing: .34em;
  font-size: .7rem;
  color: var(--gold);
  text-transform: uppercase;
}
.section-title {
  font-family: "Cinzel Decorative", serif;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  margin: 6px 0 18px;
}
.lead { font-size: 1.12rem; line-height: 1.65; color: #e6d7b6; max-width: 68ch; }

.tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 32px;
}
.tile {
  background: var(--stone-2);
  border: 1px solid #4a3826;
  overflow: hidden;
}
.tile img { height: 180px; width: 100%; object-fit: cover; }
.tile h3 {
  font-family: "Cinzel", serif;
  padding: 14px 16px 4px;
  font-size: .95rem;
  letter-spacing: .08em;
}
.tile p { padding: 0 16px 18px; color: #cbb896; font-size: .95rem; }

.page-hero {
  height: 280px;
  display: grid; place-items: end start;
  background-size: cover; background-position: center;
  position: relative;
}
.page-hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.15), rgba(12,10,8,.92));
}
.page-hero h1 {
  position: relative; z-index: 1;
  padding: 0 22px 28px;
  font-family: "Cinzel Decorative", serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 32px;
  align-items: start;
}
.about-grid img {
  width: 100%; height: 317px; object-fit: cover;
  border: 1px solid #5a4330;
  box-shadow: 0 16px 40px rgba(0,0,0,.45);
  margin-top: 40px;
}
.prose p { margin-bottom: 14px; line-height: 1.65; color: #e4d5b4; }

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.gallery figure {
  margin: 0; cursor: zoom-in;
  background: var(--stone-2);
  border: 1px solid #4a3826;
  overflow: hidden;
}
.gallery img {
  width: 100%; height: 220px; object-fit: cover;
  transition: transform .35s ease;
}
.gallery figure:hover img { transform: scale(1.06); }
.gallery figcaption {
  padding: 10px 12px 12px;
  font-size: .85rem;
  color: #cbb896;
}

.lightbox {
  position: fixed; inset: 0; z-index: 80;
  background: rgba(0,0,0,.88);
  display: none;
  align-items: center; justify-content: center;
  padding: 24px;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: min(1100px, 94vw);
  max-height: 86vh;
  object-fit: contain;
  box-shadow: 0 20px 60px #000;
  border: 1px solid var(--gold-dim);
}
.lightbox-close, .lightbox-nav {
  position: absolute;
  background: rgba(0,0,0,.45);
  color: var(--gold);
  border: 1px solid var(--gold-dim);
  font-family: "Cinzel", serif;
  cursor: pointer;
}
.lightbox-close { top: 16px; right: 16px; padding: 8px 12px; }
.lightbox-nav { top: 50%; transform: translateY(-50%); padding: 12px 14px; font-size: 1.2rem; }
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }
.lightbox-cap {
  position: absolute; bottom: 16px; left: 0; right: 0;
  text-align: center; color: #ead9b0;
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.card {
  background: var(--stone-2);
  border: 1px solid #4a3826;
}
.card img { height: 200px; width: 100%; object-fit: cover; }
.card-body { padding: 16px; }
.card h3 { font-family: "Cinzel", serif; margin-bottom: 6px; }
.price { color: var(--gold); letter-spacing: .08em; margin: 8px 0 12px; }
.muted { color: #9a8764; font-size: .88rem; }

form.petition { display: flex; flex-direction: column; gap: 12px; max-width: 560px; }
form.petition label {
  font-family: "Cinzel", serif;
  font-size: .7rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
}
form.petition input, form.petition textarea {
  width: 100%;
  background: #2a2118;
  border: 1px solid #6a5438;
  color: var(--cream);
  padding: 11px 12px;
  font-family: "IM Fell English", serif;
  font-size: 1rem;
}
form.petition textarea { min-height: 150px; }
.flash {
  padding: 12px 14px;
  border: 1px solid var(--gold-dim);
  background: rgba(50,36,20,.6);
  margin-bottom: 16px;
  max-width: 560px;
}

.site-footer {
  border-top: 1px solid #3a2d22;
  text-align: center;
  padding: 28px 16px 40px;
  color: #9a8764;
  font-size: .9rem;
}
.site-footer .brand-line {
  font-family: "Cinzel", serif;
  letter-spacing: .28em;
  color: var(--gold);
  margin-bottom: 8px;
}

@media (max-width: 860px) {
  .tiles, .gallery, .shop-grid, .about-grid { grid-template-columns: 1fr; }
  .header-inner { flex-direction: column; gap: 10px; }
  .hero { min-height: 70vh; }
}
