/* Source: /styles.css */
/* CurioSpark v7.4 Devin/Nova locked brand palette: bright white + saturated logo colors. */
:root {
  --ink: #2A1235;
  --muted: #62496d;
  --paper: #FFFFFF;
  --cream: #FFFFFF;
  --cream-2: #FFF7D6;
  --line: rgba(95, 37, 121, 0.17);
  --purple-950: #2A1235;
  --purple-900: #2B1038;
  --purple-800: #5F2579;
  --purple: #5F2579;
  --purple-500: #9A4EA3;
  --purple-soft: #F4E7F7;
  --gold: #F4B516;
  --gold-bright: #FECE22;
  --gold-soft: #FFF3BF;
  --gold-pale: #FFF9DC;
  --orange: #FB9634;
  --white: #FFFFFF;
  --shadow: 0 22px 58px rgba(95, 37, 121, 0.18);
  --shadow-soft: 0 14px 34px rgba(95, 37, 121, 0.11);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --sans: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: "Fraunces", Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  font-size: 14px;
  line-height: 1.62;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 16px;
  z-index: 1000;
  background: var(--purple-900);
  color: white;
  padding: 10px 14px;
  border-radius: 999px;
}
.skip-link:focus { left: 16px; }

.shell {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(75, 0, 104, 0.08);
}
.nav {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 900;
}

.logo-brand {
  flex: 0 0 auto;
  padding: 0;
  line-height: 0;
}
.logo-brand img {
  width: clamp(132px, 13vw, 176px);
  height: auto;
  display: block;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}
.site-header .logo-brand img {
  width: clamp(104px, 10vw, 126px);
}
.footer-logo-brand img {
  width: 160px;
  background: var(--paper);
  padding: 4px;
}
.brand-mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  color: var(--gold-bright);
  background: linear-gradient(135deg, var(--purple-800), var(--purple));
  box-shadow: 0 10px 24px rgba(75, 0, 104, 0.18);
  font-size: 19px;
}
.brand-text {
  line-height: .95;
  font-size: 15px;
  letter-spacing: -0.02em;
}
.brand-text small {
  color: var(--muted);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .14em;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-links a {
  padding: 10px 11px;
  border-radius: 999px;
  color: rgba(36, 22, 44, .72);
  font-size: 12px;
  font-weight: 850;
}
.nav-links a:hover,
.nav-links a.active {
  background: var(--purple-soft);
  color: var(--purple-900);
}
.nav-links .nav-button {
  background: var(--purple-900);
  color: white;
  padding-inline: 17px;
  margin-left: 3px;
}
.nav-links .nav-button:hover,
.nav-links .nav-button.active {
  background: linear-gradient(135deg, var(--purple-800), var(--purple));
  color: white;
}
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  padding: 9px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--purple-900);
  margin: 5px 0;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 78px 0 60px;
}
.compact-hero { min-height: 560px; display: grid; align-items: center; }
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 14%, rgba(247, 174, 6, .28), transparent 26%),
    radial-gradient(circle at 92% 8%, rgba(111, 21, 139, .18), transparent 25%),
    radial-gradient(circle at 82% 78%, rgba(247, 189, 11, .20), transparent 24%),
    linear-gradient(180deg, var(--paper), var(--cream) 72%, var(--paper));
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("/assets/topography.svg");
  background-size: 780px;
  opacity: .28;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 50px;
  align-items: center;
}
.eyebrow {
  margin: 0 0 11px;
  color: var(--purple);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.eyebrow.light { color: var(--gold-soft); }
h1, h2, h3 { margin: 0; line-height: 1.06; letter-spacing: -0.042em; }
h1, h2 { font-family: var(--serif); }
h1 {
  max-width: 760px;
  font-size: clamp(42px, 6.3vw, 74px);
  color: var(--purple-950);
}
h2 { font-size: clamp(28px, 3.8vw, 48px); color: var(--purple-950); }
h3 { font-size: 18px; color: var(--purple-950); }
.hero-lede, .page-hero p, .section-heading p, .rich-copy p, .program-content p, .event-list p, .mini-panel p, .directory-card p, .detail-panel p, .value span, .site-footer p {
  color: var(--muted);
}
.hero-lede {
  max-width: 580px;
  margin: 20px 0 0;
  font-size: clamp(16px, 1.8vw, 19px);
  line-height: 1.62;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 28px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 19px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}
.button:hover { transform: translateY(-2px); }
.button.small { min-height: 40px; padding-inline: 15px; font-size: 12px; }
.primary {
  background: linear-gradient(135deg, var(--purple-800), var(--purple));
  color: white;
  box-shadow: 0 14px 28px rgba(75, 0, 104, .20);
}
.secondary {
  background: rgba(255, 253, 248, .82);
  color: var(--purple-900);
  border: 1px solid rgba(75, 0, 104, .16);
}
.gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-bright));
  color: var(--purple-950);
  box-shadow: 0 14px 28px rgba(254, 205, 33, .22);
}
.text-link, .program-content a, .large-events a, .steps a {
  display: inline-flex;
  color: var(--purple-900);
  font-size: 13px;
  font-weight: 900;
}
.text-link::after, .program-content a::after, .large-events a::after, .steps a::after { content: " →"; }
.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 25px;
}
.trust-row span, .tag {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(75, 0, 104, .12);
  background: rgba(255, 253, 248, .78);
  border-radius: 999px;
  color: rgba(36, 22, 44, .70);
  font-size: 11px;
  font-weight: 900;
}
.trust-row span { padding: 8px 12px; }
.logo-showcase,
.hero-photo-card {
  border: 1px solid var(--line);
  border-radius: 34px;
  padding: 18px;
  background: rgba(255,255,255,.72);
  box-shadow: var(--shadow);
  transform: rotate(1deg);
}
.logo-showcase img,
.hero-photo-card img {
  border-radius: 25px;
  width: 100%;
  box-shadow: inset 0 0 0 1px rgba(75, 0, 104, .08);
}
.hero-photo-card {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255,255,255,.92), rgba(255,241,191,.52));
}
.hero-photo-card::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(247,174,6,.42);
  border-radius: 28px;
  pointer-events: none;
  z-index: 1;
}
.hero-photo-card img {
  height: clamp(430px, 50vw, 575px);
  object-fit: cover;
  object-position: center 42%;
}
.hero-slideshow {
  transform: rotate(.7deg);
}
.hero-slideshow .slide-frame {
  position: relative;
  height: clamp(355px, 38vw, 445px);
  overflow: hidden;
  border-radius: 25px;
  background:
    radial-gradient(circle at top, rgba(255,255,255,.95), rgba(255,248,231,.92)),
    linear-gradient(135deg, rgba(255,255,255,.98), rgba(255,241,191,.50));
  box-shadow: inset 0 0 0 1px rgba(75, 0, 104, .08);
}
.hero-slideshow .hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  opacity: 0;
  transform: scale(1.01);
  animation: heroPhotoFade 30s infinite;
  will-change: opacity, transform;
  border-radius: 0;
  box-shadow: none;
  padding: 6px;
}
.hero-slideshow .hero-slide:first-child { opacity: 1; }
.hero-slideshow .hero-slide:nth-child(1) { animation-delay: 0s; }
.hero-slideshow .hero-slide:nth-child(2) { animation-delay: 6s; }
.hero-slideshow .hero-slide:nth-child(3) { animation-delay: 12s; }
.hero-slideshow .hero-slide:nth-child(4) { animation-delay: 18s; }
.hero-slideshow .hero-slide:nth-child(5) { animation-delay: 24s; }
.slide-badge { display: none; }
.slide-badge span { display: none; }
@keyframes heroPhotoFade {
  0% { opacity: 0; transform: scale(1.01); }
  3% { opacity: 1; transform: scale(1.005); }
  17% { opacity: 1; transform: scale(1); }
  20% { opacity: 0; transform: scale(.995); }
  100% { opacity: 0; transform: scale(.995); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-slideshow .hero-slide { animation: none; }
  .hero-slideshow .hero-slide:not(:first-child) { display: none; }
}

.quick-paths {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: -48px;
  position: relative;
  z-index: 2;
}
.path-card {
  min-height: 188px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255,253,248,.94);
  box-shadow: var(--shadow-soft), inset 0 1px 0 rgba(255,255,255,.72);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}
.path-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(94, 36, 120, .28);
  background: linear-gradient(145deg, rgba(255,253,248,.98), rgba(239,225,242,.34));
}
.path-card span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 14px;
  width: auto;
  min-width: 0;
  padding: 0 11px;
  background: rgba(94, 36, 120, .075);
  color: var(--purple-800);
  border: 1px solid rgba(94, 36, 120, .14);
  border-left: 3px solid var(--gold-bright);
  font-size: 10px;
  font-weight: 950;
  letter-spacing: .10em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.path-card h2 { font-size: 23px; }
.path-card p { margin: 10px 0 0; color: var(--muted); font-size: 13px; }

.welcome-band, .featured-section, .home-hub, .directory, .calendar-layout, .resource-page-grid, .story-grid, .values-section, .join-page-grid, .detail-grid {
  padding: 76px 0;
}
.welcome-band {
  background: linear-gradient(135deg, rgba(243, 230, 250, .78), rgba(255, 241, 191, .56));
  margin-top: 76px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.split-band {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 54px;
  align-items: center;
}
.rich-copy p:first-child { margin-top: 0; }
.rich-copy p:last-of-type { margin-bottom: 18px; }
.section-heading { max-width: 720px; }
.section-heading.centered { text-align: center; margin: 0 auto 32px; }
.section-heading p { font-size: 15px; margin: 16px 0 0; }

.program-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.program-card, .mission-card, .value, .directory-card, .detail-panel, .resource-card, .mini-panel, .page-callout, .page-logo-card {
  border: 1px solid var(--line);
  background: rgba(255, 253, 248, .82);
  box-shadow: var(--shadow-soft);
}
.program-card {
  overflow: hidden;
  border-radius: var(--radius-lg);
}
.program-art {
  min-height: 165px;
  background-size: cover;
  background-position: center;
}
.art-coop { background-image: url("/assets/co-op.svg"); }
.art-events { background-image: url("/assets/workshop.svg"); }
.art-resources { background-image: url("/assets/resources.svg"); }
.program-content { padding: 22px; }
.tag {
  width: fit-content;
  margin: 0 0 13px;
  padding: 6px 10px;
  background: var(--purple-soft);
  color: var(--purple-900);
}
.program-content p { margin: 10px 0 18px; }

.home-hub {
  background: var(--paper);
  border-top: 1px solid var(--line);
}
.hub-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 18px;
  align-items: stretch;
}
.mini-panel {
  border-radius: var(--radius-xl);
  padding: clamp(26px, 4vw, 42px);
}
.purple-panel {
  background:
    radial-gradient(circle at 88% 15%, rgba(247,189,11,.26), transparent 28%),
    linear-gradient(135deg, var(--purple-950), var(--purple));
  color: white;
  box-shadow: var(--shadow);
}
.purple-panel h2, .purple-panel p { color: white; }
.purple-panel p { opacity: .82; }
.event-list {
  display: grid;
  gap: 12px;
}
.event-list article {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 16px;
  align-items: center;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255,255,255,.48);
}
.compact-events { margin: 20px 0 20px; }
.date-box {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--purple-800), var(--purple));
  color: var(--gold-soft);
  line-height: 1;
  font-size: 11px;
  text-align: center;
  font-weight: 900;
  text-transform: uppercase;
}
.date-box strong { color: white; font-size: 20px; }
.event-list h3, .event-list h2 { font-size: 17px; font-family: var(--sans); letter-spacing: -0.025em; }
.event-list p { margin: 4px 0 0; font-size: 13px; }

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 74px 0;
  background:
    radial-gradient(circle at 12% 10%, rgba(247, 174, 6, .20), transparent 25%),
    radial-gradient(circle at 86% 20%, rgba(111,21,139,.15), transparent 26%),
    linear-gradient(180deg, var(--paper), var(--cream));
  border-bottom: 1px solid var(--line);
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("/assets/topography.svg");
  background-size: 720px;
  opacity: .20;
}
.page-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr .46fr;
  gap: 48px;
  align-items: center;
}
.page-hero h1 { font-size: clamp(38px, 5.4vw, 64px); }
.page-hero p { max-width: 720px; font-size: 16px; }
.page-callout, .page-logo-card {
  border-radius: var(--radius-lg);
  padding: 28px;
}
.page-callout strong, .page-callout span { display: block; }
.page-callout strong { color: var(--purple-950); font-size: 18px; letter-spacing: -0.03em; }
.page-callout span { color: var(--muted); margin-top: 8px; }
.page-logo-card img { border-radius: 20px; }

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 26px;
}
.filter-button {
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--purple-900);
  border-radius: 999px;
  padding: 10px 14px;
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}
.filter-button.active, .filter-button:hover {
  background: var(--purple-900);
  color: white;
}
.directory-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.directory-card {
  border-radius: var(--radius-lg);
  padding: 24px;
}
.directory-card h2 { font-size: 25px; }
.directory-card p { margin: 10px 0 18px; }
dl { margin: 0; }
.directory-card dl, .detail-list {
  display: grid;
  gap: 10px;
  margin-bottom: 20px;
}
.directory-card dl div, .detail-list div {
  padding: 11px 12px;
  border-radius: 14px;
  background: rgba(243,230,250,.72);
}
dt { font-size: 10px; text-transform: uppercase; letter-spacing: .12em; color: var(--purple); font-weight: 950; }
dd { margin: 2px 0 0; color: var(--ink); font-weight: 750; }
.directory-card.hidden { display: none; }

.calendar-layout, .join-page-grid, .detail-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 24px;
  align-items: start;
}
.large-events article { padding: 20px; align-items: start; }
.large-events h2 { font-size: 24px; }
.large-events a { margin-top: 8px; }

.resource-page-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.resource-card {
  min-height: 172px;
  border-radius: var(--radius-lg);
  padding: 22px;
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.resource-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.resource-card span { display: block; color: var(--purple-950); font-weight: 950; font-size: 18px; letter-spacing: -0.03em; }
.resource-card p { margin: 10px 0 0; color: var(--muted); font-size: 13px; }

.story-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.mission-card {
  padding: 30px;
  border-radius: var(--radius-lg);
}
.card-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 16px;
  border-radius: 15px;
  background: var(--gold-pale);
  color: var(--purple-900);
  font-size: 18px;
}
.values-section { padding-top: 0; }
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.value {
  padding: 20px;
  border-radius: 18px;
}
.value strong, .value span { display: block; }
.value strong { font-size: 14px; color: var(--purple-950); }
.value span { font-size: 13px; margin-top: 4px; }

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}
.steps li {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255,253,248,.82);
}
.steps span {
  grid-row: span 3;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--gold-pale);
  color: var(--purple-900);
  font-size: 12px;
  font-weight: 950;
}
.steps strong { color: var(--purple-950); font-size: 16px; }
.steps p { margin: 2px 0 6px; color: var(--muted); }

.program-detail-art {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}
.program-detail-art .program-art { min-height: 260px; }
.detail-grid { grid-template-columns: repeat(2, 1fr); }
.detail-panel {
  border-radius: var(--radius-lg);
  padding: 26px;
}
.detail-panel.wide { grid-column: 1 / -1; }
.faq-list { display: grid; gap: 10px; }
details {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 16px;
  background: rgba(243,230,250,.45);
}
summary { cursor: pointer; color: var(--purple-950); font-weight: 900; }
details p { margin-bottom: 0; }

.site-footer {
  padding: 34px 0;
  background: var(--purple-950);
  color: rgba(255,255,255,.78);
}
.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.footer-brand .brand-mark { background: rgba(255,255,255,.12); }
.footer-brand .brand-text, .footer-brand .brand-text small { color: white; }
.site-footer p { margin: 12px 0 0; color: rgba(255,255,255,.68); }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12px;
  font-weight: 900;
}
.footer-links a:hover { color: white; }

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 650ms ease, transform 650ms ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 80ms; }
.delay-2 { transition-delay: 160ms; }
.delay-3 { transition-delay: 240ms; }

@media (max-width: 980px) {
  .quick-paths, .directory-grid, .resource-page-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-grid, .page-hero-grid, .split-band, .hub-grid, .calendar-layout, .join-page-grid { grid-template-columns: 1fr; }
  .compact-hero { min-height: auto; }
  .logo-showcase, .hero-photo-card { transform: none; }
}

@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: 70px;
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(255, 253, 248, .98);
    box-shadow: var(--shadow-soft);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 14px; }
  .nav-links .nav-button { margin-left: 0; text-align: center; }
  .logo-brand img { width: 138px; }
  .program-card-grid, .story-grid, .values-grid, .detail-grid { grid-template-columns: 1fr; }
  .detail-panel.wide { grid-column: auto; }
  .hero, .page-hero { padding: 56px 0; }
  .welcome-band, .featured-section, .home-hub, .directory, .calendar-layout, .resource-page-grid, .story-grid, .values-section, .join-page-grid, .detail-grid { padding: 58px 0; }
  .welcome-band { margin-top: 58px; }
  .quick-paths { margin-top: -28px; }
}

@media (max-width: 560px) {
  .shell { width: min(100% - 28px, 1120px); }
  .quick-paths, .resource-page-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-photo-card img, .hero-slideshow .slide-frame { height: 390px; }
  .button { width: auto; max-width: 100%; }
  .hero-actions .button { width: 100%; }
  .event-list article, .steps li { grid-template-columns: 1fr; }
  .steps span { grid-row: auto; }
  .date-box { width: 58px; height: 58px; }
}


/* v4 portal, guide, registration, and admin additions */
[data-role-link="staff"] { display: none; }
.nav-links [data-role-link="staff"].role-visible,
.footer-links [data-role-link="staff"].role-visible { display: inline-flex; }
.nav-role-pill {
  display: none;
  align-items: center;
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--gold-pale);
  color: var(--purple-950);
  font-size: 10px;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.nav-role-pill.active { display: inline-flex; }
.compact-actions { margin-top: 18px; }
.light-button { color: white; border-color: rgba(255,255,255,.42); background: rgba(255,255,255,.12); }

.guides-grid, .registration-section, .portal-layout, .admin-shell, .admin-gate { padding: 76px 0; }
.guides-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.guide-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  background: rgba(255, 253, 248, .82);
  box-shadow: var(--shadow-soft);
}
.guide-photo {
  aspect-ratio: 1 / .72;
  width: 100%;
  border-radius: 22px;
  margin-bottom: 18px;
  overflow: hidden;
}
.setup-photo {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 30% 20%, rgba(247,189,11,.38), transparent 32%),
    linear-gradient(135deg, var(--purple-soft), var(--gold-pale));
  color: var(--purple-900);
  font-family: var(--serif);
  font-size: 54px;
  font-weight: 750;
}
.guide-card h2 { font-size: 26px; }
.guide-card p { color: var(--muted); }
.guide-card small { color: var(--purple); font-weight: 850; }

.form-embed-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 18px;
  background: rgba(255,253,248,.82);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}
.form-embed-card iframe {
  display: block;
  border: 0;
  border-radius: 22px;
  background: white;
}

.portal-layout {
  display: grid;
  grid-template-columns: .38fr .62fr;
  gap: 22px;
  align-items: start;
}
.portal-panel, .portal-content, .admin-card, .notice-card, .admin-topbar {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255,253,248,.84);
  box-shadow: var(--shadow-soft);
}
.portal-panel, .portal-content, .admin-card, .notice-card, .admin-topbar { padding: 24px; }
.field-label {
  display: block;
  margin: 18px 0 7px;
  color: var(--purple);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.select-field {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0 12px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-weight: 800;
}
.role-status-card {
  margin: 16px 0;
  padding: 14px;
  border-radius: 16px;
  background: var(--purple-soft);
  color: var(--purple-950);
  font-weight: 850;
}
.role-view { display: none; }
.role-view.active { display: block; }
.quick-admin-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 18px;
}
.quick-admin-grid.tight { grid-template-columns: repeat(2, 1fr); }
.admin-tool-card {
  display: block;
  min-height: 130px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    radial-gradient(circle at 88% 8%, rgba(247,189,11,.22), transparent 30%),
    rgba(255,255,255,.58);
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.admin-tool-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); }
.admin-tool-card strong { display: block; color: var(--purple-950); font-size: 15px; }
.admin-tool-card span { display: block; color: var(--muted); font-size: 12px; margin-top: 8px; }
.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 22px;
}
.dashboard-stats article {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 18px;
  background: rgba(255,253,248,.82);
  box-shadow: var(--shadow-soft);
}
.dashboard-stats strong { display: block; color: var(--purple-950); font-size: 26px; font-family: var(--serif); line-height: 1; }
.dashboard-stats span { display: block; color: var(--muted); margin-top: 8px; font-size: 12px; font-weight: 850; }
.admin-gate { display: none; }
.admin-gate.active { display: block; }
.admin-shell { display: none; }
.admin-shell.active { display: block; }
.notice-card {
  margin-bottom: 18px;
  background: linear-gradient(135deg, var(--gold-pale), rgba(255,253,248,.88));
  color: var(--purple-950);
}
.admin-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-bottom: 18px;
}
.admin-topbar h2 { font-size: 34px; }
.admin-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  min-width: 330px;
}
.admin-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.admin-card.wide { grid-column: 1 / -1; }
.admin-card-heading { margin-bottom: 16px; }
.admin-card-heading h2 { font-size: 27px; }
.small-muted { color: var(--muted); font-size: 12px; margin-top: 0; }
.role-manager { display: grid; gap: 12px; }
.role-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(243,230,250,.38);
}
.role-row strong { display: block; color: var(--purple-950); }
.role-row span { display: block; color: var(--muted); font-size: 12px; }
.role-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}
.role-options label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 900;
  color: var(--purple-900);
}
.table-wrap { overflow-x: auto; }
.admin-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}
.admin-table th, .admin-table td {
  padding: 13px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  font-size: 13px;
}
.admin-table th {
  color: var(--purple);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.status {
  display: inline-flex;
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 950;
}
.status.good { background: rgba(63, 151, 92, .12); color: #2a6d43; }
.status.warn { background: rgba(247, 174, 6, .20); color: #7a4d00; }
.status.muted-status { background: rgba(111, 97, 120, .12); color: var(--muted); }
.activity-feed {
  display: grid;
  gap: 10px;
  max-height: 360px;
  overflow: auto;
  padding-right: 4px;
}
.activity-item {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255,255,255,.56);
}
.activity-item strong { display: block; color: var(--purple-950); font-size: 13px; }
.activity-item span { display: block; color: var(--muted); font-size: 11px; margin-top: 3px; }
.checklist-list { display: grid; gap: 10px; }
.checklist-list label {
  display: flex;
  gap: 9px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(243,230,250,.38);
  color: var(--ink);
  font-weight: 750;
}

@media (max-width: 980px) {
  .guides-grid, .portal-layout, .admin-grid { grid-template-columns: 1fr; }
  .quick-admin-grid, .dashboard-stats { grid-template-columns: repeat(2, 1fr); }
  .admin-actions { min-width: 0; width: 100%; }
  .admin-topbar { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 560px) {
  .quick-admin-grid, .dashboard-stats { grid-template-columns: 1fr; }
  .admin-actions { flex-direction: column; align-items: stretch; }
  .role-row { grid-template-columns: 1fr; }
  .role-options { justify-content: flex-start; }
  .form-embed-card { padding: 6px; border-radius: 20px; }
}


/* v5 admin skeleton, auth, exports, and sparkle additions */
.nav-logout, .footer-logout {
  display: none;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}
.nav-logout.auth-visible, .footer-logout.auth-visible { display: inline-flex; align-items: center; }
[data-auth-link].auth-hidden { display: none !important; }
.compact-page-hero { padding: 58px 0 28px; }
.compact-page-hero h1 { max-width: 900px; }
.admin-subnav {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 18px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255,253,248,.78);
  box-shadow: var(--shadow-soft);
}
.admin-subnav a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--purple-900);
  font-size: 12px;
  font-weight: 950;
}
.admin-subnav a.active,
.admin-subnav a:hover { background: var(--purple); color: white; }
.admin-menu-grid { grid-template-columns: repeat(3, 1fr); }
.admin-actions.stacked { flex-direction: column; align-items: stretch; min-width: 0; }
.admin-restricted { display: none; margin-bottom: 18px; }
.admin-restricted.active { display: block; }
.signin-section { padding: 76px 0; }
.signin-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.signin-card,
.export-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px;
  background: rgba(255,253,248,.84);
  box-shadow: var(--shadow-soft);
}
.signin-card h2, .export-card h2 { font-size: 24px; margin-bottom: 8px; }
.signin-card p, .export-card p { font-size: 13px; color: var(--muted); }
.signin-card.disabled { opacity: .58; }
.signin-footer-panel { margin-top: 22px; }
.admin-form-grid {
  display: grid;
  gap: 12px;
}
.admin-form-grid label {
  display: grid;
  gap: 6px;
  color: var(--purple);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.admin-form-grid input,
.admin-form-grid select,
.admin-form-grid textarea {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0 12px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}
.admin-form-grid textarea { padding: 12px; min-height: 92px; }
.access-manager { display: grid; gap: 12px; }
.access-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(243,230,250,.34);
}
.access-row.disabled { opacity: .62; background: rgba(111,97,120,.08); }
.access-person strong { display: block; color: var(--purple-950); }
.access-person span { display: block; color: var(--muted); font-size: 12px; margin-top: 3px; }
.access-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.tiny-button {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 11px;
  background: rgba(255,253,248,.84);
  color: var(--purple-950);
  font-size: 11px;
  font-weight: 950;
  cursor: pointer;
}
.tiny-button.danger { color: #8b1e3f; border-color: rgba(139,30,63,.22); }
.invite-link-box {
  margin-top: 16px;
  padding: 14px;
  border: 1px dashed rgba(75,0,104,.25);
  border-radius: 16px;
  background: var(--purple-soft);
  color: var(--purple-950);
  font-size: 12px;
  font-weight: 850;
  word-break: break-word;
}
.logo-preview-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  margin-bottom: 16px;
  background: white;
}
.logo-preview-card img { display: block; width: 100%; }
.integration-map {
  display: grid;
  gap: 10px;
}
.integration-map span {
  display: inline-flex;
  width: fit-content;
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--gold-pale);
  color: var(--purple-950);
  font-size: 10px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.integration-map strong {
  display: block;
  margin: -4px 0 8px;
  color: var(--ink);
  font-size: 13px;
}
.timeline-list { display: grid; gap: 12px; }
.timeline-list article {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 14px;
  align-items: start;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255,255,255,.56);
}
.timeline-list strong { color: var(--purple-950); }
.timeline-list span { color: var(--muted); font-size: 13px; }
.export-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 22px;
}
.activity-feed.short { max-height: 260px; }
.activity-feed.tall { max-height: 560px; }
.sparkle-star {
  position: fixed;
  z-index: 9999;
  pointer-events: none;
  color: var(--gold);
  font-size: 18px;
  line-height: 1;
  animation: sparkle-pop 720ms ease-out forwards;
  filter: drop-shadow(0 4px 6px rgba(75,0,104,.18));
}
@keyframes sparkle-pop {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(.4) rotate(0deg); }
  20% { opacity: 1; }
  100% { opacity: 0; transform: translate(var(--spark-x), var(--spark-y)) scale(1.25) rotate(45deg); }
}
@media (prefers-reduced-motion: reduce) {
  .sparkle-star { display: none; animation: none; }
}
@media (max-width: 980px) {
  .signin-grid, .export-card-grid, .admin-menu-grid { grid-template-columns: repeat(2, 1fr); }
  .access-row { grid-template-columns: 1fr; }
  .access-actions { justify-content: flex-start; }
}
@media (max-width: 560px) {
  .signin-grid, .export-card-grid, .admin-menu-grid { grid-template-columns: 1fr; }
  .timeline-list article { grid-template-columns: 1fr; }
}

/* v5.1 simplified sign-in and role navigation */
.simple-signin-section .section-heading.left {
  text-align: left;
  max-width: 760px;
  margin: 0 0 22px;
}
.simple-auth-grid {
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 24px;
}
.simple-signin-card {
  position: relative;
  min-height: 245px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.simple-signin-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(circle at 88% 16%, rgba(247,174,6,.22), transparent 34%);
}
.sample-profile-line {
  display: grid;
  gap: 3px;
  padding: 12px;
  border-radius: 16px;
  background: rgba(255,255,255,.66);
  border: 1px solid rgba(75,0,104,.08);
  margin: 12px 0;
}
.sample-profile-line strong { color: var(--purple-950); font-size: 13px; }
.sample-profile-line span { color: var(--muted); font-size: 12px; }
.auth-create-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr);
  gap: 18px;
  align-items: stretch;
}
.create-account-card h2, .signin-footer-panel h2 { font-size: 28px; }
.auth-current-card .signedin-actions,
.signedin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}
.button.ghost {
  background: rgba(255,255,255,.72);
  color: var(--purple-950);
  border: 1px solid var(--line);
  box-shadow: none;
}
.tiny-flow {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.tiny-flow span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  border-radius: 999px;
  padding: 0 11px;
  background: rgba(247,174,6,.13);
  border: 1px solid rgba(247,174,6,.24);
  color: var(--purple-900);
  font-size: 11px;
  font-weight: 950;
}
.simple-portal-layout { align-items: start; }
.portal-panel h2 { font-size: 28px; margin-bottom: 8px; }
.portal-panel p { color: var(--muted); font-size: 13px; }
.view-switch-grid {
  display: grid;
  gap: 10px;
  margin: 18px 0;
}
.view-switch-card {
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 15px;
  background: rgba(255,253,248,.86);
  color: var(--ink);
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.view-switch-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: rgba(247,174,6,.45);
}
.view-switch-card strong { display: block; color: var(--purple-950); font-size: 14px; }
.view-switch-card span { display: block; color: var(--muted); font-size: 12px; margin-top: 5px; }
.view-switch-card.admin-view {
  background: linear-gradient(135deg, rgba(75,0,104,.96), rgba(111,21,139,.92));
  border-color: rgba(247,174,6,.48);
}
.view-switch-card.admin-view strong { color: white; }
.view-switch-card.admin-view span { color: rgba(255,255,255,.76); }
@media (max-width: 900px) {
  .simple-auth-grid, .auth-create-layout { grid-template-columns: 1fr; }
}


/* v6 launch/content/payhip polish */
.launch-ribbon {
  margin-top: -28px;
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 16px 18px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(255,255,255,.94), rgba(255,248,231,.96));
  border: 1px solid rgba(254,205,33,.32);
  box-shadow: var(--shadow-soft);
}
.launch-ribbon strong { display: block; color: var(--purple-950); font-size: 15px; }
.launch-ribbon span { color: var(--muted); font-size: 13px; }
.decorated-section { position: relative; overflow: hidden; }
.decorated-section::before {
  content: "✦";
  position: absolute;
  left: 5vw;
  top: 22px;
  color: rgba(247,174,6,.35);
  font-size: 64px;
}
.content-columns, .policy-grid, .form-helper-grid, .next-step-grid, .calendar-grid, .program-template-grid, .payment-flow-grid, .launch-checklist-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 28px;
}
.next-step-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.program-template-grid, .payment-flow-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.program-template-grid .purple-panel { grid-column: span 1; }
.v6-values { margin-bottom: 44px; }
.check-list { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 9px; }
.check-list li { position: relative; padding-left: 24px; color: var(--muted); font-size: 13px; line-height: 1.5; }
.check-list li::before { content: "✦"; position: absolute; left: 0; color: var(--gold); font-weight: 900; }
.faq-block { margin-top: 34px; }
.faq-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.faq-grid details { border: 1px solid var(--line); border-radius: 18px; padding: 16px; background: rgba(255,253,248,.84); box-shadow: var(--shadow-soft); }
.faq-grid summary { cursor: pointer; color: var(--purple-950); font-weight: 900; }
.faq-grid p { color: var(--muted); font-size: 13px; }
.expanded-directory { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.program-card-actions, .admin-actions.stacked { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.form-embed-card { border: 1px solid var(--line); border-radius: 28px; padding: 18px; background: white; box-shadow: var(--shadow); overflow: hidden; margin-bottom: 30px; }
.form-embed-card iframe { border: 0; border-radius: 20px; background: white; }
.expanded-resources { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.resource-card em { display: block; margin-top: 12px; color: var(--purple); font-size: 11px; font-style: normal; font-weight: 950; }
.payhip-product-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; margin-bottom: 30px; }
.payhip-product-grid article { border: 1px solid rgba(75,0,104,.10); border-radius: 22px; padding: 18px; background: linear-gradient(135deg, #fff, var(--cream)); box-shadow: var(--shadow-soft); }
.payhip-product-grid span { color: var(--gold); font-size: 11px; font-weight: 950; text-transform: uppercase; letter-spacing: .08em; }
.payhip-product-grid strong { display: block; color: var(--purple-950); margin: 8px 0; word-break: break-word; }
.payhip-product-grid p { color: var(--muted); font-size: 13px; }
.setup-photo { display: grid; place-items: center; min-height: 180px; border-radius: 26px; background: radial-gradient(circle at 30% 20%, rgba(247,174,6,.30), transparent 34%), linear-gradient(135deg, var(--purple-soft), #fff); color: var(--purple); font-size: 54px; }
.guide-card dl, .detail-list { display: grid; gap: 10px; margin-top: 14px; }
.guide-card dl div, .detail-list div { border-top: 1px solid var(--line); padding-top: 10px; }
.guide-card dt, .detail-list dt { color: var(--purple-950); font-weight: 900; font-size: 12px; }
.guide-card dd, .detail-list dd { margin: 2px 0 0; color: var(--muted); font-size: 13px; }
.guide-registration { background: linear-gradient(135deg, rgba(75,0,104,.95), rgba(111,21,139,.92)); color: white; }
.guide-registration h2, .guide-registration .check-list li { color: white; }
.guide-registration .check-list li::before { color: var(--gold-bright); }
.polished-events { margin-bottom: 44px; }
.launch-checklist-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
@media (max-width: 1100px) {
  .expanded-directory { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .expanded-resources { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .program-template-grid, .payment-flow-grid, .payhip-product-grid, .launch-checklist-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .launch-ribbon { flex-direction: column; align-items: flex-start; }
  .content-columns, .policy-grid, .form-helper-grid, .next-step-grid, .calendar-grid { grid-template-columns: 1fr; }
  .faq-grid, .expanded-directory, .expanded-resources { grid-template-columns: 1fr; }
}

/* v7: global resource hub positioning + polished curiosity-home visuals */
:root {
  --sunset: #fb9633;
  --creek-blue: #4bb8d8;
  --nature-green: #5f9e4b;
  --lavender-wash: #efe1f2;
}

.curiosity-hero {
  min-height: 540px;
  padding: 62px 0 72px;
}
.curiosity-hero .hero-bg {
  background:
    radial-gradient(circle at 12% 18%, rgba(254, 205, 33, .26), transparent 25%),
    radial-gradient(circle at 90% 10%, rgba(111, 21, 139, .18), transparent 25%),
    radial-gradient(circle at 74% 80%, rgba(75, 184, 216, .16), transparent 26%),
    radial-gradient(circle at 25% 86%, rgba(95, 158, 75, .12), transparent 22%),
    linear-gradient(180deg, var(--paper), var(--cream) 68%, var(--paper));
}
.global-hero-grid {
  grid-template-columns: 1.02fr .98fr;
  gap: 42px;
}
.hero-note {
  margin: 12px 0 0;
  color: var(--purple-900);
  font-weight: 850;
  font-size: 15px;
}
.spark-field {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.spark-field span {
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold-bright);
  box-shadow: 0 0 26px rgba(254, 205, 33, .42);
  opacity: .62;
  animation: driftSpark 10s ease-in-out infinite;
}
.spark-field span:nth-child(1) { left: 7%; top: 22%; animation-delay: 0s; }
.spark-field span:nth-child(2) { left: 43%; top: 13%; width: 6px; height: 6px; background: var(--purple-500); animation-delay: 1.4s; }
.spark-field span:nth-child(3) { right: 11%; top: 34%; animation-delay: 2.6s; }
.spark-field span:nth-child(4) { left: 54%; bottom: 18%; background: var(--creek-blue); animation-delay: 3.8s; }
.spark-field span:nth-child(5) { right: 34%; bottom: 10%; width: 7px; height: 7px; background: var(--nature-green); animation-delay: 5s; }
@keyframes driftSpark {
  0%, 100% { transform: translateY(0) scale(1); opacity: .35; }
  50% { transform: translateY(-16px) scale(1.18); opacity: .78; }
}

.curiosity-hub-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(75, 0, 104, .12);
  border-radius: 34px;
  padding: 24px;
  background:
    radial-gradient(circle at 82% 14%, rgba(254, 205, 33, .22), transparent 28%),
    radial-gradient(circle at 12% 8%, rgba(111, 21, 139, .12), transparent 30%),
    linear-gradient(145deg, rgba(255,253,248,.96), rgba(255,248,231,.88));
  box-shadow: var(--shadow);
  min-height: 430px;
  display: grid;
  align-content: center;
}
.curiosity-hub-card::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(254, 205, 33, .32);
  border-radius: 26px;
  pointer-events: none;
}
.hub-logo-orbit {
  width: min(270px, 70%);
  margin: 0 auto 8px;
  position: relative;
  filter: drop-shadow(0 18px 26px rgba(75, 0, 104, .12));
}
.hub-logo-orbit::before,
.hub-logo-orbit::after {
  content: "✦";
  position: absolute;
  color: var(--gold-bright);
  font-size: 22px;
  animation: twinkle 2.8s ease-in-out infinite;
}
.hub-logo-orbit::before { left: -18px; top: 28%; }
.hub-logo-orbit::after { right: -16px; bottom: 18%; animation-delay: 1.1s; color: var(--purple-500); }
@keyframes twinkle {
  0%, 100% { transform: scale(.86) rotate(0deg); opacity: .45; }
  50% { transform: scale(1.18) rotate(9deg); opacity: 1; }
}
.hub-card-copy {
  position: relative;
  z-index: 1;
  text-align: center;
}
.hub-card-copy h2 {
  font-size: clamp(25px, 3.4vw, 42px);
}
.hub-card-copy p:not(.eyebrow) {
  max-width: 430px;
  margin: 12px auto 0;
  color: var(--muted);
}
.ecosystem-tags,
.story-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 20px;
}
.ecosystem-tags span,
.story-points span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(75, 0, 104, .12);
  background: rgba(255,255,255,.72);
  color: var(--purple-900);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .10em;
  text-transform: uppercase;
}
.global-band {
  background:
    linear-gradient(90deg, rgba(255,253,248,.95), rgba(243,230,250,.56), rgba(255,248,231,.95));
}
.home-story-section {
  padding: 72px 0 26px;
}
.story-split {
  display: grid;
  grid-template-columns: .86fr 1.14fr;
  gap: 40px;
  align-items: center;
}
.story-split .section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 15px;
  max-width: 460px;
}
.story-points { justify-content: flex-start; margin-top: 18px; }
.photo-reel-card {
  position: relative;
  border: 1px solid rgba(75, 0, 104, .12);
  border-radius: 30px;
  padding: 14px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.92), rgba(255,241,191,.52));
  box-shadow: var(--shadow-soft);
  transform: rotate(-.35deg);
}
.photo-reel-card::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(254,205,33,.32);
  border-radius: 24px;
  pointer-events: none;
  z-index: 2;
}
.photo-reel-frame {
  position: relative;
  height: clamp(290px, 32vw, 370px);
  overflow: hidden;
  border-radius: 22px;
  background: rgba(255,253,248,.88);
}
.photo-reel-frame .reel-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  padding: 4px;
  opacity: 0;
  animation: reelFade 30s infinite;
  will-change: opacity, transform;
}
.photo-reel-frame .reel-slide:nth-child(1) { animation-delay: 0s; }
.photo-reel-frame .reel-slide:nth-child(2) { animation-delay: 6s; }
.photo-reel-frame .reel-slide:nth-child(3) { animation-delay: 12s; }
.photo-reel-frame .reel-slide:nth-child(4) { animation-delay: 18s; }
.photo-reel-frame .reel-slide:nth-child(5) { animation-delay: 24s; }
@keyframes reelFade {
  0% { opacity: 1; transform: scale(1.004); }
  3% { opacity: 1; transform: scale(1); }
  17% { opacity: 1; transform: scale(1); }
  20% { opacity: 0; transform: scale(.996); }
  100% { opacity: 0; transform: scale(.996); }
}
.reel-dots {
  position: absolute;
  left: 50%;
  bottom: -15px;
  transform: translateX(-50%);
  display: flex;
  gap: 7px;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(255,253,248,.92);
  border: 1px solid rgba(75,0,104,.12);
  box-shadow: var(--shadow-soft);
}
.reel-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--purple-500));
  opacity: .7;
}

@media (max-width: 980px) {
  .global-hero-grid,
  .story-split { grid-template-columns: 1fr; }
  .curiosity-hub-card { min-height: auto; }
  .hub-logo-orbit { width: min(230px, 62%); }
  .home-story-section { padding-top: 54px; }
}
@media (max-width: 720px) {
  .curiosity-hero { padding: 48px 0 64px; }
  .photo-reel-frame { height: 310px; }
  .story-points { justify-content: center; }
  .story-split .section-heading { text-align: center; }
  .story-split .section-heading p:not(.eyebrow) { margin-left: auto; margin-right: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .spark-field span,
  .hub-logo-orbit::before,
  .hub-logo-orbit::after,
  .photo-reel-frame .reel-slide { animation: none; }
  .photo-reel-frame .reel-slide:first-child { opacity: 1; }
  .photo-reel-frame .reel-slide:not(:first-child) { display: none; }
}
.photo-reel-frame .reel-slide:first-child { opacity: 1; }


/* v7.2 payment architecture polish */
.payment-flow-grid { align-items: stretch; }
.payhip-product-grid .mini-panel { border-style: dashed; }
.soft-chip {
  display: inline-flex;
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(94, 36, 120, .09);
  color: var(--purple-900);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.setup-grid article span { color: var(--muted); font-size: 13px; display: block; margin-top: 6px; }


/* v7.3 Devin brand refresh: bold logo palette, white-first layout, whimsical details. */
:root {
  --ink: #24132d;
  --muted: #5f5068;
  --paper: #ffffff;
  --cream: #ffffff;
  --cream-2: #fff7d2;
  --line: rgba(95, 37, 121, 0.18);
  --purple-950: #2f0b3f;
  --purple-900: #4b1763;
  --purple-800: #5f2579;
  --purple: #5f2579;
  --purple-500: #9a4ea3;
  --purple-soft: #f5e8f8;
  --gold: #f4b516;
  --gold-bright: #fece22;
  --gold-soft: #fff1a6;
  --gold-pale: #fff8d9;
  --orange: #fb9634;
  --white: #ffffff;
  --shadow: 0 24px 62px rgba(95, 37, 121, 0.18);
  --shadow-soft: 0 14px 36px rgba(95, 37, 121, 0.10);
}

body {
  background: #ffffff;
}

.site-header {
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid rgba(95, 37, 121, .12);
}

.nav-links a:hover,
.nav-links a.active {
  background: rgba(254, 206, 34, .20);
  color: var(--purple);
}

.nav-links .nav-button,
.primary {
  background: var(--purple);
  color: #fff;
  box-shadow: 0 14px 30px rgba(95, 37, 121, .22);
}
.nav-links .nav-button:hover,
.nav-links .nav-button.active,
.primary:hover {
  background: var(--gold-bright);
  color: var(--purple);
  box-shadow: 0 16px 30px rgba(254, 206, 34, .30);
}
.secondary {
  background: #fff;
  color: var(--purple);
  border: 2px solid var(--purple);
}
.secondary:hover {
  background: var(--purple-500);
  border-color: var(--purple-500);
  color: #fff;
}
.gold { background: var(--gold-bright); color: var(--purple); }

.hero-bg,
.page-hero {
  background:
    radial-gradient(circle at 10% 18%, rgba(254,206,34,.30), transparent 22%),
    radial-gradient(circle at 90% 10%, rgba(154,78,163,.18), transparent 22%),
    radial-gradient(circle at 82% 82%, rgba(251,150,52,.14), transparent 20%),
    #ffffff;
}
.hero-bg::after,
.page-hero::after {
  opacity: .13;
}
.brand-world-hero {
  padding: 74px 0 70px;
}
.brand-hero-grid {
  grid-template-columns: 1fr .86fr;
  gap: 56px;
}
.small-lede {
  margin-top: 10px;
  font-weight: 750;
  color: var(--purple) !important;
}
.brand-trust span {
  background: #fff;
  border: 1px solid rgba(95,37,121,.18);
  color: var(--purple);
  box-shadow: 0 10px 22px rgba(95,37,121,.08);
}
.brand-doodles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}
.doodle {
  position: absolute;
  font-weight: 900;
  color: var(--gold-bright);
  text-shadow: 0 4px 14px rgba(254,206,34,.28);
  animation: floatWonder 8s ease-in-out infinite;
}
.star-one { left: 8%; top: 19%; font-size: 28px; }
.star-two { right: 13%; top: 30%; color: var(--purple-500); font-size: 24px; animation-delay: -2s; }
.rocket { left: 44%; bottom: 17%; color: var(--orange); font-size: 26px; transform: rotate(-12deg); animation-delay: -4s; }
.atom { right: 36%; top: 16%; color: var(--purple); font-size: 24px; animation-delay: -1s; } /* legacy hook: no atom icons are used in the live layout */
@keyframes floatWonder {
  0%, 100% { transform: translateY(0) rotate(-2deg); opacity: .78; }
  50% { transform: translateY(-10px) rotate(3deg); opacity: 1; }
}

.ecosystem-card {
  position: relative;
  border-radius: 34px;
  padding: clamp(24px, 4vw, 42px);
  background:
    radial-gradient(circle at 12% 12%, rgba(254,206,34,.40), transparent 26%),
    radial-gradient(circle at 90% 0%, rgba(154,78,163,.18), transparent 24%),
    #ffffff;
  border: 2px solid rgba(254,206,34,.55);
  box-shadow: var(--shadow), inset 0 0 0 8px rgba(254,206,34,.08);
  overflow: hidden;
}
.ecosystem-card::before,
.ecosystem-card::after {
  content: "✦";
  position: absolute;
  color: var(--gold-bright);
  font-size: 28px;
}
.ecosystem-card::before { left: 28px; top: 25px; }
.ecosystem-card::after { right: 32px; bottom: 28px; color: var(--purple-500); }
.ecosystem-logo-wrap {
  display: grid;
  place-items: center;
  min-height: 300px;
}
.ecosystem-logo-wrap img {
  width: min(360px, 88%);
  margin: 0 auto;
  filter: drop-shadow(0 14px 18px rgba(95,37,121,.12));
}
.ecosystem-notes {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}
.ecosystem-notes span {
  padding: 8px 11px;
  border-radius: 999px;
  background: #fff;
  color: var(--purple);
  border: 1px solid rgba(95,37,121,.18);
  box-shadow: 0 8px 18px rgba(95,37,121,.08);
  font-size: 11px;
  font-weight: 900;
}

.path-card,
.program-card,
.mission-card,
.value,
.directory-card,
.detail-panel,
.resource-card,
.mini-panel,
.page-callout,
.page-logo-card,
.steps li,
.guide-card {
  background: #fff;
  border-color: rgba(95,37,121,.18);
}
.path-card {
  box-shadow: var(--shadow-soft), inset 0 0 0 3px rgba(254,206,34,.12);
}
.path-card:hover,
.resource-card:hover,
.program-card:hover,
.directory-card:hover,
.guide-card:hover {
  transform: translateY(-5px);
  border-color: rgba(254,206,34,.75);
  box-shadow: 0 22px 48px rgba(95,37,121,.18);
}
.path-card span {
  background: var(--purple);
  color: #fff;
  border: 0;
  border-left: 0;
  border-radius: 999px;
}
.path-card span::before {
  content: "✦";
  color: var(--gold-bright);
  margin-right: 6px;
}
.welcome-band,
.home-hub {
  background:
    radial-gradient(circle at 10% 20%, rgba(254,206,34,.18), transparent 24%),
    radial-gradient(circle at 90% 80%, rgba(154,78,163,.12), transparent 24%),
    #ffffff;
}
.tag,
.trust-row span {
  background: rgba(254,206,34,.20);
  color: var(--purple);
  border-color: rgba(95,37,121,.16);
}
.card-icon,
.date-box,
.steps span {
  background: var(--gold-bright);
  color: var(--purple);
}
.purple-panel {
  background:
    radial-gradient(circle at 88% 15%, rgba(254,206,34,.35), transparent 28%),
    linear-gradient(135deg, var(--purple), var(--purple-500));
}
.page-callout strong, .page-callout span { position: relative; z-index: 1; }
.page-callout::before,
.guide-card::before,
.resource-card::before {
  content: "✦";
  color: var(--gold-bright);
  float: right;
  font-size: 19px;
  line-height: 1;
}
.filter-button.active, .filter-button:hover {
  background: var(--purple);
  color: #fff;
}

.guide-feature-wrap {
  padding: 64px 0 24px;
}
.guide-feature-card {
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: clamp(24px, 4vw, 46px);
  align-items: center;
  padding: clamp(24px, 4vw, 42px);
  border-radius: 34px;
  background:
    radial-gradient(circle at 8% 8%, rgba(254,206,34,.24), transparent 24%),
    radial-gradient(circle at 100% 100%, rgba(154,78,163,.14), transparent 28%),
    #ffffff;
  border: 2px solid rgba(95,37,121,.16);
  box-shadow: var(--shadow);
}
.guide-feature-photo {
  position: relative;
  border-radius: 28px;
  padding: 10px;
  background: linear-gradient(135deg, var(--gold-bright), var(--purple-500));
  transform: rotate(-1.2deg);
}
.guide-feature-photo::after {
  content: "✦";
  position: absolute;
  right: 18px;
  top: 16px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: var(--purple);
  box-shadow: 0 10px 20px rgba(95,37,121,.18);
}
.guide-feature-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 22px;
  border: 5px solid #fff;
}
.guide-feature-copy h2 {
  font-size: clamp(40px, 6vw, 68px);
  color: var(--purple);
}
.guide-feature-copy p {
  color: var(--muted);
  font-size: 16px;
}
.favorite-spark {
  margin-top: 20px;
  padding: 16px 18px;
  border-radius: 20px;
  background: rgba(254,206,34,.22);
  color: var(--purple);
  font-weight: 800;
  border: 1px solid rgba(254,206,34,.55);
}
.favorite-spark strong { color: var(--purple); }
.setup-photo {
  background: linear-gradient(135deg, var(--purple), var(--purple-500));
  color: var(--gold-bright);
}

.site-footer {
  background:
    radial-gradient(circle at 16% 20%, rgba(254,206,34,.22), transparent 22%),
    linear-gradient(135deg, var(--purple), #3b124e);
}

@media (max-width: 920px) {
  .brand-hero-grid,
  .guide-feature-card { grid-template-columns: 1fr; }
  .ecosystem-logo-wrap { min-height: 220px; }
}


/* === v7.4 Devin/Nova Wonder World Overrides === */
body.wonder-body,
body { background: #FFFFFF; color: var(--ink); }
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(circle at 10% 10%, rgba(254, 206, 34, .12), transparent 18%),
    radial-gradient(circle at 92% 14%, rgba(154, 78, 163, .12), transparent 17%),
    radial-gradient(circle at 85% 86%, rgba(251, 150, 52, .09), transparent 20%),
    linear-gradient(180deg, #fff, #fff);
}
.site-header { background: rgba(255,255,255,.95); border-bottom: 2px solid rgba(254,206,34,.28); }
.nav-links a:hover,
.nav-links a.active { background: rgba(254,206,34,.24); color: var(--purple-800); }
.nav-links .nav-button { background: var(--purple); border: 1px solid var(--purple); }
.nav-links .nav-button:hover { background: var(--gold-bright); color: var(--purple); box-shadow: 0 10px 24px rgba(254,206,34,.28); }
.hero-bg { background: none; }
.wonder-hero {
  background:
    radial-gradient(circle at 8% 12%, rgba(254,206,34,.24), transparent 19%),
    radial-gradient(circle at 88% 12%, rgba(154,78,163,.16), transparent 17%),
    radial-gradient(circle at 78% 78%, rgba(251,150,52,.13), transparent 18%),
    #fff;
}
.curio-corner { position: absolute; width: 240px; height: 180px; border-radius: 44% 56% 54% 46%; opacity: .96; pointer-events: none; }
.curio-corner.top-left { top: -70px; left: -70px; background: linear-gradient(135deg, rgba(95,37,121,.96), rgba(154,78,163,.84)); }
.curio-corner.bottom-right { right: -82px; bottom: -70px; background: linear-gradient(135deg, rgba(254,206,34,.92), rgba(251,150,52,.76)); }
.floating-doodles { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.floating-doodles span { position: absolute; color: var(--purple); font-size: 28px; opacity: .78; animation: floatSpark 7s ease-in-out infinite; }
.floating-doodles span:nth-child(1){left:13%; top:18%; color:var(--gold-bright);} .floating-doodles span:nth-child(2){right:14%; top:21%; color:var(--purple-500); animation-delay:1.2s;} .floating-doodles span:nth-child(3){right:21%; bottom:22%; color:var(--orange); animation-delay:2.1s;} .floating-doodles span:nth-child(4){left:8%; bottom:27%; color:var(--purple-500); animation-delay:.6s;} .floating-doodles span:nth-child(5){left:47%; top:13%; color:var(--purple); animation-delay:1.7s;} .floating-doodles span:nth-child(6){right:42%; bottom:13%; color:var(--gold); animation-delay:2.7s;}
@keyframes floatSpark { 0%,100%{transform:translateY(0) rotate(0deg); opacity:.58;} 50%{transform:translateY(-12px) rotate(7deg); opacity:1;} }
.primary { background: var(--purple); border: 1px solid var(--purple); color:#fff; }
.primary:hover { background: var(--gold-bright); color: var(--purple); border-color: var(--gold-bright); box-shadow: 0 18px 34px rgba(254,206,34,.33); }
.secondary { background: #fff; color: var(--purple); border: 1.5px solid var(--purple); }
.secondary:hover { background: var(--purple-500); color: #fff; border-color: var(--purple-500); box-shadow: 0 16px 30px rgba(154,78,163,.24); }
.gold:hover { background: #fff; color: var(--purple); }
.spark-button { position: relative; overflow: hidden; }
.spark-button::after { content: "✦"; position: absolute; right: 12px; top: -18px; color: var(--gold-bright); opacity: 0; transform: scale(.5) rotate(-12deg); transition: all .22s ease; }
.spark-button:hover::after { opacity: 1; top: 4px; transform: scale(1) rotate(8deg); }
.eyebrow { color: var(--purple); }
h1, h2, h3 { color: var(--purple-950); }
.hero-lede, .page-hero p, .section-heading p, .rich-copy p, .program-content p, .event-list p, .mini-panel p, .directory-card p, .detail-panel p, .value span, .site-footer p { color: var(--muted); }
.living-world-card { position: relative; min-height: 430px; border: 2px solid rgba(254,206,34,.58); background: linear-gradient(180deg, #fff, #fff9dc); box-shadow: var(--shadow); }
.living-world-card::before { content:"✦"; position:absolute; right:24px; top:18px; color: var(--gold-bright); font-size: 34px; animation: twinkle 2.7s ease-in-out infinite; }
.living-world-card::after { content:"✧"; position:absolute; left:25px; bottom:22px; color: var(--purple-500); font-size: 32px; opacity: .75; animation: floatSpark 8s ease-in-out infinite; }
.orbit-note { position:absolute; border:1px solid rgba(95,37,121,.16); background:#fff; color:var(--purple); box-shadow: var(--shadow-soft); border-radius:999px; padding:7px 11px; font-size:11px; font-weight:900; text-transform:uppercase; letter-spacing:.08em; }
.orbit-a{left:24px; top:100px;} .orbit-b{right:24px; top:145px;} .orbit-c{left:38px; bottom:95px;}
@keyframes twinkle { 0%,100%{transform:scale(.82) rotate(0deg); opacity:.55;} 50%{transform:scale(1.14) rotate(12deg); opacity:1;} }
.quick-identity { display:grid; grid-template-columns: repeat(4,1fr); gap:14px; margin-top:-38px; position:relative; z-index:3; }
.quick-identity article { background:#fff; border:1px solid var(--line); border-top: 5px solid var(--gold-bright); border-radius: 20px; padding: 18px; box-shadow: var(--shadow-soft); }
.quick-identity strong { display:block; color: var(--purple); font-size: 15px; margin-bottom: 7px; }
.quick-identity span { color: var(--muted); font-size: 13px; }
.wonder-section { padding: 86px 0; position:relative; overflow:hidden; }
.wonder-section::before { content:""; position:absolute; inset:auto 0 0; height:1px; background:linear-gradient(90deg, transparent, rgba(254,206,34,.9), rgba(95,37,121,.45), transparent); }
.align-start { align-items:start; }
.resource-world { background:#fff; }
.austin-world { background: linear-gradient(180deg, #fff, rgba(154,78,163,.06)); }
.curiosity-card-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:14px; }
.curiosity-card, .curiosity-path-card, .adventure-ticket-grid article, .mvp-grid article { background:#fff; border:1px solid var(--line); border-radius:22px; padding:22px; box-shadow:var(--shadow-soft); position:relative; overflow:hidden; }
.curiosity-card::after, .directory-card::after, .resource-card::after { content:"✦"; position:absolute; right:14px; top:12px; color: var(--gold-bright); opacity:.72; }
.curiosity-icon, .resource-icon, .program-doodle, .card-icon { display:grid; place-items:center; width:52px; height:52px; border-radius:18px; background:linear-gradient(135deg, var(--gold-bright), var(--orange)); color:var(--purple); font-size:24px; margin-bottom:14px; box-shadow: 0 12px 24px rgba(254,206,34,.22); }
.program-doodle { width:100%; height:150px; border-radius:0; margin:0; font-size:54px; background: radial-gradient(circle at 35% 20%, rgba(254,206,34,.86), transparent 22%), linear-gradient(135deg, rgba(154,78,163,.18), rgba(254,206,34,.24)); }
.map-line { display:block; height:5px; width:100%; border-radius:999px; margin-bottom:18px; background: repeating-linear-gradient(90deg, var(--gold-bright) 0 14px, transparent 14px 24px), linear-gradient(90deg, var(--purple), var(--orange)); }
.adventure-ticket-grid { display:grid; gap:14px; }
.status-pill { display:inline-flex; align-items:center; width:max-content; border-radius:999px; padding:6px 10px; font-size:10px; font-weight:950; text-transform:uppercase; letter-spacing:.09em; margin:0 6px 8px 0; border:1px solid transparent; }
.status-pill.open { background:rgba(254,206,34,.28); color:var(--purple); border-color:rgba(254,206,34,.7); }
.status-pill.soon { background:rgba(154,78,163,.12); color:var(--purple); border-color:rgba(154,78,163,.28); }
.status-pill.waitlist { background:rgba(251,150,52,.16); color:#7a3c00; border-color:rgba(251,150,52,.34); }
.status-pill.closed, .status-pill.full { background:rgba(95,37,121,.13); color:var(--purple-950); border-color:rgba(95,37,121,.25); }
.status-pill.cancelled { background:rgba(251,90,52,.16); color:#7d1e08; border-color:rgba(251,90,52,.35); }
.wonder-home-hub { background: linear-gradient(180deg, #fff, var(--gold-pale)); }
.bright-page-hero { background: radial-gradient(circle at 10% 15%, rgba(254,206,34,.22), transparent 22%), radial-gradient(circle at 90% 18%, rgba(154,78,163,.14), transparent 21%), #fff; }
.bright-page-hero::after { opacity:.12; }
.calendar-controls { display:flex; justify-content:space-between; align-items:end; gap:20px; padding:54px 0 22px; }
.status-legend { display:flex; flex-wrap:wrap; gap:7px; justify-content:flex-end; }
.month-board { display:grid; grid-template-columns:repeat(7,1fr); gap:10px; margin-bottom:54px; }
.weekday { text-align:center; font-weight:950; color:var(--purple); font-size:11px; letter-spacing:.12em; text-transform:uppercase; }
.month-cell { min-height:130px; background:#fff; border:1px solid var(--line); border-radius:18px; padding:13px; box-shadow:var(--shadow-soft); }
.month-cell strong { display:block; color:var(--purple-950); margin-bottom:10px; }
.month-cell.muted { background:rgba(154,78,163,.035); }
.event-pill { display:block; border-left:4px solid var(--gold-bright); background:var(--gold-pale); color:var(--purple); padding:7px 8px; border-radius:10px; font-size:11px; font-weight:850; margin-top:7px; }
.event-pill.open { border-color:var(--gold-bright); } .event-pill.soon { border-color:var(--purple-500); background:rgba(154,78,163,.09); } .event-pill.waitlist { border-color:var(--orange); background:rgba(251,150,52,.11); }
.event-meta { display:grid; grid-template-columns:repeat(3,1fr); gap:8px; margin:14px 0; }
.event-meta div { padding:10px; border-radius:12px; background:rgba(154,78,163,.07); }
.calendar-v2 .large-events article { border-top:4px solid var(--gold-bright); }
.program-status-note { display:flex; align-items:center; gap:8px; flex-wrap:wrap; margin-bottom:20px; background:#fff; border:1px solid var(--line); border-radius:18px; padding:14px 16px; box-shadow:var(--shadow-soft); }
.program-directory-v2 .directory-card, .adventure-card { transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; border-top: 5px solid var(--gold-bright); background:#fff; }
.program-directory-v2 .directory-card:hover, .adventure-card:hover, .resource-card:hover, .curiosity-card:hover { transform: translateY(-5px); box-shadow:var(--shadow); border-color:rgba(95,37,121,.32); }
.card-actions { display:flex; flex-wrap:wrap; gap:8px; margin-top:14px; }
.resource-grid-v2 .resource-card { position:relative; min-height:260px; background:#fff; border-top:5px solid var(--gold-bright); }
.guide-showcase { padding:76px 0 24px; }
.guide-feature-card { display:grid; grid-template-columns:.74fr 1.26fr; gap:32px; align-items:center; background:#fff; border:1px solid var(--line); border-radius:32px; padding:28px; box-shadow:var(--shadow); position:relative; overflow:hidden; }
.guide-feature-card::before { content:""; position:absolute; inset:0 0 auto auto; width:180px; height:150px; background:linear-gradient(135deg, rgba(254,206,34,.9), rgba(251,150,52,.65)); border-radius:0 0 0 100%; opacity:.75; }
.guide-photo-wrap img { width:100%; max-height:420px; object-fit:cover; border-radius:24px; border:4px solid #fff; box-shadow:var(--shadow-soft); }
.favorite-spark { margin-top:18px; padding:16px 18px; border-radius:18px; background:var(--gold-pale); border:1px solid rgba(254,206,34,.65); color:var(--purple-950); }
.guide-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; padding:34px 0 76px; }
.launch-flow-v2 .steps li span { background:var(--purple); color:#fff; }
.launch-flow-v2 .steps li:hover span { background:var(--gold-bright); color:var(--purple); }
.mvp-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:14px; padding:0 0 76px; }
.small-icon { width:42px; height:42px; font-size:20px; }
.sheet-tab-grid { display:grid; grid-template-columns:repeat(5,1fr); gap:10px; }
.sheet-tab-grid span, .status-stack span { display:inline-flex; align-items:center; justify-content:center; min-height:42px; border-radius:14px; background:rgba(154,78,163,.08); color:var(--purple); font-weight:900; text-align:center; padding:8px; }
.compact-map { grid-template-columns: 1fr 1fr; }
.status-stack { display:flex; flex-wrap:wrap; gap:8px; }
.white-band { background: #fff; border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.wonder-footer { background:var(--purple-950); color:#fff; }
.wonder-footer a, .wonder-footer h3 { color:#fff; }
.wonder-footer p { color:rgba(255,255,255,.75); }
@media (max-width: 980px) {
  .quick-identity, .resource-page-grid, .mvp-grid { grid-template-columns:repeat(2,1fr); }
  .month-board { grid-template-columns:repeat(2,1fr); }
  .weekday { display:none; }
  .guide-feature-card, .split-band, .hub-grid, .calendar-layout, .join-page-grid, .detail-grid { grid-template-columns:1fr; }
  .guide-grid, .program-card-grid, .directory-grid { grid-template-columns:1fr 1fr; }
  .sheet-tab-grid { grid-template-columns:repeat(2,1fr); }
}
@media (max-width: 640px) {
  .quick-identity, .curiosity-card-grid, .guide-grid, .program-card-grid, .directory-grid, .resource-page-grid, .mvp-grid, .month-board { grid-template-columns:1fr; }
  .calendar-controls { display:block; }
  .event-meta { grid-template-columns:1fr; }
  .curio-corner { width:170px; height:130px; }
}

/* === v7.5 cleanup: footer columns + crisp resource icons === */
.site-footer .footer-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.35fr) minmax(150px, .65fr) minmax(220px, .85fr);
  align-items: start;
  gap: clamp(28px, 6vw, 80px);
}
.site-footer .footer-grid > div {
  min-width: 0;
}
.site-footer .footer-grid > div:not(:first-child),
.site-footer .footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
.site-footer .footer-grid h3 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 17px;
  line-height: 1.15;
  letter-spacing: -0.015em;
}
.site-footer .footer-grid a:not(.brand),
.site-footer .footer-links a,
.site-footer .footer-logout {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  padding: 2px 0;
  color: rgba(255,255,255,.78);
  font-size: 14px;
  font-weight: 750;
  line-height: 1.35;
  white-space: normal;
  text-align: left;
}
.site-footer .footer-grid a:not(.brand):hover,
.site-footer .footer-links a:hover {
  color: var(--gold-bright);
  transform: translateX(2px);
}
.site-footer .footer-logo-brand img {
  width: 168px;
  max-width: 100%;
  background: #fff;
  border-radius: 0;
  padding: 4px;
}

.resource-grid-v2 .resource-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  overflow: hidden;
}
.resource-grid-v2 .resource-card::before {
  content: none !important;
  display: none !important;
}
.resource-grid-v2 .resource-card::after {
  right: 16px;
  top: 14px;
  font-size: 20px;
}
.resource-grid-v2 .resource-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  margin: 0 0 18px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--gold-bright), var(--orange));
  color: var(--purple);
  box-shadow: 0 14px 28px rgba(254,206,34,.24);
  overflow: hidden;
}
.resource-grid-v2 .resource-icon::after {
  content: "";
  position: absolute;
  inset: 7px 7px auto auto;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,.45);
}
.resource-grid-v2 .resource-icon svg {
  width: 30px;
  height: 30px;
  display: block;
  stroke: var(--purple);
  stroke-width: 2.25;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  z-index: 1;
}
.resource-grid-v2 .resource-card h2 {
  margin-top: 2px;
  color: var(--purple-950);
}
.resource-grid-v2 .resource-card .button {
  margin-top: auto;
}
@media (max-width: 780px) {
  .site-footer .footer-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }
}


/* === v7.6 clean URL + home hero cleanup === */
.living-world-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}
.living-world-card .ecosystem-logo-wrap {
  min-height: clamp(250px, 30vw, 330px);
  padding: 10px 0 0;
}
.living-world-card .ecosystem-notes {
  position: relative;
  z-index: 6;
  margin-top: 8px;
  padding: 0 10px 4px;
}
.living-world-card .ecosystem-notes span {
  white-space: nowrap;
}
.living-world-card .orbit-note {
  z-index: 7;
}
.living-world-card .orbit-c {
  display: none;
}
@media (max-width: 760px) {
  .living-world-card .orbit-note {
    display: none;
  }
  .living-world-card .ecosystem-notes {
    padding: 0;
  }
}
.site-footer .footer-grid > div,
.wonder-footer .footer-grid > div {
  min-width: 0;
}
.site-footer .footer-grid a,
.wonder-footer .footer-grid a {
  display: block;
  width: fit-content;
  line-height: 1.55;
  margin: 4px 0;
}


/* === v7.7 mobile optimization + home-screen icon polish === */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}
button,
input,
select,
textarea {
  font: inherit;
}
.nav {
  position: relative;
}
.nav-toggle {
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.nav-toggle[aria-expanded="true"] {
  background: var(--purple);
  border-color: var(--purple);
  box-shadow: 0 12px 26px rgba(95,37,121,.22);
}
.nav-toggle[aria-expanded="true"] span {
  background: var(--gold-bright);
}
.table-wrap,
.mobile-table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-inline: contain;
}
.admin-table,
.data-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}
.data-table th,
.data-table td {
  padding: 13px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  font-size: 13px;
  vertical-align: top;
}
.data-table th {
  color: var(--purple);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.invite-link-box,
.admin-card,
.directory-card,
.resource-card,
.mini-panel,
.page-callout {
  overflow-wrap: anywhere;
}
.admin-card {
  min-width: 0;
}
.form-embed-card iframe {
  max-width: 100%;
}
@media (max-width: 980px) {
  .admin-topbar {
    align-items: flex-start;
  }
  .admin-actions {
    min-width: 0;
    width: 100%;
    flex-wrap: wrap;
  }
}
@media (max-width: 820px) {
  body.nav-open {
    overflow: hidden;
  }
  .nav {
    min-height: 64px;
  }
  .nav-links {
    top: calc(100% + 10px);
    left: 12px;
    right: 12px;
    max-height: calc(100dvh - 88px);
    overflow-y: auto;
    z-index: 999;
    background: rgba(255,255,255,.985);
  }
  .nav-links a,
  .nav-links button,
  .nav-role-pill {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
  .nav-role-pill.active,
  .nav-logout.auth-visible {
    display: inline-flex;
    justify-content: center;
  }
}
@media (max-width: 640px) {
  .shell {
    width: min(100% - 28px, 1120px);
  }
  .site-header {
    position: sticky;
  }
  .logo-brand img {
    width: 118px;
  }
  .brand-world-hero,
  .hero,
  .page-hero {
    padding: 42px 0 46px;
  }
  .brand-hero-grid,
  .hero-grid,
  .page-hero-grid,
  .split-band,
  .hub-grid {
    gap: 28px;
  }
  h1 {
    font-size: clamp(34px, 13vw, 50px);
    letter-spacing: -0.055em;
  }
  h2 {
    font-size: clamp(28px, 10vw, 40px);
  }
  .hero-lede,
  .page-hero p,
  .section-heading p {
    font-size: 15px;
  }
  .eyebrow {
    font-size: 10px;
    letter-spacing: .12em;
  }
  .hero-actions,
  .compact-actions,
  .card-actions,
  .admin-actions {
    width: 100%;
  }
  .button {
    min-height: 48px;
    justify-content: center;
  }
  .trust-row,
  .brand-trust {
    gap: 7px;
  }
  .trust-row span,
  .brand-trust span {
    font-size: 10px;
    padding: 7px 9px;
  }
  .living-world-card {
    border-radius: 26px;
    padding: 22px 16px;
  }
  .living-world-card .ecosystem-logo-wrap {
    min-height: auto;
    padding: 2px 0 0;
  }
  .living-world-card .ecosystem-logo-wrap img,
  .ecosystem-logo-wrap img {
    width: min(300px, 92%);
  }
  .living-world-card .ecosystem-notes {
    gap: 7px;
    margin-top: 8px;
  }
  .living-world-card .ecosystem-notes span {
    flex: 1 1 calc(50% - 8px);
    min-width: 124px;
    white-space: normal;
    text-align: center;
    font-size: 10px;
    padding: 8px 9px;
  }
  .floating-doodles span:nth-child(n+5) {
    display: none;
  }
  .quick-identity article,
  .curiosity-card,
  .program-card,
  .directory-card,
  .resource-card,
  .mini-panel,
  .page-callout,
  .guide-feature-card,
  .admin-card,
  .steps li {
    border-radius: 22px;
  }
  .resource-grid-v2 .resource-card {
    min-height: auto;
    padding: 24px;
  }
  .resource-grid-v2 .resource-icon {
    width: 52px;
    height: 52px;
    flex-basis: 52px;
    border-radius: 16px;
    margin-bottom: 15px;
  }
  .resource-grid-v2 .resource-icon svg {
    width: 27px;
    height: 27px;
  }
  .directory-card dl,
  .event-meta,
  .compact-map {
    grid-template-columns: 1fr;
  }
  .calendar-controls {
    padding: 38px 0 18px;
  }
  .calendar-controls .status-legend {
    justify-content: flex-start;
    margin-top: 12px;
  }
  .month-cell {
    min-height: auto;
  }
  .guide-feature-card {
    padding: 18px;
  }
  .guide-feature-photo,
  .guide-feature-photo img,
  .guide-photo-wrap img {
    transform: none;
  }
  .admin-topbar,
  .role-row {
    display: grid;
    grid-template-columns: 1fr;
  }
  .role-options {
    justify-content: flex-start;
  }
  .admin-form-grid {
    grid-template-columns: 1fr;
  }
  .admin-form-grid input,
  .admin-form-grid select,
  .admin-form-grid textarea,
  input,
  select,
  textarea {
    font-size: 16px;
  }
  .admin-table,
  .data-table {
    min-width: 680px;
  }
  .site-footer {
    padding: 30px 0;
  }
  .site-footer .footer-logo-brand img {
    width: 138px;
  }
}
@media (max-width: 420px) {
  .shell {
    width: min(100% - 22px, 1120px);
  }
  .nav-links {
    left: 10px;
    right: 10px;
  }
  h1 {
    font-size: clamp(32px, 14vw, 44px);
  }
  .living-world-card .ecosystem-notes span {
    flex-basis: 100%;
  }
  .month-board {
    gap: 8px;
  }
}


/* === v7.8 Payhip integration + admin form planning === */
.payhip-live-grid { align-items: stretch; }
.payhip-live-card { overflow: hidden; display:flex; flex-direction:column; }
.payhip-card-art,
.resource-banner { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 20px; border: 1px solid rgba(95,37,121,.12); box-shadow: 0 14px 28px rgba(42,18,53,.09); margin-bottom: 16px; background:#fff; }
.payhip-live-card .button-row,
.resource-card .card-actions,
.button-row { display:flex; flex-wrap:wrap; gap:10px; margin-top:auto; }
.disabled-link { opacity:.68; cursor:not-allowed; pointer-events:none; filter:saturate(.7); }
.payhip-resource-grid { align-items: stretch; }
.payhip-resource-card { display:flex; flex-direction:column; min-height: 0 !important; padding-top: 18px !important; }
.payhip-resource-card::before { display:none !important; }
.payhip-resource-card::after { top: 18px; right: 18px; }
.payhip-resource-card h2 { margin-top: 8px; }
.payhip-resource-card p:not(.tag) { margin-bottom: 18px; }
.payhip-policy-grid .mini-panel { border-top: 5px solid var(--gold-bright); }
.light-secondary { background:#fff !important; color:var(--purple) !important; border:1px solid rgba(255,255,255,.45) !important; margin-top:10px; }
.clean-list { margin: 12px 0 0; padding-left: 18px; color: var(--muted); line-height: 1.75; }
.clean-list li { margin: 4px 0; }
.registration-blueprint-grid { margin-top: 50px; }
.form-field-columns { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }
.form-field-columns h3 { margin:0 0 8px; color:var(--purple-950); }
.form-field-columns > div { border:1px solid var(--line); border-radius:20px; padding:16px; background:#fff; box-shadow:var(--shadow-soft); }
.invite-link-box a { color: var(--purple); font-weight: 900; overflow-wrap:anywhere; }
@media (max-width: 900px) {
  .form-field-columns { grid-template-columns:1fr; }
  .payhip-card-art, .resource-banner { aspect-ratio: 16 / 10; }
}
@media (max-width: 640px) {
  .payhip-live-card .button-row,
  .resource-card .card-actions,
  .button-row { flex-direction: column; }
  .payhip-live-card .button,
  .resource-card .button { width:100%; justify-content:center; }
  .payhip-card-art, .resource-banner { border-radius:16px; }
}


/* === v7.11 access management + profile workflows === */
.access-request-layout { margin: 34px 0; }
.profile-grid { display:grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap:22px; margin-top:28px; align-items:start; }
.profile-grid .mini-panel { height:auto; }
.full-span { grid-column: 1 / -1; }
.profile-list { display:grid; gap:10px; margin-top:14px; }
.profile-list-item, .template-card { border:1px solid rgba(95,37,121,.14); border-radius:18px; background:#fff; padding:14px; box-shadow:0 10px 26px rgba(42,18,53,.08); }
.profile-list-item strong, .profile-list-item span, .profile-list-item small { display:block; }
.profile-list-item span, .profile-list-item small { color:var(--muted); margin-top:3px; line-height:1.45; }
.empty-note { color:var(--muted); padding:12px; border:1px dashed rgba(95,37,121,.28); border-radius:16px; background:rgba(254,206,34,.08); }
.table-actions { display:flex; flex-wrap:wrap; gap:8px; }
.status.bad { background:#ffe5df; color:#9b2c1f; border-color:#ffb09f; }
.copy-template, .template-card textarea { width:100%; min-height:190px; border-radius:18px; border:1px solid rgba(95,37,121,.18); padding:14px; font:600 13px/1.55 Inter, sans-serif; color:var(--purple-950); background:#fffdf7; resize:vertical; }
.template-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
.template-card h3 { margin:4px 0 10px; color:var(--purple-950); }
.template-card textarea { min-height:210px; margin-bottom:12px; }
.comms-grid { align-items:start; }
@media (max-width: 900px) { .profile-grid, .template-grid { grid-template-columns:1fr; } }
@media (max-width: 640px) { .access-request-layout { margin:22px 0; } .table-actions { flex-direction:column; } .table-actions .tiny-button { width:100%; } }


/* Supabase / live access polish */
.preview-tools {
  margin-top: 1.25rem;
  border: 1px solid rgba(95,37,121,.18);
  border-radius: 22px;
  background: #fff;
  padding: 1rem;
  box-shadow: 0 12px 32px rgba(95,37,121,.08);
}
.preview-tools summary {
  cursor: pointer;
  font-weight: 900;
  color: var(--purple);
}
.stacked-actions { flex-direction: column; align-items: stretch; }
table caption {
  caption-side: top;
  text-align: left;
  padding: .75rem 0;
  color: var(--muted);
}
.auth-current-card [data-supabase-status] { display:block; margin-top:.35rem; }

/* v7.18 simplified CurioSpark account sign-in */
.signin-hero .page-callout { align-self: center; }
.polished-login-section { padding-top: 56px; }
.login-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, .95fr);
  gap: 18px;
  align-items: stretch;
}
.login-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(95,37,121,.16);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 20px 60px rgba(95,37,121,.10);
  padding: 28px;
}
.login-panel::after {
  content: "✦";
  position: absolute;
  right: 22px;
  top: 18px;
  color: var(--gold);
  font-size: 26px;
  opacity: .9;
}
.primary-login-panel {
  border-top: 7px solid var(--purple);
}
.secondary-login-panel {
  border-top: 7px solid var(--gold);
}
.login-panel h2 { font-size: clamp(30px, 5vw, 46px); margin: 4px 0 8px; }
.clean-auth-form { margin-top: 18px; }
.clean-auth-form label { font-size: 12px; }
.clean-auth-form input { min-height: 52px; font-size: 16px; border-radius: 16px; }
.auth-message-card {
  margin-bottom: 18px;
  border-left: 7px solid var(--gold);
  background: linear-gradient(90deg, rgba(254,206,34,.14), rgba(255,255,255,.92));
  color: var(--purple-950);
  font-weight: 800;
}
.auth-message-card.auth-good { border-left-color: #2E9D62; background: rgba(46,157,98,.10); }
.auth-message-card.auth-warn { border-left-color: var(--orange); background: rgba(251,150,52,.10); }
.auth-message-card.auth-error { border-left-color: #B42318; background: rgba(180,35,24,.10); }
.text-button {
  border: 0;
  background: transparent;
  color: var(--purple);
  font: inherit;
  font-weight: 900;
  text-decoration: underline;
  cursor: pointer;
  padding: 12px 0 0;
}
.hidden-auth-panel { display: none !important; }
.auth-secondary-tools, .auth-preview-tools { margin-top: 18px; }
.compact-auth-tools { margin-top: 16px; }
.auth-preview-tools .signin-grid { margin-top: 16px; }
@media (max-width: 900px) {
  .login-shell { grid-template-columns: 1fr; }
  .login-panel { padding: 22px; }
  .polished-login-section { padding-top: 36px; }
}
@media (max-width: 560px) {
  .login-panel { border-radius: 22px; padding: 18px; }
  .login-panel h2 { font-size: 30px; }
  .clean-auth-form input { min-height: 50px; }
  .auth-message-card { font-size: 13px; }
}

.small-support-note { margin: 18px auto 0; max-width: 760px; padding: 14px 18px; border: 1px solid rgba(95,37,121,.18); border-radius: 18px; background: #fff; color: #4f3e58; box-shadow: 0 12px 30px rgba(95,37,121,.08); }
.small-support-note a { color: #5F2579; font-weight: 800; text-decoration: none; }
.clean-login-shell { align-items: stretch; }

[data-guest-only].auth-hidden, .nav-button.auth-hidden { display: none !important; }
[data-member-only] { display: none !important; }
[data-member-only].member-visible { display: inline-flex !important; }


/* === v7.26 menu/auth cleanup + Payhip verification polish === */
html:not(.auth-ui-ready) [data-auth-link],
html:not(.auth-ui-ready) [data-logout],
html:not(.auth-ui-ready) [data-guest-only],
html:not(.auth-ui-ready) .nav-role-pill,
html:not(.auth-ui-ready) [data-role-link="staff"],
html:not(.auth-ui-ready) [data-member-only] {
  display: none !important;
}

.nav { min-height: 78px; position: relative; }
.site-header { isolation: isolate; }
.site-header .logo-brand img { width: clamp(112px, 11vw, 142px); }
.nav-toggle {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: auto;
  min-width: 112px;
  height: 48px;
  padding: 8px 15px;
  border-radius: 999px;
  border: 2px solid rgba(95,37,121,.18);
  background: radial-gradient(circle at 14% 24%, rgba(254,206,34,.42), transparent 28%), #fff;
  color: var(--purple);
  box-shadow: 0 12px 26px rgba(95,37,121,.10);
  font-weight: 950;
  letter-spacing: .04em;
  text-transform: uppercase;
  position: relative;
  z-index: 1001;
}
.nav-toggle::after { content: "✦ Menu"; margin-left: 8px; font-size: 12px; }
.nav-toggle span { width: 20px; margin: 3px 0; transition: transform .2s ease, opacity .2s ease, background .2s ease; }
.nav-toggle[aria-expanded="true"] {
  background: radial-gradient(circle at 18% 20%, rgba(254,206,34,.55), transparent 24%), linear-gradient(135deg, var(--purple), var(--purple-500));
  border-color: var(--gold-bright);
  color: #fff;
  box-shadow: 0 18px 38px rgba(95,37,121,.24), 0 0 0 5px rgba(254,206,34,.18);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }
.nav-toggle[aria-expanded="true"]::after { content: "✦ Close"; }
.nav-links {
  position: fixed !important;
  top: 94px !important;
  right: max(18px, calc((100vw - 1120px) / 2)) !important;
  left: auto !important;
  width: min(430px, calc(100vw - 36px)) !important;
  max-height: min(82dvh, 760px);
  overflow-y: auto;
  display: flex !important;
  flex-direction: column;
  align-items: stretch;
  gap: 9px;
  padding: 18px;
  border-radius: 30px;
  border: 2px solid rgba(254,206,34,.65);
  background: radial-gradient(circle at 12% 12%, rgba(254,206,34,.28), transparent 24%), radial-gradient(circle at 90% 8%, rgba(154,78,163,.14), transparent 24%), rgba(255,255,255,.985);
  box-shadow: 0 28px 70px rgba(42,18,53,.22), inset 0 0 0 6px rgba(254,206,34,.08);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-14px) scale(.985);
  transition: opacity .18s ease, transform .18s ease;
  z-index: 1000;
}
.nav-links::before {
  content: "CurioSpark Menu ✨";
  display: block;
  padding: 12px 14px 8px;
  color: var(--purple);
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 12px;
}
.nav-links.open { opacity: 1; pointer-events: auto; transform: translateY(0) scale(1); }
.nav-links a,
.nav-links button,
.nav-role-pill {
  width: 100%;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  padding: 12px 15px;
  border-radius: 18px;
  border: 1px solid rgba(95,37,121,.11);
  background: #fff;
  color: var(--purple-950);
  box-shadow: 0 8px 18px rgba(95,37,121,.055);
}
.nav-links a::after,
.nav-links button::after { content: "✦"; color: var(--gold-bright); opacity: .62; transition: transform .2s ease, opacity .2s ease; }
.nav-links a:hover,
.nav-links a.active,
.nav-links button:hover,
.nav-links .menu-spark-active {
  background: linear-gradient(135deg, rgba(254,206,34,.92), rgba(255,255,255,1));
  border-color: rgba(95,37,121,.26);
  color: var(--purple);
  box-shadow: 0 14px 30px rgba(95,37,121,.12), 0 0 0 4px rgba(254,206,34,.18);
  transform: translateX(-2px);
}
.nav-links a:hover::after,
.nav-links a.active::after,
.nav-links button:hover::after,
.nav-links .menu-spark-active::after { opacity: 1; transform: scale(1.35) rotate(14deg); }
.nav-links .nav-button { margin-left: 0; justify-content: center; background: var(--purple); color: #fff; border-color: var(--purple); }
.nav-role-pill.active { justify-content: center; background: rgba(254,206,34,.30); color: var(--purple); border-color: rgba(254,206,34,.55); }
body.nav-open::before { content: ""; position: fixed; inset: 0; z-index: 49; background: rgba(42,18,53,.10); backdrop-filter: blur(1px); pointer-events: none; }

/* Auth state cleanup: no Sign In / Join traces after sign-in. */
a[href="/signin"].auth-hidden,
a[href="/join"].auth-hidden,
[data-auth-link].auth-hidden,
[data-guest-only].auth-hidden { display: none !important; }
[data-member-only] { display: none !important; }
[data-member-only].member-visible { display: inline-flex !important; }
[data-role-link="staff"] { display: none !important; }
[data-role-link="staff"].role-visible { display: inline-flex !important; }
.nav-logout,
.footer-logout,
.footer-session-actions [data-logout] { display: none !important; }
.nav-logout.auth-visible,
.footer-logout.auth-visible,
.footer-session-actions [data-logout].auth-visible { display: inline-flex !important; align-items: center; justify-content: space-between; }
.footer-session-actions { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; }
.site-footer .footer-session-actions button { width: fit-content; border: 0; background: transparent; color: rgba(255,255,255,.78); font-weight: 900; padding: 2px 0; cursor: pointer; }


/* Auth hardening: if Supabase has a stored session token, never show visitor prompts while the session rehydrates. */
html.is-signed-in a[href="/signin"],
html.is-signed-in a[href="/join"],
html.is-signed-in [data-auth-link],
html.is-signed-in [data-guest-only] { display: none !important; }
html.is-signed-in [data-logout] { display: inline-flex !important; align-items: center; justify-content: space-between; }
html.is-signed-in [data-member-only] { display: inline-flex !important; }

/* Reveal hardening: content must never disappear if animation/auth JS pauses. */
.reveal { opacity: 1; transform: none; }
.reveal.visible { opacity: 1; transform: none; }

.wonder-hero { overflow: hidden; }
.curio-corner.top-left { top: -118px; left: -126px; width: 255px; height: 205px; opacity: .62; }
.hero-copy, .brand-hero-grid, .wonder-hero .shell { position: relative; z-index: 2; }
.wonder-hero .eyebrow { background: rgba(255,255,255,.80); box-decoration-break: clone; -webkit-box-decoration-break: clone; border-radius: 999px; padding: 4px 8px; display: inline-block; }

.compact-stats { margin: 16px 0; }
.compact-stats article { min-height: 86px; }
.compact-stats strong { color: var(--purple); font-size: 28px; }
.compact-select { max-width: 230px; width: 100%; border: 1px solid rgba(95,37,121,.18); border-radius: 12px; padding: 8px 10px; background: #fff; color: var(--purple-950); }
.tiny-button.secondary { background: #fff; color: var(--purple); border: 1px solid rgba(95,37,121,.18); }

@media (max-width: 820px) {
  .nav { min-height: 68px; }
  .site-header .logo-brand img { width: clamp(104px, 32vw, 132px); }
  .nav-toggle { min-width: 94px; height: 44px; padding: 7px 12px; }
  .nav-toggle::after { font-size: 11px; margin-left: 6px; }
  .nav-links { top: 78px !important; left: 14px !important; right: 14px !important; width: auto !important; max-height: calc(100dvh - 96px); border-radius: 24px; padding: 14px; }
  .nav-links a, .nav-links button, .nav-role-pill { min-height: 44px; justify-content: space-between; }
}
@media (max-width: 480px) {
  .shell { width: min(100% - 24px, 1120px); }
  .nav-toggle { min-width: 48px; width: 48px; padding: 8px; }
  .nav-toggle::after { content: "" !important; margin: 0; }
  .nav-links { left: 10px !important; right: 10px !important; width: auto !important; }
  .curio-corner.top-left { top: -130px; left: -138px; opacity: .44; }
  .wonder-hero .eyebrow { font-size: 9px; letter-spacing: .10em; max-width: 100%; }
}


/* === v7.30 Devin/Nova public feedback polish === */
.ecosystem-card.living-world-card { padding: clamp(22px, 3vw, 34px); display:grid; place-items:center; }
.ecosystem-logo-wrap { max-width: 360px; margin: 0 auto; }
.category-showcase-section .section-heading p + p { margin-top: 10px; }
.category-image-grid { display:grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
.category-image-card, .event-builder-card { background:#fff; border:1px solid rgba(95,37,121,.12); border-radius:28px; padding:14px; box-shadow: var(--shadow-soft); overflow:hidden; }
.category-image-card { display:grid; grid-template-columns: 120px 1fr; gap:14px; align-items:center; }
.category-image-card.feature-card { grid-column: 1 / -1; grid-template-columns: 180px 1fr; }
.category-image-card img, .event-builder-card img { width:100%; aspect-ratio: 4 / 3; object-fit:cover; border-radius:20px; border:1px solid rgba(95,37,121,.10); background:#fff; }
.category-image-card span, .event-builder-card span { display:block; color: var(--purple); font-weight:950; font-size:11px; text-transform:uppercase; letter-spacing:.08em; margin-bottom:5px; }
.category-image-card h3, .event-builder-card h3 { margin:0; color: var(--purple-950); line-height:1.05; }
.category-image-card p { margin:8px 0 0; color: var(--muted); font-size:13px; line-height:1.45; }
.event-builder-grid { display:grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap:16px; }
.event-builder-card h3 { font-family: var(--font-heading); font-size: clamp(22px, 2.4vw, 32px); }
.local-access-hub .purple-panel p { color: rgba(255,255,255,.80); }
.local-access-hub .mini-panel { min-height: 310px; }
.wide-resource-grid { grid-template-columns: repeat(auto-fit, minmax(310px, 1fr)) !important; align-items: stretch; }
.wide-resource-grid .payhip-resource-card { min-height: 0 !important; }
.wide-resource-grid .payhip-resource-card h2 { font-size: clamp(29px, 3vw, 42px); line-height: 1.02; overflow-wrap: anywhere; hyphens: auto; }
.wide-resource-grid .payhip-resource-card p:not(.tag) { font-size: 15px; line-height: 1.55; }
.wide-resource-grid .featured-resource-card { grid-column: span 2; background: linear-gradient(135deg,#fff,rgba(254,206,34,.16)); }
.resource-license-section .rich-copy { max-width: 780px; }
.spark-policy-list { margin: 16px 0; padding-left: 20px; color: var(--muted); line-height: 1.65; }
.spark-policy-list li { margin-bottom: 8px; }
.calendar-public-grid { display:grid; grid-template-columns: 1fr 1fr; gap:18px; padding-top: 32px; padding-bottom: 32px; }
.calendar-member-panel { padding-top: 24px; padding-bottom: 70px; }
.auth-step-callout { border:1px solid rgba(254,206,34,.8); background:linear-gradient(135deg, rgba(254,206,34,.22), rgba(255,255,255,.95)); border-radius:20px; padding:14px; margin: 14px 0; color: var(--purple-950); }
.checkbox-row { display:flex !important; gap:10px; align-items:flex-start; font-size: 13px; color: var(--muted); line-height:1.45; }
.checkbox-row input { width:auto !important; margin-top: 3px; accent-color: var(--purple); }
.learner-form textarea { min-height: 104px; }
.profile-list-item small { display:block; margin-top:5px; line-height:1.45; }
@media (max-width: 900px) {
  .category-image-grid, .event-builder-grid, .calendar-public-grid { grid-template-columns:1fr; }
  .category-image-card, .category-image-card.feature-card { grid-template-columns: 1fr; }
  .wide-resource-grid .featured-resource-card { grid-column: auto; }
}
@media (max-width: 520px) {
  .wide-resource-grid { grid-template-columns: 1fr !important; }
  .wide-resource-grid .payhip-resource-card h2 { font-size: clamp(26px, 12vw, 36px); }
}


/* v7.31 Devin/Nova mission values + local card polish */
.mission-values-section {
  display:block !important;
  margin-top:-28px;
  position:relative;
  z-index:3;
}
.mission-values-heading {
  max-width: 980px;
  background: linear-gradient(135deg, #fff, rgba(254,206,34,.13));
  border: 1px solid rgba(95,37,121,.12);
  border-radius: 28px;
  padding: clamp(22px, 3vw, 36px);
  box-shadow: var(--shadow-soft);
  margin: 0 auto 18px;
}
.mission-values-heading h2 {
  margin: 0 0 12px;
  color: var(--purple-950);
  font-family: var(--font-heading);
  font-size: clamp(34px, 4.5vw, 62px);
  line-height: .96;
}
.mission-values-heading p {
  color: var(--muted);
  margin: 10px 0 0;
  line-height: 1.65;
}
.mission-values-grid {
  display:grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap:14px;
}
.mission-values-grid article {
  background:#fff;
  border:1px solid var(--line);
  border-top:5px solid var(--gold-bright);
  border-radius:20px;
  padding:18px;
  box-shadow: var(--shadow-soft);
}
.mission-values-grid strong {
  display:block;
  color: var(--purple);
  font-size: 16px;
  margin-bottom: 7px;
}
.mission-values-grid span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}
.local-events-grid .event-builder-card img {
  object-position:center center;
}
.auth-step-callout.soft-callout {
  background: rgba(254,206,34,.13);
  border-style: solid;
  color: var(--purple-950);
}
@media (max-width: 980px) {
  .mission-values-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 620px) {
  .mission-values-section { margin-top: 18px; }
  .mission-values-grid { grid-template-columns: 1fr; }
  .mission-values-heading { padding: 20px; }
}


/* v7.33 Devin homepage polish: sparkles, mission block, and private-access cards */
.floating-doodles span:nth-child(2)::before,
.floating-doodles span:nth-child(3)::before,
.floating-doodles span:nth-child(4)::before,
.floating-doodles span:nth-child(5)::before,
.floating-doodles span:nth-child(6)::before { content: none; }
.floating-doodles span { text-shadow: 0 8px 20px rgba(254,206,34,.22); }
.living-world-card::after { content: "✧" !important; }
.mission-values-section {
  margin-top: -18px;
  padding-bottom: 20px;
}
.mission-values-heading {
  max-width: 1040px;
  color: var(--purple-950);
  background:
    radial-gradient(circle at 8% 8%, rgba(254,206,34,.30), transparent 24%),
    radial-gradient(circle at 95% 0%, rgba(154,78,163,.12), transparent 26%),
    linear-gradient(135deg, #ffffff, #fff9dd);
  border: 2px solid rgba(254,206,34,.50);
  box-shadow: 0 22px 54px rgba(95,37,121,.13);
  position: relative;
  overflow: hidden;
}
.mission-values-heading::before {
  content: "✦";
  position:absolute;
  right: 28px;
  top: 22px;
  color: var(--gold-bright);
  font-size: 30px;
  animation: twinkle 2.8s ease-in-out infinite;
}
.mission-values-heading::after {
  content: "✧";
  position:absolute;
  left: 26px;
  bottom: 20px;
  color: var(--purple-500);
  opacity:.45;
  font-size: 24px;
}
.mission-values-heading .eyebrow { color: var(--purple); }
.mission-values-heading p {
  color: var(--purple-950);
  opacity: .86;
  font-weight: 600;
}
.mission-values-grid article {
  border: 1px solid rgba(95,37,121,.14);
  border-top: 5px solid var(--gold-bright);
  box-shadow: 0 18px 40px rgba(95,37,121,.10);
}
.local-access-hub {
  padding-top: 10px;
  padding-bottom: 38px;
  background:
    radial-gradient(circle at 12% 10%, rgba(254,206,34,.22), transparent 24%),
    radial-gradient(circle at 88% 88%, rgba(154,78,163,.13), transparent 26%),
    #fff;
}
.local-access-hub .hub-grid { align-items: stretch; }
.local-access-hub .mini-panel {
  border: 2px solid rgba(254,206,34,.42);
  box-shadow: 0 22px 52px rgba(95,37,121,.13);
}
.local-access-hub .mini-panel:not(.purple-panel) {
  background:
    radial-gradient(circle at 10% 10%, rgba(254,206,34,.22), transparent 26%),
    #fff;
}
.local-access-hub .mini-panel:not(.purple-panel) h2,
.local-access-hub .mini-panel:not(.purple-panel) p { color: var(--purple-950); }
.local-access-hub .purple-panel {
  color: #fff;
  border-color: rgba(254,206,34,.55);
  background:
    radial-gradient(circle at 88% 18%, rgba(254,206,34,.34), transparent 28%),
    radial-gradient(circle at 0% 100%, rgba(251,150,52,.16), transparent 28%),
    linear-gradient(135deg, var(--purple), var(--purple-500));
}
.local-access-hub .purple-panel h2,
.local-access-hub .purple-panel p,
.local-access-hub .purple-panel .eyebrow { color: #fff !important; }
.local-access-hub .purple-panel p { opacity: .90; }
.local-access-hub .purple-panel .gold {
  background: var(--gold-bright);
  color: var(--purple);
  border-color: var(--gold-bright);
}
.local-magic-section { display: none !important; }
@media (max-width: 760px) {
  .mission-values-section { margin-top: 10px; }
  .local-access-hub { padding-top: 6px; }
}


/* === v7.35 simple, usable portal + resource and team polish === */
.simple-home-invitation { padding: 32px 0 72px; background: linear-gradient(135deg, rgba(254,206,34,.16), rgba(255,255,255,.95)); }
.simple-home-card { display:flex; align-items:center; justify-content:space-between; gap:28px; padding:clamp(24px,4vw,42px); border:1px solid rgba(95,37,121,.14); border-radius:30px; background:#fff; box-shadow:var(--shadow-soft); }
.simple-home-card h2 { margin:6px 0 10px; color:var(--purple-950); }
.simple-home-card p { max-width:680px; color:var(--muted); }
.resource-grid-simple { padding-top:34px; padding-bottom:48px; }
.resource-grid-simple .payhip-resource-card { min-height: 100% !important; }
.resource-grid-simple .resource-cta { display:flex !important; margin-top:16px !important; margin-bottom:2px; }
.resource-grid-simple .resource-cta .button { display:inline-flex !important; visibility:visible !important; opacity:1 !important; }
.resource-grid-simple .resource-card p:not(.tag) { margin-bottom:4px; }
.resource-grid-simple .resource-card h2 { font-size:clamp(26px,2.4vw,36px); }
.resource-grid-simple .featured-resource-card { grid-column:span 2; }
.resource-license-section { padding:0 0 76px; }
.team-hero { background: radial-gradient(circle at 90% 15%, rgba(254,206,34,.22), transparent 26%), linear-gradient(135deg,#fff,rgba(154,78,163,.08)); }
.team-grid-compact { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; padding:42px 0 76px; max-width:1080px; }
.team-card-compact { display:flex; flex-direction:column; overflow:hidden; border:1px solid rgba(95,37,121,.14); border-radius:26px; background:#fff; box-shadow:var(--shadow-soft); }
.team-photo { height:220px; background:linear-gradient(135deg,#fff5c7,#f4edf8); overflow:hidden; }
.team-photo img { width:100%; height:100%; object-fit:cover; object-position:center 28%; display:block; }
.team-photo-portrait img { object-fit:contain; object-position:center top; background:#f6f0e7; }
.team-card-copy { padding:20px 22px 22px; }
.team-card-copy h2 { margin:4px 0 10px; color:var(--purple-950); font-size:clamp(30px,3.4vw,44px); }
.team-card-copy > p { color:var(--muted); line-height:1.6; margin-bottom:12px; }
.team-card-copy details { border-top:1px solid var(--line); padding-top:12px; }
.team-card-copy summary { display:flex; align-items:center; min-height:44px; padding:.45rem 0; cursor:pointer; color:var(--purple); font-weight:900; }
.team-card-copy details p { color:var(--muted); line-height:1.55; font-size:14px; }
.portal-hero-simple { background:radial-gradient(circle at 86% 14%, rgba(254,206,34,.24), transparent 28%), linear-gradient(135deg,#fff,rgba(154,78,163,.08)); }
.portal-simplified-shell { padding:42px 0 76px; }
.portal-guest-flow, .portal-member-flow { display:block; }
.portal-member-flow[hidden], .portal-guest-flow[hidden], .payment-claim-panel[hidden] { display:none !important; }
.simple-flow-card, .portal-status-card, .portal-tool-card { background:#fff; border:1px solid rgba(95,37,121,.14); border-radius:26px; box-shadow:var(--shadow-soft); }
.simple-flow-card { max-width:920px; padding:clamp(24px,4vw,42px); }
.simple-flow-card h2 { margin:6px 0 12px; color:var(--purple-950); }
.portal-steps { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; padding:0; margin:22px 0; list-style:none; counter-reset:portal; }
.portal-steps li { counter-increment:portal; position:relative; padding:18px 14px 14px 50px; min-height:108px; background:linear-gradient(135deg,#fff,rgba(254,206,34,.12)); border:1px solid rgba(95,37,121,.12); border-radius:20px; }
.portal-steps li::before { content:counter(portal); position:absolute; left:15px; top:16px; width:24px; height:24px; border-radius:50%; display:grid; place-items:center; background:var(--gold-bright); color:var(--purple); font-weight:950; }
.portal-steps strong, .portal-steps span { display:block; }
.portal-steps strong { color:var(--purple-950); margin-bottom:5px; }
.portal-steps span { color:var(--muted); font-size:13px; line-height:1.45; }
.portal-status-grid { display:grid; grid-template-columns:1fr 1fr; gap:18px; margin-bottom:20px; }
.portal-status-card { padding:24px; }
.portal-status-card h2 { margin:6px 0 8px; color:var(--purple-950); }
.portal-status-card p:not(.eyebrow) { color:var(--muted); line-height:1.55; }
.purple-status-card { background:linear-gradient(135deg,var(--purple),var(--purple-500)); border-color:rgba(254,206,34,.6); }
.purple-status-card h2, .purple-status-card p { color:#fff !important; }
.portal-tool-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; margin-bottom:28px; }
.portal-tool-card { padding:20px; }
.portal-tool-card > span { display:block; color:var(--gold-bright); font-size:26px; margin-bottom:6px; }
.portal-tool-card h3 { margin:0 0 6px; color:var(--purple-950); }
.portal-tool-card p { min-height:48px; color:var(--muted); font-size:14px; line-height:1.45; }
.family-details-section { scroll-margin-top:100px; padding-top:20px; }
.family-details-section .section-heading { max-width:760px; margin-bottom:18px; }
.payment-claim-panel { margin:0 0 28px; }
.payment-claim-panel .mini-panel { padding:24px; }
.route-recovery { padding:84px 0; }
.route-recovery .mini-panel { max-width:760px; padding:32px; }
@media (max-width:900px){ .team-grid-compact,.portal-status-grid,.portal-tool-grid,.portal-steps { grid-template-columns:1fr; } .simple-home-card { flex-direction:column; align-items:flex-start; } .resource-grid-simple .featured-resource-card { grid-column:auto; } }
@media (max-width:640px){ .team-grid-compact { padding-top:26px; } .team-photo { height:200px; } .team-card-copy { padding:18px; } .portal-simplified-shell { padding-top:26px; } .simple-flow-card,.portal-status-card,.portal-tool-card { border-radius:20px; } .portal-steps li { min-height:auto; } .resource-grid-simple .resource-cta .button { width:100%; justify-content:center; } }


/* === v7.36 usability pass: restore compact resources + balanced team cards + one Family Portal === */
.resource-card-grid-restored { padding-top: 26px; }
.resource-card-grid-restored .resource-feature-card { min-height: 0; align-items: center; }
.resource-card-grid-restored .resource-feature-card img { object-fit: cover; }
.resource-card-grid-restored .resource-feature-card h2 { font-size: clamp(25px, 2.35vw, 34px); line-height: 1.08; margin: 5px 0 8px; }
.resource-card-grid-restored .resource-feature-card p:not(.eyebrow) { color: var(--muted); line-height: 1.55; margin-bottom: 14px; }
.resource-card-grid-restored .resource-feature-card .button { white-space: normal; text-align: center; }
.team-grid-balanced { max-width: 1040px; }
.team-grid-balanced .team-photo { height: 250px; display: grid; place-items: center; background: linear-gradient(135deg,#fff8dc,#f4edf8); }
.team-grid-balanced .team-photo img,
.team-grid-balanced .team-photo-portrait img { width: 100%; height: 100%; object-fit: contain; object-position: center; background: transparent; }
.team-grid-balanced .team-card-copy { padding: 18px 20px 20px; }
.team-grid-balanced .team-card-copy h2 { font-size: clamp(30px, 3vw, 40px); }
.team-grid-balanced .team-card-copy > p { min-height: auto; }
@media (max-width: 860px) {
  .team-grid-balanced .team-photo { height: 230px; }
  .resource-card-grid-restored .resource-feature-card { grid-template-columns: 142px 1fr; gap: 18px; }
  .resource-card-grid-restored .resource-feature-card img { height: 142px; }
}
@media (max-width: 560px) {
  .resource-card-grid-restored .resource-feature-card { grid-template-columns: 1fr; }
  .resource-card-grid-restored .resource-feature-card img { height: 210px; }
  .team-grid-balanced .team-photo { height: 250px; }
  .team-grid-balanced .team-card-copy { padding: 18px; }
}


/* === v7.37 compact placard restoration: resource art + team portraits ===
   Purpose: compact, readable cards without stretching, upscaling, or face cropping. */
.resource-placard-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: 26px 0 66px;
  align-items: stretch;
}
.resource-placard-grid .resource-feature-card {
  display: grid !important;
  grid-template-columns: 154px minmax(0, 1fr);
  gap: 16px;
  min-height: 186px;
  padding: 16px;
  align-items: center;
  border-radius: 24px;
  overflow: hidden;
}
.resource-placard-grid .resource-feature-card img {
  width: 154px;
  height: 116px;
  min-width: 0;
  object-fit: contain !important;
  object-position: center center !important;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 20px rgba(42,18,53,.09);
  margin: 0;
}
.resource-placard-grid .resource-feature-card h2 {
  margin: 4px 0 8px;
  font-size: clamp(23px, 2.1vw, 31px);
  line-height: 1.08;
}
.resource-placard-grid .resource-feature-card p:not(.eyebrow) {
  margin: 0 0 13px;
  font-size: 14px;
  line-height: 1.5;
}
.resource-placard-grid .resource-feature-card .button {
  max-width: 100%;
  white-space: normal;
  line-height: 1.2;
}

.team-placard-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 1080px;
  gap: 18px;
  padding: 36px 0 72px;
}
.team-placard-grid .team-card-placard {
  display: grid !important;
  grid-template-columns: 156px minmax(0, 1fr);
  min-height: 0;
  overflow: hidden;
  align-items: stretch;
}
.team-placard-grid .team-photo {
  width: auto;
  height: auto;
  min-height: 250px;
  padding: 10px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 35% 20%, rgba(254,206,34,.22), transparent 34%),
    linear-gradient(135deg,#fff9e5,#f6eef8);
}
.team-placard-grid .team-photo img,
.team-placard-grid .team-photo-portrait img,
.team-placard-grid .team-photo-stage img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center center !important;
  border-radius: 14px;
  background: transparent;
  display: block;
}
.team-placard-grid .team-card-copy {
  padding: 18px 18px 20px;
  min-width: 0;
}
.team-placard-grid .team-card-copy h2 {
  margin: 3px 0 9px;
  font-size: clamp(27px, 2.6vw, 38px);
  line-height: 1.03;
}
.team-placard-grid .team-card-copy > p {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.52;
}
.team-placard-grid .team-card-copy details {
  margin-top: 12px;
}

@media (max-width: 980px) {
  .resource-placard-grid,
  .team-placard-grid {
    grid-template-columns: 1fr;
  }
  .team-placard-grid .team-card-placard {
    grid-template-columns: 150px minmax(0, 1fr);
  }
  .team-placard-grid .team-photo {
    min-height: 220px;
  }
}
@media (max-width: 560px) {
  .resource-placard-grid {
    gap: 14px;
    padding-top: 18px;
  }
  .resource-placard-grid .resource-feature-card {
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 13px;
    min-height: 0;
    padding: 14px;
    border-radius: 20px;
  }
  .resource-placard-grid .resource-feature-card img {
    width: 112px;
    height: 84px;
    border-radius: 13px;
  }
  .resource-placard-grid .resource-feature-card h2 {
    font-size: clamp(20px, 6.3vw, 27px);
  }
  .resource-placard-grid .resource-feature-card p:not(.eyebrow) {
    font-size: 13px;
    margin-bottom: 10px;
  }
  .resource-placard-grid .resource-feature-card .button {
    width: 100%;
    justify-content: center;
    font-size: 12px;
  }
  .team-placard-grid {
    padding-top: 26px;
  }
  .team-placard-grid .team-card-placard {
    grid-template-columns: 108px minmax(0, 1fr);
    border-radius: 20px;
  }
  .team-placard-grid .team-photo {
    min-height: 164px;
    padding: 8px;
  }
  .team-placard-grid .team-card-copy {
    padding: 15px 14px 16px;
  }
  .team-placard-grid .team-card-copy h2 {
    font-size: clamp(24px, 8.5vw, 33px);
  }
  .team-placard-grid .team-card-copy > p {
    font-size: 13px;
  }
}

/* v7.39 — Team placards: identical photo canvases for Devin and Rosie. */
.team-placard-grid .team-card-placard {
  align-items: start;
}
.team-placard-grid .team-photo,
.team-placard-grid .team-photo-stage {
  width: 156px;
  height: 195px;
  min-height: 195px;
  max-height: 195px;
  align-self: start;
  padding: 0;
  overflow: hidden;
  border-radius: 0;
  background: linear-gradient(135deg,#fff8dc,#f4edf8);
}
.team-placard-grid .team-photo img,
.team-placard-grid .team-photo-stage img {
  width: 100% !important;
  height: 100% !important;
  min-width: 0;
  min-height: 0;
  object-fit: cover !important;
  object-position: center 18% !important;
  border-radius: 0;
  display: block;
}
@media (max-width: 980px) {
  .team-placard-grid .team-photo,
  .team-placard-grid .team-photo-stage {
    width: 150px;
    height: 188px;
    min-height: 188px;
    max-height: 188px;
  }
}
@media (max-width: 560px) {
  .team-placard-grid .team-card-placard {
    grid-template-columns: 108px minmax(0,1fr);
  }
  .team-placard-grid .team-photo,
  .team-placard-grid .team-photo-stage {
    width: 108px;
    height: 135px;
    min-height: 135px;
    max-height: 135px;
  }
}

/* === v7.40 clean-route visual polish ===
   Keeps Big Vision actions visually separate from the footer without touching workflow code. */
.big-vision-endcap {
  padding-bottom: 88px !important;
}
.big-vision-endcap .hero-actions {
  margin-top: 30px;
  padding-bottom: 8px;
}
@media (max-width: 640px) {
  .big-vision-endcap {
    padding-bottom: 72px !important;
  }
  .big-vision-endcap .hero-actions {
    margin-top: 24px;
    gap: 12px;
  }
}

/* === v7.41 Admin + Team workspace === */
.team-update-item { padding: 15px 0; border-bottom: 1px solid var(--line); display: grid; gap: 5px; }
.team-update-item:last-child { border-bottom: 0; }
.team-update-item strong { color: var(--purple-950); font-size: 15px; }
.team-update-item span { color: var(--muted); line-height: 1.55; }
.team-update-item small { color: var(--purple); font-weight: 800; }
.admin-subnav [hidden], [data-admin-only-link][hidden], [data-export-admin-only][hidden] { display: none !important; }
[data-team-only-panel][hidden], [data-team-comms-panel][hidden], [data-admin-comms-panel][hidden] { display: none !important; }
.admin-shell .notice-card { margin-bottom: 22px; }


/* === v7.41.3 stability recovery: auth confirmation + preview escape hatch === */
.curiospark-flash {
  position: fixed;
  top: 94px;
  left: 50%;
  z-index: 5000;
  width: min(520px, calc(100vw - 32px));
  padding: 14px 18px;
  border-radius: 18px;
  border: 2px solid rgba(254,206,34,.72);
  background: #fffdf5;
  color: var(--purple-950);
  box-shadow: 0 20px 48px rgba(42,18,53,.24);
  font-weight: 850;
  text-align: center;
  opacity: 0;
  transform: translate(-50%, -16px);
  pointer-events: none;
  transition: opacity .22s ease, transform .22s ease;
}
.curiospark-flash.show { opacity: 1; transform: translate(-50%, 0); }
.curiospark-flash-error { border-color: rgba(181,39,45,.55); background: #fff7f7; }
.curiospark-flash-warn { border-color: rgba(218,143,0,.60); background: #fffaf0; }
.admin-preview-controls { margin: 18px auto 0; }
.admin-preview-controls[hidden] { display: none !important; }
.admin-preview-actions { align-items: stretch; }
.nav-preview-recovery { background: linear-gradient(135deg, rgba(254,206,34,.96), #fff) !important; border-color: rgba(95,37,121,.32) !important; color: var(--purple) !important; font-weight: 950 !important; }
@media (max-width: 640px) { .curiospark-flash { top: 76px; } }


/* === v7.42 Foundation & Reliability === */
.auth-transition [data-logout], .auth-transition [data-password-signin-form] button[type="submit"], .auth-transition [data-password-signup-form] button[type="submit"] { opacity: .72; pointer-events: none; }
.curiospark-preview-banner { position: sticky; top: 0; z-index: 120; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px clamp(16px, 3vw, 42px); background: linear-gradient(90deg, #fff8d7, #fff); border-bottom: 1px solid rgba(95,37,121,.22); box-shadow: 0 8px 18px rgba(58,21,77,.08); color: var(--purple); }
.curiospark-preview-banner > div { display: grid; gap: 3px; }
.curiospark-preview-banner strong { font-weight: 900; }
.curiospark-preview-banner span { font-size: .9rem; color: #5b4661; }
[data-preview-role].preview-active { outline: 3px solid rgba(254,206,34,.55); transform: translateY(-1px); }
.admin-preview-controls { position: relative; z-index: 2; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 760px) { .curiospark-preview-banner { align-items: flex-start; flex-direction: column; padding: 12px 16px; } .curiospark-preview-banner .button { width: 100%; justify-content: center; } }


/* === v7.43 Real Family Registration + Payhip Validation === */
.v743-portal-shell, .v743-registration-shell { padding: 44px 0 84px; }
.v743-auth-gate, .v743-live-status, .v743-registration-form, .v743-stepper, .v743-form-notice, .v743-portal-explainer article, .v743-privacy-note { background:#fff; border:1px solid rgba(95,37,121,.15); box-shadow:var(--shadow-soft); border-radius:24px; }
.v743-auth-gate { padding:32px; max-width:760px; margin:0 auto; text-align:center; }
.v743-auth-gate h2 { color:var(--purple-950); margin:5px 0 10px; }
.v743-auth-gate p { color:var(--muted); max-width:580px; margin:0 auto 20px; }
.v743-live-status { padding:30px; }
.v743-status-heading { display:flex; gap:20px; justify-content:space-between; align-items:flex-start; margin-bottom:18px; }
.v743-status-heading h2 { margin:4px 0 0; color:var(--purple-950); }
.v743-save-state { color:var(--muted); font-size:13px; font-weight:800; max-width:270px; text-align:right; }
.v743-status-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; }
.v743-status-card { border:1px solid rgba(95,37,121,.13); border-radius:18px; padding:18px; background:linear-gradient(135deg,#fff,rgba(254,206,34,.08)); }
.v743-status-kicker { display:block; color:var(--purple); font-size:10px; font-weight:950; letter-spacing:.09em; text-transform:uppercase; margin-bottom:8px; }
.v743-status-card strong, .v743-payment-mini strong, .v743-payment-panel strong { display:block; color:var(--purple-950); font-size:18px; line-height:1.22; }
.v743-status-card p, .v743-payment-panel p { color:var(--muted); font-size:13px; line-height:1.48; margin:8px 0 0; }
.v743-primary-actions, .v743-form-actions, .v743-submit-actions, .button-row { display:flex; gap:10px; flex-wrap:wrap; align-items:center; }
.v743-primary-actions { margin-top:22px; }
.v743-portal-explainer { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; margin-top:22px; }
.v743-portal-explainer article { padding:22px; }
.v743-portal-explainer article > span { display:grid; place-items:center; width:32px; height:32px; border-radius:50%; background:var(--gold-bright); color:var(--purple-950); font-weight:950; margin-bottom:12px; }
.v743-portal-explainer h3 { margin:0 0 8px; color:var(--purple-950); }
.v743-portal-explainer p { margin:0; color:var(--muted); line-height:1.5; font-size:14px; }
.v743-privacy-note { margin-top:22px; padding:16px 18px; color:var(--purple-950); background:rgba(254,206,34,.12); }
.v743-registration-layout { display:grid; grid-template-columns:240px minmax(0,1fr); gap:22px; align-items:start; }
.v743-stepper { position:sticky; top:18px; padding:20px; }
.v743-stepper ol { list-style:none; padding:0; margin:14px 0 22px; display:grid; gap:9px; }
.v743-stepper li { display:flex; gap:9px; align-items:center; color:var(--muted); font-size:13px; font-weight:850; }
.v743-stepper li span { display:grid; place-items:center; width:24px; height:24px; border-radius:50%; border:1px solid rgba(95,37,121,.2); background:#fff; color:var(--purple); font-size:11px; }
.v743-stepper li.active { color:var(--purple-950); }
.v743-stepper li.active span, .v743-stepper li.complete span { background:var(--purple); color:#fff; border-color:var(--purple); }
.v743-payment-mini { padding:14px; border-radius:16px; background:rgba(254,206,34,.15); margin-bottom:16px; }
.v743-payment-mini > span { display:block; color:var(--purple); font-size:10px; font-weight:950; letter-spacing:.08em; text-transform:uppercase; margin-bottom:4px; }
.v743-payment-mini strong { font-size:14px; }
.v743-form-notice { padding:14px 17px; margin-bottom:16px; font-weight:800; color:var(--purple-950); }
.v743-form-notice.is-good, .v743-save-state.is-good { color:#1e6d4b; }
.v743-form-notice.is-warn, .v743-save-state.is-warn { color:#8a5900; }
.v743-form-notice.is-error, .v743-save-state.is-error { color:#9b2c1f; }
.v743-registration-form { padding:30px; }
.v743-form-step:focus { outline:none; }
.v743-step-heading h2 { color:var(--purple-950); margin:4px 0 8px; }
.v743-step-heading p:not(.eyebrow) { color:var(--muted); margin-top:0; line-height:1.5; }
.v743-field-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:15px; margin-top:20px; }
.v743-field-grid label, .v743-extra-notes { display:grid; gap:7px; color:var(--purple-950); font-size:13px; font-weight:850; }
.v743-field-grid input, .v743-field-grid textarea, .v743-field-grid select, .v743-extra-notes textarea { width:100%; box-sizing:border-box; border:1px solid rgba(95,37,121,.22); background:#fff; border-radius:13px; min-height:44px; padding:10px 12px; color:var(--ink); font:inherit; font-weight:600; }
.v743-field-grid textarea, .v743-extra-notes textarea { min-height:88px; resize:vertical; }
.v743-field-grid input:focus, .v743-field-grid textarea:focus, .v743-field-grid select:focus, .v743-extra-notes textarea:focus { outline:3px solid rgba(254,206,34,.38); border-color:var(--purple); }
.v743-field-grid .full-span, .full-span { grid-column:1 / -1; }
.v743-checkbox-label { display:flex !important; align-items:flex-start; gap:9px; line-height:1.45; padding-top:3px; }
.v743-checkbox-label input { width:18px; min-height:18px; margin:1px 0 0; flex:0 0 auto; }
.v743-optional { color:var(--muted); font-weight:700; }
.v743-form-actions { justify-content:space-between; margin-top:26px; padding-top:20px; border-top:1px solid rgba(95,37,121,.13); }
.v743-form-actions > span { min-width:1px; }
.v743-dynamic-list { display:grid; gap:16px; margin:20px 0 14px; }
.v743-dynamic-card { background:rgba(154,78,163,.055); border:1px solid rgba(95,37,121,.15); border-radius:18px; padding:20px; }
.v743-dynamic-card-head { display:flex; justify-content:space-between; gap:14px; align-items:start; }
.v743-dynamic-card-head h3 { margin:0; color:var(--purple-950); font-size:18px; }
.v743-remove-link { border:0; background:transparent; color:#9b2c1f; font:inherit; font-size:12px; font-weight:900; text-decoration:underline; cursor:pointer; padding:4px; }
.v743-extra-notes { margin-top:20px; }
.v743-payment-panel { display:flex; align-items:center; justify-content:space-between; gap:20px; padding:20px; border:1px solid rgba(254,206,34,.75); border-radius:18px; background:linear-gradient(135deg,rgba(254,206,34,.15),#fff); margin-top:20px; }
.v743-payment-claim { margin:17px 0; padding:17px; border-radius:18px; border:1px solid rgba(95,37,121,.14); background:#fff; }
.v743-payment-claim [data-v743-claim-fields] { margin-top:14px; }
.v743-checklist { display:grid; gap:12px; margin-top:20px; }
.v743-checklist label { display:flex; align-items:flex-start; gap:10px; color:var(--purple-950); font-size:14px; line-height:1.47; font-weight:750; }
.v743-checklist input { width:18px; height:18px; flex:0 0 auto; margin-top:2px; }
.v743-interest-options { display:flex; flex-wrap:wrap; gap:9px; margin-top:8px; }
.v743-interest-options label { display:flex; align-items:center; gap:6px; padding:8px 10px; border:1px solid rgba(95,37,121,.16); border-radius:999px; background:#fff; font-size:12px; color:var(--purple-950); font-weight:750; }
.v743-review-card { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; margin-top:20px; }
.v743-review-card > div { border:1px solid rgba(95,37,121,.13); background:rgba(154,78,163,.05); border-radius:18px; padding:18px; }
.v743-review-card strong { display:block; color:var(--purple-950); font-size:17px; }
.v743-review-card p { color:var(--muted); font-size:13px; line-height:1.45; margin:7px 0 0; }
@media (max-width: 900px) { .v743-status-grid, .v743-portal-explainer, .v743-review-card { grid-template-columns:1fr; } .v743-registration-layout { grid-template-columns:1fr; } .v743-stepper { position:static; } .v743-stepper ol { grid-template-columns:repeat(5,minmax(0,1fr)); gap:5px; } .v743-stepper li { font-size:0; justify-content:center; } .v743-stepper li span { font-size:11px; } }
@media (max-width: 640px) { .v743-portal-shell, .v743-registration-shell { padding:28px 0 54px; } .v743-live-status, .v743-registration-form, .v743-stepper, .v743-auth-gate { padding:20px; border-radius:20px; } .v743-status-heading, .v743-payment-panel { align-items:flex-start; flex-direction:column; } .v743-save-state { text-align:left; } .v743-field-grid { grid-template-columns:1fr; } .v743-field-grid .full-span, .full-span { grid-column:auto; } .v743-form-actions { align-items:stretch; flex-direction:column-reverse; } .v743-form-actions .button, .v743-submit-actions .button, .v743-payment-panel .button { width:100%; justify-content:center; } .v743-submit-actions { width:100%; } .v743-dynamic-card { padding:16px; } }


/* v7.44 — Invitation, email, and approval operations */
.v744-notice { margin: 1rem 0; padding: .85rem 1rem; border: 1px solid rgba(95,37,121,.18); border-radius: 14px; background: #fffdf7; color: #4a2762; font-weight: 700; }
.v744-notice.good { background: #effbf1; border-color: #8fcca1; color: #195d2b; }
.v744-notice.warn { background: #fff8e3; border-color: #f3c64f; color: #76550b; }
.v744-notice.error { background: #fff1f3; border-color: #e49aa4; color: #8a2433; }
.v744-config { margin: 0; padding: .85rem 1rem; border-radius: 14px; background: #f7f3fb; color: #4a2762; font-weight: 700; }
.v744-config.good { background: #effbf1; color: #195d2b; }
.v744-config.warn { background: #fff8e3; color: #76550b; }
.v744-steps { margin: 1rem 0 0; padding-left: 1.2rem; display: grid; gap: .7rem; color: #4d3c57; }
.v744-review-list { display: grid; gap: 1rem; }
.v744-review-card { display: grid; grid-template-columns: minmax(0, 1fr); gap: .85rem; padding: 1.1rem; border: 1px solid rgba(95,37,121,.16); border-radius: 18px; background: #fffdfa; }
.v744-review-card h3 { margin: .15rem 0 .35rem; }
.v744-review-card p { margin: .25rem 0; }
.v744-review-card textarea { min-height: 82px; }
.v744-review-card .admin-actions { display: flex; flex-wrap: wrap; gap: .55rem; }
@media (min-width: 780px) { .v744-review-card { grid-template-columns: minmax(0, 1fr) minmax(260px, .8fr); align-items: start; } .v744-review-card .admin-actions { grid-column: 1 / -1; } }


/* === CurioSpark v7.45 Program Management === */
.v745-notice { margin: 1rem 0; padding: .85rem 1rem; border-radius: .75rem; font-weight: 700; }
.v745-notice.info { background: #f6f0fc; color: #432060; }
.v745-notice.good { background: #edf8ef; color: #1e6531; }
.v745-notice.warn { background: #fff7df; color: #735111; }
.v745-notice.error { background: #fff0f0; color: #912c36; }
.v745-form { display: grid; gap: 1rem; }
.v745-field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem; }
.v745-field-grid label, .v745-form > label { display: grid; gap: .35rem; font-weight: 700; color: #4f286f; }
.v745-field-grid input, .v745-field-grid select, .v745-field-grid textarea, .v745-form > label input, .v745-form > label select, .v745-form > label textarea, .v745-inline-label select { width: 100%; }
.v745-field-grid textarea, .v745-form textarea { min-height: 82px; resize: vertical; }
.v745-field-grid .full-span { grid-column: 1 / -1; }
.v745-check { display: flex !important; align-items: center; gap: .55rem !important; font-weight: 600 !important; }
.v745-check input { width: auto !important; }
.v745-inline-label { display: grid; gap: .35rem; font-weight: 700; color: #4f286f; }
@media (max-width: 760px) { .v745-field-grid { grid-template-columns: 1fr; } .v745-field-grid .full-span { grid-column: auto; } .admin-topbar .admin-actions { align-items: stretch; } .v745-inline-label { width: 100%; } }

/* === v7.46 Visual + Mobile Polish ===
   Presentation-only overlay: no role, auth, API, database, or workflow behavior is changed here. */
:root {
  --cs-focus-ring: rgba(254, 206, 34, .64);
  --cs-admin-surface: rgba(255, 255, 255, .92);
  --cs-admin-border: rgba(95, 37, 121, .14);
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

::selection {
  color: var(--purple-950);
  background: rgba(254, 206, 34, .48);
}

:where(a, button, input, select, textarea, summary):focus-visible {
  outline: 3px solid var(--cs-focus-ring);
  outline-offset: 3px;
}

button,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}

button:not(:disabled),
select:not(:disabled),
input[type="checkbox"]:not(:disabled),
input[type="radio"]:not(:disabled) {
  cursor: pointer;
}

button:disabled,
input:disabled,
select:disabled,
textarea:disabled {
  cursor: not-allowed;
}

.site-header {
  box-shadow: 0 5px 18px rgba(42, 18, 53, .045);
}

.page-hero.compact-page-hero {
  padding-bottom: 36px;
}

.admin-shell {
  padding-bottom: 72px;
}

.admin-subnav {
  position: relative;
  margin: 0 0 24px;
  padding: 8px;
  border: 1px solid var(--cs-admin-border);
  border-radius: 20px;
  background: var(--cs-admin-surface);
  box-shadow: 0 12px 28px rgba(42, 18, 53, .07);
}

.admin-subnav a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 12px;
  border: 1px solid transparent;
  font-weight: 850;
}

.admin-subnav a:hover,
.admin-subnav a:focus-visible {
  border-color: rgba(95, 37, 121, .20);
}

.admin-topbar,
.admin-card,
.notice-card,
.v743-auth-gate,
.v743-live-status,
.v743-registration-form,
.v743-stepper {
  border-color: var(--cs-admin-border);
}

.admin-topbar,
.admin-card,
.notice-card {
  box-shadow: 0 14px 30px rgba(42, 18, 53, .075);
}

.admin-card-heading h2,
.admin-topbar h2 {
  text-wrap: balance;
}

.admin-actions .button,
.v743-primary-actions .button,
.v743-form-actions .button,
.v743-submit-actions .button,
.button-row .button {
  min-height: 44px;
}

.admin-form-grid input,
.admin-form-grid select,
.admin-form-grid textarea,
.v745-field-grid input,
.v745-field-grid select,
.v745-field-grid textarea,
.v745-form > label input,
.v745-form > label select,
.v745-form > label textarea,
.v745-inline-label select {
  border: 1px solid rgba(95, 37, 121, .20);
  border-radius: 13px;
  background: #fff;
  color: var(--ink);
  min-height: 46px;
  padding: 10px 12px;
  box-shadow: inset 0 1px 0 rgba(42, 18, 53, .02);
}

.admin-form-grid textarea,
.v745-field-grid textarea,
.v745-form > label textarea {
  min-height: 98px;
}

.admin-form-grid input:focus,
.admin-form-grid select:focus,
.admin-form-grid textarea:focus,
.v745-field-grid input:focus,
.v745-field-grid select:focus,
.v745-field-grid textarea:focus,
.v745-form > label input:focus,
.v745-form > label select:focus,
.v745-form > label textarea:focus,
.v745-inline-label select:focus {
  border-color: var(--purple);
  outline: 3px solid rgba(254, 206, 34, .34);
}

.table-wrap,
.mobile-table-wrap {
  position: relative;
  border: 1px solid rgba(95, 37, 121, .12);
  border-radius: 16px;
  background: #fff;
  scrollbar-color: rgba(95, 37, 121, .42) rgba(95, 37, 121, .06);
  scrollbar-width: thin;
}

.table-wrap::-webkit-scrollbar,
.mobile-table-wrap::-webkit-scrollbar {
  height: 10px;
}

.table-wrap::-webkit-scrollbar-track,
.mobile-table-wrap::-webkit-scrollbar-track {
  background: rgba(95, 37, 121, .06);
  border-radius: 999px;
}

.table-wrap::-webkit-scrollbar-thumb,
.mobile-table-wrap::-webkit-scrollbar-thumb {
  background: rgba(95, 37, 121, .40);
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, .96);
}

.cs-table-scroll-hint {
  display: none;
  margin: 0 0 8px;
  color: var(--purple);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .03em;
}

.cs-table-scroll-hint::before {
  content: "↔";
  display: inline-block;
  margin-right: 6px;
  color: var(--gold);
  font-size: 15px;
  line-height: 0;
}

.cs-table-scroll-hint.is-dim {
  opacity: .48;
}

.cs-back-to-top {
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 45;
  min-width: 46px;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 999px;
  background: var(--purple);
  color: #fff;
  box-shadow: 0 14px 30px rgba(42, 18, 53, .25);
  font: 900 12px/1 var(--sans);
  letter-spacing: .02em;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity .18s ease, transform .18s ease, background .18s ease;
}

.cs-back-to-top:hover,
.cs-back-to-top:focus-visible {
  background: var(--purple-800);
}

.cs-back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

@media (max-width: 820px) {
  .page-hero.compact-page-hero {
    padding-top: 38px;
    padding-bottom: 25px;
  }

  .admin-shell {
    padding-bottom: 58px;
  }

  .admin-subnav {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    width: calc(100% + 4px);
    margin-left: -2px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-padding-inline: 8px;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
  }

  .admin-subnav a {
    flex: 0 0 auto;
    white-space: nowrap;
    scroll-snap-align: start;
  }

  .admin-topbar,
  .admin-card,
  .notice-card {
    padding: 21px;
  }

  .admin-topbar h2 {
    font-size: clamp(27px, 7vw, 36px);
  }

  .admin-card-heading h2 {
    font-size: clamp(23px, 6.6vw, 30px);
  }

  .cs-table-scroll-hint {
    display: block;
  }

  .table-wrap,
  .mobile-table-wrap {
    border-radius: 14px;
  }
}

@media (max-width: 640px) {
  body {
    line-height: 1.56;
  }

  .site-header {
    top: 0;
  }

  .nav-links.open {
    overscroll-behavior: contain;
    box-shadow: 0 24px 58px rgba(42, 18, 53, .22);
  }

  .page-hero.compact-page-hero h1 {
    font-size: clamp(32px, 11vw, 43px);
  }

  .admin-subnav {
    margin-bottom: 18px;
    padding: 7px;
    border-radius: 17px;
  }

  .admin-subnav a {
    min-height: 42px;
    padding-inline: 11px;
    border-radius: 13px;
    font-size: 12px;
  }

  .admin-topbar,
  .admin-card,
  .notice-card {
    padding: 18px;
    border-radius: 19px;
  }

  .admin-topbar p,
  .admin-card p,
  .small-muted {
    overflow-wrap: anywhere;
  }

  .admin-actions,
  .v743-primary-actions,
  .v743-form-actions,
  .v743-submit-actions,
  .button-row {
    gap: 9px;
  }

  .admin-actions .button,
  .v743-primary-actions .button,
  .v743-form-actions .button,
  .v743-submit-actions .button,
  .button-row .button {
    width: 100%;
    justify-content: center;
  }

  .v745-field-grid,
  .admin-form-grid {
    gap: 13px;
  }

  .v745-field-grid label,
  .v745-form > label,
  .admin-form-grid label {
    gap: 6px;
  }

  .admin-table,
  .data-table {
    min-width: 640px;
  }

  .curiospark-flash {
    top: max(76px, calc(env(safe-area-inset-top) + 64px));
    width: min(100vw - 22px, 520px);
    padding: 13px 15px;
    border-radius: 16px;
    font-size: 13px;
  }

  .cs-back-to-top {
    right: max(12px, env(safe-area-inset-right));
    bottom: max(12px, env(safe-area-inset-bottom));
  }
}

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


/* v7.47 - Big Vision visual map, Austin program checkout, and July/August calendar */
.big-vision-page { background: linear-gradient(180deg, #fffefb 0%, #fff 56%, #f8f2ff 100%); }
.big-vision-hero { position: relative; overflow: hidden; padding: clamp(4.5rem, 11vw, 8rem) 0 clamp(3.5rem, 7vw, 5.5rem); background: radial-gradient(circle at 18% 20%, rgba(255, 204, 79, .28), transparent 30%), radial-gradient(circle at 86% 12%, rgba(183, 126, 255, .2), transparent 28%), #fff; }
.big-vision-hero:before, .big-vision-hero:after { content: ''; position: absolute; border: 2px dotted rgba(95,37,121,.22); border-radius: 999px; pointer-events: none; }
.big-vision-hero:before { width: 27rem; height: 10rem; left: -8rem; bottom: -2rem; transform: rotate(12deg); }
.big-vision-hero:after { width: 20rem; height: 8rem; right: -4rem; top: 3rem; transform: rotate(-17deg); }
.big-vision-hero-inner { position: relative; max-width: 850px; text-align: center; }
.big-vision-hero h1 { margin: .55rem auto 1rem; max-width: 820px; font-size: clamp(2.75rem, 7vw, 5.85rem); line-height: .97; color: #40145c; }
.big-vision-hero p:not(.eyebrow) { max-width: 620px; margin: 0 auto; color: #674e73; font-size: clamp(1rem, 2vw, 1.26rem); font-weight: 700; }
.big-vision-hero .hero-actions { justify-content: center; margin-top: 1.75rem; }
.vision-star, .vision-spark { position: absolute; z-index: 1; pointer-events: none; filter: drop-shadow(0 8px 14px rgba(95,37,121,.16)); }
.vision-star { color: #ffbd17; font-size: clamp(2rem, 5vw, 4.4rem); }
.vision-star-one { left: 8%; top: 21%; }.vision-star-two { right: 9%; bottom: 16%; color: #8a42d6; }.vision-spark { right: 20%; top: 14%; font-size: clamp(2.2rem,4vw,3.5rem); }
.vision-graphic-section { padding: clamp(4.25rem, 8vw, 7rem) 0; text-align: center; }
.vision-heading { max-width: 810px; margin: 0 auto 1.5rem; text-align: center; }
.vision-heading h2 { color: #451366; margin: .25rem auto .65rem; font-size: clamp(2.05rem, 4vw, 3.7rem); line-height: 1.03; }
.vision-heading p { margin: 0 auto; color: #6f5b76; font-size: 1.05rem; }
.vision-graphic-frame { max-width: 1050px; margin: 1.4rem auto 1.4rem; border-radius: 2rem; overflow: hidden; background: #fff; box-shadow: 0 25px 65px rgba(59,15,86,.13); border: 1px solid rgba(95,37,121,.1); }
.vision-graphic-frame img { width: 100%; display: block; height: auto; }
.vision-short-line { color: #49136b; font-size: clamp(1.25rem, 2.5vw, 1.8rem); font-weight: 800; margin: 1rem auto .35rem; }
.vision-caption { color: #79637e; max-width: 590px; margin: 0 auto; }
.vision-big-question { padding-top: 4rem; }
.vision-pathways { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: .8rem; max-width: 980px; margin: 1.5rem auto; }
.vision-pathways span, .vision-audience-grid span { display: flex; align-items: center; justify-content: center; gap: .45rem; padding: .85rem .75rem; border: 1px solid rgba(95,37,121,.14); background: linear-gradient(135deg, #fff, #f7edff); color: #4d196d; border-radius: 1.15rem; font-weight: 800; min-height: 3.1rem; }
.vision-banner { max-width: 960px; margin: 1.25rem auto 0; padding: 1rem 1.25rem; border-radius: 999px; background: #4f126e; color: #fff; font-weight: 900; font-size: clamp(1rem,2vw,1.28rem); }
.vision-cards-section { padding: clamp(4.25rem,7vw,6rem) 0; }
.vision-card-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1rem; }
.vision-card-grid article { padding: 1.4rem; border-radius: 1.45rem; background: #fff; box-shadow: 0 15px 34px rgba(69, 19, 102, .08); border: 1px solid rgba(93,34,122,.1); }
.vision-card-grid article:nth-child(2n) { background: #fff9e8; }.vision-card-grid article:nth-child(3n) { background: #f7efff; }
.vision-card-grid span { display: block; font-size: 2.05rem; }.vision-card-grid h3 { color:#4c176a; margin:.6rem 0 .3rem; font-size:1.2rem; }.vision-card-grid p { margin:0; color:#6a5970; }
.vision-audience-grid { display:grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap:.8rem; max-width:1000px; margin:1.25rem auto 1rem; }
.vision-cta { padding: clamp(4rem,8vw,6.5rem) 0; margin-top: 2rem; color:#fff; text-align:center; background: radial-gradient(circle at 12% 14%, rgba(255,196,31,.5), transparent 21%), radial-gradient(circle at 90% 0%, rgba(172,97,255,.44), transparent 24%), #4c126d; }
.vision-cta h2 { font-size:clamp(2.3rem,5vw,4.4rem); margin:.25rem 0 .75rem; color:#fff; }.vision-cta p:not(.eyebrow) { max-width:700px; margin:0 auto; color:#fff5d7; font-size:1.1rem; }.vision-cta .hero-actions { justify-content:center; margin-top:1.5rem; }.light-button { border-color:rgba(255,255,255,.7) !important; color:#fff !important; }

.programs-marketplace-hero, .calendar-hero { padding: clamp(4rem,8vw,6rem) 0; background: radial-gradient(circle at 15% 10%, rgba(254,190,29,.27), transparent 23%), radial-gradient(circle at 90% 12%, rgba(173,97,255,.2), transparent 25%), #fff; }
.programs-marketplace-hero-grid { display:grid; grid-template-columns: minmax(0,1.4fr) minmax(280px,.75fr); gap:2rem; align-items:center; }.programs-marketplace-hero h1, .calendar-hero h1 { color:#451366; font-size:clamp(2.55rem,5vw,4.75rem); line-height:1; max-width:760px; margin:.45rem 0 .9rem; }.programs-marketplace-hero p, .calendar-hero p { max-width:730px; color:#69526f; }
.programs-checkout-status { padding:1.35rem; border-radius:1.5rem; background:#fff; border:1px solid rgba(95,37,121,.15); box-shadow:0 18px 38px rgba(69,19,102,.1); display:grid; gap:.4rem; }.programs-checkout-status strong { color:#4b176c; font-size:1.15rem; }.programs-checkout-status span { color:#715f75; }.programs-checkout-status.good { background:#f3fff7; border-color:#8ecdaa; }.programs-checkout-status.warn { background:#fffbef; border-color:#f0c758; }.programs-checkout-status.error { background:#fff3f3; border-color:#e39b9b; }
.program-flow-section { padding: 2rem 0 1rem; }.program-flow { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:.8rem; }.program-flow article { position:relative; background:#fff; border:1px solid rgba(95,37,121,.1); border-radius:1.2rem; padding:1rem; }.program-flow article:after { content:'→'; position:absolute; right:-.58rem; top:50%; transform:translateY(-50%); color:#e5a21c; font-size:1.5rem; z-index:1; }.program-flow article:last-child:after { display:none; }.program-flow span { display:inline-flex; align-items:center; justify-content:center; width:1.8rem; height:1.8rem; background:#562078; color:#fff; border-radius:99px; font-weight:900; }.program-flow h2 { color:#4b176c; font-size:1.12rem; margin:.65rem 0 .25rem; }.program-flow p { color:#6c5e70; margin:0; font-size:.93rem; }
.programs-list-section { padding:clamp(3.3rem,7vw,5.5rem) 0; }.program-marketplace-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1.4rem; }.program-market-card { display:flex; flex-direction:column; background:#fff; border:1px solid rgba(95,37,121,.13); border-radius:1.7rem; padding:clamp(1.35rem,3vw,2rem); box-shadow:0 20px 45px rgba(62,12,93,.09); }.program-market-card h2 { color:#481469; font-size:clamp(1.7rem,3vw,2.25rem); line-height:1.05; margin:.95rem 0 .35rem; }.program-card-topline { display:flex; gap:.65rem; justify-content:space-between; align-items:center; }.program-date-chip { display:inline-block; background:#f4eaff; color:#5e2579; border-radius:999px; padding:.4rem .68rem; font-weight:900; font-size:.82rem; }.program-price { color:#be7d00; font-weight:900; }.program-age { color:#7f6986; font-weight:700; margin:.2rem 0 .75rem; }.program-market-card > p:not(.program-age):not(.program-location-note) { color:#654f6b; }.program-date-list { margin:.8rem 0; padding:0; list-style:none; display:grid; gap:.45rem; }.program-date-list li { padding:.55rem .65rem; border-radius:.7rem; background:#fbf6ff; color:#4e2368; }.program-location-note { border-top:1px solid rgba(95,37,121,.1); padding-top:.8rem; color:#726478; font-size:.92rem; }.program-card-actions { display:flex; flex-wrap:wrap; gap:.85rem; align-items:center; margin-top:auto; padding-top:.75rem; }.program-card-actions .button[disabled] { opacity:.7; cursor:not-allowed; }.text-link { color:#5f2579; font-weight:800; text-decoration:underline; }
.program-payment-note { padding:1.5rem; border-radius:1.7rem; background:linear-gradient(135deg,#fff5cf,#f8ecff); border:1px solid rgba(95,37,121,.1); display:flex; justify-content:space-between; gap:1.3rem; align-items:center; }.program-payment-note h2 { color:#4b176c; margin:.35rem 0; }.program-payment-note p { color:#654f6b; max-width:720px; margin:0; }.public-location-note { margin:3rem auto; padding:1rem 1.2rem; background:#fff; border:1px solid rgba(95,37,121,.11); border-radius:1rem; color:#66576b; }
.calendar-hero { text-align:center; }.calendar-hero .shell { max-width:850px; }.calendar-hero .hero-actions { justify-content:center; }.summer-calendar-section { padding:clamp(3.5rem,7vw,5.5rem) 0; display:grid; gap:2.5rem; }.calendar-month { background:#fff; border:1px solid rgba(95,37,121,.12); border-radius:1.6rem; overflow:hidden; box-shadow:0 16px 38px rgba(69,19,102,.08); }.calendar-month-heading { padding:1.35rem 1.5rem; background:linear-gradient(135deg,#f8edff,#fff8e6); }.calendar-month-heading h2 { color:#4b176c; margin:.2rem 0; }.calendar-month-heading span { color:#705f75; }.calendar-date-cards { padding:1rem; display:grid; gap:.75rem; }.calendar-date-cards article { display:grid; grid-template-columns:86px minmax(0,1fr); gap:1rem; align-items:center; padding:1rem; border-radius:1rem; background:#fcf9ff; }.calendar-date-cards time { display:flex; flex-direction:column; align-items:center; justify-content:center; min-height:70px; border-radius:1rem; color:#fff; background:#542075; line-height:1; }.calendar-date-cards time strong { font-size:1.8rem; }.calendar-date-cards time span { font-size:.75rem; text-transform:uppercase; letter-spacing:.08em; margin-top:.3rem; }.calendar-date-cards h3 { color:#4b176c; margin:0 0 .2rem; }.calendar-date-cards p { color:#695d70; margin:.2rem 0 .45rem; }.calendar-date-cards a { color:#5f2579; font-weight:800; }.calendar-season-card { background:#fff7da !important; }.calendar-note-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1.2rem; padding-bottom:4rem; }.calendar-note-grid article { padding:1.45rem; border-radius:1.4rem; border:1px solid rgba(95,37,121,.11); background:#fff; }.calendar-note-grid h2 { color:#4c176b; margin:.3rem 0 .6rem; }.calendar-note-grid p { color:#65566a; }
@media (max-width: 820px) { .vision-pathways, .vision-card-grid, .program-marketplace-grid, .calendar-note-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }.vision-audience-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }.programs-marketplace-hero-grid { grid-template-columns:1fr; }.program-flow { grid-template-columns:repeat(2,minmax(0,1fr)); }.program-flow article:nth-child(2):after { display:none; }.program-flow article:after { right:-.5rem; }.program-payment-note { flex-direction:column; align-items:flex-start; } }
@media (max-width: 560px) { .big-vision-hero { padding-top:4rem; }.vision-star-one { left:4%; top:8%; }.vision-star-two { right:4%; bottom:4%; }.vision-spark { right:7%; top:19%; }.vision-graphic-frame { border-radius:1.1rem; }.vision-pathways, .vision-card-grid, .vision-audience-grid, .program-marketplace-grid, .calendar-note-grid { grid-template-columns:1fr; }.vision-banner { border-radius:1rem; }.program-flow { grid-template-columns:1fr; }.program-flow article:after { display:none; }.program-card-topline { align-items:flex-start; flex-direction:column; }.calendar-date-cards article { grid-template-columns:70px minmax(0,1fr); gap:.7rem; }.calendar-date-cards time { min-height:64px; }.calendar-date-cards time strong { font-size:1.45rem; }.programs-marketplace-hero h1, .calendar-hero h1 { font-size:2.55rem; } }


/* v7.47.1 — Compact Big Vision + Team-facing copy cleanup
   Keeps the existing design system while bringing the vision graphics down to
   resource-card scale. No workflow, role, or API controls are changed here. */
.big-vision-page-compact .big-vision-hero {
  padding: clamp(3.4rem, 7vw, 5.25rem) 0 clamp(2.7rem, 5vw, 4.1rem);
}
.big-vision-page-compact .big-vision-hero h1 {
  max-width: 760px;
  font-size: clamp(2.55rem, 5.6vw, 4.45rem);
  line-height: 1;
}
.big-vision-page-compact .big-vision-hero .hero-actions { margin-top: 1.35rem; }
.big-vision-page-compact .vision-heading h2 { max-width: 760px; font-size: clamp(1.9rem, 3.6vw, 3.1rem); }
.big-vision-page-compact .vision-heading p { max-width: 610px; }
.vision-snapshot-section { padding: clamp(2.8rem, 6vw, 4.75rem) 0 1.25rem; }
.vision-snapshot-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.35rem;
  max-width: 1080px;
  margin: 1.6rem auto 0;
}
.vision-snapshot-card {
  display: flex;
  flex-direction: column;
  padding: 1.15rem;
  border: 1px solid rgba(95,37,121,.12);
  border-radius: 1.5rem;
  background: #fff;
  box-shadow: 0 16px 38px rgba(69,19,102,.08);
}
.vision-snapshot-card:nth-child(2) { background: #fffaf0; }
.vision-snapshot-copy { text-align: center; min-height: 5.85rem; }
.vision-snapshot-copy .eyebrow { margin-bottom: .25rem; }
.vision-snapshot-copy h3 { color: #4b176c; font-size: clamp(1.25rem, 2.15vw, 1.65rem); line-height: 1.08; margin: 0; }
.vision-snapshot-frame,
.vision-feature-frame {
  margin: .95rem auto .85rem;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(95,37,121,.10);
  box-shadow: 0 10px 24px rgba(59,15,86,.08);
}
.vision-snapshot-frame { width: min(100%, 490px); border-radius: 1.05rem; }
.vision-feature-frame { width: min(100%, 660px); border-radius: 1.2rem; }
.vision-snapshot-frame img,
.vision-feature-frame img { display: block; width: 100%; height: auto; }
.vision-snapshot-card > p { margin: auto 0 0; color: #5d4e63; font-weight: 750; text-align: center; line-height: 1.45; }
.vision-feature-section { padding: clamp(2.85rem, 5vw, 4.6rem) 0; }
.big-vision-page-compact .vision-banner { max-width: 690px; margin-top: 1rem; padding: .85rem 1.1rem; font-size: clamp(.98rem, 1.6vw, 1.16rem); }
.big-vision-page-compact .vision-cards-section { padding: clamp(2.9rem, 5vw, 4.6rem) 0; }
.vision-card-grid-compact { max-width: 940px; margin: 1.45rem auto 0; }
.big-vision-page-compact .vision-card-grid article { padding: 1.15rem 1.2rem; }
.big-vision-page-compact .vision-card-grid span { font-size: 1.7rem; }
.big-vision-page-compact .vision-card-grid h3 { margin: .35rem 0 .25rem; }
.big-vision-page-compact .vision-audience-grid { max-width: 950px; margin-top: 1.15rem; }
.big-vision-page-compact .vision-cta { padding: clamp(3.25rem, 6vw, 4.8rem) 0; margin-top: .5rem; }
.big-vision-page-compact .vision-cta h2 { font-size: clamp(2.15rem, 4.2vw, 3.55rem); }
@media (max-width: 760px) {
  .vision-snapshot-grid { grid-template-columns: 1fr; max-width: 570px; }
  .vision-snapshot-copy { min-height: auto; }
  .vision-snapshot-card { padding: 1rem; }
  .big-vision-page-compact .big-vision-hero { padding-top: 3.6rem; }
}


/* v7.47.6 Austin Programs visitor lock
   Default-deny on every page. JavaScript adds .cs-programs-nav-unlocked only
   after confirming a Member, Team, or Admin session/preview state. */
[data-nav-links] a[href="/programs"],
[data-nav-links] a[data-austin-programs-link="true"],
.site-footer a[href="/programs"],
.site-footer a[data-austin-programs-link="true"],
.footer-links a[href="/programs"],
.footer-links a[data-austin-programs-link="true"] {
  display: none !important;
}

html.cs-programs-nav-unlocked [data-nav-links] a[href="/programs"],
html.cs-programs-nav-unlocked [data-nav-links] a[data-austin-programs-link="true"] {
  display: inline-flex !important;
}

html.cs-programs-nav-unlocked .site-footer a[href="/programs"],
html.cs-programs-nav-unlocked .site-footer a[data-austin-programs-link="true"],
html.cs-programs-nav-unlocked .footer-links a[href="/programs"],
html.cs-programs-nav-unlocked .footer-links a[data-austin-programs-link="true"] {
  display: inline !important;
}

/* Preserve default-deny even if an earlier stylesheet sets a generic nav card display. */
[data-nav-links] a[href="/programs"][hidden],
[data-nav-links] a[data-austin-programs-link="true"][hidden],
.site-footer a[href="/programs"][hidden],
.site-footer a[data-austin-programs-link="true"][hidden] {
  display: none !important;
}


/* v7.47.9 — Community Builder Tools Resource Hub CTA hard fix
   Keeps the secondary action white, with permanently readable CurioSpark-purple text. */
.purple-panel .builder-resource-button,
.purple-panel .builder-resource-button:visited {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 48px;
  padding: 0 22px;
  border: 1.5px solid rgba(255,255,255,.92) !important;
  border-radius: 999px;
  background: #ffffff !important;
  background-image: none !important;
  color: #4b176c !important;
  -webkit-text-fill-color: #4b176c !important;
  font-weight: 900 !important;
  line-height: 1.2;
  text-decoration: none !important;
  opacity: 1 !important;
  visibility: visible !important;
  box-shadow: 0 12px 26px rgba(34, 7, 55, .20) !important;
}
.purple-panel .builder-resource-button:hover,
.purple-panel .builder-resource-button:focus-visible,
.purple-panel .builder-resource-button:active {
  border-color: #ffd21f !important;
  background: #fff5c9 !important;
  background-image: none !important;
  color: #4b176c !important;
  -webkit-text-fill-color: #4b176c !important;
  box-shadow: 0 15px 30px rgba(34, 7, 55, .28) !important;
}
.purple-panel .builder-resource-button::after {
  color: #4b176c !important;
}


/* v7.47.10 — Home CTA visibility + Big Vision visual scale cleanup
   This is intentionally bottom-loaded so it wins against older generic
   button, panel, and Big Vision rules that remain in the legacy stylesheet. */

/* Home: Community Builder Tools → Resource Hub must remain a readable white CTA. */
body .local-access-hub .purple-panel .hero-actions a.button.builder-resource-button,
body .local-access-hub .purple-panel .hero-actions a.button.builder-resource-button:visited {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 48px !important;
  padding: 0 22px !important;
  border: 1.5px solid rgba(255,255,255,.95) !important;
  border-radius: 999px !important;
  background: #ffffff !important;
  background-image: none !important;
  color: #4b176c !important;
  -webkit-text-fill-color: #4b176c !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  line-height: 1.2 !important;
  text-decoration: none !important;
  opacity: 1 !important;
  visibility: visible !important;
  box-shadow: 0 12px 26px rgba(34, 7, 55, .20) !important;
}
body .local-access-hub .purple-panel .hero-actions a.button.builder-resource-button .builder-resource-label {
  display: inline-block !important;
  color: #4b176c !important;
  -webkit-text-fill-color: #4b176c !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  line-height: 1.2 !important;
  letter-spacing: 0 !important;
  opacity: 1 !important;
  visibility: visible !important;
  text-indent: 0 !important;
}
body .local-access-hub .purple-panel .hero-actions a.button.builder-resource-button:hover,
body .local-access-hub .purple-panel .hero-actions a.button.builder-resource-button:focus-visible,
body .local-access-hub .purple-panel .hero-actions a.button.builder-resource-button:active {
  background: #fff4c6 !important;
  border-color: #ffd21f !important;
  color: #4b176c !important;
  -webkit-text-fill-color: #4b176c !important;
  box-shadow: 0 15px 30px rgba(34, 7, 55, .28) !important;
}
body .local-access-hub .purple-panel .hero-actions a.button.builder-resource-button:hover .builder-resource-label,
body .local-access-hub .purple-panel .hero-actions a.button.builder-resource-button:focus-visible .builder-resource-label,
body .local-access-hub .purple-panel .hero-actions a.button.builder-resource-button:active .builder-resource-label {
  color: #4b176c !important;
  -webkit-text-fill-color: #4b176c !important;
}
body .local-access-hub .purple-panel .hero-actions a.button.builder-resource-button::after {
  color: #4b176c !important;
}

/* Big Vision: move the bulb into the headline beside "every" instead of floating over copy. */
.big-vision-page-compact .vision-every {
  display: inline-block;
  white-space: nowrap;
}
.big-vision-page-compact .vision-inline-spark {
  display: inline-block;
  margin-left: .07em;
  font-size: .42em;
  line-height: 1;
  vertical-align: .07em;
  transform: rotate(-8deg);
  filter: drop-shadow(0 .08em .12em rgba(95,37,121,.18));
}

/* Big Vision: reduce all supplied graphics to card scale while keeping desktop text readable. */
.big-vision-page-compact .vision-snapshot-section {
  padding: clamp(2.15rem, 4.6vw, 3.75rem) 0 .65rem;
}
.big-vision-page-compact .vision-snapshot-grid {
  max-width: 890px;
  gap: 1rem;
  margin-top: 1.15rem;
}
.big-vision-page-compact .vision-snapshot-card {
  padding: .9rem;
  border-radius: 1.25rem;
}
.big-vision-page-compact .vision-snapshot-copy {
  min-height: 4.65rem;
}
.big-vision-page-compact .vision-snapshot-copy h3 {
  font-size: clamp(1.1rem, 1.75vw, 1.4rem);
}
.big-vision-page-compact .vision-snapshot-frame {
  width: min(100%, 365px);
  margin: .7rem auto .65rem;
  border-radius: .9rem;
}
.big-vision-page-compact .vision-snapshot-card > p {
  font-size: .93rem;
}
.big-vision-page-compact .vision-feature-section {
  padding: clamp(2.2rem, 4.5vw, 3.8rem) 0;
}
.big-vision-page-compact .vision-feature-frame {
  width: min(100%, 535px);
  margin: .9rem auto .8rem;
  border-radius: 1rem;
}
.big-vision-page-compact .vision-feature-section .vision-heading {
  margin-bottom: .9rem;
}
.big-vision-page-compact .vision-banner {
  max-width: 560px;
  margin-top: .8rem;
  padding: .72rem 1rem;
  font-size: clamp(.92rem, 1.45vw, 1.06rem);
}
.big-vision-page-compact .vision-cards-section {
  padding: clamp(2.4rem, 4.6vw, 3.8rem) 0;
}

/* Big Vision: both final CTAs are permanently readable CurioSpark-yellow buttons. */
body.big-vision-page .vision-cta .vision-cta-actions {
  display: flex;
  justify-content: center;
  gap: .85rem;
}
body.big-vision-page .vision-cta .vision-cta-actions a.button.vision-cta-button,
body.big-vision-page .vision-cta .vision-cta-actions a.button.vision-cta-button:visited {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 48px !important;
  padding: 0 22px !important;
  border: 1.5px solid #ffd21f !important;
  border-radius: 999px !important;
  background: #ffd21f !important;
  background-image: none !important;
  color: #451366 !important;
  -webkit-text-fill-color: #451366 !important;
  font-weight: 900 !important;
  line-height: 1.2 !important;
  text-decoration: none !important;
  opacity: 1 !important;
  visibility: visible !important;
  box-shadow: 0 14px 28px rgba(27, 5, 45, .26) !important;
}
body.big-vision-page .vision-cta .vision-cta-actions a.button.vision-cta-button > span {
  display: inline-block !important;
  color: #451366 !important;
  -webkit-text-fill-color: #451366 !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  opacity: 1 !important;
  visibility: visible !important;
}
body.big-vision-page .vision-cta .vision-cta-actions a.button.vision-cta-button:hover,
body.big-vision-page .vision-cta .vision-cta-actions a.button.vision-cta-button:focus-visible,
body.big-vision-page .vision-cta .vision-cta-actions a.button.vision-cta-button:active {
  background: #ffffff !important;
  border-color: #ffffff !important;
  color: #451366 !important;
  -webkit-text-fill-color: #451366 !important;
  box-shadow: 0 17px 32px rgba(27, 5, 45, .34) !important;
}
body.big-vision-page .vision-cta .vision-cta-actions a.button.vision-cta-button:hover > span,
body.big-vision-page .vision-cta .vision-cta-actions a.button.vision-cta-button:focus-visible > span,
body.big-vision-page .vision-cta .vision-cta-actions a.button.vision-cta-button:active > span {
  color: #451366 !important;
  -webkit-text-fill-color: #451366 !important;
}
body.big-vision-page .vision-cta .vision-cta-actions a.button.vision-cta-button::after {
  color: #451366 !important;
}

@media (max-width: 760px) {
  .big-vision-page-compact .vision-snapshot-grid { max-width: 510px; }
  .big-vision-page-compact .vision-snapshot-frame { width: min(100%, 390px); }
  .big-vision-page-compact .vision-feature-frame { width: min(100%, 480px); }
  .big-vision-page-compact .vision-snapshot-copy { min-height: auto; }
}
@media (max-width: 520px) {
  body.big-vision-page .vision-cta .vision-cta-actions { flex-direction: column; align-items: center; }
  body.big-vision-page .vision-cta .vision-cta-actions a.button.vision-cta-button { width: min(100%, 300px); }
}

/* ========================================================================== 
   v7.47.19 — Mobile sparkle, clear Menu label, and role-aware mobile nav
   This block is intentionally appended so it wins over earlier mobile rules.
   No desktop layout, page content, API, or role policy is changed.
   ========================================================================== */

:root {
  --cs-mobile-gold: #fece22;
  --cs-mobile-purple: #5f2579;
}

/* Small touch targets are a common source of accidental taps on phones. */
@media (max-width: 820px) {
  html { -webkit-text-size-adjust: 100%; }
  button, a, input, select, textarea { touch-action: manipulation; }
  .button, .tiny-button, .nav-links a, .nav-links button, .nav-role-pill {
    min-height: 46px;
  }

  /* Explicit labels help users immediately recognize the hamburger as a menu. */
  .nav-toggle {
    display: inline-flex !important;
    width: auto !important;
    min-width: 106px !important;
    height: 46px !important;
    padding: 8px 13px !important;
    gap: 4px !important;
    overflow: visible;
  }
  .nav-toggle::before {
    content: "✦";
    display: inline-block;
    flex: 0 0 auto;
    color: var(--cs-mobile-gold);
    font-size: .92rem;
    line-height: 1;
    text-shadow: 0 0 11px rgba(254,206,34,.72);
    animation: cs-mobile-menu-twinkle 2.8s ease-in-out infinite;
  }
  .nav-toggle::after {
    content: "Menu" !important;
    display: inline-block;
    flex: 0 0 auto;
    margin-left: 5px !important;
    color: inherit;
    font-size: 11px !important;
    line-height: 1;
    letter-spacing: .075em;
    white-space: nowrap;
  }
  .nav-toggle[aria-expanded="true"]::after { content: "Close" !important; }
  .nav-toggle[aria-expanded="true"]::before { color: #fff0a1; }
  .nav-toggle span { flex: 0 0 auto; }

  .nav-links {
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    padding-bottom: max(16px, env(safe-area-inset-bottom)) !important;
  }
  .nav-links::before {
    text-align: center;
    letter-spacing: .12em;
    animation: cs-mobile-header-sparkle 3.2s ease-in-out infinite;
  }
  .nav-links a,
  .nav-links button,
  .nav-role-pill {
    position: relative;
    overflow: hidden;
  }
  .nav-links a::before,
  .nav-links button::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 -42%;
    width: 28%;
    pointer-events: none;
    opacity: 0;
    background: linear-gradient(90deg, transparent, rgba(254,206,34,.40), transparent);
  }
  .nav-links a:active::before,
  .nav-links button:active::before,
  .nav-links .menu-spark-active::before {
    opacity: 1;
    animation: cs-mobile-link-spark .55s ease-out;
  }
  .nav-links a:focus-visible,
  .nav-links button:focus-visible,
  .nav-toggle:focus-visible {
    outline: 3px solid rgba(254,206,34,.95);
    outline-offset: 3px;
  }

  /* Mobile data tables keep an obvious horizontal scroll path instead of crushing columns. */
  .table-wrap,
  .admin-table-wrap,
  .roster-table-wrap,
  .report-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
  }
  .table-wrap::after,
  .admin-table-wrap::after,
  .roster-table-wrap::after,
  .report-table-wrap::after {
    content: "Swipe to view more →";
    display: block;
    padding: 7px 2px 1px;
    color: rgba(95,37,121,.72);
    font-size: .78rem;
    font-weight: 800;
  }

  /* Cards and call-to-action areas get quiet, lightweight sparkle—not confetti overload. */
  .spark-button,
  .vision-guide-portal,
  .community-builder-card .button,
  .program-card .button {
    position: relative;
    isolation: isolate;
  }
  .spark-button::after,
  .vision-guide-portal::after,
  .community-builder-card .button::after,
  .program-card .button::after {
    content: "✦";
    position: absolute;
    top: -8px;
    right: -7px;
    z-index: 1;
    color: var(--cs-mobile-gold);
    font-size: .85rem;
    line-height: 1;
    text-shadow: 0 0 10px rgba(254,206,34,.7);
    pointer-events: none;
    animation: cs-mobile-button-sparkle 3.4s ease-in-out infinite;
  }
}

/* Role-safe navigation falls back to hidden by default; JavaScript then explicitly confirms access.
   Preview mode intentionally preserves the Return to Full Admin recovery link. */
html[data-cs-effective-role="visitor"] [data-nav-links] a[data-austin-programs-link="true"],
html[data-cs-effective-role="visitor"] [data-nav-links] a[href="/programs"],
html[data-cs-effective-role="visitor"] [data-nav-links] a[href="/calendar"],
html[data-cs-effective-role="member"] [data-nav-links] [data-role-link="staff"],
html[data-cs-effective-role="visitor"] [data-nav-links] [data-role-link="staff"] {
  display: none !important;
}
html[data-cs-preview-active="true"] [data-nav-links] [data-role-link="staff"].role-visible {
  display: inline-flex !important;
}

@keyframes cs-mobile-menu-twinkle {
  0%, 100% { transform: scale(.88) rotate(-8deg); opacity: .78; }
  48% { transform: scale(1.16) rotate(10deg); opacity: 1; }
}
@keyframes cs-mobile-header-sparkle {
  0%, 100% { text-shadow: 0 0 0 rgba(254,206,34,0); }
  50% { text-shadow: 0 0 12px rgba(254,206,34,.62); }
}
@keyframes cs-mobile-link-spark {
  from { transform: translateX(0); }
  to { transform: translateX(450%); }
}
@keyframes cs-mobile-button-sparkle {
  0%, 84%, 100% { transform: scale(.76) rotate(-10deg); opacity: .36; }
  90% { transform: scale(1.16) rotate(14deg); opacity: 1; }
}

@media (max-width: 480px) {
  .nav-toggle {
    min-width: 100px !important;
    height: 44px !important;
    padding: 7px 10px !important;
  }
  .nav-toggle::after {
    content: "Menu" !important;
    font-size: 10px !important;
    letter-spacing: .06em;
  }
  .nav-toggle[aria-expanded="true"]::after { content: "Close" !important; }
  .nav-toggle span { width: 18px !important; }
  .nav-links { top: 72px !important; }
  .nav-links::before { padding-top: 8px; }

  /* Full-width action buttons are easier to use one-handed. */
  .hero-actions,
  .cta-row,
  .button-row,
  .vision-guide-modal__footer {
    gap: .65rem;
  }
  .hero-actions .button,
  .cta-row .button,
  .button-row .button {
    min-height: 46px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nav-toggle::before,
  .nav-links::before,
  .spark-button::after,
  .vision-guide-portal::after,
  .community-builder-card .button::after,
  .program-card .button::after {
    animation: none !important;
  }
  .nav-links a:active::before,
  .nav-links button:active::before,
  .nav-links .menu-spark-active::before { animation: none !important; }
}

/* === v7.47.20 Final visual finish: purple header + Programs community collage ===
   The supplied wordmark file has a transparent background so the header color can show
   through cleanly. No role, access, payment, or workflow behavior is changed here. */
:root {
  --cs-header-deep: #2a1235;
  --cs-header-mid: #4b176c;
  --cs-header-bright: #6f2d86;
}

.site-header {
  position: sticky;
  overflow: visible;
  isolation: isolate;
  background:
    radial-gradient(circle at 10% 20%, rgba(254, 206, 34, .17), transparent 24%),
    radial-gradient(circle at 84% 5%, rgba(194, 126, 230, .20), transparent 26%),
    linear-gradient(105deg, var(--cs-header-deep) 0%, var(--cs-header-mid) 55%, var(--cs-header-bright) 100%) !important;
  border-bottom: 2px solid rgba(254, 206, 34, .76) !important;
  box-shadow: 0 9px 24px rgba(42, 18, 53, .23) !important;
}

.site-header::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .32;
  background-image: radial-gradient(circle, rgba(255,255,255,.55) 1px, transparent 1.2px);
  background-size: 24px 24px;
  mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
}

.site-header .nav {
  position: relative;
  z-index: 1;
}

.site-header .logo-brand img {
  background: transparent !important;
  border-radius: 0 !important;
  box-shadow: 0 3px 12px rgba(16, 4, 24, .22);
  filter: drop-shadow(0 1px 0 rgba(255,255,255,.08));
}

/* Keep the compact Menu control easy to see against the new header. */
.site-header .nav-toggle {
  border-color: rgba(254, 206, 34, .90) !important;
  background: radial-gradient(circle at 14% 24%, rgba(254,206,34,.38), transparent 28%), #fffdf8 !important;
  color: #4b176c !important;
  box-shadow: 0 12px 28px rgba(16, 4, 24, .28) !important;
}
.site-header .nav-toggle span { background: #4b176c !important; }
.site-header .nav-toggle[aria-expanded="true"] {
  background: linear-gradient(135deg, #5f2579, #7d358e) !important;
  border-color: #ffe16a !important;
  color: #fff !important;
}
.site-header .nav-toggle[aria-expanded="true"] span { background: #ffe16a !important; }

/* Program-page community gallery. Kept below the protected hero so it is only visible
   after the existing Member / Team / Admin access gate succeeds. */
.programs-community-showcase {
  display: grid;
  grid-template-columns: minmax(220px, .72fr) minmax(0, 1.28fr);
  gap: clamp(1.2rem, 3vw, 2.4rem);
  align-items: center;
  margin: clamp(2.2rem, 5vw, 4rem) auto 0;
  padding: clamp(1.05rem, 2.5vw, 1.65rem);
  border: 1px solid rgba(95, 37, 121, .15);
  border-radius: clamp(1.35rem, 3vw, 2rem);
  background:
    radial-gradient(circle at 12% 18%, rgba(254,206,34,.20), transparent 24%),
    linear-gradient(135deg, #fffdf9, #fbf6ff);
  box-shadow: 0 22px 48px rgba(42, 18, 53, .08);
}
.programs-community-showcase__copy {
  padding: clamp(.45rem, 1.4vw, .8rem);
}
.programs-community-showcase__copy h2 {
  margin: .35rem 0 .7rem;
  color: #451366;
  font-size: clamp(2rem, 3.25vw, 3rem);
}
.programs-community-showcase__copy p:not(.eyebrow) {
  margin: 0;
  color: #69526f;
  font-size: 1rem;
  line-height: 1.7;
}
.programs-community-showcase__figure {
  margin: 0;
  overflow: hidden;
  border: 3px solid #fff;
  border-radius: clamp(1rem, 2.2vw, 1.45rem);
  background: #fff;
  box-shadow: 0 16px 34px rgba(69, 19, 102, .12);
}
.programs-community-showcase__figure img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center;
}
.programs-community-showcase__figure figcaption {
  padding: .72rem .9rem .78rem;
  color: #644b6a;
  font-size: .86rem;
  font-weight: 750;
  text-align: center;
  background: #fff;
}

@media (max-width: 780px) {
  .programs-community-showcase {
    grid-template-columns: 1fr;
    gap: .95rem;
    margin-top: 2rem;
  }
  .programs-community-showcase__copy {
    text-align: center;
  }
  .programs-community-showcase__copy .eyebrow { margin-bottom: .35rem; }
  .programs-community-showcase__figure img { aspect-ratio: 4 / 3; }
}

@media (prefers-reduced-motion: reduce) {
  .site-header::after { display: none; }
}

/* ========================================================================== 
   v7.47.21 — Footer polish, home-logo sparkle containment, Family Portal collage
   ========================================================================== */

/* Footer now carries the same deep-purple/gold visual language as the header.
   Existing footer links/auth behavior are intentionally left intact. */
.site-footer,
.wonder-footer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 9% 16%, rgba(254, 206, 34, .24), transparent 23%),
    radial-gradient(circle at 86% 10%, rgba(194, 126, 230, .22), transparent 28%),
    linear-gradient(105deg, #2a1235 0%, #4b176c 55%, #6f2d86 100%) !important;
  border-top: 2px solid rgba(254, 206, 34, .78) !important;
  box-shadow: 0 -8px 28px rgba(42, 18, 53, .16) !important;
}
.site-footer::before,
.wonder-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .24;
  background-image: radial-gradient(circle, rgba(255,255,255,.55) 1px, transparent 1.2px);
  background-size: 24px 24px;
  mask-image: linear-gradient(90deg, transparent, #000 16%, #000 84%, transparent);
}
.site-footer .footer-logo-brand img,
.wonder-footer .footer-logo-brand img {
  width: clamp(146px, 18vw, 170px) !important;
  max-width: 100%;
  padding: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  filter: drop-shadow(0 4px 12px rgba(16, 4, 24, .34));
}
.site-footer p,
.wonder-footer p { color: rgba(255,255,255,.78) !important; }
.site-footer .footer-grid h3,
.wonder-footer .footer-grid h3 { color: #fff !important; }
.site-footer .footer-grid a:not(.brand),
.site-footer .footer-links a,
.site-footer .footer-logout,
.wonder-footer .footer-grid a:not(.brand),
.wonder-footer .footer-links a,
.wonder-footer .footer-logout {
  color: rgba(255,255,255,.88) !important;
}
.site-footer .footer-grid a:not(.brand):hover,
.site-footer .footer-links a:hover,
.wonder-footer .footer-grid a:not(.brand):hover,
.wonder-footer .footer-links a:hover {
  color: #ffe16a !important;
}

/* Keep the two animated home-card stars fully inside the logo card.
   This prevents any swing/scale motion from visually escaping the border. */
.brand-world-hero .ecosystem-card.living-world-card {
  position: relative;
  overflow: hidden !important;
  isolation: isolate;
}
.brand-world-hero .ecosystem-card.living-world-card::before,
.brand-world-hero .ecosystem-card.living-world-card::after {
  pointer-events: none;
  z-index: 2;
  transform-origin: center;
  animation: cs-home-star-contained 2.9s ease-in-out infinite !important;
}
.brand-world-hero .ecosystem-card.living-world-card::before {
  right: 22px !important;
  top: 20px !important;
}
.brand-world-hero .ecosystem-card.living-world-card::after {
  left: 22px !important;
  bottom: 20px !important;
  animation-delay: -1.2s !important;
}
@keyframes cs-home-star-contained {
  0%, 100% { transform: translate3d(0, 0, 0) scale(.92) rotate(-4deg); opacity: .68; }
  50% { transform: translate3d(0, -3px, 0) scale(1.02) rotate(5deg); opacity: 1; }
}

/* Signed-in Family Portal: a warm, privacy-conscious community moment.
   It appears only inside the existing member workflow, not on the public page. */
.family-portal-community-showcase {
  display: grid;
  grid-template-columns: minmax(200px, .7fr) minmax(0, 1.3fr);
  gap: clamp(1rem, 2.8vw, 2rem);
  align-items: center;
  margin-top: 22px;
  padding: clamp(1rem, 2.5vw, 1.55rem);
  border: 1px solid rgba(95, 37, 121, .15);
  border-radius: clamp(1.35rem, 3vw, 2rem);
  background:
    radial-gradient(circle at 9% 16%, rgba(254, 206, 34, .20), transparent 26%),
    linear-gradient(135deg, #fffdf9, #fbf6ff);
  box-shadow: 0 20px 44px rgba(42, 18, 53, .08);
}
.family-portal-community-showcase__copy { padding: .35rem; }
.family-portal-community-showcase__copy h2 {
  margin: .35rem 0 .7rem;
  color: #451366;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
}
.family-portal-community-showcase__copy p:not(.eyebrow) {
  margin: 0;
  color: #69526f;
  line-height: 1.65;
}
.family-portal-community-showcase__figure {
  margin: 0;
  overflow: hidden;
  border: 3px solid #fff;
  border-radius: clamp(1rem, 2vw, 1.35rem);
  background: #fff;
  box-shadow: 0 15px 32px rgba(69, 19, 102, .12);
}
.family-portal-community-showcase__figure img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center;
}
.family-portal-community-showcase__figure figcaption {
  padding: .72rem .9rem .78rem;
  color: #644b6a;
  font-size: .84rem;
  font-weight: 750;
  text-align: center;
  background: #fff;
}
@media (max-width: 780px) {
  .family-portal-community-showcase { grid-template-columns: 1fr; gap: .9rem; }
  .family-portal-community-showcase__copy { text-align: center; }
  .family-portal-community-showcase__copy .eyebrow { margin-bottom: .35rem; }
  .family-portal-community-showcase__figure img { aspect-ratio: 4 / 3; }
}
@media (prefers-reduced-motion: reduce) {
  .brand-world-hero .ecosystem-card.living-world-card::before,
  .brand-world-hero .ecosystem-card.living-world-card::after { animation: none !important; }
}


/* ========================================================================== 
   v7.48 — role-aware workspace, header bulb, and live member calendar
   ========================================================================== */
.site-header .header-bulb-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 66px;
  min-width: 66px;
  height: 66px;
  overflow: visible;
}
.site-header .header-bulb-brand img {
  width: 56px !important;
  height: 56px !important;
  max-width: 56px !important;
  object-fit: contain;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  filter: drop-shadow(0 4px 10px rgba(17, 4, 29, .28)) !important;
}
.nav-preview-return {
  background: rgba(255, 241, 151, .16) !important;
  border: 1px solid rgba(255, 225, 106, .72) !important;
  color: #fff6b0 !important;
  font-weight: 900 !important;
}
.nav-preview-return:hover,
.nav-preview-return:focus-visible {
  background: rgba(255, 225, 106, .28) !important;
  color: #fff !important;
}

.calendar-live-section { padding: clamp(2rem, 5vw, 4.5rem) 0; }
.calendar-live-status {
  margin: 0 0 1.25rem;
  padding: .9rem 1rem;
  border-radius: 1rem;
  color: #60456b;
  background: #fffdf8;
  border: 1px solid rgba(95, 37, 121, .16);
  font-weight: 750;
}
.calendar-live-status[data-tone="error"] { color: #8b2d40; background: #fff0f2; border-color: rgba(181, 46, 74, .28); }
.calendar-live-status[data-tone="good"] { color: #315f49; background: #effaf3; border-color: rgba(48, 119, 80, .22); }
.calendar-live-month + .calendar-live-month { margin-top: clamp(1.25rem, 3vw, 2rem); }
.calendar-live-month__heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}
.calendar-live-month__heading h2 { margin: 0; font-size: clamp(1.7rem, 3vw, 2.6rem); }
.calendar-live-month__heading p { margin: 0; color: #725d7b; font-weight: 750; }
.calendar-live-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.calendar-live-event {
  display: grid;
  grid-template-columns: 72px minmax(0,1fr);
  gap: .9rem;
  align-items: start;
  padding: 1rem;
  border: 1px solid rgba(95, 37, 121, .16);
  border-radius: 1.25rem;
  background: linear-gradient(135deg, #fffdf8, #fbf6ff);
  box-shadow: 0 13px 30px rgba(42,18,53,.06);
}
.calendar-live-event time {
  min-height: 68px;
  display: grid;
  align-content: center;
  justify-items: center;
  border-radius: 1rem;
  color: #3e165d;
  background: #fff2bc;
  font-weight: 900;
  line-height: 1;
}
.calendar-live-event time strong { font-size: 1.75rem; }
.calendar-live-event time span { margin-top: .35rem; font-size: .72rem; letter-spacing: .07em; text-transform: uppercase; }
.calendar-live-event h3 { margin: 0 0 .3rem; font-size: 1.05rem; color: #4a176d; }
.calendar-live-event p { margin: 0; color: #6c5874; font-size: .92rem; }
.calendar-live-event .calendar-live-meta { display: flex; flex-wrap: wrap; gap: .35rem .7rem; margin-top: .65rem; color: #694b72; font-size: .8rem; font-weight: 800; }
.calendar-live-event a { display: inline-flex; margin-top: .75rem; color: #5f2579; font-weight: 900; text-decoration: underline; text-underline-offset: 3px; }
.calendar-live-empty { padding: 1.35rem; border: 1px dashed rgba(95, 37, 121, .28); border-radius: 1.25rem; color: #69526f; text-align: center; }
.v748-calendar-note { margin-top: 1rem; color: #765f7d; font-size: .88rem; }

@media (max-width: 760px) {
  .site-header .header-bulb-brand { width: 54px; min-width: 54px; height: 54px; }
  .site-header .header-bulb-brand img { width: 47px !important; height: 47px !important; max-width: 47px !important; }
  .calendar-live-grid { grid-template-columns: 1fr; }
  .calendar-live-month__heading { display: block; }
  .calendar-live-month__heading p { margin-top: .35rem; }
  .nav-preview-return { order: -1; }
}

/* CurioSpark v7.49 — Calendar grid, family fee tools, and small Big Vision alignment cleanup. */
.big-vision-page-compact .vision-audience-grid > span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 4.15rem;
  text-align: center;
  line-height: 1.25;
}

.calendar-live-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .85rem;
  margin: 1.05rem 0 1rem;
}
.calendar-view-switch,
.calendar-month-nav {
  display: inline-flex;
  align-items: center;
  gap: .38rem;
  padding: .32rem;
  border: 1px solid rgba(95,37,121,.14);
  border-radius: 999px;
  background: rgba(255,255,255,.78);
  box-shadow: 0 8px 18px rgba(69,19,102,.06);
}
.calendar-view-switch button,
.calendar-month-nav button {
  min-height: 38px;
  padding: .46rem .72rem;
  border: 0;
  border-radius: 999px;
  color: #552174;
  background: transparent;
  font: inherit;
  font-size: .84rem;
  font-weight: 850;
  cursor: pointer;
}
.calendar-view-switch button.is-active {
  color: #fff;
  background: #652481;
  box-shadow: 0 6px 14px rgba(69,19,102,.2);
}
.calendar-month-nav strong {
  min-width: 8.7rem;
  padding: 0 .38rem;
  color: #451366;
  text-align: center;
  font-size: .92rem;
}
.calendar-month-nav button:not(:disabled):hover,
.calendar-month-nav button:not(:disabled):focus-visible {
  color: #451366;
  background: #fff0a6;
}
.calendar-month-nav button:disabled { opacity: .35; cursor: not-allowed; }
.calendar-month-grid {
  overflow: hidden;
  border: 1px solid rgba(95,37,121,.15);
  border-radius: 1.4rem;
  background: rgba(255,255,255,.82);
  box-shadow: 0 18px 38px rgba(69,19,102,.08);
}
.calendar-weekdays,
.calendar-days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0,1fr));
}
.calendar-weekdays {
  border-bottom: 1px solid rgba(95,37,121,.1);
  background: linear-gradient(90deg, #fff4c9, #f5eaff, #fff4c9);
}
.calendar-weekdays span {
  padding: .68rem .25rem;
  color: #5d2a78;
  text-align: center;
  font-size: .73rem;
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.calendar-day {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 7.7rem;
  padding: .55rem;
  border-right: 1px solid rgba(95,37,121,.09);
  border-bottom: 1px solid rgba(95,37,121,.09);
  background: rgba(255,255,255,.6);
}
.calendar-day:nth-child(7n) { border-right: 0; }
.calendar-day.is-empty { min-height: 7.7rem; background: rgba(248,242,252,.46); }
.calendar-day.is-today { outline: 2px solid rgba(255,190,25,.9); outline-offset: -2px; background: #fffdf2; }
.calendar-day-number { color: #5a2775; font-size: .87rem; font-weight: 900; }
.calendar-day-events { display: grid; gap: .32rem; margin-top: .42rem; }
.calendar-day-event {
  display: grid;
  gap: .12rem;
  padding: .32rem .4rem;
  border: 1px solid rgba(95,37,121,.14);
  border-radius: .55rem;
  color: #451366;
  background: linear-gradient(135deg, #fff9dc, #f5eaff);
  font-size: .72rem;
  font-weight: 800;
  line-height: 1.18;
  text-decoration: none;
}
.calendar-day-event:hover,
.calendar-day-event:focus-visible { border-color: rgba(255,177,0,.95); background: #fff0a8; }
.calendar-day-event small { color: #765b83; font-size: .66rem; font-weight: 700; }

.payment-ops-desk {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: .82rem;
  margin: .2rem 0 1.25rem;
}
.payment-ops-desk > div {
  padding: 1rem;
  border: 1px solid rgba(95,37,121,.14);
  border-radius: 1rem;
  background: linear-gradient(135deg, #fffdf7, #f8efff);
}
.payment-ops-desk h3 { margin: 0 0 .32rem; color: #451366; font-size: 1.02rem; }
.payment-ops-desk p { margin: 0; color: #67536f; line-height: 1.45; }
.payment-ops-actions { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: .8rem; }
.payment-ops-actions .tiny-button { text-decoration: none; }
.waive-fee-button { margin-top: .38rem; }

@media (max-width: 760px) {
  .calendar-live-controls { align-items: stretch; }
  .calendar-view-switch,
  .calendar-month-nav { width: 100%; justify-content: center; }
  .calendar-view-switch button { flex: 1; }
  .calendar-day { min-height: 5.8rem; padding: .38rem; }
  .calendar-day.is-empty { min-height: 5.8rem; }
  .calendar-weekdays span { padding: .55rem .05rem; font-size: .62rem; }
  .calendar-day-event { padding: .22rem .25rem; font-size: .6rem; }
  .calendar-day-event small { display: none; }
  .payment-ops-desk { grid-template-columns: 1fr; }
}
@media (max-width: 440px) {
  .calendar-day { min-height: 4.9rem; }
  .calendar-day.is-empty { min-height: 4.9rem; }
  .calendar-day-number { font-size: .75rem; }
  .calendar-day-event { max-height: 2.5rem; overflow: hidden; font-size: .54rem; }
}


/* CurioSpark v7.50 Admin wiring controls */
.admin-live-status { min-height: 1.35rem; margin: .7rem 0 0; font-weight: 700; color: var(--ink, #3b1754); }
.admin-live-status.is-good { color: #23633d; }
.admin-live-status.is-warn { color: #795200; }
.admin-live-status.is-error { color: #9a2131; }
.admin-live-panel { margin-top: 1.2rem; }
.admin-live-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.admin-live-grid .wide { grid-column: 1 / -1; }
.admin-live-notice { margin-bottom: 1rem; }
.compact-actions { display: flex; flex-wrap: wrap; gap: .45rem; align-items: center; }
.compact-input, .compact-textarea { width: 100%; font: inherit; border: 1px solid #d6c5e4; border-radius: .65rem; padding: .55rem .65rem; background: #fff; color: #3b1754; }
.compact-textarea { min-height: 4.4rem; resize: vertical; }
.admin-live-status + .table-wrap { margin-top: 1rem; }
@media (max-width: 760px) { .admin-live-grid { grid-template-columns: 1fr; } .compact-actions { min-width: 10rem; } }


/* v7.80 — paid family registration clarity */
.v743-ready-course-note{margin:.8rem 0 0;padding:.8rem .9rem;border:1px solid rgba(34,132,84,.24);border-radius:.8rem;background:#f1fff5;color:#175d3b;line-height:1.45}.v743-ready-course-note strong{font-weight:800}.v743-ready-course-note p{margin:.3rem 0 0;color:inherit}.v743-review-card .v743-ready-course-note{grid-column:1/-1;margin:0}.v743-payment-claim[hidden], [data-v743-annual-payment-button][hidden]{display:none!important}

/* CurioSpark v8.21 Support Console */
.support-console{max-width:900px;margin:2rem auto;padding:1.25rem;border:1px solid rgba(95,37,121,.18);border-radius:22px;background:linear-gradient(135deg,#fffdf8,#faf5ff);box-shadow:0 14px 34px rgba(61,17,87,.07)}
.support-console h1{margin:.1rem 0 .45rem;color:#3d1157}.support-console p{color:#62516a;line-height:1.55}.support-console-grid{display:grid;grid-template-columns:1fr;gap:.9rem;margin-top:1rem}.support-console label{display:grid;gap:.38rem;font-weight:800;color:#4c1767}.support-console select,.support-console textarea{width:100%;box-sizing:border-box}.support-console textarea{min-height:96px;resize:vertical}.support-console-note{min-height:1.25rem;margin:.7rem 0 0;color:#64536e}.support-console-note.good{color:#2b7148}.support-console-note.error{color:#a12832}.support-console-callout{margin-top:1rem;padding:.86rem 1rem;border:1px solid rgba(242,177,25,.45);border-radius:14px;background:#fff8db;color:#5d4a13;font-size:.92rem;line-height:1.5}


/* CurioSpark v8.28.3 — Impersonate User form alignment.
   Scoped so no other Admin action row moves. */
.support-console .admin-actions {
  width: auto;
  min-width: 0;
  margin-top: 1rem;
  justify-content: flex-start;
  flex-wrap: wrap;
}
.support-console .admin-actions .button {
  width: auto;
  flex: 0 0 auto;
}
.support-console .support-console-note {
  margin-top: .75rem;
}
@media (max-width: 560px) {
  .support-console .admin-actions { align-items: stretch; }
  .support-console .admin-actions .button { width: 100%; }
}

/* CurioSpark v8.36.18 - header wordmark and Home footer Facebook link
   Scope: existing header logo asset and Home footer social link only. */
.site-header .logo-brand.header-bulb-brand img {
  width: clamp(146px, 14vw, 188px) !important;
  max-width: min(42vw, 188px);
  max-height: 52px;
  height: auto !important;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(16, 4, 24, .28));
}

.public-frontdoor-footer .footer-grid {
  position: relative;
  padding-bottom: clamp(3.75rem, 7vw, 4.75rem);
}
.public-frontdoor-footer .footer-social-corner {
  position: absolute;
  right: 0;
  bottom: 1rem;
}
.public-frontdoor-footer .footer-facebook-link {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  min-height: 44px;
  padding: .42rem .8rem .42rem .48rem;
  border: 1px solid rgba(254, 206, 34, .9);
  border-radius: 999px;
  background: rgba(255, 255, 255, .96);
  color: #4b176c !important;
  box-shadow: 0 10px 24px rgba(16, 4, 24, .22);
  font-size: .82rem;
  font-weight: 900;
  line-height: 1;
}
.public-frontdoor-footer .footer-facebook-link:hover,
.public-frontdoor-footer .footer-facebook-link:focus-visible {
  color: #4b176c !important;
  transform: translateY(-1px);
}
.public-frontdoor-footer .footer-facebook-link svg {
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #1877f2;
  color: #fff;
  padding: 3px;
}
.public-frontdoor-footer .footer-facebook-link path { fill: currentColor; }

@media (max-width: 820px) {
  .site-header .logo-brand.header-bulb-brand img {
    width: clamp(128px, 36vw, 158px) !important;
    max-width: 42vw;
    max-height: 48px;
  }
  .public-frontdoor-footer .footer-grid { padding-bottom: 1.25rem; }
  .public-frontdoor-footer .footer-social-corner {
    position: static;
    grid-column: 1 / -1;
    justify-self: end;
    margin-top: .9rem;
  }
}

@media (max-width: 480px) {
  .site-header .logo-brand.header-bulb-brand img {
    width: clamp(118px, 34vw, 144px) !important;
    max-height: 44px;
  }
  .public-frontdoor-footer .footer-facebook-link__label { font-size: .76rem; }
}

/* CurioSpark v8.36.20 - Universal header wordmark and footer Facebook consistency.
   Scope: shared header and standard site footers only. ASCII-only source. */

/* Match the approved Home header wordmark dimensions on every standard page. */
.site-header .logo-brand.header-bulb-brand {
  flex: 0 0 184px !important;
  width: 184px !important;
  min-width: 184px !important;
  height: 70px !important;
}
.site-header .logo-brand.header-bulb-brand img {
  width: auto !important;
  max-width: none !important;
  height: 62px !important;
  max-height: none !important;
  object-fit: contain !important;
}

/* Place the Facebook Community link in the same third footer column used on Home. */
.site-footer .footer-social-corner {
  position: static;
  display: block;
  grid-column: 3;
  grid-row: 1;
  align-self: start;
  justify-self: start;
  margin-top: 5.3rem;
}
.site-footer .footer-grid .footer-facebook-link {
  display: inline-flex !important;
  align-items: center;
  gap: .5rem;
  width: max-content !important;
  margin: 0 !important;
  padding: .52rem .76rem !important;
  border: 2px solid #f3b515 !important;
  border-radius: 999px !important;
  background: #fff8e7 !important;
  color: #4b176c !important;
  font-weight: 850 !important;
  line-height: 1.1 !important;
  text-decoration: none !important;
  text-shadow: none !important;
  white-space: nowrap;
  box-shadow: 0 8px 18px rgba(28, 8, 41, .18) !important;
  transform: none !important;
}
.site-footer .footer-grid .footer-facebook-link:hover,
.site-footer .footer-grid .footer-facebook-link:focus-visible {
  color: #4b176c !important;
  background: #fff2bb !important;
  transform: translateY(-1px) !important;
}
.site-footer .footer-grid .footer-facebook-link svg {
  flex: 0 0 auto;
  width: 1.35rem;
  height: 1.35rem;
  padding: .16rem;
  border-radius: 50%;
  background: #1877f2;
  fill: #fff;
}
.site-footer .footer-grid .footer-facebook-link__label {
  color: #4b176c !important;
  opacity: 1 !important;
}

@media (max-width: 820px) {
  .site-header .logo-brand.header-bulb-brand {
    flex-basis: 142px !important;
    width: 142px !important;
    min-width: 142px !important;
    height: 58px !important;
  }
  .site-header .logo-brand.header-bulb-brand img {
    height: 49px !important;
  }
  .site-footer .footer-social-corner {
    grid-column: 1 / -1;
    grid-row: auto;
    justify-self: start;
    margin-top: .9rem;
  }
}


/* v8.46.1: keep the mobile burger menu crisp on Chrome/iOS/Android. */
.site-header, .nav, .nav-toggle, .nav-links, .nav-links * {
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}
.nav-links,
.nav-toggle {
  transform: translateZ(0);
  backface-visibility: hidden;
  will-change: opacity;
}
body.nav-open::before {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  background: rgba(42,18,53,.08) !important;
}
@media (max-width: 820px) {
  .nav-links { transition: opacity .14s ease !important; transform: none !important; }
  .nav-links.open { transform: none !important; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg) !important; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg) !important; }
}

/* v8.46.1: Team photo clarity. Avoid CSS effects that make portraits look grainier than the source asset. */
.team-placard-grid .team-photo,
.team-placard-grid .team-photo-stage {
  background: #fff !important;
}
.team-placard-grid .team-photo img,
.team-placard-grid .team-photo-stage img {
  filter: none !important;
  image-rendering: auto;
  transform: translateZ(0);
}

/* CurioSpark v9.2.6 - Visual Freeze Support Console Control Normalization
   Presentation-only correction for the Admin Impersonate User form.
   No wording, HTML, JavaScript, API, SQL, route, navigation, authentication,
   finance, registration, payment-plan, waitlist, or image changes. */
.support-console select,
.support-console textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid rgba(95, 37, 121, .22);
  border-radius: 13px;
  background: #fff;
  color: var(--ink, #2A1235);
  padding: 10px 12px;
  font-family: var(--sans, "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
  font-size: .95rem;
  font-weight: 600;
  line-height: 1.4;
}
.support-console select {
  min-height: 46px;
}
.support-console textarea {
  min-height: 96px;
  resize: vertical;
}
.support-console textarea::placeholder {
  color: #78687f;
  font-weight: 500;
  opacity: 1;
}
.support-console select:focus,
.support-console textarea:focus {
  outline: 3px solid rgba(254, 206, 34, .38);
  outline-offset: 1px;
  border-color: var(--purple, #5F2579);
}


/* CurioSpark v9.5.0 — Editorial Edition shared foundations.
   Presentation only: open structural wrappers, deliberate action hierarchy,
   role-based typography, and coordinated fixed/sticky regions. */

/* Dense workspaces retain CurioSpark identity without repeating public-display scale. */
body.v802-simplified .admin-shell :where(.admin-topbar h2,.admin-card-heading h2,.v910-panel-head h3,.v847-card-heading h2) {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 780;
  letter-spacing: -.025em;
  line-height: 1.12;
}
body.v802-simplified .admin-shell .eyebrow {
  font-weight: 800;
  letter-spacing: .115em;
}

/* A route topbar is orientation, not another elevated record. */
body.v802-simplified .admin-shell .admin-topbar {
  margin-bottom: 1.35rem;
  padding: 0 0 1.05rem;
  border: 0;
  border-bottom: 1px solid rgba(95,37,121,.14);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

/* Quiet text actions keep a generous hit area without becoming another button bar. */
.text-button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: .45rem .15rem;
}

/* Keep repeated operational controls touchable while preserving compact desktop density. */
@media (pointer: coarse), (max-width: 760px) {
  .tiny-button,
  .button.small,
  button.small,
  a.button.small {
    min-height: 44px;
  }
}

/* One intentional mobile primary action per task area; do not flatten all actions equally. */
@media (max-width: 560px) {
  .hero-actions .button,
  .clean-auth-form > .button,
  .v743-form-actions .button,
  .v743-submit-actions .button,
  .v743-payment-panel .button,
  .admin-actions.stacked .button,
  .v847-button-row .button,
  .v793-actions .button,
  .fp-form-actions .button,
  .fp-manager-head .button {
    width: 100%;
    justify-content: center;
  }
  .button.secondary:not(.hero-actions .button),
  .button.ghost:not(.hero-actions .button) {
    max-width: 100%;
  }
}

/* Registration keeps progress visible but removes one decorative shell level. */
body.cs-editorial-registration .v743-stepper {
  padding: 1rem 0;
  border-width: 1px 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
@media (min-width: 901px) {
  body.cs-editorial-registration .v743-stepper {
    top: calc(var(--cs-sticky-offset, 78px) + 1rem);
  }
}

/* Fixed controls share the bottom-right zone instead of covering one another. */
body:has(.v712-toast:not([hidden])) .cs-back-to-top {
  bottom: calc(5.4rem + env(safe-area-inset-bottom, 0px));
}

/* Static structural Admin cards no longer suggest clickability through hover motion. */
body.v802-simplified .admin-card,
body.v802-simplified .admin-topbar,
body.v802-simplified .notice-card {
  transform: none;
}

/* CurioSpark v9.9.4 — canonical semantic button contrast
   One shared rule owns readable text for public, Family Portal, Admin,
   Finance, and Payout actions. It intentionally outranks legacy anchor
   hover rules without changing routes, behavior, or button meaning. */
html body :is(a.button.primary, button.button.primary, input.button.primary, a.tiny-button.primary, button.tiny-button.primary) {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}
html body :is(a.button.primary, button.button.primary, input.button.primary, a.tiny-button.primary, button.tiny-button.primary):is(:hover, :focus-visible, :active) {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  background-color: #5f2579 !important;
  border-color: #5f2579 !important;
}
html body :is(a.button.primary, button.button.primary, a.tiny-button.primary, button.tiny-button.primary) * {
  color: inherit !important;
  -webkit-text-fill-color: inherit !important;
}
html body :is(a.button.secondary:not(.cs-v994-footer-community-button), button.button.secondary:not(.cs-v994-footer-community-button), a.button.ghost, button.button.ghost, a.nav-button, button.nav-button, a.tiny-button.secondary, button.tiny-button.secondary, .button.light-button) {
  color: #401052 !important;
  -webkit-text-fill-color: #401052 !important;
}
html body :is(a.button.secondary:not(.cs-v994-footer-community-button), button.button.secondary:not(.cs-v994-footer-community-button), a.button.ghost, button.button.ghost, a.nav-button, button.nav-button, a.tiny-button.secondary, button.tiny-button.secondary, .button.light-button):is(:hover, :focus-visible, :active) {
  color: #401052 !important;
  -webkit-text-fill-color: #401052 !important;
  background-color: #f2e7f6 !important;
  border-color: #7a3d8f !important;
}
html body :is(a.button.secondary:not(.cs-v994-footer-community-button), button.button.secondary:not(.cs-v994-footer-community-button), a.button.ghost, button.button.ghost, a.nav-button, button.nav-button, a.tiny-button.secondary, button.tiny-button.secondary, .button.light-button) * {
  color: inherit !important;
  -webkit-text-fill-color: inherit !important;
}
html body :is(a.button.primary, button.button.primary, a.button.secondary:not(.cs-v994-footer-community-button), button.button.secondary:not(.cs-v994-footer-community-button), a.button.ghost, button.button.ghost, a.nav-button, button.nav-button):focus-visible {
  outline: 3px solid rgba(244, 181, 22, .68) !important;
  outline-offset: 3px;
}

/* CurioSpark v9.9.4 — footer community action contrast */
html body .cs-v994-footer a.button.secondary.cs-v994-footer-community-button {
  color: #401052 !important;
  -webkit-text-fill-color: #401052 !important;
  background: linear-gradient(135deg, #fffaf0, #ead7f1) !important;
  border-color: rgba(244, 181, 22, .72) !important;
}
html body .cs-v994-footer a.button.secondary.cs-v994-footer-community-button:is(:hover, :focus-visible, :active) {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  background: #6b2b83 !important;
  border-color: #f4b516 !important;
}
html body .cs-v994-footer a.button.secondary.cs-v994-footer-community-button * {
  color: inherit !important;
  -webkit-text-fill-color: inherit !important;
}

/* CurioSpark v10.4.0.6 — Post-audit presentation closure.
   Component state and narrow-screen fit only. No global hidden override. */
.signin-hero .auth-current-card .signedin-actions[hidden],
body.programs-marketplace-page .program-market-card .program-description-group [data-program-details-toggle][hidden] {
  display: none !important;
}
@media (max-width: 640px) {
  .big-vision-page-compact .vision-snapshot-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .big-vision-page-compact .vision-snapshot-card {
    min-width: 0;
    max-width: 100%;
  }
  .big-vision-page-compact .vision-snapshot-copy {
    min-width: 0;
    overflow-wrap: anywhere;
  }
  #report-library .v770-report-controls > label {
    min-width: 0;
    max-width: 100%;
    width: min(100%, 20rem);
  }
  #report-library .v770-report-controls [data-v770-program] {
    min-width: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  html[data-phase-c-admin-mode="tools"] [data-v10012-payhip-export-panel] > label {
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
  }
  html[data-phase-c-admin-mode="tools"] [data-v10012-payhip-export-file],
  html[data-phase-c-admin-mode="tools"] [data-v10012-payhip-export-currency] {
    min-width: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
}


