/* ==========================================================================
   Bergslagsmurarn – "Förband". Identity notes at the top of style.css.
   Printed at wp_head 110, after Themify's concatenated CSS.
   ========================================================================== */

/* ------------------------------------------------------------------ Fonts */
@font-face{font-family:"Sofia Sans";src:url("../fonts/sofia-sans.woff2") format("woff2");font-weight:1 1000;font-style:normal;font-display:swap}
@font-face{font-family:"Sofia Sans";src:url("../fonts/sofia-sans-italic.woff2") format("woff2");font-weight:1 1000;font-style:italic;font-display:swap}
@font-face{font-family:"Sofia Sans Condensed";src:url("../fonts/sofia-sans-condensed.woff2") format("woff2");font-weight:1 1000;font-style:normal;font-display:swap}

/* ----------------------------------------------------------------- Tokens */
html:root{
	--bm-iron:#1C1B1A;      /* dark sections, text          */
	--bm-iron-2:#252322;    /* raised dark                  */
	--bm-iron-3:#34312E;    /* lines on dark                */
	--bm-puts:#F3F2EF;      /* plaster white – default ground */
	--bm-kalk:#FFFFFF;      /* lime white                   */
	--bm-bruk:#DCD9D3;      /* mortar grey                  */
	--bm-bruk-2:#E8E6E2;
	--bm-tegel:#B4532A;     /* logo terracotta – accent     */
	--bm-tegel-dk:#93421F;
	--bm-tegel-lt:#E0875A;  /* terracotta text on dark      */
	--bm-spade:#C8A27C;     /* trowel tan – motif only      */
	--bm-text:#24221F;
	--bm-muted:#5C5852;
	--bm-on-dark:#EDEBE7;
	--bm-on-dark-2:#B9B4AC;
	--bm-line:rgba(28,27,26,.14);
	--bm-line-dark:rgba(237,235,231,.14);

	--bm-display:"Sofia Sans Condensed","Arial Narrow",system-ui,sans-serif;
	--bm-body:"Sofia Sans",system-ui,-apple-system,"Segoe UI",sans-serif;

	--bm-wrap:1240px;
	--bm-gut:clamp(16px,4.5vw,56px);
	--bm-sec:clamp(72px,9vw,136px);
	--bm-gap:clamp(28px,4vw,72px);
	--bm-joint:6px;          /* mortar-width gap in mosaics  */
	--bm-r:2px;
	--bm-ease:cubic-bezier(.2,.7,.2,1);
	--bm-header-h:96px;

	--bm-fs-hero:clamp(2.75rem,1.2rem + 5.6vw,6.25rem);
	--bm-fs-h1:clamp(2.4rem,1.3rem + 4vw,4.75rem);
	--bm-fs-h2:clamp(2rem,1.25rem + 2.6vw,3.5rem);
	--bm-fs-h3:clamp(1.3rem,1.1rem + .6vw,1.65rem);
	--bm-fs-lead:clamp(1.1rem,1rem + .45vw,1.35rem);
	--bm-fs-body:clamp(1.02rem,.98rem + .18vw,1.1rem);
	--bm-fs-small:.94rem;

	/* the brick course edge */
	--bm-brick:56px; --bm-course:14px; --bm-bed:4px;

	/* Themify palette */
	--theme_accent:var(--bm-tegel);
	--theme_accent_hover:var(--bm-tegel-dk);
	--theme_accent_semi:rgba(180,83,42,.14);
	--theme_accent_contrast:#fff;
	--tb_pr_bg:var(--bm-tegel);
	--tb_pr_color:#fff;
}

/* ------------------------------------------------------------------- Base */
html{scroll-behavior:smooth}
body.bm-site{background:var(--bm-puts);color:var(--bm-text);font-family:var(--bm-body);font-size:var(--bm-fs-body);line-height:1.65;font-weight:400;-webkit-font-smoothing:antialiased;overflow-wrap:normal}
body.bm-site,body.bm-site p,body.bm-site li,body.bm-site input,body.bm-site textarea,body.bm-site select,body.bm-site button{font-family:var(--bm-body)}
#pagewrap{overflow-x:clip}
#body,#layout,.full_width #layout,#content{padding:0!important;margin:0!important;max-width:none!important;width:100%!important;float:none!important}
.bm-site h1,.bm-site h2,.bm-site h3,.bm-site h4{font-family:var(--bm-display);color:inherit;font-weight:800;line-height:1.02;letter-spacing:.005em;text-wrap:balance;margin:0 0 .5em}
.bm-site h3{font-size:var(--bm-fs-h3);text-transform:uppercase;letter-spacing:.02em}
.bm-site p{margin:0 0 1em}
.bm-site p:last-child{margin-bottom:0}
.bm-site a{color:var(--bm-tegel);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:.2em;transition:color .2s}
.bm-site a:hover{color:var(--bm-tegel-dk)}
.bm-site strong{font-weight:700}
.bm-site ::selection{background:var(--bm-tegel);color:#fff}
a,button,input,textarea,select,summary,[tabindex]{outline:0!important}
a:focus,a:focus-visible,button:focus,button:focus-visible{outline:none!important;box-shadow:none}
.bm-hidden{display:none!important}
.screen-reader-text{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.bm-small,.bm-site .bm-small{font-size:var(--bm-fs-small);color:var(--bm-muted)}
.bm-dark .bm-small{color:var(--bm-on-dark-2)}
.bm-ico{flex:none;vertical-align:-.2em}

/* ------------------------------------------------------- Row / grid frame */
.bm-site .themify_builder .module_row{padding:var(--bm-sec) 0;position:relative}
.bm-site .themify_builder .module_row>.row_inner{width:min(var(--bm-wrap),100% - 2*var(--bm-gut));max-width:none;margin-inline:auto;gap:var(--bm-gap);align-items:start}
.bm-site .themify_builder .module_column{padding:0}
.bm-site .themify_builder .module{margin-bottom:0}
.bm-site .themify_builder .module_column>.module+.module{margin-top:clamp(18px,2vw,28px)}
.bm-site .themify_builder .module_column>.module-fancy-heading+.module-text{margin-top:clamp(8px,1vw,14px)}
.bm-site .themify_builder .module_column>.module-buttons{margin-top:clamp(24px,2.6vw,36px)}
.bm-site .themify_builder .tb_text_wrap{max-width:68ch}
.bm-site .themify_builder .bm-head--center+.module,.bm-site .themify_builder .bm-head--center+.module_subrow{margin-top:clamp(32px,4vw,56px)}

/* Bands */
.bm-site .bm-band--puts{background:var(--bm-puts)}
.bm-site .bm-band--kalk{background:var(--bm-kalk)}
.bm-site .bm-band--bruk{background:var(--bm-bruk-2)}
.bm-site .module_row.bm-dark{background-color:var(--bm-iron);color:var(--bm-on-dark)}
.bm-dark a{color:var(--bm-tegel-lt)}
.bm-dark a:hover{color:#fff}

/* ---------------------------------------------------------------- Header */
#headerwrap{position:absolute;inset:0 0 auto;z-index:100;background:transparent!important;transition:background-color .3s var(--bm-ease),box-shadow .3s}
.bm-site #header{width:min(1400px,100% - 2*var(--bm-gut));max-width:none;min-height:var(--bm-header-h);display:flex;align-items:center;justify-content:space-between;padding:0;margin-inline:auto;transition:min-height .3s var(--bm-ease)}
body.bm-scrolled #headerwrap{position:fixed;background:rgba(28,27,26,.97)!important;box-shadow:0 1px 0 var(--bm-line-dark)}
body.bm-scrolled #header{min-height:72px}
body.admin-bar #headerwrap{top:var(--wp-admin--admin-bar--height,32px)}
@media (max-width:600px){body.admin-bar.bm-scrolled #headerwrap{top:0}}
.bm-site #header .header-bar{flex:none;margin:0;padding:0}
.bm-site #site-logo{margin:0;padding:0;line-height:1}
.bm-logo{display:inline-flex;align-items:center;gap:12px;text-decoration:none!important;color:#fff!important}
.bm-logo__mark{width:56px;height:auto;display:block;transition:width .3s var(--bm-ease)}
body.bm-scrolled .bm-logo__mark{width:44px}
.bm-logo__text{display:flex;flex-direction:column;gap:3px}
.bm-logo__name{font-family:var(--bm-display);font-weight:800;font-size:1.55rem;letter-spacing:.04em;text-transform:uppercase;line-height:1;color:#fff}
.bm-logo__sub{font-size:.72rem;font-weight:600;letter-spacing:.2em;text-transform:uppercase;color:var(--bm-spade);line-height:1}

/* Desktop nav */
@media (min-width:1101px){
	.bm-site #mobile-menu.sidemenu-off{position:static;display:flex;align-items:center;flex:1;justify-content:flex-end;background:none;width:auto;height:auto;padding:0;overflow:visible;transform:none}
	.bm-site .sidemenu-off .navbar-wrapper{display:flex;align-items:center}
	.bm-site .sidemenu-off #main-nav{display:flex;align-items:center;gap:6px;margin:0;padding:0}
	.bm-site #headerwrap .sidemenu-off #main-nav>li{margin:0;padding:0;position:relative}
	.bm-site #headerwrap .sidemenu-off #main-nav>li>a{display:flex;align-items:center;gap:6px;padding:12px 14px;font-family:var(--bm-display);font-size:1.12rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#fff;text-decoration:none;background:none;position:relative}
	.bm-site #headerwrap .sidemenu-off #main-nav>li>a::after{content:"";position:absolute;left:14px;right:14px;bottom:6px;height:3px;background:var(--bm-tegel);transform:scaleX(0);transform-origin:left;transition:transform .3s var(--bm-ease)}
	.bm-site #headerwrap .sidemenu-off #main-nav>li:hover>a::after,
	.bm-site #headerwrap .sidemenu-off #main-nav>li.current-menu-item>a::after,
	.bm-site #headerwrap .sidemenu-off #main-nav>li.current_page_item>a::after,
	.bm-site #headerwrap .sidemenu-off #main-nav>li.current-menu-ancestor>a::after,
	.bm-site #headerwrap .sidemenu-off #main-nav>li.current-menu-parent>a::after{transform:scaleX(1)}
	.bm-site #headerwrap .sidemenu-off #main-nav>li>a .child-arrow{display:inline-block;width:8px;height:8px;border:solid currentColor;border-width:0 2px 2px 0;border-radius:0!important;transform:translateY(-3px) rotate(45deg);margin:0 0 0 6px;padding:0;background:none;position:static;opacity:.8}
	.bm-site #headerwrap .sidemenu-off #main-nav>li>a .child-arrow::before,.bm-site #headerwrap .sidemenu-off #main-nav>li>a .child-arrow::after{display:none}
	/* CTA */
	.bm-site #headerwrap .sidemenu-off #main-nav>li.bm-nav-cta{margin-left:14px}
	.bm-site #headerwrap .sidemenu-off #main-nav>li.bm-nav-cta>a{background:var(--bm-tegel);padding:13px 22px;border-radius:var(--bm-r);transition:background-color .2s}
	.bm-site #headerwrap .sidemenu-off #main-nav>li.bm-nav-cta>a::after{display:none}
	.bm-site #headerwrap .sidemenu-off #main-nav>li.bm-nav-cta>a:hover,.bm-site #headerwrap .sidemenu-off #main-nav>li.bm-nav-cta.current-menu-item>a{background:var(--bm-tegel-dk);color:#fff}
	.bm-site #headerwrap .sidemenu-off #main-nav>li.bm-nav-admin>a{font-size:.95rem;color:var(--bm-on-dark-2)}
	/* Dropdown */
	.bm-site #headerwrap .sidemenu-off #main-nav .sub-menu{background:var(--bm-tegel);min-width:250px;padding:8px 0;border:0;border-radius:var(--bm-r);box-shadow:0 18px 40px -18px rgba(0,0,0,.55);left:6px;top:100%}
	.bm-site #headerwrap .sidemenu-off #main-nav .sub-menu li{margin:0;border:0}
	.bm-site #headerwrap .sidemenu-off #main-nav .sub-menu a{display:block;padding:10px 20px;color:#fff;font-weight:600;font-size:1rem;text-transform:none;letter-spacing:0;text-decoration:none;background:none;border:0;transition:background-color .2s,padding .2s}
	.bm-site #headerwrap .sidemenu-off #main-nav .sub-menu a:hover,
	.bm-site #headerwrap .sidemenu-off #main-nav .sub-menu .current-menu-item>a{background:var(--bm-tegel-dk);padding-left:26px;color:#fff}
	.bm-site #menu-icon{display:none}
}

/* Mobile: hamburger drawn as three bricks laid in bond */
@media (max-width:1100px){
	.bm-site #header{min-height:76px}
	.bm-logo__mark{width:46px}
	.bm-logo__name{font-size:1.3rem}
	.bm-site #menu-icon{display:flex;align-items:center;justify-content:center;width:52px;height:52px;margin:0;padding:0;background:var(--bm-tegel);border-radius:var(--bm-r);position:relative;color:#fff;order:2}
	.bm-site #menu-icon .menu-icon-inner{overflow:visible;width:26px;height:18px;position:relative;display:block;background:none;margin:0}
	.bm-site #menu-icon .menu-icon-inner::before,.bm-site #menu-icon .menu-icon-inner::after{display:none!important}
	.bm-site #menu-icon .menu-icon-inner{background:
		linear-gradient(#fff 0 0) 0 0/11px 4px no-repeat,
		linear-gradient(#fff 0 0) 14px 0/12px 4px no-repeat,
		linear-gradient(#fff 0 0) 0 7px/5px 4px no-repeat,
		linear-gradient(#fff 0 0) 8px 7px/12px 4px no-repeat,
		linear-gradient(#fff 0 0) 23px 7px/3px 4px no-repeat,
		linear-gradient(#fff 0 0) 0 14px/11px 4px no-repeat,
		linear-gradient(#fff 0 0) 14px 14px/12px 4px no-repeat;transition:transform .3s var(--bm-ease)}
	.bm-site #menu-icon:hover .menu-icon-inner{transform:scale(1.08)}
	.bm-site #mobile-menu.sidemenu-on,.bm-site #mobile-menu.sidemenu{background:var(--bm-iron);color:var(--bm-on-dark);padding:84px 24px 32px}
	.bm-site #mobile-menu #main-nav{display:block;padding:0;margin:0}
	.bm-site #mobile-menu #main-nav li{border:0;margin:0;position:relative}
	.bm-site #mobile-menu #main-nav>li>a{display:block;padding:12px 44px 12px 0;color:#fff;font-family:var(--bm-display);font-weight:700;font-size:1.35rem;letter-spacing:.05em;text-transform:uppercase;text-decoration:none;border-bottom:1px solid var(--bm-line-dark);background:none}
	.bm-site #mobile-menu #main-nav>li.current-menu-item>a,.bm-site #mobile-menu #main-nav>li.current-menu-ancestor>a{color:var(--bm-tegel-lt)}
	.bm-site #mobile-menu #main-nav .sub-menu{background:none;padding:4px 0 10px 14px;border-left:3px solid var(--bm-tegel);border-radius:0!important;margin:8px 0 6px;box-shadow:none;position:static}
	.bm-site #mobile-menu #main-nav .sub-menu a{display:block;padding:8px 0;color:var(--bm-on-dark);font-size:1.05rem;text-decoration:none;background:none}
	.bm-site #mobile-menu #main-nav .sub-menu .current-menu-item>a{color:var(--bm-tegel-lt)}
	.bm-site #mobile-menu .child-arrow{position:absolute;right:0;top:6px;width:40px;height:40px;display:flex;align-items:center;justify-content:center;background:none;border:0;cursor:pointer}
	.bm-site #mobile-menu .child-arrow::before{content:"";width:10px;height:10px;border:solid #fff;border-width:0 2px 2px 0;transform:translateY(-3px) rotate(45deg);transition:transform .25s;display:block;background:none;position:static}
	.bm-site #mobile-menu .child-arrow::after{display:none}
	.bm-site #mobile-menu .toggle-on>a .child-arrow::before{transform:translateY(2px) rotate(-135deg)}
	.bm-site #mobile-menu #main-nav>li.bm-nav-cta>a{margin-top:20px;background:var(--bm-tegel);border:0;text-align:center;padding:14px 20px;border-radius:var(--bm-r)}
	.bm-site #mobile-menu #main-nav>li.bm-nav-cta.current-menu-item>a{color:#fff}
	.bm-site #menu-icon-close{top:18px;right:18px;width:44px;height:44px;color:#fff;background:var(--bm-tegel);border-radius:var(--bm-r)}
	.bm-site #menu-icon-close::before,.bm-site #menu-icon-close::after{background:#fff!important;border-color:#fff!important}
}

/* --------------------------------------------------------------- Eyebrow */
/* The signature mark: three bricks laid in bond, before every eyebrow. */
.bm-head .main-head{display:flex!important;align-items:center;gap:12px;font-family:var(--bm-body);font-size:.84rem;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:var(--bm-tegel);line-height:1.3;margin:0 0 16px}
.bm-head .main-head::before{content:"";flex:none;width:26px;height:14px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 14'%3E%3Cg fill='%23B4532A'%3E%3Crect x='6.5' y='0' width='12' height='5.5' rx='.6'/%3E%3Crect x='0' y='8.5' width='12' height='5.5' rx='.6'/%3E%3Crect x='14' y='8.5' width='12' height='5.5' rx='.6'/%3E%3C/g%3E%3C/svg%3E") center/contain no-repeat}
.bm-dark .bm-head .main-head{color:var(--bm-tegel-lt)}
.bm-dark .bm-head .main-head::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 14'%3E%3Cg fill='%23E0875A'%3E%3Crect x='6.5' y='0' width='12' height='5.5' rx='.6'/%3E%3Crect x='0' y='8.5' width='12' height='5.5' rx='.6'/%3E%3Crect x='14' y='8.5' width='12' height='5.5' rx='.6'/%3E%3C/g%3E%3C/svg%3E")}
.bm-head .fancy-heading{margin:0;text-align:inherit;font-size:inherit;line-height:1}
.bm-head .sub-head{font-family:var(--bm-display);font-size:var(--bm-fs-h2);font-weight:800;line-height:.98;letter-spacing:.005em;text-transform:uppercase;color:inherit;text-wrap:balance;max-width:16ch;margin:0}
.bm-head .sub-head::before,.bm-head .sub-head::after{display:none}
.bm-head--hero .sub-head{font-size:var(--bm-fs-hero);max-width:12ch}
.bm-hero--inner .bm-head--hero .sub-head{font-size:var(--bm-fs-h1);max-width:14ch}
.bm-head--sm .sub-head{font-size:clamp(1.7rem,1.3rem + 1.2vw,2.3rem);max-width:none}
.bm-head--center{text-align:center}
.bm-head--center .main-head{justify-content:center}
.bm-head--center .sub-head{margin-inline:auto}

/* --------------------------------------------------------------- Buttons */
.bm-btns{display:flex;flex-wrap:wrap;gap:12px}
.bm-btns .module-buttons-item{margin:0!important;padding:0!important}
.bm-site .bm-btns a.builder_button{--tb_pr_bg:var(--bm-tegel);display:inline-flex;align-items:center;gap:10px;min-height:52px;padding:0 26px;border-radius:var(--bm-r);border:2px solid var(--bm-tegel);background:var(--bm-tegel);color:#fff;font-family:var(--bm-display);font-size:1.08rem;font-weight:800;letter-spacing:.07em;text-transform:uppercase;text-decoration:none;box-shadow:none;transition:background-color .2s,border-color .2s,color .2s,transform .2s}
.bm-site .bm-btns a.builder_button::after{content:"";width:16px;height:10px;flex:none;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 10'%3E%3Cpath d='M0 5h14M10 1l4 4-4 4' fill='none' stroke='%23000' stroke-width='1.8'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 10'%3E%3Cpath d='M0 5h14M10 1l4 4-4 4' fill='none' stroke='%23000' stroke-width='1.8'/%3E%3C/svg%3E") center/contain no-repeat;transition:transform .25s var(--bm-ease)}
.bm-site .bm-btns a.builder_button:hover{background:var(--bm-tegel-dk);border-color:var(--bm-tegel-dk);color:#fff;transform:none}
.bm-site .bm-btns a.builder_button:hover::after{transform:translateX(4px)}
.bm-site .bm-btns a.bm-btn--ghost{background:transparent;color:#fff;border-color:rgba(255,255,255,.55)}
.bm-site .bm-btns a.bm-btn--ghost:hover{background:#fff;border-color:#fff;color:var(--bm-iron)}
.bm-site .bm-btns a.bm-btn--line{background:transparent;color:var(--bm-text);border-color:var(--bm-text)}
.bm-site .bm-btns a.bm-btn--line:hover{background:var(--bm-text);border-color:var(--bm-text);color:#fff}
.bm-site .bm-dark .bm-btns a.bm-btn--line{color:#fff;border-color:rgba(255,255,255,.55)}
.bm-site .bm-dark .bm-btns a.bm-btn--line:hover{background:#fff;color:var(--bm-iron);border-color:#fff}
.bm-btns--stack{flex-direction:column;align-items:stretch}
.bm-btns--stack .module-buttons-item,.bm-btns--stack a.builder_button{width:100%;justify-content:space-between}
.bm-btns--center{justify-content:center}
.bm-link{font-weight:700;text-decoration:none!important;display:inline-flex;align-items:center;gap:8px;border-bottom:2px solid currentColor;padding-bottom:2px}

/* ----------------------------------------------- Brick course (signature) */
/* A "toothed" wall top (förtagning): the upper course has every other brick
   missing, the lower course is full. Sits on the lower edge of every hero and
   the top of the footer. Mortar = the colour of the next section. */
.bm-site .module_row.bm-hero{--bm-edge:var(--bm-puts);padding-bottom:calc(var(--bm-sec) + 32px)}
.bm-site .module_row.bm-hero::after,
.bm-site .module_row.bm-foot::before{content:"";position:absolute;left:0;right:0;bottom:0;height:calc(var(--bm-course)*2 + var(--bm-bed));z-index:2;pointer-events:none;background:
	repeating-linear-gradient(90deg,var(--bm-tegel) 0 var(--bm-brick),transparent var(--bm-brick) calc(var(--bm-brick)*2 + var(--bm-bed)*2)) 0 0/100% var(--bm-course) no-repeat,
	linear-gradient(var(--bm-edge),var(--bm-edge)) 0 var(--bm-course)/100% var(--bm-bed) no-repeat,
	repeating-linear-gradient(90deg,var(--bm-tegel-dk) 0 var(--bm-brick),var(--bm-edge) var(--bm-brick) calc(var(--bm-brick) + var(--bm-bed))) calc(var(--bm-brick)/-2) calc(var(--bm-course) + var(--bm-bed))/calc(100% + var(--bm-brick)) var(--bm-course) no-repeat}

/* ------------------------------------------------------------ Home hero */
.bm-site .module_row.bm-hero--home{min-height:min(100svh,1000px);padding-top:calc(var(--bm-header-h) + clamp(40px,6vw,96px));display:flex;align-items:center}
.bm-site .bm-hero--home>.row_inner{grid-template-columns:minmax(0,1.05fr) minmax(0,1fr)!important;align-items:center!important}
.bm-hero__text .bm-lead p{font-size:var(--bm-fs-lead);line-height:1.55;color:var(--bm-on-dark);max-width:38ch}
.bm-lead p{font-size:var(--bm-fs-lead);line-height:1.55;max-width:46ch}
.bm-lead--center p{margin-inline:auto;text-align:center}

/* Photo mosaic laid in bond: a tall "header" brick and two stretchers. */
.bm-site .bm-hero__mosaic{display:grid!important;grid-template-columns:1fr 1fr;grid-template-rows:repeat(6,minmax(0,1fr));gap:var(--bm-joint);height:clamp(520px,46vw,700px);min-height:0;align-self:center}
.bm-site .bm-hero__mosaic>.module{margin:0!important;min-height:0;height:100%;overflow:hidden;border-radius:var(--bm-r)}
.bm-site .bm-hero__mosaic .image-wrap,.bm-site .bm-hero__mosaic img{width:100%;height:100%;object-fit:cover;display:block}
.bm-site .bm-hero__mosaic .bm-mos--a{grid-column:1;grid-row:1/6}
.bm-site .bm-hero__mosaic .bm-mos--b{grid-column:2;grid-row:2/5}
.bm-site .bm-hero__mosaic .bm-mos--c{grid-column:2;grid-row:5/7}
.bm-site .bm-hero__mosaic::before{content:"";grid-column:2;grid-row:1/2;align-self:stretch;margin:0;background:var(--bm-tegel);border-radius:var(--bm-r)}
.bm-site .bm-hero__mosaic::after{content:"Mur · Puts · Eldstäder";grid-column:1;grid-row:6/7;align-self:stretch;display:flex;align-items:flex-end;padding:0 16px 12px;background:var(--bm-iron-2);border:1px solid var(--bm-line-dark);border-left:4px solid var(--bm-tegel);border-radius:var(--bm-r);font-family:var(--bm-display);font-weight:800;font-size:clamp(1rem,.8rem + .6vw,1.35rem);letter-spacing:.08em;text-transform:uppercase;color:var(--bm-on-dark)}
.bm-site .bm-hero__mosaic .bm-mos--a img{object-position:50% 40%}

/* ----------------------------------------------------------- Inner hero */
.bm-site .module_row.bm-hero--inner{padding-top:calc(var(--bm-header-h) + clamp(48px,7vw,110px));padding-bottom:calc(clamp(64px,7vw,104px) + 32px);overflow:visible;z-index:3}
.bm-site .bm-hero--inner>.row_inner{grid-template-columns:minmax(0,1.55fr) minmax(0,1fr)!important;align-items:end!important}
.bm-site .bm-hero--plain>.row_inner{grid-template-columns:1fr!important}
.bm-hero--inner .bm-hero__text .bm-lead p{max-width:52ch}
.bm-site .bm-hero__media{align-self:end;position:relative;z-index:3;margin-bottom:calc(-1 * (clamp(64px,7vw,104px) + 32px + 56px))}
.bm-site .bm-hero__brick{aspect-ratio:2/1.25;overflow:hidden;border-radius:var(--bm-r);box-shadow:0 0 0 var(--bm-joint) var(--bm-iron)}
.bm-site .bm-hero__brick .image-wrap,.bm-site .bm-hero__brick img{width:100%;height:100%;object-fit:cover;display:block}
.bm-site .module_row.bm-hero--inner+.module_row{padding-top:calc(var(--bm-sec) + 40px)}

/* ----------------------------------------------------------------- Intro */
.bm-site .bm-intro>.row_inner{align-items:start}
.bm-site .bm-intro .tb_text_wrap{font-size:1.08em}

/* ------------------------------------------------- Services as a wall */
.bm-site .bm-wall__course{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:var(--bm-joint)!important;margin:0!important}
.bm-site .bm-wall__course+.bm-wall__course{margin-top:var(--bm-joint)!important}
.bm-site .bm-wall__course--shift{grid-template-columns:.5fr 1fr 1fr .5fr!important}
.bm-site .bm-wall__course>.module_column{grid-area:auto!important;width:auto!important;margin:0!important;min-height:0}
.bm-site .bm-wall__half{background:var(--bm-bruk);border-radius:var(--bm-r)}
.bm-site .bm-wall__course>.module_column{display:flex;flex-direction:column}
.bm-site .bm-wall__course .module{flex:1;display:flex;flex-direction:column}
.bm-site .bm-wall__course .tb_text_wrap{flex:1;display:flex;flex-direction:column;max-width:none}
.bm-brick{display:flex;flex-direction:column;justify-content:space-between;gap:28px;flex:1;min-height:180px;padding:clamp(22px,2.4vw,34px);background:var(--bm-kalk);color:var(--bm-text)!important;text-decoration:none!important;border-radius:var(--bm-r);position:relative;transition:background-color .3s var(--bm-ease),color .3s}
.bm-brick__t{font-size:clamp(1.5rem,1.2rem + .9vw,2.1rem)!important;margin:0!important;max-width:12ch;color:inherit}
.bm-brick__d{margin:0!important;color:var(--bm-muted);max-width:30ch;transition:color .3s}
.bm-brick__go{position:absolute;right:clamp(20px,2vw,30px);top:clamp(22px,2.4vw,34px);color:var(--bm-tegel);transition:transform .3s var(--bm-ease),color .3s}
.bm-brick:hover{background:var(--bm-tegel);color:#fff!important}
.bm-brick:hover .bm-brick__d{color:rgba(255,255,255,.88)}
.bm-brick:hover .bm-brick__go{color:#fff;transform:translateX(5px)}

/* ------------------------------------------------- Feature (kakelugn) */
.bm-site .bm-feature>.row_inner{align-items:stretch}
.bm-site .bm-feature__media{position:relative}
.bm-site .bm-feature__media .module,.bm-site .bm-feature__media .image-wrap{height:100%}
.bm-site .bm-feature__img img{width:100%;height:100%;max-height:760px;object-fit:cover;border-radius:var(--bm-r);display:block}
.bm-site .bm-feature__text{align-self:center}
.bm-checks{list-style:none;margin:1.2em 0 0;padding:0;display:grid;gap:0}
.bm-checks li{position:relative;padding:12px 0 12px 34px;border-top:1px solid var(--bm-line)}
.bm-dark .bm-checks li{border-color:var(--bm-line-dark)}
.bm-checks li::before{content:"";position:absolute;left:0;top:19px;width:20px;height:10px;background:var(--bm-tegel);border-radius:1px}
.bm-dark .bm-checks li::before{background:var(--bm-tegel-lt)}

/* --------------------------------------------------- Zig-zag photo rows */
.bm-site .bm-zig>.row_inner{align-items:center!important}
.bm-site .bm-zig__img{position:relative}
.bm-site .bm-zig__img img{width:100%;aspect-ratio:4/3.2;object-fit:cover;border-radius:var(--bm-r);display:block}
.bm-site .bm-zig__media{position:relative}
.bm-site .bm-zig__media::after{content:"";position:absolute;width:38%;height:22px;background:var(--bm-tegel);bottom:-11px;left:24px;border-radius:var(--bm-r);box-shadow:calc(38% + 0px) 0 0 0 transparent}
.bm-site .bm-zig--flip .bm-zig__media::after{left:auto;right:24px}
.bm-site .bm-band--puts .bm-zig__media::after{background:var(--bm-tegel)}

/* ---------------------------------------------- Mortar spec (Tjänster) */
.bm-spec{margin:0;display:grid;gap:0;border-top:1px solid var(--bm-line-dark)}
.bm-spec>div{display:grid;grid-template-columns:minmax(150px,.7fr) 2fr;gap:24px;padding:20px 0;border-bottom:1px solid var(--bm-line-dark)}
.bm-spec dt{font-family:var(--bm-display);font-weight:800;font-size:1.4rem;text-transform:uppercase;letter-spacing:.03em;color:#fff;line-height:1.1}
.bm-spec dd{margin:0;color:var(--bm-on-dark-2)}
.bm-mortar .bm-small{margin-top:24px}

/* --------------------------------------------- Lists with a brick bullet */
.bm-bricklist{list-style:none;margin:0 0 1.2em;padding:0}
.bm-bricklist li{position:relative;padding:16px 0 16px 40px;border-bottom:1px solid var(--bm-line)}
.bm-bricklist li:first-child{border-top:1px solid var(--bm-line)}
.bm-bricklist li::before{content:"";position:absolute;left:0;top:23px;width:24px;height:11px;background:var(--bm-tegel);border-radius:1px;box-shadow:6px -13px 0 -0px transparent}
.bm-bricklist--dark li{border-color:var(--bm-line-dark)!important}
.bm-bricklist--dark li::before{background:var(--bm-tegel-lt)}
.bm-bricklist--dark strong{color:#fff}
.bm-bricklist--tight li{padding:9px 0 9px 32px}
.bm-bricklist--tight li::before{top:16px;width:18px;height:8px}

/* -------------------------------------------- Kakelugn cross-section */
.bm-site .bm-stove-row>.row_inner{align-items:center!important}
.bm-stove{margin:0;max-width:560px;margin-inline:auto}
.bm-stove svg{width:100%;height:auto;display:block;overflow:visible}
.bm-stove figcaption{font-size:var(--bm-fs-small);color:var(--bm-muted);margin-top:14px;max-width:46ch}
.bm-stove__base{fill:var(--bm-bruk);stroke:var(--bm-iron);stroke-width:1.5}
.bm-stove__glaze{fill:#FBFBF9}
.bm-stove__joint{stroke:#C9C5BE;stroke-width:1.2;fill:none}
.bm-stove__shine{stroke:#fff;stroke-width:6;opacity:.9;stroke-linecap:round}
.bm-stove__outline,.bm-stove__line{stroke:var(--bm-iron);stroke-width:1.5;fill:none}
.bm-stove__ring{stroke:var(--bm-spade);stroke-width:3;fill:none}
.bm-stove__cut{fill:#EADBD0;stroke:none}
.bm-stove__section{stroke:var(--bm-iron);stroke-width:1.5;stroke-dasharray:6 5;fill:none}
.bm-stove__wall{stroke:var(--bm-tegel);stroke-width:5;fill:none}
.bm-stove__box{fill:#3A2A22;stroke:var(--bm-tegel);stroke-width:4}
.bm-stove__flame{fill:#E0875A}
.bm-stove__smoke{fill:none;stroke:var(--bm-iron);stroke-width:2.2;stroke-dasharray:2 6;stroke-linecap:round}
.bm-stove__arrowhead{fill:var(--bm-iron)}
.bm-stove__door{fill:var(--bm-spade);stroke:var(--bm-iron);stroke-width:1.5}
.bm-stove__crown{fill:#FBFBF9;stroke:var(--bm-iron);stroke-width:1.5}
.bm-stove__crenel{fill:#FBFBF9;stroke:var(--bm-iron);stroke-width:1.5}
.bm-stove__flue{fill:none;stroke:var(--bm-iron);stroke-width:1.5}
.bm-stove__leader{stroke:var(--bm-muted);stroke-width:1;fill:none}
.bm-stove__dot{fill:var(--bm-tegel)}
.bm-stove__t{font-family:var(--bm-display);font-weight:800;font-size:17px;letter-spacing:.04em;text-transform:uppercase;fill:var(--bm-text)}
.bm-stove__s{font-family:var(--bm-body);font-size:13px;fill:var(--bm-muted)}
.bm-stove [text-anchor="start"]{text-anchor:start}

/* ---------------------------------------------------- Projects (bond) */
.bm-projects{width:100%}
.bm-site .bm-projects-mod .tb_text_wrap{max-width:none}
.bm-filter{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 28px}
.bm-site .bm-filter button{appearance:none;border:2px solid var(--bm-line);background:transparent;color:var(--bm-text);padding:9px 18px;border-radius:var(--bm-r);font-family:var(--bm-display);font-weight:700;font-size:1rem;letter-spacing:.06em;text-transform:uppercase;cursor:pointer;box-shadow:none;transform:none;transition:background-color .2s,border-color .2s,color .2s}
.bm-site .bm-filter button:hover{border-color:var(--bm-tegel);color:var(--bm-tegel);background:transparent;transform:none;box-shadow:none}
.bm-site .bm-filter button.is-active,.bm-site .bm-filter button.is-active:hover{background:var(--bm-tegel);border-color:var(--bm-tegel);color:#fff}
/* Two columns: a tall lead item beside two stacked ones, then a pair.
   Each item is a 2-row subgrid (photo, description) so photos and texts
   line up across the row whatever the description length. site.js moves
   filtered-out items to the end so the nth-child pattern holds. */
.bm-bond{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-flow:dense;column-gap:var(--bm-joint);row-gap:0}
.bm-bond__item{margin:0;position:relative;display:grid;grid-template-rows:subgrid;grid-row:span 2;min-width:0}
.bm-bond__item:nth-child(5n+1){grid-row:span 4}
.bm-bond__item:nth-child(5n+1) .bm-bond__link{grid-row:1/4}
.bm-bond__item:nth-child(5n+1) .bm-bond__desc{grid-row:4}
.bm-bond__item:nth-child(5n+4) .bm-bond__link,.bm-bond__item:nth-child(5n+5) .bm-bond__link{min-height:clamp(260px,30vw,400px)}
.bm-bond__item[hidden]{display:none}
/* fewer than three visible: no tall lead */
.bm-bond:not(:has(>.bm-bond__item:nth-child(3):not([hidden]))) .bm-bond__item:nth-child(n){grid-row:span 2}
.bm-bond:not(:has(>.bm-bond__item:nth-child(3):not([hidden]))) .bm-bond__item:nth-child(n) .bm-bond__link{grid-row:1;min-height:clamp(260px,30vw,400px)}
.bm-bond:not(:has(>.bm-bond__item:nth-child(3):not([hidden]))) .bm-bond__item:nth-child(n) .bm-bond__desc{grid-row:2}
.bm-bond__link{position:relative;display:block;overflow:hidden;border-radius:var(--bm-r);min-height:clamp(220px,24vw,300px);margin-bottom:var(--bm-joint);color:#fff!important;text-decoration:none!important;background:var(--bm-iron)}
.bm-bond__img{position:absolute;inset:0;width:100%!important;height:100%!important;object-fit:cover;transition:transform .8s var(--bm-ease),opacity .4s}
.bm-bond__link:hover .bm-bond__img{transform:scale(1.04);opacity:.92}
.bm-bond__cap{position:absolute;left:0;right:0;bottom:0;padding:48px 20px 18px;display:flex;flex-direction:column;gap:4px;background:linear-gradient(to top,rgba(20,19,18,.88),rgba(20,19,18,0))}
.bm-bond__type{font-size:.76rem;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:var(--bm-spade)}
.bm-bond__title{font-family:var(--bm-display);font-weight:800;font-size:clamp(1.2rem,1rem + .6vw,1.6rem);text-transform:uppercase;line-height:1.05;letter-spacing:.02em}
.bm-bond__ort{font-size:.9rem;color:var(--bm-on-dark-2)}
.bm-bond__count{align-self:flex-start;margin-top:6px;display:inline-flex;align-items:center;gap:6px;padding:6px 10px;background:rgba(20,19,18,.72);font-size:.82rem;font-weight:600;border-radius:var(--bm-r)}
.bm-bond__desc{display:none}
.bm-work--all .bm-bond__desc{display:block;margin:4px 2px 22px;color:var(--bm-muted);font-size:var(--bm-fs-small);max-width:52ch}
.bm-work .module-buttons{display:flex;justify-content:flex-start}
.bm-empty{color:var(--bm-muted)}

/* ------------------------------------------------- Places (Bergslagen) */
.bm-site .bm-area>.row_inner{align-items:center!important}
.bm-orter{display:flex;flex-direction:column;gap:var(--bm-joint)}
.bm-orter__course{display:flex;gap:var(--bm-joint);margin:0!important}
.bm-orter__course.is-shifted{margin-left:clamp(24px,4vw,56px)!important}
.bm-orter__course:not(.is-shifted){margin-right:clamp(24px,4vw,56px)!important}
.bm-orter__brick{flex:1 1 auto;min-width:0;display:flex;align-items:center;justify-content:center;height:54px;padding:0 10px;background:var(--bm-bruk);color:var(--bm-text);font-family:var(--bm-display);font-weight:700;font-size:clamp(.95rem,.85rem + .35vw,1.15rem);letter-spacing:.05em;text-transform:uppercase;border-radius:var(--bm-r);white-space:nowrap}
.bm-band--bruk .bm-orter__brick{background:var(--bm-kalk)}
.bm-orter__brick.is-home{background:var(--bm-tegel);color:#fff}
.bm-orter__more{margin:10px 0 0!important;font-size:var(--bm-fs-small);color:var(--bm-muted);font-style:italic}
.bm-site .bm-area__places{overflow:hidden;padding-right:2px}

/* ---------------------------------------------------------- About page */
.bm-site .bm-story>.row_inner{align-items:center!important}
.bm-site .bm-story__media{display:flex;justify-content:center}
.bm-site .bm-story__logo img{width:min(360px,80%);height:auto;display:block;margin-inline:auto}
.bm-site .bm-values__grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:0!important;border-top:1px solid var(--bm-line)}
.bm-site .bm-values__grid>.module_column{grid-area:auto!important;width:auto!important;margin:0!important;padding:clamp(26px,3vw,40px) clamp(0px,2vw,32px) clamp(26px,3vw,40px) 0;border-bottom:1px solid var(--bm-line)}
.bm-site .bm-values__grid>.module_column:nth-child(odd){border-right:1px solid var(--bm-line)}
.bm-site .bm-values__grid>.module_column:nth-child(even){padding-left:clamp(20px,3vw,40px)}
.bm-values h3{font-size:clamp(1.6rem,1.2rem + 1.2vw,2.3rem)!important;color:var(--bm-tegel);margin:0 0 .3em!important}
.bm-values p{color:var(--bm-muted);max-width:40ch}
.bm-site .module_row.bm-quote{padding:clamp(64px,8vw,120px) 0}
.bm-quote blockquote{margin:0 auto;padding:0;border:0;text-align:center;max-width:24ch;quotes:none}
.bm-quote blockquote p{font-family:var(--bm-display);font-weight:800;font-size:clamp(2rem,1.2rem + 3vw,3.8rem);line-height:1.02;text-transform:uppercase;color:#fff;text-wrap:balance;margin:0}
.bm-quote blockquote p::before{content:"";display:block;width:52px;height:28px;margin:0 auto 28px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 14'%3E%3Cg fill='%23E0875A'%3E%3Crect x='6.5' y='0' width='12' height='5.5' rx='.6'/%3E%3Crect x='0' y='8.5' width='12' height='5.5' rx='.6'/%3E%3Crect x='14' y='8.5' width='12' height='5.5' rx='.6'/%3E%3C/g%3E%3C/svg%3E") center/contain no-repeat}
.bm-quote cite{display:block;margin-top:20px;font-style:normal;font-size:.84rem;font-weight:700;letter-spacing:.18em;text-transform:uppercase;color:var(--bm-spade)}
.bm-quote .tb_text_wrap{max-width:none}

/* ------------------------------------------------------------------ CTA */
.bm-site .bm-cta>.row_inner{align-items:center!important}
.bm-site .bm-cta .sub-head{max-width:18ch}
.bm-site .bm-cta__btns{align-self:center}

/* -------------------------------------------------------------- Contact */
.bm-site .bm-contact-row>.row_inner{grid-template-columns:minmax(0,1.6fr) minmax(0,1fr)!important}
.bm-site .bm-contact-row__form{background:var(--bm-kalk);padding:clamp(24px,3.4vw,48px)!important;border-radius:var(--bm-r)}
.bm-contact{list-style:none;margin:0 0 1.2em;padding:0;display:grid;gap:12px}
.bm-contact li{display:flex;gap:12px;align-items:flex-start;margin:0}
.bm-contact .bm-ico{color:var(--bm-tegel);margin-top:4px}
.bm-dark .bm-contact .bm-ico{color:var(--bm-tegel-lt)}
.bm-contact a{color:inherit;text-decoration:none}
.bm-contact a:hover{color:var(--bm-tegel)}
.bm-dark .bm-contact a:hover{color:#fff}
.bm-site .bm-aside{padding-top:28px;border-top:1px solid var(--bm-line)}
.bm-aside h3{font-size:1.3rem!important;margin-bottom:.7em!important}

/* Builder Contact form */
.bm-form form{display:block}
.bm-site .bm-form .builder-contact-fields{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.bm-site .bm-form .control-input,.bm-site .bm-form .form-control{width:100%!important;max-width:none!important}
.bm-form .builder-contact-field-gdpr .control-label{margin:0}
.bm-form .field-gdpr .required{display:none}
.bm-form .builder-contact-field{margin:0!important;padding:0;width:auto!important;float:none!important}
.bm-form .builder-contact-field-message,.bm-form .builder-contact-field-subject,.bm-form .builder-contact-field-gdpr,.bm-form .builder-contact-field-send,.bm-form .contact-message,.bm-form .builder-contact-field-captcha{grid-column:1/-1}
.bm-form label.control-label{display:block;font-weight:700;font-size:.92rem;margin:0 0 6px;color:var(--bm-text)}
.bm-form label .required{color:var(--bm-tegel)}
.bm-site .bm-form input[type=text],.bm-site .bm-form input[type=email],.bm-site .bm-form input[type=tel],.bm-site .bm-form textarea{width:100%;background:var(--bm-puts);border:1px solid #D5D1CA;border-radius:var(--bm-r);padding:13px 15px;font-size:1rem;color:var(--bm-text);box-shadow:none;transition:border-color .2s,background-color .2s}
.bm-site .bm-form textarea{min-height:170px;resize:vertical}
.bm-site .bm-form input:focus,.bm-site .bm-form textarea:focus{border-color:var(--bm-tegel);background:#fff;box-shadow:0 0 0 3px rgba(180,83,42,.14)}
.bm-form .builder-contact-field-gdpr label{display:flex;gap:10px;align-items:flex-start;font-weight:400;font-size:.92rem;color:var(--bm-muted)}
.bm-form .builder-contact-field-gdpr input{margin-top:4px;accent-color:var(--bm-tegel);width:18px;height:18px;flex:none}
.bm-site .bm-form button,.bm-site .bm-form .btn{appearance:none;display:inline-flex;align-items:center;gap:10px;min-height:54px;padding:0 30px;background:var(--bm-tegel);color:#fff;border:0;border-radius:var(--bm-r);font-family:var(--bm-display);font-weight:800;font-size:1.1rem;letter-spacing:.07em;text-transform:uppercase;cursor:pointer;box-shadow:none;transform:none;transition:background-color .2s}
.bm-site .bm-form button:hover,.bm-site .bm-form .btn:hover{background:var(--bm-tegel-dk);transform:none;box-shadow:none}
.bm-form .contact-message{font-weight:600}

/* -------------------------------------------------------------- Footer */
body>.tb_layout_part_wrap{background:var(--bm-iron);color:var(--bm-on-dark)}
.bm-site .module_row.bm-foot{--bm-edge:var(--bm-iron);padding:calc(var(--bm-sec) * .8) 0 48px;font-size:.98rem}
.bm-site .module_row.bm-foot::before{bottom:auto;top:calc(-1*(var(--bm-course)*2 + var(--bm-bed)))}
.bm-site .module_row.bm-foot{overflow:visible}
body>.tb_layout_part_wrap{position:relative;z-index:2}
.bm-site .bm-foot{background:var(--bm-iron)}
.bm-site .bm-foot>.row_inner{grid-template-columns:1.4fr 1fr 1fr 1.3fr!important;padding-top:24px}
.bm-foot p{color:var(--bm-on-dark-2);max-width:34ch}
.bm-foot .bm-logo--foot{margin-bottom:18px}
.bm-foot__h{font-family:var(--bm-body)!important;font-size:.8rem!important;font-weight:700!important;letter-spacing:.18em!important;text-transform:uppercase!important;color:var(--bm-spade)!important;margin:6px 0 16px!important}
.bm-foot__links{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.bm-foot__links a,.bm-foot .bm-contact a{color:var(--bm-on-dark);text-decoration:none}
.bm-foot__links a:hover,.bm-foot .bm-contact a:hover{color:var(--bm-tegel-lt)}
.bm-foot .bm-contact{gap:10px;color:var(--bm-on-dark)}
.bm-social{display:inline;white-space:nowrap;text-decoration:none!important;font-weight:700}
.bm-social .bm-ico{margin-right:4px;vertical-align:-.22em}
.bm-foot .bm-social{color:var(--bm-on-dark)!important}
.bm-foot .bm-social:hover{color:var(--bm-tegel-lt)!important}
.bm-site .module_row.bm-foot__bottom{padding:22px 0 26px;background:var(--bm-iron)}
.bm-site .bm-foot__bottom>.row_inner{border-top:1px solid var(--bm-line-dark);padding-top:22px}
.bm-foot__bottom p{display:flex;flex-wrap:wrap;gap:8px 26px;font-size:.88rem;color:var(--bm-on-dark-2);max-width:none!important;margin:0}
.bm-foot__bottom a{color:var(--bm-on-dark-2);text-decoration:none}
.bm-foot__bottom a:hover{color:#fff}
.bm-foot__bottom .bm-credit{margin-left:auto}
.bm-site .themify_builder .bm-foot__bottom .tb_text_wrap{max-width:none}

/* ----------------------------------------------------------------- 404 */
.bm-site .module_row.bm-hero--404{min-height:min(92svh,900px);display:flex;align-items:center;text-align:center;padding-top:calc(var(--bm-header-h) + 40px)}
.bm-site .module_row.bm-hero--404::before{content:"";position:absolute;inset:0;background:linear-gradient(rgba(20,19,18,.78),rgba(20,19,18,.9));z-index:0}
.bm-site .bm-hero--404>.row_inner{position:relative;z-index:1;grid-template-columns:1fr!important}
.bm-404__num{font-family:var(--bm-display);font-weight:900;font-size:clamp(7rem,4rem + 16vw,16rem);line-height:.8;margin:0 0 10px!important;color:transparent;-webkit-text-stroke:2px var(--bm-tegel-lt);letter-spacing:.02em}
.bm-site .bm-404 .tb_text_wrap{max-width:none}
.bm-hero--404 .bm-head--hero .sub-head{max-width:16ch;font-size:var(--bm-fs-h1)}
.bm-site .bm-hero--404 .bm-lead p{margin-inline:auto}
.bm-site .bm-wall--short .bm-brick{min-height:170px}

/* ---------------------------------------------------------------- Login */
.bm-site .module_row.bm-hero--login{min-height:min(92svh,860px);padding-top:calc(var(--bm-header-h) + 60px);display:flex;align-items:center}
.bm-site .bm-hero--login>.row_inner{align-items:center!important}
.bm-site .bm-login-card{background:var(--bm-puts);color:var(--bm-text);padding:clamp(24px,3vw,40px);border-radius:var(--bm-r)}
.bm-site .bm-login-card .tb_text_wrap{max-width:none}
.bm-login form p{margin:0 0 16px}
.bm-login label{display:block;font-weight:700;font-size:.92rem;margin-bottom:6px}
.bm-site .bm-login input[type=text],.bm-site .bm-login input[type=password]{width:100%;background:#fff;border:1px solid #D5D1CA;border-radius:var(--bm-r);padding:13px 15px;font-size:1rem;box-shadow:none}
.bm-site .bm-login input:focus{border-color:var(--bm-tegel);box-shadow:0 0 0 3px rgba(180,83,42,.14)}
.bm-login .login-remember label{display:flex;gap:8px;align-items:center;font-weight:400}
.bm-login .login-remember input{accent-color:var(--bm-tegel)}
.bm-site .bm-login input[type=submit],.bm-site .bm-login .bm-btn{display:inline-flex;align-items:center;justify-content:center;min-height:52px;padding:0 28px;background:var(--bm-tegel);color:#fff!important;border:2px solid var(--bm-tegel);border-radius:var(--bm-r);font-family:var(--bm-display);font-weight:800;font-size:1.08rem;letter-spacing:.07em;text-transform:uppercase;cursor:pointer;text-decoration:none!important;box-shadow:none}
.bm-site .bm-login input[type=submit]:hover,.bm-site .bm-login .bm-btn:hover{background:var(--bm-tegel-dk);border-color:var(--bm-tegel-dk)}
.bm-site .bm-login .bm-btn--ghost{background:transparent;color:var(--bm-text)!important;border-color:var(--bm-text)}
.bm-site .bm-login .bm-btn--ghost:hover{background:var(--bm-text);color:#fff!important;border-color:var(--bm-text)}
.bm-login__links{display:flex;flex-wrap:wrap;gap:10px}
.bm-login__msg{padding:12px 16px;border-radius:var(--bm-r);background:rgba(180,83,42,.1);margin:0 0 18px!important;font-weight:600}
.bm-login__msg.is-ok{background:#E3EBDD}
.bm-login__lost{margin:14px 0 0!important;font-size:var(--bm-fs-small)}

/* -------------------------------------------------------- Administration */
.bm-table-wrap{overflow-x:auto}
.bm-table{width:100%;border-collapse:collapse;background:var(--bm-kalk);font-size:.98rem}
.bm-table th{text-align:left;font-size:.78rem;letter-spacing:.14em;text-transform:uppercase;color:var(--bm-muted);padding:14px 16px;border-bottom:2px solid var(--bm-iron)}
.bm-table td{padding:14px 16px;border-bottom:1px solid var(--bm-line);vertical-align:middle}
.bm-table__edit{font-weight:700}
.bm-status{display:inline-block;padding:3px 10px;font-size:.82rem;font-weight:700;border-radius:var(--bm-r);background:var(--bm-bruk-2)}
.bm-status.is-publish{background:#E3EBDD;color:#3E5530}
.bm-site .bm-admin-list .tb_text_wrap{max-width:none}
.bm-site .module_row.bm-admin-forms{padding-top:0}
.bm-site .bm-admin-forms>.row_inner{align-items:start!important}
.bm-site .bm-admin-card{background:var(--bm-kalk);padding:clamp(22px,3vw,40px)!important;border-radius:var(--bm-r)}
.bm-site .bm-fea .tb_text_wrap{max-width:none}
/* FEA / ACF form */
.bm-fea .acf-fields{display:flex!important;flex-wrap:wrap;gap:18px;border:0!important}
.bm-fea .acf-fields::before,.bm-fea .acf-fields::after,.bm-fea .acf-checkbox-list::before,.bm-fea .acf-checkbox-list::after{display:none!important;content:none!important}
.bm-fea .acf-fields>.acf-field{width:100%!important;float:none!important;border:0!important;padding:0!important;margin:0!important}
.bm-fea .acf-fields>.acf-field[data-width]{flex:1 1 240px;width:auto!important}
.bm-fea .acf-fields .acf-fields{gap:18px}
.bm-fea .acf-label label{font-weight:700;font-size:.92rem;color:var(--bm-text)}
.bm-fea .acf-input{display:flex;flex-direction:column}
.bm-fea .acf-input>p.description,.bm-fea .acf-field>p.description{order:2;margin:6px 0 0;font-size:.86rem;color:var(--bm-muted)}
.bm-fea .acf-label p.description{font-size:.86rem;color:var(--bm-muted)}
.bm-site .bm-fea input[type=text],.bm-site .bm-fea input[type=url],.bm-site .bm-fea textarea,.bm-site .bm-fea select{width:100%;background:var(--bm-puts);border:1px solid #D5D1CA;border-radius:var(--bm-r);padding:11px 13px;font-size:1rem;box-shadow:none;min-height:46px}
.bm-site .bm-fea input:focus,.bm-site .bm-fea textarea:focus,.bm-site .bm-fea select:focus{border-color:var(--bm-tegel);background:#fff;box-shadow:0 0 0 3px rgba(180,83,42,.14)}
.bm-fea .acf-checkbox-list{display:flex;flex-wrap:wrap;gap:8px 18px;border:0;padding:0;margin:0}
.bm-fea .acf-checkbox-list li{margin:0}
.bm-fea .acf-checkbox-list label{display:flex;align-items:center;gap:6px}
.bm-fea input[type=checkbox]{accent-color:var(--bm-tegel)}
.bm-site .bm-fea .button,.bm-site .bm-fea .acf-button,.bm-site .bm-fea input[type=submit],.bm-site .bm-fea button.fea-submit-button,.bm-site .bm-fea .fea-submit-button{display:inline-flex;align-items:center;justify-content:center;min-height:50px;padding:0 26px;background:var(--bm-tegel);color:#fff;border:2px solid var(--bm-tegel);border-radius:var(--bm-r);font-family:var(--bm-display);font-weight:800;font-size:1.05rem;letter-spacing:.07em;text-transform:uppercase;text-shadow:none;box-shadow:none;cursor:pointer;transform:none;height:auto;line-height:1.2}
.bm-site .bm-fea .button:hover,.bm-site .bm-fea input[type=submit]:hover,.bm-site .bm-fea .fea-submit-button:hover{background:var(--bm-tegel-dk);border-color:var(--bm-tegel-dk);color:#fff;transform:none}
.bm-site .bm-fea .fea-delete-button,.bm-site .bm-fea button.fea-delete-button,.bm-site .bm-fea .acf-field-delete-post button,.bm-site .bm-fea .acf-field-delete-post .button{background:transparent;color:#9A2B1E;border-color:#9A2B1E}
.bm-site .bm-fea .fea-delete-button:hover,.bm-site .bm-fea .acf-field-delete-post button:hover,.bm-site .bm-fea .acf-field-delete-post .button:hover{background:#9A2B1E;color:#fff}
.bm-site .bm-fea .acf-gallery{border-radius:var(--bm-r);border-color:#D5D1CA;background:var(--bm-puts)}
.bm-site .bm-fea .acf-image-uploader .button,.bm-site .bm-fea .acf-gallery-toolbar .button{min-height:40px;padding:0 16px;font-size:.92rem}
.bm-site .bm-fea .select2-container .select2-selection{border-radius:var(--bm-r);border-color:#D5D1CA;min-height:46px;background:var(--bm-puts)}
.bm-site .bm-fea .select2-container .select2-selection__rendered{line-height:44px}
.bm-site .bm-fea .select2-container .select2-selection__arrow{height:44px}
.select2-container--default .select2-results__option--highlighted[aria-selected],.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable{background:var(--bm-tegel)!important}
.bm-fea .acf-notice,.bm-fea .fea-message,.bm-fea .frontend-admin-message{border:0;border-radius:var(--bm-r);background:rgba(180,83,42,.1);color:var(--bm-text)}
.bm-site .bm-fea .acf-field-submit-button,.bm-site .bm-fea .acf-field-delete-post{display:inline-block;width:auto!important}

/* --------------------------------------------------------------- Prose */
.bm-prose .tb_text_wrap{max-width:70ch!important}
.bm-prose h2{font-size:clamp(1.5rem,1.25rem + .8vw,2rem);text-transform:uppercase;margin:1.6em 0 .5em}
.bm-prose h2:first-child{margin-top:0}

/* --------------------------------------------------------- Back to top */
#pagewrap .back-top.back-top-float,body>.back-top.back-top-float{position:fixed;right:20px;bottom:20px;z-index:90;width:52px;height:52px;padding:0;background:var(--bm-tegel);border-radius:var(--bm-r);box-shadow:0 12px 24px -12px rgba(0,0,0,.5);transition:opacity .3s,transform .3s var(--bm-ease),background-color .2s}
.back-top.back-top-float.back-top-hide{opacity:0;transform:translateY(16px);pointer-events:none}
.back-top.back-top-float:hover{background:var(--bm-tegel-dk)}
.back-top .arrow-up{width:100%;height:100%}
.back-top .arrow-up a{display:flex;width:100%;height:100%;align-items:center;justify-content:center;background:none!important}
.bm-site .back-top .arrow-up a::before{position:static!important;inset:auto!important;content:"";width:12px;height:12px;border:solid #fff;border-width:2.5px 0 0 2.5px;transform:translateY(3px) rotate(45deg);background:none;position:static;margin:0}
.back-top .arrow-up a::after{display:none}

/* --------------------------------------------------------- Lightbox */
.mfp-bg{background:var(--bm-iron)!important;opacity:.94!important}
.mfp-title{font-family:var(--bm-display);font-weight:700;letter-spacing:.04em;text-transform:uppercase}

/* --------------------------------------------------------- Reveal */
/* Rows fade in; their modules fade up one after another (site.js). */
html.bm-js:not(.bm-revealed-all) .bm-rv{opacity:0;transition:opacity .9s var(--bm-ease)}
html.bm-js:not(.bm-revealed-all) .bm-rv .bm-r{opacity:0;transform:translateY(22px);transition:opacity .8s var(--bm-ease),transform .8s var(--bm-ease)}
html.bm-js .bm-rv.is-in{opacity:1}
html.bm-js .bm-rv.is-in .bm-r{opacity:1;transform:none}

/* ------------------------------------------------------ Responsive */
@media (max-width:1100px){
	.bm-site .bm-foot>.row_inner{grid-template-columns:1fr 1fr!important}
	.bm-site .bm-hero--home>.row_inner{grid-template-columns:1fr!important}
	.bm-site .bm-hero__mosaic{aspect-ratio:auto;height:min(72vw,620px);max-width:none;width:100%}
	.bm-site .bm-hero__mosaic .bm-mos--a{grid-row:1/7}
	.bm-site .bm-hero__mosaic::after{display:none}
	.bm-site .module_row.bm-hero--home{min-height:0}
	.bm-hero--home .bm-head--hero .sub-head{max-width:none}
	.bm-hero--home .bm-hero__text .bm-lead p{max-width:60ch}
}
@media (max-width:900px){
	.bm-site .themify_builder .module_row>.row_inner{grid-template-columns:1fr!important;grid-template-areas:none!important}
	.bm-site .themify_builder .module_row>.row_inner>.module_column{grid-area:auto!important;width:auto!important}
	.bm-site .bm-hero--inner>.row_inner{grid-template-columns:1fr!important}
	.bm-site .bm-hero__media{margin-bottom:calc(-1 * (clamp(64px,7vw,104px) + 32px + 40px))}
	.bm-site .bm-hero__brick{aspect-ratio:2/1.15}
	.bm-site .bm-zig--flip>.row_inner>.bm-zig__media{order:-1}
	.bm-site .bm-feature__img img{max-height:520px}
	.bm-site .bm-contact-row>.row_inner{grid-template-columns:1fr!important}
	.bm-site .bm-wall__course{grid-template-columns:1fr 1fr!important}
	.bm-site .bm-wall__course--shift{grid-template-columns:1fr 1fr!important}
	.bm-site .bm-wall__course>.module_column.bm-wall__half{display:none!important}
	.bm-site .bm-wall__course>.module_column:not(.bm-wall__half):last-child:nth-child(odd){grid-column:1/-1!important}
	.bm-site .bm-wall__course>.module_column:last-child:nth-child(odd) .bm-brick{min-height:0}
	.bm-site .bm-wall__course>.module_column:last-child:nth-child(odd) .bm-brick__t{max-width:none}
	.bm-spec>div{grid-template-columns:1fr;gap:6px}
}
@media (max-width:640px){
	:root{--bm-brick:40px;--bm-course:11px}
	.bm-site .bm-wall__course,.bm-site .bm-wall__course--shift{grid-template-columns:1fr!important}
	.bm-brick{min-height:0}
	.bm-site .bm-values__grid{grid-template-columns:1fr!important}
	.bm-site .bm-values__grid>.module_column{border-right:0!important;padding-left:0!important}
	.bm-site .bm-foot>.row_inner{grid-template-columns:1fr!important}
	.bm-foot__bottom .bm-credit{margin-left:0}
	.bm-site .bm-form .builder-contact-fields{grid-template-columns:1fr}
	.bm-bond{grid-template-columns:1fr}
	.bm-bond__item:nth-child(5n+1){grid-row:span 2}
	.bm-bond__item:nth-child(5n+1) .bm-bond__link{grid-row:1}
	.bm-bond__item:nth-child(5n+1) .bm-bond__desc{grid-row:2}
	.bm-bond__link,.bm-bond__item:nth-child(n) .bm-bond__link{min-height:min(78vw,340px)}
	.bm-orter__course.is-shifted{margin-left:20px!important}
.bm-orter__course:not(.is-shifted){margin-right:20px!important}
.bm-orter__course{flex-wrap:wrap}
	.bm-orter__brick{height:46px;font-size:.88rem;padding:0 6px}
	.bm-site .bm-hero__mosaic{height:96vw}
	.bm-head--hero .sub-head{font-size:clamp(2.5rem,1.6rem + 6vw,3.4rem)}
	.bm-stove__t{font-size:19px}.bm-stove__s{font-size:15px}
	.bm-table thead{display:none}
	.bm-table tr{display:block;padding:12px 0;border-bottom:1px solid var(--bm-line)}
	.bm-table td{display:flex;justify-content:space-between;gap:12px;border:0;padding:4px 12px}
	.bm-table td::before{content:attr(data-label);font-weight:700;color:var(--bm-muted)}
}

/* spacing between a centred heading and the wall */
.bm-site .themify_builder .bm-head--center+.bm-wall__course{margin-top:clamp(32px,4vw,56px)!important}

.bm-site .themify_builder .module_column>.bm-projects-mod{margin-top:clamp(28px,3.4vw,48px)}
.bm-site .bm-hero__mosaic::before{content:"Sedan 2008";display:flex;align-items:flex-end;padding:0 0 12px 16px;font-family:var(--bm-display);font-weight:800;font-size:clamp(1rem,.8rem + .6vw,1.35rem);letter-spacing:.08em;text-transform:uppercase;color:#fff}

/* Column ratios: rows are written without Builder `sizes`, so the grid comes from here */
@media (min-width:901px){
	.bm-site .themify_builder .module_row>.row_inner:has(>.col3-2:first-child){grid-template-columns:minmax(0,2fr) minmax(0,1fr)}
	.bm-site .themify_builder .module_row>.row_inner:has(>.col3-1:first-child){grid-template-columns:minmax(0,1fr) minmax(0,2fr)}
	.bm-site .themify_builder .module_row.bm-hero--inner>.row_inner{grid-template-columns:minmax(0,1.25fr) minmax(0,1fr)!important}
	.bm-site .themify_builder .module_row.bm-hero--plain>.row_inner{grid-template-columns:1fr!important}
	.bm-site .themify_builder .module_row.bm-mortar>.row_inner,.bm-site .themify_builder .module_row.bm-signs>.row_inner,.bm-site .themify_builder .module_row.bm-before>.row_inner{grid-template-columns:minmax(0,.9fr) minmax(0,1.5fr)}
}
.bm-site .bm-hero__brick{aspect-ratio:2/1.3}
.bm-site .bm-cta__btns .bm-btns{max-width:380px;margin-left:auto}

/* Themify names grid areas on subrows; clear them so our column counts apply */
.bm-site .themify_builder .module_subrow.bm-values__grid,.bm-site .themify_builder .module_subrow.bm-wall__course{grid-template-areas:none!important}
.bm-site .themify_builder .bm-quote .tb_text_wrap{max-width:none}
.bm-quote blockquote{max-width:22ch}

.bm-site .themify_builder .bm-lead--center .tb_text_wrap{margin-inline:auto;text-align:center}
.bm-site .back-top.back-top-float .arrow-up{position:static!important;inset:auto!important;margin:0!important;width:100%;height:100%}
.bm-site .back-top.back-top-float{margin:0!important}
.bm-foot__links li{margin:0!important;padding:0!important}
@media (max-width:1100px){
	.bm-site #mobile-menu .child-arrow{border:0!important;border-radius:0!important;box-shadow:none!important;font-size:0;color:transparent}
	.bm-site #mobile-menu .child-arrow>*{display:none}
	.bm-site #mobile-menu .child-arrow::before{border-radius:0!important;width:10px!important;height:10px!important;margin:0!important;inset:auto!important}
	.bm-site #menu-icon-close{border-radius:var(--bm-r)!important}
}
.bm-site .bm-login-card a{color:var(--bm-tegel)}
.bm-site .bm-login-card a:hover{color:var(--bm-tegel-dk)}
/* login: the hero is the last row, the footer's own course edge takes over */
.bm-site .module_row.bm-hero--login::after{display:none}
.bm-site .module_row.bm-hero--login{padding-bottom:calc(var(--bm-sec) + 32px)}
.bm-site .bm-fea a.button,.bm-site .bm-fea a.acf-button{text-decoration:none!important;color:#fff}
/* open mobile menu: lift the header (and its drawer) above the blur overlay (998) and Select2 fields (1001), below the admin bar (99999) */
body.mobile_menu_active #headerwrap{z-index:99990}
/* Select2 puts z-index 1001 on the closed field, which pokes through the menu overlay; its open dropdown is a separate body-level element */
.bm-site .bm-fea .select2-container{z-index:auto}
