/*
 * NØDE theme styles that theme.json can't express: the page's minimum width, the header
 * layout, the logo, the switch between the desktop menu and the menu button, the header
 * over a hero slider, hover states for outline buttons, the NØDE look of the hero slider
 * and the homepage sections, their scroll reveal, the booking modal, the Galerie's
 * mosaic, lightbox and sliders, and the 404 page. Colours, fonts, sizes and spacing come
 * from theme.json (INV-15); the few literal lengths are layout measurements taken from
 * the mockup.
 *
 * Breakpoints: below 1024px (phones and tablets) the header shows the menu button,
 * and below 600px (phones) the booking button moves into that menu. The hero's phone
 * rules use 767px, the phone breakpoint set on the NØDE slider.
 */

/* Page ------------------------------------------------------------------ */

/*
 * The page is never narrower than custom.layout.min-width in theme.json (320px, the
 * WCAG reflow width): a narrower screen scrolls sideways instead of squeezing the layout.
 */
body {
	min-width: var(--wp--custom--layout--min-width);
}

/* Short pages: the footer sits at the bottom of the window, as in the contact mockup. */
.wp-site-blocks {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	min-height: 100svh;
}

.wp-site-blocks > main {
	flex-grow: 1;
}

/* Header ---------------------------------------------------------------- */

.nodebeauty-header {
	padding-top: var(--wp--preset--spacing--40);
	padding-bottom: var(--wp--preset--spacing--40);
}

.nodebeauty-header__bar {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	column-gap: var(--wp--preset--spacing--40);
}

.nodebeauty-header__bar > * {
	margin-block: 0;
}

.nodebeauty-header__bar > .nodebeauty-nav--overlay,
.nodebeauty-header__bar > .nodebeauty-nav--start {
	grid-column: 1;
	grid-row: 1;
	justify-self: start;
}

.nodebeauty-header__bar > .nodebeauty-logo {
	grid-column: 2;
	grid-row: 1;
}

.nodebeauty-header__bar > .nodebeauty-header__end {
	grid-column: 3;
	grid-row: 1;
	justify-self: end;
	gap: var(--wp--preset--spacing--50);
}

/* Logo: inline SVG, coloured by the text colour. */
.nodebeauty-logo {
	display: block;
	color: var(--wp--preset--color--charcoal);
	line-height: 0;
}

.nodebeauty-logo svg {
	display: block;
	width: auto;
	fill: currentColor;
}

/* 5rem on phones and tablets and up to about 1140px, then growing with the window. */
.nodebeauty-logo .nodebeauty-logo__full {
	height: clamp(5rem, 7vw, 6.75rem);
}

.nodebeauty-logo:focus-visible {
	outline: 1px solid currentColor;
	outline-offset: 6px;
}

/*
 * The client's logo files end their viewBox exactly at the ink, on every side, and
 * browsers clip an inline SVG to its box snapped to whole pixels. At a fractional
 * position the edge strokes lose a sliver: the tagline's last "n" read as an "r".
 * The theme's inlined logos and symbols draw past their box instead, as ADesign Booking
 * Modal's logo already does.
 */
.nodebeauty-logo svg,
.nodebeauty-404__symbol,
.nodebeauty-pin__symbol {
	overflow: visible;
}

/* Menu links: a taller hit area, and a thin underline on the current page. */
.nodebeauty-nav .wp-block-navigation-item__content {
	padding-block: 0.5em;
}

.nodebeauty-nav .current-menu-item > .wp-block-navigation-item__content {
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.6em;
}

.nodebeauty-nav .wp-block-navigation-item__content:focus-visible {
	outline: 1px solid currentColor;
	outline-offset: 4px;
}

.nodebeauty-header .wp-block-button__link {
	white-space: nowrap;
}

/* Menu overlay (phones and tablets): large serif links, the booking link last. */
.nodebeauty-nav--overlay .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
	padding-top: var(--wp--preset--spacing--70);
	gap: var(--wp--preset--spacing--40);
}

.nodebeauty-nav--overlay .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
	font-family: var(--wp--preset--font-family--serif);
	font-size: var(--wp--preset--font-size--x-large);
	letter-spacing: var(--wp--custom--letter-spacing--title);
	text-transform: uppercase;
}

.nodebeauty-nav--overlay .wp-block-navigation__responsive-container.is-menu-open .nodebeauty-nav__cta .wp-block-navigation-item__content {
	margin-top: var(--wp--preset--spacing--30);
	padding: 0.9em 1.6em;
	border: 1px solid currentColor;
	font-family: var(--wp--preset--font-family--sans);
	font-size: var(--wp--preset--font-size--x-small);
	letter-spacing: var(--wp--custom--letter-spacing--label);
}

/* Responsive switch. */
@media (min-width: 1024px) {
	.wp-block-navigation.nodebeauty-nav--overlay {
		display: none;
	}
}

@media (max-width: 1023.98px) {
	.wp-block-navigation.nodebeauty-nav--start,
	.wp-block-navigation.nodebeauty-nav--end {
		display: none;
	}

}

@media (max-width: 599.98px) {
	/* Beats core's "body .is-layout-flex { display: flex }". */
	.nodebeauty-header .nodebeauty-header__cta {
		display: none;
	}
}

/*
 * Header over a hero slider: when the page's content opens with the Hero Slider block,
 * the header sits over the dark photo, transparent, with ivory links and a champagne
 * logo, as in the mockup. Browsers without :has() keep the header above the slider.
 */
body:has(.wp-block-post-content > .wp-block-adesign-hero-slider-slider:first-child) .wp-site-blocks {
	position: relative;
}

body:has(.wp-block-post-content > .wp-block-adesign-hero-slider-slider:first-child) .wp-site-blocks > header {
	position: absolute;
	z-index: 10;
	top: 0;
	right: 0;
	left: 0;
	color: var(--wp--preset--color--ivory);
}

body:has(.wp-block-post-content > .wp-block-adesign-hero-slider-slider:first-child) .wp-site-blocks > main {
	margin-block-start: 0;
}

body:has(.wp-block-post-content > .wp-block-adesign-hero-slider-slider:first-child) .nodebeauty-logo {
	color: var(--wp--preset--color--champagne);
}

body:has(.wp-block-post-content > .wp-block-adesign-hero-slider-slider:first-child) .nodebeauty-header .wp-block-button.is-style-outline > .wp-block-button__link {
	color: var(--wp--preset--color--ivory);
}

body:has(.wp-block-post-content > .wp-block-adesign-hero-slider-slider:first-child) .nodebeauty-header .wp-block-button.is-style-outline > .wp-block-button__link:hover,
body:has(.wp-block-post-content > .wp-block-adesign-hero-slider-slider:first-child) .nodebeauty-header .wp-block-button.is-style-outline > .wp-block-button__link:focus-visible {
	background-color: var(--wp--preset--color--ivory);
	color: var(--wp--preset--color--charcoal);
}

/* Buttons --------------------------------------------------------------- */

.wp-block-button.is-style-outline > .wp-block-button__link:hover,
.wp-block-button.is-style-outline > .wp-block-button__link:focus-visible {
	background-color: var(--wp--preset--color--charcoal);
	color: var(--wp--preset--color--ivory);
}

/* The thin arrow after the label (design.md §4): the 404's buttons and Servicii's booking buttons. */
.nodebeauty-404 .wp-block-button__link,
.nodebeauty-services-category__book .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	gap: 1.75em;
}

/* The arrow is decoration: its empty alternative text keeps it from being read out. */
.nodebeauty-404 .wp-block-button__link::after,
.nodebeauty-services-category__book .wp-block-button__link::after {
	content: "\2192" / "";
	font-size: 1.5em;
	line-height: 0;
}

/* Footer ---------------------------------------------------------------- */

.nodebeauty-footer {
	border-top: 1px solid var(--wp--preset--color--greige);
	padding-top: var(--wp--preset--spacing--40);
	padding-bottom: var(--wp--preset--spacing--40);
}

/* The social icons have no text to underline, so they turn taupe-deep on hover. */
.nodebeauty-footer .adesign-contact-details__social a:hover {
	color: var(--wp--preset--color--taupe-deep);
}

/*
 * The legal line under the contact bar: the copyright at the bar's left edge and the privacy
 * link at its right edge (the pattern's flex layout). On phones the two stack at the left,
 * as the bar's details do, with the bar's gap between its lines.
 */
@media (max-width: 767.98px) {

	.nodebeauty-footer .nodebeauty-footer-legal {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.75em;
	}
}

/* Hero slider ----------------------------------------------------------- */

/*
 * ADesign Hero Slider in the NØDE look (design.md §5, section 01). The plugin draws the
 * slider; these rules set its custom properties and type. Sizes follow the mockup,
 * relative to the body text: the title is about 3.6 times the body size.
 */
.adesign-hero-slider {
	--adesign-hero-slider-background: var(--wp--preset--color--charcoal);
	--adesign-hero-slider-color: var(--wp--preset--color--ivory);
	/*
	 * Shades under the header, the side text and the controls, so they read on any photo, the
	 * salon's bright ones included, and the deep one behind the text.
	 */
	--adesign-hero-slider-overlay-background:
		linear-gradient(180deg, color-mix(in srgb, var(--wp--preset--color--charcoal) 90%, transparent) 0%, transparent 32%),
		linear-gradient(270deg, color-mix(in srgb, var(--wp--preset--color--charcoal) 90%, transparent) 0%, color-mix(in srgb, var(--wp--preset--color--charcoal) 80%, transparent) 12%, transparent 30%),
		linear-gradient(0deg, color-mix(in srgb, var(--wp--preset--color--charcoal) 50%, transparent) 0%, transparent 20%),
		linear-gradient(90deg, var(--wp--preset--color--charcoal) 0%, color-mix(in srgb, var(--wp--preset--color--charcoal) 70%, transparent) 45%, transparent 80%);
	--adesign-hero-slider-inner-width: var(--wp--style--global--wide-size);
	--adesign-hero-slider-padding-inline: max(var(--wp--style--root--padding-left), 7vw);
	--adesign-hero-slider-padding-top: 9rem;
	--adesign-hero-slider-padding-bottom: var(--wp--preset--spacing--60);
	--adesign-hero-slider-content-width: 36rem;
	--adesign-hero-slider-content-justify-phone: flex-end;
	--adesign-hero-slider-controls-bottom: var(--wp--preset--spacing--40);

	font-family: var(--wp--preset--font-family--sans);
}

.adesign-hero-slider__eyebrow {
	color: var(--wp--preset--color--champagne);
	font-size: var(--wp--preset--font-size--x-small);
	letter-spacing: var(--wp--custom--letter-spacing--wide);
	line-height: 1.6;
	text-transform: uppercase;
	text-wrap: balance;
}

.adesign-hero-slider__title {
	margin-top: var(--wp--preset--spacing--40);
	color: var(--wp--preset--color--ivory);
	font-family: var(--wp--preset--font-family--serif);
	font-size: var(--wp--preset--font-size--display);
	font-weight: 400;
	line-height: var(--wp--custom--line-height--tight);
}

.adesign-hero-slider__subtitle {
	margin-top: var(--wp--preset--spacing--50);
	color: var(--wp--preset--color--greige-light);
	font-size: var(--wp--preset--font-size--medium);
	letter-spacing: 0.04em;
	line-height: 1.4;
}

.adesign-hero-slider__actions {
	margin-top: var(--wp--preset--spacing--50);
}

.adesign-hero-slider__cta {
	gap: 1.75em;
	padding: 1.15em 1.8em;
	border-color: var(--wp--preset--color--champagne);
	color: var(--wp--preset--color--ivory);
	font-size: var(--wp--preset--font-size--x-small);
	letter-spacing: var(--wp--custom--letter-spacing--label);
	line-height: 1;
	text-transform: uppercase;
}

/* The arrow is decoration: its empty alternative text keeps it from being read out. */
.adesign-hero-slider__cta::after {
	content: "\2192" / "";
	font-size: 1.5em;
	line-height: 0;
}

.adesign-hero-slider__cta:hover,
.adesign-hero-slider__cta:focus-visible {
	background-color: var(--wp--preset--color--ivory);
	color: var(--wp--preset--color--charcoal);
}

/* Side tagline: a champagne hairline that runs past the words, near the right edge. */
.adesign-hero-slider__side-text {
	top: 42%;
	right: max(var(--wp--style--root--padding-right), (100% - var(--wp--style--global--wide-size)) / 2);
	gap: 1.1em;
	padding-block: 2.5rem 2rem;
	border-color: var(--wp--preset--color--champagne);
	color: var(--wp--preset--color--champagne);
	font-size: var(--wp--preset--font-size--x-small);
	letter-spacing: var(--wp--custom--letter-spacing--label);
	line-height: 1;
	text-transform: uppercase;
}

/* Scroll cue: the word, with a hairline at its left that runs down to the bottom edge. */
.adesign-hero-slider__scroll {
	left: max(var(--wp--style--root--padding-left), 6vw);
	flex-direction: row;
	align-items: flex-start;
	padding: 0 0 var(--wp--preset--spacing--50) 1.1rem;
	color: var(--wp--preset--color--champagne);
	font-size: var(--wp--preset--font-size--x-small);
	letter-spacing: var(--wp--custom--letter-spacing--label);
	line-height: 1;
	text-transform: uppercase;
}

.adesign-hero-slider__scroll::after {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	height: auto;
}

/*
 * Phones: the text sits low, over a shade that rises from the bottom, and the controls
 * move to the right so they clear the scroll cue.
 */
@media (max-width: 767px) {
	.adesign-hero-slider {
		--adesign-hero-slider-overlay-background:
			linear-gradient(180deg, color-mix(in srgb, var(--wp--preset--color--charcoal) 90%, transparent) 0%, transparent 32%),
			linear-gradient(0deg, var(--wp--preset--color--charcoal) 0%, color-mix(in srgb, var(--wp--preset--color--charcoal) 75%, transparent) 45%, transparent 80%);
		--adesign-hero-slider-padding-bottom: 6.5rem;
	}

	.adesign-hero-slider__eyebrow {
		letter-spacing: var(--wp--custom--letter-spacing--label);
	}

	.adesign-hero-slider__controls {
		right: max(var(--wp--style--root--padding-right), 7vw);
		left: auto;
		transform: none;
	}
}

/* Card grid ------------------------------------------------------------- */

/*
 * ADesign Card Grid in the NØDE look (design.md §5, section 02). The plugin draws the
 * section; these rules set its custom properties and type: a serif capitals title over a
 * small sans subtitle, then cards with a 3:2 photo over a greige-light panel, where all
 * text is charcoal (design.md §2). Sizes follow the mockup, relative to the body text.
 */
.adesign-card-grid {
	--adesign-card-grid-padding-block: var(--wp--preset--spacing--40);
	--adesign-card-grid-padding-inline: var(--wp--style--root--padding-left);
	--adesign-card-grid-inner-width: var(--wp--style--global--wide-size);
	--adesign-card-grid-header-gap: var(--wp--preset--spacing--40);
	--adesign-card-grid-subtitle-gap: var(--wp--preset--spacing--20);
	--adesign-card-grid-gap: var(--wp--preset--spacing--20);
	--adesign-card-grid-color: var(--wp--preset--color--charcoal);
	--adesign-card-grid-soft-background: var(--wp--preset--color--greige-light);
	--adesign-card-grid-card-background: var(--wp--preset--color--greige-light);
	--adesign-card-grid-card-padding: var(--wp--preset--spacing--30);
	--adesign-card-grid-text-gap: var(--wp--preset--spacing--20);
	--adesign-card-grid-action-gap: var(--wp--preset--spacing--30);
	/* The button under the cards: solid charcoal, like the booking band's (decisions of 2026-11-15). */
	--adesign-card-grid-actions-gap: var(--wp--preset--spacing--40);
	--adesign-card-grid-button-padding: 1.15em 1.8em;
	--adesign-card-grid-button-background: var(--wp--preset--color--charcoal);
	--adesign-card-grid-button-border-color: var(--wp--preset--color--charcoal);
	--adesign-card-grid-button-color: var(--wp--preset--color--ivory);
	/* The background mark: the NØDE symbol (set below) in taupe, the colour of large decorative shapes. */
	--adesign-card-grid-mark-color: var(--wp--preset--color--taupe);
	--adesign-card-grid-mark-opacity: 0.12;
	--adesign-card-grid-mark-position: right 6% top 50%;
	--adesign-card-grid-mark-size: auto 130%;

	font-family: var(--wp--preset--font-family--sans);
}

/*
 * The symbol is set on the mark itself rather than through --adesign-card-grid-mark-image:
 * a relative url() inside a custom property resolves against the page, not this file.
 */
.adesign-card-grid .adesign-card-grid__mark {
	mask-image: url("../images/logo-node-symbol.svg");
}

/* On the soft tone the card panels turn ivory, so they still stand out. */
.adesign-card-grid.is-style-soft {
	--adesign-card-grid-card-background: var(--wp--preset--color--ivory);
}

.adesign-card-grid__title {
	font-family: var(--wp--preset--font-family--serif);
	font-size: var(--wp--preset--font-size--x-large);
	font-weight: 400;
	letter-spacing: var(--wp--custom--letter-spacing--title);
	line-height: var(--wp--custom--line-height--tight);
	text-transform: uppercase;
	text-wrap: balance;
}

.adesign-card-grid__subtitle,
.adesign-card-grid__text,
.adesign-card-grid__link {
	font-size: var(--wp--preset--font-size--x-small);
	letter-spacing: var(--wp--custom--letter-spacing--label);
	line-height: 1.6;
	text-transform: uppercase;
}

.adesign-card-grid__card-title {
	font-family: var(--wp--preset--font-family--sans);
	font-size: var(--wp--preset--font-size--large);
	font-weight: 400;
	letter-spacing: var(--wp--custom--letter-spacing--title);
	line-height: 1.2;
	text-transform: uppercase;
	text-wrap: balance;
}

/* The sub-lines track a little tighter, so they fit the narrow cards. */
.adesign-card-grid__text {
	letter-spacing: var(--wp--custom--letter-spacing--title);
	text-wrap: balance;
}

.adesign-card-grid__link {
	color: var(--wp--preset--color--charcoal);
	text-decoration: none;
}

/* The arrow is decoration: its empty alternative text keeps it from being read out. */
.adesign-card-grid__link::after {
	content: "\2192" / "";
	margin-inline-start: 0.9em;
}

/* Taupe-deep would fail contrast on greige-light, so hover underlines instead. */
.adesign-card-grid__link:hover {
	color: var(--wp--preset--color--charcoal);
	text-decoration: underline;
	text-underline-offset: 0.4em;
}

/* The plugin's base rule for the button takes two classes, so these do too. */
.adesign-card-grid .adesign-card-grid__button {
	gap: 1.75em;
	font-size: var(--wp--preset--font-size--x-small);
	letter-spacing: var(--wp--custom--letter-spacing--label);
	line-height: 1;
	text-transform: uppercase;
}

/* The arrow is decoration: its empty alternative text keeps it from being read out. */
.adesign-card-grid .adesign-card-grid__button::after {
	content: "\2192" / "";
	font-size: 1.5em;
	line-height: 0;
}

/* Hover turns the solid button into an outline, like the booking band's. */
.adesign-card-grid .adesign-card-grid__button:hover,
.adesign-card-grid .adesign-card-grid__button:focus-visible {
	background-color: transparent;
	color: var(--wp--preset--color--charcoal);
}

/* Feature list ---------------------------------------------------------- */

/*
 * ADesign Feature List in the NØDE look (design.md §5, section 03): the serif capitals title
 * between two taupe hairlines, then three items, each a line icon in a thin ring, a sans
 * title in capitals and a line of text, set apart by greige hairlines, and the quote in
 * the serif's italic beside them. Icons and the quote are taupe-deep, as in the mockup.
 */
.adesign-feature-list {
	--adesign-feature-list-padding-block: var(--wp--preset--spacing--40);
	--adesign-feature-list-padding-inline: var(--wp--style--root--padding-left);
	--adesign-feature-list-inner-width: var(--wp--style--global--wide-size);
	--adesign-feature-list-header-gap: var(--wp--preset--spacing--50);
	--adesign-feature-list-subtitle-gap: var(--wp--preset--spacing--20);
	--adesign-feature-list-color: var(--wp--preset--color--charcoal);
	--adesign-feature-list-soft-background: var(--wp--preset--color--greige-light);
	--adesign-feature-list-divider-color: var(--wp--preset--color--greige);
	--adesign-feature-list-quote-rule-color: var(--wp--preset--color--taupe);
	--adesign-feature-list-quote-gap: var(--wp--preset--spacing--50);
	--adesign-feature-list-quote-padding-inline: var(--wp--preset--spacing--50) 0;
	--adesign-feature-list-item-padding: var(--wp--preset--spacing--40);
	--adesign-feature-list-icon-color: var(--wp--preset--color--taupe-deep);
	--adesign-feature-list-icon-ring-color: var(--wp--preset--color--taupe-deep);
	--adesign-feature-list-icon-size: 3.25rem;
	--adesign-feature-list-icon-gap: var(--wp--preset--spacing--30);
	--adesign-feature-list-text-gap: var(--wp--preset--spacing--20);
	--adesign-feature-list-text-width: 18em;
	--adesign-feature-list-stack-gap: var(--wp--preset--spacing--50);
	/* The background mark: the NØDE symbol (set below) in taupe. */
	--adesign-feature-list-mark-color: var(--wp--preset--color--taupe);
	--adesign-feature-list-mark-opacity: 0.12;
	--adesign-feature-list-mark-position: right 6% top 50%;
	--adesign-feature-list-mark-size: auto 130%;

	font-family: var(--wp--preset--font-family--sans);
}

/* Set here rather than through the custom property: a relative url() in one resolves against the page. */
.adesign-feature-list .adesign-feature-list__mark {
	mask-image: url("../images/logo-node-symbol.svg");
}

/* On the soft tone the hairlines turn taupe, so they still show on greige-light. */
.adesign-feature-list.is-style-soft {
	--adesign-feature-list-divider-color: var(--wp--preset--color--taupe);
}

/* The title sits between two short taupe hairlines; left-aligned, only the right one shows. */
.adesign-feature-list__title {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: var(--wp--preset--spacing--40);
	font-family: var(--wp--preset--font-family--serif);
	font-size: var(--wp--preset--font-size--x-large);
	font-weight: 400;
	letter-spacing: var(--wp--custom--letter-spacing--title);
	line-height: var(--wp--custom--line-height--tight);
	text-transform: uppercase;
}

.adesign-feature-list__title::before,
.adesign-feature-list__title::after {
	content: "";
	flex: 0 1 4rem;
	border-top: 1px solid var(--wp--preset--color--taupe);
}

.adesign-feature-list__title-text {
	text-wrap: balance;
}

.adesign-feature-list--align-left .adesign-feature-list__title {
	justify-content: flex-start;
}

.adesign-feature-list--align-left .adesign-feature-list__title::before {
	display: none;
}

.adesign-feature-list__subtitle {
	font-size: var(--wp--preset--font-size--x-small);
	letter-spacing: var(--wp--custom--letter-spacing--label);
	line-height: 1.6;
	text-transform: uppercase;
}

.adesign-feature-list__item-title {
	font-family: var(--wp--preset--font-family--sans);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 400;
	letter-spacing: var(--wp--custom--letter-spacing--label);
	line-height: 1.4;
	text-transform: uppercase;
}

.adesign-feature-list__text {
	font-size: var(--wp--preset--font-size--small);
	line-height: 1.55;
	text-wrap: balance;
}

.adesign-feature-list__quote {
	color: var(--wp--preset--color--taupe-deep);
	font-family: var(--wp--preset--font-family--serif);
	font-size: var(--wp--preset--font-size--x-large);
	font-style: italic;
	line-height: 1.25;
}

/* Media band ------------------------------------------------------------ */

/*
 * ADesign Media Band in the NØDE look (design.md §5, section 04): the gallery teaser. Two
 * photos around a panel across the full width; on the soft tone the panel is greige, as
 * in the mockup. A widely spaced line above a serif title and an outlined button, all
 * charcoal (design.md §2). The band is about a fifth of the page width tall.
 */
.adesign-media-band {
	--adesign-media-band-min-height: clamp(18rem, 21vw, 28rem);
	--adesign-media-band-media-min-height: 16rem;
	--adesign-media-band-panel-share: 0.9fr;
	--adesign-media-band-panel-padding: var(--wp--preset--spacing--50) var(--wp--preset--spacing--40);
	--adesign-media-band-color: var(--wp--preset--color--charcoal);
	--adesign-media-band-panel-background: var(--wp--preset--color--ivory);
	--adesign-media-band-soft-panel-background: var(--wp--preset--color--greige);
	--adesign-media-band-title-gap: var(--wp--preset--spacing--30);
	--adesign-media-band-actions-gap: var(--wp--preset--spacing--40);
	--adesign-media-band-button-padding: 1.15em 1.8em;
	/* The background mark: the NØDE symbol (set below) in taupe. */
	--adesign-media-band-mark-color: var(--wp--preset--color--taupe);
	--adesign-media-band-mark-opacity: 0.12;

	font-family: var(--wp--preset--font-family--sans);
}

/* Set here rather than through the custom property: a relative url() in one resolves against the page. */
.adesign-media-band .adesign-media-band__mark {
	mask-image: url("../images/logo-node-symbol.svg");
}

.adesign-media-band__eyebrow {
	font-size: var(--wp--preset--font-size--x-small);
	letter-spacing: var(--wp--custom--letter-spacing--wide);
	line-height: 1.6;
	text-transform: uppercase;
	text-wrap: balance;
}

.adesign-media-band__title {
	font-family: var(--wp--preset--font-family--serif);
	font-size: var(--wp--preset--font-size--xx-large);
	font-weight: 400;
	line-height: var(--wp--custom--line-height--tight);
	text-wrap: balance;
}

.adesign-media-band__text {
	font-size: var(--wp--preset--font-size--small);
}

/* The outlined button, as in the mockup; hover fills it like the theme's outline buttons. */
.adesign-media-band__button {
	gap: 1.75em;
	border-color: var(--wp--preset--color--charcoal);
	color: var(--wp--preset--color--charcoal);
	font-size: var(--wp--preset--font-size--x-small);
	letter-spacing: var(--wp--custom--letter-spacing--label);
	line-height: 1;
	text-transform: uppercase;
}

/* The arrow is decoration: its empty alternative text keeps it from being read out. */
.adesign-media-band__button::after {
	content: "\2192" / "";
	font-size: 1.5em;
	line-height: 0;
}

.adesign-media-band__button:hover,
.adesign-media-band__button:focus-visible {
	background-color: var(--wp--preset--color--charcoal);
	color: var(--wp--preset--color--ivory);
}

/* CTA band -------------------------------------------------------------- */

/*
 * ADesign CTA Band in the NØDE look (design.md §5, section 05): the booking band. A light band
 * with a faint leaf-shadow texture, a widely spaced line above the serif title at the
 * display size, a small sans subtitle and the solid charcoal button; the side tagline sits
 * near the bottom right. Small text is charcoal: over the texture, taupe-deep would drop
 * below 4.5:1 (design.md §2).
 */
.adesign-cta-band {
	--adesign-cta-band-padding-block: var(--wp--preset--spacing--50);
	--adesign-cta-band-padding-inline: var(--wp--style--root--padding-left);
	--adesign-cta-band-inner-width: var(--wp--style--global--content-size);
	--adesign-cta-band-color: var(--wp--preset--color--charcoal);
	--adesign-cta-band-soft-background: var(--wp--preset--color--greige-light);
	--adesign-cta-band-background-opacity: 0.25;
	--adesign-cta-band-title-gap: var(--wp--preset--spacing--30);
	--adesign-cta-band-subtitle-gap: var(--wp--preset--spacing--30);
	--adesign-cta-band-actions-gap: var(--wp--preset--spacing--40);
	--adesign-cta-band-button-padding: 1.15em 1.8em;
	--adesign-cta-band-button-background: var(--wp--preset--color--charcoal);
	--adesign-cta-band-button-border-color: var(--wp--preset--color--charcoal);
	--adesign-cta-band-button-color: var(--wp--preset--color--ivory);
	--adesign-cta-band-side-text-right: max(var(--wp--style--root--padding-right), (100% - var(--wp--style--global--wide-size)) / 2);
	--adesign-cta-band-side-text-bottom: var(--wp--preset--spacing--40);
	--adesign-cta-band-side-text-gap: 1.1em;
	--adesign-cta-band-side-text-color: var(--wp--preset--color--charcoal);
	--adesign-cta-band-side-text-rule-color: var(--wp--preset--color--taupe);
	/* The background mark: the NØDE symbol (set below) in taupe. */
	--adesign-cta-band-mark-color: var(--wp--preset--color--taupe);
	--adesign-cta-band-mark-opacity: 0.12;
	--adesign-cta-band-mark-position: right 6% top 50%;

	font-family: var(--wp--preset--font-family--sans);
}

/* Set here rather than through the custom property: a relative url() in one resolves against the page. */
.adesign-cta-band .adesign-cta-band__mark {
	mask-image: url("../images/logo-node-symbol.svg");
}

.adesign-cta-band__eyebrow {
	font-size: var(--wp--preset--font-size--small);
	letter-spacing: var(--wp--custom--letter-spacing--wide);
	line-height: 1.6;
	text-transform: uppercase;
}

.adesign-cta-band__title {
	font-family: var(--wp--preset--font-family--serif);
	font-size: var(--wp--preset--font-size--display);
	font-weight: 400;
	line-height: var(--wp--custom--line-height--tight);
	text-wrap: balance;
}

.adesign-cta-band__subtitle {
	font-size: var(--wp--preset--font-size--x-small);
	letter-spacing: var(--wp--custom--letter-spacing--label);
	line-height: 1.6;
	text-transform: uppercase;
}

.adesign-cta-band__button {
	gap: 1.75em;
	font-size: var(--wp--preset--font-size--x-small);
	letter-spacing: var(--wp--custom--letter-spacing--label);
	line-height: 1;
	text-transform: uppercase;
}

/* The arrow is decoration: its empty alternative text keeps it from being read out. */
.adesign-cta-band__button::after {
	content: "\2192" / "";
	font-size: 1.5em;
	line-height: 0;
}

/* Hover turns the solid button into an outline, like the theme's own buttons. */
.adesign-cta-band__button:hover,
.adesign-cta-band__button:focus-visible {
	background-color: transparent;
	color: var(--wp--preset--color--charcoal);
}

.adesign-cta-band__side-text {
	font-size: var(--wp--preset--font-size--x-small);
	letter-spacing: var(--wp--custom--letter-spacing--label);
	line-height: 1;
	text-transform: uppercase;
}

/* Location map ---------------------------------------------------------- */

/*
 * ADesign Location Map in the NØDE look (design.md §5, Contact): the "natural, softened"
 * colours from theme.json (custom.map), labels in Jost, the solid charcoal button, an ivory
 * menu and phone panel with greige dividers, flat zoom buttons and the NØDE pin.
 */
.adesign-location-map {
	--adesign-location-map-land: var(--wp--custom--map--land);
	--adesign-location-map-buildings: var(--wp--custom--map--buildings);
	--adesign-location-map-parks: var(--wp--custom--map--parks);
	--adesign-location-map-water: var(--wp--custom--map--water);
	--adesign-location-map-roads: var(--wp--custom--map--roads);
	--adesign-location-map-road-edges: var(--wp--custom--map--road-edges);
	--adesign-location-map-rail: var(--wp--custom--map--rail);
	--adesign-location-map-labels: var(--wp--custom--map--labels);
	--adesign-location-map-label-halo: var(--wp--custom--map--label-halo);
	--adesign-location-map-font: var(--wp--preset--font-family--sans);
	--adesign-location-map-pin-size: 52px;
	--adesign-location-map-offset: var(--wp--preset--spacing--40);
	--adesign-location-map-button-background: var(--wp--preset--color--charcoal);
	--adesign-location-map-button-color: var(--wp--preset--color--ivory);
	--adesign-location-map-panel-background: var(--wp--preset--color--ivory);
	--adesign-location-map-panel-color: var(--wp--preset--color--charcoal);
	--adesign-location-map-line: var(--wp--preset--color--greige);
	--adesign-location-map-focus: var(--wp--preset--color--charcoal);
	--adesign-location-map-backdrop: color-mix(in srgb, var(--wp--preset--color--charcoal) 40%, transparent);
}

.adesign-location-map__toggle,
.adesign-location-map__close {
	font-family: var(--wp--preset--font-family--sans);
	font-size: var(--wp--preset--font-size--x-small);
	letter-spacing: var(--wp--custom--letter-spacing--label);
	text-transform: uppercase;
}

.adesign-location-map__toggle {
	padding: 0.95em 1.8em;
	border-color: var(--wp--preset--color--charcoal);
}

/* Hover swaps the colours, like the theme's buttons; ivory keeps it clear of the map. */
.adesign-location-map__toggle:hover {
	background-color: var(--wp--preset--color--ivory);
	color: var(--wp--preset--color--charcoal);
}

.adesign-location-map__menu,
.adesign-location-map__noscript {
	font-family: var(--wp--preset--font-family--sans);
	font-size: var(--wp--preset--font-size--small);
}

.adesign-location-map__menu-title {
	color: var(--wp--preset--color--taupe-deep);
	font-size: var(--wp--preset--font-size--x-small);
	letter-spacing: var(--wp--custom--letter-spacing--label);
	text-transform: uppercase;
}

.adesign-location-map__links li + li {
	border-top: 1px solid var(--wp--preset--color--greige);
}

/* MapLibre's zoom buttons and credit: flat, with no shadow or rounding (design.md §6). */
.adesign-location-map .maplibregl-ctrl-group {
	border: 1px solid var(--wp--preset--color--greige);
	border-radius: 0;
	background: var(--wp--preset--color--ivory);
	box-shadow: none;
}

.adesign-location-map .maplibregl-ctrl-group button + button {
	border-top-color: var(--wp--preset--color--greige);
}

/* A solid ivory ground keeps taupe-deep at 4.54:1 whatever the map shows beneath (design.md §2). */
.adesign-location-map .maplibregl-ctrl-attrib {
	background: var(--wp--preset--color--ivory);
	color: var(--wp--preset--color--taupe-deep);
	font-family: var(--wp--preset--font-family--sans);
	font-size: var(--wp--preset--font-size--x-small);
}

.adesign-location-map .maplibregl-ctrl-attrib a {
	color: inherit;
}

/* The NØDE pin: nodebeauty_location_map_marker() in functions.php. */
.nodebeauty-pin__drop {
	fill: var(--wp--preset--color--greige-light);
	stroke: var(--wp--preset--color--charcoal);
	stroke-width: 1;
}

.nodebeauty-pin__symbol {
	fill: var(--wp--preset--color--charcoal);
}

/* Contact details and map ----------------------------------------------- */

/*
 * The Contact page's section (pattern nodebeauty/section-contact, design.md §5): ADesign Contact
 * Details in its Columns layout, in the look of the homepage's experience items, then the
 * map at full width. The values follow the 2026-10-11 preview (docs/previews/contact/).
 */
.adesign-contact-details--columns {
	--adesign-contact-details-ring-size: 3.25rem;
	--adesign-contact-details-ring-icon-size: 1.35rem;
	--adesign-contact-details-ring-color: var(--wp--preset--color--taupe-deep);
	--adesign-contact-details-ring-gap: var(--wp--preset--spacing--30);
	--adesign-contact-details-label-gap: var(--wp--preset--spacing--20);
	--adesign-contact-details-divider-color: var(--wp--preset--color--greige);
	--adesign-contact-details-column-padding: var(--wp--preset--spacing--20) var(--wp--preset--spacing--40);
	--adesign-contact-details-social-ring-size: 2.75rem;
	--adesign-contact-details-social-icon-size: 1.2rem;
	--adesign-contact-details-social-gap: 0.75rem;
	--adesign-contact-details-social-offset: var(--wp--preset--spacing--60);
	--adesign-contact-details-social-hover-background: var(--wp--preset--color--greige-light);
	--adesign-contact-details-social-hover-color: var(--wp--preset--color--charcoal);

	line-height: 1.5;
}

/* Two classes and the alignment, to win over core's .is-layout-constrained > .alignwide width. */
.adesign-contact-details.adesign-contact-details--columns.alignwide {
	max-width: 75rem;
	margin-inline: auto;
}

/* The labels: small sans capitals, as the experience items' titles. */
.adesign-contact-details__label {
	font-size: var(--wp--preset--font-size--small);
	letter-spacing: var(--wp--custom--letter-spacing--label);
	line-height: 1.4;
	text-transform: uppercase;
}

/* The social links sit between two short taupe hairlines, as a section title does. */
.adesign-contact-details.adesign-contact-details--columns .adesign-contact-details__social {
	flex-wrap: nowrap;
}

.adesign-contact-details--columns .adesign-contact-details__social::before,
.adesign-contact-details--columns .adesign-contact-details__social::after {
	content: "";
	flex: 0 1 4rem;
	min-width: 1rem;
	margin-inline: var(--wp--preset--spacing--30);
	border-top: 1px solid var(--wp--preset--color--taupe);
}

/* The map at full width, after the details; the booking band after it. */
.adesign-location-map.alignfull {
	--adesign-location-map-height: clamp(24rem, 34vw, 38rem);
}

.wp-block-adesign-contact-details-contact-details.adesign-contact-details--columns + .wp-block-adesign-location-map-location-map.alignfull {
	margin-top: var(--wp--preset--spacing--70);
}

.wp-block-adesign-location-map-location-map.alignfull + .wp-block-adesign-cta-band-cta-band.adesign-cta-band {
	margin-top: var(--wp--preset--spacing--70);
}

/* Tablets: the values at medium keep the street and each opening-hours line whole in their columns. !important matches core's preset class. */
@media (min-width: 768px) and (max-width: 1023.98px) {

	.adesign-contact-details.adesign-contact-details--columns.has-large-font-size {
		font-size: var(--wp--preset--font-size--medium) !important;
	}
}

@media (max-width: 767.98px) {

	.adesign-contact-details--columns {
		--adesign-contact-details-column-padding: var(--wp--preset--spacing--40) 0;
		--adesign-contact-details-social-offset: var(--wp--preset--spacing--40);
	}

	/* Shorter hairlines with less room around them, so the social row fits at 320px. */
	.adesign-contact-details--columns .adesign-contact-details__social::before,
	.adesign-contact-details--columns .adesign-contact-details__social::after {
		min-width: 0.5rem;
		margin-inline: var(--wp--preset--spacing--20);
	}

	.adesign-location-map.alignfull {
		--adesign-location-map-height: 360px;
	}

	.wp-block-adesign-contact-details-contact-details.adesign-contact-details--columns + .wp-block-adesign-location-map-location-map.alignfull {
		margin-top: var(--wp--preset--spacing--50);
	}
}

/*
 * The narrowest screens, or a larger default text size: the hairlines give way and the
 * social row may wrap, so the page never scrolls sideways. In em, so it follows the
 * browser's text size (22.5em is 360px at the default 16px).
 */
@media (max-width: 22.49em) {

	.adesign-contact-details--columns .adesign-contact-details__social::before,
	.adesign-contact-details--columns .adesign-contact-details__social::after {
		display: none;
	}

	.adesign-contact-details.adesign-contact-details--columns .adesign-contact-details__social {
		flex-wrap: wrap;
	}
}

/* Booking modal --------------------------------------------------------- */

/*
 * ADesign Booking Modal in the NØDE look: look A of the 2026-10-11 preview
 * (docs/previews/booking-modal/). An ivory card with the full logo in charcoal, a short taupe
 * hairline, the serif title, the light sans text and the two buttons stacked, the call
 * button solid charcoal. Phones keep the card, with a smaller logo. The rules start with
 * .adesign-booking-modal so they outrank the plugin's base styles in any order.
 */
.adesign-booking-modal {
	--adesign-booking-modal-background: var(--wp--preset--color--ivory);
	--adesign-booking-modal-color: var(--wp--preset--color--charcoal);
	--adesign-booking-modal-backdrop: color-mix(in srgb, var(--wp--preset--color--charcoal) 62%, transparent);
	--adesign-booking-modal-width: 27rem;
	--adesign-booking-modal-padding: var(--wp--preset--spacing--50);
	--adesign-booking-modal-logo-height: 7.5rem;
	--adesign-booking-modal-logo-color: var(--wp--preset--color--charcoal);
	--adesign-booking-modal-gap: var(--wp--preset--spacing--50);
	--adesign-booking-modal-button-background: var(--wp--preset--color--charcoal);
	--adesign-booking-modal-button-color: var(--wp--preset--color--ivory);
	--adesign-booking-modal-outline-hover-background: var(--wp--preset--color--greige-light);
	font-family: var(--wp--preset--font-family--sans);
}

/* A short hairline between the logo and the title, as beside the section titles. */
.adesign-booking-modal .adesign-booking-modal__body::before {
	content: "";
	display: block;
	width: 2.5rem;
	height: 1px;
	margin: var(--wp--preset--spacing--40) auto;
	background: var(--wp--preset--color--taupe);
}

.adesign-booking-modal .adesign-booking-modal__title {
	margin: 0;
	font-family: var(--wp--preset--font-family--serif);
	font-size: var(--wp--preset--font-size--x-large);
	font-weight: 400;
	line-height: var(--wp--custom--line-height--tight);
}

.adesign-booking-modal .adesign-booking-modal__text {
	max-width: 22rem;
	margin: 0.75rem auto 0;
	font-size: var(--wp--preset--font-size--medium);
	font-weight: 300;
	line-height: var(--wp--custom--line-height--body);
	text-wrap: pretty;
}

.adesign-booking-modal .adesign-booking-modal__button {
	gap: 0.5em 0.9em;
	min-height: 3.25rem;
	padding: 0.95em 1.4em;
	font-size: var(--wp--preset--font-size--x-small);
	font-weight: 400;
	letter-spacing: var(--wp--custom--letter-spacing--label);
	line-height: 1;
	text-transform: uppercase;
}

.adesign-booking-modal .adesign-booking-modal__button .adesign-booking-modal__icon {
	width: 1.6em;
	height: 1.6em;
}

/* The number after a hairline: computers can't always call, so they can read it. */
.adesign-booking-modal .adesign-booking-modal__detail {
	padding-inline-start: 0.9em;
	border-inline-start: 1px solid currentColor;
	letter-spacing: 0.12em;
}

/* Hover turns the solid button into an outline, like the theme's own buttons. */
.adesign-booking-modal .adesign-booking-modal__button--phone:hover,
.adesign-booking-modal .adesign-booking-modal__button--phone:focus-visible {
	background: transparent;
	color: var(--wp--preset--color--charcoal);
}

.adesign-booking-modal .adesign-booking-modal__close svg {
	transition: transform 0.3s ease;
}

.adesign-booking-modal .adesign-booking-modal__close:hover svg {
	transform: rotate(90deg);
}

@media (max-width: 767.98px) {

	.adesign-booking-modal {
		--adesign-booking-modal-padding: var(--wp--preset--spacing--50) var(--wp--preset--spacing--40);
		--adesign-booking-modal-logo-height: 5.5rem;
	}

	.adesign-booking-modal .adesign-booking-modal__button {
		padding-inline: 1em;
	}
}

@media (prefers-reduced-motion: reduce) {

	.adesign-booking-modal .adesign-booking-modal__close svg {
		transition: none;
	}
}

/* Scroll reveal --------------------------------------------------------- */

/*
 * assets/js/reveal.js marks the parts of the homepage sections, the Photo and text rows,
 * the Closing statement, the Contact details' columns and the Galerie's photos and pairs
 * that start below the screen, then reveals each as it scrolls into view: a fade and a
 * rise of 16px over 800ms, once
 * (design.md §8). Only transform and opacity animate.
 */
.nodebeauty-reveal {
	opacity: 0;
	transform: translateY(16px);
	transition: opacity 800ms ease-out, transform 800ms ease-out;
}

.nodebeauty-reveal.is-revealed {
	opacity: 1;
	transform: none;
}

@media (prefers-reduced-motion: reduce) {
	.nodebeauty-reveal {
		opacity: 1;
		transform: none;
		transition: none;
	}
}

/* A printout shows every part, whether or not it has scrolled into view yet. */
@media print {
	.nodebeauty-reveal {
		opacity: 1;
		transform: none;
		transition: none;
	}
}

/* Helpers --------------------------------------------------------------- */

.nodebeauty-visually-hidden {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

/* Page intro and Services page --------------------------------------------- */

/*
 * The Servicii page (design.md, Servicii page): the intro with links to the categories,
 * then one section per category, with its name, photo, notes and booking button in a side
 * column beside its price lists. ADesign Price List gets the NØDE look through its custom
 * properties. The values follow the 2026-10-09 preview (docs/previews/servicii/). The
 * Page intro (nodebeauty/page-intro) shares the intro's look, without the links.
 */

.wp-block-group.nodebeauty-services-intro.alignwide,
.wp-block-group.nodebeauty-page-intro.alignwide,
.wp-block-group.nodebeauty-services-category.alignwide {
	max-width: 75rem;
	margin-inline: auto;
}

.nodebeauty-services-intro,
.nodebeauty-page-intro {
	padding-block: var(--wp--preset--spacing--60);
	text-align: center;
}

.nodebeauty-services-intro .wp-block-post-title,
.nodebeauty-page-intro .wp-block-post-title {
	margin: 0;
}

/*
 * Small sans capitals: the page intro's line, Servicii's links, the closing statement's areas
 * and the category lines.
 */
.nodebeauty-page-intro__line,
.nodebeauty-jump-links,
.nodebeauty-statement__areas,
.nodebeauty-services-category__line,
.adesign-price-list .adesign-price-list__head,
.adesign-price-list .adesign-price-list__label,
.adesign-price-list .adesign-price-list__includes summary,
.adesign-price-list .adesign-price-list__body > .wp-block-heading {
	font-family: var(--wp--preset--font-family--sans);
	font-size: var(--wp--preset--font-size--x-small);
	font-weight: 400;
	letter-spacing: var(--wp--custom--letter-spacing--label);
	line-height: 1.6;
	text-transform: uppercase;
}

.nodebeauty-page-intro__line {
	margin: var(--wp--preset--spacing--30) 0 0;
}

/*
 * The jump links, and the closing statement's areas: centred rows. The areas sit between
 * taupe hairlines; the jump links, which wrap onto a second row, between taupe middle dots.
 */
.nodebeauty-jump-links,
.nodebeauty-statement__areas {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.75rem 0;
	margin: var(--wp--preset--spacing--50) 0 0;
	padding: 0;
	list-style: none;
}

.nodebeauty-statement__areas li + li {
	border-inline-start: 1px solid var(--wp--preset--color--taupe);
}

.nodebeauty-jump-links li {
	display: flex;
	align-items: center;
	justify-content: center;
}

.nodebeauty-jump-links li + li::before {
	content: "·";
	content: "·" / "";
	color: var(--wp--preset--color--taupe);
}

.nodebeauty-jump-links a {
	display: block;
	padding: 0.35rem 1.4rem;
	text-decoration: none;
}

.nodebeauty-jump-links a:hover {
	text-decoration: underline;
	text-underline-offset: 0.4em;
}

/* Categories: a hairline between them, and the room their anchor links scroll to. */
.nodebeauty-services-category {
	scroll-margin-top: var(--wp--preset--spacing--50);
}

.nodebeauty-services-category + .nodebeauty-services-category {
	margin-top: var(--wp--preset--spacing--80);
	padding-top: var(--wp--preset--spacing--70);
	border-top: 1px solid var(--wp--preset--color--greige);
}

.nodebeauty-services-category .wp-block-columns.nodebeauty-services-category__columns {
	gap: var(--wp--preset--spacing--70);
	margin: 0;
}

/* The booking band after the last category: the same room as between categories. */
.nodebeauty-services-category + .wp-block-adesign-cta-band-cta-band.adesign-cta-band {
	margin-top: var(--wp--preset--spacing--80);
}

/*
 * The name shrinks with its column, so a long single word such as MICRONEEDLING stays whole on
 * its line instead of breaking inside it; 9.5cqi fits about 13 capitals.
 */
.nodebeauty-services-category__head {
	container-type: inline-size;
}

.nodebeauty-services-category__name {
	margin: 0;
	font-size: min(var(--wp--preset--font-size--xx-large), 9.5cqi);
	letter-spacing: var(--wp--custom--letter-spacing--title);
	text-transform: uppercase;
}

.nodebeauty-services-category__line {
	margin: var(--wp--preset--spacing--20) 0 0;
}

.nodebeauty-services-category__photo {
	aspect-ratio: 4 / 3;
	overflow: hidden;
	margin: var(--wp--preset--spacing--40) 0 0;
	background: var(--wp--preset--color--greige-light);
}

.nodebeauty-services-category__photo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.nodebeauty-services-category__notes {
	margin: var(--wp--preset--spacing--40) 0 0;
	padding: 0;
	list-style: none;
	font-size: var(--wp--preset--font-size--small);
	line-height: 1.5;
}

.nodebeauty-services-category__notes li {
	padding-block: 0.6rem;
	border-top: 1px solid var(--wp--preset--color--greige);
}

.nodebeauty-services-category__notes li:last-child {
	border-bottom: 1px solid var(--wp--preset--color--greige);
}

.nodebeauty-services-category__logo {
	margin: var(--wp--preset--spacing--40) 0 0;
}

.nodebeauty-products-box {
	margin-top: var(--wp--preset--spacing--40);
	padding: var(--wp--preset--spacing--30);
	border: 1px solid var(--wp--preset--color--taupe);
	font-size: var(--wp--preset--font-size--small);
	text-align: center;
}

.nodebeauty-products-box p {
	margin: 0;
}

.nodebeauty-products-box .wp-block-image {
	display: flex;
	justify-content: center;
}

/* The booking button, last in the side column; below 1024 px it closes the category. */
.nodebeauty-services-category .nodebeauty-services-category__book {
	margin-top: var(--wp--preset--spacing--40);
}

.nodebeauty-services-note {
	margin-bottom: var(--wp--preset--spacing--50);
	padding: var(--wp--preset--spacing--40);
	background: var(--wp--preset--color--greige-light);
	font-size: var(--wp--preset--font-size--small);
}

.nodebeauty-services-note p {
	margin: 0;
}

.nodebeauty-services-note p + p {
	margin-top: 0.35rem;
}

/* On the site only, so the editor keeps plain columns. */
@media (min-width: 1024px) {

	.wp-site-blocks .nodebeauty-services-category__side {
		position: sticky;
		top: var(--wp--preset--spacing--50);
		align-self: flex-start;
	}
}

/* Phones and tablets: the name and photo, then the prices, the notes and the products box, then the booking button. */
@media (max-width: 1023.98px) {

	.wp-site-blocks .nodebeauty-services-category .wp-block-columns.nodebeauty-services-category__columns {
		flex-direction: column;
		flex-wrap: nowrap !important;
		align-items: stretch;
		gap: var(--wp--preset--spacing--50);
	}

	.wp-site-blocks .nodebeauty-services-category .wp-block-columns.nodebeauty-services-category__columns > .wp-block-column {
		flex-basis: auto !important;
		width: 100%;
	}

	.wp-site-blocks .nodebeauty-services-category__side {
		display: contents;
	}

	.wp-site-blocks .nodebeauty-services-category__head {
		order: 1;
	}

	.wp-site-blocks .nodebeauty-services-category__main {
		order: 2;
	}

	.wp-site-blocks .nodebeauty-services-category__extra {
		order: 3;
	}

	.wp-site-blocks .nodebeauty-services-category .nodebeauty-services-category__book {
		order: 4;
		margin-top: 0;
	}

	.nodebeauty-services-category__photo {
		aspect-ratio: 3 / 2;
	}
}

@media (max-width: 599.98px) {

	.nodebeauty-jump-links,
	.nodebeauty-statement__areas {
		flex-direction: column;
		gap: 0.25rem;
	}

	.nodebeauty-statement__areas li + li {
		border-inline-start: 0;
	}

	.nodebeauty-jump-links li + li::before {
		content: none;
	}
}

/*
 * ADesign Price List: greige hairlines, taupe-deep secondary text, sans titles in capitals.
 * The rules start with .adesign-price-list, so they outrank the plugin's own single-class
 * rules whichever stylesheet loads last.
 */
.adesign-price-list {
	--adesign-price-list-line: var(--wp--preset--color--greige);
	--adesign-price-list-muted: var(--wp--preset--color--taupe-deep);
	--adesign-price-list-price-width: 7.75rem;
	--adesign-price-list-gap: var(--wp--preset--spacing--30);
	--adesign-price-list-row-padding: 0.9rem;
}

.adesign-price-list + .adesign-price-list {
	margin-top: var(--wp--preset--spacing--60);
}

.adesign-price-list.is-folded {
	border-block: 1px solid var(--wp--preset--color--greige);
}

.adesign-price-list.is-folded + .adesign-price-list.is-folded {
	margin-top: -1px;
}

/* The list's own hairline closes a folded list, so its last service needs none. */
.adesign-price-list.is-folded .adesign-price-list__body > .adesign-price-list__service:last-child {
	border-bottom: 0;
}

.adesign-price-list .adesign-price-list__title {
	margin: 0 0 var(--wp--preset--spacing--30);
	font-family: var(--wp--preset--font-family--sans);
	font-size: var(--wp--preset--font-size--large);
	font-weight: 400;
	letter-spacing: var(--wp--custom--letter-spacing--title);
	line-height: 1.3;
	text-transform: uppercase;
}

.adesign-price-list.is-folded .adesign-price-list__title {
	margin: 0;
}

.adesign-price-list .adesign-price-list__note {
	margin-top: 0.2rem;
	font-size: var(--wp--preset--font-size--small);
	letter-spacing: 0;
	text-transform: none;
}

.adesign-price-list .adesign-price-list__toggle {
	padding-block: 1.1rem;
}

.adesign-price-list .adesign-price-list__toggle:focus-visible,
.adesign-price-list .adesign-price-list__includes summary:focus-visible {
	outline: 1px solid currentColor;
	outline-offset: 3px;
}

.adesign-price-list .adesign-price-list__head {
	letter-spacing: 0.1em;
	line-height: 1.35;
}

.adesign-price-list .adesign-price-list__description,
.adesign-price-list .adesign-price-list__includes,
.adesign-price-list .adesign-price-list__body > p {
	font-size: var(--wp--preset--font-size--small);
}

.adesign-price-list .adesign-price-list__price-note {
	font-size: var(--wp--preset--font-size--x-small);
}

.adesign-price-list .adesign-price-list__body > .wp-block-heading {
	margin: var(--wp--preset--spacing--40) 0 0.5rem;
}

.adesign-price-list .adesign-price-list__body > p {
	margin: 0.75rem 0 0;
}

/* Photo and text ----------------------------------------------------------- */

/*
 * The Photo and text rows (nodebeauty/photo-text): core Media & Text blocks with the class
 * nodebeauty-photo-text, first used on Despre noi (design.md, Despre noi). The photo fills
 * 45% of the row at 4:5, cropped around its focal point, beside text 32rem wide at most;
 * below 782px it sits above its text at 3:2. The rules are scoped to the class, so other
 * Media & Text blocks keep core's look. The values follow the 2026-10-10 preview
 * (docs/previews/despre-noi/).
 */

.wp-block-media-text.nodebeauty-photo-text.alignwide {
	max-width: 75rem;
	margin-inline: auto;
}

.wp-block-media-text.nodebeauty-photo-text + .wp-block-media-text.nodebeauty-photo-text {
	margin-top: var(--wp--preset--spacing--70);
}

/* Core's "crop to fill" gives the photo the row's height; the theme gives it a 4:5 frame. */
.wp-block-media-text.nodebeauty-photo-text.is-image-fill-element > .wp-block-media-text__media {
	height: auto;
	min-height: 0;
	aspect-ratio: 4 / 5;
	background: var(--wp--preset--color--greige-light);
}

/* In the editor, core's resizer forces the photo to the row's height (height: 100% !important): keep the frame there too. */
.wp-block-media-text.nodebeauty-photo-text.is-image-fill-element > .editor-media-container__resizer {
	height: auto !important;
}

/* The text: spacing 70 on the photo's side only, in place of core's 8% on both sides. */
.wp-block-media-text.nodebeauty-photo-text > .wp-block-media-text__content {
	padding: 0 0 0 var(--wp--preset--spacing--70);
}

.wp-block-media-text.nodebeauty-photo-text.has-media-on-the-right > .wp-block-media-text__content {
	padding: 0 var(--wp--preset--spacing--70) 0 0;
}

/* The text area has no flow layout, so the theme sets its margins: more after a lead. */
.nodebeauty-photo-text .wp-block-media-text__content > * {
	max-width: 32rem;
	margin-block: 0;
}

.nodebeauty-photo-text .wp-block-media-text__content > * + * {
	margin-block-start: 1.25em;
}

.nodebeauty-photo-text .wp-block-media-text__content > .is-style-lead + * {
	margin-block-start: var(--wp--preset--spacing--50);
}

/* Below core Columns' breakpoint, as on Contact: one column, the photo first, at 3:2. */
@media (max-width: 781.98px) {

	.wp-block-media-text.nodebeauty-photo-text.is-stacked-on-mobile {
		grid-template-columns: 100% !important;
	}

	.wp-block-media-text.nodebeauty-photo-text.is-stacked-on-mobile > .wp-block-media-text__media {
		grid-column: 1;
		grid-row: 1;
	}

	.wp-block-media-text.nodebeauty-photo-text.is-stacked-on-mobile > .wp-block-media-text__content {
		grid-column: 1;
		grid-row: 2;
		padding: var(--wp--preset--spacing--50) 0 0;
	}

	.wp-block-media-text.nodebeauty-photo-text.is-image-fill-element.is-stacked-on-mobile > .wp-block-media-text__media {
		aspect-ratio: 3 / 2;
	}
}

/* Closing statement -------------------------------------------------------- */

/*
 * The Closing statement (nodebeauty/statement), first used at the end of Despre noi: a row
 * of short items, styled with the jump links above, and a closing line in the serif italic,
 * over the NØDE symbol in taupe at 12%. The symbol is CSS, so screen readers never meet it.
 */

.wp-block-group.nodebeauty-statement.alignwide {
	max-width: 75rem;
	margin-inline: auto;
}

.wp-block-group.nodebeauty-statement {
	position: relative;
	isolation: isolate;
	margin-top: var(--wp--preset--spacing--70);
	padding-block: var(--wp--preset--spacing--50);
	text-align: center;
}

.wp-block-group.nodebeauty-statement::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: var(--wp--preset--color--taupe);
	opacity: 0.12;
	mask: url("../images/logo-node-symbol.svg") center / contain no-repeat;
}

.nodebeauty-statement .nodebeauty-statement__areas {
	margin: 0 0 var(--wp--preset--spacing--50);
}

.nodebeauty-statement__areas li {
	padding: 0.35rem 1.4rem;
}

.nodebeauty-statement__line {
	max-width: 40rem;
	margin: 0 auto;
	font-family: var(--wp--preset--font-family--serif);
	font-size: var(--wp--preset--font-size--xx-large);
	font-style: italic;
	font-weight: 400;
	line-height: 1.25;
	text-wrap: balance;
}

/* A booking band right after the statement: less room than after a row, as the statement has its own padding. */
.nodebeauty-statement + .wp-block-adesign-cta-band-cta-band.adesign-cta-band {
	margin-top: var(--wp--preset--spacing--60);
}

/* Galerie ---------------------------------------------------------------- */

/*
 * ADesign Mosaic Gallery and ADesign Before After in the NØDE look: layout C of the 2026-10-11 preview
 * (docs/previews/galerie/), with the slider. Each category under a small label and a short
 * hairline; the photos and the pairs spacing 30 apart; the lightbox on charcoal; the sliders'
 * ivory line and labels. The rules start with :root, so they outrank the plugins' two-class
 * base rules in any stylesheet order.
 */
:root .adesign-mosaic-gallery {
	--adesign-mosaic-gallery-gap: var(--wp--preset--spacing--30);
	--adesign-mosaic-gallery-photo-background: var(--wp--preset--color--greige-light);
}

:root .adesign-before-after {
	--adesign-before-after-gap: var(--wp--preset--spacing--30);
	--adesign-before-after-line-color: var(--wp--preset--color--ivory);
	/* 60%, not the preview's 45%: the handle keeps 3:1 over a white photo (WCAG 1.4.11). */
	--adesign-before-after-handle-background: color-mix(in srgb, var(--wp--preset--color--charcoal) 60%, transparent);
	--adesign-before-after-handle-color: var(--wp--preset--color--ivory);
	--adesign-before-after-label-background: var(--wp--preset--color--ivory);
	--adesign-before-after-label-color: var(--wp--preset--color--charcoal);
	--adesign-before-after-focus-color: var(--wp--preset--color--charcoal);
}

/* Three classes and the alignment, to win over core's .is-layout-constrained > .alignwide width. */
.wp-block-adesign-mosaic-gallery-mosaic-gallery.adesign-mosaic-gallery.alignwide,
.wp-block-adesign-before-after-before-after.adesign-before-after.alignwide {
	max-width: 75rem;
	margin-inline: auto;
}

/* Spacing 60 after the intro and between categories; spacing 80 before the booking band, as on Servicii. */
:root .nodebeauty-page-intro + :is(.adesign-mosaic-gallery, .adesign-before-after),
:root :is(.adesign-mosaic-gallery, .adesign-before-after) + :is(.adesign-mosaic-gallery, .adesign-before-after) {
	margin-block-start: var(--wp--preset--spacing--60);
}

:root :is(.adesign-mosaic-gallery, .adesign-before-after) + .wp-block-adesign-cta-band-cta-band.adesign-cta-band {
	margin-top: var(--wp--preset--spacing--80);
}

/* The label: small sans capitals in taupe-deep (4.54:1 on ivory), then a 3rem taupe hairline. */
:root .adesign-mosaic-gallery .adesign-mosaic-gallery__title,
:root .adesign-before-after .adesign-before-after__title {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin: 0 0 var(--wp--preset--spacing--30);
	color: var(--wp--preset--color--taupe-deep);
	font-family: var(--wp--preset--font-family--sans);
	font-size: var(--wp--preset--font-size--x-small);
	font-weight: 400;
	letter-spacing: var(--wp--custom--letter-spacing--label);
	line-height: 1.4;
	text-transform: uppercase;
}

:root .adesign-mosaic-gallery .adesign-mosaic-gallery__title::after,
:root .adesign-before-after .adesign-before-after__title::after {
	content: "";
	flex: 0 0 3rem;
	height: 1px;
	background: var(--wp--preset--color--taupe);
}

:root .adesign-mosaic-gallery .adesign-mosaic-gallery__photo:focus-visible {
	outline-color: var(--wp--preset--color--charcoal);
}

/* The lightbox: charcoal at 96%, ivory text (11.85:1), the counter in champagne (7.38:1). */
:root .adesign-mosaic-gallery-lightbox {
	--adesign-mosaic-gallery-lightbox-background: color-mix(in srgb, var(--wp--preset--color--charcoal) 96%, transparent);
	--adesign-mosaic-gallery-lightbox-color: var(--wp--preset--color--ivory);
	--adesign-mosaic-gallery-lightbox-accent: var(--wp--preset--color--champagne);
	font-family: var(--wp--preset--font-family--sans);
}

/* The scrollbar's room beside the open lightbox: the sheet's own colour over the ivory page. */
:root {
	--adesign-mosaic-gallery-lightbox-gutter: color-mix(in srgb, var(--wp--preset--color--charcoal) 96%, var(--wp--preset--color--ivory));
}

:root .adesign-mosaic-gallery-lightbox .adesign-mosaic-gallery-lightbox__count {
	font-size: var(--wp--preset--font-size--x-small);
	letter-spacing: var(--wp--custom--letter-spacing--label);
}

:root .adesign-mosaic-gallery-lightbox figcaption {
	font-size: var(--wp--preset--font-size--small);
}

/* The sliders' labels (charcoal on ivory, 13.23:1) and the handle's arrows. */
:root .adesign-before-after .adesign-before-after__label {
	font-family: var(--wp--preset--font-family--sans);
	font-size: var(--wp--preset--font-size--x-small);
	letter-spacing: var(--wp--custom--letter-spacing--label);
	text-transform: uppercase;
}

:root .adesign-before-after .adesign-before-after__handle::after {
	font-size: var(--wp--preset--font-size--medium);
}

/* 404 page ---------------------------------------------------------------- */

/*
 * The 404 page (design.md, 404): 4, the NØDE symbol in place of the 0, then 4, over the
 * title, a line and two buttons, centred between the header and the footer. The values
 * follow the 2026-10-14 preview (docs/previews/404/).
 */

.wp-block-group.nodebeauty-404-main {
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.wp-block-group.nodebeauty-404 {
	padding-block: var(--wp--preset--spacing--70);
	text-align: center;
}

/* The number is Jost extra-light, whose stroke matches the symbol's line. */
.nodebeauty-404__code {
	margin: 0;
	font-family: var(--wp--preset--font-family--sans);
	font-size: clamp(8rem, 30vw, 18rem);
	font-weight: 200;
	line-height: 1;
	white-space: nowrap;
}

/*
 * The symbol stands in for the 0. Its circle is 78.8% of the file's height, the slash
 * running past it above and below. The circle is drawn as tall as Jost's figures (0.7em,
 * measured on 2026-10-14) plus a round letter's 3% overshoot, and centred on them:
 * 0.7em × 1.03 × 315.78 / 248.87 tall, its bottom 0.107em below the baseline.
 */
.nodebeauty-404__symbol {
	display: inline-block;
	width: auto;
	height: 0.915em;
	margin-inline: 0.04em;
	vertical-align: -0.107em;
	fill: currentColor;
}

.nodebeauty-404 .nodebeauty-404__title {
	margin: var(--wp--preset--spacing--50) 0 0;
	font-size: var(--wp--preset--font-size--xx-large);
	text-wrap: balance;
}

.nodebeauty-404 .nodebeauty-404__line {
	max-width: 32rem;
	margin: var(--wp--preset--spacing--30) auto 0;
	font-size: var(--wp--preset--font-size--large);
	font-weight: 300;
	text-wrap: balance;
}

.nodebeauty-404 .nodebeauty-404__buttons {
	gap: var(--wp--preset--spacing--30);
	margin-top: var(--wp--preset--spacing--50);
}
