/*
Theme Name: Genesis BH
Theme URI: https://genesisbh.net
Description: Genesis Business Humanity Club theme (child of Hello Elementor). Design system, header, footer, members, video library, events, portfolio and forms.
Author: Genesis BH Digital
Template: hello-elementor
Version: 1.0.0
Text Domain: genesis-bh
*/

/* Layout: the live GenesisBH.net system carried over as-is — dark splash, gold gradient CTAs, 1240px container, full-bleed hero */
:root {
  --bg0: #0f1118; --bg1: #1a1d27; --bg-deep: #141824; --bg-splash: #050507;
  --text: #f2f0ea; --muted: rgba(242,240,234,.72);
  --gold: #c4a96e; --gold2: #f0d9a3; --gold-dark: #8f6c3b; --gold-highlight: #f1dfbf;
  --cta-text: #1a1409; --stroke: rgba(255,255,255,.12); --stroke-gold: rgba(196,169,110,.28);
  --card: rgba(255,255,255,.06);
  --font: 'Raleway', Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(.2,.75,.15,1);
  --maxw: 1240px; --radius: 18px; --nav-h: 76px;
  --pad: clamp(4rem, 8vw, 8rem);
  color-scheme: dark;
}
*, ::before, ::after { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font); color: var(--text); line-height: 1.6; overflow-x: hidden;
  -webkit-font-smoothing: antialiased; font-size: 16px;
  background: radial-gradient(900px 640px at 50% 45%, rgba(196,169,110,.12), transparent 62%),
              radial-gradient(1200px 900px at 20% 25%, rgba(196,169,110,.06), transparent 65%), var(--bg-splash);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }
h1, h2, h3, h4 { font-weight: 500; line-height: 1.06; letter-spacing: .005em; text-wrap: balance; }
:focus-visible { outline: 2px solid var(--gold2); outline-offset: 3px; border-radius: 4px; }
.g { color: var(--gold); }
.container { width: 100%; max-width: calc(var(--maxw) + 32px); margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.section { padding-block: var(--pad); position: relative; }
.section--tight-top { padding-top: 0; }
.eyebrow { font-size: .78rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 1.25rem; }
.eyebrow--cream { color: var(--text); opacity: .85; }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.3rem); line-height: 1.6; max-width: 46rem; }
.muted { color: var(--muted); }

/* small labels */
.note { display: inline-flex; gap: .5rem; align-items: center; font-size: .72rem; letter-spacing: .04em;
  color: var(--cta-text); background: var(--gold2); border-radius: 999px; padding: .3rem .75rem; font-weight: 600; }
.note::before { content: "Preview note"; text-transform: uppercase; letter-spacing: .14em; font-size: .62rem; opacity: .7; }

/* background atmosphere (from live site) */
#site-bg { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.bg-aura { position: absolute; inset: -22%;
  background: radial-gradient(closest-side at 50% 42%, rgba(196,169,110,.16), transparent 68%),
              radial-gradient(closest-side at 18% 72%, rgba(143,108,59,.09), transparent 72%),
              radial-gradient(closest-side at 82% 26%, rgba(241,223,191,.07), transparent 70%);
  filter: blur(42px); animation: breathe 20s ease-in-out infinite; }
.bg-seal { position: absolute; left: 50%; top: 46%; transform: translate(-50%,-50%); width: min(94vmin, 860px); height: min(94vmin, 860px); opacity: .075; animation: spin 220s linear infinite; }
.bg-seal--b { width: min(70vmin, 620px); height: min(70vmin, 620px); opacity: .05; animation-duration: 155s; animation-direction: reverse; }
.bg-seal * { fill: none; stroke: rgba(196,169,110,.85); }
.bg-pillar { position: absolute; top: 0; bottom: 0; width: 1px; opacity: .32;
  background: linear-gradient(transparent, rgba(196,169,110,.28) 16%, rgba(241,223,191,.14) 48%, rgba(196,169,110,.22) 84%, transparent); }
.bg-pillar--l { left: 8%; } .bg-pillar--r { right: 8%; }
.bg-depth { position: absolute; inset: 0; background: radial-gradient(82% 72% at 50% 48%, transparent 18%, rgba(5,5,7,.78) 100%); }
@keyframes breathe { 0%,100% { transform: scale(1); opacity: .5 } 50% { transform: scale(1.09) translate3d(1.8%,-1.2%,0); opacity: .78 } }
@keyframes spin { to { transform: translate(-50%,-50%) rotate(360deg) } }
main, .footer { position: relative; z-index: 1; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: .9rem 1.75rem; border-radius: 999px;
  font-size: 1rem; font-weight: 600; letter-spacing: .01em; transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s var(--ease), color .35s var(--ease); white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn--gold { background: linear-gradient(180deg, var(--gold2), var(--gold) 45%, var(--gold-dark)); color: var(--cta-text); box-shadow: 0 4px 24px rgba(196,169,110,.22); }
.btn--gold:hover { box-shadow: 0 8px 32px rgba(240,217,163,.28); }
.btn--outline { border: 1px solid var(--stroke-gold); color: var(--gold); }
.btn--outline:hover { background: var(--gold); color: var(--cta-text); }
.btn--ghost { padding-inline: 0; color: var(--gold); letter-spacing: .04em; position: relative; }
.btn--ghost::after { content: ""; position: absolute; left: 0; bottom: .55rem; width: 100%; height: 1px; background: var(--gold); transform: scaleX(.4); transform-origin: left; transition: transform .4s; }
.btn--ghost:hover::after { transform: scaleX(1); }

/* nav */
.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 900; height: var(--nav-h); display: flex; align-items: center;
  background: rgba(5,5,6,.58); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 1px 0 var(--stroke); }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--bg-splash); }
.nav__in { display: flex; align-items: center; justify-content: space-between; gap: .8rem; width: 100%; max-width: 1520px; margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.logo { display: inline-flex; align-items: center; gap: .6rem; flex-shrink: 0; }
.logo svg { width: 30px; height: 30px; }
.logo__word { display: flex; flex-direction: column; line-height: 1; }
.logo__word b { font-weight: 500; font-size: 1.05rem; letter-spacing: .32em; }
.logo__word i { font-style: normal; font-size: .5rem; letter-spacing: .3em; color: var(--gold); margin-top: .3rem; text-transform: uppercase; }
.nav__links ul { display: flex; gap: clamp(.6rem, 1.1vw, 1.3rem); }
.nav__links a { font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; opacity: .82; transition: .2s; white-space: nowrap; }
.nav__links a:hover, .nav__links a.active { opacity: 1; color: var(--gold); }
.nav__actions { display: flex; gap: .45rem; flex-shrink: 0; }
.nav__actions .btn { padding: .55rem .95rem; font-size: .78rem; }
.burger { display: none; flex-direction: column; gap: 5px; padding: .5rem; }
.burger span { width: 26px; height: 2px; background: var(--text); transition: .3s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.drawer { position: fixed; inset: 0 0 0 auto; width: min(370px, 100%); background: rgba(26,29,39,.98); backdrop-filter: blur(20px);
  z-index: 899; padding: calc(var(--nav-h) + 1.2rem + env(safe-area-inset-top, 0px)) max(1.8rem, env(safe-area-inset-right, 0px)) 2rem 1.8rem;
  transform: translateX(100%); transition: transform .45s var(--ease); overflow-y: auto; border-left: 1px solid var(--stroke); }
.drawer.open { transform: none; }
.drawer nav a { display: block; padding: .9rem 0; font-size: .95rem; letter-spacing: .06em; text-transform: uppercase; border-bottom: 1px solid var(--stroke); }
.drawer__cta { margin-top: 1.8rem; display: flex; flex-direction: column; gap: .8rem; }
@media (max-width: 1279px) { .nav__links, .nav__actions { display: none; } .burger { display: flex; } }

.brand { display: block; height: 44px; aspect-ratio: 1076 / 300; max-width: 62vw; background: url("images/logo.png") left center / contain no-repeat; }
.footer .brand { height: 56px; }
/* hero flags background (replaces emblem animation) */
.hero__flags { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center; animation: flag-drift 40s ease-in-out infinite alternate; }
.hero__sheen { position: absolute; inset: 0; background: linear-gradient(115deg, transparent 35%, rgba(241,223,191,.07) 48%, rgba(255,255,255,.05) 52%, transparent 65%) 0 0 / 250% 100% no-repeat; mix-blend-mode: screen; animation: flag-sheen 14s ease-in-out infinite; }
.hero__bg canvas { z-index: 1; }
@keyframes flag-drift { from { transform: scale(1); } to { transform: scale(1.025); } }
@keyframes flag-sheen { 0% { background-position: 130% 0; } 60%, 100% { background-position: -30% 0; } }
@media (max-width: 860px) { .hero__flags { object-position: 18% 50%; } }

/* hero */
.hero { position: relative; display: flex; isolation: isolate; overflow: hidden; min-height: min(760px, 92svh); }
.hero__bg { position: absolute; inset: 0; z-index: -2; background:
  radial-gradient(70% 90% at 72% 45%, rgba(40,80,190,.28), transparent 70%), linear-gradient(115deg, #0b0d14 0%, #121829 45%, #0d0f17 100%); }
.hero__bg canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(15,17,24,.55), rgba(15,17,24,.12) 50%, rgba(15,17,24,0)),
              linear-gradient(0deg, rgba(15,17,24,.75), rgba(15,17,24,0) 45%); }
.hero__photo-note { position: absolute; top: 1.2rem; right: max(16px, env(safe-area-inset-right, 0px)); }
.hero__in { margin-top: auto; width: 100%; max-width: calc(var(--maxw) + 32px); margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px));
  padding-block: 5rem 7rem; display: grid; grid-template-columns: 1.5fr 1fr; gap: 2rem; align-items: end; }
.hero h1 { font-size: clamp(2.75rem, 6vw, 5rem); line-height: 1; max-width: 15ch; }
.hero__right p { font-size: 1.05rem; margin-bottom: 1.4rem; max-width: 24rem; }
@media (max-width: 860px) { .hero__in { grid-template-columns: 1fr; gap: 1.6rem; padding-block: 4rem 5rem; } }


/* hero sized to the flags image so the whole picture shows */
.hero { min-height: 0; aspect-ratio: 1548 / 888; max-height: 100svh; }
.hero__in { padding-block: 3rem clamp(2.5rem, 6vw, 5rem); }
.hero__flags { animation: none; transform: none; }
@media (max-width: 860px) {
  .hero { aspect-ratio: auto; max-height: none; flex-direction: column; }
  .hero::after { display: none; }
  .hero__bg { position: relative; inset: auto; z-index: 0; width: 100%; aspect-ratio: 1548 / 888; max-width: 100%; }
  .hero__bg::after { content: ""; position: absolute; inset: 0; z-index: 2; background: linear-gradient(0deg, var(--bg-splash), rgba(5,5,7,0) 45%); }
  .hero__flags { object-position: center; }
  .hero__in { margin-top: 0; padding-block: 1.2rem 3rem; }
}

/* statement */
.statement .big { font-size: clamp(2rem, 4.6vw, 4rem); line-height: 1.18; max-width: 20ch; }
.statement .big + .big { margin-top: 1.6rem; }
.center { text-align: center; }
.center h2 { font-size: clamp(2.2rem, 5.5vw, 4.6rem); line-height: 1.08; max-width: 18ch; margin-inline: auto; }
.center .lead { margin: 1.8rem auto 0; color: var(--muted); max-width: 50rem; }

/* benefits */
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 2.6rem; flex-wrap: wrap; }
.sec-head h2 { font-size: clamp(2rem, 4.4vw, 4rem); }
.ben-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1rem; }
.ben-card { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3/4; max-width: 100%; background: var(--bg0); isolation: isolate; }
.ph { position: absolute; inset: 0; background:
  radial-gradient(120% 80% at 30% 20%, rgba(196,169,110,.22), transparent 60%),
  linear-gradient(160deg, var(--bg1), var(--bg0) 70%); display: grid; place-items: start end; padding: 1rem; transition: transform .7s cubic-bezier(.2,.8,.2,1); }
.ph span { font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); opacity: .75; border: 1px dashed var(--stroke-gold); border-radius: 999px; padding: .25rem .6rem; }
.ph svg { position: absolute; left: 50%; top: 40%; width: 46%; transform: translate(-50%,-50%); opacity: .14; }
.ph svg * { fill: none; stroke: var(--gold); stroke-width: .6; }
.ben-card:hover .ph, .ben-card:hover .ben-img { transform: scale(1.06); }
.ben-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.8,.2,1); }
.ben-card__grad { position: absolute; inset: 0; background: linear-gradient(to top, rgba(15,17,24,.92), rgba(15,17,24,.15) 48%, transparent 78%); }
.ben-card__title { position: absolute; left: 1.3rem; right: 1.3rem; bottom: 1.3rem; display: flex; gap: .7rem; z-index: 2; transition: opacity .35s; }
.ben-card__tick { width: 3px; height: 1.5em; background: var(--gold); flex: 0 0 auto; margin-top: .2em; }
.ben-card__title h3 { font-size: clamp(1.3rem, 1.5vw, 1.7rem); line-height: 1.08; }
.ben-card__desc { position: absolute; inset: 0; z-index: 3; padding: 1.6rem; display: flex; flex-direction: column; justify-content: flex-end; gap: .7rem;
  background: linear-gradient(to top, rgba(26,29,39,.97), rgba(26,29,39,.85)); opacity: 0; transform: translateY(14px); transition: opacity .4s, transform .4s; }
.ben-card:hover .ben-card__desc, .ben-card:focus-within .ben-card__desc { opacity: 1; transform: none; }
.ben-card:hover .ben-card__title, .ben-card:focus-within .ben-card__title { opacity: 0; }
.ben-card__desc h3 { font-size: 1.45rem; }
.ben-card__desc p { font-size: .92rem; color: var(--muted); line-height: 1.55; }
@media (max-width: 860px) { .ben-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) {
  .ben-grid { grid-template-columns: 1fr; }
  .ben-card { aspect-ratio: auto; }
  .ben-card .ph, .ben-card .ben-img { position: relative; height: 220px; }
  .ben-card__grad, .ben-card__title { display: none; }
  .ben-card__desc { position: relative; opacity: 1; transform: none; }
}

/* counters */
.ov-head { text-align: center; margin-bottom: 3rem; }
.ov-head h2 { font-size: clamp(2.2rem, 5vw, 4rem); }
.ov-head p { color: var(--muted); margin-top: .8rem; font-size: 1.05rem; }
.counters { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem 1rem; text-align: center; }
.counter__v { font-weight: 500; font-size: clamp(2.4rem, 4.5vw, 3.8rem); color: var(--gold); line-height: 1; font-variant-numeric: tabular-nums; }
.counter__l { font-size: .78rem; letter-spacing: .06em; opacity: .8; margin-top: .6rem; text-transform: uppercase; }
@media (max-width: 860px) { .counters { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.feature-video { max-width: 1040px; margin-inline: auto; }
.feature-video .media { aspect-ratio: 16/9; }

.media--soon .ph { place-items: center; }
.soon-wrap { display: grid; justify-items: center; gap: 1.4rem; }
.media--soon .play { width: clamp(64px, 9vw, 96px); height: clamp(64px, 9vw, 96px); opacity: .9; }
.media--soon .play svg { width: 34%; height: auto; margin-left: 6%; }
.soon { font-size: clamp(1.6rem, 4vw, 3rem) !important; letter-spacing: .28em !important; text-transform: uppercase; color: var(--gold2) !important; border: 0 !important; padding: 0 !important; opacity: 1 !important; font-weight: 500; text-align: center; }

/* events (new) */
.ev-list { display: grid; gap: 0; border-top: 1px solid var(--stroke); }
.ev { display: grid; grid-template-columns: 112px minmax(0, 1fr) auto; gap: clamp(1rem, 3vw, 2.4rem); align-items: center; padding-block: 1.6rem; border-bottom: 1px solid var(--stroke); transition: background .3s; }
.ev:hover { background: rgba(255,255,255,.025); }
.ev__date { text-align: center; border: 1px solid var(--stroke-gold); border-radius: 14px; padding: .7rem .4rem; }
.ev__date b { display: block; font-size: 2.1rem; font-weight: 500; line-height: 1; color: var(--gold); font-variant-numeric: tabular-nums; }
.ev__date span { font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; }
.ev__type { font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: .35rem; }
.ev h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); margin-bottom: .4rem; }
.ev__meta { font-size: .9rem; color: var(--muted); }
.ev__access { display: inline-block; margin-left: .5rem; font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; border: 1px solid var(--stroke); border-radius: 999px; padding: .1rem .55rem; color: var(--text); }
@media (max-width: 700px) { .ev { grid-template-columns: 76px minmax(0, 1fr); } .ev .btn { grid-column: 2; justify-self: start; } .ev__date b { font-size: 1.6rem; } }

/* split */
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.split h2 { font-size: clamp(2rem, 4vw, 3.4rem); margin-bottom: 1.3rem; }
.media { display: block; position: relative; aspect-ratio: 16/10; max-width: 100%; border-radius: var(--radius); overflow: hidden; background: var(--bg0); border: 1px solid var(--stroke); }
.media .ph { place-items: center; }
.play { position: relative; z-index: 2; width: 78px; height: 78px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(180deg, var(--gold2), var(--gold) 45%, var(--gold-dark)); box-shadow: 0 8px 32px rgba(196,169,110,.35); }
.play svg { width: 26px; margin-left: 4px; position: static; transform: none; opacity: 1; }
.play svg path { fill: var(--cta-text); stroke: none; }
.media__cap { position: absolute; left: 1.2rem; bottom: 1rem; z-index: 2; font-size: .8rem; color: var(--muted); }
.stores { display: flex; gap: .7rem; flex-wrap: wrap; margin-top: 1.6rem; }
.store { display: inline-flex; align-items: center; gap: .55rem; border: 1px solid var(--stroke); border-radius: 12px; padding: .55rem 1rem; font-size: .82rem; line-height: 1.15; }
.store small { display: block; font-size: .6rem; opacity: .7; letter-spacing: .06em; }
.store:hover { border-color: var(--gold); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 2rem; } .split--rev .split__media { order: -1; } }

/* blog (new) */
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem; }
.post { background: var(--card); border: 1px solid var(--stroke); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.post .media { border: 0; border-radius: 0; aspect-ratio: 16/10; }
.post__b { padding: 1.5rem; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.post__cat { font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.post h3 { font-size: 1.35rem; line-height: 1.15; }
.post p { font-size: .92rem; color: var(--muted); }
.post time { margin-top: auto; padding-top: .6rem; font-size: .78rem; color: var(--muted); }
@media (max-width: 860px) { .posts { grid-template-columns: 1fr; } }

/* member perks (new) */
.perks { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.6fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.perks__intro h2 { font-size: clamp(2rem, 4.2vw, 3.6rem); margin-bottom: 1.2rem; }
.perks__intro .lead { margin-bottom: 1.8rem; }
.perks__intro .note { margin-top: 1.4rem; }
.perk-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--stroke-gold); border: 1px solid var(--stroke-gold); border-radius: var(--radius); overflow: hidden; }
.perk { background: rgba(10,11,16,.94); padding: 1.6rem; display: flex; flex-direction: column; gap: .6rem; transition: background .3s; }
.perk:hover { background: rgba(26,29,39,.96); }
.perk__top { display: flex; justify-content: flex-start; align-items: center; gap: .8rem; margin-bottom: .3rem; }
.perk svg { width: 30px; height: 30px; flex: 0 0 auto; stroke: var(--gold); fill: none; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.perk__tag { font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold2); border: 1px solid var(--stroke-gold); border-radius: 999px; padding: .2rem .6rem; white-space: nowrap; }
.perk h3 { font-size: 1.3rem; }
.perk p { font-size: .92rem; color: var(--muted); line-height: 1.55; }
@media (min-width: 961px) { .perks__intro { position: sticky; top: calc(var(--nav-h) + 2rem); } }
@media (max-width: 960px) { .perks { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .perk-grid { grid-template-columns: 1fr; } }

/* video library teaser (new) */
.vid .media { position: relative; }
.lock { position: absolute; inset: 0; z-index: 2; display: grid; place-content: center; justify-items: center; gap: .5rem;
  background: rgba(5,5,7,.55); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
  font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold2); }
.lock svg { width: 34px; height: 34px; }
.dur { position: absolute; right: .8rem; bottom: .7rem; z-index: 3; font-size: .75rem; background: rgba(5,5,7,.8); border-radius: 6px; padding: .15rem .45rem; font-variant-numeric: tabular-nums; }
.lib-cta { margin-top: 1.6rem; display: flex; gap: 1.4rem; flex-wrap: wrap; align-items: center; }
.vid-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.vid-grid .post__b { padding: 1.1rem; gap: .45rem; }
.vid-grid .post h3 { font-size: clamp(1rem, 1.7vw, 1.35rem); }
.vid-grid .post__cat { font-size: .62rem; }
@media (max-width: 860px) { .vid-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .vid-grid:not(.lib-grid) .lock span:not(.play) { display: none; } }
@media (max-width: 560px) {
  .vid-grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 74%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .5rem; }
  .vid-grid .post { scroll-snap-align: start; }
  .vid-grid .lock span:not(.play) { display: inline; }
}

/* video library page (new) */
.lib-hero { padding-block: clamp(4rem, 8vw, 7rem) clamp(2rem, 4vw, 3rem); }
.lib-hero h1 { font-size: clamp(2.6rem, 6vw, 4.8rem); margin-bottom: 1.2rem; }
.viewas { display: flex; align-items: center; gap: .5rem; margin-top: 1.8rem; flex-wrap: wrap; }
.chip, .viewas button { border: 1px solid var(--stroke); border-radius: 999px; padding: .5rem 1rem; font-size: .8rem; letter-spacing: .03em; color: var(--text); transition: background .2s, border-color .2s, color .2s; }
.chip:hover, .viewas button:hover { border-color: var(--gold); }
.chip[aria-pressed="true"], .viewas button[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: var(--cta-text); font-weight: 600; }
.lib-tools { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
.chips { display: flex; gap: .5rem; flex-wrap: wrap; min-width: 0; }
.search { flex: 0 1 280px; min-width: 0; }
.search input { width: 100%; padding: .65rem 1.1rem; background: rgba(0,0,0,.3); border: 1px solid var(--stroke); border-radius: 999px; color: var(--text); font: inherit; font-size: .9rem; }
.search input::placeholder { color: var(--muted); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.lib-count { font-size: .8rem; color: var(--muted); margin-bottom: 1.4rem; letter-spacing: .04em; }
.lib-empty { color: var(--muted); padding-block: 2rem; }
.lock--open { background: rgba(5,5,7,.2); backdrop-filter: none; -webkit-backdrop-filter: none; }
.lock .play { width: 58px; height: 58px; }
.lock .play svg { width: 22px; height: 22px; margin-left: 3px; }
.vid-grid.lib-grid { gap: 1.2rem; }
@media (max-width: 860px) { .vid-grid.lib-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .vid-grid.lib-grid { grid-template-columns: 1fr; grid-auto-flow: row; grid-auto-columns: auto; overflow: visible; scroll-snap-type: none; padding-bottom: 0; } .search { flex-basis: 100%; } }

/* popups for videos and posts (new) */
.post { cursor: pointer; transition: transform .3s var(--ease), border-color .3s; }
.post:hover { transform: translateY(-3px); border-color: var(--stroke-gold); }
body.modal-open { overflow: hidden; }
.modal { position: fixed; inset: 0; z-index: 2000; display: grid; align-items: start; justify-items: center; overflow-y: auto;
  padding: max(16px, env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) max(16px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
  background: rgba(3,3,5,.8); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); animation: mfade .25s ease; }
.modal__panel { position: relative; margin-block: auto; width: min(960px, 100%); background: var(--bg1); border: 1px solid var(--stroke-gold); border-radius: var(--radius); overflow: hidden; box-shadow: 0 30px 90px rgba(0,0,0,.6); animation: mrise .35s var(--ease); }
.modal--narrow .modal__panel { width: min(560px, 100%); }
.modal__close { position: absolute; top: .8rem; right: .8rem; z-index: 5; width: 42px; height: 42px; border-radius: 50%; background: rgba(5,5,7,.75); border: 1px solid var(--stroke); font-size: 1.4rem; line-height: 1; display: grid; place-items: center; }
.modal__close:hover { border-color: var(--gold); color: var(--gold); }
@keyframes mfade { from { opacity: 0; } }
@keyframes mrise { from { opacity: 0; transform: translateY(18px) scale(.98); } }
.mv__player { position: relative; aspect-ratio: 16/9; max-width: 100%; background: #000; display: grid; place-items: center; border-bottom: 1px solid var(--stroke); }
.mv__hint { position: absolute; left: 1.1rem; bottom: .9rem; font-size: .75rem; color: var(--muted); }
.mv__info, .mpost__b { padding: clamp(1.4rem, 3vw, 2.2rem); display: flex; flex-direction: column; gap: .6rem; }
.mv__info h3 { font-size: clamp(1.4rem, 2.6vw, 2rem); }
.mv__meta, .mpost__b time { font-size: .82rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.mlock { padding: clamp(2.2rem, 5vw, 3.2rem) clamp(1.4rem, 4vw, 2.6rem); text-align: center; display: flex; flex-direction: column; align-items: center; gap: .8rem; }
.mlock__icon { width: 64px; height: 64px; border-radius: 50%; border: 1px solid var(--stroke-gold); display: grid; place-items: center; color: var(--gold2); margin-bottom: .4rem; }
.mlock__icon svg { width: 28px; height: 28px; }
.mlock h3 { font-size: 1.6rem; }
.mlock .eyebrow { margin-bottom: 0; }
.mlock .lib-cta { justify-content: center; margin-top: .8rem; }
.mpost__img { border: 0; border-radius: 0; aspect-ratio: 21/9; }
.mpost__b h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); }
.mpost__body { color: var(--muted); display: grid; gap: 1rem; margin-top: .6rem; max-width: 65ch; }
.mpost__b .btn--ghost { align-self: flex-start; margin-top: .6rem; }

.blog-media { aspect-ratio: 16/9; }
.post__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post__b p:not(.post__cat) { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.mpost__hero { display: block; width: 100%; aspect-ratio: 16/9; max-width: 100%; object-fit: cover; }
.mpost__body .ednote { font-style: italic; color: var(--gold-highlight); border-left: 2px solid var(--gold); padding-left: 1rem; }
.mpost__body p { line-height: 1.75; }

/* members + events pages (new) */
.page-hero { padding-block: clamp(4rem, 8vw, 7rem) clamp(2rem, 4vw, 3rem); }
.page-hero h1 { font-size: clamp(2.6rem, 6vw, 4.8rem); margin-bottom: 1.2rem; }
.sub-h { font-size: clamp(1.8rem, 3.4vw, 2.8rem); margin-bottom: 2rem; }
.people { display: grid; gap: 1.8rem 1.2rem; }
.people--board { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.people--members { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1.4rem 1rem; }
.person { margin: 0; text-align: center; min-width: 0; }
.person img { width: 100%; aspect-ratio: 1; max-width: 100%; object-fit: cover; border-radius: 16px; border: 1px solid var(--stroke-gold); transition: transform .4s var(--ease), border-color .4s; }
.person:hover img { transform: translateY(-3px); border-color: var(--gold); }
.person figcaption { margin-top: .8rem; display: grid; gap: .25rem; }
.person b { font-weight: 500; font-size: 1.05rem; }
.people--members .person b { font-size: .9rem; }
.person span { font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
@media (max-width: 960px) { .people--board { grid-template-columns: repeat(3, minmax(0, 1fr)); } .people--members { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 560px) { .people--board { grid-template-columns: repeat(2, minmax(0, 1fr)); } .people--members { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ev-type { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 5vw, 5rem); align-items: center; padding-block: clamp(2.5rem, 5vw, 4.5rem); border-top: 1px solid var(--stroke); }
.ev-type:nth-child(even) .ev-type__img { order: 2; }
.ev-type__img img { width: 100%; aspect-ratio: 4/3; max-width: 100%; object-fit: cover; border-radius: var(--radius); }
.ev-type h2 { font-size: clamp(1.8rem, 3.5vw, 3rem); margin-bottom: 1rem; }
.ev-type p:not(.post__cat) { color: var(--muted); font-size: 1.05rem; line-height: 1.7; max-width: 34rem; }
.ev-type .post__cat { margin-bottom: .8rem; }
@media (max-width: 860px) { .ev-type { grid-template-columns: 1fr; gap: 1.4rem; } .ev-type:nth-child(even) .ev-type__img { order: 0; } }

/* contact page (new) */
.contact { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.contact__person { display: grid; gap: .35rem; padding-block: 1.4rem; border-top: 1px solid var(--stroke); }
.contact__person b { font-size: 1.35rem; font-weight: 500; }
.contact__person .addr { color: var(--muted); line-height: 1.6; }
.contact__person a { color: var(--gold2); font-size: 1.05rem; overflow-wrap: anywhere; user-select: all; }
.contact__person a:hover { text-decoration: underline; }
.cform { background: var(--card); border: 1px solid var(--stroke-gold); border-radius: var(--radius); padding: clamp(1.4rem, 4vw, 2.6rem); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem; }
.cform .sub-h, .cform .full { grid-column: 1 / -1; }
.cform .sub-h { margin-bottom: .4rem; }
.cfield { display: flex; flex-direction: column; gap: .4rem; min-width: 0; }
.cfield label { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.cfield label i { font-style: normal; color: var(--gold); }
.cfield .opt { text-transform: none; letter-spacing: 0; }
.cfield input, .cfield textarea { width: 100%; padding: .9rem 1rem; background: rgba(0,0,0,.35); border: 1px solid var(--stroke-gold); border-radius: 10px; color: var(--text); font: inherit; }
.cfield input::placeholder { color: var(--muted); }
.cfield textarea { min-height: 170px; resize: vertical; }
.cfield input:focus, .cfield textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(196,169,110,.18); }
.cfield .err { font-size: .78rem; color: #e8a7a7; min-height: 1.1em; }
.cfield.bad input, .cfield.bad textarea { border-color: #c46a6a; }
.cform__foot { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.count { font-size: .75rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.cform__ok { grid-column: 1 / -1; padding: 1rem 1.2rem; border: 1px solid var(--gold); border-radius: 12px; background: rgba(196,169,110,.12); }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .cform { grid-template-columns: 1fr; } }

/* blog page (new) */
.post__ph { position: relative; aspect-ratio: 16/9; display: grid; place-items: center; padding: 1.2rem; text-align: center;
  background: radial-gradient(120% 90% at 30% 20%, rgba(196,169,110,.22), transparent 60%), linear-gradient(160deg, var(--bg1), var(--bg0) 70%); }
.post__ph b { font-weight: 500; font-size: clamp(1rem, 1.6vw, 1.25rem); line-height: 1.25; color: var(--gold2); max-width: 22ch; }
.mpost__ph { aspect-ratio: 21/9; }
.mpost__body h3 { font-size: 1.35rem; color: var(--text); margin-top: .6rem; }
.mpost__body .bul { padding-left: 1.2rem; position: relative; }
.mpost__body .bul::before { content: ""; position: absolute; left: 0; top: .7em; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.mpost__sub { color: var(--muted); font-size: 1.05rem; }

/* portfolio page (new) */
.pf-note { color: var(--muted); max-width: 60rem; margin: -1.2rem 0 2rem; font-size: .95rem; }
.pf-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
.pf-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pf { background: var(--card); border: 1px solid var(--stroke); border-radius: var(--radius); padding: 1.6rem; display: flex; flex-direction: column; gap: .7rem; min-width: 0; }
.pf__top { display: flex; justify-content: space-between; align-items: center; gap: .8rem; }
.pf__ini { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--stroke-gold); color: var(--gold2); font-weight: 600; letter-spacing: .06em; font-size: .9rem; }
.pf__st { font-size: .64rem; letter-spacing: .16em; text-transform: uppercase; border: 1px solid var(--stroke-gold); border-radius: 999px; padding: .25rem .7rem; color: var(--gold2); }
.pf__st--good { color: #9fd8a8; border-color: rgba(159,216,168,.4); }
.pf__st--warn { color: #e8c37a; border-color: rgba(232,195,122,.45); }
.pf__st--muted { color: var(--muted); border-color: var(--stroke); }
.pf h3 { font-size: 1.6rem; }
.pf__meta { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.pf__desc { color: var(--muted); font-size: .94rem; line-height: 1.6; flex: 1; }
.pf__metric { border-top: 1px solid var(--stroke); padding-top: 1rem; display: grid; gap: .2rem; }
.pf__metric b { font-size: 2.6rem; font-weight: 500; line-height: 1; color: var(--gold); font-variant-numeric: tabular-nums; }
.pf__metric span { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 960px) { .pf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .pf-grid, .pf-grid--2 { grid-template-columns: 1fr; } }
/* events with flyers + RSVP popup (new) */
.ev { grid-template-columns: 96px 150px minmax(0, 1fr) auto; }
.ev__img { width: 150px; aspect-ratio: 4/3; object-fit: cover; border-radius: 10px; border: 1px solid var(--stroke); display: block; max-width: 100%; }
.ev__btns { display: flex; gap: .5rem; flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 760px) { .ev { grid-template-columns: 76px minmax(0, 1fr); } .ev__img { display: none; } .ev__btns { grid-column: 2; justify-content: flex-start; } }
.mev__hero { display: block; width: 100%; aspect-ratio: 16/8; object-fit: cover; max-width: 100%; }
.mev__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 2rem; padding: clamp(1.4rem, 3vw, 2.2rem); }
.mev__facts { display: grid; gap: .5rem; margin: .4rem 0 1rem; color: var(--text); }
.mev__facts span { color: var(--gold); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; display: block; }
.mev__desc { color: var(--muted); line-height: 1.7; }
.mev__flyer { display: inline-flex; gap: .5rem; align-items: center; margin-top: 1rem; font-size: .9rem; color: var(--gold2); border: 1px solid var(--stroke-gold); border-radius: 999px; padding: .5rem 1rem; }
.rsvp { display: grid; gap: .9rem; align-content: start; }
.rsvp h3 { font-size: 1.4rem; }
.rsvp select { width: 100%; padding: .9rem 1rem; background: rgba(0,0,0,.35); border: 1px solid var(--stroke-gold); border-radius: 10px; color: var(--text); font: inherit; }
@media (max-width: 760px) { .mev__grid { grid-template-columns: 1fr; } }

/* newsletter (new) */
.news { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem; align-items: center; background: var(--card);
  border: 1px solid var(--stroke-gold); border-radius: var(--radius); padding: clamp(1.6rem, 4vw, 3rem); }
.news h2 { font-size: clamp(1.8rem, 3.4vw, 2.8rem); margin-bottom: .6rem; }
.news form { display: flex; gap: .6rem; flex-wrap: wrap; }
.news input { flex: 1 1 220px; min-width: 0; padding: .9rem 1.1rem; background: rgba(0,0,0,.3); border: 1px solid var(--stroke); border-radius: 999px; color: var(--text); font: inherit; }
.news input::placeholder { color: var(--muted); }
.news__ok { font-size: .9rem; color: var(--gold2); margin-top: .8rem; }
.news small { display: block; font-size: .76rem; color: var(--muted); margin-top: .8rem; }
@media (max-width: 860px) { .news { grid-template-columns: 1fr; } }

/* cta */
.cta h2 { font-size: clamp(2.2rem, 5vw, 4.2rem); margin-bottom: 1.2rem; }
.cta p { color: var(--muted); max-width: 38rem; margin: 0 auto 2rem; }

/* footer */
.footer { background: var(--bg-deep); padding-block: var(--pad) 2.2rem; border-top: 1px solid var(--stroke); }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2.5rem; margin-bottom: 3rem; }
.footer__col h4 { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 1.1rem; color: var(--gold); }
.footer__col a { display: block; margin-bottom: .7rem; font-size: .95rem; opacity: .82; }
.footer__col a:hover { opacity: 1; color: var(--gold); }
.footer__bottom { padding-top: 2rem; border-top: 1px solid var(--stroke); font-size: .85rem; color: var(--muted); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
@media (max-width: 860px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }

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