/*
  DigitalSheeps — playful sticker-book look.
  Sky blue, grass green, sunny yellow and bubblegum pink, chunky ink outlines
  with offset "sticker" shadows. Lilita One for headlines, Nunito for text.
*/
:root {
  --sky: #7cc6ff;
  --sky-2: #bfe5ff;
  --grass: #5cc46b;
  --grass-2: #3fa552;
  --sun: #ffd23f;
  --pink: #ff6fb1;
  --pink-2: #ffd6e8;
  --cream: #fff8ec;
  --ink: #1d1b3a;
  --muted: #4b4868;
  --line: 3px solid var(--ink);
  --pop: 6px 6px 0 var(--ink);
  --pop-sm: 4px 4px 0 var(--ink);
  --display: "Lilita One", "Arial Rounded MT Bold", system-ui, sans-serif;
  --sans: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  --bounce: cubic-bezier(.34, 1.56, .64, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; overflow-x: clip; }
body { margin: 0; font-family: var(--sans); font-weight: 500; color: var(--ink); background: var(--cream); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: clip; }
main { overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.05; margin: 0 0 .4em; }
h2 { font-size: clamp(2.3rem, 5.4vw, 4.2rem); text-wrap: balance; }
h3 { font-size: 1.45rem; }
p { margin: 0 0 1em; }
.wrap { width: min(1240px, 92%); margin: 0 auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hl { color: var(--pink); display: inline-block; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

.badge-pill { display: inline-block; background: #fff; border: var(--line); border-radius: 999px; padding: .35rem 1rem; font-weight: 800; font-size: .92rem; box-shadow: var(--pop-sm); transform: rotate(-2deg); margin-bottom: 1.2rem; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 1.6rem; border: var(--line); border-radius: 999px; font-weight: 900; font-size: 1.05rem; box-shadow: var(--pop-sm); transition: transform .2s var(--bounce), box-shadow .2s; cursor: pointer; }
.btn:hover { transform: translate(-2px, -2px) rotate(-2deg); box-shadow: 7px 7px 0 var(--ink); }
.btn:active { transform: translate(3px, 3px); box-shadow: 0 0 0 var(--ink); }
.btn-pink { background: var(--pink); color: #fff; }
.btn-yellow { background: var(--sun); }
.btn-white { background: #fff; }
.btn.big { min-height: 66px; font-size: 1.25rem; padding: 0 2rem; }
.btn:focus-visible, .flip:focus-visible, .snap:focus-visible, .counter:focus-visible, .panic:focus-visible, a:focus-visible { outline: 4px solid var(--pink); outline-offset: 4px; }

/* Progress */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 6px; z-index: 70; }
.progress span { display: block; height: 100%; background: repeating-linear-gradient(90deg, var(--pink) 0 20px, var(--sun) 20px 40px); transform-origin: 0 50%; transform: scaleX(0); }

/* Nav */
.nav { position: fixed; top: 10px; left: 0; right: 0; z-index: 60; }
.nav-inner { display: flex; align-items: center; gap: 1.5rem; height: 68px; background: #fff; border: var(--line); border-radius: 999px; padding: 0 .6rem 0 1rem; box-shadow: var(--pop-sm); }
.brand { display: flex; align-items: center; gap: .5rem; font-family: var(--display); font-size: 1.5rem; }
.brand img { transition: transform .5s var(--bounce); }
.brand:hover img { transform: rotate(-20deg) scale(1.15); }
.nav-links { display: flex; gap: 1.2rem; margin-left: auto; font-weight: 800; }
.nav-links a { padding: .3rem .1rem; position: relative; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; border-radius: 4px; background: var(--sun); transform: scaleX(0); transition: transform .3s var(--bounce); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-cta { min-height: 48px; font-size: .95rem; }
.burger { display: none; width: 48px; height: 48px; border: var(--line); border-radius: 50%; background: var(--sun); cursor: pointer; position: relative; margin-left: auto; }
.burger span { position: absolute; left: 12px; right: 12px; height: 3px; border-radius: 3px; background: var(--ink); transition: .3s var(--bounce); }
.burger span:nth-child(1) { top: 14px; } .burger span:nth-child(2) { top: 21px; } .burger span:nth-child(3) { top: 28px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* Hero */
.hero { position: relative; background: linear-gradient(180deg, var(--sky) 0%, var(--sky-2) 75%); padding: 130px 0 0; overflow: hidden; }
.sun { position: absolute; top: 90px; right: 6%; width: 120px; height: 120px; border-radius: 50%; background: var(--sun); border: var(--line); box-shadow: 0 0 0 18px rgba(255, 210, 63, .35), 0 0 0 40px rgba(255, 210, 63, .15); animation: spin 30s linear infinite; }
.sun::before { content: "😎"; position: absolute; inset: 0; display: grid; place-items: center; font-size: 3.4rem; }
@keyframes spin { to { transform: rotate(360deg); } }
.cloud { position: absolute; background: #fff; border-radius: 999px; border: var(--line); opacity: .95; }
.cloud::before, .cloud::after { content: ""; position: absolute; background: #fff; border: var(--line); border-bottom: 0; border-radius: 50% 50% 0 0; }
.c1 { width: 160px; height: 50px; top: 180px; left: -200px; animation: float-x 38s linear infinite; }
.c1::before { width: 70px; height: 40px; left: 22px; top: -30px; } .c1::after { width: 52px; height: 30px; left: 80px; top: -22px; }
.c2 { width: 120px; height: 40px; top: 120px; left: -200px; animation: float-x 52s linear infinite 12s; }
.c2::before { width: 54px; height: 32px; left: 16px; top: -24px; } .c2::after { width: 40px; height: 24px; left: 62px; top: -18px; }
.c3 { width: 200px; height: 56px; top: 420px; left: -260px; animation: float-x 64s linear infinite 26s; }
.c3::before { width: 86px; height: 50px; left: 30px; top: -38px; } .c3::after { width: 64px; height: 36px; left: 104px; top: -26px; }
@keyframes float-x { to { transform: translateX(calc(100vw + 400px)); } }

.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 3rem; align-items: center; }
.hero-title { font-size: clamp(3rem, 7vw, 6rem); line-height: .98; color: #fff; -webkit-text-stroke: 3px var(--ink); paint-order: stroke fill; text-shadow: 5px 5px 0 var(--ink); }
.hero-title .hl { color: var(--sun); }
.hero-title .char { display: inline-block; }
.hero-lead { font-size: 1.2rem; font-weight: 700; max-width: 32em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 1.6rem; }
.hero-art { position: relative; }
.polaroid { position: relative; background: #fff; border: var(--line); padding: 12px 12px 40px; box-shadow: var(--pop); border-radius: 6px; }
.tape { position: absolute; top: -16px; left: 50%; width: 110px; height: 30px; margin-left: -55px; background: rgba(255, 210, 63, .8); border: 2px dashed rgba(29, 27, 58, .25); transform: rotate(-4deg); z-index: 2; }
.hero-pic { transform: rotate(3deg); }
.hero-pic img { border: 2px solid var(--ink); border-radius: 4px; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.bubble-say { position: absolute; background: #fff; border: var(--line); border-radius: 22px; padding: .6rem 1rem; font-weight: 900; box-shadow: var(--pop-sm); white-space: nowrap; z-index: 3; }
.bubble-say::after { content: ""; position: absolute; width: 18px; height: 18px; background: #fff; border-right: var(--line); border-bottom: var(--line); bottom: -11px; left: 26px; transform: rotate(45deg); }
.say-1 { top: -26px; right: 8%; transform: rotate(4deg); }
.say-2 { bottom: 8px; left: -28px; transform: rotate(-5deg); background: var(--sun); }
.say-2::after { background: var(--sun); }

/* Counting sheep pasture */
.pasture { position: relative; height: 230px; margin-top: 2.5rem; }
.hills { position: absolute; inset: 0; }
.hills svg { width: 100%; height: 100%; display: block; }
.hill-back { fill: var(--grass); stroke: var(--ink); stroke-width: 3; }
.hill-front { fill: var(--grass-2); stroke: var(--ink); stroke-width: 3; }
.fence { position: absolute; left: 50%; bottom: 46px; width: 120px; height: 70px; margin-left: -60px; }
.fence span { position: absolute; background: #c98a4b; border: 3px solid var(--ink); border-radius: 4px; }
.fence span:nth-child(1) { left: 8px; bottom: 0; width: 16px; height: 70px; }
.fence span:nth-child(2) { right: 8px; bottom: 0; width: 16px; height: 70px; }
.fence span:nth-child(3) { left: 0; right: 0; top: 10px; height: 14px; }
.fence span:nth-child(4) { left: 0; right: 0; top: 36px; height: 14px; }
.jumper { position: absolute; bottom: 40px; left: -140px; width: 110px; z-index: 2; filter: drop-shadow(3px 3px 0 rgba(29, 27, 58, .35)); pointer-events: none; }
.counter { position: absolute; right: 4%; bottom: 90px; z-index: 3; background: #fff; border: var(--line); border-radius: 20px; box-shadow: var(--pop-sm); padding: .6rem 1.1rem; text-align: center; cursor: pointer; transition: rotate .2s var(--bounce), scale .2s var(--bounce), translate .2s var(--bounce); }
.counter:hover { rotate: -3deg; scale: 1.05; }
.counter-label { display: block; font-size: .75rem; font-weight: 800; color: var(--muted); }
.counter strong { display: block; font-family: var(--display); font-size: 2.2rem; line-height: 1; font-weight: 400; }
.counter-hint { font-size: .75rem; font-weight: 700; color: var(--pink); }

/* Marquee */
.marquee { background: var(--pink); color: #fff; border-top: var(--line); border-bottom: var(--line); overflow: hidden; padding: .9rem 0; transform: rotate(-1.5deg) scaleX(1.04); margin-top: -10px; position: relative; z-index: 3; }
.marquee-track { display: flex; gap: 1.8rem; width: max-content; animation: marquee 28s linear infinite; font-family: var(--display); font-size: 1.9rem; white-space: nowrap; -webkit-text-stroke: 1.5px var(--ink); paint-order: stroke fill; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.4rem; padding: 5rem 0 1rem; }
.stat { background: #fff; border: var(--line); border-radius: 22px; box-shadow: var(--pop-sm); padding: 1.3rem 1.4rem; transition: rotate .3s var(--bounce), scale .3s var(--bounce), translate .3s var(--bounce); }
.stat:hover { rotate: -3deg; scale: 1.04; }
.s1 { background: var(--sky-2); } .s2 { background: #dff5d8; } .s3 { background: var(--pink-2); } .s4 { background: #fff1cc; }
.stat strong { display: block; font-family: var(--display); font-weight: 400; font-size: clamp(2.4rem, 4.5vw, 3.6rem); line-height: 1; }
.stat span { font-weight: 800; color: var(--muted); }

/* Sections */
.section { padding: clamp(4.5rem, 9vw, 7.5rem) 0; position: relative; }
.head { max-width: 800px; margin-bottom: 3.2rem; }
.sub { font-size: 1.12rem; color: var(--muted); font-weight: 600; }

/* Services flip cards */
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.6rem; }
.flip { perspective: 1200px; height: 400px; cursor: pointer; outline: none; }
.flip-inner { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform .8s var(--bounce); }
.flip-inner { display: grid; }
.flip:focus-visible .flip-inner, .flip.flipped .flip-inner { transform: rotateY(180deg); }
@media (hover: hover) and (pointer: fine) { .flip:hover .flip-inner { transform: rotateY(180deg); } .flip:hover .front img { transform: scale(1.08) rotate(-4deg); } }
/* Safari can show the front face through the back on some phones: hide it once the card has turned. */
.front { transition: visibility 0s .3s; }
.flip.flipped .front { visibility: hidden; }
.flip:not(.flipped) .back { visibility: hidden; transition: visibility 0s .3s; }
@media (hover: hover) and (pointer: fine) { .flip:hover .front { visibility: hidden; } .flip:hover .back { visibility: visible; } }
.face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; border: var(--line); border-radius: 26px; box-shadow: var(--pop); padding: 1.2rem 1.3rem 1.4rem; display: flex; flex-direction: column; }
.front { background: var(--c, #fff); text-align: center; align-items: center; }
.front img { width: 82%; flex: 1; min-height: 0; object-fit: contain; margin-bottom: .6rem; transition: transform .5s var(--bounce); }
.front h3 { margin-bottom: .15em; }
.front p { font-weight: 700; color: var(--muted); margin: 0; font-size: .95rem; }
.back { background: var(--ink); color: #fff; transform: rotateY(180deg); justify-content: center; }
.back h3 { color: var(--sun); font-size: 1.6rem; }
.back p { font-weight: 600; }
.side { display: inline-block; margin-top: auto; background: var(--pink); color: #fff; border: 2px solid #fff; border-radius: 14px; padding: .5rem .8rem; font-weight: 900; font-size: .9rem; transform: rotate(-2deg); }

/* How it works */
.how { background: #dff5d8; border-top: var(--line); border-bottom: var(--line); }
.path-wrap { position: relative; }
.path-svg { position: absolute; left: 0; right: 0; top: 10px; width: 100%; height: 200px; }
#trail { stroke: var(--ink); }
.steps { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
.step { background: #fff; border: var(--line); border-radius: 26px; box-shadow: var(--pop); padding: 1.6rem; text-align: center; }
.step:nth-child(2) { transform: translateY(40px) rotate(1.5deg); }
.step:nth-child(1) { transform: rotate(-1.5deg); }
.step:nth-child(3) { transform: rotate(2deg); }
.step-emoji { display: inline-grid; place-items: center; width: 78px; height: 78px; border-radius: 50%; background: var(--sun); border: var(--line); font-size: 2.2rem; margin: -60px auto .8rem; box-shadow: var(--pop-sm); }
.step p { color: var(--muted); font-weight: 600; margin: 0; }
.meeting { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 3rem; align-items: center; margin: 6rem auto 0; max-width: 1000px; }
.tilt-r { transform: rotate(-3deg); }
.meet-img { border: 2px solid var(--ink); border-radius: 4px; }
.meeting figcaption { font-size: 1.2rem; font-weight: 600; }
.meeting figcaption strong { display: block; font-family: var(--display); font-weight: 400; font-size: 2rem; line-height: 1.1; margin-bottom: .4rem; }

/* Stress-o-meter */
.meter-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4rem; align-items: center; }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 22px; border-radius: 999px; border: var(--line); margin: 1.4rem 0 .6rem; background: linear-gradient(90deg, var(--grass), var(--sun), #ff7a59, var(--pink)); cursor: pointer; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 44px; height: 44px; border-radius: 50%; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Ctext x='50%25' y='58%25' font-size='24' text-anchor='middle' dominant-baseline='middle'%3E%F0%9F%90%91%3C/text%3E%3C/svg%3E") center / 80% no-repeat; border: var(--line); box-shadow: var(--pop-sm); transition: transform .2s var(--bounce); }
input[type=range]::-webkit-slider-thumb:hover { transform: scale(1.15) rotate(-10deg); }
input[type=range]::-moz-range-thumb { width: 38px; height: 38px; border-radius: 50%; background: #fff; border: var(--line); }
input[type=range]:focus-visible { outline: 4px solid var(--pink); outline-offset: 6px; }
.meter-labels { display: flex; justify-content: space-between; font-weight: 800; font-size: .95rem; }
.panic { margin-top: 2rem; background: #ff4d4d; color: #fff; border: var(--line); border-radius: 16px; padding: .9rem 1.3rem; font-weight: 900; box-shadow: var(--pop-sm); cursor: pointer; transition: rotate .15s, scale .15s, translate .15s; }
.panic:active { translate: 3px 3px; box-shadow: none; }
.meter-card { background: #fff; border: var(--line); border-radius: 32px; box-shadow: var(--pop); padding: 2rem; text-align: center; }
.frizz { position: relative; width: 240px; height: 220px; margin: 0 auto 1rem; }
.wool { position: absolute; inset: 0; border-radius: 50%; background:
  radial-gradient(circle at 24% 26%, #fff 0 17%, transparent 17.5%),
  radial-gradient(circle at 50% 16%, #fff 0 17%, transparent 17.5%),
  radial-gradient(circle at 76% 26%, #fff 0 17%, transparent 17.5%),
  radial-gradient(circle at 86% 52%, #fff 0 16%, transparent 16.5%),
  radial-gradient(circle at 76% 78%, #fff 0 17%, transparent 17.5%),
  radial-gradient(circle at 50% 86%, #fff 0 17%, transparent 17.5%),
  radial-gradient(circle at 24% 78%, #fff 0 17%, transparent 17.5%),
  radial-gradient(circle at 14% 52%, #fff 0 16%, transparent 16.5%),
  radial-gradient(circle at 50% 50%, #fff 0 38%, transparent 38.5%);
  filter: drop-shadow(0 0 0 var(--ink)) drop-shadow(3px 0 0 var(--ink)) drop-shadow(-3px 0 0 var(--ink)) drop-shadow(0 3px 0 var(--ink)) drop-shadow(0 -3px 0 var(--ink));
  transform: scale(var(--puff, 1)) rotate(var(--rot, 0deg)); transition: transform .5s var(--bounce); }
.face-sheep { position: absolute; left: 50%; top: 52%; width: 96px; height: 112px; margin: -56px 0 0 -48px; background: #2b2945; border-radius: 48% 48% 44% 44%; border: var(--line); }
.eye { position: absolute; top: 34px; width: 22px; height: calc(22px * var(--eye, 1)); background: #fff; border-radius: 50%; border: 2px solid var(--ink); transition: height .3s; }
.eye::after { content: ""; position: absolute; width: 8px; height: 8px; background: var(--ink); border-radius: 50%; left: 6px; top: 50%; margin-top: -4px; }
.eye.l { left: 18px; } .eye.r { right: 18px; }
.mouth { position: absolute; left: 50%; bottom: 22px; width: 36px; height: 16px; margin-left: -18px; border: 3px solid #ff9ec8; border-top: 0; border-radius: 0 0 36px 36px; transition: .4s var(--bounce); }
.mouth.flat { height: 2px; border-width: 0 0 3px; border-radius: 0; }
.mouth.scream { height: 26px; width: 26px; margin-left: -13px; border: 3px solid #ff9ec8; border-radius: 50%; background: #5a1d3a; }
.sweat { position: absolute; right: 30px; top: 40px; font-size: 1.8rem; opacity: 0; transition: opacity .3s; }
.meter-out strong { display: block; font-family: var(--display); font-weight: 400; font-size: 2.2rem; line-height: 1.1; }
.meter-out p { color: var(--muted); font-weight: 700; min-height: 3.2em; margin: .4rem auto 0; max-width: 26em; }
.sheep-rain { position: fixed; inset: 0; pointer-events: none; z-index: 90; overflow: hidden; }
.sheep-rain span { position: absolute; top: -60px; font-size: 2.6rem; }

/* Team */
.team-sec { background: var(--sky-2); border-top: var(--line); border-bottom: var(--line); }
.team { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3rem 2rem; }
.member { text-align: center; }
.member .polaroid { padding: 12px 12px 18px; margin-bottom: 1.2rem; transition: transform .4s var(--bounce); }
.member:nth-child(odd) .polaroid { transform: rotate(-2.5deg); }
.member:nth-child(even) .polaroid { transform: rotate(2.5deg); }
.member:hover .polaroid { transform: rotate(0) scale(1.03); }
.photo { height: 360px; background: var(--ink); border: 2px solid var(--ink); border-radius: 4px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.photo img { height: 100% !important; width: auto; max-width: 100%; object-fit: contain; }
.stamp { position: absolute; right: -14px; top: 28px; background: var(--pink); color: #fff; font-family: var(--display); font-size: 1.15rem; padding: .3rem .9rem; border: var(--line); border-radius: 10px; transform: rotate(10deg) scale(0); transition: transform .4s var(--bounce); box-shadow: var(--pop-sm); z-index: 3; }
.member:hover .stamp, .member:focus-within .stamp { transform: rotate(10deg) scale(1); }
.member h3 { font-size: 2rem; margin-bottom: .1em; }
.role { display: inline-block; background: var(--sun); border: 2px solid var(--ink); border-radius: 999px; padding: .2rem .9rem; font-weight: 900; font-size: .88rem; margin-bottom: .9rem; }
.member p:last-child { color: var(--muted); font-weight: 600; font-size: .97rem; text-align: left; }

/* Gallery board */
.board { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem 1.6rem; padding: 2.4rem; background: #fff; border: var(--line); border-radius: 30px; box-shadow: var(--pop); background-image: radial-gradient(rgba(29, 27, 58, .12) 1.5px, transparent 1.5px); background-size: 22px 22px; }
.snap { position: relative; padding: 10px 10px 40px; background: #fff; border: var(--line); border-radius: 6px; box-shadow: var(--pop-sm); cursor: grab; transform: rotate(var(--r)); touch-action: none; }
.snap:active { cursor: grabbing; }
.snap::before { content: ""; position: absolute; top: -12px; left: 50%; width: 22px; height: 22px; margin-left: -11px; border-radius: 50%; background: var(--pink); border: var(--line); z-index: 2; }
.snap img { width: 100%; aspect-ratio: 1; object-fit: cover; border: 2px solid var(--ink); pointer-events: none; }
.snap span { position: absolute; left: 0; right: 0; bottom: 8px; font-weight: 900; font-size: .92rem; }
.lightbox { position: fixed; inset: 0; z-index: 95; background: rgba(29, 27, 58, .85); display: grid; place-items: center; padding: 4vw; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: min(88vw, 820px); background: #fff; border: var(--line); border-radius: 10px; padding: 14px 14px 10px; box-shadow: var(--pop); }
.lightbox img { width: 100%; max-height: 72vh; object-fit: contain; }
.lightbox figcaption { text-align: center; font-weight: 800; margin-top: .6rem; }
.lb-close { position: absolute; top: 18px; right: 22px; width: 52px; height: 52px; border-radius: 50%; border: var(--line); background: var(--sun); font-size: 2rem; line-height: 1; cursor: pointer; box-shadow: var(--pop-sm); }

/* Reviews chat */
.reviews { background: var(--pink-2); border-top: var(--line); border-bottom: var(--line); }
.chat { max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; gap: 1.4rem; }
.msg { display: flex; align-items: flex-end; gap: .8rem; max-width: 86%; }
.msg.right { align-self: flex-end; flex-direction: row-reverse; }
.who { flex: none; width: 58px; height: 58px; border-radius: 50%; background: #fff; border: var(--line); display: grid; place-items: center; font-size: 1.8rem; box-shadow: var(--pop-sm); }
.text { background: #fff; border: var(--line); border-radius: 24px 24px 24px 6px; padding: 1rem 1.3rem; box-shadow: var(--pop-sm); }
.msg.right .text { border-radius: 24px 24px 6px 24px; background: var(--sky-2); }
.msg.sheep .text { background: var(--sun); }
.text p { font-weight: 800; font-size: 1.12rem; margin: 0 0 .4rem; }
.text span { font-size: .88rem; color: var(--muted); font-weight: 700; }
.text em { display: block; font-style: italic; }
.typing { display: flex; gap: 6px; padding: 1rem 1.2rem; background: #fff; border: var(--line); border-radius: 24px; width: max-content; margin-left: 70px; }
.typing span { width: 10px; height: 10px; border-radius: 50%; background: var(--ink); animation: dot 1.2s infinite; }
.typing span:nth-child(2) { animation-delay: .15s; } .typing span:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 30% { transform: translateY(-7px); opacity: .5; } }

/* CTA */
.cta { background: var(--sun); }
.cta-grid { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 3rem; align-items: center; }
.cta-sheep { filter: drop-shadow(6px 6px 0 rgba(29, 27, 58, .25)); }
.cta p { font-size: 1.2rem; font-weight: 700; max-width: 30em; margin-bottom: 1.8rem; }

/* Footer */
.footer { background: var(--ink); color: #fff; padding: 2rem 0; font-weight: 700; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.footer p { margin: 0; opacity: .85; }
.to-top { background: var(--sun); color: var(--ink); border: 3px solid #fff; border-radius: 999px; padding: .4rem 1rem; }

/* Wool-puff cursor trail */
.puff { position: fixed; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 2px solid var(--ink); pointer-events: none; z-index: 99; }

/* Responsive */
@media (max-width: 1100px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav-links { gap: .9rem; font-size: .92rem; }
}
@media (max-width: 960px) {
  .nav-links { position: fixed; top: 92px; left: 4%; right: 4%; flex-direction: column; gap: 0; background: #fff; border: var(--line); border-radius: 24px; box-shadow: var(--pop); padding: .6rem 1.2rem; transform: scale(.9) translateY(-10px); opacity: 0; visibility: hidden; pointer-events: none; transition: .3s var(--bounce); }
  .nav-links.open { transform: none; opacity: 1; pointer-events: auto; visibility: visible; }
  .nav-links a { padding: .8rem 0; font-size: 1.15rem; border-bottom: 2px dashed rgba(29, 27, 58, .15); }
  .nav-links a:last-child { border-bottom: 0; }
  .burger { display: block; margin-left: 0; }
  .nav-cta { margin-left: auto; }
  .hero-grid, .meter-grid, .cta-grid, .meeting { grid-template-columns: minmax(0, 1fr); }
  .hero-art { max-width: 560px; width: 100%; margin: 1rem auto 0; }
  .cta-sheep { max-width: 300px; margin: 0 auto; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 3.4rem; max-width: 520px; margin: 0 auto; }
  .step:nth-child(n) { transform: none; }
  .path-svg { display: none; }
  .team { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .board { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 1.6rem; }
  .meeting { max-width: 520px; }
  .sun { width: 80px; height: 80px; right: 4%; top: 100px; } .sun::before { font-size: 2.2rem; }
}
@media (max-width: 600px) {
  .nav-cta { display: none; }
  .burger { margin-left: auto; }
  .hero { padding-top: 110px; }
  .sun { display: none; }
  .hero-title { -webkit-text-stroke: 2px var(--ink); text-shadow: 3px 3px 0 var(--ink); }
  .say-2 { left: -6px; } .say-1 { right: 2%; }
  .pasture { height: 190px; }
  .counter { right: 3%; bottom: 70px; padding: .4rem .8rem; } .counter strong { font-size: 1.7rem; }
  .fence { left: 38%; }
  .cards { grid-template-columns: minmax(0, 1fr); }
  .flip { height: auto; }
  .face { position: relative; inset: auto; grid-area: 1 / 1; }
  .front img { flex: none; height: 230px; }
  .team { grid-template-columns: minmax(0, 1fr); }
  .photo { height: 420px; }
  .stats { gap: 1rem; } .stat { padding: 1rem; }
  .board { gap: 1.4rem 1rem; padding: 1.2rem; }
  .msg { max-width: 100%; }
  .who { width: 46px; height: 46px; font-size: 1.4rem; }
  .typing { margin-left: 56px; }
  .marquee-track { font-size: 1.4rem; }
  .footer-inner { flex-direction: column; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ===== Extras ===== */
/* Live counter */
.live { padding-top: 4.5rem; }
.live-card { position: relative; background: var(--ink); color: #fff; border: var(--line); border-radius: 28px; box-shadow: 6px 6px 0 var(--pink); padding: 1.6rem 2rem; text-align: center; }
.live-dot { position: absolute; top: 1.3rem; left: 1.4rem; width: 14px; height: 14px; border-radius: 50%; background: #ff4d4d; box-shadow: 0 0 0 0 rgba(255,77,77,.7); animation: live 1.4s infinite; }
@keyframes live { 70% { box-shadow: 0 0 0 14px rgba(255,77,77,0); } 100% { box-shadow: 0 0 0 0 rgba(255,77,77,0); } }
.live-label { font-weight: 900; margin: 0 0 .3rem; color: var(--sun); padding: 0 1.4rem; }
.live-num { display: block; font-family: var(--display); font-weight: 400; font-size: clamp(2.6rem, 8vw, 5rem); line-height: 1; font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.live-sub { margin: .3rem 0 0; opacity: .8; font-weight: 700; }
.stats { padding-top: 2.5rem; }

/* Trust + certs */
.trust { padding: 3rem 0 0; text-align: center; }
.trust-title { font-weight: 900; color: var(--muted); }
.logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem 2.4rem; align-items: center; margin: 1rem 0 2.2rem; }
.logo { color: var(--muted); line-height: 1; transition: color .3s, rotate .3s var(--bounce), scale .3s var(--bounce); }
.logo:hover { color: var(--pink); scale: 1.1; rotate: -3deg; }
.logo small { font-size: .55em; letter-spacing: .2em; }
.l1 { font-family: Georgia, serif; font-size: 1.5rem; font-style: italic; }
.l2 { font-family: var(--display); font-size: 1.6rem; }
.l3 { font-weight: 900; font-size: 1.3rem; letter-spacing: .05em; } .l3 b { color: var(--pink); }
.l4 { font-family: Georgia, serif; font-size: 1.4rem; }
.l5 { font-family: var(--display); font-size: 1.5rem; border: 3px solid var(--ink); border-radius: 50%; padding: .5rem .9rem; }
.l6 { font-weight: 900; font-size: 1.4rem; }
.certs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.cert { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto auto; column-gap: .8rem; align-items: center; text-align: left; background: #fff; border: var(--line); border-radius: 18px; padding: .8rem 1rem; box-shadow: var(--pop-sm); }
.seal { grid-row: span 2; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--sun); border: 3px dashed var(--ink); font-family: var(--display); font-size: .95rem; animation: spin 14s linear infinite; }
.cert strong { font-weight: 900; line-height: 1.2; }
.cert small { color: var(--muted); font-weight: 700; }

/* Pricing */
.pricing { background: #fff1cc; border-top: var(--line); border-bottom: var(--line); }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.8rem; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; background: #fff; border: var(--line); border-radius: 28px; box-shadow: var(--pop); padding: 2rem 1.8rem; transition: rotate .35s var(--bounce), scale .35s var(--bounce), translate .35s var(--bounce); }
.plan:hover { translate: 0 -8px; rotate: -1deg; }
.plan.featured { background: var(--pink-2); scale: 1.04; }
.plan.featured:hover { translate: 0 -8px; rotate: 1deg; }
.ribbon { position: absolute; top: -18px; right: 20px; background: var(--pink); color: #fff; border: var(--line); border-radius: 999px; padding: .3rem 1rem; font-weight: 900; transform: rotate(6deg); box-shadow: var(--pop-sm); }
.plan h3 { font-size: 2rem; }
.price { font-weight: 800; color: var(--muted); }
.price span { font-family: var(--display); font-size: 3rem; color: var(--ink); }
.plan ul { list-style: none; padding: 0; margin: 0 0 1.6rem; flex: 1; }
.plan li { padding: .45rem 0 .45rem 1.8rem; position: relative; font-weight: 700; border-bottom: 2px dashed rgba(29,27,58,.12); }
.plan li::before { content: "🐑"; position: absolute; left: 0; top: .4rem; font-size: 1rem; }

/* Case study */
.case { background: #fff; }
.case-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3rem; align-items: center; }
.compare { position: relative; aspect-ratio: 1; border: var(--line); border-radius: 28px; overflow: hidden; box-shadow: var(--pop); user-select: none; }
.cmp-pane { position: absolute; inset: 0; display: grid; place-items: center; }
.cmp-after { background: radial-gradient(circle, #dff5d8, #9fe0a8); }
.cmp-before { background: repeating-conic-gradient(#ffd6e8 0 15deg, #ffb3d1 15deg 30deg); clip-path: inset(0 50% 0 0); }
.cmp-pane img { width: 86%; height: 86% !important; object-fit: contain; }
.cmp-tag { position: absolute; top: 1rem; background: #fff; border: var(--line); border-radius: 999px; padding: .2rem .9rem; font-weight: 900; }
.cmp-before .cmp-tag { left: 1rem; } .cmp-after .cmp-tag { right: 1rem; }
.cmp-handle { position: absolute; top: 0; bottom: 0; left: 50%; width: 4px; margin-left: -2px; background: var(--ink); pointer-events: none; }
.cmp-handle span { position: absolute; top: 50%; left: 50%; width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%; background: var(--sun); border: var(--line); display: grid; place-items: center; font-weight: 900; font-size: 1.3rem; box-shadow: var(--pop-sm); }
.compare input[type=range] { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; border: 0; }
.case-stats { display: grid; gap: .9rem; }
.cs { display: flex; justify-content: space-between; gap: 1rem; align-items: center; background: var(--cream); border: var(--line); border-radius: 16px; padding: .8rem 1.1rem; box-shadow: var(--pop-sm); }
.cs span { font-weight: 800; color: var(--muted); }
.cs strong { font-family: var(--display); font-weight: 400; font-size: 1.4rem; text-align: right; }
.cs s { color: #ff4d4d; }
.case-stats blockquote { margin: .6rem 0 0; font-family: var(--display); font-size: 2.4rem; }
.case-stats blockquote small { display: block; font-family: var(--sans); font-size: 1rem; font-weight: 700; color: var(--muted); }

/* Quiz */
.quiz-sec { background: #e6e0ff; border-top: var(--line); border-bottom: var(--line); }
.quiz { max-width: 760px; margin: 0 auto; background: #fff; border: var(--line); border-radius: 30px; box-shadow: var(--pop); padding: 2rem; overflow: hidden; }
.quiz-progress { height: 14px; border: var(--line); border-radius: 999px; overflow: hidden; margin-bottom: 1.6rem; background: var(--cream); }
.quiz-progress span { display: block; height: 100%; width: 0; background: repeating-linear-gradient(45deg, var(--pink) 0 10px, #ff8fc4 10px 20px); transition: width .5s var(--bounce); }
.quiz-q { font-family: var(--display); font-size: clamp(1.6rem, 3.4vw, 2.2rem); line-height: 1.15; margin-bottom: 1.2rem; }
.quiz-step { font-weight: 900; color: var(--pink); margin-bottom: .3rem; }
.answers { display: grid; gap: .8rem; }
.answer { text-align: left; background: var(--cream); border: var(--line); border-radius: 16px; padding: .9rem 1.2rem; font-weight: 800; font-size: 1.05rem; cursor: pointer; box-shadow: var(--pop-sm); transition: transform .2s var(--bounce), background .2s; }
.answer:hover, .answer:focus-visible { background: var(--sun); transform: translate(-2px, -2px) rotate(-1deg); outline: none; }
.rx { position: relative; text-align: center; }
.rx-label { font-weight: 900; color: var(--muted); }
.rx h3 { font-size: clamp(2rem, 5vw, 3rem); color: var(--pink); margin: .2rem 0 .6rem; }
.rx .stamp-big { display: inline-block; border: 4px solid #ff4d4d; color: #ff4d4d; font-family: var(--display); font-size: 1.4rem; padding: .2rem 1rem; border-radius: 10px; transform: rotate(-8deg); margin: .4rem 0 1rem; }
.rx p { font-weight: 700; }
.rx-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem; margin-top: 1rem; }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 3rem; align-items: start; }
.faq { display: grid; gap: 1rem; }
.faq details { background: #fff; border: var(--line); border-radius: 18px; box-shadow: var(--pop-sm); overflow: hidden; }
.faq summary { list-style: none; cursor: pointer; padding: 1rem 3.2rem 1rem 1.2rem; font-weight: 900; font-size: 1.1rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 1rem; top: 50%; width: 32px; height: 32px; margin-top: -16px; border-radius: 50%; background: var(--sun); border: 2px solid var(--ink); display: grid; place-items: center; font-family: var(--display); font-size: 1.3rem; transition: transform .35s var(--bounce); }
.faq details[open] summary::after { transform: rotate(135deg); background: var(--pink); color: #fff; }
.faq details p { padding: 0 1.2rem 1.1rem; margin: 0; font-weight: 700; color: var(--muted); }
.faq summary:focus-visible { outline: 4px solid var(--pink); outline-offset: -4px; }

/* Booking */
.book { background: var(--sky-2); border-top: var(--line); }
.book-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 3rem; align-items: start; }
.book-intro p { font-weight: 700; font-size: 1.1rem; }
.book-sheep { width: 260px; margin-top: 1rem; }
.book-form, .book-done { background: #fff; border: var(--line); border-radius: 28px; box-shadow: var(--pop); padding: 2rem; display: grid; gap: 1rem; }
.book-done[hidden], .book-form[hidden] { display: none; }
.row2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1rem; }
.book-form label { display: grid; gap: .35rem; font-weight: 900; }
.book-form input, .book-form select, .book-form textarea { font: inherit; font-weight: 700; font-size: 16px; padding: .75rem .9rem; border: var(--line); border-radius: 14px; background: var(--cream); color: var(--ink); width: 100%; transition: box-shadow .2s, transform .2s; }
.book-form input:focus, .book-form select:focus, .book-form textarea:focus { outline: none; box-shadow: var(--pop-sm); transform: translate(-2px, -2px); background: #fff; }
.form-error { color: #d62828; font-weight: 900; margin: 0; min-height: 1.2em; }
.book-done { text-align: center; justify-items: center; }
.dancer { width: 170px; }
.book-done h3 { font-size: 2rem; margin: 0; }
.book-done p { font-weight: 700; margin: 0; }

/* Wandering sheep */
.wanderer { position: fixed; bottom: 6px; left: -120px; width: 82px; z-index: 55; cursor: pointer; display: none; }
.wanderer img { width: 100%; filter: drop-shadow(2px 2px 0 rgba(29,27,58,.35)); }
.wanderer .baa { position: absolute; bottom: 74px; left: 20px; background: #fff; border: var(--line); border-radius: 14px; padding: .15rem .6rem; font-weight: 900; opacity: 0; transform: scale(0); transition: .3s var(--bounce); white-space: nowrap; }
.wanderer.talk .baa { opacity: 1; transform: scale(1); }

/* Sound toggle */
.sound-toggle { position: fixed; left: 16px; bottom: 16px; z-index: 58; background: #fff; border: var(--line); border-radius: 999px; padding: .55rem 1rem; font-weight: 900; box-shadow: var(--pop-sm); cursor: pointer; transition: rotate .2s var(--bounce), scale .2s var(--bounce), translate .2s var(--bounce); }
.sound-toggle:hover { rotate: -4deg; scale: 1.05; }
.sound-toggle[aria-pressed="true"] { background: var(--sun); }

/* Hidden sheep + secret */
.hidden-sheep { background: none; border: 0; padding: 0 0 0 .4rem; font-size: .8rem; opacity: .35; cursor: pointer; vertical-align: middle; }
.hidden-sheep:hover { opacity: 1; transform: scale(1.4); }
.secret { position: fixed; inset: 0; z-index: 96; background: rgba(29,27,58,.8); display: grid; place-items: center; padding: 5vw; }
.secret[hidden] { display: none; }
.secret-card { background: #fff; border: var(--line); border-radius: 30px; box-shadow: 8px 8px 0 var(--pink); padding: 2rem; max-width: 460px; text-align: center; }
.secret-card h3 { font-size: 2rem; }
.code { font-family: var(--display); font-size: 3rem; letter-spacing: .08em; background: var(--sun); border: 3px dashed var(--ink); border-radius: 16px; padding: .3rem 1rem; display: inline-block; }
.secret-card p { font-weight: 700; }
.secret-actions { display: flex; justify-content: center; gap: .8rem; flex-wrap: wrap; }

@media (max-width: 960px) {
  .certs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plans { grid-template-columns: minmax(0, 1fr); max-width: 480px; margin: 0 auto; gap: 2.2rem; }
  .plan.featured { scale: 1; }
  .case-grid, .faq-wrap, .book-grid { grid-template-columns: minmax(0, 1fr); }
  .compare { max-width: 520px; width: 100%; margin: 0 auto; }
  .book-sheep { display: none; }
}
@media (max-width: 600px) {
  .certs { grid-template-columns: minmax(0, 1fr); }
  .row2 { grid-template-columns: minmax(0, 1fr); }
  .quiz, .book-form, .book-done { padding: 1.4rem; }
  .logos { gap: .8rem 1.4rem; } .logo { font-size: 1.1rem !important; }
  .sound-toggle span { display: none; }
  .wanderer { width: 64px; }
  .live-card { padding: 1.4rem 1rem; }
}

/* Logo sheep: a little head-tilt every few seconds */
@keyframes logo-tilt { 0%, 86%, 100% { transform: rotate(0); } 89% { transform: rotate(-14deg) scale(1.08); } 93% { transform: rotate(10deg); } 96% { transform: rotate(-4deg); } }
.brand img { animation: logo-tilt 5s ease-in-out infinite; }
.brand:hover img { animation: none; }
@media (prefers-reduced-motion: reduce) { .brand img { animation: none; } }
@media (max-width: 360px) { .btn.big { font-size: 1rem; padding-left: 1.1rem; padding-right: 1.1rem; max-width: 100%; white-space: normal; } }
/* Phones: clouds drift behind the hero text instead of over it */
.hero-grid { position: relative; z-index: 2; }
@media (max-width: 600px) { .cloud { opacity: .55; transform-origin: left; scale: .7; } }
