:root {
  --bg: #fbfaf7;
  --paper: #ffffff;
  --ink: #211512;
  --muted: #6e625e;
  --line: #e8ded6;
  --maroon: #7b1732;
  --maroon-dark: #4d1023;
  --indigo: #15385c;
  --emerald: #1f604d;
  --gold: #b9852e;
  --rose: #f5e8e5;
  --shadow: 0 24px 60px rgba(57, 35, 25, 0.12);
  --sans: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: "Cormorant Garamond", Georgia, serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(123, 23, 50, 0.035) 1px, transparent 1px),
    linear-gradient(0deg, rgba(123, 23, 50, 0.025) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, #000, transparent 70%);
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 56px);
  background: rgba(251, 250, 247, 0.88);
  border-bottom: 1px solid rgba(232, 222, 214, 0.9);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

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

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.site-nav a {
  padding: 8px 0;
}

.nav-action,
.button,
.product-buy-row button,
.floating-cart button,
.modal-close {
  border: 1px solid var(--maroon);
  background: var(--maroon);
  color: #fff;
  cursor: pointer;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.nav-action {
  padding: 10px 16px !important;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
}

.button:hover,
.product-buy-row button:hover,
.floating-cart button:hover,
.modal-close:hover,
.nav-action:hover {
  transform: translateY(-1px);
  background: var(--maroon-dark);
  border-color: var(--maroon-dark);
}

.button-secondary {
  background: transparent;
  color: var(--maroon);
}

.button-secondary:hover {
  color: #fff;
}

.menu-button {
  display: none;
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 9px 12px;
  color: var(--ink);
  font-weight: 800;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(420px, 1.12fr);
  gap: clamp(32px, 6vw, 76px);
  min-height: calc(100vh - 74px);
  padding: clamp(42px, 8vw, 92px) clamp(18px, 5vw, 72px) 30px;
  align-items: center;
}

.hero-copy h1,
.section h2,
.modal h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 700;
  line-height: 0.94;
  letter-spacing: 0;
}

.hero-copy h1 {
  max-width: 760px;
  font-size: clamp(54px, 8.6vw, 118px);
}

.hero-copy p {
  max-width: 610px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
}

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

.proof-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  max-width: 760px;
  margin: 36px 0 0;
  background: var(--line);
  border: 1px solid var(--line);
}

.proof-strip div {
  background: rgba(255, 255, 255, 0.72);
  padding: 16px;
}

.proof-strip dt {
  font-weight: 900;
  color: var(--maroon);
}

.proof-strip dd {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.hero-gallery {
  display: grid;
  grid-template-columns: 1fr 0.74fr;
  grid-template-rows: 1fr 1fr;
  gap: 16px;
  min-height: 620px;
}

.hero-frame {
  margin: 0;
  overflow: hidden;
  background: var(--rose);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero-frame-large {
  grid-row: span 2;
}

.hero-frame img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
}

.collection-tiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin: 0 clamp(18px, 5vw, 72px);
  background: var(--line);
  border: 1px solid var(--line);
}

.collection-tiles a {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  background: #111;
}

.collection-tiles img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.82;
  transition: transform 400ms ease, opacity 400ms ease;
}

.collection-tiles span {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 1;
  color: #fff;
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 700;
  line-height: 1;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}

.collection-tiles a:hover img {
  transform: scale(1.04);
  opacity: 0.95;
}

.section {
  padding: clamp(58px, 8vw, 104px) clamp(18px, 5vw, 72px);
}

.split-section,
.wholesale,
.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}

.section-label {
  margin: 0 0 12px;
  color: var(--maroon);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.section h2 {
  font-size: clamp(42px, 6vw, 78px);
}

.copy-stack p,
.wholesale-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.copy-stack p + p {
  margin-top: 18px;
}

.stock-note {
  border-left: 3px solid var(--gold);
  padding-left: 14px;
  color: var(--maroon-dark) !important;
  font-weight: 700;
}

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

.catalog-controls {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(190px, 0.7fr);
  gap: 12px;
  min-width: min(100%, 520px);
}

label span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  padding: 12px 13px;
  outline-color: var(--gold);
}

textarea {
  resize: vertical;
}

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

.product-card {
  display: grid;
  background: var(--paper);
  border: 1px solid var(--line);
  min-width: 0;
}

.image-button {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 0;
  padding: 0;
  background: var(--rose);
  cursor: pointer;
}

.image-button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 360ms ease;
}

.image-button:hover img {
  transform: scale(1.035);
}

.product-body {
  display: grid;
  gap: 10px;
  padding: 16px;
}

.product-meta,
.product-buy-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.product-meta {
  color: var(--maroon);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.product-card h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 25px;
  line-height: 1.02;
}

.product-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.product-buy-row strong {
  font-size: 17px;
}

.product-buy-row button {
  min-height: 36px;
  padding: 8px 12px;
}

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

.moat-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  gap: 18px;
  background: var(--maroon-dark);
  color: #fff;
}

.moat-card {
  padding: clamp(24px, 4vw, 44px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
}

.moat-card h2 {
  color: #fff;
}

.moat-card p,
.moat-list p {
  color: rgba(255, 255, 255, 0.76);
}

.moat-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.16);
}

.moat-list article {
  background: var(--maroon-dark);
  padding: 24px;
}

.moat-list h3,
.feature-grid h3 {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1.05;
}

.moat-list p,
.feature-grid p {
  margin: 0;
}

.wholesale {
  background: #fff;
}

.check-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
  color: var(--muted);
}

.check-list li {
  position: relative;
  padding-left: 26px;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 10px;
  height: 10px;
  background: var(--emerald);
}

.lead-form {
  display: grid;
  gap: 14px;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--line);
  background: var(--bg);
  box-shadow: var(--shadow);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.feature-grid article {
  min-height: 220px;
  background: var(--paper);
  padding: 24px;
}

.contact-section {
  border-top: 1px solid var(--line);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding: 34px clamp(18px, 5vw, 72px);
  background: var(--ink);
  color: #fff;
}

.site-footer p {
  max-width: 560px;
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  align-items: start;
  gap: 16px;
  color: rgba(255, 255, 255, 0.72);
}

.page-hero,
.simple-page {
  min-height: calc(100vh - 74px);
  padding: clamp(60px, 10vw, 118px) clamp(18px, 6vw, 84px);
}

.page-hero h1,
.simple-page h1 {
  max-width: 960px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(52px, 8vw, 104px);
  line-height: 0.95;
}

.page-hero p,
.simple-page p {
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
}

.site-nav.is-inline {
  display: flex;
}

.floating-cart {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 15;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.floating-cart strong {
  display: block;
  color: var(--maroon);
}

.floating-cart span {
  color: var(--muted);
  font-size: 12px;
}

.floating-cart button {
  min-height: 40px;
  padding: 9px 14px;
}

.modal[hidden],
.floating-cart[hidden] {
  display: none;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(21, 15, 13, 0.7);
}

.modal-panel {
  position: relative;
  width: min(100%, 980px);
  max-height: calc(100vh - 40px);
  overflow: auto;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 1;
  min-height: 38px;
  padding: 8px 12px;
}

.modal-content {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.1fr);
  gap: 28px;
  padding: clamp(20px, 4vw, 42px);
}

.modal-content > img {
  width: 100%;
  height: 100%;
  max-height: 680px;
  object-fit: cover;
}

.product-specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 22px 0;
  background: var(--line);
  border: 1px solid var(--line);
}

.product-specs div {
  background: var(--bg);
  padding: 13px;
}

.product-specs dt {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.product-specs dd {
  margin: 4px 0 0;
  font-weight: 800;
}

@media (max-width: 1120px) {
  .hero,
  .split-section,
  .wholesale,
  .moat-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
  }

  .hero-gallery {
    min-height: 560px;
  }

  .product-grid,
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .moat-list {
    grid-template-columns: 1fr;
  }
}

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

  .menu-button {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: 73px;
    left: 12px;
    right: 12px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 14px;
    background: var(--paper);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 10px;
  }

  .hero {
    padding-top: 34px;
  }

  .hero-copy h1 {
    font-size: clamp(46px, 14vw, 64px);
  }

  .proof-strip,
  .collection-tiles,
  .catalog-controls,
  .section-heading,
  .modal-content,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .section-heading,
  .site-footer {
    display: grid;
  }

  .collection-tiles {
    margin-inline: 18px;
  }

  .collection-tiles a {
    min-height: 220px;
  }

  .hero-gallery {
    grid-template-columns: 1fr 1fr;
    min-height: 0;
    gap: 10px;
  }

  .hero-frame-large {
    grid-column: span 2;
    height: 310px;
  }

  .hero-frame:not(.hero-frame-large) {
    height: 175px;
  }

  .product-grid,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .modal {
    padding: 8px;
  }

  .modal-content > img {
    max-height: 430px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
