:root {
  --olive: #5e6b3a;
  --olive-dark: #4a542e;
  --red: #c41e3a;
  --black: #111;
  --bar: #161616;
  --features: #2b2b2b;
  --footer: #0c0c0c;
  --muted: #6a6a6a;
  --line: #e6e6e6;
  --card: #ececec;
  --bg: #fff;
  --gold: #e0a106;
  --display: "Oswald", sans-serif;
  --body: "Inter", system-ui, sans-serif;
  --header: 78px;
  --ticker: 38px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--body);
  color: var(--black);
  background: var(--bg);
  line-height: 1.5;
  min-height: 100vh;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, textarea { font: inherit; }
button, a, .category-item, .product-card, .icon-btn { cursor: pointer; }
:focus-visible { outline: 2px solid var(--olive); outline-offset: 3px; }
[hidden] { display: none !important; }

.sr-only, .skip-link {
  position: absolute;
  left: -999px;
  top: 0;
}
.skip-link:focus { left: 12px; top: 12px; background: #fff; padding: 8px 12px; z-index: 80; }

/* Ticker */
.ticker {
  background: var(--bar);
  color: #fff;
  height: var(--ticker);
  overflow: hidden;
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker 28s linear infinite;
}
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-group {
  display: flex;
  align-items: center;
  gap: 48px;
  padding: 0 24px;
  height: var(--ticker);
  white-space: nowrap;
}
.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #f3f3f3;
}
.ticker-item svg { width: 13px; height: 13px; fill: currentColor; }
.ticker-strong { font-weight: 700; letter-spacing: .12em; }
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  min-height: var(--header);
  padding: 10px 24px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.brand-mark { width: 52px; height: 52px; flex: none; }
.brand-mark svg { width: 100%; height: 100%; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 30px;
  letter-spacing: .14em;
  background: linear-gradient(180deg, #5a5a5a 0%, #c8c8c8 38%, #2d2d2d 52%, #8a8a8a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.brand--light .brand-name,
.brand--hero .brand-name {
  background: linear-gradient(180deg, #fff 0%, #d0d0d0 45%, #8d8d8d 55%, #f2f2f2 100%);
  -webkit-background-clip: text;
  background-clip: text;
}
.brand-tag {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--display);
  font-size: 9px;
  letter-spacing: .28em;
  color: #666;
  margin-top: 4px;
}
.brand--light .brand-tag,
.brand--hero .brand-tag { color: #ddd; }
.brand-tag i {
  display: block;
  height: 1px;
  width: 18px;
  background: currentColor;
  opacity: .7;
}
.nav-desktop {
  display: none;
  justify-content: center;
  gap: 28px;
}
.nav-desktop a {
  font-family: var(--display);
  font-size: 14px;
  letter-spacing: .14em;
  text-decoration: none;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.nav-desktop a.is-active,
.nav-desktop a:hover { border-bottom-color: var(--red); color: #111; }
.nav-desktop a.is-active { border-bottom-width: 2px; }
.header-actions { display: flex; align-items: center; gap: 4px; }
.icon-btn {
  width: 44px;
  height: 44px;
  border: 0;
  background: none;
  display: grid;
  place-items: center;
  color: #222;
  text-decoration: none;
  position: relative;
  border-radius: 0;
}
.icon-btn svg { width: 22px; height: 22px; }
.cart-badge {
  position: absolute;
  top: 6px;
  right: 4px;
  min-width: 16px;
  height: 16px;
  border-radius: 99px;
  background: var(--red);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  display: grid;
  place-items: center;
  padding: 0 4px;
}
.hamburger { display: grid; gap: 5px; }
.hamburger span {
  width: 18px;
  height: 2px;
  background: #111;
  display: block;
}
.mobile-nav {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 50;
}
.mobile-nav[hidden] { display: none !important; }
.mobile-nav-panel {
  background: #fff;
  width: min(88vw, 360px);
  height: 100%;
  margin-left: auto;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.mobile-nav nav { display: flex; flex-direction: column; gap: 8px; }
.mobile-nav a {
  font-family: var(--display);
  letter-spacing: .12em;
  text-decoration: none;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  min-height: 44px;
}
.mobile-nav a.is-active { color: var(--red); }
.mobile-close { align-self: flex-end; }

.search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 55;
  display: grid;
  place-items: start center;
  padding-top: 12vh;
}
.search-overlay[hidden] { display: none !important; }
.search-box {
  background: #fff;
  width: min(92vw, 560px);
  padding: 24px;
}
.search-box form { display: flex; gap: 8px; }
.search-box input {
  flex: 1;
  border: 1px solid #ccc;
  padding: 12px 14px;
  min-height: 44px;
}
.search-box button[type="submit"] {
  background: var(--olive);
  color: #fff;
  border: 0;
  padding: 0 18px;
  letter-spacing: .08em;
  font-family: var(--display);
}
.search-close {
  margin-top: 12px;
  border: 0;
  background: none;
  text-decoration: underline;
}

/* Hero */
.hero {
  position: relative;
  min-height: 520px;
  color: #fff;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(18,22,12,.72) 0%, rgba(18,22,12,.35) 52%, rgba(18,22,12,.2) 100%),
    url("/assets/images/hero-camo.jpg") center/cover no-repeat;
}
.hero-inner {
  position: relative;
  z-index: 1;
  width: min(100% - 40px, var(--max));
  margin: 0 auto 40px;
  display: grid;
  gap: 32px;
  align-items: center;
}
.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  color: #fff;
}
.hero-copy h1 {
  font-family: var(--display);
  font-size: clamp(34px, 6vw, 64px);
  font-weight: 700;
  letter-spacing: .04em;
  line-height: .95;
  margin: 0 0 18px;
  color: #fff;
  text-shadow: 0 2px 18px rgba(0,0,0,.35);
}
.hero-kicker {
  font-family: var(--display);
  letter-spacing: .32em;
  font-size: 14px;
  margin: 0 0 28px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,.45);
  display: block;
  color: #fff;
}
.hero-logo { display: none; justify-content: flex-end; }
.brand--hero .brand-mark { width: 92px; height: 92px; }
.brand--hero .brand-name { font-size: 64px; }
.brand--hero .brand-tag { font-size: 13px; letter-spacing: .34em; }
.hero-cut {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 78px;
  background: #fff;
  clip-path: polygon(0 100%, 100% 100%, 100% 0);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 26px;
  border: 0;
  text-decoration: none;
  font-family: var(--display);
  letter-spacing: .14em;
  font-size: 14px;
  transition: background .2s ease, transform .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-olive { background: var(--olive); color: #fff; }
.btn-olive:hover { background: var(--olive-dark); }
.btn-dark { background: #111; color: #fff; }
.btn-block { width: 100%; }

.section-title {
  font-family: var(--display);
  text-align: center;
  letter-spacing: .16em;
  font-size: clamp(22px, 3vw, 30px);
  margin: 0 0 36px;
}
.section-title::after {
  content: "";
  display: block;
  width: 14px;
  height: 14px;
  margin: 10px auto 0;
  background: var(--red);
  clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

/* Categories */
.categories {
  padding: 56px 20px 20px;
  background: #f3f3f3;
}
.category-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 140px;
  gap: 22px;
  overflow-x: auto;
  padding: 8px 8px 28px;
  max-width: 1280px;
  margin: 0 auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.category-item {
  text-decoration: none;
  text-align: center;
  scroll-snap-align: start;
}
.category-img {
  width: 132px;
  height: 132px;
  margin: 0 auto 12px;
  border-radius: 50%;
  overflow: hidden;
  background: #e7e7e7;
  display: block;
  box-shadow: 0 0 0 6px #fff;
}
.category-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.category-name {
  font-family: var(--display);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* Features */
.features { background: var(--features); color: #fff; }
.features-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 28px 20px;
}
.features article {
  text-align: center;
  padding: 12px 10px;
}
.features svg { width: 28px; height: 28px; margin: 0 auto 8px; display: block; }
.features h3 {
  font-family: var(--display);
  letter-spacing: .1em;
  font-size: 14px;
  margin: 0 0 4px;
  text-transform: uppercase;
}
.features p { margin: 0; font-size: 12px; color: #cfcfcf; }

/* Products */
.product-section { padding: 56px 20px; }
.product-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px 16px;
}
.product-card h3 {
  font-size: 14px;
  font-weight: 500;
  margin: 12px 0 2px;
}
.product-card h3 a { text-decoration: none; }
.product-color { margin: 0; color: var(--muted); font-size: 12px; }
.product-section .product-color { display: none; }
.product-price { margin: 4px 0 0; font-weight: 700; }
.product-price.xl { font-size: 24px; }
.product-media {
  background: var(--card);
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
}
.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}
.product-card:hover .product-media img { transform: scale(1.04); }

/* Testimonials */
.testimonials {
  padding: 20px 0 64px;
  overflow: hidden;
}
.testimonial-viewport { overflow: hidden; }
.testimonial-track {
  display: flex;
  width: max-content;
  gap: 24px;
  animation: ticker 36s linear infinite;
  padding: 8px 0;
}
.testimonial-viewport:hover .testimonial-track { animation-play-state: paused; }
.testimonial-card {
  width: min(86vw, 360px);
  text-align: center;
  padding: 8px 18px;
}
.stars { color: var(--gold); letter-spacing: 3px; font-size: 16px; }
.quote {
  font-style: italic;
  color: #333;
  min-height: 72px;
}
.who { font-weight: 600; font-size: 14px; }

/* Footer */
.site-footer { background: var(--footer); color: #ddd; }
.footer-grid {
  max-width: 1280px;
  margin: 0 auto;
  padding: 48px 20px 28px;
  display: grid;
  gap: 32px;
}
.footer-grid h3 {
  font-family: var(--display);
  letter-spacing: .14em;
  color: #fff;
  font-size: 14px;
  margin: 0 0 14px;
}
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin: 0 0 8px; }
.footer-grid a { text-decoration: none; color: #cfcfcf; }
.footer-grid a:hover { color: #fff; }
.footer-address {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  color: #bbb;
  font-size: 14px;
}
.footer-address svg { width: 16px; height: 16px; fill: currentColor; flex: none; margin-top: 3px; }
.socials { display: flex; gap: 10px; margin-top: 16px; }
.socials a {
  width: 40px;
  height: 40px;
  border: 1px solid #444;
  display: grid;
  place-items: center;
  color: #fff;
}
.socials svg { width: 18px; height: 18px; }
.news-form { display: flex; gap: 0; margin-top: 12px; }
.news-form input {
  flex: 1;
  border: 0;
  padding: 12px 14px;
  min-height: 44px;
}
.news-form button {
  background: var(--olive);
  color: #fff;
  border: 0;
  padding: 0 16px;
  font-family: var(--display);
  letter-spacing: .1em;
}
.pay-logos { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.pay-logos span {
  border: 1px solid #444;
  padding: 4px 8px;
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.footer-copy {
  border-top: 1px solid #222;
  text-align: center;
  padding: 16px 20px;
  font-size: 12px;
  color: #999;
}

.page-hero {
  padding: 48px 20px 12px;
  text-align: center;
}
.page-hero h1 {
  font-family: var(--display);
  letter-spacing: .12em;
  margin: 0;
}
.shop-layout {
  max-width: 1280px;
  margin: 0 auto;
  padding: 12px 20px 64px;
  display: grid;
  gap: 28px;
}
.shop-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.shop-filters h2 { width: 100%; font-size: 14px; letter-spacing: .12em; font-family: var(--display); }
.shop-filters a {
  text-decoration: none;
  border: 1px solid #ddd;
  padding: 8px 12px;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  font-size: 13px;
}
.shop-filters a.is-on { background: #111; color: #fff; border-color: #111; }
.collections-grid {
  max-width: 1280px;
  margin: 0 auto;
  padding: 12px 20px 64px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
.collection-card {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--card);
  text-decoration: none;
}
.collection-card img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.collection-card span {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 16px;
  background: linear-gradient(transparent, rgba(0,0,0,.7));
  color: #fff;
  font-family: var(--display);
  letter-spacing: .12em;
}

.product-page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 28px 20px 64px;
  display: grid;
  gap: 28px;
}
.product-gallery { background: var(--card); }
.product-gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.crumb { color: var(--muted); font-size: 13px; }
.crumb a { color: inherit; }
.product-info h1 {
  font-family: var(--display);
  letter-spacing: .06em;
  margin: 8px 0;
}
.lead { color: #444; }
.size-row { display: flex; flex-wrap: wrap; gap: 8px; }
.size-row input { position: absolute; opacity: 0; pointer-events: none; }
.size-row span {
  display: grid;
  place-items: center;
  min-width: 44px;
  min-height: 44px;
  border: 1px solid #ccc;
  padding: 0 10px;
}
.size-row input:checked + span { background: #111; color: #fff; border-color: #111; }
.size-row input:focus-visible + span { outline: 2px solid var(--olive); }
.qty-row { display: flex; align-items: center; gap: 12px; margin: 18px 0; }
.qty { display: flex; border: 1px solid #ccc; }
.qty button, .qty input {
  width: 44px;
  height: 44px;
  border: 0;
  background: #fff;
  text-align: center;
}
.buy-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 12px 0 20px; }
.bullets { color: #555; padding-left: 18px; }
fieldset { border: 0; padding: 0; margin: 16px 0; }
legend { font-weight: 600; margin-bottom: 8px; }

.cart-page, .checkout-page, .success-page, .track-page { max-width: 1100px; margin: 0 auto; padding: 12px 20px 64px; }
.cart-layout, .checkout-grid { display: grid; gap: 24px; }
.cart-line {
  display: grid;
  grid-template-columns: 88px 1fr auto;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.cart-line img { width: 88px; height: 88px; object-fit: cover; background: var(--card); }
.cart-summary {
  background: #f7f7f7;
  padding: 20px;
}
.cart-summary p, .checkout-items p { display: flex; justify-content: space-between; gap: 12px; }
.cart-summary .total { font-size: 18px; }
.hint { color: var(--muted); font-size: 13px; }
.checkout-form, .contact-form {
  display: grid;
  gap: 12px;
}
.checkout-form label, .contact-form label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; }
.checkout-form input, .checkout-form textarea,
.contact-form input, .contact-form textarea {
  border: 1px solid #ccc;
  padding: 12px;
  min-height: 44px;
  width: 100%;
}
.two-col { display: grid; gap: 12px; }
.form-error { color: #b42318; }
.form-ok { color: var(--olive-dark); }
.empty-note, .cart-empty { text-align: center; padding: 24px; }
.success-card { background: #f7f7f7; padding: 28px; }
.ok-kicker { color: var(--olive); font-weight: 600; }
.prose { max-width: 760px; margin: 0 auto; padding: 8px 20px 64px; }
.prose h2 { font-family: var(--display); letter-spacing: .08em; }
.contact-grid {
  max-width: 1100px;
  margin: 0 auto;
  padding: 12px 20px 64px;
  display: grid;
  gap: 28px;
}
.contact-aside iframe { width: 100%; height: 240px; border: 0; margin-top: 12px; }
.track-result { margin-top: 20px; background: #f7f7f7; padding: 20px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker-track, .testimonial-track { animation: none; }
}

@media (min-width: 768px) {
  .nav-desktop { display: flex; }
  .hamburger { display: none; }
  .hero { min-height: 580px; }
  .hero-inner { grid-template-columns: 1fr 1fr; margin-bottom: 64px; }
  .hero-logo { display: flex; }
  .features-inner { grid-template-columns: repeat(3, 1fr); }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .collections-grid { grid-template-columns: repeat(3, 1fr); }
  .product-page { grid-template-columns: 1fr 1fr; align-items: start; }
  .cart-layout, .checkout-grid, .contact-grid { grid-template-columns: 1.4fr .8fr; }
  .two-col { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1.3fr .8fr .9fr 1.2fr; }
}

@media (min-width: 1100px) {
  .category-row {
    grid-auto-flow: unset;
    grid-template-columns: repeat(7, 1fr);
    overflow: visible;
    grid-auto-columns: unset;
  }
  .category-item { width: auto; }
  .category-img { width: 140px; height: 140px; }
  .features-inner { grid-template-columns: repeat(5, 1fr); }
  .product-grid { grid-template-columns: repeat(5, 1fr); gap: 24px 18px; }
  .shop-grid { grid-template-columns: repeat(3, 1fr); }
  .shop-layout { grid-template-columns: 220px 1fr; }
  .shop-filters { display: grid; align-content: start; }
}
