/* Ambivella theme — supplementary styles. Core tokens live in theme.json. */

:root {
	--amb-radius: 14px;
	--amb-glow: 0 0 0 1px rgba(255, 102, 0, 0.35), 0 12px 45px rgba(255, 102, 0, 0.18);
	--amb-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; }
::selection { background: var(--wp--preset--color--pumpkin); color: var(--wp--preset--color--base); }
:where(a, button, input, select, textarea, summary):focus-visible {
	outline: 2px solid var(--wp--preset--color--celestial);
	outline-offset: 3px;
}

/* ---------- Type helpers ---------- */
.ambivella-accent-line,
.is-style-accent {
	font-family: var(--wp--preset--font-family--accent);
	font-weight: 500;
	font-style: italic;
	letter-spacing: 0;
	line-height: 1.3;
	color: var(--wp--preset--color--cream);
}
.ambivella-eyebrow,
.ambivella-eyebrow a {
	font-family: var(--wp--preset--font-family--heading);
	font-size: 0.75rem !important;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--wp--preset--color--pumpkin);
}
.ambivella-footer-heading {
	font-size: 0.8rem !important;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--wp--preset--color--cream) !important;
	margin-bottom: 1rem;
}
.ambivella-plain-list { list-style: none; padding-left: 0; margin: 0; }
.ambivella-plain-list li { margin: 0 0 0.55rem; }
.ambivella-footer a { color: var(--wp--preset--color--muted); }
.ambivella-footer a:hover { color: var(--wp--preset--color--pumpkin); }

/* ---------- Header ---------- */
/* Sticky nav: the whole header template part sticks; the announcement bar
   scrolls away via a negative top offset measured in JS (--amb-announce-h). */
.wp-site-blocks > header.wp-block-template-part,
.wp-site-blocks > .wp-block-template-part:first-child {
	position: sticky;
	top: calc(var(--amb-announce-h, 34px) * -1);
	z-index: 60;
}
.admin-bar .wp-site-blocks > header.wp-block-template-part,
.admin-bar .wp-site-blocks > .wp-block-template-part:first-child { top: calc(32px - var(--amb-announce-h, 34px)); }
@media (max-width: 782px) {
	.admin-bar .wp-site-blocks > header.wp-block-template-part,
	.admin-bar .wp-site-blocks > .wp-block-template-part:first-child { top: calc(var(--amb-announce-h, 34px) * -1); }
}
.ambivella-header {
	position: relative;
	background-color: transparent !important;
	transition: box-shadow .3s;
}
/* Blur lives on a pseudo-element: backdrop-filter on the header itself would trap
   the fixed-position mobile menu overlay inside the header bar. */
.ambivella-header::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background-color: rgba(21, 25, 30, 0.9);
	-webkit-backdrop-filter: saturate(140%) blur(10px);
	backdrop-filter: saturate(140%) blur(10px);
}
.ambivella-header.is-stuck { box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45); }
.ambivella-brand .wp-block-site-logo img { filter: none; }
@media (max-width: 600px) { .ambivella-brand .wp-block-site-logo img { width: 130px !important; } }
.ambivella-brand .wp-block-site-logo img { filter: drop-shadow(0 0 6px rgba(255, 102, 0, 0.55)); }
.ambivella-announce a { color: var(--wp--preset--color--cream); }
.ambivella-nav .wp-block-navigation-item__content { color: var(--wp--preset--color--cream); transition: color .2s; }
.ambivella-nav .wp-block-navigation-item__content:hover { color: var(--wp--preset--color--pumpkin); }
.ambivella-nav .wp-block-navigation__submenu-container {
	background: var(--wp--preset--color--base-3) !important;
	border: 1px solid var(--wp--preset--color--line) !important;
	border-radius: 12px;
	padding: 0.5rem 0;
	min-width: 230px !important;
	box-shadow: var(--wp--preset--shadow--soft);
}
.ambivella-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content { padding: 0.5rem 1.1rem !important; }
.ambivella-header-icons { color: var(--wp--preset--color--cream); }
.ambivella-header-icons .wp-block-search__button {
	background: transparent;
	color: var(--wp--preset--color--cream);
	padding: 0.35rem;
	border: 0;
}
.ambivella-header-icons .wp-block-search__input {
	background: var(--wp--preset--color--base-3);
	color: var(--wp--preset--color--cream);
	border: 1px solid var(--wp--preset--color--line);
	border-radius: 999px;
	padding: 0.45rem 1rem;
}
.ambivella-header-icons svg { fill: currentColor; }
.ambivella-header-icons { align-items: center !important; }
.ambivella-header-icons > * { display: flex; align-items: center; margin: 0 !important; }
.ambivella-header-icons .wp-block-search__button,
.ambivella-header-icons .wp-block-woocommerce-customer-account a,
.ambivella-header-icons .wc-block-mini-cart__button { width: 40px; height: 40px; padding: 0 !important; margin: 0 !important; display: inline-flex; align-items: center; justify-content: center; }
.ambivella-header-icons .wp-block-search__inside-wrapper { align-items: center; }
.ambivella-header-icons .wp-block-search__button svg { width: 24px; height: 24px; }
.wc-block-mini-cart__badge { background: var(--wp--preset--color--pumpkin) !important; color: var(--wp--preset--color--base) !important; border-color: var(--wp--preset--color--base) !important; }
@media (max-width: 600px) {
	.ambivella-header .wp-block-site-title { font-size: 1.1rem !important; }
	.ambivella-header-icons .wp-block-search { display: none; }
}

/* ---------- Buttons ---------- */
.wp-element-button,
.wp-block-button__link { transition: background-color .25s var(--amb-ease), color .25s, box-shadow .25s, transform .25s var(--amb-ease); }
/* Figma buttons: square, letter-spaced caps.
   White button -> orange with white text on hover.
   Black button (outline style) -> cyan with black text on hover. */
.wp-block-button__link { border: 0 !important; border-radius: 0 !important; box-shadow: none !important; text-align: center; }
.wp-block-button:not(.is-style-outline):not(.is-style-whatsapp):not(.wc-block-components-product-button) .wp-block-button__link:hover {
	background-color: var(--wp--preset--color--pumpkin) !important;
	color: #fff !important;
}
/* Black button: solid, no border, cyan with white text on hover. */
.wp-block-button.is-style-outline .wp-block-button__link { background-color: #000 !important; color: #fff !important; padding: 0.95rem 2.2rem; }
.wp-block-button.is-style-outline .wp-block-button__link:hover {
	background-color: var(--wp--preset--color--celestial) !important;
	color: #fff !important;
}
.is-style-whatsapp .wp-block-button__link { background: #25D366 !important; color: #0B2016 !important; }
.is-style-whatsapp .wp-block-button__link:hover { background: #1EBE5A !important; }
/* Buttons in a row share one width (the widest label wins). */
.wp-block-buttons:has(> .wp-block-button + .wp-block-button) {
	display: inline-grid;
	grid-auto-flow: column;
	grid-auto-columns: 1fr;
	gap: 0.9rem;
	width: max-content;
	max-width: 100%;
}
.wp-block-buttons.is-content-justification-center:has(> .wp-block-button + .wp-block-button) { display: grid; margin-inline: auto; }
.wp-block-buttons:has(> .wp-block-button + .wp-block-button) > .wp-block-button { width: 100%; margin: 0; }
.wp-block-buttons:has(> .wp-block-button + .wp-block-button) .wp-block-button__link { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
@media (max-width: 600px) {
	.wp-block-buttons:has(> .wp-block-button + .wp-block-button) { display: grid; grid-auto-flow: row; width: 100%; }
}

/* ---------- Home: hero ---------- */
.ambivella-hero { min-height: min(88vh, 860px) !important; }
.ambivella-hero .wp-block-cover__inner-container { max-width: 1320px; width: 100%; position: relative; z-index: 2; padding-left: clamp(0.75rem, 5vw, 5.5rem); }
.ambivella-hero h1 { text-wrap: balance; max-width: 15ch; }
.ambivella-hero .ambivella-hero-sub { max-width: 34rem; }
.ambivella-hero .wp-block-cover__inner-container > * { margin-left: 0 !important; }
.ambivella-header-icons .wp-block-woocommerce-customer-account a { color: var(--wp--preset--color--cream); }
.ambivella-header-icons .wp-block-woocommerce-customer-account a:hover { color: var(--wp--preset--color--pumpkin); }

.ambivella-hero > .wp-block-cover__background {
	opacity: 1 !important;
	background: linear-gradient(90deg, rgba(21,25,30,0.88) 0%, rgba(21,25,30,0.5) 40%, rgba(21,25,30,0) 72%) !important;
}
.ambivella-hero::after {
	content: "";
	position: absolute; left: 0; right: 0; bottom: 0; height: 30%;
	background: linear-gradient(180deg, rgba(21,25,30,0) 0%, var(--wp--preset--color--base-3) 100%);
	pointer-events: none;
}
@media (max-width: 781px) {
	.ambivella-hero > .wp-block-cover__background {
		background: linear-gradient(180deg, rgba(21,25,30,0.05) 0%, rgba(21,25,30,0.1) 30%, rgba(21,25,30,0.82) 60%, rgba(21,25,30,0.96) 100%) !important;
	}
	.ambivella-hero { align-items: flex-end !important; }
	/* Phones: the text sits at the bottom, so enlarge the photo and lift it so the glowing moon shows above the headline. */
	.ambivella-hero > img.wp-block-cover__image-background { inset: auto 0 0 0; top: -45%; height: 145%; object-position: 67% 50% !important; }
	.ambivella-hero .ambivella-hero-sub { display: none; }
}

/* ---------- USP strip ---------- */
.ambivella-usps { border-top: 1px solid var(--wp--preset--color--line); border-bottom: 1px solid var(--wp--preset--color--line); }
.ambivella-usp p { margin: 0; }
.ambivella-usp strong { display: block; font-family: var(--wp--preset--font-family--heading); font-weight: 600; color: var(--wp--preset--color--contrast); font-size: 0.95rem; }
.ambivella-usp .ambivella-usp-icon { font-size: 1.4rem; line-height: 1; color: var(--wp--preset--color--pumpkin); }

/* ---------- Section heads ---------- */
.ambivella-section-head h2 { margin-top: 0.25rem; }
.ambivella-section-head .ambivella-accent-line { color: var(--wp--preset--color--muted); }

/* ---------- Category tiles ---------- */
.ambivella-tile {
	border-radius: var(--amb-radius);
	overflow: hidden;
	transition: box-shadow .35s var(--amb-ease), transform .35s var(--amb-ease);
}
.ambivella-tile img { transition: transform .8s var(--amb-ease), filter .4s; }
.ambivella-tile:hover { box-shadow: var(--amb-glow); transform: translateY(-3px); }
.ambivella-tile:hover img { transform: scale(1.06); filter: brightness(1.1); }
.ambivella-tile .wp-block-cover__inner-container { width: 100%; }
.ambivella-tile h3 { margin: 0; }
.ambivella-tile h3 a { color: var(--wp--preset--color--contrast); }
.ambivella-tile h3 a::after { content: ""; position: absolute; inset: 0; z-index: 2; }
.ambivella-tile p { margin: 0.25rem 0 0; }
.ambivella-tile > .wp-block-cover__background {
	opacity: 1 !important;
	background: linear-gradient(180deg, rgba(21,25,30,0) 35%, rgba(21,25,30,0.92) 100%) !important;
}

/* ---------- Mood panels ---------- */
.ambivella-mood {
	border: 1px solid var(--wp--preset--color--line);
	border-radius: var(--amb-radius);
	transition: border-color .3s, box-shadow .3s;
	height: 100%;
}
.ambivella-mood:hover { border-color: rgba(255, 102, 0, 0.6); box-shadow: var(--amb-glow); }
.ambivella-mood .ambivella-mood-swatch { width: 44px; height: 44px; border-radius: 50%; flex: none; }
.ambivella-mood-swatch.is-ambient { background: radial-gradient(circle at 50% 50%, #FFD9A8 0%, #FF8A2A 45%, rgba(255,102,0,0.15) 75%); box-shadow: 0 0 26px rgba(255,138,42,0.55); }
.ambivella-mood-swatch.is-accent { background: radial-gradient(circle at 35% 35%, #FFFFFF 0%, #FF6600 28%, #2A0F00 75%); box-shadow: 0 0 18px rgba(255,102,0,0.45); }
.ambivella-mood-swatch.is-task { background: radial-gradient(circle at 50% 50%, #FFFFFF 0%, #CFEFFF 35%, #00BFFF 80%); box-shadow: 0 0 20px rgba(0,191,255,0.5); }
.ambivella-mood-swatch.is-bespoke { background: conic-gradient(from 210deg, #FF6600, #E05A00, #00BFFF, #0081AF, #FF6600); box-shadow: 0 0 22px rgba(0,191,255,0.35); }
.ambivella-mood > p:last-child { margin-top: auto; }

/* Journal interactive blocks get more room than the text column. */
.amb-sim { max-width: min(1100px, 100%) !important; margin-left: auto !important; margin-right: auto !important; }

/* ---------- FAQ accordions ---------- */
.ambivella-faq {
	border-bottom: 1px solid var(--wp--preset--color--line);
	padding: 0;
	margin: 0 !important;
}
.ambivella-faq summary {
	cursor: pointer;
	list-style: none;
	padding: 1.1rem 2.2rem 1.1rem 0;
	position: relative;
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 500;
	color: var(--wp--preset--color--contrast);
}
.ambivella-faq summary::-webkit-details-marker { display: none; }
.ambivella-faq summary::after {
	content: "+";
	position: absolute; right: 0.25rem; top: 50%;
	transform: translateY(-50%);
	color: var(--wp--preset--color--pumpkin);
	font-size: 1.4rem; font-weight: 300;
	transition: transform .3s;
}
.ambivella-faq[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.ambivella-faq summary:hover { color: var(--wp--preset--color--pumpkin); }
.ambivella-faq > p { color: var(--wp--preset--color--muted); margin: 0 0 1.2rem; }
h2 + .ambivella-faq, .ambivella-faq-teaser h2 + .ambivella-faq { border-top: 1px solid var(--wp--preset--color--line); }

/* ---------- Shop the vibe ---------- */
.ambivella-vibe.wp-block-gallery figure.wp-block-image { aspect-ratio: 4 / 5; border-radius: 10px; overflow: hidden; }
.ambivella-vibe.wp-block-gallery figure.wp-block-image img { height: 100%; object-fit: cover; transition: transform .8s var(--amb-ease), filter .4s; filter: saturate(1.05); }
.ambivella-vibe.wp-block-gallery figure.wp-block-image:hover img { transform: scale(1.06); filter: brightness(1.12); }
@media (max-width: 781px) {
	.ambivella-vibe.wp-block-gallery.has-nested-images figure.wp-block-image:not(#individual-image) { width: calc(50% - 0.375rem) !important; }
}
.ambivella-mood a { font-family: var(--wp--preset--font-family--heading); font-weight: 600; font-size: 0.9rem; }

/* ---------- Story / bespoke bands ---------- */
.ambivella-glow-band { position: relative; overflow: hidden; }
.ambivella-glow-band::before {
	content: "";
	position: absolute;
	width: 60vw; height: 60vw; max-width: 900px; max-height: 900px;
	right: -15vw; top: -20vw;
	background: radial-gradient(circle, rgba(255, 102, 0, 0.22) 0%, rgba(255, 102, 0, 0) 65%);
	pointer-events: none;
}
.ambivella-glow-band > * { position: relative; }
.ambivella-rounded img, .ambivella-rounded { border-radius: var(--amb-radius); }

/* ---------- Projects ---------- */
.ambivella-card .wp-block-post-featured-image { overflow: hidden; border-radius: 12px; width: 100%; }
.ambivella-card .wp-block-post-featured-image img { transition: transform .8s var(--amb-ease); }
.ambivella-card:hover .wp-block-post-featured-image img { transform: scale(1.05); }
.ambivella-card .wp-block-post-title a { color: var(--wp--preset--color--contrast); }
.ambivella-card .wp-block-post-title a:hover { color: var(--wp--preset--color--pumpkin); }
.ambivella-card .wp-block-post-excerpt__more-link { display: none; }

/* ---------- WooCommerce: product cards ---------- */
.wc-block-product-template .wc-block-product,
.wc-block-product-template > li {
	background: var(--wp--preset--color--base-3);
	border: 1px solid var(--wp--preset--color--line);
	border-radius: var(--amb-radius);
	padding: 0 0 1.25rem !important;
	overflow: hidden;
}
.wc-block-product-template .wc-block-components-product-image { margin-bottom: 1rem !important; }
.wc-block-product-template .wc-block-components-product-image img { aspect-ratio: 4 / 5; object-fit: cover; }
.wc-block-product-template .wp-block-post-title,
.wc-block-product-template .wc-block-components-product-price,
.wc-block-product-template .wp-block-button,
.wc-block-product-template .wc-block-components-product-button { padding-left: 1.1rem; padding-right: 1.1rem; }
.wc-block-product-template .wp-block-post-title { font-family: var(--wp--preset--font-family--heading); font-weight: 600; font-size: 1rem !important; }
.wc-block-product-template .wp-block-post-title a { color: var(--wp--preset--color--contrast); }
.wc-block-components-product-sale-badge,
.wc-block-components-product-image .wc-block-components-product-sale-badge,
.woocommerce span.onsale {
	background: var(--wp--preset--color--pumpkin) !important;
	color: var(--wp--preset--color--base) !important;
	border: 0 !important;
	border-radius: 999px !important;
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-size: 0.7rem !important;
	padding: 0.3rem 0.7rem !important;
}
.wc-block-components-product-price del { color: var(--wp--preset--color--muted); opacity: .8; }
.wc-block-components-product-price ins { text-decoration: none; }
/* Product-card buttons = centred white arrow text links; only the text turns orange on hover. */
.wc-block-components-product-button .wp-block-button__link,
.wc-block-components-product-button__button {
	background: transparent !important;
	color: var(--wp--preset--color--contrast) !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	font-family: var(--wp--preset--font-family--body) !important;
	font-weight: 400 !important;
	text-transform: none !important;
	letter-spacing: 0 !important;
	font-size: var(--wp--preset--font-size--medium) !important;
	padding: 0 !important;
	min-height: 0 !important;
	width: auto !important;
	justify-content: center !important;
	transition: color .2s;
}
.wc-block-components-product-button .wp-block-button__link::after,
.wc-block-components-product-button__button::after { content: "\2192"; margin-left: .3em; display: inline-block; transition: transform .25s var(--amb-ease); }
.wc-block-components-product-button .wp-block-button__link:hover,
.wc-block-components-product-button__button:hover,
.wc-block-components-product-button__button:focus-visible { background: transparent !important; color: var(--wp--preset--color--pumpkin) !important; }
.wc-block-components-product-button__button:hover::after { transform: translateX(4px); }
.wc-block-components-product-button { align-items: center !important; justify-content: center !important; text-align: center; }
/* Primary commerce buttons = white Figma button. */
.wc-block-components-button:not(.is-link),
.wc-block-cart__submit-button,
.wc-block-components-checkout-place-order-button,
.wc-block-mini-cart__footer-checkout,
.woocommerce a.button, .woocommerce button.button {
	background: var(--wp--preset--color--cream) !important;
	color: #111 !important;
	border-radius: 0 !important;
	text-transform: uppercase;
	letter-spacing: 0.2em;
	font-family: var(--wp--preset--font-family--body) !important;
	font-weight: 400 !important;
}
.wc-block-components-button:not(.is-link):not(.wc-block-components-product-button__button):hover,
.wc-block-cart__submit-button:hover,
.wc-block-components-checkout-place-order-button:hover,
.wc-block-mini-cart__footer-checkout:hover,
.woocommerce a.button:hover, .woocommerce button.button:hover {
	background: var(--wp--preset--color--pumpkin) !important;
	color: #fff !important;
}
.wc-block-mini-cart__footer-cart.wc-block-components-button {
	background: #000 !important; color: #fff !important; border: 1px solid rgba(255,255,255,.18) !important;
}
.wc-block-mini-cart__footer-cart.wc-block-components-button:hover {
	background: var(--wp--preset--color--celestial) !important; color: #000 !important;
}

/* ---------- WooCommerce: forms, swatches, notices on dark ---------- */
.woocommerce input.input-text,
.woocommerce select,
.woocommerce textarea,
.wc-block-components-text-input input,
.wc-block-components-textarea,
.wc-block-components-combobox .components-combobox-control__input,
.wc-blocks-components-select__select,
.wp-block-search__input,
.wc-block-components-quantity-selector,
.quantity .qty {
	background-color: var(--wp--preset--color--base-3) !important;
	color: var(--wp--preset--color--cream) !important;
	border: 1px solid var(--wp--preset--color--line) !important;
	border-radius: 10px !important;
}
.wc-block-components-text-input label,
.wc-blocks-components-select__label,
.wc-block-components-combobox label { color: var(--wp--preset--color--muted) !important; }
.wc-block-components-quantity-selector input,
.wc-block-components-quantity-selector button { color: var(--wp--preset--color--cream) !important; background: transparent !important; }
.woocommerce div.product form.cart .variations select {
	min-width: 220px;
	padding: 0.6rem 0.9rem;
}
.woocommerce div.product form.cart .variations th label {
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 600;
	font-size: 0.85rem;
	letter-spacing: 0.04em;
	color: var(--wp--preset--color--contrast);
}
.woocommerce div.product form.cart .reset_variations { color: var(--wp--preset--color--muted); font-size: 0.8rem; }
.woocommerce div.product .woocommerce-variation-price .price { color: var(--wp--preset--color--pumpkin); font-family: var(--wp--preset--font-family--heading); font-weight: 600; font-size: 1.4rem; }
.woocommerce .single_add_to_cart_button,
.woocommerce button.button.alt,
.woocommerce a.button.alt {
	background: var(--wp--preset--color--cream) !important;
	color: #111 !important;
	border-radius: 0 !important;
	font-family: var(--wp--preset--font-family--body) !important;
	font-weight: 400 !important;
	text-transform: uppercase;
	letter-spacing: 0.22em;
	font-size: 0.8rem !important;
	padding: 1rem 2.2rem !important;
}
.woocommerce .single_add_to_cart_button:hover,
.woocommerce button.button.alt:hover { background: var(--wp--preset--color--pumpkin) !important; color: #fff !important; }
.woocommerce-tabs .wc-tabs li a,
.wp-block-woocommerce-product-details .wc-tabs li a { color: var(--wp--preset--color--muted) !important; }
.woocommerce-tabs .wc-tabs li.active a,
.wp-block-woocommerce-product-details .wc-tabs li.active a { color: var(--wp--preset--color--pumpkin) !important; }
.woocommerce-tabs .wc-tabs li,
.wp-block-woocommerce-product-details .wc-tabs li { background: transparent !important; border-color: var(--wp--preset--color--line) !important; }
.woocommerce-message, .woocommerce-info, .woocommerce-error,
.wc-block-components-notice-banner {
	background: var(--wp--preset--color--base-3) !important;
	color: var(--wp--preset--color--cream) !important;
	border-color: var(--wp--preset--color--line) !important;
}
.wc-block-components-panel, .wc-block-components-totals-wrapper, .wc-block-cart-items { border-color: var(--wp--preset--color--line) !important; }
.wc-block-components-radio-control__option,
.wc-block-components-radio-control-accordion-option { border-color: var(--wp--preset--color--line) !important; }
.wc-block-checkout__sidebar, .wc-block-cart__sidebar { color: var(--wp--preset--color--cream); }
.wc-block-mini-cart__drawer .components-modal__content,
.wc-block-mini-cart__drawer .wc-block-mini-cart__template-part,
.wc-block-components-drawer {
	background: var(--wp--preset--color--base) !important;
	color: var(--wp--preset--color--cream) !important;
}
.wc-block-breadcrumbs, .woocommerce-breadcrumb { color: var(--wp--preset--color--muted); font-size: 0.8rem; }
.wc-block-breadcrumbs a, .woocommerce-breadcrumb a { color: var(--wp--preset--color--muted); }
.wc-block-product-categories-list a, .wc-block-catalog-sorting select { color: var(--wp--preset--color--cream); }
.wp-block-woocommerce-product-image-gallery img,
.woocommerce-product-gallery img { border-radius: var(--amb-radius); }
.star-rating span::before, .wc-block-components-product-rating__stars span::before { color: var(--wp--preset--color--pumpkin); }

/* ---------- Floating WhatsApp ---------- */
.ambivella-wa-float {
	position: fixed;
	right: 18px;
	bottom: 18px;
	z-index: 90;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.7rem 1.05rem 0.7rem 0.8rem;
	border-radius: 999px;
	background: #25D366;
	color: #0B2016 !important;
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 600;
	font-size: 0.85rem;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
	transition: transform .25s var(--amb-ease), box-shadow .25s;
}
.ambivella-wa-float:hover { transform: translateY(-2px); box-shadow: 0 0 30px rgba(37, 211, 102, 0.5); color: #0B2016 !important; }
@media (max-width: 600px) {
	.ambivella-wa-float span { display: none; }
	.ambivella-wa-float { padding: 0.8rem; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* ---------- Reviews ---------- */
.ambivella-stars {
	width: max-content;
	align-self: flex-start;
	--amb-rating: 5;
	display: inline-block;
	font-size: 1rem;
	letter-spacing: 0.15em;
	line-height: 1;
	background: linear-gradient(90deg, var(--wp--preset--color--pumpkin) calc(var(--amb-rating) / 5 * 100%), var(--wp--preset--color--line) 0);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.ambivella-stars::before { content: "★★★★★"; }
.ambivella-reviews { padding-top: var(--wp--preset--spacing--70); }
.ambivella-reviews__summary { color: var(--wp--preset--color--muted); font-size: var(--wp--preset--font-size--small); display: flex; gap: .6rem; justify-content: center; align-items: center; flex-wrap: wrap; }
.ambivella-reviews__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr)); gap: 1.5rem; margin-top: var(--wp--preset--spacing--50); }
.ambivella-review { margin: 0; padding: 1.75rem; background: var(--wp--preset--color--base-3); border: 1px solid var(--wp--preset--color--line); display: flex; flex-direction: column; gap: 1rem; }
.ambivella-review blockquote { margin: 0; padding: 0; border: 0; font-family: var(--wp--preset--font-family--accent); font-size: 1.25rem; font-style: italic; line-height: 1.5; color: var(--wp--preset--color--cream); flex: 1; }
.ambivella-review blockquote p { margin: 0; }
.ambivella-review figcaption { display: flex; flex-wrap: wrap; gap: .35rem .75rem; align-items: baseline; font-size: var(--wp--preset--font-size--small); color: var(--wp--preset--color--muted); }
.ambivella-review figcaption strong { color: var(--wp--preset--color--contrast); font-weight: 500; }
.ambivella-review__verified { color: var(--wp--preset--color--celestial); font-size: var(--wp--preset--font-size--x-small); letter-spacing: .08em; text-transform: uppercase; }
.ambivella-review figcaption a { margin-left: auto; }

/* Product page reviews tab on the dark theme */
.woocommerce #reviews #comments ol.commentlist li .comment-text { border-color: var(--wp--preset--color--line); }
.woocommerce #reviews .star-rating, .woocommerce p.stars a { color: var(--wp--preset--color--pumpkin); }
.woocommerce #review_form #respond textarea,
.woocommerce #review_form #respond input[type="text"],
.woocommerce #review_form #respond input[type="email"] { background: var(--wp--preset--color--base-3); color: var(--wp--preset--color--cream); border: 1px solid var(--wp--preset--color--line); padding: .7rem .9rem; }
.woocommerce #reviews .woocommerce-verification-required, .woocommerce #reviews .woocommerce-noreviews { color: var(--wp--preset--color--muted); }

/* Homepage FAQ teaser: centred column */
.ambivella-faq-teaser > * { margin-left: auto !important; margin-right: auto !important; }
.ambivella-faq-teaser > p:last-child { text-align: center; }

/* ---------- Interior design & build ---------- */
.amb-design-hero { background: radial-gradient(90% 70% at 85% 10%, rgba(0,191,255,0.12) 0%, rgba(21,25,30,0) 60%), radial-gradient(70% 60% at 10% 90%, rgba(255,102,0,0.10) 0%, rgba(21,25,30,0) 60%); }
.amb-design-hero h1 { text-wrap: balance; }
.amb-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); gap: 1.25rem; counter-reset: amb-step; }
.amb-step { position: relative; padding: 1.75rem; background: var(--wp--preset--color--base-3); border: 1px solid var(--wp--preset--color--line); transition: border-color .3s, transform .3s var(--amb-ease); }
.amb-step:hover { border-color: rgba(0,191,255,0.55); transform: translateY(-3px); }
.amb-step::after { content: ""; position: absolute; left: 1.75rem; right: 1.75rem; top: 0; height: 2px; background: linear-gradient(90deg, var(--wp--preset--color--pumpkin), var(--wp--preset--color--celestial)); }
.amb-step > * { margin-top: 0 !important; }
.amb-step h3 { margin-bottom: .5rem; }
.amb-step__num { font-family: var(--wp--preset--font-family--heading); font-weight: 600; font-size: 2.4rem; line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--wp--preset--color--celestial); margin-bottom: 1.25rem !important; }

.amb-cases { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 30rem), 1fr)); gap: 1.5rem; }
.amb-case { background: var(--wp--preset--color--base-3); border: 1px solid var(--wp--preset--color--line); overflow: hidden; display: flex; flex-direction: column; }
.amb-case > * { margin: 0 !important; }
.amb-case__art { position: relative; min-height: 17rem; padding: 1.75rem; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; }
.amb-case__art > * { position: relative; z-index: 1; margin: 0 !important; }
.amb-case__tag { font-size: var(--wp--preset--font-size--x-small); letter-spacing: .18em; text-transform: uppercase; }
.amb-case__title { font-size: clamp(2rem, 4vw, 2.8rem) !important; }
.amb-case__body { padding: 1.75rem; }
.amb-case__body > p { margin-top: 0; }
/* Thrive: neon grid + hologram glow */
.amb-case.is-thrive .amb-case__art, .amb-art.is-thrive { background:
	radial-gradient(40% 55% at 75% 35%, rgba(0,191,255,0.55) 0%, rgba(0,191,255,0) 70%),
	radial-gradient(30% 40% at 25% 25%, rgba(140,80,255,0.45) 0%, rgba(140,80,255,0) 70%),
	linear-gradient(180deg, #071019 0%, #0B1622 100%); }
.amb-case.is-thrive .amb-case__art::before, .amb-art.is-thrive::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(0,191,255,0.22) 1px, transparent 1px), linear-gradient(90deg, rgba(0,191,255,0.22) 1px, transparent 1px); background-size: 34px 34px; transform: perspective(380px) rotateX(55deg) scale(1.8); transform-origin: 50% 100%; mask-image: linear-gradient(180deg, transparent 15%, #000 85%); }
.amb-case.is-thrive .amb-case__art::after, .amb-art.is-thrive::after { content: ""; position: absolute; width: 9rem; height: 9rem; right: 12%; top: 14%; border: 1px solid rgba(120,220,255,0.7); border-radius: 50%; box-shadow: 0 0 40px rgba(0,191,255,0.6), inset 0 0 30px rgba(0,191,255,0.4); }
.amb-case.is-thrive .amb-case__tag, .amb-art.is-thrive .amb-art__tag { color: #7FD8FF; }
.amb-case.is-thrive .amb-case__title, .amb-art.is-thrive .amb-art__title { color: #fff; text-shadow: 0 0 24px rgba(0,191,255,0.7); }
/* Inaba: soft beige curves */
.amb-case.is-inaba .amb-case__art, .amb-art.is-inaba { background: radial-gradient(60% 70% at 70% 20%, #FFF8EE 0%, rgba(255,248,238,0) 70%), linear-gradient(160deg, #EADCC8 0%, #D9C4A8 100%); }
.amb-case.is-inaba .amb-case__art::before, .amb-art.is-inaba::before { content: ""; position: absolute; inset: -20% -10% auto; height: 70%; background: repeating-radial-gradient(ellipse at 50% -40%, rgba(255,255,255,0) 0 22px, rgba(255,255,255,0.45) 23px 25px); opacity: .8; }
.amb-case.is-inaba .amb-case__art::after, .amb-art.is-inaba::after { content: ""; position: absolute; width: 14rem; height: 14rem; right: -3rem; bottom: -6rem; border-radius: 50%; background: radial-gradient(circle, rgba(255,214,150,0.9) 0%, rgba(255,214,150,0) 65%); }
.amb-case.is-inaba .amb-case__tag, .amb-art.is-inaba .amb-art__tag { color: #8A6A45; }
.amb-case.is-inaba .amb-case__title, .amb-art.is-inaba .amb-art__title { color: #3B2C1E; }
.amb-ticks { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: .55rem; }
.amb-ticks li { position: relative; padding-left: 1.6rem; color: var(--wp--preset--color--cream); font-size: var(--wp--preset--font-size--small); }
.amb-ticks li::before { content: ""; position: absolute; left: 0; top: .6em; width: .8rem; height: 2px; background: var(--wp--preset--color--pumpkin); }

.amb-roles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); gap: 1.25rem; }
.amb-role { padding: 1.75rem; border-left: 2px solid var(--wp--preset--color--pumpkin); background: rgba(255,255,255,0.02); }
.amb-role > * { margin-top: 0 !important; }
.amb-role h3 { margin-bottom: .4rem; }
.amb-reasons h3 { margin: 1.4rem 0 .35rem; }
.amb-reasons h3:first-child { margin-top: 0; }
.amb-reasons p { margin: 0; }
.amb-chips { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .75rem; }
.amb-chips span { padding: .45rem .95rem; border: 1px solid var(--wp--preset--color--line); font-size: var(--wp--preset--font-size--x-small); letter-spacing: .08em; text-transform: uppercase; color: var(--wp--preset--color--cream); }

/* Homepage design & build band */
.amb-home-design .amb-mini-steps { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem 1.5rem; }
.amb-home-design .amb-mini-steps li { padding-top: .75rem; border-top: 1px solid var(--wp--preset--color--line); font-family: var(--wp--preset--font-family--heading); font-weight: 500; color: var(--wp--preset--color--contrast); font-size: var(--wp--preset--font-size--small); }
.amb-home-design .amb-mini-steps li span { display: block; color: var(--wp--preset--color--celestial); font-size: var(--wp--preset--font-size--x-small); letter-spacing: .14em; margin-bottom: .2rem; }

/* CTA box at the end of design project posts */
.amb-project-cta { margin-top: var(--wp--preset--spacing--60); padding: 2rem; background: var(--wp--preset--color--base-3); border: 1px solid var(--wp--preset--color--line); border-top: 2px solid var(--wp--preset--color--pumpkin); }
.amb-project-cta h2 { margin-top: 0; font-size: var(--wp--preset--font-size--x-large); }
.amb-project-cta p { color: var(--wp--preset--color--muted); }

.amb-process-strip { list-style: none; padding: 0; margin: var(--wp--preset--spacing--50) 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr)); gap: 1rem 1.5rem; }
.amb-process-strip li { padding-top: .9rem; border-top: 1px solid var(--wp--preset--color--line); font-family: var(--wp--preset--font-family--heading); font-weight: 500; color: var(--wp--preset--color--contrast); }
.amb-process-strip li span { display: block; color: var(--wp--preset--color--celestial); font-size: var(--wp--preset--font-size--x-small); letter-spacing: .14em; margin-bottom: .2rem; }
.amb-project-card .wp-block-post-excerpt { margin: 0; }
.amb-project-card .wp-block-read-more { color: var(--wp--preset--color--pumpkin); }
.amb-project-card .wp-block-read-more:hover { color: var(--wp--preset--color--contrast); }

/* ---------- Mobile menu overlay ---------- */
.ambivella-nav .wp-block-navigation__responsive-container.is-menu-open { padding: 1.25rem clamp(1.25rem, 6vw, 2.5rem) 2.5rem !important; overflow-y: auto; }
.ambivella-nav .is-menu-open .wp-block-navigation__responsive-container-content { align-items: stretch !important; padding-top: 3.5rem !important; }
.ambivella-nav .is-menu-open .wp-block-navigation__container { align-items: stretch !important; gap: 0 !important; width: 100%; }
.ambivella-nav .is-menu-open .wp-block-navigation-item { align-items: flex-start !important; width: 100%; border-bottom: 1px solid var(--wp--preset--color--line); padding: .35rem 0; }
.ambivella-nav .is-menu-open .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content { font-size: 1.35rem; font-weight: 600; padding: .55rem 0 !important; color: var(--wp--preset--color--contrast); }
.ambivella-nav .is-menu-open .wp-block-navigation__submenu-container {
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	border-radius: 0;
	padding: 0 0 .6rem .9rem !important;
	min-width: 0 !important;
	width: 100%;
	gap: 0 !important;
}
.ambivella-nav .is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item { border: 0; padding: 0; }
.ambivella-nav .is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content { padding: .35rem 0 !important; font-size: 1rem; font-weight: 400; color: var(--wp--preset--color--muted); }
.ambivella-nav .is-menu-open .wp-block-navigation-item__content:hover { color: var(--wp--preset--color--pumpkin) !important; }
.ambivella-nav .wp-block-navigation__responsive-container-close { top: 1.25rem !important; right: clamp(1.25rem, 6vw, 2.5rem) !important; }
.ambivella-nav .wp-block-navigation__responsive-container-close svg,
.ambivella-nav .wp-block-navigation__responsive-container-open svg { width: 28px; height: 28px; }
html.has-modal-open .ambivella-wa-float { display: none; }
.wp-block-buttons:has(> .wp-block-button + .wp-block-button) { grid-auto-rows: 1fr; }
@media (max-width: 600px) {
	.wp-block-button__link { letter-spacing: 0.14em; padding-left: 1.2rem !important; padding-right: 1.2rem !important; }
}

/* Brand: diamond mark + live wordmark. */
.amb-brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none !important; color: var(--wp--preset--color--contrast); }
.amb-brand__mark { width: 30px; height: auto; display: block; filter: drop-shadow(0 0 6px rgba(255, 102, 0, 0.55)); }
.amb-brand__name { font-family: Montserrat, 'Helvetica Neue', Arial, sans-serif; font-weight: 400; text-transform: uppercase; letter-spacing: .3em; font-size: 1.15rem; line-height: 1; color: #fff; transition: color .25s; }
.amb-brand:hover .amb-brand__name, .amb-brand:focus-visible .amb-brand__name { color: var(--wp--preset--color--celestial); }
.ambivella-footer .amb-brand__mark { width: 34px; }
.ambivella-footer .amb-brand__name { font-size: 1.25rem; }
@media (max-width: 600px) { .amb-brand { gap: .55rem; } .amb-brand__mark { width: 24px; } .amb-brand__name { font-size: .95rem; letter-spacing: .26em; } }

/* Project thumbnails drawn in CSS until real photos are added. */
.amb-art { position: relative; overflow: hidden; border-radius: 12px; margin: 0; width: 100%; background: linear-gradient(150deg, #20262E 0%, #15191E 100%); }
.amb-art > a, .amb-art > span.amb-art__inner { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: .2rem; padding: 1.4rem; text-decoration: none !important; }
.amb-art__tag { font-size: var(--wp--preset--font-size--x-small); letter-spacing: .18em; text-transform: uppercase; color: var(--wp--preset--color--cream); }
.amb-art__title { font-family: var(--wp--preset--font-family--heading); font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.1; color: #fff; }
.amb-art.is-fellows, .amb-case.is-fellows .amb-case__art { background: radial-gradient(55% 55% at 72% 30%, rgba(255,214,150,0.55) 0%, rgba(255,214,150,0) 70%), radial-gradient(70% 50% at 20% 100%, rgba(255,102,0,0.28) 0%, rgba(255,102,0,0) 70%), linear-gradient(170deg, #1E2533 0%, #11151C 100%); }
.amb-art.is-fellows::before, .amb-case.is-fellows .amb-case__art::before { content: ""; position: absolute; inset: 0; background-image: repeating-linear-gradient(90deg, rgba(255,255,255,0.05) 0 1px, transparent 1px 46px); mask-image: linear-gradient(180deg, #000 0%, transparent 75%); }
.amb-art.is-fellows::after, .amb-case.is-fellows .amb-case__art::after { content: ""; position: absolute; width: 7rem; height: 7rem; right: 16%; top: 14%; border-radius: 50%; background: radial-gradient(circle at 40% 40%, #FFF3DC 0%, #F6D7A4 55%, #E9B877 100%); box-shadow: 0 0 60px rgba(255,214,150,0.6); }
.amb-art.is-generic { background: radial-gradient(60% 60% at 80% 20%, rgba(0,191,255,0.3) 0%, rgba(0,191,255,0) 70%), radial-gradient(60% 60% at 15% 90%, rgba(255,102,0,0.3) 0%, rgba(255,102,0,0) 70%), #171B21; }
.amb-art.is-inaba .amb-art__title { color: #3B2C1E; }

/* Sector label on project cards. */
.amb-project-tag { font-size: var(--wp--preset--font-size--x-small); letter-spacing: .16em; text-transform: uppercase; color: var(--wp--preset--color--celestial); }
.amb-project-tag a { color: inherit; text-decoration: none; }

/* Interior design page: conversion pieces. */
.amb-proof { list-style: none; padding: 0; margin: 1.5rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; }
.amb-proof li { position: relative; padding-left: 1.1rem; font-size: var(--wp--preset--font-size--small); color: var(--wp--preset--color--cream); }
.amb-proof li::before { content: ""; position: absolute; left: 0; top: .55em; width: .45rem; height: .45rem; background: var(--wp--preset--color--celestial); transform: rotate(45deg); }
.amb-step__get { margin-top: 1rem !important; padding-top: .9rem; border-top: 1px solid var(--wp--preset--color--line); font-size: var(--wp--preset--font-size--x-small); color: var(--wp--preset--color--cream); }
.amb-step__get strong { color: var(--wp--preset--color--pumpkin); font-weight: 500; letter-spacing: .12em; text-transform: uppercase; margin-right: .35em; }
.amb-case__link { margin-top: 1.25rem !important; }
.amb-case__link a { color: var(--wp--preset--color--pumpkin); text-decoration: none; }
.amb-case__link a:hover { color: var(--wp--preset--color--contrast); }
.amb-next { list-style: none; counter-reset: amb-next; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 1rem; }
.amb-next li { counter-increment: amb-next; position: relative; padding-left: 3rem; color: var(--wp--preset--color--cream); }
.amb-next li::before { content: "0" counter(amb-next); position: absolute; left: 0; top: -.1em; font-family: var(--wp--preset--font-family--heading); color: var(--wp--preset--color--celestial); letter-spacing: .1em; }

/* Consultation enquiry form (opens WhatsApp). */

/* One-tap WhatsApp consultation starter ([ambivella_consult]) */
.amb-start { background: var(--wp--preset--color--base); border: 1px solid var(--wp--preset--color--line); padding: clamp(1.25rem, 3vw, 2rem); display: flex; flex-direction: column; gap: 1rem; }
.amb-start__q { margin: 0; font-family: var(--wp--preset--font-family--heading); font-weight: 600; color: var(--wp--preset--color--contrast); }
.amb-start__q span { font-family: var(--wp--preset--font-family--body, inherit); font-weight: 400; font-size: var(--wp--preset--font-size--x-small); color: var(--wp--preset--color--muted); margin-left: .4rem; }
.amb-start__chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.amb-start__chip { font: inherit; font-size: var(--wp--preset--font-size--small); background: var(--wp--preset--color--base-3); color: var(--wp--preset--color--contrast); border: 1px solid var(--wp--preset--color--line); border-radius: 999px; padding: .5rem .95rem; cursor: pointer; transition: border-color .2s, color .2s, background .2s; }
.amb-start__chip:hover { border-color: var(--wp--preset--color--celestial); }
.amb-start__chip[aria-pressed="true"] { border-color: var(--wp--preset--color--pumpkin); color: var(--wp--preset--color--pumpkin); background: rgba(255, 102, 0, .08); }
.amb-start__chip:focus-visible { outline: 2px solid var(--wp--preset--color--celestial); outline-offset: 2px; }
.amb-start__go .wp-block-button__link { width: 100%; box-sizing: border-box; justify-content: center; }
.amb-start__note { margin: 0; font-size: var(--wp--preset--font-size--x-small); color: var(--wp--preset--color--muted); text-align: center; }
.amb-start.is-compact { padding: 1.1rem 1.25rem; gap: .8rem; }
.amb-start.is-compact .amb-start__note { display: none; }


/* Homepage: mood links under the lamp categories (replaces the old "Shop by mood" section) */
.amb-mood-links { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-top: 1.5rem !important; }
.amb-mood-links span { font-size: var(--wp--preset--font-size--x-small); letter-spacing: .14em; text-transform: uppercase; color: var(--wp--preset--color--muted); margin-right: .5rem; }
.amb-mood-links a { font-size: var(--wp--preset--font-size--small); color: var(--wp--preset--color--contrast); text-decoration: none; border: 1px solid var(--wp--preset--color--line); border-radius: 999px; padding: .45rem 1rem; transition: border-color .2s, color .2s; }
.amb-mood-links a:hover { border-color: var(--wp--preset--color--pumpkin); color: var(--wp--preset--color--pumpkin); }

/* Project photo galleries ("In photos"): 5 x 2 grid at ~70% width on desktop so all ten fit in one view; swipe row on phones */
.amb-project-gallery.wp-block-gallery.has-nested-images { gap: .6rem; margin-top: var(--wp--preset--spacing--40); }
.amb-project-gallery.wp-block-gallery .wp-block-image img { aspect-ratio: 4 / 5; object-fit: cover; border-radius: 8px; }
@media (min-width: 782px) {
	.amb-project-gallery.wp-block-gallery.has-nested-images { width: 100%; }
	.amb-project-gallery.wp-block-gallery.has-nested-images figure.wp-block-image:not(#individual-image) { width: calc((100% - 4 * .6rem) / 5); flex-grow: 0; }
}
@media (max-width: 781px) {
	.amb-project-gallery.wp-block-gallery.has-nested-images { flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .5rem; scrollbar-width: thin; -webkit-overflow-scrolling: touch; }
	.amb-project-gallery.wp-block-gallery.has-nested-images figure.wp-block-image:not(#individual-image) { flex: 0 0 72%; width: 72%; scroll-snap-align: start; }
}

/* Featured project cards on the Interior Design page: real photos instead of the drawn placeholders */
.amb-case.is-thrive .amb-case__art, .amb-case.is-inaba .amb-case__art { background-size: cover; background-position: center; }
.amb-case.is-thrive .amb-case__art { background-image: linear-gradient(180deg, rgba(10,12,16,0) 35%, rgba(10,12,16,.88) 100%), url(../images/case-thrive-hq.jpg); }
.amb-case.is-inaba .amb-case__art { background-image: linear-gradient(180deg, rgba(10,12,16,0) 35%, rgba(10,12,16,.85) 100%), url(../images/case-inaba-junaid-salon.jpg); }
.amb-case.is-thrive .amb-case__art::before, .amb-case.is-thrive .amb-case__art::after,
.amb-case.is-inaba .amb-case__art::before, .amb-case.is-inaba .amb-case__art::after { display: none; }
.amb-case.is-inaba .amb-case__title { color: #fff; }
.amb-case.is-inaba .amb-case__tag { color: #F6D7A4; }

/* Project pages: title, cover photo, text, gallery and closing box share one centred column (~74% of the screen) */
.amb-project main.wp-block-group { --amb-w: min(74vw, 1200px); }
.amb-project main.wp-block-group > *,
.amb-project .wp-block-post-content > * { max-width: var(--amb-w) !important; width: 100%; margin-left: auto !important; margin-right: auto !important; box-sizing: border-box; }
.amb-project .wp-block-post-content { padding-left: 0 !important; padding-right: 0 !important; }
@media (max-width: 781px) { .amb-project main.wp-block-group { --amb-w: 100%; } }

/* Lamp off/on product cards: off photo on top, fades away (lamp switches on) on hover or when in view on phones. */
.has-amb-lamp-off > a { position: relative; display: block; }
.has-amb-lamp-off img.amb-lamp-off {
	position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
	opacity: 1; transition: opacity .7s ease; pointer-events: none;
}
@media (hover: hover) and (pointer: fine) {
	li:hover .has-amb-lamp-off img.amb-lamp-off,
	.has-amb-lamp-off a:focus-visible img.amb-lamp-off { opacity: 0; }
}
.has-amb-lamp-off.is-lit img.amb-lamp-off { opacity: 0; }
@media (prefers-reduced-motion: reduce) { .has-amb-lamp-off img.amb-lamp-off { transition: none; } }
