@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=IBM+Plex+Mono:wght@300;400;500&family=Inter:wght@300;400;500;600&display=swap');

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --gold: #E5A93C;
  --black-silicon: #121212;
  --marble-white: #F8F9FA;
  --industrial-blue: #2A4B7C;
  --dark-surface: #1C1C1C;
  --dark-border: #2E2E2E;
  --gold-dim: rgba(229, 169, 60, 0.15);
  --gold-border: rgba(229, 169, 60, 0.3);
  --text-muted: #A0A0A0;
  --text-secondary: #C8C8C8;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-mono: 'IBM Plex Mono', 'Courier New', monospace;
  --font-sans: 'Inter', system-ui, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--black-silicon);
  color: var(--marble-white);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
}

a {
  color: var(--gold);
  text-decoration: none;
  transition: color 0.25s ease, opacity 0.25s ease;
}

a:hover {
  color: #f0c060;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

h1, h2, h3 {
  font-family: var(--font-serif);
  line-height: 1.2;
  color: var(--marble-white);
}

h4, h5, h6 {
  font-family: var(--font-sans);
  font-weight: 600;
  color: var(--marble-white);
}

p {
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 1rem;
}

p:last-child {
  margin-bottom: 0;
}

figcaption {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  margin-top: 0.6rem;
  line-height: 1.5;
}

.section-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 0.75rem;
}

.gold-line {
  display: block;
  width: 48px;
  height: 2px;
  background: var(--gold);
  margin: 1.25rem 0;
}

.gold-line.center {
  margin: 1.25rem auto;
}

.text-gold {
  color: var(--gold);
}

.text-muted-custom {
  color: var(--text-muted);
}

.text-mono {
  font-family: var(--font-mono);
}

.serif-heading {
  font-family: var(--font-serif);
}

.bg-dark-surface {
  background-color: var(--dark-surface);
}

.border-gold {
  border-color: var(--gold-border) !important;
}

.section-pad {
  padding: 5rem 0;
}

.section-pad-sm {
  padding: 3rem 0;
}

.container-narrow {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container-wide {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* =====================
   NAVBAR
   ===================== */
#site-nav {
  background-color: rgba(18, 18, 18, 0.97);
  border-bottom: 1px solid var(--dark-border);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(8px);
}

.navbar-brand-wrap {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.navbar-brand-name {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.01em;
}

.navbar-brand-sub {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--text-muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

#site-nav .nav-link {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-secondary) !important;
  padding: 1.4rem 0.9rem !important;
  transition: color 0.2s ease;
  border-bottom: 2px solid transparent;
}

#site-nav .nav-link:hover,
#site-nav .nav-link.active {
  color: var(--gold) !important;
  border-bottom-color: var(--gold);
}

#site-nav .navbar-toggler {
  border-color: var(--gold-border);
}

#site-nav .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(229,169,60,0.9)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* =====================
   FOOTER
   ===================== */
#site-footer {
  background-color: #0E0E0E;
  border-top: 1px solid var(--dark-border);
  padding: 4rem 0 2rem;
  margin-top: 0;
}

.footer-brand {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.footer-tagline {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-heading {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
  font-weight: 500;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-address {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.8;
}

.footer-address a {
  color: var(--text-muted);
}

.footer-address a:hover {
  color: var(--gold);
}

.footer-divider {
  border-color: var(--dark-border);
  margin: 2.5rem 0 1.5rem;
}

.footer-disclaimer {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.65;
  font-style: italic;
}

.footer-copy {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: #555;
  margin-top: 0.75rem;
  letter-spacing: 0.04em;
}

/* =====================
   COOKIE BANNER
   ===================== */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(22, 22, 22, 0.98);
  border-top: 1px solid var(--gold-border);
  padding: 1.25rem 1.5rem;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  backdrop-filter: blur(8px);
}

#cookie-banner p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--text-muted);
  flex: 1;
  min-width: 220px;
}

#cookie-banner .cookie-actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

.btn-cookie-accept {
  background: var(--gold);
  color: var(--black-silicon);
  border: none;
  padding: 0.45rem 1.4rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease;
}

.btn-cookie-accept:hover {
  background: #f0c060;
}

.btn-cookie-more {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--dark-border);
  padding: 0.45rem 1.2rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-cookie-more:hover {
  border-color: var(--gold-border);
  color: var(--gold);
}

/* =====================
   BUTTONS
   ===================== */
.btn-archive {
  display: inline-block;
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.75rem 2rem;
  transition: background 0.25s ease, color 0.25s ease;
  cursor: pointer;
}

.btn-archive:hover {
  background: var(--gold);
  color: var(--black-silicon);
  text-decoration: none;
}

.btn-archive-filled {
  display: inline-block;
  background: var(--gold);
  border: 1px solid var(--gold);
  color: var(--black-silicon);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.85rem 2.5rem;
  transition: background 0.25s ease, color 0.25s ease;
  cursor: pointer;
}

.btn-archive-filled:hover {
  background: transparent;
  color: var(--gold);
  text-decoration: none;
}

.btn-blue {
  display: inline-block;
  background: var(--industrial-blue);
  border: 1px solid var(--industrial-blue);
  color: var(--marble-white);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.65rem 1.6rem;
  transition: background 0.25s ease, color 0.25s ease;
}

.btn-blue:hover {
  background: transparent;
  color: var(--industrial-blue);
  text-decoration: none;
}

/* =====================
   PAGE HERO (inner pages)
   ===================== */
.page-hero {
  padding: 5rem 0 3.5rem;
  border-bottom: 1px solid var(--dark-border);
  background-color: var(--dark-surface);
}

.page-hero-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  display: block;
}

.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.1;
}

.page-hero .lead {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 620px;
  line-height: 1.7;
}

/* =====================
   INDEX - MUSEUM HERO
   ===================== */
.museum-hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  background-color: var(--black-silicon);
  border-bottom: 1px solid var(--dark-border);
  overflow: hidden;
  padding: 5rem 0;
}

.hero-left {
  padding-right: 3rem;
}

.hero-epoch-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 700;
  line-height: 1.05;
  color: var(--marble-white);
  margin-bottom: 1.5rem;
}

.hero-title em {
  font-style: italic;
  color: var(--gold);
}

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 520px;
  margin-bottom: 2.5rem;
}

.hero-meta {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  border-left: 2px solid var(--gold-border);
  padding-left: 0.85rem;
}

.hero-masonry {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 0.75rem;
}

.hero-masonry .img-hero-main {
  grid-column: 1 / -1;
  height: 260px;
  object-fit: cover;
  width: 100%;
}

.hero-masonry .img-hero-sub {
  height: 180px;
  object-fit: cover;
  width: 100%;
}

/* =====================
   CURATOR'S NOTE
   ===================== */
.curators-note {
  background-color: var(--dark-surface);
  border-top: 1px solid var(--dark-border);
  border-bottom: 1px solid var(--dark-border);
}

.drop-cap::first-letter {
  font-family: var(--font-serif);
  font-size: 5rem;
  font-weight: 700;
  color: var(--gold);
  float: left;
  line-height: 0.75;
  margin: 0.12rem 0.2rem 0 0;
}

.curator-signature {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--dark-border);
}

/* =====================
   ARCHITECTURAL MILESTONES
   ===================== */
.milestone-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2px;
  background-color: var(--dark-border);
}

.milestone-card {
  background-color: var(--black-silicon);
  padding: 2.5rem;
  position: relative;
  transition: background-color 0.3s ease;
}

.milestone-card:hover {
  background-color: var(--dark-surface);
}

.milestone-era {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
  display: block;
}

.milestone-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--marble-white);
  margin-bottom: 1rem;
  line-height: 1.25;
}

.milestone-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 1.25rem;
}

.milestone-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.milestone-number {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-family: var(--font-mono);
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--gold-dim);
  line-height: 1;
}

/* =====================
   SEMICONDUCTOR DICTIONARY BANNER
   ===================== */
.dict-banner {
  position: relative;
  overflow: hidden;
  min-height: 340px;
  display: flex;
  align-items: center;
}

.dict-banner-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.25;
}

.dict-banner-content {
  position: relative;
  z-index: 2;
  padding: 4rem 0;
}

.dict-banner-content h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  margin-bottom: 1rem;
}

/* =====================
   VIRTUAL EXHIBITS
   ===================== */
.exhibit-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 400px;
  background-color: var(--dark-border);
}

.exhibit-preview-img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  min-height: 320px;
}

.exhibit-preview-text {
  background-color: var(--dark-surface);
  padding: 3.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* =====================
   FEATURED JOURNALS
   ===================== */
.journal-list {
  list-style: none;
  padding: 0;
}

.journal-list li {
  border-bottom: 1px solid var(--dark-border);
  padding: 1.25rem 0;
  display: flex;
  align-items: baseline;
  gap: 1.5rem;
}

.journal-list li:first-child {
  border-top: 1px solid var(--dark-border);
}

.journal-date {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  white-space: nowrap;
  flex-shrink: 0;
  min-width: 90px;
}

.journal-title-link {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--marble-white);
  line-height: 1.35;
  transition: color 0.2s ease;
}

.journal-title-link:hover {
  color: var(--gold);
  text-decoration: none;
}

.journal-category {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-left: auto;
  flex-shrink: 0;
}

/* =====================
   ACADEMIC FAQ
   ===================== */
.faq-section {
  background-color: var(--dark-surface);
}

.faq-item {
  border-bottom: 1px solid var(--dark-border);
  padding: 1.75rem 0;
}

.faq-item:first-child {
  border-top: 1px solid var(--dark-border);
}

.faq-question {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--marble-white);
  margin-bottom: 0.75rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}

.faq-question .faq-toggle {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  color: var(--gold);
  flex-shrink: 0;
  line-height: 1;
  transition: transform 0.3s ease;
}

.faq-question.open .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 720px;
  display: none;
  padding-top: 0.5rem;
}

.faq-answer.visible {
  display: block;
}

/* =====================
   FINAL CTA
   ===================== */
.final-cta {
  text-align: center;
  padding: 6rem 0;
  border-top: 1px solid var(--dark-border);
}

.final-cta h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 1rem;
}

.final-cta p {
  max-width: 560px;
  margin: 0 auto 2.5rem;
  font-size: 1rem;
}

/* =====================
   BLOG PAGES
   ===================== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2px;
  background-color: var(--dark-border);
}

.blog-card {
  background-color: var(--black-silicon);
  transition: background-color 0.3s ease;
}

.blog-card:hover {
  background-color: var(--dark-surface);
}

.blog-card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.blog-card-body {
  padding: 1.75rem;
}

.blog-card-category {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.6rem;
  display: block;
}

.blog-card-title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--marble-white);
  line-height: 1.3;
  margin-bottom: 0.75rem;
  display: block;
}

.blog-card-title:hover {
  color: var(--gold);
}

.blog-card-excerpt {
  font-size: 0.87rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.blog-card-meta {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: #555;
  letter-spacing: 0.08em;
}

/* =====================
   ARTICLE PAGES
   ===================== */
.article-header {
  padding: 4.5rem 0 3rem;
  border-bottom: 1px solid var(--dark-border);
}

.article-category {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 1rem;
}

.article-title {
  font-size: clamp(1.8rem, 5vw, 3.2rem);
  line-height: 1.12;
  margin-bottom: 1.25rem;
}

.article-meta-row {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.article-meta-row span {
  border-left: 1px solid var(--dark-border);
  padding-left: 1rem;
}

.article-meta-row span:first-child {
  border-left: none;
  padding-left: 0;
}

.article-hero-img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  margin: 2.5rem 0;
}

.article-body {
  max-width: 740px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.article-body h2 {
  font-size: 1.75rem;
  margin: 2.5rem 0 1rem;
}

.article-body h3 {
  font-size: 1.3rem;
  margin: 2rem 0 0.75rem;
}

.article-body p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 1.4rem;
}

.article-body blockquote {
  border-left: 3px solid var(--gold);
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  background: var(--dark-surface);
}

.article-body blockquote p {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-style: italic;
  color: var(--text-secondary);
  margin: 0;
}

.article-body .data-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  margin: 2rem 0;
  color: var(--text-secondary);
}

.article-body .data-table th {
  background: var(--dark-surface);
  color: var(--gold);
  font-weight: 500;
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--dark-border);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.72rem;
}

.article-body .data-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--dark-border);
}

.article-body .data-table tr:hover td {
  background: var(--dark-surface);
}

.article-nav {
  border-top: 1px solid var(--dark-border);
  margin-top: 4rem;
  padding-top: 2.5rem;
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.article-nav-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: block;
  margin-bottom: 0.4rem;
}

.article-nav a {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--marble-white);
}

.article-nav a:hover {
  color: var(--gold);
}

/* =====================
   GLOSSARY
   ===================== */
.glossary-hero-img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  margin-bottom: 0;
}

.alpha-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 2rem 0;
  padding: 1.5rem;
  background: var(--dark-surface);
  border: 1px solid var(--dark-border);
}

.alpha-nav a {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--text-muted);
  padding: 0.3rem 0.6rem;
  border: 1px solid transparent;
  transition: all 0.2s ease;
  letter-spacing: 0.06em;
}

.alpha-nav a:hover {
  border-color: var(--gold-border);
  color: var(--gold);
  text-decoration: none;
}

.glossary-letter-section {
  margin-bottom: 3.5rem;
}

.glossary-letter-heading {
  font-family: var(--font-serif);
  font-size: 3rem;
  color: var(--gold);
  line-height: 1;
  border-bottom: 1px solid var(--dark-border);
  padding-bottom: 0.75rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.glossary-term {
  margin-bottom: 1.5rem;
  padding-left: 1.25rem;
  border-left: 2px solid var(--gold-dim);
}

.glossary-term dt {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1rem;
  color: var(--marble-white);
  margin-bottom: 0.3rem;
}

.glossary-term dd {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
}

/* =====================
   MUSEUM EXHIBITS
   ===================== */
.exhibit-card {
  border: 1px solid var(--dark-border);
  background: var(--dark-surface);
  margin-bottom: 4rem;
}

.exhibit-card-img {
  width: 100%;
  height: 380px;
  object-fit: cover;
}

.exhibit-card-body {
  padding: 2.5rem;
}

.exhibit-accession {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
  display: block;
}

.exhibit-card-title {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  margin-bottom: 0.75rem;
}

.exhibit-specs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.75rem 2rem;
  padding: 1.5rem;
  background: var(--black-silicon);
  border: 1px solid var(--dark-border);
  margin: 1.5rem 0;
}

.exhibit-spec-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 0.2rem;
}

.exhibit-spec-value {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  color: var(--marble-white);
}

/* =====================
   QUIZ
   ===================== */
.quiz-wrapper {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.quiz-img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  margin-bottom: 2rem;
}

.question-block {
  background: var(--dark-surface);
  border: 1px solid var(--dark-border);
  padding: 2rem;
  margin-bottom: 1.5rem;
}

.question-number {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 0.75rem;
}

.question-text {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--marble-white);
  margin-bottom: 1.25rem;
  line-height: 1.45;
}

.quiz-option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--dark-border);
  margin-bottom: 0.5rem;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
  background: var(--black-silicon);
}

.quiz-option:hover {
  border-color: var(--gold-border);
  background: var(--gold-dim);
}

.quiz-option.selected {
  border-color: var(--gold);
  background: var(--gold-dim);
}

.quiz-option.correct {
  border-color: #4caf50;
  background: rgba(76, 175, 80, 0.12);
}

.quiz-option.incorrect {
  border-color: #ef5350;
  background: rgba(239, 83, 80, 0.12);
}

.quiz-option input[type="radio"] {
  accent-color: var(--gold);
}

.quiz-option label {
  font-size: 0.92rem;
  color: var(--text-secondary);
  cursor: pointer;
  line-height: 1.5;
  margin: 0;
}

.quiz-result {
  display: none;
  background: var(--dark-surface);
  border: 1px solid var(--gold-border);
  padding: 2.5rem;
  text-align: center;
  margin-top: 2rem;
}

.quiz-score {
  font-family: var(--font-serif);
  font-size: 4rem;
  color: var(--gold);
  font-weight: 700;
  line-height: 1;
}

.quiz-verdict {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 0.5rem;
  display: block;
}

/* =====================
   ABOUT PAGE
   ===================== */
.about-img-full {
  width: 100%;
  height: 420px;
  object-fit: cover;
  margin-bottom: 3rem;
}

.about-stat {
  border: 1px solid var(--dark-border);
  padding: 1.75rem;
  text-align: center;
}

.about-stat-number {
  font-family: var(--font-serif);
  font-size: 2.8rem;
  color: var(--gold);
  font-weight: 700;
  line-height: 1;
  display: block;
  margin-bottom: 0.35rem;
}

.about-stat-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* =====================
   CONTACT PAGE
   ===================== */
.contact-form-group {
  margin-bottom: 1.5rem;
}

.contact-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 0.5rem;
}

.contact-input,
.contact-textarea,
.contact-select {
  width: 100%;
  background: var(--dark-surface);
  border: 1px solid var(--dark-border);
  color: var(--marble-white);
  padding: 0.85rem 1rem;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  outline: none;
  transition: border-color 0.2s ease;
  -webkit-appearance: none;
  appearance: none;
}

.contact-input:focus,
.contact-textarea:focus,
.contact-select:focus {
  border-color: var(--gold-border);
}

.contact-textarea {
  resize: vertical;
  min-height: 140px;
}

.contact-disclaimer {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-style: italic;
  line-height: 1.65;
  padding: 1rem 1.25rem;
  border-left: 2px solid var(--gold-border);
  margin-bottom: 1.5rem;
}

/* =====================
   POLICY PAGES
   ===================== */
.policy-body {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.policy-body h2 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  margin: 3rem 0 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--dark-border);
}

.policy-body h3 {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin: 1.75rem 0 0.5rem;
}

.policy-body p,
.policy-body li {
  font-size: 0.93rem;
  color: var(--text-muted);
  line-height: 1.75;
}

.policy-body ul, .policy-body ol {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.policy-body li {
  margin-bottom: 0.4rem;
}

.policy-body table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
  margin: 1.5rem 0;
  font-family: var(--font-mono);
}

.policy-body table th {
  background: var(--dark-surface);
  color: var(--gold);
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--dark-border);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.policy-body table td {
  padding: 0.65rem 1rem;
  border-bottom: 1px solid var(--dark-border);
  color: var(--text-muted);
  vertical-align: top;
}

/* =====================
   THANK YOU PAGE
   ===================== */
.thankyou-wrap {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 1.5rem;
}

.thankyou-icon {
  font-family: var(--font-mono);
  font-size: 3rem;
  color: var(--gold);
  display: block;
  margin-bottom: 1.5rem;
  line-height: 1;
}

/* =====================
   PARTNERSHIP PAGE
   ===================== */
.partnership-img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  margin-bottom: 2.5rem;
}

.partnership-tier {
  border: 1px solid var(--dark-border);
  padding: 2rem;
  background: var(--dark-surface);
  margin-bottom: 1.5rem;
}

.partnership-tier-title {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--marble-white);
  margin-bottom: 0.5rem;
}

.partnership-tier-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 0.75rem;
}

/* =====================
   PARALLAX
   ===================== */
.parallax-block {
  position: relative;
  overflow: hidden;
  min-height: 380px;
}

.parallax-bg {
  position: absolute;
  inset: -60px 0;
  width: 100%;
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  will-change: transform;
}

.parallax-overlay {
  position: absolute;
  inset: 0;
  background: rgba(18, 18, 18, 0.72);
  z-index: 1;
}

.parallax-content {
  position: relative;
  z-index: 2;
  padding: 5rem 0;
  text-align: center;
}

/* =====================
   RESPONSIVE
   ===================== */
@media (max-width: 991px) {
  .museum-hero {
    min-height: auto;
    flex-direction: column;
    padding: 3rem 0;
  }
  .hero-left {
    padding-right: 0;
    margin-bottom: 2rem;
  }
  .exhibit-preview {
    grid-template-columns: 1fr;
  }
  .exhibit-preview-text {
    padding: 2.5rem;
  }
  .hero-masonry .img-hero-main {
    height: 200px;
  }
  .hero-masonry .img-hero-sub {
    height: 140px;
  }
}

@media (max-width: 767px) {
  .section-pad {
    padding: 3.5rem 0;
  }
  .milestone-grid {
    grid-template-columns: 1fr;
  }
  .journal-list li {
    flex-wrap: wrap;
    gap: 0.4rem;
  }
  .journal-category {
    margin-left: 0;
  }
  .article-hero-img {
    height: 260px;
  }
  .exhibit-card-img {
    height: 240px;
  }
  .about-img-full {
    height: 260px;
  }
  .partnership-img {
    height: 220px;
  }
  #cookie-banner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 575px) {
  .hero-title {
    font-size: 2.5rem;
  }
  .alpha-nav a {
    font-size: 0.75rem;
    padding: 0.25rem 0.45rem;
  }
  .quiz-img {
    height: 200px;
  }
}
