/* ============================================================
   KADOSHI PHOTOGRAPHY — Main Stylesheet
   Dark cinematic theme with gold accents
   ============================================================ */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --black:       #0a0a0a;
  --dark:        #111111;
  --dark-2:      #1a1a1a;
  --dark-3:      #242424;
  --gold:        #c9a96e;
  --gold-light:  #e8c98a;
  --gold-dark:   #a0793f;
  --white:       #f5f0e8;
  --white-dim:   rgba(245, 240, 232, 0.7);
  --white-faint: rgba(245, 240, 232, 0.15);
  --font-serif:  'Cormorant Garamond', Georgia, serif;
  --font-sans:   'Inter', system-ui, sans-serif;
  --font-mono:   'Space Mono', monospace;
  --nav-h:       72px;
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-sans);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
  max-width: 100%;
  cursor: none;
}

a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
button { cursor: none; border: none; background: none; }

/* --- Custom Cursor --- */
.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s;
}

.cursor-dot {
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
  transition: transform 0.1s, background 0.2s;
}

.cursor-ring {
  width: 36px; height: 36px;
  border: 1.5px solid rgba(201, 169, 110, 0.5);
  border-radius: 50%;
  transition: transform 0.15s var(--ease-out), width 0.3s, height 0.3s, border-color 0.3s;
}

body.cursor-hover .cursor-dot  { transform: translate(-50%, -50%) scale(2.5); background: var(--gold-light); }
body.cursor-hover .cursor-ring { width: 60px; height: 60px; border-color: var(--gold); }

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  z-index: 1000;
  transition: background 0.4s, backdrop-filter 0.4s;
}

.nav.scrolled {
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201, 169, 110, 0.1);
}

.nav-logo {
  display: flex;
  align-items: center;
  transition: opacity 0.2s;
}
.nav-logo:hover { opacity: 0.8; }

/* Navbar K monogram */
.nav-logo-img {
  height: 48px;
  width: auto;
  display: block;
  transition: opacity 0.3s;
}
.nav-logo-img--white { display: none; }
.nav-logo-img--gold  { display: block; }

/* Light mode: keep gold K in navbar (reads well on cream bg) */
body.light .nav-logo-img--gold  { display: block; }
body.light .nav-logo-img--white { display: none; }

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

.nav-link {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white-dim);
  transition: color 0.2s;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.3s var(--ease-out);
}

.nav-link:hover { color: var(--white); }
.nav-link:hover::after { width: 100%; }

.nav-link--cta {
  color: var(--gold) !important;
  border: 1px solid var(--gold);
  padding: 8px 20px;
  border-radius: 2px;
  letter-spacing: 0.1em;
  transition: background 0.2s, color 0.2s !important;
}
.nav-link--cta::after { display: none; }
.nav-link--cta:hover {
  background: var(--gold);
  color: var(--black) !important;
}

/* Nav right cluster — always visible */
.nav-right {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 1.5px;
  background: var(--white);
  transition: transform 0.3s, opacity 0.3s;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: all 0.25s var(--ease-out);
  position: relative;
  overflow: hidden;
}

.btn--gold {
  background: var(--gold);
  color: var(--black);
  border: 1px solid var(--gold);
}
.btn--gold:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(201, 169, 110, 0.25);
}

.btn--ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(245, 240, 232, 0.3);
}
.btn--ghost:hover {
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn--full { width: 100%; justify-content: center; }

/* --- Section Shared --- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 40px; }

.section-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 300;
  line-height: 1.15;
  margin-bottom: 60px;
}

.section-title em {
  font-style: italic;
  color: var(--gold);
}

.section-header { text-align: center; }
.section-header .section-title { margin-bottom: 40px; }

/* --- Hero --- */
.hero {
  position: relative;
  height: 100dvh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(201, 169, 110, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(201, 169, 110, 0.04) 0%, transparent 50%),
    linear-gradient(160deg, #1a1208 0%, #0a0a0a 40%, #080c14 100%);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c9a96e' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

.hero-gradient {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 40%;
  background: linear-gradient(to top, var(--black), transparent);
}

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

.hero-tagline {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(4rem, 12vw, 10rem);
  font-weight: 300;
  line-height: 0.9;
  letter-spacing: -0.01em;
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.hero-title--thin {
  font-size: clamp(1.4rem, 4vw, 3rem);
  font-weight: 300;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--white-dim);
}

.hero-sub {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white-dim);
  margin-bottom: 48px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white-dim);
  animation: scrollPulse 2s ease-in-out infinite;
}

.hero-scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--gold), transparent);
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.5; transform: translateX(-50%) translateY(0); }
  50% { opacity: 1; transform: translateX(-50%) translateY(6px); }
}

/* --- Philosophy Strip --- */
.philosophy {
  overflow: hidden;
  border-top: 1px solid rgba(201, 169, 110, 0.15);
  border-bottom: 1px solid rgba(201, 169, 110, 0.15);
  background: var(--dark);
  padding: 18px 0;
}

.philosophy-track {
  display: flex;
  gap: 40px;
  white-space: nowrap;
  animation: marquee 20s linear infinite;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--white-dim);
}

.philosophy-track .dot { color: var(--gold); }

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* --- Gallery / Work --- */
.work {
  padding: 120px 0;
  background: var(--black);
}

.filter-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 60px;
}

.filter-btn {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white-dim);
  border: 1px solid rgba(245, 240, 232, 0.15);
  padding: 8px 18px;
  border-radius: 2px;
  transition: all 0.25s;
}

.filter-btn:hover { border-color: var(--gold); color: var(--gold); }
.filter-btn.active { background: var(--gold); color: var(--black); border-color: var(--gold); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 280px;
  grid-auto-flow: dense;
  gap: 12px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  cursor: none;
}

.gallery-item.tall  { grid-row: span 2; }
.gallery-item.wide  { grid-column: span 2; }

.gallery-item.hidden { display: none; }

/* Placeholder visuals (replace with real <img> later) */
.gallery-placeholder {
  width: 100%; height: 100%;
  background:
    radial-gradient(
      ellipse at 40% 40%,
      hsl(calc(var(--ph-hue) * 1deg), 30%, 18%) 0%,
      hsl(calc(var(--ph-hue) * 1deg), 15%, 8%) 100%
    );
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform 0.6s var(--ease-out);
}

.ph-label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(201, 169, 110, 0.5);
}

.ph-icon { font-size: 2rem; }
.ph-icon.large { font-size: 3.5rem; }

.gallery-item:hover .gallery-placeholder { transform: scale(1.04); }

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 60%);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  opacity: 0;
  transition: opacity 0.35s;
}

.gallery-item:hover .gallery-overlay { opacity: 1; }

.gallery-cat {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}

.gallery-name {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 400;
}

/* --- About --- */
.about {
  padding: 120px 0;
  background: var(--dark);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-photo-wrap { position: relative; margin-bottom: 40px; }

.about-photo-placeholder {
  width: 100%;
  aspect-ratio: 3 / 4;
  background: var(--dark-3);
  border-radius: 2px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--white-dim);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
}

.about-photo-img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center top;
  border-radius: 2px;
  display: block;
}

body.light .about-photo-img { filter: none; }

.about-accent-line {
  position: absolute;
  bottom: -20px; right: -20px;
  width: 80%; height: 80%;
  border: 1px solid rgba(201, 169, 110, 0.2);
  border-radius: 2px;
  z-index: -1;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.stat {
  text-align: center;
  padding: 20px 12px;
  background: var(--dark-2);
  border-radius: 2px;
  border-top: 2px solid var(--gold);
}

.stat-num {
  display: block;
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white-dim);
}

.about-content .section-label { margin-bottom: 16px; }
.about-content .section-title { margin-bottom: 28px; }

.about-text {
  color: var(--white-dim);
  margin-bottom: 20px;
  font-size: 0.95rem;
  line-height: 1.8;
}

.about-text strong { color: var(--white); font-weight: 500; }

/* --- Services --- */
.services {
  padding: 120px 0;
  background: var(--black);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* Centre a lone card in the last row — desktop only */
@media (min-width: 769px) {
  .service-card:last-child:nth-child(3n+1) {
    grid-column: 2 / 3;
  }
}

.service-card {
  background: var(--dark);
  border: 1px solid rgba(245, 240, 232, 0.07);
  border-radius: 2px;
  padding: 40px 32px;
  transition: border-color 0.3s, transform 0.3s var(--ease-out), box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: scaleX(0);
  transition: transform 0.4s var(--ease-out);
}

.service-card:hover {
  border-color: rgba(201, 169, 110, 0.25);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

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

.service-icon {
  font-size: 2rem;
  margin-bottom: 20px;
  display: block;
}

.service-card h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 12px;
}

.service-card p {
  font-size: 0.88rem;
  color: var(--white-dim);
  line-height: 1.7;
  margin-bottom: 24px;
}

.service-tag {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
}

/* --- Testimonials --- */
.testimonials {
  padding: 120px 0;
  background: var(--dark);
  text-align: center;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: left;
}

.testimonial-card {
  background: var(--dark-2);
  border-radius: 2px;
  padding: 36px 32px;
  border: 1px solid rgba(245, 240, 232, 0.06);
  position: relative;
}

.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 16px; left: 20px;
  font-family: var(--font-serif);
  font-size: 5rem;
  color: var(--gold);
  opacity: 0.15;
  line-height: 1;
}

.stars {
  color: var(--gold);
  font-size: 0.85rem;
  letter-spacing: 3px;
  margin-bottom: 20px;
}

.testimonial-text {
  font-size: 0.92rem;
  color: var(--white-dim);
  line-height: 1.75;
  font-style: italic;
  margin-bottom: 20px;
}

.testimonial-author {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
}

/* --- Contact --- */
.contact {
  padding: 120px 0;
  background: var(--black);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-info .section-title { margin-bottom: 24px; }

.contact-text {
  color: var(--white-dim);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 36px;
}

.contact-details { display: flex; flex-direction: column; gap: 16px; margin-bottom: 36px; }

.contact-detail {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.88rem;
  color: var(--white-dim);
}

.contact-icon {
  width: 36px; height: 36px;
  background: var(--dark-2);
  border: 1px solid rgba(201, 169, 110, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.social-links { display: flex; gap: 16px; }

.social-link {
  width: 44px; height: 44px;
  border: 1px solid rgba(245, 240, 232, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white-dim);
  transition: all 0.25s;
}

.social-link:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-3px);
}

/* Contact Form */
.contact-form {
  background: var(--dark);
  border: 1px solid rgba(245, 240, 232, 0.07);
  border-radius: 4px;
  padding: 48px 40px;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.form-group { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }

.form-group label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--dark-2);
  border: 1px solid rgba(245, 240, 232, 0.1);
  border-radius: 2px;
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 300;
  padding: 12px 16px;
  width: 100%;
  transition: border-color 0.25s;
  appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(245, 240, 232, 0.3); }

.form-group select option { background: var(--dark-2); }

.form-group textarea { resize: vertical; min-height: 120px; }

.form-note {
  text-align: center;
  font-size: 0.72rem;
  color: var(--white-dim);
  margin-top: 14px;
  font-style: italic;
}

/* Input date color fix */
input[type="date"]::-webkit-calendar-picker-indicator { filter: invert(0.7) sepia(1) saturate(2) hue-rotate(10deg); }

/* --- Footer --- */
.footer {
  background: var(--dark);
  border-top: 1px solid rgba(201, 169, 110, 0.1);
  padding: 36px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-logo {
  display: flex;
  align-items: center;
}

/* Footer full logo */
.footer-logo-img {
  height: 80px;
  width: auto;
  display: block;
}
.footer-logo-img--gold  { display: none; }
.footer-logo-img--white { display: block; }

body.light .footer-logo-img--white { display: none; }
body.light .footer-logo-img--gold  { display: block; }

.footer-copy {
  font-size: 0.75rem;
  color: var(--white-dim);
}

.footer-nav {
  display: flex;
  gap: 24px;
}

.footer-nav a {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white-dim);
  transition: color 0.2s;
}

.footer-nav a:hover { color: var(--gold); }

/* --- Lightbox --- */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.96);
  z-index: 2000;
  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-content {
  max-width: 90vw;
  max-height: 85vh;
  position: relative;
}

.lightbox-img {
  max-width: min(900px, 90vw);
  max-height: 82vh;
  object-fit: contain;
  border-radius: 2px;
  display: block;
}

.lightbox-content .gallery-placeholder {
  width: min(800px, 85vw);
  aspect-ratio: 4/3;
  border-radius: 4px;
}

.lightbox-close {
  position: absolute;
  top: 24px; right: 32px;
  font-size: 2.5rem;
  color: var(--white-dim);
  transition: color 0.2s;
  z-index: 10;
  line-height: 1;
}
.lightbox-close:hover { color: var(--gold); }

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.8rem;
  color: var(--white-dim);
  padding: 20px;
  transition: color 0.2s, transform 0.2s;
}
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }
.lightbox-nav:hover { color: var(--gold); transform: translateY(-50%) scale(1.1); }

.lightbox-info {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
}

.lightbox-info .gallery-cat  { margin-bottom: 4px; }
.lightbox-info .gallery-name { font-family: var(--font-serif); font-size: 1.6rem; margin-bottom: 12px; }
.lightbox-info .gallery-story {
  font-size: 0.82rem;
  color: rgba(245, 240, 232, 0.65);
  line-height: 1.75;
  font-style: italic;
  max-width: 560px;
  margin: 0 auto;
}

/* --- Reveal Animations --- */
.reveal-up, .reveal-left, .reveal-right, .reveal-item {
  opacity: 0;
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal-up    { transform: translateY(40px); }
.reveal-left  { transform: translateX(-50px); }
.reveal-right { transform: translateX(50px); }
.reveal-item  { transform: translateY(30px); }

.revealed {
  opacity: 1 !important;
  transform: none !important;
}

/* --- Scroll to Top --- */
.scroll-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(201, 169, 110, 0.4);
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(8px);
  color: var(--gold);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 900;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.3s, transform 0.3s, border-color 0.2s;
  pointer-events: none;
}
.scroll-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.scroll-top:hover { border-color: var(--gold); background: rgba(201, 169, 110, 0.12); }
body.light .scroll-top { background: rgba(250, 248, 244, 0.9); }

/* --- Responsive --- */
@media (max-width: 1024px) {
  .gallery-grid      { grid-template-columns: repeat(2, 1fr); }
  .gallery-item.wide { grid-column: span 2; }
  .services-grid     { grid-template-columns: repeat(2, 1fr); }
  .testimonial-grid  { grid-template-columns: 1fr 1fr; }
  .testimonial-grid .testimonial-card:last-child { grid-column: span 2; }
  .about-grid        { gap: 48px; }
  .contact-grid      { gap: 48px; }
}

@media (max-width: 768px) {
  :root { --nav-h: 60px; }
  body, button, a { cursor: auto; }
  .cursor-dot, .cursor-ring { display: none; }

  /* Nav */
  .nav { padding: 0 20px; }
  .nav-right { gap: 6px; }
  .nav-toggle { display: flex; }
  .nav-logo-img { height: 38px; }

  .nav-links {
    position: fixed;
    top: var(--nav-h); left: 0; right: 0;
    background: rgba(10,10,10,0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    list-style: none;
    gap: 0;
    padding: 16px 0 24px;
    transform: translateY(-110%);
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.4s var(--ease-out), visibility 0s 0.4s;
    z-index: 999;
  }
  .nav-links.open {
    transform: translateY(0);
    visibility: visible;
    pointer-events: auto;
    transition: transform 0.4s var(--ease-out), visibility 0s 0s;
  }
  .nav-links li { width: 100%; }
  .nav-link {
    display: block;
    padding: 14px 24px;
    font-size: 0.9rem;
  }
  .nav-link--cta {
    margin: 12px 24px;
    display: block;
    text-align: center;
  }

  /* Hero */
  .hero-title { font-size: clamp(2.8rem, 13vw, 5rem); }
  .hero-sub   { font-size: 0.62rem; letter-spacing: 0.1em; padding: 0 12px; }
  .hero-actions { gap: 12px; }

  /* Filter tabs — wrap into rows on mobile */
  .filter-tabs {
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    overflow-x: unset;
  }
  .filter-btn { font-size: 0.7rem; padding: 6px 14px; }

  /* Gallery */
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 180px;
  }
  .gallery-item.wide, .gallery-item.tall { grid-column: span 1; grid-row: span 1; }

  /* About */
  .about-grid     { grid-template-columns: 1fr; gap: 40px; }
  .about-visual   { order: 2; }
  .about-content  { order: 1; }
  .about-stats    { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .stat           { padding: 14px 8px; }
  .stat-num       { font-size: 1.6rem; }
  .stat-label     { font-size: 0.55rem; }
  .about-photo-img { aspect-ratio: auto; height: auto; max-height: none; }

  /* Services — 2 cards per row on mobile */
  .services-grid  { grid-template-columns: 1fr 1fr; gap: 12px; }
  .service-card   { padding: 20px 16px; }
  .service-card h3 { font-size: 1.15rem; }
  .service-card p  { font-size: 0.8rem; margin-bottom: 16px; }
  .service-icon    { font-size: 1.5rem; margin-bottom: 12px; }

  /* Lightbox — column layout, info below image */
  .lightbox {
    flex-direction: column;
    justify-content: flex-start;
    overflow-y: auto;
    padding: 52px 0 24px;
  }
  .lightbox-content { max-width: 100vw; max-height: none; }
  .lightbox-img { max-width: 96vw; max-height: 56vh; }
  .lightbox-info {
    position: static;
    transform: none;
    left: auto;
    bottom: auto;
    padding: 16px 20px 4px;
    width: 100%;
  }
  .lightbox-nav { top: auto; bottom: 8px; transform: none; }
  .lightbox-nav:hover { transform: none; }
  .lightbox-prev { left: 20px; }
  .lightbox-next { right: 20px; }

  /* Testimonials */
  .testimonial-grid  { grid-template-columns: 1fr; }
  .testimonial-grid .testimonial-card:last-child { grid-column: span 1; }

  /* Contact */
  .contact-grid   { grid-template-columns: 1fr; gap: 40px; }
  .form-row       { grid-template-columns: 1fr; }
  .contact-form   { padding: 28px 20px; }

  /* Scroll to top */
  .scroll-top { bottom: 20px; right: 20px; width: 40px; height: 40px; }

  /* Footer */
  .footer-inner   { flex-direction: column; align-items: center; text-align: center; gap: 16px; }
  .footer-nav     { justify-content: center; flex-wrap: wrap; gap: 16px; }
  .footer-logo-img { height: 60px; }

  /* Spacing */
  .container { padding: 0 16px; }
  .work, .about, .services, .testimonials, .contact { padding: 64px 0; }
  .section-title  { font-size: clamp(1.8rem, 7vw, 2.8rem); margin-bottom: 40px; }
}

@media (max-width: 480px) {
  /* Gallery — keep 2 columns on small screens, shorter rows */
  .gallery-grid   { grid-template-columns: 1fr 1fr; grid-auto-rows: 140px; }

  /* Hero */
  .hero-title     { font-size: clamp(2.4rem, 15vw, 4rem); }
  .hero-actions   { flex-direction: column; align-items: center; width: 100%; }
  .hero-actions .btn { width: 100%; justify-content: center; }

  /* About stats — stack on very small */
  .about-stats    { grid-template-columns: 1fr; gap: 10px; }
  .stat           { padding: 16px; }

  /* Nav logo smaller */
  .nav-logo-img   { height: 32px; }

  /* Sections tighter */
  .work, .about, .services, .testimonials, .contact { padding: 48px 0; }
  .contact-form   { padding: 24px 16px; }
  .footer-logo-img { height: 50px; }
}

/* ============================================================
   THEME TOGGLE BUTTON
   ============================================================ */
.theme-toggle {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(201, 169, 110, 0.35);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  color: var(--gold);
  transition: border-color 0.25s, background 0.25s, transform 0.25s;
  flex-shrink: 0;
}
.theme-toggle:hover { border-color: var(--gold); transform: rotate(20deg); }

.theme-toggle-icon { line-height: 1; transition: opacity 0.2s; }
.theme-toggle-icon--light { display: none; }

body.light .theme-toggle-icon--dark  { display: none; }
body.light .theme-toggle-icon--light { display: block; }

/* ============================================================
   LIGHT THEME  (white + gold)
   ============================================================ */
body {
  transition: background 0.4s, color 0.4s;
}

body.light {
  background: #faf8f4;
  color: #1c1a17;
}

/* Nav */
body.light .nav.scrolled {
  background: rgba(250, 248, 244, 0.95);
  border-bottom-color: rgba(201, 169, 110, 0.2);
}
body.light .nav-link          { color: rgba(28, 26, 23, 0.65); }
body.light .nav-link:hover    { color: #1c1a17; }
body.light .nav-link--cta     { color: var(--gold) !important; }

/* Mobile nav panel — light mode */
@media (max-width: 768px) {
  body.light .nav-links { background: rgba(250, 248, 244, 0.98); }
  body.light .nav-toggle span { background: #1c1a17; }
}

/* Hero — light feels editorial/clean */
body.light .hero-bg {
  background:
    radial-gradient(ellipse at 30% 50%, rgba(201, 169, 110, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(201, 169, 110, 0.06) 0%, transparent 50%),
    linear-gradient(160deg, #f5ede0 0%, #faf8f4 40%, #f0f2f8 100%);
}
body.light .hero-overlay { opacity: 0.15; }
body.light .hero-gradient { background: linear-gradient(to top, #faf8f4, transparent); }
body.light .hero-title    { color: #1c1a17; }
body.light .hero-tagline  { color: var(--gold-dark); }
body.light .hero-sub      { color: rgba(28, 26, 23, 0.55); }
body.light .hero-scroll   { color: rgba(28, 26, 23, 0.45); }

/* Btn ghost in light mode */
body.light .btn--ghost {
  color: #1c1a17;
  border-color: rgba(28, 26, 23, 0.3);
}
body.light .btn--ghost:hover { border-color: #1c1a17; }

/* Philosophy strip */
body.light .philosophy {
  background: #f0ebe1;
  border-color: rgba(201, 169, 110, 0.25);
}
body.light .philosophy-track { color: rgba(28, 26, 23, 0.55); }

/* Work / Gallery */
body.light .work { background: #faf8f4; }
body.light .filter-btn {
  color: rgba(28, 26, 23, 0.55);
  border-color: rgba(28, 26, 23, 0.15);
}
body.light .filter-btn:hover  { border-color: var(--gold-dark); color: var(--gold-dark); }
body.light .filter-btn.active { background: var(--gold-dark); border-color: var(--gold-dark); color: #fff; }

body.light .gallery-placeholder {
  background: radial-gradient(
    ellipse at 40% 40%,
    hsl(calc(var(--ph-hue) * 1deg), 25%, 88%) 0%,
    hsl(calc(var(--ph-hue) * 1deg), 15%, 78%) 100%
  );
}
body.light .ph-label { color: rgba(28, 26, 23, 0.45); }
body.light .gallery-name { color: #faf8f4; }

/* About */
body.light .about { background: #f0ebe1; }
body.light .about-photo-placeholder {
  background: #e2d9cc;
  color: rgba(28, 26, 23, 0.55);
}
body.light .about-accent-line { border-color: rgba(201, 169, 110, 0.3); }
body.light .stat { background: #faf8f4; border-top-color: var(--gold-dark); }
body.light .stat-label { color: rgba(28, 26, 23, 0.55); }
body.light .about-text { color: rgba(28, 26, 23, 0.7); }
body.light .about-text strong { color: #1c1a17; }

/* Services */
body.light .services { background: #faf8f4; }
body.light .service-card {
  background: #fff;
  border-color: rgba(28, 26, 23, 0.08);
}
body.light .service-card:hover {
  border-color: rgba(201, 169, 110, 0.4);
  box-shadow: 0 20px 60px rgba(201, 169, 110, 0.12);
}
body.light .service-card p { color: rgba(28, 26, 23, 0.65); }

/* Testimonials */
body.light .testimonials { background: #f0ebe1; }
body.light .testimonial-card {
  background: #fff;
  border-color: rgba(28, 26, 23, 0.07);
}
body.light .testimonial-card::before { color: var(--gold); opacity: 0.2; }
body.light .testimonial-text { color: rgba(28, 26, 23, 0.65); }

/* Contact */
body.light .contact { background: #faf8f4; }
body.light .contact-text { color: rgba(28, 26, 23, 0.65); }
body.light .contact-detail { color: rgba(28, 26, 23, 0.65); }
body.light .contact-icon {
  background: #f0ebe1;
  border-color: rgba(201, 169, 110, 0.3);
}
body.light .social-link {
  border-color: rgba(28, 26, 23, 0.15);
  color: rgba(28, 26, 23, 0.55);
}
body.light .social-link:hover { border-color: var(--gold-dark); color: var(--gold-dark); }

body.light .contact-form {
  background: #fff;
  border-color: rgba(28, 26, 23, 0.08);
  box-shadow: 0 8px 40px rgba(28, 26, 23, 0.06);
}
body.light .form-group input,
body.light .form-group select,
body.light .form-group textarea {
  background: #faf8f4;
  border-color: rgba(28, 26, 23, 0.15);
  color: #1c1a17;
}
body.light .form-group input:focus,
body.light .form-group select:focus,
body.light .form-group textarea:focus { border-color: var(--gold-dark); }
body.light .form-group input::placeholder,
body.light .form-group textarea::placeholder { color: rgba(28, 26, 23, 0.3); }
body.light .form-group select option { background: #faf8f4; color: #1c1a17; }
body.light .form-note { color: rgba(28, 26, 23, 0.5); }
body.light input[type="date"]::-webkit-calendar-picker-indicator { filter: none; opacity: 0.5; }

/* Footer */
body.light .footer {
  background: #f0ebe1;
  border-top-color: rgba(201, 169, 110, 0.2);
}
body.light .footer-copy  { color: rgba(28, 26, 23, 0.5); }
body.light .footer-nav a { color: rgba(28, 26, 23, 0.5); }

/* Section labels & titles in light */
body.light .section-label { color: var(--gold-dark); }

/* Cursor ring in light */
body.light .cursor-ring { border-color: rgba(160, 121, 63, 0.4); }
