:root {
  --black: #070707;
  --black-soft: #121212;
  --gold: #c9a34a;
  --gold-light: #e6cf87;
  --white: #ffffff;
  --ivory: #f7f4ed;
  --muted: #8d887d;
  --line: rgba(201, 163, 74, 0.28);
  --shadow: 0 18px 60px rgba(0, 0, 0, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--black);
  background: var(--ivory);
  font-family: "Inter", Arial, sans-serif;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px clamp(18px, 4vw, 54px);
  color: var(--white);
  background: rgba(7, 7, 7, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.brand-mark {
  display: grid;
  gap: 1px;
  min-width: 128px;
  color: var(--gold-light);
  font-family: "Cormorant Garamond", Georgia, serif;
  line-height: 0.92;
  letter-spacing: 0.16em;
}

.brand-mark span {
  font-size: 18px;
}

.brand-mark strong {
  font-size: 24px;
  font-weight: 700;
}

.site-nav {
  display: flex;
  gap: clamp(12px, 3vw, 28px);
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-weight: 600;
}

.site-nav a:hover {
  color: var(--gold-light);
}

.section-shell {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 34px;
  min-height: calc(100svh - 71px);
  padding: 46px 0 34px;
  align-items: center;
}

.hero-copy {
  padding-top: 12px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 700;
  line-height: 0.98;
}

h1 {
  max-width: 780px;
  font-size: clamp(54px, 12vw, 124px);
}

h2 {
  color: var(--black);
  font-size: clamp(38px, 7vw, 70px);
}

.tagline {
  margin: 14px 0 0;
  color: var(--black-soft);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(26px, 6vw, 42px);
}

.intro {
  max-width: 660px;
  margin: 18px 0 0;
  color: #37342d;
  font-size: 16px;
  line-height: 1.8;
}

.hero-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: 0 18px;
  border: 1px solid transparent;
  border-radius: 3px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

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

.button-gold {
  color: var(--black);
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
}

.button-light {
  color: var(--black);
  background: var(--white);
  border-color: rgba(7, 7, 7, 0.12);
}

.button-outline {
  color: var(--black);
  background: transparent;
  border-color: var(--gold);
}

.hero-visual {
  position: relative;
  overflow: hidden;
  min-height: 430px;
  border: 1px solid var(--line);
  background: var(--black);
  box-shadow: var(--shadow);
}

.hero-visual img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
}

.hero-note {
  position: absolute;
  right: 16px;
  bottom: 16px;
  left: 16px;
  display: grid;
  gap: 4px;
  padding: 14px;
  color: var(--white);
  background: rgba(7, 7, 7, 0.78);
  border: 1px solid var(--line);
}

.hero-note span {
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.hero-note strong {
  font-size: 15px;
}

.featured,
.order-section {
  padding: 64px 0;
}

.section-heading {
  margin-bottom: 24px;
}

.catalog-band {
  padding: 64px 0;
  color: var(--white);
  background: var(--black);
}

.catalog-band h2 {
  color: var(--white);
}

.catalog-heading {
  display: grid;
  gap: 18px;
}

.filter-control {
  display: grid;
  gap: 8px;
  max-width: 240px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.filter-control select {
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  color: var(--white);
  background: #171717;
  border: 1px solid var(--line);
  border-radius: 3px;
  font: inherit;
  letter-spacing: 0;
  text-transform: none;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(245px, 1fr));
  gap: 18px;
}

.product-card {
  display: grid;
  overflow: hidden;
  min-height: 100%;
  color: var(--black);
  background: var(--white);
  border: 1px solid rgba(7, 7, 7, 0.09);
}

.catalog-band .product-card {
  color: var(--white);
  background: #121212;
  border-color: var(--line);
}

.product-image {
  position: relative;
  aspect-ratio: 4 / 5;
  background: #111;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.status {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 7px 10px;
  color: var(--black);
  background: var(--gold-light);
  border-radius: 2px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.status.sold {
  color: rgba(255, 255, 255, 0.82);
  background: rgba(7, 7, 7, 0.82);
}

.product-info {
  display: grid;
  gap: 10px;
  padding: 18px;
}

.product-topline {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-card h3 {
  font-size: 29px;
  line-height: 1.02;
}

.product-description {
  margin: 0;
  color: #5a554c;
  font-size: 14px;
  line-height: 1.65;
}

.catalog-band .product-description {
  color: rgba(255, 255, 255, 0.72);
}

.card-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 4px;
}

.card-actions .button {
  min-height: 42px;
  width: 100%;
  font-size: 11px;
}

.order-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px;
}

.order-grid article {
  min-height: 170px;
  padding: 24px;
  color: var(--white);
  background: var(--black);
  border: 1px solid var(--line);
}

.order-number {
  display: block;
  margin-bottom: 22px;
  color: var(--gold-light);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 42px;
}

.order-grid p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.65;
}

.site-footer {
  display: grid;
  gap: 6px;
  padding: 32px 18px;
  text-align: center;
  color: rgba(255, 255, 255, 0.72);
  background: var(--black);
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0;
  color: var(--gold-light);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 25px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.product-modal,
.contact-modal {
  width: min(980px, calc(100% - 24px));
  padding: 0;
  color: var(--white);
  background: var(--black);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.product-modal::backdrop,
.contact-modal::backdrop {
  background: rgba(0, 0, 0, 0.76);
  backdrop-filter: blur(6px);
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 40px;
  height: 40px;
  color: var(--white);
  background: rgba(0, 0, 0, 0.72);
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 26px;
  cursor: pointer;
}

.modal-layout {
  display: grid;
  grid-template-columns: 1fr;
}

.modal-gallery {
  display: grid;
  gap: 10px;
  padding: 12px;
}

#modalMainImage {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: #111;
}

.thumbnail-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
}

.thumbnail-row button {
  flex: 0 0 70px;
  width: 70px;
  height: 82px;
  padding: 0;
  overflow: hidden;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.18);
  cursor: pointer;
}

.thumbnail-row button.active {
  border-color: var(--gold-light);
}

.thumbnail-row img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-content {
  display: grid;
  align-content: center;
  gap: 16px;
  padding: 24px;
}

.modal-category {
  margin: 0;
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.modal-content h3 {
  font-size: clamp(42px, 8vw, 68px);
}

.modal-price {
  margin: 0;
  color: var(--gold-light);
  font-size: 23px;
  font-weight: 800;
}

.modal-description {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.8;
}

.detail-list {
  display: grid;
  gap: 1px;
  margin: 0;
  border: 1px solid var(--line);
}

.detail-list div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 12px;
  padding: 13px;
  background: rgba(255, 255, 255, 0.04);
}

.detail-list dt {
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

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

.modal-contact {
  width: fit-content;
}

.contact-modal {
  width: min(620px, calc(100% - 24px));
}

.contact-form {
  display: grid;
  gap: 15px;
  padding: clamp(24px, 5vw, 42px);
}

.contact-form h3 {
  font-size: clamp(40px, 8vw, 62px);
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 13px 12px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  border-radius: 3px;
  font: 500 15px "Inter", Arial, sans-serif;
  letter-spacing: 0;
  text-transform: none;
}

.contact-form textarea {
  resize: vertical;
}

.hidden-field {
  display: none;
}

.thank-you-page {
  min-height: 100svh;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--black);
  padding: 24px;
}

.thank-you-panel {
  width: min(760px, 100%);
}

.thank-you-panel h1,
.thank-you-panel .tagline {
  color: var(--white);
}

@media (min-width: 720px) {
  .hero {
    grid-template-columns: minmax(0, 1.05fr) minmax(330px, 0.7fr);
    padding: 58px 0 42px;
  }

  .catalog-heading {
    grid-template-columns: 1fr auto;
    align-items: end;
  }

  .card-actions {
    grid-template-columns: 1fr 1fr;
  }

  .modal-layout {
    grid-template-columns: minmax(320px, 0.85fr) 1fr;
  }
}

@media (max-width: 560px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .hero-actions .button {
    flex: 1 1 150px;
  }

  .detail-list div {
    grid-template-columns: 1fr;
    gap: 5px;
  }
}
