/* Same fonts as the approved Nordic Steel prototype, served by the theme. */
@font-face {
	font-family: 'Inter';
	font-style: normal;
	font-weight: 400 800;
	font-display: swap;
	src: url('../fonts/inter-latin.woff2') format('woff2');
}

@font-face {
	font-family: 'Plus Jakarta Sans';
	font-style: normal;
	font-weight: 600 800;
	font-display: swap;
	src: url('../fonts/plus-jakarta-sans-latin.woff2') format('woff2');
}

@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/ibm-plex-mono-400.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/ibm-plex-mono-500.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/ibm-plex-mono-600.woff2') format('woff2'); }

:root {
	--font-ui: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
	--font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
	--brand-navy-950: #080e18;
	--brand-navy-900: #0d1627;
	--brand-navy-800: #14223d;
	--brand-blue: #3b4da8;
	--brand-blue-hover: #2f408f;
	--brand-teal: #4ebdc1;
	--brand-teal-dark: #247b7f;
	--text-primary: #091629;
	--text-secondary: #4b5563;
	--text-muted: #64748b;
	--surface: #ffffff;
	--surface-warm: #f6f5f3;
	--surface-slate: #f8fafc;
	--border-subtle: #e2dfda;
	--border-card: #e2e8f0;
	--border-control: #cbd5e1;
	--container-width: 1440px;
	--container-gutter: clamp(20px, 4vw, 64px);
	--focus-ring: 0 0 0 3px rgba(78, 189, 193, .42);
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	max-width: 100%;
	scroll-behavior: smooth;
}

body {
	margin: 0;
	color: var(--text-primary);
	background: var(--surface);
	font-family: var(--font-ui);
	font-size: 16px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
}

img,
svg {
	max-width: 100%;
}

img {
	height: auto;
}

a {
	color: var(--brand-teal-dark);
	text-underline-offset: .18em;
}

a:hover {
	color: var(--brand-navy-700, #1e3256);
}

/* Prototype quotation buttons become real links in WordPress. */
.nordic-page .btn-card-quote { text-decoration: none; }

:focus-visible {
	outline: 2px solid var(--brand-teal-dark);
	outline-offset: 3px;
}

button,
input,
select,
textarea {
	font: inherit;
}

.site-container {
	width: min(100%, var(--container-width));
	margin-inline: auto;
	padding-inline: var(--container-gutter);
}

.site-main {
	min-height: 48vh;
}

.site-main--page,
.site-main--single,
.site-main--product,
.site-main--archive,
.site-main--search,
.site-main--index {
	padding-block: clamp(40px, 6vw, 88px);
}

.site-main--404 {
	padding-block: clamp(36px, 6vw, 72px);
	background: var(--surface-slate);
}

.page-content {
	max-width: var(--container-width);
}

.article-content {
	max-width: 1040px;
}

.page-header,
.archive-header,
.article-header {
	margin-bottom: clamp(28px, 4vw, 48px);
}

.page-intro {
	max-width: 1440px;
	padding-bottom: clamp(20px, 2.6vw, 28px);
	border-bottom: 1px solid var(--border-subtle);
}

.page-title {
	margin: 0;
	color: var(--brand-navy-900);
	font-family: var(--font-display);
	font-size: clamp(2rem, 3.6vw, 2.5rem);
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -.025em;
}

.page-lead,
.article-header .excerpt {
	max-width: 68ch;
	margin-top: 16px;
	color: var(--text-secondary);
	font-size: clamp(1rem, 1.25vw, 1.125rem);
	line-height: 1.65;
}

.page-intro__lead > :first-child {
	margin-top: 0;
}

.page-intro__lead > :last-child {
	margin-bottom: 0;
}

.eyebrow {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 12px;
	color: var(--brand-teal-dark);
	font-size: .75rem;
	font-weight: 700;
	letter-spacing: .12em;
	line-height: 1.2;
	text-transform: uppercase;
}

.page-intro__eyebrow::before,
.product-detail__category::before {
	width: 20px;
	height: 2px;
	flex: 0 0 auto;
	background: currentColor;
	content: '';
}

.entry-content {
	max-width: 76ch;
	font-size: 1rem;
	line-height: 1.7;
}

.entry-content > :first-child {
	margin-top: 0;
}

.entry-content > :last-child {
	margin-bottom: 0;
}

.entry-content img,
.article-featured-image img {
	display: block;
	max-width: 100%;
	height: auto;
}

.entry-content table {
	width: 100%;
	border-collapse: collapse;
}

.entry-content th,
.entry-content td {
	padding: .65rem .75rem;
	border: 1px solid var(--border-subtle);
	text-align: left;
	vertical-align: top;
}

.button {
	display: inline-flex;
	min-height: 44px;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 10px 20px;
	border: 1px solid transparent;
	border-radius: 4px;
	font-family: var(--font-ui);
	font-size: .875rem;
	font-weight: 600;
	line-height: 1.25;
	text-decoration: none;
	cursor: pointer;
}

.button--primary {
	color: #fff;
	background: var(--brand-blue);
}

.button--primary:hover {
	color: #fff;
	background: var(--brand-blue-hover);
}

.button--secondary {
	color: var(--brand-navy-900);
	border-color: #cbd5e1;
	background: #fff;
}

.button--secondary:hover {
	color: var(--brand-navy-900);
	background: #f8fafc;
}

.button--large {
	min-height: 48px;
}

.text-link {
	display: inline-flex;
	min-height: 44px;
	align-items: center;
	gap: 8px;
	font-weight: 600;
}

.breadcrumbs {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	margin-bottom: 32px;
	color: var(--text-muted);
	font-size: .875rem;
}

.breadcrumbs a {
	color: inherit;
}

.card-grid,
.product-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(18px, 2vw, 28px);
}

.content-card,
.product-card {
	min-width: 0;
	overflow: hidden;
	border: 1px solid #e2e8f0;
	border-radius: 6px;
	background: #fff;
}

.content-card__image,
.product-card__image {
	display: block;
	background: var(--surface-warm);
}

.content-card__image img,
.product-card__image img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.content-card__body,
.product-card__body {
	padding: clamp(18px, 2vw, 24px);
}

.content-card__meta,
.product-card__category,
.article-meta {
	margin: 0 0 10px;
	color: var(--text-muted);
	font-size: .8125rem;
}

.content-card__title,
.product-card__title {
	margin: 0;
	font-size: 1.25rem;
	line-height: 1.3;
}

.content-card__title a,
.product-card__title a {
	color: var(--brand-navy-900);
	text-decoration: none;
}

.content-card__excerpt,
.product-card__excerpt {
	margin-block: 12px;
	color: var(--text-secondary);
	font-size: .9375rem;
}

.product-card__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 16px;
	margin-top: 16px;
}

.article-header {
	max-width: 900px;
}

.article-featured-image {
	margin: 0 0 32px;
}

.article-featured-image img {
	width: 100%;
	max-height: 640px;
	object-fit: cover;
}

.empty-state {
	max-width: 680px;
	margin-inline: auto;
	padding: clamp(24px, 5vw, 48px);
	border: 1px solid var(--border-subtle);
	background: var(--surface-warm);
}

.empty-state .button {
	margin-top: 18px;
}

.not-found-card {
	display: grid;
	grid-template-columns: minmax(240px, .82fr) minmax(0, 1.18fr);
	max-width: 1120px;
	min-height: 410px;
	overflow: hidden;
	border: 1px solid var(--border-subtle);
	background: #fff;
	box-shadow: 0 18px 50px rgba(13, 22, 39, .08);
}

.not-found-card__visual {
	position: relative;
	display: flex;
	min-height: 100%;
	flex-direction: column;
	align-items: flex-start;
	justify-content: space-between;
	overflow: hidden;
	padding: clamp(28px, 5vw, 56px);
	color: #fff;
	background:
		radial-gradient(circle at 80% 24%, rgba(78, 189, 193, .22), transparent 26%),
		linear-gradient(145deg, #080e18, #14223d 74%);
}

.not-found-card__visual::before,
.not-found-card__visual::after {
	position: absolute;
	content: '';
	pointer-events: none;
}

.not-found-card__visual::before {
	inset: 0;
	background-image: linear-gradient(rgba(255, 255, 255, .055) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .055) 1px, transparent 1px);
	background-size: 34px 34px;
	mask-image: linear-gradient(135deg, #000 10%, transparent 92%);
}

.not-found-card__visual::after {
	top: 18%;
	right: -18%;
	width: 250px;
	height: 250px;
	border: 1px solid rgba(78, 189, 193, .38);
	border-radius: 50%;
	box-shadow: 0 0 0 28px rgba(78, 189, 193, .045), 0 0 0 58px rgba(78, 189, 193, .035);
}

.not-found-card__number {
	position: relative;
	z-index: 1;
	color: #fff;
	font-size: clamp(5.5rem, 13vw, 10rem);
	font-weight: 800;
	letter-spacing: -.09em;
	line-height: .9;
}

.not-found-card__status {
	position: relative;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 8px 12px;
	border: 1px solid rgba(255, 255, 255, .2);
	border-radius: 999px;
	color: #e2e8f0;
	background: rgba(8, 14, 24, .3);
	font-size: .75rem;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.not-found-card__status span {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--brand-teal);
	box-shadow: 0 0 0 4px rgba(78, 189, 193, .15);
}

.not-found-card__visual p {
	position: relative;
	z-index: 1;
	margin: 0;
	color: #cbd5e1;
	font-size: .8125rem;
	letter-spacing: .04em;
}

.not-found-card__content {
	align-self: center;
	padding: clamp(28px, 5vw, 64px);
}

.not-found-card__content .page-title {
	max-width: 14ch;
	font-size: clamp(2rem, 4vw, 3rem);
}

.not-found-card__description {
	max-width: 54ch;
	margin-block: 18px 24px;
	color: var(--text-secondary);
}

.not-found-card .site-search {
	max-width: 560px;
}

.not-found-card .site-search__input,
.not-found-card .site-search__submit {
	min-height: 48px;
}

.not-found-card .site-search__submit {
	min-width: 48px;
}

.not-found-card__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 22px;
	margin-top: 20px;
}

.not-found-card__actions .text-link {
	color: var(--brand-navy-900);
}

.not-found-card__links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 20px;
	margin-top: 34px;
	padding-top: 18px;
	border-top: 1px solid var(--border-subtle);
}

.not-found-card__links a {
	display: inline-flex;
	min-height: 40px;
	align-items: center;
	color: var(--text-muted);
	font-size: .875rem;
	text-decoration: none;
}

.not-found-card__links a:hover {
	color: var(--brand-blue);
}

.site-main--404 + .site-footer {
	margin-top: 0;
}

.site-main--page-wide .entry-content--wide {
	max-width: none;
}

.about-facts,
.application-grid,
.contact-grid,
.home-facts,
.home-preview-grid {
	display: grid;
	gap: clamp(16px, 2.5vw, 28px);
}

.about-facts,
.home-facts {
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin-block: 28px 56px;
}

.about-facts > .wp-block-column,
.home-facts > .wp-block-column,
.application-grid > .wp-block-column,
.contact-grid > .wp-block-column,
.home-preview-grid > .wp-block-column {
	margin: 0;
	padding: clamp(20px, 3vw, 32px);
	border: 1px solid var(--border-card);
	background: #fff;
}

.about-facts .wp-block-heading,
.home-facts .wp-block-heading {
	margin: 0 0 8px;
	color: var(--brand-teal-dark);
	font-size: clamp(1.75rem, 3vw, 2.5rem);
}

.application-grid {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin-block: 32px;
}

.application-grid > .wp-block-column {
	border-top: 3px solid var(--brand-teal);
	background: var(--surface-slate);
}

.application-grid li {
	margin-block: 6px;
}

.contact-grid {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin-block: 32px;
}

.contact-grid .wp-block-heading:first-child {
	margin-top: 0;
}

.home-preview-grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin-block: 32px;
}

.home-preview-grid > .wp-block-column {
	background: var(--surface-slate);
}

.home-news-highlight {
	margin-block: 28px;
	padding: clamp(24px, 4vw, 40px);
	border-inline-start: 4px solid var(--brand-teal);
	background: var(--surface-slate);
}

.home-contact-callout {
	margin-top: 32px;
	padding: clamp(24px, 4vw, 40px);
	color: #fff;
	background: var(--brand-navy-800);
}

.home-contact-callout .wp-block-heading,
.home-contact-callout p {
	color: #fff;
}

.site-search {
	display: flex;
	align-items: center;
}

.site-search__icon {
	display: none;
}

.site-search__input {
	min-width: 0;
	flex: 1 1 auto;
	min-height: 38px;
	padding: 7px 10px;
	border: 1px solid #cbd5e1;
	border-radius: 3px 0 0 3px;
}

.site-search__submit {
	flex: 0 0 auto;
	min-width: 40px;
	min-height: 38px;
	border: 1px solid #cbd5e1;
	border-left: 0;
	border-radius: 0 3px 3px 0;
	background: #fff;
	cursor: pointer;
}

.site-search__submit svg {
	width: 15px;
	height: 15px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
}

.screen-reader-text,
.skip-link:not(:focus) {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.skip-link:focus {
	position: fixed;
	top: 12px;
	left: 12px;
	z-index: 1000;
	padding: 12px 16px;
	color: #fff;
	background: var(--brand-navy-900);
}

.navigation-overlay[hidden] {
	display: none;
}

.site-main--front > :first-child {
	margin-top: 0;
}

.site-main--front > :last-child {
	margin-bottom: 0;
}

.site-main--search .site-search {
	width: min(100%, 760px);
	margin: 0 0 clamp(28px, 4vw, 40px);
}

.site-main--search .site-search__input,
.site-main--search .site-search__submit {
	min-height: 48px;
}

.site-main--search .site-search__submit {
	min-width: 48px;
}

.navigation.pagination {
	margin-top: clamp(32px, 5vw, 56px);
}

.navigation.pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
}

.navigation.pagination .page-numbers {
	display: inline-flex;
	min-width: 44px;
	min-height: 44px;
	align-items: center;
	justify-content: center;
	padding: 8px 12px;
	border: 1px solid var(--border-control);
	border-radius: 4px;
	color: var(--brand-navy-900);
	text-decoration: none;
}

.navigation.pagination .page-numbers.current {
	border-color: var(--brand-navy-900);
	color: #fff;
	background: var(--brand-navy-900);
}

.utility-bar {
	height: 38px;
	font-family: var(--font-ui);
	line-height: 1.5;
	color: #cbd5e1;
	background: var(--brand-navy-950);
	font-size: .75rem;
	border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.utility-bar__inner {
	display: flex;
	height: 100%;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.utility-bar__label {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	font-size: 11.5px;
	font-weight: 600;
	letter-spacing: .04em;
}

.utility-bar__label > span {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--brand-teal);
	box-shadow: 0 0 6px var(--brand-teal);
}

.utility-bar .site-search__input,
.utility-bar .site-search__submit {
	min-height: 28px;
	color: #fff;
	border-color: rgba(255, 255, 255, .18);
	background: rgba(255, 255, 255, .06);
}

.utility-bar .site-search__input {
	width: 100%;
	min-height: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	color: #fff;
	background: transparent;
	font-size: 11.5px;
	box-shadow: none;
}

.utility-bar .site-search__input::placeholder {
	color: #64748b;
}

.utility-bar .site-search {
	position: relative;
	width: min(240px, 50vw);
	height: 26px;
	flex: 0 0 auto;
	gap: 8px;
	padding: 4px 12px;
	border: 1px solid rgba(255, 255, 255, .12);
	border-radius: 4px;
	background: rgba(255, 255, 255, .06);
	transition: width .2s ease, border-color .2s ease, background-color .2s ease;
}

.utility-bar .site-search:focus-within {
	width: 280px;
	border-color: var(--brand-teal);
	background: rgba(255, 255, 255, .12);
}

.utility-bar .site-search__icon {
	display: inline-flex;
	flex: 0 0 13px;
	color: #94a3b8;
}

.utility-bar .site-search__icon svg {
	width: 13px;
	height: 13px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
}

.utility-bar .site-search__submit {
	position: absolute;
	width: 1px;
	height: 1px;
	min-width: 1px;
	min-height: 1px;
	padding: 0;
	border: 0;
	clip-path: inset(50%);
	white-space: nowrap;
}

.site-header {
	font-family: var(--font-ui);
	line-height: 1.5;
	position: sticky;
	top: 0;
	z-index: 200;
	border-bottom: 1px solid var(--border-subtle);
	box-shadow: 0 2px 12px rgba(15, 36, 69, .08);
	background: #fff;
}

body.navigation-is-open {
	overflow: hidden;
}

.site-header__inner {
	display: flex;
	height: 76px;
	align-items: center;
	justify-content: space-between;
	gap: clamp(16px, 2vw, 32px);
}

.brand,
.site-header .custom-logo-link {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	gap: 14px;
	color: var(--brand-navy-900);
	text-decoration: none;
}

.site-header .custom-logo {
	display: block;
	width: auto;
	height: 38px;
	object-fit: contain;
}

.brand__logo {
	display: block;
	width: 68px;
	height: auto;
	object-fit: contain;
}

.primary-menu {
	display: flex;
	align-items: center;
	gap: clamp(20px, 2.5vw, 36px);
	margin: 0;
	padding: 0;
	list-style: none;
}

.primary-menu a {
	position: relative;
	display: inline-flex;
	min-height: 44px;
	align-items: center;
	padding: 26px 0;
	line-height: 1.5;
	color: var(--brand-navy-900);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: -.01em;
	text-decoration: none;
}

.primary-menu > .menu-item {
	position: relative;
}

.primary-menu > .menu-item-has-children > a::before {
	width: 6px;
	height: 6px;
	flex: 0 0 6px;
	order: 1;
	margin: 0 0 4px 8px;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	content: '';
	transform: rotate(45deg);
}

.primary-menu > .menu-item-has-children > .sub-menu {
	position: absolute;
	top: calc(100% - 1px);
	left: 50%;
	z-index: 2;
	min-width: 180px;
	margin: 0;
	padding: 8px;
	border: 1px solid var(--border-subtle);
	border-radius: 10px;
	background: #fff;
	box-shadow: 0 12px 28px rgba(15, 36, 69, .14);
	list-style: none;
	opacity: 0;
	visibility: hidden;
	transform: translateX(-50%);
	transition: opacity .16s ease, visibility .16s ease;
	pointer-events: none;
}

.primary-menu > .menu-item-has-children:hover > .sub-menu,
.primary-menu > .menu-item-has-children:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

.primary-menu .sub-menu a {
	width: 100%;
	min-height: 40px;
	justify-content: flex-start;
	padding: 10px 12px;
	border-radius: 7px;
	font-size: 13px;
	line-height: 1.4;
	white-space: nowrap;
}

.primary-menu .sub-menu a:hover,
.primary-menu .sub-menu a:focus-visible {
	background: #f3f7fa;
	color: var(--brand-navy-900);
}

.primary-menu .sub-menu .current-menu-item > a,
.primary-menu .sub-menu .current_page_item > a {
	background: #eef8f8;
	color: var(--brand-navy-900);
}

.primary-menu .sub-menu .current-menu-item > a::after,
.primary-menu .sub-menu .current_page_item > a::after {
	display: none;
}

.primary-menu a:hover,
.primary-menu .current-menu-item > a,
.primary-menu .current_page_item > a {
	color: var(--brand-navy-800);
}

.primary-menu > .current-menu-ancestor > a,
.primary-menu > .current-menu-parent > a {
	color: var(--brand-navy-800);
}

.primary-menu .current-menu-item > a::after,
.primary-menu .current_page_item > a::after,
.primary-menu > .current-menu-parent > a::after,
.primary-menu > .current-menu-ancestor > a::after,
.primary-menu > .current_page_parent > a::after {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	height: 3px;
	background: var(--brand-navy-800);
	content: '';
}

.header-cta {
	flex: 0 0 auto;
	min-height: 48px;
	gap: 8px;
	padding: 12px 24px;
	box-shadow: 0 1px 3px rgba(59, 77, 168, .2);
}

.header-cta > svg {
	width: 14px;
	height: 14px;
	flex: 0 0 14px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2.5;
}

.menu-toggle,
.mobile-navigation-heading,
.mobile-navigation-search,
.mobile-navigation-footer,
.navigation-overlay {
	display: none;
}

/* The close control only appears when the mobile drawer has JavaScript. */
.navigation-close {
	display: none;
}

.admin-bar .site-header { top: 32px; }
.header-actions { display: flex; align-items: center; gap: 16px; }

.site-footer {
    margin-top: 0;
    padding: 64px 0 28px;
    color: #94a3b8;
    background: var(--brand-navy-800);
    font-family: var(--font-ui);
    line-height: 1.5;
}
.footer-left-desc { margin-top: 0; }
.site-footer .site-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 64px);
}

.footer-clean-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 48px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.footer-left {
  max-width: 440px;
}

.footer-left-title {
  color: #ffffff;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.footer-left-desc {
  font-size: 13.5px;
  line-height: 1.6;
  color: #94a3b8;
  margin-bottom: 24px;
}

.footer-social-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.social-icon-btn {
  padding: 0;
  cursor: pointer;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.social-icon-btn:hover {
  background: var(--brand-teal);
  border-color: var(--brand-teal);
  color: #091322;
  transform: translateY(-2px);
}

.social-icon-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.social-icon-btn:focus-visible,
.social-channel-item:focus-visible {
  outline: 3px solid var(--brand-teal, #4ebdc1);
  outline-offset: 3px;
}

.social-copy-status {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10000;
  max-width: calc(100vw - 32px);
  padding: 12px 18px;
  border-radius: 8px;
  background: #0f2445;
  color: #fff;
  box-shadow: 0 6px 24px rgb(0 0 0 / 20%);
  font: 500 14px/1.5 system-ui, sans-serif;
  overflow-wrap: anywhere;
}

.social-copy-status[hidden] { display: none; }

.footer-right-cols {
  display: flex;
  gap: clamp(32px, 5vw, 64px);
  flex-wrap: wrap;
}

.footer-col-simple {
  min-width: 140px;
}

.footer-col-simple h2 {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ffffff;
  margin: 0 0 16px 0;
}

.footer-col-simple ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
}

.footer-col-simple a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 13.5px;
  transition: color 0.15s ease;
}

.footer-col-simple a:hover {
  color: #ffffff;
}

.footer-contact-content a[href^="mailto:"],
.footer-contact-email {
  overflow-wrap: anywhere;
}

.footer-contact-content .footer-inquiry-link,
.footer-contact-content .footer-inquiry-link:hover,
.footer-contact-content ul > li:last-child a,
.footer-contact-content ul > li:last-child a:hover {
  color: var(--brand-teal) !important;
  font-weight: 600;
}

.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #94a3b8;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-legal-links {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 22px;
}

.footer-legal-links a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: #94a3b8;
  font-size: 12px;
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer-legal-links a:hover {
  color: #ffffff;
}

.footer-legal-links a:focus-visible {
  border-radius: 2px;
  outline: 2px solid var(--brand-teal);
  outline-offset: 3px;
}


@media (max-width: 1024px) {
    .footer-clean-top { gap: 36px; }
    .footer-right-cols { gap: 36px; }
}
@media (max-width: 768px) {
    .footer-clean-top { flex-direction: column; gap: 36px; }
    .footer-left { max-width: 100%; }
    .footer-right-cols { flex-direction: column; gap: 28px; width: 100%; }
    .footer-bottom { flex-direction: column; align-items: flex-start; gap: 12px; }
}

/* No-JS fallback must not change the initial layout while footer scripts load. */
@media (max-width: 1024px) and (scripting: none) {
	body:not(.has-interactive-navigation) .site-header {
		position: static;
	}

	body:not(.has-interactive-navigation) .site-header__inner {
		height: auto;
		flex-wrap: wrap;
		padding-block: 16px;
	}

	body:not(.has-interactive-navigation) .primary-navigation {
		width: 100%;
		flex: 0 0 100%;
	}
}

@media (max-width: 1024px) {
	.site-header__inner {
		gap: 16px;
	}

	.menu-toggle {
		display: inline-flex;
		width: 44px;
		height: 44px;
		flex-shrink: 0;
		align-items: center;
		justify-content: center;
		padding: 10px 9px;
		border: 1.5px solid var(--border-subtle);
		border-radius: 4px;
		color: var(--brand-navy-900);
		background: #fff;
		font-size: .875rem;
		font-weight: 600;
		cursor: pointer;
	}

	.menu-toggle[hidden] {
		display: none;
	}

	.menu-toggle__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

	.menu-toggle__icon {
		display: grid;
		gap: 6px;
	}

	.menu-toggle__icon span {
		width: 22px;
		height: 2px;
		background: currentColor;
	}

	.primary-navigation {
		padding-block: 12px;
		border-top: 1px solid var(--border-subtle);
	}

	.primary-menu {
		display: grid;
		gap: 0;
	}

	.primary-menu a {
		width: 100%;
		padding: 16px 0;
		border-bottom: 1px solid #eef0f2;
	}

	.primary-menu > .menu-item-has-children > a::before {
		display: none;
	}

	.primary-menu > .menu-item-has-children > .sub-menu {
		position: static;
		min-width: 0;
		margin: 0 0 8px 12px;
		padding: 0 0 0 12px;
		border: 0;
		border-left: 1px solid var(--border-subtle);
		border-radius: 0;
		background: transparent;
		box-shadow: none;
		opacity: 1;
		visibility: visible;
		transform: none;
		transition: none;
		pointer-events: auto;
	}

	.primary-menu .sub-menu a {
		min-height: 44px;
		padding: 12px;
		border-bottom: 1px solid #eef0f2;
		border-radius: 0;
		font-size: 14px;
	}

	body.has-interactive-navigation .primary-navigation {
		position: fixed;
		top: 0;
		right: 0;
		z-index: 300;
		width: min(88vw, 380px);
		height: 100vh;
		height: 100dvh;
		overflow-y: auto;
		padding: 24px;
		border: 0;
		background: #fff;
		box-shadow: 0 0 40px rgba(8, 14, 24, .16);
		transform: translateX(105%);
		visibility: hidden;
		transition: transform .2s ease, visibility 0s linear .2s;
	}

	body.has-interactive-navigation .primary-navigation.is-open {
		transform: translateX(0);
		visibility: visible;
		transition-delay: 0s;
	}

	/* A submenu's explicit visibility must not reveal it inside a closed drawer. */
	body.has-interactive-navigation .primary-navigation:not(.is-open) .sub-menu {
		visibility: hidden;
	}

	.mobile-navigation-heading {
		display: flex;
		align-items: center;
		justify-content: space-between;
		margin-bottom: 24px;
		color: var(--brand-navy-900);
		font-weight: 700;
	}

	.mobile-navigation-search { display: block; margin-bottom: 24px; }
	.mobile-navigation-footer { display: block; margin-top: 32px; }
	.mobile-navigation-footer .button { width: 100%; min-height: 48px; }

	body.has-interactive-navigation .navigation-close {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 44px;
		height: 44px;
		border: 0;
		color: var(--brand-navy-900);
		background: transparent;
		font-size: 1.75rem;
		cursor: pointer;
	}

	.navigation-overlay:not([hidden]) {
		position: fixed;
		inset: 0;
		z-index: 250;
		display: block;
		background: rgba(8, 14, 24, .52);
	}

	.site-footer__main {
		flex-direction: column;
		gap: 28px;
	}

	.about-facts,
	.home-facts {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.utility-bar__label {
		white-space: nowrap;
	}

	.header-cta {
		display: none;
	}

	.site-footer__nav {
		gap: 24px;
	}

	.not-found-card {
		grid-template-columns: minmax(0, 1fr);
	}

	.not-found-card__visual {
		min-height: 230px;
	}

	.not-found-card__number {
		font-size: clamp(5rem, 28vw, 7rem);
	}

	.not-found-card__content {
		padding: 28px 24px;
	}

	.about-facts,
	.application-grid,
	.contact-grid,
	.home-facts,
	.home-preview-grid {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (max-width: 768px) {
	.utility-bar { height: 34px; }
	.utility-bar__inner { justify-content: center; }
	.site-header__inner { height: 64px; }
	.brand__logo { width: 68px; }
	.site-header .custom-logo {
		height: 32px;
	}

	.header-cta {
		display: none;
	}
}

@media (max-width: 782px) {
	.admin-bar .site-header { top: 46px; }
}

@media (min-width: 783px) and (max-width: 1024px) {
	.admin-bar.has-interactive-navigation .primary-navigation { top: 32px; height: calc(100dvh - 32px); }
}

@media (max-width: 782px) {
	.admin-bar.has-interactive-navigation .primary-navigation { top: 46px; height: calc(100dvh - 46px); }
}

@media (max-width: 600px) {
	.admin-bar .site-header { top: 0; }
}

@media (max-width: 768px) {
	.utility-bar .site-search {
		display: none;
	}
}

@media (max-width: 900px) {
	.card-grid,
	.product-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.card-grid,
	.product-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.entry-content table {
		display: block;
		overflow-x: auto;
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .01ms !important;
	}
}

.inquiry-form-notice { margin:16px 0 0; font-size:13px; line-height:1.6; color:#475569; }
.inquiry-form-preview button:disabled { cursor:not-allowed; }

/* Full-width consent banner with centered desktop content and responsive actions. */
.cookie-consent-banner {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	width: 100%;
	max-width: none;
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 36px;
	padding: 22px max(24px, calc(50vw - 660px));
	border: 1px solid #dbe4e8;
	border-bottom: 0;
	border-radius: 12px 12px 0 0;
	background: #fff;
	box-shadow: 0 -12px 40px rgb(8 14 24 / 18%);
	color: var(--text-primary, #091629);
	font: 400 14px/1.55 var(--font-ui, system-ui, sans-serif);
	overflow: hidden;
}

.cookie-consent-banner::before {
	position: absolute;
	top: 14px;
	bottom: 14px;
	left: 0;
	width: 4px;
	border-radius: 0 4px 4px 0;
	background: var(--brand-teal, #4ebdc1);
	content: "";
}

.cookie-consent-banner[hidden],
.dumai-cookie-consent-saved .cookie-consent-banner {
	display: none !important;
}

.cookie-consent-banner__copy {
	flex: 1 1 auto;
	min-width: 0;
}

.cookie-consent-banner__copy p {
	margin: 0;
	color: #26364c;
	font-size: 14px;
	line-height: 1.6;
}

.cookie-consent-banner__links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 22px;
	margin-top: 10px;
}

.cookie-consent-banner__links a {
	color: var(--brand-blue, #3b4da8);
	font-size: 13px;
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.cookie-consent-banner__actions {
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	gap: 10px;
}

.cookie-consent-banner__button {
	min-width: 158px;
	min-height: 46px;
	padding: 11px 20px;
	border: 1px solid var(--brand-blue, #3b4da8);
	border-radius: 6px;
	font: 600 13px/1.3 var(--font-ui, system-ui, sans-serif);
	letter-spacing: .01em;
	cursor: pointer;
}

.cookie-consent-banner__button--accept {
	background: var(--brand-blue, #3b4da8);
	color: #fff;
}

.cookie-consent-banner__button--accept:hover {
	border-color: var(--brand-blue-hover, #2f408f);
	background: var(--brand-blue-hover, #2f408f);
}

.cookie-consent-banner__button--reject {
	background: #fff;
	color: var(--brand-blue, #3b4da8);
}

.cookie-consent-banner__button--reject:hover {
	background: #f3f6fb;
}

.cookie-consent-banner__button:focus-visible,
.cookie-consent-banner__links a:focus-visible,
.footer-cookie-settings:focus-visible {
	outline: 3px solid var(--brand-teal, #4ebdc1);
	outline-offset: 3px;
}

.footer-cookie-settings {
	min-height: 44px;
	padding: 0;
	border: 0;
	background: transparent;
	color: inherit;
	font: inherit;
	cursor: pointer;
}

.footer-cookie-settings:hover {
	color: #fff;
}

@media (max-width: 768px) {
	.cookie-consent-banner {
		left: 0;
		right: 0;
		width: 100%;
		bottom: 0;
		align-items: stretch;
		flex-direction: column;
		gap: 16px;
		padding: 19px 24px calc(19px + env(safe-area-inset-bottom, 0px));
	}

	.cookie-consent-banner__actions {
		width: 100%;
	}

	.cookie-consent-banner__button {
		flex: 1 1 50%;
		min-width: 0;
	}
}

@media (max-width: 420px) {
	.cookie-consent-banner {
		padding: 16px 16px calc(16px + env(safe-area-inset-bottom, 0px));
		font-size: 13px;
	}

	.cookie-consent-banner__actions {
		gap: 8px;
	}

	.cookie-consent-banner__button {
		padding-inline: 10px;
		font-size: 12px;
	}
}
