/*
 * insider.css — StampAuction Insider shared stylesheet
 * Complementary to StampAuctionNetwork; used across all Insider pages
 */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400;1,500&family=DM+Sans:wght@300;400;500&display=swap');

/* ── TOKENS ── */
:root {
  --navy:   #2d5a6e;
  --navy2:  #2a5060;
  --navy3:  #3d7060;
  --gold:   #c9a84c;
  --gold2:  #e8c97a;
  --gold3:  #f5e4b0;
  --cream:  #f8f4ed;
  --cream2: #edf2ee;
  --text:   #1a1a1a;
  --muted:  #6b6560;
  --border: rgba(201,168,76,0.2);
  --border2:rgba(201,168,76,0.38);
  --serif:  'Cormorant Garamond', Georgia, serif;
  --sans:   'DM Sans', system-ui, sans-serif;
  --radius: 4px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--cream);
  color: var(--text);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

/* ── SHARED NAV ── */
.insider-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(45,90,110,0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  padding: 0 40px;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
  transition: border-color 0.3s;
}
.insider-nav.scrolled { border-bottom-color: rgba(201,168,76,0.3); }

.nav-wordmark {
  font-family: var(--serif);
  font-size: 20px; font-weight: 400;
  color: var(--cream);
  letter-spacing: 0.02em;
  text-decoration: none;
}
.nav-wordmark span { color: var(--gold); }

.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
  font-size: 14px; font-weight: 300; color: rgba(248,244,237,0.65);
  text-decoration: none; letter-spacing: 0.06em; text-transform: uppercase;
  transition: color 0.2s; white-space: nowrap;
}
.nav-links a:hover,
.nav-links a.active { color: var(--gold2); }

.nav-right { display: flex; align-items: center; gap: 12px; }

/* Gold "Free trial" button */
.nav-cta {
  font-size: 13px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase;
  background: var(--gold); color: var(--navy);
  border: none; padding: 9px 20px; border-radius: var(--radius);
  cursor: pointer; text-decoration: none;
  transition: background 0.2s;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--gold2); }

/* White "Sign in" button — clear and readable on the dark nav */
.nav-cta-ghost {
  font-size: 13px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--navy);
  background: #ffffff;
  border: 1px solid #ffffff;
  padding: 8px 18px; border-radius: var(--radius);
  cursor: pointer; text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  white-space: nowrap;
}
.nav-cta-ghost:hover {
  background: var(--gold3);
  border-color: var(--gold2);
  color: var(--navy);
}

/* Hamburger */
.hamburger {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 36px; height: 36px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: rgba(248,244,237,0.7); border-radius: 2px;
  transition: all 0.25s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile overlay menu */
.mobile-menu {
  display: none;
  position: fixed; top: 64px; left: 0; right: 0; z-index: 99;
  background: rgba(45,90,110,0.98);
  backdrop-filter: blur(12px);
  flex-direction: column;
  border-bottom: 1px solid rgba(201,168,76,0.25);
  padding: 8px 0 20px;
  opacity: 0; transform: translateY(-8px);
  transition: opacity 0.2s, transform 0.2s;
}
.mobile-menu.open { display: flex; opacity: 1; transform: translateY(0); }
.mobile-menu a {
  font-size: 15px; font-weight: 300; letter-spacing: 0.06em; text-transform: uppercase;
  color: rgba(248,244,237,0.7); text-decoration: none;
  padding: 14px 24px; border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: color 0.15s;
}
.mobile-menu a:hover { color: var(--gold2); }
.mobile-menu-cta {
  margin: 14px 24px 0 !important;
  background: var(--gold) !important; color: var(--navy) !important;
  border-radius: var(--radius) !important; border-bottom: none !important;
  text-align: center; font-weight: 500 !important;
  padding: 12px 24px !important;
}

/* ── TRIAL BAND ── */
.trial-band {
  background: var(--navy2);
  border-top: 2px solid var(--gold);
  border-bottom: 1px solid rgba(201,168,76,0.25);
  padding: 14px 40px;
  text-align: center;
  margin-top: 64px; /* nav height */
}
.trial-band p {
  font-size: 16px; color: rgba(248,244,237,0.92); line-height: 1.65;
  font-family: var(--sans);
}
.trial-band strong { color: var(--gold2); font-weight: 500; }
.trial-band a {
  color: var(--gold2); font-weight: 500; text-decoration: none;
  border-bottom: 1px solid rgba(232,201,122,0.5);
  transition: color 0.2s, border-color 0.2s;
}
.trial-band a:hover { color: #fff; border-color: #fff; }

/* ── PAGE WRAPPER ── */
.page-body { padding-top: 0; }

/* ── INNER PAGE LAYOUT ── */
.inner-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 64px 40px 80px;
}
.inner-page-wide {
  max-width: 1080px;
  margin: 0 auto;
  padding: 64px 40px 80px;
}

/* ── PAGE HEADER ── */
.page-header {
  text-align: center;
  padding: 64px 40px 48px;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 600px 300px at 50% 100%, rgba(201,168,76,0.07), transparent);
  pointer-events: none;
}
.page-header-eyebrow {
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 14px; display: block;
}
.page-header h1 {
  font-family: var(--serif); font-size: clamp(28px, 5vw, 48px);
  font-weight: 300; color: var(--cream); line-height: 1.2;
  margin-bottom: 14px;
}
.page-header p {
  font-family: var(--serif); font-size: 18px; font-weight: 300;
  color: rgba(248,244,237,0.6); line-height: 1.7;
  max-width: 560px; margin: 0 auto;
}

/* ── CARDS ── */
.card {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.09);
  border-radius: var(--radius);
  padding: 32px;
}
.card-section-label {
  font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 10px;
}

/* ── FORM ELEMENTS ── */
.form-group { margin-bottom: 20px; }
.form-label {
  display: block; font-size: 14px; font-weight: 500;
  color: var(--text); margin-bottom: 6px;
}
.form-label .required { color: var(--navy3); margin-left: 2px; }
.form-input, .form-select {
  width: 100%; padding: 10px 14px;
  font-size: 15px; font-family: var(--sans);
  border: 1px solid rgba(0,0,0,0.14); border-radius: var(--radius);
  background: #faf8f5; color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.form-input:focus, .form-select:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(45,90,110,0.1);
}
.form-input-half { width: calc(50% - 8px); }
.form-row { display: flex; gap: 16px; flex-wrap: wrap; }
.form-hint { font-size: 13px; color: var(--muted); margin-top: 4px; }
.form-divider {
  border: none; border-top: 1px solid rgba(0,0,0,0.08);
  margin: 28px 0;
}
.form-section-title {
  font-size: 14px; font-weight: 500; color: var(--navy);
  margin-bottom: 16px; padding-bottom: 8px;
  border-bottom: 1px solid rgba(201,168,76,0.2);
}

/* ── BUTTONS ── */
.btn {
  display: inline-block; font-family: var(--sans);
  font-size: 14px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 12px 28px; border-radius: var(--radius); cursor: pointer;
  text-decoration: none; border: none; transition: opacity 0.2s, transform 0.15s;
}
.btn:hover { opacity: 0.88; transform: translateY(-1px); }
.btn-primary { background: var(--navy); color: var(--cream); }
.btn-gold    { background: var(--gold); color: var(--navy); }
.btn-outline {
  background: transparent; color: var(--navy);
  border: 1px solid var(--navy);
}
.btn-full { width: 100%; text-align: center; display: block; padding: 14px; }

/* ── COLLAPSIBLE SECTIONS (Insider Highlights) ── */
.collapsible-section {
  border: 1px solid rgba(0,0,0,0.09);
  border-radius: var(--radius);
  margin-bottom: 10px;
  overflow: hidden;
  background: #fff;
  transition: box-shadow 0.2s;
}
.collapsible-section:hover { box-shadow: 0 2px 12px rgba(45,90,110,0.08); }

.collapsible-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 22px;
  cursor: pointer;
  user-select: none;
  gap: 16px;
}
.collapsible-header:hover { background: rgba(45,90,110,0.03); }

.collapsible-title-group { display: flex; align-items: center; gap: 14px; flex: 1; min-width: 0; }
.collapsible-badge {
  font-size: 11px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 3px 10px; border-radius: 100px; white-space: nowrap;
  flex-shrink: 0;
}
.badge-top10  { background: #edf2ee; color: #2a5a38; }
.badge-top5   { background: #ddebd2; color: #1e4a28; }
.badge-finest { background: var(--gold3); color: #5a3e00; }

.collapsible-title {
  font-family: var(--serif); font-size: 19px; font-weight: 400;
  color: var(--text); line-height: 1.3;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.collapsible-meta { font-size: 14px; color: var(--muted); white-space: nowrap; }

.collapsible-chevron {
  color: var(--muted); font-size: 18px; flex-shrink: 0;
  transition: transform 0.25s;
}
.collapsible-section.open .collapsible-chevron { transform: rotate(180deg); }

.collapsible-body {
  display: none;
  padding: 0 22px 22px;
  border-top: 1px solid rgba(0,0,0,0.06);
}
.collapsible-section.open .collapsible-body { display: block; }

.collapsible-body-inner {
  display: grid; grid-template-columns: 200px 1fr; gap: 24px;
  padding-top: 18px; align-items: start;
}
.stamp-image-placeholder {
  width: 200px; height: 240px;
  background: linear-gradient(135deg, var(--cream2), #e8e2d8);
  border: 1px solid rgba(0,0,0,0.1); border-radius: 2px;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 8px;
  color: var(--muted); font-size: 13px; text-align: center;
}
.stamp-image-placeholder svg { opacity: 0.3; }

.stamp-details-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  margin-bottom: 16px;
}
.stamp-detail-row {
  display: flex; flex-direction: column;
  padding: 8px 0; border-bottom: 1px solid rgba(0,0,0,0.06);
}
.stamp-detail-row:nth-child(odd) { padding-right: 16px; }
.stamp-detail-label { font-size: 13px; color: var(--muted); margin-bottom: 2px; }
.stamp-detail-value { font-size: 16px; font-weight: 500; color: var(--text); }
.stamp-detail-value.price { color: var(--navy3); font-family: var(--serif); font-size: 18px; }

.stamp-description { font-size: 15px; color: #3a3530; line-height: 1.75; margin-top: 12px; }

.collapsible-cta-row {
  display: flex; gap: 12px; margin-top: 16px; flex-wrap: wrap;
}
.stamp-link {
  font-size: 14px; font-weight: 500; color: var(--navy);
  text-decoration: none; padding: 8px 16px;
  border: 1px solid var(--navy); border-radius: var(--radius);
  transition: background 0.15s, color 0.15s;
}
.stamp-link:hover { background: var(--navy); color: var(--cream); }
.stamp-link-gold {
  font-size: 14px; font-weight: 500; color: var(--navy);
  text-decoration: none; padding: 8px 16px;
  background: var(--gold); border: 1px solid var(--gold); border-radius: var(--radius);
  transition: background 0.15s;
}
.stamp-link-gold:hover { background: var(--gold2); border-color: var(--gold2); }

/* ── CALLOUT BOX ── */
.callout {
  background: rgba(201,168,76,0.07);
  border-left: 3px solid var(--gold);
  padding: 16px 20px; border-radius: 0 var(--radius) var(--radius) 0;
  margin: 20px 0;
}
.callout p { font-size: 15px; color: var(--navy); font-style: italic; line-height: 1.65; }

/* ── ALERT / INFO MESSAGES ── */
.alert {
  padding: 14px 18px; border-radius: var(--radius);
  font-size: 15px; line-height: 1.6; margin-bottom: 20px;
}
.alert-info    { background: #e6f1fb; color: #185fa5; border: 1px solid #b3d4f5; }
.alert-success { background: #eaf3de; color: #2d6311; border: 1px solid #b8dcaa; }
.alert-warning { background: #fdf3e3; color: #7a4e10; border: 1px solid #f5d8a0; }

/* ── FOOTER ── */
.insider-footer {
  background: var(--navy);
  border-top: 1px solid var(--border);
  padding: 40px 0;
}
.insider-footer-inner {
  max-width: 1080px; margin: 0 auto; padding: 0 40px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px;
}
.footer-wordmark {
  font-family: var(--serif); font-size: 17px;
  color: rgba(248,244,237,0.4); font-weight: 300;
}
.footer-wordmark span { color: rgba(201,168,76,0.5); }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a {
  font-size: 13px; color: rgba(248,244,237,0.35);
  text-decoration: none; transition: color 0.2s;
}
.footer-links a:hover { color: rgba(201,168,76,0.7); }
.footer-note {
  font-size: 13px; color: rgba(248,244,237,0.25); line-height: 1.6;
  max-width: 480px; text-align: right;
}

/* ── UTILITY ── */
.section-label {
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 12px; display: block;
}
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .collapsible-body-inner { grid-template-columns: 160px 1fr; }
  .stamp-image-placeholder { width: 160px; height: 192px; }
}

@media (max-width: 680px) {
  .insider-nav { padding: 0 18px; height: 56px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-cta, .nav-cta-ghost { display: none; }
  .nav-wordmark { font-size: 17px; }
  .trial-band { padding: 12px 20px; margin-top: 56px; }
  .trial-band p { font-size: 14px; }
  .page-header { padding: 48px 24px 36px; }
  .inner-page, .inner-page-wide { padding: 40px 20px 60px; }
  .collapsible-body-inner { grid-template-columns: 1fr; }
  .stamp-image-placeholder { width: 100%; height: 180px; }
  .stamp-details-grid { grid-template-columns: 1fr; }
  .stamp-detail-row:nth-child(odd) { padding-right: 0; }
  .form-input-half { width: 100%; }
  .form-row { flex-direction: column; gap: 0; }
  .insider-footer-inner { flex-direction: column; gap: 14px; }
  .footer-note { text-align: left; max-width: 100%; }
  .mobile-menu { top: 56px; }
}

@media (min-width: 681px) {
  .mobile-menu { display: none !important; }
  .hamburger { display: none !important; }
}

/* ── INSIDER HIGHLIGHTS — CENSUS / PROVENANCE RANK ── */
.census-row {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  padding: 10px 14px; margin-bottom: 14px;
  background: var(--cream2);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 14px;
}
.census-rank    { font-weight: 500; color: var(--navy); }
.census-sep     { color: var(--muted); }
.census-offered { color: var(--muted); }
.census-tier {
  font-size: 12px; font-weight: 500; padding: 3px 10px;
  border-radius: 100px; margin-left: auto; white-space: nowrap;
}
.census-tier-top1  { background: var(--gold3);   color: #5a3e00; }
.census-tier-top5  { background: #ddebd2; color: #1e4a28; }
.census-tier-top10 { background: #edf2ee; color: #2a5a38; }

/* ── INSIDER HIGHLIGHTS — LOT CARDS ── */
.lot-thumb {
  width: 216px; height: 216px; flex-shrink: 0;
  overflow: hidden; border-right: 1px solid rgba(0,0,0,0.08);
  background: var(--cream2);
  display: flex; align-items: center; justify-content: center;
}
.lot-thumb img {
  width: 100%; height: 100%; object-fit: contain; padding: 4px;
}
.lot-thumb-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-size: 11px; text-align: center;
  line-height: 1.3; padding: 6px;
}