/* -------------------------
   Base Reset
-------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Open Sans', sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.75;
  color: #1c1c1c;
  background: #ffffff;
}

section {
  padding: 80px 20px;
}

@media (max-width: 768px) {
  section {
    padding: 56px 20px;
  }
}

h1,
h2,
h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
}

h1 {
  font-size: 48px;
  line-height: 1.2;
  margin-bottom: 32px;
}

h2 {
  font-size: 32px;
  line-height: 1.3;
  margin-bottom: 24px;
}

p {
  max-width: 720px;
  margin-bottom: 20px;
}

blockquote {
  max-width: 640px;
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  line-height: 1.5;
  margin: 40px 0;
  padding-left: 24px;
  border-left: 2px solid #ddd;
}

cite {
  display: block;
  margin-top: 12px;
  font-size: 14px;
  font-style: normal;
  color: #666;
}

@media (max-width: 768px) {
  h1 {
    font-size: 34px;
  }

  h2 {
    font-size: 26px;
  }

  blockquote {
    font-size: 20px;
  }
}

.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  background: transparent;
  transition: background 0.4s ease, height 0.4s ease;
  z-index: 100;
}

.logo img {
  height: 96px;
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.logo-text {
  position: absolute;
  left: 0;
  opacity: 0;
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  letter-spacing: 0.08em;
  transition: 
    opacity 0.4s ease,
    transform 0.4s ease;
  white-space: nowrap;
}
.site-header.scrolled {
  background: #ffffff;
}

.site-header.scrolled .nav-container {
  max-width: 96px;             /* NARROW */
  padding: 12px 24px;
}

.site-header.scrolled .logo img {
  opacity: 0;
  transform: scale(0.85);
}

.site-header.scrolled .logo-text {
  opacity: 1;
  transform: translateY(0);
}

.nav-container {
  max-width: 1400px;            /* wide */
  margin: 0 auto;
  padding: 32px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: 
    max-width 0.5s ease,
    padding 0.5s ease;
}

.main-nav a {
  margin-left: 24px;
  text-decoration: none;
  color: #1c1c1c;
  font-size: 14px;
}

.home-hero {
  height: 100vh;
}

.studio-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.studio-image {
  aspect-ratio: 3 / 4;
  background: #f0f0f0; /* placeholder */
}

.studio-center {
  grid-column: 2 / 3;
  grid-row: 2 / 3;
  text-align: center;
}

.studio-center img {
  width: 120px;
  margin-bottom: 16px;
}

.studio-quote {
  font-size: 14px;
  font-style: italic;
}

@media (max-width: 768px) {
  .studio-grid {
    grid-template-columns: 1fr;
  }

  .studio-center {
    grid-column: auto;
    grid-row: auto;
    padding: 40px 0;
  }
}

.studio-text,
.studio-philosophy,
.studio-about {
  max-width: 960px;
  margin: 0 auto;
}

.services-list {
  list-style: none;
  max-width: 720px;
}

.services-list li {
  margin-bottom: 12px;
  font-size: 16px;
}

.studio-stats {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  gap: 60px;
}

.stat-number {
  font-size: 48px;
  font-family: 'Playfair Display', serif;
}

.stat-label {
  font-size: 14px;
  color: #666;
}

@media (max-width: 768px) {
  .studio-stats {
    flex-direction: column;
    gap: 32px;
  }
}

.studio-clients,
.studio-testimonials {
  max-width: 960px;
  margin: 0 auto;
}

.load-more,
.next-testimonial {
  margin-top: 24px;
  font-size: 24px;
  background: none;
  border: none;
  cursor: pointer;
}

.home-hero {
  height: 100vh;
  background-image: url("../assets/images/hero.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

@media (max-width: 768px) {
  .home-hero {
    background-position: center center;
  }
}

.studio-image {
  aspect-ratio: 3 / 4;
  overflow: hidden;
}


.studio-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 768px) {
  .studio-grid {
    grid-template-columns: 1fr;
  }
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #1c1c1c;
  margin: 6px 0;
}

@media (max-width: 768px) {
  .main-nav {
    display: none;
  }

  .nav-toggle {
    display: block;
  }
}

.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.98);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  z-index: 1000;
}
.nav-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
.nav-overlay-content {
  text-align: center;
}

.nav-overlay-content a {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  margin: 20px 0;
  text-decoration: none;
  color: #1c1c1c;
}
@media (max-width: 768px) {
  .nav-overlay-content a {
    font-size: 28px;
  }
}
.nav-close {
  position: absolute;
  top: 24px;
  right: 24px;
  font-size: 24px;
  background: none;
  border: none;
  cursor: pointer;
}

@media (max-width: 768px) {
  .logo img {
    height: 64px;
  }
}

.works-hero {
  padding-top: 120px;
  text-align: center;
}

.works-categories {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.work-category {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  text-decoration: none;
  color: #fff;
}

.work-category img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.work-category span {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  background: rgba(0, 0, 0, 0.35);
}

@media (max-width: 768px) {
  .works-categories {
    grid-template-columns: 1fr;
  }

  .work-category span {
    font-size: 20px;
  }
}