/* ============================================================
   MOHMET LTD — main stylesheet
   Editorial trading-house theme: light, photographic, precise.
   Clash Display headings · Inter body · restrained copper accent.
   ============================================================ */

/* ---------------- fonts ---------------- */
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Clash Display";
  src: url("../fonts/clash-display-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Clash Display";
  src: url("../fonts/clash-display-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* ---------------- tokens ---------------- */
:root {
  --bg: #ffffff;
  --bg-alt: #f4f3f0;
  --bg-deep: #0f1315;
  --bg-deep-2: #161b1e;
  --ink: #16191d;
  --ink-soft: #3d454d;
  --muted: #6b747d;
  --line: #e6e5e1;
  --line-dark: #d3d1cb;
  --accent: #9a5228;
  --accent-2: #c07a45;       /* lighter copper, for dark backgrounds */
  --accent-soft: #f3ebe3;
  --radius: 3px;
  --container: 1200px;
  --header-h: 74px;
  --shadow-sm: 0 1px 2px rgba(16, 19, 21, 0.04), 0 2px 8px rgba(16, 19, 21, 0.05);
  --shadow-lg: 0 24px 60px rgba(16, 19, 21, 0.14);
  --font-display: "Clash Display", "Inter", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.62;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; }

h1, h2, h3, h4 {
  margin: 0 0 0.6em;
  line-height: 1.12;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
h1, h2 { font-family: var(--font-display); }
h1 { font-size: clamp(2.5rem, 5.2vw, 4.1rem); letter-spacing: -0.02em; line-height: 1.02; }
h2 { font-size: clamp(1.85rem, 3.4vw, 2.7rem); letter-spacing: -0.015em; }
h3 { font-size: 1.18rem; letter-spacing: -0.01em; }
h4 {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: var(--muted);
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: inherit; text-decoration: none; }
p a, .prose a, .faq-body a, .cta-alt a, .form-note a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
}

.lede {
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 60ch;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}
.container--narrow { max-width: 840px; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  z-index: 100;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--accent-soft); }

/* ---------------- eyebrow / section head ---------------- */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 1.4rem;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent);
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--accent);
  opacity: 0.6;
}
.eyebrow .idx { color: var(--muted); font-variant-numeric: tabular-nums; }

.section-head { max-width: 60ch; margin-bottom: 3rem; }
.section-head .lede { margin-top: 1rem; }

/* ---------------- reveal on scroll ---------------- */
.r { opacity: 1; transform: none; }
.js-reveal .r {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.js-reveal .r.in { opacity: 1; transform: none; }
/* subtle stagger for grid children */
.js-reveal .stagger > * { transition-delay: calc(var(--i, 0) * 80ms); }

/* ---------------- buttons ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-size: 0.95rem;
  font-weight: 550;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease);
}
.btn .arrow { transition: transform 0.25s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }

.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #2a3138; }
.btn--ghost { border-color: var(--line-dark); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--ink); background: var(--bg-alt); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: #ebedee; }
.btn--outline { border-color: rgba(255,255,255,0.5); color: #fff; background: transparent; }
.btn--outline:hover { border-color: #fff; background: rgba(255,255,255,0.1); }

/* ---------------- header ---------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
.site-header.scrolled {
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}

.nav-bar {
  display: flex;
  align-items: center;
  gap: 32px;
  height: var(--header-h);
}

.brand { display: flex; align-items: center; gap: 13px; margin-right: auto; }
.brand-mark { display: block; width: 42px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.12; }
.brand-text b { font-family: var(--font-display); font-size: 1.28rem; font-weight: 600; letter-spacing: -0.01em; }
.brand-text small {
  font-size: 0.6rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted);
}

.nav-links { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-link {
  position: relative;
  display: inline-block;
  padding: 8px 14px;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color 0.15s ease;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 4px;
  height: 1.5px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}
.nav-link:hover { color: var(--ink); }
.nav-link:hover::after,
.nav-link[aria-current="page"]::after { transform: scaleX(1); }
.nav-link[aria-current="page"] { color: var(--ink); font-weight: 600; }

.has-menu { position: relative; }
.has-menu .drop {
  position: absolute;
  top: calc(100% + 2px);
  left: 0;
  min-width: 220px;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.18s var(--ease), transform 0.18s var(--ease), visibility 0.18s;
}
.has-menu:hover .drop, .has-menu:focus-within .drop { opacity: 1; visibility: visible; transform: none; }
.has-menu .drop a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 12px;
  border-radius: var(--radius);
  font-size: 0.92rem;
  color: var(--ink-soft);
}
.has-menu .drop a:hover { background: var(--bg-alt); color: var(--ink); }
.has-menu .drop a .sym { min-width: 38px; font-size: 0.72rem; }

.nav-cta { display: inline-flex; }

.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  padding: 11px;
  background: none;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  cursor: pointer;
}
.nav-burger span { display: block; height: 2px; background: var(--ink); transition: transform 0.2s ease, opacity 0.2s ease; }
body.nav-open .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .nav-burger span:nth-child(2) { opacity: 0; }
body.nav-open .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  position: fixed;
  top: var(--header-h);
  left: 0; right: 0;
  z-index: 49;
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 14px 32px 28px;
  flex-direction: column;
  gap: 2px;
  max-height: calc(100vh - var(--header-h));
  overflow-y: auto;
}
.mobile-nav.open { display: flex; }
.mobile-nav a { padding: 12px 8px; border-radius: var(--radius); font-weight: 550; }
.mobile-nav a:hover { background: var(--bg-alt); }
.mobile-nav .mobile-sub { padding-left: 24px; font-weight: 450; color: var(--muted); font-size: 0.95rem; }
.mobile-nav .btn { margin-top: 14px; justify-content: center; }

/* ---------------- photographic hero (home) ---------------- */
.hero { position: relative; color: #fff; background: var(--bg-deep); overflow: hidden; }
.hero-media { position: absolute; inset: 0; overflow: hidden; }
.hero-media img, .hero-media video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-media img { animation: kenburns 24s ease-out both; }
@keyframes kenburns { from { transform: scale(1.06); } to { transform: scale(1.14); } }
.hero-media video { opacity: 0; transition: opacity 1s ease; }
.hero-media video.ready { opacity: 1; }
.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(9,11,13,0.86) 0%, rgba(9,11,13,0.55) 46%, rgba(9,11,13,0.28) 100%),
    linear-gradient(0deg, rgba(9,11,13,0.7) 0%, rgba(9,11,13,0.08) 42%);
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 56px;
  align-items: center;
  min-height: min(80vh, 720px);
  padding-top: 84px;
  padding-bottom: 84px;
}
.hero .eyebrow { color: var(--accent-2); }
.hero .eyebrow::before { background: var(--accent-2); }
.hero-copy h1 { color: #fff; max-width: 15ch; margin-bottom: 1.4rem; }
.hero-copy .lede { color: rgba(255,255,255,0.9); max-width: 46ch; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

@media (prefers-reduced-motion: reduce) {
  .hero-media img { animation: none; transform: scale(1.05); }
}

/* glass metals panel */
.hero-panel {
  background: rgba(14, 17, 20, 0.5);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), var(--shadow-lg);
  overflow: hidden;
}
.panel-title {
  font-family: "Inter", sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.55);
  margin: 0;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.panel-list { list-style: none; margin: 0; padding: 6px; }
.panel-list a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-radius: var(--radius);
  color: #fff;
  font-weight: 500;
  transition: background-color 0.15s ease;
}
.panel-list a:hover { background: rgba(255,255,255,0.08); }
.panel-list .arrow { margin-left: auto; color: rgba(255,255,255,0.4); transition: transform 0.2s var(--ease), color 0.2s ease; }
.panel-list a:hover .arrow { color: #fff; transform: translateX(3px); }
.hero-panel .sym { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.2); color: var(--accent-2); }
@media (prefers-reduced-transparency: reduce) {
  .hero-panel { background: rgba(14,17,20,0.95); backdrop-filter: none; -webkit-backdrop-filter: none; }
}

/* periodic-cell symbol chip */
.sym {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-width: 46px;
  padding: 5px 9px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 650;
  letter-spacing: 0.01em;
  line-height: 1.05;
}
.sym b { font-size: 0.86rem; font-weight: 650; }
.sym i { font-style: normal; font-size: 0.55rem; opacity: 0.7; font-weight: 500; }

/* ---------------- LME market panel ---------------- */
.market-section { padding-top: 84px; padding-bottom: 84px; }
.market-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 2rem;
}
.market-head h2 { margin: 0; }
.market-status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  font-size: 0.86rem;
  color: var(--muted);
}
.live-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #2e9e5b;
  box-shadow: 0 0 0 0 rgba(46, 158, 91, 0.5);
  animation: livepulse 2s infinite;
  flex-shrink: 0;
}
@keyframes livepulse {
  0% { box-shadow: 0 0 0 0 rgba(46, 158, 91, 0.5); }
  70% { box-shadow: 0 0 0 7px rgba(46, 158, 91, 0); }
  100% { box-shadow: 0 0 0 0 rgba(46, 158, 91, 0); }
}
@media (prefers-reduced-motion: reduce) { .live-dot { animation: none; } }

.market-table {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg);
  box-shadow: var(--shadow-sm);
}
.mkt-row {
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr) minmax(0, 1.5fr) minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  padding: 16px 22px;
  border-top: 1px solid var(--line);
  color: var(--ink);
}
.mkt-row:first-child { border-top: 0; }
.mkt-head {
  background: var(--ink);
  color: #fff;
  padding-top: 13px;
  padding-bottom: 13px;
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.mkt-head .mkt-price { color: rgba(255,255,255,0.7); }
.mkt-metal { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: 1.02rem; }
.mkt-metal .sym { min-width: 40px; padding: 4px 8px; }
.mkt-metal .sym b { font-size: 0.8rem; }
.mkt-code { font-family: var(--font-display); font-weight: 600; color: var(--muted); letter-spacing: 0.04em; font-size: 0.95rem; }
.mkt-price { font-variant-numeric: tabular-nums; font-weight: 600; font-size: 1.05rem; }
.mkt-chg {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--muted);
}
.mkt-chg.up { color: #1f8a4c; }
.mkt-chg.down { color: #c0392b; }
.mkt-chg .caret { margin-right: 4px; font-size: 0.8em; }
.market-foot { margin-top: 1.2rem; font-size: 0.85rem; color: var(--muted); }

@media (max-width: 640px) {
  .mkt-row { grid-template-columns: 1fr auto; gap: 2px 14px; padding: 14px 16px; align-items: center; }
  .mkt-head { display: none; }
  .mkt-code { display: none; }
  .mkt-metal { grid-column: 1; grid-row: 1 / span 2; }
  .mkt-price { grid-column: 2; grid-row: 1; text-align: right; }
  .mkt-chg { grid-column: 2; grid-row: 2; text-align: right; }
}

/* ---------------- page head (sub pages) ---------------- */
.page-head { position: relative; color: #fff; background: var(--bg-deep); overflow: hidden; }
.page-head--photo .ph-media { position: absolute; inset: 0; overflow: hidden; }
.page-head--photo .ph-media img {
  width: 100%; height: 100%; object-fit: cover;
  animation: kenburns 26s ease-out both;
}
.page-head--photo .ph-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(9,11,13,0.82) 0%, rgba(9,11,13,0.48) 55%, rgba(9,11,13,0.3) 100%),
    linear-gradient(0deg, rgba(9,11,13,0.6) 0%, rgba(9,11,13,0.12) 48%);
}
.page-head .container { position: relative; padding-top: 108px; padding-bottom: 72px; }
.page-head h1 { color: #fff; margin-bottom: 0.5rem; }
.page-head .lede { color: rgba(255,255,255,0.9); }
.page-head .hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 2rem; }
@media (prefers-reduced-motion: reduce) { .page-head--photo .ph-media img { animation: none; transform: scale(1.04); } }

.h-sym {
  display: inline-flex;
  flex-direction: column;
  vertical-align: middle;
  margin-left: 14px;
  padding: 6px 12px;
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.08);
  color: #fff;
  font-family: "Inter", sans-serif;
}
.h-sym b { font-size: 1rem; font-weight: 650; line-height: 1; }
.h-sym i { font-style: normal; font-size: 0.6rem; opacity: 0.7; margin-top: 2px; }

.crumbs {
  display: flex; flex-wrap: wrap; align-items: center; gap: 9px;
  margin-bottom: 1.8rem;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.62);
}
.crumbs a:hover { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
.crumbs .sep { color: rgba(255,255,255,0.3); }
.crumbs span[aria-current] { color: rgba(255,255,255,0.85); }

/* ---------------- sections ---------------- */
.section { padding: 92px 0; }
.section--tight { padding: 64px 0; }
.section--alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--alt + .cta-band, .section--alt + .section--dark { border-top: 0; }

/* what we do — numbered service cards */
.triple { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.triple-cell {
  position: relative;
  padding: 30px 26px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.triple-cell:hover { border-color: var(--line-dark); box-shadow: var(--shadow-sm); transform: translateY(-3px); }
.triple-cell .svc-num {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.05em;
}
.triple-cell h3 { margin: 0.8rem 0 0.5em; font-size: 1.3rem; }
.triple-cell p { color: var(--muted); font-size: 0.98rem; margin: 0; }

/* ---------------- dark positioning band ---------------- */
.section--dark {
  position: relative;
  color: #fff;
  background: var(--bg-deep);
  overflow: hidden;
  padding: 104px 0;
}
.band-media { position: absolute; inset: 0; }
.band-media img { width: 100%; height: 100%; object-fit: cover; }
.band-media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(9,11,13,0.9) 0%, rgba(9,11,13,0.7) 55%, rgba(9,11,13,0.55) 100%);
}
.band-inner { position: relative; max-width: 60ch; }
.band-inner .eyebrow { color: var(--accent-2); }
.band-inner .eyebrow::before { background: var(--accent-2); }
.band-inner blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.6rem, 3.2vw, 2.5rem);
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: #fff;
}
.band-inner .attrib { margin-top: 1.6rem; color: rgba(255,255,255,0.62); font-size: 0.95rem; }

/* ---------------- metal cards (periodic style) ---------------- */
.metal-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.metal-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}
.metal-card:hover { border-color: var(--line-dark); box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.mc-photo { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-alt); }
.mc-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.metal-card:hover .mc-photo img { transform: scale(1.05); }
.mc-cell {
  position: absolute;
  top: 14px; left: 14px;
  display: flex;
  flex-direction: column;
  min-width: 52px;
  padding: 7px 10px;
  background: rgba(14,17,20,0.62);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius);
  color: #fff;
  line-height: 1.05;
}
.mc-cell b { font-size: 1.15rem; font-weight: 650; }
.mc-cell i { font-style: normal; font-size: 0.62rem; opacity: 0.75; margin-top: 1px; }
.mc-body { display: flex; flex-direction: column; gap: 8px; padding: 22px 24px 24px; flex: 1; }
.mc-body h3 { margin: 0; font-size: 1.35rem; }
.mc-body p { color: var(--muted); font-size: 0.95rem; margin: 0; }
.mc-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 0.88rem;
  font-weight: 600;
}
.mc-count { color: var(--muted); font-weight: 500; }
.mc-link { color: var(--accent); display: inline-flex; align-items: center; gap: 7px; }
.metal-card:hover .mc-link .arrow { transform: translateX(3px); }
.mc-link .arrow { transition: transform 0.2s var(--ease); }

/* ---------------- steps ---------------- */
.steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px;
}
.step { position: relative; padding-top: 26px; border-top: 2px solid var(--ink); }
.step-num {
  position: absolute;
  top: -0.7em; right: 0;
  font-family: var(--font-display);
  font-size: 3.4rem;
  font-weight: 600;
  line-height: 1;
  color: var(--line-dark);
}
.step h3 { font-size: 1.15rem; margin-bottom: 0.5em; max-width: 20ch; }
.step p { color: var(--muted); font-size: 0.96rem; }

/* ---------------- note block ---------------- */
.note-block {
  margin-top: 2.8rem;
  padding: 22px 26px;
  border-left: 3px solid var(--accent);
  background: var(--bg-alt);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--ink-soft);
  max-width: 76ch;
}

/* ---------------- intro grid (metal + about) ---------------- */
.intro-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: start; }
.intro-grid > .section-head { margin-bottom: 0; }
.prose p { color: var(--ink-soft); max-width: 62ch; }
.prose p + p { margin-top: 1.1rem; }

.grade-index {
  margin-top: 1.8rem;
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
  font-size: 0.85rem; color: var(--muted);
}
.grade-index .gi-label { text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.68rem; font-weight: 600; margin-right: 4px; }
.grade-index a {
  padding: 5px 13px;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  background: var(--bg);
  font-weight: 550;
  color: var(--ink-soft);
  transition: border-color 0.15s ease, color 0.15s ease, background-color 0.15s ease;
}
.grade-index a:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }

/* ---------------- grade catalogue ---------------- */
.grade-group { margin-top: 3.4rem; }
.grade-group:first-child { margin-top: 0; }
.group-head {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding-bottom: 16px;
  margin-bottom: 8px;
  border-bottom: 2px solid var(--ink);
}
.group-head h3 { margin: 0; font-family: var(--font-display); font-size: 1.5rem; }
.group-idx { font-family: var(--font-display); font-size: 0.9rem; font-weight: 600; color: var(--accent); }
.group-count { margin-left: auto; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); font-weight: 600; }

.grade {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: 40px;
  padding: 38px 0;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.grade-id { position: relative; }
.grade-no {
  display: block;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.06em;
  margin-bottom: 0.7rem;
}
.grade-id h3 { font-size: 1.45rem; margin-bottom: 0.3em; }
.grade-alias { color: var(--accent); font-weight: 550; font-size: 0.92rem; line-height: 1.4; }
/* What the UK trade calls the grade. Deliberately quieter than the ISRI alias
   above it — the code stays primary, this is the recognition aid. */
.grade-uk {
  margin-top: 8px;
  font-size: 0.84rem;
  line-height: 1.5;
  color: var(--ink-soft);
}
.grade-uk span {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-bottom: 2px;
}
.spec-uk { display: block; font-size: 0.82rem; color: var(--ink-soft); margin-top: 3px; }
.grade-wm {
  position: absolute;
  top: -14px; right: 10px;
  font-family: var(--font-display);
  font-size: 5rem;
  font-weight: 600;
  color: var(--ink);
  opacity: 0.04;
  pointer-events: none;
  user-select: none;
}
.grade-detail > p { color: var(--ink-soft); max-width: 68ch; margin: 0; }
.grade-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; margin-top: 1.5rem; }
.grade-cols h4 { margin-bottom: 0.9rem; }
.grade-specs { list-style: none; margin: 0; padding: 0; font-size: 0.93rem; color: var(--ink-soft); }
.grade-specs li { position: relative; padding: 5px 0 5px 20px; }
.grade-specs li::before {
  content: "";
  position: absolute; left: 0; top: 0.92em;
  width: 9px; height: 1.5px; background: var(--accent);
}
.grade-apps { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; align-content: flex-start; }
.grade-apps li {
  padding: 5px 13px;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  background: var(--bg);
  font-size: 0.84rem;
  color: var(--ink-soft);
}

/* ---------------- grade page summary card ----------------
   Used on the single-grade pages (millberry-copper, zorba-scrap) to carry the
   specification across from the metal page without repeating the whole table. */
.grade-card {
  padding: 28px 30px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  background: var(--bg-alt);
}
.grade-card .eyebrow { margin-top: 0; }
.gc-outlets {
  margin: 22px 0 10px;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* ---------------- values (about) ---------------- */
.values-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.value-cell {
  position: relative;
  padding: 30px 28px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.value-cell:hover { border-color: var(--line-dark); box-shadow: var(--shadow-sm); }
.value-cell .v-num { font-family: var(--font-display); font-size: 0.82rem; font-weight: 600; color: var(--accent); }
.value-cell h3 { margin: 0.6rem 0 0.5em; font-size: 1.2rem; }
.value-cell p { color: var(--muted); font-size: 0.96rem; margin: 0; }

/* ---------------- FAQ ---------------- */
.faq-list { display: grid; gap: 12px; }
.faq { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color 0.2s ease; }
.faq[open] { border-color: var(--line-dark); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 52px 20px 22px; font-weight: 600; font-size: 1.02rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  font-size: 1.4rem; font-weight: 300; color: var(--accent);
  transition: transform 0.2s ease;
}
.faq[open] summary::after { content: "\2212"; }
.faq-body { padding: 0 22px 20px; color: var(--ink-soft); font-size: 0.98rem; }
.faq-body p { max-width: 74ch; }

/* ---------------- CTA band ---------------- */
.cta-band { background: var(--bg-deep); color: #fff; padding: 76px 0; border-bottom: 1px solid rgba(255,255,255,0.1); }
.cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 36px; }
.cta-band h2 { color: #fff; margin-bottom: 0.4em; max-width: 20ch; }
.cta-band p { color: rgba(255,255,255,0.66); max-width: 48ch; margin: 0; }
.cta-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.cta-band .btn--dark { background: #fff; color: var(--ink); }
.cta-band .btn--dark:hover { background: #e8eaec; }
.cta-alt { font-size: 0.9rem; color: rgba(255,255,255,0.66); }
.cta-alt a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }

/* ---------------- photo band ---------------- */
.photo-band { position: relative; overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); max-height: 460px; }
.photo-band img { width: 100%; height: 100%; max-height: 460px; object-fit: cover; display: block; }

/* ---------------- cinematic media band (photo + optional video) ---------------- */
.media-band {
  position: relative;
  height: clamp(260px, 40vw, 500px);
  overflow: hidden;
  background: var(--bg-deep);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.media-band img, .media-band video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.media-band img { animation: kenburns 30s ease-out both; }
.media-band video { opacity: 0; transition: opacity 1s ease; }
.media-band video.ready { opacity: 1; }
.media-band-grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(9,11,13,0.32) 0%, rgba(9,11,13,0) 30%, rgba(9,11,13,0) 70%, rgba(9,11,13,0.32) 100%),
    linear-gradient(0deg, rgba(9,11,13,0.34) 0%, rgba(9,11,13,0) 34%);
}
@media (prefers-reduced-motion: reduce) { .media-band img { animation: none; transform: scale(1.03); } }

/* ---------------- forms ---------------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 52px; align-items: start; }
.contact-panel { border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; background: var(--bg); box-shadow: var(--shadow-sm); }
.contact-panel h2 { font-size: 1.4rem; margin-bottom: 1.4rem; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.field { display: grid; gap: 7px; }
.field label { font-size: 0.82rem; font-weight: 600; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 13px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--ink);
  font: inherit;
  font-size: 0.95rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field input::placeholder, .field textarea::placeholder { color: #949da5; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.field textarea { resize: vertical; min-height: 100px; }
.form-status { font-size: 0.9rem; color: var(--accent); margin: 0; font-weight: 500; }
.form-note { font-size: 0.85rem; color: var(--muted); margin: 0; }

.contact-direct { display: grid; gap: 12px; }
.contact-card {
  display: flex; align-items: center; gap: 15px;
  padding: 17px 19px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
a.contact-card:hover { border-color: var(--line-dark); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.cc-ico {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--accent-soft);
  color: var(--accent);
  flex-shrink: 0;
}
.contact-card b { display: block; font-size: 0.97rem; }
.contact-card small { color: var(--muted); font-size: 0.82rem; }
.map-frame { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; }
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------------- footer ---------------- */
.site-footer { position: relative; background: var(--bg-deep); color: #c6cdd4; padding-top: 68px; overflow: hidden; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 3fr); gap: 52px; padding-bottom: 52px; }
.brand-mark--inv { filter: invert(1); mix-blend-mode: screen; }
.site-footer .brand-text b { color: #fff; }
.site-footer .brand-text small { color: #8b949d; }
.footer-about p { color: #9aa4ad; font-size: 0.95rem; max-width: 42ch; margin: 1.4rem 0; }
.footer-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 0.92rem; color: #c6cdd4; }
.footer-contact a:hover { color: #fff; }
.site-footer h3 { font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.13em; color: #8b949d; margin-bottom: 1.1rem; }
.footer-links { display: grid; gap: 9px; font-size: 0.95rem; }
.footer-links a { color: #c6cdd4; transition: color 0.15s ease; }
.footer-links a:hover { color: var(--accent-2); }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  padding: 22px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.82rem; color: #8b949d;
}

/* ---------------- hero trust points ---------------- */
.hero-points {
  list-style: none;
  margin: 2.2rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
}
.hero-points li {
  position: relative;
  padding-left: 22px;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.82);
}
.hero-points li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.42em;
  width: 12px; height: 7px;
  border-left: 1.5px solid var(--accent-2);
  border-bottom: 1.5px solid var(--accent-2);
  transform: rotate(-45deg);
}

/* ---------------- dual-audience (suppliers / buyers) ---------------- */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.audience-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 38px 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, var(--accent-soft) 0%, rgba(243, 235, 227, 0) 55%),
    var(--bg);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.audience-card:hover { border-color: var(--line-dark); box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.audience-card--buy {
  background:
    linear-gradient(180deg, var(--bg-alt) 0%, rgba(244, 243, 240, 0) 55%),
    var(--bg);
}
.aud-tag {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 0.66rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.13em;
}
.audience-card--buy .aud-tag { background: var(--accent); }
.audience-card h3 { font-size: 1.45rem; margin: 0.4rem 0 0; }
.audience-card p { color: var(--ink-soft); font-size: 0.98rem; max-width: 42ch; margin: 0; flex: 1; }
.audience-card .btn { margin-top: 12px; }

/* ---------------- floating WhatsApp button ---------------- */
.wa-fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 0;
  height: 56px;
  padding: 0 16px;
  border-radius: 999px;
  background: #25d366;
  color: #fff;
  box-shadow: 0 10px 28px rgba(16, 19, 21, 0.24);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background-color 0.2s ease;
}
.wa-fab svg { flex-shrink: 0; width: 26px; height: 26px; }
.wa-fab:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(16, 19, 21, 0.3); background: #1fbe5a; }
.wa-fab:active { transform: translateY(0); }
.wa-fab-label {
  max-width: 0;
  overflow: hidden;
  white-space: nowrap;
  font-size: 0.92rem;
  font-weight: 600;
  opacity: 0;
  transition: max-width 0.3s var(--ease), opacity 0.2s ease, margin-left 0.3s var(--ease);
}
.wa-fab:hover .wa-fab-label, .wa-fab:focus-visible .wa-fab-label {
  max-width: 160px;
  opacity: 1;
  margin-left: 10px;
}
@media (max-width: 600px) {
  .wa-fab { right: 16px; bottom: 16px; height: 52px; padding: 0 13px; }
  .wa-fab svg { width: 24px; height: 24px; }
}
@media print { .wa-fab { display: none; } }

/* When the price file is older than a few hours the panel stops presenting itself
   as live: the pulsing dot goes grey and stops, and the caption says so. */
.market-section.is-stale .live-dot { background: var(--muted); animation: none; }
.market-section.is-stale .live-dot::after { display: none; }
.market-section.is-stale .market-status { color: var(--muted); }

/* honeypot: bots fill it, humans never see it */
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.field-hint { display: block; margin-top: 6px; font-size: 0.85rem; color: var(--muted); }
.field input.is-invalid, .field select.is-invalid, .field textarea.is-invalid {
  border-color: #b4432b;
  background: #fdf6f4;
}
input[type="file"] {
  width: 100%;
  padding: 11px 12px;
  font: inherit;
  font-size: 0.95rem;
  color: var(--ink-soft);
  background: var(--bg);
  border: 1px dashed var(--line-dark);
  border-radius: var(--radius);
  cursor: pointer;
}
input[type="file"]:hover { border-color: var(--accent); }
.form-status { min-height: 1.4em; font-size: 0.95rem; }
.form-status.is-ok { color: #1f6b3f; font-weight: 550; }
.form-status.is-error { color: #b4432b; }
button[type="submit"]:disabled { opacity: 0.6; cursor: progress; }

/* ---------------- language switcher ---------------- */
.lang { position: relative; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 12px; font: inherit; font-size: 0.88rem; font-weight: 500;
  color: var(--ink-soft); background: none;
  border: 1px solid var(--line); border-radius: var(--radius);
  cursor: pointer; white-space: nowrap;
  transition: border-color 0.18s ease, color 0.18s ease;
}
.lang-btn svg { width: 16px; height: 16px; opacity: 0.75; }
.lang-btn:hover { color: var(--ink); border-color: var(--line-dark); }
.lang-menu {
  position: absolute; z-index: 60; top: calc(100% + 8px); right: 0;
  display: none; grid-template-columns: repeat(2, minmax(140px, 1fr)); gap: 2px;
  padding: 8px; background: var(--bg);
  border: 1px solid var(--line-dark); border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.lang.open .lang-menu { display: grid; }
.lang-menu a {
  display: flex; flex-direction: column; gap: 1px;
  padding: 9px 12px; border-radius: var(--radius); font-size: 0.92rem;
}
.lang-menu a i { font-style: normal; font-size: 0.74rem; color: var(--muted); }
.lang-menu a:hover { background: var(--bg-alt); }
.lang-menu a[aria-current] { background: var(--accent-soft); color: var(--accent); }
.lang-menu a[aria-current] i { color: var(--accent); }
.mobile-nav .lang { margin-top: 10px; }
.mobile-nav .lang-menu { position: static; box-shadow: none; }

/* ---------------- right-to-left ---------------- */
[dir="rtl"] .eyebrow::before { order: 2; }
[dir="rtl"] .lang-menu { right: auto; left: 0; }
[dir="rtl"] .brand { margin-right: 0; margin-left: auto; }
[dir="rtl"] .btn .arrow, [dir="rtl"] .mc-link .arrow, [dir="rtl"] .crumbs { transform: scaleX(-1); }
[dir="rtl"] .crumbs > * { transform: scaleX(-1); }
[dir="rtl"] .gsearch-icon { left: auto; right: 15px; }
[dir="rtl"] .gsearch-field input { padding-right: 44px; padding-left: 44px; }
[dir="rtl"] .gsearch-clear { right: auto; left: 10px; }
[dir="rtl"] .spec-table th, [dir="rtl"] .spec-table td { text-align: right; padding: 11px 0 11px 14px; }
[dir="rtl"] .nav-link::after { transform-origin: right; }
[dir="rtl"] .marquee-track { animation-direction: reverse; }

/* ---------------- spec sheet ---------------- */
.spec-title { display: flex; align-items: flex-start; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.spec-note { margin-top: 2rem; padding: 16px 18px; font-size: 0.9rem; color: var(--muted); background: var(--bg-alt); border-left: 2px solid var(--accent); border-radius: var(--radius); }
.spec-metal-head { display: flex; align-items: center; gap: 14px; font-size: 1.5rem; margin-bottom: 1.2rem; }
.spec-count { font-family: "Inter", sans-serif; font-size: 0.8rem; font-weight: 500; color: var(--muted); }
.spec-table { width: 100%; border-collapse: collapse; font-size: 0.94rem; }
.spec-table th, .spec-table td { text-align: left; padding: 11px 14px 11px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table thead th { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); border-bottom-color: var(--line-dark); }
.spec-table tbody th { font-weight: 550; width: 22%; }
.spec-table td:nth-child(2) { color: var(--ink-soft); }
.spec-table td:last-child { color: var(--muted); font-size: 0.86rem; width: 26%; }
.spec-foot { padding-top: 0; font-size: 0.9rem; color: var(--muted); }

@media print {
  .site-header, .mobile-nav, .site-footer, .wa-fab, .spec-print, .skip-link, .crumbs { display: none !important; }
  .section { padding: 0 0 18px !important; }
  .container { max-width: none; padding: 0; }
  .spec-metal { break-inside: avoid; }
  .spec-table tr { break-inside: avoid; }
  .spec-note { background: none; border-left: 0; padding: 0; }
  a { text-decoration: none; color: #000; }
  body { font-size: 10.5pt; }
  h1 { font-size: 22pt; }
  .spec-metal-head { font-size: 13pt; margin-top: 14pt; }
  @page { margin: 16mm; }
}

/* ---------------- grade search ---------------- */
.gsearch { position: relative; max-width: 560px; margin: 0 0 3rem; }
.gsearch-label {
  display: block; margin-bottom: 10px;
  font-size: 0.72rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.13em; color: var(--muted);
}
.gsearch-field { position: relative; display: flex; align-items: center; }
.gsearch-icon {
  position: absolute; left: 15px; width: 18px; height: 18px;
  color: var(--muted); pointer-events: none;
}
.gsearch-field input {
  width: 100%; padding: 14px 44px; font: inherit; font-size: 1rem;
  color: var(--ink); background: var(--bg);
  border: 1px solid var(--line-dark); border-radius: var(--radius);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.gsearch-field input::-webkit-search-cancel-button { display: none; }
.gsearch-field input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.gsearch-clear {
  position: absolute; right: 10px; width: 28px; height: 28px;
  display: grid; place-items: center;
  font-size: 1.3rem; line-height: 1; color: var(--muted);
  background: none; border: 0; border-radius: 50%; cursor: pointer;
}
.gsearch-clear:hover { color: var(--ink); background: var(--bg-alt); }
.gsearch-help { margin: 10px 0 0; font-size: 0.85rem; color: var(--muted); }

.gsearch-results {
  position: absolute; z-index: 30; top: calc(100% + 6px); left: 0; right: 0;
  margin: 0; padding: 6px; list-style: none;
  background: var(--bg); border: 1px solid var(--line-dark);
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
  max-height: 60vh; overflow-y: auto;
}
.gsearch-results a {
  display: grid; grid-template-columns: 1fr auto; gap: 2px 14px;
  padding: 10px 12px; border-radius: var(--radius);
}
.gsearch-results li[aria-selected="true"] a, .gsearch-results a:hover { background: var(--bg-alt); }
.gs-name { font-weight: 550; }
.gs-metal { grid-row: span 2; align-self: center; font-size: 0.78rem; color: var(--accent); white-space: nowrap; }
.gs-alias { font-size: 0.85rem; color: var(--muted); }
.gsearch-empty { padding: 14px 12px; font-size: 0.92rem; color: var(--muted); }

/* ---------------- legal pages ---------------- */
.legal-prose h2 { font-size: 1.35rem; margin-top: 2.4rem; }
.legal-prose h2:first-of-type { margin-top: 1rem; }
.legal-updated { font-size: 0.85rem; color: var(--muted); margin-bottom: 2rem; }

/* ---------------- footer legal block ---------------- */
.footer-legal {
  padding-top: 26px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.82rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.5);
}
.footer-legal p { margin: 0; max-width: 80ch; }
.footer-legal-links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-legal-links a { color: rgba(255,255,255,0.6); }
.footer-legal-links a:hover { color: #fff; }

/* ---------------- photo marquee ---------------- */
.marquee {
  overflow: hidden;
  padding: 10px 0;
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  /* fade the ends so the ribbon reads as continuing rather than being cut off */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 90s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-run {
  display: flex;
  gap: 10px;
  margin: 0;
  padding: 0 5px;
  list-style: none;
}
.marquee-run img {
  display: block;
  width: 260px;
  height: 176px;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--line);
}
/* Two identical runs sit side by side; shifting by exactly half the track puts the
   second run where the first started, so the loop has no seam. */
@keyframes marquee-scroll {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  .marquee { overflow-x: auto; }
}

/* ---------------- responsive ---------------- */
@media (max-width: 1040px) {
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: flex; }
}
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; min-height: 0; padding-top: 56px; padding-bottom: 60px; }
  .intro-grid, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .grade { grid-template-columns: 1fr; gap: 20px; padding: 32px 0; }
  .grade-wm { display: none; }
  .metal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .triple, .steps { grid-template-columns: 1fr; gap: 24px; }
  .step { border-top-width: 2px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .audience-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .container { padding: 0 20px; }
  .marquee-run img { width: 190px; height: 128px; }
  .marquee-track { animation-duration: 65s; }
  .section { padding: 60px 0; }
  .section--dark { padding: 72px 0; }
  .page-head .container { padding-top: 88px; padding-bottom: 52px; }
  .metal-grid { grid-template-columns: 1fr; }
  .grade-cols { grid-template-columns: 1fr; gap: 22px; }
  .values-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .brand-text small { display: none; }
  h1 .h-sym { margin-left: 8px; }
}
