/* ========================================
   TJMONEYY MEDIA — Shared Styles
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&display=swap');

:root {
  --bg: #080808;
  --bg2: #111111;
  --bg3: #1a1a1a;
  --gold: #C9A84C;
  --gold-dim: #8a6e2f;
  --red: #E01A1A;
  --white: #F0EDE8;
  --muted: #777;
  --border: rgba(255,255,255,0.07);
  --font-h: 'Playfair Display', Georgia, serif;
  --font-b: 'Inter', system-ui, sans-serif;
  --nav-h: 80px;
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--font-b);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--gold-dim); border-radius: 2px; }

/* ── Cursor ── */
.cursor-dot {
  width: 8px; height: 8px;
  background: var(--gold);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.1s, opacity 0.3s;
  mix-blend-mode: difference;
}
.cursor-ring {
  width: 36px; height: 36px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: transform 0.15s var(--ease), width 0.3s, height 0.3s, opacity 0.3s;
  opacity: 0.5;
}

/* ── Navigation ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  transition: background 0.4s var(--ease), backdrop-filter 0.4s;
}
.nav.scrolled {
  background: rgba(8,8,8,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  font-family: var(--font-h);
  font-size: 1.1rem;
  letter-spacing: 0.25em;
  font-weight: 500;
  color: var(--white);
  transition: color 0.3s;
}
.nav-logo .dot { color: var(--gold); }
.nav-logo:hover { color: var(--gold); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}
.nav-links a {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  color: rgba(240,237,232,0.7);
  transition: color 0.3s;
  position: relative;
  cursor: pointer;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav-links a:hover,
.nav-links a.active { color: var(--white); }
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }

/* Portfolio dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 20px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: rgba(12,12,12,0.97);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, transform 0.3s var(--ease), visibility 0.3s;
  padding: 12px 0;
}
.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown-menu a {
  display: block;
  padding: 10px 24px;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.2s, padding-left 0.2s;
}
.nav-dropdown-menu a:hover {
  color: var(--white);
  padding-left: 32px;
}
.nav-dropdown-menu a::after { display: none; }

/* Instagram nav icon */
.nav-ig {
  display: flex;
  align-items: center;
  color: rgba(240,237,232,0.7);
  transition: color 0.3s;
}
.nav-ig:hover { color: var(--gold); }
.nav-ig::after { display: none !important; }

/* CTA nav button */
.nav-cta {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--bg) !important;
  background: var(--gold);
  padding: 10px 20px;
  transition: background 0.3s, color 0.3s !important;
  cursor: pointer;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--white); color: var(--bg) !important; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--white);
  transition: transform 0.3s, opacity 0.3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(8,8,8,0.98);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s, visibility 0.4s;
}
.mobile-menu.open { opacity: 1; visibility: visible; }
.mobile-menu a {
  font-family: var(--font-h);
  font-size: 2rem;
  color: var(--muted);
  transition: color 0.3s;
}
.mobile-menu a:hover { color: var(--white); }
.mobile-menu .mobile-sub { display: flex; flex-direction: column; gap: 14px; align-items: center; }
.mobile-menu .mobile-sub a { font-family: var(--font-b); font-size: 0.8rem; letter-spacing: 0.15em; text-transform: uppercase; }
.mobile-menu .mobile-divider {
  width: 60px; height: 1px; background: var(--border);
}

/* ── Page loader ── */
.page-loader {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s var(--ease), visibility 0.6s;
}
.page-loader.hidden { opacity: 0; visibility: hidden; }
.loader-logo {
  font-family: var(--font-h);
  font-size: 1.4rem;
  letter-spacing: 0.3em;
  color: var(--white);
  animation: loader-pulse 1.2s ease-in-out infinite;
}
.loader-logo .dot { color: var(--gold); }
@keyframes loader-pulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

/* ── Hero ── */
.hero {
  position: relative;
  height: 100dvh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding-bottom: 80px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.08);
  transition: transform 8s ease-out;
}
.hero-bg.loaded { transform: scale(1); }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(8,8,8,0.3) 0%,
    rgba(8,8,8,0.1) 40%,
    rgba(8,8,8,0.7) 75%,
    rgba(8,8,8,0.97) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 1;
  padding: 0 60px;
  max-width: 900px;
}
.hero-eyebrow {
  font-size: 0.68rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s var(--ease) 0.8s forwards;
}
.hero-title {
  font-family: var(--font-h);
  font-size: clamp(3rem, 7vw, 6.5rem);
  line-height: 1.05;
  font-weight: 400;
  letter-spacing: -0.01em;
  margin-bottom: 28px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.9s var(--ease) 1s forwards;
}
.hero-title em {
  font-style: italic;
  color: var(--gold);
}
.hero-tagline {
  font-size: clamp(0.85rem, 1.5vw, 1rem);
  color: rgba(240,237,232,0.6);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 300;
  margin-bottom: 48px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s var(--ease) 1.2s forwards;
}
.hero-ctas {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s var(--ease) 1.4s forwards;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--gold);
  color: var(--bg);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 16px 32px;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
}
.btn-primary:hover { background: var(--white); transform: translateY(-2px); }
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(240,237,232,0.3);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 16px 32px;
  cursor: pointer;
  transition: border-color 0.3s, background 0.3s, transform 0.2s;
}
.btn-outline:hover { border-color: var(--gold); background: rgba(201,168,76,0.08); transform: translateY(-2px); }

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 36px;
  right: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  animation: fadeIn 1s ease 2s forwards;
}
.scroll-indicator span {
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--muted);
  writing-mode: vertical-rl;
}
.scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scroll-line 2s ease-in-out infinite 2.5s;
}
@keyframes scroll-line {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ── Section base ── */
.section { padding: 100px 60px; }
.section-sm { padding: 60px 60px; }

.section-label {
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 16px;
}
.section-title {
  font-family: var(--font-h);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 20px;
}
.section-title em { font-style: italic; color: var(--gold); }
.section-subtitle {
  font-size: 0.95rem;
  color: var(--muted);
  max-width: 500px;
  line-height: 1.8;
  font-weight: 300;
}

/* ── Category grid (home) ── */
.categories-section {
  padding: 80px 40px;
  background: var(--bg);
}
.categories-header {
  text-align: center;
  margin-bottom: 64px;
}
.categories-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 520px 520px 420px;
  gap: 0;
  max-width: 1400px;
  margin: 0 auto;
}
.category-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  display: block;
  height: 100%;
  min-height: unset;
  aspect-ratio: unset;
}
.category-card:nth-child(1) { grid-column: 1; grid-row: 1; }
.category-card:nth-child(2) { grid-column: 2 / span 2; grid-row: 1; }
.category-card:nth-child(3) { grid-column: 1; grid-row: 2; }
.category-card:nth-child(4) { grid-column: 2 / span 2; grid-row: 2; }
.category-card:nth-child(5) { grid-column: 1; grid-row: 3; }
.category-card:nth-child(6) { grid-column: 2; grid-row: 3; }
.category-card:nth-child(7) { grid-column: 3; grid-row: 3; }

.category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease), filter 0.6s;
  filter: brightness(0.75) saturate(0.9);
}
.category-card:hover img {
  transform: scale(1.05);
  filter: brightness(0.55) saturate(1.1);
}
.category-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8,8,8,0.85) 0%, transparent 60%);
}
.category-info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 32px;
}
.category-name {
  font-family: var(--font-h);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 400;
  letter-spacing: 0.02em;
  display: block;
  transform: translateY(8px);
  transition: transform 0.4s var(--ease);
}
.category-card:hover .category-name { transform: translateY(0); }
.category-sub {
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 6px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s 0.05s, transform 0.4s 0.05s var(--ease);
}
.category-card:hover .category-sub { opacity: 1; transform: translateY(0); }

/* ── About (home) ── */
.about-section {
  padding: 100px 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
  max-width: 1300px;
  margin: 0 auto;
}
.about-img-wrap {
  position: relative;
}
.about-img-wrap::before {
  content: '';
  position: absolute;
  top: -20px; left: -20px;
  width: 60%;
  height: 60%;
  border: 1px solid var(--gold-dim);
  pointer-events: none;
}
.about-img-wrap img {
  width: 100%;
  height: 600px;
  object-fit: cover;
  object-position: top center;
  filter: grayscale(15%);
}
.about-text { }
.about-bio {
  font-size: 1rem;
  line-height: 1.9;
  color: rgba(240,237,232,0.75);
  font-weight: 300;
  margin: 28px 0 40px;
}
.about-stats {
  display: flex;
  gap: 40px;
  margin-bottom: 40px;
}
.stat-num {
  font-family: var(--font-h);
  font-size: 2.5rem;
  color: var(--gold);
  display: block;
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ── Quote banner ── */
.quote-banner {
  padding: 100px 60px;
  background: var(--bg2);
  text-align: center;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.quote-text {
  font-family: var(--font-h);
  font-size: clamp(1.5rem, 3.5vw, 2.8rem);
  font-weight: 400;
  font-style: italic;
  color: var(--white);
  max-width: 900px;
  margin: 0 auto 20px;
  line-height: 1.4;
}
.quote-attr {
  font-size: 0.68rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ── Contact CTA ── */
.cta-section {
  padding: 120px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(201,168,76,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.cta-label { text-align: center; }
.cta-title { text-align: center; max-width: 700px; margin: 0 auto 16px; }
.cta-sub { text-align: center; max-width: 500px; margin: 0 auto 48px; }
.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ── Footer ── */
footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 60px 60px 40px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 48px;
}
.footer-brand .footer-logo {
  font-family: var(--font-h);
  font-size: 1rem;
  letter-spacing: 0.25em;
  margin-bottom: 12px;
}
.footer-brand .footer-logo .dot { color: var(--gold); }
.footer-tagline {
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}
.footer-links a {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.3s;
}
.footer-links a:hover { color: var(--white); }
.footer-social {
  display: flex;
  gap: 20px;
  justify-content: flex-end;
  align-items: center;
}
.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border: 1px solid var(--border);
  color: var(--muted);
  transition: border-color 0.3s, color 0.3s;
  cursor: pointer;
}
.footer-social a:hover { border-color: var(--gold); color: var(--gold); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  font-size: 0.68rem;
  color: var(--muted);
  letter-spacing: 0.08em;
}

/* ── Gallery page hero ── */
.gallery-hero {
  position: relative;
  height: 70vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.gallery-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.4) saturate(0.8);
  transform: scale(1.06);
  transition: transform 8s ease-out;
}
.gallery-hero-bg.loaded { transform: scale(1); }
.gallery-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(8,8,8,0.5), rgba(8,8,8,0.3) 50%, rgba(8,8,8,0.8));
}
.gallery-hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
}
.gallery-hero-eyebrow {
  font-size: 0.65rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.gallery-hero-title {
  font-family: var(--font-h);
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1;
}
.gallery-hero-line {
  width: 60px; height: 1px;
  background: var(--gold);
  margin: 28px auto 0;
}

/* ── Gallery bio strip ── */
.gallery-bio {
  padding: 80px 40px 72px;
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}
.gallery-bio-rule {
  width: 40px;
  height: 1px;
  background: var(--gold);
  margin: 0 auto 48px;
  display: block;
}
.gallery-bio-headline {
  font-family: var(--font-h);
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 400;
  line-height: 1.25;
  color: var(--white);
  letter-spacing: -0.01em;
  margin-bottom: 20px;
}
.gallery-bio-headline em {
  font-style: italic;
  color: var(--gold);
}
.gallery-bio-sub {
  font-family: var(--font-b);
  font-size: 0.88rem;
  font-weight: 300;
  line-height: 1.9;
  color: rgba(240,237,232,0.5);
  letter-spacing: 0.06em;
  max-width: 520px;
  margin: 0 auto;
}
.gallery-bio-rule-bottom {
  width: 40px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold-dim), transparent);
  margin: 40px auto 0;
  display: block;
}
@media (max-width: 768px) {
  .gallery-bio { padding: 56px 24px 48px; }
  .gallery-bio-headline { font-size: clamp(1.5rem, 7vw, 2rem); }
}

/* ── Masonry ── */
.masonry-section {
  padding: 20px 20px 80px;
}
.masonry-grid {
  columns: 3 280px;
  column-gap: 6px;
}
.masonry-item {
  break-inside: avoid;
  margin-bottom: 6px;
  overflow: hidden;
  cursor: zoom-in;
  position: relative;
}
.masonry-item img {
  width: 100%;
  display: block;
  transition: transform 0.6s var(--ease), filter 0.4s;
  filter: brightness(0.9);
}
.masonry-item:hover img {
  transform: scale(1.03);
  filter: brightness(1);
}
.masonry-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(8,8,8,0);
  transition: background 0.4s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.masonry-item:hover .masonry-item-overlay {
  background: rgba(8,8,8,0.2);
}
.zoom-icon {
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.3s, transform 0.3s var(--ease);
  color: var(--white);
}
.masonry-item:hover .zoom-icon { opacity: 1; transform: scale(1); }

/* ── Lightbox ── */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100dvh;
  background: #050505;
  z-index: 5000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s, visibility 0.4s;
  -webkit-tap-highlight-color: transparent;
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox-img {
  max-width: 92vw;
  max-height: 88dvh;
  object-fit: contain;
  transition: opacity 0.3s;
  box-shadow: 0 32px 80px rgba(0,0,0,0.8);
}
.lightbox-close {
  position: absolute;
  top: 24px; right: 28px;
  background: none; border: none;
  color: var(--white);
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.2s, transform 0.2s;
  padding: 8px;
  line-height: 1;
}
.lightbox-close:hover { opacity: 1; transform: rotate(90deg); }
.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  color: var(--white);
  cursor: pointer;
  width: 52px; height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s, border-color 0.3s;
}
.lightbox-prev:hover,
.lightbox-next:hover { background: rgba(201,168,76,0.15); border-color: var(--gold); }
.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }
.lightbox-counter {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  color: var(--muted);
}

/* ── Contact page ── */
.contact-page {
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 60px) 60px 80px;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
}
.contact-left { }
.contact-intro {
  font-size: 0.95rem;
  line-height: 1.9;
  color: rgba(240,237,232,0.65);
  font-weight: 300;
  margin: 24px 0 48px;
}
.contact-channels { display: flex; flex-direction: column; gap: 16px; }
.contact-btn {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 28px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--white);
  font-family: var(--font-b);
  font-size: 0.85rem;
  font-weight: 400;
  cursor: pointer;
  transition: border-color 0.3s, background 0.3s, transform 0.2s;
  text-align: left;
}
.contact-btn:hover { transform: translateX(6px); border-color: var(--gold); background: rgba(201,168,76,0.06); }
.contact-btn svg { flex-shrink: 0; }
.contact-btn-label {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 2px;
}
.contact-right {
  position: relative;
}
.contact-right img {
  width: 100%;
  height: 600px;
  object-fit: cover;
  object-position: top center;
  filter: grayscale(20%);
}
.contact-right::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(201,168,76,0.1) 0%, transparent 60%);
  pointer-events: none;
}

/* ── Premium button sweep fill ── */
.btn-primary {
  background-image: linear-gradient(to right, var(--white) 50%, var(--gold) 50%);
  background-size: 200% 100%;
  background-position: 100% center;
  transition: background-position 0.55s cubic-bezier(0.77, 0, 0.175, 1), transform 0.2s, color 0s;
  color: var(--bg);
}
.btn-primary:hover {
  background-position: 0% center;
  color: var(--bg);
  transform: translateY(-2px);
}
.btn-outline {
  background-image: linear-gradient(to right, var(--gold) 50%, transparent 50%);
  background-size: 200% 100%;
  background-position: 100% center;
  transition: background-position 0.55s cubic-bezier(0.77, 0, 0.175, 1), transform 0.2s, border-color 0.3s, color 0s;
}
.btn-outline:hover {
  background-position: 0% center;
  border-color: var(--gold);
  color: var(--bg);
  transform: translateY(-2px);
}

/* ── Category card inset border trace ── */
.category-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(201,168,76,0);
  transition: border-color 0.5s var(--ease), inset 0.5s var(--ease);
  z-index: 3;
  pointer-events: none;
}
.category-card:hover::before {
  inset: 14px;
  border-color: rgba(201,168,76,0.45);
}

/* ── Section label accent ── */
.section-label::before {
  content: '—';
  color: var(--gold);
  margin-right: 10px;
  font-style: normal;
}

/* ── Quote banner premium ── */
.quote-banner {
  position: relative;
  overflow: hidden;
}
.quote-deco {
  font-family: var(--font-h);
  font-size: clamp(10rem, 22vw, 18rem);
  color: rgba(201,168,76,0.04);
  position: absolute;
  top: -40px;
  left: 24px;
  line-height: 1;
  pointer-events: none;
  font-style: italic;
  user-select: none;
}
.quote-rule {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, transparent, var(--gold), transparent);
  margin: 0 auto 48px;
}

/* ── CTA gold rule ── */
.cta-top-rule {
  width: 1px;
  height: 80px;
  background: linear-gradient(to bottom, transparent, var(--gold));
  margin: 0 auto 64px;
}

/* ── About section premium ── */
.about-img-wrap {
  perspective: 1000px;
}
.about-img-inner {
  transition: transform 0.6s var(--ease);
  transform-style: preserve-3d;
  will-change: transform;
}
.about-img-inner img {
  width: 100%;
  height: 600px;
  object-fit: cover;
  object-position: top center;
  filter: grayscale(15%);
}
.about-img-wrap > img { display: none; } /* hide direct img — use .about-img-inner */

/* Gold line that draws into view */
.gold-line {
  display: block;
  width: 0;
  height: 1px;
  background: var(--gold);
  margin-bottom: 24px;
  transition: width 1s var(--ease);
}
.gold-line.visible { width: 56px; }

/* Stat counter */
.stat-num {
  font-variant-numeric: tabular-nums;
}

/* ── Masonry sibling dimming on hover ── */
.masonry-grid:has(.masonry-item:hover) .masonry-item:not(:hover) {
  opacity: 0.45;
  filter: brightness(0.55) saturate(0.6);
}
.masonry-item {
  transition: opacity 0.5s var(--ease), filter 0.5s var(--ease),
              transform 0.6s var(--ease);
}

/* ── Nav link letter-spacing on hover ── */
.nav-links a {
  transition: color 0.3s, letter-spacing 0.4s var(--ease);
}
.nav-links a:hover { letter-spacing: 0.25em; }

/* ── Footer gold top rule ── */
footer {
  border-top: none;
  position: relative;
}
footer::before {
  content: '';
  display: block;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold-dim), transparent);
  margin-bottom: 60px;
}

/* ── Gallery hero count ── */
.gallery-photo-count {
  position: absolute;
  bottom: 36px;
  right: 60px;
  font-size: 0.62rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(240,237,232,0.4);
}

/* ── Scroll-reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* Clip-path reveal for headings */
.reveal-clip {
  opacity: 0;
  clip-path: inset(0 0 100% 0);
  transition: opacity 0.01s, clip-path 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-clip.visible {
  opacity: 1;
  clip-path: inset(0 0 0% 0);
}

/* ── Animations ── */
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  to { opacity: 1; }
}
@keyframes gold-pulse {
  0%, 100% { opacity: 0.06; }
  50% { opacity: 0.12; }
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .hero-bg { transform: none !important; }
  .gallery-hero-bg { transform: none !important; }
}

/* ── Touch devices: hide custom cursor, disable hover-only effects ── */
@media (hover: none) {
  .cursor-dot, .cursor-ring { display: none; }
  .masonry-grid:has(.masonry-item:hover) .masonry-item:not(:hover) {
    opacity: 1;
    filter: none;
  }
  .masonry-item img { filter: brightness(1); }
  .nav-links a:hover { letter-spacing: 0.18em; }
}

/* ── Responsive: tablet (≤1024px) ── */
@media (max-width: 1024px) {
  .about-section { grid-template-columns: 1fr; gap: 48px; }
  .about-img-inner img { height: 460px; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .contact-right { display: none; }
  .contact-page { align-items: flex-start; }
  .categories-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 320px 320px 320px 260px;
  }
  .category-card:nth-child(1) { grid-column: 1; grid-row: 1; }
  .category-card:nth-child(2) { grid-column: 2; grid-row: 1; }
  .category-card:nth-child(3) { grid-column: 1; grid-row: 2; }
  .category-card:nth-child(4) { grid-column: 2; grid-row: 2; }
  .category-card:nth-child(5) { grid-column: 1; grid-row: 3; }
  .category-card:nth-child(6) { grid-column: 2; grid-row: 3; }
  .category-card:nth-child(7) { grid-column: 1 / span 2; grid-row: 4; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-social { justify-content: flex-start; }
}

/* ── Responsive: mobile (≤768px) ── */
@media (max-width: 768px) {
  :root { --nav-h: 64px; }

  /* Nav */
  .nav { padding: 0 20px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }

  /* Hero */
  .hero { padding-bottom: 60px; min-height: 100svh; }
  .hero-content { padding: 0 20px; max-width: 100%; }
  .hero-title { font-size: clamp(2.4rem, 11vw, 4rem); margin-bottom: 20px; }
  .hero-tagline { margin-bottom: 36px; }
  .hero-ctas { gap: 14px; }
  .scroll-indicator { display: none; }

  /* Sections */
  .section { padding: 64px 20px; }
  .section-sm { padding: 48px 20px; }
  .section-title { font-size: clamp(2rem, 8vw, 3rem); }

  /* About */
  .about-section { padding: 64px 20px; gap: 40px; }
  .about-img-inner img { height: 380px; }
  .about-text h2 { font-size: clamp(2rem, 8vw, 3rem); }
  .about-stats { flex-wrap: wrap; gap: 20px; }
  .about-stats .stat { min-width: 100px; }

  /* Categories */
  .categories-section { padding: 48px 0; }
  .categories-title-wrap { padding: 0 20px 32px; }
  .categories-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 240px 240px 240px 200px;
  }
  .category-card:nth-child(1) { grid-column: 1; grid-row: 1; }
  .category-card:nth-child(2) { grid-column: 2; grid-row: 1; }
  .category-card:nth-child(3) { grid-column: 1; grid-row: 2; }
  .category-card:nth-child(4) { grid-column: 2; grid-row: 2; }
  .category-card:nth-child(5) { grid-column: 1; grid-row: 3; }
  .category-card:nth-child(6) { grid-column: 2; grid-row: 3; }
  .category-card:nth-child(7) { grid-column: 1 / span 2; grid-row: 4; }
  .category-label { font-size: clamp(1rem, 4vw, 1.4rem); }
  .category-card:hover::before { inset: 8px; }

  /* Quote */
  .quote-banner { padding: 56px 20px; }
  .quote-text { font-size: clamp(1.4rem, 6vw, 2rem); }

  /* CTA */
  .cta-section { padding: 72px 20px; }
  .cta-buttons { flex-direction: column; align-items: center; gap: 14px; }
  .btn-primary, .btn-outline { width: 100%; max-width: 320px; justify-content: center; padding: 18px 24px; }

  /* Footer */
  footer { padding: 48px 20px 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; font-size: 0.65rem; }
  .footer-links { flex-wrap: wrap; gap: 12px 20px; justify-content: flex-start; }

  /* Gallery hero */
  .gallery-hero { height: 52vh; min-height: 300px; }
  .gallery-hero-content { padding: 0 20px 40px; }
  .gallery-hero-title { font-size: clamp(2.4rem, 12vw, 5rem); }

  /* Gallery bio */
  .gallery-bio { padding: 48px 20px 40px; }
  .gallery-bio-headline { font-size: clamp(1.6rem, 7vw, 2.4rem); }

  /* Masonry */
  .masonry-section { padding: 12px 8px 60px; }
  .masonry-grid { columns: 2; column-gap: 4px; }
  .masonry-item { margin-bottom: 4px; }

  /* Lightbox – larger tap targets on mobile */
  .lightbox-prev { left: 4px; width: 44px; height: 44px; }
  .lightbox-next { right: 4px; width: 44px; height: 44px; }
  .lightbox-close { top: 16px; right: 16px; padding: 12px; }
  .lightbox-img { max-width: 96vw; max-height: 86dvh; }

  /* Contact */
  .contact-page { padding: calc(var(--nav-h) + 32px) 20px 56px; align-items: flex-start; }
  .contact-channels { gap: 12px; }
  .contact-btn { padding: 16px 20px; gap: 14px; }
}

/* ── Responsive: small phones (≤480px) ── */
@media (max-width: 480px) {
  .hero-title { font-size: clamp(2rem, 13vw, 3rem); }
  .hero-ctas { flex-direction: column; align-items: flex-start; gap: 12px; }
  .btn-primary, .btn-outline { width: auto; max-width: none; }

  .categories-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(7, 260px);
  }
  .category-card:nth-child(1) { grid-column: 1; grid-row: 1; }
  .category-card:nth-child(2) { grid-column: 1; grid-row: 2; }
  .category-card:nth-child(3) { grid-column: 1; grid-row: 3; }
  .category-card:nth-child(4) { grid-column: 1; grid-row: 4; }
  .category-card:nth-child(5) { grid-column: 1; grid-row: 5; }
  .category-card:nth-child(6) { grid-column: 1; grid-row: 6; }
  .category-card:nth-child(7) { grid-column: 1; grid-row: 7; }

  .masonry-grid { columns: 1; column-gap: 0; }
  .masonry-item { margin-bottom: 3px; }

  .cta-buttons { align-items: stretch; }
  .btn-primary, .btn-outline { width: 100%; max-width: 100%; justify-content: center; }

  .about-img-inner img { height: 300px; }
  .gallery-bio-headline { font-size: clamp(1.4rem, 8vw, 2rem); }
  .gallery-hero { height: 45vh; }
  .section-title { font-size: clamp(1.8rem, 9vw, 2.6rem); }
}
