/* Pip the Funny Mouse — minimal, creamy, polka */

:root {
  --cream: #fff8f0;
  --cream-dark: #f3e6d4;
  --cheese: #f4c430;
  --cheese-deep: #e8a317;
  --mouse: #6b7280;
  --ink: #2b2a28;
  --scarf: #d64545;
  --white: #ffffff;
  --shadow: 0 12px 32px rgba(43, 42, 40, 0.08);
  --radius: 20px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Nunito", system-ui, sans-serif;
  color: var(--ink);
  background-color: var(--cream);
  background-image:
    radial-gradient(circle at 20% 30%, rgba(244, 196, 48, 0.18) 0 8px, transparent 9px),
    radial-gradient(circle at 80% 70%, rgba(244, 196, 48, 0.14) 0 6px, transparent 7px),
    radial-gradient(#f4c430 1.6px, transparent 1.7px);
  background-size: 180px 180px, 220px 220px, 28px 28px;
  background-attachment: fixed;
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

/* Flying cheese layer */
.sky {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.sky .cheese {
  position: absolute;
  width: 56px;
  height: auto;
  opacity: 0.85;
  filter: drop-shadow(0 6px 8px rgba(0, 0, 0, 0.12));
  animation: fly linear infinite;
  will-change: transform;
}

@keyframes fly {
  0% {
    transform: translate(-20vw, 10vh) rotate(0deg);
  }
  50% {
    transform: translate(60vw, -5vh) rotate(180deg);
  }
  100% {
    transform: translate(120vw, 20vh) rotate(360deg);
  }
}

/* Layout */
.wrap {
  position: relative;
  z-index: 2;
  width: min(1080px, calc(100% - 32px));
  margin: 0 auto;
}

header {
  padding: 20px 0 8px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(244, 196, 48, 0.35);
  border-radius: 999px;
  padding: 10px 18px 10px 14px;
  box-shadow: var(--shadow);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand img {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid var(--cheese);
}

.brand span {
  font-family: "Fredoka", "Nunito", sans-serif;
  font-size: 1.15rem;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 6px;
}

nav a {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: background 0.2s, color 0.2s;
}

nav a:hover,
nav a.active {
  background: var(--cheese);
  color: var(--ink);
}

main {
  padding: 28px 0 64px;
}

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  padding: 28px 0 48px;
}

.hero h1 {
  font-family: "Fredoka", "Nunito", sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.hero h1 em {
  font-style: normal;
  color: var(--cheese-deep);
}

.lead {
  font-size: 1.15rem;
  color: var(--mouse);
  max-width: 42ch;
  margin-bottom: 24px;
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--ink);
  color: var(--white);
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.15s, background 0.15s;
}

.cta:hover {
  background: var(--scarf);
  transform: translateY(-2px);
}

.hero-art {
  background: var(--white);
  border-radius: 28px;
  padding: 18px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(244, 196, 48, 0.3);
}

.hero-art img {
  width: 100%;
  max-height: 460px;
  object-fit: contain;
  margin: 0 auto;
}

/* Cards / sections */
.section {
  margin-top: 48px;
}

.section h2 {
  font-family: "Fredoka", sans-serif;
  font-size: 1.8rem;
  margin-bottom: 8px;
}

.muted {
  color: var(--mouse);
  margin-bottom: 20px;
}

.card {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(244, 196, 48, 0.28);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px;
}

.video-wrap video {
  width: 100%;
  border-radius: 14px;
  background: #111;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.shot {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(244, 196, 48, 0.3);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.shot img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: #fffdf8;
  padding: 12px;
}

.shot figcaption {
  padding: 14px 16px 16px;
  font-weight: 700;
}

.shot p {
  font-weight: 500;
  color: var(--mouse);
  font-size: 0.92rem;
  margin-top: 4px;
}

footer {
  text-align: center;
  padding: 28px 0 40px;
  color: var(--mouse);
  font-size: 0.9rem;
}

footer .wrap {
  border-top: 1px dashed rgba(244, 196, 48, 0.55);
  padding-top: 24px;
}

/* Responsive */
@media (max-width: 800px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 24px;
  }

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

  .nav {
    flex-wrap: wrap;
    border-radius: 22px;
    justify-content: center;
  }
}

@media (max-width: 520px) {
  .brand span {
    font-size: 1rem;
  }

  nav a {
    padding: 6px 12px;
  }
}
