/* ============================================================
   HEADER & MOBILE MENU  (bgh- prefix)
   ============================================================ */

.bgh-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(10, 10, 10, 0.93);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 0.5px solid var(--border-subtle);
}

.bgh-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 0 var(--gutter);
  height: 64px;
  max-width: var(--max-width);
  margin: 0 auto;
}

/* Logo */
.bgh-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 0.03em;
  color: var(--text-primary) !important;
  text-decoration: none !important;
  white-space: nowrap;
  flex-shrink: 0;
}

.bgh-logo span,
.bgh-logo img { color: var(--accent); max-height: 36px; width: auto; }

/* If Blocksy injects a custom logo image */
.bgh-logo .custom-logo { max-height: 36px; width: auto; display: block; }

/* Desktop nav */
.bgh-nav { flex: 1; }

.bgh-nav-list {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.bgh-nav-list li { margin: 0; padding: 0; }

.bgh-nav-list a {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted) !important;
  text-decoration: none !important;
  transition: color 0.2s;
  font-family: var(--font-body);
}

.bgh-nav-list a:hover,
.bgh-nav-list a.bgh-nav-active {
  color: var(--text-primary) !important;
}

.bgh-nav-list a.bgh-nav-active {
  position: relative;
}

.bgh-nav-list a.bgh-nav-active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0; right: 0;
  height: 1px;
  background: var(--accent);
}

/* Desktop CTA */
.bgh-cta {
  display: inline-block;
  background: var(--accent);
  color: var(--bg-base) !important;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 10px 20px;
  text-decoration: none !important;
  flex-shrink: 0;
  transition: background 0.2s;
}

.bgh-cta:hover { background: var(--accent-dark); }

/* ── Hamburger ─────────────────────────────────── */
.bgh-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  margin-left: auto;
  flex-shrink: 0;
}

.bgh-hamburger-line {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text-primary);
  transform-origin: center;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

/* Animated open state (X) */
.bgh-hamburger--open .bgh-hamburger-line:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.bgh-hamburger--open .bgh-hamburger-line:nth-child(2) {
  opacity: 0;
}
.bgh-hamburger--open .bgh-hamburger-line:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

@media (max-width: 768px) {
  .bgh-hamburger { display: flex; }
  .bgh-nav, .bgh-cta { display: none; }
}

/* ── Mobile drawer ─────────────────────────────── */
.bgh-mobile {
  position: fixed;
  inset: 0;
  z-index: 300;
  visibility: hidden;
  pointer-events: none;
}

.bgh-mobile--open {
  visibility: visible;
  pointer-events: auto;
}

/* Overlay */
.bgh-mobile-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.bgh-mobile--open .bgh-mobile-overlay {
  opacity: 1;
}

/* Drawer panel */
.bgh-mobile-drawer {
  position: absolute;
  top: 0;
  right: 0;
  width: min(320px, 85vw);
  height: 100%;
  background: #0f0f0f;
  border-left: 0.5px solid var(--border-light);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
}

.bgh-mobile--open .bgh-mobile-drawer {
  transform: translateX(0);
}

/* Drawer header */
.bgh-mobile-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 0.5px solid var(--border-subtle);
  height: 64px;
  flex-shrink: 0;
}

.bgh-mobile-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 15px;
  color: var(--text-primary);
}

.bgh-mobile-logo span { color: var(--accent); }

.bgh-mobile-close {
  background: none;
  border: 0.5px solid var(--border-light);
  color: var(--text-muted);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s;
}

.bgh-mobile-close:hover {
  color: var(--text-primary);
  border-color: var(--accent);
}

/* Drawer nav */
.bgh-mobile-nav { flex: 1; padding: 16px 0; overflow-y: auto; }

.bgh-mobile-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.bgh-mobile-list li {
  border-bottom: 0.5px solid var(--border-subtle);
}

.bgh-mobile-list a {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--text-primary) !important;
  text-decoration: none !important;
  transition: color 0.15s, padding-left 0.15s;
}

.bgh-mobile-list a:hover {
  color: var(--accent) !important;
  padding-left: 30px;
}

.bgh-mobile-list a.bgh-nav-active {
  color: var(--accent) !important;
}

.bgh-mobile-num {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--text-faint);
  font-weight: 400;
  font-family: var(--font-body);
  min-width: 24px;
}

/* Drawer footer */
.bgh-mobile-footer {
  padding: 24px;
  border-top: 0.5px solid var(--border-subtle);
  flex-shrink: 0;
}

.bgh-mobile-cta {
  display: block;
  text-align: center;
  background: var(--accent);
  color: var(--bg-base) !important;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 16px;
  text-decoration: none !important;
  margin-bottom: 16px;
  transition: background 0.2s;
}

.bgh-mobile-cta:hover { background: var(--accent-dark); }

.bgh-mobile-tagline {
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-faint);
  text-align: center;
}


/* ============================================================
   FOOTER  (bgf- prefix)
   ============================================================ */

.bgf-footer {
  background: var(--bg-base);
  border-top: 0.5px solid var(--border-subtle);
}

/* Newsletter strip */
.bgf-newsletter {
  background: var(--bg-surface);
  padding: clamp(28px, 4vw, 48px) var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  border-bottom: 0.5px solid var(--border-subtle);
}

.bgf-newsletter-headline {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(20px, 3vw, 28px);
  color: var(--text-primary);
  line-height: 1.1;
}

.bgf-newsletter-headline span { color: var(--accent); }

.bgf-newsletter-sub {
  font-size: 13px;
  color: var(--text-faint);
  margin-top: 4px;
}

.bgf-newsletter-form {
  display: flex;
  flex: 1;
  max-width: 400px;
}

.bgf-newsletter-form input[type="email"] {
  flex: 1;
  background: var(--bg-elevated);
  border: 0.5px solid var(--border-light);
  border-right: none;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 14px;
  padding: 13px 18px;
  border-radius: 0;
  outline: none;
  transition: border-color 0.2s;
}

.bgf-newsletter-form input[type="email"]::placeholder { color: var(--text-faint); }
.bgf-newsletter-form input[type="email"]:focus { border-color: var(--accent); }

.bgf-newsletter-form button {
  background: var(--accent);
  color: var(--bg-base);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: none;
  padding: 13px 20px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
}

.bgf-newsletter-form button:hover { background: var(--accent-dark); }

/* Main footer row */
.bgf-main {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding: clamp(40px, 5vw, 64px) var(--gutter);
  max-width: var(--max-width);
  margin: 0 auto;
}

@media (max-width: 768px) {
  .bgf-main { grid-template-columns: 1fr 1fr; }
  .bgf-brand { grid-column: 1 / -1; }
}

@media (max-width: 480px) {
  .bgf-main { grid-template-columns: 1fr; }
  .bgf-newsletter { flex-direction: column; align-items: flex-start; }
  .bgf-newsletter-form { max-width: 100%; width: 100%; }
}

.bgf-logo {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 0.02em;
  color: var(--text-primary) !important;
  text-decoration: none !important;
  margin-bottom: 8px;
}

.bgf-logo span { color: var(--accent); }

.bgf-tagline {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 12px;
}

.bgf-blurb {
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.bgf-socials {
  display: flex;
  gap: 12px;
}

.bgf-social {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 0.5px solid var(--border-light);
  color: var(--text-muted) !important;
  text-decoration: none !important;
  transition: border-color 0.15s, color 0.15s;
}

.bgf-social:hover {
  border-color: var(--accent);
  color: var(--accent) !important;
}

.bgf-nav-heading {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 16px;
}

.bgf-nav-list {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bgf-nav-list a {
  font-size: 13px;
  color: var(--text-muted) !important;
  text-decoration: none !important;
  transition: color 0.15s;
}

.bgf-nav-list a:hover { color: var(--accent) !important; }

/* Bottom bar */
.bgf-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 20px var(--gutter);
  border-top: 0.5px solid var(--border-subtle);
  max-width: var(--max-width);
  margin: 0 auto;
}

.bgf-copy, .bgf-made {
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--text-ghost);
}


/* ============================================================
   EVENTS ARCHIVE PAGE  (bga- prefix)
   ============================================================ */

.bga-header {
  padding: clamp(48px, 7vw, 80px) var(--gutter) 0;
  position: relative;
}

.bga-header-inner { max-width: var(--max-width); margin: 0 auto; }

.bga-header-eyebrow {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.bga-header-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(48px, 9vw, 96px);
  line-height: 0.92;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.bga-header-sub {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 36px;
}

.bga-header-sub span { color: var(--text-faint); font-size: 13px; }

.bga-header-rule {
  height: 0.5px;
  background: var(--border-subtle);
  margin-top: 0;
}

/* Section wrapper */
.bga-section {
  padding: clamp(36px, 5vw, 60px) var(--gutter);
  max-width: var(--max-width);
  margin: 0 auto;
}

/* Grid */
.bga-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

/* Hero card spans full width */
.bga-card--hero {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.bga-card--hero .bga-card-thumb {
  aspect-ratio: 16 / 10;
}

@media (max-width: 900px) {
  .bga-grid { grid-template-columns: repeat(2, 1fr); }
  .bga-card--hero { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .bga-grid { grid-template-columns: 1fr; }
  .bga-card--hero { grid-column: 1; }
}

/* Card base */
.bga-card {
  background: var(--bg-surface);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: background 0.15s;
}

.bga-card:hover { background: #1c1c1c; }

/* Thumbnail */
.bga-card-thumb {
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  text-decoration: none;
  flex-shrink: 0;
}

.bga-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, filter 0.3s ease;
  filter: brightness(0.85) saturate(0.9);
}

.bga-card:hover .bga-card-thumb img {
  transform: scale(1.04);
  filter: brightness(0.95) saturate(1);
}

.bga-card-thumb-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(10,10,10,0.5) 100%);
  pointer-events: none;
}

.bga-card-thumb { position: relative; }

/* Empty thumb */
.bga-card-thumb--empty {
  aspect-ratio: 4 / 3;
  cursor: default;
}

.bga-card-thumb-placeholder {
  width: 100%;
  height: 100%;
  background: var(--bg-elevated);
  background-image: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 10px,
    rgba(240,235,224,0.02) 10px,
    rgba(240,235,224,0.02) 20px
  );
}

/* Card body */
.bga-card-body {
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.bga-card--hero .bga-card-body {
  padding: 28px 32px;
  justify-content: center;
}

.bga-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.bga-card-cat {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.bga-card-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--text-ghost);
}

.bga-card-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(15px, 2vw, 18px);
  line-height: 1.2;
  margin-bottom: 12px;
  flex: 1;
}

.bga-card-title a {
  color: var(--text-primary) !important;
  text-decoration: none !important;
  transition: color 0.15s;
}

.bga-card-title a:hover { color: var(--accent) !important; }

.bga-card--hero .bga-card-title {
  font-size: clamp(22px, 3vw, 32px);
}

.bga-card-excerpt {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.bga-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 14px;
  border-top: 0.5px solid var(--border-subtle);
}

.bga-card-date {
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--text-faint);
}

.bga-card-link {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent) !important;
  text-decoration: none !important;
  transition: letter-spacing 0.2s;
}

.bga-card:hover .bga-card-link {
  letter-spacing: 0.12em;
}

/* Pagination */
.bga-pagination {
  margin-top: 48px;
  display: flex;
  justify-content: center;
}

.bga-pagination ul {
  display: flex;
  gap: 4px;
  list-style: none;
  margin: 0; padding: 0;
}

.bga-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--text-muted) !important;
  text-decoration: none !important;
  background: var(--bg-surface);
  border: 0.5px solid var(--border-subtle);
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.bga-pagination .page-numbers:hover,
.bga-pagination .page-numbers.current {
  background: var(--accent);
  color: var(--bg-base) !important;
  border-color: var(--accent);
}

/* Empty state */
.bga-empty {
  text-align: center;
  padding: 80px var(--gutter);
}

.bga-empty-headline {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 32px;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.bga-empty-sub {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 32px;
}


/* ============================================================
   ABOUT PAGE  (bgo- prefix)
   ============================================================ */

.bgo-hero {
  padding: clamp(60px, 9vw, 110px) var(--gutter) clamp(40px, 6vw, 72px);
  position: relative;
  overflow: hidden;
}

.bgo-hero::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 50%;
  height: 100%;
  background: radial-gradient(ellipse at right top, rgba(200,240,74,0.06) 0%, transparent 65%);
  pointer-events: none;
}

.bgo-hero-inner { position: relative; z-index: 1; }

.bgo-eyebrow {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.bgo-eyebrow::before {
  content: '';
  display: block;
  width: 28px; height: 1px;
  background: var(--accent);
}

.bgo-headline {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(44px, 8vw, 80px);
  line-height: 0.95;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  margin-bottom: 24px;
}

.bgo-headline em {
  font-style: italic;
  font-family: var(--font-body);
  font-weight: 300;
  color: rgba(240,235,224,0.4);
  font-size: 0.9em;
}

.bgo-hero-sub {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 380px;
}

.bgo-hero-accent {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 0.5px;
  background: var(--border-subtle);
}

/* Generic section wrapper */
.bgo-section {
  padding: clamp(40px, 6vw, 72px) var(--gutter);
}

.bgo-section-label {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.bgo-section-label::after {
  content: '';
  flex: 1;
  height: 0.5px;
  background: var(--border-light);
}

/* Manifesto */
.bgo-manifesto-inner {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 60px;
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
}

@media (max-width: 800px) {
  .bgo-manifesto-inner { grid-template-columns: 1fr; }
}

.bgo-manifesto-lines {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.bgo-manifesto-line {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(20px, 3vw, 28px);
  line-height: 1.2;
  color: var(--text-muted);
  display: flex;
  gap: 16px;
}

.bgo-manifesto-line strong { color: var(--text-primary); }

.bgo-manifesto-dash {
  color: var(--accent);
  flex-shrink: 0;
}

.bgo-manifesto-image {
  position: relative;
}

.bgo-manifesto-image img {
  width: 100%;
  height: auto;
  display: block;
  filter: grayscale(15%);
}

.bgo-manifesto-image::before {
  content: '';
  position: absolute;
  inset: -3px;
  border: 0.5px solid var(--accent);
  opacity: 0.25;
  pointer-events: none;
}

/* Story */
.bgo-story-inner {
  max-width: 740px;
  margin: 0 auto;
}

.bgo-story-body {
  display: flex;
  flex-direction: column;
  gap: 1.2em;
}

.bgo-story-body p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-muted);
}

/* Founders */
.bgo-founders-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  margin-bottom: 32px;
}

@media (max-width: 560px) {
  .bgo-founders-grid { grid-template-columns: 1fr; }
}

.bgo-founder-card {
  background: var(--bg-surface);
  padding: 32px 28px;
}

.bgo-founder-initial {
  width: 56px;
  height: 56px;
  background: rgba(200, 240, 74, 0.1);
  border: 0.5px solid rgba(200, 240, 74, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  color: var(--accent);
  margin-bottom: 16px;
}

.bgo-founder-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.bgo-founder-role {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.bgo-founder-bio {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-muted);
}

.bgo-founders-tagline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(17px, 2.5vw, 22px);
  line-height: 1.4;
  color: var(--text-muted);
  max-width: 680px;
}

/* Values */
.bgo-values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}

@media (max-width: 800px) {
  .bgo-values-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .bgo-values-grid { grid-template-columns: 1fr; }
}

.bgo-value-cell {
  background: var(--bg-surface);
  padding: 28px 24px;
}

.bgo-value-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 12px;
}

.bgo-value-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.bgo-value-body {
  font-size: 13px;
  line-height: 1.65;
  color: var(--text-muted);
}

/* CTA strip */
.bgo-cta-strip {
  background: var(--bg-surface);
  border-top: 0.5px solid var(--border-subtle);
  padding: clamp(36px, 5vw, 60px) var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.bgo-cta-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(18px, 2.5vw, 24px);
  color: var(--text-primary);
}

.bgo-cta-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}


/* ============================================================
   CONTACT PAGE  (bgc- prefix)
   ============================================================ */

.bgc-header {
  padding: clamp(60px, 8vw, 100px) var(--gutter) clamp(40px, 5vw, 64px);
  border-bottom: 0.5px solid var(--border-subtle);
  position: relative;
  overflow: hidden;
}

.bgc-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 80% 50%, rgba(200,240,74,0.04) 0%, transparent 70%);
  pointer-events: none;
}

.bgc-header-inner { position: relative; z-index: 1; }

.bgc-eyebrow {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.bgc-eyebrow::before {
  content: '';
  display: block;
  width: 28px; height: 1px;
  background: var(--accent);
}

.bgc-headline {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(42px, 8vw, 80px);
  line-height: 0.95;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.bgc-header-sub {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 460px;
}

/* Body two-column */
.bgc-body {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 48px;
  padding: clamp(40px, 5vw, 64px) var(--gutter);
  max-width: var(--max-width);
  margin: 0 auto;
  align-items: start;
}

@media (max-width: 800px) {
  .bgc-body { grid-template-columns: 1fr; }
}

/* Info cards */
.bgc-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: sticky;
  top: 90px;
}

.bgc-info-card {
  background: var(--bg-surface);
  border: 0.5px solid var(--border-light);
  padding: 24px;
}

.bgc-info-card--accent {
  background: rgba(200, 240, 74, 0.04);
  border-color: rgba(200, 240, 74, 0.2);
}

.bgc-info-heading {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 0.5px solid var(--border-subtle);
}

.bgc-info-row {
  padding: 11px 0;
  border-bottom: 0.5px solid var(--border-subtle);
}

.bgc-info-row:last-child { border-bottom: none; }

.bgc-info-label {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 4px;
}

.bgc-info-value {
  font-size: 14px;
  color: var(--text-primary);
}

.bgc-info-value a {
  color: var(--accent) !important;
  text-decoration: none !important;
}

.bgc-info-value a:hover { text-decoration: underline !important; }

.bgc-services-list {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bgc-services-list li {
  font-size: 13px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 10px;
}

.bgc-services-list li::before {
  content: '✦';
  color: var(--accent);
  font-size: 8px;
  flex-shrink: 0;
}

/* Form */
.bgc-form-heading {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 0.5px solid var(--border-subtle);
}

.bgc-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.bgc-form-row--half {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 480px) {
  .bgc-form-row--half { grid-template-columns: 1fr; }
}

.bgc-form-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.bgc-form-label {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.bgc-form-label span { color: var(--accent); }

.bgc-form-input {
  background: var(--bg-surface);
  border: 0.5px solid var(--border-light);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 14px;
  padding: 13px 16px;
  border-radius: 0;
  outline: none;
  width: 100%;
  transition: border-color 0.2s;
  -webkit-appearance: none;
}

.bgc-form-input:focus { border-color: var(--accent); }

.bgc-form-input::placeholder { color: var(--text-faint); }

.bgc-form-select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='rgba(240,235,224,0.35)' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.bgc-form-textarea { resize: vertical; min-height: 120px; }

/* Style WPForms / Contact Form 7 to match */
.bgc-form-wrap .wpforms-field input,
.bgc-form-wrap .wpforms-field textarea,
.bgc-form-wrap .wpforms-field select,
.bgc-form-wrap .wpcf7-form input[type="text"],
.bgc-form-wrap .wpcf7-form input[type="email"],
.bgc-form-wrap .wpcf7-form textarea,
.bgc-form-wrap .fluentform input,
.bgc-form-wrap .fluentform textarea,
.bgc-form-wrap .fluentform select {
  background: var(--bg-surface) !important;
  border: 0.5px solid var(--border-light) !important;
  border-radius: 0 !important;
  color: var(--text-primary) !important;
  font-family: var(--font-body) !important;
  font-size: 14px !important;
  padding: 13px 16px !important;
  width: 100% !important;
}

.bgc-form-wrap .wpforms-submit,
.bgc-form-wrap .wpcf7-submit,
.bgc-form-wrap .ff-btn-submit {
  background: var(--accent) !important;
  color: var(--bg-base) !important;
  font-family: var(--font-display) !important;
  font-weight: 700 !important;
  font-size: 12px !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 15px 32px !important;
  cursor: pointer !important;
}

.bgc-form-submit {
  display: inline-block;
  background: var(--accent);
  color: var(--bg-base);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none;
  padding: 16px 36px;
  cursor: pointer;
  align-self: flex-start;
  transition: background 0.2s, transform 0.15s;
}

.bgc-form-submit:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
}


/* ============================================================
   404 PAGE
   ============================================================ */

.bg404-page {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bg404-inner {
  text-align: center;
  padding: 60px var(--gutter) 40px;
  max-width: 600px;
  margin: 0 auto;
}

.bg404-number {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(100px, 20vw, 180px);
  line-height: 1;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(240, 235, 224, 0.08);
  margin-bottom: 16px;
  user-select: none;
}

.bg404-headline {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(28px, 5vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.bg404-sub {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 36px;
}

.bg404-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.bg404-page .bg-ticker {
  margin: 0 calc(-1 * var(--gutter));
}
