:root {
  --bg: #0f0e0d;
  --panel: #181512;
  --panel-border: rgba(224, 204, 171, 0.2);
  --text: #f0e9df;
  --text-dim: #bfb3a1;
  --accent: #cf9a5a;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Sora", sans-serif;
  color: var(--text);
  background:
    radial-gradient(120% 90% at 0% 0%, #292118 0%, transparent 42%),
    radial-gradient(80% 80% at 100% 20%, #1f1711 0%, transparent 45%),
    var(--bg);
}

img {
  display: block;
  width: 100%;
}

a {
  color: inherit;
}

.container {
  width: min(1180px, 92vw);
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(6px);
  background: rgba(12, 10, 9, 0.88);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.brand {
  text-decoration: none;
  font-family: "Playfair Display", "Bodoni Moda", serif;
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  letter-spacing: 0.04em;
}

.back-link {
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.74rem;
  color: #d8c4a3;
}

main {
  padding: 36px 0 54px;
}

.detail-hero {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: 26px;
  align-items: stretch;
}

.detail-hero figure {
  margin: 0;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--panel-border);
}

.detail-hero figure img {
  height: 100%;
  min-height: 380px;
  object-fit: cover;
}

.detail-copy {
  background: rgba(20, 16, 13, 0.78);
  border: 1px solid var(--panel-border);
  border-radius: 20px;
  padding: clamp(20px, 3vw, 34px);
}

.kicker {
  margin: 0;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #d8c09c;
}

h1 {
  margin: 12px 0 0;
  font-family: "Playfair Display", "Bodoni Moda", serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.1;
}

.detail-copy p {
  margin: 14px 0 0;
  color: var(--text-dim);
  line-height: 1.7;
}

.chips {
  margin-top: 20px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.chips span {
  border: 1px solid rgba(216, 192, 156, 0.36);
  border-radius: 999px;
  padding: 0.4rem 0.72rem;
  font-size: 0.71rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #dfc49d;
}

.cta {
  margin-top: 22px;
  display: inline-block;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.74rem;
  border: 1px solid rgba(216, 192, 156, 0.42);
  border-radius: 999px;
  padding: 0.62rem 1rem;
}

.gallery-wrap {
  margin-top: 32px;
}

.gallery-wrap h2 {
  margin: 0;
  font-family: "Playfair Display", "Bodoni Moda", serif;
  font-size: clamp(1.55rem, 2.8vw, 2.2rem);
}

.gallery-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: 155px;
  gap: 12px;
}

.gallery-grid img {
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--panel-border);
}

.gallery-grid img:nth-child(1) {
  grid-column: span 5;
  grid-row: span 2;
}

.gallery-grid img:nth-child(2) {
  grid-column: span 4;
  grid-row: span 2;
}

.gallery-grid img:nth-child(3) {
  grid-column: span 3;
  grid-row: span 2;
}

.gallery-grid img:nth-child(4) {
  grid-column: span 4;
  grid-row: span 2;
}

.gallery-grid img:nth-child(5) {
  grid-column: span 3;
  grid-row: span 2;
}

.gallery-grid img:nth-child(6) {
  grid-column: span 5;
  grid-row: span 2;
}

@media (max-width: 960px) {
  .detail-hero {
    grid-template-columns: 1fr;
  }

  .detail-hero figure img {
    min-height: 300px;
  }
}

@media (max-width: 700px) {
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 170px;
  }

  .gallery-grid img {
    grid-column: auto !important;
    grid-row: auto !important;
  }
}
