/* =====================================================================
   THE COLLECTIBLE HOME FOUNDATION
   Master stylesheet — Museum-grade Classic
   --------------------------------------------------------------------
   Palette : Deep Navy / Parchment Cream / Warm Gold / Ink
   Type    : Cormorant Garamond (display)  +  Inter (UI/body)
   ===================================================================== */

:root {
  --navy:        #1B2A41;
  --navy-deep:   #0F1A2E;
  --navy-soft:   #2C3E5C;
  --parchment:   #F5EFE3;
  --cream:       #FAF6EC;
  --gold:        #B8893E;
  --gold-light:  #D4A857;
  --ink:         #1A1A1A;
  --stone:       #6F6A60;
  --border:      #E5DDC8;
  --rule:        #C9BFA6;
  --serif: "Cormorant Garamond", "EB Garamond", Georgia, serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --maxw: 1180px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section-pad: clamp(3.5rem, 8vw, 7rem);
  --radius: 2px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  font-feature-settings: "kern" 1, "liga" 1;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration: none; transition: color .25s var(--ease); }
a:hover { color: var(--gold); }
button { font: inherit; cursor: pointer; border: none; background: none; }
hr { border: 0; border-top: 1px solid var(--rule); margin: 3rem 0; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--navy);
  letter-spacing: -0.01em;
  margin: 0 0 .6em;
  line-height: 1.15;
}
h1 { font-size: clamp(2.5rem, 5.5vw, 4.5rem); font-weight: 400; }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.4rem, 2.4vw, 1.85rem); }
h4 { font-size: 1.2rem; font-weight: 600; }

p { margin: 0 0 1.1em; }
.lead {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1.5;
  color: var(--navy-deep);
  font-style: italic;
  font-weight: 400;
}
.eyebrow {
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
  display: block;
}
.rule-divider { display: inline-block; width: 60px; height: 1px; background: var(--gold); margin: 1.5rem 0; }

.container { max-width: var(--maxw); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.section { padding-top: var(--section-pad); padding-bottom: var(--section-pad); }
.section--tight { padding-top: clamp(2rem, 5vw, 4rem); padding-bottom: clamp(2rem, 5vw, 4rem); }
.section--navy { background: var(--navy); color: var(--parchment); }
.section--navy h1, .section--navy h2, .section--navy h3 { color: var(--parchment); }
.section--parchment { background: var(--parchment); }

.center { text-align: center; }
.measure { max-width: 64ch; }
.measure-narrow { max-width: 48ch; }

.site-header {
  background: rgba(250, 246, 236, 0.92);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: saturate(1.1) blur(6px);
}
.nav-row { display: flex; align-items: center; justify-content: space-between; gap: 2.5rem; padding: 1.1rem 0; }
.brand-mark { display: flex; flex-direction: column; text-decoration: none; flex-shrink: 0; min-width: 0; }
.brand-mark .brand-name {
  font-family: var(--serif); font-size: 1.35rem; font-weight: 500;
  color: var(--navy); letter-spacing: .02em; line-height: 1; white-space: nowrap;
}
.brand-mark .brand-sub {
  font-family: var(--sans); font-size: .68rem; font-weight: 600;
  letter-spacing: .25em; text-transform: uppercase; color: var(--gold);
  margin-top: .4rem; white-space: nowrap;
}
@media (max-width: 1180px) { .brand-mark .brand-sub { display: none; } }
@media (max-width: 1024px) { .brand-mark .brand-name { font-size: 1.2rem; } }
.nav-links { display: flex; gap: 1.5rem; list-style: none; margin: 0; padding: 0; flex-wrap: nowrap; }
@media (min-width: 1180px) { .nav-links { gap: 1.75rem; } }
.nav-links a {
  font-size: .85rem; font-weight: 500; letter-spacing: .08em;
  text-transform: uppercase; color: var(--navy); position: relative; padding: .35rem 0;
}
.nav-links a:hover, .nav-links a.active { color: var(--gold); }
.nav-links a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: var(--gold); }
.nav-links a.nav-cta {
  background: var(--navy); color: var(--cream);
  padding: .85rem 1.9rem; font-size: .8rem; letter-spacing: .12em;
  border-radius: var(--radius); transition: background .25s var(--ease);
}
.nav-links a.nav-cta:hover { background: var(--gold); color: var(--navy-deep); }

.menu-toggle { display: none; width: 40px; height: 40px; align-items: center; justify-content: center; color: var(--navy); }
.menu-toggle svg { width: 24px; height: 24px; }
@media (max-width: 880px) {
  .menu-toggle { display: inline-flex; }
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; background: var(--cream);
    border-bottom: 1px solid var(--border); padding: 1.5rem var(--gutter); gap: 1.25rem;
  }
  .nav-links.open { display: flex; }
  .nav-links a.nav-cta { align-self: flex-start; }
}

.hero { position: relative; background: var(--navy-deep); color: var(--parchment); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(184,137,62,0.18) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 70%, rgba(212,168,87,0.10) 0%, transparent 55%);
  pointer-events: none;
}
.hero-inner { position: relative; padding: clamp(5rem, 14vw, 11rem) var(--gutter); max-width: var(--maxw); margin: 0 auto; }
.hero-inner.has-image { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.hero-figure { display: flex; align-items: center; justify-content: center; cursor: pointer; text-decoration: none; transition: transform .35s var(--ease); }
.hero-figure:hover { transform: translateY(-3px); }
.hero-figure img {
  width: 100%; height: auto; max-height: 70vh;
  filter: drop-shadow(0 30px 50px rgba(0,0,0,0.5));
  animation: heroFloat 6s ease-in-out infinite alternate;
  transition: filter .35s var(--ease);
}
.hero-figure:hover img { filter: drop-shadow(0 35px 55px rgba(184,137,62,0.45)); }
@keyframes heroFloat { from { transform: translateY(0); } to { transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .hero-figure img { animation: none; } }
@media (max-width: 880px) { .hero-inner.has-image { grid-template-columns: 1fr; } .hero-figure { display: none; } }
.hero h1 { color: var(--parchment); max-width: 18ch; }
.hero .lead { color: rgba(245, 239, 227, 0.85); max-width: 50ch; margin-top: 1.5rem; }
.hero .eyebrow { color: var(--gold-light); }
.hero-actions { margin-top: 2.5rem; display: flex; flex-wrap: wrap; gap: 1rem; }

.btn {
  display: inline-block; padding: .95rem 2rem; font-family: var(--sans);
  font-size: .82rem; font-weight: 600; letter-spacing: .15em; text-transform: uppercase;
  border-radius: var(--radius); transition: all .25s var(--ease);
  cursor: pointer; border: 1px solid transparent; text-align: center;
}
.btn--primary { background: var(--gold); color: var(--navy-deep); }
.btn--primary:hover { background: var(--gold-light); color: var(--navy-deep); }
.btn--ghost { background: transparent; color: var(--parchment); border-color: rgba(245, 239, 227, 0.4); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-light); }
.btn--dark { background: var(--navy); color: var(--cream); }
.btn--dark:hover { background: var(--gold); color: var(--navy-deep); }
.btn--outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: var(--cream); }

.pillar-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 2.5rem; margin-top: 3rem; }
.pillar { padding: 0 .25rem; }
.pillar-num { font-family: var(--serif); font-size: 2rem; color: var(--gold); font-style: italic; display: block; margin-bottom: .25rem; }
.pillar h3 { font-size: 1.3rem; margin-bottom: .75rem; }
.pillar p { color: var(--stone); margin: 0; }

.featured-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; margin-top: 3rem; }
.featured-card { background: var(--cream); border: 1px solid var(--border); overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.featured-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -20px rgba(15, 26, 46, .25); }
.featured-card .frame { aspect-ratio: 4/3; background: var(--navy-deep); overflow: hidden; display: flex; align-items: center; justify-content: center; padding: 1.25rem; }
.featured-card .frame img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; transition: transform .8s var(--ease); box-shadow: 0 10px 30px -10px rgba(0,0,0,0.6); }
.featured-card:hover .frame img { transform: scale(1.03); }
.featured-card .meta { padding: 1.5rem 1.5rem 1.75rem; }
.featured-card .meta h4 { font-family: var(--serif); font-size: 1.4rem; font-weight: 500; margin: 0 0 .35rem; color: var(--navy); }
.featured-card .meta .artist { font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.featured-card .meta .desc { margin-top: .9rem; color: var(--stone); font-size: .94rem; }

.page-header { background: var(--navy); color: var(--parchment); padding: clamp(4rem, 10vw, 7rem) 0 clamp(3rem, 7vw, 5rem); text-align: center; }
.page-header .eyebrow { color: var(--gold-light); }
.page-header h1 { color: var(--parchment); margin-bottom: .8rem; }
.page-header p { max-width: 56ch; margin-left: auto; margin-right: auto; opacity: .85; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
@media (max-width: 760px) { .two-col { grid-template-columns: 1fr; } }

.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 3rem; margin-top: 3rem; }
.team-card { text-align: center; position: relative; }
.portrait { width: 220px; height: 220px; margin: 0 auto 1.5rem; border-radius: 50%; background: var(--parchment); border: 1px solid var(--border); overflow: hidden; position: relative; }
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.portrait--placeholder { display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--parchment), var(--border)); color: var(--gold); font-family: var(--serif); font-size: 3.5rem; font-style: italic; }
.team-card .name { font-family: var(--serif); font-size: 1.4rem; color: var(--navy); margin: 0; }
.team-card .role { font-size: .78rem; letter-spacing: .15em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin: .35rem 0 1rem; }
.team-card .bio { color: var(--stone); font-size: .95rem; max-width: 38ch; margin: 0 auto; }
.team-card.is-clickable { cursor: pointer; transition: transform .35s var(--ease); }
.team-card.is-clickable:hover { transform: translateY(-4px); }
.team-card.is-clickable .portrait { transition: box-shadow .35s var(--ease); }
.team-card.is-clickable:hover .portrait { box-shadow: 0 14px 32px -16px rgba(15, 26, 46, .35); }
.team-card.is-clickable .name { transition: color .25s var(--ease); }
.team-card.is-clickable:hover .name { color: var(--gold); }
.team-card.is-clickable a.full-link { position: absolute; inset: 0; text-indent: -9999px; z-index: 1; }
.team-card .read-more { margin-top: 1.25rem; font-size: .76rem; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; color: var(--gold); display: inline-flex; gap: .5rem; align-items: center; }
.team-card .read-more::after { content: "→"; transition: transform .25s var(--ease); }
.team-card.is-clickable:hover .read-more::after { transform: translateX(4px); }

.member-hero { background: var(--navy); color: var(--parchment); padding: clamp(4rem, 9vw, 7rem) 0 clamp(3rem, 7vw, 5rem); }
.member-hero-grid { display: grid; grid-template-columns: 320px 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
@media (max-width: 720px) { .member-hero-grid { grid-template-columns: 1fr; text-align: center; } }
.member-hero .portrait { width: 320px; height: 320px; border: 1px solid rgba(212, 168, 87, 0.35); border-radius: 50%; overflow: hidden; margin: 0; }
@media (max-width: 720px) { .member-hero .portrait { margin: 0 auto; width: 240px; height: 240px; } }
.member-hero .portrait img { width: 100%; height: 100%; object-fit: cover; }
.member-hero h1 { color: var(--parchment); margin-bottom: .25rem; }
.member-hero .role-line { font-size: .82rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-light); font-weight: 600; margin-bottom: 1.25rem; }
.member-hero .lead { color: rgba(245, 239, 227, 0.85); }

.passion-band { background: var(--parchment); padding: 3rem 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.passion-band .quote { font-family: var(--serif); font-size: clamp(1.4rem, 2.6vw, 2rem); font-style: italic; color: var(--navy-deep); text-align: center; max-width: 50ch; margin: 0 auto; line-height: 1.4; }
.passion-band .quote::before { content: "“"; color: var(--gold); }
.passion-band .quote::after  { content: "”"; color: var(--gold); }
.passion-band .attribution { display: block; margin-top: 1rem; text-align: center; font-size: .8rem; letter-spacing: .15em; text-transform: uppercase; color: var(--gold); font-weight: 600; font-family: var(--sans); }

.lifestyle-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.25rem; margin-top: 3rem; }
.lifestyle-grid figure { margin: 0; overflow: hidden; background: var(--parchment); aspect-ratio: 1; }
.lifestyle-grid figure.tall { aspect-ratio: 3/4; }
.lifestyle-grid figure.wide { aspect-ratio: 4/3; grid-column: span 2; }
@media (max-width: 600px) { .lifestyle-grid figure.wide { grid-column: span 1; } }
.lifestyle-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.lifestyle-grid figure:hover img { transform: scale(1.04); }

.back-link { display: inline-flex; align-items: center; gap: .5rem; font-size: .8rem; letter-spacing: .15em; text-transform: uppercase; font-weight: 600; color: var(--gold-light); margin-bottom: 2rem; }
.back-link::before { content: "←"; }

.gallery-controls { display: grid; grid-template-columns: 1fr auto; gap: 1.5rem; align-items: center; margin-bottom: 3rem; padding-bottom: 1.75rem; border-bottom: 1px solid var(--border); }
@media (max-width: 720px) { .gallery-controls { grid-template-columns: 1fr; } }
.gallery-search { position: relative; }
.gallery-search input { width: 100%; padding: 1rem 1.25rem 1rem 3rem; font-family: var(--sans); font-size: 1rem; background: var(--cream); border: 1px solid var(--border); color: var(--ink); border-radius: var(--radius); transition: border-color .2s var(--ease); }
.gallery-search input:focus { outline: none; border-color: var(--gold); }
.gallery-search svg { position: absolute; left: 1.05rem; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--stone); }
.gallery-filters { display: flex; flex-wrap: wrap; gap: .5rem; }
.filter-chip { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; padding: .55rem 1.1rem; border: 1px solid var(--border); background: transparent; color: var(--stone); cursor: pointer; border-radius: 999px; transition: all .2s var(--ease); }
.filter-chip:hover { color: var(--navy); border-color: var(--navy); }
.filter-chip.active { background: var(--navy); color: var(--cream); border-color: var(--navy); }

.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 2rem; }
.gallery-item { cursor: pointer; background: var(--cream); border: 1px solid var(--border); text-decoration: none; color: inherit; display: block; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.gallery-item:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -22px rgba(15, 26, 46, .3); }
.gallery-item .frame { aspect-ratio: 4/3; overflow: hidden; background: var(--navy-deep); display: flex; align-items: center; justify-content: center; padding: 1rem; }
.gallery-item .frame img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; transition: transform .8s var(--ease); box-shadow: 0 8px 22px -8px rgba(0,0,0,.6); }
.gallery-item:hover .frame img { transform: scale(1.03); }
/* Mobile: drop the fixed aspect ratio AND the flex/overflow constraints so each tile takes the true natural shape of its image — zero cropping, zero letterboxing. The image's intrinsic height drives the tile height. */
@media (max-width: 720px) {
  .gallery-item .frame {
    aspect-ratio: auto;
    display: block;
    overflow: visible;
    padding: 1rem;
    height: auto;
    min-height: 0;
  }
  .gallery-item .frame img {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
    max-height: none;
    object-fit: contain;
  }
}
.gallery-item .info { padding: 1.25rem 1.4rem 1.5rem; }
.gallery-item .info h4 { font-family: var(--serif); font-size: 1.2rem; font-weight: 500; color: var(--navy); margin: 0 0 .25rem; }
.gallery-item .info .meta-line { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.gallery-empty { grid-column: 1 / -1; text-align: center; padding: 4rem 1rem; color: var(--stone); font-style: italic; }
.gallery-item .status-pill { display: inline-block; font-size: .68rem; letter-spacing: .15em; text-transform: uppercase; font-weight: 700; padding: .25rem .55rem; border-radius: 2px; margin-top: .6rem; }
.gallery-item .status-pill--available { background: var(--gold); color: var(--navy-deep); }
.gallery-item .status-pill--committed { background: var(--navy); color: var(--gold-light); }
.gallery-item .status-pill--placed    { background: var(--stone); color: var(--cream); }

.form-stack { display: grid; gap: 1.25rem; }
.field { display: grid; gap: .4rem; }
.field label { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: var(--navy); }
.field input, .field textarea, .field select { font-family: var(--sans); font-size: 1rem; padding: .85rem 1rem; background: var(--cream); border: 1px solid var(--border); color: var(--ink); border-radius: var(--radius); transition: border-color .2s var(--ease); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--gold); }
.field textarea { resize: vertical; min-height: 140px; }
.field--row { grid-template-columns: 1fr 1fr; gap: 1rem; display: grid; }
@media (max-width: 600px) { .field--row { grid-template-columns: 1fr; } }
.form-note { font-size: .85rem; color: var(--stone); font-style: italic; }

.event-list { display: grid; gap: 2.5rem; }
.event-row { display: grid; grid-template-columns: 130px 1fr; gap: 2rem; padding-bottom: 2.5rem; border-bottom: 1px solid var(--border); }
.event-row:last-child { border-bottom: 0; }
.event-date { font-family: var(--serif); text-align: center; border: 1px solid var(--rule); padding: 1rem .5rem; background: var(--parchment); }
.event-date .month { font-size: .8rem; letter-spacing: .15em; text-transform: uppercase; color: var(--gold); font-weight: 600; font-family: var(--sans); }
.event-date .day { font-size: 2.4rem; color: var(--navy); margin-top: .25rem; line-height: 1; }
.event-content h3 { margin: 0 0 .35rem; }
.event-content .where { font-size: .82rem; color: var(--stone); letter-spacing: .05em; }
.event-content p { margin: 1rem 0 0; color: var(--stone); }
@media (max-width: 600px) { .event-row { grid-template-columns: 100px 1fr; gap: 1.25rem; } .event-date .day { font-size: 1.8rem; } }

.donate-card { background: var(--parchment); border: 1px solid var(--border); padding: 2.5rem; display: grid; gap: 1rem; align-content: start; }
.donate-card h3 { margin: 0; }
.donate-card .pill { display: inline-block; background: var(--gold); color: var(--navy-deep); padding: .35rem .75rem; font-size: .7rem; letter-spacing: .15em; text-transform: uppercase; font-weight: 700; border-radius: var(--radius); width: max-content; }
.donate-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: 3rem; }
@media (max-width: 760px) { .donate-grid { grid-template-columns: 1fr; } }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 2rem; margin-top: 3rem; padding: 3rem 0; border-top: 1px solid rgba(245,239,227,0.2); border-bottom: 1px solid rgba(245,239,227,0.2); }
.stat { text-align: center; }
.stat .num { font-family: var(--serif); font-size: clamp(2.5rem, 5vw, 3.8rem); color: var(--gold-light); line-height: 1; display: block; }
.stat .label { display: block; margin-top: .5rem; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(245,239,227,0.8); font-weight: 600; }

.site-footer { background: var(--navy-deep); color: rgba(245,239,227,0.75); padding: 4rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 3rem; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h5 { font-family: var(--sans); font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-light); margin: 0 0 1.25rem; }
.footer-grid .footer-h5 { font-family: var(--sans); font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-light); margin: 0 0 1.25rem; }
.footer-grid a { color: rgba(245,239,227,0.75); display: block; padding: .25rem 0; font-size: .92rem; }
.footer-grid a:hover { color: var(--gold-light); }
.footer-bottom a { color: var(--gold-light); border-bottom: 1px solid rgba(212,168,87,0.3); padding-bottom: 1px; transition: color .2s, border-color .2s; }
.footer-bottom a:hover { color: var(--gold); border-bottom-color: var(--gold); }
.footer-mark { font-family: var(--serif); font-size: 1.4rem; color: var(--parchment); }
.footer-mark + p { font-size: .9rem; max-width: 32ch; margin-top: .75rem; }
.footer-bottom { margin-top: 3.5rem; padding-top: 2rem; border-top: 1px solid rgba(245,239,227,0.12); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; font-size: .82rem; color: rgba(245,239,227,0.55); }

/* ---------- Lightbox (in-page image viewer) ---------- */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(15, 26, 46, 0.94);
  display: none;
  flex-direction: column;
  align-items: center; justify-content: center;
  z-index: 200;
  padding: 4rem 2rem 2rem;
  cursor: zoom-out;
  overflow-y: auto;
}
.lightbox.open { display: flex; }
.lightbox-img {
  max-width: 92vw; max-height: 70vh;
  width: auto; height: auto;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.7);
  cursor: default; flex-shrink: 0;
}
.lightbox-caption {
  position: static;
  margin: 1.5rem auto 0;
  max-width: 68ch;
  text-align: center;
  color: rgba(245, 239, 227, 0.92);
  font-size: .92rem;
  line-height: 1.55;
  padding: 1rem 1.5rem;
  background: rgba(15, 26, 46, 0.55);
  border: 1px solid rgba(245, 239, 227, 0.12);
  border-radius: 3px;
  flex-shrink: 0;
}
.lightbox-caption strong {
  display: block;
  font-family: var(--serif);
  color: var(--gold-light);
  font-size: 1.05rem;
  font-weight: 500;
  margin-bottom: .35rem;
  letter-spacing: .01em;
}
.lightbox-caption:empty { display: none; }
@media (max-width: 600px) {
  .lightbox-img { max-height: 60vh; }
  .lightbox-caption { font-size: .85rem; padding: .85rem 1rem; }
}
.lightbox-close {
  position: absolute; top: 1.5rem; right: 1.5rem;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(245, 239, 227, .15);
  color: var(--parchment);
  border-radius: 50%; cursor: pointer;
  transition: background .2s var(--ease);
}
.lightbox-close:hover { background: var(--gold); color: var(--navy-deep); }
.lightbox-prev, .lightbox-next {
  position: absolute; top: 50%;
  transform: translateY(-50%);
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(245, 239, 227, .15);
  color: var(--parchment);
  border-radius: 50%; cursor: pointer;
  transition: background .2s var(--ease);
  user-select: none; font-size: 1.4rem;
}
.lightbox-prev { left: 1.5rem; }
.lightbox-next { right: 1.5rem; }
.lightbox-prev:hover, .lightbox-next:hover { background: var(--gold); color: var(--navy-deep); }
@media (max-width: 600px) {
  .lightbox-prev, .lightbox-next { width: 38px; height: 38px; font-size: 1.1rem; }
}

/* ---------- Natural-fit support gallery ---------- */
.natural-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; margin-top: 2.5rem; align-items: start; }
.natural-grid figure { margin: 0; background: var(--navy-deep); border: 1px solid var(--border); cursor: zoom-in; overflow: hidden; display: flex; flex-direction: column; }
.natural-grid figure .natural-frame { background: var(--navy-deep); display: flex; align-items: center; justify-content: center; padding: 1rem; min-height: 240px; flex: 1; }
.natural-grid figure img { max-width: 100%; max-height: 380px; width: auto; height: auto; object-fit: contain; transition: transform .5s var(--ease); box-shadow: 0 10px 25px -10px rgba(0,0,0,.6); }
.natural-grid figure:hover img { transform: scale(1.03); }
.natural-grid figcaption { background: var(--cream); padding: .85rem 1.1rem 1rem; font-size: .82rem; color: var(--stone); border-top: 1px solid var(--border); line-height: 1.45; }
.natural-grid figcaption strong { color: var(--navy); font-weight: 600; display: block; margin-bottom: .2rem; }

/* ---------- Inline imagery within prose ---------- */
.inline-figure { margin: 1.75rem 0; cursor: zoom-in; position: relative; z-index: 2; }
.inline-figure img { width: 100%; height: auto; display: block; border: 1px solid var(--border); background: var(--navy-deep); }
.inline-figure figcaption { margin-top: .65rem; font-size: .82rem; color: var(--stone); font-style: italic; line-height: 1.5; }
.inline-figure--right { float: right; width: clamp(220px, 38%, 360px); margin: .25rem 0 1rem 1.75rem; }
.inline-figure--left { float: left; width: clamp(220px, 38%, 360px); margin: .25rem 1.75rem 1rem 0; }
@media (max-width: 700px) { .inline-figure--right, .inline-figure--left { float: none; width: 100%; margin: 1.5rem 0; } }
.clearfix::after { content: ""; display: block; clear: both; }

/* ---------- Research / provenance components ---------- */
.research-section { padding-top: 2rem; padding-bottom: 2rem; }
.research-section h3 { font-size: 1.5rem; margin-top: 1.5rem; margin-bottom: .75rem; }
.research-section h3 .num { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--gold); margin-right: .5em; font-size: .9em; }

.provenance-list { list-style: none; padding: 0; margin: 2rem 0 0; border-left: 1px solid var(--rule); padding-left: 2rem; }
.provenance-list li { position: relative; padding: .65rem 0; font-family: var(--sans); font-size: 1rem; color: var(--ink); }
.provenance-list li::before { content: ""; position: absolute; left: -2.4rem; top: 1.05rem; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px var(--cream); }
.provenance-list li:first-child::before { background: var(--navy); }
.provenance-list li .year { font-family: var(--sans); font-size: .72rem; letter-spacing: .15em; text-transform: uppercase; color: var(--gold); font-weight: 600; display: block; margin-bottom: .15rem; }

.fact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1rem; margin: 2rem 0; }
.fact { background: var(--cream); border: 1px solid var(--border); padding: 1.25rem 1.4rem; }
.fact dt { font-family: var(--sans); font-size: .68rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.fact dd { margin: .35rem 0 0; font-family: var(--serif); font-size: 1.4rem; color: var(--navy); line-height: 1.2; }

.research-callout { background: var(--parchment); border-left: 3px solid var(--gold); padding: 1.5rem 2rem; margin: 2rem 0; font-family: var(--serif); font-style: italic; font-size: 1.2rem; color: var(--navy-deep); line-height: 1.5; }
.research-callout cite { display: block; margin-top: .8rem; font-style: normal; font-family: var(--sans); font-size: .76rem; letter-spacing: .15em; text-transform: uppercase; color: var(--gold); font-weight: 600; }

.archive-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.25rem; margin-top: 2rem; }
.archive-grid figure { margin: 0; background: var(--parchment); border: 1px solid var(--border); }
.archive-grid figure.wide { grid-column: span 2; }
@media (max-width: 600px) { .archive-grid figure.wide { grid-column: span 1; } }
.archive-grid img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
.archive-grid figcaption { padding: .9rem 1.1rem 1rem; font-size: .82rem; color: var(--stone); border-top: 1px solid var(--border); }
.archive-grid figcaption strong { display: block; color: var(--navy); font-weight: 600; margin-bottom: .15rem; }

/* ---------- Credentials table ---------- */
.cred-table { margin-top: 2rem; border-top: 1px solid var(--border); }
.cred-table .row { display: grid; grid-template-columns: 1.4fr 1fr .9fr; gap: 1.5rem; padding: 1.1rem .25rem; border-bottom: 1px solid var(--border); align-items: baseline; }
@media (max-width: 720px) { .cred-table .row { grid-template-columns: 1fr; gap: .25rem; padding: 1rem .25rem; } }
.cred-table .name { font-family: var(--serif); font-size: 1.15rem; color: var(--navy); }
.cred-table .org  { color: var(--stone); font-size: .92rem; }
.cred-table .stat { font-size: .72rem; letter-spacing: .15em; text-transform: uppercase; font-weight: 600; color: var(--gold); text-align: right; }
@media (max-width: 720px) { .cred-table .stat { text-align: left; } }

.badge-row { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.badge { display: inline-block; font-size: .72rem; letter-spacing: .15em; text-transform: uppercase; font-weight: 700; padding: .35rem .8rem; border-radius: 2px; background: var(--gold-light); color: var(--navy-deep); }
.badge--outline { background: transparent; border: 1px solid rgba(212, 168, 87, .55); color: var(--gold-light); }
a.badge, a.badge--outline { text-decoration: none; cursor: pointer; transition: background .25s, color .25s, border-color .25s, transform .15s; }
a.badge:hover { background: var(--gold); transform: translateY(-1px); }
a.badge--outline:hover { border-color: var(--gold); color: var(--gold); background: rgba(212,168,87,0.08); transform: translateY(-1px); }

/* ---------- Piece detail page ---------- */
.piece-hero { background: var(--navy); color: var(--parchment); padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(3rem, 6vw, 4.5rem); }
.piece-hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
@media (max-width: 880px) { .piece-hero-grid { grid-template-columns: 1fr; } }
.piece-hero .frame { background: var(--navy-deep); padding: 2rem; border: 1px solid rgba(212, 168, 87, 0.25); display: flex; align-items: center; justify-content: center; min-height: 360px; cursor: zoom-in; }
.piece-hero .frame img { max-width: 100%; max-height: 60vh; width: auto; height: auto; object-fit: contain; box-shadow: 0 14px 40px -12px rgba(0,0,0,0.7); }
.piece-hero h1 { color: var(--parchment); font-size: clamp(2.2rem, 4.5vw, 3.4rem); margin-bottom: .25rem; }
.piece-hero .artist-line { font-size: .85rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-light); font-weight: 600; margin-bottom: 1.25rem; }
.piece-hero .lead { color: rgba(245,239,227,0.85); }
.piece-hero .meta-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem 1.5rem; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid rgba(212, 168, 87, 0.25); font-size: .85rem; }
.piece-hero .meta-row dt { font-size: .7rem; letter-spacing: .15em; text-transform: uppercase; color: var(--gold-light); font-weight: 600; margin-bottom: .15rem; }
.piece-hero .meta-row dd { margin: 0; color: var(--parchment); }
.piece-hero .meta-row dd a { color: var(--gold-light); border-bottom: 1px dotted rgba(212,168,87,0.5); padding-bottom: 1px; transition: color .2s, border-color .2s; }
.piece-hero .meta-row dd a:hover { color: var(--gold); border-bottom-color: var(--gold); }

.piece-status { display: inline-block; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; padding: .35rem .8rem; border-radius: 2px; margin-bottom: 1rem; }
.piece-status--available { background: var(--gold); color: var(--navy-deep); }
.piece-status--committed { background: var(--gold-light); color: var(--navy-deep); }

.support-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.25rem; margin-top: 2.5rem; }
.support-grid figure { margin: 0; background: var(--parchment); aspect-ratio: 4/3; overflow: hidden; border: 1px solid var(--border); }
.support-grid figure.wide { grid-column: span 2; }
@media (max-width: 600px) { .support-grid figure.wide { grid-column: span 1; } }
.support-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.support-grid figure:hover img { transform: scale(1.04); }

.related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; margin-top: 2.5rem; }
.related-card { background: var(--cream); border: 1px solid var(--border); text-decoration: none; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.related-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px -16px rgba(15, 26, 46, .3); }
.related-card .frame { aspect-ratio: 4/3; background: var(--navy-deep); display: flex; align-items: center; justify-content: center; padding: 1rem; }
.related-card .frame img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; box-shadow: 0 8px 22px -10px rgba(0,0,0,.6); }
.related-card .info { padding: 1rem 1.2rem 1.3rem; }
.related-card .info h4 { font-family: var(--serif); font-size: 1.2rem; margin: 0 0 .2rem; color: var(--navy); }
.related-card .info .artist { font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); font-weight: 600; }

/* ---------- Brand guide page ---------- */
.swatch-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1.25rem; margin: 2rem 0; }
.swatch { border: 1px solid var(--border); }
.swatch .chip { aspect-ratio: 4/3; }
.swatch .label-row { padding: 1rem 1.1rem; font-size: .85rem; display: flex; justify-content: space-between; align-items: center; background: var(--cream); font-family: var(--sans); }
.swatch .label-row strong { color: var(--navy); font-weight: 600; }
.swatch .label-row code { color: var(--stone); font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: .85em; }

.type-spec { padding: 2rem 0; border-bottom: 1px solid var(--border); }
.type-spec:last-child { border-bottom: 0; }
.type-spec .meta { font-size: .78rem; letter-spacing: .15em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; font-weight: 600; }

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.mb-0 { margin-bottom: 0; } .mb-1 { margin-bottom: 1rem; } .mb-2 { margin-bottom: 2rem; }
.text-center { text-align: center; } .text-gold { color: var(--gold); }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------- Formspree thank-you panel + error ---------- */
.form-thanks {
  background: var(--parchment);
  border: 1px solid var(--rule);
  border-left: 4px solid var(--gold);
  padding: 2.5rem;
  text-align: center;
  max-width: 56ch;
  margin: 1rem auto;
}
.form-thanks-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy-deep);
  margin: 0 auto 1.25rem;
}
.form-thanks h3 {
  font-family: var(--serif);
  font-size: 1.6rem;
  margin: 0 0 .75rem;
  color: var(--navy);
}
.form-thanks p { color: var(--stone); margin: 0 0 .75rem; }
.form-thanks-sig {
  font-size: .85rem;
  font-style: italic;
  color: var(--stone);
  margin-top: 1.5rem !important;
}
.form-error {
  background: #fbeaea;
  color: #8a2424;
  border: 1px solid #e0b8b8;
  border-left: 3px solid #b53939;
  padding: .9rem 1.1rem;
  margin-bottom: 1rem;
  font-size: .92rem;
  border-radius: 2px;
}

/* ---------- Event detail page ---------- */
.event-hero {
  position: relative;
  background-color: var(--navy-deep);
  background-size: cover;
  background-position: center;
  color: var(--parchment);
  text-align: center;
  padding: clamp(5rem, 12vw, 9rem) var(--gutter);
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.event-hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,26,46,0.0) 0%, rgba(15,26,46,0.55) 100%);
  pointer-events: none;
}
.event-hero > * { position: relative; z-index: 1; }
.event-hero h1 {
  color: var(--parchment);
  margin: 0 auto;
  max-width: 22ch;
  text-shadow: 0 4px 18px rgba(0,0,0,0.4);
}
.event-hero .event-tag {
  font-family: var(--sans);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1.5rem;
  display: block;
}
.event-hero .event-lede {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  font-style: italic;
  color: rgba(245, 239, 227, 0.95);
  max-width: 56ch;
  margin: 1.5rem auto 0;
  line-height: 1.5;
}

.event-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem 2rem;
  max-width: 880px;
  margin: 3rem auto 0;
  padding: 2rem 0 0;
  border-top: 1px solid rgba(245, 239, 227, 0.2);
}
.event-meta dt {
  font-size: .7rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-light);
  font-weight: 600;
  margin-bottom: .25rem;
}
.event-meta dd {
  margin: 0;
  color: var(--parchment);
  font-size: 1rem;
}

.event-cost-pill {
  display: inline-block;
  margin-top: 1.5rem;
  font-size: .76rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 700;
  padding: .5rem 1rem;
  border-radius: 2px;
}
.event-cost-pill--free      { background: var(--gold);       color: var(--navy-deep); }
.event-cost-pill--ticket    { background: var(--gold-light); color: var(--navy-deep); }
.event-cost-pill--donation  { background: var(--parchment);  color: var(--navy-deep); }
.event-cost-pill--invite    { background: rgba(245,239,227,0.15); color: var(--gold-light); border: 1px solid rgba(212,168,87,0.3); }

.event-rsvp-card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-left: 4px solid var(--gold);
  padding: 2.5rem;
  max-width: 56ch;
  margin: 0 auto;
}
.event-rsvp-card h3 {
  margin-top: 0;
  text-align: center;
}
.event-rsvp-card .rsvp-note {
  text-align: center;
  font-size: .85rem;
  color: var(--stone);
  font-style: italic;
  margin-bottom: 2rem;
}

.event-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
@media (max-width: 760px) { .event-detail-grid { grid-template-columns: 1fr; } }

/* ===== Member social links (under hero lead) ===== */
.member-links { margin-top: 1.25rem; font-family: var(--sans); font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; }
.member-links a { color: var(--gold-light); text-decoration: none; border-bottom: 1px solid transparent; transition: border-color .25s, color .25s; padding: .15rem 0; }
.member-links a:hover { color: var(--gold); border-bottom-color: var(--gold); }
.member-links .dot { color: var(--gold-light); opacity: .55; margin: 0 .55rem; }

/* ===== Per-piece appraisal callout ===== */
.appraisal-band { padding: 2rem 0; background: var(--parchment); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.appraisal-card { display: flex; align-items: center; gap: 1.5rem; max-width: 720px; margin: 0 auto; padding: 0 1rem; }
.appraisal-card__photo { flex-shrink: 0; }
.appraisal-card__photo img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; border: 2px solid var(--gold-light); display: block; }
.appraisal-card__photo a { display: block; transition: transform .2s; }
.appraisal-card__photo a:hover { transform: scale(1.05); }
.appraisal-card__body { flex: 1; min-width: 0; }
.appraisal-card__eyebrow { display: block; font-family: var(--sans); font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); font-weight: 700; margin-bottom: .25rem; }
.appraisal-card__name { font-family: var(--serif); font-size: 1.2rem; color: var(--navy-deep); font-weight: 600; margin: 0 0 .15rem; }
.appraisal-card__name a { color: inherit; text-decoration: none; border-bottom: 1px solid transparent; transition: border-color .2s; }
.appraisal-card__name a:hover { border-bottom-color: var(--gold); }
.appraisal-card__meta { font-size: .85rem; color: var(--stone); margin: 0; line-height: 1.5; }
.appraisal-card__value { margin: .55rem 0 0; padding-top: .55rem; border-top: 1px dotted rgba(40,55,80,0.18); font-size: .85rem; line-height: 1.5; color: var(--navy-deep); }
.appraisal-card__value-label { display: inline-block; font-family: var(--sans); font-size: .68rem; letter-spacing: .15em; text-transform: uppercase; font-weight: 700; color: var(--navy); margin-right: .5rem; }
.appraisal-card__value-amount { font-style: italic; color: var(--stone); }
.appraisal-card__value-note { display: block; font-size: .78rem; color: var(--stone); margin-top: .15rem; font-style: normal; }
.appraisal-card__link { display: inline-block; margin-top: .5rem; font-size: .72rem; letter-spacing: .15em; text-transform: uppercase; font-weight: 600; color: var(--gold); text-decoration: none; transition: color .2s; }
.appraisal-card__link:hover { color: var(--navy); }
.appraisal-card--pending { display: block; text-align: center; font-style: italic; color: var(--stone); }
.appraisal-card--pending .appraisal-card__eyebrow { color: var(--stone); font-style: normal; }
.appraisal-card--pending p { font-size: .9rem; margin: .5rem auto 0; max-width: 540px; line-height: 1.6; }
@media (max-width: 600px) {
  .appraisal-card { flex-direction: column; text-align: center; gap: 1rem; }
}

/* === Event Ideas === */
.idea-hero { padding: clamp(3.5rem, 8vw, 6rem) 0 clamp(2.5rem, 6vw, 4.5rem); color: #fff; position: relative; overflow: hidden; }
.idea-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 80% 30%, rgba(255,255,255,0.08) 0%, transparent 50%); pointer-events: none; }
.idea-hero .container { position: relative; }
.idea-hero .eyebrow { color: rgba(255,255,255,0.85); }
.idea-hero h1 { color: #fff; font-size: clamp(2.4rem, 5vw, 3.6rem); margin: .5rem 0 1rem; }
.idea-hero .tagline { font-family: var(--serif); font-style: italic; font-size: clamp(1.15rem, 1.8vw, 1.4rem); color: rgba(255,255,255,0.95); max-width: 720px; line-height: 1.5; }
.idea-hero .back-link { color: rgba(255,255,255,0.8); border-bottom-color: rgba(255,255,255,0.4); }
.idea-hero .back-link:hover { color: #fff; border-bottom-color: rgba(255,255,255,0.9); }

.cat-tag { display: inline-block; font-family: var(--sans); font-size: .7rem; letter-spacing: .15em; text-transform: uppercase; font-weight: 700; padding: .3rem .7rem; border-radius: 2px; background: var(--navy); color: #fff; }

.idea-meta-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1.5rem; margin: 2.5rem 0; padding: 1.5rem; background: var(--parchment); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.idea-meta-grid .meta-item { font-family: var(--sans); }
.idea-meta-grid .meta-label { font-size: .68rem; letter-spacing: .15em; text-transform: uppercase; color: var(--gold); font-weight: 700; margin-bottom: .25rem; }
.idea-meta-grid .meta-value { font-family: var(--serif); font-size: 1.1rem; color: var(--navy-deep); font-weight: 500; }

.progress { margin: 2rem 0; max-width: 720px; }
.progress__label { display: flex; justify-content: space-between; align-items: baseline; font-family: var(--sans); font-size: .85rem; margin-bottom: .55rem; }
.progress__current { font-weight: 700; color: var(--navy-deep); }
.progress__threshold { color: var(--stone); font-size: .8rem; }
.progress__track { background: rgba(40,55,80,0.08); height: 12px; border-radius: 6px; overflow: hidden; }
.progress__bar { height: 100%; background: var(--navy); transition: width .6s; }
.progress__bar--complete { background: #2E7D32 !important; }
.progress__hint { font-size: .82rem; color: var(--stone); margin-top: .55rem; font-style: italic; }

.partners-list { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.25rem 0; }
.partners-list a { font-family: var(--sans); font-size: .82rem; padding: .45rem .85rem; border: 1px solid var(--gold-light); border-radius: 2px; color: var(--navy-deep); text-decoration: none; transition: background .25s, color .25s, border-color .25s; }
.partners-list a:hover { background: var(--gold-light); color: var(--navy-deep); }

/* Catalog page */
.idea-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.25rem; margin-top: 2rem; }
.idea-card { background: #fff; border: 1px solid var(--border); border-top: 4px solid var(--navy); padding: 1.5rem; transition: transform .2s, box-shadow .2s; text-decoration: none; color: inherit; display: flex; flex-direction: column; }
.idea-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px -8px rgba(0,0,0,0.15); }
.idea-card h4 { font-size: 1.15rem; color: var(--navy-deep); margin: .5rem 0; line-height: 1.3; }
.idea-card p { font-size: .9rem; color: var(--stone); line-height: 1.5; flex: 1; margin: 0 0 .75rem; }
.idea-card .card-meta { font-family: var(--sans); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.idea-card .card-progress { margin-top: 1rem; padding-top: .75rem; border-top: 1px dotted var(--border); }
.idea-card .card-progress-text { display: flex; justify-content: space-between; font-family: var(--sans); font-size: .75rem; color: var(--navy); margin-bottom: .35rem; }
.idea-card .card-progress-track { background: rgba(40,55,80,0.08); height: 6px; border-radius: 3px; overflow: hidden; }
.idea-card .card-progress-bar { height: 100%; background: var(--navy); transition: width .4s; }

.featured-row { background: var(--parchment); padding: 2.5rem 0; margin-bottom: 2rem; }
.featured-row h3 { font-size: 1.6rem; color: var(--navy-deep); margin-bottom: 1.5rem; }

/* Anchor Partnerships */
.cat-partnerships { --cat-color: #1a2a48; --cat-accent: #d4a857; --cat-bg: linear-gradient(135deg, #1a2a48 0%, #2c3e5e 100%); }
.cat-partnerships .idea-hero { background: linear-gradient(135deg, #1a2a48 0%, #2c3e5e 100%); }
.cat-partnerships .idea-card { border-top: 4px solid #1a2a48; }
.cat-partnerships .cat-tag { background: #1a2a48; color: #fff; }
.cat-partnerships .progress__bar { background: #1a2a48; }

/* Recurring Programs */
.cat-recurring { --cat-color: #5b4423; --cat-accent: #d4a857; --cat-bg: linear-gradient(135deg, #5b4423 0%, #8b7548 100%); }
.cat-recurring .idea-hero { background: linear-gradient(135deg, #5b4423 0%, #8b7548 100%); }
.cat-recurring .idea-card { border-top: 4px solid #5b4423; }
.cat-recurring .cat-tag { background: #5b4423; color: #fff; }
.cat-recurring .progress__bar { background: #5b4423; }

/* America 250 */
.cat-america-250 { --cat-color: #9c1d1d; --cat-accent: #1d3a8a; --cat-bg: linear-gradient(135deg, #9c1d1d 0%, #b03333 50%, #1d3a8a 100%); }
.cat-america-250 .idea-hero { background: linear-gradient(135deg, #9c1d1d 0%, #b03333 50%, #1d3a8a 100%); }
.cat-america-250 .idea-card { border-top: 4px solid #9c1d1d; }
.cat-america-250 .cat-tag { background: #9c1d1d; color: #fff; }
.cat-america-250 .progress__bar { background: #9c1d1d; }

/* Vault Visits */
.cat-vault-visits { --cat-color: #0d1929; --cat-accent: #b8945c; --cat-bg: linear-gradient(135deg, #0d1929 0%, #1a2a48 100%); }
.cat-vault-visits .idea-hero { background: linear-gradient(135deg, #0d1929 0%, #1a2a48 100%); }
.cat-vault-visits .idea-card { border-top: 4px solid #0d1929; }
.cat-vault-visits .cat-tag { background: #0d1929; color: #fff; }
.cat-vault-visits .progress__bar { background: #0d1929; }

/* Collector Nights & Salons */
.cat-collector-nights { --cat-color: #5c1f2a; --cat-accent: #c9a36b; --cat-bg: linear-gradient(135deg, #5c1f2a 0%, #8a2f3e 100%); }
.cat-collector-nights .idea-hero { background: linear-gradient(135deg, #5c1f2a 0%, #8a2f3e 100%); }
.cat-collector-nights .idea-card { border-top: 4px solid #5c1f2a; }
.cat-collector-nights .cat-tag { background: #5c1f2a; color: #fff; }
.cat-collector-nights .progress__bar { background: #5c1f2a; }

/* Educational Programs */
.cat-educational { --cat-color: #3a5743; --cat-accent: #d4a857; --cat-bg: linear-gradient(135deg, #3a5743 0%, #5d7d68 100%); }
.cat-educational .idea-hero { background: linear-gradient(135deg, #3a5743 0%, #5d7d68 100%); }
.cat-educational .idea-card { border-top: 4px solid #3a5743; }
.cat-educational .cat-tag { background: #3a5743; color: #fff; }
.cat-educational .progress__bar { background: #3a5743; }

/* Speaker Series */
.cat-speakers { --cat-color: #34495e; --cat-accent: #d4a857; --cat-bg: linear-gradient(135deg, #34495e 0%, #5d7488 100%); }
.cat-speakers .idea-hero { background: linear-gradient(135deg, #34495e 0%, #5d7488 100%); }
.cat-speakers .idea-card { border-top: 4px solid #34495e; }
.cat-speakers .cat-tag { background: #34495e; color: #fff; }
.cat-speakers .progress__bar { background: #34495e; }

/* Community Service */
.cat-community { --cat-color: #a8553d; --cat-accent: #f5efe3; --cat-bg: linear-gradient(135deg, #a8553d 0%, #c87358 100%); }
.cat-community .idea-hero { background: linear-gradient(135deg, #a8553d 0%, #c87358 100%); }
.cat-community .idea-card { border-top: 4px solid #a8553d; }
.cat-community .cat-tag { background: #a8553d; color: #fff; }
.cat-community .progress__bar { background: #a8553d; }

/* Fundraising */
.cat-fundraising { --cat-color: #1f4d3a; --cat-accent: #d4a857; --cat-bg: linear-gradient(135deg, #1f4d3a 0%, #3a7559 100%); }
.cat-fundraising .idea-hero { background: linear-gradient(135deg, #1f4d3a 0%, #3a7559 100%); }
.cat-fundraising .idea-card { border-top: 4px solid #1f4d3a; }
.cat-fundraising .cat-tag { background: #1f4d3a; color: #fff; }
.cat-fundraising .progress__bar { background: #1f4d3a; }

/* Quirky & Signature */
.cat-signature { --cat-color: #b8623a; --cat-accent: #1a2a48; --cat-bg: linear-gradient(135deg, #b8623a 0%, #d6885d 100%); }
.cat-signature .idea-hero { background: linear-gradient(135deg, #b8623a 0%, #d6885d 100%); }
.cat-signature .idea-card { border-top: 4px solid #b8623a; }
.cat-signature .cat-tag { background: #b8623a; color: #fff; }
.cat-signature .progress__bar { background: #b8623a; }

/* === Hero CTA button on event-idea pages — scrolls to form === */
.hero-cta { display: inline-flex; align-items: center; gap: .5rem; margin-top: 1.75rem; background: rgba(255,255,255,0.96); color: var(--navy-deep); padding: .85rem 1.65rem; border-radius: 3px; font-family: var(--sans); font-size: .85rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; box-shadow: 0 6px 18px -4px rgba(0,0,0,0.25); transition: transform .2s, box-shadow .2s, background .2s; }
.hero-cta:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -6px rgba(0,0,0,0.3); background: #fff; }
.hero-cta__arrow { font-size: 1rem; line-height: 1; opacity: .8; transition: transform .2s; }
.hero-cta:hover .hero-cta__arrow { transform: translateY(2px); opacity: 1; }
.vote-section { scroll-margin-top: 1.5rem; }

/* === Next-upcoming-event banner on events.html === */
.next-event-banner { background: linear-gradient(135deg, var(--navy-deep) 0%, #2c3e5e 100%); color: var(--parchment); padding: 2rem 0; position: relative; overflow: hidden; }
.next-event-banner::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 85% 30%, rgba(212,168,87,0.15) 0%, transparent 55%); pointer-events: none; }
.next-event-banner .container { position: relative; }
.next-event-banner__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 1.75rem; justify-content: space-between; }
.next-event-banner__date { display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 92px; padding: .85rem 1rem; background: rgba(212,168,87,0.18); border: 2px solid var(--gold); border-radius: 3px; flex-shrink: 0; }
.next-event-banner__month { font-family: var(--sans); font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 700; color: var(--gold); }
.next-event-banner__day { font-family: var(--serif); font-size: 2.4rem; line-height: 1; font-weight: 600; color: var(--parchment); margin-top: .15rem; }
.next-event-banner__body { flex: 1; min-width: 280px; }
.next-event-banner__eyebrow { font-family: var(--sans); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; color: var(--gold-light); margin-bottom: .25rem; }
.next-event-banner__title { font-family: var(--serif); font-size: clamp(1.35rem, 2.2vw, 1.75rem); color: var(--parchment); margin: 0 0 .35rem; line-height: 1.2; }
.next-event-banner__where { font-family: var(--sans); font-size: .85rem; color: rgba(245,239,227,0.78); margin: 0; }
.next-event-banner__cta { display: inline-flex; align-items: center; gap: .5rem; padding: .8rem 1.5rem; background: var(--gold); color: var(--navy-deep); font-family: var(--sans); font-size: .82rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; border-radius: 3px; transition: transform .2s, background .2s; flex-shrink: 0; }
.next-event-banner__cta:hover { transform: translateY(-2px); background: var(--gold-light); }
@media (max-width: 720px) { .next-event-banner__inner { flex-direction: column; align-items: flex-start; gap: 1.25rem; } .next-event-banner__cta { align-self: stretch; justify-content: center; } }

/* Bottom-of-page Back to top button (used on event-idea + piece pages) */
.page-end-top { padding: 2rem 0; text-align: center; background: var(--parchment); border-top: 1px solid var(--border); }
.page-end-top a { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--sans); font-size: .8rem; letter-spacing: .15em; text-transform: uppercase; font-weight: 600; color: var(--gold); text-decoration: none; padding: .65rem 1.5rem; border: 1px solid var(--gold-light); border-radius: 2px; transition: background .25s, color .25s, border-color .25s, transform .15s; }
.page-end-top a:hover { background: var(--gold-light); color: var(--navy-deep); border-color: var(--gold); transform: translateY(-2px); }

/* Skip-to-main link (WCAG 2.4.1) — visible on focus only */
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 9999; padding: .75rem 1.25rem; background: var(--navy-deep); color: var(--parchment); font-family: var(--sans); font-size: .9rem; font-weight: 700; text-decoration: none; border-radius: 0 0 4px 0; }
.skip-link:focus { left: 0; outline: 3px solid var(--gold); outline-offset: 2px; }
main:focus { outline: none; }

/* Narrow-phone breakpoint (≤ 380px) — small iPhones, narrow Androids */
@media (max-width: 380px) {
  .container { padding-left: 1rem; padding-right: 1rem; }
  h1 { font-size: clamp(1.7rem, 8vw, 2.2rem) !important; }
  h2 { font-size: clamp(1.4rem, 6.5vw, 1.8rem) !important; }
  .nav-links a.nav-cta { padding: .65rem 1.2rem; font-size: .75rem; }
  .btn, .btn--primary, .btn--dark, .btn--outline { padding: .65rem 1.1rem; font-size: .8rem; letter-spacing: .1em; }
  .pillar { padding: 1.25rem; }
  .footer-grid { gap: 2rem; }
  .field--row { grid-template-columns: 1fr; gap: 0.5rem; }
  .badge-row { gap: .35rem; }
  .badge { padding: .3rem .65rem; font-size: .68rem; }
}

/* === Utility classes extracted from inline styles === */
.cat-section-tagline { font-family: var(--serif); font-size: 1.4rem; color: var(--stone); font-style: italic; }
.empty-rank-msg { color: var(--stone); font-style: italic; }
.muted { color: var(--stone); }
.cat-jump-link { color: var(--gold); text-decoration: none; border-bottom: 1px dotted rgba(212,168,87,0.4); }
.rank-help { color: var(--stone); font-size: .92rem; margin-bottom: 1rem; }
.cat-nav-hint { font-size: .85rem; color: var(--stone); font-style: italic; margin-top: .5rem; }


/* Privacy / cookie note banner — minimal, dismissible, non-blocking */
#chf-privacy-banner { position: fixed; bottom: 1rem; left: 1rem; right: 1rem; max-width: 760px; margin: 0 auto; background: var(--navy-deep); color: var(--parchment); padding: .85rem 1.25rem; border: 1px solid rgba(212,168,87,0.35); border-radius: 4px; box-shadow: 0 6px 20px -6px rgba(0,0,0,0.4); z-index: 9000; font-family: var(--sans); font-size: .85rem; transition: opacity .25s; }
.chf-privacy-banner__inner { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; justify-content: space-between; }
.chf-privacy-banner__text { flex: 1; min-width: 280px; line-height: 1.45; }
.chf-privacy-banner__text a { color: var(--gold-light); border-bottom: 1px dotted rgba(212,168,87,0.5); text-decoration: none; }
.chf-privacy-banner__text a:hover { color: var(--gold); border-bottom-color: var(--gold); }
.chf-privacy-banner__close { font-family: var(--sans); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; padding: .55rem 1.1rem; background: var(--gold); color: var(--navy-deep); border: 0; border-radius: 2px; cursor: pointer; transition: background .2s; flex-shrink: 0; }
.chf-privacy-banner__close:hover { background: var(--gold-light); }
@media (max-width: 600px) { #chf-privacy-banner { left: .5rem; right: .5rem; padding: .75rem 1rem; } }

/* Screen-reader-only — provides accessible structure without visual change */
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* h2.cat-tag — keep visual identity of the inline cat-tag pill when used as a heading */
h2.cat-tag { display: inline-block; font-family: var(--sans); font-size: .7rem !important; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; padding: .3rem .7rem !important; border-radius: 2px; margin: 0 !important; line-height: 1.2; color: #fff; }

/* === Per-category jump-button + cat-tag colors (restored) === */
.cat-btn--partnerships, h2.cat-tag.cat-partnerships, span.cat-tag.cat-partnerships { background: #1a2a48; color: #fff; }
.cat-btn--recurring, h2.cat-tag.cat-recurring, span.cat-tag.cat-recurring { background: #5b4423; color: #fff; }
.cat-btn--america-250, h2.cat-tag.cat-america-250, span.cat-tag.cat-america-250 { background: #9c1d1d; color: #fff; }
.cat-btn--vault-visits, h2.cat-tag.cat-vault-visits, span.cat-tag.cat-vault-visits { background: #0d1929; color: #fff; }
.cat-btn--collector-nights, h2.cat-tag.cat-collector-nights, span.cat-tag.cat-collector-nights { background: #5c1f2a; color: #fff; }
.cat-btn--educational, h2.cat-tag.cat-educational, span.cat-tag.cat-educational { background: #3a5743; color: #fff; }
.cat-btn--speakers, h2.cat-tag.cat-speakers, span.cat-tag.cat-speakers { background: #34495e; color: #fff; }
.cat-btn--community, h2.cat-tag.cat-community, span.cat-tag.cat-community { background: #a8553d; color: #fff; }
.cat-btn--fundraising, h2.cat-tag.cat-fundraising, span.cat-tag.cat-fundraising { background: #1f4d3a; color: #fff; }
.cat-btn--signature, h2.cat-tag.cat-signature, span.cat-tag.cat-signature { background: #b8623a; color: #fff; }
