/* NovaNetFlow Builder — front end. Scoped to .nnf-b so themes are untouched. */

:root {
	--nnf-primary: #111; --nnf-secondary: #c9ad86; --nnf-accent: #7c8b74;
	--nnf-text: #3d3d3d; --nnf-heading: #111; --nnf-bg: #fff; --nnf-light: #f6f3ee; --nnf-dark: #111;
	--nnf-font-heading: Georgia, serif; --nnf-font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	--nnf-radius: 8px; --nnf-container: 1200px;
}

/* Full-width template: let builder sections span the viewport */
.nnf-template-full .nnf-main, .nnf-template-blank .nnf-main { width: 100%; max-width: none; margin: 0; padding: 0; }
.nnf-builder-page .wp-site-blocks > main.nnf-main { margin-block-start: 0; }
.nnf-builder-page :where(.entry-content, .wp-block-post-content) > .nnf-b { max-width: none; }

.nnf-b { color: var(--nnf-text); font-family: var(--nnf-font-body); font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
.nnf-b *, .nnf-b *::before, .nnf-b *::after { box-sizing: border-box; }
.nnf-b img { max-width: 100%; height: auto; display: block; }
.nnf-b :where(h1, h2, h3, h4, h5, h6, .nnf-heading) { margin: 0; color: var(--nnf-heading); font-family: var(--nnf-font-heading); font-weight: 500; line-height: 1.15; letter-spacing: -0.015em; }
.nnf-b .nnf-heading.nnf-font-body { font-family: var(--nnf-font-body); }
.nnf-b :where(h1.nnf-heading) { font-size: clamp(2.5rem, 5vw, 4.5rem); }
.nnf-b :where(h2.nnf-heading) { font-size: clamp(2rem, 3.6vw, 3rem); }
.nnf-b :where(h3.nnf-heading) { font-size: 1.35rem; }
.nnf-b .nnf-heading em { font-style: italic; color: var(--nnf-secondary); }
.nnf-b :where(p) { margin: 0 0 1em; }
.nnf-b :where(p:last-child) { margin-bottom: 0; }
.nnf-b a { color: inherit; }
.nnf-b .nnf-text a { color: var(--nnf-primary); text-underline-offset: 3px; }

/* Structure */
.nnf-section { position: relative; padding: 80px 24px; background-size: cover; isolation: isolate; }
.nnf-section > .nnf-overlay { position: absolute; inset: 0; z-index: -1; pointer-events: none; border-radius: inherit; }
.nnf-section.nnf-w-boxed > .nnf-container { max-width: var(--nnf-container); margin: 0 auto; }
.nnf-section.nnf-w-full > .nnf-container { max-width: none; }
.nnf-section { display: flex; flex-direction: column; }
.nnf-section > .nnf-container { width: 100%; display: flex; flex-direction: column; gap: 32px; }
.nnf-section.nnf-va-center > .nnf-container { margin-top: auto; margin-bottom: auto; }
.nnf-section.nnf-va-bottom > .nnf-container { margin-top: auto; }
.nnf-row { display: flex; flex-wrap: nowrap; column-gap: 32px; row-gap: 32px; width: 100%; }
.nnf-row.nnf-va-center { align-items: center; }
.nnf-row.nnf-va-bottom { align-items: flex-end; }
.nnf-col { flex: 0 0 auto; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.nnf-col.nnf-va-center { justify-content: center; }
.nnf-col.nnf-va-bottom { justify-content: flex-end; }
.nnf-el { min-width: 0; }

@media (max-width: 1024px) {
	.nnf-row.nnf-cols-4, .nnf-row.nnf-cols-5 { flex-wrap: wrap; }
	.nnf-row.nnf-cols-4 > .nnf-col, .nnf-row.nnf-cols-5 > .nnf-col { flex-basis: calc(50% - var(--nnf-gap-share, 16px)) !important; }
}
@media (max-width: 767px) {
	.nnf-section { padding: 56px 20px; }
	.nnf-row { flex-direction: column; }
	.nnf-row > .nnf-col { flex-basis: auto !important; width: 100%; }
	.nnf-row.nnf-reverse-mobile { flex-direction: column-reverse; }
	.nnf-b { font-size: 16px; }
}

/* Visibility */
@media (min-width: 1025px) { .nnf-b .nnf-hide-desktop { display: none !important; } }
@media (min-width: 768px) and (max-width: 1024px) { .nnf-b .nnf-hide-tablet { display: none !important; } }
@media (max-width: 767px) { .nnf-b .nnf-hide-mobile { display: none !important; } }

/* Animations */
.nnf-js .nnf-anim { opacity: 0; transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); }
.nnf-js .nnf-anim-fade-up { transform: translateY(32px); }
.nnf-js .nnf-anim-zoom-in { transform: scale(.94); }
.nnf-js .nnf-anim-slide-left { transform: translateX(-40px); }
.nnf-js .nnf-anim-slide-right { transform: translateX(40px); }
.nnf-js .nnf-anim.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .nnf-js .nnf-anim { opacity: 1; transform: none; transition: none; } }

/* Buttons */
.nnf-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.nnf-btn {
	--bg: var(--nnf-btn-bg, var(--nnf-primary)); --fg: var(--nnf-btn-color, #fff);
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	padding: 14px 26px; border: 2px solid var(--bg); border-radius: var(--nnf-btn-radius, var(--nnf-radius));
	background: var(--bg); color: var(--fg) !important; font: 600 15px/1.2 var(--nnf-font-body); text-decoration: none !important; cursor: pointer;
	transition: transform .25s cubic-bezier(.2,.7,.2,1), box-shadow .25s, background .25s, color .25s, opacity .25s;
}
.nnf-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -12px rgba(0,0,0,.35); }
.nnf-btn--outline { background: transparent; color: var(--bg) !important; }
.nnf-btn--outline:hover { background: var(--bg); color: var(--fg) !important; }
.nnf-btn--text { background: none; border-color: transparent; padding-left: 0; padding-right: 0; color: var(--bg) !important; text-decoration: underline !important; text-underline-offset: 4px; }
.nnf-btn--text:hover { box-shadow: none; }
.nnf-btn--sm { padding: 9px 18px; font-size: 13px; }
.nnf-btn--lg { padding: 17px 34px; font-size: 16px; }
.nnf-btn--full { width: 100%; }
.nnf-btn[disabled] { opacity: .7; cursor: default; }
.nnf-arrow-link { display: inline-block; margin-top: 10px; font-weight: 600; color: var(--nnf-primary) !important; text-decoration: none !important; }

/* Image */
.nnf-figure { margin: 0; }
.nnf-figure__img { overflow: hidden; }
.nnf-figure__img .nnf-img { width: 100%; }
.nnf-zoom .nnf-img { transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.nnf-zoom:hover .nnf-img { transform: scale(1.05); }
.nnf-figure figcaption { margin-top: 10px; font-size: 14px; opacity: .7; }

/* Icon */
.nnf-iconwrap { display: inline-grid; place-items: center; line-height: 0; }
.nnf-shape-circle, .nnf-shape-square { padding: .5em; }
.nnf-shape-circle { border-radius: 50%; padding: 18px; }
.nnf-shape-square { border-radius: 16px; padding: 18px; }

/* Icon list */
.nnf-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.nnf-list li { display: flex; align-items: flex-start; gap: 12px; margin: 0; }
.nnf-list .nnf-icon { flex: none; width: 20px; height: 20px; margin-top: .2em; }
.nnf-list a { text-decoration: none; }
.nnf-list--lines li { padding-bottom: 12px; border-bottom: 1px solid color-mix(in srgb, currentColor 15%, transparent); }

/* Divider */
.nnf-divider { border: 0; height: 0; }

/* Video + map */
.nnf-video, .nnf-map { position: relative; overflow: hidden; background: #000; }
.nnf-map { background: var(--nnf-light); }
.nnf-video iframe, .nnf-video video, .nnf-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.nnf-map.is-gray iframe { filter: grayscale(1) contrast(1.05); }

/* Gallery */
.nnf-gallery { display: grid; }
.nnf-gallery__item { display: block; overflow: hidden; }
.nnf-gallery__img { width: 100%; height: 100%; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
a.nnf-gallery__item:hover .nnf-gallery__img { transform: scale(1.04); }
.nnf-lightbox { position: fixed; inset: 0; z-index: 99999; display: grid; place-items: center; padding: 40px; background: rgba(10,10,10,.92); cursor: zoom-out; animation: nnf-fade .25s ease; }
.nnf-lightbox img { max-width: 100%; max-height: 100%; border-radius: 6px; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.nnf-lightbox button { position: absolute; top: 50%; width: 52px; height: 52px; margin-top: -26px; border: 0; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; font-size: 28px; cursor: pointer; }
.nnf-lightbox .nnf-lb-prev { left: 20px; } .nnf-lightbox .nnf-lb-next { right: 20px; }
@keyframes nnf-fade { from { opacity: 0; } }

/* Slider */
.nnf-slider { position: relative; overflow: hidden; background: var(--nnf-dark); color: #fff; }
.nnf-slide { position: absolute; inset: 0; display: flex; align-items: center; background: var(--nnf-dark) center / cover no-repeat; opacity: 0; visibility: hidden; transition: opacity 1s ease, visibility 1s; }
.nnf-slide.is-active { opacity: 1; visibility: visible; }
.nnf-slide__shade { position: absolute; inset: 0; background: #000; }
.nnf-slide__inner { position: relative; width: 100%; max-width: var(--nnf-container); margin: 0 auto; padding: 0 72px; }
.nnf-slide .nnf-heading { color: #fff; font-size: clamp(2rem, 5vw, 4rem); margin-bottom: 14px; }
.nnf-slide p { max-width: 36em; margin: 0 0 24px; font-size: 1.15em; opacity: .9; }
.nnf-slider__prev, .nnf-slider__next { position: absolute; top: 50%; z-index: 2; width: 48px; height: 48px; margin-top: -24px; border: 0; border-radius: 50%; background: rgba(255,255,255,.16); color: #fff; font-size: 26px; line-height: 1; cursor: pointer; backdrop-filter: blur(6px); transition: background .2s; }
.nnf-slider__prev:hover, .nnf-slider__next:hover { background: rgba(255,255,255,.3); }
.nnf-slider__prev { left: 16px; } .nnf-slider__next { right: 16px; }
.nnf-slider__dots { position: absolute; left: 0; right: 0; bottom: 20px; z-index: 2; display: flex; justify-content: center; gap: 8px; }
.nnf-slider__dots button { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 99px; background: rgba(255,255,255,.45); cursor: pointer; transition: width .3s, background .3s; }
.nnf-slider__dots button.is-active { width: 26px; background: #fff; }
@media (max-width: 767px) { .nnf-slide__inner { padding: 0 24px 40px; } .nnf-slider__prev, .nnf-slider__next { display: none; } }

/* Icon box */
.nnf-iconbox { display: flex; flex-direction: column; gap: 14px; height: 100%; transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s; }
.nnf-iconbox--left { flex-direction: row; align-items: flex-start; gap: 18px; text-align: left; }
.nnf-iconbox__icon { display: inline-grid; place-items: center; align-self: flex-start; width: fit-content; padding: 14px; border-radius: 14px; line-height: 0; }
.nnf-iconbox__img img { width: 72px; height: 72px; object-fit: cover; border-radius: 14px; }
.nnf-iconbox__title { font-size: 1.3rem; margin-bottom: 6px; }
.nnf-iconbox__text { margin: 0; opacity: .85; }
.nnf-lift:hover { transform: translateY(-6px); box-shadow: 0 24px 48px -24px rgba(0,0,0,.25); }

/* Testimonial */
.nnf-testimonial { margin: 0; }
.nnf-testimonial--card { height: 100%; padding: 32px; border-radius: min(var(--nnf-radius), 20px); background: var(--nnf-light); }
.nnf-testimonial__quote { margin: 0 0 22px; padding: 0; border: 0; font-family: var(--nnf-font-heading); font-size: 1.25rem; line-height: 1.45; quotes: "“" "”"; }
.nnf-testimonial__quote::before { content: open-quote; }
.nnf-testimonial__quote::after { content: close-quote; }
.nnf-testimonial--big .nnf-testimonial__quote { font-size: clamp(1.5rem, 3vw, 2.25rem); }
.nnf-testimonial__who { display: inline-flex; align-items: center; gap: 12px; text-align: left; }
.nnf-testimonial__photo { width: 48px !important; height: 48px; border-radius: 50%; object-fit: cover; }
.nnf-testimonial__who strong { display: block; font-weight: 600; color: var(--nnf-heading); }
.nnf-testimonial__who em { display: block; font-style: normal; font-size: .9em; opacity: .7; }
.nnf-stars { margin-bottom: 14px; color: var(--nnf-secondary); letter-spacing: 2px; }
.nnf-stars span { opacity: .25; }

/* Team */
.nnf-team__photo { width: 100%; aspect-ratio: 4/5; object-fit: cover; margin-bottom: 16px; border-radius: min(var(--nnf-radius), 18px); }
.nnf-team--circle .nnf-team__photo { width: 180px; aspect-ratio: 1; border-radius: 50%; margin-left: auto; margin-right: auto; }
.nnf-team--square .nnf-team__photo { border-radius: 0; }
.nnf-team__name { font-size: 1.25rem; }
.nnf-team__role { margin: 4px 0 10px; opacity: .7; }
.nnf-team__social { display: flex; gap: 8px; justify-content: inherit; }
.nnf-team__social a { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--nnf-light); color: var(--nnf-heading); }
.nnf-team__social .nnf-icon { width: 18px; height: 18px; }

/* Pricing */
.nnf-pricing { --acc: var(--nnf-accent-color, var(--nnf-primary)); position: relative; display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 36px 30px; border: 1px solid color-mix(in srgb, var(--nnf-text) 15%, transparent); border-radius: min(var(--nnf-radius), 22px); background: var(--nnf-bg); }
.nnf-pricing.is-featured { border: 2px solid var(--acc); box-shadow: 0 30px 60px -30px rgba(0,0,0,.3); transform: scale(1.03); }
.nnf-pricing__badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); padding: 5px 14px; border-radius: 999px; background: var(--acc); color: #fff; font-size: 12px; font-weight: 600; white-space: nowrap; }
.nnf-pricing__title { font-family: var(--nnf-font-body); font-size: 14px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--nnf-text); }
.nnf-pricing__price { display: flex; align-items: baseline; gap: 4px; margin: 6px 0 4px; }
.nnf-pricing__price strong { font-family: var(--nnf-font-heading); font-size: 52px; font-weight: 500; line-height: 1; color: var(--nnf-heading); letter-spacing: -.03em; }
.nnf-pricing__price span { opacity: .6; }
.nnf-pricing__desc { margin: 0; opacity: .75; }
.nnf-pricing__features { list-style: none; margin: 18px 0 26px; padding: 0; flex: 1; }
.nnf-pricing__features li { display: flex; gap: 10px; align-items: center; padding: 9px 0; border-top: 1px solid color-mix(in srgb, var(--nnf-text) 10%, transparent); margin: 0; }
.nnf-pricing__features .nnf-icon { width: 18px; height: 18px; flex: none; color: var(--acc); }
.nnf-pricing__features li.is-no { opacity: .45; }
.nnf-pricing__features li.is-no .nnf-icon { color: inherit; }
@media (max-width: 767px) { .nnf-pricing.is-featured { transform: none; } }

/* Counter */
.nnf-counter__num { font-family: var(--nnf-font-heading); font-size: 56px; line-height: 1; letter-spacing: -.03em; color: var(--nnf-heading); }
.nnf-counter__label { margin-top: 10px; opacity: .75; }

/* Progress */
.nnf-progress { display: flex; flex-direction: column; gap: 18px; }
.nnf-progress__top { display: flex; justify-content: space-between; margin-bottom: 8px; font-weight: 500; }
.nnf-progress__track { height: 8px; border-radius: 99px; overflow: hidden; background: var(--nnf-light); }
.nnf-progress__bar { height: 100%; width: var(--p); border-radius: inherit; background: var(--nnf-primary); transform-origin: left; }
.nnf-js .nnf-progress__bar { transform: scaleX(0); transition: transform 1.4s cubic-bezier(.2,.7,.2,1); }
.nnf-js .nnf-progress.is-in .nnf-progress__bar { transform: none; }

/* Accordion */
.nnf-acc__item { border-top: 1px solid color-mix(in srgb, var(--nnf-text) 18%, transparent); }
.nnf-acc__item:last-child { border-bottom: 1px solid color-mix(in srgb, var(--nnf-text) 18%, transparent); }
.nnf-acc--boxes .nnf-acc__item { margin-bottom: 10px; padding: 0 22px; border: 1px solid color-mix(in srgb, var(--nnf-text) 15%, transparent); border-radius: min(var(--nnf-radius), 14px); }
.nnf-acc__title { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; cursor: pointer; list-style: none; font-family: var(--nnf-font-heading); font-size: 1.2rem; color: var(--nnf-heading); }
.nnf-acc__title::-webkit-details-marker { display: none; }
.nnf-acc__plus { position: relative; flex: none; width: 16px; height: 16px; }
.nnf-acc__plus::before, .nnf-acc__plus::after { content: ""; position: absolute; left: 0; top: 50%; width: 100%; height: 1.5px; background: currentColor; transition: transform .3s; }
.nnf-acc__plus::after { transform: rotate(90deg); }
.nnf-acc__item[open] .nnf-acc__plus::after { transform: rotate(0); }
.nnf-acc__body { padding: 0 0 22px; opacity: .85; }

/* Tabs */
.nnf-tabs__list { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 24px; border-bottom: 1px solid color-mix(in srgb, var(--nnf-text) 15%, transparent); }
.nnf-tabs__tab { position: relative; padding: 12px 18px; border: 0; background: none; color: var(--nnf-text); font: 600 15px var(--nnf-font-body); cursor: pointer; opacity: .6; }
.nnf-tabs__tab.is-active { opacity: 1; color: var(--nnf-tab-active, var(--nnf-heading)); }
.nnf-tabs__tab.is-active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--nnf-tab-active, var(--nnf-primary)); }
.nnf-tabs__pane { display: none; }
.nnf-tabs__pane.is-active { display: block; animation: nnf-fade .4s ease; }

/* CTA */
.nnf-cta { display: flex; flex-direction: column; align-items: center; gap: 22px; padding: 56px 40px; border-radius: min(var(--nnf-radius), 28px); text-align: center; }
.nnf-cta .nnf-heading { font-size: clamp(2rem, 4vw, 3.25rem); margin-bottom: 10px; }
.nnf-cta p { margin: 0; opacity: .85; font-size: 1.1em; }
.nnf-cta--split { flex-direction: row; justify-content: space-between; text-align: left; }
@media (max-width: 767px) { .nnf-cta { padding: 40px 24px; } .nnf-cta--split { flex-direction: column; text-align: center; } }

/* Countdown */
.nnf-countdown { display: flex; flex-wrap: wrap; gap: 12px; }
.nnf-countdown__box { min-width: 92px; padding: 18px 12px; border-radius: min(var(--nnf-radius), 16px); background: var(--nnf-light); text-align: center; }
.nnf-countdown__box strong { display: block; font-family: var(--nnf-font-heading); font-size: 44px; font-weight: 500; line-height: 1; color: var(--nnf-heading); font-variant-numeric: tabular-nums; }
.nnf-countdown__box span { display: block; margin-top: 6px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; opacity: .65; }
.nnf-countdown__done { font-family: var(--nnf-font-heading); font-size: 2rem; color: var(--nnf-heading); }

/* Social */
.nnf-social { display: flex; flex-wrap: wrap; gap: 10px; }
.nnf-social a { display: inline-grid; place-items: center; width: var(--nnf-s-size, 42px); height: var(--nnf-s-size, 42px); color: var(--nnf-s-color, var(--nnf-heading)); background: var(--nnf-s-bg, var(--nnf-light)); transition: transform .25s, background .25s, color .25s; }
.nnf-social .nnf-icon { width: 46%; height: 46%; }
.nnf-social--circle a { border-radius: 50%; }
.nnf-social--square a { border-radius: 10px; }
.nnf-social--none a { background: none; width: auto; height: auto; }
.nnf-social--none .nnf-icon { width: calc(var(--nnf-s-size, 42px) * .6); height: calc(var(--nnf-s-size, 42px) * .6); }
.nnf-social--brand a { background: var(--nnf-brand); color: #fff; }
.nnf-social--brand.nnf-social--none a { background: none; color: var(--nnf-brand); }
.nnf-social a:hover { transform: translateY(-3px); }

/* Form */
.nnf-form { display: flex; flex-direction: column; gap: 16px; }
.nnf-form__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.nnf-form__field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 500; color: var(--nnf-heading); }
.nnf-form :is(input, textarea) { width: 100%; padding: 14px 16px; border: 1px solid color-mix(in srgb, var(--nnf-text) 22%, transparent); border-radius: min(var(--nnf-radius), 12px); background: var(--nnf-bg); color: var(--nnf-text); font: 400 16px var(--nnf-font-body); transition: border-color .2s, box-shadow .2s; }
.nnf-form :is(input, textarea):focus { outline: 0; border-color: var(--nnf-primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--nnf-primary) 18%, transparent); }
.nnf-form__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.nnf-form__ok { padding: 28px; border-radius: min(var(--nnf-radius), 16px); background: color-mix(in srgb, #22c55e 12%, transparent); color: #166534; font-weight: 500; text-align: center; }
.nnf-form__err { margin: 0; color: #b42318; font-weight: 500; }
.nnf-form .nnf-btn { align-self: flex-start; }
.nnf-form .nnf-btn--full { align-self: stretch; }

/* Posts */
.nnf-posts { display: grid; gap: 32px; }
.nnf-post__img { display: block; overflow: hidden; margin-bottom: 16px; border-radius: min(var(--nnf-radius), 16px); }
.nnf-post__img img { width: 100%; aspect-ratio: 16/10; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.nnf-post:hover .nnf-post__img img { transform: scale(1.04); }
.nnf-post__date { display: block; margin-bottom: 6px; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; opacity: .6; }
.nnf-post__title { font-size: 1.3rem; margin-bottom: 8px; }
.nnf-post__title a { text-decoration: none; }
.nnf-post__excerpt { margin: 0; opacity: .8; }
.nnf-posts--cards .nnf-post { padding: 16px 16px 24px; border-radius: min(var(--nnf-radius), 18px); background: var(--nnf-bg); box-shadow: 0 20px 40px -28px rgba(0,0,0,.3); }
@media (max-width: 767px) { .nnf-posts { grid-template-columns: 1fr !important; } }

/* Editor-only placeholders (also safe on front end) */
.nnf-ph, .nnf-ph-img { display: grid; place-items: center; min-height: 120px; padding: 20px; border: 1.5px dashed color-mix(in srgb, var(--nnf-text) 30%, transparent); border-radius: 12px; color: color-mix(in srgb, var(--nnf-text) 70%, transparent); font: 500 14px var(--nnf-font-body); text-align: center; background: color-mix(in srgb, var(--nnf-text) 4%, transparent); }
.nnf-ph-img { aspect-ratio: 4/3; min-height: 0; }
.nnf-gallery--ph { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.nnf-form__files input[type=file] { padding: 12px; border: 1px dashed color-mix(in srgb, currentColor 30%, transparent); border-radius: var(--nnf-radius-sm, 10px); background: transparent; font: inherit; font-weight: 400; cursor: pointer; }
.nnf-form__hint { font-weight: 400; opacity: .65; font-size: 12.5px; }
.nnf-form__files .nnf-form__err { font-size: 13px; }

/* ---- More elements ---- */
.nnf-pq { margin: 0; }
.nnf-pq blockquote { margin: 0; font-family: var(--nnf-font-heading, inherit); font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.4rem); line-height: 1.3; letter-spacing: -.01em; color: var(--nnf-heading); }
.nnf-pq cite { display: block; margin-top: 14px; font-style: normal; font-size: .95rem; opacity: .7; }
.nnf-pq--line { padding-left: 24px; border-left: 3px solid var(--nnf-pq-accent, currentColor); }
.nnf-pq--center { text-align: center; }
.nnf-pq--center blockquote::before { content: "“"; display: block; font-size: 3em; line-height: .6; color: var(--nnf-pq-accent, currentColor); margin-bottom: 8px; }
.nnf-logos__title { margin: 0 0 18px; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; opacity: .6; }
.nnf-logos ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 28px 48px; }
.nnf-logos img { width: auto; max-width: 180px; object-fit: contain; display: block; }
.nnf-logos--gray img { filter: grayscale(1); opacity: .65; transition: filter .25s, opacity .25s; }
.nnf-logos--gray li:hover img { filter: none; opacity: 1; }
.nnf-logos__ph { display: grid; place-items: center; width: 110px; border: 1.5px dashed color-mix(in srgb, currentColor 25%, transparent); border-radius: 8px; font-size: 11px; letter-spacing: .1em; opacity: .5; }
.nnf-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; }
.nnf-steps--row { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.nnf-steps li { display: flex; gap: 16px; align-items: flex-start; }
.nnf-steps--row li { flex-direction: column; }
.nnf-steps__n { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 600; }
.nnf-steps__title { font-size: 1.2rem; margin: 0 0 6px; }
.nnf-steps p { margin: 0; opacity: .8; }
.nnf-plist { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.nnf-plist__row { display: flex; align-items: baseline; gap: 10px; }
.nnf-plist__name { font-weight: 600; color: var(--nnf-heading); }
.nnf-plist__dots { flex: 1; }
.nnf-plist--dots .nnf-plist__dots { border-bottom: 1.5px dotted color-mix(in srgb, currentColor 35%, transparent); transform: translateY(-4px); }
.nnf-plist__price { font-weight: 600; white-space: nowrap; }
.nnf-plist__desc { margin: 4px 0 0; opacity: .75; font-size: .95rem; }
.nnf-plist__tag { display: inline-block; margin-left: 8px; padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 600; color: #fff; vertical-align: middle; }
.nnf-hours ul { list-style: none; margin: 0; padding: 0; }
.nnf-hours li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 12px; border-radius: 8px; }
.nnf-hours li + li { border-top: 1px solid color-mix(in srgb, currentColor 10%, transparent); }
.nnf-hours li.is-today { font-weight: 600; border-top-color: transparent; }
.nnf-hours__note { margin: 12px 12px 0; opacity: .7; font-size: .92rem; }
.nnf-table-wrap { overflow-x: auto; }
.nnf-table { width: 100%; border-collapse: collapse; font-size: .97rem; }
.nnf-table th, .nnf-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid color-mix(in srgb, currentColor 12%, transparent); }
.nnf-table th { font-weight: 600; color: var(--nnf-heading); }
.nnf-table--striped tbody tr:nth-child(odd) { background: color-mix(in srgb, currentColor 4%, transparent); }
.nnf-table--boxed { border: 1px solid color-mix(in srgb, currentColor 14%, transparent); border-radius: 12px; overflow: hidden; border-collapse: separate; border-spacing: 0; }
.nnf-table--boxed thead th { background: color-mix(in srgb, currentColor 5%, transparent); }
.nnf-notice { display: flex; align-items: center; gap: 16px; padding: 18px 22px; border-radius: min(var(--nnf-radius, 14px), 16px); flex-wrap: wrap; }
.nnf-notice__icon { flex: none; line-height: 0; }
.nnf-notice__body { flex: 1; min-width: 200px; }
.nnf-notice__body strong { display: block; color: inherit; }
.nnf-notice__body p { margin: 2px 0 0; opacity: .85; }
.nnf-notice--soft { background: var(--nnf-light, #f4f3ef); }
.nnf-notice--brand { background: var(--nnf-primary); color: #fff; }
.nnf-notice--dark { background: #111; color: #fff; }
.nnf-notice--success { background: #e9f7ef; color: #14532d; }
.nnf-notice--warning { background: #fff6e5; color: #7a4b00; }
.nnf-rating, .nnf-rating > a { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; color: inherit; text-decoration: none; }
.nnf-rating__stars { position: relative; display: inline-block; line-height: 1; letter-spacing: 2px; color: color-mix(in srgb, currentColor 18%, transparent); }
.nnf-rating__stars::before { content: "★★★★★"; position: absolute; inset: 0; width: var(--nnf-rating, 100%); overflow: hidden; color: var(--nnf-star, #f5a623); white-space: nowrap; }
.nnf-rating strong { font-size: 1.1em; color: var(--nnf-heading); }
.nnf-rating__label { opacity: .75; }
.nnf-marquee { overflow: hidden; font-size: 40px; font-weight: 500; white-space: nowrap; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.nnf-marquee__track { display: inline-flex; animation: nnf-marquee 30s linear infinite; }
.nnf-marquee--right .nnf-marquee__track { animation-direction: reverse; }
.nnf-marquee__track > div { display: inline-flex; gap: .7em; padding-right: .7em; }
.nnf-marquee__sep { opacity: .4; }
.nnf-marquee:hover .nnf-marquee__track { animation-play-state: paused; }
@keyframes nnf-marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .nnf-marquee__track { animation: none; } }
.nnf-ba { position: relative; overflow: hidden; line-height: 0; user-select: none; }
.nnf-ba__img { width: 100%; height: auto; display: block; }
.nnf-ba__before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos, 50%)) 0 0); }
.nnf-ba__before img { width: 100%; height: 100%; object-fit: cover; }
.nnf-ba__handle { position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 2px; background: #fff; transform: translateX(-1px); box-shadow: 0 0 8px rgba(0,0,0,.3); pointer-events: none; }
.nnf-ba__handle::after { content: "↔"; position: absolute; top: 50%; left: 50%; width: 40px; height: 40px; transform: translate(-50%, -50%); border-radius: 50%; background: #fff; color: #111; display: grid; place-items: center; font-size: 16px; line-height: 1; box-shadow: 0 2px 10px rgba(0,0,0,.25); }
.nnf-ba__range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.nnf-ba__tag { position: absolute; top: 14px; padding: 4px 10px; border-radius: 999px; background: rgba(0,0,0,.55); color: #fff; font-size: 12px; line-height: 1.4; pointer-events: none; }
.nnf-ba__tag--b { left: 14px; } .nnf-ba__tag--a { right: 14px; }
.nnf-embed { width: 100%; }
.nnf-embed iframe { width: 100%; max-width: 100%; border: 0; border-radius: 12px; }
.nnf-embed iframe[src*="youtube"], .nnf-embed iframe[src*="vimeo"] { aspect-ratio: 16 / 9; height: auto; }
.nnf-audio { display: flex; gap: 18px; align-items: center; }
.nnf-audio--card { padding: 16px; border-radius: 16px; background: var(--nnf-light, #f4f3ef); }
.nnf-audio__cover { width: 84px; height: 84px; object-fit: cover; border-radius: 10px; flex: none; }
.nnf-audio__main { flex: 1; min-width: 0; display: grid; gap: 8px; }
.nnf-audio__meta strong { display: block; color: var(--nnf-heading); }
.nnf-audio__meta span { opacity: .7; font-size: .92rem; }
.nnf-audio audio { width: 100%; }
.nnf-signup { max-width: 560px; margin: var(--nnf-signup-m, 0); }
.nnf-signup__title { font-size: 1.4rem; margin: 0 0 6px; }
.nnf-signup__text { margin: 0 0 16px; opacity: .8; }
.nnf-signup__form { display: flex; gap: 8px; flex-wrap: wrap; }
.nnf-signup__form input { flex: 1 1 200px; padding: 12px 16px; border: 1px solid color-mix(in srgb, currentColor 22%, transparent); border-radius: var(--nnf-radius-sm, 10px); font: inherit; background: transparent; color: inherit; min-width: 0; }
.nnf-signup--stacked .nnf-signup__form { flex-direction: column; }
.nnf-search { display: flex; align-items: center; gap: 8px; padding: 6px 6px 6px 16px; border: 1px solid color-mix(in srgb, currentColor 22%, transparent); border-radius: 999px; }
.nnf-search__icon { line-height: 0; opacity: .6; }
.nnf-search input { flex: 1; border: 0; background: transparent; padding: 8px 4px; font: inherit; color: inherit; outline: none; min-width: 0; }
.nnf-search .nnf-btn { padding-block: 8px; }

/* ---------- Restaurant menu ---------- */
.nnf-fm { --nnf-fm-accent: #b5562f; }
.nnf-fm__tabs { position: sticky; top: var(--nnf-sticky-top, 70px); z-index: 5; display: flex; gap: 6px; overflow-x: auto; padding: 10px 0; margin-bottom: 8px; background: inherit; scrollbar-width: none; }
.nnf-fm__tabs::-webkit-scrollbar { display: none; }
.nnf-fm__tab { flex: none; padding: 8px 16px; border: 1px solid color-mix(in srgb, currentColor 18%, transparent); border-radius: 999px; background: transparent; color: inherit; font: inherit; font-size: .95rem; cursor: pointer; }
.nnf-fm__tab.is-on { background: currentColor; }
.nnf-fm__tab.is-on { background: var(--nnf-fm-accent); border-color: var(--nnf-fm-accent); color: #fff; }
.nnf-fm__sec { scroll-margin-top: 140px; }
.nnf-fm__sec + .nnf-fm__sec { margin-top: 2.2em; }
.nnf-fm__h { margin: 0 0 .9em; padding-bottom: .4em; border-bottom: 1px solid color-mix(in srgb, currentColor 15%, transparent); font-size: 1.45em; letter-spacing: -.01em; }
.nnf-fm__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.1em 2.5em; }
.nnf-fm--two .nnf-fm__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.nnf-fm__item { display: flex; gap: 16px; }
.nnf-fm__txt { flex: 1; min-width: 0; }
.nnf-fm__row { display: flex; align-items: baseline; gap: 8px; }
.nnf-fm__name { font-weight: 600; font-size: 1.05em; }
.nnf-fm__dots { flex: 1; min-width: 20px; }
.nnf-fm--dots .nnf-fm__dots { border-bottom: 2px dotted color-mix(in srgb, currentColor 30%, transparent); transform: translateY(-4px); }
.nnf-fm__price { font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.nnf-fm__desc { margin: .25em 0 0; opacity: .72; font-size: .95em; line-height: 1.5; }
.nnf-fm__diets { display: inline-flex; gap: 4px; }
.nnf-fm__diet { display: inline-grid; place-items: center; min-width: 22px; height: 20px; padding: 0 5px; border-radius: 5px; border: 1px solid color-mix(in srgb, currentColor 25%, transparent); font-size: 10.5px; font-weight: 700; letter-spacing: .02em; text-decoration: none; cursor: help; }
.nnf-fm__diet--vg, .nnf-fm__diet--v { color: #2f7d46; border-color: #9fcfac; }
.nnf-fm__diet--gf, .nnf-fm__diet--df { color: #8a5a00; border-color: #e5c98a; }
.nnf-fm__diet--n { color: #8c3b2a; border-color: #e4b2a6; }
.nnf-fm__diet--spicy { border-color: transparent; font-size: 13px; }
.nnf-fm__pick { display: inline-block; margin-top: .3em; padding: 2px 9px; border-radius: 999px; background: var(--nnf-fm-accent); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; }
.nnf-fm__item.is-pick .nnf-fm__name { color: var(--nnf-fm-accent); }
.nnf-fm--photos .nnf-fm__list { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; }
.nnf-fm--photos .nnf-fm__item { flex-direction: column; gap: 12px; padding-bottom: 6px; }
.nnf-fm__photo { aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; background: color-mix(in srgb, currentColor 6%, transparent); }
.nnf-fm__photo img, .nnf-fm__photo .nnf-ph-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nnf-fm__legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 2em 0 0; font-size: .85em; opacity: .8; }
.nnf-fm__legend span { display: inline-flex; align-items: center; gap: 6px; }
.nnf-fm__note { margin: .8em 0 0; font-size: .88em; opacity: .65; font-style: italic; }
@media (max-width: 760px) { .nnf-fm--two .nnf-fm__list { grid-template-columns: 1fr; } }

/* ---------- Featured dish ---------- */
.nnf-dish { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border-radius: 20px; overflow: hidden; }
.nnf-dish--right .nnf-dish__media { order: 2; }
.nnf-dish--top { grid-template-columns: 1fr; }
.nnf-dish__media { min-height: 280px; }
.nnf-dish__media img, .nnf-dish__media .nnf-ph-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nnf-dish--top .nnf-dish__media { aspect-ratio: 16 / 9; min-height: 0; }
.nnf-dish__body { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 12px; padding: clamp(24px, 4vw, 48px); }
.nnf-dish__badge { padding: 4px 12px; border-radius: 999px; color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.nnf-dish__name { margin: 0; font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1.1; }
.nnf-dish__desc { margin: 0; opacity: .75; line-height: 1.6; }
.nnf-dish__foot { display: flex; align-items: center; gap: 12px; }
.nnf-dish__price { font-size: 1.5rem; font-weight: 600; }
.nnf-dish__btn { margin-top: 6px; }
@media (max-width: 760px) { .nnf-dish { grid-template-columns: 1fr; } .nnf-dish--right .nnf-dish__media { order: 0; } }

/* ---------- Reservations ---------- */
.nnf-rsv { padding: clamp(22px, 4vw, 40px); border-radius: 20px; }
.nnf-rsv__title { margin: 0 0 .3em; }
.nnf-rsv__text { margin: 0 0 1.2em; opacity: .75; }
.nnf-rsv__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-bottom: 18px; }
.nnf-rsv__grid label { display: grid; gap: 6px; font-size: .88rem; font-weight: 600; }
.nnf-rsv__grid input, .nnf-rsv__grid select, .nnf-rsv__grid textarea { width: 100%; padding: 11px 12px; border: 1px solid color-mix(in srgb, currentColor 22%, transparent); border-radius: 10px; background: #fff; color: #111; font: inherit; font-weight: 400; }
.nnf-rsv__wide { grid-column: 1 / -1; }
@media (max-width: 760px) { .nnf-rsv__grid { grid-template-columns: 1fr 1fr; } .nnf-rsv__grid label:nth-child(n+3) { grid-column: 1 / -1; } }

/* ---------- Order online ---------- */
.nnf-order__title { margin: 0 0 .7em; }
.nnf-order__btns { display: flex; flex-wrap: wrap; gap: 10px; }
.nnf-order--center { text-align: center; } .nnf-order--center .nnf-order__btns { justify-content: center; }
.nnf-order--right { text-align: right; } .nnf-order--right .nnf-order__btns { justify-content: flex-end; }

/* ---------- Playlist ---------- */
.nnf-pl { --nnf-pl-accent: #d8c3a5; border-radius: 20px; overflow: hidden; background: var(--nnf-light, #f4f3ef); color: inherit; }
.nnf-pl--dark { background: #141416; color: #fff; }
.nnf-pl__head { display: flex; gap: 20px; align-items: center; padding: 22px; }
.nnf-pl__cover { width: 120px; height: 120px; flex: none; border-radius: 12px; object-fit: cover; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.nnf-pl__info { flex: 1; min-width: 0; display: grid; gap: 4px; }
.nnf-pl__title { font-size: 1.3rem; letter-spacing: -.01em; }
.nnf-pl__info > span { opacity: .65; }
.nnf-pl__ctrl { display: flex; align-items: center; gap: 14px; margin-top: 10px; }
.nnf-pl__play, .nnf-pod__play { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 50%; background: var(--nnf-pl-accent); color: #111; cursor: pointer; transition: transform .15s; }
.nnf-pl__play:hover, .nnf-pod__play:hover { transform: scale(1.06); }
.nnf-pl .i-pause, .nnf-pod .i-pause { display: none; }
.nnf-pl.is-playing .nnf-pl__play .i-play, .nnf-pod__ep.is-playing .i-play { display: none; }
.nnf-pl.is-playing .nnf-pl__play .i-pause, .nnf-pod__ep.is-playing .i-pause { display: inline; }
.nnf-pl__bar, .nnf-pod__bar { position: relative; flex: 1; height: 6px; border-radius: 3px; background: color-mix(in srgb, currentColor 18%, transparent); cursor: pointer; }
.nnf-pl__bar i, .nnf-pod__bar i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: 3px; background: var(--nnf-pl-accent); }
.nnf-pl__time { min-width: 42px; font-size: .85rem; opacity: .7; font-variant-numeric: tabular-nums; }
.nnf-pl__list { list-style: none; margin: 0; padding: 0 10px 12px; }
.nnf-pl__track { display: flex; align-items: center; gap: 14px; width: 100%; padding: 11px 12px; border: 0; border-radius: 10px; background: transparent; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.nnf-pl__track:hover { background: color-mix(in srgb, currentColor 7%, transparent); }
.nnf-pl__track.is-on { background: color-mix(in srgb, currentColor 10%, transparent); }
.nnf-pl__track.is-on .nnf-pl__n { color: var(--nnf-pl-accent); }
.nnf-pl__n { width: 18px; opacity: .6; font-variant-numeric: tabular-nums; }
.nnf-pl__t { flex: 1; min-width: 0; display: grid; }
.nnf-pl__t em { font-style: normal; opacity: .6; font-size: .85rem; }
.nnf-pl__d { opacity: .55; font-size: .85rem; font-variant-numeric: tabular-nums; }
.nnf-pl__buy { display: block; padding: 14px 22px; border-top: 1px solid color-mix(in srgb, currentColor 12%, transparent); color: inherit; font-weight: 600; text-decoration: none; }
@media (max-width: 560px) { .nnf-pl__head { flex-direction: column; align-items: flex-start; } .nnf-pl__cover { width: 100%; height: auto; aspect-ratio: 1; } }

/* ---------- Podcast ---------- */
.nnf-pod { --nnf-pl-accent: #111; }
.nnf-pod__head { display: flex; gap: 24px; align-items: flex-start; margin-bottom: 22px; }
.nnf-pod__art { width: 160px; height: 160px; flex: none; border-radius: 16px; object-fit: cover; box-shadow: 0 14px 34px rgba(0,0,0,.18); }
.nnf-pod__kicker { font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; opacity: .6; }
.nnf-pod__title { margin: .2em 0 .15em; font-size: clamp(1.5rem, 3vw, 2.1rem); line-height: 1.1; }
.nnf-pod__by { margin: 0 0 .5em; opacity: .7; font-weight: 600; }
.nnf-pod__desc { margin: 0 0 1em; opacity: .75; line-height: 1.55; }
.nnf-pod__apps { display: flex; flex-wrap: wrap; gap: 8px; }
.nnf-pod__app { padding: 8px 14px; border-radius: 999px; border: 1px solid color-mix(in srgb, currentColor 22%, transparent); color: inherit; font-size: .9rem; font-weight: 600; text-decoration: none; }
.nnf-pod__app:hover { border-color: currentColor; }
.nnf-pod__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid color-mix(in srgb, currentColor 12%, transparent); }
.nnf-pod__ep { display: flex; gap: 16px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid color-mix(in srgb, currentColor 12%, transparent); }
.nnf-pod__play { width: 44px; height: 44px; color: #fff; }
.nnf-pod__txt { flex: 1; min-width: 0; display: grid; gap: 3px; }
.nnf-pod__txt strong { font-size: 1.05rem; }
.nnf-pod__meta { font-size: .85rem; opacity: .6; }
.nnf-pod__txt p { margin: .3em 0 0; opacity: .75; font-size: .95rem; line-height: 1.5; }
.nnf-pod__bar { margin-top: 10px; }
.nnf-pod__bar[hidden] { display: none; }
.nnf-pod__ep.is-on strong { color: var(--nnf-pl-accent); }
@media (max-width: 560px) { .nnf-pod__head { flex-direction: column; } .nnf-pod__art { width: 120px; height: 120px; } }

/* ---------- Service players ---------- */
.nnf-music iframe { width: 100%; }

/* ---------- News feed ---------- */
.nnf-news__h { margin: 0 0 .8em; }
.nnf-news__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 24px; }
.nnf-news__item a { display: flex; flex-direction: column; gap: 12px; height: 100%; color: inherit; text-decoration: none; }
.nnf-news__img { display: block; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 12px; background: color-mix(in srgb, currentColor 6%, transparent); }
.nnf-news__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.nnf-news__item a:hover .nnf-news__img img { transform: scale(1.04); }
.nnf-news__txt { display: grid; gap: 6px; }
.nnf-news__meta { font-size: .8rem; font-weight: 600; letter-spacing: .02em; opacity: .6; }
.nnf-news__title { font-size: 1.08rem; line-height: 1.35; }
.nnf-news__item a:hover .nnf-news__title { text-decoration: underline; text-underline-offset: 3px; }
.nnf-news__ex { opacity: .72; font-size: .94rem; line-height: 1.5; }
.nnf-news--cards .nnf-news__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.nnf-news--list .nnf-news__item a { flex-direction: row; align-items: flex-start; gap: 18px; }
.nnf-news--list .nnf-news__img { flex: none; width: 180px; }
.nnf-news--list .nnf-news__item + .nnf-news__item { padding-top: 24px; border-top: 1px solid color-mix(in srgb, currentColor 12%, transparent); }
.nnf-news--headlines .nnf-news__list { gap: 0; }
.nnf-news--headlines .nnf-news__item a { padding: 14px 0; border-bottom: 1px solid color-mix(in srgb, currentColor 12%, transparent); gap: 4px; }
.nnf-news--headlines .nnf-news__txt { gap: 3px; }
.nnf-news--headlines .nnf-news__title { font-size: 1rem; font-weight: 600; }
.nnf-news__more { display: inline-block; margin-top: 20px; font-weight: 600; color: inherit; }
@media (max-width: 900px) { .nnf-news--cards .nnf-news__list { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }
@media (max-width: 600px) { .nnf-news--cards .nnf-news__list { grid-template-columns: 1fr !important; } .nnf-news--list .nnf-news__img { width: 110px; } }
.nnf-news__img.is-blank { display: grid; place-items: center; background: linear-gradient(135deg, color-mix(in srgb, currentColor 6%, transparent), color-mix(in srgb, currentColor 14%, transparent)); }
.nnf-news__img.is-blank em { font-style: normal; font-weight: 700; font-size: 1.05rem; letter-spacing: -.01em; opacity: .55; padding: 0 16px; text-align: center; }
.nnf-news--cards .nnf-news__title, .nnf-news--list .nnf-news__title { font-weight: 600; }

/* ---------- Portfolio ---------- */
.nnf-pf { --gap: 10px; }
.nnf-pf__filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0 0 28px; }
.nnf-pf__filters button { padding: 8px 18px; border: 1px solid currentColor; border-radius: 999px; background: transparent; color: inherit; font: inherit; font-size: 14px; letter-spacing: .02em; cursor: pointer; opacity: .55; transition: opacity .2s, background .2s, color .2s; }
.nnf-pf__filters button:hover { opacity: 1; }
.nnf-pf__filters button.is-on { opacity: 1; background: var(--nnf-text, #111); border-color: var(--nnf-text, #111); color: var(--nnf-bg, #fff); }
.nnf-pf__item { position: relative; display: block; overflow: hidden; color: inherit; text-decoration: none; transition: opacity .35s ease; }
.nnf-pf__item.is-out { display: none !important; }
.nnf-pf__item.is-in { animation: nnf-pf-in .45s ease both; }
@keyframes nnf-pf-in { from { opacity: 0; transform: scale(.98); } to { opacity: 1; transform: none; } }
.nnf-pf__img { display: block; width: 100%; height: auto; transition: transform .9s cubic-bezier(.2,.7,.2,1); }
.nnf-pf--hover-zoom a.nnf-pf__item:hover .nnf-pf__img { transform: scale(1.045); }
.nnf-pf--hover-dim .nnf-pf__grid:hover .nnf-pf__item:not(:hover) { opacity: .4; }
/* masonry */
.nnf-pf--masonry .nnf-pf__grid { column-count: 3; column-gap: var(--gap); }
.nnf-pf--masonry .nnf-pf__item { display: inline-block; width: 100%; margin: 0 0 var(--gap); break-inside: avoid; vertical-align: top; }
/* justified rows */
.nnf-pf--justified .nnf-pf__grid { --rh: 300px; display: flex; flex-wrap: wrap; gap: var(--gap); }
.nnf-pf--justified .nnf-pf__grid::after { content: ""; flex-grow: 999999; }
.nnf-pf--justified .nnf-pf__item { flex: var(--g) 1 calc(var(--rh) * var(--r)); }
.nnf-pf--justified .nnf-pf__img { aspect-ratio: var(--r); height: auto; object-fit: cover; }
/* even grid */
.nnf-pf--grid .nnf-pf__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.nnf-pf--grid .nnf-pf__img { height: 100%; object-fit: cover; aspect-ratio: 1/1; }
/* captions */
.nnf-pf__cap { display: block; font-size: 13px; letter-spacing: .02em; }
.nnf-pf--cap-hover .nnf-pf__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 14px; background: linear-gradient(transparent, rgba(0,0,0,.6)); color: #fff; opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s; pointer-events: none; }
.nnf-pf--cap-hover .nnf-pf__item:hover .nnf-pf__cap, .nnf-pf--cap-hover .nnf-pf__item:focus-visible .nnf-pf__cap { opacity: 1; transform: none; }
.nnf-pf--cap-below .nnf-pf__cap { padding: 8px 2px 2px; opacity: .75; }
.nnf-pf--cap-below.nnf-pf--justified .nnf-pf__item, .nnf-pf--cap-below.nnf-pf--grid .nnf-pf__item { overflow: visible; }
.nnf-pf__hint { margin: 10px 0 0; font-size: 12px; opacity: .6; text-align: center; }
@media (hover: none) { .nnf-pf--cap-hover .nnf-pf__cap { opacity: 1; transform: none; padding-top: 28px; } }

/* ---------- Albums ---------- */
.nnf-alb { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.nnf-alb__link { display: block; color: inherit; text-decoration: none; }
.nnf-alb__cover { position: relative; display: block; overflow: hidden; aspect-ratio: 4/5; background: rgba(127,127,127,.12); }
.nnf-alb__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s cubic-bezier(.2,.7,.2,1); }
a.nnf-alb__link:hover .nnf-alb__img { transform: scale(1.05); }
.nnf-alb__badge { position: absolute; top: 12px; right: 12px; display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px; border-radius: 999px; background: rgba(0,0,0,.5); color: #fff; font-size: 12px; backdrop-filter: blur(6px); }
.nnf-alb__text { display: grid; gap: 3px; }
.nnf-alb--below .nnf-alb__text { padding-top: 14px; }
.nnf-alb__title { font-family: var(--nnf-font-heading, inherit); font-size: 20px; font-weight: 500; line-height: 1.25; }
.nnf-alb__sub { font-size: 13px; opacity: .65; letter-spacing: .02em; }
.nnf-alb--over .nnf-alb__link { position: relative; }
.nnf-alb--over .nnf-alb__text { position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 20px 20px; background: linear-gradient(transparent, rgba(0,0,0,.65)); color: #fff; }
.nnf-alb--over .nnf-alb__sub { opacity: .85; }

/* Lightbox extras */
.nnf-lightbox figure { margin: 0; display: grid; justify-items: center; gap: 14px; max-width: 100%; max-height: 100%; }
.nnf-lightbox figure img { max-height: calc(100vh - 140px); }
.nnf-lightbox figcaption { color: rgba(255,255,255,.85); font-size: 14px; text-align: center; max-width: 720px; }
.nnf-lightbox .nnf-lb-count { position: absolute; top: 22px; left: 26px; color: rgba(255,255,255,.7); font-size: 13px; letter-spacing: .08em; font-variant-numeric: tabular-nums; }
.nnf-lightbox .nnf-lb-close { position: absolute; top: 14px; right: 16px; margin: 0; width: 44px; height: 44px; font-size: 26px; }
@media (max-width: 600px) { .nnf-lightbox { padding: 12px; } .nnf-lightbox .nnf-lb-prev, .nnf-lightbox .nnf-lb-next { top: auto; bottom: 18px; margin: 0; } }

/* ---------- Music: shows ---------- */
.nnf-shows { list-style: none; margin: 0; padding: 0; }
.nnf-show { display: grid; grid-template-columns: 92px minmax(0, 1fr) auto; align-items: center; gap: 22px; padding: 20px 0; border-bottom: 1px solid rgba(127,127,127,.22); }
.nnf-shows--list .nnf-show:first-child { border-top: 1px solid rgba(127,127,127,.22); }
.nnf-show__date { display: grid; justify-items: start; line-height: 1; text-transform: uppercase; letter-spacing: .06em; color: var(--nnf-accent, inherit); }
.nnf-show__dow { font-size: 11px; opacity: .7; }
.nnf-show__day { font-family: var(--nnf-font-heading, inherit); font-size: 38px; font-weight: 600; letter-spacing: -.02em; margin: 3px 0; }
.nnf-show__mon { font-size: 12px; font-weight: 600; }
.nnf-show__info { display: grid; gap: 3px; min-width: 0; }
.nnf-show__venue { font-size: 18px; font-weight: 600; }
.nnf-show__city { opacity: .8; }
.nnf-show__meta { font-size: 13px; opacity: .6; }
.nnf-show__act { display: flex; align-items: center; gap: 12px; justify-content: flex-end; }
.nnf-show__tag { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: rgba(127,127,127,.14); white-space: nowrap; }
.nnf-show__tag--few { background: #fff1d6; color: #8a5a00; }
.nnf-show__tag--free { background: #e3f6ea; color: #14783b; }
.nnf-show__tag--soldout, .nnf-show__tag--cancelled { background: transparent; border: 1px solid currentColor; opacity: .6; }
.nnf-show.is-cancelled .nnf-show__venue, .nnf-show.is-cancelled .nnf-show__city { text-decoration: line-through; opacity: .5; }
.nnf-shows--cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; }
.nnf-shows--cards .nnf-show { grid-template-columns: 1fr; align-items: start; gap: 14px; padding: 22px; border: 1px solid rgba(127,127,127,.22); border-radius: 14px; }
.nnf-shows--cards .nnf-show__act { justify-content: flex-start; }
.nnf-shows__empty { padding: 28px 0; opacity: .7; text-align: center; }
@media (max-width: 640px) {
	.nnf-shows--list .nnf-show { grid-template-columns: 64px minmax(0, 1fr); gap: 14px; }
	.nnf-shows--list .nnf-show__act { grid-column: 2; justify-content: flex-start; }
	.nnf-show__day { font-size: 30px; }
}

/* ---------- Music: featured release ---------- */
.nnf-rel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.nnf-rel--right .nnf-rel__art { order: 2; }
.nnf-rel__art { position: relative; }
.nnf-rel.has-vinyl .nnf-rel__art { padding-right: 18%; }
.nnf-rel--right.has-vinyl .nnf-rel__art { padding-right: 0; padding-left: 18%; }
.nnf-rel__cover { position: relative; z-index: 1; aspect-ratio: 1; overflow: hidden; box-shadow: 0 24px 60px rgba(0,0,0,.28); }
.nnf-rel__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nnf-rel__vinyl { position: absolute; top: 4%; bottom: 4%; right: 0; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, #d8b35a 0 9%, #111 9.5% 11%, #1a1a1a 11.5% 100%), repeating-radial-gradient(circle, #222 0 1px, #111 1px 3px); background-blend-mode: normal; box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.nnf-rel__vinyl::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: repeating-radial-gradient(circle at center, transparent 0 2px, rgba(255,255,255,.035) 2px 3px), conic-gradient(from 30deg, transparent 0 40deg, rgba(255,255,255,.08) 60deg, transparent 90deg 220deg, rgba(255,255,255,.06) 240deg, transparent 270deg); }
.nnf-rel--right .nnf-rel__vinyl { right: auto; left: 0; }
.nnf-rel:hover .nnf-rel__vinyl, .nnf-rel.is-playing .nnf-rel__vinyl { transform: translateX(8%) rotate(40deg); }
.nnf-rel--right:hover .nnf-rel__vinyl, .nnf-rel--right.is-playing .nnf-rel__vinyl { transform: translateX(-8%) rotate(-40deg); }
.nnf-rel.is-playing .nnf-rel__vinyl { animation: nnf-spin 2.4s linear infinite; }
@keyframes nnf-spin { from { transform: translateX(8%) rotate(0); } to { transform: translateX(8%) rotate(360deg); } }
.nnf-rel__play { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(255,255,255,.92); color: #111; cursor: pointer; box-shadow: 0 8px 24px rgba(0,0,0,.25); transition: transform .2s; }
.nnf-rel__play:hover { transform: scale(1.06); }
.nnf-rel__play .i-pause, .nnf-rel.is-playing .nnf-rel__play .i-play { display: none; }
.nnf-rel.is-playing .nnf-rel__play .i-pause { display: block; }
.nnf-rel__body { display: grid; gap: 12px; justify-items: start; }
.nnf-rel__kicker { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; opacity: .7; }
.nnf-rel__title { margin: 0; font-size: clamp(36px, 5vw, 64px); line-height: 1.02; }
.nnf-rel__artist { font-size: 18px; opacity: .75; }
.nnf-rel__text { margin: 4px 0 8px; max-width: 46ch; opacity: .85; }
.nnf-rel__hint { font-size: 13px; opacity: .6; }
@media (max-width: 767px) { .nnf-rel { grid-template-columns: 1fr; } .nnf-rel--right .nnf-rel__art { order: 0; } }

/* ---------- Music: listen links ---------- */
.nnf-mu-links { display: flex; flex-wrap: wrap; gap: 10px; }
.nnf-mu-links--rows { display: grid; gap: 10px; width: 100%; }
.nnf-mu-link { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px 10px 10px; border: 1px solid rgba(127,127,127,.3); border-radius: 999px; color: inherit; text-decoration: none; font-weight: 500; font-size: 15px; transition: border-color .2s, transform .2s, background .2s; }
.nnf-mu-link:hover { border-color: currentColor; transform: translateY(-1px); }
.nnf-mu-link__dot { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--c); color: #fff; flex: none; }
.nnf-mu-link--row { display: flex; padding: 12px 14px 12px 12px; border-radius: 12px; }
.nnf-mu-link--row .nnf-mu-link__name { flex: 1; }
.nnf-mu-link__cta { font-size: 13px; font-weight: 600; padding: 6px 14px; border-radius: 999px; border: 1px solid currentColor; opacity: .75; }
.nnf-mu-link--row:hover .nnf-mu-link__cta { opacity: 1; background: var(--nnf-text, #111); color: var(--nnf-bg, #fff); border-color: transparent; }

/* ---------- Music: discography ---------- */
.nnf-disc { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.nnf-disc__item { display: grid; gap: 4px; color: inherit; text-decoration: none; }
.nnf-disc__cover { display: block; aspect-ratio: 1; overflow: hidden; margin-bottom: 8px; box-shadow: 0 10px 28px rgba(0,0,0,.14); }
.nnf-disc__img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
a.nnf-disc__item:hover .nnf-disc__img { transform: scale(1.05); }
.nnf-disc__title { font-weight: 600; }
.nnf-disc__meta { font-size: 13px; opacity: .6; }
.nnf-disc__cover .nnf-disc__img, .nnf-rel__cover .nnf-rel__img, .nnf-alb__cover .nnf-alb__img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Business portfolio: projects ---------- */
.nnf-projs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.nnf-proj { display: flex; flex-direction: column; gap: 16px; color: inherit; text-decoration: none; overflow: visible; }
.nnf-proj__media { position: relative; display: block; overflow: hidden; aspect-ratio: 4/3; background: rgba(127,127,127,.12); }
.nnf-proj__media .nnf-proj__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s cubic-bezier(.2,.7,.2,1); }
a.nnf-proj:hover .nnf-proj__img { transform: scale(1.04); }
.nnf-proj__body { display: grid; gap: 6px; }
.nnf-proj__meta { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; opacity: .7; }
.nnf-proj__cats { font-weight: 500; opacity: .8; }
.nnf-proj__title { font-family: var(--nnf-font-heading, inherit); font-size: 22px; font-weight: 600; line-height: 1.25; }
.nnf-proj__sum { opacity: .8; }
.nnf-proj__res { font-size: 18px; font-weight: 700; color: var(--nnf-accent, inherit); }
.nnf-proj__more { font-size: 14px; font-weight: 600; margin-top: 4px; }
a.nnf-proj:hover .nnf-proj__more span { display: inline-block; transform: translateX(4px); transition: transform .2s; }
/* overlay */
.nnf-projs--overlay .nnf-proj { position: relative; overflow: hidden; gap: 0; }
.nnf-projs--overlay .nnf-proj__body { position: absolute; inset: auto 0 0 0; padding: 70px 22px 22px; background: linear-gradient(transparent, rgba(0,0,0,.72)); color: #fff; }
.nnf-projs--overlay .nnf-proj__media { border-radius: 0 !important; }
.nnf-projs--overlay .nnf-proj__sum { display: none; }
/* big alternating rows */
.nnf-projs--rows { grid-template-columns: 1fr; gap: 72px; }
.nnf-projs--rows .nnf-proj { display: grid; grid-template-columns: 1.25fr 1fr; align-items: center; gap: clamp(24px, 5vw, 64px); }
.nnf-projs--rows .nnf-proj:nth-child(even) .nnf-proj__media { order: 2; }
.nnf-projs--rows .nnf-proj__title { font-size: clamp(26px, 3vw, 36px); }
.nnf-projs--rows .nnf-proj__res { font-size: 26px; }
@media (max-width: 767px) { .nnf-projs--rows .nnf-proj { grid-template-columns: 1fr; } .nnf-projs--rows .nnf-proj:nth-child(even) .nnf-proj__media { order: 0; } .nnf-projs--rows { gap: 48px; } }

/* ---------- Case study ---------- */
.nnf-cs { display: grid; gap: 36px; }
.nnf-cs__head { display: grid; gap: 10px; max-width: 860px; }
.nnf-cs__kicker { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; opacity: .65; }
.nnf-cs__title { margin: 0; font-size: clamp(32px, 4.4vw, 54px); line-height: 1.08; }
.nnf-cs__media { overflow: hidden; aspect-ratio: 16/8; }
.nnf-cs__media .nnf-cs__img { width: 100%; height: 100%; object-fit: cover; }
.nnf-cs__stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 20px; padding: 28px 0; border-top: 1px solid rgba(127,127,127,.22); border-bottom: 1px solid rgba(127,127,127,.22); }
.nnf-cs__stat { display: grid; gap: 4px; }
.nnf-cs__stat strong { font-family: var(--nnf-font-heading, inherit); font-size: clamp(36px, 4.5vw, 56px); line-height: 1; letter-spacing: -.02em; color: var(--nnf-accent, inherit); }
.nnf-cs__stat span { opacity: .7; }
.nnf-cs__parts { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 64px); }
.nnf-cs__h { margin: 0 0 10px; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; opacity: .6; }
.nnf-cs__part p { margin: 0 0 12px; font-size: 18px; line-height: 1.6; }
.nnf-cs__quote { margin: 0; padding: 32px 36px; border-left: 3px solid var(--nnf-accent, currentColor); background: rgba(127,127,127,.07); border-radius: 0 14px 14px 0; }
.nnf-cs__quote p { margin: 0 0 12px; font-family: var(--nnf-font-heading, inherit); font-size: clamp(20px, 2.4vw, 28px); line-height: 1.35; }
.nnf-cs__quote cite { font-style: normal; font-size: 14px; opacity: .7; }
@media (max-width: 767px) { .nnf-cs__parts { grid-template-columns: 1fr; } .nnf-cs__media { aspect-ratio: 4/3; } }

/* ---------- Project details ---------- */
.nnf-pinfo dl { margin: 0; display: grid; }
.nnf-pinfo__row { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid rgba(127,127,127,.2); }
.nnf-pinfo__row:last-child { border-bottom: 0; }
.nnf-pinfo dt { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; opacity: .6; padding-top: 2px; }
.nnf-pinfo dd { margin: 0; font-weight: 500; }
.nnf-pinfo dd a { color: inherit; }
.nnf-pinfo--boxed { padding: 8px 24px 20px; border: 1px solid rgba(127,127,127,.25); border-radius: 14px; }
.nnf-pinfo__btn { margin-top: 14px; }

/* ---------- Awards ---------- */
.nnf-awards { list-style: none; margin: 0; padding: 0; }
.nnf-award { display: grid; grid-template-columns: 80px 1.4fr 1fr 1fr; gap: 16px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid rgba(127,127,127,.22); }
.nnf-award:first-child { border-top: 1px solid rgba(127,127,127,.22); }
.nnf-award__year { font-variant-numeric: tabular-nums; font-weight: 600; color: var(--nnf-accent, inherit); }
.nnf-award__name { font-size: 17px; }
.nnf-award__name a { color: inherit; }
.nnf-award__org, .nnf-award__proj { opacity: .7; }
@media (max-width: 767px) { .nnf-award { grid-template-columns: 56px 1fr; gap: 2px 12px; } .nnf-award__org, .nnf-award__proj { grid-column: 2; font-size: 14px; } }
