/* ==========================================================
   Daisy Dale Farm Park — storybook theme
   (Tailwind CDN handles utilities; this file holds the custom
   components, the farm-emoji borders/divider/background and every animation.)
   ========================================================== */
/* Waltograph — file names are case-sensitive on Hostinger: match the real file name in /fonts */
@font-face{
  font-family:'Waltograph';
  src:url('fonts/waltograph42.otf') format('opentype'),
      url('fonts/Waltograph42.otf') format('opentype'),
      url('fonts/Waltograph.ttf') format('truetype');
  font-weight:100 900;          /* one weight only – stops the browser faking a bold */
  font-style:normal;
  font-display:swap;
}

:root{
  --tile-w:80px; --fw:24px;
  --logo-h:84px; --header-h:calc(var(--logo-h) + 2rem);
  --ink:#451a03; --amber:#f59e0b; --amber-deep:#b45309; --rose:#f43f5e; --leaf:#16a34a; --cream:#fffbeb;
  --fborder:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='144' height='144' viewBox='0 0 144 144'%3E%3Ctext x='18' y='27' font-size='27' text-anchor='middle' font-family='Apple Color Emoji,Segoe UI Emoji,Noto Color Emoji,sans-serif'%3E&%23x1F42E;%3C/text%3E%3Ctext x='126' y='27' font-size='27' text-anchor='middle' font-family='Apple Color Emoji,Segoe UI Emoji,Noto Color Emoji,sans-serif'%3E&%23x1F437;%3C/text%3E%3Ctext x='18' y='135' font-size='27' text-anchor='middle' font-family='Apple Color Emoji,Segoe UI Emoji,Noto Color Emoji,sans-serif'%3E&%23x1F411;%3C/text%3E%3Ctext x='126' y='135' font-size='27' text-anchor='middle' font-family='Apple Color Emoji,Segoe UI Emoji,Noto Color Emoji,sans-serif'%3E&%23x1F425;%3C/text%3E%3Ctext x='54' y='27' font-size='27' text-anchor='middle' font-family='Apple Color Emoji,Segoe UI Emoji,Noto Color Emoji,sans-serif'%3E&%23x1F69C;%3C/text%3E%3Ctext x='90' y='27' font-size='27' text-anchor='middle' font-family='Apple Color Emoji,Segoe UI Emoji,Noto Color Emoji,sans-serif'%3E&%23x1F404;%3C/text%3E%3Ctext x='54' y='135' font-size='27' text-anchor='middle' font-family='Apple Color Emoji,Segoe UI Emoji,Noto Color Emoji,sans-serif'%3E&%23x1F69A;%3C/text%3E%3Ctext x='90' y='135' font-size='27' text-anchor='middle' font-family='Apple Color Emoji,Segoe UI Emoji,Noto Color Emoji,sans-serif'%3E&%23x1F413;%3C/text%3E%3Ctext x='18' y='63' font-size='27' text-anchor='middle' font-family='Apple Color Emoji,Segoe UI Emoji,Noto Color Emoji,sans-serif'%3E&%23x1F699;%3C/text%3E%3Ctext x='18' y='99' font-size='27' text-anchor='middle' font-family='Apple Color Emoji,Segoe UI Emoji,Noto Color Emoji,sans-serif'%3E&%23x1F410;%3C/text%3E%3Ctext x='126' y='63' font-size='27' text-anchor='middle' font-family='Apple Color Emoji,Segoe UI Emoji,Noto Color Emoji,sans-serif'%3E&%23x1F697;%3C/text%3E%3Ctext x='126' y='99' font-size='27' text-anchor='middle' font-family='Apple Color Emoji,Segoe UI Emoji,Noto Color Emoji,sans-serif'%3E&%23x1F434;%3C/text%3E%3C/svg%3E");      /* farm animals + toy vehicles border */
  --farm-bg:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='360' height='360' viewBox='0 0 360 360'%3E%3Cg opacity='.13'%3E%3Ctext x='60' y='57' font-size='34' text-anchor='middle' font-family='Apple Color Emoji,Segoe UI Emoji,Noto Color Emoji,sans-serif' transform='rotate(-12 60 45)'%3E&%23x1F69C;%3C/text%3E%3Ctext x='180' y='57' font-size='34' text-anchor='middle' font-family='Apple Color Emoji,Segoe UI Emoji,Noto Color Emoji,sans-serif' transform='rotate(8 180 45)'%3E&%23x1F404;%3C/text%3E%3Ctext x='300' y='57' font-size='34' text-anchor='middle' font-family='Apple Color Emoji,Segoe UI Emoji,Noto Color Emoji,sans-serif' transform='rotate(-6 300 45)'%3E&%23x1F33B;%3C/text%3E%3Ctext x='0' y='147' font-size='34' text-anchor='middle' font-family='Apple Color Emoji,Segoe UI Emoji,Noto Color Emoji,sans-serif' transform='rotate(10 0 135)'%3E&%23x1F411;%3C/text%3E%3Ctext x='360' y='147' font-size='34' text-anchor='middle' font-family='Apple Color Emoji,Segoe UI Emoji,Noto Color Emoji,sans-serif' transform='rotate(10 360 135)'%3E&%23x1F411;%3C/text%3E%3Ctext x='120' y='147' font-size='34' text-anchor='middle' font-family='Apple Color Emoji,Segoe UI Emoji,Noto Color Emoji,sans-serif' transform='rotate(-14 120 135)'%3E&%23x1F33D;%3C/text%3E%3Ctext x='240' y='147' font-size='34' text-anchor='middle' font-family='Apple Color Emoji,Segoe UI Emoji,Noto Color Emoji,sans-serif' transform='rotate(12 240 135)'%3E&%23x1F413;%3C/text%3E%3Ctext x='60' y='237' font-size='34' text-anchor='middle' font-family='Apple Color Emoji,Segoe UI Emoji,Noto Color Emoji,sans-serif' transform='rotate(-8 60 225)'%3E&%23x1F3E1;%3C/text%3E%3Ctext x='180' y='237' font-size='34' text-anchor='middle' font-family='Apple Color Emoji,Segoe UI Emoji,Noto Color Emoji,sans-serif' transform='rotate(14 180 225)'%3E&%23x1F437;%3C/text%3E%3Ctext x='300' y='237' font-size='34' text-anchor='middle' font-family='Apple Color Emoji,Segoe UI Emoji,Noto Color Emoji,sans-serif' transform='rotate(-10 300 225)'%3E&%23x1F34E;%3C/text%3E%3Ctext x='0' y='327' font-size='34' text-anchor='middle' font-family='Apple Color Emoji,Segoe UI Emoji,Noto Color Emoji,sans-serif' transform='rotate(12 0 315)'%3E&%23x1F955;%3C/text%3E%3Ctext x='360' y='327' font-size='34' text-anchor='middle' font-family='Apple Color Emoji,Segoe UI Emoji,Noto Color Emoji,sans-serif' transform='rotate(12 360 315)'%3E&%23x1F955;%3C/text%3E%3Ctext x='120' y='327' font-size='34' text-anchor='middle' font-family='Apple Color Emoji,Segoe UI Emoji,Noto Color Emoji,sans-serif' transform='rotate(-6 120 315)'%3E&%23x1F697;%3C/text%3E%3Ctext x='240' y='327' font-size='34' text-anchor='middle' font-family='Apple Color Emoji,Segoe UI Emoji,Noto Color Emoji,sans-serif' transform='rotate(9 240 315)'%3E&%23x1F425;%3C/text%3E%3Ctext x='60' y='97' font-size='20' text-anchor='middle' font-family='Apple Color Emoji,Segoe UI Emoji,Noto Color Emoji,sans-serif'%3E&%23x2600;&%23xFE0F;%3C/text%3E%3Ctext x='180' y='97' font-size='20' text-anchor='middle' font-family='Apple Color Emoji,Segoe UI Emoji,Noto Color Emoji,sans-serif'%3E&%23x1F33E;%3C/text%3E%3Ctext x='300' y='97' font-size='20' text-anchor='middle' font-family='Apple Color Emoji,Segoe UI Emoji,Noto Color Emoji,sans-serif'%3E&%23x1F340;%3C/text%3E%3Ctext x='60' y='277' font-size='20' text-anchor='middle' font-family='Apple Color Emoji,Segoe UI Emoji,Noto Color Emoji,sans-serif'%3E&%23x1F95B;%3C/text%3E%3Ctext x='180' y='277' font-size='20' text-anchor='middle' font-family='Apple Color Emoji,Segoe UI Emoji,Noto Color Emoji,sans-serif'%3E&%23x1F986;%3C/text%3E%3Ctext x='300' y='277' font-size='20' text-anchor='middle' font-family='Apple Color Emoji,Segoe UI Emoji,Noto Color Emoji,sans-serif'%3E&%23x1F434;%3C/text%3E%3C/g%3E%3C/svg%3E");         /* farm doodle page background */
}
@media (min-width:768px){ :root{ --logo-h:112px; } }

*{ -webkit-tap-highlight-color:transparent; }
html{ scroll-behavior:smooth; scroll-padding-top:calc(var(--header-h) + 1rem); }
::selection{ background:#fde68a; color:var(--ink); }

body {
    min-height: 100vh;
    background-color: #FDFBD4;

    background-image:
        linear-gradient(
            to bottom,
            rgba(253, 251, 212, 0.65),
            rgba(253, 251, 212, 0.65)
        ),
        url('uploads/farmbg.png');

    background-size: auto, auto;
    background-position: center, top left;
    background-repeat: repeat, repeat;

    border-top: 8px solid #f59e0b;
}

h1,h2,h3,h4{ font-family:'Fredoka','Nunito',system-ui,sans-serif; }
h1,h2,.storybook-title{ font-family:'Waltograph','Fredoka','Nunito',system-ui,sans-serif; }

/* ---------- Divider (single source of truth) ----------
   Spacing comes from the sections' own padding (py-12 / py-16),
   so the divider itself adds no extra vertical margin.
   Vehicles (.veh) are added by the script in footer.php. */
.floral-divider{
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    width: 100%;
    max-width: 760px;
    height: 40px;
    min-height: 0;
    margin: 0 auto;
    padding: 0;
    overflow: hidden;
    transform: none;
    -webkit-mask-image: none;
            mask-image: none;
}
.floral-divider::before,
.floral-divider::after{
    content: "";
    position: static;
    flex: 1;
    height: 3px;
    border-radius: 10px;
    background: linear-gradient(90deg, transparent, #86b86b, #fbbf24, #86b86b, transparent);
    background-size: auto;
    animation: none;
}
.floral-divider .flower{
    display: inline-block;
    font-size: 28px;
    line-height: 1;
    animation: sway 3s ease-in-out infinite;
}
.floral-divider .veh{ position:absolute; bottom:8px; left:105%; font-size:28px; line-height:1;
  animation:driveAcross var(--t,18s) linear var(--d,0s) infinite; }
.floral-divider .veh i{ display:inline-block; font-style:normal; animation:bump .45s ease-in-out infinite alternate; }

@media (max-width: 767px){
    .floral-divider{ height: 32px; }
}

/* ---------- Header + active nav link ---------- */
#mainHeader {
    top: 0;
    left: 0;
    right: 0;
    width: auto;

    /* 50% transparent warm cream at the top */
    background: rgba(254, 243, 199, 0.5);
    backdrop-filter: blur(8px);
    box-shadow: none;
    border-bottom: 3px solid transparent;

    transition: background .35s, box-shadow .35s, padding .35s,
                border-radius .35s, border-bottom .35s;
}

/* Background appears when scrolling */
#mainHeader.scrolled {
    padding: .3rem 0;
    background: rgba(252, 249, 242, .96);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 24px rgba(180, 83, 9, .18);
    border-bottom: 3px solid #fcd34d;
    border-radius: 0 0 28px 28px;
}

#mainHeader img {
    height: var(--logo-h) !important;
    transition: height .35s ease;
}

#mainHeader.scrolled img {
    height: 60px !important;
}

#mainHeader a,
#mainHeader button {
    white-space: nowrap;
}

/* ---------- Headings ---------- */
.storybook-title{
  background:linear-gradient(90deg,#b45309,#f59e0b,#e11d48,#16a34a,#b45309); background-size:300% 100%;
  -webkit-background-clip:text; background-clip:text; color:transparent; -webkit-text-fill-color:transparent;
  filter:drop-shadow(0 2px 0 rgba(255,255,255,.9));
  animation:titleIn 1s cubic-bezier(.2,.9,.3,1.2) both,shimmer 8s linear 1s infinite;
}
.glowing-text{ color:#fff; text-shadow:0 0 12px #facc15,0 0 28px #f59e0b; animation:glowPulse 3s ease-in-out infinite alternate; }
.ltr{ display:inline-block; animation:letterPop .7s cubic-bezier(.2,.9,.3,1.5) calc(.7s + var(--i,0) * .045s) backwards; }

/* ---------- Cards ---------- */
.daisy-card,.glass-panel,.park-card{ position:relative; transition:transform .35s,box-shadow .35s; }
.daisy-card{ background:rgba(255,255,255,.92); backdrop-filter:blur(8px); border:5px solid #fbbf24; border-radius:35px;
  box-shadow:0 15px 35px rgba(180,83,9,.15); padding:2rem; }
.daisy-card::before,.daisy-card::after{ content:'🌼🍃'; position:absolute; font-size:22px; transition:transform .5s; }
.daisy-card::before{ top:-14px; left:-14px; } .daisy-card::after{ bottom:-14px; right:-14px; }
.daisy-card:hover::before,.daisy-card:hover::after{ transform:rotate(25deg) scale(1.25); }
.daisy-card:hover{ box-shadow:0 22px 45px rgba(180,83,9,.28); }

.glass-panel{ background:rgba(255,255,255,.78); backdrop-filter:blur(8px); border:4px solid #fde68a;
  box-shadow:0 14px 30px rgba(180,83,9,.14); outline:2px dashed #86efac; outline-offset:-12px; }
.glass-panel::before{ content:'🌿'; position:absolute; top:-14px; right:14px; font-size:26px; animation:sway 4s ease-in-out infinite; transform-origin:50% 100%; }
.glass-panel:hover{ box-shadow:0 24px 44px rgba(22,163,74,.22); }

.park-card{ background:rgba(255,255,255,.92); border:6px solid #fbbf24; border-radius:44px;
  box-shadow:0 0 0 6px #fff,0 0 0 9px #86efac,0 22px 44px rgba(180,83,9,.2); }
.park-card::before,.park-card::after{ content:'🌸🍃'; position:absolute; font-size:30px; animation:sway 5s ease-in-out infinite; }
.park-card::before{ top:-20px; left:18px; } .park-card::after{ bottom:-20px; right:18px; animation-delay:-2s; }

.parchment-scroll{ background:#fbf5e5; background-image:radial-gradient(#e2d3b4 1px,transparent 0); background-size:16px 16px;
  border-top:12px solid #b45309; border-bottom:12px solid #b45309; border-radius:20px;
  box-shadow:inset 0 0 20px rgba(180,83,9,.25),0 10px 30px rgba(0,0,0,.15); position:relative; }
.parchment-scroll::before,.parchment-scroll::after{ content:'📜'; position:absolute; font-size:28px; top:-24px; }
.parchment-scroll::before{ left:10px; } .parchment-scroll::after{ right:10px; }

/* ---------- Testimonials ---------- */
.t-card{ position:relative; background:linear-gradient(160deg,#fffdf5,#fff7dc); border:4px solid #fbbf24; border-radius:32px;
  padding:2.4rem 1.8rem 1.6rem; box-shadow:0 14px 30px rgba(180,83,9,.16); rotate:var(--tilt,0deg);
  transition:rotate .4s,translate .4s,box-shadow .4s; }
.t-card:nth-child(odd){ --tilt:-1.2deg; } .t-card:nth-child(even){ --tilt:1.2deg; }
@media (min-width:768px){ .t-card:nth-child(even){ margin-top:1.75rem; } }
.t-card:hover{ rotate:0deg; translate:0 -10px; box-shadow:0 28px 50px rgba(180,83,9,.28); }
.t-card::after{ content:'🌼🍃'; position:absolute; right:-12px; bottom:-14px; font-size:24px; }
.t-quote{ position:absolute; top:-6px; left:18px; font-family:'Fredoka',serif; font-size:96px; line-height:1; color:#fb7185; opacity:.9;
  animation:sway 5s ease-in-out infinite; transform-origin:50% 100%; }
.t-tag{ position:absolute; top:-15px; right:22px; background:#16a34a; color:#fff; font-weight:800; font-size:11px; padding:.3rem .8rem;
  border-radius:999px; border:2px solid #fff; box-shadow:0 4px 10px rgba(22,163,74,.35); }
.t-stars{ display:flex; gap:2px; font-size:20px; margin-bottom:.6rem; }
.t-stars span{ color:#e5e7eb; display:inline-block; }
.t-stars span.on{ color:#f59e0b; }
.in-view .t-stars span.on{ animation:starPop .5s cubic-bezier(.2,.9,.3,1.8) calc(.35s + var(--s) * .1s) backwards; }
.t-avatar{ width:46px; height:46px; border-radius:50%; display:grid; place-items:center; flex:none; color:#fff; font:700 20px 'Fredoka',sans-serif;
  border:3px solid #fff; box-shadow:0 0 0 2px #fbbf24,0 6px 12px rgba(0,0,0,.18); }

/* ---------- Scroll reveal (class-based, added by JS) ---------- */
.js .rv:not(.in-view),.js .stagger > *:not(.in-view){ opacity:0; }
.rv.in-view,.stagger > *.in-view{ animation:revealUp .85s cubic-bezier(.2,.9,.25,1.1) var(--d,0s) backwards; }
.rv[data-anim="left"].in-view{ animation-name:revealLeft; }
.rv[data-anim="right"].in-view{ animation-name:revealRight; }
.rv[data-anim="zoom"].in-view{ animation-name:revealZoom; }
.reveal-failsafe .rv,.reveal-failsafe .stagger > *{ opacity:1 !important; }

/* ---------- Hero ---------- */
.hero-full{ min-height:100vh; }
.hero-seq > *{ animation:heroIn .9s cubic-bezier(.2,.9,.3,1.3) calc(.3s + var(--i,0) * .3s) backwards; }
.hero-seq > .split{ animation:none; }
.balloon{ position:absolute; bottom:-70px; font-size:42px; animation:balloonUp var(--t,12s) ease-in var(--dl,0s) infinite; filter:drop-shadow(0 6px 6px rgba(0,0,0,.25)); }

/* ---------- Floating critters, petals, pops, cursor ---------- */
.floating-bug{ position:absolute; animation:bugFly 16s ease-in-out infinite; filter:drop-shadow(0 4px 4px rgba(0,0,0,.15)); }
.petal{ position:fixed; top:-40px; z-index:40; pointer-events:none; opacity:.9; animation-name:petalFall; animation-timing-function:linear; animation-fill-mode:forwards; }
.random-pop{ position:fixed; pointer-events:none; z-index:50; animation:popAndFloat 3.5s cubic-bezier(.25,1,.5,1) forwards; }
.spark{ position:fixed; z-index:75; pointer-events:none; font-size:14px; animation:sparkOut .9s ease-out forwards; }
#cursorFollower{ position:fixed; left:0; top:0; z-index:80; pointer-events:none; font-size:26px; will-change:transform; }
#cursorFollower span{ display:inline-block; }
#cursorFollower.mode-butterfly span{ animation:flap .3s ease-in-out infinite alternate; }

/* ---------- Small helpers ---------- */
.wiggle{ display:inline-block; animation:wiggle 2.4s ease-in-out infinite; transform-origin:50% 0; }
main a.rounded-2xl.font-black,main button[type=submit]{ position:relative; overflow:hidden; isolation:isolate; }
main a.rounded-2xl.font-black::after,main button[type=submit]::after{ content:''; position:absolute; top:0; left:-120%; width:60%; height:100%;
  background:linear-gradient(100deg,transparent,rgba(255,255,255,.6),transparent); transform:skewX(-20deg); transition:left .7s; z-index:-1; }
main a.rounded-2xl.font-black:hover::after,main button[type=submit]:hover::after{ left:140%; }
main input,main select,main textarea{ transition:box-shadow .25s,transform .25s,border-color .25s; }
main input:focus,main select:focus,main textarea:focus{ box-shadow:0 0 0 4px rgba(251,191,36,.35); transform:translateY(-1px); }
.footer-poster-bg{ background:linear-gradient(to bottom,#fffbeb,#fef3c7 60%,#fde68a); border-top:8px double #f59e0b; border-radius:48px 48px 0 0; }

/* ---------- Keyframes ---------- */
@keyframes pageIn{ from{ opacity:0; } to{ opacity:1; } }
@keyframes roadDash{ to{ background-position:24px 0,0 0; } }
@keyframes driveAcross{ from{ left:105%; } to{ left:-12%; } }
@keyframes bump{ from{ transform:translateY(0); } to{ transform:translateY(-2px) rotate(-1.5deg); } }
@keyframes driftY{ to{ background-position-y:var(--tile-w); } }
@keyframes spinSlow{ to{ transform:rotate(360deg); } }
@keyframes shimmer{ to{ background-position:300% 0; } }
@keyframes titleIn{ from{ opacity:0; transform:translateY(30px) scale(.9) rotate(-2deg); } to{ opacity:1; transform:none; } }
@keyframes glowPulse{ from{ text-shadow:0 0 8px #facc15,0 0 18px #f59e0b; } to{ text-shadow:0 0 18px #fde047,0 0 40px #f59e0b; } }
@keyframes letterPop{ 0%{ opacity:0; transform:translateY(40px) scale(.3) rotate(-14deg); } 100%{ opacity:1; transform:none; } }
@keyframes heroIn{ from{ opacity:0; transform:translateY(40px) scale(.9); } to{ opacity:1; transform:none; } }
@keyframes revealUp{ from{ opacity:0; transform:translateY(54px) scale(.94) rotate(-1deg); } to{ opacity:1; transform:none; } }
@keyframes revealLeft{ from{ opacity:0; transform:translateX(-80px) rotate(-3deg); } to{ opacity:1; transform:none; } }
@keyframes revealRight{ from{ opacity:0; transform:translateX(80px) rotate(3deg); } to{ opacity:1; transform:none; } }
@keyframes revealZoom{ from{ opacity:0; transform:scale(.6) rotate(-4deg); } to{ opacity:1; transform:none; } }
@keyframes starPop{ 0%{ opacity:0; transform:scale(0) rotate(-90deg); } 100%{ opacity:1; transform:none; } }
@keyframes sway{ 0%,100%{ transform:rotate(-7deg); } 50%{ transform:rotate(7deg); } }
@keyframes wiggle{ 0%,100%{ transform:rotate(0); } 10%,30%{ transform:rotate(-12deg); } 20%,40%{ transform:rotate(12deg); } 50%{ transform:rotate(0); } }
@keyframes balloonUp{ 0%{ transform:translate(0,0) rotate(-6deg); opacity:0; } 10%{ opacity:1; } 50%{ transform:translate(30px,-50vh) rotate(6deg); } 100%{ transform:translate(-20px,-115vh) rotate(-6deg); opacity:.9; } }
@keyframes bugFly{ 0%{ transform:translate(0,0) rotate(0); } 20%{ transform:translate(60px,-40px) rotate(12deg); } 40%{ transform:translate(120px,30px) rotate(-8deg); }
  60%{ transform:translate(40px,80px) rotate(10deg); } 80%{ transform:translate(-40px,20px) rotate(-12deg); } 100%{ transform:translate(0,0) rotate(0); } }
@keyframes petalFall{ 0%{ transform:translate(0,0) rotate(0); } 25%{ transform:translate(var(--dx),28vh) rotate(90deg); } 50%{ transform:translate(calc(var(--dx) * -.6),56vh) rotate(200deg); }
  75%{ transform:translate(calc(var(--dx) * .8),84vh) rotate(290deg); } 100%{ transform:translate(0,112vh) rotate(380deg); opacity:0; } }
@keyframes popAndFloat{ 0%{ transform:scale(0) translateY(0); opacity:0; } 20%{ transform:scale(1.3) translateY(-15px); opacity:1; }
  80%{ transform:scale(1) translateY(-60px); opacity:.9; } 100%{ transform:scale(.6) translateY(-100px); opacity:0; } }
@keyframes sparkOut{ from{ transform:translate(-50%,-50%) scale(.4); opacity:1; } to{ transform:translate(calc(-50% + var(--sx)),calc(-50% + 40px)) scale(1.2) rotate(90deg); opacity:0; } }
@keyframes flap{ from{ transform:scaleX(1) rotate(-8deg); } to{ transform:scaleX(.45) rotate(8deg); } }

/* ---------- Respect reduced-motion settings ---------- */
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{ animation-duration:.01ms !important; animation-iteration-count:1 !important; animation-delay:0s !important; transition-duration:.01ms !important; scroll-behavior:auto !important; }
  .js .rv:not(.in-view),.js .stagger > *:not(.in-view){ opacity:1; }
  .petal,.random-pop,.balloon{ display:none; }
  .floral-divider .veh{ animation:none !important; left:var(--x,50%); }
}

/* ---------- Farm animal & toy vehicle borders for cards and grids ---------- */
.daisy-card,.glass-panel,.park-card,.t-card,.parchment-scroll,
main [class*="border-4"],main [class*="border-8"]{
  border:var(--fw) solid transparent !important;
  border-image:var(--fborder) 36 / var(--fw) round !important;
  border-radius:4px !important;
  outline:none !important;
}
/* small tiles (animal buddies, age groups) get a slimmer border */
main [class*="border-2"][class*="border-amber-300"]{
  border:calc(var(--fw) * .75) solid transparent !important;
  border-image:var(--fborder) 36 / calc(var(--fw) * .75) round !important;
  border-radius:4px !important;
}
/* the old corner decorations are replaced by the border */
.daisy-card::before,.daisy-card::after,.glass-panel::before,.park-card::before,.park-card::after,
.parchment-scroll::before,.parchment-scroll::after,.t-card::after{ content:none !important; }
.park-card{ box-shadow:0 14px 30px rgba(180,83,9,.16) !important; }
.parchment-scroll{ box-shadow:0 10px 28px rgba(180,83,9,.16) !important; }
.t-quote{ top:2px; } .t-tag{ top:-24px; }
main .no-floral{ border:0 !important; border-image:none !important; }

/* ---------- Nav links ---------- */
.nav-link{ position:relative; padding:.45rem 1.1rem; border-radius:999px; transition:color .3s,transform .3s,background .3s; }
.nav-link::after{ content:''; position:absolute; left:1.1rem; right:1.1rem; bottom:3px; height:3px; border-radius:3px;
  background:linear-gradient(90deg,var(--amber),var(--rose)); transform:scaleX(0); transform-origin:left; transition:transform .35s; }
.nav-link:hover{ transform:translateY(-2px); }
.nav-link:hover::after{ transform:scaleX(1); }
.nav-link-active{ position:relative; background:linear-gradient(135deg,#fde68a,#fbbf24); color:var(--ink) !important;
  box-shadow:0 4px 0 #d97706,0 10px 18px rgba(217,119,6,.3); }
.nav-link-active::after{ transform:scaleX(0) !important; }
.nav-link-active::before{ content:'🐮'; position:absolute; left:-12px; top:-14px; font-size:18px; animation:wiggle 2.4s ease-in-out infinite; }
.brand-daisy{ display:inline-block; animation:spinSlow 10s linear infinite; }
.cursor-btn-active{ background:#fff !important; box-shadow:0 0 0 2px #f59e0b,0 4px 10px rgba(0,0,0,.15); transform:scale(1.1); }

/* 🌟 Top Scroll Progress Bar Styling 🌟 */
#scrollBar {
    position: fixed;
    top: 0;
    left: 0;
    height: 5px;
    background: linear-gradient(to right, #d97706, #f59e0b, #10b981);
    width: 0%;
    z-index: 9999;
    transition: width 0.1s ease-out;
    border-radius: 0 2px 2px 0;
}