/* =========================================================================
   LifeLab Kids — brand foundation, header, hero
   ========================================================================= */

/* ---------- fonts (bundled, no Google requests) ---------- */
@font-face { font-family: "Plus Jakarta Sans"; src: url("../fonts/plus-jakarta-sans-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Plus Jakarta Sans"; src: url("../fonts/plus-jakarta-sans-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Plus Jakarta Sans"; src: url("../fonts/plus-jakarta-sans-800.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Nunito Sans"; src: url("../fonts/nunito-sans-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Nunito Sans"; src: url("../fonts/nunito-sans-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Nunito Sans"; src: url("../fonts/nunito-sans-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Nunito Sans"; src: url("../fonts/nunito-sans-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }

/* ---------- brand tokens ---------- */
:root {
  --llk-ink: #000000;
  --llk-body: #575757;
  --llk-white: #ffffff;
  --llk-purple: #520080;
  --llk-yellow: #FCB520;
  --llk-green: #09D89A;
  --llk-cream: #FCF9EC;
  --llk-panel: #FEEECD;
  --llk-font-head: "Plus Jakarta Sans", "Helvetica Neue", Arial, sans-serif;
  --llk-font-body: "Nunito Sans", "Helvetica Neue", Arial, sans-serif;
  --llk-ease: cubic-bezier(.22, 1, .36, 1);
  --llk-max: 1300px;
  --llk-admin: var(--wp-admin--admin-bar--height, 0px);
}
html, body.llk-site { overflow-x: clip; }
body.llk-site { font-family: var(--llk-font-body); color: var(--llk-body); background: var(--llk-white); -webkit-font-smoothing: antialiased; }
body.llk-site h1, body.llk-site h2, body.llk-site h3, body.llk-site h4 { font-family: var(--llk-font-head); color: var(--llk-ink); }
.llk-front .site-main, .llk-front .page-content { max-width: none; padding: 0; margin: 0; }
.llk-front .page-header { display: none; }

/* ---------- pill button: rolling text + sliding icon ---------- */
body.llk-site .llk-btn {
  --btn-bg: var(--llk-white); --btn-fg: var(--llk-ink);
  display: inline-flex; align-items: center; gap: 20px; padding: 9px 11px 9px 20px; border-radius: 100px;
  background: var(--btn-bg); color: var(--btn-fg); text-decoration: none;
  font: 600 16px/1.5 var(--llk-font-body); white-space: nowrap; overflow: hidden;
  transition: transform .5s var(--llk-ease);
}
.llk-btn:hover, .llk-btn:focus-visible { color: var(--btn-fg); }
.llk-btn:focus-visible { outline: 3px solid var(--llk-yellow); outline-offset: 3px; }
.llk-btn__text { position: relative; display: block; overflow: hidden; height: 24px; }
.llk-btn__text > span { display: block; transition: transform .55s var(--llk-ease); }
.llk-btn__text > span + span { position: absolute; left: 0; top: 100%; }
.llk-btn:hover .llk-btn__text > span, .llk-btn:focus-visible .llk-btn__text > span { transform: translateY(-100%); }
.llk-btn__icon { position: relative; width: 35px; height: 35px; border-radius: 50%; overflow: hidden; flex: none; }
.llk-btn__icon i { position: absolute; inset: 0; display: grid; place-items: center; border-radius: 50%; transition: transform .55s var(--llk-ease); }
.llk-btn__icon svg { width: 18px; height: 18px; }
.llk-btn__out { background: var(--llk-purple); color: var(--llk-white); }
.llk-btn__in { background: var(--llk-yellow); color: var(--llk-ink); transform: translateX(-105%); z-index: 1; }
.llk-btn:hover .llk-btn__in, .llk-btn:focus-visible .llk-btn__in { transform: none; }
.llk-btn:hover .llk-btn__out, .llk-btn:focus-visible .llk-btn__out { transform: translateX(105%); }

body.llk-site .llk-btn, body.llk-site .llk-btn:hover, body.llk-site .llk-btn * { text-decoration: none !important; }

body.llk-site .llk-btn--dark { --btn-bg: #26213F; --btn-fg: #fff; }
.llk-site .screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ---------- header ---------- */
.llk-header {
  position: fixed; top: var(--llk-admin); left: 0; right: 0; z-index: 999;
  background: rgba(0, 0, 0, .3); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  font-family: var(--llk-font-body);
}
.llk-header__inner { max-width: var(--llk-max); margin: 0 auto; padding: 13px 0; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.llk-logo { display: block; flex: none; line-height: 0; }
.llk-logo img { width: 190px; height: 39px; object-fit: contain; }
.llk-nav { position: static; }
.llk-list { display: flex; align-items: center; gap: 30px; margin: 0; padding: 0; list-style: none; }
.llk-item { position: relative; list-style: none; }
.llk-item.llk-mega { position: static; }
.llk-trigger {
  display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 2px; margin: 0;
  background: none !important; border: 0 !important; border-radius: 0; box-shadow: none !important; cursor: pointer;
  color: var(--llk-white) !important; font: 600 16px/1 var(--llk-font-body); white-space: nowrap; transition: opacity .2s ease;
}
.llk-trigger:hover { opacity: .75; }
.llk-trigger:focus-visible, .llk-link:focus-visible { outline: 2px solid var(--llk-yellow); outline-offset: 3px; border-radius: 6px; }
.llk-caret { transition: transform .35s var(--llk-ease); }
.llk-item.is-open .llk-caret { transform: rotate(180deg); }
.llk-panel { position: absolute; top: 100%; left: 0; padding-top: 22px; z-index: 50; }
.llk-mega > .llk-panel { left: 50%; transform: translateX(-50%); top: 100%; padding-top: 4px; }
.llk-panel[hidden] { display: none; }
.llk-card {
  display: grid; grid-template-columns: repeat(var(--llk-cols, 1), auto); column-gap: 48px;
  background: var(--llk-panel); border-radius: 10px; padding: 22px 24px; min-width: 200px; box-shadow: 0 18px 40px rgba(0, 0, 0, .08);
}
.llk-mega .llk-card { padding: 30px 32px; }
.llk-group ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.llk-eyebrow { display: flex; align-items: center; gap: 6px; margin: 0 0 14px; font: 700 13px/1.2 var(--llk-font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--llk-purple); }
body.llk-site .llk-link {
  display: inline-flex; align-items: center; min-height: 32px; white-space: nowrap; text-decoration: none;
  font: 600 16px/1.4 var(--llk-font-body); color: var(--llk-ink);
  transition: color .2s ease, transform .25s cubic-bezier(.2, .8, .2, 1);
}
.llk-link:hover { color: var(--llk-purple); transform: translateX(4px); }
.llk-burger, .llk-mobile { display: none; }

/* ---------- hero ---------- */
.llk-hero {
  position: relative; overflow: hidden; display: flex; align-items: flex-end; justify-content: center;
  width: 100vw; margin-left: calc(50% - 50vw); height: 100vh; height: 100svh; min-height: 720px;
  padding: 140px 30px 120px; box-sizing: border-box; background: #1d1b18; color: var(--llk-white);
}
.llk-hero__media { position: absolute; inset: 0; z-index: 1; filter: brightness(.6); }
.llk-hero__video { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.12); }
.llk-hero__tint { position: absolute; inset: 0; z-index: 2; background: rgba(0, 0, 0, .1); }
.llk-hero__inner { position: relative; z-index: 5; width: 100%; max-width: var(--llk-max); }
.llk-hero__content { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; max-width: 600px; }
body.llk-site .llk-hero__title {
  margin: 0; color: var(--llk-white); font: 700 72px/1.1 var(--llk-font-head); letter-spacing: 0; text-wrap: balance;
}
.llk-hero__text { margin: 0; color: var(--llk-white); font: 400 16px/1.5 var(--llk-font-body); max-width: 560px; }
.llk-hero__cta { margin-top: 16px; }
.llk-w { display: inline-block; will-change: transform, opacity, filter; }
.llk-hl { position: relative; display: inline-block; white-space: nowrap; }
.llk-ellipse { position: absolute; left: -7%; top: 4%; width: 114%; height: 100%; overflow: visible; pointer-events: none; }
.llk-ellipse path { fill: none; stroke: var(--llk-yellow); stroke-width: 3.4; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; }

/* before the script runs: hide what will animate in (no flash) */
.llk-js .llk-header { opacity: 0; }
.llk-js .llk-hero .llk-w { opacity: 0; }
.llk-js .llk-hero__cta { opacity: 0; }
.llk-anim-done .llk-header, .llk-anim-done .llk-hero .llk-w, .llk-anim-done .llk-hero__cta { opacity: 1; }

/* ---------- responsive ---------- */
@media (max-width: 1379px) {
  .llk-header__inner { padding: 13px 40px; }
  body.llk-site .llk-hero__title { font-size: 56px; }
  .llk-hero { padding: 140px 40px 90px; }
  .llk-list { gap: 22px; }
}
@media (max-width: 1100px) {
  .llk-nav, body.llk-site .llk-header__cta { display: none; }
  .llk-burger { display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0; border-radius: 10px; border: 0; background: var(--llk-white) !important; color: var(--llk-ink) !important; cursor: pointer; }
  .llk-burger > span:first-child, .llk-burger > span:first-child::before, .llk-burger > span:first-child::after { display: block; width: 20px; height: 2px; background: var(--llk-ink); border-radius: 2px; position: relative; content: ""; transition: transform .3s var(--llk-ease), background .2s; }
  .llk-burger > span:first-child::before { position: absolute; top: -6px; left: 0; }
  .llk-burger > span:first-child::after { position: absolute; top: 6px; left: 0; }
  .llk-burger[aria-expanded="true"] > span:first-child { background: transparent; }
  .llk-burger[aria-expanded="true"] > span:first-child::before { transform: translateY(6px) rotate(45deg); }
  .llk-burger[aria-expanded="true"] > span:first-child::after { transform: translateY(-6px) rotate(-45deg); }
  .llk-mobile { display: block; background: var(--llk-panel); padding: 8px 24px 24px; max-height: calc(100dvh - 80px); overflow-y: auto; }
  .llk-mobile[hidden] { display: none; }
  .llk-mobile__item { border-bottom: 1px solid rgba(0, 0, 0, .1); }
  .llk-mobile__item summary { list-style: none; display: flex; justify-content: space-between; align-items: center; min-height: 56px; cursor: pointer; font: 700 18px/1 var(--llk-font-body); color: var(--llk-ink); }
  .llk-mobile__item summary::-webkit-details-marker { display: none; }
  .llk-mobile__item[open] .llk-caret { transform: rotate(180deg); }
  .llk-mobile ul { list-style: none; margin: 0 0 16px; padding: 0; }
  .llk-mobile a:not(.llk-btn) { display: flex; align-items: center; min-height: 44px; color: var(--llk-ink); text-decoration: none; font: 600 16px/1.3 var(--llk-font-body); }
  .llk-mobile__cta { margin-top: 20px; }
}
@media (max-width: 809px) {
  .llk-header__inner { padding: 12px 20px; }
  .llk-logo img { width: 156px; height: 32px; }
  body.llk-site .llk-hero__title { font-size: 40px; }
  .llk-hero { padding: 120px 20px 70px; height: auto; min-height: 100svh; }
}
@media (prefers-reduced-motion: reduce) {
  .llk-js .llk-header, .llk-js .llk-hero .llk-w, .llk-js .llk-hero__cta { opacity: 1 !important; transform: none !important; }
  .llk-ellipse path { stroke-dashoffset: 0; }
  .llk-btn *, .llk-link, .llk-caret { transition: none !important; }
}

/* ---------- split mega menu (Customize → LifeLab menu → Split) ---------- */
.llk-mega .llk-card.llk-split { display: grid; grid-template-columns: 230px 620px; padding: 0; overflow: hidden; border-radius: 16px; background: var(--llk-panel); box-shadow: 0 24px 60px rgba(38, 33, 63, .14); }
.llk-split__tabs { display: flex; flex-direction: column; gap: 4px; padding: 14px 10px; background: #F3ECFB; }
body.llk-site .llk-split__tab { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; padding: 14px 16px; border: 0; border-left: 3px solid transparent; border-radius: 10px; background: none; color: var(--llk-ink); font: 700 16px/1.2 var(--llk-font-body); text-align: left; cursor: pointer; transition: background .25s ease, color .25s ease, border-color .25s ease; }
.llk-split__tab svg { width: 12px; height: 12px; flex: none; opacity: .6; transition: transform .25s ease, opacity .25s ease; }
body.llk-site .llk-split__tab:hover { background: rgba(82, 0, 128, .06); }
body.llk-site .llk-split__tab.is-active { background: #E4D5F7; border-left-color: var(--llk-purple); color: var(--llk-purple); }
.llk-split__tab.is-active svg { opacity: 1; transform: translateX(2px); }
.llk-split__panes { padding: 22px 26px; min-height: 100%; }
.llk-split__pane[hidden] { display: none; }
.llk-split__pane ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 2px; }
.llk-split__pane.is-cols ul { grid-template-columns: 1fr 1fr; column-gap: 6px; }
body.llk-site .llk-split__pane .llk-link { display: flex; width: 100%; min-height: 0; padding: 10px 14px; border-radius: 10px; transition: background .2s ease, color .2s ease; }
body.llk-site .llk-split__pane .llk-link:hover { background: #fff; color: var(--llk-purple); transform: none; box-shadow: 0 6px 16px rgba(38, 33, 63, .06); }
body.llk-site .llk-split__all { display: inline-flex; gap: 6px; margin: 0 0 8px 14px; font: 700 13px/1.2 var(--llk-font-body); letter-spacing: .06em; text-transform: uppercase; color: var(--llk-purple); text-decoration: none; }
.llk-split__all:hover span { transform: translateX(3px); }
.llk-split__all span { display: inline-block; transition: transform .2s ease; }

/* ---------- mobile / tablet menu: split groups like the desktop menu ---------- */
@media (max-width: 1100px) {
  .llk-mgroups { display: grid; gap: 6px; margin: 0 0 14px; }
  .llk-mgroup { border-radius: 12px; overflow: hidden; }
  .llk-mgroup > summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 13px 16px; border-left: 3px solid transparent; border-radius: 12px; background: #F3ECFB; color: var(--llk-ink); font: 700 16px/1.2 var(--llk-font-body); cursor: pointer; transition: background .25s ease, color .25s ease; }
  .llk-mgroup > summary::-webkit-details-marker { display: none; }
  .llk-mgroup > summary svg { width: 12px; height: 12px; transition: transform .25s ease; }
  .llk-mgroup[open] > summary { background: #E4D5F7; border-left-color: var(--llk-purple); color: var(--llk-purple); border-radius: 12px 12px 0 0; }
  .llk-mgroup[open] > summary svg { transform: rotate(90deg); }
  .llk-mgroup ul { margin: 0 !important; padding: 6px; background: rgba(255, 255, 255, .45); border-radius: 0 0 12px 12px; }
  .llk-mgroup a { padding: 0 12px; border-radius: 10px; transition: background .2s ease, color .2s ease; }
  .llk-mgroup a:hover, .llk-mgroup a:active, .llk-mobile ul a:hover { background: #fff; color: var(--llk-purple) !important; }
  .llk-mobile > .llk-mobile__item > ul a { padding: 0 12px; margin: 0 -12px; border-radius: 10px; }
}
@media (min-width: 640px) and (max-width: 1100px) {
  .llk-mgroup ul { display: grid; grid-template-columns: 1fr 1fr; column-gap: 6px; }
}
/* forms: the hidden spam-trap field must never show (a second box under "Message"), even if its wrapper class is lost */
.llk-hp, .wpcf7-form-control-wrap[data-name="llk-website"], input[name="llk-website"] { position: absolute !important; left: -9999px !important; top: auto !important; width: 1px !important; height: 1px !important; overflow: hidden !important; opacity: 0 !important; pointer-events: none !important; }
