/* ========================================
   BASE & RESET
   ======================================== */

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  background-color: #f5f4f0;
  color: #1a1a1a;
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

/* ========================================
   NAVIGATION
   ======================================== */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 4rem;
  mix-blend-mode: difference;
}

.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: #f5f4f0;
}

.nav-links {
  display: flex;
  gap: 3rem;
}

.nav-links a {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #f5f4f0;
  transition: opacity 0.3s ease;
}

.nav-links a:hover {
  opacity: 0.5;
}

/* ========================================
   HERO
   ======================================== */

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8rem 4rem 4rem;
  position: relative;
  background-color: #0a0a0a;
  color: #f5f4f0;
}

.hero-content {
  max-width: 900px;
}

.hero-label {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 3rem;
  opacity: 0.6;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(4rem, 10vw, 9rem);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin-bottom: 3rem;
}

.hero-title em {
  font-style: italic;
  font-weight: 300;
}

.hero-subtitle {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  font-weight: 300;
  line-height: 1.8;
  max-width: 460px;
  opacity: 0.7;
}

.hero-scroll {
  position: absolute;
  bottom: 3rem;
  right: 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.hero-scroll span {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  opacity: 0.4;
}

.scroll-line {
  width: 1px;
  height: 60px;
  background: #f5f4f0;
  opacity: 0.3;
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { transform: scaleY(1); opacity: 0.3; }
  50% { transform: scaleY(0.5); opacity: 0.1; }
}

/* ========================================
   SECTIONS — SHARED
   ======================================== */

.section {
  padding: 10rem 4rem;
}

.section-grid {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section-label {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.4;
  padding-top: 0.5rem;
}

/* ========================================
   ABOUT
   ======================================== */

.about {
  background-color: #f5f4f0;
}

.about-heading {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 4rem;
}

.about-heading em {
  font-style: italic;
  font-weight: 300;
}

.about-text {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 5rem;
}

.about-text p {
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.9;
  color: #3a3a3a;
}

.about-stats {
  display: flex;
  gap: 5rem;
  padding-top: 3rem;
  border-top: 1px solid #d0cec8;
}

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

.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 300;
  line-height: 1;
}

.stat-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.5;
}

/* ========================================
   WORK / PHOTOGRAPHY GRID
   ======================================== */

.work {
  background-color: #eceae4;
}

.work-heading {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.work-heading em {
  font-style: italic;
  font-weight: 300;
}

.work-intro {
  font-size: 1.1rem;
  font-weight: 300;
  color: #3a3a3a;
  max-width: 400px;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 320px;
  gap: 1.5rem;
  max-width: 1200px;
  margin: 5rem auto 0;
  padding: 0 4rem;
}

.photo-box {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.photo-box--tall {
  grid-row: span 2;
}

.photo-box--wide {
  grid-column: span 2;
}

.photo-placeholder {
  width: 100%;
  height: 100%;
  background-color: #1a1a1a;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  transition: background-color 0.5s ease;
}

.photo-box:hover .photo-placeholder {
  background-color: #2a2a2a;
}

.photo-index {
  position: absolute;
  top: 1.5rem;
  left: 2rem;
  font-family: 'Playfair Display', serif;
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: #f5f4f0;
  opacity: 0.3;
}

.photo-caption {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #f5f4f0;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.4s ease;
}

.photo-box:hover .photo-caption {
  opacity: 0.7;
  transform: translateY(0);
}

/* ========================================
   SERVICES
   ======================================== */

.services {
  background-color: #f5f4f0;
}

.services-heading {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 4rem;
}

.services-heading em {
  font-style: italic;
  font-weight: 300;
}

.services-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem 4rem;
}

.service-item {
  padding: 2.5rem 0;
  border-top: 1px solid #d0cec8;
}

.service-number {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  opacity: 0.3;
  margin-bottom: 1.5rem;
}

.service-item h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.service-item p {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.8;
  color: #3a3a3a;
}

/* ========================================
   CONTACT
   ======================================== */

.contact {
  background-color: #0a0a0a;
  color: #f5f4f0;
  text-align: center;
  padding: 12rem 4rem;
}

.contact-inner {
  max-width: 700px;
  margin: 0 auto;
}

.contact-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.4;
  margin-bottom: 3rem;
}

.contact-heading {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 3rem;
}

.contact-heading em {
  font-style: italic;
  font-weight: 300;
}

.contact-email {
  display: inline-block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  padding-bottom: 0.25rem;
  border-bottom: 1px solid rgba(245, 244, 240, 0.3);
  transition: border-color 0.3s ease;
  margin-bottom: 3rem;
}

.contact-email:hover {
  border-color: rgba(245, 244, 240, 0.8);
}

.contact-links {
  display: flex;
  justify-content: center;
  gap: 3rem;
}

.contact-links a {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.4;
  transition: opacity 0.3s ease;
}

.contact-links a:hover {
  opacity: 1;
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
  display: flex;
  justify-content: space-between;
  padding: 2rem 4rem;
  background-color: #0a0a0a;
  color: #f5f4f0;
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.3;
  border-top: 1px solid rgba(245, 244, 240, 0.08);
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 1024px) {
  .section-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .section-label {
    flex-direction: row;
    gap: 1.5rem;
  }

  .photo-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 280px;
    padding: 0;
  }

  .photo-box--tall {
    grid-row: span 2;
  }

  .services-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav {
    padding: 1.5rem 2rem;
  }

  .nav-links {
    gap: 1.5rem;
  }

  .hero {
    padding: 6rem 2rem 3rem;
  }

  .hero-scroll {
    display: none;
  }

  .section {
    padding: 6rem 2rem;
  }

  .about-text {
    grid-template-columns: 1fr;
  }

  .about-stats {
    flex-wrap: wrap;
    gap: 3rem;
  }

  .photo-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 250px;
  }

  .photo-box--tall,
  .photo-box--wide {
    grid-column: span 1;
    grid-row: span 1;
  }

  .contact {
    padding: 8rem 2rem;
  }

  .footer {
    padding: 1.5rem 2rem;
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .nav-links a {
    font-size: 0.75rem;
  }

  .nav-links {
    gap: 1rem;
  }

  .hero-title {
    font-size: clamp(3rem, 15vw, 5rem);
  }
}