:root {
  --ink: #15100f;
  --paper: #fff7e8;
  --cream: #fff0bf;
  --pink: #ff7dad;
  --hot: #ff4b93;
  --green: #27c383;
  --mint: #a9f0cf;
  --yellow: #ffe05c;
  --brown: #8b4b24;
  --white: #ffffff;
  --line: rgba(21, 16, 15, .18);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: "Nunito", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible { outline: 3px solid var(--green); outline-offset: 4px; }

.skip-link {
  position: fixed;
  top: 14px;
  left: 14px;
  z-index: 1000;
  transform: translateY(-140%);
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  padding: 10px 14px;
  font-weight: 900;
}

.skip-link:focus { transform: translateY(0); }

.farm-nav {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 70;
  width: min(1080px, calc(100% - 28px));
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 3px solid var(--ink);
  border-radius: 16px;
  padding: 8px;
  background: rgba(255, 247, 232, .88);
  backdrop-filter: blur(14px);
  box-shadow: 8px 8px 0 rgba(21, 16, 15, .20);
}

.logo-badge {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-right: 10px;
  font-family: "Fredoka", sans-serif;
  font-weight: 700;
}

.logo-badge span {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 12px;
  background: var(--pink);
  color: var(--ink);
}

.farm-nav nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.farm-nav nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  border-radius: 12px;
  padding: 0 14px;
  font-weight: 900;
  transition: background-color .2s ease, color .2s ease;
}

.farm-nav nav a:hover {
  background: var(--ink);
  color: var(--white);
}

.hero-farm {
  position: relative;
  min-height: 100dvh;
  overflow: hidden;
  isolation: isolate;
  display: grid;
  align-items: end;
  padding: 126px max(18px, calc((100vw - 1180px) / 2)) 0;
  background:
    linear-gradient(90deg, rgba(139, 75, 36, .10) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 75, 147, .12) 1px, transparent 1px),
    radial-gradient(circle at 12% 18%, rgba(255, 125, 173, .32), transparent 26%),
    radial-gradient(circle at 82% 18%, rgba(169, 240, 207, .34), transparent 28%),
    var(--paper);
  background-size: 42px 42px, 42px 42px, auto, auto, auto;
}

.hero-farm::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    linear-gradient(122deg, transparent 0 58%, var(--green) 58% 61%, transparent 61%),
    linear-gradient(152deg, transparent 0 72%, var(--hot) 72% 75%, transparent 75%);
}

.face-balloons {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
}

.face-balloons span {
  position: absolute;
  left: var(--x);
  bottom: -22vh;
  width: var(--s);
  aspect-ratio: 1;
  background: url("assets/vovo-face-balloon.png") center / contain no-repeat;
  opacity: var(--o);
  filter: drop-shadow(0 18px 24px rgba(21, 16, 15, .22));
  animation: float-face-balloon var(--d) linear infinite;
  animation-delay: var(--delay);
  will-change: transform;
}

.hero-grid {
  position: relative;
  z-index: 2;
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(310px, .78fr);
  gap: clamp(24px, 5vw, 68px);
  align-items: end;
}

.hero-copy { padding-bottom: clamp(42px, 8vh, 88px); }

.stamp {
  display: inline-flex;
  margin: 0 0 16px;
  border: 3px solid var(--ink);
  border-radius: 999px;
  padding: 8px 13px;
  background: var(--yellow);
  color: var(--ink);
  font-family: "Fredoka", sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.stamp.dark {
  background: var(--ink);
  color: var(--white);
}

h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: "Fredoka", sans-serif; letter-spacing: 0; }

h1 {
  margin: 0 0 12px;
  max-width: 790px;
  font-size: clamp(64px, 10.8vw, 132px);
  line-height: .82;
  font-weight: 700;
}

.headline {
  max-width: 760px;
  margin-bottom: 18px;
  font-family: "Fredoka", sans-serif;
  font-size: clamp(36px, 5vw, 66px);
  line-height: .9;
  font-weight: 700;
}

.lead {
  max-width: 640px;
  margin-bottom: 28px;
  color: rgba(21, 16, 15, .78);
  font-size: clamp(17px, 1.8vw, 22px);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 3px solid var(--ink);
  border-radius: 14px;
  padding: 0 18px;
  font-weight: 900;
  box-shadow: 5px 5px 0 var(--ink);
  transition: transform .2s ease, box-shadow .2s ease;
}

.button:hover {
  transform: translate(2px, 2px);
  box-shadow: 3px 3px 0 var(--ink);
}

.button.primary { background: var(--pink); }
.button.secondary { background: var(--white); }
.button svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2.5; }

.hero-family {
  position: relative;
  --orbit-x: 238px;
  --orbit-y: 178px;
  --orbit-center-y: 50%;
  width: min(620px, 100%);
  min-height: min(74dvh, 760px);
  margin: 0 auto;
  display: grid;
  place-items: center;
  border-radius: 18px;
  isolation: isolate;
  filter: drop-shadow(10px 16px 0 rgba(21, 16, 15, .18));
}

.hero-family::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 0;
  width: min(520px, 92%);
  aspect-ratio: 1;
  border: 3px solid var(--ink);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 46%, rgba(255, 255, 255, .92), rgba(255, 255, 255, .36) 42%, transparent 66%),
    linear-gradient(45deg, rgba(255, 255, 255, .72) 25%, transparent 25% 75%, rgba(255, 255, 255, .72) 75%),
    linear-gradient(45deg, rgba(255, 255, 255, .72) 25%, transparent 25% 75%, rgba(255, 255, 255, .72) 75%),
    var(--mint);
  background-position: center, 0 0, 24px 24px, center;
  background-size: auto, 48px 48px, 48px 48px, auto;
  transform: translate(-50%, -50%) rotate(4deg);
  box-shadow: 10px 10px 0 rgba(21, 16, 15, .9);
}

.hero-family::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 9%;
  z-index: 1;
  width: min(420px, 78%);
  height: 32px;
  border: 3px solid var(--ink);
  border-radius: 999px;
  background: var(--yellow);
  transform: translateX(-50%) rotate(-2deg);
}

.orbit-stage {
  position: relative;
  width: 100%;
  height: min(72dvh, 720px);
  min-height: 620px;
  z-index: 2;
}

.orbit-path {
  position: absolute;
  left: 50%;
  top: var(--orbit-center-y);
  z-index: 2;
  width: calc(var(--orbit-x) * 2);
  height: calc(var(--orbit-y) * 2);
  border: 4px dashed rgba(21, 16, 15, .30);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(-6deg);
  background: rgba(255, 255, 255, .12);
  pointer-events: none;
}

.family-main {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 4;
  width: min(330px, 60%);
  max-height: min(60dvh, 610px);
  object-fit: contain;
  object-position: center center;
  animation: float-vovo-center 4.8s ease-in-out infinite;
  will-change: transform;
}

.orbit-item {
  position: absolute;
  left: 50%;
  top: var(--orbit-center-y);
  z-index: 5;
  width: 1px;
  height: 1px;
  pointer-events: none;
  transform: translate(-50%, -50%);
  will-change: transform;
}

.grandkid {
  display: block;
  width: clamp(82px, 12vw, 152px);
  max-width: none;
  object-fit: contain;
  pointer-events: none;
  filter: drop-shadow(0 12px 18px rgba(21, 16, 15, .28));
  transform-origin: center center;
  transition: opacity .18s ease;
}

.kid-one {
  --kid-width: clamp(104px, 13vw, 174px);
}

.kid-two {
  --kid-width: clamp(92px, 12vw, 158px);
}

.kid-three {
  --kid-width: clamp(104px, 13vw, 174px);
}

.kid-four {
  --kid-width: clamp(108px, 13vw, 178px);
}

.orbit-item .grandkid { width: var(--kid-width); }

.hero-family figcaption,
.mavie-photo figcaption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 7;
  border: 3px solid var(--ink);
  border-radius: 999px;
  padding: 8px 12px;
  background: var(--yellow);
  font-weight: 900;
}

.ticker {
  position: relative;
  z-index: 3;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  display: flex;
  overflow: hidden;
  border-block: 3px solid var(--ink);
  background: var(--ink);
  color: var(--white);
}

.ticker span {
  flex: 0 0 auto;
  padding: 14px 28px;
  font-family: "Fredoka", sans-serif;
  font-size: clamp(18px, 2.4vw, 30px);
  font-weight: 700;
  text-transform: uppercase;
}

.ticker span:nth-child(2n) { background: var(--hot); }
.ticker span:nth-child(3n) { background: var(--green); }

.section {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 78px 0;
}

.section-title {
  max-width: 850px;
  margin-bottom: 28px;
}

.section-title h2,
.mavie-copy h2 {
  margin-bottom: 0;
  font-size: clamp(42px, 7vw, 94px);
  line-height: .88;
  font-weight: 700;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.proof-card {
  min-height: 500px;
  display: grid;
  align-content: space-between;
  border: 3px solid var(--ink);
  border-radius: 18px;
  padding: 20px;
  overflow: hidden;
  box-shadow: 8px 8px 0 var(--ink);
}

.proof-card img {
  width: 100%;
  height: 290px;
  object-fit: contain;
  margin-bottom: 16px;
}

.proof-card.photo img {
  object-fit: cover;
  border: 3px solid var(--ink);
  border-radius: 14px;
}

.proof-card.cow { background: var(--mint); }
.proof-card.chair { background: var(--yellow); }
.proof-card.photo { background: var(--pink); }

.proof-card p {
  margin-bottom: 8px;
  font-weight: 900;
  text-transform: uppercase;
}

.proof-card h3 {
  margin-bottom: 10px;
  font-size: 34px;
  line-height: .94;
}

.proof-card span {
  font-weight: 800;
  line-height: 1.5;
}

.mavie-band {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 500px);
  gap: 36px;
  align-items: center;
  padding: 82px max(18px, calc((100vw - 1180px) / 2));
  border-block: 3px solid var(--ink);
  background: var(--cream);
}

.mavie-copy p:last-child {
  max-width: 660px;
  margin: 18px 0 0;
  color: rgba(21, 16, 15, .76);
  font-size: 18px;
  line-height: 1.7;
}

.mavie-photo {
  position: relative;
  margin: 0;
  border: 3px solid var(--ink);
  border-radius: 18px;
  overflow: hidden;
  background: var(--white);
  box-shadow: 10px 10px 0 var(--ink);
  transform: rotate(-2deg);
}

.mavie-photo img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: 35% center;
}

.charge-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.charge-list div {
  min-height: 142px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 3px solid var(--ink);
  border-radius: 18px;
  padding: 16px;
  background: var(--white);
  box-shadow: 6px 6px 0 var(--ink);
}

.charge-list strong {
  font-family: "Fredoka", sans-serif;
  font-size: 42px;
  line-height: .9;
}

.charge-list span { font-weight: 900; }

.gallery-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(270px, .95fr);
  gap: 18px;
  align-items: stretch;
}

.gallery-stage {
  min-height: 650px;
  border: 3px solid var(--ink);
  border-radius: 18px;
  overflow: hidden;
  background: var(--cream);
  box-shadow: 10px 10px 0 var(--ink);
}

.gallery-stage img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background:
    linear-gradient(90deg, rgba(139, 75, 36, .10) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 75, 147, .14) 1px, transparent 1px),
    var(--cream);
  background-size: 32px 32px;
}

.gallery-list {
  display: grid;
  gap: 12px;
}

.gallery-item {
  display: grid;
  grid-template-columns: 104px 1fr;
  gap: 14px;
  align-items: center;
  min-height: 120px;
  border: 3px solid var(--ink);
  border-radius: 18px;
  padding: 10px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-weight: 900;
  text-align: left;
  cursor: pointer;
  box-shadow: 5px 5px 0 rgba(21, 16, 15, .9);
  transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease;
}

.gallery-item:hover,
.gallery-item.is-active {
  transform: translate(2px, 2px);
  background: var(--yellow);
  box-shadow: 3px 3px 0 rgba(21, 16, 15, .9);
}

.gallery-item img {
  width: 104px;
  height: 96px;
  object-fit: cover;
  border-radius: 14px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 28px max(18px, calc((100vw - 1180px) / 2));
  background: var(--ink);
  color: var(--white);
  font-weight: 900;
}

.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  border: 3px solid var(--ink);
  border-radius: 18px;
  background: #25d366;
  color: var(--white);
  box-shadow: 6px 6px 0 var(--ink);
  transition: transform .2s ease, box-shadow .2s ease;
}

.whatsapp-float:hover {
  transform: translate(2px, 2px);
  box-shadow: 4px 4px 0 var(--ink);
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

@keyframes float-face-balloon {
  0% { transform: translate3d(0, 16vh, 0) scale(.74) rotate(-8deg); }
  50% { transform: translate3d(calc(var(--drift) * .45), -50vh, 0) scale(1) rotate(5deg); }
  100% { transform: translate3d(var(--drift), -124vh, 0) scale(1.14) rotate(-4deg); }
}

@keyframes float-vovo {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(-1.2deg); }
  50% { transform: translate3d(0, -16px, 0) rotate(1.2deg); }
}

@keyframes float-vovo-center {
  0%, 100% { transform: translate(-50%, -50%) translate3d(0, 0, 0) rotate(-1deg); }
  50% { transform: translate(-50%, -50%) translate3d(0, -14px, 0) rotate(1deg); }
}

@media (max-width: 900px) {
  .farm-nav { top: 10px; }
  .farm-nav nav { display: none; }
  .hero-farm { padding-top: 96px; }
  .hero-grid,
  .mavie-band,
  .gallery-shell {
    grid-template-columns: 1fr;
  }
  .hero-copy { padding-bottom: 20px; }
  .hero-family {
    --orbit-x: 202px;
    --orbit-y: 154px;
    --orbit-center-y: 50%;
    width: min(520px, 94%);
    min-height: min(62dvh, 640px);
  }
  .orbit-stage {
    height: min(62dvh, 640px);
    min-height: 560px;
  }
  .family-main {
    width: min(300px, 58%);
    max-height: min(50dvh, 560px);
  }
  .kid-one { --kid-width: clamp(88px, 18vw, 146px); }
  .kid-two { --kid-width: clamp(82px, 17vw, 136px); }
  .kid-three { --kid-width: clamp(88px, 18vw, 146px); }
  .kid-four { --kid-width: clamp(90px, 18vw, 148px); }
  .section { width: min(100% - 24px, 680px); padding: 58px 0; }
  .gallery-stage { min-height: 520px; }
  .charge-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer { flex-direction: column; padding-bottom: 96px; }
  .whatsapp-float { right: 14px; bottom: 14px; width: 58px; height: 58px; }
}

@media (max-width: 520px) {
  .hero-farm { padding-inline: 14px; }
  h1 { font-size: clamp(50px, 16vw, 76px); }
  .headline { font-size: clamp(28px, 9.5vw, 42px); }
  .lead { font-size: 17px; }
  .hero-actions { flex-direction: row; }
  .button {
    flex: 1 1 0;
    min-width: 0;
    padding: 0 12px;
  }
  .hero-family {
    --orbit-x: 142px;
    --orbit-y: 112px;
    --orbit-center-y: 50%;
    width: 100%;
    min-height: 500px;
    filter: drop-shadow(8px 12px 0 rgba(21, 16, 15, .20));
  }
  .hero-family::before { width: min(360px, 96%); }
  .hero-family::after { bottom: 8%; width: min(300px, 82%); }
  .orbit-stage {
    height: 500px;
    min-height: 500px;
  }
  .family-main { width: min(220px, 58%); }
  .orbit-path { border-width: 2px; }
  .kid-one { --kid-width: clamp(70px, 22vw, 100px); }
  .kid-two { --kid-width: clamp(64px, 20vw, 94px); }
  .kid-three { --kid-width: clamp(70px, 22vw, 100px); }
  .kid-four { --kid-width: clamp(72px, 22vw, 102px); }
  .hero-family figcaption {
    left: 10px;
    right: 10px;
    bottom: 8px;
    text-align: center;
  }
  .charge-list { grid-template-columns: 1fr; }
  .gallery-item { grid-template-columns: 86px 1fr; min-height: 104px; }
  .gallery-item img { width: 86px; height: 82px; }
  .mavie-photo img { height: 460px; }
}

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