/* Kanvartfuly Christmas Theme 1.0 — brand teal / mint / red / white
   Snow, sleigh, snowman, bauble garland, string lights, candy-cane header stripe, Christmas logos.
   Everything is scoped to body.kvx-on, so switching the plugin off restores the normal site. */

body.kvx-on{
  --kvx-night:#01726F;
  --kvx-night-2:#23B3AC;
  --kvx-night-3:#01726F;
  --kvx-card:#025D5A;
  --kvx-cream:#FFFFFF;
  --kvx-orange:#FCC12B;
  --kvx-orange-2:#E02045;
  --kvx-violet:#E02045;
  --kvx-lime:#FCC12B;
  --kvx-pink:#E02045;
  --kvx-moon:#FFF3C4;
  --kvx-teal:#01726F;
}

/* ===================== HEADER (light touch: stays white, orange accent) ===================== */
body.kvx-on.kvx-header-on :is(.kvx-header,nav.nav,header.site-header,#masthead){
  background:#fff !important;
  border-bottom:0 !important;
  box-shadow:0 2px 14px rgba(1,114,111,.10) !important;
}
body.kvx-on.kvx-header-on :is(.kvx-header,nav.nav,header.site-header,#masthead) a:hover,
body.kvx-on.kvx-header-on :is(.kvx-header,nav.nav,header.site-header,#masthead) .current-menu-item:not(.menu-item-type-custom) > a,
body.kvx-on.kvx-header-on :is(.kvx-header,nav.nav,header.site-header,#masthead) li.current_page_item:not(.menu-item-type-custom) > a{color:var(--kvx-orange) !important}
body.kvx-on.kvx-header-on :is(.kvx-header,nav.nav,header.site-header,#masthead) .menu-item-type-custom > a:not(:hover){color:var(--ink,#01726f) !important}
body.kvx-on.kvx-header-on :is(.kvx-header,nav.nav,header.site-header,#masthead) a.kvx-book,
body.kvx-on.kvx-header-on :is(.kvx-header,nav.nav,header.site-header,#masthead) a.kvx-book *{color:#fff !important}
body.kvx-on.kvx-header-on :is(.kvx-header,nav.nav,header.site-header,#masthead) a.kvx-book{
  background:var(--kvx-orange-2) !important;
  border:0 !important;
  border-radius:999px !important;
  box-shadow:0 6px 16px rgba(224,32,69,.3) !important;
  transition:transform .15s ease,background .2s;
}
body.kvx-on.kvx-header-on :is(.kvx-header,nav.nav,header.site-header,#masthead) a.kvx-book:hover{background:#C2183A !important;transform:translateY(-1px)}
/* one tiny bat perched by the logo (desktop only) */
body.kvx-on.kvx-header-on :is(.kvx-header,nav.nav,header.site-header,#masthead) .kvx-header-bat{position:absolute;width:28px;height:auto;fill:#01726F;left:clamp(190px,15vw,250px);top:14px;pointer-events:none;z-index:2;animation:kvx-bat 7s ease-in-out infinite}
body.kvx-on.kvx-header-on :is(.kvx-header,nav.nav,header.site-header,#masthead)::before{content:"";position:absolute;left:0;right:0;bottom:-4px;height:10px;background:repeating-linear-gradient(135deg,#E02045 0 12px,#FFFFFF 12px 24px);z-index:3}
body.kvx-on.kvx-header-on :is(.kvx-header,nav.nav,header.site-header,#masthead)::after{content:"";position:absolute;left:0;right:0;bottom:-24px;height:18px;pointer-events:none;z-index:3;background:radial-gradient(circle at 12px 8px,#E02045 5px,transparent 6px) 0 0/72px 18px repeat-x,radial-gradient(circle at 12px 8px,#FCC12B 5px,transparent 6px) 24px 0/72px 18px repeat-x,radial-gradient(circle at 12px 8px,#FFFFFF 5px,transparent 6px) 48px 0/72px 18px repeat-x;filter:drop-shadow(0 0 5px rgba(255,243,196,.9));animation:kvx-lights 1.4s steps(2) infinite}
@keyframes kvx-lights{50%{opacity:.5}}
body.kvx-on.kvx-header-on :is(.kvx-header,nav.nav,header.site-header,#masthead) .kvx-header-hat{position:absolute;width:34px;height:auto;left:4px;top:4px;transform:rotate(-12deg);pointer-events:none;z-index:4}
@media (max-width:860px){body.kvx-on.kvx-header-on :is(.kvx-header,nav.nav,header.site-header,#masthead) .kvx-header-hat{width:26px;left:2px;top:6px}}

/* ===================== HERO (inner pages) ===================== */
body.kvx-on .kvx-hero{
  position:relative;
  background:radial-gradient(120% 80% at 80% -10%,var(--kvx-night-2) 0%,var(--kvx-night) 55%,var(--kvx-night-3) 100%) !important;
  color:var(--kvx-cream) !important;
  overflow:hidden !important;
  isolation:isolate;
}
body.kvx-on .kvx-hero h1,
body.kvx-on .kvx-hero h2,
body.kvx-on .kvx-hero h3,
body.kvx-on .kvx-hero p,
body.kvx-on .kvx-hero li,
body.kvx-on .kvx-hero span,
body.kvx-on .kvx-hero small,
body.kvx-on .kvx-hero label,
body.kvx-on .kvx-hero a:not(.kvx-btn){color:var(--kvx-cream) !important;opacity:1}
body.kvx-on .kvx-hero h1,
body.kvx-on .kvx-hero h1 *{
  color:var(--kvx-cream) !important;
  -webkit-text-fill-color:var(--kvx-cream);
  text-shadow:0 0 34px rgba(252,193,43,.35);
}
/* the line right under the title (subtitle) goes orange, like the slideshow */
body.kvx-on .kvx-hero h1 + .subtitle,
body.kvx-on .kvx-hero .kvx-sub{color:var(--kvx-orange) !important;font-weight:700}
/* small eyebrow line above the title (e.g. "✦ Check Schedule for Availability") */
body.kvx-on .kvx-hero .kvx-eyebrow{color:var(--kvx-orange) !important;font-weight:700;letter-spacing:.04em}
/* breadcrumbs */
body.kvx-on .kvx-hero nav a,
body.kvx-on .kvx-hero .breadcrumb a,
body.kvx-on .kvx-hero .breadcrumbs a{color:var(--kvx-moon) !important;opacity:.85}

/* buttons in the hero: pumpkin orange, dark text (same as the slideshow's Book Now) */
body.kvx-on .kvx-hero a.kvx-btn,
body.kvx-on .kvx-hero a.kvx-btn *,
body.kvx-on .kvx-hero button.kvx-btn{color:#fff !important}
body.kvx-on .kvx-hero a.kvx-btn,
body.kvx-on .kvx-hero button.kvx-btn{
  background:var(--kvx-orange-2) !important;
  border:0 !important;
  border-radius:999px !important;
  box-shadow:0 10px 24px rgba(224,32,69,.35) !important;
  transition:transform .15s ease,box-shadow .15s ease,background .2s;
}
body.kvx-on .kvx-hero a.kvx-btn:hover,
body.kvx-on .kvx-hero button.kvx-btn:hover{background:var(--kvx-orange) !important;transform:translateY(-2px);box-shadow:0 14px 30px rgba(224,32,69,.45) !important}

/* hero photos: round-ish dark frames with an orange glow (optional) */
body.kvx-on .kvx-hero img.kvx-img{
  border:6px solid var(--kvx-card) !important;
  border-radius:999px 999px 24px 24px !important;
  box-shadow:0 0 0 3px var(--kvx-orange),0 0 50px rgba(252,193,43,.35) !important;
}
body.kvx-on .kvx-hero img.kvx-img-2{box-shadow:0 0 0 3px var(--kvx-violet),0 0 50px rgba(224,32,69,.35) !important}

/* content sits above the decorations */
body.kvx-on .kvx-hero > *:not(.kvx-hw):not(.kvx-deco){position:relative;z-index:2}

/* ===================== DECORATIONS (shared by inner heroes and the home slideshow) ===================== */
body.kvx-on .kvx-hw{position:absolute;inset:0;pointer-events:none;z-index:1;overflow:hidden}
body.kvx-on .kvx-hw svg,body.kvx-on .kvx-hw img{position:absolute;display:block}
body.kvx-on .kvx-hw::before{content:"";position:absolute;left:0;right:0;top:-260px;bottom:0;pointer-events:none;background-image:radial-gradient(circle,rgba(255,255,255,.95) 2px,transparent 3px),radial-gradient(circle,rgba(255,255,255,.7) 1.3px,transparent 2px),radial-gradient(circle,rgba(255,255,255,.5) 3px,transparent 4px);background-size:110px 130px,170px 150px,260px 260px;background-position:0 0,50px 70px,120px 30px;animation:kvx-snowfall 14s linear infinite;opacity:.9}
@keyframes kvx-snowfall{to{background-position:0 130px,50px 220px,120px 290px}}
body.kvx-on .kvx-hw .kvx-moon{right:9%;top:7%;width:clamp(60px,7vw,100px);fill:#FCC12B;animation:kvx-twinkle 4s ease-in-out infinite;filter:drop-shadow(0 0 28px rgba(255,243,196,.55));opacity:.95}
body.kvx-on .kvx-hw .kvx-bat{fill:none;stroke:#FFFFFF;stroke-width:5;stroke-linecap:round;opacity:.9;animation:kvx-bat 9s ease-in-out infinite}
body.kvx-on .kvx-hw .kvx-b1{left:20%;top:12%;width:clamp(34px,4vw,60px)}
body.kvx-on .kvx-hw .kvx-b2{left:76%;top:70%;width:clamp(22px,2.6vw,40px);animation-delay:-2.5s}
body.kvx-on .kvx-hw .kvx-b3{right:4%;top:36%;width:clamp(26px,3vw,46px);animation-delay:-4.5s}
body.kvx-on .kvx-hw .kvx-web{left:3%;top:0;width:clamp(110px,13vw,180px);animation:kvx-sway 5s ease-in-out infinite;transform-origin:50% 0}
@keyframes kvx-sway{0%,100%{transform:rotate(-2deg)}50%{transform:rotate(2deg)}}
body.kvx-on .kvx-hw .kvx-pumpkin{left:4%;bottom:4%;width:clamp(90px,11vw,160px)}
body.kvx-on .kvx-hw .kvx-star{fill:var(--kvx-cream);opacity:.7;animation:kvx-twinkle 3s ease-in-out infinite}
body.kvx-on .kvx-hw .kvx-sleigh{left:-30%;top:12%;width:clamp(180px,19vw,320px);height:auto;animation:kvx-fly 18s linear infinite;filter:drop-shadow(0 6px 10px rgba(0,0,0,.25))}
@keyframes kvx-fly{0%{transform:translate(0,0)}25%{transform:translate(35vw,-14px)}50%{transform:translate(70vw,6px)}75%{transform:translate(105vw,-10px)}100%{transform:translate(140vw,0)}}
body.kvx-on .kvx-hw .kvx-snowman{left:16%;bottom:2%;width:clamp(70px,8vw,120px);transform-origin:50% 100%;animation:kvx-bob 3s ease-in-out infinite}
body.kvx-on .kvx-hw .kvx-snowman .arm{transform-origin:70px 72px;animation:kvx-wave 1.2s ease-in-out infinite}
@keyframes kvx-wave{0%,100%{transform:rotate(0)}50%{transform:rotate(-28deg)}}
@keyframes kvx-bob{0%,100%{transform:rotate(-3deg)}50%{transform:rotate(3deg)}}
@keyframes kvx-spin{to{transform:rotate(360deg)}}
body.kvx-on .kvx-hw .kvx-cane{right:17%;bottom:3%;width:clamp(50px,5vw,80px);transform:rotate(14deg);transform-origin:50% 100%;animation:kvx-tilt 4s ease-in-out infinite}
@keyframes kvx-tilt{0%,100%{transform:rotate(14deg)}50%{transform:rotate(8deg)}}
@media (max-width:640px){body.kvx-on .kvx-hw .kvx-snowman{left:auto;right:3%;bottom:14vw;width:14vw} body.kvx-on .kvx-hw .kvx-sleigh{top:2%;width:34vw} body.kvx-on .kvx-hw .kvx-cane{display:none}}
@media (prefers-reduced-motion:reduce){body.kvx-on .kvx-hw .kvx-sleigh,body.kvx-on .kvx-hw .kvx-snowman,body.kvx-on .kvx-hw .kvx-snowman .arm,body.kvx-on .kvx-hw .kvx-badge-x,body.kvx-on .kvx-hw .kvx-cane{animation:none}}
body.kvx-on .hero.xmas .kvx-hw .kvx-snowman{left:30%}body.kvx-on .hero.xmas .kvx-hw .kvx-cane{right:26%}
@media (max-width:640px){ body.kvx-on .kvx-hw .kvx-snowman{left:auto;right:30%;bottom:1vw;width:14vw} body.kvx-on .hero.xmas .kvx-hw .kvx-snowman{left:6vw;right:auto;bottom:1.5vw;width:11vw}}
body.kvx-on .kvx-hw .kvx-s1{left:12%;top:8%;width:10px}
body.kvx-on .kvx-hw .kvx-s2{left:62%;top:6%;width:7px;animation-delay:-1s}
body.kvx-on .kvx-hw .kvx-s3{left:88%;top:52%;width:9px;animation-delay:-2s}
body.kvx-on .kvx-hw .kvx-s4{left:30%;top:88%;width:6px;animation-delay:-.5s}
/* one object per inner page (palette, easel, balloons, calendar, voucher, envelope) */
body.kvx-on .kvx-hw .kvx-obj{right:3%;bottom:0;width:clamp(110px,12vw,190px);opacity:.95}
@keyframes kvx-bat{0%,100%{transform:translate(0,0) rotate(0)}50%{transform:translate(8px,14px) rotate(40deg)}}
@keyframes kvx-twinkle{0%,100%{opacity:.25;transform:scale(.8)}50%{opacity:.9;transform:scale(1.1)}}

/* home slideshow: the plugin only adds the "halloween" class + decorations; colours come from the rules below */
body.kvx-on .hero.xmas .wrap{position:relative;z-index:2}
body.kvx-on .hero.xmas .kvx-hw .kvx-pumpkin{right:auto;left:46%}

@media (max-width:860px){
  body.kvx-on .kvx-hw .kvx-moon{right:6%;top:4%;width:16vw}
  body.kvx-on .kvx-hw .kvx-b1{left:4%;top:38%;width:6vw;opacity:.5}
  body.kvx-on .kvx-hw .kvx-b2{display:none}
  body.kvx-on .kvx-hw .kvx-b3{right:3%;top:60%;width:5vw}
  body.kvx-on .kvx-hw .kvx-web{width:16vw;left:2%}
  body.kvx-on .hero.xmas .kvx-hw .kvx-web{display:none}
  body.kvx-on .kvx-hw .kvx-moon{width:12vw;top:2%;right:4%}
  /* inner page heroes: reserve a strip under the text so the pumpkin / page object never cover it */
  body.kvx-on .kvx-hero:not(.hero){padding-bottom:30vw !important}
  body.kvx-on .kvx-hero:not(.hero) > *:not(.kvx-hw){position:relative;z-index:2}
  body.kvx-on .kvx-hw .kvx-pumpkin{width:22vw;left:4%;bottom:2vw}
  body.kvx-on .kvx-hw .kvx-obj{width:20vw;right:4%;bottom:1vw}
  body.kvx-on .hero.xmas .kvx-hw .kvx-pumpkin{left:auto;right:34%;bottom:8.5vw;width:14vw}
}

/* ===================== HOME SLIDESHOW colour overrides (Kanvartfuly hero slideshow) ===================== */
body.kvx-on .hero.xmas[data-slide]{--bg:#01726F;--fg:#FFFFFF;--acc:#FCC12B;--btnbg:#E02045;--btnfg:#FFFFFF;--sweep:#FCC12B}
body.kvx-on .hero.xmas{background:radial-gradient(120% 80% at 80% -10%,#23B3AC 0%,#01726F 55%,#01726F 100%) !important}
body.kvx-on .hero.xmas mark{color:#01726F}
body.kvx-on .hero.xmas .ph{background:#025D5A;color:#FFFFFF}
body.kvx-on .hero.xmas .next{display:none} body.kvx-on .hero.xmas .bar{justify-content:flex-end} body.kvx-on .hero.xmas .next .thumb{color:#01726F}
body.kvx-on .hero.xmas .badge-give{background:#FCC12B;color:#01726F}
body.kvx-on .hero.xmas .card{background:#FFFFFF;color:#01726F;box-shadow:0 18px 40px rgba(0,0,0,.5)}
body.kvx-on .hero.xmas .card-name{color:#01726F} body.kvx-on .hero.xmas .card-when{color:#1E1E1E}
body.kvx-on .hero.xmas .card-img{background:#D9F6F1} body.kvx-on .hero.xmas .card-img .ph{background:#D9F6F1;color:#01726F}
body.kvx-on .hero.xmas .chip-seats{background:#D9F6F1;color:#01726F} body.kvx-on .hero.xmas .chip-fee{background:#FFE9EC;color:#E02045} body.kvx-on .hero.xmas .card-go{color:#E02045}
body.kvx-on .hero.xmas .rules{color:#FFFFFF}
body.kvx-on .hero.xmas .blob{filter:drop-shadow(0 0 30px rgba(252,193,43,.25))}

/* ===================== FOOTER (deep purple night, cream text) ===================== */
body.kvx-on .kvx-footer{
  position:relative;
  background:var(--kvx-night-3) !important;
  border-top:0 !important;
}
body.kvx-on .kvx-footer,
body.kvx-on .kvx-footer p,
body.kvx-on .kvx-footer li,
body.kvx-on .kvx-footer span,
body.kvx-on .kvx-footer address,
body.kvx-on .kvx-footer a{color:var(--kvx-cream) !important;opacity:1}
body.kvx-on .kvx-footer h1,
body.kvx-on .kvx-footer h2,
body.kvx-on .kvx-footer h3,
body.kvx-on .kvx-footer h4,
body.kvx-on .kvx-footer h5,
body.kvx-on .kvx-footer h6{color:var(--kvx-orange) !important}
body.kvx-on .kvx-footer *{border-color:rgba(255,255,255,.18) !important}
body.kvx-on .kvx-footer a:hover{color:var(--kvx-orange) !important;text-decoration:none}
body.kvx-on .kvx-footer img.kvx-logo{width:230px !important;height:auto !important;max-width:100% !important;max-height:none !important;object-fit:contain}
body.kvx-on .kvx-footer a.kvx-social{background:rgba(255,255,255,.12) !important;border-radius:50% !important;text-decoration:none !important}
body.kvx-on .kvx-footer a.kvx-social,
body.kvx-on .kvx-footer a.kvx-social *{color:var(--kvx-cream) !important}
body.kvx-on .kvx-footer a.kvx-social:hover{background:var(--kvx-orange) !important}
body.kvx-on .kvx-footer a.kvx-social:hover *{color:var(--kvx-night) !important}
body.kvx-on .kvx-footer .kvx-copy,
body.kvx-on .kvx-footer .kvx-copy *{color:rgba(255,255,255,.75) !important}

@media (prefers-reduced-motion:reduce){
  body.kvx-on .kvx-hw .kvx-bat,
  body.kvx-on .kvx-hw .kvx-star{animation:none}
}


body.kvx-on .kvx-hero a.kvx-btn.btn-outline,body.kvx-on .kvx-hero a.kvx-btn.kk-btn-outline{background:transparent !important;color:#fff !important;border:2px solid #fff !important;box-shadow:none !important}

/* ===== v1.0.1: blob colours by slide kind (slide numbers change when slides are added) ===== */
body.kvx-on .hero.xmas[data-kind="welcome"]{--blob:#FCC12B}
body.kvx-on .hero.xmas[data-kind="artkits"]{--blob:#E02045}
body.kvx-on .hero.xmas[data-kind="featured"]{--blob:#3CD3C4}
body.kvx-on .hero.xmas[data-kind="giveaway"]{--blob:#E02045}
body.kvx-on .hero.xmas[data-kind="walkins"]{--blob:#FCC12B}
body.kvx-on .hero.xmas[data-kind="workshops"]{--blob:#FCC12B}
body.kvx-on .hero.xmas[data-kind="events"]{--blob:#E02045}
body.kvx-on .hero.xmas[data-kind="vouchers"]{--blob:#E02045}

/* ===== v1.0.1: no flash. Logos and the home slideshow stay hidden until the Christmas version is in place
   (the page shows them anyway after 2.5s if anything goes wrong). ===== */
@keyframes kvx-show{to{visibility:visible}}
body.kvx-on:not(.kvx-ready) header img,
body.kvx-on:not(.kvx-ready) nav.nav img,
body.kvx-on:not(.kvx-ready) footer img[src*="logo"],
body.kvx-on:not(.kvx-ready) .kvhs.hero{visibility:hidden;animation:kvx-show 0s 2.5s forwards}

/* ===== v1.0.1: logos have a fixed, safe size on every screen (the SVG is 690px wide by itself) ===== */
body.kvx-on img.kvx-logo{width:clamp(150px,13vw,190px) !important;height:auto !important;max-width:100% !important;max-height:none !important;margin:0 !important;object-fit:contain;flex:none}
body.kvx-on .kvx-footer img.kvx-logo,body.kvx-on img.kvx-logo.kvx-logo-footer{width:min(230px,70vw) !important;margin:0 0 14px !important;display:block}
@media (max-width:860px){body.kvx-on img.kvx-logo{width:min(46vw,200px) !important}}
@media (max-width:380px){body.kvx-on img.kvx-logo{width:min(48vw,170px) !important}}

/* ===== v1.0.1: nothing may widen the page on phones/tablets ===== */
html:has(body.kvx-on),body.kvx-on{overflow-x:clip}
body.kvx-on .kvx-hw,body.kvx-on .hero.xmas,body.kvx-on .kvx-hero{max-width:100vw}
body.kvx-on .kvx-hw .kvx-sleigh{max-width:none}

/* ===== v1.0.1: home slideshow on phones and tablets ===== */
body.kvx-on .hero.xmas .slides,body.kvx-on .hero.xmas .bar{position:relative;z-index:3}
@media (max-width:860px){
  /* keep the string lights, sleigh and star in their own strip above the title */
  body.kvx-on .hero.xmas .wrap{padding-top:clamp(34px,11vw,64px)}
  body.kvx-on .hero.xmas .kvx-hw .kvx-sleigh{top:1%;width:clamp(90px,24vw,170px)}
  body.kvx-on .hero.xmas .kvx-hw .kvx-moon{top:1%;right:3%;width:clamp(26px,8vw,48px)}
  body.kvx-on .hero.xmas .kvx-hw .kvx-snowman{bottom:3vw;width:clamp(44px,12vw,80px)}
  body.kvx-on .hero.xmas .kvx-hw .kvx-pumpkin{bottom:3vw;width:clamp(52px,14vw,90px)}
}
@media (max-width:480px){
  body.kvx-on .hero.xmas .kvx-hw .kvx-cane,body.kvx-on .hero.xmas .kvx-hw .kvx-b1,body.kvx-on .hero.xmas .kvx-hw .kvx-b3{display:none}
}
@media (min-width:861px) and (max-width:1100px){
  body.kvx-on .hero.xmas .kvx-hw .kvx-sleigh{width:clamp(150px,18vw,220px)}
}
/* inner page heroes: decorations never cover the text on small screens */
@media (max-width:640px){
  body.kvx-on .kvx-hero:not(.hero) .kvx-hw .kvx-sleigh{top:0;width:26vw}
  body.kvx-on .kvx-hero:not(.hero) .kvx-hw .kvx-snowman{width:13vw}
}

/* ===== v1.0.2: phone menu. The theme opens it at a fixed top:60px, but the Christmas header (bigger logo, stripe and lights)
   is taller, so the menu slid up under the header and the stripe covered the first item. It now starts exactly under the
   header and clears the stripe and lights, and scrolls if it is taller than the screen. ===== */
@media (max-width:900px){
  body.kvx-on.kvx-header-on :is(.kvx-header,nav.nav,header.site-header,#masthead) .nav-links{
    top:100% !important;
    padding:46px 28px 28px !important;
    gap:18px !important;
    max-height:calc(100vh - 150px);
    max-height:calc(100dvh - 150px);
    overflow-y:auto;
    overscroll-behavior:contain;
    -webkit-overflow-scrolling:touch;
    z-index:1;
  }
  body.kvx-on.kvx-header-on :is(.kvx-header,nav.nav,header.site-header,#masthead) .nav-links .sub-menu{max-width:100%}
}

/* ===== v1.0.2: slimmer header, menu slides out from UNDER the header ===== */
body.kvx-on.kvx-header-on :is(.kvx-header,nav.nav) .nav-inner{padding-top:8px !important;padding-bottom:8px !important;position:relative}
body.kvx-on.kvx-header-on :is(.kvx-header,nav.nav) img.kvx-logo{width:clamp(120px,10.5vw,150px) !important}
@media (max-width:900px){
  body.kvx-on.kvx-header-on :is(.kvx-header,nav.nav) .nav-inner{padding-top:6px !important;padding-bottom:6px !important}
  body.kvx-on.kvx-header-on :is(.kvx-header,nav.nav) img.kvx-logo{width:min(34vw,135px) !important}
  /* reveal downward from the header edge instead of sliding over the logo */
  body.kvx-on.kvx-header-on :is(.kvx-header,nav.nav) .nav-links{
    transform:none !important;
    clip-path:inset(0 0 100% 0);
    visibility:hidden;
    transition:clip-path .3s ease,visibility 0s .3s !important;
  }
  body.kvx-on.kvx-header-on :is(.kvx-header,nav.nav) .nav-links.open{
    clip-path:inset(0 0 0 0);
    visibility:visible;
    transition:clip-path .3s ease,visibility 0s !important;
  }
}

/* ===== v1.0.4: the header keeps the theme's own position (sticky), so it stays on screen when About/Contact scroll the page ===== */
html:has(body.kvx-on.kvx-header-on){scroll-padding-top:90px}
