/* ============================================================
   OreQuant — Public Pages
   Depends on tokens.css + deco.css
   ============================================================ */

.public-body {
  background: var(--oq-bg);
  color: var(--oq-text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ---------- Public Nav ---------- */
.oq-public-nav {
  background: rgba(13, 21, 18, 0.92);
  border-bottom: 1px solid var(--oq-border);
  position: sticky; top: 0; z-index: 1100;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.oq-public-nav::after {
  content: "";
  display: block;
  height: 1px;
  background: var(--oq-hairline);
  opacity: 0.3;
}
.oq-nav-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 72px; padding: 0 24px;
}
.oq-nav-brand {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none; color: var(--oq-ivory);
  font-family: var(--oq-font-display);
  font-weight: 700; font-size: 18px; letter-spacing: 0.18em;
  text-transform: uppercase;
}
.oq-nav-brand img { width: 36px; height: 36px; }
.oq-nav-brand:hover { color: var(--oq-brass-light); }

.oq-nav-menu { display: flex; align-items: center; gap: 4px; }
.oq-nav-link {
  color: var(--oq-text-muted);
  font-family: var(--oq-font-serif);
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  padding: 10px 14px; border-radius: var(--oq-radius-sm);
  text-decoration: none; transition: color var(--oq-dur) var(--oq-ease);
  position: relative;
}
.oq-nav-link:hover { color: var(--oq-ivory); }
.oq-nav-link.active { color: var(--oq-brass-light); }
.oq-nav-link.active::after {
  content: "";
  position: absolute; left: 14px; right: 14px; bottom: 4px;
  height: 1px; background: var(--oq-brass);
}
.oq-nav-btn { margin-left: 8px; }

/* ---------- Hero ---------- */
.oq-hero {
  position: relative;
  background: var(--oq-surface-accent);
  padding: 120px 24px 96px;
  overflow: hidden;
  border-bottom: 1px solid var(--oq-border);
}
.oq-hero::before {
  content: "";
  position: absolute; inset: 0;
  background: url('../img/oq-monogram.svg') center/600px no-repeat;
  opacity: 0.04; pointer-events: none;
}
.oq-hero-inner { max-width: 900px; margin: 0 auto; position: relative; text-align: center; }
.oq-hero h1 {
  font-family: var(--oq-font-display);
  font-size: clamp(40px, 6vw, 72px);
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--oq-ivory); margin: 0 0 24px;
  line-height: 1.1;
}
.oq-hero p {
  font-family: var(--oq-font-serif);
  font-style: italic; font-size: 20px;
  color: var(--oq-text-muted);
  max-width: 640px; margin: 0 auto 40px;
}
.oq-hero-actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* ---------- Feature grid ---------- */
.oq-feature-grid {
  max-width: 1200px; margin: 0 auto;
  padding: 96px 24px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
@media (max-width: 900px) { .oq-feature-grid { grid-template-columns: 1fr; } }
.oq-feature {
  background: var(--oq-surface);
  border: 1px solid var(--oq-border);
  padding: 32px;
  position: relative;
}
.oq-feature::before,
.oq-feature::after {
  content: ""; position: absolute;
  width: 14px; height: 14px;
  border: 1px solid var(--oq-brass);
  opacity: 0.7;
}
.oq-feature::before { top: 8px; left: 8px; border-right: 0; border-bottom: 0; }
.oq-feature::after { bottom: 8px; right: 8px; border-left: 0; border-top: 0; }
.oq-feature h3 {
  font-family: var(--oq-font-serif);
  font-size: 22px; margin: 8px 0 12px;
  color: var(--oq-ivory);
}
.oq-feature p { color: var(--oq-text-muted); line-height: 1.6; margin: 0; }

/* ---------- Pricing tiers ---------- */
.oq-pricing-grid {
  max-width: 1100px; margin: 0 auto;
  padding: 64px 24px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
@media (max-width: 900px) { .oq-pricing-grid { grid-template-columns: 1fr; } }
.oq-pricing-tier {
  background: var(--oq-surface);
  border: 1px solid var(--oq-border);
  padding: 40px 32px;
  position: relative; text-align: center;
}
.oq-pricing-tier--featured {
  border-color: var(--oq-brass);
  background: var(--oq-surface-accent);
}
.oq-pricing-tier--featured::before {
  content: "";
  position: absolute; left: 20%; right: 20%; top: -2px;
  height: 4px;
  background:
    linear-gradient(to right,
      transparent 0, transparent 10%,
      var(--oq-brass) 10%, var(--oq-brass) 30%,
      transparent 30%, transparent 40%,
      var(--oq-brass) 40%, var(--oq-brass) 60%,
      transparent 60%, transparent 70%,
      var(--oq-brass) 70%, var(--oq-brass) 90%,
      transparent 90%);
}
.oq-pricing-tier h3 {
  font-family: var(--oq-font-display);
  letter-spacing: 0.18em; text-transform: uppercase;
  font-size: 16px; color: var(--oq-brass-light);
  margin: 0 0 24px;
}
.oq-pricing-tier .price {
  font-family: var(--oq-font-serif);
  font-size: 56px; color: var(--oq-ivory);
  margin: 0 0 8px;
}
.oq-pricing-tier .period { color: var(--oq-text-muted); margin-bottom: 32px; }
.oq-pricing-tier ul {
  list-style: none; padding: 0; margin: 0 0 32px; text-align: left;
}
.oq-pricing-tier ul li {
  padding: 8px 0 8px 24px;
  border-bottom: 1px solid var(--oq-border);
  position: relative;
  color: var(--oq-text);
}
.oq-pricing-tier ul li::before {
  content: "›";
  position: absolute; left: 0; top: 7px;
  color: var(--oq-brass);
}

/* ---------- Public footer ---------- */
.oq-public-footer {
  margin-top: auto;
  padding: 64px 24px 40px;
  border-top: 1px solid var(--oq-border);
  background: var(--oq-surface-deep);
  text-align: center;
}
.oq-public-footer img { width: 48px; height: 48px; opacity: 0.7; }
.oq-public-footer p {
  font-family: var(--oq-font-serif);
  color: var(--oq-text-muted);
  margin-top: 16px; font-size: 13px;
  letter-spacing: 0.1em;
}

/* ---------- Legacy section/stat classes (kept for backward compat) ---------- */
.oq-stats-bar {
  padding: 48px 0;
  border-top: 1px solid var(--oq-border);
  border-bottom: 1px solid var(--oq-border);
  background: var(--oq-surface);
}
.oq-stat { padding: 16px 0; }
.oq-stat-number {
  font-size: 32px; font-weight: 700; color: var(--oq-brass);
  font-family: var(--oq-font-serif);
}
.oq-stat-label { font-size: 13px; color: var(--oq-text-muted); margin-top: 4px; }

.oq-section { padding: 80px 0; }
.oq-section-alt { background: var(--oq-surface); }
.oq-section-title {
  font-family: var(--oq-font-serif);
  font-size: 32px; font-weight: 700; color: var(--oq-ivory); margin-bottom: 12px;
}
.oq-section-subtitle {
  font-size: 16px; color: var(--oq-text-muted);
  max-width: 560px; margin: 0 auto; line-height: 1.7;
}

/* Legacy feature card — kept so old markup still renders */
.oq-feature-card {
  background: var(--oq-surface);
  border: 1px solid var(--oq-border);
  border-radius: var(--oq-radius-md);
  padding: 28px; height: 100%;
  transition: border-color var(--oq-dur) var(--oq-ease), transform var(--oq-dur) var(--oq-ease);
  position: relative;
}
.oq-feature-card:hover { border-color: var(--oq-brass-dark); transform: translateY(-2px); }
.oq-section-alt .oq-feature-card { background: var(--oq-bg); }
.oq-feature-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--oq-brass-faint);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.oq-feature-icon i { font-size: 22px; color: var(--oq-brass); }
.oq-feature-card h3 { font-size: 16px; font-weight: 600; color: var(--oq-ivory); margin-bottom: 8px; }
.oq-feature-card p { font-size: 13px; color: var(--oq-text-muted); line-height: 1.7; margin: 0; }

/* Legacy step styles */
.oq-step-number {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--oq-brass); color: #000;
  font-size: 20px; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.oq-step h3 { font-size: 18px; font-weight: 600; color: var(--oq-ivory); margin-bottom: 8px; }
.oq-step p { font-size: 14px; color: var(--oq-text-muted); line-height: 1.7; }

/* Legacy about block */
.oq-about-block { margin-bottom: 40px; }
.oq-about-block h2 { font-size: 22px; font-weight: 600; color: var(--oq-ivory); margin-bottom: 12px; }
.oq-about-block p { font-size: 15px; color: var(--oq-text); line-height: 1.8; }

/* Legacy exchange tags */
.oq-exchange-tag {
  background: var(--oq-surface);
  border: 1px solid var(--oq-border);
  border-radius: var(--oq-radius-md);
  padding: 12px 14px; font-size: 13px; color: var(--oq-text);
}
.oq-exchange-tag strong { color: var(--oq-brass); }
.oq-exchange-count { display: block; font-size: 11px; color: var(--oq-text-muted); margin-top: 2px; }

/* Legacy pricing accordion */
.oq-accordion-item {
  background: var(--oq-surface) !important;
  border: 1px solid var(--oq-border) !important;
  border-radius: var(--oq-radius-md) !important;
  margin-bottom: 12px; overflow: hidden;
}
.oq-accordion-btn {
  background: var(--oq-surface) !important;
  color: var(--oq-ivory) !important;
  font-size: 15px; font-weight: 500;
  box-shadow: none !important; padding: 18px 20px;
}
.oq-accordion-btn::after { filter: invert(0.7); }
.oq-accordion-btn:not(.collapsed)::after {
  filter: invert(0.7) sepia(1) hue-rotate(10deg) saturate(3);
}
.oq-accordion-body {
  font-size: 14px; color: var(--oq-text-muted);
  line-height: 1.7; padding: 0 20px 18px;
}

/* Legacy footer brand/links */
.oq-footer-brand {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 12px; font-size: 16px; font-weight: 600; color: var(--oq-ivory);
}
.oq-footer-brand img { border-radius: 6px; }
.oq-footer-desc { font-size: 13px; color: var(--oq-text-muted); line-height: 1.6; }
.oq-footer-heading {
  font-size: 13px; font-weight: 600; color: var(--oq-text);
  text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 16px;
}
.oq-footer-links { list-style: none; padding: 0; margin: 0; }
.oq-footer-links li { margin-bottom: 10px; }
.oq-footer-links a { color: var(--oq-text-muted); font-size: 14px; text-decoration: none; transition: color 0.2s; }
.oq-footer-links a:hover { color: var(--oq-brass); }
.oq-footer-bottom {
  border-top: 1px solid var(--oq-border); margin-top: 32px; padding-top: 20px;
  text-align: center; font-size: 12px; color: var(--oq-text-muted);
}

/* ---------- Legacy text-gold ---------- */
.text-gold { color: var(--oq-brass); }

/* ---------- Nav toggle (mobile) ---------- */
.oq-nav-toggle {
  display: none; background: none;
  border: 1px solid var(--oq-border); color: var(--oq-text);
  font-size: 22px; padding: 4px 10px;
  border-radius: var(--oq-radius-md); cursor: pointer;
}

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
  .oq-hero h1 { font-size: 36px; }
  .oq-hero p { font-size: 16px; }
  .oq-section-title { font-size: 26px; }
}

@media (max-width: 767px) {
  .oq-nav-toggle { display: block; }
  .oq-nav-menu {
    display: none; flex-direction: column;
    position: absolute; top: 72px; left: 0; right: 0;
    background: var(--oq-surface);
    border-bottom: 1px solid var(--oq-border);
    padding: 16px; gap: 4px;
  }
  .oq-nav-menu.oq-nav-menu-open { display: flex; }
  .oq-nav-link { padding: 12px 14px; width: 100%; }
  .oq-nav-btn { margin-left: 0; margin-top: 8px; text-align: center; width: 100%; }
  .oq-hero { padding: 60px 24px 40px; }
  .oq-hero p { font-size: 15px; }
  .oq-hero-actions { flex-direction: column; align-items: center; }
  .oq-section { padding: 48px 0; }
  .oq-stat-number { font-size: 24px; }
  .oq-feature-grid { padding: 48px 24px; }
  .oq-pricing-grid { padding: 32px 24px; }
}


/* ========================================================
   PIZZAZZ PASS — 2026-04-15
   All rules below are scoped to .public-body or
   .oq-home-body/.oq-hero so they never leak to dashboard,
   auth, or admin pages.
   ======================================================== */

/* ---------- Item 2: Hero cartouche + parallax monogram ---------- */

/* Neutralise the old ::before pseudo (now replaced by .oq-hero-monogram div) */
.public-body .oq-hero::before {
  content: none;
}

/* The real monogram div — same visual as before but JS-animatable */
.public-body .oq-hero-monogram {
  position: absolute; inset: 0;
  background: url('../img/oq-monogram.svg') center/600px no-repeat;
  opacity: 0.04;
  pointer-events: none;
  z-index: 0;
  will-change: transform, opacity;
}

/* Hero: improved duotone assay-office backdrop base (item 7) */
.public-body .oq-home-hero {
  background:
    radial-gradient(ellipse 60% 70% at 20% 30%, rgba(176,141,87,0.07) 0%, transparent 65%),
    var(--oq-surface-accent);
  position: relative;
  overflow: hidden;
}

/* Ghost scale silhouette (item 7) */
.public-body .oq-hero-scale-ghost {
  position: absolute;
  right: -4%;
  top: 50%;
  transform: translateY(-50%);
  width: min(340px, 45vw);
  opacity: 0.04;
  pointer-events: none;
  z-index: 0;
  color: var(--oq-brass);
}
.public-body .oq-hero-scale-ghost svg {
  width: 100%; height: auto;
}

/* Photo slot — receives real duotone image later */
/* .oq-hero-photo { position: absolute; inset: 0; width: 100%; height: 100%;
   object-fit: cover; opacity: 0.12; mix-blend-mode: luminosity; z-index: 0; } */

/* Cartouche wrapper */
.public-body .oq-hero-cartouche {
  position: relative;
  display: inline-block;
  max-width: 760px;
  width: 100%;
  padding: 40px 48px 36px;
  /* Stepped-pyramid brass border: outer + inner hairlines */
  border: 1px solid var(--oq-border-strong);
  box-shadow:
    inset 0 0 0 4px var(--oq-bg),
    inset 0 0 0 6px var(--oq-border);
}

/* Sunburst corner ornaments */
.public-body .oq-cartouche-ornament {
  position: absolute;
  width: 48px; height: 48px;
  pointer-events: none;
}
.public-body .oq-cartouche-ornament--tl { top: -24px; left: -24px; }
.public-body .oq-cartouche-ornament--tr { top: -24px; right: -24px; }

/* Override hero-inner to centre the cartouche */
.public-body .oq-hero-inner {
  display: flex;
  justify-content: center;
}

/* ---------- Item 1: Deco stats ribbon ---------- */
.public-body .oq-stats-ribbon {
  width: 100%;
  background: var(--oq-surface-accent);
  border-top: 1px solid var(--oq-border-strong);
  border-bottom: 1px solid var(--oq-border-strong);
  position: relative;
  overflow: hidden;
}
/* Double-rule notched effect via pseudo */
.public-body .oq-stats-ribbon::before,
.public-body .oq-stats-ribbon::after {
  content: "";
  position: absolute;
  left: 16px; right: 16px;
  height: 1px;
  background: var(--oq-hairline);
  opacity: 0.3;
}
.public-body .oq-stats-ribbon::before { top: 3px; }
.public-body .oq-stats-ribbon::after  { bottom: 3px; }

.public-body .oq-stats-ribbon-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0;
}
.public-body .oq-ribbon-phrase {
  font-family: var(--oq-font-display);
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--oq-text-muted);
  padding: 2px 12px;
  white-space: nowrap;
}
.public-body .oq-ribbon-roman {
  color: var(--oq-brass);
}
/* Dot-in-circle separator */
.public-body .oq-ribbon-sep {
  display: inline-block;
  width: 10px; height: 10px;
  border-radius: 50%;
  border: 1px solid var(--oq-brass-dark);
  position: relative;
  flex-shrink: 0;
}
.public-body .oq-ribbon-sep::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 3px; height: 3px;
  background: var(--oq-brass-dark);
  border-radius: 50%;
}

/* ---------- Item 3: Feature card numerals + SVG icons ---------- */
.public-body .oq-feature-section {
  background: var(--oq-bg);
}
.public-body .oq-feature-numeral {
  font-family: var(--oq-font-display);
  font-size: 48px;
  font-weight: 700;
  color: var(--oq-brass);
  line-height: 1;
  margin-bottom: 12px;
  letter-spacing: 0.04em;
}
.public-body .oq-feature-sub {
  margin-bottom: 6px;
}
.public-body .oq-feature-icon-wrap {
  margin-bottom: 16px;
  color: var(--oq-brass);
}
.public-body .oq-feature-svg-icon {
  width: 64px; height: 64px;
  display: block;
}
.public-body .oq-feature h3 {
  font-size: 22px;
  margin: 8px 0 10px;
}

/* ---------- Item 5: Pull quote section ---------- */
.public-body .oq-pull-quote-section {
  background: var(--oq-surface-accent);
  border-top: 1px solid var(--oq-border);
  border-bottom: 1px solid var(--oq-border);
}
.public-body .oq-pull-quote-inner {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
  padding: 96px 64px;
  text-align: center;
}
.public-body .oq-pq-ornament {
  position: absolute;
  width: 60px; height: 60px;
  pointer-events: none;
}
.public-body .oq-pq-ornament--tl { top: 32px; left: 32px; }
.public-body .oq-pq-ornament--br { bottom: 32px; right: 32px; }

.public-body .oq-pull-quote {
  margin: 0; border: none; padding: 0;
}
.public-body .oq-pull-quote-text {
  font-family: var(--oq-font-serif);
  font-style: italic;
  font-size: clamp(26px, 4vw, 42px);
  color: var(--oq-ivory);
  line-height: 1.3;
  margin: 0 0 24px;
}
.public-body .oq-pull-quote-cite {
  font-family: var(--oq-font-serif);
  font-style: normal;
  font-size: 14px;
  letter-spacing: 0.14em;
  color: var(--oq-text-muted);
  text-transform: uppercase;
  display: block;
}

/* ---------- Item 4: Live ticker marquee (layout + nav attachment) ---------- */
.public-body .oq-ticker-bar {
  height: 40px;
  background: var(--oq-surface-deep);
  border-top: 1px solid var(--oq-brass-dark);
  border-bottom: 1px solid var(--oq-brass-dark);
  overflow: hidden;
  position: relative;
  z-index: 1090;
  /* Slightly below nav (z-index 1100) */
}
.public-body .oq-ticker-track {
  display: flex;
  align-items: center;
  height: 100%;
  width: max-content;
  animation: oq-ticker-scroll 60s linear infinite;
}
.public-body .oq-ticker-bar:hover .oq-ticker-track {
  animation-play-state: paused;
}
@keyframes oq-ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.public-body .oq-ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 20px;
  font-family: var(--oq-font-mono);
  font-size: 12px;
  text-transform: uppercase;
  white-space: nowrap;
  border-right: 1px solid var(--oq-border);
  height: 100%;
  color: var(--oq-ivory);
}
.public-body .oq-ticker-ticker { color: var(--oq-brass-light); font-weight: 500; }
.public-body .oq-ticker-price { color: var(--oq-ivory); }
.public-body .oq-ticker-change.up   { color: var(--oq-gain); }
.public-body .oq-ticker-change.down { color: var(--oq-loss); }
.public-body .oq-ticker-sep {
  display: inline-block;
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--oq-brass-dark);
  margin: 0 8px;
}

/* ---------- Item 6: Masthead footer (public-body only) ---------- */
.public-body .oq-masthead-footer {
  margin-top: auto;
  padding: 64px 24px 40px;
  border-top: 1px solid var(--oq-border);
  background: var(--oq-surface-deep);
  text-align: center;
  position: relative;
}
.public-body .oq-masthead-footer::before {
  /* Outer double-rule hairline inside top border */
  content: "";
  position: absolute;
  top: 4px; left: 24px; right: 24px;
  height: 1px;
  background: var(--oq-hairline);
  opacity: 0.25;
}
.public-body .oq-mf-monogram {
  width: 64px; height: 64px;
  opacity: 0.7;
  display: block;
  margin: 0 auto 20px;
}
.public-body .oq-mf-divider {
  width: 240px;
  height: 24px;
  background: url('../img/deco-divider.svg') center/contain no-repeat;
  margin: 0 auto 20px;
  opacity: 0.7;
}
.public-body .oq-mf-wordmark {
  font-family: var(--oq-font-display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--oq-ivory);
  margin-bottom: 24px;
}
.public-body .oq-mf-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0;
  margin-bottom: 24px;
  list-style: none;
  padding: 0;
}
.public-body .oq-mf-links li { display: flex; align-items: center; }
.public-body .oq-mf-links a {
  font-family: var(--oq-font-serif);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--oq-text-muted);
  text-decoration: none;
  padding: 4px 12px;
  transition: color var(--oq-dur) var(--oq-ease);
}
.public-body .oq-mf-links a:hover { color: var(--oq-brass-light); }
.public-body .oq-mf-sep {
  color: var(--oq-brass-dark);
  font-size: 14px;
  padding: 0 2px;
  user-select: none;
}
.public-body .oq-mf-motto {
  font-family: var(--oq-font-serif);
  font-style: italic;
  font-size: 14px;
  letter-spacing: 0.14em;
  color: var(--oq-text-muted);
  margin-bottom: 20px;
}
.public-body .oq-mf-copy {
  font-size: 11px;
  color: var(--oq-text-dim);
  letter-spacing: 0.08em;
}

/* ---------- Pizzazz responsive overrides ---------- */
@media (max-width: 767px) {
  /* Cartouche: simplify to hairline rule on mobile */
  .public-body .oq-hero-cartouche {
    padding: 28px 20px 24px;
    box-shadow: inset 0 0 0 2px var(--oq-bg), inset 0 0 0 3px var(--oq-border);
  }
  .public-body .oq-cartouche-ornament { width: 32px; height: 32px; }
  .public-body .oq-cartouche-ornament--tl { top: -16px; left: -16px; }
  .public-body .oq-cartouche-ornament--tr { top: -16px; right: -16px; }

  /* Stats ribbon: wraps to two lines */
  .public-body .oq-stats-ribbon-inner { gap: 4px 0; }
  .public-body .oq-ribbon-phrase { font-size: 11px; padding: 2px 8px; }

  /* Pull quote */
  .public-body .oq-pull-quote-inner { padding: 60px 32px; }
  .public-body .oq-pq-ornament { width: 40px; height: 40px; }
  .public-body .oq-pq-ornament--tl { top: 16px; left: 16px; }
  .public-body .oq-pq-ornament--br { bottom: 16px; right: 16px; }

  /* Scale ghost: hide on very small screens */
  .public-body .oq-hero-scale-ghost { display: none; }

  /* Masthead footer links stack */
  .public-body .oq-mf-links { flex-direction: column; gap: 4px; }
  .public-body .oq-mf-sep { display: none; }
}

@media (max-width: 639px) {
  /* Ghost ornaments hidden <640px */
  .public-body .oq-hero-scale-ghost { display: none; }
}


/* ---------- HERO PHOTO DUOTONE ----------
   Drop DEPLOY_FRONTEND/img/hero/hero-truck.jpg (2400×1350, any format).
   The <picture> onerror hook hides the wrapper silently if file is absent.
   Stacking order inside .oq-hero (bottom → top):
     0  .oq-hero-monogram         (monogram watermark, z-index:0)
     0  .oq-hero-scale-ghost      (scale SVG, z-index:0)
     0  .oq-hero-photo            (photo + duotone wash, z-index:0)
     1  .oq-hero-inner            (cartouche + text, z-index:1)
   VHS overlay (.oq-vhs) is fixed at z-index:9, above all of these
   but below Bootstrap/nav (z-index:1090+).
   ---------------------------------------- */
.oq-hero { position: relative; }

.oq-hero-photo {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.oq-hero-photo img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  /* Duotone step 1: desaturate + subtle warm tone */
  filter: grayscale(0.85) contrast(1.08) brightness(0.85) sepia(0.18);
  opacity: 0.72;
  /* Fade edges to the page bg so the photo bleeds into the surrounding green */
  -webkit-mask-image:
    radial-gradient(ellipse 85% 95% at 50% 50%, #000 45%, rgba(0,0,0,0.6) 72%, transparent 100%);
          mask-image:
    radial-gradient(ellipse 85% 95% at 50% 50%, #000 45%, rgba(0,0,0,0.6) 72%, transparent 100%);
}

/* Duotone step 2: heavier green-brass wash for darker overall mood */
.oq-hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 520px at 22% 28%, rgba(176,141,87,0.22) 0%, transparent 55%),
    linear-gradient(180deg, rgba(13,21,18,0.38) 0%, rgba(13,21,18,0.78) 100%),
    linear-gradient(135deg, rgba(26,51,41,0.55) 0%, rgba(13,21,18,0.45) 100%);
  mix-blend-mode: multiply;
}

/* Text scrim: stronger radial darkening behind the cartouche */
.oq-hero-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(700px 420px at 50% 55%, rgba(13,21,18,0.82) 0%, rgba(13,21,18,0.45) 52%, transparent 82%);
  pointer-events: none;
  z-index: 1;
}

/* Hero-scoped static overlay — retains the previous fuzz level only over the
   hero image area. Global .oq-vhs static is dialed down site-wide; this pseudo
   layers an extra ~0.10 of the same fractal-noise on top of the hero. Animation
   inherits oq-static keyframes from deco.css. */
.public-body .oq-hero {
  overflow: hidden;  /* keep the extra noise clipped to the hero rectangle */
}
/* Hero-scoped static overlay. Implemented as a real <div class="oq-hero-noise">
   inside .oq-hero (see home.php) — Chrome fails to rasterize feTurbulence SVG
   filters when used as the background of a ::before/::after pseudo, but the
   same data URI renders correctly on a real DOM element. URL-encoded for
   cross-browser safety. */
.public-body .oq-hero-noise {
  position: absolute;
  /* Negative inset so the ±6px jitter translation never exposes the hero
     edges — overflow:hidden on .oq-hero clips the moving perimeter. */
  inset: -14px;
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20width%3D%27240%27%20height%3D%27240%27%3E%3Cfilter%20id%3D%27n%27%3E%3CfeTurbulence%20type%3D%27fractalNoise%27%20baseFrequency%3D%270.92%27%20numOctaves%3D%272%27%20stitchTiles%3D%27stitch%27%2F%3E%3CfeColorMatrix%20values%3D%270%200%200%200%201%20%200%200%200%200%201%20%200%200%200%200%201%20%200%200%200%200.55%200%27%2F%3E%3C%2Ffilter%3E%3Crect%20width%3D%27100%25%27%20height%3D%27100%25%27%20filter%3D%27url%28%23n%29%27%20opacity%3D%270.9%27%2F%3E%3C%2Fsvg%3E");
  background-size: 240px 240px;
  opacity: 0.30;
  mix-blend-mode: screen;
  animation: oq-static 0.18s steps(4) infinite;
  pointer-events: none;
  z-index: 10;
  will-change: transform;
}
@media (prefers-reduced-motion: reduce) {
  .public-body .oq-hero-noise { animation: none; opacity: 0.10; }
}

/* Frosted-glass cartouche background so the headline pops against the photo */
.public-body .oq-hero-cartouche {
  background: rgba(239, 230, 210, 0.06);
  backdrop-filter: blur(6px) saturate(1.1);
  -webkit-backdrop-filter: blur(6px) saturate(1.1);
}

/* Collapse the reserved feature-animation slot when it's empty — no content,
   no 360px gap. Re-expands automatically once the animation is added. */
#oq-feature-animation-slot:empty { min-height: 0 !important; height: 0 !important; margin: 0 !important; padding: 0 !important; }

/* Tighten hero bottom padding so the ribbon sits closer to the hero */
.public-body .oq-hero { padding-bottom: 48px; }

/* Ensure hero text layers sit above the photo */
.oq-hero .oq-hero-inner,
.oq-hero .oq-hero-cartouche,
.oq-hero .oq-hero-monogram { position: relative; z-index: 1; }

/* ---------- LEGAL PAGES (privacy, terms) ---------- */
.public-body .oq-legal-article {
  max-width: 820px;
  margin: 0 auto;
  padding: 56px 24px 96px;
  color: var(--oq-text);
  font-size: 15px;
  line-height: 1.75;
}
.public-body .oq-legal-article .oq-page-header { margin-bottom: 32px; padding-top: 0; }
.public-body .oq-legal-article .oq-page-header h1 {
  font-family: var(--oq-font-display);
  font-size: clamp(26px, 3.2vw, 36px);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--oq-ivory);
}
.public-body .oq-legal-article .oq-legal-meta {
  font-family: var(--oq-font-serif);
  font-style: italic;
  font-size: 13px;
  color: var(--oq-text-muted);
  letter-spacing: 0.08em;
  text-align: center;
  margin-top: 10px;
}
.public-body .oq-legal-article p { color: var(--oq-text-muted); margin: 0 0 16px; }
.public-body .oq-legal-article strong { color: var(--oq-ivory); font-weight: 600; }
.public-body .oq-legal-article a { color: var(--oq-brass-light); }
.public-body .oq-legal-article a:hover { color: var(--oq-brass); }
.public-body .oq-legal-article h2,
.public-body .oq-legal-article h3,
.public-body .oq-legal-article h4,
.public-body .oq-legal-article h5 {
  font-family: var(--oq-font-serif);
  color: var(--oq-ivory);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin: 36px 0 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--oq-border);
}
.public-body .oq-legal-article ul,
.public-body .oq-legal-article ol { margin: 0 0 18px 22px; color: var(--oq-text-muted); }
.public-body .oq-legal-article li { margin-bottom: 6px; }
.public-body .oq-legal-article .oq-legal-footer-links {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--oq-border);
  text-align: center;
  font-family: var(--oq-font-serif);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--oq-text-muted);
}
.public-body .oq-legal-article .oq-legal-footer-links a { margin: 0 6px; }
