/* ————— Theme tokens & resets (Gentle Beige + Gentle Pink) ————— */
:root{
  --pink:#F7A9C4;            /* secondary pink */
  --pink-accent:#FF8FB8;     /* brighter pink accent */
  --beige:#F5E9DD;           /* primary beige */
  --beige-soft:#F9F1EA;      /* soft page background */
  --beige-accent:#EADCCA;    /* deeper beige accent */
  --link:#8A4F62;            /* accessible link color */
  --link-hover:#6E3F4F;      /* darker hover */
  --yellow:#F3D9A4;          /* soft warm accent */
  --green:#9CC9B5;           /* supporting accent */
  --purple:#D7B5F3;          /* softened purple */
  --ink:#2B2322;             /* primary text */
  --ink-70:rgba(43,35,34,.7);
  --bg:var(--beige-soft);
  --white:#fff;
  --surface:#fff;
  --shadow:0 8px 30px rgba(0,0,0,.08);
  --radius:20px;
  --contrast-dark:#ffffff;
  --contrast-light:#2B2322;
}

*{box-sizing:border-box}
html,body{height:100%}
html{scroll-behavior:smooth; overflow-x:hidden}
body{
  margin:0;
  font-family: "Trebuchet MS", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--ink);
  background:var(--bg);
  line-height:1.6;
  overflow-x:hidden;
}
img{max-width:100%;display:block;height:auto}
a:not(.btn){color:var(--link);text-decoration:none;font-weight:600}
a:not(.btn):hover{color:var(--link-hover);text-decoration:underline}
.container{width:min(1100px, 92%); margin-inline:auto}
.narrow{width:min(780px, 92%); margin-inline:auto}
.section{padding:64px 0}
.section:not(.hero){content-visibility:auto;contain-intrinsic-size: 700px}
.section--alt{background:var(--surface)}
.grid-2{display:grid;grid-template-columns:1fr;gap:32px}
.grid-3{display:grid;grid-template-columns:1fr;gap:24px}
.grid-4{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}
@media (min-width:720px){
  .grid-2{grid-template-columns:1.1fr .9fr}
  .grid-3{grid-template-columns:repeat(3,1fr)}
  .grid-4{grid-template-columns:repeat(4,1fr)}
  .btn-primary{background:linear-gradient(135deg,var(--beige),var(--beige-accent));color:var(--ink)}
}
.skip-link{position:absolute;left:-9999px;top:auto}

/* Kicker for hero */
.kicker{
  display:inline-block;
  margin:0 0 6px;
  font-weight:800;
  letter-spacing:.3px;
  text-transform:uppercase;
  background:rgba(255,255,255,.18);
  padding:6px 10px;
  border-radius:999px;
}

/* Header */
.site-header{position:sticky; top:0; z-index:40; background:linear-gradient(135deg,var(--beige) 0%,var(--beige-accent) 55%,rgba(247,169,196,.35) 100%); color:var(--ink); backdrop-filter:blur(10px);box-shadow:0 4px 14px -6px rgba(0,0,0,.12);border-bottom:1px solid rgba(0,0,0,.06); --header-h:158px}
.header-inner{display:flex;align-items:center;justify-content:space-between;padding:4px 0}
.logo{display:flex;align-items:center;gap:10px;color:inherit;text-decoration:none;font-weight:800;letter-spacing:.2px}
.logo span{font-size:1.06rem}
.site-header .logo img{width:150px;height:150px}
.logo-svg .logo-spark{stroke-dasharray:160; stroke-dashoffset:160; animation:spark 3.2s ease-in-out infinite}

/* Desktop refinements for large logo alignment */
@media (min-width: 900px){
  .site-header .logo{gap:12px}
  .site-header .logo span{font-size:1.25rem}
  .site-header .site-nav ul{align-items:center}
  .site-header .site-nav a{display:inline-flex;align-items:center;padding-top:6px;padding-bottom:6px}
}
@keyframes spark{20%{stroke-dashoffset:120} 60%{stroke-dashoffset:0} 100%{stroke-dashoffset:160}}

.burger{width:48px;height:40px;border:0;background:transparent;display:grid;gap:6px;cursor:pointer;padding:4px;border-radius:10px}
.burger span{display:block;height:3px;background:var(--contrast-dark);border-radius:3px;transition:.3s}
/* Mobile nav panel */
.site-nav{position:fixed;inset:0 0 auto auto;top:var(--header-h,64px);right:0;background:#fff;width:88%;max-width:420px;height:calc(100dvh - var(--header-h,64px));padding:22px;transition:transform .35s;box-shadow:var(--shadow);transform:translateX(100%);z-index:30;border-top-left-radius:18px}
.site-nav.open{transform:translateX(0)}
.site-nav ul{list-style:none;margin:0;padding:2px 0 0;display:grid;gap:14px}
.site-nav a{display:block;padding:14px 16px;border-radius:14px;background:var(--beige-soft);color:var(--ink);font-weight:600;letter-spacing:.3px;min-height:44px}
.site-nav a:hover{background:var(--beige);text-decoration:none}
/* Dropdown (Services) */
.site-nav li.has-dropdown{position:relative}
.site-nav li.has-dropdown > a{display:inline-flex;align-items:center;gap:6px}
.site-nav .dropdown-toggle{background:transparent;border:0;padding:6px;cursor:pointer;line-height:1;border-radius:10px;display:inline-flex;align-items:center;justify-content:center;margin-left:2px;width:36px;height:36px}
.site-nav .dropdown-toggle:before{content:"\25BE"; /* down caret */ font-size:.9rem; color:currentColor; opacity:.8}
.site-nav .dropdown{position:absolute;left:0;top:100%;min-width:240px;background:#fff;border-radius:14px;box-shadow:0 12px 26px -10px rgba(0,0,0,.2);padding:10px;display:grid;gap:8px;list-style:none;margin:0;opacity:0;transform:translateY(6px);pointer-events:none;transition:opacity .25s, transform .25s;z-index:30}
.site-nav .dropdown a{background:var(--beige-soft);padding:10px 12px;border-radius:12px}
.site-nav .dropdown a:hover{background:var(--beige)}
@media (min-width:900px){
  .burger{display:none}
  .site-nav{all:unset}
  .site-nav ul{display:flex;gap:12px}
  .site-nav a{background:transparent;color:var(--ink);padding:10px 12px;border-radius:10px;position:relative}
  .site-nav a:after{content:"";position:absolute;left:12px;right:12px;bottom:4px;height:2px;background:linear-gradient(90deg,transparent,var(--pink) 25%,var(--pink-accent) 75%,transparent);opacity:0;transform:translateY(3px);transition:.35s}
  .site-nav a:hover:after,.site-nav a:focus-visible:after{opacity:1;transform:translateY(0)}
  .site-nav .btn{background:#fff;color:#000}
  .site-nav .btn-cta{background:linear-gradient(135deg,var(--beige),var(--beige-accent));color:#000}
  /* Desktop: hide toggle chevron; hover/focus shows submenu */
  .site-nav .dropdown-toggle{display:none}
  /* Desktop: show dropdown on hover/focus */
  .site-nav li.has-dropdown:hover > .dropdown,
  .site-nav li.has-dropdown:focus-within > .dropdown{opacity:1;transform:translateY(0);pointer-events:auto}
  .site-nav .dropdown a{background:#fff}
}

/* Mobile slideout behavior for dropdown */
.site-nav.open .dropdown{position:static;box-shadow:none;padding:6px 0 0 10px;opacity:1;transform:none;pointer-events:auto;display:none}
.site-nav.open li.has-dropdown.open > .dropdown{display:grid}
.site-nav.open li.has-dropdown > .dropdown-toggle{transform:rotate(0deg);transition:transform .2s}
.site-nav.open li.has-dropdown.open > .dropdown-toggle{transform:rotate(180deg)}

/* Body lock and dimmed backdrop when nav is open */
body.nav-open{overflow:hidden}
body.nav-open::before{content:"";position:fixed;inset:0;background:rgba(0,0,0,.28);backdrop-filter:blur(2px);z-index:20}

/* Tablet tuning for slideout width */
@media (min-width:520px) and (max-width:899.98px){
  .site-nav{width:76%;max-width:460px;padding:24px}
}
@media (max-width:420px){
  .site-nav{width:92%}
  .mini-gallery .gallery-prev,
  .mini-gallery .gallery-next{width:42px;height:42px}
}

/* Header shadow on scroll (applied via JS) */
.scrolled .site-header{box-shadow:0 8px 25px rgba(0,0,0,.08)}

/* Hero */
.hero{color:var(--contrast-dark);padding:0}
.hero .lead{font-size:1.2rem}
.hero .cta-row{display:flex;gap:12px;flex-wrap:wrap}
.hero-carousel{position:relative;width:100vw;height:82vh;height:82svh;overflow:hidden;margin:0;border-radius:0;box-shadow:none;background:linear-gradient(135deg,#151218,#1f1a28)}
.hero-slides{position:absolute;inset:0;display:flex;transition:transform .6s cubic-bezier(.22, .61, .36, 1);will-change:transform;backface-visibility:hidden}
.hero-slide{position:relative;width:100%;height:100%;margin:0;flex:0 0 100%}
.hero-slide img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;filter:brightness(.88) saturate(1.05);will-change:transform;image-rendering:auto;transform:translateZ(0)}
.hero-slide.active img{transform:none}

/* Enhanced hero title styling */
.hero-title{position:relative;display:inline-block;background:linear-gradient(90deg, #fff 0%, #ffe4f2 35%, #ffd9a8 70%, #fff 100%);-webkit-background-clip:text;background-clip:text;color:transparent;font-weight:800;letter-spacing:.5px;text-shadow:0 2px 8px rgba(0,0,0,.25),0 0 2px rgba(0,0,0,.35);animation:heroGradient 9s linear infinite, heroFadeIn .9s ease both;}
@keyframes heroGradient{0%{filter:brightness(1)}50%{filter:brightness(1.08)}100%{filter:brightness(1)}}
@keyframes heroFadeIn{0%{opacity:0;transform:translateY(14px) scale(.985)}100%{opacity:1;transform:translateY(0) scale(1)}}
/* Soft pulsing underlay glow */
.hero-title:after{content:"";position:absolute;inset:0;pointer-events:none;mix-blend-mode:overlay;background:radial-gradient(circle at 40% 55%,rgba(255,255,255,.55),transparent 60%);animation:heroGlow 7s ease-in-out infinite;opacity:.55}
@keyframes heroGlow{0%,100%{opacity:.35;transform:scale(1)}50%{opacity:.75;transform:scale(1.04)}}
@media (prefers-reduced-motion: reduce){
  .hero-title{animation:none}
  .hero-title:after{display:none}
}
/* Pause hero animations when marked paused (offscreen) */
.hero.paused .hero-title{animation-play-state: paused}
.hero.paused .kicker{animation-play-state: paused}

/* Hero kicker enhancement */
.hero .kicker{display:inline-block;margin:0 0 10px;padding:6px 14px;font-size:.95rem;font-weight:600;letter-spacing:.5px;text-transform:uppercase;border-radius:999px;position:relative;line-height:1.1;background:linear-gradient(90deg,rgba(255,255,255,.9),rgba(255,236,247,.92) 40%,rgba(255,221,188,.9) 75%,rgba(255,255,255,.9));color:#5a3b2b;box-shadow:0 4px 14px -4px rgba(0,0,0,.28),0 2px 4px -2px rgba(0,0,0,.25);backdrop-filter:blur(6px);animation:kickerIn .7s ease .1s both,kickerSheen 7s ease-in-out 1.2s infinite}
@keyframes kickerIn{0%{opacity:0;transform:translateY(8px) scale(.94)}100%{opacity:1;transform:translateY(0) scale(1)}}
@keyframes kickerSheen{0%,92%,100%{background-position:0 0}50%{background-position:140% 0}}
/* subtle sheen layering */
.hero .kicker:after{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;background:linear-gradient(115deg,rgba(255,255,255,0) 0%,rgba(255,255,255,.65) 18%,rgba(255,255,255,0) 36%);mix-blend-mode:overlay;opacity:.7;animation:kickerGlow 6.5s ease-in-out 1.6s infinite}
@keyframes kickerGlow{0%,100%{opacity:.35;transform:translateX(0)}50%{opacity:.85;transform:translateX(4px)}}
@media (prefers-reduced-motion: reduce){
  .hero .kicker{animation:none}
  .hero .kicker:after{animation:none;opacity:.55}
}

/* Section tint variants */
.section-tint{position:relative;isolation:isolate}
.section-tint:before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;opacity:.95}
.section-tint--rose:before{background:linear-gradient(135deg,#fff9fb 0%,#ffeef5 35%,#ffe2ef 70%,#ffdfdf 100%)}
.section-tint--beige:before{background:linear-gradient(140deg,#fffaf4 0%,#f8efe4 30%,#f3e4d4 65%,#eed8c3 100%)}
/* subtle noise overlay for depth */
.section-tint:after{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background-image:radial-gradient(circle at 25% 30%,rgba(255,255,255,.6),rgba(255,255,255,0) 60%),radial-gradient(circle at 75% 70%,rgba(255,255,255,.45),rgba(255,255,255,0) 55%);mix-blend-mode:overlay;opacity:.55}
@media (prefers-reduced-motion: reduce){
  .section-tint:after{opacity:.35}
}
/* spacing adjustments so tinted sections stand out slightly */
/* Global section heading accent bar */
.section h2{position:relative; text-align:center}
.section h2:not(.no-accent):after{content:"";display:block;width:64px;height:4px;border-radius:2px;margin:10px auto 4px;background:linear-gradient(90deg,var(--accent-pink,#ff9fc7),var(--accent-beige,#f6d8b6))}
/* Subhead utility + themed variant */
.subhead{font-size:1.05rem;line-height:1.4;margin:2px 0 22px;font-weight:600;letter-spacing:.25px;color:var(--ink-70);max-width:65ch}
.subhead--services{position:relative;padding:12px 16px;margin-top:4px;background:linear-gradient(135deg,rgba(247,169,196,.18),rgba(255,255,255,.85));border:1px solid rgba(247,169,196,.45);border-radius:18px;box-shadow:0 6px 18px -10px rgba(0,0,0,.12),inset 0 1px 0 rgba(255,255,255,.6)}
.subhead--services:before{content:"";position:absolute;left:14px;top:10px;width:46px;height:5px;border-radius:3px;background:linear-gradient(90deg,var(--pink),var(--beige-accent));opacity:.55}
@media (prefers-reduced-motion: reduce){
  .subhead--services{transition:none}
}
.hero-overlay{position:absolute;inset:0;display:flex;align-items:center;padding:0 0 46px;pointer-events:none}
.hero-overlay:before{content:"";position:absolute;inset:0;background:linear-gradient(120deg,rgba(20,18,31,.72),rgba(20,18,31,.35) 35%,rgba(20,18,31,.15) 60%,rgba(20,18,31,.65))}
.hero-overlay .container{position:relative;z-index:2}
.hero-overlay .hero-copy{max-width:640px}
.hero-overlay .hero-copy a,.hero-overlay .hero-copy button{pointer-events:auto}
.hero-overlay h1{font-size:clamp(2.1rem,4.4vw,3.2rem);line-height:1.05;margin:0 0 18px;color:#fff;text-shadow:0 4px 26px rgba(0,0,0,.55),0 2px 10px rgba(0,0,0,.55);letter-spacing:.5px;font-weight:800}
.hero-overlay .lead{font-size:clamp(1.05rem,1.4vw,1.25rem);background:rgba(0,0,0,.45);padding:14px 18px;border-radius:22px;box-shadow:0 10px 34px -10px rgba(0,0,0,.55);color:#fff;text-shadow:0 2px 10px rgba(0,0,0,.6);border:1px solid rgba(255,255,255,.22)}
.hero-overlay .cta-row .btn{position:relative;font-weight:800;letter-spacing:.4px}
.hero-overlay .btn-primary{background:linear-gradient(135deg,var(--pink),var(--pink-accent));color:#000;border:0;box-shadow:0 10px 32px -12px rgba(247,169,196,.55),0 4px 14px -6px rgba(0,0,0,.4)}
.hero-overlay .btn-primary:hover{filter:brightness(1.07);text-decoration:underline}
.hero-overlay .btn-ghost{background:linear-gradient(120deg,rgba(255,255,255,.92),rgba(255,255,255,.82));border:2px solid rgba(0,0,0,.18);color:#000;box-shadow:0 8px 26px -10px rgba(0,0,0,.6)}
.hero-overlay .btn-ghost:hover{background:linear-gradient(120deg,rgba(255,255,255,.94),rgba(255,255,255,.86));text-decoration:underline}
.hero-nav{position:absolute;inset:auto 0 12px 0;display:flex;align-items:center;justify-content:center;gap:18px;z-index:3;pointer-events:none}
.hero-dots{display:flex;gap:8px;pointer-events:auto}
.hero-dots button{width:14px;height:14px;border-radius:50%;border:2px solid rgba(255,255,255,.7);background:rgba(255,255,255,.25);cursor:pointer;padding:0;display:block;position:relative;transition:background .35s,border-color .35s,transform .35s}
.hero-dots button[aria-selected="true"]{background:linear-gradient(135deg,var(--pink),var(--purple));border-color:transparent;transform:scale(1.35);box-shadow:0 0 0 4px rgba(255,255,255,.35)}
@media (max-width:760px){
  .hero-carousel{height:72vh;height:72svh;min-height:360px}
  .hero-overlay{padding:0 0 34px}
}

/* Doodles */
.doodles{position:absolute;inset:0;pointer-events:none;overflow:hidden}
.balloon{position:absolute;bottom:-60px;width:80px;height:110px;border-radius:40px 40px 60px 60px/50px 50px 60px 60px;animation:float 10s ease-in-out infinite;filter:drop-shadow(0 10px 15px rgba(0,0,0,.15))}
.balloon::after{content:"";position:absolute;left:50%;bottom:-18px;width:2px;height:18px;background:#fff}
.balloon--pink{left:6%;background:rgba(255,255,255,.2)}
.balloon--yellow{left:36%;animation-duration:12s;background:rgba(255,255,255,.18)}
.balloon--green{right:12%;animation-duration:9s;background:rgba(255,255,255,.22)}
.star{position:absolute;top:20%;left:70%;width:14px;height:14px;background:#fff;border-radius:50%;animation:twinkle 2.5s infinite}
.star--2{top:40%;left:85%;animation-duration:3.2s}
@keyframes twinkle{50%{opacity:.5;transform:scale(.8)}}

/* Buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:12px 18px;border-radius:16px;border:2px solid transparent;background:var(--ink);color:#fff;font-weight:700;box-shadow:var(--shadow);transition:transform .12s, box-shadow .2s;text-decoration:none}
.btn:hover{text-decoration:underline;transform:translateY(-1px)}
.btn:focus-visible{text-decoration:underline}
.btn:active{transform:translateY(0)}
.btn-primary{background:linear-gradient(135deg,var(--beige),var(--beige-accent));color:#000;border:1px solid rgba(0,0,0,.08);box-shadow:0 4px 16px -8px rgba(0,0,0,.18)}
.btn-primary:hover{filter:brightness(1.05);text-decoration:underline;box-shadow:0 8px 24px -10px rgba(0,0,0,.22)}
.btn-accent{background:linear-gradient(135deg,var(--pink),var(--pink-accent));color:#000;border:0;box-shadow:0 8px 26px -10px rgba(247,169,196,.55),0 4px 14px -6px rgba(0,0,0,.35)}
.btn-accent:hover{filter:brightness(1.07);text-decoration:underline}
.btn-outline{background:#fff;border-color:#ddd;color:#000}
.btn-ghost{background:rgba(0,0,0,.08);color:#000}
[data-contrast="light"] .btn-ghost{background:rgba(0,0,0,.06);color:var(--ink)}

/* Simple & clean global CTA */
.btn-cta{background:linear-gradient(135deg,var(--beige),var(--beige-accent));color:#000;border:1px solid rgba(0,0,0,.08);box-shadow:0 6px 18px -10px rgba(0,0,0,.18);font-weight:800;letter-spacing:.2px}
.btn-cta:link,.btn-cta:visited{color:#000}
.btn-cta:hover{filter:brightness(1.05);text-decoration:underline;box-shadow:0 10px 24px -12px rgba(0,0,0,.22)}
.btn-cta:focus-visible{outline:3px solid #14121F;outline-offset:2px}
@media (max-width:640px){
  .btn-cta{width:100%;justify-content:center}
}
/* Ensure all button variants keep black text across link states */
.btn-primary:link,.btn-primary:visited,
.btn-accent:link,.btn-accent:visited,
.btn-outline:link,.btn-outline:visited,
.btn-ghost:link,.btn-ghost:visited{color:#000}

/* Service CTA variant */
.btn-service{--btn-grad:linear-gradient(135deg,#ffb6d6 0%,#ff9fc7 32%,#ffb07a 70%,#ffcfa8 100%);--btn-shadow:0 6px 18px -6px rgba(255,137,185,.45),0 4px 12px -6px rgba(255,140,120,.38),inset 0 1px 0 rgba(255,255,255,.55);--btn-shadow-hover:0 10px 28px -10px rgba(255,137,185,.55),0 6px 18px -8px rgba(255,140,120,.45),inset 0 1px 0 rgba(255,255,255,.6);position:relative;display:inline-flex;align-items:center;gap:.55ch;background:var(--btn-grad);color:#000 !important;font-weight:700;border:0;padding:.85rem 1.35rem;border-radius:18px;font-size:.95rem;line-height:1.1;letter-spacing:.35px;text-decoration:none;box-shadow:var(--btn-shadow);transition:box-shadow .45s,transform .45s,background-position 1.2s;overflow:hidden}
.btn-service:link,.btn-service:visited,.btn-service:hover,.btn-service:focus-visible{color:#000 !important}
.btn-service:before{content:"";position:absolute;inset:0;background:linear-gradient(110deg,rgba(255,255,255,0) 0%,rgba(255,255,255,.55) 42%,rgba(255,255,255,0) 62%);mix-blend-mode:overlay;opacity:0;transform:translateX(-30%);transition:opacity .6s,transform 1.4s}
.btn-service:hover{transform:translateY(-4px);box-shadow:var(--btn-shadow-hover);text-decoration:none}
.btn-service:hover:before{opacity:1;transform:translateX(6%)}
.btn-service:active{transform:translateY(-1px) scale(.97);transition:transform .18s}
.btn-service:focus-visible{outline:3px solid #fff;outline-offset:2px;box-shadow:0 0 0 3px rgba(255,155,190,.85),var(--btn-shadow-hover)}
.btn-service:after{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;background:radial-gradient(circle at 28% 30%,rgba(255,255,255,.55),rgba(255,255,255,0) 60%),radial-gradient(circle at 75% 75%,rgba(255,255,255,.45),rgba(255,255,255,0) 65%);opacity:.55;mix-blend-mode:overlay;transition:opacity .6s}
.btn-service:hover:after{opacity:.85}
@media (prefers-reduced-motion: reduce){
  .btn-service,.btn-service:hover{transition:none;transform:none}
  .btn-service:before,.btn-service:after{display:none}
}

/* Contrast helper */
[data-contrast="dark"]{color:var(--contrast-dark)}
[data-contrast="light"]{color:var(--contrast-light)}
.section,[data-contrast="light"] p,[data-contrast="light"] h1,[data-contrast="light"] h2,[data-contrast="light"] h3{color:var(--ink)}


/* Chips / Cards */
.pill-list{display:flex;flex-wrap:wrap;gap:10px;margin-top:14px}
.about-list{list-style:none;padding:0;margin:18px 0 28px;display:grid;gap:10px}
.about-list li{background:linear-gradient(120deg,rgba(247,169,196,.25),rgba(255,255,255,.6));padding:10px 14px;border:1px solid rgba(247,169,196,.45);border-radius:16px;box-shadow:0 4px 14px -6px rgba(0,0,0,.12);font-weight:600;display:flex;align-items:center;gap:8px}
.about-list li:hover{box-shadow:0 6px 18px -6px rgba(0,0,0,.18);transform:translateY(-2px);transition:.3s}

.cards{gap:18px}
.mosaic{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));grid-auto-rows:250px;grid-auto-flow:dense}
.mosaic .card{position:relative;overflow:hidden}
.mosaic .card img{height:100%;width:100%;object-fit:cover;position:absolute;inset:0;filter:brightness(.78) saturate(1.05);transition:transform 8s linear, filter .5s}
.mosaic .card h3,.mosaic .card p{position:relative;z-index:2;margin:0;color:#fff;text-shadow:0 2px 10px rgba(0,0,0,.6)}
.mosaic .card h3{font-size:1.05rem;margin-bottom:6px;letter-spacing:.4px}
.mosaic .card p{font-size:.82rem;line-height:1.3;max-width:220px}
.mosaic .card:before{content:"";position:absolute;inset:0;background:linear-gradient(160deg,rgba(0,0,0,.55),rgba(0,0,0,.25) 60%,rgba(0,0,0,.65));z-index:1;transition:opacity .5s}
.mosaic .card:hover:before{opacity:.85}
.mosaic .card:hover img{transform:scale(1.12);filter:brightness(.9) saturate(1.2)}
.mosaic .card{display:flex;flex-direction:column;justify-content:flex-end;padding:18px;border-radius:22px;box-shadow:0 12px 28px -10px rgba(0,0,0,.25);backdrop-filter:blur(2px)}
.mosaic .card--wide{grid-column:span 2}
.mosaic .card--tall{grid-row:span 2}
.mosaic .card--accent{grid-column:span 2;}
.mosaic .card--focus{outline:2px solid rgba(247,169,196,.6);grid-row:span 2}
@media (max-width:820px){
  .mosaic{grid-auto-rows:220px}
  .mosaic .card--wide,.mosaic .card--accent{grid-column:span 1}
  .mosaic .card--tall,.mosaic .card--focus{grid-row:span 1}
}
.card{background:linear-gradient(155deg,var(--beige-soft),var(--beige) 55%,var(--beige-accent));border-radius:22px;box-shadow:0 8px 22px -10px rgba(0,0,0,.16);padding:16px;display:grid;gap:10px;transform:translateZ(0);border:1px solid rgba(0,0,0,.06)}
.card h3,.card p{color:var(--ink)}
.card img{border-radius:16px;aspect-ratio:3/2;object-fit:cover;background:#f6f6f6}
.card h3{margin:4px 0}

/* Character grid (progressive: 1 / 2 / 3 / 4 cols) */
.character-grid{display:grid;grid-template-columns:1fr;gap:14px}
/* Keep true single-column on phones; bump to 2 cols starting at 640px */
@media (min-width:640px){.character-grid{grid-template-columns:repeat(2,1fr);gap:16px}}
@media (min-width:768px){.character-grid{grid-template-columns:repeat(3,1fr);gap:18px}}
@media (min-width:1024px){.character-grid{grid-template-columns:repeat(4,1fr)}}

.character-card{position:relative;display:grid;grid-template-rows:auto 1fr;border-radius:18px;overflow:hidden;border:1px solid rgba(0,0,0,.06);background:#fff;box-shadow:0 12px 28px -12px rgba(0,0,0,.22);color:inherit;transition:transform .2s ease, box-shadow .2s ease;content-visibility:auto;contain-intrinsic-size: 460px}
.character-card:hover{transform:translateY(-3px);box-shadow:0 16px 32px -12px rgba(0,0,0,.22)}
.character-card .card-body{padding:14px 16px;display:grid;gap:8px}
.character-card h3{margin:0;font-size:1.05rem}
.character-card p{margin:0;color:#574f4d;font-size:.95rem}
.character-card .card-meta{color:#7a716f;font-size:.9rem}
.character-card .card-desc{color:#574f4d}
.character-card .btn{justify-self:start}
.character-card .btn.btn-service{margin-top:6px}
.character-card .btn.btn-cta{margin-top:6px}

/* Mini gallery inside card */
.mini-gallery{position:relative;overflow:hidden;background:#f7f4f0}
.mini-gallery, .mini-gallery .mini-track, .mini-gallery .mini-track img:first-child{cursor:pointer}
.mini-gallery .mini-track{display:flex;gap:0;scroll-snap-type:x mandatory;overflow-x:auto;scroll-behavior:smooth}
.mini-gallery .mini-track img{display:block;flex:0 0 100%;width:100%;object-fit:cover;scroll-snap-align:start;height:220px;aspect-ratio:4/3}
@media (min-width:480px){.mini-gallery .mini-track img{height:240px}}
@media (min-width:768px){.mini-gallery .mini-track img{height:260px}}
@media (min-width:1024px){.mini-gallery .mini-track img{height:280px}}
.gallery img{cursor:pointer}
.mini-gallery .gallery-prev,.mini-gallery .gallery-next{position:absolute;top:50%;transform:translateY(-50%);z-index:2;background:rgba(0,0,0,.4);color:#fff;border:0;border-radius:50%;width:36px;height:36px;display:grid;place-items:center}
.mini-gallery .gallery-prev{left:10px}
.mini-gallery .gallery-next{right:10px}
.mini-gallery .mini-track::-webkit-scrollbar{height:6px}
.mini-gallery .mini-track::-webkit-scrollbar-thumb{background:#d1c7bf;border-radius:999px}
@media (max-width:420px){
  .mini-gallery .gallery-prev,
  .mini-gallery .gallery-next{width:40px;height:40px}
}

/* Bottom-right gallery indicator (shows when more than one media item) */
.mini-gallery.has-gallery{position:relative}
.mini-gallery.has-gallery::after{
  content: "🖼 " attr(data-gallery-count);
  position:absolute; right:10px; bottom:10px; z-index:3;
  display:inline-flex; align-items:center; gap:6px;
  font-size:.8rem; font-weight:800; letter-spacing:.2px; color:#14121F;
  background:linear-gradient(135deg,#ffcdf0,#e3d9ff);
  border-radius:999px; padding:6px 10px;
  box-shadow:0 6px 18px -6px rgba(0,0,0,.35), 0 0 0 2px rgba(255,255,255,.6);
  pointer-events:none; user-select:none;
}
@media (max-width:480px){
  .mini-gallery.has-gallery::after{font-size:.78rem; padding:5px 9px}
}

/* Popular ribbon with pulse */
.ribbon{position:absolute;left:12px;top:12px;background:linear-gradient(135deg,var(--pink),var(--pink-accent));color:#2b2322;font-weight:700;font-size:.72rem;padding:6px 10px;border-radius:999px;box-shadow:0 6px 14px rgba(247,169,196,.5)}
.ribbon--pulse{animation:pulseRibbon 1.8s ease-in-out infinite}
@keyframes pulseRibbon{0%{transform:scale(1);box-shadow:0 6px 14px rgba(247,169,196,.5)}50%{transform:scale(1.06);box-shadow:0 10px 22px rgba(247,169,196,.6)}100%{transform:scale(1);box-shadow:0 6px 14px rgba(247,169,196,.5)}}
@media (max-width:420px){
  .ribbon{font-size:.68rem;padding:5px 8px}
}

/* Animated service badges */
.badge-stack{position:absolute;left:12px;top:12px;z-index:3;display:flex;flex-wrap:wrap;gap:8px;pointer-events:none;animation:floaty 8s ease-in-out infinite}
.badge{--bg:linear-gradient(135deg,#ffe0ef,#e6f0ff);--ink:#1c1731;--border:#ffcde0;display:inline-flex;align-items:center;gap:6px;padding:7px 11px;border-radius:999px;background:var(--bg);color:var(--ink);font-weight:900;font-size:.78rem;letter-spacing:.3px;box-shadow:0 10px 22px -12px rgba(0,0,0,.38),0 0 0 2px rgba(255,255,255,.8),0 3px 0 rgba(0,0,0,.04) inset;border:2px solid var(--border);text-shadow:0 1px 0 rgba(255,255,255,.75)}
.badge:hover{filter:brightness(1.03)}
.badge:active{transform:translateY(1px)}
@keyframes floaty{0%{transform:translateY(0)}50%{transform:translateY(-3px)}100%{transform:translateY(0)}}
.badge:before{content:"";display:inline-block}

/* Popular Pick: star + shimmer */
.badge--popular{--bg:linear-gradient(135deg,#fff1d6,#ffd4a8);--border:#ffc400;animation:badgeShimmer 3.5s ease-in-out infinite}
.badge--popular:before{content:"★";font-size:.9rem}
@keyframes badgeShimmer{0%,100%{filter:brightness(1)}50%{filter:brightness(1.08)}}

/* Zoo Add-on: bunny + gentle hop */
.badge--zoo{--bg:linear-gradient(135deg,#e4ffe7,#fff6f0);--border:#2dc070;animation:badgeHop 2.6s ease-in-out infinite}
.badge--zoo:before{content:"🐰";font-size:.9rem}
@keyframes badgeHop{0%{transform:translateY(0)}20%{transform:translateY(-2px)}40%{transform:translateY(0)}100%{transform:translateY(0)}}

/* Decorations Add-on: sparkle + twinkle */
.badge--decor{--bg:linear-gradient(135deg,#f2ebff,#ffe6fb);--border:#7c5cff;animation:badgeTwinkle 3s ease-in-out infinite}
.badge--decor:before{content:"✨";font-size:.95rem}
@keyframes badgeTwinkle{0%,100%{box-shadow:0 8px 18px -10px rgba(0,0,0,.35),0 0 0 2px rgba(255,255,255,.7)}50%{box-shadow:0 10px 22px -10px rgba(0,0,0,.45),0 0 0 3px rgba(255,255,255,.85)}}

/* Ensure badges look good on small screens */
@media (max-width:420px){
  .badge{font-size:.72rem;padding:6px 9px}
}

/* Service rows layout adjustments */
.service-row .btn-service{margin-top:8px}
.service-row .btn-cta{margin-top:8px}
@media (max-width:720px){
  .service-row .btn-service{width:100%;justify-content:center}
  .service-row .btn-cta{width:100%;justify-content:center}
}
/* Character card CTA full-width on small screens */
@media (max-width:640px){
  .character-card .btn{width:100%}
}

/* Mobile safety: avoid rare content-visibility issues on some mobile browsers */
@media (max-width:640px){
  .section:not(.hero){content-visibility:visible;contain-intrinsic-size:auto}
  .character-card{content-visibility:visible;contain-intrinsic-size:auto}
}

/* Gallery & Lightbox */
.gallery{gap:10px}
.gallery img{border-radius:16px;aspect-ratio:3/2;object-fit:cover;background:#eee;transition:transform .25s, box-shadow .25s;cursor:pointer}
.gallery img:hover{transform:translateY(-3px);box-shadow:0 10px 20px rgba(0,0,0,.12)}
.lightbox{position:fixed;inset:0;background:rgba(0,0,0,.8);display:grid;place-items:center;z-index:60}
.lightbox img.fade-in{animation:lbImgFade .45s ease}
@keyframes lbImgFade{0%{opacity:0;transform:scale(.965)}100%{opacity:1;transform:scale(1)}}
.lightbox img{max-width:min(92vw,1200px);max-height:76vh;border-radius:20px;box-shadow:0 20px 50px -10px rgba(0,0,0,.5);animation:lbIn .45s ease}
@keyframes lbIn{0%{opacity:0;transform:translateY(12px) scale(.96)}100%{opacity:1;transform:none}}
.lightbox::before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 50% 50%,rgba(255,93,162,.25),transparent 70%),radial-gradient(circle at 70% 40%,rgba(124,92,255,.25),transparent 75%);mix-blend-mode:screen;pointer-events:none;animation:lbAura 10s linear infinite}
@keyframes lbAura{0%{transform:scale(1) rotate(0deg)}50%{transform:scale(1.05) rotate(180deg)}100%{transform:scale(1) rotate(360deg)}}
.lightbox button{position:absolute;background:linear-gradient(135deg,#ffcdf0,#e3d9ff);color:#14121F;font-weight:700;border:0;border-radius:14px;padding:10px 14px;cursor:pointer;box-shadow:0 6px 18px -4px rgba(0,0,0,.4),0 0 0 2px rgba(255,255,255,.3);backdrop-filter:blur(6px);display:inline-flex;align-items:center;justify-content:center;transition:transform .25s, box-shadow .3s}
.lightbox button:hover{transform:translateY(-3px);box-shadow:0 10px 22px -6px rgba(0,0,0,.55),0 0 0 2px rgba(255,255,255,.5)}
.lightbox button:active{transform:translateY(-1px)}
.lightbox-close{top:14px;right:16px}
.lightbox-prev,.lightbox-next{top:50%;transform:translateY(-50%);width:54px;height:54px;font-size:30px;line-height:1}
.lightbox-prev{left:24px}
.lightbox-next{right:24px}
.lightbox-caption{position:absolute;left:50%;bottom:28px;transform:translateX(-50%);color:#fff;font-weight:600;text-shadow:0 2px 6px rgba(0,0,0,.6);background:rgba(0,0,0,.35);padding:10px 16px;border-radius:14px;max-width:min(80ch,80vw)}
.lightbox-prev::after,.lightbox-next::after{content:"";position:absolute;inset:-4px;border-radius:inherit;background:radial-gradient(circle at 30% 30%,rgba(255,255,255,.9),rgba(255,255,255,0) 55%),radial-gradient(circle at 70% 70%,rgba(255,255,255,.8),rgba(255,255,255,0) 60%);mix-blend-mode:overlay;opacity:.35;animation:sparkle 3s linear infinite}
@keyframes sparkle{0%,100%{transform:scale(1) rotate(0deg)}50%{transform:scale(1.15) rotate(180deg)}}

/* Styled Home Gallery: centered text + collage tilt layout */
#gallery .container{ text-align:center }
#gallery .subhead{ margin-left:auto; margin-right:auto }
.gallery-collage{ display:grid; grid-template-columns:repeat(auto-fit, minmax(180px, 1fr)); gap:16px; align-items:start }
.gallery-collage img{
  aspect-ratio:4/3;
  border-radius:18px;
  background:#f6f6f6;
  box-shadow:0 10px 22px -10px rgba(0,0,0,.25);
  transform: rotate(var(--tilt, 0deg));
  transition: transform .35s ease, box-shadow .35s ease;
  will-change: transform;
  animation: tiltFloat 10s ease-in-out infinite alternate;
  animation-delay: var(--delay, 0s);
}
.gallery-collage img:hover{
  transform: rotate(0deg) scale(1.04);
  box-shadow:0 18px 38px -14px rgba(0,0,0,.35);
  z-index:2;
  animation-play-state: paused;
}
/* Home Gallery refinements: center heading accent + scoped hover ring */
#gallery h2:not(.no-accent):after{ margin-left:auto; margin-right:auto }
#gallery .gallery-collage img:hover{
  /* Add a subtle ring effect without affecting transforms */
  box-shadow:
    0 0 0 3px rgba(255,255,255,.92),        /* inner light ring for contrast */
    0 0 0 8px rgba(255,159,199,.28),        /* soft pink glow ring */
    0 18px 38px -14px rgba(0,0,0,.35);      /* keep elevated drop shadow */
}
#gallery .gallery-collage img:focus-visible{
  outline:none;
  box-shadow:
    0 0 0 3px rgba(255,255,255,.95),
    0 0 0 8px rgba(255,159,199,.4),
    0 18px 38px -14px rgba(0,0,0,.35);
}
@keyframes tiltFloat{
  0%{ transform: rotate(calc(var(--tilt, 0deg) - .4deg)) }
  50%{ transform: rotate(calc(var(--tilt, 0deg) + .4deg)) }
  100%{ transform: rotate(calc(var(--tilt, 0deg) - .4deg)) }
}
/* Stagger tilts and delays for variety (15 items) */
.gallery-collage img:nth-child(1){ --tilt:-2deg; --delay:0s }
.gallery-collage img:nth-child(2){ --tilt:1.8deg; --delay:.2s }
.gallery-collage img:nth-child(3){ --tilt:-1.2deg; --delay:.4s }
.gallery-collage img:nth-child(4){ --tilt:2.2deg; --delay:.1s }
.gallery-collage img:nth-child(5){ --tilt:-2.4deg; --delay:.35s }
.gallery-collage img:nth-child(6){ --tilt:1.6deg; --delay:.15s }
.gallery-collage img:nth-child(7){ --tilt:-1.6deg; --delay:.3s }
.gallery-collage img:nth-child(8){ --tilt:2deg; --delay:.05s }
.gallery-collage img:nth-child(9){ --tilt:-1.4deg; --delay:.25s }
.gallery-collage img:nth-child(10){ --tilt:1.4deg; --delay:.45s }
.gallery-collage img:nth-child(11){ --tilt:-1.8deg; --delay:.1s }
.gallery-collage img:nth-child(12){ --tilt:2.1deg; --delay:.2s }
.gallery-collage img:nth-child(13){ --tilt:-1.1deg; --delay:.38s }
.gallery-collage img:nth-child(14){ --tilt:1.9deg; --delay:.12s }
.gallery-collage img:nth-child(15){ --tilt:-1.9deg; --delay:.26s }
@media (prefers-reduced-motion: reduce){
  .gallery-collage img{ animation:none }
}

/* CTA panels */
.cta-band{--cta-bg:linear-gradient(135deg,#ffe8f3 0%,#fff6e5 60%,#f0eeff 100%);--cta-ink:#1c1731;--cta-subtle:rgba(28,23,49,.62);--cta-pill-bg:rgba(255,255,255,.82);--cta-pill-border:rgba(28,23,49,.12);--cta-outline:rgba(255,255,255,.85);position:relative;display:grid;gap:clamp(20px,2vw,32px);padding:clamp(28px,6vw,48px);border-radius:32px;background:var(--cta-bg);color:var(--cta-ink);border:1px solid rgba(255,255,255,.45);box-shadow:0 18px 50px -26px rgba(12,7,32,.35);overflow:hidden;isolation:isolate}
.cta-band:before{content:"";position:absolute;inset:-36% -14% auto -18%;height:220%;background:radial-gradient(circle at 20% 20%,rgba(255,255,255,.72),transparent 55%),radial-gradient(circle at 80% 40%,rgba(255,184,222,.38),transparent 60%),radial-gradient(circle at 20% 80%,rgba(255,196,142,.36),transparent 60%);opacity:.58;transform:rotate(7deg)}
.cta-band:after{content:"";position:absolute;inset:0;background:linear-gradient(120deg,rgba(255,255,255,.28),transparent 45%),linear-gradient(300deg,rgba(255,255,255,.18),transparent 55%);mix-blend-mode:overlay;opacity:.42}
.cta-band>*{position:relative;z-index:1}
.cta-band__content{display:grid;gap:clamp(14px,1.8vw,24px);max-width:52ch}
.cta-band__eyebrow{margin:0;text-transform:uppercase;font-size:.78rem;letter-spacing:.28em;font-weight:700;color:var(--cta-subtle);opacity:.92}
.cta-band__body{margin:0;color:rgba(28,23,49,.78)}
.cta-band__content h2{margin:0;font-size:clamp(1.8rem,3vw,2.3rem);line-height:1.14}
.cta-actions{display:flex;flex-wrap:wrap;gap:12px;align-items:center}
.cta-actions .btn{box-shadow:0 12px 28px -18px rgba(12,7,32,.45)}
.cta-actions .btn:hover{box-shadow:0 14px 32px -16px rgba(12,7,32,.48)}
.cta-quicklinks{display:flex;flex-wrap:wrap;gap:10px}
.pill{display:inline-flex;align-items:center;gap:6px;padding:10px 16px;border-radius:999px;background:var(--cta-pill-bg);color:#000;border:1px solid var(--cta-pill-border);font-weight:700;letter-spacing:.18px;box-shadow:0 12px 28px -18px rgba(12,7,32,.35);transition:transform .25s ease, box-shadow .25s ease, background .25s ease;text-decoration:none}
.pill:link,.pill:visited{color:#000;text-decoration:none}
.pill:hover{transform:translateY(-2px);box-shadow:0 16px 32px -16px rgba(12,7,32,.42);background:rgba(255,255,255,.9);text-decoration:underline}
.pill:focus-visible{text-decoration:underline}
.pill:focus-visible{outline:3px solid var(--cta-outline);outline-offset:2px;text-decoration:none}
.cta-band__art{width:min(100%,clamp(240px,32vw,420px));justify-self:end;border-radius:24px;box-shadow:0 24px 46px -26px rgba(12,7,32,.45);object-fit:cover}
.cta-band[data-theme="services"]{--cta-bg:linear-gradient(135deg,#f9eaff 0%,#fff6e6 55%,#e8f3ff 100%);--cta-ink:#20163b;--cta-subtle:rgba(32,22,59,.64);--cta-pill-border:rgba(32,22,59,.14)}
.cta-band[data-theme="quest"]{--cta-bg:linear-gradient(135deg,#e5f7ff 0%,#efffee 52%,#fff4e2 100%);--cta-ink:#132436;--cta-subtle:rgba(19,36,54,.62);--cta-pill-border:rgba(19,36,54,.16)}
.cta-band[data-theme="seasonal"]{--cta-bg:linear-gradient(135deg,#fff0e6 0%,#ffe6f4 48%,#fffad9 100%);--cta-ink:#2c1b16;--cta-subtle:rgba(44,27,22,.62);--cta-pill-border:rgba(44,27,22,.16)}
.cta-band[data-theme="characters"]{--cta-bg:linear-gradient(135deg,#ebe8ff 0%,#ffe5fb 48%,#e6f6ff 100%);--cta-ink:#18153c;--cta-subtle:rgba(24,21,60,.6);--cta-pill-border:rgba(24,21,60,.16)}
.cta-band[data-theme="shows"]{--cta-bg:linear-gradient(135deg,#f0ebff 0%,#fef0ff 50%,#fff6e4 100%);--cta-ink:#1f1339;--cta-subtle:rgba(31,19,57,.6);--cta-pill-border:rgba(31,19,57,.14)}
@media (min-width:900px){.cta-band{grid-template-columns:minmax(0,1.1fr) minmax(0,0.9fr);align-items:center}.cta-band:not(:has(.cta-band__art)){grid-template-columns:minmax(0,1fr);max-width:960px;margin-inline:auto}}
@media (max-width:640px){.cta-band{padding:clamp(24px,7vw,32px)}.cta-actions{flex-direction:column;align-items:stretch}.cta-actions .btn{width:100%}.cta-quicklinks{gap:8px}}

/* Full-width CTA (uniform across pages) */
.cta-wide{position:relative;padding:clamp(34px,6vw,58px) 0;background:linear-gradient(135deg,#ffe8f3 0%,#fff6e5 55%,#eaf2ff 100%);border-top:1px solid rgba(0,0,0,.05);border-bottom:1px solid rgba(0,0,0,.05);box-shadow:inset 0 1px 0 rgba(255,255,255,.6), inset 0 -1px 0 rgba(255,255,255,.6)}
.cta-wide:before{content:"";position:absolute;inset:0;background:radial-gradient(1200px 600px at -10% -20%,rgba(255,205,240,.45),transparent 55%),radial-gradient(1200px 600px at 110% -10%,rgba(227,217,255,.35),transparent 60%),radial-gradient(1200px 600px at 50% 120%,rgba(232,249,255,.35),transparent 55%);mix-blend-mode:screen;opacity:.6;pointer-events:none}
.cta-wide .container{display:grid;justify-items:center;text-align:center;gap:clamp(12px,1.6vw,18px)}
.cta-wide__art{width:min(340px,52vw);height:auto;object-fit:contain;filter:drop-shadow(0 18px 34px rgba(12,7,32,.28));border-radius:16px}
.cta-wide__eyebrow{margin:0;text-transform:uppercase;font-size:.78rem;letter-spacing:.28em;font-weight:800;color:rgba(28,23,49,.6)}
.cta-wide__title{margin:0;line-height:1.12;font-weight:900;font-size:clamp(1.6rem,2.3vw,2.4rem);letter-spacing:.1px;background:linear-gradient(90deg,#1c1731 0%,#5a3b2b 50%,#1c1731 100%);-webkit-background-clip:text;background-clip:text;color:transparent;position:relative;display:inline-block}
.cta-wide__title:after{content:"";display:block;height:4px;width:min(640px,80vw);margin:10px auto 0;background:linear-gradient(90deg,rgba(255,159,199,1) 0%, rgba(246,216,182,1) 100%);border-radius:3px;box-shadow:0 2px 10px rgba(0,0,0,.06)}
.cta-wide__body{margin:0;max-width:62ch;color:rgba(28,23,49,.82);font-weight:600}
.cta-wide__actions{display:flex;flex-wrap:wrap;gap:12px;justify-content:center;margin-top:6px}
.cta-wide__actions .btn{box-shadow:0 12px 28px -18px rgba(12,7,32,.45)}
.cta-wide__actions .btn:hover{text-decoration:underline;box-shadow:0 16px 32px -18px rgba(12,7,32,.5)}
@media (max-width:640px){
  .cta-wide__actions .btn{width:100%}
}

/* Accordion (legacy custom) */
.pv-accordion{display:grid;gap:10px}
.acc-btn{width:100%;text-align:left;padding:14px 16px;border:0;border-radius:14px;background:#fff;box-shadow:var(--shadow);font-weight:700}
.acc-btn[aria-expanded="true"]{outline:3px solid var(--yellow)}
.acc-panel{max-height:0;overflow:hidden;transition:max-height .32s ease, padding .24s ease;background:#fff;border-radius:14px;padding:0 16px;will-change:max-height, padding}
.acc-panel.open{padding:12px 16px;margin-top:-6px}
/* Trim extra space at the top/bottom of panel content */
.acc-panel > :first-child{margin-top:0}
.acc-panel > :last-child{margin-bottom:0}

/* Bootstrap Accordion (FAQ) theming */
.accordion{--pv-acc-radius:14px}
.accordion .accordion-item{border:1px solid rgba(0,0,0,.08);border-radius:var(--pv-acc-radius);overflow:hidden;background:#fff;box-shadow:var(--shadow);margin-bottom:10px}
.accordion .accordion-item:last-child{margin-bottom:0}
.accordion .accordion-button{padding:14px 16px;font-weight:700;border-radius:0}
.accordion .accordion-button:focus{box-shadow:none}
.accordion .accordion-button:not(.collapsed){background:#fff;box-shadow:none}
.accordion .accordion-collapse{border-top:1px solid rgba(0,0,0,.06)}
.accordion .accordion-body{padding:12px 16px}

/* Remove the accent underline for FAQ headings */
#faq h2:not(.no-accent):after,
#foam-faq h2:not(.no-accent):after{display:none}

/* Contact */
.contact-form{display:grid;gap:12px}
.field{display:grid;gap:8px}
input,textarea{border-radius:12px;border:2px solid #eae7f2;padding:12px 12px;font:inherit;width:100%}
input:focus,textarea:focus{outline:3px solid var(--pink);border-color:transparent}
.error{color:#b00020;font-size:.9rem;height:1.1em}
.status{min-height:1.2em;margin-top:6px}
.map-placeholder{height:220px;border-radius:18px;background:linear-gradient(135deg,var(--beige-soft),var(--beige))}
.field--inline{display:grid;gap:14px}
@media (min-width:640px){.field--inline{grid-template-columns:1fr 1fr}}
select{border-radius:12px;border:2px solid #eae7f2;padding:12px;background:#fff;font:inherit}
select:focus{outline:3px solid var(--pink);border-color:transparent}
.theme-suggestions{display:flex;flex-wrap:wrap;gap:6px;margin-top:4px}
.theme-suggestions[data-mode="dynamic"]{position:relative;display:grid;grid-auto-flow:row;align-content:start;gap:6px;padding:6px 6px 4px;border:2px solid #efe9f7;border-radius:14px;background:linear-gradient(135deg,#ffffff,#fcf8ff);box-shadow:0 4px 14px -6px rgba(30,10,70,.15)}
.theme-suggestions[data-mode="dynamic"][hidden]{display:none}
.theme-suggestions[data-mode="dynamic"] .pill--mini{background:linear-gradient(140deg,var(--purple),var(--pink));color:#fff;box-shadow:0 4px 14px -4px rgba(0,0,0,.25)}
.theme-suggestions .pill--mini[aria-selected="true"],.theme-suggestions .pill--mini:focus{outline:2px solid var(--yellow);outline-offset:2px}
.theme-suggestions .pill--mini[aria-selected="true"]{transform:translateY(-2px) scale(1.05)}
.pill--mini{font-size:.7rem;padding:6px 10px;border-radius:999px;background:linear-gradient(145deg,var(--yellow),var(--pink));border:0;cursor:pointer;font-weight:600;line-height:1;box-shadow:0 4px 10px -4px rgba(0,0,0,.25);transition:transform .25s, box-shadow .25s}
.pill--mini:hover{transform:translateY(-3px)}
.pill--mini:active{transform:translateY(-1px)}
.char-counter{font-size:.7rem;text-align:right;opacity:.6;margin-top:2px}
.tiny{font-size:.65rem;line-height:1.2;margin-top:4px}
.muted{opacity:.6}
#submit-btn.loading{pointer-events:none;position:relative}
#submit-btn.loading:after{content:"";width:16px;height:16px;border:3px solid rgba(0,0,0,.2);border-top-color:rgba(0,0,0,.7);border-radius:50%;animation:spin .8s linear infinite;position:absolute;right:14px;top:50%;transform:translateY(-50%)}
@keyframes spin{to{transform:translateY(-50%) rotate(360deg)}}

/* Footer */
/* Slightly darker than the nav's beige gradient for gentle contrast */
.site-footer{background:linear-gradient(135deg,#efe1d3,#e4d4c4);color:var(--ink);padding:32px 0;border-top:1px solid rgba(0,0,0,.06)}
.footer-inner{display:grid;gap:14px;align-items:center;justify-items:center;text-align:center}
/* Keep links readable on the lighter footer */
.site-footer a{color:var(--link);font-weight:800}
.site-footer a:hover{color:var(--link-hover);text-decoration:underline;text-underline-offset:2px}
.footer-links{list-style:none;padding:0;margin:0;display:flex;flex-wrap:wrap;gap:10px;justify-content:center}
.brand{display:flex;align-items:center;gap:10px}
/* Footer-specific brand tweaks: bigger logo, hide name, centered */
.site-footer .brand{justify-self:center}
/* 4x bigger than the original 40px footer logo => 160px, stays centered */
.site-footer .brand img{width:160px;height:160px}
.site-footer .brand span{display:none}
.back-to-top{position:fixed;right:16px;bottom:16px;background:#000;color:#fff;padding:10px 12px;border-radius:12px;opacity:0;pointer-events:none;transition:opacity .25s}
.back-to-top.visible{opacity:0.9;pointer-events:auto}

/* Social Media Icons */
.social-links{display:flex;gap:16px;justify-content:center;align-items:center;margin:16px 0 8px}
.social-links a{display:inline-flex;align-items:center;justify-content:center;width:48px;height:48px;border-radius:50%;text-decoration:none;transition:transform .3s ease, box-shadow .3s ease;position:relative;overflow:hidden}
.social-links a::before{content:"";position:absolute;inset:0;border-radius:50%;opacity:0;transition:opacity .3s ease}
.social-links a:hover{transform:translateY(-4px) scale(1.08);text-decoration:none}
.social-links a:hover::before{opacity:1}
.social-links a svg{width:26px;height:26px;position:relative;z-index:1;transition:transform .3s ease}
.social-links a:hover svg{transform:rotate(8deg) scale(1.1);animation:socialBounce .6s ease}
/* Instagram gradient */
.social-links .social-instagram{background:linear-gradient(135deg,#feda75 0%,#fa7e1e 25%,#d62976 50%,#962fbf 75%,#4f5bd5 100%);box-shadow:0 6px 20px -6px rgba(214,41,118,.4),0 0 0 3px rgba(255,255,255,.6)}
.social-links .social-instagram::before{background:linear-gradient(135deg,#feda75 0%,#fa7e1e 15%,#d62976 35%,#962fbf 65%,#4f5bd5 100%)}
.social-links .social-instagram:hover{box-shadow:0 10px 30px -8px rgba(214,41,118,.6),0 0 0 4px rgba(255,255,255,.8)}
/* Facebook gradient */
.social-links .social-facebook{background:linear-gradient(135deg,#6ea8ff 0%,#1877f2 50%,#0a5dc7 100%);box-shadow:0 6px 20px -6px rgba(24,119,242,.4),0 0 0 3px rgba(255,255,255,.6)}
.social-links .social-facebook::before{background:linear-gradient(135deg,#8bb9ff 0%,#3a8ff4 50%,#1877f2 100%)}
.social-links .social-facebook:hover{box-shadow:0 10px 30px -8px rgba(24,119,242,.6),0 0 0 4px rgba(255,255,255,.8)}
.social-links svg{fill:#fff;filter:drop-shadow(0 2px 4px rgba(0,0,0,.2))}

@keyframes socialBounce{0%,100%{transform:rotate(8deg) scale(1.1)}25%{transform:rotate(-5deg) scale(1.15)}50%{transform:rotate(12deg) scale(1.12)}75%{transform:rotate(-3deg) scale(1.13)}}

@media (prefers-reduced-motion: reduce){
  .social-links a svg{animation:none}
  .social-links a:hover svg{animation:none}
}

/* VoltForge-Digital footer credit */
.voltforge-credit{display:flex;align-items:center;gap:10px;margin-top:4px;font-weight:800;letter-spacing:.2px}
.voltforge-credit .vf-bolt-svg{width:22px;height:22px;fill:#ffd84d;filter:drop-shadow(0 0 10px rgba(255,216,77,.6)) drop-shadow(0 2px 6px rgba(0,0,0,.25));animation:vfBoltPulse 2.4s ease-in-out infinite}
.voltforge-credit .vf-text{display:inline-flex;flex-wrap:wrap;align-items:baseline;gap:6px}
.voltforge-credit .vf-love{background:linear-gradient(135deg,#ff8fb8,#ffd39a);-webkit-background-clip:text;background-clip:text;color:transparent;text-shadow:0 1px 6px rgba(0,0,0,.08)}
.voltforge-credit .vf-lightning{position:relative;background:linear-gradient(135deg,#ffec8a,#ffc400);-webkit-background-clip:text;background-clip:text;color:transparent}
.voltforge-credit .vf-lightning:after{content:"";position:absolute;left:-2px;right:-2px;bottom:-2px;height:2px;border-radius:2px;background:linear-gradient(90deg,rgba(255,236,138,.8),rgba(255,196,0,.9));opacity:.85;box-shadow:0 0 12px rgba(255,196,0,.6);animation:vfSheen 3.5s ease-in-out infinite}
.voltforge-credit .vf-link{position:relative;color:#14121F !important;text-decoration:none;background:linear-gradient(135deg,#ffe7f2,#fff6e5);padding:6px 10px;border-radius:999px;border:1px solid rgba(0,0,0,.06);box-shadow:0 8px 18px -10px rgba(0,0,0,.2)}
.voltforge-credit .vf-link:hover{filter:brightness(1.05);text-decoration:underline;box-shadow:0 12px 26px -12px rgba(0,0,0,.26)}
.voltforge-credit:hover .vf-bolt-svg{animation-duration:1.6s}

@keyframes vfBoltPulse{0%,100%{transform:translateY(0) scale(1);filter:drop-shadow(0 0 8px rgba(255,216,77,.5)) drop-shadow(0 2px 6px rgba(0,0,0,.25))}50%{transform:translateY(-1px) scale(1.12);filter:drop-shadow(0 0 16px rgba(255,216,77,.9)) drop-shadow(0 4px 10px rgba(0,0,0,.3))}}
@keyframes vfSheen{0%,100%{opacity:.6;transform:translateX(0)}50%{opacity:1;transform:translateX(3px)}}
@media (prefers-reduced-motion: reduce){
  .voltforge-credit .vf-bolt-svg{animation:none}
  .voltforge-credit .vf-lightning:after{animation:none}
}

/* Reveal animation */
.reveal{opacity:0;transform:translateY(10px);transition:opacity .5s, transform .5s}
.reveal.visible{opacity:1;transform:none}

@media (prefers-reduced-motion: reduce) {
  *{animation:none !important; transition:none !important}
}

/* Status Icon Animation */
.status-icon-overlay{
  position:fixed;
  top:0;
  left:0;
  right:0;
  bottom:0;
  background:rgba(0,0,0,0);
  display:flex;
  align-items:center;
  justify-content:center;
  z-index:10000;
  opacity:0;
  transition:opacity 0.3s ease, background 0.3s ease;
  pointer-events:none;
}

.status-icon-overlay.show{
  opacity:1;
  background:rgba(0,0,0,0.15);
}

.status-icon-container{
  background:#fff;
  border-radius:24px;
  padding:40px;
  box-shadow:0 20px 60px rgba(0,0,0,0.3);
  transform:scale(0.5);
  transition:transform 0.4s cubic-bezier(0.34,1.56,0.64,1);
}

.status-icon-overlay.show .status-icon-container{
  transform:scale(1);
}

.status-icon{
  width:120px;
  height:120px;
  display:block;
}

.status-icon-circle{
  fill:none;
  stroke-width:4;
  stroke-dasharray:283;
  stroke-dashoffset:283;
  animation:drawCircle 0.6s ease-out forwards;
  animation-delay:0.1s;
}

.status-icon-container[data-type="success"] .status-icon-circle{
  stroke:#2d8659;
}

.status-icon-container[data-type="error"] .status-icon-circle{
  stroke:#d32f2f;
}

.status-icon-check,
.status-icon-x{
  fill:none;
  stroke-width:5;
  stroke-linecap:round;
  stroke-linejoin:round;
  stroke-dasharray:100;
  stroke-dashoffset:100;
  animation:drawCheck 0.4s ease-out forwards;
  animation-delay:0.4s;
}

.status-icon-container[data-type="success"] .status-icon-check{
  stroke:#2d8659;
}

.status-icon-container[data-type="error"] .status-icon-x{
  stroke:#d32f2f;
}

@keyframes drawCircle{
  to{
    stroke-dashoffset:0;
  }
}

@keyframes drawCheck{
  to{
    stroke-dashoffset:0;
  }
}

/* Responsive adjustments */
@media (max-width:500px){
  .status-icon-container{
    padding:30px;
  }
  .status-icon{
    width:100px;
    height:100px;
  }
}

/* Toast notifications */
.toast-stack{position:fixed !important;top:50% !important;left:50% !important;bottom:auto !important;right:auto !important;transform:translate(-50%,-50%) !important;display:grid;gap:10px;z-index:9999;max-width:600px;width:90%}
.toast{background:linear-gradient(135deg,var(--beige-soft),var(--beige));border:1px solid rgba(0,0,0,.07);padding:28px 40px 28px 90px;border-radius:20px;box-shadow:0 12px 50px -10px rgba(0,0,0,.3),0 8px 20px -5px rgba(0,0,0,.25);font-size:1.1rem;line-height:1.5;color:var(--ink);position:relative;overflow:hidden;animation:toastIn .55s cubic-bezier(.22,1.4,.36,1);text-align:left;font-weight:600;min-height:80px;display:flex;align-items:center}
.toast:before{content:"★";position:absolute;left:24px;top:50%;transform:translateY(-50%);width:40px;height:40px;display:grid;place-items:center;font-size:1rem;border-radius:50%;background:linear-gradient(135deg,var(--pink),var(--pink-accent));color:#2b2322;text-shadow:0 1px 3px rgba(0,0,0,.25);flex-shrink:0}
.toast[data-type="success"]:before{content:"✔"}
.toast[data-type="error"]:before{content:"!"}
.toast button.toast-close{position:absolute;top:6px;right:8px;background:transparent;border:0;color:var(--ink-70);cursor:pointer;font-size:16px;line-height:1;padding:4px;border-radius:8px}
.toast button.toast-close:hover{background:rgba(0,0,0,.06)}
.toast-progress{position:absolute;left:0;bottom:0;height:3px;background:linear-gradient(90deg,var(--beige-accent),var(--pink));width:100%;animation:toastBar linear forwards}
@keyframes toastIn{0%{opacity:0;transform:translateY(12px) scale(.95)}60%{opacity:1;transform:translateY(-3px) scale(1.02)}100%{opacity:1;transform:translateY(0) scale(1)}}
@keyframes toastBar{from{width:100%}to{width:0}}


/* ========== Zig-zag service layout ========== */
.service-rows{display:grid;gap:42px;margin-top:22px}
.service-row{display:grid;grid-template-columns:1fr;gap:18px;align-items:center}
/* Mobile: place media above copy for better context */
@media (max-width:859px){
  .service-row .service-media{order:-1}
}
/* Subtle divider between service rows */
.service-row{position:relative}
.service-row:not(:last-child):after{
  content:"";
  position:absolute;
  left:0; right:0; bottom:-22px; /* half the gap to center line between rows */
  height:1px;
  background:linear-gradient(90deg, rgba(43,35,34,.08), rgba(43,35,34,.18) 20%, rgba(43,35,34,.18) 80%, rgba(43,35,34,.08));
  opacity:.9;
}
.service-copy h3{margin:0 0 6px}
.service-copy p{margin:0 0 10px}
.service-meta{list-style:none;margin:10px 0 16px;padding:0;display:grid;gap:6px}
.service-meta li{color:var(--ink-70);font-size:.95rem}
.service-media img{width:100%;height:auto;border-radius:18px;object-fit:cover;aspect-ratio:7/5;box-shadow:0 12px 28px -12px rgba(0,0,0,.22)}
@media (min-width:860px){
  .service-row{grid-template-columns:1.05fr .95fr;gap:28px}
  .service-row:nth-child(even) .service-media{order:-1}
}

/* ========== Themed Quest Sections ========== */
.quest-section{position:relative;isolation:isolate;padding:70px 0;color:#fff;overflow:hidden}
.quest-section[data-contrast="dark"] h2,.quest-section[data-contrast="dark"] p,.quest-section[data-contrast="dark"] li{color:#fff}
.quest-section .quest-backdrop{position:absolute;inset:0;z-index:-2;background:var(--bg, #000);background-image:linear-gradient(180deg, rgba(0,0,0,.55), rgba(0,0,0,.55)), var(--bg);background-size:cover;background-position:center;filter:saturate(1.05)}
.quest-section .quest-backdrop:after{content:"";position:absolute;inset:-20%;z-index:-1;background:radial-gradient(circle at 20% 30%, rgba(255,255,255,.18), transparent 50%),radial-gradient(circle at 80% 70%, rgba(255,255,255,.16), transparent 50%);mix-blend-mode:overlay;animation:questAura 12s linear infinite}
@keyframes questAura{0%{transform:scale(1) rotate(0)}50%{transform:scale(1.04) rotate(180deg)}100%{transform:scale(1) rotate(360deg)}}
.quest-content{display:grid;gap:22px}
@media (min-width:860px){.quest-content{grid-template-columns:1.05fr .95fr;gap:28px;align-items:center}}
.quest-copy h2{margin:6px 0 10px;font-size:clamp(1.6rem, 2.8vw, 2.2rem);line-height:1.1}
.quest-kicker{display:inline-flex;align-items:center;gap:8px;padding:8px 12px;border-radius:999px;background:linear-gradient(135deg, rgba(255,255,255,.2), rgba(255,255,255,.05));backdrop-filter:blur(6px);border:1px solid rgba(255,255,255,.35);font-weight:800;letter-spacing:.4px}
.quest-meta{list-style:none;padding:0;margin:10px 0 16px;display:flex;flex-wrap:wrap;gap:10px}
.quest-meta li{background:linear-gradient(135deg, rgba(255,255,255,.22), rgba(255,255,255,.06));border:1px solid rgba(255,255,255,.3);padding:8px 12px;border-radius:999px;font-weight:700}
.quest-gallery{background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.28);border-radius:18px;box-shadow:0 10px 34px -16px rgba(0,0,0,.6);overflow:hidden}
.quest-gallery .mini-track img{height:240px}
@media (min-width:480px){.quest-gallery .mini-track img{height:260px}}
@media (min-width:1024px){.quest-gallery .mini-track img{height:320px}}

/* Theme accents */
.quest--wizard .quest-backdrop{--bg: var(--bg-img, url('../img/magic.jpeg'))}
.quest--wizard .quest-kicker{background:linear-gradient(135deg, rgba(124,92,255,.35), rgba(255,193,247,.25));border-color:rgba(170,140,255,.6)}
.quest--wizard .quest-meta li{border-color:rgba(170,140,255,.65)}

.quest--dino .quest-backdrop{--bg: var(--bg-img, url('../img/bg-1.JPG'))}
.quest--dino .quest-kicker{background:linear-gradient(135deg, rgba(41,171,82,.32), rgba(255,214,102,.25));border-color:rgba(41,171,82,.55)}
.quest--dino .quest-meta li{border-color:rgba(41,171,82,.55)}

/* Mobile stacking order: show gallery first for visual context */
@media (max-width:859px){
  .quest-content .quest-gallery{order:-1}
}

/* Lighter header by default */
.site-header{ backdrop-filter:none; }
/* Add the blur only when we *want* it (small, subtle) */
.scrolled .site-header{ backdrop-filter:blur(4px); }

/* Hero overlay: avoid constant backdrop blur */
/* Re-enable a lighter blur only while hero is intersecting (JS toggles .in-view) */

/* ========== Toast Notifications ========== */
.toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 12px;
  pointer-events: none;
}

.toast {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 300px;
  max-width: 420px;
  padding: 16px 20px;
  background: var(--surface);
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(0,0,0,.12), 0 2px 8px rgba(0,0,0,.08);
  border: 1px solid rgba(0,0,0,.06);
  font-family: "Trebuchet MS", system-ui, sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
  pointer-events: all;
  opacity: 0;
  transform: translateX(100px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.toast-show {
  opacity: 1;
  transform: translateX(0);
}

.toast-hide {
  opacity: 0;
  transform: translateX(100px);
}

.toast-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 16px;
  font-weight: 800;
  flex-shrink: 0;
}

.toast-success {
  background: linear-gradient(135deg, #d4edda, #c3e6cb);
  border-color: #9CC9B5;
}

.toast-success .toast-icon {
  background: #9CC9B5;
  color: #fff;
}

.toast-error {
  background: linear-gradient(135deg, #f8d7da, #f5c6cb);
  border-color: #e8a4a9;
}

.toast-error .toast-icon {
  background: #d9534f;
  color: #fff;
}

.toast-info {
  background: linear-gradient(135deg, var(--beige), var(--beige-accent));
  border-color: var(--link);
}

.toast-info .toast-icon {
  background: var(--link);
  color: #fff;
}

.toast-message {
  flex: 1;
  line-height: 1.4;
}

.toast-close {
  background: transparent;
  border: none;
  font-size: 24px;
  line-height: 1;
  color: var(--ink);
  opacity: 0.5;
  cursor: pointer;
  padding: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: all 0.2s;
  flex-shrink: 0;
}

.toast-close:hover {
  opacity: 1;
  background: rgba(0,0,0,0.06);
}

/* Mobile adjustments */
@media (max-width: 600px) {
  .toast-container {
    top: 10px;
    right: 10px;
    left: 10px;
  }
  
  .toast {
    min-width: auto;
    max-width: none;
  }
}

/* ========== Confetti Animation ========== */
.confetto {
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  border-radius: 2px;
  opacity: 0;
  transition: all 2.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.confetto-active {
  opacity: 1;
  transform: translate(var(--tx), var(--ty)) rotate(var(--rotation));
}

/* Fade out at the end */
@keyframes confettiFade {
  0%, 70% { opacity: 1; }
  100% { opacity: 0; }
}

.confetto-active {
  animation: confettiFade 2.5s ease-out forwards;
}