/* ============================================================
   Cultural Heritage — Curator landing page
   A fresh editorial take for museums, galleries, archives & libraries
   Cream/parchment palette, deep navy ink, warm gold accents.
   ============================================================ */

body.ch-curator {
  --chc-cream: #f7f2ea;
  --chc-cream-light: #fbf8f1;
  --chc-paper: #ffffff;
  --chc-ink: #14233f;
  --chc-ink-soft: #2a3650;
  --chc-muted: #6e6553;
  --chc-muted-strong: #4a4538;
  --chc-gold: #b08545;
  --chc-gold-soft: #c89a55;
  --chc-gold-deep: #8a662f;
  --chc-line: rgba(20, 35, 63, 0.12);
  --chc-line-soft: rgba(20, 35, 63, 0.07);
  --chc-shadow-card: 0 22px 48px -28px rgba(20, 35, 63, 0.45),
                     0 6px 18px -12px rgba(20, 35, 63, 0.18);
  --chc-radius: 4px;

  background: var(--chc-cream);
  color: var(--chc-ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

/* Subtle paper grain — purely decorative */
body.ch-curator::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    radial-gradient(rgba(20, 35, 63, 0.018) 1px, transparent 1px),
    radial-gradient(rgba(176, 133, 69, 0.025) 1px, transparent 1px);
  background-size: 3px 3px, 7px 7px;
  background-position: 0 0, 1px 1px;
  opacity: 0.85;
}

body.ch-curator > * {
  position: relative;
  z-index: 1;
}

/* ---------- Ad header override (light theme) ---------- */
body.ch-curator .ch-ad-header {
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
  background: rgba(247, 242, 234, 0.92);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--chc-line-soft);
}

body.ch-curator .ch-ad-header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0.85rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

body.ch-curator .ch-ad-brand img {
  height: 30px;
  width: auto;
}

body.ch-curator .ch-ad-header-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  background: var(--chc-ink);
  color: var(--chc-cream);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

body.ch-curator .ch-ad-header-cta:hover {
  background: var(--chc-gold-deep);
  transform: translateY(-1px);
}

/* ---------- Page wrapper ---------- */
.chc-page {
  max-width: 100%;
  overflow: hidden;
}

/* ---------- Shared section heads ---------- */
.chc-section-head {
  max-width: 720px;
  margin: 0 auto 3rem;
}

.chc-section-head-center {
  text-align: center;
}

.chc-section-tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--chc-gold-deep);
  margin-bottom: 1rem;
  position: relative;
}

.chc-section-head-center .chc-section-tag::before,
.chc-section-head-center .chc-section-tag::after {
  content: '';
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--chc-gold);
  vertical-align: middle;
  margin: 0 0.75rem;
  opacity: 0.55;
}

.chc-section-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2rem, 4.2vw, 2.85rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--chc-ink);
  margin: 0;
}

.chc-section-sub {
  margin-top: 1rem;
  font-size: 1.05rem;
  color: var(--chc-muted-strong);
  line-height: 1.6;
}

/* ============================================================
   HERO
   ============================================================ */
.chc-hero {
  padding: clamp(3rem, 8vw, 6rem) 1.5rem clamp(3.5rem, 7vw, 5.5rem);
  position: relative;
}

.chc-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(1080px, calc(100% - 3rem));
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--chc-line), transparent);
}

.chc-hero-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  gap: clamp(2.5rem, 5vw, 4rem);
  grid-template-columns: 1fr;
  align-items: center;
}

@media (min-width: 900px) {
  .chc-hero-inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  }
}

.chc-hero-copy {
  max-width: 36rem;
}

.chc-eyebrow {
  display: inline-grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 0.65rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--chc-gold-deep);
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.chc-eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--chc-gold);
  box-shadow: 0 0 0 4px rgba(176, 133, 69, 0.18);
  margin-top: 0.35em;
}

.chc-display {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.4rem, 6.2vw, 4.25rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--chc-ink);
  margin: 0;
}

.chc-display em {
  font-style: italic;
  font-weight: 500;
  color: var(--chc-gold-deep);
  position: relative;
  white-space: normal;
}

.chc-lede {
  margin-top: 1.5rem;
  font-size: clamp(1.05rem, 1.2vw, 1.15rem);
  line-height: 1.65;
  color: var(--chc-muted-strong);
  max-width: 34rem;
}

.chc-cta-row {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.25rem;
}

.chc-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.95rem 1.4rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: transform 0.22s ease, box-shadow 0.22s ease,
              background-color 0.22s ease, color 0.22s ease;
  cursor: pointer;
}

.chc-btn-primary {
  background: var(--chc-ink);
  color: var(--chc-cream);
  box-shadow: 0 14px 30px -16px rgba(20, 35, 63, 0.55);
}

.chc-btn-primary:hover {
  background: var(--chc-gold-deep);
  transform: translateY(-2px);
  box-shadow: 0 20px 38px -16px rgba(138, 102, 47, 0.55);
}

.chc-btn-ghost {
  background: transparent;
  color: var(--chc-ink);
  padding: 0.85rem 0.25rem;
  border-radius: 0;
  position: relative;
}

.chc-btn-ghost::after {
  content: '';
  position: absolute;
  left: 0.25rem;
  right: 0.25rem;
  bottom: 0.55rem;
  height: 1px;
  background: var(--chc-ink);
  opacity: 0.6;
  transition: opacity 0.22s ease, background 0.22s ease;
}

.chc-btn-ghost:hover::after {
  opacity: 1;
  background: var(--chc-gold-deep);
}

.chc-btn-ghost:hover {
  color: var(--chc-gold-deep);
}

.chc-btn-large {
  padding: 1.1rem 1.75rem;
  font-size: 1.05rem;
}

.chc-micro {
  margin-top: 1.4rem;
  font-size: 0.825rem;
  color: var(--chc-muted);
  letter-spacing: 0.01em;
}

/* --- Hero visual: museum exhibit plate --- */
.chc-hero-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
  width: 100%;
}

.chc-plate {
  position: relative;
  width: 100%;
  max-width: 620px;
  padding: 18px;
  background: var(--chc-paper);
  border: 1px solid var(--chc-line);
  box-shadow: var(--chc-shadow-card);
  border-radius: var(--chc-radius);
}

/* Gold corner brackets — exhibit-frame feel */
.chc-plate-corner {
  position: absolute;
  width: 18px;
  height: 18px;
  border: 1.5px solid var(--chc-gold);
  pointer-events: none;
}

.chc-plate-corner-tl { top: 6px; left: 6px; border-right: 0; border-bottom: 0; }
.chc-plate-corner-tr { top: 6px; right: 6px; border-left: 0; border-bottom: 0; }
.chc-plate-corner-bl { bottom: 6px; left: 6px; border-right: 0; border-top: 0; }
.chc-plate-corner-br { bottom: 6px; right: 6px; border-left: 0; border-top: 0; }

/* Override the shared .timeline-screen tilt + dark bg for this page */
body.ch-curator .chc-plate-screen {
  background: var(--chc-paper);
  padding: 0;
  border-radius: 2px;
  box-shadow: none;
  transform: none;
  aspect-ratio: 16 / 10;
}

body.ch-curator .chc-plate-screen:hover {
  transform: none;
}

body.ch-curator .chc-plate-screen .screen-content-stack {
  background: var(--chc-cream-light);
  border-radius: 2px;
}

body.ch-curator .chc-plate-screen .screen-content-stack::before {
  padding-bottom: 62.5%;
}

body.ch-curator .chc-plate-screen .screen-loading-skeleton {
  background: linear-gradient(110deg,
    rgba(20, 35, 63, 0.04) 8%,
    rgba(20, 35, 63, 0.08) 18%,
    rgba(20, 35, 63, 0.04) 33%);
  background-size: 200% 100%;
  border-radius: inherit;
}

.chc-plate-caption {
  display: inline-flex;
  align-items: baseline;
  gap: 0.85rem;
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--chc-muted);
}

.chc-plate-no {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--chc-gold-deep);
  text-transform: none;
  letter-spacing: 0;
}

.chc-plate-text {
  position: relative;
  padding-left: 0.85rem;
}

.chc-plate-text::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 0.85rem;
  background: var(--chc-line);
}

/* ============================================================
   TRUST LOGOS
   ============================================================ */
.chc-trust {
  padding: 2.75rem 1.5rem;
}

.chc-trust-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}

.chc-trust-label {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  color: var(--chc-muted);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  position: relative;
  padding: 0 1.25rem;
}

.chc-trust-label::before,
.chc-trust-label::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 36px;
  height: 1px;
  background: var(--chc-line);
}

.chc-trust-label::before { right: 100%; }
.chc-trust-label::after { left: 100%; }

.chc-trust-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2rem 2.75rem;
}

.chc-trust-logos img {
  height: 34px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
  opacity: 0.62;
  filter: grayscale(100%) contrast(0.9);
  transition: opacity 0.25s ease, filter 0.25s ease;
}

.chc-trust-logos img:hover {
  opacity: 1;
  filter: grayscale(0%) contrast(1);
}

/* ============================================================
   PROPOSITION (editorial pull-quote)
   ============================================================ */
.chc-proposition {
  padding: clamp(3rem, 7vw, 5rem) 1.5rem;
}

.chc-proposition-inner {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

.chc-quotemark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(6rem, 12vw, 8rem);
  line-height: 0.6;
  color: var(--chc-gold);
  opacity: 0.45;
  margin: 0 0 0.5rem;
}

.chc-quote {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.45rem, 2.6vw, 2rem);
  line-height: 1.35;
  color: var(--chc-ink);
  margin: 0;
  letter-spacing: -0.005em;
}

.chc-quote em {
  font-style: italic;
  color: var(--chc-gold-deep);
}

/* ============================================================
   EXHIBIT — institution showcase
   ============================================================ */
.chc-exhibit {
  padding: clamp(3.5rem, 7vw, 5.5rem) 1.5rem;
  background: var(--chc-cream-light);
  border-top: 1px solid var(--chc-line-soft);
  border-bottom: 1px solid var(--chc-line-soft);
}

.chc-exhibit .chc-section-head {
  text-align: center;
}

.chc-exhibit-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .chc-exhibit-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1080px) {
  .chc-exhibit-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.chc-exhibit-card {
  display: flex;
  flex-direction: column;
  background: var(--chc-paper);
  border: 1px solid var(--chc-line-soft);
  border-radius: var(--chc-radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.32s ease, box-shadow 0.32s ease, border-color 0.32s ease;
  box-shadow: 0 1px 0 var(--chc-line-soft);
}

.chc-exhibit-card:hover {
  transform: translateY(-4px);
  border-color: var(--chc-gold);
  box-shadow: var(--chc-shadow-card);
}

.chc-exhibit-image {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--chc-cream);
}

.chc-exhibit-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out-cubic, ease);
}

.chc-exhibit-card:hover .chc-exhibit-image img {
  transform: scale(1.04);
}

.chc-exhibit-body {
  padding: 1.5rem 1.5rem 1.65rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  flex: 1;
}

.chc-exhibit-logo {
  height: 30px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  margin-bottom: 0.25rem;
  opacity: 0.85;
}

.chc-exhibit-logo-dark {
  filter: brightness(0) saturate(100%) invert(13%) sepia(28%) saturate(1428%) hue-rotate(186deg) brightness(94%) contrast(96%);
}

.chc-exhibit-body h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  line-height: 1.2;
  color: var(--chc-ink);
  margin: 0;
  letter-spacing: -0.005em;
}

.chc-exhibit-body p {
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--chc-muted-strong);
  margin: 0;
}

.chc-exhibit-link {
  margin-top: auto;
  padding-top: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--chc-gold-deep);
}

.chc-exhibit-link svg {
  transition: transform 0.25s ease;
}

.chc-exhibit-card:hover .chc-exhibit-link svg {
  transform: translate(2px, -2px);
}

/* ============================================================
   PILLARS — why heritage teams choose it
   ============================================================ */
.chc-pillars {
  padding: clamp(4rem, 8vw, 6rem) 1.5rem;
}

.chc-pillars-grid {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}

@media (min-width: 820px) {
  .chc-pillars-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

.chc-pillar {
  position: relative;
  padding: 2rem 1.5rem 1.75rem;
  border-top: 1px solid var(--chc-line);
}

.chc-pillar::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  width: 36px;
  height: 1px;
  background: var(--chc-gold);
}

.chc-pillar-numeral {
  display: inline-block;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 1.4rem;
  color: var(--chc-gold-deep);
  margin-bottom: 1rem;
  letter-spacing: 0.04em;
}

.chc-pillar h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.4rem;
  line-height: 1.2;
  color: var(--chc-ink);
  margin: 0 0 0.65rem;
  letter-spacing: -0.005em;
}

.chc-pillar h3 em {
  font-style: italic;
  font-weight: 500;
  color: var(--chc-gold-deep);
}

.chc-pillar p {
  font-size: 0.975rem;
  line-height: 1.6;
  color: var(--chc-muted-strong);
  margin: 0;
  max-width: 26rem;
}

/* ============================================================
   FINAL CTA
   ============================================================ */
.chc-final {
  padding: clamp(4rem, 8vw, 6.5rem) 1.5rem clamp(5rem, 8vw, 6.5rem);
  background: var(--chc-ink);
  color: var(--chc-cream);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.chc-final::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(1080px, calc(100% - 3rem));
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200, 154, 85, 0.55), transparent);
}

.chc-final::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 50% 100%, rgba(176, 133, 69, 0.22), transparent 70%),
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(20, 35, 63, 0.35), transparent 70%);
  pointer-events: none;
}

.chc-final-inner {
  position: relative;
  max-width: 640px;
  margin: 0 auto;
  z-index: 1;
}

.chc-section-tag-light {
  color: var(--chc-gold-soft);
}

.chc-section-tag-light::before,
.chc-section-tag-light::after {
  background: var(--chc-gold-soft);
  opacity: 0.5;
}

.chc-final .chc-section-tag-light {
  display: inline-block;
}

.chc-final .chc-section-tag-light::before,
.chc-final .chc-section-tag-light::after {
  content: '';
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--chc-gold-soft);
  vertical-align: middle;
  margin: 0 0.75rem;
  opacity: 0.5;
}

.chc-final-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.25rem, 5vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: var(--chc-cream-light);
  margin: 0.5rem 0 1rem;
}

.chc-final-title em {
  font-style: italic;
  font-weight: 500;
  color: var(--chc-gold-soft);
}

.chc-final-sub {
  font-size: 1.05rem;
  line-height: 1.6;
  color: rgba(247, 242, 234, 0.75);
  margin: 0 0 2rem;
}

.chc-final .chc-btn-primary {
  background: var(--chc-cream);
  color: var(--chc-ink);
  box-shadow: 0 14px 36px -12px rgba(176, 133, 69, 0.4);
}

.chc-final .chc-btn-primary:hover {
  background: var(--chc-gold-soft);
  color: var(--chc-ink);
}

.chc-final-talk {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: rgba(247, 242, 234, 0.55);
}

.chc-final-talk a {
  color: var(--chc-gold-soft);
  text-decoration: none;
  border-bottom: 1px solid rgba(200, 154, 85, 0.35);
  padding-bottom: 1px;
  transition: color 0.22s ease, border-color 0.22s ease;
}

.chc-final-talk a:hover {
  color: var(--chc-cream-light);
  border-color: var(--chc-cream-light);
}

/* ============================================================
   STICKY MOBILE CTA
   ============================================================ */
.chc-sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: var(--z-fixed);
  padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom, 0px));
  background: rgba(247, 242, 234, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--chc-line);
}

.chc-sticky-cta .chc-btn {
  width: 100%;
  justify-content: center;
  padding: 0.95rem;
}

/* ============================================================
   FOOTER override (light theme to fit page)
   ============================================================ */
body.ch-curator .footer-immersive {
  background: var(--chc-ink);
  color: rgba(247, 242, 234, 0.7);
  padding-top: 4rem;
  padding-bottom: 2rem;
}

body.ch-curator .footer-immersive .footer-section h4 {
  color: var(--chc-cream-light);
}

body.ch-curator .footer-immersive .footer-section a:hover {
  color: var(--chc-gold-soft);
}

body.ch-curator .footer-immersive .footer-social a:hover {
  background: var(--chc-gold-deep);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 720px) {
  .chc-sticky-cta {
    display: block;
  }

  .chc-final {
    padding-bottom: 6rem;
  }

  body.ch-curator .footer-immersive {
    padding-bottom: 6rem;
  }

  .chc-cta-row {
    flex-direction: column;
    align-items: stretch;
  }

  .chc-cta-row .chc-btn {
    justify-content: center;
  }

  .chc-cta-row .chc-btn-ghost {
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .chc-trust-label::before,
  .chc-trust-label::after {
    width: 22px;
  }

  .chc-trust-logos {
    gap: 1.4rem 2rem;
  }

  .chc-trust-logos img {
    height: 28px;
  }

  .chc-plate {
    padding: 14px;
  }

  .chc-plate-corner {
    width: 14px;
    height: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .chc-exhibit-card,
  .chc-exhibit-image img,
  .chc-exhibit-link svg,
  .chc-btn,
  .chc-btn-ghost::after {
    transition: none !important;
  }
}
