/* ==========================================================================
   gallery.html — Gallery page specific styles
   ========================================================================== */

/* ========================================
   1. HERO SECTION
======================================== */
.hero.hero--short {
  height: auto;
  min-height: 86vh;
  box-sizing: border-box;
  padding-block: clamp(140px, 16vh, 190px) clamp(50px, 7vh, 90px);
}

.gallery-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.88fr;
  align-items: center;
  gap: 56px;
}

.gallery-hero__content h1 {
  font-size: clamp(38px, 4.4vw, 62px);
  line-height: 1.08;
  margin-bottom: 20px;
}

.gallery-hero__content .eyebrow { margin-bottom: 18px; }
.gallery-hero__content .lead { margin-bottom: 0; max-width: 52ch; font-size: clamp(15px, 1.2vw, 17px); }

/* ============================================================
   GALLERY HERO LENS CARDS (Interactive Category Preview Design)
   ============================================================ */
.gallery-lenses {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: clamp(28px, 4vh, 42px);
  padding-top: clamp(22px, 3vh, 32px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  max-width: 680px;
}

.lens-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(16, 23, 38, 0.88) 0%, rgba(9, 13, 23, 0.96) 100%);
  border: 1px solid rgba(0, 0, 0, 0.12);
  padding: 22px 20px 18px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1),
              border-color 0.35s var(--ease),
              box-shadow 0.35s var(--ease),
              background 0.35s var(--ease);
}

/* Subtle corner ambient glow inside the card */
.lens-card::after {
  content: "";
  position: absolute;
  top: -24px;
  right: -24px;
  width: 110px;
  height: 110px;
  background: radial-gradient(circle, rgba(227, 6, 19, 0.16) 0%, transparent 70%);
  filter: blur(20px);
  pointer-events: none;
  z-index: 0;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
  opacity: 0.7;
}

.lens-card:hover::after {
  opacity: 1;
  transform: scale(1.35);
}

.lens-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  z-index: 5;
  transition: opacity 0.35s var(--ease);
}

.lens-card:hover {
  transform: translateY(-5px);
  border-color: rgba(227, 6, 19, 0.55);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.65), 0 0 26px rgba(227, 6, 19, 0.2);
  background: linear-gradient(180deg, rgba(22, 33, 56, 0.92) 0%, rgba(10, 15, 27, 0.98) 100%);
}

.lens-card:hover::before {
  opacity: 1;
}

/* Top bar: Tag pill + Arrow badge */
.lens-card__top {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.lens-card__tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  border-radius: var(--r-pill);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease);
}

.lens-card__tag svg {
  color: var(--accent);
  flex-shrink: 0;
}

.lens-card:hover .lens-card__tag {
  background: rgba(227, 6, 19, 0.14);
  border-color: rgba(227, 6, 19, 0.45);
  color: #fff;
}

.lens-card__arrow-badge {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.7);
  transition: transform 0.3s var(--ease), background 0.3s var(--ease), border-color 0.3s var(--ease), color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.lens-card:hover .lens-card__arrow-badge {
  transform: translate(2px, -2px);
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  box-shadow: 0 0 12px rgba(227, 6, 19, 0.6);
}

/* Card Body */
.lens-card__body {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.lens-card__body h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text-primary);
  line-height: 1.25;
  transition: color 0.25s var(--ease);
}

.lens-card:hover .lens-card__body h3 {
  color: #fff;
}

.lens-card__body p {
  font-size: 12.5px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0 0 16px;
  flex-grow: 1;
}

/* Card Meta Footer */
.lens-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 12px;
}

.lens-card__stat {
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.lens-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 6px rgba(16, 185, 129, 0.7);
  flex-shrink: 0;
}

.lens-card__cta {
  font-weight: 700;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.25s var(--ease);
}

.lens-card:hover .lens-card__cta {
  gap: 7px;
}
.lens-card__cta svg {
  transition: transform 0.25s var(--ease);
}
.lens-card:hover .lens-card__cta svg {
  transform: translateX(2px);
}

/* Animated Floating Cards Visual */
.gallery-hero__visual {
  position: relative;
  height: 440px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.floating-cards {
  position: relative;
  width: 100%;
  height: 100%;
  max-width: 460px;
}

.floating-cards::before {
  content: "";
  position: absolute;
  top: 15%;
  left: 15%;
  width: 70%;
  height: 70%;
  background: radial-gradient(circle, rgba(227, 6, 19, 0.24) 0%, rgba(227, 6, 19, 0.06) 50%, transparent 70%);
  filter: blur(40px);
  z-index: 0;
  pointer-events: none;
}

.float-card {
  position: absolute;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 24px 60px rgba(0,0,0,0.55);
  background: var(--bg-elevated);
  transition: transform 0.6s var(--ease), border-color 0.3s var(--ease);
}
.float-card:hover {
  border-color: rgba(227, 6, 19, 0.5);
  animation-play-state: paused;
}
.float-card img { width: 100%; height: 100%; object-fit: cover; display: block; }

.float-card__pill {
  position: absolute;
  bottom: 12px;
  left: 12px;
  padding: 5px 12px;
  border-radius: var(--r-pill);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(11, 15, 20, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  pointer-events: none;
}

.fc-1 {
  width: 220px; height: 300px;
  top: 40px; left: 0;
  z-index: 1;
  animation: float1 8s ease-in-out infinite;
}
.fc-2 {
  width: 260px; height: 320px;
  top: 15px; right: 0;
  z-index: 3;
  animation: float2 9s ease-in-out infinite alternate;
}
.fc-3 {
  width: 200px; height: 260px;
  bottom: 20px; left: 34%;
  z-index: 2;
  animation: float3 7s ease-in-out infinite;
}

@keyframes float1 {
  0%, 100% { transform: translateY(0) rotate(-4deg); }
  50% { transform: translateY(-15px) rotate(-6deg); }
}
@keyframes float2 {
  0%, 100% { transform: translateY(0) rotate(3deg); }
  50% { transform: translateY(12px) rotate(5deg); }
}
@keyframes float3 {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-10px) rotate(0deg); }
}

@media (prefers-reduced-motion: reduce) {
  .float-card { animation: none !important; }
}

/* ========================================
   2. PAGE COMPONENTS — filter pills
======================================== */
.filter-wrapper { display: flex; justify-content: center; }
.filter-pills { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.filter-pills button {
  border-radius: var(--r-pill); border: 1px solid var(--border-editorial);
  background: var(--surface-editorial-card); color: var(--text-secondary-inverse);
  padding: 11px 22px; font-size: 14px; font-weight: 600; cursor: pointer;
  transition: all 0.25s var(--ease);
}
.filter-pills button:hover { border-color: var(--accent); }
.filter-pills button[aria-pressed="true"] { background: var(--accent); color: var(--accent-contrast-text); border-color: var(--accent); }
.is-hidden-filter { display: none !important; }

/* ========================================
   3. GALLERY SQUARE GRID
======================================== */
.gallery-square-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.tile--square { display: block; border-color: var(--border-editorial); }

.tile--square {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
}

.tile--square.is-hidden-more {
  display: none !important;
}

/* Entrance state applied briefly to freshly-revealed tiles (JS toggles this) */
.tile--square.tile--enter {
  opacity: 0;
  transform: translateY(22px) scale(0.96);
}

@media (prefers-reduced-motion: reduce) {
  .tile--square,
  .tile--square.tile--enter {
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}

/* ---- Load More button ---- */
.gallery-load-more-wrap {
  display: flex;
  justify-content: center;
}

.load-more-btn {
  /* colours, radius, shadow and hover come from the hero's .hv-member-btn */
  position: relative;
  cursor: pointer;
  font-family: inherit;
}

/* Gentle ambient pulse so the button draws the eye while idle */

/* Soft shimmer sweeping across the button */


/* Expanding ring on click */

.load-more-btn.is-clicked { animation: loadMoreRing 0.55s var(--ease); }


.load-more-btn:hover { animation-play-state: paused; }

.load-more-btn:active {
  transform: translateY(-1px) scale(0.97);
}

.load-more-btn__icon {
  position: relative;
  z-index: 1;
  transition: transform 0.3s var(--ease);
  animation: loadMoreArrowBounce 1.8s ease-in-out infinite;
}

@keyframes loadMoreArrowBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(3px); }
}

.load-more-btn__label {
  position: relative;
  z-index: 1;
}

.load-more-btn:hover .load-more-btn__icon {
  animation-play-state: paused;
  transform: translateY(4px);
}

/* "Load Less" state — icon flips to point up */
.load-more-btn--less .load-more-btn__icon {
  animation: none;
  transform: rotate(180deg);
}

.load-more-btn--less:hover .load-more-btn__icon {
  transform: rotate(180deg) translateY(-3px);
}

.load-more-btn.is-loading {
  pointer-events: none;
  opacity: 0.8;
}

.load-more-btn.is-loading .load-more-btn__icon {
  animation: loadMoreSpin 0.7s linear infinite;
}

@keyframes loadMoreSpin {
  to { transform: rotate(360deg); }
}

/* Only hide the control entirely when there's nothing to page through at all */
.gallery-load-more-wrap.is-done {
  display: none;
}

/* Tiles fading out when "Load Less" collapses the grid */
.tile--square.tile--exit {
  opacity: 0;
  transform: translateY(14px) scale(0.97);
}

@media (prefers-reduced-motion: reduce) {
  .load-more-btn,
  .load-more-btn::before,
  .load-more-btn::after,
  .load-more-btn__icon,
  .load-more-btn.is-loading .load-more-btn__icon,
  .load-more-btn--less .load-more-btn__icon,
  .load-more-btn:hover .load-more-btn__icon,
  .load-more-btn:hover {
    animation: none !important;
    transform: none !important;
  }
}

/* ========================================
   4. STUDIO EXPERIENCE (Layered Editorial)
======================================== */
.sle-section { padding-block: var(--section-y); overflow: hidden; }
.sle-container { position: relative; }
.sle-wrapper { position: relative; min-height: 640px; display: flex; align-items: center; }

.sle-main-visual {
  position: absolute; right: 0; top: 0; bottom: 0;
  width: 75%; border-radius: var(--r-xl); overflow: hidden;
}
.sle-main-visual img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.sle-wrapper:hover .sle-main-visual img { transform: scale(1.03); }
.sle-main-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--bg-default) 0%, transparent 40%);
}

.sle-content-card {
  position: relative; z-index: 2;
  width: 45%; background: rgba(11, 15, 20, 0.75);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 48px; box-shadow: 0 24px 60px rgba(0,0,0,0.5);
}
.sle-content-card h2 { font-size: clamp(32px, 4vw, 48px); margin-bottom: 20px; }
.sle-content-card .lead { font-size: 16px; margin-bottom: 32px; opacity: 0.9; }

.sle-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  width: 100%;
  margin-top: 8px;
}

.sle-stat-item {
  position: relative;
  padding: 20px 18px 0 18px;
  border-left: 1px solid var(--border);
  transition: transform 0.3s var(--ease);
}
.sle-stat-item:first-child {
  border-left: none;
  padding-left: 0;
}

.sle-stat-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 18px;
  width: 18px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transition: width 0.3s var(--ease);
}
.sle-stat-item:first-child::before { left: 0; }

.sle-stat-item strong {
  display: block;
  font-size: clamp(22px, 2.3vw, 32px);
  color: var(--accent);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 6px;
  transition: transform 0.3s var(--ease);
  transform-origin: left;
}
.sle-stat-item span {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0.7;
  font-weight: 600;
}

.sle-stat-item:hover { transform: translateY(-4px); }
.sle-stat-item:hover::before { width: 30px; }
.sle-stat-item:hover strong { transform: scale(1.06); }

@media (prefers-reduced-motion: reduce) {
  .sle-stat-item,
  .sle-stat-item::before,
  .sle-stat-item strong {
    transition: none !important;
  }
}

.sle-accent {
  position: absolute; border-radius: var(--r-md); overflow: hidden;
  border: 1px solid var(--border-strong); box-shadow: 0 16px 40px rgba(0,0,0,0.4);
  z-index: 3; transition: transform 0.6s var(--ease);
}
.sle-accent img { width: 100%; height: 100%; object-fit: cover; }
.sle-accent--1 { width: 220px; height: 260px; right: 60px; bottom: -40px; }
.sle-accent--2 { width: 180px; height: 200px; right: 60%; top: -30px; }
.sle-wrapper:hover .sle-accent--1 { transform: translateY(-10px); }
.sle-wrapper:hover .sle-accent--2 { transform: translateY(10px); }

/* ========================================
   5. BEFORE & AFTER SLIDER
======================================== */
.ba-section { padding-block: var(--section-y); }
.ba-slider-container { max-width: 1024px; margin: 0 auto; position: relative; }
.ba-slider {
  position: relative; width: 100%; aspect-ratio: 16/9;
  border-radius: var(--r-lg); overflow: hidden;
  user-select: none; border: 1px solid var(--border-editorial);
  box-shadow: 0 24px 60px rgba(0,0,0,0.3);
}

.ba-image { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.ba-image img { width: 100%; height: 100%; object-fit: cover; }
.ba-image--after { z-index: 1; }
.ba-image--before {
  z-index: 2;
  clip-path: polygon(0 0, var(--exposure, 50%) 0, var(--exposure, 50%) 100%, 0 100%);
}

.ba-label {
  position: absolute; top: 24px; padding: 6px 16px;
  border-radius: var(--r-pill); font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.05em;
  background: rgba(0,0,0,0.6); color: #fff;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.ba-label--before { left: 24px; z-index: 3; }
.ba-label--after { right: 24px; z-index: 3; }

.ba-divider {
  position: absolute; top: 0; bottom: 0;
  left: var(--exposure, 50%); width: 2px;
  background: #fff; z-index: 4;
  transform: translateX(-50%); pointer-events: none;
  box-shadow: 0 0 10px rgba(0,0,0,0.5);
}

.ba-handle {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 48px; height: 48px;
  background: #fff; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #111; cursor: grab; pointer-events: auto;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.ba-handle:active { cursor: grabbing; transform: translate(-50%, -50%) scale(0.95); }

/* ========================================
   5. PAGE COMPONENTS — lightbox
======================================== */
.lightbox {
  position: fixed; inset: 0; z-index: 200; background: rgba(5, 7, 10, 0.95);
  display: none; align-items: center; justify-content: center; padding: 40px;
}
.lightbox.is-open { display: flex; }
.lightbox img { max-height: 82vh; width: auto; border-radius: 8px; }
.lightbox__controls { position: absolute; inset-inline: 32px; top: 50%; display: flex; justify-content: space-between; }
.lightbox .m-close { position: absolute; top: 28px; right: 28px; }

/* ========================================
   6. IMMERSIVE SHOWCASE
======================================== */
.showcase-immersive {
  padding-block: var(--section-y);
}

.showcase-immersive__inner {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  padding: clamp(60px, 8vw, 100px) clamp(30px, 5vw, 80px);
  display: flex;
  align-items: center;
  min-height: 540px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
  border: 1px solid var(--border-strong);
}

.showcase-immersive__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.showcase-immersive__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.showcase-immersive__inner:hover .showcase-immersive__bg img {
  transform: scale(1.04);
}
.showcase-immersive__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11, 15, 20, 0.95) 0%, rgba(11, 15, 20, 0.7) 50%, transparent 100%);
}

.showcase-immersive__content {
  position: relative;
  z-index: 2;
  max-width: 500px;
}
.showcase-immersive__content h2 {
  font-size: clamp(34px, 4vw, 54px);
  margin-bottom: 24px;
}
.showcase-immersive__content .lead {
  opacity: 0.9;
}

.showcase-immersive__float {
  position: absolute;
  right: -40px;
  top: 50%;
  transform: translateY(-50%) rotate(3deg);
  width: clamp(260px, 30vw, 340px);
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid rgba(227, 6, 19, 0.4);
  box-shadow: 0 24px 60px rgba(0,0,0,0.6);
  z-index: 2;
  transition: transform 0.6s var(--ease);
}
.showcase-immersive__inner:hover .showcase-immersive__float {
  transform: translateY(-50%) rotate(0deg) scale(1.05);
}
.showcase-immersive__float img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
}

/* ========================================
   7. RESPONSIVE
======================================== */
@media (max-width: 1023px) {
  .gallery-hero-grid { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .gallery-hero__content .lead { margin-inline: auto; }
  .gallery-hero__content .btn-row { justify-content: center; align-items: center; }
  .gallery-hero__content .btn-row .btn,
  .showcase-immersive__content .btn {
    width: 250px;
    box-sizing: border-box;
    justify-content: center;
  }
  .gallery-lenses { margin-inline: auto; max-width: 620px; text-align: left; }
  .gallery-hero__visual { height: 320px; }
  .fc-1 { width: 180px; height: 240px; }
  .fc-2 { width: 200px; height: 260px; }
  .fc-3 { width: 160px; height: 220px; }

  .gallery-square-grid { grid-template-columns: repeat(2, 1fr); }
  
  .showcase-immersive__overlay {
    background: linear-gradient(180deg, rgba(11, 15, 20, 0.95) 0%, rgba(11, 15, 20, 0.8) 60%, rgba(11,15,20,0.4) 100%);
  }
  .showcase-immersive__float {
    display: none;
  }

  /* SLE Section */
  .sle-main-visual { width: 100%; border-radius: var(--r-md); }
  .sle-content-card { width: 80%; margin: 40px auto 0; backdrop-filter: none; background: var(--bg-elevated); }
  .sle-accent { display: none; }
}

@media (max-width: 767px) {
  .gallery-hero__content .btn-row { flex-direction: column; align-items: center; justify-content: center; width: 100%; gap: 12px; }
  .gallery-hero__content .btn-row .btn { width: 240px; max-width: 100%; justify-content: center; box-sizing: border-box; }
  .gallery-lenses {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 28px;
    max-width: 100%;
  }
  .lens-card {
    padding: 18px 18px 16px;
  }
  .lens-card__body p {
    margin-bottom: 14px;
  }

  .gallery-hero__visual { height: 260px; }
  .fc-1 { width: 140px; height: 180px; top: 20px; }
  .fc-2 { width: 160px; height: 200px; top: 0; }
  .fc-3 { width: 120px; height: 160px; bottom: 0; }

  .showcase-immersive__content .btn {
    width: 240px;
    max-width: 100%;
    justify-content: center;
    box-sizing: border-box;
    gap: 8px;
    padding: 14px 20px;
    font-size: 14px;
    white-space: nowrap;
  }
  
  .gallery-square-grid { grid-template-columns: 1fr; }

  /* SLE Section */
  .sle-content-card { width: 100%; padding: 32px 24px; border-radius: var(--r-sm); margin-top: 24px; box-shadow: none; border: none; border-top: 1px solid var(--border); background: transparent; }
  .sle-stats { flex-wrap: wrap; row-gap: 24px; }
  .sle-stat-item:nth-child(3) { border-left: none; padding-left: 0; }
  .sle-stat-item:nth-child(3)::before { left: 0; }
  .sle-main-visual { position: relative; height: 360px; }
  .sle-wrapper { display: block; min-height: auto; }
}

/* ==========================================================================
   GALLERY HERO VISUAL (right side) — matches .svc-dashboard / .ab-emblem-panel
   ========================================================================== */
.gl-panel {
  position: relative;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 26px 22px 22px;
  border-radius: var(--hv-radius-lg, 32px);
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(191, 0, 0, 0.16), transparent 55%),
    linear-gradient(155deg, #1b1b1b 0%, #101010 60%, #0a0a0a 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 28px 60px -18px rgba(0, 0, 0, 0.55);
  overflow: hidden;
}
.gl-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 32px 32px;
  -webkit-mask-image: radial-gradient(60% 60% at 50% 40%, #000 0%, transparent 75%);
  mask-image: radial-gradient(60% 60% at 50% 40%, #000 0%, transparent 75%);
  pointer-events: none;
}
.gl-ring { position: absolute; border-radius: 50%; pointer-events: none; }
.gl-ring--lg { width: 320px; height: 320px; top: -60px; right: -80px; border: 1px solid rgba(191, 0, 0, 0.22); }
.gl-ring--sm { width: 160px; height: 160px; bottom: -40px; left: -50px; border: 1px solid rgba(255, 255, 255, 0.08); }

/* Header card */
.gl-head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: var(--hv-radius-chip, 18px);
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.09);
}
.gl-head__icon {
  display: flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; flex-shrink: 0;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(155deg, #bf0000, #9e0000);
  box-shadow: 0 16px 34px -10px rgba(191, 0, 0, 0.55), inset 0 0 0 1px rgba(255, 255, 255, 0.16);
}
.gl-head__body { flex: 1; min-width: 0; }
.gl-head__title { margin: 0; font-size: 1rem; font-weight: 700; color: #fff; }
.gl-head__sub { margin: 3px 0 0; font-size: 0.74rem; color: rgba(255, 255, 255, 0.62); line-height: 1.35; }
.gl-head__stat { display: flex; flex-direction: column; align-items: flex-end; flex-shrink: 0; }
.gl-head__stat strong {
  font-family: "Playfair Display", serif; font-style: italic; font-weight: 600;
  font-size: 1.6rem; line-height: 1; color: #fff;
}
.gl-head__stat span { margin-top: 4px; font-size: 0.68rem; color: rgba(255, 255, 255, 0.62); }

/* Photo mosaic: one tall frame + two stacked */
.gl-mosaic {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 10px;
  height: 300px;
}
.gl-tile {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--hv-radius-chip, 16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #141414;
  text-decoration: none;
}
.gl-tile--a { grid-row: 1 / span 2; }
.gl-tile img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.gl-tile::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, 0.7));
  pointer-events: none;
}
.gl-tile__tag {
  position: absolute; left: 10px; bottom: 10px; z-index: 1;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 0.72rem; font-weight: 600; color: #fff;
  background: rgba(10, 10, 10, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: background 0.3s ease, border-color 0.3s ease;
}
.gl-tile:hover img, .gl-tile:focus-visible img { transform: scale(1.06); }
.gl-tile:hover, .gl-tile:focus-visible { border-color: rgba(191, 0, 0, 0.5); }
.gl-tile:hover .gl-tile__tag, .gl-tile:focus-visible .gl-tile__tag { background: #bf0000; border-color: #bf0000; }

/* Category strip */
.gl-cats {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}
.gl-cat {
  display: flex; flex-direction: column; gap: 3px;
  padding: 11px 12px;
  border-radius: var(--hv-radius-sm, 12px);
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.09);
  text-decoration: none;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}
.gl-cat strong { font-size: 0.82rem; font-weight: 700; color: #fff; }
.gl-cat span { font-size: 0.68rem; color: rgba(255, 255, 255, 0.6); }
.gl-cat:hover, .gl-cat:focus-visible {
  background: rgba(191, 0, 0, 0.12);
  border-color: rgba(191, 0, 0, 0.4);
  transform: translateY(-2px);
}

@media (max-width: 900px) {
  .gl-panel { max-width: 100%; padding: 20px 16px 16px; gap: 14px; }
  .gl-mosaic { height: 260px; }
}
@media (max-width: 600px) {
  .gl-head__sub { display: none; }
  .gl-mosaic { height: 220px; }
  .gl-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  .gl-tile img, .gl-cat { transition: none; }
}

/* ==========================================================================
   GALLERY HERO STATS — compact glass capsules with a glowing number badge
   ========================================================================== */
.gl-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 0;
  max-width: 600px;
}
.gl-stat {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 7px 18px 7px 7px;
  border-radius: 999px;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025));
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: border-color 0.3s ease, background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.gl-stat:hover, .gl-stat:focus-visible {
  border-color: rgba(227, 6, 19, 0.55);
  background: linear-gradient(180deg, rgba(191, 0, 0, 0.18), rgba(191, 0, 0, 0.05));
  box-shadow: 0 10px 26px -12px rgba(227, 6, 19, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}
.gl-stat:focus-visible { outline: 2px solid #e30613; outline-offset: 3px; }

.gl-stat__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 6px;
  box-sizing: border-box;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  color: #fff;
  background: linear-gradient(155deg, #e30613, #9e0000);
  box-shadow: 0 8px 18px -8px rgba(227, 6, 19, 0.75), inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}
.gl-stat__text { display: flex; flex-direction: column; gap: 1px; line-height: 1.2; }
.gl-stat__text strong { font-size: 0.86rem; font-weight: 700; color: #fff; }
.gl-stat__text span { font-size: 0.7rem; color: rgba(255, 255, 255, 0.58); white-space: nowrap; }

@media (max-width: 600px) {
  .gl-stats { max-width: 100%; }
  .gl-stat { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .gl-stat { transition: none; }
  .gl-stat:hover, .gl-stat:focus-visible { transform: none; }
}

/* Labelled breaker between the hero buttons and the stats (same look as About) */
.gl-breaker {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 600px;
  margin-top: clamp(40px, 6vh, 56px);
  margin-bottom: 20px;
}/* ==========================================================================
   gallery.html — Gallery page specific styles
   ========================================================================== */

/* ========================================
   1. HERO SECTION
======================================== */
.hero.hero--short {
  height: auto;
  min-height: 86vh;
  box-sizing: border-box;
  padding-block: clamp(140px, 16vh, 190px) clamp(50px, 7vh, 90px);
}

.gallery-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.88fr;
  align-items: center;
  gap: 56px;
}

.gallery-hero__content h1 {
  font-size: clamp(38px, 4.4vw, 62px);
  line-height: 1.08;
  margin-bottom: 20px;
}

.gallery-hero__content .eyebrow { margin-bottom: 18px; }
.gallery-hero__content .lead { margin-bottom: 0; max-width: 52ch; font-size: clamp(15px, 1.2vw, 17px); }

/* ============================================================
   GALLERY HERO LENS CARDS (Interactive Category Preview Design)
   ============================================================ */
.gallery-lenses {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: clamp(28px, 4vh, 42px);
  padding-top: clamp(22px, 3vh, 32px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  max-width: 680px;
}

.lens-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(16, 23, 38, 0.88) 0%, rgba(9, 13, 23, 0.96) 100%);
  border: 1px solid rgba(0, 0, 0, 0.12);
  padding: 22px 20px 18px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1),
              border-color 0.35s var(--ease),
              box-shadow 0.35s var(--ease),
              background 0.35s var(--ease);
}

/* Subtle corner ambient glow inside the card */
.lens-card::after {
  content: "";
  position: absolute;
  top: -24px;
  right: -24px;
  width: 110px;
  height: 110px;
  background: radial-gradient(circle, rgba(227, 6, 19, 0.16) 0%, transparent 70%);
  filter: blur(20px);
  pointer-events: none;
  z-index: 0;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
  opacity: 0.7;
}

.lens-card:hover::after {
  opacity: 1;
  transform: scale(1.35);
}

.lens-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  z-index: 5;
  transition: opacity 0.35s var(--ease);
}

.lens-card:hover {
  transform: translateY(-5px);
  border-color: rgba(227, 6, 19, 0.55);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.65), 0 0 26px rgba(227, 6, 19, 0.2);
  background: linear-gradient(180deg, rgba(22, 33, 56, 0.92) 0%, rgba(10, 15, 27, 0.98) 100%);
}

.lens-card:hover::before {
  opacity: 1;
}

/* Top bar: Tag pill + Arrow badge */
.lens-card__top {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.lens-card__tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  border-radius: var(--r-pill);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease);
}

.lens-card__tag svg {
  color: var(--accent);
  flex-shrink: 0;
}

.lens-card:hover .lens-card__tag {
  background: rgba(227, 6, 19, 0.14);
  border-color: rgba(227, 6, 19, 0.45);
  color: #fff;
}

.lens-card__arrow-badge {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.7);
  transition: transform 0.3s var(--ease), background 0.3s var(--ease), border-color 0.3s var(--ease), color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.lens-card:hover .lens-card__arrow-badge {
  transform: translate(2px, -2px);
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  box-shadow: 0 0 12px rgba(227, 6, 19, 0.6);
}

/* Card Body */
.lens-card__body {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.lens-card__body h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text-primary);
  line-height: 1.25;
  transition: color 0.25s var(--ease);
}

.lens-card:hover .lens-card__body h3 {
  color: #fff;
}

.lens-card__body p {
  font-size: 12.5px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0 0 16px;
  flex-grow: 1;
}

/* Card Meta Footer */
.lens-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 12px;
}

.lens-card__stat {
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.lens-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 6px rgba(16, 185, 129, 0.7);
  flex-shrink: 0;
}

.lens-card__cta {
  font-weight: 700;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.25s var(--ease);
}

.lens-card:hover .lens-card__cta {
  gap: 7px;
}
.lens-card__cta svg {
  transition: transform 0.25s var(--ease);
}
.lens-card:hover .lens-card__cta svg {
  transform: translateX(2px);
}

/* Animated Floating Cards Visual */
.gallery-hero__visual {
  position: relative;
  height: 440px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.floating-cards {
  position: relative;
  width: 100%;
  height: 100%;
  max-width: 460px;
}

.floating-cards::before {
  content: "";
  position: absolute;
  top: 15%;
  left: 15%;
  width: 70%;
  height: 70%;
  background: radial-gradient(circle, rgba(227, 6, 19, 0.24) 0%, rgba(227, 6, 19, 0.06) 50%, transparent 70%);
  filter: blur(40px);
  z-index: 0;
  pointer-events: none;
}

.float-card {
  position: absolute;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 24px 60px rgba(0,0,0,0.55);
  background: var(--bg-elevated);
  transition: transform 0.6s var(--ease), border-color 0.3s var(--ease);
}
.float-card:hover {
  border-color: rgba(227, 6, 19, 0.5);
  animation-play-state: paused;
}
.float-card img { width: 100%; height: 100%; object-fit: cover; display: block; }

.float-card__pill {
  position: absolute;
  bottom: 12px;
  left: 12px;
  padding: 5px 12px;
  border-radius: var(--r-pill);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(11, 15, 20, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  pointer-events: none;
}

.fc-1 {
  width: 220px; height: 300px;
  top: 40px; left: 0;
  z-index: 1;
  animation: float1 8s ease-in-out infinite;
}
.fc-2 {
  width: 260px; height: 320px;
  top: 15px; right: 0;
  z-index: 3;
  animation: float2 9s ease-in-out infinite alternate;
}
.fc-3 {
  width: 200px; height: 260px;
  bottom: 20px; left: 34%;
  z-index: 2;
  animation: float3 7s ease-in-out infinite;
}

@keyframes float1 {
  0%, 100% { transform: translateY(0) rotate(-4deg); }
  50% { transform: translateY(-15px) rotate(-6deg); }
}
@keyframes float2 {
  0%, 100% { transform: translateY(0) rotate(3deg); }
  50% { transform: translateY(12px) rotate(5deg); }
}
@keyframes float3 {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-10px) rotate(0deg); }
}

@media (prefers-reduced-motion: reduce) {
  .float-card { animation: none !important; }
}

/* ========================================
   2. PAGE COMPONENTS — filter pills
======================================== */
.filter-wrapper { display: flex; justify-content: center; }
.filter-pills { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.filter-pills button {
  border-radius: var(--r-pill); border: 1px solid var(--border-editorial);
  background: var(--surface-editorial-card); color: var(--text-secondary-inverse);
  padding: 11px 22px; font-size: 14px; font-weight: 600; cursor: pointer;
  transition: all 0.25s var(--ease);
}
.filter-pills button:hover { border-color: var(--accent); }
.filter-pills button[aria-pressed="true"] { background: var(--accent); color: var(--accent-contrast-text); border-color: var(--accent); }
.is-hidden-filter { display: none !important; }

/* ========================================
   3. GALLERY SQUARE GRID
======================================== */
.gallery-square-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.tile--square { display: block; border-color: var(--border-editorial); }

.tile--square {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
}

.tile--square.is-hidden-more {
  display: none !important;
}

/* Entrance state applied briefly to freshly-revealed tiles (JS toggles this) */
.tile--square.tile--enter {
  opacity: 0;
  transform: translateY(22px) scale(0.96);
}

@media (prefers-reduced-motion: reduce) {
  .tile--square,
  .tile--square.tile--enter {
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}

/* ---- Load More button ---- */
.gallery-load-more-wrap {
  display: flex;
  justify-content: center;
}

.load-more-btn {
  /* colours, radius, shadow and hover come from the hero's .hv-member-btn */
  position: relative;
  cursor: pointer;
  font-family: inherit;
}

/* Gentle ambient pulse so the button draws the eye while idle */

/* Soft shimmer sweeping across the button */


/* Expanding ring on click */

.load-more-btn.is-clicked { animation: loadMoreRing 0.55s var(--ease); }


.load-more-btn:hover { animation-play-state: paused; }

.load-more-btn:active {
  transform: translateY(-1px) scale(0.97);
}

.load-more-btn__icon {
  position: relative;
  z-index: 1;
  transition: transform 0.3s var(--ease);
  animation: loadMoreArrowBounce 1.8s ease-in-out infinite;
}

@keyframes loadMoreArrowBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(3px); }
}

.load-more-btn__label {
  position: relative;
  z-index: 1;
}

.load-more-btn:hover .load-more-btn__icon {
  animation-play-state: paused;
  transform: translateY(4px);
}

/* "Load Less" state — icon flips to point up */
.load-more-btn--less .load-more-btn__icon {
  animation: none;
  transform: rotate(180deg);
}

.load-more-btn--less:hover .load-more-btn__icon {
  transform: rotate(180deg) translateY(-3px);
}

.load-more-btn.is-loading {
  pointer-events: none;
  opacity: 0.8;
}

.load-more-btn.is-loading .load-more-btn__icon {
  animation: loadMoreSpin 0.7s linear infinite;
}

@keyframes loadMoreSpin {
  to { transform: rotate(360deg); }
}

/* Only hide the control entirely when there's nothing to page through at all */
.gallery-load-more-wrap.is-done {
  display: none;
}

/* Tiles fading out when "Load Less" collapses the grid */
.tile--square.tile--exit {
  opacity: 0;
  transform: translateY(14px) scale(0.97);
}

@media (prefers-reduced-motion: reduce) {
  .load-more-btn,
  .load-more-btn::before,
  .load-more-btn::after,
  .load-more-btn__icon,
  .load-more-btn.is-loading .load-more-btn__icon,
  .load-more-btn--less .load-more-btn__icon,
  .load-more-btn:hover .load-more-btn__icon,
  .load-more-btn:hover {
    animation: none !important;
    transform: none !important;
  }
}

/* ========================================
   4. STUDIO EXPERIENCE (Split Bento)
======================================== */
.sle-section { padding-block: clamp(50px, 6vw, 84px); overflow: hidden; }
.sle-container { position: relative; }

.sle-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  align-items: stretch;
  gap: 20px;
  min-height: 400px;
}

/* ---- Content panel ---- */
.sle-content-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    radial-gradient(140% 130% at 100% 0%, rgba(191, 0, 0, 0.2), transparent 55%),
    linear-gradient(160deg, #18191c 0%, #0d0e10 65%, #0a0a0a 100%);
  border: 1px solid var(--border, rgba(255,255,255,0.08));
  border-left: 3px solid var(--accent, #bf0000);
  border-radius: var(--r-lg, 20px);
  padding: clamp(26px, 3vw, 38px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  overflow: hidden;
}
.sle-content-card::before {
  content: "";
  position: absolute;
  width: 200px; height: 200px;
  right: -70px; top: -70px;
  border-radius: 50%;
  border: 1px solid rgba(191, 0, 0, 0.25);
  pointer-events: none;
}
.sle-content-card .eyebrow { color: var(--accent, #bf0000); font-weight: 700; letter-spacing: 0.08em; font-size: 12px; }
.sle-content-card h2 { font-size: clamp(24px, 2.6vw, 32px); margin: 10px 0 12px; line-height: 1.12; }
.sle-content-card .lead { font-size: 14px; line-height: 1.55; margin-bottom: 24px; opacity: 0.72; max-width: 38ch; }

.sle-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 28px;
  width: 100%;
  margin-top: 4px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.sle-stat-item {
  position: relative;
  padding-top: 14px;
  transition: transform 0.3s var(--ease);
}
.sle-stat-item::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 16px; height: 2px;
  background: var(--accent, #bf0000);
  border-radius: 2px;
  transition: width 0.3s var(--ease);
}
.sle-stat-item strong {
  display: block;
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-size: clamp(20px, 1.8vw, 26px);
  color: #fff;
  font-weight: 600;
  line-height: 1;
  margin-bottom: 6px;
  transition: transform 0.3s var(--ease);
  transform-origin: left;
}
.sle-stat-item span {
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.6;
  font-weight: 600;
}

.sle-stat-item:hover { transform: translateY(-3px); }
.sle-stat-item:hover::before { width: 26px; background: #fff; }
.sle-stat-item:hover strong { transform: scale(1.06); color: var(--accent, #bf0000); }

@media (prefers-reduced-motion: reduce) {
  .sle-stat-item,
  .sle-stat-item::before,
  .sle-stat-item strong {
    transition: none !important;
  }
}

/* ---- Visual bento ---- */
.sle-visual {
  position: relative;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 12px;
}
.sle-visual__main,
.sle-visual__accent {
  position: relative;
  border-radius: var(--r-md, 16px);
  overflow: hidden;
  border: 1px solid var(--border-strong, rgba(255,255,255,0.1));
  box-shadow: 0 16px 40px rgba(0,0,0,0.45);
}
.sle-visual__main img,
.sle-visual__accent img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s var(--ease);
}
.sle-visual__main::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.4) 0%, transparent 45%);
  pointer-events: none;
}
.sle-visual__main::before {
  content: "The Studio";
  position: absolute;
  left: 14px; bottom: 14px;
  z-index: 1;
  padding: 6px 14px;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.04em;
  color: #fff;
  background: rgba(191, 0, 0, 0.85);
  border-radius: var(--r-pill, 999px);
  backdrop-filter: blur(6px);
  pointer-events: none;
}
.sle-visual__side {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 12px;
}
.sle-grid:hover .sle-visual__main img,
.sle-grid:hover .sle-visual__accent img { transform: scale(1.06); }

@media (max-width: 1023px) {
  .sle-grid { grid-template-columns: 1fr; min-height: auto; }
  .sle-visual { min-height: 340px; }
}
@media (max-width: 600px) {
  .sle-visual { grid-template-columns: 1fr 1fr; min-height: 260px; }
  .sle-stats { gap: 16px 22px; }
}

/* ========================================
   5. BEFORE & AFTER SLIDER
======================================== */
.ba-section { padding-block: var(--section-y); }
.ba-slider-container { max-width: 1024px; margin: 0 auto; position: relative; }
.ba-slider {
  position: relative; width: 100%; aspect-ratio: 16/9;
  border-radius: var(--r-lg); overflow: hidden;
  user-select: none; border: 1px solid var(--border-editorial);
  box-shadow: 0 24px 60px rgba(0,0,0,0.3);
}

.ba-image { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.ba-image img { width: 100%; height: 100%; object-fit: cover; }
.ba-image--after { z-index: 1; }
.ba-image--before {
  z-index: 2;
  clip-path: polygon(0 0, var(--exposure, 50%) 0, var(--exposure, 50%) 100%, 0 100%);
}

.ba-label {
  position: absolute; top: 24px; padding: 6px 16px;
  border-radius: var(--r-pill); font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.05em;
  background: rgba(0,0,0,0.6); color: #fff;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.ba-label--before { left: 24px; z-index: 3; }
.ba-label--after { right: 24px; z-index: 3; }

.ba-divider {
  position: absolute; top: 0; bottom: 0;
  left: var(--exposure, 50%); width: 2px;
  background: #fff; z-index: 4;
  transform: translateX(-50%); pointer-events: none;
  box-shadow: 0 0 10px rgba(0,0,0,0.5);
}

.ba-handle {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 48px; height: 48px;
  background: #fff; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #111; cursor: grab; pointer-events: auto;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.ba-handle:active { cursor: grabbing; transform: translate(-50%, -50%) scale(0.95); }

/* ========================================
   5. PAGE COMPONENTS — lightbox
======================================== */
.lightbox {
  position: fixed; inset: 0; z-index: 200; background: rgba(5, 7, 10, 0.95);
  display: none; align-items: center; justify-content: center; padding: 40px;
}
.lightbox.is-open { display: flex; }
.lightbox img { max-height: 82vh; width: auto; border-radius: 8px; }
.lightbox__controls { position: absolute; inset-inline: 32px; top: 50%; display: flex; justify-content: space-between; }
.lightbox .m-close { position: absolute; top: 28px; right: 28px; }

/* ========================================
   6. IMMERSIVE SHOWCASE
======================================== */
.showcase-immersive {
  padding-block: var(--section-y);
}

.showcase-immersive__inner {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  padding: clamp(60px, 8vw, 100px) clamp(30px, 5vw, 80px);
  display: flex;
  align-items: center;
  min-height: 540px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
  border: 1px solid var(--border-strong);
}

.showcase-immersive__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.showcase-immersive__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.showcase-immersive__inner:hover .showcase-immersive__bg img {
  transform: scale(1.04);
}
.showcase-immersive__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11, 15, 20, 0.95) 0%, rgba(11, 15, 20, 0.7) 50%, transparent 100%);
}

.showcase-immersive__content {
  position: relative;
  z-index: 2;
  max-width: 500px;
}
.showcase-immersive__content h2 {
  font-size: clamp(34px, 4vw, 54px);
  margin-bottom: 24px;
}
.showcase-immersive__content .lead {
  opacity: 0.9;
}

.showcase-immersive__float {
  position: absolute;
  right: -40px;
  top: 50%;
  transform: translateY(-50%) rotate(3deg);
  width: clamp(260px, 30vw, 340px);
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid rgba(227, 6, 19, 0.4);
  box-shadow: 0 24px 60px rgba(0,0,0,0.6);
  z-index: 2;
  transition: transform 0.6s var(--ease);
}
.showcase-immersive__inner:hover .showcase-immersive__float {
  transform: translateY(-50%) rotate(0deg) scale(1.05);
}
.showcase-immersive__float img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
}

/* ========================================
   7. RESPONSIVE
======================================== */
@media (max-width: 1023px) {
  .gallery-hero-grid { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .gallery-hero__content .lead { margin-inline: auto; }
  .gallery-hero__content .btn-row { justify-content: center; align-items: center; }
  .gallery-hero__content .btn-row .btn,
  .showcase-immersive__content .btn {
    width: 250px;
    box-sizing: border-box;
    justify-content: center;
  }
  .gallery-lenses { margin-inline: auto; max-width: 620px; text-align: left; }
  .gallery-hero__visual { height: 320px; }
  .fc-1 { width: 180px; height: 240px; }
  .fc-2 { width: 200px; height: 260px; }
  .fc-3 { width: 160px; height: 220px; }

  .gallery-square-grid { grid-template-columns: repeat(2, 1fr); }
  
  .showcase-immersive__overlay {
    background: linear-gradient(180deg, rgba(11, 15, 20, 0.95) 0%, rgba(11, 15, 20, 0.8) 60%, rgba(11,15,20,0.4) 100%);
  }
  .showcase-immersive__float {
    display: none;
  }

  /* SLE Section */
  .sle-main-visual { width: 100%; border-radius: var(--r-md); }
  .sle-content-card { width: 80%; margin: 40px auto 0; backdrop-filter: none; background: var(--bg-elevated); }
  .sle-accent { display: none; }
}

@media (max-width: 767px) {
  .gallery-hero__content .btn-row { flex-direction: column; align-items: center; justify-content: center; width: 100%; gap: 12px; }
  .gallery-hero__content .btn-row .btn { width: 240px; max-width: 100%; justify-content: center; box-sizing: border-box; }
  .gallery-lenses {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 28px;
    max-width: 100%;
  }
  .lens-card {
    padding: 18px 18px 16px;
  }
  .lens-card__body p {
    margin-bottom: 14px;
  }

  .gallery-hero__visual { height: 260px; }
  .fc-1 { width: 140px; height: 180px; top: 20px; }
  .fc-2 { width: 160px; height: 200px; top: 0; }
  .fc-3 { width: 120px; height: 160px; bottom: 0; }

  .showcase-immersive__content .btn {
    width: 240px;
    max-width: 100%;
    justify-content: center;
    box-sizing: border-box;
    gap: 8px;
    padding: 14px 20px;
    font-size: 14px;
    white-space: nowrap;
  }
  
  .gallery-square-grid { grid-template-columns: 1fr; }

  /* SLE Section */
  .sle-content-card { width: 100%; padding: 32px 24px; border-radius: var(--r-sm); margin-top: 24px; box-shadow: none; border: none; border-top: 1px solid var(--border); background: transparent; }
  .sle-stats { flex-wrap: wrap; row-gap: 24px; }
  .sle-stat-item:nth-child(3) { border-left: none; padding-left: 0; }
  .sle-stat-item:nth-child(3)::before { left: 0; }
  .sle-main-visual { position: relative; height: 360px; }
  .sle-wrapper { display: block; min-height: auto; }
}

/* ==========================================================================
   GALLERY HERO VISUAL (right side) — matches .svc-dashboard / .ab-emblem-panel
   ========================================================================== */
.gl-panel {
  position: relative;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 26px 22px 22px;
  border-radius: var(--hv-radius-lg, 32px);
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(191, 0, 0, 0.16), transparent 55%),
    linear-gradient(155deg, #1b1b1b 0%, #101010 60%, #0a0a0a 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 28px 60px -18px rgba(0, 0, 0, 0.55);
  overflow: hidden;
}
.gl-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 32px 32px;
  -webkit-mask-image: radial-gradient(60% 60% at 50% 40%, #000 0%, transparent 75%);
  mask-image: radial-gradient(60% 60% at 50% 40%, #000 0%, transparent 75%);
  pointer-events: none;
}
.gl-ring { position: absolute; border-radius: 50%; pointer-events: none; }
.gl-ring--lg { width: 320px; height: 320px; top: -60px; right: -80px; border: 1px solid rgba(191, 0, 0, 0.22); }
.gl-ring--sm { width: 160px; height: 160px; bottom: -40px; left: -50px; border: 1px solid rgba(255, 255, 255, 0.08); }

/* Header card */
.gl-head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: var(--hv-radius-chip, 18px);
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.09);
}
.gl-head__icon {
  display: flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; flex-shrink: 0;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(155deg, #bf0000, #9e0000);
  box-shadow: 0 16px 34px -10px rgba(191, 0, 0, 0.55), inset 0 0 0 1px rgba(255, 255, 255, 0.16);
}
.gl-head__body { flex: 1; min-width: 0; }
.gl-head__title { margin: 0; font-size: 1rem; font-weight: 700; color: #fff; }
.gl-head__sub { margin: 3px 0 0; font-size: 0.74rem; color: rgba(255, 255, 255, 0.62); line-height: 1.35; }
.gl-head__stat { display: flex; flex-direction: column; align-items: flex-end; flex-shrink: 0; }
.gl-head__stat strong {
  font-family: "Playfair Display", serif; font-style: italic; font-weight: 600;
  font-size: 1.6rem; line-height: 1; color: #fff;
}
.gl-head__stat span { margin-top: 4px; font-size: 0.68rem; color: rgba(255, 255, 255, 0.62); }

/* Photo mosaic: one tall frame + two stacked */
.gl-mosaic {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 10px;
  height: 300px;
}
.gl-tile {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--hv-radius-chip, 16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #141414;
  text-decoration: none;
}
.gl-tile--a { grid-row: 1 / span 2; }
.gl-tile img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: scale 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.gl-tile::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, 0.7));
  pointer-events: none;
}
.gl-tile__tag {
  position: absolute; left: 10px; bottom: 10px; z-index: 1;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 0.72rem; font-weight: 600; color: #fff;
  background: rgba(10, 10, 10, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: background 0.3s ease, border-color 0.3s ease;
}
.gl-tile:hover img, .gl-tile:focus-visible img { scale: 1.06; }
.gl-tile:hover, .gl-tile:focus-visible { border-color: rgba(191, 0, 0, 0.5); }
.gl-tile:hover .gl-tile__tag, .gl-tile:focus-visible .gl-tile__tag { background: #bf0000; border-color: #bf0000; }

/* Category strip */
.gl-cats {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}
.gl-cat {
  display: flex; flex-direction: column; gap: 3px;
  padding: 11px 12px;
  border-radius: var(--hv-radius-sm, 12px);
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.09);
  text-decoration: none;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}
.gl-cat strong { font-size: 0.82rem; font-weight: 700; color: #fff; }
.gl-cat span { font-size: 0.68rem; color: rgba(255, 255, 255, 0.6); }
.gl-cat:hover, .gl-cat:focus-visible {
  background: rgba(191, 0, 0, 0.12);
  border-color: rgba(191, 0, 0, 0.4);
  transform: translateY(-2px);
}

@media (max-width: 900px) {
  .gl-panel { max-width: 100%; padding: 20px 16px 16px; gap: 14px; }
  .gl-mosaic { height: 260px; }
}
@media (max-width: 600px) {
  .gl-head__sub { display: none; }
  .gl-mosaic { height: 220px; }
  .gl-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  .gl-tile img, .gl-cat { transition: none; }
}

/* ==========================================================================
   GALLERY HERO STATS — compact glass capsules with a glowing number badge
   ========================================================================== */
.gl-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 0;
  max-width: 600px;
}
.gl-stat {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 7px 18px 7px 7px;
  border-radius: 999px;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025));
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: border-color 0.3s ease, background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.gl-stat:hover, .gl-stat:focus-visible {
  border-color: rgba(227, 6, 19, 0.55);
  background: linear-gradient(180deg, rgba(191, 0, 0, 0.18), rgba(191, 0, 0, 0.05));
  box-shadow: 0 10px 26px -12px rgba(227, 6, 19, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}
.gl-stat:focus-visible { outline: 2px solid #e30613; outline-offset: 3px; }

.gl-stat__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 6px;
  box-sizing: border-box;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  color: #fff;
  background: linear-gradient(155deg, #e30613, #9e0000);
  box-shadow: 0 8px 18px -8px rgba(227, 6, 19, 0.75), inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}
.gl-stat__text { display: flex; flex-direction: column; gap: 1px; line-height: 1.2; }
.gl-stat__text strong { font-size: 0.86rem; font-weight: 700; color: #fff; }
.gl-stat__text span { font-size: 0.7rem; color: rgba(255, 255, 255, 0.58); white-space: nowrap; }

@media (max-width: 600px) {
  .gl-stats { max-width: 100%; }
  .gl-stat { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .gl-stat { transition: none; }
  .gl-stat:hover, .gl-stat:focus-visible { transform: none; }
}

/* Labelled breaker between the hero buttons and the stats (same look as About) */
.gl-breaker {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 600px;
  margin-top: clamp(40px, 6vh, 56px);
  margin-bottom: 20px;
}
.gl-breaker__line {
  flex: 1 1 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.16) 50%, transparent);
}
.gl-breaker__line:first-child {
  flex: 0 0 34px;
  max-width: 34px;
  background: linear-gradient(90deg, #bf0000, transparent);
}
.gl-breaker__label {
  flex: 0 0 auto;
  font-family: 'Manrope', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
  white-space: nowrap;
}


/* ==========================================================================
   GALLERY HERO PANEL — live motion
   ========================================================================== */
/* pulsing red glow behind the content */
.gl-panel::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(60% 50% at 85% 10%, rgba(227, 6, 19, 0.22), transparent 70%);
  pointer-events: none;
  animation: gl-glow 6s ease-in-out infinite;
}
@keyframes gl-glow { 0%, 100% { opacity: 0.35; } 50% { opacity: 1; } }

/* drifting rings + slowly panning grid */
.gl-ring--lg { animation: gl-drift-a 14s ease-in-out infinite alternate; }
.gl-ring--sm { animation: gl-drift-b 11s ease-in-out infinite alternate; }
@keyframes gl-drift-a { from { transform: translate(0, 0) scale(1); } to { transform: translate(-22px, 18px) scale(1.08); } }
@keyframes gl-drift-b { from { transform: translate(0, 0) scale(1); } to { transform: translate(20px, -14px) scale(1.15); } }
.gl-grid-bg { animation: gl-grid-pan 26s linear infinite; }
@keyframes gl-grid-pan { to { background-position: 32px 32px, 32px 32px; } }

/* header: sonar ping on the icon, live dot beside the title */
.gl-head__icon { position: relative; }
.gl-head__icon::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(227, 6, 19, 0.7);
  animation: gl-ping 2.8s cubic-bezier(0.2, 0.6, 0.3, 1) infinite;
  pointer-events: none;
}
@keyframes gl-ping { 0% { transform: scale(1); opacity: 0.8; } 80%, 100% { transform: scale(1.7); opacity: 0; } }
.gl-live-dot {
  display: inline-block;
  width: 7px; height: 7px;
  margin-right: 8px;
  vertical-align: middle;
  border-radius: 50%;
  background: #e30613;
  box-shadow: 0 0 0 0 rgba(227, 6, 19, 0.6);
  animation: gl-live 1.8s ease-out infinite;
}
@keyframes gl-live { 0% { box-shadow: 0 0 0 0 rgba(227, 6, 19, 0.6); } 100% { box-shadow: 0 0 0 9px rgba(227, 6, 19, 0); } }

/* photos: slow Ken Burns drift, each tile on its own rhythm */
.gl-tile--a img { animation: gl-kb-a 16s ease-in-out infinite alternate; }
.gl-tile--b img { animation: gl-kb-b 13s ease-in-out infinite alternate; }
.gl-tile--c img { animation: gl-kb-c 15s ease-in-out infinite alternate; }
@keyframes gl-kb-a { from { transform: scale(1) translate(0, 0); } to { transform: scale(1.09) translate(-2%, -1.5%); } }
@keyframes gl-kb-b { from { transform: scale(1.08) translate(-1.5%, 0); } to { transform: scale(1) translate(1%, 1%); } }
@keyframes gl-kb-c { from { transform: scale(1) translate(0, 0); } to { transform: scale(1.1) translate(1.5%, -1%); } }

/* light sweep across each tile, staggered */
.gl-tile::before {
  content: "";
  position: absolute; top: 0; bottom: 0; left: -60%;
  width: 40%;
  z-index: 1;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.16), transparent);
  transform: skewX(-18deg);
  pointer-events: none;
  animation: gl-sheen 7s ease-in-out infinite;
}
.gl-tile--b::before { animation-delay: 2.3s; }
.gl-tile--c::before { animation-delay: 4.6s; }
@keyframes gl-sheen { 0% { left: -60%; } 22%, 100% { left: 130%; } }

/* spotlight: JS moves this through the tiles and matching category chips */
.gl-tile, .gl-cat { transition-property: border-color, background, box-shadow, transform; transition-duration: 0.45s; }
.gl-tile.is-live {
  border-color: rgba(227, 6, 19, 0.65);
  box-shadow: 0 0 0 1px rgba(227, 6, 19, 0.35), 0 14px 30px -14px rgba(227, 6, 19, 0.7);
}
.gl-tile.is-live .gl-tile__tag { background: #bf0000; border-color: #bf0000; }
.gl-cat.is-live {
  background: rgba(191, 0, 0, 0.12);
  border-color: rgba(191, 0, 0, 0.45);
  transform: translateY(-2px);
}

/* whole card gently floats in the hero, like it's hovering above the page */
.gl-panel {
  animation: gl-float 6s ease-in-out infinite;
  will-change: transform;
}
@keyframes gl-float {
  0%, 100% { transform: translateY(0) rotate(0deg); box-shadow: 0 28px 60px -18px rgba(0, 0, 0, 0.55); }
  50% { transform: translateY(-16px) rotate(-0.35deg); box-shadow: 0 42px 70px -20px rgba(0, 0, 0, 0.6); }
}

@media (prefers-reduced-motion: reduce) {
  .gl-panel::before, .gl-ring, .gl-grid-bg, .gl-head__icon::after, .gl-live-dot,
  .gl-tile img, .gl-tile::before, .gl-panel { animation: none !important; }
  .gl-panel::before { opacity: 0.7; }
  .gl-tile::before { display: none; }
}
.gl-breaker__line {
  flex: 1 1 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.16) 50%, transparent);
}
.gl-breaker__line:first-child {
  flex: 0 0 34px;
  max-width: 34px;
  background: linear-gradient(90deg, #bf0000, transparent);
}
.gl-breaker__label {
  flex: 0 0 auto;
  font-family: 'Manrope', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
  white-space: nowrap;
}

/* ========================================
   GALLERY: SCROLL-IN ANIMATION
   (.tile--scroll is added by gallery.js, so no-JS visitors still see every tile)
======================================== */
.tile--square.tile--scroll {
  transition:
    opacity 0.8s var(--ease) var(--sd, 0ms),
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1) var(--sd, 0ms),
    box-shadow 0.35s var(--ease);
  will-change: opacity, transform;
}
.tile--square.tile--scroll:not(.is-inview) {
  opacity: 0;
  transform: translateY(56px) scale(0.94);
}
/* the photo settles from a slight zoom while the tile rises */
.tile--square.tile--scroll > img {
  transition: transform 1.3s cubic-bezier(0.22, 1, 0.36, 1) var(--sd, 0ms);
}
.tile--square.tile--scroll:not(.is-inview) > img {
  transform: scale(1.18);
}
/* drop the stagger delay once the intro is done so hover stays snappy */
.tile--square.tile--scroll.is-settled,
.tile--square.tile--scroll.is-settled > img {
  --sd: 0ms;
}

@media (max-width: 640px) {
  .tile--square.tile--scroll:not(.is-inview) { transform: translateY(36px) scale(0.97); }
}

@media (prefers-reduced-motion: reduce) {
  .tile--square.tile--scroll:not(.is-inview),
  .tile--square.tile--scroll:not(.is-inview) > img {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ========================================
   STUDIO EXPERIENCE — compact panel (sx-)
======================================== */
.sx-section { padding-block: clamp(36px, 5vw, 64px); overflow: hidden; }

.sx-panel {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(20px, 3vw, 44px);
  padding: clamp(22px, 3vw, 36px);
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background:
    radial-gradient(90% 120% at 0% 0%, rgba(191, 0, 0, 0.22), transparent 55%),
    linear-gradient(150deg, #17181b 0%, #0d0e10 70%);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  overflow: hidden;
}

/* ---- Copy ---- */
.sx-copy .eyebrow { color: var(--accent, #bf0000); font-weight: 700; letter-spacing: 0.08em; font-size: 11.5px; }
.sx-copy h2 {
  margin: 8px 0 10px;
  font-size: clamp(26px, 3.2vw, 40px);
  line-height: 1.08;
  letter-spacing: -0.02em;
}
.sx-copy h2 em {
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-weight: 500;
  color: var(--accent, #bf0000);
}
.sx-copy .lead { margin: 0 0 20px; max-width: 40ch; font-size: 14px; line-height: 1.6; opacity: 0.72; }

/* ---- Stat chips ---- */
.sx-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.sx-stat {
  padding: 12px 12px 11px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(6px);
  transition: transform 0.3s var(--ease, ease), border-color 0.3s var(--ease, ease), background 0.3s var(--ease, ease);
}
.sx-stat:hover {
  transform: translateY(-4px);
  border-color: rgba(191, 0, 0, 0.6);
  background: rgba(191, 0, 0, 0.1);
}
.sx-stat strong {
  display: block;
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-weight: 600;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1;
  color: #fff;
}
.sx-stat span {
  display: block;
  margin-top: 6px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.6;
}

/* ---- Layered photo collage ---- */
.sx-collage {
  position: relative;
  height: clamp(240px, 26vw, 320px);
}
.sx-pic {
  position: absolute;
  margin: 0;
  overflow: hidden;
  border-radius: 18px;
  border: 3px solid #101113;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.55);
  transition: transform 0.5s var(--ease, ease), box-shadow 0.5s var(--ease, ease);
}
.sx-pic img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease, ease); }
.sx-pic:hover img { transform: scale(1.07); }

.sx-pic--main { left: 0; top: 0; width: 66%; height: 100%; z-index: 1; }
.sx-pic--b { right: 0; top: 3%; width: 40%; height: 46%; z-index: 2; transform: rotate(3deg); }
.sx-pic--c { right: 5%; bottom: 0; width: 40%; height: 46%; z-index: 3; transform: rotate(-3deg); }
.sx-pic--b:hover { transform: rotate(0) translateY(-4px) scale(1.03); z-index: 4; }
.sx-pic--c:hover { transform: rotate(0) translateY(-4px) scale(1.03); z-index: 4; }

.sx-pic--main::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent 45%);
  pointer-events: none;
}
.sx-pic--main figcaption {
  position: absolute;
  left: 12px; bottom: 12px;
  z-index: 1;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--accent, #bf0000);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.sx-badge {
  position: absolute;
  left: 46%; top: -6px;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(16, 17, 19, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  animation: sx-float 4s ease-in-out infinite;
}
.sx-badge i {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #ff3b3b;
  box-shadow: 0 0 0 0 rgba(255, 59, 59, 0.6);
  animation: sx-pulse 1.8s ease-out infinite;
}
@keyframes sx-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@keyframes sx-pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 59, 59, 0.6); } 100% { box-shadow: 0 0 0 8px rgba(255, 59, 59, 0); } }

/* ---- Responsive ---- */
@media (max-width: 860px) {
  .sx-panel { grid-template-columns: 1fr; }
  .sx-collage { height: 260px; }
  .sx-copy .lead { max-width: none; }
}
@media (max-width: 480px) {
  .sx-stats { gap: 8px; }
  .sx-stat { padding: 10px 8px; }
  .sx-collage { height: 220px; }
}
@media (prefers-reduced-motion: reduce) {
  .sx-badge, .sx-badge i { animation: none; }
  .sx-pic, .sx-pic img, .sx-stat { transition: none; }
}


/* ========================================
   BEFORE & AFTER — refined, fits the viewport
======================================== */
.ba-section {
  position: relative;
  overflow: hidden;
  padding-block: clamp(32px, 5vh, 64px);
}
.ba-section::before {
  content: "";
  position: absolute;
  left: 50%; top: 58%;
  width: min(900px, 90vw); height: 420px;
  transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(191, 0, 0, 0.13), transparent 72%);
  pointer-events: none;
}
.ba-section .container { position: relative; }
.ba-section .heading-block h2 { font-size: clamp(30px, 4.2vw, 48px); }
.ba-section .heading-block .lead { font-size: clamp(14px, 1.5vw, 16px); }

.ba-slider-container { max-width: 980px; }

/* height follows the screen so heading + slider fit in one view */
.ba-slider {
  aspect-ratio: auto;
  height: clamp(240px, calc(100vh - 320px), 540px);
  height: clamp(240px, calc(100svh - 320px), 540px);
  border-radius: 28px;
  border: 4px solid #fff;
  box-shadow:
    0 0 0 1px rgba(17, 17, 17, 0.08),
    0 30px 70px -20px rgba(20, 20, 40, 0.45),
    0 0 60px -10px rgba(191, 0, 0, 0.28);
  cursor: ew-resize;
  touch-action: pan-y;
}

/* "before" is the raw, muted version so the reveal reads clearly */
.ba-image--before img {
  filter: grayscale(1) contrast(0.92) brightness(0.96);
}
.ba-image--after img { filter: saturate(1.12) contrast(1.03); }

.ba-label {
  top: 18px;
  padding: 6px 14px;
  font-size: 11px;
  letter-spacing: 0.1em;
  border: 1px solid rgba(255, 255, 255, 0.18);
}
.ba-label--before { left: 18px; background: rgba(20, 20, 24, 0.7); }
.ba-label--after { right: 18px; background: var(--accent, #bf0000); border-color: transparent; }

/* divider + handle */
.ba-divider {
  width: 3px;
  background: linear-gradient(to bottom, transparent, #fff 12%, #fff 88%, transparent);
  box-shadow: 0 0 14px rgba(0, 0, 0, 0.45);
}
.ba-handle {
  width: 52px; height: 52px;
  color: var(--accent, #bf0000);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}
.ba-handle::before {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.75);
  animation: ba-ring 2.2s ease-out infinite;
}
.ba-slider:hover .ba-handle { transform: translate(-50%, -50%) scale(1.08); }
.ba-handle:focus-visible { outline: 3px solid var(--accent, #bf0000); outline-offset: 3px; }
@keyframes ba-ring {
  0% { transform: scale(0.85); opacity: 0.9; }
  100% { transform: scale(1.35); opacity: 0; }
}

/* hint pill */
.ba-hint {
  position: absolute;
  left: 50%; bottom: 18px;
  z-index: 5;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(16, 17, 19, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  pointer-events: none;
  transition: opacity 0.5s var(--ease, ease), transform 0.5s var(--ease, ease);
}
.ba-slider.has-interacted .ba-hint { opacity: 0; transform: translate(-50%, 8px); }

@media (max-width: 640px) {
  .ba-slider { border-width: 3px; border-radius: 22px; height: clamp(220px, 52svh, 380px); }
  .ba-handle { width: 44px; height: 44px; }
  .ba-label { top: 12px; font-size: 10px; padding: 5px 11px; }
  .ba-label--before { left: 12px; }
  .ba-label--after { right: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .ba-handle::before { animation: none; opacity: 0; }
  .ba-hint { transition: none; }
}


/* ========================================
   FILTER — segmented control with sliding thumb
======================================== */
.filter-wrapper .filter-pills {
  position: relative;
  display: inline-flex;
  flex-wrap: nowrap;
  gap: 2px;
  padding: 6px;
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(20, 20, 40, 0.08);
  box-shadow: 0 10px 30px -12px rgba(20, 20, 40, 0.25), inset 0 1px 0 #fff;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.filter-wrapper .filter-pills::-webkit-scrollbar { display: none; }

.filter-wrapper .filter-pills button {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  padding: 10px 18px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  box-shadow: none;
  color: #5b6172;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.3s var(--ease, ease);
}
.filter-wrapper .filter-pills button:hover { color: #111; border: 0; }
.filter-wrapper .filter-pills button[aria-pressed="true"] { color: #fff; background: transparent; border: 0; }
.filter-wrapper .filter-pills button:focus-visible { outline: 2px solid var(--accent, #e30613); outline-offset: 2px; }

/* count badge */
.fp-count {
  min-width: 22px;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(20, 20, 40, 0.07);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
  transition: background 0.3s var(--ease, ease), color 0.3s var(--ease, ease);
}
.fp-count:empty { display: none; }
.filter-pills button[aria-pressed="true"] .fp-count { background: rgba(255, 255, 255, 0.25); }

/* sliding thumb (positioned by gallery.js) */
.filter-thumb {
  position: absolute;
  top: 6px; bottom: 6px; left: 0;
  width: var(--thumb-w, 0px);
  transform: translateX(var(--thumb-x, 6px));
  border-radius: 999px;
  background: linear-gradient(135deg, #ff2a36 0%, var(--accent, #e30613) 55%, #b0000a 100%);
  box-shadow: 0 8px 20px -6px rgba(227, 6, 19, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  opacity: 0;
  transition:
    transform 0.5s cubic-bezier(0.34, 1.4, 0.64, 1),
    width 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.2s ease;
  pointer-events: none;
}
.filter-pills.has-thumb .filter-thumb { opacity: 1; }

/* before JS positions the thumb, keep the active state visible */
.filter-pills:not(.has-thumb) button[aria-pressed="true"] {
  background: var(--accent, #e30613);
}

@media (max-width: 480px) {
  .filter-wrapper .filter-pills button { padding: 9px 13px; font-size: 13px; gap: 6px; }
  .fp-count { padding: 1px 6px; }
}
@media (prefers-reduced-motion: reduce) {
  .filter-thumb { transition: none; }
}


/* Load More — uses the hero "Connect Us" button styling (.hv-member-btn) */
@keyframes loadMoreRing {
  0%   { box-shadow: 0 0 0 0 rgba(227, 6, 19, 0.55); }
  100% { box-shadow: 0 0 0 16px rgba(227, 6, 19, 0); }
}
.load-more-btn.hv-member-btn { border: 0; }
.load-more-btn .hv-member-icon { display: inline-flex; }
.load-more-btn:active { transform: scale(0.97); }


/* ========================================
   BEFORE & AFTER — exactly one screen tall
   heading = natural height, slider fills the rest
======================================== */
.ba-section {
  --ba-pad: clamp(18px, 3.5vh, 40px);
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-block: var(--ba-pad);
  box-sizing: border-box;
}
.ba-section > .container {
  width: 100%;
  display: flex;
  flex-direction: column;
  height: calc(100vh - 2 * var(--ba-pad));
  height: calc(100svh - 2 * var(--ba-pad));
  min-height: 460px;
  max-height: 860px;
}
.ba-section .heading-block {
  flex: 0 0 auto;
  margin-bottom: clamp(12px, 2.4vh, 24px) !important;
}
.ba-section .heading-block h2 { font-size: clamp(28px, 4.4vh + 8px, 46px); margin-block: 6px 0; }
.ba-section .heading-block .lead { max-width: 72ch !important; margin-top: 8px !important; line-height: 1.5; }

.ba-section .ba-slider-container {
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
}
.ba-section .ba-slider {
  height: 100%;
  min-height: 220px;
}

@media (max-width: 640px) {
  .ba-section > .container { min-height: 520px; }
  .ba-section .heading-block .lead { font-size: 13px; }
}


/* ========================================
   BEFORE & AFTER — smaller, compact card
======================================== */
.ba-section {
  min-height: 0;
  display: block;
  padding-block: clamp(32px, 5vh, 56px);
}
.ba-section > .container {
  height: auto;
  min-height: 0;
  max-height: none;
  display: block;
}
.ba-section .ba-slider-container {
  flex: none;
  width: 100%;
  max-width: 700px;
  margin-inline: auto;
}
.ba-section .ba-slider {
  height: clamp(220px, 44svh, 380px);
  min-height: 0;
  border-radius: 22px;
  border-width: 3px;
}
.ba-section .ba-handle { width: 44px; height: 44px; }
.ba-section .ba-label { top: 14px; padding: 5px 12px; font-size: 10px; }
.ba-section .ba-label--before { left: 14px; }
.ba-section .ba-label--after { right: 14px; }
.ba-section .ba-hint { bottom: 12px; padding: 6px 13px; font-size: 10px; }

@media (max-width: 640px) {
  .ba-section > .container { min-height: 0; }
  .ba-section .ba-slider { height: clamp(200px, 40svh, 300px); border-radius: 18px; }
}


/* ========================================
   BEFORE & AFTER — background fills the full screen
   (card stays compact, content centred vertically)
======================================== */
.ba-section {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  box-sizing: border-box;
  padding-block: clamp(24px, 4vh, 56px);
}
.ba-section > .container {
  width: 100%;
  display: block;
  height: auto;
  min-height: 0;
  max-height: none;
}
/* glow sits behind the card, centred in the taller section */
.ba-section::before { top: 55%; }

/* ═══ FINAL CTA — same design as the Services page CTA banner ═══ */
/* ==========================================================================
   6. FINAL AMBIENT CTA BANNER
   ========================================================================== */
.svc-cta-section {
  padding-block: clamp(60px, 8vw, 100px);
  background: var(--bg-primary);
}

.svc-cta-banner {
  position: relative;
  border-radius: var(--hv-radius-lg, 32px);
  overflow: hidden;
  padding: clamp(52px, 7vw, 80px) clamp(24px, 5vw, 64px);
  text-align: center;
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(191, 0, 0, 0.18), transparent 55%),
    linear-gradient(155deg, #1b1b1b 0%, #101010 60%, #0a0a0a 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 28px 60px -18px rgba(0, 0, 0, 0.55);
}

.svc-cta-banner__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  -webkit-mask-image: radial-gradient(60% 60% at 50% 50%, #000 0%, transparent 75%);
  mask-image: radial-gradient(60% 60% at 50% 50%, #000 0%, transparent 75%);
  pointer-events: none;
}

.svc-cta-banner__ring {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.svc-cta-banner__ring--lg {
  width: 360px;
  height: 360px;
  top: -80px;
  right: -80px;
  border: 1px solid rgba(191, 0, 0, 0.22);
}

.svc-cta-banner__ring--sm {
  width: 180px;
  height: 180px;
  bottom: -40px;
  left: -40px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.svc-cta-banner__content {
  position: relative;
  z-index: 1;
  max-width: 620px;
  margin: 0 auto;
}

.svc-cta-heading {
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 3.4vw, 2.9rem);
  font-weight: 700;
  font-style: italic;
  color: #ffffff;
  margin: 16px 0 14px;
  letter-spacing: -0.015em;
  line-height: 1.2;
}

.svc-cta-lead {
  font-size: clamp(0.95rem, 1.3vw, 1.125rem);
  color: rgba(255, 255, 255, 0.74);
  margin: 0 auto 28px;
  line-height: 1.6;
}

.svc-cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ==========================================================================
   DIRECT CONSULTATION — live animation + premium buttons
   ========================================================================== */
.svc-cta-banner { isolation: isolate; }
.svc-cta-banner__content { position: relative; z-index: 3; }
.svc-cta-banner__grid { animation: svcGridDrift 24s linear infinite; }
@keyframes svcGridDrift { to { background-position: 32px 32px, 32px 32px; } }
.svc-cta-banner__ring { animation: svcRingSpin 40s linear infinite; }
.svc-cta-banner__ring--sm { animation-duration: 28s; animation-direction: reverse; }
@keyframes svcRingSpin { to { transform: rotate(360deg); } }

/* drifting glow orbs */
.svc-cta-banner__orb { position: absolute; border-radius: 50%; filter: blur(70px); pointer-events: none; z-index: 0; }
.svc-cta-banner__orb--a { width: 340px; height: 340px; top: -120px; left: -80px; background: rgba(225, 0, 0, .35); animation: svcOrbA 12s ease-in-out infinite alternate; }
.svc-cta-banner__orb--b { width: 380px; height: 380px; bottom: -170px; right: -90px; background: rgba(160, 0, 0, .45); animation: svcOrbB 14s ease-in-out infinite alternate; }
@keyframes svcOrbA { to { transform: translate(180px, 90px) scale(1.2); } }
@keyframes svcOrbB { to { transform: translate(-200px, -70px) scale(1.15); } }

/* light beam sweeping across the banner */
.svc-cta-banner__beam { position: absolute; top: 0; bottom: 0; width: 28%; left: -35%; z-index: 1; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .06), transparent); transform: skewX(-18deg);
  animation: svcBeam 7s ease-in-out infinite; }
@keyframes svcBeam { 0%, 25% { left: -35%; } 70%, 100% { left: 125%; } }

/* floating particles */
.svc-cta-banner__particles { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.svc-cta-p { position: absolute; bottom: -10px; width: 5px; height: 5px; border-radius: 50%; background: #ff5a5a; box-shadow: 0 0 10px 2px rgba(255, 60, 60, .7); opacity: 0; animation: svcRise 9s linear infinite; }
.svc-cta-p--1 { left: 6%;  animation-delay: 0s;   }
.svc-cta-p--2 { left: 15%; animation-delay: 2.5s; width: 3px; height: 3px; }
.svc-cta-p--3 { left: 27%; animation-delay: 5s;   }
.svc-cta-p--4 { left: 38%; animation-delay: 1.2s; width: 4px; height: 4px; }
.svc-cta-p--5 { left: 49%; animation-delay: 6.5s; width: 3px; height: 3px; }
.svc-cta-p--6 { left: 60%; animation-delay: 3.4s; }
.svc-cta-p--7 { left: 71%; animation-delay: 7.6s; width: 4px; height: 4px; }
.svc-cta-p--8 { left: 82%; animation-delay: 0.8s; width: 3px; height: 3px; }
.svc-cta-p--9 { left: 91%; animation-delay: 4.2s; }
.svc-cta-p--10 { left: 96%; animation-delay: 6s; width: 3px; height: 3px; }
@keyframes svcRise {
  0% { transform: translateY(0) translateX(0); opacity: 0; }
  12% { opacity: .9; }
  85% { opacity: .5; }
  100% { transform: translateY(-420px) translateX(24px); opacity: 0; }
}

/* live pill */
.svc-cta-banner .hv-pill { position: relative; gap: 8px; }
.svc-cta-live { position: relative; width: 8px; height: 8px; border-radius: 50%; background: #ff2a2a; flex: none; order: -1; }
.svc-cta-live::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid rgba(255, 42, 42, .7); animation: svcPing 1.8s ease-out infinite; }
@keyframes svcPing { 0% { transform: scale(.5); opacity: 1; } 100% { transform: scale(2.2); opacity: 0; } }
.svc-cta-heading { animation: svcFloat 6s ease-in-out infinite; }
@keyframes svcFloat { 50% { transform: translateY(-4px); } }

/* ── Buttons ── */
.svc-cta-actions { gap: 18px; }
.svc-cta-btn {
  position: relative; display: inline-flex; align-items: center; gap: 12px; overflow: hidden;
  padding: 16px 20px 16px 26px; border-radius: 999px; font-weight: 700; font-size: 15.5px; letter-spacing: .01em;
  text-decoration: none; cursor: pointer; transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s ease, background .35s ease, border-color .35s ease, color .35s ease;
}
.svc-cta-btn__lead { flex: none; opacity: .95; }
.svc-cta-btn__icon {
  display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  transition: transform .35s cubic-bezier(.2, .8, .2, 1), background .35s ease, color .35s ease;
}
.svc-cta-btn:hover .svc-cta-btn__icon { transform: translateX(5px) rotate(-45deg); }
.svc-cta-btn:active { transform: translateY(0) scale(.98) !important; }
.svc-cta-btn:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }

/* primary: animated red gradient, pulsing halo, shine sweep */
.svc-cta-btn--primary {
  color: #fff; border: 1px solid rgba(255, 140, 140, .55);
  background: linear-gradient(120deg, #ff2b2b, #d40000, #ff4a3d, #b00000); background-size: 250% 100%;
  box-shadow: 0 14px 34px -10px rgba(255, 30, 30, .75), inset 0 1px 0 rgba(255, 255, 255, .35);
  animation: svcBtnFlow 6s ease-in-out infinite, svcBtnPulse 2.6s ease-out infinite;
}
@keyframes svcBtnFlow { 50% { background-position: 100% 0; } }
@keyframes svcBtnPulse { 0% { box-shadow: 0 14px 34px -10px rgba(255, 30, 30, .75), 0 0 0 0 rgba(255, 50, 50, .55), inset 0 1px 0 rgba(255,255,255,.35); }
  100% { box-shadow: 0 14px 34px -10px rgba(255, 30, 30, .75), 0 0 0 18px rgba(255, 50, 50, 0), inset 0 1px 0 rgba(255,255,255,.35); } }
.svc-cta-btn--primary .svc-cta-btn__icon { background: #fff; color: #c00000; }
.svc-cta-btn__shine { position: absolute; top: 0; bottom: 0; left: -60%; width: 45%; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent); transform: skewX(-20deg); animation: svcShine 4.2s ease-in-out infinite; }
@keyframes svcShine { 0%, 55% { left: -60%; } 100% { left: 130%; } }
.svc-cta-btn--primary:hover {
  transform: translateY(-4px) scale(1.03); color: #c00000; background: #fff; border-color: #fff; animation: none;
  box-shadow: 0 20px 44px -10px rgba(255, 255, 255, .45), 0 0 0 6px rgba(255, 60, 60, .25);
}
.svc-cta-btn--primary:hover .svc-cta-btn__icon { background: #d40000; color: #fff; }

/* ghost: glass with animated glow border */
.svc-cta-btn--ghost {
  color: #fff; border: 1.5px solid rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .06);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.svc-cta-btn--ghost .svc-cta-btn__icon { background: rgba(255, 255, 255, .14); color: #fff; }
.svc-cta-btn--ghost:hover {
  transform: translateY(-4px) scale(1.03); background: rgba(225, 0, 0, .22); border-color: #ff5a5a; color: #fff;
  box-shadow: 0 18px 40px -12px rgba(255, 40, 40, .6), 0 0 0 5px rgba(255, 80, 80, .14);
}
.svc-cta-btn--ghost:hover .svc-cta-btn__icon { background: #ff2a2a; }

@media (max-width: 520px) {
  .svc-cta-actions { flex-direction: column; width: 100%; }
  .svc-cta-btn { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .svc-cta-banner *, .svc-cta-btn { animation: none !important; }
}
/* ========================================
   GALLERY: TILE HOVER CAPTION
   The caption (.tile__overlay) was low-contrast and had no backdrop, so the
   title and category were unreadable over the photos. This gives it a dark
   gradient, white text, and a reveal on hover / keyboard focus. On touch
   screens (no hover) it stays visible.
======================================== */
.gallery-square-grid .tile--square {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.gallery-square-grid .tile--square > img {
  transition: scale 0.7s var(--ease, ease);
}

.gallery-square-grid .tile--square:hover > img,
.gallery-square-grid .tile--square:focus-visible > img {
  scale: 1.06;
}

.gallery-square-grid .tile--square .tile__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  padding: clamp(18px, 2vw, 26px);
  background: linear-gradient(to top, rgba(8, 8, 8, 0.88) 0%, rgba(8, 8, 8, 0.5) 38%, rgba(8, 8, 8, 0) 72%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.gallery-square-grid .tile--square .tile__overlay > span {
  display: grid;
  justify-items: start;
  gap: 8px;
  transform: translateY(14px);
  transition: transform 0.45s var(--ease, ease);
}

.gallery-square-grid .tile--square .tile__overlay h3 {
  margin: 0;
  color: #fff !important;
  font-size: clamp(16px, 1.5vw, 20px);
  font-weight: 700;
  line-height: 1.25;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}

.gallery-square-grid .tile--square .tile__overlay h3 + span {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  background: #bf0000;
  color: #fff !important;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.2;
  text-transform: uppercase;
}

.gallery-square-grid .tile--square:hover .tile__overlay,
.gallery-square-grid .tile--square:focus-visible .tile__overlay {
  opacity: 1;
}

.gallery-square-grid .tile--square:hover .tile__overlay > span,
.gallery-square-grid .tile--square:focus-visible .tile__overlay > span {
  transform: none;
}

@media (hover: none) {
  .gallery-square-grid .tile--square .tile__overlay { opacity: 1; }
  .gallery-square-grid .tile--square .tile__overlay > span { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .gallery-square-grid .tile--square > img,
  .gallery-square-grid .tile--square .tile__overlay,
  .gallery-square-grid .tile--square .tile__overlay > span { transition: none; }
}
/* Fix: featured showcase text must stay light over the dark image overlay */
.showcase-immersive__content .lead {
  color: rgba(255, 255, 255, 0.92) !important;
  opacity: 1;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.55);
}
.showcase-immersive__overlay {
  background: linear-gradient(90deg, rgba(11, 15, 20, 0.95) 0%, rgba(11, 15, 20, 0.8) 55%, rgba(11, 15, 20, 0.2) 100%);
}