/* Névora keeps its own geometry; shared theme tokens only supply color/type roles. */
html[data-public-brand=nevora][data-luna-preset]{--paper:var(--luna-bg);--ink:var(--luna-ink);--line:var(--luna-line);--blue:var(--luna-accent);--lime:var(--luna-hero-button);--public-bg:var(--luna-bg);--public-surface:var(--luna-surface);--public-ink:var(--luna-ink);--public-muted:var(--luna-muted);--public-accent:var(--luna-accent);--public-contact:var(--luna-contact);--public-line:var(--luna-line)}
html[data-public-brand=nevora][data-luna-preset] :is(.hero,.hero-copy){background:var(--luna-hero);color:var(--luna-hero-ink)}
html[data-public-brand=nevora][data-luna-preset] .hero h1 em{color:var(--luna-hero-button)}
html[data-public-brand=nevora][data-luna-preset] :is(.hero .button.lime,.mobile-book){background:var(--luna-hero-button);color:var(--luna-hero-button-ink)}
html[data-public-brand=nevora][data-luna-preset] .ticker{background:var(--luna-values);color:var(--luna-values-ink)}
html[data-public-brand=nevora][data-luna-preset] .attitude{background:var(--luna-feature);color:var(--luna-feature-ink)}
html[data-public-brand=nevora][data-luna-preset] .attitude h2 em{color:var(--luna-feature-emphasis)}
html[data-public-brand=nevora][data-luna-preset=electric] .attitude{background:var(--luna-hero);color:var(--luna-hero-ink)}
html[data-public-brand=nevora][data-luna-preset] :is(.services,.gallery,.reviews){background:var(--luna-bg);color:var(--luna-ink)}
html[data-public-brand=nevora][data-luna-preset] .studio{background:var(--luna-contact);color:var(--luna-contact-ink)}
html[data-public-brand=nevora][data-luna-preset] .studio :is(p,dt,dd){color:inherit}
html[data-public-brand=nevora][data-luna-preset] .studio .button.lime{background:var(--luna-contact-button);color:var(--luna-contact-button-ink)}
html[data-public-brand=nevora][data-luna-preset] .button.blue{background:var(--luna-accent);color:var(--luna-on-accent)}
html[data-public-brand=nevora][data-luna-preset] .button.dark{background:var(--luna-ink);color:var(--luna-bg)}
html[data-public-brand=nevora][data-luna-preset] :is(.side-note,.service-intro>p,.service-row p,.service-price small,.gallery-caption p,.demo-chip,.price-note){color:var(--luna-muted)}
html[data-public-brand=nevora][data-luna-preset] .wordmark{font-family:var(--luna-type-heading);font-weight:var(--luna-brand-weight)}
html[data-public-brand=nevora][data-luna-preset=electric] .hero h1{letter-spacing:-.065em}
[data-public-brand=nevora] [data-luna-multiline]{white-space:pre-line}
[data-public-brand=nevora] :is(.hero-bottom p,.studio-intro,.values p,.gallery-caption p){white-space:pre-line}
[data-public-brand=nevora] .wordmark .luna-site-logo{display:inline-block;max-width:72px;max-height:52px;object-fit:contain;vertical-align:middle;margin-inline-end:10px}
[data-public-brand=nevora] .luna-business-no-hero-image{grid-template-columns:1fr}
[data-public-brand=nevora] .nevora-comparison{display:flex}.nevora-comparison img{width:50%!important;min-width:0;object-fit:cover}
[data-public-brand=nevora] .luna-review-controls{display:flex;gap:12px;justify-content:center;margin-top:28px;flex-wrap:wrap}
[data-public-brand=nevora] .luna-review-controls button{border:1px solid var(--line);border-radius:30px;padding:12px 20px;background:var(--luna-surface);color:var(--ink)}
[data-public-brand=nevora] .luna-public-review-stars{color:var(--luna-accent);margin-bottom:12px;letter-spacing:.12em}
[data-public-brand=nevora] .luna-announcement{position:sticky;top:var(--luna-sticky-nav-height,0px);z-index:19;background:var(--luna-values);color:var(--luna-values-ink);padding:12px var(--pad);margin:0;white-space:pre-line;text-align:center;max-height:160px;overflow:auto}
[data-public-brand=nevora] .luna-closed-badge{display:inline-block;background:var(--luna-contact-button);color:var(--luna-contact-button-ink)!important;padding:6px 12px;border-radius:99px;margin-block:8px}
[data-public-brand=nevora] [hidden]{display:none!important}
[data-public-brand=nevora] .service-tabs{max-width:100%;overflow-x:auto;flex-wrap:nowrap;scrollbar-width:none}.service-tabs::-webkit-scrollbar{display:none}.service-tabs button{flex-shrink:0}
[data-public-brand=nevora] .service-row{min-width:0;gap:16px}.service-row h3,.service-row p{overflow-wrap:anywhere}.service-price{flex-shrink:0}
@media(max-width:600px){[data-public-brand=nevora] .wordmark .luna-site-logo{max-width:40px;height:38px}.luna-business-no-hero-image .hero-copy{padding-inline:var(--pad)}}

[data-public-brand=nevora] .image-stamp em{font:inherit;font-style:normal;color:var(--luna-hero-button)}
[data-public-brand=nevora] .nevora-authored-description{white-space:pre-line;max-width:65ch;margin-block:24px}
/* Responsive Névora welcome area: text and photo retain separate, flexible tracks. */
html[data-public-brand=nevora] .hero{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
html[data-public-brand=nevora] .hero-copy{min-inline-size:0;padding-inline-start:var(--pad);padding-inline-end:clamp(22px,3vw,50px)}
html[data-public-brand=nevora] .hero h1{inline-size:100%;max-inline-size:100%;margin-inline:0;font-size:clamp(56px,7.4vw,140px);overflow-wrap:anywhere;hyphens:manual}
html[data-public-brand=nevora] .hero-copy>.eyebrow{max-inline-size:100%;align-items:flex-start}
html[data-public-brand=nevora] .hero-copy>.eyebrow>span:last-child{min-inline-size:0;overflow-wrap:anywhere}
html[data-public-brand=nevora] .hero-bottom{inline-size:100%;padding-inline-end:0;flex-direction:row;flex-wrap:wrap;align-items:flex-end;gap:20px}
html[data-public-brand=nevora] .hero-bottom p{flex:1 1 12rem;min-inline-size:0;max-inline-size:28rem;overflow-wrap:anywhere}
html[data-public-brand=nevora] .hero-bottom .button{flex:0 1 auto;min-inline-size:0;max-inline-size:100%;white-space:normal;overflow-wrap:anywhere}
html[data-public-brand=nevora] .hero-visual{min-inline-size:0}
html[data-public-brand=nevora] .photo-label{flex-wrap:wrap;gap:8px 18px}
html[data-public-brand=nevora] .photo-label span{min-inline-size:0;max-inline-size:100%;overflow-wrap:anywhere}
html[data-public-brand=nevora] .image-stamp{max-inline-size:calc(100% - 56px);overflow-wrap:anywhere}
html[data-public-brand=nevora] .ticker{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr) auto;gap:12px 24px;padding:16px var(--pad);white-space:normal;overflow:visible;text-align:center}
html[data-public-brand=nevora] .ticker span{min-inline-size:0;white-space:normal;overflow-wrap:anywhere;line-height:1.5}
html[data-public-brand=nevora] .ticker b{justify-self:center;align-self:center}
html[data-public-brand=nevora] .ticker>:nth-child(n+5){display:none}
@media(max-width:900px){
 html[data-public-brand=nevora] .hero{display:flex;flex-direction:column;min-block-size:0}
 html[data-public-brand=nevora] .hero-copy{padding:32px var(--pad)}
 html[data-public-brand=nevora] .hero h1{font-size:clamp(52px,12.5vw,100px);margin-block:28px;line-height:1.02}
 html[data-public-brand=nevora] .hero-index{margin-block-start:24px}
 html[data-public-brand=nevora] .hero-visual{inline-size:100%;block-size:clamp(340px,70vw,560px);min-block-size:0}
 html[data-public-brand=nevora] .hero-visual>img{position:absolute;inset:0;inline-size:100%;block-size:100%;object-fit:cover;object-position:center}
}
@media(max-width:600px){
 html[data-public-brand=nevora] .hero h1{font-size:clamp(46px,13.2vw,76px)}
 html[data-public-brand=nevora] .hero-bottom{gap:18px}
 html[data-public-brand=nevora] .hero-bottom p{max-inline-size:100%;font-size:14px}
 html[data-public-brand=nevora] .hero-bottom .button{padding:12px 18px;min-block-size:48px;font-size:13px}
 html[data-public-brand=nevora] .ticker{grid-template-columns:minmax(0,1fr) auto;text-align:start;gap:10px 18px}
}
/* The independent gallery is an opt-in carousel; the Névora showcase above keeps its own grid. */
[data-public-brand=nevora] .luna-published-gallery{min-inline-size:0;max-inline-size:100%;background:var(--luna-bg);color:var(--luna-ink)}
[data-public-brand=nevora] .luna-published-gallery .section-heading{align-items:flex-end;margin-block-end:32px}
[data-public-brand=nevora] .luna-published-gallery .section-heading>p{max-inline-size:32ch;color:var(--luna-muted);white-space:pre-line}
[data-public-brand=nevora] .luna-published-gallery .eyebrow{margin-block-end:24px}
[data-public-brand=nevora] .luna-gallery-carousel{position:relative;min-inline-size:0;max-inline-size:100%}
[data-public-brand=nevora] .luna-gallery-grid{display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - 44px)/3);gap:22px;overflow-x:auto;overscroll-behavior-inline:contain;scroll-snap-type:inline mandatory;scrollbar-width:none;padding-block:4px 12px}
[data-public-brand=nevora] .luna-gallery-grid::-webkit-scrollbar{display:none}
[data-public-brand=nevora] .luna-gallery-grid[data-columns="1"]{grid-auto-columns:100%}
[data-public-brand=nevora] .luna-gallery-grid[data-columns="2"]{grid-auto-columns:calc((100% - 22px)/2)}
[data-public-brand=nevora] .luna-gallery-grid figure{margin:0;min-inline-size:0;scroll-snap-align:start;border:1px solid var(--luna-line);border-radius:18px;overflow:hidden;background:var(--luna-surface)}
[data-public-brand=nevora] .luna-gallery-grid figcaption{padding:18px 20px;white-space:pre-line;overflow-wrap:anywhere;color:var(--luna-ink)}
[data-public-brand=nevora] .luna-gallery-single{display:block}
[data-public-brand=nevora] .luna-gallery-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2px}
[data-public-brand=nevora] .luna-gallery-photo{display:block;inline-size:100%;position:relative;padding:0;border:0;background:var(--luna-soft);color:var(--luna-ink);aspect-ratio:4/3;overflow:hidden}
[data-public-brand=nevora] .luna-gallery-photo img{inline-size:100%;block-size:100%;object-fit:cover;transition:transform .2s}
[data-public-brand=nevora] .luna-gallery-photo:hover img{transform:scale(1.025)}
[data-public-brand=nevora] .luna-gallery-stage{position:absolute;inset-inline-start:10px;inset-block-end:10px;padding:5px 10px;border-radius:99px;background:var(--luna-accent);color:var(--luna-on-accent);font-size:12px}
[data-public-brand=nevora] .luna-gallery-arrow{position:absolute;inset-block-start:calc(50% - 22px);z-index:2;inline-size:44px;block-size:44px;border:1px solid var(--luna-line);border-radius:50%;display:grid;place-items:center;background:var(--luna-surface);color:var(--luna-ink);box-shadow:0 4px 18px #0002;font-size:32px;line-height:1}
[data-public-brand=nevora] [data-luna-gallery-prev]{inset-inline-start:8px}[data-public-brand=nevora] [data-luna-gallery-prev]::before{content:'‹'}
[data-public-brand=nevora] [data-luna-gallery-next]{inset-inline-end:8px}[data-public-brand=nevora] [data-luna-gallery-next]::before{content:'›'}
[dir=rtl][data-public-brand=nevora] [data-luna-gallery-prev]::before{content:'›'}[dir=rtl][data-public-brand=nevora] [data-luna-gallery-next]::before{content:'‹'}
[data-public-brand=nevora] .luna-gallery-lightbox{position:fixed;inline-size:min(900px,calc(100% - 32px));max-inline-size:calc(100% - 32px);max-block-size:calc(100dvh - 32px);overflow:auto;padding:24px;border:1px solid var(--luna-line);border-radius:18px;background:var(--luna-surface);color:var(--luna-ink)}
[data-public-brand=nevora] .luna-gallery-lightbox::backdrop{background:#000b}
[data-public-brand=nevora] .luna-gallery-lightbox>img{inline-size:100%;max-block-size:75dvh;object-fit:contain}
[data-public-brand=nevora] .luna-gallery-close{position:absolute;inset-inline-end:8px;inset-block-start:8px;inline-size:44px;block-size:44px;border:1px solid var(--luna-line);border-radius:50%;background:var(--luna-surface);color:var(--luna-ink);font-size:24px;z-index:1}
@media(max-width:900px){[data-public-brand=nevora] .luna-gallery-grid,[data-public-brand=nevora] .luna-gallery-grid[data-columns]{grid-auto-columns:100%}}
@media(prefers-reduced-motion:reduce){[data-public-brand=nevora] .luna-gallery-photo img{transition:none}}

/* A smaller showcase uses only its chosen photos; the native three-card stagger remains unchanged. */
[data-public-brand=nevora] .gallery-grid[data-count="1"]{grid-template-columns:minmax(0,1fr);max-inline-size:760px;margin-inline:auto}
[data-public-brand=nevora] .gallery-grid[data-count="1"] .gallery-photo{aspect-ratio:4/3}
[data-public-brand=nevora] .gallery-grid[data-count="2"]{grid-template-columns:repeat(2,minmax(0,1fr))}
[data-public-brand=nevora] .gallery-grid[data-count="2"] .gallery-card:nth-child(n){margin-block-start:0}
@media(max-width:700px){[data-public-brand=nevora] .gallery-grid[data-count="2"] .gallery-card{grid-column:auto}}

/* Seven localized section links retain a clear, touchable menu at intermediate widths. */
@media(min-width:701px){[data-public-brand=nevora] .header-book{display:inline-flex;min-inline-size:0;white-space:normal;overflow-wrap:anywhere}}
@media(max-width:1500px){
 [data-public-brand=nevora] .header .menu-toggle{display:block}
 [data-public-brand=nevora] .header .nav{display:none;position:absolute;inset:100% 0 auto;background:var(--paper);padding:12px var(--pad);border-block:1px solid var(--line);box-shadow:0 10px 20px #0002;max-block-size:calc(100dvh - 100px);overflow-y:auto}
 [data-public-brand=nevora] .header .nav.open{display:flex;flex-direction:column;align-items:stretch;gap:0;font-size:17px}
 [data-public-brand=nevora] .header .nav a{display:flex;align-items:center;min-block-size:44px;padding:10px 0}
}

/* Each image badge keeps its own logical corner when its sibling is empty. */
html[data-public-brand=nevora] .photo-label{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}
html[data-public-brand=nevora] .photo-label>span:first-child{grid-column:1;grid-row:1;justify-self:start}
html[data-public-brand=nevora] .photo-label>span:last-child{grid-column:2;grid-row:1;justify-self:end}
html[data-public-brand=nevora] .photo-label>span[hidden]{display:none!important}


/* Apply the same optional-feature rules to the original Névora stylesheet graph. */
/* Optional feature slots never leave an empty panel or an orphan separator. */
html[data-public-brand=nevora] [data-luna-feature-strip]{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;align-items:center}
html[data-public-brand=nevora] [data-luna-feature-strip][data-luna-feature-count="1"]{grid-template-columns:minmax(0,1fr)}
html[data-public-brand=nevora] [data-luna-feature-strip][data-luna-feature-count="2"]{grid-template-columns:repeat(2,minmax(0,1fr))}
html[data-public-brand=nevora] [data-luna-feature-strip]>[data-luna-feature-item]{position:relative;min-inline-size:0;max-inline-size:100%;text-align:center;overflow-wrap:anywhere;white-space:pre-line}
html[data-public-brand=nevora] [data-luna-feature-strip] [data-luna-feature-copy]{display:block;min-inline-size:0;max-inline-size:100%;overflow-wrap:anywhere}
html[data-public-brand=nevora] [data-luna-feature-strip] [data-luna-feature-separator]{position:absolute;inset-inline-end:-12px;top:50%;transform:translate(50%,-50%);font-style:normal}
html[data-public-brand=nevora][dir=rtl] [data-luna-feature-strip] [data-luna-feature-separator]{transform:translate(-50%,-50%)}
html[data-public-brand=nevora] [data-luna-feature-strip][hidden],html[data-public-brand=nevora] [data-luna-feature-strip] [hidden]{display:none!important}
@media(max-width:600px){html[data-public-brand=nevora] [data-luna-feature-strip]{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 24px}html[data-public-brand=nevora] [data-luna-feature-strip][data-luna-feature-count="3"]>[data-luna-feature-item]:nth-child(3){grid-column:1/-1}html[data-public-brand=nevora] [data-luna-feature-strip][data-luna-feature-count="3"]>[data-luna-feature-item]:nth-child(2) [data-luna-feature-separator]{display:none}}

/* Category navigation keeps one authored label and scrolls without a scrollbar. */
html[data-public-brand] :is(.price-tabs,.service-tabs){scrollbar-width:none;-ms-overflow-style:none;overscroll-behavior-inline:contain}
html[data-public-brand] :is(.price-tabs,.service-tabs)::-webkit-scrollbar{display:none;width:0;height:0}
html[data-public-brand] .service-tabs .sector-category-label{display:inline}
html[data-public-brand] .service-tabs .sector-category-label-short{display:none}

/* Business-local schedule status stays opposite its hours heading. */
html[data-public-brand] .luna-hours-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-block-end:10px;min-inline-size:0}
html[data-public-brand] .luna-hours-heading>h4{margin:0;min-inline-size:0;line-height:1.4}
html[data-public-brand] .luna-hours-heading>[data-luna-schedule-badge]{display:inline-flex;align-items:center;flex:none;max-inline-size:65%;margin:0;padding:5px 9px;border:1px solid transparent;border-radius:99px;font-size:.76rem;line-height:1.4;font-weight:600;white-space:normal;text-align:center;background:#e5f4e9;color:#1d633b!important}
html[data-public-brand] .luna-hours-heading>[data-luna-schedule-closed=true]{background:#fff0e9;color:#9b3d25!important}
html[data-public-brand][data-public-theme=dark] .luna-hours-heading>[data-luna-schedule-badge]{background:#173d2a;color:#9de3b6!important}
html[data-public-brand][data-public-theme=dark] .luna-hours-heading>[data-luna-schedule-closed=true]{background:#44281f;color:#ffbe9d!important}

/* Authored contact channels keep a compact layout even when every field is filled. */
html[data-public-brand] :is(.contact-card,.studio-info,.contact-info){min-inline-size:0}
html[data-public-brand] :is(#contact-channels,.sector-contact-channels){min-inline-size:0;max-inline-size:100%;padding-block:8px}
html[data-public-brand] :is(#contact-channels,.sector-contact-channels):not(:has(.sector-contact-action)){display:none}
html[data-public-brand] :is(#contact-channels,.sector-contact-channels) .sector-contact-links{display:flex;flex-direction:row;flex-wrap:wrap;align-items:flex-start;justify-content:flex-start;gap:6px 8px;margin:0;min-inline-size:0;max-inline-size:100%}
html[data-public-brand] :is(#contact-channels,.sector-contact-channels) .sector-contact-social{display:contents}
html[data-public-brand] :is(#contact-channels,.sector-contact-channels) .sector-contact-action{order:2;min-inline-size:0;max-inline-size:100%;min-block-size:36px;height:auto;margin:0;padding:7px 11px;border:1px solid color-mix(in srgb,currentColor 28%,transparent);border-radius:999px;white-space:normal;overflow-wrap:anywhere;line-height:1.45;justify-content:flex-start}
html[data-public-brand] :is(#contact-channels,.sector-contact-channels) .sector-contact-action:is([href^="tel:"],[href^="mailto:"]){flex-basis:100%;border:0;border-radius:0;padding:4px 0}
html[data-public-brand] :is(#contact-channels,.sector-contact-channels) .sector-contact-action[href^="tel:"]{order:0;unicode-bidi:plaintext}
html[data-public-brand] :is(#contact-channels,.sector-contact-channels) .sector-contact-action[href^="mailto:"]{order:1}
html[data-public-brand] :is(#contact-channels,.sector-contact-channels) :is(.sector-contact-map,[data-sector-contact="location"]){order:3;flex-basis:100%;border:0;border-radius:0;padding:4px 0}
html[data-public-brand] :is(#contact-channels,.sector-contact-channels) .sector-contact-label{min-inline-size:0;max-inline-size:100%;overflow-wrap:anywhere}

/* Keep authored service labels inside the existing grid column. */
html[data-public-brand=nevora] .service-layout>*{min-inline-size:0}
html[data-public-brand=nevora] :is([data-book],[data-booking],[data-luna-team-book],#lightbox-book){min-inline-size:0;max-inline-size:100%;white-space:normal;overflow-wrap:anywhere}
html[data-public-brand=nevora] .header [data-book]{max-inline-size:min(28vw,22rem)}

/* Phone and location share the leading contact row; authored links stay unchanged. */
html[data-public-brand] :is(#contact-channels,.sector-contact-channels) .sector-contact-action[href^="tel:"]{flex:1 1 0}
html[data-public-brand] :is(#contact-channels,.sector-contact-channels) :is(.sector-contact-map,[data-sector-contact="location"]){order:0;flex:0 1 auto}
html[data-public-brand] :is(#contact-channels,.sector-contact-channels) .sector-contact-links:has([href^="tel:"]) :is(.sector-contact-map,[data-sector-contact="location"]){margin-inline-start:auto}
html[data-public-brand] :is(#contact-channels,.sector-contact-channels) .sector-contact-links:not(:has([href^="mailto:"])):has(:is([href^="tel:"],.sector-contact-map,[data-sector-contact="location"])):has(.sector-contact-action:not([href^="tel:"],[href^="mailto:"],.sector-contact-map,[data-sector-contact="location"]))::before{content:"";order:1;flex-basis:100%;block-size:0;margin-block:-3px}

/* Public footer identity, policies and back-to-top remain one compact row. */
html[data-public-brand] footer:not(.policy-footer){display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:8px 18px}
html[data-public-brand] footer:not(.policy-footer)>:is(.footer-brand,.sector-footer-wordmark){grid-column:1/-1;grid-row:1;margin-inline:0}
html[data-public-brand] footer :is(.footer-meta,.sector-footer-meta){display:contents}
html[data-public-brand] footer :is(.footer-meta,.sector-footer-meta)>span:first-child{grid-column:1;grid-row:2;min-inline-size:0;width:auto;margin:0;text-align:start;overflow-wrap:anywhere}
html[data-public-brand] footer .sector-policy-links{grid-column:2;grid-row:2;justify-content:center;justify-self:center;min-inline-size:0;margin:0;text-align:center}
html[data-public-brand] footer :is(.footer-meta,.sector-footer-meta)>a{grid-column:3;grid-row:2;justify-self:end;min-block-size:44px;display:inline-flex;align-items:center;white-space:normal;text-align:end}
html[data-public-brand] footer :is(.footer-meta,.sector-footer-meta)>:is(span:nth-child(2),small){grid-column:1/-1;grid-row:3;margin:0;min-inline-size:0;text-align:center;overflow-wrap:anywhere}
html[data-public-brand] footer>.demo-notice{grid-column:1/-1;grid-row:4;margin:0;justify-self:center}
html[data-public-brand] footer :is(.footer-meta,.sector-footer-meta)>:is(span,small):empty{display:none}
@media(max-width:650px){
 html[data-public-brand] footer:not(.policy-footer){grid-template-columns:minmax(0,1fr) auto;gap:8px 12px}
 html[data-public-brand] footer :is(.footer-meta,.sector-footer-meta)>span:first-child{grid-column:1/-1;grid-row:2;text-align:center;justify-self:center}
 html[data-public-brand] footer .sector-policy-links{grid-column:1;grid-row:3}
 html[data-public-brand] footer :is(.footer-meta,.sector-footer-meta)>a{grid-column:2;grid-row:3}
 html[data-public-brand] footer :is(.footer-meta,.sector-footer-meta)>:is(span:nth-child(2),small){grid-row:4}
 html[data-public-brand] footer>.demo-notice{grid-row:5}
}

/* Reserve the same timestamp metadata rows before and after device-time conversion. */
html[data-public-brand] :is(.luna-public-review-time,.luna-public-owner-response>time[data-viewer-time]){min-block-size:2.8em}

/* Server and draft previews use identical conservative width classes: no text truncation or late resizing. */
html[data-public-brand] footer:not(.policy-footer){container-type:inline-size}
html[data-public-brand] footer .footer-name-fit{--footer-width-1:0;--footer-width-2:0;--footer-width-4:0;--footer-width-8:0;--footer-width-16:0;--footer-width-32:0;--footer-width-64:0;--footer-width-128:0;--footer-name-base:clamp(70px,18vw,280px);--footer-name-reserve:0px;--footer-name-units:calc(var(--footer-width-1) + var(--footer-width-2) + var(--footer-width-4) + var(--footer-width-8) + var(--footer-width-16) + var(--footer-width-32) + var(--footer-width-64) + var(--footer-width-128));font-size:min(var(--footer-name-base),calc((100cqi - var(--footer-name-reserve))/var(--footer-name-units)));white-space:nowrap;text-wrap:nowrap;overflow-wrap:normal;max-inline-size:100%}
html[data-public-brand] footer .footer-name-fit.footer-width-1{--footer-width-1:1}
html[data-public-brand] footer .footer-name-fit.footer-width-2{--footer-width-2:2}
html[data-public-brand] footer .footer-name-fit.footer-width-4{--footer-width-4:4}
html[data-public-brand] footer .footer-name-fit.footer-width-8{--footer-width-8:8}
html[data-public-brand] footer .footer-name-fit.footer-width-16{--footer-width-16:16}
html[data-public-brand] footer .footer-name-fit.footer-width-32{--footer-width-32:32}
html[data-public-brand] footer .footer-name-fit.footer-width-64{--footer-width-64:64}
html[data-public-brand] footer .footer-name-fit.footer-width-128{--footer-width-128:128}
html[data-public-brand] footer .footer-name-fit:has(.luna-site-logo){--footer-name-reserve:calc(clamp(48px,9vw,110px) + clamp(14px,2vw,32px))}
html[data-public-brand] footer :is(.footer-meta,.sector-footer-meta)>:is(span:nth-child(2),small),html[data-public-brand] footer>.demo-notice{text-align:start;justify-self:start}
@media(max-width:650px){
 html[data-public-brand] footer:not(.policy-footer){grid-template-columns:minmax(0,1fr) auto auto;column-gap:12px;row-gap:8px}
 html[data-public-brand] footer :is(.footer-meta,.sector-footer-meta)>span:first-child{grid-column:1;grid-row:2;text-align:start;justify-self:start;font-size:.7rem;letter-spacing:0;line-height:1.5}
 html[data-public-brand] footer .sector-policy-links{grid-column:2;grid-row:2;gap:10px;align-self:center;font-size:.7rem;letter-spacing:0;line-height:1.5}
 html[data-public-brand] footer :is(.footer-meta,.sector-footer-meta)>a{grid-column:3;grid-row:2;font-size:.7rem;letter-spacing:0;line-height:1.5}
 html[data-public-brand] footer :is(.footer-meta,.sector-footer-meta)>:is(span:nth-child(2),small){grid-column:1/-1;grid-row:3;text-align:start;justify-self:start}
 html[data-public-brand] footer>.demo-notice{grid-column:1/-1;grid-row:4;text-align:start;justify-self:start}
}
@media(max-width:374px){
 html[data-public-brand] footer:not(.policy-footer){grid-template-columns:minmax(0,1fr) auto}
 html[data-public-brand] footer :is(.footer-meta,.sector-footer-meta)>span:first-child{grid-column:1/-1;grid-row:2}
 html[data-public-brand] footer .sector-policy-links{grid-column:1;grid-row:3;justify-self:start}
 html[data-public-brand] footer :is(.footer-meta,.sector-footer-meta)>a{grid-column:2;grid-row:3}
 html[data-public-brand] footer :is(.footer-meta,.sector-footer-meta)>:is(span:nth-child(2),small){grid-row:4}
 html[data-public-brand] footer>.demo-notice{grid-row:5}
}

@media(max-width:650px){html[data-public-brand] footer .footer-name-fit{--footer-name-base:18vw}}

/* A literal long business name may wrap in the header without pushing its controls outside the viewport. */
html[data-public-brand=nevora] .header{height:auto;min-block-size:100px;padding-block:12px}
html[data-public-brand=nevora] .header .wordmark{min-inline-size:0;overflow-wrap:anywhere;white-space:normal}
html[data-public-brand=nevora] .header .wordmark>:is([data-brand],small){overflow-wrap:anywhere;white-space:normal}
html[data-public-brand=nevora] .header .header-actions{flex:none}
@media(min-width:701px){
 html[data-public-brand=nevora] .header .header-actions{min-inline-size:0;max-inline-size:55%}
 html[data-public-brand=nevora] .header .nav{min-inline-size:0;flex-wrap:wrap}
}

/* Team rows keep one or two profiles horizontal and three profiles vertical.
   Stable portrait tracks and top-aligned copy keep mixed biographies aligned. */
html[data-public-brand] :is(.luna-public-team-grid,.team-grid){display:grid;inline-size:100%;max-inline-size:1140px;margin-inline:auto;gap:20px;align-items:stretch;grid-template-columns:minmax(0,1fr)}
html[data-public-brand] :is(.luna-public-team-grid,.team-grid):has(>:is(.luna-public-team-card,.team-card):only-child){max-inline-size:760px}
html[data-public-brand] :is(.luna-public-team-card,.team-card){display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);grid-template-rows:minmax(0,1fr);min-inline-size:0;padding:0;gap:0;overflow:hidden;align-items:stretch}
html[data-public-brand] :is(.luna-public-team-portrait,.luna-public-team-placeholder,.team-photo){inline-size:100%;block-size:100%;min-block-size:170px;max-block-size:none;aspect-ratio:auto;object-fit:cover;object-position:center 25%;background:var(--luna-soft,var(--soft));align-self:stretch;border-radius:0}
html[data-public-brand] .luna-public-team-portrait{position:relative;overflow:hidden}
html[data-public-brand] .luna-public-team-portrait img{position:absolute;inset:0;inline-size:100%;block-size:100%;object-fit:cover;object-position:center 25%}
html[data-public-brand] :is(.luna-public-team-copy,.team-detail){padding:clamp(16px,2vw,24px);min-inline-size:0;align-self:start}
html[data-public-brand] :is(.luna-public-team-copy,.team-detail) h3{font-size:clamp(1.1rem,2vw,1.4rem);line-height:1.25;overflow-wrap:anywhere}
html[data-public-brand] :is(.luna-public-team-bio,.team-detail>p){font-size:.9rem;line-height:1.6;white-space:pre-line;overflow-wrap:anywhere}
html[data-public-brand] .luna-public-team-bio{margin:12px 0}
html[data-public-brand] .luna-public-team-services{margin:10px 0 0}
@media(min-width:701px) and (max-width:1100px){html[data-public-brand] :is(.luna-public-team-grid,.team-grid){grid-template-columns:repeat(2,minmax(0,1fr))}html[data-public-brand] :is(.luna-public-team-grid,.team-grid):has(>:is(.luna-public-team-card,.team-card):only-child){grid-template-columns:minmax(0,1fr)}html[data-public-brand] :is(.luna-public-team-grid,.team-grid)>:is(.luna-public-team-card,.team-card):nth-child(odd):last-child{grid-column:1/-1;inline-size:100%;max-inline-size:760px;justify-self:center}}
@media(min-width:1101px){
 html[data-public-brand] :is(.luna-public-team-grid,.team-grid),html[data-public-brand] :is(.luna-public-team-grid,.team-grid):has(>:is(.luna-public-team-card,.team-card):only-child),html[data-public-brand] :is(.luna-public-team-grid,.team-grid):has(>:is(.luna-public-team-card,.team-card):nth-child(2):last-child){grid-template-columns:repeat(6,minmax(0,1fr))}
 html[data-public-brand] :is(.luna-public-team-grid,.team-grid)>:is(.luna-public-team-card,.team-card){grid-column:span 2;grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr)}
 html[data-public-brand] :is(.luna-public-team-grid,.team-grid)>:is(.luna-public-team-card,.team-card) :is(.luna-public-team-portrait,.luna-public-team-placeholder,.team-photo){aspect-ratio:1;block-size:auto;min-block-size:0}
 html[data-public-brand] :is(.luna-public-team-grid,.team-grid)>:is(.luna-public-team-card,.team-card):nth-child(3n+2):last-child,
 html[data-public-brand] :is(.luna-public-team-grid,.team-grid):has(>:is(.luna-public-team-card,.team-card):nth-child(3n+2):last-child)>:nth-last-child(2){grid-column:span 3;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);grid-template-rows:minmax(0,1fr)}
 html[data-public-brand] :is(.luna-public-team-grid,.team-grid)>:is(.luna-public-team-card,.team-card):nth-child(3n+1):last-child{grid-column:2/span 4;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);grid-template-rows:minmax(0,1fr)}
 html[data-public-brand] :is(.luna-public-team-grid,.team-grid)>:is(.luna-public-team-card,.team-card):only-child{grid-column:1/-1}
 html[data-public-brand] :is(.luna-public-team-grid,.team-grid):has(>:is(.luna-public-team-card,.team-card):nth-child(4):last-child)>:is(.luna-public-team-card,.team-card){grid-column:span 3;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);grid-template-rows:minmax(0,1fr)}
 html[data-public-brand] :is(.luna-public-team-grid,.team-grid)>:is(.luna-public-team-card,.team-card):nth-child(3n+2):last-child :is(.luna-public-team-portrait,.luna-public-team-placeholder,.team-photo),
 html[data-public-brand] :is(.luna-public-team-grid,.team-grid):has(>:is(.luna-public-team-card,.team-card):nth-child(3n+2):last-child)>:nth-last-child(2) :is(.luna-public-team-portrait,.luna-public-team-placeholder,.team-photo),
 html[data-public-brand] :is(.luna-public-team-grid,.team-grid)>:is(.luna-public-team-card,.team-card):nth-child(3n+1):last-child :is(.luna-public-team-portrait,.luna-public-team-placeholder,.team-photo),
 html[data-public-brand] :is(.luna-public-team-grid,.team-grid):has(>:is(.luna-public-team-card,.team-card):nth-child(4):last-child)>:is(.luna-public-team-card,.team-card) :is(.luna-public-team-portrait,.luna-public-team-placeholder,.team-photo){aspect-ratio:auto;block-size:100%;min-block-size:200px}
}
@media(max-width:600px){
 html[data-public-brand] :is(.luna-public-team-grid,.team-grid){gap:18px}
}

/* On phones every employee profile uses one full-width portrait above its copy. */
@media(max-width:700px){
 html[data-public-brand] :is(.luna-public-team-card,.team-card){grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr)}
 html[data-public-brand] :is(.luna-public-team-portrait,.luna-public-team-placeholder,.team-photo){aspect-ratio:1;block-size:auto;min-block-size:0;object-fit:cover;object-position:center 25%}
 html[data-public-brand] :is(.luna-public-team-copy,.team-detail){inline-size:100%;box-sizing:border-box}
}

/* The complete selected category stays inside the touch-scrollable strip. */
html[data-public-brand] :is(.price-tabs,.service-tabs){min-inline-size:0;max-inline-size:100%;align-items:flex-start;scroll-behavior:auto;overflow-anchor:none}
html[data-public-brand] :is(.price-tabs,.service-tabs)>button:is([aria-selected="true"],[aria-pressed="true"]){box-sizing:border-box;flex:0 0 auto;min-inline-size:0;max-inline-size:calc(100% - 8px);min-block-size:44px;block-size:auto;white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere}
html[data-public-brand] :is(.price-tabs,.service-tabs)>button:is([aria-selected="true"],[aria-pressed="true"])>:is(bdi,.sector-category-label){display:block;min-inline-size:0;max-inline-size:100%;white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere}

/* On phones each visible phrase owns its original decorative symbol. Desktop separators stay unchanged. */
@media(max-width:760px){
 html[data-public-brand=nevora] .ticker[data-luna-feature-strip]{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 24px}
 html[data-public-brand=nevora] .ticker[data-luna-feature-strip][data-luna-feature-count="1"]{grid-template-columns:minmax(0,1fr)}
 html[data-public-brand=nevora] .ticker[data-luna-feature-strip][data-luna-feature-count="3"]>[data-luna-feature-item]:nth-child(3){grid-column:1/-1}
 html[data-public-brand=nevora] .ticker[data-luna-feature-strip]>[data-luna-feature-item]{display:flex;align-items:baseline;justify-content:center;gap:.55em;grid-column:auto;padding-block:0;border-block-start:0;text-align:center}
 html[data-public-brand=nevora] .ticker[data-luna-feature-strip] [data-luna-feature-copy]{flex:0 1 auto;min-inline-size:0;max-inline-size:100%;text-align:center}
 html[data-public-brand=nevora] .ticker[data-luna-feature-strip]>[data-luna-feature-item]:not([hidden])>[data-luna-feature-separator]{display:block!important;position:static;inset:auto;order:-1;flex:none;transform:none;font-size:1.25em;font-style:normal;line-height:1}
}

html[data-nav-bootstrap] :is(.header,.sector-header)[data-nav-fit=pending]>nav{visibility:hidden;position:absolute;pointer-events:none}
html[data-nav-bootstrap] :is(.header,.sector-header)[data-nav-fit=pending] :is([data-menu],.menu-toggle,.sector-menu){visibility:hidden}

/* Menu layout follows the space required by the visible authored labels. */
html[data-public-brand] .sector-header:is(.header,.sector-header):is([data-nav-ready],[data-nav-fit=pending])>.header-book{flex:0 0 auto}
html[data-public-brand] :is(.header,.sector-header):is([data-nav-ready],[data-nav-fit=pending]){display:flex;flex-wrap:nowrap;height:auto;min-block-size:var(--nav-header-min,100px)}
html[data-public-brand] :is(.header,.sector-header):is([data-nav-ready],[data-nav-fit=pending])>:is(.brand,.wordmark,.sector-wordmark){flex:0 0 auto;min-inline-size:0;max-inline-size:calc(50% - 32px);white-space:normal;overflow-wrap:anywhere}
html[data-public-brand] :is(.header,.sector-header):is([data-nav-ready],[data-nav-fit=pending])>:is(.brand,.wordmark,.sector-wordmark) :is([data-brand],small){white-space:normal;overflow-wrap:anywhere}
html[data-public-brand] :is(.header,.sector-header):is([data-nav-ready],[data-nav-fit=pending])>.header-actions{flex:0 0 auto;min-inline-size:0;max-inline-size:50%;margin-inline-start:auto}
html[data-public-brand] :is(.header,.sector-header):is([data-nav-ready],[data-nav-fit=pending])>nav{font-size:var(--nav-full-font,.875rem)}
html[data-public-brand] :is(.header,.sector-header):is([data-nav-ready],[data-nav-fit=pending])[data-nav-fit=full]>nav,
html[data-public-brand] :is(.header,.sector-header):is([data-nav-ready],[data-nav-fit=pending])[data-nav-measuring]>nav{display:flex;flex-flow:row nowrap;align-items:center;position:static;inset:auto;inline-size:max-content;max-inline-size:none;max-block-size:none;overflow:visible;margin:0 0 0 auto;padding:0;border:0;border-radius:0;box-shadow:none;font-size:var(--nav-full-font,.875rem);gap:var(--nav-full-gap,27px);text-align:start;flex:0 0 auto}
html[dir=rtl][data-public-brand] :is(.header,.sector-header):is([data-nav-ready],[data-nav-fit=pending])[data-nav-fit=full]>nav{margin-inline-start:auto;margin-inline-end:0}
html[data-public-brand] :is(.header,.sector-header):is([data-nav-ready],[data-nav-fit=pending])[data-nav-fit=full]>nav a,
html[data-public-brand] :is(.header,.sector-header):is([data-nav-ready],[data-nav-fit=pending])[data-nav-measuring]>nav a{display:flex;align-items:center;white-space:nowrap;overflow-wrap:normal;flex:none;min-block-size:44px;padding:0}
html[data-public-brand] :is(.header,.sector-header):is([data-nav-ready],[data-nav-fit=pending])[data-nav-fit=full] :is(.menu-toggle,.sector-menu),
html[data-public-brand] :is(.header,.sector-header):is([data-nav-ready],[data-nav-fit=pending])[data-nav-measuring] :is(.menu-toggle,.sector-menu){display:none}
html[data-public-brand] :is(.header,.sector-header):is([data-nav-ready],[data-nav-fit=pending])[data-nav-fit=compact]:not([data-nav-measuring]) :is(.menu-toggle,.sector-menu){display:block;flex:none;min-inline-size:44px;min-block-size:44px}
html[data-public-brand] :is(.header,.sector-header):is([data-nav-ready],[data-nav-fit=pending])[data-nav-fit=compact]:not([data-nav-measuring])>nav{display:none;position:absolute;inset:100% 0 auto;inline-size:auto;max-inline-size:none;margin:0;padding:var(--nav-compact-padding,12px var(--pad,5%));background:var(--paper,var(--background));border:1px solid var(--line);border-radius:var(--nav-compact-radius,0 0 16px 16px);box-shadow:var(--nav-compact-shadow,0 18px 32px #0002);font-size:var(--nav-compact-font,.9rem);max-block-size:min(70dvh,calc(100dvh - 100px));overflow:auto;z-index:30}
html[data-public-brand] :is(.header,.sector-header):is([data-nav-ready],[data-nav-fit=pending])[data-nav-fit=compact]:not([data-nav-measuring])>nav.open{display:flex;flex-flow:column nowrap;align-items:stretch;gap:4px}
html[data-public-brand] :is(.header,.sector-header):is([data-nav-ready],[data-nav-fit=pending])[data-nav-fit=compact]:not([data-nav-measuring])>nav a{display:flex;align-items:center;white-space:normal;overflow-wrap:anywhere;min-block-size:48px;padding:var(--nav-compact-link-padding,0px 12px);border-radius:8px}
html[data-public-brand] :is(.header,.sector-header):is([data-nav-ready],[data-nav-fit=pending])[data-nav-fit=pending]>nav,
html[data-public-brand] :is(.header,.sector-header):is([data-nav-ready],[data-nav-fit=pending])[data-nav-measuring]>nav{position:fixed;inset:-100000px auto auto 0;visibility:hidden;pointer-events:none}
html[data-public-brand] :is(.header,.sector-header):is([data-nav-ready],[data-nav-fit=pending])[data-nav-fit=pending] :is(.menu-toggle,.sector-menu){visibility:hidden}
html[data-public-brand] :is(.header,.sector-header):is([data-nav-ready],[data-nav-fit=pending])[data-nav-empty=true]>nav,
html[data-public-brand] :is(.header,.sector-header):is([data-nav-ready],[data-nav-fit=pending])[data-nav-empty=true] :is(.menu-toggle,.sector-menu){display:none}
html[data-public-brand] :is(.header,.sector-header):is([data-nav-ready],[data-nav-fit=pending])[data-nav-measuring]>nav{display:flex}

@media(max-width:700px){html[data-public-brand] .header:is([data-nav-ready],[data-nav-fit=pending])>.header-actions{max-inline-size:40%}html[data-public-brand] .header:is([data-nav-ready],[data-nav-fit=pending])>:is(.brand,.wordmark){max-inline-size:calc(100% - 128px)}}

html[data-public-brand=nevora] .header:is([data-nav-ready],[data-nav-fit=pending]){--nav-full-font:14px;--nav-full-gap:clamp(20px,2.5vw,42px);--nav-compact-font:17px;--nav-compact-shadow:0 18px 32px rgba(21,22,25,.07);--nav-compact-link-padding:10px 12px}

/* Keep the authored desktop navigation and action cluster in flow before fitting.
   Measurement is synchronous and is the only state allowed off screen. */
html[data-public-brand] :is(.header,.sector-header)[data-nav-fit=pending]:not([data-nav-measuring]){display:flex;flex-wrap:nowrap}
html[data-public-brand] :is(.header,.sector-header)[data-nav-fit=pending]:not([data-nav-measuring])>.header-actions{flex:0 0 auto;margin-inline-start:auto}
@media(min-width:1101px){
html[data-public-brand] :is(.header,.sector-header)[data-nav-fit=pending]:not([data-nav-measuring])>nav{display:flex;flex-flow:row nowrap;align-items:center;position:static;inset:auto;visibility:visible;pointer-events:auto;inline-size:max-content;max-inline-size:none;max-block-size:none;overflow:visible;margin:0 0 0 auto;padding:0;border:0;border-radius:0;box-shadow:none;font-size:var(--nav-full-font,.875rem);gap:var(--nav-full-gap,27px);text-align:start;flex:0 0 auto}
html[data-public-brand] :is(.header,.sector-header)[data-nav-fit=pending]:not([data-nav-measuring])>nav a{display:flex;align-items:center;white-space:nowrap;flex:none;min-block-size:44px;padding:0}
html[data-public-brand] :is(.header,.sector-header)[data-nav-fit=pending]:not([data-nav-measuring]) :is(.menu-toggle,.sector-menu){display:none}
}
@media(max-width:1100px){
html[data-public-brand] :is(.header,.sector-header)[data-nav-fit=pending]:not([data-nav-measuring])>nav{display:none}
html[data-public-brand] :is(.header,.sector-header)[data-nav-fit=pending]:not([data-nav-measuring]) :is(.menu-toggle,.sector-menu){display:block;visibility:visible;min-inline-size:44px;min-block-size:44px}
}
