:root {
  --bg: #070707;
  --panel: #101010;
  --panel-2: #171717;
  --line: #2d2d2d;
  --text: #f2eee8;
  --muted: #aaa39a;
  --amber: #f09a2a;
  --amber-2: #ffd08a;
  --red: #c4342d;
  --green: #7fcf96;
  --max: 1240px;
  --radius: 7px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

img,
video {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(7, 7, 7, .94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.topbar {
  max-width: var(--max);
  margin: 0 auto;
  padding: 12px 20px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 20px;
  align-items: center;
}

.brand {
  font-family: Oswald, Impact, sans-serif;
  color: var(--text);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 1.22rem;
  white-space: nowrap;
}

.brand span {
  color: var(--amber);
}

.main-nav {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.main-nav a,
.account-nav a {
  color: var(--muted);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
}

.main-nav a:hover,
.account-nav a:hover {
  color: var(--amber);
}

.account-nav {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
}

.account-nav a {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 8px 11px;
}

.promo {
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(180deg, #090909 0%, #15110c 100%),
    radial-gradient(circle at 75% 30%, rgba(240, 154, 42, .16), transparent 34%);
}

.promo-grid {
  max-width: none;
  margin: 0 auto;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.video-shell {
  min-height: clamp(360px, 58vw, 740px);
  background: #000;
  border: 0;
  overflow: hidden;
  position: relative;
}

.video-shell video,
.asset-standin {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

.video-shell .asset-standin {
  position: absolute;
  inset: 0;
}

.video-shell video {
  position: relative;
  z-index: 2;
  background: transparent;
}

.video-shell.is-placeholder video {
  display: none;
}

.video-shell:not(.is-placeholder) .asset-standin {
  display: none;
}

.asset-standin {
  display: grid;
  place-items: end start;
  padding: clamp(24px, 6vw, 72px);
  background:
    linear-gradient(180deg, rgba(0, 0, 0, .04), rgba(0, 0, 0, .82)),
    radial-gradient(circle at 70% 35%, rgba(240, 154, 42, .24), transparent 32%),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, .06) 0 1px, transparent 1px 18px),
    #141414;
}

.asset-standin strong {
  display: block;
  font-family: Oswald, Impact, sans-serif;
  font-size: clamp(2rem, 4vw, 4.4rem);
  line-height: .95;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.asset-standin span {
  color: var(--muted);
  display: block;
  margin-top: 10px;
}

.promo-copy {
  max-width: var(--max);
  width: calc(100% - 40px);
  margin: 0 auto;
  position: relative;
  z-index: 3;
  background: rgba(16, 16, 16, .92);
  border: 1px solid rgba(240, 154, 42, .28);
  border-radius: var(--radius);
  padding: clamp(22px, 4vw, 34px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.eyebrow {
  color: var(--amber);
  font-family: Oswald, Impact, sans-serif;
  font-size: .86rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin: 0 0 12px;
}

h1,
h2,
h3 {
  font-family: Oswald, Impact, sans-serif;
  text-transform: uppercase;
  letter-spacing: .04em;
  line-height: 1;
}

h1 {
  font-size: clamp(2.6rem, 5vw, 5rem);
  margin: 0;
}

h1 span,
h2 span {
  color: var(--amber);
}

.promo-copy p,
.section-copy,
.product-card p,
.feature-card p,
.quote-card p,
.form-note {
  color: var(--muted);
}

code {
  color: var(--amber-2);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.btn,
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 15px;
  border-radius: var(--radius);
  border: 1px solid var(--amber);
  background: var(--amber);
  color: #120b04;
  font-family: Oswald, Impact, sans-serif;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
}

.btn.secondary {
  background: transparent;
  color: var(--amber);
}

.btn:disabled,
.btn[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.48;
}

.band {
  padding: 46px 20px;
}

.band.alt {
  background: var(--panel);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.section-heading {
  display: flex;
  gap: 20px;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 22px;
}

.section-heading.compact {
  margin-bottom: 14px;
}

.section-heading h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  margin: 0;
}

.section-copy {
  max-width: 700px;
  margin: 8px 0 0;
}

.product-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(180px, 1fr));
  gap: 12px;
}

.product-card,
.feature-card,
.quote-card {
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  text-decoration: none;
  overflow: hidden;
}

.product-media {
  aspect-ratio: 1 / 1.08;
  background: #111;
  position: relative;
  overflow: hidden;
}

.product-media img,
.feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-media .asset-standin {
  min-height: 0;
  padding: 18px;
}

.product-media .asset-standin strong {
  font-size: 1.4rem;
}

.product-body,
.feature-body,
.quote-card {
  padding: 14px;
}

.product-card h3,
.feature-card h3,
.quote-card h3 {
  margin: 0 0 8px;
  font-size: 1.12rem;
}

.price {
  color: var(--amber-2);
  font-weight: 900;
  margin-bottom: 8px;
  font-size: .88rem;
}

.product-card p {
  display: none;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}

.tag {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  font-size: .74rem;
  font-weight: 800;
  padding: 4px 8px;
  text-transform: uppercase;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 14px;
}

.feature-media {
  aspect-ratio: 16 / 7;
  background: #111;
  overflow: hidden;
  position: relative;
}

.feature-card:first-child {
  grid-row: span 2;
}

.feature-card {
  border-radius: var(--radius);
}

.feature-card:first-child .feature-media {
  aspect-ratio: 16 / 10;
}

.quote-strip {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.form-contact-grid {
  margin-top: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.contact-tile {
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  display: grid;
  gap: 8px;
  min-height: 120px;
  padding: 16px;
  text-decoration: none;
}

.contact-tile strong {
  color: var(--amber-2);
  font-family: Oswald, Impact, sans-serif;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.contact-tile span {
  color: var(--muted);
}

.contact-tile:hover {
  border-color: rgba(240, 154, 42, .72);
}

.cart-prototype {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, .95fr);
  gap: 18px;
  align-items: start;
  margin-bottom: 18px;
}

.cart-products,
.cart-review {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
}

.cart-product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.cart-product-card {
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  display: grid;
  gap: 8px;
}

.cart-product-card h3,
.cart-review h2,
.cart-line h3,
.cart-disabled-checkout h3 {
  margin: 0;
}

.cart-product-card p,
.cart-line p,
.cart-disabled-checkout p,
.cart-empty {
  color: var(--muted);
}

.cart-product-card .btn {
  width: 100%;
  margin-top: 4px;
}

.cart-line-list {
  display: grid;
  gap: 10px;
  margin: 16px 0;
}

.cart-empty {
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  margin-top: 16px;
  padding: 16px;
}

.cart-line {
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  display: grid;
  gap: 12px;
}

.cart-line-controls {
  display: grid;
  grid-template-columns: 40px 1fr 40px;
  gap: 8px;
  align-items: center;
  max-width: 220px;
}

.cart-line-controls span {
  color: var(--amber-2);
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
}

.cart-line-controls button {
  min-height: 38px;
  padding: 4px;
}

.cart-line label {
  color: var(--muted);
  display: grid;
  gap: 6px;
  font-size: .82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.cart-line textarea {
  width: 100%;
  background: #080808;
  border: 1px solid #444;
  border-radius: var(--radius);
  color: var(--text);
  font: inherit;
  padding: 10px 12px;
  resize: vertical;
  text-transform: none;
}

.cart-summary {
  border-top: 1px solid var(--line);
  display: flex;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
}

.cart-summary span {
  color: var(--amber-2);
  font-family: Oswald, Impact, sans-serif;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.cart-disabled-checkout {
  background: rgba(240, 154, 42, .06);
  border: 1px solid rgba(240, 154, 42, .3);
  border-radius: var(--radius);
  margin-top: 14px;
  padding: 14px;
}

.cart-safety-grid {
  margin-top: 18px;
}

.quote-card h2 {
  margin: 0 0 8px;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
}

.form-page {
  max-width: 1040px;
  margin: 0 auto;
  padding: 36px 20px 56px;
}

.product-detail {
  background: var(--bg);
}

.product-hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 28px 20px 38px;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, .8fr);
  gap: 24px;
  align-items: stretch;
}

.product-hero-media {
  min-height: 520px;
  background: #111;
  border: 1px solid var(--line);
  overflow: hidden;
  position: relative;
}

.product-hero-media img,
.product-hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-hero-media .asset-standin {
  position: absolute;
  inset: 0;
}

.product-hero-no-image {
  width: 100%;
  height: 100%;
  min-height: 520px;
  background:
    radial-gradient(circle at 50% 40%, rgba(240, 154, 42, 0.16), transparent 60%),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.03) 0 1px, transparent 1px 18px),
    #141414;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  box-sizing: border-box;
}

.product-hero-no-image .no-image-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 16px;
}

.product-hero-no-image .no-image-svg {
  width: 64px;
  height: 64px;
  color: var(--accent, #f09a2a);
}

.product-hero-no-image .no-image-title {
  font-family: Oswald, Impact, sans-serif;
  font-size: clamp(1.4rem, 2.5vw, 2.2rem);
  letter-spacing: 0.05em;
  color: #fff;
  text-transform: uppercase;
}

.product-hero-copy {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.product-gallery {
  min-height: 0;
  display: grid;
  grid-template-rows: minmax(340px, 1fr) auto;
}

.gallery-stage {
  background: #080808;
  min-height: 430px;
  position: relative;
}

.gallery-stage img,
.gallery-stage video {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

.gallery-control {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 44px;
  min-height: 44px;
  padding: 0;
  border-color: rgba(240, 154, 42, .72);
  background: rgba(7, 7, 7, .78);
  color: var(--amber-2);
  font-size: 1.45rem;
  line-height: 1;
  transform: translateY(-50%);
}

.gallery-control.prev {
  left: 14px;
}

.gallery-control.next {
  right: 14px;
}

.gallery-meta {
  display: grid;
  gap: 10px;
  padding: 12px;
  background: #0b0b0b;
  border-top: 1px solid var(--line);
}

.gallery-caption {
  color: var(--amber-2);
  font-family: Oswald, Impact, sans-serif;
  font-size: .95rem;
  font-weight: 800;
  letter-spacing: .08em;
  margin: 0;
  text-transform: uppercase;
}

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(74px, 1fr));
  gap: 8px;
}

.gallery-thumb {
  min-height: 64px;
  padding: 0;
  border-color: var(--line);
  background: var(--panel-2);
  color: var(--muted);
  overflow: hidden;
  position: relative;
}

.gallery-thumb[aria-current="true"] {
  border-color: var(--amber);
  box-shadow: inset 0 0 0 2px rgba(240, 154, 42, .34);
  color: var(--amber-2);
}

.gallery-thumb img {
  width: 100%;
  height: 64px;
  object-fit: cover;
}

.gallery-thumb.video-thumb {
  font-size: .72rem;
  padding: 8px;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.detail-meta span {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--amber-2);
  font-size: .78rem;
  font-weight: 900;
  padding: 6px 10px;
  text-transform: uppercase;
}

.split-detail {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(320px, 1.1fr);
  gap: 24px;
  align-items: start;
}

.media-carousel {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  padding: 2px;
}

.media-card {
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin: 0;
  overflow: hidden;
}

.media-card img,
.media-card video {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #080808;
  object-fit: cover;
}

.media-card figcaption {
  color: var(--muted);
  font-size: .84rem;
  font-weight: 800;
  padding: 10px 12px 12px;
  text-transform: uppercase;
}

.split-detail h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  margin: 0;
}

.spec-list {
  display: grid;
  gap: 10px;
}

.spec-list div {
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
}

.spec-list b {
  color: var(--amber);
  display: block;
  font-family: Oswald, Impact, sans-serif;
  letter-spacing: .08em;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.spec-list span {
  color: var(--muted);
}

.form-intro {
  padding: 36px 0 24px;
}

.form-intro h1 {
  max-width: 860px;
}

.form-wrap {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}

#bw-order-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

#bw-order-form h3,
#bw-order-form p,
#bw-order-form textarea,
#bw-order-form button,
.nfc-fields,
.wide,
.msg {
  grid-column: 1 / -1;
}

#bw-order-form h3 {
  margin: 10px 0 0;
  font-size: 1.35rem;
}

#bw-order-form p {
  margin: 0;
}

#bw-order-form input,
#bw-order-form select,
#bw-order-form textarea {
  width: 100%;
  background: #080808;
  border: 1px solid #444;
  border-radius: var(--radius);
  color: var(--text);
  font: inherit;
  padding: 12px 13px;
}

#bw-order-form textarea {
  min-height: 126px;
  resize: vertical;
}

.nfc-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 4px 0;
  padding: 16px;
  border: 1px solid rgba(240, 154, 42, .28);
  border-radius: var(--radius);
  background: rgba(240, 154, 42, .045);
}

.nfc-fields[hidden] {
  display: none;
}

.nfc-fields h3,
.nfc-fields textarea,
.nfc-fields .wide {
  grid-column: 1 / -1;
}

#bw-order-form input:focus,
#bw-order-form select:focus,
#bw-order-form textarea:focus {
  outline: 2px solid rgba(240, 154, 42, .55);
  border-color: var(--amber);
}

.bw-hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  overflow: hidden;
}

.msg {
  padding: .75rem;
  border-radius: var(--radius);
  display: none;
}

.msg.ok {
  display: block;
  background: #12331d;
  border: 1px solid #3c9a58;
  color: #9dffb3;
}

.msg.err {
  display: block;
  background: #331414;
  border: 1px solid #9a3c3c;
  color: #ff9b9b;
}

.cart-handoff-panel {
  grid-column: 1 / -1;
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(240, 154, 42, .35);
  border-radius: var(--radius);
  background: rgba(240, 154, 42, .06);
}

.cart-handoff-panel[hidden] {
  display: none;
}

.cart-handoff-panel strong {
  color: var(--amber-2);
  display: block;
  font-family: Oswald, Impact, sans-serif;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.cart-handoff-panel p {
  margin: 4px 0 0;
}

.cart-handoff-panel pre {
  max-height: 180px;
  margin: 0;
  overflow: auto;
  white-space: pre-wrap;
  word-break: break-word;
  background: #080808;
  border: 1px solid #444;
  border-radius: var(--radius);
  color: var(--muted);
  padding: 12px;
}

footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  padding: 22px 20px;
  text-align: center;
  font-size: .82rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 10px;
}

.footer-links a {
  color: var(--amber);
  font-weight: 800;
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

@media (max-width: 900px) {
  .topbar,
  .promo-grid,
  .quote-strip,
  .contact-grid,
  .cart-prototype,
  .feature-grid,
  .product-hero,
  .split-detail {
    grid-template-columns: 1fr;
  }

  .main-nav,
  .account-nav {
    justify-content: start;
  }

  .product-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cart-product-grid {
    grid-template-columns: 1fr;
  }

  .gallery-stage {
    min-height: 380px;
  }
}

@media (max-width: 620px) {
  .topbar {
    padding: 12px 14px;
    gap: 12px;
  }

  .main-nav {
    gap: 10px;
  }

  .band,
  .form-page {
    padding-left: 14px;
    padding-right: 14px;
  }

  .video-shell {
    min-height: 300px;
  }

  .promo-copy {
    width: calc(100% - 28px);
    margin-top: 0;
  }

  .product-hero-media {
    min-height: 360px;
  }

  .gallery-stage {
    min-height: 300px;
  }

  .gallery-thumbs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .product-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #bw-order-form {
    grid-template-columns: 1fr;
  }

  .nfc-fields {
    grid-template-columns: 1fr;
  }
}
