:root,
[data-theme="plum"],
[data-theme="headspace"] {
  /* Headspace-inspired palette */
  --color-bg: #f9f4f2;
  --color-bg-alt: #fff0e8;
  --color-surface: #ffffff;
  --color-primary: #ff7300;
  --color-primary-dark: #e05f00;
  --color-primary-light: #f47d31;
  --color-accent: #ffce00;
  --color-accent-hover: #ffe14d;
  --color-accent-soft: #ffe9a8;
  --color-text: #2d2c2b;
  --color-text-muted: #4b4c4d;
  --color-border: #e2ded9;
  --color-success: #01a652;
  --color-footer: #281466;
  --color-indigo: #3b197f;
  --color-pink: #ffa1cc;
  --color-blue: #0061ef;
  --color-celeste: #00a4ff;
  --hero-overlay: linear-gradient(135deg, rgba(59, 25, 127, 0.94) 0%, rgba(95, 43, 137, 0.88) 40%, rgba(255, 115, 0, 0.85) 100%);
  --hero-fade: linear-gradient(to top, rgba(40, 20, 102, 0.75), transparent 55%);
  --gradient-brand: linear-gradient(135deg, #ff7300, #ffce00);
  --gradient-quote: linear-gradient(145deg, #3b197f, #5f2b89 55%, #ff7300);
  --header-bg: rgba(249, 244, 242, 0.94);
  --header-border: rgba(226, 222, 217, 0.95);
  --shadow-sm: 0 8px 24px rgba(45, 44, 43, 0.06);
  --shadow-md: 0 18px 40px rgba(255, 115, 0, 0.14);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --container: 1120px;
  --header-height: 76px;
}

[data-theme="sage"] {
  --color-bg: #f9f4f2;
  --color-bg-alt: #e8f7ff;
  --color-surface: #ffffff;
  --color-primary: #0061ef;
  --color-primary-dark: #0047b3;
  --color-primary-light: #00a4ff;
  --color-accent: #ffce00;
  --color-accent-hover: #ffe14d;
  --color-accent-soft: #ffe9a8;
  --color-text: #2d2c2b;
  --color-text-muted: #4b4c4d;
  --color-border: #d0d0d0;
  --color-success: #01a652;
  --color-footer: #27455c;
  --hero-overlay: linear-gradient(125deg, rgba(0, 97, 239, 0.9), rgba(0, 164, 255, 0.75));
  --hero-fade: linear-gradient(to top, rgba(39, 69, 92, 0.7), transparent 55%);
  --gradient-brand: linear-gradient(135deg, #0061ef, #00a4ff);
  --gradient-quote: linear-gradient(160deg, #0061ef, #3b197f);
  --header-bg: rgba(249, 244, 242, 0.94);
  --header-border: rgba(226, 222, 217, 0.95);
  --shadow-sm: 0 8px 24px rgba(45, 44, 43, 0.06);
  --shadow-md: 0 18px 40px rgba(0, 97, 239, 0.14);
}

[data-theme="vibrant"] {
  --color-bg: #fff7fb;
  --color-bg-alt: #ffe4f1;
  --color-surface: #ffffff;
  --color-primary: #ff7300;
  --color-primary-dark: #e05f00;
  --color-primary-light: #f47d31;
  --color-accent: #ffa1cc;
  --color-accent-hover: #ffb8d8;
  --color-accent-soft: #ffd6ea;
  --color-text: #2d2c2b;
  --color-text-muted: #4b4c4d;
  --color-border: #f3d5e5;
  --color-success: #01a652;
  --color-footer: #3b197f;
  --hero-overlay: linear-gradient(125deg, rgba(255, 115, 0, 0.92), rgba(255, 161, 204, 0.85), rgba(255, 206, 0, 0.8));
  --hero-fade: linear-gradient(to top, rgba(59, 25, 127, 0.55), transparent 55%);
  --gradient-brand: linear-gradient(135deg, #ff7300, #ffa1cc);
  --gradient-quote: linear-gradient(135deg, #ff7300, #ffa1cc 50%, #ffce00);
  --header-bg: rgba(255, 247, 251, 0.94);
  --header-border: rgba(243, 213, 229, 0.95);
  --shadow-sm: 0 10px 28px rgba(255, 115, 0, 0.1);
  --shadow-md: 0 20px 44px rgba(255, 161, 204, 0.18);
}

[data-theme="sunset"] {
  --color-bg: #f9f4f2;
  --color-bg-alt: #fff4d6;
  --color-surface: #ffffff;
  --color-primary: #3b197f;
  --color-primary-dark: #281466;
  --color-primary-light: #5f2b89;
  --color-accent: #ffce00;
  --color-accent-hover: #ffe14d;
  --color-accent-soft: #ffe9a8;
  --color-text: #2d2c2b;
  --color-text-muted: #4b4c4d;
  --color-border: #e2ded9;
  --color-success: #01a652;
  --color-footer: #281466;
  --hero-overlay: linear-gradient(125deg, rgba(59, 25, 127, 0.95), rgba(255, 115, 0, 0.8));
  --hero-fade: linear-gradient(to top, rgba(40, 20, 102, 0.72), transparent 55%);
  --gradient-brand: linear-gradient(135deg, #3b197f, #ff7300);
  --gradient-quote: linear-gradient(135deg, #3b197f, #ff7300);
  --header-bg: rgba(249, 244, 242, 0.94);
  --header-border: rgba(226, 222, 217, 0.95);
  --shadow-sm: 0 10px 28px rgba(59, 25, 127, 0.1);
  --shadow-md: 0 20px 44px rgba(59, 25, 127, 0.16);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  /* Single offset for sticky header — do not also set section scroll-margin */
  scroll-padding-top: calc(var(--header-height) + 1rem);
}

body {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-bg);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 1000;
  background: var(--color-primary);
  color: #fff;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

.eyebrow {
  margin: 0 0 0.5rem;
  font-size: clamp(1.55rem, 3.2vw, 2.25rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-primary);
  line-height: 1.2;
}

.eyebrow.light {
  color: var(--color-accent);
}

/* Hero keeps a quieter eyebrow under the large page title */
.hero-content .eyebrow {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  margin-bottom: 0.75rem;
}

h1,
h2,
h3 {
  font-family: "Fraunces", Georgia, serif;
  line-height: 1.15;
  color: var(--color-text);
}

h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  max-width: 18ch;
}

h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-weight: 600;
}

h3 {
  margin: 0 0 0.75rem;
  font-size: 1.35rem;
}

p {
  margin: 0 0 1rem;
}

.section {
  padding: 3.75rem 0;
}

.section-alt {
  background: var(--color-bg-alt);
}

.section-heading.center {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3rem;
}

.section-intro {
  color: var(--color-text-muted);
  font-size: 1.05rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--color-primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--color-primary-dark);
  color: #fff;
}

.btn-secondary {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.75);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.14);
}

.btn-light {
  background: var(--color-accent);
  color: var(--color-text);
}

.btn-small {
  padding: 0.65rem 1rem;
  font-size: 0.92rem;
}

.text-link {
  color: var(--color-blue, #0061ef);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--color-accent);
}

.text-link:hover {
  color: var(--color-primary-dark);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--header-bg);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--header-border);
}

.header-inner {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  font-weight: 600;
}

.logo-mark {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--gradient-brand);
  color: #fff;
  font-family: "Fraunces", Georgia, serif;
  font-size: 0.95rem;
}

.logo-img {
  width: 3.25rem;
  height: 3.25rem;
  object-fit: contain;
  border-radius: 50%;
  background: #fff;
  flex-shrink: 0;
}

.footer-logo .logo-img {
  width: 2.75rem;
  height: 2.75rem;
}

.logo-text {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.15rem;
  color: var(--color-text);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.site-nav a {
  text-decoration: none;
  color: var(--color-text);
  font-weight: 500;
  font-size: 0.95rem;
}

.site-nav a:not(.btn):hover {
  color: var(--color-primary);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: var(--color-primary);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.hero {
  position: relative;
  min-height: calc(100vh - var(--header-height));
  min-height: calc(100dvh - var(--header-height));
  display: grid;
  align-items: end;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    var(--hero-overlay),
    url("https://images.unsplash.com/photo-1558961363-fa8ccf8750f2?auto=format&fit=crop&w=1800&q=80") center/cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--hero-fade);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 4rem 0 5rem;
  color: #fff;
}

.hero-content h1,
.hero-content .hero-lead {
  color: #fff;
}

.hero-lead {
  max-width: 42rem;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.92);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin: 2rem 0 1.5rem;
}

.partner-note {
  margin: 0;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 36rem;
}

.partner-note a {
  color: var(--color-accent);
  font-weight: 600;
}

.section-tight {
  padding: 3.25rem 0 2.5rem;
}

.gallery-marquee {
  padding: 3.75rem 0 3rem;
}

/* Anchor targets: land the section top just under the sticky header */
main > section[id] {
  scroll-margin-top: 0;
}

.gallery-heading {
  margin-bottom: 1.75rem;
}

.marquee {
  overflow: hidden;
  width: min(calc(100% - 2rem), var(--container));
  margin-inline: auto;
  mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
}

.marquee-track {
  display: flex;
  gap: 1.25rem;
  width: max-content;
  animation: marquee-scroll 70s linear infinite;
  padding: 0.25rem 0.5rem 1rem;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.marquee-card {
  margin: 0;
  width: min(72vw, 280px);
  flex: 0 0 auto;
}

.marquee-photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  height: auto;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  display: block;
  background: var(--color-bg-alt);
}

.marquee-card figcaption {
  margin-top: 0.65rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-text);
}

.gallery-hint {
  text-align: center;
  margin: 0.5rem auto 0;
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

.testimonial-card {
  max-width: 820px;
  margin: 0 auto;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: clamp(1.75rem, 4vw, 3rem);
}

.testimonial-card blockquote {
  margin: 0 0 1.75rem;
}

.testimonial-card blockquote p {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
  line-height: 1.45;
  color: var(--color-text);
  margin: 0;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-avatar {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--gradient-brand);
  color: #fff;
  font-weight: 700;
  font-family: "Fraunces", Georgia, serif;
}

.testimonial-name {
  margin: 0;
  font-weight: 700;
}

.testimonial-role {
  margin: 0.15rem 0 0;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.testimonial-note {
  margin: 1.25rem 0 0;
  font-size: 0.88rem;
  color: var(--color-text-muted);
}

.mission-grid,
.stats-grid,
.bakes-grid,
.involved-grid,
.story-grid,
.about-grid,
.footer-grid {
  display: grid;
  gap: 1.5rem;
}

.mission-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mission-card,
.stat-card,
.bake-card,
.involved-card,
.quote-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.mission-card,
.involved-card {
  padding: 2rem;
}

.mission-card h3 {
  color: var(--color-primary);
}

.story-grid {
  grid-template-columns: 1.4fr 0.9fr;
  align-items: start;
}

.story-aside {
  display: grid;
  gap: 1.5rem;
}

.quote-card {
  padding: 2rem;
  background: var(--gradient-quote);
  color: #fff;
  border: 0;
}

.quote {
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.45rem;
  line-height: 1.45;
}

.checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.checklist li {
  position: relative;
  padding-left: 1.75rem;
  color: var(--color-text-muted);
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background: var(--color-success);
}

.stats-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.stat-card {
  padding: 2rem 1.5rem;
  text-align: center;
}

.stat-number {
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  line-height: 1;
  color: var(--color-indigo, #3b197f);
}

.stat-label {
  margin: 0.5rem 0 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.82rem;
  color: var(--color-primary);
}

.stat-detail {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.98rem;
}

.bakes-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.bake-card {
  padding: 2rem 1.5rem;
  text-align: center;
}

.bake-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.about-grid {
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
}

.highlight-line {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.35rem;
  color: var(--color-indigo, #3b197f);
}

.about-panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.about-photo-figure {
  margin: 0;
}

.about-photo-img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 360px;
  max-height: 520px;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.about-photo,
.gallery-photo {
  min-height: 220px;
  border-radius: var(--radius-md);
  background-position: center;
  background-size: cover;
  box-shadow: var(--shadow-sm);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 220px;
  gap: 1rem;
}

.gallery-item {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.gallery-item-wide {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-photo-1 {
  height: 100%;
  background-image: url("https://images.unsplash.com/photo-1464305795204-6f5bbfc77636?auto=format&fit=crop&w=1200&q=80");
}

.gallery-photo-2 {
  height: 100%;
  background-image: url("https://images.unsplash.com/photo-1548365320-74ea71b47a63?auto=format&fit=crop&w=800&q=80");
}

.gallery-photo-3 {
  height: 100%;
  background-image: url("https://images.unsplash.com/photo-1517433670267-08bb4b8af762?auto=format&fit=crop&w=800&q=80");
}

.gallery-photo-4 {
  height: 100%;
  background-image: url("https://images.unsplash.com/photo-1556910103-1c02745aae4d?auto=format&fit=crop&w=800&q=80");
}

.gallery-photo-5 {
  height: 100%;
  background-image: url("https://images.unsplash.com/photo-1571115177098-24ec42ed204d?auto=format&fit=crop&w=800&q=80");
}

.gallery-item figcaption {
  font-size: 0.92rem;
  color: var(--color-text-muted);
}

.gallery-note {
  margin-top: 1.5rem;
  text-align: center;
  color: var(--color-text-muted);
  font-size: 0.92rem;
}

.cta-band {
  background: var(--gradient-quote);
  color: #fff;
  padding: 3.5rem 0;
}

.cta-band h2 {
  color: #fff;
  margin: 0;
  max-width: 16ch;
}

.cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.involved-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mission-prose {
  max-width: 48rem;
  margin: 0 auto;
  text-align: center;
  color: var(--color-text-muted);
}

.mission-prose .highlight-line {
  margin-top: 1.5rem;
}

.impact-note {
  max-width: 44rem;
  margin: 2rem auto 0;
  text-align: center;
  color: var(--color-text-muted);
}

.locations-grid,
.when-where,
.services-grid,
.donate-grid,
.volunteer-grid,
.contact-grid {
  display: grid;
  gap: 1.5rem;
}

.locations-grid,
.when-where,
.services-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.location-card,
.info-card,
.donate-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 2rem;
}

.location-tag {
  margin: 0 0 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-primary);
}

.location-city {
  margin: 0 0 0.75rem;
  font-weight: 600;
  color: var(--color-text-muted);
}

.info-card ul,
.services-grid ul {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--color-text-muted);
}

.info-card li + li,
.services-grid li + li {
  margin-top: 0.55rem;
}

.goal-banner {
  margin-top: 1.25rem;
  padding: 1rem 1.15rem;
  border-radius: var(--radius-sm);
  background: var(--color-accent-soft);
  color: var(--color-primary-dark);
  font-weight: 600;
}

.goal-banner-link {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.goal-banner-link:hover {
  color: var(--color-primary, #ff7300);
}

.involved-cta {
  margin-top: 2rem;
  text-align: center;
}

.signup-links {
  margin-top: 2.5rem;
}

.signup-links-title {
  text-align: center;
  margin-bottom: 1.25rem;
}

.involved-card .btn {
  margin-top: 0.75rem;
}

.volunteer-grid {
  grid-template-columns: 0.95fr 1.05fr;
  align-items: start;
}

.admin-link-wrap {
  margin-top: 1.25rem;
  color: var(--color-text-muted);
}

.volunteer-form {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 1.75rem;
  display: grid;
  gap: 1rem;
}

.form-row {
  display: grid;
  gap: 0.4rem;
}

.form-row.two-col {
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.volunteer-form label {
  font-weight: 600;
  font-size: 0.92rem;
}

.volunteer-form input,
.volunteer-form select,
.volunteer-form textarea {
  width: 100%;
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  font: inherit;
  color: var(--color-text);
  background: #fff;
}

.volunteer-form input:focus,
.volunteer-form select:focus,
.volunteer-form textarea:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: 1px;
}

.availability-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 0.95rem;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  background: #fff;
  font: inherit;
  color: var(--color-text);
  cursor: pointer;
  text-align: left;
}

.availability-trigger:hover {
  border-color: var(--color-primary);
}

.availability-trigger-icon {
  font-size: 1.1rem;
}

.field-hint {
  margin: 0.35rem 0 0;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.calendar-modal[hidden] {
  display: none !important;
}

.calendar-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.calendar-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(45, 44, 43, 0.45);
}

.calendar-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 520px);
  max-height: calc(100vh - 2rem);
  overflow: auto;
  background: #fff;
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  padding: 1.25rem 1.25rem 1.35rem;
}

.calendar-dialog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.calendar-dialog-header h3 {
  margin: 0;
  font-size: 1.25rem;
}

.calendar-close {
  border: 0;
  background: transparent;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  color: var(--color-text-muted);
}

.calendar-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  margin-bottom: 0.85rem;
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.calendar-legend .dot {
  display: inline-block;
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  margin-right: 0.3rem;
  vertical-align: middle;
}

.calendar-legend .dot.open { background: var(--color-success); }
.calendar-legend .dot.taken { background: #f97316; }
.calendar-legend .dot.closed { background: #c6c1b9; }

.calendar-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.calendar-nav p {
  margin: 0;
  font-weight: 700;
}

.calendar-nav button {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  background: #fff;
  cursor: pointer;
  font-size: 1.25rem;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.35rem;
}

.cal-weekday {
  text-align: center;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--color-text-muted);
  padding: 0.25rem 0;
}

.cal-day {
  min-height: 3.4rem;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.1rem;
  cursor: pointer;
  padding: 0.25rem;
}

.cal-day.empty {
  border: 0;
  background: transparent;
  min-height: 0;
}

.cal-day-num {
  font-weight: 700;
  font-size: 0.95rem;
}

.cal-day-status {
  font-size: 0.62rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.cal-day.open {
  border-color: #86efac;
  background: #f0fdf4;
}

.cal-day.open:hover {
  border-color: var(--color-success);
}

.cal-day.selected {
  outline: 2px solid var(--color-primary);
  outline-offset: 1px;
}

.cal-day.taken {
  background: #fff7ed;
  border-color: #fed7aa;
  color: #9a3412;
  cursor: not-allowed;
}

.cal-day.closed,
.cal-day.past {
  background: #f5f5f4;
  color: #a8a29e;
  cursor: not-allowed;
}

.cal-day:disabled {
  opacity: 1;
}

.slot-panel {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--color-border);
}

.slot-panel-title {
  margin: 0 0 0.65rem;
  font-weight: 700;
}

.slot-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
}

.slot-btn {
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: #fff;
  padding: 0.7rem 0.85rem;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.slot-btn:hover:not(:disabled) {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.slot-btn.selected {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}

.slot-btn.taken,
.slot-btn:disabled {
  background: #f5f5f4;
  color: #a8a29e;
  cursor: not-allowed;
}

.calendar-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.65rem;
  margin-top: 1.15rem;
}

.btn-outline-soft {
  background: transparent;
  border: 2px solid var(--color-border);
  color: var(--color-text);
}

.form-status {
  margin: 0;
  min-height: 1.4em;
  font-weight: 600;
}

.form-status.success {
  color: var(--color-success);
}

.form-status.error {
  color: #b42318;
}

.center-note {
  text-align: center;
  max-width: 44rem;
  margin: 1.5rem auto;
  color: var(--color-text-muted);
}

.center-actions {
  text-align: center;
}

.donate-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.donate-amount {
  margin: 0 0 0.35rem;
  font-family: "Fraunces", Georgia, serif;
  font-size: 2rem;
  color: var(--color-primary);
  line-height: 1;
}

.support-details {
  margin-top: 2rem;
  max-width: 48rem;
  color: var(--color-text-muted);
}

.support-details .btn {
  margin-top: 0.75rem;
}

.contact-grid {
  grid-template-columns: 1.2fr 0.8fr;
  align-items: start;
}

.founders h3 {
  margin-top: 0;
}

.founder-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.founder-list a {
  display: block;
  color: var(--color-text-muted);
  text-decoration: none;
}

.founder-list a:hover {
  color: var(--color-primary);
}

.site-footer {
  background: var(--color-footer);
  color: rgba(255, 255, 255, 0.82);
  padding: 3.5rem 0 2rem;
}

.footer-grid {
  grid-template-columns: 1.4fr 0.8fr 0.8fr;
  margin-bottom: 2rem;
}

.footer-logo .logo-text,
.footer-title {
  color: #fff;
}

.footer-title {
  margin: 0 0 1rem;
  font-family: "Inter", sans-serif;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--color-accent-soft);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.92rem;
}

.preview-badge {
  margin: 0;
  color: var(--color-accent-soft);
  font-weight: 600;
}

@media (max-width: 960px) {
  .mission-grid,
  .stats-grid,
  .bakes-grid,
  .involved-grid,
  .story-grid,
  .about-grid,
  .footer-grid,
  .gallery-grid,
  .locations-grid,
  .when-where,
  .services-grid,
  .donate-grid,
  .volunteer-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .form-row.two-col {
    grid-template-columns: 1fr;
  }

  .gallery-item-wide {
    grid-column: auto;
    grid-row: auto;
  }

  .gallery-grid {
    grid-auto-rows: 200px;
  }

  .cta-band-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
    padding: 1rem 1rem 1.25rem;
    flex-direction: column;
    align-items: stretch;
    display: none;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-header {
    position: sticky;
  }

  .header-inner {
    position: relative;
  }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track {
    animation: none;
    flex-wrap: wrap;
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    justify-content: center;
  }

  .marquee-card[aria-hidden="true"] {
    display: none;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 3.25rem 0;
  }

  .about-photo-img {
    min-height: 280px;
    max-height: 420px;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .marquee-card {
    width: min(70vw, 240px);
  }
}
