:root {
  --bg: #000;
  --panel: #090909;
  --panel-2: #111;
  --text: #b9b9b9;
  --muted: #777;
  --line: #333;
  --line-bright: #777;
  --accent: #c7c7c7;
  --danger: #d8d8d8;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { background: var(--bg); color-scheme: dark; }
body {
  margin: 0;
  background:
    radial-gradient(circle at top center, rgba(90,90,90,.16), transparent 38rem),
    linear-gradient(90deg, #000 0%, #080808 20%, #000 50%, #080808 80%, #000 100%);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

a { color: #f0f0f0; text-decoration: none; }
a:hover, a:focus { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
  padding: 2rem 0 1rem;
  text-align: center;
}

.brand-link { display: inline-block; }
.brand-logo {
  width: min(566px, 92vw);
  margin: 0 auto 2rem;
  filter: drop-shadow(0 0 18px rgba(255,255,255,.08));
}

.main-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
  margin: 0 auto;
}

.nav-button {
  display: block;
  width: clamp(92px, 16vw, 120px);
  aspect-ratio: 2 / 1;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: .95;
  transition: opacity .15s ease, transform .15s ease, filter .15s ease;
}
.nav-button:hover,
.nav-button:focus-visible,
.nav-button.is-active {
  opacity: 1;
  filter: drop-shadow(0 0 8px rgba(255,255,255,.16));
  transform: translateY(-1px);
  text-decoration: none;
}
.nav-home { background-image: url('../images/nav/home_up.jpg'); }
.nav-home:hover, .nav-home:focus-visible, .nav-home.is-active { background-image: url('../images/nav/home_down.jpg'); }
.nav-equip { background-image: url('../images/nav/equip_up.jpg'); }
.nav-equip:hover, .nav-equip:focus-visible, .nav-equip.is-active { background-image: url('../images/nav/equip_down.jpg'); }
.nav-apparel { background-image: url('../images/nav/apparel_up.jpg'); }
.nav-apparel:hover, .nav-apparel:focus-visible, .nav-apparel.is-active { background-image: url('../images/nav/apparel_down.jpg'); }
.nav-about { background-image: url('../images/nav/about_up.jpg'); }
.nav-about:hover, .nav-about:focus-visible, .nav-about.is-active { background-image: url('../images/nav/about_down.jpg'); }
.nav-contact { background-image: url('../images/nav/contact_up.jpg'); }
.nav-contact:hover, .nav-contact:focus-visible, .nav-contact.is-active { background-image: url('../images/nav/contact_down.jpg'); }

.site-main {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.25rem 0 3rem;
}

.hero,
.content-panel,
.product-card,
.contact-card,
.audit-card {
  background: linear-gradient(180deg, rgba(28,28,28,.94), rgba(5,5,5,.94));
  border: 1px solid var(--line);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.03), 0 12px 38px rgba(0,0,0,.38);
}

.hero {
  padding: clamp(1.4rem, 4vw, 3rem);
  text-align: center;
  margin-bottom: 2rem;
}
.hero h1,
.page-title {
  color: #e2e2e2;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin: 0 0 1rem;
}
.kicker {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .82rem;
  margin: 0 0 .65rem;
}
.lede {
  max-width: 780px;
  margin: 0 auto;
  color: #bbb;
  font-size: clamp(1rem, 2vw, 1.25rem);
}

.category-panels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 4vw, 2rem);
  align-items: start;
  justify-items: center;
  max-width: 880px;
  margin: 0 auto 2.5rem;
}
.category-panel {
  display: block;
  width: min(100%, 300px);
  text-decoration: none;
  position: relative;
}
.category-panel img {
  border: 1px solid #333;
  box-shadow: 0 16px 36px rgba(0,0,0,.5);
  transition: opacity .15s ease, transform .15s ease, border-color .15s ease;
}
.category-panel .hover-img {
  position: absolute;
  inset: 0;
  opacity: 0;
}
.category-panel:hover .hover-img,
.category-panel:focus-visible .hover-img { opacity: 1; }
.category-panel:hover img,
.category-panel:focus-visible img {
  transform: translateY(-2px);
  border-color: #777;
}

.content-panel {
  padding: clamp(1.25rem, 3vw, 2rem);
  margin-bottom: 2rem;
}
.content-panel h2 {
  color: #e0e0e0;
  margin-top: 0;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.content-panel .narrow { max-width: 850px; margin: 0 auto; }
.quote {
  margin: 2rem auto 0;
  max-width: 760px;
  color: #ddd;
  font-size: clamp(1.2rem, 2.5vw, 1.7rem);
  line-height: 1.25;
  text-align: center;
  font-weight: 700;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}
.product-card {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.product-image-wrap {
  background: #000;
  border: 1px solid #252525;
  min-height: 210px;
  display: grid;
  place-items: center;
  margin-bottom: .85rem;
  overflow: hidden;
}
.product-image-wrap img {
  width: 100%;
  height: 230px;
  object-fit: contain;
}
.product-card h3 {
  color: #eee;
  margin: 0 0 .35rem;
  font-size: 1.1rem;
}
.product-card p { margin: 0 0 1rem; color: #999; }
.status-tag {
  display: inline-block;
  width: max-content;
  margin-top: auto;
  padding: .3rem .55rem;
  border: 1px solid #454545;
  color: #bbb;
  font-size: .76rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  justify-content: center;
  margin-top: 1.4rem;
}
.cta-button {
  display: inline-block;
  border: 1px solid #777;
  background: linear-gradient(#1c1c1c, #050505);
  color: #f3f3f3;
  padding: .72rem 1rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 700;
  font-size: .82rem;
}
.cta-button:hover,
.cta-button:focus-visible {
  text-decoration: none;
  border-color: #aaa;
  background: linear-gradient(#2a2a2a, #080808);
}

.contact-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}
.contact-card { padding: 1.25rem; }
.contact-card h2 { margin-top: 0; color: #eee; }
.audit-list { color: #aaa; }
.audit-list li { margin-bottom: .35rem; }

.site-footer {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.5rem 0 2rem;
  text-align: center;
  color: #777;
  font-size: .9rem;
}
.footer-rule {
  height: 1px;
  background: linear-gradient(90deg, transparent, #444, transparent);
  margin-bottom: 1rem;
}
.footer-note { font-size: .78rem; color: #555; }

@media (max-width: 680px) {
  .site-header { padding-top: 1rem; }
  .brand-logo { margin-bottom: 1rem; }
  .main-nav { gap: .2rem; }
  .nav-button { width: clamp(92px, 30vw, 120px); }
  .category-panels { grid-template-columns: 1fr; }
}

/* Printify/database scaffold additions */
.utility-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: .5rem;
  margin: 1rem auto 0;
}
.utility-link {
  display: inline-block;
  border: 1px solid #333;
  background: rgba(12,12,12,.9);
  color: #cfcfcf;
  padding: .45rem .7rem;
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .1em;
}
.utility-link:hover,
.utility-link:focus-visible,
.utility-link.is-active {
  text-decoration: none;
  border-color: #777;
  color: #fff;
}
.hero.compact {
  padding-block: clamp(1.1rem, 3vw, 2rem);
}
.notice-box {
  border: 1px solid #555;
  background: rgba(255,255,255,.045);
  color: #d5d5d5;
  padding: .9rem 1rem;
  margin: 0 0 1rem;
}
.notice-box.warning {
  border-color: #8b7d44;
  background: rgba(150,120,30,.12);
}
.auth-panel {
  max-width: 620px;
  margin-inline: auto;
}
.form-card {
  display: grid;
  gap: 1rem;
  max-width: 560px;
  margin: 0 auto;
}
.form-card label {
  display: grid;
  gap: .35rem;
  color: #ddd;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: .78rem;
}
.form-card input,
.form-card select,
.form-card textarea {
  width: 100%;
  border: 1px solid #444;
  background: #050505;
  color: #eee;
  padding: .75rem;
  font: inherit;
}
.form-card input:focus,
.form-card select:focus,
.form-card textarea:focus {
  outline: 1px solid #888;
}
.form-note {
  color: #aaa;
  margin: 0;
}
.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}
.audit-card {
  padding: 1rem;
}
.audit-card h2 {
  color: #e5e5e5;
  margin-top: 0;
}
.cta-button.small {
  padding: .5rem .7rem;
  font-size: .72rem;
}
.placeholder-image {
  min-height: 230px;
  color: #777;
  font-size: 3rem;
  letter-spacing: .08em;
  font-weight: 700;
}
.code-block {
  max-height: 520px;
  overflow: auto;
  white-space: pre-wrap;
  border: 1px solid #333;
  background: #030303;
  color: #ddd;
  padding: 1rem;
}
