body {
  font-family: "Nunito Sans", sans-serif;
  background-color: #fbf9f1;
  color: #1b1c17;
  font-weight: 400;
}

.font-caveat {
  font-family: "Caveat", cursive;
  font-weight: 700;
}

.cloud-shape-1 {
  border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
}

.cloud-shape-2 {
  border-radius: 50% 50% 40% 60% / 60% 40% 50% 50%;
}

.cloud-shape-3 {
  border-radius: 60% 40% 50% 50% / 40% 60% 50% 60%;
}

.organic-border {
  border-radius: 3rem 2rem 3rem 2.5rem;
}

.project-card {
  scroll-margin-top: 8.5rem;
}

.project-card > a,
.project-card > .coming-card {
  will-change: transform, box-shadow;
}

.project-card.project-highlight > a,
.project-card.project-highlight > .coming-card,
.project-card:target > a,
.project-card:target > .coming-card {
  animation: projectHighlight 180s ease-out;
}

@keyframes projectHighlight {
  0% {
    transform: translateY(0) scale(1);
    box-shadow: 0 20px 40px rgba(118, 89, 58, 0.08), 0 0 0 0 rgba(200, 147, 42, 0);
  }

  0.8% {
    transform: translateY(-6px) scale(1.012);
    box-shadow: 0 28px 54px rgba(118, 89, 58, 0.14), 0 0 0 8px rgba(200, 147, 42, 0.18);
  }

  3% {
    transform: translateY(0) scale(1);
    box-shadow: 0 24px 46px rgba(118, 89, 58, 0.11), 0 0 0 5px rgba(200, 147, 42, 0.12);
  }

  100% {
    transform: translateY(0) scale(1);
    box-shadow: 0 20px 40px rgba(118, 89, 58, 0.08), 0 0 0 3px rgba(200, 147, 42, 0.06);
  }
}

.soft-shadow {
  box-shadow: 0 20px 40px rgba(118, 89, 58, 0.08);
}

.hero-art {
  min-height: min(78vw, 680px);
}

.hero-photo-frame {
  position: absolute;
  inset: 5% 3% 7% 3%;
  z-index: 5;
  overflow: hidden;
  border: 10px solid rgba(255, 249, 242, 0.86);
  border-radius: 44% 56% 54% 46% / 40% 44% 56% 60%;
  background: #fff9f2;
  box-shadow: 0 34px 72px rgba(118, 89, 58, 0.16), inset 0 0 0 1px rgba(118, 89, 58, 0.08);
}

.hero-photo-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: scale(0.96);
}

.hero-wool {
  position: absolute;
  pointer-events: none;
  background: #f0e6d6;
  box-shadow: 0 24px 48px rgba(118, 89, 58, 0.08);
}

.hero-wool-back {
  inset: 2% -1% 5% -2%;
  border-radius: 52% 48% 46% 54% / 40% 42% 58% 60%;
  background: #efe4d1;
  transform: rotate(-4deg);
}

.hero-wool-left {
  width: 30%;
  height: 30%;
  left: -2%;
  top: 34%;
  border-radius: 56% 44% 62% 38% / 50% 46% 54% 50%;
  background: #fff9f2;
}

.hero-wool-top {
  width: 35%;
  height: 26%;
  left: 29%;
  top: 0;
  border-radius: 48% 52% 45% 55% / 58% 62% 38% 42%;
  background: #fff6df;
}

.hero-wool-right {
  width: 25%;
  height: 25%;
  right: 3%;
  top: 30%;
  border-radius: 50% 50% 42% 58% / 46% 55% 45% 54%;
  background: #f5e8c9;
}

.hero-wool-bottom {
  width: 56%;
  height: 22%;
  left: 17%;
  bottom: 4%;
  border-radius: 44% 56% 52% 48% / 42% 45% 55% 58%;
  background: #fff9f2;
}

.texture-overlay {
  position: absolute;
  inset: 0;
  opacity: 0.03;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

.site-header {
  border-radius: 3rem;
  transition: transform 260ms ease;
}

.site-header-inner {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(118, 89, 58, 0.08);
  border-radius: 3rem;
  background: rgba(255, 249, 242);
  box-shadow: 0 18px 44px rgba(118, 89, 58, 0.08);
  transition: padding 260ms ease, box-shadow 260ms ease, background-color 260ms ease;
}

.site-header-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("/assets/sheep.png");
  background-repeat: no-repeat;
  background-position: center 48%;
  background-size: cover;
  opacity: 0.45;
  pointer-events: none;
  transition: opacity 260ms ease;
}

.site-header-inner > * {
  position: relative;
  z-index: 1;
}

.site-header .font-caveat {
  color: rgb(118 89 58 / var(--tw-text-opacity, 1));
}

.nav-link {
  border-radius: 9999px;
  color: #57534e;
  padding: 0.35rem 0.75rem;
  transition: color 200ms ease, background-color 200ms ease, transform 200ms ease;
}

.nav-link:hover {
  color: rgb(118 89 58 / var(--tw-text-opacity, 1));
  background-color: rgba(118, 89, 58, 0.08);
  transform: translateY(-1px);
}

.nav-link.active {
  color: rgb(118 89 58 / var(--tw-text-opacity, 1));
  background-color: rgba(118, 89, 58, 0.10);
}

.site-header.compact .site-header-inner {
  padding-top: 1rem;
  padding-bottom: 1rem;
  background: rgba(255, 249, 242, 0.97);
  box-shadow: 0 14px 34px rgba(118, 89, 58, 0.10);
}

.site-header.compact .site-header-inner::before {
  opacity: 0.28;
}

.section-kicker {
  color: #76593a;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.coming-card {
  justify-content: center;
  background:
    radial-gradient(circle at 86% 18%, rgba(200, 147, 42, 0.16), transparent 26%),
    radial-gradient(circle at 12% 86%, rgba(123, 79, 46, 0.10), transparent 30%),
    #f5eddf;
}

.coming-card p {
  margin-bottom: 0;
}

.coming-dots {
  position: absolute;
  right: clamp(2rem, 6vw, 5rem);
  top: clamp(2rem, 5vw, 4rem);
  display: flex;
  gap: 0.8rem;
}

.site-footer {
  width: min(100%, 1536px);
  margin: 6rem auto 0;
  padding: clamp(2rem, 5vw, 4rem) clamp(1.5rem, 4vw, 3rem);
  border-radius: 3rem 3rem 0 0;
  background: #f5efe4;
  color: #57534e;
}

.site-footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.site-footer-logo {
  color: #44403c;
  font-size: clamp(2.2rem, 4vw, 3rem);
  line-height: 1;
}

.site-footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1rem;
  font-size: 0.95rem;
  font-weight: 800;
}

.site-footer-nav a {
  border-radius: 9999px;
  color: #57534e;
  padding: 0.45rem 0.75rem;
  transition: color 200ms ease, background-color 200ms ease, transform 200ms ease;
}

.site-footer-nav a:hover {
  color: #76593a;
  background: rgba(118, 89, 58, 0.08);
  transform: translateY(-1px);
}

.site-footer-note {
  max-width: 64rem;
  margin: 2rem auto 0;
  color: #78716c;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.65;
  text-align: center;
}

.coming-dots span {
  width: clamp(1.3rem, 3vw, 2.2rem);
  height: clamp(1.3rem, 3vw, 2.2rem);
  border-radius: 999px;
  background: #c8932a;
  box-shadow: 0 14px 26px rgba(118, 89, 58, 0.10);
}

.coming-dots span:nth-child(2) {
  transform: translateY(0.9rem);
  background: #7b4f2e;
}

.coming-dots span:nth-child(3) {
  transform: translateY(0.2rem);
  background: #e8d7be;
}

.coming-pill {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  border-radius: 999px;
  padding: 0.65rem 1rem;
  color: #76593a;
  background: #fff9f2;
  border: 1px solid rgba(118, 89, 58, 0.12);
  font-size: 0.9rem;
  font-weight: 800;
  box-shadow: 0 12px 24px rgba(118, 89, 58, 0.06);
}

.text-balance {
  text-wrap: balance;
}

.motion-ready .reveal-item {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 760ms ease, transform 760ms ease;
}

.motion-ready .reveal-item.reveal-soft-left {
  transform: translateY(22px) rotate(-0.7deg);
}

.motion-ready .reveal-item.reveal-soft-right {
  transform: translateY(22px) rotate(0.7deg);
}

.motion-ready .reveal-item.is-revealed {
  opacity: 1;
  transform: translateY(0) rotate(0);
}

.motion-ready .project-card.reveal-item img {
  transform: scale(1.035);
  transition: transform 900ms ease;
}

.motion-ready .project-card.reveal-item.is-revealed img {
  transform: scale(1);
}

.motion-ready .project-card.reveal-item.is-revealed:hover img {
  transform: scale(1.03);
}

@media (max-width: 640px) {
  .site-footer-top {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .site-footer-nav {
    gap: 0.35rem 0.5rem;
  }

  .site-footer-note {
    margin-top: 1.5rem;
  }

  .site-header {
    top: 0.75rem;
    width: calc(100% - 1rem);
    margin-top: 0.75rem;
  }

  .site-header-inner {
    border-radius: 2.2rem;
  }

  .site-header-inner::before {
    display: none;
  }

  .hero-title {
    font-size: 5.75rem;
  }

  .hero-art {
    min-height: min(94vw, 520px);
  }

  .hero-photo-frame {
    inset: 6% 2% 8% 2%;
    border-width: 7px;
  }
}


@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }

  .motion-ready .reveal-item {
    opacity: 1;
    transform: none;
  }
}
