:root {
  color-scheme: dark;
  --background: #10100e;
  --surface: #171714;
  --surface-raised: #1c1b17;
  --line: #302e27;
  --line-soft: #25241f;
  --gold: #c1a66e;
  --gold-light: #e0cb9f;
  --text: #eeeae0;
  --muted: #9a968b;
  --quiet: #6f6c63;
  --sans: "DM Sans", sans-serif;
  --serif: "Cormorant Garamond", Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font: 14px/1.5 var(--sans);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; }
.site-shell { max-width: 1440px; margin: 0 auto; overflow: hidden; }

.topbar {
  height: 82px;
  padding: 0 clamp(24px, 7vw, 104px);
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line-soft);
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 42px; height: 42px; }
.brand > span { display: grid; gap: 2px; }
.brand strong { font: 600 16px var(--serif); letter-spacing: .2px; }
.brand small { color: var(--muted); font-size: 9px; letter-spacing: 1px; text-transform: uppercase; }
.top-nav { display: flex; gap: 30px; margin: 0 40px 0 auto; }
.top-nav a, .nav-cta { color: #aaa69a; font-size: 11px; transition: color .2s ease; }
.top-nav a:hover, .nav-cta:hover { color: var(--gold-light); }
.nav-cta { display: flex; align-items: center; gap: 12px; color: var(--gold-light); }
.nav-cta span { font-size: 16px; }

.hero {
  min-height: 515px;
  padding: 62px clamp(24px, 9vw, 132px) 24px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(330px, .8fr);
  column-gap: clamp(42px, 9vw, 130px);
  align-content: center;
  align-items: center;
  position: relative;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  right: 0;
  width: 55%;
  height: 100%;
  background: radial-gradient(ellipse at 60% 48%, rgba(193,166,110,.075), transparent 66%);
  pointer-events: none;
}
.hero-copy { max-width: 620px; padding-bottom: 20px; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--gold);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.25px;
  text-transform: uppercase;
}
.eyebrow > span { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.eyebrow i { width: 24px; height: 1px; background: #62563d; }
.hero h1 {
  margin: 25px 0 15px;
  font: 500 clamp(56px, 6.7vw, 83px)/.91 var(--serif);
  letter-spacing: -2px;
}
.hero h1 em { color: var(--gold-light); font-style: normal; }
.hero-lede { max-width: 430px; margin: 0; color: #aaa69a; font-size: 13px; line-height: 1.9; }
.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border: 1px solid transparent;
  padding: 0 15px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}
.button:hover:not(:disabled) { transform: translateY(-1px); }
.button-gold { background: var(--gold); color: #17150f; }
.button-gold:hover:not(:disabled) { background: var(--gold-light); }
.hero-copy > .button { margin-top: 27px; min-width: 174px; }
.hero-copy > .button span { font-size: 16px; }

.hero-meta { grid-column: 1/-1; display: flex; align-items: center; gap: 29px; margin-top: 35px; padding-top: 15px; border-top: 1px solid var(--line-soft); color: #888479; font-size: 10px; }
.hero-meta span + span { padding-left: 28px; border-left: 1px solid var(--line); }
.hero-meta b { margin-right: 4px; color: var(--gold-light); font-weight: 600; }

.catalog-section {
  padding: 73px clamp(24px, 7vw, 104px) 94px;
  border-top: 1px solid var(--line-soft);
  background-color: #121210;
  background-image: linear-gradient(rgba(18,18,16,.92), rgba(18,18,16,.95)), url("assets/catalog-background-lala.png");
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 26px; }
.section-heading .eyebrow { margin-bottom: 8px; font-size: 9px; }
.section-heading h2 { margin: 0; font: 600 41px/.98 var(--serif); letter-spacing: -.5px; }
.section-subtitle { margin: 9px 0 0; color: var(--muted); font-size: 11px; }
.catalog-count { display: flex; align-items: center; gap: 9px; padding-left: 15px; border-left: 1px solid var(--line); color: var(--muted); font-size: 9px; line-height: 1.35; }
.catalog-count strong { color: var(--gold-light); font: 500 28px var(--serif); }
.catalog-layout { display: grid; grid-template-columns: minmax(0, 1fr) 305px; gap: 26px; align-items: start; }
.catalog-main { min-width: 0; }
.catalog-tools { min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 10px 14px; border: 1px solid var(--line); background: #171714; }
.condition-wrap { display: flex; align-items: center; gap: 13px; }
.control-label { color: #888479; font-size: 9px; }
.condition-control { display: flex; gap: 3px; padding: 3px; background: #10100e; }
.condition-button { min-height: 32px; border: 1px solid transparent; background: transparent; color: #99958a; padding: 0 12px; font-size: 10px; cursor: pointer; transition: .18s ease; }
.condition-button.active { border-color: #514731; background: #28251d; color: var(--gold-light); }
.search-box { width: 210px; height: 36px; display: flex; align-items: center; gap: 9px; padding: 0 10px; border: 1px solid #36342c; background: #11110f; color: var(--muted); }
.search-box > span { width: 12px; height: 12px; border: 1.5px solid #8b826e; border-radius: 50%; position: relative; flex: 0 0 auto; }
.search-box > span::after { content: ""; position: absolute; right: -4px; bottom: -2px; width: 5px; height: 1.5px; background: #8b826e; transform: rotate(45deg); }
.search-box input { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--text); font-size: 10px; }
.search-box input::placeholder { color: #777368; }
.search-box kbd { border: 1px solid #39372f; padding: 1px 5px; color: #777368; font: 9px var(--sans); }
.category-bar { display: flex; gap: 18px; padding: 14px 1px 12px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: thin; scrollbar-color: #5c5036 transparent; }
.category-chip { display: inline-flex; align-items: center; gap: 6px; flex: 0 0 auto; padding: 2px 0; border: 0; border-bottom: 1px solid transparent; background: transparent; color: #918d82; font-size: 10px; cursor: pointer; transition: color .18s ease, border-color .18s ease; }
.category-chip.selected, .category-chip:hover { border-color: var(--gold); color: var(--gold-light); }
.category-chip span { color: #777368; font-size: 9px; }
.table-head, .weapon-row { display: grid; grid-template-columns: minmax(0, 1fr) 170px 125px; align-items: center; }
.table-head { min-height: 39px; padding: 0 13px; color: #7c786e; font-size: 9px; }
.table-head span:nth-child(2) { text-align: left; }
.weapon-row { min-height: 83px; padding: 11px 13px; border-top: 1px solid var(--line-soft); transition: background .16s ease; }
.weapon-row:hover, .weapon-row.in-order { background: #191915; }
.weapon-ident { min-width: 0; display: flex; align-items: center; gap: 12px; }
.weapon-code { width: 24px; flex: 0 0 24px; color: #716d63; font: 11px var(--serif); }
.weapon-glyph { width: 37px; height: 37px; flex: 0 0 37px; display: grid; place-items: center; border: 1px solid #38352c; color: var(--gold); }
.weapon-glyph svg { width: 27px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }
.weapon-info { min-width: 0; display: grid; gap: 3px; }
.weapon-info h3 { margin: 0; overflow: hidden; color: #e7e3d9; font: 500 15px var(--serif); text-overflow: ellipsis; white-space: nowrap; }
.weapon-info span { color: #898579; font-size: 9px; }
.weapon-price { display: grid; gap: 3px; }
.weapon-price small { color: #898579; font-size: 8px; }
.weapon-price strong { color: var(--gold-light); font-size: 12px; font-weight: 600; }
.weapon-action { display: flex; justify-content: flex-end; }
.add-button { display: inline-flex; align-items: center; justify-content: space-between; gap: 11px; min-width: 96px; height: 31px; border: 1px solid #514731; background: transparent; color: var(--gold-light); padding: 0 9px; font-size: 9px; cursor: pointer; transition: .18s ease; }
.add-button:hover { background: #2b271e; border-color: var(--gold); }
.add-button span { font-size: 14px; }
.quantity-control { display: flex; align-items: center; height: 31px; border: 1px solid #514731; }
.quantity-control button { width: 27px; height: 29px; border: 0; background: transparent; color: var(--gold-light); font-size: 15px; cursor: pointer; }
.quantity-control button:hover { background: #2b271e; }
.quantity-control span { min-width: 20px; text-align: center; color: var(--text); font-size: 10px; }
.catalog-footnote { margin: 13px 0 0; color: #817d72; font-size: 9px; line-height: 1.7; }
.catalog-footnote span { display: inline-grid; width: 14px; height: 14px; place-items: center; margin-right: 5px; border: 1px solid #62563d; border-radius: 50%; color: var(--gold); font-size: 8px; }
.no-results { padding: 48px 16px; text-align: center; color: var(--muted); border: 1px dashed var(--line); }
.no-results b { display: block; margin: 8px 0 4px; color: var(--text); font-size: 12px; }
.no-results p { margin: 0 0 10px; font-size: 10px; }
.no-results button { border: 0; background: none; color: var(--gold-light); font-size: 10px; cursor: pointer; }

.order-card { position: sticky; top: 18px; padding: 20px; border: 1px solid #3a372d; background: #181815; }
.order-heading { display: flex; justify-content: space-between; align-items: center; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.order-heading .eyebrow { margin-bottom: 3px; color: #969083; font-size: 8px; }
.order-heading h3 { margin: 0; font: 600 27px/1 var(--serif); }
.order-mark { display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid #5b5039; border-radius: 50%; color: var(--gold); font: italic 19px var(--serif); }
.order-tier { display: flex; justify-content: space-between; gap: 8px; padding: 13px 0; border-bottom: 1px solid var(--line-soft); color: #928e83; font-size: 9px; }
.order-tier strong { color: var(--gold-light); font-weight: 500; }
.order-items { min-height: 135px; max-height: 310px; overflow: auto; }
.empty-order { min-height: 135px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.empty-order > span { display: grid; width: 29px; height: 29px; place-items: center; margin-bottom: 9px; border: 1px solid #484439; border-radius: 50%; color: var(--gold); font-size: 16px; }
.empty-order b { color: #d5d0c5; font: 500 14px var(--serif); }
.empty-order p { max-width: 195px; margin: 5px 0 0; color: #817d72; font-size: 9px; }
.order-line { display: grid; grid-template-columns: minmax(0, 1fr) auto 16px; gap: 8px; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--line-soft); }
.order-line-name { min-width: 0; display: grid; gap: 3px; }
.order-line-name b { overflow: hidden; color: #e2ddd1; font: 500 13px var(--serif); text-overflow: ellipsis; white-space: nowrap; }
.order-line-name small { color: #898579; font-size: 8px; }
.order-line-total { display: grid; justify-items: end; gap: 3px; white-space: nowrap; }
.order-line-total b { color: var(--gold-light); font-size: 10px; font-weight: 600; }
.order-line-total small { color: #817d72; font-size: 8px; }
.order-line > button { border: 0; background: transparent; color: #777368; font-size: 16px; cursor: pointer; }
.order-line > button:hover { color: var(--gold-light); }
.order-total { padding: 15px 0 13px; border-top: 1px solid var(--line); }
.total-meta { display: flex; justify-content: space-between; color: #969083; font-size: 9px; }
.total-meta span:last-child { color: #817d72; }
.order-total > strong { display: block; margin-top: 5px; color: var(--gold-light); font: 600 30px/1 var(--serif); }
.order-total > small { display: block; margin-top: 5px; color: #817d72; font-size: 8px; }
.order-actions { display: grid; gap: 5px; }
.full-button { width: 100%; min-height: 39px; font-size: 10px; }
.full-button:disabled { opacity: .42; cursor: not-allowed; }
.reset-button { border: 0; background: transparent; color: #8e897e; padding: 7px; font-size: 9px; cursor: pointer; }
.reset-button:hover:not(:disabled) { color: var(--gold-light); }
.reset-button:disabled { opacity: .4; cursor: not-allowed; }
.privacy-note { margin: 10px 0 0; padding-top: 10px; border-top: 1px solid var(--line-soft); color: #817d72; font-size: 8px; }

.footer { min-height: 75px; display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 10px clamp(24px, 7vw, 104px); border-top: 1px solid var(--line-soft); color: #8a867b; font-size: 9px; }
.footer-brand { display: flex; align-items: center; gap: 9px; color: #c9c1ae; font: 600 15px var(--serif); }
.footer-brand img { width: 32px; height: 32px; }
.back-top { color: var(--gold); font-size: 9px; }
.mobile-total { display: none; }
.toast { position: fixed; z-index: 20; left: 50%; bottom: 22px; transform: translate(-50%, 10px); opacity: 0; pointer-events: none; padding: 11px 16px; background: var(--gold-light); color: #17150f; font-size: 11px; font-weight: 600; transition: opacity .2s ease, transform .2s ease; }
.toast.visible { transform: translate(-50%, 0); opacity: 1; }

@media (min-width: 1441px) {
  .hero, .catalog-section { padding-left: 132px; padding-right: 132px; }
}
@media (max-width: 1050px) {
  .hero { column-gap: 42px; padding-left: 7vw; padding-right: 7vw; }
  .catalog-layout { grid-template-columns: minmax(0, 1fr) 280px; gap: 18px; }
  .condition-wrap { align-items: flex-start; flex-direction: column; gap: 5px; }
  .catalog-tools { min-height: 76px; }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 70px; }
  .topbar { height: 68px; padding: 0 20px; }
  .brand img { width: 38px; height: 38px; }
  .brand strong { font-size: 15px; }
  .top-nav { display: none; }
  .nav-cta { margin-left: auto; font-size: 10px; }
  .hero { min-height: auto; padding: 58px 22px 22px; grid-template-columns: 1fr; gap: 30px; }
  .hero::before { width: 100%; background: radial-gradient(ellipse at 90% 18%, rgba(193,166,110,.06), transparent 52%); }
  .hero-copy { padding: 0; }
  .hero h1 { margin-top: 20px; font-size: clamp(57px, 13vw, 75px); }
  .hero-lede { max-width: 390px; font-size: 12px; }
  .hero-copy > .button { margin-top: 20px; }
  .hero-meta { margin-top: 0; gap: 12px; justify-content: space-between; flex-wrap: wrap; }
  .hero-meta span { font-size: 9px; }
  .hero-meta span + span { padding-left: 12px; }
  .catalog-section { padding: 54px 18px 76px; }
  .section-heading { margin-bottom: 21px; }
  .section-heading h2 { font-size: 37px; }
  .section-subtitle { max-width: 260px; font-size: 10px; }
  .catalog-count { gap: 7px; padding-left: 10px; }
  .catalog-count strong { font-size: 24px; }
  .catalog-count span { font-size: 8px; }
  .catalog-layout { display: flex; flex-direction: column; gap: 21px; }
  .catalog-main { width: 100%; }
  .catalog-tools { align-items: stretch; flex-direction: column; gap: 10px; padding: 11px; }
  .condition-wrap { align-items: flex-start; flex-direction: column; gap: 6px; }
  .condition-control { width: max-content; max-width: 100%; }
  .condition-button { padding: 0 10px; font-size: 9px; }
  .search-box { width: 100%; }
  .category-bar { gap: 15px; padding: 12px 1px; }
  .table-head { display: none; }
  .weapon-row { grid-template-columns: minmax(0, 1fr) auto; gap: 7px 8px; min-height: 88px; padding: 12px 8px; }
  .weapon-ident { grid-column: 1/-1; gap: 9px; }
  .weapon-code { width: 20px; flex-basis: 20px; font-size: 10px; }
  .weapon-glyph { width: 34px; height: 34px; flex-basis: 34px; }
  .weapon-glyph svg { width: 25px; }
  .weapon-info h3 { font-size: 15px; }
  .weapon-price { padding-left: 29px; }
  .weapon-price small { font-size: 7px; }
  .weapon-price strong { font-size: 11px; }
  .weapon-action { align-self: center; }
  .add-button { min-width: 91px; height: 30px; }
  .catalog-footnote { font-size: 8px; }
  .order-card { position: static; width: 100%; padding: 17px; }
  .order-items { min-height: 95px; max-height: 230px; }
  .empty-order { min-height: 95px; }
  .footer { padding: 14px 18px 78px; }
  .footer > span { display: none; }
  .mobile-total { position: fixed; z-index: 15; left: 12px; right: 12px; bottom: 10px; min-height: 54px; display: flex; align-items: center; justify-content: space-between; padding: 8px 13px; border: 1px solid #63573c; background: #252219; color: var(--text); box-shadow: 0 6px 24px #0008; cursor: pointer; transform: translateY(calc(100% + 18px)); transition: transform .22s ease; }
  .mobile-total.has-items { transform: translateY(0); }
  .mobile-total > span:first-child { display: grid; gap: 1px; }
  .mobile-total b { color: var(--gold-light); font-size: 10px; }
  .mobile-total small { color: #999286; font-size: 7px; letter-spacing: .7px; }
  .mobile-total strong { color: var(--gold-light); font: 600 21px var(--serif); }
  .mobile-arrow { color: var(--gold); font-size: 17px; }
  .toast { bottom: 76px; }
}
@media (max-width: 390px) {
  .hero-meta { justify-content: flex-start; }
  .hero-meta span:nth-child(3) { display: none; }
  .condition-button { padding: 0 8px; }
  .section-heading h2 { font-size: 33px; }
  .order-total > strong { font-size: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}

/* Hero art: a restrained vertical drift echoes the reference motion. */
.hero h1 {
  font: 800 clamp(48px, 6.3vw, 76px)/.98 var(--sans);
  letter-spacing: -.065em;
  text-transform: uppercase;
}
.hero h1 em { font-style: normal; color: var(--gold-light); }
.hero::before {
  z-index: -1;
  inset: 0;
  width: auto;
  height: auto;
  background: linear-gradient(90deg, #10100e 2%, rgba(16,16,14,.98) 34%, rgba(16,16,14,.56) 56%, rgba(16,16,14,.08) 100%);
}
.hero-case-art {
  position: absolute;
  z-index: -2;
  top: 50%;
  right: 0;
  width: min(78%, 1020px);
  height: auto;
  opacity: .88;
  object-fit: contain;
  object-position: right center;
  pointer-events: none;
  filter: saturate(.9);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.4) 20%, #000 39%, #000 95%, transparent 100%);
  transform: translateY(-50%);
  animation: case-rise-fall 6.5s ease-in-out infinite;
  will-change: transform;
}
@keyframes case-rise-fall {
  0%, 100% { transform: translateY(-50%); }
  50% { transform: translateY(calc(-50% - 10px)); }
}
@media (max-width: 760px) {
  .hero h1 { font-size: clamp(44px, 11vw, 64px); }
  .hero { overflow: hidden; }
  .hero::before { background: linear-gradient(90deg, rgba(16,16,14,.98), rgba(16,16,14,.82) 52%, rgba(16,16,14,.42)), linear-gradient(180deg, transparent 35%, #10100e 100%); }
  .hero-case-art { top: 38%; right: -35%; width: 145%; max-width: none; opacity: .52; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-case-art { animation: none; }
}
