/* ═══════════════════════════════════════════════════════════════
   RolexRadar — shared site stylesheet
   Standard: /rrgi page design patterns
   Single source of truth — per-page drift is prevented here
   ═══════════════════════════════════════════════════════════════ */

/* ── VARIABLES ── */
:root {
  --bg: #f7f4ef;
  --surface: #ffffff;
  --surface2: #f2ede6;
  --border: #e2dbd0;
  --border2: #cec6b8;
  --text: #1a1814;
  --muted: #6b6560;
  --muted2: #9e9890;
  --gold: #a8862a;
  --gold2: #c9a84c;
  --gold-bg: #fdf8ed;
  --green: #1e7a4a;
  --green-bg: #eef7f3;
  --red: #b83228;
  --red-bg: #fdf2f0;
  --neutral: #7a7570;
  --dark: #14120f;
  --dark2: #1e1b16;

  /* ── SHARED SCALE TOKENS ── */
  --pg-eyebrow-size: 10px;
  --pg-eyebrow-weight: 700;
  --pg-eyebrow-spacing: 2px;
  --pg-h1-size: 32px;
  --pg-h1-weight: 700;
  --pg-h1-family: 'Playfair Display', Georgia, serif;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ── BODY ── */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.6;
}

/* ── UTILITIES ── */
.serif { font-family: 'Playfair Display', Georgia, serif; }
.up    { color: var(--green); }
.down  { color: var(--red); }
.flat  { color: var(--neutral); }

/* ── TOP STRIP ── */
.top-strip {
  background: var(--dark);
  color: #b0a898;
  font-size: 11px;
  padding: 7px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  letter-spacing: 0.3px;
}
.top-strip-right { display: flex; gap: 20px; align-items: center; }
.live-dot {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #6dbf8a;
  font-weight: 600;
  letter-spacing: 0.8px;
  font-size: 10px;
}
.live-dot::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #6dbf8a;
  animation: rr-blink 2s ease-in-out infinite;
}
@keyframes rr-blink { 0%,100%{opacity:1} 50%{opacity:0.2} }

/* ── TICKER ── */
.ticker-wrap {
  background: var(--dark2);
  overflow: hidden;
  height: 34px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid #2e2a24;
}
.ticker-label {
  background: var(--gold2);
  color: #000;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 0 14px;
  height: 100%;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  white-space: nowrap;
}
.ticker-scroll { overflow: hidden; flex: 1; }
.ticker-track {
  display: flex;
  animation: rr-scroll-left 40s linear infinite;
  white-space: nowrap;
  flex-shrink: 0;
}
.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 22px;
  border-right: 1px solid #2e2a24;
  height: 34px;
  font-size: 11.5px;
}
.t-name  { color: #c8c0b4; font-size: 10.5px; }
.t-price { color: #e8e0d4; font-weight: 600; }
.t-chg   { font-size: 10.5px; font-weight: 600; }
.t-up    { color: #6dbf8a; }
.t-dn    { color: #e07070; }
.t-fl    { color: #7a7268; }
@keyframes rr-scroll-left {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── HEADER ── */
header {
  background: var(--surface);
  border-bottom: 2px solid var(--text);
}
.header-main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 20px 32px 16px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.logo {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--text);
  line-height: 1;
  text-decoration: none;
}
.logo em { font-style: normal; color: var(--gold); }
.logo-sub {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--muted2);
  margin-top: 5px;
}
.header-right { text-align: right; }
.header-date    { font-size: 12px; color: var(--muted); margin-bottom: 4px; }
.header-edition {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 13px;
  color: var(--gold);
}

/* ── NAV ── */
nav {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  gap: 0;
  align-items: center;
}
nav a {
  display: block;
  padding: 11px 18px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-decoration: none;
  color: var(--muted);
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
}
nav a:hover       { color: var(--text); }
nav a.active      { color: var(--text); border-bottom-color: var(--gold); }

/* ── PAGE LAYOUT ── */
.page { max-width: 1280px; margin: 0 auto; padding: 40px 32px; }

/* ── STANDARD PAGE HEADER ── */
.pg-hd { margin-bottom: 40px; }
.pg-eyebrow {
  font-size: var(--pg-eyebrow-size);
  font-weight: var(--pg-eyebrow-weight);
  letter-spacing: var(--pg-eyebrow-spacing);
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.pg-h1 {
  font-family: var(--pg-h1-family);
  font-size: var(--pg-h1-size);
  font-weight: var(--pg-h1-weight);
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 8px;
  letter-spacing: -0.3px;
}
.pg-sub {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
  margin-top: 6px;
}
.pg-rule {
  width: 40px;
  height: 2px;
  background: var(--gold);
  margin: 10px 0 14px;
}

/* ── SECTION LABELS ── */
.sec-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--muted2);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.sec-label span { white-space: nowrap; flex-shrink: 0; }
.sec-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}
.sec-label.gold-label { color: var(--gold); }

/* ── NEWSLETTER BAR ── */
.nl-bar {
  background: var(--dark);
  border-radius: 4px;
  padding: 32px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}
.nl-eyebrow { font-size: 10px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--gold2); margin-bottom: 6px; }
.nl-title   { font-family: 'Playfair Display', serif; font-size: 20px; color: #f0e8da; margin-bottom: 4px; }
.nl-desc    { font-size: 13px; color: #7a7268; }
.nl-form    { display: flex; gap: 8px; flex-wrap: wrap; }
.nl-input {
  background: #1e1b16;
  border: 1px solid #3a3630;
  color: #e8e0d4;
  font-size: 13px;
  padding: 10px 16px;
  border-radius: 2px;
  width: 240px;
  outline: none;
  font-family: 'Inter', sans-serif;
}
.nl-input::placeholder { color: #5a5550; }
.nl-input:focus { border-color: var(--gold2); }
.nl-btn {
  background: var(--gold2);
  color: #000;
  border: none;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 10px 20px;
  border-radius: 2px;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.2s;
}
.nl-btn:hover { background: #e8c96a; }
.nl-wa-btn {
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  border: 1px solid #3a3530;
  color: #b0a898;
  background: transparent;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.3px;
  text-decoration: none;
  border-radius: 2px;
  white-space: nowrap;
  flex-basis: 100%;
  margin-top: 4px;
}
.nl-wa-btn:hover { border-color: #6dbf8a; color: #6dbf8a; }

/* ── FOOTER ── */
footer {
  background: var(--surface);
  border-top: 2px solid var(--text);
  padding: 32px;
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 800;
  color: var(--muted2);
  margin-bottom: 8px;
}
.footer-logo em  { font-style: normal; color: var(--gold); }
.footer-disc     { font-size: 11px; color: var(--muted2); max-width: 580px; line-height: 1.7; }
.footer-links    { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 8px; }
.footer-links a  { font-size: 12px; color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--gold); }
.footer-cr       { font-size: 11px; color: var(--muted2); text-align: right; }

/* ── RESPONSIVE ── */
@media (max-width: 640px) {
  .top-strip-right { display: none; }
  .header-main { padding: 16px 16px 12px; }
  .logo { font-size: 26px; }
  .logo-sub { font-size: 9px; letter-spacing: 2px; }
  .nav-inner { padding: 0 16px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  nav a { padding: 10px 12px; font-size: 11px; }
  .page { padding: 24px 16px; }
  .nl-bar { padding: 24px 20px; }
  .nl-input { width: 100%; }
  .nl-form { flex-direction: column; }
}
