/* ════════════════════════════════════════════════════════════════
   BRAND FOUNDER ACADEMY — SITE V2 · SHARED DESIGN SYSTEM
   Mobile-first: base styles target 375px; min-width queries enhance.
   Themes: DARK (default, near-black) + LIGHT (warm off-white).
   Navy preserved below as a commented one-switch alternate.
   ════════════════════════════════════════════════════════════════ */

/* ── FONTS (local) ───────────────────────────────────────────── */
@font-face { font-family: "Space Grotesk"; src: url("../../fonts/space-grotesk-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Space Grotesk"; src: url("../../fonts/space-grotesk-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Space Grotesk"; src: url("../../fonts/space-grotesk-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Clash Display"; src: url("../../fonts/ClashDisplay-Variable.ttf") format("truetype"); font-weight: 200 700; font-display: swap; }
@font-face { font-family: "Clash Display"; src: url("../../fonts/ClashDisplay-Semibold.otf") format("opentype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Clash Display"; src: url("../../fonts/ClashDisplay-Bold.otf") format("opentype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("../../fonts/dm-sans-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("../../fonts/dm-sans-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("../../fonts/dm-sans-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }

/* ── TOKENS — DARK IS DEFAULT ────────────────────────────────── */
:root {
  --bg:        #0A0A0B;
  --bg-deep:   #000000;
  --bg-dark:   #141416;
  --bg-card:   #1A1A1D;
  --gold:      #E8B830;   /* fills & buttons — same in both themes */
  --gold-hover:#F0C840;
  --gold-ink:  #E8B830;   /* gold used AS TEXT/accents — darkens on light */
  --on-gold:   #0A0A0B;   /* text sitting on gold fills */
  --ink:       #FFFFFF;   /* primary text */
  --steel:     #9C9CA0;   /* secondary text */
  --steel-dim: #5E5E63;
  --cream:     #F0E8D0;
  --live:      #3DD68C;

  --glass:        rgba(0, 0, 0, 0.62);
  --glass-strong: rgba(0, 0, 0, 0.88);
  --hair:    rgba(156, 156, 160, 0.14);
  --hair-2:  rgba(156, 156, 160, 0.20);
  --gold-line:   rgba(232, 184, 48, 0.35);
  --gold-tint:   rgba(232, 184, 48, 0.07);
  --shadow-ink:  rgba(0, 0, 0, 0.6);

  --font-hero: "Space Grotesk", "Clash Display", sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;

  --maxw: 1280px;
  --gutter: 20px;
  --grain-opacity: 0.05;
}

/* ── LIGHT THEME — warm off-white ────────────────────────────── */
body.theme-light {
  --bg:        #FAF9F6;
  --bg-deep:   #F2EFE9;
  --bg-dark:   #EDEAE2;
  --bg-card:   #FFFFFF;
  --gold-ink:  #9C7A0E;   /* contrast-safe gold for text on light */
  --ink:       #141416;
  --steel:     #5A5A60;
  --steel-dim: #8A8A90;
  --cream:     #6B5A20;

  --glass:        rgba(250, 249, 246, 0.72);
  --glass-strong: rgba(250, 249, 246, 0.92);
  --hair:    rgba(20, 20, 22, 0.10);
  --hair-2:  rgba(20, 20, 22, 0.16);
  --gold-line:   rgba(156, 122, 14, 0.40);
  --gold-tint:   rgba(232, 184, 48, 0.12);
  --shadow-ink:  rgba(20, 20, 22, 0.18);
  --grain-opacity: 0;      /* film grain off in light */
}

/* ── NAVY (retired toggle — preserved as a one-switch alternate)
body.theme-navy {
  --bg: #0D1421; --bg-deep: #080C15; --bg-dark: #141E30; --bg-card: #1A263A;
  --steel: #8FA8C0; --steel-dim: #5A6F86;
  --glass: rgba(8,12,21,0.65); --glass-strong: rgba(8,12,21,0.88);
  --hair: rgba(143,168,192,0.12); --hair-2: rgba(143,168,192,0.18);
}
─────────────────────────────────────────────────────────────── */

/* ── A11Y ────────────────────────────────────────────────────── */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ── RESET ───────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  transition: background 250ms ease, color 250ms ease;
}
img, video { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; background: none; border: none; color: inherit; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--gold-ink); outline-offset: 3px; }

/* ── FILM GRAIN (dark only) ──────────────────────────────────── */
body::before {
  content: "";
  position: fixed; inset: 0; pointer-events: none; z-index: 1000;
  opacity: var(--grain-opacity);
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.85'/></svg>");
}

/* ── UTILITIES ───────────────────────────────────────────────── */
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-body); font-weight: 500; font-size: 11px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold-ink);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--gold-ink); }
.eyebrow.center { justify-content: center; }

h1, h2, h3, h4 {
  font-family: var(--font-hero); font-weight: 700;
  letter-spacing: -0.025em; line-height: 1.05;
  color: var(--ink); text-wrap: balance;
}
.gold { color: var(--gold-ink); }

.section-head { text-align: left; max-width: 760px; margin-bottom: 44px; }
.section-head h2 { font-size: clamp(30px, 4.4vw, 56px); letter-spacing: -0.03em; margin-top: 18px; line-height: 1.02; }
.section-head .sub { font-size: 16px; color: var(--steel); line-height: 1.6; max-width: 56ch; margin-top: 18px; }

/* ── LOGO MARK ───────────────────────────────────────────────
   Inline SVG, not a CSS mask over a PNG. The mask version silently
   rendered nothing in Chrome and Safari on desktop; an inline SVG
   can't 404, scales crisply, and follows currentColor for free.  */
svg.logo-mark { display: block; color: var(--gold-ink); flex-shrink: 0; }

/* ── BUTTONS ─────────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-body); font-weight: 500; font-size: 13px;
  letter-spacing: 0.1em; text-transform: uppercase;
  background: var(--gold); color: var(--on-gold);
  border: none; border-radius: 2px;
  padding: 18px 26px; max-width: 100%;
  text-decoration: none; white-space: nowrap;
  min-height: 48px;                    /* thumb target */
  position: relative; overflow: hidden; isolation: isolate;
  transition: background-color 200ms ease-out, transform 100ms ease-out, box-shadow 200ms;
}
.btn-primary::after { content: "→"; font-family: var(--font-hero); font-weight: 500; transform: translateY(-1px); transition: transform 200ms ease-out; }
.btn-primary:hover { background: var(--gold-hover); box-shadow: 0 8px 24px -8px rgba(232,184,48,0.4); }
.btn-primary:hover::after { transform: translate(4px, -1px); }
.btn-primary:active { transform: scale(0.98); }
.btn-primary.lg { padding: 20px 30px; font-size: 13px; }
.btn-primary.no-arrow::after { content: none; }

.btn-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-body); font-weight: 500; font-size: 13px;
  letter-spacing: 0.1em; text-transform: uppercase;
  background: transparent; color: var(--gold-ink);
  border: 1px solid var(--gold-ink); border-radius: 2px;
  padding: 17px 24px; min-height: 48px; text-decoration: none; white-space: nowrap;
  transition: background 200ms, color 200ms, gap 200ms;
}
.btn-ghost:hover { background: var(--gold); color: var(--on-gold); border-color: var(--gold); gap: 14px; }

/* ── SCROLL REVEAL ───────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 700ms ease-out, transform 700ms cubic-bezier(0.2,0.6,0.2,1); }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal[data-delay="1"] { transition-delay: 80ms; }
.reveal[data-delay="2"] { transition-delay: 160ms; }
.reveal[data-delay="3"] { transition-delay: 240ms; }

/* ════════════════════════════════════════════════════════════════
   ANNOUNCEMENT BAR
   ════════════════════════════════════════════════════════════════ */
.announce {
  position: relative; z-index: 110;   /* above the nav so the nav's top-gap fill never covers it */
  background: linear-gradient(90deg, var(--gold-tint) 0%, transparent 50%, var(--gold-tint) 100%), var(--bg-deep);
  border-bottom: 1px solid var(--gold-line);
}
.announce.dismissed { display: none; }
.announce-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 5px 12px; padding: 9px 38px; text-align: center;
  font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--steel);
}
.announce-msg { flex: 0 0 100%; }
.announce-msg strong { color: var(--ink); font-weight: 500; letter-spacing: 0.1em; }
.announce-link {
  display: inline-flex; align-items: center; gap: 6px; color: var(--gold-ink);
  text-decoration: none; font-weight: 500;
  border-bottom: 1px solid var(--gold-line); padding-bottom: 1px;
  transition: gap 200ms, color 200ms;
}
.announce-link:hover { gap: 10px; }
.announce-close {
  position: absolute; right: 10px; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; background: transparent;
  border: 1px solid var(--hair-2); border-radius: 2px; color: var(--steel);
  font-size: 14px; line-height: 1; padding: 0;
  display: flex; align-items: center; justify-content: center; transition: all 150ms;
}
.announce-close:hover { color: var(--ink); border-color: var(--gold-line); }
@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(232,184,48,0.6); }
  50% { opacity: 0.65; box-shadow: 0 0 0 8px rgba(232,184,48,0); }
}
@keyframes pulseLive {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(61,214,140,0.55); }
  50% { opacity: 0.7; box-shadow: 0 0 0 8px rgba(61,214,140,0); }
}

@media (min-width: 768px) {
  .announce-inner { flex-wrap: nowrap; gap: 16px; padding: 9px 56px; font-size: 11px; letter-spacing: 0.16em; }
  .announce-msg { flex: 0 0 auto; }
  .announce-pill {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 4px 10px 4px 8px;
    background: var(--gold-tint); border: 1px solid var(--gold-line);
    border-radius: 999px; color: var(--gold-ink);
    font-weight: 500; font-size: 10px; letter-spacing: 0.18em; white-space: nowrap;
  }
  .announce-dot { width: 6px; height: 6px; background: var(--live); border-radius: 50%; animation: pulseLive 2s infinite ease-in-out; }
}
@media (max-width: 767px) { .announce-pill { display: none; } }

/* ════════════════════════════════════════════════════════════════
   NAV — mobile-first (drawer base, pill links on desktop)
   ════════════════════════════════════════════════════════════════ */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--glass);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid var(--hair);
  transition: background 250ms ease, border-color 250ms ease, box-shadow 250ms ease;
}
.nav.scrolled { background: var(--glass-strong); border-bottom-color: var(--gold-line); box-shadow: 0 12px 32px -16px var(--shadow-ink); }
.nav-inner {
  display: grid; grid-template-columns: 1fr auto; align-items: center;
  gap: 12px; padding: 12px var(--gutter); transition: padding 250ms ease;
}
.nav-mark { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: var(--ink); white-space: nowrap; }
.nav-mark .logo-mark { width: 34px; height: 34px; flex-shrink: 0; transition: transform 200ms cubic-bezier(0.2,0.7,0.2,1); }
.nav-mark:hover .logo-mark { transform: translateY(-1px); }
.nav-mark-word { font-family: var(--font-hero); font-weight: 700; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink); line-height: 1.3; }

.nav-links { display: none; }
.nav-right { display: flex; align-items: center; gap: 10px; justify-self: end; }

.theme-toggle {
  width: 42px; height: 42px; background: transparent; border: 1px solid var(--hair-2);
  border-radius: 2px; color: var(--steel); display: flex; align-items: center; justify-content: center;
  transition: border-color 200ms, color 200ms;
}
.theme-toggle:hover { border-color: var(--gold-line); color: var(--gold-ink); }
.theme-toggle svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.theme-toggle .ico-sun { display: none; }
body.theme-light .theme-toggle .ico-moon { display: none; }
body.theme-light .theme-toggle .ico-sun { display: block; }

.nav-login {
  display: none; align-items: center; gap: 7px;
  font-family: var(--font-body); font-weight: 500; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--steel); text-decoration: none; padding: 11px 12px;
  border: 1px solid transparent; border-radius: 2px; white-space: nowrap;
  transition: color 200ms, border-color 200ms;
}
.nav-login svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.nav-login:hover { color: var(--gold-ink); border-color: var(--gold-line); }

.nav-cta {
  display: none; align-items: center; gap: 8px; padding: 11px 18px;
  background: transparent; border: 1px solid var(--gold-ink); border-radius: 2px;
  font-family: var(--font-body); font-weight: 500; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold-ink); text-decoration: none; white-space: nowrap; position: relative; overflow: hidden;
  transition: color 200ms, gap 200ms, box-shadow 200ms;
}
.nav-cta::before { content: ""; position: absolute; inset: 0; background: var(--gold); transform: translateY(100%); transition: transform 280ms cubic-bezier(0.2,0.7,0.2,1); z-index: 0; }
.nav-cta:hover { color: var(--on-gold); gap: 12px; }
.nav-cta:hover::before { transform: translateY(0); }
.nav-cta span { position: relative; z-index: 1; }

.nav-toggle {
  display: inline-flex; width: 42px; height: 42px; background: transparent;
  border: 1px solid var(--hair-2); border-radius: 2px; padding: 0;
  align-items: center; justify-content: center; flex-direction: column; gap: 4px; transition: border-color 200ms;
}
.nav-toggle:hover { border-color: var(--gold-line); }
.nav-toggle span { width: 16px; height: 1.5px; background: var(--ink); transition: transform 250ms cubic-bezier(0.2,0.7,0.2,1); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(3px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3px) rotate(-45deg); }

.nav-drawer {
  display: flex; flex-direction: column; background: var(--glass-strong);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--gold-line);
  padding: 0 var(--gutter); max-height: 0; overflow: hidden;
  transition: max-height 350ms cubic-bezier(0.2,0.7,0.2,1), padding 250ms;
}
.nav-drawer.open { max-height: 560px; padding: 8px var(--gutter) 20px; }
.drawer-link, .drawer-cta {
  display: flex; align-items: center; justify-content: space-between; padding: 17px 4px;
  font-family: var(--font-hero); font-weight: 700; font-size: 17px; letter-spacing: -0.01em;
  color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--hair); transition: color 200ms;
}
.drawer-link span { color: var(--steel-dim); font-size: 14px; }
.drawer-link:hover { color: var(--gold-ink); }
.drawer-link.login { font-family: var(--font-body); font-weight: 500; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--steel); }
.drawer-cta {
  margin-top: 12px; background: var(--gold); color: var(--on-gold); border-bottom: none;
  padding: 17px 20px; border-radius: 2px; letter-spacing: 0.12em; text-transform: uppercase; font-size: 13px;
}
.drawer-cta span { color: var(--on-gold); }

@media (min-width: 1024px) {
  :root { --gutter: 40px; }
  html { scroll-padding-top: 96px; }
  /* min-content floors stop the side columns from being squeezed narrower than
     their contents, which was clipping the Join CTA at the right edge. */
  .nav-inner { grid-template-columns: minmax(max-content, 1fr) auto minmax(max-content, 1fr); gap: 24px; padding: 16px var(--gutter); }
  .nav-right { flex-wrap: nowrap; }
  .nav.scrolled .nav-inner { padding: 11px var(--gutter); }
  .nav-links {
    position: relative; display: flex; align-items: center; gap: 4px; padding: 4px;
    background: var(--gold-tint); border: 1px solid var(--hair); border-radius: 999px; justify-self: center;
  }
  .nav-link {
    position: relative; z-index: 2; display: inline-flex; align-items: center; padding: 8px 18px;
    font-family: var(--font-body); font-weight: 500; font-size: 12px; letter-spacing: 0.12em;
    text-transform: uppercase; color: var(--steel); text-decoration: none; border-radius: 999px;
    transition: color 200ms ease; white-space: nowrap;
  }
  .nav-link:hover { color: var(--ink); }
  .nav-link.active { color: var(--on-gold); }
  .nav-indicator {
    position: absolute; z-index: 1; top: 4px; height: calc(100% - 8px);
    background: var(--gold); border-radius: 999px; opacity: 0; pointer-events: none;
    transition: transform 420ms cubic-bezier(0.2,0.8,0.2,1), width 420ms cubic-bezier(0.2,0.8,0.2,1), opacity 250ms ease;
  }
  .nav-indicator.show { opacity: 1; }
  .nav-login { display: inline-flex; }
  .nav-cta { display: inline-flex; }
  .nav-toggle, .nav-drawer { display: none; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .nav-cta { display: inline-flex; }
}

/* ════════════════════════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════════════════════════ */
footer { padding: 40px 0 32px; background: var(--bg-deep); border-top: 1px solid var(--hair); }
.footer-row { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.footer-mark { display: flex; align-items: center; gap: 12px; font-family: var(--font-hero); font-weight: 700; font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink); }
.footer-mark .logo-mark { width: 26px; height: 26px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a { width: 42px; height: 42px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--hair-2); border-radius: 2px; color: var(--steel); transition: color 150ms, border-color 150ms; }
.footer-social a:hover { color: var(--gold-ink); border-color: var(--gold-line); }
.footer-social svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.6; }
.footer-links { display: flex; flex-wrap: wrap; gap: 14px 22px; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--steel); }
.footer-links a { color: var(--steel); text-decoration: none; transition: color 150ms; }
.footer-links a:hover { color: var(--ink); }
.footer-copy { font-size: 12px; color: var(--steel-dim); letter-spacing: 0.04em; }
@media (min-width: 768px) {
  .footer-row { flex-direction: row; align-items: center; justify-content: space-between; flex-wrap: wrap; }
}

/* ── STICKY MOBILE CTA ───────────────────────────────────────── */
.mobile-cta {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 800;
  padding: 16px 24px; background: var(--gold); color: var(--on-gold);
  font-family: var(--font-body); font-weight: 500; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase;
  text-decoration: none; border-radius: 2px; text-align: center;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.1), 0 20px 40px -10px var(--shadow-ink);
  transition: transform 400ms cubic-bezier(0.2,0.7,0.2,1); transform: translateY(120%);
}
.mobile-cta.show { transform: translateY(0); }
@media (min-width: 1024px) { .mobile-cta { display: none; } }

/* ── MOBILE: solid sticky chrome so page content never shows through ── */
@media (max-width: 1023px) {
  /* Opaque nav — no frosted-glass see-through */
  .nav, .nav.scrolled { background: var(--bg); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .nav.scrolled { border-bottom-color: var(--gold-line); box-shadow: 0 8px 24px -16px var(--shadow-ink); }
  .nav-drawer { background: var(--bg); backdrop-filter: none; -webkit-backdrop-filter: none; }
  /* Extend the nav background upward so the Safari URL-bar animation never
     opens a gap that exposes the page above the nav. The announcement bar
     (higher z-index) still sits on top of this fill at the very top. */
  .nav::before {
    content: ""; position: absolute; left: 0; right: 0; bottom: 100%;
    height: 160px; background: var(--bg);
  }
  /* Full-width bottom CTA anchored to the edge (covers the home-indicator area) */
  .mobile-cta {
    left: 0; right: 0; bottom: 0; border-radius: 0;
    padding: 15px 20px calc(15px + env(safe-area-inset-bottom));
    box-shadow: 0 -10px 30px -14px var(--shadow-ink);
  }
  /* A short gold skirt below the bar covers the rubber-band gap during the
     Safari toolbar animation. It used to be 140px, which is why the bar
     appeared to double in height when the toolbar expanded on scroll-up...
     the skirt was being pushed into view. 34px is enough to cover the gap
     and never reads as part of the bar. */
  .mobile-cta::after {
    content: ""; position: absolute; left: 0; right: 0; top: 100%;
    height: 34px; background: var(--gold);
  }
}

/* ════════════════════════════════════════════════════════════════
   EDIT MODE (press E · ⌘/Ctrl+S saves to localStorage)
   ════════════════════════════════════════════════════════════════ */
.edit-bar {
  position: fixed; left: 16px; bottom: 16px; z-index: 1100;
  display: none; align-items: center; gap: 12px; flex-wrap: wrap;
  background: var(--bg-card); border: 1px solid var(--gold); border-radius: 2px;
  padding: 10px 14px; box-shadow: 0 14px 34px -10px var(--shadow-ink);
  font-family: var(--font-body); font-size: 12px; color: var(--ink);
  max-width: calc(100vw - 32px);
}
body.edit-mode .edit-bar { display: flex; }
.edit-bar b { color: var(--gold-ink); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; }
.edit-bar span { color: var(--steel); }
.edit-bar button {
  background: transparent; border: 1px solid var(--hair-2); color: var(--steel);
  padding: 6px 12px; border-radius: 2px; font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase;
  transition: border-color 150ms, color 150ms;
}
.edit-bar button:hover { border-color: var(--gold-ink); color: var(--gold-ink); }
body.edit-mode .bfa-editable { outline: 1px dashed var(--gold-line); outline-offset: 3px; cursor: text; }
body.edit-mode .bfa-editable:focus { outline: 2px solid var(--gold-ink); background: var(--gold-tint); }
.edit-flash {
  position: fixed; left: 50%; bottom: 84px; transform: translate(-50%, 8px); z-index: 1101;
  background: var(--gold); color: var(--on-gold); font-weight: 500;
  font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 10px 18px; border-radius: 2px; opacity: 0; pointer-events: none;
  transition: opacity 250ms, transform 250ms;
}
.edit-flash.show { opacity: 1; transform: translate(-50%, 0); }

/* ── REDUCED MOTION ──────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .announce-dot { animation: none; }
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
