/* Healing Empire native sections A: announcement ticker, "shop by feeling" pills, category tiles, category chips, stats band.
   Every section is built from native Flatsome elements inside UX Blocks. Hooks come from the elements' own Class option:
   he-nsx (every section) + he-nticker / he-npillsec / he-ncatsec / he-nchipsec / he-nstatsec, he-nhead (heading row),
   he-ney (eyebrow), he-nh2 (title), he-nlk (heading link), he-ngrid (grid row), he-ntile, he-npill, he-nchip,
   he-nstat__n / he-nstat__l (stats figure and caption). Skin only: no layout lives in raw HTML.
   Tokens follow the homepage tokens when present (var(--he-*)), with the same values as fallbacks, so the sections also
   render correctly on any other page. */

.he-nsx{
  --n-ink:var(--he-ink,#26351f);--n-soft:var(--he-soft,#56644f);--n-earth:var(--he-earth,#6f5a3a);--n-moss:var(--he-moss,#4f6b45);
  --n-sun:var(--he-sun,#e9b878);--n-ivory:var(--he-ivory,#f6f1e7);--n-sand:var(--he-sand,#e9dfcc);
  --n-card:var(--he-card,#ffffff);--n-line:var(--he-line,rgba(38,53,31,.12));
  --n-stats-bg:var(--he-stats-bg,#dce5cd);--n-stats-ink:var(--he-stats-ink,#26351f);--n-stats-sub:var(--he-stats-sub,#3d4a36);
  --n-r:14px;--n-pad:clamp(20px,5vw,80px);--n-ease:cubic-bezier(.2,.7,.2,1);
  --n-display:'Fraunces',Georgia,serif;--n-body:'Inter',system-ui,sans-serif;
  font-family:var(--n-body);color:var(--n-ink);line-height:1.7;-webkit-font-smoothing:antialiased;
}
body.ritual-dark .he-nsx{--n-card:#fffdf8;--n-line:#ddd2bb;--n-stats-bg:#b9d3a6;--n-stats-ink:#142410;--n-stats-sub:#26351f}
.he-nsx *,.he-nsx *:before,.he-nsx *:after{box-sizing:border-box}
.he-nsx .row:before,.he-nsx .row:after{display:none}
.he-nsx p{margin:0}

/* Section shell: full-bleed band, content capped at 1440 like the rest of the homepage */
.he-nsx.section{padding-top:0!important;padding-bottom:0!important;margin:0}
.he-nsx .section-content>.row{margin-left:auto;margin-right:auto}
.he-nsx .row>.col{padding-bottom:0;margin-bottom:0}
.he-nsx .col>.col-inner{padding:0;margin:0}
.he-nsx.he-npillsec{background:var(--n-sand)}

/* Icons: one mask per icon name, drawn in currentColor of the element that carries them */
.he-nsx .he-ic-leaf{--n-ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 19C5 10 10 5 20 4c0 10-5 15-14 15zM5 19c3-5 6-8 10-10'/%3E%3C/svg%3E")}
.he-nsx .he-ic-flask{--n-ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 3h6M10 3v6l-5 8.5A2 2 0 0 0 6.7 21h10.6a2 2 0 0 0 1.7-3.5L14 9V3'/%3E%3Cpath d='M7.5 15h9'/%3E%3C/svg%3E")}
.he-nsx .he-ic-heart{--n-ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-8-5-8-11a4.5 4.5 0 0 1 8-2.8A4.5 4.5 0 0 1 20 10c0 6-8 11-8 11z'/%3E%3C/svg%3E")}
.he-nsx .he-ic-moon{--n-ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 14.5A8 8 0 0 1 9.5 4 8 8 0 1 0 20 14.5z'/%3E%3C/svg%3E")}
.he-nsx .he-ic-sun{--n-ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Cpath d='M12 2v3M12 19v3M2 12h3M19 12h3M5 5l2 2M17 17l2 2M19 5l-2 2M7 17l-2 2'/%3E%3C/svg%3E")}

/* ---------- Announcement ticker: [section] > [row] > [col] > [ux_stack] of [ux_text] items ---------- */
.he-nsx.he-nticker{background:var(--n-sand);border-bottom:1px solid var(--n-line);overflow:hidden;white-space:nowrap;font-size:13px;color:#6b6450}
.he-nticker .section-content,.he-nticker .row,.he-nticker .col,.he-nticker .col-inner{padding:0;margin:0;max-width:none}
.he-nticker .stack{display:flex;flex-wrap:nowrap;gap:0;width:max-content;padding:11px 0}
.he-nsx.he-nticker .stack>*{display:flex;flex:none;margin:0 28px!important;padding:0;font-size:13px;line-height:1.7;color:#6b6450}
.he-nsx.he-nticker .stack>style{display:none!important}
.he-nsx.he-nticker .stack>*:before{content:"\2022";margin-right:28px;color:#c99a58}
.he-nsx.he-nticker .stack>* p{margin:0;display:inline}
.he-nticker.is-loop .stack{animation:he-nmq var(--n-dur,60s) linear infinite;will-change:transform}
@media(hover:hover){.he-nticker:hover .stack,.he-nticker:focus-within .stack{animation-play-state:paused}}
@keyframes he-nmq{to{transform:translateX(calc(-1 * var(--n-shift,50%)))}}

/* ---------- Section heading row: eyebrow + title left, link right ---------- */
.he-nsx .row.he-nhead{max-width:1440px;padding:clamp(56px,7vw,100px) var(--n-pad) 0;margin-bottom:0;align-items:flex-end;justify-content:space-between!important;gap:20px}
.he-nsx .row.he-nhead>.col{flex:0 1 auto;width:auto;max-width:none;padding:0}
.he-nsx .row.he-nhead+.row{margin-top:36px}
.he-nsx .he-ney{display:block;font-weight:600;font-size:14px;line-height:1.7;color:var(--n-earth);margin:0 0 12px}
.he-nsx .he-ney p{display:inline}
.he-nsx .he-nh2{margin:0;padding:0}
.he-nsx .he-nh2 h2{display:block;margin:0;padding:0;border:0;font-family:var(--n-display);font-weight:600;font-size:clamp(1.9rem,3.4vw,3rem);line-height:1.15;letter-spacing:-.005em;text-transform:none;color:var(--n-ink)}
.he-nsx .button.he-nlk{display:inline;min-height:0;margin:0;padding:0;background:none;border:0;border-bottom:1px solid currentColor!important;border-radius:0!important;box-shadow:none;color:var(--n-ink)!important;font-family:var(--n-body);font-weight:600;font-size:16px;line-height:1.7;letter-spacing:0;text-transform:none;white-space:nowrap;text-decoration:none;transition:color .3s var(--n-ease)}
.he-nsx .button.he-nlk span{display:inline}
.he-nsx .button.he-nlk:hover{color:var(--n-earth)!important;background:none;box-shadow:none;transform:none}

/* ---------- Grids (tiles and chips): native [row] of [col]s; the row lays them out as a grid ---------- */
.he-nsx .row.he-ngrid{max-width:1440px;padding:0 var(--n-pad) clamp(56px,7vw,100px);margin-top:0;display:grid;gap:16px;grid-template-columns:repeat(4,1fr)}
.he-nsx .row.he-ngrid>.col{width:auto;max-width:none;flex:none;min-width:0;padding:0}
.he-nsx .row.he-npills{max-width:1440px;padding:0 var(--n-pad) clamp(56px,7vw,100px)}
.he-nsx .row.he-npills>.col{flex:0 0 100%;max-width:100%;padding:0}

/* ---------- Shop by feeling: native [ux_text] pills (rich-text link) in a [ux_stack] ---------- */
.he-nsx .stack.he-npills__stack{flex-wrap:wrap;gap:12px}
.he-nsx .stack.he-npills__stack>*{margin:0!important}
.he-nsx .he-npill,.he-nsx .he-nchip{margin:0}
.he-nsx .he-npill a{display:inline-flex;align-items:center;gap:12px;min-height:58px;margin:0;padding:0 24px 0 18px;border-radius:99px;background:var(--n-card);border:1px solid var(--n-line);color:var(--n-ink)!important;font-family:var(--n-body);font-weight:600;font-size:16px;line-height:1.2;text-align:left;text-decoration:none;transition:.4s var(--n-ease)}
.he-nsx .he-npill a span{display:block}
.he-nsx .he-npill a small{display:block;font-weight:400;font-size:12px;line-height:1.2;color:var(--n-soft);transition:color .4s var(--n-ease)}
.he-nsx .he-npill a:before,.he-nsx .he-nchip a:before{content:"";flex:none;width:22px;height:22px;background-color:var(--n-moss);-webkit-mask:var(--n-ico) center/contain no-repeat;mask:var(--n-ico) center/contain no-repeat;transition:background-color .4s var(--n-ease)}
.he-nsx .he-npill a:hover,.he-nsx .he-nchip a:hover{background:var(--n-ink);color:var(--n-ivory)!important;border-color:var(--n-ink);transform:translateY(-3px)}
.he-nsx .he-npill a:hover small,.he-nsx .he-nchip a:hover small{color:var(--n-sun)}
.he-nsx .he-npill a:hover:before,.he-nsx .he-nchip a:hover:before{background-color:var(--n-sun)}
.he-nsx .he-npill a:focus-visible,.he-nsx .he-nchip a:focus-visible{outline:2px solid var(--n-ink);outline-offset:3px}

/* ---------- Category chips: native [ux_text] cards (rich-text link) ---------- */
.he-nsx .he-nchip a{display:flex;align-items:center;justify-content:flex-start;gap:14px;width:100%;min-width:0;padding:20px;background:var(--n-card);border:1px solid var(--n-line);border-radius:var(--n-r);color:var(--n-ink)!important;font-family:var(--n-body);font-weight:400;font-size:16px;line-height:1.7;text-align:left;text-decoration:none;transition:.4s var(--n-ease)}
.he-nsx .he-nchip a:before{width:20px;height:20px}
.he-nsx .he-nchip a span{display:block;min-width:0}
.he-nsx .he-nchip a b{display:block;font-size:17px;font-weight:600;line-height:1.7}
.he-nsx .he-nchip a small{display:block;font-size:12.5px;line-height:1.7;color:var(--n-soft);margin-top:2px;transition:color .4s var(--n-ease)}

/* ---------- Category tiles: native [ux_image_box], the whole card is the link ---------- */
.he-nsx .box.he-ntile{position:relative;display:grid;grid-template-rows:minmax(0,76fr) minmax(0,24fr);aspect-ratio:4/5;width:auto;margin:0;overflow:hidden;border:1px solid var(--n-line);border-radius:var(--n-r);background:radial-gradient(circle at 50% 38%,#fbf4e3,#eadcba);color:var(--n-ink);transition:transform .6s var(--n-ease),box-shadow .6s var(--n-ease)}
.he-nsx .he-ntile:hover{transform:translateY(-8px);box-shadow:0 26px 46px -22px rgba(38,53,31,.35)}
.he-nsx .he-ntile:before{content:"";position:absolute;top:18px;right:18px;z-index:2;width:24px;height:24px;background-color:var(--n-earth);-webkit-mask:var(--n-ico) center/contain no-repeat;mask:var(--n-ico) center/contain no-repeat}
.he-nsx .he-ntile .box-image{position:static;width:auto!important;min-height:0;margin:0;overflow:visible}
.he-nsx .he-ntile .box-image a,.he-nsx .he-ntile .box-image a>div{display:block;position:static;height:100%}
.he-nsx .he-ntile .box-image a:after{content:"";position:absolute;inset:0;z-index:3}
.he-nsx .he-ntile .box-image img{position:absolute;left:0;right:0;top:0;width:100%;height:76%;max-width:none;object-fit:cover;mix-blend-mode:multiply;transition:transform .7s var(--n-ease)}
.he-nsx .he-ntile--cut .box-image img{object-fit:contain;mix-blend-mode:normal;padding:6% 14% 0;filter:drop-shadow(0 18px 18px rgba(38,53,31,.28))}
.he-nsx .he-ntile:hover .box-image img{transform:scale(1.05)}
.he-nsx .he-ntile .box-text{position:relative;align-self:end;width:auto;margin:0;padding:0 22px 22px;text-align:left;background:none}
.he-nsx .he-ntile .box-text-inner{margin:0;padding:0}
.he-nsx .he-ntile h3{margin:0;font-family:var(--n-display);font-weight:600;font-size:24px;line-height:1.15;letter-spacing:-.005em;text-transform:none;color:var(--n-ink)}
.he-nsx .he-ntile p{margin:0;font-size:14px;line-height:1.5;color:var(--n-soft)}

/* ---------- Stats band: native [row] of [col] with two [ux_text] each ---------- */
.he-nsx.he-nstatsec{background:var(--n-stats-bg)}
.he-nsx .row.he-nstats{max-width:none;display:grid;grid-template-columns:repeat(3,1fr);gap:20px;padding:clamp(40px,5vw,72px) var(--n-pad);text-align:center}
.he-nsx .row.he-nstats>.col{width:auto;max-width:none;flex:none;min-width:0;padding:0}
.he-nsx .he-nstat__n{display:block;font-family:var(--n-display);font-weight:600;font-size:clamp(2rem,4vw,3.4rem);line-height:1.1;letter-spacing:0;color:var(--n-stats-ink)}
.he-nsx .he-nstat__n.he-word,.he-nsx .he-nstat__n .he-word{display:block;font-size:clamp(1.5rem,2.8vw,2.2rem);padding:.35em 0 .1em}
.he-nsx .he-nstat__n .he-word{font-size:inherit;padding:0}
.he-nsx .he-nstat__l{display:block;min-height:27.2px;font-size:14px;line-height:27.2px;color:var(--n-stats-sub)}

/* ---------- Reveal on the homepage (uses the page's he-rev script) ---------- */
html.he-rev-ready .he-home .he-nsx .he-ntile.he-rev.he-in:hover{transform:translateY(-8px)}

/* ---------- Responsive (breakpoints match the homepage: 900 and 600) ---------- */
@media(max-width:900px){
  .he-nsx .row.he-nhead{flex-direction:column;align-items:flex-start}
  .he-nsx .row.he-nhead>.col{width:100%;text-align:left!important}
  .he-nsx .row.he-nhead .col-inner{text-align:left!important}
  .he-nsx .row.he-ngrid{grid-template-columns:1fr 1fr}
}
@media(max-width:600px){
  .he-nsx .row.he-ngrid.he-ngrid--chips{grid-template-columns:1fr;gap:14px}
  .he-nsx .row.he-ngrid.he-ngrid--tiles{gap:10px}
  .he-nsx .he-ntile .box-text{padding:0 14px 14px}
  .he-nsx .he-ntile h3{font-size:19px}
  .he-nsx .he-ntile p{font-size:12.5px}
  .he-nsx .he-ntile:before{top:12px;right:12px;width:20px;height:20px}
  .he-nsx .stack.he-npills__stack{gap:8px}
  .he-nsx .he-npill{flex:1 1 calc(50% - 8px)}
  .he-nsx .he-npill a{width:100%;min-height:52px;padding:0 18px 0 14px;font-size:15px}
  .he-nsx .he-npill a small{font-size:11px}
  .he-nsx .row.he-nstats{grid-template-columns:1fr;gap:14px}
}
@media(prefers-reduced-motion:reduce){
  .he-nsx *,.he-nsx *:before,.he-nsx *:after{animation:none!important;transition:none!important}
  .he-nticker .stack{width:auto;flex-wrap:wrap}
  .he-nticker .stack>[aria-hidden]{display:none}
  .he-nsx.he-nticker{white-space:normal}
  .he-home .he-nsx .he-rev{opacity:1!important;transform:none!important}
}
