/*
 * Template components (spec 6.3): icons, buttons, skip link, top bar, header, navigation, breadcrumbs, footer.
 * Visual source: docs/specs/design-system.md sections 5, 6, 8.1 to 8.5, 8.25.
 * Breakpoints (literals): sm 30rem, md 48rem, lg 64rem (the navigation switches from drawer to bar here).
 *
 * no-descending-specificity is off for this file: the drawer (below 1024px) and the bar (from 1024px) restyle the same
 * links in two media blocks, and the components share link markup, so the rule would only force an unreadable order.
 */

/* stylelint-disable no-descending-specificity */

/* Icons: CSS masks from assets/icons/*.svg. They take the text colour and carry no accessible name. */
.nbt-icon {
	display: inline-block;
	flex: none;
	width: 1.5rem;
	height: 1.5rem;
	background-color: currentcolor;
	mask-repeat: no-repeat;
	mask-position: center;
	mask-size: contain;
}

.nbt-icon-menu {
	mask-image: url(../icons/menu.svg);
}

.nbt-icon-close {
	mask-image: url(../icons/close.svg);
}

.nbt-icon-chevron-down {
	mask-image: url(../icons/chevron-down.svg);
}

.nbt-icon-chevron-right {
	mask-image: url(../icons/chevron-right.svg);
}

.nbt-icon-arrow-right {
	mask-image: url(../icons/arrow-right.svg);
}

.nbt-icon-arrow-up {
	mask-image: url(../icons/arrow-up.svg);
}

.nbt-icon-mail {
	mask-image: url(../icons/mail.svg);
}

.nbt-icon-phone {
	mask-image: url(../icons/phone.svg);
}

.nbt-icon-map-pin {
	mask-image: url(../icons/map-pin.svg);
}

/*
 * Keep anchor targets and focused page content clear of the sticky header (WCAG 2.4.11). This is scroll-margin on the
 * things that are scrolled to, not scroll-padding on the page: scroll-padding also moves the page whenever focus
 * returns to a control inside the header itself (closing a menu, Shift+Tab into the bar).
 */
:target,
main :is(a, button, input, select, textarea, summary, h1, h2, h3, h4, h5, h6, [id], [tabindex]),
.nbt-footer a {
	scroll-margin-top: calc(var(--header-h) + var(--wp-admin--admin-bar--height, 0px) + 16px);
}

html.nbt-nav-lock {
	overflow: hidden;
}

/* Buttons (C14) */
.nbt-btn {
	display: inline-flex;
	min-height: 48px;
	align-items: center;
	justify-content: center;
	gap: var(--space-2);
	padding: 12px 24px;
	border: 2px solid transparent;
	border-radius: var(--radius-sm);
	font: 600 1rem/1.2 var(--font-sans);
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: background-color var(--dur-1) var(--ease-standard), border-color var(--dur-1) var(--ease-standard), color var(--dur-1) var(--ease-standard), transform var(--dur-1) var(--ease-standard);
}

.nbt-btn-primary::after,
.nbt-btn-secondary::after,
.nbt-btn-inverse::after,
.nbt-btn-link::after {
	content: "";
	width: 1.25rem;
	height: 1.25rem;
	flex: none;
	background-color: currentcolor;
	mask: url(../icons/arrow-right.svg) center / contain no-repeat;
	transition: transform var(--dur-2) var(--ease-out);
}

.nbt-btn-primary:hover::after,
.nbt-btn-secondary:hover::after,
.nbt-btn-inverse:hover::after,
.nbt-btn-link:hover::after {
	transform: translateX(3px);
}

.nbt-btn-sm {
	min-height: 44px;
	padding: 10px 18px;
	font-size: 0.9375rem;
}

.nbt-btn-sm::after {
	display: none;
}

.nbt-btn-primary {
	background: var(--c-brand);
	color: #fff;
}

.nbt-btn-primary:hover {
	background: var(--c-brand-hover);
	color: #fff;
}

.nbt-btn-primary:active {
	background: var(--c-brand-active);
	color: #fff;
	transform: translateY(1px);
}

.nbt-btn-secondary {
	border-color: var(--c-brand);
	background: transparent;
	color: var(--c-brand);
}

.nbt-btn-secondary:hover {
	background: var(--c-brand-tint);
	color: var(--c-brand);
}

.nbt-btn-secondary:active {
	background: #cfe3f5;
}

.nbt-btn-ghost {
	padding-inline: 16px;
	background: transparent;
	color: var(--c-brand);
}

.nbt-btn-ghost:hover {
	background: var(--c-brand-tint);
	color: var(--c-brand);
}

.nbt-btn-link {
	min-height: 44px;
	padding: 0;
	color: var(--c-brand);
}

.nbt-btn-link:hover {
	color: var(--c-brand-hover);
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 0.2em;
}

.nbt-btn-emergency {
	background: var(--c-amber);
	color: var(--c-ink);
}

.nbt-btn-emergency:hover {
	background: #ffc83a;
	color: var(--c-ink);
}

.nbt-btn-inverse {
	background: #fff;
	color: var(--c-brand);
}

.nbt-btn-inverse:hover {
	background: var(--c-brand-tint);
	color: var(--c-brand);
}

.nbt-btn[disabled],
.nbt-btn[aria-disabled="true"] {
	border-color: transparent;
	background: #c9d3de;
	color: var(--c-ink-3);
	cursor: not-allowed;
	pointer-events: none;
}

/* Night and brand surfaces */
.nbt-on-night .nbt-btn-primary {
	background: var(--c-cyan);
	color: var(--c-ink);
}

.nbt-on-night .nbt-btn-primary:hover {
	background: var(--c-cyan-hover);
	color: var(--c-ink);
}

.nbt-on-night .nbt-btn-primary:active {
	background: var(--c-cyan-active);
}

.nbt-on-night .nbt-btn-secondary {
	border-color: #fff;
	color: #fff;
}

.nbt-on-night .nbt-btn-secondary:hover {
	background: rgba(255, 255, 255, 0.1);
	color: #fff;
}

.nbt-on-night .nbt-btn-link {
	color: var(--c-cyan);
}

.nbt-on-night .nbt-btn-link:hover {
	color: var(--c-cyan-hover);
}

/* Skip link (C01): first focusable element, visible only while focused. */
.nbt-skip-link {
	position: fixed;
	z-index: var(--z-skip);
	top: 0;
	left: 0;
	padding: 12px 20px;
	background: var(--c-brand);
	color: #fff;
	font-weight: 600;
	text-decoration: none;
	transform: translateY(-120%);
}

.nbt-skip-link:focus {
	transform: none;
}

.nbt-skip-link:focus-visible {
	outline: 3px solid #fff;
	outline-offset: -6px;
}

/* Top bar (C02): from md up. */
.nbt-topbar {
	display: none;
	height: var(--topbar-h);
	background: var(--c-night-950);
	color: var(--c-on-night-2);
	font-size: 0.8125rem;
}

.nbt-topbar-inner,
.nbt-topbar-list {
	display: flex;
	height: 100%;
	align-items: center;
}

.nbt-topbar-list {
	margin: 0;
	padding: 0;
	gap: var(--space-4);
	list-style: none;
}

.nbt-topbar-item {
	display: flex;
	align-items: center;
	gap: var(--space-2);
}

.nbt-topbar-item + .nbt-topbar-item {
	padding-left: var(--space-4);
	border-left: var(--border-night);
}

.nbt-topbar .nbt-icon {
	width: 1rem;
	height: 1rem;
	color: var(--c-cyan);
}

.nbt-topbar a {
	display: inline-flex;
	min-height: var(--topbar-h);
	align-items: center;
	color: var(--c-on-night-2);
	text-decoration: none;
}

.nbt-topbar a:hover {
	color: #fff;
	text-decoration: underline;
}

@media (min-width: 48rem) {

	.nbt-topbar {
		display: block;
	}
}

@media (pointer: coarse) {

	:root {
		--topbar-h: 44px;
	}
}

/* Header (C03) */
.nbt-header {
	z-index: var(--z-header);
	background: var(--c-paper);
}

/*
 * The header (logo, navigation, CTA) is the only sticky part; the top bar is an ordinary block above it and scrolls away,
 * so a focused top-bar link is always scrolled into view by the browser. Sticky only where it cannot hide the page:
 * always from 1024px (a one-line bar), and below that only when the menu is a collapsed drawer (the "js" class).
 * Without scripting the stacked menu is part of the header and must scroll away.
 */
@media (min-width: 64rem) {

	.nbt-header {
		position: sticky;
		top: var(--wp-admin--admin-bar--height, 0);
	}
}

@media (max-width: 63.9375rem) {

	.js .nbt-header {
		position: sticky;
		top: var(--wp-admin--admin-bar--height, 0);
	}
}

.nbt-header-bar {
	border-bottom: var(--border);
	background: var(--c-paper);
	transition: box-shadow var(--dur-2) var(--ease-standard);
}

.nbt-header.nbt-is-scrolled .nbt-header-bar {
	box-shadow: 0 4px 16px rgba(6, 24, 42, 0.08);
}

.nbt-header-inner {
	display: flex;
	flex-wrap: wrap;
	min-height: var(--header-h);
	align-items: center;
	justify-content: space-between;
	gap: var(--space-4);
}

.nbt-brand {
	min-width: 6.5rem;
	flex: 0 0 auto;
	margin-right: auto;
}

/* Owner-typed text (menu labels, company name, address) may contain a long unbroken word: wrap it, never overflow. */
.nbt-nav,
.nbt-footer,
.nbt-topbar,
.nbt-breadcrumb {
	overflow-wrap: anywhere;
}

.nbt-footer-grid > *,
.nbt-footer-bottom > * {
	min-width: 0;
}

.nbt-logo,
.custom-logo-link {
	display: inline-flex;
	min-height: 44px;
	align-items: center;
}

.nbt-logo img,
.custom-logo {
	display: block;
	width: auto;
	height: 34px;
}

@media (min-width: 64rem) {

	.nbt-logo img,
	.custom-logo {
		height: 40px;
	}
}

.nbt-nav-toggle,
.nbt-nav-close,
.nbt-submenu-toggle {
	display: none;
	width: 44px;
	height: 44px;
	flex: none;
	align-items: center;
	justify-content: center;
	padding: 0;
	border: 0;
	border-radius: var(--radius-sm);
	background: transparent;
	color: var(--c-brand);
	cursor: pointer;
}

.nbt-nav-toggle:hover {
	background: var(--c-brand-tint);
}

/* The buttons exist for scripting only: without it (or if nav.js fails) they would do nothing, so they stay hidden. */
.js .nbt-submenu-toggle {
	display: inline-flex;
}

/* Navigation (C04, C05): a drawer below 1024px, a bar from 1024px. */
.nbt-nav .nbt-menu,
.nbt-nav .nbt-submenu,
.nbt-nav .nbt-nav-contact {
	margin: 0;
	padding: 0;
	list-style: none;
}

.nbt-nav-overlay {
	display: none;
}

@media (max-width: 63.9375rem) {

	/* Default (no scripting, or nav.js not loaded): the menu is a dark block under the logo and the page scrolls past it. */
	.nbt-nav {
		display: block;
		flex: 1 0 100%;
		margin-inline: calc(-1 * var(--gutter));
		padding: var(--space-2) var(--gutter) var(--space-6);
		background: var(--c-night-950);
		color: #fff;
	}

	/* With scripting: a drawer. */
	.js .nbt-header-inner {
		flex-wrap: nowrap;
	}

	.js .nbt-nav-toggle,
	.js .nbt-nav-close {
		display: inline-flex;
	}

	.js .nbt-nav {
		position: fixed;
		z-index: var(--z-drawer);
		inset-block: 0;
		inset-inline-end: 0;
		display: flex;
		width: min(88vw, 25rem);
		height: 100dvh;
		flex: none;
		flex-direction: column;
		margin-inline: 0;
		padding: var(--space-6);
		overflow-y: auto;
		box-shadow: var(--shadow-3);
		transform: translateX(100%);
		visibility: hidden;
		pointer-events: none; /* while sliding out it must not cover (and swallow clicks on) the Menu button */
		transition: transform var(--dur-3) var(--ease-out), visibility 0s linear var(--dur-3);
	}

	/*
	 * Opening: visibility is not listed, so it switches at once and the drawer is focusable in the same frame (nav.js
	 * moves focus to the Close button right away). Only the slide is animated. Closing keeps the delayed "hidden", so
	 * the slide-out stays visible and the drawer then leaves the accessibility tree and the tab order.
	 */
	.js .nbt-header.nbt-is-open .nbt-nav {
		transform: none;
		visibility: visible;
		pointer-events: auto;
		transition: transform var(--dur-3) var(--ease-out);
	}

	/*
	 * Reduced motion: no transition at all inside the drawer, in either direction. base.css gives every element a
	 * 0.01ms duration, which would turn "visibility 0s" into a real transition on the drawer AND on every child that
	 * has the default "transition-property: all" and inherits the changing visibility: a child then starts at
	 * "hidden" and cannot take focus in the frame the drawer opens.
	 */
	@media (prefers-reduced-motion: reduce) {

		.js .nbt-nav,
		.js .nbt-nav *,
		.js .nbt-nav *::before,
		.js .nbt-nav *::after,
		.js .nbt-header.nbt-is-open .nbt-nav {
			transition: none;
		}
	}

	.js .nbt-header.nbt-is-open .nbt-nav-overlay {
		position: fixed;
		z-index: var(--z-overlay);
		display: block;
		inset: 0;
		background: rgba(6, 24, 42, 0.64);
	}

	.nbt-nav :focus-visible {
		outline-color: var(--c-focus-night);
	}

	.nbt-nav-head {
		display: none;
		justify-content: flex-end;
		margin-bottom: var(--space-4);
	}

	.js .nbt-nav-head {
		display: flex;
	}

	.nbt-nav-close {
		color: #fff;
	}

	.nbt-nav-close:hover {
		background: var(--c-night-800);
	}

	.nbt-nav .nbt-menu > li {
		display: flex;
		flex-wrap: wrap;
		align-items: stretch;
		border-bottom: var(--border-night);
	}

	.nbt-nav .nbt-menu > li > a {
		display: flex;
		min-width: 0;
		min-height: 56px;
		flex: 1 1 0;
		align-items: center;
		padding-inline: var(--space-2);
		color: #fff;
		font-size: 1.125rem;
		font-weight: 500;
		text-decoration: none;
	}

	.nbt-nav .nbt-menu > li > a:hover,
	.nbt-nav .nbt-submenu a:hover {
		background: var(--c-night-800);
		color: #fff;
	}

	/* The current page and, like on desktop, the item whose child or posts are being viewed (no aria-current on ancestors). */
	.nbt-nav .nbt-menu > li > a[aria-current="page"],
	.nbt-nav .nbt-submenu a[aria-current="page"],
	.nbt-nav .nbt-menu > .current-menu-ancestor > a,
	.nbt-nav .nbt-menu > .current-menu-parent > a,
	/* stylelint-disable selector-class-pattern -- core's own menu classes */
	.nbt-nav .nbt-menu > .current_page_parent > a,
	.nbt-nav .nbt-menu > .current_page_ancestor > a {
		box-shadow: inset 3px 0 0 var(--c-cyan);
		font-weight: 700;
	}
	/* stylelint-enable selector-class-pattern */

	.nbt-nav .nbt-submenu-toggle {
		width: 56px;
		height: auto;
		min-height: 56px;
		color: #fff;
	}

	.nbt-nav .nbt-submenu-toggle:hover {
		background: var(--c-night-800);
	}

	.nbt-nav .nbt-submenu {
		display: block;
		flex: 1 0 100%;
		padding-bottom: var(--space-2);
	}

	.js .nbt-nav .nbt-submenu {
		display: none;
	}

	.js .nbt-nav .nbt-is-open > .nbt-submenu {
		display: block;
	}

	.nbt-nav .nbt-submenu a {
		display: flex;
		min-height: 48px;
		align-items: center;
		padding-inline: var(--space-6) var(--space-2);
		color: var(--c-on-night-2);
		font-size: 1rem;
		text-decoration: none;
	}

	.nbt-nav .nbt-menu > .nbt-menu-cta {
		margin-top: var(--space-6);
		border-bottom: 0;
	}

	.nbt-nav .nbt-menu > .nbt-menu-cta > a {
		justify-content: center;
		padding: 12px 24px;
		border-radius: var(--radius-sm);
		background: var(--c-cyan);
		color: var(--c-ink);
		font-weight: 600;
	}

	.nbt-nav .nbt-menu > .nbt-menu-cta > a:hover {
		background: var(--c-cyan-hover);
		color: var(--c-ink);
	}

	.nbt-nav .nbt-nav-contact {
		margin-top: var(--space-6);
		color: var(--c-on-night-2);
	}

	.nbt-nav-contact li {
		display: flex;
		min-height: 44px;
		align-items: center;
		gap: var(--space-2);
	}

	.nbt-nav-contact .nbt-icon {
		width: 1rem;
		height: 1rem;
		color: var(--c-cyan);
	}

	.nbt-nav-contact a {
		display: inline-flex;
		min-height: 44px;
		align-items: center;
		color: var(--c-on-night-2);
		text-decoration: none;
	}

	.nbt-nav-contact a:hover {
		color: #fff;
		text-decoration: underline;
	}
}

@media (min-width: 64rem) {

	.nbt-header-inner {
		flex-wrap: nowrap;
	}

	.nbt-nav-toggle,
	.nbt-nav-head,
	.nbt-nav-contact {
		display: none;
	}

	/* The list fills the header's height so the pointer can travel from a link to its panel without a gap. */
	.nbt-nav,
	.nbt-nav .nbt-menu {
		align-self: stretch;
	}

	.nbt-nav .nbt-menu {
		display: flex;
		height: 100%;
		align-items: stretch;
		gap: var(--space-1);
	}

	.nbt-nav .nbt-menu > li {
		display: flex;
		align-items: center;
	}

	.nbt-nav .nbt-menu > li > a {
		position: relative;
		display: inline-flex;
		min-height: 44px;
		align-items: center;
		padding: 0 12px;
		color: var(--c-ink);
		font-size: 0.9375rem;
		font-weight: 500;
		text-decoration: none;
	}

	.nbt-nav .nbt-menu > li > a::after {
		content: "";
		position: absolute;
		right: 12px;
		bottom: 4px;
		left: 12px;
		height: 2px;
		background: var(--c-cyan);
		transform: scaleX(0);
		transform-origin: left;
		transition: transform var(--dur-2) var(--ease-out);
	}

	.nbt-nav .nbt-menu > li > a:hover,
	.nbt-nav .nbt-menu > li > a:focus-visible,
	.nbt-nav .nbt-menu > li > a[aria-current="page"],
	.nbt-nav .nbt-menu > .current-menu-ancestor > a,
	.nbt-nav .nbt-menu > .current-menu-parent > a,
	/* stylelint-disable selector-class-pattern -- core's own menu classes */
	.nbt-nav .nbt-menu > .current_page_parent > a,
	.nbt-nav .nbt-menu > .current_page_ancestor > a {
		color: var(--c-brand);
	}
	/* stylelint-enable selector-class-pattern */

	.nbt-nav .nbt-menu > li > a:hover::after,
	.nbt-nav .nbt-menu > li > a:focus-visible::after,
	.nbt-nav .nbt-menu > li > a[aria-current="page"]::after,
	.nbt-nav .nbt-menu > .current-menu-ancestor > a::after,
	.nbt-nav .nbt-menu > .current-menu-parent > a::after,
	/* stylelint-disable selector-class-pattern -- core's own menu classes */
	.nbt-nav .nbt-menu > .current_page_parent > a::after,
	.nbt-nav .nbt-menu > .current_page_ancestor > a::after {
		transform: scaleX(1);
	}
	/* stylelint-enable selector-class-pattern */

	.nbt-nav .nbt-menu > li > a[aria-current="page"],
	.nbt-nav .nbt-menu > .current-menu-ancestor > a,
	.nbt-nav .nbt-menu > .current-menu-parent > a,
	/* stylelint-disable selector-class-pattern -- core's own menu classes */
	.nbt-nav .nbt-menu > .current_page_parent > a,
	.nbt-nav .nbt-menu > .current_page_ancestor > a {
		font-weight: 600;
	}
	/* stylelint-enable selector-class-pattern */

	.nbt-nav .nbt-menu > li > a:focus-visible {
		outline-offset: -3px;
	}

	.nbt-nav .nbt-has-submenu > a {
		padding-right: 4px;
	}

	/* The toggle sits right after the link, with a 44px target. */
	.nbt-nav .nbt-submenu-toggle {
		color: var(--c-ink);
	}

	.nbt-nav .nbt-submenu-toggle:hover {
		background: var(--c-brand-tint);
		color: var(--c-brand);
	}

	/* Services panel */
	.nbt-nav .nbt-submenu {
		position: absolute;
		z-index: var(--z-menu);
		top: 100%;
		left: 50%;
		display: none;
		width: min(60rem, calc(100% - 2 * var(--gutter)));
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 0 var(--space-6);
		padding: var(--space-6) var(--space-8);
		border: var(--border);
		border-top: 0;
		border-radius: 0 0 var(--radius-md) var(--radius-md);
		background: var(--c-paper);
		box-shadow: var(--shadow-3);
		transform: translateX(-50%);
	}

	.nbt-nav .nbt-is-open > .nbt-submenu {
		display: grid;
		animation: nbt-panel-in var(--dur-3) var(--ease-out);
	}

	.nbt-nav .nbt-submenu a {
		display: flex;
		min-height: 44px;
		align-items: center;
		padding: var(--space-2) var(--space-3);
		border-radius: var(--radius-xs);
		color: var(--c-ink);
		font-size: 0.9375rem;
		font-weight: 600;
		text-decoration: none;
	}

	.nbt-nav .nbt-submenu a:hover {
		background: var(--c-surface);
		color: var(--c-brand);
	}

	.nbt-nav .nbt-submenu a[aria-current="page"] {
		box-shadow: inset 3px 0 0 var(--c-brand);
		color: var(--c-brand);
	}

	.nbt-nav .nbt-submenu a:focus-visible {
		outline-offset: -3px;
	}

	.nbt-nav .nbt-is-open > .nbt-submenu-toggle .nbt-icon {
		transform: rotate(180deg);
	}

	/* Contact is a button (CTA). */
	.nbt-nav .nbt-menu > .nbt-menu-cta {
		margin-left: var(--space-2);
	}

	.nbt-nav .nbt-menu > .nbt-menu-cta > a {
		padding: 10px 18px;
		border: 2px solid var(--c-brand);
		border-radius: var(--radius-sm);
		background: var(--c-brand);
		color: #fff;
		font-weight: 600;
	}

	.nbt-nav .nbt-menu > .nbt-menu-cta > a::after {
		display: none;
	}

	.nbt-nav .nbt-menu > .nbt-menu-cta > a:hover,
	.nbt-nav .nbt-menu > .nbt-menu-cta > a:focus-visible {
		background: var(--c-brand-hover);
		color: #fff;
	}

	.nbt-nav .nbt-menu > .nbt-menu-cta > a[aria-current="page"] {
		background: transparent;
		color: var(--c-brand);
	}

	/* The ring is drawn outside the button, on the page, never on the button's own fill (design system 5.1). */
	.nbt-nav .nbt-menu > .nbt-menu-cta > a:focus-visible {
		outline-offset: 3px;
	}
}

@keyframes nbt-panel-in {

	from {
		opacity: 0;
		transform: translate(-50%, -6px);
	}

	to {
		opacity: 1;
		transform: translate(-50%, 0);
	}
}

/*
 * No scripting (or nav.js did not load: the "js" class on <html> is missing): Services stays a plain link, its items
 * open on hover or keyboard focus in the bar and are listed under it in the stacked menu.
 */
@media (min-width: 64rem) {

	html:not(.js) .nbt-nav .nbt-has-submenu:hover > .nbt-submenu,
	html:not(.js) .nbt-nav .nbt-has-submenu:focus-within > .nbt-submenu {
		display: grid;
	}
}

/* Breadcrumbs (C06) */
.nbt-breadcrumb {
	background: var(--c-night-900);
	color: var(--c-on-night-3);
}

.nbt-breadcrumb ol {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	margin: 0;
	padding: 0;
	font-family: var(--font-mono);
	font-size: var(--text-xs);
	letter-spacing: 0.06em;
	list-style: none;
	text-transform: uppercase;
}

.nbt-breadcrumb li {
	display: flex;
	align-items: center;
}

.nbt-breadcrumb li + li::before {
	content: "";
	width: 0.75rem;
	height: 0.75rem;
	margin-inline: var(--space-1);
	background-color: currentcolor;
	mask: url(../icons/chevron-right.svg) center / contain no-repeat;
}

.nbt-breadcrumb a,
.nbt-breadcrumb [aria-current] {
	display: inline-flex;
	min-height: 44px;
	align-items: center;
}

.nbt-breadcrumb a {
	color: var(--c-on-night-3);
	text-decoration: none;
}

.nbt-breadcrumb a:hover {
	color: #fff;
	text-decoration: underline;
}

.nbt-breadcrumb [aria-current] {
	color: #fff;
}

/* Footer (C07) */
.nbt-footer {
	position: relative;
	padding-block: var(--space-12) var(--space-8);
	border-top: var(--border-night);
	background: var(--c-night-950);
	color: var(--c-on-night-2);
	font-size: 0.9375rem;
}

/* The "fibre stub": a short cyan segment on the rule, at the container's left edge. */
.nbt-footer::before {
	content: "";
	position: absolute;
	top: -1px;
	left: calc(50% - min(100%, var(--container) + 2 * var(--gutter)) / 2 + var(--gutter));
	width: 96px;
	height: 3px;
	background: var(--c-cyan);
}

@media (min-width: 64rem) {

	.nbt-footer {
		padding-top: 4.5rem;
		padding-bottom: var(--space-12);
	}
}

.nbt-footer p {
	margin: 0;
}

.nbt-footer a {
	color: var(--c-on-night-2);
	text-decoration: none;
}

.nbt-footer a:hover {
	color: #fff;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
}

.nbt-footer a:active {
	color: var(--c-cyan);
}

.nbt-footer-grid {
	display: grid;
	gap: var(--space-10);
}

@media (min-width: 30rem) {

	.nbt-footer-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.nbt-footer-company-col {
		grid-column: 1 / -1;
	}
}

@media (min-width: 64rem) {

	.nbt-footer-grid {
		grid-template-columns: 1.4fr 1fr 1fr 1fr;
		gap: var(--space-12);
	}

	.nbt-footer-company-col {
		grid-column: auto;
	}
}

/* The logo has dark lettering: it sits on a white plate (no reversed logo exists yet). */
.nbt-footer-logo {
	display: inline-block;
	margin-bottom: var(--space-4);
	padding: var(--space-2) var(--space-3);
	border-radius: var(--radius-sm);
	background: #fff;
	line-height: 0;
}

.nbt-footer-logo img {
	display: block;
	width: auto;
	height: 40px;
}

.nbt-footer-name {
	margin: 0 0 var(--space-3);
	color: #fff;
	font-size: var(--text-md);
	font-weight: 600;
	letter-spacing: 0;
}

.nbt-footer-heading {
	margin: 0 0 var(--space-4);
	color: var(--c-on-night-3);
	font-family: var(--font-mono);
	font-size: var(--text-xs);
	font-weight: 500;
	letter-spacing: 0.08em;
	line-height: 1.4;
	text-transform: uppercase;
}

.nbt-footer-contact,
.nbt-footer-menu,
.nbt-social {
	margin: 0;
	padding: 0;
	list-style: none;
}

.nbt-footer-contact li {
	display: flex;
	min-height: 44px;
	align-items: center;
	gap: var(--space-2);
	line-height: 1.6;
}

.nbt-footer-contact .nbt-icon {
	width: 1rem;
	height: 1rem;
	color: var(--c-cyan);
}

.nbt-footer-contact li:first-child {
	align-items: flex-start;
	padding-block: var(--space-2);
}

.nbt-footer-contact li:first-child .nbt-icon {
	margin-top: 0.3rem;
}

.nbt-address {
	font-style: normal;
}

.nbt-footer-menu a,
.nbt-footer-contact a {
	display: inline-flex;
	min-height: 44px;
	align-items: center;
}

.nbt-footer-bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-2) var(--space-6);
	margin-top: var(--space-10);
	padding-top: var(--space-5);
	border-top: var(--border-night);
}

.nbt-footer-copy {
	color: var(--c-on-night-3);
	font-family: var(--font-mono);
	font-size: var(--text-sm);
	letter-spacing: 0.02em;
}

.nbt-footer-social {
	margin-right: auto;
}

.nbt-social {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-1);
}

.nbt-social a {
	display: inline-flex;
	min-height: 44px;
	align-items: center;
	padding-inline: var(--space-3);
}

.nbt-back-to-top {
	display: inline-flex;
	width: 44px;
	height: 44px;
	align-items: center;
	justify-content: center;
	border: var(--border-night);
	border-radius: var(--radius-sm);
}

.nbt-footer a.nbt-back-to-top:hover {
	border-color: var(--c-cyan);
	text-decoration: none;
}
