/* EMS Metrology — tokens, reset, type, buttons, icons, header, contact panel, page title, footer. */

:root {
	--ems-primary: #0c4c93;
	--ems-primary-mid: #1e60aa;
	--ems-accent: #51acfb;
	--ems-accent-pale: #a8d7ff;
	--ems-teal: #1591a8;
	--ems-alert: #ff4917;
	--ems-surface: #f8f8fa;
	--ems-surface-alt: #f4f5f7;
	--ems-border: #e6e6e6;
	--ems-text: #6c7176;
	--ems-text-strong: #22272b;
	--ems-gutter: 60px;
	--ems-section-pad: 90px;
	--ems-heading: Mulish, sans-serif;
	--ems-body: Inter, sans-serif;
}

/* Scoped reset: every element this theme styles sizes by its border box. */
.ems-header, .ems-header *, .ems-main, .ems-main *, .ems-footer, .ems-footer *, .ems-panel, .ems-panel * { box-sizing: border-box; }

body { margin: 0; font: 400 16px/27px var(--ems-body); color: var(--ems-text); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
a { color: var(--ems-primary); text-decoration: none; }
a:hover { color: var(--ems-alert); }
/* Two-tone focus ring: a navy outline with a white band between it and the element. On white the navy ring is 8.5:1;
   on navy the white band is 8.5:1 (the navy outline disappears into the background); on teal, photos and anything in
   between at least one of the two stands out. Every ring is above the 3:1 that WCAG 1.4.11 asks for, with no
   per-background rules to remember in later sections. */
:focus-visible { outline: 2px solid var(--ems-primary); outline-offset: 2px; box-shadow: 0 0 0 2px #fff; }
.ems-main p { margin: 0 0 16px; }
.ems-main :where(h1, h2, h3, h4, h5, h6) { margin: 0 0 16px; font-family: var(--ems-heading); font-weight: 800; color: var(--ems-primary); }

/* Section rhythm and the fluid container (60px gutters, 20px on phones, no max width). */
.ems-section { padding: var(--ems-section-pad) var(--ems-gutter); position: relative; }
.ems-container { padding-left: var(--ems-gutter); padding-right: var(--ems-gutter); }
/* ---- the type scale: the steps the source site takes, measured on / /about-us/ /services/ /contact-us/ (task-18b-report.md).
   Each step exists here and nowhere else; a section keeps a size of its own only where the source's section differs.
   Body text is 15/24 up to 1100px wide and 16/27 above (the footer text and the breadcrumb follow it). */
.ems-title { font-size: 42px; line-height: 55px; }
.ems-eyebrow, .is-style-ems-eyebrow { display: flex; align-items: center; gap: 20px; margin: 0 0 12px; font: 800 16px/27px var(--ems-heading); letter-spacing: .09em; color: var(--ems-teal); }
.ems-eyebrow::before, .is-style-ems-eyebrow::before { content: ""; flex: none; width: 50px; height: 2px; background: currentColor; }

/* Buttons: Mulish 800 15px, 56px tall, 31px side padding, 2px border, square. Up to 1100px wide: 13px, 46px tall, 28px side padding (20px up to 575px; a form's submit button 21px). */
.ems-btn .wp-block-button__link,
button.ems-btn {
	display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 4px 31px;
	font: 800 15px/15px var(--ems-heading); color: var(--ems-primary); background: transparent;
	border: 2px solid var(--ems-primary); border-radius: 0; cursor: pointer; transition: background .2s, color .2s, border-color .2s;
}
.ems-btn .wp-block-button__link:hover, button.ems-btn:hover { background: var(--ems-primary); color: #fff; }
.ems-btn--solid .wp-block-button__link, button.ems-btn--solid { background: var(--ems-alert); border-color: var(--ems-alert); color: #fff; }
.ems-btn--solid .wp-block-button__link:hover, button.ems-btn--solid:hover { background: var(--ems-primary); border-color: var(--ems-primary); }

/* Icons: an SVG file used as a mask, coloured by the text colour. */
.ems-icon::before { content: ""; display: inline-block; flex: none; width: 1.1em; height: 1.1em; margin-right: .5em; vertical-align: -.15em; background: currentColor; -webkit-mask: var(--ems-icon) center / contain no-repeat; mask: var(--ems-icon) center / contain no-repeat; }
.ems-icon--map-pin { --ems-icon: url(../icons/map-pin.svg); }
.ems-icon--mail { --ems-icon: url(../icons/mail.svg); }
.ems-icon--clock { --ems-icon: url(../icons/clock.svg); }
.ems-icon--phone { --ems-icon: url(../icons/phone.svg); }
.ems-icon--check { --ems-icon: url(../icons/check.svg); }
.ems-icon--arrow-right { --ems-icon: url(../icons/arrow-right.svg); }

/* A navy drop with a white icon in it: the contact cards in the footer and the panel. */
.ems-footer__col.ems-icon::before, .ems-panel__item.ems-icon::before { position: absolute; z-index: 1; margin: 0; background: #fff; }
.ems-footer__col::after, .ems-panel__item::after { content: ""; position: absolute; z-index: 0; background: var(--ems-primary); -webkit-mask: url(../img/drop.svg) center / contain no-repeat; mask: url(../img/drop.svg) center / contain no-repeat; }

/* ------------------------------------------------------------------ header */
/* 155px: a 55px navy top bar over a 100px white navigation row; the logo sits in a white panel on the left. */
.ems-header { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: 55px 100px; background: #fff; box-shadow: 0 14px 38px rgba(34, 39, 43, .1); z-index: 20; }
.ems-header__body { display: contents; }
.ems-header > .ems-logo { grid-column: 1; grid-row: 1 / span 2; display: flex; align-items: center; padding: 0 30px 0 36px; background: #fff; }
.ems-logo img { display: block; width: auto; height: 40px; }
.ems-topbar { grid-column: 2; grid-row: 1; display: flex; align-items: center; gap: 0 24px; min-width: 0; padding: 0 30px 0 48px; background: var(--ems-primary); color: #fff; font: 400 13px/18px var(--ems-body); clip-path: polygon(26px 0, 100% 0, 100% 100%, 0 100%); }
.ems-topbar p { margin: 0; }
.ems-topbar__item { flex: none; white-space: nowrap; }
.ems-topbar .ems-icon--map-pin { flex: 0 1 auto; min-width: 0; white-space: normal; }
.ems-topbar__email { display: flex; gap: 6px; }
.ems-topbar__label { font-weight: 700; color: var(--ems-accent-pale); }
.ems-topbar__email .wp-block-buttons { margin: 0; }
.ems-topbar__mail .wp-block-button__link { padding: 0; background: none; border: 0; border-radius: 0; font: inherit; color: #fff; text-decoration: none; }
.ems-topbar__mail .wp-block-button__link:hover { color: #fff; text-decoration: underline; }
.ems-topbar .ems-icon::before { color: var(--ems-accent-pale); }
.ems-navbar { grid-column: 2; grid-row: 2; display: flex; align-items: center; gap: 28px; min-width: 0; padding: 0 124px 0 20px; }
.ems-nav { flex: 1 1 auto; min-width: 0; }
.ems-nav__list { display: flex; gap: 2px; margin: 0; padding: 0; list-style: none; font: 800 16px/19px var(--ems-heading); }
.ems-nav__list li { position: relative; }
.ems-nav__list > li > a { display: block; padding: 40px 7px; color: var(--ems-primary); white-space: nowrap; }
.ems-nav__list a:hover { color: var(--ems-alert); }
.ems-nav__toggle { position: absolute; left: calc(50% - 5px); bottom: 26px; width: 10px; height: 10px; padding: 0; border: 0; background: var(--ems-primary); -webkit-mask: url(../icons/chevron-down.svg) center / contain no-repeat; mask: url(../icons/chevron-down.svg) center / contain no-repeat; cursor: pointer; }
/* The chevron is a CSS mask, which clips an outline away, so its focus cue is a change of colour (orange, 3.4:1 on white) and size. */
.ems-nav__toggle:focus-visible { outline: none; box-shadow: none; background-color: var(--ems-alert); scale: 1.6; }
.ems-nav__list .sub-menu { position: absolute; top: 100%; left: -16px; z-index: 5; min-width: 260px; margin: 0; padding: 12px 0; list-style: none; background: #fff; box-shadow: 0 10px 30px rgba(12, 76, 147, .15); border-top: 3px solid var(--ems-alert); font: 400 16px/27px var(--ems-body); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s, transform .2s, visibility .2s; }
.ems-nav__list li:hover > .sub-menu, .ems-nav__list li:focus-within > .sub-menu, .ems-nav__list li.is-open > .sub-menu { opacity: 1; visibility: visible; transform: none; }
/* Escape (or the button) closes a sub-menu even while the pointer or focus is still in its item: view.js adds is-dismissed, and the button's aria-expanded then says collapsed to match. */
.ems-nav__list li.is-dismissed > .sub-menu { opacity: 0; visibility: hidden; transform: translateY(8px); }
.ems-nav__list .sub-menu a { display: block; padding: 7px 24px; color: var(--ems-primary); }
.ems-nav__list .sub-menu .sub-menu { top: -15px; left: 100%; }
.ems-nav__list .sub-menu .ems-nav__toggle { left: auto; right: 12px; bottom: auto; top: 14px; transform: rotate(-90deg); }
.ems-nav__burger { display: none; }
.ems-header__call { flex: none; margin-left: auto; text-align: left; }
.ems-header__call-label { margin: 0; font: 400 14px/20px var(--ems-body); color: var(--ems-text); }
.ems-header__call .ems-phone { display: flex; align-items: center; margin: 0; }
.ems-phone .wp-block-button__link { padding: 0; background: none; border: 0; border-radius: 0; font: 800 22px/28px var(--ems-heading); color: var(--ems-alert); }
.ems-phone .wp-block-button__link:hover { color: var(--ems-primary); }
.ems-phone.ems-icon::before { width: 17px; height: 17px; margin-right: 6px; color: var(--ems-primary); }
.ems-header .ems-header__cta { flex: none; margin: 0; }

/* The teal corner button opens the contact panel (desktop). Three bars, as on the source. */
.ems-panel-toggle, .ems-nav__burger { border: 0; border-radius: 0; background: var(--ems-teal); cursor: pointer; transition: background .2s; }
.ems-panel-toggle { position: absolute; right: 0; bottom: 0; width: 100px; height: 100px; padding: 0; }
.ems-panel-toggle:hover, .ems-nav__burger:hover { background: var(--ems-primary); }
.ems-panel-toggle:focus-visible, .ems-nav__burger:focus-visible, .ems-panel__close:focus-visible { outline: 2px solid #fff; outline-offset: -6px; box-shadow: none; }
.ems-panel-toggle span, .ems-nav__burger span { position: absolute; left: 32px; top: 49px; width: 36px; height: 2px; background: #fff; }
.ems-panel-toggle span::before, .ems-panel-toggle span::after, .ems-nav__burger span::before, .ems-nav__burger span::after { content: ""; position: absolute; left: 0; height: 2px; background: #fff; transition: transform .2s, width .2s; }
.ems-panel-toggle span::before, .ems-nav__burger span::before { top: -11px; width: 23px; }
.ems-panel-toggle span::after, .ems-nav__burger span::after { top: 11px; width: 30px; }

/* ----------------------------------------------------------- contact panel */
/* visibility flips at once on open (so focus can move in) and after the slide on close. */
.ems-panel-backdrop { position: fixed; inset: 0; z-index: 90; background: rgba(10, 28, 54, .55); opacity: 0; visibility: hidden; transition: opacity .3s, visibility 0s .3s; }
.ems-panel-backdrop.is-open { opacity: 1; visibility: visible; transition: opacity .3s, visibility 0s; }
html.ems-panel-open { overflow: hidden; scrollbar-gutter: stable; }
.ems-panel { position: fixed; top: 0; right: 0; bottom: 0; z-index: 100; width: 445px; max-width: 100%; overflow-y: auto; background: #fff; box-shadow: -20px 0 60px rgba(10, 28, 54, .25); transform: translateX(100%); visibility: hidden; transition: transform .35s ease, visibility 0s .35s; }
.ems-panel.is-open { transform: none; visibility: visible; transition: transform .35s ease, visibility 0s; }
.ems-panel:focus { outline: none; }
.ems-panel__close { position: absolute; top: 0; right: 0; z-index: 2; width: 80px; height: 95px; padding: 0; border: 0; border-radius: 0; background: var(--ems-teal); cursor: pointer; transition: background .2s; }
.ems-panel__close:hover { background: var(--ems-primary); }
.ems-panel__close span { position: absolute; inset: 0; background: #fff; -webkit-mask: url(../icons/x.svg) center / 38px no-repeat; mask: url(../icons/x.svg) center / 38px no-repeat; }
.ems-panel__body { padding: 52px 56px 56px; }
.ems-panel .ems-logo { display: block; width: max-content; max-width: 100%; }
.ems-panel .ems-logo img { height: 44px; }
.ems-panel__body > .ems-panel__lead { margin: 30px 0 28px; font-size: 18px; line-height: 27px; }
.ems-panel__body > .ems-panel__title { margin: 46px 0 26px; font: 800 28px/36px var(--ems-heading); }
.ems-panel .ems-btn .wp-block-button__link { font-size: 15px; }
.ems-panel__body > .ems-panel__item { position: relative; min-height: 74px; margin: 0 0 28px; padding-left: 84px; }
.ems-panel__item p { margin: 0; }
.ems-panel__item::after { left: 0; top: 0; width: 56px; height: 74px; }
.ems-panel__item.ems-icon::before { left: 14px; top: 28px; width: 28px; height: 28px; }
.ems-panel__label { font: 800 16px/24px var(--ems-heading); color: var(--ems-primary); }
.ems-panel__phone { font: 800 22px/30px var(--ems-heading); color: var(--ems-alert); }

/* -------------------------------------------------------------- page title */
/* The photograph sits 40px inside a teal frame that is cut on the slant. */
.ems-page-title { position: relative; isolation: isolate; padding: 102px 100px 101px; background: linear-gradient(#e9ecef, #fff); }
.ems-page-title::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--ems-teal); clip-path: polygon(0 0, 57% 0, 46% 100%, 0 100%); }
.ems-page-title::after { content: ""; position: absolute; inset: 40px; z-index: -1; background: var(--ems-primary) url(../img/page-title.jpg) center / cover no-repeat; }
.ems-page-title > .ems-page-title__heading { margin: 0 0 24px; font: 800 42px/55px var(--ems-heading); color: #fff; }
.ems-breadcrumb { margin: 0; font-family: var(--ems-body); color: #fff; }
.ems-breadcrumb a { color: #fff; }
.ems-breadcrumb a:hover { color: var(--ems-accent-pale); }
.ems-breadcrumb__sep { margin: 0 4px; }

/* ------------------------------------------------------------------ footer */
/* A map, then a navy band of contact cards, the logo and a blurb, then a white strip of legal lines. */
.ems-footer { background: #fff; }
.ems-footer p { margin: 0; }
.ems-footer__map { height: 200px; }
.ems-footer__map iframe { display: block; width: 100%; height: 100%; border: 0; }
.ems-footer__band { position: relative; display: flex; flex-direction: column; align-items: center; padding: 22px var(--ems-gutter) 56px; background: var(--ems-primary); color: #fff; }
.ems-footer__info { order: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; width: 100%; }
.ems-footer__col { position: relative; padding: 84px 24px 30px; background: #fff; color: var(--ems-text); text-align: center; font-size: 16px; line-height: 24px; }
.ems-footer__col::after { left: 50%; top: -27px; width: 70px; height: 93px; margin-left: -35px; }
.ems-footer__col.ems-icon::before { left: 50%; top: 14px; width: 28px; height: 28px; margin-left: -14px; }
.ems-footer__label { font: 800 16px/24px var(--ems-heading); color: var(--ems-primary); }
.ems-footer__phone { font: 800 25px/31px var(--ems-heading); color: var(--ems-alert); }
/* Margins on children of a flow group need two classes: the block-gap rules WordPress prints later have one. */
.ems-footer__band > .ems-footer__brand { order: 2; display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 44px; }
.ems-footer__brand .ems-logo { padding: 12px 22px; background: #fff; }
.ems-footer__brand .ems-logo img { height: 38px; }
.ems-footer__accreditation { font-size: 15px; line-height: 22px; color: var(--ems-accent-pale); }
.ems-footer__band > .ems-footer__blurb { order: 3; max-width: 500px; margin-top: 28px; text-align: center; }
.ems-footer__legal { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 36px; padding: 27px var(--ems-gutter); color: var(--ems-text); text-align: center; }

.ems-to-top { position: fixed; right: 30px; bottom: 30px; z-index: 30; width: 70px; height: 93px; padding: 0; border: 0; background: none; cursor: pointer; opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s, transform .2s; }
.ems-to-top.is-visible { opacity: 1; visibility: visible; }
.ems-to-top:hover { transform: translateY(-4px); }
.ems-to-top::before, .ems-to-top::after { content: ""; position: absolute; }
.ems-to-top::before { inset: 0; background: var(--ems-teal); -webkit-mask: url(../img/drop.svg) center / contain no-repeat; mask: url(../img/drop.svg) center / contain no-repeat; }
.ems-to-top::after { left: 21px; top: 38px; width: 28px; height: 28px; background: #fff; -webkit-mask: url(../icons/arrow-up.svg) center / contain no-repeat; mask: url(../icons/arrow-up.svg) center / contain no-repeat; }

/* -------------------------------------------------------------- type scale, by width */
/* The values for each step are in the comment above .ems-title. Widest first, so the narrower step wins. */
@media (max-width: 1431.98px) {
	.ems-title { font-size: 36px; line-height: 49px; }
	.ems-eyebrow, .is-style-ems-eyebrow { font-size: 15px; }
	.ems-eyebrow::before, .is-style-ems-eyebrow::before { width: 45px; }
}
@media (max-width: 1100.98px) {
	body { font-size: 15px; line-height: 24px; }
	.ems-btn .wp-block-button__link, button.ems-btn { min-height: 46px; padding: 4px 28px; font-size: 13px; line-height: 13px; }
	button.ems-btn { padding-left: 21px; padding-right: 21px; }
}
@media (min-width: 1025px) and (max-width: 1100.98px) {
	.ems-eyebrow, .is-style-ems-eyebrow { line-height: 24px; } /* here the source's eyebrow takes the body's line height */
}
@media (max-width: 1024.98px) {
	.ems-title { font-size: 32px; line-height: 42px; }
	.ems-page-title > .ems-page-title__heading { font-size: 32px; line-height: 45px; }
	.ems-eyebrow, .is-style-ems-eyebrow { font-size: 14px; }
	.ems-eyebrow::before, .is-style-ems-eyebrow::before { width: 40px; }
	.ems-footer__col { font-size: 15px; }
	.ems-footer__phone { font-size: 22px; }
	:root { --ems-section-pad: 60px; }
}
@media (max-width: 767.98px) {
	.ems-title { font-size: 29px; line-height: 36px; }
	.ems-page-title > .ems-page-title__heading { font-size: 29px; line-height: 36px; }
	.ems-eyebrow, .is-style-ems-eyebrow { gap: 11px; margin-bottom: 8px; font-size: 13px; }
	.ems-eyebrow::before, .is-style-ems-eyebrow::before { width: 25px; height: 1px; }
}
@media (max-width: 575.98px) {
	.ems-btn .wp-block-button__link { padding-left: 20px; padding-right: 20px; }
}

/* -------------------------------------------------------------- responsive */
@media (max-width: 1399.98px) {
	.ems-header .ems-header__cta { display: none; }
	.ems-navbar { padding-right: 120px; }
}
@media (max-width: 1199.98px) {
	.ems-topbar .ems-icon--map-pin { display: none; }
}
@media (max-width: 1139.98px) {
	.ems-header > .ems-logo { padding: 0 22px 0 28px; }
	.ems-logo img { height: 32px; }
	.ems-header__call-label { display: none; }
	.ems-navbar { gap: 20px; padding-right: 100px; }
	.ems-nav__list { font-size: 15px; }
	.ems-nav__list > li > a { padding-left: 5px; padding-right: 5px; }
	.ems-topbar { padding-left: 44px; }
	.ems-panel-toggle { width: 80px; }
	.ems-panel-toggle span { left: 22px; }
}
@media (max-width: 1024.98px) {
	/* Tablet header, 112px: a 42px bar over a 70px row; the teal corner button is the menu button. */
	.ems-header { grid-template-rows: 42px 70px; }
	.ems-header > .ems-logo { padding: 0 20px 0 28px; }
	.ems-logo img { height: 30px; }
	.ems-topbar { gap: 0 22px; padding: 0 28px 0 44px; font-size: 13px; line-height: 20px; }
	.ems-topbar .ems-icon--map-pin { display: none; }
	.ems-navbar { justify-content: flex-end; gap: 24px; padding: 0 94px 0 16px; }
	.ems-header .ems-header__cta { display: flex; }
	.ems-header__call-label { display: block; }
	.ems-panel-toggle, .ems-panel, .ems-panel-backdrop { display: none; }
	.ems-nav { flex: none; }
	.ems-nav__burger { display: block; position: absolute; right: 0; bottom: 0; width: 70px; height: 70px; padding: 0; }
	.ems-nav__burger span, .ems-nav__burger span::before, .ems-nav__burger span::after { left: 17px; }
	.ems-nav__burger span { top: 34px; left: 17px; }
	.ems-nav__burger span::before, .ems-nav__burger span::after { left: 0; }
	.ems-nav.is-open .ems-nav__burger span { background: transparent; }
	.ems-nav.is-open .ems-nav__burger span::before { top: 0; width: 34px; transform: rotate(45deg); }
	.ems-nav.is-open .ems-nav__burger span::after { top: 0; width: 34px; transform: rotate(-45deg); }
	.ems-nav__list { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0; max-height: calc(100vh - 112px); max-height: calc(100dvh - 112px); padding: 8px var(--ems-gutter) 16px; overflow-y: auto; background: #fff; border-top: 1px solid var(--ems-border); box-shadow: 0 14px 30px rgba(12, 76, 147, .15); }
	.ems-nav.is-open .ems-nav__list { display: flex; }
	.ems-nav__list > li > a, .ems-nav__list .sub-menu a { padding: 11px 44px 11px 0; white-space: normal; }
	.ems-nav__list li { border-bottom: 1px solid var(--ems-border); }
	.ems-nav__list li:last-child { border-bottom: 0; }
	.ems-nav__toggle, .ems-nav__list .sub-menu .ems-nav__toggle { left: auto; right: 0; top: 6px; bottom: auto; width: 14px; height: 14px; padding: 0; border: 0; box-sizing: content-box; border: 9px solid transparent; background-clip: content-box; transform: none; }
	.ems-nav__list li.is-open > .ems-nav__toggle { transform: rotate(180deg); }
	.ems-nav__list .sub-menu, .ems-nav__list .sub-menu .sub-menu { position: static; display: none; min-width: 0; padding: 0 0 4px 16px; box-shadow: none; border: 0; opacity: 1; visibility: visible; transform: none; transition: none; }
	.ems-nav__list li.is-open > .sub-menu { display: block; }
	.ems-nav__list li:hover > .sub-menu, .ems-nav__list li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
	.ems-nav__list li:not(.is-open):hover > .sub-menu, .ems-nav__list li:not(.is-open):focus-within > .sub-menu { display: none; }
	.ems-nav__list .sub-menu li { border-bottom: 0; }

	.ems-page-title { padding: 74px 85px 74px; }
	.ems-page-title::after { inset: 25px; }
	.ems-footer__info { grid-template-columns: 1fr; gap: 56px; }
}
@media (max-width: 767.98px) {
	:root { --ems-gutter: 20px; }
	/* Phone header, 69px: a 10px navy edge over one 59px row (logo, phone, menu button). */
	.ems-header { grid-template-rows: 10px 59px; }
	.ems-header > .ems-logo { padding: 0 14px 0 20px; }
	.ems-logo img { height: 26px; }
	.ems-topbar { min-height: 0; padding: 0; overflow: hidden; clip-path: polygon(26px 0, 100% 0, 100% 100%, 0 100%); }
	.ems-topbar > * { display: none; }
	.ems-navbar { padding: 0 69px 0 8px; gap: 12px; }
	.ems-header .ems-header__cta, .ems-header__call-label { display: none; }
	.ems-phone .wp-block-button__link { font-size: 16px; line-height: 22px; }
	.ems-phone.ems-icon::before { width: 14px; height: 14px; }
	.ems-nav__burger { width: 59px; height: 59px; }
	.ems-nav__burger span { top: 28px; left: 13px; width: 32px; }
	.ems-nav__burger span::before { top: -9px; width: 20px; }
	.ems-nav__burger span::after { top: 9px; width: 26px; }
	.ems-nav.is-open .ems-nav__burger span::before, .ems-nav.is-open .ems-nav__burger span::after { width: 30px; }
	.ems-nav__list { max-height: calc(100vh - 69px); max-height: calc(100dvh - 69px); }
	.ems-page-title { padding: 60px 60px 60px; }
	.ems-footer__legal { flex-direction: column; gap: 2px; }
}
@media (max-width: 575.98px) {
	.ems-page-title { padding: 37px 20px 35px; }
	.ems-page-title::before { clip-path: polygon(0 0, 60% 0, 58% 10px, 0 10px); }
	.ems-page-title::after { inset: 10px 0 0; }
	.ems-footer__map { height: 230px; }
	.ems-footer__info { gap: 44px; }
	.ems-footer__band { padding-left: 42px; padding-right: 42px; }
	.ems-to-top { right: 14px; bottom: 14px; width: 58px; height: 77px; }
	.ems-to-top::after { left: 16px; top: 31px; width: 26px; height: 26px; }
}
@media (max-width: 359.98px) {
	.ems-logo img { height: 22px; }
	.ems-phone .wp-block-button__link { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
