/* =========================================================
   Design tokens
   Ink: deep forest-charcoal · Paper: warm parchment
   Gold: muted marigold accent · Sage: grounding green
   Clay: dusty rose-brown · Signature motif: the breath line
   ========================================================= */
:root {
  --ink: #642335;
  --paper: #f1e3cf;
  --gold: #C99A3A;
  --sage: #5F7A64;
  --sage-dark: #181e3f;
  --clay: #A6614F;
  --mist: #E7E4D8;
  --white: #FFFFFF;
  --gray: #6B7268;

  --font-display: 'Fraunces', serif;
  --font-body: 'Work Sans', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;

  --radius: 4px;
  --radius-lg: 12px;
  --transition: 0.25s ease;
  --max: 1180px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
code { font-family: var(--font-mono); background: var(--mist); padding: 2px 6px; border-radius: 3px; font-size: 0.9em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 500; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sage-dark);
  margin-bottom: 10px;
  display: block;
}
.eyebrow-light { color: var(--gold); }

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 13px 30px;
  border-radius: 30px;
  font-weight: 500;
  font-size: 0.96rem;
  transition: var(--transition);
  cursor: pointer;
  border: 1.5px solid transparent;
}
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: var(--sage-dark); transform: translateY(-2px); }
.btn-ghost { border-color: var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn-outline-dark { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline-dark:hover { background: var(--ink); color: var(--paper); }
.btn-light { background: var(--paper); color: var(--ink); }
.btn-light:hover { background: var(--white); transform: translateY(-2px); }
.btn-sm { padding: 9px 20px; font-size: 0.85rem; }

.link-arrow { font-weight: 500; color: var(--sage-dark); border-bottom: 1.5px solid var(--sage-dark); padding-bottom: 2px; transition: var(--transition); }
.link-arrow:hover { color: var(--gold); border-color: var(--gold); }

/* ===== Header / Nav ===== */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(246, 241, 231, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(30,42,38,0.08);
  z-index: 100;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 85px; }
.logo {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-mark { color: var(--gold); display: inline-flex; }

.main-nav { display: flex; align-items: center; gap: 36px; }
.main-nav ul { display: flex; gap: 30px; }
.main-nav a {
    font-weight: 600;
    font-size: 1rem;
    position: relative;
    padding: 6px 0;
    color: var(--ink);
}
.main-nav a.active,
.main-nav a:hover { color: var(--sage-dark); }
.main-nav a.active::after {
  content: ''; position: absolute; left: 0; bottom: 0; width: 100%; height: 5px; background: var(--ink);
}
.nav-cta { white-space: nowrap; }

.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; z-index: 101; }
.hamburger span { width: 26px; height: 2px; background: var(--ink); transition: var(--transition); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Hero ===== */
.hero { padding: 90px 0 60px; overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 50px; align-items: center; }
.hero-copy h1 { color: var(--ink); margin-bottom: 22px; }
.hero-lede { font-size: 1.1rem; color: var(--gray); max-width: 46ch; margin-bottom: 34px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-breath { color: var(--gold); }

.hero-visual { position: relative; height: 460px; }
.hero-img { position: absolute; border-radius: var(--radius-lg); object-fit: cover; box-shadow: 0 20px 50px rgba(30,42,38,0.18); }
.hero-img-1 { width: 78%; height: 90%; top: 0; right: 0; }
.hero-img-2 { width: 46%; height: 55%; bottom: 0; left: 0; border: 6px solid var(--paper); }

/* ===== Marquee strip ===== */
.marquee-strip { padding: 8px 0; background: var(--ink); overflow: hidden; }
.marquee-track {
  display: flex; gap: 14px; white-space: nowrap;
  font-family: var(--font-display); font-size: 0.9rem; color: var(--paper);
  animation: scrollMarquee 28s linear infinite;
  width: max-content;
}
.marquee-track span:nth-child(even) { color: var(--gold); font-family: var(--font-body); font-size: 0.9rem; }
@keyframes scrollMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ===== Sections ===== */
.section { padding: 90px 0; }
.section-tinted { background: var(--mist); }
.section-head { text-align: left; max-width: 640px; margin-bottom: 50px; }
.section-cta { margin-top: 40px; }

.page-banner { background: var(--ink); color: var(--paper); padding: 70px 0 56px; }
.page-banner h1 { color: var(--paper); }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }

.feature-card { background: var(--white); border-radius: var(--radius-lg); padding: 34px 30px; transition: var(--transition); border: 1px solid rgba(30,42,38,0.06); }
.feature-card:hover { transform: translateY(-6px); box-shadow: 0 16px 30px rgba(30,42,38,0.08); }
.feature-icon { color: var(--gold); display: inline-flex; margin-bottom: 18px; }
.feature-card h3 { font-size: 1.25rem; margin-bottom: 10px; }
.feature-card p { color: var(--gray); }

.card { background: var(--white); border-radius: var(--radius-lg); padding: 30px; transition: var(--transition); border: 1px solid rgba(30,42,38,0.06); }
.card:hover { transform: translateY(-6px); box-shadow: 0 16px 30px rgba(30,42,38,0.08); }
.card h3 { margin-bottom: 8px; font-size: 1.3rem; }
.class-instructor { font-size: 0.88rem; color: var(--gray); font-style: italic; margin: 6px 0 14px; }

.cta-band { background: var(--sage-dark); color: var(--paper); }
.cta-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-band h2 { color: var(--paper); }

/* ===== About page ===== */
.about-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: center; }
.about-text h2 { margin-bottom: 18px; }
.about-text p { margin-bottom: 16px; color: var(--gray); }
.about-stats.grid-3 { grid-template-columns: 1fr; gap: 18px; }
.stat-card { background: var(--white); border-radius: var(--radius-lg); padding: 26px; text-align: center; display: flex; flex-direction: column; gap: 6px; border: 1px solid rgba(30,42,38,0.06); }
.stat-num { font-family: var(--font-display); font-size: 2.2rem; font-weight: 600; color: var(--sage-dark); }

/* ===== Instructors ===== */
.instructor-card { background: var(--white); border-radius: var(--radius-lg); padding: 28px; text-align: center; border: 1px solid rgba(30,42,38,0.06); }
.instructor-photo { width: 110px; height: 110px; border-radius: 50%; overflow: hidden; margin: 0 auto 18px; border: 3px solid var(--mist); }
.instructor-photo img { width: 100%; height: 100%; object-fit: cover; }
.instructor-specialty { color: var(--gold); font-weight: 500; font-size: 0.9rem; margin-bottom: 12px; }
.instructor-card p:last-child { color: var(--gray); font-size: 0.95rem; }

/* ===== Classes page ===== */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 44px; }
.filter-btn { padding: 9px 22px; border-radius: 30px; border: 1.5px solid var(--sage); background: transparent; color: var(--sage-dark); cursor: pointer; font-weight: 500; font-size: 0.9rem; transition: var(--transition); }
.filter-btn.active, .filter-btn:hover { background: var(--sage-dark); border-color: var(--sage-dark); color: var(--white); }

.class-card { position: relative; }
.badge { display: inline-block; background: var(--gold); color: var(--ink); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.03em; padding: 4px 12px; border-radius: 20px; margin-bottom: 14px; }
.class-time { color: var(--sage-dark); font-weight: 500; font-size: 0.9rem; margin-bottom: 10px; }
.class-card .btn { margin-top: 14px; }
.empty-state { color: var(--gray); padding: 30px; background: var(--white); border-radius: var(--radius-lg); }

/* ===== Contact page ===== */
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 60px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 7px; font-weight: 500; font-size: 0.92rem; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 13px 15px; border: 1.5px solid rgba(30,42,38,0.15); border-radius: var(--radius);
  font-family: var(--font-body); font-size: 1rem; background: var(--white); transition: var(--transition);
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { outline: none; border-color: var(--sage); }
.form-group input.invalid, .form-group textarea.invalid { border-color: var(--clay); }
.field-error { display: block; color: var(--clay); font-size: 0.83rem; margin-top: 4px; min-height: 18px; }
.alert { padding: 15px 20px; border-radius: var(--radius); margin-bottom: 22px; font-size: 0.94rem; }
.alert-success { background: #E4EEE3; color: var(--sage-dark); }
.alert-error { background: #F5E5E1; color: var(--clay); }
.alert-error ul { padding-left: 18px; list-style: disc; }
.contact-info h3 { margin-bottom: 16px; }
.contact-info p { margin-bottom: 10px; color: var(--gray); }

/* ===== Breath divider ===== */
.breath-divider { color: var(--gold); background: var(--ink); padding-top: 20px; overflow: hidden; }
.breath-divider svg { width: 100%; }

/* ===== Footer ===== */
.site-footer { background: var(--ink); color: #C7CCC3; padding: 50px 0 0; }
.footer-inner { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 30px; padding-bottom: 40px; }
.footer-brand h3 { color: var(--paper); font-size: 1.3rem; margin-bottom: 10px; }
.footer-col h4 { color: var(--paper); margin-bottom: 14px; font-size: 1rem; }
.footer-col p, .footer-col a { color: #A8AFA3; font-size: 0.92rem; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding: 18px 0; border-top: 1px solid rgba(255,255,255,0.08); font-size: 0.82rem; color: #7C8378; flex-wrap: wrap; gap: 10px; }
.admin-link { color: #7C8378; text-decoration: underline; }
.admin-link:hover { color: var(--gold); }

/* ===== Animations ===== */
[data-aos] { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
[data-aos].aos-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  [data-aos] { opacity: 1; transform: none; transition: none; }
  .marquee-track { animation: none; }
}

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .hero-inner, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-visual { height: 320px; margin-top: 20px; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .cta-band-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 700px) {
  .hamburger { display: flex; }
  .nav-cta { display: none; }
  .main-nav {
    position: fixed; top: 78px; right: 0; width: 74%; max-width: 300px; height: calc(100vh - 78px);
    background: var(--paper); box-shadow: -4px 0 20px rgba(0,0,0,0.1);
    transform: translateX(100%); transition: transform var(--transition);
    padding: 30px 0; flex-direction: column; align-items: stretch;
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav ul li { border-bottom: 1px solid rgba(30,42,38,0.08); }
  .main-nav ul li a { display: block; padding: 16px 30px; }

  .grid-3 { grid-template-columns: 1fr; }
  .hero { padding: 60px 0 40px; }
  .section { padding: 56px 0; }
  .footer-inner { grid-template-columns: 1fr; text-align: left; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
/* Marquee item types */
.marquee-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.marquee-item.type-news {
    color: #dfcadb;
    font-weight: 600;
}

.marquee-item.type-workshop {
    color: var(--paper);
    font-weight: 700;
    position: relative;
}

.marquee-item.type-workshop::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    height: 2px;
    background: linear-gradient(90deg, #f59e0b, #ef4444);
    border-radius: 2px;
}

.marquee-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.7em;
    font-weight: 700;
    letter-spacing: 0.5px;
    background: #ef4444;
    color: white;
    animation: badgePulse 2s infinite;
}

.marquee-item.type-news .marquee-badge {
    background: #3b82f6;
}

.marquee-item.type-workshop .marquee-badge {
    background: var(--sage-dark);
}

@keyframes badgePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Optional: add icons per type */
.marquee-item.type-news::after {
    content: '📰';
    font-size: 0.9em;
}

.marquee-item.type-workshop::after {
    content: '🎓';
    font-size: 0.9em;
}
/* ============================================
   IMAGE LIGHTBOX SLIDER
   ============================================ */

.image-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 40px;
}

.image-lightbox.open {
    display: flex;
    opacity: 1;
}

/* Content container */
.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    animation: lightboxZoomIn 0.35s ease;
}

@keyframes lightboxZoomIn {
    from { transform: scale(0.92); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* Image wrapper */
.lightbox-image-wrap {
    position: relative;
    max-width: 90vw;
    max-height: 78vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

#lightboxImage {
    max-width: 90vw;
    max-height: 78vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
    transition: opacity 0.25s ease;
    display: block;
    user-select: none;
    -webkit-user-drag: none;
}

/* Loader */
.lightbox-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 44px;
    height: 44px;
    border: 3px solid rgba(255, 255, 255, 0.2);
    border-top-color: white;
    border-radius: 50%;
    animation: spinLoader 0.8s linear infinite;
    display: none;
}

@keyframes spinLoader {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Caption */
.lightbox-caption {
    margin-top: 20px;
    text-align: center;
    color: white;
    max-width: 90vw;
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
}

.lightbox-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.lightbox-badge.cat-classes { background: rgba(59, 130, 246, 0.3); border-color: rgba(59, 130, 246, 0.5); }
.lightbox-badge.cat-workshops { background: rgba(245, 158, 11, 0.3); border-color: rgba(245, 158, 11, 0.5); }
.lightbox-badge.cat-events { background: rgba(236, 72, 153, 0.3); border-color: rgba(236, 72, 153, 0.5); }

.lightbox-title {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 600;
    color: white;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.lightbox-counter {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.65);
    font-variant-numeric: tabular-nums;
}

/* Close button */
.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.12);
    border: 2px solid rgba(255, 255, 255, 0.25);
    color: white;
    font-size: 30px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    line-height: 1;
    transition: all 0.25s;
    z-index: 10;
    font-family: Arial, sans-serif;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

/* Navigation arrows */
.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.12);
    border: 2px solid rgba(255, 255, 255, 0.25);
    color: white;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: all 0.25s;
    z-index: 10;
    backdrop-filter: blur(6px);
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.08);
    border-color: rgba(255, 255, 255, 0.5);
}

.lightbox-nav svg {
    stroke: white;
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

/* Zoom icon on gallery item hover */
.gallery-zoom-icon {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 34px;
    height: 34px;
    background: rgba(255, 255, 255, 0.95);
    color: #1f2937;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.gallery-item:hover .gallery-zoom-icon {
    opacity: 1;
    transform: scale(1);
}

/* Responsive */
@media (max-width: 768px) {
    .image-lightbox {
        padding: 15px;
    }
    
    #lightboxImage {
        max-width: 95vw;
        max-height: 70vh;
        border-radius: 6px;
    }
    
    .lightbox-image-wrap {
        max-height: 70vh;
    }
    
    .lightbox-nav {
        width: 44px;
        height: 44px;
    }
    
    .lightbox-nav svg {
        width: 22px;
        height: 22px;
    }
    
    .lightbox-prev {
        left: 8px;
    }
    
    .lightbox-next {
        right: 8px;
    }
    
    .lightbox-close {
        top: 12px;
        right: 12px;
        width: 40px;
        height: 40px;
        font-size: 24px;
    }
    
    .lightbox-caption {
        margin-top: 14px;
        gap: 8px;
    }
    
    .lightbox-title {
        font-size: 1rem;
    }
    
    .lightbox-counter {
        font-size: 0.78rem;
        width: 100%;
        text-align: center;
    }
    
    /* Always show zoom icon on mobile */
    .gallery-zoom-icon {
        opacity: 0.9;
        transform: scale(1);
    }
}

@media (max-width: 480px) {
    .lightbox-nav {
        width: 40px;
        height: 40px;
    }
    
    .lightbox-badge {
        font-size: 0.6rem;
        padding: 3px 9px;
    }
    
    .lightbox-title {
        font-size: 0.9rem;
    }
}
/* ============================================
   GALLERY PAGE
   ============================================ */

.section-head-center {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px;
}

.section-lede {
    color: #6b7280;
    font-size: 1.05rem;
    line-height: 1.7;
    margin-top: 12px;
}

/* Filter buttons */
.gallery-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
}

.gallery-filters .filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    border: 1px solid #d1d5db;
    background: white;
    color: #374151;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.gallery-filters .filter-btn:hover {
    border-color: #a16207;
    color: #a16207;
}

.gallery-filters .filter-btn.active {
    background: #a16207;
    border-color: #a16207;
    color: white;
    box-shadow: 0 4px 12px rgba(161, 98, 7, 0.3);
}

.filter-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    background: rgba(0, 0, 0, 0.08);
    border-radius: 11px;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1;
}

.gallery-filters .filter-btn.active .filter-count {
    background: rgba(255, 255, 255, 0.25);
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}

.gallery-item {
    opacity: 1;
    transform: scale(1);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.gallery-item.hidden {
    display: none;
}

.gallery-item.fade-out {
    opacity: 0;
    transform: scale(0.92);
}

.gallery-image-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    background: #f3f4f6;
}

.gallery-item:hover .gallery-image-wrap {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.15);
}

.gallery-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.gallery-item:hover .gallery-image-wrap img {
    transform: scale(1.08);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 45%, rgba(0, 0, 0, 0.78) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-cat-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.cat-classes { color: #1e40af; }
.cat-workshops { color: #92400e; }
.cat-events { color: #9f1239; }

.gallery-title {
    color: white;
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.35;
    transform: translateY(10px);
    transition: transform 0.4s ease;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
}

.gallery-item:hover .gallery-title {
    transform: translateY(0);
}

/* ============================================
   VIDEO GALLERY
   ============================================ */

.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 28px;
}

.video-card {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.video-card:hover {
    transform: translateY(-6px);
}

.video-thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    overflow: hidden;
    background: #111;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.video-card:hover .video-thumb img {
    transform: scale(1.06);
}

.video-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.25);
    transition: background 0.3s ease;
}

.video-card:hover .video-overlay {
    background: rgba(0, 0, 0, 0.4);
}

.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: none;
    border: none;
    cursor: pointer;
    opacity: 0.9;
    transition: transform 0.3s ease, opacity 0.3s ease;
    padding: 0;
    width: 68px;
    height: 48px;
}

.video-card:hover .video-play-btn {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.12);
}

.video-title {
    margin-top: 14px;
    font-size: 1.05rem;
    font-weight: 600;
    color: #1f2937;
    line-height: 1.4;
}

/* Lightbox */
.video-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 30px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-lightbox.open {
    display: flex;
    opacity: 1;
}

.video-lightbox-inner {
    position: relative;
    width: 100%;
    max-width: 1000px;
}

.video-embed-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: black;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

.video-embed-wrap iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

.video-lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    font-size: 28px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    line-height: 1;
    transition: all 0.2s;
}

.video-lightbox-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 12px;
    }

    .gallery-filters {
        gap: 8px;
        margin-bottom: 30px;
    }

    .gallery-filters .filter-btn {
        padding: 8px 16px;
        font-size: 0.85rem;
    }

    .videos-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .video-lightbox {
        padding: 15px;
    }

    .video-lightbox-close {
        top: -44px;
        width: 38px;
        height: 38px;
        font-size: 22px;
    }

    /* Always show overlay on mobile (no hover) */
    .gallery-overlay {
        opacity: 1;
        background: linear-gradient(to bottom, transparent 50%, rgba(0, 0, 0, 0.78) 100%);
    }

    .gallery-title {
        transform: translateY(0);
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .gallery-cat-badge {
        padding: 3px 8px;
        font-size: 0.6rem;
        top: 8px;
        left: 8px;
    }

    .gallery-title {
        font-size: 0.85rem;
    }

    .gallery-overlay {
        padding: 12px;
    }

    .video-title {
        font-size: 0.95rem;
    }
}
.contact-info-block {
    margin-bottom: 20px;
}
.contact-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #a16207;
    font-weight: 600;
    margin-bottom: 4px;
}
.contact-info a {
    color: #1f2937;
    text-decoration: none;
    transition: color 0.2s;
}
.contact-info a:hover {
    color: #a16207;
}
/* ============================================
   FOOTER
   ============================================ */

.breath-divider {
    color: #a16207;
    opacity: 0.4;
    line-height: 0;
    margin-top: 40px;
}



.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #a16207 0%, #f59e0b 50%, #a16207 100%);
}

.site-footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============ VISION BLOCK ============ */
.footer-vision {
   
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-eyebrow {
    font-size: 0.75rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #f59e0b;
    font-weight: 600;
    margin-bottom: 16px;
}

.footer-vision-text {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(1.3rem, 2.3vw, 1.75rem);
    line-height: 1.6;
    color: #f3f4f6;
    max-width: 800px;
    margin: 0 auto 36px;
    font-weight: 500;
    font-style: italic;
}

/* Social icons */
.footer-social {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.social-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #d1d5db;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon:hover {
    background: #a16207;
    border-color: #a16207;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(161, 98, 7, 0.35);
}

.social-icon svg {
    width: 20px;
    height: 20px;
}

/* ============ FOOTER GRID ============ */
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.6fr;
    gap: 50px;
    padding: 60px 0 50px;
}

.footer-col h3 {
    color: white;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 14px;
    letter-spacing: 0.5px;
}

.footer-col h4 {
    color: white;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background: #a16207;
}

.footer-col p {
    color: #9ca3af;
    font-size: 0.92rem;
    line-height: 1.7;
    margin-bottom: 10px;
}

.footer-tagline {
    color: #9ca3af;
    font-style: italic;
    font-size: 0.95rem;
    margin-bottom: 8px;
}

.footer-est {
    font-size: 0.82rem;
    color: #6b7280;
    letter-spacing: 1px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: #9ca3af;
    text-decoration: none;
    font-size: 0.92rem;
    transition: all 0.25s ease;
    display: inline-block;
    position: relative;
}

.footer-col ul li a::before {
    content: '';
    position: absolute;
    left: -12px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 1.5px;
    background: #f59e0b;
    transition: width 0.25s ease;
}

.footer-col ul li a:hover {
    color: #f59e0b;
    padding-left: 14px;
}

.footer-col ul li a:hover::before {
    width: 8px;
}

/* Contact list with icons */
.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #9ca3af;
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-contact li svg {
    flex-shrink: 0;
    color: #a16207;
    margin-top: 3px;
}

.footer-contact li a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.25s ease;
    padding-left: 0;
}

.footer-contact li a::before {
    display: none;
}

.footer-contact li a:hover {
    color: #f59e0b;
    padding-left: 0;
}

/* ============ FOOTER BOTTOM ============ */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.25);
    padding: 22px 0;
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom p {
    color: #6b7280;
    font-size: 0.85rem;
    margin: 0;
}

.footer-bottom-right {
    display: flex;
    gap: 20px;
    align-items: center;
}

.admin-link {
    color: #6b7280;
    font-size: 0.82rem;
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: color 0.25s ease;
    padding: 6px 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
}

.admin-link:hover {
    color: #f59e0b;
    border-color: rgba(245, 158, 11, 0.4);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 640px) {
    .footer-vision {
        padding: 50px 0 40px;
    }
    
    .footer-vision-text {
        font-size: 1.1rem;
        line-height: 1.5;
        padding: 0 10px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 45px 0 40px;
    }
    
    .footer-brand {
        grid-column: auto;
    }
    
    .social-icon {
        width: 40px;
        height: 40px;
    }
    
    .social-icon svg {
        width: 18px;
        height: 18px;
    }
    
    .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-bottom p {
        font-size: 0.8rem;
    }
}
@media (max-width: 700px) {
  .main-nav {
    position: fixed; top: 78px; left: 0; right: auto;
    width: 74%; max-width: 300px;
    height: calc(100vh - 78px);
    background: var(--paper);
    box-shadow: 4px 0 20px rgba(0,0,0,0.1);
    transform: translateX(-100%);
    transition: transform var(--transition);
    padding: 30px 0; flex-direction: column; align-items: stretch;
  }
  .main-nav.open { transform: translateX(0); }
}
/* ============================================
   TEAM PAGE
   ============================================ */

.section-head-center {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px;
}

.section-lede {
    color: #6b7280;
    font-size: 1.05rem;
    line-height: 1.7;
    margin-top: 12px;
}

/* Filters */
.team-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 50px;
}

.team-filters .filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    border: 1px solid #d1d5db;
    background: white;
    color: #374151;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.team-filters .filter-btn:hover {
    border-color: #a16207;
    color: #a16207;
}

.team-filters .filter-btn.active {
    background: #a16207;
    border-color: #a16207;
    color: white;
    box-shadow: 0 4px 12px rgba(161, 98, 7, 0.3);
}

.filter-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    background: rgba(0, 0, 0, 0.08);
    border-radius: 11px;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1;
}

.team-filters .filter-btn.active .filter-count {
    background: rgba(255, 255, 255, 0.25);
}

/* Grid */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 32px;
}

.team-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    opacity: 1;
    transform: scale(1);
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.12);
}

.team-card.hidden { display: none; }
.team-card.fade-out { opacity: 0; transform: scale(0.92); }

/* Card photo */
.team-card-photo {
    position: relative;
    width: 100%;
    aspect-ratio: 6 / 7;
    overflow: hidden;
    background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
}

.team-card-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.team-card:hover .team-card-photo img {
    transform: scale(1.08);
}

.team-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    font-weight: 700;
    color: #9ca3af;
    font-family: 'Cormorant Garamond', Georgia, serif;
}

.team-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 55%, rgba(0, 0, 0, 0.75) 100%);
    pointer-events: none;
}

.team-role-badge {
    position: absolute;
    bottom: 14px;
    left: 14px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(6px);
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.role-founders { color: #92400e; }
.role-instructors { color: #1e40af; }
.role-staff { color: #065f46; }

/* Card body */
.team-card-body {
    padding: 24px 22px 26px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.team-card-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 10px;
    line-height: 1.3;
    font-family: 'Cormorant Garamond', Georgia, serif;
}

.team-card-bio {
    font-size: 0.9rem;
    line-height: 1.65;
    color: #6b7280;
    margin: 0 0 18px;
    flex: 1;
}

.team-read-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    color: #a16207;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    padding: 0;
    margin-top: auto;
    align-self: flex-start;
    font-family: inherit;
    transition: all 0.2s;
    border-bottom: 1px solid transparent;
}

.team-read-more:hover {
    color: #78350f;
    border-bottom-color: #78350f;
    gap: 10px;
}

.team-read-more svg {
    transition: transform 0.25s ease;
}

.team-read-more:hover svg {
    transform: translateX(3px);
}

/* ============ BIO MODAL ============ */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    backdrop-filter: blur(6px);
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.open {
    display: flex;
    opacity: 1;
}

.team-modal {
    background: white;
    border-radius: 16px;
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 0;
    position: relative;
    animation: modalZoom 0.35s ease;
}

@keyframes modalZoom {
    from { transform: scale(0.94); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.team-modal .modal-head {
    padding: 20px 28px;
    margin: 0;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    background: white;
    z-index: 3;
    border-radius: 16px 16px 0 0;
}

.team-modal .modal-head h3 {
    margin: 0;
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #9ca3af;
    font-weight: 600;
}

.team-modal .modal-close {
    background: none;
    border: none;
    font-size: 30px;
    cursor: pointer;
    color: #9ca3af;
    padding: 0;
    line-height: 1;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s;
}

.team-modal .modal-close:hover {
    color: #374151;
    background: #f3f4f6;
}

.team-modal-content {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 0;
    align-items: center;
}

/* Team Modal Photo Wrapper - Fixed Size */
.team-modal-photo-wrap {
    position: relative;
    background: #f9fafb;
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

/* The Image itself - Forced to 250x250 */
.team-modal-photo {
    width: 250px;
    height: 250px;
    border-radius: 12px;
    object-fit: cover;
    object-position: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: block;
}

/* The Placeholder (if no image) */
.team-modal-photo-wrap .team-card-placeholder {
    width: 250px;
    height: 250px;
    border-radius: 12px;
    font-size: 6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e5e7eb;
    color: #9ca3af;
}

.team-modal-info {
    padding: 40px 36px;
}

.team-modal-info .eyebrow {
    color: #a16207;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 0.75rem;
    margin-bottom: 10px;
}

.team-modal-info h2 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 24px;
    line-height: 1.2;
}

.team-modal-bio {
    font-size: 1rem;
    line-height: 1.8;
    color: #4b5563;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.team-modal .modal-actions {
    padding: 20px 28px;
    border-top: 1px solid #e5e7eb;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    background: #fafafa;
    border-radius: 0 0 16px 16px;
}

/* Responsive */
@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 20px;
    }
    
    .team-filters {
        gap: 8px;
        margin-bottom: 30px;
    }
    
    .team-filters .filter-btn {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
    
    .team-modal-content {
        grid-template-columns: 1fr;
    }
    
    .team-modal-photo-wrap {
        padding: 30px 20px 0;
    }
    
    .team-modal-photo, .team-modal-photo-wrap .team-card-placeholder {
        width: 200px;
        height: 200px;
    }
    
    .team-modal-info {
        padding: 28px 24px;
        text-align: center;
    }
    
    .team-modal-info h2 {
        font-size: 1.6rem;
        margin-bottom: 18px;
    }
    
    .team-modal-bio {
        font-size: 0.95rem;
        line-height: 1.7;
    }
}

@media (max-width: 480px) {
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .team-card-body {
        padding: 20px 18px 22px;
    }
    
    .team-card-name {
        font-size: 1.15rem;
    }
}