/* SWD Header — logo left, menu centre, About + CTA right; hides on scroll down, compact (icon only) on scroll up. */
.swd.swd-header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 14px var(--gut); transition: background .3s, box-shadow .3s, transform .35s ease, padding .3s; }
body.admin-bar .swd.swd-header { top: var(--wp-admin--admin-bar--height, 32px); }
.swd.swd-header.is-hidden { transform: translateY(-110%); }
body.admin-bar .swd.swd-header.is-hidden { transform: translateY(calc(-110% - var(--wp-admin--admin-bar--height, 32px))); }
.swd.swd-header.is-solid { background: rgba(20, 26, 44, .97); box-shadow: 0 1px 0 var(--edge); padding-top: 8px; padding-bottom: 8px; }
.swd-header .hdr__bar { max-width: var(--wrap); margin: 0 auto; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.swd-header .brand { justify-self: start; display: grid; align-items: center; height: 47px; text-decoration: none; transition: height .3s; }
.swd-header .brand > * { grid-area: 1 / 1; transition: opacity .3s, transform .3s; }
.swd-header .brand__full { width: 146px; height: auto; }
.swd-header .brand__icon { height: 34px; opacity: 0; transform: scale(.8); }
.swd.swd-header.is-solid .brand { height: 40px; }
.swd-header.is-solid:not(.hdr--noicon) .brand__full { opacity: 0; transform: scale(.9); }
.swd-header.is-solid .brand__icon { opacity: 1; transform: none; }
.swd-header.is-solid .nav a, .swd-header.is-solid .pill__link { padding-top: 9px; padding-bottom: 9px; font-size: 16px; }
.swd-header.is-solid .btn--sm { height: 40px; }
.swd-header .btn--sm, .swd-header .nav a, .swd-header .pill__link { transition: height .3s, padding .3s, font-size .3s, background .2s; }
.swd-header .nav { display: flex; gap: 4px; }
.swd-header .hdr__r { justify-self: end; display: flex; align-items: center; gap: 6px; }
.swd-header .nav a, .swd-header .pill__link { padding: 12px 18px; border-radius: 12px; font-size: 17px; font-weight: 500; letter-spacing: -.02em; color: #fff; text-decoration: none; }
.swd-header .nav a:hover, .swd-header .pill__link:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.swd-header .burger, .swd-header .drawer { display: none; }

/* status light */
.swd-header .hdr__status { display: inline-flex; align-items: center; gap: 10px; height: 40px; padding: 0 14px; margin-right: 6px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--edge); font-size: 14px; font-weight: 500; color: #C9D1E3; text-decoration: none; white-space: nowrap; transition: background .2s; }
.swd-header .hdr__status:hover { background: rgba(255, 255, 255, .06); }
.swd-header .hdr__status .live { width: 7px; height: 7px; }
.swd-header.is-solid .hdr__status-t { display: none; }
.swd-header.is-solid .hdr__status { padding: 0 12px; margin-right: 2px; }

/* floating call to action */
.swd.swd-float { position: fixed; right: 24px; bottom: 24px; z-index: 90; display: inline-flex; align-items: center; gap: 10px; height: 58px; padding: 0 30px; border-radius: 16px; background: var(--acc); color: var(--ink); font-family: var(--f); font-size: 20px; font-weight: 500; line-height: 1; letter-spacing: -.02em; text-decoration: none; box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .45); transition: transform .25s, opacity .25s, background .2s; }
.swd-float svg { width: 16px; height: 16px; }
.swd-float:hover { background: #fff; color: var(--ink); }
.swd.swd-float.is-off { opacity: 0; transform: translateY(20px); pointer-events: none; }

@media (max-width: 1180px) {
	.swd-header .hdr__status-t { display: none; }
	.swd-header .hdr__status { padding: 0 12px; }
	.swd-header .nav a { padding: 12px 13px; font-size: 16px; }
}
@media (max-width: 980px) {
	.swd.swd-header { padding: 10px var(--gut); background: rgba(20, 26, 44, .97); }
	.swd-header .hdr__bar { grid-template-columns: 1fr auto; }
	.swd-header .brand img { width: 118px; }
	.swd-header .nav, .swd-header .pill__link { display: none; }
	.swd-header .burger { display: grid; place-content: center; gap: 6px; width: 46px; height: 50px; background: none !important; border: 0 !important; box-shadow: none !important; border-radius: 0; padding: 0; cursor: pointer; }
	.swd-header .burger span { display: block; width: 22px; height: 2px; border-radius: 2px; background: #fff; transition: transform .25s; }
	.swd-header .burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
	.swd-header .burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
	.swd-header .drawer:not([hidden]) { display: grid; position: fixed; top: 76px; left: 12px; right: 12px; padding: 12px 22px 24px; border-radius: 22px; background: #1A2138; box-shadow: inset 0 0 0 1px var(--edge), 0 30px 60px -20px rgba(0, 0, 0, .6); color: #fff; max-height: calc(100vh - 90px); overflow-y: auto; }
	body.admin-bar .swd-header .drawer:not([hidden]) { top: calc(76px + var(--wp-admin--admin-bar--height, 46px)); }
	.swd-header .drawer a:not(.btn) { font-size: 24px; font-weight: 500; letter-spacing: -.03em; color: #fff; text-decoration: none; padding: 13px 0; border-bottom: 1px solid var(--edge); }
	.swd-header .drawer .btn { margin-top: 20px; }
	.swd-header .drawer a.drawer__tel:not(.btn) { border: 0; text-align: center; font-size: 17px; padding: 16px 0 0; color: var(--muted); }
	.swd.swd-float { display: none; }
}
