:root {
  --ink: #0b0d0a;
  --paper: #ffffff;
  --soft: #f3f4f0;
  --line: #d9ddd4;
  --muted: #687064;
  --green: #4a9a16;
  --green-dark: #276d0d;
  --green-bright: #70c72c;
  --acid: #d9ff38;
  --shadow: 0 18px 50px rgba(13, 22, 9, 0.12);
  --shell: min(1320px, calc(100% - 96px));
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.45;
  overflow-x: hidden;
}
body.drawer-open { overflow: hidden; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.topline {
  min-height: 34px;
  padding: 7px 4.5%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  background: var(--ink);
  color: #eff4ea;
  font-family: "Arial Narrow", Impact, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.topline > :last-child { text-align: right; }
.topline-center { letter-spacing: .3em; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: 90px;
  padding: 0 4.5%;
  display: grid;
  grid-template-columns: 250px 1fr 250px;
  align-items: center;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid rgba(17, 24, 14, .12);
  backdrop-filter: blur(14px);
}
.brand { display: inline-flex; align-items: center; gap: 10px; width: fit-content; }
.brand-mark { width: 32px; height: 32px; fill: var(--green); }
.brand-word {
  font-family: "Arial Narrow", Impact, sans-serif;
  font-size: 29px;
  font-weight: 900;
  letter-spacing: .18em;
  line-height: 1;
}
.desktop-nav { display: flex; justify-content: center; align-items: center; gap: clamp(28px, 4vw, 64px); }
.desktop-nav a, .mobile-nav a, .footer-links a {
  position: relative;
  font-family: "Arial Narrow", Impact, sans-serif;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -8px;
  height: 2px;
  background: var(--green);
  transition: right .25s ease;
}
.desktop-nav a:hover::after, .desktop-nav a:focus-visible::after { right: 0; }
.header-actions { justify-self: end; display: flex; align-items: center; gap: 8px; }
.icon-button, .cart-button {
  border: 0;
  background: transparent;
  cursor: pointer;
}
.icon-button {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
}
.icon-button svg, .cart-button svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.cart-button {
  height: 44px;
  padding: 0 13px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.cart-count {
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  display: grid;
  place-items: center;
  border-radius: 99px;
  background: var(--green);
  color: white;
  font-size: 11px;
}
.menu-toggle { display: none; gap: 6px; }
.menu-toggle span { display: block; width: 22px; height: 2px; background: currentColor; transition: transform .2s; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

.search-panel {
  position: absolute;
  inset: 100% 0 auto;
  padding: 26px max(4.5%, calc((100% - 1320px) / 2));
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 18px 35px rgba(0,0,0,.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: .22s ease;
}
.search-panel.open { opacity: 1; visibility: visible; transform: translateY(0); }
.search-panel label { display: block; margin-bottom: 8px; font-size: 12px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.search-line { display: flex; gap: 16px; }
.search-line input {
  flex: 1;
  min-width: 0;
  border: 0;
  border-bottom: 2px solid var(--ink);
  border-radius: 0;
  padding: 10px 0 13px;
  outline: 0;
  font-size: clamp(21px, 3vw, 34px);
  font-weight: 650;
}
.search-line input:focus { border-color: var(--green); }
.search-close { border: 0; background: transparent; font-weight: 800; cursor: pointer; }
.mobile-nav {
  position: absolute;
  inset: 100% 0 auto;
  padding: 26px 24px 34px;
  display: none;
  flex-direction: column;
  gap: 24px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 18px 35px rgba(0,0,0,.08);
}
.mobile-nav.open { display: flex; }

.hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background: #10150c url("./assets/hero-products.png") center center / cover no-repeat;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, transparent 62%, rgba(0,0,0,.58));
}
.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(4,7,3,.94) 0%, rgba(4,7,3,.79) 26%, rgba(4,7,3,.16) 54%, transparent 72%);
}
.hero-content { width: var(--shell); margin: 0 auto; position: relative; padding: 50px 0 58px 44px; color: #fff; }
.hero-bracket {
  position: absolute;
  left: 0;
  top: 46px;
  width: 120px;
  height: 250px;
  border-left: 7px solid var(--green-bright);
}
.hero-bracket::before, .hero-bracket::after { content: ""; position: absolute; left: 0; width: 92px; height: 7px; background: var(--green-bright); }
.hero-bracket::before { top: 0; }
.hero-bracket::after { bottom: 0; }
.hero-kicker, .eyebrow {
  margin: 0 0 13px;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .19em;
  text-transform: uppercase;
}
.hero-kicker { color: #dfffc8; }
.hero h1 {
  max-width: 640px;
  margin: 0;
  font-family: "Arial Narrow", Impact, sans-serif;
  font-size: clamp(68px, 8vw, 126px);
  font-weight: 900;
  letter-spacing: .025em;
  line-height: .78;
  text-transform: uppercase;
  text-shadow: 0 10px 35px rgba(0,0,0,.32);
}
.hero h1 small { display: block; margin-top: 24px; font-size: .32em; letter-spacing: .42em; line-height: 1; }
.hero-copy { max-width: 490px; margin: 27px 0 0; color: rgba(255,255,255,.8); font-size: 17px; }
.hero-actions { margin-top: 31px; display: flex; flex-wrap: wrap; gap: 12px; }
.button {
  min-height: 50px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 0;
  cursor: pointer;
  font-family: "Arial Narrow", Impact, sans-serif;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
  transition: transform .2s, background .2s, color .2s, border-color .2s;
}
.button:hover { transform: translateY(-2px); }
.button-primary { background: linear-gradient(135deg, var(--green-dark), var(--green)); color: #fff; box-shadow: 0 12px 30px rgba(64,142,20,.24); }
.button-primary:hover { background: var(--green-dark); }
.button-primary:disabled { opacity: .42; cursor: not-allowed; transform: none; }
.button-ghost { border-color: rgba(255,255,255,.45); color: #fff; background: rgba(0,0,0,.14); }
.button-ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }
.hero-arrow {
  position: absolute;
  top: 50%;
  width: 54px;
  height: 72px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 62px;
  font-weight: 200;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
  text-shadow: 0 3px 12px rgba(0,0,0,.6);
}
.hero-prev { left: 14px; }
.hero-next { right: 14px; }
.hero-dots { position: absolute; bottom: 22px; left: 50%; display: flex; gap: 8px; transform: translateX(-50%); }
.hero-dots button { width: 10px; height: 10px; padding: 0; border: 1px solid #fff; border-radius: 50%; background: rgba(255,255,255,.4); cursor: pointer; }
.hero-dots button.active { background: var(--green-bright); border-color: var(--green-bright); transform: scale(1.22); }

.volume-dock {
  width: min(1240px, calc(100% - 96px));
  min-height: 140px;
  margin: -2px auto 0;
  padding: 24px 28px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.volume-copy { display: flex; align-items: center; gap: 18px; }
.section-index { color: var(--green); font-size: 13px; font-weight: 900; letter-spacing: .12em; }
.volume-copy p { margin: 0 0 3px; color: var(--muted); font-size: 12px; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.volume-copy h2 { margin: 0; font-family: "Arial Narrow", Impact, sans-serif; font-size: 25px; letter-spacing: .06em; text-transform: uppercase; }
.tier-switcher { display: flex; gap: 8px; }
.tier-button {
  position: relative;
  min-width: 92px;
  height: 70px;
  padding: 7px 13px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid #cdd2c9;
  background: #fff;
  cursor: pointer;
  transition: .2s ease;
}
.tier-button b { font-family: "Arial Narrow", Impact, sans-serif; font-size: 25px; line-height: 1; letter-spacing: .04em; }
.tier-button span { margin-top: 4px; color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.tier-button:hover { border-color: var(--green); }
.tier-button.active { color: #fff; border-color: var(--green-dark); background: linear-gradient(135deg, var(--green-dark), var(--green)); box-shadow: 0 10px 24px rgba(52,123,15,.18); }
.tier-button.active span { color: rgba(255,255,255,.75); }
.tier-button em { position: absolute; top: -11px; padding: 2px 7px; background: var(--acid); color: #1b2807; font-size: 9px; font-style: normal; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }
.volume-note { max-width: 260px; justify-self: end; margin: 0; color: var(--muted); font-size: 13px; }

.section-shell { width: var(--shell); margin: 0 auto; }
.catalog { padding-top: 88px; padding-bottom: 108px; }
.section-heading { display: grid; grid-template-columns: auto 1fr 330px; align-items: center; gap: 24px; }
.mini-bracket { width: 30px; height: 66px; border-left: 6px solid var(--green); border-top: 6px solid var(--green); border-bottom: 6px solid var(--green); }
.section-heading h2, .collections-heading h2, .drawer-header h2, .review-dialog h2 {
  margin: 0;
  font-family: "Arial Narrow", Impact, sans-serif;
  font-size: clamp(38px, 4.6vw, 66px);
  font-weight: 900;
  letter-spacing: .06em;
  line-height: 1;
  text-transform: uppercase;
}
.section-heading .eyebrow { margin-bottom: 8px; color: var(--green-dark); }
.section-sidecopy { margin: 0; color: var(--muted); font-size: 15px; }
.catalog-toolbar { margin: 43px 0 34px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; }
.filter-button {
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid #bec4ba;
  border-radius: 99px;
  background: #fff;
  cursor: pointer;
  font-family: "Arial Narrow", Impact, sans-serif;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
  transition: .2s ease;
}
.filter-button:hover { border-color: var(--green); color: var(--green-dark); }
.filter-button.active { border-color: var(--green-dark); background: linear-gradient(135deg, var(--green-dark), var(--green)); color: #fff; box-shadow: 0 8px 20px rgba(52,123,15,.16); }
.results-count { flex: none; margin: 0; color: var(--muted); font-size: 13px; font-weight: 700; }
.product-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.product-card {
  min-width: 0;
  padding: 12px 12px 16px;
  display: flex;
  flex-direction: column;
  border: 1px solid transparent;
  background: #fff;
  transition: border-color .2s, transform .25s, box-shadow .25s;
}
.product-card:hover { border-color: #d4d9d1; transform: translateY(-5px); box-shadow: var(--shadow); }
.product-media {
  position: relative;
  min-height: 275px;
  overflow: hidden;
  background: #fff;
}
.product-sprite {
  background-image: url("./assets/catalog-products.png");
  background-repeat: no-repeat;
  background-size: 500% auto;
  background-position-y: 80%;
}
.sprite-0 { background-position-x: 0%; }
.sprite-1 { background-position-x: 25%; }
.sprite-2 { background-position-x: 50%; }
.sprite-3 { background-position-x: 75%; }
.sprite-4 { background-position-x: 100%; }
.product-badge {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  padding: 5px 8px;
  background: var(--ink);
  color: white;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.product-favorite {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 1;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid #d9ddd4;
  border-radius: 50%;
  background: rgba(255,255,255,.88);
  font-size: 18px;
  cursor: pointer;
}
.product-favorite.active { color: #fff; border-color: var(--green); background: var(--green); }
.product-category { margin: 12px 0 5px; color: var(--green-dark); font-size: 11px; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.product-name { margin: 0; min-height: 48px; font-family: "Arial Narrow", Impact, sans-serif; font-size: 20px; font-weight: 850; line-height: 1.15; letter-spacing: .025em; }
.product-detail { margin: 6px 0 15px; color: var(--muted); font-size: 12px; }
.price-block { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); }
.price-block strong { display: block; font-size: 23px; line-height: 1; }
.price-block small { display: block; margin-top: 6px; color: var(--muted); font-size: 11px; }
.card-controls { margin-top: 14px; display: grid; grid-template-columns: 80px 1fr; gap: 8px; }
.qty-field { position: relative; }
.qty-field input {
  width: 100%;
  height: 44px;
  padding: 0 26px 0 10px;
  border: 1px solid #c9cec5;
  border-radius: 0;
  outline: 0;
  font-weight: 850;
}
.qty-field input:focus { border-color: var(--green); box-shadow: 0 0 0 2px rgba(74,154,22,.12); }
.qty-field span { position: absolute; top: 50%; right: 8px; color: var(--muted); font-size: 10px; transform: translateY(-50%); }
.add-button { min-height: 44px; padding: 0 11px; border: 0; background: var(--ink); color: #fff; cursor: pointer; font-size: 11px; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; transition: .2s; }
.add-button:hover { background: var(--green-dark); }
.empty-state { padding: 70px 20px; text-align: center; background: var(--soft); }
.empty-state h3 { margin: 0 0 7px; font-size: 24px; }
.empty-state p { margin: 0 0 18px; color: var(--muted); }
.text-button { border: 0; border-bottom: 1px solid currentColor; background: transparent; color: var(--green-dark); cursor: pointer; font-weight: 800; }

.collections { padding: 88px 0 96px; background: var(--ink); color: #fff; }
.collections-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; }
.collections-heading .eyebrow { color: var(--green-bright); }
.collections-heading p:last-child { max-width: 350px; margin: 0; color: #9fa79a; }
.collection-grid { margin-top: 42px; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px; }
.collection-card {
  position: relative;
  min-width: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid #30362d;
  background: #151914;
  color: #fff;
  text-align: left;
  cursor: pointer;
  transition: border-color .25s, transform .25s;
}
.collection-card:hover { border-color: var(--green-bright); transform: translateY(-4px); }
.collection-image { display: block; height: 260px; background-color: white; background-position-y: 82%; transition: transform .35s; }
.collection-card:hover .collection-image { transform: scale(1.025); }
.collection-meta { display: block; padding: 20px 52px 21px 20px; border-top: 1px solid #30362d; }
.collection-meta b { display: block; font-family: "Arial Narrow", Impact, sans-serif; font-size: 22px; letter-spacing: .07em; text-transform: uppercase; }
.collection-meta small { display: block; margin-top: 6px; color: #9fa79a; font-size: 11px; letter-spacing: .04em; }
.collection-arrow { position: absolute; right: 19px; bottom: 25px; color: var(--green-bright); font-size: 21px; }

.trade-strip {
  padding: 32px 4.5%;
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  border-bottom: 1px solid var(--line);
  background: var(--soft);
}
.trade-strip > div { padding: 8px 28px; border-right: 1px solid #cfd4cb; }
.trade-strip > div:last-child { border-right: 0; }
.trade-strip b { display: block; font-family: "Arial Narrow", Impact, sans-serif; font-size: 17px; letter-spacing: .08em; text-transform: uppercase; }
.trade-strip span { display: block; margin-top: 5px; color: var(--muted); font-size: 12px; }

.site-footer {
  min-height: 210px;
  padding: 52px 4.5%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 36px;
}
.footer-brand p { margin: 12px 0 0; color: var(--muted); font-size: 13px; }
.footer-links { display: flex; gap: 34px; }
.legal { max-width: 350px; justify-self: end; margin: 0; color: var(--muted); font-size: 11px; text-align: right; }

.drawer-overlay { position: fixed; inset: 0; z-index: 90; background: rgba(5,8,4,.62); backdrop-filter: blur(3px); }
.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 100;
  width: min(460px, 100%);
  height: 100dvh;
  padding: 28px;
  display: flex;
  flex-direction: column;
  background: #fff;
  box-shadow: -18px 0 60px rgba(0,0,0,.2);
  transform: translateX(105%);
  transition: transform .3s cubic-bezier(.2,.7,.2,1);
}
.cart-drawer.open { transform: translateX(0); }
.drawer-header { display: flex; flex-shrink: 0; align-items: center; justify-content: space-between; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.drawer-header p { margin: 0 0 4px; color: var(--green-dark); font-size: 11px; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.drawer-header h2 { font-size: 40px; }
.drawer-close { font-size: 31px; font-weight: 200; }
.cart-items { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 8px 0 18px; }
.cart-item { padding: 18px 0; display: grid; grid-template-columns: 72px 1fr auto; gap: 13px; border-bottom: 1px solid var(--line); }
.cart-thumb { width: 72px; height: 88px; background-color: #fff; border: 1px solid #edf0ea; background-position-y: 80%; }
.cart-item h3 { margin: 2px 0 5px; font-size: 15px; line-height: 1.2; }
.cart-item p { margin: 0; color: var(--muted); font-size: 11px; }
.cart-line-total { font-size: 13px; font-weight: 850; }
.cart-item-actions { margin-top: 12px; display: flex; align-items: center; gap: 9px; }
.qty-stepper { display: flex; border: 1px solid #cdd2c9; }
.qty-stepper button { width: 30px; height: 30px; border: 0; background: #fff; cursor: pointer; }
.qty-stepper span { min-width: 38px; display: grid; place-items: center; font-size: 12px; font-weight: 800; }
.remove-item { border: 0; background: transparent; color: var(--muted); font-size: 11px; cursor: pointer; text-decoration: underline; }
.cart-empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 34px; text-align: center; }
.cart-empty span { color: var(--green); font-size: 45px; transform: rotate(45deg); }
.cart-empty h3 { margin: 20px 0 4px; font-size: 22px; }
.cart-empty p { max-width: 260px; margin: 0; color: var(--muted); font-size: 13px; }
.cart-summary { flex-shrink: 0; padding-top: 21px; border-top: 1px solid var(--line); }
.cart-summary > div { margin-bottom: 8px; display: flex; justify-content: space-between; font-size: 13px; }
.cart-summary .cart-total { margin-top: 14px; font-size: 18px; }
.cart-summary p { margin: 13px 0 18px; color: var(--muted); font-size: 11px; }
.cart-summary .button { width: 100%; }

.review-dialog {
  width: min(560px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  padding: 0;
  border: 0;
  border-radius: 0;
  box-shadow: 0 30px 100px rgba(0,0,0,.32);
}
.review-dialog::backdrop { background: rgba(5,8,4,.72); backdrop-filter: blur(3px); }
.review-dialog form { position: relative; padding: 38px; }
.review-dialog .eyebrow { color: var(--green-dark); }
.review-dialog h2 { font-size: 44px; }
.dialog-close { position: absolute; top: 16px; right: 18px; width: 38px; height: 38px; border: 0; background: transparent; font-size: 28px; cursor: pointer; }
.review-lines { margin: 26px 0 18px; padding: 8px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.review-line { padding: 10px 0; display: grid; grid-template-columns: 1fr auto; gap: 18px; font-size: 13px; }
.review-line span { color: var(--muted); }
.review-total { display: flex; justify-content: space-between; font-size: 18px; }
.dialog-note { margin: 20px 0; color: var(--muted); font-size: 13px; }
.review-dialog .button { width: 100%; }
.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 150;
  min-width: 220px;
  padding: 13px 18px;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  font-weight: 750;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 20px);
  transition: .25s;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

:focus-visible { outline: 3px solid rgba(112,199,44,.55); outline-offset: 3px; }

@media (max-width: 1100px) {
  :root { --shell: min(100% - 48px, 1040px); }
  .site-header { grid-template-columns: 220px 1fr 180px; }
  .desktop-nav { gap: 24px; }
  .product-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .volume-dock { width: calc(100% - 48px); grid-template-columns: 1fr auto; }
  .volume-note { display: none; }
  .collection-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .site-footer { grid-template-columns: 1fr auto; }
  .legal { grid-column: 1 / -1; max-width: none; justify-self: stretch; text-align: left; }
}

@media (max-width: 780px) {
  :root { --shell: calc(100% - 32px); }
  .topline { min-height: 28px; grid-template-columns: 1fr auto; padding: 6px 16px; font-size: 9px; }
  .topline > :first-child { display: none; }
  .site-header { min-height: 70px; padding: 0 16px; grid-template-columns: 1fr auto; }
  .brand-mark { width: 27px; height: 27px; }
  .brand-word { font-size: 22px; letter-spacing: .14em; }
  .desktop-nav { display: none; }
  .header-actions { gap: 0; }
  .cart-button { padding: 0 7px; }
  .cart-button > span:not(.cart-count) { display: none; }
  .menu-toggle { display: grid; }
  .search-panel { padding: 20px 16px; }
  .hero { min-height: 540px; align-items: end; background-position: 65% center; }
  .hero-shade { background: linear-gradient(180deg, rgba(5,8,4,.02) 12%, rgba(5,8,4,.55) 48%, rgba(5,8,4,.96) 86%); }
  .hero-content { width: 100%; padding: 180px 30px 58px 42px; }
  .hero-bracket { left: 16px; top: 180px; width: 70px; height: 230px; border-left-width: 5px; }
  .hero-bracket::before, .hero-bracket::after { width: 52px; height: 5px; }
  .hero-kicker { font-size: 10px; }
  .hero h1 { font-size: clamp(54px, 18vw, 78px); }
  .hero h1 small { margin-top: 16px; font-size: .29em; letter-spacing: .28em; }
  .hero-copy { max-width: 330px; margin-top: 20px; font-size: 14px; }
  .hero-actions { margin-top: 22px; }
  .hero-actions .button { min-height: 44px; padding: 0 16px; font-size: 11px; }
  .hero-arrow { top: 34%; width: 36px; height: 48px; font-size: 42px; }
  .hero-prev { left: 2px; }
  .hero-next { right: 2px; }
  .volume-dock { width: 100%; min-height: 0; padding: 27px 16px 30px; display: block; }
  .volume-copy { margin-bottom: 18px; }
  .tier-switcher { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; }
  .tier-button { min-width: 0; height: 62px; padding: 6px 3px; }
  .tier-button b { font-size: 21px; }
  .tier-button em { display: none; }
  .catalog { padding-top: 60px; padding-bottom: 68px; }
  .section-heading { grid-template-columns: auto 1fr; gap: 15px; }
  .mini-bracket { width: 22px; height: 56px; border-width: 5px 0 5px 5px; border-style: solid; border-color: var(--green); }
  .section-heading h2 { font-size: 37px; }
  .section-sidecopy { grid-column: 1 / -1; margin-top: 2px; }
  .catalog-toolbar { margin: 28px 0 20px; display: block; }
  .filters { flex-wrap: nowrap; margin-inline: -16px; padding: 0 16px 8px; overflow-x: auto; scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .filter-button { flex: none; min-height: 40px; padding: 0 17px; font-size: 11px; }
  .results-count { margin-top: 10px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px; }
  .product-card { padding: 8px 8px 12px; }
  .product-media { min-height: 205px; }
  .product-category { margin-top: 8px; font-size: 9px; }
  .product-name { min-height: 41px; font-size: 17px; }
  .product-detail { min-height: 34px; margin-bottom: 10px; font-size: 10px; }
  .price-block strong { font-size: 20px; }
  .card-controls { grid-template-columns: 1fr; }
  .qty-field input, .add-button { height: 42px; }
  .collections { padding: 62px 0 67px; }
  .collections-heading { display: block; }
  .collections-heading h2 { font-size: 46px; }
  .collections-heading p:last-child { margin-top: 15px; }
  .collection-grid { margin-top: 28px; grid-template-columns: 1fr 1fr; gap: 8px; }
  .collection-image { height: 190px; }
  .collection-meta { padding: 15px 35px 16px 13px; }
  .collection-meta b { font-size: 16px; }
  .collection-meta small { font-size: 9px; }
  .collection-arrow { right: 12px; bottom: 18px; }
  .trade-strip { padding: 0 16px; grid-template-columns: 1fr 1fr; }
  .trade-strip > div { min-height: 112px; padding: 22px 12px; border-bottom: 1px solid #cfd4cb; }
  .trade-strip > div:nth-child(2) { border-right: 0; }
  .site-footer { padding: 44px 16px; display: block; }
  .footer-links { margin: 30px 0; flex-wrap: wrap; gap: 16px 26px; }
  .legal { text-align: left; }
}

@media (max-width: 420px) {
  .topline-center { letter-spacing: .18em; }
  .hero-content { padding-left: 36px; }
  .product-media { min-height: 176px; }
  .collection-image { height: 160px; }
  .cart-drawer { padding: 21px 18px; }
  .review-dialog form { padding: 32px 22px 24px; }
}

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