/* ── Gallery page hero ──────────────────────────────── */
    .gallery-hero {
      padding: 160px 0 100px;
      background: var(--white);
      position: relative;
      overflow: hidden;
      text-align: center;
    }
    .gallery-hero .hero-mesh { pointer-events: none; }
    .gallery-hero .blob-1 {
      width: 600px; height: 600px;
      top: -180px; right: -100px;
      background: radial-gradient(ellipse, rgba(194,207,193,0.35) 0%, transparent 70%);
      filter: blur(60px);
    }
    .gallery-hero .blob-2 {
      width: 500px; height: 500px;
      bottom: -100px; left: -80px;
      background: radial-gradient(ellipse, rgba(204,179,129,0.22) 0%, transparent 70%);
      filter: blur(70px);
    }
    .gallery-hero .breadcrumb { justify-content: center; }

    /* ── Masonry-style gallery grid ─────────────────────── */
    .gallery-section {
      padding: 80px 0 100px;
      background: var(--white);
    }

    /* Stats + view toggle bar */
    .gallery-toolbar {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 32px;
      flex-wrap: wrap;
      gap: 14px;
    }
    .gallery-count-label {
      font-size: 0.9rem;
      color: var(--text-muted);
    }
    .gallery-count-label strong {
      color: var(--green-dark);
      font-weight: 700;
    }
    .view-btns { display: flex; gap: 8px; }
    .view-btn {
      width: 40px; height: 40px;
      border: 1.5px solid var(--border);
      border-radius: var(--r-md);
      background: var(--white);
      color: var(--text-muted);
      font-size: 0.85rem;
      cursor: pointer;
      display: flex; align-items: center; justify-content: center;
      transition: var(--t);
    }
    .view-btn.active, .view-btn:hover {
      background: var(--green-dark);
      border-color: var(--green-dark);
      color: var(--white);
    }

    /* Gallery grid */
    .gallery-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 20px;
    }
    .gallery-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
    .gallery-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }

    /* Gallery item */
    .gallery-item {
      position: relative;
      border-radius: var(--r-xl);
      overflow: hidden;
      cursor: pointer;
      aspect-ratio: 4/3;
      background: var(--green-ultra);
      box-shadow: 0 4px 20px rgba(109,136,107,0.10);
      transition: transform 0.38s cubic-bezier(0.4,0,0.2,1),
                  box-shadow 0.38s cubic-bezier(0.4,0,0.2,1);
    }
    .gallery-item.tall { aspect-ratio: 3/4; }
    .gallery-item.wide { aspect-ratio: 16/9; grid-column: span 2; }
    .gallery-item:hover {
      transform: translateY(-6px) scale(1.015);
      box-shadow: 0 24px 60px rgba(109,136,107,0.22);
    }

    /* Placeholder fill */
    .gallery-ph {
      width: 100%; height: 100%;
      display: flex; flex-direction: column;
      align-items: center; justify-content: center;
      gap: 12px;
      background: linear-gradient(135deg, var(--green-ultra) 0%, var(--green-pale) 100%);
      transition: transform 0.38s ease;
    }
    .gallery-item.gold-tone .gallery-ph {
      background: linear-gradient(135deg, #fdf6e8 0%, #f0e0b8 100%);
    }
    .gallery-item:hover .gallery-ph { transform: scale(1.04); }
    .gallery-ph .ph-icon { font-size: 2.8rem; line-height: 1; }
    .gallery-ph .ph-label {
      font-size: 0.8rem;
      font-weight: 600;
      color: var(--text-muted);
      text-transform: uppercase;
      letter-spacing: 0.8px;
    }

    /* Category chip on card */
    .gallery-chip {
      position: absolute;
      top: 14px; left: 14px;
      background: rgba(255,255,255,0.90);
      backdrop-filter: blur(8px);
      color: var(--green-dark);
      font-size: 0.72rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.8px;
      padding: 5px 12px;
      border-radius: var(--r-pill);
      border: 1px solid rgba(109,136,107,0.18);
    }

    /* Hover overlay */
    .gallery-overlay {
      position: absolute;
      inset: 0;
      background: linear-gradient(
        180deg,
        transparent 35%,
        rgba(30,45,30,0.78) 100%
      );
      opacity: 0;
      transition: opacity 0.32s ease;
      display: flex;
      align-items: flex-end;
      padding: 22px 22px 22px;
      gap: 10px;
      flex-direction: column;
      justify-content: flex-end;
    }
    .gallery-item:hover .gallery-overlay { opacity: 1; }
    .gallery-overlay-title {
      color: var(--white);
      font-size: 0.92rem;
      font-weight: 700;
      width: 100%;
      line-height: 1.3;
    }
    .gallery-overlay-zoom {
      width: 44px; height: 44px;
      background: rgba(255,255,255,0.20);
      backdrop-filter: blur(10px);
      border: 1px solid rgba(255,255,255,0.35);
      border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      color: var(--white);
      font-size: 0.9rem;
      position: absolute;
      top: 50%; left: 50%;
      transform: translate(-50%,-50%) scale(0.6);
      transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1);
    }
    .gallery-item:hover .gallery-overlay-zoom {
      transform: translate(-50%,-50%) scale(1);
    }

    /* Load more */
    .load-more-wrap {
      text-align: center;
      margin-top: 56px;
    }

    /* ── Category strip ─────────────────────────────────── */
    .category-strip {
      background: var(--bg-section);
      border-top: 1px solid var(--border);
      border-bottom: 1px solid var(--border);
      padding: 64px 0;
    }
    .cat-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 20px;
      margin-top: 48px;
    }
    .cat-card {
      background: var(--white);
      border: 1.5px solid var(--border);
      border-radius: var(--r-xl);
      padding: 32px 24px;
      text-align: center;
      cursor: pointer;
      transition: var(--t);
      position: relative;
      overflow: hidden;
    }
    .cat-card::before {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(135deg, var(--green-pale), var(--green-ultra));
      opacity: 0;
      transition: opacity 0.28s ease;
    }
    .cat-card:hover::before, .cat-card.active-cat::before { opacity: 1; }
    .cat-card:hover {
      border-color: var(--green-mid);
      box-shadow: var(--shadow-lg);
      transform: translateY(-4px);
    }
    .cat-card .cat-icon {
      font-size: 2.2rem;
      margin-bottom: 14px;
      position: relative;
      z-index: 1;
    }
    .cat-card .cat-name {
      font-size: 0.85rem;
      font-weight: 700;
      color: var(--text-heading);
      text-transform: uppercase;
      letter-spacing: 0.8px;
      position: relative; z-index: 1;
      margin-bottom: 6px;
    }
    .cat-card .cat-count {
      font-size: 0.78rem;
      color: var(--text-muted);
      position: relative; z-index: 1;
    }

    /* ── Lightbox (modern redesign) ─────────────────────── */
    .lightbox {
      position: fixed;
      inset: 0;
      background: rgba(10,20,10,0.88);
      backdrop-filter: blur(18px);
      z-index: 9000;
      display: flex;
      align-items: center;
      justify-content: center;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.3s ease;
    }
    .lightbox.open {
      opacity: 1;
      pointer-events: all;
    }
    .lightbox-inner {
      background: var(--white);
      border-radius: var(--r-2xl);
      padding: 40px 44px;
      max-width: 740px;
      width: calc(100% - 40px);
      position: relative;
      box-shadow: 0 60px 120px rgba(0,0,0,0.35);
      animation: lbIn 0.36s cubic-bezier(0.34,1.56,0.64,1) both;
    }
    @keyframes lbIn {
      from { transform: scale(0.88) translateY(24px); opacity: 0; }
      to   { transform: scale(1) translateY(0); opacity: 1; }
    }
    .lightbox-close {
      position: absolute;
      top: 20px; right: 20px;
      width: 40px; height: 40px;
      border: 1.5px solid var(--border);
      border-radius: 50%;
      background: var(--white);
      color: var(--text-muted);
      font-size: 0.9rem;
      cursor: pointer;
      display: flex; align-items: center; justify-content: center;
      transition: var(--t);
    }
    .lightbox-close:hover {
      background: var(--green-dark); color: var(--white);
      border-color: var(--green-dark);
    }
    .lightbox-media {
      width: 100%;
      aspect-ratio: 16/10;
      border-radius: var(--r-xl);
      background: linear-gradient(135deg, var(--green-ultra), var(--green-pale));
      display: flex; align-items: center; justify-content: center;
      font-size: 6rem;
      margin-bottom: 24px;
      overflow: hidden;
    }
    .lightbox-media img {
      width: 100%; height: 100%;
      object-fit: cover;
      border-radius: var(--r-xl);
    }
    .lightbox-meta {
      display: flex;
      align-items: center;
      gap: 12px;
      margin-bottom: 10px;
    }
    .lightbox-cat-pill {
      font-size: 0.72rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.8px;
      padding: 4px 12px;
      border-radius: var(--r-pill);
      background: var(--green-ultra);
      color: var(--green-dark);
      border: 1px solid var(--border);
    }
    .lightbox-title {
      font-size: 1.25rem;
      font-weight: 800;
      color: var(--text-heading);
      letter-spacing: -0.02em;
      margin-bottom: 8px;
    }
    .lightbox-desc {
      font-size: 0.88rem;
      color: var(--text-muted);
      line-height: 1.65;
    }
    .lightbox-nav {
      display: flex;
      gap: 10px;
      margin-top: 24px;
      justify-content: space-between;
      align-items: center;
    }
    .lb-nav-btn {
      display: flex; align-items: center; gap: 8px;
      font-size: 0.85rem; font-weight: 600;
      color: var(--green-dark);
      background: var(--green-ultra);
      border: 1.5px solid var(--border);
      padding: 10px 20px; border-radius: var(--r-pill);
      cursor: pointer; transition: var(--t);
    }
    .lb-nav-btn:hover {
      background: var(--green-dark); color: var(--white);
      border-color: var(--green-dark);
    }
    .lb-counter {
      font-size: 0.82rem;
      color: var(--text-muted);
      font-weight: 500;
    }

    /* ── Responsive ─────────────────────────────────────── */
    @media (max-width: 900px) {
      .gallery-grid { grid-template-columns: repeat(2,1fr); }
      .gallery-item.wide { grid-column: span 1; aspect-ratio: 4/3; }
      .cat-grid { grid-template-columns: repeat(2,1fr); }
    }
    @media (max-width: 600px) {
      .gallery-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
      .gallery-item.tall { aspect-ratio: 4/3; }
      .cat-grid { grid-template-columns: repeat(2,1fr); }
      .lightbox-inner { padding: 28px 20px; }
      .lightbox-media { font-size: 4rem; }
    }
  

    /* ── Video page hero ────────────────────────────────── */
    .videos-hero {
      padding: 160px 0 100px;
      background: var(--white);
      position: relative;
      overflow: hidden;
      text-align: center;
    }
    .videos-hero .blob-1 {
      width: 650px; height: 650px;
      top: -200px; left: -120px;
      background: radial-gradient(ellipse, rgba(194,207,193,0.32) 0%, transparent 70%);
      filter: blur(60px);
    }
    .videos-hero .blob-2 {
      width: 500px; height: 500px;
      bottom: -80px; right: -80px;
      background: radial-gradient(ellipse, rgba(204,179,129,0.22) 0%, transparent 70%);
      filter: blur(70px);
    }

    /* ── Featured video — cinematic card ────────────────── */
    .featured-section {
      padding: 80px 0;
      background: var(--white);
    }
    .featured-card {
      background: var(--white);
      border: 1.5px solid var(--border);
      border-radius: var(--r-2xl);
      overflow: hidden;
      box-shadow: var(--shadow-xl);
      display: grid;
      grid-template-columns: 1.4fr 1fr;
      min-height: 400px;
    }
    /* Left: big thumbnail */
    .featured-thumb {
      position: relative;
      overflow: hidden;
      background: linear-gradient(135deg, var(--green-dark) 0%, #3a5438 50%, #2c4230 100%);
      min-height: 360px;
      display: flex; align-items: center; justify-content: center;
    }
    .featured-thumb .f-mesh {
      position: absolute; inset: 0; pointer-events: none;
    }
    .featured-thumb .f-blob {
      position: absolute;
      border-radius: 50%;
    }
    .featured-thumb .f-blob-1 {
      width: 400px; height: 400px;
      top: -100px; right: -100px;
      background: radial-gradient(ellipse, rgba(133,160,131,0.35) 0%, transparent 70%);
      filter: blur(50px);
    }
    .featured-thumb .f-blob-2 {
      width: 300px; height: 300px;
      bottom: -80px; left: -60px;
      background: radial-gradient(ellipse, rgba(204,179,129,0.25) 0%, transparent 70%);
      filter: blur(40px);
    }
    .featured-play-wrap {
      position: relative; z-index: 2;
      display: flex; flex-direction: column;
      align-items: center; gap: 18px;
      cursor: pointer;
    }
    .featured-play-btn {
      width: 88px; height: 88px;
      background: rgba(255,255,255,0.14);
      backdrop-filter: blur(12px);
      border: 2px solid rgba(255,255,255,0.4);
      border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      color: var(--white);
      font-size: 1.8rem;
      transition: all 0.32s cubic-bezier(0.34,1.56,0.64,1);
    }
    .featured-play-btn:hover, .featured-play-wrap:hover .featured-play-btn {
      background: var(--white);
      color: var(--green-dark);
      transform: scale(1.12);
      box-shadow: 0 20px 60px rgba(0,0,0,0.25);
    }
    .featured-play-label {
      color: rgba(255,255,255,0.75);
      font-size: 0.82rem;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 1.2px;
    }
    .featured-badge {
      position: absolute;
      top: 20px; left: 20px;
      background: var(--gold);
      color: #4a3000;
      font-size: 0.72rem;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: 1px;
      padding: 5px 14px;
      border-radius: var(--r-pill);
    }
    .featured-duration {
      position: absolute;
      bottom: 18px; right: 18px;
      background: rgba(0,0,0,0.65);
      backdrop-filter: blur(6px);
      color: var(--white);
      font-size: 0.78rem;
      font-weight: 700;
      padding: 5px 12px;
      border-radius: var(--r-pill);
    }

    /* Right: info */
    .featured-info {
      padding: 44px 40px;
      display: flex;
      flex-direction: column;
      justify-content: center;
      gap: 18px;
    }
    .featured-info .f-tag {
      display: inline-flex; align-items: center; gap: 7px;
      font-size: 0.76rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 1px;
      color: var(--green-dark);
      background: var(--green-ultra);
      padding: 5px 14px;
      border-radius: var(--r-pill);
      border: 1px solid var(--border);
      align-self: flex-start;
    }
    .featured-info h2 {
      font-size: clamp(1.35rem, 2.4vw, 1.75rem);
      font-weight: 800;
      letter-spacing: -0.03em;
      line-height: 1.2;
      color: var(--text-heading);
    }
    .featured-info p {
      font-size: 0.9rem;
      color: var(--text-muted);
      line-height: 1.7;
    }
    .featured-meta-row {
      display: flex;
      gap: 20px;
      flex-wrap: wrap;
    }
    .featured-meta-item {
      display: flex; align-items: center; gap: 7px;
      font-size: 0.82rem;
      color: var(--text-muted);
    }
    .featured-meta-item i { color: var(--green-mid); }
    .featured-watch-btn {
      align-self: flex-start;
      margin-top: 4px;
    }

    /* ── Video library ──────────────────────────────────── */
    .library-section {
      padding: 80px 0 100px;
      background: var(--bg-section);
      border-top: 1px solid var(--border);
    }

    /* Video card — completely redesigned */
    .video-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
      margin-top: 0;
    }
    .video-card {
      background: var(--white);
      border: 1.5px solid var(--border);
      border-radius: var(--r-xl);
      overflow: hidden;
      transition: transform 0.32s cubic-bezier(0.4,0,0.2,1),
                  box-shadow 0.32s cubic-bezier(0.4,0,0.2,1),
                  border-color 0.28s ease;
      cursor: pointer;
    }
    .video-card:hover {
      transform: translateY(-8px);
      box-shadow: var(--shadow-xl);
      border-color: var(--green-pale);
    }
    /* Card top accent line */
    .video-card::before {
      content: '';
      display: block;
      height: 3px;
      background: linear-gradient(90deg, var(--green-dark), var(--gold));
      transform: scaleX(0);
      transform-origin: left;
      transition: transform 0.32s ease;
    }
    .video-card:hover::before { transform: scaleX(1); }

    .video-thumb {
      position: relative;
      aspect-ratio: 16/9;
      background: linear-gradient(135deg, var(--green-ultra) 0%, var(--green-pale) 100%);
      overflow: hidden;
      display: flex; align-items: center; justify-content: center;
    }
    .video-thumb.gold-bg {
      background: linear-gradient(135deg, #fdf6e8 0%, #f0e0b8 100%);
    }
    .video-thumb-icon {
      font-size: 3rem;
      z-index: 1;
      transition: transform 0.32s ease;
    }
    .video-card:hover .video-thumb-icon { transform: scale(1.08); }
    .play-btn {
      position: absolute;
      inset: 0;
      display: flex; align-items: center; justify-content: center;
      background: rgba(30,45,30,0);
      transition: background 0.28s ease;
    }
    .play-btn-circle {
      width: 56px; height: 56px;
      border-radius: 50%;
      background: rgba(255,255,255,0.18);
      backdrop-filter: blur(8px);
      border: 2px solid rgba(255,255,255,0.5);
      display: flex; align-items: center; justify-content: center;
      color: var(--white);
      font-size: 1.1rem;
      transform: scale(0.7);
      transition: transform 0.32s cubic-bezier(0.34,1.56,0.64,1),
                  background 0.28s ease;
    }
    .video-card:hover .play-btn { background: rgba(30,45,30,0.38); }
    .video-card:hover .play-btn-circle {
      transform: scale(1);
      background: rgba(255,255,255,0.28);
    }
    .video-duration {
      position: absolute;
      bottom: 12px; right: 12px;
      background: rgba(0,0,0,0.72);
      color: var(--white);
      font-size: 0.75rem;
      font-weight: 700;
      padding: 3px 10px;
      border-radius: var(--r-pill);
    }
    .video-category-chip {
      position: absolute;
      top: 12px; left: 12px;
      background: rgba(255,255,255,0.88);
      backdrop-filter: blur(6px);
      color: var(--green-dark);
      font-size: 0.7rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.7px;
      padding: 4px 10px;
      border-radius: var(--r-pill);
    }

    /* Card body */
    .video-body {
      padding: 22px 22px 24px;
    }
    .video-body h4 {
      font-size: 1rem;
      font-weight: 700;
      color: var(--text-heading);
      letter-spacing: -0.02em;
      margin-bottom: 8px;
      line-height: 1.35;
    }
    .video-body p {
      font-size: 0.84rem;
      color: var(--text-muted);
      line-height: 1.6;
      margin-bottom: 16px;
    }
    .video-meta {
      display: flex;
      gap: 16px;
      flex-wrap: wrap;
    }
    .video-meta span {
      font-size: 0.78rem;
      color: var(--text-muted);
      display: flex; align-items: center; gap: 5px;
    }
    .video-meta i { color: var(--green-mid); }

    /* ── Stats row ──────────────────────────────────────── */
    .video-stats-strip {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      background: var(--white);
      border: 1.5px solid var(--border);
      border-radius: var(--r-xl);
      overflow: hidden;
      margin-bottom: 56px;
      box-shadow: var(--shadow-sm);
    }
    .vstat-item {
      padding: 28px 24px;
      text-align: center;
      border-right: 1px solid var(--border);
      transition: background 0.22s ease;
    }
    .vstat-item:last-child { border-right: none; }
    .vstat-item:hover { background: var(--green-ultra); }
    .vstat-num {
      font-size: 2rem;
      font-weight: 900;
      color: var(--green-dark);
      letter-spacing: -0.04em;
      line-height: 1;
      margin-bottom: 6px;
    }
    .vstat-label {
      font-size: 0.78rem;
      color: var(--text-muted);
      font-weight: 500;
      text-transform: uppercase;
      letter-spacing: 0.8px;
    }

    /* ── Video modal — glassmorphism ────────────────────── */
    .video-modal {
      position: fixed;
      inset: 0;
      background: rgba(10,20,10,0.88);
      backdrop-filter: blur(20px);
      z-index: 9000;
      display: flex;
      align-items: center;
      justify-content: center;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.3s ease;
    }
    .video-modal.open {
      opacity: 1;
      pointer-events: all;
    }
    .video-modal-inner {
      background: var(--white);
      border-radius: var(--r-2xl);
      overflow: hidden;
      max-width: 800px;
      width: calc(100% - 40px);
      box-shadow: 0 60px 120px rgba(0,0,0,0.4);
      animation: vmIn 0.38s cubic-bezier(0.34,1.56,0.64,1) both;
      position: relative;
    }
    @keyframes vmIn {
      from { transform: scale(0.88) translateY(24px); opacity: 0; }
      to   { transform: scale(1) translateY(0); opacity: 1; }
    }
    .video-modal-close {
      position: absolute;
      top: 18px; right: 18px;
      z-index: 10;
      width: 40px; height: 40px;
      border-radius: 50%;
      border: 1.5px solid rgba(255,255,255,0.4);
      background: rgba(255,255,255,0.15);
      backdrop-filter: blur(8px);
      color: var(--white);
      font-size: 0.9rem;
      cursor: pointer;
      display: flex; align-items: center; justify-content: center;
      transition: var(--t);
    }
    .video-modal-close:hover {
      background: var(--white);
      color: var(--green-dark);
      border-color: var(--white);
    }
    .video-modal-player {
      aspect-ratio: 16/9;
      background: linear-gradient(135deg, var(--green-dark) 0%, #2c4230 100%);
      display: flex; align-items: center; justify-content: center;
      flex-direction: column; gap: 16px;
    }
    .modal-player-icon { font-size: 5rem; }
    .modal-player-msg {
      color: rgba(255,255,255,0.65);
      font-size: 0.88rem;
    }
    .video-modal-info {
      padding: 28px 32px;
    }
    .video-modal-info h3 {
      font-size: 1.2rem;
      font-weight: 800;
      letter-spacing: -0.02em;
      margin-bottom: 8px;
    }
    .video-modal-info p {
      font-size: 0.88rem;
      color: var(--text-muted);
      line-height: 1.65;
    }

    /* ── Responsive ─────────────────────────────────────── */
    @media (max-width: 1000px) {
      .featured-card { grid-template-columns: 1fr; }
      .featured-thumb { min-height: 280px; }
      .featured-info { padding: 32px 28px; }
    }
    @media (max-width: 900px) {
      .video-grid { grid-template-columns: repeat(2, 1fr); }
      .video-stats-strip { grid-template-columns: repeat(2, 1fr); }
      .video-stats-strip .vstat-item:nth-child(2) { border-right: none; }
      .video-stats-strip .vstat-item:nth-child(3) { border-top: 1px solid var(--border); }
    }
    @media (max-width: 600px) {
      .video-grid { grid-template-columns: 1fr; }
      .video-stats-strip { grid-template-columns: repeat(2, 1fr); }
      .video-modal-info { padding: 20px; }
    }
  
.album-card-img {
  transition: transform 0.4s ease;
}
.album-card:hover .album-card-img {
  transform: scale(1.08);
}