/* ==========================================================================
   جواهری البا — ویترین
   مفهوم: تم قرمز سلطنتی + طلایی، پرده‌های مخمل و نور روی نشان لوگو در هیرو،
   گوشه‌های نرم و گرد در سراسر رابط (بدون تیزی)، هر قطعه زیر حوضچه نور،
   و قطعه فروخته‌شده پلاک برنجی می‌خورد.
   ========================================================================== */

@font-face { font-family: 'Vazirmatn'; src: url('/static/fonts/Vazirmatn-Regular.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Vazirmatn'; src: url('/static/fonts/Vazirmatn-Medium.ttf') format('truetype'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Vazirmatn'; src: url('/static/fonts/Vazirmatn-Bold.ttf') format('truetype'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Amiri'; src: url('/static/fonts/Amiri-Regular.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Amiri'; src: url('/static/fonts/Amiri-Bold.ttf') format('truetype'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Playfair'; src: url('/static/fonts/PlayfairDisplay-Regular.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Playfair'; src: url('/static/fonts/PlayfairDisplay-Bold.ttf') format('truetype'); font-weight: 700; font-display: swap; }

:root {
  --maroon-1: #1c0304;
  --maroon-2: #350607;
  --maroon-3: #430a0b;
  --maroon-4: #5c0f10;
  --maroon-5: #7a1214;
  --brass: #c9992b;
  --brass-hi: #f0d89b;
  --brass-dim: #8a6a22;
  --cream: #f6ece0;
  --text: #efe1d8;
  --muted: #b99089;
  --line: rgba(201, 153, 43, 0.26);
  --shell: min(1180px, 92vw);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 30px;
  --r-pill: 999px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background-color: var(--maroon-2);
  background-image: linear-gradient(rgba(28, 3, 4, 0.55), rgba(28, 3, 4, 0.78)), url('/static/img/hero-bg-mobile.webp');
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
  color: var(--text);
  font-family: 'Vazirmatn', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.9;
  direction: rtl;
  overflow-x: hidden;
}

/* پس‌زمینه دنباله‌دار: همان عکس، ثابت پشت کل سایت، زیر هر بخشی که خودش
   پس‌زمینه مخصوص ندارد (هیرو/بنر روی آن رندر می‌شوند، بدون هیچ لایه‌ی
   جداگانه‌ای، تا هیچ‌جا مرز/فاصله دیده نشود) */
@media (min-width: 681px) {
  body {
    background-image: linear-gradient(rgba(28, 3, 4, 0.55), rgba(28, 3, 4, 0.78)), url('/static/img/hero-bg.webp');
    background-attachment: fixed;
    background-position: left center;
  }
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
  background-image: radial-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 3px 3px;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; }
svg { display: block; }

:focus-visible {
  outline: 2px solid var(--brass-hi);
  outline-offset: 3px;
  border-radius: 6px;
}

.shell { width: var(--shell); margin-inline: auto; position: relative; z-index: 1; }

.display {
  font-family: 'Amiri', 'Vazirmatn', serif;
  font-weight: 700;
  line-height: 1.25;
}

.section-head {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 26px;
}
.section-head h2 {
  font-family: 'Amiri', serif;
  font-size: clamp(24px, 3.2vw, 36px);
  margin: 0;
  color: var(--cream);
}
.section-head .rule { flex: 1; height: 1px; background: linear-gradient(to left, var(--line), transparent); }
.section-head .aside { font-size: 13px; color: var(--muted); white-space: nowrap; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(34, 5, 11, 0.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(201, 153, 43, 0.16);
}
.topbar .row {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 68px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { width: 38px; height: 38px; object-fit: contain; filter: drop-shadow(0 0 6px rgba(201, 153, 43, 0.35)); }
.brand .word { display: flex; flex-direction: column; line-height: 1.15; }
.brand .word b { font-family: 'Playfair', serif; font-size: 20px; font-weight: 700; letter-spacing: 1px; color: var(--brass-hi); }
.brand .word span { font-size: 9.5px; color: var(--muted); letter-spacing: 1.5px; }

.nav-group { display: flex; align-items: center; gap: 18px; margin-inline-start: auto; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a {
  font-size: 15px;
  color: var(--text);
  padding-bottom: 3px;
  border-bottom: 1px solid transparent;
  transition: color 0.25s, border-color 0.25s;
}
.nav a:hover, .nav a[aria-current='page'] { color: var(--brass-hi); border-bottom-color: var(--brass); }
.nav a.nav-admin {
  color: var(--brass);
  font-size: 13.5px;
  padding: 5px 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
}
.nav a.nav-admin:hover { color: var(--brass-hi); border-color: var(--brass); background: rgba(201, 153, 43, 0.1); }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: none;
  border: 1px solid var(--line);
  color: var(--brass);
  border-radius: var(--r-md);
  padding: 0;
  font-size: 16px;
  flex: none;
  transition: border-color 0.25s, color 0.25s;
}
.nav-toggle:hover { border-color: var(--brass); color: var(--brass-hi); }

.rate-strip {
  background: linear-gradient(90deg, rgba(201, 153, 43, 0.15), rgba(201, 153, 43, 0.05));
  border-bottom: 1px solid rgba(201, 153, 43, 0.18);
  font-size: 13.5px;
  color: var(--brass-hi);
}
.rate-strip .row { display: flex; gap: 10px; align-items: center; padding: 7px 0; flex-wrap: wrap; }
.rate-strip b { color: var(--cream); font-weight: 500; }
.rate-strip .date { color: var(--muted); margin-inline-start: auto; font-size: 12.5px; transition: color 0.2s; }
.rate-strip .date:hover { color: var(--brass-hi); }

.hero {
  position: relative;
  min-height: clamp(560px, 88vh, 800px);
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
}
.dust-canvas { position: absolute; inset-block: 0; inset-inline-end: 0; width: 60%; z-index: 1; }
.dust-global { position: fixed; inset: 0; width: 100%; z-index: 1; pointer-events: none; }

/* پرتوی نور متحرک اضافه، روی عکس (شبیه‌سازی تابیدن نور به طلا) */
.hero .sweep {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(100deg, transparent 30%, rgba(255, 238, 200, 0.14) 45%, rgba(255, 238, 200, 0.22) 50%, rgba(255, 238, 200, 0.14) 55%, transparent 70%);
  background-size: 300% 100%;
  background-position: 130% 0;
  animation: sweep-move 7s 1.2s ease-in-out infinite;
  mix-blend-mode: screen;
}
@keyframes sweep-move {
  0%, 40% { background-position: 130% 0; }
  70%, 100% { background-position: -30% 0; }
}

.hero .lamp {
  position: absolute;
  inset: -10% 0 auto 0;
  height: 120%;
  z-index: 1;
  background: radial-gradient(45% 45% at 78% 28%, rgba(201, 153, 43, 0.22), transparent 70%);
  opacity: 0;
  animation: lamp-on 1.6s var(--ease) forwards;
}
@keyframes lamp-on { to { opacity: 1; } }

.hero-inner {
  position: relative;
  z-index: 2;
  padding: 70px 0;
  width: var(--shell);
  display: flex;
  justify-content: flex-start;
}

.hero-copy { text-align: right; max-width: 480px; }
.hero-brand { display: inline-flex; flex-direction: column; align-items: center; width: fit-content; margin-inline-start: auto; text-align: center; }
.hero-copy .emblem-wrap { position: relative; width: 240px; height: 240px; margin: 0 0 18px; }
.hero-copy .emblem-wrap img {
  width: 100%; height: 100%; object-fit: contain;
  filter: drop-shadow(0 0 22px rgba(201, 153, 43, 0.5));
  opacity: 0;
  animation: emblem-in 1.1s 0.2s var(--ease) forwards;
}
@keyframes emblem-in { from { opacity: 0; transform: scale(0.85); } to { opacity: 1; transform: scale(1); } }

.hero .kicker {
  font-size: 13px;
  color: var(--brass);
  letter-spacing: 4px;
  margin: 0 0 6px;
  opacity: 0;
  animation: rise 0.9s 0.4s var(--ease) forwards;
}

.wordmark {
  font-family: 'Playfair', serif;
  font-weight: 700;
  font-size: clamp(48px, 7vw, 82px);
  line-height: 1;
  margin: 0;
  letter-spacing: 2px;
  direction: ltr;
  color: transparent;
  background: linear-gradient(105deg, #8a6a22 0%, #c9992b 34%, #fbeec4 47%, #c9992b 60%, #8a6a22 100%);
  background-size: 260% 100%;
  background-position: 100% 0;
  -webkit-background-clip: text;
  background-clip: text;
  animation: sheen 2.6s 0.6s var(--ease) forwards;
}
@keyframes sheen { to { background-position: 0 0; } }

.hero .subtitle {
  font-family: 'Playfair', serif;
  font-size: 13px;
  letter-spacing: 5px;
  color: var(--brass-hi);
  margin: 8px 0 0;
  opacity: 0;
  animation: rise 0.9s 0.9s var(--ease) forwards;
}

.hero .divider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 18px 0;
  color: var(--brass-dim);
  opacity: 0;
  animation: rise 0.9s 1.1s var(--ease) forwards;
}
.hero .divider::before, .hero .divider::after { content: ''; flex: 1; max-width: 64px; height: 1px; background: var(--line); }

.hero p.lede {
  max-width: 42ch;
  margin: 0 0 10px;
  margin-inline-start: auto;
  color: var(--muted);
  font-size: 16px;
  opacity: 0;
  animation: rise 0.9s 1.3s var(--ease) forwards;
}
.hero .tagline {
  margin: 0 0 26px;
  font-family: 'Playfair', serif;
  font-style: italic;
  font-size: 15px;
  color: var(--brass-hi);
  direction: ltr;
  opacity: 0;
  animation: rise 0.9s 1.42s var(--ease) forwards;
}
.hero .actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: flex-end; opacity: 0; animation: rise 0.9s 1.55s var(--ease) forwards; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.hero .scroll-hint {
  position: absolute;
  z-index: 2;
  bottom: 22px;
  inset-inline: 0;
  text-align: center;
  color: var(--muted);
  font-size: 12px;
  opacity: 0;
  animation: rise 1s 2s var(--ease) forwards;
}

/* -------------------------------------------------- بنر صفحه (گالری/درباره) */

.banner {
  position: relative;
  min-height: clamp(300px, 42vh, 420px);
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  margin-bottom: 50px;
}
.banner .dust-canvas { width: 55%; }
.banner .lamp {
  position: absolute;
  inset: -20% 0 auto 0;
  height: 140%;
  z-index: 1;
  background: radial-gradient(45% 55% at 80% 30%, rgba(201, 153, 43, 0.22), transparent 70%);
  opacity: 0;
  animation: lamp-on 1.4s var(--ease) forwards;
}
.banner .sweep {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(100deg, transparent 30%, rgba(255, 238, 200, 0.12) 45%, rgba(255, 238, 200, 0.2) 50%, rgba(255, 238, 200, 0.12) 55%, transparent 70%);
  background-size: 300% 100%;
  background-position: 130% 0;
  animation: sweep-move 8s 1s ease-in-out infinite;
  mix-blend-mode: screen;
}
.banner-inner {
  position: relative;
  z-index: 2;
  width: var(--shell);
  margin-inline: auto;
  display: flex;
  justify-content: flex-start;
}
.banner-copy { text-align: right; max-width: 460px; }
.banner-copy .kicker {
  font-family: 'Playfair', serif;
  font-size: 12px;
  letter-spacing: 4px;
  color: var(--brass);
  direction: ltr;
  margin: 0 0 8px;
  opacity: 0;
  animation: rise 0.8s 0.15s var(--ease) forwards;
}
.banner-copy h1 {
  font-family: 'Amiri', serif;
  font-size: clamp(30px, 4vw, 44px);
  margin: 0 0 8px;
  color: var(--cream);
  font-weight: 700;
  opacity: 0;
  animation: rise 0.8s 0.3s var(--ease) forwards;
}
.banner-copy p {
  color: var(--muted);
  font-size: 15px;
  direction: ltr;
  font-style: italic;
  margin: 0;
  opacity: 0;
  animation: rise 0.8s 0.45s var(--ease) forwards;
}

@media (max-width: 680px) {
  .banner { min-height: 260px; }
  .banner-inner { justify-content: center; }
  .banner-copy { text-align: center; }
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  border: 1px solid var(--brass);
  color: var(--brass-hi);
  font-size: 15px;
  border-radius: var(--r-md);
  background: transparent;
  transition: background 0.3s var(--ease), color 0.3s, box-shadow 0.3s, transform 0.2s;
}
.btn:hover { background: var(--brass); color: #2a0a10; box-shadow: 0 8px 24px -6px rgba(201, 153, 43, 0.45); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn.solid { background: var(--brass); color: #2a0a10; }
.btn.solid:hover { background: var(--brass-hi); border-color: var(--brass-hi); }
.btn.ghost { border-color: var(--line); color: var(--text); }
.btn.ghost:hover { border-color: var(--brass); background: rgba(201, 153, 43, 0.1); color: var(--brass-hi); }

section.band { padding: 82px 0; }
section.band.tight { padding: 50px 0; }

.vitrine {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 34px 26px;
}

.piece { position: relative; display: block; }

.piece .pool {
  position: relative;
  aspect-ratio: 4 / 5;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: var(--r-lg);
  background:
    radial-gradient(72% 58% at 50% 46%, rgba(201, 153, 43, 0.18), transparent 72%),
    linear-gradient(180deg, var(--maroon-3), #290710);
  border: 1px solid rgba(201, 153, 43, 0.16);
  transition: border-color 0.35s, box-shadow 0.45s var(--ease), transform 0.35s var(--ease);
}
.piece:hover .pool { border-color: rgba(201, 153, 43, 0.5); box-shadow: 0 20px 44px -22px rgba(0, 0, 0, 0.85); transform: translateY(-3px); }

.piece .pool img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease), filter 0.5s;
}
.piece:hover .pool img { transform: scale(1.045); }

.piece .noimg { color: var(--brass-dim); font-family: 'Playfair', serif; font-size: 34px; letter-spacing: 1px; }

.piece.sold .pool img { filter: grayscale(0.55) brightness(0.6); }
.plaque {
  position: absolute;
  inset-inline: 10%;
  bottom: 20%;
  padding: 8px 0;
  text-align: center;
  font-size: 14px;
  letter-spacing: 3px;
  color: #2b2009;
  border-radius: var(--r-pill);
  background: linear-gradient(180deg, #f0d89b, #c9992b 55%, #96721f);
  box-shadow: 0 8px 20px -8px rgba(0, 0, 0, 0.8);
}
.plaque small { display: block; letter-spacing: 0; font-size: 11px; opacity: 0.75; }

.piece .meta { padding-top: 12px; }
.piece .meta h3 {
  font-family: 'Amiri', serif;
  font-size: 21px;
  margin: 0 0 4px;
  color: var(--cream);
  font-weight: 400;
}
.piece .meta .facts { display: flex; gap: 14px; font-size: 13.5px; color: var(--muted); }
.piece .meta .facts span { white-space: nowrap; }
.piece .meta .price { margin-top: 6px; font-size: 15px; color: var(--brass-hi); }
.piece .meta .price small { color: var(--muted); font-size: 12px; }

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 8px;
  align-items: center;
  padding: 16px 0 26px;
  border-bottom: 1px solid rgba(201, 153, 43, 0.14);
  margin-bottom: 30px;
}
.chip {
  padding: 7px 18px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  font-size: 14px;
  color: var(--muted);
  transition: all 0.25s;
}
.chip:hover { color: var(--brass-hi); border-color: var(--brass); }
.chip.on { background: rgba(201, 153, 43, 0.18); color: var(--brass-hi); border-color: var(--brass); }

.filters form { display: flex; gap: 8px; margin-inline-start: auto; flex-wrap: wrap; }
.field, select.field, input.field {
  background: var(--maroon-3);
  border: 1px solid var(--line);
  color: var(--text);
  padding: 9px 14px;
  border-radius: var(--r-sm);
  font-family: inherit;
  font-size: 14px;
  min-width: 0;
  max-width: 100%;
}
.field:focus { border-color: var(--brass); outline: none; }

.result-line { color: var(--muted); font-size: 14px; margin-bottom: 18px; }

.gold-rates .section-head { margin-bottom: 20px; }
.rate-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 14px;
}
.rate-card {
  background: linear-gradient(160deg, var(--maroon-3), var(--maroon-2));
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: border-color 0.25s, transform 0.25s var(--ease);
}
.rate-card:hover { border-color: rgba(201, 153, 43, 0.5); transform: translateY(-2px); }
.rate-card.gold18, .rate-card.gold24 { background: linear-gradient(160deg, rgba(201, 153, 43, 0.14), var(--maroon-3)); }
.rate-name { font-size: 13.5px; color: var(--muted); }
.rate-price { font-size: 19px; color: var(--brass-hi); font-family: 'Amiri', serif; }
.rate-price small { font-size: 12px; color: var(--muted); font-family: 'Vazirmatn', sans-serif; }
.rate-chg { font-size: 12.5px; color: var(--muted); width: fit-content; }
.rate-chg.up { color: #6fbf8b; }
.rate-chg.down { color: #d98878; }

.piece-view { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 46px; align-items: start; }

.stage {
  position: relative;
  background: radial-gradient(70% 55% at 50% 44%, rgba(201, 153, 43, 0.2), transparent 72%), var(--maroon-3);
  border: 1px solid rgba(201, 153, 43, 0.18);
  border-radius: var(--r-lg);
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  overflow: hidden;
  cursor: zoom-in;
}
.stage img { width: 100%; height: 100%; object-fit: cover; }
.stage.sold img { filter: grayscale(0.5) brightness(0.62); }

.thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.thumbs button {
  width: 74px;
  height: 74px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--maroon-3);
  overflow: hidden;
  transition: border-color 0.25s;
}
.thumbs button.on, .thumbs button:hover { border-color: var(--brass); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }

.piece-view h1 { font-family: 'Amiri', serif; font-size: clamp(30px, 4vw, 44px); margin: 0 0 6px; color: var(--cream); font-weight: 400; }
.piece-view .code { color: var(--muted); font-size: 14px; margin-bottom: 22px; }

.specs { border-top: 1px solid var(--line); margin: 0 0 26px; }
.specs .row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 2px;
  border-bottom: 1px solid rgba(201, 153, 43, 0.12);
  font-size: 15px;
}
.specs .row dt { color: var(--muted); margin: 0; }
.specs .row dd { margin: 0; color: var(--text); }
.specs .row.price dd { color: var(--brass-hi); font-size: 19px; }

.sold-note {
  border: 1px solid var(--brass);
  border-radius: var(--r-md);
  background: linear-gradient(180deg, rgba(201, 153, 43, 0.16), transparent);
  padding: 12px 16px;
  margin-bottom: 22px;
  color: var(--brass-hi);
  font-size: 15px;
}

.visit {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 22px;
  background: var(--maroon-3);
}
.visit h3 { font-family: 'Amiri', serif; font-weight: 400; font-size: 21px; margin: 0 0 10px; color: var(--cream); }
.visit p { margin: 0 0 8px; font-size: 14.5px; color: var(--muted); display: flex; gap: 8px; align-items: flex-start; }
.visit p svg { flex: none; margin-top: 3px; color: var(--brass); }
.visit .links { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }

.desc { color: var(--muted); font-size: 15.5px; margin-bottom: 24px; white-space: pre-line; }

.paper {
  color: var(--text);
}
.paper .shell { padding: 78px 0; }
.paper h2 { font-family: 'Amiri', serif; font-size: clamp(28px, 3.6vw, 40px); margin: 0 0 18px; color: var(--cream); font-weight: 700; }
.paper .body { columns: 2; column-gap: 44px; font-size: 16px; line-height: 2.05; white-space: pre-line; color: var(--text); }
.paper .body p { margin: 0 0 16px; break-inside: avoid; }
.paper .marks { display: flex; gap: 40px; margin-top: 34px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 22px; }
.paper .marks div b { display: block; font-family: 'Amiri', serif; font-size: 30px; color: var(--brass-hi); font-weight: 700; }
.paper .marks div span { font-size: 13.5px; color: var(--muted); }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; }
.contact-grid form { display: grid; gap: 14px; }
.contact-grid label { font-size: 14px; color: var(--muted); display: block; margin-bottom: 5px; }
.contact-grid input, .contact-grid textarea {
  width: 100%;
  background: var(--maroon-3);
  border: 1px solid var(--line);
  color: var(--text);
  padding: 11px 14px;
  border-radius: var(--r-sm);
  font-family: inherit;
  font-size: 15px;
}
.contact-grid textarea { min-height: 130px; resize: vertical; }
.contact-grid input:focus, .contact-grid textarea:focus { border-color: var(--brass); outline: none; }

.info-list { border-top: 1px solid var(--line); }
.info-list div { padding: 14px 2px; border-bottom: 1px solid rgba(201, 153, 43, 0.12); display: flex; gap: 12px; align-items: flex-start; }
.info-list svg { flex: none; margin-top: 4px; color: var(--brass); }
.info-list dt { color: var(--muted); font-size: 13.5px; margin-bottom: 3px; }
.info-list dd { margin: 0; font-size: 16px; }

.notice { padding: 12px 16px; border: 1px solid var(--brass); border-radius: var(--r-md); background: rgba(201, 153, 43, 0.12); color: var(--brass-hi); font-size: 15px; }
.notice.bad { border-color: #b4553f; background: rgba(180, 85, 63, 0.14); color: #f0b6a5; }

footer.foot {
  border-top: 1px solid rgba(201, 153, 43, 0.18);
  padding: 46px 0 30px;
  margin-top: 40px;
  background: var(--maroon-1);
}
footer.foot .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 34px; }
footer.foot h4 { font-family: 'Amiri', serif; font-weight: 400; color: var(--cream); font-size: 19px; margin: 0 0 12px; }
footer.foot p, footer.foot a { color: var(--muted); font-size: 14.5px; }
footer.foot a:hover { color: var(--brass-hi); }
footer.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
footer.foot ul a { display: flex; align-items: center; gap: 8px; }
footer.foot ul a svg { color: var(--brass); flex: none; }
footer.foot .base { margin-top: 34px; padding-top: 18px; border-top: 1px solid rgba(201, 153, 43, 0.12); display: flex; justify-content: space-between; gap: 14px; font-size: 13px; color: #8a6a63; flex-wrap: wrap; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(20, 4, 9, 0.94);
  display: none;
  place-items: center;
  padding: 30px;
}
.lightbox.open { display: grid; }
.lightbox img { max-width: 92vw; max-height: 88vh; object-fit: contain; border-radius: var(--r-lg); border: 1px solid var(--line); }
.lightbox .close { position: absolute; top: 20px; inset-inline-end: 26px; background: none; border: 1px solid var(--line); color: var(--brass-hi); width: 40px; height: 40px; border-radius: 50%; }

.empty { text-align: center; padding: 70px 0; color: var(--muted); }
.empty .mark { font-family: 'Playfair', serif; font-size: 46px; letter-spacing: 2px; color: var(--brass-dim); margin-bottom: 10px; }

.reveal { opacity: 0; transform: translateY(18px); }
.reveal.in { opacity: 1; transform: none; transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }

@media (max-width: 900px) {
  .hero-inner { justify-content: center; padding: 54px 0; }
  .hero-copy { text-align: center; max-width: 100%; }
  .hero-brand { margin-inline: auto; }
  .hero-copy .emblem-wrap { width: 175px; height: 175px; }
  .hero p.lede { margin-inline: auto; }
  .hero .divider::before, .hero .divider::after { max-width: 40px; }
  .hero .actions { justify-content: center; }

  .piece-view { grid-template-columns: 1fr; gap: 30px; }
  .contact-grid { grid-template-columns: 1fr; }
  .paper .body { columns: 1; }
  footer.foot .cols { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  .nav {
    display: none;
    position: absolute;
    top: 68px;
    inset-inline: 0;
    flex-direction: column;
    gap: 0;
    background: var(--maroon-1);
    border-bottom: 1px solid var(--line);
    padding: 8px 5vw 16px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 11px 0; border-bottom: 1px solid rgba(201, 153, 43, 0.1); }
  .nav a.nav-admin { margin-top: 8px; text-align: center; border-bottom: 1px solid var(--line); }
  .nav-toggle { display: flex; }
  .vitrine { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 24px 14px; }
  .filters { overflow: hidden; }
  .filters form { width: 100%; margin-inline-start: 0; flex-wrap: wrap; }
  .filters form input.field { flex: 1 1 100%; min-width: 0; }
  .filters form select.field { flex: 1 1 auto; min-width: 0; }
  section.band { padding: 54px 0; }
  footer.foot .cols { grid-template-columns: 1fr; }
  .piece .meta h3 { font-size: 18px; }
  .section-head { flex-direction: column; gap: 4px; }
  .section-head h2 { width: 100%; font-size: 22px; }
  .section-head .rule { display: none; }
  .rate-grid { grid-template-columns: repeat(auto-fill, minmax(145px, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .hero .lamp, .hero .sweep, .wordmark, .hero .kicker, .hero .subtitle, .hero .divider, .hero p.lede, .hero .tagline, .hero .actions, .hero .scroll-hint, .hero-copy .emblem-wrap img,
  .banner .lamp, .banner .sweep, .banner-copy .kicker, .banner-copy h1, .banner-copy p {
    opacity: 1; transform: none; animation: none;
  }
  .reveal { opacity: 1; transform: none; }
  .dust-canvas { display: none; }
}

.rate-group { font-size: 15px; font-weight: 500; color: var(--brass-hi); margin: 22px 0 10px; }
.rate-group:first-of-type { margin-top: 0; }
.rate-card.world { background: linear-gradient(160deg, rgba(120, 140, 170, 0.10), var(--maroon-3)); }
.rate-note { margin-top: 18px; font-size: 12.5px; color: var(--muted); }
