/* ============================================================
   History Pages — Shared Styles
   Imported by history.html, wayne-plunkett.html, sarah-phillips.html
   ============================================================ */

/* ── HISTORY NAV (overrides shared.css nav for these pages) ── */
.hist-topnav {
  position: fixed; top: 0; left: 0; right: 0; height: 52px; z-index: 500;
  display: flex; align-items: center; padding: 0 20px;
  background: rgba(20,12,4,0.92);
  border-bottom: 1px solid rgba(200,130,42,0.3);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.hist-topnav-back {
  font-family: var(--font-body); font-size: 12px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--amber); text-decoration: none;
  display: flex; align-items: center; gap: 8px;
  transition: color .2s;
}
.hist-topnav-back:hover { color: var(--amber-light); }
.hist-topnav-title {
  font-family: var(--font-display); font-size: 16px; font-weight: 700;
  font-style: italic; color: var(--cream); margin-left: 20px; flex: 1;
}
.hist-topnav nav { display: flex; }
.hist-topnav nav a {
  color: var(--tan); text-decoration: none; font-family: var(--font-body);
  font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
  padding: 0 12px; height: 52px; display: inline-flex; align-items: center;
  border-right: 1px solid rgba(200,130,42,.18);
  transition: color .2s, background .2s;
}
.hist-topnav nav a:first-child { border-left: 1px solid rgba(200,130,42,.18); }
.hist-topnav nav a:hover, .hist-topnav nav a.active {
  color: var(--amber-light); background: rgba(200,130,42,.08);
}

/* ── DOCUMENT CARD ── */
.doc-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(212,184,150,.2);
  padding: 12px;
  position: relative;
}
.doc-card img {
  width: 100%; display: block;
  filter: sepia(15%) contrast(1.05);
  transition: filter .3s;
}
.doc-card:hover img { filter: sepia(0%) contrast(1.1); }
.doc-card-caption {
  font-family: var(--font-body); font-size: 11px;
  color: var(--text-light); font-style: italic;
  text-align: center; margin-top: 8px; line-height: 1.4;
}
.doc-card-label {
  position: absolute; top: -10px; left: 16px;
  background: var(--amber); color: var(--brown-dark);
  font-family: var(--font-body); font-size: 10px; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  padding: 2px 10px;
}

/* ── TIMELINE ENTRY ── */
.tl-entry {
  display: grid; grid-template-columns: 80px 1fr;
  gap: 0 32px; margin-bottom: 48px; position: relative;
}
.tl-entry::before {
  content: ''; position: absolute;
  left: 79px; top: 28px; bottom: -48px;
  width: 2px; background: linear-gradient(to bottom, var(--amber), rgba(200,130,42,.1));
}
.tl-entry:last-child::before { display: none; }
.tl-year {
  font-family: var(--font-script); font-size: 22px;
  color: var(--amber); text-align: right; padding-top: 4px;
  position: relative;
}
.tl-year::after {
  content: ''; position: absolute;
  right: -20px; top: 13px;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--amber); border: 2px solid var(--cream);
  box-shadow: 0 0 0 2px var(--amber);
}
.tl-content {}
.tl-title {
  font-family: var(--font-display); font-size: 20px;
  font-weight: 700; color: var(--cream); margin-bottom: 6px;
}
.tl-body {
  font-family: var(--font-body); font-size: 14px;
  color: #ddd0b0; line-height: 1.75;
}

/* ── REVEAL ANIMATIONS ── */
.reveal-up {
  opacity: 0; transform: translateY(32px);
  transition: opacity .8s ease, transform .8s ease;
}
.reveal-left {
  opacity: 0; transform: translateX(-40px);
  transition: opacity .8s ease, transform .8s ease;
}
.reveal-right {
  opacity: 0; transform: translateX(40px);
  transition: opacity .8s ease, transform .8s ease;
}
.reveal-up.visible, .reveal-left.visible, .reveal-right.visible {
  opacity: 1; transform: translate(0,0);
}

/* ── PULL QUOTE ── */
.pull-quote {
  border-left: 4px solid var(--amber);
  padding: 20px 28px;
  margin: 32px 0;
  background: rgba(200,130,42,.06);
}
.pull-quote p {
  font-family: var(--font-display); font-size: 20px;
  font-style: italic; color: var(--cream); line-height: 1.5;
}
.pull-quote cite {
  display: block; margin-top: 8px;
  font-family: var(--font-body); font-size: 12px;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--amber);
}

/* ── SIDE BY SIDE LAYOUT ── */
.side-by-side {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 48px; align-items: start;
  margin: 48px 0;
}
.side-by-side.doc-right { grid-template-columns: 1.2fr 1fr; }
.side-by-side.doc-left  { grid-template-columns: 1fr 1.2fr; }

/* ── CHAIN OF TITLE TABLE ── */
.chain-table {
  width: 100%; border-collapse: collapse;
  margin: 32px 0;
}
.chain-table th {
  background: var(--brown-dark); color: var(--amber-light);
  font-family: var(--font-body); font-size: 11px;
  letter-spacing: .12em; text-transform: uppercase;
  padding: 12px 16px; text-align: left;
  border-bottom: 2px solid var(--amber-dark);
}
.chain-table td {
  padding: 10px 16px;
  font-family: var(--font-body); font-size: 13px;
  border-bottom: 1px solid rgba(200,130,42,.12);
  vertical-align: top; line-height: 1.5;
}
.chain-table tr:nth-child(odd) td { background: rgba(200,130,42,.04); }
.chain-table tr:hover td { background: rgba(200,130,42,.1); }
.chain-table .year { color: var(--amber); font-weight: 600; white-space: nowrap; }
.chain-table .owner { color: var(--cream); font-weight: 600; }
.chain-table .note  { color: var(--tan); font-style: italic; }
.chain-table .confirmed { color: var(--green-light); font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }

/* ── PERSON HERO ── */
.person-hero {
  min-height: 60vh;
  display: flex; align-items: flex-end;
  padding: 0 0 60px;
  position: relative; overflow: hidden;
}
.person-hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center top;
  filter: brightness(.35) sepia(.3);
}
.person-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(10,6,2,.2) 0%, rgba(10,6,2,.85) 100%);
}
.person-hero-content {
  position: relative; z-index: 2;
  max-width: 1100px; margin: 0 auto; padding: 0 48px;
  width: 100%; display: flex; align-items: flex-end; gap: 48px;
}
.person-hero-photo {
  width: 180px; height: 220px; flex-shrink: 0;
  object-fit: cover; object-position: center top;
  border: 3px solid rgba(200,130,42,.5);
  box-shadow: 0 0 0 1px rgba(200,130,42,.2), 8px 8px 32px rgba(0,0,0,.6);
  filter: sepia(20%) contrast(1.05);
}
.person-hero-text {}
.person-hero-eyebrow {
  font-family: var(--font-script); font-size: 18px;
  color: var(--amber-light); margin-bottom: 8px; display: block;
}
.person-hero-name {
  font-family: var(--font-display); font-size: clamp(40px,6vw,72px);
  font-weight: 900; color: var(--cream); line-height: 1;
  margin-bottom: 12px;
}
.person-hero-dates {
  font-family: var(--font-display); font-size: 20px;
  font-style: italic; color: var(--amber-light);
  margin-bottom: 16px;
}
.person-hero-tagline {
  font-family: var(--font-body); font-size: 15px;
  color: var(--tan); max-width: 560px; line-height: 1.6;
}

/* ── PAGE BODY ── */
.hist-body {
  max-width: 1100px; margin: 0 auto; padding: 72px 48px;
}
.hist-section { margin-bottom: 80px; }
.hist-section-label {
  font-family: var(--font-script); font-size: 16px;
  color: var(--amber-light); letter-spacing: .05em; margin-bottom: 6px; display: block;
}
.hist-section-title {
  font-family: var(--font-display); font-size: clamp(28px,4vw,44px);
  font-weight: 900; color: var(--cream); line-height: 1.1; margin-bottom: 12px;
}
.hist-section-rule {
  width: 60px; height: 3px;
  background: linear-gradient(to right, var(--amber), var(--amber-light));
  margin-bottom: 36px;
}
.hist-body p {
  font-family: var(--font-body); font-size: 15px;
  color: #ddd0b0; line-height: 1.85; margin-bottom: 20px;
}
.hist-body p strong { color: #fff8f0; font-weight: 600; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .side-by-side { grid-template-columns: 1fr; gap: 32px; }
  .side-by-side.doc-right, .side-by-side.doc-left { grid-template-columns: 1fr; }
  .person-hero-content { flex-direction: column; align-items: flex-start; padding: 0 24px; }
  .hist-body { padding: 48px 24px; }
  .tl-entry { grid-template-columns: 60px 1fr; gap: 0 20px; }
}
