/* NaanUp Core v10: styles for the blocks the plugin renders (home hero, dish panels). Uses the theme's --nu-* colors with fallbacks. */

/* ========================================================================= hero */
.nu-hero { --hbg: var(--nu-gold, #f5b82a); --hfg: var(--nu-ink, #2d2119); position: relative; margin: 0 !important; padding: calc(clamp(40px,6vw,84px) * var(--hpy, 1)) 0 calc(clamp(34px,5vw,64px) * var(--hpy, 1)); overflow: hidden; }
section.nu-hero { color: var(--hfg); background: var(--hbg); }
.nu-hero--green { --hbg: var(--nu-green, #4f772d); --hfg: var(--nu-cream, #fff7e4); }
.nu-hero--cream { --hbg: var(--nu-cream, #fff7e4); }
.nu-hero--orange { --hbg: var(--nu-orange, #c76c00); }
.nu-hero--brown { --hbg: var(--nu-brown, #5a3a22); --hfg: var(--nu-cream, #fff7e4); }
.nu-hero--paper { --hbg: var(--nu-paper, #fffdf6); }
.nu-hero--ink { --hbg: var(--nu-ink, #2d2119); --hfg: var(--nu-cream, #fff7e4); }
section.nu-hero--bgimg { background: var(--hbg) var(--hbgimg) center / cover no-repeat; }
.nu-hero__ov { position: absolute; inset: 0; z-index: 0; background: rgba(var(--hov, 255,253,246), var(--hova, .45)); pointer-events: none; }
.nu-hero--tall { display: flex; flex-direction: column; justify-content: var(--hva, center); min-height: var(--hmh, 0); }
.nu-hero--nocircle::before, .nu-hero--nostripes::after { display: none; }
.nu-hero::before { position: absolute; top: -100px; right: -100px; width: clamp(240px,42vw,650px); aspect-ratio: 1; border: 2px solid currentColor; border-radius: 50%; opacity: .16; content: ""; }
.nu-hero::after { position: absolute; bottom: 0; left: 0; width: 100%; height: 15px; background: repeating-linear-gradient(135deg, var(--nu-ink, #2d2119) 0 16px, var(--nu-cream, #fff7e4) 16px 32px); content: ""; }
.nu-hero__inner { position: relative; z-index: 1; width: min(100% - 48px, var(--hw, 1350px)); margin-inline: auto; }
.nu-hero__grid { display: grid; grid-template-columns: minmax(0, var(--hcw, 55fr)) minmax(0, var(--hpw, 45fr)); gap: clamp(18px,4vw,65px); align-items: var(--hga, center); }
.nu-hero--ly-left .nu-hero__grid { grid-template-columns: minmax(0, var(--hpw, 45fr)) minmax(0, var(--hcw, 55fr)); }
.nu-hero--ly-left .nu-hero__art { order: -1; }
.nu-hero--ly-top .nu-hero__grid, .nu-hero--ly-bottom .nu-hero__grid { grid-template-columns: minmax(0, 1fr); }
.nu-hero--ly-top .nu-hero__art { order: -1; }
.nu-hero--ly-top .nu-hero__art, .nu-hero--ly-bottom .nu-hero__art { width: calc(var(--hpn, 45) * 1%); min-width: min(100%, 300px); margin-inline: auto; }
.nu-hero--al-center .nu-hero__copy { text-align: center; }
.nu-hero.nu-hero--al-center .nu-hero__title, .nu-hero.nu-hero--al-center .nu-hero__lede { margin-inline: auto; }
.nu-hero--al-center .nu-hero__actions { justify-content: center; }
.nu-hero--al-right .nu-hero__copy { text-align: right; }
.nu-hero.nu-hero--al-right .nu-hero__title, .nu-hero.nu-hero--al-right .nu-hero__lede { margin-left: auto; }
.nu-hero--al-right .nu-hero__actions { justify-content: flex-end; }
.nu-hero--noimg .nu-hero__grid { grid-template-columns: minmax(0, 1fr); }
.nu-hero__copy { position: relative; z-index: 2; min-width: 0; }
.nu-hero__copy .nu-eyebrow { display: inline-flex; padding: 8px 13px; color: var(--nu-cream, #fff7e4); background: var(--nu-truck, #562945); }
.nu-hero--green .nu-hero__copy .nu-eyebrow { color: var(--nu-ink, #2d2119); background: var(--nu-gold, #f5b82a); }
.nu-hero .nu-hero__title { max-width: 820px; margin: 14px 0 24px; color: var(--hfg); font-size: calc(clamp(3.2rem, 7.2vw, 7.3rem) * var(--hts, 1)); line-height: .92; letter-spacing: -.01em; }
.nu-hero__lede { max-width: 540px; margin: 0 0 27px; font-size: calc(clamp(17px,1.6vw,21px) * var(--hls, 1)); font-weight: 600; line-height: 1.5; }
.nu-hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 22px; }
.nu-hero__actions .wp-block-button { margin: 0; }
.nu-hero__smallprint { margin: 0; font-size: 11px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.nu-hero__smallprint::before { display: inline-block; width: 9px; height: 9px; margin-right: 10px; border: 2px solid currentColor; border-radius: 50%; vertical-align: middle; content: ""; }
.nu-hero__scroll { display: flex; justify-content: center; align-items: center; gap: 12px; margin: 35px 0 0; font-size: 10px; font-weight: 950; letter-spacing: .18em; text-transform: uppercase; }
.nu-hero__scroll::after { width: 36px; height: 2px; background: currentColor; content: ""; }

.nu-hero__art { min-width: 0; }
.nu-hero__stickers { position: absolute; inset: 0; pointer-events: none; }
.nu-hero__stickers .nu-sticker { pointer-events: auto; }
.nu-hero__stage { --hs: 1; --px: 50%; --py: 50%; --zm: 1; position: relative; width: 100%; min-height: calc(clamp(320px,40vw,540px) * var(--hs)); }
.nu-hero__frame { position: absolute; inset: 0; overflow: hidden; border: 2px solid var(--nu-ink, #2d2119); background: var(--nu-cream, #fff7e4); box-shadow: 12px 12px 0 var(--hfs, var(--nu-green, #4f772d)); }
.nu-hero--green .nu-hero__frame { box-shadow: 12px 12px 0 var(--hfs, var(--nu-gold, #f5b82a)); }
.nu-hero--noshadow .nu-hero__frame { box-shadow: none; }
.nu-hero .nu-button--ownbg .wp-block-button__link { background: var(--bb) !important; border-color: var(--bb) !important; }
.nu-hero .nu-button--ownfg .wp-block-button__link { color: var(--bf) !important; }
.nu-hero--b-pill .wp-block-button__link { border-radius: 999px !important; }
.nu-hero--b-round .wp-block-button__link { border-radius: 14px !important; }
.nu-hero--b-square .wp-block-button__link { border-radius: 0 !important; }
.nu-hero--bs-s .wp-block-button__link { min-height: 40px; padding: 9px 16px; font-size: 11px; }
.nu-hero--bs-l .wp-block-button__link { min-height: 58px; padding: 17px 30px; font-size: 14px; }
.nu-hero__stage--blob .nu-hero__frame { border-radius: 49% 51% 42% 58% / 47% 42% 58% 53%; }
.nu-hero__stage--circle .nu-hero__frame { border-radius: 50%; }
.nu-hero__stage--round .nu-hero__frame { border-radius: clamp(18px,3vw,38px); }
.nu-hero__stage--none .nu-hero__frame { overflow: visible; border: 0; background: transparent; box-shadow: none; }
.nu-hero__stage--blob .nu-hero__frame::before, .nu-hero__stage--circle .nu-hero__frame::before { position: absolute; top: 16%; left: 16%; z-index: 1; width: 68%; aspect-ratio: 1; border: 2px dashed rgba(45,33,25,.23); border-radius: 50%; content: ""; pointer-events: none; }
.nu-hero__img { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; margin: 0; object-position: var(--px) var(--py); transform: scale(var(--zm)); transform-origin: var(--px) var(--py); }
.nu-hero__stage--contain .nu-hero__img { padding: 6%; object-fit: contain; filter: drop-shadow(0 23px 22px rgba(45,33,25,.17)); }
.nu-hero__stage--cover .nu-hero__img { object-fit: cover; }
/* Photo allowed to stick out of the frame. Each area is a second copy of the photo, cut to one cell of a 3 x 3 grid laid over the stage (open to the outside),
   drawn above the frame, so only the part of the photo that falls in that cell and lies outside the frame shows as extra. */
.nu-hero__pop { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.nu-hero__stage .nu-hero__pop .nu-hero__img { z-index: 0; filter: none; }
.nu-hero__pop--tl { clip-path: polygon(-500% -500%, 33.4% -500%, 33.4% 33.4%, -500% 33.4%); }
.nu-hero__pop--t  { clip-path: polygon(33.3% -500%, 66.7% -500%, 66.7% 33.4%, 33.3% 33.4%); }
.nu-hero__pop--tr { clip-path: polygon(66.6% -500%, 600% -500%, 600% 33.4%, 66.6% 33.4%); }
.nu-hero__pop--l  { clip-path: polygon(-500% 33.3%, 33.4% 33.3%, 33.4% 66.7%, -500% 66.7%); }
.nu-hero__pop--r  { clip-path: polygon(66.6% 33.3%, 600% 33.3%, 600% 66.7%, 66.6% 66.7%); }
.nu-hero__pop--bl { clip-path: polygon(-500% 66.6%, 33.4% 66.6%, 33.4% 600%, -500% 600%); }
.nu-hero__pop--b  { clip-path: polygon(33.3% 66.6%, 66.7% 66.6%, 66.7% 600%, 33.3% 600%); }
.nu-hero__pop--br { clip-path: polygon(66.6% 66.6%, 600% 66.6%, 600% 600%, 66.6% 600%); }

/* stickers: positioned by the percentages saved from the dashboard, always centred on their spot so they never hang off the edge */
.nu-sticker { --x: 50%; --y: 50%; --r: 0deg; --s: 1; --sb: var(--nu-green, #4f772d); --sf: var(--nu-cream, #fff7e4); position: absolute; z-index: 6; left: var(--x); top: var(--y); max-width: 70%; transform: translate(-50%, -50%) rotate(var(--r)) scale(var(--s)); color: var(--sf); font-weight: 950; letter-spacing: .08em; line-height: 1.2; text-align: center; text-transform: uppercase; user-select: none; touch-action: none; }
.nu-sticker--gold { --sb: var(--nu-gold, #f5b82a); --sf: var(--nu-ink, #2d2119); }
.nu-sticker--green { --sb: var(--nu-green, #4f772d); --sf: var(--nu-cream, #fff7e4); }
.nu-sticker--orange { --sb: var(--nu-orange, #c76c00); --sf: var(--nu-cream, #fff7e4); }
.nu-sticker--cream { --sb: var(--nu-cream, #fff7e4); --sf: var(--nu-ink, #2d2119); }
.nu-sticker--ink { --sb: var(--nu-ink, #2d2119); --sf: var(--nu-cream, #fff7e4); }
.nu-sticker--tag { padding: 12px 17px; background: var(--sb); border: 2px solid var(--nu-ink, #2d2119); font-size: clamp(11px,1.1vw,14px); box-shadow: 4px 4px 0 rgba(45,33,25,.25); }
.nu-sticker--pill { padding: 10px 20px; border: 2px solid var(--nu-ink, #2d2119); border-radius: 999px; background: var(--sb); font-size: clamp(11px,1.1vw,14px); white-space: nowrap; }
.nu-sticker--burst { display: grid; width: clamp(96px,10vw,128px); aspect-ratio: 1; padding: 10px; place-content: center; border: 3px solid var(--nu-cream, #fff7e4); border-radius: 50%; background: var(--sb); font-family: var(--nu-display, Impact, sans-serif); font-size: clamp(17px,1.9vw,24px); font-weight: 400; letter-spacing: .02em; line-height: .95; box-shadow: 0 8px 0 rgba(45,33,25,.18); }
.nu-sticker--plain { color: var(--sb); font-family: var(--nu-display, Impact, sans-serif); font-size: clamp(26px,4vw,54px); font-weight: 400; letter-spacing: .01em; line-height: .95; text-shadow: 2px 2px 0 rgba(45,33,25,.12); }
.nu-sticker--plain.nu-sticker--cream { color: var(--nu-cream, #fff7e4); text-shadow: 2px 2px 0 rgba(45,33,25,.4); }
.nu-hero.is-editing .nu-sticker { cursor: grab; outline: 2px dashed rgba(45,33,25,.0); }
.nu-hero.is-editing .nu-sticker:hover, .nu-hero.is-editing .nu-sticker.is-drag { outline-color: rgba(45,33,25,.7); outline-offset: 5px; }
.nu-hero.is-editing .nu-sticker.is-drag { cursor: grabbing; }

/* ========================================================================= dish panels */
.nu-menu-story { margin: 0 !important; background: var(--nu-menu-bg, var(--nu-paper, #fffdf6)); color: var(--nu-menu-fg, inherit); }
.nu-menu-story .nu-menu-story__heading, .nu-menu-story .nu-menu-story__heading h2, .nu-menu-story .nu-menu-story__intro { color: var(--nu-menu-fg, inherit); }
.nu-menu-story__heading { width: min(100% - 48px, 1240px); margin-inline: auto; padding: clamp(40px,6vw,80px) 0 24px; }
.nu-menu-story__heading h2 { max-width: 950px; margin: 0 0 18px; font-size: clamp(3rem,7vw,7rem); line-height: .88; }
.nu-menu-story__intro { max-width: 600px; margin: 0; font-size: 18px; line-height: 1.55; }
.nu-empty-state { width: min(100% - 48px, 1100px); margin-inline: auto; padding: 45px 0 75px; }

.nu-panel { --pb: var(--nu-t1-bg, var(--nu-gold, #f5b82a)); --pf: var(--nu-t1-fg, var(--nu-ink, #2d2119)); --chb: var(--nu-t1-chb, var(--nu-ink, #2d2119)); --chf: var(--nu-t1-chf, var(--nu-cream, #fff7e4)); --imgh: 72svh; --dz: 1; --px: 50%; --py: 50%; --zm: 1; position: relative; margin: 0 !important; color: var(--pf); background: var(--pb); }
.nu-panel--tone-1 { --pb: var(--nu-t2-bg, var(--nu-green, #4f772d)); --pf: var(--nu-t2-fg, var(--nu-cream, #fff7e4)); --chb: var(--nu-t2-chb, var(--nu-gold, #f5b82a)); --chf: var(--nu-t2-chf, var(--nu-ink, #2d2119)); }
.nu-panel--tone-2 { --pb: var(--nu-t3-bg, var(--nu-cream, #fff7e4)); --pf: var(--nu-t3-fg, var(--nu-ink, #2d2119)); --chb: var(--nu-t3-chb, var(--nu-green, #4f772d)); --chf: var(--nu-t3-chf, var(--nu-cream, #fff7e4)); }
.nu-panel--tone-3 { --pb: var(--nu-t4-bg, var(--nu-orange, #c76c00)); --pf: var(--nu-t4-fg, var(--nu-ink, #2d2119)); --chb: var(--nu-t4-chb, var(--nu-ink, #2d2119)); --chf: var(--nu-t4-chf, var(--nu-cream, #fff7e4)); }
/* Four photo sizes. Each one changes the width of the photo column and its height, so the difference is easy to see. */
.nu-menu-story.nu-ps-standard .nu-panel { --imgh: 52svh; --artw: 5fr; --copyw: 5fr; --innerw: 1250px; }
.nu-menu-story.nu-ps-large .nu-panel { --imgh: 70svh; --artw: 7fr; --copyw: 5fr; --innerw: 1350px; }
.nu-menu-story.nu-ps-xlarge .nu-panel { --imgh: 82svh; --artw: 10fr; --copyw: 4fr; --innerw: 1680px; --imgmax: 1100px; }
.nu-menu-story.nu-ps-xlarge .nu-panel__inner { padding-block: clamp(36px, 6svh, 80px) clamp(28px, 5svh, 64px); }
/* Huge: the dish name on top, the photo as wide as the page below it. */
.nu-menu-story.nu-ps-huge .nu-panel { --imgh: 70svh; --innerw: 1760px; --imgmax: 1100px; }
.nu-menu-story.nu-ps-huge .nu-panel__inner, .nu-menu-story.nu-ps-huge .nu-panel--flip .nu-panel__inner { grid-template-columns: minmax(0, 1fr); gap: clamp(14px, 3svh, 30px); text-align: center; padding-block: clamp(36px, 6svh, 80px); }
.nu-menu-story.nu-ps-huge .nu-panel__copy { margin-inline: auto; max-width: 900px; }
.nu-menu-story.nu-ps-huge .nu-panel .nu-panel__title { margin-inline: auto; font-size: clamp(2.4rem, 5.2vw, 5.4rem); }
.nu-menu-story.nu-ps-huge .nu-panel__desc { margin-inline: auto; }
.nu-menu-story.nu-ps-huge .nu-panel__meta { justify-content: center; }
.nu-menu-story.nu-ps-huge .nu-panel__art, .nu-menu-story.nu-ps-huge .nu-panel--flip .nu-panel__art { order: 0; }
.nu-menu-story.nu-ps-huge .nu-panel__stage { min-height: 0; }
.nu-panel__stage { position: relative; display: grid; align-items: center; min-height: max(560px, 92svh); overflow: hidden; isolation: isolate; transform-origin: 50% 0; }
.nu-stack .nu-panel { position: sticky; top: var(--stick, 0px); }
.nu-menu-story.nu-ps-huge.nu-stack .nu-panel__stage { min-height: 100svh; }
.nu-stack .nu-panel__stage { min-height: 100svh; transform: scale(calc(1 - var(--cover, 0) * .07)); filter: brightness(calc(1 - var(--cover, 0) * .28)); border-radius: calc(var(--cover, 0) * 28px); will-change: transform; }
.nu-panel__stage::before { position: absolute; z-index: -1; top: 50%; right: 14%; width: min(58vw,700px); aspect-ratio: 1; border: 2px solid currentColor; border-radius: 50%; opacity: .16; transform: translateY(-50%); content: ""; }
.nu-panel__stage::after { position: absolute; z-index: -1; right: -6%; bottom: -22%; width: 34vw; aspect-ratio: 1; border: 2px dashed currentColor; border-radius: 50%; opacity: .2; content: ""; }
.nu-panel__inner { display: grid; grid-template-columns: minmax(0, var(--copyw, 5fr)) minmax(0, var(--artw, 7fr)); gap: clamp(20px,4vw,70px); align-items: center; width: min(100% - 48px, var(--innerw, 1350px)); margin-inline: auto; padding: clamp(64px,8vw,110px) 0 clamp(48px,6vw,90px); }
.nu-panel--flip .nu-panel__inner { grid-template-columns: minmax(0, var(--artw, 7fr)) minmax(0, var(--copyw, 5fr)); }
.nu-panel--flip .nu-panel__art { order: -1; }

.nu-panel__copy { position: relative; z-index: 2; min-width: 0; }
.nu-panel__num { margin: 0 0 14px; font-size: 11px; font-weight: 950; letter-spacing: .15em; }
.nu-panel__num i { font-style: normal; opacity: .7; }
.nu-panel__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 18px; }
.nu-food-category { display: inline-flex; padding: 8px 12px; border-radius: 999px; color: var(--chf); background: var(--chb); font-size: 10px; font-weight: 950; letter-spacing: .12em; text-transform: uppercase; }
.nu-dish-tags em { border-color: currentColor; }
.nu-panel .nu-panel__title { max-width: 760px; margin: 0 0 18px; color: var(--pf); font-size: clamp(2.8rem, 6.6vw, 6.8rem); line-height: .9; }
.nu-panel__desc { max-width: 560px; margin: 0 0 22px; font-size: clamp(17px,1.7vw,21px); line-height: 1.55; }
.nu-panel__price { display: inline-block; max-width: 100%; margin: 0 0 22px; padding: 12px 18px; border: 2px solid var(--pf); border-radius: 10px; color: var(--chf); background: var(--chb); font-size: clamp(15px,1.5vw,20px); font-weight: 900; }
.nu-panel__price .nu-price-list { gap: 4px 20px; }
.nu-panel .nu-text-link { display: inline-block; color: var(--pf); }
.nu-panel .nu-soldout-note { color: inherit; }

.nu-panel__art { position: relative; min-width: 0; transform: scale(var(--dz)); transform-origin: center; }
.nu-panel__frame { position: relative; }
.nu-panel__img { display: block; width: 100%; height: clamp(300px, var(--imgh), var(--imgmax, 920px)); margin: 0; object-fit: contain; object-position: var(--px) var(--py); transform: scale(var(--zm)); transform-origin: var(--px) var(--py); filter: drop-shadow(0 24px 22px rgba(45,33,25,.2)); cursor: zoom-in; }
.nu-panel--photo .nu-panel__frame { overflow: hidden; border: 2px solid var(--pf); border-radius: clamp(14px,2vw,28px); box-shadow: 10px 10px 0 rgba(45,33,25,.22); }
.nu-panel--photo .nu-panel__img { object-fit: cover; filter: none; }
.nu-panel.is-soldout .nu-panel__img { filter: grayscale(.85) opacity(.7); }
.nu-panel__stamp { position: absolute; right: 2%; bottom: 4%; z-index: 3; display: grid; width: clamp(84px,9vw,112px); aspect-ratio: 1; padding: 8px; place-content: center; border: 2px solid var(--pf); border-radius: 50%; color: var(--chf); background: var(--chb); font-family: var(--nu-display, Impact, sans-serif); font-size: clamp(14px,1.5vw,19px); line-height: .98; text-align: center; text-transform: uppercase; transform: rotate(8deg); }
.nu-panel__noimg { display: grid; width: 100%; height: clamp(260px,50svh,520px); place-items: center; border: 2px dashed currentColor; border-radius: 24px; font-family: var(--nu-display, Impact, sans-serif); font-size: clamp(25px,4vw,52px); }

@media (max-width: 860px) {
  .nu-panel__stage { min-height: 0; }
  .nu-stack .nu-panel__stage { min-height: 100svh; }
  .nu-panel__inner, .nu-panel--flip .nu-panel__inner { grid-template-columns: minmax(0, 1fr); gap: 14px; align-content: center; width: min(100% - 32px, 720px); padding: 60px 0 36px; }
  .nu-panel__art, .nu-panel--flip .nu-panel__art { order: -1; }
  .nu-menu-story.nu-ps-standard .nu-panel { --imgh: 32svh; }
  .nu-menu-story.nu-ps-large .nu-panel { --imgh: 42svh; }
  .nu-menu-story.nu-ps-xlarge .nu-panel { --imgh: 54svh; }
  .nu-menu-story.nu-ps-huge .nu-panel { --imgh: 60svh; }
  .nu-menu-story.nu-ps-xlarge .nu-panel__inner, .nu-menu-story.nu-ps-huge .nu-panel__inner { width: min(100% - 20px, 720px); }
  .nu-panel .nu-panel__title { font-size: clamp(2.5rem, 12vw, 4.2rem); margin-bottom: 12px; }
  .nu-panel__desc { margin-bottom: 16px; font-size: 16px; }
  .nu-panel__meta { margin-bottom: 12px; }
  .nu-panel__price { margin-bottom: 16px; }
  .nu-hero__grid, .nu-hero--ly-left .nu-hero__grid { grid-template-columns: minmax(0, 1fr); }
  .nu-hero--ly-top .nu-hero__art, .nu-hero--ly-bottom .nu-hero__art { width: 100%; }
  .nu-hero--ly-left .nu-hero__art { order: 0; }
  .nu-hero__stage { min-height: calc(clamp(300px,78vw,420px) * var(--hs)); }
  .nu-hero--pop-nophone .nu-hero__pop { display: none; }
}

/* ========================================================================= reveal on scroll */
html.nu-js-reveal .nu-rv { opacity: 0; transform: translateY(34px); transition: opacity .75s cubic-bezier(.2,.7,.2,1) var(--rd, 0s), transform .85s cubic-bezier(.2,.7,.2,1) var(--rd, 0s); }
html.nu-js-reveal .nu-panel__art.nu-rv { transform: translateY(70px) scale(calc(var(--dz) * .9)); }
html.nu-js-reveal .nu-rv.is-in, html.nu-js-reveal .is-in .nu-rv { opacity: 1; transform: none; }
html.nu-js-reveal .nu-panel__art.nu-rv.is-in, html.nu-js-reveal .is-in .nu-panel__art.nu-rv { transform: scale(var(--dz)); }
@media (prefers-reduced-motion: reduce) {
  html.nu-js-reveal .nu-rv, html.nu-js-reveal .nu-panel__art.nu-rv { opacity: 1 !important; transform: none !important; transition: none !important; }
  .nu-stack .nu-panel { position: relative; }
  .nu-stack .nu-panel__stage { transform: none; filter: none; border-radius: 0; }
}

/* ========================================================================= page layers
   Every top-level section of a page is a layer: it pins, and the next section slides up over it. A section taller than the screen pins by
   its bottom edge (--pgstick is negative), so all of it is scrolled through first. Only active when the head script switched the effect on. */
.nu-pgstack { background: var(--nu-ink, #2d2119); }
.nu-pgstack > .nu-pgl { position: sticky; top: var(--pgstick, 0px); margin-block: 0 !important; transform-origin: 50% var(--pgorigin, 0px); }
.nu-pgstack > .nu-pgl--paper { background-color: var(--nu-pgpaper, #f3ecd8); }
.nu-pgstack > .nu-pgl.is-covering { transform: scale(calc(1 - var(--pgcover, 0) * .06)); filter: brightness(calc(1 - var(--pgcover, 0) * .3)); border-radius: calc(var(--pgcover, 0) * 24px); will-change: transform; }
.nu-pgstack > .nu-pgl.is-front { z-index: 99990; }
body.nu-modal-open .nu-pgstack > .nu-pgl.is-covering { transform: none; filter: none; border-radius: 0; will-change: auto; }
@media print { .nu-pgstack > .nu-pgl { position: static !important; transform: none !important; filter: none !important; } html.nu-js-reveal .nu-rv { opacity: 1 !important; transform: none !important; } }

/* ========================================================================= full-screen photo */
.nu-lightbox { position: fixed; z-index: 100000; inset: 0; display: grid; place-items: center; padding: 16px; background: rgba(20,14,10,.92); cursor: zoom-out; }
.nu-lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 10px; }
.nu-lightbox__close { position: absolute; top: 14px; right: 14px; width: 48px; height: 48px; border: 0; border-radius: 50%; background: #f5b82a; color: #2d2119; font-size: 30px; line-height: 1; cursor: pointer; }

/* Social icons (footer and [naanup_social]) */
.nu-social { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 0; padding: 0; list-style: none; }
.nu-social li { margin: 0; padding: 0; }
.nu-social a { display: grid; width: 44px; height: 44px; place-items: center; border: 2px solid currentColor; border-radius: 50%; color: var(--nu-cream, #fff7e4); text-decoration: none; transition: background .15s, color .15s, transform .15s; }
.nu-social a:hover, .nu-social a:focus-visible { background: var(--nu-gold, #f5b82a); border-color: var(--nu-gold, #f5b82a); color: var(--nu-ink, #2d2119); transform: translateY(-2px); }
.nu-social svg { display: block; }
.nu-footer-social { padding-top: 6px; }
