/* ============================================
   PHOTOS BY KYLE — Global Stylesheet
   ============================================ */

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

:root {
  --cream: #F5F0E8;
  --warm-white: #FAF7F2;
  --charcoal: #1A1814;
  --warm-grey: #7A7570;
  --gold: #C4A35A;
  --gold-light: #D4B87A;
  --dark-surface: #141210;
  --font-serif: 'Cormorant Garamond', serif;
  --font-sans: 'DM Sans', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--charcoal);
  color: var(--cream);
  cursor: none;
  overflow-x: hidden;
}

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

/* ---- Custom Cursor ---- */
.cursor {
  position: fixed;
  width: 10px; height: 10px;
  background: var(--gold);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: 0.2 ease;
}
.cursor-ring {
  opacity: 0.5;
  position: fixed;
  width: 36px; height: 36px;
  border: 1px solid rgba(196, 163, 90, 0.5);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: width 0.2s ease, height 0.2s ease, border-color 0.2s ease;
}

/* ---- Navigation ---- */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 28px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: padding 0.4s ease, background 0.4s ease;
}
nav.scrolled {
  background: rgba(20,18,16,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 18px 48px;
}
nav::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(20,18,16,0.8) 0%, transparent 100%);
  pointer-events: none;
  transition: opacity 0.4s;
}
nav.scrolled::before { opacity: 0; }

.nav-logo {
  position: relative;
  z-index: 1;
  text-decoration: none;
}
.nav-logo .name {
  display: block;
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 300;
  letter-spacing: 0.15em;
  color: var(--cream);
  text-transform: uppercase;
}
.nav-logo .subtitle {
  display: block;
  font-size: 9px;
  letter-spacing: 0.3em;
  color: var(--gold);
  text-transform: uppercase;
  font-weight: 400;
  margin-top: 2px;
}

.nav-links {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 40px;
  list-style: none;
}
.nav-links a {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(245, 240, 232, 0.65);
  text-decoration: none;
  font-weight: 400;
  transition: color 0.3s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.3s ease;
}
.nav-links a:hover,
.nav-links a.active { color: var(--cream); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.nav-cta {
  position: relative;
  z-index: 1;
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--charcoal);
  background: var(--gold);
  padding: 10px 24px;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.3s, transform 0.2s;
}
.nav-cta:hover { background: var(--gold-light); transform: translateY(-1px); }

/* Hamburger (mobile) */
.nav-hamburger {
  display: none;
  position: relative;
  z-index: 1;
  flex-direction: column;
  gap: 5px;
  cursor: none;
  background: none;
  border: none;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 24px; height: 1px;
  background: var(--cream);
  transition: all 0.3s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.nav-mobile {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--dark-surface);
  z-index: 99;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 300;
  letter-spacing: 0.1em;
  color: var(--cream);
  text-decoration: none;
  transition: color 0.3s;
}
.nav-mobile a:hover { color: var(--gold); }

/* ---- Marquee ---- */
.marquee-wrap {
  background: var(--gold);
  padding: 14px 0;
  overflow: hidden;
  white-space: nowrap;
}
.marquee-track {
  display: inline-flex;
  animation: marquee 24s linear infinite;
}
.marquee-item {
  font-size: 10px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--charcoal);
  font-weight: 500;
  padding: 0 40px;
}
.marquee-dot { color: rgba(26,24,20,0.35); }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---- Buttons ---- */
.btn-primary {
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--charcoal);
  background: var(--gold);
  padding: 16px 36px;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.3s, transform 0.2s;
  display: inline-block;
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-1px); }

.btn-ghost {
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(245, 240, 232, 0.6);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: color 0.3s, gap 0.3s;
}
.btn-ghost::after { content: '→'; transition: transform 0.3s; }
.btn-ghost:hover { color: var(--cream); }
.btn-ghost:hover::after { transform: translateX(4px); }

.btn-ghost-dark {
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(26, 24, 20, 0.55);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: color 0.3s;
}
.btn-ghost-dark::after { content: '→'; transition: transform 0.3s; }
.btn-ghost-dark:hover { color: var(--charcoal); }
.btn-ghost-dark:hover::after { transform: translateX(4px); }

/* ---- Section helpers ---- */
.section-label {
  font-size: 9px;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 400;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}
.section-label::before {
  content: '';
  width: 32px; height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}
.section-label.centered { justify-content: center; }
.section-label.centered::before { display: none; }

/* ---- Scroll Reveal ---- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.85s ease, transform 0.85s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.3s; }
.reveal-delay-3 { transition-delay: 0.45s; }
.reveal-delay-4 { transition-delay: 0.6s; }

/* ---- Page Hero (inner pages) ---- */
.page-hero {
  height: 52vh;
  min-height: 380px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 48px 64px;
  overflow: hidden;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
}
.page-hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  animation: subtle-zoom 10s ease-out forwards;
}
@keyframes subtle-zoom {
  to { transform: scale(1); }
}
.page-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20,18,16,0.85) 0%, rgba(20,18,16,0.3) 60%, transparent 100%);
}
.page-hero-content {
  position: relative;
  z-index: 1;
}
.page-hero-eyebrow {
  font-size: 10px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  opacity: 0;
  animation: fade-up 0.7s 0.2s ease forwards;
}
.page-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(44px, 6vw, 88px);
  font-weight: 300;
  line-height: 1.0;
  color: var(--cream);
  opacity: 0;
  animation: fade-up 0.7s 0.4s ease forwards;
}
.page-hero h1 em {
  font-style: italic;
  color: var(--gold-light);
}

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

/* ---- Footer ---- */
footer {
  padding: 48px;
  background: var(--charcoal);
  border-top: 1px solid rgba(245, 240, 232, 0.06);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}
.footer-logo .name {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 300;
  letter-spacing: 0.12em;
  color: var(--cream);
  text-transform: uppercase;
  text-decoration: none;
  display: block;
}
.footer-logo .subtitle {
  font-size: 9px;
  letter-spacing: 0.3em;
  color: var(--gold);
  text-transform: uppercase;
  margin-top: 3px;
}
.footer-nav {
  display: flex;
  gap: 32px;
  list-style: none;
}
.footer-nav a {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(245, 240, 232, 0.4);
  text-decoration: none;
  transition: color 0.3s;
}
.footer-nav a:hover { color: var(--gold); }
.footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}
.footer-social {
  display: flex;
  gap: 24px;
}
.footer-social a {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(245, 240, 232, 0.4);
  text-decoration: none;
  transition: color 0.3s;
}
.footer-social a:hover { color: var(--gold); }
.footer-copy {
  font-size: 10px;
  color: rgba(245, 240, 232, 0.2);
  letter-spacing: 0.05em;
}
.footer-location {
  font-size: 10px;
  letter-spacing: 0.15em;
  color: rgba(245, 240, 232, 0.25);
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer-location::before {
  content: '◎';
  color: var(--gold);
  opacity: 0.6;
}

/* ---- Portfolio Grid ---- */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 4px;
}
.grid-item {
  position: relative;
  overflow: hidden;
  background: #1a1814;
}
.grid-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.grid-item:hover img { transform: scale(1.05); }
.grid-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20,18,16,0.85) 0%, transparent 55%);
  opacity: 0;
  transition: opacity 0.4s ease;
  display: flex;
  align-items: flex-end;
  padding: 24px;
}
.grid-item:hover .grid-overlay { opacity: 1; }
.grid-label {
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--cream);
}

/* ---- Stats Bar ---- */
.stats-bar {
  background: var(--gold);
  padding: 20px 48px;
  display: flex;
  justify-content: center;
  gap: 80px;
  flex-wrap: wrap;
}
.stat { display: flex; align-items: center; gap: 16px; color: var(--charcoal); }
.stat-number {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 600;
  line-height: 1;
}
.stat-label {
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 500;
  opacity: 0.65;
  max-width: 90px;
  line-height: 1.4;
}
.stat-divider { width: 1px; height: 32px; background: rgba(26,24,20,0.2); }

/* ---- Lightbox ---- */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(20,18,16,0.97);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
}
.lightbox-close {
  position: absolute;
  top: 32px; right: 40px;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(245,240,232,0.5);
  cursor: none;
  background: none;
  border: none;
  transition: color 0.3s;
}
.lightbox-close:hover { color: var(--gold); }
.lightbox-prev, .lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: 1px solid rgba(196,163,90,0.25);
  color: rgba(245,240,232,0.5);
  font-size: 18px;
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  cursor: none;
  transition: all 0.3s;
}
.lightbox-prev { left: 32px; }
.lightbox-next { right: 32px; }
.lightbox-prev:hover, .lightbox-next:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.lightbox-caption {
  position: absolute;
  bottom: 32px;
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(245,240,232,0.35);
}

/* ---- Testimonial ---- */
.testimonial-section {
  padding: 120px 48px;
  background: var(--charcoal);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.testimonial-section::before {
  content: '"';
  position: absolute;
  top: -80px; left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-serif);
  font-size: 400px;
  color: rgba(196, 163, 90, 0.04);
  line-height: 1;
  pointer-events: none;
  font-weight: 600;
}
.testimonial-quote {
  font-family: var(--font-serif);
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 300;
  font-style: italic;
  color: var(--cream);
  line-height: 1.55;
  max-width: 820px;
  margin: 0 auto 48px;
  position: relative;
}
.testimonial-author {
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ---- Contact Form ---- */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-group label {
  font-size: 9px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: rgba(245,240,232,0.45);
}
.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(245,240,232,0.05);
  border: 1px solid rgba(245,240,232,0.1);
  color: var(--cream);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 300;
  padding: 16px 20px;
  outline: none;
  transition: border-color 0.3s;
  width: 100%;
  cursor: none;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group select,
.form-group textarea:focus {
  border-color: rgba(196,163,90,0.5);
}
.form-group select option { background: var(--dark-surface); }
.form-group textarea { resize: vertical; min-height: 140px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-submit {
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--charcoal);
  background: var(--gold);
  padding: 18px 48px;
  border: none;
  font-family: var(--font-sans);
  font-weight: 500;
  cursor: none;
  transition: background 0.3s, transform 0.2s;
  display: inline-block;
}
.form-submit:hover { background: var(--gold-light); transform: translateY(-1px); }

/* ---- Responsive ---- */
@media (max-width: 900px) {
  nav { padding: 20px 24px; }
  nav.scrolled { padding: 14px 24px; }
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }

  .stats-bar { gap: 32px; padding: 20px 24px; }
  .stat-divider { display: none; }

  .page-hero { padding: 0 24px 48px; }
  .page-hero h1 { font-size: clamp(36px, 10vw, 60px); }

  footer { padding: 32px 24px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-right { align-items: flex-start; }
  .footer-nav { flex-wrap: wrap; gap: 16px; }

  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .portfolio-grid { gap: 3px; }
}
