:root {
  --ink: #22201d;
  --muted: #6f685f;
  --paper: #f8f5ef;
  --surface: #fffdf8;
  --line: #ded7cc;
  --bronze: #916c3b;
  --green: #566b50;
  --plum: #563b4d;
  --shadow: 0 18px 48px rgba(34, 32, 29, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px clamp(18px, 5vw, 64px);
  background: rgba(248, 245, 239, 0.92);
  border-bottom: 1px solid rgba(222, 215, 204, 0.85);
  backdrop-filter: blur(14px);
}

.brand,
.main-nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  font-weight: 700;
  text-decoration: none;
}

.brand-mark {
  width: 18px;
  height: 18px;
  border: 2px solid var(--bronze);
  border-radius: 50%;
  box-shadow: inset 0 0 0 4px var(--paper);
}

.main-nav {
  gap: clamp(12px, 3vw, 28px);
  font-size: 0.92rem;
  font-weight: 700;
}

.main-nav a {
  color: var(--muted);
  text-decoration: none;
}

.main-nav a:hover {
  color: var(--ink);
}

.hero {
  position: relative;
  min-height: calc(100vh - 72px);
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(18, 17, 15, 0.74), rgba(18, 17, 15, 0.36) 42%, rgba(18, 17, 15, 0.04) 74%),
    linear-gradient(0deg, rgba(18, 17, 15, 0.38), transparent 42%);
}

.hero-image {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-content {
  width: min(720px, 100%);
  padding: clamp(48px, 8vw, 96px) clamp(20px, 6vw, 72px);
  color: #fffdf8;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--bronze);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #e8cfa7;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.03;
  letter-spacing: 0;
}

h1 {
  max-width: 680px;
  font-size: clamp(2.65rem, 7vw, 5.8rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

h3 {
  font-size: 1.35rem;
}

.hero-copy {
  max-width: 610px;
  margin: 20px 0 0;
  color: rgba(255, 253, 248, 0.88);
  font-size: clamp(1rem, 2vw, 1.18rem);
}

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

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 0.94rem;
  font-weight: 800;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

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

.button.primary {
  background: var(--bronze);
  color: #fffdf8;
}

.button.secondary {
  background: rgba(255, 253, 248, 0.12);
  border-color: rgba(255, 253, 248, 0.5);
  color: #fffdf8;
}

.contact-section .button.secondary {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}

.catalog-section,
.details-section,
.contact-section {
  padding: clamp(56px, 9vw, 104px) clamp(18px, 5vw, 64px);
}

.pack-notice {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 22px clamp(18px, 5vw, 64px);
  background: var(--green);
  color: #fffdf8;
}

.pack-notice .eyebrow {
  margin: 0;
  color: #e8cfa7;
  white-space: nowrap;
}

.pack-notice p:last-child {
  max-width: 920px;
  margin: 0;
  color: rgba(255, 253, 248, 0.9);
  font-weight: 700;
}

.catalog-section {
  background: var(--paper);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
}

.filter-button {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 15px;
  background: var(--surface);
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 800;
}

.filter-button:hover,
.filter-button.is-active {
  border-color: var(--green);
  background: var(--green);
  color: #fffdf8;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.item-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 10px 32px rgba(34, 32, 29, 0.07);
}

.item-photo-wrap {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #e5dfd4;
}

.item-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.item-photo.is-contained {
  object-fit: contain;
  background: #e7e1d7;
}

.item-status {
  position: absolute;
  top: 12px;
  left: 12px;
  border-radius: 999px;
  padding: 6px 10px;
  background: rgba(255, 253, 248, 0.9);
  color: var(--green);
  font-size: 0.76rem;
  font-weight: 900;
}

.image-switcher {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: flex;
  gap: 7px;
}

.image-arrows {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px;
  pointer-events: none;
}

.image-arrow {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(34, 32, 29, 0.18);
  border-radius: 50%;
  background: rgba(255, 253, 248, 0.84);
  color: var(--ink);
  cursor: pointer;
  font-size: 1.4rem;
  line-height: 1;
  pointer-events: auto;
}

.image-arrow:hover {
  background: var(--bronze);
  color: #fffdf8;
}

.image-dot {
  width: 11px;
  height: 11px;
  border: 1px solid rgba(34, 32, 29, 0.28);
  border-radius: 50%;
  background: rgba(255, 253, 248, 0.8);
  cursor: pointer;
}

.image-dot.is-active,
.image-dot:hover {
  background: var(--bronze);
  border-color: var(--bronze);
}

.item-body {
  display: grid;
  gap: 12px;
  padding: 18px;
}

.item-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
}

.item-price {
  color: var(--plum);
  font-weight: 900;
}

.item-description {
  margin: 0;
  color: var(--muted);
}

.item-measures {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 2px 0 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--line);
}

.item-measures div {
  min-width: 0;
  padding: 10px;
  background: #fbf8f2;
}

.item-measures dt {
  margin: 0 0 2px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.item-measures dd {
  margin: 0;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 800;
}

.details-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 1fr);
  gap: clamp(28px, 6vw, 72px);
  background: var(--ink);
  color: #fffdf8;
}

.details-copy p {
  max-width: 560px;
  color: rgba(255, 253, 248, 0.76);
}

.detail-list {
  display: grid;
  gap: 1px;
  align-self: start;
  margin: 0;
  background: rgba(255, 253, 248, 0.22);
}

.detail-list div {
  padding: 22px;
  background: rgba(255, 253, 248, 0.08);
}

.detail-list dt {
  margin-bottom: 6px;
  color: #e8cfa7;
  font-weight: 900;
}

.detail-list dd {
  margin: 0;
  color: rgba(255, 253, 248, 0.78);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 26px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.contact-section p {
  max-width: 620px;
  color: var(--muted);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 24px clamp(18px, 5vw, 64px);
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

@media (max-width: 900px) {
  .site-header,
  .section-heading,
  .contact-section,
  .site-footer {
    align-items: flex-start;
  }

  .site-header,
  .section-heading,
  .contact-section,
  .site-footer {
    flex-direction: column;
  }

  .main-nav {
    width: 100%;
    justify-content: space-between;
  }

  .catalog-grid,
  .details-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .pack-notice {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

@media (max-width: 620px) {
  .site-header {
    position: static;
  }

  .hero {
    min-height: 720px;
  }

  .hero::after {
    background:
      linear-gradient(180deg, rgba(18, 17, 15, 0.2), rgba(18, 17, 15, 0.82) 62%),
      linear-gradient(90deg, rgba(18, 17, 15, 0.36), transparent);
  }

  .hero-image {
    object-position: 43% center;
  }

  .hero-content {
    padding-top: 220px;
  }

  .button {
    width: 100%;
  }
}
