/*
 * Cutting Edge Window Tinting: component and motion styles.
 * Every color, font and size comes from theme.json presets (Global Styles),
 * so changing a token there restyles the whole site.
 */

:root {
	--ce-red: var(--wp--preset--color--brand-red);
	--ce-red-hi: var(--wp--preset--color--brand-red-bright);
	--ce-ink: var(--wp--preset--color--ink);
	--ce-char: var(--wp--preset--color--charcoal);
	--ce-char-2: var(--wp--preset--color--charcoal-light);
	--ce-steel: var(--wp--preset--color--steel);
	--ce-silver: var(--wp--preset--color--silver);
	--ce-mist: var(--wp--preset--color--mist);
	--ce-line: var(--wp--preset--color--line);
	--ce-white: var(--wp--preset--color--white);
	--ce-ease: var(--wp--custom--ease);
	--ce-r-sm: var(--wp--custom--radius--sm);
	--ce-r-md: var(--wp--custom--radius--md);
	--ce-r-lg: var(--wp--custom--radius--lg);
	--ce-display: var(--wp--preset--font-family--display);
	--ce-body: var(--wp--preset--font-family--body);
	--ce-ui: var(--wp--preset--font-family--ui);
	--ce-glow: rgba(193, 35, 43, 0.45);
}

html { scroll-behavior: smooth; overflow-x: hidden; overflow-x: clip; }
body { overflow-x: hidden; overflow-x: clip; -webkit-font-smoothing: antialiased; }
img { height: auto; }
.wp-site-blocks > * + * { margin-block-start: 0; }
:where(.wp-block-post-content) > .alignfull { margin-block: 0; }
:where(.wp-block-post-content) > .alignfull + .alignfull { margin-block-start: 0; }
:focus-visible { outline: 2px solid var(--ce-red-hi); outline-offset: 3px; }
::selection { background: var(--ce-red); color: var(--ce-white); }
.wp-element-button, .wp-block-button__link { transition: transform .35s var(--ce-ease), box-shadow .35s var(--ce-ease), background-color .25s, color .25s, border-color .25s; }
.wp-block-button__link:hover { transform: translateY(-3px); box-shadow: 0 14px 28px -12px var(--ce-glow); }
/* Hover always lands on red with white text, so a text-color class can never make the label vanish. */
.wp-block-button > .wp-block-button__link:hover, .wp-block-button > .wp-block-button__link:focus-visible { color: var(--ce-white) !important; }
.wp-block-button.is-style-outline > .wp-block-button__link:hover, .wp-block-button.is-style-outline > .wp-block-button__link:focus-visible { background: var(--ce-red) !important; border-color: var(--ce-red) !important; }
.is-style-section-red .wp-block-button.is-style-outline > .wp-block-button__link:hover { background: var(--ce-white) !important; border-color: var(--ce-white) !important; color: var(--ce-red) !important; }
/* On the red band the main button turns white so it never blends into the background. */
.is-style-section-red .wp-block-button:not(.is-style-outline) > .wp-block-button__link { background: var(--ce-white); border-color: var(--ce-white); color: var(--ce-red); }
.is-style-section-red .wp-block-button:not(.is-style-outline) > .wp-block-button__link:hover, .is-style-section-red .wp-block-button:not(.is-style-outline) > .wp-block-button__link:focus-visible { background: var(--ce-ink) !important; border-color: var(--ce-ink) !important; color: var(--ce-white) !important; }

/* Standard CTA pair (synced pattern "CTA Buttons"): free estimate + click to call */
.wp-block-buttons.ce-cta { gap: 14px; margin-top: var(--wp--preset--spacing--50) !important; }
.has-text-align-center ~ .wp-block-buttons.ce-cta,
.alignfull > .wp-block-buttons.ce-cta { justify-content: center; }
.ce-btn-call > .wp-block-button__link { display: inline-flex; align-items: center; gap: 10px; }
.ce-btn-call > .wp-block-button__link::before { content: ""; width: 1.15em; height: 1.15em; flex: none; background: currentColor; -webkit-mask: var(--ce-i-phone) center/contain no-repeat; mask: var(--ce-i-phone) center/contain no-repeat; }
/* Content buttons are one size everywhere: equal width side by side on desktop, 90% wide and centred on phones. */
main .wp-block-buttons > .wp-block-button { flex: 0 0 auto; min-width: 250px; }
main .wp-block-buttons > .wp-block-button > .wp-block-button__link { width: 100%; display: inline-flex; align-items: center; justify-content: center; text-align: center; }
@media (max-width: 781px) {
	main .wp-block-buttons { justify-content: center !important; }
	main .wp-block-buttons > .wp-block-button { flex: 0 0 90%; min-width: 0; margin-inline: auto; }
}

/* Kicker label above a heading */
p.is-style-ce-kicker { display: flex; align-items: center; gap: 12px; margin-bottom: .9rem; font-family: var(--ce-ui); font-size: var(--wp--preset--font-size--label); font-weight: 700; letter-spacing: .32em; text-transform: uppercase; color: var(--ce-red-hi); }
p.is-style-ce-kicker::before { content: ""; width: 34px; height: 2px; background: currentColor; flex: none; }
p.is-style-ce-kicker.has-text-align-center { justify-content: center; }
:where(h1, h2, h3) strong { font-weight: 700; }
/* A subheading that follows text in a column gets room to breathe. */
.wp-block-column > p + h3 { margin-top: 1.8rem; }
/* Even line lengths, so a heading never ends on one orphaned word. */
:where(h1, h2, h3) { text-wrap: balance; }
h2.wp-block-heading strong { font-weight: 700; }

/* ---------------- Header (global template part) ---------------- */
/* Fixed header; the page keeps its full height as padding, so slimming on scroll never makes the page jump. */
:root { --ce-head-h: 188px; }
@media (max-width: 900px) { :root { --ce-head-h: 112px; } }
header.wp-block-template-part { position: fixed; left: 0; right: 0; top: var(--wp-admin--admin-bar--height, 0px); z-index: 100; }
.wp-site-blocks { padding-top: var(--ce-head-h); }
:where(section, div)[id] { scroll-margin-top: 96px; }
.ce-header { background: var(--ce-white); border-bottom: 2px solid var(--ce-red); transition: box-shadow .3s; }
/* Top bar: both shops (address opens the Google Business Profile) and the email. Folds away once the page scrolls. */
.ce-topbar { background: var(--ce-ink); color: #c9cad0; font-size: .8rem; line-height: 1.3; max-height: 90px; overflow: hidden; transition: max-height .35s var(--ce-ease); }
.ce-header.is-scrolled .ce-topbar { max-height: 0; }
.ce-topbar-row { gap: 6px 28px !important; padding-block: 8px; }
.ce-topbar-row > p { margin: 0; display: flex; align-items: center; flex-wrap: wrap; gap: 4px 10px; }
.ce-topbar-row > p::before { content: ""; width: 14px; height: 14px; flex: none; background: var(--ce-red-hi); -webkit-mask: var(--ce-i-pin) center/contain no-repeat; mask: var(--ce-i-pin) center/contain no-repeat; }
.ce-topbar-row > p.ce-tb-mail { margin-left: auto; }
.ce-topbar-row > p.ce-tb-mail::before { -webkit-mask-image: var(--ce-i-mail); mask-image: var(--ce-i-mail); }
.ce-topbar strong { font-family: var(--ce-ui); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ce-red-hi); }
.ce-topbar a { color: var(--ce-white); text-decoration: none; transition: color .2s; }
.ce-topbar a:hover { color: var(--ce-red-hi); }
.ce-topbar a[href^="tel:"] { font-weight: 700; }
@media (max-width: 781px) {
	.ce-topbar-row { justify-content: center !important; gap: 4px 18px !important; padding-block: 6px; }
	.ce-topbar-row a[target="_blank"], .ce-topbar-row > p.ce-tb-mail { display: none; }
}

/* Our Locations (NAP): brand card (logo, phones, email, socials) + one card per shop (map, address, phone, hours). One screen tall. */
.ce-nap h2 { margin-top: .3rem; }
.ce-nap .ce-nap-grid { margin-top: var(--wp--preset--spacing--40) !important; gap: 22px !important; align-items: stretch !important; }
.ce-nap .ce-nap-grid > .wp-block-column { border-radius: var(--ce-r-md); overflow: hidden; }
.ce-nap .ce-nap-brand { flex: 0 0 30% !important; display: flex; flex-direction: column; gap: 14px; padding: clamp(24px, 3vw, 34px); background: radial-gradient(120% 80% at 100% 0%, rgba(193, 35, 43, .35), transparent 55%), linear-gradient(160deg, #1b1c21, var(--ce-ink)); color: var(--ce-silver); border-top: 4px solid var(--ce-red); box-shadow: var(--wp--preset--shadow--lift); }
.ce-nap .ce-nap-brand > * { margin: 0 !important; }
.ce-nap .ce-nap-logo img { width: 190px; height: auto; }
.ce-nap .ce-nap-intro { font-size: var(--wp--preset--font-size--small); line-height: 1.6; padding-bottom: 6px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.ce-nap .ce-nap-brand p:is(.ce-nap-tel, .ce-nap-mail), .ce-nap .ce-nap-body p { display: flex; align-items: center; gap: 10px; }
.ce-nap :is(.ce-nap-brand, .ce-nap-body) p:is(.ce-nap-tel, .ce-nap-mail, .ce-nap-addr, .ce-nap-hours)::before { content: ""; width: 16px; height: 16px; flex: none; align-self: flex-start; margin-top: .2em; background: var(--ce-red-hi); -webkit-mask: var(--ce-i-phone) center/contain no-repeat; mask: var(--ce-i-phone) center/contain no-repeat; }
.ce-nap p.ce-nap-mail::before { -webkit-mask-image: var(--ce-i-mail) !important; mask-image: var(--ce-i-mail) !important; }
.ce-nap p.ce-nap-addr::before { -webkit-mask-image: var(--ce-i-pin) !important; mask-image: var(--ce-i-pin) !important; }
.ce-nap p.ce-nap-hours::before { -webkit-mask-image: var(--ce-i-clock) !important; mask-image: var(--ce-i-clock) !important; }
.ce-nap .ce-nap-brand ul.ce-nap-trust { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ce-nap .ce-nap-brand ul.ce-nap-trust li { display: flex; align-items: center; gap: 10px; font-family: var(--ce-ui); font-weight: 700; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ce-white); }
.ce-nap .ce-nap-brand ul.ce-nap-trust li::before { content: ""; width: 18px; height: 18px; flex: none; background: var(--ce-red-hi); -webkit-mask: var(--ce-i-check) center/contain no-repeat; mask: var(--ce-i-check) center/contain no-repeat; }
.ce-nap .ce-nap-brand strong { min-width: 84px; font-family: var(--ce-ui); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ce-red-hi); }
.ce-nap .ce-nap-brand p a { color: var(--ce-white); text-decoration: none; font-weight: 700; word-break: break-word; }
.ce-nap .ce-nap-brand p a:hover, .ce-nap .ce-nap-body p a:hover { color: var(--ce-red-hi); }
.ce-nap .ce-nap-brand .wp-block-social-links { margin-top: auto !important; padding-top: 10px; gap: 10px; }
.ce-nap .ce-nap-brand .wp-social-link { background: rgba(255, 255, 255, .08); border-radius: 50%; transition: background-color .25s, transform .25s; }
.ce-nap .ce-nap-brand .wp-social-link:hover { background: var(--ce-red); transform: translateY(-3px); }
.ce-nap .ce-nap-brand .wp-social-link a { padding: 10px; }
.ce-nap .ce-nap-card { flex: 1 1 0 !important; min-width: 0; display: flex; flex-direction: column; background: var(--ce-white); border: 1px solid var(--ce-line); border-top: 4px solid var(--ce-red); box-shadow: var(--wp--preset--shadow--lift); transition: transform .5s var(--ce-ease); }
.ce-nap .ce-nap-card:hover { transform: translateY(-6px); }
.ce-nap .ce-nap-card .wp-block-cutting-edge-map { margin: 0; }
.ce-nap .ce-nap-card .wp-block-cutting-edge-map iframe { display: block; width: 100%; height: clamp(170px, 22vh, 210px); aspect-ratio: auto; border: 0; border-radius: 0; }
.ce-nap .ce-nap-body { display: flex; flex-direction: column; flex: 1; padding: 18px 22px 22px; }
.ce-nap .ce-nap-body > * { margin: 0; }
.ce-nap .ce-nap-body > * + * { margin-top: 8px; }
.ce-nap .ce-nap-body h3 { font-size: var(--wp--preset--font-size--large); }
.ce-nap .ce-nap-body p { align-items: flex-start; font-size: .95rem; line-height: 1.5; color: var(--ce-steel); }
.ce-nap .ce-nap-body p::before { background: var(--ce-red) !important; }
.ce-nap .ce-nap-body p a { color: inherit; text-decoration: none; }
.ce-nap .ce-nap-body p.ce-nap-tel a { font-weight: 700; color: var(--wp--preset--color--body-text); }
.ce-nap .ce-nap-body p.ce-nap-hours { display: block; position: relative; padding-left: 26px; }
.ce-nap .ce-nap-body p.ce-nap-hours::before { position: absolute; left: 0; top: .15em; margin: 0; }
.ce-nap .ce-nap-body p.ce-nap-hours strong { color: var(--wp--preset--color--body-text); }
.ce-nap .ce-nap-body .wp-block-buttons { margin-top: auto !important; padding-top: 14px; }
@media (max-width: 781px) { .ce-nap .ce-nap-brand, .ce-nap .ce-nap-card { flex: 1 1 100% !important; } }

.ce-header.is-scrolled { box-shadow: 0 12px 30px -14px rgba(11, 11, 13, .4); }
@media (min-width: 1100px) {
	/* Scrolled: logo left, menu in the middle, buttons right, in one slim row. */
	.ce-header.is-scrolled .ce-header-inner { display: grid !important; grid-template-columns: auto 1fr auto; align-items: center; column-gap: 28px; animation: ce-head-slim .4s var(--ce-ease); }
	.ce-header.is-scrolled .ce-header-top { display: contents !important; }
	.ce-header.is-scrolled .ce-header-top > .wp-block-social-links { display: none !important; }
	.ce-header.is-scrolled .ce-header-top > .wp-block-site-logo { grid-column: 1; grid-row: 1; justify-self: start; padding-block: 8px; }
	.ce-header.is-scrolled .ce-header-top > .wp-block-buttons { grid-column: 3; grid-row: 1; }
	.ce-header.is-scrolled .ce-nav { grid-column: 2; grid-row: 1; border-top: 0; max-width: 760px; width: 100%; }
	.ce-header.is-scrolled .wp-block-site-logo img { height: 40px; }
	.ce-header.is-scrolled .wp-block-buttons .wp-block-button__link { padding: .6rem 1rem; }
}
@keyframes ce-head-slim { from { opacity: .3; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.ce-header-top { display: grid !important; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; padding-block: 12px 8px; transition: padding .3s; }
.ce-header-top > .wp-block-social-links { justify-self: start; margin: 0; }
.ce-header-top > .wp-block-site-logo { justify-self: center; margin: 0; }
.ce-header-top > .wp-block-buttons { justify-self: end; margin: 0; }
.ce-header .wp-block-site-logo img { height: 58px; width: auto; transition: height .3s; }
.ce-header.is-scrolled .ce-header-top { padding-block: 6px 4px; }
.ce-header.is-scrolled .wp-block-site-logo img { height: 44px; }
.ce-header .wp-block-buttons .wp-block-button__link { padding: .7rem 1.1rem; }
.ce-header .wp-block-social-links .wp-social-link { color: var(--ce-ink); }
.ce-header .wp-block-social-links .wp-social-link a { padding: 8px; }
.ce-header .wp-block-social-links .wp-social-link:hover { color: var(--ce-red); transform: translateY(-2px); }
.ce-header > .wp-block-navigation, .ce-header .ce-nav { border-top: 2px solid var(--ce-red); max-width: 880px; margin-inline: auto !important; }
.ce-header .wp-block-navigation__container { width: 100%; justify-content: space-between; }
/* Dropdowns (Services and so on): white panel under a red line, same type as the menu. */
.ce-header .wp-block-navigation .wp-block-navigation__submenu-container { min-width: 260px !important; padding: 8px 0 !important; background: var(--ce-white) !important; color: var(--ce-ink) !important; border: 0 !important; border-top: 3px solid var(--ce-red) !important; border-radius: 0 0 var(--ce-r-sm) var(--ce-r-sm); box-shadow: 0 22px 44px -14px rgba(0, 0, 0, .38); }
.ce-header .wp-block-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item__content { padding: 11px 22px !important; font-size: .95rem; letter-spacing: .08em; transition: color .2s, background-color .2s, padding .25s var(--ce-ease); }
.ce-header .wp-block-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover, .ce-header .wp-block-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item__content:focus-visible { color: var(--ce-red) !important; background: var(--ce-mist); padding-left: 28px !important; }
.ce-header .wp-block-navigation .wp-block-navigation-submenu__toggle svg { width: 10px; height: 10px; margin-left: 4px; }
/* The page you are on is highlighted in the dropdown, and its parent menu item turns red too. */
.ce-header .wp-block-navigation .wp-block-navigation__submenu-container .current-menu-item > .wp-block-navigation-item__content { color: var(--ce-red) !important; background: var(--ce-mist); box-shadow: inset 3px 0 0 var(--ce-red); font-weight: 700; }
.ce-header .wp-block-navigation :is(.current-menu-item, .current-menu-ancestor) > .wp-block-navigation-item__content { color: var(--ce-red) !important; }
.ce-header .wp-block-navigation .current-menu-ancestor > .wp-block-navigation-submenu__toggle { color: var(--ce-red); }
.ce-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container .current-menu-item > .wp-block-navigation-item__content { background: transparent; box-shadow: none; padding-left: 10px !important; }
.ce-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container { min-width: 0 !important; padding: 0 0 0 16px !important; border: 0 !important; border-left: 2px solid var(--ce-red) !important; box-shadow: none; }
.ce-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content { font-size: 1.05rem; padding: 10px 0 !important; }
.ce-header .wp-block-navigation-item__content { padding: 12px 8px; position: relative; text-decoration: none; }
.ce-header .wp-block-navigation-item__content::after { content: ""; position: absolute; left: 8px; right: 8px; bottom: 6px; height: 2px; background: var(--ce-red); transform: scaleX(0); transition: transform .35s var(--ce-ease); }
.ce-header .wp-block-navigation-item__content:hover::after { transform: scaleX(1); }
.ce-header .wp-block-navigation__responsive-container.is-menu-open { padding: 24px; }
.ce-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content { font-size: 1.25rem; padding: 14px 0; }
.ce-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container { justify-content: flex-start; gap: 6px; }

@media (max-width: 900px) {
	.ce-header > .wp-block-group, .ce-header .ce-header-inner { display: grid !important; grid-template-columns: 1fr auto; align-items: center; }
	.ce-header-top { display: contents !important; }
	.ce-header-top > .wp-block-social-links, .ce-header-top > .wp-block-buttons { display: none !important; }
	.ce-header-top > .wp-block-site-logo { justify-self: start; padding-block: 10px; }
	.ce-header .wp-block-site-logo img, .ce-header.is-scrolled .wp-block-site-logo img { height: 42px; }
	.ce-header .ce-nav { border-top: 0; margin: 0 !important; justify-self: end; }
	.ce-header .wp-block-navigation__responsive-container-open { width: 46px; height: 46px; display: grid; place-items: center; }
	.ce-header .wp-block-navigation__responsive-container-open svg { width: 30px; height: 30px; }
}
@media (min-width: 601px) and (max-width: 900px) {
	.ce-header .wp-block-navigation__responsive-container:not(.is-menu-open) { display: none; }
	.ce-header .wp-block-navigation__responsive-container-open:not(.always-shown) { display: grid !important; }
}

/* ---------------- Hero ---------------- */
.ce-hero { min-height: min(820px, calc(100svh - var(--wp--custom--header-height))) !important; overflow: hidden; }
.ce-hero .wp-block-cover__image-background { transform: scale(1.08); animation: ce-hero-zoom 12s var(--ce-ease) forwards; }
@keyframes ce-hero-zoom { to { transform: scale(1); } }
.ce-hero .wp-block-columns { align-items: center !important; }
.ce-hero h1 { position: relative; padding-bottom: 22px; margin-bottom: 0; }
.ce-hero h1 .ce-subline, .ce-subline { display: block; font-family: var(--ce-body); font-weight: 600; font-size: var(--wp--preset--font-size--large); letter-spacing: .14em; line-height: 1.3; margin: .55em 0 .35em; color: #e6e6e9; }
.ce-hero h1::before, .ce-hero h1::after { content: ""; position: absolute; left: 0; height: 4px; background: var(--ce-red-hi); transform-origin: left; transform: scaleX(0); animation: ce-draw 1.1s var(--ce-ease) forwards; }
.ce-hero h1::before { bottom: 8px; width: min(100%, 560px); animation-delay: .8s; }
.ce-hero h1::after { bottom: 0; left: 6%; width: min(70%, 400px); background: var(--ce-red); animation-delay: 1.05s; }
@keyframes ce-draw { to { transform: scaleX(1); } }
.ce-hero .wp-block-column:first-child > * { animation: ce-rise 1s var(--ce-ease) both; }
.ce-hero .wp-block-column:first-child > :nth-child(2) { animation-delay: .12s; }
.ce-hero .wp-block-column:first-child > :nth-child(3) { animation-delay: .24s; }
.ce-hero .wp-block-column:first-child > :nth-child(4) { animation-delay: .36s; }
@keyframes ce-rise { from { opacity: 0; transform: perspective(800px) rotateX(28deg) translateY(36px); } to { opacity: 1; transform: none; } }
.ce-hero p { max-width: 560px; }

/* Trust strip */
ul.is-style-ce-trust { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 34px; font-family: var(--ce-ui); font-weight: 700; font-size: var(--wp--preset--font-size--small); letter-spacing: .14em; text-transform: uppercase; }
ul.is-style-ce-trust li { display: inline-flex; align-items: center; gap: 10px; }
ul.is-style-ce-trust li::before { content: ""; width: 22px; height: 22px; flex: none; background: var(--ce-red-hi); -webkit-mask: var(--ce-icon) center/contain no-repeat; mask: var(--ce-icon) center/contain no-repeat; }

/* Icon set (masks, so they take any color) */
:root {
	--ce-i-family: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M22 21v-2a4 4 0 0 0-3-3.87M16 3.13a4 4 0 0 1 0 7.75'/%3E%3C/svg%3E");
	--ce-i-shield: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E");
	--ce-i-calendar: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cpath d='M16 2v4M8 2v4M3 10h18'/%3E%3C/svg%3E");
	--ce-i-tag: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12.6 2.6A2 2 0 0 0 11.2 2H4a2 2 0 0 0-2 2v7.2a2 2 0 0 0 .6 1.4l8.7 8.7a2.4 2.4 0 0 0 3.4 0l6.6-6.6a2.4 2.4 0 0 0 0-3.4z'/%3E%3Ccircle cx='7.5' cy='7.5' r='1.5'/%3E%3C/svg%3E");
	--ce-i-infinity: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 12c-2-2.67-4-4-6-4a4 4 0 1 0 0 8c2 0 4-1.33 6-4Zm0 0c2 2.67 4 4 6 4a4 4 0 0 0 0-8c-2 0-4 1.33-6 4Z'/%3E%3C/svg%3E");
	--ce-i-chat: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7.9 20A9 9 0 1 0 4 16.1L2 22Z'/%3E%3C/svg%3E");
	--ce-i-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
	--ce-i-pin: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 6-8 12-8 12s-8-6-8-12a8 8 0 0 1 16 0Z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E");
	--ce-i-phone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E");
	--ce-i-mail: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='4' width='20' height='16' rx='2'/%3E%3Cpath d='m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7'/%3E%3C/svg%3E");
	--ce-i-clock: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 6v6l4 2'/%3E%3C/svg%3E");
}
ul.is-style-ce-trust li:nth-child(4n+1) { --ce-icon: var(--ce-i-family); }
ul.is-style-ce-trust li:nth-child(4n+2) { --ce-icon: var(--ce-i-shield); }
ul.is-style-ce-trust li:nth-child(4n+3) { --ce-icon: var(--ce-i-calendar); }
ul.is-style-ce-trust li:nth-child(4n+4) { --ce-icon: var(--ce-i-tag); }

/* ---------------- 3D tint glass (hero) ---------------- */
.wp-block-cutting-edge-tint-glass { position: relative; display: grid; justify-items: center; gap: 22px; }
.ce-glass-scene { position: relative; width: min(540px, 100%); aspect-ratio: 100 / 62; transform: perspective(1300px) rotateY(-20deg) rotateX(7deg); animation: ce-glass-float 9s ease-in-out infinite alternate; }
@keyframes ce-glass-float { from { transform: perspective(1300px) rotateY(-20deg) rotateX(7deg) translateY(0); } to { transform: perspective(1300px) rotateY(-11deg) rotateX(4deg) translateY(-10px); } }
.ce-glass-pane, .ce-glass-film, .ce-glass-sheen { position: absolute; inset: 0; clip-path: polygon(4% 97%, 21% 22%, 35% 5%, 88% 3%, 98% 17%, 99% 97%); }
.ce-glass-scene.is-home { aspect-ratio: 100 / 70; }
.ce-glass-scene.is-home :is(.ce-glass-pane, .ce-glass-film, .ce-glass-sheen) { clip-path: inset(2.9% 2% 4.3% 2%); }
.ce-glass-scene.is-home .ce-glass-trim path:not(.ce-trim-red) { stroke-width: 4; }
.ce-glass-scene.is-ppf { aspect-ratio: 100 / 42; }
.ce-glass-scene.is-ppf :is(.ce-glass-pane, .ce-glass-film, .ce-glass-sheen) { clip-path: polygon(4.0% 74.0%, 3.7% 70.3%, 3.7% 66.9%, 3.8% 63.7%, 4.2% 60.8%, 5.0% 58.1%, 6.0% 55.7%, 7.3% 53.7%, 9.0% 52.0%, 11.0% 50.5%, 13.3% 49.2%, 15.7% 47.9%, 18.4% 46.8%, 21.2% 45.7%, 24.0% 44.7%, 27.0% 43.8%, 30.0% 43.0%, 32.7% 38.1%, 35.5% 33.3%, 38.5% 28.6%, 41.6% 24.4%, 45.0% 20.6%, 48.7% 17.5%, 52.7% 15.3%, 57.0% 14.0%, 60.5% 13.9%, 63.7% 14.2%, 66.5% 15.1%, 69.1% 16.5%, 71.6% 18.5%, 74.0% 21.0%, 76.5% 24.2%, 79.0% 28.0%, 81.9% 29.5%, 84.8% 31.1%, 87.4% 32.7%, 89.9% 34.5%, 92.1% 36.5%, 94.0% 38.7%, 95.7% 41.2%, 97.0% 44.0%, 97.7% 46.5%, 98.1% 49.5%, 98.4% 52.9%, 98.5% 56.5%, 98.4% 60.3%, 98.1% 64.2%, 97.7% 68.2%, 97.0% 72.0%, 89.0% 74.0%, 88.1% 64.2%, 85.6% 57.1%, 82.0% 52.9%, 78.0% 51.5%, 74.0% 52.9%, 70.4% 57.1%, 67.9% 64.2%, 67.0% 74.0%, 33.0% 74.0%, 32.1% 64.2%, 29.6% 57.1%, 26.0% 52.9%, 22.0% 51.5%, 18.0% 52.9%, 14.4% 57.1%, 11.9% 64.2%, 11.0% 74.0%, 4.0% 74.0%); }
.ce-glass-pane { background: linear-gradient(140deg, rgba(255,255,255,.2), rgba(255,255,255,.04) 45%, rgba(160,190,220,.12)); }
.ce-glass-film { --b: .42; transform-origin: 0% 50%; transform: perspective(900px) rotateY(-100deg); opacity: 0; background: rgba(6, 8, 12, .12); -webkit-backdrop-filter: brightness(var(--b)) saturate(.85) contrast(1.06); backdrop-filter: brightness(var(--b)) saturate(.85) contrast(1.06); transition: transform 1.7s var(--ce-ease), opacity .5s, -webkit-backdrop-filter .9s ease, backdrop-filter .9s ease; }
.is-applied .ce-glass-film { transform: none; opacity: 1; }
@supports not ((backdrop-filter: brightness(1)) or (-webkit-backdrop-filter: brightness(1))) { .ce-glass-film { background: rgba(6, 8, 12, calc(1 - var(--b))); } }
.ce-glass-sheen { background: linear-gradient(115deg, transparent 38%, rgba(255,255,255,.34) 47%, rgba(255,255,255,.08) 52%, transparent 60%); background-size: 260% 100%; background-position: 120% 0; pointer-events: none; }
.is-applied .ce-glass-sheen { animation: ce-sheen 1.6s var(--ce-ease) 1.3s both; }
.ce-glass-scene.is-pulse .ce-glass-sheen { animation: ce-sheen 1.2s var(--ce-ease) both; }
@keyframes ce-sheen { from { background-position: 120% 0; } to { background-position: -40% 0; } }
.ce-glass-trim { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.ce-glass-trim path { fill: none; stroke: rgba(235, 238, 242, .85); stroke-width: 3; vector-effect: non-scaling-stroke; stroke-linejoin: round; filter: drop-shadow(0 0 6px rgba(255,255,255,.25)); }
.ce-glass-trim ellipse { fill: rgba(6, 8, 12, .55); stroke: rgba(235, 238, 242, .85); stroke-width: 3; vector-effect: non-scaling-stroke; }
/* PPF: clear film over the paint. Gloss sharpens what is behind it; matte softens and flattens it. */
.ce-glass-scene.is-ppf .ce-glass-pane { background: linear-gradient(160deg, rgba(255,255,255,.16), rgba(255,255,255,.03) 50%, rgba(193,35,43,.12)); }
.ce-glass-scene.is-ppf .ce-glass-film { background: rgba(255, 255, 255, .05); -webkit-backdrop-filter: brightness(1.12) saturate(1.25) contrast(1.08); backdrop-filter: brightness(1.12) saturate(1.25) contrast(1.08); transition: transform 1.7s var(--ce-ease), opacity 1s, background-color .8s; }
.ce-glass-scene.is-ppf.is-matte .ce-glass-film { background: rgba(255, 255, 255, .12); -webkit-backdrop-filter: blur(3px) saturate(.6) brightness(.96) contrast(.82); backdrop-filter: blur(3px) saturate(.6) brightness(.96) contrast(.82); }
.ce-glass-scene.is-ppf.is-matte .ce-glass-sheen { opacity: .3; }
.wp-block-cutting-edge-tint-glass.is-ppf .ce-glass-shades button { width: auto; min-width: 84px; padding: 0 18px; border-radius: 22px; background: rgba(6, 8, 12, .55); letter-spacing: .16em; text-transform: uppercase; }
.ce-glass-trim .ce-trim-red { stroke: var(--ce-red-hi); stroke-width: 2; stroke-dasharray: 1 0; opacity: .9; }
.ce-glass-shadow { position: absolute; left: 8%; right: 4%; bottom: -34px; height: 40px; background: radial-gradient(closest-side, rgba(193,35,43,.45), transparent); filter: blur(10px); }
.ce-glass-controls { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; justify-content: center; }
.ce-glass-readout { margin: 0; font-family: var(--ce-body); font-weight: 700; letter-spacing: .16em; text-transform: uppercase; font-size: var(--wp--preset--font-size--small); color: #d9d9dd; }
.ce-glass-readout b { font-family: var(--ce-body); font-weight: 700; font-size: 1.6em; letter-spacing: .02em; color: var(--ce-white); margin-right: 6px; }
.ce-glass-shades { display: flex; gap: 6px; margin: 0; padding: 0; list-style: none; }
.ce-glass-shades button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); background: rgba(6, 8, 12, var(--a)); color: var(--ce-white); font: 700 12px/1 var(--ce-body); letter-spacing: .04em; cursor: pointer; transition: transform .25s, border-color .25s, box-shadow .25s; }
.ce-glass-shades button:hover { transform: translateY(-2px); }
.ce-glass-shades button[aria-pressed="true"] { border-color: var(--ce-red-hi); box-shadow: 0 0 0 2px var(--ce-red-hi); }

/* ---------------- About: stacked photos ---------------- */
.ce-photo-stack { position: relative; min-height: clamp(340px, 42vw, 520px); }
.ce-photo-stack::before { content: ""; position: absolute; inset: 8% 6% 12% 20%; border: 3px solid var(--ce-red); }
.ce-photo-stack .wp-block-image { position: absolute; margin: 0; border-radius: var(--ce-r-md); overflow: hidden; box-shadow: var(--wp--preset--shadow--lift); }
.ce-photo-stack .wp-block-image img { width: 100%; height: 100%; object-fit: cover; }
.ce-photo-stack .is-style-ce-photo-back { left: 0; top: 0; width: 68%; height: 62%; }
.ce-photo-stack .is-style-ce-photo-front { right: 0; bottom: 4%; width: 66%; height: 58%; border: 6px solid var(--ce-white); }
.ce-photo-stack .ce-badge { position: absolute; left: 4%; bottom: 2%; z-index: 2; padding: 18px 22px !important; text-align: center; border-radius: var(--ce-r-md); box-shadow: var(--wp--preset--shadow--red-glow); }
.ce-photo-stack .ce-badge p { margin: 0; }
.ce-photo-stack .ce-badge p:first-child { font-family: var(--ce-display); font-weight: 900; font-size: 3rem; line-height: 1; }
.ce-photo-stack .ce-badge p:last-child { font-family: var(--ce-ui); font-weight: 700; font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; line-height: 1.4; }
.js .ce-photo-stack .wp-block-image, .js .ce-photo-stack .ce-badge { transition: transform 1.2s var(--ce-ease), opacity 1s; }
.js .ce-photo-stack:not(.is-in) .is-style-ce-photo-back { transform: perspective(900px) rotateY(24deg) translateX(-30px); opacity: 0; }
.js .ce-photo-stack:not(.is-in) .is-style-ce-photo-front { transform: perspective(900px) rotateY(-24deg) translateX(40px); opacity: 0; }
.js .ce-photo-stack:not(.is-in) .ce-badge { transform: perspective(600px) translateZ(-120px) rotateX(40deg); opacity: 0; }
.js .ce-photo-stack .is-style-ce-photo-front { transition-delay: .15s; }
.js .ce-photo-stack .ce-badge { transition-delay: .35s; }

/* Film brand chips + tiers + checks */
ul.is-style-ce-tiers { list-style: none; padding: 0; margin: 0 0 1.2rem; display: grid; gap: 10px; }
ul.is-style-ce-tiers li { padding: 12px 14px 12px 16px; border: 1px solid var(--ce-line); border-left: 3px solid var(--ce-red); border-radius: var(--ce-r-sm); background: var(--ce-mist); font-size: var(--wp--preset--font-size--small); line-height: 1.5; transition: transform .35s var(--ce-ease), border-color .3s; }
ul.is-style-ce-tiers li:hover { transform: translateX(6px); border-color: var(--ce-red); }
ul.is-style-ce-tiers strong { display: block; font-family: var(--ce-ui); font-size: 1.05rem; letter-spacing: .06em; text-transform: uppercase; color: var(--wp--preset--color--body-text); }
ul.is-style-ce-checks { list-style: none; padding: 0; margin: 0 0 1.4rem; display: grid; gap: 8px; }
ul.is-style-ce-checks li { position: relative; padding-left: 30px; }
ul.is-style-ce-checks li::before { content: ""; position: absolute; left: 0; top: .3em; width: 18px; height: 18px; background: var(--ce-red); -webkit-mask: var(--ce-i-check) center/contain no-repeat; mask: var(--ce-i-check) center/contain no-repeat; }

/* ---------------- Services: media + text cards ---------------- */
.wp-block-media-text.is-style-ce-service { background: var(--ce-white); color: var(--wp--preset--color--body-text); border-radius: var(--ce-r-md); overflow: hidden; box-shadow: 0 40px 80px -40px rgba(193,35,43,.4); }
.wp-block-media-text.is-style-ce-service .wp-block-media-text__content { padding: clamp(26px, 4vw, 52px); }
.wp-block-media-text.is-style-ce-service .wp-block-media-text__content p { color: var(--ce-steel); }
.wp-block-media-text.is-style-ce-service .wp-block-media-text__content h3 { color: var(--wp--preset--color--body-text); margin-top: 0; }
.wp-block-media-text.is-style-ce-service .wp-block-media-text__media { overflow: hidden; align-self: stretch; }
.wp-block-media-text.is-style-ce-service .wp-block-media-text__media img { transition: transform 1.4s var(--ce-ease); }
.wp-block-media-text.is-style-ce-service:hover .wp-block-media-text__media img { transform: scale(1.06); }
.js .wp-block-media-text.is-style-ce-service.ce-rv { transform: perspective(1400px) rotateX(18deg) translateY(70px) scale(.96); transform-origin: 50% 100%; }
.js .wp-block-media-text.is-style-ce-service.ce-rv.is-in { transform: none; }

/* ---------------- Shade swatches (3D fan of glass samples) ---------------- */
.wp-block-cutting-edge-shade-guide { margin-block: 2.2rem; }
.ce-swatches { list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(var(--n, 5), minmax(0, 1fr)); gap: clamp(8px, 1.6vw, 22px); max-width: 980px; perspective: 1500px; }
.ce-swatch { position: relative; aspect-ratio: 3 / 4.2; transition: transform 1.1s var(--ce-ease), opacity .8s; transition-delay: calc(var(--i) * 90ms); }
.ce-swatch-glass { position: absolute; inset: 0; border-radius: var(--ce-r-lg); border: 1px solid rgba(255,255,255,.4); background: linear-gradient(150deg, rgba(255,255,255,.22), rgba(255,255,255,.02) 40%), rgba(6, 8, 12, .1); -webkit-backdrop-filter: brightness(var(--b)) saturate(.85); backdrop-filter: brightness(var(--b)) saturate(.85); box-shadow: 0 30px 50px -28px rgba(0,0,0,.8); }
@supports not ((backdrop-filter: brightness(1)) or (-webkit-backdrop-filter: brightness(1))) { .ce-swatch-glass { background-color: rgba(6, 8, 12, calc(1 - var(--b))); } }
.ce-swatch-text { position: absolute; left: 0; right: 0; bottom: 14px; text-align: center; color: var(--ce-white); text-shadow: 0 2px 10px rgba(0,0,0,.6); }
.ce-swatch-num { display: block; font-family: var(--ce-display); font-weight: 900; font-size: clamp(1.05rem, .7rem + 1.6vw, 2rem); line-height: 1; }
.ce-swatch-note { display: block; margin-top: 6px; font-family: var(--ce-ui); font-weight: 700; font-size: clamp(.6rem, .55rem + .25vw, .78rem); letter-spacing: .16em; text-transform: uppercase; opacity: .9; }
.ce-swatch:hover { transform: translateY(-12px) !important; }
.js .wp-block-cutting-edge-shade-guide:not(.is-in) .ce-swatch { transform: rotateY(68deg) translateX(calc((var(--i) - 2) * -60%)) translateZ(-80px); opacity: 0; }
.ce-shade-legend { font-size: var(--wp--preset--font-size--small); opacity: .85; }

/* ---------------- Process steps ---------------- */
.wp-block-columns.is-style-ce-steps { counter-reset: ce-step; gap: 22px; perspective: 1400px; position: relative; }
.wp-block-columns.is-style-ce-steps > .wp-block-column { counter-increment: ce-step; position: relative; padding: 30px 24px 28px; background: linear-gradient(160deg, var(--ce-char-2), #16171b); border: 1px solid #34353c; border-radius: var(--ce-r-md); transition: transform 1.1s var(--ce-ease), opacity .8s, border-color .3s; }
.wp-block-columns.is-style-ce-steps > .wp-block-column:hover { border-color: var(--ce-red); }
.wp-block-columns.is-style-ce-steps > .wp-block-column::before { content: counter(ce-step, decimal-leading-zero); display: block; margin-bottom: 18px; font-family: var(--ce-display); font-weight: 900; font-size: 3.6rem; line-height: 1; color: var(--ce-red-hi); text-shadow: 1px 1px 0 #861319, 2px 2px 0 #741015, 3px 3px 0 #620d12, 4px 4px 0 #500a0e, 5px 5px 0 #3f080b, 8px 12px 18px rgba(0,0,0,.6); }
.wp-block-columns.is-style-ce-steps h3 { color: var(--ce-white); font-size: var(--wp--preset--font-size--large); margin: 0 0 .7rem; }
.wp-block-columns.is-style-ce-steps p { font-size: var(--wp--preset--font-size--small); margin: 0; }
.js .wp-block-columns.is-style-ce-steps:not(.is-in) > .wp-block-column { transform: rotateY(-75deg) translateZ(-60px); transform-origin: 0 50%; opacity: 0; }
.wp-block-columns.is-style-ce-steps > .wp-block-column:nth-child(2) { transition-delay: .15s; }
.wp-block-columns.is-style-ce-steps > .wp-block-column:nth-child(3) { transition-delay: .3s; }
.wp-block-columns.is-style-ce-steps > .wp-block-column:nth-child(4) { transition-delay: .45s; }

/* ---------------- Why choose us grid ---------------- */
.wp-block-group.is-style-ce-why { display: grid !important; grid-template-columns: 1fr 1fr; gap: 0 !important; }
.wp-block-group.is-style-ce-why > .wp-block-group { padding: clamp(24px, 4vw, 46px); margin: 0 !important; }
.wp-block-group.is-style-ce-why > .wp-block-group:nth-child(odd) { border-right: 2px solid var(--ce-red); }
.wp-block-group.is-style-ce-why > .wp-block-group:nth-child(-n+2) { border-bottom: 2px solid var(--ce-red); }
.wp-block-group.is-style-ce-why > .wp-block-group::before { content: ""; display: block; width: 64px; height: 64px; margin-bottom: 18px; border-radius: 50%; background: var(--ce-red) center/28px no-repeat; box-shadow: var(--wp--preset--shadow--red-glow); transition: transform .8s var(--ce-ease); }
.wp-block-group.is-style-ce-why > .wp-block-group:hover::before { transform: rotateY(360deg); }
.wp-block-group.is-style-ce-why > .wp-block-group:nth-child(4n+2)::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E"); }
.wp-block-group.is-style-ce-why > .wp-block-group:nth-child(4n+3)::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 12c-2-2.67-4-4-6-4a4 4 0 1 0 0 8c2 0 4-1.33 6-4Zm0 0c2 2.67 4 4 6 4a4 4 0 0 0 0-8c-2 0-4 1.33-6 4Z'/%3E%3C/svg%3E"); }
.wp-block-group.is-style-ce-why > .wp-block-group:nth-child(4n+1)::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cpath d='M16 2v4M8 2v4M3 10h18'/%3E%3C/svg%3E"); }
.wp-block-group.is-style-ce-why > .wp-block-group:nth-child(4n+4)::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7.9 20A9 9 0 1 0 4 16.1L2 22Z'/%3E%3C/svg%3E"); }
.wp-block-group.is-style-ce-why h3 { margin: 0 0 .6rem; }
.wp-block-group.is-style-ce-why p { color: var(--ce-steel); margin: 0; }

/* ---------------- Gallery: 3D ring ---------------- */
.wp-block-gallery.is-style-ce-ring { display: block !important; position: relative; height: 430px; perspective: 1600px; touch-action: pan-y; cursor: grab; user-select: none; margin-block: 2.4rem 1rem; }
.wp-block-gallery.is-style-ce-ring:not(.ce-ring-ready) { display: flex !important; height: auto; flex-wrap: wrap; gap: 12px; }
.wp-block-gallery.is-style-ce-ring:active { cursor: grabbing; }
.ce-ring { position: absolute; left: 50%; top: 46%; width: 0; height: 0; transform-style: preserve-3d; }
.wp-block-gallery.is-style-ce-ring.ce-ring-ready > figure.wp-block-image, .ce-ring > figure.wp-block-image { position: absolute !important; margin: 0 !important; width: var(--cw, 320px) !important; max-width: none !important; flex: none !important; height: calc(var(--cw, 320px) * .64) !important; left: calc(var(--cw, 320px) / -2); top: calc(var(--cw, 320px) * -.32); border-radius: var(--ce-r-md); overflow: hidden; border: 2px solid rgba(255,255,255,.14); box-shadow: 0 30px 50px -25px #000; background: #111; backface-visibility: hidden; }
.ce-ring figure img { width: 100% !important; height: 100% !important; object-fit: cover; pointer-events: none; }
.ce-ring figure figcaption { position: absolute !important; left: 0; right: 0; bottom: 0; margin: 0 !important; padding: 26px 12px 10px !important; background: linear-gradient(transparent, rgba(0,0,0,.85)) !important; font: 700 12px/1.2 var(--ce-ui); letter-spacing: .18em; text-transform: uppercase; text-align: center; color: var(--ce-white); }
.ce-ring-floor { position: absolute; left: 12%; right: 12%; bottom: 4px; height: 60px; background: radial-gradient(closest-side, rgba(193,35,43,.35), transparent); filter: blur(12px); pointer-events: none; }
.ce-ring-ctrl { display: flex; justify-content: center; gap: 12px; margin: 0 0 1.5rem; }
.ce-ring-ctrl button { width: 48px; height: 48px; border-radius: 50%; border: 1px solid #55565c; background: transparent; color: var(--ce-white); display: grid; place-items: center; cursor: pointer; transition: background .25s, border-color .25s; }
.ce-ring-ctrl button:hover { background: var(--ce-red); border-color: var(--ce-red); }
.ce-ring-ctrl svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* Social follow buttons (gallery) */
p.ce-follow-label { margin-top: var(--wp--preset--spacing--50) !important; margin-bottom: 0 !important; text-align: center; font-family: var(--ce-ui); font-weight: 700; font-size: var(--wp--preset--font-size--label); letter-spacing: .32em; text-transform: uppercase; color: var(--ce-silver); }
.ce-follow.wp-block-social-links { gap: 14px !important; margin-top: 1rem !important; }
.ce-follow.wp-block-social-links .wp-social-link { position: relative; overflow: hidden; border-radius: 60px; background: linear-gradient(145deg, #23242a, #141519) !important; border: 1px solid rgba(255,255,255,.12); box-shadow: 0 14px 30px -18px rgba(0,0,0,.9); transition: transform .4s var(--ce-ease), border-color .3s, box-shadow .4s; }
.ce-follow.wp-block-social-links .wp-social-link::before { content: ""; position: absolute; inset: 0; background: var(--ce-red); transform: translateX(-101%); transition: transform .45s var(--ce-ease); }
.ce-follow.wp-block-social-links .wp-social-link a { position: relative; z-index: 1; display: flex; align-items: center; gap: 12px; padding: 8px 24px 8px 8px !important; color: var(--ce-white); }
.ce-follow.wp-block-social-links .wp-social-link svg { box-sizing: content-box; width: 22px; height: 22px; padding: 11px; border-radius: 50%; background: var(--ce-red); transition: background .3s; }
.ce-follow.wp-block-social-links .wp-block-social-link-label { font-family: var(--ce-ui); font-weight: 700; font-size: .95rem; letter-spacing: .14em; text-transform: uppercase; }
.ce-follow.wp-block-social-links .wp-social-link:hover { transform: translateY(-4px); border-color: var(--ce-red-hi); box-shadow: 0 18px 34px -16px var(--ce-glow); }
.ce-follow.wp-block-social-links .wp-social-link:hover::before { transform: none; }
.ce-follow.wp-block-social-links .wp-social-link:hover svg { background: var(--ce-ink); }
@media (max-width: 600px) { .ce-follow.wp-block-social-links .wp-social-link { flex: 1 1 100%; } .ce-follow.wp-block-social-links .wp-social-link a { justify-content: flex-start; } }

/* ---------------- Tesla model tiles ---------------- */
.wp-block-group.is-style-ce-models { display: grid !important; grid-template-columns: 1fr 1fr; gap: 16px !important; perspective: 1100px; }
.wp-block-group.is-style-ce-models > .wp-block-cover { position: relative; aspect-ratio: 4 / 3; min-height: 0 !important; margin: 0 !important; padding: 18px 20px !important; align-items: flex-end; justify-content: flex-start; border-radius: var(--ce-r-lg); overflow: hidden; border: 1px solid rgba(255,255,255,.16); transition: transform .9s var(--ce-ease), opacity .8s, border-color .3s, box-shadow .4s; }
.wp-block-group.is-style-ce-models > .wp-block-cover .wp-block-cover__image-background { transition: transform 1.2s var(--ce-ease); }
.wp-block-group.is-style-ce-models > .wp-block-cover::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(11,11,13,.05) 25%, rgba(11,11,13,.92) 100%); pointer-events: none; }
.wp-block-group.is-style-ce-models > .wp-block-cover::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(115deg, transparent 40%, rgba(255,255,255,.2) 50%, transparent 60%) 120% 0 / 260% 100% no-repeat; transition: background-position 1.1s var(--ce-ease); pointer-events: none; }
.wp-block-group.is-style-ce-models > .wp-block-cover .wp-block-cover__inner-container { position: relative; z-index: 2; width: 100%; }
.wp-block-group.is-style-ce-models > .wp-block-cover:hover { border-color: var(--ce-red-hi); transform: translateY(-6px); box-shadow: 0 24px 40px -22px var(--ce-glow); }
.wp-block-group.is-style-ce-models > .wp-block-cover:hover .wp-block-cover__image-background { transform: scale(1.07); }
.wp-block-group.is-style-ce-models > .wp-block-cover:hover::after { background-position: -40% 0; }
.wp-block-group.is-style-ce-models h3 { margin: 0; font-family: var(--ce-body); font-weight: 700; font-size: clamp(1.25rem, 1rem + 1.2vw, 1.85rem); letter-spacing: .01em; color: var(--ce-white); text-shadow: 0 2px 12px rgba(0,0,0,.6); }
.wp-block-group.is-style-ce-models p { margin: 4px 0 0; font-family: var(--ce-ui); font-weight: 700; font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: #e3e3e6; }
.wp-block-group.is-style-ce-models p::before { content: ""; display: inline-block; width: 18px; height: 2px; margin-right: 8px; vertical-align: middle; background: var(--ce-red-hi); }
@media (max-width: 600px) {
	.wp-block-group.is-style-ce-models { gap: 10px !important; }
	.wp-block-group.is-style-ce-models > .wp-block-cover { padding: 12px !important; }
	.wp-block-group.is-style-ce-models h3 { font-size: 1.1rem; }
	.wp-block-group.is-style-ce-models p { font-size: .58rem; letter-spacing: .12em; }
	.wp-block-group.is-style-ce-models p::before { display: none; }
}
.js .wp-block-group.is-style-ce-models:not(.is-in) > .wp-block-cover { transform: rotateX(-60deg) translateY(40px); opacity: 0; }
.wp-block-group.is-style-ce-models > .wp-block-cover:nth-child(2) { transition-delay: .1s; }
.wp-block-group.is-style-ce-models > .wp-block-cover:nth-child(3) { transition-delay: .2s; }
.wp-block-group.is-style-ce-models > .wp-block-cover:nth-child(4) { transition-delay: .3s; }
.ce-tesla { overflow: hidden; }
.ce-tesla::before { content: "TESLA"; position: absolute; right: -2%; top: 50%; transform: translateY(-50%); font: 900 clamp(6rem, 18vw, 16rem)/1 var(--ce-display); color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.06); pointer-events: none; }

/* ---------------- Service area map ---------------- */
.wp-block-cutting-edge-area-map { perspective: 1100px; min-height: 460px; display: grid; place-items: center; }
.ce-map-plane { position: relative; width: min(440px, 80vw); aspect-ratio: 1; border-radius: 18px; transform: rotateX(52deg) rotateZ(-14deg); transform-style: preserve-3d; background: radial-gradient(circle at 78% 72%, rgba(193,35,43,.18), transparent 55%), repeating-linear-gradient(0deg, rgba(11,11,13,.07) 0 1px, transparent 1px 40px), repeating-linear-gradient(90deg, rgba(11,11,13,.07) 0 1px, transparent 1px 40px), var(--ce-white); box-shadow: 0 60px 80px -40px rgba(11,11,13,.45), inset 0 0 0 1px var(--ce-line); transition: transform 1.2s var(--ce-ease); }
.js .wp-block-cutting-edge-area-map:not(.is-in) .ce-map-plane { transform: rotateX(80deg) rotateZ(-40deg) scale(.8); }
.ce-map-plane svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.ce-map-plane line { stroke: var(--ce-red); stroke-width: 1.5; stroke-dasharray: 4 5; opacity: .55; }
.ce-pin { position: absolute; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--ce-ink); transform-style: preserve-3d; transition: background .25s, transform .25s; }
.ce-pin.is-hub { width: 22px; height: 22px; margin: -11px 0 0 -11px; background: var(--ce-red); }
.ce-pin.is-hub::before, .ce-pin.is-hub::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--ce-red); animation: ce-ping 2.4s infinite; }
.ce-pin.is-hub::after { animation-delay: 1.2s; }
@keyframes ce-ping { to { transform: scale(4.5); opacity: 0; } }
.ce-pin span { position: absolute; left: var(--ll, 50%); right: var(--lr, auto); bottom: 6px; white-space: nowrap; transform-origin: 50% 100%; transform: translateX(var(--lt, -50%)) rotateZ(14deg) rotateX(-52deg) translateY(-8px); font: 700 12px/1 var(--ce-ui); letter-spacing: .06em; text-transform: uppercase; color: var(--wp--preset--color--body-text); background: var(--ce-white); padding: 4px 7px; border-radius: 3px; box-shadow: 0 4px 10px rgba(11,11,13,.18); pointer-events: none; }
.ce-pin.is-hub span { background: var(--ce-red); color: var(--ce-white); font-size: 14px; }
.ce-pin.to-left { --ll: auto; --lr: 4px; --lt: 0; }
.ce-pin.to-right { --ll: 4px; --lt: 0; }
.ce-pin.is-on { background: var(--ce-red-hi); transform: scale(1.5); }
ul.is-style-ce-towns { list-style: none; padding: 0; margin: 1rem 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
ul.is-style-ce-towns li { display: inline-flex; align-items: center; gap: 7px; padding: 9px 14px; border: 1px solid #d6d6da; border-radius: 40px; background: var(--ce-white); font-family: var(--ce-ui); font-weight: 700; font-size: .875rem; letter-spacing: .08em; text-transform: uppercase; color: var(--wp--preset--color--body-text); transition: background .25s, color .25s, border-color .25s; }
ul.is-style-ce-towns li::before { content: ""; width: 16px; height: 16px; background: var(--ce-red); -webkit-mask: var(--ce-i-pin) center/contain no-repeat; mask: var(--ce-i-pin) center/contain no-repeat; }
ul.is-style-ce-towns li:hover, ul.is-style-ce-towns li.is-on { background: var(--ce-red); border-color: var(--ce-red); color: var(--ce-white); }
ul.is-style-ce-towns li:hover::before, ul.is-style-ce-towns li.is-on::before { background: var(--ce-white); }
ul.is-style-ce-towns a { color: inherit; text-decoration: none; }

/* ---------------- Service area: Google Map that fills its column ---------------- */
.wp-block-column.ce-map-col { align-self: stretch !important; display: flex; flex-direction: column; }
.ce-map-col .wp-block-cutting-edge-map { flex: 1; display: flex; min-height: 380px; border-radius: var(--ce-r-lg); overflow: hidden; border: 1px solid var(--ce-line); box-shadow: var(--wp--preset--shadow--lift); position: relative; }
.ce-map-col .wp-block-cutting-edge-map::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--ce-red); pointer-events: none; }
.ce-map-col .wp-block-cutting-edge-map iframe { flex: 1; width: 100%; height: auto; aspect-ratio: auto; min-height: 380px; border-radius: 0; filter: none; }

/* ---------------- Call band: tint film sweeping across a real car ---------------- */
.ce-callband { overflow: hidden; border-top: 3px solid var(--ce-red); border-bottom: 3px solid var(--ce-red); }
.ce-callband .wp-block-cover__image-background { object-position: 72% 62%; transform: scale(1.08); transition: transform 7s var(--ce-ease); }
.ce-callband.is-in .wp-block-cover__image-background { transform: scale(1); }
.ce-callband::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(100deg, rgba(9,10,13,.97) 0%, rgba(9,10,13,.9) 44%, rgba(9,10,13,.62) 66%, rgba(9,10,13,.22) 100%); clip-path: inset(0 0 0 0); transition: clip-path 1.7s var(--ce-ease); }
.ce-callband::after { content: ""; position: absolute; top: 0; bottom: 0; left: 100%; z-index: 1; width: 3px; pointer-events: none; background: linear-gradient(180deg, transparent, var(--ce-red-hi) 20%, var(--ce-red-hi) 80%, transparent); box-shadow: 0 0 18px 2px var(--ce-glow); opacity: 0; }
.js .ce-callband:not(.is-in)::before { clip-path: inset(0 100% 0 0); }
.js .ce-callband.is-in::after { animation: ce-squeegee 1.7s var(--ce-ease) both; }
@keyframes ce-squeegee { 0% { left: 0; opacity: 1; } 85% { opacity: 1; } 100% { left: 100%; opacity: 0; } }
.ce-callband .wp-block-cover__inner-container { position: relative; z-index: 2; }
.ce-callband h2 { margin-top: 0; }
.ce-callband ul.is-style-ce-trust { justify-content: flex-start; gap: 10px 26px; margin-top: var(--wp--preset--spacing--40); font-size: .78rem; }
.ce-phone-card { position: relative; padding: clamp(24px, 3vw, 36px) !important; border-radius: var(--ce-r-lg); border: 1px solid rgba(255,255,255,.16); border-top: 3px solid var(--ce-red-hi); background: rgba(14,15,19,.55); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); box-shadow: 0 30px 60px -30px rgba(0,0,0,.8); }
.ce-phone-card p { margin: 0; }
.ce-phone-card .ce-phone-label { font-family: var(--ce-ui); font-weight: 700; font-size: .75rem; letter-spacing: .28em; text-transform: uppercase; color: var(--ce-red-hi); }
.ce-phone-card .ce-phone-big { display: flex; align-items: center; gap: 16px; margin: 14px 0 12px; font-family: var(--ce-display); font-weight: 900; font-size: clamp(1.45rem, 1rem + 1.8vw, 2.3rem); line-height: 1.05; letter-spacing: .01em; }
.ce-phone-card .ce-phone-big a { color: var(--ce-white); text-decoration: none; }
.ce-phone-card .ce-phone-big a:hover { color: var(--ce-red-hi); }
.ce-phone-card .ce-phone-big::before { content: ""; flex: none; width: 54px; height: 54px; border-radius: 50%; background: var(--ce-red) center / 24px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E"); box-shadow: 0 0 0 0 var(--ce-glow); animation: ce-pulse-ring 2.2s infinite; }
@keyframes ce-pulse-ring { 0% { box-shadow: 0 0 0 0 rgba(193,35,43,.6); } 80%, 100% { box-shadow: 0 0 0 18px rgba(193,35,43,0); } }
.ce-phone-card .ce-phone-meta { font-size: var(--wp--preset--font-size--small); color: var(--ce-silver); padding-top: 12px; border-top: 1px solid rgba(255,255,255,.12); }
@media (max-width: 781px) {
	.ce-callband::before { background: linear-gradient(180deg, rgba(9,10,13,.94) 0%, rgba(9,10,13,.86) 60%, rgba(9,10,13,.7) 100%); }
	.ce-callband ul.is-style-ce-trust { flex-direction: column; align-items: flex-start; }
}

/* ---------------- FAQ: H3 questions as an accessible accordion ---------------- */
.wp-block-group.is-style-ce-faq-item { background: var(--ce-char); border: 1px solid var(--ce-red); border-radius: var(--ce-r-sm); margin-block: 0 14px !important; transition: background .3s; }
.wp-block-group.is-style-ce-faq-item.is-open { background: #24252b; }
.wp-block-group.is-style-ce-faq-item h3 { margin: 0; font-size: 1.05rem; letter-spacing: .08em; line-height: 1.35; color: var(--ce-white); }
.wp-block-group.is-style-ce-faq-item h3 > button { all: unset; box-sizing: border-box; width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; cursor: pointer; font: inherit; letter-spacing: inherit; text-transform: inherit; color: inherit; }
.wp-block-group.is-style-ce-faq-item h3 > button:focus-visible { outline: 2px solid var(--ce-red-hi); outline-offset: -2px; }
.wp-block-group.is-style-ce-faq-item h3 > button::after { content: "+"; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--ce-red); color: var(--ce-white); display: grid; place-items: center; font: 400 22px/1 var(--ce-body); transition: transform .4s var(--ce-ease); }
.wp-block-group.is-style-ce-faq-item.is-open h3 > button::after { content: "\2212"; transform: rotate(180deg); }
/* Without JS every answer simply shows. */
.wp-block-group.is-style-ce-faq-item > :not(h3):not(.ce-faq-panel) { margin: 0; padding: 0 22px 20px; color: var(--ce-silver); }
.js .wp-block-group.is-style-ce-faq-item:not(.ce-faq-ready) h3 { padding: 18px 22px; }
/* With JS the answer sits in a panel that animates its height (0fr -> 1fr) and fades the text in. */
.wp-block-group.is-style-ce-faq-item { position: relative; overflow: hidden; transition: background .35s, border-color .35s, box-shadow .45s var(--ce-ease); }
.wp-block-group.is-style-ce-faq-item::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--ce-red-hi); transform: scaleY(0); transform-origin: top; transition: transform .45s var(--ce-ease); }
.wp-block-group.is-style-ce-faq-item.is-open { border-color: var(--ce-red-hi); box-shadow: 0 18px 40px -24px var(--ce-glow); }
.wp-block-group.is-style-ce-faq-item.is-open::before { transform: scaleY(1); }
.wp-block-group.is-style-ce-faq-item h3 > button { transition: color .3s; }
.wp-block-group.is-style-ce-faq-item.is-open h3 > button, .wp-block-group.is-style-ce-faq-item h3 > button:hover { color: var(--ce-white); }
.wp-block-group.is-style-ce-faq-item:not(.is-open) h3 > button:hover::after { transform: rotate(90deg); }
.ce-faq-panel { display: grid; grid-template-rows: 0fr; margin: 0 !important; transition: grid-template-rows .5s var(--ce-ease); }
.is-open > .ce-faq-panel { grid-template-rows: 1fr; }
.ce-faq-panel > .ce-faq-inner { min-height: 0; overflow: hidden; }
.ce-faq-inner > * { margin: 0; padding: 0 22px; color: var(--ce-silver); opacity: 0; transform: translateY(-10px); transition: opacity .3s ease, transform .45s var(--ce-ease); }
.ce-faq-inner > :last-child { padding-bottom: 22px; }
.is-open > .ce-faq-panel .ce-faq-inner > * { opacity: 1; transform: none; transition-delay: .12s; }

/* ---------------- Call band (legacy simple style) ---------------- */
.ce-call { position: relative; overflow: hidden; }
.ce-call::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(-55deg, rgba(0,0,0,.12) 0 2px, transparent 2px 22px); animation: ce-slide 20s linear infinite; pointer-events: none; }
.ce-call > * { position: relative; }
@keyframes ce-slide { to { background-position: 300px 0; } }
.wp-block-button.is-style-ce-phone > .wp-block-button__link { display: inline-flex; align-items: center; gap: 14px; padding: 20px 30px; background: var(--ce-ink); border-color: var(--ce-ink); color: var(--ce-white); font-size: clamp(1.2rem, .9rem + 1.3vw, 1.85rem); letter-spacing: .1em; box-shadow: 0 20px 40px -18px rgba(0,0,0,.7); }
.wp-block-button.is-style-ce-phone > .wp-block-button__link::before { content: ""; width: 1.1em; height: 1.1em; background: currentColor; -webkit-mask: var(--ce-i-phone) center/contain no-repeat; mask: var(--ce-i-phone) center/contain no-repeat; animation: ce-ring 2.4s infinite; }
.wp-block-button.is-style-ce-phone > .wp-block-button__link:hover { background: var(--ce-white); color: var(--ce-ink); border-color: var(--ce-white); }
@keyframes ce-ring { 0%, 70%, 100% { transform: rotate(0); } 75% { transform: rotate(-14deg); } 80% { transform: rotate(12deg); } 85% { transform: rotate(-8deg); } 90% { transform: rotate(5deg); } }

/* ---------------- FAQ ---------------- */
.wp-block-details.is-style-ce-faq { background: var(--ce-char); border: 1px solid var(--ce-red); border-radius: var(--ce-r-sm); margin-block: 0 14px !important; transition: background .3s; }
.wp-block-details.is-style-ce-faq[open] { background: #24252b; }
.wp-block-details.is-style-ce-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; font-family: var(--ce-ui); font-weight: 700; font-size: 1.05rem; line-height: 1.35; letter-spacing: .08em; text-transform: uppercase; color: var(--ce-white); }
.wp-block-details.is-style-ce-faq summary::-webkit-details-marker { display: none; }
.wp-block-details.is-style-ce-faq summary::after { content: "+"; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--ce-red); color: var(--ce-white); display: grid; place-items: center; font: 400 22px/1 var(--ce-body); transition: transform .4s var(--ce-ease); }
.wp-block-details.is-style-ce-faq[open] summary::after { content: "\2212"; transform: rotate(180deg); }
.wp-block-details.is-style-ce-faq > :not(summary) { padding: 0 22px; margin-top: 0; color: var(--ce-silver); }
.wp-block-details.is-style-ce-faq > :last-child:not(summary) { padding-bottom: 20px; }

/* ---------------- Cards, frames ---------------- */
.wp-block-group.is-style-ce-card { background: var(--ce-white); border: 1px solid var(--ce-line); border-radius: var(--ce-r-lg); box-shadow: var(--wp--preset--shadow--lift); }
.wp-block-group.is-style-ce-frame { position: relative; border: 2px solid var(--ce-red); }
.wp-block-group.is-style-ce-frame::before { content: ""; position: absolute; inset: -16px 7%; border-top: 2px solid var(--ce-red); border-bottom: 2px solid var(--ce-red); pointer-events: none; }
.ce-g-badge { width: 64px; height: 64px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--ce-white); box-shadow: 0 6px 18px rgba(11,11,13,.14); font: 700 34px/1 Arial, sans-serif; color: #4285F4; margin: 0 !important; }

/* ---------------- Contact ---------------- */
ul.is-style-ce-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
ul.is-style-ce-contact li { position: relative; padding: 16px 18px 16px 74px; min-height: 74px; display: flex; flex-direction: column; justify-content: center; border: 1px solid #34353c; border-radius: var(--ce-r-md); background: var(--ce-char-2); color: var(--ce-white); font-weight: 600; line-height: 1.35; transition: border-color .25s, transform .3s var(--ce-ease); }
ul.is-style-ce-contact li:hover { border-color: var(--ce-red-hi); transform: translateX(4px); }
ul.is-style-ce-contact li::before { content: ""; position: absolute; left: 16px; top: 50%; width: 42px; height: 42px; margin-top: -21px; border-radius: 50%; background: var(--ce-red); }
ul.is-style-ce-contact li::after { content: ""; position: absolute; left: 28px; top: 50%; width: 18px; height: 18px; margin-top: -9px; background: var(--ce-white); -webkit-mask: var(--ce-icon) center/contain no-repeat; mask: var(--ce-icon) center/contain no-repeat; }
ul.is-style-ce-contact li:nth-child(4n+1) { --ce-icon: var(--ce-i-pin); }
ul.is-style-ce-contact li:nth-child(4n+2) { --ce-icon: var(--ce-i-pin); }
ul.is-style-ce-contact li:nth-child(4n+3) { --ce-icon: var(--ce-i-mail); }
ul.is-style-ce-contact li:nth-child(4n+4) { --ce-icon: var(--ce-i-clock); }
ul.is-style-ce-contact a { color: var(--ce-white); text-decoration: none; word-break: break-word; }
ul.is-style-ce-contact strong { display: block; font-family: var(--ce-ui); font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: #9fa0a6; margin-bottom: 4px; }
.ce-map iframe { display: block; width: 100%; aspect-ratio: 16 / 10; height: auto; border: 0; border-radius: var(--ce-r-md); filter: grayscale(.3) contrast(1.05); }

/* Contact Form 7, styled from the same tokens */
/* Contact section around the booking form: tint-film stripes and a red glow behind a lifted card, with the form's steps above it. */
#contact { position: relative; overflow: clip; background-image: radial-gradient(60% 50% at 50% 100%, rgba(193, 35, 43, .22), transparent 70%), repeating-linear-gradient(115deg, rgba(255, 255, 255, .025) 0 2px, transparent 2px 26px) !important; }
#contact .ce-form { position: relative; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .75), 0 0 0 1px rgba(255, 255, 255, .06); }
/* Contact v3: form on the left; on the right a panel that sticks beside the form until the section ends. */
.ce-form-cols { align-items: flex-start !important; }
@media (min-width: 782px) { .ce-form-cols > .ce-form-aside { position: sticky; top: calc(var(--wp-admin--admin-bar--height, 0px) + 100px); } }
.ce-form-panel { position: relative; padding: clamp(24px, 3vw, 34px); border: 1px solid rgba(255, 255, 255, .12); border-top: 4px solid var(--ce-red); border-radius: var(--ce-r-md); background: radial-gradient(120% 70% at 100% 0%, rgba(193, 35, 43, .3), transparent 60%), linear-gradient(160deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02)); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7); }
.ce-form-panel > * { margin: 0 !important; }
.ce-form-panel > * + * { margin-top: 16px !important; }
.ce-form-panel h3 { color: var(--ce-white); font-size: var(--wp--preset--font-size--large); }
ul.ce-form-steps { list-style: none; counter-reset: ce-fstep; padding: 0; display: grid; gap: 0; }
ul.ce-form-steps li { counter-increment: ce-fstep; position: relative; padding: 0 0 18px 48px; color: var(--ce-silver); font-size: .92rem; line-height: 1.5; }
ul.ce-form-steps li::before { content: counter(ce-fstep); position: absolute; left: 0; top: 0; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: var(--ce-red); color: var(--ce-white); font-family: var(--ce-ui); font-weight: 700; box-shadow: 0 0 0 4px rgba(193, 35, 43, .2); }
ul.ce-form-steps li::after { content: ""; position: absolute; left: 15px; top: 36px; bottom: 4px; width: 2px; background: rgba(255, 255, 255, .12); }
ul.ce-form-steps li:last-child { padding-bottom: 0; }
ul.ce-form-steps li:last-child::after { display: none; }
ul.ce-form-steps strong { display: block; margin-bottom: 2px; font-family: var(--ce-ui); font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ce-white); }
ul.ce-form-trust { list-style: none; padding: 16px 0 0; border-top: 1px solid rgba(255, 255, 255, .1); display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; }
ul.ce-form-trust li { display: flex; align-items: center; gap: 8px; font-family: var(--ce-ui); font-weight: 700; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ce-white); }
ul.ce-form-trust li::before { content: ""; width: 16px; height: 16px; flex: none; background: var(--ce-red-hi); -webkit-mask: var(--ce-i-check) center/contain no-repeat; mask: var(--ce-i-check) center/contain no-repeat; }
p.ce-form-rating { margin-top: 10px !important; }
p.ce-form-rating + p.ce-form-rating { margin-top: 8px !important; }
p.ce-form-rating a { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: var(--ce-r-sm); background: rgba(255, 255, 255, .05); color: var(--ce-silver); text-decoration: none; font-size: .9rem; transition: background-color .25s; }
p.ce-form-rating a:hover { background: rgba(255, 255, 255, .1); color: var(--ce-white); }
p.ce-form-rating strong { font-size: 1.15rem; color: var(--ce-white); }
p.ce-form-rating .ce-stars { color: #f5b301; letter-spacing: 2px; }
@media (max-width: 781px) { .ce-form-cols > .ce-form-aside { margin-top: 10px; } }

/* OrbisX booking form: a white card under the red top line; the frame grows with the form. */
.ce-form:has(.wp-block-cutting-edge-booking-form) { background: #fff; padding: 0 !important; overflow: hidden; }
.wp-block-cutting-edge-booking-form iframe { display: block; width: 100%; height: 1600px; border: 0; background: #fff; }
.ce-form { background: var(--ce-ink); padding: clamp(22px, 3.5vw, 36px) !important; border-radius: var(--ce-r-md); border-top: 4px solid var(--ce-red); }
.ce-form .wpcf7-form p { margin: 0 0 14px; }
.ce-form label, .ce-form .ce-label { display: block; font-family: var(--ce-ui); font-weight: 700; font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; color: #bbb; }
.ce-form .ce-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.ce-form .ce-row > p { display: contents; }
.ce-form .ce-row br, .ce-form label > br { display: none; }
.ce-form .ce-row label { margin-bottom: 14px; }
.ce-form input[type="text"], .ce-form input[type="email"], .ce-form input[type="tel"], .ce-form textarea { width: 100%; margin-top: 8px; padding: 13px 14px; border: 1px solid #333; border-radius: var(--ce-r-sm); background: var(--ce-white); color: #111; font: 400 1rem/1.4 var(--ce-body); box-sizing: border-box; }
.ce-form textarea { height: 110px; resize: vertical; }
.ce-form input:focus, .ce-form textarea:focus { outline: 2px solid var(--ce-red-hi); outline-offset: 1px; }
.ce-form .wpcf7-checkbox { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.ce-form .wpcf7-list-item { margin: 0; }
.ce-form .wpcf7-list-item label { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border: 1px solid #3a3a3f; border-radius: var(--ce-r-sm); cursor: pointer; font-size: .9rem; letter-spacing: .06em; color: var(--ce-white); text-transform: none; }
.ce-form .wpcf7-list-item label:has(input:checked) { border-color: var(--ce-red-hi); background: rgba(193,35,43,.2); }
.ce-form input[type="checkbox"] { accent-color: var(--ce-red-hi); width: 16px; height: 16px; }
.ce-form input[type="submit"] { width: 100%; min-height: 52px; border: 0; border-radius: var(--ce-r-sm); background: var(--ce-red); color: var(--ce-white); font: 700 .875rem/1 var(--ce-ui); letter-spacing: .2em; text-transform: uppercase; cursor: pointer; transition: background .25s, transform .3s var(--ce-ease); }
.ce-form input[type="submit"]:hover { background: var(--ce-red-hi); transform: translateY(-2px); }
.ce-form .wpcf7-response-output { margin: 14px 0 0 !important; padding: 12px 14px !important; border: 0 !important; border-left: 3px solid var(--ce-red-hi) !important; background: #141418; color: var(--ce-white); }
.ce-form .wpcf7-not-valid-tip { color: #ff8a8f; font: 400 .85rem/1.4 var(--ce-body); letter-spacing: 0; text-transform: none; margin-top: 6px; }
.ce-form .wpcf7-spinner { display: none; }

/* ---------------- Footer (global template part) ---------------- */
.ce-footer .wp-block-separator { max-width: 900px; margin-inline: auto; border: 0; height: 2px; background: var(--ce-red); opacity: 1; }
.ce-footer .wp-block-site-logo img, .ce-footer .ce-footer-logo img { height: 56px; width: auto; }
.ce-footer h4 { color: var(--ce-white); font-size: var(--wp--preset--font-size--small); letter-spacing: .32em; margin-bottom: 1rem; }
ul.is-style-ce-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: var(--wp--preset--font-size--small); }
ul.is-style-ce-links a[href^="mailto:"] { overflow-wrap: anywhere; }
ul.is-style-ce-links a { color: #c9cacf; text-decoration: none; transition: color .2s; }
ul.is-style-ce-links a:hover { color: var(--ce-white); }
.ce-footer .wp-block-social-links .wp-social-link { border: 1px solid #44454c; }
.ce-footer .wp-block-social-links .wp-social-link:hover { background: var(--ce-red); border-color: var(--ce-red); }
.ce-footer .ce-copy { border-top: 1px solid #34353c; padding-top: 22px; font-size: var(--wp--preset--font-size--small); color: #8d8e94; }

/* Footer v2: brand and links left-aligned on the left, both shops (address, phone, hours, Google Map) on the right. */
.ce-footer .ce-foot-brand > * { margin-top: 0; margin-bottom: 0; }
.ce-footer .ce-foot-brand > * + * { margin-top: 18px; }
.ce-footer .ce-foot-brand p { color: var(--ce-silver); max-width: 420px; }
.ce-footer p.ce-foot-mail a { color: var(--ce-white); font-weight: 700; text-decoration: none; }
.ce-footer p.ce-foot-mail a:hover { color: var(--ce-red-hi); }
.ce-footer .ce-foot-links { margin-top: 30px !important; gap: 24px !important; }
.ce-footer .ce-foot-locs { gap: 20px !important; align-items: stretch !important; margin: 0 !important; }
.ce-footer .ce-foot-loc { display: flex; flex-direction: column; padding: 22px 22px 0; background: rgba(255, 255, 255, .04); border: 1px solid #34353c; border-top: 3px solid var(--ce-red); border-radius: var(--ce-r-md); overflow: hidden; }
.ce-footer .ce-foot-loc > * { margin: 0; }
.ce-footer .ce-foot-loc > * + * { margin-top: 10px; }
.ce-footer .ce-foot-loc h4 { margin-bottom: 4px; }
.ce-footer .ce-foot-loc p { position: relative; padding-left: 26px; color: var(--ce-silver); font-size: .92rem; line-height: 1.5; }
.ce-footer .ce-foot-loc p::before { content: ""; position: absolute; left: 0; top: .2em; width: 16px; height: 16px; background: var(--ce-red-hi); -webkit-mask: var(--ce-i-pin) center/contain no-repeat; mask: var(--ce-i-pin) center/contain no-repeat; }
.ce-footer .ce-foot-loc p.ce-foot-tel::before { -webkit-mask-image: var(--ce-i-phone); mask-image: var(--ce-i-phone); }
.ce-footer .ce-foot-loc p.ce-foot-hours::before { -webkit-mask-image: var(--ce-i-clock); mask-image: var(--ce-i-clock); }
.ce-footer .ce-foot-loc p a { color: var(--ce-white); text-decoration: none; }
.ce-footer .ce-foot-loc p.ce-foot-tel a { font-weight: 700; }
.ce-footer .ce-foot-loc p a:hover { color: var(--ce-red-hi); }
.ce-footer .ce-foot-loc p strong { color: var(--ce-white); }
.ce-footer .ce-foot-loc .wp-block-cutting-edge-map { margin: auto -22px 0 !important; padding-top: 16px; }
.ce-footer .ce-foot-loc .wp-block-cutting-edge-map iframe { display: block; width: 100%; height: 190px; aspect-ratio: auto; border: 0; border-radius: 0; filter: grayscale(.25) contrast(1.05); }
@media (max-width: 781px) { .ce-footer .ce-foot-right { margin-top: 10px; } }

/* Back to top: appears after scrolling down; sits above the mobile action bar. */
.ce-totop { position: fixed; right: 20px; bottom: 24px; z-index: 95; width: 48px; height: 48px; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--ce-red); color: var(--ce-white); box-shadow: 0 12px 26px -10px rgba(0, 0, 0, .55); cursor: pointer; opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .35s, transform .35s var(--ce-ease), background-color .25s; }
.ce-totop.is-on { opacity: 1; transform: none; pointer-events: auto; }
.ce-totop:hover { background: var(--ce-red-hi); }
.ce-totop svg { width: 20px; height: 20px; }
@media (max-width: 781px) { .ce-totop { bottom: 72px; right: 14px; width: 44px; height: 44px; } }

/* Mobile quick-action bar (lives in the footer part) */
.ce-mbar { display: none !important; }
@media (max-width: 781px) {
	.ce-mbar { display: grid !important; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 !important; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; width: 100%; max-width: none !important; box-sizing: border-box; margin: 0 !important; padding-bottom: env(safe-area-inset-bottom); background: var(--ce-ink); box-shadow: 0 -8px 24px rgba(0,0,0,.25); }
	.ce-mbar .wp-block-button { width: 100%; min-width: 0; margin: 0; }
	.ce-mbar .wp-block-button__link { width: 100%; min-height: 56px; display: flex; align-items: center; justify-content: center; border-radius: 0; border: 0; padding-inline: 8px; letter-spacing: .12em; white-space: nowrap; }
	.ce-mbar .wp-block-button:first-child .wp-block-button__link { background: var(--ce-ink); }
	body { padding-bottom: 56px; }
}

/* ---------------- 3D scroll reveal (generic, used on every page) ---------------- */
.js .ce-rv { opacity: 0; transform: perspective(1000px) rotateX(14deg) translateY(44px); transform-origin: 50% 100%; transition: opacity .9s var(--ce-ease), transform 1.1s var(--ce-ease); transition-delay: var(--d, 0s); }
.js .ce-rv.is-in { opacity: 1; transform: none; }

/* ---------------- Responsive ---------------- */
@media (max-width: 781px) {
	.ce-hero { min-height: 0 !important; }
	.ce-glass-scene { width: min(420px, 92%); }
	.wp-block-group.is-style-ce-why { grid-template-columns: 1fr; }
	.wp-block-group.is-style-ce-why > .wp-block-group:nth-child(odd) { border-right: 0; }
	.wp-block-group.is-style-ce-why > .wp-block-group:nth-child(-n+3) { border-bottom: 2px solid var(--ce-red); }
	.wp-block-gallery.is-style-ce-ring { height: 300px; }
	.wp-block-cutting-edge-area-map { min-height: 340px; }
	.ce-map-plane { width: 76vw; }
	.ce-pin span { font-size: 10px; padding: 3px 5px; }
	.ce-form .ce-row { grid-template-columns: 1fr; }
	.wp-block-group.is-style-ce-frame::before { display: none; }
	.ce-photo-stack { margin-top: 1rem; }
	.ce-swatch-note { display: none; }
}
/* Kicker over a photo stays readable. */
.wp-block-cover p.is-style-ce-kicker { color: var(--ce-white); }
.wp-block-cover p.is-style-ce-kicker::before { background: var(--ce-red-hi); }

/* Card grid: packages, films, benefits, myths. 2, 3 or 3+2 columns by card count; cards turn dark inside dark sections. */
.wp-block-group.is-style-ce-grid { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 22px !important; }
.wp-block-group.is-style-ce-grid:has(> :nth-child(2):last-child), .wp-block-group.is-style-ce-grid:has(> :nth-child(4):last-child) { grid-template-columns: repeat(2, 1fr); }
.wp-block-group.is-style-ce-grid:has(> :nth-child(3):last-child), .wp-block-group.is-style-ce-grid:has(> :nth-child(6):last-child) { grid-template-columns: repeat(3, 1fr); }
.wp-block-group.is-style-ce-grid:has(> :nth-child(5):last-child) { grid-template-columns: repeat(6, 1fr); }
.wp-block-group.is-style-ce-grid:has(> :nth-child(5):last-child) > * { grid-column: span 2; }
.wp-block-group.is-style-ce-grid:has(> :nth-child(5):last-child) > :nth-child(n+4) { grid-column: span 3; }
.wp-block-group.is-style-ce-grid > .wp-block-group { position: relative; display: flex; flex-direction: column; margin: 0 !important; padding: clamp(24px, 3vw, 36px); background: var(--ce-white); border: 1px solid var(--ce-line); border-radius: var(--ce-r-md); box-shadow: var(--wp--preset--shadow--lift); overflow: hidden; transition: transform .5s var(--ce-ease) var(--d, 0s), opacity .9s var(--ce-ease) var(--d, 0s), border-color .3s; }
.wp-block-group.is-style-ce-grid > .wp-block-group > * { margin-top: 0; margin-bottom: 0; }
.wp-block-group.is-style-ce-grid > .wp-block-group > * + * { margin-top: .9rem; }
.wp-block-group.is-style-ce-grid > .wp-block-group::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 3px; background: var(--ce-red); transform: scaleX(.2); transform-origin: left; transition: transform .6s var(--ce-ease); }
.wp-block-group.is-style-ce-grid > .wp-block-group:hover { transform: translateY(-6px); border-color: var(--ce-red); }
.wp-block-group.is-style-ce-grid > .wp-block-group:hover::before { transform: scaleX(1); }
.wp-block-group.is-style-ce-grid p { color: var(--ce-steel); }
.wp-block-group.is-style-ce-grid ul.is-style-ce-checks { margin-bottom: 0; font-size: var(--wp--preset--font-size--small); }
:is(.is-style-section-black, .is-style-section-charcoal) .wp-block-group.is-style-ce-grid > .wp-block-group { background: linear-gradient(160deg, var(--ce-char-2), #16171b); border-color: #34353c; box-shadow: none; }
:is(.is-style-section-black, .is-style-section-charcoal) .wp-block-group.is-style-ce-grid h3 { color: var(--ce-white); }
:is(.is-style-section-black, .is-style-section-charcoal) .wp-block-group.is-style-ce-grid :is(p, li) { color: var(--ce-silver); }
.wp-block-group.is-style-ce-grid p.is-style-ce-kicker { color: var(--ce-red-hi); margin-bottom: -.3rem; }
/* A photo as the first block of a card runs edge to edge across its top. On dark cards a black-backed
   render blends into the card and sits on a soft red floor glow. */
.wp-block-group.is-style-ce-grid > .wp-block-group > .wp-block-image:first-child { margin: calc(-1 * clamp(24px, 3vw, 36px)) calc(-1 * clamp(24px, 3vw, 36px)) .4rem !important; overflow: hidden; }
.wp-block-group.is-style-ce-grid > .wp-block-group > .wp-block-image:first-child img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .8s var(--ce-ease); }
.wp-block-group.is-style-ce-grid > .wp-block-group:hover > .wp-block-image:first-child img { transform: scale(1.05) translateY(-4px); }
:is(.is-style-section-black, .is-style-section-charcoal) .wp-block-group.is-style-ce-grid > .wp-block-group > .wp-block-image:first-child { background: radial-gradient(ellipse 55% 26% at 50% 84%, rgba(193, 35, 43, .38), transparent 72%); }
:is(.is-style-section-black, .is-style-section-charcoal) .wp-block-group.is-style-ce-grid > .wp-block-group > .wp-block-image:first-child img { mix-blend-mode: lighten; }
p.is-style-ce-bestfor { margin-top: auto !important; padding-top: 16px; border-top: 1px solid rgba(128, 128, 136, .3); font-size: var(--wp--preset--font-size--small); }
p.is-style-ce-bestfor strong { display: block; margin-bottom: 4px; font-family: var(--ce-ui); font-size: .78rem; letter-spacing: .24em; text-transform: uppercase; color: var(--ce-red-hi); }
.wp-block-group.is-style-ce-grid > .wp-block-group:has(> p.is-style-ce-bestfor) > ul { margin-bottom: 1.2rem; }
@media (max-width: 781px) {
	.wp-block-group.is-style-ce-grid, .wp-block-group.is-style-ce-grid[class] { grid-template-columns: 1fr !important; }
	.wp-block-group.is-style-ce-grid > * { grid-column: auto !important; }
}

/* Framed photo: a print-style frame with a red offset edge and a small credit line. */
.wp-block-image.is-style-ce-historic { position: relative; margin: 0; padding: 10px; background: var(--ce-white); border-radius: var(--ce-r-sm); box-shadow: 14px 14px 0 -2px var(--ce-red), 0 26px 50px -20px rgba(0, 0, 0, .6); transform: rotate(-1.2deg); transition: transform .8s var(--ce-ease); }
.wp-block-image.is-style-ce-historic:hover { transform: rotate(0deg) scale(1.01); }
.wp-block-image.is-style-ce-historic img { display: block; width: 100%; height: auto; border-radius: 2px; }
.wp-block-image.is-style-ce-historic figcaption { margin: 10px 2px 0; font-size: .78rem; line-height: 1.45; color: var(--ce-steel); text-align: left; }

/* Buttons inside a card sit at its foot, so cards in a row line up. */
.wp-block-group.is-style-ce-grid > .wp-block-group > .wp-block-buttons:last-child { margin-top: auto !important; padding-top: 1.2rem; }

/* Cost factors table: each row is a dark bar with a red edge. */
.wp-block-table.is-style-ce-factors { max-width: 900px; margin: 0 auto; overflow-x: visible; }
.wp-block-table.is-style-ce-factors table { width: 100%; border-collapse: separate; border-spacing: 0 10px; border: 0; }
.wp-block-table.is-style-ce-factors :is(th, td) { border: 0; text-align: left; vertical-align: top; }
.wp-block-table.is-style-ce-factors thead { border: 0; }
.wp-block-table.is-style-ce-factors th { padding: 0 24px 4px; font-family: var(--ce-ui); font-size: .78rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--ce-red-hi); }
.wp-block-table.is-style-ce-factors td { padding: 18px 24px; background: #1b1c21; border-top: 1px solid #34353c; border-bottom: 1px solid #34353c; color: var(--ce-silver); line-height: 1.55; transition: border-color .3s, background-color .3s; }
.wp-block-table.is-style-ce-factors :is(th, td):first-child { width: 34%; }
.wp-block-table.is-style-ce-factors td:first-child { border-left: 3px solid var(--ce-red); border-radius: var(--ce-r-sm) 0 0 var(--ce-r-sm); font-weight: 700; color: var(--ce-white); }
.wp-block-table.is-style-ce-factors td:last-child { border-right: 1px solid #34353c; border-radius: 0 var(--ce-r-sm) var(--ce-r-sm) 0; }
.wp-block-table.is-style-ce-factors tr:hover td { border-color: var(--ce-red); }
@media (max-width: 600px) {
	.wp-block-table.is-style-ce-factors :is(th, td) { padding-left: 14px; padding-right: 14px; }
	.wp-block-table.is-style-ce-factors :is(th, td):first-child { width: 40%; }
}

/* Lists of rules over a photo section read as tinted glass cards. */
.wp-block-cover ul.is-style-ce-tiers li { background: rgba(11, 11, 13, .72); border-color: rgba(255, 255, 255, .14); border-left-color: var(--ce-red); color: var(--ce-line); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.wp-block-cover ul.is-style-ce-tiers strong { color: var(--ce-white); margin-bottom: 2px; }

/* Five process steps wrap as three over two. */
@media (min-width: 782px) {
	.wp-block-columns.is-style-ce-steps:has(> .wp-block-column:nth-child(5)) { flex-wrap: wrap !important; }
	.wp-block-columns.is-style-ce-steps:has(> .wp-block-column:nth-child(5)) > .wp-block-column { box-sizing: border-box; flex: 1 1 calc((100% - 44px) / 3) !important; }
}
.wp-block-columns.is-style-ce-steps > .wp-block-column:nth-child(5) { transition-delay: .6s; }


@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* Editor-only: placeholders for the theme's dynamic blocks */
.ce-placeholder { display: grid; gap: 6px; place-items: center; text-align: center; min-height: 160px; padding: 24px; border: 2px dashed var(--ce-red); border-radius: var(--ce-r-md); background: rgba(155, 25, 31, .06); font-family: var(--ce-ui); color: inherit; }
.ce-placeholder strong { font-size: 1.1rem; letter-spacing: .14em; text-transform: uppercase; }
.ce-placeholder span { font-size: .9rem; opacity: .8; max-width: 380px; }
.ce-placeholder .components-base-control { width: min(100%, 420px); margin-top: 8px; text-align: left; }
.ce-placeholder .components-text-control__input { background: #fff; color: #1e1e1e; }
