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

:root {
  --forest-deep: #2f4b43;
  --forest-mid: #4c6b62;
  --forest-soft: #7d988d;
  --moss-100: #e7eee6;
  --moss-200: #d5e1d2;
  --moss-300: #bdd0ba;
  --olive-text: #30443d;
  --gold-main: #efd41d;
  --gold-soft: #f6e889;
  --gold-cream: #f8f2d3;
  --berry-accent: #a54a4a;
  --berry-soft: #d07367;
}

html,
body {
  min-height: 100%;
}

body {
  font-family: "DM Sans", Arial, sans-serif;
  color: var(--gold-cream);
  background: linear-gradient(180deg, #5b7a70 0%, var(--forest-mid) 50%, var(--forest-deep) 100%);
}

.hero {
  position: relative;
  min-height: 100vh;
  background-image: url("IMG_1523.png");
  background-size: cover;
  background-position: center center;
  border-radius: 0 0 18px 18px;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(25, 42, 37, 0.2) 0%,
    rgba(30, 50, 45, 0.28) 55%,
    rgba(21, 35, 32, 0.46) 100%
  );
}

.hero-inner {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  padding: 22px 28px 36px;
  display: flex;
  flex-direction: column;
}

.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-name {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.55rem, 2vw, 2rem);
  color: var(--gold-cream);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.main-nav a {
  font-family: "DM Sans", Arial, sans-serif;
  color: #f5ebbe;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.16rem;
  transition: color 0.2s ease;
}

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

.hero-copy {
  margin-top: auto;
  margin-bottom: 64px;
  max-width: 560px;
}

.hero-copy h1 {
  position: relative;
  display: inline-block;
  font-family: "Caveat", cursive;
  font-weight: 700;
  font-size: clamp(4.4rem, 11vw, 9rem);
  line-height: 0.92;
  color: var(--gold-main);
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.24);
}

.sparkle {
  --size: 16px;
  position: absolute;
  width: var(--size);
  height: var(--size);
  border-radius: 50%;
  opacity: 0;
  animation: sparkleTwinkle 2.6s ease-in-out infinite;
}

.sparkle::before,
.sparkle::after {
  content: "";
  position: absolute;
  background: radial-gradient(circle, #fff8bd 0%, var(--gold-main) 68%, rgba(239, 212, 29, 0) 100%);
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 99px;
}

.sparkle::before {
  width: 3px;
  height: 100%;
}

.sparkle::after {
  width: 100%;
  height: 3px;
}

.sparkle-1 {
  --size: 15px;
  top: 3%;
  left: -16px;
}

.sparkle-2 {
  --size: 13px;
  top: -14px;
  right: 16%;
  animation-delay: 0.5s;
}

.sparkle-3 {
  --size: 12px;
  right: -22px;
  bottom: 12%;
  animation-delay: 1.1s;
}

.sparkle-4 {
  --size: 10px;
  left: 38%;
  bottom: -14px;
  animation-delay: 1.7s;
}

@keyframes sparkleTwinkle {
  0% {
    transform: translateY(0) scale(0.7) rotate(0deg);
    opacity: 0;
    filter: drop-shadow(0 0 0 rgba(246, 232, 137, 0));
  }
  25% {
    opacity: 1;
  }
  50% {
    transform: translateY(-3px) scale(1.05) rotate(16deg);
    opacity: 1;
    filter: drop-shadow(0 0 8px rgba(246, 232, 137, 0.72));
  }
  100% {
    transform: translateY(0) scale(0.72) rotate(0deg);
    opacity: 0;
    filter: drop-shadow(0 0 0 rgba(246, 232, 137, 0));
  }
}

.hero-copy p {
  margin-top: 8px;
  margin-left: 8px;
  font-family: "Caveat", cursive;
  font-size: clamp(1.8rem, 3.7vw, 2.8rem);
  color: #f7efc8;
  letter-spacing: 0.06rem;
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  color: var(--gold-soft);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.13rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.scroll-cue span {
  font-size: 1.2rem;
  line-height: 1;
}

main {
  padding: 56px 24px 72px;
}

.work-section {
  max-width: 1200px;
  margin: 0 auto 68px;
  background: linear-gradient(170deg, #eaf1e5 0%, var(--moss-200) 100%);
  border-radius: 10px;
  padding: 34px 24px 28px;
  color: var(--olive-text);
  box-shadow: 0 8px 24px rgba(15, 33, 29, 0.18);
}

.work-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 28px;
}

.work-header h2 {
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.12rem;
  font-weight: 500;
}

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.chip {
  background: #f3f5ef;
  color: var(--olive-text);
  border: 1px solid #c5d1c3;
  border-radius: 3px;
  padding: 8px 12px;
  font-size: 0.9rem;
  font-family: "DM Sans", Arial, sans-serif;
}

.chip.is-active {
  background: var(--berry-accent);
  color: #fff4df;
  border-color: var(--berry-accent);
}

.artwork-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px 18px;
}

.artwork-card h3 {
  margin-top: 12px;
  font-family: "Playfair Display", serif;
  font-size: 1.55rem;
  font-weight: 500;
  color: #263630;
}

.artwork-card p {
  margin-top: 6px;
  color: #4a5f56;
  font-size: 1rem;
}

.artwork-image {
  width: 100%;
  aspect-ratio: 4 / 5.4;
  border-radius: 4px;
  border: 1px solid rgba(34, 42, 40, 0.08);
}

.placeholder-1 {
  background: linear-gradient(155deg, #f2df72 0%, #8eb898 46%, #466759 100%);
}

.placeholder-2 {
  background: linear-gradient(180deg, #f4e897 0%, #7ca98a 40%, #3f6758 100%);
}

.placeholder-3 {
  background: linear-gradient(120deg, #cf6c5f 0%, #f0d785 40%, #6f8f7e 100%);
}

.placeholder-4 {
  background: linear-gradient(140deg, #dfe9d2 0%, #acc3a1 48%, #708f79 100%);
}

.placeholder-5 {
  background: linear-gradient(130deg, #2c5b4b 0%, #5b8f6f 55%, #be5148 100%);
}

.placeholder-6 {
  background: linear-gradient(180deg, #f3df78 0%, #88b38f 45%, #496c5f 100%);
}

.content {
  max-width: 900px;
  margin: 0 auto 52px;
}

.about-section,
.contact-section {
  max-width: 1200px;
  margin: 0 auto 52px;
  background: linear-gradient(170deg, #eaf1e5 0%, var(--moss-200) 100%);
  border-radius: 10px;
  padding: 34px 24px 28px;
  color: var(--olive-text);
  box-shadow: 0 8px 24px rgba(15, 33, 29, 0.18);
}

.section-title-row {
  margin-bottom: 22px;
}

.section-title-row h2 {
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.12rem;
  font-weight: 500;
}

.about-layout {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 20px;
}

.about-text,
.about-highlight {
  background: linear-gradient(180deg, #f5f8f1 0%, var(--moss-100) 100%);
  border: 1px solid var(--moss-300);
  border-radius: 8px;
  padding: 22px;
}

.about-text h3,
.about-highlight h4,
.contact-card h3 {
  font-family: "Playfair Display", serif;
  color: #284037;
  margin-bottom: 10px;
}

.about-text h3,
.contact-card h3 {
  font-size: 1.9rem;
  font-weight: 500;
}

.about-text p {
  color: #385148;
  line-height: 1.7;
  font-size: 1rem;
}

.about-text p + p {
  margin-top: 12px;
}

.about-highlight h4 {
  font-size: 1.3rem;
  font-weight: 500;
}

.about-highlight ul {
  list-style: none;
}

.about-highlight li {
  color: #385148;
  padding: 8px 0;
  border-bottom: 1px solid #c9d6c7;
  font-size: 1rem;
}

.about-highlight li:last-child {
  border-bottom: none;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.contact-card {
  background: linear-gradient(180deg, #f5f8f1 0%, var(--moss-100) 100%);
  border: 1px solid var(--moss-300);
  border-radius: 8px;
  padding: 20px;
}

.contact-card p {
  color: #385148;
  font-size: 1rem;
}

.contact-card a {
  color: #8f3e42;
  text-decoration: none;
  border-bottom: 1px solid rgba(143, 62, 66, 0.45);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.contact-card a:hover {
  color: var(--berry-accent);
  border-color: rgba(165, 74, 74, 0.75);
}

@media (max-width: 720px) {
  .hero-inner {
    padding: 18px 16px 26px;
  }

  .top-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .main-nav {
    gap: 18px;
  }

  .work-section {
    padding: 24px 14px;
  }

  .about-section,
  .contact-section {
    padding: 24px 14px;
  }

  .work-header {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 20px;
  }

  .filter-chips {
    justify-content: flex-start;
  }

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

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

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

@media (min-width: 721px) and (max-width: 1080px) {
  .artwork-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  .sparkle {
    animation: none;
    opacity: 0.7;
  }
}
