:root {
  color-scheme: light;
  --ink: #191c1f;
  --muted: #687076;
  --paper: #fbfaf7;
  --line: #d9d4ca;
  --panel: #ffffff;
  --coal: #202124;
  --accent: #b51f2d;
  --accent-dark: #811723;
  --gold: #c79b3b;
  --green: #0d6b54;
  --blue: #216b9a;
  --shadow: 0 22px 60px rgba(20, 20, 20, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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;
  min-height: 68px;
  padding: 0 28px;
  background: rgba(251, 250, 247, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 7px;
  background: var(--coal);
  color: white;
  font-size: 13px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 14px;
  font-weight: 700;
  color: #34383c;
}

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

.icon-button {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: white;
  color: var(--ink);
  cursor: pointer;
}

.hero {
  position: relative;
  min-height: clamp(560px, 84vh, 780px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #151515;
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.52) 38%, rgba(0, 0, 0, 0.18) 100%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.34), transparent 45%);
}

.hero-content {
  position: relative;
  width: min(760px, calc(100% - 40px));
  margin-left: clamp(20px, 7vw, 92px);
  padding: 90px 0 130px;
  color: white;
}

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

.hero h1 {
  max-width: 690px;
  margin: 0;
  font-size: clamp(44px, 8vw, 92px);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero p:not(.eyebrow) {
  max-width: 610px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(17px, 2.2vw, 22px);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-weight: 900;
  cursor: pointer;
}

.button.primary {
  background: var(--accent);
  color: white;
}

.button.primary:hover {
  background: var(--accent-dark);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border-color: rgba(255, 255, 255, 0.44);
}

.market-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--coal);
  color: white;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.market-strip article {
  padding: 20px 28px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.market-strip span,
.data-panel span,
.fee-box span {
  display: block;
  color: #aeb4b9;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.market-strip strong,
.data-panel strong,
.fee-box strong {
  display: block;
  margin-top: 4px;
  font-size: 18px;
}

.section {
  padding: 76px clamp(20px, 5vw, 70px);
}

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

.section-heading h2,
.copy-block h2,
.data-section h2 {
  max-width: 800px;
  margin: 0;
  font-size: clamp(30px, 5vw, 54px);
  line-height: 1;
  letter-spacing: 0;
}

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

.search {
  display: grid;
  gap: 6px;
  width: min(100%, 360px);
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: white;
  color: var(--ink);
  padding: 12px 13px;
  outline: none;
}

textarea {
  min-height: 104px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(181, 31, 45, 0.12);
}

.tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 0 18px;
  scrollbar-width: thin;
}

.tab {
  flex: 0 0 auto;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: white;
  padding: 0 14px;
  color: #33383d;
  font-weight: 900;
  cursor: pointer;
}

.tab.active {
  background: var(--coal);
  color: white;
  border-color: var(--coal);
}

.filter-bar {
  display: grid;
  grid-template-columns: repeat(6, minmax(130px, 1fr)) auto;
  gap: 10px;
  align-items: end;
  margin: 0 0 16px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f5f1e9;
}

.filter-bar label {
  min-width: 0;
}

.reset-button {
  min-width: 92px;
  background: white;
  color: var(--coal);
  border-color: var(--line);
}

.result-count {
  min-height: 22px;
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

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

.item-card {
  display: flex;
  flex-direction: column;
  min-height: 560px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(36, 31, 24, 0.08);
}

.card-art {
  display: grid;
  place-items: center;
  min-height: 214px;
  padding: 20px;
  background:
    radial-gradient(circle at 80% 20%, rgba(199, 155, 59, 0.18), transparent 30%),
    linear-gradient(135deg, #272a2d, #f1eee7 52%, #ffffff);
}

.slab {
  width: 142px;
  aspect-ratio: 0.72;
  padding: 9px;
  border: 4px solid #d6d9dd;
  border-radius: 8px;
  background: #f9faf9;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.2);
}

.slab-label {
  height: 28px;
  margin-bottom: 8px;
  border-radius: 4px;
  background: var(--accent);
  color: white;
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 900;
}

.mini-card {
  height: calc(100% - 36px);
  border-radius: 5px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.16)),
    var(--card-color, #216b9a);
  display: grid;
  place-items: center;
  color: white;
  font-size: 42px;
  font-weight: 900;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.listing-photo {
  display: block;
  width: min(76%, 150px);
  max-height: 178px;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.24);
  background: white;
}

.item-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 18px;
}

.item-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.pill {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px 8px;
  font-size: 12px;
  font-weight: 900;
  color: #44484c;
}

.item-card h3 {
  margin: 0;
  font-size: 19px;
  line-height: 1.2;
}

.listing-specs {
  display: grid;
  gap: 4px;
  margin: 12px 0 8px;
}

.listing-specs div {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 8px;
  font-size: 13px;
}

.listing-specs dt {
  color: var(--muted);
  font-weight: 900;
}

.listing-specs dd {
  min-width: 0;
  margin: 0;
  color: #303438;
  font-weight: 800;
}

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

.price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 10px;
}

.price {
  font-size: 24px;
  font-weight: 950;
}

.status {
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
}

.comps {
  display: grid;
  gap: 8px;
  margin: 14px 0;
  padding: 12px;
  border: 1px solid #e4e0d7;
  border-radius: 7px;
  background: #faf8f2;
}

.comps div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
}

.comps span {
  color: var(--muted);
}

.comps strong {
  text-align: right;
}

.card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.card-actions .button.secondary {
  background: white;
  color: var(--coal);
  border-color: var(--line);
}

.data-section {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  align-items: center;
  gap: 36px;
  background: #ece7dd;
}

.data-section p,
.copy-block p {
  max-width: 680px;
  color: var(--muted);
  font-size: 17px;
}

.data-panel {
  display: grid;
  gap: 12px;
  padding: 22px;
  background: var(--coal);
  color: white;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
  gap: 38px;
  align-items: center;
}

.submit-section {
  background: #f5f1e9;
}

.ghostwrite-section {
  background: #ffffff;
}

.ghostwrite-section .form-card {
  border-top: 5px solid var(--blue);
}

.ghostwrite-fees p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.copy-block h2 {
  margin-top: 0;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  max-width: 580px;
  margin-top: 22px;
}

.steps span {
  min-height: 58px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: white;
  font-weight: 900;
}

.form-card {
  display: grid;
  gap: 13px;
  padding: 24px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(36, 31, 24, 0.1);
}

.form-card h3 {
  margin: 0 0 4px;
  font-size: 24px;
}

label {
  display: grid;
  gap: 6px;
  color: #42474c;
  font-size: 13px;
  font-weight: 900;
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: var(--green);
  font-weight: 900;
}

.fee-box {
  margin-top: 22px;
  padding: 18px;
  border-left: 5px solid var(--accent);
  background: white;
}

.safety-section {
  background: #f7f4ed;
}

.safety-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.safety-grid article {
  min-height: 132px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.safety-grid span {
  display: block;
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.safety-grid strong {
  display: block;
  margin-top: 8px;
  color: var(--coal);
  font-size: 20px;
  line-height: 1.2;
}

.contact-section {
  background: var(--coal);
  color: white;
}

.contact-section .section-heading p {
  color: #c9ced1;
}

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

.contact-grid label {
  color: #e7e9eb;
}

.contact-grid .wide {
  grid-column: span 4;
}

.contact-grid .button {
  width: max-content;
}

.drawer {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: none;
  justify-content: end;
  background: rgba(0, 0, 0, 0.44);
}

.drawer.open {
  display: flex;
}

.drawer-panel {
  width: min(100%, 430px);
  height: 100%;
  overflow-y: auto;
  background: white;
  padding: 26px;
  box-shadow: var(--shadow);
}

.drawer-panel h2 {
  margin: 16px 0 8px;
  font-size: 36px;
}

.drawer-panel p {
  color: var(--muted);
}

.drawer-panel form {
  display: grid;
  gap: 13px;
}

.close {
  margin-left: auto;
}

.empty {
  grid-column: 1 / -1;
  padding: 36px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  background: white;
  color: var(--muted);
  text-align: center;
  font-weight: 900;
}

@media (max-width: 1100px) {
  .inventory-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .filter-bar {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .safety-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid .wide {
    grid-column: span 2;
  }
}

@media (max-width: 820px) {
  .site-header {
    padding: 0 16px;
  }

  .main-nav {
    display: none;
  }

  .hero {
    min-height: 620px;
  }

  .hero-content {
    width: calc(100% - 32px);
    margin-left: 16px;
    padding-bottom: 120px;
  }

  .market-strip,
  .data-section,
  .split,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .section-heading {
    display: grid;
    align-items: start;
  }

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

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

  .contact-grid .wide {
    grid-column: span 1;
  }
}

@media (max-width: 560px) {
  .section {
    padding: 54px 16px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero-actions,
  .card-actions,
  .steps {
    grid-template-columns: 1fr;
    display: grid;
  }

  .button {
    width: 100%;
  }

  .inventory-grid {
    grid-template-columns: 1fr;
  }

  .filter-bar {
    grid-template-columns: 1fr;
  }

  .reset-button {
    width: 100%;
  }

  .market-strip article {
    padding: 16px;
  }
}
