/* Dark-track storefront theme. Scoped to the home page so policy pages keep
   their quieter reading layout. */
.storefront-page {
  --bg: #090909;
  --surface: #111111;
  --surface-soft: #171717;
  --text: #f2f0eb;
  --muted: #aaa7a0;
  --line: rgba(255, 255, 255, .14);
  --accent: #d62936;
  --accent-dark: #aa202a;
  --ok-bg: #d62936;
  --ok-text: #ffffff;
  --radius: 4px;
  background-color: #090909;
  background-image:
    radial-gradient(circle at 16% 10%, rgba(214, 41, 54, .1), transparent 30rem),
    radial-gradient(circle at 84% 55%, rgba(255, 255, 255, .035), transparent 24rem),
    repeating-linear-gradient(117deg, transparent 0, transparent 7px, rgba(255, 255, 255, .009) 8px);
}

.storefront-page ::selection {
  color: #fff;
  background: var(--accent);
}

.storefront-page .site-header {
  background: rgba(8, 8, 8, .92);
  border-color: rgba(255, 255, 255, .12);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.storefront-page .brand-mark {
  color: #fff;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-weight: 400;
  letter-spacing: .015em;
}

.storefront-page .brand-sub { color: var(--accent); }

.storefront-page .nav a {
  position: relative;
  color: #aaa7a0;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 12px;
}

.storefront-page .nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 8px;
  left: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .18s ease;
}

.storefront-page .nav a:hover,
.storefront-page .nav a:focus-visible { color: #fff; }

.storefront-page .nav a:hover::after,
.storefront-page .nav a:focus-visible::after { transform: scaleX(1); }

.storefront-page .intro {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 108px 0 86px;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .95) 0%, rgba(0, 0, 0, .72) 62%, rgba(38, 6, 9, .72) 100%),
    radial-gradient(circle at 85% 50%, rgba(214, 41, 54, .32), transparent 38%),
    repeating-linear-gradient(118deg, #121212 0, #121212 5px, #0d0d0d 6px, #0d0d0d 11px);
  border-bottom: 1px solid rgba(214, 41, 54, .65);
}

.storefront-page .intro::before {
  content: "STFU";
  position: absolute;
  z-index: -1;
  right: -1.5vw;
  bottom: -4.5rem;
  color: rgba(255, 255, 255, .025);
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(13rem, 31vw, 30rem);
  line-height: .72;
  letter-spacing: -.035em;
  white-space: nowrap;
  pointer-events: none;
}

.storefront-page .intro::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(38vw, 520px);
  height: 5px;
  background: var(--accent);
  transform: skewX(-28deg);
  transform-origin: right;
}

.storefront-page .intro .wrap { position: relative; }

.storefront-page .intro h1 {
  max-width: 890px;
  color: #f5f3ee;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(58px, 9.3vw, 108px);
  font-weight: 400;
  line-height: .9;
  letter-spacing: -.015em;
  text-transform: uppercase;
  text-wrap: balance;
  text-shadow: 0 12px 42px rgba(0, 0, 0, .55);
}

.storefront-page .intro-details {
  margin-top: 30px;
  padding-left: 16px;
  border-left: 4px solid var(--accent);
}

.storefront-page .intro p {
  color: #c4c1ba;
  font-size: 16px;
  letter-spacing: .015em;
}

.storefront-page .intro-details .made-in-usa {
  color: #eeeae2;
  background: rgba(255, 255, 255, .07);
  border-color: rgba(255, 255, 255, .18);
  border-radius: 2px;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.storefront-page .usa-flag { border-color: rgba(255, 255, 255, .32); }

.storefront-page .shop-section {
  padding-top: 76px;
  padding-bottom: 82px;
}

.storefront-page .section-head {
  position: relative;
  margin-bottom: 30px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.storefront-page .section-head::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 86px;
  height: 3px;
  background: var(--accent);
}

.storefront-page .section-head h2,
.storefront-page .contact-section h2 {
  color: #f4f1eb;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-weight: 400;
  text-transform: uppercase;
}

.storefront-page .section-head h2 {
  font-size: clamp(40px, 6vw, 62px);
  line-height: .95;
  letter-spacing: .015em;
}

.storefront-page .section-head p {
  margin-top: 10px;
  color: var(--muted);
}

.storefront-page .grid { gap: 26px; }

.storefront-page .card {
  background: linear-gradient(145deg, #151515 0%, #0f0f0f 100%);
  border-color: rgba(255, 255, 255, .14);
  border-radius: 4px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .24);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.storefront-page .card:hover {
  border-color: rgba(214, 41, 54, .7);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .4);
  transform: translateY(-3px);
}

.storefront-page .card-media {
  padding: 22px;
  background:
    radial-gradient(circle at 50% 42%, #fff 0%, #f0eee8 72%),
    #f3f1ec;
  border-color: rgba(255, 255, 255, .14);
}

.storefront-page .card-media::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  width: 34%;
  height: 4px;
  background: var(--accent);
}

.storefront-page .tag {
  border-radius: 2px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .22);
}

.storefront-page .tag-instock {
  color: #fff;
  background: var(--accent);
}

.storefront-page .card-body { padding: 24px; }

.storefront-page .card-cat {
  color: var(--accent);
  letter-spacing: .14em;
}

.storefront-page .card-name { color: #f4f1eb; }

.storefront-page .card-price {
  color: #fff;
  font-variant-numeric: tabular-nums;
}

.storefront-page .qty {
  background: #0a0a0a;
  border-color: rgba(255, 255, 255, .18);
  border-radius: 3px;
}

.storefront-page .qty button,
.storefront-page .qty-single { background: #1c1c1c; }

.storefront-page .qty button:hover { background: #292929; }

.storefront-page .qty-single .qty-note { color: #f06872; }

.storefront-page .btn { border-radius: 3px; }

.storefront-page .btn-primary {
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .24), 0 7px 18px rgba(214, 41, 54, .18);
  text-transform: uppercase;
  letter-spacing: .045em;
}

.storefront-page .card-link { color: #aaa7a0; }
.storefront-page .card-link:hover { color: #fff; }

.storefront-page .load-error {
  color: #f2f0eb;
  background: #151515;
}

.storefront-page .contact-section {
  position: relative;
  overflow: hidden;
  margin-bottom: 82px;
  padding-top: 38px;
  padding-bottom: 38px;
  background:
    linear-gradient(100deg, rgba(214, 41, 54, .16), transparent 58%),
    repeating-linear-gradient(118deg, #171717 0, #171717 7px, #131313 8px, #131313 14px);
  border-color: rgba(214, 41, 54, .48);
  border-radius: 4px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .32);
}

.storefront-page .contact-section::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 7px;
  height: 100%;
  background: var(--accent);
}

.storefront-page .contact-label {
  margin-bottom: 6px;
  letter-spacing: .16em;
}

.storefront-page .contact-section h2 {
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1;
  letter-spacing: .015em;
}

.storefront-page .contact-links a {
  color: #f2f0eb;
  text-decoration-color: transparent;
  text-underline-offset: 4px;
}

.storefront-page .contact-links a:hover,
.storefront-page .contact-links a:focus-visible {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: var(--accent);
}

.storefront-page .site-footer {
  background: #070707;
  border-color: rgba(255, 255, 255, .12);
}

.storefront-page .footer-legal { border-color: rgba(255, 255, 255, .1); }
.storefront-page .footer-links a:hover { color: #fff; }

.storefront-page .modal-backdrop {
  background: rgba(0, 0, 0, .84);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.storefront-page .modal-card {
  background: #111;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 4px;
  box-shadow: 0 30px 100px rgba(0, 0, 0, .72);
}

.storefront-page .modal-close {
  color: #d7d3cc;
  background: rgba(15, 15, 15, .94);
  border-color: rgba(255, 255, 255, .2);
}

.storefront-page .modal-close:hover { color: #fff; }

.storefront-page .modal-grid > img {
  background: #f3f1ec;
  border-color: rgba(255, 255, 255, .17);
  border-radius: 3px;
}

.storefront-page .modal-name { color: #f4f1eb; }
.storefront-page .modal-price { color: #fff; }
.storefront-page .modal-desc { color: #b7b3ab; }

.storefront-page .modal-step {
  background: #191919;
  border-color: rgba(255, 255, 255, .14);
  border-radius: 3px;
}

.storefront-page .modal-step:hover { background: #202020; }
.storefront-page .modal-thumb { border-radius: 3px; }

.storefront-page .nav a:focus-visible,
.storefront-page .btn:focus-visible,
.storefront-page .card-media:focus-visible,
.storefront-page .card-link:focus-visible,
.storefront-page .modal-close:focus-visible,
.storefront-page .qty button:focus-visible,
.storefront-page .contact-links a:focus-visible,
.storefront-page .footer-links a:focus-visible {
  outline-color: rgba(214, 41, 54, .75);
}

@media (max-width: 720px) {
  .storefront-page .intro { padding: 72px 0 62px; }
  .storefront-page .intro h1 { font-size: clamp(50px, 15vw, 78px); }
  .storefront-page .shop-section { padding-top: 60px; padding-bottom: 64px; }
  .storefront-page .contact-section { margin-bottom: 64px; }
}

@media (max-width: 480px) {
  .storefront-page .intro { padding: 58px 0 50px; }
  .storefront-page .intro h1 { font-size: clamp(46px, 15.5vw, 66px); }
  .storefront-page .intro-details {
    align-items: flex-start;
    flex-direction: column;
    padding-left: 13px;
  }
  .storefront-page .card-media { padding: 16px; }
  .storefront-page .contact-section { padding-top: 30px; padding-bottom: 30px; }
}

@media (prefers-reduced-motion: reduce) {
  .storefront-page .nav a::after,
  .storefront-page .card { transition: none; }
  .storefront-page .card:hover { transform: none; }
}
