/* ============================================================
   THE FIVE-TIMERS CLUB — Official Unofficial Stylesheet
   Deep navy. Gold trim. Velvet ropes optional.
   ============================================================ */

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  background-color: #f5f0e4;
  color: #1a1a2e;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.7;
  min-height: 100vh;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: Georgia, 'Times New Roman', serif;
  color: #0a1628;
  line-height: 1.3;
}

h1 { font-size: clamp(1.8rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2.2rem); margin-bottom: 0.5rem; }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.5rem); margin-bottom: 0.4rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

a {
  color: #c9a84c;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover { color: #a8833a; text-decoration: underline; }

strong { font-weight: 700; }
em { font-style: italic; }

/* --- Navigation --- */
.site-nav {
  background-color: #0a1628;
  border-bottom: 3px solid #c9a84c;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,0.4);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  min-height: 64px;
}

.nav-logo {
  display: flex;
  flex-direction: column;
  text-decoration: none;
}

.nav-logo .logo-main {
  font-family: Georgia, serif;
  font-size: 1.25rem;
  font-weight: bold;
  color: #c9a84c;
  letter-spacing: 0.04em;
  line-height: 1.2;
}

.nav-logo .logo-sub {
  font-size: 0.6rem;
  color: #a8a8b8;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.nav-logo:hover .logo-main { color: #e0bf70; text-decoration: none; }

.nav-links {
  display: flex;
  list-style: none;
  gap: 0.25rem;
  flex-wrap: wrap;
  align-items: center;
}

.nav-links a {
  color: #d4cfc4;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.5rem 0.75rem;
  border-radius: 3px;
  transition: background 0.2s, color 0.2s;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a.active {
  background: rgba(201, 168, 76, 0.15);
  color: #c9a84c;
  text-decoration: none;
}

/* --- Hero Section --- */
.hero {
  background: linear-gradient(135deg, #0a1628 0%, #0f2347 60%, #14305a 100%);
  color: #f5f0e4;
  text-align: center;
  padding: 6rem 1.5rem 5rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 40px,
    rgba(201, 168, 76, 0.03) 40px,
    rgba(201, 168, 76, 0.03) 41px
  );
}

.hero-crest {
  font-family: Georgia, serif;
  font-size: 3.5rem;
  color: #c9a84c;
  margin-bottom: 1rem;
  line-height: 1;
  text-shadow: 0 0 30px rgba(201, 168, 76, 0.3);
}

.hero-inner { position: relative; z-index: 1; max-width: 800px; margin: 0 auto; }

.hero h1 {
  color: #f5f0e4;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.hero-subtitle {
  font-size: 1.1rem;
  color: #c9c4b8;
  max-width: 600px;
  margin: 0 auto 2rem;
  line-height: 1.8;
}

.hero-badge {
  display: inline-block;
  border: 2px solid #c9a84c;
  color: #c9a84c;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.4rem 1.2rem;
  border-radius: 2px;
  margin-bottom: 2rem;
}

/* --- Sections --- */
.section {
  padding: 4rem 1.5rem;
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  margin-bottom: 0.75rem;
}

.section-kicker {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #c9a84c;
  margin-bottom: 0.5rem;
  font-family: Arial, sans-serif;
}

.section-subtitle {
  color: #5a5a7a;
  font-size: 1rem;
  max-width: 600px;
  margin: 0 auto;
}

.section--dark {
  background-color: #0a1628;
  color: #d4cfc4;
}

.section--dark h2,
.section--dark h3 {
  color: #f5f0e4;
}

.section--dark .section-subtitle {
  color: #9090a8;
}

.section--mid {
  background-color: #1a2a45;
  color: #d4cfc4;
}

.section--mid h2,
.section--mid h3 {
  color: #f5f0e4;
}

.section--cream {
  background-color: #f5f0e4;
}

.section--offwhite {
  background-color: #ede8db;
}

/* --- Gold Divider --- */
.gold-rule {
  border: none;
  border-top: 2px solid #c9a84c;
  margin: 2rem auto;
  max-width: 80px;
  opacity: 0.7;
}

/* --- Member Cards --- */
.members-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.member-card {
  background: #fff;
  border: 1px solid #ddd8cc;
  border-top: 4px solid #c9a84c;
  border-radius: 4px;
  padding: 1.5rem;
  transition: box-shadow 0.2s, transform 0.2s;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.member-card:hover {
  box-shadow: 0 8px 24px rgba(10,22,40,0.12);
  transform: translateY(-2px);
}

.member-card--pending {
  border-top-color: #d4695c;
  background: #fffaf8;
}

.member-name {
  font-family: Georgia, serif;
  font-size: 1.3rem;
  color: #0a1628;
  margin-bottom: 0.15rem;
}

.member-count {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #c9a84c;
  font-weight: 600;
}

.member-count--pending {
  color: #d4695c;
}

.member-era {
  font-size: 0.75rem;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.member-bio {
  font-size: 0.92rem;
  color: #3a3a5a;
  line-height: 1.6;
  font-style: italic;
  border-left: 3px solid #e8e3d8;
  padding-left: 0.75rem;
  margin: 0.25rem 0;
}

.member-req {
  font-size: 0.8rem;
  color: #555;
  margin-top: auto;
}

.member-req strong {
  color: #0a1628;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.7rem;
}

.pending-badge {
  display: inline-block;
  background: #d4695c;
  color: #fff;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border-radius: 2px;
  font-weight: 700;
}

/* --- Spotlight / Feature Box --- */
.spotlight {
  background: linear-gradient(135deg, #1a2a45 0%, #0a1628 100%);
  border: 2px solid #c9a84c;
  border-radius: 6px;
  padding: 2.5rem;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

.spotlight::before {
  content: '★';
  position: absolute;
  top: -1rem;
  left: 50%;
  transform: translateX(-50%);
  background: #c9a84c;
  color: #0a1628;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 1rem;
  line-height: 2rem;
}

.spotlight h3 {
  color: #f5f0e4;
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.spotlight-meta {
  color: #c9a84c;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.spotlight-body {
  color: #c9c4b8;
  font-size: 0.95rem;
  line-height: 1.8;
}

/* --- Candidates / Who's Next --- */
.candidates-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  max-width: 800px;
  margin: 0 auto;
}

.candidate-row {
  background: #fff;
  border: 1px solid #ddd8cc;
  border-left: 5px solid #c9a84c;
  border-radius: 4px;
  padding: 1.25rem 1.5rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: center;
}

.candidate-row--longshot {
  border-left-color: #a8a8b8;
  opacity: 0.85;
}

.candidate-num {
  font-family: Georgia, serif;
  font-size: 2rem;
  color: #c9a84c;
  font-weight: bold;
  line-height: 1;
}

.candidate-row--longshot .candidate-num {
  color: #a8a8b8;
}

.candidate-info h3 {
  margin-bottom: 0.15rem;
  font-size: 1.15rem;
}

.candidate-info p {
  font-size: 0.88rem;
  color: #555;
  margin: 0;
}

.candidate-odds {
  text-align: right;
  font-size: 0.78rem;
  color: #888;
  font-style: italic;
  max-width: 140px;
}

/* --- History / Prose Sections --- */
.prose {
  max-width: 760px;
  margin: 0 auto;
}

.prose h3 {
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid #ddd8cc;
}

.prose p {
  margin-bottom: 1.25rem;
  font-size: 1rem;
  line-height: 1.85;
}

.prose blockquote {
  border-left: 4px solid #c9a84c;
  margin: 2rem 0;
  padding: 1rem 1.5rem;
  background: rgba(201, 168, 76, 0.07);
  border-radius: 0 4px 4px 0;
  font-style: italic;
  color: #3a3a5a;
  font-size: 1.05rem;
}

.prose blockquote cite {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.82rem;
  color: #888;
  font-style: normal;
}

/* --- Fan Lore Cards --- */
.lore-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.25rem;
}

.lore-card {
  background: #fff;
  border: 1px solid #ddd8cc;
  border-radius: 4px;
  padding: 1.5rem;
}

.lore-card h4 {
  font-family: Georgia, serif;
  color: #0a1628;
  margin-bottom: 0.75rem;
  font-size: 1.05rem;
}

.lore-card p {
  font-size: 0.9rem;
  color: #444;
  line-height: 1.7;
}

.lore-card--hot {
  border-top: 4px solid #d4695c;
}

.lore-card--theory {
  border-top: 4px solid #6b5cb8;
}

.lore-card--debate {
  border-top: 4px solid #3a8a7a;
}

.lore-icon {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

/* --- CTA Box --- */
.cta-box {
  background: linear-gradient(135deg, #0a1628 0%, #1a2a45 100%);
  border: 2px solid #c9a84c;
  border-radius: 6px;
  padding: 3rem 2rem;
  text-align: center;
  max-width: 640px;
  margin: 3rem auto 0;
}

.cta-box h3 {
  color: #f5f0e4;
  font-size: 1.6rem;
  margin-bottom: 0.75rem;
}

.cta-box p {
  color: #a8a8b8;
  font-size: 0.95rem;
  line-height: 1.7;
}

.cta-box .cta-note {
  color: #c9a84c;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 1rem;
}

/* --- Page Header (inner pages) --- */
.page-header {
  background: linear-gradient(135deg, #0a1628 0%, #0f2347 100%);
  color: #f5f0e4;
  padding: 4rem 1.5rem 3rem;
  text-align: center;
  border-bottom: 3px solid #c9a84c;
}

.page-header h1 {
  color: #f5f0e4;
  margin-bottom: 0.75rem;
}

.page-header p {
  color: #9090a8;
  font-size: 1rem;
  max-width: 560px;
  margin: 0 auto;
}

.page-header .page-kicker {
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #c9a84c;
  margin-bottom: 0.75rem;
}

/* --- Disclaimer Banner --- */
.disclaimer-banner {
  background: rgba(201, 168, 76, 0.1);
  border: 1px solid rgba(201, 168, 76, 0.3);
  border-radius: 4px;
  padding: 0.75rem 1.25rem;
  font-size: 0.78rem;
  color: #6a6a8a;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 2rem;
}

/* --- Footer --- */
.site-footer {
  background: #060e1a;
  border-top: 3px solid #c9a84c;
  color: #6a6a8a;
  text-align: center;
  padding: 2.5rem 1.5rem;
  font-size: 0.82rem;
  line-height: 1.9;
}

.site-footer .footer-logo {
  font-family: Georgia, serif;
  font-size: 1.1rem;
  color: #c9a84c;
  margin-bottom: 0.75rem;
  letter-spacing: 0.05em;
}

.site-footer a {
  color: #8888aa;
}

.site-footer a:hover { color: #c9a84c; }

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin: 1rem 0;
  list-style: none;
}

.footer-unofficial {
  color: #c9a84c;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 0.75rem;
}

/* --- Utility --- */
.text-gold { color: #c9a84c; }
.text-center { text-align: center; }
.text-muted { color: #888; font-size: 0.85rem; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-3 { margin-bottom: 1.5rem; }

.tag {
  display: inline-block;
  background: rgba(201, 168, 76, 0.12);
  color: #b08838;
  border: 1px solid rgba(201, 168, 76, 0.3);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.2rem 0.55rem;
  border-radius: 2px;
}

.count-chip {
  display: inline-block;
  background: #c9a84c;
  color: #0a1628;
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.6rem;
  border-radius: 20px;
}

/* --- "Who's Knocking" teaser cards --- */
.knocking-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}

.knocking-card {
  background: #1a2a45;
  border: 1px solid #2a3d5e;
  border-radius: 4px;
  padding: 1.25rem;
  text-align: center;
}

.knocking-card .k-name {
  font-family: Georgia, serif;
  color: #f5f0e4;
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.knocking-card .k-count {
  color: #c9a84c;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.knocking-card .k-note {
  color: #9090a8;
  font-size: 0.82rem;
  font-style: italic;
}

/* --- Progress bar (for candidates) --- */
.progress-wrap {
  margin: 0.5rem 0 0;
}

.progress-label {
  font-size: 0.72rem;
  color: #888;
  margin-bottom: 0.2rem;
}

.progress-bar {
  height: 6px;
  background: #e0dbd0;
  border-radius: 3px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #c9a84c, #e0c070);
  border-radius: 3px;
  transition: width 0.3s;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .nav-inner { padding: 0.5rem 1rem; min-height: 56px; }
  .nav-links a { padding: 0.35rem 0.5rem; font-size: 0.75rem; }
  .hero { padding: 4rem 1rem 3.5rem; }
  .section { padding: 2.5rem 1rem; }
  .member-card { padding: 1.25rem; }
  .candidate-row { grid-template-columns: auto 1fr; }
  .candidate-odds { grid-column: 2; text-align: left; }
  .spotlight { padding: 2rem 1.25rem; }
  .cta-box { padding: 2rem 1.25rem; }
}

@media (max-width: 480px) {
  .nav-links { gap: 0.1rem; }
  .nav-links a { padding: 0.3rem 0.4rem; font-size: 0.7rem; letter-spacing: 0.03em; }
  .hero-crest { font-size: 2.5rem; }
}

/* --- Print Styles --- */
@media print {
  .site-nav, .site-footer { display: none; }
  .hero { background: #0a1628 !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  body { font-size: 12pt; }
  .member-card { break-inside: avoid; }
  a[href]::after { content: " (" attr(href) ")"; font-size: 0.75em; color: #888; }
  .site-nav a[href]::after { display: none; }
}
