/* Graphite, steel and copper: ML BOOST performance palette. */
:root {
  --bg: #080d15;
  --surface: #111c2b;
  --line: #304158;
  --muted: #b4c2d5;
  --text: #f4f7fc;
  --accent: #ff792e;
  --steel: #c5d7ee;
  --copper-light: #ffb35a;
}

body { background: var(--bg); }
::selection { background: #ffb35a; color: #160e08; }
.site-header {
  background: linear-gradient(105deg, #080d15, #111c2b);
  border-bottom-color: #344358;
  box-shadow: 0 8px 35px #00000038;
}
.brand-slash { color: #ff792e; text-shadow: 0 0 18px #ff792e40; }
.desktop-nav { color: #cbd7e8; }
.desktop-nav a { transition: color .2s; }
.nav-enquiry {
  background: #ff792e12;
  border-color: #ff792e80;
  color: #ffe9da;
  transition: background .2s, border-color .2s;
}
.nav-enquiry:hover { background: #ff792e25; border-color: #ff9b58; }
.mobile-nav:not([hidden]) {
  background: #111c2b;
  border-color: #ff792e75;
}

.hero { background: #080d15; }
.hero-image {
  inset: 0;
  background-image: url('/assets/hero-workshop-v2.webp');
  background-position: center top;
  background-size: contain;
  background-repeat: no-repeat;
  transform: none;
  filter: saturate(1.07) brightness(1.02);
}
.hero-shade {
  background:
    linear-gradient(90deg, #080d15e6 0%, #080d15d6 26%, #080d1552 48%, #080d1500 68%),
    linear-gradient(0deg, #080d15e6, transparent 32%, transparent 78%, #080d1566);
}
.hero-topline, .hero-bottom { color: #bdcbe0; }
.hero-content .eyebrow { color: #dae5f4; }
.orange-dash { background: #ff8a3f; box-shadow: 0 0 18px #ff792e55; }
h1 { text-shadow: 0 5px 35px #0000004d; }
h1 em {
  background: linear-gradient(110deg, #ff6429 8%, #ff9238 65%, #ffc168);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: none;
}
h2 span { color: #b3c5df; }
.hero-copy { color: #c6d3e6; }
.hero-caption { color: #e3ebf8; }
.hero-bottom { border-top-color: #8ca5c14d; }
.status-dot { background: #ff8d45; box-shadow: 0 0 12px #ff792e88; }

.button-orange {
  color: #1a0d05;
  background: linear-gradient(110deg, #ff6328, #ff9b43);
  border-color: #ffa25a;
  box-shadow: 0 7px 26px #ff64252b, inset 0 1px #ffd6ad70;
}
.button-orange:hover {
  color: #170a03;
  background: linear-gradient(110deg, #ff8743, #ffba65);
  box-shadow: 0 9px 32px #ff762545, inset 0 1px #ffe5c799;
}
.button-orange span { transition: transform .2s; }
.button-orange:hover span { transform: translate(2px, -2px); }
.button-outline { color: #edf4ff; background: #ff792e0a; border-color: #a36a4c; }
.button-outline:hover { background: #ff792e22; border-color: #ff9e5a; }
.text-link { color: #e1e9f5; }
.text-link:hover { color: #ffb26b; }
.spec-strip {
  background: linear-gradient(110deg, #ff592a, #ff852e 58%, #ffb44d);
  color: #1b0d05;
  border-block: 1px solid #ffb460;
  box-shadow: 0 8px 42px #ff6b241c;
}

.parts-section {
  background: radial-gradient(ellipse at 95% 0, #1e344b88, transparent 48%), #0b121e;
}
.section-intro p { color: #bdcbe0; }
.catalog-toolbar {
  background: #101b2b;
  border-color: #344b67;
  padding-inline: 12px;
}
.filter { color: #bbcbe0; transition: background .2s, color .2s; }
.filter:hover { background: #263b53; color: #fff; }
.filter.active { color: #1a0d05; background: linear-gradient(100deg, #ff7932, #ffa84c); }
.filter.active > span { color: #59250a; }
.catalog-count { color: #adc1dc; }
.product-card {
  padding: 14px;
  background: linear-gradient(145deg, #182637, #101925 75%);
  border: 1px solid #30435b;
  box-shadow: 0 12px 32px #00000024;
  transition: border-color .25s, box-shadow .25s;
}
.product-card:hover, .product-card:focus-within {
  border-color: #ff8b48b3;
  box-shadow: 0 15px 38px #00000045, 0 0 22px #ff792e10;
}
.product-image { background: #080d15; }
.product-image img { filter: saturate(.98) brightness(.98); }
.product-image:hover img { filter: saturate(1.05) brightness(1.05); }
.product-label { color: #edf4fe; background: #0b1523e8; border: 1px solid #748ca36b; }
.photo-count { color: #1c0d05; background: #ff9749; }
.image-open {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  background: #ff792ee6;
  color: #1b0c04;
}
.product-meta { color: #b6c8df; }
.product-meta span:last-child { color: #9cafc8; }
.product-card > p { color: #b9c9df; }
.product-card { display: flex; flex-direction: column; }
.product-actions { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px; align-items: center; margin-top: auto; padding-top: 16px; border-top: 1px solid #344b67; }
.product-actions .buy-button { min-width: 0; padding: 12px 17px; gap: 14px; }
.product-details { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 48px; padding: 0 3px; background: transparent; color: #d1dff1; font-size: 12px; }
.product-details span { color: #ff9b58; font-size: 18px; }
.product-details:hover { color: #ffb36c; }
.section-intro .catalog-order-note { margin: 11px 0 0; font-size: 12px; line-height: 1.7; }
.custom-order-actions, .dialog-order-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.dialog-order-actions { gap: 12px; }
.dialog-content > .order-note { margin: 14px 0 0; color: #b9c9df; font-size: 11px; line-height: 1.7; }
.product-cta { color: #e3edfb; border-color: #344b67; }
.product-cta:hover { color: #ffb36c; }
.build-card {
  background: radial-gradient(ellipse at 100% 0, #d950252b, transparent 65%), linear-gradient(145deg, #231b1b, #111b29);
  border-color: #ad643b;
  box-shadow: inset 0 2px #ff8d46, 0 12px 32px #00000024;
}
.build-symbol { color: #ff954225; }
.build-card p { color: #c5cbd5; }
.image-note { color: #a1b1c8; }

.custom-section {
  background: radial-gradient(ellipse at 95% 20%, #7f382031, transparent 70%), #151721;
  border-color: #5c4436;
}
.custom-photo img { filter: saturate(.98) brightness(.92); }
.photo-label { color: #fff1e8; text-shadow: 0 1px 8px #000; }
.custom-content > p:not(.eyebrow) { color: #c2ccdc; }
.custom-options span { background: #d86c2220; border-color: #9d603c; color: #ffbc85; }
.custom-footnote { color: #bcafaa; }
.about-section { background: #0a111c; border-color: #304158; }
.about-story > p:not(.story-lead) { color: #bdcbe0; }
.process-section { background: linear-gradient(120deg, #111e30, #0c1420); border-color: #30465f; }
.process-steps article > span { color: #ffa354; text-shadow: 0 0 18px #ff792e38; }
.process-steps p { color: #b7c8df; }

.enquiry-section {
  background:
    radial-gradient(ellipse at 0 65%, #a34d1e20, transparent 55%),
    radial-gradient(ellipse at 100% 15%, #243d5d66, transparent 58%), #090f19;
}
.enquiry-intro > p:not(.eyebrow) { color: #c0cde0; }
.contact-location { color: #b9c6d9; }
.email-contact { display: grid; gap: 7px; margin-top: 26px; }
.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  width: fit-content;
  max-width: 100%;
  font: 600 28px/1.3 var(--heading);
  color: #e0ebfa;
}
.contact-email span { color: var(--accent); font-size: 22px; }
.contact-email:hover, .footer-email:hover { color: #ffb26b; }
.footer-email { text-underline-offset: 4px; }
.footer-email:hover { text-decoration: underline; }
.enquiry-form {
  background: linear-gradient(#111e30, #111c2b) padding-box,
    linear-gradient(135deg, #ff9b52, #3e597b 45%, #34536d) border-box;
  border: 1px solid transparent;
  box-shadow: 0 20px 65px #0000003d;
}
.form-topline { color: #adbfda; }
.enquiry-form label { color: #d5e1f2; }
.enquiry-form input, .enquiry-form select, .enquiry-form textarea {
  background: transparent;
  border-bottom-color: #4b6482;
  color: #f5f8fd;
}
.enquiry-form option { background: #142236; }
.enquiry-form input::placeholder, .enquiry-form textarea::placeholder { color: #a6b7ce; }
.enquiry-form input:focus, .enquiry-form select:focus, .enquiry-form textarea:focus { border-bottom-color: #ff9c52; }
.optional, .form-note { color: #adbed5; }
.faq-section { background: #0d1522; border-color: #304158; }
.faq-list details, .faq-list details:first-child { border-color: #354b65; }
.faq-list summary { color: #e3ecf9; }
.faq-list summary:hover, .faq-list details[open] summary { color: #ffac65; }
.faq-list p { color: #b9c9df; }
.site-footer { background: linear-gradient(110deg, #121f31, #0a121e); border-color: #3e526b; }
.footer-top > span { color: #b1c3dc; }
.footer-bottom { border-color: #354b65; color: #aebed5; }

.product-dialog, .privacy-dialog { background: #111d2d; border-color: #6d7f97; box-shadow: 0 25px 100px #0009; }
.product-dialog::backdrop, .privacy-dialog::backdrop { background: #030811de; }
.dialog-close { color: #f4f8ff; background: #091221e8; border: 1px solid #53667e; }
.dialog-close:hover { background: #ff9749; color: #160c05; border-color: #ffb570; }
.dialog-layout > img, .product-gallery { background: #0b1420; }
.gallery-stage { background: #060b12; }
.gallery-arrow { background: #091424df; border-color: #93a8c570; }
.gallery-arrow:hover { color: #190b04; background: #ff9749; border-color: #ffb56c; }
.gallery-thumbnail { background: #0b1420; border-color: #4b6380; opacity: .8; }
.gallery-thumbnail[aria-pressed="true"] { border-color: #ff9749; box-shadow: 0 0 12px #ff792e24; }
.gallery-caption { color: #b5c7de; }
.gallery-caption > span:last-child { color: #ffae66; }
.dialog-content > p, .dialog-content ul, .privacy-dialog > p:not(.eyebrow) { color: #c0cee1; }

@media (max-width: 760px) {
  .hero-image { inset: 0; background-size: auto 80%; background-position: 68% top; filter: saturate(1.04) brightness(.94); }
  .hero-shade {
    background: linear-gradient(90deg, #080d15e8, #080d158a 75%, #080d1540),
      linear-gradient(0deg, #080d15f5, transparent 40%, #080d1522);
  }
  .hero-copy { color: #d5e0ef; }
  .catalog-toolbar { padding-inline: 8px; }
  .product-grid { gap: 20px 12px; }
  .product-card { padding: 10px; }
  .product-card h3 { font-size: 26px; }
  .product-card > p { font-size: 12px; }
  .product-label { top: 7px; left: 7px; }
  .photo-count { left: 7px; bottom: 7px; }
  .image-open { right: 7px; bottom: 7px; width: 26px; height: 26px; }
}

@media (max-width: 600px) {
  .product-actions { grid-template-columns: 1fr; gap: 2px; padding-top: 12px; }
  .product-actions .buy-button { min-height: 46px; font-size: 12px; padding-inline: 12px; }
  .product-details { min-height: 44px; }
  .dialog-order-actions { flex-direction: column; align-items: stretch; }
  .dialog-order-actions .button { justify-content: center; }
  .custom-order-actions { align-items: flex-start; flex-direction: column; gap: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .button-orange:hover, .button-orange:hover span { transform: none; }
}

/* Larger product galleries keep every view easy to select. */
.gallery-thumbnails-many { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* Keep order and shipping enquiries readable on narrow product cards. */
.product-actions { grid-template-columns: minmax(0, 1fr); gap: 4px; }
.buy-button { white-space: normal; text-align: center; justify-content: center; line-height: 1.4; font-size: 14px; }
.product-actions .buy-button { width: 100%; padding: 12px; }
.product-details { font-size: 14px; }
@media (max-width:760px) { .product-actions .buy-button { font-size: 14px; } }
