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

html,
body {
  overflow-x: hidden;
}

body {
  background: #f7f3ee;
  color: #1f1f1f;
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
}

/* NAVIGATION */

header {
  padding: 2rem 5%;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;

  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 500;
}

nav ul {
  display: flex;
  gap: 2rem;
  list-style: none;
}

nav a {
  text-decoration: none;
  color: #1f1f1f;
  font-size: 0.95rem;
  transition: opacity 0.2s ease;
}

nav a:hover {
  opacity: 0.6;
}

html {
  scroll-behavior: smooth;
}

/* HERO */

.hero {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;

  align-items: center;

  gap: 3.5rem;

  max-width: 1180px;
  margin: 0 auto;

  padding: 3rem 2rem 7rem;
}

.hero-text h1 {
  font-family: 'Cormorant Garamond', serif;

  font-size: clamp(3.2rem, 6vw, 5.2rem);

  font-weight: 400;

  line-height: 0.95;

  margin-bottom: 1.5rem;
}

.hero-text p {
  max-width: 430px;

  color: #5d5d5d;

  font-size: 1rem;

  line-height: 1.9;
}

/* HERO IMAGE */

.hero-image {
  display: flex;
  justify-content: flex-end;
}

.hero-image img {
  width: 100%;
  max-width: 650px;

  height: auto;

  display: block;
}

/* BUTTONS */

.hero-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.primary-button,
.secondary-button {
  padding: 0.9rem 1.5rem;
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.2s ease;
}

.primary-button {
  background: #1f1f1f;
  color: white;
}

.primary-button:hover {
  opacity: 0.85;
}

.secondary-button {
  border: 1px solid #1f1f1f;
  color: #1f1f1f;
}

.secondary-button:hover {
  background: #1f1f1f;
  color: white;
}

/* FEATURED WORK */

.featured-work {
  padding: 4rem 2rem 6rem;
}

.section-heading {
  max-width: 1200px;
  margin: 0 auto 3.5rem;
}

.section-heading h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  font-weight: 400;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);

  gap: 1.5rem;

  max-width: 1200px;
  margin: 0 auto;
}

.selected-work .gallery-grid {
  grid-template-columns: repeat(4, 1fr);
}

.selected-work .gallery-item img {
  aspect-ratio: auto;
  height: 340px;
  object-fit: contain;
}


.gallery-item img {
  width: 100%;

  aspect-ratio: 1 / 1;

  object-fit: cover;

  display: block;

  transition: opacity 0.25s ease;
}

.gallery-item {
  overflow: hidden;
}

.gallery-item img {
  transition:
    transform 0.45s ease,
    opacity 0.25s ease;
}

.gallery-item img:hover {
  opacity: 0.96;
  transform: scale(1.015);
}

.selected-work {
  padding: 1rem 2rem 7rem;
}

.section-intro {
  max-width: 620px;

  color: #5d5d5d;

  line-height: 1.9;

  margin-top: 1rem;
}

/*AVAILABLE WORK*/

.available-originals {
  padding: 1rem 2rem 6rem;
}

.available-content {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.available-content h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  font-weight: 400;
  margin-bottom: 1.5rem;
}

.available-content p {
  color: #5d5d5d;
  line-height: 1.9;
  margin-bottom: 1.5rem;
}

.text-link {
  color: #1f1f1f;
  text-decoration: none;
  border-bottom: 1px solid #1f1f1f;
  padding-bottom: 2px;
}

/*ABOUT CONTENT*/

.about-preview {
  padding: 2rem 2rem 7rem;
}

.about-content {
  max-width: 1100px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: 0.9fr 1.1fr;

  gap: 4rem;
  align-items: center;
}

.about-image img {
  width: 100%;
  max-width: 420px;

  display: block;
}

.about-text h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  font-weight: 400;

  margin-bottom: 1.5rem;
}

.about-text p {
  max-width: 520px;

  color: #5d5d5d;

  line-height: 1.9;

  margin-bottom: 1.5rem;
}

@media (max-width: 600px) {

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

  .about-image img {
    max-width: 100%;
  }
}

/*PAGES*/

.page-hero {
  max-width: 900px;
  margin: 0 auto;
  padding: 5rem 2rem 4rem;
  text-align: center;
}

.page-hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 400;
  line-height: 1;
  margin-bottom: 1.5rem;
}

.page-hero p {
  max-width: 620px;
  margin: 0 auto;
  color: #5d5d5d;
  line-height: 1.9;
}

.illustration-gallery {
  padding: 1rem 2rem 8rem;
}

.portfolio-grid {
  max-width: 1200px;

  margin: 0 auto;

  display: grid;
  grid-template-columns: repeat(3, 1fr);

  gap: 1rem;

  align-items: start;
}

.portfolio-item {
  background: transparent;
  padding: 1.25rem;

  display: flex;
  align-items: center;
  justify-content: center;

  min-height: 320px;
}

.portfolio-item img {
  width: 100%;
  max-height: 280px;

  object-fit: contain;

  display: block;
}

.page-subtle {
  margin-top: 1.5rem;

  font-size: 0.88rem;

  color: #7a7a7a;
}

/* MOBILE */

@media (max-width: 900px) {

  nav {
    flex-direction: column;
    gap: 1.5rem;
  }

  nav ul {
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 1rem;
  }

  .hero-image img {
    max-width: 100%;
    height: auto;
  }

  .hero-text h1 {
    font-size: 3.5rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item img {
    height: auto;
  }

  .selected-work .gallery-grid {
  grid-template-columns: 1fr 1fr;
  }

  .hero {
  padding: 2rem 1.5rem 4rem;
}

.featured-work {
  padding: 2rem 1.5rem 4rem;
}

.about-preview {
  padding: 1rem 1.5rem 4rem;
}

.inquiries {
  padding: 1rem 1.5rem 4rem;
}

.selected-work {
  padding: 1rem 1.5rem 4rem;
}

.selected-work .gallery-grid {
  gap: 0.6rem;
}

.section-heading {
  margin-bottom: 1.75rem;
}

.section-heading h2,
.about-text h2,
.inquiries-content h2 {
  font-size: 2.4rem;
}

.gallery-grid {
  gap: 1rem;
}

.selected-work .gallery-grid {
  gap: 0.5rem;
}

.available-originals {
  padding: 1rem 1.5rem 4rem;
}

.available-content h2 {
  font-size: 2.4rem;
}

.portfolio-grid {
  grid-template-columns: 1fr 1fr;
}

}

/* INQUIRIES */

.inquiries {
  padding: 1rem 2rem 7rem;
}

.inquiries-content {
  max-width: 760px;

  margin: 0 auto;

  text-align: center;
}

.inquiries-content h2 {
  font-family: 'Cormorant Garamond', serif;

  font-size: 3rem;
  font-weight: 400;

  margin-bottom: 2rem;
}

.inquiries-content p {
  color: #5d5d5d;

  line-height: 1.9;

  margin-bottom: 1.5rem;
}

.email-link {
  color: #1f1f1f;

  text-decoration: none;

  border-bottom: 1px solid #1f1f1f;

  padding-bottom: 2px;

  transition: opacity 0.2s ease;
}

.email-link:hover {
  opacity: 0.6;
}

footer {
  padding: 3rem 2rem 4rem;

  text-align: center;
}

footer p {
  color: #8a8a8a;

  font-size: 0.9rem;

  letter-spacing: 0.03em;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1rem;
}

.footer-links a {
  color: #8a8a8a;
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-links a:hover {
  opacity: 0.6;
}

.etsy-link {
  color: #1f1f1f;

  text-decoration: none;

  border-bottom: 1px solid #1f1f1f;

  padding-bottom: 2px;

  transition: opacity 0.2s ease;
}

.etsy-link:hover {
  opacity: 0.6;
}
