/* Floating Pill Header (header_idx: 3) */
.ghh-pill-header {
  position: sticky;
  top: 0;
  z-index: 900;
  padding: 0.75rem 1rem 0.45rem;
  background: linear-gradient(180deg, rgba(247, 246, 250, 0.96) 65%, rgba(247, 246, 250, 0));
}
.ghh-pill-frame {
  width: min(100%, var(--ghh-container));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  padding: 0.5rem 0.85rem 0.5rem 0.7rem;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--ghh-rule);
  border-radius: var(--ghh-radius-pill);
  box-shadow: var(--ghh-shadow-pill);
  backdrop-filter: blur(8px);
}
.ghh-brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--ghh-ink);
  flex-shrink: 0;
}
.ghh-brand-emblem { border-radius: 10px; flex-shrink: 0; }
.ghh-brand-words { display: flex; flex-direction: column; line-height: 1.15; }
.ghh-brand-title { font-family: var(--ghh-font-display); font-size: 1.04rem; color: var(--ghh-ink); }
.ghh-brand-sub { font-size: 0.69rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ghh-ink-muted); }

.ghh-primary-nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}
.ghh-nav-link {
  padding: 0.48rem 0.72rem;
  border-radius: var(--ghh-radius-pill);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ghh-ink-muted);
  white-space: nowrap;
}
.ghh-nav-link:hover, .ghh-nav-link.is-current {
  background: var(--ghh-primary-soft);
  color: var(--ghh-primary);
}

.ghh-header-utility {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-shrink: 0;
}
.ghh-rivet-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 40px;
  padding: 0.35rem 0.75rem;
  border-radius: var(--ghh-radius-pill);
  background: var(--ghh-surface-warm);
  border: 1px solid #E3CE8B;
  text-decoration: none;
  color: var(--ghh-ink);
  font-size: 0.84rem;
  font-weight: 700;
}
.ghh-rivet-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--ghh-brass);
  flex-shrink: 0;
}
.ghh-rivet-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ghh-brass-ink);
  padding-left: 0.25rem;
  border-left: 1px solid #E3CE8B;
}
.ghh-auth-slot { display: inline-flex; align-items: center; gap: 0.35rem; }
.ghh-burger-btn {
  display: none;
  min-width: 44px;
  min-height: 44px;
  border-radius: var(--ghh-radius-pill);
  border: 1px solid var(--ghh-rule);
  background: var(--ghh-surface);
  color: var(--ghh-ink);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.ghh-mobile-drawer {
  width: min(100%, var(--ghh-container));
  margin: 0.55rem auto 0;
  background: var(--ghh-surface);
  border: 1px solid var(--ghh-rule);
  border-radius: var(--ghh-radius-lg);
  box-shadow: var(--ghh-shadow-pill);
  padding: 1.15rem;
}
.ghh-drawer-inner { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.ghh-drawer-group { display: flex; flex-direction: column; gap: 0.35rem; }
.ghh-drawer-eyebrow {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: var(--ghh-brass-ink);
  margin-bottom: 0.25rem;
}
.ghh-drawer-group a {
  padding: 0.42rem 0.5rem;
  border-radius: var(--ghh-radius-sm);
  text-decoration: none;
  color: var(--ghh-ink);
  font-weight: 500;
}
.ghh-drawer-group a:hover { background: var(--ghh-surface-alt); color: var(--ghh-primary); }

/* Main & Museum Sections */
.ghh-main-stage { padding-bottom: 3.5rem; }
.ghh-section { padding: 2.75rem 0; border-top: 1px solid var(--ghh-rule); }
.ghh-section-plain { padding: 2.75rem 0; }
.ghh-section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.6rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--ghh-rule);
}
.ghh-section-head p { margin: 0; max-width: 60ch; color: var(--ghh-ink-muted); }

/* Hero Type 2: Split Hero with Live Embedded Open Slot */
.ghh-hero-split {
  padding: 1.75rem 0 2.75rem;
}
.ghh-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.18fr);
  gap: 2rem;
  align-items: start;
}
.ghh-hero-copy {
  padding: 1.5rem;
  background: var(--ghh-surface);
  border: 1px solid var(--ghh-rule);
  border-radius: var(--ghh-radius-lg);
  box-shadow: var(--ghh-shadow-card);
}
.ghh-hero-lead { font-size: 1.04rem; color: var(--ghh-ink-muted); margin-bottom: 1.25rem; }
.ghh-hero-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-bottom: 1.5rem; }
.ghh-hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--ghh-rule);
}
.ghh-stat-cell strong { display: block; font-family: var(--ghh-font-display); font-size: 1.28rem; color: var(--ghh-primary); }
.ghh-stat-cell span { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ghh-ink-muted); }
.ghh-mascot-strip {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: 1.25rem;
  padding: 0.8rem 0.95rem;
  background: var(--ghh-surface-warm);
  border: 1px solid #E3CE8B;
  border-radius: var(--ghh-radius-md);
}
.ghh-mascot-strip img { width: 46px; height: 46px; flex-shrink: 0; }
.ghh-mascot-strip p { margin: 0; font-size: 0.86rem; color: var(--ghh-ink); }

/* Page Header / Breadcrumbs */
.ghh-page-banner {
  padding: 1.8rem 0 1.6rem;
  border-bottom: 1px solid var(--ghh-rule);
  background: linear-gradient(180deg, #FFFFFF 0%, var(--ghh-canvas) 100%);
}
.ghh-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.84rem;
  color: var(--ghh-ink-muted);
  margin-bottom: 0.75rem;
}
.ghh-breadcrumbs a { text-decoration: none; color: var(--ghh-primary); }

/* Museum Catalogue Grids & Cards */
.ghh-grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.ghh-grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.ghh-grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.15rem; }
.ghh-grid-5 { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; }

.ghh-plate-card {
  display: flex;
  flex-direction: column;
  background: var(--ghh-surface);
  border: 1px solid var(--ghh-rule);
  border-radius: var(--ghh-radius-md);
  overflow: hidden;
  box-shadow: var(--ghh-shadow-card);
  transition: border-color 0.16s ease, transform 0.16s ease;
}
.ghh-plate-card:hover { border-color: var(--ghh-primary); transform: translateY(-2px); }
.ghh-card-media { position: relative; aspect-ratio: 16 / 10; background: var(--ghh-cabinet); overflow: hidden; }
.ghh-card-media img { width: 100%; height: 100%; object-fit: cover; }
.ghh-fav-btn {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  min-width: 38px;
  min-height: 38px;
  border-radius: var(--ghh-radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(20, 18, 41, 0.82);
  color: #FFFFFF;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}
.ghh-fav-btn.is-active { background: var(--ghh-brass-bright); color: var(--ghh-ink); border-color: var(--ghh-brass); }
.ghh-card-body { padding: 1rem 1.05rem 1.1rem; display: flex; flex-direction: column; flex: 1; }
.ghh-card-meta { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-bottom: 0.55rem; }
.ghh-card-title { font-family: var(--ghh-font-display); font-size: 1.12rem; margin: 0 0 0.4rem; }
.ghh-card-title a { text-decoration: none; color: var(--ghh-ink); }
.ghh-card-title a:hover { color: var(--ghh-primary); }
.ghh-card-desc { font-size: 0.89rem; color: var(--ghh-ink-muted); margin-bottom: 0.9rem; flex: 1; }
.ghh-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--ghh-rule);
}

.ghh-panel {
  background: var(--ghh-surface);
  border: 1px solid var(--ghh-rule);
  border-radius: var(--ghh-radius-lg);
  padding: 1.45rem;
  box-shadow: var(--ghh-shadow-card);
}

/* Catalog Top Pill Filter Bar (catalog_nav_idx: 1) */
.ghh-filter-bar {
  background: var(--ghh-surface);
  border: 1px solid var(--ghh-rule);
  border-radius: var(--ghh-radius-lg);
  padding: 1.15rem;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
.ghh-filter-top { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 0.75fr)); gap: 0.75rem; }
.ghh-pill-row { display: flex; flex-wrap: wrap; gap: 0.45rem; align-items: center; }
.ghh-filter-pill {
  min-height: 38px;
  padding: 0.35rem 0.85rem;
  border-radius: var(--ghh-radius-pill);
  border: 1px solid var(--ghh-rule-strong);
  background: var(--ghh-canvas);
  color: var(--ghh-ink);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
}
.ghh-filter-pill.is-selected {
  background: var(--ghh-primary);
  border-color: var(--ghh-primary);
  color: #FFFFFF;
}

/* FAQ Accordion */
.ghh-faq-list { display: flex; flex-direction: column; gap: 0.65rem; }
.ghh-faq-item {
  background: var(--ghh-surface);
  border: 1px solid var(--ghh-rule);
  border-radius: var(--ghh-radius-md);
  padding: 0.15rem 1.1rem;
}
.ghh-faq-item summary {
  padding: 0.9rem 0;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
}
.ghh-faq-item summary::-webkit-details-marker { display: none; }
.ghh-faq-item summary::after { content: '+'; font-size: 1.25rem; color: var(--ghh-primary); font-weight: 400; }
.ghh-faq-item[open] summary::after { content: '−'; }
.ghh-faq-item p { padding-bottom: 0.9rem; margin: 0; color: var(--ghh-ink-muted); }

/* Colophon Footer (footer_idx: 4) */
.ghh-colophon-footer {
  background: var(--ghh-surface);
  border-top: 2px solid var(--ghh-ink);
  margin-top: 2rem;
}
.ghh-footer-quickband {
  padding: 2.3rem 0;
  border-bottom: 1px solid var(--ghh-rule);
  background: var(--ghh-surface-alt);
}
.ghh-quickband-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; }
.ghh-footer-heading {
  font-family: var(--ghh-font-body);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ghh-brass-ink);
  margin-bottom: 0.75rem;
}
.ghh-footer-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.42rem; }
.ghh-footer-list a { text-decoration: none; font-size: 0.9rem; color: var(--ghh-ink); }
.ghh-footer-list a:hover { color: var(--ghh-primary); text-decoration: underline; }

.ghh-footer-colophon { padding: 1.85rem 0 2.2rem; }
.ghh-colophon-grid { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.35fr); gap: 2rem; align-items: start; }
.ghh-colophon-mark { display: flex; align-items: center; gap: 0.55rem; margin-bottom: 0.65rem; }
.ghh-colophon-mark span { color: var(--ghh-ink-muted); font-size: 0.88rem; }
.ghh-colophon-address { font-style: normal; font-size: 0.88rem; color: var(--ghh-ink-muted); margin-bottom: 0.95rem; line-height: 1.55; }
.ghh-colophon-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.85rem; }
.ghh-colophon-copy { font-size: 0.82rem; color: var(--ghh-ink-muted); }
.ghh-colophon-disclaimer {
  padding: 1rem 1.15rem;
  border-left: 3px solid var(--ghh-brass);
  background: var(--ghh-canvas);
  border-radius: 0 var(--ghh-radius-md) var(--ghh-radius-md) 0;
  font-size: 0.85rem;
  color: var(--ghh-ink-muted);
}
.ghh-colophon-disclaimer p { margin: 0; }

/* Consent Bar, Modals & Toasts */
.ghh-consent-bar {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 1200;
  max-width: 1120px;
  margin-inline: auto;
  background: var(--ghh-surface);
  border: 2px solid var(--ghh-primary);
  border-radius: var(--ghh-radius-lg);
  box-shadow: 0 18px 42px rgba(22, 20, 43, 0.2);
  padding: 1.05rem 1.25rem;
}
.ghh-consent-bar[hidden] { display: none; }
.ghh-consent-bar-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.ghh-consent-copy { flex: 1 1 380px; }
.ghh-consent-copy p { margin: 0.25rem 0 0; font-size: 0.88rem; color: var(--ghh-ink-muted); }
.ghh-consent-buttons { display: flex; flex-wrap: wrap; gap: 0.5rem; }

.ghh-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1300;
  background: rgba(20, 18, 41, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.ghh-modal-backdrop[hidden] { display: none; }
.ghh-modal-sheet {
  width: min(100%, 560px);
  max-height: 90vh;
  overflow-y: auto;
  background: var(--ghh-surface);
  border: 1px solid var(--ghh-rule);
  border-radius: var(--ghh-radius-lg);
  box-shadow: 0 24px 50px rgba(20, 18, 41, 0.28);
}
.ghh-modal-head, .ghh-modal-foot {
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.ghh-modal-head { border-bottom: 1px solid var(--ghh-rule); }
.ghh-modal-head h2 { margin: 0; font-size: 1.25rem; }
.ghh-modal-body { padding: 1.2rem 1.25rem; }
.ghh-modal-foot { border-top: 1px solid var(--ghh-rule); justify-content: flex-end; flex-wrap: wrap; }

.ghh-pref-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
  border-top: 1px solid var(--ghh-rule);
}
.ghh-pref-row p { margin: 0.2rem 0 0; }
.ghh-switch { display: inline-flex; align-items: center; gap: 0.45rem; font-size: 0.84rem; font-weight: 600; white-space: nowrap; }
.ghh-switch input { width: 18px; height: 18px; accent-color: var(--ghh-primary); }

.ghh-toast-stack {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 1250;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-width: min(360px, calc(100vw - 2rem));
}
.ghh-toast {
  background: var(--ghh-ink);
  color: #FFFFFF;
  padding: 0.78rem 1rem;
  border-radius: var(--ghh-radius-md);
  border-left: 4px solid var(--ghh-brass-bright);
  font-size: 0.88rem;
  box-shadow: 0 10px 24px rgba(20, 18, 41, 0.25);
}

/* Responsive Breakpoints (320px to 1920px) */
@media (max-width: 1120px) {
  .ghh-primary-nav { display: none; }
  .ghh-burger-btn { display: inline-flex; }
  .ghh-hero-grid { grid-template-columns: 1fr; }
  .ghh-grid-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ghh-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .ghh-grid-3, .ghh-grid-2, .ghh-quickband-grid, .ghh-colophon-grid, .ghh-drawer-inner {
    grid-template-columns: 1fr;
  }
  .ghh-grid-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ghh-filter-top { grid-template-columns: 1fr; }
  .ghh-auth-slot { display: none; }
  .ghh-brand-sub { display: none; }
  .ghh-pill-frame { border-radius: var(--ghh-radius-lg); padding: 0.45rem 0.65rem; }
}
@media (max-width: 480px) {
  .ghh-grid-5, .ghh-grid-4 { grid-template-columns: 1fr; }
  .ghh-hero-stats { grid-template-columns: 1fr; }
  .ghh-rivet-label { display: none; }
}
