*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --teal:       #00A896;
  --teal-dark:  #088F7F;
  --teal-glow:  rgba(0,168,150,0.15);
  --orange:     #DD6F3E;
  --orange-dark:#C45E32;
  --brown:      #3D2321;
  --charcoal:   #2C1A18;
  --copper:     #C37F58;
  --sand:       #F3E9D2;
  --sand-50:    #FDFAF4;
  --sand-100:   #FAF6EE;
  --sand-200:   #F3E9D2;
  --sand-300:   #E8D5BC;
  --beige:      #B7A095;
  --white:      #FFFFFF;

  --color-sand: #F4F1EB;
  --color-copper: #B85B38;
  --color-copper-dark: #9A4A2B;
  --text-dark: #2A1A17;
  --text-light: #FDFCFB;
  --font-main: 'Lato', sans-serif;

  --ease-expo:    ease;
  --ease-quart:   ease;
  --ease-spring:  ease;

  --shadow-sm:  0 1px 3px rgba(61,35,33,0.04), 0 1px 2px rgba(61,35,33,0.06);
  --shadow-md:  0 4px 6px rgba(61,35,33,0.04), 0 10px 15px rgba(61,35,33,0.06);
  --shadow-lg:  0 10px 25px rgba(61,35,33,0.06), 0 20px 48px rgba(61,35,33,0.08);
  --shadow-xl:  0 25px 50px rgba(61,35,33,0.1), 0 12px 24px rgba(61,35,33,0.06);

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
}

html {
  scroll-behavior: auto;
  -webkit-scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  
  padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
  -moz-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

button, a {
  -webkit-tap-highlight-color: rgba(0, 168, 150, 0.2);
  -webkit-user-select: none;
  user-select: none;
}

button, a, input, textarea, select {
  -webkit-touch-callout: none;
}

img {
  width: 100%;
  height: auto;
  display: block;
}

img[loading="lazy"] {
  background: linear-gradient(90deg, var(--sand-100) 25%, var(--sand-200) 50%, var(--sand-100) 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
  transition: opacity 0.3s ease;
}

img[loading="lazy"].loaded {
  animation: none;
  background: none;
}

@keyframes loading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

button, a.btn, input[type="button"], input[type="submit"] {
  min-height: 44px;
  min-width: 44px;
  padding: 12px 16px;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--brown);
  background:
    radial-gradient(ellipse 120% 40% at 15% 85%, rgba(195,127,88,0.1) 0%, transparent 60%),
    radial-gradient(ellipse 100% 50% at 85% 75%, rgba(221,111,62,0.06) 0%, transparent 50%),
    radial-gradient(ellipse 140% 35% at 50% 95%, rgba(232,213,188,0.5) 0%, transparent 55%),
    radial-gradient(ellipse 80% 60% at 75% 20%, rgba(0,168,150,0.03) 0%, transparent 50%),
    linear-gradient(178deg, var(--sand-50) 0%, var(--sand-100) 45%, var(--sand-200) 100%);
  min-height: 100vh; overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.rv { opacity: 0; transform: translateY(36px); transition: opacity 0.3s var(--ease-expo), transform 1s var(--ease-expo); }

.rv.vis { opacity: 1; transform: none; }

.rv-d1 { transition-delay: .1s; }

.rv-d2 { transition-delay: .2s; }

.rv-d3 { transition-delay: .3s; }

.rv-d4 { transition-delay: .4s; }

@keyframes fadeUp { from { opacity:0; transform: translateY(14px); } to { opacity:1; transform: none; } }

.hero {
  position: relative;
  min-height: 50vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-bg {
  position: absolute; inset: 0;
  background: url('https://res.cloudinary.com/dk1nlcy8f/image/upload/v1771516780/IMG_4699_pw6fdo.jpg') center 20%/cover no-repeat;
}

.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg,
    rgba(44,26,24,0.3) 0%,
    rgba(44,26,24,0.15) 40%,
    rgba(44,26,24,0.5) 70%,
    rgba(44,26,24,0.85) 100%);
}

.hero-grain {
  position: absolute; inset: 0; z-index: 1;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px;
  opacity: 0.035; mix-blend-mode: overlay;
  pointer-events: none;
}

.hero-content {
  position: relative; z-index: 2;
  padding: 0 clamp(24px, 6vw, 120px) clamp(40px, 5vh, 70px);
  max-width: 800px;
}

.hero-eyebrow {
  font-size: 0.65rem; letter-spacing: 4px; text-transform: uppercase;
  color: var(--teal); font-weight: 700; margin-bottom: 20px;
  opacity: 0; animation: fadeUp 0.8s 0.3s var(--ease-expo) forwards;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  color: var(--sand); line-height: 1.08;
  letter-spacing: -0.03em; margin-bottom: 24px;
  text-shadow: 0 4px 30px rgba(0,0,0,0.3);
  opacity: 0; animation: fadeUp 1s 0.45s var(--ease-expo) forwards;
}

.hero h1 em { font-style: italic; color: var(--copper); font-weight: 500; }

.hero-line {
  width: 48px; height: 2px;
  background: linear-gradient(90deg, var(--teal), var(--copper));
  margin-bottom: 20px;
  opacity: 0; animation: fadeUp 0.8s 0.6s var(--ease-expo) forwards;
}

.hero-sub {
  font-size: 0.95rem; color: rgba(243,233,210,0.7);
  line-height: 1.85; max-width: 520px;
  opacity: 0; animation: fadeUp 0.8s 0.75s var(--ease-expo) forwards;
}

.hero-scroll {
  position: absolute; bottom: 32px; left: 50%;
  transform: translateX(-50%); z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  opacity: 0; animation: fadeUp 0.8s 1.2s var(--ease-expo) forwards;
}

.hero-scroll span {
  font-size: 0.6rem; letter-spacing: 3px; text-transform: uppercase;
  color: rgba(243,233,210,0.4);
}

.scroll-line {
  width: 1px; height: 40px; background: rgba(243,233,210,0.15);
  position: relative; overflow: hidden;
}

.scroll-line::after {
  content: ''; position: absolute; top: -100%; width: 100%; height: 50%;
  background: var(--teal);
  animation: scrollPulse 2s ease-in-out infinite;
}

.gallery-intro {
  background: var(--brown);
  padding: clamp(36px, 5vw, 56px) clamp(24px, 6vw, 120px);
  text-align: center;
  position: relative;
}

.gallery-intro::before {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(243,233,210,0.1), transparent);
}

.gallery-intro p {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: rgba(243,233,210,0.6);
  font-style: italic;
  line-height: 1.8;
  max-width: 680px;
  margin: 0 auto;
  letter-spacing: -0.01em;
}

.gallery-intro p strong {
  color: var(--sand);
  font-weight: 500;
  font-style: normal;
}

.gallery-section {
  padding: clamp(48px, 8vw, 100px) clamp(24px, 6vw, 120px);
  position: relative;
  touch-action: pan-y;
}

.gallery-section::before {
  content: ''; position: absolute; top: 0; left: -100%; width: 60%; height: 100%;
  background: linear-gradient(105deg, transparent 40%, rgba(0,168,150,0.02) 50%, transparent 60%);
  animation: galleryShimmer 8s 2s ease-in-out infinite;
  pointer-events: none;
}

.wall-wrap { max-width: 1400px; margin: 0 auto; }

.wall {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 180px;
  gap: 12px;
  touch-action: pan-y;
}

.wall-item {
  position: relative; overflow: hidden; cursor: pointer;
  background: var(--brown);
  border-radius: var(--radius-md);
  opacity: 0; transform: translateY(40px) scale(0.97);
  transition: opacity 0.3s var(--ease-expo), transform 0.8s var(--ease-expo);
}

.wall-item.visible { opacity: 1; transform: none; }

.wall-item:nth-child(6n+1) { grid-column: span 2; grid-row: span 2; }

.wall-item:nth-child(6n+2) { grid-column: span 1; grid-row: span 1; }

.wall-item:nth-child(6n+3) { grid-column: span 1; grid-row: span 2; }

.wall-item:nth-child(6n+4) { grid-column: span 2; grid-row: span 1; }

.wall-item:nth-child(6n+5) { grid-column: span 1; grid-row: span 1; }

.wall-item:nth-child(6n+6) { grid-column: span 1; grid-row: span 2; }

.wall-img {
  width: 100%; height: 100%; display: block;
  object-fit: cover;
  aspect-ratio: 1;
  filter: brightness(0.88) saturate(0.7);
  transition: filter 0.3s var(--ease-expo), transform 1s var(--ease-expo);
  transform-origin: center;
}

.wall-item::before {
  content: ''; position: absolute; inset: 0; z-index: 3;
  border-radius: inherit;
  box-shadow: inset 0 0 0 0 rgba(0,168,150,0);
  transition: box-shadow 0.3s var(--ease-expo);
  pointer-events: none;
}

.wall-caption {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: clamp(16px, 2vw, 28px);
  background: linear-gradient(to top, rgba(42,24,23,0.92) 0%, rgba(42,24,23,0.3) 40%, transparent 65%);
  opacity: 0; transform: translateY(12px);
  transition: opacity 0.3s var(--ease-expo), transform 0.5s var(--ease-expo);
}

.wall-caption .cat-tag {
  font-size: 0.55rem; text-transform: uppercase;
  letter-spacing: 2.5px; color: var(--teal);
  font-weight: 700; margin-bottom: 6px;
  transform: translateY(8px);
  transition: transform 0.3s 0.05s var(--ease-expo);
}

.wall-caption h3 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(0.85rem, 1.5vw, 1.15rem);
  color: #fff; line-height: 1.3; margin-bottom: 12px;
  letter-spacing: -0.01em;
  transform: translateY(10px);
  transition: transform 0.3s 0.1s var(--ease-expo);
}

.wall-caption .expand-icon {
  width: 32px; height: 32px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.7);
  font-size: 10px;
  transform: translateY(10px) scale(0.8);
  transition: transform 0.3s 0.15s var(--ease-expo), border-color 0.3s, color 0.3s;
}

.wall-item:hover .wall-img {
  filter: brightness(1.05) saturate(1.2);
  transform: scale(1.04);
}

.wall-item:hover::before {
  box-shadow: inset 0 0 0 2px rgba(0,168,150,0.5), inset 0 0 30px rgba(0,168,150,0.08);
}

.wall-item:hover {
  box-shadow: 0 20px 60px rgba(61,35,33,0.2), 0 8px 24px rgba(0,168,150,0.1);
  transform: translateY(-4px);
}

.wall-item:hover .wall-caption { opacity: 1; transform: none; }

.wall-item:hover .cat-tag,
.wall-item:hover h3 { transform: none; }

.wall-item:hover .expand-icon {
  transform: none;
  border-color: var(--teal); color: var(--teal);
}

.wall-item::after {
  content: ''; position: absolute; top: 0; left: 0; z-index: 4;
  width: 0; height: 0;
  border-top: 0px solid var(--teal);
  border-left: 0px solid var(--teal);
  border-radius: var(--radius-md) 0 0 0;
  transition: background .25s ease, color .25s ease, box-shadow .25s ease, transform .25s ease var(--ease-expo);
  pointer-events: none;
}

.wall-item:hover::after {
  border-top-width: 3px; border-left-width: 3px;
  width: 36px; height: 36px;
}

.wall-empty {
  grid-column: 1 / -1;
  text-align: center; padding: 100px 40px;
  color: var(--beige);
  font-family: 'Playfair Display', serif;
  font-style: italic; font-size: 1.1rem;
}

.photo-count {
  text-align: center;
  padding: 20px;
  font-size: 0.65rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--beige);
  font-weight: 600;
}

.photo-count span { color: var(--teal); font-weight: 700; }

.subcategories-section {
  padding: clamp(48px, 8vw, 100px) clamp(24px, 6vw, 120px);
  background: linear-gradient(135deg, rgba(243,233,210,0.3) 0%, rgba(255,255,255,0.15) 100%);
  border-top: 1px solid rgba(61,35,33,0.08);
  display: block;
}

.subcategories-header {
  text-align: center;
  margin-bottom: 50px;
}

.subcategories-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: var(--brown);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

#galleriesContainer {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}

.category-filters {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 50px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 20px;
  min-height: 60px;
}

.filter-btn {
  padding: 12px 32px;
  background: var(--brown);
  border: 2px solid var(--brown);
  border-radius: 50px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: white;
  cursor: pointer;
  transition: background .25s ease, color .25s ease, box-shadow .25s ease, transform .25s ease var(--ease-expo);
  position: relative;
  overflow: visible;
  display: inline-block;
  min-width: 120px;
  text-align: center;
  z-index: 1;
}

.filter-btn:hover {
  background: var(--teal);
  border-color: var(--teal);
  color: white;
  box-shadow: 0 4px 12px rgba(0, 168, 150, 0.3);
  transform: translateY(-2px);
}

.filter-btn.active {
  background: var(--teal);
  color: white;
  border-color: var(--teal);
  box-shadow: 0 8px 24px rgba(0, 168, 150, 0.4);
  transform: scale(1.05);
}

.category-gallery {
  display: none;
  animation: fadeInGallery 0.6s var(--ease-expo);
  max-width: 1400px;
  margin: 0 auto;
}

.category-gallery.active {
  display: block;
}

.collection-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--beige, #B7A095);
}

.grid-item-wrapper img,
.reel-frame img {
  max-width: none;
}

@keyframes fadeInGallery {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.category-grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  grid-gap: 1.5rem;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  will-change: contents;
  touch-action: pan-y;
}

.grid-item-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  cursor: pointer;
  list-style: none;
  touch-action: pan-y;
  aspect-ratio: 1;
}

.grid-item-wrapper img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: grayscale(100%) contrast(1.1) brightness(0.85);
  transition: filter 0.3s ease-out;
  backface-visibility: hidden;
}

.grid-item-wrapper:hover img {
  filter: grayscale(0) contrast(1.2) brightness(1);
}

.grid-item-wrapper p {
  display: none;
}

.category-wall {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 180px;
  gap: 12px;
}

.category-wall-item {
  position: relative; overflow: hidden; cursor: pointer;
  background: var(--brown);
  border-radius: var(--radius-md);
  opacity: 0; transform: translateY(40px) scale(0.97);
  transition: opacity 0.3s var(--ease-expo), transform 0.8s var(--ease-expo);
}

.category-wall-item.visible { opacity: 1; transform: none; }

.category-wall-item:nth-child(6n+1) { grid-column: span 2; grid-row: span 2; }

.category-wall-item:nth-child(6n+2) { grid-column: span 1; grid-row: span 1; }

.category-wall-item:nth-child(6n+3) { grid-column: span 1; grid-row: span 2; }

.category-wall-item:nth-child(6n+4) { grid-column: span 2; grid-row: span 1; }

.category-wall-item:nth-child(6n+5) { grid-column: span 1; grid-row: span 1; }

.category-wall-item:nth-child(6n+6) { grid-column: span 1; grid-row: span 2; }

.category-wall-img {
  width: 100%; height: 100%; display: block;
  object-fit: cover;
  filter: brightness(0.88) saturate(0.7);
  transition: filter 0.3s var(--ease-expo), transform 1s var(--ease-expo);
  transform-origin: center;
}

.category-wall-item::before {
  content: ''; position: absolute; inset: 0; z-index: 3;
  border-radius: inherit;
  box-shadow: inset 0 0 0 0 rgba(0,168,150,0);
  transition: box-shadow 0.3s var(--ease-expo);
  pointer-events: none;
}

.category-wall-caption {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: clamp(16px, 2vw, 28px);
  background: linear-gradient(to top, rgba(42,24,23,0.92) 0%, rgba(42,24,23,0.3) 40%, transparent 65%);
  opacity: 0; transform: translateY(12px);
  transition: opacity 0.3s var(--ease-expo), transform 0.5s var(--ease-expo);
}

.category-wall-caption .cat-tag {
  font-size: 0.55rem; text-transform: uppercase;
  letter-spacing: 2.5px; color: var(--teal);
  font-weight: 700; margin-bottom: 6px;
  transform: translateY(8px);
  transition: transform 0.3s 0.05s var(--ease-expo);
}

.category-wall-caption h3 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(0.85rem, 1.5vw, 1.15rem);
  color: #fff; line-height: 1.3; margin-bottom: 12px;
  letter-spacing: -0.01em;
  transform: translateY(10px);
  transition: transform 0.3s 0.1s var(--ease-expo);
}

.category-wall-caption .expand-icon {
  width: 32px; height: 32px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.7);
  font-size: 10px;
  transform: translateY(10px) scale(0.8);
  transition: transform 0.3s 0.15s var(--ease-expo), border-color 0.3s, color 0.3s;
}

.category-wall-item:hover .category-wall-img {
  filter: brightness(1.05) saturate(1.2);
  transform: scale(1.04);
}

.category-wall-item:hover::before {
  box-shadow: inset 0 0 0 2px rgba(0,168,150,0.5), inset 0 0 30px rgba(0,168,150,0.08);
}

.category-wall-item:hover {
  box-shadow: 0 20px 60px rgba(61,35,33,0.2), 0 8px 24px rgba(0,168,150,0.1);
  transform: translateY(-4px);
}

.category-wall-item:hover .category-wall-caption { opacity: 1; transform: none; }

.category-wall-item:hover .cat-tag,
.category-wall-item:hover h3 { transform: none; }

.category-wall-item:hover .expand-icon {
  transform: none;
  border-color: var(--teal); color: var(--teal);
}

.category-wall-img.overlay-bw { filter: brightness(0.88) saturate(0) !important; }

.category-wall-img.overlay-teal { filter: brightness(0.85) saturate(0.8) hue-rotate(180deg) !important; }

.category-wall-img.overlay-warm { filter: brightness(0.9) saturate(1.3) sepia(0.25) !important; }

.category-wall-img.overlay-deep { filter: brightness(0.75) saturate(0.5) contrast(1.1) !important; }

.category-wall-img.overlay-faded { filter: brightness(1.05) saturate(0.4) !important; }

.category-wall-item:hover .category-wall-img.overlay-bw { filter: brightness(1.1) saturate(0.3) !important; }

.category-wall-item:hover .category-wall-img.overlay-teal { filter: brightness(1) saturate(1.1) hue-rotate(180deg) !important; }

.category-wall-item:hover .category-wall-img.overlay-warm { filter: brightness(1.05) saturate(1.5) sepia(0.3) !important; }

.category-wall-item:hover .category-wall-img.overlay-deep { filter: brightness(0.9) saturate(0.8) contrast(1.2) !important; }

.category-wall-item:hover .category-wall-img.overlay-faded { filter: brightness(1.15) saturate(0.6) !important; }

.category-wall-item::after {
  content: ''; position: absolute; top: 0; left: 0; z-index: 4;
  width: 0; height: 0;
  border-top: 0px solid var(--teal);
  border-left: 0px solid var(--teal);
  border-radius: var(--radius-md) 0 0 0;
  transition: background .25s ease, color .25s ease, box-shadow .25s ease, transform .25s ease var(--ease-expo);
  pointer-events: none;
}

.category-wall-item:hover::after {
  border-top-width: 3px; border-left-width: 3px;
  width: 36px; height: 36px;
}

.category-empty {
  grid-column: 1 / -1;
  text-align: center; padding: 100px 40px;
  color: var(--beige);
  font-family: 'Playfair Display', serif;
  font-style: italic; font-size: 1.1rem;
}

.reel-section {
  padding: clamp(48px, 6vw, 80px) 0;
  overflow: hidden;
  position: relative;
  background: var(--brown);
}

.reel-section::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(44,26,24,0.5) 0%, transparent 30%, transparent 70%, rgba(44,26,24,0.5) 100%);
  pointer-events: none; z-index: 2;
}

.reel-header {
  text-align: center; padding: 0 24px;
  margin-bottom: clamp(28px, 4vw, 48px);
  position: relative; z-index: 3;
}

.reel-header .label {
  font-size: 0.6rem; letter-spacing: 4px; text-transform: uppercase;
  color: var(--teal); font-weight: 700; margin-bottom: 12px; display: block;
}

.reel-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  color: var(--sand); letter-spacing: -0.02em;
}

.reel-strip {
  position: relative;
  padding: 18px 0;
}

.reel-strip::before, .reel-strip::after {
  content: '';
  position: absolute; left: 0; right: 0; height: 14px;
  background: repeating-linear-gradient(90deg,
    transparent 0px, transparent 28px,
    rgba(243,233,210,0.08) 28px, rgba(243,233,210,0.08) 40px,
    transparent 40px, transparent 68px);
  z-index: 2; pointer-events: none;
}

.reel-strip::before { top: 0; }

.reel-strip::after { bottom: 0; }

.reel-track {
  display: flex; gap: 14px;
  animation: reelScroll var(--reel-duration, 30s) linear infinite;
  width: max-content;
  cursor: grab;
}

.reel-track:hover { animation-play-state: paused; }

.reel-track:active { cursor: grabbing; }

@keyframes reelScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.reel-frame {
  flex-shrink: 0;
  width: clamp(200px, 22vw, 300px);
  height: clamp(150px, 16vw, 220px);
  border-radius: var(--radius-sm);
  overflow: hidden;
  position: relative;
  border: 2px solid rgba(243,233,210,0.06);
  transition: border-color 0.4s var(--ease-expo), transform 0.5s var(--ease-expo), box-shadow 0.5s var(--ease-expo);
}

.reel-frame:hover {
  border-color: var(--teal);
  transform: scale(2) translateY(-6px);
  box-shadow: 0 16px 48px rgba(0,168,150,0.2);
  z-index: 5;
}

.reel-frame img {
  width: 100%; height: 100%; object-fit: cover;
  display: block;
  aspect-ratio: 16 / 9;
  filter: saturate(0.8);
  transition: filter 0.3s var(--ease-expo), transform 0.8s var(--ease-expo);
}

.reel-frame:hover img {
  filter: saturate(1.15) brightness(1.05);
  transform: scale(1.08);
}

.reel-frame::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(44,26,24,0.5) 100%);
  pointer-events: none;
  transition: opacity 0.4s;
}

.reel-frame:hover::after { opacity: 0.3; }

.reel-empty {
  color: rgba(243,233,210,0.3); font-style: italic;
  font-size: 0.9rem; padding: 40px 24px; text-align: center;
  width: 100%;
}

.reel-strip-wrap {
  position: relative;
}

.reel-strip-wrap::before, .reel-strip-wrap::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 80px;
  z-index: 3; pointer-events: none;
}

.reel-strip-wrap::before {
  left: 0;
  background: linear-gradient(90deg, var(--brown), transparent);
}

.reel-strip-wrap::after {
  right: 0;
  background: linear-gradient(270deg, var(--brown), transparent);
}

.lightbox {
  display: none; position: fixed; inset: 0; z-index: 300;
  background: rgba(42,24,23,0);
  justify-content: center; align-items: center;
  transition: background 0.3s;
  will-change: background;
}

.lightbox.open { display: flex; background: rgba(42,24,23,0.95); }

.lb-inner { position: relative; max-width: min(90vw, 920px); width: 100%; }

.lb-inner.animate { animation: lbIn 0.5s var(--ease-expo); }

@keyframes lbIn { from { opacity:0; transform: scale(0.92) translateY(20px); } to { opacity:1; transform: none; } }

.lb-inner img {
  width: 100%; max-height: 78vh;
  object-fit: contain; border-radius: var(--radius-md);
  box-shadow: 0 40px 100px rgba(0,0,0,0.6);
  display: block;
}

.lb-meta {
  display: flex; flex-direction: column; align-items: center;
  padding: 16px 0 8px;
}

.lb-cat {
  font-size: 0.6rem; letter-spacing: 3px; text-transform: uppercase;
  color: var(--teal); font-weight: 700; margin-bottom: 6px;
}

.lb-caption {
  font-family: 'Playfair Display', serif;
  font-size: 1rem; color: rgba(243,233,210,0.7);
  font-style: italic; letter-spacing: -0.01em;
  display: none; 
}

.lb-progress { width: 100%; height: 1px; background: rgba(255,255,255,0.08); margin-top: 14px; position: relative; }

.lb-progress-bar { position: absolute; left: 0; top: 0; height: 100%; background: var(--teal); transition: width 0.4s var(--ease-expo); }

.lb-btn {
  position: absolute; top: 50%; translate: 0 -50%;
  background: rgba(42,24,23,0.6); color: var(--sand);
  border: 1px solid rgba(255,255,255,0.08); border-radius: 50%;
  width: 50px; height: 50px; font-size: 1rem;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background .25s ease, color .25s ease, box-shadow .25s ease, transform .25s ease var(--ease-expo);
}

.lb-btn:hover {
  background: var(--teal); border-color: var(--teal);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 8px 24px rgba(0,168,150,0.4);
}

.lb-prev { left: -68px; }

.lb-next { right: -68px; }

.lb-close {
  position: absolute; top: -56px; right: 0;
  background: rgba(42,24,23,0.5); color: var(--sand);
  border: 1px solid rgba(255,255,255,0.08); border-radius: 50%;
  width: 44px; height: 44px; font-size: 1rem;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background .25s ease, color .25s ease, box-shadow .25s ease, transform .25s ease var(--ease-expo);
}

.lb-close:hover { background: var(--orange); transform: rotate(90deg) scale(1.1); }

.cta {
  position: relative; overflow: hidden;
  padding: clamp(60px, 10vw, 120px) clamp(24px, 6vw, 120px);
  text-align: center;
}

.cta-bg {
  position: absolute; inset: 0;
  background: url('https://res.cloudinary.com/dk1nlcy8f/image/upload/v1771516780/IMG_4288_ivzbis.jpg') center/cover no-repeat;
}

.cta-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(243,233,210,0.92), rgba(243,233,210,0.95));
}

.cta > * { position: relative; z-index: 1; }

.cta .label {
  font-size: 0.65rem; letter-spacing: 4px; text-transform: uppercase;
  color: var(--teal); font-weight: 700; margin-bottom: 16px; display: block;
}

.cta h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--brown); margin-bottom: 16px;
  line-height: 1.15; letter-spacing: -0.02em;
}

.cta p {
  font-size: 0.95rem; color: rgba(61,35,33,0.65);
  max-width: 480px; margin: 0 auto 36px; line-height: 1.85;
}

.btn-cta {
  display: inline-flex; align-items: center; gap: 10px;
  border: 1.5px solid var(--brown);
  color: var(--brown); background: transparent;
  padding: 14px 38px; font-size: 11px; font-weight: 700;
  letter-spacing: 2.5px; text-transform: uppercase;
  cursor: pointer; text-decoration: none;
  transition: background .25s ease, color .25s ease, box-shadow .25s ease, transform .25s ease var(--ease-expo);
}

.btn-cta:hover {
  background: var(--brown); color: var(--sand);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.15);
}

.btn-cta i { font-size: 10px; transition: transform 0.4s var(--ease-expo); }

.btn-cta:hover i { transform: translateX(4px); }

.section-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.split-img-1 {
    min-height: 480px;
    position: relative;
    overflow: hidden;
    background: #006B62;
}

.split-img-1 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.split-panel {
    padding: 80px 10%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: #FAF7F1;
}

.split-panel > * {
    position: relative;
    z-index: 1;
}

.split-panel h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    margin-bottom: 22px;
    letter-spacing: -0.02em;
    color: #2C1810;
}

.split-panel > p {
    line-height: 1.8;
    color: rgba(61,35,33,0.75);
    margin-bottom: 8px;
}

.travel-operators-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
    margin-top: 24px;
}

.travel-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 16px 18px;
    background: linear-gradient(135deg, #ffffff 0%, #faf6ee 100%);
    border: 1px solid rgba(61,35,33,0.08);
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    transition: background .25s ease, color .25s ease, box-shadow .25s ease, transform .25s ease ease;
    box-shadow: 0 2px 8px rgba(61,35,33,0.05);
    overflow: hidden;
    min-height: 80px;
}

.travel-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #006B62 0%, #DD6F3E 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.travel-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(61,35,33,0.1);
    border-color: rgba(0,168,150,0.25);
}

.travel-card:hover::before {
    transform: scaleX(1);
}

.travel-card-title {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    font-weight: 600;
    color: #2C1810;
    margin: 0;
    letter-spacing: -0.01em;
    line-height: 1.3;
}

.travel-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #006B62;
    transition: background .25s ease, color .25s ease, box-shadow .25s ease, transform .25s ease ease;
    margin-top: 10px;
}

.travel-card-link i {
    font-size: 0.65rem;
    transition: transform 0.25s ease;
}

.travel-card:hover .travel-card-link {
    color: #DD6F3E;
}

.travel-card:hover .travel-card-link i {
    transform: translateX(3px);
}

@media (max-width: 992px) {
  .section-split {
        grid-template-columns: 1fr;
    }

  .travel-operators-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

  .travel-card {
        padding: 14px 16px;
        min-height: 70px;
    }

  .travel-card-title {
        font-size: 0.95rem;
    }
}

@media (max-width: 600px) {
  .travel-operators-grid {
        grid-template-columns: 1fr;
    }
}

footer { background: var(--brown); color: white; padding: 100px 0 0; position: relative; }

footer::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent); }

.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 64px; margin-bottom: 64px;
  max-width: 1200px; margin-left: auto; margin-right: auto; padding: 0 clamp(20px, 4vw, 80px);
}

.footer-socials { display: flex; gap: 18px; margin-top: 28px; }

.footer-socials a {
  color: rgba(255,255,255,0.5); font-size: 15px; text-decoration: none;
  transition: color 0.4s var(--ease-expo), transform 0.3s var(--ease-expo);
}

.footer-socials a:hover { color: white; transform: translateY(-2px); }

@media (max-width: 900px) {
  .wall { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }

  .category-wall { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }

  .wall-item:nth-child(6n+1) { grid-column: span 2; grid-row: span 2; }

  .category-wall-item:nth-child(6n+1) { grid-column: span 2; grid-row: span 2; }

  .wall-item:nth-child(6n+4) { grid-column: span 1; }

  .category-wall-item:nth-child(6n+4) { grid-column: span 1; }

  .category-grid-container { grid-template-columns: 1fr; gap: 3rem; }

  .grid-item-wrapper:nth-child(even) { transform: none; }

  .grid-item-wrapper:nth-child(even):hover { transform: translateY(-10px) scale(1.02); }
}

@media (max-width: 640px) {
  .hero-content { padding: 0 16px 40px; }
  .gallery-intro { padding: 28px 16px; }
  .reel-section { padding: 40px 0; }
  .subcategories-section { padding: 40px 12px; }
  .filter-btn { padding: 10px 16px; font-size: 11px; min-width: 0; }
  .reel-frame { width: 72vw; max-width: 280px; height: 48vw; max-height: 180px; }

  .wall { grid-template-columns: 1fr 1fr; grid-auto-rows: 140px; gap: 8px; }

  .category-wall { grid-template-columns: 1fr 1fr; grid-auto-rows: 140px; gap: 8px; }

  .wall-item:nth-child(6n+1) { grid-column: span 2; grid-row: span 2; }

  .category-wall-item:nth-child(6n+1) { grid-column: span 2; grid-row: span 2; }

  .wall-item:nth-child(6n+3) { grid-row: span 1; }

  .category-wall-item:nth-child(6n+3) { grid-row: span 1; }

  .wall-item:nth-child(6n+4) { grid-column: span 2; }

  .category-wall-item:nth-child(6n+4) { grid-column: span 2; }

  .wall-item:nth-child(6n+6) { grid-row: span 1; }

  .category-wall-item:nth-child(6n+6) { grid-row: span 1; }

  .lb-prev { left: 8px; }

  .lb-next { right: 8px; }

  .lb-prev, .lb-next { top: auto; bottom: -60px; translate: 0 0; }

  .lb-btn:hover { transform: scale(1.1); }

  .footer-grid { grid-template-columns: 1fr; gap: 28px; }

  .category-grid-container { grid-template-columns: 1fr; gap: 2rem; }

  
  .category-grid-container {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
  }

  .grid-item-wrapper {
    border-radius: 4px !important;
    overflow: hidden;
    aspect-ratio: 1 !important;
  }

  
  .grid-item-wrapper:nth-child(even) {
    transform: none !important;
  }

  .grid-item-wrapper:nth-child(even):hover {
    transform: translateY(-4px) scale(1.02) !important;
  }

  .grid-item-1,
  .grid-item-6,
  .grid-item-10 {
    grid-column: span 1 !important;
    grid-row: span 1 !important;
  }
}

.footer-wrapper {
            max-width: 1600px;
            margin: 0 auto;
            position: relative;
            z-index: 1;
        }

.footer-top {
            display: grid;
            grid-template-columns: 1fr;
            gap: 3rem;
            margin-bottom: 3rem;
            align-items: start;
        }

@media (min-width: 1024px) {
  .footer-top {
                grid-template-columns: 1.2fr 1fr 1fr 1.2fr;
                gap: 2.5rem;
            }
}

.footer-brand-text h2 {
            font-family: 'Playfair Display', serif;
            font-size: 1.5rem;
            font-weight: 400;
            margin: 0;
            letter-spacing: 0.08em;
            color: #fff;
            text-transform: uppercase;
            line-height: 1.2;
        }

.footer-brand-text p {
            font-size: 0.85rem;
            line-height: 1.7;
            color: rgba(234, 227, 217, 0.65);
            max-width: 280px;
            font-weight: 300;
            margin: 0.5rem 0 0;
        }

.footer-column {
            display: flex;
            flex-direction: column;
            gap: 1.2rem;
        }

.footer-column-title {
            font-family: 'Lato', sans-serif;
            font-size: 0.75rem;
            text-transform: uppercase;
            letter-spacing: 0.18em;
            margin: 0;
            color: #D4AF37;
            font-weight: 800;
            opacity: 0.95;
        }

.newsletter-form {
            display: flex;
            background: rgba(234, 227, 217, 0.08);
            border: 1px solid rgba(212, 175, 55, 0.2);
            border-radius: 4px;
            overflow: hidden;
            transition: background .25s ease, color .25s ease, box-shadow .25s ease, transform .25s ease ease;
            backdrop-filter: blur(8px);
        }

.newsletter-form:focus-within {
            background: rgba(234, 227, 217, 0.12);
            border-color: rgba(212, 175, 55, 0.4);
            box-shadow: 0 8px 24px rgba(212, 175, 55, 0.1);
        }

.newsletter-form input {
            background: transparent;
            border: none;
            color: #fff;
            font-family: 'Lato', sans-serif;
            font-size: 0.9rem;
            flex: 1;
            outline: none;
            padding: 12px 16px;
            font-weight: 300;
        }

.newsletter-form input::placeholder {
            color: rgba(234, 227, 217, 0.4);
        }

.newsletter-form button {
            background: linear-gradient(135deg, #D4AF37 0%, #c49a2a 100%);
            border: none;
            color: #1a0f0a;
            cursor: pointer;
            font-family: 'Lato', sans-serif;
            text-transform: uppercase;
            letter-spacing: 0.12em;
            font-size: 0.75rem;
            font-weight: 800;
            transition: background .25s ease, color .25s ease, box-shadow .25s ease, transform .25s ease ease;
            padding: 0 20px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

.newsletter-form button:hover {
            background: linear-gradient(135deg, #E8C547 0%, #D4AF37 100%);
            box-shadow: 0 4px 16px rgba(212, 175, 55, 0.3);
            transform: translateX(2px);
        }

.newsletter-form button:active {
            transform: translateX(0);
        }

.footer-divider {
            height: 1px;
            background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.2), transparent);
            margin: 2.5rem 0;
        }

.footer-copyright {
            font-size: 0.8rem;
            color: rgba(234, 227, 217, 0.5);
            font-weight: 300;
            letter-spacing: 0.02em;
        }

@media (max-width: 1023px) {
  .footer-top {
                gap: 2rem;
            }

  .footer-brand-text h2 {
                font-size: 1.2rem;
            }
}

.compact-footer {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    font-size: 0.9rem;
}

@media (min-width: 900px) {
  .compact-footer {
        grid-template-columns: 4fr 6fr;
    }
}

.footer-sand-pane {
    background-color: var(--color-sand);
    color: var(--text-dark);
    padding: 3.5rem 10% 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.footer-brand img {
    max-height: 65px;
    width: auto;
    margin-bottom: 1.5rem;
    display: block;
}

.copyright {
    font-size: 0.75rem;
    opacity: 0.6;
    margin-top: auto;
    padding-top: 2rem;
    line-height: 1.6;
}

.ddx-attr {
    display: block;
    margin-top: 0.5rem;
}

.ddx-attr a {
    color: inherit;
    text-decoration: none;
    font-weight: 700;
    border-bottom: 1px dotted var(--text-dark);
    transition: color 0.3s ease, border-color 0.3s ease;
}

.ddx-attr a:hover {
    color: var(--color-copper-dark);
    border-bottom-color: transparent;
}

.footer-copper-pane {
    background-color: var(--color-copper);
    color: var(--text-light);
    padding: 3.5rem 10% 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.copper-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 600px) {
  .copper-grid {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
}

.newsletter-form {
    display: flex;
    border-bottom: 1px solid rgba(253, 252, 251, 0.3);
    transition: border-color 0.3s ease;
}

.newsletter-form:focus-within {
    border-bottom-color: var(--color-sand);
}

.newsletter-form input {
    background: transparent;
    border: none;
    color: var(--text-light);
    padding: 0.6rem 0;
    font-size: 0.9rem;
    font-family: var(--font-main);
    flex: 1;
    outline: none;
}

.newsletter-form input::placeholder {
    color: rgba(253, 252, 251, 0.6);
}

.newsletter-form button {
    background: transparent;
    border: none;
    color: var(--color-sand);
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    padding: 0 0 0 1rem;
    transition: opacity 0.2s ease;
}

.newsletter-form button:hover {
    opacity: 0.7;
}

:root {
    --lj-earth: #3D2321;
    --lj-paper: #F2EFE9;
    --lj-accent: #C5A059;
    --lj-ink-light: rgba(61, 35, 33, 0.6);
    --font-footer: 'Lato', sans-serif;
}

.legal-links {
    display: flex;
    gap: 1.5rem;
}

.legal-links a, .ddx-attr a {
    color: var(--lj-earth);
    text-decoration: none;
    font-weight: 700;
}

.legal-links a:hover, .ddx-attr a:hover {
    text-decoration: underline;
}

.giraffe {
    display: inline-block;
    transition: transform 0.3s ease;
}

.ddx-attr:hover .giraffe {
    transform: translateY(-3px) scale(1.1);
}

.stub-title {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 900;
    margin: 0 0 0.5rem 0;
    color: var(--lj-accent);
}

.stub-heading {
    font-size: 1.5rem;
    font-weight: 300;
    margin: 0 0 1.5rem 0;
    line-height: 1.2;
}

.stub-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.stub-form input {
    background: transparent;
    border: none;
    border-bottom: 2px solid rgba(61, 35, 33, 0.2);
    padding: 0.5rem 0;
    font-family: var(--font-footer);
    font-size: 0.95rem;
    color: var(--lj-earth);
    outline: none;
    transition: border-color 0.3s ease;
}

.stub-form input:focus {
    border-color: var(--lj-earth);
}

.stub-form input::placeholder {
    color: var(--lj-ink-light);
    font-style: italic;
}

.stub-form button {
    background-color: transparent;
    color: var(--lj-earth);
    border: 2px solid var(--lj-earth);
    padding: 0.6rem;
    border-radius: 6px;
    font-family: var(--font-footer);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: background .25s ease, color .25s ease, box-shadow .25s ease, transform .25s ease ease;
}

.stub-form button:hover {
    background-color: var(--lj-earth);
    color: var(--lj-paper);
}

.barcode {
    margin-top: 2rem;
    height: 30px;
    width: 100%;
    background:
        linear-gradient(90deg,
            var(--lj-earth) 0%, var(--lj-earth) 5%,
            transparent 5%, transparent 8%,
            var(--lj-earth) 8%, var(--lj-earth) 10%,
            transparent 10%, transparent 15%,
            var(--lj-earth) 15%, var(--lj-earth) 22%,
            transparent 22%, transparent 24%,
            var(--lj-earth) 24%, var(--lj-earth) 26%,
            transparent 26%, transparent 30%,
            var(--lj-earth) 30%, var(--lj-earth) 32%,
            transparent 32%, transparent 35%,
            var(--lj-earth) 35%, var(--lj-earth) 45%,
            transparent 45%, transparent 48%,
            var(--lj-earth) 48%, var(--lj-earth) 50%,
            transparent 50%, transparent 55%,
            var(--lj-earth) 55%, var(--lj-earth) 60%,
            transparent 60%, transparent 62%,
            var(--lj-earth) 62%, var(--lj-earth) 70%,
            transparent 70%, transparent 75%,
            var(--lj-earth) 75%, var(--lj-earth) 77%,
            transparent 77%, transparent 80%,
            var(--lj-earth) 80%, var(--lj-earth) 85%,
            transparent 85%, transparent 88%,
            var(--lj-earth) 88%, var(--lj-earth) 95%,
            transparent 95%, transparent 97%,
            var(--lj-earth) 97%, var(--lj-earth) 100%
        );
    opacity: 0.3;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
