:root {
  color-scheme: dark;
  --bg: #171612;
  --panel: #24211c;
  --panel-2: #1c1a16;
  --ink: #fff7ed;
  --muted: #b8aa9b;
  --line: #3b332b;
  --accent: #ff5a18;
  --accent-2: #ffb15f;
  --soft: #32271f;
  --shadow: 0 18px 42px rgba(0, 0, 0, 0.38);
  --glow: 0 0 26px rgba(255, 89, 24, 0.44);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 52% -8%, rgba(255, 91, 24, 0.26), transparent 30rem),
    linear-gradient(180deg, #24211f 0%, var(--bg) 23rem);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
}

.site-header,
main,
.site-footer {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  padding: 38px 0 22px;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}

.brand-lockup img {
  width: clamp(116px, 18vw, 218px);
  height: auto;
  flex: 0 0 auto;
  filter: drop-shadow(0 0 20px rgba(255, 87, 17, 0.4));
}

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

h1 {
  margin: 0;
  font-size: clamp(1.9rem, 4vw, 4rem);
  line-height: 0.95;
  letter-spacing: 0;
  text-shadow: var(--glow);
}

.contact-link,
.media-link,
.chip {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.contact-link,
.media-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  white-space: nowrap;
}

.toolbar {
  display: grid;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(36, 33, 28, 0.82);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.search {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 800;
}

.search input {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-2);
  color: var(--ink);
  font: inherit;
  padding: 0 12px;
}

.filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  padding: 0 12px;
}

.chip.is-active {
  border-color: var(--accent);
  background: var(--accent);
  color: #1b1008;
  box-shadow: var(--glow);
}

.summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 16px 0;
}

.summary div {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.summary span {
  display: block;
  font-size: 1.6rem;
  font-weight: 900;
}

.summary p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.inventory {
  position: relative;
  margin-bottom: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.inventory-brand {
  display: flex;
  justify-content: center;
  padding: 20px 16px 14px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at center, rgba(255, 91, 24, 0.18), transparent 18rem),
    var(--panel-2);
}

.inventory-brand img {
  width: min(330px, 82vw);
  height: auto;
  opacity: 0.88;
}

.list-header,
.inventory-row {
  display: grid;
  grid-template-columns: minmax(260px, 1.6fr) minmax(190px, 1fr) 88px minmax(220px, 1.2fr) 136px;
  gap: 16px;
  align-items: center;
}

.list-header {
  padding: 12px 16px;
  background: var(--soft);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.inventory-row {
  min-height: 104px;
  padding: 16px;
  border-top: 1px solid var(--line);
}

.item-main {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
}

.media-thumb {
  width: 68px;
  height: 68px;
  flex: 0 0 68px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 91, 24, 0.34), rgba(255, 177, 95, 0.16)),
    repeating-linear-gradient(45deg, #201c18 0 8px, #2e2822 8px 16px);
  box-shadow: inset 0 0 20px rgba(255, 91, 24, 0.16);
}

h2 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.2;
  letter-spacing: 0;
}

.item-note {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.item-type,
.quantity {
  color: var(--muted);
  font-weight: 750;
}

.item-type {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.category,
.size {
  color: var(--accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.quantity {
  margin: 0;
}

.ratings {
  display: grid;
  grid-template-columns: repeat(2, minmax(88px, 1fr));
  gap: 6px 12px;
  margin: 0;
}

.ratings div {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  color: var(--muted);
  font-size: 0.86rem;
}

.ratings dt,
.ratings dd {
  margin: 0;
}

.ratings dd {
  color: var(--ink);
  font-weight: 850;
}

.media-link {
  border-color: rgba(255, 91, 24, 0.58);
  background: var(--accent);
  color: #1b1008;
  box-shadow: var(--glow);
}

.empty-state {
  margin: 0;
  padding: 28px 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  text-align: center;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 0 38px;
  color: var(--muted);
}

.site-footer img {
  width: 190px;
  max-width: 42vw;
  height: auto;
  opacity: 0.78;
}

.site-footer p {
  margin: 0;
  font-size: 0.92rem;
  text-align: right;
}

@media (max-width: 900px) {
  .list-header {
    display: none;
  }

  .inventory-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .item-type,
  .quantity,
  .ratings,
  .media-link {
    margin-left: 81px;
  }
}

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

  .brand-lockup {
    align-items: flex-start;
    flex-direction: column;
  }

  .contact-link {
    width: 100%;
  }

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

  .item-type,
  .quantity,
  .ratings,
  .media-link {
    margin-left: 0;
  }

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

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer p {
    text-align: left;
  }
}
