/* ==========================================================================
   Elec.Expert – site styles
   Colours, fonts and sizes come from theme.json (CSS custom properties).
   ========================================================================== */

:root {
	--ee-ink: var(--wp--preset--color--ink, #1C1210);
	--ee-espresso: var(--wp--preset--color--espresso, #3A221B);
	--ee-gold: var(--wp--preset--color--gold, #A57A1E);
	--ee-gold-light: var(--wp--preset--color--gold-light, #C9A45C);
	--ee-sand: var(--wp--preset--color--sand, #F6F1E9);
	--ee-paper: var(--wp--preset--color--paper, #FFFDF9);
	--ee-stone: var(--wp--preset--color--stone, #5F5753);
	--ee-line: var(--wp--preset--color--line, #E7DED1);
	--ee-radius: var(--wp--custom--radius, 14px);
	--ee-shadow: var(--wp--custom--shadow, 0 18px 40px -22px rgba(28,18,16,.35));
	--ee-header-h: 84px;
	--ee-ease: cubic-bezier(.2,.7,.2,1);
}

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--ee-header-h) + 16px); }
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
::selection { background: var(--ee-gold-light); color: var(--ee-ink); }
:focus-visible { outline: 3px solid var(--ee-gold-light); outline-offset: 3px; border-radius: 4px; }
img { height: auto; }
.ee-main { padding-top: 0 !important; margin-top: 0 !important; }
.ee-main > .wp-block-post-content > *:first-child { margin-top: 0; }
.wp-site-blocks > * + * { margin-block-start: 0; }

/* Skip link (WordPress adds .skip-link) */
.skip-link.screen-reader-text:focus { background: var(--ee-ink); color: #fff; padding: .75rem 1rem; z-index: 1000; }

/* --------------------------------------------------------------------------
   Header
   ----------------------------------------------------------------------- */
.ee-header {
	position: sticky; top: 0; z-index: 100;
	background: rgba(255, 253, 249, .92);
	backdrop-filter: saturate(160%) blur(12px);
	-webkit-backdrop-filter: saturate(160%) blur(12px);
	border-bottom: 1px solid transparent;
	transition: box-shadow .3s var(--ee-ease), border-color .3s;
}
.admin-bar .ee-header { top: 32px; }
.is-scrolled .ee-header { box-shadow: 0 10px 30px -18px rgba(28,18,16,.35); border-color: var(--ee-line); }
.ee-header__inner { min-height: var(--ee-header-h); gap: 1.5rem; }
.ee-header .wp-block-shortcode, .ee-header p { margin: 0; }
.ee-logo { display: block; line-height: 0; }
.ee-logo img { height: 54px; width: auto; transition: height .3s var(--ee-ease); }
.is-scrolled .ee-logo img { height: 46px; }
.ee-header__right { gap: 1.25rem; align-items: center; }

.ee-nav { display: flex; align-items: center; gap: 1.25rem; }
.ee-nav__list { list-style: none; display: flex; gap: .25rem; margin: 0; padding: 0; }
.ee-nav__list > li { position: relative; }
.ee-nav__list a {
	display: block; padding: .55rem .8rem; border-radius: 8px;
	color: var(--ee-ink); text-decoration: none; font-weight: 500; font-size: .95rem;
	position: relative;
}
.ee-nav__list > li > a::after {
	content: ""; position: absolute; left: .8rem; right: .8rem; bottom: .3rem; height: 2px;
	background: var(--ee-gold); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ee-ease);
}
.ee-nav__list > li > a:hover::after,
.ee-nav__list > .current-menu-item > a::after,
.ee-nav__list > .current-menu-ancestor > a::after { transform: scaleX(1); }
.ee-nav__list .sub-menu {
	list-style: none; margin: 0; padding: .5rem; position: absolute; top: 100%; left: 0; min-width: 260px;
	background: #fff; border: 1px solid var(--ee-line); border-radius: 12px; box-shadow: var(--ee-shadow);
	opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .25s var(--ee-ease);
}
.ee-nav__list li:hover > .sub-menu, .ee-nav__list li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.ee-nav__list .sub-menu a:hover { background: var(--ee-sand); color: var(--ee-gold); }

.ee-lang { list-style: none; display: flex; margin: 0; padding: 3px; gap: 2px; border: 1px solid var(--ee-line); border-radius: 999px; }
.ee-lang a { display: block; padding: .25rem .6rem; border-radius: 999px; font-size: .78rem; font-weight: 700; letter-spacing: .06em; color: var(--ee-stone); text-decoration: none; }
.ee-lang a.is-current { background: var(--ee-ink); color: #fff; }
.ee-lang a:not(.is-current):hover { color: var(--ee-gold); }

.ee-header-cta {
	display: inline-flex; align-items: center; gap: .5rem; white-space: nowrap;
	background: var(--ee-gold); color: #fff !important; text-decoration: none; font-weight: 600; font-size: .92rem;
	padding: .7rem 1.25rem; border-radius: 999px; transition: background .25s, transform .25s var(--ee-ease);
}
.ee-header-cta:hover { background: var(--ee-espresso); transform: translateY(-1px); }

.ee-burger { display: none; width: 44px; height: 44px; border: 1px solid var(--ee-line); border-radius: 10px; background: #fff; cursor: pointer; padding: 11px 10px; flex-direction: column; justify-content: space-between; }
.ee-burger span { display: block; height: 2px; background: var(--ee-ink); border-radius: 2px; transition: transform .3s var(--ee-ease), opacity .2s; }
.ee-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.ee-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.ee-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 1100px) {
	:root { --ee-header-h: 70px; }
	.ee-logo img, .is-scrolled .ee-logo img { height: 42px; }
	.ee-burger { display: flex; order: 2; }
	.ee-nav {
		position: fixed; inset: var(--ee-header-h) 0 0 auto; width: min(380px, 100vw);
		flex-direction: column; align-items: stretch; gap: 1.5rem; padding: 1.5rem;
		background: var(--ee-paper); border-left: 1px solid var(--ee-line); box-shadow: -20px 0 50px -30px rgba(0,0,0,.4);
		transform: translateX(105%); transition: transform .35s var(--ee-ease); overflow-y: auto;
	}
	.admin-bar .ee-nav { top: calc(var(--ee-header-h) + 46px); }
	.ee-nav.is-open { transform: none; }
	.ee-nav__list { flex-direction: column; }
	.ee-nav__list a { padding: .8rem .5rem; font-size: 1.05rem; border-bottom: 1px solid var(--ee-line); border-radius: 0; }
	.ee-nav__list > li > a::after { display: none; }
	.ee-nav__list .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 1rem; min-width: 0; }
	.ee-lang { align-self: flex-start; }
}
@media (max-width: 600px) { .ee-header-cta { display: none; } }

/* --------------------------------------------------------------------------
   Generic section helpers (class names usable in the block editor)
   ----------------------------------------------------------------------- */
.ee-section { padding-block: var(--wp--preset--spacing--60) !important; margin-block: 0 !important; }
.ee-section--tight { padding-block: var(--wp--preset--spacing--50) !important; }
.ee-section--sand { background: var(--ee-sand); }
.ee-section--dark { background: var(--ee-ink); color: #D9CFC4; }
.ee-section--dark :is(h1,h2,h3,h4) { color: #fff; }
.ee-section--dark a:not(.wp-element-button) { color: var(--ee-gold-light); }
.ee-section--pattern { position: relative; isolation: isolate; }
.ee-section--pattern::before {
	content: ""; position: absolute; inset: 0; z-index: -1; opacity: .07; pointer-events: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' fill='none' stroke='%23C9A45C' stroke-width='1.2'%3E%3Cpath d='M0 30h40l10 10h30l10-10h30M30 0v20l10 10M90 120v-30l-10-10H60M0 90h20l10 10v20'/%3E%3Ccircle cx='40' cy='30' r='3'/%3E%3Ccircle cx='90' cy='30' r='3'/%3E%3Ccircle cx='60' cy='80' r='3'/%3E%3Ccircle cx='20' cy='90' r='3'/%3E%3C/svg%3E");
}

.ee-kicker {
	display: inline-flex; align-items: center; gap: .75rem;
	color: var(--ee-gold) !important; font-size: .8rem !important; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; margin-bottom: .75rem !important;
}
.ee-kicker::before { content: ""; width: 34px; height: 2px; background: currentColor; }
.has-text-align-center.ee-kicker, .ee-kicker.has-text-align-center { justify-content: center; }
.ee-kicker a { color: inherit; text-decoration: none; }
.ee-lead { font-size: var(--wp--preset--font-size--large) !important; line-height: 1.65; color: var(--ee-stone); max-width: 68ch; }
.ee-section--dark .ee-lead { color: #D9CFC4; }
.ee-center { text-align: center; margin-inline: auto; }
.ee-center.ee-lead { margin-inline: auto; }
.ee-gold { color: var(--ee-gold) !important; }
.ee-meta { color: var(--ee-stone); font-size: .88rem; }

/* Buttons */
.wp-element-button, .wp-block-button__link { transition: background .25s, color .25s, transform .25s var(--ee-ease), box-shadow .25s; }
.wp-block-button__link:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -14px rgba(165,122,30,.8); }
.wp-block-button.is-style-outline > .wp-block-button__link { background: transparent; color: var(--ee-ink); border: 2px solid currentColor; }
.wp-block-button.is-style-outline > .wp-block-button__link:hover { background: var(--ee-ink); color: #fff; border-color: var(--ee-ink); }
.ee-section--dark .wp-block-button.is-style-outline > .wp-block-button__link,
.ee-hero .wp-block-button.is-style-outline > .wp-block-button__link { color: #fff; }
.ee-section--dark .wp-block-button.is-style-outline > .wp-block-button__link:hover,
.ee-hero .wp-block-button.is-style-outline > .wp-block-button__link:hover { background: #fff; color: var(--ee-ink); border-color: #fff; }

/* --------------------------------------------------------------------------
   Hero (core/cover with class ee-hero)
   ----------------------------------------------------------------------- */
.ee-hero { min-height: min(88vh, 860px) !important; margin-block: 0 !important; padding-block: var(--wp--preset--spacing--70) !important; overflow: hidden; }
.ee-hero .wp-block-cover__background { background: linear-gradient(105deg, rgba(28,18,16,.96) 0%, rgba(28,18,16,.86) 45%, rgba(58,34,27,.55) 100%) !important; opacity: 1 !important; }
.ee-hero::after {
	content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .14;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' fill='none' stroke='%23C9A45C' stroke-width='1'%3E%3Cpath d='M0 40h50l15 15h40l15-15h40M40 0v25l15 15M120 160v-40l-15-15H80M0 120h25l15 15v25'/%3E%3Ccircle cx='50' cy='40' r='3'/%3E%3Ccircle cx='120' cy='40' r='3'/%3E%3Ccircle cx='80' cy='105' r='3'/%3E%3Ccircle cx='25' cy='120' r='3'/%3E%3C/svg%3E");
	mask-image: linear-gradient(90deg, transparent 0%, #000 60%);
	-webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 60%);
}
.ee-hero .wp-block-cover__inner-container { position: relative; z-index: 2; }
.ee-hero h1 { color: #fff; max-width: 17ch; margin-block: .5rem 1.25rem; }
.ee-hero h1 em, .ee-hero h1 .ee-gold { font-style: normal; color: var(--ee-gold-light) !important; }
.ee-hero .ee-lead { color: #E8DFD3; }
.ee-hero .ee-kicker { color: var(--ee-gold-light) !important; }
.ee-badges { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 2rem !important; padding: 0; list-style: none; }
.ee-badges li {
	display: inline-flex; align-items: center; gap: .5rem; padding: .45rem .9rem; border-radius: 999px;
	border: 1px solid rgba(201,164,92,.45); background: rgba(255,255,255,.05); color: #F1E9DD; font-size: .88rem;
}
.ee-badges li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ee-gold-light); box-shadow: 0 0 0 4px rgba(201,164,92,.2); }
.ee-scrollhint { position: absolute; left: 50%; bottom: 1.5rem; width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.5); border-radius: 14px; transform: translateX(-50%); z-index: 3; }
.ee-scrollhint::after { content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--ee-gold-light); animation: ee-scroll 1.8s infinite; }
@keyframes ee-scroll { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* --------------------------------------------------------------------------
   Cards & icon tiles
   ----------------------------------------------------------------------- */
.ee-grid { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 1.5rem !important; }
.ee-grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.ee-grid > * { margin: 0 !important; }
.ee-card {
	position: relative; background: #fff; border: 1px solid var(--ee-line); border-radius: var(--ee-radius);
	padding: 2rem !important; height: 100%;
	transition: transform .35s var(--ee-ease), box-shadow .35s var(--ee-ease), border-color .35s;
}
.ee-card:hover { transform: translateY(-6px); box-shadow: var(--ee-shadow); border-color: rgba(165,122,30,.45); }
.ee-card h3 { font-size: 1.3rem !important; margin: 1.1rem 0 .6rem; }
.ee-card p { margin: 0 0 .6rem; font-size: .98rem; }
.ee-card ul { margin: .5rem 0 0; padding-left: 1.1rem; font-size: .95rem; }
.ee-card li { margin-bottom: .3rem; }
.ee-card li::marker { color: var(--ee-gold); }
.ee-card .ee-more { margin-top: 1rem !important; font-weight: 600; font-size: .93rem; }
.ee-card .ee-more a { text-decoration: none; }
.ee-card .ee-more a::after { content: " →"; transition: margin .25s; }
.ee-card:hover .ee-more a::after { margin-left: 4px; }
.ee-section--dark .ee-card { background: rgba(255,255,255,.04); border-color: rgba(201,164,92,.25); }
.ee-section--dark .ee-card p, .ee-section--dark .ee-card li { color: #D9CFC4; }

.ee-card--post { padding: 0 !important; overflow: hidden; display: flex; flex-direction: column; }
.ee-card--post .wp-block-post-featured-image { margin: 0; }
.ee-card--post .wp-block-post-featured-image img { transition: transform .6s var(--ee-ease); }
.ee-card--post:hover .wp-block-post-featured-image img { transform: scale(1.04); }
.ee-card__body { padding: 1.5rem 1.6rem 1.8rem; }
.ee-card--post h3 a { color: var(--ee-ink); text-decoration: none; }
.ee-card--post h3 a:hover { color: var(--ee-gold); }

.ee-icon {
	width: 58px; height: 58px; border-radius: 16px; margin: 0 !important;
	background: linear-gradient(140deg, var(--ee-sand), #EFE4D2); position: relative; flex: none;
}
.ee-icon::after {
	content: ""; position: absolute; inset: 14px; background: var(--ee-gold);
	-webkit-mask: var(--ee-svg) center / contain no-repeat; mask: var(--ee-svg) center / contain no-repeat;
}
.ee-section--dark .ee-icon { background: rgba(201,164,92,.12); }
.ee-section--dark .ee-icon::after { background: var(--ee-gold-light); }
.ee-card:hover .ee-icon { background: linear-gradient(140deg, var(--ee-gold), var(--ee-gold-light)); }
.ee-card:hover .ee-icon::after { background: #fff; }
.ee-icon, .ee-icon::after { transition: background .35s; }

/* Icon set (stroke icons drawn for this site, used as CSS masks) */
.ee-icon--chip    { --ee-svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round'%3E%3Crect x='6' y='6' width='12' height='12' rx='1.5'/%3E%3Crect x='9.5' y='9.5' width='5' height='5'/%3E%3Cpath d='M9 2v4M15 2v4M9 18v4M15 18v4M2 9h4M2 15h4M18 9h4M18 15h4'/%3E%3C/svg%3E"); }
.ee-icon--pcb     { --ee-svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='2'/%3E%3Cpath d='M7 7h4l3 3v7M17 7v4M7 12v5'/%3E%3Ccircle cx='17' cy='12.5' r='1.3'/%3E%3Ccircle cx='7' cy='17.5' r='1.3'/%3E%3Ccircle cx='14' cy='17.5' r='1.3'/%3E%3C/svg%3E"); }
.ee-icon--iot     { --ee-svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round'%3E%3Cpath d='M3 11.5 12 4l9 7.5'/%3E%3Cpath d='M5.5 10v10h13V10'/%3E%3Cpath d='M9.5 14.5a3.5 3.5 0 0 1 5 0M8 12.5a6 6 0 0 1 8 0'/%3E%3Ccircle cx='12' cy='16.8' r='.9' fill='%23000'/%3E%3C/svg%3E"); }
.ee-icon--robot   { --ee-svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 21h9M8.5 21v-4'/%3E%3Ccircle cx='8.5' cy='15' r='2'/%3E%3Cpath d='m10 13.5 4-6'/%3E%3Ccircle cx='15' cy='6' r='1.8'/%3E%3Cpath d='m16.5 7 3 3M19.5 10l1.5-2M19.5 10l-.5 2.5'/%3E%3C/svg%3E"); }
.ee-icon--code    { --ee-svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2.5' y='4' width='19' height='14' rx='2'/%3E%3Cpath d='M8 21h8M9.5 9 7 11.5 9.5 14M14.5 9 17 11.5 14.5 14'/%3E%3C/svg%3E"); }
.ee-icon--bolt    { --ee-svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linejoin='round'%3E%3Cpath d='M13 2 4.5 13.5H11L10 22l8.5-11.5H12L13 2Z'/%3E%3C/svg%3E"); }
.ee-icon--signal  { --ee-svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12h3l2-6 3.5 12L14 6l2.5 9L18 12h4'/%3E%3C/svg%3E"); }
.ee-icon--scale   { --ee-svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v18M7 21h10M4 7h16M12 5 7 7M12 5l5 2'/%3E%3Cpath d='m4 7-2.5 6a3 3 0 0 0 5 0L4 7ZM20 7l-2.5 6a3 3 0 0 0 5 0L20 7Z'/%3E%3C/svg%3E"); }
.ee-icon--search  { --ee-svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='m15.5 15.5 5.5 5.5M8 10.5h5M10.5 8v5'/%3E%3C/svg%3E"); }
.ee-icon--report  { --ee-svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2.5H6.5a2 2 0 0 0-2 2v15a2 2 0 0 0 2 2h11a2 2 0 0 0 2-2V8L14 2.5Z'/%3E%3Cpath d='M14 2.5V8h5.5M8 13h8M8 17h5'/%3E%3C/svg%3E"); }
.ee-icon--shield  { --ee-svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2.5 4.5 5.5v6c0 4.6 3.2 8.4 7.5 10 4.3-1.6 7.5-5.4 7.5-10v-6L12 2.5Z'/%3E%3Cpath d='m8.8 12 2.3 2.3 4.2-4.6'/%3E%3C/svg%3E"); }
.ee-icon--gavel   { --ee-svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m13.5 4.5 6 6M11 7l6 6M12.2 5.8l-4.4 4.4 6 6 4.4-4.4M9.8 12.2 3 19l2 2 6.8-6.8M14 21h7'/%3E%3C/svg%3E"); }
.ee-icon--handshake { --ee-svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 8.5 6 6l4 1.5M22 8.5 18 6l-5 2-3.5 3.2a1.5 1.5 0 0 0 2 2.2L14 11.5l5 4.5M2 8.5V15l3 1M22 8.5V15l-3 1M7.5 15.5 10 18a1.4 1.4 0 0 0 2-2M11 14.5l2.5 2.5a1.4 1.4 0 0 0 2-2'/%3E%3C/svg%3E"); }
.ee-icon--clock   { --ee-svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3.5 2'/%3E%3C/svg%3E"); }
.ee-icon--globe   { --ee-svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18M12 3c2.5 2.6 3.8 5.6 3.8 9s-1.3 6.4-3.8 9c-2.5-2.6-3.8-5.6-3.8-9S9.5 5.6 12 3Z'/%3E%3C/svg%3E"); }
.ee-icon--lab     { --ee-svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 3h6M10 3v6L4.5 18.5A1.7 1.7 0 0 0 6 21h12a1.7 1.7 0 0 0 1.5-2.5L14 9V3M7 15h10'/%3E%3C/svg%3E"); }
.ee-icon--users   { --ee-svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round'%3E%3Ccircle cx='9' cy='8' r='3.5'/%3E%3Cpath d='M2.5 20c.6-3.5 3.2-5.5 6.5-5.5s5.9 2 6.5 5.5'/%3E%3Ccircle cx='17' cy='9' r='2.5'/%3E%3Cpath d='M17 14.5c2.4 0 4.1 1.6 4.5 4.5'/%3E%3C/svg%3E"); }
.ee-icon--building { --ee-svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 21h18M5 21V5l7-3 7 3v16M9 8h1M14 8h1M9 12h1M14 12h1M9 16h1M14 16h1'/%3E%3C/svg%3E"); }
.ee-icon--euro    { --ee-svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round'%3E%3Cpath d='M18 6.5A7 7 0 1 0 18 17.5M4 10h10M4 14h10'/%3E%3C/svg%3E"); }
.ee-icon--check   { --ee-svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
.ee-icon--phone   { --ee-svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linejoin='round'%3E%3Cpath d='M5 3h4l2 5-2.5 1.5a11 11 0 0 0 6 6L16 13l5 2v4a2 2 0 0 1-2 2A16 16 0 0 1 3 5a2 2 0 0 1 2-2Z'/%3E%3C/svg%3E"); }
.ee-icon--mail    { --ee-svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='m3.5 6 8.5 7 8.5-7'/%3E%3C/svg%3E"); }
.ee-icon--pin     { --ee-svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-7-6.2-7-11.5a7 7 0 0 1 14 0C19 14.8 12 21 12 21Z'/%3E%3Ccircle cx='12' cy='9.5' r='2.5'/%3E%3C/svg%3E"); }

/* --------------------------------------------------------------------------
   Key figures
   ----------------------------------------------------------------------- */
.ee-stats { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 1rem !important; }
.ee-stats > * { margin: 0 !important; }
.ee-stat { padding: 1.6rem 1.4rem !important; border-radius: var(--ee-radius); background: #fff; border: 1px solid var(--ee-line); text-align: left; }
.ee-section--dark .ee-stat { background: rgba(255,255,255,.04); border-color: rgba(201,164,92,.25); }
.ee-stat__num { font-family: var(--wp--preset--font-family--serif); font-weight: 700; font-size: clamp(2.2rem, 4.5vw, 3.1rem) !important; line-height: 1 !important; color: var(--ee-gold) !important; margin: 0 0 .5rem !important; font-variant-numeric: tabular-nums; }
.ee-section--dark .ee-stat__num { color: var(--ee-gold-light) !important; }
.ee-stat__label { margin: 0 !important; font-size: .95rem; line-height: 1.45; }

/* --------------------------------------------------------------------------
   Process steps
   ----------------------------------------------------------------------- */
.ee-steps { counter-reset: ee-step; display: grid !important; gap: 0 !important; position: relative; }
.ee-steps > * { margin: 0 !important; }
.ee-step { counter-increment: ee-step; position: relative; padding: 0 0 2.2rem 4.5rem !important; }
.ee-step::before {
	content: counter(ee-step, decimal-leading-zero); position: absolute; left: 0; top: 0;
	width: 3.1rem; height: 3.1rem; border-radius: 50%; display: grid; place-items: center;
	font-family: var(--wp--preset--font-family--serif); font-weight: 700; color: #fff; background: var(--ee-gold);
	box-shadow: 0 0 0 6px var(--ee-sand);
}
.ee-section--sand .ee-step::before { box-shadow: 0 0 0 6px var(--ee-sand); }
.ee-section--dark .ee-step::before { box-shadow: 0 0 0 6px var(--ee-ink); }
.ee-step::after { content: ""; position: absolute; left: 1.55rem; top: 3.4rem; bottom: .3rem; width: 2px; background: linear-gradient(var(--ee-gold-light), transparent); }
.ee-step:last-child::after { display: none; }
.ee-step h3 { font-size: 1.25rem !important; margin: .4rem 0 .4rem; }
.ee-step p { margin: 0; }

/* --------------------------------------------------------------------------
   Oath quote, FAQ, media, CTA
   ----------------------------------------------------------------------- */
.ee-oath { border: 0 !important; padding: 0 !important; text-align: center; max-width: 900px; margin-inline: auto !important; position: relative; }
.ee-oath::before { content: "“"; display: block; font-family: var(--wp--preset--font-family--serif); font-size: 6rem; line-height: .6; color: var(--ee-gold-light); margin-bottom: 1rem; }
.ee-oath p { font-size: clamp(1.35rem, 2.6vw, 2rem) !important; line-height: 1.45 !important; color: inherit; font-style: italic; }
.ee-oath cite { display: block; margin-top: 1.2rem; font-style: normal; font-family: var(--wp--preset--font-family--sans); font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ee-gold-light); }

.ee-faq { border-bottom: 1px solid var(--ee-line); padding: 0 !important; margin: 0 !important; }
.ee-faq summary {
	list-style: none; cursor: pointer; padding: 1.3rem 3rem 1.3rem 0; position: relative;
	font-family: var(--wp--preset--font-family--serif); font-weight: 600; font-size: 1.15rem; color: var(--ee-ink);
}
.ee-faq summary::-webkit-details-marker { display: none; }
.ee-faq summary::after {
	content: "+"; position: absolute; right: .25rem; top: 50%; transform: translateY(-50%);
	width: 2rem; height: 2rem; border-radius: 50%; display: grid; place-items: center;
	background: var(--ee-sand); color: var(--ee-gold); font-family: var(--wp--preset--font-family--sans); font-size: 1.3rem; transition: transform .3s var(--ee-ease), background .3s;
}
.ee-faq[open] summary::after { transform: translateY(-50%) rotate(45deg); background: var(--ee-gold); color: #fff; }
.ee-faq summary:hover { color: var(--ee-gold); }
.ee-faq > :not(summary) { margin: 0 0 1.3rem !important; max-width: 75ch; }

.ee-media img, .ee-media .wp-block-media-text__media img { border-radius: var(--ee-radius); box-shadow: var(--ee-shadow); }
.wp-block-media-text.ee-media { gap: clamp(1.5rem, 5vw, 4rem); }
.wp-block-media-text.ee-media .wp-block-media-text__content { padding: 0 !important; }
.ee-photo { position: relative; }
.ee-photo img { border-radius: var(--ee-radius); }
.ee-photo--framed::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 2px solid var(--ee-gold-light); border-radius: var(--ee-radius); z-index: -1; }

.ee-checklist { list-style: none; padding: 0 !important; }
.ee-checklist li { position: relative; padding-left: 2rem; margin-bottom: .7rem; }
.ee-checklist li::before {
	content: ""; position: absolute; left: 0; top: .3em; width: 1.25rem; height: 1.25rem; border-radius: 50%; background: var(--ee-gold);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='10'/%3E%3C/svg%3E") center/contain no-repeat;
}
.ee-checklist li::after { content: ""; position: absolute; left: .42rem; top: calc(.3em + .28rem); width: .38rem; height: .62rem; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }

.ee-cta {
	position: relative; isolation: isolate; overflow: hidden;
	background: linear-gradient(120deg, var(--ee-ink) 0%, var(--ee-espresso) 100%);
	color: #E8DFD3; border-radius: calc(var(--ee-radius) * 1.6);
	padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.5rem, 5vw, 4rem) !important; margin-block: var(--wp--preset--spacing--60) !important;
	max-width: 1240px !important;
}
.ee-cta::before { content: ""; position: absolute; width: 420px; height: 420px; right: -120px; top: -160px; border-radius: 50%; background: radial-gradient(circle, rgba(201,164,92,.35), transparent 70%); z-index: -1; }
.ee-cta h2 { color: #fff; }
.ee-cta p { max-width: 60ch; margin-inline: auto; }

/* --------------------------------------------------------------------------
   Page heading band
   ----------------------------------------------------------------------- */
.ee-pagehead {
	position: relative; isolation: isolate; overflow: hidden;
	background: linear-gradient(120deg, var(--ee-ink) 0%, var(--ee-espresso) 100%); color: #E8DFD3;
	padding-block: clamp(3rem, 8vw, 6rem) clamp(2.5rem, 6vw, 4.5rem) !important; margin-bottom: var(--wp--preset--spacing--50) !important;
}
.ee-pagehead::after {
	content: ""; position: absolute; inset: 0; z-index: -1; opacity: .12;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' fill='none' stroke='%23C9A45C' stroke-width='1'%3E%3Cpath d='M0 40h50l15 15h40l15-15h40M40 0v25l15 15M120 160v-40l-15-15H80M0 120h25l15 15v25'/%3E%3Ccircle cx='50' cy='40' r='3'/%3E%3Ccircle cx='120' cy='40' r='3'/%3E%3Ccircle cx='80' cy='105' r='3'/%3E%3C/svg%3E");
	mask-image: linear-gradient(90deg, transparent 20%, #000); -webkit-mask-image: linear-gradient(90deg, transparent 20%, #000);
}
.ee-pagehead h1 { color: #fff; margin: 0; font-size: clamp(2rem, 5vw, 3.2rem) !important; }
.ee-pagehead .ee-lead { color: #D9CFC4; margin-top: 1rem; }
.ee-pagehead .ee-meta { color: var(--ee-gold-light); margin-top: 1rem; }
.ee-pagehead--post h1 { max-width: 24ch; }
/* Landing pages with their own hero have no automatic band */
.page-template-page-landing .ee-main > .wp-block-post-content > .ee-pagehead:first-child { margin-top: 0 !important; }

.ee-post-hero img { border-radius: var(--ee-radius); }
.ee-article { font-size: 1.07rem; }
.ee-article h2 { font-size: 1.75rem !important; margin-top: 2.5rem; }
.ee-article h3 { font-size: 1.3rem !important; margin-top: 2rem; }
.ee-postnav { margin-block: 3rem !important; padding-top: 1.5rem; border-top: 1px solid var(--ee-line); }
.ee-posts { margin-block: var(--wp--preset--spacing--40) var(--wp--preset--spacing--50) !important; }
.wp-block-query-pagination { margin-top: 2.5rem; }

/* --------------------------------------------------------------------------
   Contact block & form
   ----------------------------------------------------------------------- */
.ee-contact-item { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1.4rem !important; }
.ee-contact-item p { margin: 0; }
.ee-contact-item strong { display: block; color: var(--ee-ink); }

.ee-form { display: grid; gap: 1.1rem; background: #fff; border: 1px solid var(--ee-line); border-radius: calc(var(--ee-radius) * 1.3); padding: clamp(1.5rem, 4vw, 2.5rem); box-shadow: var(--ee-shadow); }
.ee-form__row { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.ee-form label { display: block; font-weight: 600; font-size: .9rem; color: var(--ee-ink); margin-bottom: .35rem; }
.ee-form label .req { color: var(--ee-gold); }
.ee-form input[type=text], .ee-form input[type=email], .ee-form input[type=tel], .ee-form select, .ee-form textarea {
	width: 100%; box-sizing: border-box; font: inherit; font-size: 1rem; color: var(--ee-ink);
	padding: .8rem 1rem; border: 1px solid #D9CEBF; border-radius: 10px; background: var(--ee-paper);
	transition: border-color .2s, box-shadow .2s;
}
.ee-form textarea { min-height: 160px; resize: vertical; }
.ee-form :is(input, select, textarea):focus { outline: none; border-color: var(--ee-gold); box-shadow: 0 0 0 4px rgba(201,164,92,.25); }
.ee-form :is(input, select, textarea)[aria-invalid="true"] { border-color: #B3261E; }
.ee-form__choices { display: flex; flex-wrap: wrap; gap: .5rem; }
.ee-form__choices label { font-weight: 500; display: inline-flex; align-items: center; gap: .45rem; padding: .5rem .9rem; border: 1px solid #D9CEBF; border-radius: 999px; cursor: pointer; margin: 0; background: var(--ee-paper); }
.ee-form__choices input { accent-color: var(--ee-gold); }
.ee-form__choices label:has(input:checked) { border-color: var(--ee-gold); background: #FBF3E3; }
.ee-form__consent { display: flex !important; gap: .6rem; align-items: flex-start; font-weight: 400 !important; font-size: .88rem !important; color: var(--ee-stone) !important; }
.ee-form__consent input { margin-top: .25rem; accent-color: var(--ee-gold); }
.ee-form__hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.ee-form button {
	justify-self: start; border: 0; cursor: pointer; font: inherit; font-weight: 600; color: #fff; background: var(--ee-gold);
	padding: .95rem 1.8rem; border-radius: 999px; transition: background .25s, transform .25s var(--ee-ease);
}
.ee-form button:hover { background: var(--ee-espresso); transform: translateY(-2px); }
.ee-form button[disabled] { opacity: .6; cursor: progress; }
.ee-form__status { margin: 0; padding: .9rem 1.1rem; border-radius: 10px; font-weight: 500; display: none; }
.ee-form__status.is-ok { display: block; background: #EAF5EC; color: #1E5E2E; }
.ee-form__status.is-error { display: block; background: #FBEAEA; color: #8C1D18; }
.ee-form__note { font-size: .82rem; color: var(--ee-stone); margin: 0; }

/* --------------------------------------------------------------------------
   Footer
   ----------------------------------------------------------------------- */
.ee-footer { background: var(--ee-ink); color: #BFB3A6; padding-block: var(--wp--preset--spacing--60) 0 !important; margin-top: var(--wp--preset--spacing--60) !important; font-size: .95rem; }
.ee-footer a { color: #E8DFD3; text-decoration: none; }
.ee-footer a:hover { color: var(--ee-gold-light); }
.ee-footer__grid { display: grid; gap: 2.5rem; grid-template-columns: 1.6fr 1fr 1.3fr 1.2fr; }
@media (max-width: 960px) { .ee-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .ee-footer__grid { grid-template-columns: 1fr; } }
.ee-footer .ee-logo img { height: 58px; margin-bottom: 1.2rem; }
.ee-footer__badge { display: inline-block; padding: .4rem .85rem; border: 1px solid rgba(201,164,92,.45); border-radius: 999px; color: var(--ee-gold-light); font-size: .82rem; letter-spacing: .03em; }
.ee-footer__title { color: #fff; font-family: var(--wp--preset--font-family--serif); font-weight: 700; font-size: 1.05rem; margin: 0 0 1rem; }
.ee-footer__menu { list-style: none; margin: 0; padding: 0; }
.ee-footer__menu li { margin-bottom: .55rem; }
.ee-footer address { font-style: normal; line-height: 1.7; margin-bottom: .8rem; }
.ee-footer__bottom { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; border-top: 1px solid rgba(255,255,255,.1); margin-top: 3rem; padding-block: 1.5rem; font-size: .85rem; }
.ee-footer__bottom p { margin: 0; }
.ee-footer__legal { list-style: none; display: flex; flex-wrap: wrap; gap: 1.2rem; margin: 0; padding: 0; }

/* --------------------------------------------------------------------------
   404
   ----------------------------------------------------------------------- */
.ee-404 { text-align: center; padding-block: var(--wp--preset--spacing--70) !important; }
.ee-404 .wp-block-buttons { justify-content: center; }
.ee-404__code { font-family: var(--wp--preset--font-family--serif); font-size: clamp(5rem, 16vw, 10rem) !important; line-height: 1 !important; font-weight: 700; margin: 0 !important;
	background: linear-gradient(120deg, var(--ee-gold), var(--ee-gold-light)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* --------------------------------------------------------------------------
   Reveal-on-scroll (only when JS is running and motion is allowed)
   ----------------------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
	.ee-js .ee-reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ee-ease), transform .8s var(--ee-ease); }
	.ee-js .ee-reveal.is-visible { opacity: 1; transform: none; }
	.ee-js .ee-grid.ee-reveal > *, .ee-js .ee-stats.ee-reveal > * { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ee-ease), transform .7s var(--ee-ease); }
	.ee-js .ee-grid.ee-reveal.is-visible > *, .ee-js .ee-stats.ee-reveal.is-visible > * { opacity: 1; transform: none; }
	.ee-js .ee-reveal.is-visible > :nth-child(2) { transition-delay: .08s; }
	.ee-js .ee-reveal.is-visible > :nth-child(3) { transition-delay: .16s; }
	.ee-js .ee-reveal.is-visible > :nth-child(4) { transition-delay: .24s; }
	.ee-js .ee-reveal.is-visible > :nth-child(5) { transition-delay: .32s; }
	.ee-js .ee-reveal.is-visible > :nth-child(6) { transition-delay: .4s; }
	.ee-js .ee-reveal.is-visible > :nth-child(7) { transition-delay: .48s; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Print: clean expert-friendly output */
@media print {
	.ee-header, .ee-footer, .ee-cta, .ee-form, .ee-scrollhint { display: none !important; }
	.ee-hero, .ee-pagehead { background: none !important; color: #000 !important; min-height: 0 !important; }
	.ee-hero h1, .ee-pagehead h1 { color: #000 !important; }
}

/* Content area spans the full width so sections can be full-bleed */
.ee-main > .wp-block-post-content.alignfull { margin-top: 0 !important; }
.ee-scrollhint { display: none; }

/* Kicker as a block of its own width, so constrained layouts and centring work */
.ee-kicker { display: flex !important; width: fit-content; max-width: 100%; }
.ee-kicker.has-text-align-center { margin-inline: auto !important; }
.wp-block-media-text__content .ee-kicker, .wp-block-column .ee-kicker, .ee-pagehead .ee-kicker, .ee-hero .ee-kicker { margin-inline: 0 !important; }

/* Balanced grids on desktop: 2/3/4 columns depending on the number of cards */
@media (min-width: 1000px) {
	.ee-grid, .ee-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.ee-grid:has(> :nth-child(2):last-child), .ee-stats:has(> :nth-child(2):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ee-grid:has(> :nth-child(4):last-child), .ee-stats:has(> :nth-child(4):last-child),
	.ee-grid:has(> :nth-child(8):last-child) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Page heading band: kicker, title and lead share the same left edge */
.ee-pagehead > * { width: min(1240px, 100%); max-width: 1240px !important; margin-left: auto !important; margin-right: auto !important; box-sizing: border-box; }
.ee-pagehead > .ee-kicker { width: min(1240px, 100%) !important; }
.ee-pagehead > .ee-lead { max-width: 1240px !important; }
.ee-pagehead > .ee-lead::after { content: none; }
.ee-pagehead .ee-lead { padding-right: max(0px, calc(100% - 760px)); }

/* Contact details: label directly above its value */
.ee-contact-item strong + br { display: none; }
.ee-contact-item .ee-icon { width: 48px; height: 48px; border-radius: 14px; }
.ee-contact-item .ee-icon::after { inset: 12px; }

.ee-pagehead > .ee-kicker { margin-left: auto !important; margin-right: auto !important; }
.ee-footer address strong { color: var(--wp--preset--color--gold-light); font-weight: 600; letter-spacing: .02em; }
