: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;
  position: relative;
  isolation: isolate;
}

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::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='84' viewBox='0 0 96 84'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='.16' stroke-width='1.5'%3E%3Cpath d='M24 2 48 16v28L24 58 0 44V16Z'/%3E%3Cpath d='M72 2 96 16v28L72 58 48 44V16Z'/%3E%3Cpath d='M48 44 72 58v28L48 100 24 86V58Z'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 96px 84px;
  opacity: .42;
  mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,.78) 58%, transparent 100%);
}

body.flutterby-nonprofit::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='84' viewBox='0 0 96 84'%3E%3Cg fill='none' stroke='%23102f25' stroke-opacity='.14' stroke-width='1.35'%3E%3Cpath d='M24 2 48 16v28L24 58 0 44V16Z'/%3E%3Cpath d='M72 2 96 16v28L72 58 48 44V16Z'/%3E%3Cpath d='M48 44 72 58v28L48 100 24 86V58Z'/%3E%3C/g%3E%3C/svg%3E");
  opacity: .72;
}

main,
.site-header,
.site-footer {
  position: relative;
  z-index: 1;
}

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: .55rem;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}
.brand-lockup {
  width: clamp(132px, 12vw, 174px);
  height: auto;
  object-fit: contain;
}
.footer-brand .brand-lockup {
  width: clamp(126px, 11vw, 154px);
}
/* Light-page lockup: bare light mark + typeset wordmark, no dark plate. */
.brand-mark {
  width: 42px;
  height: 42px;
  object-fit: contain;
}
.brand-text {
  display: inline-block;
  font-size: 1.16rem;
  line-height: 1;
  letter-spacing: -.01em;
}
.brand-text small { display: block; }
.flutterby-nonprofit .brand-text { color: var(--ink); }
.flutterby-nonprofit .brand-text b { color: var(--green); }
.brand-text small {
  margin-top: .2rem;
  font-size: .48rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.flutterby-nonprofit .brand-text small { color: rgba(16,47,37,.55); }

.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;
}
.phone-link {
  color: inherit;
  font-size: .86rem;
  font-weight: 950;
  text-decoration: none;
  white-space: nowrap;
}
.flutterby-performer .phone-link { color: #c8fbff; }
.flutterby-nonprofit .phone-link { color: var(--ink); }

.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,.34) 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%);
}
/* Brand gradient CTA, deepened: cyan -> violet-glow bridge -> magenta in jewel
   tones instead of the raw neon blend. White 900 text holds >=4.9:1 (WCAG AA)
   across every stop. */
.btn-primary {
  color: #fff;
  background: linear-gradient(115deg, #0a7c8a 0%, #6d28d9 52%, #b81aa8 100%);
  box-shadow: 0 14px 36px rgba(109,40,217,.30);
}
.wp-block-button.btn-primary .wp-block-button__link {
  color: #fff;
  background: linear-gradient(115deg, #0a7c8a 0%, #6d28d9 52%, #b81aa8 100%);
  box-shadow: 0 14px 36px rgba(109,40,217,.30);
}
/* Deep-green gradient keeps white button text at >=5.3:1 (WCAG AA); the old
   green-to-gold wash dropped below 2:1 at the gold end. */
.flutterby-nonprofit .btn-primary {
  color: #fff;
  background: linear-gradient(100deg, #14563b, #1f7a4e);
  box-shadow: 0 12px 32px rgba(20,86,59,.26);
}
.flutterby-nonprofit .wp-block-button.btn-primary .wp-block-button__link {
  color: #fff;
  background: linear-gradient(100deg, #14563b, #1f7a4e);
  box-shadow: 0 12px 32px rgba(20,86,59,.26);
}
.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);
}

/* WordPress is-layout-flow injects margin-block-start on every sibling after
   the first; inside our CSS grids that margin staggers columns by ~1.2rem.
   Grid/flex gaps own the spacing in these containers, so zero the flow margin. */
.hero-grid > *,
.trust-row > *,
.hero-actions > *,
.section-head > *,
.cards-grid > *,
.proof-strip > *,
.metric-grid > *,
.mission-grid > *,
.faq-grid > *,
.booking-grid > *,
.feature-images > *,
.gallery-grid > *,
.form-grid > *,
.stb-hero-grid > *,
.stb-card-grid > *,
.stb-image-strip > *,
.stb-split > *,
.stb-list > * {
  margin-block-start: 0;
}

.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;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: .3rem 1rem;
  font-weight: 900;
}
.footer-links a { 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: 1;
  transform: none;
  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; }
  .phone-link { display: none; }
  .section-head { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .container { width: min(calc(100% - 2rem), var(--max)); }
  .brand-lockup { width: 128px; }
  .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;
  }
  /* Footer brand sits alone in a full-width row on mobile, so let it grow
     past the small header-lockup size instead of staying pinned near 126px. */
  .footer-brand .brand-lockup { width: min(220px, 60vw); }
  .site-footer p { text-align: left; }
  .footer-links {
    justify-content: flex-start;
    gap: .5rem 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; }
}
