/* Finally Found website styles */
/* Handwritten font: Happy Monkey, loaded from Google Fonts in each page head */
@font-face { font-family: "Nunito Sans"; src: url("fonts/NunitoSans-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Nunito Sans"; src: url("fonts/NunitoSans-SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Nunito Sans"; src: url("fonts/NunitoSans-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }

:root {
  --blue: #15437a;
  --blue-deep: #0f3463;
  --mint: #64cebb;
  --lilac: #e6c7eb;
  --white: #ffffff;
  --ink: #15437a;
  --muted: #4b6a90;
  --hand: "Happy Monkey", "Comic Neue", "Chalkboard SE", "Comic Sans MS", cursive;
  --sans: "Nunito Sans", "Helvetica Neue", Arial, sans-serif;
  --radius: 22px;
  --wrap: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.hand { font-family: var(--hand); font-weight: 400; line-height: 1.05; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Header */
.site-header {
  --gap: 0px;
  position: fixed; z-index: 50; top: 0; left: 0; right: 0;
  background: var(--blue);
  color: var(--white);
  border-radius: 0;
  transition: top .35s ease, left .35s ease, right .35s ease, border-radius .35s ease, box-shadow .35s ease;
}
.site-header .nav { transition: height .35s ease; }
/* Scrolled: header lifts off the edges into a floating island with softly rounded corners */
.site-header.scrolled {
  top: 12px;
  left: max(16px, calc((100% - var(--wrap) - 40px) / 2));
  right: max(16px, calc((100% - var(--wrap) - 40px) / 2));
  border-radius: 18px;
  box-shadow: 0 12px 34px rgba(10, 30, 60, .28), 0 0 0 1px rgba(255, 255, 255, .08) inset;
}
.site-header.scrolled .nav { height: 64px; width: calc(100% - 48px); }
main { padding-top: 84px; }
.nav { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.brand img { height: 30px; width: auto; }
.nav-links { display: flex; gap: 40px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  text-decoration: none; font-size: 15px; padding: 6px 0;
  border-bottom: 2px solid transparent; transition: border-color .2s ease;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { border-color: var(--mint); color: var(--mint); }
.menu-btn {
  display: none; background: none; border: 0; color: var(--white);
  width: 44px; height: 44px; cursor: pointer; padding: 10px;
}
.menu-btn span { display: block; height: 2px; background: currentColor; margin: 5px 0; border-radius: 2px; transition: transform .25s ease, opacity .25s ease; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Buttons */
.btn {
  display: inline-block; text-decoration: none; cursor: pointer;
  font: 600 15px var(--sans); padding: 13px 30px; border-radius: 999px;
  background: var(--blue); color: var(--white); border: 2px solid var(--blue);
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-2px); background: var(--blue-deep); }
.btn-outline { background: transparent; color: var(--white); border-color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--blue); }
.btn-white { background: var(--white); color: var(--blue); border-color: var(--white); }
.btn-white:hover { background: var(--lilac); border-color: var(--lilac); }
.btn-mint, .btn-wa { background: var(--mint); color: var(--blue); border-color: var(--mint); }
.btn-mint:hover, .btn-wa:hover { background: #4fbfaa; border-color: #4fbfaa; }
.btn-wa { display: inline-flex; align-items: center; justify-content: center; gap: 10px; white-space: nowrap; }
.wa-icon { width: 20px; height: 20px; flex: none; }
.btn-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* Floating art */
.art { position: absolute; pointer-events: none; user-select: none; }
.float { animation: float 6s ease-in-out infinite; }
.float.slow { animation-duration: 8s; }
.float.delay { animation-delay: -3s; }
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(var(--r, 0deg)); }
  50% { transform: translateY(-14px) rotate(var(--r, 0deg)); }
}
.spin { animation: spin 40s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  background: var(--blue); color: var(--white);
  min-height: calc(100vh - 84px); min-height: calc(100svh - 84px);
  display: grid; place-items: center; text-align: center;
  padding: 80px 20px 140px;
}
.hero h1 { font-size: clamp(56px, 9vw, 116px); margin: 0 0 28px; }
.hero p { max-width: 520px; margin: 0 auto 36px; font-size: 17px; opacity: .92; }
.hero .art.swirl { opacity: .35; }
.hero .art, .page-hero .art { z-index: 1; }
.hero-inner, .page-hero h1, .page-hero p { position: relative; z-index: 3; }
.hero-ground {
  position: absolute; left: 0; right: 0; bottom: -1px; height: 90px; z-index: 0;
  background: var(--white);
  clip-path: ellipse(75% 100% at 50% 100%);
}

/* Section titles */
.section { padding: 110px 0; position: relative; }
.section-title { font-size: clamp(42px, 6vw, 72px); text-align: center; margin: 0 0 14px; }
.section-lead { text-align: center; max-width: 560px; margin: 0 auto 56px; color: var(--muted); }

/* Collections */
.collections { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.collection { text-decoration: none; text-align: center; }
.collection figure { margin: 0 0 18px; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; background: var(--lilac); }
.collection img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.collection:hover img { transform: scale(1.06); }
.collection h3 { font-family: var(--hand); font-weight: 400; font-size: 30px; margin: 0 0 4px; }
.collection p { margin: 0; font-size: 14px; color: var(--muted); }
.center { text-align: center; margin-top: 54px; }

/* Pop-up split */
.popup-split { display: grid; grid-template-columns: 1fr 1fr; min-height: 620px; }
.popup-copy {
  position: relative; background: var(--blue); color: var(--white);
  display: grid; place-items: center; padding: 150px 40px 110px; overflow: hidden;
}
.popup-card {
  position: relative; z-index: 1; color: var(--blue);
  padding: 40px 46px 34px; width: min(100%, 470px); text-align: center;
}
.on-cloud { position: absolute; z-index: 2; pointer-events: none; }
.sheep-on-top { width: 120px; left: 50%; top: -128px; margin-left: -60px; }
.flower-left { width: 40px; left: 2%; bottom: -36px; }
.flower-right { width: 30px; right: 6%; bottom: -30px; }
.popup-card h2 { font-size: clamp(42px, 5vw, 64px); margin: 0 0 18px; }
.popup-card p { margin: 0 0 30px; color: var(--muted); }
.popup-photo { position: relative; overflow: hidden; }
.popup-photo img { width: 100%; height: 100%; object-fit: cover; }

/* Contact cloud */
.cloud-section { background: var(--mint); padding: 230px 20px 170px; position: relative; overflow: hidden; }
.cloud {
  position: relative; max-width: 700px; margin: 0 auto;
  color: var(--white); text-align: center;
  padding: 40px 60px 50px;
}
.cloud .sheep { width: 110px; margin: -70px auto 14px; }

/* Shared cloud shape: a rounded body with round puffs. Puffs keep their aspect ratio,
   so the cloud grows taller with its content instead of stretching. */
.cloudbox { position: relative; isolation: isolate; }
.cloudbox > h2, .cloudbox > p, .cloudbox > .btn, .cloudbox > .btn-row, .cloudbox > .sheep { position: relative; z-index: 1; }
.cloud-body { position: absolute; inset: 0; z-index: 0; border-radius: 110px; background: var(--cloud, var(--blue)); }
.cloud-white { --cloud: var(--white); }
.cloud-blue { --cloud: var(--blue); }
.puff { position: absolute; aspect-ratio: 1; border-radius: 50%; background: inherit; }
.puff.p1 { width: 40%; left: 3%; top: 0; transform: translateY(-30%); }
.puff.p2 { width: 48%; left: 26%; top: 0; transform: translateY(-40%); }
.puff.p3 { width: 38%; right: 3%; top: 0; transform: translateY(-26%); }
.puff.p4 { width: 42%; left: 9%; bottom: 0; transform: translateY(24%); }
.puff.p5 { width: 44%; right: 9%; bottom: 0; transform: translateY(26%); }
.cloud h2 { font-size: clamp(42px, 6vw, 68px); margin: 0 0 16px; }
.cloud p { max-width: 420px; margin: 0 auto 30px; opacity: .92; }

/* Footer */
.site-footer { background: var(--blue); color: var(--white); padding: 70px 0 34px; position: relative; overflow: hidden; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; align-items: start; }
.footer-grid img.logo { height: 26px; width: auto; margin-bottom: 18px; }
.footer-grid p { margin: 0; opacity: .85; font-size: 15px; max-width: 320px; }
.footer-grid h4 { font-family: var(--hand); font-weight: 400; font-size: 24px; margin: 0 0 12px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: 15px; }
.footer-grid a { text-decoration: none; opacity: .9; }
.footer-grid a:hover { opacity: 1; text-decoration: underline; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.18); margin-top: 50px; padding-top: 22px; font-size: 13px;
  display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap;
}
.footer-bottom > * { opacity: .75; }
.footer-bottom a { text-decoration: none; }
.footer-bottom a:hover { opacity: 1; text-decoration: underline; }

/* Page hero (inner pages) */
.page-hero {
  position: relative; overflow: hidden; text-align: center;
  background: var(--blue); color: var(--white); padding: 90px 20px 130px;
}
.page-hero h1 { font-size: clamp(52px, 8vw, 96px); margin: 0 0 16px; }
.page-hero p { max-width: 560px; margin: 0 auto; opacity: .92; }
.page-hero .page-swirl { opacity: .45; }

/* Product filters + grid */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 46px; }
.filter {
  font: 15px var(--sans); cursor: pointer; padding: 10px 22px; border-radius: 999px;
  border: 2px solid var(--blue); background: transparent; color: var(--blue);
  transition: background .2s ease, color .2s ease;
}
.filter:hover { background: rgba(100, 206, 187, .18); }
.filter[aria-pressed="true"], .filter[aria-current] { background: var(--mint); border-color: var(--mint); color: var(--blue); }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.tile {
  margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--lilac);
  position: relative; cursor: zoom-in; aspect-ratio: 1;
}
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.tile:hover img { transform: scale(1.05); }
.tile figcaption {
  position: absolute; left: 14px; bottom: 14px;
  background: var(--mint); color: var(--blue); font-size: 13px;
  padding: 6px 14px; border-radius: 999px;
}
.tile.hide { display: none; }

/* Products by category */
.cat-nav { padding: 14px 0; border-bottom: 1px solid #e3e9f1; }
.cat-nav .filters { margin: 0 auto; scrollbar-width: none; }
.cat-nav a.filter { text-decoration: none; }
.category { padding: 90px 0 20px; scroll-margin-top: 70px; }
.category + .category { border-top: 1px solid #e3e9f1; margin-top: 70px; }
.cat-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 34px; flex-wrap: wrap; }
.cat-head h2 { font-size: clamp(44px, 6vw, 68px); margin: 0; }
.cat-head p { margin: 0; max-width: 420px; color: var(--muted); }
.type { margin-bottom: 46px; }
.type h3 { font-family: var(--sans); font-weight: 700; font-size: 20px; margin: 0 0 18px; display: flex; align-items: center; gap: 10px; }
.type h3 span { font-weight: 600; font-size: 13px; background: var(--mint); padding: 3px 11px; border-radius: 999px; }
.grid.four { grid-template-columns: repeat(4, 1fr); }
.coming {
  border: 2px dashed var(--mint); border-radius: var(--radius); padding: 60px 30px; text-align: center;
  display: grid; place-items: center; gap: 14px; color: var(--muted); background: rgba(100, 206, 187, .12);
}
.coming img { width: 120px; }
.coming h3 { font-family: var(--hand); font-weight: 400; font-size: 34px; color: var(--blue); margin: 0; }
.coming p { margin: 0; max-width: 380px; }
.coming .btn-wa { white-space: normal; max-width: 100%; text-align: center; }
.collection figure.placeholder { display: grid; place-items: center; background: var(--mint); }
.collection figure.placeholder img { width: 55%; height: auto; object-fit: contain; }

/* Pop-up gallery (masonry) */
.masonry { columns: 3 280px; column-gap: 22px; }
.masonry .tile { aspect-ratio: auto; margin-bottom: 22px; break-inside: avoid; }
.masonry .tile img { height: auto; }

/* Custom orders band */
.band { background: var(--mint); border-radius: 32px; padding: 60px; display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; position: relative; overflow: hidden; }
.band h2 { font-size: clamp(36px, 4.5vw, 54px); margin: 0 0 10px; }
.band p { margin: 0; color: var(--blue); max-width: 520px; }

/* Contact page */
.contact-card {
  max-width: 640px; margin: 0 auto; text-align: center;
  background: var(--blue); color: var(--white); border-radius: 28px;
  padding: 90px 40px 50px; position: relative;
}
.contact-card .sheep { position: absolute; width: 130px; left: 50%; top: -62px; margin-left: -65px; }
.contact-card h2 { font-size: 52px; margin: 0 0 10px; }
.contact-lead { margin: 0 auto 26px; opacity: .9; }
.contact-card .btn-wa { font-size: 17px; padding: 16px 34px; }
.contact-list {
  margin: 40px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
.contact-list > div { background: rgba(255, 255, 255, .08); border-radius: 18px; padding: 18px 16px; }
.contact-list dt { font-size: 13px; color: var(--mint); font-weight: 700; }
.contact-list dd { margin: 4px 0 0; font-size: 17px; overflow-wrap: anywhere; }
.contact-list dd a { text-decoration: none; }
.contact-list dd a:hover { text-decoration: underline; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 100; background: rgba(10, 28, 54, .92);
  display: none; place-items: center; padding: 30px;
}
.lightbox.open { display: grid; }
.lightbox img { max-height: 86vh; width: auto; border-radius: 16px; }
.lightbox button {
  position: absolute; top: 20px; right: 24px; background: var(--white); color: var(--blue);
  border: 0; width: 46px; height: 46px; border-radius: 50%; font-size: 26px; cursor: pointer; line-height: 1;
}

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 960px) {
  .collections { grid-template-columns: repeat(2, 1fr); }
  .popup-split { grid-template-columns: 1fr; }
  .popup-photo { height: 420px; }
  .grid, .grid.four { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .band { grid-template-columns: 1fr; padding: 44px 30px; }
}
@media (max-width: 720px) {
  .nav { height: 70px; }
  main { padding-top: 70px; }
  .site-header.scrolled { top: 10px; left: 12px; right: 12px; border-radius: 16px; }
  .site-header.scrolled .nav { height: 58px; width: calc(100% - 32px); }
  .brand img { height: 24px; }
  .menu-btn { display: block; }
  /* Full-page menu: sits behind the logo and close button, covers everything else */
  .nav-links {
    position: fixed; inset: 0; z-index: -1; background: var(--mint);
    flex-direction: column; align-items: center; justify-content: center; gap: 30px;
    padding: 90px 20px 40px;
    opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s;
  }
  .nav-links.open { opacity: 1; visibility: visible; }
  .nav-links li { opacity: 0; transform: translateY(14px); transition: opacity .4s ease, transform .4s ease; }
  .nav-links.open li { opacity: 1; transform: none; }
  .nav-links.open li:nth-child(2) { transition-delay: .06s; }
  .nav-links.open li:nth-child(3) { transition-delay: .12s; }
  .nav-links.open li:nth-child(4) { transition-delay: .18s; }
  .nav-links a {
    display: block; font-family: var(--sans); font-weight: 600; font-size: 46px; line-height: 1.1;
    color: var(--blue); padding: 4px 10px; border: 0; text-align: center;
  }
  .nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--blue); border: 0; }
  .nav-links a[aria-current="page"] { color: var(--white); }
  .site-header.menu-open { box-shadow: none; }
  .site-header.menu-open .menu-btn { color: var(--blue); }
  .site-header.menu-open .brand img {
    filter: brightness(0) saturate(100%) invert(20%) sepia(43%) saturate(2168%) hue-rotate(196deg) brightness(91%) contrast(92%);
  }
  .hero { min-height: calc(100svh - 70px); padding: 130px 20px 200px; }
  .hero h1 { margin-bottom: 22px; font-size: 11vw; }
  .hero .hero-sheep-top { width: 92px !important; top: 22px !important; right: 18px !important; }
  .hero .hero-sheep-bottom { width: 118px !important; bottom: 46px !important; left: 14px !important; }
  .hero .art.swirl { width: 150px !important; top: -30px !important; right: -60px !important; opacity: .25; }
  .hero .heart-a, .page-hero .heart-a { width: 34px !important; top: 30px !important; left: 22px !important; }
  .page-hero { padding: 80px 20px 120px; }
  .page-hero .page-swirl { width: 120px !important; top: -50px !important; right: -50px !important; left: auto !important; opacity: .3; }
  .section { padding: 80px 0; }
  .collections { gap: 18px; }
  .collection h3 { font-size: 24px; }
  .grid, .grid.four { grid-template-columns: 1fr 1fr; gap: 14px; }
  .cat-nav .filter { padding: 8px 18px; }
  .category { padding-top: 60px; scroll-margin-top: 50px; }
  .coming { padding: 44px 20px; }
  .coming h3 { font-size: 30px; }
  .tile figcaption { font-size: 12px; left: 10px; bottom: 10px; }
  .popup-copy { padding: 130px 20px 90px; }
  .popup-card { padding: 30px 26px 26px; }
  .sheep-on-top { width: 100px; top: -104px; margin-left: -50px; }
  .cloud-section { padding: 150px 16px 110px; }
  .cloud { padding: 30px 22px 36px; }
  .cloud .sheep { width: 90px; margin-top: -58px; }
  .cloud-body { border-radius: 70px; }
  .footer-bottom { justify-content: space-between; }
  .contact-card { padding: 80px 22px 34px; }
  .contact-list { grid-template-columns: 1fr; }
  .contact-card .btn-wa { font-size: 16px; padding: 14px 22px; }
  .art.hide-sm { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .float, .spin { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition: none !important; }
}

/* ---------- Welcome screen (home page, once per visit) ---------- */
.intro {
  position: fixed; inset: 0; z-index: 200; background: var(--mint); overflow: visible;
  display: grid; place-items: center; text-align: center; color: var(--blue);
  transition: transform .95s cubic-bezier(.7, 0, .2, 1);
}
/* scalloped cloud edge that passes over the page as the screen lifts */
.intro::after {
  content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 44px;
  background: radial-gradient(circle at 50% 0, var(--white) 31px, transparent 32px) 0 0 / 64px 44px repeat-x;
}
.no-intro .intro { display: none; }
html.intro-on, html.intro-on body { overflow: hidden; }
html.intro-leave .intro { transform: translateY(calc(-100% - 50px)); }
.intro-inner { position: relative; z-index: 2; padding: 0 24px; margin-top: -8vh; }
.intro-logo {
  width: min(78vw, 430px); height: auto; margin: 0 auto;
  filter: brightness(0) saturate(100%) invert(20%) sepia(43%) saturate(2168%) hue-rotate(196deg) brightness(91%) contrast(92%);
  opacity: 0;
  animation: soft-fade 1.6s .4s ease forwards;
}
/* Slow, gentle fade: logo first, then the tagline */
@keyframes soft-fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.intro-tag {
  font-size: clamp(26px, 4.4vw, 40px); margin: 22px 0 0;
  opacity: 0; animation: soft-fade 1.6s 2s ease forwards;
}
@keyframes rise { to { opacity: 1; transform: none; } }
.intro-hill {
  position: absolute; left: -10%; right: -10%; bottom: -1px; height: 22vh; min-height: 130px;
  background: var(--white); border-radius: 50% 50% 0 0 / 100% 100% 0 0; z-index: 1;
}
.intro-flower { position: absolute; z-index: 2; bottom: calc(22vh - 40px); opacity: 0; animation: rise .5s 1.5s ease forwards; }
.intro-flower.f1 { width: 42px; left: 14%; }
.intro-flower.f2 { width: 30px; right: 18%; animation-delay: 1.7s; bottom: calc(22vh - 34px); }
.intro-swirl { position: absolute; width: 260px; right: -60px; top: -40px; opacity: .25; animation: spin 40s linear infinite; }
.intro-walker {
  position: absolute; z-index: 3; bottom: calc(22vh - 34px); left: 100%;
  animation: walk-in 1.9s .1s cubic-bezier(.25, .6, .35, 1) forwards;
}
.intro-walker img { width: clamp(110px, 16vw, 170px); animation: hop .38s ease-in-out 5; }
@keyframes walk-in { to { left: 50%; transform: translateX(-50%); } }
@keyframes hop { 50% { transform: translateY(-14px) rotate(-3deg); } }
.intro-skip {
  position: absolute; z-index: 4; right: 22px; bottom: 22px;
  font: 600 14px var(--sans); color: var(--blue); background: transparent;
  border: 2px solid var(--blue); border-radius: 999px; padding: 8px 18px; cursor: pointer;
  opacity: 0; animation: rise .4s .6s ease forwards;
}
.intro-skip:hover { background: var(--blue); color: var(--white); }

/* Hero entrance after the welcome screen (or straight away on later visits) */
.js .hero-inner > * { opacity: 0; transform: translateY(22px); }
.hero-go .hero-inner > * { opacity: 1; transform: none; transition: opacity .8s ease, transform .8s ease; }
.hero-go .hero-inner > *:nth-child(2) { transition-delay: .12s; }
.hero-go .hero-inner > *:nth-child(3) { transition-delay: .24s; }

/* ---------- Sheep that react ---------- */
img.sheep-react { pointer-events: auto; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.sheep-react.boing { animation: boing .6s ease; }
.float.sheep-react.boing { animation: boing .6s ease, float 6s ease-in-out infinite; }
@keyframes boing {
  0% { scale: 1; rotate: 0deg; }
  25% { scale: 1.08 .92; translate: 0 4px; }
  50% { scale: .96 1.08; translate: 0 -16px; rotate: -6deg; }
  75% { scale: 1.03 .97; translate: 0 0; rotate: 4deg; }
  100% { scale: 1; rotate: 0deg; }
}
.baa {
  position: absolute; z-index: 150; pointer-events: none;
  background: var(--white); color: var(--blue); font-family: var(--hand); font-size: 22px; line-height: 1;
  padding: 10px 18px 11px; border-radius: 18px; box-shadow: 0 10px 24px rgba(10, 30, 60, .22);
  white-space: nowrap; font-size: 26px; border: 2px solid var(--mint);
  animation: baa 1.8s ease forwards;
}
.baa::after {
  content: ""; position: absolute; left: var(--tail, 18px); bottom: -8px; width: 14px; height: 14px;
  border-right: 2px solid var(--mint); border-bottom: 2px solid var(--mint);
  background: var(--white); transform: rotate(45deg); border-radius: 2px;
}
@keyframes baa {
  0% { opacity: 0; transform: translateY(8px) scale(.7); }
  15% { opacity: 1; transform: translateY(0) scale(1.05); }
  25% { transform: scale(1); }
  85% { opacity: 1; }
  100% { opacity: 0; transform: translateY(-14px); }
}
.pop-heart {
  position: absolute; z-index: 150; pointer-events: none; width: 22px;
  animation: pop-heart 1.1s ease-out forwards;
}
@keyframes pop-heart {
  0% { opacity: 0; transform: translate(0, 0) scale(.4); }
  20% { opacity: 1; }
  100% { opacity: 0; transform: translate(var(--dx), -70px) scale(1.1) rotate(var(--rot)); }
}

/* ---------- Gentle scroll movement: JS sets the translate property, separate from the float animation ---------- */
[data-speed] { will-change: translate; }
.popup-photo img { scale: 1.12; }

@media (prefers-reduced-motion: reduce) {
  .js .hero-inner > * { opacity: 1; transform: none; }
  .sheep-react.boing, .float.sheep-react.boing { animation: none; }
  [data-speed] { translate: none !important; }
  .popup-photo img { scale: 1; }
}

/* ---------- About page ---------- */
.page-hero .lead-lg { font-size: clamp(18px, 2.2vw, 22px); }
.story { display: grid; grid-template-columns: 1.05fr .95fr; gap: 70px; align-items: center; }
.story-copy p { font-size: 19px; line-height: 1.7; margin: 0 0 22px; color: var(--ink); }
.story-copy p:last-child { margin-bottom: 0; }
.story-turn { font-size: clamp(32px, 3.6vw, 44px) !important; line-height: 1.15 !important; color: var(--blue); }
.story-photo { position: relative; margin: 0; }
.story-photo > img:first-child { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 28px; }
.story-flower { position: absolute; width: 54px; left: -20px; bottom: -24px; }
.pull {
  text-align: center; font-size: clamp(32px, 4.4vw, 54px); line-height: 1.15;
  max-width: 820px; margin: 90px auto 0; color: var(--blue);
}

.why-section { background: var(--mint); padding: 230px 20px 170px; position: relative; overflow: hidden; }
.why { max-width: 700px; margin: 0 auto; text-align: center; color: var(--blue); padding: 40px 60px 50px; }
.why > p { position: relative; z-index: 1; font-size: 18px; line-height: 1.7; margin: 0 auto 14px; max-width: 520px; }
.why .sheep { width: 120px; margin: -80px auto 10px; display: block; }
.why h2 { font-size: clamp(40px, 5.6vw, 62px); margin: 0 0 20px; }
.why .grace { font-size: clamp(34px, 4.4vw, 48px); margin-top: 22px; color: var(--blue); }

.believe-section { background: var(--blue); color: var(--white); padding: 120px 0 130px; position: relative; overflow: hidden; }
.believe { text-align: center; position: relative; z-index: 2; }
.believe h2 { font-size: clamp(44px, 6vw, 72px); margin: 0 0 18px; }
.believe-lead { font-size: 20px; margin: 0 auto 34px; opacity: .92; }
.believe-lines { list-style: none; padding: 0; margin: 0 auto 34px; display: grid; gap: 12px; justify-items: center; }
.believe-lines li {
  font-family: var(--hand); font-size: clamp(28px, 3.4vw, 40px); line-height: 1.15;
  padding: 10px 26px; border-radius: 999px; background: rgba(255, 255, 255, .07);
}
.believe-lines li:nth-child(even) { background: rgba(100, 206, 187, .2); }
.believe-end { font-size: clamp(30px, 3.8vw, 46px); max-width: 720px; margin: 0 auto 40px; color: var(--mint); }

@media (max-width: 960px) {
  .story { grid-template-columns: 1fr; gap: 44px; }
  .story-photo { max-width: 520px; margin: 0 auto; }
}
@media (max-width: 720px) {
  .story-copy p { font-size: 17px; }
  .pull { margin-top: 64px; }
  .why-section { padding: 150px 16px 110px; }
  .why { padding: 30px 22px 36px; }
  .why .sheep { width: 96px; margin-top: -64px; }
  .why > p { font-size: 16px; }
  .believe-section { padding: 90px 0 100px; }
  .believe-lines li { padding: 9px 18px; font-size: 22px; line-height: 1.25; border-radius: 22px; text-align: center; }
}

/* Stall photo is portrait: keep the banner and the person in frame */
.popup-photo img { object-position: 50% 58%; }
.hamper-ask { text-align: center; margin: 6px 0 20px; }
@media (max-width: 960px) { .popup-photo { height: 560px; } }
@media (max-width: 720px) { .popup-photo { height: 480px; } }

/* Flowers swaying slowly in a breeze: pivot from the stem base */
.sway { transform-origin: 50% 100%; animation: sway 5.5s ease-in-out infinite; }
.sway.s2 { animation-duration: 6.5s; animation-delay: -2s; }
.sway.s3 { animation-duration: 7.5s; animation-delay: -4s; }
@keyframes sway {
  0%, 100% { transform: rotate(-7deg); }
  50% { transform: rotate(7deg); }
}
.art.show-sm { display: none; }
@media (max-width: 720px) {
  .art.show-sm { display: block; }
  /* Hand-drawn swirls: larger, top right and bottom left, behind everything */
  .hero .art.swirl.m-swirl-tr { width: 250px !important; top: -60px !important; right: -90px !important; opacity: .45; filter: brightness(1.7); }
  .hero .art.swirl.m-swirl-bl { width: 230px !important; top: auto !important; right: auto !important; left: -90px; bottom: 80px; opacity: .45; filter: brightness(1.7); }
  .hero .art.swirl:not(.m-swirl-tr):not(.m-swirl-bl) { display: none; }
}
@media (prefers-reduced-motion: reduce) { .sway { animation: none; } }
.hero .art.swirl, .page-hero .art.swirl { z-index: 0; }
/* Speech bubble beside the sheep (when the menu bar is above it) */
.baa.side-left::after { left: auto; right: -8px; bottom: auto; top: 50%; margin-top: -7px; border: 0; border-top: 2px solid var(--mint); border-right: 2px solid var(--mint); }
.baa.side-right::after { left: -8px; bottom: auto; top: 50%; margin-top: -7px; border: 0; border-bottom: 2px solid var(--mint); border-left: 2px solid var(--mint); }

/* "Crafted by" + 8LM logo on the right of the footer bottom */
.footer-bottom { display: flex; justify-content: space-between; align-items: center; }
.footer-8lm { display: inline-flex; align-items: center; gap: 7px; }
.footer-8lm img { height: 14px; width: auto; display: block; }
/* Line break used only on phones */
.br-sm { display: none; }
@media (max-width: 720px) { .br-sm { display: inline; } }
