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

:root {
  --navy:    #1a2640;
  --slate:   #2e3f5c;
  --gold:    #b89a4e;
  --gold-lt: #d4b96e;
  --gold-dk: #8a6f22;
  --paper:   #f7f5f0;
  --ink:     #1c1c1c;
  --muted:   #5a6377;
  --rule:    #d6d0c4;
  --white:   #ffffff;

  /* Grade semantics — shared by .gg-report-table / .gg-stock-card
     (report-table.css) on index.html and report.html. WATCH reuses
     --gold/--gold-dk rather than a third token. */
  --grade-pass: #2a5c3f;
  --grade-fail: #8c2f2f;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Georgia', 'Times New Roman', serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.7;
}

/* ── Header ── */
header {
  background: var(--navy);
  color: var(--white);
  padding: 1.25rem 2rem;
  display: flex;
  align-items: center;
  position: relative;
}

header nav { margin-left: auto; }

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: #c8d0de;
  margin-left: auto;
  padding: 0.25rem;
  line-height: 0;
}

.hamburger:hover { color: var(--gold-lt); }

.mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: var(--navy);
  border-top: 1px solid #2a3a52;
  flex-direction: column;
  z-index: 100;
}

.mobile-menu.open { display: flex; }

.mobile-menu a {
  color: #c8d0de;
  text-decoration: none;
  font-family: 'Arial', sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  padding: 0.85rem 1.5rem;
  border-bottom: 1px solid #2a3a52;
}

.mobile-menu a:hover { color: var(--gold-lt); }

.mobile-menu-label {
  font-family: 'Arial', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8a97ad;
  padding: 0.85rem 1.5rem 0.4rem;
  border-top: 1px solid #2e3f5c;
  margin-top: 0.25rem;
}

.logo {
  font-size: 1.35rem;
  font-weight: bold;
  letter-spacing: 0.04em;
  color: var(--gold);
  text-decoration: none;
}

.logo span { color: var(--white); }

nav a {
  color: #c8d0de;
  text-decoration: none;
  font-size: 0.9rem;
  margin-left: 2rem;
  font-family: 'Arial', sans-serif;
  letter-spacing: 0.03em;
}

nav a:hover { color: var(--gold-lt); }

.profile-wrap {
  position: relative;
  margin-left: 1.5rem;
  flex-shrink: 0;
}

.profile-btn {
  display: flex;
  align-items: center;
  background: none;
  border: none;
  cursor: pointer;
  color: #c8d0de;
  padding: 0.25rem;
  transition: color 0.15s;
  line-height: 0;
}

.profile-btn:hover { color: var(--gold-lt); }

.profile-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 0.75rem);
  right: 0;
  background: var(--navy);
  border: 1px solid #2a3a52;
  min-width: 190px;
  z-index: 100;
  box-shadow: 0 4px 20px rgba(0,0,0,0.35);
}

.profile-dropdown.open { display: block; }

.profile-dropdown a {
  display: block;
  color: #c8d0de;
  text-decoration: none;
  font-family: 'Arial', sans-serif;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
  padding: 0.8rem 1.25rem;
  border-bottom: 1px solid #2a3a52;
  transition: color 0.15s, background 0.15s;
}

.profile-dropdown a:last-child { border-bottom: none; }
.profile-dropdown a:hover { color: var(--gold-lt); background: #1e2e48; }

@media (max-width: 600px) {
  header { padding: 1rem 1.25rem; }
  header nav { display: none; }
  .profile-wrap { display: none; }
  .hamburger { display: block; }
}

/* ── Section label ── */
.section-label {
  font-family: 'Arial', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-dk);
  margin-bottom: 0.75rem;
}
