/* Manchester Bullion - site styles */

@font-face {
  font-family: "Cinzel";
  src: url("../fonts/cinzel-latin.woff2") format("woff2");
  font-weight: 500 700;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin.woff2") format("woff2");
  font-weight: 400 600;
  font-display: swap;
}

:root {
  --bg: #0b0b0c;
  --surface: #141416;
  --surface-2: #1b1b1e;
  --line: #2b2822;
  --text: #ece8df;
  --muted: #a8a294;
  --gold: #d6a935;
  --gold-light: #f1d27a;
  --gold-dark: #9c7618;
  --red: #c8352e;
  --blue: #3a6fc4;
  --radius: 10px;
  --wrap: 1160px;
  --serif: "Cinzel", "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1rem/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-light); text-underline-offset: 3px; }
a:hover { color: #fff; }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.2; letter-spacing: .02em; margin: 0 0 .6em; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 3.4vw, 2.2rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--gold); color: #000; padding: .5rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; }
:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 3px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 28px; } }

.gold-text {
  background: linear-gradient(180deg, var(--gold-light), var(--gold) 55%, var(--gold-dark));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.eyebrow { font: 600 .78rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; display: block; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 46rem; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .85rem 1.4rem; border-radius: 999px; border: 1px solid var(--gold);
  font: 600 .95rem/1 var(--sans); text-decoration: none; letter-spacing: .02em;
  transition: background .2s, color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: linear-gradient(180deg, var(--gold-light), var(--gold)); color: #111; border-color: var(--gold-light); }
.btn-gold:hover { color: #000; background: var(--gold-light); }
.btn-ghost { background: transparent; color: var(--gold-light); }
.btn-ghost:hover { background: rgba(214,169,53,.12); color: #fff; }
.btn-sm { padding: .6rem 1rem; font-size: .85rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11,11,12,.92); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--text); }
.brand-text { font: 700 1.05rem/1 var(--serif); letter-spacing: .08em; text-transform: uppercase; }
.brand-text span { color: var(--gold); }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.6rem; }
.site-nav { display: flex; align-items: center; gap: 1.6rem; }
.site-nav a:not(.btn) { color: var(--text); text-decoration: none; font-size: .92rem; font-weight: 500; }
.site-nav a:not(.btn):hover, .site-nav a[aria-current="page"] { color: var(--gold-light); }
.site-nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--gold); padding-bottom: 4px; }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.bars, .bars::before, .bars::after { display: block; width: 24px; height: 2px; background: var(--gold-light); position: relative; transition: transform .2s; }
.bars::before, .bars::after { content: ""; position: absolute; left: 0; }
.bars::before { top: -7px; } .bars::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .site-nav {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: .5rem 16px 1.25rem;
  }
  .site-nav.open { display: flex; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav li a { display: block; padding: .85rem 0; border-bottom: 1px solid var(--line); }
  .site-nav a[aria-current="page"] { box-shadow: none; }
  .site-nav .btn { margin-top: 1rem; }
}

/* Sections */
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section-alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 44rem; margin-bottom: 2.5rem; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.rule { width: 72px; height: 2px; background: linear-gradient(90deg, transparent, var(--gold), transparent); border: 0; margin: 1.2rem 0; }
.center .rule { margin-left: auto; margin-right: auto; }

/* Hero */
.hero { position: relative; border-bottom: 1px solid var(--line); background: #000; }
.hero-img { width: 100%; aspect-ratio: 1672 / 941; object-fit: cover; max-height: 78vh; }
.hero-body { padding-top: 2.5rem; padding-bottom: 3.5rem; text-align: center; }
.hero-body h1 { font-size: clamp(1.6rem, 4.2vw, 2.6rem); max-width: 40rem; margin: 0 auto .6em; }
.hero-body .lead { margin: 0 auto; }
.hero-body .btn-row { justify-content: center; }

/* Home hero */
.home-hero { border-bottom: 1px solid var(--line); padding: clamp(3rem, 8vw, 6.5rem) 0;
  background: radial-gradient(ellipse at 75% 40%, rgba(214,169,53,.16), transparent 55%), radial-gradient(ellipse at 10% 110%, rgba(214,169,53,.08), transparent 50%), var(--bg); }
.home-hero-inner { display: grid; gap: 2.5rem; align-items: center; }
.home-hero h1 { font-size: clamp(2.6rem, 7vw, 4.6rem); }
.home-hero-badge { width: min(420px, 80vw); margin: 0 auto; filter: drop-shadow(0 24px 60px rgba(214,169,53,.22)); }
@media (min-width: 900px) { .home-hero-inner { grid-template-columns: 1.2fr 1fr; gap: 4rem; } }

/* Page hero (inner pages) */
.page-hero { padding: clamp(3rem, 7vw, 5rem) 0 clamp(2rem, 5vw, 3rem); border-bottom: 1px solid var(--line);
  background: radial-gradient(ellipse at 50% -20%, rgba(214,169,53,.18), transparent 60%), var(--bg); }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
@media (min-width: 720px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { background: var(--surface); padding: 1.6rem 1rem; text-align: center; }
.stat-value { font: 700 clamp(1.6rem, 4vw, 2.2rem)/1 var(--serif); color: var(--gold-light); display: block; margin-bottom: .5rem; }
.stat-label { font-size: .85rem; color: var(--muted); }
.stats-note { margin-top: .8rem; font-size: .8rem; color: var(--muted); text-align: center; }

/* Cards */
.grid { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }
.card { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; }
.card h3 { color: var(--gold-light); }
.card p:last-child { margin-bottom: 0; }
.card .icon { width: 40px; height: 40px; margin-bottom: 1rem; color: var(--gold); }
.card-tag { display: inline-block; font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; padding: .3rem .6rem; border-radius: 999px; border: 1px solid var(--gold-dark); color: var(--gold); margin-bottom: .9rem; }

/* Checklist */
.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { position: relative; padding-left: 1.8rem; margin-bottom: .8rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .45em; width: 12px; height: 7px; border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(-45deg); }

/* Testimonials marquee */
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 1.25rem; width: max-content; animation: scroll 90s linear infinite; }
.marquee:hover .marquee-track, .marquee:focus-within .marquee-track { animation-play-state: paused; }
.quote { flex: 0 0 auto; width: min(320px, 78vw); background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; margin: 0; }
.quote .stars { color: var(--gold); letter-spacing: .15em; font-size: .9rem; margin-bottom: .6rem; }
.quote blockquote { margin: 0 0 .9rem; font-size: 1rem; }
.quote figcaption { font-size: .8rem; color: var(--muted); }
@keyframes scroll { to { transform: translateX(calc(-50% - .625rem)); } }
@media (prefers-reduced-motion: reduce) {
  .marquee { mask-image: none; -webkit-mask-image: none; overflow-x: auto; }
  .marquee-track { animation: none; }
  .marquee-track [aria-hidden="true"] { display: none; }
  html { scroll-behavior: auto; }
}

/* Split / feature rows */
.split { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.badge-feature { max-width: 380px; margin: 0 auto; filter: drop-shadow(0 20px 50px rgba(214,169,53,.18)); }

/* CTA band */
.cta-band { text-align: center; background: radial-gradient(ellipse at 50% 120%, rgba(214,169,53,.22), transparent 65%), var(--surface); border-top: 1px solid var(--line); }
.cta-band .lead { margin: 0 auto; }
.cta-band .btn-row { justify-content: center; }

/* Posters */
.posters { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
@media (min-width: 900px) { .posters { grid-template-columns: repeat(4, 1fr); } }
.posters img { border-radius: var(--radius); border: 1px solid var(--line); aspect-ratio: 941 / 1672; object-fit: cover; width: 100%; }

/* Definition table */
.facts { width: 100%; border-collapse: collapse; }
.facts th, .facts td { text-align: left; padding: .9rem 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.facts th { width: 38%; color: var(--muted); font-weight: 500; padding-right: 1rem; }

/* Prose (policies) */
.prose { max-width: 46rem; }
.prose h2 { font-size: 1.5rem; margin-top: 2.6rem; padding-top: 1rem; scroll-margin-top: 90px; }
.prose h3 { margin-top: 1.6rem; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: .5rem; }
.toc { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1rem; padding: 0; list-style: none; }
.toc a { display: inline-block; padding: .45rem .9rem; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-size: .88rem; color: var(--text); }
.toc a:hover { border-color: var(--gold); color: var(--gold-light); }

.notice { border: 1px solid var(--gold-dark); background: rgba(214,169,53,.07); border-radius: var(--radius); padding: 1.2rem 1.4rem; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding-top: 3.5rem; background: #070708; }
.footer-grid { display: grid; gap: 2.5rem; padding-bottom: 2.5rem; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
.footer-brand img { margin-bottom: 1rem; }
.footer-brand p { color: var(--muted); max-width: 26rem; font-size: .92rem; }
.footer-h { font: 600 .78rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.1rem; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: .55rem; }
.footer-links a { color: var(--text); text-decoration: none; font-size: .92rem; }
.footer-links a:hover { color: var(--gold-light); }
.footer-legal { border-top: 1px solid var(--line); padding-top: 1.5rem; padding-bottom: 2rem; font-size: .8rem; color: var(--muted); }
.footer-legal p { margin-bottom: .5rem; }
