:root {
  --black: #050507;
  --ink: #102f25;
  --muted: #a9b4ba;
  --cyan: #00f5ff;
  --magenta: #ff2df7;
  --green: #20a66b;
  --gold: #f5bd3d;
  --cream: #fbfff7;
  --panel: rgba(255, 255, 255, .065);
  --line: rgba(255, 255, 255, .12);
  --shadow: 0 24px 80px rgba(0, 0, 0, .34);
  --radius: 8px;
  --radius-lg: 16px;
  --max: 1180px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.flutterby-page {
  margin: 0;
  min-width: 320px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

body.flutterby-performer {
  color: #f8fbff;
  background:
    radial-gradient(circle at 18% 10%, rgba(0,245,255,.16), transparent 30rem),
    radial-gradient(circle at 90% 15%, rgba(255,45,247,.16), transparent 28rem),
    var(--black);
}

body.flutterby-nonprofit {
  color: var(--ink);
  background: var(--cream);
}

body.flutterby-page a { color: inherit; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }

.container {
  width: min(calc(100% - 3rem), var(--max));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 10000;
  transform: translateY(-140%);
  padding: .75rem 1rem;
  border-radius: var(--radius);
  background: #fff;
  color: #111;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: .9rem 0;
  backdrop-filter: blur(20px);
}
.flutterby-performer .site-header {
  background: rgba(5, 5, 7, .72);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.flutterby-nonprofit .site-header {
  background: rgba(251,255,247,.84);
  border-bottom: 1px solid rgba(16,47,37,.08);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}
.brand-mark {
  width: 46px;
  height: 46px;
  object-fit: contain;
  border-radius: 12px;
}
.brand span span { color: var(--cyan); }
.flutterby-nonprofit .brand span span { color: #0fb9ad; }

.nav-links {
  display: flex;
  align-items: center;
  gap: .25rem;
  padding: .35rem;
  border-radius: 999px;
}
.flutterby-performer .nav-links {
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(255,255,255,.1);
}
.flutterby-nonprofit .nav-links {
  background: rgba(255,255,255,.62);
  border: 1px solid rgba(16,47,37,.08);
}
.nav-links a {
  padding: .6rem .8rem;
  border-radius: 999px;
  text-decoration: none;
  font-size: .92rem;
  font-weight: 800;
}
.nav-links a:hover { background: rgba(255,255,255,.1); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: .8rem 1.2rem;
  border: 0;
  border-radius: 999px;
  color: inherit;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), background .22s var(--ease);
}
.wp-block-button.btn {
  display: inline-flex;
  min-height: 0;
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
}
.wp-block-button.btn .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: .8rem 1.2rem;
  border-radius: 999px;
  border: 0;
  color: inherit;
  background: transparent;
  font-weight: 900;
  text-decoration: none;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), background .22s var(--ease), border-color .22s var(--ease);
}
.btn:hover,
.wp-block-button.btn:hover .wp-block-button__link {
  transform: translateY(-2px);
}
.wp-block-button.btn-primary .wp-block-button__link,
.btn-primary {
  position: relative;
  overflow: hidden;
}
.wp-block-button.btn-primary .wp-block-button__link::after,
.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 0 34%, rgba(255,255,255,.42) 45%, transparent 58% 100%);
  transform: translateX(-120%);
  transition: transform .7s var(--ease);
}
.wp-block-button.btn-primary:hover .wp-block-button__link::after,
.btn-primary:hover::after {
  transform: translateX(120%);
}
.btn-primary {
  color: #021014;
  background: linear-gradient(100deg, var(--cyan), var(--magenta));
  box-shadow: 0 14px 36px rgba(255,45,247,.28);
}
.wp-block-button.btn-primary .wp-block-button__link {
  color: #021014;
  background: linear-gradient(100deg, var(--cyan), var(--magenta));
  box-shadow: 0 14px 36px rgba(255,45,247,.28);
}
.flutterby-nonprofit .btn-primary {
  color: #fff;
  background: linear-gradient(100deg, var(--green), var(--gold));
  box-shadow: 0 12px 32px rgba(32,166,107,.22);
}
.flutterby-nonprofit .wp-block-button.btn-primary .wp-block-button__link {
  color: #fff;
  background: linear-gradient(100deg, var(--green), var(--gold));
  box-shadow: 0 12px 32px rgba(32,166,107,.22);
}
.btn-ghost {
  background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.12);
}
.wp-block-button.btn-ghost .wp-block-button__link {
  background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.12);
}
.flutterby-nonprofit .btn-ghost {
  background: #fff;
  border: 1px solid rgba(16,47,37,.1);
  color: var(--ink);
}
.flutterby-nonprofit .wp-block-button.btn-ghost .wp-block-button__link {
  background: #fff;
  border: 1px solid rgba(16,47,37,.1);
  color: var(--ink);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: inherit;
  background: rgba(255,255,255,.1);
}

.section {
  padding: clamp(4rem, 8vw, 7rem) 0;
}
.section-alt {
  background: rgba(255,255,255,.035);
  border-block: 1px solid rgba(255,255,255,.06);
}
.flutterby-nonprofit .section-alt {
  background: linear-gradient(135deg, rgba(32,166,107,.08), rgba(245,189,61,.08));
  border-block: 1px solid rgba(16,47,37,.08);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
  gap: 2rem;
  align-items: end;
  margin-bottom: 2rem;
}
.section-kicker {
  margin: 0 0 .75rem;
  color: var(--cyan);
  font-size: .78rem;
  font-weight: 950;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.flutterby-nonprofit .section-kicker { color: var(--green); }
.section-title {
  margin: 0;
  max-width: 12ch;
  font-size: clamp(2.3rem, 5vw, 4.9rem);
  line-height: .92;
  font-weight: 950;
}
.section-desc {
  margin: 0;
  color: var(--muted);
}
.flutterby-nonprofit .section-desc { color: rgba(16,47,37,.68); }
.accent { color: var(--magenta); }

.site-footer {
  padding: 2rem 0;
  border-top: 1px solid rgba(255,255,255,.08);
}
.flutterby-nonprofit .site-footer { border-top-color: rgba(16,47,37,.08); }
.footer-row {
  display: grid;
  grid-template-columns: minmax(130px, auto) minmax(180px, 1fr) auto;
  align-items: center;
  gap: 1.5rem;
}
.site-footer p {
  margin: 0;
  color: var(--muted);
  text-align: center;
}
.flutterby-nonprofit .site-footer p { color: rgba(16,47,37,.6); }
.footer-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
  font-weight: 900;
  white-space: nowrap;
}
.footer-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  min-height: 38px;
  padding: .45rem .25rem;
  border-radius: 999px;
  text-decoration: none;
  font-size: .92rem;
}

.reveal {
  opacity: 1;
  transform: none;
  transition: opacity .65s var(--ease), transform .65s var(--ease);
}
.js-enhanced .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition-delay: var(--reveal-delay, 0ms);
}
.js-enhanced .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@keyframes flutterby-float {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(-18deg); }
  50% { transform: translate3d(0, -10px, 0) rotate(-14deg); }
}

@keyframes flutterby-pulse {
  0%, 100% { opacity: .58; filter: blur(18px); }
  50% { opacity: .95; filter: blur(24px); }
}

.fallback-content {
  padding: 5rem 0;
}

@media (max-width: 980px) {
  .nav-links {
    position: fixed;
    left: 1rem;
    right: 1rem;
    top: 78px;
    display: grid;
    padding: .7rem;
    border-radius: 18px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity .2s var(--ease), transform .2s var(--ease);
  }
  .flutterby-performer .nav-links { background: rgba(5,5,7,.94); }
  .flutterby-nonprofit .nav-links { background: rgba(251,255,247,.96); }
  .nav-links.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }
  .menu-toggle { display: grid; }
  .nav-actions > .btn { display: none; }
  .section-head { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .container { width: min(calc(100% - 2rem), var(--max)); }
  .brand-mark { width: 38px; height: 38px; }
  .brand { font-size: .92rem; }
  .section { padding: 3.8rem 0; }
  .section-title { font-size: clamp(2.05rem, 12vw, 3.4rem); }
  .footer-row {
    grid-template-columns: 1fr;
    justify-items: start;
    gap: .85rem;
  }
  .site-footer p { text-align: left; }
  .footer-links {
    justify-content: flex-start;
    gap: 1.2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
