/* Prime Hall — site styles
   Colors: ink #0A0A0A · panel #131313 · bone #F2EEE6 · muted #A8A39A · gold #E2B33C
   Fonts: Oswald (headings) · Manrope (body)
   Most page layout lives inline in each page; shared pieces live here. */

:root {
  --ink: #0A0A0A;
  --panel: #131313;
  --bone: #F2EEE6;
  --muted: #A8A39A;
  --gold: #E2B33C;
  --gold-hover: #F3CD6A;
  --line: rgba(242, 238, 230, 0.12);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--ink);
  color: var(--bone);
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; }
h1, h2, h3 { overflow-wrap: break-word; hyphens: manual; }
a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-hover); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
input:focus, select:focus, textarea:focus { outline: none; border-bottom-color: var(--gold) !important; }
summary { cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
details[open] summary span[aria-hidden] { transform: rotate(45deg); }
summary span[aria-hidden] { display: inline-block; transition: transform .2s; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute; left: -9999px; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--gold); color: var(--ink); padding: 10px 16px; font-weight: 700; }
.skip:focus { top: 12px; }
.wrap { max-width: 1360px; margin: 0 auto; padding: 0 32px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 46px; padding: 0 22px;
  font: inherit; font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  border: none; cursor: pointer; white-space: nowrap;
}
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-hover); color: var(--ink); }

/* Links waiting on a URL in site-config.js */
[data-link][aria-disabled="true"] { opacity: 0.55; cursor: default; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(10, 10, 10, 0.94); border-bottom: 1px solid var(--line); backdrop-filter: blur(8px); }
.site-nav { max-width: 1360px; margin: 0 auto; padding: 14px 32px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: flex; align-items: center; gap: 14px; color: var(--bone); flex-shrink: 0; }
.brand:hover { color: var(--bone); }
.brand img { height: 54px; width: auto; display: block; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-family: 'Oswald', sans-serif; font-weight: 600; font-size: 26px; letter-spacing: 0.08em; }
.brand-name.lg { font-size: 30px; display: block; }
.brand-tag { white-space: nowrap; font-size: 10px; font-weight: 600; letter-spacing: 0.2em; color: var(--gold); display: block; }
.menu { display: flex; align-items: center; gap: 36px; }
.menu-links { display: flex; gap: 28px; font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; white-space: nowrap; }
.menu-links a, .login { color: var(--bone); }
.menu-links a:hover, .login:hover, .menu-links a[aria-current="page"] { color: var(--gold); }
.menu-actions { display: flex; align-items: center; gap: 22px; }
.login { font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; }
.menu-btn { display: none; background: none; border: 1px solid rgba(242, 238, 230, 0.3); width: 48px; height: 48px; padding: 0; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.menu-btn span { display: block; width: 20px; height: 2px; background: var(--bone); transition: transform .2s, opacity .2s; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1420px) {
  .menu-links { gap: 18px; font-size: 12px; letter-spacing: 0.08em; }
  .menu { gap: 22px; }
  .menu-actions .btn { padding: 0 16px; letter-spacing: 0.1em; }
  .login { display: none; }
}
@media (max-width: 1279px) {
  .site-nav { padding: 12px 20px; }
  .brand img { height: 46px; }
  .brand-name { font-size: 22px; }
  .menu-btn { display: inline-flex; }
  .menu {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ink); border-bottom: 1px solid var(--line); padding: 8px 20px 24px;
    max-height: calc(100vh - 72px); overflow-y: auto;
  }
  .menu.open { display: flex; }
  .menu-links { flex-direction: column; gap: 0; font-size: 15px; }
  .menu-links a { padding: 16px 0; border-bottom: 1px solid var(--line); }
  .menu-actions { flex-direction: column; align-items: stretch; gap: 14px; padding-top: 20px; }
  .login { display: block; padding: 8px 0; }
  .menu-actions .btn { min-height: 52px; }
}

/* ---------- Footer ---------- */
.site-footer { background: #050505; border-top: 1px solid var(--line); }
.footer-inner { padding-top: 72px; padding-bottom: 36px; display: flex; flex-direction: column; gap: 56px; }
.footer-top { display: flex; flex-wrap: wrap; gap: 48px; justify-content: space-between; }
.footer-brand { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.footer-logo > div { min-width: 0; }
.footer-brand p { margin: 0; font-size: 15px; color: var(--muted); max-width: 440px; }
.footer-brand p.fine { font-size: 13px; color: #8E8A82; margin-top: -6px; }
.newsletter { flex-wrap: wrap; }
@media (max-width: 480px) { .newsletter input[type=email] { flex-basis: 100%; border-right: 1px solid rgba(242,238,230,0.35); } .newsletter .btn { flex: 1; margin-top: 8px; } }
.footer-logo { display: flex; align-items: center; gap: 20px; }
.footer-logo img { height: 110px; width: auto; display: block; }
.footer-logo .brand-tag { font-size: 11px; }
.newsletter { display: flex; max-width: 440px; }
.newsletter input[type=email] { flex: 1; min-width: 0; background: transparent; border: 1px solid rgba(242, 238, 230, 0.35); border-right: none; color: var(--bone); font: inherit; font-size: 15px; padding: 0 16px; min-height: 50px; }
.newsletter .btn { min-height: 50px; }
.footer-cols { display: flex; flex-wrap: wrap; gap: 48px 64px; font-size: 15px; }
.footer-cols > div { display: flex; flex-direction: column; gap: 12px; }
.footer-cols a { color: var(--bone); }
.footer-cols a:hover { color: var(--gold); }
.footer-h { font-size: 11px; font-weight: 700; letter-spacing: 0.24em; color: #8E8A82; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; font-size: 13px; color: #8E8A82; border-top: 1px solid rgba(242, 238, 230, 0.08); padding-top: 28px; }
.footer-bottom a { color: #8E8A82; }
.footer-bottom a:hover { color: var(--bone); }
.caps { letter-spacing: 0.24em; text-transform: uppercase; }

/* ---------- Filter / tab buttons (Learning & Tools, Tactical Reset) ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; }
.filter {
  min-height: 46px; padding: 0 22px; font: inherit; font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  cursor: pointer; border: 1px solid rgba(242, 238, 230, 0.25); background: transparent; color: var(--bone);
}
.filter:hover { border-color: var(--gold); }
.filter.on { background: var(--gold); border-color: var(--gold); color: var(--ink); }

/* ---------- Product cards ---------- */
.product { display: flex; flex-direction: column; gap: 16px; border: 1px solid var(--line); padding: 0 0 22px; }
.product[hidden] { display: none; }
.card-media { aspect-ratio: 4 / 3; box-sizing: border-box; }
.card-media.img { background: #0F1620; display: flex; align-items: center; justify-content: center; padding: 18px; }
.card-media.img img { height: 100%; width: auto; display: block; object-fit: contain; }
.card-media.tile { background: var(--panel); display: flex; flex-direction: column; justify-content: flex-end; padding: 22px; gap: 6px; }
.tile-title { font-family: 'Oswald', sans-serif; font-size: 30px; line-height: 1; text-transform: uppercase; color: var(--bone); }
.tile-sub { font-size: 11px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: #8E8A82; }
.product-body { padding: 0 22px; display: flex; flex-direction: column; gap: 8px; flex-grow: 1; }
.product-body h3 { margin: 0; font-family: 'Oswald', sans-serif; font-weight: 500; font-size: 26px; line-height: 1.15; text-transform: uppercase; }
.product-body p { margin: 0; font-size: 15px; color: var(--muted); }
.eyebrow-sm { font-size: 11px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); }
.product-foot { margin: 0 22px; display: flex; justify-content: space-between; align-items: center; gap: 12px; border-top: 1px solid var(--line); padding-top: 14px; }
.product-foot .price { font-family: 'Oswald', sans-serif; font-size: 20px; white-space: nowrap; }
.product-foot a { white-space: nowrap; font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; padding: 12px 0; }

/* ---------- Tactical Reset tool panels ---------- */
.tool-panel { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
.tool-panel[hidden] { display: none; }
.tool-img { flex: 1 1 360px; min-width: 0; display: flex; justify-content: center; }
.tool-img img { width: 100%; max-width: 440px; display: block; border: 1px solid rgba(242, 238, 230, 0.14); box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5); }
.tool-copy { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.tool-copy h3 { margin: 0; font-family: 'Oswald', sans-serif; font-weight: 600; font-size: clamp(40px, 4.4vw, 60px); line-height: 1; text-transform: uppercase; }
.tool-copy .lead { margin: 0; font-size: 19px; color: #D4CFC6; }
.steps { display: flex; flex-direction: column; gap: 1px; background: rgba(242, 238, 230, 0.14); border: 1px solid rgba(242, 238, 230, 0.14); }
.step { background: var(--panel); padding: 18px 22px; display: flex; gap: 20px; align-items: baseline; }
.step span:first-child { font-family: 'Oswald', sans-serif; font-size: 18px; color: var(--gold); min-width: 72px; }
.tool-line { margin: 0; font-family: 'Oswald', sans-serif; font-size: 20px; letter-spacing: 0.06em; text-transform: uppercase; }

/* ---------- Simple text pages (privacy, terms, A/V, thank-you) ---------- */
.doc { max-width: 820px; margin: 0 auto; padding: 96px 32px 120px; }
.doc h1 { font-family: 'Oswald', sans-serif; font-weight: 600; font-size: clamp(44px, 6vw, 72px); line-height: 1; text-transform: uppercase; margin: 0 0 24px; }
.doc h2 { font-family: 'Oswald', sans-serif; font-weight: 500; font-size: 28px; text-transform: uppercase; margin: 48px 0 12px; }
.doc p, .doc li { color: #D4CFC6; }
.doc ul { padding-left: 20px; }
.doc li { margin-bottom: 8px; }

/* ---------- Small screens: tighten the big inline paddings ---------- */
@media (max-width: 640px) {
  body { font-size: 16px; }
  main section[style*="padding: 120px"], main section[style*="padding: 110px"] { padding-top: 72px !important; padding-bottom: 72px !important; }
  main div[style*="padding: 120px 32px"], main div[style*="padding: 110px 32px"], main div[style*="padding: 100px 32px"] { padding-top: 72px !important; padding-bottom: 72px !important; }
  main [style*="margin: 0 auto"][style*="32px"] { padding-left: 20px !important; padding-right: 20px !important; }
  main article[style*="padding: 44px"], main article[style*="padding: 40px"], main div[style*="padding: 40px"] { padding: 28px !important; }
  main div[style*="padding: 48px"], main div[style*="padding: 56px"] { padding: 28px !important; }
  .wrap { padding: 0 20px; }
  .doc { padding: 64px 20px 96px; }
  main h3[style*="font-size: 40px"], main h3[style*="font-size: 44px"] { font-size: 32px !important; }
  main h3[style*="font-size: 38px"], main h3[style*="font-size: 36px"] { font-size: 30px !important; }
  .footer-logo img { height: 84px; }
  .footer-logo { gap: 14px; }
  .footer-logo .brand-name.lg { font-size: 24px; }
  .footer-logo .brand-tag { font-size: 9px; letter-spacing: 0.18em; }
}

/* "Coming soon" badge — hidden automatically once the matching link is set in site-config.js */
.soon { font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: #0A0A0A; background: #A8A39A; padding: 5px 10px; white-space: nowrap; }
