/* ============================================================
   Buddhist Church of Florin — Redesign v2.0
   style.css  |  2026  |  BCA purple palette + PABT-inspired structure
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400;0,500;0,600;1,400;1,500&family=Nunito:ital,wght@0,300;0,400;0,600;0,700;0,800;1,400&display=swap');

/* ── Reset & Base ───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --maroon:        #7F3E98;
  --maroon-dark:   #4E2368;
  --maroon-mid:    #9050AC;
  --maroon-light:  #B07AC8;
  --gold:          #C08828;
  --gold-light:    #DCA840;
  --gold-pale:     #F2E4C0;
  --gold-muted:    #A07020;
  --lotus:         #C85878;
  --lotus-light:   #E8A8B8;
  --sage:          #4A7A4A;
  --cream:         #FFFFFF;
  --parchment:     #F3EEF9;
  --parchment-mid: #E2D4EE;
  --charcoal:      #1E1428;
  --gray-mid:      #5E5470;
  --gray-light:    #9888A8;
  --white:         #FFFFFF;
  --ink:           #130D1A;
  --ink-mid:       #1E1428;
  --shadow-sm:     0 1px 6px rgba(30,20,40,.08);
  --shadow-md:     0 4px 18px rgba(30,20,40,.12);
  --shadow-lg:     0 12px 40px rgba(30,20,40,.15);
  --radius:        8px;
  --radius-lg:     14px;
  --transition:    .25s cubic-bezier(.4,0,.2,1);
}

html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Nunito', 'Segoe UI', sans-serif;
  background: var(--white);
  color: var(--charcoal);
  line-height: 1.75;
  overflow-x: hidden;
}
/* Global rounded corners on content images */
img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius);
}
/* Exceptions */
.logo-dharma { border-radius: 0; }
.org-banner  { border-radius: 0; }
.cal-dot     { border-radius: 50%; }
a   { color: var(--maroon); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--maroon-dark); }

h1, h2, h3, h4, h5, h6 {
  font-family: 'Nunito', sans-serif;
  line-height: 1.28;
  color: var(--charcoal);
  letter-spacing: .01em;
}
p { margin-bottom: 1.1rem; }
ul { list-style: none; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.section { padding: 68px 0; }
.section-alt { background: var(--parchment); }
.section-dark { background: var(--maroon-dark); color: var(--cream); }
.section-dark h2, .section-dark h3, .section-dark p { color: var(--cream); }

/* ── Top Bar ─────────────────────────────────────────────── */
.top-bar {
  background: var(--parchment);
  color: var(--gray-mid);
  border-bottom: 1px solid var(--parchment-mid);
  font-size: .78rem;
  padding: 5px 0;
  letter-spacing: .02em;
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.top-bar a { color: var(--maroon); }
.top-bar a:hover { color: var(--maroon-dark); }

/* ── Site Header / Nav ───────────────────────────────────── */
.site-header {
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 999;
  border-bottom: 1px solid var(--parchment-mid);
  box-shadow: 0 1px 8px rgba(0,0,0,.06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  max-width: 1200px;
  margin: 0 auto;
  height: 66px;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.logo-dharma { height: 44px; width: 44px; flex-shrink: 0; display: block; transition: transform var(--transition); border-radius: 0; }
.logo-dharma--white { filter: brightness(0) invert(1); }
.site-logo:hover .logo-dharma { transform: scale(1.06); }
.logo-text { line-height: 1.18; }
.logo-text .name { font-family: 'Nunito', sans-serif; font-size: .82rem; font-weight: 700; color: var(--maroon); display: block; letter-spacing: .04em; text-transform: uppercase; }
.logo-text .sub  { font-size: .7rem; color: var(--gray-mid); letter-spacing: .05em; text-transform: uppercase; }

.main-nav { display: flex; align-items: center; }
.nav-list { display: flex; align-items: center; gap: 2px; }
.nav-item { position: relative; }
.nav-link {
  display: flex; align-items: center; gap: 4px;
  padding: 0 12px; height: 66px;
  color: var(--charcoal);
  font-size: .82rem; font-weight: 600;
  letter-spacing: .02em;
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
}
.nav-link svg { width: 9px; height: 9px; fill: currentColor; flex-shrink: 0; border-radius: 0; }
.nav-link:hover, .nav-item:hover > .nav-link, .nav-link.active {
  color: var(--maroon); background: rgba(127,62,152,.06);
}
.dropdown {
  position: absolute; top: 100%; left: 0;
  background: var(--white);
  min-width: 215px;
  border: 1px solid var(--parchment-mid);
  border-top: 2px solid var(--maroon);
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: var(--shadow-md);
  opacity: 0; pointer-events: none;
  transform: translateY(-6px);
  transition: opacity .18s, transform .18s;
  z-index: 1000;
}
.nav-item:hover > .dropdown { opacity: 1; pointer-events: auto; transform: translateY(0); }
.dropdown a {
  display: block; padding: 9px 16px;
  color: var(--charcoal); font-size: .84rem;
  border-bottom: 1px solid var(--parchment-mid);
  transition: background var(--transition), color var(--transition);
}
.dropdown a:last-child { border-bottom: none; }
.dropdown a:hover { background: var(--parchment); color: var(--maroon); }

.sub-dropdown-item { position: relative; }
.sub-dropdown {
  position: absolute; left: 100%; top: 0;
  background: var(--white); min-width: 200px;
  border: 1px solid var(--parchment-mid);
  border-top: 2px solid var(--maroon);
  border-radius: 0 var(--radius) var(--radius) var(--radius);
  box-shadow: var(--shadow-md);
  opacity: 0; pointer-events: none;
  transform: translateX(-4px);
  transition: opacity .18s, transform .18s;
}
.sub-dropdown-item:hover > .sub-dropdown { opacity: 1; pointer-events: auto; transform: translateX(0); }

.nav-toggle {
  display: none;
  flex-direction: column; justify-content: center; gap: 5px;
  width: 36px; height: 36px;
  cursor: pointer; background: none; border: none; padding: 4px;
}
.nav-toggle span { display: block; width: 100%; height: 2px; background: var(--charcoal); border-radius: 2px; transition: transform var(--transition), opacity var(--transition); }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-cta {
  margin-left: 8px;
  padding: 8px 16px !important; height: auto !important;
  border: 1.5px solid var(--maroon) !important;
  border-radius: var(--radius);
  color: var(--maroon) !important;
  font-size: .81rem;
  background: transparent;
  transition: border-color var(--transition), background var(--transition), color var(--transition);
}
.nav-cta:hover { background: var(--maroon) !important; color: var(--white) !important; border-color: var(--maroon) !important; }

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 24px;
  border-radius: var(--radius);
  font-family: 'Nunito', sans-serif;
  font-weight: 600;
  font-size: .9rem;
  transition: all var(--transition);
  cursor: pointer;
  border: 1.5px solid transparent;
  text-decoration: none;
}
.btn-primary {
  background: var(--maroon);
  color: var(--white);
  border-color: var(--maroon);
}
.btn-primary:hover {
  background: var(--maroon-dark);
  border-color: var(--maroon-dark);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(78,35,104,.35);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.5);
}
.btn-outline:hover {
  background: rgba(255,255,255,.10);
  border-color: var(--white);
  color: var(--white);
}
.btn-maroon {
  background: var(--maroon);
  color: var(--white);
  border-color: var(--maroon);
}
.btn-maroon:hover {
  background: var(--maroon-dark);
  border-color: var(--maroon-dark);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.btn-ghost {
  background: transparent;
  color: var(--maroon);
  border-color: var(--maroon);
}
.btn-ghost:hover { background: var(--maroon); color: var(--white); }

/* ── Hero ────────────────────────────────────────────────── */
.hero {
  position: relative; min-height: 75vh;
  display: block;
  overflow: hidden;
  background: var(--ink);
}
.hero-bg {
  position: absolute; inset: 0; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='%23DCA840' stroke-width='.7'%3E%3Ccircle cx='40' cy='40' r='16'/%3E%3Cpath d='M40 24 Q48 32 40 40 Q32 32 40 24Z'/%3E%3Cpath d='M56 40 Q48 48 40 40 Q48 32 56 40Z'/%3E%3Cpath d='M40 56 Q32 48 40 40 Q48 48 40 56Z'/%3E%3Cpath d='M24 40 Q32 32 40 40 Q32 48 24 40Z'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 80px 80px;
  border-radius: 0;
}
.hero-content { position: relative; z-index: 2; padding: 80px 24px; max-width: 820px; }
.hero-wheel {
  width: 72px; height: 72px; margin: 0 auto 26px;
  fill: rgba(220,168,64,.75);
  animation: spin-slow 45s linear infinite;
}
@keyframes spin-slow { to { transform: rotate(360deg); } }
.hero-eyebrow { font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 14px; font-weight: 600; display: block; opacity: .85; }
.hero h1 { font-family: 'Nunito', sans-serif; font-size: clamp(1.9rem, 5vw, 3.4rem); font-weight: 700; color: var(--white); margin-bottom: 14px; line-height: 1.15; letter-spacing: .01em; }
.hero h1 em { color: var(--gold-light); font-style: italic; }
.hero-tagline { font-family: 'EB Garamond', serif; font-size: clamp(1.05rem, 2.5vw, 1.3rem); color: rgba(255,255,255,.78); font-style: italic; margin-bottom: 36px; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── Quick Info Bar ──────────────────────────────────────── */
.quick-info { background: var(--parchment); border-bottom: 1px solid var(--parchment-mid); }
.quick-info .container { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.quick-info-item {
  display: flex; align-items: center; gap: 14px;
  padding: 18px 24px; text-decoration: none;
  border-right: 1px solid var(--parchment-mid);
  transition: background var(--transition);
}
.quick-info-item:last-child { border-right: none; }
.quick-info-item:hover { background: rgba(127,62,152,.06); }
.qi-icon { width: 30px; height: 30px; fill: var(--maroon); flex-shrink: 0; opacity: .8; }
.qi-text .label { font-size: .68rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--gray-mid); display: block; }
.qi-text .value { font-size: .88rem; font-weight: 600; color: var(--charcoal); display: block; }

/* ── Section Heading ─────────────────────────────────────── */
.section-heading { text-align: center; margin-bottom: 48px; }
.section-heading .eyebrow { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-muted); font-weight: 700; margin-bottom: 10px; display: block; }
.section-heading h2 { font-size: clamp(1.8rem, 3.5vw, 2.7rem); margin-bottom: 14px; font-weight: 500; }
.section-heading .rule { width: 48px; height: 2px; background: linear-gradient(90deg, var(--gold-muted), var(--gold-light)); margin: 0 auto 14px; border-radius: 2px; }
.section-heading p { max-width: 580px; margin: 0 auto; color: var(--gray-mid); font-size: 1.02rem; }

/* ── Lotus Icon ──────────────────────────────────────────── */
.lotus-icon { display: block; margin: 0 auto 14px; opacity: .7; }

/* ── Cards ───────────────────────────────────────────────── */
.service-card {
  background: var(--white); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm); padding: 32px 26px;
  border-top: 3px solid var(--parchment-mid);
  border-left: none;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  height: 100%;
}
.service-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-top-color: var(--maroon-dark); }
.service-card .icon { width: 42px; height: 42px; fill: var(--maroon); margin-bottom: 14px; opacity: .8; }
.service-card h3 { font-size: 1.18rem; margin-bottom: 8px; font-weight: 500; }
.service-card p { color: var(--gray-mid); font-size: .92rem; margin-bottom: 0; }

.grid-2   { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.grid-3   { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-4   { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.grid-auto{ display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 26px; }

.org-card { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform var(--transition), box-shadow var(--transition); display: flex; flex-direction: column; }
.org-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.org-card-header { background: linear-gradient(135deg, var(--ink), var(--ink-mid)); padding: 26px 22px 18px; text-align: center; }
.org-card-header .org-icon { width: 48px; height: 48px; fill: rgba(220,168,64,.8); margin: 0 auto 10px; }
.org-card-header h3 { color: var(--white); font-size: .98rem; font-weight: 500; }
.org-card-body { padding: 20px 22px; flex: 1; display: flex; flex-direction: column; }
.org-card-body p { color: var(--gray-mid); font-size: .88rem; flex: 1; margin-bottom: 16px; }
.org-card-body .btn { align-self: flex-start; font-size: .82rem; padding: 8px 16px; }

/* ── Events ──────────────────────────────────────────────── */
.event-item { display: flex; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--parchment-mid); align-items: flex-start; }
.event-item:last-child { border-bottom: none; }
.event-date-box { flex-shrink: 0; width: 58px; height: 62px; background: var(--ink-mid); border-radius: var(--radius); display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--white); text-align: center; }
.event-date-box .month { font-size: .6rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: rgba(220,168,64,.85); }
.event-date-box .day { font-family: 'Nunito', sans-serif; font-size: 1.3rem; font-weight: 700; line-height: 1; }
.event-info h4 { font-size: .98rem; margin-bottom: 3px; color: var(--charcoal); }
.event-info p { color: var(--gray-mid); font-size: .87rem; margin: 0; }
.event-tag { display: inline-block; padding: 2px 9px; border-radius: 20px; font-size: .68rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; background: var(--gold-pale); color: var(--gold-muted); margin-bottom: 5px; }
.event-tag.service    { background: #E8F0FF; color: #2A4A9A; }
.event-tag.bwa        { background: #FFE8F0; color: #8B2050; }
.event-tag.fundraiser { background: #FFF0E0; color: #8B5020; }
.event-tag.education  { background: #E8F5E8; color: #2A6A2A; }
.event-tag.community  { background: #F0E8FF; color: #5A2A8B; }

/* ── Calendar ────────────────────────────────────────────── */
.cal-container { display: grid; grid-template-columns: 380px 1fr; gap: 32px; align-items: start; max-width: 860px; margin: 0 auto; }
.cal-panel { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); overflow: hidden; border: 1px solid var(--parchment-mid); }
.cal-header { background: var(--maroon); padding: 18px 20px; display: flex; align-items: center; justify-content: space-between; }
.cal-month-title { font-family: 'Nunito', sans-serif; font-size: 1.05rem; font-weight: 700; color: var(--white); letter-spacing: .01em; }
.cal-nav { background: none; border: 1px solid rgba(255,255,255,.3); color: var(--white); width: 30px; height: 30px; border-radius: 50%; cursor: pointer; font-size: 1rem; display: flex; align-items: center; justify-content: center; transition: background var(--transition); }
.cal-nav:hover { background: rgba(255,255,255,.15); }
.cal-dow { display: grid; grid-template-columns: repeat(7,1fr); background: var(--parchment); padding: 8px 0 6px; }
.cal-dow span { text-align: center; font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--gray-mid); }
.cal-grid { display: grid; grid-template-columns: repeat(7,1fr); padding: 0 8px 10px; gap: 2px; }
.cal-day { min-height: 46px; padding: 4px; border-radius: 6px; cursor: default; display: flex; flex-direction: column; align-items: center; transition: background var(--transition); }
.cal-day.in-month { cursor: pointer; }
.cal-day.in-month:hover { background: var(--parchment); }
.cal-day.other-month .cal-day-num { color: var(--gray-light); opacity: .45; }
.cal-day-num { font-size: .85rem; font-weight: 500; color: var(--charcoal); width: 26px; height: 26px; display: flex; align-items: center; justify-content: center; border-radius: 50%; margin-bottom: 2px; }
.cal-day.today .cal-day-num { background: var(--maroon); color: var(--white); font-weight: 700; }
.cal-day.selected .cal-day-num { background: var(--gold-pale); color: var(--maroon); font-weight: 700; outline: 2px solid var(--gold-muted); }
.cal-dots { display: flex; gap: 2px; flex-wrap: wrap; justify-content: center; max-width: 36px; }
.cal-dot { width: 5px; height: 5px; border-radius: 50%; flex-shrink: 0; }
.cal-dot.service    { background: #4A70D0; }
.cal-dot.bwa        { background: #C85878; }
.cal-dot.fundraiser { background: #D07840; }
.cal-dot.education  { background: #4A9A4A; }
.cal-dot.community  { background: #7A48C8; }
.cal-legend { display: flex; gap: 12px; flex-wrap: wrap; padding: 10px 14px 12px; border-top: 1px solid var(--parchment-mid); }
.cal-leg-item { display: flex; align-items: center; gap: 5px; font-size: .72rem; color: var(--gray-mid); }
.cal-leg-item .cal-dot { width: 7px; height: 7px; }
.cal-events-panel { }
.cal-events-title { font-size: 1.1rem; font-weight: 500; color: var(--maroon); margin-bottom: 16px; padding-bottom: 10px; border-bottom: 2px solid var(--parchment-mid); }
.cal-event-item { padding: 12px 0; border-bottom: 1px solid var(--parchment-mid); }
.cal-event-item:last-child { border-bottom: none; }
.cal-event-item h4 { font-size: .96rem; font-weight: 600; margin-bottom: 3px; color: var(--charcoal); }
.cal-event-item .cal-ev-date { font-size: .8rem; color: var(--gold-muted); font-weight: 600; margin-bottom: 3px; }
.cal-event-item p { font-size: .85rem; color: var(--gray-mid); margin: 0; }
.cal-no-events { color: var(--gray-light); font-size: .9rem; font-style: italic; padding: 16px 0; }

/* ── Calendar ────────────────────────────────────────────── */
.cal-wrap { max-width: 1060px; margin: 0 auto; padding: 0 24px 60px; }
.cal-container { display: grid; grid-template-columns: 400px 1fr; gap: 36px; align-items: start; }
.cal-panel { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); overflow: hidden; border: 1px solid var(--parchment-mid); position: sticky; top: 82px; }
.cal-header { background: var(--maroon); padding: 16px 18px; display: flex; align-items: center; justify-content: space-between; }
.cal-month-title { font-family: 'Nunito', sans-serif; font-size: 1.1rem; font-weight: 700; color: var(--white); letter-spacing: .01em; }
.cal-nav { background: none; border: 1px solid rgba(255,255,255,.3); color: var(--white); width: 30px; height: 30px; border-radius: 50%; cursor: pointer; font-size: 1rem; display: flex; align-items: center; justify-content: center; transition: background .18s; line-height: 1; }
.cal-nav:hover { background: rgba(255,255,255,.18); }
.cal-dow { display: grid; grid-template-columns: repeat(7,1fr); background: var(--parchment); border-bottom: 1px solid var(--parchment-mid); }
.cal-dow span { text-align: center; padding: 8px 0 6px; font-size: .66rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--gray-mid); }
.cal-grid { display: grid; grid-template-columns: repeat(7,1fr); padding: 6px 8px 8px; gap: 1px; }
.cal-day { min-height: 50px; padding: 3px 2px; border-radius: 6px; display: flex; flex-direction: column; align-items: center; gap: 2px; cursor: default; transition: background .15s; }
.cal-day.in-month { cursor: pointer; }
.cal-day.in-month:hover { background: var(--parchment); }
.cal-day-num { font-size: .82rem; font-weight: 500; color: var(--charcoal); width: 26px; height: 26px; display: flex; align-items: center; justify-content: center; border-radius: 50%; flex-shrink: 0; }
.cal-day.other-month .cal-day-num { color: var(--gray-light); opacity: .4; }
.cal-day.today .cal-day-num { background: var(--maroon); color: var(--white); font-weight: 700; }
.cal-day.selected:not(.today) .cal-day-num { background: var(--parchment-mid); color: var(--maroon); font-weight: 700; outline: 1.5px solid var(--maroon-light); outline-offset: 1px; }
.cal-dots { display: flex; gap: 2px; flex-wrap: wrap; justify-content: center; max-width: 32px; }
.cal-dot { width: 5px; height: 5px; border-radius: 50%; flex-shrink: 0; }
.cal-dot.service    { background: #4A70D0; }
.cal-dot.bwa        { background: #C85878; }
.cal-dot.fundraiser { background: #D07840; }
.cal-dot.education  { background: #4A9A4A; }
.cal-dot.community  { background: #7A48C8; }
.cal-dot.festival   { background: #D0A800; }
.cal-legend { display: flex; gap: 10px; flex-wrap: wrap; padding: 9px 12px 11px; border-top: 1px solid var(--parchment-mid); background: var(--parchment); }
.cal-leg-item { display: flex; align-items: center; gap: 5px; font-size: .69rem; color: var(--gray-mid); font-weight: 600; letter-spacing: .02em; }
.cal-leg-item .cal-dot { width: 7px; height: 7px; }
.cal-events-panel { padding-top: 4px; }
.cal-events-title { font-family: 'Nunito', sans-serif; font-size: 1.1rem; font-weight: 700; color: var(--maroon); margin-bottom: 18px; padding-bottom: 10px; border-bottom: 2px solid var(--parchment-mid); }
.cal-events-title--inline { margin-bottom: 0; border-bottom: none; padding-bottom: 0; }
.cal-divider { border-bottom: 2px solid var(--parchment-mid); margin-bottom: 16px; }
.cal-event-card { background: var(--white); border: 1px solid var(--parchment-mid); border-radius: var(--radius); padding: 14px 16px; margin-bottom: 10px; border-left: 3px solid var(--parchment-mid); transition: box-shadow .15s; }
.cal-event-card:hover { box-shadow: var(--shadow-sm); }
.cal-event-card.service    { border-left-color: #4A70D0; }
.cal-event-card.bwa        { border-left-color: #C85878; }
.cal-event-card.fundraiser { border-left-color: #D07840; }
.cal-event-card.education  { border-left-color: #4A9A4A; }
.cal-event-card.community  { border-left-color: #7A48C8; }
.cal-event-card.festival   { border-left-color: #D0A800; }
.cal-ev-tag { display: inline-block; font-size: .66rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 2px 7px; border-radius: 10px; margin-bottom: 5px; }
.cal-ev-tag.service    { background: #E8F0FF; color: #2A4A9A; }
.cal-ev-tag.bwa        { background: #FFE8F0; color: #8B2050; }
.cal-ev-tag.fundraiser { background: #FFF0E0; color: #8B5020; }
.cal-ev-tag.education  { background: #E8F5E8; color: #2A6A2A; }
.cal-ev-tag.community  { background: #F0E8FF; color: #5A2A8B; }
.cal-ev-tag.festival   { background: #FFF8E0; color: #806800; }
.cal-ev-date { font-size: .78rem; color: var(--gold-muted); font-weight: 600; margin-bottom: 3px; }
.cal-event-card h4 { font-family: 'Nunito', sans-serif; font-size: .97rem; color: var(--charcoal); margin-bottom: 3px; font-weight: 700; }
.cal-event-card p { font-size: .84rem; color: var(--gray-mid); margin: 0; line-height: 1.55; }
.cal-no-events { color: var(--gray-light); font-size: .9rem; font-style: italic; padding: 20px 0; text-align: center; }
.cal-month-filter { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.cal-month-filter select { border: 1px solid var(--parchment-mid); border-radius: var(--radius); padding: 6px 10px; font-family: 'Nunito', sans-serif; font-size: .85rem; color: var(--charcoal); background: var(--white); cursor: pointer; }
.cal-view-all { display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; color: var(--maroon); font-weight: 600; cursor: pointer; margin-left: auto; }
.cal-view-all:hover { color: var(--maroon-dark); }
.cal-services-note { background: var(--parchment); border-radius: var(--radius); padding: 14px 18px; margin-bottom: 18px; font-size: .86rem; color: var(--gray-mid); border-left: 3px solid var(--maroon); line-height: 1.6; }

/* ── Quote Block ─────────────────────────────────────────── */
.quote-block { background: linear-gradient(150deg, var(--ink), var(--ink-mid)); padding: 68px 24px; text-align: center; }
.quote-block blockquote { font-family: 'EB Garamond', serif; font-size: clamp(1.25rem, 3vw, 1.85rem); font-style: italic; color: rgba(255,255,255,.9); max-width: 680px; margin: 0 auto 18px; line-height: 1.68; font-weight: 400; }
.quote-block cite { color: var(--gold-light); font-size: .86rem; letter-spacing: .08em; font-style: normal; font-family: 'Nunito', sans-serif; font-weight: 600; text-transform: uppercase; opacity: .85; }

/* ── Info Box ─────────────────────────────────────────────── */
.info-box { background: var(--white); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-sm); border: 1px solid var(--parchment-mid); }
.info-box h3 { font-size: 1.18rem; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--parchment-mid); font-weight: 500; }
.info-row { display: flex; gap: 12px; margin-bottom: 12px; align-items: flex-start; }
.info-row svg { width: 18px; height: 18px; fill: var(--maroon); flex-shrink: 0; margin-top: 3px; }
.info-row p { margin: 0; color: var(--gray-mid); font-size: .92rem; }
.info-row a { color: var(--maroon); }
.info-row a:hover { color: var(--maroon-dark); }

/* ── Page Hero ───────────────────────────────────────────── */
.page-hero { background: var(--parchment); border-bottom: 3px solid var(--maroon); padding: 30px 24px; text-align: center; position: relative; overflow: hidden; }
.page-hero::after { content: none; }
.page-hero .eyebrow { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-muted); font-weight: 700; margin-bottom: 6px; display: block; }
.page-hero h1 { font-family: 'Nunito', sans-serif; font-size: clamp(1.4rem, 3.5vw, 2.2rem); color: var(--charcoal); margin-bottom: 6px; font-weight: 700; letter-spacing: .01em; }
.page-hero p { max-width: 820px; margin: 0 auto; color: var(--gray-mid); font-size: .92rem; }

/* ── Breadcrumb ──────────────────────────────────────────── */
.breadcrumb { background: var(--parchment); padding: 10px 0; border-bottom: 1px solid var(--parchment-mid); }
.breadcrumb .container { display: flex; gap: 8px; align-items: center; font-size: .82rem; color: var(--gray-light); }
.breadcrumb .sep { color: var(--parchment-mid); }
.breadcrumb a { color: var(--maroon); }
.breadcrumb a:hover { color: var(--maroon-dark); }

/* ── Prose ───────────────────────────────────────────────── */
.prose { max-width: 740px; margin: 0 auto; }
.prose h2 { font-size: 1.75rem; margin: 2rem 0 .8rem; font-weight: 500; }
.prose h3 { font-size: 1.22rem; margin: 1.6rem 0 .6rem; color: var(--maroon-mid); }
.prose p  { color: var(--charcoal); line-height: 1.82; }
.prose ul { list-style: disc; padding-left: 22px; margin-bottom: 1rem; }
.prose li { color: var(--charcoal); line-height: 1.82; margin-bottom: .4rem; }
.prose strong { color: var(--maroon); }
.prose .lead { font-size: 1.14rem; color: var(--gray-mid); font-style: italic; font-family: 'EB Garamond', serif; margin-bottom: 1.8rem; line-height: 1.72; }

/* ── Divider Rule ─────────────────────────────────────────── */
.gold-rule { display: flex; align-items: center; gap: 16px; margin: 36px 0; }
.gold-rule::before, .gold-rule::after { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--parchment-mid)); }
.gold-rule::after { background: linear-gradient(90deg, var(--parchment-mid), transparent); }
.gold-rule .diamond { width: 8px; height: 8px; background: var(--maroon); transform: rotate(45deg); flex-shrink: 0; opacity: .7; }

/* ── Scholarship Card ────────────────────────────────────── */
.scholarship-card { background: var(--white); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-sm); border-left: 3px solid var(--gold-muted); transition: transform var(--transition); }
.scholarship-card:hover { transform: translateX(3px); }
.scholarship-card h3 { font-size: 1.08rem; margin-bottom: 8px; font-weight: 500; }
.scholarship-card .amount { font-size: 1.35rem; font-weight: 700; color: var(--gold-muted); margin-bottom: 10px; display: block; }

/* ── Membership Tiers ────────────────────────────────────── */
.tier-card { background: var(--white); border-radius: var(--radius-lg); padding: 28px 24px; box-shadow: var(--shadow-sm); border-top: 3px solid var(--parchment-mid); transition: transform var(--transition), box-shadow var(--transition); text-align: center; border: 1px solid var(--parchment-mid); }
.tier-card.featured { border-color: var(--maroon-light); border-top-color: var(--maroon); box-shadow: 0 0 0 1px var(--maroon-light), var(--shadow-md); }
.tier-card:hover:not(.featured) { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.tier-name { font-family: 'Nunito', sans-serif; font-size: .9rem; color: var(--maroon); margin-bottom: 6px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; }
.tier-price { font-size: 1.9rem; font-weight: 700; color: var(--charcoal); margin: 10px 0 4px; }
.tier-price .per { font-size: .8rem; color: var(--gray-light); font-weight: 400; }
.tier-features { list-style: none; padding: 0; margin: 16px 0 20px; text-align: left; }
.tier-features li { padding: 5px 0; font-size: .87rem; color: var(--gray-mid); border-bottom: 1px solid var(--parchment-mid); display: flex; gap: 8px; align-items: center; }
.tier-features li::before { content: ''; width: 6px; height: 6px; background: var(--maroon-light); border-radius: 50%; flex-shrink: 0; opacity: .7; }

/* ── Donate Banner ───────────────────────────────────────── */
.donate-banner { background: var(--parchment); border-top: 1px solid var(--parchment-mid); padding: 44px 24px; text-align: center; }
.donate-banner h2 { color: var(--maroon); font-size: 1.6rem; margin-bottom: 8px; font-weight: 500; }
.donate-banner p { color: var(--gray-mid); margin-bottom: 18px; }

/* ── Footer ──────────────────────────────────────────────── */
.site-footer { background: var(--maroon-dark); color: rgba(255,255,255,.7); }
.footer-bottom {
  padding: 16px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-bottom p { font-size: .78rem; color: rgba(255,255,255,.42); margin: 0; }
.footer-bottom a { color: rgba(255,255,255,.42); }
.footer-bottom a:hover { color: rgba(255,255,255,.75); }

/* ── Animations ──────────────────────────────────────────── */
.fade-up { opacity: 0; transform: translateY(20px); transition: opacity .55s ease, transform .55s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up:nth-child(2) { transition-delay: .08s; }
.fade-up:nth-child(3) { transition-delay: .16s; }
.fade-up:nth-child(4) { transition-delay: .24s; }

/* ── Utility ─────────────────────────────────────────────── */
.text-center  { text-align: center; }
.text-gold    { color: var(--gold); }
.text-maroon  { color: var(--maroon); }
.text-muted   { color: var(--gray-mid); }
.text-sm      { font-size: .9rem; }
.text-xs      { font-size: .88rem; }
.text-note    { font-size: .85rem; color: var(--gray-mid); }
.text-tiny    { font-size: .78rem; }
.mt-8  { margin-top:  8px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; }
.mt-28 { margin-top: 28px; } .mt-32 { margin-top: 32px; } .mt-48 { margin-top: 48px; }
.mb-8  { margin-bottom:  8px; } .mb-16 { margin-bottom: 16px; } .mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; } .mb-48 { margin-bottom: 48px; }
.mr-12 { margin-right: 12px; }
.prose--narrow  { max-width: 800px; margin: 0 auto; }
.prose--compact { max-width: 760px; margin: 0 auto; }
.prose-lead { font-style: italic; color: var(--gray-mid); font-size: 1.08rem; line-height: 1.7; margin-bottom: 18px; }
.event-meta { font-size: .78rem; font-weight: 700; color: var(--gold-muted); margin-bottom: 6px; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.info-box--gold   { border-top: 3px solid var(--gold); }
.info-box--maroon { border-top: 3px solid var(--maroon); }
.info-box--lotus  { border-top: 3px solid var(--lotus); }

/* ── Org Page Photo Layouts ───────────────────────────────── */
.org-banner {
  width: 100%;
  height: 340px;
  object-fit: cover;
  object-position: center 35%;
  display: block;
  border-radius: 0;
}
.org-banner-wrap {
  width: 100%;
  height: 340px;
  overflow: hidden;
  background: var(--parchment-mid);
  border-bottom: 3px solid var(--maroon);
}
.photo-pull {
  float: right;
  width: 260px;
  height: 190px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  margin: 4px 0 20px 28px;
}
.photo-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 28px 0;
}
.photo-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 32px 0;
}
.photo-grid-2 img,
.photo-grid-3 img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  display: block;
}
.photo-caption {
  font-size: .75rem;
  color: var(--gray-mid);
  text-align: center;
  margin-top: 6px;
  font-style: italic;
}
.instructor-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 24px 0;
}
.instructor-card {
  background: var(--parchment);
  border-radius: var(--radius);
  padding: 16px 18px;
  border-left: 3px solid var(--maroon);
}
.instructor-card .rank {
  font-size: .7rem;
  font-weight: 700;
  color: var(--gold-muted);
  letter-spacing: .07em;
  text-transform: uppercase;
  margin-bottom: 4px;
  display: block;
}
.instructor-card h4 {
  font-size: 1rem;
  color: var(--charcoal);
  margin-bottom: 4px;
  font-weight: 700;
}
.instructor-card p {
  font-size: .84rem;
  color: var(--gray-mid);
  margin: 0;
  line-height: 1.5;
}
.sport-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 48px 0;
  border-bottom: 1px solid var(--parchment-mid);
}
.sport-block:last-child { border-bottom: none; }
.sport-block.reverse .sport-block__photo { order: 2; }
.sport-block.reverse .sport-block__content { order: 1; }
.sport-block__photo img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  display: block;
}
.sport-block__content h2 { margin-bottom: 12px; }
.sport-block__content p { color: var(--gray-mid); line-height: 1.75; }
.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--parchment-mid);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: 32px 0;
}
.stat-item {
  padding: 22px 18px;
  text-align: center;
  background: var(--white);
  border-right: 1px solid var(--parchment-mid);
}
.stat-item:last-child { border-right: none; }
.stat-item .stat-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--maroon);
  display: block;
  line-height: 1;
  margin-bottom: 4px;
}
.stat-item .stat-label {
  font-size: .78rem;
  color: var(--gray-mid);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .cal-container { grid-template-columns: 1fr; }
  .cal-panel { position: static; max-width: 100%; }
}
@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .main-nav { position: absolute; top: 66px; left: 0; right: 0; background: var(--white); border-top: 1px solid var(--parchment-mid); flex-direction: column; padding: 10px 0 20px; max-height: 0; overflow: hidden; transition: max-height .32s ease; box-shadow: var(--shadow-lg); }
  .main-nav.open { max-height: 85vh; overflow-y: auto; }
  .nav-list { flex-direction: column; align-items: stretch; width: 100%; gap: 0; }
  .nav-link { height: auto; padding: 11px 18px; }
  .dropdown { position: static; border-radius: 0; border: none; border-left: 2px solid var(--maroon); box-shadow: none; opacity: 1; pointer-events: auto; transform: none; max-height: 0; overflow: hidden; margin-left: 18px; background: var(--parchment); }
  .nav-item.open > .dropdown { max-height: 600px; }
  .sub-dropdown { position: static; border-radius: 0; border: none; border-left: 1px solid var(--parchment-mid); box-shadow: none; opacity: 1; pointer-events: auto; transform: none; max-height: 0; overflow: hidden; margin-left: 18px; background: var(--white); }
  .sub-dropdown-item.open > .sub-dropdown { max-height: 300px; }
  .nav-cta { margin: 10px 14px 0; }
}
@media (max-width: 768px) {
  .section { padding: 48px 0; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .hero { min-height: 55vh; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .quick-info .container { grid-template-columns: 1fr 1fr; }
  .org-banner, .org-banner-wrap { height: 220px; }
  .instructor-row { grid-template-columns: 1fr; }
  .photo-grid-2, .photo-grid-3 { grid-template-columns: 1fr 1fr; }
  .photo-pull { float: none; width: 100%; height: 200px; margin: 0 0 20px 0; }
  .sport-block { grid-template-columns: 1fr; gap: 24px; }
  .sport-block.reverse .sport-block__photo,
  .sport-block.reverse .sport-block__content { order: unset; }
  .stat-row { grid-template-columns: 1fr; }
  .stat-item { border-right: none; border-bottom: 1px solid var(--parchment-mid); }
  .stat-item:last-child { border-bottom: none; }
}
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .quick-info .container { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: center; }
  .photo-grid-2, .photo-grid-3 { grid-template-columns: 1fr; }
}
