    .gallery-hero {
      width: 100%;
      max-width: 87.5rem;
      margin: 10.875rem auto 0;
      padding: 0 1.5rem;
      display: flex;
      align-items: center;
      gap: 1rem;
      justify-content: space-between;
    }

    .gallery-hero-left {
      display: flex;
      align-items: center;
      gap: 1rem;
      min-width: 0;
    }

    .view-toggle {
      display: flex;
      gap: 0;
      border-radius: var(--radius);
      overflow: hidden;
      border: 1px solid #e2e8f0;
      flex-shrink: 0;
    }

    .view-toggle-btn {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 2.375rem;
      height: 2.375rem;
      border: none;
      background: #fff;
      color: #94a3b8;
      cursor: pointer;
      transition: all .2s;
    }

    .view-toggle-btn:hover { color: var(--page-text, #0f172a); background: #f8fafc; }
    .view-toggle-btn.active { background: var(--secondary, #0f172a); color: var(--secondary-text, #fff); }
    .view-toggle-btn svg { width: 1.125rem; height: 1.125rem; }

    .gallery-hero .back-btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 2.5rem;
      height: 2.5rem;
      border-radius: var(--radius);
      background: var(--secondary, #0f172a);
      color: var(--secondary-text, #fff);
      text-decoration: none;
      transition: all .25s ease;
      flex-shrink: 0;
    }
    .gallery-hero .back-btn:hover { background: var(--pink); color: var(--primary-text, #fff); }

    .gallery-hero-info {
      display: flex;
      flex-direction: column;
      gap: 2px;
    }
    .gallery-hero-title {
      margin: 0;
      color: var(--page-text);
      font-size: clamp(1.375rem, 3vw, 1.875rem);
      font-weight: 800;
      letter-spacing: -0.03em;
      line-height: 1.2;
    }
    .gallery-hero-meta {
      font-size: 0.875rem;
      color: #7c8ca3;
      font-weight: 500;
    }

    /* Photo grid */
    .gallery-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
      gap: 0.375rem;
      max-width: 87.5rem;
      margin: 1.5rem auto;
      padding: 0 1.5rem;
    }

    .gallery-item {
      position: relative;
      overflow: hidden;
      border-radius: var(--radius-sm);
      cursor: pointer;
      aspect-ratio: 1;
      background: #f1f5f9;
    }

    .gallery-item img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      transition: transform .3s ease;
    }

    .gallery-item:hover img {
      transform: scale(1.05);
    }

    /* Mosaic mode */
    .mosaic-container {
      display: none;
      max-width: 87.5rem;
      margin: 1.5rem auto;
      padding: 0 1.5rem;
    }

    .mosaic-container.active {
      display: block;
    }

    .mosaic-row {
      display: flex;
      gap: 0.375rem;
      margin-bottom: 0.375rem;
    }

    .mosaic-item {
      position: relative;
      overflow: hidden;
      border-radius: var(--radius-sm);
      cursor: pointer;
      flex-shrink: 0;
      background: #f1f5f9;
    }

    .mosaic-item img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      transition: transform .3s ease;
    }

    .mosaic-item:hover img {
      transform: scale(1.05);
    }

    /* Lightbox */
    .lightbox {
      display: none;
      position: fixed;
      top: 0; left: 0; right: 0; bottom: 0;
      z-index: 9999;
      background: rgba(0,0,0,0.95);
      align-items: center;
      justify-content: center;
      flex-direction: column;
    }
    .lightbox.active { display: flex; }

    .lightbox-close {
      position: absolute;
      top: 1rem;
      right: 1rem;
      width: 2.75rem;
      height: 2.75rem;
      border-radius: 50%;
      border: none;
      background: rgba(255,255,255,0.15);
      color: #fff;
      font-size: 1.5rem;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: background .2s;
      z-index: 10;
    }
    .lightbox-close:hover { background: rgba(255,255,255,0.3); }

    .lightbox-counter {
      position: absolute;
      top: 1.25rem;
      left: 50%;
      transform: translateX(-50%);
      color: rgba(255,255,255,0.7);
      font-size: 0.875rem;
      font-weight: 600;
      z-index: 10;
    }

    .lightbox-img-wrap {
      flex: 1;
      display: flex;
      align-items: center;
      justify-content: center;
      width: 100%;
      padding: 3.75rem 1.25rem 1.25rem;
      min-height: 0;
    }

    .lightbox-img-wrap img {
      max-width: 100%;
      max-height: 100%;
      object-fit: contain;
      border-radius: var(--radius-sm);
      user-select: none;
      -webkit-user-drag: none;
    }

    .lightbox-nav {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      width: 3rem;
      height: 3rem;
      border-radius: 50%;
      border: none;
      background: rgba(255,255,255,0.15);
      color: #fff;
      font-size: 1.375rem;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: background .2s;
      z-index: 10;
    }
    .lightbox-nav:hover { background: rgba(255,255,255,0.3); }
    .lightbox-prev { left: 1rem; }
    .lightbox-next { right: 1rem; }

    /* Thumbnail strip */
    .lightbox-strip {
      display: flex;
      gap: 0.375rem;
      padding: 0.75rem 1.25rem;
      overflow-x: auto;
      max-width: 100%;
      scrollbar-width: thin;
      scrollbar-color: rgba(255,255,255,0.3) transparent;
    }
    .lightbox-strip::-webkit-scrollbar { height: 0.25rem; }
    .lightbox-strip::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.3); border-radius: 2px; }

    .lightbox-thumb {
      flex-shrink: 0;
      width: 3.75rem;
      height: 3.75rem;
      border-radius: var(--radius-sm);
      overflow: hidden;
      cursor: pointer;
      opacity: 0.4;
      transition: opacity .2s, transform .2s;
      border: 2px solid transparent;
    }
    .lightbox-thumb.active {
      opacity: 1;
      border-color: #fff;
    }
    .lightbox-thumb:hover { opacity: 0.8; }
    .lightbox-thumb img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .gallery-empty {
      text-align: center;
      padding: 5rem 1.25rem;
      color: #94a3b8;
    }
    .gallery-empty svg {
      width: 4rem;
      height: 4rem;
      margin-bottom: 1rem;
      opacity: 0.5;
    }

    @media (max-width: 1040px) {
      .gallery-hero { margin-top: 1rem; }
      .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 0.25rem;
        padding: 0 0.5rem;
      }
      .gallery-item { border-radius: var(--radius-sm); }
      .mosaic-container { display: none !important; }
      .gallery-grid {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
      }
      .view-toggle { display: none; }
      .lightbox-nav { width: 2.25rem; height: 2.25rem; font-size: 1.125rem; }
      .lightbox-prev { left: 0.5rem; }
      .lightbox-next { right: 0.5rem; }
      .lightbox-thumb { width: 3rem; height: 3rem; }
    }
