/* ============================================================
   JetPages — Black History Month
   Every selector is prefixed .bhm- (or scoped under .bhm) so nothing
   here can leak into the rest of the site.
   ============================================================ */

.bhm {
  --bhm-ink: #0b0a09;
  --bhm-ink-2: #120f0c;
  --bhm-ink-3: #1b1611;
  --bhm-cream: #f4ecdc;
  --bhm-cream-2: #e9dfc9;
  --bhm-dim: #c8bda6;              /* secondary text on ink  (≈10:1) */
  --bhm-dim-cream: #4a4234;        /* secondary text on cream (≈9:1) */
  --bhm-line: rgba(244, 236, 220, .18);
  --bhm-line-cream: rgba(11, 10, 9, .22);
  --bhm-gold: #f59e0b;             /* JetPages amber */
  --bhm-gold-soft: #e8c374;        /* heritage gold for text on ink */
  --bhm-gold-deep: #7a4e00;        /* gold for text on cream (≈6.4:1) */
  --bhm-red: #e5534b;              /* small marks on ink (≈5.6:1) */
  --bhm-red-deep: #a3231d;         /* on cream (≈6.9:1) */
  --bhm-display: 'Anton', 'Impact', 'Arial Narrow', sans-serif;
  --bhm-serif: 'DM Serif Display', Georgia, 'Times New Roman', serif;
  --bhm-sans: 'Quicksand', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --bhm-wrap: 1200px;
  --bhm-gutter: 24px;
  --bhm-pad: clamp(72px, 10vw, 140px);
  --bhm-h1-size: clamp(3rem, 9.4vw, 8.8rem);

  background: var(--bhm-ink);
  color: var(--bhm-cream);
  font-family: var(--bhm-sans);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
.bhm *, .bhm *::before, .bhm *::after { box-sizing: border-box; }
:where(.bhm) :where(h1, h2, h3, h4, p, ul, ol, figure) { margin: 0; padding: 0; }
:where(.bhm) :where(ul, ol) { list-style: none; }
:where(.bhm) a, :where(.bhm) a:hover, :where(.bhm) a:focus { color: inherit; text-decoration: none; }
:where(.bhm) img { display: block; max-width: 100%; height: auto; }
:where(.bhm) :where(button, input, select, textarea) { font: inherit; color: inherit; }
.bhm :focus-visible { outline: 3px solid var(--bhm-gold); outline-offset: 3px; }
.bhm-on-cream :focus-visible { outline-color: var(--bhm-ink); }
.bhm [id] { scroll-margin-top: 92px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

.bhm-wrap { width: 100%; max-width: var(--bhm-wrap); margin: 0 auto; padding: 0 var(--bhm-gutter); }
.bhm-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.bhm-skip { position: absolute; left: 16px; top: -60px; z-index: 10000; background: var(--bhm-gold); color: var(--bhm-ink); padding: 10px 16px; font-weight: 700; }
.bhm-skip:focus { top: 12px; }

/* film grain: one tiny static SVG, no animation */
.bhm-grain { position: relative; isolation: isolate; }
.bhm-grain::after {
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .09; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
.bhm-grain > * { position: relative; z-index: 1; }

/* ── Shared type ─────────────────────────────────────────── */
.bhm-eyebrow { display: flex; align-items: center; gap: 14px; font-size: .78rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--bhm-gold-soft); }
.bhm-eyebrow::before { content: ''; width: 36px; height: 2px; background: var(--bhm-gold); flex: none; }
.bhm-on-cream .bhm-eyebrow { color: var(--bhm-gold-deep); }
.bhm-on-cream .bhm-eyebrow::before { background: var(--bhm-red-deep); }
.bhm-h2 { font-family: var(--bhm-serif); font-weight: 400; font-size: clamp(2.3rem, 5.6vw, 4.6rem); line-height: 1.02; letter-spacing: -.01em; }
.bhm-h2 em { font-style: italic; color: var(--bhm-gold-soft); }
.bhm-on-cream .bhm-h2 em { color: var(--bhm-red-deep); }
.bhm-lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--bhm-dim); max-width: 60ch; }
.bhm-on-cream .bhm-lead { color: var(--bhm-dim-cream); }
.bhm-section { padding: var(--bhm-pad) 0; }
.bhm-on-cream { background: var(--bhm-cream); color: var(--bhm-ink); }
.bhm-alt { background: var(--bhm-ink-2); }

/* ── Buttons ─────────────────────────────────────────────── */
.bhm-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 28px; border: 2px solid transparent; border-radius: 2px; font-weight: 700; font-size: .95rem; letter-spacing: .06em; text-transform: uppercase; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s; text-align: center; background: transparent; -webkit-appearance: none; appearance: none; }
.bhm-btn-primary { background: var(--bhm-gold); color: var(--bhm-ink); }
.bhm-btn-primary:hover { background: var(--bhm-gold-soft); color: var(--bhm-ink); }
.bhm-btn-ghost { border-color: var(--bhm-cream); color: var(--bhm-cream); }
.bhm-btn-ghost:hover { background: var(--bhm-cream); color: var(--bhm-ink); }
.bhm-on-cream .bhm-btn-ghost { border-color: var(--bhm-ink); color: var(--bhm-ink); }
.bhm-on-cream .bhm-btn-ghost:hover { background: var(--bhm-ink); color: var(--bhm-cream); }
.bhm-on-cream .bhm-btn-primary { background: var(--bhm-ink); color: var(--bhm-cream); }
.bhm-on-cream .bhm-btn-primary:hover { background: #2a231b; color: var(--bhm-cream); }
/* the search box is a dark island inside the cream section */
.bhm-on-cream .bhm-search .bhm-btn-primary { background: var(--bhm-gold); color: var(--bhm-ink); }
.bhm-on-cream .bhm-search .bhm-btn-primary:hover { background: var(--bhm-gold-soft); color: var(--bhm-ink); }
.bhm-on-cream .bhm-search :focus-visible { outline-color: var(--bhm-gold); }
.bhm-btn i { font-size: .9em; }
.bhm-linkarrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: .04em; border-bottom: 2px solid var(--bhm-gold); padding-bottom: 2px; }
.bhm-linkarrow:hover { color: var(--bhm-gold-soft); }
.bhm-on-cream .bhm-linkarrow { border-color: var(--bhm-red-deep); }
.bhm-on-cream .bhm-linkarrow:hover { color: var(--bhm-red-deep); }

/* ── Scroll reveal (only ever hides content when JS is running) ── */
@media (prefers-reduced-motion: no-preference) {
  .bhm-js .bhm-reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s ease, transform .8s ease; }
  .bhm-js .bhm-reveal.is-in { opacity: 1; transform: none; }
}

/* ============================================================
   1. HERO
   ============================================================ */
.bhm-hero { position: relative; min-height: min(100svh, 920px); display: flex; flex-direction: column; padding: 96px 0 0; background:
    radial-gradient(1200px 600px at 78% 30%, rgba(245, 158, 11, .14), transparent 60%),
    radial-gradient(900px 500px at 5% 100%, rgba(163, 35, 29, .22), transparent 60%),
    var(--bhm-ink); overflow: hidden; }
.bhm-crumbs { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; font-size: .84rem; color: var(--bhm-dim); }
.bhm-crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; }
.bhm-crumbs li + li::before { content: '/'; margin-right: 6px; opacity: .6; }
.bhm-crumbs a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--bhm-line); }
.bhm-crumbs a:hover { color: var(--bhm-gold-soft); }
.bhm-hero-grid { flex: 1; display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, .55fr); gap: clamp(24px, 4vw, 64px); align-items: center; padding-top: clamp(28px, 5vh, 64px); padding-bottom: clamp(48px, 8vh, 96px); }
.bhm-kicker { font-size: .82rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--bhm-gold-soft); margin-bottom: clamp(18px, 3vh, 32px); display: flex; align-items: center; gap: 14px; }
.bhm-kicker::before { content: ''; width: 10px; height: 10px; background: var(--bhm-red); border-radius: 50%; flex: none; }
.bhm-h1 { font-family: var(--bhm-display); font-weight: 400; text-transform: uppercase; font-size: var(--bhm-h1-size); line-height: .92; letter-spacing: -.005em; }
.bhm-h1 span { display: block; }
.bhm-h1 .bhm-h1-a { color: var(--bhm-cream); }
.bhm-h1 .bhm-h1-b { color: var(--bhm-gold); margin-top: .02em; }
.bhm-hero-lead { margin-top: clamp(22px, 4vh, 40px); max-width: 46ch; font-size: clamp(1.08rem, 1.7vw, 1.3rem); color: var(--bhm-cream); }
.bhm-hero-cta { margin-top: clamp(26px, 4vh, 44px); display: flex; flex-wrap: wrap; gap: 14px; }

/* typographic index (stands in for a photograph until one is supplied) */
.bhm-index { border-left: 2px solid var(--bhm-gold); }
.bhm-index a { display: block; padding: 18px 0 18px clamp(18px, 3vw, 32px); border-bottom: 1px solid var(--bhm-line); transition: padding .25s ease, background .25s ease; }
.bhm-index a:first-child { border-top: 1px solid var(--bhm-line); }
.bhm-index a:hover, .bhm-index a:focus-visible { padding-left: clamp(26px, 4vw, 44px); background: rgba(245, 158, 11, .07); }
.bhm-index-word { display: block; font-family: var(--bhm-display); text-transform: uppercase; font-size: clamp(2.6rem, 6vw, 5rem); line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--bhm-cream); }
.bhm-index a:hover .bhm-index-word { color: var(--bhm-gold); -webkit-text-stroke-color: var(--bhm-gold); }
.bhm-index-sub { display: block; margin-top: 4px; font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; color: var(--bhm-dim); }

/* photograph variant (wide panorama): headline and copy sit on clean ink at the top, then the
   photograph runs full-bleed underneath and melts up into the hero — no text ever crosses a face */
.bhm-photo { margin: 0; position: relative; }
.bhm-photo picture { display: block; position: absolute; inset: 0; }
.bhm-photo img { width: 100%; height: 100%; object-fit: cover; }
.bhm-photo figcaption { position: absolute; z-index: 2; right: 14px; bottom: 10px; font-size: .78rem; color: rgba(244, 236, 220, .75); text-shadow: 0 1px 3px #000; }
.bhm-hero.has-photo { min-height: 0; }
.bhm-hero.has-photo .bhm-photo { order: 3; width: 100%; aspect-ratio: var(--bhm-photo-ratio, 2051 / 767); margin-top: calc(var(--bhm-h1-size) * -.3); }
.bhm-hero.has-photo .bhm-photo picture { -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, .55) 14%, #000 34%); mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, .55) 14%, #000 34%); }
.bhm-hero.has-photo .bhm-crumbs { order: 0; }
.bhm-hero.has-photo .bhm-hero-grid { order: 2; flex: none; padding-bottom: 0; z-index: 2; }   /* flex order changes paint order: keep text above the photo's fade */
/* desktop: headline left, lead + buttons right, sharing one row */
@media (min-width: 861px) {
  .bhm-hero.has-photo { --bhm-h1-size: clamp(3rem, 8vw, 7.4rem); }
  .bhm-hero.has-photo .bhm-hero-grid { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); align-items: start; column-gap: clamp(24px, 4vw, 64px); }
  .bhm-hero.has-photo .bhm-hero-grid > div { display: contents; }
  .bhm-hero.has-photo .bhm-kicker { grid-column: 1 / -1; grid-row: 1; }
  .bhm-hero.has-photo .bhm-h1 { grid-column: 1; grid-row: 2 / span 2; }
  .bhm-hero.has-photo .bhm-hero-lead { grid-column: 2; grid-row: 2; margin: .5em 0 0; font-size: 1.05rem; max-width: none; }
  .bhm-hero.has-photo .bhm-hero-cta { grid-column: 2; grid-row: 3; margin-top: 20px; gap: 10px; align-self: start; }
  .bhm-hero.has-photo .bhm-hero-cta .bhm-btn { padding: 0 18px; font-size: .84rem; letter-spacing: .04em; }
}

/* ============================================================
   2. MANIFESTO
   ============================================================ */
.bhm-manifesto-grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: clamp(24px, 6vw, 96px); }
.bhm-manifesto h2 { font-family: var(--bhm-serif); font-weight: 400; font-size: clamp(2.5rem, 7.2vw, 6.4rem); line-height: 1; letter-spacing: -.015em; }
.bhm-manifesto h2 .bhm-mark { background: linear-gradient(transparent 62%, rgba(245, 158, 11, .55) 62%, rgba(245, 158, 11, .55) 92%, transparent 92%); }
.bhm-manifesto h2 .bhm-soft { display: block; font-style: italic; color: var(--bhm-red-deep); margin-top: .18em; }
.bhm-manifesto p.bhm-lead { margin-top: clamp(28px, 4vw, 48px); font-size: clamp(1.1rem, 1.8vw, 1.4rem); max-width: 46ch; }

/* ============================================================
   3. LIVING ARCHIVE
   ============================================================ */
.bhm-archive-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: clamp(32px, 5vw, 56px); }
.bhm-tabs { display: none; margin-bottom: clamp(28px, 4vw, 48px); border-top: 1px solid var(--bhm-line); border-bottom: 1px solid var(--bhm-line); }
.bhm-js .bhm-tabs { display: grid; grid-template-columns: repeat(3, 1fr); }
.bhm-tab { position: relative; text-align: left; background: none; border: 0; border-left: 1px solid var(--bhm-line); padding: 20px clamp(14px, 2.4vw, 28px); cursor: pointer; color: var(--bhm-dim); min-height: 48px; transition: color .2s, background .2s; }
.bhm-tab:first-child { border-left: 0; }
.bhm-tab::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 4px; background: var(--bhm-gold); transform: scaleX(0); transform-origin: left; transition: transform .35s ease; }
.bhm-tab[aria-selected="true"] { color: var(--bhm-cream); background: rgba(245, 158, 11, .08); }
.bhm-tab[aria-selected="true"]::after { transform: scaleX(1); }
.bhm-tab:hover { color: var(--bhm-cream); }
.bhm-tab-num { display: block; font-size: .78rem; letter-spacing: .2em; font-weight: 700; }
.bhm-tab-label { display: block; font-family: var(--bhm-display); text-transform: uppercase; font-size: clamp(1.9rem, 5vw, 3.6rem); line-height: 1.05; }
.bhm-tab-sub { display: block; font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; }

.bhm-panel { position: relative; overflow: hidden; padding: clamp(8px, 2vw, 16px) 0 clamp(96px, 14vw, 200px); }
.bhm-js .bhm-panel[hidden], .bhm-js .bhm-panel[data-bhm-hide] { display: none; }
.bhm-panel + .bhm-panel { margin-top: 64px; }
.bhm-js .bhm-panel + .bhm-panel { margin-top: 0; }
@media (prefers-reduced-motion: no-preference) {
  .bhm-js .bhm-panel:not([hidden]) { animation: bhmPanelIn .55s ease both; }
}
@keyframes bhmPanelIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.bhm-panel-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 6vw, 88px); align-items: start; }
.bhm-panel-ghost { position: absolute; left: -.5%; bottom: -.14em; z-index: 0; font-family: var(--bhm-display); text-transform: uppercase; font-size: clamp(9rem, 24vw, 22rem); line-height: .8; color: transparent; -webkit-text-stroke: 1px rgba(244, 236, 220, .11); pointer-events: none; user-select: none; }
.bhm-panel-grid > * { position: relative; z-index: 1; }
.bhm-panel h3 { font-family: var(--bhm-serif); font-weight: 400; font-size: clamp(2rem, 4.4vw, 3.6rem); line-height: 1.05; }
.bhm-panel .bhm-lead { margin-top: 22px; }
.bhm-panel .bhm-linkarrow { margin-top: 32px; }
.bhm-themes { counter-reset: t; border-top: 1px solid var(--bhm-line); }
.bhm-themes li { counter-increment: t; display: grid; grid-template-columns: 44px 1fr; gap: 8px; padding: 16px 0; border-bottom: 1px solid var(--bhm-line); font-size: 1.05rem; }
.bhm-themes li::before { content: counter(t, decimal-leading-zero); font-size: .78rem; font-weight: 700; letter-spacing: .14em; color: var(--bhm-gold-soft); padding-top: 5px; }

/* ============================================================
   4. IMPACT
   ============================================================ */
.bhm-impact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); margin-top: clamp(36px, 6vw, 72px); border-top: 1px solid var(--bhm-line); }
.bhm-stat { padding: clamp(24px, 3vw, 40px) clamp(0px, 2vw, 28px) clamp(24px, 3vw, 40px) 0; border-bottom: 1px solid var(--bhm-line); }
@media (min-width: 720px) { .bhm-stat { border-bottom: 0; border-right: 1px solid var(--bhm-line); padding-left: clamp(16px, 2vw, 28px); } .bhm-stat:first-child { padding-left: 0; } .bhm-stat:last-child { border-right: 0; } }
.bhm-stat-num { display: block; font-family: var(--bhm-display); font-size: clamp(3.4rem, 8vw, 6.4rem); line-height: 1; color: var(--bhm-gold); font-variant-numeric: tabular-nums; }
.bhm-stat-label { display: block; margin-top: 10px; font-size: .84rem; letter-spacing: .16em; text-transform: uppercase; color: var(--bhm-dim); font-weight: 700; }
.bhm-impact-foot { margin-top: clamp(40px, 6vw, 80px); display: flex; flex-wrap: wrap; gap: 20px 48px; justify-content: space-between; align-items: end; }
.bhm-statement { font-family: var(--bhm-serif); font-style: italic; font-size: clamp(1.7rem, 3.6vw, 3rem); line-height: 1.15; max-width: 22ch; }
.bhm-note { font-size: .84rem; color: var(--bhm-dim); max-width: 34ch; }

/* ============================================================
   5. EVENTS
   ============================================================ */
.bhm-events-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 24px 64px; align-items: end; margin-bottom: clamp(28px, 4vw, 48px); }
.bhm-events-head .bhm-lead { max-width: 44ch; }
.bhm-filters { display: none; margin-bottom: 28px; padding: 20px; border: 1px solid var(--bhm-line); background: var(--bhm-ink-3); }
.bhm-js .bhm-filters { display: block; }
.bhm-filter-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.bhm-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.bhm-field > label, .bhm-field > .bhm-legend { font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--bhm-gold-soft); }
.bhm-select, .bhm-input, .bhm-textarea { width: 100%; min-height: 48px; padding: 10px 14px; background: var(--bhm-ink); color: var(--bhm-cream); border: 1px solid rgba(244, 236, 220, .5); border-radius: 2px; font-size: 1rem; }
.bhm-select { appearance: none; -webkit-appearance: none; padding-right: 40px; background-image: linear-gradient(45deg, transparent 50%, var(--bhm-gold) 50%), linear-gradient(135deg, var(--bhm-gold) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; }
.bhm-select option { background: #1b1611; color: #f4ecdc; }
.bhm-textarea { min-height: 140px; resize: vertical; line-height: 1.5; }
.bhm-input::placeholder, .bhm-textarea::placeholder { color: #9a917d; }
.bhm-filter-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--bhm-line); }
.bhm-toggle { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; cursor: pointer; font-weight: 700; }
.bhm-toggle input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.bhm-toggle span { display: inline-flex; align-items: center; gap: 8px; padding: 0 16px; min-height: 44px; border: 1px solid rgba(244, 236, 220, .5); border-radius: 2px; transition: background .2s, color .2s; }
.bhm-toggle span::before { content: ''; width: 14px; height: 14px; border: 2px solid currentColor; border-radius: 2px; }
.bhm-toggle input:checked + span { background: var(--bhm-gold); color: var(--bhm-ink); border-color: var(--bhm-gold); }
.bhm-toggle input:checked + span::before { background: var(--bhm-ink); border-color: var(--bhm-ink); box-shadow: inset 0 0 0 2px var(--bhm-gold); }
.bhm-toggle input:focus-visible + span { outline: 3px solid var(--bhm-gold); outline-offset: 3px; }
.bhm-reset { background: none; border: 0; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; min-height: 44px; padding: 0 4px; color: var(--bhm-dim); margin-left: auto; }
.bhm-reset:hover { color: var(--bhm-gold-soft); }
.bhm-count { font-size: .95rem; color: var(--bhm-dim); margin-bottom: 18px; }
.bhm-count strong { color: var(--bhm-cream); }

.bhm-egrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.bhm-ecard { position: relative; display: flex; flex-direction: column; background: var(--bhm-ink-3); border: 1px solid var(--bhm-line); border-radius: 2px; overflow: hidden; transition: transform .25s ease, border-color .25s ease; }
.bhm-ecard:hover { transform: translateY(-4px); border-color: rgba(245, 158, 11, .6); }
.bhm-ecard[hidden] { display: none; }
.bhm-eimg { position: relative; aspect-ratio: 4 / 3; background: #241d15; overflow: hidden; }
.bhm-eimg img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.bhm-ecard:hover .bhm-eimg img { transform: scale(1.04); }
.bhm-edate { position: absolute; top: 0; left: 0; min-width: 62px; padding: 8px 10px 9px; background: var(--bhm-gold); color: var(--bhm-ink); text-align: center; line-height: 1; }
.bhm-edate b { display: block; font-family: var(--bhm-display); font-weight: 400; font-size: 1.9rem; }
.bhm-edate small { display: block; margin-top: 3px; font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.bhm-badges { position: absolute; left: 10px; bottom: 10px; display: flex; flex-wrap: wrap; gap: 6px; }
.bhm-badge { padding: 4px 9px; background: var(--bhm-ink); color: var(--bhm-cream); font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; border: 1px solid var(--bhm-line); }
.bhm-badge-hot { background: var(--bhm-red-deep); border-color: var(--bhm-red-deep); }
.bhm-badge-free { background: var(--bhm-cream); color: var(--bhm-ink); }
.bhm-like { position: absolute; top: 8px; right: 8px; z-index: 3; width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(11, 10, 9, .72); color: var(--bhm-cream); cursor: pointer; transition: background .2s, color .2s; }
.bhm-like:hover { background: var(--bhm-ink); color: var(--bhm-red); }
.bhm-like.liked { color: var(--bhm-red); }
.bhm-like.liked i { font-weight: 900; }
.bhm-ebody { display: flex; flex-direction: column; flex: 1; padding: 18px 20px 20px; }
.bhm-ecat { font-size: .76rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--bhm-gold-soft); margin-bottom: 8px; }
.bhm-ecard .event-title { font-family: var(--bhm-serif); font-weight: 400; font-size: 1.45rem; line-height: 1.15; margin-bottom: 14px; }
.bhm-ecard .event-title a::after { content: ''; position: absolute; inset: 0; z-index: 1; }   /* whole card is the link target */
.bhm-ecard .event-title a:hover { color: var(--bhm-gold-soft); }
.bhm-ecard .event-meta { display: flex; flex-direction: column; gap: 6px; font-size: .95rem; color: var(--bhm-dim); margin-bottom: 16px; }
.bhm-ecard .event-meta span { display: flex; gap: 10px; align-items: flex-start; }
.bhm-ecard .event-meta i { width: 16px; margin-top: 5px; color: var(--bhm-gold); text-align: center; flex: none; font-size: .85rem; }
.bhm-etags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; position: relative; z-index: 2; }
.bhm-etags a { padding: 4px 10px; font-size: .8rem; font-weight: 700; border: 1px solid var(--bhm-line); color: var(--bhm-cream); }
.bhm-etags a:hover { border-color: var(--bhm-gold); color: var(--bhm-gold-soft); }
.bhm-more { display: none; margin: 40px auto 0; }
.bhm-js .bhm-more:not([hidden]) { display: flex; }
.bhm-empty { padding: clamp(36px, 6vw, 72px) 24px; text-align: center; border: 1px dashed rgba(244, 236, 220, .4); }
.bhm-empty h3 { font-family: var(--bhm-serif); font-weight: 400; font-size: clamp(1.6rem, 3vw, 2.3rem); }
.bhm-empty p { margin: 12px auto 22px; color: var(--bhm-dim); max-width: 46ch; }
.bhm-empty-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.bhm-events-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; margin-top: clamp(40px, 6vw, 72px); padding: clamp(24px, 4vw, 40px); border: 1px solid var(--bhm-gold); background: linear-gradient(90deg, rgba(245, 158, 11, .12), transparent); }
.bhm-events-cta p { font-family: var(--bhm-serif); font-size: clamp(1.5rem, 3vw, 2.3rem); line-height: 1.15; max-width: 26ch; }
.bhm-events-cta p span { display: block; color: var(--bhm-gold-soft); font-style: italic; }
.bhm-events-links { display: flex; flex-wrap: wrap; gap: 12px; }

/* ============================================================
   6. BUSINESS
   ============================================================ */
.bhm-biz-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(32px, 7vw, 110px); align-items: start; }
.bhm-biz-copy .bhm-lead { margin-top: 26px; }
.bhm-biz-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.bhm-biz-note { margin-top: 20px; font-size: .88rem; color: var(--bhm-dim-cream); max-width: 48ch; }
.bhm-search { padding: clamp(22px, 3.4vw, 36px); background: var(--bhm-ink); color: var(--bhm-cream); }
.bhm-search h3 { font-family: var(--bhm-serif); font-weight: 400; font-size: 1.9rem; line-height: 1.1; margin-bottom: 20px; }
.bhm-search fieldset { border: 0; margin: 0 0 18px; padding: 0; min-width: 0; }
.bhm-seg { display: inline-flex; border: 1px solid rgba(244, 236, 220, .5); border-radius: 2px; overflow: hidden; }
.bhm-seg label { position: relative; cursor: pointer; }
.bhm-seg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.bhm-seg span { display: block; padding: 0 18px; line-height: 44px; font-weight: 700; font-size: .9rem; }
.bhm-seg input:checked + span { background: var(--bhm-gold); color: var(--bhm-ink); }
.bhm-seg input:focus-visible + span { outline: 3px solid var(--bhm-gold); outline-offset: -3px; }
.bhm-search .bhm-field + .bhm-field { margin-top: 16px; }
.bhm-search .bhm-btn { width: 100%; margin-top: 22px; }
.bhm-chips-label { margin-top: 28px; font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--bhm-gold-soft); }
.bhm-chips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 10px; border-top: 1px solid var(--bhm-line); }
.bhm-chip { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 48px; padding: 8px 6px 8px 0; border-bottom: 1px solid var(--bhm-line); background: none; border-left: 0; border-right: 0; border-top: 0; color: var(--bhm-cream); text-align: left; cursor: pointer; font-weight: 600; font-size: .95rem; transition: color .2s, padding .2s; width: 100%; }
.bhm-chips li { display: flex; }
.bhm-chips li:nth-child(odd) .bhm-chip { padding-right: 18px; }
.bhm-chips li:nth-child(even) .bhm-chip { padding-left: 18px; border-left: 1px solid var(--bhm-line); }
.bhm-chip i { color: var(--bhm-gold); font-size: .8rem; transition: transform .2s; flex: none; }
.bhm-chip:hover { color: var(--bhm-gold-soft); }
.bhm-chip:hover i { transform: translateX(4px); }

/* ============================================================
   7. STORIES
   ============================================================ */
.bhm-stories-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px 48px; margin-bottom: clamp(32px, 5vw, 56px); }
.bhm-stories-head .bhm-lead { margin-top: 18px; }
.bhm-stories-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 56px); }
.bhm-story { position: relative; display: flex; flex-direction: column; gap: 14px; }
.bhm-simg { position: relative; aspect-ratio: 16 / 10; background: var(--bhm-ink-3); overflow: hidden; }
.bhm-simg img { width: 100%; height: 100%; object-fit: cover; }
.bhm-simg-fallback { display: grid; place-items: center; height: 100%; padding: 16px; text-align: center; font-family: var(--bhm-display); text-transform: uppercase; font-size: 1.6rem; color: rgba(244, 236, 220, .35); background: repeating-linear-gradient(135deg, #1b1611 0 14px, #211a13 14px 28px); }
.bhm-scat { font-size: .76rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--bhm-gold-soft); }
.bhm-story h3 { font-family: var(--bhm-serif); font-weight: 400; line-height: 1.12; }
.bhm-story h3 a::after { content: ''; position: absolute; inset: 0; }
.bhm-story h3 a:hover { color: var(--bhm-gold-soft); }
.bhm-story p { color: var(--bhm-dim); }
.bhm-sby { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: .88rem; color: var(--bhm-dim); }
.bhm-sby strong { color: var(--bhm-cream); }
.bhm-ai { padding: 1px 7px; border: 1px solid var(--bhm-line); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
.bhm-story-lead h3 { font-size: clamp(1.8rem, 3.6vw, 2.9rem); }
.bhm-story-lead p { font-size: 1.1rem; max-width: 56ch; }
.bhm-story-list { display: flex; flex-direction: column; border-top: 1px solid var(--bhm-line); }
.bhm-story-list .bhm-story { padding: 22px 0; border-bottom: 1px solid var(--bhm-line); display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 4px 18px; align-items: start; }
.bhm-story-list .bhm-simg { grid-row: span 4; aspect-ratio: 1; }
.bhm-story-list h3 { font-size: 1.3rem; }
.bhm-story-list p { font-size: .95rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bhm-story-list .bhm-simg-fallback { font-size: .95rem; }

/* ============================================================
   8. NOMINATION
   ============================================================ */
.bhm-nom { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.bhm-nom-side { background: var(--bhm-gold); color: var(--bhm-ink); padding: clamp(36px, 6vw, 88px) clamp(24px, 5vw, 72px); }
.bhm-nom-side .bhm-eyebrow { color: var(--bhm-ink); }
.bhm-nom-side .bhm-eyebrow::before { background: var(--bhm-ink); }
.bhm-nom-side .bhm-h2 { margin: 20px 0 22px; }
.bhm-nom-side p { font-size: 1.1rem; max-width: 40ch; }
.bhm-nom-side .bhm-privacy { margin-top: 28px; padding-top: 20px; border-top: 2px solid rgba(11, 10, 9, .6); font-size: .92rem; }
.bhm-nom-side a { text-decoration: underline; text-underline-offset: 3px; font-weight: 700; }
.bhm-nom-side :focus-visible { outline-color: var(--bhm-ink); }
.bhm-nom-form { padding: clamp(32px, 5vw, 72px) clamp(20px, 5vw, 72px); background: var(--bhm-ink-2); }
.bhm-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.bhm-form-grid .bhm-full { grid-column: 1 / -1; }
.bhm-form-grid label { font-size: .92rem; font-weight: 700; color: var(--bhm-cream); text-transform: none; letter-spacing: 0; }
.bhm-form-grid .bhm-field > label span { color: var(--bhm-gold-soft); font-weight: 500; }
.bhm-hint { font-size: .86rem; color: var(--bhm-dim); }
.bhm-err { font-size: .9rem; font-weight: 700; color: #ff8a80; }
.bhm-err:empty { display: none; }
.bhm-input[aria-invalid="true"], .bhm-textarea[aria-invalid="true"] { border-color: #ff8a80; box-shadow: 0 0 0 1px #ff8a80; }
.bhm-form-grid .bhm-check span { color: var(--bhm-cream); font-weight: 500; }
.bhm-check { display: flex; gap: 14px; align-items: flex-start; cursor: pointer; }
.bhm-check input { flex: none; width: 24px; height: 24px; margin-top: 2px; accent-color: var(--bhm-gold); }
.bhm-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.bhm-status { display: none; padding: 16px 18px; margin-bottom: 22px; font-weight: 700; border-left: 4px solid; }
.bhm-status.is-ok, .bhm-status.is-err { display: block; }
.bhm-status.is-ok { background: rgba(47, 158, 88, .16); border-color: #4cc38a; color: #b8f0d2; }
.bhm-status.is-err { background: rgba(255, 138, 128, .13); border-color: #ff8a80; color: #ffd0cc; }
.bhm-nom-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 26px; }
.bhm-nom-actions a { color: var(--bhm-dim); text-decoration: underline; text-underline-offset: 4px; }
.bhm-nom-actions a:hover { color: var(--bhm-gold-soft); }
.bhm-btn[disabled] { opacity: .6; cursor: progress; }

/* ============================================================
   9. CLOSING
   ============================================================ */
.bhm-closing { padding: calc(var(--bhm-pad) * 1.1) 0; background: radial-gradient(900px 480px at 85% 0%, rgba(245, 158, 11, .14), transparent 60%), var(--bhm-ink); }
.bhm-closing h2 { font-family: var(--bhm-display); font-weight: 400; text-transform: uppercase; font-size: clamp(2.4rem, 7.4vw, 7rem); line-height: .98; }
.bhm-closing h2 span { display: block; }
.bhm-closing h2 span + span { color: var(--bhm-gold); }
.bhm-routes { margin-top: clamp(40px, 6vw, 80px); display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); border-top: 1px solid var(--bhm-line); }
.bhm-routes a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 76px; padding: 18px 8px 18px 0; border-bottom: 1px solid var(--bhm-line); font-family: var(--bhm-serif); font-size: 1.5rem; transition: color .2s, padding .25s; }
.bhm-routes a i { color: var(--bhm-gold); transition: transform .25s; }
.bhm-routes a:hover { color: var(--bhm-gold-soft); padding-left: 12px; }
.bhm-routes a:hover i { transform: translateX(6px); }
@media (min-width: 900px) { .bhm-routes a:not(:nth-child(3n+1)) { padding-left: 24px; border-left: 1px solid var(--bhm-line); } .bhm-routes a:hover { padding-left: 32px; } .bhm-routes a:nth-child(3n+1):hover { padding-left: 12px; } }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1023px) {
  .bhm-filter-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bhm-egrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bhm-events-head, .bhm-biz-grid, .bhm-stories-grid, .bhm-nom { grid-template-columns: 1fr; }
  .bhm-panel-grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .bhm-hero-grid { grid-template-columns: 1fr; }
  .bhm { --bhm-h1-size: clamp(3.2rem, 17vw, 7.4rem); }
  .bhm-manifesto-grid { grid-template-columns: 1fr; gap: 20px; }
  .bhm-hero.has-photo .bhm-photo { order: 1; aspect-ratio: 5 / 4; margin: 20px 0 0; }
  .bhm-hero.has-photo .bhm-photo img { object-position: 60% 40%; }
  .bhm-hero.has-photo .bhm-photo picture { -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 80%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 80%, transparent 100%); }
  .bhm-hero.has-photo .bhm-hero-grid { padding-bottom: clamp(48px, 8vh, 96px); }
}
@media (min-width: 641px) and (max-width: 860px) {
  .bhm-hero.has-photo .bhm-photo { aspect-ratio: 16 / 9; }
  .bhm-hero.has-photo .bhm-photo img { object-position: 94% 40%; }
}
@media (max-width: 640px) {
  .bhm { --bhm-gutter: 18px; font-size: 16px; }
  .bhm-hero { padding-top: 84px; }
  .bhm-egrid { grid-template-columns: 1fr; }
  .bhm-filter-grid, .bhm-form-grid { grid-template-columns: 1fr; }
  .bhm-chips { grid-template-columns: 1fr; }
  .bhm-chips li:nth-child(even) .bhm-chip { padding-left: 0; border-left: 0; }
  .bhm-chips li:nth-child(odd) .bhm-chip { padding-right: 6px; }
  .bhm-tab-sub { display: none; }
  .bhm-tab { padding: 14px 12px; }
  .bhm-story-list .bhm-story { grid-template-columns: 96px minmax(0, 1fr); }
  .bhm-hero-cta .bhm-btn, .bhm-biz-cta .bhm-btn { width: 100%; }
  .bhm-events-links .bhm-btn { width: 100%; }
  .bhm-reset { margin-left: 0; }
  .bhm-panel-ghost { display: none; }
  .bhm-panel { padding-bottom: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  .bhm *, .bhm *::before, .bhm *::after { animation: none !important; transition: none !important; }
}
@media print { .bhm-grain::after { display: none; } }
