/* ============================================
   JRP Images — Main Stylesheet
   ============================================ */

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

:root {
  --bg:        #141414;
  --bg-2:      #1a1a1a;
  --text:      #f0ece4;
  --muted:     #888;
  --faint:     #2a2a2a;
  --accent:    #c9a96e;
  --nav-h:     72px;
  --max-w:     1500px;
  --ease:      cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

img {
  display: block;
  -webkit-user-drag: none;
  user-drag: none;
  -webkit-user-select: none;
  user-select: none;
  pointer-events: none; /* blocks right-click on img elements directly */
}

a { color: inherit; }

/* ---- Typography ---- */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.15;
}

.label {
  font-family: 'Inter', sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent);
}

/* ============================================
   NAV
   ============================================ */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2.5rem;
  transition: background 0.5s var(--ease), backdrop-filter 0.5s var(--ease);
}

nav.scrolled {
  background: rgba(8, 8, 8, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  letter-spacing: 0.12em;
  text-decoration: none;
  color: var(--text);
  z-index: 1;
}

.nav-logo span { color: var(--accent); }

.nav-links {
  display: flex;
  list-style: none;
  gap: 2.8rem;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.3s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.nav-links a:hover,
.nav-links a.active { color: var(--text); }

.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }

/* Portfolio dropdown */
.nav-dropdown { position: relative; }

.nav-dropdown > a { display: flex; align-items: center; gap: 0.4rem; }

.nav-dropdown > a svg { transition: transform 0.3s; }
.nav-dropdown:hover > a svg { transform: rotate(180deg); }

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  background: rgba(10, 10, 10, 0.96);
  backdrop-filter: blur(16px);
  border: 1px solid var(--faint);
  min-width: 180px;
  padding: 1rem 0 0.5rem;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(-6px);
  transition: opacity 0.25s, transform 0.25s var(--ease);
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 0.65rem 1.4rem;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s, background 0.2s;
}

.dropdown-menu a:hover {
  color: var(--text);
  background: rgba(255,255,255,0.04);
}

.dropdown-menu a::after { display: none; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 6px;
  z-index: 1;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 1px;
  background: var(--text);
  transition: transform 0.35s var(--ease), opacity 0.35s;
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 820px) {
  /* backdrop-filter on nav creates a containing block for position:fixed children,
     collapsing the mobile nav panel to zero height when scrolled. Remove it. */
  nav.scrolled {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .hamburger { display: flex; }

  .nav-links {
    position: fixed;
    top: var(--nav-h); left: 0; right: 0; bottom: 0;
    background: var(--bg);
    flex-direction: column;
    gap: 0;
    justify-content: flex-start;
    padding: 2rem 0;
    transform: translateX(100%);
    transition: transform 0.4s var(--ease);
    pointer-events: none;
    overflow-y: auto;
  }

  .nav-links.open {
    transform: translateX(0);
    pointer-events: all;
  }

  .nav-links li { width: 100%; border-bottom: 1px solid var(--faint); }
  .nav-links a {
    display: block;
    padding: 1.1rem 2.5rem;
    font-size: 0.8rem;
  }
  .nav-links a::after { display: none; }

  .dropdown-menu {
    position: static;
    opacity: 1;
    pointer-events: all;
    transform: none;
    backdrop-filter: none;
    border: none;
    background: rgba(255,255,255,0.03);
    padding: 0;
  }

  .dropdown-menu a { padding-left: 3.5rem; }
  .nav-dropdown > a svg { display: none; }
}

/* ============================================
   HERO (Homepage)
   ============================================ */
.hero {
  height: 100vh;
  min-height: 600px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: contain;
  background-position: center center;
  background-repeat: no-repeat;
  background-color: var(--bg);
  animation: zoomIn 10s var(--ease) forwards;
}

@keyframes zoomIn {
  from { transform: scale(1.08); }
  to   { transform: scale(1); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(0,0,0,0.55) 0%,
    rgba(0,0,0,0.3) 50%,
    rgba(0,0,0,0.6) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 1.5rem;
}

.hero-eyebrow {
  display: block;
  margin-bottom: 1.2rem;
  opacity: 0;
  transform: translateY(16px);
  animation: slideUp 0.9s 0.5s var(--ease) forwards;
}

.hero-title {
  font-size: clamp(3.2rem, 9vw, 8rem);
  line-height: 1.0;
  opacity: 0;
  transform: translateY(20px);
  animation: slideUp 1s 0.75s var(--ease) forwards;
}

.hero-title em {
  font-style: italic;
  color: var(--accent);
}

.hero-sub {
  margin-top: 1.8rem;
  font-size: 0.8rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(240,236,228,0.6);
  opacity: 0;
  transform: translateY(14px);
  animation: slideUp 0.9s 1s var(--ease) forwards;
}

.hero-cta {
  margin-top: 3rem;
  display: inline-block;
  padding: 0.85rem 2.5rem;
  border: 1px solid rgba(201,169,110,0.5);
  text-decoration: none;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text);
  transition: background 0.3s, border-color 0.3s;
  opacity: 0;
  animation: slideUp 0.9s 1.3s var(--ease) forwards;
}

.hero-cta:hover {
  background: rgba(201,169,110,0.12);
  border-color: var(--accent);
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  opacity: 0;
  animation: slideUp 0.9s 2s var(--ease) forwards;
}

.hero-scroll-indicator span {
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
}

.scroll-bar {
  width: 1px;
  height: 56px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollPulse 2.4s 2.5s infinite;
  transform-origin: top;
  transform: scaleY(0);
}

@keyframes scrollPulse {
  0%   { transform: scaleY(0); transform-origin: top; opacity: 1; }
  45%  { transform: scaleY(1); transform-origin: top; opacity: 1; }
  46%  { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}

@keyframes slideUp {
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================
   RECENT HIGHLIGHTS (Homepage)
   ============================================ */
.highlights-section {
  padding: 6rem 0 0;
}

.highlights-header {
  text-align: center;
  padding: 0 2rem 2.5rem;
}

.highlights-header h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-top: 0.8rem;
}

.highlights-carousel {
  position: relative;
  height: 75vh;
  min-height: 500px;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.highlight-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s var(--ease);
}

.highlight-slide.active {
  opacity: 1;
  pointer-events: all;
}

.highlight-slide img {
  max-height: 88%;
  max-width: 88%;
  width: auto;
  height: auto;
  object-fit: contain;
  cursor: pointer;
  transition: transform 0.4s var(--ease);
  display: block;
}

.highlight-slide:hover img { transform: scale(1.015); }

.highlight-slide-caption {
  position: absolute;
  bottom: 1.8rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
}

.highlight-slide.active:hover .highlight-slide-caption { opacity: 1; }

.hl-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(8,8,8,0.7);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--muted);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.25s, border-color 0.25s, color 0.25s;
}

.hl-arrow:hover {
  background: rgba(201,169,110,0.12);
  border-color: var(--accent);
  color: var(--accent);
}

.hl-prev { left: 1.5rem; }
.hl-next { right: 1.5rem; }

.hl-counter {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  color: var(--muted);
}

/* ============================================
   PORTFOLIO GRID (Homepage)
   ============================================ */
.portfolio-section {
  padding: 7rem 0 5rem;
}

.section-header {
  text-align: center;
  padding: 0 2rem 4rem;
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-top: 0.8rem;
}

/* ── Portfolio Carousel ── */
.portfolio-carousel {
  position: relative;
  width: 100%;
  height: 75vh;
  min-height: 480px;
  overflow: hidden;
  cursor: pointer;
}

.pc-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.7s var(--ease);
  pointer-events: none;
}

.pc-slide.active {
  opacity: 1;
  pointer-events: all;
}

.pc-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 6s linear;
}

.pc-slide.active img {
  transform: scale(1.04);
}

/* Gradient overlay */
.pc-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.78) 0%,
    rgba(0,0,0,0.2)  45%,
    transparent      70%
  );
  display: flex;
  align-items: flex-end;
  padding: 3.5rem 4rem;
}

.pc-info {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.pc-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: #fff;
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.1;
}

.pc-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 0.6rem;
  transition: gap 0.3s var(--ease);
}

.pc-slide:hover .pc-cta { gap: 1rem; }

/* Arrows */
.pc-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(8,8,8,0.45);
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--text);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.25s, border-color 0.25s, color 0.25s;
  backdrop-filter: blur(6px);
}

.pc-arrow:hover {
  background: rgba(201,169,110,0.15);
  border-color: var(--accent);
  color: var(--accent);
}

.pc-prev { left: 2rem; }
.pc-next { right: 2rem; }

/* Dot indicators */
.pc-dots {
  position: absolute;
  bottom: 2rem;
  right: 4rem;
  display: flex;
  gap: 0.5rem;
  z-index: 10;
}

.pc-dot {
  width: 20px;
  height: 2px;
  background: rgba(255,255,255,0.3);
  border: none;
  cursor: pointer;
  transition: background 0.3s, width 0.3s;
  padding: 0;
}

.pc-dot.active {
  background: var(--accent);
  width: 36px;
}

@media (max-width: 700px) {
  .portfolio-carousel { height: 60vh; }
  .pc-overlay { padding: 2rem; }
  .pc-prev { left: 1rem; }
  .pc-next { right: 1rem; }
  .pc-dots { right: 2rem; bottom: 1.5rem; }
}

/* ============================================
   NEXT LOCATION (Homepage)
   ============================================ */
.next-location {
  text-align: center;
  padding: 6rem 2rem;
  border-top: 1px solid var(--faint);
}

.next-location h2 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  margin-top: 1rem;
}

/* ============================================
   GALLERY HERO
   ============================================ */
.gallery-hero {
  height: 65vh;
  min-height: 420px;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 4rem 3.5rem;
  overflow: hidden;
  margin-top: var(--nav-h);
}

.gallery-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  animation: zoomIn 8s var(--ease) forwards;
}

.gallery-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.15) 70%);
}

.gallery-hero-content { position: relative; z-index: 1; }

.gallery-hero-content .label { margin-bottom: 0.8rem; }

.gallery-hero-content h1 {
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  opacity: 0;
  transform: translateY(18px);
  animation: slideUp 0.9s 0.3s var(--ease) forwards;
}

/* ============================================
   GALLERY SECTIONS
   ============================================ */
.gallery-wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 0 6rem;
}

.gallery-section {
  padding: 4rem 2.5rem 2rem;
}

.gallery-section-header {
  margin-bottom: 2rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--faint);
  display: flex;
  align-items: baseline;
  gap: 1.5rem;
}

.gallery-section-header h2 {
  font-size: clamp(1.4rem, 2.5vw, 2.2rem);
}

.gallery-section-header .count {
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.1em;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 3px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: var(--bg-2);
  pointer-events: all; /* restore clicks on the container */
}

.gallery-item.landscape { aspect-ratio: 3/2; }
.gallery-item.portrait  { aspect-ratio: 2/3; }
.gallery-item.square    { aspect-ratio: 1/1; }
.gallery-item.wide      { aspect-ratio: 16/9; }

.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease), filter 0.4s;
  will-change: transform;
}

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

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  transition: background 0.3s;
  display: flex;
  align-items: flex-end;
  padding: 1rem;
}

.gallery-item:hover .gallery-item-overlay {
  background: rgba(0,0,0,0.3);
}

.gallery-item-caption {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s, transform 0.3s;
}

.gallery-item:hover .gallery-item-caption {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   EDITORIAL GALLERY LAYOUT
   (used on pacific-ocean.html)
   ============================================ */
.gallery-editorial {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  padding: 3rem 4% 2rem;
}

/* Section dividers span the full grid width */
.gallery-editorial-section {
  grid-column: 1 / -1;
  display: flex;
  align-items: baseline;
  gap: 1.5rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--faint);
}

.gallery-editorial-section h2 {
  font-size: clamp(1.1rem, 2vw, 1.7rem);
}

.gallery-editorial-section .count {
  font-size: 0.7rem;
  color: var(--muted);
  letter-spacing: 0.1em;
}

/* Gallery items in editorial mode */
.gallery-editorial .gallery-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: transparent;
  aspect-ratio: unset !important; /* natural image proportions */
  width: 100%;
}

.gallery-editorial .gallery-item img {
  width: 100%;
  height: auto;
  object-fit: unset;
  display: block;
  transition: transform 0.7s var(--ease);
}

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

/* Caption: subtle text below each image */
.gallery-editorial .gallery-item-overlay {
  position: static;
  background: none;
  padding: 0.5rem 0 0;
  display: flex;
}

.gallery-editorial .gallery-item:hover .gallery-item-overlay { background: none; }

.gallery-editorial .gallery-item-caption {
  opacity: 0.35;
  transform: none;
  font-size: 0.67rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: opacity 0.3s;
}

.gallery-editorial .gallery-item:hover .gallery-item-caption {
  opacity: 0.75;
  transform: none;
}

/* ============================================
   INFRARED CAROUSEL
   ============================================ */
.ir-carousel {
  width: 100%;
  background: #000;
  margin-top: 3rem;
}

.ir-main {
  position: relative;
  width: 100%;
  height: 82vh;
  min-height: 520px;
  overflow: hidden;
  background: #000;
  cursor: e-resize;
}

.ir-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s var(--ease);
  display: flex;
  align-items: center;
  justify-content: center;
}

.ir-slide.active { opacity: 1; }

.ir-slide img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 8s linear;
}

.ir-slide.active img { transform: scale(1.02); }

/* Arrows */
.ir-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.45);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--text);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background 0.25s, border-color 0.25s;
}
.ir-arrow:hover { background: rgba(201,169,110,0.3); border-color: var(--accent); }
.ir-prev { left: 1.5rem; }
.ir-next { right: 1.5rem; }

/* Caption + counter bar */
.ir-meta {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.5rem;
  background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, transparent 100%);
  pointer-events: none;
}

.ir-caption {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.75);
  font-style: italic;
}

.ir-counter {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
}

/* Thumbnail strip */
.ir-thumbs {
  display: flex;
  gap: 3px;
  overflow-x: auto;
  background: #000;
  padding: 6px 6px;
  scrollbar-width: none;
}
.ir-thumbs::-webkit-scrollbar { display: none; }

.ir-thumb {
  flex-shrink: 0;
  width: 72px;
  height: 52px;
  object-fit: cover;
  opacity: 0.4;
  cursor: pointer;
  transition: opacity 0.25s;
  border: 1px solid transparent;
  pointer-events: all;
}
.ir-thumb:hover { opacity: 0.75; }
.ir-thumb.active { opacity: 1; border-color: var(--accent); }

/* ============================================
   PRICING NOTE
   ============================================ */
.pricing-note {
  margin: 0 auto 2rem;
  padding: 2rem;
  border: 1px solid var(--faint);
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.8;
  max-width: 680px;
  width: calc(100% - 5rem);
}

/* ============================================
   GALLERY NAV (prev/next)
   ============================================ */
.gallery-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2.5rem;
  border-top: 1px solid var(--faint);
  max-width: var(--max-w);
  margin: 0 auto;
}

.gallery-nav-link {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: color 0.3s;
  padding: 0.5rem 0;
}

.gallery-nav-link:hover { color: var(--text); }

.gallery-nav-link svg { transition: transform 0.3s; }
.gallery-nav-link.prev:hover svg { transform: translateX(-4px); }
.gallery-nav-link.next:hover svg { transform: translateX(4px); }

.gallery-nav-link .nav-label {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.gallery-nav-link .nav-label small {
  font-size: 0.62rem;
  color: var(--accent);
  letter-spacing: 0.2em;
}

.gallery-nav-link .nav-label span {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  letter-spacing: 0.04em;
  color: var(--text);
  text-transform: none;
}

/* ============================================
   LIGHTBOX
   ============================================ */
#lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(4, 4, 4, 0.97);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease);
}

#lightbox.open {
  opacity: 1;
  pointer-events: all;
}

.lb-img-wrap {
  position: relative;
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: e-resize; /* click to advance */
}

#lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  transform: scale(0.96);
  transition: transform 0.35s var(--ease), opacity 0.2s;
  opacity: 0;
  pointer-events: none; /* don't block gallery clicks when lightbox is closed */
}

#lightbox.open img { transform: scale(1); opacity: 1; pointer-events: all; }

.lb-loading {
  position: absolute;
  width: 40px;
  height: 40px;
  border: 1px solid var(--faint);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  display: none;
}

@keyframes spin { to { transform: rotate(360deg); } }

.lb-close,
.lb-prev,
.lb-next {
  position: absolute;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--muted);
  transition: color 0.25s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lb-close:hover,
.lb-prev:hover,
.lb-next:hover { color: var(--text); }

.lb-close {
  top: 1.5rem; right: 1.5rem;
  width: 44px; height: 44px;
}

.lb-prev { left: 1.2rem; top: 50%; transform: translateY(-50%); padding: 1.2rem; }
.lb-next { right: 1.2rem; top: 50%; transform: translateY(-50%); padding: 1.2rem; }

.lb-caption {
  margin-top: 0.6rem;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  pointer-events: none;
  text-align: center;
  max-width: 90vw;
}

.lb-counter {
  position: absolute;
  top: 1.5rem;
  left: 50%; transform: translateX(-50%);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  color: var(--muted);
}

.lb-purchase {
  position: absolute;
  bottom: 1rem;
  left: 50%; transform: translateX(-50%);
  font-size: 0.65rem;
  letter-spacing: 0.05em;
  color: var(--muted);
  pointer-events: none;
  width: max-content;
  max-width: calc(100vw - 3rem);
  white-space: normal;
  text-align: center;
  line-height: 1.6;
}

.lb-purchase a {
  color: var(--accent);
  text-decoration: none;
  pointer-events: all;
}

.lb-purchase a:hover { text-decoration: underline; }

/* ============================================
   ABOUT PAGE
   ============================================ */
.about-wrap {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: var(--nav-h);
}

.about-image-col {
  position: sticky;
  top: var(--nav-h);
  height: calc(100vh - var(--nav-h));
  overflow: hidden;
}

.about-image-col img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
}

.about-text-col {
  padding: 6rem 5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-text-col .label { margin-bottom: 1rem; }

.about-text-col h1 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  margin-bottom: 2.5rem;
}

.about-text-col p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 2;
  max-width: 520px;
}

.about-divider {
  width: 48px;
  height: 1px;
  background: var(--accent);
  margin: 2.5rem 0;
}

.about-stats {
  display: flex;
  gap: 3rem;
  margin-top: 3rem;
}

.about-stat .num {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  color: var(--text);
  line-height: 1;
}

.about-stat .desc {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.4rem;
}

@media (max-width: 860px) {
  .about-wrap {
    grid-template-columns: 1fr;
  }
  .about-image-col {
    position: relative;
    height: 60vw;
    min-height: 320px;
  }
  .about-text-col {
    padding: 4rem 2rem;
  }
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-wrap {
  min-height: calc(100vh - var(--nav-h));
  margin-top: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5rem 2rem;
  position: relative;
  overflow: hidden;
}

.contact-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 60% 50%, rgba(201,169,110,0.04) 0%, transparent 70%);
}

.contact-card {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 480px;
  width: 100%;
}

.contact-card .label { margin-bottom: 1rem; }

.contact-card h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  margin-bottom: 1.5rem;
}

.contact-card .intro {
  color: var(--muted);
  margin-bottom: 3.5rem;
  font-size: 0.95rem;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 1px;
  border: 1px solid var(--faint);
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1.4rem 1.8rem;
  text-decoration: none;
  color: var(--muted);
  font-size: 0.95rem;
  transition: background 0.25s, color 0.25s;
  background: var(--bg);
}

.contact-item:hover {
  background: rgba(201,169,110,0.06);
  color: var(--text);
}

.contact-item svg {
  flex-shrink: 0;
  opacity: 0.6;
  transition: opacity 0.25s;
}

.contact-item:hover svg { opacity: 1; }

.contact-item .ci-label {
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 0.15rem;
}

.contact-item .ci-val {
  font-size: 0.9rem;
  color: var(--text);
}

/* ============================================
   FOOTER
   ============================================ */
footer {
  border-top: 1px solid var(--faint);
  padding: 3rem 2.5rem 2.5rem;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.8rem;
}

.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  letter-spacing: 0.1em;
}

.footer-logo span { color: var(--accent); }

.footer-links {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
  list-style: none;
}

.footer-links a {
  text-decoration: none;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.25s;
}

.footer-links a:hover { color: var(--text); }

.footer-copy {
  font-size: 0.7rem;
  color: #3a3a3a;
  letter-spacing: 0.08em;
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }
.reveal-d4 { transition-delay: 0.45s; }
