/* ═══════════════════════════════════════════════════════════
   ALAMRY PORTFOLIO — main.css
   ───────────────────────────────────────────────────────────
   COLOR GUIDE (change these variables to retheme the whole site):
   --white      : page background
   --off-white  : alternate section background
   --accent     : darkest color, used for text headings & about bg
   --text-muted : secondary text color

   FONT GUIDE: fonts are loaded in functions.php — search "FONT"
   ═══════════════════════════════════════════════════════════ */

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

:root {
  --white:     #ffffff;
  --off-white: #f8f7f4;
  --light:     #eeece7;
  --mid:       #c9c6be;
  --text-muted:#8a8880;
  --text:      #2a2925;
  --accent:    #1a1916;
  --serif:     'Cormorant Garamond', Georgia, serif;
  --sans:      'Jost', sans-serif;
  --nav-h:     72px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--white);
  color: var(--text);
  overflow-x: hidden;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 48px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 0.5px solid var(--light);
  transition: background 0.3s, border-color 0.3s;
}
.nav-logo {
  font-family: var(--serif); font-size: 22px; font-weight: 400;
  letter-spacing: 0.22em; color: var(--accent);
  text-decoration: none; text-transform: uppercase;
  transition: color 0.3s;
}
.nav-links { display: flex; gap: 36px; list-style: none; align-items: center; }
.nav-links a {
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--text-muted); text-decoration: none; font-weight: 400;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--accent); }
.lang-btn {
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-muted); background: none; border: 0.5px solid var(--mid);
  padding: 5px 14px; cursor: pointer; font-family: var(--sans); transition: all 0.2s;
}
.lang-btn:hover { color: var(--accent); border-color: var(--accent); }
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.hamburger span { display: block; width: 24px; height: 1px; background: var(--accent); transition: all 0.3s; }

/* Nav transparent over hero */
nav.hero-nav { background: transparent; border-bottom-color: transparent; }
nav.hero-nav .nav-logo { color: rgba(255,255,255,0.85); }
nav.hero-nav .nav-links a { color: rgba(255,255,255,0.45); }
nav.hero-nav .nav-links a:hover { color: rgba(255,255,255,0.9); }
nav.hero-nav .lang-btn { color: rgba(255,255,255,0.45); border-color: rgba(255,255,255,0.2); }
nav.hero-nav .lang-btn:hover { color: rgba(255,255,255,0.9); border-color: rgba(255,255,255,0.5); }
nav.hero-nav .hamburger span { background: rgba(255,255,255,0.7); }

/* ── HERO ── */
#hero {
  height: 100vh; min-height: 600px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding: var(--nav-h) 24px 0;
  background: #0e0d0b;
  position: relative; overflow: hidden;
}
#hero::before {
  content: ''; position: absolute; inset: 0; z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
  background-size: 180px 180px; opacity: 0.045; pointer-events: none;
}
#hero::after {
  content: ''; position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(0,0,0,0.55) 100%);
  pointer-events: none;
}
.hero-glow {
  position: absolute; width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,248,230,0.04) 0%, transparent 70%);
  top: 50%; left: 50%; transform: translate(-50%,-50%);
  animation: glowPulse 8s ease-in-out infinite; pointer-events: none; z-index: 0;
}
@keyframes glowPulse {
  0%,100% { opacity: 0.6; transform: translate(-50%,-50%) scale(1); }
  50%      { opacity: 1;   transform: translate(-50%,-50%) scale(1.15); }
}
.hero-rule-top, .hero-rule-bottom {
  width: 0; height: 0.5px; background: rgba(255,255,255,0.15);
  position: relative; z-index: 1;
  animation: expandRule 1.4s 1s cubic-bezier(0.77,0,0.18,1) forwards;
}
.hero-rule-top  { margin-bottom: 20px; }
.hero-rule-bottom { margin-top: 20px; }
@keyframes expandRule { to { width: min(480px,80vw); height: 0.5px; } }
.hero-inner { position: relative; z-index: 1; }
.hero-eyebrow {
  font-size: 10px; letter-spacing: 0.36em; text-transform: uppercase;
  color: rgba(255,255,255,0.38); margin-bottom: 24px;
  opacity: 0; animation: fadeUp 1s 0.3s forwards;
}
.hero-name {
  font-family: var(--serif); font-size: clamp(80px,14vw,172px);
  font-weight: 300; letter-spacing: 0.16em; line-height: 1;
  color: rgba(255,255,255,0.93); text-transform: uppercase;
  opacity: 0; animation: fadeUp 1.2s 0.5s cubic-bezier(0.16,1,0.3,1) forwards;
}
.hero-subtitle {
  font-family: var(--serif); font-size: clamp(13px,1.6vw,17px);
  font-weight: 300; font-style: italic; color: rgba(255,255,255,0.35);
  margin-top: 18px; letter-spacing: 0.1em;
  opacity: 0; animation: fadeUp 1s 0.8s forwards;
}
.hero-scroll {
  position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  z-index: 1; opacity: 0; animation: fadeUp 1s 1.4s forwards;
  cursor: pointer; text-decoration: none;
}
.hero-scroll-label {
  font-size: 8.5px; letter-spacing: 0.3em; text-transform: uppercase;
  color: rgba(255,255,255,0.25);
}
.hero-scroll-line {
  width: 0.5px; height: 48px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.25), transparent);
  animation: scrollDrop 2s 2s ease-in-out infinite;
}
@keyframes scrollDrop {
  0%   { transform: scaleY(0); transform-origin: top; opacity: 1; }
  50%  { transform: scaleY(1); transform-origin: top; opacity: 1; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── CREDENTIAL STRIP ── */
#credential-strip {
  background: var(--off-white);
  border-top: 0.5px solid var(--light); border-bottom: 0.5px solid var(--light);
  padding: 28px 48px;
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap;
}
.cred-item { display: flex; align-items: center; opacity: 0; animation: fadeUp 0.8s forwards; }
.cred-item:nth-child(1) { animation-delay: 1s; }
.cred-item:nth-child(2) { animation-delay: 1.15s; }
.cred-item:nth-child(3) { animation-delay: 1.3s; }
.cred-name {
  font-family: var(--serif); font-size: 15px; font-weight: 400;
  letter-spacing: 0.08em; color: var(--text); white-space: nowrap; padding: 0 28px;
}
.cred-role {
  font-size: 9px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--text-muted); display: block; margin-top: 3px;
}
.cred-divider { width: 0.5px; height: 32px; background: var(--mid); flex-shrink: 0; }

/* ── SECTION BASE ── */
section { padding: 100px 48px; }
.section-label {
  font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 56px;
  display: flex; align-items: center; gap: 20px;
}
.section-label::after { content: ''; flex: 1; max-width: 60px; height: 0.5px; background: var(--mid); }
.section-title {
  font-family: var(--serif); font-size: clamp(36px,5vw,64px);
  font-weight: 300; line-height: 1.1; color: var(--accent); margin-bottom: 24px;
}

/* ── CINEMATOGRAPHY ── */
#cinematography { background: var(--off-white); }
.cinema-layout {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
  align-items: center; max-width: 1200px; margin: 0 auto;
}
.cinema-text p { font-size: 15px; line-height: 1.85; color: var(--text-muted); margin-bottom: 32px; font-weight: 300; }
.video-frame { position: relative; aspect-ratio: 16/9; background: var(--light); overflow: hidden; }
.video-placeholder {
  width: 100%; height: 100%; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 16px; color: var(--text-muted);
}
.play-icon {
  width: 56px; height: 56px; border: 1px solid var(--mid); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.play-icon svg { margin-left: 4px; }
.video-placeholder p { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: none; }

/* ── PHOTOGRAPHY ── */
#photography { background: var(--white); }
.photo-header { max-width: 1200px; margin: 0 auto 56px; }
.category-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.cat-btn {
  font-family: var(--sans); font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase;
  padding: 8px 20px; border: 0.5px solid var(--mid); background: none; cursor: pointer;
  color: var(--text-muted); transition: all 0.2s;
}
.cat-btn:hover, .cat-btn.active { background: var(--accent); color: var(--white); border-color: var(--accent); }
.photo-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 2px; max-width: 1200px; margin: 0 auto; }
.photo-item { aspect-ratio: 4/5; background: var(--light); overflow: hidden; position: relative; cursor: pointer; }
.photo-item.wide { grid-column: span 2; aspect-ratio: 8/5; }
.photo-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.25,0.46,0.45,0.94); display: block; }
.photo-item:hover img { transform: scale(1.04); }
.photo-item-placeholder {
  width: 100%; height: 100%; display: flex; align-items: flex-end; justify-content: flex-start;
  padding: 20px; background: var(--light);
}
.photo-item:nth-child(2n) .photo-item-placeholder { background: var(--off-white); }
.photo-item:nth-child(3n) .photo-item-placeholder { background: #e8e5de; }
.photo-label { font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-muted); }
.photo-overlay {
  position: absolute; inset: 0; background: rgba(26,25,22,0);
  display: flex; align-items: flex-end; padding: 20px; transition: background 0.3s;
}
.photo-item:hover .photo-overlay { background: rgba(26,25,22,0.35); }
.photo-overlay-label {
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--white); opacity: 0; transform: translateY(8px); transition: all 0.3s;
}
.photo-item:hover .photo-overlay-label { opacity: 1; transform: translateY(0); }

/* ── PRODUCTIONS ── */
#productions { background: var(--white); }
.productions-layout { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 280px 1fr; gap: 80px; align-items: start; }
.productions-intro .section-title { font-size: clamp(28px,3.5vw,48px); }
.productions-intro p { font-size: 14px; line-height: 1.85; color: var(--text-muted); margin-top: 20px; font-weight: 300; }
.productions-credits { display: flex; flex-direction: column; }
.prod-credit-row {
  display: grid; grid-template-columns: 1fr auto; align-items: start;
  padding: 28px 0; border-bottom: 0.5px solid var(--light); gap: 24px;
}
.prod-credit-row:first-child { border-top: 0.5px solid var(--light); }
.prod-credit-left { display: flex; flex-direction: column; gap: 8px; }
.prod-title { font-family: var(--serif); font-size: 24px; font-weight: 400; color: var(--accent); letter-spacing: 0.02em; line-height: 1; }
.prod-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; }
.prod-role { font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-muted); }
.prod-company { font-size: 10px; letter-spacing: 0.1em; color: var(--text-muted); }
.prod-right { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.prod-badge { font-size: 9px; letter-spacing: 0.16em; text-transform: uppercase; padding: 5px 14px; border: 0.5px solid var(--mid); color: var(--text-muted); white-space: nowrap; }
.prod-badge.highlight { border-color: var(--accent); color: var(--accent); }
.prod-year { font-size: 11px; color: var(--text-muted); letter-spacing: 0.1em; }

/* BTS strip */
.bts-strip-light { max-width: 1200px; margin: 56px auto 0; border-top: 0.5px solid var(--light); padding-top: 40px; }
.bts-heading-light { font-size: 9.5px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 24px; }
.bts-scroll-light { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 12px; scrollbar-width: none; }
.bts-scroll-light::-webkit-scrollbar { display: none; }
.bts-card { flex-shrink: 0; width: 200px; height: 260px; background: var(--light); display: flex; align-items: flex-end; padding: 14px; position: relative; overflow: hidden; }
.bts-card.wide { width: 320px; }
.bts-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bts-card-label { font-size: 9px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-muted); position: relative; z-index: 1; }

/* ── ABOUT ── */
#about { background: var(--accent); color: var(--white); }
.about-layout { display: grid; grid-template-columns: 1fr 2fr; gap: 80px; max-width: 1200px; margin: 0 auto; align-items: start; }
#about .section-label { color: rgba(255,255,255,0.35); }
#about .section-label::after { background: rgba(255,255,255,0.2); }
#about .section-title { color: var(--white); }
.about-portrait { aspect-ratio: 3/4; background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.about-portrait img { width: 100%; height: 100%; object-fit: cover; }
.about-portrait-ph { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.3); text-align: center; line-height: 1.8; }
.about-body p { font-size: 15px; line-height: 2; color: rgba(255,255,255,0.7); margin-bottom: 24px; font-weight: 300; }
.about-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 32px; margin-top: 48px; border-top: 0.5px solid rgba(255,255,255,0.15); padding-top: 40px; }
.stat-number { font-family: var(--serif); font-size: 42px; font-weight: 300; color: var(--white); line-height: 1; }
.stat-label { font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-top: 8px; }

/* ── CONTACT ── */
#contact { background: var(--off-white); }
.contact-layout { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.contact-intro p { font-size: 15px; line-height: 1.85; color: var(--text-muted); margin-bottom: 40px; font-weight: 300; }
.contact-links { display: flex; flex-direction: column; gap: 16px; }
.contact-link { display: flex; align-items: center; gap: 16px; text-decoration: none; color: var(--text); font-size: 13px; letter-spacing: 0.1em; padding-bottom: 16px; border-bottom: 0.5px solid var(--light); transition: color 0.2s; }
.contact-link:hover { color: var(--text-muted); }
.contact-link span { font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-muted); min-width: 70px; }
.contact-form { display: flex; flex-direction: column; gap: 0; }
.form-field { display: flex; flex-direction: column; border-bottom: 0.5px solid var(--light); padding: 20px 0; }
.form-field label { font-size: 9.5px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 10px; }
.form-field input, .form-field textarea, .form-field select { background: none; border: none; outline: none; font-family: var(--sans); font-size: 14px; color: var(--text); font-weight: 300; resize: none; -webkit-appearance: none; }
.form-field textarea { min-height: 100px; }
.form-field input::placeholder, .form-field textarea::placeholder { color: var(--mid); }
.submit-btn { margin-top: 32px; align-self: flex-start; font-family: var(--sans); font-size: 10.5px; letter-spacing: 0.22em; text-transform: uppercase; padding: 14px 36px; background: var(--accent); color: var(--white); border: none; cursor: pointer; transition: opacity 0.2s; }
.submit-btn:hover { opacity: 0.75; }

/* ── CLIENT LOGOS ── */
#clients { background: var(--off-white); border-top: 0.5px solid var(--light); padding: 64px 48px; }
.clients-label { font-size: 9.5px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--text-muted); text-align: center; margin-bottom: 48px; }
.logos-row { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; max-width: 900px; margin: 0 auto; }
.logo-item { padding: 20px 40px; display: flex; flex-direction: column; align-items: center; gap: 6px; border-right: 0.5px solid var(--light); transition: opacity 0.2s; }
.logo-item:last-child { border-right: none; }
.logo-item:hover { opacity: 0.6; }
.logo-wordmark { font-family: var(--serif); font-size: 18px; font-weight: 400; letter-spacing: 0.12em; color: var(--text); white-space: nowrap; }
.logo-sub { font-size: 8.5px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--text-muted); }

/* ── FOOTER ── */
footer { background: var(--white); border-top: 0.5px solid var(--light); padding: 36px 48px; display: flex; align-items: center; justify-content: space-between; }
.footer-logo { font-family: var(--serif); font-size: 16px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); text-decoration: none; }
.footer-copy { font-size: 11px; color: var(--text-muted); letter-spacing: 0.08em; }
.footer-socials { display: flex; gap: 20px; }
.footer-socials a { font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-muted); text-decoration: none; transition: color 0.2s; }
.footer-socials a:hover { color: var(--accent); }

/* ── LIGHTBOX ── */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(26,25,22,0.95); display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity 0.3s; }
.lightbox.open { opacity: 1; pointer-events: all; }
.lightbox img { max-width: 90vw; max-height: 90vh; object-fit: contain; }
.lightbox-close { position: absolute; top: 24px; right: 32px; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.5); background: none; border: none; cursor: pointer; transition: color 0.2s; }
.lightbox-close:hover { color: var(--white); }

/* ── ARABIC / RTL ── */
html[dir="rtl"] body { font-family: 'Cairo', 'Amiri', sans-serif; }
html[dir="rtl"] .section-title,
html[dir="rtl"] .hero-name,
html[dir="rtl"] .prod-title,
html[dir="rtl"] .stat-number { font-family: 'Amiri', serif; }
html[dir="rtl"] nav { direction: rtl; }
html[dir="rtl"] .section-label::after { margin-left: 0; margin-right: auto; }
html[dir="rtl"] .nav-links { direction: rtl; }
html[dir="rtl"] .prod-credit-row { direction: rtl; }
html[dir="rtl"] .prod-meta { direction: rtl; }

/* ── SCROLL FADE-IN ── */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  section { padding: 72px 24px; }
  nav { padding: 0 24px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-links.open { display: flex; flex-direction: column; position: fixed; inset: var(--nav-h) 0 0 0; background: var(--white); padding: 40px 24px; gap: 28px; border-top: 0.5px solid var(--light); }
  .nav-links.open a { font-size: 14px; }
  .cinema-layout, .about-layout, .contact-layout { grid-template-columns: 1fr; gap: 40px; }
  .photo-grid { grid-template-columns: repeat(2,1fr); }
  .photo-item.wide { grid-column: span 2; }
  .about-stats { grid-template-columns: repeat(2,1fr); }
  #credential-strip { padding: 20px 24px; }
  .cred-name { font-size: 12px; padding: 0 16px; }
  .productions-layout { grid-template-columns: 1fr; gap: 40px; }
  .logo-item { padding: 16px 24px; }
  .logo-wordmark { font-size: 14px; }
  footer { flex-direction: column; gap: 20px; text-align: center; }
}

/* ══════════════════════════════════════════════════════════
   ALBUM PAGES
   ══════════════════════════════════════════════════════════ */

/* ── COVER ── */
.album-cover {
  height: 100vh; min-height: 560px;
  position: relative; overflow: hidden;
  display: flex; align-items: flex-end;
  background: #0e0d0b;
}

/* Background image via CSS variable */
.album-cover[style*="--cover"]::before {
  content: '';
  position: absolute; inset: 0;
  background-image: var(--cover);
  background-size: cover; background-position: center;
  transform: scale(1.04);
  transition: transform 8s ease;
}
.album-cover:hover::before { transform: scale(1); }

/* Dark gradient overlay */
.album-cover::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(
    to top,
    rgba(10,9,8,0.92) 0%,
    rgba(10,9,8,0.5)  40%,
    rgba(10,9,8,0.15) 100%
  );
  z-index: 1;
}

.album-cover-placeholder {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #1a1916 0%, #0e0d0b 100%);
}

.album-cover-inner {
  position: relative; z-index: 2;
  padding: 0 64px 72px;
  max-width: 900px;
}

.album-back {
  display: inline-block;
  font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase;
  color: rgba(255,255,255,0.4); text-decoration: none;
  margin-bottom: 32px;
  transition: color 0.2s;
  opacity: 0; animation: fadeUp 0.8s 0.2s forwards;
}
.album-back:hover { color: rgba(255,255,255,0.8); }

.album-cover-label {
  font-size: 10px; letter-spacing: 0.32em; text-transform: uppercase;
  color: rgba(255,255,255,0.35); margin-bottom: 16px;
  opacity: 0; animation: fadeUp 0.8s 0.3s forwards;
}

.album-cover-title {
  font-family: var(--serif);
  font-size: clamp(56px, 9vw, 120px);
  font-weight: 300; letter-spacing: 0.06em; line-height: 1;
  color: rgba(255,255,255,0.95); text-transform: uppercase;
  opacity: 0; animation: fadeUp 1s 0.4s cubic-bezier(0.16,1,0.3,1) forwards;
  margin-bottom: 20px;
}

.album-cover-desc {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(14px,1.6vw,18px); font-weight: 300;
  color: rgba(255,255,255,0.45); letter-spacing: 0.04em;
  opacity: 0; animation: fadeUp 0.8s 0.55s forwards;
  margin-bottom: 24px; max-width: 520px; line-height: 1.6;
}

.album-cover-count {
  font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase;
  color: rgba(255,255,255,0.28);
  opacity: 0; animation: fadeUp 0.8s 0.65s forwards;
}

/* ── ALBUM BODY ── */
.album-body {
  background: var(--white);
  padding: 64px 48px 100px;
}

/* ── MASONRY GRID ── */
.masonry-grid {
  columns: 3;
  column-gap: 3px;
  max-width: 1400px;
  margin: 0 auto;
}

.masonry-item {
  break-inside: avoid;
  margin-bottom: 3px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: var(--light);
}

.masonry-item img {
  width: 100%;
  display: block;
  transition: transform 0.7s cubic-bezier(0.25,0.46,0.45,0.94);
}
.masonry-item:hover img { transform: scale(1.04); }

.masonry-overlay {
  position: absolute; inset: 0;
  background: rgba(14,13,11,0);
  display: flex; align-items: flex-end;
  padding: 20px;
  transition: background 0.3s;
}
.masonry-item:hover .masonry-overlay { background: rgba(14,13,11,0.4); }

.masonry-overlay-label {
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--white); opacity: 0; transform: translateY(8px);
  transition: all 0.3s;
}
.masonry-item:hover .masonry-overlay-label { opacity: 1; transform: translateY(0); }

.masonry-placeholder {
  width: 100%; aspect-ratio: 4/5;
  background: var(--light);
  display: flex; align-items: flex-end; padding: 20px;
}
.masonry-placeholder span {
  font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--text-muted);
}

/* Empty state */
.album-empty {
  grid-column: 1/-1; text-align: center;
  padding: 80px 0; color: var(--text-muted);
  font-size: 13px; letter-spacing: 0.08em;
}

/* ── ALBUM LIGHTBOX (with prev/next) ── */
.lightbox-prev, .lightbox-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: none; border: none; cursor: pointer;
  font-size: 32px; color: rgba(255,255,255,0.4);
  padding: 20px; transition: color 0.2s; z-index: 1;
}
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }
.lightbox-prev:hover, .lightbox-next:hover { color: rgba(255,255,255,0.9); }

/* ── ALBUM RESPONSIVE ── */
@media (max-width: 900px) {
  .masonry-grid { columns: 2; }
  .album-cover-inner { padding: 0 24px 56px; }
}
@media (max-width: 560px) {
  .masonry-grid { columns: 1; }
  .album-body { padding: 40px 16px 72px; }
}

/* ── CATEGORY LINKS on main page (make tabs clickable to album) ── */
.cat-btn[data-href] { cursor: pointer; }

/* ── CAT-BTN AS LINK FIX ── */
a.cat-btn {
  display: inline-block;
  text-decoration: none;
}

/* ── PHOTO ITEM CURSOR ── */
.photo-item { cursor: pointer; }

/* ── ELEMENTOR COMPATIBILITY ── */
.elementor-section { position: relative; }
.elementor-widget-wrap { width: 100%; }

/* Prevent Elementor from breaking nav */
.elementor nav, .elementor #mainNav { position: fixed !important; }

/* Elementor full-width support */
.elementor-section.elementor-section-full_width { max-width: 100%; }

/* When Elementor adds pages, keep our font/color vars */
.elementor, .elementor * {
  --e-global-color-primary: var(--accent);
  --e-global-color-text: var(--text);
  --e-global-typography-primary-font-family: 'Cormorant Garamond';
  --e-global-typography-text-font-family: 'Jost';
}

/* ── SEE MORE / PHOTO EXTRA ── */
/* removed .photo-extra rule */

.see-more-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 56px 0 16px;
  max-width: 1200px;
  margin: 0 auto;
  gap: 0;
}

.see-more-btn {
  /* Reset all browser button defaults */
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: none !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0;
  /* Custom styles */
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 300;
  font-style: italic;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  transition: color 0.3s;
  line-height: 1;
}
.see-more-btn:hover { color: var(--accent); }
.see-more-btn:focus { outline: none; }

.see-more-line {
  display: block;
  width: 0.5px;
  height: 44px;
  background: linear-gradient(to bottom, var(--mid), transparent);
  transition: height 0.3s, transform 0.4s;
  transform-origin: top;
}
.see-more-btn:hover .see-more-line { height: 60px; }
.see-more-btn.expanded .see-more-line { transform: scaleY(-1); transform-origin: bottom; }
