    :root {
      --jmr-green: #24B040;
      --jmr-green-dark: #1E8F36;
      --jmr-charcoal: #222222;		
      --jmr-light: #F2F4F6;
      --jmr-mid-gray: #A7AEB5;
      --jmr-blue: #1F5F8B;
      --bg-body: #ffffff;
      --radius-lg: 14px;
      --shadow-soft: 0 12px 30px rgba(15, 23, 42, 0.10);
    }

    * {
      box-sizing: border-box;
    }

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

    a {
      color: inherit;
      text-decoration: none;
    }

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

    .page {
      min-height: 100vh;
      display: flex;
      flex-direction: column;
    }

    /* News / announcement bar */
    .jmr-news-bar {
      background: #022c22;
      color: #ecfdf3;
      font-size: 0.9rem;
      border-bottom: 1px solid rgba(16, 185, 129, 0.35);
    }

    .jmr-news-inner {
      max-width: 1120px;
      margin: 0 auto;
      padding: 0.25rem 1.5rem;
      display: flex;
      align-items: center;
      gap: 0.75rem;
    }

    .jmr-news-ticker {
      overflow: hidden;
      flex: 1;
    }

    .jmr-news-track {
      display: inline-block;
      white-space: nowrap;
      animation: jmrTicker 30s linear infinite;
    }

    .jmr-news-bar:hover .jmr-news-track {
      animation-play-state: paused;
    }

    @keyframes jmrTicker {
      0% {
        transform: translateX(100%);
      }
      100% {
        transform: translateX(-100%);
      }
    }

    header {
      position: sticky;
      top: 0;
      z-index: 50;
      background: rgba(255, 255, 255, 0.96);
      backdrop-filter: blur(12px);
      border-bottom: 1px solid #e5e7eb;
    }

    .nav {
      max-width: 1120px;
      margin: 0 auto;
      padding: 0.75rem 1.5rem;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 1rem;
      position: relative;
    }

    .nav-left {
      display: flex;
      align-items: center;
      gap: 0.75rem;
    }

    .nav-links {
      display: flex;
      align-items: center;
      gap: 1.5rem;
      font-size: 0.9rem;
    }

    .nav-links a {
      color: #4b5563;
      font-weight: 500;
    }

    .nav-links a.nav-cta {
      padding: 0.5rem 0.9rem;
      border-radius: 999px;
      background: #ecfdf3;
      color: var(--jmr-green-dark);
      border: 1px solid #bbf7d0;
      font-weight: 600;
    }

    .nav-links a.is-active {
      color: var(--jmr-green-dark);
    }

    .nav-toggle {
      display: none;
    }

    main {
      flex: 1;
    }

    .section {
      padding: 3.5rem 1.5rem;
    }

    .section-alt {
      background:
        linear-gradient(135deg, rgba(242, 244, 246, 0.92) 0%, rgba(243, 244, 246, 0.92) 100%),
        url('media/jmr-nonferrous-area.jpg') center / cover no-repeat;
    }

    .section-inner {
      max-width: 1120px;
      margin: 0 auto;
    }

    .section-heading {
      font-family: 'Montserrat', sans-serif;
      font-size: 1.8rem;
      margin-bottom: 0.5rem;
    }

    .section-intro {
      max-width: 40rem;
      color: #4b5563;
      font-size: 0.98rem;
      margin-bottom: 1.5rem;
    }

/* Price list section */
.price-section {
  background: #f9fafb;
}

.price-frame {
  width: 100%;
  height: 740px;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.10);
  background: #ffffff;
}

@media (max-width: 720px) {
  .price-frame {
    height: 740px;
  }
}

/* Hero */

    .hero-simple {
      background:
        linear-gradient(135deg, rgba(15, 23, 42, 0.78) 0%, rgba(30, 41, 59, 0.72) 100%),
        url('media/cashier-office.jpeg') center / cover no-repeat;
      border-bottom: 1px solid #e5e7eb;
      min-height: 460px;
      display: flex;
      align-items: center;
    }

    .hero-layout {
      display: grid;
      grid-template-columns: minmax(0, 2.1fr) minmax(0, 1.6fr);
      gap: 2rem;
      align-items: center;
      color: #ffffff;
    }

    .hero-eyebrow {
      font-family: 'Montserrat', sans-serif;
      font-size: 0.8rem;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: #4ade80;
      margin-bottom: 0.6rem;
    }

    .hero-title {
      font-family: 'Montserrat', sans-serif;
      font-size: clamp(2rem, 4vw, 2.6rem);
      line-height: 1.1;
      margin: 0 0 0.8rem;
      color: #ffffff;
    }

    .hero-subtitle {
      font-size: 0.98rem;
      color: #e5e7eb;
      margin-bottom: 1.2rem;
      max-width: 34rem;
    }

    .hero-tagline {
      font-size: 0.85rem;
      color: #d1d5db;
    }

    .hero-tagline strong {
      color: #bbf7d0;
    }

    .hero-photo-frame {
      border-radius: 18px;
      overflow: hidden;
      box-shadow: 0 18px 35px rgba(15, 23, 42, 0.45);
      border: 1px solid rgba(148, 163, 184, 0.6);
      background: #020617;
    }

    .hero-photo-frame img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    /* Filters / legend */

    .gallery-filters {
      display: flex;
      flex-wrap: wrap;
      gap: 0.5rem;
      margin-bottom: 1.2rem;
      font-size: 0.8rem;
    }

    .filter-pill {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 0.25rem 0.8rem;
      border-radius: 999px;
      border: 1px solid #e5e7eb;
      background: #ffffff;
      color: #374151;
      cursor: default;
    }

    .filter-pill span.dot {
      width: 8px;
      height: 8px;
      border-radius: 999px;
      margin-right: 0.4rem;
    }

    .dot-steel { background: #4b5563; }
    .dot-copper { background: #b45309; }
    .dot-aluminum { background: #9ca3af; }
    .dot-brass { background: #d97706; }
    .dot-stainless { background: #6b7280; }
    .dot-motors { background: #0f766e; }
    .dot-lead { background: #6b21a8; }
    .dot-electronics { background: #1d4ed8; }

    /* Gallery grid */

    .gallery-grid {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 1.25rem;
    }

    .metal-card {
      background: #ffffff;
      border-radius: var(--radius-lg);
      overflow: hidden;
      border: 1px solid #e5e7eb;
      box-shadow: 0 10px 22px rgba(15, 23, 42, 0.06);
      display: flex;
      flex-direction: column;
      font-size: 0.86rem;
      cursor: pointer;
      transition: transform 0.12s ease, box-shadow 0.12s ease, border-color 0.12s ease;
    }

    .metal-card:hover {
      transform: translateY(-2px);
      box-shadow: 0 16px 30px rgba(15, 23, 42, 0.16);
      border-color: #cbd5f5;
    }

    /* Multiple photos per metal */

    .metal-photos {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 3px;
      background: #020617;
      padding: 3px;
    }

    .metal-photo {
      height: 70px;
      overflow: hidden;
      border-radius: 8px;
    }

    .metal-photo img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .metal-body {
      padding: 0.75rem 0.9rem 0.95rem;
    }

    .metal-header {
      display: flex;
      justify-content: space-between;
      align-items: baseline;
      gap: 0.5rem;
      margin-bottom: 0.3rem;
    }

    .metal-name {
      font-family: 'Montserrat', sans-serif;
      font-size: 0.96rem;
      font-weight: 700;
    }

    .metal-tag {
      font-size: 0.7rem;
      text-transform: uppercase;
      letter-spacing: 0.12em;
      padding: 0.12rem 0.5rem;
      border-radius: 999px;
      border: 1px solid #e5e7eb;
      color: #4b5563;
      background: #f9fafb;
      white-space: nowrap;
    }

    .metal-desc {
      margin: 0.25rem 0 0.4rem;
      color: #4b5563;
    }

    .metal-common {
      font-size: 0.78rem;
      color: #6b7280;
    }

    .metal-common strong {
      font-weight: 600;
      color: #374151;
    }

    .metal-note {
      margin-top: 0.35rem;
      font-size: 0.76rem;
      color: #9ca3af;
    }

    .gallery-note {
      margin-top: 1.2rem;
      font-size: 0.8rem;
      color: #6b7280;
    }

    .gallery-note strong {
      font-weight: 600;
    }

    footer {
      border-top: 1px solid #e5e7eb;
      padding: 1.2rem 1.5rem 1.5rem;
      font-size: 0.8rem;
      color: #6b7280;
    }

    .footer-inner {
      max-width: 1120px;
      margin: 0 auto;
      display: flex;
      flex-wrap: wrap;
      gap: 0.75rem;
      justify-content: space-between;
      align-items: center;
    }

    /* Full-size metal photo lightbox */

    .metal-lightbox {
      position: fixed;
      inset: 0;
      display: none;
      align-items: center;
      justify-content: center;
      z-index: 80;
      font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    }

    .metal-lightbox.is-open {
      display: flex;
    }

    .metal-lightbox-backdrop {
      position: absolute;
      inset: 0;
      background: rgba(15, 23, 42, 0.82);
    }

    .metal-lightbox-dialog {
      position: relative;
      z-index: 1;
      background: #020617;
      border-radius: 18px;
      padding: 1rem 1rem 1.1rem;
      max-width: min(960px, 100% - 32px);
      max-height: calc(100% - 64px);
      box-shadow: 0 25px 60px rgba(0, 0, 0, 0.65);
      display: flex;
      flex-direction: column;
      gap: 0.7rem;
      color: #e5e7eb;
    }

    .metal-lightbox-main {
      display: flex;
      align-items: center;
      gap: 0.5rem;
    }

    .metal-lightbox-image-wrap {
      flex: 1;
      border-radius: 14px;
      overflow: hidden;
      background: #000;
      max-height: 60vh;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    #metal-lightbox-image {
      max-width: 100%;
      max-height: 60vh;
      object-fit: contain;
    }

    .metal-lightbox-prev,
    .metal-lightbox-next {
      border: none;
      background: rgba(15, 23, 42, 0.7);
      color: #e5e7eb;
      width: 36px;
      height: 36px;
      border-radius: 999px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.3rem;
      cursor: pointer;
    }

    .metal-lightbox-prev:hover,
    .metal-lightbox-next:hover {
      background: rgba(15, 23, 42, 0.95);
    }

    .metal-lightbox-close {
      position: absolute;
      top: 0.4rem;
      right: 0.4rem;
      border: none;
      background: rgba(15, 23, 42, 0.9);
      color: #e5e7eb;
      width: 30px;
      height: 30px;
      border-radius: 999px;
      font-size: 1.2rem;
      cursor: pointer;
    }

    .metal-lightbox-caption {
      font-size: 0.82rem;
      color: #e5e7eb;
    }

    .metal-lightbox-thumbs {
      display: flex;
      flex-wrap: nowrap;
      gap: 0.4rem;
      overflow-x: auto;
      padding-top: 0.1rem;
    }

    .metal-lightbox-thumb {
      border: none;
      background: transparent;
      padding: 0;
      border-radius: 10px;
      overflow: hidden;
      flex: 0 0 70px;
      height: 50px;
      cursor: pointer;
      opacity: 0.6;
      border: 2px solid transparent;
    }

    .metal-lightbox-thumb img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .metal-lightbox-thumb.is-active {
      opacity: 1;
      border-color: #22c55e;
    }

    .metal-lightbox-thumbs::-webkit-scrollbar {
      height: 6px;
    }

    .metal-lightbox-thumbs::-webkit-scrollbar-thumb {
      background: #4b5563;
      border-radius: 999px;
    }

    /* Mobile call bar */

    .mobile-call-bar {
      position: fixed;
      left: 0;
      right: 0;
      bottom: 0;
      z-index: 60;
      display: none;
      background: #0f172a;
      box-shadow: 0 -8px 16px rgba(15, 23, 42, 0.35);
      padding: 0.45rem 1.1rem;
    }

    .mobile-call-inner {
      max-width: 1120px;
      margin: 0 auto;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 0.75rem;
      color: #e5e7eb;
      font-size: 0.85rem;
    }

    .mobile-call-label {
      display: flex;
      flex-direction: column;
      gap: 0.1rem;
    }

    .mobile-call-label strong {
      font-size: 0.9rem;
    }

    .mobile-call-number {
      font-weight: 600;
    }

    .mobile-call-btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 0.55rem 1.1rem;
      border-radius: 999px;
      background: linear-gradient(135deg, var(--jmr-green), var(--jmr-green-dark));
      color: #ffffff;
      font-weight: 600;
      font-size: 0.9rem;
      text-decoration: none;
      white-space: nowrap;
    }

    /* Responsive */

    @media (max-width: 900px) {
      .hero-layout {
        grid-template-columns: minmax(0, 1fr);
      }

      .hero-photo-frame {
        display: none;
      }

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

    @media (max-width: 720px) {
      .nav-links {
        display: none;
      }

      .nav.is-open .nav-links {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        right: 1.5rem;
        left: 1.5rem;
        padding: 0.75rem 1rem 1rem;
        background: #ffffff;
        border-radius: 12px;
        box-shadow: var(--shadow-soft);
        gap: 0.75rem;
        z-index: 40;
      }

      .nav-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 999px;
        border: 1px solid #d1d5db;
        padding: 0.35rem 0.8rem;
        font-size: 0.8rem;
        background: #f9fafb;
        cursor: pointer;
      }

      .section {
        padding: 2.5rem 1.1rem;
      }

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

      .metal-lightbox-dialog {
        max-width: calc(100% - 16px);
        max-height: calc(100% - 24px);
        padding: 0.75rem 0.75rem 0.9rem;
      }

      #metal-lightbox-image {
        max-height: 55vh;
      }

      .metal-lightbox-prev,
      .metal-lightbox-next {
        width: 32px;
        height: 32px;
      }

      .mobile-call-bar {
        display: block;
      }

      body {
        padding-bottom: 3.2rem;
      }
    }
  

/* --- Security refactor utilities (replaces removed inline styles) --- */
.nav-logo-img { max-height: 40px; width: auto; }
.mt-1 { margin-top: 1rem; }
.mt-075 { margin-top: 0.75rem; }
.mt-09 { margin-top: 0.9rem; }
.h3-tight { font-family: 'Montserrat', sans-serif; font-size: 1rem; margin-top: 0; margin-bottom: 0.6rem; }
.gallery-note { margin-top: 1rem; }
