:root {
  --espresso: #2e1a17;
  --truffle: #5e3a33;
  --sand: #f5e9de;
  --cream: #fff9f4;
  --line: #eadfd3;
  --white: #ffffff;
  --shadow: 0 20px 50px rgba(66, 36, 28, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--espresso);
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.96), rgba(255, 249, 244, 0.88) 42%, rgba(245, 233, 222, 0.94) 100%),
    var(--cream);
}

a {
  color: inherit;
  text-decoration: none;
}

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

.container {
  width: min(1360px, calc(100% - 32px));
  margin: 0 auto;
}

.topbar {
  position: fixed;
  inset-inline: 0;
  top: 16px;
  z-index: 30;
  padding: 0 16px;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 84px;
  max-width: 1280px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 30px 80px rgba(78, 41, 30, 0.18);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand img {
  width: 72px;
  height: 72px;
  object-fit: contain;
}

.eyebrow {
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(94, 58, 51, 0.7);
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: nowrap;
  flex-shrink: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 800;
  white-space: nowrap;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--espresso);
  color: var(--white);
}

.btn-secondary {
  border: 1px solid rgba(46, 26, 23, 0.14);
  background: rgba(255, 255, 255, 0.92);
}

.hero {
  padding: 132px 0 28px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 0.94fr;
  gap: 28px;
  align-items: start;
}

.panel {
  border: 1px solid var(--line);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: 42px;
}

.hero-copy h1 {
  margin: 16px 0 14px;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(3rem, 5vw, 5.2rem);
  line-height: 0.94;
  font-weight: 700;
}

.hero-copy p {
  margin: 0;
  max-width: 700px;
  font-size: 1.03rem;
  line-height: 1.9;
  color: rgba(94, 58, 51, 0.82);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--sand);
  font-size: 0.77rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(94, 58, 51, 0.8);
}

.gallery-shell {
  padding: 18px;
}

.gallery-main {
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.gallery-main img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: contain;
  background: linear-gradient(180deg, rgba(255,255,255,0.5), rgba(255,255,255,0));
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 14px;
}

.gallery-thumb {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid transparent;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.7);
}

.gallery-thumb.is-active {
  border-color: var(--espresso);
}

.gallery-thumb img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.overview {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  padding: 12px 0 0;
}

.section-card {
  padding: 28px;
}

.section-card h2 {
  margin: 0 0 18px;
  font-family: "Cormorant Garamond", serif;
  font-size: 2.2rem;
  line-height: 1;
}

.section-card p {
  margin: 0;
  color: rgba(94, 58, 51, 0.82);
  line-height: 1.85;
}

.info-list {
  display: grid;
  gap: 12px;
}

.info-item {
  padding: 14px 16px;
  border-radius: 20px;
  background: var(--sand);
}

.info-item strong {
  display: block;
  margin-bottom: 6px;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding: 24px 0 80px;
}

.content-block {
  padding: 28px;
}

.content-block h3 {
  margin: 0 0 14px;
  font-size: 1.24rem;
}

.content-block p,
.content-block li {
  color: rgba(94, 58, 51, 0.84);
  line-height: 1.8;
}

.content-block ul {
  margin: 0;
  padding-left: 18px;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 22px;
  background: var(--white);
  border: 1px solid var(--line);
}

.data-table th,
.data-table td {
  padding: 14px 16px;
  text-align: left;
  font-size: 0.95rem;
  border-bottom: 1px solid rgba(234, 223, 211, 0.8);
}

.data-table th {
  background: #f8f1ea;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(94, 58, 51, 0.78);
}

.data-table tr:last-child td {
  border-bottom: 0;
}

.note-box {
  padding: 18px 20px;
  border-radius: 22px;
  background: #f8f1ea;
  color: rgba(94, 58, 51, 0.84);
}

.note-box + .note-box {
  margin-top: 12px;
}

.footer {
  padding: 0 0 40px;
}

.footer-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 24px 28px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand img {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.footer-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}

.footer-copy {
  color: rgba(94, 58, 51, 0.75);
  line-height: 1.75;
}

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

@media (max-width: 720px) {
  .container {
    width: min(100% - 20px, 1360px);
  }

  .topbar-inner,
  .footer-box {
    flex-direction: column;
    align-items: flex-start;
  }

  .topbar-inner {
    min-height: auto;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 28px;
  }

  .brand img {
    width: 52px;
    height: 52px;
  }

  .topbar {
    top: 10px;
    padding: 0 10px;
  }

  .top-actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .hero-copy,
  .section-card,
  .content-block,
  .gallery-shell {
    padding: 20px;
  }

  .hero {
    padding-top: 120px;
  }

  .hero-copy h1 {
    font-size: 2.4rem;
  }

  .hero-copy p {
    font-size: 0.95rem;
    line-height: 1.7;
  }

  .gallery-shell {
    padding: 14px;
  }

  .gallery-main {
    border-radius: 22px;
  }

  .gallery-main img {
    aspect-ratio: 10 / 13;
    padding: 8px;
  }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .btn {
    width: 100%;
    min-height: 42px;
    padding: 0 14px;
    font-size: 0.78rem;
  }
}
