:root {
  color-scheme: dark;
  --bg-0: #0a0908;
  --bg-1: #131110;
  --bg-2: #1c1917;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --ink: #f2ede4;
  --muted: #a09b91;
  --muted-2: #6f6a62;
  --accent: #c9a959;
  --accent-dim: #8a742f;
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.7);
  --nav-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg-0);
  color: var(--ink);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(60, 40, 20, 0.35) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 90% 80%, rgba(30, 20, 40, 0.25) 0%, transparent 55%),
    var(--bg-0);
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.18s ease;
}
a:hover { color: var(--ink); }

img { max-width: 100%; height: auto; display: block; }

/* ============ Nav ============ */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  background: rgba(10, 9, 8, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-nav .brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: "Cormorant Garamond", "Playfair Display", serif;
  font-size: 22px;
  letter-spacing: 0.14em;
  color: var(--ink);
  text-transform: uppercase;
}
.site-nav .brand:hover { color: var(--accent); }
.site-nav .brand img { height: 36px; width: auto; }
.site-nav ul {
  list-style: none;
  display: flex;
  gap: 32px;
  padding: 0;
  margin: 0;
}
.site-nav a.navlink {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 6px 0;
  border-bottom: 1px solid transparent;
}
.site-nav a.navlink:hover,
.site-nav a.navlink.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--ink);
  font-size: 24px;
  cursor: pointer;
  padding: 8px;
}

@media (max-width: 720px) {
  .site-nav { padding: 0 18px; }
  .site-nav .brand { font-size: 18px; }
  .nav-toggle { display: block; }
  .site-nav ul {
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: center;
    gap: 0;
    background: rgba(10, 9, 8, 0.96);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }
  .site-nav ul.open { max-height: 320px; }
  .site-nav ul li { width: 100%; text-align: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
  .site-nav ul li:last-child { border-bottom: none; }
}

/* ============ Layout primitives ============ */
main { min-height: calc(100vh - var(--nav-h) - 120px); }

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 28px;
}
.container-narrow {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 28px;
}

.section { padding: 90px 0; }
.section-lg { padding: 120px 0; }
.section-sm { padding: 50px 0; }

.kicker {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(16px, 1.7vw, 19px);
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 22px;
  font-weight: 600;
}

.h1 {
  font-family: "Cormorant Garamond", "Playfair Display", serif;
  font-weight: 500;
  font-size: clamp(40px, 6vw, 68px);
  line-height: 1.05;
  letter-spacing: 0.02em;
  margin: 0 0 20px;
  color: var(--ink);
}
.h2 {
  font-family: "Cormorant Garamond", "Playfair Display", serif;
  font-weight: 500;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.1;
  letter-spacing: 0.02em;
  margin: 0 0 16px;
  color: var(--ink);
}
.h3 {
  font-family: "Cormorant Garamond", "Playfair Display", serif;
  font-weight: 500;
  font-size: clamp(22px, 2.4vw, 28px);
  letter-spacing: 0.04em;
  margin: 0 0 10px;
  color: var(--ink);
}

.lede {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: clamp(18px, 2.2vw, 22px);
  color: var(--muted);
  max-width: 640px;
  margin: 0 auto 26px;
  line-height: 1.5;
}

p { color: #d8d3c8; margin: 0 0 1em; }
p.body { max-width: 720px; }

.hairline {
  border: none;
  height: 1px;
  background: var(--line);
  margin: 0;
}

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Cormorant Garamond", serif;
  font-size: 16px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 16px 34px;
  border: 1px solid var(--accent);
  color: var(--accent);
  background: transparent;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn:hover { background: var(--accent); color: var(--bg-0); }
.btn.primary { background: var(--accent); color: var(--bg-0); }
.btn.primary:hover { background: transparent; color: var(--accent); }
.btn.ghost { border-color: var(--line-strong); color: var(--muted); }
.btn.ghost:hover { border-color: var(--accent); color: var(--accent); background: transparent; }

/* ============ Home hero ============ */
.hero {
  position: relative;
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 28px;
  overflow: hidden;
  background-image: url("../images/rhino.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center top;
  background-color: var(--bg-0);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to bottom,
      rgba(10, 9, 8, 0.7) 0%,
      rgba(10, 9, 8, 0.80) 45%,
      rgba(10, 9, 8, 0.92) 100%
    ),
    radial-gradient(ellipse 70% 50% at 50% 40%, rgba(201, 169, 89, 0.10) 0%, transparent 60%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; max-width: 800px; }
.hero .logo-banner {
  max-width: min(560px, 80vw);
  margin: 0 auto 40px;
  filter: drop-shadow(0 6px 30px rgba(0,0,0,0.5));
}
.hero .cta-title {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(22px, 3vw, 28px);
  font-style: italic;
  color: var(--muted);
  margin: 0 0 18px;
  letter-spacing: 0.05em;
}
.hero .cta-desc {
  color: #d8d3c8;
  font-size: 17px;
  max-width: 560px;
  margin: 0 auto 36px;
}
.hero .cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ============ Category cards grid ============ */
.section-head {
  text-align: center;
  margin-bottom: 60px;
}

.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.cat-card {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--bg-1);
  border: 1px solid var(--line);
  color: var(--ink);
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}
.cat-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease, filter 0.4s ease;
  filter: brightness(0.7) saturate(0.95);
}
.cat-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.15) 45%, transparent 100%);
  pointer-events: none;
}
.cat-card .overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
}
.cat-card .cat-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 32px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--ink);
  margin: 0 0 6px;
}
.cat-card .cat-meta {
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
}
.cat-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg), 0 0 30px rgba(201, 169, 89, 0.12);
}
.cat-card:hover img {
  transform: scale(1.06);
  filter: brightness(0.85) saturate(1.05);
}

/* ============ Category page grid (items) ============ */
.item-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 22px;
}
.item-card {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--bg-1);
  border: 1px solid var(--line);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.item-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, filter 0.3s ease;
  filter: saturate(0.92) contrast(1.02);
}
.item-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.78) 0%, transparent 55%);
  pointer-events: none;
}
.item-card .overlay {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 18px;
  z-index: 2;
}
.item-card .item-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--ink);
  margin: 0;
  line-height: 1.15;
}
.item-card .item-count {
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 6px;
}
.item-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg), 0 0 25px rgba(201, 169, 89, 0.12);
}
.item-card:hover img { transform: scale(1.05); }

/* ============ Category page header ============ */
.page-header {
  text-align: center;
  padding: 80px 28px 40px;
}
.page-header.page-banner {
  position: relative;
  padding: 140px 28px 100px;
  min-height: 380px;
  overflow: hidden;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center top;
  background-color: var(--bg-1);
}
.page-header.page-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10, 9, 8, 0.75) 0%,
    rgba(10, 9, 8, 0.85) 55%,
    rgba(10, 9, 8, 0.94) 100%
  );
  pointer-events: none;
}
.page-header.page-banner > * {
  position: relative;
  z-index: 1;
}
.page-header .breadcrumb {
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 16px;
}
.page-header .breadcrumb a { color: var(--muted); }
.page-header .breadcrumb a:hover { color: var(--accent); }
.page-header .page-desc {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: clamp(19px, 2.2vw, 23px);
  color: #d8d3c8;
  max-width: 720px;
  margin: 22px auto 0;
  line-height: 1.55;
}

/* ============ Item detail page ============ */
.item-hero {
  padding: 60px 28px 40px;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}
.item-hero .item-desc {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: clamp(20px, 2.3vw, 25px);
  line-height: 1.6;
  color: #d8d3c8;
  max-width: 780px;
  margin: 28px auto 0;
}

.gallery {
  max-width: 1240px;
  margin: 40px auto 100px;
  padding: 0 28px;
}
.gallery-single {
  display: flex;
  justify-content: center;
}
.gallery-single .tile {
  aspect-ratio: auto;
  max-width: 900px;
  width: 100%;
}
.gallery-single .tile img {
  height: auto;
  max-height: 78vh;
}
.gallery-grid {
  display: grid;
  gap: 22px;
}
.gallery-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.gallery-grid.cols-3 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }

/* ============ "More from this category" section on item pages ============ */
.more-section {
  margin-top: 40px;
  padding-top: 60px;
  padding-bottom: 80px;
  border-top: 1px solid var(--line);
}
.more-section .section-head { margin-bottom: 40px; }
.more-section .kicker { font-size: clamp(13px, 1.3vw, 15px); margin-bottom: 14px; }
.more-back {
  text-align: center;
  margin-top: 44px;
}
.tile {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--bg-1);
  border: 1px solid var(--line);
  cursor: zoom-in;
  aspect-ratio: 1 / 1;
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, filter 0.3s ease;
  filter: saturate(0.92) contrast(1.03);
}
.tile:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg), 0 0 25px rgba(201, 169, 89, 0.14);
}
.tile:hover img { transform: scale(1.04); }
.tile:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* ============ About page ============ */
.about-block {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 90px;
}
.about-block.reverse { grid-template-columns: 1.4fr 1fr; }
.about-block.reverse .about-image { order: 2; }
.about-block .about-image {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-1);
}
.about-block .about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9);
}
.about-block .about-body p { font-size: 17px; line-height: 1.75; color: #d8d3c8; }
.awards-list { margin-top: 12px; }
.awards-list .award {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.awards-list .award:last-child { border-bottom: none; }
.awards-list .award-year {
  font-family: "Cormorant Garamond", serif;
  font-size: 22px;
  color: var(--accent);
  letter-spacing: 0.05em;
}
.awards-list .award-title { font-size: 15px; color: var(--ink); margin-top: 2px; }
.awards-list .award-note { font-size: 14px; color: var(--muted); font-style: italic; margin-top: 4px; }

@media (max-width: 780px) {
  .about-block, .about-block.reverse { grid-template-columns: 1fr; gap: 30px; }
  .about-block.reverse .about-image { order: 0; }
  .about-block .about-image { max-width: 420px; margin: 0 auto; }
}

/* ============ Contact page ============ */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: start;
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 28px 100px;
}
.contact-image {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-1);
}
.contact-image img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.9); }
.contact-form label {
  display: block;
  font-family: "Cormorant Garamond", serif;
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.contact-form .field { margin-bottom: 22px; }
.contact-form .required::after { content: " *"; color: var(--accent); }
.contact-form input,
.contact-form textarea {
  width: 100%;
  background: var(--bg-1);
  border: 1px solid var(--line);
  color: var(--ink);
  padding: 12px 14px;
  font-family: inherit;
  font-size: 15px;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--bg-2);
}
.contact-form textarea { min-height: 160px; resize: vertical; }
.contact-form .form-note {
  font-size: 12px;
  color: var(--muted-2);
  margin-top: 14px;
  font-style: italic;
}
@media (max-width: 780px) {
  .contact-wrap { grid-template-columns: 1fr; gap: 30px; }
  .contact-image { max-width: 420px; margin: 0 auto; }
}

/* ============ Footer ============ */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 40px 28px;
  text-align: center;
  color: var(--muted-2);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}
.footer-social {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-bottom: 20px;
}
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}
.footer-social a:hover {
  border-color: var(--accent);
  background: rgba(201, 169, 89, 0.08);
  transform: translateY(-2px);
}
.footer-social img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  opacity: 0.85;
  transition: opacity 0.2s ease;
}
.footer-social a:hover img { opacity: 1; }

/* ============ Lightbox ============ */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  z-index: 100;
  padding: 40px;
  cursor: zoom-out;
  animation: lb-fade 0.18s ease;
}
.lightbox.hidden { display: none; }
.lightbox img {
  max-width: 100%;
  max-height: calc(100% - 40px);
  object-fit: contain;
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.8);
  cursor: default;
}
.lightbox .lb-close {
  position: absolute;
  top: 20px;
  right: 24px;
  font-family: "Cormorant Garamond", serif;
  letter-spacing: 0.3em;
  font-size: 11px;
  color: var(--ink);
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--line-strong);
  padding: 8px 14px;
  cursor: pointer;
  text-transform: uppercase;
  opacity: 0.85;
}
.lightbox .lb-close:hover {
  opacity: 1;
  border-color: var(--accent);
  color: var(--accent);
}
.lightbox .lb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--ink);
  font-family: "Cormorant Garamond", serif;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  opacity: 0.85;
  padding: 0 0 4px;
}
.lightbox .lb-nav:hover {
  opacity: 1;
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(0, 0, 0, 0.6);
}
.lightbox .lb-nav.prev { left: 24px; }
.lightbox .lb-nav.next { right: 24px; }
.lightbox .lb-caption {
  text-align: center;
  font-family: "Cormorant Garamond", serif;
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
  pointer-events: none;
  flex: 0 0 auto;
}
@media (max-width: 640px) {
  .lightbox { padding: 20px; }
  .lightbox .lb-nav { width: 44px; height: 44px; font-size: 22px; }
  .lightbox .lb-nav.prev { left: 12px; }
  .lightbox .lb-nav.next { right: 12px; }
  .lightbox .lb-close { top: 14px; right: 14px; }
}
@keyframes lb-fade { from { opacity: 0; } to { opacity: 1; } }
