/* =========================================================
   TRUDY VIP ARCHIVE — Shared Styles
   Used by: archive.html, archive-gallery.html, archive-scrapbook.html,
            archive-manuscript.html, archive-podcasts.html
   ========================================================= */

/* FONTS — Corporate A (Antiqua) & Corporate S (Sans)
   Paths relative to /vip/ → ../fonts/ */
@font-face {
  font-family: "Corporate S"; font-weight: 400; font-style: normal; font-display: swap;
  src: local("Corporate S Regular"), local("CorporateS-Regular"),
    url("../fonts/CorporateS-Regular.woff2") format("woff2"), url("../fonts/CorporateS-Regular.woff") format("woff");
}
@font-face {
  font-family: "Corporate S"; font-weight: 600; font-style: normal; font-display: swap;
  src: local("Corporate S Demi"), local("CorporateS-Demi"), local("Corporate S Bold"), local("CorporateS-Bold"),
    url("../fonts/CorporateS-Demi.woff2") format("woff2"), url("../fonts/CorporateS-Demi.woff") format("woff");
}
@font-face {
  font-family: "Corporate S"; font-weight: 700; font-style: normal; font-display: swap;
  src: local("Corporate S Bold"), local("CorporateS-Bold"),
    url("../fonts/CorporateS-Bold.woff2") format("woff2"), url("../fonts/CorporateS-Bold.woff") format("woff");
}
@font-face {
  font-family: "Corporate A"; font-weight: 400; font-style: normal; font-display: swap;
  src: local("Corporate A Regular"), local("CorporateA-Regular"),
    url("../fonts/CorporateA-Regular.woff2") format("woff2"), url("../fonts/CorporateA-Regular.woff") format("woff");
}
@font-face {
  font-family: "Corporate A"; font-weight: 400; font-style: italic; font-display: swap;
  src: local("Corporate A Italic"), local("CorporateA-Italic"),
    url("../fonts/CorporateA-Italic.woff2") format("woff2"), url("../fonts/CorporateA-Italic.woff") format("woff");
}
@font-face {
  font-family: "Corporate A"; font-weight: 700; font-style: normal; font-display: swap;
  src: local("Corporate A Bold"), local("CorporateA-Bold"),
    url("../fonts/CorporateA-Bold.woff2") format("woff2"), url("../fonts/CorporateA-Bold.woff") format("woff");
}
@font-face {
  font-family: "Corporate A Light"; font-weight: 300; font-style: normal; font-display: swap;
  src: local("Corporate A Light"), local("CorporateA-Light"),
    url("../fonts/CorporateA-Light.woff2") format("woff2"), url("../fonts/CorporateA-Light.woff") format("woff");
}

/* Design Tokens — aligned with index.html */
:root {
  --gold: #b08a46;
  --gold-deep: #8f6f33;
  --gold-soft: #d9c69a;
  --sans: "Corporate S", "Helvetica Neue", Arial, system-ui, sans-serif;
  --serif: "Corporate A Light", "Corporate A", Georgia, serif;
  --serif-reg: "Corporate A", Georgia, serif;
  --bg: #050505;
  --surface: #121212;
  --text: #e0e0e0;
  --text-muted: #888;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--gold); text-decoration: none; transition: opacity 0.2s; }
a:hover { opacity: 0.8; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* =========================================================
   HEADER & NAV
   ========================================================= */
.arch-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 30px 20px; border-bottom: 1px solid rgba(255,255,255,0.1);
}
.arch-header .logo {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 1.6rem;
  letter-spacing: 1px;
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
}
.arch-header .logo span {
  color: var(--gold);
  font-weight: 400;
  margin-left: 8px;
}
.header-actions { display: flex; gap: 20px; align-items: center; }
.lang-switcher button {
  background: none; border: none; color: var(--text-muted); cursor: pointer;
  font-family: var(--sans); font-size: 0.9rem; transition: color 0.3s;
}
.lang-switcher button.active { color: var(--gold); font-weight: bold; }
.nav-link { color: var(--text-muted); text-decoration: none; font-size: 0.9rem; transition: color 0.3s; }
.nav-link:hover { color: var(--text); opacity: 1; }

/* Sub-navigation between parts */
.part-nav { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; padding: 20px; border-bottom: 1px solid rgba(255,255,255,0.05); }
.part-nav a {
  display: inline-block; padding: 8px 18px; border-radius: 4px; font-size: 0.85rem;
  color: var(--text-muted); background: var(--surface); transition: all 0.2s; text-decoration: none;
}
.part-nav a:hover { color: var(--text); background: #1a1a1a; opacity: 1; }
.part-nav a.active { color: #000; background: var(--gold); font-weight: 600; }

/* =========================================================
   TYPOGRAPHY
   ========================================================= */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: normal; color: #fff; }
.eyebrow { display: block; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 2px; color: var(--gold); margin-bottom: 10px; }

.page-intro { text-align: center; margin: 80px auto; max-width: 800px; }
.page-intro h1 { font-size: 3rem; margin-bottom: 20px; }
.page-intro p { font-size: 1.1rem; color: var(--text-muted); }

.disclaimer-box {
  margin-top: 40px; padding: 25px 35px; border-left: 3px solid var(--gold);
  background: var(--surface); text-align: left; font-size: 0.95rem; color: #bbb;
}

.arch-sec { margin: 60px auto; }
.arch-sec-head { margin-bottom: 50px; text-align: center; }
.arch-sec-head h2 { font-size: 2.2rem; }

/* =========================================================
   LIGHTBOX & MAGNIFIER
   ========================================================= */
.lightbox {
  position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: rgba(0,0,0,0.95);
  z-index: 9999; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none;
  transition: opacity 0.3s;
}
.lightbox.active { opacity: 1; pointer-events: auto; }
.lightbox img { max-width: 90%; max-height: 90vh; border: 2px solid #333; box-shadow: 0 10px 50px rgba(0,0,0,0.5); }
.lightbox-close { position: absolute; top: 30px; right: 40px; color: #fff; font-size: 2rem; cursor: pointer; z-index: 10001; }

.magnifier-lens {
  position: fixed; border: 2px solid var(--gold); border-radius: 50%;
  width: 150px; height: 150px; pointer-events: none; display: none; z-index: 10000;
  box-shadow: 0 0 20px rgba(0,0,0,0.8); background-repeat: no-repeat;
}
.magnify-target { cursor: crosshair !important; }

/* =========================================================
   FOOTER
   ========================================================= */
.arch-footer { padding: 40px 0; text-align: center; border-top: 1px solid rgba(255,255,255,0.1); font-size: 0.8rem; color: #666; margin-top: 80px; }

/* =========================================================
   HUB PAGE — Section Cards
   ========================================================= */
.hub-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; margin-top: 60px; }
.hub-card {
  background: var(--surface); border: 1px solid #222; border-radius: 8px; padding: 40px 30px;
  text-align: center; transition: transform 0.3s, border-color 0.3s; text-decoration: none; display: block;
}
.hub-card:hover { transform: translateY(-5px); border-color: var(--gold); opacity: 1; }
.hub-card .card-num { font-size: 3rem; color: var(--gold); font-family: var(--serif); margin-bottom: 15px; line-height: 1; }
.hub-card h3 { font-size: 1.3rem; margin-bottom: 12px; }
.hub-card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.5; }

/* =========================================================
   LIVE TRACKER & EDITIONS STYLES (ANNIVERSARY)
   ========================================================= */
.btn-gold {
  background: var(--gold);
  color: #000;
  border: none;
  padding: 10px 20px;
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: bold;
  cursor: pointer;
  border-radius: 4px;
  transition: all 0.2s;
}
.btn-gold:hover {
  background: var(--gold-soft);
  transform: translateY(-1px);
}

/* Custom leaflet marker class override */
.custom-div-icon {
  background: none !important;
  border: none !important;
}

